diff --git a/app/Api/V1/Controllers/Data/DestroyController.php b/app/Api/V1/Controllers/Data/DestroyController.php index 5fc4e46306..f2e7004e8e 100644 --- a/app/Api/V1/Controllers/Data/DestroyController.php +++ b/app/Api/V1/Controllers/Data/DestroyController.php @@ -165,6 +165,7 @@ class DestroyController extends Controller ); break; } + app('preferences')->mark(); return response()->json([], 204); } diff --git a/app/Api/V1/Controllers/Models/Account/DestroyController.php b/app/Api/V1/Controllers/Models/Account/DestroyController.php index 7819d78003..739a65fec2 100644 --- a/app/Api/V1/Controllers/Models/Account/DestroyController.php +++ b/app/Api/V1/Controllers/Models/Account/DestroyController.php @@ -69,6 +69,7 @@ class DestroyController extends Controller public function destroy(Account $account): JsonResponse { $this->repository->destroy($account, null); + app('preferences')->mark(); return response()->json([], 204); } diff --git a/app/Api/V1/Controllers/Models/Attachment/DestroyController.php b/app/Api/V1/Controllers/Models/Attachment/DestroyController.php index 3fad5d77bd..4150728688 100644 --- a/app/Api/V1/Controllers/Models/Attachment/DestroyController.php +++ b/app/Api/V1/Controllers/Models/Attachment/DestroyController.php @@ -73,6 +73,7 @@ class DestroyController extends Controller public function destroy(Attachment $attachment): JsonResponse { $this->repository->destroy($attachment); + app('preferences')->mark(); return response()->json([], 204); } diff --git a/app/Api/V1/Controllers/Models/Bill/DestroyController.php b/app/Api/V1/Controllers/Models/Bill/DestroyController.php index 70d3347eb8..fa657ffd1b 100644 --- a/app/Api/V1/Controllers/Models/Bill/DestroyController.php +++ b/app/Api/V1/Controllers/Models/Bill/DestroyController.php @@ -67,6 +67,7 @@ class DestroyController extends Controller public function destroy(Bill $bill): JsonResponse { $this->repository->destroy($bill); + app('preferences')->mark(); return response()->json([], 204); } diff --git a/app/Api/V1/Controllers/Models/Budget/DestroyController.php b/app/Api/V1/Controllers/Models/Budget/DestroyController.php index 2d8f11cda1..706ce3d82b 100644 --- a/app/Api/V1/Controllers/Models/Budget/DestroyController.php +++ b/app/Api/V1/Controllers/Models/Budget/DestroyController.php @@ -67,6 +67,7 @@ class DestroyController extends Controller public function destroy(Budget $budget): JsonResponse { $this->repository->destroy($budget); + app('preferences')->mark(); return response()->json([], 204); } diff --git a/app/Api/V1/Controllers/Models/BudgetLimit/DestroyController.php b/app/Api/V1/Controllers/Models/BudgetLimit/DestroyController.php index 70535133a9..6bbd40c7bc 100644 --- a/app/Api/V1/Controllers/Models/BudgetLimit/DestroyController.php +++ b/app/Api/V1/Controllers/Models/BudgetLimit/DestroyController.php @@ -77,6 +77,7 @@ class DestroyController extends Controller throw new FireflyException('20028: The budget limit does not belong to the budget.'); } $this->blRepository->destroyBudgetLimit($budgetLimit); + app('preferences')->mark(); return response()->json([], 204); } diff --git a/app/Api/V1/Controllers/Models/Category/DestroyController.php b/app/Api/V1/Controllers/Models/Category/DestroyController.php index 4d7b1e1681..1136bd2df8 100644 --- a/app/Api/V1/Controllers/Models/Category/DestroyController.php +++ b/app/Api/V1/Controllers/Models/Category/DestroyController.php @@ -67,6 +67,7 @@ class DestroyController extends Controller public function destroy(Category $category): JsonResponse { $this->repository->destroy($category); + app('preferences')->mark(); return response()->json([], 204); } diff --git a/app/Api/V1/Controllers/Models/ObjectGroup/DestroyController.php b/app/Api/V1/Controllers/Models/ObjectGroup/DestroyController.php index bbb27aa355..1ba20dd668 100644 --- a/app/Api/V1/Controllers/Models/ObjectGroup/DestroyController.php +++ b/app/Api/V1/Controllers/Models/ObjectGroup/DestroyController.php @@ -70,6 +70,7 @@ class DestroyController extends Controller public function destroy(ObjectGroup $objectGroup): JsonResponse { $this->repository->destroy($objectGroup); + app('preferences')->mark(); return response()->json([], 204); } diff --git a/app/Api/V1/Controllers/Models/PiggyBank/DestroyController.php b/app/Api/V1/Controllers/Models/PiggyBank/DestroyController.php index 27b8ce10c0..5ea137b509 100644 --- a/app/Api/V1/Controllers/Models/PiggyBank/DestroyController.php +++ b/app/Api/V1/Controllers/Models/PiggyBank/DestroyController.php @@ -67,6 +67,7 @@ class DestroyController extends Controller public function destroy(PiggyBank $piggyBank): JsonResponse { $this->repository->destroy($piggyBank); + app('preferences')->mark(); return response()->json([], 204); } diff --git a/app/Api/V1/Controllers/Models/Recurrence/DestroyController.php b/app/Api/V1/Controllers/Models/Recurrence/DestroyController.php index 0eb3bb0bf3..01d175eb1d 100644 --- a/app/Api/V1/Controllers/Models/Recurrence/DestroyController.php +++ b/app/Api/V1/Controllers/Models/Recurrence/DestroyController.php @@ -67,6 +67,7 @@ class DestroyController extends Controller public function destroy(Recurrence $recurrence): JsonResponse { $this->repository->destroy($recurrence); + app('preferences')->mark(); return response()->json([], 204); } diff --git a/app/Api/V1/Controllers/Models/Rule/DestroyController.php b/app/Api/V1/Controllers/Models/Rule/DestroyController.php index a2503c116e..70e8f88dd0 100644 --- a/app/Api/V1/Controllers/Models/Rule/DestroyController.php +++ b/app/Api/V1/Controllers/Models/Rule/DestroyController.php @@ -71,6 +71,7 @@ class DestroyController extends Controller public function destroy(Rule $rule): JsonResponse { $this->ruleRepository->destroy($rule); + app('preferences')->mark(); return response()->json([], 204); } diff --git a/app/Api/V1/Controllers/Models/RuleGroup/DestroyController.php b/app/Api/V1/Controllers/Models/RuleGroup/DestroyController.php index f520f18544..b1e9e9610c 100644 --- a/app/Api/V1/Controllers/Models/RuleGroup/DestroyController.php +++ b/app/Api/V1/Controllers/Models/RuleGroup/DestroyController.php @@ -71,6 +71,7 @@ class DestroyController extends Controller public function destroy(RuleGroup $ruleGroup): JsonResponse { $this->ruleGroupRepository->destroy($ruleGroup, null); + app('preferences')->mark(); return response()->json([], 204); } diff --git a/app/Api/V1/Controllers/Models/Tag/DestroyController.php b/app/Api/V1/Controllers/Models/Tag/DestroyController.php index c7c339d0aa..cbcecf0be9 100644 --- a/app/Api/V1/Controllers/Models/Tag/DestroyController.php +++ b/app/Api/V1/Controllers/Models/Tag/DestroyController.php @@ -71,6 +71,7 @@ class DestroyController extends Controller public function destroy(Tag $tag): JsonResponse { $this->repository->destroy($tag); + app('preferences')->mark(); return response()->json([], 204); } diff --git a/app/Api/V1/Controllers/Models/Transaction/DestroyController.php b/app/Api/V1/Controllers/Models/Transaction/DestroyController.php index 29d4fa9f77..f2c81781ec 100644 --- a/app/Api/V1/Controllers/Models/Transaction/DestroyController.php +++ b/app/Api/V1/Controllers/Models/Transaction/DestroyController.php @@ -122,6 +122,7 @@ class DestroyController extends Controller public function destroyJournal(TransactionJournal $transactionJournal): JsonResponse { $this->repository->destroyJournal($transactionJournal); + app('preferences')->mark(); return response()->json([], 204); } diff --git a/app/Api/V1/Controllers/Models/TransactionCurrency/DestroyController.php b/app/Api/V1/Controllers/Models/TransactionCurrency/DestroyController.php index 261d3eb9e9..b9a7396caf 100644 --- a/app/Api/V1/Controllers/Models/TransactionCurrency/DestroyController.php +++ b/app/Api/V1/Controllers/Models/TransactionCurrency/DestroyController.php @@ -88,6 +88,7 @@ class DestroyController extends Controller } $this->repository->destroy($currency); + app('preferences')->mark(); return response()->json([], 204); } diff --git a/app/Api/V1/Controllers/Models/TransactionLink/DestroyController.php b/app/Api/V1/Controllers/Models/TransactionLink/DestroyController.php index 02290e33ed..533529c3c0 100644 --- a/app/Api/V1/Controllers/Models/TransactionLink/DestroyController.php +++ b/app/Api/V1/Controllers/Models/TransactionLink/DestroyController.php @@ -70,6 +70,7 @@ class DestroyController extends Controller public function destroy(TransactionJournalLink $link): JsonResponse { $this->repository->destroyLink($link); + app('preferences')->mark(); return response()->json([], 204); } diff --git a/app/Api/V1/Controllers/Models/TransactionLinkType/DestroyController.php b/app/Api/V1/Controllers/Models/TransactionLinkType/DestroyController.php index cf9b645e4f..19230dd6c8 100644 --- a/app/Api/V1/Controllers/Models/TransactionLinkType/DestroyController.php +++ b/app/Api/V1/Controllers/Models/TransactionLinkType/DestroyController.php @@ -82,6 +82,7 @@ class DestroyController extends Controller throw new FireflyException('200020: Link type cannot be changed.'); } $this->repository->destroy($linkType); + app('preferences')->mark(); return response()->json([], 204); } diff --git a/app/Api/V1/Controllers/Webhook/DestroyController.php b/app/Api/V1/Controllers/Webhook/DestroyController.php index 7efe5f018e..bbe2fbb833 100644 --- a/app/Api/V1/Controllers/Webhook/DestroyController.php +++ b/app/Api/V1/Controllers/Webhook/DestroyController.php @@ -69,6 +69,7 @@ class DestroyController extends Controller public function destroy(Webhook $webhook): JsonResponse { $this->repository->destroy($webhook); + app('preferences')->mark(); return response()->json([], 204); } @@ -97,6 +98,7 @@ class DestroyController extends Controller } $this->repository->destroyAttempt($attempt); + app('preferences')->mark(); return response()->json([], 204); } @@ -120,6 +122,7 @@ class DestroyController extends Controller throw new FireflyException('Webhook and webhook message are no match'); } $this->repository->destroyMessage($message); + app('preferences')->mark(); return response()->json([], 204); } diff --git a/app/Api/V1/Requests/Models/Rule/TestRequest.php b/app/Api/V1/Requests/Models/Rule/TestRequest.php index 70adad99cb..a34ce0408b 100644 --- a/app/Api/V1/Requests/Models/Rule/TestRequest.php +++ b/app/Api/V1/Requests/Models/Rule/TestRequest.php @@ -84,7 +84,7 @@ class TestRequest extends FormRequest { return [ 'start' => 'date', - 'end' => 'date|after:start', + 'end' => 'date|after_or_equal:start', 'accounts' => '', 'accounts.*' => 'required|exists:accounts,id|belongsToUser:accounts', ]; diff --git a/app/Api/V1/Requests/Models/Rule/TriggerRequest.php b/app/Api/V1/Requests/Models/Rule/TriggerRequest.php index 8070fb066d..12785842c1 100644 --- a/app/Api/V1/Requests/Models/Rule/TriggerRequest.php +++ b/app/Api/V1/Requests/Models/Rule/TriggerRequest.php @@ -74,7 +74,7 @@ class TriggerRequest extends FormRequest { return [ 'start' => 'date', - 'end' => 'date|after:start', + 'end' => 'date|after_or_equal:start', 'accounts' => '', 'accounts.*' => 'exists:accounts,id|belongsToUser:accounts', ]; diff --git a/app/Api/V1/Requests/Models/RuleGroup/TestRequest.php b/app/Api/V1/Requests/Models/RuleGroup/TestRequest.php index b80c8e2b43..81226973b5 100644 --- a/app/Api/V1/Requests/Models/RuleGroup/TestRequest.php +++ b/app/Api/V1/Requests/Models/RuleGroup/TestRequest.php @@ -74,7 +74,7 @@ class TestRequest extends FormRequest { return [ 'start' => 'date', - 'end' => 'date|after:start', + 'end' => 'date|after_or_equal:start', 'accounts' => '', 'accounts.*' => 'exists:accounts,id|belongsToUser:accounts', ]; diff --git a/app/Api/V1/Requests/Models/RuleGroup/TriggerRequest.php b/app/Api/V1/Requests/Models/RuleGroup/TriggerRequest.php index 23825955ae..4d9514307a 100644 --- a/app/Api/V1/Requests/Models/RuleGroup/TriggerRequest.php +++ b/app/Api/V1/Requests/Models/RuleGroup/TriggerRequest.php @@ -74,7 +74,7 @@ class TriggerRequest extends FormRequest { return [ 'start' => 'date', - 'end' => 'date|after:start', + 'end' => 'date|after_or_equal:start', ]; } } diff --git a/app/Support/Steam.php b/app/Support/Steam.php index 47509e584d..d462b1553f 100644 --- a/app/Support/Steam.php +++ b/app/Support/Steam.php @@ -98,12 +98,15 @@ class Steam /** * https://stackoverflow.com/questions/1642614/how-to-ceil-floor-and-round-bcmath-numbers * - * @param string $number + * @param null|string $number * @param int $precision * @return string */ - public function bcround(string $number, int $precision = 0): string + public function bcround(?string $number, int $precision = 0): string { + if(null === $number) { + return '0'; + } if (str_contains($number, '.')) { if ($number[0] !== '-') { return bcadd($number, '0.'.str_repeat('0', $precision).'5', $precision); diff --git a/changelog.md b/changelog.md index be45dacdcb..f255e16995 100644 --- a/changelog.md +++ b/changelog.md @@ -2,7 +2,41 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). -## 5.7.15 - 2022-05-25 +## 5.7.16 - 2022-12-25 + +### Added +- You can now search for SEPA CT, thanks @dasJ! + +### Changed +- Links go to [Mastodon](https://fosstodon.org/@ff3), not Twitter. +- Most if not all remaining float values removed. None were used in financial math. +- Expand Laravel Passport settings. + +### Deprecated +- Initial release. + +### Removed +- Initial release. + +### Fixed +- [Issue 6597](https://github.com/firefly-iii/firefly-iii/issues/6597) Edit existing split transaction's source did not work properly. +- [Issue 6610](https://github.com/firefly-iii/firefly-iii/issues/6610) Fix search for attachments +- [Issue 6625](https://github.com/firefly-iii/firefly-iii/issues/6625) Page of the links is not displayed due to an error +- [Issue 6701](https://github.com/firefly-iii/firefly-iii/issues/6701) Ensure remote_guard_alt_email if changed, thanks @nebulade! +- Remove some null pointers in the code. +- Add missing locale data +- Fixed typo, thx @charlesteets! +- Various issues with piggy banks +- Clear cache after a transaction is deleted. +- Be more clear about registrations being disabled. + +### Security +- Updated all packages and dependencies. + +### API +- Fix API endpoint that would not accept two of the same dates. + +## 5.7.15 - 2022-11-02 ### Fixed - You can no longer set the currency of expense and revenue accounts. @@ -181,6 +215,32 @@ Please refer to the [documentation](https://docs.firefly-iii.org/firefly-iii/) a - [Issue 4013](https://github.com/firefly-iii/firefly-iii/issues/4013) Date in email message was not localized. - [Issue 5949](https://github.com/firefly-iii/firefly-iii/issues/5949) Deleting a transaction would sometimes send you back to a 404. +## x.x.x - 20xx-xx-xx + +### Added +- Initial release. + +### Changed +- Initial release. + +### Deprecated +- Initial release. + +### Removed +- Initial release. + +### Fixed +- Initial release. + +### Security +- Initial release. + +### API +- Initial release. + + # Full change log Can be found here: https://docs.firefly-iii.org/firefly-iii/about-firefly-iii/changelog/ + + diff --git a/frontend/src/i18n/de_DE/index.js b/frontend/src/i18n/de_DE/index.js index 64c92fc411..52abb21b16 100644 --- a/frontend/src/i18n/de_DE/index.js +++ b/frontend/src/i18n/de_DE/index.js @@ -80,13 +80,13 @@ export default { "budgeted": "Vorgesehen", "spent": "Ausgegeben", "no_bill": "(keine Belege)", - "rule_trigger_source_account_starts_choice": "Name des Quellkontos beginnt mit..", + "rule_trigger_source_account_starts_choice": "Quellkonto-Name beginnt mit..", "rule_trigger_source_account_ends_choice": "Quellkonto-Name endet mit..", "rule_trigger_source_account_is_choice": "Quellkonto-Name lautet..", "rule_trigger_source_account_contains_choice": "Quellkonto-Name enh\u00e4lt..", "rule_trigger_account_id_choice": "Beide Konto IDs sind exakt..", - "rule_trigger_source_account_id_choice": "Quellkonto ID ist genau..", - "rule_trigger_destination_account_id_choice": "Zielkonto ID ist genau..", + "rule_trigger_source_account_id_choice": "Quellkonto-ID ist genau..", + "rule_trigger_destination_account_id_choice": "Zielkonto-ID ist genau..", "rule_trigger_account_is_cash_choice": "Beide Konten sind Bargeld", "rule_trigger_source_is_cash_choice": "Quellkonto ist (bar)", "rule_trigger_destination_is_cash_choice": "Zielkonto ist (bar)", @@ -100,8 +100,8 @@ export default { "rule_trigger_destination_account_contains_choice": "Zielkonto-Name enth\u00e4lt..", "rule_trigger_destination_account_nr_starts_choice": "Zielkontonummer\/IBAN beginnt mit..", "rule_trigger_destination_account_nr_ends_choice": "Zielkontonummer\/IBAN endet auf..", - "rule_trigger_destination_account_nr_is_choice": "Zielkontonummer\/IBAN ist..", - "rule_trigger_destination_account_nr_contains_choice": "Zielkontonummer\/IBAN enth\u00e4lt..", + "rule_trigger_destination_account_nr_is_choice": "Zielkontonummer \/ IBAN ist..", + "rule_trigger_destination_account_nr_contains_choice": "Zielkontonummer \/ IBAN enth\u00e4lt..", "rule_trigger_transaction_type_choice": "Buchung ist vom Typ..", "rule_trigger_category_is_choice": "Kategorie ist..", "rule_trigger_amount_less_choice": "Betrag ist geringer als..", @@ -142,10 +142,10 @@ export default { "rule_trigger_any_external_url_choice": "Buchung hat eine externe URL", "rule_trigger_no_external_url_choice": "Buchung hat keine externe URL", "rule_trigger_id_choice": "Buchungskennung lautet \u2026", - "rule_action_delete_transaction_choice": "DELETE transaction(!)", - "rule_action_set_category_choice": "Set category to ..", + "rule_action_delete_transaction_choice": "Buchung L\u00d6SCHEN(!)", + "rule_action_set_category_choice": "Kategorie zuweisen\u00a0...", "rule_action_clear_category_choice": "Bereinige jede Kategorie", - "rule_action_set_budget_choice": "Set budget to ..", + "rule_action_set_budget_choice": "Setze Budget auf ..", "rule_action_clear_budget_choice": "Alle Budgets leeren", "rule_action_add_tag_choice": "Add tag ..", "rule_action_remove_tag_choice": "Remove tag ..", @@ -154,13 +154,13 @@ export default { "rule_action_update_piggy_choice": "Add \/ remove transaction amount in piggy bank ..", "rule_action_append_description_choice": "Append description with ..", "rule_action_prepend_description_choice": "Prepend description with ..", - "rule_action_set_source_account_choice": "Set source account to ..", - "rule_action_set_destination_account_choice": "Set destination account to ..", + "rule_action_set_source_account_choice": "Quellkonto festlegen auf ..", + "rule_action_set_destination_account_choice": "Zielkonto festlegen auf ..", "rule_action_append_notes_choice": "Append notes with ..", "rule_action_prepend_notes_choice": "Prepend notes with ..", "rule_action_clear_notes_choice": "Alle Notizen entfernen", - "rule_action_set_notes_choice": "Set notes to ..", - "rule_action_link_to_bill_choice": "Link to a bill ..", + "rule_action_set_notes_choice": "Setze Notizen auf ..", + "rule_action_link_to_bill_choice": "Mit einer Rechnung verkn\u00fcpfen..", "rule_action_convert_deposit_choice": "Buchung in eine Einzahlung umwandeln", "rule_action_convert_withdrawal_choice": "Buchung in eine Ausgabe umwandeln", "rule_action_convert_transfer_choice": "Buchung in eine Umbuchung umwandeln", diff --git a/frontend/src/i18n/fr_FR/index.js b/frontend/src/i18n/fr_FR/index.js index 2f24eaea43..ae28ef6cb2 100644 --- a/frontend/src/i18n/fr_FR/index.js +++ b/frontend/src/i18n/fr_FR/index.js @@ -69,9 +69,9 @@ export default { "new_budget": "Nouveau budget", "new_asset_account": "Nouveau compte d\u2019actif", "newTransfer": "Nouveau transfert", - "submission_options": "Submission options", - "apply_rules_checkbox": "Apply rules", - "fire_webhooks_checkbox": "Fire webhooks", + "submission_options": "Options de soumission", + "apply_rules_checkbox": "Appliquer les r\u00e8gles", + "fire_webhooks_checkbox": "Lancer les webhooks", "newDeposit": "Nouveau d\u00e9p\u00f4t", "newWithdrawal": "Nouvelle d\u00e9pense", "bills_paid": "Factures pay\u00e9es", diff --git a/frontend/src/i18n/pt_BR/index.js b/frontend/src/i18n/pt_BR/index.js index 26858a0396..58a7eeed43 100644 --- a/frontend/src/i18n/pt_BR/index.js +++ b/frontend/src/i18n/pt_BR/index.js @@ -69,9 +69,9 @@ export default { "new_budget": "Novo or\u00e7amento", "new_asset_account": "Nova conta de ativo", "newTransfer": "Nova transfer\u00eancia", - "submission_options": "Submission options", - "apply_rules_checkbox": "Apply rules", - "fire_webhooks_checkbox": "Fire webhooks", + "submission_options": "Op\u00e7\u00f5es de envio", + "apply_rules_checkbox": "Aplicar regras", + "fire_webhooks_checkbox": "Acionar webhooks", "newDeposit": "Novo dep\u00f3sito", "newWithdrawal": "Nova despesa", "bills_paid": "Contas pagas", diff --git a/frontend/src/i18n/ru_RU/index.js b/frontend/src/i18n/ru_RU/index.js index 29d3fce02a..196ac161fe 100644 --- a/frontend/src/i18n/ru_RU/index.js +++ b/frontend/src/i18n/ru_RU/index.js @@ -21,7 +21,7 @@ export default { "config": { "html_language": "ru", - "month_and_day_fns": "MMMM \u0434, \u0433" + "month_and_day_fns": "d MMMM yyyy" }, "form": { "name": "\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435", @@ -44,20 +44,20 @@ export default { "active": "\u0410\u043a\u0442\u0438\u0432\u0435\u043d?" }, "breadcrumbs": { - "placeholder": "\u041d\u0435 \u0441\u0442\u0435\u0441\u043d\u044f\u0439\u0442\u0435\u0441\u044c \u0434\u0435\u0440\u0436\u0430\u0442\u044c \u044d\u0442\u043e\u0442 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0438\u0439.", - "budgets": "\u043c\u0430\u0441\u0441\u0438\u0432['\u0431\u044e\u0434\u0436\u0435\u0442\u044b']", - "subscriptions": "\u043c\u0430\u0441\u0441\u0438\u0432['\u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0438']", - "transactions": "\u043c\u0430\u0441\u0441\u0438\u0432['\u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0438']", - "title_expenses": "\u043c\u0430\u0441\u0441\u0438\u0432['\u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435_\u0440\u0430\u0441\u0445\u043e\u0434\u044b']", - "title_withdrawal": "\u043c\u0430\u0441\u0441\u0438\u0432['\u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435_\u0441\u043d\u044f\u0442\u0438\u0435']", - "title_revenue": "\u043c\u0430\u0441\u0441\u0438\u0432['\u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435_\u0434\u043e\u0445\u043e\u0434']", - "title_deposit": "\u043c\u0430\u0441\u0441\u0438\u0432['\u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435_\u0434\u0435\u043f\u043e\u0437\u0438\u0442']", + "placeholder": "[Placeholder]", + "budgets": "\u0411\u044e\u0434\u0436\u0435\u0442", + "subscriptions": "\u041f\u043e\u0434\u043f\u0438\u0441\u043a\u0438", + "transactions": "\u0422\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0438", + "title_expenses": "\u0420\u0430\u0441\u0445\u043e\u0434\u044b", + "title_withdrawal": "\u0420\u0430\u0441\u0445\u043e\u0434\u044b", + "title_revenue": "\u0414\u043e\u0445\u043e\u0434\u044b \/ \u043f\u043e\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u044f", + "title_deposit": "\u0414\u043e\u0445\u043e\u0434\u044b \/ \u043f\u043e\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u044f", "title_transfer": "\u041f\u0435\u0440\u0435\u0432\u043e\u0434", "title_transfers": "\u041f\u0435\u0440\u0435\u0432\u043e\u0434\u044b", - "asset_accounts": "\u043c\u0430\u0441\u0441\u0438\u0432 ['\u0430\u043a\u0442\u0438\u0432_\u0443\u0447\u0435\u0442\u043d\u044b\u0435 \u0437\u0430\u043f\u0438\u0441\u0438']", - "expense_accounts": "\u043c\u0430\u0441\u0441\u0438\u0432 ['\u0440\u0430\u0441\u0445\u043e\u0434_\u0441\u0447\u0435\u0442\u043e\u0432']", - "revenue_accounts": "\u043c\u0430\u0441\u0441\u0438\u0432['\u0434\u043e\u0445\u043e\u0434_\u0441\u0447\u0435\u0442\u043e\u0432']", - "liabilities_accounts": "\u043c\u0430\u0441\u0441\u0438\u0432 ['\u043f\u0430\u0441\u0441\u0438\u0432\u043d\u044b\u0435_\u0441\u0447\u0435\u0442\u0430']" + "asset_accounts": "\u041e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u0441\u0447\u0435\u0442\u0430", + "expense_accounts": "\u0421\u0447\u0435\u0442\u0430 \u0440\u0430\u0441\u0445\u043e\u0434\u043e\u0432", + "revenue_accounts": "\u0421\u0447\u0435\u0442\u0430 \u0434\u043e\u0445\u043e\u0434\u043e\u0432", + "liabilities_accounts": "\u0414\u043e\u043b\u0433\u0438" }, "firefly": { "actions": "\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044f", @@ -70,7 +70,7 @@ export default { "new_asset_account": "\u041d\u043e\u0432\u044b\u0439 \u0441\u0447\u0435\u0442 \u0430\u043a\u0442\u0438\u0432\u043e\u0432", "newTransfer": "\u041d\u043e\u0432\u044b\u0439 \u043f\u0435\u0440\u0435\u0432\u043e\u0434", "submission_options": "Submission options", - "apply_rules_checkbox": "Apply rules", + "apply_rules_checkbox": "\u041f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u043f\u0440\u0430\u0432\u0438\u043b\u0430", "fire_webhooks_checkbox": "Fire webhooks", "newDeposit": "\u041d\u043e\u0432\u044b\u0439 \u0434\u043e\u0445\u043e\u0434", "newWithdrawal": "\u041d\u043e\u0432\u044b\u0439 \u0440\u0430\u0441\u0445\u043e\u0434", diff --git a/frontend/src/i18n/sl_SI/index.js b/frontend/src/i18n/sl_SI/index.js index 91a3685cdc..a436a68d49 100644 --- a/frontend/src/i18n/sl_SI/index.js +++ b/frontend/src/i18n/sl_SI/index.js @@ -38,39 +38,39 @@ export default { }, "list": { "name": "ime", - "account_number": "Account number", + "account_number": "\u0160tevilka ra\u010duna", "currentBalance": "trenutno stanje", "lastActivity": "zadnja aktivnost", "active": "Aktiviran?" }, "breadcrumbs": { "placeholder": "[Placeholder]", - "budgets": "Budgets", - "subscriptions": "Subscriptions", - "transactions": "Transactions", - "title_expenses": "Expenses", - "title_withdrawal": "Expenses", - "title_revenue": "Revenue \/ income", - "title_deposit": "Revenue \/ income", - "title_transfer": "Transfers", - "title_transfers": "Transfers", - "asset_accounts": "Asset accounts", - "expense_accounts": "Expense accounts", - "revenue_accounts": "Revenue accounts", - "liabilities_accounts": "Liabilities" + "budgets": "Prora\u010duni", + "subscriptions": "Naro\u010dnine", + "transactions": "Transakcije", + "title_expenses": "Stro\u0161ki", + "title_withdrawal": "Stro\u0161ki", + "title_revenue": "Dohodki \/ prihodki", + "title_deposit": "Dohodki \/ prihodki", + "title_transfer": "Prenosi", + "title_transfers": "Prenosi", + "asset_accounts": "Premo\u017eenjski ra\u010duni", + "expense_accounts": "Ra\u010duni stro\u0161kov", + "revenue_accounts": "Ra\u010dun prihodkov", + "liabilities_accounts": "Obveznosti" }, "firefly": { "actions": "Dejanja", "edit": "uredi", "delete": "izbri\u0161i", - "reconcile": "Reconcile", + "reconcile": "Poravnaj", "create_new_asset": "ustvari nov premo\u017eenjski ra\u010dun", - "confirm_action": "Confirm action", + "confirm_action": "Potrdi dejanje", "new_budget": "nov bud\u017eet", "new_asset_account": "nov premo\u017eenjski ra\u010dun", "newTransfer": "Nov prenos", "submission_options": "Submission options", - "apply_rules_checkbox": "Apply rules", + "apply_rules_checkbox": "Uporabi pravila", "fire_webhooks_checkbox": "Fire webhooks", "newDeposit": "Nov polog", "newWithdrawal": "Nov stro\u0161ek", @@ -79,7 +79,7 @@ export default { "no_budget": "(brez prora\u010duna)", "budgeted": "Prora\u010dun", "spent": "Porabljeno", - "no_bill": "(no bill)", + "no_bill": "(ni ra\u010duna)", "rule_trigger_source_account_starts_choice": "Source account name starts with..", "rule_trigger_source_account_ends_choice": "Source account name ends with..", "rule_trigger_source_account_is_choice": "Source account name is..", @@ -105,7 +105,7 @@ export default { "rule_trigger_transaction_type_choice": "Tip transakcije je..", "rule_trigger_category_is_choice": "Kategorija je..", "rule_trigger_amount_less_choice": "Znesek je manj\u0161i od..", - "rule_trigger_amount_is_choice": "Amount is..", + "rule_trigger_amount_is_choice": "Znesek je..", "rule_trigger_amount_more_choice": "Znesek je ve\u010d kot..", "rule_trigger_description_starts_choice": "Opis se za\u010dne s\/z..", "rule_trigger_description_ends_choice": "Opis se kon\u010da z..", @@ -125,17 +125,17 @@ export default { "rule_trigger_has_any_category_choice": "Ima kategorijo", "rule_trigger_has_no_budget_choice": "Nima prora\u010duna", "rule_trigger_has_any_budget_choice": "Ima (katerikoli) prora\u010dun", - "rule_trigger_has_no_bill_choice": "Has no bill", + "rule_trigger_has_no_bill_choice": "Nima ra\u010duna", "rule_trigger_has_any_bill_choice": "Has a (any) bill", "rule_trigger_has_no_tag_choice": "Nima oznak", "rule_trigger_has_any_tag_choice": "Ima eno ali ve\u010d oznak", "rule_trigger_any_notes_choice": "Ima zaznamke", "rule_trigger_no_notes_choice": "Nima zaznamkov", - "rule_trigger_notes_is_choice": "Notes are..", + "rule_trigger_notes_is_choice": "Opombe so..", "rule_trigger_notes_contains_choice": "Notes contain..", "rule_trigger_notes_starts_choice": "Notes start with..", "rule_trigger_notes_ends_choice": "Notes end with..", - "rule_trigger_bill_is_choice": "Bill is..", + "rule_trigger_bill_is_choice": "Ra\u010dun je..", "rule_trigger_external_id_is_choice": "External ID is..", "rule_trigger_internal_reference_is_choice": "Internal reference is..", "rule_trigger_journal_id_choice": "Transaction journal ID is..", @@ -147,7 +147,7 @@ export default { "rule_action_clear_category_choice": "Po\u010disti kategorijo", "rule_action_set_budget_choice": "Set budget to ..", "rule_action_clear_budget_choice": "Po\u010disti prora\u010dun", - "rule_action_add_tag_choice": "Add tag ..", + "rule_action_add_tag_choice": "Dodaj oznako ..", "rule_action_remove_tag_choice": "Remove tag ..", "rule_action_remove_all_tags_choice": "Odstrani vse oznake", "rule_action_set_description_choice": "Set description to ..", @@ -197,9 +197,9 @@ export default { "accounts": "Ra\u010duni", "categories": "Kategorije", "tags": "Oznake", - "object_groups_page_title": "Groups", + "object_groups_page_title": "Skupine", "reports": "Poro\u010dila", - "webhooks": "Webhooks", + "webhooks": "Spletne kljuke (Webhooks)", "currencies": "Valute", "administration": "Administracija", "profile": "Profil", @@ -207,7 +207,7 @@ export default { "destination_account": "Ciljni ra\u010dun", "amount": "Znesek", "date": "Datum", - "time": "Time", + "time": "\u010cas", "preferences": "Mo\u017enosti", "transactions": "Transakcije", "balance": "Stanje", @@ -216,11 +216,11 @@ export default { "welcome_back": "Kaj dogaja?", "bills_to_pay": "Trajnik za pla\u010dilo", "net_worth": "Neto vrednost", - "pref_last365": "Last year", + "pref_last365": "Zadnje leto", "pref_last90": "Last 90 days", "pref_last30": "Last 30 days", - "pref_last7": "Last 7 days", - "pref_YTD": "Year to date", + "pref_last7": "Zadnjih 7 dni", + "pref_YTD": "Leto do datuma", "pref_QTD": "Quarter to date", "pref_MTD": "Month to date" } diff --git a/frontend/src/i18n/uk_UA/index.js b/frontend/src/i18n/uk_UA/index.js index 6614847c2d..c04cac1cfa 100644 --- a/frontend/src/i18n/uk_UA/index.js +++ b/frontend/src/i18n/uk_UA/index.js @@ -94,30 +94,30 @@ export default { "rule_trigger_source_account_nr_ends_choice": "\u041d\u043e\u043c\u0435\u0440 \u0440\u0430\u0445\u0443\u043d\u043a\u0443 \u043f\u0440\u0438\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \/ IBAN \u0437\u0430\u043a\u0456\u043d\u0447\u0443\u0454\u0442\u044c\u0441\u044f \u043d\u0430..", "rule_trigger_source_account_nr_is_choice": "\u041d\u043e\u043c\u0435\u0440 \u0434\u0436\u0435\u0440\u0435\u043b\u0430 \u0440\u0430\u0445\u0443\u043d\u043a\u0443 \/ IBAN \u0454..", "rule_trigger_source_account_nr_contains_choice": "\u041d\u043e\u043c\u0435\u0440 \u0434\u0436\u0435\u0440\u0435\u043b\u0430 \u0440\u0430\u0445\u0443\u043d\u043a\u0443 \/ IBAN \u043c\u0456\u0441\u0442\u0438\u0442\u044c..", - "rule_trigger_destination_account_starts_choice": "Destination account name starts with..", - "rule_trigger_destination_account_ends_choice": "Destination account name ends with..", - "rule_trigger_destination_account_is_choice": "Destination account name is..", - "rule_trigger_destination_account_contains_choice": "Destination account name contains..", - "rule_trigger_destination_account_nr_starts_choice": "Destination account number \/ IBAN starts with..", - "rule_trigger_destination_account_nr_ends_choice": "Destination account number \/ IBAN ends with..", - "rule_trigger_destination_account_nr_is_choice": "Destination account number \/ IBAN is..", - "rule_trigger_destination_account_nr_contains_choice": "Destination account number \/ IBAN contains..", + "rule_trigger_destination_account_starts_choice": "\u0420\u0430\u0445\u0443\u043d\u043e\u043a \u043f\u0440\u0438\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u043f\u043e\u0447\u0438\u043d\u0430\u0454\u0442\u044c\u0441\u044f \u0437..", + "rule_trigger_destination_account_ends_choice": "\u0420\u0430\u0445\u0443\u043d\u043e\u043a \u043f\u0440\u0438\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0437\u0430\u043a\u0456\u043d\u0447\u0443\u0454\u0442\u044c\u0441\u044f \u043d\u0430..", + "rule_trigger_destination_account_is_choice": "\u0420\u0430\u0445\u0443\u043d\u043e\u043a-\u043e\u0434\u0435\u0440\u0436\u0443\u0432\u0430\u0447..", + "rule_trigger_destination_account_contains_choice": "\u0406\u043c'\u044f \u0440\u0430\u0445\u0443\u043d\u043e\u043a\u0443-\u043e\u0434\u0435\u0440\u0436\u0443\u0432\u0430\u0447\u0430 \u043c\u0456\u0441\u0442\u0438\u0442\u044c..", + "rule_trigger_destination_account_nr_starts_choice": "\u0420\u0430\u0445\u0443\u043d\u043e\u043a \u043f\u0440\u0438\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \/ IBAN \u043f\u043e\u0447\u0438\u043d\u0430\u0454\u0442\u044c\u0441\u044f \u0437..", + "rule_trigger_destination_account_nr_ends_choice": "\u0420\u0430\u0445\u0443\u043d\u043e\u043a \u043f\u0440\u0438\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \/ IBAN \u0437\u0430\u043a\u0456\u043d\u0447\u0443\u0454\u0442\u044c\u0441\u044f \u043d\u0430..", + "rule_trigger_destination_account_nr_is_choice": "\u0420\u0430\u0445\u0443\u043d\u043e\u043a \u043f\u0440\u0438\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \/ IBAN..", + "rule_trigger_destination_account_nr_contains_choice": "\u0420\u0430\u0445\u0443\u043d\u043e\u043a \u043f\u0440\u0438\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \/ IBAN \u043c\u0456\u0441\u0442\u0438\u0442\u044c..", "rule_trigger_transaction_type_choice": "\u0422\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0456\u044f \u043c\u0430\u0454 \u0442\u0438\u043f..", "rule_trigger_category_is_choice": "\u041a\u0430\u0442\u0435\u0433\u043e\u0440\u0456\u044f \u0454..", "rule_trigger_amount_less_choice": "\u0421\u0443\u043c\u0430 \u0431\u0456\u043b\u044c\u0448\u0435 \u043d\u0456\u0436..", - "rule_trigger_amount_is_choice": "Amount is..", + "rule_trigger_amount_is_choice": "\u0421\u0443\u043c\u0430..", "rule_trigger_amount_more_choice": "\u0421\u0443\u043c\u0430 \u0431\u0456\u043b\u044c\u0448\u0435 \u043d\u0456\u0436..", "rule_trigger_description_starts_choice": "\u041e\u043f\u0438\u0441 \u043f\u043e\u0447\u0438\u043d\u0430\u0454\u0442\u044c\u0441\u044f \u0437..", "rule_trigger_description_ends_choice": "\u041e\u043f\u0438\u0441 \u0437\u0430\u043a\u0456\u043d\u0447\u0443\u0454\u0442\u044c\u0441\u044f \u043d\u0430..", "rule_trigger_description_contains_choice": "\u041e\u043f\u0438\u0441 \u043c\u0456\u0441\u0442\u0438\u0442\u044c..", "rule_trigger_description_is_choice": "\u041e\u043f\u0438\u0441..", - "rule_trigger_date_on_choice": "Transaction date is..", - "rule_trigger_date_before_choice": "Transaction date is before..", - "rule_trigger_date_after_choice": "Transaction date is after..", - "rule_trigger_created_at_on_choice": "Transaction was made on..", - "rule_trigger_updated_at_on_choice": "Transaction was last edited on..", + "rule_trigger_date_on_choice": "\u0414\u0430\u0442\u0430 \u043e\u043f\u0435\u0440\u0430\u0446\u0456\u0457..", + "rule_trigger_date_before_choice": "\u0414\u0430\u0442\u0430 \u043e\u043f\u0435\u0440\u0430\u0446\u0456\u0457 \u0440\u0430\u043d\u0456\u0448\u0435..", + "rule_trigger_date_after_choice": "\u0414\u0430\u0442\u0430 \u043e\u043f\u0435\u0440\u0430\u0446\u0456\u0457 \u043f\u0456\u0437\u043d\u0456\u0448\u0435..", + "rule_trigger_created_at_on_choice": "\u041e\u043f\u0435\u0440\u0430\u0446\u0456\u044f \u0431\u0443\u043b\u0430 \u0441\u0442\u0432\u043e\u0440\u0435\u043d\u0430..", + "rule_trigger_updated_at_on_choice": "\u041e\u043f\u0435\u0440\u0430\u0446\u0456\u044f \u0431\u0443\u043b\u0430 \u0432\u0456\u0434\u0440\u0435\u0434\u0430\u0433\u043e\u0432\u0430\u043d\u0430..", "rule_trigger_budget_is_choice": "\u0411\u044e\u0434\u0436\u0435\u0442..", - "rule_trigger_tag_is_choice": "Any tag is..", + "rule_trigger_tag_is_choice": "\u0411\u0443\u0434\u044c-\u044f\u043a\u0430 \u043c\u0456\u0442\u043a\u0430..", "rule_trigger_currency_is_choice": "\u0412\u0430\u043b\u044e\u0442\u0438 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0456\u0439 \u0454..", "rule_trigger_foreign_currency_is_choice": "\u0412\u0430\u043b\u044e\u0442\u0430 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0456\u0457 \u0454..", "rule_trigger_has_attachments_choice": "\u041c\u0430\u0454 \u043f\u0440\u0438\u043d\u0430\u0439\u043c\u043d\u0456 \u0446\u044e \u043a\u0456\u043b\u044c\u043a\u0456\u0441\u0442\u044c \u0432\u043a\u043b\u0430\u0434\u0435\u043d\u044c", @@ -125,30 +125,30 @@ export default { "rule_trigger_has_any_category_choice": "\u041c\u0430\u0454 (\u0431\u0443\u0434\u044c-\u044f\u043a\u0443) \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0456\u044e", "rule_trigger_has_no_budget_choice": "\u041d\u0435\u043c\u0430\u0454 \u043f\u043e\u0432'\u044f\u0437\u0430\u043d\u043e\u0433\u043e \u0431\u044e\u0434\u0436\u0435\u0442\u0443", "rule_trigger_has_any_budget_choice": "\u041c\u0430\u0454 (\u0431\u0443\u0434\u044c-\u044f\u043a\u0438\u0439) \u0431\u044e\u0434\u0436\u0435\u0442", - "rule_trigger_has_no_bill_choice": "Has no bill", - "rule_trigger_has_any_bill_choice": "Has a (any) bill", + "rule_trigger_has_no_bill_choice": "\u041d\u0435 \u043c\u0430\u0454 \u0440\u0430\u0445\u0443\u043d\u043a\u0456\u0432 \u0434\u043e \u0441\u043f\u043b\u0430\u0442\u0438", + "rule_trigger_has_any_bill_choice": "\u041c\u0430\u0454 (\u044f\u043a\u0438\u0439\u0441\u044c) \u0440\u0430\u0445\u0443\u043d\u043e\u043a \u0434\u043e \u0441\u043f\u043b\u0430\u0442\u0438", "rule_trigger_has_no_tag_choice": "\u041d\u0435\u043c\u0430\u0454 \u0442\u0435\u0433\u0456\u0432", "rule_trigger_has_any_tag_choice": "\u0404 \u043e\u0434\u0438\u043d \u0430\u0431\u043e \u043a\u0456\u043b\u044c\u043a\u0430 \u0442\u0435\u0433\u0456\u0432 (\u0431\u0443\u0434\u044c-\u044f\u043a\u0438\u0445)", "rule_trigger_any_notes_choice": "\u041c\u0430\u0454 (\u0431\u0443\u0434\u044c-\u044f\u043a\u0456) \u043d\u043e\u0442\u0430\u0442\u043a\u0438", "rule_trigger_no_notes_choice": "\u041d\u043e\u0442\u0430\u0442\u043a\u0438 \u0432\u0456\u0434\u0441\u0443\u0442\u043d\u0456", - "rule_trigger_notes_is_choice": "Notes are..", - "rule_trigger_notes_contains_choice": "Notes contain..", - "rule_trigger_notes_starts_choice": "Notes start with..", - "rule_trigger_notes_ends_choice": "Notes end with..", - "rule_trigger_bill_is_choice": "Bill is..", - "rule_trigger_external_id_is_choice": "External ID is..", + "rule_trigger_notes_is_choice": "\u041f\u0440\u0438\u043c\u0456\u0442\u043a\u0438..", + "rule_trigger_notes_contains_choice": "\u041f\u0440\u0438\u043c\u0456\u0442\u043a\u0438 \u043c\u0456\u0441\u0442\u044f\u0442\u044c..", + "rule_trigger_notes_starts_choice": "\u041f\u0440\u0438\u043c\u0456\u0442\u043a\u0438 \u043f\u043e\u0447\u0438\u043d\u0430\u044e\u0442\u044c\u0441\u044f \u0437..", + "rule_trigger_notes_ends_choice": "\u041f\u0440\u0438\u043c\u0456\u0442\u043a\u0438 \u0437\u0430\u0432\u0435\u0440\u0448\u0443\u044e\u0442\u044c\u0441\u044f \u043d\u0430..", + "rule_trigger_bill_is_choice": "\u0420\u0430\u0445\u0443\u043d\u043e\u043a \u0434\u043e \u0441\u043f\u043b\u0430\u0442\u0438..", + "rule_trigger_external_id_is_choice": "\u0417\u043e\u0432\u043d\u0456\u0448\u043d\u0456\u0439 ID \u043c\u0456\u0441\u0442\u0438\u0442\u044c..", "rule_trigger_internal_reference_is_choice": "\u0412\u043d\u0443\u0442\u0440\u0456\u0448\u043d\u0454 \u043f\u043e\u0441\u0438\u043b\u0430\u043d\u043d\u044f - \u0446\u0435..", "rule_trigger_journal_id_choice": "\u0406\u0434\u0435\u043d\u0442\u0438\u0444\u0456\u043a\u0430\u0442\u043e\u0440 \u0436\u0443\u0440\u043d\u0430\u043b\u0443 \u043e\u043f\u0435\u0440\u0430\u0446\u0456\u0439 \u0454..", "rule_trigger_any_external_url_choice": "\u041e\u043f\u0435\u0440\u0430\u0446\u0456\u044f \u043c\u0430\u0454 \u0437\u043e\u0432\u043d\u0456\u0448\u043d\u044e URL-\u0430\u0434\u0440\u0435\u0441\u0443", "rule_trigger_no_external_url_choice": "\u041e\u043f\u0435\u0440\u0430\u0446\u0456\u044f \u043d\u0435 \u043c\u0430\u0454 \u0437\u043e\u0432\u043d\u0456\u0448\u043d\u044c\u043e\u0457 URL-\u0430\u0434\u0440\u0435\u0441\u0438", "rule_trigger_id_choice": "\u0406\u0434\u0435\u043d\u0442\u0438\u0444\u0456\u043a\u0430\u0442\u043e\u0440 \u043e\u043f\u0435\u0440\u0430\u0446\u0456\u0457..", - "rule_action_delete_transaction_choice": "DELETE transaction(!)", - "rule_action_set_category_choice": "Set category to ..", - "rule_action_clear_category_choice": "Clear any category", - "rule_action_set_budget_choice": "Set budget to ..", - "rule_action_clear_budget_choice": "Clear any budget", - "rule_action_add_tag_choice": "Add tag ..", - "rule_action_remove_tag_choice": "Remove tag ..", + "rule_action_delete_transaction_choice": "\u0412\u0418\u0414\u0410\u041b\u0418\u0422\u0418 \u043e\u043f\u0435\u0440\u0430\u0446\u0456\u044e(!)", + "rule_action_set_category_choice": "\u041e\u0431\u0440\u0430\u0442\u0438 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0456\u044e..", + "rule_action_clear_category_choice": "\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u0432\u0441\u0456 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0456\u0457", + "rule_action_set_budget_choice": "\u0412\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0438 \u0431\u044e\u0434\u0436\u0435\u0442..", + "rule_action_clear_budget_choice": "\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u0432\u0441\u0456 \u0431\u044e\u0434\u0436\u0435\u0442\u0438", + "rule_action_add_tag_choice": "\u0414\u043e\u0434\u0430\u0442\u0438 \u0442\u0435\u0433..", + "rule_action_remove_tag_choice": "\u0412\u0438\u0434\u0430\u043b\u0438\u0442\u0438 \u0442\u0435\u0433..", "rule_action_remove_all_tags_choice": "\u0412\u0438\u0434\u0430\u043b\u0438\u0442\u0438 \u0443\u0441\u0456 \u0442\u0435\u0433\u0438", "rule_action_set_description_choice": "Set description to ..", "rule_action_update_piggy_choice": "Add \/ remove transaction amount in piggy bank ..", @@ -212,7 +212,7 @@ export default { "transactions": "Transactions", "balance": "Balance", "budgets": "\u0411\u044e\u0434\u0436\u0435\u0442\u0438", - "subscriptions": "Subscriptions", + "subscriptions": "\u041f\u0456\u0434\u043f\u0438\u0441\u043a\u0438", "welcome_back": "\u0429\u043e \u0432 \u0433\u0430\u043c\u0430\u043d\u0446\u0456?", "bills_to_pay": "\u0420\u0430\u0445\u0443\u043d\u043a\u0438 \u0434\u043e \u0441\u043f\u043b\u0430\u0442\u0438", "net_worth": "\u0427\u0438\u0441\u0442\u0456 \u0430\u043a\u0442\u0438\u0432\u0438", diff --git a/frontend/src/i18n/zh_CN/index.js b/frontend/src/i18n/zh_CN/index.js index f75b128182..1c5dd06659 100644 --- a/frontend/src/i18n/zh_CN/index.js +++ b/frontend/src/i18n/zh_CN/index.js @@ -65,13 +65,13 @@ export default { "delete": "\u5220\u9664", "reconcile": "\u5bf9\u8d26", "create_new_asset": "\u521b\u5efa\u65b0\u8d44\u4ea7\u8d26\u6237", - "confirm_action": "Confirm action", + "confirm_action": "\u786e\u8ba4\u64cd\u4f5c", "new_budget": "\u65b0\u9884\u7b97", "new_asset_account": "\u65b0\u8d44\u4ea7\u8d26\u6237", "newTransfer": "\u65b0\u8f6c\u8d26", "submission_options": "Submission options", - "apply_rules_checkbox": "Apply rules", - "fire_webhooks_checkbox": "Fire webhooks", + "apply_rules_checkbox": "\u5e94\u7528\u89c4\u5219", + "fire_webhooks_checkbox": "\u89e6\u53d1 webhook", "newDeposit": "\u65b0\u6536\u5165", "newWithdrawal": "\u65b0\u652f\u51fa", "bills_paid": "\u5df2\u4ed8\u8d26\u5355", @@ -105,13 +105,13 @@ export default { "rule_trigger_transaction_type_choice": "\u4ea4\u6613\u7c7b\u578b\u4e3a\u2026", "rule_trigger_category_is_choice": "\u5206\u7c7b\u4e3a...", "rule_trigger_amount_less_choice": "\u91d1\u989d\u5c0f\u4e8e\u2026", - "rule_trigger_amount_is_choice": "Amount is..", + "rule_trigger_amount_is_choice": "\u91d1\u989d\u662f...", "rule_trigger_amount_more_choice": "\u91d1\u989d\u5927\u4e8e\u2026", "rule_trigger_description_starts_choice": "\u63cf\u8ff0\u5f00\u5934\u4e3a...", "rule_trigger_description_ends_choice": "\u63cf\u8ff0\u7ed3\u5c3e\u4e3a...", "rule_trigger_description_contains_choice": "\u63cf\u8ff0\u5305\u542b\u2026", "rule_trigger_description_is_choice": "\u63cf\u8ff0\u4e3a\u2026", - "rule_trigger_date_on_choice": "Transaction date is..", + "rule_trigger_date_on_choice": "\u4ea4\u6613\u65e5\u671f\u4e3a...", "rule_trigger_date_before_choice": "\u4ea4\u6613\u65e5\u671f\u65e9\u4e8e...", "rule_trigger_date_after_choice": "\u4ea4\u6613\u65e5\u671f\u665a\u4e8e...", "rule_trigger_created_at_on_choice": "Transaction was made on..", @@ -160,7 +160,7 @@ export default { "rule_action_prepend_notes_choice": "Prepend notes with ..", "rule_action_clear_notes_choice": "\u79fb\u9664\u6240\u6709\u5907\u6ce8", "rule_action_set_notes_choice": "Set notes to ..", - "rule_action_link_to_bill_choice": "Link to a bill ..", + "rule_action_link_to_bill_choice": "\u5173\u8054\u81f3\u8d26\u5355\u2026", "rule_action_convert_deposit_choice": "\u8f6c\u6362\u4ea4\u6613\u4e3a\u6536\u5165", "rule_action_convert_withdrawal_choice": "\u8f6c\u6362\u4ea4\u6613\u4e3a\u652f\u51fa", "rule_action_convert_transfer_choice": "\u8f6c\u6362\u4ea4\u6613\u4e3a\u8f6c\u8d26", @@ -220,8 +220,8 @@ export default { "pref_last90": "\u6700\u8fd190\u5929", "pref_last30": "\u6700\u8fd1 30 \u5929", "pref_last7": "\u6700\u8fd17\u5929", - "pref_YTD": "Year to date", - "pref_QTD": "Quarter to date", - "pref_MTD": "Month to date" + "pref_YTD": "\u4eca\u5e74\u81f3\u4eca", + "pref_QTD": "\u672c\u5b63\u5ea6\u81f3\u4eca", + "pref_MTD": "\u672c\u6708\u81f3\u4eca" } } diff --git a/frontend/src/i18n/zh_TW/index.js b/frontend/src/i18n/zh_TW/index.js index 45bdb4fe86..5912cd123a 100644 --- a/frontend/src/i18n/zh_TW/index.js +++ b/frontend/src/i18n/zh_TW/index.js @@ -45,7 +45,7 @@ export default { }, "breadcrumbs": { "placeholder": "[Placeholder]", - "budgets": "Budgets", + "budgets": "\u9810\u7b97", "subscriptions": "Subscriptions", "transactions": "Transactions", "title_expenses": "Expenses", diff --git a/public/v1/js/app.js b/public/v1/js/app.js index 5eaccae7cd..06e7396096 100644 --- a/public/v1/js/app.js +++ b/public/v1/js/app.js @@ -1,2 +1,2 @@ /*! For license information please see app.js.LICENSE.txt */ -(()=>{var t={3002:()=>{if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");!function(t){"use strict";var e=jQuery.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||e[0]>3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(),function(t){"use strict";t.fn.emulateTransitionEnd=function(e){var n=!1,i=this;t(this).one("bsTransitionEnd",(function(){n=!0}));return setTimeout((function(){n||t(i).trigger(t.support.transition.end)}),e),this},t((function(){t.support.transition=function(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in e)if(void 0!==t.style[n])return{end:e[n]};return!1}(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})}))}(jQuery),function(t){"use strict";var e='[data-dismiss="alert"]',n=function(n){t(n).on("click",e,this.close)};n.VERSION="3.4.1",n.TRANSITION_DURATION=150,n.prototype.close=function(e){var i=t(this),o=i.attr("data-target");o||(o=(o=i.attr("href"))&&o.replace(/.*(?=#[^\s]*$)/,"")),o="#"===o?[]:o;var r=t(document).find(o);function s(){r.detach().trigger("closed.bs.alert").remove()}e&&e.preventDefault(),r.length||(r=i.closest(".alert")),r.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(r.removeClass("in"),t.support.transition&&r.hasClass("fade")?r.one("bsTransitionEnd",s).emulateTransitionEnd(n.TRANSITION_DURATION):s())};var i=t.fn.alert;t.fn.alert=function(e){return this.each((function(){var i=t(this),o=i.data("bs.alert");o||i.data("bs.alert",o=new n(this)),"string"==typeof e&&o[e].call(i)}))},t.fn.alert.Constructor=n,t.fn.alert.noConflict=function(){return t.fn.alert=i,this},t(document).on("click.bs.alert.data-api",e,n.prototype.close)}(jQuery),function(t){"use strict";var e=function(n,i){this.$element=t(n),this.options=t.extend({},e.DEFAULTS,i),this.isLoading=!1};function n(n){return this.each((function(){var i=t(this),o=i.data("bs.button"),r="object"==typeof n&&n;o||i.data("bs.button",o=new e(this,r)),"toggle"==n?o.toggle():n&&o.setState(n)}))}e.VERSION="3.4.1",e.DEFAULTS={loadingText:"loading..."},e.prototype.setState=function(e){var n="disabled",i=this.$element,o=i.is("input")?"val":"html",r=i.data();e+="Text",null==r.resetText&&i.data("resetText",i[o]()),setTimeout(t.proxy((function(){i[o](null==r[e]?this.options[e]:r[e]),"loadingText"==e?(this.isLoading=!0,i.addClass(n).attr(n,n).prop(n,!0)):this.isLoading&&(this.isLoading=!1,i.removeClass(n).removeAttr(n).prop(n,!1))}),this),0)},e.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var n=this.$element.find("input");"radio"==n.prop("type")?(n.prop("checked")&&(t=!1),e.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),t&&n.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var i=t.fn.button;t.fn.button=n,t.fn.button.Constructor=e,t.fn.button.noConflict=function(){return t.fn.button=i,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',(function(e){var i=t(e.target).closest(".btn");n.call(i,"toggle"),t(e.target).is('input[type="radio"], input[type="checkbox"]')||(e.preventDefault(),i.is("input,button")?i.trigger("focus"):i.find("input:visible,button:visible").first().trigger("focus"))})).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',(function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))}))}(jQuery),function(t){"use strict";var e=function(e,n){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};function n(n){return this.each((function(){var i=t(this),o=i.data("bs.carousel"),r=t.extend({},e.DEFAULTS,i.data(),"object"==typeof n&&n),s="string"==typeof n?n:r.slide;o||i.data("bs.carousel",o=new e(this,r)),"number"==typeof n?o.to(n):s?o[s]():r.interval&&o.pause().cycle()}))}e.VERSION="3.4.1",e.TRANSITION_DURATION=600,e.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},e.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},e.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},e.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},e.prototype.getItemForDirection=function(t,e){var n=this.getItemIndex(e);if(("prev"==t&&0===n||"next"==t&&n==this.$items.length-1)&&!this.options.wrap)return e;var i=(n+("prev"==t?-1:1))%this.$items.length;return this.$items.eq(i)},e.prototype.to=function(t){var e=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",(function(){e.to(t)})):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",this.$items.eq(t))},e.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},e.prototype.next=function(){if(!this.sliding)return this.slide("next")},e.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},e.prototype.slide=function(n,i){var o=this.$element.find(".item.active"),r=i||this.getItemForDirection(n,o),s=this.interval,a="next"==n?"left":"right",l=this;if(r.hasClass("active"))return this.sliding=!1;var u=r[0],c=t.Event("slide.bs.carousel",{relatedTarget:u,direction:a});if(this.$element.trigger(c),!c.isDefaultPrevented()){if(this.sliding=!0,s&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var f=t(this.$indicators.children()[this.getItemIndex(r)]);f&&f.addClass("active")}var p=t.Event("slid.bs.carousel",{relatedTarget:u,direction:a});return t.support.transition&&this.$element.hasClass("slide")?(r.addClass(n),"object"==typeof r&&r.length&&r[0].offsetWidth,o.addClass(a),r.addClass(a),o.one("bsTransitionEnd",(function(){r.removeClass([n,a].join(" ")).addClass("active"),o.removeClass(["active",a].join(" ")),l.sliding=!1,setTimeout((function(){l.$element.trigger(p)}),0)})).emulateTransitionEnd(e.TRANSITION_DURATION)):(o.removeClass("active"),r.addClass("active"),this.sliding=!1,this.$element.trigger(p)),s&&this.cycle(),this}};var i=t.fn.carousel;t.fn.carousel=n,t.fn.carousel.Constructor=e,t.fn.carousel.noConflict=function(){return t.fn.carousel=i,this};var o=function(e){var i=t(this),o=i.attr("href");o&&(o=o.replace(/.*(?=#[^\s]+$)/,""));var r=i.attr("data-target")||o,s=t(document).find(r);if(s.hasClass("carousel")){var a=t.extend({},s.data(),i.data()),l=i.attr("data-slide-to");l&&(a.interval=!1),n.call(s,a),l&&s.data("bs.carousel").to(l),e.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",o).on("click.bs.carousel.data-api","[data-slide-to]",o),t(window).on("load",(function(){t('[data-ride="carousel"]').each((function(){var e=t(this);n.call(e,e.data())}))}))}(jQuery),function(t){"use strict";var e=function(n,i){this.$element=t(n),this.options=t.extend({},e.DEFAULTS,i),this.$trigger=t('[data-toggle="collapse"][href="#'+n.id+'"],[data-toggle="collapse"][data-target="#'+n.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};function n(e){var n,i=e.attr("data-target")||(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return t(document).find(i)}function i(n){return this.each((function(){var i=t(this),o=i.data("bs.collapse"),r=t.extend({},e.DEFAULTS,i.data(),"object"==typeof n&&n);!o&&r.toggle&&/show|hide/.test(n)&&(r.toggle=!1),o||i.data("bs.collapse",o=new e(this,r)),"string"==typeof n&&o[n]()}))}e.VERSION="3.4.1",e.TRANSITION_DURATION=350,e.DEFAULTS={toggle:!0},e.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},e.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var n,o=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(o&&o.length&&(n=o.data("bs.collapse"))&&n.transitioning)){var r=t.Event("show.bs.collapse");if(this.$element.trigger(r),!r.isDefaultPrevented()){o&&o.length&&(i.call(o,"hide"),n||o.data("bs.collapse",null));var s=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[s](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var a=function(){this.$element.removeClass("collapsing").addClass("collapse in")[s](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return a.call(this);var l=t.camelCase(["scroll",s].join("-"));this.$element.one("bsTransitionEnd",t.proxy(a,this)).emulateTransitionEnd(e.TRANSITION_DURATION)[s](this.$element[0][l])}}}},e.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var n=t.Event("hide.bs.collapse");if(this.$element.trigger(n),!n.isDefaultPrevented()){var i=this.dimension();this.$element[i](this.$element[i]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var o=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!t.support.transition)return o.call(this);this.$element[i](0).one("bsTransitionEnd",t.proxy(o,this)).emulateTransitionEnd(e.TRANSITION_DURATION)}}},e.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},e.prototype.getParent=function(){return t(document).find(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy((function(e,i){var o=t(i);this.addAriaAndCollapsedClass(n(o),o)}),this)).end()},e.prototype.addAriaAndCollapsedClass=function(t,e){var n=t.hasClass("in");t.attr("aria-expanded",n),e.toggleClass("collapsed",!n).attr("aria-expanded",n)};var o=t.fn.collapse;t.fn.collapse=i,t.fn.collapse.Constructor=e,t.fn.collapse.noConflict=function(){return t.fn.collapse=o,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',(function(e){var o=t(this);o.attr("data-target")||e.preventDefault();var r=n(o),s=r.data("bs.collapse")?"toggle":o.data();i.call(r,s)}))}(jQuery),function(t){"use strict";var e='[data-toggle="dropdown"]',n=function(e){t(e).on("click.bs.dropdown",this.toggle)};function i(e){var n=e.attr("data-target");n||(n=(n=e.attr("href"))&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var i="#"!==n?t(document).find(n):null;return i&&i.length?i:e.parent()}function o(n){n&&3===n.which||(t(".dropdown-backdrop").remove(),t(e).each((function(){var e=t(this),o=i(e),r={relatedTarget:this};o.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&t.contains(o[0],n.target)||(o.trigger(n=t.Event("hide.bs.dropdown",r)),n.isDefaultPrevented()||(e.attr("aria-expanded","false"),o.removeClass("open").trigger(t.Event("hidden.bs.dropdown",r)))))})))}n.VERSION="3.4.1",n.prototype.toggle=function(e){var n=t(this);if(!n.is(".disabled, :disabled")){var r=i(n),s=r.hasClass("open");if(o(),!s){"ontouchstart"in document.documentElement&&!r.closest(".navbar-nav").length&&t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click",o);var a={relatedTarget:this};if(r.trigger(e=t.Event("show.bs.dropdown",a)),e.isDefaultPrevented())return;n.trigger("focus").attr("aria-expanded","true"),r.toggleClass("open").trigger(t.Event("shown.bs.dropdown",a))}return!1}},n.prototype.keydown=function(n){if(/(38|40|27|32)/.test(n.which)&&!/input|textarea/i.test(n.target.tagName)){var o=t(this);if(n.preventDefault(),n.stopPropagation(),!o.is(".disabled, :disabled")){var r=i(o),s=r.hasClass("open");if(!s&&27!=n.which||s&&27==n.which)return 27==n.which&&r.find(e).trigger("focus"),o.trigger("click");var a=r.find(".dropdown-menu li:not(.disabled):visible a");if(a.length){var l=a.index(n.target);38==n.which&&l>0&&l--,40==n.which&&ldocument.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},e.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},e.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:i},l.prototype.init=function(e,n,i){if(this.enabled=!0,this.type=e,this.$element=t(n),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&t(document).find(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var o=this.options.trigger.split(" "),r=o.length;r--;){var s=o[r];if("click"==s)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=s){var a="hover"==s?"mouseenter":"focusin",l="hover"==s?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},l.prototype.getDefaults=function(){return l.DEFAULTS},l.prototype.getOptions=function(n){var i=this.$element.data();for(var o in i)i.hasOwnProperty(o)&&-1!==t.inArray(o,e)&&delete i[o];return(n=t.extend({},this.getDefaults(),i,n)).delay&&"number"==typeof n.delay&&(n.delay={show:n.delay,hide:n.delay}),n.sanitize&&(n.template=a(n.template,n.whiteList,n.sanitizeFn)),n},l.prototype.getDelegateOptions=function(){var e={},n=this.getDefaults();return this._options&&t.each(this._options,(function(t,i){n[t]!=i&&(e[t]=i)})),e},l.prototype.enter=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusin"==e.type?"focus":"hover"]=!0),n.tip().hasClass("in")||"in"==n.hoverState)n.hoverState="in";else{if(clearTimeout(n.timeout),n.hoverState="in",!n.options.delay||!n.options.delay.show)return n.show();n.timeout=setTimeout((function(){"in"==n.hoverState&&n.show()}),n.options.delay.show)}},l.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},l.prototype.leave=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusout"==e.type?"focus":"hover"]=!1),!n.isInStateTrue()){if(clearTimeout(n.timeout),n.hoverState="out",!n.options.delay||!n.options.delay.hide)return n.hide();n.timeout=setTimeout((function(){"out"==n.hoverState&&n.hide()}),n.options.delay.hide)}},l.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var n=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!n)return;var i=this,o=this.tip(),r=this.getUID(this.type);this.setContent(),o.attr("id",r),this.$element.attr("aria-describedby",r),this.options.animation&&o.addClass("fade");var s="function"==typeof this.options.placement?this.options.placement.call(this,o[0],this.$element[0]):this.options.placement,a=/\s?auto?\s?/i,u=a.test(s);u&&(s=s.replace(a,"")||"top"),o.detach().css({top:0,left:0,display:"block"}).addClass(s).data("bs."+this.type,this),this.options.container?o.appendTo(t(document).find(this.options.container)):o.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var c=this.getPosition(),f=o[0].offsetWidth,p=o[0].offsetHeight;if(u){var d=s,h=this.getPosition(this.$viewport);s="bottom"==s&&c.bottom+p>h.bottom?"top":"top"==s&&c.top-ph.width?"left":"left"==s&&c.left-fs.top+s.height&&(o.top=s.top+s.height-l)}else{var u=e.left-r,c=e.left+r+n;us.right&&(o.left=s.left+s.width-c)}return o},l.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},l.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},l.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},l.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},l.prototype.enable=function(){this.enabled=!0},l.prototype.disable=function(){this.enabled=!1},l.prototype.toggleEnabled=function(){this.enabled=!this.enabled},l.prototype.toggle=function(e){var n=this;e&&((n=t(e.currentTarget).data("bs."+this.type))||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n))),e?(n.inState.click=!n.inState.click,n.isInStateTrue()?n.enter(n):n.leave(n)):n.tip().hasClass("in")?n.leave(n):n.enter(n)},l.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide((function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null,t.$element=null}))},l.prototype.sanitizeHtml=function(t){return a(t,this.options.whiteList,this.options.sanitizeFn)};var u=t.fn.tooltip;t.fn.tooltip=function(e){return this.each((function(){var n=t(this),i=n.data("bs.tooltip"),o="object"==typeof e&&e;!i&&/destroy|hide/.test(e)||(i||n.data("bs.tooltip",i=new l(this,o)),"string"==typeof e&&i[e]())}))},t.fn.tooltip.Constructor=l,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=u,this}}(jQuery),function(t){"use strict";var e=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");e.VERSION="3.4.1",e.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),(e.prototype=t.extend({},t.fn.tooltip.Constructor.prototype)).constructor=e,e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();if(this.options.html){var i=typeof n;this.options.sanitize&&(e=this.sanitizeHtml(e),"string"===i&&(n=this.sanitizeHtml(n))),t.find(".popover-title").html(e),t.find(".popover-content").children().detach().end()["string"===i?"html":"append"](n)}else t.find(".popover-title").text(e),t.find(".popover-content").children().detach().end().text(n);t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},e.prototype.hasContent=function(){return this.getTitle()||this.getContent()},e.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var n=t.fn.popover;t.fn.popover=function(n){return this.each((function(){var i=t(this),o=i.data("bs.popover"),r="object"==typeof n&&n;!o&&/destroy|hide/.test(n)||(o||i.data("bs.popover",o=new e(this,r)),"string"==typeof n&&o[n]())}))},t.fn.popover.Constructor=e,t.fn.popover.noConflict=function(){return t.fn.popover=n,this}}(jQuery),function(t){"use strict";function e(n,i){this.$body=t(document.body),this.$scrollElement=t(n).is(document.body)?t(window):t(n),this.options=t.extend({},e.DEFAULTS,i),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function n(n){return this.each((function(){var i=t(this),o=i.data("bs.scrollspy"),r="object"==typeof n&&n;o||i.data("bs.scrollspy",o=new e(this,r)),"string"==typeof n&&o[n]()}))}e.VERSION="3.4.1",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e=this,n="offset",i=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(n="position",i=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map((function(){var e=t(this),o=e.data("target")||e.attr("href"),r=/^#./.test(o)&&t(o);return r&&r.length&&r.is(":visible")&&[[r[n]().top+i,o]]||null})).sort((function(t,e){return t[0]-e[0]})).each((function(){e.offsets.push(this[0]),e.targets.push(this[1])}))},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),i=this.options.offset+n-this.$scrollElement.height(),o=this.offsets,r=this.targets,s=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),e>=i)return s!=(t=r[r.length-1])&&this.activate(t);if(s&&e=o[t]&&(void 0===o[t+1]||e .active"),s=o&&t.support.transition&&(r.length&&r.hasClass("fade")||!!i.find("> .fade").length);function a(){r.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),n.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),s?(n[0].offsetWidth,n.addClass("in")):n.removeClass("fade"),n.parent(".dropdown-menu").length&&n.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),o&&o()}r.length&&s?r.one("bsTransitionEnd",a).emulateTransitionEnd(e.TRANSITION_DURATION):a(),r.removeClass("in")};var i=t.fn.tab;t.fn.tab=n,t.fn.tab.Constructor=e,t.fn.tab.noConflict=function(){return t.fn.tab=i,this};var o=function(e){e.preventDefault(),n.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',o).on("click.bs.tab.data-api",'[data-toggle="pill"]',o)}(jQuery),function(t){"use strict";var e=function(n,i){this.options=t.extend({},e.DEFAULTS,i);var o=this.options.target===e.DEFAULTS.target?t(this.options.target):t(document).find(this.options.target);this.$target=o.on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(n),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};function n(n){return this.each((function(){var i=t(this),o=i.data("bs.affix"),r="object"==typeof n&&n;o||i.data("bs.affix",o=new e(this,r)),"string"==typeof n&&o[n]()}))}e.VERSION="3.4.1",e.RESET="affix affix-top affix-bottom",e.DEFAULTS={offset:0,target:window},e.prototype.getState=function(t,e,n,i){var o=this.$target.scrollTop(),r=this.$element.offset(),s=this.$target.height();if(null!=n&&"top"==this.affixed)return o=t-i&&"bottom"},e.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(e.RESET).addClass("affix");var t=this.$target.scrollTop(),n=this.$element.offset();return this.pinnedOffset=n.top-t},e.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},e.prototype.checkPosition=function(){if(this.$element.is(":visible")){var n=this.$element.height(),i=this.options.offset,o=i.top,r=i.bottom,s=Math.max(t(document).height(),t(document.body).height());"object"!=typeof i&&(r=o=i),"function"==typeof o&&(o=i.top(this.$element)),"function"==typeof r&&(r=i.bottom(this.$element));var a=this.getState(s,n,o,r);if(this.affixed!=a){null!=this.unpin&&this.$element.css("top","");var l="affix"+(a?"-"+a:""),u=t.Event(l+".bs.affix");if(this.$element.trigger(u),u.isDefaultPrevented())return;this.affixed=a,this.unpin="bottom"==a?this.getPinnedOffset():null,this.$element.removeClass(e.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==a&&this.$element.offset({top:s-n-r})}};var i=t.fn.affix;t.fn.affix=n,t.fn.affix.Constructor=e,t.fn.affix.noConflict=function(){return t.fn.affix=i,this},t(window).on("load",(function(){t('[data-spy="affix"]').each((function(){var e=t(this),i=e.data();i.offset=i.offset||{},null!=i.offsetBottom&&(i.offset.bottom=i.offsetBottom),null!=i.offsetTop&&(i.offset.top=i.offsetTop),n.call(e,i)}))}))}(jQuery)},9755:function(t,e){var n;!function(e,n){"use strict";"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:this,(function(i,o){"use strict";var r=[],s=Object.getPrototypeOf,a=r.slice,l=r.flat?function(t){return r.flat.call(t)}:function(t){return r.concat.apply([],t)},u=r.push,c=r.indexOf,f={},p=f.toString,d=f.hasOwnProperty,h=d.toString,g=h.call(Object),v={},m=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType&&"function"!=typeof t.item},y=function(t){return null!=t&&t===t.window},b=i.document,x={type:!0,src:!0,nonce:!0,noModule:!0};function w(t,e,n){var i,o,r=(n=n||b).createElement("script");if(r.text=t,e)for(i in x)(o=e[i]||e.getAttribute&&e.getAttribute(i))&&r.setAttribute(i,o);n.head.appendChild(r).parentNode.removeChild(r)}function T(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?f[p.call(t)]||"object":typeof t}var C="3.6.1",E=function(t,e){return new E.fn.init(t,e)};function S(t){var e=!!t&&"length"in t&&t.length,n=T(t);return!m(t)&&!y(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}E.fn=E.prototype={jquery:C,constructor:E,length:0,toArray:function(){return a.call(this)},get:function(t){return null==t?a.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=E.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return E.each(this,t)},map:function(t){return this.pushStack(E.map(this,(function(e,n){return t.call(e,n,e)})))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(E.grep(this,(function(t,e){return(e+1)%2})))},odd:function(){return this.pushStack(E.grep(this,(function(t,e){return e%2})))},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n+~]|"+H+")"+H+"*"),z=new RegExp(H+"|>"),V=new RegExp(M),Q=new RegExp("^"+P+"$"),X={ID:new RegExp("^#("+P+")"),CLASS:new RegExp("^\\.("+P+")"),TAG:new RegExp("^("+P+"|[*])"),ATTR:new RegExp("^"+F),PSEUDO:new RegExp("^"+M),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+H+"*(even|odd|(([+-]|)(\\d*)n|)"+H+"*(?:([+-]|)"+H+"*(\\d+)|))"+H+"*\\)|)","i"),bool:new RegExp("^(?:"+q+")$","i"),needsContext:new RegExp("^"+H+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+H+"*((?:-\\d)?\\d*)"+H+"*\\)|)(?=[^-]|$)","i")},G=/HTML$/i,Y=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tt=/[+~]/,et=new RegExp("\\\\[\\da-fA-F]{1,6}"+H+"?|\\\\([^\\r\\n\\f])","g"),nt=function(t,e){var n="0x"+t.slice(1)-65536;return e||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},it=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ot=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},rt=function(){p()},st=xt((function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{I.apply(N=L.call(w.childNodes),w.childNodes),N[w.childNodes.length].nodeType}catch(t){I={apply:N.length?function(t,e){O.apply(t,L.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}function at(t,e,i,o){var r,a,u,c,f,h,m,y=e&&e.ownerDocument,w=e?e.nodeType:9;if(i=i||[],"string"!=typeof t||!t||1!==w&&9!==w&&11!==w)return i;if(!o&&(p(e),e=e||d,g)){if(11!==w&&(f=Z.exec(t)))if(r=f[1]){if(9===w){if(!(u=e.getElementById(r)))return i;if(u.id===r)return i.push(u),i}else if(y&&(u=y.getElementById(r))&&b(e,u)&&u.id===r)return i.push(u),i}else{if(f[2])return I.apply(i,e.getElementsByTagName(t)),i;if((r=f[3])&&n.getElementsByClassName&&e.getElementsByClassName)return I.apply(i,e.getElementsByClassName(r)),i}if(n.qsa&&!k[t+" "]&&(!v||!v.test(t))&&(1!==w||"object"!==e.nodeName.toLowerCase())){if(m=t,y=e,1===w&&(z.test(t)||_.test(t))){for((y=tt.test(t)&&mt(e.parentNode)||e)===e&&n.scope||((c=e.getAttribute("id"))?c=c.replace(it,ot):e.setAttribute("id",c=x)),a=(h=s(t)).length;a--;)h[a]=(c?"#"+c:":scope")+" "+bt(h[a]);m=h.join(",")}try{return I.apply(i,y.querySelectorAll(m)),i}catch(e){k(t,!0)}finally{c===x&&e.removeAttribute("id")}}}return l(t.replace(B,"$1"),e,i,o)}function lt(){var t=[];return function e(n,o){return t.push(n+" ")>i.cacheLength&&delete e[t.shift()],e[n+" "]=o}}function ut(t){return t[x]=!0,t}function ct(t){var e=d.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ft(t,e){for(var n=t.split("|"),o=n.length;o--;)i.attrHandle[n[o]]=e}function pt(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function dt(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function ht(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function gt(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&st(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function vt(t){return ut((function(e){return e=+e,ut((function(n,i){for(var o,r=t([],n.length,e),s=r.length;s--;)n[o=r[s]]&&(n[o]=!(i[o]=n[o]))}))}))}function mt(t){return t&&void 0!==t.getElementsByTagName&&t}for(e in n=at.support={},r=at.isXML=function(t){var e=t&&t.namespaceURI,n=t&&(t.ownerDocument||t).documentElement;return!G.test(e||n&&n.nodeName||"HTML")},p=at.setDocument=function(t){var e,o,s=t?t.ownerDocument||t:w;return s!=d&&9===s.nodeType&&s.documentElement?(h=(d=s).documentElement,g=!r(d),w!=d&&(o=d.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",rt,!1):o.attachEvent&&o.attachEvent("onunload",rt)),n.scope=ct((function(t){return h.appendChild(t).appendChild(d.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length})),n.attributes=ct((function(t){return t.className="i",!t.getAttribute("className")})),n.getElementsByTagName=ct((function(t){return t.appendChild(d.createComment("")),!t.getElementsByTagName("*").length})),n.getElementsByClassName=K.test(d.getElementsByClassName),n.getById=ct((function(t){return h.appendChild(t).id=x,!d.getElementsByName||!d.getElementsByName(x).length})),n.getById?(i.filter.ID=function(t){var e=t.replace(et,nt);return function(t){return t.getAttribute("id")===e}},i.find.ID=function(t,e){if(void 0!==e.getElementById&&g){var n=e.getElementById(t);return n?[n]:[]}}):(i.filter.ID=function(t){var e=t.replace(et,nt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},i.find.ID=function(t,e){if(void 0!==e.getElementById&&g){var n,i,o,r=e.getElementById(t);if(r){if((n=r.getAttributeNode("id"))&&n.value===t)return[r];for(o=e.getElementsByName(t),i=0;r=o[i++];)if((n=r.getAttributeNode("id"))&&n.value===t)return[r]}return[]}}),i.find.TAG=n.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):n.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],o=0,r=e.getElementsByTagName(t);if("*"===t){for(;n=r[o++];)1===n.nodeType&&i.push(n);return i}return r},i.find.CLASS=n.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&g)return e.getElementsByClassName(t)},m=[],v=[],(n.qsa=K.test(d.querySelectorAll))&&(ct((function(t){var e;h.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+H+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||v.push("\\["+H+"*(?:value|"+q+")"),t.querySelectorAll("[id~="+x+"-]").length||v.push("~="),(e=d.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||v.push("\\["+H+"*name"+H+"*="+H+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||v.push(":checked"),t.querySelectorAll("a#"+x+"+*").length||v.push(".#.+[+~]"),t.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")})),ct((function(t){t.innerHTML="";var e=d.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&v.push("name"+H+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),h.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),v.push(",.*:")}))),(n.matchesSelector=K.test(y=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ct((function(t){n.disconnectedMatch=y.call(t,"*"),y.call(t,"[s!='']:x"),m.push("!=",M)})),v=v.length&&new RegExp(v.join("|")),m=m.length&&new RegExp(m.join("|")),e=K.test(h.compareDocumentPosition),b=e||K.test(h.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},A=e?function(t,e){if(t===e)return f=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(1&(i=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!n.sortDetached&&e.compareDocumentPosition(t)===i?t==d||t.ownerDocument==w&&b(w,t)?-1:e==d||e.ownerDocument==w&&b(w,e)?1:c?R(c,t)-R(c,e):0:4&i?-1:1)}:function(t,e){if(t===e)return f=!0,0;var n,i=0,o=t.parentNode,r=e.parentNode,s=[t],a=[e];if(!o||!r)return t==d?-1:e==d?1:o?-1:r?1:c?R(c,t)-R(c,e):0;if(o===r)return pt(t,e);for(n=t;n=n.parentNode;)s.unshift(n);for(n=e;n=n.parentNode;)a.unshift(n);for(;s[i]===a[i];)i++;return i?pt(s[i],a[i]):s[i]==w?-1:a[i]==w?1:0},d):d},at.matches=function(t,e){return at(t,null,null,e)},at.matchesSelector=function(t,e){if(p(t),n.matchesSelector&&g&&!k[e+" "]&&(!m||!m.test(e))&&(!v||!v.test(e)))try{var i=y.call(t,e);if(i||n.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){k(e,!0)}return at(e,d,null,[t]).length>0},at.contains=function(t,e){return(t.ownerDocument||t)!=d&&p(t),b(t,e)},at.attr=function(t,e){(t.ownerDocument||t)!=d&&p(t);var o=i.attrHandle[e.toLowerCase()],r=o&&D.call(i.attrHandle,e.toLowerCase())?o(t,e,!g):void 0;return void 0!==r?r:n.attributes||!g?t.getAttribute(e):(r=t.getAttributeNode(e))&&r.specified?r.value:null},at.escape=function(t){return(t+"").replace(it,ot)},at.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},at.uniqueSort=function(t){var e,i=[],o=0,r=0;if(f=!n.detectDuplicates,c=!n.sortStable&&t.slice(0),t.sort(A),f){for(;e=t[r++];)e===t[r]&&(o=i.push(r));for(;o--;)t.splice(i[o],1)}return c=null,t},o=at.getText=function(t){var e,n="",i=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=o(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[i++];)n+=o(e);return n},i=at.selectors={cacheLength:50,createPseudo:ut,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(et,nt),t[3]=(t[3]||t[4]||t[5]||"").replace(et,nt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||at.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&at.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return X.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&V.test(n)&&(e=s(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(et,nt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=E[t+" "];return e||(e=new RegExp("(^|"+H+")"+t+"("+H+"|$)"))&&E(t,(function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")}))},ATTR:function(t,e,n){return function(i){var o=at.attr(i,t);return null==o?"!="===e:!e||(o+="","="===e?o===n:"!="===e?o!==n:"^="===e?n&&0===o.indexOf(n):"*="===e?n&&o.indexOf(n)>-1:"$="===e?n&&o.slice(-n.length)===n:"~="===e?(" "+o.replace(W," ")+" ").indexOf(n)>-1:"|="===e&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,i,o){var r="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===i&&0===o?function(t){return!!t.parentNode}:function(e,n,l){var u,c,f,p,d,h,g=r!==s?"nextSibling":"previousSibling",v=e.parentNode,m=a&&e.nodeName.toLowerCase(),y=!l&&!a,b=!1;if(v){if(r){for(;g;){for(p=e;p=p[g];)if(a?p.nodeName.toLowerCase()===m:1===p.nodeType)return!1;h=g="only"===t&&!h&&"nextSibling"}return!0}if(h=[s?v.firstChild:v.lastChild],s&&y){for(b=(d=(u=(c=(f=(p=v)[x]||(p[x]={}))[p.uniqueID]||(f[p.uniqueID]={}))[t]||[])[0]===T&&u[1])&&u[2],p=d&&v.childNodes[d];p=++d&&p&&p[g]||(b=d=0)||h.pop();)if(1===p.nodeType&&++b&&p===e){c[t]=[T,d,b];break}}else if(y&&(b=d=(u=(c=(f=(p=e)[x]||(p[x]={}))[p.uniqueID]||(f[p.uniqueID]={}))[t]||[])[0]===T&&u[1]),!1===b)for(;(p=++d&&p&&p[g]||(b=d=0)||h.pop())&&((a?p.nodeName.toLowerCase()!==m:1!==p.nodeType)||!++b||(y&&((c=(f=p[x]||(p[x]={}))[p.uniqueID]||(f[p.uniqueID]={}))[t]=[T,b]),p!==e)););return(b-=o)===i||b%i==0&&b/i>=0}}},PSEUDO:function(t,e){var n,o=i.pseudos[t]||i.setFilters[t.toLowerCase()]||at.error("unsupported pseudo: "+t);return o[x]?o(e):o.length>1?(n=[t,t,"",e],i.setFilters.hasOwnProperty(t.toLowerCase())?ut((function(t,n){for(var i,r=o(t,e),s=r.length;s--;)t[i=R(t,r[s])]=!(n[i]=r[s])})):function(t){return o(t,0,n)}):o}},pseudos:{not:ut((function(t){var e=[],n=[],i=a(t.replace(B,"$1"));return i[x]?ut((function(t,e,n,o){for(var r,s=i(t,null,o,[]),a=t.length;a--;)(r=s[a])&&(t[a]=!(e[a]=r))})):function(t,o,r){return e[0]=t,i(e,null,r,n),e[0]=null,!n.pop()}})),has:ut((function(t){return function(e){return at(t,e).length>0}})),contains:ut((function(t){return t=t.replace(et,nt),function(e){return(e.textContent||o(e)).indexOf(t)>-1}})),lang:ut((function(t){return Q.test(t||"")||at.error("unsupported lang: "+t),t=t.replace(et,nt).toLowerCase(),function(e){var n;do{if(n=g?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}})),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===h},focus:function(t){return t===d.activeElement&&(!d.hasFocus||d.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:gt(!1),disabled:gt(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!i.pseudos.empty(t)},header:function(t){return J.test(t.nodeName)},input:function(t){return Y.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:vt((function(){return[0]})),last:vt((function(t,e){return[e-1]})),eq:vt((function(t,e,n){return[n<0?n+e:n]})),even:vt((function(t,e){for(var n=0;ne?e:n;--i>=0;)t.push(i);return t})),gt:vt((function(t,e,n){for(var i=n<0?n+e:n;++i1?function(e,n,i){for(var o=t.length;o--;)if(!t[o](e,n,i))return!1;return!0}:t[0]}function Tt(t,e,n,i,o){for(var r,s=[],a=0,l=t.length,u=null!=e;a-1&&(r[u]=!(s[u]=f))}}else m=Tt(m===s?m.splice(h,m.length):m),o?o(null,s,m,l):I.apply(s,m)}))}function Et(t){for(var e,n,o,r=t.length,s=i.relative[t[0].type],a=s||i.relative[" "],l=s?1:0,c=xt((function(t){return t===e}),a,!0),f=xt((function(t){return R(e,t)>-1}),a,!0),p=[function(t,n,i){var o=!s&&(i||n!==u)||((e=n).nodeType?c(t,n,i):f(t,n,i));return e=null,o}];l1&&wt(p),l>1&&bt(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(B,"$1"),n,l0,o=t.length>0,r=function(r,s,a,l,c){var f,h,v,m=0,y="0",b=r&&[],x=[],w=u,C=r||o&&i.find.TAG("*",c),E=T+=null==w?1:Math.random()||.1,S=C.length;for(c&&(u=s==d||s||c);y!==S&&null!=(f=C[y]);y++){if(o&&f){for(h=0,s||f.ownerDocument==d||(p(f),a=!g);v=t[h++];)if(v(f,s||d,a)){l.push(f);break}c&&(T=E)}n&&((f=!v&&f)&&m--,r&&b.push(f))}if(m+=y,n&&y!==m){for(h=0;v=e[h++];)v(b,x,s,a);if(r){if(m>0)for(;y--;)b[y]||x[y]||(x[y]=j.call(l));x=Tt(x)}I.apply(l,x),c&&!r&&x.length>0&&m+e.length>1&&at.uniqueSort(l)}return c&&(T=E,u=w),b};return n?ut(r):r}(r,o)),a.selector=t}return a},l=at.select=function(t,e,n,o){var r,l,u,c,f,p="function"==typeof t&&t,d=!o&&s(t=p.selector||t);if(n=n||[],1===d.length){if((l=d[0]=d[0].slice(0)).length>2&&"ID"===(u=l[0]).type&&9===e.nodeType&&g&&i.relative[l[1].type]){if(!(e=(i.find.ID(u.matches[0].replace(et,nt),e)||[])[0]))return n;p&&(e=e.parentNode),t=t.slice(l.shift().value.length)}for(r=X.needsContext.test(t)?0:l.length;r--&&(u=l[r],!i.relative[c=u.type]);)if((f=i.find[c])&&(o=f(u.matches[0].replace(et,nt),tt.test(l[0].type)&&mt(e.parentNode)||e))){if(l.splice(r,1),!(t=o.length&&bt(l)))return I.apply(n,o),n;break}}return(p||a(t,d))(o,e,!g,n,!e||tt.test(t)&&mt(e.parentNode)||e),n},n.sortStable=x.split("").sort(A).join("")===x,n.detectDuplicates=!!f,p(),n.sortDetached=ct((function(t){return 1&t.compareDocumentPosition(d.createElement("fieldset"))})),ct((function(t){return t.innerHTML="","#"===t.firstChild.getAttribute("href")}))||ft("type|href|height|width",(function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)})),n.attributes&&ct((function(t){return t.innerHTML="",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")}))||ft("value",(function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue})),ct((function(t){return null==t.getAttribute("disabled")}))||ft(q,(function(t,e,n){var i;if(!n)return!0===t[e]?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null})),at}(i);E.find=$,E.expr=$.selectors,E.expr[":"]=E.expr.pseudos,E.uniqueSort=E.unique=$.uniqueSort,E.text=$.getText,E.isXMLDoc=$.isXML,E.contains=$.contains,E.escapeSelector=$.escape;var k=function(t,e,n){for(var i=[],o=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(o&&E(t).is(n))break;i.push(t)}return i},A=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},D=E.expr.match.needsContext;function N(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var j=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function O(t,e,n){return m(e)?E.grep(t,(function(t,i){return!!e.call(t,i,t)!==n})):e.nodeType?E.grep(t,(function(t){return t===e!==n})):"string"!=typeof e?E.grep(t,(function(t){return c.call(e,t)>-1!==n})):E.filter(e,t,n)}E.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?E.find.matchesSelector(i,t)?[i]:[]:E.find.matches(t,E.grep(e,(function(t){return 1===t.nodeType})))},E.fn.extend({find:function(t){var e,n,i=this.length,o=this;if("string"!=typeof t)return this.pushStack(E(t).filter((function(){for(e=0;e1?E.uniqueSort(n):n},filter:function(t){return this.pushStack(O(this,t||[],!1))},not:function(t){return this.pushStack(O(this,t||[],!0))},is:function(t){return!!O(this,"string"==typeof t&&D.test(t)?E(t):t||[],!1).length}});var I,L=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(E.fn.init=function(t,e,n){var i,o;if(!t)return this;if(n=n||I,"string"==typeof t){if(!(i="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:L.exec(t))||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof E?e[0]:e,E.merge(this,E.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:b,!0)),j.test(i[1])&&E.isPlainObject(e))for(i in e)m(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return(o=b.getElementById(i[2]))&&(this[0]=o,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):m(t)?void 0!==n.ready?n.ready(t):t(E):E.makeArray(t,this)}).prototype=E.fn,I=E(b);var R=/^(?:parents|prev(?:Until|All))/,q={children:!0,contents:!0,next:!0,prev:!0};function H(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}E.fn.extend({has:function(t){var e=E(t,this),n=e.length;return this.filter((function(){for(var t=0;t-1:1===n.nodeType&&E.find.matchesSelector(n,t))){r.push(n);break}return this.pushStack(r.length>1?E.uniqueSort(r):r)},index:function(t){return t?"string"==typeof t?c.call(E(t),this[0]):c.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(E.uniqueSort(E.merge(this.get(),E(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),E.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return k(t,"parentNode")},parentsUntil:function(t,e,n){return k(t,"parentNode",n)},next:function(t){return H(t,"nextSibling")},prev:function(t){return H(t,"previousSibling")},nextAll:function(t){return k(t,"nextSibling")},prevAll:function(t){return k(t,"previousSibling")},nextUntil:function(t,e,n){return k(t,"nextSibling",n)},prevUntil:function(t,e,n){return k(t,"previousSibling",n)},siblings:function(t){return A((t.parentNode||{}).firstChild,t)},children:function(t){return A(t.firstChild)},contents:function(t){return null!=t.contentDocument&&s(t.contentDocument)?t.contentDocument:(N(t,"template")&&(t=t.content||t),E.merge([],t.childNodes))}},(function(t,e){E.fn[t]=function(n,i){var o=E.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(o=E.filter(i,o)),this.length>1&&(q[t]||E.uniqueSort(o),R.test(t)&&o.reverse()),this.pushStack(o)}}));var P=/[^\x20\t\r\n\f]+/g;function F(t){return t}function M(t){throw t}function W(t,e,n,i){var o;try{t&&m(o=t.promise)?o.call(t).done(e).fail(n):t&&m(o=t.then)?o.call(t,e,n):e.apply(void 0,[t].slice(i))}catch(t){n.apply(void 0,[t])}}E.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return E.each(t.match(P)||[],(function(t,n){e[n]=!0})),e}(t):E.extend({},t);var e,n,i,o,r=[],s=[],a=-1,l=function(){for(o=o||t.once,i=e=!0;s.length;a=-1)for(n=s.shift();++a-1;)r.splice(n,1),n<=a&&a--})),this},has:function(t){return t?E.inArray(t,r)>-1:r.length>0},empty:function(){return r&&(r=[]),this},disable:function(){return o=s=[],r=n="",this},disabled:function(){return!r},lock:function(){return o=s=[],n||e||(r=n=""),this},locked:function(){return!!o},fireWith:function(t,n){return o||(n=[t,(n=n||[]).slice?n.slice():n],s.push(n),e||l()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!i}};return u},E.extend({Deferred:function(t){var e=[["notify","progress",E.Callbacks("memory"),E.Callbacks("memory"),2],["resolve","done",E.Callbacks("once memory"),E.Callbacks("once memory"),0,"resolved"],["reject","fail",E.Callbacks("once memory"),E.Callbacks("once memory"),1,"rejected"]],n="pending",o={state:function(){return n},always:function(){return r.done(arguments).fail(arguments),this},catch:function(t){return o.then(null,t)},pipe:function(){var t=arguments;return E.Deferred((function(n){E.each(e,(function(e,i){var o=m(t[i[4]])&&t[i[4]];r[i[1]]((function(){var t=o&&o.apply(this,arguments);t&&m(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this,o?[t]:arguments)}))})),t=null})).promise()},then:function(t,n,o){var r=0;function s(t,e,n,o){return function(){var a=this,l=arguments,u=function(){var i,u;if(!(t=r&&(n!==M&&(a=void 0,l=[i]),e.rejectWith(a,l))}};t?c():(E.Deferred.getStackHook&&(c.stackTrace=E.Deferred.getStackHook()),i.setTimeout(c))}}return E.Deferred((function(i){e[0][3].add(s(0,i,m(o)?o:F,i.notifyWith)),e[1][3].add(s(0,i,m(t)?t:F)),e[2][3].add(s(0,i,m(n)?n:M))})).promise()},promise:function(t){return null!=t?E.extend(t,o):o}},r={};return E.each(e,(function(t,i){var s=i[2],a=i[5];o[i[1]]=s.add,a&&s.add((function(){n=a}),e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),s.add(i[3].fire),r[i[0]]=function(){return r[i[0]+"With"](this===r?void 0:this,arguments),this},r[i[0]+"With"]=s.fireWith})),o.promise(r),t&&t.call(r,r),r},when:function(t){var e=arguments.length,n=e,i=Array(n),o=a.call(arguments),r=E.Deferred(),s=function(t){return function(n){i[t]=this,o[t]=arguments.length>1?a.call(arguments):n,--e||r.resolveWith(i,o)}};if(e<=1&&(W(t,r.done(s(n)).resolve,r.reject,!e),"pending"===r.state()||m(o[n]&&o[n].then)))return r.then();for(;n--;)W(o[n],s(n),r.reject);return r.promise()}});var B=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;E.Deferred.exceptionHook=function(t,e){i.console&&i.console.warn&&t&&B.test(t.name)&&i.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},E.readyException=function(t){i.setTimeout((function(){throw t}))};var U=E.Deferred();function _(){b.removeEventListener("DOMContentLoaded",_),i.removeEventListener("load",_),E.ready()}E.fn.ready=function(t){return U.then(t).catch((function(t){E.readyException(t)})),this},E.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--E.readyWait:E.isReady)||(E.isReady=!0,!0!==t&&--E.readyWait>0||U.resolveWith(b,[E]))}}),E.ready.then=U.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?i.setTimeout(E.ready):(b.addEventListener("DOMContentLoaded",_),i.addEventListener("load",_));var z=function(t,e,n,i,o,r,s){var a=0,l=t.length,u=null==n;if("object"===T(n))for(a in o=!0,n)z(t,e,a,n[a],!0,r,s);else if(void 0!==i&&(o=!0,m(i)||(s=!0),u&&(s?(e.call(t,i),e=null):(u=e,e=function(t,e,n){return u.call(E(t),n)})),e))for(;a1,null,!0)},removeData:function(t){return this.each((function(){Z.remove(this,t)}))}}),E.extend({queue:function(t,e,n){var i;if(t)return e=(e||"fx")+"queue",i=K.get(t,e),n&&(!i||Array.isArray(n)?i=K.access(t,e,E.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=E.queue(t,e),i=n.length,o=n.shift(),r=E._queueHooks(t,e);"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===e&&n.unshift("inprogress"),delete r.stop,o.call(t,(function(){E.dequeue(t,e)}),r)),!i&&r&&r.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return K.get(t,n)||K.access(t,n,{empty:E.Callbacks("once memory").add((function(){K.remove(t,[e+"queue",n])}))})}}),E.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length\x20\t\r\n\f]*)/i,yt=/^$|^module$|\/(?:java|ecma)script/i;ht=b.createDocumentFragment().appendChild(b.createElement("div")),(gt=b.createElement("input")).setAttribute("type","radio"),gt.setAttribute("checked","checked"),gt.setAttribute("name","t"),ht.appendChild(gt),v.checkClone=ht.cloneNode(!0).cloneNode(!0).lastChild.checked,ht.innerHTML="",v.noCloneChecked=!!ht.cloneNode(!0).lastChild.defaultValue,ht.innerHTML="",v.option=!!ht.lastChild;var bt={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function xt(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&N(t,e)?E.merge([t],n):n}function wt(t,e){for(var n=0,i=t.length;n",""]);var Tt=/<|&#?\w+;/;function Ct(t,e,n,i,o){for(var r,s,a,l,u,c,f=e.createDocumentFragment(),p=[],d=0,h=t.length;d-1)o&&o.push(r);else if(u=at(r),s=xt(f.appendChild(r),"script"),u&&wt(s),n)for(c=0;r=s[c++];)yt.test(r.type||"")&&n.push(r);return f}var Et=/^([^.]*)(?:\.(.+)|)/;function St(){return!0}function $t(){return!1}function kt(t,e){return t===function(){try{return b.activeElement}catch(t){}}()==("focus"===e)}function At(t,e,n,i,o,r){var s,a;if("object"==typeof e){for(a in"string"!=typeof n&&(i=i||n,n=void 0),e)At(t,a,n,i,e[a],r);return t}if(null==i&&null==o?(o=n,i=n=void 0):null==o&&("string"==typeof n?(o=i,i=void 0):(o=i,i=n,n=void 0)),!1===o)o=$t;else if(!o)return t;return 1===r&&(s=o,o=function(t){return E().off(t),s.apply(this,arguments)},o.guid=s.guid||(s.guid=E.guid++)),t.each((function(){E.event.add(this,e,o,i,n)}))}function Dt(t,e,n){n?(K.set(t,e,!1),E.event.add(t,e,{namespace:!1,handler:function(t){var i,o,r=K.get(this,e);if(1&t.isTrigger&&this[e]){if(r.length)(E.event.special[e]||{}).delegateType&&t.stopPropagation();else if(r=a.call(arguments),K.set(this,e,r),i=n(this,e),this[e](),r!==(o=K.get(this,e))||i?K.set(this,e,!1):o={},r!==o)return t.stopImmediatePropagation(),t.preventDefault(),o&&o.value}else r.length&&(K.set(this,e,{value:E.event.trigger(E.extend(r[0],E.Event.prototype),r.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===K.get(t,e)&&E.event.add(t,e,St)}E.event={global:{},add:function(t,e,n,i,o){var r,s,a,l,u,c,f,p,d,h,g,v=K.get(t);if(Y(t))for(n.handler&&(n=(r=n).handler,o=r.selector),o&&E.find.matchesSelector(st,o),n.guid||(n.guid=E.guid++),(l=v.events)||(l=v.events=Object.create(null)),(s=v.handle)||(s=v.handle=function(e){return void 0!==E&&E.event.triggered!==e.type?E.event.dispatch.apply(t,arguments):void 0}),u=(e=(e||"").match(P)||[""]).length;u--;)d=g=(a=Et.exec(e[u])||[])[1],h=(a[2]||"").split(".").sort(),d&&(f=E.event.special[d]||{},d=(o?f.delegateType:f.bindType)||d,f=E.event.special[d]||{},c=E.extend({type:d,origType:g,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&E.expr.match.needsContext.test(o),namespace:h.join(".")},r),(p=l[d])||((p=l[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,i,h,s)||t.addEventListener&&t.addEventListener(d,s)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),o?p.splice(p.delegateCount++,0,c):p.push(c),E.event.global[d]=!0)},remove:function(t,e,n,i,o){var r,s,a,l,u,c,f,p,d,h,g,v=K.hasData(t)&&K.get(t);if(v&&(l=v.events)){for(u=(e=(e||"").match(P)||[""]).length;u--;)if(d=g=(a=Et.exec(e[u])||[])[1],h=(a[2]||"").split(".").sort(),d){for(f=E.event.special[d]||{},p=l[d=(i?f.delegateType:f.bindType)||d]||[],a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=r=p.length;r--;)c=p[r],!o&&g!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||i&&i!==c.selector&&("**"!==i||!c.selector)||(p.splice(r,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(t,c));s&&!p.length&&(f.teardown&&!1!==f.teardown.call(t,h,v.handle)||E.removeEvent(t,d,v.handle),delete l[d])}else for(d in l)E.event.remove(t,d+e[u],n,i,!0);E.isEmptyObject(l)&&K.remove(t,"handle events")}},dispatch:function(t){var e,n,i,o,r,s,a=new Array(arguments.length),l=E.event.fix(t),u=(K.get(this,"events")||Object.create(null))[l.type]||[],c=E.event.special[l.type]||{};for(a[0]=l,e=1;e=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==t.type||!0!==u.disabled)){for(r=[],s={},n=0;n-1:E.find(o,this,null,[u]).length),s[o]&&r.push(i);r.length&&a.push({elem:u,handlers:r})}return u=this,l\s*$/g;function It(t,e){return N(t,"table")&&N(11!==e.nodeType?e:e.firstChild,"tr")&&E(t).children("tbody")[0]||t}function Lt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Rt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function qt(t,e){var n,i,o,r,s,a;if(1===e.nodeType){if(K.hasData(t)&&(a=K.get(t).events))for(o in K.remove(e,"handle events"),a)for(n=0,i=a[o].length;n1&&"string"==typeof h&&!v.checkClone&&jt.test(h))return t.each((function(o){var r=t.eq(o);g&&(e[0]=h.call(this,o,r.html())),Pt(r,e,n,i)}));if(p&&(r=(o=Ct(e,t[0].ownerDocument,!1,t,i)).firstChild,1===o.childNodes.length&&(o=r),r||i)){for(a=(s=E.map(xt(o,"script"),Lt)).length;f0&&wt(s,!l&&xt(t,"script")),a},cleanData:function(t){for(var e,n,i,o=E.event.special,r=0;void 0!==(n=t[r]);r++)if(Y(n)){if(e=n[K.expando]){if(e.events)for(i in e.events)o[i]?E.event.remove(n,i):E.removeEvent(n,i,e.handle);n[K.expando]=void 0}n[Z.expando]&&(n[Z.expando]=void 0)}}}),E.fn.extend({detach:function(t){return Ft(this,t,!0)},remove:function(t){return Ft(this,t)},text:function(t){return z(this,(function(t){return void 0===t?E.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)}))}),null,t,arguments.length)},append:function(){return Pt(this,arguments,(function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||It(this,t).appendChild(t)}))},prepend:function(){return Pt(this,arguments,(function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=It(this,t);e.insertBefore(t,e.firstChild)}}))},before:function(){return Pt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this)}))},after:function(){return Pt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)}))},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(E.cleanData(xt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map((function(){return E.clone(this,t,e)}))},html:function(t){return z(this,(function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Nt.test(t)&&!bt[(mt.exec(t)||["",""])[1].toLowerCase()]){t=E.htmlPrefilter(t);try{for(;n=0&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-r-l-a-.5))||0),l}function oe(t,e,n){var i=Bt(t),o=(!v.boxSizingReliable()||n)&&"border-box"===E.css(t,"boxSizing",!1,i),r=o,s=Qt(t,e,i),a="offset"+e[0].toUpperCase()+e.slice(1);if(Mt.test(s)){if(!n)return s;s="auto"}return(!v.boxSizingReliable()&&o||!v.reliableTrDimensions()&&N(t,"tr")||"auto"===s||!parseFloat(s)&&"inline"===E.css(t,"display",!1,i))&&t.getClientRects().length&&(o="border-box"===E.css(t,"boxSizing",!1,i),(r=a in t)&&(s=t[a])),(s=parseFloat(s)||0)+ie(t,e,n||(o?"border":"content"),r,i,s)+"px"}function re(t,e,n,i,o){return new re.prototype.init(t,e,n,i,o)}E.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=Qt(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var o,r,s,a=G(e),l=Wt.test(e),u=t.style;if(l||(e=Kt(a)),s=E.cssHooks[e]||E.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(o=s.get(t,!1,i))?o:u[e];"string"===(r=typeof n)&&(o=ot.exec(n))&&o[1]&&(n=ct(t,e,o),r="number"),null!=n&&n==n&&("number"!==r||l||(n+=o&&o[3]||(E.cssNumber[a]?"":"px")),v.clearCloneStyle||""!==n||0!==e.indexOf("background")||(u[e]="inherit"),s&&"set"in s&&void 0===(n=s.set(t,n,i))||(l?u.setProperty(e,n):u[e]=n))}},css:function(t,e,n,i){var o,r,s,a=G(e);return Wt.test(e)||(e=Kt(a)),(s=E.cssHooks[e]||E.cssHooks[a])&&"get"in s&&(o=s.get(t,!0,n)),void 0===o&&(o=Qt(t,e,i)),"normal"===o&&e in ee&&(o=ee[e]),""===n||n?(r=parseFloat(o),!0===n||isFinite(r)?r||0:o):o}}),E.each(["height","width"],(function(t,e){E.cssHooks[e]={get:function(t,n,i){if(n)return!Zt.test(E.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?oe(t,e,i):Ut(t,te,(function(){return oe(t,e,i)}))},set:function(t,n,i){var o,r=Bt(t),s=!v.scrollboxSize()&&"absolute"===r.position,a=(s||i)&&"border-box"===E.css(t,"boxSizing",!1,r),l=i?ie(t,e,i,a,r):0;return a&&s&&(l-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(r[e])-ie(t,e,"border",!1,r)-.5)),l&&(o=ot.exec(n))&&"px"!==(o[3]||"px")&&(t.style[e]=n,n=E.css(t,e)),ne(0,n,l)}}})),E.cssHooks.marginLeft=Xt(v.reliableMarginLeft,(function(t,e){if(e)return(parseFloat(Qt(t,"marginLeft"))||t.getBoundingClientRect().left-Ut(t,{marginLeft:0},(function(){return t.getBoundingClientRect().left})))+"px"})),E.each({margin:"",padding:"",border:"Width"},(function(t,e){E.cssHooks[t+e]={expand:function(n){for(var i=0,o={},r="string"==typeof n?n.split(" "):[n];i<4;i++)o[t+rt[i]+e]=r[i]||r[i-2]||r[0];return o}},"margin"!==t&&(E.cssHooks[t+e].set=ne)})),E.fn.extend({css:function(t,e){return z(this,(function(t,e,n){var i,o,r={},s=0;if(Array.isArray(e)){for(i=Bt(t),o=e.length;s1)}}),E.Tween=re,re.prototype={constructor:re,init:function(t,e,n,i,o,r){this.elem=t,this.prop=n,this.easing=o||E.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=r||(E.cssNumber[n]?"":"px")},cur:function(){var t=re.propHooks[this.prop];return t&&t.get?t.get(this):re.propHooks._default.get(this)},run:function(t){var e,n=re.propHooks[this.prop];return this.options.duration?this.pos=e=E.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):re.propHooks._default.set(this),this}},re.prototype.init.prototype=re.prototype,re.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=E.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){E.fx.step[t.prop]?E.fx.step[t.prop](t):1!==t.elem.nodeType||!E.cssHooks[t.prop]&&null==t.elem.style[Kt(t.prop)]?t.elem[t.prop]=t.now:E.style(t.elem,t.prop,t.now+t.unit)}}},re.propHooks.scrollTop=re.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},E.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},E.fx=re.prototype.init,E.fx.step={};var se,ae,le=/^(?:toggle|show|hide)$/,ue=/queueHooks$/;function ce(){ae&&(!1===b.hidden&&i.requestAnimationFrame?i.requestAnimationFrame(ce):i.setTimeout(ce,E.fx.interval),E.fx.tick())}function fe(){return i.setTimeout((function(){se=void 0})),se=Date.now()}function pe(t,e){var n,i=0,o={height:t};for(e=e?1:0;i<4;i+=2-e)o["margin"+(n=rt[i])]=o["padding"+n]=t;return e&&(o.opacity=o.width=t),o}function de(t,e,n){for(var i,o=(he.tweeners[e]||[]).concat(he.tweeners["*"]),r=0,s=o.length;r1)},removeAttr:function(t){return this.each((function(){E.removeAttr(this,t)}))}}),E.extend({attr:function(t,e,n){var i,o,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return void 0===t.getAttribute?E.prop(t,e,n):(1===r&&E.isXMLDoc(t)||(o=E.attrHooks[e.toLowerCase()]||(E.expr.match.bool.test(e)?ge:void 0)),void 0!==n?null===n?void E.removeAttr(t,e):o&&"set"in o&&void 0!==(i=o.set(t,n,e))?i:(t.setAttribute(e,n+""),n):o&&"get"in o&&null!==(i=o.get(t,e))?i:null==(i=E.find.attr(t,e))?void 0:i)},attrHooks:{type:{set:function(t,e){if(!v.radioValue&&"radio"===e&&N(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,i=0,o=e&&e.match(P);if(o&&1===t.nodeType)for(;n=o[i++];)t.removeAttribute(n)}}),ge={set:function(t,e,n){return!1===e?E.removeAttr(t,n):t.setAttribute(n,n),n}},E.each(E.expr.match.bool.source.match(/\w+/g),(function(t,e){var n=ve[e]||E.find.attr;ve[e]=function(t,e,i){var o,r,s=e.toLowerCase();return i||(r=ve[s],ve[s]=o,o=null!=n(t,e,i)?s:null,ve[s]=r),o}}));var me=/^(?:input|select|textarea|button)$/i,ye=/^(?:a|area)$/i;function be(t){return(t.match(P)||[]).join(" ")}function xe(t){return t.getAttribute&&t.getAttribute("class")||""}function we(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(P)||[]}E.fn.extend({prop:function(t,e){return z(this,E.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each((function(){delete this[E.propFix[t]||t]}))}}),E.extend({prop:function(t,e,n){var i,o,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&E.isXMLDoc(t)||(e=E.propFix[e]||e,o=E.propHooks[e]),void 0!==n?o&&"set"in o&&void 0!==(i=o.set(t,n,e))?i:t[e]=n:o&&"get"in o&&null!==(i=o.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=E.find.attr(t,"tabindex");return e?parseInt(e,10):me.test(t.nodeName)||ye.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),v.optSelected||(E.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),E.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){E.propFix[this.toLowerCase()]=this})),E.fn.extend({addClass:function(t){var e,n,i,o,r,s;return m(t)?this.each((function(e){E(this).addClass(t.call(this,e,xe(this)))})):(e=we(t)).length?this.each((function(){if(i=xe(this),n=1===this.nodeType&&" "+be(i)+" "){for(r=0;r-1;)n=n.replace(" "+o+" "," ");s=be(n),i!==s&&this.setAttribute("class",s)}})):this:this.attr("class","")},toggleClass:function(t,e){var n,i,o,r,s=typeof t,a="string"===s||Array.isArray(t);return m(t)?this.each((function(n){E(this).toggleClass(t.call(this,n,xe(this),e),e)})):"boolean"==typeof e&&a?e?this.addClass(t):this.removeClass(t):(n=we(t),this.each((function(){if(a)for(r=E(this),o=0;o-1)return!0;return!1}});var Te=/\r/g;E.fn.extend({val:function(t){var e,n,i,o=this[0];return arguments.length?(i=m(t),this.each((function(n){var o;1===this.nodeType&&(null==(o=i?t.call(this,n,E(this).val()):t)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=E.map(o,(function(t){return null==t?"":t+""}))),(e=E.valHooks[this.type]||E.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,o,"value")||(this.value=o))}))):o?(e=E.valHooks[o.type]||E.valHooks[o.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(Te,""):null==n?"":n:void 0}}),E.extend({valHooks:{option:{get:function(t){var e=E.find.attr(t,"value");return null!=e?e:be(E.text(t))}},select:{get:function(t){var e,n,i,o=t.options,r=t.selectedIndex,s="select-one"===t.type,a=s?null:[],l=s?r+1:o.length;for(i=r<0?l:s?r:0;i-1)&&(n=!0);return n||(t.selectedIndex=-1),r}}}}),E.each(["radio","checkbox"],(function(){E.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=E.inArray(E(t).val(),e)>-1}},v.checkOn||(E.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})})),v.focusin="onfocusin"in i;var Ce=/^(?:focusinfocus|focusoutblur)$/,Ee=function(t){t.stopPropagation()};E.extend(E.event,{trigger:function(t,e,n,o){var r,s,a,l,u,c,f,p,h=[n||b],g=d.call(t,"type")?t.type:t,v=d.call(t,"namespace")?t.namespace.split("."):[];if(s=p=a=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!Ce.test(g+E.event.triggered)&&(g.indexOf(".")>-1&&(v=g.split("."),g=v.shift(),v.sort()),u=g.indexOf(":")<0&&"on"+g,(t=t[E.expando]?t:new E.Event(g,"object"==typeof t&&t)).isTrigger=o?2:3,t.namespace=v.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),e=null==e?[t]:E.makeArray(e,[t]),f=E.event.special[g]||{},o||!f.trigger||!1!==f.trigger.apply(n,e))){if(!o&&!f.noBubble&&!y(n)){for(l=f.delegateType||g,Ce.test(l+g)||(s=s.parentNode);s;s=s.parentNode)h.push(s),a=s;a===(n.ownerDocument||b)&&h.push(a.defaultView||a.parentWindow||i)}for(r=0;(s=h[r++])&&!t.isPropagationStopped();)p=s,t.type=r>1?l:f.bindType||g,(c=(K.get(s,"events")||Object.create(null))[t.type]&&K.get(s,"handle"))&&c.apply(s,e),(c=u&&s[u])&&c.apply&&Y(s)&&(t.result=c.apply(s,e),!1===t.result&&t.preventDefault());return t.type=g,o||t.isDefaultPrevented()||f._default&&!1!==f._default.apply(h.pop(),e)||!Y(n)||u&&m(n[g])&&!y(n)&&((a=n[u])&&(n[u]=null),E.event.triggered=g,t.isPropagationStopped()&&p.addEventListener(g,Ee),n[g](),t.isPropagationStopped()&&p.removeEventListener(g,Ee),E.event.triggered=void 0,a&&(n[u]=a)),t.result}},simulate:function(t,e,n){var i=E.extend(new E.Event,n,{type:t,isSimulated:!0});E.event.trigger(i,null,e)}}),E.fn.extend({trigger:function(t,e){return this.each((function(){E.event.trigger(t,e,this)}))},triggerHandler:function(t,e){var n=this[0];if(n)return E.event.trigger(t,e,n,!0)}}),v.focusin||E.each({focus:"focusin",blur:"focusout"},(function(t,e){var n=function(t){E.event.simulate(e,t.target,E.event.fix(t))};E.event.special[e]={setup:function(){var i=this.ownerDocument||this.document||this,o=K.access(i,e);o||i.addEventListener(t,n,!0),K.access(i,e,(o||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,o=K.access(i,e)-1;o?K.access(i,e,o):(i.removeEventListener(t,n,!0),K.remove(i,e))}}}));var Se=i.location,$e={guid:Date.now()},ke=/\?/;E.parseXML=function(t){var e,n;if(!t||"string"!=typeof t)return null;try{e=(new i.DOMParser).parseFromString(t,"text/xml")}catch(t){}return n=e&&e.getElementsByTagName("parsererror")[0],e&&!n||E.error("Invalid XML: "+(n?E.map(n.childNodes,(function(t){return t.textContent})).join("\n"):t)),e};var Ae=/\[\]$/,De=/\r?\n/g,Ne=/^(?:submit|button|image|reset|file)$/i,je=/^(?:input|select|textarea|keygen)/i;function Oe(t,e,n,i){var o;if(Array.isArray(e))E.each(e,(function(e,o){n||Ae.test(t)?i(t,o):Oe(t+"["+("object"==typeof o&&null!=o?e:"")+"]",o,n,i)}));else if(n||"object"!==T(e))i(t,e);else for(o in e)Oe(t+"["+o+"]",e[o],n,i)}E.param=function(t,e){var n,i=[],o=function(t,e){var n=m(e)?e():e;i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!E.isPlainObject(t))E.each(t,(function(){o(this.name,this.value)}));else for(n in t)Oe(n,t[n],e,o);return i.join("&")},E.fn.extend({serialize:function(){return E.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var t=E.prop(this,"elements");return t?E.makeArray(t):this})).filter((function(){var t=this.type;return this.name&&!E(this).is(":disabled")&&je.test(this.nodeName)&&!Ne.test(t)&&(this.checked||!vt.test(t))})).map((function(t,e){var n=E(this).val();return null==n?null:Array.isArray(n)?E.map(n,(function(t){return{name:e.name,value:t.replace(De,"\r\n")}})):{name:e.name,value:n.replace(De,"\r\n")}})).get()}});var Ie=/%20/g,Le=/#.*$/,Re=/([?&])_=[^&]*/,qe=/^(.*?):[ \t]*([^\r\n]*)$/gm,He=/^(?:GET|HEAD)$/,Pe=/^\/\//,Fe={},Me={},We="*/".concat("*"),Be=b.createElement("a");function Ue(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,o=0,r=e.toLowerCase().match(P)||[];if(m(n))for(;i=r[o++];)"+"===i[0]?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function _e(t,e,n,i){var o={},r=t===Me;function s(a){var l;return o[a]=!0,E.each(t[a]||[],(function(t,a){var u=a(e,n,i);return"string"!=typeof u||r||o[u]?r?!(l=u):void 0:(e.dataTypes.unshift(u),s(u),!1)})),l}return s(e.dataTypes[0])||!o["*"]&&s("*")}function ze(t,e){var n,i,o=E.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((o[n]?t:i||(i={}))[n]=e[n]);return i&&E.extend(!0,t,i),t}Be.href=Se.href,E.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Se.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Se.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":We,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":E.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?ze(ze(t,E.ajaxSettings),e):ze(E.ajaxSettings,t)},ajaxPrefilter:Ue(Fe),ajaxTransport:Ue(Me),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var n,o,r,s,a,l,u,c,f,p,d=E.ajaxSetup({},e),h=d.context||d,g=d.context&&(h.nodeType||h.jquery)?E(h):E.event,v=E.Deferred(),m=E.Callbacks("once memory"),y=d.statusCode||{},x={},w={},T="canceled",C={readyState:0,getResponseHeader:function(t){var e;if(u){if(!s)for(s={};e=qe.exec(r);)s[e[1].toLowerCase()+" "]=(s[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=s[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return u?r:null},setRequestHeader:function(t,e){return null==u&&(t=w[t.toLowerCase()]=w[t.toLowerCase()]||t,x[t]=e),this},overrideMimeType:function(t){return null==u&&(d.mimeType=t),this},statusCode:function(t){var e;if(t)if(u)C.always(t[C.status]);else for(e in t)y[e]=[y[e],t[e]];return this},abort:function(t){var e=t||T;return n&&n.abort(e),S(0,e),this}};if(v.promise(C),d.url=((t||d.url||Se.href)+"").replace(Pe,Se.protocol+"//"),d.type=e.method||e.type||d.method||d.type,d.dataTypes=(d.dataType||"*").toLowerCase().match(P)||[""],null==d.crossDomain){l=b.createElement("a");try{l.href=d.url,l.href=l.href,d.crossDomain=Be.protocol+"//"+Be.host!=l.protocol+"//"+l.host}catch(t){d.crossDomain=!0}}if(d.data&&d.processData&&"string"!=typeof d.data&&(d.data=E.param(d.data,d.traditional)),_e(Fe,d,e,C),u)return C;for(f in(c=E.event&&d.global)&&0==E.active++&&E.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!He.test(d.type),o=d.url.replace(Le,""),d.hasContent?d.data&&d.processData&&0===(d.contentType||"").indexOf("application/x-www-form-urlencoded")&&(d.data=d.data.replace(Ie,"+")):(p=d.url.slice(o.length),d.data&&(d.processData||"string"==typeof d.data)&&(o+=(ke.test(o)?"&":"?")+d.data,delete d.data),!1===d.cache&&(o=o.replace(Re,"$1"),p=(ke.test(o)?"&":"?")+"_="+$e.guid+++p),d.url=o+p),d.ifModified&&(E.lastModified[o]&&C.setRequestHeader("If-Modified-Since",E.lastModified[o]),E.etag[o]&&C.setRequestHeader("If-None-Match",E.etag[o])),(d.data&&d.hasContent&&!1!==d.contentType||e.contentType)&&C.setRequestHeader("Content-Type",d.contentType),C.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+We+"; q=0.01":""):d.accepts["*"]),d.headers)C.setRequestHeader(f,d.headers[f]);if(d.beforeSend&&(!1===d.beforeSend.call(h,C,d)||u))return C.abort();if(T="abort",m.add(d.complete),C.done(d.success),C.fail(d.error),n=_e(Me,d,e,C)){if(C.readyState=1,c&&g.trigger("ajaxSend",[C,d]),u)return C;d.async&&d.timeout>0&&(a=i.setTimeout((function(){C.abort("timeout")}),d.timeout));try{u=!1,n.send(x,S)}catch(t){if(u)throw t;S(-1,t)}}else S(-1,"No Transport");function S(t,e,s,l){var f,p,b,x,w,T=e;u||(u=!0,a&&i.clearTimeout(a),n=void 0,r=l||"",C.readyState=t>0?4:0,f=t>=200&&t<300||304===t,s&&(x=function(t,e,n){for(var i,o,r,s,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(o in a)if(a[o]&&a[o].test(i)){l.unshift(o);break}if(l[0]in n)r=l[0];else{for(o in n){if(!l[0]||t.converters[o+" "+l[0]]){r=o;break}s||(s=o)}r=r||s}if(r)return r!==l[0]&&l.unshift(r),n[r]}(d,C,s)),!f&&E.inArray("script",d.dataTypes)>-1&&E.inArray("json",d.dataTypes)<0&&(d.converters["text script"]=function(){}),x=function(t,e,n,i){var o,r,s,a,l,u={},c=t.dataTypes.slice();if(c[1])for(s in t.converters)u[s.toLowerCase()]=t.converters[s];for(r=c.shift();r;)if(t.responseFields[r]&&(n[t.responseFields[r]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=r,r=c.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(s=u[l+" "+r]||u["* "+r]))for(o in u)if((a=o.split(" "))[1]===r&&(s=u[l+" "+a[0]]||u["* "+a[0]])){!0===s?s=u[o]:!0!==u[o]&&(r=a[0],c.unshift(a[1]));break}if(!0!==s)if(s&&t.throws)e=s(e);else try{e=s(e)}catch(t){return{state:"parsererror",error:s?t:"No conversion from "+l+" to "+r}}}return{state:"success",data:e}}(d,x,C,f),f?(d.ifModified&&((w=C.getResponseHeader("Last-Modified"))&&(E.lastModified[o]=w),(w=C.getResponseHeader("etag"))&&(E.etag[o]=w)),204===t||"HEAD"===d.type?T="nocontent":304===t?T="notmodified":(T=x.state,p=x.data,f=!(b=x.error))):(b=T,!t&&T||(T="error",t<0&&(t=0))),C.status=t,C.statusText=(e||T)+"",f?v.resolveWith(h,[p,T,C]):v.rejectWith(h,[C,T,b]),C.statusCode(y),y=void 0,c&&g.trigger(f?"ajaxSuccess":"ajaxError",[C,d,f?p:b]),m.fireWith(h,[C,T]),c&&(g.trigger("ajaxComplete",[C,d]),--E.active||E.event.trigger("ajaxStop")))}return C},getJSON:function(t,e,n){return E.get(t,e,n,"json")},getScript:function(t,e){return E.get(t,void 0,e,"script")}}),E.each(["get","post"],(function(t,e){E[e]=function(t,n,i,o){return m(n)&&(o=o||i,i=n,n=void 0),E.ajax(E.extend({url:t,type:e,dataType:o,data:n,success:i},E.isPlainObject(t)&&t))}})),E.ajaxPrefilter((function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")})),E._evalUrl=function(t,e,n){return E.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){E.globalEval(t,e,n)}})},E.fn.extend({wrapAll:function(t){var e;return this[0]&&(m(t)&&(t=t.call(this[0])),e=E(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map((function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t})).append(this)),this},wrapInner:function(t){return m(t)?this.each((function(e){E(this).wrapInner(t.call(this,e))})):this.each((function(){var e=E(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)}))},wrap:function(t){var e=m(t);return this.each((function(n){E(this).wrapAll(e?t.call(this,n):t)}))},unwrap:function(t){return this.parent(t).not("body").each((function(){E(this).replaceWith(this.childNodes)})),this}}),E.expr.pseudos.hidden=function(t){return!E.expr.pseudos.visible(t)},E.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},E.ajaxSettings.xhr=function(){try{return new i.XMLHttpRequest}catch(t){}};var Ve={0:200,1223:204},Qe=E.ajaxSettings.xhr();v.cors=!!Qe&&"withCredentials"in Qe,v.ajax=Qe=!!Qe,E.ajaxTransport((function(t){var e,n;if(v.cors||Qe&&!t.crossDomain)return{send:function(o,r){var s,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)a[s]=t.xhrFields[s];for(s in t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)a.setRequestHeader(s,o[s]);e=function(t){return function(){e&&(e=n=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===t?a.abort():"error"===t?"number"!=typeof a.status?r(0,"error"):r(a.status,a.statusText):r(Ve[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=e(),n=a.onerror=a.ontimeout=e("error"),void 0!==a.onabort?a.onabort=n:a.onreadystatechange=function(){4===a.readyState&&i.setTimeout((function(){e&&n()}))},e=e("abort");try{a.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}})),E.ajaxPrefilter((function(t){t.crossDomain&&(t.contents.script=!1)})),E.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return E.globalEval(t),t}}}),E.ajaxPrefilter("script",(function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")})),E.ajaxTransport("script",(function(t){var e,n;if(t.crossDomain||t.scriptAttrs)return{send:function(i,o){e=E("
+Firefly III
\ No newline at end of file diff --git a/public/v3/js/1473.9b55dc17.js b/public/v3/js/1473.9b55dc17.js new file mode 100644 index 0000000000..c31ebd560f --- /dev/null +++ b/public/v3/js/1473.9b55dc17.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[1473],{1473:(e,s,l)=>{l.r(s),l.d(s,{default:()=>ge});var a=l(9835),i=l(6970);const t={class:"row"},n={class:"col-6"},o=(0,a._)("div",{class:"text-h6"},"Firefly III administration",-1),d=(0,a._)("div",{class:"row"},[(0,a._)("div",{class:"col-12"}," configuration.permission_update_check ")],-1),u={class:"col-6"},c=(0,a._)("div",{class:"text-h6"},"Firefly III information",-1),r={class:"row"},_={class:"col-12"},p=(0,a._)("br",null,null,-1),m=(0,a._)("br",null,null,-1),f={class:"row q-mx-md"},k={class:"col-xl-4 col-lg-6 col-md-12 q-pa-xs"},h={class:"text-h6"},g=(0,a.Uk)("Is demo site? "),w={key:0,class:"text-secondary"},v=(0,a._)("span",{class:"far fa-check-circle"},null,-1),x=[v],b={key:1,class:"text-blue"},U=(0,a._)("span",{class:"fas fa-spinner fa-spin"},null,-1),q=[U],W={key:2,class:"text-red"},y=(0,a._)("span",{class:"fas fa-skull-crossbones"},null,-1),D=(0,a.Uk)(),I=(0,a._)("small",null,"Please refresh the page...",-1),C=[y,D,I],Z={class:"col-xl-4 col-lg-6 col-md-12 q-pa-xs"},S={class:"text-h6"},V=(0,a.Uk)("Single user mode? "),F={key:0,class:"text-secondary"},L=(0,a._)("span",{class:"far fa-check-circle"},null,-1),O=[L],M={key:1,class:"text-blue"},P=(0,a._)("span",{class:"fas fa-spinner fa-spin"},null,-1),Q=[P],z={key:2,class:"text-red"},A=(0,a._)("span",{class:"fas fa-skull-crossbones"},null,-1),j=(0,a.Uk)(),Y=(0,a._)("small",null,"Please refresh the page...",-1),B=[A,j,Y],E={class:"col-xl-4 col-lg-6 col-md-12 q-pa-xs"},G={class:"text-h6"},H=(0,a.Uk)("Check for updates? "),J={key:0,class:"text-secondary"},K=(0,a._)("span",{class:"far fa-check-circle"},null,-1),N=[K],R={key:1,class:"text-blue"},T=(0,a._)("span",{class:"fas fa-spinner fa-spin"},null,-1),X=[T],$={key:2,class:"text-red"},ee=(0,a._)("span",{class:"fas fa-skull-crossbones"},null,-1),se=(0,a.Uk)(),le=(0,a._)("small",null,"Please refresh the page...",-1),ae=[ee,se,le];function ie(e,s,l,v,U,y){const D=(0,a.up)("q-card-section"),I=(0,a.up)("q-card"),L=(0,a.up)("q-checkbox"),P=(0,a.up)("q-select"),A=(0,a.up)("q-page");return(0,a.wg)(),(0,a.j4)(A,null,{default:(0,a.w5)((()=>[(0,a._)("div",t,[(0,a._)("div",n,[(0,a.Wm)(I,{bordered:"",class:"q-mx-sm"},{default:(0,a.w5)((()=>[(0,a.Wm)(D,null,{default:(0,a.w5)((()=>[o])),_:1}),(0,a.Wm)(D,null,{default:(0,a.w5)((()=>[d])),_:1})])),_:1})]),(0,a._)("div",u,[(0,a.Wm)(I,{bordered:"",class:"q-mx-sm"},{default:(0,a.w5)((()=>[(0,a.Wm)(D,null,{default:(0,a.w5)((()=>[c])),_:1}),(0,a.Wm)(D,null,{default:(0,a.w5)((()=>[(0,a._)("div",r,[(0,a._)("div",_,[(0,a.Uk)(" Firefly III: "+(0,i.zw)(U.version),1),p,(0,a.Uk)(" API: "+(0,i.zw)(U.api),1),m,(0,a.Uk)(" OS: "+(0,i.zw)(U.os),1)])])])),_:1})])),_:1})])]),(0,a._)("div",f,[(0,a._)("div",k,[(0,a.Wm)(I,{bordered:""},{default:(0,a.w5)((()=>[(0,a.Wm)(D,null,{default:(0,a.w5)((()=>[(0,a._)("div",h,[g,!0===U.isOk.is_demo_site?((0,a.wg)(),(0,a.iD)("span",w,x)):(0,a.kq)("",!0),!0===U.isLoading.is_demo_site?((0,a.wg)(),(0,a.iD)("span",b,q)):(0,a.kq)("",!0),!0===U.isFailure.is_demo_site?((0,a.wg)(),(0,a.iD)("span",W,C)):(0,a.kq)("",!0)])])),_:1}),(0,a.Wm)(D,null,{default:(0,a.w5)((()=>[(0,a.Wm)(L,{modelValue:U.isDemoSite,"onUpdate:modelValue":s[0]||(s[0]=e=>U.isDemoSite=e),label:"Is Demo Site?"},null,8,["modelValue"])])),_:1})])),_:1})]),(0,a._)("div",Z,[(0,a.Wm)(I,{bordered:""},{default:(0,a.w5)((()=>[(0,a.Wm)(D,null,{default:(0,a.w5)((()=>[(0,a._)("div",S,[V,!0===U.isOk.single_user_mode?((0,a.wg)(),(0,a.iD)("span",F,O)):(0,a.kq)("",!0),!0===U.isLoading.single_user_mode?((0,a.wg)(),(0,a.iD)("span",M,Q)):(0,a.kq)("",!0),!0===U.isFailure.single_user_mode?((0,a.wg)(),(0,a.iD)("span",z,B)):(0,a.kq)("",!0)])])),_:1}),(0,a.Wm)(D,null,{default:(0,a.w5)((()=>[(0,a.Wm)(L,{modelValue:U.singleUserMode,"onUpdate:modelValue":s[1]||(s[1]=e=>U.singleUserMode=e),label:"Single user mode?"},null,8,["modelValue"])])),_:1})])),_:1})]),(0,a._)("div",E,[(0,a.Wm)(I,{bordered:""},{default:(0,a.w5)((()=>[(0,a.Wm)(D,null,{default:(0,a.w5)((()=>[(0,a._)("div",G,[H,!0===U.isOk.update_check?((0,a.wg)(),(0,a.iD)("span",J,N)):(0,a.kq)("",!0),!0===U.isLoading.update_check?((0,a.wg)(),(0,a.iD)("span",R,X)):(0,a.kq)("",!0),!0===U.isFailure.update_check?((0,a.wg)(),(0,a.iD)("span",$,ae)):(0,a.kq)("",!0)])])),_:1}),(0,a.Wm)(D,null,{default:(0,a.w5)((()=>[(0,a.Wm)(P,{"bottom-slots":"",outlined:"",modelValue:U.permissionUpdateCheck,"onUpdate:modelValue":s[2]||(s[2]=e=>U.permissionUpdateCheck=e),"emit-value":"","map-options":"",options:U.permissions,label:"Check for updates"},null,8,["modelValue","options"])])),_:1})])),_:1})])])])),_:1})}var te=l(1569);class ne{list(){return te.api.get("/api/v1/about")}}var oe=l(3918);const de={name:"Index",created(){this.getInfo()},mounted(){this.isOk={is_demo_site:!0,single_user_mode:!0,update_check:!0},this.isLoading={is_demo_site:!1,single_user_mode:!1,update_check:!1},this.isFailure={is_demo_site:!1,single_user_mode:!1,update_check:!1}},watch:{isDemoSite:function(e,s){if(s!==e){let s=e;(new oe.Z).put("configuration.is_demo_site",{value:s})}},singleUserMode:function(e,s){if(s!==e){let s=e;(new oe.Z).put("configuration.single_user_mode",{value:s})}},permissionUpdateCheck:function(e,s){if(s!==e){let s=e;(new oe.Z).put("configuration.permission_update_check",{value:s})}}},data(){return{version:"",api:"",os:"",isDemoSite:!1,singleUserMode:!0,permissionUpdateCheck:-1,permissions:[{value:-1,label:"Ask me later"},{value:0,label:"Lol no"},{value:1,label:"Yes plz"}],isOk:{},isLoading:{},isFailure:{}}},methods:{getInfo:function(){(new ne).list().then((e=>{this.version=e.data.data.version,this.api=e.data.data.api_version,this.os=e.data.data.os+" with php "+e.data.data.php_version})),(new oe.Z).get("configuration.is_demo_site").then((e=>{this.isDemoSite=e.data.data.value})),(new oe.Z).get("configuration.single_user_mode").then((e=>{this.singleUserMode=e.data.data.value})),(new oe.Z).get("configuration.permission_update_check").then((e=>{this.permissionUpdateCheck=e.data.data.value}))}}};var ue=l(1639),ce=l(9885),re=l(4458),_e=l(3190),pe=l(1221),me=l(7887),fe=l(9984),ke=l.n(fe);const he=(0,ue.Z)(de,[["render",ie]]),ge=he;ke()(de,"components",{QPage:ce.Z,QCard:re.Z,QCardSection:_e.Z,QCheckbox:pe.Z,QSelect:me.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/150.35592a2c.js b/public/v3/js/150.35592a2c.js new file mode 100644 index 0000000000..014c08b312 --- /dev/null +++ b/public/v3/js/150.35592a2c.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[150],{150:(t,a,e)=>{e.r(a),e.d(a,{default:()=>_});var i=e(9835),n=e(6970);function s(t,a,e,s,r,g){const l=(0,i.up)("router-link"),o=(0,i.up)("q-badge"),u=(0,i.up)("q-card-section"),d=(0,i.up)("q-card"),p=(0,i.up)("q-fab-action"),c=(0,i.up)("q-fab"),h=(0,i.up)("q-page-sticky"),f=(0,i.up)("q-page");return(0,i.wg)(),(0,i.j4)(f,null,{default:(0,i.w5)((()=>[(0,i.Wm)(d,null,{default:(0,i.w5)((()=>[(0,i.Wm)(u,null,{default:(0,i.w5)((()=>[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(r.tags,(t=>((0,i.wg)(),(0,i.iD)("span",null,[(0,i.Wm)(o,{outline:"",class:"q-ma-xs",color:"blue"},{default:(0,i.w5)((()=>[(0,i.Wm)(l,{to:{name:"tags.show",params:{id:t.id}}},{default:(0,i.w5)((()=>[(0,i.Uk)((0,n.zw)(t.attributes.tag),1)])),_:2},1032,["to"])])),_:2},1024)])))),256))])),_:1})])),_:1}),(0,i.Wm)(h,{position:"bottom-right",offset:[18,18]},{default:(0,i.w5)((()=>[(0,i.Wm)(c,{label:"Actions",square:"","vertical-actions-align":"right","label-position":"left",color:"green",icon:"fas fa-chevron-up",direction:"up"},{default:(0,i.w5)((()=>[(0,i.Wm)(p,{color:"primary",square:"",to:{name:"tags.create"},icon:"fas fa-exchange-alt",label:"New tag"},null,8,["to"])])),_:1})])),_:1})])),_:1})}var r=e(1049),g=e(1569);class l{list(t,a){let e="/api/v1/tags";return g.api.get(e,{params:{page:t,cache:a}})}}const o={name:"Index",watch:{$route(t){"tags.index"===t.name&&(this.page=1,this.updateBreadcrumbs(),this.triggerUpdate())}},data(){return{tags:[],loading:!1}},computed:{...(0,r.Se)("fireflyiii",["getRange","getCacheKey"])},created(){},mounted(){if(null===this.getRange.start||null===this.getRange.end){const t=(0,r.oR)();t.subscribe(((t,a)=>{"fireflyiii/setRange"===t.type&&(this.range={start:t.payload.start,end:t.payload.end},this.triggerUpdate())}))}null!==this.getRange.start&&null!==this.getRange.end&&(this.range={start:this.getRange.start,end:this.getRange.end},this.triggerUpdate())},methods:{updateBreadcrumbs:function(){this.$route.meta.pageTitle="firefly.tags",this.$route.meta.breadcrumbs=[{title:"tags"}]},onRequest:function(t){this.page=t.pagination.page,this.triggerUpdate()},triggerUpdate:function(){this.loading||(this.loading=!0,this.getPage(1))},getPage:function(t){const a=new l;this.rows=[],a.list(t,this.getCacheKey).then((a=>{for(let t in a.data.data)if(a.data.data.hasOwnProperty(t)){let e=a.data.data[t];this.tags.push(e)}t{a.r(n),a.d(n,{default:()=>z});var e=a(9835),s=a(6970);const i={class:"row q-mx-md"},r={class:"col-12"},o={class:"text-h6"},l={class:"row"},u={class:"col-12 q-mb-xs"},c=(0,e._)("br",null,null,-1),d=(0,e._)("br",null,null,-1),p=(0,e._)("br",null,null,-1);function g(t,n,a,g,w,h){const _=(0,e.up)("q-card-section"),f=(0,e.up)("q-card"),b=(0,e.up)("q-page");return(0,e.wg)(),(0,e.j4)(b,null,{default:(0,e.w5)((()=>[(0,e._)("div",i,[(0,e._)("div",r,[(0,e.Wm)(f,{bordered:""},{default:(0,e.w5)((()=>[(0,e.Wm)(_,null,{default:(0,e.w5)((()=>[(0,e._)("div",o,"Transaction: "+(0,s.zw)(w.title),1)])),_:1}),(0,e.Wm)(_,null,{default:(0,e.w5)((()=>[((0,e.wg)(!0),(0,e.iD)(e.HY,null,(0,e.Ko)(w.group.transactions,((t,n)=>((0,e.wg)(),(0,e.iD)("div",l,[(0,e._)("div",u,[(0,e._)("strong",null,"index "+(0,s.zw)(n),1),c,(0,e.Uk)(" "+(0,s.zw)(t.description),1),d,(0,e.Uk)(" "+(0,s.zw)(t.amount),1),p,(0,e.Uk)(" "+(0,s.zw)(t.source_name)+" --\x3e "+(0,s.zw)(t.destination_name),1)])])))),256))])),_:1})])),_:1})])])])),_:1})}var w=a(9466),h=a(8925);const _={name:"Show",data(){return{title:"",group:{transactions:[]},rows:[],rowsNumber:1,rowsPerPage:10,page:1}},created(){this.id=parseInt(this.$route.params.id),this.getTransaction()},mounted(){},components:{LargeTable:h.Z},methods:{onRequest:function(t){this.page=t.page,this.getTag()},getTransaction:function(){let t=new w.Z;this.loading=!0,t.get(this.id).then((t=>this.parseTransaction(t.data.data)))},parseTransaction:function(t){this.group={group_title:t.attributes.group_title,transactions:[]},null!==t.attributes.group_title&&(this.title=t.attributes.group_title);for(let n in t.attributes.transactions)if(t.attributes.transactions.hasOwnProperty(n)){let a=t.attributes.transactions[n];this.group.transactions.push(a),0===parseInt(n)&&null===t.attributes.group_title&&(this.title=a.description)}this.loading=!1}}};var f=a(1639),b=a(9885),m=a(4458),v=a(3190),k=a(9984),T=a.n(k);const q=(0,f.Z)(_,[["render",g]]),z=q;T()(_,"components",{QPage:b.Z,QCard:m.Z,QCardSection:v.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/1543.010ec22e.js b/public/v3/js/1543.010ec22e.js new file mode 100644 index 0000000000..cd23fddcf6 --- /dev/null +++ b/public/v3/js/1543.010ec22e.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[1543],{1543:(e,a,s)=>{s.r(a),s.d(a,{default:()=>ee});var r=s(9835),n=s(6970);const t={class:"row"},l={class:"col q-mb-xs"},o=(0,r.Uk)(" Hi! You must be new to Firefly III. Welcome! Please fill in this form to create some basic accounts and get you started. "),i={class:"row"},c={class:"col-8 offset-2 q-mb-md"},_=(0,r._)("div",{class:"text-h6"},"Bank accounts",-1),u={class:"row q-mb-xs"},d={class:"col-8 offset-2"},m={class:"row q-mb-xs"},h={class:"col-3 offset-2"},b={class:"col-5"},f={class:"row q-mb-xs"},g={class:"col-8 offset-2"},v={class:"row"},p={class:"col-8 offset-2 q-mb-md"},k=(0,r._)("div",{class:"text-h6"},"Preferences",-1),w={class:"row q-mb-xs"},y={class:"col-8 offset-2"},q={class:"row"},I={class:"col-10 offset-2"},V={class:"row"},U={class:"col-8 offset-2"},W={class:"row"},Z={class:"col-8 offset-2"},C=(0,r._)("div",{class:"q-px-sm"},[(0,r.Uk)(" Hint: visit "),(0,r._)("a",{href:"https://github.com/firefly-iii/firefly-iii/discussions/"},"GitHub"),(0,r.Uk)(" or "),(0,r._)("a",{href:"#"},"Gitter.im"),(0,r.Uk)(". You can also contact me on "),(0,r._)("a",{href:"#"},"Twitter"),(0,r.Uk)(" or via "),(0,r._)("a",{href:"#"},"email"),(0,r.Uk)(". ")],-1),x={class:"row"},P={class:"col-8 offset-2"},A=(0,r.Uk)("Submit");function M(e,a,s,M,Q,D){const O=(0,r.up)("q-banner"),S=(0,r.up)("q-card-section"),T=(0,r.up)("q-icon"),F=(0,r.up)("q-input"),z=(0,r.up)("q-select"),E=(0,r.up)("q-card"),H=(0,r.up)("q-checkbox"),j=(0,r.up)("q-btn");return(0,r.wg)(),(0,r.iD)(r.HY,null,[(0,r._)("div",t,[(0,r._)("div",l,[(0,r.Wm)(O,{rounded:"",class:"bg-purple-8 text-white"},{default:(0,r.w5)((()=>[o])),_:1})])]),(0,r._)("div",i,[(0,r._)("div",c,[(0,r.Wm)(E,{bordered:""},{default:(0,r.w5)((()=>[(0,r.Wm)(S,null,{default:(0,r.w5)((()=>[_])),_:1}),(0,r.Wm)(S,null,{default:(0,r.w5)((()=>[(0,r._)("div",u,[(0,r._)("div",d,[(0,r.Wm)(F,{"error-message":Q.bank_name_error,error:Q.bank_name_has_error,"bottom-slots":"",disable:Q.disabledInput,clearable:"",outlined:"",modelValue:Q.bank_name,"onUpdate:modelValue":a[0]||(a[0]=e=>Q.bank_name=e),label:"The name of your bank"},{prepend:(0,r.w5)((()=>[(0,r.Wm)(T,{name:"fas fa-university"})])),_:1},8,["error-message","error","disable","modelValue"])])]),(0,r._)("div",m,[(0,r._)("div",h,[(0,r.Wm)(z,{"error-message":Q.currency_error,error:Q.currency_has_error,"bottom-slots":"",disable:Q.disabledInput,outlined:"",modelValue:Q.currency,"onUpdate:modelValue":a[1]||(a[1]=e=>Q.currency=e),"emit-value":"",class:"q-pr-xs","map-options":"",options:Q.currencies,label:"Currency"},null,8,["error-message","error","disable","modelValue","options"])]),(0,r._)("div",b,[(0,r.Wm)(F,{"error-message":Q.bank_balance_error,error:Q.bank_balance_has_error,"bottom-slots":"",disable:Q.disabledInput,outlined:"",modelValue:Q.bank_balance,"onUpdate:modelValue":a[2]||(a[2]=e=>Q.bank_balance=e),mask:Q.balance_input_mask,"reverse-fill-mask":"","fill-mask":"0",label:"Today's balance",hint:"Enter your current balance"},{prepend:(0,r.w5)((()=>[(0,r.Wm)(T,{name:"fas fa-money-bill-wave"})])),_:1},8,["error-message","error","disable","modelValue","mask"])])]),(0,r._)("div",f,[(0,r._)("div",g,[(0,r.Wm)(F,{"error-message":Q.savings_balance_error,error:Q.savings_balance_has_error,"bottom-slots":"",disable:Q.disabledInput,outlined:"",modelValue:Q.savings_balance,"onUpdate:modelValue":a[3]||(a[3]=e=>Q.savings_balance=e),mask:Q.balance_input_mask,"reverse-fill-mask":"","fill-mask":"0",label:"Today's savings account balance",hint:"Leave empty or set to zero if not relevant."},{prepend:(0,r.w5)((()=>[(0,r.Wm)(T,{name:"fas fa-coins"})])),_:1},8,["error-message","error","disable","modelValue","mask"])])])])),_:1})])),_:1})])]),(0,r._)("div",v,[(0,r._)("div",p,[(0,r.Wm)(E,null,{default:(0,r.w5)((()=>[(0,r.Wm)(S,null,{default:(0,r.w5)((()=>[k])),_:1}),(0,r.Wm)(S,null,{default:(0,r.w5)((()=>[(0,r._)("div",w,[(0,r._)("div",y,[(0,r.Wm)(z,{"error-message":Q.language_error,error:Q.language_has_error,"bottom-slots":"",outlined:"",disable:Q.disabledInput,modelValue:Q.language,"onUpdate:modelValue":a[4]||(a[4]=e=>Q.language=e),"emit-value":"","map-options":"",options:Q.languages,label:"I prefer the following language"},null,8,["error-message","error","disable","modelValue","options"])])]),(0,r._)("div",q,[(0,r._)("div",I,[(0,r.Wm)(H,{disable:Q.disabledInput,modelValue:Q.manage_cash,"onUpdate:modelValue":a[5]||(a[5]=e=>Q.manage_cash=e),label:"I want to manage cash using Firefly III"},null,8,["disable","modelValue"]),Q.manage_cash_has_error?((0,r.wg)(),(0,r.j4)(O,{key:0,class:"text-white bg-red"},{default:(0,r.w5)((()=>[(0,r.Uk)((0,n.zw)(Q.manage_cash_error),1)])),_:1})):(0,r.kq)("",!0)])]),(0,r._)("div",V,[(0,r._)("div",U,[(0,r.Wm)(H,{disable:Q.disabledInput,modelValue:Q.have_cc,"onUpdate:modelValue":a[6]||(a[6]=e=>Q.have_cc=e),label:"I have a credit card."},null,8,["disable","modelValue"]),Q.have_cc_has_error?((0,r.wg)(),(0,r.j4)(O,{key:0,class:"text-white bg-red"},{default:(0,r.w5)((()=>[(0,r.Uk)((0,n.zw)(Q.have_cc_error),1)])),_:1})):(0,r.kq)("",!0)])]),(0,r._)("div",W,[(0,r._)("div",Z,[(0,r.Wm)(H,{disable:Q.disabledInput,modelValue:Q.have_questions,"onUpdate:modelValue":a[7]||(a[7]=e=>Q.have_questions=e),label:"I know where to go when I have questions"},null,8,["disable","modelValue"]),C,Q.have_questions_has_error?((0,r.wg)(),(0,r.j4)(O,{key:0,class:"text-white bg-red"},{default:(0,r.w5)((()=>[(0,r.Uk)((0,n.zw)(Q.have_questions_error),1)])),_:1})):(0,r.kq)("",!0)])])])),_:1}),(0,r.Wm)(S,null,{default:(0,r.w5)((()=>[(0,r._)("div",x,[(0,r._)("div",P,[(0,r.Wm)(j,{color:"primary",onClick:D.submitNewUser},{default:(0,r.w5)((()=>[A])),_:1},8,["onClick"])])])])),_:1})])),_:1})])])],64)}s(702);var Q=s(3918),D=s(6108),O=s(1138),S=s(2684),T=s(1592),F=s(8898),z=s(7164);const E={name:"NewUser",data(){return{bank_name:"",bank_name_error:"",bank_name_has_error:!1,currency:"EUR",currency_error:"",currency_has_error:!1,bank_balance:"",bank_balance_error:"",bank_balance_has_error:!1,savings_balance:"",savings_balance_error:"",savings_balance_has_error:!1,language:"en_US",language_error:"",language_has_error:!1,manage_cash:!1,manage_cash_error:"",manage_cash_has_error:!1,have_cc:!1,have_cc_error:"",have_cc_has_error:!1,have_questions:!1,have_questions_error:"",have_questions_has_error:!1,balance_input_mask:"#.##",balance_prefix:"€",languages:[],currencies:[],disabledInput:!1}},watch:{currency:function(e){for(let a in this.currencies)if(this.currencies.hasOwnProperty(a)){let s=this.currencies[a];if(s.value===e){let e="#";this.balance_input_mask="#."+e.repeat(s.decimal_places)}}}},mounted(){let e=new Q.Z;e.get("firefly.languages").then((e=>{let a=e.data.data.value;for(let s in a)if(a.hasOwnProperty(s)){let e=a[s];this.languages.push({value:s,label:e.name_locale+" ("+e.name_english+")"})}}));let a=new D.Z;a.list(1).then((e=>{let a=e.data.data;for(let s in a)if(a.hasOwnProperty(s)){let e=a[s];this.currencies.push({value:e.attributes.code,label:e.attributes.name,decimal_places:e.attributes.decimal_places,symbol:e.attributes.symbol})}}))},methods:{submitNewUser:function(){if(this.resetErrors(),this.disabledInput=!0,""===this.bank_name)return this.bank_name_error="A name is required",this.bank_name_has_error=!0,void(this.disabledInput=!1);if(!1===this.have_questions)return this.have_questions_error="Please check this little box",this.have_questions_has_error=!0,void(this.disabledInput=!1);let e=this.submitMainAccount(),a=this.submitSavingsAccount(),s=this.submitCC(),r=this.submitCash(),n=this.submitCurrency(),t=this.submitLanguage();Promise.all([e,a,s,r,n,t]).then((()=>{this.$emit("created-accounts")}))},submitCurrency:function(){let e=new S.Z;return e.makeDefault(this.currency)},submitLanguage:function(){return(new T.Z).put("language",this.language)},submitMainAccount:function(){let e=new O.Z,a={name:this.bank_name+" checking account TODO",type:"asset",account_role:"defaultAsset",currency_code:this.currency_code};if(""!==this.bank_balance&&0!==parseFloat(this.bank_balance)){let e=(0,F.Z)(new Date,"y-MM-dd");a.opening_balance=this.bank_balance,a.opening_balance_date=e}return e.post(a)},submitSavingsAccount:function(){let e=new O.Z,a={name:this.bank_name+" savings account TODO",type:"asset",account_role:"savingAsset",currency_code:this.currency_code};if(""!==this.savings_balance&&0!==parseFloat(this.savings_balance)){let s=(0,F.Z)(new Date,"y-MM-dd");return a.opening_balance=this.savings_balance,a.opening_balance_date=s,e.post(a)}return Promise.resolve()},submitCC:function(){if(this.have_cc){let e=new O.Z,a=(0,F.Z)((0,z.Z)(new Date),"y-MM-dd"),s={name:this.bank_name+" Credit card",type:"asset",account_role:"ccAsset",currency_code:this.currency_code,credit_card_type:"monthlyFull",monthly_payment_date:a};return e.post(s)}return Promise.resolve()},submitCash:function(){if(this.manage_cash){let e=new O.Z,a={name:this.bank_name+" Cash account",type:"asset",account_role:"cashWalletAsset",currency_code:this.currency_code};return e.post(a)}return Promise.resolve()},resetErrors:function(){this.disabledInput=!1,this.bank_name_error="",this.bank_name_has_error=!1,this.currency_error="",this.currency_has_error=!1,this.bank_balance_error="",this.bank_balance_has_error=!1,this.savings_balance_error="",this.savings_balance_has_error=!1,this.language_error="",this.language_has_error=!1,this.manage_cash_error="",this.manage_cash_has_error=!1,this.have_cc_error="",this.have_cc_has_error=!1,this.have_questions_error="",this.have_questions_has_error=!1}}};var H=s(1639),j=s(7128),B=s(4458),L=s(3190),N=s(6611),Y=s(2857),G=s(7887),R=s(1221),$=s(8879),J=s(9984),K=s.n(J);const X=(0,H.Z)(E,[["render",M]]),ee=X;K()(E,"components",{QBanner:j.Z,QCard:B.Z,QCardSection:L.Z,QInput:N.Z,QIcon:Y.Z,QSelect:G.Z,QCheckbox:R.Z,QBtn:$.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/1730.207e6e59.js b/public/v3/js/1730.207e6e59.js new file mode 100644 index 0000000000..fbf8ce9163 --- /dev/null +++ b/public/v3/js/1730.207e6e59.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[1730],{1730:(e,t,s)=>{s.r(t),s.d(t,{default:()=>Z});var a=s(9835),r=s(6970);const o={class:"row q-mx-md"},i={class:"col-12"},n={class:"text-h6"},g={class:"row"},l={class:"col-12 q-mb-xs"},u=(0,a._)("br",null,null,-1),h={class:"row q-mt-sm"},c={class:"col-12"};function w(e,t,s,w,d,p){const m=(0,a.up)("q-card-section"),y=(0,a.up)("q-card"),b=(0,a.up)("LargeTable"),f=(0,a.up)("q-page");return(0,a.wg)(),(0,a.j4)(f,null,{default:(0,a.w5)((()=>[(0,a._)("div",o,[(0,a._)("div",i,[(0,a.Wm)(y,{bordered:""},{default:(0,a.w5)((()=>[(0,a.Wm)(m,null,{default:(0,a.w5)((()=>[(0,a._)("div",n,(0,r.zw)(d.category.name),1)])),_:1}),(0,a.Wm)(m,null,{default:(0,a.w5)((()=>[(0,a._)("div",g,[(0,a._)("div",l,[(0,a.Uk)(" Name: "+(0,r.zw)(d.category.name),1),u])])])),_:1})])),_:1})])]),(0,a._)("div",h,[(0,a._)("div",c,[(0,a.Wm)(b,{ref:"table",title:"Transactions",rows:d.rows,loading:e.loading,onOnRequest:p.onRequest,"rows-number":d.rowsNumber,"rows-per-page":d.rowsPerPage,page:d.page},null,8,["rows","loading","onOnRequest","rows-number","rows-per-page","page"])])])])),_:1})}var d=s(8925),p=s(4255),m=s(3247);const y={name:"Show",data(){return{category:{},rows:[],rowsNumber:1,rowsPerPage:10,page:1,id:0}},created(){"no-category"===this.$route.params.id&&(this.id=0,this.getWithoutCategory()),"no-category"!==this.$route.params.id&&(this.id=parseInt(this.$route.params.id),this.getCategory())},components:{LargeTable:d.Z},methods:{onRequest:function(e){this.page=e.page,this.getCategory()},getWithoutCategory:function(){this.category={name:"(without category)"},this.loading=!0;const e=new m.Z;this.rows=[];let t=new p.Z;t.transactionsWithoutCategory(this.page,this.getCacheKey).then((t=>{let s=e.parseResponse(t);this.rowsPerPage=s.rowsPerPage,this.rowsNumber=s.rowsNumber,this.rows=s.rows,this.loading=!1}))},getCategory:function(){let e=new p.Z;e.get(this.id).then((e=>this.parseCategory(e))),this.loading=!0;const t=new m.Z;this.rows=[],e.transactions(this.id,this.page,this.getCacheKey).then((e=>{let s=t.parseResponse(e);this.rowsPerPage=s.rowsPerPage,this.rowsNumber=s.rowsNumber,this.rows=s.rows,this.loading=!1}))},parseCategory:function(e){this.category={name:e.data.data.attributes.name}}}};var b=s(1639),f=s(9885),C=s(4458),_=s(3190),P=s(9984),q=s.n(P);const v=(0,b.Z)(y,[["render",w]]),Z=v;q()(y,"components",{QPage:f.Z,QCard:C.Z,QCardSection:_.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/1864.d9ea853e.js b/public/v3/js/1864.d9ea853e.js new file mode 100644 index 0000000000..c3472e4f4d --- /dev/null +++ b/public/v3/js/1864.d9ea853e.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[1864],{1864:(e,s,r)=>{r.r(s),r.d(s,{default:()=>U});var o=r(9835),t=r(6970);const l={class:"row q-mx-md"},a={class:"col-12"},i={class:"row q-mx-md q-mt-md"},n={class:"col-12"},d=(0,o._)("div",{class:"text-h6"},"Info for new currency",-1),u={class:"row"},m={class:"col-12 q-mb-xs"},c={class:"row"},b={class:"col-12 q-mb-xs"},h={class:"row"},p={class:"col-12 q-mb-xs"},f={class:"row q-mx-md"},w={class:"col-12"},g={class:"row"},y={class:"col-12 text-right"},_={class:"row"},v={class:"col-12 text-right"},E=(0,o._)("br",null,null,-1);function q(e,s,r,q,x,C){const V=(0,o.up)("q-btn"),k=(0,o.up)("q-banner"),I=(0,o.up)("q-card-section"),S=(0,o.up)("q-input"),W=(0,o.up)("q-card"),R=(0,o.up)("q-checkbox"),Z=(0,o.up)("q-page");return(0,o.wg)(),(0,o.j4)(Z,null,{default:(0,o.w5)((()=>[(0,o._)("div",l,[(0,o._)("div",a,[""!==x.errorMessage?((0,o.wg)(),(0,o.j4)(k,{key:0,"inline-actions":"",rounded:"",class:"bg-orange text-white"},{action:(0,o.w5)((()=>[(0,o.Wm)(V,{flat:"",onClick:C.dismissBanner,label:"Dismiss"},null,8,["onClick"])])),default:(0,o.w5)((()=>[(0,o.Uk)((0,t.zw)(x.errorMessage)+" ",1)])),_:1})):(0,o.kq)("",!0)])]),(0,o._)("div",i,[(0,o._)("div",n,[(0,o.Wm)(W,{bordered:""},{default:(0,o.w5)((()=>[(0,o.Wm)(I,null,{default:(0,o.w5)((()=>[d])),_:1}),(0,o.Wm)(I,null,{default:(0,o.w5)((()=>[(0,o._)("div",u,[(0,o._)("div",m,[(0,o.Wm)(S,{"error-message":x.submissionErrors.name,error:x.hasSubmissionErrors.name,"bottom-slots":"",disable:C.disabledInput,type:"text",clearable:"",modelValue:x.name,"onUpdate:modelValue":s[0]||(s[0]=e=>x.name=e),label:e.$t("form.name"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])]),(0,o._)("div",c,[(0,o._)("div",b,[(0,o.Wm)(S,{"error-message":x.submissionErrors.code,error:x.hasSubmissionErrors.code,"bottom-slots":"",disable:C.disabledInput,type:"text",clearable:"",modelValue:x.code,"onUpdate:modelValue":s[1]||(s[1]=e=>x.code=e),label:e.$t("form.code"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])]),(0,o._)("div",h,[(0,o._)("div",p,[(0,o.Wm)(S,{"error-message":x.submissionErrors.symbol,error:x.hasSubmissionErrors.symbol,"bottom-slots":"",disable:C.disabledInput,type:"text",clearable:"",modelValue:x.symbol,"onUpdate:modelValue":s[2]||(s[2]=e=>x.symbol=e),label:e.$t("form.symbol"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])])])),_:1})])),_:1})])]),(0,o._)("div",f,[(0,o._)("div",w,[(0,o.Wm)(W,{class:"q-mt-xs"},{default:(0,o.w5)((()=>[(0,o.Wm)(I,null,{default:(0,o.w5)((()=>[(0,o._)("div",g,[(0,o._)("div",y,[(0,o.Wm)(V,{disable:C.disabledInput,color:"primary",label:"Submit",onClick:C.submitCurrency},null,8,["disable","onClick"])])]),(0,o._)("div",_,[(0,o._)("div",v,[(0,o.Wm)(R,{disable:C.disabledInput,modelValue:x.doReturnHere,"onUpdate:modelValue":s[3]||(s[3]=e=>x.doReturnHere=e),"left-label":"",label:"Return here to create another one"},null,8,["disable","modelValue"]),E,(0,o.Wm)(R,{modelValue:x.doResetForm,"onUpdate:modelValue":s[4]||(s[4]=e=>x.doResetForm=e),"left-label":"",disable:!x.doReturnHere||C.disabledInput,label:"Reset form after submission"},null,8,["modelValue","disable"])])])])),_:1})])),_:1})])])])),_:1})}var x=r(2684);const C={name:"Create",data(){return{submissionErrors:{},hasSubmissionErrors:{},submitting:!1,doReturnHere:!1,doResetForm:!1,errorMessage:"",type:"",name:"",code:"",symbol:""}},computed:{disabledInput:function(){return this.submitting}},created(){this.resetForm(),this.type=this.$route.params.type},methods:{resetForm:function(){this.name="",this.code="",this.symbol="",this.resetErrors()},resetErrors:function(){this.submissionErrors={name:"",code:"",symbol:""},this.hasSubmissionErrors={name:!1,code:!1,symbol:!1}},submitCurrency:function(){this.submitting=!0,this.errorMessage="",this.resetErrors();const e=this.buildCurrency();let s=new x.Z;s.post(e).catch(this.processErrors).then(this.processSuccess)},buildCurrency:function(){return{name:this.name,code:this.code,symbol:this.symbol}},dismissBanner:function(){this.errorMessage=""},processSuccess:function(e){if(!e)return;this.$store.dispatch("fireflyiii/refreshCacheKey"),this.submitting=!1;let s={level:"success",text:"I am new currency",show:!0,action:{show:!0,text:"Go to currency",link:{name:"currencies.show",params:{code:parseInt(e.data.data.attributes.code)}}}};this.$q.localStorage.set("flash",s),this.doReturnHere&&window.dispatchEvent(new CustomEvent("flash",{detail:{flash:this.$q.localStorage.getItem("flash")}})),this.doReturnHere||this.$router.go(-1)},processErrors:function(e){if(e.response){let s=e.response.data;this.errorMessage=s.message,console.log(s);for(let e in s.errors)s.errors.hasOwnProperty(e)&&(this.submissionErrors[e]=s.errors[e][0],this.hasSubmissionErrors[e]=!0)}this.submitting=!1}}};var V=r(1639),k=r(9885),I=r(7128),S=r(8879),W=r(4458),R=r(3190),Z=r(6611),$=r(1221),Q=r(9984),H=r.n(Q);const M=(0,V.Z)(C,[["render",q]]),U=M;H()(C,"components",{QPage:k.Z,QBanner:I.Z,QBtn:S.Z,QCard:W.Z,QCardSection:R.Z,QInput:Z.Z,QCheckbox:$.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/1951.a5d70097.js b/public/v3/js/1951.a5d70097.js new file mode 100644 index 0000000000..4e1d8d43a9 --- /dev/null +++ b/public/v3/js/1951.a5d70097.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[1951],{1951:(e,a,t)=>{t.r(a),t.d(a,{default:()=>Q});var i=t(9835);const s={class:"row q-mx-md"},n={class:"col-xl-4 col-lg-6 col-md-12 q-pa-xs"},l=(0,i._)("div",{class:"text-h6"},"Email address",-1),o=(0,i._)("p",{class:"text-primary"}," If you change your email address you will be logged out. You must confirm your address change before you can login again. ",-1),d=(0,i.Uk)("Change address");function r(e,a,t,r,u,c){const m=(0,i.up)("q-card-section"),p=(0,i.up)("q-icon"),f=(0,i.up)("q-input"),g=(0,i.up)("q-btn"),h=(0,i.up)("q-card-actions"),b=(0,i.up)("q-card"),w=(0,i.up)("q-fab-action"),q=(0,i.up)("q-fab"),_=(0,i.up)("q-page-sticky"),y=(0,i.up)("q-page");return(0,i.wg)(),(0,i.j4)(y,null,{default:(0,i.w5)((()=>[(0,i._)("div",s,[(0,i._)("div",n,[(0,i.Wm)(b,{bordered:""},{default:(0,i.w5)((()=>[(0,i.Wm)(m,null,{default:(0,i.w5)((()=>[l])),_:1}),(0,i.Wm)(m,null,{default:(0,i.w5)((()=>[(0,i.Wm)(f,{outlined:"",type:"email",required:"",modelValue:u.emailAddress,"onUpdate:modelValue":a[0]||(a[0]=e=>u.emailAddress=e),label:"Email address"},{prepend:(0,i.w5)((()=>[(0,i.Wm)(p,{name:"fas fa-envelope"})])),_:1},8,["modelValue"]),o])),_:1}),u.emailTouched?((0,i.wg)(),(0,i.j4)(h,{key:0},{default:(0,i.w5)((()=>[(0,i.Wm)(g,{flat:"",onClick:c.confirmAddressChange},{default:(0,i.w5)((()=>[d])),_:1},8,["onClick"])])),_:1})):(0,i.kq)("",!0)])),_:1})])]),(0,i.Wm)(_,{position:"bottom-right",offset:[18,18]},{default:(0,i.w5)((()=>[(0,i.Wm)(q,{label:"Actions",square:"","vertical-actions-align":"right","label-position":"left",color:"green",icon:"fas fa-chevron-up",direction:"up"},{default:(0,i.w5)((()=>[(0,i.Wm)(w,{color:"primary",square:"",to:{name:"profile.data"},icon:"fas fa-database",label:"Manage data"},null,8,["to"])])),_:1})])),_:1})])),_:1})}var u=t(1569);class c{get(){return u.api.get("/api/v1/about/user")}put(e,a){return console.log("here we are"),u.api.put("/api/v1/users/"+e,a)}logout(){return u.api.post("/logout")}}const m={name:"Index",data(){return{tab:"mails",id:0,emailAddress:"",emailOriginal:"",emailTouched:!1}},watch:{emailAddress:function(e){this.emailTouched=!1,this.emailOriginal!==e&&(this.emailTouched=!0)}},created(){this.getUserInfo()},methods:{getUserInfo:function(){(new c).get().then((e=>{this.emailAddress=e.data.data.attributes.email,this.emailOriginal=e.data.data.attributes.email,this.id=parseInt(e.data.data.id)}))},confirmAddressChange:function(){this.$q.dialog({title:"Confirm",message:"Are you sure?",cancel:!0,persistent:!1}).onOk((()=>{this.submitAddressChange()})).onCancel((()=>{})).onDismiss((()=>{}))},submitAddressChange:function(){(new c).put(this.id,{email:this.emailAddress}).then((e=>{(new c).logout()}))}}};var p=t(1639),f=t(9885),g=t(4458),h=t(3190),b=t(6611),w=t(2857),q=t(1821),_=t(8879),y=t(3388),A=t(9361),C=t(935),k=t(9984),v=t.n(k);const Z=(0,p.Z)(m,[["render",r]]),Q=Z;v()(m,"components",{QPage:f.Z,QCard:g.Z,QCardSection:h.Z,QInput:b.Z,QIcon:w.Z,QCardActions:q.Z,QBtn:_.Z,QPageSticky:y.Z,QFab:A.Z,QFabAction:C.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/2106.33b7eabd.js b/public/v3/js/2106.33b7eabd.js new file mode 100644 index 0000000000..f62a1866ba --- /dev/null +++ b/public/v3/js/2106.33b7eabd.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[2106],{2106:(e,s,t)=>{t.r(s),t.d(s,{default:()=>O});var r=t(9835),a=t(6970);const i={class:"row q-mx-md"},o={class:"col-12"},l={class:"row q-mx-md q-mt-md"},n={class:"col-12"},u={class:"text-h6"},m={class:"row"},d={class:"col-12 q-mb-xs"},c={class:"row"},b={class:"col-12 q-mb-xs"},p={class:"row"},h={class:"col-6 q-mb-xs q-pr-xs"},_={class:"col-6 q-mb-xs q-pl-xs"},f={class:"row"},q={class:"col-12 q-mb-xs"},g={class:"row q-mx-md"},w={class:"col-12"},x={class:"row"},v={class:"col-12 text-right"},y={class:"row"},E={class:"col-12 text-right"};function S(e,s,t,S,V,k){const W=(0,r.up)("q-btn"),$=(0,r.up)("q-banner"),I=(0,r.up)("q-card-section"),Z=(0,r.up)("q-input"),C=(0,r.up)("q-select"),M=(0,r.up)("q-card"),Q=(0,r.up)("q-checkbox"),R=(0,r.up)("q-page");return(0,r.wg)(),(0,r.j4)(R,null,{default:(0,r.w5)((()=>[(0,r._)("div",i,[(0,r._)("div",o,[""!==V.errorMessage?((0,r.wg)(),(0,r.j4)($,{key:0,"inline-actions":"",rounded:"",class:"bg-orange text-white"},{action:(0,r.w5)((()=>[(0,r.Wm)(W,{flat:"",onClick:k.dismissBanner,label:"Dismiss"},null,8,["onClick"])])),default:(0,r.w5)((()=>[(0,r.Uk)((0,a.zw)(V.errorMessage)+" ",1)])),_:1})):(0,r.kq)("",!0)])]),(0,r._)("div",l,[(0,r._)("div",n,[(0,r.Wm)(M,{bordered:""},{default:(0,r.w5)((()=>[(0,r.Wm)(I,null,{default:(0,r.w5)((()=>[(0,r._)("div",u,"Edit subscription "+(0,a.zw)(V.name),1)])),_:1}),(0,r.Wm)(I,null,{default:(0,r.w5)((()=>[(0,r._)("div",m,[(0,r._)("div",d,[(0,r.Wm)(Z,{"error-message":V.submissionErrors.name,error:V.hasSubmissionErrors.name,"bottom-slots":"",disable:k.disabledInput,type:"text",clearable:"",modelValue:V.name,"onUpdate:modelValue":s[0]||(s[0]=e=>V.name=e),label:e.$t("form.name"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])]),(0,r._)("div",c,[(0,r._)("div",b,[(0,r.Wm)(Z,{"error-message":V.submissionErrors.date,error:V.hasSubmissionErrors.date,"bottom-slots":"",disable:k.disabledInput,type:"date",modelValue:V.date,"onUpdate:modelValue":s[1]||(s[1]=e=>V.date=e),label:e.$t("form.date"),hint:"The next date you expect the subscription to hit",outlined:""},null,8,["error-message","error","disable","modelValue","label"])])]),(0,r._)("div",p,[(0,r._)("div",h,[(0,r.Wm)(Z,{"error-message":V.submissionErrors.amount_min,error:V.hasSubmissionErrors.amount_min,"bottom-slots":"",disable:k.disabledInput,type:"number",modelValue:V.amount_min,"onUpdate:modelValue":s[2]||(s[2]=e=>V.amount_min=e),label:e.$t("form.amount_min"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])]),(0,r._)("div",_,[(0,r.Wm)(Z,{"error-message":V.submissionErrors.amount_max,error:V.hasSubmissionErrors.amount_max,rules:[e=>parseFloat(e)>=parseFloat(V.amount_min)||"Must be more than minimum amount"],"bottom-slots":"",disable:k.disabledInput,type:"number",modelValue:V.amount_max,"onUpdate:modelValue":s[3]||(s[3]=e=>V.amount_max=e),label:e.$t("form.amount_max"),outlined:""},null,8,["error-message","error","rules","disable","modelValue","label"])]),(0,r._)("div",f,[(0,r._)("div",q,[(0,r.Wm)(C,{"error-message":V.submissionErrors.repeat_freq,error:V.hasSubmissionErrors.repeat_freq,outlined:"",modelValue:V.repeat_freq,"onUpdate:modelValue":s[4]||(s[4]=e=>V.repeat_freq=e),options:V.repeatFrequencies,label:"Outlined"},null,8,["error-message","error","modelValue","options"])])])])])),_:1})])),_:1})])]),(0,r._)("div",g,[(0,r._)("div",w,[(0,r.Wm)(M,{class:"q-mt-xs"},{default:(0,r.w5)((()=>[(0,r.Wm)(I,null,{default:(0,r.w5)((()=>[(0,r._)("div",x,[(0,r._)("div",v,[(0,r.Wm)(W,{disable:k.disabledInput,color:"primary",label:"Submit",onClick:k.submitSubscription},null,8,["disable","onClick"])])]),(0,r._)("div",y,[(0,r._)("div",E,[(0,r.Wm)(Q,{disable:k.disabledInput,modelValue:V.doReturnHere,"onUpdate:modelValue":s[5]||(s[5]=e=>V.doReturnHere=e),"left-label":"",label:"Return here to create another one"},null,8,["disable","modelValue"])])])])),_:1})])),_:1})])])])),_:1})}var V=t(1569);class k{put(e,s){let t="/api/v1/bills/"+e;return V.api.put(t,s)}}var W=t(8898),$=t(3684);const I={name:"Edit",data(){return{tab:"split-0",submissionErrors:{},hasSubmissionErrors:{},submitting:!1,doReturnHere:!1,doResetForm:!1,errorMessage:"",repeatFrequencies:[],id:0,name:"",date:"",repeat_freq:"monthly",amount_min:"",amount_max:""}},computed:{disabledInput:function(){return this.submitting}},created(){this.date=(0,W.Z)(new Date,"y-MM-dd"),this.repeatFrequencies=[{label:this.$t("firefly.repeat_freq_weekly"),value:"weekly"},{label:this.$t("firefly.repeat_freq_monthly"),value:"monthly"},{label:this.$t("firefly.repeat_freq_quarterly"),value:"quarterly"},{label:this.$t("firefly.repeat_freq_half-year"),value:"half-year"},{label:this.$t("firefly.repeat_freq_yearly"),value:"yearly"}],this.id=parseInt(this.$route.params.id),this.collectSubscription()},methods:{resetErrors:function(){this.submissionErrors={name:"",date:"",repeat_freq:"",amount_min:"",amount_max:""},this.hasSubmissionErrors={name:!1,date:!1,repeat_freq:!1,amount_min:!1,amount_max:!1}},collectSubscription:function(){let e=new $.Z;e.get(this.id).then((e=>this.parseSubscription(e)))},submitSubscription:function(){this.submitting=!0,this.errorMessage="",this.resetErrors();const e=this.buildSubscription();let s=new k;s.put(this.id,e).catch(this.processErrors).then(this.processSuccess)},parseSubscription:function(e){this.name=e.data.data.attributes.name,this.date=e.data.data.attributes.date.substr(0,10),console.log(this.date),this.repeat_freq=e.data.data.attributes.repeat_freq,this.amount_min=e.data.data.attributes.amount_min,this.amount_max=e.data.data.attributes.amount_max},buildSubscription:function(){let e={name:this.name,date:this.date,repeat_freq:this.repeat_freq,amount_min:this.amount_min,amount_max:this.amount_max};return e},dismissBanner:function(){this.errorMessage=""},processSuccess:function(e){if(!e)return;this.submitting=!1;let s={level:"success",text:"I am updated subscription ",show:!0,action:{show:!0,text:"Go to subscription",link:{name:"subscriptions.show",params:{id:parseInt(e.data.data.id)}}}};this.$q.localStorage.set("flash",s),this.doReturnHere&&window.dispatchEvent(new CustomEvent("flash",{detail:{flash:this.$q.localStorage.getItem("flash")}})),this.doReturnHere||this.$router.go(-1)},processErrors:function(e){if(e.response){let s=e.response.data;this.errorMessage=s.message,console.log(s);for(let e in s.errors)s.errors.hasOwnProperty(e)&&(this.submissionErrors[e]=s.errors[e][0],this.hasSubmissionErrors[e]=!0)}this.submitting=!1}}};var Z=t(1639),C=t(9885),M=t(7128),Q=t(8879),R=t(4458),U=t(3190),F=t(6611),H=t(7887),B=t(1221),j=t(9984),z=t.n(j);const D=(0,Z.Z)(I,[["render",S]]),O=D;z()(I,"components",{QPage:C.Z,QBanner:M.Z,QBtn:Q.Z,QCard:R.Z,QCardSection:U.Z,QInput:F.Z,QSelect:H.Z,QCheckbox:B.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/2124.bfc4091d.js b/public/v3/js/2124.bfc4091d.js new file mode 100644 index 0000000000..4fcd404775 --- /dev/null +++ b/public/v3/js/2124.bfc4091d.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[2124],{2124:(e,t,a)=>{a.r(t),a.d(t,{default:()=>$});var i=a(9835),n=a(6970);const r=(0,i.Uk)("Edit"),s=(0,i.Uk)("Delete");function o(e,t,a,o,l,u){const d=(0,i.up)("q-th"),p=(0,i.up)("q-tr"),c=(0,i.up)("router-link"),g=(0,i.up)("q-td"),m=(0,i.up)("q-item-label"),f=(0,i.up)("q-item-section"),h=(0,i.up)("q-item"),w=(0,i.up)("q-list"),y=(0,i.up)("q-btn-dropdown"),b=(0,i.up)("q-table"),k=(0,i.up)("q-fab-action"),_=(0,i.up)("q-fab"),q=(0,i.up)("q-page-sticky"),Z=(0,i.up)("q-page"),W=(0,i.Q2)("close-popup");return(0,i.wg)(),(0,i.j4)(Z,null,{default:(0,i.w5)((()=>[(0,i.Wm)(b,{title:e.$t("firefly.currencies"),rows:l.rows,columns:l.columns,"row-key":"id",onRequest:u.onRequest,pagination:l.pagination,"onUpdate:pagination":t[0]||(t[0]=e=>l.pagination=e),loading:l.loading,class:"q-ma-md"},{header:(0,i.w5)((e=>[(0,i.Wm)(p,{props:e},{default:(0,i.w5)((()=>[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.cols,(t=>((0,i.wg)(),(0,i.j4)(d,{key:t.name,props:e},{default:(0,i.w5)((()=>[(0,i.Uk)((0,n.zw)(t.label),1)])),_:2},1032,["props"])))),128))])),_:2},1032,["props"])])),body:(0,i.w5)((e=>[(0,i.Wm)(p,{props:e},{default:(0,i.w5)((()=>[(0,i.Wm)(g,{key:"name",props:e},{default:(0,i.w5)((()=>[(0,i.Wm)(c,{to:{name:"currencies.show",params:{code:e.row.code}},class:"text-primary"},{default:(0,i.w5)((()=>[(0,i.Uk)((0,n.zw)(e.row.name),1)])),_:2},1032,["to"])])),_:2},1032,["props"]),(0,i.Wm)(g,{key:"name",props:e},{default:(0,i.w5)((()=>[(0,i.Uk)((0,n.zw)(e.row.code),1)])),_:2},1032,["props"]),(0,i.Wm)(g,{key:"menu",props:e},{default:(0,i.w5)((()=>[(0,i.Wm)(y,{color:"primary",label:"Actions",size:"sm"},{default:(0,i.w5)((()=>[(0,i.Wm)(w,null,{default:(0,i.w5)((()=>[(0,i.wy)(((0,i.wg)(),(0,i.j4)(h,{clickable:"",to:{name:"currencies.edit",params:{code:e.row.code}}},{default:(0,i.w5)((()=>[(0,i.Wm)(f,null,{default:(0,i.w5)((()=>[(0,i.Wm)(m,null,{default:(0,i.w5)((()=>[r])),_:1})])),_:1})])),_:2},1032,["to"])),[[W]]),(0,i.wy)(((0,i.wg)(),(0,i.j4)(h,{clickable:"",onClick:t=>u.deleteCurrency(e.row.code,e.row.name)},{default:(0,i.w5)((()=>[(0,i.Wm)(f,null,{default:(0,i.w5)((()=>[(0,i.Wm)(m,null,{default:(0,i.w5)((()=>[s])),_:1})])),_:1})])),_:2},1032,["onClick"])),[[W]])])),_:2},1024)])),_:2},1024)])),_:2},1032,["props"])])),_:2},1032,["props"])])),_:1},8,["title","rows","columns","onRequest","pagination","loading"]),(0,i.Wm)(q,{position:"bottom-right",offset:[18,18]},{default:(0,i.w5)((()=>[(0,i.Wm)(_,{label:"Actions",square:"","vertical-actions-align":"right","label-position":"left",color:"green",icon:"fas fa-chevron-up",direction:"up"},{default:(0,i.w5)((()=>[(0,i.Wm)(k,{color:"primary",square:"",to:{name:"currencies.create"},icon:"fas fa-exchange-alt",label:"New currency"},null,8,["to"])])),_:1})])),_:1})])),_:1})}var l=a(1049),u=a(7913),d=a(6108);const p={name:"Index",watch:{$route(e){"currencies.index"===e.name&&(this.page=1,this.updateBreadcrumbs(),this.triggerUpdate())}},data(){return{rows:[],pagination:{sortBy:"desc",descending:!1,page:1,rowsPerPage:5,rowsNumber:100},loading:!1,columns:[{name:"name",label:"Name",field:"name",align:"left"},{name:"name",label:"Code",field:"code",align:"left"},{name:"menu",label:" ",field:"menu",align:"right"}]}},computed:{...(0,l.Se)("fireflyiii",["getRange","getCacheKey","getListPageSize"])},created(){this.pagination.rowsPerPage=this.getListPageSize},mounted(){if(this.type=this.$route.params.type,null===this.getRange.start||null===this.getRange.end){const e=(0,l.oR)();e.subscribe(((e,t)=>{"fireflyiii/setRange"===e.type&&(this.range={start:e.payload.start,end:e.payload.end},this.triggerUpdate())}))}null!==this.getRange.start&&null!==this.getRange.end&&(this.range={start:this.getRange.start,end:this.getRange.end},this.triggerUpdate())},methods:{deleteCurrency:function(e,t){this.$q.dialog({title:"Confirm",message:'Do you want to delete currency "'+t+'"? Any and all transactions linked to this currency will be deleted as well.',cancel:!0,persistent:!0}).onOk((()=>{this.destroyCurrency(e)}))},destroyCurrency:function(e){new u.Z("currencies").destroy(e).then((()=>{this.$store.dispatch("fireflyiii/refreshCacheKey"),this.triggerUpdate()}))},updateBreadcrumbs:function(){this.$route.meta.pageTitle="firefly.currencies",this.$route.meta.breadcrumbs=[{title:"currencies"}]},onRequest:function(e){this.page=e.pagination.page,this.triggerUpdate()},triggerUpdate:function(){if(this.loading)return;if(null===this.range.start||null===this.range.end)return;this.loading=!0;const e=new d.Z;this.rows=[],e.list(this.page,this.getCacheKey).then((e=>{this.pagination.rowsPerPage=e.data.meta.pagination.per_page,this.pagination.rowsNumber=e.data.meta.pagination.total,this.pagination.page=this.page;for(let t in e.data.data)if(e.data.data.hasOwnProperty(t)){let a=e.data.data[t],i={id:a.id,name:a.attributes.name,code:a.attributes.code};this.rows.push(i)}this.loading=!1}))}}};var c=a(1639),g=a(9885),m=a(1746),f=a(9546),h=a(1682),w=a(7220),y=a(2045),b=a(3246),k=a(490),_=a(1233),q=a(3115),Z=a(3388),W=a(9361),C=a(935),Q=a(2146),R=a(9984),P=a.n(R);const U=(0,c.Z)(p,[["render",o]]),$=U;P()(p,"components",{QPage:g.Z,QTable:m.Z,QTr:f.Z,QTh:h.Z,QTd:w.Z,QBtnDropdown:y.Z,QList:b.Z,QItem:k.Z,QItemSection:_.Z,QItemLabel:q.Z,QPageSticky:Z.Z,QFab:W.Z,QFabAction:C.Z}),P()(p,"directives",{ClosePopup:Q.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/2194.4baebc21.js b/public/v3/js/2194.4baebc21.js new file mode 100644 index 0000000000..8ab8ed4c3c --- /dev/null +++ b/public/v3/js/2194.4baebc21.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[2194],{2194:(s,e,t)=>{t.r(e),t.d(e,{default:()=>A});var r=t(9835),a=t(6970);const o={class:"row q-mx-md"},i={class:"col-12"},n={class:"row"},l={class:"col-12"},d={class:"text-h6"},u={class:"row"},c={class:"col-12 q-mb-xs"},m={class:"row"},b={class:"col-4 q-mb-xs q-pr-xs"},p={class:"col-4 q-px-xs"},h={class:"col-4 q-pl-xs"},f={class:"row"},g={class:"col-4"},_={class:"row"},w={class:"col"},E={class:"col"},V={class:"row q-mx-md"},v={class:"col-12"},y={class:"row"},S={class:"col-12 text-right"},k={class:"row"},q={class:"col-12 text-right"},x=(0,r._)("br",null,null,-1);function I(s,e,t,I,U,W){const Z=(0,r.up)("q-btn"),T=(0,r.up)("q-banner"),Q=(0,r.up)("q-card-section"),$=(0,r.up)("q-input"),C=(0,r.up)("q-card"),R=(0,r.up)("q-tab-panel"),D=(0,r.up)("q-tab-panels"),M=(0,r.up)("q-checkbox"),H=(0,r.up)("q-page");return(0,r.wg)(),(0,r.j4)(H,null,{default:(0,r.w5)((()=>[(0,r._)("div",o,[(0,r._)("div",i,[""!==U.errorMessage?((0,r.wg)(),(0,r.j4)(T,{key:0,"inline-actions":"",rounded:"",class:"bg-orange text-white"},{action:(0,r.w5)((()=>[(0,r.Wm)(Z,{flat:"",onClick:W.dismissBanner,label:"Dismiss"},null,8,["onClick"])])),default:(0,r.w5)((()=>[(0,r.Uk)((0,a.zw)(U.errorMessage)+" ",1)])),_:1})):(0,r.kq)("",!0)])]),(0,r._)("div",n,[(0,r._)("div",l,[(0,r.Wm)(D,{modelValue:U.tab,"onUpdate:modelValue":e[0]||(e[0]=s=>U.tab=s),animated:""},{default:(0,r.w5)((()=>[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(U.transactions,((e,t)=>((0,r.wg)(),(0,r.j4)(R,{key:t,name:"split-"+t},{default:(0,r.w5)((()=>[(0,r.Wm)(C,{bordered:""},{default:(0,r.w5)((()=>[(0,r.Wm)(Q,null,{default:(0,r.w5)((()=>[(0,r._)("div",d,"Info for "+(0,a.zw)(s.$route.params.type)+" "+(0,a.zw)(t),1)])),_:2},1024),(0,r.Wm)(Q,null,{default:(0,r.w5)((()=>[(0,r._)("div",u,[(0,r._)("div",c,[(0,r.Wm)($,{"error-message":U.submissionErrors[t].description,error:U.hasSubmissionErrors[t].description,"bottom-slots":"",disable:W.disabledInput,type:"text",clearable:"",modelValue:e.description,"onUpdate:modelValue":s=>e.description=s,label:s.$t("firefly.description"),outlined:""},null,8,["error-message","error","disable","modelValue","onUpdate:modelValue","label"])])]),(0,r._)("div",m,[(0,r._)("div",b,[(0,r.Wm)($,{"error-message":U.submissionErrors[t].source,error:U.hasSubmissionErrors[t].source,"bottom-slots":"",disable:W.disabledInput,clearable:"",modelValue:e.source,"onUpdate:modelValue":s=>e.source=s,label:s.$t("firefly.source_account"),outlined:""},null,8,["error-message","error","disable","modelValue","onUpdate:modelValue","label"])]),(0,r._)("div",p,[(0,r.Wm)($,{"error-message":U.submissionErrors[t].amount,error:U.hasSubmissionErrors[t].amount,"bottom-slots":"",disable:W.disabledInput,clearable:"",mask:"#.##","reverse-fill-mask":"",hint:"Expects #.##","fill-mask":"0",modelValue:e.amount,"onUpdate:modelValue":s=>e.amount=s,label:s.$t("firefly.amount"),outlined:""},null,8,["error-message","error","disable","modelValue","onUpdate:modelValue","label"])]),(0,r._)("div",h,[(0,r.Wm)($,{"error-message":U.submissionErrors[t].destination,error:U.hasSubmissionErrors[t].destination,"bottom-slots":"",disable:W.disabledInput,clearable:"",modelValue:e.destination,"onUpdate:modelValue":s=>e.destination=s,label:s.$t("firefly.destination_account"),outlined:""},null,8,["error-message","error","disable","modelValue","onUpdate:modelValue","label"])])]),(0,r._)("div",f,[(0,r._)("div",g,[(0,r._)("div",_,[(0,r._)("div",w,[(0,r.Wm)($,{"error-message":U.submissionErrors[t].date,error:U.hasSubmissionErrors[t].date,"bottom-slots":"",disable:W.disabledInput,modelValue:e.date,"onUpdate:modelValue":s=>e.date=s,outlined:"",type:"date",hint:s.$t("firefly.date")},null,8,["error-message","error","disable","modelValue","onUpdate:modelValue","hint"])]),(0,r._)("div",E,[(0,r.Wm)($,{"bottom-slots":"",disable:W.disabledInput,modelValue:e.time,"onUpdate:modelValue":s=>e.time=s,outlined:"",type:"time",hint:s.$t("firefly.time")},null,8,["disable","modelValue","onUpdate:modelValue","hint"])])])])])])),_:2},1024)])),_:2},1024)])),_:2},1032,["name"])))),128))])),_:1},8,["modelValue"])])]),(0,r._)("div",V,[(0,r._)("div",v,[(0,r.Wm)(C,{class:"q-mt-xs"},{default:(0,r.w5)((()=>[(0,r.Wm)(Q,null,{default:(0,r.w5)((()=>[(0,r._)("div",y,[(0,r._)("div",S,[(0,r.Wm)(Z,{disable:W.disabledInput,color:"primary",label:"Submit",onClick:W.submitTransaction},null,8,["disable","onClick"])])]),(0,r._)("div",k,[(0,r._)("div",q,[(0,r.Wm)(M,{disable:W.disabledInput,modelValue:U.doReturnHere,"onUpdate:modelValue":e[1]||(e[1]=s=>U.doReturnHere=s),"left-label":"",label:"Return here to create another one"},null,8,["disable","modelValue"]),x,(0,r.Wm)(M,{modelValue:U.doResetForm,"onUpdate:modelValue":e[2]||(e[2]=s=>U.doResetForm=s),"left-label":"",disable:!U.doReturnHere||W.disabledInput,label:"Reset form after submission"},null,8,["modelValue","disable"])])])])),_:1})])),_:1})])])])),_:1})}var U=t(8898),W=t(5115),Z=t(1569);class T{post(s){let e="/api/v1/transactions";return Z.api.post(e,s)}}const Q={name:"Create",data(){return{tab:"split-0",transactions:[],submissionErrors:[],hasSubmissionErrors:[],submitting:!1,doReturnHere:!1,doResetForm:!1,group_title:"",errorMessage:""}},computed:{disabledInput:function(){return this.submitting}},created(){this.resetForm()},methods:{resetForm:function(){this.transactions=[];const s=this.getDefaultTransaction();this.transactions.push(s.transaction),this.submissionErrors.push(s.submissionError),this.hasSubmissionErrors.push(s.hasSubmissionError)},addTransaction:function(){const s=this.getDefaultTransaction();this.transactions.push(s),this.tab="split-"+(parseInt(this.transactions.length)-1)},getSplitLabel:function(s){return this.transactions.hasOwnProperty(s)&&null!==this.transactions[s].description&&this.transactions[s].description.length>0?this.transactions[s].description:this.$t("firefly.single_split")+" "+(s+1)},dismissBanner:function(){this.errorMessage=""},submitTransaction:function(){this.submitting=!0,this.errorMessage="",this.resetErrors();const s=this.buildTransaction();let e=new T;e.post(s).catch(this.processErrors).then(this.processSuccess)},processSuccess:function(s){this.submitting=!1;let e={level:"success",text:"I am text",show:!0,action:{show:!0,text:"Go to transaction",link:{name:"transactions.show",params:{id:parseInt(s.data.data.id)}}}};this.$q.localStorage.set("flash",e),this.doReturnHere&&window.dispatchEvent(new CustomEvent("flash",{detail:{flash:this.$q.localStorage.getItem("flash")}})),this.doReturnHere||this.$router.go(-1)},resetErrors:function(){let s=this.transactions.length,e=this.getDefaultTransaction();for(let t=0;t{let t=(0,W.Z)(new Date(e.date+" "+e.time)),r={type:this.$route.params.type,description:e.description,source_name:e.source,destination_name:e.destination,amount:e.amount,date:t};s.transactions.push(r)})),s},getDefaultTransaction:function(){let s="",e="00:00";return 0===this.transactions.length&&(s=(0,U.Z)(new Date,"yyyy-MM-dd")),{submissionError:{description:"",amount:"",date:"",source:"",destination:""},hasSubmissionError:{description:!1,amount:!1,date:!1,source:!1,destination:!1},transaction:{description:"",date:s,time:e,amount:0,source:"",destination:"",budget:"",category:"",subscription:"",interest_date:"",book_date:"",process_date:"",due_date:"",payment_date:"",invoice_date:""}}}},preFetch(){}};var $=t(1639),C=t(9885),R=t(7128),D=t(8879),M=t(4458),H=t(3190),F=t(7817),P=t(900),B=t(9800),j=t(4106),z=t(6611),O=t(7887),G=t(1221),K=t(9984),L=t.n(K);const Y=(0,$.Z)(Q,[["render",I]]),A=Y;L()(Q,"components",{QPage:C.Z,QBanner:R.Z,QBtn:D.Z,QCard:M.Z,QCardSection:H.Z,QTabs:F.Z,QTab:P.Z,QTabPanels:B.Z,QTabPanel:j.Z,QInput:z.Z,QSelect:O.Z,QCheckbox:G.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/2372.f07615ae.js b/public/v3/js/2372.f07615ae.js new file mode 100644 index 0000000000..4525a5a910 --- /dev/null +++ b/public/v3/js/2372.f07615ae.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[2372],{2372:(t,e,i)=>{i.r(e),i.d(e,{default:()=>q});var r=i(9835),s=i(6970);const a={class:"row q-mx-md"},u={class:"col-12"},n={class:"text-h6"},l={class:"row"},o={class:"col-12 q-mb-xs"},d=(0,r._)("br",null,null,-1);function c(t,e,i,c,p,f){const h=(0,r.up)("q-card-section"),g=(0,r.up)("q-card"),w=(0,r.up)("q-page");return(0,r.wg)(),(0,r.j4)(w,null,{default:(0,r.w5)((()=>[(0,r._)("div",a,[(0,r._)("div",u,[(0,r.Wm)(g,{bordered:""},{default:(0,r.w5)((()=>[(0,r.Wm)(h,null,{default:(0,r.w5)((()=>[(0,r._)("div",n,(0,s.zw)(p.group.title),1)])),_:1}),(0,r.Wm)(h,null,{default:(0,r.w5)((()=>[(0,r._)("div",l,[(0,r._)("div",o,[(0,r.Uk)(" Title: "+(0,s.zw)(p.group.title),1),d])])])),_:1})])),_:1})])])])),_:1})}var p=i(1741);const f={name:"Show",data(){return{group:{},id:0}},created(){this.id=parseInt(this.$route.params.id),this.getGroup()},components:{},methods:{onRequest:function(t){this.page=t.page,this.getGroup()},getGroup:function(){let t=new p.Z;t.get(this.id).then((t=>this.parseGroup(t)))},parseGroup:function(t){this.group={title:t.data.data.attributes.title}}}};var h=i(1639),g=i(9885),w=i(4458),_=i(3190),m=i(9984),v=i.n(m);const b=(0,h.Z)(f,[["render",c]]),q=b;v()(f,"components",{QPage:g.Z,QCard:w.Z,QCardSection:_.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/2407.747d87e4.js b/public/v3/js/2407.747d87e4.js new file mode 100644 index 0000000000..13dd237bc6 --- /dev/null +++ b/public/v3/js/2407.747d87e4.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[2407],{2407:(e,t,s)=>{s.r(t),s.d(t,{default:()=>ee});var r=s(9835),i=s(6970);const o={class:"row q-mx-md"},l={class:"col-12"},a={class:"row q-mx-md q-mt-md"},n={class:"col-xl-4 col-lg-6 col-md-12 col-xs-12 q-px-xs"},d=(0,r._)("div",{class:"text-h6"},"Basic options for recurring transaction",-1),u={class:"row"},c={class:"col-12 q-mb-xs"},m={class:"row"},p={class:"col-12 q-mb-xs"},b={class:"col-xl-4 col-lg-6 col-md-12 col-xs-12 q-px-xs"},_=(0,r._)("div",{class:"text-h6"},"Repeat info",-1),h={class:"row"},g={class:"col-12 q-mb-xs"},f={class:"row"},y={class:"col-12 q-mb-xs"},x={class:"row"},w={class:"col-12 q-mb-xs"},v={class:"row q-mx-md q-mt-md"},E={class:"col-xl-4 col-lg-6 col-md-12 col-xs-12 q-px-xs"},k=(0,r._)("div",{class:"text-h6"},"Single transaction",-1),V={class:"col-xl-4 col-lg-6 col-md-12 col-xs-12 q-px-xs"},q=(0,r._)("div",{class:"text-h6"},"Single repetition",-1),W={class:"row q-mx-md"},S={class:"col-12 q-pa-xs"},I={class:"row"},R={class:"col-12 text-right"},Z={class:"row"},M={class:"col-12 text-right"},D=(0,r._)("br",null,null,-1);function U(e,t,s,U,C,$){const Q=(0,r.up)("q-btn"),P=(0,r.up)("q-banner"),F=(0,r.up)("q-card-section"),H=(0,r.up)("q-input"),T=(0,r.up)("q-select"),B=(0,r.up)("q-card"),j=(0,r.up)("q-checkbox"),O=(0,r.up)("q-page");return(0,r.wg)(),(0,r.j4)(O,null,{default:(0,r.w5)((()=>[(0,r._)("div",o,[(0,r._)("div",l,[""!==C.errorMessage?((0,r.wg)(),(0,r.j4)(P,{key:0,"inline-actions":"",rounded:"",class:"bg-orange text-white"},{action:(0,r.w5)((()=>[(0,r.Wm)(Q,{flat:"",onClick:$.dismissBanner,label:"Dismiss"},null,8,["onClick"])])),default:(0,r.w5)((()=>[(0,r.Uk)((0,i.zw)(C.errorMessage)+" ",1)])),_:1})):(0,r.kq)("",!0)])]),(0,r._)("div",a,[(0,r._)("div",n,[(0,r.Wm)(B,{bordered:""},{default:(0,r.w5)((()=>[(0,r.Wm)(F,null,{default:(0,r.w5)((()=>[d])),_:1}),(0,r.Wm)(F,null,{default:(0,r.w5)((()=>[(0,r._)("div",u,[(0,r._)("div",c,[(0,r.Wm)(H,{"error-message":C.submissionErrors.title,error:C.hasSubmissionErrors.title,"bottom-slots":"",disable:$.disabledInput,type:"text",clearable:"",modelValue:C.title,"onUpdate:modelValue":t[0]||(t[0]=e=>C.title=e),label:e.$t("form.title"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])]),(0,r._)("div",m,[(0,r._)("div",p,[(0,r.Wm)(T,{"error-message":C.submissionErrors.type,error:C.hasSubmissionErrors.type,"bottom-slots":"",disable:$.disabledInput,outlined:"",modelValue:C.type,"onUpdate:modelValue":t[1]||(t[1]=e=>C.type=e),"emit-value":"",class:"q-pr-xs","map-options":"",options:C.types,label:"Transaction type"},null,8,["error-message","error","disable","modelValue","options"])])])])),_:1})])),_:1})]),(0,r._)("div",b,[(0,r.Wm)(B,{bordered:""},{default:(0,r.w5)((()=>[(0,r.Wm)(F,null,{default:(0,r.w5)((()=>[_])),_:1}),(0,r.Wm)(F,null,{default:(0,r.w5)((()=>[(0,r._)("div",h,[(0,r._)("div",g,[(0,r.Wm)(H,{"error-message":C.submissionErrors.first_date,error:C.hasSubmissionErrors.first_date,clearable:"","bottom-slots":"",disable:$.disabledInput,type:"date",modelValue:C.first_date,"onUpdate:modelValue":t[2]||(t[2]=e=>C.first_date=e),label:e.$t("form.first_date"),hint:"The first date you want the recurrence",outlined:""},null,8,["error-message","error","disable","modelValue","label"])])]),(0,r._)("div",f,[(0,r._)("div",y,[(0,r.Wm)(H,{"error-message":C.submissionErrors.nr_of_repetitions,error:C.hasSubmissionErrors.nr_of_repetitions,clearable:"","bottom-slots":"",disable:$.disabledInput,type:"number",step:"1",modelValue:C.nr_of_repetitions,"onUpdate:modelValue":t[3]||(t[3]=e=>C.nr_of_repetitions=e),label:e.$t("form.repetitions"),hint:"nr_of_repetitions",outlined:""},null,8,["error-message","error","disable","modelValue","label"])])]),(0,r._)("div",x,[(0,r._)("div",w,[(0,r.Wm)(H,{"error-message":C.submissionErrors.repeat_until,error:C.hasSubmissionErrors.repeat_until,"bottom-slots":"",disable:$.disabledInput,type:"date",modelValue:C.repeat_until,"onUpdate:modelValue":t[4]||(t[4]=e=>C.repeat_until=e),hint:"repeat_until",clearable:"",outlined:""},null,8,["error-message","error","disable","modelValue"])])])])),_:1})])),_:1})])]),(0,r._)("div",v,[(0,r._)("div",E,[(0,r.Wm)(B,{bordered:""},{default:(0,r.w5)((()=>[(0,r.Wm)(F,null,{default:(0,r.w5)((()=>[k])),_:1}),(0,r.Wm)(F,null,{default:(0,r.w5)((()=>[(0,r.Wm)(H,{"error-message":C.submissionErrors.transactions[C.index].description,error:C.hasSubmissionErrors.transactions[C.index].description,"bottom-slots":"",disable:$.disabledInput,type:"text",clearable:"",modelValue:C.transactions[C.index].description,"onUpdate:modelValue":t[5]||(t[5]=e=>C.transactions[C.index].description=e),label:e.$t("form.description"),outlined:""},null,8,["error-message","error","disable","modelValue","label"]),(0,r.Wm)(H,{"error-message":C.submissionErrors.transactions[C.index].amount,error:C.hasSubmissionErrors.transactions[C.index].amount,"bottom-slots":"",disable:$.disabledInput,clearable:"",mask:C.balance_input_mask,"reverse-fill-mask":"",hint:"Expects #.##","fill-mask":"0",modelValue:C.transactions[C.index].amount,"onUpdate:modelValue":t[6]||(t[6]=e=>C.transactions[C.index].amount=e),label:e.$t("firefly.amount"),outlined:""},null,8,["error-message","error","disable","mask","modelValue","label"]),(0,r.Wm)(T,{"error-message":C.submissionErrors.transactions[C.index].source_id,error:C.hasSubmissionErrors.transactions[C.index].source_id,modelValue:C.transactions[C.index].source_id,"onUpdate:modelValue":t[7]||(t[7]=e=>C.transactions[C.index].source_id=e),"bottom-slots":"",disable:C.loading,outlined:"","emit-value":"",class:"q-pr-xs","map-options":"",options:C.accounts,label:"Source account"},null,8,["error-message","error","modelValue","disable","options"]),(0,r.Wm)(T,{"error-message":C.submissionErrors.transactions[C.index].destination_id,error:C.hasSubmissionErrors.transactions[C.index].destination_id,modelValue:C.transactions[C.index].destination_id,"onUpdate:modelValue":t[8]||(t[8]=e=>C.transactions[C.index].destination_id=e),"bottom-slots":"",disable:$.disabledInput,outlined:"","emit-value":"",class:"q-pr-xs","map-options":"",options:C.accounts,label:"Destination account"},null,8,["error-message","error","modelValue","disable","options"])])),_:1})])),_:1})]),(0,r._)("div",V,[(0,r.Wm)(B,{bordered:""},{default:(0,r.w5)((()=>[(0,r.Wm)(F,null,{default:(0,r.w5)((()=>[q])),_:1}),(0,r.Wm)(F,null,{default:(0,r.w5)((()=>[(0,r.Wm)(T,{"error-message":C.submissionErrors.repetitions[C.index].type,error:C.hasSubmissionErrors.repetitions[C.index].type,"bottom-slots":"","emit-value":"",outlined:"",modelValue:C.repetitions[C.index].type,"onUpdate:modelValue":t[9]||(t[9]=e=>C.repetitions[C.index].type=e),"map-options":"",options:C.repetition_types,label:"Type of repetition"},null,8,["error-message","error","modelValue","options"]),(0,r.Wm)(H,{"error-message":C.submissionErrors.repetitions[C.index].skip,error:C.hasSubmissionErrors.repetitions[C.index].skip,"bottom-slots":"",disable:$.disabledInput,clearable:"",modelValue:C.repetitions[C.index].skip,"onUpdate:modelValue":t[10]||(t[10]=e=>C.repetitions[C.index].skip=e),type:"number",min:"0",max:"31",label:e.$t("firefly.skip"),outlined:""},null,8,["error-message","error","disable","modelValue","label"]),(0,r.Wm)(T,{"error-message":C.submissionErrors.repetitions[C.index].weekend,error:C.hasSubmissionErrors.repetitions[C.index].weekend,modelValue:C.repetitions[C.index].weekend,"onUpdate:modelValue":t[11]||(t[11]=e=>C.repetitions[C.index].weekend=e),"bottom-slots":"",disable:$.disabledInput,outlined:"","emit-value":"",class:"q-pr-xs","map-options":"",options:C.weekends,label:"Weekend?"},null,8,["error-message","error","modelValue","disable","options"])])),_:1})])),_:1})])]),(0,r._)("div",W,[(0,r._)("div",S,[(0,r.Wm)(B,{class:"q-mt-xs"},{default:(0,r.w5)((()=>[(0,r.Wm)(F,null,{default:(0,r.w5)((()=>[(0,r._)("div",I,[(0,r._)("div",R,[(0,r.Wm)(Q,{disable:$.disabledInput,color:"primary",label:"Submit",onClick:$.submitRecurrence},null,8,["disable","onClick"])])]),(0,r._)("div",Z,[(0,r._)("div",M,[(0,r.Wm)(j,{disable:$.disabledInput,modelValue:C.doReturnHere,"onUpdate:modelValue":t[12]||(t[12]=e=>C.doReturnHere=e),"left-label":"",label:"Return here to create another one"},null,8,["disable","modelValue"]),D,(0,r.Wm)(j,{modelValue:C.doResetForm,"onUpdate:modelValue":t[13]||(t[13]=e=>C.doResetForm=e),"left-label":"",disable:!C.doReturnHere||$.disabledInput,label:"Reset form after submission"},null,8,["modelValue","disable"])])])])),_:1})])),_:1})])])])),_:1})}var C=s(1569);class ${post(e){let t="/api/v1/recurrences";return C.api.post(t,e)}}var Q=s(1049),P=s(8898),F=s(3836),H=s(8480);const T={name:"Create",data(){return{index:0,loading:!0,submissionErrors:{},hasSubmissionErrors:{},submitting:!1,doReturnHere:!1,doResetForm:!1,errorMessage:"",balance_input_mask:"#.##",types:[{value:"withdrawal",label:"Withdrawal"},{value:"deposit",label:"Deposit"},{value:"transfer",label:"Transfer"}],weekends:[{value:1,label:"dont care"},{value:2,label:"skip creation"},{value:3,label:"jump to previous friday"},{value:4,label:"jump to next monday"}],repetition_types:[],accounts:[],title:"",type:"withdrawal",first_date:"",nr_of_repetitions:null,repeat_until:null,repetitions:{},transactions:{}}},watch:{first_date:function(){this.recalculateRepetitions()}},computed:{...(0,Q.Se)("fireflyiii",["getCacheKey"]),disabledInput:function(){return this.submitting}},created(){this.resetForm(),this.getAccounts(),this.recalculateRepetitions()},methods:{recalculateRepetitions:function(){console.log("recalculateRepetitions");let e=(0,H.Z)(this.first_date+"T00:00:00"),t=this.getXth(e);this.repetition_types=[{value:"daily",label:"Every day"},{value:"monthly",label:"Every month on the "+(0,P.Z)(e,"do")+" day"},{value:"ndom",label:"Every month on the "+t+"-th "+(0,P.Z)(e,"EEEE")},{value:"yearly",label:"Every year on "+(0,P.Z)(e,"d MMMM")}]},getXth:function(e){let t=(0,P.Z)(e,"EEEE"),s=new Date(e),r=0;s.setDate(1);const i=new Date(s.getFullYear(),s.getMonth()+1,0).getDate();let o=1;while(s.getDate()<=i&&e.getMonth()===s.getMonth()||o<=32){if(o++,t===(0,P.Z)(s,"EEEE")&&r++,s.getDate()===e.getDate())return r;s.setDate(s.getDate()+1)}return r},resetForm:function(){this.title="",this.type="withdrawal",this.nr_of_repetitions=null,this.repeat_until=null;let e=new Date;e.setDate(e.getDate()+1),this.first_date=(0,P.Z)(e,"y-MM-dd"),this.repetitions=[{type:"daily",moment:"",skip:null,weekend:1}],this.transactions=[{description:null,amount:null,foreign_amount:null,currency_id:null,currency_code:null,foreign_currency_id:null,foreign_currency_code:null,budget_id:null,category_id:null,source_id:null,destination_id:null,tags:null,piggy_bank_id:null}],this.resetErrors()},resetErrors:function(){this.submissionErrors={title:"",type:"",first_date:"",nr_of_repetitions:"",repeat_until:"",transactions:[{description:"",amount:"",foreign_amount:"",currency_id:"",currency_code:"",foreign_currency_id:"",foreign_currency_code:"",budget_id:"",category_id:"",source_id:"",destination_id:"",tags:"",piggy_bank_id:""}],repetitions:[{type:"",moment:"",skip:"",weekend:""}]},this.hasSubmissionErrors={title:!1,type:!1,first_date:!1,nr_of_repetitions:!1,repeat_until:!1,transactions:[{description:!1,amount:!1,foreign_amount:!1,currency_id:!1,currency_code:!1,foreign_currency_id:!1,foreign_currency_code:!1,budget_id:!1,category_id:!1,source_id:!1,destination_id:!1,tags:!1,piggy_bank_id:!1}],repetitions:[{type:!1,moment:!1,skip:!1,weekend:!1}]}},submitRecurrence:function(){this.submitting=!0,this.errorMessage="",this.resetErrors();const e=this.buildRecurrence();(new $).post(e).catch(this.processErrors).then(this.processSuccess)},buildRecurrence:function(){let e={title:this.title,type:this.type,first_date:this.first_date,nr_of_repetitions:this.nr_of_repetitions,repeat_until:this.repeat_until,transactions:this.transactions,repetitions:[]};for(let t in this.repetitions)if(this.repetitions.hasOwnProperty(t)){let s="",r=(0,H.Z)(this.first_date+"T00:00:00");if("monthly"===this.repetitions[t].type&&(s=r.getDate().toString()),"ndom"===this.repetitions[t].type){let e=this.getXth(r);s=e+","+(0,P.Z)(r,"i")}"yearly"===this.repetitions[t].type&&(s=(0,P.Z)(r,"yyyy-MM-dd")),e.repetitions.push({type:this.repetitions[t].type,moment:s,skip:this.repetitions[t].skip,weekend:this.repetitions[t].weekend})}return e},dismissBanner:function(){this.errorMessage=""},processSuccess:function(e){if(!e)return;this.submitting=!1;let t={level:"success",text:"I am new recurrence",show:!0,action:{show:!0,text:"Go to recurrence",link:{name:"recurring.show",params:{id:parseInt(e.data.data.id)}}}};this.$q.localStorage.set("flash",t),this.doReturnHere&&window.dispatchEvent(new CustomEvent("flash",{detail:{flash:this.$q.localStorage.getItem("flash")}})),this.doReturnHere||this.$router.go(-1)},processErrors:function(e){if(e.response){let t=e.response.data;this.errorMessage=t.message;for(let e in t.errors)if(t.errors.hasOwnProperty(e)){let s=e;if(s.includes(".")){let r=s.split("."),i=r[0],o=parseInt(r[1]),l=r[2];this.submissionErrors[i][o][l]=t.errors[e][0],this.hasSubmissionErrors[i][o][l]=!0}s.includes(".")||(this.submissionErrors[e]=t.errors[e][0],this.hasSubmissionErrors[e]=!0)}}this.submitting=!1},getAccounts:function(){this.getPage(1)},getPage:function(e){(new F.Z).list("all",e,this.getCacheKey).then((t=>{let s=parseInt(t.data.meta.pagination.total_pages);for(let e in t.data.data)if(t.data.data.hasOwnProperty(e)){let s=t.data.data[e];this.accounts.push({value:parseInt(s.id),label:s.attributes.type+": "+s.attributes.name,decimal_places:parseInt(s.attributes.currency_decimal_places)})}ee.label>t.label?1:t.label>e.label?-1:0)))}))}}};var B=s(1639),j=s(9885),O=s(7128),X=s(8879),A=s(4458),K=s(3190),z=s(6611),G=s(7887),Y=s(1221),J=s(9984),L=s.n(J);const N=(0,B.Z)(T,[["render",U]]),ee=N;L()(T,"components",{QPage:j.Z,QBanner:O.Z,QBtn:X.Z,QCard:A.Z,QCardSection:K.Z,QInput:z.Z,QSelect:G.Z,QCheckbox:Y.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/2476.8af9976c.js b/public/v3/js/2476.8af9976c.js new file mode 100644 index 0000000000..08d1cd7658 --- /dev/null +++ b/public/v3/js/2476.8af9976c.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[2476],{2476:(e,s,t)=>{t.r(s),t.d(s,{default:()=>Q});var r=t(9835),l=t(6970);const o={class:"row q-mx-md"},i={class:"col-12"},a={class:"row q-mx-md q-mt-md"},n={class:"col-12"},u=(0,r._)("div",{class:"text-h6"},"Info for new rule group",-1),d={class:"row q-mx-md"},c={class:"col-12"},m={class:"row"},h={class:"col-12 text-right"},b={class:"row"},p={class:"col-12 text-right"},f=(0,r._)("br",null,null,-1);function g(e,s,t,g,w,_){const v=(0,r.up)("q-btn"),q=(0,r.up)("q-banner"),E=(0,r.up)("q-card-section"),R=(0,r.up)("q-input"),k=(0,r.up)("q-card"),x=(0,r.up)("q-checkbox"),C=(0,r.up)("q-page");return(0,r.wg)(),(0,r.j4)(C,null,{default:(0,r.w5)((()=>[(0,r._)("div",o,[(0,r._)("div",i,[""!==w.errorMessage?((0,r.wg)(),(0,r.j4)(q,{key:0,"inline-actions":"",rounded:"",class:"bg-orange text-white"},{action:(0,r.w5)((()=>[(0,r.Wm)(v,{flat:"",onClick:_.dismissBanner,label:"Dismiss"},null,8,["onClick"])])),default:(0,r.w5)((()=>[(0,r.Uk)((0,l.zw)(w.errorMessage)+" ",1)])),_:1})):(0,r.kq)("",!0)])]),(0,r._)("div",a,[(0,r._)("div",n,[(0,r.Wm)(k,{bordered:""},{default:(0,r.w5)((()=>[(0,r.Wm)(E,null,{default:(0,r.w5)((()=>[u])),_:1}),(0,r.Wm)(E,null,{default:(0,r.w5)((()=>[(0,r.Wm)(R,{"error-message":w.submissionErrors.title,error:w.hasSubmissionErrors.title,"bottom-slots":"",disable:_.disabledInput,type:"text",clearable:"",modelValue:w.title,"onUpdate:modelValue":s[0]||(s[0]=e=>w.title=e),label:e.$t("form.title"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])),_:1})])),_:1})])]),(0,r._)("div",d,[(0,r._)("div",c,[(0,r.Wm)(k,{class:"q-mt-xs"},{default:(0,r.w5)((()=>[(0,r.Wm)(E,null,{default:(0,r.w5)((()=>[(0,r._)("div",m,[(0,r._)("div",h,[(0,r.Wm)(v,{disable:_.disabledInput,color:"primary",label:"Submit",onClick:_.submitRuleGroup},null,8,["disable","onClick"])])]),(0,r._)("div",b,[(0,r._)("div",p,[(0,r.Wm)(x,{disable:_.disabledInput,modelValue:w.doReturnHere,"onUpdate:modelValue":s[1]||(s[1]=e=>w.doReturnHere=e),"left-label":"",label:"Return here to create another one"},null,8,["disable","modelValue"]),f,(0,r.Wm)(x,{modelValue:w.doResetForm,"onUpdate:modelValue":s[2]||(s[2]=e=>w.doResetForm=e),"left-label":"",disable:!w.doReturnHere||_.disabledInput,label:"Reset form after submission"},null,8,["modelValue","disable"])])])])),_:1})])),_:1})])])])),_:1})}var w=t(1569);class _{post(e){let s="/api/v1/rule_groups";return w.api.post(s,e)}}var v=t(1049);const q={name:"Create",data(){return{submissionErrors:{},hasSubmissionErrors:{},submitting:!1,doReturnHere:!1,doResetForm:!1,errorMessage:"",title:""}},computed:{...(0,v.Se)("fireflyiii",["getCacheKey"]),disabledInput:function(){return this.submitting}},created(){this.resetForm()},methods:{resetForm:function(){this.title="",this.resetErrors()},resetErrors:function(){this.submissionErrors={title:""},this.hasSubmissionErrors={title:!1}},submitRuleGroup:function(){this.submitting=!0,this.errorMessage="",this.resetErrors();const e=this.buildRuleGroup();(new _).post(e).catch(this.processErrors).then(this.processSuccess)},buildRuleGroup:function(){return{title:this.title}},dismissBanner:function(){this.errorMessage=""},processSuccess:function(e){if(!e)return;this.submitting=!1;let s={level:"success",text:"I am new rule group",show:!0,action:{show:!0,text:"Go to piggy",link:{name:"rule-groups.show",params:{id:parseInt(e.data.data.id)}}}};this.$q.localStorage.set("flash",s),this.doReturnHere&&window.dispatchEvent(new CustomEvent("flash",{detail:{flash:this.$q.localStorage.getItem("flash")}})),this.doReturnHere||this.$router.go(-1)},processErrors:function(e){if(e.response){let s=e.response.data;this.errorMessage=s.message,console.log(s);for(let e in s.errors)s.errors.hasOwnProperty(e)&&(this.submissionErrors[e]=s.errors[e][0],this.hasSubmissionErrors[e]=!0)}this.submitting=!1}}};var E=t(1639),R=t(9885),k=t(7128),x=t(8879),C=t(4458),S=t(3190),I=t(6611),W=t(1221),y=t(9984),V=t.n(y);const Z=(0,E.Z)(q,[["render",g]]),Q=Z;V()(q,"components",{QPage:R.Z,QBanner:k.Z,QBtn:x.Z,QCard:C.Z,QCardSection:S.Z,QInput:I.Z,QCheckbox:W.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/2686.5e278d64.js b/public/v3/js/2686.5e278d64.js new file mode 100644 index 0000000000..0b637976ad --- /dev/null +++ b/public/v3/js/2686.5e278d64.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[2686],{2686:(e,s,t)=>{t.r(s),t.d(s,{default:()=>k});var r=t(9835),a=t(6970);const i={class:"row q-mx-md"},n={class:"col-12"},o={class:"text-h6"},u={class:"row"},l={class:"col-12 q-mb-xs"},c=(0,r._)("br",null,null,-1),p={class:"row q-mt-sm"},d={class:"col-12"};function w(e,s,t,w,g,h){const m=(0,r.up)("q-card-section"),b=(0,r.up)("q-card"),f=(0,r.up)("LargeTable"),_=(0,r.up)("q-page");return(0,r.wg)(),(0,r.j4)(_,null,{default:(0,r.w5)((()=>[(0,r._)("div",i,[(0,r._)("div",n,[(0,r.Wm)(b,{bordered:""},{default:(0,r.w5)((()=>[(0,r.Wm)(m,null,{default:(0,r.w5)((()=>[(0,r._)("div",o,(0,a.zw)(g.subscription.name),1)])),_:1}),(0,r.Wm)(m,null,{default:(0,r.w5)((()=>[(0,r._)("div",u,[(0,r._)("div",l,[(0,r.Uk)(" Name: "+(0,a.zw)(g.subscription.name),1),c])])])),_:1})])),_:1})])]),(0,r._)("div",p,[(0,r._)("div",d,[(0,r.Wm)(f,{ref:"table",title:"Transactions",rows:g.rows,loading:e.loading,onOnRequest:h.onRequest,"rows-number":g.rowsNumber,"rows-per-page":g.rowsPerPage,page:g.page},null,8,["rows","loading","onOnRequest","rows-number","rows-per-page","page"])])])])),_:1})}var g=t(8925),h=t(3684),m=t(3247);const b={name:"Show",data(){return{subscription:{},rows:[],rowsNumber:1,rowsPerPage:10,page:1}},created(){this.id=parseInt(this.$route.params.id),this.getSubscription()},components:{LargeTable:g.Z},methods:{onRequest:function(e){this.page=e.page,this.getSubscription()},getSubscription:function(){let e=new h.Z;e.get(this.id).then((e=>this.parseSubscription(e))),this.loading=!0;const s=new m.Z;this.rows=[],e.transactions(this.id,this.page,this.getCacheKey).then((e=>{let t=s.parseResponse(e);this.rowsPerPage=t.rowsPerPage,this.rowsNumber=t.rowsNumber,this.rows=t.rows,this.loading=!1}))},parseSubscription:function(e){this.subscription={name:e.data.data.attributes.name}}}};var f=t(1639),_=t(9885),q=t(4458),v=t(3190),P=t(9984),S=t.n(P);const Z=(0,f.Z)(b,[["render",w]]),k=Z;S()(b,"components",{QPage:_.Z,QCard:q.Z,QCardSection:v.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/2700.1251f369.js b/public/v3/js/2700.1251f369.js new file mode 100644 index 0000000000..d15a1a0e85 --- /dev/null +++ b/public/v3/js/2700.1251f369.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[2700],{2700:(e,t,a)=>{a.r(t),a.d(t,{default:()=>$});var i=a(9835),n=a(6970);const r=(0,i.Uk)("Edit"),s=(0,i.Uk)("Delete");function o(e,t,a,o,l,u){const g=(0,i.up)("q-th"),p=(0,i.up)("q-tr"),d=(0,i.up)("router-link"),c=(0,i.up)("q-td"),m=(0,i.up)("q-item-label"),h=(0,i.up)("q-item-section"),f=(0,i.up)("q-item"),w=(0,i.up)("q-list"),y=(0,i.up)("q-btn-dropdown"),b=(0,i.up)("q-table"),q=(0,i.up)("q-fab-action"),_=(0,i.up)("q-fab"),k=(0,i.up)("q-page-sticky"),R=(0,i.up)("q-page"),Z=(0,i.Q2)("close-popup");return(0,i.wg)(),(0,i.j4)(R,null,{default:(0,i.w5)((()=>[(0,i.Wm)(b,{title:e.$t("firefly.recurring"),rows:l.rows,columns:l.columns,"row-key":"id",onRequest:u.onRequest,pagination:l.pagination,"onUpdate:pagination":t[0]||(t[0]=e=>l.pagination=e),loading:l.loading,class:"q-ma-md"},{header:(0,i.w5)((e=>[(0,i.Wm)(p,{props:e},{default:(0,i.w5)((()=>[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.cols,(t=>((0,i.wg)(),(0,i.j4)(g,{key:t.name,props:e},{default:(0,i.w5)((()=>[(0,i.Uk)((0,n.zw)(t.label),1)])),_:2},1032,["props"])))),128))])),_:2},1032,["props"])])),body:(0,i.w5)((e=>[(0,i.Wm)(p,{props:e},{default:(0,i.w5)((()=>[(0,i.Wm)(c,{key:"name",props:e},{default:(0,i.w5)((()=>[(0,i.Wm)(d,{to:{name:"recurring.show",params:{id:e.row.id}},class:"text-primary"},{default:(0,i.w5)((()=>[(0,i.Uk)((0,n.zw)(e.row.name),1)])),_:2},1032,["to"])])),_:2},1032,["props"]),(0,i.Wm)(c,{key:"menu",props:e},{default:(0,i.w5)((()=>[(0,i.Wm)(y,{color:"primary",label:"Actions",size:"sm"},{default:(0,i.w5)((()=>[(0,i.Wm)(w,null,{default:(0,i.w5)((()=>[(0,i.wy)(((0,i.wg)(),(0,i.j4)(f,{clickable:"",to:{name:"recurring.edit",params:{id:e.row.id}}},{default:(0,i.w5)((()=>[(0,i.Wm)(h,null,{default:(0,i.w5)((()=>[(0,i.Wm)(m,null,{default:(0,i.w5)((()=>[r])),_:1})])),_:1})])),_:2},1032,["to"])),[[Z]]),(0,i.wy)(((0,i.wg)(),(0,i.j4)(f,{clickable:"",onClick:t=>u.deleteRecurring(e.row.id,e.row.name)},{default:(0,i.w5)((()=>[(0,i.Wm)(h,null,{default:(0,i.w5)((()=>[(0,i.Wm)(m,null,{default:(0,i.w5)((()=>[s])),_:1})])),_:1})])),_:2},1032,["onClick"])),[[Z]])])),_:2},1024)])),_:2},1024)])),_:2},1032,["props"])])),_:2},1032,["props"])])),_:1},8,["title","rows","columns","onRequest","pagination","loading"]),(0,i.Wm)(k,{position:"bottom-right",offset:[18,18]},{default:(0,i.w5)((()=>[(0,i.Wm)(_,{label:"Actions",square:"","vertical-actions-align":"right","label-position":"left",color:"green",icon:"fas fa-chevron-up",direction:"up"},{default:(0,i.w5)((()=>[(0,i.Wm)(q,{color:"primary",square:"",to:{name:"recurring.create"},icon:"fas fa-exchange-alt",label:"New recurring transaction"},null,8,["to"])])),_:1})])),_:1})])),_:1})}var l=a(1049),u=a(7913),g=a(1569);class p{list(e,t){let a="/api/v1/recurrences";return g.api.get(a,{params:{page:e,cache:t}})}}const d={name:"Index",watch:{$route(e){"recurring.index"===e.name&&(this.page=1,this.updateBreadcrumbs(),this.triggerUpdate())}},data(){return{rows:[],pagination:{sortBy:"desc",descending:!1,page:1,rowsPerPage:5,rowsNumber:100},loading:!1,columns:[{name:"name",label:"Name",field:"name",align:"left"},{name:"menu",label:" ",field:"menu",align:"right"}]}},computed:{...(0,l.Se)("fireflyiii",["getRange","getCacheKey","getListPageSize"])},created(){this.pagination.rowsPerPage=this.getListPageSize},mounted(){if(this.type=this.$route.params.type,null===this.getRange.start||null===this.getRange.end){const e=(0,l.oR)();e.subscribe(((e,t)=>{"fireflyiii/setRange"===e.type&&(this.range={start:e.payload.start,end:e.payload.end},this.triggerUpdate())}))}null!==this.getRange.start&&null!==this.getRange.end&&(this.range={start:this.getRange.start,end:this.getRange.end},this.triggerUpdate())},methods:{deleteRecurring:function(e,t){this.$q.dialog({title:"Confirm",message:'Do you want to delete recurring transaction "'+t+'"?',cancel:!0,persistent:!0}).onOk((()=>{this.destroyRecurring(e)}))},destroyRecurring:function(e){new u.Z("recurrences").destroy(e).then((()=>{this.$store.dispatch("fireflyiii/refreshCacheKey"),this.triggerUpdate()}))},updateBreadcrumbs:function(){this.$route.meta.pageTitle="firefly.Recurring",this.$route.meta.breadcrumbs=[{title:"Recurring"}]},onRequest:function(e){this.page=e.pagination.page,this.triggerUpdate()},triggerUpdate:function(){if(this.loading)return;if(null===this.range.start||null===this.range.end)return;this.loading=!0;const e=new p;this.rows=[],e.list(this.page,this.getCacheKey).then((e=>{this.pagination.rowsPerPage=e.data.meta.pagination.per_page,this.pagination.rowsNumber=e.data.meta.pagination.total,this.pagination.page=this.page;for(let t in e.data.data)if(e.data.data.hasOwnProperty(t)){let a=e.data.data[t],i={id:a.id,name:a.attributes.title};this.rows.push(i)}this.loading=!1}))}}};var c=a(1639),m=a(9885),h=a(1746),f=a(9546),w=a(1682),y=a(7220),b=a(2045),q=a(3246),_=a(490),k=a(1233),R=a(3115),Z=a(3388),W=a(9361),Q=a(935),P=a(2146),U=a(9984),C=a.n(U);const v=(0,c.Z)(d,[["render",o]]),$=v;C()(d,"components",{QPage:m.Z,QTable:h.Z,QTr:f.Z,QTh:w.Z,QTd:y.Z,QBtnDropdown:b.Z,QList:q.Z,QItem:_.Z,QItemSection:k.Z,QItemLabel:R.Z,QPageSticky:Z.Z,QFab:W.Z,QFabAction:Q.Z}),C()(d,"directives",{ClosePopup:P.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/3232.0964e736.js b/public/v3/js/3232.0964e736.js new file mode 100644 index 0000000000..cd3354069d --- /dev/null +++ b/public/v3/js/3232.0964e736.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[3232],{3232:(e,s,t)=>{t.r(s),t.d(s,{default:()=>G});var r=t(9835),a=t(6970);const o={class:"row q-mx-md"},i={class:"col-12"},n={class:"row"},l={class:"col-12"},d={class:"text-h6"},u={class:"row"},c={class:"col-12 q-mb-xs"},m={class:"row"},p={class:"col-4 q-mb-xs q-pr-xs"},b={class:"col-4 q-px-xs"},h={class:"col-4 q-pl-xs"},f={class:"row"},_={class:"col-4"},g={class:"row"},w={class:"col"},E={class:"col"},v={class:"row q-mx-md"},y={class:"col-12"},V={class:"row"},k={class:"col-12 text-right"},S={class:"row"},x={class:"col-12 text-right"};function q(e,s,t,q,I,U){const W=(0,r.up)("q-btn"),T=(0,r.up)("q-banner"),Z=(0,r.up)("q-card-section"),$=(0,r.up)("q-input"),C=(0,r.up)("q-card"),Q=(0,r.up)("q-tab-panel"),M=(0,r.up)("q-tab-panels"),D=(0,r.up)("q-checkbox"),R=(0,r.up)("q-page");return(0,r.wg)(),(0,r.j4)(R,null,{default:(0,r.w5)((()=>[(0,r._)("div",o,[(0,r._)("div",i,[""!==I.errorMessage?((0,r.wg)(),(0,r.j4)(T,{key:0,"inline-actions":"",rounded:"",class:"bg-orange text-white"},{action:(0,r.w5)((()=>[(0,r.Wm)(W,{flat:"",onClick:U.dismissBanner,label:"Dismiss"},null,8,["onClick"])])),default:(0,r.w5)((()=>[(0,r.Uk)((0,a.zw)(I.errorMessage)+" ",1)])),_:1})):(0,r.kq)("",!0)])]),(0,r._)("div",n,[(0,r._)("div",l,[(0,r.Wm)(M,{modelValue:I.tab,"onUpdate:modelValue":s[0]||(s[0]=e=>I.tab=e),animated:""},{default:(0,r.w5)((()=>[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(I.transactions,((s,t)=>((0,r.wg)(),(0,r.j4)(Q,{key:t,name:"split-"+t},{default:(0,r.w5)((()=>[(0,r.Wm)(C,{bordered:""},{default:(0,r.w5)((()=>[(0,r.Wm)(Z,null,{default:(0,r.w5)((()=>[(0,r._)("div",d,"Info for "+(0,a.zw)(e.$route.params.type)+" "+(0,a.zw)(t),1)])),_:2},1024),(0,r.Wm)(Z,null,{default:(0,r.w5)((()=>[(0,r._)("div",u,[(0,r._)("div",c,[(0,r.Wm)($,{"error-message":I.submissionErrors[t].description,error:I.hasSubmissionErrors[t].description,"bottom-slots":"",disable:U.disabledInput,type:"text",clearable:"",modelValue:s.description,"onUpdate:modelValue":e=>s.description=e,label:e.$t("firefly.description"),outlined:""},null,8,["error-message","error","disable","modelValue","onUpdate:modelValue","label"])])]),(0,r._)("div",m,[(0,r._)("div",p,[(0,r.Wm)($,{"error-message":I.submissionErrors[t].source,error:I.hasSubmissionErrors[t].source,"bottom-slots":"",disable:U.disabledInput,clearable:"",modelValue:s.source,"onUpdate:modelValue":e=>s.source=e,label:e.$t("firefly.source_account"),outlined:""},null,8,["error-message","error","disable","modelValue","onUpdate:modelValue","label"])]),(0,r._)("div",b,[(0,r.Wm)($,{"error-message":I.submissionErrors[t].amount,error:I.hasSubmissionErrors[t].amount,"bottom-slots":"",disable:U.disabledInput,clearable:"",mask:"#.##","reverse-fill-mask":"",hint:"Expects #.##","fill-mask":"0",modelValue:s.amount,"onUpdate:modelValue":e=>s.amount=e,label:e.$t("firefly.amount"),outlined:""},null,8,["error-message","error","disable","modelValue","onUpdate:modelValue","label"])]),(0,r._)("div",h,[(0,r.Wm)($,{"error-message":I.submissionErrors[t].destination,error:I.hasSubmissionErrors[t].destination,"bottom-slots":"",disable:U.disabledInput,clearable:"",modelValue:s.destination,"onUpdate:modelValue":e=>s.destination=e,label:e.$t("firefly.destination_account"),outlined:""},null,8,["error-message","error","disable","modelValue","onUpdate:modelValue","label"])])]),(0,r._)("div",f,[(0,r._)("div",_,[(0,r._)("div",g,[(0,r._)("div",w,[(0,r.Wm)($,{"error-message":I.submissionErrors[t].date,error:I.hasSubmissionErrors[t].date,"bottom-slots":"",disable:U.disabledInput,modelValue:s.date,"onUpdate:modelValue":e=>s.date=e,outlined:"",type:"date",hint:e.$t("firefly.date")},null,8,["error-message","error","disable","modelValue","onUpdate:modelValue","hint"])]),(0,r._)("div",E,[(0,r.Wm)($,{"bottom-slots":"",disable:U.disabledInput,modelValue:s.time,"onUpdate:modelValue":e=>s.time=e,outlined:"",type:"time",hint:e.$t("firefly.time")},null,8,["disable","modelValue","onUpdate:modelValue","hint"])])])])])])),_:2},1024)])),_:2},1024)])),_:2},1032,["name"])))),128))])),_:1},8,["modelValue"])])]),(0,r._)("div",v,[(0,r._)("div",y,[(0,r.Wm)(C,{class:"q-mt-xs"},{default:(0,r.w5)((()=>[(0,r.Wm)(Z,null,{default:(0,r.w5)((()=>[(0,r._)("div",V,[(0,r._)("div",k,[(0,r.Wm)(W,{disable:U.disabledInput,color:"primary",label:"Submit",onClick:U.submitTransaction},null,8,["disable","onClick"])])]),(0,r._)("div",S,[(0,r._)("div",x,[(0,r.Wm)(D,{disable:U.disabledInput,modelValue:I.doReturnHere,"onUpdate:modelValue":s[1]||(s[1]=e=>I.doReturnHere=e),"left-label":"",label:"Return here"},null,8,["disable","modelValue"])])])])),_:1})])),_:1})])])])),_:1})}var I=t(8898),U=t(5115),W=t(1569);class T{put(e,s){let t="/api/v1/transactions/"+e;return W.api.put(t,s)}}var Z=t(9466);const $={name:"Edit",data(){return{tab:"split-0",transactions:[],submissionErrors:[],hasSubmissionErrors:[],submitting:!1,doReturnHere:!1,index:0,doResetForm:!1,group_title:"",errorMessage:""}},computed:{disabledInput:function(){return this.submitting}},created(){this.id=parseInt(this.$route.params.id),this.resetForm(),this.collectTransaction()},methods:{collectTransaction:function(){let e=new Z.Z;e.get(this.id).then((e=>this.parseTransaction(e)))},parseTransaction:function(e){this.group_title=e.data.data.attributes.group_title;let s=e.data.data.attributes.transactions;s.reverse();for(let t in s)if(s.hasOwnProperty(t)){let e=s[t],r=parseInt(t);if(0===r){let s=e.date.split("T"),t=s[0],r=s[1].substr(0,8);this.transactions.push({description:e.description,type:e.type,date:t,time:r,amount:parseFloat(e.amount).toFixed(e.currency_decimal_places),source:e.source_name,destination:e.destination_name})}}},resetForm:function(){this.transactions=[];const e=this.getDefaultTransaction();this.transactions=[],this.submissionErrors.push(e.submissionError),this.hasSubmissionErrors.push(e.hasSubmissionError)},dismissBanner:function(){this.errorMessage=""},submitTransaction:function(){this.submitting=!0,this.errorMessage="",this.resetErrors();const e=this.buildTransaction();let s=new T;s.put(this.id,e).catch(this.processErrors).then(this.processSuccess)},processSuccess:function(e){this.submitting=!1,this.$store.dispatch("fireflyiii/refreshCacheKey");let s={level:"success",text:"Updated transaction",show:!0,action:{show:!0,text:"Go to transaction",link:{name:"transactions.show",params:{id:parseInt(e.data.data.id)}}}};this.$q.localStorage.set("flash",s),this.doReturnHere&&window.dispatchEvent(new CustomEvent("flash",{detail:{flash:this.$q.localStorage.getItem("flash")}})),this.doReturnHere||this.$router.go(-1)},resetErrors:function(){let e=this.transactions.length,s=this.getDefaultTransaction();for(let t=0;t{let t=(0,U.Z)(new Date(s.date+" "+s.time)),r={type:s.type,description:s.description,source_name:s.source,destination_name:s.destination,amount:s.amount,date:t};e.transactions.push(r)})),e},getDefaultTransaction:function(){let e="",s="00:00";return 0===this.transactions.length&&(e=(0,I.Z)(new Date,"yyyy-MM-dd")),{submissionError:{description:"",amount:"",date:"",source:"",destination:""},hasSubmissionError:{description:!1,amount:!1,date:!1,source:!1,destination:!1},transaction:{description:"",date:e,time:s,amount:0,source:"",destination:"",budget:"",category:"",subscription:"",interest_date:"",book_date:"",process_date:"",due_date:"",payment_date:"",invoice_date:""}}}},preFetch(){}};var C=t(1639),Q=t(9885),M=t(7128),D=t(8879),R=t(9800),F=t(4106),H=t(4458),P=t(3190),B=t(6611),j=t(1221),z=t(9984),K=t.n(z);const O=(0,C.Z)($,[["render",q]]),G=O;K()($,"components",{QPage:Q.Z,QBanner:M.Z,QBtn:D.Z,QTabPanels:R.Z,QTabPanel:F.Z,QCard:H.Z,QCardSection:P.Z,QInput:B.Z,QCheckbox:j.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/3903.4e461032.js b/public/v3/js/3903.4e461032.js new file mode 100644 index 0000000000..8aa843a113 --- /dev/null +++ b/public/v3/js/3903.4e461032.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[3903],{9172:(e,t,a)=>{a.r(t),a.d(t,{default:()=>N});var s=a(9835),n=a(6970);const r={class:"row q-mx-md"},o={class:"col-12"},i={class:"text-h6"},c={class:"row"},u={class:"col-12 q-mb-xs"},l=(0,s._)("br",null,null,-1),d=(0,s._)("br",null,null,-1),w={class:"row q-mt-sm"},g={class:"col-12"};function p(e,t,a,p,m,h){const b=(0,s.up)("q-card-section"),f=(0,s.up)("q-card"),_=(0,s.up)("LargeTable"),q=(0,s.up)("q-page");return(0,s.wg)(),(0,s.j4)(q,null,{default:(0,s.w5)((()=>[(0,s._)("div",r,[(0,s._)("div",o,[(0,s.Wm)(f,{bordered:""},{default:(0,s.w5)((()=>[(0,s.Wm)(b,null,{default:(0,s.w5)((()=>[(0,s._)("div",i,(0,n.zw)(m.account.name),1)])),_:1}),(0,s.Wm)(b,null,{default:(0,s.w5)((()=>[(0,s._)("div",c,[(0,s._)("div",u,[(0,s.Uk)(" Name: "+(0,n.zw)(m.account.name),1),l,(0,s.Uk)(" IBAN: "+(0,n.zw)(m.account.iban),1),d])])])),_:1})])),_:1})])]),(0,s._)("div",w,[(0,s._)("div",g,[(0,s.Wm)(_,{ref:"table",title:"Transactions",rows:m.rows,loading:e.loading,onOnRequest:h.onRequest,"rows-number":m.rowsNumber,"rows-per-page":m.rowsPerPage,page:m.page},null,8,["rows","loading","onOnRequest","rows-number","rows-per-page","page"])])])])),_:1})}var m=a(160),h=a(8925),b=a(3247);const f={name:"Show",data(){return{account:{},rows:[],rowsNumber:1,rowsPerPage:10,page:1}},created(){this.id=parseInt(this.$route.params.id),this.getAccount()},mounted(){},components:{LargeTable:h.Z},methods:{onRequest:function(e){this.page=e.page,this.getAccount()},getAccount:function(){let e=new m.Z;e.get(this.id).then((e=>this.parseAccount(e))),this.loading=!0;const t=new b.Z;this.rows=[],e.transactions(this.id,this.page).then((e=>{let a=t.parseResponse(e);this.rowsPerPage=a.rowsPerPage,this.rowsNumber=a.rowsNumber,this.rows=a.rows,this.loading=!1}))},parseAccount:function(e){this.account={name:e.data.data.attributes.name,iban:e.data.data.attributes.iban}}}};var _=a(1639),q=a(9885),v=a(4458),P=a(3190),Z=a(9984),k=a.n(Z);const A=(0,_.Z)(f,[["render",p]]),N=A;k()(f,"components",{QPage:q.Z,QCard:v.Z,QCardSection:P.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/4640.601878ff.js b/public/v3/js/4640.601878ff.js new file mode 100644 index 0000000000..6ec3394cbd --- /dev/null +++ b/public/v3/js/4640.601878ff.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[4640],{4640:(e,s,t)=>{t.r(s),t.d(s,{default:()=>Q});var r=t(9835),o=t(6970);const a={class:"row q-mx-md"},i={class:"col-12"},l={class:"row q-mx-md q-mt-md"},n={class:"col-12"},u=(0,r._)("div",{class:"text-h6"},"Info for new budget",-1),d={class:"row"},m={class:"col-12 q-mb-xs"},c={class:"row q-mx-md"},b={class:"col-12"},h={class:"row"},p={class:"col-12 text-right"},f={class:"row"},g={class:"col-12 text-right"},w=(0,r._)("br",null,null,-1);function _(e,s,t,_,v,q){const E=(0,r.up)("q-btn"),k=(0,r.up)("q-banner"),x=(0,r.up)("q-card-section"),C=(0,r.up)("q-input"),R=(0,r.up)("q-card"),I=(0,r.up)("q-checkbox"),S=(0,r.up)("q-page");return(0,r.wg)(),(0,r.j4)(S,null,{default:(0,r.w5)((()=>[(0,r._)("div",a,[(0,r._)("div",i,[""!==v.errorMessage?((0,r.wg)(),(0,r.j4)(k,{key:0,"inline-actions":"",rounded:"",class:"bg-orange text-white"},{action:(0,r.w5)((()=>[(0,r.Wm)(E,{flat:"",onClick:q.dismissBanner,label:"Dismiss"},null,8,["onClick"])])),default:(0,r.w5)((()=>[(0,r.Uk)((0,o.zw)(v.errorMessage)+" ",1)])),_:1})):(0,r.kq)("",!0)])]),(0,r._)("div",l,[(0,r._)("div",n,[(0,r.Wm)(R,{bordered:""},{default:(0,r.w5)((()=>[(0,r.Wm)(x,null,{default:(0,r.w5)((()=>[u])),_:1}),(0,r.Wm)(x,null,{default:(0,r.w5)((()=>[(0,r._)("div",d,[(0,r._)("div",m,[(0,r.Wm)(C,{"error-message":v.submissionErrors.name,error:v.hasSubmissionErrors.name,"bottom-slots":"",disable:q.disabledInput,type:"text",clearable:"",modelValue:v.name,"onUpdate:modelValue":s[0]||(s[0]=e=>v.name=e),label:e.$t("form.name"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])])])),_:1})])),_:1})])]),(0,r._)("div",c,[(0,r._)("div",b,[(0,r.Wm)(R,{class:"q-mt-xs"},{default:(0,r.w5)((()=>[(0,r.Wm)(x,null,{default:(0,r.w5)((()=>[(0,r._)("div",h,[(0,r._)("div",p,[(0,r.Wm)(E,{disable:q.disabledInput,color:"primary",label:"Submit",onClick:q.submitBudget},null,8,["disable","onClick"])])]),(0,r._)("div",f,[(0,r._)("div",g,[(0,r.Wm)(I,{disable:q.disabledInput,modelValue:v.doReturnHere,"onUpdate:modelValue":s[1]||(s[1]=e=>v.doReturnHere=e),"left-label":"",label:"Return here to create another one"},null,8,["disable","modelValue"]),w,(0,r.Wm)(I,{modelValue:v.doResetForm,"onUpdate:modelValue":s[2]||(s[2]=e=>v.doResetForm=e),"left-label":"",disable:!v.doReturnHere||q.disabledInput,label:"Reset form after submission"},null,8,["modelValue","disable"])])])])),_:1})])),_:1})])])])),_:1})}var v=t(1569);class q{post(e){let s="/api/v1/budgets";return v.api.post(s,e)}}const E={name:"Create",data(){return{submissionErrors:{},hasSubmissionErrors:{},submitting:!1,doReturnHere:!1,doResetForm:!1,errorMessage:"",type:"",name:""}},computed:{disabledInput:function(){return this.submitting}},created(){this.resetForm(),this.type=this.$route.params.type},methods:{resetForm:function(){this.name="",this.resetErrors()},resetErrors:function(){this.submissionErrors={name:""},this.hasSubmissionErrors={name:!1}},submitBudget:function(){this.submitting=!0,this.errorMessage="",this.resetErrors();const e=this.buildBudget();let s=new q;s.post(e).catch(this.processErrors).then(this.processSuccess)},buildBudget:function(){return{name:this.name}},dismissBanner:function(){this.errorMessage=""},processSuccess:function(e){if(!e)return;this.submitting=!1;let s={level:"success",text:"I am new budget",show:!0,action:{show:!0,text:"Go to budget",link:{name:"budgets.show",params:{id:parseInt(e.data.data.id)}}}};this.$q.localStorage.set("flash",s),this.doReturnHere&&window.dispatchEvent(new CustomEvent("flash",{detail:{flash:this.$q.localStorage.getItem("flash")}})),this.doReturnHere||this.$router.go(-1)},processErrors:function(e){if(e.response){let s=e.response.data;this.errorMessage=s.message,console.log(s);for(let e in s.errors)s.errors.hasOwnProperty(e)&&(this.submissionErrors[e]=s.errors[e][0],this.hasSubmissionErrors[e]=!0)}this.submitting=!1}}};var k=t(1639),x=t(9885),C=t(7128),R=t(8879),I=t(4458),S=t(3190),W=t(6611),y=t(1221),V=t(9984),B=t.n(V);const Z=(0,k.Z)(E,[["render",_]]),Q=Z;B()(E,"components",{QPage:x.Z,QBanner:C.Z,QBtn:R.Z,QCard:I.Z,QCardSection:S.Z,QInput:W.Z,QCheckbox:y.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/4782.e1382ab6.js b/public/v3/js/4782.e1382ab6.js new file mode 100644 index 0000000000..b32f126de9 --- /dev/null +++ b/public/v3/js/4782.e1382ab6.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[4782],{4782:(e,t,a)=>{a.r(t),a.d(t,{default:()=>$});var i=a(9835),o=a(6970);const n=(0,i.Uk)("Edit"),s=(0,i.Uk)("Delete");function l(e,t,a,l,r,p){const u=(0,i.up)("q-th"),d=(0,i.up)("q-tr"),g=(0,i.up)("router-link"),w=(0,i.up)("q-td"),c=(0,i.up)("q-item-label"),h=(0,i.up)("q-item-section"),m=(0,i.up)("q-item"),f=(0,i.up)("q-list"),b=(0,i.up)("q-btn-dropdown"),k=(0,i.up)("q-table"),y=(0,i.up)("q-fab-action"),q=(0,i.up)("q-fab"),_=(0,i.up)("q-page-sticky"),W=(0,i.up)("q-page"),Z=(0,i.Q2)("close-popup");return(0,i.wg)(),(0,i.j4)(W,null,{default:(0,i.w5)((()=>[(0,i.Wm)(k,{title:e.$t("firefly.webhooks"),rows:r.rows,columns:r.columns,"row-key":"id",onRequest:p.onRequest,pagination:r.pagination,"onUpdate:pagination":t[0]||(t[0]=e=>r.pagination=e),loading:r.loading,class:"q-ma-md"},{header:(0,i.w5)((e=>[(0,i.Wm)(d,{props:e},{default:(0,i.w5)((()=>[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.cols,(t=>((0,i.wg)(),(0,i.j4)(u,{key:t.name,props:e},{default:(0,i.w5)((()=>[(0,i.Uk)((0,o.zw)(t.label),1)])),_:2},1032,["props"])))),128))])),_:2},1032,["props"])])),body:(0,i.w5)((e=>[(0,i.Wm)(d,{props:e},{default:(0,i.w5)((()=>[(0,i.Wm)(w,{key:"title",props:e},{default:(0,i.w5)((()=>[(0,i.Wm)(g,{to:{name:"webhooks.show",params:{id:e.row.id}},class:"text-primary"},{default:(0,i.w5)((()=>[(0,i.Uk)((0,o.zw)(e.row.title),1)])),_:2},1032,["to"])])),_:2},1032,["props"]),(0,i.Wm)(w,{key:"menu",props:e},{default:(0,i.w5)((()=>[(0,i.Wm)(b,{color:"primary",label:"Actions",size:"sm"},{default:(0,i.w5)((()=>[(0,i.Wm)(f,null,{default:(0,i.w5)((()=>[(0,i.wy)(((0,i.wg)(),(0,i.j4)(m,{clickable:"",to:{name:"webhooks.edit",params:{id:e.row.id}}},{default:(0,i.w5)((()=>[(0,i.Wm)(h,null,{default:(0,i.w5)((()=>[(0,i.Wm)(c,null,{default:(0,i.w5)((()=>[n])),_:1})])),_:1})])),_:2},1032,["to"])),[[Z]]),(0,i.wy)(((0,i.wg)(),(0,i.j4)(m,{clickable:"",onClick:t=>p.deleteWebhook(e.row.id,e.row.title)},{default:(0,i.w5)((()=>[(0,i.Wm)(h,null,{default:(0,i.w5)((()=>[(0,i.Wm)(c,null,{default:(0,i.w5)((()=>[s])),_:1})])),_:1})])),_:2},1032,["onClick"])),[[Z]])])),_:2},1024)])),_:2},1024)])),_:2},1032,["props"])])),_:2},1032,["props"])])),_:1},8,["title","rows","columns","onRequest","pagination","loading"]),(0,i.Wm)(_,{position:"bottom-right",offset:[18,18]},{default:(0,i.w5)((()=>[(0,i.Wm)(q,{label:"Actions",square:"","vertical-actions-align":"right","label-position":"left",color:"green",icon:"fas fa-chevron-up",direction:"up"},{default:(0,i.w5)((()=>[(0,i.Wm)(y,{color:"primary",square:"",to:{name:"webhooks.create"},icon:"fas fa-exchange-alt",label:"New webhook"},null,8,["to"])])),_:1})])),_:1})])),_:1})}var r=a(1049),p=a(7913),u=a(1569);class d{list(e,t){let a="/api/v1/webhooks";return u.api.get(a,{params:{page:e,cache:t}})}}const g={name:"Index",watch:{$route(e){"webhooks.index"===e.name&&(this.page=1,this.updateBreadcrumbs(),this.triggerUpdate())}},data(){return{rows:[],pagination:{sortBy:"desc",descending:!1,page:1,rowsPerPage:5,rowsNumber:100},loading:!1,columns:[{name:"title",label:"Title",field:"title",align:"left"},{name:"menu",label:" ",field:"menu",align:"right"}]}},computed:{...(0,r.Se)("fireflyiii",["getCacheKey","getListPageSize"])},created(){this.pagination.rowsPerPage=this.getListPageSize},mounted(){this.triggerUpdate()},methods:{deleteWebhook:function(e,t){this.$q.dialog({title:"Confirm",message:'Do you want to delete webhook "'+t+'"?',cancel:!0,persistent:!0}).onOk((()=>{this.destroyWebhook(e)}))},destroyWebhook:function(e){new p.Z("webhooks").destroy(e).then((()=>{this.$store.dispatch("fireflyiii/refreshCacheKey"),this.triggerUpdate()}))},updateBreadcrumbs:function(){this.$route.meta.pageTitle="firefly.webhooks",this.$route.meta.breadcrumbs=[{title:"webhooks"}]},onRequest:function(e){this.page=e.pagination.page,this.triggerUpdate()},triggerUpdate:function(){if(this.loading)return;this.loading=!0;const e=new d;this.rows=[],e.list(this.page,this.getCacheKey).then((e=>{this.pagination.rowsPerPage=e.data.meta.pagination.per_page,this.pagination.rowsNumber=e.data.meta.pagination.total,this.pagination.page=this.page;for(let t in e.data.data)if(e.data.data.hasOwnProperty(t)){let a=e.data.data[t],i={id:a.id,title:a.attributes.title};this.rows.push(i)}this.loading=!1}))}}};var w=a(1639),c=a(9885),h=a(1746),m=a(9546),f=a(1682),b=a(7220),k=a(2045),y=a(3246),q=a(490),_=a(1233),W=a(3115),Z=a(3388),Q=a(9361),P=a(935),U=a(2146),C=a(9984),v=a.n(C);const T=(0,w.Z)(g,[["render",l]]),$=T;v()(g,"components",{QPage:c.Z,QTable:h.Z,QTr:m.Z,QTh:f.Z,QTd:b.Z,QBtnDropdown:k.Z,QList:y.Z,QItem:q.Z,QItemSection:_.Z,QItemLabel:W.Z,QPageSticky:Z.Z,QFab:Q.Z,QFabAction:P.Z}),v()(g,"directives",{ClosePopup:U.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/4851.3c27e6c7.js b/public/v3/js/4851.3c27e6c7.js new file mode 100644 index 0000000000..ce281595ae --- /dev/null +++ b/public/v3/js/4851.3c27e6c7.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[4851],{4851:(e,r,s)=>{s.r(r),s.d(r,{default:()=>k});var a=s(9835),t=s(6970);const n={class:"row q-mx-md"},o={class:"col-12"},c={class:"text-h6"},u={class:"row"},i={class:"col-12 q-mb-xs"},l=(0,a._)("br",null,null,-1),d=(0,a._)("br",null,null,-1),w={class:"row q-mt-sm"},g={class:"col-12"};function h(e,r,s,h,p,m){const b=(0,a.up)("q-card-section"),f=(0,a.up)("q-card"),_=(0,a.up)("LargeTable"),y=(0,a.up)("q-page");return(0,a.wg)(),(0,a.j4)(y,null,{default:(0,a.w5)((()=>[(0,a._)("div",n,[(0,a._)("div",o,[(0,a.Wm)(f,{bordered:""},{default:(0,a.w5)((()=>[(0,a.Wm)(b,null,{default:(0,a.w5)((()=>[(0,a._)("div",c,(0,t.zw)(p.currency.name),1)])),_:1}),(0,a.Wm)(b,null,{default:(0,a.w5)((()=>[(0,a._)("div",u,[(0,a._)("div",i,[(0,a.Uk)(" Name: "+(0,t.zw)(p.currency.name),1),l,(0,a.Uk)(" Code: "+(0,t.zw)(p.currency.code),1),d])])])),_:1})])),_:1})])]),(0,a._)("div",w,[(0,a._)("div",g,[(0,a.Wm)(_,{ref:"table",title:"Transactions",rows:p.rows,loading:e.loading,onOnRequest:m.onRequest,"rows-number":p.rowsNumber,"rows-per-page":p.rowsPerPage,page:p.page},null,8,["rows","loading","onOnRequest","rows-number","rows-per-page","page"])])])])),_:1})}var p=s(8925),m=s(1484),b=s(3247);const f={name:"Show",data(){return{currency:{},rows:[],rowsNumber:1,rowsPerPage:10,page:1,code:""}},created(){this.code=this.$route.params.code,this.getCurrency()},components:{LargeTable:p.Z},methods:{onRequest:function(e){this.page=e.page,this.getCurrency()},getCurrency:function(){let e=new m.Z;e.get(this.code).then((e=>this.parseCurrency(e))),this.loading=!0;const r=new b.Z;this.rows=[],e.transactions(this.code,this.page,this.getCacheKey).then((e=>{let s=r.parseResponse(e);this.rowsPerPage=s.rowsPerPage,this.rowsNumber=s.rowsNumber,this.rows=s.rows,this.loading=!1}))},parseCurrency:function(e){this.currency={name:e.data.data.attributes.name,code:e.data.data.attributes.code}}}};var _=s(1639),y=s(9885),C=s(4458),q=s(3190),v=s(9984),P=s.n(v);const Z=(0,_.Z)(f,[["render",h]]),k=Z;P()(f,"components",{QPage:y.Z,QCard:C.Z,QCardSection:q.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/5221.fded0f96.js b/public/v3/js/5221.fded0f96.js new file mode 100644 index 0000000000..7ac240d552 --- /dev/null +++ b/public/v3/js/5221.fded0f96.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[5221],{5221:(e,s,t)=>{t.r(s),t.d(s,{default:()=>ie});var r=t(9835),l=t(6970);const i={class:"row q-mx-md"},o={class:"col-12"},a={class:"row q-mx-md q-mt-md"},n={class:"col-12"},u=(0,r._)("div",{class:"text-h6"},"Info for new rule",-1),d={class:"row q-mx-md q-mt-md"},c={class:"col-12"},g=(0,r._)("div",{class:"text-h6"},"Triggers",-1),p=(0,r._)("div",{class:"row"},[(0,r._)("div",{class:"col"},[(0,r._)("strong",null,"Trigger")]),(0,r._)("div",{class:"col"},[(0,r._)("strong",null,"Trigger on value")]),(0,r._)("div",{class:"col"},[(0,r._)("strong",null,"Active?")]),(0,r._)("div",{class:"col"},[(0,r._)("strong",null,"Stop processing after a hit")]),(0,r._)("div",{class:"col"}," del ")],-1),m={class:"col"},h={class:"col"},_={class:"col"},b={class:"col"},v={class:"col"},f=(0,r.Uk)("Del"),w=(0,r.Uk)("Add trigger"),y={class:"row q-mx-md q-mt-md"},E={class:"col-12"},V=(0,r._)("div",{class:"text-h6"},"Actions",-1),W=(0,r._)("div",{class:"row"},[(0,r._)("div",{class:"col"},[(0,r._)("strong",null,"Action")]),(0,r._)("div",{class:"col"},[(0,r._)("strong",null,"Value")]),(0,r._)("div",{class:"col"},[(0,r._)("strong",null,"Active?")]),(0,r._)("div",{class:"col"},[(0,r._)("strong",null,"Stop processing other actions")]),(0,r._)("div",{class:"col"}," del ")],-1),k={class:"col"},x={class:"col"},A={class:"col"},q={class:"col"},T={class:"col"},U=(0,r.Uk)("Del"),D=(0,r.Uk)("Add action"),S={class:"row q-mx-md"},C={class:"col-12"},R={class:"row"},I={class:"col-12 text-right"},H={class:"row"},Z={class:"col-12 text-right"},G=(0,r._)("br",null,null,-1);function Q(e,s,t,Q,j,P){const $=(0,r.up)("q-btn"),M=(0,r.up)("q-banner"),F=(0,r.up)("q-card-section"),B=(0,r.up)("q-input"),K=(0,r.up)("q-select"),O=(0,r.up)("q-card"),Y=(0,r.up)("q-checkbox"),z=(0,r.up)("q-card-actions"),J=(0,r.up)("q-page");return(0,r.wg)(),(0,r.j4)(J,null,{default:(0,r.w5)((()=>[(0,r._)("div",i,[(0,r._)("div",o,[""!==j.errorMessage?((0,r.wg)(),(0,r.j4)(M,{key:0,"inline-actions":"",rounded:"",class:"bg-orange text-white"},{action:(0,r.w5)((()=>[(0,r.Wm)($,{flat:"",onClick:P.dismissBanner,label:"Dismiss"},null,8,["onClick"])])),default:(0,r.w5)((()=>[(0,r.Uk)((0,l.zw)(j.errorMessage)+" ",1)])),_:1})):(0,r.kq)("",!0)])]),(0,r._)("div",a,[(0,r._)("div",n,[(0,r.Wm)(O,{bordered:""},{default:(0,r.w5)((()=>[(0,r.Wm)(F,null,{default:(0,r.w5)((()=>[u])),_:1}),(0,r.Wm)(F,null,{default:(0,r.w5)((()=>[(0,r.Wm)(B,{"error-message":j.submissionErrors.title,error:j.hasSubmissionErrors.title,"bottom-slots":"",disable:P.disabledInput,type:"text",clearable:"",modelValue:j.title,"onUpdate:modelValue":s[0]||(s[0]=e=>j.title=e),label:e.$t("form.title"),outlined:""},null,8,["error-message","error","disable","modelValue","label"]),(0,r.Wm)(K,{"error-message":j.submissionErrors.rule_group_id,error:j.hasSubmissionErrors.rule_group_id,"bottom-slots":"",disable:P.disabledInput,outlined:"",dense:"",modelValue:j.rule_group_id,"onUpdate:modelValue":s[1]||(s[1]=e=>j.rule_group_id=e),class:"q-pr-xs","map-options":"",options:j.ruleGroups,label:"Rule group"},null,8,["error-message","error","disable","modelValue","options"]),(0,r.Wm)(K,{"error-message":j.submissionErrors.trigger,error:j.hasSubmissionErrors.trigger,"bottom-slots":"",disable:P.disabledInput,outlined:"",dense:"","emit-value":"",modelValue:j.trigger,"onUpdate:modelValue":s[2]||(s[2]=e=>j.trigger=e),class:"q-pr-xs","map-options":"",options:j.initialTriggers,label:"What fires a rule?"},null,8,["error-message","error","disable","modelValue","options"])])),_:1})])),_:1})])]),(0,r._)("div",d,[(0,r._)("div",c,[(0,r.Wm)(O,{bordered:""},{default:(0,r.w5)((()=>[(0,r.Wm)(F,null,{default:(0,r.w5)((()=>[g])),_:1}),(0,r.Wm)(F,null,{default:(0,r.w5)((()=>[p,((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(j.triggers,((e,s)=>((0,r.wg)(),(0,r.iD)("div",{class:"row",key:s},[(0,r._)("div",m,[(0,r.Wm)(K,{"error-message":j.submissionErrors.triggers[s].type,error:j.hasSubmissionErrors.triggers[s].type,"bottom-slots":"",disable:P.disabledInput,outlined:"",dense:"",modelValue:e.type,"onUpdate:modelValue":s=>e.type=s,class:"q-pr-xs","map-options":"",options:j.availableTriggers,label:"Trigger type"},null,8,["error-message","error","disable","modelValue","onUpdate:modelValue","options"])]),(0,r._)("div",h,[e.type.needs_context?((0,r.wg)(),(0,r.j4)(B,{key:0,"error-message":j.submissionErrors.triggers[s].value,error:j.hasSubmissionErrors.triggers[s].value,"bottom-slots":"",dense:"",disable:P.disabledInput,type:"text",clearable:"",modelValue:e.value,"onUpdate:modelValue":s=>e.value=s,label:"Trigger value",outlined:""},null,8,["error-message","error","disable","modelValue","onUpdate:modelValue"])):(0,r.kq)("",!0)]),(0,r._)("div",_,[(0,r.Wm)(Y,{modelValue:e.active,"onUpdate:modelValue":s=>e.active=s},null,8,["modelValue","onUpdate:modelValue"])]),(0,r._)("div",b,[(0,r.Wm)(Y,{modelValue:e.stop_processing,"onUpdate:modelValue":s=>e.stop_processing=s},null,8,["modelValue","onUpdate:modelValue"])]),(0,r._)("div",v,[(0,r.Wm)($,{color:"secondary",onClick:e=>P.removeTrigger(s)},{default:(0,r.w5)((()=>[f])),_:2},1032,["onClick"])])])))),128))])),_:1}),(0,r.Wm)(z,null,{default:(0,r.w5)((()=>[(0,r.Wm)($,{color:"primary",onClick:P.addTrigger},{default:(0,r.w5)((()=>[w])),_:1},8,["onClick"])])),_:1})])),_:1})])]),(0,r._)("div",y,[(0,r._)("div",E,[(0,r.Wm)(O,{bordered:""},{default:(0,r.w5)((()=>[(0,r.Wm)(F,null,{default:(0,r.w5)((()=>[V])),_:1}),(0,r.Wm)(F,null,{default:(0,r.w5)((()=>[W,((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(j.actions,((e,s)=>((0,r.wg)(),(0,r.iD)("div",{class:"row",key:s},[(0,r._)("div",k,[(0,r.Wm)(K,{"error-message":j.submissionErrors.actions[s].type,error:j.hasSubmissionErrors.actions[s].type,"bottom-slots":"",disable:P.disabledInput,outlined:"",dense:"",modelValue:e.type,"onUpdate:modelValue":s=>e.type=s,class:"q-pr-xs","map-options":"",options:j.availableActions,label:"Action type"},null,8,["error-message","error","disable","modelValue","onUpdate:modelValue","options"])]),(0,r._)("div",x,[e.type.needs_context?((0,r.wg)(),(0,r.j4)(B,{key:0,"error-message":j.submissionErrors.actions[s].value,error:j.hasSubmissionErrors.actions[s].value,"bottom-slots":"",dense:"",disable:P.disabledInput,type:"text",clearable:"",modelValue:e.value,"onUpdate:modelValue":s=>e.value=s,label:"Action value",outlined:""},null,8,["error-message","error","disable","modelValue","onUpdate:modelValue"])):(0,r.kq)("",!0)]),(0,r._)("div",A,[(0,r.Wm)(Y,{modelValue:e.active,"onUpdate:modelValue":s=>e.active=s},null,8,["modelValue","onUpdate:modelValue"])]),(0,r._)("div",q,[(0,r.Wm)(Y,{modelValue:e.stop_processing,"onUpdate:modelValue":s=>e.stop_processing=s},null,8,["modelValue","onUpdate:modelValue"])]),(0,r._)("div",T,[(0,r.Wm)($,{color:"secondary",onClick:e=>P.removeAction(s)},{default:(0,r.w5)((()=>[U])),_:2},1032,["onClick"])])])))),128))])),_:1}),(0,r.Wm)(z,null,{default:(0,r.w5)((()=>[(0,r.Wm)($,{color:"primary",onClick:P.addAction},{default:(0,r.w5)((()=>[D])),_:1},8,["onClick"])])),_:1})])),_:1})])]),(0,r._)("div",S,[(0,r._)("div",C,[(0,r.Wm)(O,{class:"q-mt-xs"},{default:(0,r.w5)((()=>[(0,r.Wm)(F,null,{default:(0,r.w5)((()=>[(0,r._)("div",R,[(0,r._)("div",I,[(0,r.Wm)($,{disable:P.disabledInput,color:"primary",label:"Submit",onClick:P.submitRule},null,8,["disable","onClick"])])]),(0,r._)("div",H,[(0,r._)("div",Z,[(0,r.Wm)(Y,{disable:P.disabledInput,modelValue:j.doReturnHere,"onUpdate:modelValue":s[3]||(s[3]=e=>j.doReturnHere=e),"left-label":"",label:"Return here to create another one"},null,8,["disable","modelValue"]),G,(0,r.Wm)(Y,{modelValue:j.doResetForm,"onUpdate:modelValue":s[4]||(s[4]=e=>j.doResetForm=e),"left-label":"",disable:!j.doReturnHere||P.disabledInput,label:"Reset form after submission"},null,8,["modelValue","disable"])])])])),_:1})])),_:1})])])])),_:1})}var j=t(1569);class P{post(e){let s="/api/v1/rules";return j.api.post(s,e)}}var $=t(1049),M=t(3918),F=t(2416);const B={name:"Create",data(){return{submissionErrors:{triggers:[],actions:[]},hasSubmissionErrors:{triggers:[],actions:[]},submitting:!1,doReturnHere:!1,doResetForm:!1,errorMessage:"",ruleGroups:[],availableTriggers:[],availableActions:[],initialTriggers:[],title:"",rule_group_id:null,trigger:"store-journal",triggers:[],actions:[]}},computed:{...(0,$.Se)("fireflyiii",["getCacheKey"]),disabledInput:function(){return this.submitting}},created(){this.resetForm(),this.getRuleGroups(),this.getRuleTriggers(),this.getRuleActions()},methods:{addTrigger:function(){this.triggers.push(this.getDefaultTrigger()),this.submissionErrors.triggers.push(this.getDefaultTriggerError()),this.hasSubmissionErrors.triggers.push(this.getDefaultHasTriggerError())},addAction:function(){this.actions.push(this.getDefaultAction()),this.submissionErrors.actions.push(this.getDefaultActionError()),this.hasSubmissionErrors.actions.push(this.getDefaultHasActionError())},getDefaultTriggerError:function(){return{type:"",value:"",stop_processing:"",active:""}},getDefaultActionError:function(){return{type:"",value:"",stop_processing:"",active:""}},getDefaultHasTriggerError:function(){return{type:!1,value:!1,stop_processing:!1,active:!1}},getDefaultHasActionError:function(){return{type:!1,value:!1,stop_processing:!1,active:!1}},removeTrigger:function(e){this.triggers.splice(e,1),this.submissionErrors.triggers.splice(e,1),this.hasSubmissionErrors.triggers.splice(e,1)},removeAction:function(e){this.actions.splice(e,1),this.submissionErrors.actions.splice(e,1),this.hasSubmissionErrors.actions.splice(e,1)},getDefaultTrigger:function(){return{type:{value:"description_is",needs_context:!0,label:this.$t("firefly.rule_trigger_description_is_choice")},value:"",stop_processing:!1,active:!0}},getDefaultAction:function(){return{type:{value:"add_tag",needs_context:!0,label:this.$t("firefly.rule_action_add_tag_choice")},value:"",stop_processing:!1,active:!0}},getRuleTriggers:function(){let e=new M.Z;e.get("firefly.search.operators").then((e=>{for(let s in e.data.data.value)if(e.data.data.value.hasOwnProperty(s)){let t=e.data.data.value[s];!1===t.alias&&"user_action"!==s&&this.availableTriggers.push({value:s,needs_context:t.needs_context,label:this.$t("firefly.rule_trigger_"+s+"_choice")})}}))},getRuleActions:function(){let e=new M.Z;e.get("firefly.rule-actions").then((e=>{for(let s in e.data.data.value)e.data.data.value.hasOwnProperty(s)&&this.availableActions.push({value:s,needs_context:!1,label:this.$t("firefly.rule_action_"+s+"_choice")})})).then((()=>{e.get("firefly.context-rule-actions").then((e=>{let s=e.data.data.value;for(let t in s){let e=s[t];for(let s in this.availableActions){let t=this.availableActions[s];t.value===e&&(this.availableActions[s].needs_context=!0)}}}))}))},resetForm:function(){this.initialTriggers=[{value:"store-journal",label:"When a transaction is stored"},{value:"update-journal",label:"When a transaction is updated"}],this.title="",this.rule_group_id=null,this.trigger="store-journal",this.triggers.push(this.getDefaultTrigger()),this.actions.push(this.getDefaultAction()),this.resetErrors()},getRuleGroups:function(){this.getGroupPage(1)},getGroupPage:function(e){let s=new F.Z;s.list(e,this.getCacheKey).then((s=>{e{a.r(t),a.d(t,{default:()=>v});var s=a(9835);const n={key:0,class:"q-ma-md"},o={key:1,class:"q-ma-md"},r={key:2,class:"row q-ma-md"},i={class:"col-12"},l=(0,s._)("div",{class:"text-h6"},"Firefly III",-1),c=(0,s._)("div",{class:"text-subtitle2"},"What's playing?",-1);function u(e,t,a,u,m,f){const d=(0,s.up)("NewUser"),p=(0,s.up)("Boxes"),h=(0,s.up)("q-card-section"),w=(0,s.up)("HomeChart"),y=(0,s.up)("q-card"),g=(0,s.up)("q-fab-action"),b=(0,s.up)("q-fab"),C=(0,s.up)("q-page-sticky"),q=(0,s.up)("q-page");return(0,s.wg)(),(0,s.j4)(q,null,{default:(0,s.w5)((()=>[0===e.assetCount?((0,s.wg)(),(0,s.iD)("div",n,[(0,s.Wm)(d,{onCreatedAccounts:e.refreshThenCount},null,8,["onCreatedAccounts"])])):(0,s.kq)("",!0),e.assetCount>0?((0,s.wg)(),(0,s.iD)("div",o,[(0,s.Wm)(p)])):(0,s.kq)("",!0),e.assetCount>0?((0,s.wg)(),(0,s.iD)("div",r,[(0,s._)("div",i,[(0,s.Wm)(y,{bordered:""},{default:(0,s.w5)((()=>[(0,s.Wm)(h,null,{default:(0,s.w5)((()=>[l,c])),_:1}),(0,s.Wm)(h,null,{default:(0,s.w5)((()=>[(0,s.Wm)(w)])),_:1})])),_:1})])])):(0,s.kq)("",!0),e.assetCount>0?((0,s.wg)(),(0,s.j4)(C,{key:3,position:"bottom-right",offset:[18,18]},{default:(0,s.w5)((()=>[(0,s.Wm)(b,{label:"Actions",square:"","vertical-actions-align":"right","label-position":"left",color:"green",icon:"fas fa-chevron-up",direction:"up"},{default:(0,s.w5)((()=>[(0,s.Wm)(g,{color:"primary",square:"",icon:"fas fa-chart-pie",label:"New budget",to:{name:"budgets.create"}},null,8,["to"]),(0,s.Wm)(g,{color:"primary",square:"",icon:"far fa-money-bill-alt",label:"New asset account",to:{name:"accounts.create",params:{type:"asset"}}},null,8,["to"]),(0,s.Wm)(g,{color:"primary",square:"",icon:"fas fa-exchange-alt",label:"New transfer",to:{name:"transactions.create",params:{type:"transfer"}}},null,8,["to"]),(0,s.Wm)(g,{color:"primary",square:"",icon:"fas fa-long-arrow-alt-right",label:"New deposit",to:{name:"transactions.create",params:{type:"deposit"}}},null,8,["to"]),(0,s.Wm)(g,{color:"primary",square:"",icon:"fas fa-long-arrow-alt-left",label:"New withdrawal",to:{name:"transactions.create",params:{type:"withdrawal"}}},null,8,["to"])])),_:1})])),_:1})):(0,s.kq)("",!0)])),_:1})}a(702);var m=a(3836),f=a(1049);const d=(0,s.aZ)({name:"PageIndex",components:{Boxes:(0,s.RC)((()=>Promise.all([a.e(4736),a.e(8044)]).then(a.bind(a,8044)))),HomeChart:(0,s.RC)((()=>Promise.all([a.e(4736),a.e(7480)]).then(a.bind(a,7480)))),NewUser:(0,s.RC)((()=>Promise.all([a.e(4736),a.e(3064),a.e(1543)]).then(a.bind(a,1543))))},data(){return{assetCount:1}},computed:{...(0,f.Se)("fireflyiii",["getCacheKey"])},mounted(){this.countAssetAccounts()},methods:{refreshThenCount:function(){this.$store.dispatch("fireflyiii/refreshCacheKey"),this.countAssetAccounts()},countAssetAccounts:function(){let e=new m.Z;e.list("asset",1,this.getCacheKey).then((e=>{this.assetCount=parseInt(e.data.meta.pagination.total)}))}}});var p=a(1639),h=a(9885),w=a(4458),y=a(3190),g=a(3388),b=a(9361),C=a(935),q=a(9984),k=a.n(q);const W=(0,p.Z)(d,[["render",u]]),v=W;k()(d,"components",{QPage:h.Z,QCard:w.Z,QCardSection:y.Z,QPageSticky:g.Z,QFab:b.Z,QFabAction:C.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/5348.109b8049.js b/public/v3/js/5348.109b8049.js new file mode 100644 index 0000000000..1c4a7a5abf --- /dev/null +++ b/public/v3/js/5348.109b8049.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[5348],{5348:(a,e,t)=>{t.r(e),t.d(e,{default:()=>B});var n=t(9835),i=t(6970);const s={class:"row q-mx-md"},r={class:"col-12"},d={class:"text-h6"},g={class:"row"},l={class:"col-12 q-mb-xs"},u=(0,n._)("br",null,null,-1);function c(a,e,t,c,o,p){const f=(0,n.up)("q-card-section"),h=(0,n.up)("q-card"),m=(0,n.up)("q-page");return(0,n.wg)(),(0,n.j4)(m,null,{default:(0,n.w5)((()=>[(0,n._)("div",s,[(0,n._)("div",r,[(0,n.Wm)(h,{bordered:""},{default:(0,n.w5)((()=>[(0,n.Wm)(f,null,{default:(0,n.w5)((()=>[(0,n._)("div",d,(0,i.zw)(o.piggyBank.name),1)])),_:1}),(0,n.Wm)(f,null,{default:(0,n.w5)((()=>[(0,n._)("div",g,[(0,n._)("div",l,[(0,n.Uk)(" Name: "+(0,i.zw)(o.piggyBank.name),1),u])])])),_:1})])),_:1})])])])),_:1})}var o=t(670);const p={name:"Show",data(){return{piggyBank:{},id:0}},created(){this.id=parseInt(this.$route.params.id),this.getPiggyBank()},methods:{onRequest:function(a){this.page=a.page,this.getPiggyBank()},getPiggyBank:function(){(new o.Z).get(this.id).then((a=>this.parsePiggyBank(a)))},parsePiggyBank:function(a){this.piggyBank={name:a.data.data.attributes.name}}}};var f=t(1639),h=t(9885),m=t(4458),k=t(3190),w=t(9984),_=t.n(w);const y=(0,f.Z)(p,[["render",c]]),B=y;_()(p,"components",{QPage:h.Z,QCard:m.Z,QCardSection:k.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/5439.d75e5cb4.js b/public/v3/js/5439.d75e5cb4.js new file mode 100644 index 0000000000..97f35e18ec --- /dev/null +++ b/public/v3/js/5439.d75e5cb4.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[5439],{1673:(t,e,a)=>{a.r(e),a.d(e,{default:()=>v});var l=a(9835);const s={class:"row q-mx-md"},d={class:"col-4"},n=(0,l._)("div",{class:"text-h6"},"Reports",-1);function o(t,e,a,o,i,u){const c=(0,l.up)("q-card-section"),r=(0,l.up)("q-select"),p=(0,l.up)("q-input"),m=(0,l.up)("q-btn"),b=(0,l.up)("q-card-actions"),h=(0,l.up)("q-card"),f=(0,l.up)("q-page");return(0,l.wg)(),(0,l.j4)(f,null,{default:(0,l.w5)((()=>[(0,l._)("div",s,[(0,l._)("div",d,[(0,l.Wm)(h,{bordered:""},{default:(0,l.w5)((()=>[(0,l.Wm)(c,null,{default:(0,l.w5)((()=>[n])),_:1}),(0,l.Wm)(c,null,{default:(0,l.w5)((()=>[(0,l.Wm)(r,{"bottom-slots":"",outlined:"",modelValue:i.type,"onUpdate:modelValue":e[0]||(e[0]=t=>i.type=t),"emit-value":"",class:"q-pr-xs","map-options":"",options:i.types,label:"Report type"},null,8,["modelValue","options"]),(0,l.Wm)(r,{"bottom-slots":"",outlined:"",disable:i.loading,modelValue:i.selectedAccounts,"onUpdate:modelValue":e[1]||(e[1]=t=>i.selectedAccounts=t),class:"q-pr-xs",multiple:"","emit-value":"","use-chips":"","map-options":"",options:i.accounts,label:"Included accounts"},null,8,["disable","modelValue","options"]),(0,l.Wm)(p,{"bottom-slots":"",type:"date",modelValue:i.start_date,"onUpdate:modelValue":e[2]||(e[2]=t=>i.start_date=t),label:t.$t("form.start_date"),hint:"Start date",outlined:""},null,8,["modelValue","label"]),(0,l.Wm)(p,{"bottom-slots":"",type:"date",modelValue:i.end_date,"onUpdate:modelValue":e[3]||(e[3]=t=>i.end_date=t),label:t.$t("form.start_date"),hint:"Start date",outlined:""},null,8,["modelValue","label"])])),_:1}),(0,l.Wm)(b,null,{default:(0,l.w5)((()=>[(0,l.Wm)(m,{disable:i.loading||i.selectedAccounts.length<1,onClick:u.submit,color:"primary",label:"View report"},null,8,["disable","onClick"])])),_:1})])),_:1})])])])),_:1})}a(8964);var i=a(3836),u=a(7164),c=a(8898),r=a(5057);const p={name:"Index",created(){this.getAccounts(),this.start_date=(0,c.Z)((0,u.Z)(new Date),"yyyy-MM-dd"),this.end_date=(0,c.Z)((0,r.Z)(new Date),"yyyy-MM-dd")},data(){return{loading:!1,type:"default",selectedAccounts:[],accounts:[],start_date:"",end_date:"",types:[{value:"default",label:"Default financial report"}]}},methods:{submit:function(){let t=this.start_date.replace("-",""),e=this.end_date.replace("-",""),a=this.selectedAccounts.join(",");"default"===this.type&&this.$router.push({name:"reports.default",params:{accounts:a,start:t,end:e}})},getAccounts:function(){this.loading=!0,this.getPage(1)},getPage:function(t){(new i.Z).list("all",t,this.getCacheKey).then((e=>{let a=parseInt(e.data.meta.pagination.total_pages);for(let t in e.data.data)if(e.data.data.hasOwnProperty(t)){let a=e.data.data[t];"liabilities"!==a.attributes.type&&"asset"!==a.attributes.type||this.accounts.push({value:parseInt(a.id),label:a.attributes.type+": "+a.attributes.name,decimal_places:parseInt(a.attributes.currency_decimal_places)})}tt.label>e.label?1:e.label>t.label?-1:0)))}))}}};var m=a(1639),b=a(9885),h=a(4458),f=a(3190),y=a(7887),_=a(6611),g=a(1821),w=a(8879),V=a(9984),Z=a.n(V);const q=(0,m.Z)(p,[["render",o]]),v=q;Z()(p,"components",{QPage:b.Z,QCard:h.Z,QCardSection:f.Z,QSelect:y.Z,QInput:_.Z,QCardActions:g.Z,QBtn:w.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/5724.8b5fcafb.js b/public/v3/js/5724.8b5fcafb.js new file mode 100644 index 0000000000..ab07c5a7bb --- /dev/null +++ b/public/v3/js/5724.8b5fcafb.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[5724],{5724:(e,a,l)=>{l.r(a),l.d(a,{default:()=>_});var n=l(9835);const r={class:"row q-mx-md"},t={class:"col-xl-4 col-lg-6 col-md-12 q-pa-xs"},c=(0,n.Uk)(" Empty / TODO ");function d(e,a,l,d,s,u){const i=(0,n.up)("q-card-section"),o=(0,n.up)("q-card"),f=(0,n.up)("q-page");return(0,n.wg)(),(0,n.j4)(f,null,{default:(0,n.w5)((()=>[(0,n._)("div",r,[(0,n._)("div",t,[(0,n.Wm)(o,{bordered:""},{default:(0,n.w5)((()=>[(0,n.Wm)(i,null,{default:(0,n.w5)((()=>[c])),_:1})])),_:1})])])])),_:1})}const s={name:"Data",data(){return{}}};var u=l(1639),i=l(9885),o=l(4458),f=l(3190),p=l(9984),m=l.n(p);const w=(0,u.Z)(s,[["render",d]]),_=w;m()(s,"components",{QPage:i.Z,QCard:o.Z,QCardSection:f.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/576.e26ddde9.js b/public/v3/js/576.e26ddde9.js new file mode 100644 index 0000000000..4e619461a0 --- /dev/null +++ b/public/v3/js/576.e26ddde9.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[576],{576:(e,i,l)=>{l.r(i),l.d(i,{default:()=>h});var a=l(9835);const n=(0,a._)("div",{class:"row q-mx-md"},[(0,a._)("div",{class:"col-7"},[(0,a._)("p",null," Hi! With your active support and feedback I'm capable of building this fancy new layout. So thank you for testing and playing around. I'm grateful for your help. "),(0,a._)("p",null,[(0,a.Uk)(" The "),(0,a._)("strong",null,"v2"),(0,a.Uk)(" layout was built to be perfect for each page. This new "),(0,a._)("strong",null,"v3"),(0,a.Uk)(' layout has a different approach. I\'m building a "minimum viable product", where each page has '),(0,a._)("em",null,"minimal"),(0,a.Uk)(" functionality. But any functionality that's there should work. It may not do everything you need and stuff may be missing. The things that you see are things that work. ")]),(0,a._)("p",null," If you spot problems, feel free to report them. Here are some known issues. "),(0,a._)("ul",null,[(0,a._)("li",{class:"text-negative"},"You will lose data when you edit certain objects;"),(0,a._)("li",null,"Caching is fairly aggressive and a page refresh may be necessary to get new information. This is especially obvious when you make new transactions or accounts; "),(0,a._)("li",null,"Not all menu's are (un)folded correctly for all pages;"),(0,a._)("li",null,"Breadcrumbs are missing or incorrect;"),(0,a._)("li",null,"You can't make transaction splits;"),(0,a._)("li",null,"Accounts, budgets, transactions, etc. have only limited fields available in the edit, create and view screens;"),(0,a._)("li",null,'Occasionally, you may spot a "TODO". I\'ve limited their presence, but sometimes I just need a placeholder;'),(0,a._)("li",null,[(0,a.Uk)("Missing translations, "),(0,a._)("code",null,"firefly.abc"),(0,a.Uk)(" references, or transactions formatted in another locale;")])]),(0,a._)("p",null,[(0,a.Uk)(" If you need to visit a "),(0,a._)("strong",null,"v1"),(0,a.Uk)(" alternative for the page you are seeing, please change the URL to "),(0,a._)("code",null,"*/profile"),(0,a.Uk)(" (where "),(0,a._)("code",null,"*"),(0,a.Uk)(" is your Firefly III URL). From there, you can navigate to any "),(0,a._)("strong",null,"v1"),(0,a.Uk)(" page. You may not be able to visit the v1 dashboard. ")]),(0,a._)("p",null,[(0,a.Uk)(" Tickets on GitHub that concern v3 will be "),(0,a._)("em",{class:"text-negative"},"closed"),(0,a.Uk)(". This rule may change in the future. Until then, please leave your feedback here: ")]),(0,a._)("ul",null,[(0,a._)("li",null,[(0,a._)("a",{href:"https://github.com/firefly-iii/firefly-iii/discussions/5589"},"GitHub discussion")]),(0,a._)("li",null,[(0,a._)("a",{href:"https://gitter.im/firefly-iii/firefly-iii"},"Gitter.im chat")]),(0,a._)("li",null,[(0,a._)("a",{href:"mailto:james@firefly-iii.org"},"james@firefly-iii.org")])]),(0,a._)("p",null,[(0,a.Uk)(" Thanks again,"),(0,a._)("br"),(0,a.Uk)(" James ")])])],-1);function t(e,i,l,t,s,o){const r=(0,a.up)("q-page");return(0,a.wg)(),(0,a.j4)(r,null,{default:(0,a.w5)((()=>[n])),_:1})}const s={name:"Index"};var o=l(1639),r=l(9885),u=l(9984),c=l.n(u);const f=(0,o.Z)(s,[["render",t]]),h=f;c()(s,"components",{QPage:r.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/6072.21c05085.js b/public/v3/js/6072.21c05085.js new file mode 100644 index 0000000000..3e506dbbb1 --- /dev/null +++ b/public/v3/js/6072.21c05085.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[6072],{6072:(e,t,a)=>{a.r(t),a.d(t,{default:()=>v});var i=a(9835),n=a(6970);const s=(0,i.Uk)("Edit"),o=(0,i.Uk)("Delete");function r(e,t,a,r,l,p){const u=(0,i.up)("q-th"),d=(0,i.up)("q-tr"),g=(0,i.up)("router-link"),c=(0,i.up)("q-td"),m=(0,i.up)("q-item-label"),h=(0,i.up)("q-item-section"),f=(0,i.up)("q-item"),w=(0,i.up)("q-list"),b=(0,i.up)("q-btn-dropdown"),y=(0,i.up)("q-table"),k=(0,i.up)("q-fab-action"),q=(0,i.up)("q-fab"),_=(0,i.up)("q-page-sticky"),Z=(0,i.up)("q-page"),W=(0,i.Q2)("close-popup");return(0,i.wg)(),(0,i.j4)(Z,null,{default:(0,i.w5)((()=>[(0,i.Wm)(y,{title:e.$t("firefly.subscriptions"),rows:l.rows,columns:l.columns,"row-key":"id",onRequest:p.onRequest,pagination:l.pagination,"onUpdate:pagination":t[0]||(t[0]=e=>l.pagination=e),loading:l.loading,class:"q-ma-md"},{header:(0,i.w5)((e=>[(0,i.Wm)(d,{props:e},{default:(0,i.w5)((()=>[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.cols,(t=>((0,i.wg)(),(0,i.j4)(u,{key:t.name,props:e},{default:(0,i.w5)((()=>[(0,i.Uk)((0,n.zw)(t.label),1)])),_:2},1032,["props"])))),128))])),_:2},1032,["props"])])),body:(0,i.w5)((e=>[(0,i.Wm)(d,{props:e},{default:(0,i.w5)((()=>[(0,i.Wm)(c,{key:"name",props:e},{default:(0,i.w5)((()=>[(0,i.Wm)(g,{to:{name:"subscriptions.show",params:{id:e.row.id}},class:"text-primary"},{default:(0,i.w5)((()=>[(0,i.Uk)((0,n.zw)(e.row.name),1)])),_:2},1032,["to"])])),_:2},1032,["props"]),(0,i.Wm)(c,{key:"menu",props:e},{default:(0,i.w5)((()=>[(0,i.Wm)(b,{color:"primary",label:"Actions",size:"sm"},{default:(0,i.w5)((()=>[(0,i.Wm)(w,null,{default:(0,i.w5)((()=>[(0,i.wy)(((0,i.wg)(),(0,i.j4)(f,{clickable:"",to:{name:"subscriptions.edit",params:{id:e.row.id}}},{default:(0,i.w5)((()=>[(0,i.Wm)(h,null,{default:(0,i.w5)((()=>[(0,i.Wm)(m,null,{default:(0,i.w5)((()=>[s])),_:1})])),_:1})])),_:2},1032,["to"])),[[W]]),(0,i.wy)(((0,i.wg)(),(0,i.j4)(f,{clickable:"",onClick:t=>p.deleteSubscription(e.row.id,e.row.name)},{default:(0,i.w5)((()=>[(0,i.Wm)(h,null,{default:(0,i.w5)((()=>[(0,i.Wm)(m,null,{default:(0,i.w5)((()=>[o])),_:1})])),_:1})])),_:2},1032,["onClick"])),[[W]])])),_:2},1024)])),_:2},1024)])),_:2},1032,["props"])])),_:2},1032,["props"])])),_:1},8,["title","rows","columns","onRequest","pagination","loading"]),(0,i.Wm)(_,{position:"bottom-right",offset:[18,18]},{default:(0,i.w5)((()=>[(0,i.Wm)(q,{label:"Actions",square:"","vertical-actions-align":"right","label-position":"left",color:"green",icon:"fas fa-chevron-up",direction:"up"},{default:(0,i.w5)((()=>[(0,i.Wm)(k,{color:"primary",square:"",to:{name:"subscriptions.create",params:{type:"asset"}},icon:"fas fa-exchange-alt",label:"New subscription"},null,8,["to"])])),_:1})])),_:1})])),_:1})}var l=a(1049),p=a(1569);class u{list(e,t){let a="/api/v1/bills";return p.api.get(a,{params:{page:e,cache:t}})}}var d=a(7913);const g={name:"Index",computed:{...(0,l.Se)("fireflyiii",["getRange","getCacheKey","getListPageSize"])},created(){this.pagination.rowsPerPage=this.getListPageSize},mounted(){if(this.type=this.$route.params.type,null===this.getRange.start||null===this.getRange.end){const e=(0,l.oR)();e.subscribe(((e,t)=>{"fireflyiii/setRange"===e.type&&(this.range={start:e.payload.start,end:e.payload.end},this.triggerUpdate())}))}null!==this.getRange.start&&null!==this.getRange.end&&(this.range={start:this.getRange.start,end:this.getRange.end},this.triggerUpdate())},data(){return{rows:[],pagination:{sortBy:"desc",descending:!1,page:1,rowsPerPage:5,rowsNumber:100},loading:!1,columns:[{name:"name",label:"Name",field:"name",align:"left"},{name:"menu",label:" ",field:"menu",align:"right"}]}},methods:{onRequest:function(e){this.page=e.pagination.page,this.triggerUpdate()},deleteSubscription:function(e,t){this.$q.dialog({title:"Confirm",message:'Do you want to delete subscriptions "'+t+'"? Transactions linked to this subscription will not be deleted.',cancel:!0,persistent:!0}).onOk((()=>{this.destroySubscription(e)}))},destroySubscription:function(e){new d.Z("bills").destroy(e).then((()=>{this.$store.dispatch("fireflyiii/refreshCacheKey"),this.triggerUpdate()}))},triggerUpdate:function(){if(this.loading)return;if(null===this.range.start||null===this.range.end)return;this.loading=!0;const e=new u;this.rows=[],e.list(this.page,this.getCacheKey).then((e=>{this.pagination.rowsPerPage=e.data.meta.pagination.per_page,this.pagination.rowsNumber=e.data.meta.pagination.total,this.pagination.page=this.page;for(let t in e.data.data)if(e.data.data.hasOwnProperty(t)){let a=e.data.data[t],i={id:a.id,name:a.attributes.name};this.rows.push(i)}this.loading=!1}))}}};var c=a(1639),m=a(9885),h=a(1746),f=a(9546),w=a(1682),b=a(7220),y=a(2045),k=a(3246),q=a(490),_=a(1233),Z=a(3115),W=a(3388),Q=a(9361),R=a(935),P=a(2146),U=a(9984),C=a.n(U);const S=(0,c.Z)(g,[["render",r]]),v=S;C()(g,"components",{QPage:m.Z,QTable:h.Z,QTr:f.Z,QTh:w.Z,QTd:b.Z,QBtnDropdown:y.Z,QList:k.Z,QItem:q.Z,QItemSection:_.Z,QItemLabel:Z.Z,QPageSticky:W.Z,QFab:Q.Z,QFabAction:R.Z}),C()(g,"directives",{ClosePopup:P.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/6323.69d55ffd.js b/public/v3/js/6323.69d55ffd.js new file mode 100644 index 0000000000..dc5e3255eb --- /dev/null +++ b/public/v3/js/6323.69d55ffd.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[6323],{6323:(e,t,a)=>{a.r(t),a.d(t,{default:()=>z});var i=a(9835),n=a(6970);const o=(0,i.Uk)("Edit"),s=(0,i.Uk)("Delete"),r=(0,i.Uk)("Transactions without a category");function l(e,t,a,l,g,p){const d=(0,i.up)("q-th"),u=(0,i.up)("q-tr"),c=(0,i.up)("router-link"),m=(0,i.up)("q-td"),h=(0,i.up)("q-item-label"),f=(0,i.up)("q-item-section"),w=(0,i.up)("q-item"),y=(0,i.up)("q-list"),b=(0,i.up)("q-btn-dropdown"),_=(0,i.up)("q-table"),k=(0,i.up)("q-btn"),q=(0,i.up)("q-fab-action"),Z=(0,i.up)("q-fab"),W=(0,i.up)("q-page-sticky"),Q=(0,i.up)("q-page"),C=(0,i.Q2)("close-popup");return(0,i.wg)(),(0,i.j4)(Q,null,{default:(0,i.w5)((()=>[(0,i.Wm)(_,{title:e.$t("firefly.categories"),rows:g.rows,columns:g.columns,"row-key":"id",onRequest:p.onRequest,pagination:g.pagination,"onUpdate:pagination":t[0]||(t[0]=e=>g.pagination=e),loading:g.loading,class:"q-ma-md"},{header:(0,i.w5)((e=>[(0,i.Wm)(u,{props:e},{default:(0,i.w5)((()=>[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.cols,(t=>((0,i.wg)(),(0,i.j4)(d,{key:t.name,props:e},{default:(0,i.w5)((()=>[(0,i.Uk)((0,n.zw)(t.label),1)])),_:2},1032,["props"])))),128))])),_:2},1032,["props"])])),body:(0,i.w5)((e=>[(0,i.Wm)(u,{props:e},{default:(0,i.w5)((()=>[(0,i.Wm)(m,{key:"name",props:e},{default:(0,i.w5)((()=>[(0,i.Wm)(c,{to:{name:"categories.show",params:{id:e.row.id}},class:"text-primary"},{default:(0,i.w5)((()=>[(0,i.Uk)((0,n.zw)(e.row.name),1)])),_:2},1032,["to"])])),_:2},1032,["props"]),(0,i.Wm)(m,{key:"menu",props:e},{default:(0,i.w5)((()=>[(0,i.Wm)(b,{color:"primary",label:"Actions",size:"sm"},{default:(0,i.w5)((()=>[(0,i.Wm)(y,null,{default:(0,i.w5)((()=>[(0,i.wy)(((0,i.wg)(),(0,i.j4)(w,{clickable:"",to:{name:"categories.edit",params:{id:e.row.id}}},{default:(0,i.w5)((()=>[(0,i.Wm)(f,null,{default:(0,i.w5)((()=>[(0,i.Wm)(h,null,{default:(0,i.w5)((()=>[o])),_:1})])),_:1})])),_:2},1032,["to"])),[[C]]),(0,i.wy)(((0,i.wg)(),(0,i.j4)(w,{clickable:"",onClick:t=>p.deleteCategory(e.row.id,e.row.name)},{default:(0,i.w5)((()=>[(0,i.Wm)(f,null,{default:(0,i.w5)((()=>[(0,i.Wm)(h,null,{default:(0,i.w5)((()=>[s])),_:1})])),_:1})])),_:2},1032,["onClick"])),[[C]])])),_:2},1024)])),_:2},1024)])),_:2},1032,["props"])])),_:2},1032,["props"])])),_:1},8,["title","rows","columns","onRequest","pagination","loading"]),(0,i._)("p",null,[(0,i.Wm)(k,{to:{name:"categories.show",params:{id:0}}},{default:(0,i.w5)((()=>[r])),_:1},8,["to"])]),(0,i.Wm)(W,{position:"bottom-right",offset:[18,18]},{default:(0,i.w5)((()=>[(0,i.Wm)(Z,{label:"Actions",square:"","vertical-actions-align":"right","label-position":"left",color:"green",icon:"fas fa-chevron-up",direction:"up"},{default:(0,i.w5)((()=>[(0,i.Wm)(q,{color:"primary",square:"",to:{name:"categories.create"},icon:"fas fa-exchange-alt",label:"New category"},null,8,["to"])])),_:1})])),_:1})])),_:1})}var g=a(1049),p=a(7913),d=a(1569);class u{list(e,t){let a="/api/v1/categories";return d.api.get(a,{params:{page:e,cache:t}})}}const c={name:"Index",watch:{$route(e){"categories.index"===e.name&&(this.page=1,this.updateBreadcrumbs(),this.triggerUpdate())}},data(){return{rows:[],pagination:{sortBy:"desc",descending:!1,page:1,rowsPerPage:5,rowsNumber:100},loading:!1,columns:[{name:"name",label:"Name",field:"name",align:"left"},{name:"menu",label:" ",field:"menu",align:"right"}]}},computed:{...(0,g.Se)("fireflyiii",["getRange","getCacheKey","getListPageSize"])},created(){this.pagination.rowsPerPage=this.getListPageSize},mounted(){if(this.type=this.$route.params.type,null===this.getRange.start||null===this.getRange.end){const e=(0,g.oR)();e.subscribe(((e,t)=>{"fireflyiii/setRange"===e.type&&(this.range={start:e.payload.start,end:e.payload.end},this.triggerUpdate())}))}null!==this.getRange.start&&null!==this.getRange.end&&(this.range={start:this.getRange.start,end:this.getRange.end},this.triggerUpdate())},methods:{deleteCategory:function(e,t){this.$q.dialog({title:"Confirm",message:'Do you want to delete category "'+t+'"? Any and all transactions linked to this category will be spared.',cancel:!0,persistent:!0}).onOk((()=>{this.destroyCategory(e)}))},destroyCategory:function(e){new p.Z("categories").destroy(e).then((()=>{this.$store.dispatch("fireflyiii/refreshCacheKey"),this.triggerUpdate()}))},updateBreadcrumbs:function(){this.$route.meta.pageTitle="firefly.categories",this.$route.meta.breadcrumbs=[{title:"categories"}]},onRequest:function(e){this.page=e.pagination.page,this.triggerUpdate()},triggerUpdate:function(){if(this.loading)return;if(null===this.range.start||null===this.range.end)return;this.loading=!0;const e=new u;this.rows=[],e.list(this.page,this.getCacheKey).then((e=>{this.pagination.rowsPerPage=e.data.meta.pagination.per_page,this.pagination.rowsNumber=e.data.meta.pagination.total,this.pagination.page=this.page;for(let t in e.data.data)if(e.data.data.hasOwnProperty(t)){let a=e.data.data[t],i={id:a.id,name:a.attributes.name};this.rows.push(i)}this.loading=!1}))}}};var m=a(1639),h=a(9885),f=a(1746),w=a(9546),y=a(1682),b=a(7220),_=a(2045),k=a(3246),q=a(490),Z=a(1233),W=a(3115),Q=a(8879),C=a(3388),R=a(9361),P=a(935),U=a(2146),v=a(9984),$=a.n(v);const T=(0,m.Z)(c,[["render",l]]),z=T;$()(c,"components",{QPage:h.Z,QTable:f.Z,QTr:w.Z,QTh:y.Z,QTd:b.Z,QBtnDropdown:_.Z,QList:k.Z,QItem:q.Z,QItemSection:Z.Z,QItemLabel:W.Z,QBtn:Q.Z,QPageSticky:C.Z,QFab:R.Z,QFabAction:P.Z}),$()(c,"directives",{ClosePopup:U.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/6676.60b155c0.js b/public/v3/js/6676.60b155c0.js new file mode 100644 index 0000000000..21a4f9cd3d --- /dev/null +++ b/public/v3/js/6676.60b155c0.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[6676],{6676:(e,s,r)=>{r.r(s),r.d(s,{default:()=>P});var t=r(9835),a=r(6970);const o={class:"row q-mx-md"},l={class:"col-12"},i={class:"row q-mx-md q-mt-md"},n={class:"col-12"},m=(0,t._)("div",{class:"text-h6"},"Info for new subscription",-1),u={class:"row"},d={class:"col-12 q-mb-xs"},c={class:"row"},b={class:"col-12 q-mb-xs"},p={class:"row"},h={class:"col-6 q-mb-xs q-pr-xs"},_={class:"col-6 q-mb-xs q-pl-xs"},f={class:"row"},q={class:"col-12 q-mb-xs"},w={class:"row q-mx-md"},g={class:"col-12"},v={class:"row"},x={class:"col-12 text-right"},y={class:"row"},E={class:"col-12 text-right"},V=(0,t._)("br",null,null,-1);function S(e,s,r,S,k,W){const I=(0,t.up)("q-btn"),$=(0,t.up)("q-banner"),C=(0,t.up)("q-card-section"),M=(0,t.up)("q-input"),R=(0,t.up)("q-select"),Z=(0,t.up)("q-card"),F=(0,t.up)("q-checkbox"),Q=(0,t.up)("q-page");return(0,t.wg)(),(0,t.j4)(Q,null,{default:(0,t.w5)((()=>[(0,t._)("div",o,[(0,t._)("div",l,[""!==k.errorMessage?((0,t.wg)(),(0,t.j4)($,{key:0,"inline-actions":"",rounded:"",class:"bg-orange text-white"},{action:(0,t.w5)((()=>[(0,t.Wm)(I,{flat:"",onClick:W.dismissBanner,label:"Dismiss"},null,8,["onClick"])])),default:(0,t.w5)((()=>[(0,t.Uk)((0,a.zw)(k.errorMessage)+" ",1)])),_:1})):(0,t.kq)("",!0)])]),(0,t._)("div",i,[(0,t._)("div",n,[(0,t.Wm)(Z,{bordered:""},{default:(0,t.w5)((()=>[(0,t.Wm)(C,null,{default:(0,t.w5)((()=>[m])),_:1}),(0,t.Wm)(C,null,{default:(0,t.w5)((()=>[(0,t._)("div",u,[(0,t._)("div",d,[(0,t.Wm)(M,{"error-message":k.submissionErrors.name,error:k.hasSubmissionErrors.name,"bottom-slots":"",disable:W.disabledInput,type:"text",clearable:"",modelValue:k.name,"onUpdate:modelValue":s[0]||(s[0]=e=>k.name=e),label:e.$t("form.name"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])]),(0,t._)("div",c,[(0,t._)("div",b,[(0,t.Wm)(M,{"error-message":k.submissionErrors.date,error:k.hasSubmissionErrors.date,"bottom-slots":"",disable:W.disabledInput,type:"date",modelValue:k.date,"onUpdate:modelValue":s[1]||(s[1]=e=>k.date=e),label:e.$t("form.date"),hint:"The next date you expect the subscription to hit",outlined:""},null,8,["error-message","error","disable","modelValue","label"])])]),(0,t._)("div",p,[(0,t._)("div",h,[(0,t.Wm)(M,{"error-message":k.submissionErrors.amount_min,error:k.hasSubmissionErrors.amount_min,"bottom-slots":"",disable:W.disabledInput,type:"number",modelValue:k.amount_min,"onUpdate:modelValue":s[2]||(s[2]=e=>k.amount_min=e),label:e.$t("form.amount_min"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])]),(0,t._)("div",_,[(0,t.Wm)(M,{"error-message":k.submissionErrors.amount_max,error:k.hasSubmissionErrors.amount_max,rules:[e=>parseFloat(e)>=parseFloat(k.amount_min)||"Must be more than minimum amount"],"bottom-slots":"",disable:W.disabledInput,type:"number",modelValue:k.amount_max,"onUpdate:modelValue":s[3]||(s[3]=e=>k.amount_max=e),label:e.$t("form.amount_max"),outlined:""},null,8,["error-message","error","rules","disable","modelValue","label"])]),(0,t._)("div",f,[(0,t._)("div",q,[(0,t.Wm)(R,{"error-message":k.submissionErrors.repeat_freq,error:k.hasSubmissionErrors.repeat_freq,outlined:"",modelValue:k.repeat_freq,"onUpdate:modelValue":s[4]||(s[4]=e=>k.repeat_freq=e),options:k.repeatFrequencies,label:"Outlined"},null,8,["error-message","error","modelValue","options"])])])])])),_:1})])),_:1})])]),(0,t._)("div",w,[(0,t._)("div",g,[(0,t.Wm)(Z,{class:"q-mt-xs"},{default:(0,t.w5)((()=>[(0,t.Wm)(C,null,{default:(0,t.w5)((()=>[(0,t._)("div",v,[(0,t._)("div",x,[(0,t.Wm)(I,{disable:W.disabledInput,color:"primary",label:"Submit",onClick:W.submitSubscription},null,8,["disable","onClick"])])]),(0,t._)("div",y,[(0,t._)("div",E,[(0,t.Wm)(F,{disable:W.disabledInput,modelValue:k.doReturnHere,"onUpdate:modelValue":s[5]||(s[5]=e=>k.doReturnHere=e),"left-label":"",label:"Return here to create another one"},null,8,["disable","modelValue"]),V,(0,t.Wm)(F,{modelValue:k.doResetForm,"onUpdate:modelValue":s[6]||(s[6]=e=>k.doResetForm=e),"left-label":"",disable:!k.doReturnHere||W.disabledInput,label:"Reset form after submission"},null,8,["modelValue","disable"])])])])),_:1})])),_:1})])])])),_:1})}var k=r(1569);class W{post(e){let s="/api/v1/bills";return k.api.post(s,e)}}var I=r(8898);const $={name:"Create",data(){return{submissionErrors:{},hasSubmissionErrors:{},submitting:!1,doReturnHere:!1,doResetForm:!1,errorMessage:"",repeatFrequencies:[],name:"",date:"",repeat_freq:"monthly",amount_min:"",amount_max:""}},computed:{disabledInput:function(){return this.submitting}},created(){this.date=(0,I.Z)(new Date,"y-MM-dd"),this.repeatFrequencies=[{label:this.$t("firefly.repeat_freq_weekly"),value:"weekly"},{label:this.$t("firefly.repeat_freq_monthly"),value:"monthly"},{label:this.$t("firefly.repeat_freq_quarterly"),value:"quarterly"},{label:this.$t("firefly.repeat_freq_half-year"),value:"half-year"},{label:this.$t("firefly.repeat_freq_yearly"),value:"yearly"}],this.resetForm()},methods:{resetForm:function(){this.name="",this.date=(0,I.Z)(new Date,"y-MM-dd"),this.repeat_freq="monthly",this.amount_min="",this.amount_max="",this.resetErrors()},resetErrors:function(){this.submissionErrors={name:"",date:"",repeat_freq:"",amount_min:"",amount_max:""},this.hasSubmissionErrors={name:!1,date:!1,repeat_freq:!1,amount_min:!1,amount_max:!1}},submitSubscription:function(){this.submitting=!0,this.errorMessage="",this.resetErrors();const e=this.buildSubscription();let s=new W;s.post(e).catch(this.processErrors).then(this.processSuccess)},buildSubscription:function(){let e={name:this.name,date:this.date,repeat_freq:this.repeat_freq,amount_min:this.amount_min,amount_max:this.amount_max};return e},dismissBanner:function(){this.errorMessage=""},processSuccess:function(e){if(!e)return;this.submitting=!1;let s={level:"success",text:"I am new subscription lol",show:!0,action:{show:!0,text:"Go to account",link:{name:"subscriptions.show",params:{id:parseInt(e.data.data.id)}}}};this.$q.localStorage.set("flash",s),this.doReturnHere&&window.dispatchEvent(new CustomEvent("flash",{detail:{flash:this.$q.localStorage.getItem("flash")}})),this.doReturnHere||this.$router.go(-1)},processErrors:function(e){if(e.response){let s=e.response.data;this.errorMessage=s.message,console.log(s);for(let e in s.errors)s.errors.hasOwnProperty(e)&&(this.submissionErrors[e]=s.errors[e][0],this.hasSubmissionErrors[e]=!0)}this.submitting=!1}}};var C=r(1639),M=r(9885),R=r(7128),Z=r(8879),F=r(4458),Q=r(3190),U=r(6611),H=r(7887),B=r(1221),D=r(9984),j=r.n(D);const O=(0,C.Z)($,[["render",S]]),P=O;j()($,"components",{QPage:M.Z,QBanner:R.Z,QBtn:Z.Z,QCard:F.Z,QCardSection:Q.Z,QInput:U.Z,QSelect:H.Z,QCheckbox:B.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/6691.80040366.js b/public/v3/js/6691.80040366.js new file mode 100644 index 0000000000..be4cde01a9 --- /dev/null +++ b/public/v3/js/6691.80040366.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[6691],{6691:(e,s,r)=>{r.r(s),r.d(s,{default:()=>B});var t=r(9835),o=r(6970);const l={class:"row q-mx-md"},a={class:"col-12"},i={class:"row q-mx-md q-mt-md"},n={class:"col-12"},d=(0,t._)("div",{class:"text-h6"},"Edit currency",-1),c={class:"row"},u={class:"col-12 q-mb-xs"},m={class:"row"},b={class:"col-12 q-mb-xs"},h={class:"row"},p={class:"col-12 q-mb-xs"},f={class:"row q-mx-md"},y={class:"col-12"},g={class:"row"},w={class:"col-12 text-right"},_={class:"row"},v={class:"col-12 text-right"};function C(e,s,r,C,E,q){const x=(0,t.up)("q-btn"),k=(0,t.up)("q-banner"),V=(0,t.up)("q-card-section"),S=(0,t.up)("q-input"),W=(0,t.up)("q-card"),Z=(0,t.up)("q-checkbox"),I=(0,t.up)("q-page");return(0,t.wg)(),(0,t.j4)(I,null,{default:(0,t.w5)((()=>[(0,t._)("div",l,[(0,t._)("div",a,[""!==E.errorMessage?((0,t.wg)(),(0,t.j4)(k,{key:0,"inline-actions":"",rounded:"",class:"bg-orange text-white"},{action:(0,t.w5)((()=>[(0,t.Wm)(x,{flat:"",onClick:q.dismissBanner,label:"Dismiss"},null,8,["onClick"])])),default:(0,t.w5)((()=>[(0,t.Uk)((0,o.zw)(E.errorMessage)+" ",1)])),_:1})):(0,t.kq)("",!0)])]),(0,t._)("div",i,[(0,t._)("div",n,[(0,t.Wm)(W,{bordered:""},{default:(0,t.w5)((()=>[(0,t.Wm)(V,null,{default:(0,t.w5)((()=>[d])),_:1}),(0,t.Wm)(V,null,{default:(0,t.w5)((()=>[(0,t._)("div",c,[(0,t._)("div",u,[(0,t.Wm)(S,{"error-message":E.submissionErrors.name,error:E.hasSubmissionErrors.name,"bottom-slots":"",disable:q.disabledInput,type:"text",clearable:"",modelValue:E.name,"onUpdate:modelValue":s[0]||(s[0]=e=>E.name=e),label:e.$t("form.name"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])]),(0,t._)("div",m,[(0,t._)("div",b,[(0,t.Wm)(S,{"error-message":E.submissionErrors.code,error:E.hasSubmissionErrors.code,"bottom-slots":"",disable:q.disabledInput,type:"text",clearable:"",modelValue:E.code,"onUpdate:modelValue":s[1]||(s[1]=e=>E.code=e),label:e.$t("form.code"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])]),(0,t._)("div",h,[(0,t._)("div",p,[(0,t.Wm)(S,{"error-message":E.submissionErrors.symbol,error:E.hasSubmissionErrors.symbol,"bottom-slots":"",disable:q.disabledInput,type:"text",clearable:"",modelValue:E.symbol,"onUpdate:modelValue":s[2]||(s[2]=e=>E.symbol=e),label:e.$t("form.symbol"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])])])),_:1})])),_:1})])]),(0,t._)("div",f,[(0,t._)("div",y,[(0,t.Wm)(W,{class:"q-mt-xs"},{default:(0,t.w5)((()=>[(0,t.Wm)(V,null,{default:(0,t.w5)((()=>[(0,t._)("div",g,[(0,t._)("div",w,[(0,t.Wm)(x,{disable:q.disabledInput,color:"primary",label:"Update",onClick:q.submitCurrency},null,8,["disable","onClick"])])]),(0,t._)("div",_,[(0,t._)("div",v,[(0,t.Wm)(Z,{disable:q.disabledInput,modelValue:E.doReturnHere,"onUpdate:modelValue":s[3]||(s[3]=e=>E.doReturnHere=e),"left-label":"",label:"Return here"},null,8,["disable","modelValue"])])])])),_:1})])),_:1})])])])),_:1})}var E=r(1484),q=r(1569);class x{post(e,s){let r="/api/v1/currencies/"+e;return q.api.put(r,s)}}const k={name:"Edit",data(){return{submissionErrors:{},hasSubmissionErrors:{},submitting:!1,doReturnHere:!1,doResetForm:!1,errorMessage:"",type:"",code:"",name:"",symbol:""}},computed:{disabledInput:function(){return this.submitting}},created(){this.code=this.$route.params.code,this.collectCurrency()},methods:{collectCurrency:function(){let e=new E.Z;e.get(this.code).then((e=>this.parseCurrency(e)))},parseCurrency:function(e){this.name=e.data.data.attributes.name,this.symbol=e.data.data.attributes.symbol},resetErrors:function(){this.submissionErrors={name:"",code:"",symbol:""},this.hasSubmissionErrors={name:!1,code:!1,symbol:!1}},submitCurrency:function(){this.submitting=!0,this.errorMessage="",this.resetErrors();const e=this.buildCurrency();let s=new x;s.post(this.code,e).catch(this.processErrors).then(this.processSuccess)},buildCurrency:function(){return{name:this.name,code:this.code,symbol:this.symbol}},dismissBanner:function(){this.errorMessage=""},processSuccess:function(e){if(this.$store.dispatch("fireflyiii/refreshCacheKey"),!e)return;this.submitting=!1;let s={level:"success",text:"Currency is updated",show:!0,action:{show:!0,text:"Go to currency",link:{name:"currencies.show",params:{code:e.data.data.code}}}};this.$q.localStorage.set("flash",s),this.doReturnHere&&window.dispatchEvent(new CustomEvent("flash",{detail:{flash:this.$q.localStorage.getItem("flash")}})),this.doReturnHere||this.$router.go(-1)},processErrors:function(e){if(e.response){let s=e.response.data;this.errorMessage=s.message,console.log(s);for(let e in s.errors)s.errors.hasOwnProperty(e)&&(this.submissionErrors[e]=s.errors[e][0],this.hasSubmissionErrors[e]=!0)}this.submitting=!1}}};var V=r(1639),S=r(9885),W=r(7128),Z=r(8879),I=r(4458),$=r(3190),Q=r(6611),R=r(1221),M=r(9984),U=r.n(M);const H=(0,V.Z)(k,[["render",C]]),B=H;U()(k,"components",{QPage:S.Z,QBanner:W.Z,QBtn:Z.Z,QCard:I.Z,QCardSection:$.Z,QInput:Q.Z,QCheckbox:R.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/6719.f9d4744f.js b/public/v3/js/6719.f9d4744f.js new file mode 100644 index 0000000000..01118dcd2b --- /dev/null +++ b/public/v3/js/6719.f9d4744f.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[6719],{6719:(e,t,a)=>{a.r(t),a.d(t,{default:()=>W});var o=a(9835),i=a(6970);const s={class:"row q-mx-md"},l={class:"col-12"},n={class:"text-h6"},r={class:"row"},d={class:"col-12 q-mb-xs"},u=(0,o._)("br",null,null,-1);function c(e,t,a,c,h,w){const b=(0,o.up)("q-card-section"),f=(0,o.up)("q-card"),k=(0,o.up)("q-page");return(0,o.wg)(),(0,o.j4)(k,null,{default:(0,o.w5)((()=>[(0,o._)("div",s,[(0,o._)("div",l,[(0,o.Wm)(f,{bordered:""},{default:(0,o.w5)((()=>[(0,o.Wm)(b,null,{default:(0,o.w5)((()=>[(0,o._)("div",n,(0,i.zw)(h.webhook.title),1)])),_:1}),(0,o.Wm)(b,null,{default:(0,o.w5)((()=>[(0,o._)("div",r,[(0,o._)("div",d,[(0,o.Uk)(" Name: "+(0,i.zw)(h.webhook.title),1),u])])])),_:1})])),_:1})])])])),_:1})}var h=a(9599);const w={name:"Show",data(){return{webhook:{},id:0}},created(){this.id=parseInt(this.$route.params.id),this.getWebhook()},methods:{getWebhook:function(){(new h.Z).get(this.id).then((e=>this.parseWebhook(e)))},parseWebhook:function(e){this.webhook={title:e.data.data.attributes.title}}}};var b=a(1639),f=a(9885),k=a(4458),p=a(3190),_=a(9984),m=a.n(_);const v=(0,b.Z)(w,[["render",c]]),W=v;m()(w,"components",{QPage:f.Z,QCard:k.Z,QCardSection:p.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/6826.74ed4602.js b/public/v3/js/6826.74ed4602.js new file mode 100644 index 0000000000..56fc72bde5 --- /dev/null +++ b/public/v3/js/6826.74ed4602.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[6826],{6882:(s,e,t)=>{t.r(e),t.d(e,{default:()=>M});var r=t(9835),i=t(6970);const o={class:"row q-mx-md"},l={class:"col-12"},a={class:"row q-mx-md q-mt-md"},n={class:"col-12"},u=(0,r._)("div",{class:"text-h6"},"Edit group",-1),d={class:"row"},c={class:"col-12 q-mb-xs"},h={class:"row q-mx-md"},m={class:"col-12"},p={class:"row"},b={class:"col-12 text-right"},f={class:"row"},g={class:"col-12 text-right"};function w(s,e,t,w,_,v){const q=(0,r.up)("q-btn"),E=(0,r.up)("q-banner"),k=(0,r.up)("q-card-section"),x=(0,r.up)("q-input"),C=(0,r.up)("q-card"),G=(0,r.up)("q-checkbox"),y=(0,r.up)("q-page");return(0,r.wg)(),(0,r.j4)(y,null,{default:(0,r.w5)((()=>[(0,r._)("div",o,[(0,r._)("div",l,[""!==_.errorMessage?((0,r.wg)(),(0,r.j4)(E,{key:0,"inline-actions":"",rounded:"",class:"bg-orange text-white"},{action:(0,r.w5)((()=>[(0,r.Wm)(q,{flat:"",onClick:v.dismissBanner,label:"Dismiss"},null,8,["onClick"])])),default:(0,r.w5)((()=>[(0,r.Uk)((0,i.zw)(_.errorMessage)+" ",1)])),_:1})):(0,r.kq)("",!0)])]),(0,r._)("div",a,[(0,r._)("div",n,[(0,r.Wm)(C,{bordered:""},{default:(0,r.w5)((()=>[(0,r.Wm)(k,null,{default:(0,r.w5)((()=>[u])),_:1}),(0,r.Wm)(k,null,{default:(0,r.w5)((()=>[(0,r._)("div",d,[(0,r._)("div",c,[(0,r.Wm)(x,{"error-message":_.submissionErrors.title,error:_.hasSubmissionErrors.title,"bottom-slots":"",disable:v.disabledInput,type:"text",clearable:"",modelValue:_.title,"onUpdate:modelValue":e[0]||(e[0]=s=>_.title=s),label:s.$t("form.title"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])])])),_:1})])),_:1})])]),(0,r._)("div",h,[(0,r._)("div",m,[(0,r.Wm)(C,{class:"q-mt-xs"},{default:(0,r.w5)((()=>[(0,r.Wm)(k,null,{default:(0,r.w5)((()=>[(0,r._)("div",p,[(0,r._)("div",b,[(0,r.Wm)(q,{disable:v.disabledInput,color:"primary",label:"Update",onClick:v.submitGroup},null,8,["disable","onClick"])])]),(0,r._)("div",f,[(0,r._)("div",g,[(0,r.Wm)(G,{disable:v.disabledInput,modelValue:_.doReturnHere,"onUpdate:modelValue":e[1]||(e[1]=s=>_.doReturnHere=s),"left-label":"",label:"Return here"},null,8,["disable","modelValue"])])])])),_:1})])),_:1})])])])),_:1})}var _=t(1741),v=t(1569);class q{post(s,e){let t="/api/v1/object_groups/"+s;return v.api.put(t,e)}}const E={name:"Edit",data(){return{submissionErrors:{},hasSubmissionErrors:{},submitting:!1,doReturnHere:!1,doResetForm:!1,errorMessage:"",type:"",id:0,title:""}},computed:{disabledInput:function(){return this.submitting}},created(){this.id=parseInt(this.$route.params.id),this.collectGroup()},methods:{collectGroup:function(){let s=new _.Z;s.get(this.id).then((s=>this.parseGroup(s)))},parseGroup:function(s){this.title=s.data.data.attributes.title},resetErrors:function(){this.submissionErrors={title:""},this.hasSubmissionErrors={title:!1}},submitGroup:function(){this.submitting=!0,this.errorMessage="",this.resetErrors();const s=this.buildGroup();let e=new q;e.post(this.id,s).catch(this.processErrors).then(this.processSuccess)},buildGroup:function(){return{title:this.title}},dismissBanner:function(){this.errorMessage=""},processSuccess:function(s){if(this.$store.dispatch("fireflyiii/refreshCacheKey"),!s)return;this.submitting=!1;let e={level:"success",text:"Group is updated",show:!0,action:{show:!0,text:"Go to group",link:{name:"groups.show",params:{id:parseInt(s.data.data.id)}}}};this.$q.localStorage.set("flash",e),this.doReturnHere&&window.dispatchEvent(new CustomEvent("flash",{detail:{flash:this.$q.localStorage.getItem("flash")}})),this.doReturnHere||this.$router.go(-1)},processErrors:function(s){if(s.response){let e=s.response.data;this.errorMessage=e.message,console.log(e);for(let s in e.errors)e.errors.hasOwnProperty(s)&&(this.submissionErrors[s]=e.errors[s][0],this.hasSubmissionErrors[s]=!0)}this.submitting=!1}}};var k=t(1639),x=t(9885),C=t(7128),G=t(8879),y=t(4458),S=t(3190),W=t(6611),Z=t(1221),I=t(9984),Q=t.n(I);const R=(0,k.Z)(E,[["render",w]]),M=R;Q()(E,"components",{QPage:x.Z,QBanner:C.Z,QBtn:G.Z,QCard:y.Z,QCardSection:S.Z,QInput:W.Z,QCheckbox:Z.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/6882.c5970da7.js b/public/v3/js/6882.c5970da7.js new file mode 100644 index 0000000000..37b1ebe1e5 --- /dev/null +++ b/public/v3/js/6882.c5970da7.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[6882],{5100:(e,a,t)=>{t.r(a),t.d(a,{default:()=>Oe});var s=t(9835);const l={class:"row q-mx-md"},i={class:"col-xl-4 col-lg-6 col-md-12 q-pa-xs"},n={class:"text-h6"},o=(0,s.Uk)("Language and locale "),u={key:0,class:"text-secondary"},c=(0,s._)("span",{class:"far fa-check-circle"},null,-1),d=[c],r={key:1,class:"text-blue"},g=(0,s._)("span",{class:"fas fa-spinner fa-spin"},null,-1),p=[g],h={key:2,class:"text-red"},f=(0,s._)("span",{class:"fas fa-skull-crossbones"},null,-1),m=(0,s.Uk)(),w=(0,s._)("small",null,"Please refresh the page...",-1),b=[f,m,w],k={class:"col-xl-4 col-lg-6 col-md-12 q-pa-xs"},_={class:"text-h6"},F=(0,s.Uk)("Accounts on the home screen "),y={key:0,class:"text-secondary"},v=(0,s._)("span",{class:"far fa-check-circle"},null,-1),x=[v],V={key:1,class:"text-blue"},S=(0,s._)("span",{class:"fas fa-spinner fa-spin"},null,-1),z=[S],O={key:2,class:"text-red"},P=(0,s._)("span",{class:"fas fa-skull-crossbones"},null,-1),q=(0,s.Uk)(),W=(0,s._)("small",null,"Please refresh the page...",-1),L=[P,q,W],Z={class:"col-xl-4 col-lg-6 col-md-12 q-pa-xs"},A={class:"text-h6"},U=(0,s.Uk)("View range and list size "),D={key:0,class:"text-secondary"},R=(0,s._)("span",{class:"far fa-check-circle"},null,-1),T=[R],C={key:1,class:"text-blue"},I=(0,s._)("span",{class:"fas fa-spinner fa-spin"},null,-1),Q=[I],K={key:2,class:"text-red"},B=(0,s._)("span",{class:"fas fa-skull-crossbones"},null,-1),N=(0,s.Uk)(),$=(0,s._)("small",null,"Please refresh the page...",-1),j=[B,N,$],E={class:"col-xl-4 col-lg-6 col-md-12 q-pa-xs"},M={class:"text-h6"},G=(0,s.Uk)("Optional transaction fields "),H={key:0,class:"text-secondary"},J=(0,s._)("span",{class:"far fa-check-circle"},null,-1),X=[J],Y={key:1,class:"text-blue"},ee=(0,s._)("span",{class:"fas fa-spinner fa-spin"},null,-1),ae=[ee],te={key:2,class:"text-red"},se=(0,s._)("span",{class:"fas fa-skull-crossbones"},null,-1),le=(0,s.Uk)(),ie=(0,s._)("small",null,"Please refresh the page...",-1),ne=[se,le,ie];function oe(e,a,t,c,g,f){const m=(0,s.up)("q-card-section"),w=(0,s.up)("q-select"),v=(0,s.up)("q-card"),S=(0,s.up)("q-input"),P=(0,s.up)("q-tab"),q=(0,s.up)("q-tabs"),W=(0,s.up)("q-option-group"),R=(0,s.up)("q-tab-panel"),I=(0,s.up)("q-tab-panels"),B=(0,s.up)("q-page");return(0,s.wg)(),(0,s.j4)(B,null,{default:(0,s.w5)((()=>[(0,s._)("div",l,[(0,s._)("div",i,[(0,s.Wm)(v,{bordered:""},{default:(0,s.w5)((()=>[(0,s.Wm)(m,null,{default:(0,s.w5)((()=>[(0,s._)("div",n,[o,!0===g.isOk.language?((0,s.wg)(),(0,s.iD)("span",u,d)):(0,s.kq)("",!0),!0===g.isLoading.language?((0,s.wg)(),(0,s.iD)("span",r,p)):(0,s.kq)("",!0),!0===g.isFailure.language?((0,s.wg)(),(0,s.iD)("span",h,b)):(0,s.kq)("",!0)])])),_:1}),(0,s.Wm)(m,null,{default:(0,s.w5)((()=>[(0,s.Wm)(w,{"bottom-slots":"",outlined:"",modelValue:g.language,"onUpdate:modelValue":a[0]||(a[0]=e=>g.language=e),"emit-value":"","map-options":"",options:g.languages,label:"I prefer the following language"},null,8,["modelValue","options"])])),_:1})])),_:1})]),(0,s._)("div",k,[(0,s.Wm)(v,{bordered:""},{default:(0,s.w5)((()=>[(0,s.Wm)(m,null,{default:(0,s.w5)((()=>[(0,s._)("div",_,[F,!0===g.isOk.accounts?((0,s.wg)(),(0,s.iD)("span",y,x)):(0,s.kq)("",!0),!0===g.isLoading.accounts?((0,s.wg)(),(0,s.iD)("span",V,z)):(0,s.kq)("",!0),!0===g.isFailure.accounts?((0,s.wg)(),(0,s.iD)("span",O,L)):(0,s.kq)("",!0)])])),_:1}),(0,s.Wm)(m,null,{default:(0,s.w5)((()=>[(0,s.Wm)(w,{"bottom-slots":"",outlined:"",multiple:"","use-chips":"",modelValue:g.accounts,"onUpdate:modelValue":a[1]||(a[1]=e=>g.accounts=e),"emit-value":"","map-options":"",options:g.allAccounts,label:"I want to see these accounts on the dashboard"},null,8,["modelValue","options"])])),_:1})])),_:1})]),(0,s._)("div",Z,[(0,s.Wm)(v,{bordered:""},{default:(0,s.w5)((()=>[(0,s.Wm)(m,null,{default:(0,s.w5)((()=>[(0,s._)("div",A,[U,!0===g.isOk.pageSize?((0,s.wg)(),(0,s.iD)("span",D,T)):(0,s.kq)("",!0),!0===g.isLoading.pageSize?((0,s.wg)(),(0,s.iD)("span",C,Q)):(0,s.kq)("",!0),!0===g.isFailure.pageSize?((0,s.wg)(),(0,s.iD)("span",K,j)):(0,s.kq)("",!0)])])),_:1}),(0,s.Wm)(m,null,{default:(0,s.w5)((()=>[(0,s.Wm)(S,{outlined:"",modelValue:g.pageSize,"onUpdate:modelValue":a[2]||(a[2]=e=>g.pageSize=e),type:"number",step:"1",label:"Page size"},null,8,["modelValue"])])),_:1}),(0,s.Wm)(m,null,{default:(0,s.w5)((()=>[(0,s.Wm)(w,{"bottom-slots":"",outlined:"",modelValue:g.viewRange,"onUpdate:modelValue":a[3]||(a[3]=e=>g.viewRange=e),"emit-value":"","map-options":"",options:g.viewRanges,label:"Default period and view range"},null,8,["modelValue","options"])])),_:1})])),_:1})]),(0,s._)("div",E,[(0,s.Wm)(v,{bordered:""},{default:(0,s.w5)((()=>[(0,s.Wm)(m,null,{default:(0,s.w5)((()=>[(0,s._)("div",M,[G,!0===g.isOk.transactionFields?((0,s.wg)(),(0,s.iD)("span",H,X)):(0,s.kq)("",!0),!0===g.isLoading.transactionFields?((0,s.wg)(),(0,s.iD)("span",Y,ae)):(0,s.kq)("",!0),!0===g.isFailure.transactionFields?((0,s.wg)(),(0,s.iD)("span",te,ne)):(0,s.kq)("",!0)])])),_:1}),(0,s.Wm)(q,{modelValue:g.tab,"onUpdate:modelValue":a[4]||(a[4]=e=>g.tab=e),dense:""},{default:(0,s.w5)((()=>[(0,s.Wm)(P,{name:"date",label:"Date fields"}),(0,s.Wm)(P,{name:"meta",label:"Meta data fields"}),(0,s.Wm)(P,{name:"ref",label:"Reference fields"})])),_:1},8,["modelValue"]),(0,s.Wm)(I,{modelValue:g.tab,"onUpdate:modelValue":a[8]||(a[8]=e=>g.tab=e),animated:"",swipeable:""},{default:(0,s.w5)((()=>[(0,s.Wm)(R,{name:"date"},{default:(0,s.w5)((()=>[(0,s.Wm)(W,{options:g.allTransactionFields.date,type:"checkbox",modelValue:g.transactionFields.date,"onUpdate:modelValue":a[5]||(a[5]=e=>g.transactionFields.date=e)},null,8,["options","modelValue"])])),_:1}),(0,s.Wm)(R,{name:"meta"},{default:(0,s.w5)((()=>[(0,s.Wm)(W,{options:g.allTransactionFields.meta,type:"checkbox",modelValue:g.transactionFields.meta,"onUpdate:modelValue":a[6]||(a[6]=e=>g.transactionFields.meta=e)},null,8,["options","modelValue"])])),_:1}),(0,s.Wm)(R,{name:"ref"},{default:(0,s.w5)((()=>[(0,s.Wm)(W,{options:g.allTransactionFields.ref,type:"checkbox",modelValue:g.transactionFields.ref,"onUpdate:modelValue":a[7]||(a[7]=e=>g.transactionFields.ref=e)},null,8,["options","modelValue"])])),_:1})])),_:1},8,["modelValue"])])),_:1})])])])),_:1})}var ue=t(3918),ce=t(1592),de=t(9167),re=t(3836),ge=t(1049);const pe={name:"Index",mounted(){this.isOk={language:!0,accounts:!0,pageSize:!0,transactionFields:!0},this.isLoading={language:!1,accounts:!1,pageSize:!1,transactionFields:!1},this.isFailure={language:!1,accounts:!1,pageSize:!1,transactionFields:!1},this.getLanguages(),this.getLanguage(),this.getAssetAccounts().then((()=>{this.getPreferredAccounts()})),this.getViewRanges().then((()=>{this.getPreferredViewRange()})),this.getPageSize(),this.getOptionalFields()},data(){return{languages:[],allAccounts:[],tab:"date",allTransactionFields:{date:[{label:"Interest date",value:"interest_date"},{label:"Book date",value:"book_date"},{label:"Processing date",value:"process_date"},{label:"Due date",value:"due_date"},{label:"Payment date",value:"payment_date"},{label:"Invoice date",value:"invoice_date"}],meta:[{label:"Notes",value:"notes"},{label:"Location",value:"location"},{label:"Attachments",value:"attachments"}],ref:[{label:"Internal reference",value:"internal_reference"},{label:"Transaction links",value:"links"},{label:"External URL",value:"external_url"},{label:"External ID",value:"external_id"}]},viewRanges:[],isOk:{},isLoading:{},isFailure:{},language:"en_US",viewRange:"1M",pageSize:50,accounts:[],transactionFields:{date:[],meta:[],ref:[]}}},watch:{pageSize:function(e){this.isOk.language=!1,this.isLoading.language=!0,(new ce.Z).put("listPageSize",e).then((()=>{this.$store.dispatch("fireflyiii/refreshCacheKey"),this.isOk.pageSize=!0,this.isLoading.pageSize=!1,this.isFailure.pageSize=!1})).catch((()=>{this.isOk.pageSize=!1,this.isLoading.pageSize=!1,this.isFailure.pageSize=!0}))},"transactionFields.date":function(){this.submitTransactionFields()},"transactionFields.meta":function(){this.submitTransactionFields()},"transactionFields.ref":function(){this.submitTransactionFields()},language:function(e){this.isOk.language=!1,this.isLoading.language=!0,(new ce.Z).put("language",e).then((()=>{this.$store.dispatch("fireflyiii/refreshCacheKey"),this.isOk.language=!0,this.isLoading.language=!1,this.isFailure.language=!1})).catch((()=>{this.isOk.language=!1,this.isLoading.language=!1,this.isFailure.language=!0}))},accounts:function(e){(new ce.Z).put("frontpageAccounts",e).then((()=>{this.$store.dispatch("fireflyiii/refreshCacheKey"),this.isOk.accounts=!0,this.isLoading.accounts=!1,this.isFailure.accounts=!1})).catch((()=>{this.isOk.accounts=!1,this.isLoading.accounts=!1,this.isFailure.accounts=!0}))},viewRange:function(e){(new ce.Z).put("viewRange",e).then((()=>{this.$store.dispatch("fireflyiii/refreshCacheKey"),this.isOk.pageSize=!0,this.isLoading.pageSize=!1,this.isFailure.pageSize=!1})).catch((()=>{this.isOk.pageSize=!1,this.isLoading.pageSize=!1,this.isFailure.pageSize=!0}))}},computed:{...(0,ge.Se)("fireflyiii",["getCacheKey"])},methods:{getAssetAccounts:function(){return this.getAssetAccountPage(1)},getAssetAccountPage:function(e){return(new re.Z).list("asset",e,this.getCacheKey).then((a=>{let t=parseInt(a.data.meta.pagination.total_pages);for(let e in a.data.data)if(a.data.data.hasOwnProperty(e)){let t=a.data.data[e];this.allAccounts.push({value:parseInt(t.id),label:t.attributes.name})}t>e&&this.getAssetAccountPage(e+1)}))},submitTransactionFields:function(){let e={};for(let a in this.transactionFields)if(this.transactionFields.hasOwnProperty(a)){let t=this.transactionFields[a];for(let a in t)if(t.hasOwnProperty(a)){let s=t[a];e[s]=!0}}(new ce.Z).put("transaction_journal_optional_fields",e).then((()=>{this.$store.dispatch("fireflyiii/refreshCacheKey"),this.isOk.transactionFields=!0,this.isLoading.transactionFields=!1,this.isFailure.transactionFields=!1})).catch((()=>{this.isOk.transactionFields=!1,this.isLoading.transactionFields=!1,this.isFailure.transactionFields=!0}))},getOptionalFields:function(){(new de.Z).getByName("transaction_journal_optional_fields").then((e=>{let a=e.data.data.attributes.data;for(let t in a)for(let e in this.allTransactionFields)if(this.allTransactionFields.hasOwnProperty(e)){let s=this.allTransactionFields[e];for(let l in s)if(s.hasOwnProperty(l)){let i=s[l];t===i.value&&!0===a[t]&&this.transactionFields[e].push(t)}}}))},getLanguage:function(){(new de.Z).getByName("language").then((e=>{this.language=e.data.data.attributes.data}))},getPageSize:function(){(new de.Z).getByName("listPageSize").then((e=>{this.pageSize=e.data.data.attributes.data}))},getPreferredAccounts:function(){(new de.Z).getByName("frontpageAccounts").then((e=>{this.accounts=e.data.data.attributes.data}))},getPreferredViewRange:function(){(new de.Z).getByName("viewRange").then((e=>{this.viewRange=e.data.data.attributes.data}))},getLanguages:function(){let e=new ue.Z;e.get("firefly.languages").then((e=>{let a=e.data.data.value;for(let t in a)if(a.hasOwnProperty(t)){let e=a[t];this.languages.push({value:t,label:e.name_locale+" ("+e.name_english+")"})}}))},getViewRanges:function(){let e=new ue.Z;return e.get("firefly.valid_view_ranges").then((e=>{let a=e.data.data.value;for(let t in a)if(a.hasOwnProperty(t)){let e=a[t];this.viewRanges.push({value:e,label:this.$t("firefly.pref_"+e)})}}))}}};var he=t(1639),fe=t(9885),me=t(4458),we=t(3190),be=t(7887),ke=t(6611),_e=t(7817),Fe=t(900),ye=t(9800),ve=t(4106),xe=t(5429),Ve=t(9984),Se=t.n(Ve);const ze=(0,he.Z)(pe,[["render",oe]]),Oe=ze;Se()(pe,"components",{QPage:fe.Z,QCard:me.Z,QCardSection:we.Z,QSelect:be.Z,QInput:ke.Z,QTabs:_e.Z,QTab:Fe.Z,QTabPanels:ye.Z,QTabPanel:ve.Z,QOptionGroup:xe.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/6919.cc55656e.js b/public/v3/js/6919.cc55656e.js new file mode 100644 index 0000000000..424ff0a3a1 --- /dev/null +++ b/public/v3/js/6919.cc55656e.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[6919],{6919:(e,s,r)=>{r.r(s),r.d(s,{default:()=>H});var t=r(9835),o=r(6970);const a={class:"row q-mx-md"},i={class:"col-12"},l={class:"row q-mx-md q-mt-md"},n={class:"col-12"},u=(0,t._)("div",{class:"text-h6"},"Info for new category",-1),d={class:"row"},m={class:"col-12 q-mb-xs"},c={class:"row q-mx-md"},h={class:"col-12"},b={class:"row"},p={class:"col-12 text-right"},f={class:"row"},g={class:"col-12 text-right"},w=(0,t._)("br",null,null,-1);function _(e,s,r,_,v,q){const y=(0,t.up)("q-btn"),C=(0,t.up)("q-banner"),E=(0,t.up)("q-card-section"),k=(0,t.up)("q-input"),x=(0,t.up)("q-card"),R=(0,t.up)("q-checkbox"),I=(0,t.up)("q-page");return(0,t.wg)(),(0,t.j4)(I,null,{default:(0,t.w5)((()=>[(0,t._)("div",a,[(0,t._)("div",i,[""!==v.errorMessage?((0,t.wg)(),(0,t.j4)(C,{key:0,"inline-actions":"",rounded:"",class:"bg-orange text-white"},{action:(0,t.w5)((()=>[(0,t.Wm)(y,{flat:"",onClick:q.dismissBanner,label:"Dismiss"},null,8,["onClick"])])),default:(0,t.w5)((()=>[(0,t.Uk)((0,o.zw)(v.errorMessage)+" ",1)])),_:1})):(0,t.kq)("",!0)])]),(0,t._)("div",l,[(0,t._)("div",n,[(0,t.Wm)(x,{bordered:""},{default:(0,t.w5)((()=>[(0,t.Wm)(E,null,{default:(0,t.w5)((()=>[u])),_:1}),(0,t.Wm)(E,null,{default:(0,t.w5)((()=>[(0,t._)("div",d,[(0,t._)("div",m,[(0,t.Wm)(k,{"error-message":v.submissionErrors.name,error:v.hasSubmissionErrors.name,"bottom-slots":"",disable:q.disabledInput,type:"text",clearable:"",modelValue:v.name,"onUpdate:modelValue":s[0]||(s[0]=e=>v.name=e),label:e.$t("form.name"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])])])),_:1})])),_:1})])]),(0,t._)("div",c,[(0,t._)("div",h,[(0,t.Wm)(x,{class:"q-mt-xs"},{default:(0,t.w5)((()=>[(0,t.Wm)(E,null,{default:(0,t.w5)((()=>[(0,t._)("div",b,[(0,t._)("div",p,[(0,t.Wm)(y,{disable:q.disabledInput,color:"primary",label:"Submit",onClick:q.submitCategory},null,8,["disable","onClick"])])]),(0,t._)("div",f,[(0,t._)("div",g,[(0,t.Wm)(R,{disable:q.disabledInput,modelValue:v.doReturnHere,"onUpdate:modelValue":s[1]||(s[1]=e=>v.doReturnHere=e),"left-label":"",label:"Return here to create another one"},null,8,["disable","modelValue"]),w,(0,t.Wm)(R,{modelValue:v.doResetForm,"onUpdate:modelValue":s[2]||(s[2]=e=>v.doResetForm=e),"left-label":"",disable:!v.doReturnHere||q.disabledInput,label:"Reset form after submission"},null,8,["modelValue","disable"])])])])),_:1})])),_:1})])])])),_:1})}var v=r(1569);class q{post(e){let s="/api/v1/categories";return v.api.post(s,e)}}const y={name:"Create",data(){return{submissionErrors:{},hasSubmissionErrors:{},submitting:!1,doReturnHere:!1,doResetForm:!1,errorMessage:"",type:"",name:""}},computed:{disabledInput:function(){return this.submitting}},created(){this.resetForm(),this.type=this.$route.params.type},methods:{resetForm:function(){this.name="",this.resetErrors()},resetErrors:function(){this.submissionErrors={name:""},this.hasSubmissionErrors={name:!1}},submitCategory:function(){this.submitting=!0,this.errorMessage="",this.resetErrors();const e=this.buildCategory();let s=new q;s.post(e).catch(this.processErrors).then(this.processSuccess)},buildCategory:function(){return{name:this.name}},dismissBanner:function(){this.errorMessage=""},processSuccess:function(e){if(!e)return;this.submitting=!1;let s={level:"success",text:"I am new category",show:!0,action:{show:!0,text:"Go to category",link:{name:"categories.show",params:{id:parseInt(e.data.data.id)}}}};this.$q.localStorage.set("flash",s),this.doReturnHere&&window.dispatchEvent(new CustomEvent("flash",{detail:{flash:this.$q.localStorage.getItem("flash")}})),this.doReturnHere||this.$router.go(-1)},processErrors:function(e){if(e.response){let s=e.response.data;this.errorMessage=s.message,console.log(s);for(let e in s.errors)s.errors.hasOwnProperty(e)&&(this.submissionErrors[e]=s.errors[e][0],this.hasSubmissionErrors[e]=!0)}this.submitting=!1}}};var C=r(1639),E=r(9885),k=r(7128),x=r(8879),R=r(4458),I=r(3190),S=r(6611),W=r(1221),V=r(9984),Z=r.n(V);const Q=(0,C.Z)(y,[["render",_]]),H=Q;Z()(y,"components",{QPage:E.Z,QBanner:k.Z,QBtn:x.Z,QCard:R.Z,QCardSection:I.Z,QInput:S.Z,QCheckbox:W.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/7044.96c481ac.js b/public/v3/js/7044.96c481ac.js new file mode 100644 index 0000000000..bd17b5983e --- /dev/null +++ b/public/v3/js/7044.96c481ac.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[7044],{7044:(e,s,r)=>{r.r(s),r.d(s,{default:()=>D});var t=r(9835),l=r(6970);const o={class:"row q-mx-md"},i={class:"col-12"},a={class:"row q-mx-md q-mt-md"},n={class:"col-12"},d=(0,t._)("div",{class:"text-h6"},"Edit webhook",-1),u={class:"row"},m={class:"col-12 q-mb-xs"},c={class:"row"},b={class:"col-12 q-mb-xs"},h={class:"row"},p={class:"col-12 q-mb-xs"},g={class:"row"},v={class:"col-12 q-mb-xs"},_={class:"row"},E={class:"col-12 q-mb-xs"},f={class:"row q-mx-md"},w={class:"col-12"},S={class:"row"},k={class:"col-12 text-right"},W={class:"row"},q={class:"col-12 text-right"};function R(e,s,r,R,x,y){const I=(0,t.up)("q-btn"),V=(0,t.up)("q-banner"),C=(0,t.up)("q-card-section"),N=(0,t.up)("q-input"),T=(0,t.up)("q-select"),O=(0,t.up)("q-card"),A=(0,t.up)("q-checkbox"),U=(0,t.up)("q-page");return(0,t.wg)(),(0,t.j4)(U,null,{default:(0,t.w5)((()=>[(0,t._)("div",o,[(0,t._)("div",i,[""!==x.errorMessage?((0,t.wg)(),(0,t.j4)(V,{key:0,"inline-actions":"",rounded:"",class:"bg-orange text-white"},{action:(0,t.w5)((()=>[(0,t.Wm)(I,{flat:"",onClick:y.dismissBanner,label:"Dismiss"},null,8,["onClick"])])),default:(0,t.w5)((()=>[(0,t.Uk)((0,l.zw)(x.errorMessage)+" ",1)])),_:1})):(0,t.kq)("",!0)])]),(0,t._)("div",a,[(0,t._)("div",n,[(0,t.Wm)(O,{bordered:""},{default:(0,t.w5)((()=>[(0,t.Wm)(C,null,{default:(0,t.w5)((()=>[d])),_:1}),(0,t.Wm)(C,null,{default:(0,t.w5)((()=>[(0,t._)("div",u,[(0,t._)("div",m,[(0,t.Wm)(N,{"error-message":x.submissionErrors.title,error:x.hasSubmissionErrors.title,"bottom-slots":"",disable:y.disabledInput,type:"text",clearable:"",modelValue:x.title,"onUpdate:modelValue":s[0]||(s[0]=e=>x.title=e),label:e.$t("form.title"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])]),(0,t._)("div",c,[(0,t._)("div",b,[(0,t.Wm)(N,{"error-message":x.submissionErrors.url,error:x.hasSubmissionErrors.url,"bottom-slots":"",disable:y.disabledInput,type:"text",clearable:"",modelValue:x.url,"onUpdate:modelValue":s[1]||(s[1]=e=>x.url=e),label:e.$t("form.url"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])]),(0,t._)("div",h,[(0,t._)("div",p,[(0,t.Wm)(T,{"error-message":x.submissionErrors.response,error:x.hasSubmissionErrors.response,"bottom-slots":"",disable:y.disabledInput,outlined:"",modelValue:x.response,"onUpdate:modelValue":s[2]||(s[2]=e=>x.response=e),"emit-value":"",class:"q-pr-xs","map-options":"",options:x.responses,label:"Response"},null,8,["error-message","error","disable","modelValue","options"])])]),(0,t._)("div",g,[(0,t._)("div",v,[(0,t.Wm)(T,{"error-message":x.submissionErrors.delivery,error:x.hasSubmissionErrors.delivery,"bottom-slots":"",disable:y.disabledInput,outlined:"",modelValue:x.delivery,"onUpdate:modelValue":s[3]||(s[3]=e=>x.delivery=e),"emit-value":"",class:"q-pr-xs","map-options":"",options:x.deliveries,label:"Delivery"},null,8,["error-message","error","disable","modelValue","options"])])]),(0,t._)("div",_,[(0,t._)("div",E,[(0,t.Wm)(T,{"error-message":x.submissionErrors.trigger,error:x.hasSubmissionErrors.trigger,"bottom-slots":"",disable:y.disabledInput,outlined:"",modelValue:x.trigger,"onUpdate:modelValue":s[4]||(s[4]=e=>x.trigger=e),"emit-value":"",class:"q-pr-xs","map-options":"",options:x.triggers,label:"Triggers"},null,8,["error-message","error","disable","modelValue","options"])])])])),_:1})])),_:1})])]),(0,t._)("div",f,[(0,t._)("div",w,[(0,t.Wm)(O,{class:"q-mt-xs"},{default:(0,t.w5)((()=>[(0,t.Wm)(C,null,{default:(0,t.w5)((()=>[(0,t._)("div",S,[(0,t._)("div",k,[(0,t.Wm)(I,{disable:y.disabledInput,color:"primary",label:"Update",onClick:y.submitWebhook},null,8,["disable","onClick"])])]),(0,t._)("div",W,[(0,t._)("div",q,[(0,t.Wm)(A,{disable:y.disabledInput,modelValue:x.doReturnHere,"onUpdate:modelValue":s[5]||(s[5]=e=>x.doReturnHere=e),"left-label":"",label:"Return here"},null,8,["disable","modelValue"])])])])),_:1})])),_:1})])])])),_:1})}var x=r(9599),y=r(1569);class I{put(e,s){let r="/api/v1/webhooks/"+e;return y.api.put(r,s)}}const V={name:"Edit",data(){return{submissionErrors:{},hasSubmissionErrors:{},submitting:!1,doReturnHere:!1,doResetForm:!1,errorMessage:"",triggers:[{value:"TRIGGER_STORE_TRANSACTION",label:"When transaction stored"},{value:"TRIGGER_UPDATE_TRANSACTION",label:"When transaction updated"},{value:"TRIGGER_DESTROY_TRANSACTION",label:"When transaction deleted"}],responses:[{value:"RESPONSE_TRANSACTIONS",label:"Send transaction"},{value:"RESPONSE_ACCOUNTS",label:"Send accounts"},{value:"RESPONSE_NONE",label:"Send nothing"}],deliveries:[{value:"DELIVERY_JSON",label:"JSON"}],id:0,title:"",url:"",response:"",delivery:"",trigger:""}},computed:{disabledInput:function(){return this.submitting}},created(){this.id=parseInt(this.$route.params.id),this.collectWebhook()},methods:{collectWebhook:function(){let e=new x.Z;e.get(this.id).then((e=>this.parseWebhook(e)))},parseWebhook:function(e){this.title=e.data.data.attributes.title,this.url=e.data.data.attributes.url,this.response=e.data.data.attributes.response,this.delivery=e.data.data.attributes.delivery,this.trigger=e.data.data.attributes.trigger},resetErrors:function(){this.submissionErrors={title:"",url:"",response:"",delivery:"",trigger:""},this.hasSubmissionErrors={title:!1,url:!1,response:!1,delivery:!1,trigger:!1}},submitWebhook:function(){this.submitting=!0,this.errorMessage="",this.resetErrors();const e=this.buildWebhook();(new I).put(this.id,e).catch(this.processErrors).then(this.processSuccess)},buildWebhook:function(){return{title:this.title,url:this.url,response:this.response,delivery:this.delivery,trigger:this.trigger}},dismissBanner:function(){this.errorMessage=""},processSuccess:function(e){if(this.$store.dispatch("fireflyiii/refreshCacheKey"),!e)return;this.submitting=!1;let s={level:"success",text:"Webhook is updated",show:!0,action:{show:!0,text:"Go to webhook",link:{name:"webhooks.show",params:{id:parseInt(e.data.data.id)}}}};this.$q.localStorage.set("flash",s),this.doReturnHere&&window.dispatchEvent(new CustomEvent("flash",{detail:{flash:this.$q.localStorage.getItem("flash")}})),this.doReturnHere||this.$router.go(-1)},processErrors:function(e){if(e.response){let s=e.response.data;this.errorMessage=s.message,console.log(s);for(let e in s.errors)s.errors.hasOwnProperty(e)&&(this.submissionErrors[e]=s.errors[e][0],this.hasSubmissionErrors[e]=!0)}this.submitting=!1}}};var C=r(1639),N=r(9885),T=r(7128),O=r(8879),A=r(4458),U=r(3190),Z=r(6611),Q=r(7887),G=r(1221),$=r(9984),M=r.n($);const P=(0,C.Z)(V,[["render",R]]),D=P;M()(V,"components",{QPage:N.Z,QBanner:T.Z,QBtn:O.Z,QCard:A.Z,QCardSection:U.Z,QInput:Z.Z,QSelect:Q.Z,QCheckbox:G.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/7083.c223af4f.js b/public/v3/js/7083.c223af4f.js new file mode 100644 index 0000000000..a7b059b10c --- /dev/null +++ b/public/v3/js/7083.c223af4f.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[7083],{7083:(e,t,a)=>{a.r(t),a.d(t,{default:()=>U});var i=a(9835),s=a(6970);const n=(0,i.Uk)("Edit"),r=(0,i.Uk)("Delete");function o(e,t,a,o,l,p){const u=(0,i.up)("q-th"),d=(0,i.up)("q-tr"),g=(0,i.up)("router-link"),h=(0,i.up)("q-td"),c=(0,i.up)("q-item-label"),m=(0,i.up)("q-item-section"),w=(0,i.up)("q-item"),f=(0,i.up)("q-list"),y=(0,i.up)("q-btn-dropdown"),b=(0,i.up)("q-table"),_=(0,i.up)("q-page"),k=(0,i.Q2)("close-popup");return(0,i.wg)(),(0,i.j4)(_,null,{default:(0,i.w5)((()=>[(0,i.Wm)(b,{title:e.$t("firefly.object_groups"),rows:l.rows,columns:l.columns,"row-key":"id",onRequest:p.onRequest,pagination:l.pagination,"onUpdate:pagination":t[0]||(t[0]=e=>l.pagination=e),loading:l.loading,class:"q-ma-md"},{header:(0,i.w5)((e=>[(0,i.Wm)(d,{props:e},{default:(0,i.w5)((()=>[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.cols,(t=>((0,i.wg)(),(0,i.j4)(u,{key:t.name,props:e},{default:(0,i.w5)((()=>[(0,i.Uk)((0,s.zw)(t.label),1)])),_:2},1032,["props"])))),128))])),_:2},1032,["props"])])),body:(0,i.w5)((e=>[(0,i.Wm)(d,{props:e},{default:(0,i.w5)((()=>[(0,i.Wm)(h,{key:"title",props:e},{default:(0,i.w5)((()=>[(0,i.Wm)(g,{to:{name:"groups.show",params:{id:e.row.id}},class:"text-primary"},{default:(0,i.w5)((()=>[(0,i.Uk)((0,s.zw)(e.row.title),1)])),_:2},1032,["to"])])),_:2},1032,["props"]),(0,i.Wm)(h,{key:"menu",props:e},{default:(0,i.w5)((()=>[(0,i.Wm)(y,{color:"primary",label:"Actions",size:"sm"},{default:(0,i.w5)((()=>[(0,i.Wm)(f,null,{default:(0,i.w5)((()=>[(0,i.wy)(((0,i.wg)(),(0,i.j4)(w,{clickable:"",to:{name:"groups.edit",params:{id:e.row.id}}},{default:(0,i.w5)((()=>[(0,i.Wm)(m,null,{default:(0,i.w5)((()=>[(0,i.Wm)(c,null,{default:(0,i.w5)((()=>[n])),_:1})])),_:1})])),_:2},1032,["to"])),[[k]]),(0,i.wy)(((0,i.wg)(),(0,i.j4)(w,{clickable:"",onClick:t=>p.deleteGroup(e.row.id,e.row.title)},{default:(0,i.w5)((()=>[(0,i.Wm)(m,null,{default:(0,i.w5)((()=>[(0,i.Wm)(c,null,{default:(0,i.w5)((()=>[r])),_:1})])),_:1})])),_:2},1032,["onClick"])),[[k]])])),_:2},1024)])),_:2},1024)])),_:2},1032,["props"])])),_:2},1032,["props"])])),_:1},8,["title","rows","columns","onRequest","pagination","loading"])])),_:1})}var l=a(1049),p=a(7913),u=a(1569);class d{list(e,t,a){let i="/api/v1/object_groups";return u.api.get(i,{params:{page:t,cache:a,type:e}})}}const g={name:"Index",watch:{$route(e){"groups.index"===e.name&&(this.page=1,this.updateBreadcrumbs(),this.triggerUpdate())}},data(){return{rows:[],pagination:{sortBy:"desc",descending:!1,page:1,rowsPerPage:5,rowsNumber:100},loading:!1,columns:[{name:"title",label:"Title",field:"title",align:"left"},{name:"menu",label:" ",field:"menu",align:"right"}]}},computed:{...(0,l.Se)("fireflyiii",["getRange","getCacheKey","getListPageSize"])},created(){this.pagination.rowsPerPage=this.getListPageSize},mounted(){if(this.type=this.$route.params.type,null===this.getRange.start||null===this.getRange.end){const e=(0,l.oR)();e.subscribe(((e,t)=>{"fireflyiii/setRange"===e.type&&(this.range={start:e.payload.start,end:e.payload.end},this.triggerUpdate())}))}null!==this.getRange.start&&null!==this.getRange.end&&(this.range={start:this.getRange.start,end:this.getRange.end},this.triggerUpdate())},methods:{deleteGroup:function(e,t){this.$q.dialog({title:"Confirm",message:'Do you want to delete group "'+t+'"? Any resources in this group will be saved.',cancel:!0,persistent:!0}).onOk((()=>{this.destroyGroup(e)}))},destroyGroup:function(e){new p.Z("object_groups").destroy(e).then((()=>{this.$store.dispatch("fireflyiii/refreshCacheKey"),this.triggerUpdate()}))},updateBreadcrumbs:function(){this.$route.meta.pageTitle="firefly.groups",this.$route.meta.breadcrumbs=[{title:"groups"}]},onRequest:function(e){this.page=e.pagination.page,this.triggerUpdate()},triggerUpdate:function(){if(this.loading)return;if(null===this.range.start||null===this.range.end)return;this.loading=!0;const e=new d;this.rows=[],e.list(this.page,this.getCacheKey).then((e=>{this.pagination.rowsPerPage=e.data.meta.pagination.per_page,this.pagination.rowsNumber=e.data.meta.pagination.total,this.pagination.page=this.page;for(let t in e.data.data)if(e.data.data.hasOwnProperty(t)){let a=e.data.data[t],i={id:a.id,title:a.attributes.title};this.rows.push(i)}this.loading=!1}))}}};var h=a(1639),c=a(9885),m=a(1746),w=a(9546),f=a(1682),y=a(7220),b=a(2045),_=a(3246),k=a(490),q=a(1233),R=a(3115),Z=a(2146),W=a(9984),P=a.n(W);const Q=(0,h.Z)(g,[["render",o]]),U=Q;P()(g,"components",{QPage:c.Z,QTable:m.Z,QTr:w.Z,QTh:f.Z,QTd:y.Z,QBtnDropdown:b.Z,QList:_.Z,QItem:k.Z,QItemSection:q.Z,QItemLabel:R.Z}),P()(g,"directives",{ClosePopup:Z.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/7222.86a095eb.js b/public/v3/js/7222.86a095eb.js new file mode 100644 index 0000000000..2a5516d694 --- /dev/null +++ b/public/v3/js/7222.86a095eb.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[7222],{7222:(e,t,l)=>{l.r(t),l.d(t,{default:()=>b});var a=l(9835),i=l(6970);const s={class:"row q-mx-md"},u={class:"col-12"},r={class:"text-h6"},n={class:"row"},d={class:"col-12 q-mb-xs"},c=(0,a._)("br",null,null,-1);function o(e,t,l,o,f,h){const p=(0,a.up)("q-card-section"),w=(0,a.up)("q-card"),_=(0,a.up)("q-page");return(0,a.wg)(),(0,a.j4)(_,null,{default:(0,a.w5)((()=>[(0,a._)("div",s,[(0,a._)("div",u,[(0,a.Wm)(w,{bordered:""},{default:(0,a.w5)((()=>[(0,a.Wm)(p,null,{default:(0,a.w5)((()=>[(0,a._)("div",r,(0,i.zw)(f.rule.title),1)])),_:1}),(0,a.Wm)(p,null,{default:(0,a.w5)((()=>[(0,a._)("div",n,[(0,a._)("div",d,[(0,a.Uk)(" Rule: "+(0,i.zw)(f.rule.title),1),c])])])),_:1})])),_:1})])])])),_:1})}var f=l(9543);const h={name:"Show",data(){return{rule:{},id:0}},created(){this.id=parseInt(this.$route.params.id),this.getRule()},methods:{onRequest:function(e){this.page=e.page,this.getRule()},getRule:function(){(new f.Z).get(this.id).then((e=>this.parseRule(e)))},parseRule:function(e){this.rule={title:e.data.data.attributes.title}}}};var p=l(1639),w=l(9885),_=l(4458),m=l(3190),g=l(9984),v=l.n(g);const R=(0,p.Z)(h,[["render",o]]),b=R;v()(h,"components",{QPage:w.Z,QCard:_.Z,QCardSection:m.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/7480.b9bd8fed.js b/public/v3/js/7480.b9bd8fed.js new file mode 100644 index 0000000000..192a914c30 --- /dev/null +++ b/public/v3/js/7480.b9bd8fed.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[7480],{7480:(e,t,a)=>{a.r(t),a.d(t,{default:()=>g});var i=a(9835);function n(e,t,a,n,s,r){const o=(0,i.up)("ApexChart");return(0,i.wg)(),(0,i.iD)("div",null,[(0,i.Wm)(o,{width:"100%",ref:"chart",height:"350",type:"line",options:s.options,series:s.series},null,8,["options","series"])])}a(702);var s=a(1569),r=a(8898);class o{overview(e,t){let a=(0,r.Z)(e.start,"y-MM-dd"),i=(0,r.Z)(e.end,"y-MM-dd");return s.api.get("/api/v1/chart/account/overview",{params:{start:a,end:i,cache:t}})}}var l=a(1049),h=a(9302);const d={name:"HomeChart",computed:{...(0,l.Se)("fireflyiii",["getRange","getCacheKey"])},data(){return{range:{start:null,end:null},loading:!1,currencies:[],options:{theme:{mode:"dark"},dataLabels:{enabled:!1},noData:{text:"Loading..."},chart:{id:"vuechart-home",toolbar:{show:!0,tools:{download:!1,selection:!1,pan:!1}}},yaxis:{labels:{formatter:this.numberFormatter}},labels:[],xaxis:{categories:[]}},series:[],locale:"en-US",dateFormat:"MMMM d, y"}},created(){const e=(0,h.Z)();this.locale=e.lang.getLocale(),this.dateFormat=this.$t("config.month_and_day_fns")},mounted(){const e=(0,h.Z)();if(this.options.theme.mode=e.dark.isActive?"dark":"light",null===this.range.start||null===this.range.end){const e=(0,l.oR)();e.subscribe(((e,t)=>{"fireflyiii/setRange"===e.type&&(this.range=e.payload,this.buildChart())}))}null!==this.getRange.start&&null!==this.getRange.end&&this.buildChart()},methods:{numberFormatter:function(e,t){var a;let i=null!==(a=this.currencies[t])&&void 0!==a?a:"EUR";return Intl.NumberFormat(this.locale,{style:"currency",currency:i}).format(e)},buildChart:function(){if(null!==this.getRange.start&&null!==this.getRange.end){let e=this.getRange.start,t=this.getRange.end;if(!1===this.loading){this.loading=!0;const a=new o;this.generateStaticLabels({start:e,end:t}),a.overview({start:e,end:t},this.getCacheKey).then((e=>{this.generateSeries(e.data)}))}}},generateSeries:function(e){let t;this.series=[];for(let a in e)if(e.hasOwnProperty(a)){t={},t.name=e[a].label,t.data=[],this.currencies.push(e[a].currency_code);for(let i in e[a].entries)t.data.push(e[a].entries[i]);this.series.push(t)}this.loading=!1},generateStaticLabels:function(e){let t,a=new Date(e.start),i=[];while(a<=e.end)i.push((0,r.Z)(a,this.dateFormat)),t=a.setDate(a.getDate()+1),a=new Date(t);this.options={...this.options,labels:i}}},components:{ApexChart:(0,i.RC)((()=>a.e(4736).then(a.t.bind(a,7092,23))))}};var c=a(1639);const u=(0,c.Z)(d,[["render",n]]),g=u}}]); \ No newline at end of file diff --git a/public/v3/js/7499.c362f695.js b/public/v3/js/7499.c362f695.js new file mode 100644 index 0000000000..d11e417eaf --- /dev/null +++ b/public/v3/js/7499.c362f695.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[7499],{7499:(e,t,a)=>{a.r(t),a.d(t,{default:()=>T});var i=a(9835),n=a(6970);const s=(0,i.Uk)("Edit"),o=(0,i.Uk)("Delete"),r=(0,i.Uk)("Transactions without a budget");function l(e,t,a,l,d,u){const g=(0,i.up)("q-th"),p=(0,i.up)("q-tr"),m=(0,i.up)("router-link"),c=(0,i.up)("q-td"),h=(0,i.up)("q-item-label"),f=(0,i.up)("q-item-section"),w=(0,i.up)("q-item"),b=(0,i.up)("q-list"),y=(0,i.up)("q-btn-dropdown"),_=(0,i.up)("q-table"),k=(0,i.up)("q-btn"),q=(0,i.up)("q-fab-action"),Z=(0,i.up)("q-fab"),W=(0,i.up)("q-page-sticky"),Q=(0,i.up)("q-page"),R=(0,i.Q2)("close-popup");return(0,i.wg)(),(0,i.j4)(Q,null,{default:(0,i.w5)((()=>[(0,i.Wm)(_,{title:e.$t("firefly.budgets"),rows:d.rows,columns:d.columns,"row-key":"id",onRequest:u.onRequest,pagination:d.pagination,"onUpdate:pagination":t[0]||(t[0]=e=>d.pagination=e),loading:d.loading,class:"q-ma-md"},{header:(0,i.w5)((e=>[(0,i.Wm)(p,{props:e},{default:(0,i.w5)((()=>[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.cols,(t=>((0,i.wg)(),(0,i.j4)(g,{key:t.name,props:e},{default:(0,i.w5)((()=>[(0,i.Uk)((0,n.zw)(t.label),1)])),_:2},1032,["props"])))),128))])),_:2},1032,["props"])])),body:(0,i.w5)((e=>[(0,i.Wm)(p,{props:e},{default:(0,i.w5)((()=>[(0,i.Wm)(c,{key:"name",props:e},{default:(0,i.w5)((()=>[(0,i.Wm)(m,{to:{name:"budgets.show",params:{id:e.row.id}},class:"text-primary"},{default:(0,i.w5)((()=>[(0,i.Uk)((0,n.zw)(e.row.name),1)])),_:2},1032,["to"])])),_:2},1032,["props"]),(0,i.Wm)(c,{key:"menu",props:e},{default:(0,i.w5)((()=>[(0,i.Wm)(y,{color:"primary",label:"Actions",size:"sm"},{default:(0,i.w5)((()=>[(0,i.Wm)(b,null,{default:(0,i.w5)((()=>[(0,i.wy)(((0,i.wg)(),(0,i.j4)(w,{clickable:"",to:{name:"budgets.edit",params:{id:e.row.id}}},{default:(0,i.w5)((()=>[(0,i.Wm)(f,null,{default:(0,i.w5)((()=>[(0,i.Wm)(h,null,{default:(0,i.w5)((()=>[s])),_:1})])),_:1})])),_:2},1032,["to"])),[[R]]),(0,i.wy)(((0,i.wg)(),(0,i.j4)(w,{clickable:"",onClick:t=>u.deleteBudget(e.row.id,e.row.name)},{default:(0,i.w5)((()=>[(0,i.Wm)(f,null,{default:(0,i.w5)((()=>[(0,i.Wm)(h,null,{default:(0,i.w5)((()=>[o])),_:1})])),_:1})])),_:2},1032,["onClick"])),[[R]])])),_:2},1024)])),_:2},1024)])),_:2},1032,["props"])])),_:2},1032,["props"])])),_:1},8,["title","rows","columns","onRequest","pagination","loading"]),(0,i._)("p",null,[(0,i.Wm)(k,{to:{name:"budgets.show",params:{id:0}}},{default:(0,i.w5)((()=>[r])),_:1},8,["to"])]),(0,i.Wm)(W,{position:"bottom-right",offset:[18,18]},{default:(0,i.w5)((()=>[(0,i.Wm)(Z,{label:"Actions",square:"","vertical-actions-align":"right","label-position":"left",color:"green",icon:"fas fa-chevron-up",direction:"up"},{default:(0,i.w5)((()=>[(0,i.Wm)(q,{color:"primary",square:"",to:{name:"budgets.create"},icon:"fas fa-exchange-alt",label:"New budget"},null,8,["to"])])),_:1})])),_:1})])),_:1})}var d=a(1049),u=a(7913),g=a(1569);class p{list(e,t){let a="/api/v1/budgets";return g.api.get(a,{params:{page:e,cache:t}})}}const m={name:"Index",watch:{$route(e){"budgets.index"===e.name&&(this.page=1,this.updateBreadcrumbs(),this.triggerUpdate())}},data(){return{rows:[],pagination:{sortBy:"desc",descending:!1,page:1,rowsPerPage:5,rowsNumber:100},loading:!1,columns:[{name:"name",label:"Name",field:"name",align:"left"},{name:"menu",label:" ",field:"menu",align:"right"}]}},computed:{...(0,d.Se)("fireflyiii",["getRange","getCacheKey","getListPageSize"])},created(){this.pagination.rowsPerPage=this.getListPageSize},mounted(){if(this.type=this.$route.params.type,null===this.getRange.start||null===this.getRange.end){const e=(0,d.oR)();e.subscribe(((e,t)=>{"fireflyiii/setRange"===e.type&&(this.range={start:e.payload.start,end:e.payload.end},this.triggerUpdate())}))}null!==this.getRange.start&&null!==this.getRange.end&&(this.range={start:this.getRange.start,end:this.getRange.end},this.triggerUpdate())},methods:{deleteBudget:function(e,t){this.$q.dialog({title:"Confirm",message:'Do you want to delete budget "'+t+'"? Any and all transactions linked to this budget will be spared.',cancel:!0,persistent:!0}).onOk((()=>{this.destroyBudget(e)}))},destroyBudget:function(e){new u.Z("budgets").destroy(e).then((()=>{this.$store.dispatch("fireflyiii/refreshCacheKey"),this.triggerUpdate()}))},updateBreadcrumbs:function(){this.$route.meta.pageTitle="firefly.budgets",this.$route.meta.breadcrumbs=[{title:"budgets"}]},onRequest:function(e){this.page=e.pagination.page,this.triggerUpdate()},triggerUpdate:function(){if(this.loading)return;if(null===this.range.start||null===this.range.end)return;this.loading=!0;const e=new p;this.rows=[],e.list(this.page,this.getCacheKey).then((e=>{this.pagination.rowsPerPage=e.data.meta.pagination.per_page,this.pagination.rowsNumber=e.data.meta.pagination.total,this.pagination.page=this.page;for(let t in e.data.data)if(e.data.data.hasOwnProperty(t)){let a=e.data.data[t],i={id:a.id,name:a.attributes.name};this.rows.push(i)}this.loading=!1}))}}};var c=a(1639),h=a(9885),f=a(1746),w=a(9546),b=a(1682),y=a(7220),_=a(2045),k=a(3246),q=a(490),Z=a(1233),W=a(3115),Q=a(8879),R=a(3388),P=a(9361),U=a(935),B=a(2146),C=a(9984),v=a.n(C);const $=(0,c.Z)(m,[["render",l]]),T=$;v()(m,"components",{QPage:h.Z,QTable:f.Z,QTr:w.Z,QTh:b.Z,QTd:y.Z,QBtnDropdown:_.Z,QList:k.Z,QItem:q.Z,QItemSection:Z.Z,QItemLabel:W.Z,QBtn:Q.Z,QPageSticky:R.Z,QFab:P.Z,QFabAction:U.Z}),v()(m,"directives",{ClosePopup:B.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/7544.47af6552.js b/public/v3/js/7544.47af6552.js new file mode 100644 index 0000000000..aa8394ce29 --- /dev/null +++ b/public/v3/js/7544.47af6552.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[7544],{7544:(e,t,a)=>{a.r(t),a.d(t,{default:()=>_});var n=a(9835);const r=(0,n._)("p",null," ",-1),i=(0,n._)("p",null," ",-1),s=(0,n._)("p",null," ",-1),l=(0,n._)("p",null," ",-1);function o(e,t,a,o,g,u){const p=(0,n.up)("LargeTable"),c=(0,n.up)("q-fab-action"),d=(0,n.up)("q-fab"),f=(0,n.up)("q-page-sticky"),m=(0,n.up)("q-page");return(0,n.wg)(),(0,n.j4)(m,null,{default:(0,n.w5)((()=>[(0,n.Wm)(p,{ref:"table",title:e.$t("firefly.title_"+this.type),rows:g.rows,loading:g.loading,onOnRequest:u.onRequest,"rows-number":g.rowsNumber,"rows-per-page":g.rowsPerPage,page:g.page},null,8,["title","rows","loading","onOnRequest","rows-number","rows-per-page","page"]),r,i,s,l,(0,n.Wm)(f,{position:"bottom-right",offset:[18,18]},{default:(0,n.w5)((()=>[(0,n.Wm)(d,{label:"Actions",square:"","vertical-actions-align":"right","label-position":"left",color:"green",icon:"fas fa-chevron-up",direction:"up"},{default:(0,n.w5)((()=>[(0,n.Wm)(c,{color:"primary",square:"",to:{name:"transactions.create",params:{type:"transfer"}},icon:"fas fa-exchange-alt",label:"New transfer"},null,8,["to"]),(0,n.Wm)(c,{color:"primary",square:"",to:{name:"transactions.create",params:{type:"deposit"}},icon:"fas fa-long-arrow-alt-right",label:"New deposit"},null,8,["to"]),(0,n.Wm)(c,{color:"primary",square:"",to:{name:"transactions.create",params:{type:"withdrawal"}},icon:"fas fa-long-arrow-alt-left",label:"New withdrawal"},null,8,["to"])])),_:1})])),_:1})])),_:1})}var g=a(1049),u=a(1569);class p{list(e,t,a){let n="api/v1/transactions";return u.api.get(n,{params:{page:t,cache:a,type:e}})}}var c=a(8925),d=a(3247);const f={name:"Index",components:{LargeTable:c.Z},watch:{$route(e){"transactions.index"===e.name&&(this.type=e.params.type,this.page=1,this.triggerUpdate())}},data(){return{loading:!1,rows:[],columns:[{name:"type",label:" ",field:"type",style:"width: 30px"},{name:"description",label:"Description",field:"description",align:"left"},{name:"amount",label:"Amount",field:"amount"},{name:"date",label:"Date",field:"date",align:"left"},{name:"source",label:"Source",field:"source",align:"left"},{name:"destination",label:"Destination",field:"destination",align:"left"},{name:"category",label:"Category",field:"category",align:"left"},{name:"budget",label:"Budget",field:"budget",align:"left"},{name:"menu",label:" ",field:"menu",align:"left"}],type:"withdrawal",page:1,rowsPerPage:50,rowsNumber:100,range:{start:null,end:null}}},computed:{...(0,g.Se)("fireflyiii",["getRange","getCacheKey","getListPageSize"])},created(){this.rowsPerPage=this.getListPageSize},mounted(){if(this.type=this.$route.params.type,null===this.getRange.start||null===this.getRange.end){const e=(0,g.oR)();e.subscribe(((e,t)=>{"fireflyiii/setRange"===e.type&&(this.range={start:e.payload.start,end:e.payload.end},this.triggerUpdate())}))}null!==this.getRange.start&&null!==this.getRange.end&&(this.range={start:this.getRange.start,end:this.getRange.end},this.triggerUpdate())},methods:{onRequest:function(e){this.page=e.page,this.triggerUpdate()},formatAmount:function(e,t){return Intl.NumberFormat("en-US",{style:"currency",currency:e}).format(t)},gotoTransaction:function(e,t){this.$router.push({name:"transactions.show",params:{id:1}})},triggerUpdate:function(){if(this.loading)return;if(null===this.range.start||null===this.range.end)return;this.loading=!0;const e=new p,t=new d.Z;this.rows=[],e.list(this.type,this.page,this.getCacheKey).then((e=>{let a=t.parseResponse(e);this.rowsPerPage=a.rowsPerPage,this.rowsNumber=a.rowsNumber,this.rows=a.rows,this.loading=!1}))}}};var m=a(1639),h=a(9885),w=a(3388),b=a(9361),y=a(935),P=a(9984),R=a.n(P);const q=(0,m.Z)(f,[["render",o]]),_=q;R()(f,"components",{QPage:h.Z,QPageSticky:w.Z,QFab:b.Z,QFabAction:y.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/7552.ebdf1aef.js b/public/v3/js/7552.ebdf1aef.js new file mode 100644 index 0000000000..d6b4c0c882 --- /dev/null +++ b/public/v3/js/7552.ebdf1aef.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[7552],{7552:(l,e,n)=>{n.r(e),n.d(e,{default:()=>ne});var a=n(9835),t=n(6970);const u={key:0,class:"row q-mx-md"},s={class:"col-12"},d=(0,a.Uk)(" This account cannot be reconciled :( "),c={class:"row q-mx-md"},i={class:"col-9 q-pr-xs"},p=(0,a._)("div",{class:"text-h6"},"Reconcilliation range",-1),o={class:"row"},_={class:"col-3 q-pr-xs"},r={class:"col-3 q-px-xs"},m={class:"col-3"},f={class:"col-3 q-px-xs"},h={class:"row"},w=(0,a._)("div",{class:"col-9 q-px-xs"},' Match the amounts and dates above to your bank statement, and press "Start reconciling" ',-1),b={class:"col-3 q-px-xs"},v=(0,a.Uk)("Start reconciling"),q={class:"col-3 q-pl-xs"},y=(0,a._)("div",{class:"text-h6"},"Options",-1),W=(0,a.Uk)(" Actions "),x={class:"row q-ma-md"},g={class:"col"},D=(0,a._)("div",{class:"text-h6"},' First verify the date-range and balances. Then press "Start reconciling" ',-1),k=(0,a._)("p",null," ",-1),Z=(0,a._)("p",null," ",-1),B=(0,a._)("p",null," ",-1),V=(0,a._)("p",null," ",-1),R=(0,a._)("p",null," ",-1),U=(0,a._)("p",null," ",-1),Q=(0,a._)("p",null," ",-1),C=(0,a._)("p",null," ",-1),S=(0,a._)("p",null," ",-1),M=(0,a._)("p",null," ",-1),E=(0,a._)("p",null," ",-1),T=(0,a._)("p",null," ",-1),F=(0,a._)("p",null," ",-1),I=(0,a._)("p",null," ",-1),j=(0,a._)("p",null," ",-1),z=(0,a._)("p",null," ",-1),A=(0,a._)("p",null," ",-1),P=(0,a._)("p",null," ",-1),$=(0,a._)("p",null," ",-1),O=(0,a._)("p",null," ",-1),G=(0,a._)("p",null," ",-1),H=(0,a._)("p",null," ",-1),J=(0,a._)("p",null," ",-1),K=(0,a._)("p",null," ",-1),L=(0,a._)("p",null," ",-1),N=(0,a._)("p",null," ",-1),X=(0,a._)("p",null," ",-1),Y=(0,a._)("p",null," ",-1),ll=(0,a._)("p",null," ",-1),el=(0,a._)("p",null," ",-1),nl=(0,a._)("p",null," ",-1),al=(0,a._)("p",null," ",-1),tl=(0,a._)("p",null," ",-1),ul=(0,a._)("p",null," ",-1),sl=(0,a._)("p",null," ",-1),dl=(0,a._)("p",null," ",-1),cl=(0,a._)("p",null," ",-1),il=(0,a._)("p",null," ",-1),pl=(0,a._)("p",null," ",-1),ol=(0,a._)("p",null," ",-1),_l=(0,a._)("p",null," ",-1),rl=(0,a._)("p",null," ",-1),ml=(0,a._)("p",null," ",-1),fl=(0,a._)("p",null," ",-1),hl=(0,a._)("p",null," ",-1),wl=(0,a._)("p",null," ",-1),bl=(0,a._)("p",null," ",-1),vl=(0,a._)("p",null," ",-1),ql=(0,a._)("p",null," ",-1),yl=(0,a._)("p",null," ",-1),Wl=(0,a._)("p",null," ",-1),xl=(0,a._)("p",null," ",-1),gl=(0,a._)("p",null," ",-1),Dl=(0,a._)("p",null," ",-1),kl=(0,a._)("p",null," ",-1),Zl=(0,a._)("p",null," ",-1),Bl=(0,a._)("p",null," ",-1),Vl=(0,a._)("p",null," ",-1),Rl=(0,a._)("p",null," ",-1),Ul=(0,a._)("p",null," ",-1),Ql=(0,a._)("p",null," ",-1),Cl=(0,a._)("p",null," ",-1),Sl=(0,a._)("p",null," ",-1),Ml=(0,a._)("p",null," ",-1),El={class:"bg-primary text-white q-px-xl q-pa-md rounded-borders"};function Tl(l,e,n,Tl,Fl,Il){const jl=(0,a.up)("q-card-section"),zl=(0,a.up)("q-card"),Al=(0,a.up)("q-icon"),Pl=(0,a.up)("q-input"),$l=(0,a.up)("q-btn"),Ol=(0,a.up)("q-card-actions"),Gl=(0,a.up)("q-page-scroller"),Hl=(0,a.up)("q-page");return(0,a.wg)(),(0,a.j4)(Hl,null,{default:(0,a.w5)((()=>[Fl.canReconcile?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",u,[(0,a._)("div",s,[(0,a.Wm)(zl,{bordered:""},{default:(0,a.w5)((()=>[(0,a.Wm)(jl,null,{default:(0,a.w5)((()=>[d])),_:1})])),_:1})])])),(0,a._)("div",c,[(0,a._)("div",i,[(0,a.Wm)(zl,{bordered:""},{default:(0,a.w5)((()=>[(0,a.Wm)(jl,null,{default:(0,a.w5)((()=>[p])),_:1}),(0,a.Wm)(jl,null,{default:(0,a.w5)((()=>[(0,a._)("div",o,[(0,a._)("div",_,[(0,a.Wm)(Pl,{outlined:"",modelValue:Fl.startDate,"onUpdate:modelValue":e[0]||(e[0]=l=>Fl.startDate=l),hint:"Start date",type:"date",dense:""},{prepend:(0,a.w5)((()=>[(0,a.Wm)(Al,{name:"far fa-calendar"})])),_:1},8,["modelValue"])]),(0,a._)("div",r,[(0,a.Wm)(Pl,{outlined:"",modelValue:Fl.startBalance,"onUpdate:modelValue":e[1]||(e[1]=l=>Fl.startBalance=l),hint:"Start balance",step:"0.00",type:"number",dense:""},{prepend:(0,a.w5)((()=>[(0,a.Wm)(Al,{name:"fas fa-coins"})])),_:1},8,["modelValue"])]),(0,a._)("div",m,[(0,a.Wm)(Pl,{outlined:"",modelValue:Fl.endDate,"onUpdate:modelValue":e[2]||(e[2]=l=>Fl.endDate=l),hint:"End date",type:"date",dense:""},{prepend:(0,a.w5)((()=>[(0,a.Wm)(Al,{name:"far fa-calendar"})])),_:1},8,["modelValue"])]),(0,a._)("div",f,[(0,a.Wm)(Pl,{outlined:"",modelValue:Fl.endBalance,"onUpdate:modelValue":e[3]||(e[3]=l=>Fl.endBalance=l),hint:"End Balance",step:"0.00",type:"number",dense:""},{prepend:(0,a.w5)((()=>[(0,a.Wm)(Al,{name:"fas fa-coins"})])),_:1},8,["modelValue"])])])])),_:1}),(0,a.Wm)(jl,null,{default:(0,a.w5)((()=>[(0,a._)("div",h,[w,(0,a._)("div",b,[(0,a.Wm)($l,{onClick:Il.initReconciliation},{default:(0,a.w5)((()=>[v])),_:1},8,["onClick"])])])])),_:1})])),_:1})]),(0,a._)("div",q,[(0,a.Wm)(zl,{bordered:""},{default:(0,a.w5)((()=>[(0,a.Wm)(jl,null,{default:(0,a.w5)((()=>[y])),_:1}),(0,a.Wm)(jl,null,{default:(0,a.w5)((()=>[(0,a.Uk)(" EUR "+(0,t.zw)(Il.balanceDiff),1)])),_:1}),(0,a.Wm)(Ol,null,{default:(0,a.w5)((()=>[W])),_:1})])),_:1})])]),(0,a._)("div",x,[(0,a._)("div",g,[(0,a.Wm)(zl,{bordered:""},{default:(0,a.w5)((()=>[(0,a.Wm)(jl,null,{default:(0,a.w5)((()=>[D])),_:1})])),_:1}),k,Z,B,V,R,U,Q,C,S,M,E,T,F,I,j,z,A,P,$,O,G,H,J,K,L,N,X,Y,ll,el,nl,al,tl,ul,sl,dl,cl,il,pl,ol,_l,rl,ml,fl,hl,wl,bl,vl,ql,yl,Wl,xl,gl,Dl,kl,Zl,Bl,Vl,Rl,Ul,Ql,Cl,Sl,Ml])]),Fl.canReconcile?((0,a.wg)(),(0,a.j4)(Gl,{key:1,position:"bottom-right",offset:[16,16],"scroll-offset":"120"},{default:(0,a.w5)((()=>[(0,a._)("div",El,"EUR "+(0,t.zw)(Il.balanceDiff),1)])),_:1})):(0,a.kq)("",!0)])),_:1})}var Fl=n(7164),Il=n(5057),jl=n(7799),zl=n(8898),Al=n(160);const Pl={name:"Reconcile",data(){return{startDate:"",startBalance:"0",endDate:"",endBalance:"0",id:0,canReconcile:!0}},computed:{balanceDiff:function(){return parseFloat(this.startBalance)-parseFloat(this.endBalance)}},created(){this.id=parseInt(this.$route.params.id)},mounted(){this.setDates(),this.collectBalances()},methods:{initReconciliation:function(){this.$q.dialog({title:"Todo",message:"This function does not work yet.",cancel:!1,persistent:!0})},setDates:function(){let l=new Date,e=(0,jl.Z)((0,Fl.Z)(l),1),n=(0,Il.Z)(l);this.startDate=(0,zl.Z)(e,"yyyy-MM-dd"),this.endDate=(0,zl.Z)(n,"yyyy-MM-dd")},collectBalances:function(){let l=new Al.Z;l.get(this.id,this.startDate).then((l=>{"asset"!==l.data.data.attributes.type&&(this.canReconcile=!1),this.startBalance=l.data.data.attributes.current_balance})),l.get(this.id,this.endDate).then((l=>{this.endBalance=l.data.data.attributes.current_balance}))}}};var $l=n(1639),Ol=n(9885),Gl=n(4458),Hl=n(3190),Jl=n(6611),Kl=n(2857),Ll=n(8879),Nl=n(1821),Xl=n(1237),Yl=n(9984),le=n.n(Yl);const ee=(0,$l.Z)(Pl,[["render",Tl]]),ne=ee;le()(Pl,"components",{QPage:Ol.Z,QCard:Gl.Z,QCardSection:Hl.Z,QInput:Jl.Z,QIcon:Kl.Z,QBtn:Ll.Z,QCardActions:Nl.Z,QPageScroller:Xl.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/7586.29cf8776.js b/public/v3/js/7586.29cf8776.js new file mode 100644 index 0000000000..a5de5da8c0 --- /dev/null +++ b/public/v3/js/7586.29cf8776.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[7586],{7586:(s,e,t)=>{t.r(e),t.d(e,{default:()=>R});var i=t(9835),r=t(6970);const a={class:"row q-mx-md"},n={class:"col-12"},o={class:"row q-mx-md q-mt-md"},l={class:"col-12"},d=(0,i._)("div",{class:"text-h6"},"Edit piggy bank",-1),u={class:"row"},c={class:"col-12 q-mb-xs"},m={class:"row q-mx-md"},h={class:"col-12"},g={class:"row"},p={class:"col-12 text-right"},b={class:"row"},f={class:"col-12 text-right"};function w(s,e,t,w,k,_){const y=(0,i.up)("q-btn"),v=(0,i.up)("q-banner"),q=(0,i.up)("q-card-section"),E=(0,i.up)("q-input"),x=(0,i.up)("q-card"),B=(0,i.up)("q-checkbox"),C=(0,i.up)("q-page");return(0,i.wg)(),(0,i.j4)(C,null,{default:(0,i.w5)((()=>[(0,i._)("div",a,[(0,i._)("div",n,[""!==k.errorMessage?((0,i.wg)(),(0,i.j4)(v,{key:0,"inline-actions":"",rounded:"",class:"bg-orange text-white"},{action:(0,i.w5)((()=>[(0,i.Wm)(y,{flat:"",onClick:_.dismissBanner,label:"Dismiss"},null,8,["onClick"])])),default:(0,i.w5)((()=>[(0,i.Uk)((0,r.zw)(k.errorMessage)+" ",1)])),_:1})):(0,i.kq)("",!0)])]),(0,i._)("div",o,[(0,i._)("div",l,[(0,i.Wm)(x,{bordered:""},{default:(0,i.w5)((()=>[(0,i.Wm)(q,null,{default:(0,i.w5)((()=>[d])),_:1}),(0,i.Wm)(q,null,{default:(0,i.w5)((()=>[(0,i._)("div",u,[(0,i._)("div",c,[(0,i.Wm)(E,{"error-message":k.submissionErrors.name,error:k.hasSubmissionErrors.name,"bottom-slots":"",disable:_.disabledInput,type:"text",clearable:"",modelValue:k.name,"onUpdate:modelValue":e[0]||(e[0]=s=>k.name=s),label:s.$t("form.name"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])])])),_:1})])),_:1})])]),(0,i._)("div",m,[(0,i._)("div",h,[(0,i.Wm)(x,{class:"q-mt-xs"},{default:(0,i.w5)((()=>[(0,i.Wm)(q,null,{default:(0,i.w5)((()=>[(0,i._)("div",g,[(0,i._)("div",p,[(0,i.Wm)(y,{disable:_.disabledInput,color:"primary",label:"Update",onClick:_.submitPiggyBank},null,8,["disable","onClick"])])]),(0,i._)("div",b,[(0,i._)("div",f,[(0,i.Wm)(B,{disable:_.disabledInput,modelValue:k.doReturnHere,"onUpdate:modelValue":e[1]||(e[1]=s=>k.doReturnHere=s),"left-label":"",label:"Return here"},null,8,["disable","modelValue"])])])])),_:1})])),_:1})])])])),_:1})}var k=t(670),_=t(1569);class y{post(s,e){let t="/api/v1/piggy_banks/"+s;return _.api.put(t,e)}}const v={name:"Edit",data(){return{submissionErrors:{},hasSubmissionErrors:{},submitting:!1,doReturnHere:!1,doResetForm:!1,errorMessage:"",id:0,name:""}},computed:{disabledInput:function(){return this.submitting}},created(){this.id=parseInt(this.$route.params.id),this.collectPiggyBank()},methods:{collectPiggyBank:function(){let s=new k.Z;s.get(this.id).then((s=>this.parsePiggyBank(s)))},parsePiggyBank:function(s){this.name=s.data.data.attributes.name},resetErrors:function(){this.submissionErrors={name:""},this.hasSubmissionErrors={name:!1}},submitPiggyBank:function(){this.submitting=!0,this.errorMessage="",this.resetErrors();const s=this.buildPiggyBank();(new y).post(this.id,s).catch(this.processErrors).then(this.processSuccess)},buildPiggyBank:function(){return{name:this.name}},dismissBanner:function(){this.errorMessage=""},processSuccess:function(s){if(this.$store.dispatch("fireflyiii/refreshCacheKey"),!s)return;this.submitting=!1;let e={level:"success",text:"Piggy is updated",show:!0,action:{show:!0,text:"Go to piggy",link:{name:"piggy-banks.show",params:{id:parseInt(s.data.data.id)}}}};this.$q.localStorage.set("flash",e),this.doReturnHere&&window.dispatchEvent(new CustomEvent("flash",{detail:{flash:this.$q.localStorage.getItem("flash")}})),this.doReturnHere||this.$router.go(-1)},processErrors:function(s){if(s.response){let e=s.response.data;this.errorMessage=e.message,console.log(e);for(let s in e.errors)e.errors.hasOwnProperty(s)&&(this.submissionErrors[s]=e.errors[s][0],this.hasSubmissionErrors[s]=!0)}this.submitting=!1}}};var q=t(1639),E=t(9885),x=t(7128),B=t(8879),C=t(4458),P=t(3190),S=t(6611),W=t(1221),Z=t(9984),I=t.n(Z);const Q=(0,q.Z)(v,[["render",w]]),R=Q;I()(v,"components",{QPage:E.Z,QBanner:x.Z,QBtn:B.Z,QCard:C.Z,QCardSection:P.Z,QInput:S.Z,QCheckbox:W.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/7697.4338f28d.js b/public/v3/js/7697.4338f28d.js new file mode 100644 index 0000000000..f5aaf745c7 --- /dev/null +++ b/public/v3/js/7697.4338f28d.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[7697],{7697:(e,t,r)=>{r.r(t),r.d(t,{default:()=>q});var i=r(9835),n=r(6970);const a={class:"row q-mx-md"},c={class:"col-12"},s={class:"text-h6"},u={class:"row"},l={class:"col-12 q-mb-xs"},d=(0,i._)("br",null,null,-1);function o(e,t,r,o,f,h){const g=(0,i.up)("q-card-section"),p=(0,i.up)("q-card"),w=(0,i.up)("q-page");return(0,i.wg)(),(0,i.j4)(w,null,{default:(0,i.w5)((()=>[(0,i._)("div",a,[(0,i._)("div",c,[(0,i.Wm)(p,{bordered:""},{default:(0,i.w5)((()=>[(0,i.Wm)(g,null,{default:(0,i.w5)((()=>[(0,i._)("div",s,(0,n.zw)(f.recurrence.title),1)])),_:1}),(0,i.Wm)(g,null,{default:(0,i.w5)((()=>[(0,i._)("div",u,[(0,i._)("div",l,[(0,i.Uk)(" Title: "+(0,n.zw)(f.recurrence.title),1),d])])])),_:1})])),_:1})])])])),_:1})}var f=r(4352);const h={name:"Show",data(){return{recurrence:{},id:0}},created(){this.id=parseInt(this.$route.params.id),this.getRecurring()},methods:{onRequest:function(e){this.page=e.page,this.getRecurring()},getRecurring:function(){(new f.Z).get(this.id).then((e=>this.parseRecurring(e)))},parseRecurring:function(e){this.recurrence={title:e.data.data.attributes.title}}}};var g=r(1639),p=r(9885),w=r(4458),_=r(3190),m=r(9984),v=r.n(m);const b=(0,g.Z)(h,[["render",o]]),q=b;v()(h,"components",{QPage:p.Z,QCard:w.Z,QCardSection:_.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/773.ff7cb3ef.js b/public/v3/js/773.ff7cb3ef.js new file mode 100644 index 0000000000..e2d0132b23 --- /dev/null +++ b/public/v3/js/773.ff7cb3ef.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[773],{773:(e,a,t)=>{t.r(a),t.d(a,{default:()=>Ve});var l=t(9835),n=t(6970);const s=(0,l._)("img",{src:"maskable-icon.svg",alt:"Firefly III Logo",title:"Firefly III"},null,-1),i=(0,l.Uk)(" Firefly III "),o=(0,l._)("img",{src:"https://cdn.quasar.dev/img/layout-gallery/img-github-search-key-slash.svg"},null,-1),r=(0,l.Uk)((0,n.zw)("Jump to")+" "),u={class:"row items-center no-wrap"},c={class:"row items-center no-wrap"},d=(0,l.Uk)("Webhooks"),m=(0,l.Uk)("Currencies"),w=(0,l.Uk)("Administration"),f={class:"row items-center no-wrap"},p=(0,l.Uk)(" Profile"),g=(0,l.Uk)(" Data management"),_=(0,l.Uk)("Preferences"),k=(0,l.Uk)("Export data"),h=(0,l.Uk)("Logout"),W={class:"q-pa-md"},b=(0,l.Uk)(" Dashboard "),y=(0,l.Uk)(" Budgets "),x=(0,l.Uk)(" Subscriptions "),v=(0,l.Uk)(" Piggy banks "),q=(0,l.Uk)(" Withdrawals "),Z=(0,l.Uk)(" Deposits "),R=(0,l.Uk)(" Transfers "),U=(0,l.Uk)(" Rules "),D=(0,l.Uk)(" Recurring transactions "),Q=(0,l.Uk)(" Asset accounts "),C=(0,l.Uk)(" Expense accounts "),j=(0,l.Uk)(" Revenue accounts "),A=(0,l.Uk)(" Liabilities "),M=(0,l.Uk)(" Categories "),$=(0,l.Uk)(" Tags "),I=(0,l.Uk)(" Groups "),L=(0,l.Uk)(" Reports "),T={class:"q-ma-md"},z={class:"row"},V={class:"col-6"},B={class:"q-ma-none q-pa-none"},H={class:"col-6"},S=(0,l._)("div",null,[(0,l._)("small",null,"Firefly III v TODO © James Cole, AGPL-3.0-or-later.")],-1);function F(e,a,t,F,O,P){const Y=(0,l.up)("q-btn"),E=(0,l.up)("q-avatar"),G=(0,l.up)("q-toolbar-title"),J=(0,l.up)("q-icon"),K=(0,l.up)("q-item-section"),N=(0,l.up)("q-item-label"),X=(0,l.up)("q-item"),ee=(0,l.up)("q-select"),ae=(0,l.up)("q-separator"),te=(0,l.up)("DateRange"),le=(0,l.up)("q-menu"),ne=(0,l.up)("q-list"),se=(0,l.up)("q-toolbar"),ie=(0,l.up)("q-header"),oe=(0,l.up)("q-expansion-item"),re=(0,l.up)("q-scroll-area"),ue=(0,l.up)("q-drawer"),ce=(0,l.up)("Alert"),de=(0,l.up)("q-breadcrumbs-el"),me=(0,l.up)("q-breadcrumbs"),we=(0,l.up)("router-view"),fe=(0,l.up)("q-page-container"),pe=(0,l.up)("q-footer"),ge=(0,l.up)("q-layout"),_e=(0,l.Q2)("ripple");return(0,l.wg)(),(0,l.j4)(ge,{view:"hHh lpR fFf"},{default:(0,l.w5)((()=>[(0,l.Wm)(ie,{elevated:"",class:"bg-primary text-white"},{default:(0,l.w5)((()=>[(0,l.Wm)(se,null,{default:(0,l.w5)((()=>[(0,l.Wm)(Y,{dense:"",flat:"",round:"",icon:"fas fa-bars",onClick:e.toggleLeftDrawer},null,8,["onClick"]),(0,l.Wm)(G,null,{default:(0,l.w5)((()=>[(0,l.Wm)(E,null,{default:(0,l.w5)((()=>[s])),_:1}),i])),_:1}),(0,l.Wm)(ee,{ref:"search",dark:"",dense:"",standout:"","use-input":"","hide-selected":"",class:"q-mx-xs",color:"black","stack-label":!1,label:"Search",modelValue:e.search,"onUpdate:modelValue":a[0]||(a[0]=a=>e.search=a),style:{width:"250px"}},{append:(0,l.w5)((()=>[o])),option:(0,l.w5)((e=>[(0,l.Wm)(X,(0,l.dG)(e.itemProps,{class:""}),{default:(0,l.w5)((()=>[(0,l.Wm)(K,{side:""},{default:(0,l.w5)((()=>[(0,l.Wm)(J,{name:"collections_bookmark"})])),_:1}),(0,l.Wm)(K,null,{default:(0,l.w5)((()=>[(0,l.Wm)(N,{innerHTML:e.opt.label},null,8,["innerHTML"])])),_:2},1024),(0,l.Wm)(K,{side:"",class:"default-type"},{default:(0,l.w5)((()=>[(0,l.Wm)(Y,{outline:"",dense:"","no-caps":"","text-color":"blue-grey-5",size:"12px",class:"bg-grey-1 q-px-sm"},{default:(0,l.w5)((()=>[r,(0,l.Wm)(J,{name:"subdirectory_arrow_left",size:"14px"})])),_:1})])),_:1})])),_:2},1040)])),_:1},8,["modelValue"]),(0,l.Wm)(ae,{dark:"",vertical:"",inset:""}),(0,l.Wm)(Y,{flat:"",icon:"fas fa-skull-crossbones",to:{name:"development.index"},class:"q-mx-xs"},null,8,["to"]),(0,l.Wm)(ae,{dark:"",vertical:"",inset:""}),(0,l.Wm)(Y,{flat:"",icon:"fas fa-question-circle",onClick:e.showHelpBox,class:"q-mx-xs"},null,8,["onClick"]),(0,l.Wm)(ae,{dark:"",vertical:"",inset:""}),e.$q.screen.gt.xs&&e.$route.meta.dateSelector?((0,l.wg)(),(0,l.j4)(Y,{key:0,flat:"",class:"q-mx-xs"},{default:(0,l.w5)((()=>[(0,l._)("div",u,[(0,l.Wm)(J,{name:"fas fa-calendar",size:"20px"}),(0,l.Wm)(J,{name:"fas fa-caret-down",size:"12px",right:""})]),(0,l.Wm)(le,null,{default:(0,l.w5)((()=>[(0,l.Wm)(te)])),_:1})])),_:1})):(0,l.kq)("",!0),e.$route.meta.dateSelector?((0,l.wg)(),(0,l.j4)(ae,{key:1,dark:"",vertical:"",inset:""})):(0,l.kq)("",!0),e.$q.screen.gt.xs?((0,l.wg)(),(0,l.j4)(Y,{key:2,flat:"",class:"q-mx-xs"},{default:(0,l.w5)((()=>[(0,l._)("div",c,[(0,l.Wm)(J,{name:"fas fa-dragon",size:"20px"}),(0,l.Wm)(J,{name:"fas fa-caret-down",size:"12px",right:""})]),(0,l.Wm)(le,{"auto-close":""},{default:(0,l.w5)((()=>[(0,l.Wm)(ne,{style:{"min-width":"120px"}},{default:(0,l.w5)((()=>[(0,l.Wm)(X,{clickable:"",to:{name:"webhooks.index"}},{default:(0,l.w5)((()=>[(0,l.Wm)(K,null,{default:(0,l.w5)((()=>[d])),_:1})])),_:1},8,["to"]),(0,l.Wm)(X,{clickable:"",to:{name:"currencies.index"}},{default:(0,l.w5)((()=>[(0,l.Wm)(K,null,{default:(0,l.w5)((()=>[m])),_:1})])),_:1},8,["to"]),(0,l.Wm)(X,{clickable:"",to:{name:"admin.index"}},{default:(0,l.w5)((()=>[(0,l.Wm)(K,null,{default:(0,l.w5)((()=>[w])),_:1})])),_:1},8,["to"])])),_:1})])),_:1})])),_:1})):(0,l.kq)("",!0),(0,l.Wm)(ae,{dark:"",vertical:"",inset:""}),e.$q.screen.gt.xs?((0,l.wg)(),(0,l.j4)(Y,{key:3,flat:"",class:"q-mx-xs"},{default:(0,l.w5)((()=>[(0,l._)("div",f,[(0,l.Wm)(J,{name:"fas fa-user-circle",size:"20px"}),(0,l.Wm)(J,{name:"fas fa-caret-down",right:"",size:"12px"})]),(0,l.Wm)(le,{"auto-close":""},{default:(0,l.w5)((()=>[(0,l.Wm)(ne,{style:{"min-width":"180px"}},{default:(0,l.w5)((()=>[(0,l.Wm)(X,{clickable:"",to:{name:"profile.index"}},{default:(0,l.w5)((()=>[(0,l.Wm)(K,null,{default:(0,l.w5)((()=>[p])),_:1})])),_:1},8,["to"]),(0,l.Wm)(X,{clickable:"",to:{name:"profile.daa"}},{default:(0,l.w5)((()=>[(0,l.Wm)(K,null,{default:(0,l.w5)((()=>[g])),_:1})])),_:1},8,["to"]),(0,l.Wm)(X,{clickable:"",to:{name:"preferences.index"}},{default:(0,l.w5)((()=>[(0,l.Wm)(K,null,{default:(0,l.w5)((()=>[_])),_:1})])),_:1},8,["to"]),(0,l.Wm)(X,{clickable:"",to:{name:"export.index"}},{default:(0,l.w5)((()=>[(0,l.Wm)(K,null,{default:(0,l.w5)((()=>[k])),_:1})])),_:1},8,["to"]),(0,l.Wm)(ae),(0,l.Wm)(X,{clickable:"",to:{name:"logout"}},{default:(0,l.w5)((()=>[(0,l.Wm)(K,null,{default:(0,l.w5)((()=>[h])),_:1})])),_:1})])),_:1})])),_:1})])),_:1})):(0,l.kq)("",!0)])),_:1})])),_:1}),(0,l.Wm)(ue,{"show-if-above":"",modelValue:e.leftDrawerOpen,"onUpdate:modelValue":a[1]||(a[1]=a=>e.leftDrawerOpen=a),side:"left",bordered:""},{default:(0,l.w5)((()=>[(0,l.Wm)(re,{class:"fit"},{default:(0,l.w5)((()=>[(0,l._)("div",W,[(0,l.Wm)(ne,null,{default:(0,l.w5)((()=>[(0,l.wy)(((0,l.wg)(),(0,l.j4)(X,{clickable:"",to:{name:"index"}},{default:(0,l.w5)((()=>[(0,l.Wm)(K,{avatar:""},{default:(0,l.w5)((()=>[(0,l.Wm)(J,{name:"fas fa-tachometer-alt"})])),_:1}),(0,l.Wm)(K,null,{default:(0,l.w5)((()=>[b])),_:1})])),_:1})),[[_e]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(X,{clickable:"",to:{name:"budgets.index"}},{default:(0,l.w5)((()=>[(0,l.Wm)(K,{avatar:""},{default:(0,l.w5)((()=>[(0,l.Wm)(J,{name:"fas fa-chart-pie"})])),_:1}),(0,l.Wm)(K,null,{default:(0,l.w5)((()=>[y])),_:1})])),_:1},8,["to"])),[[_e]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(X,{clickable:"",to:{name:"subscriptions.index"}},{default:(0,l.w5)((()=>[(0,l.Wm)(K,{avatar:""},{default:(0,l.w5)((()=>[(0,l.Wm)(J,{name:"far fa-calendar-alt"})])),_:1}),(0,l.Wm)(K,null,{default:(0,l.w5)((()=>[x])),_:1})])),_:1},8,["to"])),[[_e]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(X,{clickable:"",to:{name:"piggy-banks.index"}},{default:(0,l.w5)((()=>[(0,l.Wm)(K,{avatar:""},{default:(0,l.w5)((()=>[(0,l.Wm)(J,{name:"fas fa-piggy-bank"})])),_:1}),(0,l.Wm)(K,null,{default:(0,l.w5)((()=>[v])),_:1})])),_:1},8,["to"])),[[_e]]),(0,l.Wm)(oe,{"expand-separator":"",icon:"fas fa-exchange-alt",label:"Transactions","default-opened":"transactions.index"===this.$route.name||"transactions.show"===this.$route.name},{default:(0,l.w5)((()=>[(0,l.wy)(((0,l.wg)(),(0,l.j4)(X,{"inset-level":1,clickable:"",to:{name:"transactions.index",params:{type:"withdrawal"}}},{default:(0,l.w5)((()=>[(0,l.Wm)(K,null,{default:(0,l.w5)((()=>[q])),_:1})])),_:1},8,["to"])),[[_e]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(X,{clickable:"","inset-level":1,to:{name:"transactions.index",params:{type:"deposit"}}},{default:(0,l.w5)((()=>[(0,l.Wm)(K,null,{default:(0,l.w5)((()=>[Z])),_:1})])),_:1},8,["to"])),[[_e]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(X,{clickable:"","inset-level":1,to:{name:"transactions.index",params:{type:"transfers"}}},{default:(0,l.w5)((()=>[(0,l.Wm)(K,null,{default:(0,l.w5)((()=>[R])),_:1})])),_:1},8,["to"])),[[_e]])])),_:1},8,["default-opened"]),(0,l.Wm)(oe,{"expand-separator":"",icon:"fas fa-microchip",label:"Automation","default-unopened":""},{default:(0,l.w5)((()=>[(0,l.wy)(((0,l.wg)(),(0,l.j4)(X,{"inset-level":1,clickable:"",to:{name:"rules.index"}},{default:(0,l.w5)((()=>[(0,l.Wm)(K,null,{default:(0,l.w5)((()=>[U])),_:1})])),_:1},8,["to"])),[[_e]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(X,{"inset-level":1,clickable:"",to:{name:"recurring.index"}},{default:(0,l.w5)((()=>[(0,l.Wm)(K,null,{default:(0,l.w5)((()=>[D])),_:1})])),_:1},8,["to"])),[[_e]])])),_:1}),(0,l.Wm)(oe,{"expand-separator":"",icon:"fas fa-credit-card",label:"Accounts","default-opened":"accounts.index"===this.$route.name||"accounts.show"===this.$route.name},{default:(0,l.w5)((()=>[(0,l.wy)(((0,l.wg)(),(0,l.j4)(X,{clickable:"","inset-level":1,to:{name:"accounts.index",params:{type:"asset"}}},{default:(0,l.w5)((()=>[(0,l.Wm)(K,null,{default:(0,l.w5)((()=>[Q])),_:1})])),_:1},8,["to"])),[[_e]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(X,{clickable:"","inset-level":1,to:{name:"accounts.index",params:{type:"expense"}}},{default:(0,l.w5)((()=>[(0,l.Wm)(K,null,{default:(0,l.w5)((()=>[C])),_:1})])),_:1},8,["to"])),[[_e]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(X,{clickable:"","inset-level":1,to:{name:"accounts.index",params:{type:"revenue"}}},{default:(0,l.w5)((()=>[(0,l.Wm)(K,null,{default:(0,l.w5)((()=>[j])),_:1})])),_:1},8,["to"])),[[_e]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(X,{clickable:"","inset-level":1,to:{name:"accounts.index",params:{type:"liabilities"}}},{default:(0,l.w5)((()=>[(0,l.Wm)(K,null,{default:(0,l.w5)((()=>[A])),_:1})])),_:1},8,["to"])),[[_e]])])),_:1},8,["default-opened"]),(0,l.Wm)(oe,{"expand-separator":"",icon:"fas fa-tags",label:"Classification","default-unopened":""},{default:(0,l.w5)((()=>[(0,l.wy)(((0,l.wg)(),(0,l.j4)(X,{clickable:"","inset-level":1,to:{name:"categories.index"}},{default:(0,l.w5)((()=>[(0,l.Wm)(K,null,{default:(0,l.w5)((()=>[M])),_:1})])),_:1},8,["to"])),[[_e]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(X,{clickable:"","inset-level":1,to:{name:"tags.index"}},{default:(0,l.w5)((()=>[(0,l.Wm)(K,null,{default:(0,l.w5)((()=>[$])),_:1})])),_:1},8,["to"])),[[_e]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(X,{clickable:"","inset-level":1,to:{name:"groups.index"}},{default:(0,l.w5)((()=>[(0,l.Wm)(K,null,{default:(0,l.w5)((()=>[I])),_:1})])),_:1},8,["to"])),[[_e]])])),_:1}),(0,l.wy)(((0,l.wg)(),(0,l.j4)(X,{clickable:"",to:{name:"reports.index"}},{default:(0,l.w5)((()=>[(0,l.Wm)(K,{avatar:""},{default:(0,l.w5)((()=>[(0,l.Wm)(J,{name:"far fa-chart-bar"})])),_:1}),(0,l.Wm)(K,null,{default:(0,l.w5)((()=>[L])),_:1})])),_:1},8,["to"])),[[_e]])])),_:1})])])),_:1})])),_:1},8,["modelValue"]),(0,l.Wm)(fe,null,{default:(0,l.w5)((()=>[(0,l.Wm)(ce),(0,l._)("div",T,[(0,l._)("div",z,[(0,l._)("div",V,[(0,l._)("h4",B,(0,n.zw)(e.$t(e.$route.meta.pageTitle||"firefly.welcome_back")),1)]),(0,l._)("div",H,[(0,l.Wm)(me,{align:"right"},{default:(0,l.w5)((()=>[(0,l.Wm)(de,{label:"Home",to:{name:"index"}}),((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(e.$route.meta.breadcrumbs,(a=>((0,l.wg)(),(0,l.j4)(de,{label:e.$t("breadcrumbs."+a.title),to:a.route?{name:a.route,params:a.params}:""},null,8,["label","to"])))),256))])),_:1})])])]),(0,l.Wm)(we)])),_:1}),(0,l.Wm)(pe,{elevated:"",class:"bg-grey-8 text-white"},{default:(0,l.w5)((()=>[(0,l.Wm)(se,null,{default:(0,l.w5)((()=>[S])),_:1})])),_:1})])),_:1})}var O=t(499);const P={class:"q-pa-xs"},Y={class:"q-mt-xs"},E={class:"q-mr-xs"};function G(e,a,t,s,i,o){const r=(0,l.up)("q-date"),u=(0,l.up)("q-btn"),c=(0,l.up)("q-item-section"),d=(0,l.up)("q-item"),m=(0,l.up)("q-list"),w=(0,l.up)("q-menu"),f=(0,l.Q2)("close-popup");return(0,l.wg)(),(0,l.iD)("div",P,[(0,l._)("div",null,[(0,l.Wm)(r,{modelValue:i.localRange,"onUpdate:modelValue":a[0]||(a[0]=e=>i.localRange=e),range:"",minimal:"",mask:"YYYY-MM-DD"},null,8,["modelValue"])]),(0,l._)("div",Y,[(0,l._)("span",E,[(0,l.Wm)(u,{onClick:o.resetRange,size:"sm",color:"primary",label:"Reset"},null,8,["onClick"])]),(0,l.Wm)(u,{color:"primary",size:"sm",label:"Change range","icon-right":"fas fa-caret-down",title:"More options in preferences"},{default:(0,l.w5)((()=>[(0,l.Wm)(w,null,{default:(0,l.w5)((()=>[(0,l.Wm)(m,{style:{"min-width":"100px"}},{default:(0,l.w5)((()=>[((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(i.rangeChoices,(a=>(0,l.wy)(((0,l.wg)(),(0,l.j4)(d,{clickable:"",onClick:e=>o.setViewRange(a)},{default:(0,l.w5)((()=>[(0,l.Wm)(c,null,{default:(0,l.w5)((()=>[(0,l.Uk)((0,n.zw)(e.$t("firefly.pref_"+a.value)),1)])),_:2},1024)])),_:2},1032,["onClick"])),[[f]]))),256))])),_:1})])),_:1})])),_:1})])])}var J=t(1049),K=t(9302),N=t(9167),X=t(8898);const ee={name:"DateRange",computed:{...(0,J.Se)("fireflyiii",["getRange"]),...(0,J.OI)("fireflyiii",["setRange"])},created(){const e=(0,K.Z)();this.darkMode=e.dark.isActive,this.localRange={from:(0,X.Z)(this.getRange.start,"yyyy-MM-dd"),to:(0,X.Z)(this.getRange.end,"yyyy-MM-dd")}},watch:{localRange:function(e){if(null!==e){const a={start:Date.parse(e.from),end:Date.parse(e.to)};this.$store.commit("fireflyiii/setRange",a)}}},mounted(){},methods:{resetRange:function(){this.$store.dispatch("fireflyiii/resetRange").then((()=>{this.localRange={from:(0,X.Z)(this.getRange.start,"yyyy-MM-dd"),to:(0,X.Z)(this.getRange.end,"yyyy-MM-dd")}}))},setViewRange:function(e){let a=e.value,t=new N.Z;t.postByName("viewRange",a),this.$store.commit("fireflyiii/updateViewRange",a),this.$store.dispatch("fireflyiii/setDatesFromViewRange")},updateViewRange:function(){}},data(){return{rangeChoices:[{value:"last30"},{value:"last7"},{value:"MTD"},{value:"1M"},{value:"3M"},{value:"6M"}],darkMode:!1,range:{start:new Date,end:new Date},localRange:{start:new Date,end:new Date},modelConfig:{start:{timeAdjust:"00:00:00"},end:{timeAdjust:"23:59:59"}}}},components:{}};var ae=t(1639),te=t(4939),le=t(8879),ne=t(5290),se=t(3246),ie=t(490),oe=t(1233),re=t(2146),ue=t(9984),ce=t.n(ue);const de=(0,ae.Z)(ee,[["render",G]]),me=de;ce()(ee,"components",{QDate:te.Z,QBtn:le.Z,QMenu:ne.Z,QList:se.Z,QItem:ie.Z,QItemSection:oe.Z}),ce()(ee,"directives",{ClosePopup:re.Z});const we={key:0,class:"q-ma-md"},fe={class:"row"},pe={class:"col-12"};function ge(e,a,t,s,i,o){const r=(0,l.up)("q-btn"),u=(0,l.up)("q-banner");return i.showAlert?((0,l.wg)(),(0,l.iD)("div",we,[(0,l._)("div",fe,[(0,l._)("div",pe,[(0,l.Wm)(u,{class:(0,n.C_)(i.alertClass),"inline-actions":""},{action:(0,l.w5)((()=>[(0,l.Wm)(r,{flat:"",onClick:o.dismissBanner,color:"white",label:"Dismiss"},null,8,["onClick"]),i.showAction?((0,l.wg)(),(0,l.j4)(r,{key:0,flat:"",color:"white",to:i.actionLink,label:i.actionText},null,8,["to","label"])):(0,l.kq)("",!0)])),default:(0,l.w5)((()=>[(0,l.Uk)((0,n.zw)(i.message)+" ",1)])),_:1},8,["class"])])])])):(0,l.kq)("",!0)}const _e={name:"Alert",data(){return{showAlert:!1,alertClass:"bg-green text-white",message:"",showAction:!1,actionText:"",actionLink:{}}},watch:{$route:function(){this.checkAlert()}},mounted(){this.checkAlert(),window.addEventListener("flash",(e=>{this.renderAlert(e.detail.flash)}))},methods:{checkAlert:function(){let e=this.$q.localStorage.getItem("flash");e&&this.renderAlert(e),!1===e&&(this.showAlert=!1)},renderAlert:function(e){var a,t,l,n;this.showAlert=null!==(a=e.show)&&void 0!==a&&a;let s=null!==(t=e.level)&&void 0!==t?t:"unknown";this.alertClass="bg-green text-white","warning"===s&&(this.alertClass="bg-orange text-white"),this.message=null!==(l=e.text)&&void 0!==l?l:"";let i=null!==(n=e.action)&&void 0!==n?n:{};!0===i.show&&(this.showAction=!0,this.actionText=i.text,this.actionLink=i.link),this.$q.localStorage.set("flash",!1)},dismissBanner:function(){this.showAlert=!1}}};var ke=t(7128);const he=(0,ae.Z)(_e,[["render",ge]]),We=he;ce()(_e,"components",{QBanner:ke.Z,QBtn:le.Z});const be=(0,l.aZ)({name:"MainLayout",components:{DateRange:me,Alert:We},setup(){const e=(0,O.iH)(!0),a=(0,O.iH)("");return{search:a,leftDrawerOpen:e,toggleLeftDrawer(){e.value=!e.value},showHelpBox(){$q.dialog({title:"Help",message:"The relevant help page will open in a new screen. Doesn't work yet.",cancel:!0,persistent:!1}).onOk((()=>{})).onCancel((()=>{})).onDismiss((()=>{}))}}}});var ye=t(249),xe=t(6602),ve=t(1663),qe=t(1973),Ze=t(1357),Re=t(7887),Ue=t(2857),De=t(3115),Qe=t(926),Ce=t(906),je=t(6663),Ae=t(1123),Me=t(2133),$e=t(2605),Ie=t(8052),Le=t(1378),Te=t(1136);const ze=(0,ae.Z)(be,[["render",F]]),Ve=ze;ce()(be,"components",{QLayout:ye.Z,QHeader:xe.Z,QToolbar:ve.Z,QBtn:le.Z,QToolbarTitle:qe.Z,QAvatar:Ze.Z,QSelect:Re.Z,QItem:ie.Z,QItemSection:oe.Z,QIcon:Ue.Z,QItemLabel:De.Z,QSeparator:Qe.Z,QMenu:ne.Z,QList:se.Z,QDrawer:Ce.Z,QScrollArea:je.Z,QExpansionItem:Ae.Z,QPageContainer:Me.Z,QBreadcrumbs:$e.Z,QBreadcrumbsEl:Ie.Z,QFooter:Le.Z}),ce()(be,"directives",{Ripple:Te.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/7919.910d5ebb.js b/public/v3/js/7919.910d5ebb.js new file mode 100644 index 0000000000..bb3f5ee9a4 --- /dev/null +++ b/public/v3/js/7919.910d5ebb.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[7919],{7919:(e,s,t)=>{t.r(s),t.d(s,{default:()=>M});var r=t(9835),i=t(6970);const a={class:"row q-mx-md"},o={class:"col-12"},n={class:"row q-mx-md q-mt-md"},l={class:"col-12"},d=(0,r._)("div",{class:"text-h6"},"Edit budget",-1),u={class:"row"},c={class:"col-12 q-mb-xs"},m={class:"row q-mx-md"},h={class:"col-12"},b={class:"row"},p={class:"col-12 text-right"},g={class:"row"},f={class:"col-12 text-right"};function w(e,s,t,w,_,v){const q=(0,r.up)("q-btn"),E=(0,r.up)("q-banner"),k=(0,r.up)("q-card-section"),x=(0,r.up)("q-input"),B=(0,r.up)("q-card"),C=(0,r.up)("q-checkbox"),y=(0,r.up)("q-page");return(0,r.wg)(),(0,r.j4)(y,null,{default:(0,r.w5)((()=>[(0,r._)("div",a,[(0,r._)("div",o,[""!==_.errorMessage?((0,r.wg)(),(0,r.j4)(E,{key:0,"inline-actions":"",rounded:"",class:"bg-orange text-white"},{action:(0,r.w5)((()=>[(0,r.Wm)(q,{flat:"",onClick:v.dismissBanner,label:"Dismiss"},null,8,["onClick"])])),default:(0,r.w5)((()=>[(0,r.Uk)((0,i.zw)(_.errorMessage)+" ",1)])),_:1})):(0,r.kq)("",!0)])]),(0,r._)("div",n,[(0,r._)("div",l,[(0,r.Wm)(B,{bordered:""},{default:(0,r.w5)((()=>[(0,r.Wm)(k,null,{default:(0,r.w5)((()=>[d])),_:1}),(0,r.Wm)(k,null,{default:(0,r.w5)((()=>[(0,r._)("div",u,[(0,r._)("div",c,[(0,r.Wm)(x,{"error-message":_.submissionErrors.name,error:_.hasSubmissionErrors.name,"bottom-slots":"",disable:v.disabledInput,type:"text",clearable:"",modelValue:_.name,"onUpdate:modelValue":s[0]||(s[0]=e=>_.name=e),label:e.$t("form.name"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])])])),_:1})])),_:1})])]),(0,r._)("div",m,[(0,r._)("div",h,[(0,r.Wm)(B,{class:"q-mt-xs"},{default:(0,r.w5)((()=>[(0,r.Wm)(k,null,{default:(0,r.w5)((()=>[(0,r._)("div",b,[(0,r._)("div",p,[(0,r.Wm)(q,{disable:v.disabledInput,color:"primary",label:"Update",onClick:v.submitBudget},null,8,["disable","onClick"])])]),(0,r._)("div",g,[(0,r._)("div",f,[(0,r.Wm)(C,{disable:v.disabledInput,modelValue:_.doReturnHere,"onUpdate:modelValue":s[1]||(s[1]=e=>_.doReturnHere=e),"left-label":"",label:"Return here"},null,8,["disable","modelValue"])])])])),_:1})])),_:1})])])])),_:1})}var _=t(7912),v=t(1569);class q{post(e,s){let t="/api/v1/budgets/"+e;return v.api.put(t,s)}}const E={name:"Edit",data(){return{submissionErrors:{},hasSubmissionErrors:{},submitting:!1,doReturnHere:!1,doResetForm:!1,errorMessage:"",type:"",id:0,name:""}},computed:{disabledInput:function(){return this.submitting}},created(){this.id=parseInt(this.$route.params.id),this.collectBudget()},methods:{collectBudget:function(){let e=new _.Z;e.get(this.id).then((e=>this.parseBudget(e)))},parseBudget:function(e){this.name=e.data.data.attributes.name},resetErrors:function(){this.submissionErrors={name:""},this.hasSubmissionErrors={name:!1}},submitBudget:function(){this.submitting=!0,this.errorMessage="",this.resetErrors();const e=this.buildBudget();let s=new q;s.post(this.id,e).catch(this.processErrors).then(this.processSuccess)},buildBudget:function(){return{name:this.name}},dismissBanner:function(){this.errorMessage=""},processSuccess:function(e){if(this.$store.dispatch("fireflyiii/refreshCacheKey"),!e)return;this.submitting=!1;let s={level:"success",text:"Budget is updated",show:!0,action:{show:!0,text:"Go to budget",link:{name:"budgets.show",params:{id:parseInt(e.data.data.id)}}}};this.$q.localStorage.set("flash",s),this.doReturnHere&&window.dispatchEvent(new CustomEvent("flash",{detail:{flash:this.$q.localStorage.getItem("flash")}})),this.doReturnHere||this.$router.go(-1)},processErrors:function(e){if(e.response){let s=e.response.data;this.errorMessage=s.message,console.log(s);for(let e in s.errors)s.errors.hasOwnProperty(e)&&(this.submissionErrors[e]=s.errors[e][0],this.hasSubmissionErrors[e]=!0)}this.submitting=!1}}};var k=t(1639),x=t(9885),B=t(7128),C=t(8879),y=t(4458),S=t(3190),W=t(6611),Z=t(1221),I=t(9984),Q=t.n(I);const R=(0,k.Z)(E,[["render",w]]),M=R;Q()(E,"components",{QPage:x.Z,QBanner:B.Z,QBtn:C.Z,QCard:y.Z,QCardSection:S.Z,QInput:W.Z,QCheckbox:Z.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/7956.3e1c81cf.js b/public/v3/js/7956.3e1c81cf.js new file mode 100644 index 0000000000..e5997a8f41 --- /dev/null +++ b/public/v3/js/7956.3e1c81cf.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[7956],{7956:(e,s,t)=>{t.r(s),t.d(s,{default:()=>Q});var r=t(9835),o=t(6970);const a={class:"row q-mx-md"},l={class:"col-12"},i={class:"row q-mx-md q-mt-md"},n={class:"col-12"},u={class:"text-h6"},d={class:"row"},m={class:"col-12 q-mb-xs"},c={class:"row"},b={class:"col-12 q-mb-xs"},h={class:"row q-mx-md"},p={class:"col-12"},f={class:"row"},w={class:"col-12 text-right"},X={class:"row"},g={class:"col-12 text-right"},_=(0,r._)("br",null,null,-1);function v(e,s,t,v,q,x){const E=(0,r.up)("q-btn"),k=(0,r.up)("q-banner"),y=(0,r.up)("q-card-section"),V=(0,r.up)("q-input"),C=(0,r.up)("q-card"),I=(0,r.up)("q-checkbox"),R=(0,r.up)("q-page");return(0,r.wg)(),(0,r.j4)(R,null,{default:(0,r.w5)((()=>[(0,r._)("div",a,[(0,r._)("div",l,[""!==q.errorMessage?((0,r.wg)(),(0,r.j4)(k,{key:0,"inline-actions":"",rounded:"",class:"bg-orange text-white"},{action:(0,r.w5)((()=>[(0,r.Wm)(E,{flat:"",onClick:x.dismissBanner,label:"Dismiss"},null,8,["onClick"])])),default:(0,r.w5)((()=>[(0,r.Uk)((0,o.zw)(q.errorMessage)+" ",1)])),_:1})):(0,r.kq)("",!0)])]),(0,r._)("div",i,[(0,r._)("div",n,[(0,r.Wm)(C,{bordered:""},{default:(0,r.w5)((()=>[(0,r.Wm)(y,null,{default:(0,r.w5)((()=>[(0,r._)("div",u,"Info for "+(0,o.zw)(e.$route.params.type)+" "+(0,o.zw)(e.index),1)])),_:1}),(0,r.Wm)(y,null,{default:(0,r.w5)((()=>[(0,r._)("div",d,[(0,r._)("div",m,[(0,r.Wm)(V,{"error-message":q.submissionErrors.name,error:q.hasSubmissionErrors.name,"bottom-slots":"",disable:x.disabledInput,type:"text",clearable:"",modelValue:q.name,"onUpdate:modelValue":s[0]||(s[0]=e=>q.name=e),label:e.$t("form.name"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])]),(0,r._)("div",c,[(0,r._)("div",b,[(0,r.Wm)(V,{"error-message":q.submissionErrors.iban,error:q.hasSubmissionErrors.iban,mask:"AA## XXXX XXXX XXXX XXXX XXXX XXXX XXXX XX","bottom-slots":"",disable:x.disabledInput,type:"text",clearable:"",modelValue:q.iban,"onUpdate:modelValue":s[1]||(s[1]=e=>q.iban=e),label:e.$t("form.iban"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])])])),_:1})])),_:1})])]),(0,r._)("div",h,[(0,r._)("div",p,[(0,r.Wm)(C,{class:"q-mt-xs"},{default:(0,r.w5)((()=>[(0,r.Wm)(y,null,{default:(0,r.w5)((()=>[(0,r._)("div",f,[(0,r._)("div",w,[(0,r.Wm)(E,{disable:x.disabledInput,color:"primary",label:"Submit",onClick:x.submitAccount},null,8,["disable","onClick"])])]),(0,r._)("div",X,[(0,r._)("div",g,[(0,r.Wm)(I,{disable:x.disabledInput,modelValue:q.doReturnHere,"onUpdate:modelValue":s[2]||(s[2]=e=>q.doReturnHere=e),"left-label":"",label:"Return here to create another one"},null,8,["disable","modelValue"]),_,(0,r.Wm)(I,{modelValue:q.doResetForm,"onUpdate:modelValue":s[3]||(s[3]=e=>q.doResetForm=e),"left-label":"",disable:!q.doReturnHere||x.disabledInput,label:"Reset form after submission"},null,8,["modelValue","disable"])])])])),_:1})])),_:1})])])])),_:1})}var q=t(1138);const x={name:"Create",data(){return{submissionErrors:{},hasSubmissionErrors:{},submitting:!1,doReturnHere:!1,doResetForm:!1,errorMessage:"",type:"",name:"",iban:""}},computed:{disabledInput:function(){return this.submitting}},created(){this.resetForm(),this.type=this.$route.params.type},methods:{resetForm:function(){this.name="",this.iban="",this.resetErrors()},resetErrors:function(){this.submissionErrors={name:"",iban:""},this.hasSubmissionErrors={name:!1,iban:!1}},submitAccount:function(){this.submitting=!0,this.errorMessage="",this.resetErrors();const e=this.buildAccount();let s=new q.Z;s.post(e).catch(this.processErrors).then(this.processSuccess)},buildAccount:function(){let e={name:this.name,iban:this.iban,type:this.type};return"asset"===this.type&&(e.account_role="defaultAsset"),e},dismissBanner:function(){this.errorMessage=""},processSuccess:function(e){if(!e)return;this.submitting=!1;let s={level:"success",text:"I am new account lol",show:!0,action:{show:!0,text:"Go to account",link:{name:"accounts.show",params:{id:parseInt(e.data.data.id)}}}};this.$q.localStorage.set("flash",s),this.doReturnHere&&window.dispatchEvent(new CustomEvent("flash",{detail:{flash:this.$q.localStorage.getItem("flash")}})),this.doReturnHere||this.$router.go(-1)},processErrors:function(e){if(e.response){let s=e.response.data;this.errorMessage=s.message,console.log(s);for(let e in s.errors)s.errors.hasOwnProperty(e)&&(this.submissionErrors[e]=s.errors[e][0],this.hasSubmissionErrors[e]=!0)}this.submitting=!1}}};var E=t(1639),k=t(9885),y=t(7128),V=t(8879),C=t(4458),I=t(3190),R=t(6611),S=t(1221),W=t(9984),Z=t.n(W);const A=(0,E.Z)(x,[["render",v]]),Q=A;Z()(x,"components",{QPage:k.Z,QBanner:y.Z,QBtn:V.Z,QCard:C.Z,QCardSection:I.Z,QInput:R.Z,QCheckbox:S.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/8044.169b21f8.js b/public/v3/js/8044.169b21f8.js new file mode 100644 index 0000000000..bca4b40d63 --- /dev/null +++ b/public/v3/js/8044.169b21f8.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[8044],{8044:(e,t,r)=>{r.r(t),r.d(t,{default:()=>S});r(702);var n=r(9835),s=r(6970);const i={class:"row"},l={class:"col-4 q-pr-sm q-pr-sm"},a={class:"text-overline"},d={class:"float-right"},o={key:0},p={class:"col-4 q-pr-sm q-pl-sm"},g={class:"text-overline"},u={class:"float-right"},c=["title"],f={key:0},h={class:"col-4 q-pl-sm"},y={class:"text-overline"},w={class:"float-right"},_=["title"],U={key:0},m={key:0};function C(e,t,r,C,k,v){const b=(0,n.up)("q-card-section"),W=(0,n.up)("q-card");return(0,n.wg)(),(0,n.iD)("div",i,[(0,n._)("div",l,[(0,n.Wm)(W,{bordered:""},{default:(0,n.w5)((()=>[(0,n.Wm)(b,{class:"q-pt-xs"},{default:(0,n.w5)((()=>[(0,n._)("div",a,[(0,n.Uk)((0,s.zw)(e.$t("firefly.bills_to_pay"))+" ",1),(0,n._)("span",d,[(0,n._)("span",{class:"text-grey-4 fas fa-redo-alt",style:{cursor:"pointer"},onClick:t[0]||(t[0]=(...e)=>v.triggerForcedUpgrade&&v.triggerForcedUpgrade(...e))})])])])),_:1}),(0,n.Wm)(b,{class:"q-pt-xs"},{default:(0,n.w5)((()=>[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(v.prefBillsUnpaid,(e=>((0,n.wg)(),(0,n.iD)("span",null,(0,s.zw)(e.value_parsed),1)))),256)),((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(v.notPrefBillsUnpaid,((e,t)=>((0,n.wg)(),(0,n.iD)("span",null,[(0,n.Uk)((0,s.zw)(e.value_parsed),1),t+1!==v.notPrefBillsUnpaid.length?((0,n.wg)(),(0,n.iD)("span",o,", ")):(0,n.kq)("",!0)])))),256))])),_:1})])),_:1})]),(0,n._)("div",p,[(0,n.Wm)(W,{bordered:""},{default:(0,n.w5)((()=>[(0,n.Wm)(b,{class:"q-pt-xs"},{default:(0,n.w5)((()=>[(0,n._)("div",g,[(0,n.Uk)((0,s.zw)(e.$t("firefly.left_to_spend"))+" ",1),(0,n._)("span",u,[(0,n._)("span",{class:"text-grey-4 fas fa-redo-alt",style:{cursor:"pointer"},onClick:t[1]||(t[1]=(...e)=>v.triggerForcedUpgrade&&v.triggerForcedUpgrade(...e))})])])])),_:1}),(0,n.Wm)(b,{class:"q-pt-xs"},{default:(0,n.w5)((()=>[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(v.prefLeftToSpend,(e=>((0,n.wg)(),(0,n.iD)("span",{title:e.sub_title},(0,s.zw)(e.value_parsed),9,c)))),256)),((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(v.notPrefLeftToSpend,((e,t)=>((0,n.wg)(),(0,n.iD)("span",null,[(0,n.Uk)((0,s.zw)(e.value_parsed),1),t+1!==v.notPrefLeftToSpend.length?((0,n.wg)(),(0,n.iD)("span",f,", ")):(0,n.kq)("",!0)])))),256))])),_:1})])),_:1})]),(0,n._)("div",h,[(0,n.Wm)(W,{bordered:""},{default:(0,n.w5)((()=>[(0,n.Wm)(b,{class:"q-pt-xs"},{default:(0,n.w5)((()=>[(0,n._)("div",y,[(0,n.Uk)((0,s.zw)(e.$t("firefly.net_worth"))+" ",1),(0,n._)("span",w,[(0,n._)("span",{class:"text-grey-4 fas fa-redo-alt",style:{cursor:"pointer"},onClick:t[2]||(t[2]=(...e)=>v.triggerForcedUpgrade&&v.triggerForcedUpgrade(...e))})])])])),_:1}),(0,n.Wm)(b,{class:"q-pt-xs"},{default:(0,n.w5)((()=>[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(v.prefNetWorth,(e=>((0,n.wg)(),(0,n.iD)("span",{title:e.sub_title},(0,s.zw)(e.value_parsed),9,_)))),256)),((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(v.notPrefNetWorth,((e,t)=>((0,n.wg)(),(0,n.iD)("span",null,[(0,n.Uk)((0,s.zw)(e.value_parsed),1),t+1!==v.notPrefNetWorth.length?((0,n.wg)(),(0,n.iD)("span",U,", ")):(0,n.kq)("",!0)])))),256)),0===v.notPrefNetWorth.length?((0,n.wg)(),(0,n.iD)("span",m," ")):(0,n.kq)("",!0)])),_:1})])),_:1})])])}var k=r(1569),v=r(8898);class b{list(e,t){let r=(0,v.Z)(e.start,"y-MM-dd"),n=(0,v.Z)(e.end,"y-MM-dd");return k.api.get("/api/v1/summary/basic",{params:{start:r,end:n,cache:t}})}}var W=r(1049);const q={name:"Boxes",computed:{...(0,W.Se)("fireflyiii",["getCurrencyCode","getCurrencyId","getRange","getCacheKey"]),prefBillsUnpaid:function(){return this.filterOnCurrency(this.billsUnpaid)},notPrefBillsUnpaid:function(){return this.filterOnNotCurrency(this.billsUnpaid)},prefLeftToSpend:function(){return this.filterOnCurrency(this.leftToSpend)},notPrefLeftToSpend:function(){return this.filterOnNotCurrency(this.leftToSpend)},prefNetWorth:function(){return this.filterOnCurrency(this.netWorth)},notPrefNetWorth:function(){return this.filterOnNotCurrency(this.netWorth)}},created(){},data(){return{summary:[],billsPaid:[],billsUnpaid:[],leftToSpend:[],netWorth:[],range:{start:null,end:null}}},mounted(){if(null===this.range.start||null===this.range.end){const e=(0,W.oR)();e.subscribe((e=>{"fireflyiii/setRange"===e.type&&(this.range=e.payload,this.triggerUpdate())}))}null!==this.getRange.start&&null!==this.getRange.end&&(this.start=this.getRange.start,this.end=this.getRange.end,this.triggerUpdate())},methods:{triggerForcedUpgrade:function(){this.$store.dispatch("fireflyiii/refreshCacheKey"),this.triggerUpdate()},triggerUpdate:function(){if(null!==this.getRange.start&&null!==this.getRange.end){const e=new b;e.list({start:this.getRange.start,end:this.getRange.end},this.getCacheKey).then((e=>{this.netWorth=this.getKeyedEntries(e.data,"net-worth-in-"),this.leftToSpend=this.getKeyedEntries(e.data,"left-to-spend-in-"),this.billsPaid=this.getKeyedEntries(e.data,"bills-paid-in-"),this.billsUnpaid=this.getKeyedEntries(e.data,"bills-unpaid-in-")}))}},getKeyedEntries(e,t){let r=[];for(const n in e)e.hasOwnProperty(n)&&t===n.substr(0,t.length)&&r.push(e[n]);return r},filterOnCurrency(e){let t=[];for(const r in e)e.hasOwnProperty(r)&&e[r].currency_id===this.getCurrencyId&&t.push(e[r]);return 0===t.length&&e.hasOwnProperty(0)&&t.push(e[0]),t},filterOnNotCurrency(e){let t=[];for(const r in e)e.hasOwnProperty(r)&&e[r].currency_id!==this.getCurrencyId&&t.push(e[r]);return t}}};var D=r(1639),P=r(4458),K=r(3190),x=r(9984),O=r.n(x);const R=(0,D.Z)(q,[["render",C]]),S=R;O()(q,"components",{QCard:P.Z,QCardSection:K.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/8218.966b669d.js b/public/v3/js/8218.966b669d.js new file mode 100644 index 0000000000..917c6f99ef --- /dev/null +++ b/public/v3/js/8218.966b669d.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[8218],{8218:(e,t,l)=>{l.r(t),l.d(t,{default:()=>p});var n=l(9835);const s={class:"fullscreen bg-blue text-white text-center q-pa-md flex flex-center"},i=(0,n._)("div",{style:{"font-size":"30vh"}}," 404 ",-1),o=(0,n._)("div",{class:"text-h2",style:{opacity:".4"}}," Oops. Nothing here... ",-1);function c(e,t,l,c,r,a){const u=(0,n.up)("q-btn");return(0,n.wg)(),(0,n.iD)("div",s,[(0,n._)("div",null,[i,o,(0,n.Wm)(u,{class:"q-mt-xl",color:"white","text-color":"blue",unelevated:"",to:"/",label:"Go Home","no-caps":""})])])}const r=(0,n.aZ)({name:"Error404"});var a=l(1639),u=l(8879),f=l(9984),d=l.n(f);const h=(0,a.Z)(r,[["render",c]]),p=h;d()(r,"components",{QBtn:u.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/8344.119567b0.js b/public/v3/js/8344.119567b0.js new file mode 100644 index 0000000000..b38357b81b --- /dev/null +++ b/public/v3/js/8344.119567b0.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[8344],{8344:(e,s,t)=>{t.r(s),t.d(s,{default:()=>M});var r=t(9835),i=t(6970);const l={class:"row q-mx-md"},o={class:"col-12"},a={class:"row q-mx-md q-mt-md"},u={class:"col-12"},n=(0,r._)("div",{class:"text-h6"},"Edit rule group",-1),d={class:"row"},c={class:"col-12 q-mb-xs"},h={class:"row q-mx-md"},m={class:"col-12"},p={class:"row"},b={class:"col-12 text-right"},f={class:"row"},g={class:"col-12 text-right"};function w(e,s,t,w,_,v){const q=(0,r.up)("q-btn"),E=(0,r.up)("q-banner"),R=(0,r.up)("q-card-section"),x=(0,r.up)("q-input"),k=(0,r.up)("q-card"),C=(0,r.up)("q-checkbox"),G=(0,r.up)("q-page");return(0,r.wg)(),(0,r.j4)(G,null,{default:(0,r.w5)((()=>[(0,r._)("div",l,[(0,r._)("div",o,[""!==_.errorMessage?((0,r.wg)(),(0,r.j4)(E,{key:0,"inline-actions":"",rounded:"",class:"bg-orange text-white"},{action:(0,r.w5)((()=>[(0,r.Wm)(q,{flat:"",onClick:v.dismissBanner,label:"Dismiss"},null,8,["onClick"])])),default:(0,r.w5)((()=>[(0,r.Uk)((0,i.zw)(_.errorMessage)+" ",1)])),_:1})):(0,r.kq)("",!0)])]),(0,r._)("div",a,[(0,r._)("div",u,[(0,r.Wm)(k,{bordered:""},{default:(0,r.w5)((()=>[(0,r.Wm)(R,null,{default:(0,r.w5)((()=>[n])),_:1}),(0,r.Wm)(R,null,{default:(0,r.w5)((()=>[(0,r._)("div",d,[(0,r._)("div",c,[(0,r.Wm)(x,{"error-message":_.submissionErrors.title,error:_.hasSubmissionErrors.title,"bottom-slots":"",disable:v.disabledInput,type:"text",clearable:"",modelValue:_.title,"onUpdate:modelValue":s[0]||(s[0]=e=>_.title=e),label:e.$t("form.title"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])])])),_:1})])),_:1})])]),(0,r._)("div",h,[(0,r._)("div",m,[(0,r.Wm)(k,{class:"q-mt-xs"},{default:(0,r.w5)((()=>[(0,r.Wm)(R,null,{default:(0,r.w5)((()=>[(0,r._)("div",p,[(0,r._)("div",b,[(0,r.Wm)(q,{disable:v.disabledInput,color:"primary",label:"Update",onClick:v.submitRuleGroup},null,8,["disable","onClick"])])]),(0,r._)("div",f,[(0,r._)("div",g,[(0,r.Wm)(C,{disable:v.disabledInput,modelValue:_.doReturnHere,"onUpdate:modelValue":s[1]||(s[1]=e=>_.doReturnHere=e),"left-label":"",label:"Return here"},null,8,["disable","modelValue"])])])])),_:1})])),_:1})])])])),_:1})}var _=t(6739),v=t(1569);class q{post(e,s){let t="/api/v1/rule_groups/"+e;return v.api.put(t,s)}}const E={name:"Edit",data(){return{submissionErrors:{},hasSubmissionErrors:{},submitting:!1,doReturnHere:!1,doResetForm:!1,errorMessage:"",id:0,title:""}},computed:{disabledInput:function(){return this.submitting}},created(){this.id=parseInt(this.$route.params.id),this.collectRuleGroup()},methods:{collectRuleGroup:function(){let e=new _.Z;e.get(this.id).then((e=>this.parseRuleGroup(e)))},parseRuleGroup:function(e){this.title=e.data.data.attributes.title},resetErrors:function(){this.submissionErrors={title:""},this.hasSubmissionErrors={title:!1}},submitRuleGroup:function(){this.submitting=!0,this.errorMessage="",this.resetErrors();const e=this.buildRuleGroup();(new q).post(this.id,e).catch(this.processErrors).then(this.processSuccess)},buildRuleGroup:function(){return{title:this.title}},dismissBanner:function(){this.errorMessage=""},processSuccess:function(e){if(this.$store.dispatch("fireflyiii/refreshCacheKey"),!e)return;this.submitting=!1;let s={level:"success",text:"Rule group is is updated",show:!0,action:{show:!0,text:"Go to rule group",link:{name:"rule.index"}}};this.$q.localStorage.set("flash",s),this.doReturnHere&&window.dispatchEvent(new CustomEvent("flash",{detail:{flash:this.$q.localStorage.getItem("flash")}})),this.doReturnHere||this.$router.go(-1)},processErrors:function(e){if(e.response){let s=e.response.data;this.errorMessage=s.message,console.log(s);for(let e in s.errors)s.errors.hasOwnProperty(e)&&(this.submissionErrors[e]=s.errors[e][0],this.hasSubmissionErrors[e]=!0)}this.submitting=!1}}};var R=t(1639),x=t(9885),k=t(7128),C=t(8879),G=t(4458),S=t(3190),W=t(6611),Z=t(1221),y=t(9984),I=t.n(y);const Q=(0,R.Z)(E,[["render",w]]),M=Q;I()(E,"components",{QPage:x.Z,QBanner:k.Z,QBtn:C.Z,QCard:G.Z,QCardSection:S.Z,QInput:W.Z,QCheckbox:Z.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/8376.477a5508.js b/public/v3/js/8376.477a5508.js new file mode 100644 index 0000000000..e6491c3be9 --- /dev/null +++ b/public/v3/js/8376.477a5508.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[8376],{3543:(e,t,s)=>{s.r(t),s.d(t,{default:()=>N});var a=s(9835),r=s(6970);const o={class:"row q-mx-md"},i={class:"col-12"},n={class:"text-h6"},u={class:"row"},d={class:"col-12 q-mb-xs"},g=(0,a._)("br",null,null,-1),l={class:"row q-mt-sm"},h={class:"col-12"};function w(e,t,s,w,c,p){const m=(0,a.up)("q-card-section"),b=(0,a.up)("q-card"),f=(0,a.up)("LargeTable"),_=(0,a.up)("q-page");return(0,a.wg)(),(0,a.j4)(_,null,{default:(0,a.w5)((()=>[(0,a._)("div",o,[(0,a._)("div",i,[(0,a.Wm)(b,{bordered:""},{default:(0,a.w5)((()=>[(0,a.Wm)(m,null,{default:(0,a.w5)((()=>[(0,a._)("div",n,(0,r.zw)(c.budget.name),1)])),_:1}),(0,a.Wm)(m,null,{default:(0,a.w5)((()=>[(0,a._)("div",u,[(0,a._)("div",d,[(0,a.Uk)(" Name: "+(0,r.zw)(c.budget.name),1),g])])])),_:1})])),_:1})])]),(0,a._)("div",l,[(0,a._)("div",h,[(0,a.Wm)(f,{ref:"table",title:"Transactions",rows:c.rows,loading:e.loading,onOnRequest:p.onRequest,"rows-number":c.rowsNumber,"rows-per-page":c.rowsPerPage,page:c.page},null,8,["rows","loading","onOnRequest","rows-number","rows-per-page","page"])])])])),_:1})}var c=s(8925),p=s(7912),m=s(3247);const b={name:"Show",data(){return{budget:{},rows:[],rowsNumber:1,rowsPerPage:10,page:1}},created(){"no-budget"===this.$route.params.id&&(this.id=0,this.getWithoutBudget()),"no-budget"!==this.$route.params.id&&(this.id=parseInt(this.$route.params.id),this.getBudget())},components:{LargeTable:c.Z},methods:{onRequest:function(e){this.page=e.page,this.getBudget()},getWithoutBudget:function(){this.budget={name:"(without budget)"},this.loading=!0;const e=new m.Z;this.rows=[];let t=new p.Z;t.transactionsWithoutBudget(this.page,this.getCacheKey).then((t=>{let s=e.parseResponse(t);this.rowsPerPage=s.rowsPerPage,this.rowsNumber=s.rowsNumber,this.rows=s.rows,this.loading=!1}))},getBudget:function(){let e=new p.Z;e.get(this.id).then((e=>this.parseBudget(e))),this.loading=!0;const t=new m.Z;this.rows=[],e.transactions(this.id,this.page,this.getCacheKey).then((e=>{let s=t.parseResponse(e);this.rowsPerPage=s.rowsPerPage,this.rowsNumber=s.rowsNumber,this.rows=s.rows,this.loading=!1}))},parseBudget:function(e){this.budget={name:e.data.data.attributes.name}}}};var f=s(1639),_=s(9885),P=s(4458),q=s(3190),v=s(9984),Z=s.n(v);const B=(0,f.Z)(b,[["render",w]]),N=B;Z()(b,"components",{QPage:_.Z,QCard:P.Z,QCardSection:q.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/8387.a4c1d7d6.js b/public/v3/js/8387.a4c1d7d6.js new file mode 100644 index 0000000000..ec8cda50f5 --- /dev/null +++ b/public/v3/js/8387.a4c1d7d6.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[8387],{8387:(e,s,t)=>{t.r(s),t.d(s,{default:()=>V});var r=t(9835),i=t(6970);const l={class:"row q-mx-md"},o={class:"col-12"},a={class:"row q-mx-md q-mt-md"},n={class:"col-12"},u=(0,r._)("div",{class:"text-h6"},"Edit rule",-1),d={class:"row"},c={class:"col-12 q-mb-xs"},h={class:"row q-mx-md"},m={class:"col-12"},b={class:"row"},p={class:"col-12 text-right"},f={class:"row"},w={class:"col-12 text-right"};function g(e,s,t,g,_,v){const q=(0,r.up)("q-btn"),E=(0,r.up)("q-banner"),R=(0,r.up)("q-card-section"),k=(0,r.up)("q-input"),x=(0,r.up)("q-card"),C=(0,r.up)("q-checkbox"),S=(0,r.up)("q-page");return(0,r.wg)(),(0,r.j4)(S,null,{default:(0,r.w5)((()=>[(0,r._)("div",l,[(0,r._)("div",o,[""!==_.errorMessage?((0,r.wg)(),(0,r.j4)(E,{key:0,"inline-actions":"",rounded:"",class:"bg-orange text-white"},{action:(0,r.w5)((()=>[(0,r.Wm)(q,{flat:"",onClick:v.dismissBanner,label:"Dismiss"},null,8,["onClick"])])),default:(0,r.w5)((()=>[(0,r.Uk)((0,i.zw)(_.errorMessage)+" ",1)])),_:1})):(0,r.kq)("",!0)])]),(0,r._)("div",a,[(0,r._)("div",n,[(0,r.Wm)(x,{bordered:""},{default:(0,r.w5)((()=>[(0,r.Wm)(R,null,{default:(0,r.w5)((()=>[u])),_:1}),(0,r.Wm)(R,null,{default:(0,r.w5)((()=>[(0,r._)("div",d,[(0,r._)("div",c,[(0,r.Wm)(k,{"error-message":_.submissionErrors.title,error:_.hasSubmissionErrors.title,"bottom-slots":"",disable:v.disabledInput,type:"text",clearable:"",modelValue:_.title,"onUpdate:modelValue":s[0]||(s[0]=e=>_.title=e),label:e.$t("form.title"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])])])),_:1})])),_:1})])]),(0,r._)("div",h,[(0,r._)("div",m,[(0,r.Wm)(x,{class:"q-mt-xs"},{default:(0,r.w5)((()=>[(0,r.Wm)(R,null,{default:(0,r.w5)((()=>[(0,r._)("div",b,[(0,r._)("div",p,[(0,r.Wm)(q,{disable:v.disabledInput,color:"primary",label:"Update",onClick:v.submitRule},null,8,["disable","onClick"])])]),(0,r._)("div",f,[(0,r._)("div",w,[(0,r.Wm)(C,{disable:v.disabledInput,modelValue:_.doReturnHere,"onUpdate:modelValue":s[1]||(s[1]=e=>_.doReturnHere=e),"left-label":"",label:"Return here"},null,8,["disable","modelValue"])])])])),_:1})])),_:1})])])])),_:1})}var _=t(9543),v=t(1569);class q{post(e,s){let t="/api/v1/rules/"+e;return v.api.put(t,s)}}const E={name:"Edit",data(){return{submissionErrors:{},hasSubmissionErrors:{},submitting:!1,doReturnHere:!1,doResetForm:!1,errorMessage:"",id:0,title:""}},computed:{disabledInput:function(){return this.submitting}},created(){this.id=parseInt(this.$route.params.id),this.collectRule()},methods:{collectRule:function(){let e=new _.Z;e.get(this.id).then((e=>this.parseRule(e)))},parseRule:function(e){this.title=e.data.data.attributes.title},resetErrors:function(){this.submissionErrors={title:""},this.hasSubmissionErrors={title:!1}},submitRule:function(){this.submitting=!0,this.errorMessage="",this.resetErrors();const e=this.buildRule();(new q).post(this.id,e).catch(this.processErrors).then(this.processSuccess)},buildRule:function(){return{title:this.title}},dismissBanner:function(){this.errorMessage=""},processSuccess:function(e){if(this.$store.dispatch("fireflyiii/refreshCacheKey"),!e)return;this.submitting=!1;let s={level:"success",text:"Rule is updated",show:!0,action:{show:!0,text:"Go to rule",link:{name:"rules.show",params:{id:parseInt(e.data.data.id)}}}};this.$q.localStorage.set("flash",s),this.doReturnHere&&window.dispatchEvent(new CustomEvent("flash",{detail:{flash:this.$q.localStorage.getItem("flash")}})),this.doReturnHere||this.$router.go(-1)},processErrors:function(e){if(e.response){let s=e.response.data;this.errorMessage=s.message,console.log(s);for(let e in s.errors)s.errors.hasOwnProperty(e)&&(this.submissionErrors[e]=s.errors[e][0],this.hasSubmissionErrors[e]=!0)}this.submitting=!1}}};var R=t(1639),k=t(9885),x=t(7128),C=t(8879),S=t(4458),W=t(3190),Z=t(6611),y=t(1221),I=t(9984),Q=t.n(I);const M=(0,R.Z)(E,[["render",g]]),V=M;Q()(E,"components",{QPage:k.Z,QBanner:x.Z,QBtn:C.Z,QCard:S.Z,QCardSection:W.Z,QInput:Z.Z,QCheckbox:y.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/8405.62235b41.js b/public/v3/js/8405.62235b41.js new file mode 100644 index 0000000000..40e3ba52fd --- /dev/null +++ b/public/v3/js/8405.62235b41.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[8405],{8405:(e,t,a)=>{a.r(t),a.d(t,{default:()=>C});var i=a(9835),l=a(6970);const n=(0,i.Uk)(" A "),o=(0,i.Uk)(" B "),s=(0,i.Uk)(" C ");function r(e,t,a,r,u,p){const d=(0,i.up)("q-th"),c=(0,i.up)("q-tr"),m=(0,i.up)("router-link"),g=(0,i.up)("q-input"),f=(0,i.up)("q-popup-edit"),w=(0,i.up)("q-td"),h=(0,i.up)("q-item-label"),y=(0,i.up)("q-item-section"),b=(0,i.up)("q-item"),_=(0,i.up)("q-list"),k=(0,i.up)("q-btn-dropdown"),U=(0,i.up)("q-table"),W=(0,i.up)("q-fab-action"),q=(0,i.up)("q-fab"),$=(0,i.up)("q-page-sticky"),Z=(0,i.up)("q-page"),v=(0,i.Q2)("close-popup");return(0,i.wg)(),(0,i.j4)(Z,null,{default:(0,i.w5)((()=>[(0,i.Wm)(U,{title:e.$t("firefly."+this.type+"_accounts"),rows:u.rows,columns:u.columns,"row-key":"id",dense:e.$q.screen.lt.md,pagination:u.pagination,"onUpdate:pagination":t[0]||(t[0]=e=>u.pagination=e),loading:u.loading,class:"q-ma-md"},{header:(0,i.w5)((e=>[(0,i.Wm)(c,{props:e},{default:(0,i.w5)((()=>[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.cols,(t=>((0,i.wg)(),(0,i.j4)(d,{key:t.name,props:e},{default:(0,i.w5)((()=>[(0,i.Uk)((0,l.zw)(t.label),1)])),_:2},1032,["props"])))),128))])),_:2},1032,["props"])])),body:(0,i.w5)((t=>[(0,i.Wm)(c,{props:t},{default:(0,i.w5)((()=>[(0,i.Wm)(w,{key:"name",props:t},{default:(0,i.w5)((()=>[(0,i.Wm)(m,{to:{name:"accounts.show",params:{id:t.row.id}},class:"text-primary"},{default:(0,i.w5)((()=>[(0,i.Uk)((0,l.zw)(t.row.name),1)])),_:2},1032,["to"]),(0,i.Wm)(f,{modelValue:t.row.name,"onUpdate:modelValue":e=>t.row.name=e},{default:(0,i.w5)((e=>[(0,i.Wm)(g,{modelValue:e.value,"onUpdate:modelValue":t=>e.value=t,dense:"",autofocus:"",counter:""},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1032,["modelValue","onUpdate:modelValue"])])),_:2},1032,["props"]),(0,i.Wm)(w,{key:"iban",props:t},{default:(0,i.w5)((()=>[(0,i.Uk)((0,l.zw)(p.formatIban(t.row.iban))+" ",1),(0,i.Wm)(f,{modelValue:t.row.iban,"onUpdate:modelValue":e=>t.row.iban=e},{default:(0,i.w5)((e=>[(0,i.Wm)(g,{modelValue:e.value,"onUpdate:modelValue":t=>e.value=t,dense:"",autofocus:"",counter:""},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1032,["modelValue","onUpdate:modelValue"])])),_:2},1032,["props"]),(0,i.Wm)(w,{key:"current_balance",props:t},{default:(0,i.w5)((()=>[n])),_:2},1032,["props"]),(0,i.Wm)(w,{key:"active",props:t},{default:(0,i.w5)((()=>[o])),_:2},1032,["props"]),(0,i.Wm)(w,{key:"last_activity",props:t},{default:(0,i.w5)((()=>[s])),_:2},1032,["props"]),(0,i.Wm)(w,{key:"menu",props:t},{default:(0,i.w5)((()=>[(0,i.Wm)(k,{color:"primary",label:e.$t("firefly.actions"),size:"sm"},{default:(0,i.w5)((()=>[(0,i.Wm)(_,null,{default:(0,i.w5)((()=>[(0,i.wy)(((0,i.wg)(),(0,i.j4)(b,{clickable:"",to:{name:"accounts.edit",params:{id:t.row.id}}},{default:(0,i.w5)((()=>[(0,i.Wm)(y,null,{default:(0,i.w5)((()=>[(0,i.Wm)(h,null,{default:(0,i.w5)((()=>[(0,i.Uk)((0,l.zw)(e.$t("firefly.edit")),1)])),_:1})])),_:1})])),_:2},1032,["to"])),[[v]]),"asset"===t.row.type?(0,i.wy)(((0,i.wg)(),(0,i.j4)(b,{key:0,clickable:"",to:{name:"accounts.reconcile",params:{id:t.row.id}}},{default:(0,i.w5)((()=>[(0,i.Wm)(y,null,{default:(0,i.w5)((()=>[(0,i.Wm)(h,null,{default:(0,i.w5)((()=>[(0,i.Uk)((0,l.zw)(e.$t("firefly.reconcile")),1)])),_:1})])),_:1})])),_:2},1032,["to"])),[[v]]):(0,i.kq)("",!0),(0,i.wy)(((0,i.wg)(),(0,i.j4)(b,{clickable:"",onClick:e=>p.deleteAccount(t.row.id,t.row.name)},{default:(0,i.w5)((()=>[(0,i.Wm)(y,null,{default:(0,i.w5)((()=>[(0,i.Wm)(h,null,{default:(0,i.w5)((()=>[(0,i.Uk)((0,l.zw)(e.$t("firefly.delete")),1)])),_:1})])),_:1})])),_:2},1032,["onClick"])),[[v]])])),_:2},1024)])),_:2},1032,["label"])])),_:2},1032,["props"])])),_:2},1032,["props"])])),_:1},8,["title","rows","columns","dense","pagination","loading"]),(0,i.Wm)($,{position:"bottom-right",offset:[18,18]},{default:(0,i.w5)((()=>[(0,i.Wm)(q,{label:e.$t("firefly.actions"),square:"","vertical-actions-align":"right","label-position":"left",color:"green",icon:"fas fa-chevron-up",direction:"up"},{default:(0,i.w5)((()=>[(0,i.Wm)(W,{color:"primary",square:"",to:{name:"accounts.create",params:{type:"asset"}},icon:"fas fa-exchange-alt",label:e.$t("firefly.create_new_asset")},null,8,["to","label"])])),_:1},8,["label"])])),_:1})])),_:1})}a(8964);var u=a(1049),p=a(3836),d=a(7913);const c={name:"Index",watch:{$route(e){"accounts.index"===e.name&&(this.type=e.params.type,this.page=1,this.updateBreadcrumbs(),this.triggerUpdate())}},data(){return{rows:[],type:"asset",pagination:{sortBy:"desc",descending:!1,page:1,rowsPerPage:5,rowsNumber:100},loading:!1,columns:[{name:"name",label:this.$t("list.name"),field:"name",align:"left"},{name:"iban",label:this.$t("list.account_number"),field:"iban",align:"left"},{name:"current_balance",label:this.$t("list.currentBalance"),field:"current_balance",align:"left"},{name:"active",label:this.$t("list.active"),field:"active",align:"left"},{name:"last_activity",label:this.$t("list.lastActivity"),field:"last_activity",align:"left"},{name:"menu",label:" ",field:"menu",align:"right"}]}},computed:{...(0,u.Se)("fireflyiii",["getRange","getCacheKey","getListPageSize"])},created(){this.pagination.rowsPerPage=this.getListPageSize},mounted(){if(this.type=this.$route.params.type,null===this.getRange.start||null===this.getRange.end){const e=(0,u.oR)();e.subscribe(((e,t)=>{"fireflyiii/setRange"===e.type&&(this.range={start:e.payload.start,end:e.payload.end},this.triggerUpdate())}))}null!==this.getRange.start&&null!==this.getRange.end&&(this.range={start:this.getRange.start,end:this.getRange.end},this.triggerUpdate())},methods:{deleteAccount:function(e,t){this.$q.dialog({title:this.$t("firefly.confirm_action"),message:'Do you want to delete account "'+t+'"? Any and all transactions linked to this account will ALSO be deleted.',cancel:!0,persistent:!0}).onOk((()=>{this.destroyAccount(e)}))},destroyAccount:function(e){new d.Z("accounts").destroy(e).then((()=>{this.rows=[],this.$store.dispatch("fireflyiii/refreshCacheKey").then((()=>{this.triggerUpdate()}))}))},updateBreadcrumbs:function(){this.$route.meta.pageTitle="firefly."+this.type+"_accounts",this.$route.meta.breadcrumbs=[{title:this.type+"_accounts"}]},onRequest:function(e){this.page=e.pagination.page,this.triggerUpdate()},formatIban:function(e){if(null===e)return"";let t=/[^a-zA-Z0-9]/g,a=/(.{4})(?!$)/g;return e.replace(t,"").toUpperCase().replace(a,"$1 ")},triggerUpdate:function(){if(this.rows=[],!0===this.loading)return;if(null===this.range.start||null===this.range.end)return;this.loading=!0;const e=new p.Z;this.rows=[],e.list(this.type,this.page,this.getCacheKey).then((e=>{this.pagination.rowsPerPage=e.data.meta.pagination.per_page,this.pagination.rowsNumber=e.data.meta.pagination.total,this.pagination.page=this.page;for(let t in e.data.data)if(e.data.data.hasOwnProperty(t)){let a=e.data.data[t],i={id:a.id,name:a.attributes.name,iban:a.attributes.iban,type:a.attributes.type};this.rows.push(i)}this.loading=!1})).catch((e=>{console.error("Error loading list"),console.error(e)}))}}};var m=a(1639),g=a(9885),f=a(1746),w=a(9546),h=a(1682),y=a(7220),b=a(5863),_=a(6611),k=a(2045),U=a(3246),W=a(490),q=a(1233),$=a(3115),Z=a(3388),v=a(9361),Q=a(935),V=a(2146),P=a(9984),z=a.n(P);const A=(0,m.Z)(c,[["render",r]]),C=A;z()(c,"components",{QPage:g.Z,QTable:f.Z,QTr:w.Z,QTh:h.Z,QTd:y.Z,QPopupEdit:b.Z,QInput:_.Z,QBtnDropdown:k.Z,QList:U.Z,QItem:W.Z,QItemSection:q.Z,QItemLabel:$.Z,QPageSticky:Z.Z,QFab:v.Z,QFabAction:Q.Z}),z()(c,"directives",{ClosePopup:V.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/8493.48ada210.js b/public/v3/js/8493.48ada210.js new file mode 100644 index 0000000000..59b37222af --- /dev/null +++ b/public/v3/js/8493.48ada210.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[8493],{8493:(t,e,a)=>{a.r(e),a.d(e,{default:()=>C});var n=a(9835);const s={class:"row q-mx-md"},o={class:"col-12"},l=(0,n._)("div",{class:"text-h6"},"Export page",-1),r=(0,n._)("p",null," Just to see if this works. Button defaults to this year. ",-1),c=(0,n.Uk)("Download transactions");function d(t,e,a,d,i,u){const p=(0,n.up)("q-card-section"),f=(0,n.up)("q-btn"),w=(0,n.up)("q-card"),m=(0,n.up)("q-page");return(0,n.wg)(),(0,n.j4)(m,null,{default:(0,n.w5)((()=>[(0,n._)("div",s,[(0,n._)("div",o,[(0,n.Wm)(w,{bordered:""},{default:(0,n.w5)((()=>[(0,n.Wm)(p,null,{default:(0,n.w5)((()=>[l])),_:1}),(0,n.Wm)(p,null,{default:(0,n.w5)((()=>[r])),_:1}),(0,n.Wm)(p,null,{default:(0,n.w5)((()=>[(0,n._)("p",null,[(0,n.Wm)(f,{onClick:u.downloadTransactions},{default:(0,n.w5)((()=>[c])),_:1},8,["onClick"])])])),_:1})])),_:1})])])])),_:1})}a(702),a(4641),a(3269);var i=a(1569);class u{transactions(t,e){let a="/api/v1/data/export/transactions";return i.api.get(a,{params:{start:t,end:e}})}}var p=a(444),f=a(9771),w=a(8898);const m={name:"Index",methods:{downloadTransactions:function(){let t=new u,e=(0,w.Z)((0,p.Z)(new Date),"yyyy-MM-dd"),a=(0,w.Z)((0,f.Z)(new Date),"yyyy-MM-dd");t.transactions(e,a).then((t=>{let e="export-transactions.csv";const a=new Blob([t.data],{type:"application/octet-stream"}),n=document.createElement("a");n.href=URL.createObjectURL(a),n.download=e,n.click(),URL.revokeObjectURL(n.href)}))}}};var _=a(1639),y=a(9885),h=a(4458),k=a(3190),v=a(8879),Z=a(9984),b=a.n(Z);const x=(0,_.Z)(m,[["render",d]]),C=x;b()(m,"components",{QPage:y.Z,QCard:h.Z,QCardSection:k.Z,QBtn:v.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/8611.3ab24e6d.js b/public/v3/js/8611.3ab24e6d.js new file mode 100644 index 0000000000..d0970f8315 --- /dev/null +++ b/public/v3/js/8611.3ab24e6d.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[8611],{8611:(s,e,t)=>{t.r(e),t.d(e,{default:()=>$});var r=t(9835),a=t(6970);const i={class:"row q-mx-md"},o={class:"col-12"},n={class:"row q-mx-md q-mt-md"},l={class:"col-12"},u=(0,r._)("div",{class:"text-h6"},"Edit account",-1),c={class:"row"},d={class:"col-12 q-mb-xs"},m={class:"row"},b={class:"col-12 q-mb-xs"},h={class:"row q-mx-md"},p={class:"col-12"},f={class:"row"},g={class:"col-12 text-right"},w={class:"row"},X={class:"col-12 text-right"};function _(s,e,t,_,v,E){const q=(0,r.up)("q-btn"),x=(0,r.up)("q-banner"),k=(0,r.up)("q-card-section"),C=(0,r.up)("q-input"),y=(0,r.up)("q-card"),A=(0,r.up)("q-checkbox"),I=(0,r.up)("q-page");return(0,r.wg)(),(0,r.j4)(I,null,{default:(0,r.w5)((()=>[(0,r._)("div",i,[(0,r._)("div",o,[""!==v.errorMessage?((0,r.wg)(),(0,r.j4)(x,{key:0,"inline-actions":"",rounded:"",class:"bg-orange text-white"},{action:(0,r.w5)((()=>[(0,r.Wm)(q,{flat:"",onClick:E.dismissBanner,label:"Dismiss"},null,8,["onClick"])])),default:(0,r.w5)((()=>[(0,r.Uk)((0,a.zw)(v.errorMessage)+" ",1)])),_:1})):(0,r.kq)("",!0)])]),(0,r._)("div",n,[(0,r._)("div",l,[(0,r.Wm)(y,{bordered:""},{default:(0,r.w5)((()=>[(0,r.Wm)(k,null,{default:(0,r.w5)((()=>[u])),_:1}),(0,r.Wm)(k,null,{default:(0,r.w5)((()=>[(0,r._)("div",c,[(0,r._)("div",d,[(0,r.Wm)(C,{"error-message":v.submissionErrors.name,error:v.hasSubmissionErrors.name,"bottom-slots":"",disable:E.disabledInput,type:"text",clearable:"",modelValue:v.name,"onUpdate:modelValue":e[0]||(e[0]=s=>v.name=s),label:s.$t("form.name"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])]),(0,r._)("div",m,[(0,r._)("div",b,[(0,r.Wm)(C,{"error-message":v.submissionErrors.iban,error:v.hasSubmissionErrors.iban,mask:"AA## XXXX XXXX XXXX XXXX XXXX XXXX XXXX XX","bottom-slots":"",disable:E.disabledInput,type:"text",clearable:"",modelValue:v.iban,"onUpdate:modelValue":e[1]||(e[1]=s=>v.iban=s),label:s.$t("form.iban"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])])])),_:1})])),_:1})])]),(0,r._)("div",h,[(0,r._)("div",p,[(0,r.Wm)(y,{class:"q-mt-xs"},{default:(0,r.w5)((()=>[(0,r.Wm)(k,null,{default:(0,r.w5)((()=>[(0,r._)("div",f,[(0,r._)("div",g,[(0,r.Wm)(q,{disable:E.disabledInput,color:"primary",label:"Update",onClick:E.submitAccount},null,8,["disable","onClick"])])]),(0,r._)("div",w,[(0,r._)("div",X,[(0,r.Wm)(A,{disable:E.disabledInput,modelValue:v.doReturnHere,"onUpdate:modelValue":e[2]||(e[2]=s=>v.doReturnHere=s),"left-label":"",label:"Return here"},null,8,["disable","modelValue"])])])])),_:1})])),_:1})])])])),_:1})}var v=t(160),E=t(1569);class q{post(s,e){let t="/api/v1/accounts/"+s;return E.api.put(t,e)}}const x={name:"Edit",data(){return{tab:"split-0",submissionErrors:{},hasSubmissionErrors:{},submitting:!1,doReturnHere:!1,doResetForm:!1,errorMessage:"",type:"",id:0,name:"",iban:""}},computed:{disabledInput:function(){return this.submitting}},created(){this.id=parseInt(this.$route.params.id),this.collectAccount()},methods:{collectAccount:function(){let s=new v.Z;s.get(this.id).then((s=>this.parseAccount(s)))},parseAccount:function(s){this.name=s.data.data.attributes.name,this.iban=s.data.data.attributes.iban},resetErrors:function(){this.submissionErrors={name:"",iban:""},this.hasSubmissionErrors={name:!1,iban:!1}},submitAccount:function(){this.submitting=!0,this.errorMessage="",this.resetErrors();const s=this.buildAccount();let e=new q;e.post(this.id,s).catch(this.processErrors).then(this.processSuccess)},buildAccount:function(){let s={name:this.name,iban:this.iban};return s},dismissBanner:function(){this.errorMessage=""},processSuccess:function(s){if(this.$store.dispatch("fireflyiii/refreshCacheKey"),!s)return;this.submitting=!1;let e={level:"success",text:"TODO I am updated lol",show:!0,action:{show:!0,text:"Go to account",link:{name:"accounts.show",params:{id:parseInt(s.data.data.id)}}}};this.$q.localStorage.set("flash",e),this.doReturnHere&&window.dispatchEvent(new CustomEvent("flash",{detail:{flash:this.$q.localStorage.getItem("flash")}})),this.doReturnHere||this.$router.go(-1)},processErrors:function(s){if(s.response){let e=s.response.data;this.errorMessage=e.message,console.log(e);for(let s in e.errors)e.errors.hasOwnProperty(s)&&(this.submissionErrors[s]=e.errors[s][0],this.hasSubmissionErrors[s]=!0)}this.submitting=!1}}};var k=t(1639),C=t(9885),y=t(7128),A=t(8879),I=t(4458),S=t(3190),W=t(6611),V=t(1221),Z=t(9984),Q=t.n(Z);const R=(0,k.Z)(x,[["render",_]]),$=R;Q()(x,"components",{QPage:C.Z,QBanner:y.Z,QBtn:A.Z,QCard:I.Z,QCardSection:S.Z,QInput:W.Z,QCheckbox:V.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/8907.233f4719.js b/public/v3/js/8907.233f4719.js new file mode 100644 index 0000000000..5285f56755 --- /dev/null +++ b/public/v3/js/8907.233f4719.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[8907],{8907:(e,s,t)=>{t.r(s),t.d(s,{default:()=>V});var r=t(9835),a=t(6970);const i={class:"row q-mx-md"},o={class:"col-12"},n={class:"row q-mx-md q-mt-md"},l={class:"col-12"},d=(0,r._)("div",{class:"text-h6"},"Edit category",-1),u={class:"row"},c={class:"col-12 q-mb-xs"},m={class:"row q-mx-md"},h={class:"col-12"},p={class:"row"},b={class:"col-12 text-right"},g={class:"row"},f={class:"col-12 text-right"};function w(e,s,t,w,_,v){const y=(0,r.up)("q-btn"),C=(0,r.up)("q-banner"),q=(0,r.up)("q-card-section"),E=(0,r.up)("q-input"),k=(0,r.up)("q-card"),x=(0,r.up)("q-checkbox"),S=(0,r.up)("q-page");return(0,r.wg)(),(0,r.j4)(S,null,{default:(0,r.w5)((()=>[(0,r._)("div",i,[(0,r._)("div",o,[""!==_.errorMessage?((0,r.wg)(),(0,r.j4)(C,{key:0,"inline-actions":"",rounded:"",class:"bg-orange text-white"},{action:(0,r.w5)((()=>[(0,r.Wm)(y,{flat:"",onClick:v.dismissBanner,label:"Dismiss"},null,8,["onClick"])])),default:(0,r.w5)((()=>[(0,r.Uk)((0,a.zw)(_.errorMessage)+" ",1)])),_:1})):(0,r.kq)("",!0)])]),(0,r._)("div",n,[(0,r._)("div",l,[(0,r.Wm)(k,{bordered:""},{default:(0,r.w5)((()=>[(0,r.Wm)(q,null,{default:(0,r.w5)((()=>[d])),_:1}),(0,r.Wm)(q,null,{default:(0,r.w5)((()=>[(0,r._)("div",u,[(0,r._)("div",c,[(0,r.Wm)(E,{"error-message":_.submissionErrors.name,error:_.hasSubmissionErrors.name,"bottom-slots":"",disable:v.disabledInput,type:"text",clearable:"",modelValue:_.name,"onUpdate:modelValue":s[0]||(s[0]=e=>_.name=e),label:e.$t("form.name"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])])])),_:1})])),_:1})])]),(0,r._)("div",m,[(0,r._)("div",h,[(0,r.Wm)(k,{class:"q-mt-xs"},{default:(0,r.w5)((()=>[(0,r.Wm)(q,null,{default:(0,r.w5)((()=>[(0,r._)("div",p,[(0,r._)("div",b,[(0,r.Wm)(y,{disable:v.disabledInput,color:"primary",label:"Update",onClick:v.submitCategory},null,8,["disable","onClick"])])]),(0,r._)("div",g,[(0,r._)("div",f,[(0,r.Wm)(x,{disable:v.disabledInput,modelValue:_.doReturnHere,"onUpdate:modelValue":s[1]||(s[1]=e=>_.doReturnHere=e),"left-label":"",label:"Return here"},null,8,["disable","modelValue"])])])])),_:1})])),_:1})])])])),_:1})}var _=t(4255),v=t(1569);class y{post(e,s){let t="/api/v1/categories/"+e;return v.api.put(t,s)}}const C={name:"Edit",data(){return{submissionErrors:{},hasSubmissionErrors:{},submitting:!1,doReturnHere:!1,doResetForm:!1,errorMessage:"",type:"",id:0,name:""}},computed:{disabledInput:function(){return this.submitting}},created(){this.id=parseInt(this.$route.params.id),this.collectCategory()},methods:{collectCategory:function(){let e=new _.Z;e.get(this.id).then((e=>this.parseCategory(e)))},parseCategory:function(e){this.name=e.data.data.attributes.name},resetErrors:function(){this.submissionErrors={name:""},this.hasSubmissionErrors={name:!1}},submitCategory:function(){this.submitting=!0,this.errorMessage="",this.resetErrors();const e=this.buildCategory();let s=new y;s.post(this.id,e).catch(this.processErrors).then(this.processSuccess)},buildCategory:function(){return{name:this.name}},dismissBanner:function(){this.errorMessage=""},processSuccess:function(e){if(this.$store.dispatch("fireflyiii/refreshCacheKey"),!e)return;this.submitting=!1;let s={level:"success",text:"Category is updated",show:!0,action:{show:!0,text:"Go to category",link:{name:"categories.show",params:{id:parseInt(e.data.data.id)}}}};this.$q.localStorage.set("flash",s),this.doReturnHere&&window.dispatchEvent(new CustomEvent("flash",{detail:{flash:this.$q.localStorage.getItem("flash")}})),this.doReturnHere||this.$router.go(-1)},processErrors:function(e){if(e.response){let s=e.response.data;this.errorMessage=s.message,console.log(s);for(let e in s.errors)s.errors.hasOwnProperty(e)&&(this.submissionErrors[e]=s.errors[e][0],this.hasSubmissionErrors[e]=!0)}this.submitting=!1}}};var q=t(1639),E=t(9885),k=t(7128),x=t(8879),S=t(4458),W=t(3190),Z=t(6611),I=t(1221),Q=t(9984),R=t.n(Q);const M=(0,q.Z)(C,[["render",w]]),V=M;R()(C,"components",{QPage:E.Z,QBanner:k.Z,QBtn:x.Z,QCard:S.Z,QCardSection:W.Z,QInput:Z.Z,QCheckbox:I.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/8928.8127fcdf.js b/public/v3/js/8928.8127fcdf.js new file mode 100644 index 0000000000..df415dddc0 --- /dev/null +++ b/public/v3/js/8928.8127fcdf.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[8928],{8928:(e,s,t)=>{t.r(s),t.d(s,{default:()=>$});var a=t(9835),r=t(6970);const o={class:"row q-mx-md"},i={class:"col-12"},n={class:"row q-mx-md q-mt-md"},l={class:"col-12"},u=(0,a._)("div",{class:"text-h6"},"Info for new piggy bank",-1),c={class:"row"},d={class:"col-12 q-mb-xs"},m={class:"row"},b={class:"col-12 q-mb-xs"},h={class:"row"},g={class:"col-12 q-mb-xs"},p={class:"row q-mx-md"},_={class:"col-12"},f={class:"row"},w={class:"col-12 text-right"},v={class:"row"},k={class:"col-12 text-right"},y=(0,a._)("br",null,null,-1);function q(e,s,t,q,E,x){const I=(0,a.up)("q-btn"),V=(0,a.up)("q-banner"),S=(0,a.up)("q-card-section"),C=(0,a.up)("q-input"),W=(0,a.up)("q-select"),P=(0,a.up)("q-card"),R=(0,a.up)("q-checkbox"),Z=(0,a.up)("q-page");return(0,a.wg)(),(0,a.j4)(Z,null,{default:(0,a.w5)((()=>[(0,a._)("div",o,[(0,a._)("div",i,[""!==E.errorMessage?((0,a.wg)(),(0,a.j4)(V,{key:0,"inline-actions":"",rounded:"",class:"bg-orange text-white"},{action:(0,a.w5)((()=>[(0,a.Wm)(I,{flat:"",onClick:x.dismissBanner,label:"Dismiss"},null,8,["onClick"])])),default:(0,a.w5)((()=>[(0,a.Uk)((0,r.zw)(E.errorMessage)+" ",1)])),_:1})):(0,a.kq)("",!0)])]),(0,a._)("div",n,[(0,a._)("div",l,[(0,a.Wm)(P,{bordered:""},{default:(0,a.w5)((()=>[(0,a.Wm)(S,null,{default:(0,a.w5)((()=>[u])),_:1}),(0,a.Wm)(S,null,{default:(0,a.w5)((()=>[(0,a._)("div",c,[(0,a._)("div",d,[(0,a.Wm)(C,{"error-message":E.submissionErrors.name,error:E.hasSubmissionErrors.name,"bottom-slots":"",disable:x.disabledInput,type:"text",clearable:"",modelValue:E.name,"onUpdate:modelValue":s[0]||(s[0]=e=>E.name=e),label:e.$t("form.name"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])]),(0,a._)("div",m,[(0,a._)("div",b,[(0,a.Wm)(W,{"error-message":E.submissionErrors.account_id,error:E.hasSubmissionErrors.account_id,"bottom-slots":"",disable:x.disabledInput,outlined:"",modelValue:E.account_id,"onUpdate:modelValue":s[1]||(s[1]=e=>E.account_id=e),"emit-value":"",class:"q-pr-xs","map-options":"",options:E.accounts,label:"Asset account"},null,8,["error-message","error","disable","modelValue","options"])])]),(0,a._)("div",h,[(0,a._)("div",g,[(0,a.Wm)(C,{"error-message":E.submissionErrors.target_amount,error:E.hasSubmissionErrors.target_amount,"bottom-slots":"",disable:x.disabledInput,clearable:"",mask:E.balance_input_mask,"reverse-fill-mask":"",hint:"Expects #.##","fill-mask":"0",modelValue:E.target_amount,"onUpdate:modelValue":s[2]||(s[2]=e=>E.target_amount=e),label:e.$t("firefly.target_amount"),outlined:""},null,8,["error-message","error","disable","mask","modelValue","label"])])])])),_:1})])),_:1})])]),(0,a._)("div",p,[(0,a._)("div",_,[(0,a.Wm)(P,{class:"q-mt-xs"},{default:(0,a.w5)((()=>[(0,a.Wm)(S,null,{default:(0,a.w5)((()=>[(0,a._)("div",f,[(0,a._)("div",w,[(0,a.Wm)(I,{disable:x.disabledInput,color:"primary",label:"Submit",onClick:x.submitPiggyBank},null,8,["disable","onClick"])])]),(0,a._)("div",v,[(0,a._)("div",k,[(0,a.Wm)(R,{disable:x.disabledInput,modelValue:E.doReturnHere,"onUpdate:modelValue":s[3]||(s[3]=e=>E.doReturnHere=e),"left-label":"",label:"Return here to create another one"},null,8,["disable","modelValue"]),y,(0,a.Wm)(R,{modelValue:E.doResetForm,"onUpdate:modelValue":s[4]||(s[4]=e=>E.doResetForm=e),"left-label":"",disable:!E.doReturnHere||x.disabledInput,label:"Reset form after submission"},null,8,["modelValue","disable"])])])])),_:1})])),_:1})])])])),_:1})}var E=t(1569);class x{post(e){let s="/api/v1/piggy_banks";return E.api.post(s,e)}}var I=t(3836),V=t(1049);const S={name:"Create",data(){return{submissionErrors:{},hasSubmissionErrors:{},submitting:!1,doReturnHere:!1,doResetForm:!1,errorMessage:"",balance_input_mask:"#.##",accounts:[],name:"",account_id:null,target_amount:""}},watch:{account_id:function(e){for(let s in this.accounts)if(this.accounts.hasOwnProperty(s)){let t=this.accounts[s];if(t.value===e){let e="#";this.balance_input_mask="#."+e.repeat(t.decimal_places)}}}},computed:{...(0,V.Se)("fireflyiii",["getCacheKey"]),disabledInput:function(){return this.submitting}},created(){this.resetForm(),this.getAccounts()},methods:{resetForm:function(){this.name="",this.account_id="",this.target_amount="",this.resetErrors()},getAccounts:function(){this.getAccountPage(1)},getAccountPage:function(e){(new I.Z).list("asset",e,this.getCacheKey).then((s=>{let t=parseInt(s.data.meta.pagination.total_pages);e{t.r(n),t.d(n,{default:()=>p});var r=t(9835);const u=(0,r.Uk)(" Here be default report. ");function a(e,n,t,a,f,i){const l=(0,r.up)("q-page");return(0,r.wg)(),(0,r.j4)(l,null,{default:(0,r.w5)((()=>[u])),_:1})}const f={name:"Default"};var i=t(1639),l=t(9885),s=t(9984),c=t.n(s);const o=(0,i.Z)(f,[["render",a]]),p=o;c()(f,"components",{QPage:l.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/9038.06ad98ab.js b/public/v3/js/9038.06ad98ab.js new file mode 100644 index 0000000000..a7d68f1d17 --- /dev/null +++ b/public/v3/js/9038.06ad98ab.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[9038],{9038:(e,t,s)=>{s.r(t),s.d(t,{default:()=>ee});var i=s(9835),r=s(6970);const o={class:"row q-mx-md"},n={class:"col-12"},a={class:"row q-mx-md q-mt-md"},l={class:"col-xl-4 col-lg-6 col-md-12 col-xs-12 q-px-xs"},d=(0,i._)("div",{class:"text-h6"},"Basic options for recurring transaction",-1),u={class:"row"},c={class:"col-12 q-mb-xs"},p={class:"row"},m={class:"col-12 q-mb-xs"},b={class:"col-xl-4 col-lg-6 col-md-12 col-xs-12 q-px-xs"},_=(0,i._)("div",{class:"text-h6"},"Repeat info",-1),h={class:"row"},g={class:"col-12 q-mb-xs"},f={class:"row"},y={class:"col-12 q-mb-xs"},x={class:"row"},w={class:"col-12 q-mb-xs"},v={class:"row q-mx-md q-mt-md"},E={class:"col-xl-4 col-lg-6 col-md-12 col-xs-12 q-px-xs"},k=(0,i._)("div",{class:"text-h6"},"Single transaction",-1),V={class:"col-xl-4 col-lg-6 col-md-12 col-xs-12 q-px-xs"},q=(0,i._)("div",{class:"text-h6"},"Single repetition",-1),W={class:"row q-mx-md"},I={class:"col-12 q-pa-xs"},S={class:"row"},R={class:"col-12 text-right"},Z={class:"row"},M={class:"col-12 text-right"},U=(0,i._)("br",null,null,-1);function T(e,t,s,T,D,C){const $=(0,i.up)("q-btn"),Q=(0,i.up)("q-banner"),P=(0,i.up)("q-card-section"),F=(0,i.up)("q-input"),H=(0,i.up)("q-select"),B=(0,i.up)("q-card"),j=(0,i.up)("q-checkbox"),O=(0,i.up)("q-page");return(0,i.wg)(),(0,i.j4)(O,null,{default:(0,i.w5)((()=>[(0,i._)("div",o,[(0,i._)("div",n,[""!==D.errorMessage?((0,i.wg)(),(0,i.j4)(Q,{key:0,"inline-actions":"",rounded:"",class:"bg-orange text-white"},{action:(0,i.w5)((()=>[(0,i.Wm)($,{flat:"",onClick:C.dismissBanner,label:"Dismiss"},null,8,["onClick"])])),default:(0,i.w5)((()=>[(0,i.Uk)((0,r.zw)(D.errorMessage)+" ",1)])),_:1})):(0,i.kq)("",!0)])]),(0,i._)("div",a,[(0,i._)("div",l,[(0,i.Wm)(B,{bordered:""},{default:(0,i.w5)((()=>[(0,i.Wm)(P,null,{default:(0,i.w5)((()=>[d])),_:1}),(0,i.Wm)(P,null,{default:(0,i.w5)((()=>[(0,i._)("div",u,[(0,i._)("div",c,[(0,i.Wm)(F,{"error-message":D.submissionErrors.title,error:D.hasSubmissionErrors.title,"bottom-slots":"",disable:C.disabledInput,type:"text",clearable:"",modelValue:D.title,"onUpdate:modelValue":t[0]||(t[0]=e=>D.title=e),label:e.$t("form.title"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])]),(0,i._)("div",p,[(0,i._)("div",m,[(0,i.Wm)(H,{"error-message":D.submissionErrors.type,error:D.hasSubmissionErrors.type,"bottom-slots":"",disable:C.disabledInput,outlined:"",modelValue:D.type,"onUpdate:modelValue":t[1]||(t[1]=e=>D.type=e),"emit-value":"",class:"q-pr-xs","map-options":"",options:D.types,label:"Transaction type"},null,8,["error-message","error","disable","modelValue","options"])])])])),_:1})])),_:1})]),(0,i._)("div",b,[(0,i.Wm)(B,{bordered:""},{default:(0,i.w5)((()=>[(0,i.Wm)(P,null,{default:(0,i.w5)((()=>[_])),_:1}),(0,i.Wm)(P,null,{default:(0,i.w5)((()=>[(0,i._)("div",h,[(0,i._)("div",g,[(0,i.Wm)(F,{"error-message":D.submissionErrors.first_date,error:D.hasSubmissionErrors.first_date,clearable:"","bottom-slots":"",disable:C.disabledInput,type:"date",modelValue:D.first_date,"onUpdate:modelValue":t[2]||(t[2]=e=>D.first_date=e),label:e.$t("form.first_date"),hint:"The first date you want the recurrence",outlined:""},null,8,["error-message","error","disable","modelValue","label"])])]),(0,i._)("div",f,[(0,i._)("div",y,[(0,i.Wm)(F,{"error-message":D.submissionErrors.nr_of_repetitions,error:D.hasSubmissionErrors.nr_of_repetitions,clearable:"","bottom-slots":"",disable:C.disabledInput,type:"number",step:"1",modelValue:D.nr_of_repetitions,"onUpdate:modelValue":t[3]||(t[3]=e=>D.nr_of_repetitions=e),label:e.$t("form.repetitions"),hint:"nr_of_repetitions",outlined:""},null,8,["error-message","error","disable","modelValue","label"])])]),(0,i._)("div",x,[(0,i._)("div",w,[(0,i.Wm)(F,{"error-message":D.submissionErrors.repeat_until,error:D.hasSubmissionErrors.repeat_until,"bottom-slots":"",disable:C.disabledInput,type:"date",modelValue:D.repeat_until,"onUpdate:modelValue":t[4]||(t[4]=e=>D.repeat_until=e),hint:"repeat_until",clearable:"",outlined:""},null,8,["error-message","error","disable","modelValue"])])])])),_:1})])),_:1})])]),(0,i._)("div",v,[(0,i._)("div",E,[(0,i.Wm)(B,{bordered:""},{default:(0,i.w5)((()=>[(0,i.Wm)(P,null,{default:(0,i.w5)((()=>[k])),_:1}),(0,i.Wm)(P,null,{default:(0,i.w5)((()=>[(0,i.Wm)(F,{"error-message":D.submissionErrors.transactions[D.index].description,error:D.hasSubmissionErrors.transactions[D.index].description,"bottom-slots":"",disable:C.disabledInput,type:"text",clearable:"",modelValue:D.transactions[D.index].description,"onUpdate:modelValue":t[5]||(t[5]=e=>D.transactions[D.index].description=e),label:e.$t("form.description"),outlined:""},null,8,["error-message","error","disable","modelValue","label"]),(0,i.Wm)(F,{"error-message":D.submissionErrors.transactions[D.index].amount,error:D.hasSubmissionErrors.transactions[D.index].amount,"bottom-slots":"",disable:C.disabledInput,clearable:"",mask:D.balance_input_mask,"reverse-fill-mask":"",hint:"Expects #.##","fill-mask":"0",modelValue:D.transactions[D.index].amount,"onUpdate:modelValue":t[6]||(t[6]=e=>D.transactions[D.index].amount=e),label:e.$t("firefly.amount"),outlined:""},null,8,["error-message","error","disable","mask","modelValue","label"]),(0,i.Wm)(H,{"error-message":D.submissionErrors.transactions[D.index].source_id,error:D.hasSubmissionErrors.transactions[D.index].source_id,modelValue:D.transactions[D.index].source_id,"onUpdate:modelValue":t[7]||(t[7]=e=>D.transactions[D.index].source_id=e),"bottom-slots":"",disable:C.disabledInput,outlined:"","emit-value":"",class:"q-pr-xs","map-options":"",options:D.accounts,label:"Source account"},null,8,["error-message","error","modelValue","disable","options"]),(0,i.Wm)(H,{"error-message":D.submissionErrors.transactions[D.index].destination_id,error:D.hasSubmissionErrors.transactions[D.index].destination_id,modelValue:D.transactions[D.index].destination_id,"onUpdate:modelValue":t[8]||(t[8]=e=>D.transactions[D.index].destination_id=e),"bottom-slots":"",disable:C.disabledInput,outlined:"","emit-value":"",class:"q-pr-xs","map-options":"",options:D.accounts,label:"Destination account"},null,8,["error-message","error","modelValue","disable","options"])])),_:1})])),_:1})]),(0,i._)("div",V,[(0,i.Wm)(B,{bordered:""},{default:(0,i.w5)((()=>[(0,i.Wm)(P,null,{default:(0,i.w5)((()=>[q])),_:1}),(0,i.Wm)(P,null,{default:(0,i.w5)((()=>[(0,i.Wm)(H,{"error-message":D.submissionErrors.repetitions[D.index].type,error:D.hasSubmissionErrors.repetitions[D.index].type,"bottom-slots":"","emit-value":"",disable:C.disabledInput,outlined:"",modelValue:D.repetitions[D.index].type,"onUpdate:modelValue":t[9]||(t[9]=e=>D.repetitions[D.index].type=e),"map-options":"",options:D.repetition_types,label:"Type of repetition"},null,8,["error-message","error","disable","modelValue","options"]),(0,i.Wm)(F,{"error-message":D.submissionErrors.repetitions[D.index].skip,error:D.hasSubmissionErrors.repetitions[D.index].skip,"bottom-slots":"",disable:C.disabledInput,clearable:"",modelValue:D.repetitions[D.index].skip,"onUpdate:modelValue":t[10]||(t[10]=e=>D.repetitions[D.index].skip=e),type:"number",min:"0",max:"31",label:e.$t("form.skip"),outlined:""},null,8,["error-message","error","disable","modelValue","label"]),(0,i.Wm)(H,{"error-message":D.submissionErrors.repetitions[D.index].weekend,error:D.hasSubmissionErrors.repetitions[D.index].weekend,modelValue:D.repetitions[D.index].weekend,"onUpdate:modelValue":t[11]||(t[11]=e=>D.repetitions[D.index].weekend=e),"bottom-slots":"",disable:C.disabledInput,outlined:"","emit-value":"",class:"q-pr-xs","map-options":"",options:D.weekends,label:"Weekend?"},null,8,["error-message","error","modelValue","disable","options"])])),_:1})])),_:1})])]),(0,i._)("div",W,[(0,i._)("div",I,[(0,i.Wm)(B,{class:"q-mt-xs"},{default:(0,i.w5)((()=>[(0,i.Wm)(P,null,{default:(0,i.w5)((()=>[(0,i._)("div",S,[(0,i._)("div",R,[(0,i.Wm)($,{disable:C.disabledInput,color:"primary",label:"Submit",onClick:C.submitRecurringTransaction},null,8,["disable","onClick"])])]),(0,i._)("div",Z,[(0,i._)("div",M,[(0,i.Wm)(j,{disable:C.disabledInput,modelValue:D.doReturnHere,"onUpdate:modelValue":t[12]||(t[12]=e=>D.doReturnHere=e),"left-label":"",label:"Return here to create another one"},null,8,["disable","modelValue"]),U,(0,i.Wm)(j,{modelValue:D.doResetForm,"onUpdate:modelValue":t[13]||(t[13]=e=>D.doResetForm=e),"left-label":"",disable:!D.doReturnHere||C.disabledInput,label:"Reset form after submission"},null,8,["modelValue","disable"])])])])),_:1})])),_:1})])])])),_:1})}var D=s(4352),C=s(1569);class ${post(e,t){let s="/api/v1/recurrences/"+e;return C.api.put(s,t)}}var Q=s(8480),P=s(8898),F=s(3836);const H={name:"Edit",data(){return{submissionErrors:{},hasSubmissionErrors:{},submitting:!1,loading:!1,doReturnHere:!1,doResetForm:!1,errorMessage:"",index:0,accounts:[],balance_input_mask:"#.##",types:[{value:"withdrawal",label:"Withdrawal"},{value:"deposit",label:"Deposit"},{value:"transfer",label:"Transfer"}],weekends:[{value:1,label:"dont care"},{value:2,label:"skip creation"},{value:3,label:"jump to previous friday"},{value:4,label:"jump to next monday"}],repetition_types:[],id:0,type:"",title:"",first_date:null,nr_of_repetitions:0,repeat_until:"",repetitions:{},transactions:{}}},watch:{first_date:function(){this.recalculateRepetitions()}},computed:{disabledInput:function(){return this.submitting||this.loading}},created(){this.loading=!0,this.resetErrors(),this.resetForm(),this.getAccounts().then((()=>{this.collectRecurringTransaction().then((()=>{this.loading=!1}))})),this.id=parseInt(this.$route.params.id)},methods:{resetForm:function(){this.transactions=[{description:null,amount:null,foreign_amount:null,currency_id:null,currency_code:null,foreign_currency_id:null,foreign_currency_code:null,budget_id:null,category_id:null,source_id:null,destination_id:null,tags:null,piggy_bank_id:null}],this.repetitions=[{type:"daily",moment:"",skip:null,weekend:1}]},recalculateRepetitions:function(){let e=(0,Q.Z)(this.first_date+"T00:00:00"),t=this.getXth(e);this.repetition_types=[{value:"daily",label:"Every day"},{value:"monthly",label:"Every month on the "+(0,P.Z)(e,"do")+" day"},{value:"ndom",label:"Every month on the "+t+"-th "+(0,P.Z)(e,"EEEE")},{value:"yearly",label:"Every year on "+(0,P.Z)(e,"d MMMM")}]},getXth:function(e){let t=(0,P.Z)(e,"EEEE"),s=new Date(e),i=0;s.setDate(1);const r=new Date(s.getFullYear(),s.getMonth()+1,0).getDate();let o=1;while(s.getDate()<=r&&e.getMonth()===s.getMonth()||o<=32){if(o++,t===(0,P.Z)(s,"EEEE")&&i++,s.getDate()===e.getDate())return i;s.setDate(s.getDate()+1)}return i},collectRecurringTransaction:function(){let e=new D.Z;return e.get(this.id).then((e=>this.parseRecurringTransaction(e)))},parseRecurringTransaction:function(e){let t=e.data.data,s=t.attributes;this.id=parseInt(t.id),this.title=s.title,this.type=s.type,this.first_date=s.first_date.substr(0,10),this.nr_of_repetitions=s.nr_of_repetitions,this.repeat_until=s.repeat_until?s.repeat_until.substr(0,10):null;let i=s.transactions[0];this.transactions[0].description=i.description,this.transactions[0].amount=i.amount,this.transactions[0].source_id=parseInt(i.source_id),this.transactions[0].destination_id=parseInt(i.destination_id);let r=s.repetitions[0];this.repetitions[0].type=r.type,this.repetitions[0].weekend=r.weekend,this.repetitions[0].skip=r.skip},resetErrors:function(){this.submissionErrors={title:"",type:"",first_date:"",nr_of_repetitions:"",repeat_until:"",transactions:[{description:"",amount:"",foreign_amount:"",currency_id:"",currency_code:"",foreign_currency_id:"",foreign_currency_code:"",budget_id:"",category_id:"",source_id:"",destination_id:"",tags:"",piggy_bank_id:""}],repetitions:[{type:"",moment:"",skip:"",weekend:""}]},this.hasSubmissionErrors={title:!1,type:!1,first_date:!1,nr_of_repetitions:!1,repeat_until:!1,transactions:[{description:!1,amount:!1,foreign_amount:!1,currency_id:!1,currency_code:!1,foreign_currency_id:!1,foreign_currency_code:!1,budget_id:!1,category_id:!1,source_id:!1,destination_id:!1,tags:!1,piggy_bank_id:!1}],repetitions:[{type:!1,moment:!1,skip:!1,weekend:!1}]}},submitRecurringTransaction:function(){this.submitting=!0,this.errorMessage="",this.resetErrors();const e=this.buildRecurringTransaction();(new $).post(this.id,e).catch(this.processErrors).then(this.processSuccess)},buildRecurringTransaction:function(){let e={title:this.title,type:this.type,first_date:this.first_date,nr_of_repetitions:this.nr_of_repetitions,repeat_until:this.repeat_until,transactions:this.transactions,repetitions:[]};for(let t in this.repetitions)if(this.repetitions.hasOwnProperty(t)){let s="",i=(0,Q.Z)(this.first_date+"T00:00:00");if("monthly"===this.repetitions[t].type&&(s=i.getDate().toString()),"ndom"===this.repetitions[t].type){let e=this.getXth(i);s=e+","+(0,P.Z)(i,"i")}"yearly"===this.repetitions[t].type&&(s=(0,P.Z)(i,"yyyy-MM-dd")),e.repetitions.push({type:this.repetitions[t].type,moment:s,skip:this.repetitions[t].skip,weekend:this.repetitions[t].weekend})}return e},dismissBanner:function(){this.errorMessage=""},processSuccess:function(e){if(this.$store.dispatch("fireflyiii/refreshCacheKey"),!e)return;this.submitting=!1;let t={level:"success",text:"Recurrence is updated",show:!0,action:{show:!0,text:"Go to recurrence",link:{name:"recurring.show",params:{id:parseInt(e.data.data.id)}}}};this.$q.localStorage.set("flash",t),this.doReturnHere&&window.dispatchEvent(new CustomEvent("flash",{detail:{flash:this.$q.localStorage.getItem("flash")}})),this.doReturnHere||this.$router.go(-1)},processErrors:function(e){if(e.response){let t=e.response.data;this.errorMessage=t.message;for(let e in t.errors)t.errors.hasOwnProperty(e)&&(this.submissionErrors[e]=t.errors[e][0],this.hasSubmissionErrors[e]=!0)}this.submitting=!1},getAccounts:function(){return this.getPage(1)},getPage:function(e){return(new F.Z).list("all",e,this.getCacheKey).then((t=>{let s=parseInt(t.data.meta.pagination.total_pages);for(let e in t.data.data)if(t.data.data.hasOwnProperty(e)){let s=t.data.data[e];this.accounts.push({value:parseInt(s.id),label:s.attributes.type+": "+s.attributes.name,decimal_places:parseInt(s.attributes.currency_decimal_places)})}if(ee.label>t.label?1:t.label>e.label?-1:0)))}))}}};var B=s(1639),j=s(9885),O=s(7128),X=s(8879),A=s(4458),K=s(3190),z=s(6611),G=s(7887),Y=s(1221),J=s(9984),L=s.n(J);const N=(0,B.Z)(H,[["render",T]]),ee=N;L()(H,"components",{QPage:j.Z,QBanner:O.Z,QBtn:X.Z,QCard:A.Z,QCardSection:K.Z,QInput:z.Z,QSelect:G.Z,QCheckbox:Y.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/9069.e81f039c.js b/public/v3/js/9069.e81f039c.js new file mode 100644 index 0000000000..ef376da770 --- /dev/null +++ b/public/v3/js/9069.e81f039c.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[9069],{9069:(e,a,t)=>{t.r(a),t.d(a,{default:()=>C});var s=t(9835),r=t(6970);const n={class:"row q-mx-md"},o={class:"col-12"},i={class:"text-h6"},g={class:"row"},l={class:"col-12 q-mb-xs"},u=(0,s._)("br",null,null,-1),c={class:"row q-mt-sm"},d={class:"col-12"};function w(e,a,t,w,p,h){const m=(0,s.up)("q-card-section"),f=(0,s.up)("q-card"),b=(0,s.up)("LargeTable"),_=(0,s.up)("q-page");return(0,s.wg)(),(0,s.j4)(_,null,{default:(0,s.w5)((()=>[(0,s._)("div",n,[(0,s._)("div",o,[(0,s.Wm)(f,{bordered:""},{default:(0,s.w5)((()=>[(0,s.Wm)(m,null,{default:(0,s.w5)((()=>[(0,s._)("div",i,(0,r.zw)(p.tag.tag),1)])),_:1}),(0,s.Wm)(m,null,{default:(0,s.w5)((()=>[(0,s._)("div",g,[(0,s._)("div",l,[(0,s.Uk)(" Tag: "+(0,r.zw)(p.tag.tag),1),u])])])),_:1})])),_:1})])]),(0,s._)("div",c,[(0,s._)("div",d,[(0,s.Wm)(b,{ref:"table",title:"Transactions",rows:p.rows,loading:e.loading,onOnRequest:h.onRequest,"rows-number":p.rowsNumber,"rows-per-page":p.rowsPerPage,page:p.page},null,8,["rows","loading","onOnRequest","rows-number","rows-per-page","page"])])])])),_:1})}var p=t(1569);class h{get(e){let a="/api/v1/tags/"+e;return p.api.get(a)}transactions(e,a,t){let s="/api/v1/tags/"+e+"/transactions";return p.api.get(s,{params:{page:a,cache:t}})}}var m=t(8925),f=t(3247);const b={name:"Show",data(){return{tag:{},rows:[],rowsNumber:1,rowsPerPage:10,page:1}},created(){this.id=parseInt(this.$route.params.id),this.getTag()},mounted(){},components:{LargeTable:m.Z},methods:{onRequest:function(e){this.page=e.page,this.getTag()},getTag:function(){let e=new h;e.get(this.id).then((e=>this.parseTag(e))),this.loading=!0;const a=new f.Z;this.rows=[],e.transactions(this.id,this.page,this.getCacheKey).then((e=>{let t=a.parseResponse(e);this.rowsPerPage=t.rowsPerPage,this.rowsNumber=t.rowsNumber,this.rows=t.rows,this.loading=!1}))},parseTag:function(e){this.tag={tag:e.data.data.attributes.tag}}}};var _=t(1639),v=t(9885),q=t(4458),P=t(3190),T=t(9984),Z=t.n(T);const k=(0,_.Z)(b,[["render",w]]),C=k;Z()(b,"components",{QPage:v.Z,QCard:q.Z,QCardSection:P.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/9287.bc57ab91.js b/public/v3/js/9287.bc57ab91.js new file mode 100644 index 0000000000..dced3dab5b --- /dev/null +++ b/public/v3/js/9287.bc57ab91.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[9287],{9287:(e,t,a)=>{a.r(t),a.d(t,{default:()=>x});var l=a(9835),i=a(6970);const o=(0,l.Uk)("Edit"),r=(0,l.Uk)("Delete"),n=(0,l.Uk)("Edit group "),s=(0,l.Uk)("Delete group ");function u(e,t,a,u,p,d){const c=(0,l.up)("q-th"),g=(0,l.up)("q-tr"),m=(0,l.up)("router-link"),f=(0,l.up)("q-td"),w=(0,l.up)("q-item-label"),h=(0,l.up)("q-item-section"),y=(0,l.up)("q-item"),_=(0,l.up)("q-list"),b=(0,l.up)("q-btn-dropdown"),k=(0,l.up)("q-table"),q=(0,l.up)("q-btn"),Z=(0,l.up)("q-btn-group"),W=(0,l.up)("q-card-actions"),Q=(0,l.up)("q-card"),C=(0,l.up)("q-fab-action"),R=(0,l.up)("q-fab"),G=(0,l.up)("q-page-sticky"),U=(0,l.up)("q-page"),I=(0,l.Q2)("close-popup");return(0,l.wg)(),(0,l.j4)(U,null,{default:(0,l.w5)((()=>[((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(p.ruleGroups,(t=>((0,l.wg)(),(0,l.j4)(Q,{class:"q-ma-md"},{default:(0,l.w5)((()=>[(0,l.Wm)(k,{title:t.title,rows:t.rules,columns:p.columns,"row-key":"id",pagination:p.pagination,dense:e.$q.screen.lt.md,loading:t.loading},{header:(0,l.w5)((e=>[(0,l.Wm)(g,{props:e},{default:(0,l.w5)((()=>[((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(e.cols,(t=>((0,l.wg)(),(0,l.j4)(c,{key:t.name,props:e},{default:(0,l.w5)((()=>[(0,l.Uk)((0,i.zw)(t.label),1)])),_:2},1032,["props"])))),128))])),_:2},1032,["props"])])),body:(0,l.w5)((e=>[(0,l.Wm)(g,{props:e},{default:(0,l.w5)((()=>[(0,l.Wm)(f,{key:"name",props:e},{default:(0,l.w5)((()=>[(0,l.Wm)(m,{to:{name:"rules.show",params:{id:e.row.id}},class:"text-primary"},{default:(0,l.w5)((()=>[(0,l.Uk)((0,i.zw)(e.row.title),1)])),_:2},1032,["to"])])),_:2},1032,["props"]),(0,l.Wm)(f,{key:"menu",props:e},{default:(0,l.w5)((()=>[(0,l.Wm)(b,{color:"primary",label:"Actions",size:"sm"},{default:(0,l.w5)((()=>[(0,l.Wm)(_,null,{default:(0,l.w5)((()=>[(0,l.wy)(((0,l.wg)(),(0,l.j4)(y,{clickable:"",to:{name:"rules.edit",params:{id:e.row.id}}},{default:(0,l.w5)((()=>[(0,l.Wm)(h,null,{default:(0,l.w5)((()=>[(0,l.Wm)(w,null,{default:(0,l.w5)((()=>[o])),_:1})])),_:1})])),_:2},1032,["to"])),[[I]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(y,{clickable:"",onClick:t=>d.deleteRule(e.row.id,e.row.title)},{default:(0,l.w5)((()=>[(0,l.Wm)(h,null,{default:(0,l.w5)((()=>[(0,l.Wm)(w,null,{default:(0,l.w5)((()=>[r])),_:1})])),_:1})])),_:2},1032,["onClick"])),[[I]])])),_:2},1024)])),_:2},1024)])),_:2},1032,["props"])])),_:2},1032,["props"])])),_:2},1032,["title","rows","columns","pagination","dense","loading"]),(0,l.Wm)(W,null,{default:(0,l.w5)((()=>[(0,l.Wm)(Z,null,{default:(0,l.w5)((()=>[(0,l.Wm)(q,{size:"sm",to:{name:"rule-groups.edit",params:{id:t.id}},color:"primary"},{default:(0,l.w5)((()=>[n])),_:2},1032,["to"]),(0,l.Wm)(q,{size:"sm",color:"primary",onClick:e=>d.deleteRuleGroup(t.id,t.title)},{default:(0,l.w5)((()=>[s])),_:2},1032,["onClick"])])),_:2},1024)])),_:2},1024)])),_:2},1024)))),256)),(0,l.Wm)(G,{position:"bottom-right",offset:[18,18]},{default:(0,l.w5)((()=>[(0,l.Wm)(R,{label:"Actions",square:"","vertical-actions-align":"right","label-position":"left",color:"green",icon:"fas fa-chevron-up",direction:"up"},{default:(0,l.w5)((()=>[(0,l.Wm)(C,{color:"primary",square:"",to:{name:"rule-groups.create"},icon:"fas fa-exchange-alt",label:"New rule group"},null,8,["to"]),(0,l.Wm)(C,{color:"primary",square:"",to:{name:"rules.create"},icon:"fas fa-exchange-alt",label:"New rule"},null,8,["to"])])),_:1})])),_:1})])),_:1})}var p=a(1049),d=a(2416),c=a(6739),g=a(7913);const m={name:"Index",watch:{$route(e){"rules.index"===e.name&&this.triggerUpdate()}},mounted(){this.triggerUpdate()},data(){return{pagination:{page:1,rowsPerPage:0},columns:[{name:"name",label:"Name",field:"name",align:"left"},{name:"menu",label:" ",field:"menu",align:"right"}],ruleGroups:{}}},computed:{...(0,p.Se)("fireflyiii",["getRange","getCacheKey"])},methods:{triggerUpdate:function(){this.loading||(this.loading=!0,this.ruleGroups={},this.getPage(1))},deleteRule:function(e,t){this.$q.dialog({title:"Confirm",message:'Do you want to delete rule "'+t+'"?',cancel:!0,persistent:!0}).onOk((()=>{this.destroyRule(e)}))},deleteRuleGroup:function(e,t){this.$q.dialog({title:"Confirm",message:'Do you want to delete rule group "'+t+'"?',cancel:!0,persistent:!0}).onOk((()=>{this.destroyRuleGroup(e)}))},destroyRuleGroup:function(e){new g.Z("rule_groups").destroy(e).then((()=>{this.$store.dispatch("fireflyiii/refreshCacheKey"),this.triggerUpdate()}))},destroyRule:function(e){new g.Z("rules").destroy(e).then((()=>{this.$store.dispatch("fireflyiii/refreshCacheKey"),this.triggerUpdate()}))},getPage:function(e){const t=new d.Z;this.rows=[],t.list(e,this.getCacheKey).then((t=>{e{t{r.r(s),r.d(s,{default:()=>F});var l=r(9835),o=r(6970);const t={class:"row q-mx-md"},i={class:"col-12"},a={class:"row q-mx-md q-mt-md"},n={class:"col-12"},d=(0,l._)("div",{class:"text-h6"},"Info for new webhook",-1),u={class:"row"},m={class:"col-12 q-mb-xs"},b={class:"row"},c={class:"col-12 q-mb-xs"},p={class:"row"},h={class:"col-12 q-mb-xs"},g={class:"row"},v={class:"col-12 q-mb-xs"},_={class:"row"},E={class:"col-12 q-mb-xs"},S={class:"row q-mx-md"},f={class:"col-12"},w={class:"row"},R={class:"col-12 text-right"},I={class:"row"},k={class:"col-12 text-right"},q=(0,l._)("br",null,null,-1);function V(e,s,r,V,x,N){const T=(0,l.up)("q-btn"),W=(0,l.up)("q-banner"),C=(0,l.up)("q-card-section"),y=(0,l.up)("q-input"),O=(0,l.up)("q-select"),A=(0,l.up)("q-card"),U=(0,l.up)("q-checkbox"),G=(0,l.up)("q-page");return(0,l.wg)(),(0,l.j4)(G,null,{default:(0,l.w5)((()=>[(0,l._)("div",t,[(0,l._)("div",i,[""!==x.errorMessage?((0,l.wg)(),(0,l.j4)(W,{key:0,"inline-actions":"",rounded:"",class:"bg-orange text-white"},{action:(0,l.w5)((()=>[(0,l.Wm)(T,{flat:"",onClick:N.dismissBanner,label:"Dismiss"},null,8,["onClick"])])),default:(0,l.w5)((()=>[(0,l.Uk)((0,o.zw)(x.errorMessage)+" ",1)])),_:1})):(0,l.kq)("",!0)])]),(0,l._)("div",a,[(0,l._)("div",n,[(0,l.Wm)(A,{bordered:""},{default:(0,l.w5)((()=>[(0,l.Wm)(C,null,{default:(0,l.w5)((()=>[d])),_:1}),(0,l.Wm)(C,null,{default:(0,l.w5)((()=>[(0,l._)("div",u,[(0,l._)("div",m,[(0,l.Wm)(y,{"error-message":x.submissionErrors.title,error:x.hasSubmissionErrors.title,"bottom-slots":"",disable:N.disabledInput,type:"text",clearable:"",modelValue:x.title,"onUpdate:modelValue":s[0]||(s[0]=e=>x.title=e),label:e.$t("form.title"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])]),(0,l._)("div",b,[(0,l._)("div",c,[(0,l.Wm)(y,{"error-message":x.submissionErrors.url,error:x.hasSubmissionErrors.url,"bottom-slots":"",disable:N.disabledInput,type:"text",clearable:"",modelValue:x.url,"onUpdate:modelValue":s[1]||(s[1]=e=>x.url=e),label:e.$t("form.url"),outlined:""},null,8,["error-message","error","disable","modelValue","label"])])]),(0,l._)("div",p,[(0,l._)("div",h,[(0,l.Wm)(O,{"error-message":x.submissionErrors.response,error:x.hasSubmissionErrors.response,"bottom-slots":"",disable:N.disabledInput,outlined:"",modelValue:x.response,"onUpdate:modelValue":s[2]||(s[2]=e=>x.response=e),"emit-value":"",class:"q-pr-xs","map-options":"",options:x.responses,label:"Response"},null,8,["error-message","error","disable","modelValue","options"])])]),(0,l._)("div",g,[(0,l._)("div",v,[(0,l.Wm)(O,{"error-message":x.submissionErrors.delivery,error:x.hasSubmissionErrors.delivery,"bottom-slots":"",disable:N.disabledInput,outlined:"",modelValue:x.delivery,"onUpdate:modelValue":s[3]||(s[3]=e=>x.delivery=e),"emit-value":"",class:"q-pr-xs","map-options":"",options:x.deliveries,label:"Delivery"},null,8,["error-message","error","disable","modelValue","options"])])]),(0,l._)("div",_,[(0,l._)("div",E,[(0,l.Wm)(O,{"error-message":x.submissionErrors.trigger,error:x.hasSubmissionErrors.trigger,"bottom-slots":"",disable:N.disabledInput,outlined:"",modelValue:x.trigger,"onUpdate:modelValue":s[4]||(s[4]=e=>x.trigger=e),"emit-value":"",class:"q-pr-xs","map-options":"",options:x.triggers,label:"Triggers"},null,8,["error-message","error","disable","modelValue","options"])])])])),_:1})])),_:1})])]),(0,l._)("div",S,[(0,l._)("div",f,[(0,l.Wm)(A,{class:"q-mt-xs"},{default:(0,l.w5)((()=>[(0,l.Wm)(C,null,{default:(0,l.w5)((()=>[(0,l._)("div",w,[(0,l._)("div",R,[(0,l.Wm)(T,{disable:N.disabledInput,color:"primary",label:"Submit",onClick:N.submitWebhook},null,8,["disable","onClick"])])]),(0,l._)("div",I,[(0,l._)("div",k,[(0,l.Wm)(U,{disable:N.disabledInput,modelValue:x.doReturnHere,"onUpdate:modelValue":s[5]||(s[5]=e=>x.doReturnHere=e),"left-label":"",label:"Return here to create another one"},null,8,["disable","modelValue"]),q,(0,l.Wm)(U,{modelValue:x.doResetForm,"onUpdate:modelValue":s[6]||(s[6]=e=>x.doResetForm=e),"left-label":"",disable:!x.doReturnHere||N.disabledInput,label:"Reset form after submission"},null,8,["modelValue","disable"])])])])),_:1})])),_:1})])])])),_:1})}var x=r(1569);class N{post(e){let s="/api/v1/webhooks";return x.api.post(s,e)}}var T=r(1049);const W={name:"Create",data(){return{submissionErrors:{},hasSubmissionErrors:{},submitting:!1,doReturnHere:!1,doResetForm:!1,errorMessage:"",balance_input_mask:"#.##",triggers:[{value:"TRIGGER_STORE_TRANSACTION",label:"When transaction stored"},{value:"TRIGGER_UPDATE_TRANSACTION",label:"When transaction updated"},{value:"TRIGGER_DESTROY_TRANSACTION",label:"When transaction deleted"}],responses:[{value:"RESPONSE_TRANSACTIONS",label:"Send transaction"},{value:"RESPONSE_ACCOUNTS",label:"Send accounts"},{value:"RESPONSE_NONE",label:"Send nothing"}],deliveries:[{value:"DELIVERY_JSON",label:"JSON"}],title:"",url:"",response:"RESPONSE_TRANSACTIONS",delivery:"DELIVERY_JSON",trigger:"TRIGGER_STORE_TRANSACTION"}},watch:{},computed:{...(0,T.Se)("fireflyiii",["getCacheKey"]),disabledInput:function(){return this.submitting}},created(){this.resetForm()},methods:{resetForm:function(){this.title=""},resetErrors:function(){this.submissionErrors={title:"",url:"",response:"",delivery:"",trigger:""},this.hasSubmissionErrors={title:!1,url:!1,response:!1,delivery:!1,trigger:!1}},submitWebhook:function(){this.submitting=!0,this.errorMessage="",this.resetErrors();const e=this.buildWebhook();(new N).post(e).catch(this.processErrors).then(this.processSuccess)},buildWebhook:function(){return{title:this.title,url:this.url,response:this.response,delivery:this.delivery,trigger:this.trigger,active:!0}},dismissBanner:function(){this.errorMessage=""},processSuccess:function(e){if(!e)return;this.submitting=!1;let s={level:"success",text:"I am new webhook",show:!0,action:{show:!0,text:"Go to webhook",link:{name:"webhooks.show",params:{id:parseInt(e.data.data.id)}}}};this.$q.localStorage.set("flash",s),this.doReturnHere&&window.dispatchEvent(new CustomEvent("flash",{detail:{flash:this.$q.localStorage.getItem("flash")}})),this.doReturnHere||this.$router.go(-1)},processErrors:function(e){if(e.response){let s=e.response.data;this.errorMessage=s.message,console.log(s);for(let e in s.errors)s.errors.hasOwnProperty(e)&&(this.submissionErrors[e]=s.errors[e][0],this.hasSubmissionErrors[e]=!0)}this.submitting=!1}}};var C=r(1639),y=r(9885),O=r(7128),A=r(8879),U=r(4458),G=r(3190),Z=r(6611),Q=r(7887),P=r(1221),D=r(9984),H=r.n(D);const M=(0,C.Z)(W,[["render",V]]),F=M;H()(W,"components",{QPage:y.Z,QBanner:O.Z,QBtn:A.Z,QCard:U.Z,QCardSection:G.Z,QInput:Z.Z,QSelect:Q.Z,QCheckbox:P.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/9606.ce293dd2.js b/public/v3/js/9606.ce293dd2.js new file mode 100644 index 0000000000..d7ba4be60b --- /dev/null +++ b/public/v3/js/9606.ce293dd2.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[9606],{9606:(e,t,a)=>{a.r(t),a.d(t,{default:()=>v});var i=a(9835),n=a(6970);const s=(0,i.Uk)("Edit"),o=(0,i.Uk)("Delete");function r(e,t,a,r,l,g){const p=(0,i.up)("q-th"),d=(0,i.up)("q-tr"),u=(0,i.up)("router-link"),m=(0,i.up)("q-td"),c=(0,i.up)("q-item-label"),h=(0,i.up)("q-item-section"),f=(0,i.up)("q-item"),w=(0,i.up)("q-list"),y=(0,i.up)("q-btn-dropdown"),b=(0,i.up)("q-table"),k=(0,i.up)("q-fab-action"),_=(0,i.up)("q-fab"),q=(0,i.up)("q-page-sticky"),P=(0,i.up)("q-page"),Z=(0,i.Q2)("close-popup");return(0,i.wg)(),(0,i.j4)(P,null,{default:(0,i.w5)((()=>[(0,i.Wm)(b,{title:e.$t("firefly.piggy-banks"),rows:l.rows,columns:l.columns,"row-key":"id",onRequest:g.onRequest,pagination:l.pagination,"onUpdate:pagination":t[0]||(t[0]=e=>l.pagination=e),loading:l.loading,class:"q-ma-md"},{header:(0,i.w5)((e=>[(0,i.Wm)(d,{props:e},{default:(0,i.w5)((()=>[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.cols,(t=>((0,i.wg)(),(0,i.j4)(p,{key:t.name,props:e},{default:(0,i.w5)((()=>[(0,i.Uk)((0,n.zw)(t.label),1)])),_:2},1032,["props"])))),128))])),_:2},1032,["props"])])),body:(0,i.w5)((e=>[(0,i.Wm)(d,{props:e},{default:(0,i.w5)((()=>[(0,i.Wm)(m,{key:"name",props:e},{default:(0,i.w5)((()=>[(0,i.Wm)(u,{to:{name:"piggy-banks.show",params:{id:e.row.id}},class:"text-primary"},{default:(0,i.w5)((()=>[(0,i.Uk)((0,n.zw)(e.row.name),1)])),_:2},1032,["to"])])),_:2},1032,["props"]),(0,i.Wm)(m,{key:"menu",props:e},{default:(0,i.w5)((()=>[(0,i.Wm)(y,{color:"primary",label:"Actions",size:"sm"},{default:(0,i.w5)((()=>[(0,i.Wm)(w,null,{default:(0,i.w5)((()=>[(0,i.wy)(((0,i.wg)(),(0,i.j4)(f,{clickable:"",to:{name:"piggy-banks.edit",params:{id:e.row.id}}},{default:(0,i.w5)((()=>[(0,i.Wm)(h,null,{default:(0,i.w5)((()=>[(0,i.Wm)(c,null,{default:(0,i.w5)((()=>[s])),_:1})])),_:1})])),_:2},1032,["to"])),[[Z]]),(0,i.wy)(((0,i.wg)(),(0,i.j4)(f,{clickable:"",onClick:t=>g.deletePiggyBank(e.row.id,e.row.name)},{default:(0,i.w5)((()=>[(0,i.Wm)(h,null,{default:(0,i.w5)((()=>[(0,i.Wm)(c,null,{default:(0,i.w5)((()=>[o])),_:1})])),_:1})])),_:2},1032,["onClick"])),[[Z]])])),_:2},1024)])),_:2},1024)])),_:2},1032,["props"])])),_:2},1032,["props"])])),_:1},8,["title","rows","columns","onRequest","pagination","loading"]),(0,i.Wm)(q,{position:"bottom-right",offset:[18,18]},{default:(0,i.w5)((()=>[(0,i.Wm)(_,{label:"Actions",square:"","vertical-actions-align":"right","label-position":"left",color:"green",icon:"fas fa-chevron-up",direction:"up"},{default:(0,i.w5)((()=>[(0,i.Wm)(k,{color:"primary",square:"",to:{name:"piggy-banks.create"},icon:"fas fa-exchange-alt",label:"New piggy bank"},null,8,["to"])])),_:1})])),_:1})])),_:1})}var l=a(1049),g=a(7913),p=a(1569);class d{list(e,t){let a="/api/v1/piggy_banks";return p.api.get(a,{params:{page:e,cache:t}})}}const u={name:"Index",watch:{$route(e){"piggy-banks.index"===e.name&&(this.page=1,this.updateBreadcrumbs(),this.triggerUpdate())}},data(){return{rows:[],pagination:{sortBy:"desc",descending:!1,page:1,rowsPerPage:5,rowsNumber:100},loading:!1,columns:[{name:"name",label:"Name",field:"name",align:"left"},{name:"menu",label:" ",field:"menu",align:"right"}]}},computed:{...(0,l.Se)("fireflyiii",["getRange","getCacheKey","getListPageSize"])},created(){this.pagination.rowsPerPage=this.getListPageSize},mounted(){if(null===this.getRange.start||null===this.getRange.end){const e=(0,l.oR)();e.subscribe(((e,t)=>{"fireflyiii/setRange"===e.type&&(this.range={start:e.payload.start,end:e.payload.end},this.triggerUpdate())}))}null!==this.getRange.start&&null!==this.getRange.end&&(this.range={start:this.getRange.start,end:this.getRange.end},this.triggerUpdate())},methods:{deletePiggyBank:function(e,t){this.$q.dialog({title:"Confirm",message:'Do you want to delete piggy bank "'+t+'"?',cancel:!0,persistent:!0}).onOk((()=>{this.destroyPiggyBank(e)}))},destroyPiggyBank:function(e){new g.Z("piggy_banks").destroy(e).then((()=>{this.$store.dispatch("fireflyiii/refreshCacheKey"),this.triggerUpdate()}))},updateBreadcrumbs:function(){this.$route.meta.pageTitle="firefly.piggy-banks",this.$route.meta.breadcrumbs=[{title:"piggy-banks"}]},onRequest:function(e){this.page=e.pagination.page,this.triggerUpdate()},triggerUpdate:function(){if(this.loading)return;if(null===this.range.start||null===this.range.end)return;this.loading=!0;const e=new d;this.rows=[],e.list(this.page,this.getCacheKey).then((e=>{this.pagination.rowsPerPage=e.data.meta.pagination.per_page,this.pagination.rowsNumber=e.data.meta.pagination.total,this.pagination.page=this.page;for(let t in e.data.data)if(e.data.data.hasOwnProperty(t)){let a=e.data.data[t],i={id:a.id,name:a.attributes.name};this.rows.push(i)}this.loading=!1}))}}};var m=a(1639),c=a(9885),h=a(1746),f=a(9546),w=a(1682),y=a(7220),b=a(2045),k=a(3246),_=a(490),q=a(1233),P=a(3115),Z=a(3388),W=a(9361),Q=a(935),R=a(2146),U=a(9984),C=a.n(U);const B=(0,m.Z)(u,[["render",r]]),v=B;C()(u,"components",{QPage:c.Z,QTable:h.Z,QTr:f.Z,QTh:w.Z,QTd:y.Z,QBtnDropdown:b.Z,QList:k.Z,QItem:_.Z,QItemSection:q.Z,QItemLabel:P.Z,QPageSticky:Z.Z,QFab:W.Z,QFabAction:Q.Z}),C()(u,"directives",{ClosePopup:R.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/app.13f6ce91.js b/public/v3/js/app.13f6ce91.js new file mode 100644 index 0000000000..c37810ac7e --- /dev/null +++ b/public/v3/js/app.13f6ce91.js @@ -0,0 +1 @@ +(()=>{"use strict";var e={8163:(e,t,n)=>{n(8964),n(702);var r=n(1957),a=n(1947),i=n(499),o=n(9835);function c(e,t,n,r,a,i){const c=(0,o.up)("router-view");return(0,o.wg)(),(0,o.j4)(c)}var s=n(9167),l=n(1569);class p{async authenticate(){return await l.api.get("/sanctum/csrf-cookie")}}class d{default(){let e=new p;return e.authenticate().then((()=>l.api.get("/api/v1/currencies/default")))}}const u=(0,o.aZ)({name:"App",preFetch({store:e}){e.dispatch("fireflyiii/refreshCacheKey");const t=function(){let t=new s.Z;return t.getByName("viewRange").then((t=>{const n=t.data.data.attributes.data;e.commit("fireflyiii/updateViewRange",n),e.dispatch("fireflyiii/setDatesFromViewRange")})).catch((e=>{console.error("Could not load view range."),console.log(e)}))},n=function(){let t=new s.Z;return t.getByName("listPageSize").then((t=>{const n=t.data.data.attributes.data;e.commit("fireflyiii/updateListPageSize",n)})).catch((e=>{console.error("Could not load listPageSize."),console.log(e)}))},r=function(){let t=new d;return t.default().then((t=>{let n=parseInt(t.data.data.id),r=t.data.data.attributes.code;e.commit("fireflyiii/setCurrencyId",n),e.commit("fireflyiii/setCurrencyCode",r)})).catch((e=>{console.error("Could not load preferences."),console.log(e)}))};r().then((()=>{t(),n()}))}});var h=n(1639);const m=(0,h.Z)(u,[["render",c]]),_=m;var g=n(3340),b=n(8910);const f=[{path:"/",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(5266)]).then(n.bind(n,5266)),name:"index",meta:{dateSelector:!0,pageTitle:"firefly.welcome_back"}}]},{path:"/development",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(576)]).then(n.bind(n,576)),name:"development.index",meta:{pageTitle:"firefly.development"}}]},{path:"/export",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(8493)]).then(n.bind(n,8493)),name:"export.index",meta:{pageTitle:"firefly.export"}}]},{path:"/budgets",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7499)]).then(n.bind(n,7499)),name:"budgets.index",meta:{pageTitle:"firefly.budgets",breadcrumbs:[{title:"budgets",route:"budgets.index",params:[]}]}}]},{path:"/budgets/show/:id",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(8376)]).then(n.bind(n,3543)),name:"budgets.show",meta:{pageTitle:"firefly.budgets",breadcrumbs:[{title:"placeholder",route:"budgets.show",params:[]}]}}]},{path:"/budgets/edit/:id",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7919)]).then(n.bind(n,7919)),name:"budgets.edit",meta:{pageTitle:"firefly.budgets",breadcrumbs:[{title:"placeholder",route:"budgets.show",params:[]}]}}]},{path:"/budgets/create",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(4640)]).then(n.bind(n,4640)),name:"budgets.create",meta:{pageTitle:"firefly.budgets",breadcrumbs:[{title:"placeholder",route:"budgets.show",params:[]}]}}]},{path:"/subscriptions",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(6072)]).then(n.bind(n,6072)),name:"subscriptions.index",meta:{pageTitle:"firefly.subscriptions",breadcrumbs:[{title:"placeholder",route:"subscriptions.index",params:[]}]}}]},{path:"/subscriptions/show/:id",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(2686)]).then(n.bind(n,2686)),name:"subscriptions.show",meta:{pageTitle:"firefly.subscriptions",breadcrumbs:[{title:"placeholder",route:"subscriptions.index"}]}}]},{path:"/subscriptions/edit/:id",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(2106)]).then(n.bind(n,2106)),name:"subscriptions.edit",meta:{pageTitle:"firefly.subscriptions",breadcrumbs:[{title:"placeholder",route:"subscriptions.index"}]}}]},{path:"/subscriptions/create",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(6676)]).then(n.bind(n,6676)),name:"subscriptions.create",meta:{dateSelector:!1,pageTitle:"firefly.subscriptions"}}]},{path:"/piggy-banks",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9606)]).then(n.bind(n,9606)),name:"piggy-banks.index",meta:{pageTitle:"firefly.piggyBanks",breadcrumbs:[{title:"piggy-banks",route:"piggy-banks.index",params:[]}]}}]},{path:"/piggy-banks/create",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(8928)]).then(n.bind(n,8928)),name:"piggy-banks.create",meta:{pageTitle:"firefly.piggy-banks",breadcrumbs:[{title:"placeholder",route:"piggy-banks.create",params:[]}]}}]},{path:"/piggy-banks/show/:id",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(5348)]).then(n.bind(n,5348)),name:"piggy-banks.show",meta:{pageTitle:"firefly.piggy-banks",breadcrumbs:[{title:"placeholder",route:"piggy-banks.index"}]}}]},{path:"/piggy-banks/edit/:id",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7586)]).then(n.bind(n,7586)),name:"piggy-banks.edit",meta:{pageTitle:"firefly.piggy-banks",breadcrumbs:[{title:"placeholder",route:"piggy-banks.index"}]}}]},{path:"/transactions/show/:id",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1501)]).then(n.bind(n,1501)),name:"transactions.show",meta:{pageTitle:"firefly.transactions",breadcrumbs:[{title:"placeholder",route:"transactions.index",params:{type:"todo"}},{title:"placeholder",route:"transactions.show",params:[]}]}}]},{path:"/transactions/create/:type",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(2194)]).then(n.bind(n,2194)),name:"transactions.create",meta:{dateSelector:!1,pageTitle:"firefly.transactions"}}]},{path:"/transactions/:type",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7544)]).then(n.bind(n,7544)),name:"transactions.index",meta:{dateSelector:!1,pageTitle:"firefly.transactions",breadcrumbs:[{title:"transactions"}]}}]},{path:"/transactions/edit/:id",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(3232)]).then(n.bind(n,3232)),name:"transactions.edit",meta:{pageTitle:"firefly.transactions",breadcrumbs:[{title:"placeholder",route:"transactions.index",params:{type:"todo"}},{title:"placeholder",route:"transactions.show",params:[]}]}}]},{path:"/rules",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9287)]).then(n.bind(n,9287)),name:"rules.index",meta:{pageTitle:"firefly.rules"}}]},{path:"/rules/show/:id",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7222)]).then(n.bind(n,7222)),name:"rules.show",meta:{pageTitle:"firefly.rules",breadcrumbs:[{title:"placeholder",route:"transactions.index",params:{type:"todo"}},{title:"placeholder",route:"transactions.show",params:[]}]}}]},{path:"/rules/create",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(5221)]).then(n.bind(n,5221)),name:"rules.create",meta:{pageTitle:"firefly.rules",breadcrumbs:[{title:"placeholder",route:"transactions.index",params:{type:"todo"}}]}}]},{path:"/rules/edit/:id",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(8387)]).then(n.bind(n,8387)),name:"rules.edit",meta:{pageTitle:"firefly.rules",breadcrumbs:[{title:"placeholder",route:"rules.index",params:{type:"todo"}}]}}]},{path:"/rule-groups/edit/:id",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(8344)]).then(n.bind(n,8344)),name:"rule-groups.edit",meta:{pageTitle:"firefly.rules",breadcrumbs:[{title:"placeholder",route:"transactions.index",params:{type:"todo"}}]}}]},{path:"/rule-groups/create",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(2476)]).then(n.bind(n,2476)),name:"rule-groups.create",meta:{pageTitle:"firefly.rule-groups",breadcrumbs:[{title:"placeholder",route:"transactions.index",params:{type:"todo"}}]}}]},{path:"/recurring",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(2700)]).then(n.bind(n,2700)),name:"recurring.index",meta:{pageTitle:"firefly.recurrences"}}]},{path:"/recurring/create",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(2407)]).then(n.bind(n,2407)),name:"recurring.create",meta:{pageTitle:"firefly.recurrences",breadcrumbs:[{title:"placeholder",route:"recurrences.create",params:[]}]}}]},{path:"/recurring/show/:id",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7697)]).then(n.bind(n,7697)),name:"recurring.show",meta:{pageTitle:"firefly.recurrences",breadcrumbs:[{title:"placeholder",route:"recurrences.index"}]}}]},{path:"/recurring/edit/:id",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9038)]).then(n.bind(n,9038)),name:"recurring.edit",meta:{pageTitle:"firefly.recurrences",breadcrumbs:[{title:"placeholder",route:"recurrences.index"}]}}]},{path:"/accounts/show/:id",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(3903)]).then(n.bind(n,9172)),name:"accounts.show",meta:{pageTitle:"firefly.accounts",breadcrumbs:[{title:"placeholder",route:"accounts.index",params:{type:"todo"}},{title:"placeholder",route:"accounts.show",params:[]}]}}]},{path:"/accounts/reconcile/:id",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7552)]).then(n.bind(n,7552)),name:"accounts.reconcile",meta:{pageTitle:"firefly.accounts",breadcrumbs:[{title:"placeholder",route:"accounts.index",params:{type:"todo"}},{title:"placeholder",route:"accounts.reconcile",params:[]}]}}]},{path:"/accounts/edit/:id",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(8611)]).then(n.bind(n,8611)),name:"accounts.edit",meta:{pageTitle:"firefly.accounts",breadcrumbs:[{title:"placeholder",route:"accounts.index",params:{type:"todo"}},{title:"placeholder",route:"accounts.edit",params:[]}]}}]},{path:"/accounts/:type",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(8405)]).then(n.bind(n,8405)),name:"accounts.index",meta:{pageTitle:"firefly.accounts"}}]},{path:"/accounts/create/:type",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7956)]).then(n.bind(n,7956)),name:"accounts.create",meta:{pageTitle:"firefly.accounts"}}]},{path:"/categories",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(6323)]).then(n.bind(n,6323)),name:"categories.index",meta:{pageTitle:"firefly.categories"}}]},{path:"/categories/show/:id",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1730)]).then(n.bind(n,1730)),name:"categories.show",meta:{pageTitle:"firefly.categories",breadcrumbs:[{title:"placeholder",route:"categories.show",params:[]}]}}]},{path:"/categories/edit/:id",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(8907)]).then(n.bind(n,8907)),name:"categories.edit",meta:{pageTitle:"firefly.categories",breadcrumbs:[{title:"placeholder",route:"categories.show",params:[]}]}}]},{path:"/categories/create",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(6919)]).then(n.bind(n,6919)),name:"categories.create",meta:{pageTitle:"firefly.categories",breadcrumbs:[{title:"placeholder",route:"categories.show",params:[]}]}}]},{path:"/tags",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(150)]).then(n.bind(n,150)),name:"tags.index",meta:{pageTitle:"firefly.tags"}}]},{path:"/tags/show/:id",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9069)]).then(n.bind(n,9069)),name:"tags.show",meta:{pageTitle:"firefly.tags",breadcrumbs:[{title:"placeholder",route:"tags.show",params:[]}]}}]},{path:"/groups",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7083)]).then(n.bind(n,7083)),name:"groups.index",meta:{pageTitle:"firefly.object_groups_page_title"}}]},{path:"/groups/show/:id",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(2372)]).then(n.bind(n,2372)),name:"groups.show",meta:{pageTitle:"firefly.groups",breadcrumbs:[{title:"placeholder",route:"groups.show",params:[]}]}}]},{path:"/groups/edit/:id",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(6826)]).then(n.bind(n,6882)),name:"groups.edit",meta:{pageTitle:"firefly.groups",breadcrumbs:[{title:"placeholder",route:"categories.show",params:[]}]}}]},{path:"/reports",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(5439)]).then(n.bind(n,1673)),name:"reports.index",meta:{pageTitle:"firefly.reports"}}]},{path:"/report/default/:accounts/:start/:end",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(9009)]).then(n.bind(n,9009)),name:"reports.default",meta:{pageTitle:"firefly.reports"}}]},{path:"/webhooks",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4782)]).then(n.bind(n,4782)),name:"webhooks.index",meta:{pageTitle:"firefly.webhooks"}}]},{path:"/webhooks/show/:id",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(6719)]).then(n.bind(n,6719)),name:"webhooks.show",meta:{pageTitle:"firefly.webhooks",breadcrumbs:[{title:"placeholder",route:"groups.show",params:[]}]}}]},{path:"/webhooks/edit/:id",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7044)]).then(n.bind(n,7044)),name:"webhooks.edit",meta:{pageTitle:"firefly.webhooks",breadcrumbs:[{title:"placeholder",route:"groups.show",params:[]}]}}]},{path:"/webhooks/create",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(9597)]).then(n.bind(n,9597)),name:"webhooks.create",meta:{pageTitle:"firefly.webhooks",breadcrumbs:[{title:"placeholder",route:"webhooks.show",params:[]}]}}]},{path:"/currencies",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(2124)]).then(n.bind(n,2124)),name:"currencies.index",meta:{pageTitle:"firefly.currencies"}}]},{path:"/currencies/show/:code",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4851)]).then(n.bind(n,4851)),name:"currencies.show",meta:{pageTitle:"firefly.currencies",breadcrumbs:[{title:"placeholder",route:"currencies.show",params:[]}]}}]},{path:"/currencies/edit/:code",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(6691)]).then(n.bind(n,6691)),name:"currencies.edit",meta:{pageTitle:"firefly.currencies",breadcrumbs:[{title:"placeholder",route:"currencies.show",params:[]}]}}]},{path:"/currencies/create",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1864)]).then(n.bind(n,1864)),name:"currencies.create",meta:{pageTitle:"firefly.currencies",breadcrumbs:[{title:"placeholder",route:"currencies.create",params:[]}]}}]},{path:"/profile",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(1951)]).then(n.bind(n,1951)),name:"profile.index",meta:{pageTitle:"firefly.profile"}}]},{path:"/profile/data",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(5724)]).then(n.bind(n,5724)),name:"profile.data",meta:{pageTitle:"firefly.profile_data"}}]},{path:"/preferences",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(6882)]).then(n.bind(n,5100)),name:"preferences.index",meta:{pageTitle:"firefly.preferences"}}]},{path:"/admin",component:()=>Promise.all([n.e(4736),n.e(773)]).then(n.bind(n,773)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1473)]).then(n.bind(n,1473)),name:"admin.index",meta:{pageTitle:"firefly.administration"}}]},{path:"/:catchAll(.*)*",component:()=>Promise.all([n.e(4736),n.e(8218)]).then(n.bind(n,8218))}],y=f,w=(0,g.BC)((function(){const e=b.r5,t=(0,b.p7)({scrollBehavior:()=>({left:0,top:0}),routes:y,history:e("/v3/")});return t}));async function P(e,t){const n=e(_);n.use(a.Z,t);const r=(0,i.Xl)("function"===typeof w?await w({}):w);return{app:n,router:r}}var v=n(9527),T=n(7909),x=n(4462),k=n(3703);const S={config:{dark:"auto"},lang:v.Z,iconSet:T.Z,plugins:{Dialog:x.Z,LocalStorage:k.Z}};let A="function"===typeof _.preFetch?_.preFetch:void 0!==_.__c&&"function"===typeof _.__c.preFetch&&_.__c.preFetch;function D(e,t){const n=e?e.matched?e:t.resolve(e).route:t.currentRoute.value;return n?Array.prototype.concat.apply([],n.matched.map((e=>Object.keys(e.components).map((t=>{const n=e.components[t];return{path:e.path,c:n}}))))):[]}function C({router:e,publicPath:t}){e.beforeResolve(((n,r,a)=>{const i=window.location.href.replace(window.location.origin,""),o=D(n,e),c=D(r,e);let s=!1;const l=o.filter(((e,t)=>s||(s=!c[t]||c[t].c!==e.c||e.path.indexOf("/:")>-1))).filter((e=>void 0!==e.c&&("function"===typeof e.c.preFetch||void 0!==e.c.__c&&"function"===typeof e.c.__c.preFetch))).map((e=>void 0!==e.c.__c?e.c.__c.preFetch:e.c.preFetch));if(!1!==A&&(l.unshift(A),A=!1),0===l.length)return a();let p=!1;const d=e=>{p=!0,a(e)},u=()=>{!1===p&&a()};l.reduce(((e,a)=>e.then((()=>!1===p&&a({currentRoute:n,previousRoute:r,redirect:d,urlPath:i,publicPath:t})))),Promise.resolve()).then(u).catch((e=>{console.error(e),u()}))}))}const N="/v3/",O=/\/\//,B=e=>(N+e).replace(O,"/");async function R({app:e,router:t},n){let r=!1;const a=e=>{try{return B(t.resolve(e).href)}catch(n){}return Object(e)===e?null:e},i=e=>{if(r=!0,"string"===typeof e&&/^https?:\/\//.test(e))return void(window.location.href=e);const t=a(e);null!==t&&(window.location.href=t,window.location.reload())},o=window.location.href.replace(window.location.origin,"");for(let s=0;!1===r&&sPromise.all([Promise.resolve().then(n.bind(n,7030)),Promise.resolve().then(n.bind(n,1569))]).then((t=>{const n=t.map((e=>e.default)).filter((e=>"function"===typeof e));R(e,n)}))))},9167:(e,t,n)=>{n.d(t,{Z:()=>a});var r=n(1569);class a{getByName(e){return r.api.get("/api/v1/preferences/"+e)}postByName(e,t){return r.api.post("/api/v1/preferences",{name:e,data:t})}}},1569:(e,t,n)=>{n.r(t),n.d(t,{api:()=>l,default:()=>p});var r=n(3340),a=n(9981),i=n.n(a),o=n(8268);const c=(0,o.setupCache)({maxAge:9e5,exclude:{query:!1}}),s="/",l=i().create({baseURL:s,withCredentials:!0,adapter:c.adapter}),p=(0,r.xr)((({app:e})=>{i().defaults.withCredentials=!0,i().defaults.baseURL=s,e.config.globalProperties.$axios=i(),e.config.globalProperties.$api=l}))},7030:(e,t,n)=>{n.r(t),n.d(t,{default:()=>c});var r=n(3340),a=n(9991);const i={config:{html_language:"en",month_and_day_fns:"MMMM d, y"},form:{name:"Name",amount_min:"Minimum amount",amount_max:"Maximum amount",url:"URL",title:"Title",first_date:"First date",repetitions:"Repetitions",description:"Description",iban:"IBAN",skip:"Skip",date:"Date"},list:{name:"Name",account_number:"Account number",currentBalance:"Current balance",lastActivity:"Last activity",active:"Is active?"},breadcrumbs:{placeholder:"[Placeholder]",budgets:"Budgets",subscriptions:"Subscriptions",transactions:"Transactions",title_expenses:"Expenses",title_withdrawal:"Expenses",title_revenue:"Revenue / income",title_deposit:"Revenue / income",title_transfer:"Transfers",title_transfers:"Transfers",asset_accounts:"Asset accounts",expense_accounts:"Expense accounts",revenue_accounts:"Revenue accounts",liabilities_accounts:"Liabilities"},firefly:{actions:"Actions",edit:"Edit",delete:"Delete",reconcile:"Reconcile",create_new_asset:"Create new asset account",confirm_action:"Confirm action",new_budget:"New budget",new_asset_account:"New asset account",newTransfer:"New transfer",submission_options:"(firefly.submission_options)",apply_rules_checkbox:"(firefly.apply_rules_checkbox)",fire_webhooks_checkbox:"(firefly.fire_webhooks_checkbox)",newDeposit:"New deposit",newWithdrawal:"New expense",bills_paid:"Bills paid",left_to_spend:"Left to spend",no_budget:"(no budget)",budgeted:"Budgeted",spent:"Spent",no_bill:"(no bill)",rule_trigger_source_account_starts_choice:"Source account name starts with..",rule_trigger_source_account_ends_choice:"Source account name ends with..",rule_trigger_source_account_is_choice:"Source account name is..",rule_trigger_source_account_contains_choice:"Source account name contains..",rule_trigger_account_id_choice:"Either account ID is exactly..",rule_trigger_source_account_id_choice:"Source account ID is exactly..",rule_trigger_destination_account_id_choice:"Destination account ID is exactly..",rule_trigger_account_is_cash_choice:"Either account is cash",rule_trigger_source_is_cash_choice:"Source account is (cash) account",rule_trigger_destination_is_cash_choice:"Destination account is (cash) account",rule_trigger_source_account_nr_starts_choice:"Source account number / IBAN starts with..",rule_trigger_source_account_nr_ends_choice:"Source account number / IBAN ends with..",rule_trigger_source_account_nr_is_choice:"Source account number / IBAN is..",rule_trigger_source_account_nr_contains_choice:"Source account number / IBAN contains..",rule_trigger_destination_account_starts_choice:"Destination account name starts with..",rule_trigger_destination_account_ends_choice:"Destination account name ends with..",rule_trigger_destination_account_is_choice:"Destination account name is..",rule_trigger_destination_account_contains_choice:"Destination account name contains..",rule_trigger_destination_account_nr_starts_choice:"Destination account number / IBAN starts with..",rule_trigger_destination_account_nr_ends_choice:"Destination account number / IBAN ends with..",rule_trigger_destination_account_nr_is_choice:"Destination account number / IBAN is..",rule_trigger_destination_account_nr_contains_choice:"Destination account number / IBAN contains..",rule_trigger_transaction_type_choice:"Transaction is of type..",rule_trigger_category_is_choice:"Category is..",rule_trigger_amount_less_choice:"Amount is less than..",rule_trigger_amount_is_choice:"Amount is..",rule_trigger_amount_more_choice:"Amount is more than..",rule_trigger_description_starts_choice:"Description starts with..",rule_trigger_description_ends_choice:"Description ends with..",rule_trigger_description_contains_choice:"Description contains..",rule_trigger_description_is_choice:"Description is..",rule_trigger_date_on_choice:"Transaction date is..",rule_trigger_date_before_choice:"Transaction date is before..",rule_trigger_date_after_choice:"Transaction date is after..",rule_trigger_created_at_on_choice:"Transaction was made on..",rule_trigger_updated_at_on_choice:"Transaction was last edited on..",rule_trigger_budget_is_choice:"Budget is..",rule_trigger_tag_is_choice:"Any tag is..",rule_trigger_currency_is_choice:"Transaction currency is..",rule_trigger_foreign_currency_is_choice:"Transaction foreign currency is..",rule_trigger_has_attachments_choice:"Has at least this many attachments",rule_trigger_has_no_category_choice:"Has no category",rule_trigger_has_any_category_choice:"Has a (any) category",rule_trigger_has_no_budget_choice:"Has no budget",rule_trigger_has_any_budget_choice:"Has a (any) budget",rule_trigger_has_no_bill_choice:"Has no bill",rule_trigger_has_any_bill_choice:"Has a (any) bill",rule_trigger_has_no_tag_choice:"Has no tag(s)",rule_trigger_has_any_tag_choice:"Has one or more (any) tags",rule_trigger_any_notes_choice:"Has (any) notes",rule_trigger_no_notes_choice:"Has no notes",rule_trigger_notes_is_choice:"Notes are..",rule_trigger_notes_contains_choice:"Notes contain..",rule_trigger_notes_starts_choice:"Notes start with..",rule_trigger_notes_ends_choice:"Notes end with..",rule_trigger_bill_is_choice:"Bill is..",rule_trigger_external_id_is_choice:"External ID is..",rule_trigger_internal_reference_is_choice:"Internal reference is..",rule_trigger_journal_id_choice:"Transaction journal ID is..",rule_trigger_any_external_url_choice:"Transaction has an external URL",rule_trigger_no_external_url_choice:"Transaction has no external URL",rule_trigger_id_choice:"Transaction ID is..",rule_action_delete_transaction_choice:"DELETE transaction (!)",rule_action_set_category_choice:"Set category to..",rule_action_clear_category_choice:"Clear any category",rule_action_set_budget_choice:"Set budget to..",rule_action_clear_budget_choice:"Clear any budget",rule_action_add_tag_choice:"Add tag..",rule_action_remove_tag_choice:"Remove tag..",rule_action_remove_all_tags_choice:"Remove all tags",rule_action_set_description_choice:"Set description to..",rule_action_update_piggy_choice:"Add/remove transaction amount in piggy bank..",rule_action_append_description_choice:"Append description with..",rule_action_prepend_description_choice:"Prepend description with..",rule_action_set_source_account_choice:"Set source account to..",rule_action_set_destination_account_choice:"Set destination account to..",rule_action_append_notes_choice:"Append notes with..",rule_action_prepend_notes_choice:"Prepend notes with..",rule_action_clear_notes_choice:"Remove any notes",rule_action_set_notes_choice:"Set notes to..",rule_action_link_to_bill_choice:"Link to a bill..",rule_action_convert_deposit_choice:"Convert the transaction to a deposit",rule_action_convert_withdrawal_choice:"Convert the transaction to a withdrawal",rule_action_convert_transfer_choice:"Convert the transaction to a transfer",placeholder:"[Placeholder]",recurrences:"Recurring transactions",title_expenses:"Expenses",title_withdrawal:"Expenses",title_revenue:"Revenue / income",pref_1D:"One day",pref_1W:"One week",pref_1M:"One month",pref_3M:"Three months (quarter)",pref_6M:"Six months",pref_1Y:"One year",repeat_freq_yearly:"yearly","repeat_freq_half-year":"every half-year",repeat_freq_quarterly:"quarterly",repeat_freq_monthly:"monthly",repeat_freq_weekly:"weekly",single_split:"Split",asset_accounts:"Asset accounts",expense_accounts:"Expense accounts",liabilities_accounts:"Liabilities",undefined_accounts:"Accounts",name:"Name",revenue_accounts:"Revenue accounts",description:"Description",category:"Category",title_deposit:"Revenue / income",title_transfer:"Transfers",title_transfers:"Transfers",piggyBanks:"Piggy banks",rules:"Rules",accounts:"Accounts",categories:"Categories",tags:"Tags",object_groups_page_title:"Groups",reports:"Reports",webhooks:"Webhooks",currencies:"Currencies",administration:"Administration",profile:"Profile",source_account:"Source account",destination_account:"Destination account",amount:"Amount",date:"Date",time:"Time",preferences:"Preferences",transactions:"Transactions",balance:"Balance",budgets:"Budgets",subscriptions:"Subscriptions",welcome_back:"What's playing?",bills_to_pay:"Bills to pay",net_worth:"Net worth",pref_last365:"Last year",pref_last90:"Last 90 days",pref_last30:"Last 30 days",pref_last7:"Last 7 days",pref_YTD:"Year to date",pref_QTD:"Quarter to date",pref_MTD:"Month to date"}},o={"en-US":i},c=(0,r.xr)((({app:e})=>{const t=(0,a.o)({locale:"en-US",messages:o});e.use(t)}))}},t={};function n(r){var a=t[r];if(void 0!==a)return a.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.m=e,(()=>{var e=[];n.O=(t,r,a,i)=>{if(!r){var o=1/0;for(p=0;p=i)&&Object.keys(n.O).every((e=>n.O[e](r[s])))?r.splice(s--,1):(c=!1,i0&&e[p-1][2]>i;p--)e[p]=e[p-1];e[p]=[r,a,i]}})(),(()=>{n.n=e=>{var t=e&&e.__esModule?()=>e["default"]:()=>e;return n.d(t,{a:t}),t}})(),(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;n.t=function(r,a){if(1&a&&(r=this(r)),8&a)return r;if("object"===typeof r&&r){if(4&a&&r.__esModule)return r;if(16&a&&"function"===typeof r.then)return r}var i=Object.create(null);n.r(i);var o={};e=e||[null,t({}),t([]),t(t)];for(var c=2&a&&r;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>o[e]=()=>r[e]));return o["default"]=()=>r,n.d(i,o),i}})(),(()=>{n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}})(),(()=>{n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((t,r)=>(n.f[r](e,t),t)),[]))})(),(()=>{n.u=e=>"js/"+(3064===e?"chunk-common":e)+"."+{150:"35592a2c",576:"e26ddde9",773:"ff7cb3ef",1473:"9b55dc17",1501:"3980515e",1543:"010ec22e",1730:"207e6e59",1864:"d9ea853e",1951:"a5d70097",2106:"33b7eabd",2124:"bfc4091d",2194:"4baebc21",2372:"f07615ae",2407:"747d87e4",2476:"8af9976c",2686:"5e278d64",2700:"1251f369",3064:"98b27fd7",3232:"0964e736",3903:"4e461032",4640:"601878ff",4782:"e1382ab6",4851:"3c27e6c7",5221:"fded0f96",5266:"e820dd38",5348:"109b8049",5439:"d75e5cb4",5724:"8b5fcafb",6072:"21c05085",6323:"69d55ffd",6676:"60b155c0",6691:"80040366",6719:"f9d4744f",6826:"74ed4602",6882:"c5970da7",6919:"cc55656e",7044:"96c481ac",7083:"c223af4f",7222:"86a095eb",7480:"b9bd8fed",7499:"c362f695",7544:"47af6552",7552:"ebdf1aef",7586:"29cf8776",7697:"4338f28d",7919:"910d5ebb",7956:"3e1c81cf",8044:"169b21f8",8218:"966b669d",8344:"119567b0",8376:"477a5508",8387:"a4c1d7d6",8405:"62235b41",8493:"48ada210",8611:"3ab24e6d",8907:"233f4719",8928:"8127fcdf",9009:"d0e97de6",9038:"06ad98ab",9069:"e81f039c",9287:"bc57ab91",9597:"0c124ce8",9606:"ce293dd2"}[e]+".js"})(),(()=>{n.miniCssF=e=>"css/"+{2143:"app",4736:"vendor"}[e]+"."+{2143:"50c7ba73",4736:"da4091ec"}[e]+".css"})(),(()=>{n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()})(),(()=>{n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{var e={},t="firefly-iii:";n.l=(r,a,i,o)=>{if(e[r])e[r].push(a);else{var c,s;if(void 0!==i)for(var l=document.getElementsByTagName("script"),p=0;p{c.onerror=c.onload=null,clearTimeout(h);var a=e[r];if(delete e[r],c.parentNode&&c.parentNode.removeChild(c),a&&a.forEach((e=>e(n))),t)return t(n)},h=setTimeout(u.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=u.bind(null,c.onerror),c.onload=u.bind(null,c.onload),s&&document.head.appendChild(c)}}})(),(()=>{n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})(),(()=>{n.p="/v3/"})(),(()=>{var e={2143:0};n.f.j=(t,r)=>{var a=n.o(e,t)?e[t]:void 0;if(0!==a)if(a)r.push(a[2]);else{var i=new Promise(((n,r)=>a=e[t]=[n,r]));r.push(a[2]=i);var o=n.p+n.u(t),c=new Error,s=r=>{if(n.o(e,t)&&(a=e[t],0!==a&&(e[t]=void 0),a)){var i=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;c.message="Loading chunk "+t+" failed.\n("+i+": "+o+")",c.name="ChunkLoadError",c.type=i,c.request=o,a[1](c)}};n.l(o,s,"chunk-"+t,t)}},n.O.j=t=>0===e[t];var t=(t,r)=>{var a,i,[o,c,s]=r,l=0;if(o.some((t=>0!==e[t]))){for(a in c)n.o(c,a)&&(n.m[a]=c[a]);if(s)var p=s(n)}for(t&&t(r);ln(8163)));r=n.O(r)})(); \ No newline at end of file diff --git a/public/v3/js/chunk-common.98b27fd7.js b/public/v3/js/chunk-common.98b27fd7.js new file mode 100644 index 0000000000..605c165da9 --- /dev/null +++ b/public/v3/js/chunk-common.98b27fd7.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[3064],{160:(t,e,a)=>{a.d(e,{Z:()=>s});var r=a(5087);class s extends r.Z{constructor(){super("accounts")}get(t,e){let a={date:e};return e?this.apiGet(t,a):this.apiGet(t)}transactions(t,e){return this.apiGetChildren("transactions",t,e)}}},3836:(t,e,a)=>{a.d(e,{Z:()=>i});var r=a(1569),s=a(5087);class i extends s.Z{constructor(){super("accounts")}list(t,e,a){let s="/api/v1/accounts";return r.api.get(s,{params:{page:e,cache:a,type:t}})}}},1138:(t,e,a)=>{a.d(e,{Z:()=>s});var r=a(1569);class s{post(t){let e="/api/v1/accounts";return r.api.post(e,t)}}},7912:(t,e,a)=>{a.d(e,{Z:()=>s});var r=a(1569);class s{get(t){let e="/api/v1/budgets/"+t;return r.api.get(e)}transactions(t,e,a){let s="/api/v1/budgets/"+t+"/transactions";return r.api.get(s,{params:{page:e,cache:a}})}transactionsWithoutBudget(t,e){let a="/api/v1/budgets/transactions-without-budget";return r.api.get(a,{params:{page:t,cache:e}})}}},4255:(t,e,a)=>{a.d(e,{Z:()=>s});var r=a(1569);class s{get(t){let e="/api/v1/categories/"+t;return r.api.get(e)}transactions(t,e,a){let s="/api/v1/categories/"+t+"/transactions";return r.api.get(s,{params:{page:e,cache:a}})}transactionsWithoutCategory(t,e){let a="/api/v1/categories/transactions-without-category";return r.api.get(a,{params:{page:t,cache:e}})}}},1484:(t,e,a)=>{a.d(e,{Z:()=>s});var r=a(1569);class s{get(t){let e="/api/v1/currencies/"+t;return r.api.get(e)}transactions(t,e,a){let s="/api/v1/currencies/"+t+"/transactions";return r.api.get(s,{params:{page:e,cache:a}})}}},6108:(t,e,a)=>{a.d(e,{Z:()=>s});var r=a(1569);class s{list(t,e){let a="/api/v1/currencies";return r.api.get(a,{params:{page:t,cache:e}})}}},2684:(t,e,a)=>{a.d(e,{Z:()=>s});var r=a(1569);class s{post(t){let e="/api/v1/currencies";return r.api.post(e,t)}makeDefault(t){let e="/api/v1/currencies/"+t+"/default";return r.api.post(e)}}},7913:(t,e,a)=>{a.d(e,{Z:()=>s});var r=a(5087);class s extends r.Z{constructor(t){super(t)}}},1741:(t,e,a)=>{a.d(e,{Z:()=>s});var r=a(1569);class s{get(t){let e="/api/v1/object_groups/"+t;return r.api.get(e)}}},670:(t,e,a)=>{a.d(e,{Z:()=>s});var r=a(1569);class s{get(t){let e="/api/v1/piggy_banks/"+t;return r.api.get(e)}transactions(t,e,a){let s="/api/v1/piggy_banks/"+t+"/transactions";return r.api.get(s,{params:{page:e,cache:a}})}}},1592:(t,e,a)=>{a.d(e,{Z:()=>s});var r=a(1569);class s{put(t,e){let a="/api/v1/preferences/"+t;return r.api.put(a,{data:e})}}},4352:(t,e,a)=>{a.d(e,{Z:()=>s});var r=a(1569);class s{get(t){let e="/api/v1/recurrences/"+t;return r.api.get(e)}}},5087:(t,e,a)=>{a.d(e,{Z:()=>n});var r=a(5148),s=a.n(r),i=a(1569);class n{constructor(t){s()(this,"root","/api/v1/"),s()(this,"path",""),this.path=t}apiPath(){return this.root+this.path}apiPathId(t){return this.root+this.path+"/"+t}apiGet(t,e){let a=this.apiPathId(t);return e?i.api.get(a,{params:e}):i.api.get(a)}destroy(t){let e=this.apiPathId(t);return i.api["delete"](e)}apiPathChildren(t,e){return this.apiPathId(t)+"/"+e}apiGetChildren(t,e,a){let r=this.apiPathChildren(e,t),s="still-todo";return i.api.get(r,{params:{page:a,cache:s}})}apiList(t,e){let a="transactions",r="1",s="still-todo",n=this.apiPathChildren(r,a);return i.api.get(n,{params:{page:t,cache:s}})}}},6739:(t,e,a)=>{a.d(e,{Z:()=>s});var r=a(1569);class s{get(t,e){let a="/api/v1/rule_groups/"+t;return e?r.api.get(a,{params:{date:e}}):r.api.get(a)}rules(t,e,a){let s="/api/v1/rule_groups/"+t+"/rules";return r.api.get(s,{params:{page:e,cache:a}})}}},2416:(t,e,a)=>{a.d(e,{Z:()=>s});var r=a(1569);class s{list(t,e){let a="/api/v1/rule_groups";return r.api.get(a,{params:{page:t,cache:e}})}}},9543:(t,e,a)=>{a.d(e,{Z:()=>s});var r=a(1569);class s{get(t,e){let a="/api/v1/rules/"+t;return e?r.api.get(a,{params:{date:e}}):r.api.get(a)}}},3684:(t,e,a)=>{a.d(e,{Z:()=>s});var r=a(1569);class s{get(t){let e="/api/v1/bills/"+t;return r.api.get(e)}transactions(t,e,a){let s="/api/v1/bills/"+t+"/transactions";return r.api.get(s,{params:{page:e,cache:a}})}}},3918:(t,e,a)=>{a.d(e,{Z:()=>s});var r=a(1569);class s{get(t){return r.api.get("/api/v1/configuration/"+t)}put(t,e){return r.api.put("/api/v1/configuration/"+t,e)}}},9466:(t,e,a)=>{a.d(e,{Z:()=>s});var r=a(1569);class s{get(t){let e="api/v1/transactions/"+t;return r.api.get(e)}}},3247:(t,e,a)=>{a.d(e,{Z:()=>r});class r{parseResponse(t){let e={rows:[]};e.rowsPerPage=t.data.meta.pagination.per_page,e.rowsNumber=t.data.meta.pagination.total;for(let a in t.data.data)if(t.data.data.hasOwnProperty(a)){let r=t.data.data[a],s={group_id:r.id,splits:[],group_title:r.attributes.group_title};for(let t in r.attributes.transactions)if(r.attributes.transactions.hasOwnProperty(t)){let e=r.attributes.transactions[t],a={group_id:r.id,journal_id:parseInt(e.transaction_journal_id),type:e.type,description:e.description,amount:e.amount,date:e.date,source:e.source_name,destination:e.destination_name,category:e.category_name,budget:e.budget_name,currencyCode:e.currency_code};1===r.attributes.transactions.length&&0===parseInt(t)&&(s.group_title=e.description),0===parseInt(t)&&(s={...s,...a}),r.attributes.transactions.length>0&&(s.splits.push(a),t>0&&(s.amount=parseFloat(s.amount)+parseFloat(a.amount)))}e.rows.push(s)}return e}}},9599:(t,e,a)=>{a.d(e,{Z:()=>s});var r=a(1569);class s{get(t){let e="/api/v1/webhooks/"+t;return r.api.get(e)}}},8925:(t,e,a)=>{a.d(e,{Z:()=>I});var r=a(9835),s=a(6970),i=a(1957);const n={key:0},o={key:1},p=(0,r.Uk)("Edit"),l=(0,r.Uk)("Delete"),u={class:"text-left"},c=(0,r.Uk)(" j ");function d(t,e,a,d,g,w){const m=(0,r.up)("q-th"),f=(0,r.up)("q-tr"),h=(0,r.up)("q-btn"),y=(0,r.up)("q-td"),_=(0,r.up)("q-icon"),k=(0,r.up)("router-link"),b=(0,r.up)("q-item-label"),v=(0,r.up)("q-item-section"),Z=(0,r.up)("q-item"),W=(0,r.up)("q-list"),P=(0,r.up)("q-btn-dropdown"),q=(0,r.up)("q-table"),C=(0,r.Q2)("close-popup");return(0,r.wg)(),(0,r.j4)(q,{title:a.title,rows:a.rows,columns:g.columns,"row-key":"group_id",pagination:g.pagination,"onUpdate:pagination":e[0]||(e[0]=t=>g.pagination=t),loading:a.loading,class:"q-ma-md",onRequest:w.onRequest},{header:(0,r.w5)((t=>[(0,r.Wm)(f,{props:t},{default:(0,r.w5)((()=>[(0,r.Wm)(m,{"auto-width":""}),((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(t.cols,(e=>((0,r.wg)(),(0,r.j4)(m,{key:e.name,props:t},{default:(0,r.w5)((()=>[(0,r.Uk)((0,s.zw)(e.label),1)])),_:2},1032,["props"])))),128))])),_:2},1032,["props"])])),body:(0,r.w5)((t=>[(0,r.Wm)(f,{props:t},{default:(0,r.w5)((()=>[(0,r.Wm)(y,{"auto-width":""},{default:(0,r.w5)((()=>[t.row.splits.length>1?((0,r.wg)(),(0,r.j4)(h,{key:0,size:"sm",round:"",dense:"",onClick:e=>t.expand=!t.expand,icon:t.expand?"fas fa-minus-circle":"fas fa-plus-circle"},null,8,["onClick","icon"])):(0,r.kq)("",!0)])),_:2},1024),(0,r.Wm)(y,{key:"type",props:t},{default:(0,r.w5)((()=>["deposit"===t.row.type.toLowerCase()?((0,r.wg)(),(0,r.j4)(_,{key:0,class:"fas fa-long-arrow-alt-right"})):(0,r.kq)("",!0),"withdrawal"===t.row.type.toLowerCase()?((0,r.wg)(),(0,r.j4)(_,{key:1,class:"fas fa-long-arrow-alt-left"})):(0,r.kq)("",!0),"transfer"===t.row.type.toLowerCase()?((0,r.wg)(),(0,r.j4)(_,{key:2,class:"fas fa-arrows-alt-h"})):(0,r.kq)("",!0)])),_:2},1032,["props"]),(0,r.Wm)(y,{key:"description",props:t},{default:(0,r.w5)((()=>[(0,r.Wm)(k,{to:{name:"transactions.show",params:{id:t.row.group_id}},class:"text-primary"},{default:(0,r.w5)((()=>[1===t.row.splits.length?((0,r.wg)(),(0,r.iD)("span",n,(0,s.zw)(t.row.description),1)):(0,r.kq)("",!0),t.row.splits.length>1?((0,r.wg)(),(0,r.iD)("span",o,(0,s.zw)(t.row.group_title),1)):(0,r.kq)("",!0)])),_:2},1032,["to"])])),_:2},1032,["props"]),(0,r.Wm)(y,{key:"amount",props:t},{default:(0,r.w5)((()=>[(0,r.Uk)((0,s.zw)(w.formatAmount(t.row.currencyCode,t.row.amount)),1)])),_:2},1032,["props"]),(0,r.Wm)(y,{key:"date",props:t},{default:(0,r.w5)((()=>[(0,r.Uk)((0,s.zw)(w.formatDate(t.row.date)),1)])),_:2},1032,["props"]),(0,r.Wm)(y,{key:"source",props:t},{default:(0,r.w5)((()=>[(0,r.Uk)((0,s.zw)(t.row.source),1)])),_:2},1032,["props"]),(0,r.Wm)(y,{key:"destination",props:t},{default:(0,r.w5)((()=>[(0,r.Uk)((0,s.zw)(t.row.destination),1)])),_:2},1032,["props"]),(0,r.Wm)(y,{key:"category",props:t},{default:(0,r.w5)((()=>[(0,r.Uk)((0,s.zw)(t.row.category),1)])),_:2},1032,["props"]),(0,r.Wm)(y,{key:"budget",props:t},{default:(0,r.w5)((()=>[(0,r.Uk)((0,s.zw)(t.row.budget),1)])),_:2},1032,["props"]),(0,r.Wm)(y,{key:"menu",props:t},{default:(0,r.w5)((()=>[(0,r.Wm)(P,{color:"primary",label:"Actions",size:"sm"},{default:(0,r.w5)((()=>[(0,r.Wm)(W,null,{default:(0,r.w5)((()=>[(0,r.wy)(((0,r.wg)(),(0,r.j4)(Z,{clickable:"",to:{name:"transactions.edit",params:{id:t.row.group_id}}},{default:(0,r.w5)((()=>[(0,r.Wm)(v,null,{default:(0,r.w5)((()=>[(0,r.Wm)(b,null,{default:(0,r.w5)((()=>[p])),_:1})])),_:1})])),_:2},1032,["to"])),[[C]]),(0,r.wy)(((0,r.wg)(),(0,r.j4)(Z,{clickable:"",onClick:e=>w.deleteTransaction(t.row.group_id,t.row.description,t.row.group_title)},{default:(0,r.w5)((()=>[(0,r.Wm)(v,null,{default:(0,r.w5)((()=>[(0,r.Wm)(b,null,{default:(0,r.w5)((()=>[l])),_:1})])),_:1})])),_:2},1032,["onClick"])),[[C]])])),_:2},1024)])),_:2},1024)])),_:2},1032,["props"])])),_:2},1032,["props"]),((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(t.row.splits,(e=>(0,r.wy)(((0,r.wg)(),(0,r.j4)(f,{props:t},{default:(0,r.w5)((()=>[(0,r.Wm)(y,{"auto-width":""}),(0,r.Wm)(y,{"auto-width":""}),(0,r.Wm)(y,null,{default:(0,r.w5)((()=>[(0,r._)("div",u,(0,s.zw)(e.description),1)])),_:2},1024),(0,r.Wm)(y,{key:"amount",props:t},{default:(0,r.w5)((()=>[(0,r.Uk)((0,s.zw)(w.formatAmount(e.currencyCode,e.amount)),1)])),_:2},1032,["props"]),(0,r.Wm)(y,{key:"date"}),(0,r.Wm)(y,{key:"source"},{default:(0,r.w5)((()=>[(0,r.Uk)((0,s.zw)(e.source),1)])),_:2},1024),(0,r.Wm)(y,{key:"destination"},{default:(0,r.w5)((()=>[(0,r.Uk)((0,s.zw)(e.destination),1)])),_:2},1024),(0,r.Wm)(y,{key:"category"},{default:(0,r.w5)((()=>[(0,r.Uk)((0,s.zw)(e.category),1)])),_:2},1024),(0,r.Wm)(y,{key:"budget"},{default:(0,r.w5)((()=>[(0,r.Uk)((0,s.zw)(e.budget),1)])),_:2},1024),(0,r.Wm)(y,{key:"menu",props:t},{default:(0,r.w5)((()=>[c])),_:2},1032,["props"])])),_:2},1032,["props"])),[[i.F8,t.expand]]))),256))])),_:1},8,["title","rows","columns","pagination","loading","onRequest"])}var g=a(8898),w=a(7913);const m={name:"LargeTable",props:{title:String,rows:Array,loading:Boolean,page:Number,rowsPerPage:Number,rowsNumber:Number},data(){return{pagination:{sortBy:"desc",descending:!1,page:1,rowsPerPage:5,rowsNumber:100},columns:[{name:"type",label:" ",field:"type",style:"width: 30px"},{name:"description",label:"Description",field:"description",align:"left"},{name:"amount",label:"Amount",field:"amount"},{name:"date",label:"Date",field:"date",align:"left"},{name:"source",label:"Source",field:"source",align:"left"},{name:"destination",label:"Destination",field:"destination",align:"left"},{name:"category",label:"Category",field:"category",align:"left"},{name:"budget",label:"Budget",field:"budget",align:"left"},{name:"menu",label:" ",field:"menu",align:"left"}]}},mounted(){this.pagination.page=this.page,this.pagination.rowsPerPage=this.rowsPerPage,this.pagination.rowsNumber=this.rowsNumber},watch:{page:function(t){this.pagination.page=t},rowsPerPage:function(t){this.pagination.rowsPerPage=t},rowsNumber:function(t){this.pagination.rowsNumber=t}},methods:{formatDate:function(t){return(0,g.Z)(new Date(t),this.$t("config.month_and_day_fns"))},formatAmount:function(t,e){return Intl.NumberFormat("en-US",{style:"currency",currency:t}).format(e)},onRequest:function(t){this.$emit("on-request",{page:t.pagination.page})},deleteTransaction:function(t,e,a){let r=e;""!==a&&(r=a),this.$q.dialog({title:"Confirm",message:'Do you want to delete transaction "'+r+'"?',cancel:!0,persistent:!0}).onOk((()=>{this.destroyTransaction(t)}))},destroyTransaction:function(t){new w.Z("transactions").destroy(t).then((()=>{this.$store.dispatch("fireflyiii/refreshCacheKey")}))}}};var f=a(1639),h=a(1746),y=a(9546),_=a(1682),k=a(7220),b=a(8879),v=a(2857),Z=a(2045),W=a(3246),P=a(490),q=a(1233),C=a(3115),z=a(2146),U=a(9984),D=a.n(U);const j=(0,f.Z)(m,[["render",d]]),I=j;D()(m,"components",{QTable:h.Z,QTr:y.Z,QTh:_.Z,QTd:k.Z,QBtn:b.Z,QIcon:v.Z,QBtnDropdown:Z.Z,QList:W.Z,QItem:P.Z,QItemSection:q.Z,QItemLabel:C.Z}),D()(m,"directives",{ClosePopup:z.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/vendor.92714ea3.js b/public/v3/js/vendor.92714ea3.js new file mode 100644 index 0000000000..4b20a32249 --- /dev/null +++ b/public/v3/js/vendor.92714ea3.js @@ -0,0 +1,469 @@ +(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[4736],{9984:e=>{e.exports=function(e,t,n){const i=void 0!==e.__vccOpts?e.__vccOpts:e,o=i[t];if(void 0===o)i[t]=n;else for(const r in n)void 0===o[r]&&(o[r]=n[r])}},499:(e,t,n)=>{"use strict";n.d(t,{$y:()=>ze,B:()=>s,BK:()=>nt,Bj:()=>a,EB:()=>u,Fl:()=>at,IU:()=>Ne,Jd:()=>T,OT:()=>Oe,PG:()=>Ie,SU:()=>Ke,Um:()=>Ee,Vh:()=>ot,WL:()=>Qe,X$:()=>I,X3:()=>He,XI:()=>$e,Xl:()=>qe,YS:()=>Me,ZM:()=>tt,cE:()=>A,dq:()=>Ve,iH:()=>We,j:()=>O,lk:()=>E,nZ:()=>c,oR:()=>Ge,qj:()=>Fe,qq:()=>C,sT:()=>P});var i=n(6970);let o;const r=[];class a{constructor(e=!1){this.active=!0,this.effects=[],this.cleanups=[],!e&&o&&(this.parent=o,this.index=(o.scopes||(o.scopes=[])).push(this)-1)}run(e){if(this.active)try{return this.on(),e()}finally{this.off()}else 0}on(){this.active&&(r.push(this),o=this)}off(){this.active&&(r.pop(),o=r[r.length-1])}stop(e){if(this.active){if(this.effects.forEach((e=>e.stop())),this.cleanups.forEach((e=>e())),this.scopes&&this.scopes.forEach((e=>e.stop(!0))),this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.active=!1}}}function s(e){return new a(e)}function l(e,t){t=t||o,t&&t.active&&t.effects.push(e)}function c(){return o}function u(e){o&&o.cleanups.push(e)}const d=e=>{const t=new Set(e);return t.w=0,t.n=0,t},h=e=>(e.w&b)>0,f=e=>(e.n&b)>0,p=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let i=0;i0?y[e-1]:void 0}}stop(){this.active&&(_(this),this.onStop&&this.onStop(),this.active=!1)}}function _(e){const{deps:t}=e;if(t.length){for(let n=0;n{("length"===t||t>=o)&&l.push(e)}));else switch(void 0!==n&&l.push(s.get(n)),t){case"add":(0,i.kJ)(e)?(0,i.S0)(n)&&l.push(s.get("length")):(l.push(s.get(k)),(0,i._N)(e)&&l.push(s.get(S)));break;case"delete":(0,i.kJ)(e)||(l.push(s.get(k)),(0,i._N)(e)&&l.push(s.get(S)));break;case"set":(0,i._N)(e)&&l.push(s.get(k));break}if(1===l.length)l[0]&&z(l[0]);else{const e=[];for(const t of l)t&&e.push(...t);z(d(e))}}function z(e,t){for(const n of(0,i.kJ)(e)?e:[...e])(n!==w||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}const H=(0,i.fY)("__proto__,__v_isRef,__isVue"),N=new Set(Object.getOwnPropertyNames(Symbol).map((e=>Symbol[e])).filter(i.yk)),q=W(),D=W(!1,!0),B=W(!0),Y=W(!0,!0),X=V();function V(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=Ne(this);for(let t=0,o=this.length;t{e[t]=function(...e){T();const n=Ne(this)[t].apply(this,e);return E(),n}})),e}function W(e=!1,t=!1){return function(n,o,r){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_raw"===o&&r===(e?t?Le:Pe:t?Ae:_e).get(n))return n;const a=(0,i.kJ)(n);if(!e&&a&&(0,i.RI)(X,o))return Reflect.get(X,o,r);const s=Reflect.get(n,o,r);if((0,i.yk)(o)?N.has(o):H(o))return s;if(e||O(n,"get",o),t)return s;if(Ve(s)){const e=!a||!(0,i.S0)(o);return e?s.value:s}return(0,i.Kn)(s)?e?Oe(s):Fe(s):s}}const $=Z(),U=Z(!0);function Z(e=!1){return function(t,n,o,r){let a=t[n];if(!e&&!ze(o)&&(o=Ne(o),a=Ne(a),!(0,i.kJ)(t)&&Ve(a)&&!Ve(o)))return a.value=o,!0;const s=(0,i.kJ)(t)&&(0,i.S0)(n)?Number(n)e,oe=e=>Reflect.getPrototypeOf(e);function re(e,t,n=!1,i=!1){e=e["__v_raw"];const o=Ne(e),r=Ne(t);t!==r&&!n&&O(o,"get",t),!n&&O(o,"get",r);const{has:a}=oe(o),s=i?ie:n?Be:De;return a.call(o,t)?s(e.get(t)):a.call(o,r)?s(e.get(r)):void(e!==o&&e.get(t))}function ae(e,t=!1){const n=this["__v_raw"],i=Ne(n),o=Ne(e);return e!==o&&!t&&O(i,"has",e),!t&&O(i,"has",o),e===o?n.has(e):n.has(e)||n.has(o)}function se(e,t=!1){return e=e["__v_raw"],!t&&O(Ne(e),"iterate",k),Reflect.get(e,"size",e)}function le(e){e=Ne(e);const t=Ne(this),n=oe(t),i=n.has.call(t,e);return i||(t.add(e),I(t,"add",e,e)),this}function ce(e,t){t=Ne(t);const n=Ne(this),{has:o,get:r}=oe(n);let a=o.call(n,e);a||(e=Ne(e),a=o.call(n,e));const s=r.call(n,e);return n.set(e,t),a?(0,i.aU)(t,s)&&I(n,"set",e,t,s):I(n,"add",e,t),this}function ue(e){const t=Ne(this),{has:n,get:i}=oe(t);let o=n.call(t,e);o||(e=Ne(e),o=n.call(t,e));const r=i?i.call(t,e):void 0,a=t.delete(e);return o&&I(t,"delete",e,void 0,r),a}function de(){const e=Ne(this),t=0!==e.size,n=void 0,i=e.clear();return t&&I(e,"clear",void 0,void 0,n),i}function he(e,t){return function(n,i){const o=this,r=o["__v_raw"],a=Ne(r),s=t?ie:e?Be:De;return!e&&O(a,"iterate",k),r.forEach(((e,t)=>n.call(i,s(e),s(t),o)))}}function fe(e,t,n){return function(...o){const r=this["__v_raw"],a=Ne(r),s=(0,i._N)(a),l="entries"===e||e===Symbol.iterator&&s,c="keys"===e&&s,u=r[e](...o),d=n?ie:t?Be:De;return!t&&O(a,"iterate",c?S:k),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:l?[d(e[0]),d(e[1])]:d(e),done:t}},[Symbol.iterator](){return this}}}}function pe(e){return function(...t){return"delete"!==e&&this}}function ge(){const e={get(e){return re(this,e)},get size(){return se(this)},has:ae,add:le,set:ce,delete:ue,clear:de,forEach:he(!1,!1)},t={get(e){return re(this,e,!1,!0)},get size(){return se(this)},has:ae,add:le,set:ce,delete:ue,clear:de,forEach:he(!1,!0)},n={get(e){return re(this,e,!0)},get size(){return se(this,!0)},has(e){return ae.call(this,e,!0)},add:pe("add"),set:pe("set"),delete:pe("delete"),clear:pe("clear"),forEach:he(!0,!1)},i={get(e){return re(this,e,!0,!0)},get size(){return se(this,!0)},has(e){return ae.call(this,e,!0)},add:pe("add"),set:pe("set"),delete:pe("delete"),clear:pe("clear"),forEach:he(!0,!0)},o=["keys","values","entries",Symbol.iterator];return o.forEach((o=>{e[o]=fe(o,!1,!1),n[o]=fe(o,!0,!1),t[o]=fe(o,!1,!0),i[o]=fe(o,!0,!0)})),[e,n,t,i]}const[ve,me,be,xe]=ge();function ye(e,t){const n=t?e?xe:be:e?me:ve;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get((0,i.RI)(n,o)&&o in t?n:t,o,r)}const we={get:ye(!1,!1)},ke={get:ye(!1,!0)},Se={get:ye(!0,!1)},Ce={get:ye(!0,!0)};const _e=new WeakMap,Ae=new WeakMap,Pe=new WeakMap,Le=new WeakMap;function je(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Te(e){return e["__v_skip"]||!Object.isExtensible(e)?0:je((0,i.W7)(e))}function Fe(e){return e&&e["__v_isReadonly"]?e:Re(e,!1,Q,we,_e)}function Ee(e){return Re(e,!1,te,ke,Ae)}function Oe(e){return Re(e,!0,ee,Se,Pe)}function Me(e){return Re(e,!0,ne,Ce,Le)}function Re(e,t,n,o,r){if(!(0,i.Kn)(e))return e;if(e["__v_raw"]&&(!t||!e["__v_isReactive"]))return e;const a=r.get(e);if(a)return a;const s=Te(e);if(0===s)return e;const l=new Proxy(e,2===s?o:n);return r.set(e,l),l}function Ie(e){return ze(e)?Ie(e["__v_raw"]):!(!e||!e["__v_isReactive"])}function ze(e){return!(!e||!e["__v_isReadonly"])}function He(e){return Ie(e)||ze(e)}function Ne(e){const t=e&&e["__v_raw"];return t?Ne(t):e}function qe(e){return(0,i.Nj)(e,"__v_skip",!0),e}const De=e=>(0,i.Kn)(e)?Fe(e):e,Be=e=>(0,i.Kn)(e)?Oe(e):e;function Ye(e){M()&&(e=Ne(e),e.dep||(e.dep=d()),R(e.dep))}function Xe(e,t){e=Ne(e),e.dep&&z(e.dep)}function Ve(e){return Boolean(e&&!0===e.__v_isRef)}function We(e){return Ue(e,!1)}function $e(e){return Ue(e,!0)}function Ue(e,t){return Ve(e)?e:new Ze(e,t)}class Ze{constructor(e,t){this._shallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Ne(e),this._value=t?e:De(e)}get value(){return Ye(this),this._value}set value(e){e=this._shallow?e:Ne(e),(0,i.aU)(e,this._rawValue)&&(this._rawValue=e,this._value=this._shallow?e:De(e),Xe(this,e))}}function Ge(e){Xe(e,void 0)}function Ke(e){return Ve(e)?e.value:e}const Je={get:(e,t,n)=>Ke(Reflect.get(e,t,n)),set:(e,t,n,i)=>{const o=e[t];return Ve(o)&&!Ve(n)?(o.value=n,!0):Reflect.set(e,t,n,i)}};function Qe(e){return Ie(e)?e:new Proxy(e,Je)}class et{constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:t,set:n}=e((()=>Ye(this)),(()=>Xe(this)));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}function tt(e){return new et(e)}function nt(e){const t=(0,i.kJ)(e)?new Array(e.length):{};for(const n in e)t[n]=ot(e,n);return t}class it{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}}function ot(e,t,n){const i=e[t];return Ve(i)?i:new it(e,t,n)}class rt{constructor(e,t,n){this._setter=t,this.dep=void 0,this._dirty=!0,this.__v_isRef=!0,this.effect=new C(e,(()=>{this._dirty||(this._dirty=!0,Xe(this))})),this["__v_isReadonly"]=n}get value(){const e=Ne(this);return Ye(e),e._dirty&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function at(e,t){let n,o;const r=(0,i.mf)(e);r?(n=e,o=i.dG):(n=e.get,o=e.set);const a=new rt(n,o,r||!o);return a}Promise.resolve()},9835:(e,t,n)=>{"use strict";n.d(t,{$d:()=>ei,$y:()=>i.$y,Ah:()=>me,B:()=>i.B,BK:()=>i.BK,Bj:()=>i.Bj,Bz:()=>Hi,C3:()=>Ut,C_:()=>o.C_,Cn:()=>v,EB:()=>i.EB,Eo:()=>dt,F4:()=>tn,FN:()=>_n,Fl:()=>i.Fl,G:()=>to,HX:()=>m,HY:()=>Et,Ho:()=>nn,IU:()=>i.IU,JJ:()=>H,Jd:()=>ve,KU:()=>Qn,Ko:()=>hn,LL:()=>Lt,MW:()=>zi,MX:()=>Ki,Mr:()=>Gi,Nv:()=>fn,OT:()=>i.OT,Ob:()=>ne,P$:()=>Y,PG:()=>i.PG,Q2:()=>jt,Q6:()=>Z,RC:()=>J,Rh:()=>ji,Rr:()=>Di,S3:()=>ti,SU:()=>i.SU,U2:()=>V,Uc:()=>Ui,Uk:()=>on,Um:()=>i.Um,Us:()=>ut,Vh:()=>i.Vh,WI:()=>pn,WL:()=>i.WL,WY:()=>Ni,Wm:()=>Qt,X3:()=>i.X3,XI:()=>i.XI,Xl:()=>i.Xl,Xn:()=>pe,Y1:()=>Rn,Y3:()=>vi,Y8:()=>q,YP:()=>Ei,YS:()=>i.YS,Yq:()=>xe,ZK:()=>$n,ZM:()=>i.ZM,Zq:()=>Zi,_:()=>Jt,_A:()=>o._A,aZ:()=>G,b9:()=>qi,bT:()=>ye,bv:()=>fe,cE:()=>i.cE,d1:()=>we,dD:()=>g,dG:()=>un,dl:()=>oe,dq:()=>i.dq,ec:()=>l,eq:()=>no,f3:()=>N,h:()=>$i,hR:()=>o.hR,i8:()=>Qi,iD:()=>Xt,iH:()=>i.iH,ic:()=>ge,j4:()=>Vt,j5:()=>o.j5,kC:()=>o.kC,kq:()=>an,l1:()=>Bi,lA:()=>Wt,lR:()=>St,m0:()=>Li,mW:()=>r,mv:()=>Wi,mx:()=>vn,n4:()=>L,nK:()=>U,nQ:()=>Ji,nZ:()=>i.nZ,oR:()=>i.oR,of:()=>In,p1:()=>Vi,qG:()=>Rt,qZ:()=>Bt,qb:()=>Si,qj:()=>i.qj,qq:()=>i.qq,ry:()=>io,sT:()=>i.sT,se:()=>re,sv:()=>Mt,uE:()=>rn,u_:()=>Xi,up:()=>At,vl:()=>be,vs:()=>o.vs,w5:()=>b,wF:()=>he,wg:()=>Ht,wy:()=>Je,xv:()=>Ot,yX:()=>Ti,zw:()=>o.zw});var i=n(499),o=n(6970);new Set;new Map;let r,a=[],s=!1;function l(e,t){var n,i;if(r=e,r)r.enabled=!0,a.forEach((({event:e,args:t})=>r.emit(e,...t))),a=[];else if("undefined"!==typeof window&&window.HTMLElement&&!(null===(i=null===(n=window.navigator)||void 0===n?void 0:n.userAgent)||void 0===i?void 0:i.includes("jsdom"))){const e=t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[];e.push((e=>{l(e,t)})),setTimeout((()=>{r||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,s=!0,a=[])}),3e3)}else s=!0,a=[]}function c(e,t,...n){const i=e.vnode.props||o.kT;let r=n;const a=t.startsWith("update:"),s=a&&t.slice(7);if(s&&s in i){const e=`${"modelValue"===s?"model":s}Modifiers`,{number:t,trim:a}=i[e]||o.kT;a?r=n.map((e=>e.trim())):t&&(r=n.map(o.He))}let l;let c=i[l=(0,o.hR)(t)]||i[l=(0,o.hR)((0,o._A)(t))];!c&&a&&(c=i[l=(0,o.hR)((0,o.rs)(t))]),c&&ei(c,e,6,r);const u=i[l+"Once"];if(u){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,ei(u,e,6,r)}}function u(e,t,n=!1){const i=t.emitsCache,r=i.get(e);if(void 0!==r)return r;const a=e.emits;let s={},l=!1;if(!(0,o.mf)(e)){const i=e=>{const n=u(e,t,!0);n&&(l=!0,(0,o.l7)(s,n))};!n&&t.mixins.length&&t.mixins.forEach(i),e.extends&&i(e.extends),e.mixins&&e.mixins.forEach(i)}return a||l?((0,o.kJ)(a)?a.forEach((e=>s[e]=null)):(0,o.l7)(s,a),i.set(e,s),s):(i.set(e,null),null)}function d(e,t){return!(!e||!(0,o.F7)(t))&&(t=t.slice(2).replace(/Once$/,""),(0,o.RI)(e,t[0].toLowerCase()+t.slice(1))||(0,o.RI)(e,(0,o.rs)(t))||(0,o.RI)(e,t))}let h=null,f=null;function p(e){const t=h;return h=e,f=e&&e.type.__scopeId||null,t}function g(e){f=e}function v(){f=null}const m=e=>b;function b(e,t=h,n){if(!t)return e;if(e._n)return e;const i=(...n)=>{i._d&&Bt(-1);const o=p(t),r=e(...n);return p(o),i._d&&Bt(1),r};return i._n=!0,i._c=!0,i._d=!0,i}function x(e){const{type:t,vnode:n,proxy:i,withProxy:r,props:a,propsOptions:[s],slots:l,attrs:c,emit:u,render:d,renderCache:h,data:f,setupState:g,ctx:v,inheritAttrs:m}=e;let b,x;const y=p(e);try{if(4&n.shapeFlag){const e=r||i;b=sn(d.call(e,e,h,a,g,f,v)),x=c}else{const e=t;0,b=sn(e.length>1?e(a,{attrs:c,slots:l,emit:u}):e(a,null)),x=t.props?c:w(c)}}catch(C){It.length=0,ti(C,e,1),b=Qt(Mt)}let S=b;if(x&&!1!==m){const e=Object.keys(x),{shapeFlag:t}=S;e.length&&7&t&&(s&&e.some(o.tR)&&(x=k(x,s)),S=nn(S,x))}return n.dirs&&(S.dirs=S.dirs?S.dirs.concat(n.dirs):n.dirs),n.transition&&(S.transition=n.transition),b=S,p(y),b}function y(e){let t;for(let n=0;n{let t;for(const n in e)("class"===n||"style"===n||(0,o.F7)(n))&&((t||(t={}))[n]=e[n]);return t},k=(e,t)=>{const n={};for(const i in e)(0,o.tR)(i)&&i.slice(9)in t||(n[i]=e[i]);return n};function S(e,t,n){const{props:i,children:o,component:r}=e,{props:a,children:s,patchFlag:l}=t,c=r.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!o&&!s||s&&s.$stable)||i!==a&&(i?!a||C(i,a,c):!!a);if(1024&l)return!0;if(16&l)return i?C(i,a,c):!!a;if(8&l){const e=t.dynamicProps;for(let t=0;te.__isSuspense,P={name:"Suspense",__isSuspense:!0,process(e,t,n,i,o,r,a,s,l,c){null==e?T(t,n,i,o,r,a,s,l,c):F(e,t,n,i,o,a,s,l,c)},hydrate:O,create:E,normalize:M},L=P;function j(e,t){const n=e.props&&e.props[t];(0,o.mf)(n)&&n()}function T(e,t,n,i,o,r,a,s,l){const{p:c,o:{createElement:u}}=l,d=u("div"),h=e.suspense=E(e,o,i,t,d,n,r,a,s,l);c(null,h.pendingBranch=e.ssContent,d,null,i,h,r,a),h.deps>0?(j(e,"onPending"),j(e,"onFallback"),c(null,e.ssFallback,t,n,i,null,r,a),z(h,e.ssFallback)):h.resolve()}function F(e,t,n,i,o,r,a,s,{p:l,um:c,o:{createElement:u}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const h=t.ssContent,f=t.ssFallback,{activeBranch:p,pendingBranch:g,isInFallback:v,isHydrating:m}=d;if(g)d.pendingBranch=h,$t(h,g)?(l(g,h,d.hiddenContainer,null,o,d,r,a,s),d.deps<=0?d.resolve():v&&(l(p,f,n,i,o,null,r,a,s),z(d,f))):(d.pendingId++,m?(d.isHydrating=!1,d.activeBranch=g):c(g,o,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),v?(l(null,h,d.hiddenContainer,null,o,d,r,a,s),d.deps<=0?d.resolve():(l(p,f,n,i,o,null,r,a,s),z(d,f))):p&&$t(h,p)?(l(p,h,n,i,o,d,r,a,s),d.resolve(!0)):(l(null,h,d.hiddenContainer,null,o,d,r,a,s),d.deps<=0&&d.resolve()));else if(p&&$t(h,p))l(p,h,n,i,o,d,r,a,s),z(d,h);else if(j(t,"onPending"),d.pendingBranch=h,d.pendingId++,l(null,h,d.hiddenContainer,null,o,d,r,a,s),d.deps<=0)d.resolve();else{const{timeout:e,pendingId:t}=d;e>0?setTimeout((()=>{d.pendingId===t&&d.fallback(f)}),e):0===e&&d.fallback(f)}}function E(e,t,n,i,r,a,s,l,c,u,d=!1){const{p:h,m:f,um:p,n:g,o:{parentNode:v,remove:m}}=u,b=(0,o.He)(e.props&&e.props.timeout),x={vnode:e,parent:t,parentComponent:n,isSVG:s,container:i,hiddenContainer:r,anchor:a,deps:0,pendingId:0,timeout:"number"===typeof b?b:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:d,isUnmounted:!1,effects:[],resolve(e=!1){const{vnode:t,activeBranch:n,pendingBranch:i,pendingId:o,effects:r,parentComponent:a,container:s}=x;if(x.isHydrating)x.isHydrating=!1;else if(!e){const e=n&&i.transition&&"out-in"===i.transition.mode;e&&(n.transition.afterLeave=()=>{o===x.pendingId&&f(i,s,t,0)});let{anchor:t}=x;n&&(t=g(n),p(n,a,x,!0)),e||f(i,s,t,0)}z(x,i),x.pendingBranch=null,x.isInFallback=!1;let l=x.parent,c=!1;while(l){if(l.pendingBranch){l.effects.push(...r),c=!0;break}l=l.parent}c||Si(r),x.effects=[],j(t,"onResolve")},fallback(e){if(!x.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:i,container:o,isSVG:r}=x;j(t,"onFallback");const a=g(n),s=()=>{x.isInFallback&&(h(null,e,o,a,i,null,r,l,c),z(x,e))},u=e.transition&&"out-in"===e.transition.mode;u&&(n.transition.afterLeave=s),x.isInFallback=!0,p(n,i,null,!0),u||s()},move(e,t,n){x.activeBranch&&f(x.activeBranch,e,t,n),x.container=e},next(){return x.activeBranch&&g(x.activeBranch)},registerDep(e,t){const n=!!x.pendingBranch;n&&x.deps++;const i=e.vnode.el;e.asyncDep.catch((t=>{ti(t,e,0)})).then((o=>{if(e.isUnmounted||x.isUnmounted||x.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:r}=e;Mn(e,o,!1),i&&(r.el=i);const a=!i&&e.subTree.el;t(e,r,v(i||e.subTree.el),i?null:g(e.subTree),x,s,c),a&&m(a),_(e,r.el),n&&0===--x.deps&&x.resolve()}))},unmount(e,t){x.isUnmounted=!0,x.activeBranch&&p(x.activeBranch,n,e,t),x.pendingBranch&&p(x.pendingBranch,n,e,t)}};return x}function O(e,t,n,i,o,r,a,s,l){const c=t.suspense=E(t,i,n,e.parentNode,document.createElement("div"),null,o,r,a,s,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,r,a);return 0===c.deps&&c.resolve(),u}function M(e){const{shapeFlag:t,children:n}=e,i=32&t;e.ssContent=R(i?n.default:n),e.ssFallback=i?R(n.fallback):Qt(Mt)}function R(e){let t;if((0,o.mf)(e)){const n=Dt&&e._c;n&&(e._d=!1,Ht()),e=e(),n&&(e._d=!0,t=zt,Nt())}if((0,o.kJ)(e)){const t=y(e);0,e=t}return e=sn(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter((t=>t!==e))),e}function I(e,t){t&&t.pendingBranch?(0,o.kJ)(e)?t.effects.push(...e):t.effects.push(e):Si(e)}function z(e,t){e.activeBranch=t;const{vnode:n,parentComponent:i}=e,o=n.el=t.el;i&&i.subTree===n&&(i.vnode.el=o,_(i,o))}function H(e,t){if(Cn){let n=Cn.provides;const i=Cn.parent&&Cn.parent.provides;i===n&&(n=Cn.provides=Object.create(i)),n[e]=t}else 0}function N(e,t,n=!1){const i=Cn||h;if(i){const r=null==i.parent?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&(0,o.mf)(t)?t.call(i.proxy):t}else 0}function q(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return fe((()=>{e.isMounted=!0})),ve((()=>{e.isUnmounting=!0})),e}const D=[Function,Array],B={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:D,onEnter:D,onAfterEnter:D,onEnterCancelled:D,onBeforeLeave:D,onLeave:D,onAfterLeave:D,onLeaveCancelled:D,onBeforeAppear:D,onAppear:D,onAfterAppear:D,onAppearCancelled:D},setup(e,{slots:t}){const n=_n(),o=q();let r;return()=>{const a=t.default&&Z(t.default(),!0);if(!a||!a.length)return;const s=(0,i.IU)(e),{mode:l}=s;const c=a[0];if(o.isLeaving)return W(c);const u=$(c);if(!u)return W(c);const d=V(u,s,o,n);U(u,d);const h=n.subTree,f=h&&$(h);let p=!1;const{getTransitionKey:g}=u.type;if(g){const e=g();void 0===r?r=e:e!==r&&(r=e,p=!0)}if(f&&f.type!==Mt&&(!$t(u,f)||p)){const e=V(f,s,o,n);if(U(f,e),"out-in"===l)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,n.update()},W(c);"in-out"===l&&u.type!==Mt&&(e.delayLeave=(e,t,n)=>{const i=X(o,f);i[String(f.key)]=f,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete d.delayedLeave},d.delayedLeave=n})}return c}}},Y=B;function X(e,t){const{leavingVNodes:n}=e;let i=n.get(t.type);return i||(i=Object.create(null),n.set(t.type,i)),i}function V(e,t,n,i){const{appear:o,mode:r,persisted:a=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:h,onAfterLeave:f,onLeaveCancelled:p,onBeforeAppear:g,onAppear:v,onAfterAppear:m,onAppearCancelled:b}=t,x=String(e.key),y=X(n,e),w=(e,t)=>{e&&ei(e,i,9,t)},k={mode:r,persisted:a,beforeEnter(t){let i=s;if(!n.isMounted){if(!o)return;i=g||s}t._leaveCb&&t._leaveCb(!0);const r=y[x];r&&$t(e,r)&&r.el._leaveCb&&r.el._leaveCb(),w(i,[t])},enter(e){let t=l,i=c,r=u;if(!n.isMounted){if(!o)return;t=v||l,i=m||c,r=b||u}let a=!1;const s=e._enterCb=t=>{a||(a=!0,w(t?r:i,[e]),k.delayedLeave&&k.delayedLeave(),e._enterCb=void 0)};t?(t(e,s),t.length<=1&&s()):s()},leave(t,i){const o=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return i();w(d,[t]);let r=!1;const a=t._leaveCb=n=>{r||(r=!0,i(),w(n?p:f,[t]),t._leaveCb=void 0,y[o]===e&&delete y[o])};y[o]=e,h?(h(t,a),h.length<=1&&a()):a()},clone(e){return V(e,t,n,i)}};return k}function W(e){if(ee(e))return e=nn(e),e.children=null,e}function $(e){return ee(e)?e.children?e.children[0]:void 0:e}function U(e,t){6&e.shapeFlag&&e.component?U(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Z(e,t=!1){let n=[],i=0;for(let o=0;o1)for(let o=0;o!!e.type.__asyncLoader;function J(e){(0,o.mf)(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:a=200,timeout:s,suspensible:l=!0,onError:c}=e;let u,d=null,h=0;const f=()=>(h++,d=null,p()),p=()=>{let e;return d||(e=d=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),c)return new Promise(((t,n)=>{const i=()=>t(f()),o=()=>n(e);c(e,i,o,h+1)}));throw e})).then((t=>e!==d&&d?d:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),u=t,t))))};return G({name:"AsyncComponentWrapper",__asyncLoader:p,get __asyncResolved(){return u},setup(){const e=Cn;if(u)return()=>Q(u,e);const t=t=>{d=null,ti(t,e,13,!r)};if(l&&e.suspense||Fn)return p().then((t=>()=>Q(t,e))).catch((e=>(t(e),()=>r?Qt(r,{error:e}):null)));const o=(0,i.iH)(!1),c=(0,i.iH)(),h=(0,i.iH)(!!a);return a&&setTimeout((()=>{h.value=!1}),a),null!=s&&setTimeout((()=>{if(!o.value&&!c.value){const e=new Error(`Async component timed out after ${s}ms.`);t(e),c.value=e}}),s),p().then((()=>{o.value=!0,e.parent&&ee(e.parent.vnode)&&bi(e.parent.update)})).catch((e=>{t(e),c.value=e})),()=>o.value&&u?Q(u,e):c.value&&r?Qt(r,{error:c.value}):n&&!h.value?Qt(n):void 0}})}function Q(e,{vnode:{ref:t,props:n,children:i}}){const o=Qt(e,n,i);return o.ref=t,o}const ee=e=>e.type.__isKeepAlive,te={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=_n(),i=n.ctx;if(!i.renderer)return t.default;const r=new Map,a=new Set;let s=null;const l=n.suspense,{renderer:{p:c,m:u,um:d,o:{createElement:h}}}=i,f=h("div");function p(e){le(e),d(e,n,l)}function g(e){r.forEach(((t,n)=>{const i=Yn(t.type);!i||e&&e(i)||v(n)}))}function v(e){const t=r.get(e);s&&t.type===s.type?s&&le(s):p(t),r.delete(e),a.delete(e)}i.activate=(e,t,n,i,r)=>{const a=e.component;u(e,t,n,0,l),c(a.vnode,e,t,n,a,l,i,e.slotScopeIds,r),ct((()=>{a.isDeactivated=!1,a.a&&(0,o.ir)(a.a);const t=e.props&&e.props.onVnodeMounted;t&&dn(t,a.parent,e)}),l)},i.deactivate=e=>{const t=e.component;u(e,f,null,1,l),ct((()=>{t.da&&(0,o.ir)(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&dn(n,t.parent,e),t.isDeactivated=!0}),l)},Ei((()=>[e.include,e.exclude]),(([e,t])=>{e&&g((t=>ie(e,t))),t&&g((e=>!ie(t,e)))}),{flush:"post",deep:!0});let m=null;const b=()=>{null!=m&&r.set(m,ce(n.subTree))};return fe(b),ge(b),ve((()=>{r.forEach((e=>{const{subTree:t,suspense:i}=n,o=ce(t);if(e.type!==o.type)p(e);else{le(o);const e=o.component.da;e&&ct(e,i)}}))})),()=>{if(m=null,!t.default)return null;const n=t.default(),i=n[0];if(n.length>1)return s=null,n;if(!Wt(i)||!(4&i.shapeFlag)&&!(128&i.shapeFlag))return s=null,i;let o=ce(i);const l=o.type,c=Yn(K(o)?o.type.__asyncResolved||{}:l),{include:u,exclude:d,max:h}=e;if(u&&(!c||!ie(u,c))||d&&c&&ie(d,c))return s=o,i;const f=null==o.key?l:o.key,p=r.get(f);return o.el&&(o=nn(o),128&i.shapeFlag&&(i.ssContent=o)),m=f,p?(o.el=p.el,o.component=p.component,o.transition&&U(o,o.transition),o.shapeFlag|=512,a.delete(f),a.add(f)):(a.add(f),h&&a.size>parseInt(h,10)&&v(a.values().next().value)),o.shapeFlag|=256,s=o,i}}},ne=te;function ie(e,t){return(0,o.kJ)(e)?e.some((e=>ie(e,t))):(0,o.HD)(e)?e.split(",").indexOf(t)>-1:!!e.test&&e.test(t)}function oe(e,t){ae(e,"a",t)}function re(e,t){ae(e,"da",t)}function ae(e,t,n=Cn){const i=e.__wdc||(e.__wdc=()=>{let t=n;while(t){if(t.isDeactivated)return;t=t.parent}return e()});if(ue(t,i,n),n){let e=n.parent;while(e&&e.parent)ee(e.parent.vnode)&&se(i,t,n,e),e=e.parent}}function se(e,t,n,i){const r=ue(t,e,i,!0);me((()=>{(0,o.Od)(i[t],r)}),n)}function le(e){let t=e.shapeFlag;256&t&&(t-=256),512&t&&(t-=512),e.shapeFlag=t}function ce(e){return 128&e.shapeFlag?e.ssContent:e}function ue(e,t,n=Cn,o=!1){if(n){const r=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;(0,i.Jd)(),An(n);const r=ei(t,n,e,o);return Pn(),(0,i.lk)(),r});return o?r.unshift(a):r.push(a),a}}const de=e=>(t,n=Cn)=>(!Fn||"sp"===e)&&ue(e,t,n),he=de("bm"),fe=de("m"),pe=de("bu"),ge=de("u"),ve=de("bum"),me=de("um"),be=de("sp"),xe=de("rtg"),ye=de("rtc");function we(e,t=Cn){ue("ec",e,t)}let ke=!0;function Se(e){const t=Pe(e),n=e.proxy,r=e.ctx;ke=!1,t.beforeCreate&&_e(t.beforeCreate,e,"bc");const{data:a,computed:s,methods:l,watch:c,provide:u,inject:d,created:h,beforeMount:f,mounted:p,beforeUpdate:g,updated:v,activated:m,deactivated:b,beforeDestroy:x,beforeUnmount:y,destroyed:w,unmounted:k,render:S,renderTracked:C,renderTriggered:_,errorCaptured:A,serverPrefetch:P,expose:L,inheritAttrs:j,components:T,directives:F,filters:E}=t,O=null;if(d&&Ce(d,r,O,e.appContext.config.unwrapInjectedRef),l)for(const i in l){const e=l[i];(0,o.mf)(e)&&(r[i]=e.bind(n))}if(a){0;const t=a.call(n,n);0,(0,o.Kn)(t)&&(e.data=(0,i.qj)(t))}if(ke=!0,s)for(const R in s){const e=s[R],t=(0,o.mf)(e)?e.bind(n,n):(0,o.mf)(e.get)?e.get.bind(n,n):o.dG;0;const a=!(0,o.mf)(e)&&(0,o.mf)(e.set)?e.set.bind(n):o.dG,l=(0,i.Fl)({get:t,set:a});Object.defineProperty(r,R,{enumerable:!0,configurable:!0,get:()=>l.value,set:e=>l.value=e})}if(c)for(const i in c)Ae(c[i],r,n,i);if(u){const e=(0,o.mf)(u)?u.call(n):u;Reflect.ownKeys(e).forEach((t=>{H(t,e[t])}))}function M(e,t){(0,o.kJ)(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(h&&_e(h,e,"c"),M(he,f),M(fe,p),M(pe,g),M(ge,v),M(oe,m),M(re,b),M(we,A),M(ye,C),M(xe,_),M(ve,y),M(me,k),M(be,P),(0,o.kJ)(L))if(L.length){const t=e.exposed||(e.exposed={});L.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});S&&e.render===o.dG&&(e.render=S),null!=j&&(e.inheritAttrs=j),T&&(e.components=T),F&&(e.directives=F)}function Ce(e,t,n=o.dG,r=!1){(0,o.kJ)(e)&&(e=Ee(e));for(const a in e){const n=e[a];let s;s=(0,o.Kn)(n)?"default"in n?N(n.from||a,n.default,!0):N(n.from||a):N(n),(0,i.dq)(s)&&r?Object.defineProperty(t,a,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e}):t[a]=s}}function _e(e,t,n){ei((0,o.kJ)(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function Ae(e,t,n,i){const r=i.includes(".")?Ri(n,i):()=>n[i];if((0,o.HD)(e)){const n=t[e];(0,o.mf)(n)&&Ei(r,n)}else if((0,o.mf)(e))Ei(r,e.bind(n));else if((0,o.Kn)(e))if((0,o.kJ)(e))e.forEach((e=>Ae(e,t,n,i)));else{const i=(0,o.mf)(e.handler)?e.handler.bind(n):t[e.handler];(0,o.mf)(i)&&Ei(r,i,e)}else 0}function Pe(e){const t=e.type,{mixins:n,extends:i}=t,{mixins:o,optionsCache:r,config:{optionMergeStrategies:a}}=e.appContext,s=r.get(t);let l;return s?l=s:o.length||n||i?(l={},o.length&&o.forEach((e=>Le(l,e,a,!0))),Le(l,t,a)):l=t,r.set(t,l),l}function Le(e,t,n,i=!1){const{mixins:o,extends:r}=t;r&&Le(e,r,n,!0),o&&o.forEach((t=>Le(e,t,n,!0)));for(const a in t)if(i&&"expose"===a);else{const i=je[a]||n&&n[a];e[a]=i?i(e[a],t[a]):t[a]}return e}const je={data:Te,props:Me,emits:Me,methods:Me,computed:Me,beforeCreate:Oe,created:Oe,beforeMount:Oe,mounted:Oe,beforeUpdate:Oe,updated:Oe,beforeDestroy:Oe,beforeUnmount:Oe,destroyed:Oe,unmounted:Oe,activated:Oe,deactivated:Oe,errorCaptured:Oe,serverPrefetch:Oe,components:Me,directives:Me,watch:Re,provide:Te,inject:Fe};function Te(e,t){return t?e?function(){return(0,o.l7)((0,o.mf)(e)?e.call(this,this):e,(0,o.mf)(t)?t.call(this,this):t)}:t:e}function Fe(e,t){return Me(Ee(e),Ee(t))}function Ee(e){if((0,o.kJ)(e)){const t={};for(let n=0;n0)||16&l){let i;He(e,t,a,s)&&(d=!0);for(const r in c)t&&((0,o.RI)(t,r)||(i=(0,o.rs)(r))!==r&&(0,o.RI)(t,i))||(u?!n||void 0===n[r]&&void 0===n[i]||(a[r]=Ne(u,c,r,void 0,e,!0)):delete a[r]);if(s!==c)for(const e in s)t&&(0,o.RI)(t,e)||(delete s[e],d=!0)}else if(8&l){const n=e.vnode.dynamicProps;for(let i=0;i{c=!0;const[n,i]=qe(e,t,!0);(0,o.l7)(s,n),i&&l.push(...i)};!n&&t.mixins.length&&t.mixins.forEach(i),e.extends&&i(e.extends),e.mixins&&e.mixins.forEach(i)}if(!a&&!c)return i.set(e,o.Z6),o.Z6;if((0,o.kJ)(a))for(let d=0;d-1,i[1]=n<0||e-1||(0,o.RI)(i,"default"))&&l.push(t)}}}}const u=[s,l];return i.set(e,u),u}function De(e){return"$"!==e[0]}function Be(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:null===e?"null":""}function Ye(e,t){return Be(e)===Be(t)}function Xe(e,t){return(0,o.kJ)(t)?t.findIndex((t=>Ye(t,e))):(0,o.mf)(t)&&Ye(t,e)?0:-1}const Ve=e=>"_"===e[0]||"$stable"===e,We=e=>(0,o.kJ)(e)?e.map(sn):[sn(e)],$e=(e,t,n)=>{const i=b(((...e)=>We(t(...e))),n);return i._c=!1,i},Ue=(e,t,n)=>{const i=e._ctx;for(const r in e){if(Ve(r))continue;const n=e[r];if((0,o.mf)(n))t[r]=$e(r,n,i);else if(null!=n){0;const e=We(n);t[r]=()=>e}}},Ze=(e,t)=>{const n=We(t);e.slots.default=()=>n},Ge=(e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=(0,i.IU)(t),(0,o.Nj)(t,"_",n)):Ue(t,e.slots={})}else e.slots={},t&&Ze(e,t);(0,o.Nj)(e.slots,Zt,1)},Ke=(e,t,n)=>{const{vnode:i,slots:r}=e;let a=!0,s=o.kT;if(32&i.shapeFlag){const e=t._;e?n&&1===e?a=!1:((0,o.l7)(r,t),n||1!==e||delete r._):(a=!t.$stable,Ue(t,r)),s=t}else t&&(Ze(e,t),s={default:1});if(a)for(const o in r)Ve(o)||o in s||delete r[o]};function Je(e,t){const n=h;if(null===n)return e;const i=n.proxy,r=e.dirs||(e.dirs=[]);for(let a=0;ait(e,t&&((0,o.kJ)(t)?t[i]:t),n,r,a)));if(K(r)&&!a)return;const s=4&r.shapeFlag?qn(r.component)||r.component.proxy:r.el,l=a?null:s,{i:c,r:u}=e;const d=t&&t.r,h=c.refs===o.kT?c.refs={}:c.refs,f=c.setupState;if(null!=d&&d!==u&&((0,o.HD)(d)?(h[d]=null,(0,o.RI)(f,d)&&(f[d]=null)):(0,i.dq)(d)&&(d.value=null)),(0,o.mf)(u))Qn(u,c,12,[l,h]);else{const t=(0,o.HD)(u),r=(0,i.dq)(u);if(t||r){const r=()=>{if(e.f){const n=t?h[u]:u.value;a?(0,o.kJ)(n)&&(0,o.Od)(n,s):(0,o.kJ)(n)?n.includes(s)||n.push(s):t?h[u]=[s]:(u.value=[s],e.k&&(h[e.k]=u.value))}else t?(h[u]=l,(0,o.RI)(f,u)&&(f[u]=l)):(0,i.dq)(u)&&(u.value=l,e.k&&(h[e.k]=l))};l?(r.id=-1,ct(r,n)):r()}else 0}}let ot=!1;const rt=e=>/svg/.test(e.namespaceURI)&&"foreignObject"!==e.tagName,at=e=>8===e.nodeType;function st(e){const{mt:t,p:n,o:{patchProp:i,nextSibling:r,parentNode:a,remove:s,insert:l,createComment:c}}=e,u=(e,t)=>{if(!t.hasChildNodes())return n(null,e,t),void _i();ot=!1,d(t.firstChild,e,null,null,null),_i(),ot&&console.error("Hydration completed but contains mismatches.")},d=(n,i,o,s,l,c=!1)=>{const u=at(n)&&"["===n.data,m=()=>g(n,i,o,s,l,u),{type:b,ref:x,shapeFlag:y}=i,w=n.nodeType;i.el=n;let k=null;switch(b){case Ot:3!==w?k=m():(n.data!==i.children&&(ot=!0,n.data=i.children),k=r(n));break;case Mt:k=8!==w||u?m():r(n);break;case Rt:if(1===w){k=n;const e=!i.children.length;for(let t=0;t{l=l||!!t.dynamicChildren;const{type:c,props:u,patchFlag:d,shapeFlag:h,dirs:p}=t,g="input"===c&&p||"option"===c;if(g||-1!==d){if(p&&Qe(t,null,n,"created"),u)if(g||!l||48&d)for(const t in u)(g&&t.endsWith("value")||(0,o.F7)(t)&&!(0,o.Gg)(t))&&i(e,t,null,u[t],!1,void 0,n);else u.onClick&&i(e,"onClick",null,u.onClick,!1,void 0,n);let c;if((c=u&&u.onVnodeBeforeMount)&&dn(c,n,t),p&&Qe(t,null,n,"beforeMount"),((c=u&&u.onVnodeMounted)||p)&&I((()=>{c&&dn(c,n,t),p&&Qe(t,null,n,"mounted")}),r),16&h&&(!u||!u.innerHTML&&!u.textContent)){let i=f(e.firstChild,t,e,n,r,a,l);while(i){ot=!0;const e=i;i=i.nextSibling,s(e)}}else 8&h&&e.textContent!==t.children&&(ot=!0,e.textContent=t.children)}return e.nextSibling},f=(e,t,i,o,r,a,s)=>{s=s||!!t.dynamicChildren;const l=t.children,c=l.length;for(let u=0;u{const{slotScopeIds:u}=t;u&&(o=o?o.concat(u):u);const d=a(e),h=f(r(e),t,d,n,i,o,s);return h&&at(h)&&"]"===h.data?r(t.anchor=h):(ot=!0,l(t.anchor=c("]"),d,h),h)},g=(e,t,i,o,l,c)=>{if(ot=!0,t.el=null,c){const t=v(e);while(1){const n=r(e);if(!n||n===t)break;s(n)}}const u=r(e),d=a(e);return s(e),n(null,t,d,u,i,o,rt(d),l),u},v=e=>{let t=0;while(e)if(e=r(e),e&&at(e)&&("["===e.data&&t++,"]"===e.data)){if(0===t)return r(e);t--}return e};return[u,d]}function lt(){}const ct=I;function ut(e){return ht(e)}function dt(e){return ht(e,st)}function ht(e,t){lt();const n=(0,o.E9)();n.__VUE__=!0;const{insert:r,remove:a,patchProp:s,createElement:l,createText:c,createComment:u,setText:d,setElementText:h,parentNode:f,nextSibling:p,setScopeId:g=o.dG,cloneNode:v,insertStaticContent:m}=e,b=(e,t,n,i=null,o=null,r=null,a=!1,s=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!$t(e,t)&&(i=Z(e),X(e,o,r,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case Ot:y(e,t,n,i);break;case Mt:w(e,t,n,i);break;case Rt:null==e&&k(t,n,i,a);break;case Et:M(e,t,n,i,o,r,a,s,l);break;default:1&d?P(e,t,n,i,o,r,a,s,l):6&d?R(e,t,n,i,o,r,a,s,l):(64&d||128&d)&&c.process(e,t,n,i,o,r,a,s,l,J)}null!=u&&o&&it(u,e&&e.ref,r,t||e,!t)},y=(e,t,n,i)=>{if(null==e)r(t.el=c(t.children),n,i);else{const n=t.el=e.el;t.children!==e.children&&d(n,t.children)}},w=(e,t,n,i)=>{null==e?r(t.el=u(t.children||""),n,i):t.el=e.el},k=(e,t,n,i)=>{[e.el,e.anchor]=m(e.children,t,n,i)},C=({el:e,anchor:t},n,i)=>{let o;while(e&&e!==t)o=p(e),r(e,n,i),e=o;r(t,n,i)},A=({el:e,anchor:t})=>{let n;while(e&&e!==t)n=p(e),a(e),e=n;a(t)},P=(e,t,n,i,o,r,a,s,l)=>{a=a||"svg"===t.type,null==e?L(t,n,i,o,r,a,s,l):F(e,t,o,r,a,s,l)},L=(e,t,n,i,a,c,u,d)=>{let f,p;const{type:g,props:m,shapeFlag:b,transition:x,patchFlag:y,dirs:w}=e;if(e.el&&void 0!==v&&-1===y)f=e.el=v(e.el);else{if(f=e.el=l(e.type,c,m&&m.is,m),8&b?h(f,e.children):16&b&&T(e.children,f,null,i,a,c&&"foreignObject"!==g,u,d),w&&Qe(e,null,i,"created"),m){for(const t in m)"value"===t||(0,o.Gg)(t)||s(f,t,null,m[t],c,e.children,i,a,U);"value"in m&&s(f,"value",null,m.value),(p=m.onVnodeBeforeMount)&&dn(p,i,e)}j(f,e,e.scopeId,u,i)}w&&Qe(e,null,i,"beforeMount");const k=(!a||a&&!a.pendingBranch)&&x&&!x.persisted;k&&x.beforeEnter(f),r(f,t,n),((p=m&&m.onVnodeMounted)||k||w)&&ct((()=>{p&&dn(p,i,e),k&&x.enter(f),w&&Qe(e,null,i,"mounted")}),a)},j=(e,t,n,i,o)=>{if(n&&g(e,n),i)for(let r=0;r{for(let c=l;c{const c=t.el=e.el;let{patchFlag:u,dynamicChildren:d,dirs:f}=t;u|=16&e.patchFlag;const p=e.props||o.kT,g=t.props||o.kT;let v;n&&ft(n,!1),(v=g.onVnodeBeforeUpdate)&&dn(v,n,t,e),f&&Qe(t,e,n,"beforeUpdate"),n&&ft(n,!0);const m=r&&"foreignObject"!==t.type;if(d?E(e.dynamicChildren,d,c,n,i,m,a):l||q(e,t,c,null,n,i,m,a,!1),u>0){if(16&u)O(c,t,p,g,n,i,r);else if(2&u&&p.class!==g.class&&s(c,"class",null,g.class,r),4&u&&s(c,"style",p.style,g.style,r),8&u){const o=t.dynamicProps;for(let t=0;t{v&&dn(v,n,t,e),f&&Qe(t,e,n,"updated")}),i)},E=(e,t,n,i,o,r,a)=>{for(let s=0;s{if(n!==i){for(const c in i){if((0,o.Gg)(c))continue;const u=i[c],d=n[c];u!==d&&"value"!==c&&s(e,c,d,u,l,t.children,r,a,U)}if(n!==o.kT)for(const c in n)(0,o.Gg)(c)||c in i||s(e,c,n[c],null,l,t.children,r,a,U);"value"in i&&s(e,"value",n.value,i.value)}},M=(e,t,n,i,o,a,s,l,u)=>{const d=t.el=e?e.el:c(""),h=t.anchor=e?e.anchor:c("");let{patchFlag:f,dynamicChildren:p,slotScopeIds:g}=t;g&&(l=l?l.concat(g):g),null==e?(r(d,n,i),r(h,n,i),T(t.children,n,h,o,a,s,l,u)):f>0&&64&f&&p&&e.dynamicChildren?(E(e.dynamicChildren,p,n,o,a,s,l),(null!=t.key||o&&t===o.subTree)&&pt(e,t,!0)):q(e,t,n,h,o,a,s,l,u)},R=(e,t,n,i,o,r,a,s,l)=>{t.slotScopeIds=s,null==e?512&t.shapeFlag?o.ctx.activate(t,n,i,a,l):I(t,n,i,o,r,a,l):z(e,t,l)},I=(e,t,n,i,o,r,a)=>{const s=e.component=Sn(e,i,o);if(ee(e)&&(s.ctx.renderer=J),En(s),s.asyncDep){if(o&&o.registerDep(s,H),!e.el){const e=s.subTree=Qt(Mt);w(null,e,t,n)}}else H(s,e,t,n,o,r,a)},z=(e,t,n)=>{const i=t.component=e.component;if(S(e,t,n)){if(i.asyncDep&&!i.asyncResolved)return void N(i,t,n);i.next=t,yi(i.update),i.update()}else t.component=e.component,t.el=e.el,i.vnode=t},H=(e,t,n,r,a,s,l)=>{const c=()=>{if(e.isMounted){let t,{next:n,bu:i,u:r,parent:c,vnode:u}=e,d=n;0,ft(e,!1),n?(n.el=u.el,N(e,n,l)):n=u,i&&(0,o.ir)(i),(t=n.props&&n.props.onVnodeBeforeUpdate)&&dn(t,c,n,u),ft(e,!0);const h=x(e);0;const p=e.subTree;e.subTree=h,b(p,h,f(p.el),Z(p),e,a,s),n.el=h.el,null===d&&_(e,h.el),r&&ct(r,a),(t=n.props&&n.props.onVnodeUpdated)&&ct((()=>dn(t,c,n,u)),a)}else{let i;const{el:l,props:c}=t,{bm:u,m:d,parent:h}=e,f=K(t);if(ft(e,!1),u&&(0,o.ir)(u),!f&&(i=c&&c.onVnodeBeforeMount)&&dn(i,h,t),ft(e,!0),l&&te){const n=()=>{e.subTree=x(e),te(l,e.subTree,e,a,null)};f?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{0;const i=e.subTree=x(e);0,b(null,i,n,r,e,a,s),t.el=i.el}if(d&&ct(d,a),!f&&(i=c&&c.onVnodeMounted)){const e=t;ct((()=>dn(i,h,e)),a)}256&t.shapeFlag&&e.a&&ct(e.a,a),e.isMounted=!0,t=n=r=null}},u=e.effect=new i.qq(c,(()=>bi(e.update)),e.scope),d=e.update=u.run.bind(u);d.id=e.uid,ft(e,!0),d()},N=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,ze(e,t.props,o,n),Ke(e,t.children,n),(0,i.Jd)(),Ci(void 0,e.update),(0,i.lk)()},q=(e,t,n,i,o,r,a,s,l=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:f,shapeFlag:p}=t;if(f>0){if(128&f)return void B(c,d,n,i,o,r,a,s,l);if(256&f)return void D(c,d,n,i,o,r,a,s,l)}8&p?(16&u&&U(c,o,r),d!==c&&h(n,d)):16&u?16&p?B(c,d,n,i,o,r,a,s,l):U(c,o,r,!0):(8&u&&h(n,""),16&p&&T(d,n,i,o,r,a,s,l))},D=(e,t,n,i,r,a,s,l,c)=>{e=e||o.Z6,t=t||o.Z6;const u=e.length,d=t.length,h=Math.min(u,d);let f;for(f=0;fd?U(e,r,a,!0,!1,h):T(t,n,i,r,a,s,l,c,h)},B=(e,t,n,i,r,a,s,l,c)=>{let u=0;const d=t.length;let h=e.length-1,f=d-1;while(u<=h&&u<=f){const i=e[u],o=t[u]=c?ln(t[u]):sn(t[u]);if(!$t(i,o))break;b(i,o,n,null,r,a,s,l,c),u++}while(u<=h&&u<=f){const i=e[h],o=t[f]=c?ln(t[f]):sn(t[f]);if(!$t(i,o))break;b(i,o,n,null,r,a,s,l,c),h--,f--}if(u>h){if(u<=f){const e=f+1,o=ef)while(u<=h)X(e[u],r,a,!0),u++;else{const p=u,g=u,v=new Map;for(u=g;u<=f;u++){const e=t[u]=c?ln(t[u]):sn(t[u]);null!=e.key&&v.set(e.key,u)}let m,x=0;const y=f-g+1;let w=!1,k=0;const S=new Array(y);for(u=0;u=y){X(i,r,a,!0);continue}let o;if(null!=i.key)o=v.get(i.key);else for(m=g;m<=f;m++)if(0===S[m-g]&&$t(i,t[m])){o=m;break}void 0===o?X(i,r,a,!0):(S[o-g]=u+1,o>=k?k=o:w=!0,b(i,t[o],n,null,r,a,s,l,c),x++)}const C=w?gt(S):o.Z6;for(m=C.length-1,u=y-1;u>=0;u--){const e=g+u,o=t[e],h=e+1{const{el:a,type:s,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void Y(e.component.subTree,t,n,i);if(128&u)return void e.suspense.move(t,n,i);if(64&u)return void s.move(e,t,n,J);if(s===Et){r(a,t,n);for(let e=0;el.enter(a)),o);else{const{leave:e,delayLeave:i,afterLeave:o}=l,s=()=>r(a,t,n),c=()=>{e(a,(()=>{s(),o&&o()}))};i?i(a,s,c):c()}else r(a,t,n)},X=(e,t,n,i=!1,o=!1)=>{const{type:r,props:a,ref:s,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:h}=e;if(null!=s&&it(s,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const f=1&u&&h,p=!K(e);let g;if(p&&(g=a&&a.onVnodeBeforeUnmount)&&dn(g,t,e),6&u)$(e.component,n,i);else{if(128&u)return void e.suspense.unmount(n,i);f&&Qe(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,o,J,i):c&&(r!==Et||d>0&&64&d)?U(c,t,n,!1,!0):(r===Et&&384&d||!o&&16&u)&&U(l,t,n),i&&V(e)}(p&&(g=a&&a.onVnodeUnmounted)||f)&&ct((()=>{g&&dn(g,t,e),f&&Qe(e,null,t,"unmounted")}),n)},V=e=>{const{type:t,el:n,anchor:i,transition:o}=e;if(t===Et)return void W(n,i);if(t===Rt)return void A(e);const r=()=>{a(n),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&e.shapeFlag&&o&&!o.persisted){const{leave:t,delayLeave:i}=o,a=()=>t(n,r);i?i(e.el,r,a):a()}else r()},W=(e,t)=>{let n;while(e!==t)n=p(e),a(e),e=n;a(t)},$=(e,t,n)=>{const{bum:i,scope:r,update:a,subTree:s,um:l}=e;i&&(0,o.ir)(i),r.stop(),a&&(a.active=!1,X(s,e,t,n)),l&&ct(l,t),ct((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},U=(e,t,n,i=!1,o=!1,r=0)=>{for(let a=r;a6&e.shapeFlag?Z(e.component.subTree):128&e.shapeFlag?e.suspense.next():p(e.anchor||e.el),G=(e,t,n)=>{null==e?t._vnode&&X(t._vnode,null,null,!0):b(t._vnode||null,e,t,null,null,null,n),_i(),t._vnode=e},J={p:b,um:X,m:Y,r:V,mt:I,mc:T,pc:q,pbc:E,n:Z,o:e};let Q,te;return t&&([Q,te]=t(J)),{render:G,hydrate:Q,createApp:nt(G,Q)}}function ft({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function pt(e,t,n=!1){const i=e.children,r=t.children;if((0,o.kJ)(i)&&(0,o.kJ)(r))for(let o=0;o>1,e[n[s]]0&&(t[i]=n[r-1]),n[r]=i)}}r=n.length,a=n[r-1];while(r-- >0)n[r]=a,a=t[a];return n}const vt=e=>e.__isTeleport,mt=e=>e&&(e.disabled||""===e.disabled),bt=e=>"undefined"!==typeof SVGElement&&e instanceof SVGElement,xt=(e,t)=>{const n=e&&e.to;if((0,o.HD)(n)){if(t){const e=t(n);return e}return null}return n},yt={__isTeleport:!0,process(e,t,n,i,o,r,a,s,l,c){const{mc:u,pc:d,pbc:h,o:{insert:f,querySelector:p,createText:g,createComment:v}}=c,m=mt(t.props);let{shapeFlag:b,children:x,dynamicChildren:y}=t;if(null==e){const e=t.el=g(""),c=t.anchor=g("");f(e,n,i),f(c,n,i);const d=t.target=xt(t.props,p),h=t.targetAnchor=g("");d&&(f(h,d),a=a||bt(d));const v=(e,t)=>{16&b&&u(x,e,t,o,r,a,s,l)};m?v(n,c):d&&v(d,h)}else{t.el=e.el;const i=t.anchor=e.anchor,u=t.target=e.target,f=t.targetAnchor=e.targetAnchor,g=mt(e.props),v=g?n:u,b=g?i:f;if(a=a||bt(u),y?(h(e.dynamicChildren,y,v,o,r,a,s),pt(e,t,!0)):l||d(e,t,v,b,o,r,a,s,!1),m)g||wt(t,n,i,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=xt(t.props,p);e&&wt(t,e,null,c,0)}else g&&wt(t,u,f,c,1)}},remove(e,t,n,i,{um:o,o:{remove:r}},a){const{shapeFlag:s,children:l,anchor:c,targetAnchor:u,target:d,props:h}=e;if(d&&r(u),(a||!mt(h))&&(r(c),16&s))for(let f=0;f0?zt||o.Z6:null,Nt(),Dt>0&&zt&&zt.push(e),e}function Xt(e,t,n,i,o,r){return Yt(Jt(e,t,n,i,o,r,!0))}function Vt(e,t,n,i,o){return Yt(Qt(e,t,n,i,o,!0))}function Wt(e){return!!e&&!0===e.__v_isVNode}function $t(e,t){return e.type===t.type&&e.key===t.key}function Ut(e){qt=e}const Zt="__vInternal",Gt=({key:e})=>null!=e?e:null,Kt=({ref:e,ref_key:t,ref_for:n})=>null!=e?(0,o.HD)(e)||(0,i.dq)(e)||(0,o.mf)(e)?{i:h,r:e,k:t,f:!!n}:e:null;function Jt(e,t=null,n=null,i=0,r=null,a=(e===Et?0:1),s=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Gt(t),ref:t&&Kt(t),scopeId:f,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:i,dynamicProps:r,dynamicChildren:null,appContext:null};return l?(cn(c,n),128&a&&e.normalize(c)):n&&(c.shapeFlag|=(0,o.HD)(n)?8:16),Dt>0&&!s&&zt&&(c.patchFlag>0||6&a)&&32!==c.patchFlag&&zt.push(c),c}const Qt=en;function en(e,t=null,n=null,r=0,a=null,s=!1){if(e&&e!==Pt||(e=Mt),Wt(e)){const i=nn(e,t,!0);return n&&cn(i,n),i}if(Vn(e)&&(e=e.__vccOpts),t){t=tn(t);let{class:e,style:n}=t;e&&!(0,o.HD)(e)&&(t.class=(0,o.C_)(e)),(0,o.Kn)(n)&&((0,i.X3)(n)&&!(0,o.kJ)(n)&&(n=(0,o.l7)({},n)),t.style=(0,o.j5)(n))}const l=(0,o.HD)(e)?1:A(e)?128:vt(e)?64:(0,o.Kn)(e)?4:(0,o.mf)(e)?2:0;return Jt(e,t,n,r,a,l,s,!0)}function tn(e){return e?(0,i.X3)(e)||Zt in e?(0,o.l7)({},e):e:null}function nn(e,t,n=!1){const{props:i,ref:r,patchFlag:a,children:s}=e,l=t?un(i||{},t):i,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Gt(l),ref:t&&t.ref?n&&r?(0,o.kJ)(r)?r.concat(Kt(t)):[r,Kt(t)]:Kt(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Et?-1===a?16:16|a:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&nn(e.ssContent),ssFallback:e.ssFallback&&nn(e.ssFallback),el:e.el,anchor:e.anchor};return c}function on(e=" ",t=0){return Qt(Ot,null,e,t)}function rn(e,t){const n=Qt(Rt,null,e);return n.staticCount=t,n}function an(e="",t=!1){return t?(Ht(),Vt(Mt,null,e)):Qt(Mt,null,e)}function sn(e){return null==e||"boolean"===typeof e?Qt(Mt):(0,o.kJ)(e)?Qt(Et,null,e.slice()):"object"===typeof e?ln(e):Qt(Ot,null,String(e))}function ln(e){return null===e.el||e.memo?e:nn(e)}function cn(e,t){let n=0;const{shapeFlag:i}=e;if(null==t)t=null;else if((0,o.kJ)(t))n=16;else if("object"===typeof t){if(65&i){const n=t.default;return void(n&&(n._c&&(n._d=!1),cn(e,n()),n._c&&(n._d=!0)))}{n=32;const i=t._;i||Zt in t?3===i&&h&&(1===h.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=h}}else(0,o.mf)(t)?(t={default:t,_ctx:h},n=32):(t=String(t),64&i?(n=16,t=[on(t)]):n=8);e.children=t,e.shapeFlag|=n}function un(...e){const t={};for(let n=0;nt(e,n,void 0,a&&a[n])));else{const n=Object.keys(e);r=new Array(n.length);for(let i=0,o=n.length;i!Wt(e)||e.type!==Mt&&!(e.type===Et&&!gn(e.children))))?e:null}function vn(e){const t={};for(const n in e)t[(0,o.hR)(n)]=e[n];return t}const mn=e=>e?Ln(e)?qn(e)||e.proxy:mn(e.parent):null,bn=(0,o.l7)(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>mn(e.parent),$root:e=>mn(e.root),$emit:e=>e.emit,$options:e=>Pe(e),$forceUpdate:e=>()=>bi(e.update),$nextTick:e=>vi.bind(e.proxy),$watch:e=>Mi.bind(e)}),xn={get({_:e},t){const{ctx:n,setupState:r,data:a,props:s,accessCache:l,type:c,appContext:u}=e;let d;if("$"!==t[0]){const i=l[t];if(void 0!==i)switch(i){case 1:return r[t];case 2:return a[t];case 4:return n[t];case 3:return s[t]}else{if(r!==o.kT&&(0,o.RI)(r,t))return l[t]=1,r[t];if(a!==o.kT&&(0,o.RI)(a,t))return l[t]=2,a[t];if((d=e.propsOptions[0])&&(0,o.RI)(d,t))return l[t]=3,s[t];if(n!==o.kT&&(0,o.RI)(n,t))return l[t]=4,n[t];ke&&(l[t]=0)}}const h=bn[t];let f,p;return h?("$attrs"===t&&(0,i.j)(e,"get",t),h(e)):(f=c.__cssModules)&&(f=f[t])?f:n!==o.kT&&(0,o.RI)(n,t)?(l[t]=4,n[t]):(p=u.config.globalProperties,(0,o.RI)(p,t)?p[t]:void 0)},set({_:e},t,n){const{data:i,setupState:r,ctx:a}=e;if(r!==o.kT&&(0,o.RI)(r,t))r[t]=n;else if(i!==o.kT&&(0,o.RI)(i,t))i[t]=n;else if((0,o.RI)(e.props,t))return!1;return("$"!==t[0]||!(t.slice(1)in e))&&(a[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:i,appContext:r,propsOptions:a}},s){let l;return!!n[s]||e!==o.kT&&(0,o.RI)(e,s)||t!==o.kT&&(0,o.RI)(t,s)||(l=a[0])&&(0,o.RI)(l,s)||(0,o.RI)(i,s)||(0,o.RI)(bn,s)||(0,o.RI)(r.config.globalProperties,s)}};const yn=(0,o.l7)({},xn,{get(e,t){if(t!==Symbol.unscopables)return xn.get(e,t,e)},has(e,t){const n="_"!==t[0]&&!(0,o.e1)(t);return n}});const wn=et();let kn=0;function Sn(e,t,n){const r=e.type,a=(t?t.appContext:e.appContext)||wn,s={uid:kn++,vnode:e,type:r,parent:t,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,scope:new i.Bj(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(a.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:qe(r,a),emitsOptions:u(r,a),emit:null,emitted:null,propsDefaults:o.kT,inheritAttrs:r.inheritAttrs,ctx:o.kT,data:o.kT,props:o.kT,attrs:o.kT,slots:o.kT,refs:o.kT,setupState:o.kT,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=c.bind(null,s),e.ce&&e.ce(s),s}let Cn=null;const _n=()=>Cn||h,An=e=>{Cn=e,e.scope.on()},Pn=()=>{Cn&&Cn.scope.off(),Cn=null};function Ln(e){return 4&e.vnode.shapeFlag}let jn,Tn,Fn=!1;function En(e,t=!1){Fn=t;const{props:n,children:i}=e.vnode,o=Ln(e);Ie(e,n,o,t),Ge(e,i);const r=o?On(e,t):void 0;return Fn=!1,r}function On(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=(0,i.Xl)(new Proxy(e.ctx,xn));const{setup:r}=n;if(r){const n=e.setupContext=r.length>1?Nn(e):null;An(e),(0,i.Jd)();const a=Qn(r,e,0,[e.props,n]);if((0,i.lk)(),Pn(),(0,o.tI)(a)){if(a.then(Pn,Pn),t)return a.then((n=>{Mn(e,n,t)})).catch((t=>{ti(t,e,0)}));e.asyncDep=a}else Mn(e,a,t)}else zn(e,t)}function Mn(e,t,n){(0,o.mf)(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:(0,o.Kn)(t)&&(e.setupState=(0,i.WL)(t)),zn(e,n)}function Rn(e){jn=e,Tn=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,yn))}}const In=()=>!jn;function zn(e,t,n){const r=e.type;if(!e.render){if(!t&&jn&&!r.render){const t=r.template;if(t){0;const{isCustomElement:n,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:s}=r,l=(0,o.l7)((0,o.l7)({isCustomElement:n,delimiters:a},i),s);r.render=jn(t,l)}}e.render=r.render||o.dG,Tn&&Tn(e)}An(e),(0,i.Jd)(),Se(e),(0,i.lk)(),Pn()}function Hn(e){return new Proxy(e.attrs,{get(t,n){return(0,i.j)(e,"get","$attrs"),t[n]}})}function Nn(e){const t=t=>{e.exposed=t||{}};let n;return{get attrs(){return n||(n=Hn(e))},slots:e.slots,emit:e.emit,expose:t}}function qn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy((0,i.WL)((0,i.Xl)(e.exposed)),{get(t,n){return n in t?t[n]:n in bn?bn[n](e):void 0}}))}const Dn=/(?:^|[-_])(\w)/g,Bn=e=>e.replace(Dn,(e=>e.toUpperCase())).replace(/[-_]/g,"");function Yn(e){return(0,o.mf)(e)&&e.displayName||e.name}function Xn(e,t,n=!1){let i=Yn(t);if(!i&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(i=e[1])}if(!i&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};i=n(e.components||e.parent.type.components)||n(e.appContext.components)}return i?Bn(i):n?"App":"Anonymous"}function Vn(e){return(0,o.mf)(e)&&"__vccOpts"in e}const Wn=[];function $n(e,...t){(0,i.Jd)();const n=Wn.length?Wn[Wn.length-1].component:null,o=n&&n.appContext.config.warnHandler,r=Un();if(o)Qn(o,n,11,[e+t.join(""),n&&n.proxy,r.map((({vnode:e})=>`at <${Xn(n,e.type)}>`)).join("\n"),r]);else{const n=[`[Vue warn]: ${e}`,...t];r.length&&n.push("\n",...Zn(r)),console.warn(...n)}(0,i.lk)()}function Un(){let e=Wn[Wn.length-1];if(!e)return[];const t=[];while(e){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const i=e.component&&e.component.parent;e=i&&i.vnode}return t}function Zn(e){const t=[];return e.forEach(((e,n)=>{t.push(...0===n?[]:["\n"],...Gn(e))})),t}function Gn({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",i=!!e.component&&null==e.component.parent,o=` at <${Xn(e.component,e.type,i)}`,r=">"+n;return e.props?[o,...Kn(e.props),r]:[o+r]}function Kn(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...Jn(n,e[n]))})),n.length>3&&t.push(" ..."),t}function Jn(e,t,n){return(0,o.HD)(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"===typeof t||"boolean"===typeof t||null==t?n?t:[`${e}=${t}`]:(0,i.dq)(t)?(t=Jn(e,(0,i.IU)(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):(0,o.mf)(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=(0,i.IU)(t),n?t:[`${e}=`,t])}function Qn(e,t,n,i){let o;try{o=i?e(...i):e()}catch(r){ti(r,t,n)}return o}function ei(e,t,n,i){if((0,o.mf)(e)){const r=Qn(e,t,n,i);return r&&(0,o.tI)(r)&&r.catch((e=>{ti(e,t,n)})),r}const r=[];for(let o=0;o>>1,o=Ai(ri[i]);oai&&ri.splice(t,1)}function wi(e,t,n,i){(0,o.kJ)(e)?n.push(...e):t&&t.includes(e,e.allowRecurse?i+1:i)||n.push(e),xi()}function ki(e){wi(e,li,si,ci)}function Si(e){wi(e,di,ui,hi)}function Ci(e,t=null){if(si.length){for(gi=t,li=[...new Set(si)],si.length=0,ci=0;ciAi(e)-Ai(t))),hi=0;hinull==e.id?1/0:e.id;function Pi(e){oi=!1,ii=!0,Ci(e),ri.sort(((e,t)=>Ai(e)-Ai(t)));o.dG;try{for(ai=0;aie.value,h=!!e._shallow):(0,i.PG)(e)?(u=()=>e,r=!0):(0,o.kJ)(e)?(f=!0,h=e.some(i.PG),u=()=>e.map((e=>(0,i.dq)(e)?e.value:(0,i.PG)(e)?Ii(e):(0,o.mf)(e)?Qn(e,c,2):void 0))):u=(0,o.mf)(e)?t?()=>Qn(e,c,2):()=>{if(!c||!c.isUnmounted)return d&&d(),ei(e,c,3,[p])}:o.dG,t&&r){const e=u;u=()=>Ii(e())}let p=e=>{d=b.onStop=()=>{Qn(e,c,4)}};if(Fn)return p=o.dG,t?n&&ei(t,c,3,[u(),f?[]:void 0,p]):u(),o.dG;let g=f?[]:Fi;const v=()=>{if(b.active)if(t){const e=b.run();(r||h||(f?e.some(((e,t)=>(0,o.aU)(e,g[t]))):(0,o.aU)(e,g)))&&(d&&d(),ei(t,c,3,[e,g===Fi?void 0:g,p]),g=e)}else b.run()};let m;v.allowRecurse=!!t,m="sync"===a?v:"post"===a?()=>ct(v,c&&c.suspense):()=>{!c||c.isMounted?ki(v):v()};const b=new i.qq(u,m);return t?n?v():g=b.run():"post"===a?ct(b.run.bind(b),c&&c.suspense):b.run(),()=>{b.stop(),c&&c.scope&&(0,o.Od)(c.scope.effects,b)}}function Mi(e,t,n){const i=this.proxy,r=(0,o.HD)(e)?e.includes(".")?Ri(i,e):()=>i[e]:e.bind(i,i);let a;(0,o.mf)(t)?a=t:(a=t.handler,n=t);const s=Cn;An(this);const l=Oi(r,a.bind(i),n);return s?An(s):Pn(),l}function Ri(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e{Ii(e,t)}));else if((0,o.PO)(e))for(const n in e)Ii(e[n],t);return e}function zi(){return null}function Hi(){return null}function Ni(e){0}function qi(e,t){return null}function Di(){return Yi().slots}function Bi(){return Yi().attrs}function Yi(){const e=_n();return e.setupContext||(e.setupContext=Nn(e))}function Xi(e,t){const n=(0,o.kJ)(e)?e.reduce(((e,t)=>(e[t]={},e)),{}):e;for(const i in t){const e=n[i];e?(0,o.kJ)(e)||(0,o.mf)(e)?n[i]={type:e,default:t[i]}:e.default=t[i]:null===e&&(n[i]={default:t[i]})}return n}function Vi(e,t){const n={};for(const i in e)t.includes(i)||Object.defineProperty(n,i,{enumerable:!0,get:()=>e[i]});return n}function Wi(e){const t=_n();let n=e();return Pn(),(0,o.tI)(n)&&(n=n.catch((e=>{throw An(t),e}))),[n,()=>An(t)]}function $i(e,t,n){const i=arguments.length;return 2===i?(0,o.Kn)(t)&&!(0,o.kJ)(t)?Wt(t)?Qt(e,null,[t]):Qt(e,t):Qt(e,null,t):(i>3?n=Array.prototype.slice.call(arguments,2):3===i&&Wt(n)&&(n=[n]),Qt(e,t,n))}const Ui=Symbol(""),Zi=()=>{{const e=N(Ui);return e||$n("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function Gi(){return void 0}function Ki(e,t,n,i){const o=n[i];if(o&&Ji(o,e))return o;const r=t();return r.memo=e.slice(),n[i]=r}function Ji(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let i=0;i0&&zt&&zt.push(e),!0}const Qi="3.2.26",eo={createComponentInstance:Sn,setupComponent:En,renderComponentRoot:x,setCurrentRenderingInstance:p,isVNode:Wt,normalizeVNode:sn},to=eo,no=null,io=null},1957:(e,t,n)=>{"use strict";n.d(t,{$d:()=>o.$d,$y:()=>o.$y,Ah:()=>z,B:()=>o.B,BK:()=>o.BK,Bj:()=>o.Bj,Bz:()=>o.Bz,C3:()=>o.C3,C_:()=>o.C_,Cn:()=>o.Cn,D2:()=>Ie,EB:()=>o.EB,Eo:()=>o.Eo,F4:()=>o.F4,F8:()=>ze,FN:()=>o.FN,Fl:()=>o.Fl,G:()=>o.G,G2:()=>Ce,HX:()=>o.HX,HY:()=>o.HY,Ho:()=>o.Ho,IU:()=>o.IU,JJ:()=>o.JJ,Jd:()=>o.Jd,KU:()=>o.KU,Ko:()=>o.Ko,LL:()=>o.LL,MW:()=>I,MX:()=>o.MX,Mr:()=>o.Mr,Nd:()=>Ke,Nv:()=>o.Nv,OT:()=>o.OT,Ob:()=>o.Ob,P$:()=>o.P$,PG:()=>o.PG,Q2:()=>o.Q2,Q6:()=>o.Q6,RC:()=>o.RC,Rh:()=>o.Rh,Rr:()=>o.Rr,S3:()=>o.S3,SK:()=>o.Ah,SU:()=>o.SU,U2:()=>o.U2,Uc:()=>o.Uc,Uk:()=>o.Uk,Um:()=>o.Um,Us:()=>o.Us,Vh:()=>o.Vh,W3:()=>he,WI:()=>o.WI,WL:()=>o.WL,WY:()=>o.WY,Wm:()=>o.Wm,X3:()=>o.X3,XI:()=>o.XI,Xl:()=>o.Xl,Xn:()=>o.Xn,Y1:()=>o.Y1,Y3:()=>o.Y3,Y8:()=>o.Y8,YP:()=>o.YP,YS:()=>o.YS,YZ:()=>je,Yq:()=>o.Yq,ZB:()=>We,ZK:()=>o.ZK,ZM:()=>o.ZM,Zq:()=>o.Zq,_:()=>o._,_A:()=>o._A,a2:()=>N,aZ:()=>o.aZ,b9:()=>o.b9,bM:()=>_e,bT:()=>o.bT,bv:()=>o.bv,cE:()=>o.cE,d1:()=>o.d1,dD:()=>o.dD,dG:()=>o.dG,dl:()=>o.dl,dq:()=>o.dq,e8:()=>ke,ec:()=>o.ec,eq:()=>o.eq,f3:()=>o.f3,fb:()=>q,h:()=>o.h,hR:()=>o.hR,i8:()=>o.i8,iD:()=>o.iD,iH:()=>o.iH,iM:()=>Me,ic:()=>o.ic,j4:()=>o.j4,j5:()=>o.j5,kC:()=>o.kC,kq:()=>o.kq,l1:()=>o.l1,lA:()=>o.lA,lR:()=>o.lR,m0:()=>o.m0,mW:()=>o.mW,mv:()=>o.mv,mx:()=>o.mx,n4:()=>o.n4,nK:()=>o.nK,nQ:()=>o.nQ,nZ:()=>o.nZ,nr:()=>we,oR:()=>o.oR,of:()=>o.of,p1:()=>o.p1,qG:()=>o.qG,qZ:()=>o.qZ,qb:()=>o.qb,qj:()=>o.qj,qq:()=>o.qq,ri:()=>$e,ry:()=>o.ry,sT:()=>o.sT,sY:()=>Ve,se:()=>o.se,sj:()=>D,sv:()=>o.sv,uE:()=>o.uE,uT:()=>W,u_:()=>o.u_,up:()=>o.up,vl:()=>o.vl,vr:()=>Ue,vs:()=>o.vs,w5:()=>o.w5,wF:()=>o.wF,wg:()=>o.wg,wy:()=>o.wy,xv:()=>o.xv,yX:()=>o.yX,yb:()=>o.MW,zw:()=>o.zw});var i=n(6970),o=n(9835),r=n(499);const a="http://www.w3.org/2000/svg",s="undefined"!==typeof document?document:null,l=new Map,c={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,i)=>{const o=t?s.createElementNS(a,e):s.createElement(e,n?{is:n}:void 0);return"select"===e&&i&&null!=i.multiple&&o.setAttribute("multiple",i.multiple),o},createText:e=>s.createTextNode(e),createComment:e=>s.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>s.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,i){const o=n?n.previousSibling:t.lastChild;let r=l.get(e);if(!r){const t=s.createElement("template");if(t.innerHTML=i?`${e}`:e,r=t.content,i){const e=r.firstChild;while(e.firstChild)r.appendChild(e.firstChild);r.removeChild(e)}l.set(e,r)}return t.insertBefore(r.cloneNode(!0),n),[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function u(e,t,n){const i=e._vtc;i&&(t=(t?[t,...i]:[...i]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function d(e,t,n){const o=e.style,r=(0,i.HD)(n);if(n&&!r){for(const e in n)f(o,e,n[e]);if(t&&!(0,i.HD)(t))for(const e in t)null==n[e]&&f(o,e,"")}else{const i=o.display;r?t!==n&&(o.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(o.display=i)}}const h=/\s*!important$/;function f(e,t,n){if((0,i.kJ)(n))n.forEach((n=>f(e,t,n)));else if(t.startsWith("--"))e.setProperty(t,n);else{const o=v(e,t);h.test(n)?e.setProperty((0,i.rs)(o),n.replace(h,""),"important"):e[o]=n}}const p=["Webkit","Moz","ms"],g={};function v(e,t){const n=g[t];if(n)return n;let o=(0,i._A)(t);if("filter"!==o&&o in e)return g[t]=o;o=(0,i.kC)(o);for(let i=0;idocument.createEvent("Event").timeStamp&&(y=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);w=!!(e&&Number(e[1])<=53)}let k=0;const S=Promise.resolve(),C=()=>{k=0},_=()=>k||(S.then(C),k=y());function A(e,t,n,i){e.addEventListener(t,n,i)}function P(e,t,n,i){e.removeEventListener(t,n,i)}function L(e,t,n,i,o=null){const r=e._vei||(e._vei={}),a=r[t];if(i&&a)a.value=i;else{const[n,s]=T(t);if(i){const a=r[t]=F(i,o);A(e,n,a,s)}else a&&(P(e,n,a,s),r[t]=void 0)}}const j=/(?:Once|Passive|Capture)$/;function T(e){let t;if(j.test(e)){let n;t={};while(n=e.match(j))e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[(0,i.rs)(e.slice(2)),t]}function F(e,t){const n=e=>{const i=e.timeStamp||y();(w||i>=n.attached-1)&&(0,o.$d)(E(e,n.value),t,5,[e])};return n.value=e,n.attached=_(),n}function E(e,t){if((0,i.kJ)(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e(t)))}return t}const O=/^on[a-z]/,M=(e,t,n,o,r=!1,a,s,l,c)=>{"class"===t?u(e,o,r):"style"===t?d(e,n,o):(0,i.F7)(t)?(0,i.tR)(t)||L(e,t,n,o,s):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):R(e,t,o,r))?x(e,t,o,a,s,l,c):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),b(e,t,o,r))};function R(e,t,n,o){return o?"innerHTML"===t||"textContent"===t||!!(t in e&&O.test(t)&&(0,i.mf)(n)):"spellcheck"!==t&&"draggable"!==t&&("form"!==t&&(("list"!==t||"INPUT"!==e.tagName)&&(("type"!==t||"TEXTAREA"!==e.tagName)&&((!O.test(t)||!(0,i.HD)(n))&&t in e))))}function I(e,t){const n=(0,o.aZ)(e);class i extends N{constructor(e){super(n,e,t)}}return i.def=n,i}const z=e=>I(e,We),H="undefined"!==typeof HTMLElement?HTMLElement:class{};class N extends H{constructor(e,t={},n){super(),this._def=e,this._props=t,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&n?n(this._createVNode(),this.shadowRoot):this.attachShadow({mode:"open"})}connectedCallback(){this._connected=!0,this._instance||this._resolveDef()}disconnectedCallback(){this._connected=!1,(0,o.Y3)((()=>{this._connected||(Ve(null,this.shadowRoot),this._instance=null)}))}_resolveDef(){if(this._resolved)return;this._resolved=!0;for(let n=0;n{for(const t of e)this._setAttr(t.attributeName)})).observe(this,{attributes:!0});const e=e=>{const{props:t,styles:n}=e,o=!(0,i.kJ)(t),r=t?o?Object.keys(t):t:[];let a;if(o)for(const s in this._props){const e=t[s];(e===Number||e&&e.type===Number)&&(this._props[s]=(0,i.He)(this._props[s]),(a||(a=Object.create(null)))[s]=!0)}this._numberProps=a;for(const i of Object.keys(this))"_"!==i[0]&&this._setProp(i,this[i],!0,!1);for(const s of r.map(i._A))Object.defineProperty(this,s,{get(){return this._getProp(s)},set(e){this._setProp(s,e)}});this._applyStyles(n),this._update()},t=this._def.__asyncLoader;t?t().then(e):e(this._def)}_setAttr(e){let t=this.getAttribute(e);this._numberProps&&this._numberProps[e]&&(t=(0,i.He)(t)),this._setProp((0,i._A)(e),t,!1)}_getProp(e){return this._props[e]}_setProp(e,t,n=!0,o=!0){t!==this._props[e]&&(this._props[e]=t,o&&this._instance&&this._update(),n&&(!0===t?this.setAttribute((0,i.rs)(e),""):"string"===typeof t||"number"===typeof t?this.setAttribute((0,i.rs)(e),t+""):t||this.removeAttribute((0,i.rs)(e))))}_update(){Ve(this._createVNode(),this.shadowRoot)}_createVNode(){const e=(0,o.Wm)(this._def,(0,i.l7)({},this._props));return this._instance||(e.ce=e=>{this._instance=e,e.isCE=!0,e.emit=(e,...t)=>{this.dispatchEvent(new CustomEvent(e,{detail:t}))};let t=this;while(t=t&&(t.parentNode||t.host))if(t instanceof N){e.parent=t._instance;break}}),e}_applyStyles(e){e&&e.forEach((e=>{const t=document.createElement("style");t.textContent=e,this.shadowRoot.appendChild(t)}))}}function q(e="$style"){{const t=(0,o.FN)();if(!t)return i.kT;const n=t.type.__cssModules;if(!n)return i.kT;const r=n[e];return r||i.kT}}function D(e){const t=(0,o.FN)();if(!t)return;const n=()=>B(t.subTree,e(t.proxy));(0,o.Rh)(n),(0,o.bv)((()=>{const e=new MutationObserver(n);e.observe(t.subTree.el.parentNode,{childList:!0}),(0,o.Ah)((()=>e.disconnect()))}))}function B(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{B(n.activeBranch,t)}))}while(e.component)e=e.component.subTree;if(1&e.shapeFlag&&e.el)Y(e.el,t);else if(e.type===o.HY)e.children.forEach((e=>B(e,t)));else if(e.type===o.qG){let{el:n,anchor:i}=e;while(n){if(Y(n,t),n===i)break;n=n.nextSibling}}}function Y(e,t){if(1===e.nodeType){const n=e.style;for(const e in t)n.setProperty(`--${e}`,t[e])}}const X="transition",V="animation",W=(e,{slots:t})=>(0,o.h)(o.P$,K(e),t);W.displayName="Transition";const $={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},U=W.props=(0,i.l7)({},o.P$.props,$),Z=(e,t=[])=>{(0,i.kJ)(e)?e.forEach((e=>e(...t))):e&&e(...t)},G=e=>!!e&&((0,i.kJ)(e)?e.some((e=>e.length>1)):e.length>1);function K(e){const t={};for(const i in e)i in $||(t[i]=e[i]);if(!1===e.css)return t;const{name:n="v",type:o,duration:r,enterFromClass:a=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=a,appearActiveClass:u=s,appearToClass:d=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,g=J(r),v=g&&g[0],m=g&&g[1],{onBeforeEnter:b,onEnter:x,onEnterCancelled:y,onLeave:w,onLeaveCancelled:k,onBeforeAppear:S=b,onAppear:C=x,onAppearCancelled:_=y}=t,A=(e,t,n)=>{te(e,t?d:l),te(e,t?u:s),n&&n()},P=(e,t)=>{te(e,p),te(e,f),t&&t()},L=e=>(t,n)=>{const i=e?C:x,r=()=>A(t,e,n);Z(i,[t,r]),ne((()=>{te(t,e?c:a),ee(t,e?d:l),G(i)||oe(t,o,v,r)}))};return(0,i.l7)(t,{onBeforeEnter(e){Z(b,[e]),ee(e,a),ee(e,s)},onBeforeAppear(e){Z(S,[e]),ee(e,c),ee(e,u)},onEnter:L(!1),onAppear:L(!0),onLeave(e,t){const n=()=>P(e,t);ee(e,h),le(),ee(e,f),ne((()=>{te(e,h),ee(e,p),G(w)||oe(e,o,m,n)})),Z(w,[e,n])},onEnterCancelled(e){A(e,!1),Z(y,[e])},onAppearCancelled(e){A(e,!0),Z(_,[e])},onLeaveCancelled(e){P(e),Z(k,[e])}})}function J(e){if(null==e)return null;if((0,i.Kn)(e))return[Q(e.enter),Q(e.leave)];{const t=Q(e);return[t,t]}}function Q(e){const t=(0,i.He)(e);return t}function ee(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function te(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function ne(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let ie=0;function oe(e,t,n,i){const o=e._endId=++ie,r=()=>{o===e._endId&&i()};if(n)return setTimeout(r,n);const{type:a,timeout:s,propCount:l}=re(e,t);if(!a)return i();const c=a+"end";let u=0;const d=()=>{e.removeEventListener(c,h),r()},h=t=>{t.target===e&&++u>=l&&d()};setTimeout((()=>{u(n[e]||"").split(", "),o=i(X+"Delay"),r=i(X+"Duration"),a=ae(o,r),s=i(V+"Delay"),l=i(V+"Duration"),c=ae(s,l);let u=null,d=0,h=0;t===X?a>0&&(u=X,d=a,h=r.length):t===V?c>0&&(u=V,d=c,h=l.length):(d=Math.max(a,c),u=d>0?a>c?X:V:null,h=u?u===X?r.length:l.length:0);const f=u===X&&/\b(transform|all)(,|$)/.test(n[X+"Property"]);return{type:u,timeout:d,propCount:h,hasTransform:f}}function ae(e,t){while(e.lengthse(t)+se(e[n]))))}function se(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function le(){return document.body.offsetHeight}const ce=new WeakMap,ue=new WeakMap,de={name:"TransitionGroup",props:(0,i.l7)({},U,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=(0,o.FN)(),i=(0,o.Y8)();let a,s;return(0,o.ic)((()=>{if(!a.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!ve(a[0].el,n.vnode.el,t))return;a.forEach(fe),a.forEach(pe);const i=a.filter(ge);le(),i.forEach((e=>{const n=e.el,i=n.style;ee(n,t),i.transform=i.webkitTransform=i.transitionDuration="";const o=n._moveCb=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",o),n._moveCb=null,te(n,t))};n.addEventListener("transitionend",o)}))})),()=>{const l=(0,r.IU)(e),c=K(l);let u=l.tag||o.HY;a=s,s=t.default?(0,o.Q6)(t.default()):[];for(let e=0;e{e.split(/\s+/).forEach((e=>e&&i.classList.remove(e)))})),n.split(/\s+/).forEach((e=>e&&i.classList.add(e))),i.style.display="none";const o=1===t.nodeType?t:t.parentNode;o.appendChild(i);const{hasTransform:r}=re(i);return o.removeChild(i),r}const me=e=>{const t=e.props["onUpdate:modelValue"];return(0,i.kJ)(t)?e=>(0,i.ir)(t,e):t};function be(e){e.target.composing=!0}function xe(e){const t=e.target;t.composing&&(t.composing=!1,ye(t,"input"))}function ye(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}const we={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e._assign=me(r);const a=o||r.props&&"number"===r.props.type;A(e,t?"change":"input",(t=>{if(t.target.composing)return;let o=e.value;n?o=o.trim():a&&(o=(0,i.He)(o)),e._assign(o)})),n&&A(e,"change",(()=>{e.value=e.value.trim()})),t||(A(e,"compositionstart",be),A(e,"compositionend",xe),A(e,"change",xe))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:o,number:r}},a){if(e._assign=me(a),e.composing)return;if(document.activeElement===e){if(n)return;if(o&&e.value.trim()===t)return;if((r||"number"===e.type)&&(0,i.He)(e.value)===t)return}const s=null==t?"":t;e.value!==s&&(e.value=s)}},ke={deep:!0,created(e,t,n){e._assign=me(n),A(e,"change",(()=>{const t=e._modelValue,n=Pe(e),o=e.checked,r=e._assign;if((0,i.kJ)(t)){const e=(0,i.hq)(t,n),a=-1!==e;if(o&&!a)r(t.concat(n));else if(!o&&a){const n=[...t];n.splice(e,1),r(n)}}else if((0,i.DM)(t)){const e=new Set(t);o?e.add(n):e.delete(n),r(e)}else r(Le(e,o))}))},mounted:Se,beforeUpdate(e,t,n){e._assign=me(n),Se(e,t,n)}};function Se(e,{value:t,oldValue:n},o){e._modelValue=t,(0,i.kJ)(t)?e.checked=(0,i.hq)(t,o.props.value)>-1:(0,i.DM)(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=(0,i.WV)(t,Le(e,!0)))}const Ce={created(e,{value:t},n){e.checked=(0,i.WV)(t,n.props.value),e._assign=me(n),A(e,"change",(()=>{e._assign(Pe(e))}))},beforeUpdate(e,{value:t,oldValue:n},o){e._assign=me(o),t!==n&&(e.checked=(0,i.WV)(t,o.props.value))}},_e={deep:!0,created(e,{value:t,modifiers:{number:n}},o){const r=(0,i.DM)(t);A(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?(0,i.He)(Pe(e)):Pe(e)));e._assign(e.multiple?r?new Set(t):t:t[0])})),e._assign=me(o)},mounted(e,{value:t}){Ae(e,t)},beforeUpdate(e,t,n){e._assign=me(n)},updated(e,{value:t}){Ae(e,t)}};function Ae(e,t){const n=e.multiple;if(!n||(0,i.kJ)(t)||(0,i.DM)(t)){for(let o=0,r=e.options.length;o-1:r.selected=t.has(a);else if((0,i.WV)(Pe(r),t))return void(e.selectedIndex!==o&&(e.selectedIndex=o))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function Pe(e){return"_value"in e?e._value:e.value}function Le(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const je={created(e,t,n){Te(e,t,n,null,"created")},mounted(e,t,n){Te(e,t,n,null,"mounted")},beforeUpdate(e,t,n,i){Te(e,t,n,i,"beforeUpdate")},updated(e,t,n,i){Te(e,t,n,i,"updated")}};function Te(e,t,n,i,o){let r;switch(e.tagName){case"SELECT":r=_e;break;case"TEXTAREA":r=we;break;default:switch(n.props&&n.props.type){case"checkbox":r=ke;break;case"radio":r=Ce;break;default:r=we}}const a=r[o];a&&a(e,t,n,i)}function Fe(){we.getSSRProps=({value:e})=>({value:e}),Ce.getSSRProps=({value:e},t)=>{if(t.props&&(0,i.WV)(t.props.value,e))return{checked:!0}},ke.getSSRProps=({value:e},t)=>{if((0,i.kJ)(e)){if(t.props&&(0,i.hq)(e,t.props.value)>-1)return{checked:!0}}else if((0,i.DM)(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}}}const Ee=["ctrl","shift","alt","meta"],Oe={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>Ee.some((n=>e[`${n}Key`]&&!t.includes(n)))},Me=(e,t)=>(n,...i)=>{for(let e=0;en=>{if(!("key"in n))return;const o=(0,i.rs)(n.key);return t.some((e=>e===o||Re[e]===o))?e(n):void 0},ze={beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):He(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:i}){!t!==!n&&(i?t?(i.beforeEnter(e),He(e,!0),i.enter(e)):i.leave(e,(()=>{He(e,!1)})):He(e,t))},beforeUnmount(e,{value:t}){He(e,t)}};function He(e,t){e.style.display=t?e._vod:"none"}function Ne(){ze.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const qe=(0,i.l7)({patchProp:M},c);let De,Be=!1;function Ye(){return De||(De=(0,o.Us)(qe))}function Xe(){return De=Be?De:(0,o.Eo)(qe),Be=!0,De}const Ve=(...e)=>{Ye().render(...e)},We=(...e)=>{Xe().hydrate(...e)},$e=(...e)=>{const t=Ye().createApp(...e);const{mount:n}=t;return t.mount=e=>{const o=Ze(e);if(!o)return;const r=t._component;(0,i.mf)(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const a=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),a},t},Ue=(...e)=>{const t=Xe().createApp(...e);const{mount:n}=t;return t.mount=e=>{const t=Ze(e);if(t)return n(t,!0,t instanceof SVGElement)},t};function Ze(e){if((0,i.HD)(e)){const t=document.querySelector(e);return t}return e}let Ge=!1;const Ke=()=>{Ge||(Ge=!0,Fe(),Ne())}},6970:(e,t,n)=>{"use strict";function i(e,t){const n=Object.create(null),i=e.split(",");for(let o=0;o!!n[e.toLowerCase()]:e=>!!n[e]}n.d(t,{C_:()=>f,DM:()=>O,E9:()=>oe,F7:()=>_,Gg:()=>V,HD:()=>I,He:()=>ne,Kn:()=>H,NO:()=>S,Nj:()=>te,Od:()=>L,PO:()=>Y,Pq:()=>s,RI:()=>T,S0:()=>X,W7:()=>B,WV:()=>v,Z6:()=>w,_A:()=>U,_N:()=>E,aU:()=>Q,dG:()=>k,e1:()=>r,fY:()=>i,hR:()=>J,hq:()=>m,ir:()=>ee,j5:()=>c,kC:()=>K,kJ:()=>F,kT:()=>y,l7:()=>P,mf:()=>R,rs:()=>G,tI:()=>N,tR:()=>A,vs:()=>p,yA:()=>l,yk:()=>z,zw:()=>b});const o="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt",r=i(o);const a="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",s=i(a);function l(e){return!!e||""===e}function c(e){if(F(e)){const t={};for(let n=0;n{if(e){const n=e.split(d);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function f(e){let t="";if(I(e))t=e;else if(F(e))for(let n=0;nv(e,t)))}const b=e=>null==e?"":F(e)||H(e)&&(e.toString===q||!R(e.toString))?JSON.stringify(e,x,2):String(e),x=(e,t)=>t&&t.__v_isRef?x(e,t.value):E(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:O(t)?{[`Set(${t.size})`]:[...t.values()]}:!H(t)||F(t)||Y(t)?t:String(t),y={},w=[],k=()=>{},S=()=>!1,C=/^on[^a-z]/,_=e=>C.test(e),A=e=>e.startsWith("onUpdate:"),P=Object.assign,L=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},j=Object.prototype.hasOwnProperty,T=(e,t)=>j.call(e,t),F=Array.isArray,E=e=>"[object Map]"===D(e),O=e=>"[object Set]"===D(e),M=e=>e instanceof Date,R=e=>"function"===typeof e,I=e=>"string"===typeof e,z=e=>"symbol"===typeof e,H=e=>null!==e&&"object"===typeof e,N=e=>H(e)&&R(e.then)&&R(e.catch),q=Object.prototype.toString,D=e=>q.call(e),B=e=>D(e).slice(8,-1),Y=e=>"[object Object]"===D(e),X=e=>I(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,V=i(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),W=e=>{const t=Object.create(null);return n=>{const i=t[n];return i||(t[n]=e(n))}},$=/-(\w)/g,U=W((e=>e.replace($,((e,t)=>t?t.toUpperCase():"")))),Z=/\B([A-Z])/g,G=W((e=>e.replace(Z,"-$1").toLowerCase())),K=W((e=>e.charAt(0).toUpperCase()+e.slice(1))),J=W((e=>e?`on${K(e)}`:"")),Q=(e,t)=>!Object.is(e,t),ee=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ne=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let ie;const oe=()=>ie||(ie="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{})},0:(e,t,n)=>{"use strict";var i; +/*! + * ApexCharts v3.32.1 + * (c) 2018-2021 ApexCharts + * Released under the MIT License. + */function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function r(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,i=new Array(t);n>16,a=n>>8&255,s=255&n;return"#"+(16777216+65536*(Math.round((i-r)*o)+r)+256*(Math.round((i-a)*o)+a)+(Math.round((i-s)*o)+s)).toString(16).slice(1)}},{key:"shadeColor",value:function(t,n){return e.isColorHex(n)?this.shadeHexColor(t,n):this.shadeRGBColor(t,n)}}],[{key:"bind",value:function(e,t){return function(){return e.apply(t,arguments)}}},{key:"isObject",value:function(e){return e&&"object"===a(e)&&!Array.isArray(e)&&null!=e}},{key:"is",value:function(e,t){return Object.prototype.toString.call(t)==="[object "+e+"]"}},{key:"listToArray",value:function(e){var t,n=[];for(t=0;tt.length?e:t}))),e.length>t.length?e:t}),0)}},{key:"hexToRgba",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"#999999",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.6;"#"!==e.substring(0,1)&&(e="#999999");var n=e.replace("#","");n=n.match(new RegExp("(.{"+n.length/3+"})","g"));for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:"x",n=e.toString().slice();return n.replace(/[` ~!@#$%^&*()_|+\-=?;:'",.<>{}[\]\\/]/gi,t)}},{key:"negToZero",value:function(e){return e<0?0:e}},{key:"moveIndexInArray",value:function(e,t,n){if(n>=e.length)for(var i=n-e.length+1;i--;)e.push(void 0);return e.splice(n,0,e.splice(t,1)[0]),e}},{key:"extractNumber",value:function(e){return parseFloat(e.replace(/[^\d.]*/g,""))}},{key:"findAncestor",value:function(e,t){for(;(e=e.parentElement)&&!e.classList.contains(t););return e}},{key:"setELstyles",value:function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e.style.key=t[n])}},{key:"isNumber",value:function(e){return!isNaN(e)&&parseFloat(Number(e))===e&&!isNaN(parseInt(e,10))}},{key:"isFloat",value:function(e){return Number(e)===e&&e%1!=0}},{key:"isSafari",value:function(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}},{key:"isFirefox",value:function(){return navigator.userAgent.toLowerCase().indexOf("firefox")>-1}},{key:"isIE11",value:function(){if(-1!==window.navigator.userAgent.indexOf("MSIE")||window.navigator.appVersion.indexOf("Trident/")>-1)return!0}},{key:"isIE",value:function(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);if(e.indexOf("Trident/")>0){var n=e.indexOf("rv:");return parseInt(e.substring(n+3,e.indexOf(".",n)),10)}var i=e.indexOf("Edge/");return i>0&&parseInt(e.substring(i+5,e.indexOf(".",i)),10)}}]),e}(),x=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.setEasingFunctions()}return c(e,[{key:"setEasingFunctions",value:function(){var e;if(!this.w.globals.easing){switch(this.w.config.chart.animations.easing){case"linear":e="-";break;case"easein":e="<";break;case"easeout":e=">";break;case"easeinout":e="<>";break;case"swing":e=function(e){var t=1.70158;return(e-=1)*e*((t+1)*e+t)+1};break;case"bounce":e=function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375};break;case"elastic":e=function(e){return e===!!e?e:Math.pow(2,-10*e)*Math.sin((e-.075)*(2*Math.PI)/.3)+1};break;default:e="<>"}this.w.globals.easing=e}}},{key:"animateLine",value:function(e,t,n,i){e.attr(t).animate(i).attr(n)}},{key:"animateMarker",value:function(e,t,n,i,o,r){t||(t=0),e.attr({r:t,width:t,height:t}).animate(i,o).attr({r:n,width:n.width,height:n.height}).afterAll((function(){r()}))}},{key:"animateCircle",value:function(e,t,n,i,o){e.attr({r:t.r,cx:t.cx,cy:t.cy}).animate(i,o).attr({r:n.r,cx:n.cx,cy:n.cy})}},{key:"animateRect",value:function(e,t,n,i,o){e.attr(t).animate(i).attr(n).afterAll((function(){return o()}))}},{key:"animatePathsGradually",value:function(e){var t=e.el,n=e.realIndex,i=e.j,o=e.fill,r=e.pathFrom,a=e.pathTo,s=e.speed,l=e.delay,c=this.w,u=0;c.config.chart.animations.animateGradually.enabled&&(u=c.config.chart.animations.animateGradually.delay),c.config.chart.animations.dynamicAnimation.enabled&&c.globals.dataChanged&&"bar"!==c.config.chart.type&&(u=0),this.morphSVG(t,n,i,"line"!==c.config.chart.type||c.globals.comboCharts?o:"stroke",r,a,s,l*u)}},{key:"showDelayedElements",value:function(){this.w.globals.delayedElements.forEach((function(e){e.el.classList.remove("apexcharts-element-hidden")}))}},{key:"animationCompleted",value:function(e){var t=this.w;t.globals.animationEnded||(t.globals.animationEnded=!0,this.showDelayedElements(),"function"==typeof t.config.chart.events.animationEnd&&t.config.chart.events.animationEnd(this.ctx,{el:e,w:t}))}},{key:"morphSVG",value:function(e,t,n,i,o,r,a,s){var l=this,c=this.w;o||(o=e.attr("pathFrom")),r||(r=e.attr("pathTo"));var u=function(e){return"radar"===c.config.chart.type&&(a=1),"M 0 ".concat(c.globals.gridHeight)};(!o||o.indexOf("undefined")>-1||o.indexOf("NaN")>-1)&&(o=u()),(!r||r.indexOf("undefined")>-1||r.indexOf("NaN")>-1)&&(r=u()),c.globals.shouldAnimate||(a=1),e.plot(o).animate(1,c.globals.easing,s).plot(o).animate(a,c.globals.easing,s).plot(r).afterAll((function(){b.isNumber(n)?n===c.globals.series[c.globals.maxValsInArrayIndex].length-2&&c.globals.shouldAnimate&&l.animationCompleted(e):"none"!==i&&c.globals.shouldAnimate&&(!c.globals.comboCharts&&t===c.globals.series.length-1||c.globals.comboCharts)&&l.animationCompleted(e),l.showDelayedElements()}))}}]),e}(),y=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"getDefaultFilter",value:function(e,t){var n=this.w;e.unfilter(!0),(new window.SVG.Filter).size("120%","180%","-5%","-40%"),"none"!==n.config.states.normal.filter?this.applyFilter(e,t,n.config.states.normal.filter.type,n.config.states.normal.filter.value):n.config.chart.dropShadow.enabled&&this.dropShadow(e,n.config.chart.dropShadow,t)}},{key:"addNormalFilter",value:function(e,t){var n=this.w;n.config.chart.dropShadow.enabled&&!e.node.classList.contains("apexcharts-marker")&&this.dropShadow(e,n.config.chart.dropShadow,t)}},{key:"addLightenFilter",value:function(e,t,n){var i=this,o=this.w,r=n.intensity;e.unfilter(!0),new window.SVG.Filter,e.filter((function(e){var n=o.config.chart.dropShadow;(n.enabled?i.addShadow(e,t,n):e).componentTransfer({rgb:{type:"linear",slope:1.5,intercept:r}})})),e.filterer.node.setAttribute("filterUnits","userSpaceOnUse"),this._scaleFilterSize(e.filterer.node)}},{key:"addDarkenFilter",value:function(e,t,n){var i=this,o=this.w,r=n.intensity;e.unfilter(!0),new window.SVG.Filter,e.filter((function(e){var n=o.config.chart.dropShadow;(n.enabled?i.addShadow(e,t,n):e).componentTransfer({rgb:{type:"linear",slope:r}})})),e.filterer.node.setAttribute("filterUnits","userSpaceOnUse"),this._scaleFilterSize(e.filterer.node)}},{key:"applyFilter",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5;switch(n){case"none":this.addNormalFilter(e,t);break;case"lighten":this.addLightenFilter(e,t,{intensity:i});break;case"darken":this.addDarkenFilter(e,t,{intensity:i})}}},{key:"addShadow",value:function(e,t,n){var i=n.blur,o=n.top,r=n.left,a=n.color,s=n.opacity,l=e.flood(Array.isArray(a)?a[t]:a,s).composite(e.sourceAlpha,"in").offset(r,o).gaussianBlur(i).merge(e.source);return e.blend(e.source,l)}},{key:"dropShadow",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=t.top,o=t.left,r=t.blur,a=t.color,s=t.opacity,l=t.noUserSpaceOnUse,c=this.w;return e.unfilter(!0),b.isIE()&&"radialBar"===c.config.chart.type||(a=Array.isArray(a)?a[n]:a,e.filter((function(e){var t=null;t=b.isSafari()||b.isFirefox()||b.isIE()?e.flood(a,s).composite(e.sourceAlpha,"in").offset(o,i).gaussianBlur(r):e.flood(a,s).composite(e.sourceAlpha,"in").offset(o,i).gaussianBlur(r).merge(e.source),e.blend(e.source,t)})),l||e.filterer.node.setAttribute("filterUnits","userSpaceOnUse"),this._scaleFilterSize(e.filterer.node)),e}},{key:"setSelectionFilter",value:function(e,t,n){var i=this.w;if(void 0!==i.globals.selectedDataPoints[t]&&i.globals.selectedDataPoints[t].indexOf(n)>-1){e.node.setAttribute("selected",!0);var o=i.config.states.active.filter;"none"!==o&&this.applyFilter(e,t,o.type,o.value)}}},{key:"_scaleFilterSize",value:function(e){!function(t){for(var n in t)t.hasOwnProperty(n)&&e.setAttribute(n,t[n])}({width:"200%",height:"200%",x:"-50%",y:"-50%"})}}]),e}(),w=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"drawLine",value:function(e,t,n,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"#a8a8a8",r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"butt",l=this.w,c=l.globals.dom.Paper.line().attr({x1:e,y1:t,x2:n,y2:i,stroke:o,"stroke-dasharray":r,"stroke-width":a,"stroke-linecap":s});return c}},{key:"drawRect",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"#fefefe",a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:1,s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:null,c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:0,u=this.w,d=u.globals.dom.Paper.rect();return d.attr({x:e,y:t,width:n>0?n:0,height:i>0?i:0,rx:o,ry:o,opacity:a,"stroke-width":null!==s?s:0,stroke:null!==l?l:"none","stroke-dasharray":c}),d.node.setAttribute("fill",r),d}},{key:"drawPolygon",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#e1e1e1",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"none",o=this.w,r=o.globals.dom.Paper.polygon(e).attr({fill:i,stroke:t,"stroke-width":n});return r}},{key:"drawCircle",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.w;e<0&&(e=0);var i=n.globals.dom.Paper.circle(2*e);return null!==t&&i.attr(t),i}},{key:"drawPath",value:function(e){var t=e.d,n=void 0===t?"":t,i=e.stroke,o=void 0===i?"#a8a8a8":i,r=e.strokeWidth,a=void 0===r?1:r,s=e.fill,l=e.fillOpacity,c=void 0===l?1:l,u=e.strokeOpacity,d=void 0===u?1:u,h=e.classes,f=e.strokeLinecap,p=void 0===f?null:f,g=e.strokeDashArray,v=void 0===g?0:g,m=this.w;return null===p&&(p=m.config.stroke.lineCap),(n.indexOf("undefined")>-1||n.indexOf("NaN")>-1)&&(n="M 0 ".concat(m.globals.gridHeight)),m.globals.dom.Paper.path(n).attr({fill:s,"fill-opacity":c,stroke:o,"stroke-opacity":d,"stroke-linecap":p,"stroke-width":a,"stroke-dasharray":v,class:h})}},{key:"group",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.w,n=t.globals.dom.Paper.group();return null!==e&&n.attr(e),n}},{key:"move",value:function(e,t){var n=["M",e,t].join(" ");return n}},{key:"line",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=null;return null===n?i=["L",e,t].join(" "):"H"===n?i=["H",e].join(" "):"V"===n&&(i=["V",t].join(" ")),i}},{key:"curve",value:function(e,t,n,i,o,r){var a=["C",e,t,n,i,o,r].join(" ");return a}},{key:"quadraticCurve",value:function(e,t,n,i){return["Q",e,t,n,i].join(" ")}},{key:"arc",value:function(e,t,n,i,o,r,a){var s=arguments.length>7&&void 0!==arguments[7]&&arguments[7],l="A";s&&(l="a");var c=[l,e,t,n,i,o,r,a].join(" ");return c}},{key:"renderPaths",value:function(e){var t,n=e.j,i=e.realIndex,o=e.pathFrom,a=e.pathTo,s=e.stroke,l=e.strokeWidth,c=e.strokeLinecap,u=e.fill,d=e.animationDelay,h=e.initialSpeed,f=e.dataChangeSpeed,p=e.className,g=e.shouldClipToGrid,v=void 0===g||g,m=e.bindEventsOnPaths,b=void 0===m||m,w=e.drawShadow,k=void 0===w||w,S=this.w,C=new y(this.ctx),_=new x(this.ctx),A=this.w.config.chart.animations.enabled,P=A&&this.w.config.chart.animations.dynamicAnimation.enabled,L=!!(A&&!S.globals.resized||P&&S.globals.dataChanged&&S.globals.shouldAnimate);L?t=o:(t=a,S.globals.animationEnded=!0);var j=S.config.stroke.dashArray,T=0;T=Array.isArray(j)?j[i]:S.config.stroke.dashArray;var F=this.drawPath({d:t,stroke:s,strokeWidth:l,fill:u,fillOpacity:1,classes:p,strokeLinecap:c,strokeDashArray:T});if(F.attr("index",i),v&&F.attr({"clip-path":"url(#gridRectMask".concat(S.globals.cuid,")")}),"none"!==S.config.states.normal.filter.type)C.getDefaultFilter(F,i);else if(S.config.chart.dropShadow.enabled&&k&&(!S.config.chart.dropShadow.enabledOnSeries||S.config.chart.dropShadow.enabledOnSeries&&-1!==S.config.chart.dropShadow.enabledOnSeries.indexOf(i))){var E=S.config.chart.dropShadow;C.dropShadow(F,E,i)}b&&(F.node.addEventListener("mouseenter",this.pathMouseEnter.bind(this,F)),F.node.addEventListener("mouseleave",this.pathMouseLeave.bind(this,F)),F.node.addEventListener("mousedown",this.pathMouseDown.bind(this,F))),F.attr({pathTo:a,pathFrom:o});var O={el:F,j:n,realIndex:i,pathFrom:o,pathTo:a,fill:u,strokeWidth:l,delay:d};return!A||S.globals.resized||S.globals.dataChanged?!S.globals.resized&&S.globals.dataChanged||_.showDelayedElements():_.animatePathsGradually(r(r({},O),{},{speed:h})),S.globals.dataChanged&&P&&L&&_.animatePathsGradually(r(r({},O),{},{speed:f})),F}},{key:"drawPattern",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"#a8a8a8",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,r=this.w,a=r.globals.dom.Paper.pattern(t,n,(function(r){"horizontalLines"===e?r.line(0,0,n,0).stroke({color:i,width:o+1}):"verticalLines"===e?r.line(0,0,0,t).stroke({color:i,width:o+1}):"slantedLines"===e?r.line(0,0,t,n).stroke({color:i,width:o}):"squares"===e?r.rect(t,n).fill("none").stroke({color:i,width:o}):"circles"===e&&r.circle(t).fill("none").stroke({color:i,width:o})}));return a}},{key:"drawGradient",value:function(e,t,n,i,o){var r,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,c=arguments.length>8&&void 0!==arguments[8]?arguments[8]:0,u=this.w;t.length<9&&0===t.indexOf("#")&&(t=b.hexToRgba(t,i)),n.length<9&&0===n.indexOf("#")&&(n=b.hexToRgba(n,o));var d=0,h=1,f=1,p=null;null!==s&&(d=void 0!==s[0]?s[0]/100:0,h=void 0!==s[1]?s[1]/100:1,f=void 0!==s[2]?s[2]/100:1,p=void 0!==s[3]?s[3]/100:null);var g=!("donut"!==u.config.chart.type&&"pie"!==u.config.chart.type&&"polarArea"!==u.config.chart.type&&"bubble"!==u.config.chart.type);if(r=null===l||0===l.length?u.globals.dom.Paper.gradient(g?"radial":"linear",(function(e){e.at(d,t,i),e.at(h,n,o),e.at(f,n,o),null!==p&&e.at(p,t,i)})):u.globals.dom.Paper.gradient(g?"radial":"linear",(function(e){(Array.isArray(l[c])?l[c]:l).forEach((function(t){e.at(t.offset/100,t.color,t.opacity)}))})),g){var v=u.globals.gridWidth/2,m=u.globals.gridHeight/2;"bubble"!==u.config.chart.type?r.attr({gradientUnits:"userSpaceOnUse",cx:v,cy:m,r:a}):r.attr({cx:.5,cy:.5,r:.8,fx:.2,fy:.2})}else"vertical"===e?r.from(0,0).to(0,1):"diagonal"===e?r.from(0,0).to(1,1):"horizontal"===e?r.from(0,1).to(1,1):"diagonal2"===e&&r.from(1,0).to(0,1);return r}},{key:"drawText",value:function(e){var t,n=e.x,i=e.y,o=e.text,r=e.textAnchor,a=e.fontSize,s=e.fontFamily,l=e.fontWeight,c=e.foreColor,u=e.opacity,d=e.cssClass,h=void 0===d?"":d,f=e.isPlainText,p=void 0===f||f,g=this.w;return void 0===o&&(o=""),r||(r="start"),c&&c.length||(c=g.config.chart.foreColor),s=s||g.config.chart.fontFamily,l=l||"regular",(t=Array.isArray(o)?g.globals.dom.Paper.text((function(e){for(var t=0;t-1){var s=n.globals.selectedDataPoints[o].indexOf(r);n.globals.selectedDataPoints[o].splice(s,1)}}else{if(!n.config.states.active.allowMultipleDataPointsSelection&&n.globals.selectedDataPoints.length>0){n.globals.selectedDataPoints=[];var l=n.globals.dom.Paper.select(".apexcharts-series path").members,c=n.globals.dom.Paper.select(".apexcharts-series circle, .apexcharts-series rect").members,u=function(e){Array.prototype.forEach.call(e,(function(e){e.node.setAttribute("selected","false"),i.getDefaultFilter(e,o)}))};u(l),u(c)}e.node.setAttribute("selected","true"),a="true",void 0===n.globals.selectedDataPoints[o]&&(n.globals.selectedDataPoints[o]=[]),n.globals.selectedDataPoints[o].push(r)}if("true"===a){var d=n.config.states.active.filter;"none"!==d&&i.applyFilter(e,o,d.type,d.value)}else"none"!==n.config.states.active.filter.type&&i.getDefaultFilter(e,o);"function"==typeof n.config.chart.events.dataPointSelection&&n.config.chart.events.dataPointSelection(t,this.ctx,{selectedDataPoints:n.globals.selectedDataPoints,seriesIndex:o,dataPointIndex:r,w:n}),t&&this.ctx.events.fireEvent("dataPointSelection",[t,this.ctx,{selectedDataPoints:n.globals.selectedDataPoints,seriesIndex:o,dataPointIndex:r,w:n}])}},{key:"rotateAroundCenter",value:function(e){var t={};return e&&"function"==typeof e.getBBox&&(t=e.getBBox()),{x:t.x+t.width/2,y:t.y+t.height/2}}},{key:"getTextRects",value:function(e,t,n,i){var o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],r=this.w,a=this.drawText({x:-200,y:-200,text:e,textAnchor:"start",fontSize:t,fontFamily:n,foreColor:"#fff",opacity:0});i&&a.attr("transform",i),r.globals.dom.Paper.add(a);var s=a.bbox();return o||(s=a.node.getBoundingClientRect()),a.remove(),{width:s.width,height:s.height}}},{key:"placeTextWithEllipsis",value:function(e,t,n){if("function"==typeof e.getComputedTextLength&&(e.textContent=t,t.length>0&&e.getComputedTextLength()>=n/1.1)){for(var i=t.length-3;i>0;i-=3)if(e.getSubStringLength(0,i)<=n/1.1)return void(e.textContent=t.substring(0,i)+"...");e.textContent="."}}}],[{key:"setAttrs",value:function(e,t){for(var n in t)t.hasOwnProperty(n)&&e.setAttribute(n,t[n])}}]),e}(),k=function(){function e(t){s(this,e),this.w=t.w,this.annoCtx=t}return c(e,[{key:"setOrientations",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.w;if("vertical"===e.label.orientation){var i=null!==t?t:0,o=n.globals.dom.baseEl.querySelector(".apexcharts-xaxis-annotations .apexcharts-xaxis-annotation-label[rel='".concat(i,"']"));if(null!==o){var r=o.getBoundingClientRect();o.setAttribute("x",parseFloat(o.getAttribute("x"))-r.height+4),"top"===e.label.position?o.setAttribute("y",parseFloat(o.getAttribute("y"))+r.width):o.setAttribute("y",parseFloat(o.getAttribute("y"))-r.width);var a=this.annoCtx.graphics.rotateAroundCenter(o),s=a.x,l=a.y;o.setAttribute("transform","rotate(-90 ".concat(s," ").concat(l,")"))}}}},{key:"addBackgroundToAnno",value:function(e,t){var n=this.w;if(!e||void 0===t.label.text||void 0!==t.label.text&&!String(t.label.text).trim())return null;var i=n.globals.dom.baseEl.querySelector(".apexcharts-grid").getBoundingClientRect(),o=e.getBoundingClientRect(),r=t.label.style.padding.left,a=t.label.style.padding.right,s=t.label.style.padding.top,l=t.label.style.padding.bottom;"vertical"===t.label.orientation&&(s=t.label.style.padding.left,l=t.label.style.padding.right,r=t.label.style.padding.top,a=t.label.style.padding.bottom);var c=o.left-i.left-r,u=o.top-i.top-s,d=this.annoCtx.graphics.drawRect(c-n.globals.barPadForNumericAxis,u,o.width+r+a,o.height+s+l,t.label.borderRadius,t.label.style.background,1,t.label.borderWidth,t.label.borderColor,0);return t.id&&d.node.classList.add(b.escapeString(t.id)),d}},{key:"annotationsBackground",value:function(){var e=this,t=this.w,n=function(n,i,o){var r=t.globals.dom.baseEl.querySelector(".apexcharts-".concat(o,"-annotations .apexcharts-").concat(o,"-annotation-label[rel='").concat(i,"']"));if(r){var a=r.parentNode,s=e.addBackgroundToAnno(r,n);s&&(a.insertBefore(s.node,r),n.label.mouseEnter&&s.node.addEventListener("mouseenter",n.label.mouseEnter.bind(e,n)),n.label.mouseLeave&&s.node.addEventListener("mouseleave",n.label.mouseLeave.bind(e,n)))}};t.config.annotations.xaxis.map((function(e,t){n(e,t,"xaxis")})),t.config.annotations.yaxis.map((function(e,t){n(e,t,"yaxis")})),t.config.annotations.points.map((function(e,t){n(e,t,"point")}))}},{key:"getStringX",value:function(e){var t=this.w,n=e;t.config.xaxis.convertedCatToNumeric&&t.globals.categoryLabels.length&&(e=t.globals.categoryLabels.indexOf(e)+1);var i=t.globals.labels.indexOf(e),o=t.globals.dom.baseEl.querySelector(".apexcharts-xaxis-texts-g text:nth-child("+(i+1)+")");return o&&(n=parseFloat(o.getAttribute("x"))),n}}]),e}(),S=function(){function e(t){s(this,e),this.w=t.w,this.annoCtx=t,this.invertAxis=this.annoCtx.invertAxis}return c(e,[{key:"addXaxisAnnotation",value:function(e,t,n){var i=this.w,o=this.invertAxis?i.globals.minY:i.globals.minX,r=this.invertAxis?i.globals.maxY:i.globals.maxX,a=this.invertAxis?i.globals.yRange[0]:i.globals.xRange,s=(e.x-o)/(a/i.globals.gridWidth);this.annoCtx.inversedReversedAxis&&(s=(r-e.x)/(a/i.globals.gridWidth));var l=e.label.text;"category"!==i.config.xaxis.type&&!i.config.xaxis.convertedCatToNumeric||this.invertAxis||i.globals.dataFormatXNumeric||(s=this.annoCtx.helpers.getStringX(e.x));var c=e.strokeDashArray;if(b.isNumber(s)){if(null===e.x2||void 0===e.x2){var u=this.annoCtx.graphics.drawLine(s+e.offsetX,0+e.offsetY,s+e.offsetX,i.globals.gridHeight+e.offsetY,e.borderColor,c,e.borderWidth);t.appendChild(u.node),e.id&&u.node.classList.add(e.id)}else{var d=(e.x2-o)/(a/i.globals.gridWidth);if(this.annoCtx.inversedReversedAxis&&(d=(r-e.x2)/(a/i.globals.gridWidth)),"category"!==i.config.xaxis.type&&!i.config.xaxis.convertedCatToNumeric||this.invertAxis||i.globals.dataFormatXNumeric||(d=this.annoCtx.helpers.getStringX(e.x2)),d0&&void 0!==arguments[0]?arguments[0]:null;return null===e?this.w.config.series.reduce((function(e,t){return e+t}),0):this.w.globals.series[e].reduce((function(e,t){return e+t}),0)}},{key:"isSeriesNull",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return 0===(null===e?this.w.config.series.filter((function(e){return null!==e})):this.w.config.series[e].data.filter((function(e){return null!==e}))).length}},{key:"seriesHaveSameValues",value:function(e){return this.w.globals.series[e].every((function(e,t,n){return e===n[0]}))}},{key:"getCategoryLabels",value:function(e){var t=this.w,n=e.slice();return t.config.xaxis.convertedCatToNumeric&&(n=e.map((function(e,n){return t.config.xaxis.labels.formatter(e-t.globals.minX+1)}))),n}},{key:"getLargestSeries",value:function(){var e=this.w;e.globals.maxValsInArrayIndex=e.globals.series.map((function(e){return e.length})).indexOf(Math.max.apply(Math,e.globals.series.map((function(e){return e.length}))))}},{key:"getLargestMarkerSize",value:function(){var e=this.w,t=0;return e.globals.markers.size.forEach((function(e){t=Math.max(t,e)})),e.globals.markers.largestSize=t,t}},{key:"getSeriesTotals",value:function(){var e=this.w;e.globals.seriesTotals=e.globals.series.map((function(e,t){var n=0;if(Array.isArray(e))for(var i=0;ie&&n.globals.seriesX[o][a]0&&(t=!0),{comboBarCount:n,comboCharts:t}}},{key:"extendArrayProps",value:function(e,t,n){return t.yaxis&&(t=e.extendYAxis(t,n)),t.annotations&&(t.annotations.yaxis&&(t=e.extendYAxisAnnotations(t)),t.annotations.xaxis&&(t=e.extendXAxisAnnotations(t)),t.annotations.points&&(t=e.extendPointAnnotations(t))),t}}]),e}(),_=function(){function e(t){s(this,e),this.w=t.w,this.annoCtx=t}return c(e,[{key:"addYaxisAnnotation",value:function(e,t,n){var i,o=this.w,r=e.strokeDashArray,a=this._getY1Y2("y1",e),s=e.label.text;if(null===e.y2||void 0===e.y2){var l=this.annoCtx.graphics.drawLine(0+e.offsetX,a+e.offsetY,this._getYAxisAnnotationWidth(e),a+e.offsetY,e.borderColor,r,e.borderWidth);t.appendChild(l.node),e.id&&l.node.classList.add(e.id)}else{if((i=this._getY1Y2("y2",e))>a){var c=a;a=i,i=c}var u=this.annoCtx.graphics.drawRect(0+e.offsetX,i+e.offsetY,this._getYAxisAnnotationWidth(e),a-i,0,e.fillColor,e.opacity,1,e.borderColor,r);u.node.classList.add("apexcharts-annotation-rect"),u.attr("clip-path","url(#gridRectMask".concat(o.globals.cuid,")")),t.appendChild(u.node),e.id&&u.node.classList.add(e.id)}var d="right"===e.label.position?o.globals.gridWidth:0,h=this.annoCtx.graphics.drawText({x:d+e.label.offsetX,y:(null!=i?i:a)+e.label.offsetY-3,text:s,textAnchor:e.label.textAnchor,fontSize:e.label.style.fontSize,fontFamily:e.label.style.fontFamily,fontWeight:e.label.style.fontWeight,foreColor:e.label.style.color,cssClass:"apexcharts-yaxis-annotation-label ".concat(e.label.style.cssClass," ").concat(e.id?e.id:"")});h.attr({rel:n}),t.appendChild(h.node)}},{key:"_getY1Y2",value:function(e,t){var n,i="y1"===e?t.y:t.y2,o=this.w;if(this.annoCtx.invertAxis){var r=o.globals.labels.indexOf(i);o.config.xaxis.convertedCatToNumeric&&(r=o.globals.categoryLabels.indexOf(i));var a=o.globals.dom.baseEl.querySelector(".apexcharts-yaxis-texts-g text:nth-child("+(r+1)+")");a&&(n=parseFloat(a.getAttribute("y")))}else{var s;s=o.config.yaxis[t.yAxisIndex].logarithmic?(i=new C(this.annoCtx.ctx).getLogVal(i,t.yAxisIndex))/o.globals.yLogRatio[t.yAxisIndex]:(i-o.globals.minYArr[t.yAxisIndex])/(o.globals.yRange[t.yAxisIndex]/o.globals.gridHeight),n=o.globals.gridHeight-s,o.config.yaxis[t.yAxisIndex]&&o.config.yaxis[t.yAxisIndex].reversed&&(n=s)}return n}},{key:"_getYAxisAnnotationWidth",value:function(e){var t=this.w;return t.globals.gridWidth,(e.width.indexOf("%")>-1?t.globals.gridWidth*parseInt(e.width,10)/100:parseInt(e.width,10))+e.offsetX}},{key:"drawYAxisAnnotations",value:function(){var e=this,t=this.w,n=this.annoCtx.graphics.group({class:"apexcharts-yaxis-annotations"});return t.config.annotations.yaxis.map((function(t,i){e.addYaxisAnnotation(t,n.node,i)})),n}}]),e}(),A=function(){function e(t){s(this,e),this.w=t.w,this.annoCtx=t}return c(e,[{key:"addPointAnnotation",value:function(e,t,n){var i=this.w,o=0,r=0,a=0;this.annoCtx.invertAxis&&console.warn("Point annotation is not supported in horizontal bar charts.");var s=parseFloat(e.y);if("string"==typeof e.x||"category"===i.config.xaxis.type||i.config.xaxis.convertedCatToNumeric){var l=i.globals.labels.indexOf(e.x);i.config.xaxis.convertedCatToNumeric&&(l=i.globals.categoryLabels.indexOf(e.x)),o=this.annoCtx.helpers.getStringX(e.x),null===e.y&&(s=i.globals.series[e.seriesIndex][l])}else o=(e.x-i.globals.minX)/(i.globals.xRange/i.globals.gridWidth);for(var c,u=[],d=0,h=0;h<=e.seriesIndex;h++){var f=i.config.yaxis[h].seriesName;if(f)for(var p=h+1;p<=e.seriesIndex;p++)i.config.yaxis[p].seriesName===f&&-1===u.indexOf(f)&&(d++,u.push(f))}if(i.config.yaxis[e.yAxisIndex].logarithmic)c=(s=new C(this.annoCtx.ctx).getLogVal(s,e.yAxisIndex))/i.globals.yLogRatio[e.yAxisIndex];else{var g=e.yAxisIndex+d;c=(s-i.globals.minYArr[g])/(i.globals.yRange[g]/i.globals.gridHeight)}if(r=i.globals.gridHeight-c-parseFloat(e.label.style.fontSize)-e.marker.size,a=i.globals.gridHeight-c,i.config.yaxis[e.yAxisIndex]&&i.config.yaxis[e.yAxisIndex].reversed&&(r=c+parseFloat(e.label.style.fontSize)+e.marker.size,a=c),b.isNumber(o)){var v={pSize:e.marker.size,pointStrokeWidth:e.marker.strokeWidth,pointFillColor:e.marker.fillColor,pointStrokeColor:e.marker.strokeColor,shape:e.marker.shape,pRadius:e.marker.radius,class:"apexcharts-point-annotation-marker ".concat(e.marker.cssClass," ").concat(e.id?e.id:"")},m=this.annoCtx.graphics.drawMarker(o+e.marker.offsetX,a+e.marker.offsetY,v);t.appendChild(m.node);var x=e.label.text?e.label.text:"",y=this.annoCtx.graphics.drawText({x:o+e.label.offsetX,y:r+e.label.offsetY,text:x,textAnchor:e.label.textAnchor,fontSize:e.label.style.fontSize,fontFamily:e.label.style.fontFamily,fontWeight:e.label.style.fontWeight,foreColor:e.label.style.color,cssClass:"apexcharts-point-annotation-label ".concat(e.label.style.cssClass," ").concat(e.id?e.id:"")});if(y.attr({rel:n}),t.appendChild(y.node),e.customSVG.SVG){var w=this.annoCtx.graphics.group({class:"apexcharts-point-annotations-custom-svg "+e.customSVG.cssClass});w.attr({transform:"translate(".concat(o+e.customSVG.offsetX,", ").concat(r+e.customSVG.offsetY,")")}),w.node.innerHTML=e.customSVG.SVG,t.appendChild(w.node)}if(e.image.path){var k=e.image.width?e.image.width:20,S=e.image.height?e.image.height:20;m=this.annoCtx.addImage({x:o+e.image.offsetX-k/2,y:r+e.image.offsetY-S/2,width:k,height:S,path:e.image.path,appendTo:".apexcharts-point-annotations"})}e.mouseEnter&&m.node.addEventListener("mouseenter",e.mouseEnter.bind(this,e)),e.mouseLeave&&m.node.addEventListener("mouseleave",e.mouseLeave.bind(this,e))}}},{key:"drawPointAnnotations",value:function(){var e=this,t=this.w,n=this.annoCtx.graphics.group({class:"apexcharts-point-annotations"});return t.config.annotations.points.map((function(t,i){e.addPointAnnotation(t,n.node,i)})),n}}]),e}(),P={name:"en",options:{months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],toolbar:{exportToSVG:"Download SVG",exportToPNG:"Download PNG",exportToCSV:"Download CSV",menu:"Menu",selection:"Selection",selectionZoom:"Selection Zoom",zoomIn:"Zoom In",zoomOut:"Zoom Out",pan:"Panning",reset:"Reset Zoom"}}},L=function(){function e(){s(this,e),this.yAxis={show:!0,showAlways:!1,showForNullSeries:!0,seriesName:void 0,opposite:!1,reversed:!1,logarithmic:!1,logBase:10,tickAmount:void 0,forceNiceScale:!1,max:void 0,min:void 0,floating:!1,decimalsInFloat:void 0,labels:{show:!0,minWidth:0,maxWidth:160,offsetX:0,offsetY:0,align:void 0,rotate:0,padding:20,style:{colors:[],fontSize:"11px",fontWeight:400,fontFamily:void 0,cssClass:""},formatter:void 0},axisBorder:{show:!1,color:"#e0e0e0",width:1,offsetX:0,offsetY:0},axisTicks:{show:!1,color:"#e0e0e0",width:6,offsetX:0,offsetY:0},title:{text:void 0,rotate:-90,offsetY:0,offsetX:0,style:{color:void 0,fontSize:"11px",fontWeight:900,fontFamily:void 0,cssClass:""}},tooltip:{enabled:!1,offsetX:0},crosshairs:{show:!0,position:"front",stroke:{color:"#b6b6b6",width:1,dashArray:0}}},this.pointAnnotation={id:void 0,x:0,y:null,yAxisIndex:0,seriesIndex:0,mouseEnter:void 0,mouseLeave:void 0,marker:{size:4,fillColor:"#fff",strokeWidth:2,strokeColor:"#333",shape:"circle",offsetX:0,offsetY:0,radius:2,cssClass:""},label:{borderColor:"#c2c2c2",borderWidth:1,borderRadius:2,text:void 0,textAnchor:"middle",offsetX:0,offsetY:0,mouseEnter:void 0,mouseLeave:void 0,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:5,right:5,top:2,bottom:2}}},customSVG:{SVG:void 0,cssClass:void 0,offsetX:0,offsetY:0},image:{path:void 0,width:20,height:20,offsetX:0,offsetY:0}},this.yAxisAnnotation={id:void 0,y:0,y2:null,strokeDashArray:1,fillColor:"#c2c2c2",borderColor:"#c2c2c2",borderWidth:1,opacity:.3,offsetX:0,offsetY:0,width:"100%",yAxisIndex:0,label:{borderColor:"#c2c2c2",borderWidth:1,borderRadius:2,text:void 0,textAnchor:"end",position:"right",offsetX:0,offsetY:-3,mouseEnter:void 0,mouseLeave:void 0,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:5,right:5,top:2,bottom:2}}}},this.xAxisAnnotation={id:void 0,x:0,x2:null,strokeDashArray:1,fillColor:"#c2c2c2",borderColor:"#c2c2c2",borderWidth:1,opacity:.3,offsetX:0,offsetY:0,label:{borderColor:"#c2c2c2",borderWidth:1,borderRadius:2,text:void 0,textAnchor:"middle",orientation:"vertical",position:"top",offsetX:0,offsetY:0,mouseEnter:void 0,mouseLeave:void 0,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:5,right:5,top:2,bottom:2}}}},this.text={x:0,y:0,text:"",textAnchor:"start",foreColor:void 0,fontSize:"13px",fontFamily:void 0,fontWeight:400,appendTo:".apexcharts-annotations",backgroundColor:"transparent",borderColor:"#c2c2c2",borderRadius:0,borderWidth:0,paddingLeft:4,paddingRight:4,paddingTop:2,paddingBottom:2}}return c(e,[{key:"init",value:function(){return{annotations:{position:"front",yaxis:[this.yAxisAnnotation],xaxis:[this.xAxisAnnotation],points:[this.pointAnnotation],texts:[],images:[],shapes:[]},chart:{animations:{enabled:!0,easing:"easeinout",speed:800,animateGradually:{delay:150,enabled:!0},dynamicAnimation:{enabled:!0,speed:350}},background:"transparent",locales:[P],defaultLocale:"en",dropShadow:{enabled:!1,enabledOnSeries:void 0,top:2,left:2,blur:4,color:"#000",opacity:.35},events:{animationEnd:void 0,beforeMount:void 0,mounted:void 0,updated:void 0,click:void 0,mouseMove:void 0,mouseLeave:void 0,legendClick:void 0,markerClick:void 0,selection:void 0,dataPointSelection:void 0,dataPointMouseEnter:void 0,dataPointMouseLeave:void 0,beforeZoom:void 0,beforeResetZoom:void 0,zoomed:void 0,scrolled:void 0,brushScrolled:void 0},foreColor:"#373d3f",fontFamily:"Helvetica, Arial, sans-serif",height:"auto",parentHeightOffset:15,redrawOnParentResize:!0,redrawOnWindowResize:!0,id:void 0,group:void 0,offsetX:0,offsetY:0,selection:{enabled:!1,type:"x",fill:{color:"#24292e",opacity:.1},stroke:{width:1,color:"#24292e",opacity:.4,dashArray:3},xaxis:{min:void 0,max:void 0},yaxis:{min:void 0,max:void 0}},sparkline:{enabled:!1},brush:{enabled:!1,autoScaleYaxis:!0,target:void 0},stacked:!1,stackType:"normal",toolbar:{show:!0,offsetX:0,offsetY:0,tools:{download:!0,selection:!0,zoom:!0,zoomin:!0,zoomout:!0,pan:!0,reset:!0,customIcons:[]},export:{csv:{filename:void 0,columnDelimiter:",",headerCategory:"category",headerValue:"value",dateFormatter:function(e){return new Date(e).toDateString()}},png:{filename:void 0},svg:{filename:void 0}},autoSelected:"zoom"},type:"line",width:"100%",zoom:{enabled:!0,type:"x",autoScaleYaxis:!1,zoomedArea:{fill:{color:"#90CAF9",opacity:.4},stroke:{color:"#0D47A1",opacity:.4,width:1}}}},plotOptions:{area:{fillTo:"origin"},bar:{horizontal:!1,columnWidth:"70%",barHeight:"70%",distributed:!1,borderRadius:0,rangeBarOverlap:!0,rangeBarGroupRows:!1,colors:{ranges:[],backgroundBarColors:[],backgroundBarOpacity:1,backgroundBarRadius:0},dataLabels:{position:"top",maxItems:100,hideOverflowingLabels:!0,orientation:"horizontal"}},bubble:{minBubbleRadius:void 0,maxBubbleRadius:void 0},candlestick:{colors:{upward:"#00B746",downward:"#EF403C"},wick:{useFillColor:!0}},boxPlot:{colors:{upper:"#00E396",lower:"#008FFB"}},heatmap:{radius:2,enableShades:!0,shadeIntensity:.5,reverseNegativeShade:!1,distributed:!1,useFillColorAsStroke:!1,colorScale:{inverse:!1,ranges:[],min:void 0,max:void 0}},treemap:{enableShades:!0,shadeIntensity:.5,distributed:!1,reverseNegativeShade:!1,useFillColorAsStroke:!1,colorScale:{inverse:!1,ranges:[],min:void 0,max:void 0}},radialBar:{inverseOrder:!1,startAngle:0,endAngle:360,offsetX:0,offsetY:0,hollow:{margin:5,size:"50%",background:"transparent",image:void 0,imageWidth:150,imageHeight:150,imageOffsetX:0,imageOffsetY:0,imageClipped:!0,position:"front",dropShadow:{enabled:!1,top:0,left:0,blur:3,color:"#000",opacity:.5}},track:{show:!0,startAngle:void 0,endAngle:void 0,background:"#f2f2f2",strokeWidth:"97%",opacity:1,margin:5,dropShadow:{enabled:!1,top:0,left:0,blur:3,color:"#000",opacity:.5}},dataLabels:{show:!0,name:{show:!0,fontSize:"16px",fontFamily:void 0,fontWeight:600,color:void 0,offsetY:0,formatter:function(e){return e}},value:{show:!0,fontSize:"14px",fontFamily:void 0,fontWeight:400,color:void 0,offsetY:16,formatter:function(e){return e+"%"}},total:{show:!1,label:"Total",fontSize:"16px",fontWeight:600,fontFamily:void 0,color:void 0,formatter:function(e){return e.globals.seriesTotals.reduce((function(e,t){return e+t}),0)/e.globals.series.length+"%"}}}},pie:{customScale:1,offsetX:0,offsetY:0,startAngle:0,endAngle:360,expandOnClick:!0,dataLabels:{offset:0,minAngleToShowLabel:10},donut:{size:"65%",background:"transparent",labels:{show:!1,name:{show:!0,fontSize:"16px",fontFamily:void 0,fontWeight:600,color:void 0,offsetY:-10,formatter:function(e){return e}},value:{show:!0,fontSize:"20px",fontFamily:void 0,fontWeight:400,color:void 0,offsetY:10,formatter:function(e){return e}},total:{show:!1,showAlways:!1,label:"Total",fontSize:"16px",fontWeight:400,fontFamily:void 0,color:void 0,formatter:function(e){return e.globals.seriesTotals.reduce((function(e,t){return e+t}),0)}}}}},polarArea:{rings:{strokeWidth:1,strokeColor:"#e8e8e8"},spokes:{strokeWidth:1,connectorColors:"#e8e8e8"}},radar:{size:void 0,offsetX:0,offsetY:0,polygons:{strokeWidth:1,strokeColors:"#e8e8e8",connectorColors:"#e8e8e8",fill:{colors:void 0}}}},colors:void 0,dataLabels:{enabled:!0,enabledOnSeries:void 0,formatter:function(e){return null!==e?e:""},textAnchor:"middle",distributed:!1,offsetX:0,offsetY:0,style:{fontSize:"12px",fontFamily:void 0,fontWeight:600,colors:void 0},background:{enabled:!0,foreColor:"#fff",borderRadius:2,padding:4,opacity:.9,borderWidth:1,borderColor:"#fff",dropShadow:{enabled:!1,top:1,left:1,blur:1,color:"#000",opacity:.45}},dropShadow:{enabled:!1,top:1,left:1,blur:1,color:"#000",opacity:.45}},fill:{type:"solid",colors:void 0,opacity:.85,gradient:{shade:"dark",type:"horizontal",shadeIntensity:.5,gradientToColors:void 0,inverseColors:!0,opacityFrom:1,opacityTo:1,stops:[0,50,100],colorStops:[]},image:{src:[],width:void 0,height:void 0},pattern:{style:"squares",width:6,height:6,strokeWidth:2}},forecastDataPoints:{count:0,fillOpacity:.5,strokeWidth:void 0,dashArray:4},grid:{show:!0,borderColor:"#e0e0e0",strokeDashArray:0,position:"back",xaxis:{lines:{show:!1}},yaxis:{lines:{show:!0}},row:{colors:void 0,opacity:.5},column:{colors:void 0,opacity:.5},padding:{top:0,right:10,bottom:0,left:12}},labels:[],legend:{show:!0,showForSingleSeries:!1,showForNullSeries:!0,showForZeroSeries:!0,floating:!1,position:"bottom",horizontalAlign:"center",inverseOrder:!1,fontSize:"12px",fontFamily:void 0,fontWeight:400,width:void 0,height:void 0,formatter:void 0,tooltipHoverFormatter:void 0,offsetX:-20,offsetY:4,customLegendItems:[],labels:{colors:void 0,useSeriesColors:!1},markers:{width:12,height:12,strokeWidth:0,fillColors:void 0,strokeColor:"#fff",radius:12,customHTML:void 0,offsetX:0,offsetY:0,onClick:void 0},itemMargin:{horizontal:5,vertical:2},onItemClick:{toggleDataSeries:!0},onItemHover:{highlightDataSeries:!0}},markers:{discrete:[],size:0,colors:void 0,strokeColors:"#fff",strokeWidth:2,strokeOpacity:.9,strokeDashArray:0,fillOpacity:1,shape:"circle",width:8,height:8,radius:2,offsetX:0,offsetY:0,onClick:void 0,onDblClick:void 0,showNullDataPoints:!0,hover:{size:void 0,sizeOffset:3}},noData:{text:void 0,align:"center",verticalAlign:"middle",offsetX:0,offsetY:0,style:{color:void 0,fontSize:"14px",fontFamily:void 0}},responsive:[],series:void 0,states:{normal:{filter:{type:"none",value:0}},hover:{filter:{type:"lighten",value:.1}},active:{allowMultipleDataPointsSelection:!1,filter:{type:"darken",value:.5}}},title:{text:void 0,align:"left",margin:5,offsetX:0,offsetY:0,floating:!1,style:{fontSize:"14px",fontWeight:900,fontFamily:void 0,color:void 0}},subtitle:{text:void 0,align:"left",margin:5,offsetX:0,offsetY:30,floating:!1,style:{fontSize:"12px",fontWeight:400,fontFamily:void 0,color:void 0}},stroke:{show:!0,curve:"smooth",lineCap:"butt",width:2,colors:void 0,dashArray:0},tooltip:{enabled:!0,enabledOnSeries:void 0,shared:!0,followCursor:!1,intersect:!1,inverseOrder:!1,custom:void 0,fillSeriesColor:!1,theme:"light",style:{fontSize:"12px",fontFamily:void 0},onDatasetHover:{highlightDataSeries:!1},x:{show:!0,format:"dd MMM",formatter:void 0},y:{formatter:void 0,title:{formatter:function(e){return e?e+": ":""}}},z:{formatter:void 0,title:"Size: "},marker:{show:!0,fillColors:void 0},items:{display:"flex"},fixed:{enabled:!1,position:"topRight",offsetX:0,offsetY:0}},xaxis:{type:"category",categories:[],convertedCatToNumeric:!1,offsetX:0,offsetY:0,overwriteCategories:void 0,labels:{show:!0,rotate:-45,rotateAlways:!1,hideOverlappingLabels:!0,trim:!1,minHeight:void 0,maxHeight:120,showDuplicates:!0,style:{colors:[],fontSize:"12px",fontWeight:400,fontFamily:void 0,cssClass:""},offsetX:0,offsetY:0,format:void 0,formatter:void 0,datetimeUTC:!0,datetimeFormatter:{year:"yyyy",month:"MMM 'yy",day:"dd MMM",hour:"HH:mm",minute:"HH:mm:ss",second:"HH:mm:ss"}},axisBorder:{show:!0,color:"#e0e0e0",width:"100%",height:1,offsetX:0,offsetY:0},axisTicks:{show:!0,color:"#e0e0e0",height:6,offsetX:0,offsetY:0},tickAmount:void 0,tickPlacement:"on",min:void 0,max:void 0,range:void 0,floating:!1,decimalsInFloat:void 0,position:"bottom",title:{text:void 0,offsetX:0,offsetY:0,style:{color:void 0,fontSize:"12px",fontWeight:900,fontFamily:void 0,cssClass:""}},crosshairs:{show:!0,width:1,position:"back",opacity:.9,stroke:{color:"#b6b6b6",width:1,dashArray:3},fill:{type:"solid",color:"#B1B9C4",gradient:{colorFrom:"#D8E3F0",colorTo:"#BED1E6",stops:[0,100],opacityFrom:.4,opacityTo:.5}},dropShadow:{enabled:!1,left:0,top:0,blur:1,opacity:.4}},tooltip:{enabled:!0,offsetY:0,formatter:void 0,style:{fontSize:"12px",fontFamily:void 0}}},yaxis:this.yAxis,theme:{mode:"light",palette:"palette1",monochrome:{enabled:!1,color:"#008FFB",shadeTo:"light",shadeIntensity:.65}}}}}]),e}(),j=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.graphics=new w(this.ctx),this.w.globals.isBarHorizontal&&(this.invertAxis=!0),this.helpers=new k(this),this.xAxisAnnotations=new S(this),this.yAxisAnnotations=new _(this),this.pointsAnnotations=new A(this),this.w.globals.isBarHorizontal&&this.w.config.yaxis[0].reversed&&(this.inversedReversedAxis=!0),this.xDivision=this.w.globals.gridWidth/this.w.globals.dataPoints}return c(e,[{key:"drawAxesAnnotations",value:function(){var e=this.w;if(e.globals.axisCharts){for(var t=this.yAxisAnnotations.drawYAxisAnnotations(),n=this.xAxisAnnotations.drawXAxisAnnotations(),i=this.pointsAnnotations.drawPointAnnotations(),o=e.config.chart.animations.enabled,r=[t,n,i],a=[n.node,t.node,i.node],s=0;s<3;s++)e.globals.dom.elGraphical.add(r[s]),!o||e.globals.resized||e.globals.dataChanged||"scatter"!==e.config.chart.type&&"bubble"!==e.config.chart.type&&e.globals.dataPoints>1&&a[s].classList.add("apexcharts-element-hidden"),e.globals.delayedElements.push({el:a[s],index:0});this.helpers.annotationsBackground()}}},{key:"drawImageAnnos",value:function(){var e=this;this.w.config.annotations.images.map((function(t,n){e.addImage(t,n)}))}},{key:"drawTextAnnos",value:function(){var e=this;this.w.config.annotations.texts.map((function(t,n){e.addText(t,n)}))}},{key:"addXaxisAnnotation",value:function(e,t,n){this.xAxisAnnotations.addXaxisAnnotation(e,t,n)}},{key:"addYaxisAnnotation",value:function(e,t,n){this.yAxisAnnotations.addYaxisAnnotation(e,t,n)}},{key:"addPointAnnotation",value:function(e,t,n){this.pointsAnnotations.addPointAnnotation(e,t,n)}},{key:"addText",value:function(e,t){var n=e.x,i=e.y,o=e.text,r=e.textAnchor,a=e.foreColor,s=e.fontSize,l=e.fontFamily,c=e.fontWeight,u=e.cssClass,d=e.backgroundColor,h=e.borderWidth,f=e.strokeDashArray,p=e.borderRadius,g=e.borderColor,v=e.appendTo,m=void 0===v?".apexcharts-annotations":v,b=e.paddingLeft,x=void 0===b?4:b,y=e.paddingRight,w=void 0===y?4:y,k=e.paddingBottom,S=void 0===k?2:k,C=e.paddingTop,_=void 0===C?2:C,A=this.w,P=this.graphics.drawText({x:n,y:i,text:o,textAnchor:r||"start",fontSize:s||"12px",fontWeight:c||"regular",fontFamily:l||A.config.chart.fontFamily,foreColor:a||A.config.chart.foreColor,cssClass:u}),L=A.globals.dom.baseEl.querySelector(m);L&&L.appendChild(P.node);var j=P.bbox();if(o){var T=this.graphics.drawRect(j.x-x,j.y-_,j.width+x+w,j.height+S+_,p,d||"transparent",1,h,g,f);L.insertBefore(T.node,P.node)}}},{key:"addImage",value:function(e,t){var n=this.w,i=e.path,o=e.x,r=void 0===o?0:o,a=e.y,s=void 0===a?0:a,l=e.width,c=void 0===l?20:l,u=e.height,d=void 0===u?20:u,h=e.appendTo,f=void 0===h?".apexcharts-annotations":h,p=n.globals.dom.Paper.image(i);p.size(c,d).move(r,s);var g=n.globals.dom.baseEl.querySelector(f);return g&&g.appendChild(p.node),p}},{key:"addXaxisAnnotationExternal",value:function(e,t,n){return this.addAnnotationExternal({params:e,pushToMemory:t,context:n,type:"xaxis",contextMethod:n.addXaxisAnnotation}),n}},{key:"addYaxisAnnotationExternal",value:function(e,t,n){return this.addAnnotationExternal({params:e,pushToMemory:t,context:n,type:"yaxis",contextMethod:n.addYaxisAnnotation}),n}},{key:"addPointAnnotationExternal",value:function(e,t,n){return void 0===this.invertAxis&&(this.invertAxis=n.w.globals.isBarHorizontal),this.addAnnotationExternal({params:e,pushToMemory:t,context:n,type:"point",contextMethod:n.addPointAnnotation}),n}},{key:"addAnnotationExternal",value:function(e){var t=e.params,n=e.pushToMemory,i=e.context,o=e.type,r=e.contextMethod,a=i,s=a.w,l=s.globals.dom.baseEl.querySelector(".apexcharts-".concat(o,"-annotations")),c=l.childNodes.length+1,u=new L,d=Object.assign({},"xaxis"===o?u.xAxisAnnotation:"yaxis"===o?u.yAxisAnnotation:u.pointAnnotation),h=b.extend(d,t);switch(o){case"xaxis":this.addXaxisAnnotation(h,l,c);break;case"yaxis":this.addYaxisAnnotation(h,l,c);break;case"point":this.addPointAnnotation(h,l,c)}var f=s.globals.dom.baseEl.querySelector(".apexcharts-".concat(o,"-annotations .apexcharts-").concat(o,"-annotation-label[rel='").concat(c,"']")),p=this.helpers.addBackgroundToAnno(f,h);return p&&l.insertBefore(p.node,f),n&&s.globals.memory.methodsToExec.push({context:a,id:h.id?h.id:b.randomId(),method:r,label:"addAnnotation",params:t}),i}},{key:"clearAnnotations",value:function(e){var t=e.w,n=t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis-annotations, .apexcharts-xaxis-annotations, .apexcharts-point-annotations");t.globals.memory.methodsToExec.map((function(e,n){"addText"!==e.label&&"addAnnotation"!==e.label||t.globals.memory.methodsToExec.splice(n,1)})),n=b.listToArray(n),Array.prototype.forEach.call(n,(function(e){for(;e.firstChild;)e.removeChild(e.firstChild)}))}},{key:"removeAnnotation",value:function(e,t){var n=e.w,i=n.globals.dom.baseEl.querySelectorAll(".".concat(t));i&&(n.globals.memory.methodsToExec.map((function(e,i){e.id===t&&n.globals.memory.methodsToExec.splice(i,1)})),Array.prototype.forEach.call(i,(function(e){e.parentElement.removeChild(e)})))}}]),e}(),T=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.opts=null,this.seriesIndex=0}return c(e,[{key:"clippedImgArea",value:function(e){var t=this.w,n=t.config,i=parseInt(t.globals.gridWidth,10),o=parseInt(t.globals.gridHeight,10),r=i>o?i:o,a=e.image,s=0,l=0;void 0===e.width&&void 0===e.height?void 0!==n.fill.image.width&&void 0!==n.fill.image.height?(s=n.fill.image.width+1,l=n.fill.image.height):(s=r+1,l=r):(s=e.width,l=e.height);var c=document.createElementNS(t.globals.SVGNS,"pattern");w.setAttrs(c,{id:e.patternID,patternUnits:e.patternUnits?e.patternUnits:"userSpaceOnUse",width:s+"px",height:l+"px"});var u=document.createElementNS(t.globals.SVGNS,"image");c.appendChild(u),u.setAttributeNS(window.SVG.xlink,"href",a),w.setAttrs(u,{x:0,y:0,preserveAspectRatio:"none",width:s+"px",height:l+"px"}),u.style.opacity=e.opacity,t.globals.dom.elDefs.node.appendChild(c)}},{key:"getSeriesIndex",value:function(e){var t=this.w;return("bar"===t.config.chart.type||"rangeBar"===t.config.chart.type)&&t.config.plotOptions.bar.distributed||"heatmap"===t.config.chart.type||"treemap"===t.config.chart.type?this.seriesIndex=e.seriesNumber:this.seriesIndex=e.seriesNumber%t.globals.series.length,this.seriesIndex}},{key:"fillPath",value:function(e){var t=this.w;this.opts=e;var n,i,o,r=this.w.config;this.seriesIndex=this.getSeriesIndex(e);var a=this.getFillColors()[this.seriesIndex];void 0!==t.globals.seriesColors[this.seriesIndex]&&(a=t.globals.seriesColors[this.seriesIndex]),"function"==typeof a&&(a=a({seriesIndex:this.seriesIndex,dataPointIndex:e.dataPointIndex,value:e.value,w:t}));var s=this.getFillType(this.seriesIndex),l=Array.isArray(r.fill.opacity)?r.fill.opacity[this.seriesIndex]:r.fill.opacity;e.color&&(a=e.color);var c=a;if(-1===a.indexOf("rgb")?a.length<9&&(c=b.hexToRgba(a,l)):a.indexOf("rgba")>-1&&(l=b.getOpacityFromRGBA(a)),e.opacity&&(l=e.opacity),"pattern"===s&&(i=this.handlePatternFill(i,a,l,c)),"gradient"===s&&(o=this.handleGradientFill(a,l,this.seriesIndex)),"image"===s){var u=r.fill.image.src,d=e.patternID?e.patternID:"";this.clippedImgArea({opacity:l,image:Array.isArray(u)?e.seriesNumber-1&&(u=b.getOpacityFromRGBA(c));var d=void 0===o.fill.gradient.opacityTo?t:Array.isArray(o.fill.gradient.opacityTo)?o.fill.gradient.opacityTo[n]:o.fill.gradient.opacityTo;if(void 0===o.fill.gradient.gradientToColors||0===o.fill.gradient.gradientToColors.length)i="dark"===o.fill.gradient.shade?s.shadeColor(-1*parseFloat(o.fill.gradient.shadeIntensity),e.indexOf("rgb")>-1?b.rgb2hex(e):e):s.shadeColor(parseFloat(o.fill.gradient.shadeIntensity),e.indexOf("rgb")>-1?b.rgb2hex(e):e);else if(o.fill.gradient.gradientToColors[r.seriesNumber]){var h=o.fill.gradient.gradientToColors[r.seriesNumber];i=h,h.indexOf("rgba")>-1&&(d=b.getOpacityFromRGBA(h))}else i=e;if(o.fill.gradient.inverseColors){var f=c;c=i,i=f}return c.indexOf("rgb")>-1&&(c=b.rgb2hex(c)),i.indexOf("rgb")>-1&&(i=b.rgb2hex(i)),a.drawGradient(l,c,i,u,d,r.size,o.fill.gradient.stops,o.fill.gradient.colorStops,n)}}]),e}(),F=function(){function e(t,n){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"setGlobalMarkerSize",value:function(){var e=this.w;if(e.globals.markers.size=Array.isArray(e.config.markers.size)?e.config.markers.size:[e.config.markers.size],e.globals.markers.size.length>0){if(e.globals.markers.size.length4&&void 0!==arguments[4]&&arguments[4],a=this.w,s=t,l=e,c=null,u=new w(this.ctx);if((a.globals.markers.size[t]>0||r)&&(c=u.group({class:r?"":"apexcharts-series-markers"})).attr("clip-path","url(#gridRectMarkerMask".concat(a.globals.cuid,")")),Array.isArray(l.x))for(var d=0;d0:a.config.markers.size>0;if(p||r){b.isNumber(l.y[d])?f+=" w".concat(b.randomId()):f="apexcharts-nullpoint";var g=this.getMarkerConfig({cssClass:f,seriesIndex:t,dataPointIndex:h});a.config.series[s].data[h]&&(a.config.series[s].data[h].fillColor&&(g.pointFillColor=a.config.series[s].data[h].fillColor),a.config.series[s].data[h].strokeColor&&(g.pointStrokeColor=a.config.series[s].data[h].strokeColor)),i&&(g.pSize=i),(o=u.drawMarker(l.x[d],l.y[d],g)).attr("rel",h),o.attr("j",h),o.attr("index",t),o.node.setAttribute("default-marker-size",g.pSize);var v=new y(this.ctx);v.setSelectionFilter(o,t,h),this.addEvents(o),c&&c.add(o)}else void 0===a.globals.pointsArray[t]&&(a.globals.pointsArray[t]=[]),a.globals.pointsArray[t].push([l.x[d],l.y[d]])}return c}},{key:"getMarkerConfig",value:function(e){var t=e.cssClass,n=e.seriesIndex,i=e.dataPointIndex,o=void 0===i?null:i,r=e.finishRadius,a=void 0===r?null:r,s=this.w,l=this.getMarkerStyle(n),c=s.globals.markers.size[n],u=s.config.markers;return null!==o&&u.discrete.length&&u.discrete.map((function(e){e.seriesIndex===n&&e.dataPointIndex===o&&(l.pointStrokeColor=e.strokeColor,l.pointFillColor=e.fillColor,c=e.size,l.pointShape=e.shape)})),{pSize:null===a?c:a,pRadius:u.radius,width:Array.isArray(u.width)?u.width[n]:u.width,height:Array.isArray(u.height)?u.height[n]:u.height,pointStrokeWidth:Array.isArray(u.strokeWidth)?u.strokeWidth[n]:u.strokeWidth,pointStrokeColor:l.pointStrokeColor,pointFillColor:l.pointFillColor,shape:l.pointShape||(Array.isArray(u.shape)?u.shape[n]:u.shape),class:t,pointStrokeOpacity:Array.isArray(u.strokeOpacity)?u.strokeOpacity[n]:u.strokeOpacity,pointStrokeDashArray:Array.isArray(u.strokeDashArray)?u.strokeDashArray[n]:u.strokeDashArray,pointFillOpacity:Array.isArray(u.fillOpacity)?u.fillOpacity[n]:u.fillOpacity,seriesIndex:n}}},{key:"addEvents",value:function(e){var t=this.w,n=new w(this.ctx);e.node.addEventListener("mouseenter",n.pathMouseEnter.bind(this.ctx,e)),e.node.addEventListener("mouseleave",n.pathMouseLeave.bind(this.ctx,e)),e.node.addEventListener("mousedown",n.pathMouseDown.bind(this.ctx,e)),e.node.addEventListener("click",t.config.markers.onClick),e.node.addEventListener("dblclick",t.config.markers.onDblClick),e.node.addEventListener("touchstart",n.pathMouseDown.bind(this.ctx,e),{passive:!0})}},{key:"getMarkerStyle",value:function(e){var t=this.w,n=t.globals.markers.colors,i=t.config.markers.strokeColor||t.config.markers.strokeColors;return{pointStrokeColor:Array.isArray(i)?i[e]:i,pointFillColor:Array.isArray(n)?n[e]:n}}}]),e}(),E=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.initialAnim=this.w.config.chart.animations.enabled,this.dynamicAnim=this.initialAnim&&this.w.config.chart.animations.dynamicAnimation.enabled}return c(e,[{key:"draw",value:function(e,t,n){var i=this.w,o=new w(this.ctx),r=n.realIndex,a=n.pointsPos,s=n.zRatio,l=n.elParent,c=o.group({class:"apexcharts-series-markers apexcharts-series-".concat(i.config.chart.type)});if(c.attr("clip-path","url(#gridRectMarkerMask".concat(i.globals.cuid,")")),Array.isArray(a.x))for(var u=0;ug.maxBubbleRadius&&(p=g.maxBubbleRadius)}i.config.chart.animations.enabled||(f=p);var v=a.x[u],m=a.y[u];if(f=f||0,null!==m&&void 0!==i.globals.series[r][d]||(h=!1),h){var b=this.drawPoint(v,m,f,p,r,d,t);c.add(b)}l.add(c)}}},{key:"drawPoint",value:function(e,t,n,i,o,r,a){var s=this.w,l=o,c=new x(this.ctx),u=new y(this.ctx),d=new T(this.ctx),h=new F(this.ctx),f=new w(this.ctx),p=h.getMarkerConfig({cssClass:"apexcharts-marker",seriesIndex:l,dataPointIndex:r,finishRadius:"bubble"===s.config.chart.type||s.globals.comboCharts&&s.config.series[o]&&"bubble"===s.config.series[o].type?i:null});i=p.pSize;var g,v=d.fillPath({seriesNumber:o,dataPointIndex:r,color:p.pointFillColor,patternUnits:"objectBoundingBox",value:s.globals.series[o][a]});if("circle"===p.shape?g=f.drawCircle(n):"square"!==p.shape&&"rect"!==p.shape||(g=f.drawRect(0,0,p.width-p.pointStrokeWidth/2,p.height-p.pointStrokeWidth/2,p.pRadius)),s.config.series[l].data[r]&&s.config.series[l].data[r].fillColor&&(v=s.config.series[l].data[r].fillColor),g.attr({x:e-p.width/2-p.pointStrokeWidth/2,y:t-p.height/2-p.pointStrokeWidth/2,cx:e,cy:t,fill:v,"fill-opacity":p.pointFillOpacity,stroke:p.pointStrokeColor,r:i,"stroke-width":p.pointStrokeWidth,"stroke-dasharray":p.pointStrokeDashArray,"stroke-opacity":p.pointStrokeOpacity}),s.config.chart.dropShadow.enabled){var m=s.config.chart.dropShadow;u.dropShadow(g,m,o)}if(!this.initialAnim||s.globals.dataChanged||s.globals.resized)s.globals.animationEnded=!0;else{var b=s.config.chart.animations.speed;c.animateMarker(g,0,"circle"===p.shape?i:{width:p.width,height:p.height},b,s.globals.easing,(function(){window.setTimeout((function(){c.animationCompleted(g)}),100)}))}if(s.globals.dataChanged&&"circle"===p.shape)if(this.dynamicAnim){var k,S,C,_,A=s.config.chart.animations.dynamicAnimation.speed;null!=(_=s.globals.previousPaths[o]&&s.globals.previousPaths[o][a])&&(k=_.x,S=_.y,C=void 0!==_.r?_.r:i);for(var P=0;Ps.globals.gridHeight+d&&(t=s.globals.gridHeight+d/2),void 0===s.globals.dataLabelsRects[i]&&(s.globals.dataLabelsRects[i]=[]),s.globals.dataLabelsRects[i].push({x:e,y:t,width:u,height:d});var h=s.globals.dataLabelsRects[i].length-2,f=void 0!==s.globals.lastDrawnDataLabelsIndexes[i]?s.globals.lastDrawnDataLabelsIndexes[i][s.globals.lastDrawnDataLabelsIndexes[i].length-1]:0;if(void 0!==s.globals.dataLabelsRects[i][h]){var p=s.globals.dataLabelsRects[i][f];(e>p.x+p.width+2||t>p.y+p.height+2||e+u4&&void 0!==arguments[4]?arguments[4]:2,r=this.w,a=new w(this.ctx),s=r.config.dataLabels,l=0,c=0,u=n,d=null;if(!s.enabled||!Array.isArray(e.x))return d;d=a.group({class:"apexcharts-data-labels"});for(var h=0;ht.globals.gridWidth+g.textRects.width+10)&&(s="");var v=t.globals.dataLabels.style.colors[r];(("bar"===t.config.chart.type||"rangeBar"===t.config.chart.type)&&t.config.plotOptions.bar.distributed||t.config.dataLabels.distributed)&&(v=t.globals.dataLabels.style.colors[a]),"function"==typeof v&&(v=v({series:t.globals.series,seriesIndex:r,dataPointIndex:a,w:t})),h&&(v=h);var m=d.offsetX,b=d.offsetY;if("bar"!==t.config.chart.type&&"rangeBar"!==t.config.chart.type||(m=0,b=0),g.drawnextLabel){var x=n.drawText({width:100,height:parseInt(d.style.fontSize,10),x:i+m,y:o+b,foreColor:v,textAnchor:l||d.textAnchor,text:s,fontSize:c||d.style.fontSize,fontFamily:d.style.fontFamily,fontWeight:d.style.fontWeight||"normal"});if(x.attr({class:"apexcharts-datalabel",cx:i,cy:o}),d.dropShadow.enabled){var k=d.dropShadow;new y(this.ctx).dropShadow(x,k)}u.add(x),void 0===t.globals.lastDrawnDataLabelsIndexes[r]&&(t.globals.lastDrawnDataLabelsIndexes[r]=[]),t.globals.lastDrawnDataLabelsIndexes[r].push(a)}}}},{key:"addBackgroundToDataLabel",value:function(e,t){var n=this.w,i=n.config.dataLabels.background,o=i.padding,r=i.padding/2,a=t.width,s=t.height,l=new w(this.ctx).drawRect(t.x-o,t.y-r/2,a+2*o,s+r,i.borderRadius,"transparent"===n.config.chart.background?"#fff":n.config.chart.background,i.opacity,i.borderWidth,i.borderColor);return i.dropShadow.enabled&&new y(this.ctx).dropShadow(l,i.dropShadow),l}},{key:"dataLabelsBackground",value:function(){var e=this.w;if("bubble"!==e.config.chart.type)for(var t=e.globals.dom.baseEl.querySelectorAll(".apexcharts-datalabels text"),n=0;nn.globals.gridHeight&&(u=n.globals.gridHeight-h)),{bcx:a,bcy:r,dataLabelsX:t,dataLabelsY:u}}},{key:"calculateBarsDataLabelsPosition",value:function(e){var t=this.w,n=e.x,i=e.i,o=e.j,r=e.bcy,a=e.barHeight,s=e.barWidth,l=e.textRects,c=e.dataLabelsX,u=e.strokeWidth,d=e.barDataLabelsConfig,h=e.offX,f=e.offY,p=t.globals.gridHeight/t.globals.dataPoints;s=Math.abs(s);var g=r-(this.barCtx.isRangeBar?0:p)+a/2+l.height/2+f-3,v=this.barCtx.series[i][o]<0,m=n;switch(this.barCtx.isReversed&&(m=n+s-(v?2*s:0),n=t.globals.gridWidth-s),d.position){case"center":c=v?m+s/2-h:Math.max(l.width/2,m-s/2)+h;break;case"bottom":c=v?m+s-u-Math.round(l.width/2)-h:m-s+u+Math.round(l.width/2)+h;break;case"top":c=v?m-u+Math.round(l.width/2)-h:m-u-Math.round(l.width/2)+h}return t.config.chart.stacked||(c<0?c=c+l.width+u:c+l.width/2>t.globals.gridWidth&&(c=t.globals.gridWidth-l.width-u)),{bcx:n,bcy:r,dataLabelsX:c,dataLabelsY:g}}},{key:"drawCalculatedDataLabels",value:function(e){var t=e.x,n=e.y,i=e.val,o=e.i,a=e.j,s=e.textRects,l=e.barHeight,c=e.barWidth,u=e.dataLabelsConfig,d=this.w,h="rotate(0)";"vertical"===d.config.plotOptions.bar.dataLabels.orientation&&(h="rotate(-90, ".concat(t,", ").concat(n,")"));var f=new O(this.barCtx.ctx),p=new w(this.barCtx.ctx),g=u.formatter,v=null,m=d.globals.collapsedSeriesIndices.indexOf(o)>-1;if(u.enabled&&!m){v=p.group({class:"apexcharts-data-labels",transform:h});var b="";void 0!==i&&(b=g(i,{seriesIndex:o,dataPointIndex:a,w:d}));var x=d.globals.series[o][a]<0,y=d.config.plotOptions.bar.dataLabels.position;"vertical"===d.config.plotOptions.bar.dataLabels.orientation&&("top"===y&&(u.textAnchor=x?"end":"start"),"center"===y&&(u.textAnchor="middle"),"bottom"===y&&(u.textAnchor=x?"end":"start")),this.barCtx.isRangeBar&&this.barCtx.barOptions.dataLabels.hideOverflowingLabels&&cMath.abs(c)&&(b=""):s.height/1.6>Math.abs(l)&&(b=""));var k=r({},u);this.barCtx.isHorizontal&&i<0&&("start"===u.textAnchor?k.textAnchor="end":"end"===u.textAnchor&&(k.textAnchor="start")),f.plotDataLabelsText({x:t,y:n,text:b,i:o,j:a,parent:v,dataLabelsConfig:k,alwaysDrawDataLabel:!0,offsetCorrection:!0})}return v}}]),e}(),R=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.legendInactiveClass="legend-mouseover-inactive"}return c(e,[{key:"getAllSeriesEls",value:function(){return this.w.globals.dom.baseEl.getElementsByClassName("apexcharts-series")}},{key:"getSeriesByName",value:function(e){return this.w.globals.dom.baseEl.querySelector(".apexcharts-inner .apexcharts-series[seriesName='".concat(b.escapeString(e),"']"))}},{key:"isSeriesHidden",value:function(e){var t=this.getSeriesByName(e),n=parseInt(t.getAttribute("data:realIndex"),10);return{isHidden:t.classList.contains("apexcharts-series-collapsed"),realIndex:n}}},{key:"addCollapsedClassToSeries",value:function(e,t){var n=this.w;function i(n){for(var i=0;i0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=this.w,o=b.clone(i.globals.initialSeries);i.globals.previousPaths=[],n?(i.globals.collapsedSeries=[],i.globals.ancillaryCollapsedSeries=[],i.globals.collapsedSeriesIndices=[],i.globals.ancillaryCollapsedSeriesIndices=[]):o=this.emptyCollapsedSeries(o),i.config.series=o,e&&(t&&(i.globals.zoomed=!1,this.ctx.updateHelpers.revertDefaultAxisMinMax()),this.ctx.updateHelpers._updateSeries(o,i.config.chart.animations.dynamicAnimation.enabled))}},{key:"emptyCollapsedSeries",value:function(e){for(var t=this.w,n=0;n-1&&(e[n].data=[]);return e}},{key:"toggleSeriesOnHover",value:function(e,t){var n=this.w;t||(t=e.target);var i=n.globals.dom.baseEl.querySelectorAll(".apexcharts-series, .apexcharts-datalabels");if("mousemove"===e.type){var o=parseInt(t.getAttribute("rel"),10)-1,r=null,a=null;n.globals.axisCharts||"radialBar"===n.config.chart.type?n.globals.axisCharts?(r=n.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(o,"']")),a=n.globals.dom.baseEl.querySelector(".apexcharts-datalabels[data\\:realIndex='".concat(o,"']"))):r=n.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(o+1,"']")):r=n.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(o+1,"'] path"));for(var s=0;s=e.from&&i<=e.to&&o[t].classList.remove(n.legendInactiveClass)}}(i.config.plotOptions.heatmap.colorScale.ranges[a])}else"mouseout"===e.type&&r("remove")}},{key:"getActiveConfigSeriesIndex",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"asc",n=this.w,i=0;if(n.config.series.length>1)for(var o=n.config.series.map((function(t,i){var o=!1;return e&&(o="bar"===n.config.series[i].type||"column"===n.config.series[i].type),t.data&&t.data.length>0&&!o?i:-1})),r="asc"===t?0:o.length-1;"asc"===t?r=0;"asc"===t?r++:r--)if(-1!==o[r]){i=o[r];break}return i}},{key:"getPreviousPaths",value:function(){var e=this.w;function t(t,n,i){for(var o=t[n].childNodes,r={type:i,paths:[],realIndex:t[n].getAttribute("data:realIndex")},a=0;a0)for(var i=function(t){for(var n=e.globals.dom.baseEl.querySelectorAll(".apexcharts-".concat(e.config.chart.type," .apexcharts-series[data\\:realIndex='").concat(t,"'] rect")),i=[],o=function(e){var t=function(t){return n[e].getAttribute(t)},o={x:parseFloat(t("x")),y:parseFloat(t("y")),width:parseFloat(t("width")),height:parseFloat(t("height"))};i.push({rect:o,color:n[e].getAttribute("color")})},r=0;r0)for(var i=0;i0?e:[]}));return e}}]),e}(),I=function(){function e(t){s(this,e),this.w=t.w,this.barCtx=t}return c(e,[{key:"initVariables",value:function(e){var t=this.w;this.barCtx.series=e,this.barCtx.totalItems=0,this.barCtx.seriesLen=0,this.barCtx.visibleI=-1,this.barCtx.visibleItems=1;for(var n=0;n0&&(this.barCtx.seriesLen=this.barCtx.seriesLen+1,this.barCtx.totalItems+=e[n].length),t.globals.isXNumeric)for(var i=0;it.globals.minX&&t.globals.seriesX[n][i]0&&(i=l.globals.minXDiff/d),(r=i/this.barCtx.seriesLen*parseInt(this.barCtx.barOptions.columnWidth,10)/100)<1&&(r=1)}a=l.globals.gridHeight-this.barCtx.baseLineY[this.barCtx.yaxisIndex]-(this.barCtx.isReversed?l.globals.gridHeight:0)+(this.barCtx.isReversed?2*this.barCtx.baseLineY[this.barCtx.yaxisIndex]:0),e=l.globals.padHorizontal+(i-r*this.barCtx.seriesLen)/2}return{x:e,y:t,yDivision:n,xDivision:i,barHeight:o,barWidth:r,zeroH:a,zeroW:s}}},{key:"getPathFillColor",value:function(e,t,n,i){var o=this.w,r=new T(this.barCtx.ctx),a=null,s=this.barCtx.barOptions.distributed?n:t;return this.barCtx.barOptions.colors.ranges.length>0&&this.barCtx.barOptions.colors.ranges.map((function(i){e[t][n]>=i.from&&e[t][n]<=i.to&&(a=i.color)})),o.config.series[t].data[n]&&o.config.series[t].data[n].fillColor&&(a=o.config.series[t].data[n].fillColor),r.fillPath({seriesNumber:this.barCtx.barOptions.distributed?s:i,dataPointIndex:n,color:a,value:e[t][n]})}},{key:"getStrokeWidth",value:function(e,t,n){var i=0,o=this.w;return void 0===this.barCtx.series[e][t]||null===this.barCtx.series[e][t]?this.barCtx.isNullValue=!0:this.barCtx.isNullValue=!1,o.config.stroke.show&&(this.barCtx.isNullValue||(i=Array.isArray(this.barCtx.strokeWidth)?this.barCtx.strokeWidth[n]:this.barCtx.strokeWidth)),i}},{key:"barBackground",value:function(e){var t=e.j,n=e.i,i=e.x1,o=e.x2,r=e.y1,a=e.y2,s=e.elSeries,l=this.w,c=new w(this.barCtx.ctx),u=new R(this.barCtx.ctx).getActiveConfigSeriesIndex();if(this.barCtx.barOptions.colors.backgroundBarColors.length>0&&u===n){t>=this.barCtx.barOptions.colors.backgroundBarColors.length&&(t-=this.barCtx.barOptions.colors.backgroundBarColors.length);var d=this.barCtx.barOptions.colors.backgroundBarColors[t],h=c.drawRect(void 0!==i?i:0,void 0!==r?r:0,void 0!==o?o:l.globals.gridWidth,void 0!==a?a:l.globals.gridHeight,this.barCtx.barOptions.colors.backgroundBarRadius,d,this.barCtx.barOptions.colors.backgroundBarOpacity);s.add(h),h.node.classList.add("apexcharts-backgroundBar")}}},{key:"getColumnPaths",value:function(e){var t=e.barWidth,n=e.barXPosition,i=e.yRatio,o=e.y1,r=e.y2,a=e.strokeWidth,s=e.series,l=e.realIndex,c=e.i,u=e.j,d=e.w,h=new w(this.barCtx.ctx);(a=Array.isArray(a)?a[l]:a)||(a=0);var f={barWidth:t,strokeWidth:a,yRatio:i,barXPosition:n,y1:o,y2:r},p=this.getRoundedBars(d,f,s,c,u),g=n,v=n+t,m=h.move(g,o),b=h.move(g,o),x=h.line(v-a,o);return d.globals.previousPaths.length>0&&(b=this.barCtx.getPreviousPath(l,u,!1)),m=m+h.line(g,p.y2)+p.pathWithRadius+h.line(v-a,p.y2)+x+x+"z",b=b+h.line(g,o)+x+x+x+x+x+h.line(g,o),d.config.chart.stacked&&(this.barCtx.yArrj.push(p.y2),this.barCtx.yArrjF.push(Math.abs(o-p.y2)),this.barCtx.yArrjVal.push(this.barCtx.series[c][u])),{pathTo:m,pathFrom:b}}},{key:"getBarpaths",value:function(e){var t=e.barYPosition,n=e.barHeight,i=e.x1,o=e.x2,r=e.strokeWidth,a=e.series,s=e.realIndex,l=e.i,c=e.j,u=e.w,d=new w(this.barCtx.ctx);(r=Array.isArray(r)?r[s]:r)||(r=0);var h={barHeight:n,strokeWidth:r,barYPosition:t,x2:o,x1:i},f=this.getRoundedBars(u,h,a,l,c),p=d.move(i,t),g=d.move(i,t);u.globals.previousPaths.length>0&&(g=this.barCtx.getPreviousPath(s,c,!1));var v=t,m=t+n,b=d.line(i,m-r);return p=p+d.line(f.x2,v)+f.pathWithRadius+d.line(f.x2,m-r)+b+b+"z",g=g+d.line(i,v)+b+b+b+b+b+d.line(i,v),u.config.chart.stacked&&(this.barCtx.xArrj.push(f.x2),this.barCtx.xArrjF.push(Math.abs(i-f.x2)),this.barCtx.xArrjVal.push(this.barCtx.series[l][c])),{pathTo:p,pathFrom:g}}},{key:"getRoundedBars",value:function(e,t,n,i,o){var r=new w(this.barCtx.ctx),a=0,s=e.config.plotOptions.bar.borderRadius,l=Array.isArray(s);if(a=l?s[i>s.length-1?s.length-1:i]:s,e.config.chart.stacked&&n.length>1&&i!==this.barCtx.radiusOnSeriesNumber&&!l&&(a=0),this.barCtx.isHorizontal){var c="",u=t.x2;if(Math.abs(t.x1-t.x2)0:n[i][o]<0;d&&(a*=-1),u-=a,c=r.quadraticCurve(u+a,t.barYPosition,u+a,t.barYPosition+(d?-1*a:a))+r.line(u+a,t.barYPosition+t.barHeight-t.strokeWidth-(d?-1*a:a))+r.quadraticCurve(u+a,t.barYPosition+t.barHeight-t.strokeWidth,u,t.barYPosition+t.barHeight-t.strokeWidth)}return{pathWithRadius:c,x2:u}}var h="",f=t.y2;if(Math.abs(t.y1-t.y2)=0;a--)this.barCtx.zeroSerieses.indexOf(a)>-1&&a===this.radiusOnSeriesNumber&&(this.barCtx.radiusOnSeriesNumber-=1);for(var s=t.length-1;s>=0;s--)n.globals.collapsedSeriesIndices.indexOf(this.barCtx.radiusOnSeriesNumber)>-1&&(this.barCtx.radiusOnSeriesNumber-=1)}},{key:"getXForValue",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=n?t:null;return null!=e&&(i=t+e/this.barCtx.invertedYRatio-2*(this.barCtx.isReversed?e/this.barCtx.invertedYRatio:0)),i}},{key:"getYForValue",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=n?t:null;return null!=e&&(i=t-e/this.barCtx.yRatio[this.barCtx.yaxisIndex]+2*(this.barCtx.isReversed?e/this.barCtx.yRatio[this.barCtx.yaxisIndex]:0)),i}},{key:"getGoalValues",value:function(e,t,n,i,o){var r=this,a=this.w,s=[];return a.globals.seriesGoals[i]&&a.globals.seriesGoals[i][o]&&Array.isArray(a.globals.seriesGoals[i][o])&&a.globals.seriesGoals[i][o].forEach((function(i){var o;s.push((u(o={},e,"x"===e?r.getXForValue(i.value,t,!1):r.getYForValue(i.value,n,!1)),u(o,"attrs",i),o))})),s}},{key:"drawGoalLine",value:function(e){var t=e.barXPosition,n=e.barYPosition,i=e.goalX,o=e.goalY,r=e.barWidth,a=e.barHeight,s=new w(this.barCtx.ctx),l=s.group({className:"apexcharts-bar-goals-groups"}),c=null;return this.barCtx.isHorizontal?Array.isArray(i)&&i.forEach((function(e){var t=void 0!==e.attrs.strokeHeight?e.attrs.strokeHeight:a/2,i=n+t+a/2;c=s.drawLine(e.x,i-2*t,e.x,i,e.attrs.strokeColor?e.attrs.strokeColor:void 0,e.attrs.strokeDashArray,e.attrs.strokeWidth?e.attrs.strokeWidth:2,e.attrs.strokeLineCap),l.add(c)})):Array.isArray(o)&&o.forEach((function(e){var n=void 0!==e.attrs.strokeWidth?e.attrs.strokeWidth:r/2,i=t+n+r/2;c=s.drawLine(i-2*n,e.y,i,e.y,e.attrs.strokeColor?e.attrs.strokeColor:void 0,e.attrs.strokeDashArray,e.attrs.strokeHeight?e.attrs.strokeHeight:2,e.attrs.strokeLineCap),l.add(c)})),l}}]),e}(),z=function(){function e(t,n){s(this,e),this.ctx=t,this.w=t.w;var i=this.w;this.barOptions=i.config.plotOptions.bar,this.isHorizontal=this.barOptions.horizontal,this.strokeWidth=i.config.stroke.width,this.isNullValue=!1,this.isRangeBar=i.globals.seriesRangeBar.length&&this.isHorizontal,this.xyRatios=n,null!==this.xyRatios&&(this.xRatio=n.xRatio,this.initialXRatio=n.initialXRatio,this.yRatio=n.yRatio,this.invertedXRatio=n.invertedXRatio,this.invertedYRatio=n.invertedYRatio,this.baseLineY=n.baseLineY,this.baseLineInvertedY=n.baseLineInvertedY),this.yaxisIndex=0,this.seriesLen=0,this.barHelpers=new I(this)}return c(e,[{key:"draw",value:function(e,t){var n=this.w,i=new w(this.ctx),o=new C(this.ctx,n);e=o.getLogSeries(e),this.series=e,this.yRatio=o.getLogYRatios(this.yRatio),this.barHelpers.initVariables(e);var a=i.group({class:"apexcharts-bar-series apexcharts-plot-series"});n.config.dataLabels.enabled&&this.totalItems>this.barOptions.dataLabels.maxItems&&console.warn("WARNING: DataLabels are enabled but there are too many to display. This may cause performance issue when rendering.");for(var s=0,l=0;s0&&(this.visibleI=this.visibleI+1);var y=0,k=0;this.yRatio.length>1&&(this.yaxisIndex=m),this.isReversed=n.config.yaxis[this.yaxisIndex]&&n.config.yaxis[this.yaxisIndex].reversed;var S=this.barHelpers.initialPositions();p=S.y,y=S.barHeight,u=S.yDivision,h=S.zeroW,f=S.x,k=S.barWidth,c=S.xDivision,d=S.zeroH,this.horizontal||v.push(f+k/2);for(var _=i.group({class:"apexcharts-datalabels","data:realIndex":m}),A=i.group({class:"apexcharts-bar-goals-markers",style:"pointer-events: none"}),P=0;P0&&v.push(f+k/2),g.push(p);var E=this.barHelpers.getPathFillColor(e,s,P,m);this.renderSeries({realIndex:m,pathFill:E,j:P,i:s,pathFrom:j.pathFrom,pathTo:j.pathTo,strokeWidth:L,elSeries:x,x:f,y:p,series:e,barHeight:y,barWidth:k,elDataLabelsWrap:_,elGoalsMarkers:A,visibleSeries:this.visibleI,type:"bar"})}n.globals.seriesXvalues[m]=v,n.globals.seriesYvalues[m]=g,a.add(x)}return a}},{key:"renderSeries",value:function(e){var t=e.realIndex,n=e.pathFill,i=e.lineFill,o=e.j,r=e.i,a=e.pathFrom,s=e.pathTo,l=e.strokeWidth,c=e.elSeries,u=e.x,d=e.y,h=e.y1,f=e.y2,p=e.series,g=e.barHeight,v=e.barWidth,m=e.barYPosition,b=e.elDataLabelsWrap,x=e.elGoalsMarkers,k=e.visibleSeries,S=e.type,C=this.w,_=new w(this.ctx);i||(i=this.barOptions.distributed?C.globals.stroke.colors[o]:C.globals.stroke.colors[t]),C.config.series[r].data[o]&&C.config.series[r].data[o].strokeColor&&(i=C.config.series[r].data[o].strokeColor),this.isNullValue&&(n="none");var A=o/C.config.chart.animations.animateGradually.delay*(C.config.chart.animations.speed/C.globals.dataPoints)/2.4,P=_.renderPaths({i:r,j:o,realIndex:t,pathFrom:a,pathTo:s,stroke:i,strokeWidth:l,strokeLineCap:C.config.stroke.lineCap,fill:n,animationDelay:A,initialSpeed:C.config.chart.animations.speed,dataChangeSpeed:C.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-".concat(S,"-area")});P.attr("clip-path","url(#gridRectMask".concat(C.globals.cuid,")"));var L=C.config.forecastDataPoints;L.count>0&&o>=C.globals.dataPoints-L.count&&(P.node.setAttribute("stroke-dasharray",L.dashArray),P.node.setAttribute("stroke-width",L.strokeWidth),P.node.setAttribute("fill-opacity",L.fillOpacity)),void 0!==h&&void 0!==f&&(P.attr("data-range-y1",h),P.attr("data-range-y2",f)),new y(this.ctx).setSelectionFilter(P,t,o),c.add(P);var j=new M(this).handleBarDataLabels({x:u,y:d,y1:h,y2:f,i:r,j:o,series:p,realIndex:t,barHeight:g,barWidth:v,barYPosition:m,renderedPath:P,visibleSeries:k});return null!==j&&b.add(j),c.add(b),x&&c.add(x),c}},{key:"drawBarPaths",value:function(e){var t=e.indexes,n=e.barHeight,i=e.strokeWidth,o=e.zeroW,r=e.x,a=e.y,s=e.yDivision,l=e.elSeries,c=this.w,u=t.i,d=t.j;c.globals.isXNumeric&&(a=(c.globals.seriesX[u][d]-c.globals.minX)/this.invertedXRatio-n);var h=a+n*this.visibleI;r=this.barHelpers.getXForValue(this.series[u][d],o);var f=this.barHelpers.getBarpaths({barYPosition:h,barHeight:n,x1:o,x2:r,strokeWidth:i,series:this.series,realIndex:t.realIndex,i:u,j:d,w:c});return c.globals.isXNumeric||(a+=s),this.barHelpers.barBackground({j:d,i:u,y1:h-n*this.visibleI,y2:n*this.seriesLen,elSeries:l}),{pathTo:f.pathTo,pathFrom:f.pathFrom,x:r,y:a,goalX:this.barHelpers.getGoalValues("x",o,null,u,d),barYPosition:h}}},{key:"drawColumnPaths",value:function(e){var t=e.indexes,n=e.x,i=e.y,o=e.xDivision,r=e.barWidth,a=e.zeroH,s=e.strokeWidth,l=e.elSeries,c=this.w,u=t.realIndex,d=t.i,h=t.j,f=t.bc;if(c.globals.isXNumeric){var p=u;c.globals.seriesX[u].length||(p=c.globals.maxValsInArrayIndex),n=(c.globals.seriesX[p][h]-c.globals.minX)/this.xRatio-r*this.seriesLen/2}var g=n+r*this.visibleI;i=this.barHelpers.getYForValue(this.series[d][h],a);var v=this.barHelpers.getColumnPaths({barXPosition:g,barWidth:r,y1:a,y2:i,strokeWidth:s,series:this.series,realIndex:t.realIndex,i:d,j:h,w:c});return c.globals.isXNumeric||(n+=o),this.barHelpers.barBackground({bc:f,j:h,i:d,x1:g-s/2-r*this.visibleI,x2:r*this.seriesLen+s/2,elSeries:l}),{pathTo:v.pathTo,pathFrom:v.pathFrom,x:n,y:i,goalY:this.barHelpers.getGoalValues("y",null,a,d,h),barXPosition:g}}},{key:"getPreviousPath",value:function(e,t){for(var n,i=this.w,o=0;o0&&parseInt(r.realIndex,10)===parseInt(e,10)&&void 0!==i.globals.previousPaths[o].paths[t]&&(n=i.globals.previousPaths[o].paths[t].d)}return n}}]),e}(),H=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.months31=[1,3,5,7,8,10,12],this.months30=[2,4,6,9,11],this.daysCntOfYear=[0,31,59,90,120,151,181,212,243,273,304,334]}return c(e,[{key:"isValidDate",value:function(e){return!isNaN(this.parseDate(e))}},{key:"getTimeStamp",value:function(e){return Date.parse(e)?this.w.config.xaxis.labels.datetimeUTC?new Date(new Date(e).toISOString().substr(0,25)).getTime():new Date(e).getTime():e}},{key:"getDate",value:function(e){return this.w.config.xaxis.labels.datetimeUTC?new Date(new Date(e).toUTCString()):new Date(e)}},{key:"parseDate",value:function(e){var t=Date.parse(e);if(!isNaN(t))return this.getTimeStamp(e);var n=Date.parse(e.replace(/-/g,"/").replace(/[a-z]+/gi," "));return this.getTimeStamp(n)}},{key:"parseDateWithTimezone",value:function(e){return Date.parse(e.replace(/-/g,"/").replace(/[a-z]+/gi," "))}},{key:"formatDate",value:function(e,t){var n=this.w.globals.locale,i=this.w.config.xaxis.labels.datetimeUTC,o=["\0"].concat(v(n.months)),r=[""].concat(v(n.shortMonths)),a=[""].concat(v(n.days)),s=[""].concat(v(n.shortDays));function l(e,t){var n=e+"";for(t=t||2;n.length12?h-12:0===h?12:h;t=(t=(t=(t=t.replace(/(^|[^\\])HH+/g,"$1"+l(h))).replace(/(^|[^\\])H/g,"$1"+h)).replace(/(^|[^\\])hh+/g,"$1"+l(f))).replace(/(^|[^\\])h/g,"$1"+f);var p=i?e.getUTCMinutes():e.getMinutes();t=(t=t.replace(/(^|[^\\])mm+/g,"$1"+l(p))).replace(/(^|[^\\])m/g,"$1"+p);var g=i?e.getUTCSeconds():e.getSeconds();t=(t=t.replace(/(^|[^\\])ss+/g,"$1"+l(g))).replace(/(^|[^\\])s/g,"$1"+g);var m=i?e.getUTCMilliseconds():e.getMilliseconds();t=t.replace(/(^|[^\\])fff+/g,"$1"+l(m,3)),m=Math.round(m/10),t=t.replace(/(^|[^\\])ff/g,"$1"+l(m)),m=Math.round(m/10);var b=h<12?"AM":"PM";t=(t=(t=t.replace(/(^|[^\\])f/g,"$1"+m)).replace(/(^|[^\\])TT+/g,"$1"+b)).replace(/(^|[^\\])T/g,"$1"+b.charAt(0));var x=b.toLowerCase();t=(t=t.replace(/(^|[^\\])tt+/g,"$1"+x)).replace(/(^|[^\\])t/g,"$1"+x.charAt(0));var y=-e.getTimezoneOffset(),w=i||!y?"Z":y>0?"+":"-";if(!i){var k=(y=Math.abs(y))%60;w+=l(Math.floor(y/60))+":"+l(k)}t=t.replace(/(^|[^\\])K/g,"$1"+w);var S=(i?e.getUTCDay():e.getDay())+1;return(t=(t=(t=(t=t.replace(new RegExp(a[0],"g"),a[S])).replace(new RegExp(s[0],"g"),s[S])).replace(new RegExp(o[0],"g"),o[u])).replace(new RegExp(r[0],"g"),r[u])).replace(/\\(.)/g,"$1")}},{key:"getTimeUnitsfromTimestamp",value:function(e,t,n){var i=this.w;void 0!==i.config.xaxis.min&&(e=i.config.xaxis.min),void 0!==i.config.xaxis.max&&(t=i.config.xaxis.max);var o=this.getDate(e),r=this.getDate(t),a=this.formatDate(o,"yyyy MM dd HH mm ss fff").split(" "),s=this.formatDate(r,"yyyy MM dd HH mm ss fff").split(" ");return{minMillisecond:parseInt(a[6],10),maxMillisecond:parseInt(s[6],10),minSecond:parseInt(a[5],10),maxSecond:parseInt(s[5],10),minMinute:parseInt(a[4],10),maxMinute:parseInt(s[4],10),minHour:parseInt(a[3],10),maxHour:parseInt(s[3],10),minDate:parseInt(a[2],10),maxDate:parseInt(s[2],10),minMonth:parseInt(a[1],10)-1,maxMonth:parseInt(s[1],10)-1,minYear:parseInt(a[0],10),maxYear:parseInt(s[0],10)}}},{key:"isLeapYear",value:function(e){return e%4==0&&e%100!=0||e%400==0}},{key:"calculcateLastDaysOfMonth",value:function(e,t,n){return this.determineDaysOfMonths(e,t)-n}},{key:"determineDaysOfYear",value:function(e){var t=365;return this.isLeapYear(e)&&(t=366),t}},{key:"determineRemainingDaysOfYear",value:function(e,t,n){var i=this.daysCntOfYear[t]+n;return t>1&&this.isLeapYear()&&i++,i}},{key:"determineDaysOfMonths",value:function(e,t){var n=30;switch(e=b.monthMod(e),!0){case this.months30.indexOf(e)>-1:2===e&&(n=this.isLeapYear(t)?29:28);break;case this.months31.indexOf(e)>-1:default:n=31}return n}}]),e}(),N=function(e){d(n,z);var t=g(n);function n(){return s(this,n),t.apply(this,arguments)}return c(n,[{key:"draw",value:function(e,t){var n=this.w,i=new w(this.ctx);this.rangeBarOptions=this.w.config.plotOptions.rangeBar,this.series=e,this.seriesRangeStart=n.globals.seriesRangeStart,this.seriesRangeEnd=n.globals.seriesRangeEnd,this.barHelpers.initVariables(e);for(var o=i.group({class:"apexcharts-rangebar-series apexcharts-plot-series"}),a=0;a0&&(this.visibleI=this.visibleI+1);var g=0,v=0;this.yRatio.length>1&&(this.yaxisIndex=f);var m=this.barHelpers.initialPositions();d=m.y,c=m.zeroW,u=m.x,v=m.barWidth,s=m.xDivision,l=m.zeroH;for(var x=i.group({class:"apexcharts-datalabels","data:realIndex":f}),y=i.group({class:"apexcharts-rangebar-goals-markers",style:"pointer-events: none"}),k=0;k0}));return i=l.config.plotOptions.bar.rangeBarGroupRows?o+a*h:o+r*this.visibleI+a*h,f>-1&&!l.config.plotOptions.bar.rangeBarOverlap&&(c=l.globals.seriesRangeBar[t][f].overlaps).indexOf(u)>-1&&(i=(r=s.barHeight/c.length)*this.visibleI+a*(100-parseInt(this.barOptions.barHeight,10))/100/2+r*(this.visibleI+c.indexOf(u))+a*h),{barYPosition:i,barHeight:r}}},{key:"drawRangeColumnPaths",value:function(e){var t=e.indexes,n=e.x;e.strokeWidth;var i=e.xDivision,o=e.barWidth,r=e.zeroH,a=this.w,s=t.i,l=t.j,c=this.yRatio[this.yaxisIndex],u=t.realIndex,d=this.getRangeValue(u,l),h=Math.min(d.start,d.end),f=Math.max(d.start,d.end);a.globals.isXNumeric&&(n=(a.globals.seriesX[s][l]-a.globals.minX)/this.xRatio-o/2);var p=n+o*this.visibleI;void 0===this.series[s][l]||null===this.series[s][l]?h=r:(h=r-h/c,f=r-f/c);var g=Math.abs(f-h),v=this.barHelpers.getColumnPaths({barXPosition:p,barWidth:o,y1:h,y2:f,strokeWidth:this.strokeWidth,series:this.seriesRangeEnd,realIndex:t.realIndex,i:u,j:l,w:a});return a.globals.isXNumeric||(n+=i),{pathTo:v.pathTo,pathFrom:v.pathFrom,barHeight:g,x:n,y:f,goalY:this.barHelpers.getGoalValues("y",null,r,s,l),barXPosition:p}}},{key:"drawRangeBarPaths",value:function(e){var t=e.indexes,n=e.y,i=e.y1,o=e.y2,r=e.yDivision,a=e.barHeight,s=e.barYPosition,l=e.zeroW,c=this.w,u=l+i/this.invertedYRatio,d=l+o/this.invertedYRatio,h=Math.abs(d-u),f=this.barHelpers.getBarpaths({barYPosition:s,barHeight:a,x1:u,x2:d,strokeWidth:this.strokeWidth,series:this.seriesRangeEnd,i:t.realIndex,realIndex:t.realIndex,j:t.j,w:c});return c.globals.isXNumeric||(n+=r),{pathTo:f.pathTo,pathFrom:f.pathFrom,barWidth:h,x:d,goalX:this.barHelpers.getGoalValues("x",l,null,t.realIndex,t.j),y:n}}},{key:"getRangeValue",value:function(e,t){var n=this.w;return{start:n.globals.seriesRangeStart[e][t],end:n.globals.seriesRangeEnd[e][t]}}},{key:"getTooltipValues",value:function(e){var t=e.ctx,n=e.seriesIndex,i=e.dataPointIndex,o=e.y1,r=e.y2,a=e.w,s=a.globals.seriesRangeStart[n][i],l=a.globals.seriesRangeEnd[n][i],c=a.globals.labels[i],u=a.config.series[n].name?a.config.series[n].name:"",d=a.config.tooltip.y.formatter,h=a.config.tooltip.y.title.formatter,f={w:a,seriesIndex:n,dataPointIndex:i,start:s,end:l};"function"==typeof h&&(u=h(u,f)),Number.isFinite(o)&&Number.isFinite(r)&&(s=o,l=r,a.config.series[n].data[i].x&&(c=a.config.series[n].data[i].x+":"),"function"==typeof d&&(c=d(c,f)));var p="",g="",v=a.globals.colors[n];if(void 0===a.config.tooltip.x.formatter)if("datetime"===a.config.xaxis.type){var m=new H(t);p=m.formatDate(m.getDate(s),a.config.tooltip.x.format),g=m.formatDate(m.getDate(l),a.config.tooltip.x.format)}else p=s,g=l;else p=a.config.tooltip.x.formatter(s),g=a.config.tooltip.x.formatter(l);return{start:s,end:l,startVal:p,endVal:g,ylabel:c,color:v,seriesName:u}}},{key:"buildCustomTooltipHTML",value:function(e){var t=e.color,n=e.seriesName;return'
'+(n||"")+'
'+e.ylabel+' '+e.start+' - '+e.end+"
"}}]),n}(),q=function(){function e(t){s(this,e),this.opts=t}return c(e,[{key:"line",value:function(){return{chart:{animations:{easing:"swing"}},dataLabels:{enabled:!1},stroke:{width:5,curve:"straight"},markers:{size:0,hover:{sizeOffset:6}},xaxis:{crosshairs:{width:1}}}}},{key:"sparkline",value:function(e){return this.opts.yaxis[0].show=!1,this.opts.yaxis[0].title.text="",this.opts.yaxis[0].axisBorder.show=!1,this.opts.yaxis[0].axisTicks.show=!1,this.opts.yaxis[0].floating=!0,b.extend(e,{grid:{show:!1,padding:{left:0,right:0,top:0,bottom:0}},legend:{show:!1},xaxis:{labels:{show:!1},tooltip:{enabled:!1},axisBorder:{show:!1},axisTicks:{show:!1}},chart:{toolbar:{show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1}})}},{key:"bar",value:function(){return{chart:{stacked:!1,animations:{easing:"swing"}},plotOptions:{bar:{dataLabels:{position:"center"}}},dataLabels:{style:{colors:["#fff"]},background:{enabled:!1}},stroke:{width:0,lineCap:"round"},fill:{opacity:.85},legend:{markers:{shape:"square",radius:2,size:8}},tooltip:{shared:!1,intersect:!0},xaxis:{tooltip:{enabled:!1},tickPlacement:"between",crosshairs:{width:"barWidth",position:"back",fill:{type:"gradient"},dropShadow:{enabled:!1},stroke:{width:0}}}}}},{key:"candlestick",value:function(){var e=this;return{stroke:{width:1,colors:["#333"]},fill:{opacity:1},dataLabels:{enabled:!1},tooltip:{shared:!0,custom:function(t){var n=t.seriesIndex,i=t.dataPointIndex,o=t.w;return e._getBoxTooltip(o,n,i,["Open","High","","Low","Close"],"candlestick")}},states:{active:{filter:{type:"none"}}},xaxis:{crosshairs:{width:1}}}}},{key:"boxPlot",value:function(){var e=this;return{chart:{animations:{dynamicAnimation:{enabled:!1}}},stroke:{width:1,colors:["#24292e"]},dataLabels:{enabled:!1},tooltip:{shared:!0,custom:function(t){var n=t.seriesIndex,i=t.dataPointIndex,o=t.w;return e._getBoxTooltip(o,n,i,["Minimum","Q1","Median","Q3","Maximum"],"boxPlot")}},markers:{size:5,strokeWidth:1,strokeColors:"#111"},xaxis:{crosshairs:{width:1}}}}},{key:"rangeBar",value:function(){return{stroke:{width:0,lineCap:"square"},plotOptions:{bar:{borderRadius:0,dataLabels:{position:"center"}}},dataLabels:{enabled:!1,formatter:function(e,t){t.ctx;var n=t.seriesIndex,i=t.dataPointIndex,o=t.w,r=o.globals.seriesRangeStart[n][i];return o.globals.seriesRangeEnd[n][i]-r},background:{enabled:!1},style:{colors:["#fff"]}},tooltip:{shared:!1,followCursor:!0,custom:function(e){return e.w.config.plotOptions&&e.w.config.plotOptions.bar&&e.w.config.plotOptions.bar.horizontal?function(e){var t=new N(e.ctx,null),n=t.getTooltipValues(e),i=n.color,o=n.seriesName,r=n.ylabel,a=n.startVal,s=n.endVal;return t.buildCustomTooltipHTML({color:i,seriesName:o,ylabel:r,start:a,end:s})}(e):function(e){var t=new N(e.ctx,null),n=t.getTooltipValues(e),i=n.color,o=n.seriesName,r=n.ylabel,a=n.start,s=n.end;return t.buildCustomTooltipHTML({color:i,seriesName:o,ylabel:r,start:a,end:s})}(e)}},xaxis:{tickPlacement:"between",tooltip:{enabled:!1},crosshairs:{stroke:{width:0}}}}}},{key:"area",value:function(){return{stroke:{width:4},fill:{type:"gradient",gradient:{inverseColors:!1,shade:"light",type:"vertical",opacityFrom:.65,opacityTo:.5,stops:[0,100,100]}},markers:{size:0,hover:{sizeOffset:6}},tooltip:{followCursor:!1}}}},{key:"brush",value:function(e){return b.extend(e,{chart:{toolbar:{autoSelected:"selection",show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1},stroke:{width:1},tooltip:{enabled:!1},xaxis:{tooltip:{enabled:!1}}})}},{key:"stacked100",value:function(e){e.dataLabels=e.dataLabels||{},e.dataLabels.formatter=e.dataLabels.formatter||void 0;var t=e.dataLabels.formatter;return e.yaxis.forEach((function(t,n){e.yaxis[n].min=0,e.yaxis[n].max=100})),"bar"===e.chart.type&&(e.dataLabels.formatter=t||function(e){return"number"==typeof e&&e?e.toFixed(0)+"%":e}),e}},{key:"convertCatToNumeric",value:function(e){return e.xaxis.convertedCatToNumeric=!0,e}},{key:"convertCatToNumericXaxis",value:function(e,t,n){e.xaxis.type="numeric",e.xaxis.labels=e.xaxis.labels||{},e.xaxis.labels.formatter=e.xaxis.labels.formatter||function(e){return b.isNumber(e)?Math.floor(e):e};var i=e.xaxis.labels.formatter,o=e.xaxis.categories&&e.xaxis.categories.length?e.xaxis.categories:e.labels;return n&&n.length&&(o=n.map((function(e){return Array.isArray(e)?e:String(e)}))),o&&o.length&&(e.xaxis.labels.formatter=function(e){return b.isNumber(e)?i(o[Math.floor(e)-1]):i(e)}),e.xaxis.categories=[],e.labels=[],e.xaxis.tickAmount=e.xaxis.tickAmount||"dataPoints",e}},{key:"bubble",value:function(){return{dataLabels:{style:{colors:["#fff"]}},tooltip:{shared:!1,intersect:!0},xaxis:{crosshairs:{width:0}},fill:{type:"solid",gradient:{shade:"light",inverse:!0,shadeIntensity:.55,opacityFrom:.4,opacityTo:.8}}}}},{key:"scatter",value:function(){return{dataLabels:{enabled:!1},tooltip:{shared:!1,intersect:!0},markers:{size:6,strokeWidth:1,hover:{sizeOffset:2}}}}},{key:"heatmap",value:function(){return{chart:{stacked:!1},fill:{opacity:1},dataLabels:{style:{colors:["#fff"]}},stroke:{colors:["#fff"]},tooltip:{followCursor:!0,marker:{show:!1},x:{show:!1}},legend:{position:"top",markers:{shape:"square",size:10,offsetY:2}},grid:{padding:{right:20}}}}},{key:"treemap",value:function(){return{chart:{zoom:{enabled:!1}},dataLabels:{style:{fontSize:14,fontWeight:600,colors:["#fff"]}},stroke:{show:!0,width:2,colors:["#fff"]},legend:{show:!1},fill:{gradient:{stops:[0,100]}},tooltip:{followCursor:!0,x:{show:!1}},grid:{padding:{left:0,right:0}},xaxis:{crosshairs:{show:!1},tooltip:{enabled:!1}}}}},{key:"pie",value:function(){return{chart:{toolbar:{show:!1}},plotOptions:{pie:{donut:{labels:{show:!1}}}},dataLabels:{formatter:function(e){return e.toFixed(1)+"%"},style:{colors:["#fff"]},background:{enabled:!1},dropShadow:{enabled:!0}},stroke:{colors:["#fff"]},fill:{opacity:1,gradient:{shade:"light",stops:[0,100]}},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"}}}},{key:"donut",value:function(){return{chart:{toolbar:{show:!1}},dataLabels:{formatter:function(e){return e.toFixed(1)+"%"},style:{colors:["#fff"]},background:{enabled:!1},dropShadow:{enabled:!0}},stroke:{colors:["#fff"]},fill:{opacity:1,gradient:{shade:"light",shadeIntensity:.35,stops:[80,100],opacityFrom:1,opacityTo:1}},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"}}}},{key:"polarArea",value:function(){return this.opts.yaxis[0].tickAmount=this.opts.yaxis[0].tickAmount?this.opts.yaxis[0].tickAmount:6,{chart:{toolbar:{show:!1}},dataLabels:{formatter:function(e){return e.toFixed(1)+"%"},enabled:!1},stroke:{show:!0,width:2},fill:{opacity:.7},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"}}}},{key:"radar",value:function(){return this.opts.yaxis[0].labels.offsetY=this.opts.yaxis[0].labels.offsetY?this.opts.yaxis[0].labels.offsetY:6,{dataLabels:{enabled:!1,style:{fontSize:"11px"}},stroke:{width:2},markers:{size:3,strokeWidth:1,strokeOpacity:1},fill:{opacity:.2},tooltip:{shared:!1,intersect:!0,followCursor:!0},grid:{show:!1},xaxis:{labels:{formatter:function(e){return e},style:{colors:["#a8a8a8"],fontSize:"11px"}},tooltip:{enabled:!1},crosshairs:{show:!1}}}}},{key:"radialBar",value:function(){return{chart:{animations:{dynamicAnimation:{enabled:!0,speed:800}},toolbar:{show:!1}},fill:{gradient:{shade:"dark",shadeIntensity:.4,inverseColors:!1,type:"diagonal2",opacityFrom:1,opacityTo:1,stops:[70,98,100]}},legend:{show:!1,position:"right"},tooltip:{enabled:!1,fillSeriesColor:!0}}}},{key:"_getBoxTooltip",value:function(e,t,n,i,o){var r=e.globals.seriesCandleO[t][n],a=e.globals.seriesCandleH[t][n],s=e.globals.seriesCandleM[t][n],l=e.globals.seriesCandleL[t][n],c=e.globals.seriesCandleC[t][n];return e.config.series[t].type&&e.config.series[t].type!==o?'
\n '.concat(e.config.series[t].name?e.config.series[t].name:"series-"+(t+1),": ").concat(e.globals.series[t][n],"\n
"):'
')+"
".concat(i[0],': ')+r+"
"+"
".concat(i[1],': ')+a+"
"+(s?"
".concat(i[2],': ')+s+"
":"")+"
".concat(i[3],': ')+l+"
"+"
".concat(i[4],': ')+c+"
"}}]),e}(),D=function(){function e(t){s(this,e),this.opts=t}return c(e,[{key:"init",value:function(e){var t=e.responsiveOverride,n=this.opts,i=new L,o=new q(n);this.chartType=n.chart.type,"histogram"===this.chartType&&(n.chart.type="bar",n=b.extend({plotOptions:{bar:{columnWidth:"99.99%"}}},n)),n=this.extendYAxis(n),n=this.extendAnnotations(n);var r=i.init(),s={};if(n&&"object"===a(n)){var l={};l=-1!==["line","area","bar","candlestick","boxPlot","rangeBar","histogram","bubble","scatter","heatmap","treemap","pie","polarArea","donut","radar","radialBar"].indexOf(n.chart.type)?o[n.chart.type]():o.line(),n.chart.brush&&n.chart.brush.enabled&&(l=o.brush(l)),n.chart.stacked&&"100%"===n.chart.stackType&&(n=o.stacked100(n)),this.checkForDarkTheme(window.Apex),this.checkForDarkTheme(n),n.xaxis=n.xaxis||window.Apex.xaxis||{},t||(n.xaxis.convertedCatToNumeric=!1),((n=this.checkForCatToNumericXAxis(this.chartType,l,n)).chart.sparkline&&n.chart.sparkline.enabled||window.Apex.chart&&window.Apex.chart.sparkline&&window.Apex.chart.sparkline.enabled)&&(l=o.sparkline(l)),s=b.extend(r,l)}var c=b.extend(s,window.Apex);return r=b.extend(c,n),this.handleUserInputErrors(r)}},{key:"checkForCatToNumericXAxis",value:function(e,t,n){var i=new q(n),o=("bar"===e||"boxPlot"===e)&&n.plotOptions&&n.plotOptions.bar&&n.plotOptions.bar.horizontal,r="pie"===e||"polarArea"===e||"donut"===e||"radar"===e||"radialBar"===e||"heatmap"===e,a="datetime"!==n.xaxis.type&&"numeric"!==n.xaxis.type,s=n.xaxis.tickPlacement?n.xaxis.tickPlacement:t.xaxis&&t.xaxis.tickPlacement;return o||r||!a||"between"===s||(n=i.convertCatToNumeric(n)),n}},{key:"extendYAxis",value:function(e,t){var n=new L;(void 0===e.yaxis||!e.yaxis||Array.isArray(e.yaxis)&&0===e.yaxis.length)&&(e.yaxis={}),e.yaxis.constructor!==Array&&window.Apex.yaxis&&window.Apex.yaxis.constructor!==Array&&(e.yaxis=b.extend(e.yaxis,window.Apex.yaxis)),e.yaxis.constructor!==Array?e.yaxis=[b.extend(n.yAxis,e.yaxis)]:e.yaxis=b.extendArray(e.yaxis,n.yAxis);var i=!1;e.yaxis.forEach((function(e){e.logarithmic&&(i=!0)}));var o=e.series;return t&&!o&&(o=t.config.series),i&&o.length!==e.yaxis.length&&o.length&&(e.yaxis=o.map((function(t,i){if(t.name||(o[i].name="series-".concat(i+1)),e.yaxis[i])return e.yaxis[i].seriesName=o[i].name,e.yaxis[i];var r=b.extend(n.yAxis,e.yaxis[0]);return r.show=!1,r}))),i&&o.length>1&&o.length!==e.yaxis.length&&console.warn("A multi-series logarithmic chart should have equal number of series and y-axes. Please make sure to equalize both."),e}},{key:"extendAnnotations",value:function(e){return void 0===e.annotations&&(e.annotations={},e.annotations.yaxis=[],e.annotations.xaxis=[],e.annotations.points=[]),e=this.extendYAxisAnnotations(e),e=this.extendXAxisAnnotations(e),this.extendPointAnnotations(e)}},{key:"extendYAxisAnnotations",value:function(e){var t=new L;return e.annotations.yaxis=b.extendArray(void 0!==e.annotations.yaxis?e.annotations.yaxis:[],t.yAxisAnnotation),e}},{key:"extendXAxisAnnotations",value:function(e){var t=new L;return e.annotations.xaxis=b.extendArray(void 0!==e.annotations.xaxis?e.annotations.xaxis:[],t.xAxisAnnotation),e}},{key:"extendPointAnnotations",value:function(e){var t=new L;return e.annotations.points=b.extendArray(void 0!==e.annotations.points?e.annotations.points:[],t.pointAnnotation),e}},{key:"checkForDarkTheme",value:function(e){e.theme&&"dark"===e.theme.mode&&(e.tooltip||(e.tooltip={}),"light"!==e.tooltip.theme&&(e.tooltip.theme="dark"),e.chart.foreColor||(e.chart.foreColor="#f6f7f8"),e.chart.background||(e.chart.background="#424242"),e.theme.palette||(e.theme.palette="palette4"))}},{key:"handleUserInputErrors",value:function(e){var t=e;if(t.tooltip.shared&&t.tooltip.intersect)throw new Error("tooltip.shared cannot be enabled when tooltip.intersect is true. Turn off any other option by setting it to false.");if("bar"===t.chart.type&&t.plotOptions.bar.horizontal){if(t.yaxis.length>1)throw new Error("Multiple Y Axis for bars are not supported. Switch to column chart by setting plotOptions.bar.horizontal=false");t.yaxis[0].reversed&&(t.yaxis[0].opposite=!0),t.xaxis.tooltip.enabled=!1,t.yaxis[0].tooltip.enabled=!1,t.chart.zoom.enabled=!1}return"bar"!==t.chart.type&&"rangeBar"!==t.chart.type||t.tooltip.shared&&"barWidth"===t.xaxis.crosshairs.width&&t.series.length>1&&(t.xaxis.crosshairs.width="tickWidth"),"candlestick"!==t.chart.type&&"boxPlot"!==t.chart.type||t.yaxis[0].reversed&&(console.warn("Reversed y-axis in ".concat(t.chart.type," chart is not supported.")),t.yaxis[0].reversed=!1),Array.isArray(t.stroke.width)&&"line"!==t.chart.type&&"area"!==t.chart.type&&(console.warn("stroke.width option accepts array only for line and area charts. Reverted back to Number"),t.stroke.width=t.stroke.width[0]),t}}]),e}(),B=function(){function e(){s(this,e)}return c(e,[{key:"initGlobalVars",value:function(e){e.series=[],e.seriesCandleO=[],e.seriesCandleH=[],e.seriesCandleM=[],e.seriesCandleL=[],e.seriesCandleC=[],e.seriesRangeStart=[],e.seriesRangeEnd=[],e.seriesRangeBar=[],e.seriesPercent=[],e.seriesGoals=[],e.seriesX=[],e.seriesZ=[],e.seriesNames=[],e.seriesTotals=[],e.seriesLog=[],e.seriesColors=[],e.stackedSeriesTotals=[],e.seriesXvalues=[],e.seriesYvalues=[],e.labels=[],e.categoryLabels=[],e.timescaleLabels=[],e.noLabelsProvided=!1,e.resizeTimer=null,e.selectionResizeTimer=null,e.delayedElements=[],e.pointsArray=[],e.dataLabelsRects=[],e.isXNumeric=!1,e.xaxisLabelsCount=0,e.skipLastTimelinelabel=!1,e.skipFirstTimelinelabel=!1,e.isDataXYZ=!1,e.isMultiLineX=!1,e.isMultipleYAxis=!1,e.maxY=-Number.MAX_VALUE,e.minY=Number.MIN_VALUE,e.minYArr=[],e.maxYArr=[],e.maxX=-Number.MAX_VALUE,e.minX=Number.MAX_VALUE,e.initialMaxX=-Number.MAX_VALUE,e.initialMinX=Number.MAX_VALUE,e.maxDate=0,e.minDate=Number.MAX_VALUE,e.minZ=Number.MAX_VALUE,e.maxZ=-Number.MAX_VALUE,e.minXDiff=Number.MAX_VALUE,e.yAxisScale=[],e.xAxisScale=null,e.xAxisTicksPositions=[],e.yLabelsCoords=[],e.yTitleCoords=[],e.barPadForNumericAxis=0,e.padHorizontal=0,e.xRange=0,e.yRange=[],e.zRange=0,e.dataPoints=0,e.xTickAmount=0}},{key:"globalVars",value:function(e){return{chartID:null,cuid:null,events:{beforeMount:[],mounted:[],updated:[],clicked:[],selection:[],dataPointSelection:[],zoomed:[],scrolled:[]},colors:[],clientX:null,clientY:null,fill:{colors:[]},stroke:{colors:[]},dataLabels:{style:{colors:[]}},radarPolygons:{fill:{colors:[]}},markers:{colors:[],size:e.markers.size,largestSize:0},animationEnded:!1,isTouchDevice:"ontouchstart"in window||navigator.msMaxTouchPoints,isDirty:!1,isExecCalled:!1,initialConfig:null,initialSeries:[],lastXAxis:[],lastYAxis:[],columnSeries:null,labels:[],timescaleLabels:[],noLabelsProvided:!1,allSeriesCollapsed:!1,collapsedSeries:[],collapsedSeriesIndices:[],ancillaryCollapsedSeries:[],ancillaryCollapsedSeriesIndices:[],risingSeries:[],dataFormatXNumeric:!1,capturedSeriesIndex:-1,capturedDataPointIndex:-1,selectedDataPoints:[],goldenPadding:35,invalidLogScale:!1,ignoreYAxisIndexes:[],yAxisSameScaleIndices:[],maxValsInArrayIndex:0,radialSize:0,selection:void 0,zoomEnabled:"zoom"===e.chart.toolbar.autoSelected&&e.chart.toolbar.tools.zoom&&e.chart.zoom.enabled,panEnabled:"pan"===e.chart.toolbar.autoSelected&&e.chart.toolbar.tools.pan,selectionEnabled:"selection"===e.chart.toolbar.autoSelected&&e.chart.toolbar.tools.selection,yaxis:null,mousedown:!1,lastClientPosition:{},visibleXRange:void 0,yValueDecimal:0,total:0,SVGNS:"http://www.w3.org/2000/svg",svgWidth:0,svgHeight:0,noData:!1,locale:{},dom:{},memory:{methodsToExec:[]},shouldAnimate:!0,skipLastTimelinelabel:!1,skipFirstTimelinelabel:!1,delayedElements:[],axisCharts:!0,isDataXYZ:!1,resized:!1,resizeTimer:null,comboCharts:!1,dataChanged:!1,previousPaths:[],allSeriesHasEqualX:!0,pointsArray:[],dataLabelsRects:[],lastDrawnDataLabelsIndexes:[],hasNullValues:!1,easing:null,zoomed:!1,gridWidth:0,gridHeight:0,rotateXLabels:!1,defaultLabels:!1,xLabelFormatter:void 0,yLabelFormatters:[],xaxisTooltipFormatter:void 0,ttKeyFormatter:void 0,ttVal:void 0,ttZFormatter:void 0,LINE_HEIGHT_RATIO:1.618,xAxisLabelsHeight:0,xAxisLabelsWidth:0,yAxisLabelsWidth:0,scaleX:1,scaleY:1,translateX:0,translateY:0,translateYAxisX:[],yAxisWidths:[],translateXAxisY:0,translateXAxisX:0,tooltip:null}}},{key:"init",value:function(e){var t=this.globalVars(e);return this.initGlobalVars(t),t.initialConfig=b.extend({},e),t.initialSeries=b.clone(e.series),t.lastXAxis=b.clone(t.initialConfig.xaxis),t.lastYAxis=b.clone(t.initialConfig.yaxis),t}}]),e}(),Y=function(){function e(t){s(this,e),this.opts=t}return c(e,[{key:"init",value:function(){var e=new D(this.opts).init({responsiveOverride:!1});return{config:e,globals:(new B).init(e)}}}]),e}(),X=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.twoDSeries=[],this.threeDSeries=[],this.twoDSeriesX=[],this.seriesGoals=[],this.coreUtils=new C(this.ctx)}return c(e,[{key:"isMultiFormat",value:function(){return this.isFormatXY()||this.isFormat2DArray()}},{key:"isFormatXY",value:function(){var e=this.w.config.series.slice(),t=new R(this.ctx);if(this.activeSeriesIndex=t.getActiveConfigSeriesIndex(),void 0!==e[this.activeSeriesIndex].data&&e[this.activeSeriesIndex].data.length>0&&null!==e[this.activeSeriesIndex].data[0]&&void 0!==e[this.activeSeriesIndex].data[0].x&&null!==e[this.activeSeriesIndex].data[0])return!0}},{key:"isFormat2DArray",value:function(){var e=this.w.config.series.slice(),t=new R(this.ctx);if(this.activeSeriesIndex=t.getActiveConfigSeriesIndex(),void 0!==e[this.activeSeriesIndex].data&&e[this.activeSeriesIndex].data.length>0&&void 0!==e[this.activeSeriesIndex].data[0]&&null!==e[this.activeSeriesIndex].data[0]&&e[this.activeSeriesIndex].data[0].constructor===Array)return!0}},{key:"handleFormat2DArray",value:function(e,t){for(var n=this.w.config,i=this.w.globals,o="boxPlot"===n.chart.type||"boxPlot"===n.series[t].type,r=0;r=5?this.twoDSeries.push(b.parseNumber(e[t].data[r][4])):this.twoDSeries.push(b.parseNumber(e[t].data[r][1])),i.dataFormatXNumeric=!0),"datetime"===n.xaxis.type){var a=new Date(e[t].data[r][0]);a=new Date(a).getTime(),this.twoDSeriesX.push(a)}else this.twoDSeriesX.push(e[t].data[r][0]);for(var s=0;s-1&&(r=this.activeSeriesIndex);for(var a=0;a1&&void 0!==arguments[1]?arguments[1]:this.ctx,i=this.w.config,o=this.w.globals,r=new H(n),a=i.labels.length>0?i.labels.slice():i.xaxis.categories.slice();o.isRangeBar="rangeBar"===i.chart.type&&o.isBarHorizontal;for(var s=function(){for(var e=0;e0&&(this.twoDSeriesX=a,o.seriesX.push(this.twoDSeriesX))),o.labels.push(this.twoDSeriesX);var c=e[l].data.map((function(e){return b.parseNumber(e)}));o.series.push(c)}o.seriesZ.push(this.threeDSeries),void 0!==e[l].name?o.seriesNames.push(e[l].name):o.seriesNames.push("series-"+parseInt(l+1,10)),void 0!==e[l].color?o.seriesColors.push(e[l].color):o.seriesColors.push(void 0)}return this.w}},{key:"parseDataNonAxisCharts",value:function(e){var t=this.w.globals,n=this.w.config;t.series=e.slice(),t.seriesNames=n.labels.slice();for(var i=0;i0?n.labels=t.xaxis.categories:t.labels.length>0?n.labels=t.labels.slice():this.fallbackToCategory?(n.labels=n.labels[0],n.seriesRangeBar.length&&(n.seriesRangeBar.map((function(e){e.forEach((function(e){n.labels.indexOf(e.x)<0&&e.x&&n.labels.push(e.x)}))})),n.labels=n.labels.filter((function(e,t,n){return n.indexOf(e)===t}))),t.xaxis.convertedCatToNumeric&&(new q(t).convertCatToNumericXaxis(t,this.ctx,n.seriesX[0]),this._generateExternalLabels(e))):this._generateExternalLabels(e)}},{key:"_generateExternalLabels",value:function(e){var t=this.w.globals,n=this.w.config,i=[];if(t.axisCharts){if(t.series.length>0)for(var o=0;o0&&n<100?e.toFixed(1):e.toFixed(0)}return t.globals.isBarHorizontal&&t.globals.maxY-t.globals.minYArr<4?e.toFixed(1):e.toFixed(0)}return e},"function"==typeof t.config.tooltip.x.formatter?t.globals.ttKeyFormatter=t.config.tooltip.x.formatter:t.globals.ttKeyFormatter=t.globals.xLabelFormatter,"function"==typeof t.config.xaxis.tooltip.formatter&&(t.globals.xaxisTooltipFormatter=t.config.xaxis.tooltip.formatter),(Array.isArray(t.config.tooltip.y)||void 0!==t.config.tooltip.y.formatter)&&(t.globals.ttVal=t.config.tooltip.y),void 0!==t.config.tooltip.z.formatter&&(t.globals.ttZFormatter=t.config.tooltip.z.formatter),void 0!==t.config.legend.formatter&&(t.globals.legendFormatter=t.config.legend.formatter),t.config.yaxis.forEach((function(n,i){void 0!==n.labels.formatter?t.globals.yLabelFormatters[i]=n.labels.formatter:t.globals.yLabelFormatters[i]=function(o){return t.globals.xyCharts?Array.isArray(o)?o.map((function(t){return e.defaultYFormatter(t,n,i)})):e.defaultYFormatter(o,n,i):o}})),t.globals}},{key:"heatmapLabelFormatters",value:function(){var e=this.w;if("heatmap"===e.config.chart.type){e.globals.yAxisScale[0].result=e.globals.seriesNames.slice();var t=e.globals.seriesNames.reduce((function(e,t){return e.length>t.length?e:t}),0);e.globals.yAxisScale[0].niceMax=t,e.globals.yAxisScale[0].niceMin=t}}}]),e}(),W=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"getLabel",value:function(e,t,n,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"12px",a=this.w,s=void 0===e[i]?"":e[i],l=s,c=a.globals.xLabelFormatter,u=a.config.xaxis.labels.formatter,d=!1,h=new V(this.ctx),f=s;l=h.xLabelFormat(c,s,f,{i,dateFormatter:new H(this.ctx).formatDate,w:a}),void 0!==u&&(l=u(s,e[i],{i,dateFormatter:new H(this.ctx).formatDate,w:a}));var p=function(e){var n=null;return t.forEach((function(e){"month"===e.unit?n="year":"day"===e.unit?n="month":"hour"===e.unit?n="day":"minute"===e.unit&&(n="hour")})),n===e};t.length>0?(d=p(t[i].unit),n=t[i].position,l=t[i].value):"datetime"===a.config.xaxis.type&&void 0===u&&(l=""),void 0===l&&(l=""),l=Array.isArray(l)?l:l.toString();var g=new w(this.ctx),v={};v=a.globals.rotateXLabels?g.getTextRects(l,parseInt(r,10),null,"rotate(".concat(a.config.xaxis.labels.rotate," 0 0)"),!1):g.getTextRects(l,parseInt(r,10));var m=!a.config.xaxis.labels.showDuplicates&&this.ctx.timeScale;return!Array.isArray(l)&&(0===l.indexOf("NaN")||0===l.toLowerCase().indexOf("invalid")||l.toLowerCase().indexOf("infinity")>=0||o.indexOf(l)>=0&&m)&&(l=""),{x:n,text:l,textRect:v,isBold:d}}},{key:"checkLabelBasedOnTickamount",value:function(e,t,n){var i=this.w,o=i.config.xaxis.tickAmount;return"dataPoints"===o&&(o=Math.round(i.globals.gridWidth/120)),o>n||e%Math.round(n/(o+1))==0||(t.text=""),t}},{key:"checkForOverflowingLabels",value:function(e,t,n,i,o){var r=this.w;if(0===e&&r.globals.skipFirstTimelinelabel&&(t.text=""),e===n-1&&r.globals.skipLastTimelinelabel&&(t.text=""),r.config.xaxis.labels.hideOverlappingLabels&&i.length>0){var a=o[o.length-1];t.x0){!0===s.config.yaxis[o].opposite&&(e+=i.width);for(var u=t;u>=0;u--){var d=c+t/10+s.config.yaxis[o].labels.offsetY-1;s.globals.isBarHorizontal&&(d=r*u),"heatmap"===s.config.chart.type&&(d+=r/2);var h=l.drawLine(e+n.offsetX-i.width+i.offsetX,d+i.offsetY,e+n.offsetX+i.offsetX,d+i.offsetY,i.color);a.add(h),c+=r}}}}]),e}(),$=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"scaleSvgNode",value:function(e,t){var n=parseFloat(e.getAttributeNS(null,"width")),i=parseFloat(e.getAttributeNS(null,"height"));e.setAttributeNS(null,"width",n*t),e.setAttributeNS(null,"height",i*t),e.setAttributeNS(null,"viewBox","0 0 "+n+" "+i)}},{key:"fixSvgStringForIe11",value:function(e){if(!b.isIE11())return e.replace(/ /g," ");var t=0,n=e.replace(/xmlns="http:\/\/www.w3.org\/2000\/svg"/g,(function(e){return 2===++t?'xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.dev"':e}));return(n=n.replace(/xmlns:NS\d+=""/g,"")).replace(/NS\d+:(\w+:\w+=")/g,"$1")}},{key:"getSvgString",value:function(e){var t=this.w.globals.dom.Paper.svg();if(1!==e){var n=this.w.globals.dom.Paper.node.cloneNode(!0);this.scaleSvgNode(n,e),t=(new XMLSerializer).serializeToString(n)}return this.fixSvgStringForIe11(t)}},{key:"cleanup",value:function(){var e=this.w,t=e.globals.dom.baseEl.getElementsByClassName("apexcharts-xcrosshairs"),n=e.globals.dom.baseEl.getElementsByClassName("apexcharts-ycrosshairs"),i=e.globals.dom.baseEl.querySelectorAll(".apexcharts-zoom-rect, .apexcharts-selection-rect");Array.prototype.forEach.call(i,(function(e){e.setAttribute("width",0)})),t&&t[0]&&(t[0].setAttribute("x",-500),t[0].setAttribute("x1",-500),t[0].setAttribute("x2",-500)),n&&n[0]&&(n[0].setAttribute("y",-100),n[0].setAttribute("y1",-100),n[0].setAttribute("y2",-100))}},{key:"svgUrl",value:function(){this.cleanup();var e=this.getSvgString(),t=new Blob([e],{type:"image/svg+xml;charset=utf-8"});return URL.createObjectURL(t)}},{key:"dataURI",value:function(e){var t=this;return new Promise((function(n){var i=t.w,o=e?e.scale||e.width/i.globals.svgWidth:1;t.cleanup();var r=document.createElement("canvas");r.width=i.globals.svgWidth*o,r.height=parseInt(i.globals.dom.elWrap.style.height,10)*o;var a="transparent"===i.config.chart.background?"#fff":i.config.chart.background,s=r.getContext("2d");s.fillStyle=a,s.fillRect(0,0,r.width*o,r.height*o);var l=t.getSvgString(o);if(window.canvg&&b.isIE11()){var c=window.canvg.Canvg.fromString(s,l,{ignoreClear:!0,ignoreDimensions:!0});c.start();var u=r.msToBlob();c.stop(),n({blob:u})}else{var d="data:image/svg+xml,"+encodeURIComponent(l),h=new Image;h.crossOrigin="anonymous",h.onload=function(){if(s.drawImage(h,0,0),r.msToBlob){var e=r.msToBlob();n({blob:e})}else{var t=r.toDataURL("image/png");n({imgURI:t})}},h.src=d}}))}},{key:"exportToSVG",value:function(){this.triggerDownload(this.svgUrl(),this.w.config.chart.toolbar.export.svg.filename,".svg")}},{key:"exportToPng",value:function(){var e=this;this.dataURI().then((function(t){var n=t.imgURI,i=t.blob;i?navigator.msSaveOrOpenBlob(i,e.w.globals.chartID+".png"):e.triggerDownload(n,e.w.config.chart.toolbar.export.png.filename,".png")}))}},{key:"exportToCSV",value:function(e){var t=this,n=e.series,i=e.columnDelimiter,o=e.lineDelimiter,r=void 0===o?"\n":o,a=this.w,s=[],l=[],c="",u=new X(this.ctx),d=new W(this.ctx),h=function(e){var n="";if(a.globals.axisCharts){if("category"===a.config.xaxis.type||a.config.xaxis.convertedCatToNumeric)if(a.globals.isBarHorizontal){var o=a.globals.yLabelFormatters[0],r=new R(t.ctx).getActiveConfigSeriesIndex();n=o(a.globals.labels[e],{seriesIndex:r,dataPointIndex:e,w:a})}else n=d.getLabel(a.globals.labels,a.globals.timescaleLabels,0,e).text;"datetime"===a.config.xaxis.type&&(a.config.xaxis.categories.length?n=a.config.xaxis.categories[e]:a.config.labels.length&&(n=a.config.labels[e]))}else n=a.config.labels[e];return Array.isArray(n)&&(n=n.join(" ")),b.isNumber(n)?n:n.split(i).join("")};s.push(a.config.chart.toolbar.export.csv.headerCategory),n.map((function(e,t){var n=e.name?e.name:"series-".concat(t);a.globals.axisCharts&&s.push(n.split(i).join("")?n.split(i).join(""):"series-".concat(t))})),a.globals.axisCharts||(s.push(a.config.chart.toolbar.export.csv.headerValue),l.push(s.join(i))),n.map((function(e,t){a.globals.axisCharts?function(e,t){if(s.length&&0===t&&l.push(s.join(i)),e.data&&e.data.length)for(var o=0;o=10?a.config.chart.toolbar.export.csv.dateFormatter(r):b.isNumber(r)?r:r.split(i).join("")));for(var c=0;c0&&!n.globals.isBarHorizontal&&(this.xaxisLabels=n.globals.timescaleLabels.slice()),n.config.xaxis.overwriteCategories&&(this.xaxisLabels=n.config.xaxis.overwriteCategories),this.drawnLabels=[],this.drawnLabelsRects=[],"top"===n.config.xaxis.position?this.offY=0:this.offY=n.globals.gridHeight+1,this.offY=this.offY+n.config.xaxis.axisBorder.offsetY,this.isCategoryBarHorizontal="bar"===n.config.chart.type&&n.config.plotOptions.bar.horizontal,this.xaxisFontSize=n.config.xaxis.labels.style.fontSize,this.xaxisFontFamily=n.config.xaxis.labels.style.fontFamily,this.xaxisForeColors=n.config.xaxis.labels.style.colors,this.xaxisBorderWidth=n.config.xaxis.axisBorder.width,this.isCategoryBarHorizontal&&(this.xaxisBorderWidth=n.config.yaxis[0].axisBorder.width.toString()),this.xaxisBorderWidth.indexOf("%")>-1?this.xaxisBorderWidth=n.globals.gridWidth*parseInt(this.xaxisBorderWidth,10)/100:this.xaxisBorderWidth=parseInt(this.xaxisBorderWidth,10),this.xaxisBorderHeight=n.config.xaxis.axisBorder.height,this.yaxis=n.config.yaxis[0]}return c(e,[{key:"drawXaxis",value:function(){var e,t=this,n=this.w,i=new w(this.ctx),o=i.group({class:"apexcharts-xaxis",transform:"translate(".concat(n.config.xaxis.offsetX,", ").concat(n.config.xaxis.offsetY,")")}),r=i.group({class:"apexcharts-xaxis-texts-g",transform:"translate(".concat(n.globals.translateXAxisX,", ").concat(n.globals.translateXAxisY,")")});o.add(r);for(var a=n.globals.padHorizontal,s=[],l=0;l1?c-1:c;e=n.globals.gridWidth/u,a=a+e/2+n.config.xaxis.labels.offsetX}else e=n.globals.gridWidth/s.length,a=a+e+n.config.xaxis.labels.offsetX;for(var d=function(o){var l=a-e/2+n.config.xaxis.labels.offsetX;0===o&&1===c&&e/2===a&&1===n.globals.dataPoints&&(l=n.globals.gridWidth/2);var u=t.axesUtils.getLabel(s,n.globals.timescaleLabels,l,o,t.drawnLabels,t.xaxisFontSize),d=28;if(n.globals.rotateXLabels&&(d=22),(u=void 0!==n.config.xaxis.tickAmount&&"dataPoints"!==n.config.xaxis.tickAmount&&"datetime"!==n.config.xaxis.type?t.axesUtils.checkLabelBasedOnTickamount(o,u,c):t.axesUtils.checkForOverflowingLabels(o,u,c,t.drawnLabels,t.drawnLabelsRects)).text&&n.globals.xaxisLabelsCount++,n.config.xaxis.labels.show){var h=i.drawText({x:u.x,y:t.offY+n.config.xaxis.labels.offsetY+d-("top"===n.config.xaxis.position?n.globals.xAxisHeight+n.config.xaxis.axisTicks.height-2:0),text:u.text,textAnchor:"middle",fontWeight:u.isBold?600:n.config.xaxis.labels.style.fontWeight,fontSize:t.xaxisFontSize,fontFamily:t.xaxisFontFamily,foreColor:Array.isArray(t.xaxisForeColors)?n.config.xaxis.convertedCatToNumeric?t.xaxisForeColors[n.globals.minX+o-1]:t.xaxisForeColors[o]:t.xaxisForeColors,isPlainText:!1,cssClass:"apexcharts-xaxis-label "+n.config.xaxis.labels.style.cssClass});r.add(h);var f=document.createElementNS(n.globals.SVGNS,"title");f.textContent=Array.isArray(u.text)?u.text.join(" "):u.text,h.node.appendChild(f),""!==u.text&&(t.drawnLabels.push(u.text),t.drawnLabelsRects.push(u))}a+=e},h=0;h<=c-1;h++)d(h);if(void 0!==n.config.xaxis.title.text){var f=i.group({class:"apexcharts-xaxis-title"}),p=i.drawText({x:n.globals.gridWidth/2+n.config.xaxis.title.offsetX,y:this.offY+parseFloat(this.xaxisFontSize)+n.globals.xAxisLabelsHeight+n.config.xaxis.title.offsetY,text:n.config.xaxis.title.text,textAnchor:"middle",fontSize:n.config.xaxis.title.style.fontSize,fontFamily:n.config.xaxis.title.style.fontFamily,fontWeight:n.config.xaxis.title.style.fontWeight,foreColor:n.config.xaxis.title.style.color,cssClass:"apexcharts-xaxis-title-text "+n.config.xaxis.title.style.cssClass});f.add(p),o.add(f)}if(n.config.xaxis.axisBorder.show){var g=n.globals.barPadForNumericAxis,v=i.drawLine(n.globals.padHorizontal+n.config.xaxis.axisBorder.offsetX-g,this.offY,this.xaxisBorderWidth+g,this.offY,n.config.xaxis.axisBorder.color,0,this.xaxisBorderHeight);o.add(v)}return o}},{key:"drawXaxisInversed",value:function(e){var t,n,i=this,o=this.w,r=new w(this.ctx),a=o.config.yaxis[0].opposite?o.globals.translateYAxisX[e]:0,s=r.group({class:"apexcharts-yaxis apexcharts-xaxis-inversed",rel:e}),l=r.group({class:"apexcharts-yaxis-texts-g apexcharts-xaxis-inversed-texts-g",transform:"translate("+a+", 0)"});s.add(l);var c=[];if(o.config.yaxis[e].show)for(var u=0;un.globals.gridWidth)){var o=this.offY+n.config.xaxis.axisTicks.offsetY,r=o+n.config.xaxis.axisTicks.height;if("top"===n.config.xaxis.position&&(r=o-n.config.xaxis.axisTicks.height),n.config.xaxis.axisTicks.show){var a=new w(this.ctx).drawLine(e+n.config.xaxis.axisTicks.offsetX,o+n.config.xaxis.offsetY,i+n.config.xaxis.axisTicks.offsetX,r+n.config.xaxis.offsetY,n.config.xaxis.axisTicks.color);t.add(a),a.node.classList.add("apexcharts-xaxis-tick")}}}},{key:"getXAxisTicksPositions",value:function(){var e=this.w,t=[],n=this.xaxisLabels.length,i=e.globals.padHorizontal;if(e.globals.timescaleLabels.length>0)for(var o=0;o0){var c=o[o.length-1].getBBox(),u=o[0].getBBox();c.x<-20&&o[o.length-1].parentNode.removeChild(o[o.length-1]),u.x+u.width>e.globals.gridWidth&&!e.globals.isBarHorizontal&&o[0].parentNode.removeChild(o[0]);for(var d=0;d0&&(this.xaxisLabels=n.globals.timescaleLabels.slice())}return c(e,[{key:"drawGridArea",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.w,n=new w(this.ctx);null===e&&(e=n.group({class:"apexcharts-grid"}));var i=n.drawLine(t.globals.padHorizontal,1,t.globals.padHorizontal,t.globals.gridHeight,"transparent"),o=n.drawLine(t.globals.padHorizontal,t.globals.gridHeight,t.globals.gridWidth,t.globals.gridHeight,"transparent");return e.add(o),e.add(i),e}},{key:"drawGrid",value:function(){var e=null;return this.w.globals.axisCharts&&(e=this.renderGrid(),this.drawGridArea(e.el)),e}},{key:"createGridMask",value:function(){var e=this.w,t=e.globals,n=new w(this.ctx),i=Array.isArray(e.config.stroke.width)?0:e.config.stroke.width;if(Array.isArray(e.config.stroke.width)){var o=0;e.config.stroke.width.forEach((function(e){o=Math.max(o,e)})),i=o}t.dom.elGridRectMask=document.createElementNS(t.SVGNS,"clipPath"),t.dom.elGridRectMask.setAttribute("id","gridRectMask".concat(t.cuid)),t.dom.elGridRectMarkerMask=document.createElementNS(t.SVGNS,"clipPath"),t.dom.elGridRectMarkerMask.setAttribute("id","gridRectMarkerMask".concat(t.cuid)),t.dom.elForecastMask=document.createElementNS(t.SVGNS,"clipPath"),t.dom.elForecastMask.setAttribute("id","forecastMask".concat(t.cuid)),t.dom.elNonForecastMask=document.createElementNS(t.SVGNS,"clipPath"),t.dom.elNonForecastMask.setAttribute("id","nonForecastMask".concat(t.cuid));var r=e.config.chart.type,a=0,s=0;("bar"===r||"rangeBar"===r||"candlestick"===r||"boxPlot"===r||e.globals.comboBarCount>0)&&e.globals.isXNumeric&&!e.globals.isBarHorizontal&&(a=e.config.grid.padding.left,s=e.config.grid.padding.right,t.barPadForNumericAxis>a&&(a=t.barPadForNumericAxis,s=t.barPadForNumericAxis)),t.dom.elGridRect=n.drawRect(-i/2-a-2,-i/2,t.gridWidth+i+s+a+4,t.gridHeight+i,0,"#fff"),new C(this).getLargestMarkerSize();var l=e.globals.markers.largestSize+1;t.dom.elGridRectMarker=n.drawRect(2*-l,2*-l,t.gridWidth+4*l,t.gridHeight+4*l,0,"#fff"),t.dom.elGridRectMask.appendChild(t.dom.elGridRect.node),t.dom.elGridRectMarkerMask.appendChild(t.dom.elGridRectMarker.node);var c=t.dom.baseEl.querySelector("defs");c.appendChild(t.dom.elGridRectMask),c.appendChild(t.dom.elForecastMask),c.appendChild(t.dom.elNonForecastMask),c.appendChild(t.dom.elGridRectMarkerMask)}},{key:"_drawGridLines",value:function(e){var t=e.i,n=e.x1,i=e.y1,o=e.x2,r=e.y2,a=e.xCount,s=e.parent,l=this.w;0===t&&l.globals.skipFirstTimelinelabel||t===a-1&&l.globals.skipLastTimelinelabel&&!l.config.xaxis.labels.formatter||"radar"===l.config.chart.type||(l.config.grid.xaxis.lines.show&&this._drawGridLine({x1:n,y1:i,x2:o,y2:r,parent:s}),new U(this.ctx).drawXaxisTicks(n,this.elg))}},{key:"_drawGridLine",value:function(e){var t=e.x1,n=e.y1,i=e.x2,o=e.y2,r=e.parent,a=this.w,s=r.node.classList.contains("apexcharts-gridlines-horizontal"),l=a.config.grid.strokeDashArray,c=a.globals.barPadForNumericAxis,u=new w(this).drawLine(t-(s?c:0),n,i+(s?c:0),o,a.config.grid.borderColor,l);u.node.classList.add("apexcharts-gridline"),r.add(u)}},{key:"_drawGridBandRect",value:function(e){var t=e.c,n=e.x1,i=e.y1,o=e.x2,r=e.y2,a=e.type,s=this.w,l=new w(this.ctx),c=s.globals.barPadForNumericAxis;if("column"!==a||"datetime"!==s.config.xaxis.type){var u=s.config.grid[a].colors[t],d=l.drawRect(n-("row"===a?c:0),i,o+("row"===a?2*c:0),r,0,u,s.config.grid[a].opacity);this.elg.add(d),d.attr("clip-path","url(#gridRectMask".concat(s.globals.cuid,")")),d.node.classList.add("apexcharts-grid-".concat(a))}}},{key:"_drawXYLines",value:function(e){var t=this,n=e.xCount,i=e.tickAmount,o=this.w;if(o.config.grid.xaxis.lines.show||o.config.xaxis.axisTicks.show){var r,a=o.globals.padHorizontal,s=o.globals.gridHeight;o.globals.timescaleLabels.length?function(e){for(var i=e.xC,o=e.x1,r=e.y1,a=e.x2,s=e.y2,l=0;l2));o++);return!e.globals.isBarHorizontal||this.isRangeBar?(n=this.xaxisLabels.length,this.isRangeBar&&(i=e.globals.labels.length,e.config.xaxis.tickAmount&&e.config.xaxis.labels.formatter&&(n=e.config.xaxis.tickAmount)),this._drawXYLines({xCount:n,tickAmount:i})):(n=i,i=e.globals.xTickAmount,this._drawInvertedXYLines({xCount:n,tickAmount:i})),this.drawGridBands(n,i),{el:this.elg,xAxisTickWidth:e.globals.gridWidth/n}}},{key:"drawGridBands",value:function(e,t){var n=this.w;if(void 0!==n.config.grid.row.colors&&n.config.grid.row.colors.length>0)for(var i=0,o=n.globals.gridHeight/t,r=n.globals.gridWidth,a=0,s=0;a=n.config.grid.row.colors.length&&(s=0),this._drawGridBandRect({c:s,x1:0,y1:i,x2:r,y2:o,type:"row"}),i+=n.globals.gridHeight/t;if(void 0!==n.config.grid.column.colors&&n.config.grid.column.colors.length>0)for(var l=n.globals.isBarHorizontal||"category"!==n.config.xaxis.type&&!n.config.xaxis.convertedCatToNumeric?e:e-1,c=n.globals.padHorizontal,u=n.globals.padHorizontal+n.globals.gridWidth/l,d=n.globals.gridHeight,h=0,f=0;h=n.config.grid.column.colors.length&&(f=0),this._drawGridBandRect({c:f,x1:c,y1:0,x2:u,y2:d,type:"column"}),c+=n.globals.gridWidth/l}}]),e}(),G=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"niceScale",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4?arguments[4]:void 0,r=this.w,a=Math.abs(t-e);if("dataPoints"===(n=this._adjustTicksForSmallRange(n,i,a))&&(n=r.globals.dataPoints-1),e===Number.MIN_VALUE&&0===t||!b.isNumber(e)&&!b.isNumber(t)||e===Number.MIN_VALUE&&t===-Number.MAX_VALUE){e=0,t=n;var s=this.linearScale(e,t,n);return s}e>t?(console.warn("axis.min cannot be greater than axis.max"),t=e+.1):e===t&&(e=0===e?0:e-.5,t=0===t?2:t+.5);var l=[];a<1&&o&&("candlestick"===r.config.chart.type||"candlestick"===r.config.series[i].type||"boxPlot"===r.config.chart.type||"boxPlot"===r.config.series[i].type||r.globals.isRangeData)&&(t*=1.01);var c=n+1;c<2?c=2:c>2&&(c-=2);var u=a/c,d=Math.floor(b.log10(u)),h=Math.pow(10,d),f=Math.round(u/h);f<1&&(f=1);var p=f*h,g=p*Math.floor(e/p),v=p*Math.ceil(t/p),m=g;if(o&&a>2){for(;l.push(m),!((m+=p)>v););return{result:l,niceMin:l[0],niceMax:l[l.length-1]}}var x=e;(l=[]).push(x);for(var y=Math.abs(t-e)/n,w=0;w<=n;w++)x+=y,l.push(x);return l[l.length-2]>=t&&l.pop(),{result:l,niceMin:l[0],niceMax:l[l.length-1]}}},{key:"linearScale",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,i=arguments.length>3?arguments[3]:void 0,o=Math.abs(t-e);"dataPoints"===(n=this._adjustTicksForSmallRange(n,i,o))&&(n=this.w.globals.dataPoints-1);var r=o/n;n===Number.MAX_VALUE&&(n=10,r=1);for(var a=[],s=e;n>=0;)a.push(s),s+=r,n-=1;return{result:a,niceMin:a[0],niceMax:a[a.length-1]}}},{key:"logarithmicScale",value:function(e,t,n){for(var i=[],o=Math.ceil(Math.log(t)/Math.log(n))+1,r=0;r5)i.allSeriesCollapsed=!1,i.yAxisScale[e]=this.logarithmicScale(t,n,r.logBase);else if(n!==-Number.MAX_VALUE&&b.isNumber(n))if(i.allSeriesCollapsed=!1,void 0===r.min&&void 0===r.max||r.forceNiceScale){var s=void 0===o.yaxis[e].max&&void 0===o.yaxis[e].min||o.yaxis[e].forceNiceScale;i.yAxisScale[e]=this.niceScale(t,n,r.tickAmount?r.tickAmount:a<5&&a>1?a+1:5,e,s)}else i.yAxisScale[e]=this.linearScale(t,n,r.tickAmount,e);else i.yAxisScale[e]=this.linearScale(0,5,5)}},{key:"setXScale",value:function(e,t){var n=this.w,i=n.globals,o=n.config.xaxis,r=Math.abs(t-e);return t!==-Number.MAX_VALUE&&b.isNumber(t)?i.xAxisScale=this.linearScale(e,t,o.tickAmount?o.tickAmount:r<5&&r>1?r+1:5,0):i.xAxisScale=this.linearScale(0,5,5),i.xAxisScale}},{key:"setMultipleYScales",value:function(){var e=this,t=this.w.globals,n=this.w.config,i=t.minYArr.concat([]),o=t.maxYArr.concat([]),r=[];n.yaxis.forEach((function(t,a){var s=a;n.series.forEach((function(e,n){e.name===t.seriesName&&(s=n,a!==n?r.push({index:n,similarIndex:a,alreadyExists:!0}):r.push({index:n}))}));var l=i[s],c=o[s];e.setYScaleForIndex(a,l,c)})),this.sameScaleInMultipleAxes(i,o,r)}},{key:"sameScaleInMultipleAxes",value:function(e,t,n){var i=this,o=this.w.config,r=this.w.globals,a=[];n.forEach((function(e){e.alreadyExists&&(void 0===a[e.index]&&(a[e.index]=[]),a[e.index].push(e.index),a[e.index].push(e.similarIndex))})),r.yAxisSameScaleIndices=a,a.forEach((function(e,t){a.forEach((function(n,i){var o,r;t!==i&&(o=e,r=n,o.filter((function(e){return-1!==r.indexOf(e)}))).length>0&&(a[t]=a[t].concat(a[i]))}))}));var s=a.map((function(e){return e.filter((function(t,n){return e.indexOf(t)===n}))})).map((function(e){return e.sort()}));a=a.filter((function(e){return!!e}));var l=s.slice(),c=l.map((function(e){return JSON.stringify(e)}));l=l.filter((function(e,t){return c.indexOf(JSON.stringify(e))===t}));var u=[],d=[];e.forEach((function(e,n){l.forEach((function(i,o){i.indexOf(n)>-1&&(void 0===u[o]&&(u[o]=[],d[o]=[]),u[o].push({key:n,value:e}),d[o].push({key:n,value:t[n]}))}))}));var h=Array.apply(null,Array(l.length)).map(Number.prototype.valueOf,Number.MIN_VALUE),f=Array.apply(null,Array(l.length)).map(Number.prototype.valueOf,-Number.MAX_VALUE);u.forEach((function(e,t){e.forEach((function(e,n){h[t]=Math.min(e.value,h[t])}))})),d.forEach((function(e,t){e.forEach((function(e,n){f[t]=Math.max(e.value,f[t])}))})),e.forEach((function(e,t){d.forEach((function(e,n){var a=h[n],s=f[n];o.chart.stacked&&(s=0,e.forEach((function(e,t){e.value!==-Number.MAX_VALUE&&(s+=e.value),a!==Number.MIN_VALUE&&(a+=u[n][t].value)}))),e.forEach((function(n,l){e[l].key===t&&(void 0!==o.yaxis[t].min&&(a="function"==typeof o.yaxis[t].min?o.yaxis[t].min(r.minY):o.yaxis[t].min),void 0!==o.yaxis[t].max&&(s="function"==typeof o.yaxis[t].max?o.yaxis[t].max(r.maxY):o.yaxis[t].max),i.setYScaleForIndex(t,a,s))}))}))}))}},{key:"autoScaleY",value:function(e,t,n){e||(e=this);var i=e.w;if(i.globals.isMultipleYAxis||i.globals.collapsedSeries.length)return console.warn("autoScaleYaxis is not supported in a multi-yaxis chart."),t;var o=i.globals.seriesX[0],r=i.config.chart.stacked;return t.forEach((function(e,a){for(var s=0,l=0;l=n.xaxis.min){s=l;break}var c,u,d=i.globals.minYArr[a],h=i.globals.maxYArr[a],f=i.globals.stackedSeriesTotals;i.globals.series.forEach((function(a,l){var p=a[s];r?(p=f[s],c=u=p,f.forEach((function(e,t){o[t]<=n.xaxis.max&&o[t]>=n.xaxis.min&&(e>u&&null!==e&&(u=e),a[t]=n.xaxis.min){var r=e,a=e;i.globals.series.forEach((function(n,i){null!==e&&(r=Math.min(n[t],r),a=Math.max(n[t],a))})),a>u&&null!==a&&(u=a),rd&&(c=d),t.length>1?(t[l].min=void 0===e.min?c:e.min,t[l].max=void 0===e.max?u:e.max):(t[0].min=void 0===e.min?c:e.min,t[0].max=void 0===e.max?u:e.max)}))})),t}}]),e}(),K=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.scales=new G(t)}return c(e,[{key:"init",value:function(){this.setYRange(),this.setXRange(),this.setZRange()}},{key:"getMinYMaxY",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-Number.MAX_VALUE,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=this.w.config,r=this.w.globals,a=-Number.MAX_VALUE,s=Number.MIN_VALUE;null===i&&(i=e+1);var l=r.series,c=l,u=l;"candlestick"===o.chart.type?(c=r.seriesCandleL,u=r.seriesCandleH):"boxPlot"===o.chart.type?(c=r.seriesCandleO,u=r.seriesCandleC):r.isRangeData&&(c=r.seriesRangeStart,u=r.seriesRangeEnd);for(var d=e;dc[d][h]&&c[d][h]<0&&(s=c[d][h])):r.hasNullValues=!0}}return"rangeBar"===o.chart.type&&r.seriesRangeStart.length&&r.isBarHorizontal&&(s=t),"bar"===o.chart.type&&(s<0&&a<0&&(a=0),s===Number.MIN_VALUE&&(s=0)),{minY:s,maxY:a,lowestY:t,highestY:n}}},{key:"setYRange",value:function(){var e=this.w.globals,t=this.w.config;e.maxY=-Number.MAX_VALUE,e.minY=Number.MIN_VALUE;var n=Number.MAX_VALUE;if(e.isMultipleYAxis)for(var i=0;i=0&&n<=10||void 0!==t.yaxis[0].min||void 0!==t.yaxis[0].max)&&(a=0),e.minY=n-5*a/100,n>0&&e.minY<0&&(e.minY=0),e.maxY=e.maxY+5*a/100}return t.yaxis.forEach((function(t,n){void 0!==t.max&&("number"==typeof t.max?e.maxYArr[n]=t.max:"function"==typeof t.max&&(e.maxYArr[n]=t.max(e.isMultipleYAxis?e.maxYArr[n]:e.maxY)),e.maxY=e.maxYArr[n]),void 0!==t.min&&("number"==typeof t.min?e.minYArr[n]=t.min:"function"==typeof t.min&&(e.minYArr[n]=t.min(e.isMultipleYAxis?e.minYArr[n]===Number.MIN_VALUE?0:e.minYArr[n]:e.minY)),e.minY=e.minYArr[n])})),e.isBarHorizontal&&["min","max"].forEach((function(n){void 0!==t.xaxis[n]&&"number"==typeof t.xaxis[n]&&("min"===n?e.minY=t.xaxis[n]:e.maxY=t.xaxis[n])})),e.isMultipleYAxis?(this.scales.setMultipleYScales(),e.minY=n,e.yAxisScale.forEach((function(t,n){e.minYArr[n]=t.niceMin,e.maxYArr[n]=t.niceMax}))):(this.scales.setYScaleForIndex(0,e.minY,e.maxY),e.minY=e.yAxisScale[0].niceMin,e.maxY=e.yAxisScale[0].niceMax,e.minYArr[0]=e.yAxisScale[0].niceMin,e.maxYArr[0]=e.yAxisScale[0].niceMax),{minY:e.minY,maxY:e.maxY,minYArr:e.minYArr,maxYArr:e.maxYArr,yAxisScale:e.yAxisScale}}},{key:"setXRange",value:function(){var e=this.w.globals,t=this.w.config,n="numeric"===t.xaxis.type||"datetime"===t.xaxis.type||"category"===t.xaxis.type&&!e.noLabelsProvided||e.noLabelsProvided||e.isXNumeric;if(e.isXNumeric&&function(){for(var t=0;te.dataPoints&&0!==e.dataPoints&&(i=e.dataPoints-1)):"dataPoints"===t.xaxis.tickAmount?(e.series.length>1&&(i=e.series[e.maxValsInArrayIndex].length-1),e.isXNumeric&&(i=e.maxX-e.minX-1)):i=t.xaxis.tickAmount,e.xTickAmount=i,void 0!==t.xaxis.max&&"number"==typeof t.xaxis.max&&(e.maxX=t.xaxis.max),void 0!==t.xaxis.min&&"number"==typeof t.xaxis.min&&(e.minX=t.xaxis.min),void 0!==t.xaxis.range&&(e.minX=e.maxX-t.xaxis.range),e.minX!==Number.MAX_VALUE&&e.maxX!==-Number.MAX_VALUE)if(t.xaxis.convertedCatToNumeric&&!e.dataFormatXNumeric){for(var o=[],r=e.minX-1;r0&&(e.xAxisScale=this.scales.linearScale(1,e.labels.length,i-1),e.seriesX=e.labels.slice());n&&(e.labels=e.xAxisScale.result.slice())}return e.isBarHorizontal&&e.labels.length&&(e.xTickAmount=e.labels.length),this._handleSingleDataPoint(),this._getMinXDiff(),{minX:e.minX,maxX:e.maxX}}},{key:"setZRange",value:function(){var e=this.w.globals;if(e.isDataXYZ)for(var t=0;t0){var o=t-i[n-1];o>0&&(e.minXDiff=Math.min(o,e.minXDiff))}})),1===e.dataPoints&&e.minXDiff===Number.MAX_VALUE&&(e.minXDiff=.5)}))}},{key:"_setStackedMinMax",value:function(){var e=this.w.globals,t=[],n=[];if(e.series.length)for(var i=0;i0?o=o+parseFloat(e.series[a][i])+1e-4:r+=parseFloat(e.series[a][i])),a===e.series.length-1&&(t.push(o),n.push(r));for(var s=0;s=0;m--)v(m);if(void 0!==n.config.yaxis[e].title.text){var b=i.group({class:"apexcharts-yaxis-title"}),x=0;n.config.yaxis[e].opposite&&(x=n.globals.translateYAxisX[e]);var y=i.drawText({x,y:n.globals.gridHeight/2+n.globals.translateY+n.config.yaxis[e].title.offsetY,text:n.config.yaxis[e].title.text,textAnchor:"end",foreColor:n.config.yaxis[e].title.style.color,fontSize:n.config.yaxis[e].title.style.fontSize,fontWeight:n.config.yaxis[e].title.style.fontWeight,fontFamily:n.config.yaxis[e].title.style.fontFamily,cssClass:"apexcharts-yaxis-title-text "+n.config.yaxis[e].title.style.cssClass});b.add(y),l.add(b)}var k=n.config.yaxis[e].axisBorder,S=31+k.offsetX;if(n.config.yaxis[e].opposite&&(S=-31-k.offsetX),k.show){var C=i.drawLine(S,n.globals.translateY+k.offsetY-2,S,n.globals.gridHeight+n.globals.translateY+k.offsetY+2,k.color,0,k.width);l.add(C)}return n.config.yaxis[e].axisTicks.show&&this.axesUtils.drawYAxisTicks(S,u,k,n.config.yaxis[e].axisTicks,e,d,l),l}},{key:"drawYaxisInversed",value:function(e){var t=this.w,n=new w(this.ctx),i=n.group({class:"apexcharts-xaxis apexcharts-yaxis-inversed"}),o=n.group({class:"apexcharts-xaxis-texts-g",transform:"translate(".concat(t.globals.translateXAxisX,", ").concat(t.globals.translateXAxisY,")")});i.add(o);var r=t.globals.yAxisScale[e].result.length-1,a=t.globals.gridWidth/r+.1,s=a+t.config.xaxis.labels.offsetX,l=t.globals.xLabelFormatter,c=t.globals.yAxisScale[e].result.slice(),u=t.globals.timescaleLabels;u.length>0&&(this.xaxisLabels=u.slice(),r=(c=u.slice()).length),c=this.axesUtils.checkForReversedLabels(e,c);var d=u.length;if(t.config.xaxis.labels.show)for(var h=d?0:r;d?h=0;d?h++:h--){var f=c[h];f=l(f,h,t);var p=t.globals.gridWidth+t.globals.padHorizontal-(s-a+t.config.xaxis.labels.offsetX);if(u.length){var g=this.axesUtils.getLabel(c,u,p,h,this.drawnLabels,this.xaxisFontSize);p=g.x,f=g.text,this.drawnLabels.push(g.text),0===h&&t.globals.skipFirstTimelinelabel&&(f=""),h===c.length-1&&t.globals.skipLastTimelinelabel&&(f="")}var v=n.drawText({x:p,y:this.xAxisoffX+t.config.xaxis.labels.offsetY+30-("top"===t.config.xaxis.position?t.globals.xAxisHeight+t.config.xaxis.axisTicks.height-2:0),text:f,textAnchor:"middle",foreColor:Array.isArray(this.xaxisForeColors)?this.xaxisForeColors[e]:this.xaxisForeColors,fontSize:this.xaxisFontSize,fontFamily:this.xaxisFontFamily,fontWeight:t.config.xaxis.labels.style.fontWeight,isPlainText:!1,cssClass:"apexcharts-xaxis-label "+t.config.xaxis.labels.style.cssClass});o.add(v),v.tspan(f);var m=document.createElementNS(t.globals.SVGNS,"title");m.textContent=f,v.node.appendChild(m),s+=a}return this.inversedYAxisTitleText(i),this.inversedYAxisBorder(i),i}},{key:"inversedYAxisBorder",value:function(e){var t=this.w,n=new w(this.ctx),i=t.config.xaxis.axisBorder;if(i.show){var o=0;"bar"===t.config.chart.type&&t.globals.isXNumeric&&(o-=15);var r=n.drawLine(t.globals.padHorizontal+o+i.offsetX,this.xAxisoffX,t.globals.gridWidth,this.xAxisoffX,i.color,0,i.height);e.add(r)}}},{key:"inversedYAxisTitleText",value:function(e){var t=this.w,n=new w(this.ctx);if(void 0!==t.config.xaxis.title.text){var i=n.group({class:"apexcharts-xaxis-title apexcharts-yaxis-title-inversed"}),o=n.drawText({x:t.globals.gridWidth/2+t.config.xaxis.title.offsetX,y:this.xAxisoffX+parseFloat(this.xaxisFontSize)+parseFloat(t.config.xaxis.title.style.fontSize)+t.config.xaxis.title.offsetY+20,text:t.config.xaxis.title.text,textAnchor:"middle",fontSize:t.config.xaxis.title.style.fontSize,fontFamily:t.config.xaxis.title.style.fontFamily,fontWeight:t.config.xaxis.title.style.fontWeight,foreColor:t.config.xaxis.title.style.color,cssClass:"apexcharts-xaxis-title-text "+t.config.xaxis.title.style.cssClass});i.add(o),e.add(i)}}},{key:"yAxisTitleRotate",value:function(e,t){var n=this.w,i=new w(this.ctx),o={width:0,height:0},r={width:0,height:0},a=n.globals.dom.baseEl.querySelector(" .apexcharts-yaxis[rel='".concat(e,"'] .apexcharts-yaxis-texts-g"));null!==a&&(o=a.getBoundingClientRect());var s=n.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(e,"'] .apexcharts-yaxis-title text"));if(null!==s&&(r=s.getBoundingClientRect()),null!==s){var l=this.xPaddingForYAxisTitle(e,o,r,t);s.setAttribute("x",l.xPos-(t?10:0))}if(null!==s){var c=i.rotateAroundCenter(s);s.setAttribute("transform","rotate(".concat(t?-1*n.config.yaxis[e].title.rotate:n.config.yaxis[e].title.rotate," ").concat(c.x," ").concat(c.y,")"))}}},{key:"xPaddingForYAxisTitle",value:function(e,t,n,i){var o=this.w,r=0,a=0,s=10;return void 0===o.config.yaxis[e].title.text||e<0?{xPos:a,padd:0}:(i?(a=t.width+o.config.yaxis[e].title.offsetX+n.width/2+s/2,0===(r+=1)&&(a-=s/2)):(a=-1*t.width+o.config.yaxis[e].title.offsetX+s/2+n.width/2,o.globals.isBarHorizontal&&(s=25,a=-1*t.width-o.config.yaxis[e].title.offsetX-s)),{xPos:a,padd:s})}},{key:"setYAxisXPosition",value:function(e,t){var n=this.w,i=0,o=0,r=18,a=1;n.config.yaxis.length>1&&(this.multipleYs=!0),n.config.yaxis.map((function(s,l){var c=n.globals.ignoreYAxisIndexes.indexOf(l)>-1||!s.show||s.floating||0===e[l].width,u=e[l].width+t[l].width;s.opposite?n.globals.isBarHorizontal?(o=n.globals.gridWidth+n.globals.translateX-1,n.globals.translateYAxisX[l]=o-s.labels.offsetX):(o=n.globals.gridWidth+n.globals.translateX+a,c||(a=a+u+20),n.globals.translateYAxisX[l]=o-s.labels.offsetX+20):(i=n.globals.translateX-r,c||(r=r+u+20),n.globals.translateYAxisX[l]=i+s.labels.offsetX)}))}},{key:"setYAxisTextAlignments",value:function(){var e=this.w,t=e.globals.dom.baseEl.getElementsByClassName("apexcharts-yaxis");(t=b.listToArray(t)).forEach((function(t,n){var i=e.config.yaxis[n];if(i&&void 0!==i.labels.align){var o=e.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(n,"'] .apexcharts-yaxis-texts-g")),r=e.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis[rel='".concat(n,"'] .apexcharts-yaxis-label"));r=b.listToArray(r);var a=o.getBoundingClientRect();"left"===i.labels.align?(r.forEach((function(e,t){e.setAttribute("text-anchor","start")})),i.opposite||o.setAttribute("transform","translate(-".concat(a.width,", 0)"))):"center"===i.labels.align?(r.forEach((function(e,t){e.setAttribute("text-anchor","middle")})),o.setAttribute("transform","translate(".concat(a.width/2*(i.opposite?1:-1),", 0)"))):"right"===i.labels.align&&(r.forEach((function(e,t){e.setAttribute("text-anchor","end")})),i.opposite&&o.setAttribute("transform","translate(".concat(a.width,", 0)")))}}))}}]),e}(),Q=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.documentEvent=b.bind(this.documentEvent,this)}return c(e,[{key:"addEventListener",value:function(e,t){var n=this.w;n.globals.events.hasOwnProperty(e)?n.globals.events[e].push(t):n.globals.events[e]=[t]}},{key:"removeEventListener",value:function(e,t){var n=this.w;if(n.globals.events.hasOwnProperty(e)){var i=n.globals.events[e].indexOf(t);-1!==i&&n.globals.events[e].splice(i,1)}}},{key:"fireEvent",value:function(e,t){var n=this.w;if(n.globals.events.hasOwnProperty(e)){t&&t.length||(t=[]);for(var i=n.globals.events[e],o=i.length,r=0;r0&&(t=this.w.config.chart.locales.concat(window.Apex.chart.locales));var n=t.filter((function(t){return t.name===e}))[0];if(!n)throw new Error("Wrong locale name provided. Please make sure you set the correct locale name in options");var i=b.extend(P,n);this.w.globals.locale=i.options}}]),e}(),te=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"drawAxis",value:function(e,t){var n,i,o=this.w.globals,r=this.w.config,a=new U(this.ctx),s=new J(this.ctx);o.axisCharts&&"radar"!==e&&(o.isBarHorizontal?(i=s.drawYaxisInversed(0),n=a.drawXaxisInversed(0),o.dom.elGraphical.add(n),o.dom.elGraphical.add(i)):(n=a.drawXaxis(),o.dom.elGraphical.add(n),r.yaxis.map((function(e,t){-1===o.ignoreYAxisIndexes.indexOf(t)&&(i=s.drawYaxis(t),o.dom.Paper.add(i))}))))}}]),e}(),ne=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"drawXCrosshairs",value:function(){var e=this.w,t=new w(this.ctx),n=new y(this.ctx),i=e.config.xaxis.crosshairs.fill.gradient,o=e.config.xaxis.crosshairs.dropShadow,r=e.config.xaxis.crosshairs.fill.type,a=i.colorFrom,s=i.colorTo,l=i.opacityFrom,c=i.opacityTo,u=i.stops,d=o.enabled,h=o.left,f=o.top,p=o.blur,g=o.color,v=o.opacity,m=e.config.xaxis.crosshairs.fill.color;if(e.config.xaxis.crosshairs.show){"gradient"===r&&(m=t.drawGradient("vertical",a,s,l,c,null,u,null));var x=t.drawRect();1===e.config.xaxis.crosshairs.width&&(x=t.drawLine());var k=e.globals.gridHeight;(!b.isNumber(k)||k<0)&&(k=0);var S=e.config.xaxis.crosshairs.width;(!b.isNumber(S)||S<0)&&(S=0),x.attr({class:"apexcharts-xcrosshairs",x:0,y:0,y2:k,width:S,height:k,fill:m,filter:"none","fill-opacity":e.config.xaxis.crosshairs.opacity,stroke:e.config.xaxis.crosshairs.stroke.color,"stroke-width":e.config.xaxis.crosshairs.stroke.width,"stroke-dasharray":e.config.xaxis.crosshairs.stroke.dashArray}),d&&(x=n.dropShadow(x,{left:h,top:f,blur:p,color:g,opacity:v})),e.globals.dom.elGraphical.add(x)}}},{key:"drawYCrosshairs",value:function(){var e=this.w,t=new w(this.ctx),n=e.config.yaxis[0].crosshairs,i=e.globals.barPadForNumericAxis;if(e.config.yaxis[0].crosshairs.show){var o=t.drawLine(-i,0,e.globals.gridWidth+i,0,n.stroke.color,n.stroke.dashArray,n.stroke.width);o.attr({class:"apexcharts-ycrosshairs"}),e.globals.dom.elGraphical.add(o)}var r=t.drawLine(-i,0,e.globals.gridWidth+i,0,n.stroke.color,0,0);r.attr({class:"apexcharts-ycrosshairs-hidden"}),e.globals.dom.elGraphical.add(r)}}]),e}(),ie=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"checkResponsiveConfig",value:function(e){var t=this,n=this.w,i=n.config;if(0!==i.responsive.length){var o=i.responsive.slice();o.sort((function(e,t){return e.breakpoint>t.breakpoint?1:t.breakpoint>e.breakpoint?-1:0})).reverse();var r=new D({}),a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=o[0].breakpoint,a=window.innerWidth>0?window.innerWidth:screen.width;if(a>i){var s=C.extendArrayProps(r,n.globals.initialConfig,n);e=b.extend(s,e),e=b.extend(n.config,e),t.overrideResponsiveOptions(e)}else for(var l=0;l0&&"function"==typeof t.config.colors[0]&&(t.globals.colors=t.config.series.map((function(n,i){var o=t.config.colors[i];return o||(o=t.config.colors[0]),"function"==typeof o?(e.isColorFn=!0,o({value:t.globals.axisCharts?t.globals.series[i][0]?t.globals.series[i][0]:0:t.globals.series[i],seriesIndex:i,dataPointIndex:i,w:t})):o})))),t.globals.seriesColors.map((function(e,n){e&&(t.globals.colors[n]=e)})),t.config.theme.monochrome.enabled){var i=[],o=t.globals.series.length;(this.isBarDistributed||this.isHeatmapDistributed)&&(o=t.globals.series[0].length*t.globals.series.length);for(var r=t.config.theme.monochrome.color,a=1/(o/t.config.theme.monochrome.shadeIntensity),s=t.config.theme.monochrome.shadeTo,l=0,c=0;c2&&void 0!==arguments[2]?arguments[2]:null,i=this.w,o=t||i.globals.series.length;if(null===n&&(n=this.isBarDistributed||this.isHeatmapDistributed||"heatmap"===i.config.chart.type&&i.config.plotOptions.heatmap.colorScale.inverse),n&&i.globals.series.length&&(o=i.globals.series[i.globals.maxValsInArrayIndex].length*i.globals.series.length),e.lengthe.globals.svgWidth&&(this.dCtx.lgRect.width=e.globals.svgWidth/1.5),this.dCtx.lgRect}},{key:"getLargestStringFromMultiArr",value:function(e,t){var n=e;if(this.w.globals.isMultiLineX){var i=t.map((function(e,t){return Array.isArray(e)?e.length:1})),o=Math.max.apply(Math,v(i));n=t[i.indexOf(o)]}return n}}]),e}(),se=function(){function e(t){s(this,e),this.w=t.w,this.dCtx=t}return c(e,[{key:"getxAxisLabelsCoords",value:function(){var e,t=this.w,n=t.globals.labels.slice();if(t.config.xaxis.convertedCatToNumeric&&0===n.length&&(n=t.globals.categoryLabels),t.globals.timescaleLabels.length>0){var i=this.getxAxisTimeScaleLabelsCoords();e={width:i.width,height:i.height},t.globals.rotateXLabels=!1}else{this.dCtx.lgWidthForSideLegends="left"!==t.config.legend.position&&"right"!==t.config.legend.position||t.config.legend.floating?0:this.dCtx.lgRect.width;var o=t.globals.xLabelFormatter,r=b.getLargestStringFromArr(n),a=this.dCtx.dimHelpers.getLargestStringFromMultiArr(r,n);t.globals.isBarHorizontal&&(a=r=t.globals.yAxisScale[0].result.reduce((function(e,t){return e.length>t.length?e:t}),0));var s=new V(this.dCtx.ctx),l=r;r=s.xLabelFormat(o,r,l,{i:void 0,dateFormatter:new H(this.dCtx.ctx).formatDate,w:t}),a=s.xLabelFormat(o,a,l,{i:void 0,dateFormatter:new H(this.dCtx.ctx).formatDate,w:t}),(t.config.xaxis.convertedCatToNumeric&&void 0===r||""===String(r).trim())&&(a=r="1");var c=new w(this.dCtx.ctx),u=c.getTextRects(r,t.config.xaxis.labels.style.fontSize),d=u;if(r!==a&&(d=c.getTextRects(a,t.config.xaxis.labels.style.fontSize)),(e={width:u.width>=d.width?u.width:d.width,height:u.height>=d.height?u.height:d.height}).width*n.length>t.globals.svgWidth-this.dCtx.lgWidthForSideLegends-this.dCtx.yAxisWidth-this.dCtx.gridPad.left-this.dCtx.gridPad.right&&0!==t.config.xaxis.labels.rotate||t.config.xaxis.labels.rotateAlways){if(!t.globals.isBarHorizontal){t.globals.rotateXLabels=!0;var h=function(e){return c.getTextRects(e,t.config.xaxis.labels.style.fontSize,t.config.xaxis.labels.style.fontFamily,"rotate(".concat(t.config.xaxis.labels.rotate," 0 0)"),!1)};u=h(r),r!==a&&(d=h(a)),e.height=(u.height>d.height?u.height:d.height)/1.5,e.width=u.width>d.width?u.width:d.width}}else t.globals.rotateXLabels=!1}return t.config.xaxis.labels.show||(e={width:0,height:0}),{width:e.width,height:e.height}}},{key:"getxAxisTitleCoords",value:function(){var e=this.w,t=0,n=0;if(void 0!==e.config.xaxis.title.text){var i=new w(this.dCtx.ctx).getTextRects(e.config.xaxis.title.text,e.config.xaxis.title.style.fontSize);t=i.width,n=i.height}return{width:t,height:n}}},{key:"getxAxisTimeScaleLabelsCoords",value:function(){var e,t=this.w;this.dCtx.timescaleLabels=t.globals.timescaleLabels.slice();var n=this.dCtx.timescaleLabels.map((function(e){return e.value})),i=n.reduce((function(e,t){return void 0===e?(console.error("You have possibly supplied invalid Date format. Please supply a valid JavaScript Date"),0):e.length>t.length?e:t}),0);return 1.05*(e=new w(this.dCtx.ctx).getTextRects(i,t.config.xaxis.labels.style.fontSize)).width*n.length>t.globals.gridWidth&&0!==t.config.xaxis.labels.rotate&&(t.globals.overlappingXLabels=!0),e}},{key:"additionalPaddingXLabels",value:function(e){var t=this,n=this.w,i=n.globals,o=n.config,r=o.xaxis.type,a=e.width;i.skipLastTimelinelabel=!1,i.skipFirstTimelinelabel=!1;var s=n.config.yaxis[0].opposite&&n.globals.isBarHorizontal,l=function(e,s){(function(e){return-1!==i.collapsedSeriesIndices.indexOf(e)})(s)||function(e){if(t.dCtx.timescaleLabels&&t.dCtx.timescaleLabels.length){var s=t.dCtx.timescaleLabels[0],l=t.dCtx.timescaleLabels[t.dCtx.timescaleLabels.length-1].position+a/1.75-t.dCtx.yAxisWidthRight,c=s.position-a/1.75+t.dCtx.yAxisWidthLeft,u="right"===n.config.legend.position&&t.dCtx.lgRect.width>0?t.dCtx.lgRect.width:0;l>i.svgWidth-i.translateX-u&&(i.skipLastTimelinelabel=!0),c<-(e.show&&!e.floating||"bar"!==o.chart.type&&"candlestick"!==o.chart.type&&"rangeBar"!==o.chart.type&&"boxPlot"!==o.chart.type?10:a/1.75)&&(i.skipFirstTimelinelabel=!0)}else"datetime"===r?t.dCtx.gridPad.rightString(s.niceMax).length?u:s.niceMax,h=c(d,{seriesIndex:a,dataPointIndex:-1,w:t}),f=h;if(void 0!==h&&0!==h.length||(h=d),t.globals.isBarHorizontal){i=0;var p=t.globals.labels.slice();h=c(h=b.getLargestStringFromArr(p),{seriesIndex:a,dataPointIndex:-1,w:t}),f=e.dCtx.dimHelpers.getLargestStringFromMultiArr(h,p)}var g=new w(e.dCtx.ctx),v="rotate(".concat(r.labels.rotate," 0 0)"),m=g.getTextRects(h,r.labels.style.fontSize,r.labels.style.fontFamily,v,!1),x=m;h!==f&&(x=g.getTextRects(f,r.labels.style.fontSize,r.labels.style.fontFamily,v,!1)),n.push({width:(l>x.width||l>m.width?l:x.width>m.width?x.width:m.width)+i,height:x.height>m.height?x.height:m.height})}else n.push({width:0,height:0})})),n}},{key:"getyAxisTitleCoords",value:function(){var e=this,t=this.w,n=[];return t.config.yaxis.map((function(t,i){if(t.show&&void 0!==t.title.text){var o=new w(e.dCtx.ctx),r="rotate(".concat(t.title.rotate," 0 0)"),a=o.getTextRects(t.title.text,t.title.style.fontSize,t.title.style.fontFamily,r,!1);n.push({width:a.width,height:a.height})}else n.push({width:0,height:0})})),n}},{key:"getTotalYAxisWidth",value:function(){var e=this.w,t=0,n=0,i=0,o=e.globals.yAxisScale.length>1?10:0,r=new W(this.dCtx.ctx),a=function(a,s){var l=e.config.yaxis[s].floating,c=0;a.width>0&&!l?(c=a.width+o,function(t){return e.globals.ignoreYAxisIndexes.indexOf(t)>-1}(s)&&(c=c-a.width-o)):c=l||r.isYAxisHidden(s)?0:5,e.config.yaxis[s].opposite?i+=c:n+=c,t+=c};return e.globals.yLabelsCoords.map((function(e,t){a(e,t)})),e.globals.yTitleCoords.map((function(e,t){a(e,t)})),e.globals.isBarHorizontal&&!e.config.yaxis[0].floating&&(t=e.globals.yLabelsCoords[0].width+e.globals.yTitleCoords[0].width+15),this.dCtx.yAxisWidthLeft=n,this.dCtx.yAxisWidthRight=i,t}}]),e}(),ce=function(){function e(t){s(this,e),this.w=t.w,this.dCtx=t}return c(e,[{key:"gridPadForColumnsInNumericAxis",value:function(e){var t=this.w;if(t.globals.noData||t.globals.allSeriesCollapsed)return 0;var n=function(e){return"bar"===e||"rangeBar"===e||"candlestick"===e||"boxPlot"===e},i=t.config.chart.type,o=0,r=n(i)?t.config.series.length:1;if(t.globals.comboBarCount>0&&(r=t.globals.comboBarCount),t.globals.collapsedSeries.forEach((function(e){n(e.type)&&(r-=1)})),t.config.chart.stacked&&(r=1),(n(i)||t.globals.comboBarCount>0)&&t.globals.isXNumeric&&!t.globals.isBarHorizontal&&r>0){var a,s,l=Math.abs(t.globals.initialMaxX-t.globals.initialMinX);l<=3&&(l=t.globals.dataPoints),a=l/e,t.globals.minXDiff&&t.globals.minXDiff/a>0&&(s=t.globals.minXDiff/a),s>e/2&&(s/=2),(o=s/r*parseInt(t.config.plotOptions.bar.columnWidth,10)/100)<1&&(o=1),o=o/(r>1?1:1.5)+5,t.globals.barPadForNumericAxis=o}return o}},{key:"gridPadFortitleSubtitle",value:function(){var e=this,t=this.w,n=t.globals,i=this.dCtx.isSparkline||!t.globals.axisCharts?0:10;["title","subtitle"].forEach((function(n){void 0!==t.config[n].text?i+=t.config[n].margin:i+=e.dCtx.isSparkline||!t.globals.axisCharts?0:5})),!t.config.legend.show||"bottom"!==t.config.legend.position||t.config.legend.floating||t.globals.axisCharts||(i+=10);var o=this.dCtx.dimHelpers.getTitleSubtitleCoords("title"),r=this.dCtx.dimHelpers.getTitleSubtitleCoords("subtitle");n.gridHeight=n.gridHeight-o.height-r.height-i,n.translateY=n.translateY+o.height+r.height+i}},{key:"setGridXPosForDualYAxis",value:function(e,t){var n=this.w,i=new W(this.dCtx.ctx);n.config.yaxis.map((function(o,r){-1!==n.globals.ignoreYAxisIndexes.indexOf(r)||o.floating||i.isYAxisHidden(r)||(o.opposite&&(n.globals.translateX=n.globals.translateX-(t[r].width+e[r].width)-parseInt(n.config.yaxis[r].labels.style.fontSize,10)/1.2-12),n.globals.translateX<2&&(n.globals.translateX=2))}))}}]),e}(),ue=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.lgRect={},this.yAxisWidth=0,this.yAxisWidthLeft=0,this.yAxisWidthRight=0,this.xAxisHeight=0,this.isSparkline=this.w.config.chart.sparkline.enabled,this.dimHelpers=new ae(this),this.dimYAxis=new le(this),this.dimXAxis=new se(this),this.dimGrid=new ce(this),this.lgWidthForSideLegends=0,this.gridPad=this.w.config.grid.padding,this.xPadRight=0,this.xPadLeft=0}return c(e,[{key:"plotCoords",value:function(){var e=this.w.globals;this.lgRect=this.dimHelpers.getLegendsRect(),e.axisCharts?this.setDimensionsForAxisCharts():this.setDimensionsForNonAxisCharts(),this.dimGrid.gridPadFortitleSubtitle(),e.gridHeight=e.gridHeight-this.gridPad.top-this.gridPad.bottom,e.gridWidth=e.gridWidth-this.gridPad.left-this.gridPad.right-this.xPadRight-this.xPadLeft;var t=this.dimGrid.gridPadForColumnsInNumericAxis(e.gridWidth);e.gridWidth=e.gridWidth-2*t,e.translateX=e.translateX+this.gridPad.left+this.xPadLeft+(t>0?t+4:0),e.translateY=e.translateY+this.gridPad.top}},{key:"setDimensionsForAxisCharts",value:function(){var e=this,t=this.w,n=t.globals,i=this.dimYAxis.getyAxisLabelsCoords(),o=this.dimYAxis.getyAxisTitleCoords();t.globals.yLabelsCoords=[],t.globals.yTitleCoords=[],t.config.yaxis.map((function(e,n){t.globals.yLabelsCoords.push({width:i[n].width,index:n}),t.globals.yTitleCoords.push({width:o[n].width,index:n})})),this.yAxisWidth=this.dimYAxis.getTotalYAxisWidth();var r=this.dimXAxis.getxAxisLabelsCoords(),a=this.dimXAxis.getxAxisTitleCoords();this.conditionalChecksForAxisCoords(r,a),n.translateXAxisY=t.globals.rotateXLabels?this.xAxisHeight/8:-4,n.translateXAxisX=t.globals.rotateXLabels&&t.globals.isXNumeric&&t.config.xaxis.labels.rotate<=-45?-this.xAxisWidth/4:0,t.globals.isBarHorizontal&&(n.rotateXLabels=!1,n.translateXAxisY=parseInt(t.config.xaxis.labels.style.fontSize,10)/1.5*-1),n.translateXAxisY=n.translateXAxisY+t.config.xaxis.labels.offsetY,n.translateXAxisX=n.translateXAxisX+t.config.xaxis.labels.offsetX;var s=this.yAxisWidth,l=this.xAxisHeight;n.xAxisLabelsHeight=this.xAxisHeight-a.height,n.xAxisLabelsWidth=this.xAxisWidth,n.xAxisHeight=this.xAxisHeight;var c=10;("radar"===t.config.chart.type||this.isSparkline)&&(s=0,l=n.goldenPadding),this.isSparkline&&(this.lgRect={height:0,width:0}),(this.isSparkline||"treemap"===t.config.chart.type)&&(s=0,l=0,c=0),this.isSparkline||this.dimXAxis.additionalPaddingXLabels(r);var u=function(){n.translateX=s,n.gridHeight=n.svgHeight-e.lgRect.height-l-(e.isSparkline||"treemap"===t.config.chart.type?0:t.globals.rotateXLabels?10:15),n.gridWidth=n.svgWidth-s};switch("top"===t.config.xaxis.position&&(c=n.xAxisHeight-t.config.xaxis.axisTicks.height-5),t.config.legend.position){case"bottom":n.translateY=c,u();break;case"top":n.translateY=this.lgRect.height+c,u();break;case"left":n.translateY=c,n.translateX=this.lgRect.width+s,n.gridHeight=n.svgHeight-l-12,n.gridWidth=n.svgWidth-this.lgRect.width-s;break;case"right":n.translateY=c,n.translateX=s,n.gridHeight=n.svgHeight-l-12,n.gridWidth=n.svgWidth-this.lgRect.width-s-5;break;default:throw new Error("Legend position not supported")}this.dimGrid.setGridXPosForDualYAxis(o,i),new J(this.ctx).setYAxisXPosition(i,o)}},{key:"setDimensionsForNonAxisCharts",value:function(){var e=this.w,t=e.globals,n=e.config,i=0;e.config.legend.show&&!e.config.legend.floating&&(i=20);var o="pie"===n.chart.type||"polarArea"===n.chart.type||"donut"===n.chart.type?"pie":"radialBar",r=n.plotOptions[o].offsetY,a=n.plotOptions[o].offsetX;if(!n.legend.show||n.legend.floating)return t.gridHeight=t.svgHeight-n.grid.padding.left+n.grid.padding.right,t.gridWidth=t.gridHeight,t.translateY=r,void(t.translateX=a+(t.svgWidth-t.gridWidth)/2);switch(n.legend.position){case"bottom":t.gridHeight=t.svgHeight-this.lgRect.height-t.goldenPadding,t.gridWidth=t.svgWidth,t.translateY=r-10,t.translateX=a+(t.svgWidth-t.gridWidth)/2;break;case"top":t.gridHeight=t.svgHeight-this.lgRect.height-t.goldenPadding,t.gridWidth=t.svgWidth,t.translateY=this.lgRect.height+r+10,t.translateX=a+(t.svgWidth-t.gridWidth)/2;break;case"left":t.gridWidth=t.svgWidth-this.lgRect.width-i,t.gridHeight="auto"!==n.chart.height?t.svgHeight:t.gridWidth,t.translateY=r,t.translateX=a+this.lgRect.width+i;break;case"right":t.gridWidth=t.svgWidth-this.lgRect.width-i-5,t.gridHeight="auto"!==n.chart.height?t.svgHeight:t.gridWidth,t.translateY=r,t.translateX=a+10;break;default:throw new Error("Legend position not supported")}}},{key:"conditionalChecksForAxisCoords",value:function(e,t){var n=this.w,i=e.height+t.height,o=n.globals.isMultiLineX?1.2:n.globals.LINE_HEIGHT_RATIO,r=n.globals.rotateXLabels?22:10,a=n.globals.rotateXLabels&&"bottom"===n.config.legend.position?10:0;this.xAxisHeight=i*o+r+a,this.xAxisWidth=e.width,this.xAxisHeight-t.height>n.config.xaxis.labels.maxHeight&&(this.xAxisHeight=n.config.xaxis.labels.maxHeight),n.config.xaxis.labels.minHeight&&this.xAxisHeightl&&(this.yAxisWidth=l)}}]),e}(),de=function(){function e(t){s(this,e),this.w=t.w,this.lgCtx=t}return c(e,[{key:"getLegendStyles",value:function(){var e=document.createElement("style");e.setAttribute("type","text/css");var t=document.createTextNode("\t\n \t\n .apexcharts-legend {\t\n display: flex;\t\n overflow: auto;\t\n padding: 0 10px;\t\n }\t\n .apexcharts-legend.apx-legend-position-bottom, .apexcharts-legend.apx-legend-position-top {\t\n flex-wrap: wrap\t\n }\t\n .apexcharts-legend.apx-legend-position-right, .apexcharts-legend.apx-legend-position-left {\t\n flex-direction: column;\t\n bottom: 0;\t\n }\t\n .apexcharts-legend.apx-legend-position-bottom.apexcharts-align-left, .apexcharts-legend.apx-legend-position-top.apexcharts-align-left, .apexcharts-legend.apx-legend-position-right, .apexcharts-legend.apx-legend-position-left {\t\n justify-content: flex-start;\t\n }\t\n .apexcharts-legend.apx-legend-position-bottom.apexcharts-align-center, .apexcharts-legend.apx-legend-position-top.apexcharts-align-center {\t\n justify-content: center; \t\n }\t\n .apexcharts-legend.apx-legend-position-bottom.apexcharts-align-right, .apexcharts-legend.apx-legend-position-top.apexcharts-align-right {\t\n justify-content: flex-end;\t\n }\t\n .apexcharts-legend-series {\t\n cursor: pointer;\t\n line-height: normal;\t\n }\t\n .apexcharts-legend.apx-legend-position-bottom .apexcharts-legend-series, .apexcharts-legend.apx-legend-position-top .apexcharts-legend-series{\t\n display: flex;\t\n align-items: center;\t\n }\t\n .apexcharts-legend-text {\t\n position: relative;\t\n font-size: 14px;\t\n }\t\n .apexcharts-legend-text *, .apexcharts-legend-marker * {\t\n pointer-events: none;\t\n }\t\n .apexcharts-legend-marker {\t\n position: relative;\t\n display: inline-block;\t\n cursor: pointer;\t\n margin-right: 3px;\t\n border-style: solid;\n }\t\n \t\n .apexcharts-legend.apexcharts-align-right .apexcharts-legend-series, .apexcharts-legend.apexcharts-align-left .apexcharts-legend-series{\t\n display: inline-block;\t\n }\t\n .apexcharts-legend-series.apexcharts-no-click {\t\n cursor: auto;\t\n }\t\n .apexcharts-legend .apexcharts-hidden-zero-series, .apexcharts-legend .apexcharts-hidden-null-series {\t\n display: none !important;\t\n }\t\n .apexcharts-inactive-legend {\t\n opacity: 0.45;\t\n }");return e.appendChild(t),e}},{key:"getLegendBBox",value:function(){var e=this.w.globals.dom.baseEl.querySelector(".apexcharts-legend").getBoundingClientRect(),t=e.width;return{clwh:e.height,clww:t}}},{key:"appendToForeignObject",value:function(){var e=this.w.globals;e.dom.elLegendForeign=document.createElementNS(e.SVGNS,"foreignObject");var t=e.dom.elLegendForeign;t.setAttribute("x",0),t.setAttribute("y",0),t.setAttribute("width",e.svgWidth),t.setAttribute("height",e.svgHeight),e.dom.elLegendWrap.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),t.appendChild(e.dom.elLegendWrap),t.appendChild(this.getLegendStyles()),e.dom.Paper.node.insertBefore(t,e.dom.elGraphical.node)}},{key:"toggleDataSeries",value:function(e,t){var n=this,i=this.w;if(i.globals.axisCharts||"radialBar"===i.config.chart.type){i.globals.resized=!0;var o=null,r=null;i.globals.risingSeries=[],i.globals.axisCharts?(o=i.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(e,"']")),r=parseInt(o.getAttribute("data:realIndex"),10)):(o=i.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(e+1,"']")),r=parseInt(o.getAttribute("rel"),10)-1),t?[{cs:i.globals.collapsedSeries,csi:i.globals.collapsedSeriesIndices},{cs:i.globals.ancillaryCollapsedSeries,csi:i.globals.ancillaryCollapsedSeriesIndices}].forEach((function(e){n.riseCollapsedSeries(e.cs,e.csi,r)})):this.hideSeries({seriesEl:o,realIndex:r})}else{var a=i.globals.dom.Paper.select(" .apexcharts-series[rel='".concat(e+1,"'] path")),s=i.config.chart.type;if("pie"===s||"polarArea"===s||"donut"===s){var l=i.config.plotOptions.pie.donut.labels;new w(this.lgCtx.ctx).pathMouseDown(a.members[0],null),this.lgCtx.ctx.pie.printDataLabelsInner(a.members[0].node,l)}a.fire("click")}}},{key:"hideSeries",value:function(e){var t=e.seriesEl,n=e.realIndex,i=this.w,o=b.clone(i.config.series);if(i.globals.axisCharts){var r=!1;if(i.config.yaxis[n]&&i.config.yaxis[n].show&&i.config.yaxis[n].showAlways&&(r=!0,i.globals.ancillaryCollapsedSeriesIndices.indexOf(n)<0&&(i.globals.ancillaryCollapsedSeries.push({index:n,data:o[n].data.slice(),type:t.parentNode.className.baseVal.split("-")[1]}),i.globals.ancillaryCollapsedSeriesIndices.push(n))),!r){i.globals.collapsedSeries.push({index:n,data:o[n].data.slice(),type:t.parentNode.className.baseVal.split("-")[1]}),i.globals.collapsedSeriesIndices.push(n);var a=i.globals.risingSeries.indexOf(n);i.globals.risingSeries.splice(a,1)}}else i.globals.collapsedSeries.push({index:n,data:o[n]}),i.globals.collapsedSeriesIndices.push(n);for(var s=t.childNodes,l=0;l0){for(var r=0;r-1&&(e[i].data=[])})):e.forEach((function(n,i){t.globals.collapsedSeriesIndices.indexOf(i)>-1&&(e[i]=0)})),e}}]),e}(),he=function(){function e(t,n){s(this,e),this.ctx=t,this.w=t.w,this.onLegendClick=this.onLegendClick.bind(this),this.onLegendHovered=this.onLegendHovered.bind(this),this.isBarsDistributed="bar"===this.w.config.chart.type&&this.w.config.plotOptions.bar.distributed&&1===this.w.config.series.length,this.legendHelpers=new de(this)}return c(e,[{key:"init",value:function(){var e=this.w,t=e.globals,n=e.config;if((n.legend.showForSingleSeries&&1===t.series.length||this.isBarsDistributed||t.series.length>1||!t.axisCharts)&&n.legend.show){for(;t.dom.elLegendWrap.firstChild;)t.dom.elLegendWrap.removeChild(t.dom.elLegendWrap.firstChild);this.drawLegends(),b.isIE11()?document.getElementsByTagName("head")[0].appendChild(this.legendHelpers.getLegendStyles()):this.legendHelpers.appendToForeignObject(),"bottom"===n.legend.position||"top"===n.legend.position?this.legendAlignHorizontal():"right"!==n.legend.position&&"left"!==n.legend.position||this.legendAlignVertical()}}},{key:"drawLegends",value:function(){var e=this,t=this.w,n=t.config.legend.fontFamily,i=t.globals.seriesNames,o=t.globals.colors.slice();if("heatmap"===t.config.chart.type){var r=t.config.plotOptions.heatmap.colorScale.ranges;i=r.map((function(e){return e.name?e.name:e.from+" - "+e.to})),o=r.map((function(e){return e.color}))}else this.isBarsDistributed&&(i=t.globals.labels.slice());t.config.legend.customLegendItems.length&&(i=t.config.legend.customLegendItems);for(var a=t.globals.legendFormatter,s=t.config.legend.inverseOrder,l=s?i.length-1:0;s?l>=0:l<=i.length-1;s?l--:l++){var c=a(i[l],{seriesIndex:l,w:t}),u=!1,d=!1;if(t.globals.collapsedSeries.length>0)for(var h=0;h0)for(var f=0;f0?l-10:0)+(c>0?c-10:0)}i.style.position="absolute",r=r+e+n.config.legend.offsetX,a=a+t+n.config.legend.offsetY,i.style.left=r+"px",i.style.top=a+"px","bottom"===n.config.legend.position?(i.style.top="auto",i.style.bottom=5-n.config.legend.offsetY+"px"):"right"===n.config.legend.position&&(i.style.left="auto",i.style.right=25+n.config.legend.offsetX+"px"),["width","height"].forEach((function(e){i.style[e]&&(i.style[e]=parseInt(n.config.legend[e],10)+"px")}))}},{key:"legendAlignHorizontal",value:function(){var e=this.w;e.globals.dom.baseEl.querySelector(".apexcharts-legend").style.right=0;var t=this.legendHelpers.getLegendBBox(),n=new ue(this.ctx),i=n.dimHelpers.getTitleSubtitleCoords("title"),o=n.dimHelpers.getTitleSubtitleCoords("subtitle"),r=0;"bottom"===e.config.legend.position?r=-t.clwh/1.8:"top"===e.config.legend.position&&(r=i.height+o.height+e.config.title.margin+e.config.subtitle.margin-10),this.setLegendWrapXY(20,r)}},{key:"legendAlignVertical",value:function(){var e=this.w,t=this.legendHelpers.getLegendBBox(),n=0;"left"===e.config.legend.position&&(n=20),"right"===e.config.legend.position&&(n=e.globals.svgWidth-t.clww-10),this.setLegendWrapXY(n,20)}},{key:"onLegendHovered",value:function(e){var t=this.w,n=e.target.classList.contains("apexcharts-legend-text")||e.target.classList.contains("apexcharts-legend-marker");if("heatmap"===t.config.chart.type||this.isBarsDistributed){if(n){var i=parseInt(e.target.getAttribute("rel"),10)-1;this.ctx.events.fireEvent("legendHover",[this.ctx,i,this.w]),new R(this.ctx).highlightRangeInSeries(e,e.target)}}else!e.target.classList.contains("apexcharts-inactive-legend")&&n&&new R(this.ctx).toggleSeriesOnHover(e,e.target)}},{key:"onLegendClick",value:function(e){var t=this.w;if(!t.config.legend.customLegendItems.length&&(e.target.classList.contains("apexcharts-legend-text")||e.target.classList.contains("apexcharts-legend-marker"))){var n=parseInt(e.target.getAttribute("rel"),10)-1,i="true"===e.target.getAttribute("data:collapsed"),o=this.w.config.chart.events.legendClick;"function"==typeof o&&o(this.ctx,n,this.w),this.ctx.events.fireEvent("legendClick",[this.ctx,n,this.w]);var r=this.w.config.legend.markers.onClick;"function"==typeof r&&e.target.classList.contains("apexcharts-legend-marker")&&(r(this.ctx,n,this.w),this.ctx.events.fireEvent("legendMarkerClick",[this.ctx,n,this.w])),"treemap"!==t.config.chart.type&&"heatmap"!==t.config.chart.type&&!this.isBarsDistributed&&t.config.legend.onItemClick.toggleDataSeries&&this.legendHelpers.toggleDataSeries(n,i)}}}]),e}(),fe=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w;var n=this.w;this.ev=this.w.config.chart.events,this.selectedClass="apexcharts-selected",this.localeValues=this.w.globals.locale.toolbar,this.minX=n.globals.minX,this.maxX=n.globals.maxX}return c(e,[{key:"createToolbar",value:function(){var e=this,t=this.w,n=function(){return document.createElement("div")},i=n();if(i.setAttribute("class","apexcharts-toolbar"),i.style.top=t.config.chart.toolbar.offsetY+"px",i.style.right=3-t.config.chart.toolbar.offsetX+"px",t.globals.dom.elWrap.appendChild(i),this.elZoom=n(),this.elZoomIn=n(),this.elZoomOut=n(),this.elPan=n(),this.elSelection=n(),this.elZoomReset=n(),this.elMenuIcon=n(),this.elMenu=n(),this.elCustomIcons=[],this.t=t.config.chart.toolbar.tools,Array.isArray(this.t.customIcons))for(var o=0;o\n \n \n\n'),a("zoomOut",this.elZoomOut,'\n \n \n\n');var s=function(n){e.t[n]&&t.config.chart[n].enabled&&r.push({el:"zoom"===n?e.elZoom:e.elSelection,icon:"string"==typeof e.t[n]?e.t[n]:"zoom"===n?'\n \n \n \n':'\n \n \n',title:e.localeValues["zoom"===n?"selectionZoom":"selection"],class:t.globals.isTouchDevice?"apexcharts-element-hidden":"apexcharts-".concat(n,"-icon")})};s("zoom"),s("selection"),this.t.pan&&t.config.chart.zoom.enabled&&r.push({el:this.elPan,icon:"string"==typeof this.t.pan?this.t.pan:'\n \n \n \n \n \n \n \n',title:this.localeValues.pan,class:t.globals.isTouchDevice?"apexcharts-element-hidden":"apexcharts-pan-icon"}),a("reset",this.elZoomReset,'\n \n \n'),this.t.download&&r.push({el:this.elMenuIcon,icon:"string"==typeof this.t.download?this.t.download:'',title:this.localeValues.menu,class:"apexcharts-menu-icon"});for(var l=0;l0&&t.height>0&&this.slDraggableRect.selectize({points:"l, r",pointSize:8,pointType:"rect"}).resize({constraint:{minX:0,minY:0,maxX:e.globals.gridWidth,maxY:e.globals.gridHeight}}).on("resizing",this.selectionDragging.bind(this,"resizing"))}}},{key:"preselectedSelection",value:function(){var e=this.w,t=this.xyRatios;if(!e.globals.zoomEnabled)if(void 0!==e.globals.selection&&null!==e.globals.selection)this.drawSelectionRect(e.globals.selection);else if(void 0!==e.config.chart.selection.xaxis.min&&void 0!==e.config.chart.selection.xaxis.max){var n=(e.config.chart.selection.xaxis.min-e.globals.minX)/t.xRatio,i={x:n,y:0,width:e.globals.gridWidth-(e.globals.maxX-e.config.chart.selection.xaxis.max)/t.xRatio-n,height:e.globals.gridHeight,translateX:0,translateY:0,selectionEnabled:!0};this.drawSelectionRect(i),this.makeSelectionRectDraggable(),"function"==typeof e.config.chart.events.selection&&e.config.chart.events.selection(this.ctx,{xaxis:{min:e.config.chart.selection.xaxis.min,max:e.config.chart.selection.xaxis.max},yaxis:{}})}}},{key:"drawSelectionRect",value:function(e){var t=e.x,n=e.y,i=e.width,o=e.height,r=e.translateX,a=void 0===r?0:r,s=e.translateY,l=void 0===s?0:s,c=this.w,u=this.zoomRect,d=this.selectionRect;if(this.dragged||null!==c.globals.selection){var h={transform:"translate("+a+", "+l+")"};c.globals.zoomEnabled&&this.dragged&&(i<0&&(i=1),u.attr({x:t,y:n,width:i,height:o,fill:c.config.chart.zoom.zoomedArea.fill.color,"fill-opacity":c.config.chart.zoom.zoomedArea.fill.opacity,stroke:c.config.chart.zoom.zoomedArea.stroke.color,"stroke-width":c.config.chart.zoom.zoomedArea.stroke.width,"stroke-opacity":c.config.chart.zoom.zoomedArea.stroke.opacity}),w.setAttrs(u.node,h)),c.globals.selectionEnabled&&(d.attr({x:t,y:n,width:i>0?i:0,height:o>0?o:0,fill:c.config.chart.selection.fill.color,"fill-opacity":c.config.chart.selection.fill.opacity,stroke:c.config.chart.selection.stroke.color,"stroke-width":c.config.chart.selection.stroke.width,"stroke-dasharray":c.config.chart.selection.stroke.dashArray,"stroke-opacity":c.config.chart.selection.stroke.opacity}),w.setAttrs(d.node,h))}}},{key:"hideSelectionRect",value:function(e){e&&e.attr({x:0,y:0,width:0,height:0})}},{key:"selectionDrawing",value:function(e){var t=e.context,n=e.zoomtype,i=this.w,o=t,r=this.gridRect.getBoundingClientRect(),a=o.startX-1,s=o.startY,l=!1,c=!1,u=o.clientX-r.left-a,d=o.clientY-r.top-s,h={};return Math.abs(u+a)>i.globals.gridWidth?u=i.globals.gridWidth-a:o.clientX-r.left<0&&(u=a),a>o.clientX-r.left&&(l=!0,u=Math.abs(u)),s>o.clientY-r.top&&(c=!0,d=Math.abs(d)),h="x"===n?{x:l?a-u:a,y:0,width:u,height:i.globals.gridHeight}:"y"===n?{x:0,y:c?s-d:s,width:i.globals.gridWidth,height:d}:{x:l?a-u:a,y:c?s-d:s,width:u,height:d},o.drawSelectionRect(h),o.selectionDragging("resizing"),h}},{key:"selectionDragging",value:function(e,t){var n=this,i=this.w,o=this.xyRatios,r=this.selectionRect,a=0;"resizing"===e&&(a=30);var s=function(e){return parseFloat(r.node.getAttribute(e))},l={x:s("x"),y:s("y"),width:s("width"),height:s("height")};i.globals.selection=l,"function"==typeof i.config.chart.events.selection&&i.globals.selectionEnabled&&(clearTimeout(this.w.globals.selectionResizeTimer),this.w.globals.selectionResizeTimer=window.setTimeout((function(){var e=n.gridRect.getBoundingClientRect(),t=r.node.getBoundingClientRect(),a={xaxis:{min:i.globals.xAxisScale.niceMin+(t.left-e.left)*o.xRatio,max:i.globals.xAxisScale.niceMin+(t.right-e.left)*o.xRatio},yaxis:{min:i.globals.yAxisScale[0].niceMin+(e.bottom-t.bottom)*o.yRatio[0],max:i.globals.yAxisScale[0].niceMax-(t.top-e.top)*o.yRatio[0]}};i.config.chart.events.selection(n.ctx,a),i.config.chart.brush.enabled&&void 0!==i.config.chart.events.brushScrolled&&i.config.chart.events.brushScrolled(n.ctx,a)}),a))}},{key:"selectionDrawn",value:function(e){var t=e.context,n=e.zoomtype,i=this.w,o=t,r=this.xyRatios,a=this.ctx.toolbar;if(o.startX>o.endX){var s=o.startX;o.startX=o.endX,o.endX=s}if(o.startY>o.endY){var l=o.startY;o.startY=o.endY,o.endY=l}var c=void 0,u=void 0;i.globals.isRangeBar?(c=i.globals.yAxisScale[0].niceMin+o.startX*r.invertedYRatio,u=i.globals.yAxisScale[0].niceMin+o.endX*r.invertedYRatio):(c=i.globals.xAxisScale.niceMin+o.startX*r.xRatio,u=i.globals.xAxisScale.niceMin+o.endX*r.xRatio);var d=[],h=[];if(i.config.yaxis.forEach((function(e,t){d.push(i.globals.yAxisScale[t].niceMax-r.yRatio[t]*o.startY),h.push(i.globals.yAxisScale[t].niceMax-r.yRatio[t]*o.endY)})),o.dragged&&(o.dragX>10||o.dragY>10)&&c!==u)if(i.globals.zoomEnabled){var f=b.clone(i.globals.initialConfig.yaxis),p=b.clone(i.globals.initialConfig.xaxis);if(i.globals.zoomed=!0,i.config.xaxis.convertedCatToNumeric&&(c=Math.floor(c),u=Math.floor(u),c<1&&(c=1,u=i.globals.dataPoints),u-c<2&&(u=c+1)),"xy"!==n&&"x"!==n||(p={min:c,max:u}),"xy"!==n&&"y"!==n||f.forEach((function(e,t){f[t].min=h[t],f[t].max=d[t]})),i.config.chart.zoom.autoScaleYaxis){var g=new G(o.ctx);f=g.autoScaleY(o.ctx,f,{xaxis:p})}if(a){var v=a.getBeforeZoomRange(p,f);v&&(p=v.xaxis?v.xaxis:p,f=v.yaxis?v.yaxis:f)}var m={xaxis:p};i.config.chart.group||(m.yaxis=f),o.ctx.updateHelpers._updateOptions(m,!1,o.w.config.chart.animations.dynamicAnimation.enabled),"function"==typeof i.config.chart.events.zoomed&&a.zoomCallback(p,f)}else if(i.globals.selectionEnabled){var x,y=null;x={min:c,max:u},"xy"!==n&&"y"!==n||(y=b.clone(i.config.yaxis)).forEach((function(e,t){y[t].min=h[t],y[t].max=d[t]})),i.globals.selection=o.selection,"function"==typeof i.config.chart.events.selection&&i.config.chart.events.selection(o.ctx,{xaxis:x,yaxis:y})}}},{key:"panDragging",value:function(e){var t=e.context,n=this.w,i=t;if(void 0!==n.globals.lastClientPosition.x){var o=n.globals.lastClientPosition.x-i.clientX,r=n.globals.lastClientPosition.y-i.clientY;Math.abs(o)>Math.abs(r)&&o>0?this.moveDirection="left":Math.abs(o)>Math.abs(r)&&o<0?this.moveDirection="right":Math.abs(r)>Math.abs(o)&&r>0?this.moveDirection="up":Math.abs(r)>Math.abs(o)&&r<0&&(this.moveDirection="down")}n.globals.lastClientPosition={x:i.clientX,y:i.clientY};var a=n.globals.isRangeBar?n.globals.minY:n.globals.minX,s=n.globals.isRangeBar?n.globals.maxY:n.globals.maxX;n.config.xaxis.convertedCatToNumeric||i.panScrolled(a,s)}},{key:"delayedPanScrolled",value:function(){var e=this.w,t=e.globals.minX,n=e.globals.maxX,i=(e.globals.maxX-e.globals.minX)/2;"left"===this.moveDirection?(t=e.globals.minX+i,n=e.globals.maxX+i):"right"===this.moveDirection&&(t=e.globals.minX-i,n=e.globals.maxX-i),t=Math.floor(t),n=Math.floor(n),this.updateScrolledChart({xaxis:{min:t,max:n}},t,n)}},{key:"panScrolled",value:function(e,t){var n=this.w,i=this.xyRatios,o=b.clone(n.globals.initialConfig.yaxis),r=i.xRatio,a=n.globals.minX,s=n.globals.maxX;n.globals.isRangeBar&&(r=i.invertedYRatio,a=n.globals.minY,s=n.globals.maxY),"left"===this.moveDirection?(e=a+n.globals.gridWidth/15*r,t=s+n.globals.gridWidth/15*r):"right"===this.moveDirection&&(e=a-n.globals.gridWidth/15*r,t=s-n.globals.gridWidth/15*r),n.globals.isRangeBar||(en.globals.initialMaxX)&&(e=a,t=s);var l={min:e,max:t};n.config.chart.zoom.autoScaleYaxis&&(o=new G(this.ctx).autoScaleY(this.ctx,o,{xaxis:l}));var c={xaxis:{min:e,max:t}};n.config.chart.group||(c.yaxis=o),this.updateScrolledChart(c,e,t)}},{key:"updateScrolledChart",value:function(e,t,n){var i=this.w;this.ctx.updateHelpers._updateOptions(e,!1,!1),"function"==typeof i.config.chart.events.scrolled&&i.config.chart.events.scrolled(this.ctx,{xaxis:{min:t,max:n}})}}]),n}(),ge=function(){function e(t){s(this,e),this.w=t.w,this.ttCtx=t,this.ctx=t.ctx}return c(e,[{key:"getNearestValues",value:function(e){var t=e.hoverArea,n=e.elGrid,i=e.clientX,o=e.clientY,r=this.w,a=n.getBoundingClientRect(),s=a.width,l=a.height,c=s/(r.globals.dataPoints-1),u=l/r.globals.dataPoints,d=this.hasBars();!r.globals.comboCharts&&!d||r.config.xaxis.convertedCatToNumeric||(c=s/r.globals.dataPoints);var h=i-a.left-r.globals.barPadForNumericAxis,f=o-a.top;h<0||f<0||h>s||f>l?(t.classList.remove("hovering-zoom"),t.classList.remove("hovering-pan")):r.globals.zoomEnabled?(t.classList.remove("hovering-pan"),t.classList.add("hovering-zoom")):r.globals.panEnabled&&(t.classList.remove("hovering-zoom"),t.classList.add("hovering-pan"));var p=Math.round(h/c),g=Math.floor(f/u);d&&!r.config.xaxis.convertedCatToNumeric&&(p=Math.ceil(h/c),p-=1);for(var v,m=null,x=null,y=[],w=0;w1?r=this.getFirstActiveXArray(n,i):a=0;var l=i[r][0],c=n[r][0],u=Math.abs(e-c),d=Math.abs(t-l),h=d+u;return i.map((function(o,r){o.map((function(o,l){var c=Math.abs(t-i[r][l]),f=Math.abs(e-n[r][l]),p=f+c;p0&&t[n].length>0?n:-1})),o=0;o0)for(var i=0;i0}},{key:"getElBars",value:function(){return this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-bar-series, .apexcharts-candlestick-series, .apexcharts-boxPlot-series, .apexcharts-rangebar-series")}},{key:"hasBars",value:function(){return this.getElBars().length>0}},{key:"getHoverMarkerSize",value:function(e){var t=this.w,n=t.config.markers.hover.size;return void 0===n&&(n=t.globals.markers.size[e]+t.config.markers.hover.sizeOffset),n}},{key:"toggleAllTooltipSeriesGroups",value:function(e){var t=this.w,n=this.ttCtx;0===n.allTooltipSeriesGroups.length&&(n.allTooltipSeriesGroups=t.globals.dom.baseEl.querySelectorAll(".apexcharts-tooltip-series-group"));for(var i=n.allTooltipSeriesGroups,o=0;o ').concat(n.attrs.name,""),t+="
".concat(n.val,"
")})),b.innerHTML=e+"",x.innerHTML=t+""};a?l.globals.seriesGoals[t][n]&&Array.isArray(l.globals.seriesGoals[t][n])?y():(b.innerHTML="",x.innerHTML=""):y()}else b.innerHTML="",x.innerHTML="";null!==p&&(i[t].querySelector(".apexcharts-tooltip-text-z-label").innerHTML=l.config.tooltip.z.title,i[t].querySelector(".apexcharts-tooltip-text-z-value").innerHTML=void 0!==p?p:""),a&&g[0]&&(null==u||l.globals.collapsedSeriesIndices.indexOf(t)>-1?g[0].parentNode.style.display="none":g[0].parentNode.style.display=l.config.tooltip.items.display)}},{key:"toggleActiveInactiveSeries",value:function(e){var t=this.w;if(e)this.tooltipUtil.toggleAllTooltipSeriesGroups("enable");else{this.tooltipUtil.toggleAllTooltipSeriesGroups("disable");var n=t.globals.dom.baseEl.querySelector(".apexcharts-tooltip-series-group");n&&(n.classList.add("apexcharts-active"),n.style.display=t.config.tooltip.items.display)}}},{key:"getValuesToPrint",value:function(e){var t=e.i,n=e.j,i=this.w,o=this.ctx.series.filteredSeriesX(),r="",a="",s=null,l=null,c={series:i.globals.series,seriesIndex:t,dataPointIndex:n,w:i},u=i.globals.ttZFormatter;null===n?l=i.globals.series[t]:i.globals.isXNumeric&&"treemap"!==i.config.chart.type?(r=o[t][n],0===o[t].length&&(r=o[this.tooltipUtil.getFirstActiveXArray(o)][n])):r=void 0!==i.globals.labels[n]?i.globals.labels[n]:"";var d=r;return r=i.globals.isXNumeric&&"datetime"===i.config.xaxis.type?new V(this.ctx).xLabelFormat(i.globals.ttKeyFormatter,d,d,{i:void 0,dateFormatter:new H(this.ctx).formatDate,w:this.w}):i.globals.isBarHorizontal?i.globals.yLabelFormatters[0](d,c):i.globals.xLabelFormatter(d,c),void 0!==i.config.tooltip.x.formatter&&(r=i.globals.ttKeyFormatter(d,c)),i.globals.seriesZ.length>0&&i.globals.seriesZ[t].length>0&&(s=u(i.globals.seriesZ[t][n],i)),a="function"==typeof i.config.xaxis.tooltip.formatter?i.globals.xaxisTooltipFormatter(d,c):r,{val:Array.isArray(l)?l.join(" "):l,xVal:Array.isArray(r)?r.join(" "):r,xAxisTTVal:Array.isArray(a)?a.join(" "):a,zVal:s}}},{key:"handleCustomTooltip",value:function(e){var t=e.i,n=e.j,i=e.y1,o=e.y2,r=e.w,a=this.ttCtx.getElTooltip(),s=r.config.tooltip.custom;Array.isArray(s)&&s[t]&&(s=s[t]),a.innerHTML=s({ctx:this.ctx,series:r.globals.series,seriesIndex:t,dataPointIndex:n,y1:i,y2:o,w:r})}}]),e}(),me=function(){function e(t){s(this,e),this.ttCtx=t,this.ctx=t.ctx,this.w=t.w}return c(e,[{key:"moveXCrosshairs",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.ttCtx,i=this.w,o=n.getElXCrosshairs(),r=e-n.xcrosshairsWidth/2,a=i.globals.labels.slice().length;if(null!==t&&(r=i.globals.gridWidth/a*t),null===o||i.globals.isBarHorizontal||(o.setAttribute("x",r),o.setAttribute("x1",r),o.setAttribute("x2",r),o.setAttribute("y2",i.globals.gridHeight),o.classList.add("apexcharts-active")),r<0&&(r=0),r>i.globals.gridWidth&&(r=i.globals.gridWidth),n.isXAxisTooltipEnabled){var s=r;"tickWidth"!==i.config.xaxis.crosshairs.width&&"barWidth"!==i.config.xaxis.crosshairs.width||(s=r+n.xcrosshairsWidth/2),this.moveXAxisTooltip(s)}}},{key:"moveYCrosshairs",value:function(e){var t=this.ttCtx;null!==t.ycrosshairs&&w.setAttrs(t.ycrosshairs,{y1:e,y2:e}),null!==t.ycrosshairsHidden&&w.setAttrs(t.ycrosshairsHidden,{y1:e,y2:e})}},{key:"moveXAxisTooltip",value:function(e){var t=this.w,n=this.ttCtx;if(null!==n.xaxisTooltip&&0!==n.xcrosshairsWidth){n.xaxisTooltip.classList.add("apexcharts-active");var i,o=n.xaxisOffY+t.config.xaxis.tooltip.offsetY+t.globals.translateY+1+t.config.xaxis.offsetY;if(e-=n.xaxisTooltip.getBoundingClientRect().width/2,!isNaN(e))e+=t.globals.translateX,i=new w(this.ctx).getTextRects(n.xaxisTooltipText.innerHTML),n.xaxisTooltipText.style.minWidth=i.width+"px",n.xaxisTooltip.style.left=e+"px",n.xaxisTooltip.style.top=o+"px"}}},{key:"moveYAxisTooltip",value:function(e){var t=this.w,n=this.ttCtx;null===n.yaxisTTEls&&(n.yaxisTTEls=t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxistooltip"));var i=parseInt(n.ycrosshairsHidden.getAttribute("y1"),10),o=t.globals.translateY+i,r=n.yaxisTTEls[e].getBoundingClientRect().height,a=t.globals.translateYAxisX[e]-2;t.config.yaxis[e].opposite&&(a-=26),o-=r/2,-1===t.globals.ignoreYAxisIndexes.indexOf(e)?(n.yaxisTTEls[e].classList.add("apexcharts-active"),n.yaxisTTEls[e].style.top=o+"px",n.yaxisTTEls[e].style.left=a+t.config.yaxis[e].tooltip.offsetX+"px"):n.yaxisTTEls[e].classList.remove("apexcharts-active")}},{key:"moveTooltip",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=this.w,o=this.ttCtx,r=o.getElTooltip(),a=o.tooltipRect,s=null!==n?parseFloat(n):1,l=parseFloat(e)+s+5,c=parseFloat(t)+s/2;if(l>i.globals.gridWidth/2&&(l=l-a.ttWidth-s-15),l>i.globals.gridWidth-a.ttWidth-10&&(l=i.globals.gridWidth-a.ttWidth),l<-20&&(l=-20),i.config.tooltip.followCursor){var u=o.getElGrid(),d=u.getBoundingClientRect();c=o.e.clientY+i.globals.translateY-d.top-a.ttHeight/2}else i.globals.isBarHorizontal?c-=a.ttHeight:(a.ttHeight/2+c>i.globals.gridHeight&&(c=i.globals.gridHeight-a.ttHeight+i.globals.translateY),c<0&&(c=0));isNaN(l)||(l+=i.globals.translateX,r.style.left=l+"px",r.style.top=c+"px")}},{key:"moveMarkers",value:function(e,t){var n=this.w,i=this.ttCtx;if(n.globals.markers.size[e]>0)for(var o=n.globals.dom.baseEl.querySelectorAll(" .apexcharts-series[data\\:realIndex='".concat(e,"'] .apexcharts-marker")),r=0;r0&&(c.setAttribute("r",s),c.setAttribute("cx",n),c.setAttribute("cy",i)),this.moveXCrosshairs(n),r.fixedTooltip||this.moveTooltip(n,i,s)}}},{key:"moveDynamicPointsOnHover",value:function(e){var t,n=this.ttCtx,i=n.w,o=0,r=0,a=i.globals.pointsArray;t=new R(this.ctx).getActiveConfigSeriesIndex(!0);var s=n.tooltipUtil.getHoverMarkerSize(t);a[t]&&(o=a[t][e][0],r=a[t][e][1]);var l=n.tooltipUtil.getAllMarkers();if(null!==l)for(var c=0;c0?(l[c]&&l[c].setAttribute("r",s),l[c]&&l[c].setAttribute("cy",d)):l[c]&&l[c].setAttribute("r",0)}}if(this.moveXCrosshairs(o),!n.fixedTooltip){var h=r||i.globals.gridHeight;this.moveTooltip(o,h,s)}}},{key:"moveStickyTooltipOverBars",value:function(e){var t=this.w,n=this.ttCtx,i=t.globals.columnSeries?t.globals.columnSeries.length:t.globals.series.length,o=i>=2&&i%2==0?Math.floor(i/2):Math.floor(i/2)+1;t.globals.isBarHorizontal&&(o=new R(this.ctx).getActiveConfigSeriesIndex(!1,"desc")+1);var r=t.globals.dom.baseEl.querySelector(".apexcharts-bar-series .apexcharts-series[rel='".concat(o,"'] path[j='").concat(e,"'], .apexcharts-candlestick-series .apexcharts-series[rel='").concat(o,"'] path[j='").concat(e,"'], .apexcharts-boxPlot-series .apexcharts-series[rel='").concat(o,"'] path[j='").concat(e,"'], .apexcharts-rangebar-series .apexcharts-series[rel='").concat(o,"'] path[j='").concat(e,"']")),a=r?parseFloat(r.getAttribute("cx")):0,s=r?parseFloat(r.getAttribute("cy")):0,l=r?parseFloat(r.getAttribute("barWidth")):0,c=r?parseFloat(r.getAttribute("barHeight")):0,u=n.getElGrid().getBoundingClientRect(),d=r.classList.contains("apexcharts-candlestick-area")||r.classList.contains("apexcharts-boxPlot-area");if(t.globals.isXNumeric?(r&&!d&&(a-=i%2!=0?l/2:0),r&&d&&t.globals.comboCharts&&(a-=l/2)):t.globals.isBarHorizontal||(a=n.xAxisTicksPositions[e-1]+n.dataPointsDividedWidth/2,isNaN(a)&&(a=n.xAxisTicksPositions[e]-n.dataPointsDividedWidth/2)),t.globals.isBarHorizontal?s+=c/3:s=n.e.clientY-u.top-n.tooltipRect.ttHeight/2,t.globals.isBarHorizontal||this.moveXCrosshairs(a),!n.fixedTooltip){var h=s||t.globals.gridHeight;this.moveTooltip(a,h)}}}]),e}(),be=function(){function e(t){s(this,e),this.w=t.w,this.ttCtx=t,this.ctx=t.ctx,this.tooltipPosition=new me(t)}return c(e,[{key:"drawDynamicPoints",value:function(){var e=this.w,t=new w(this.ctx),n=new F(this.ctx),i=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series");i=v(i),e.config.chart.stacked&&i.sort((function(e,t){return parseFloat(e.getAttribute("data:realIndex"))-parseFloat(t.getAttribute("data:realIndex"))}));for(var o=0;o2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=this.w;"bubble"!==o.config.chart.type&&this.newPointSize(e,t);var r=t.getAttribute("cx"),a=t.getAttribute("cy");if(null!==n&&null!==i&&(r=n,a=i),this.tooltipPosition.moveXCrosshairs(r),!this.fixedTooltip){if("radar"===o.config.chart.type){var s=this.ttCtx.getElGrid(),l=s.getBoundingClientRect();r=this.ttCtx.e.clientX-l.left}this.tooltipPosition.moveTooltip(r,a,o.config.markers.hover.size)}}},{key:"enlargePoints",value:function(e){for(var t=this.w,n=this,i=this.ttCtx,o=e,r=t.globals.dom.baseEl.querySelectorAll(".apexcharts-series:not(.apexcharts-series-collapsed) .apexcharts-marker"),a=t.config.markers.hover.size,s=0;s=0?e[t].setAttribute("r",n):e[t].setAttribute("r",0)}}}]),e}(),xe=function(){function e(t){s(this,e),this.w=t.w,this.ttCtx=t}return c(e,[{key:"getAttr",value:function(e,t){return parseFloat(e.target.getAttribute(t))}},{key:"handleHeatTreeTooltip",value:function(e){var t=e.e,n=e.opt,i=e.x,o=e.y,r=e.type,a=this.ttCtx,s=this.w;if(t.target.classList.contains("apexcharts-".concat(r,"-rect"))){var l=this.getAttr(t,"i"),c=this.getAttr(t,"j"),u=this.getAttr(t,"cx"),d=this.getAttr(t,"cy"),h=this.getAttr(t,"width"),f=this.getAttr(t,"height");if(a.tooltipLabels.drawSeriesTexts({ttItems:n.ttItems,i:l,j:c,shared:!1,e:t}),s.globals.capturedSeriesIndex=l,s.globals.capturedDataPointIndex=c,i=u+a.tooltipRect.ttWidth/2+h,o=d+a.tooltipRect.ttHeight/2-f/2,a.tooltipPosition.moveXCrosshairs(u+h/2),i>s.globals.gridWidth/2&&(i=u-a.tooltipRect.ttWidth/2+h),a.w.config.tooltip.followCursor){var p=s.globals.dom.elWrap.getBoundingClientRect();i=s.globals.clientX-p.left-a.tooltipRect.ttWidth/2,o=s.globals.clientY-p.top-a.tooltipRect.ttHeight-5}}return{x:i,y:o}}},{key:"handleMarkerTooltip",value:function(e){var t,n,i=e.e,o=e.opt,r=e.x,a=e.y,s=this.w,l=this.ttCtx;if(i.target.classList.contains("apexcharts-marker")){var c=parseInt(o.paths.getAttribute("cx"),10),u=parseInt(o.paths.getAttribute("cy"),10),d=parseFloat(o.paths.getAttribute("val"));if(n=parseInt(o.paths.getAttribute("rel"),10),t=parseInt(o.paths.parentNode.parentNode.parentNode.getAttribute("rel"),10)-1,l.intersect){var h=b.findAncestor(o.paths,"apexcharts-series");h&&(t=parseInt(h.getAttribute("data:realIndex"),10))}if(l.tooltipLabels.drawSeriesTexts({ttItems:o.ttItems,i:t,j:n,shared:!l.showOnIntersect&&s.config.tooltip.shared,e:i}),"mouseup"===i.type&&l.markerClick(i,t,n),s.globals.capturedSeriesIndex=t,s.globals.capturedDataPointIndex=n,r=c,a=u+s.globals.translateY-1.4*l.tooltipRect.ttHeight,l.w.config.tooltip.followCursor){var f=l.getElGrid().getBoundingClientRect();a=l.e.clientY+s.globals.translateY-f.top}d<0&&(a=u),l.marker.enlargeCurrentPoint(n,o.paths,r,a)}return{x:r,y:a}}},{key:"handleBarTooltip",value:function(e){var t,n,i=e.e,o=e.opt,r=this.w,a=this.ttCtx,s=a.getElTooltip(),l=0,c=0,u=0,d=this.getBarTooltipXY({e:i,opt:o});t=d.i;var h=d.barHeight,f=d.j;r.globals.capturedSeriesIndex=t,r.globals.capturedDataPointIndex=f,r.globals.isBarHorizontal&&a.tooltipUtil.hasBars()||!r.config.tooltip.shared?(c=d.x,u=d.y,n=Array.isArray(r.config.stroke.width)?r.config.stroke.width[t]:r.config.stroke.width,l=c):r.globals.comboCharts||r.config.tooltip.shared||(l/=2),isNaN(u)?u=r.globals.svgHeight-a.tooltipRect.ttHeight:u<0&&(u=0);var p=parseInt(o.paths.parentNode.getAttribute("data:realIndex"),10),g=r.globals.isMultipleYAxis?r.config.yaxis[p]&&r.config.yaxis[p].reversed:r.config.yaxis[0].reversed;if(c+a.tooltipRect.ttWidth>r.globals.gridWidth&&!g?c-=a.tooltipRect.ttWidth:c<0&&(c=0),a.w.config.tooltip.followCursor){var v=a.getElGrid().getBoundingClientRect();u=a.e.clientY-v.top}null===a.tooltip&&(a.tooltip=r.globals.dom.baseEl.querySelector(".apexcharts-tooltip")),r.config.tooltip.shared||(r.globals.comboBarCount>0?a.tooltipPosition.moveXCrosshairs(l+n/2):a.tooltipPosition.moveXCrosshairs(l)),!a.fixedTooltip&&(!r.config.tooltip.shared||r.globals.isBarHorizontal&&a.tooltipUtil.hasBars())&&(g&&(c-=a.tooltipRect.ttWidth)<0&&(c=0),!g||r.globals.isBarHorizontal&&a.tooltipUtil.hasBars()||(u=u+h-2*(r.globals.series[t][f]<0?h:0)),a.tooltipRect.ttHeight+u>r.globals.gridHeight?u=r.globals.gridHeight-a.tooltipRect.ttHeight+r.globals.translateY:(u=u+r.globals.translateY-a.tooltipRect.ttHeight/2)<0&&(u=0),s.style.left=c+r.globals.translateX+"px",s.style.top=u+"px")}},{key:"getBarTooltipXY",value:function(e){var t=e.e,n=e.opt,i=this.w,o=null,r=this.ttCtx,a=0,s=0,l=0,c=0,u=0,d=t.target.classList;if(d.contains("apexcharts-bar-area")||d.contains("apexcharts-candlestick-area")||d.contains("apexcharts-boxPlot-area")||d.contains("apexcharts-rangebar-area")){var h=t.target,f=h.getBoundingClientRect(),p=n.elGrid.getBoundingClientRect(),g=f.height;u=f.height;var v=f.width,m=parseInt(h.getAttribute("cx"),10),b=parseInt(h.getAttribute("cy"),10);c=parseFloat(h.getAttribute("barWidth"));var x="touchmove"===t.type?t.touches[0].clientX:t.clientX;o=parseInt(h.getAttribute("j"),10),a=parseInt(h.parentNode.getAttribute("rel"),10)-1;var y=h.getAttribute("data-range-y1"),w=h.getAttribute("data-range-y2");i.globals.comboCharts&&(a=parseInt(h.parentNode.getAttribute("data:realIndex"),10)),r.tooltipLabels.drawSeriesTexts({ttItems:n.ttItems,i:a,j:o,y1:y?parseInt(y,10):null,y2:w?parseInt(w,10):null,shared:!r.showOnIntersect&&i.config.tooltip.shared,e:t}),i.config.tooltip.followCursor?i.globals.isBarHorizontal?(s=x-p.left+15,l=b-r.dataPointsDividedHeight+g/2-r.tooltipRect.ttHeight/2):(s=i.globals.isXNumeric?m-v/2:m-r.dataPointsDividedWidth+v/2,l=t.clientY-p.top-r.tooltipRect.ttHeight/2-15):i.globals.isBarHorizontal?((s=m)0&&n.setAttribute("width",t.xcrosshairsWidth)}},{key:"handleYCrosshair",value:function(){var e=this.w,t=this.ttCtx;t.ycrosshairs=e.globals.dom.baseEl.querySelector(".apexcharts-ycrosshairs"),t.ycrosshairsHidden=e.globals.dom.baseEl.querySelector(".apexcharts-ycrosshairs-hidden")}},{key:"drawYaxisTooltipText",value:function(e,t,n){var i=this.ttCtx,o=this.w,r=o.globals.yLabelFormatters[e];if(i.yaxisTooltips[e]){var a=i.getElGrid().getBoundingClientRect(),s=(t-a.top)*n.yRatio[e],l=o.globals.maxYArr[e]-o.globals.minYArr[e],c=o.globals.minYArr[e]+(l-s);i.tooltipPosition.moveYCrosshairs(t-a.top),i.yaxisTooltipText[e].innerHTML=r(c),i.tooltipPosition.moveYAxisTooltip(e)}}}]),e}(),we=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w;var n=this.w;this.tConfig=n.config.tooltip,this.tooltipUtil=new ge(this),this.tooltipLabels=new ve(this),this.tooltipPosition=new me(this),this.marker=new be(this),this.intersect=new xe(this),this.axesTooltip=new ye(this),this.showOnIntersect=this.tConfig.intersect,this.showTooltipTitle=this.tConfig.x.show,this.fixedTooltip=this.tConfig.fixed.enabled,this.xaxisTooltip=null,this.yaxisTTEls=null,this.isBarShared=!n.globals.isBarHorizontal&&this.tConfig.shared,this.lastHoverTime=Date.now()}return c(e,[{key:"getElTooltip",value:function(e){return e||(e=this),e.w.globals.dom.baseEl.querySelector(".apexcharts-tooltip")}},{key:"getElXCrosshairs",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-xcrosshairs")}},{key:"getElGrid",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-grid")}},{key:"drawTooltip",value:function(e){var t=this.w;this.xyRatios=e,this.isXAxisTooltipEnabled=t.config.xaxis.tooltip.enabled&&t.globals.axisCharts,this.yaxisTooltips=t.config.yaxis.map((function(e,n){return!!(e.show&&e.tooltip.enabled&&t.globals.axisCharts)})),this.allTooltipSeriesGroups=[],t.globals.axisCharts||(this.showTooltipTitle=!1);var n=document.createElement("div");if(n.classList.add("apexcharts-tooltip"),n.classList.add("apexcharts-theme-".concat(this.tConfig.theme)),t.globals.dom.elWrap.appendChild(n),t.globals.axisCharts){this.axesTooltip.drawXaxisTooltip(),this.axesTooltip.drawYaxisTooltip(),this.axesTooltip.setXCrosshairWidth(),this.axesTooltip.handleYCrosshair();var i=new U(this.ctx);this.xAxisTicksPositions=i.getXAxisTicksPositions()}if(!t.globals.comboCharts&&!this.tConfig.intersect&&"rangeBar"!==t.config.chart.type||this.tConfig.shared||(this.showOnIntersect=!0),0!==t.config.markers.size&&0!==t.globals.markers.largestSize||this.marker.drawDynamicPoints(this),t.globals.collapsedSeries.length!==t.globals.series.length){this.dataPointsDividedHeight=t.globals.gridHeight/t.globals.dataPoints,this.dataPointsDividedWidth=t.globals.gridWidth/t.globals.dataPoints,this.showTooltipTitle&&(this.tooltipTitle=document.createElement("div"),this.tooltipTitle.classList.add("apexcharts-tooltip-title"),this.tooltipTitle.style.fontFamily=this.tConfig.style.fontFamily||t.config.chart.fontFamily,this.tooltipTitle.style.fontSize=this.tConfig.style.fontSize,n.appendChild(this.tooltipTitle));var o=t.globals.series.length;(t.globals.xyCharts||t.globals.comboCharts)&&this.tConfig.shared&&(o=this.showOnIntersect?1:t.globals.series.length),this.legendLabels=t.globals.dom.baseEl.querySelectorAll(".apexcharts-legend-text"),this.ttItems=this.createTTElements(o),this.addSVGEvents()}}},{key:"createTTElements",value:function(e){for(var t=this,n=this.w,i=[],o=this.getElTooltip(),r=function(r){var a=document.createElement("div");a.classList.add("apexcharts-tooltip-series-group"),a.style.order=n.config.tooltip.inverseOrder?e-r:r+1,t.tConfig.shared&&t.tConfig.enabledOnSeries&&Array.isArray(t.tConfig.enabledOnSeries)&&t.tConfig.enabledOnSeries.indexOf(r)<0&&a.classList.add("apexcharts-tooltip-series-group-hidden");var s=document.createElement("span");s.classList.add("apexcharts-tooltip-marker"),s.style.backgroundColor=n.globals.colors[r],a.appendChild(s);var l=document.createElement("div");l.classList.add("apexcharts-tooltip-text"),l.style.fontFamily=t.tConfig.style.fontFamily||n.config.chart.fontFamily,l.style.fontSize=t.tConfig.style.fontSize,["y","goals","z"].forEach((function(e){var t=document.createElement("div");t.classList.add("apexcharts-tooltip-".concat(e,"-group"));var n=document.createElement("span");n.classList.add("apexcharts-tooltip-text-".concat(e,"-label")),t.appendChild(n);var i=document.createElement("span");i.classList.add("apexcharts-tooltip-text-".concat(e,"-value")),t.appendChild(i),l.appendChild(t)})),a.appendChild(l),o.appendChild(a),i.push(a)},a=0;a0&&this.addPathsEventListeners(f,u),this.tooltipUtil.hasBars()&&!this.tConfig.shared&&this.addDatapointEventsListeners(u)}}},{key:"drawFixedTooltipRect",value:function(){var e=this.w,t=this.getElTooltip(),n=t.getBoundingClientRect(),i=n.width+10,o=n.height+10,r=this.tConfig.fixed.offsetX,a=this.tConfig.fixed.offsetY,s=this.tConfig.fixed.position.toLowerCase();return s.indexOf("right")>-1&&(r=r+e.globals.svgWidth-i+10),s.indexOf("bottom")>-1&&(a=a+e.globals.svgHeight-o-10),t.style.left=r+"px",t.style.top=a+"px",{x:r,y:a,ttWidth:i,ttHeight:o}}},{key:"addDatapointEventsListeners",value:function(e){var t=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series-markers .apexcharts-marker, .apexcharts-bar-area, .apexcharts-candlestick-area, .apexcharts-boxPlot-area, .apexcharts-rangebar-area");this.addPathsEventListeners(t,e)}},{key:"addPathsEventListeners",value:function(e,t){for(var n=this,i=function(i){var o={paths:e[i],tooltipEl:t.tooltipEl,tooltipY:t.tooltipY,tooltipX:t.tooltipX,elGrid:t.elGrid,hoverArea:t.hoverArea,ttItems:t.ttItems};["mousemove","mouseup","touchmove","mouseout","touchend"].map((function(t){return e[i].addEventListener(t,n.onSeriesHover.bind(n,o),{capture:!1,passive:!0})}))},o=0;o=100?this.seriesHover(e,t):(clearTimeout(this.seriesHoverTimeout),this.seriesHoverTimeout=setTimeout((function(){n.seriesHover(e,t)}),100-i))}},{key:"seriesHover",value:function(e,t){var n=this;this.lastHoverTime=Date.now();var i=[],o=this.w;o.config.chart.group&&(i=this.ctx.getGroupedCharts()),o.globals.axisCharts&&(o.globals.minX===-1/0&&o.globals.maxX===1/0||0===o.globals.dataPoints)||(i.length?i.forEach((function(i){var o=n.getElTooltip(i),r={paths:e.paths,tooltipEl:o,tooltipY:e.tooltipY,tooltipX:e.tooltipX,elGrid:e.elGrid,hoverArea:e.hoverArea,ttItems:i.w.globals.tooltip.ttItems};i.w.globals.minX===n.w.globals.minX&&i.w.globals.maxX===n.w.globals.maxX&&i.w.globals.tooltip.seriesHoverByContext({chartCtx:i,ttCtx:i.w.globals.tooltip,opt:r,e:t})})):this.seriesHoverByContext({chartCtx:this.ctx,ttCtx:this.w.globals.tooltip,opt:e,e:t}))}},{key:"seriesHoverByContext",value:function(e){var t=e.chartCtx,n=e.ttCtx,i=e.opt,o=e.e,r=t.w,a=this.getElTooltip();n.tooltipRect={x:0,y:0,ttWidth:a.getBoundingClientRect().width,ttHeight:a.getBoundingClientRect().height},n.e=o,!n.tooltipUtil.hasBars()||r.globals.comboCharts||n.isBarShared||this.tConfig.onDatasetHover.highlightDataSeries&&new R(t).toggleSeriesOnHover(o,o.target.parentNode),n.fixedTooltip&&n.drawFixedTooltipRect(),r.globals.axisCharts?n.axisChartsTooltips({e:o,opt:i,tooltipRect:n.tooltipRect}):n.nonAxisChartsTooltips({e:o,opt:i,tooltipRect:n.tooltipRect})}},{key:"axisChartsTooltips",value:function(e){var t,n,i=e.e,o=e.opt,r=this.w,a=o.elGrid.getBoundingClientRect(),s="touchmove"===i.type?i.touches[0].clientX:i.clientX,l="touchmove"===i.type?i.touches[0].clientY:i.clientY;if(this.clientY=l,this.clientX=s,r.globals.capturedSeriesIndex=-1,r.globals.capturedDataPointIndex=-1,la.top+a.height)this.handleMouseOut(o);else{if(Array.isArray(this.tConfig.enabledOnSeries)&&!r.config.tooltip.shared){var c=parseInt(o.paths.getAttribute("index"),10);if(this.tConfig.enabledOnSeries.indexOf(c)<0)return void this.handleMouseOut(o)}var u=this.getElTooltip(),d=this.getElXCrosshairs(),h=r.globals.xyCharts||"bar"===r.config.chart.type&&!r.globals.isBarHorizontal&&this.tooltipUtil.hasBars()&&this.tConfig.shared||r.globals.comboCharts&&this.tooltipUtil.hasBars();if("mousemove"===i.type||"touchmove"===i.type||"mouseup"===i.type){null!==d&&d.classList.add("apexcharts-active");var f=this.yaxisTooltips.filter((function(e){return!0===e}));if(null!==this.ycrosshairs&&f.length&&this.ycrosshairs.classList.add("apexcharts-active"),h&&!this.showOnIntersect)this.handleStickyTooltip(i,s,l,o);else if("heatmap"===r.config.chart.type||"treemap"===r.config.chart.type){var p=this.intersect.handleHeatTreeTooltip({e:i,opt:o,x:t,y:n,type:r.config.chart.type});t=p.x,n=p.y,u.style.left=t+"px",u.style.top=n+"px"}else this.tooltipUtil.hasBars()&&this.intersect.handleBarTooltip({e:i,opt:o}),this.tooltipUtil.hasMarkers()&&this.intersect.handleMarkerTooltip({e:i,opt:o,x:t,y:n});if(this.yaxisTooltips.length)for(var g=0;gl.width?this.handleMouseOut(i):null!==s?this.handleStickyCapturedSeries(e,s,i,a):(this.tooltipUtil.isXoverlap(a)||o.globals.isBarHorizontal)&&this.create(e,this,0,a,i.ttItems)}},{key:"handleStickyCapturedSeries",value:function(e,t,n,i){var o=this.w;this.tConfig.shared||null!==o.globals.series[t][i]?void 0!==o.globals.series[t][i]?this.tConfig.shared&&this.tooltipUtil.isXoverlap(i)&&this.tooltipUtil.isInitialSeriesSameLen()?this.create(e,this,t,i,n.ttItems):this.create(e,this,t,i,n.ttItems,!1):this.tooltipUtil.isXoverlap(i)&&this.create(e,this,0,i,n.ttItems):this.handleMouseOut(n)}},{key:"deactivateHoverFilter",value:function(){for(var e=this.w,t=new w(this.ctx),n=e.globals.dom.Paper.select(".apexcharts-bar-area"),i=0;i5&&void 0!==arguments[5]?arguments[5]:null,a=this.w,s=t;"mouseup"===e.type&&this.markerClick(e,n,i),null===r&&(r=this.tConfig.shared);var l=this.tooltipUtil.hasMarkers(),c=this.tooltipUtil.getElBars();if(a.config.legend.tooltipHoverFormatter){var u=a.config.legend.tooltipHoverFormatter,d=Array.from(this.legendLabels);d.forEach((function(e){var t=e.getAttribute("data:default-text");e.innerHTML=decodeURIComponent(t)}));for(var h=0;h0?s.marker.enlargePoints(i):s.tooltipPosition.moveDynamicPointsOnHover(i)),this.tooltipUtil.hasBars()&&(this.barSeriesHeight=this.tooltipUtil.getBarsHeight(c),this.barSeriesHeight>0)){var m=new w(this.ctx),b=a.globals.dom.Paper.select(".apexcharts-bar-area[j='".concat(i,"']"));this.deactivateHoverFilter(),this.tooltipPosition.moveStickyTooltipOverBars(i);for(var x=0;x0&&(this.totalItems+=e[a].length);for(var s=this.graphics.group({class:"apexcharts-bar-series apexcharts-plot-series"}),l=0,c=0,u=function(o,a){var u=void 0,d=void 0,h=void 0,f=void 0,p=[],g=[],v=i.globals.comboCharts?t[o]:o;n.yRatio.length>1&&(n.yaxisIndex=v),n.isReversed=i.config.yaxis[n.yaxisIndex]&&i.config.yaxis[n.yaxisIndex].reversed;var m=n.graphics.group({class:"apexcharts-series",seriesName:b.escapeString(i.globals.seriesNames[v]),rel:o+1,"data:realIndex":v});n.ctx.series.addCollapsedClassToSeries(m,v);var x=n.graphics.group({class:"apexcharts-datalabels","data:realIndex":v}),y=0,w=0,k=n.initialPositions(l,c,u,d,h,f);c=k.y,y=k.barHeight,d=k.yDivision,f=k.zeroW,l=k.x,w=k.barWidth,u=k.xDivision,h=k.zeroH,n.yArrj=[],n.yArrjF=[],n.yArrjVal=[],n.xArrj=[],n.xArrjF=[],n.xArrjVal=[],1===n.prevY.length&&n.prevY[0].every((function(e){return isNaN(e)}))&&(n.prevY[0]=n.prevY[0].map((function(e){return h})),n.prevYF[0]=n.prevYF[0].map((function(e){return 0})));for(var S=0;S1?(n=l.globals.minXDiff/this.xRatio)*parseInt(this.barOptions.columnWidth,10)/100:s*parseInt(l.config.plotOptions.bar.columnWidth,10)/100,o=this.baseLineY[this.yaxisIndex]+(this.isReversed?l.globals.gridHeight:0)-(this.isReversed?2*this.baseLineY[this.yaxisIndex]:0),e=l.globals.padHorizontal+(n-s)/2),{x:e,y:t,yDivision:i,xDivision:n,barHeight:a,barWidth:s,zeroH:o,zeroW:r}}},{key:"drawStackedBarPaths",value:function(e){for(var t,n=e.indexes,i=e.barHeight,o=e.strokeWidth,r=e.zeroW,a=e.x,s=e.y,l=e.yDivision,c=e.elSeries,u=this.w,d=s,h=n.i,f=n.j,p=0,g=0;g0){var v=r;this.prevXVal[h-1][f]<0?v=this.series[h][f]>=0?this.prevX[h-1][f]+p-2*(this.isReversed?p:0):this.prevX[h-1][f]:this.prevXVal[h-1][f]>=0&&(v=this.series[h][f]>=0?this.prevX[h-1][f]:this.prevX[h-1][f]-p+2*(this.isReversed?p:0)),t=v}else t=r;a=null===this.series[h][f]?t:t+this.series[h][f]/this.invertedYRatio-2*(this.isReversed?this.series[h][f]/this.invertedYRatio:0);var m=this.barHelpers.getBarpaths({barYPosition:d,barHeight:i,x1:t,x2:a,strokeWidth:o,series:this.series,realIndex:n.realIndex,i:h,j:f,w:u});return this.barHelpers.barBackground({j:f,i:h,y1:d,y2:i,elSeries:c}),s+=l,{pathTo:m.pathTo,pathFrom:m.pathFrom,x:a,y:s}}},{key:"drawStackedColumnPaths",value:function(e){var t=e.indexes,n=e.x,i=e.y,o=e.xDivision,r=e.barWidth,a=e.zeroH;e.strokeWidth;var s=e.elSeries,l=this.w,c=t.i,u=t.j,d=t.bc;if(l.globals.isXNumeric){var h=l.globals.seriesX[c][u];h||(h=0),n=(h-l.globals.minX)/this.xRatio-r/2}for(var f,p=n,g=0,v=0;v0&&!l.globals.isXNumeric||c>0&&l.globals.isXNumeric&&l.globals.seriesX[c-1][u]===l.globals.seriesX[c][u]){var m,b,x=Math.min(this.yRatio.length+1,c+1);if(void 0!==this.prevY[c-1])for(var y=1;y=0?b-g+2*(this.isReversed?g:0):b;break}if(this.prevYVal[c-w][u]>=0){m=this.series[c][u]>=0?b:b+g-2*(this.isReversed?g:0);break}}void 0===m&&(m=l.globals.gridHeight),f=this.prevYF[0].every((function(e){return 0===e}))&&this.prevYF.slice(1,c).every((function(e){return e.every((function(e){return isNaN(e)}))}))?l.globals.gridHeight-a:m}else f=l.globals.gridHeight-a;i=f-this.series[c][u]/this.yRatio[this.yaxisIndex]+2*(this.isReversed?this.series[c][u]/this.yRatio[this.yaxisIndex]:0);var k=this.barHelpers.getColumnPaths({barXPosition:p,barWidth:r,y1:f,y2:i,yRatio:this.yRatio[this.yaxisIndex],strokeWidth:this.strokeWidth,series:this.series,realIndex:t.realIndex,i:c,j:u,w:l});return this.barHelpers.barBackground({bc:d,j:u,i:c,x1:p,x2:r,elSeries:s}),n+=o,{pathTo:k.pathTo,pathFrom:k.pathFrom,x:l.globals.isXNumeric?n-o:n,y:i}}}]),n}(),Se=function(e){d(n,z);var t=g(n);function n(){return s(this,n),t.apply(this,arguments)}return c(n,[{key:"draw",value:function(e,t){var n=this,i=this.w,o=new w(this.ctx),a=new T(this.ctx);this.candlestickOptions=this.w.config.plotOptions.candlestick,this.boxOptions=this.w.config.plotOptions.boxPlot,this.isHorizontal=i.config.plotOptions.bar.horizontal;var s=new C(this.ctx,i);e=s.getLogSeries(e),this.series=e,this.yRatio=s.getLogYRatios(this.yRatio),this.barHelpers.initVariables(e);for(var l=o.group({class:"apexcharts-".concat(i.config.chart.type,"-series apexcharts-plot-series")}),c=function(s){n.isBoxPlot="boxPlot"===i.config.chart.type||"boxPlot"===i.config.series[s].type;var c,u,d,h,f,p,g=void 0,v=void 0,m=[],x=[],y=i.globals.comboCharts?t[s]:s,w=o.group({class:"apexcharts-series",seriesName:b.escapeString(i.globals.seriesNames[y]),rel:s+1,"data:realIndex":y});n.ctx.series.addCollapsedClassToSeries(w,y),e[s].length>0&&(n.visibleI=n.visibleI+1),n.yRatio.length>1&&(n.yaxisIndex=y);var k=n.barHelpers.initialPositions();v=k.y,f=k.barHeight,u=k.yDivision,h=k.zeroW,g=k.x,p=k.barWidth,c=k.xDivision,d=k.zeroH,x.push(g+p/2);for(var S=o.group({class:"apexcharts-datalabels","data:realIndex":y}),C=function(t){var o=n.barHelpers.getStrokeWidth(s,t,y),l=null,b={indexes:{i:s,j:t,realIndex:y},x:g,y:v,strokeWidth:o,elSeries:w};l=n.isHorizontal?n.drawHorizontalBoxPaths(r(r({},b),{},{yDivision:u,barHeight:f,zeroW:h})):n.drawVerticalBoxPaths(r(r({},b),{},{xDivision:c,barWidth:p,zeroH:d})),v=l.y,g=l.x,t>0&&x.push(g+p/2),m.push(v),l.pathTo.forEach((function(r,c){var u=!n.isBoxPlot&&n.candlestickOptions.wick.useFillColor?l.color[c]:i.globals.stroke.colors[s],d=a.fillPath({seriesNumber:y,dataPointIndex:t,color:l.color[c],value:e[s][t]});n.renderSeries({realIndex:y,pathFill:d,lineFill:u,j:t,i:s,pathFrom:l.pathFrom,pathTo:r,strokeWidth:o,elSeries:w,x:g,y:v,series:e,barHeight:f,barWidth:p,elDataLabelsWrap:S,visibleSeries:n.visibleI,type:i.config.chart.type})}))},_=0;_m.c&&(d=!1);var y=Math.min(m.o,m.c),k=Math.max(m.o,m.c),S=m.m;s.globals.isXNumeric&&(n=(s.globals.seriesX[v][u]-s.globals.minX)/this.xRatio-o/2);var C=n+o*this.visibleI;void 0===this.series[c][u]||null===this.series[c][u]?(y=r,k=r):(y=r-y/g,k=r-k/g,b=r-m.h/g,x=r-m.l/g,S=r-m.m/g);var _=l.move(C,r),A=l.move(C+o/2,y);return s.globals.previousPaths.length>0&&(A=this.getPreviousPath(v,u,!0)),_=this.isBoxPlot?[l.move(C,y)+l.line(C+o/2,y)+l.line(C+o/2,b)+l.line(C+o/4,b)+l.line(C+o-o/4,b)+l.line(C+o/2,b)+l.line(C+o/2,y)+l.line(C+o,y)+l.line(C+o,S)+l.line(C,S)+l.line(C,y+a/2),l.move(C,S)+l.line(C+o,S)+l.line(C+o,k)+l.line(C+o/2,k)+l.line(C+o/2,x)+l.line(C+o-o/4,x)+l.line(C+o/4,x)+l.line(C+o/2,x)+l.line(C+o/2,k)+l.line(C,k)+l.line(C,S)+"z"]:[l.move(C,k)+l.line(C+o/2,k)+l.line(C+o/2,b)+l.line(C+o/2,k)+l.line(C+o,k)+l.line(C+o,y)+l.line(C+o/2,y)+l.line(C+o/2,x)+l.line(C+o/2,y)+l.line(C,y)+l.line(C,k-a/2)],A+=l.move(C,y),s.globals.isXNumeric||(n+=i),{pathTo:_,pathFrom:A,x:n,y:k,barXPosition:C,color:this.isBoxPlot?p:d?[h]:[f]}}},{key:"drawHorizontalBoxPaths",value:function(e){var t=e.indexes;e.x;var n=e.y,i=e.yDivision,o=e.barHeight,r=e.zeroW,a=e.strokeWidth,s=this.w,l=new w(this.ctx),c=t.i,u=t.j,d=this.boxOptions.colors.lower;this.isBoxPlot&&(d=[this.boxOptions.colors.lower,this.boxOptions.colors.upper]);var h=this.invertedYRatio,f=t.realIndex,p=this.getOHLCValue(f,u),g=r,v=r,m=Math.min(p.o,p.c),b=Math.max(p.o,p.c),x=p.m;s.globals.isXNumeric&&(n=(s.globals.seriesX[f][u]-s.globals.minX)/this.invertedXRatio-o/2);var y=n+o*this.visibleI;void 0===this.series[c][u]||null===this.series[c][u]?(m=r,b=r):(m=r+m/h,b=r+b/h,g=r+p.h/h,v=r+p.l/h,x=r+p.m/h);var k=l.move(r,y),S=l.move(m,y+o/2);return s.globals.previousPaths.length>0&&(S=this.getPreviousPath(f,u,!0)),k=[l.move(m,y)+l.line(m,y+o/2)+l.line(g,y+o/2)+l.line(g,y+o/2-o/4)+l.line(g,y+o/2+o/4)+l.line(g,y+o/2)+l.line(m,y+o/2)+l.line(m,y+o)+l.line(x,y+o)+l.line(x,y)+l.line(m+a/2,y),l.move(x,y)+l.line(x,y+o)+l.line(b,y+o)+l.line(b,y+o/2)+l.line(v,y+o/2)+l.line(v,y+o-o/4)+l.line(v,y+o/4)+l.line(v,y+o/2)+l.line(b,y+o/2)+l.line(b,y)+l.line(x,y)+"z"],S+=l.move(m,y),s.globals.isXNumeric||(n+=i),{pathTo:k,pathFrom:S,x:b,y:n,barYPosition:y,color:d}}},{key:"getOHLCValue",value:function(e,t){var n=this.w;return{o:this.isBoxPlot?n.globals.seriesCandleH[e][t]:n.globals.seriesCandleO[e][t],h:this.isBoxPlot?n.globals.seriesCandleO[e][t]:n.globals.seriesCandleH[e][t],m:n.globals.seriesCandleM[e][t],l:this.isBoxPlot?n.globals.seriesCandleC[e][t]:n.globals.seriesCandleL[e][t],c:this.isBoxPlot?n.globals.seriesCandleL[e][t]:n.globals.seriesCandleC[e][t]}}}]),n}(),Ce=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"checkColorRange",value:function(){var e=this.w,t=!1,n=e.config.plotOptions[e.config.chart.type];return n.colorScale.ranges.length>0&&n.colorScale.ranges.map((function(e,n){e.from<=0&&(t=!0)})),t}},{key:"getShadeColor",value:function(e,t,n,i){var o=this.w,r=1,a=o.config.plotOptions[e].shadeIntensity,s=this.determineColor(e,t,n);o.globals.hasNegs||i?r=o.config.plotOptions[e].reverseNegativeShade?s.percent<0?s.percent/100*(1.25*a):(1-s.percent/100)*(1.25*a):s.percent<=0?1-(1+s.percent/100)*a:(1-s.percent/100)*a:(r=1-s.percent/100,"treemap"===e&&(r=(1-s.percent/100)*(1.25*a)));var l=s.color,c=new b;return o.config.plotOptions[e].enableShades&&(l="dark"===this.w.config.theme.mode?b.hexToRgba(c.shadeColor(-1*r,s.color),o.config.fill.opacity):b.hexToRgba(c.shadeColor(r,s.color),o.config.fill.opacity)),{color:l,colorProps:s}}},{key:"determineColor",value:function(e,t,n){var i=this.w,o=i.globals.series[t][n],r=i.config.plotOptions[e],a=r.colorScale.inverse?n:t;r.distributed&&"treemap"===i.config.chart.type&&(a=n);var s=i.globals.colors[a],l=null,c=Math.min.apply(Math,v(i.globals.series[t])),u=Math.max.apply(Math,v(i.globals.series[t]));r.distributed||"heatmap"!==e||(c=i.globals.minY,u=i.globals.maxY),void 0!==r.colorScale.min&&(c=r.colorScale.mini.globals.maxY?r.colorScale.max:i.globals.maxY);var d=Math.abs(u)+Math.abs(c),h=100*o/(0===d?d-1e-6:d);return r.colorScale.ranges.length>0&&r.colorScale.ranges.map((function(e,t){if(o>=e.from&&o<=e.to){s=e.color,l=e.foreColor?e.foreColor:null,c=e.from,u=e.to;var n=Math.abs(u)+Math.abs(c);h=100*o/(0===n?n-1e-6:n)}})),{color:s,foreColor:l,percent:h}}},{key:"calculateDataLabels",value:function(e){var t=e.text,n=e.x,i=e.y,o=e.i,r=e.j,a=e.colorProps,s=e.fontSize,l=this.w.config.dataLabels,c=new w(this.ctx),u=new O(this.ctx),d=null;if(l.enabled){d=c.group({class:"apexcharts-data-labels"});var h=l.offsetX,f=l.offsetY,p=n+h,g=i+parseFloat(l.style.fontSize)/3+f;u.plotDataLabelsText({x:p,y:g,text:t,i:o,j:r,color:a.foreColor,parent:d,fontSize:s,dataLabelsConfig:l})}return d}},{key:"addListeners",value:function(e){var t=new w(this.ctx);e.node.addEventListener("mouseenter",t.pathMouseEnter.bind(this,e)),e.node.addEventListener("mouseleave",t.pathMouseLeave.bind(this,e)),e.node.addEventListener("mousedown",t.pathMouseDown.bind(this,e))}}]),e}(),_e=function(){function e(t,n){s(this,e),this.ctx=t,this.w=t.w,this.xRatio=n.xRatio,this.yRatio=n.yRatio,this.dynamicAnim=this.w.config.chart.animations.dynamicAnimation,this.helpers=new Ce(t),this.rectRadius=this.w.config.plotOptions.heatmap.radius,this.strokeWidth=this.w.config.stroke.show?this.w.config.stroke.width:0}return c(e,[{key:"draw",value:function(e){var t=this.w,n=new w(this.ctx),i=n.group({class:"apexcharts-heatmap"});i.attr("clip-path","url(#gridRectMask".concat(t.globals.cuid,")"));var o=t.globals.gridWidth/t.globals.dataPoints,r=t.globals.gridHeight/t.globals.series.length,a=0,s=!1;this.negRange=this.helpers.checkColorRange();var l=e.slice();t.config.yaxis[0].reversed&&(s=!0,l.reverse());for(var c=s?0:l.length-1;s?c=0;s?c++:c--){var u=n.group({class:"apexcharts-series apexcharts-heatmap-series",seriesName:b.escapeString(t.globals.seriesNames[c]),rel:c+1,"data:realIndex":c});if(this.ctx.series.addCollapsedClassToSeries(u,c),t.config.chart.dropShadow.enabled){var d=t.config.chart.dropShadow;new y(this.ctx).dropShadow(u,d,c)}for(var h=0,f=t.config.plotOptions.heatmap.shadeIntensity,p=0;p-1&&this.pieClicked(d),n.config.dataLabels.enabled){var S=x.x,C=x.y,_=100*f/this.fullAngle+"%";if(0!==f&&n.config.plotOptions.pie.dataLabels.minAngleToShowLabelthis.fullAngle?t.endAngle=t.endAngle-(i+a):i+a=this.fullAngle+this.w.config.plotOptions.pie.startAngle%this.fullAngle&&(s=this.fullAngle+this.w.config.plotOptions.pie.startAngle%this.fullAngle-.01),Math.ceil(s)>this.fullAngle&&(s-=this.fullAngle);var l=Math.PI*(s-90)/180,c=t.centerX+o*Math.cos(a),u=t.centerY+o*Math.sin(a),d=t.centerX+o*Math.cos(l),h=t.centerY+o*Math.sin(l),f=b.polarToCartesian(t.centerX,t.centerY,t.donutSize,s),p=b.polarToCartesian(t.centerX,t.centerY,t.donutSize,r),g=i>180?1:0,v=["M",c,u,"A",o,o,0,g,1,d,h];return"donut"===t.chartType?[].concat(v,["L",f.x,f.y,"A",t.donutSize,t.donutSize,0,g,0,p.x,p.y,"L",c,u,"z"]).join(" "):"pie"===t.chartType||"polarArea"===t.chartType?[].concat(v,["L",t.centerX,t.centerY,"L",c,u]).join(" "):[].concat(v).join(" ")}},{key:"drawPolarElements",value:function(e){var t=this.w,n=new G(this.ctx),i=new w(this.ctx),o=new Ae(this.ctx),r=i.group(),a=i.group(),s=n.niceScale(0,Math.ceil(this.maxY),t.config.yaxis[0].tickAmount,0,!0),l=s.result.reverse(),c=s.result.length;this.maxY=s.niceMax;for(var u=t.globals.radialSize,d=u/(c-1),h=0;h1&&e.total.show&&(o=e.total.color);var a=r.globals.dom.baseEl.querySelector(".apexcharts-datalabel-label"),s=r.globals.dom.baseEl.querySelector(".apexcharts-datalabel-value");n=(0,e.value.formatter)(n,r),i||"function"!=typeof e.total.formatter||(n=e.total.formatter(r));var l=t===e.total.label;t=e.name.formatter(t,l,r),null!==a&&(a.textContent=t),null!==s&&(s.textContent=n),null!==a&&(a.style.fill=o)}},{key:"printDataLabelsInner",value:function(e,t){var n=this.w,i=e.getAttribute("data:value"),o=n.globals.seriesNames[parseInt(e.parentNode.getAttribute("rel"),10)-1];n.globals.series.length>1&&this.printInnerLabels(t,o,i,e);var r=n.globals.dom.baseEl.querySelector(".apexcharts-datalabels-group");null!==r&&(r.style.opacity=1)}},{key:"drawSpokes",value:function(e){var t=this,n=this.w,i=new w(this.ctx),o=n.config.plotOptions.polarArea.spokes;if(0!==o.strokeWidth){for(var r=[],a=360/n.globals.series.length,s=0;s1)a&&!t.total.showAlways?l({makeSliceOut:!1,printLabel:!0}):this.printInnerLabels(t,t.total.label,t.total.formatter(o));else if(l({makeSliceOut:!1,printLabel:!0}),!a)if(o.globals.selectedDataPoints.length&&o.globals.series.length>1)if(o.globals.selectedDataPoints[0].length>0){var c=o.globals.selectedDataPoints[0],u=o.globals.dom.baseEl.querySelector(".apexcharts-".concat(this.chartType.toLowerCase(),"-slice-").concat(c));this.printDataLabelsInner(u,t)}else r&&o.globals.selectedDataPoints.length&&0===o.globals.selectedDataPoints[0].length&&(r.style.opacity=0);else r&&o.globals.series.length>1&&(r.style.opacity=0)}}]),e}(),Le=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.chartType=this.w.config.chart.type,this.initialAnim=this.w.config.chart.animations.enabled,this.dynamicAnim=this.initialAnim&&this.w.config.chart.animations.dynamicAnimation.enabled,this.animDur=0;var n=this.w;this.graphics=new w(this.ctx),this.lineColorArr=void 0!==n.globals.stroke.colors?n.globals.stroke.colors:n.globals.colors,this.defaultSize=n.globals.svgHeight0&&(g=t.getPreviousPath(s));for(var v=0;v=10?e.x>0?(n="start",i+=10):e.x<0&&(n="end",i-=10):n="middle",Math.abs(e.y)>=t-10&&(e.y<0?o-=10:e.y>0&&(o+=10)),{textAnchor:n,newX:i,newY:o}}},{key:"getPreviousPath",value:function(e){for(var t=this.w,n=null,i=0;i0&&parseInt(o.realIndex,10)===parseInt(e,10)&&void 0!==t.globals.previousPaths[i].paths[0]&&(n=t.globals.previousPaths[i].paths[0].d)}return n}},{key:"getDataPointsPos",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.dataPointsLen;e=e||[],t=t||[];for(var i=[],o=0;o=360&&(h=360-Math.abs(this.startAngle)-.1);var f=n.drawPath({d:"",stroke:u,strokeWidth:a*parseInt(c.strokeWidth,10)/100,fill:"none",strokeOpacity:c.opacity,classes:"apexcharts-radialbar-area"});if(c.dropShadow.enabled){var p=c.dropShadow;o.dropShadow(f,p)}l.add(f),f.attr("id","apexcharts-radialbarTrack-"+s),this.animatePaths(f,{centerX:e.centerX,centerY:e.centerY,endAngle:h,startAngle:d,size:e.size,i:s,totalItems:2,animBeginArr:0,dur:0,isTrack:!0,easing:t.globals.easing})}return i}},{key:"drawArcs",value:function(e){var t=this.w,n=new w(this.ctx),i=new T(this.ctx),o=new y(this.ctx),r=n.group(),a=this.getStrokeWidth(e);e.size=e.size-a/2;var s=t.config.plotOptions.radialBar.hollow.background,l=e.size-a*e.series.length-this.margin*e.series.length-a*parseInt(t.config.plotOptions.radialBar.track.strokeWidth,10)/100/2,c=l-t.config.plotOptions.radialBar.hollow.margin;void 0!==t.config.plotOptions.radialBar.hollow.image&&(s=this.drawHollowImage(e,r,l,s));var u=this.drawHollow({size:c,centerX:e.centerX,centerY:e.centerY,fill:s||"transparent"});if(t.config.plotOptions.radialBar.hollow.dropShadow.enabled){var d=t.config.plotOptions.radialBar.hollow.dropShadow;o.dropShadow(u,d)}var h=1;!this.radialDataLabels.total.show&&t.globals.series.length>1&&(h=0);var f=null;this.radialDataLabels.show&&(f=this.renderInnerDataLabels(this.radialDataLabels,{hollowSize:l,centerX:e.centerX,centerY:e.centerY,opacity:h})),"back"===t.config.plotOptions.radialBar.hollow.position&&(r.add(u),f&&r.add(f));var p=!1;t.config.plotOptions.radialBar.inverseOrder&&(p=!0);for(var g=p?e.series.length-1:0;p?g>=0:g100?100:e.series[g])/100,C=Math.round(this.totalAngle*S)+this.startAngle,_=void 0;t.globals.dataChanged&&(k=this.startAngle,_=Math.round(this.totalAngle*b.negToZero(t.globals.previousPaths[g])/100)+k),Math.abs(C)+Math.abs(x)>=360&&(C-=.01),Math.abs(_)+Math.abs(k)>=360&&(_-=.01);var A=C-x,P=Array.isArray(t.config.stroke.dashArray)?t.config.stroke.dashArray[g]:t.config.stroke.dashArray,L=n.drawPath({d:"",stroke:m,strokeWidth:a,fill:"none",fillOpacity:t.config.fill.opacity,classes:"apexcharts-radialbar-area apexcharts-radialbar-slice-"+g,strokeDashArray:P});if(w.setAttrs(L.node,{"data:angle":A,"data:value":e.series[g]}),t.config.chart.dropShadow.enabled){var j=t.config.chart.dropShadow;o.dropShadow(L,j,g)}o.setSelectionFilter(L,0,g),this.addListeners(L,this.radialDataLabels),v.add(L),L.attr({index:0,j:g});var F=0;!this.initialAnim||t.globals.resized||t.globals.dataChanged||(F=(C-x)/360*t.config.chart.animations.speed,this.animDur=F/(1.2*e.series.length)+this.animDur,this.animBeginArr.push(this.animDur)),t.globals.dataChanged&&(F=(C-x)/360*t.config.chart.animations.dynamicAnimation.speed,this.animDur=F/(1.2*e.series.length)+this.animDur,this.animBeginArr.push(this.animDur)),this.animatePaths(L,{centerX:e.centerX,centerY:e.centerY,endAngle:C,startAngle:x,prevEndAngle:_,prevStartAngle:k,size:e.size,i:g,totalItems:2,animBeginArr:this.animBeginArr,dur:F,shouldSetPrevPaths:!0,easing:t.globals.easing})}return{g:r,elHollow:u,dataLabels:f}}},{key:"drawHollow",value:function(e){var t=new w(this.ctx).drawCircle(2*e.size);return t.attr({class:"apexcharts-radialbar-hollow",cx:e.centerX,cy:e.centerY,r:e.size,fill:e.fill}),t}},{key:"drawHollowImage",value:function(e,t,n,i){var o=this.w,r=new T(this.ctx),a=b.randomId(),s=o.config.plotOptions.radialBar.hollow.image;if(o.config.plotOptions.radialBar.hollow.imageClipped)r.clippedImgArea({width:n,height:n,image:s,patternID:"pattern".concat(o.globals.cuid).concat(a)}),i="url(#pattern".concat(o.globals.cuid).concat(a,")");else{var l=o.config.plotOptions.radialBar.hollow.imageWidth,c=o.config.plotOptions.radialBar.hollow.imageHeight;if(void 0===l&&void 0===c){var u=o.globals.dom.Paper.image(s).loaded((function(t){this.move(e.centerX-t.width/2+o.config.plotOptions.radialBar.hollow.imageOffsetX,e.centerY-t.height/2+o.config.plotOptions.radialBar.hollow.imageOffsetY)}));t.add(u)}else{var d=o.globals.dom.Paper.image(s).loaded((function(t){this.move(e.centerX-l/2+o.config.plotOptions.radialBar.hollow.imageOffsetX,e.centerY-c/2+o.config.plotOptions.radialBar.hollow.imageOffsetY),this.size(l,c)}));t.add(d)}}return i}},{key:"getStrokeWidth",value:function(e){var t=this.w;return e.size*(100-parseInt(t.config.plotOptions.radialBar.hollow.size,10))/100/(e.series.length+1)-this.margin}}]),n}(),Te=function(){function e(t){s(this,e),this.w=t.w,this.lineCtx=t}return c(e,[{key:"sameValueSeriesFix",value:function(e,t){var n=this.w;if("line"===n.config.chart.type&&("gradient"===n.config.fill.type||"gradient"===n.config.fill.type[e])&&new C(this.lineCtx.ctx,n).seriesHaveSameValues(e)){var i=t[e].slice();i[i.length-1]=i[i.length-1]+1e-6,t[e]=i}return t}},{key:"calculatePoints",value:function(e){var t=e.series,n=e.realIndex,i=e.x,o=e.y,r=e.i,a=e.j,s=e.prevY,l=this.w,c=[],u=[];if(0===a){var d=this.lineCtx.categoryAxisCorrection+l.config.markers.offsetX;l.globals.isXNumeric&&(d=(l.globals.seriesX[n][0]-l.globals.minX)/this.lineCtx.xRatio+l.config.markers.offsetX),c.push(d),u.push(b.isNumber(t[r][0])?s+l.config.markers.offsetY:null),c.push(i+l.config.markers.offsetX),u.push(b.isNumber(t[r][a+1])?o+l.config.markers.offsetY:null)}else c.push(i+l.config.markers.offsetX),u.push(b.isNumber(t[r][a+1])?o+l.config.markers.offsetY:null);return{x:c,y:u}}},{key:"checkPreviousPaths",value:function(e){for(var t=e.pathFromLine,n=e.pathFromArea,i=e.realIndex,o=this.w,r=0;r0&&parseInt(a.realIndex,10)===parseInt(i,10)&&("line"===a.type?(this.lineCtx.appendPathFrom=!1,t=o.globals.previousPaths[r].paths[0].d):"area"===a.type&&(this.lineCtx.appendPathFrom=!1,n=o.globals.previousPaths[r].paths[0].d,o.config.stroke.show&&o.globals.previousPaths[r].paths[1]&&(t=o.globals.previousPaths[r].paths[1].d)))}return{pathFromLine:t,pathFromArea:n}}},{key:"determineFirstPrevY",value:function(e){var t=e.i,n=e.series,i=e.prevY,o=e.lineYPosition,r=this.w;if(void 0!==n[t][0])i=(o=r.config.chart.stacked&&t>0?this.lineCtx.prevSeriesY[t-1][0]:this.lineCtx.zeroY)-n[t][0]/this.lineCtx.yRatio[this.lineCtx.yaxisIndex]+2*(this.lineCtx.isReversed?n[t][0]/this.lineCtx.yRatio[this.lineCtx.yaxisIndex]:0);else if(r.config.chart.stacked&&t>0&&void 0===n[t][0])for(var a=t-1;a>=0;a--)if(null!==n[a][0]&&void 0!==n[a][0]){i=o=this.lineCtx.prevSeriesY[a][0];break}return{prevY:i,lineYPosition:o}}}]),e}(),Fe=function(){function e(t,n,i){s(this,e),this.ctx=t,this.w=t.w,this.xyRatios=n,this.pointsChart=!("bubble"!==this.w.config.chart.type&&"scatter"!==this.w.config.chart.type)||i,this.scatter=new E(this.ctx),this.noNegatives=this.w.globals.minX===Number.MAX_VALUE,this.lineHelpers=new Te(this),this.markers=new F(this.ctx),this.prevSeriesY=[],this.categoryAxisCorrection=0,this.yaxisIndex=0}return c(e,[{key:"draw",value:function(e,t,n){var i=this.w,o=new w(this.ctx),r=i.globals.comboCharts?t:i.config.chart.type,a=o.group({class:"apexcharts-".concat(r,"-series apexcharts-plot-series")}),s=new C(this.ctx,i);this.yRatio=this.xyRatios.yRatio,this.zRatio=this.xyRatios.zRatio,this.xRatio=this.xyRatios.xRatio,this.baseLineY=this.xyRatios.baseLineY,e=s.getLogSeries(e),this.yRatio=s.getLogYRatios(this.yRatio);for(var l=[],c=0;c0&&(f=(i.globals.seriesX[u][0]-i.globals.minX)/this.xRatio),h.push(f);var p,g=f,v=g,m=this.zeroY;m=this.lineHelpers.determineFirstPrevY({i:c,series:e,prevY:m,lineYPosition:0}).prevY,d.push(m),p=m;var b=this._calculatePathsFrom({series:e,i:c,realIndex:u,prevX:v,prevY:m}),x=this._iterateOverDataPoints({series:e,realIndex:u,i:c,x:f,y:1,pX:g,pY:p,pathsFrom:b,linePaths:[],areaPaths:[],seriesIndex:n,lineYPosition:0,xArrj:h,yArrj:d});this._handlePaths({type:r,realIndex:u,i:c,paths:x}),this.elSeries.add(this.elPointsMain),this.elSeries.add(this.elDataLabelsWrap),l.push(this.elSeries)}if(i.config.chart.stacked)for(var y=l.length;y>0;y--)a.add(l[y-1]);else for(var k=0;k1&&(this.yaxisIndex=n),this.isReversed=i.config.yaxis[this.yaxisIndex]&&i.config.yaxis[this.yaxisIndex].reversed,this.zeroY=i.globals.gridHeight-this.baseLineY[this.yaxisIndex]-(this.isReversed?i.globals.gridHeight:0)+(this.isReversed?2*this.baseLineY[this.yaxisIndex]:0),this.areaBottomY=this.zeroY,(this.zeroY>i.globals.gridHeight||"end"===i.config.plotOptions.area.fillTo)&&(this.areaBottomY=i.globals.gridHeight),this.categoryAxisCorrection=this.xDivision/2,this.elSeries=o.group({class:"apexcharts-series",seriesName:b.escapeString(i.globals.seriesNames[n])}),this.elPointsMain=o.group({class:"apexcharts-series-markers-wrap","data:realIndex":n}),this.elDataLabelsWrap=o.group({class:"apexcharts-datalabels","data:realIndex":n});var r=e[t].length===i.globals.dataPoints;this.elSeries.attr({"data:longestSeries":r,rel:t+1,"data:realIndex":n}),this.appendPathFrom=!0}},{key:"_calculatePathsFrom",value:function(e){var t,n,i,o,r=e.series,a=e.i,s=e.realIndex,l=e.prevX,c=e.prevY,u=this.w,d=new w(this.ctx);if(null===r[a][0]){for(var h=0;h0){var f=this.lineHelpers.checkPreviousPaths({pathFromLine:i,pathFromArea:o,realIndex:s});i=f.pathFromLine,o=f.pathFromArea}return{prevX:l,prevY:c,linePath:t,areaPath:n,pathFromLine:i,pathFromArea:o}}},{key:"_handlePaths",value:function(e){var t=e.type,n=e.realIndex,i=e.i,o=e.paths,a=this.w,s=new w(this.ctx),l=new T(this.ctx);this.prevSeriesY.push(o.yArrj),a.globals.seriesXvalues[n]=o.xArrj,a.globals.seriesYvalues[n]=o.yArrj;var c=a.config.forecastDataPoints;if(c.count>0){var u=a.globals.seriesXvalues[n][a.globals.seriesXvalues[n].length-c.count-1],d=s.drawRect(u,0,a.globals.gridWidth,a.globals.gridHeight,0);a.globals.dom.elForecastMask.appendChild(d.node);var h=s.drawRect(0,0,u,a.globals.gridHeight,0);a.globals.dom.elNonForecastMask.appendChild(h.node)}this.pointsChart||a.globals.delayedElements.push({el:this.elPointsMain.node,index:n});var f={i,realIndex:n,animationDelay:i,initialSpeed:a.config.chart.animations.speed,dataChangeSpeed:a.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-".concat(t)};if("area"===t)for(var p=l.fillPath({seriesNumber:n}),g=0;g0){var k=s.renderPaths(x);k.node.setAttribute("stroke-dasharray",c.dashArray),c.strokeWidth&&k.node.setAttribute("stroke-width",c.strokeWidth),this.elSeries.add(k),k.attr("clip-path","url(#forecastMask".concat(a.globals.cuid,")")),y.attr("clip-path","url(#nonForecastMask".concat(a.globals.cuid,")"))}}}}},{key:"_iterateOverDataPoints",value:function(e){for(var t=e.series,n=e.realIndex,i=e.i,o=e.x,r=e.y,a=e.pX,s=e.pY,l=e.pathsFrom,c=e.linePaths,u=e.areaPaths,d=e.seriesIndex,h=e.lineYPosition,f=e.xArrj,p=e.yArrj,g=this.w,v=new w(this.ctx),m=this.yRatio,x=l.prevY,y=l.linePath,k=l.areaPath,S=l.pathFromLine,C=l.pathFromArea,_=b.isNumber(g.globals.minYArr[n])?g.globals.minYArr[n]:g.globals.minY,A=g.globals.dataPoints>1?g.globals.dataPoints-1:g.globals.dataPoints,P=0;P0&&g.globals.collapsedSeries.length-1){t--;break}return t>=0?t:0}(i-1)][P+1]:this.zeroY,r=L?h-_/m[this.yaxisIndex]+2*(this.isReversed?_/m[this.yaxisIndex]:0):h-t[i][P+1]/m[this.yaxisIndex]+2*(this.isReversed?t[i][P+1]/m[this.yaxisIndex]:0),f.push(o),p.push(r);var T=this.lineHelpers.calculatePoints({series:t,x:o,y:r,realIndex:n,i,j:P,prevY:x}),F=this._createPaths({series:t,i,realIndex:n,j:P,x:o,y:r,pX:a,pY:s,linePath:y,areaPath:k,linePaths:c,areaPaths:u,seriesIndex:d});u=F.areaPaths,c=F.linePaths,a=F.pX,s=F.pY,k=F.areaPath,y=F.linePath,this.appendPathFrom&&(S+=v.line(o,this.zeroY),C+=v.line(o,this.zeroY)),this.handleNullDataPoints(t,T,i,P,n),this._handleMarkersAndLabels({pointsPos:T,series:t,x:o,y:r,prevY:x,i,j:P,realIndex:n})}return{yArrj:p,xArrj:f,pathFromArea:C,areaPaths:u,pathFromLine:S,linePaths:c}}},{key:"_handleMarkersAndLabels",value:function(e){var t=e.pointsPos;e.series,e.x,e.y,e.prevY;var n=e.i,i=e.j,o=e.realIndex,r=this.w,a=new O(this.ctx);if(this.pointsChart)this.scatter.draw(this.elSeries,i,{realIndex:o,pointsPos:t,zRatio:this.zRatio,elParent:this.elPointsMain});else{r.globals.series[n].length>1&&this.elPointsMain.node.classList.add("apexcharts-element-hidden");var s=this.markers.plotChartMarkers(t,o,i+1);null!==s&&this.elPointsMain.add(s)}var l=a.drawDataLabel(t,o,i+1,null);null!==l&&this.elDataLabelsWrap.add(l)}},{key:"_createPaths",value:function(e){var t=e.series,n=e.i,i=e.realIndex,o=e.j,r=e.x,a=e.y,s=e.pX,l=e.pY,c=e.linePath,u=e.areaPath,d=e.linePaths,h=e.areaPaths,f=e.seriesIndex,p=this.w,g=new w(this.ctx),v=p.config.stroke.curve,m=this.areaBottomY;if(Array.isArray(p.config.stroke.curve)&&(v=Array.isArray(f)?p.config.stroke.curve[f[n]]:p.config.stroke.curve[n]),"smooth"===v){var b=.35*(r-s);p.globals.hasNullValues?(null!==t[n][o]&&(null!==t[n][o+1]?(c=g.move(s,l)+g.curve(s+b,l,r-b,a,r+1,a),u=g.move(s+1,l)+g.curve(s+b,l,r-b,a,r+1,a)+g.line(r,m)+g.line(s,m)+"z"):(c=g.move(s,l),u=g.move(s,l)+"z")),d.push(c),h.push(u)):(c+=g.curve(s+b,l,r-b,a,r,a),u+=g.curve(s+b,l,r-b,a,r,a)),s=r,l=a,o===t[n].length-2&&(u=u+g.curve(s,l,r,a,r,m)+g.move(r,a)+"z",p.globals.hasNullValues||(d.push(c),h.push(u)))}else{if(null===t[n][o+1]){c+=g.move(r,a);var x=p.globals.isXNumeric?(p.globals.seriesX[i][o]-p.globals.minX)/this.xRatio:r-this.xDivision;u=u+g.line(x,m)+g.move(r,a)+"z"}null===t[n][o]&&(c+=g.move(r,a),u+=g.move(r,m)),"stepline"===v?(c=c+g.line(r,null,"H")+g.line(null,a,"V"),u=u+g.line(r,null,"H")+g.line(null,a,"V")):"straight"===v&&(c+=g.line(r,a),u+=g.line(r,a)),o===t[n].length-2&&(u=u+g.line(r,m)+g.move(r,a)+"z",d.push(c),h.push(u))}return{linePaths:d,areaPaths:h,pX:s,pY:l,linePath:c,areaPath:u}}},{key:"handleNullDataPoints",value:function(e,t,n,i,o){var r=this.w;if(null===e[n][i]&&r.config.markers.showNullDataPoints||1===e[n].length){var a=this.markers.plotChartMarkers(t,o,i+1,this.strokeWidth-r.config.markers.strokeWidth/2,!0);null!==a&&this.elPointsMain.add(a)}}}]),e}();window.TreemapSquared={},window.TreemapSquared.generate=function(){function e(t,n,i,o){this.xoffset=t,this.yoffset=n,this.height=o,this.width=i,this.shortestEdge=function(){return Math.min(this.height,this.width)},this.getCoordinates=function(e){var t,n=[],i=this.xoffset,o=this.yoffset,a=r(e)/this.height,s=r(e)/this.width;if(this.width>=this.height)for(t=0;t=this.height){var i=t/this.height,o=this.width-i;n=new e(this.xoffset+i,this.yoffset,o,this.height)}else{var r=t/this.width,a=this.height-r;n=new e(this.xoffset,this.yoffset+r,this.width,a)}return n}}function t(t,i,o,a,s){return a=void 0===a?0:a,s=void 0===s?0:s,function(e){var t,n,i=[];for(t=0;t=a}(t,l=e[0],s)?(t.push(l),n(e.slice(1),t,o,a)):(c=o.cutArea(r(t),a),a.push(o.getCoordinates(t)),n(e,[],c,a)),a;a.push(o.getCoordinates(t))}function i(e,t){var n=Math.min.apply(Math,e),i=Math.max.apply(Math,e),o=r(e);return Math.max(Math.pow(t,2)*i/Math.pow(o,2),Math.pow(o,2)/(Math.pow(t,2)*n))}function o(e){return e&&e.constructor===Array}function r(e){var t,n=0;for(t=0;to-n&&s.width<=r-i){var l=a.rotateAroundCenter(e.node);e.node.setAttribute("transform","rotate(-90 ".concat(l.x," ").concat(l.y,")"))}}},{key:"animateTreemap",value:function(e,t,n,i){var o=new x(this.ctx);o.animateRect(e,{x:t.x,y:t.y,width:t.width,height:t.height},{x:n.x,y:n.y,width:n.width,height:n.height},i,(function(){o.animationCompleted(e)}))}}]),e}(),Re=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.timeScaleArray=[],this.utc=this.w.config.xaxis.labels.datetimeUTC}return c(e,[{key:"calculateTimeScaleTicks",value:function(e,t){var n=this,i=this.w;if(i.globals.allSeriesCollapsed)return i.globals.labels=[],i.globals.timescaleLabels=[],[];var o=new H(this.ctx),a=(t-e)/864e5;this.determineInterval(a),i.globals.disableZoomIn=!1,i.globals.disableZoomOut=!1,a<.00011574074074074075?i.globals.disableZoomIn=!0:a>5e4&&(i.globals.disableZoomOut=!0);var s=o.getTimeUnitsfromTimestamp(e,t,this.utc),l=i.globals.gridWidth/a,c=l/24,u=c/60,d=u/60,h=Math.floor(24*a),f=Math.floor(1440*a),p=Math.floor(86400*a),g=Math.floor(a),v=Math.floor(a/30),m=Math.floor(a/365),b={minMillisecond:s.minMillisecond,minSecond:s.minSecond,minMinute:s.minMinute,minHour:s.minHour,minDate:s.minDate,minMonth:s.minMonth,minYear:s.minYear},x={firstVal:b,currentMillisecond:b.minMillisecond,currentSecond:b.minSecond,currentMinute:b.minMinute,currentHour:b.minHour,currentMonthDate:b.minDate,currentDate:b.minDate,currentMonth:b.minMonth,currentYear:b.minYear,daysWidthOnXAxis:l,hoursWidthOnXAxis:c,minutesWidthOnXAxis:u,secondsWidthOnXAxis:d,numberOfSeconds:p,numberOfMinutes:f,numberOfHours:h,numberOfDays:g,numberOfMonths:v,numberOfYears:m};switch(this.tickInterval){case"years":this.generateYearScale(x);break;case"months":case"half_year":this.generateMonthScale(x);break;case"months_days":case"months_fortnight":case"days":case"week_days":this.generateDayScale(x);break;case"hours":this.generateHourScale(x);break;case"minutes_fives":case"minutes":this.generateMinuteScale(x);break;case"seconds_tens":case"seconds_fives":case"seconds":this.generateSecondScale(x)}var y=this.timeScaleArray.map((function(e){var t={position:e.position,unit:e.unit,year:e.year,day:e.day?e.day:1,hour:e.hour?e.hour:0,month:e.month+1};return"month"===e.unit?r(r({},t),{},{day:1,value:e.value+1}):"day"===e.unit||"hour"===e.unit?r(r({},t),{},{value:e.value}):"minute"===e.unit?r(r({},t),{},{value:e.value,minute:e.value}):"second"===e.unit?r(r({},t),{},{value:e.value,minute:e.minute,second:e.second}):e}));return y.filter((function(e){var t=1,o=Math.ceil(i.globals.gridWidth/120),r=e.value;void 0!==i.config.xaxis.tickAmount&&(o=i.config.xaxis.tickAmount),y.length>o&&(t=Math.floor(y.length/o));var a=!1,s=!1;switch(n.tickInterval){case"years":"year"===e.unit&&(a=!0);break;case"half_year":t=7,"year"===e.unit&&(a=!0);break;case"months":t=1,"year"===e.unit&&(a=!0);break;case"months_fortnight":t=15,"year"!==e.unit&&"month"!==e.unit||(a=!0),30===r&&(s=!0);break;case"months_days":t=10,"month"===e.unit&&(a=!0),30===r&&(s=!0);break;case"week_days":t=8,"month"===e.unit&&(a=!0);break;case"days":t=1,"month"===e.unit&&(a=!0);break;case"hours":"day"===e.unit&&(a=!0);break;case"minutes_fives":r%5!=0&&(s=!0);break;case"seconds_tens":r%10!=0&&(s=!0);break;case"seconds_fives":r%5!=0&&(s=!0)}if("hours"===n.tickInterval||"minutes_fives"===n.tickInterval||"seconds_tens"===n.tickInterval||"seconds_fives"===n.tickInterval){if(!s)return!0}else if((r%t==0||a)&&!s)return!0}))}},{key:"recalcDimensionsBasedOnFormat",value:function(e,t){var n=this.w,i=this.formatDates(e),o=this.removeOverlappingTS(i);n.globals.timescaleLabels=o.slice(),new ue(this.ctx).plotCoords()}},{key:"determineInterval",value:function(e){var t=24*e,n=60*t;switch(!0){case e/365>5:this.tickInterval="years";break;case e>800:this.tickInterval="half_year";break;case e>180:this.tickInterval="months";break;case e>90:this.tickInterval="months_fortnight";break;case e>60:this.tickInterval="months_days";break;case e>30:this.tickInterval="week_days";break;case e>2:this.tickInterval="days";break;case t>2.4:this.tickInterval="hours";break;case n>15:this.tickInterval="minutes_fives";break;case n>5:this.tickInterval="minutes";break;case n>1:this.tickInterval="seconds_tens";break;case 60*n>20:this.tickInterval="seconds_fives";break;default:this.tickInterval="seconds"}}},{key:"generateYearScale",value:function(e){var t=e.firstVal,n=e.currentMonth,i=e.currentYear,o=e.daysWidthOnXAxis,r=e.numberOfYears,a=t.minYear,s=0,l=new H(this.ctx),c="year";if(t.minDate>1||t.minMonth>0){var u=l.determineRemainingDaysOfYear(t.minYear,t.minMonth,t.minDate);s=(l.determineDaysOfYear(t.minYear)-u+1)*o,a=t.minYear+1,this.timeScaleArray.push({position:s,value:a,unit:c,year:a,month:b.monthMod(n+1)})}else 1===t.minDate&&0===t.minMonth&&this.timeScaleArray.push({position:s,value:a,unit:c,year:i,month:b.monthMod(n+1)});for(var d=a,h=s,f=0;f1){l=(c.determineDaysOfMonths(i+1,t.minYear)-n+1)*r,s=b.monthMod(i+1);var h=o+d,f=b.monthMod(s),p=s;0===s&&(u="year",p=h,f=1,h+=d+=1),this.timeScaleArray.push({position:l,value:p,unit:u,year:h,month:f})}else this.timeScaleArray.push({position:l,value:s,unit:u,year:o,month:b.monthMod(i)});for(var g=s+1,v=l,m=0,x=1;ma.determineDaysOfMonths(t+1,n)?(c=1,s="month",h=t+=1,t):t},d=(24-t.minHour)*o,h=l,f=u(c,n,i);0===t.minHour&&1===t.minDate?(d=0,h=b.monthMod(t.minMonth),s="month",c=t.minDate,r++):1!==t.minDate&&0===t.minHour&&0===t.minMinute&&(d=0,l=t.minDate,h=l,f=u(c=l,n,i)),this.timeScaleArray.push({position:d,value:h,unit:s,year:this._getYear(i,f,0),month:b.monthMod(f),day:c});for(var p=d,g=0;gs.determineDaysOfMonths(t+1,o)&&(g=1,t+=1),{month:t,date:g}},u=function(e,t){return e>s.determineDaysOfMonths(t+1,o)?t+=1:t},d=60-(t.minMinute+t.minSecond/60),h=d*r,f=t.minHour+1,p=f+1;60===d&&(h=0,p=(f=t.minHour)+1);var g=n,v=u(g,i);this.timeScaleArray.push({position:h,value:f,unit:l,day:g,hour:p,year:o,month:b.monthMod(v)});for(var m=h,x=0;x=24&&(p=0,l="day",v=c(g+=1,v).month,v=u(g,v));var y=this._getYear(o,v,0);m=0===p&&0===x?d*r:60*r+m;var w=0===p?g:p;this.timeScaleArray.push({position:m,value:w,unit:l,hour:p,day:g,year:y,month:b.monthMod(v)}),p++}}},{key:"generateMinuteScale",value:function(e){for(var t=e.currentMillisecond,n=e.currentSecond,i=e.currentMinute,o=e.currentHour,r=e.currentDate,a=e.currentMonth,s=e.currentYear,l=e.minutesWidthOnXAxis,c=e.secondsWidthOnXAxis,u=e.numberOfMinutes,d=i+1,h=r,f=a,p=s,g=o,v=(60-n-t/1e3)*c,m=0;m=60&&(d=0,24===(g+=1)&&(g=0)),this.timeScaleArray.push({position:v,value:d,unit:"minute",hour:g,minute:d,day:h,year:this._getYear(p,f,0),month:b.monthMod(f)}),v+=l,d++}},{key:"generateSecondScale",value:function(e){for(var t=e.currentMillisecond,n=e.currentSecond,i=e.currentMinute,o=e.currentHour,r=e.currentDate,a=e.currentMonth,s=e.currentYear,l=e.secondsWidthOnXAxis,c=e.numberOfSeconds,u=n+1,d=i,h=r,f=a,p=s,g=o,v=(1e3-t)/1e3*l,m=0;m=60&&(u=0,++d>=60&&(d=0,24===++g&&(g=0))),this.timeScaleArray.push({position:v,value:u,unit:"second",hour:g,minute:d,second:u,day:h,year:this._getYear(p,f,0),month:b.monthMod(f)}),v+=l,u++}},{key:"createRawDateString",value:function(e,t){var n=e.year;return 0===e.month&&(e.month=1),n+="-"+("0"+e.month.toString()).slice(-2),"day"===e.unit?n+="day"===e.unit?"-"+("0"+t).slice(-2):"-01":n+="-"+("0"+(e.day?e.day:"1")).slice(-2),"hour"===e.unit?n+="hour"===e.unit?"T"+("0"+t).slice(-2):"T00":n+="T"+("0"+(e.hour?e.hour:"0")).slice(-2),"minute"===e.unit?n+=":"+("0"+t).slice(-2):n+=":"+(e.minute?("0"+e.minute).slice(-2):"00"),"second"===e.unit?n+=":"+("0"+t).slice(-2):n+=":00",this.utc&&(n+=".000Z"),n}},{key:"formatDates",value:function(e){var t=this,n=this.w;return e.map((function(e){var i=e.value.toString(),o=new H(t.ctx),r=t.createRawDateString(e,i),a=o.getDate(o.parseDate(r));if(t.utc||(a=o.getDate(o.parseDateWithTimezone(r))),void 0===n.config.xaxis.labels.format){var s="dd MMM",l=n.config.xaxis.labels.datetimeFormatter;"year"===e.unit&&(s=l.year),"month"===e.unit&&(s=l.month),"day"===e.unit&&(s=l.day),"hour"===e.unit&&(s=l.hour),"minute"===e.unit&&(s=l.minute),"second"===e.unit&&(s=l.second),i=o.formatDate(a,s)}else i=o.formatDate(a,n.config.xaxis.labels.format);return{dateString:r,position:e.position,value:i,unit:e.unit,year:e.year,month:e.month}}))}},{key:"removeOverlappingTS",value:function(e){var t,n=this,i=new w(this.ctx),o=!1;e.length>0&&e[0].value&&e.every((function(t){return t.value.length===e[0].value.length}))&&(o=!0,t=i.getTextRects(e[0].value).width);var r=0,a=e.map((function(a,s){if(s>0&&n.w.config.xaxis.labels.hideOverlappingLabels){var l=o?t:i.getTextRects(e[r].value).width,c=e[r].position;return a.position>c+l+10?(r=s,a):null}return a}));return a.filter((function(e){return null!==e}))}},{key:"_getYear",value:function(e,t,n){return e+Math.floor(t/12)+n}}]),e}(),Ie=function(){function e(t,n){s(this,e),this.ctx=n,this.w=n.w,this.el=t}return c(e,[{key:"setupElements",value:function(){var e=this.w.globals,t=this.w.config,n=t.chart.type;e.axisCharts=["line","area","bar","rangeBar","candlestick","boxPlot","scatter","bubble","radar","heatmap","treemap"].indexOf(n)>-1,e.xyCharts=["line","area","bar","rangeBar","candlestick","boxPlot","scatter","bubble"].indexOf(n)>-1,e.isBarHorizontal=("bar"===t.chart.type||"rangeBar"===t.chart.type||"boxPlot"===t.chart.type)&&t.plotOptions.bar.horizontal,e.chartClass=".apexcharts"+e.chartID,e.dom.baseEl=this.el,e.dom.elWrap=document.createElement("div"),w.setAttrs(e.dom.elWrap,{id:e.chartClass.substring(1),class:"apexcharts-canvas "+e.chartClass.substring(1)}),this.el.appendChild(e.dom.elWrap),e.dom.Paper=new window.SVG.Doc(e.dom.elWrap),e.dom.Paper.attr({class:"apexcharts-svg","xmlns:data":"ApexChartsNS",transform:"translate(".concat(t.chart.offsetX,", ").concat(t.chart.offsetY,")")}),e.dom.Paper.node.style.background=t.chart.background,this.setSVGDimensions(),e.dom.elGraphical=e.dom.Paper.group().attr({class:"apexcharts-inner apexcharts-graphical"}),e.dom.elAnnotations=e.dom.Paper.group().attr({class:"apexcharts-annotations"}),e.dom.elDefs=e.dom.Paper.defs(),e.dom.elLegendWrap=document.createElement("div"),e.dom.elLegendWrap.classList.add("apexcharts-legend"),e.dom.elWrap.appendChild(e.dom.elLegendWrap),e.dom.Paper.add(e.dom.elGraphical),e.dom.elGraphical.add(e.dom.elDefs)}},{key:"plotChartType",value:function(e,t){var n=this.w,i=n.config,o=n.globals,r={series:[],i:[]},a={series:[],i:[]},s={series:[],i:[]},l={series:[],i:[]},c={series:[],i:[]},u={series:[],i:[]},d={series:[],i:[]};o.series.map((function(t,h){var f=0;void 0!==e[h].type?("column"===e[h].type||"bar"===e[h].type?(o.series.length>1&&i.plotOptions.bar.horizontal&&console.warn("Horizontal bars are not supported in a mixed/combo chart. Please turn off `plotOptions.bar.horizontal`"),c.series.push(t),c.i.push(h),f++,n.globals.columnSeries=c.series):"area"===e[h].type?(a.series.push(t),a.i.push(h),f++):"line"===e[h].type?(r.series.push(t),r.i.push(h),f++):"scatter"===e[h].type?(s.series.push(t),s.i.push(h)):"bubble"===e[h].type?(l.series.push(t),l.i.push(h),f++):"candlestick"===e[h].type?(u.series.push(t),u.i.push(h),f++):"boxPlot"===e[h].type?(d.series.push(t),d.i.push(h),f++):console.warn("You have specified an unrecognized chart type. Available types for this property are line/area/column/bar/scatter/bubble"),f>1&&(o.comboCharts=!0)):(r.series.push(t),r.i.push(h))}));var h=new Fe(this.ctx,t),f=new Se(this.ctx,t);this.ctx.pie=new Pe(this.ctx);var p=new je(this.ctx);this.ctx.rangeBar=new N(this.ctx,t);var g=new Le(this.ctx),v=[];if(o.comboCharts){if(a.series.length>0&&v.push(h.draw(a.series,"area",a.i)),c.series.length>0)if(n.config.chart.stacked){var m=new ke(this.ctx,t);v.push(m.draw(c.series,c.i))}else this.ctx.bar=new z(this.ctx,t),v.push(this.ctx.bar.draw(c.series,c.i));if(r.series.length>0&&v.push(h.draw(r.series,"line",r.i)),u.series.length>0&&v.push(f.draw(u.series,u.i)),d.series.length>0&&v.push(f.draw(d.series,d.i)),s.series.length>0){var b=new Fe(this.ctx,t,!0);v.push(b.draw(s.series,"scatter",s.i))}if(l.series.length>0){var x=new Fe(this.ctx,t,!0);v.push(x.draw(l.series,"bubble",l.i))}}else switch(i.chart.type){case"line":v=h.draw(o.series,"line");break;case"area":v=h.draw(o.series,"area");break;case"bar":i.chart.stacked?v=new ke(this.ctx,t).draw(o.series):(this.ctx.bar=new z(this.ctx,t),v=this.ctx.bar.draw(o.series));break;case"candlestick":v=new Se(this.ctx,t).draw(o.series);break;case"boxPlot":v=new Se(this.ctx,t).draw(o.series);break;case"rangeBar":v=this.ctx.rangeBar.draw(o.series);break;case"heatmap":v=new _e(this.ctx,t).draw(o.series);break;case"treemap":v=new Me(this.ctx,t).draw(o.series);break;case"pie":case"donut":case"polarArea":v=this.ctx.pie.draw(o.series);break;case"radialBar":v=p.draw(o.series);break;case"radar":v=g.draw(o.series);break;default:v=h.draw(o.series)}return v}},{key:"setSVGDimensions",value:function(){var e=this.w.globals,t=this.w.config;e.svgWidth=t.chart.width,e.svgHeight=t.chart.height;var n=b.getDimensions(this.el),i=t.chart.width.toString().split(/[0-9]+/g).pop();"%"===i?b.isNumber(n[0])&&(0===n[0].width&&(n=b.getDimensions(this.el.parentNode)),e.svgWidth=n[0]*parseInt(t.chart.width,10)/100):"px"!==i&&""!==i||(e.svgWidth=parseInt(t.chart.width,10));var o=t.chart.height.toString().split(/[0-9]+/g).pop();if("auto"!==e.svgHeight&&""!==e.svgHeight)if("%"===o){var r=b.getDimensions(this.el.parentNode);e.svgHeight=r[1]*parseInt(t.chart.height,10)/100}else e.svgHeight=parseInt(t.chart.height,10);else e.axisCharts?e.svgHeight=e.svgWidth/1.61:e.svgHeight=e.svgWidth/1.2;if(e.svgWidth<0&&(e.svgWidth=0),e.svgHeight<0&&(e.svgHeight=0),w.setAttrs(e.dom.Paper.node,{width:e.svgWidth,height:e.svgHeight}),"%"!==o){var a=t.chart.sparkline.enabled?0:e.axisCharts?t.chart.parentHeightOffset:0;e.dom.Paper.node.parentNode.parentNode.style.minHeight=e.svgHeight+a+"px"}e.dom.elWrap.style.width=e.svgWidth+"px",e.dom.elWrap.style.height=e.svgHeight+"px"}},{key:"shiftGraphPosition",value:function(){var e=this.w.globals,t=e.translateY,n={transform:"translate("+e.translateX+", "+t+")"};w.setAttrs(e.dom.elGraphical.node,n)}},{key:"resizeNonAxisCharts",value:function(){var e=this.w,t=e.globals,n=0,i=e.config.chart.sparkline.enabled?1:15;i+=e.config.grid.padding.bottom,"top"!==e.config.legend.position&&"bottom"!==e.config.legend.position||!e.config.legend.show||e.config.legend.floating||(n=new he(this.ctx).legendHelpers.getLegendBBox().clwh+10);var o=e.globals.dom.baseEl.querySelector(".apexcharts-radialbar, .apexcharts-pie"),r=2.05*e.globals.radialSize;if(o&&!e.config.chart.sparkline.enabled&&0!==e.config.plotOptions.radialBar.startAngle){var a=b.getBoundingClientRect(o);r=a.bottom;var s=a.bottom-a.top;r=Math.max(2.05*e.globals.radialSize,s)}var l=r+t.translateY+n+i;t.dom.elLegendForeign&&t.dom.elLegendForeign.setAttribute("height",l),t.dom.elWrap.style.height=l+"px",w.setAttrs(t.dom.Paper.node,{height:l}),t.dom.Paper.node.parentNode.parentNode.style.minHeight=l+"px"}},{key:"coreCalculations",value:function(){new K(this.ctx).init()}},{key:"resetGlobals",value:function(){var e=this,t=function(){return e.w.config.series.map((function(e){return[]}))},n=new B,i=this.w.globals;n.initGlobalVars(i),i.seriesXvalues=t(),i.seriesYvalues=t()}},{key:"isMultipleY",value:function(){if(this.w.config.yaxis.constructor===Array&&this.w.config.yaxis.length>1)return this.w.globals.isMultipleYAxis=!0,!0}},{key:"xySettings",value:function(){var e=null,t=this.w;if(t.globals.axisCharts){if("back"===t.config.xaxis.crosshairs.position&&new ne(this.ctx).drawXCrosshairs(),"back"===t.config.yaxis[0].crosshairs.position&&new ne(this.ctx).drawYCrosshairs(),"datetime"===t.config.xaxis.type&&void 0===t.config.xaxis.labels.formatter){this.ctx.timeScale=new Re(this.ctx);var n=[];isFinite(t.globals.minX)&&isFinite(t.globals.maxX)&&!t.globals.isBarHorizontal?n=this.ctx.timeScale.calculateTimeScaleTicks(t.globals.minX,t.globals.maxX):t.globals.isBarHorizontal&&(n=this.ctx.timeScale.calculateTimeScaleTicks(t.globals.minY,t.globals.maxY)),this.ctx.timeScale.recalcDimensionsBasedOnFormat(n)}e=new C(this.ctx).getCalculatedRatios()}return e}},{key:"updateSourceChart",value:function(e){this.ctx.w.globals.selection=void 0,this.ctx.updateHelpers._updateOptions({chart:{selection:{xaxis:{min:e.w.globals.minX,max:e.w.globals.maxX}}}},!1,!1)}},{key:"setupBrushHandler",value:function(){var e=this,t=this.w;if(t.config.chart.brush.enabled&&"function"!=typeof t.config.chart.events.selection){var n=t.config.chart.brush.targets||[t.config.chart.brush.target];n.forEach((function(t){var n=ApexCharts.getChartByID(t);n.w.globals.brushSource=e.ctx,"function"!=typeof n.w.config.chart.events.zoomed&&(n.w.config.chart.events.zoomed=function(){e.updateSourceChart(n)}),"function"!=typeof n.w.config.chart.events.scrolled&&(n.w.config.chart.events.scrolled=function(){e.updateSourceChart(n)})})),t.config.chart.events.selection=function(e,i){n.forEach((function(e){var n=ApexCharts.getChartByID(e),o=b.clone(t.config.yaxis);if(t.config.chart.brush.autoScaleYaxis&&1===n.w.globals.series.length){var a=new G(n);o=a.autoScaleY(n,o,i)}var s=n.w.config.yaxis.reduce((function(e,t,i){return[].concat(v(e),[r(r({},n.w.config.yaxis[i]),{},{min:o[0].min,max:o[0].max})])}),[]);n.ctx.updateHelpers._updateOptions({xaxis:{min:i.xaxis.min,max:i.xaxis.max},yaxis:s},!1,!1,!1,!1)}))}}}}]),e}(),ze=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"_updateOptions",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return new Promise((function(s){var l=[t.ctx];o&&(l=t.ctx.getSyncedCharts()),t.ctx.w.globals.isExecCalled&&(l=[t.ctx],t.ctx.w.globals.isExecCalled=!1),l.forEach((function(o,c){var u=o.w;return u.globals.shouldAnimate=i,n||(u.globals.resized=!0,u.globals.dataChanged=!0,i&&o.series.getPreviousPaths()),e&&"object"===a(e)&&(o.config=new D(e),e=C.extendArrayProps(o.config,e,u),o.w.globals.chartID!==t.ctx.w.globals.chartID&&delete e.series,u.config=b.extend(u.config,e),r&&(u.globals.lastXAxis=e.xaxis?b.clone(e.xaxis):[],u.globals.lastYAxis=e.yaxis?b.clone(e.yaxis):[],u.globals.initialConfig=b.extend({},u.config),u.globals.initialSeries=b.clone(u.config.series))),o.update(e).then((function(){c===l.length-1&&s(o)}))}))}))}},{key:"_updateSeries",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return new Promise((function(o){var r,a=n.w;return a.globals.shouldAnimate=t,a.globals.dataChanged=!0,t&&n.ctx.series.getPreviousPaths(),a.globals.axisCharts?(0===(r=e.map((function(e,t){return n._extendSeries(e,t)}))).length&&(r=[{data:[]}]),a.config.series=r):a.config.series=e.slice(),i&&(a.globals.initialSeries=b.clone(a.config.series)),n.ctx.update().then((function(){o(n.ctx)}))}))}},{key:"_extendSeries",value:function(e,t){var n=this.w,i=n.config.series[t];return r(r({},n.config.series[t]),{},{name:e.name?e.name:i&&i.name,color:e.color?e.color:i&&i.color,type:e.type?e.type:i&&i.type,data:e.data?e.data:i&&i.data})}},{key:"toggleDataPointSelection",value:function(e,t){var n=this.w,i=null,o=".apexcharts-series[data\\:realIndex='".concat(e,"']");return n.globals.axisCharts?i=n.globals.dom.Paper.select("".concat(o," path[j='").concat(t,"'], ").concat(o," circle[j='").concat(t,"'], ").concat(o," rect[j='").concat(t,"']")).members[0]:void 0===t&&(i=n.globals.dom.Paper.select("".concat(o," path[j='").concat(e,"']")).members[0],"pie"!==n.config.chart.type&&"polarArea"!==n.config.chart.type&&"donut"!==n.config.chart.type||this.ctx.pie.pieClicked(e)),i?(new w(this.ctx).pathMouseDown(i,null),i.node?i.node:null):(console.warn("toggleDataPointSelection: Element not found"),null)}},{key:"forceXAxisUpdate",value:function(e){var t=this.w;if(["min","max"].forEach((function(n){void 0!==e.xaxis[n]&&(t.config.xaxis[n]=e.xaxis[n],t.globals.lastXAxis[n]=e.xaxis[n])})),e.xaxis.categories&&e.xaxis.categories.length&&(t.config.xaxis.categories=e.xaxis.categories),t.config.xaxis.convertedCatToNumeric){var n=new q(e);e=n.convertCatToNumericXaxis(e,this.ctx)}return e}},{key:"forceYAxisUpdate",value:function(e){var t=this.w;return t.config.chart.stacked&&"100%"===t.config.chart.stackType&&(Array.isArray(e.yaxis)?e.yaxis.forEach((function(t,n){e.yaxis[n].min=0,e.yaxis[n].max=100})):(e.yaxis.min=0,e.yaxis.max=100)),e}},{key:"revertDefaultAxisMinMax",value:function(e){var t=this,n=this.w,i=n.globals.lastXAxis,o=n.globals.lastYAxis;e&&e.xaxis&&(i=e.xaxis),e&&e.yaxis&&(o=e.yaxis),n.config.xaxis.min=i.min,n.config.xaxis.max=i.max;var r=function(e){void 0!==o[e]&&(n.config.yaxis[e].min=o[e].min,n.config.yaxis[e].max=o[e].max)};n.config.yaxis.map((function(e,i){n.globals.zoomed||void 0!==o[i]?r(i):void 0!==t.ctx.opts.yaxis[i]&&(e.min=t.ctx.opts.yaxis[i].min,e.max=t.ctx.opts.yaxis[i].max)}))}}]),e}();Ee="undefined"!=typeof window?window:void 0,Oe=function(e,t){var n=(void 0!==this?this:e).SVG=function(e){if(n.supported)return e=new n.Doc(e),n.parser.draw||n.prepare(),e};if(n.ns="http://www.w3.org/2000/svg",n.xmlns="http://www.w3.org/2000/xmlns/",n.xlink="http://www.w3.org/1999/xlink",n.svgjs="http://svgjs.dev",n.supported=!0,!n.supported)return!1;n.did=1e3,n.eid=function(e){return"Svgjs"+d(e)+n.did++},n.create=function(e){var n=t.createElementNS(this.ns,e);return n.setAttribute("id",this.eid(e)),n},n.extend=function(){var e,t;t=(e=[].slice.call(arguments)).pop();for(var i=e.length-1;i>=0;i--)if(e[i])for(var o in t)e[i].prototype[o]=t[o];n.Set&&n.Set.inherit&&n.Set.inherit()},n.invent=function(e){var t="function"==typeof e.create?e.create:function(){this.constructor.call(this,n.create(e.create))};return e.inherit&&(t.prototype=new e.inherit),e.extend&&n.extend(t,e.extend),e.construct&&n.extend(e.parent||n.Container,e.construct),t},n.adopt=function(t){return t?t.instance?t.instance:((i="svg"==t.nodeName?t.parentNode instanceof e.SVGElement?new n.Nested:new n.Doc:"linearGradient"==t.nodeName?new n.Gradient("linear"):"radialGradient"==t.nodeName?new n.Gradient("radial"):n[d(t.nodeName)]?new(n[d(t.nodeName)]):new n.Element(t)).type=t.nodeName,i.node=t,t.instance=i,i instanceof n.Doc&&i.namespace().defs(),i.setData(JSON.parse(t.getAttribute("svgjs:data"))||{}),i):null;var i},n.prepare=function(){var e=t.getElementsByTagName("body")[0],i=(e?new n.Doc(e):n.adopt(t.documentElement).nested()).size(2,0);n.parser={body:e||t.documentElement,draw:i.style("opacity:0;position:absolute;left:-100%;top:-100%;overflow:hidden").node,poly:i.polyline().node,path:i.path().node,native:n.create("svg")}},n.parser={native:n.create("svg")},t.addEventListener("DOMContentLoaded",(function(){n.parser.draw||n.prepare()}),!1),n.regex={numberAndUnit:/^([+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?)([a-z%]*)$/i,hex:/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,rgb:/rgb\((\d+),(\d+),(\d+)\)/,reference:/#([a-z0-9\-_]+)/i,transforms:/\)\s*,?\s*/,whitespace:/\s/g,isHex:/^#[a-f0-9]{3,6}$/i,isRgb:/^rgb\(/,isCss:/[^:]+:[^;]+;?/,isBlank:/^(\s+)?$/,isNumber:/^[+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,isPercent:/^-?[\d\.]+%$/,isImage:/\.(jpg|jpeg|png|gif|svg)(\?[^=]+.*)?/i,delimiter:/[\s,]+/,hyphen:/([^e])\-/gi,pathLetters:/[MLHVCSQTAZ]/gi,isPathLetter:/[MLHVCSQTAZ]/i,numbersWithDots:/((\d?\.\d+(?:e[+-]?\d+)?)((?:\.\d+(?:e[+-]?\d+)?)+))+/gi,dots:/\./g},n.utils={map:function(e,t){for(var n=e.length,i=[],o=0;o1?1:e,new n.Color({r:~~(this.r+(this.destination.r-this.r)*e),g:~~(this.g+(this.destination.g-this.g)*e),b:~~(this.b+(this.destination.b-this.b)*e)})):this}}),n.Color.test=function(e){return e+="",n.regex.isHex.test(e)||n.regex.isRgb.test(e)},n.Color.isRgb=function(e){return e&&"number"==typeof e.r&&"number"==typeof e.g&&"number"==typeof e.b},n.Color.isColor=function(e){return n.Color.isRgb(e)||n.Color.test(e)},n.Array=function(e,t){0==(e=(e||[]).valueOf()).length&&t&&(e=t.valueOf()),this.value=this.parse(e)},n.extend(n.Array,{toString:function(){return this.value.join(" ")},valueOf:function(){return this.value},parse:function(e){return e=e.valueOf(),Array.isArray(e)?e:this.split(e)}}),n.PointArray=function(e,t){n.Array.call(this,e,t||[[0,0]])},n.PointArray.prototype=new n.Array,n.PointArray.prototype.constructor=n.PointArray;for(var i={M:function(e,t,n){return t.x=n.x=e[0],t.y=n.y=e[1],["M",t.x,t.y]},L:function(e,t){return t.x=e[0],t.y=e[1],["L",e[0],e[1]]},H:function(e,t){return t.x=e[0],["H",e[0]]},V:function(e,t){return t.y=e[0],["V",e[0]]},C:function(e,t){return t.x=e[4],t.y=e[5],["C",e[0],e[1],e[2],e[3],e[4],e[5]]},Q:function(e,t){return t.x=e[2],t.y=e[3],["Q",e[0],e[1],e[2],e[3]]},Z:function(e,t,n){return t.x=n.x,t.y=n.y,["Z"]}},o="mlhvqtcsaz".split(""),r=0,s=o.length;rl);return r},bbox:function(){return n.parser.draw||n.prepare(),n.parser.path.setAttribute("d",this.toString()),n.parser.path.getBBox()}}),n.Number=n.invent({create:function(e,t){this.value=0,this.unit=t||"","number"==typeof e?this.value=isNaN(e)?0:isFinite(e)?e:e<0?-34e37:34e37:"string"==typeof e?(t=e.match(n.regex.numberAndUnit))&&(this.value=parseFloat(t[1]),"%"==t[5]?this.value/=100:"s"==t[5]&&(this.value*=1e3),this.unit=t[5]):e instanceof n.Number&&(this.value=e.valueOf(),this.unit=e.unit)},extend:{toString:function(){return("%"==this.unit?~~(1e8*this.value)/1e6:"s"==this.unit?this.value/1e3:this.value)+this.unit},toJSON:function(){return this.toString()},valueOf:function(){return this.value},plus:function(e){return e=new n.Number(e),new n.Number(this+e,this.unit||e.unit)},minus:function(e){return e=new n.Number(e),new n.Number(this-e,this.unit||e.unit)},times:function(e){return e=new n.Number(e),new n.Number(this*e,this.unit||e.unit)},divide:function(e){return e=new n.Number(e),new n.Number(this/e,this.unit||e.unit)},to:function(e){var t=new n.Number(this);return"string"==typeof e&&(t.unit=e),t},morph:function(e){return this.destination=new n.Number(e),e.relative&&(this.destination.value+=this.value),this},at:function(e){return this.destination?new n.Number(this.destination).minus(this).times(e).plus(this):this}}}),n.Element=n.invent({create:function(e){this._stroke=n.defaults.attrs.stroke,this._event=null,this.dom={},(this.node=e)&&(this.type=e.nodeName,this.node.instance=this,this._stroke=e.getAttribute("stroke")||this._stroke)},extend:{x:function(e){return this.attr("x",e)},y:function(e){return this.attr("y",e)},cx:function(e){return null==e?this.x()+this.width()/2:this.x(e-this.width()/2)},cy:function(e){return null==e?this.y()+this.height()/2:this.y(e-this.height()/2)},move:function(e,t){return this.x(e).y(t)},center:function(e,t){return this.cx(e).cy(t)},width:function(e){return this.attr("width",e)},height:function(e){return this.attr("height",e)},size:function(e,t){var i=f(this,e,t);return this.width(new n.Number(i.width)).height(new n.Number(i.height))},clone:function(e){this.writeDataToDom();var t=v(this.node.cloneNode(!0));return e?e.add(t):this.after(t),t},remove:function(){return this.parent()&&this.parent().removeElement(this),this},replace:function(e){return this.after(e).remove(),e},addTo:function(e){return e.put(this)},putIn:function(e){return e.add(this)},id:function(e){return this.attr("id",e)},show:function(){return this.style("display","")},hide:function(){return this.style("display","none")},visible:function(){return"none"!=this.style("display")},toString:function(){return this.attr("id")},classes:function(){var e=this.attr("class");return null==e?[]:e.trim().split(n.regex.delimiter)},hasClass:function(e){return-1!=this.classes().indexOf(e)},addClass:function(e){if(!this.hasClass(e)){var t=this.classes();t.push(e),this.attr("class",t.join(" "))}return this},removeClass:function(e){return this.hasClass(e)&&this.attr("class",this.classes().filter((function(t){return t!=e})).join(" ")),this},toggleClass:function(e){return this.hasClass(e)?this.removeClass(e):this.addClass(e)},reference:function(e){return n.get(this.attr(e))},parent:function(t){var i=this;if(!i.node.parentNode)return null;if(i=n.adopt(i.node.parentNode),!t)return i;for(;i&&i.node instanceof e.SVGElement;){if("string"==typeof t?i.matches(t):i instanceof t)return i;if(!i.node.parentNode||"#document"==i.node.parentNode.nodeName)return null;i=n.adopt(i.node.parentNode)}},doc:function(){return this instanceof n.Doc?this:this.parent(n.Doc)},parents:function(e){var t=[],n=this;do{if(!(n=n.parent(e))||!n.node)break;t.push(n)}while(n.parent);return t},matches:function(e){return function(e,t){return(e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.oMatchesSelector).call(e,t)}(this.node,e)},native:function(){return this.node},svg:function(e){var i=t.createElement("svg");if(!(e&&this instanceof n.Parent))return i.appendChild(e=t.createElement("svg")),this.writeDataToDom(),e.appendChild(this.node.cloneNode(!0)),i.innerHTML.replace(/^/,"").replace(/<\/svg>$/,"");i.innerHTML=""+e.replace(/\n/,"").replace(/<([\w:-]+)([^<]+?)\/>/g,"<$1$2>")+"";for(var o=0,r=i.firstChild.childNodes.length;o":function(e){return-Math.cos(e*Math.PI)/2+.5},">":function(e){return Math.sin(e*Math.PI/2)},"<":function(e){return 1-Math.cos(e*Math.PI/2)}},n.morph=function(e){return function(t,i){return new n.MorphObj(t,i).at(e)}},n.Situation=n.invent({create:function(e){this.init=!1,this.reversed=!1,this.reversing=!1,this.duration=new n.Number(e.duration).valueOf(),this.delay=new n.Number(e.delay).valueOf(),this.start=+new Date+this.delay,this.finish=this.start+this.duration,this.ease=e.ease,this.loop=0,this.loops=!1,this.animations={},this.attrs={},this.styles={},this.transforms=[],this.once={}}}),n.FX=n.invent({create:function(e){this._target=e,this.situations=[],this.active=!1,this.situation=null,this.paused=!1,this.lastPos=0,this.pos=0,this.absPos=0,this._speed=1},extend:{animate:function(e,t,i){"object"===a(e)&&(t=e.ease,i=e.delay,e=e.duration);var o=new n.Situation({duration:e||1e3,delay:i||0,ease:n.easing[t||"-"]||t});return this.queue(o),this},target:function(e){return e&&e instanceof n.Element?(this._target=e,this):this._target},timeToAbsPos:function(e){return(e-this.situation.start)/(this.situation.duration/this._speed)},absPosToTime:function(e){return this.situation.duration/this._speed*e+this.situation.start},startAnimFrame:function(){this.stopAnimFrame(),this.animationFrame=e.requestAnimationFrame(function(){this.step()}.bind(this))},stopAnimFrame:function(){e.cancelAnimationFrame(this.animationFrame)},start:function(){return!this.active&&this.situation&&(this.active=!0,this.startCurrent()),this},startCurrent:function(){return this.situation.start=+new Date+this.situation.delay/this._speed,this.situation.finish=this.situation.start+this.situation.duration/this._speed,this.initAnimations().step()},queue:function(e){return("function"==typeof e||e instanceof n.Situation)&&this.situations.push(e),this.situation||(this.situation=this.situations.shift()),this},dequeue:function(){return this.stop(),this.situation=this.situations.shift(),this.situation&&(this.situation instanceof n.Situation?this.start():this.situation.call(this)),this},initAnimations:function(){var e,t=this.situation;if(t.init)return this;for(var i in t.animations){e=this.target()[i](),Array.isArray(e)||(e=[e]),Array.isArray(t.animations[i])||(t.animations[i]=[t.animations[i]]);for(var o=e.length;o--;)t.animations[i][o]instanceof n.Number&&(e[o]=new n.Number(e[o])),t.animations[i][o]=e[o].morph(t.animations[i][o])}for(var i in t.attrs)t.attrs[i]=new n.MorphObj(this.target().attr(i),t.attrs[i]);for(var i in t.styles)t.styles[i]=new n.MorphObj(this.target().style(i),t.styles[i]);return t.initialTransformation=this.target().matrixify(),t.init=!0,this},clearQueue:function(){return this.situations=[],this},clearCurrent:function(){return this.situation=null,this},stop:function(e,t){var n=this.active;return this.active=!1,t&&this.clearQueue(),e&&this.situation&&(!n&&this.startCurrent(),this.atEnd()),this.stopAnimFrame(),this.clearCurrent()},after:function(e){var t=this.last();return this.target().on("finished.fx",(function n(i){i.detail.situation==t&&(e.call(this,t),this.off("finished.fx",n))})),this._callStart()},during:function(e){var t=this.last(),i=function(i){i.detail.situation==t&&e.call(this,i.detail.pos,n.morph(i.detail.pos),i.detail.eased,t)};return this.target().off("during.fx",i).on("during.fx",i),this.after((function(){this.off("during.fx",i)})),this._callStart()},afterAll:function(e){var t=function t(n){e.call(this),this.off("allfinished.fx",t)};return this.target().off("allfinished.fx",t).on("allfinished.fx",t),this._callStart()},last:function(){return this.situations.length?this.situations[this.situations.length-1]:this.situation},add:function(e,t,n){return this.last()[n||"animations"][e]=t,this._callStart()},step:function(e){var t,n,i;e||(this.absPos=this.timeToAbsPos(+new Date)),!1!==this.situation.loops?(t=Math.max(this.absPos,0),n=Math.floor(t),!0===this.situation.loops||nthis.lastPos&&r<=o&&(this.situation.once[r].call(this.target(),this.pos,o),delete this.situation.once[r]);return this.active&&this.target().fire("during",{pos:this.pos,eased:o,fx:this,situation:this.situation}),this.situation?(this.eachAt(),1==this.pos&&!this.situation.reversed||this.situation.reversed&&0==this.pos?(this.stopAnimFrame(),this.target().fire("finished",{fx:this,situation:this.situation}),this.situations.length||(this.target().fire("allfinished"),this.situations.length||(this.target().off(".fx"),this.active=!1)),this.active?this.dequeue():this.clearCurrent()):!this.paused&&this.active&&this.startAnimFrame(),this.lastPos=o,this):this},eachAt:function(){var e,t=this,i=this.target(),o=this.situation;for(var r in o.animations)e=[].concat(o.animations[r]).map((function(e){return"string"!=typeof e&&e.at?e.at(o.ease(t.pos),t.pos):e})),i[r].apply(i,e);for(var r in o.attrs)e=[r].concat(o.attrs[r]).map((function(e){return"string"!=typeof e&&e.at?e.at(o.ease(t.pos),t.pos):e})),i.attr.apply(i,e);for(var r in o.styles)e=[r].concat(o.styles[r]).map((function(e){return"string"!=typeof e&&e.at?e.at(o.ease(t.pos),t.pos):e})),i.style.apply(i,e);if(o.transforms.length){e=o.initialTransformation,r=0;for(var a=o.transforms.length;r=0;--i)this[x[i]]=null!=e[x[i]]?e[x[i]]:t[x[i]]},extend:{extract:function(){var e=p(this,0,1);p(this,1,0);var t=180/Math.PI*Math.atan2(e.y,e.x)-90;return{x:this.e,y:this.f,transformedX:(this.e*Math.cos(t*Math.PI/180)+this.f*Math.sin(t*Math.PI/180))/Math.sqrt(this.a*this.a+this.b*this.b),transformedY:(this.f*Math.cos(t*Math.PI/180)+this.e*Math.sin(-t*Math.PI/180))/Math.sqrt(this.c*this.c+this.d*this.d),rotation:t,a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f,matrix:new n.Matrix(this)}},clone:function(){return new n.Matrix(this)},morph:function(e){return this.destination=new n.Matrix(e),this},multiply:function(e){return new n.Matrix(this.native().multiply(function(e){return e instanceof n.Matrix||(e=new n.Matrix(e)),e}(e).native()))},inverse:function(){return new n.Matrix(this.native().inverse())},translate:function(e,t){return new n.Matrix(this.native().translate(e||0,t||0))},native:function(){for(var e=n.parser.native.createSVGMatrix(),t=x.length-1;t>=0;t--)e[x[t]]=this[x[t]];return e},toString:function(){return"matrix("+b(this.a)+","+b(this.b)+","+b(this.c)+","+b(this.d)+","+b(this.e)+","+b(this.f)+")"}},parent:n.Element,construct:{ctm:function(){return new n.Matrix(this.node.getCTM())},screenCTM:function(){if(this instanceof n.Nested){var e=this.rect(1,1),t=e.node.getScreenCTM();return e.remove(),new n.Matrix(t)}return new n.Matrix(this.node.getScreenCTM())}}}),n.Point=n.invent({create:function(e,t){var n;n=Array.isArray(e)?{x:e[0],y:e[1]}:"object"===a(e)?{x:e.x,y:e.y}:null!=e?{x:e,y:null!=t?t:e}:{x:0,y:0},this.x=n.x,this.y=n.y},extend:{clone:function(){return new n.Point(this)},morph:function(e,t){return this.destination=new n.Point(e,t),this}}}),n.extend(n.Element,{point:function(e,t){return new n.Point(e,t).transform(this.screenCTM().inverse())}}),n.extend(n.Element,{attr:function(e,t,i){if(null==e){for(e={},i=(t=this.node.attributes).length-1;i>=0;i--)e[t[i].nodeName]=n.regex.isNumber.test(t[i].nodeValue)?parseFloat(t[i].nodeValue):t[i].nodeValue;return e}if("object"===a(e))for(var o in e)this.attr(o,e[o]);else if(null===t)this.node.removeAttribute(e);else{if(null==t)return null==(t=this.node.getAttribute(e))?n.defaults.attrs[e]:n.regex.isNumber.test(t)?parseFloat(t):t;"stroke-width"==e?this.attr("stroke",parseFloat(t)>0?this._stroke:null):"stroke"==e&&(this._stroke=t),"fill"!=e&&"stroke"!=e||(n.regex.isImage.test(t)&&(t=this.doc().defs().image(t,0,0)),t instanceof n.Image&&(t=this.doc().defs().pattern(0,0,(function(){this.add(t)})))),"number"==typeof t?t=new n.Number(t):n.Color.isColor(t)?t=new n.Color(t):Array.isArray(t)&&(t=new n.Array(t)),"leading"==e?this.leading&&this.leading(t):"string"==typeof i?this.node.setAttributeNS(i,e,t.toString()):this.node.setAttribute(e,t.toString()),!this.rebuild||"font-size"!=e&&"x"!=e||this.rebuild(e,t)}return this}}),n.extend(n.Element,{transform:function(e,t){var i;return"object"!==a(e)?(i=new n.Matrix(this).extract(),"string"==typeof e?i[e]:i):(i=new n.Matrix(this),t=!!t||!!e.relative,null!=e.a&&(i=t?i.multiply(new n.Matrix(e)):new n.Matrix(e)),this.attr("transform",i))}}),n.extend(n.Element,{untransform:function(){return this.attr("transform",null)},matrixify:function(){return(this.attr("transform")||"").split(n.regex.transforms).slice(0,-1).map((function(e){var t=e.trim().split("(");return[t[0],t[1].split(n.regex.delimiter).map((function(e){return parseFloat(e)}))]})).reduce((function(e,t){return"matrix"==t[0]?e.multiply(g(t[1])):e[t[0]].apply(e,t[1])}),new n.Matrix)},toParent:function(e){if(this==e)return this;var t=this.screenCTM(),n=e.screenCTM().inverse();return this.addTo(e).untransform().transform(n.multiply(t)),this},toDoc:function(){return this.toParent(this.doc())}}),n.Transformation=n.invent({create:function(e,t){if(arguments.length>1&&"boolean"!=typeof t)return this.constructor.call(this,[].slice.call(arguments));if(Array.isArray(e))for(var n=0,i=this.arguments.length;n=0},index:function(e){return[].slice.call(this.node.childNodes).indexOf(e.node)},get:function(e){return n.adopt(this.node.childNodes[e])},first:function(){return this.get(0)},last:function(){return this.get(this.node.childNodes.length-1)},each:function(e,t){for(var i=this.children(),o=0,r=i.length;o=0;i--)t.childNodes[i]instanceof e.SVGElement&&v(t.childNodes[i]);return n.adopt(t).id(n.eid(t.nodeName))}function m(e){return null==e.x&&(e.x=0,e.y=0,e.width=0,e.height=0),e.w=e.width,e.h=e.height,e.x2=e.x+e.width,e.y2=e.y+e.height,e.cx=e.x+e.width/2,e.cy=e.y+e.height/2,e}function b(e){return Math.abs(e)>1e-37?e:0}["fill","stroke"].forEach((function(e){var t={};t[e]=function(t){if(void 0===t)return this;if("string"==typeof t||n.Color.isRgb(t)||t&&"function"==typeof t.fill)this.attr(e,t);else for(var i=l[e].length-1;i>=0;i--)null!=t[l[e][i]]&&this.attr(l.prefix(e,l[e][i]),t[l[e][i]]);return this},n.extend(n.Element,n.FX,t)})),n.extend(n.Element,n.FX,{translate:function(e,t){return this.transform({x:e,y:t})},matrix:function(e){return this.attr("transform",new n.Matrix(6==arguments.length?[].slice.call(arguments):e))},opacity:function(e){return this.attr("opacity",e)},dx:function(e){return this.x(new n.Number(e).plus(this instanceof n.FX?0:this.x()),!0)},dy:function(e){return this.y(new n.Number(e).plus(this instanceof n.FX?0:this.y()),!0)}}),n.extend(n.Path,{length:function(){return this.node.getTotalLength()},pointAt:function(e){return this.node.getPointAtLength(e)}}),n.Set=n.invent({create:function(e){Array.isArray(e)?this.members=e:this.clear()},extend:{add:function(){for(var e=[].slice.call(arguments),t=0,n=e.length;t-1&&this.members.splice(t,1),this},each:function(e){for(var t=0,n=this.members.length;t=0},index:function(e){return this.members.indexOf(e)},get:function(e){return this.members[e]},first:function(){return this.get(0)},last:function(){return this.get(this.members.length-1)},valueOf:function(){return this.members}},construct:{set:function(e){return new n.Set(e)}}}),n.FX.Set=n.invent({create:function(e){this.set=e}}),n.Set.inherit=function(){var e=[];for(var t in n.Shape.prototype)"function"==typeof n.Shape.prototype[t]&&"function"!=typeof n.Set.prototype[t]&&e.push(t);for(var t in e.forEach((function(e){n.Set.prototype[e]=function(){for(var t=0,i=this.members.length;t=0;e--)delete this.memory()[arguments[e]];return this},memory:function(){return this._memory||(this._memory={})}}),n.get=function(e){var i=t.getElementById(function(e){var t=(e||"").toString().match(n.regex.reference);if(t)return t[1]}(e)||e);return n.adopt(i)},n.select=function(e,i){return new n.Set(n.utils.map((i||t).querySelectorAll(e),(function(e){return n.adopt(e)})))},n.extend(n.Parent,{select:function(e){return n.select(e,this.node)}});var x="abcdef".split("");if("function"!=typeof e.CustomEvent){var y=function(e,n){n=n||{bubbles:!1,cancelable:!1,detail:void 0};var i=t.createEvent("CustomEvent");return i.initCustomEvent(e,n.bubbles,n.cancelable,n.detail),i};y.prototype=e.Event.prototype,n.CustomEvent=y}else n.CustomEvent=e.CustomEvent;return n},i=function(){return Oe(Ee,Ee.document)}.call(t,n,t,e),void 0!==i&&(e.exports=i), +/*! svg.filter.js - v2.0.2 - 2016-02-24 +* https://github.com/wout/svg.filter.js +* Copyright (c) 2016 Wout Fierens; Licensed MIT */ +function(){SVG.Filter=SVG.invent({create:"filter",inherit:SVG.Parent,extend:{source:"SourceGraphic",sourceAlpha:"SourceAlpha",background:"BackgroundImage",backgroundAlpha:"BackgroundAlpha",fill:"FillPaint",stroke:"StrokePaint",autoSetIn:!0,put:function(e,t){return this.add(e,t),!e.attr("in")&&this.autoSetIn&&e.attr("in",this.source),e.attr("result")||e.attr("result",e),e},blend:function(e,t,n){return this.put(new SVG.BlendEffect(e,t,n))},colorMatrix:function(e,t){return this.put(new SVG.ColorMatrixEffect(e,t))},convolveMatrix:function(e){return this.put(new SVG.ConvolveMatrixEffect(e))},componentTransfer:function(e){return this.put(new SVG.ComponentTransferEffect(e))},composite:function(e,t,n){return this.put(new SVG.CompositeEffect(e,t,n))},flood:function(e,t){return this.put(new SVG.FloodEffect(e,t))},offset:function(e,t){return this.put(new SVG.OffsetEffect(e,t))},image:function(e){return this.put(new SVG.ImageEffect(e))},merge:function(){var e=[void 0];for(var t in arguments)e.push(arguments[t]);return this.put(new(SVG.MergeEffect.bind.apply(SVG.MergeEffect,e)))},gaussianBlur:function(e,t){return this.put(new SVG.GaussianBlurEffect(e,t))},morphology:function(e,t){return this.put(new SVG.MorphologyEffect(e,t))},diffuseLighting:function(e,t,n){return this.put(new SVG.DiffuseLightingEffect(e,t,n))},displacementMap:function(e,t,n,i,o){return this.put(new SVG.DisplacementMapEffect(e,t,n,i,o))},specularLighting:function(e,t,n,i){return this.put(new SVG.SpecularLightingEffect(e,t,n,i))},tile:function(){return this.put(new SVG.TileEffect)},turbulence:function(e,t,n,i,o){return this.put(new SVG.TurbulenceEffect(e,t,n,i,o))},toString:function(){return"url(#"+this.attr("id")+")"}}}),SVG.extend(SVG.Defs,{filter:function(e){var t=this.put(new SVG.Filter);return"function"==typeof e&&e.call(t,t),t}}),SVG.extend(SVG.Container,{filter:function(e){return this.defs().filter(e)}}),SVG.extend(SVG.Element,SVG.G,SVG.Nested,{filter:function(e){return this.filterer=e instanceof SVG.Element?e:this.doc().filter(e),this.doc()&&this.filterer.doc()!==this.doc()&&this.doc().defs().add(this.filterer),this.attr("filter",this.filterer),this.filterer},unfilter:function(e){return this.filterer&&!0===e&&this.filterer.remove(),delete this.filterer,this.attr("filter",null)}}),SVG.Effect=SVG.invent({create:function(){this.constructor.call(this)},inherit:SVG.Element,extend:{in:function(e){return null==e?this.parent()&&this.parent().select('[result="'+this.attr("in")+'"]').get(0)||this.attr("in"):this.attr("in",e)},result:function(e){return null==e?this.attr("result"):this.attr("result",e)},toString:function(){return this.result()}}}),SVG.ParentEffect=SVG.invent({create:function(){this.constructor.call(this)},inherit:SVG.Parent,extend:{in:function(e){return null==e?this.parent()&&this.parent().select('[result="'+this.attr("in")+'"]').get(0)||this.attr("in"):this.attr("in",e)},result:function(e){return null==e?this.attr("result"):this.attr("result",e)},toString:function(){return this.result()}}});var e={blend:function(e,t){return this.parent()&&this.parent().blend(this,e,t)},colorMatrix:function(e,t){return this.parent()&&this.parent().colorMatrix(e,t).in(this)},convolveMatrix:function(e){return this.parent()&&this.parent().convolveMatrix(e).in(this)},componentTransfer:function(e){return this.parent()&&this.parent().componentTransfer(e).in(this)},composite:function(e,t){return this.parent()&&this.parent().composite(this,e,t)},flood:function(e,t){return this.parent()&&this.parent().flood(e,t)},offset:function(e,t){return this.parent()&&this.parent().offset(e,t).in(this)},image:function(e){return this.parent()&&this.parent().image(e)},merge:function(){return this.parent()&&this.parent().merge.apply(this.parent(),[this].concat(arguments))},gaussianBlur:function(e,t){return this.parent()&&this.parent().gaussianBlur(e,t).in(this)},morphology:function(e,t){return this.parent()&&this.parent().morphology(e,t).in(this)},diffuseLighting:function(e,t,n){return this.parent()&&this.parent().diffuseLighting(e,t,n).in(this)},displacementMap:function(e,t,n,i){return this.parent()&&this.parent().displacementMap(this,e,t,n,i)},specularLighting:function(e,t,n,i){return this.parent()&&this.parent().specularLighting(e,t,n,i).in(this)},tile:function(){return this.parent()&&this.parent().tile().in(this)},turbulence:function(e,t,n,i,o){return this.parent()&&this.parent().turbulence(e,t,n,i,o).in(this)}};SVG.extend(SVG.Effect,e),SVG.extend(SVG.ParentEffect,e),SVG.ChildEffect=SVG.invent({create:function(){this.constructor.call(this)},inherit:SVG.Element,extend:{in:function(e){this.attr("in",e)}}});var t={blend:function(e,t,n){this.attr({in:e,in2:t,mode:n||"normal"})},colorMatrix:function(e,t){"matrix"==e&&(t=o(t)),this.attr({type:e,values:void 0===t?null:t})},convolveMatrix:function(e){e=o(e),this.attr({order:Math.sqrt(e.split(" ").length),kernelMatrix:e})},composite:function(e,t,n){this.attr({in:e,in2:t,operator:n})},flood:function(e,t){this.attr("flood-color",e),null!=t&&this.attr("flood-opacity",t)},offset:function(e,t){this.attr({dx:e,dy:t})},image:function(e){this.attr("href",e,SVG.xlink)},displacementMap:function(e,t,n,i,o){this.attr({in:e,in2:t,scale:n,xChannelSelector:i,yChannelSelector:o})},gaussianBlur:function(e,t){null!=e||null!=t?this.attr("stdDeviation",r(Array.prototype.slice.call(arguments))):this.attr("stdDeviation","0 0")},morphology:function(e,t){this.attr({operator:e,radius:t})},tile:function(){},turbulence:function(e,t,n,i,o){this.attr({numOctaves:t,seed:n,stitchTiles:i,baseFrequency:e,type:o})}},n={merge:function(){var e;if(arguments[0]instanceof SVG.Set){var t=this;arguments[0].each((function(e){this instanceof SVG.MergeNode?t.put(this):(this instanceof SVG.Effect||this instanceof SVG.ParentEffect)&&t.put(new SVG.MergeNode(this))}))}else{e=Array.isArray(arguments[0])?arguments[0]:arguments;for(var n=0;n1&&(L*=i=Math.sqrt(i),j*=i),o=(new SVG.Matrix).rotate(T).scale(1/L,1/j).rotate(-T),R=R.transform(o),I=I.transform(o),r=[I.x-R.x,I.y-R.y],s=r[0]*r[0]+r[1]*r[1],a=Math.sqrt(s),r[0]/=a,r[1]/=a,l=s<4?Math.sqrt(1-s/4):0,F===E&&(l*=-1),c=new SVG.Point((I.x+R.x)/2+l*-r[1],(I.y+R.y)/2+l*r[0]),u=new SVG.Point(R.x-c.x,R.y-c.y),d=new SVG.Point(I.x-c.x,I.y-c.y),h=Math.acos(u.x/Math.sqrt(u.x*u.x+u.y*u.y)),u.y<0&&(h*=-1),f=Math.acos(d.x/Math.sqrt(d.x*d.x+d.y*d.y)),d.y<0&&(f*=-1),E&&h>f&&(f+=2*Math.PI),!E&&hr.maxX-t.width&&(a=(i=r.maxX-t.width)-this.startPoints.box.x),null!=r.minY&&or.maxY-t.height&&(s=(o=r.maxY-t.height)-this.startPoints.box.y),null!=r.snapToGrid&&(i-=i%r.snapToGrid,o-=o%r.snapToGrid,a-=a%r.snapToGrid,s-=s%r.snapToGrid),this.el instanceof SVG.G?this.el.matrix(this.startPoints.transform).transform({x:a,y:s},!0):this.el.move(i,o));return n},e.prototype.end=function(e){var t=this.drag(e);this.el.fire("dragend",{event:e,p:t,m:this.m,handler:this}),SVG.off(window,"mousemove.drag"),SVG.off(window,"touchmove.drag"),SVG.off(window,"mouseup.drag"),SVG.off(window,"touchend.drag")},SVG.extend(SVG.Element,{draggable:function(t,n){"function"!=typeof t&&"object"!=typeof t||(n=t,t=!0);var i=this.remember("_draggable")||new e(this);return(t=void 0===t||t)?i.init(n||{},t):(this.off("mousedown.drag"),this.off("touchstart.drag")),this}})}.call(void 0),function(){function e(e){this.el=e,e.remember("_selectHandler",this),this.pointSelection={isSelected:!1},this.rectSelection={isSelected:!1},this.pointsList={lt:[0,0],rt:["width",0],rb:["width","height"],lb:[0,"height"],t:["width",0],r:["width","height"],b:["width","height"],l:[0,"height"]},this.pointCoord=function(e,t,n){var i="string"!=typeof e?e:t[e];return n?i/2:i},this.pointCoords=function(e,t){var n=this.pointsList[e];return{x:this.pointCoord(n[0],t,"t"===e||"b"===e),y:this.pointCoord(n[1],t,"r"===e||"l"===e)}}}e.prototype.init=function(e,t){var n=this.el.bbox();this.options={};var i=this.el.selectize.defaults.points;for(var o in this.el.selectize.defaults)this.options[o]=this.el.selectize.defaults[o],void 0!==t[o]&&(this.options[o]=t[o]);var r=["points","pointsExclude"];for(var o in r){var a=this.options[r[o]];"string"==typeof a?a=a.length>0?a.split(/\s*,\s*/i):[]:"boolean"==typeof a&&"points"===r[o]&&(a=a?i:[]),this.options[r[o]]=a}this.options.points=[i,this.options.points].reduce((function(e,t){return e.filter((function(e){return t.indexOf(e)>-1}))})),this.options.points=[this.options.points,this.options.pointsExclude].reduce((function(e,t){return e.filter((function(e){return t.indexOf(e)<0}))})),this.parent=this.el.parent(),this.nested=this.nested||this.parent.group(),this.nested.matrix(new SVG.Matrix(this.el).translate(n.x,n.y)),this.options.deepSelect&&-1!==["line","polyline","polygon"].indexOf(this.el.type)?this.selectPoints(e):this.selectRect(e),this.observe(),this.cleanup()},e.prototype.selectPoints=function(e){return this.pointSelection.isSelected=e,this.pointSelection.set||(this.pointSelection.set=this.parent.set(),this.drawPoints()),this},e.prototype.getPointArray=function(){var e=this.el.bbox();return this.el.array().valueOf().map((function(t){return[t[0]-e.x,t[1]-e.y]}))},e.prototype.drawPoints=function(){for(var e=this,t=this.getPointArray(),n=0,i=t.length;n0&&this.parameters.box.height-n[1]>0){if("text"===this.parameters.type)return this.el.move(this.parameters.box.x+n[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize-n[0]);n=this.checkAspectRatio(n),this.el.move(this.parameters.box.x+n[0],this.parameters.box.y+n[1]).size(this.parameters.box.width-n[0],this.parameters.box.height-n[1])}};break;case"rt":this.calc=function(e,t){var n=this.snapToGrid(e,t,2);if(this.parameters.box.width+n[0]>0&&this.parameters.box.height-n[1]>0){if("text"===this.parameters.type)return this.el.move(this.parameters.box.x-n[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize+n[0]);n=this.checkAspectRatio(n,!0),this.el.move(this.parameters.box.x,this.parameters.box.y+n[1]).size(this.parameters.box.width+n[0],this.parameters.box.height-n[1])}};break;case"rb":this.calc=function(e,t){var n=this.snapToGrid(e,t,0);if(this.parameters.box.width+n[0]>0&&this.parameters.box.height+n[1]>0){if("text"===this.parameters.type)return this.el.move(this.parameters.box.x-n[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize+n[0]);n=this.checkAspectRatio(n),this.el.move(this.parameters.box.x,this.parameters.box.y).size(this.parameters.box.width+n[0],this.parameters.box.height+n[1])}};break;case"lb":this.calc=function(e,t){var n=this.snapToGrid(e,t,1);if(this.parameters.box.width-n[0]>0&&this.parameters.box.height+n[1]>0){if("text"===this.parameters.type)return this.el.move(this.parameters.box.x+n[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize-n[0]);n=this.checkAspectRatio(n,!0),this.el.move(this.parameters.box.x+n[0],this.parameters.box.y).size(this.parameters.box.width-n[0],this.parameters.box.height+n[1])}};break;case"t":this.calc=function(e,t){var n=this.snapToGrid(e,t,2);if(this.parameters.box.height-n[1]>0){if("text"===this.parameters.type)return;this.el.move(this.parameters.box.x,this.parameters.box.y+n[1]).height(this.parameters.box.height-n[1])}};break;case"r":this.calc=function(e,t){var n=this.snapToGrid(e,t,0);if(this.parameters.box.width+n[0]>0){if("text"===this.parameters.type)return;this.el.move(this.parameters.box.x,this.parameters.box.y).width(this.parameters.box.width+n[0])}};break;case"b":this.calc=function(e,t){var n=this.snapToGrid(e,t,0);if(this.parameters.box.height+n[1]>0){if("text"===this.parameters.type)return;this.el.move(this.parameters.box.x,this.parameters.box.y).height(this.parameters.box.height+n[1])}};break;case"l":this.calc=function(e,t){var n=this.snapToGrid(e,t,1);if(this.parameters.box.width-n[0]>0){if("text"===this.parameters.type)return;this.el.move(this.parameters.box.x+n[0],this.parameters.box.y).width(this.parameters.box.width-n[0])}};break;case"rot":this.calc=function(e,t){var n=e+this.parameters.p.x,i=t+this.parameters.p.y,o=Math.atan2(this.parameters.p.y-this.parameters.box.y-this.parameters.box.height/2,this.parameters.p.x-this.parameters.box.x-this.parameters.box.width/2),r=Math.atan2(i-this.parameters.box.y-this.parameters.box.height/2,n-this.parameters.box.x-this.parameters.box.width/2),a=this.parameters.rotation+180*(r-o)/Math.PI+this.options.snapToAngle/2;this.el.center(this.parameters.box.cx,this.parameters.box.cy).rotate(a-a%this.options.snapToAngle,this.parameters.box.cx,this.parameters.box.cy)};break;case"point":this.calc=function(e,t){var n=this.snapToGrid(e,t,this.parameters.pointCoords[0],this.parameters.pointCoords[1]),i=this.el.array().valueOf();i[this.parameters.i][0]=this.parameters.pointCoords[0]+n[0],i[this.parameters.i][1]=this.parameters.pointCoords[1]+n[1],this.el.plot(i)}}this.el.fire("resizestart",{dx:this.parameters.x,dy:this.parameters.y,event:e}),SVG.on(window,"touchmove.resize",(function(e){t.update(e||window.event)})),SVG.on(window,"touchend.resize",(function(){t.done()})),SVG.on(window,"mousemove.resize",(function(e){t.update(e||window.event)})),SVG.on(window,"mouseup.resize",(function(){t.done()}))},e.prototype.update=function(e){if(e){var t=this._extractPosition(e),n=this.transformPoint(t.x,t.y),i=n.x-this.parameters.p.x,o=n.y-this.parameters.p.y;this.lastUpdateCall=[i,o],this.calc(i,o),this.el.fire("resizing",{dx:i,dy:o,event:e})}else this.lastUpdateCall&&this.calc(this.lastUpdateCall[0],this.lastUpdateCall[1])},e.prototype.done=function(){this.lastUpdateCall=null,SVG.off(window,"mousemove.resize"),SVG.off(window,"mouseup.resize"),SVG.off(window,"touchmove.resize"),SVG.off(window,"touchend.resize"),this.el.fire("resizedone")},e.prototype.snapToGrid=function(e,t,n,i){var o;return void 0!==i?o=[(n+e)%this.options.snapToGrid,(i+t)%this.options.snapToGrid]:(n=null==n?3:n,o=[(this.parameters.box.x+e+(1&n?0:this.parameters.box.width))%this.options.snapToGrid,(this.parameters.box.y+t+(2&n?0:this.parameters.box.height))%this.options.snapToGrid]),e<0&&(o[0]-=this.options.snapToGrid),t<0&&(o[1]-=this.options.snapToGrid),e-=Math.abs(o[0])a.maxX&&(e=a.maxX-o),void 0!==a.minY&&r+ta.maxY&&(t=a.maxY-r),[e,t]},e.prototype.checkAspectRatio=function(e,t){if(!this.options.saveAspectRatio)return e;var n=e.slice(),i=this.parameters.box.width/this.parameters.box.height,o=this.parameters.box.width+e[0],r=this.parameters.box.height-e[1],a=o/r;return ai&&(n[0]=this.parameters.box.width-r*i,t&&(n[0]=-n[0])),n},SVG.extend(SVG.Element,{resize:function(t){return(this.remember("_resizeHandler")||new e(this)).init(t||{}),this}}),SVG.Element.prototype.resize.defaults={snapToAngle:.1,snapToGrid:1,constraint:{},saveAspectRatio:!1}}).call(this)}(),void 0===window.Apex&&(window.Apex={});var He=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"initModules",value:function(){this.ctx.publicMethods=["updateOptions","updateSeries","appendData","appendSeries","toggleSeries","showSeries","hideSeries","setLocale","resetSeries","zoomX","toggleDataPointSelection","dataURI","addXaxisAnnotation","addYaxisAnnotation","addPointAnnotation","clearAnnotations","removeAnnotation","paper","destroy"],this.ctx.eventList=["click","mousedown","mousemove","mouseleave","touchstart","touchmove","touchleave","mouseup","touchend"],this.ctx.animations=new x(this.ctx),this.ctx.axes=new te(this.ctx),this.ctx.core=new Ie(this.ctx.el,this.ctx),this.ctx.config=new D({}),this.ctx.data=new X(this.ctx),this.ctx.grid=new Z(this.ctx),this.ctx.graphics=new w(this.ctx),this.ctx.coreUtils=new C(this.ctx),this.ctx.crosshairs=new ne(this.ctx),this.ctx.events=new Q(this.ctx),this.ctx.exports=new $(this.ctx),this.ctx.localization=new ee(this.ctx),this.ctx.options=new L,this.ctx.responsive=new ie(this.ctx),this.ctx.series=new R(this.ctx),this.ctx.theme=new oe(this.ctx),this.ctx.formatters=new V(this.ctx),this.ctx.titleSubtitle=new re(this.ctx),this.ctx.legend=new he(this.ctx),this.ctx.toolbar=new fe(this.ctx),this.ctx.dimensions=new ue(this.ctx),this.ctx.updateHelpers=new ze(this.ctx),this.ctx.zoomPanSelection=new pe(this.ctx),this.ctx.w.globals.tooltip=new we(this.ctx)}}]),e}(),Ne=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"clear",value:function(e){var t=e.isUpdating;this.ctx.zoomPanSelection&&this.ctx.zoomPanSelection.destroy(),this.ctx.toolbar&&this.ctx.toolbar.destroy(),this.ctx.animations=null,this.ctx.axes=null,this.ctx.annotations=null,this.ctx.core=null,this.ctx.data=null,this.ctx.grid=null,this.ctx.series=null,this.ctx.responsive=null,this.ctx.theme=null,this.ctx.formatters=null,this.ctx.titleSubtitle=null,this.ctx.legend=null,this.ctx.dimensions=null,this.ctx.options=null,this.ctx.crosshairs=null,this.ctx.zoomPanSelection=null,this.ctx.updateHelpers=null,this.ctx.toolbar=null,this.ctx.localization=null,this.ctx.w.globals.tooltip=null,this.clearDomElements({isUpdating:t})}},{key:"killSVG",value:function(e){e.each((function(e,t){this.removeClass("*"),this.off(),this.stop()}),!0),e.ungroup(),e.clear()}},{key:"clearDomElements",value:function(e){var t=this,n=e.isUpdating,i=this.w.globals.dom.Paper.node;i.parentNode&&i.parentNode.parentNode&&!n&&(i.parentNode.parentNode.style.minHeight="unset");var o=this.w.globals.dom.baseEl;o&&this.ctx.eventList.forEach((function(e){o.removeEventListener(e,t.ctx.events.documentEvent)}));var r=this.w.globals.dom;if(null!==this.ctx.el)for(;this.ctx.el.firstChild;)this.ctx.el.removeChild(this.ctx.el.firstChild);this.killSVG(r.Paper),r.Paper.remove(),r.elWrap=null,r.elGraphical=null,r.elAnnotations=null,r.elLegendWrap=null,r.baseEl=null,r.elGridRect=null,r.elGridRectMask=null,r.elGridRectMarkerMask=null,r.elForecastMask=null,r.elNonForecastMask=null,r.elDefs=null}}]),e}(),qe=new WeakMap,De=function(){function e(t,n){s(this,e),this.opts=n,this.ctx=this,this.w=new Y(n).init(),this.el=t,this.w.globals.cuid=b.randomId(),this.w.globals.chartID=this.w.config.chart.id?b.escapeString(this.w.config.chart.id):this.w.globals.cuid,new He(this).initModules(),this.create=b.bind(this.create,this),this.windowResizeHandler=this._windowResizeHandler.bind(this),this.parentResizeHandler=this._parentResizeCallback.bind(this)}return c(e,[{key:"render",value:function(){var e=this;return new Promise((function(t,n){if(null!==e.el){void 0===Apex._chartInstances&&(Apex._chartInstances=[]),e.w.config.chart.id&&Apex._chartInstances.push({id:e.w.globals.chartID,group:e.w.config.chart.group,chart:e}),e.setLocale(e.w.config.chart.defaultLocale);var i=e.w.config.chart.events.beforeMount;if("function"==typeof i&&i(e,e.w),e.events.fireEvent("beforeMount",[e,e.w]),window.addEventListener("resize",e.windowResizeHandler),c=e.el.parentNode,u=e.parentResizeHandler,d=!1,h=new ResizeObserver((function(e){d&&u.call(c,e),d=!0})),c.nodeType===Node.DOCUMENT_FRAGMENT_NODE?Array.from(c.children).forEach((function(e){return h.observe(e)})):h.observe(c),qe.set(u,h),!e.css){var o=e.el.getRootNode&&e.el.getRootNode(),r=b.is("ShadowRoot",o),a=e.el.ownerDocument,s=a.getElementById("apexcharts-css");!r&&s||(e.css=document.createElement("style"),e.css.id="apexcharts-css",e.css.textContent='.apexcharts-canvas {\n position: relative;\n user-select: none;\n /* cannot give overflow: hidden as it will crop tooltips which overflow outside chart area */\n}\n\n\n/* scrollbar is not visible by default for legend, hence forcing the visibility */\n.apexcharts-canvas ::-webkit-scrollbar {\n -webkit-appearance: none;\n width: 6px;\n}\n\n.apexcharts-canvas ::-webkit-scrollbar-thumb {\n border-radius: 4px;\n background-color: rgba(0, 0, 0, .5);\n box-shadow: 0 0 1px rgba(255, 255, 255, .5);\n -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5);\n}\n\n\n.apexcharts-inner {\n position: relative;\n}\n\n.apexcharts-text tspan {\n font-family: inherit;\n}\n\n.legend-mouseover-inactive {\n transition: 0.15s ease all;\n opacity: 0.20;\n}\n\n.apexcharts-series-collapsed {\n opacity: 0;\n}\n\n.apexcharts-tooltip {\n border-radius: 5px;\n box-shadow: 2px 2px 6px -4px #999;\n cursor: default;\n font-size: 14px;\n left: 62px;\n opacity: 0;\n pointer-events: none;\n position: absolute;\n top: 20px;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n white-space: nowrap;\n z-index: 12;\n transition: 0.15s ease all;\n}\n\n.apexcharts-tooltip.apexcharts-active {\n opacity: 1;\n transition: 0.15s ease all;\n}\n\n.apexcharts-tooltip.apexcharts-theme-light {\n border: 1px solid #e3e3e3;\n background: rgba(255, 255, 255, 0.96);\n}\n\n.apexcharts-tooltip.apexcharts-theme-dark {\n color: #fff;\n background: rgba(30, 30, 30, 0.8);\n}\n\n.apexcharts-tooltip * {\n font-family: inherit;\n}\n\n\n.apexcharts-tooltip-title {\n padding: 6px;\n font-size: 15px;\n margin-bottom: 4px;\n}\n\n.apexcharts-tooltip.apexcharts-theme-light .apexcharts-tooltip-title {\n background: #ECEFF1;\n border-bottom: 1px solid #ddd;\n}\n\n.apexcharts-tooltip.apexcharts-theme-dark .apexcharts-tooltip-title {\n background: rgba(0, 0, 0, 0.7);\n border-bottom: 1px solid #333;\n}\n\n.apexcharts-tooltip-text-y-value,\n.apexcharts-tooltip-text-goals-value,\n.apexcharts-tooltip-text-z-value {\n display: inline-block;\n font-weight: 600;\n margin-left: 5px;\n}\n\n.apexcharts-tooltip-text-y-label:empty,\n.apexcharts-tooltip-text-y-value:empty,\n.apexcharts-tooltip-text-goals-label:empty,\n.apexcharts-tooltip-text-goals-value:empty,\n.apexcharts-tooltip-text-z-value:empty {\n display: none;\n}\n\n.apexcharts-tooltip-text-y-value,\n.apexcharts-tooltip-text-goals-value,\n.apexcharts-tooltip-text-z-value {\n font-weight: 600;\n}\n\n.apexcharts-tooltip-text-goals-label, \n.apexcharts-tooltip-text-goals-value {\n padding: 6px 0 5px;\n}\n\n.apexcharts-tooltip-goals-group, \n.apexcharts-tooltip-text-goals-label, \n.apexcharts-tooltip-text-goals-value {\n display: flex;\n}\n.apexcharts-tooltip-text-goals-label:not(:empty),\n.apexcharts-tooltip-text-goals-value:not(:empty) {\n margin-top: -6px;\n}\n\n.apexcharts-tooltip-marker {\n width: 12px;\n height: 12px;\n position: relative;\n top: 0px;\n margin-right: 10px;\n border-radius: 50%;\n}\n\n.apexcharts-tooltip-series-group {\n padding: 0 10px;\n display: none;\n text-align: left;\n justify-content: left;\n align-items: center;\n}\n\n.apexcharts-tooltip-series-group.apexcharts-active .apexcharts-tooltip-marker {\n opacity: 1;\n}\n\n.apexcharts-tooltip-series-group.apexcharts-active,\n.apexcharts-tooltip-series-group:last-child {\n padding-bottom: 4px;\n}\n\n.apexcharts-tooltip-series-group-hidden {\n opacity: 0;\n height: 0;\n line-height: 0;\n padding: 0 !important;\n}\n\n.apexcharts-tooltip-y-group {\n padding: 6px 0 5px;\n}\n\n.apexcharts-tooltip-box, .apexcharts-custom-tooltip {\n padding: 4px 8px;\n}\n\n.apexcharts-tooltip-boxPlot {\n display: flex;\n flex-direction: column-reverse;\n}\n\n.apexcharts-tooltip-box>div {\n margin: 4px 0;\n}\n\n.apexcharts-tooltip-box span.value {\n font-weight: bold;\n}\n\n.apexcharts-tooltip-rangebar {\n padding: 5px 8px;\n}\n\n.apexcharts-tooltip-rangebar .category {\n font-weight: 600;\n color: #777;\n}\n\n.apexcharts-tooltip-rangebar .series-name {\n font-weight: bold;\n display: block;\n margin-bottom: 5px;\n}\n\n.apexcharts-xaxistooltip {\n opacity: 0;\n padding: 9px 10px;\n pointer-events: none;\n color: #373d3f;\n font-size: 13px;\n text-align: center;\n border-radius: 2px;\n position: absolute;\n z-index: 10;\n background: #ECEFF1;\n border: 1px solid #90A4AE;\n transition: 0.15s ease all;\n}\n\n.apexcharts-xaxistooltip.apexcharts-theme-dark {\n background: rgba(0, 0, 0, 0.7);\n border: 1px solid rgba(0, 0, 0, 0.5);\n color: #fff;\n}\n\n.apexcharts-xaxistooltip:after,\n.apexcharts-xaxistooltip:before {\n left: 50%;\n border: solid transparent;\n content: " ";\n height: 0;\n width: 0;\n position: absolute;\n pointer-events: none;\n}\n\n.apexcharts-xaxistooltip:after {\n border-color: rgba(236, 239, 241, 0);\n border-width: 6px;\n margin-left: -6px;\n}\n\n.apexcharts-xaxistooltip:before {\n border-color: rgba(144, 164, 174, 0);\n border-width: 7px;\n margin-left: -7px;\n}\n\n.apexcharts-xaxistooltip-bottom:after,\n.apexcharts-xaxistooltip-bottom:before {\n bottom: 100%;\n}\n\n.apexcharts-xaxistooltip-top:after,\n.apexcharts-xaxistooltip-top:before {\n top: 100%;\n}\n\n.apexcharts-xaxistooltip-bottom:after {\n border-bottom-color: #ECEFF1;\n}\n\n.apexcharts-xaxistooltip-bottom:before {\n border-bottom-color: #90A4AE;\n}\n\n.apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:after {\n border-bottom-color: rgba(0, 0, 0, 0.5);\n}\n\n.apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:before {\n border-bottom-color: rgba(0, 0, 0, 0.5);\n}\n\n.apexcharts-xaxistooltip-top:after {\n border-top-color: #ECEFF1\n}\n\n.apexcharts-xaxistooltip-top:before {\n border-top-color: #90A4AE;\n}\n\n.apexcharts-xaxistooltip-top.apexcharts-theme-dark:after {\n border-top-color: rgba(0, 0, 0, 0.5);\n}\n\n.apexcharts-xaxistooltip-top.apexcharts-theme-dark:before {\n border-top-color: rgba(0, 0, 0, 0.5);\n}\n\n.apexcharts-xaxistooltip.apexcharts-active {\n opacity: 1;\n transition: 0.15s ease all;\n}\n\n.apexcharts-yaxistooltip {\n opacity: 0;\n padding: 4px 10px;\n pointer-events: none;\n color: #373d3f;\n font-size: 13px;\n text-align: center;\n border-radius: 2px;\n position: absolute;\n z-index: 10;\n background: #ECEFF1;\n border: 1px solid #90A4AE;\n}\n\n.apexcharts-yaxistooltip.apexcharts-theme-dark {\n background: rgba(0, 0, 0, 0.7);\n border: 1px solid rgba(0, 0, 0, 0.5);\n color: #fff;\n}\n\n.apexcharts-yaxistooltip:after,\n.apexcharts-yaxistooltip:before {\n top: 50%;\n border: solid transparent;\n content: " ";\n height: 0;\n width: 0;\n position: absolute;\n pointer-events: none;\n}\n\n.apexcharts-yaxistooltip:after {\n border-color: rgba(236, 239, 241, 0);\n border-width: 6px;\n margin-top: -6px;\n}\n\n.apexcharts-yaxistooltip:before {\n border-color: rgba(144, 164, 174, 0);\n border-width: 7px;\n margin-top: -7px;\n}\n\n.apexcharts-yaxistooltip-left:after,\n.apexcharts-yaxistooltip-left:before {\n left: 100%;\n}\n\n.apexcharts-yaxistooltip-right:after,\n.apexcharts-yaxistooltip-right:before {\n right: 100%;\n}\n\n.apexcharts-yaxistooltip-left:after {\n border-left-color: #ECEFF1;\n}\n\n.apexcharts-yaxistooltip-left:before {\n border-left-color: #90A4AE;\n}\n\n.apexcharts-yaxistooltip-left.apexcharts-theme-dark:after {\n border-left-color: rgba(0, 0, 0, 0.5);\n}\n\n.apexcharts-yaxistooltip-left.apexcharts-theme-dark:before {\n border-left-color: rgba(0, 0, 0, 0.5);\n}\n\n.apexcharts-yaxistooltip-right:after {\n border-right-color: #ECEFF1;\n}\n\n.apexcharts-yaxistooltip-right:before {\n border-right-color: #90A4AE;\n}\n\n.apexcharts-yaxistooltip-right.apexcharts-theme-dark:after {\n border-right-color: rgba(0, 0, 0, 0.5);\n}\n\n.apexcharts-yaxistooltip-right.apexcharts-theme-dark:before {\n border-right-color: rgba(0, 0, 0, 0.5);\n}\n\n.apexcharts-yaxistooltip.apexcharts-active {\n opacity: 1;\n}\n\n.apexcharts-yaxistooltip-hidden {\n display: none;\n}\n\n.apexcharts-xcrosshairs,\n.apexcharts-ycrosshairs {\n pointer-events: none;\n opacity: 0;\n transition: 0.15s ease all;\n}\n\n.apexcharts-xcrosshairs.apexcharts-active,\n.apexcharts-ycrosshairs.apexcharts-active {\n opacity: 1;\n transition: 0.15s ease all;\n}\n\n.apexcharts-ycrosshairs-hidden {\n opacity: 0;\n}\n\n.apexcharts-selection-rect {\n cursor: move;\n}\n\n.svg_select_boundingRect, .svg_select_points_rot {\n pointer-events: none;\n opacity: 0;\n visibility: hidden;\n}\n.apexcharts-selection-rect + g .svg_select_boundingRect,\n.apexcharts-selection-rect + g .svg_select_points_rot {\n opacity: 0;\n visibility: hidden;\n}\n\n.apexcharts-selection-rect + g .svg_select_points_l,\n.apexcharts-selection-rect + g .svg_select_points_r {\n cursor: ew-resize;\n opacity: 1;\n visibility: visible;\n}\n\n.svg_select_points {\n fill: #efefef;\n stroke: #333;\n rx: 2;\n}\n\n.apexcharts-svg.apexcharts-zoomable.hovering-zoom {\n cursor: crosshair\n}\n\n.apexcharts-svg.apexcharts-zoomable.hovering-pan {\n cursor: move\n}\n\n.apexcharts-zoom-icon,\n.apexcharts-zoomin-icon,\n.apexcharts-zoomout-icon,\n.apexcharts-reset-icon,\n.apexcharts-pan-icon,\n.apexcharts-selection-icon,\n.apexcharts-menu-icon,\n.apexcharts-toolbar-custom-icon {\n cursor: pointer;\n width: 20px;\n height: 20px;\n line-height: 24px;\n color: #6E8192;\n text-align: center;\n}\n\n.apexcharts-zoom-icon svg,\n.apexcharts-zoomin-icon svg,\n.apexcharts-zoomout-icon svg,\n.apexcharts-reset-icon svg,\n.apexcharts-menu-icon svg {\n fill: #6E8192;\n}\n\n.apexcharts-selection-icon svg {\n fill: #444;\n transform: scale(0.76)\n}\n\n.apexcharts-theme-dark .apexcharts-zoom-icon svg,\n.apexcharts-theme-dark .apexcharts-zoomin-icon svg,\n.apexcharts-theme-dark .apexcharts-zoomout-icon svg,\n.apexcharts-theme-dark .apexcharts-reset-icon svg,\n.apexcharts-theme-dark .apexcharts-pan-icon svg,\n.apexcharts-theme-dark .apexcharts-selection-icon svg,\n.apexcharts-theme-dark .apexcharts-menu-icon svg,\n.apexcharts-theme-dark .apexcharts-toolbar-custom-icon svg {\n fill: #f3f4f5;\n}\n\n.apexcharts-canvas .apexcharts-zoom-icon.apexcharts-selected svg,\n.apexcharts-canvas .apexcharts-selection-icon.apexcharts-selected svg,\n.apexcharts-canvas .apexcharts-reset-zoom-icon.apexcharts-selected svg {\n fill: #008FFB;\n}\n\n.apexcharts-theme-light .apexcharts-selection-icon:not(.apexcharts-selected):hover svg,\n.apexcharts-theme-light .apexcharts-zoom-icon:not(.apexcharts-selected):hover svg,\n.apexcharts-theme-light .apexcharts-zoomin-icon:hover svg,\n.apexcharts-theme-light .apexcharts-zoomout-icon:hover svg,\n.apexcharts-theme-light .apexcharts-reset-icon:hover svg,\n.apexcharts-theme-light .apexcharts-menu-icon:hover svg {\n fill: #333;\n}\n\n.apexcharts-selection-icon,\n.apexcharts-menu-icon {\n position: relative;\n}\n\n.apexcharts-reset-icon {\n margin-left: 5px;\n}\n\n.apexcharts-zoom-icon,\n.apexcharts-reset-icon,\n.apexcharts-menu-icon {\n transform: scale(0.85);\n}\n\n.apexcharts-zoomin-icon,\n.apexcharts-zoomout-icon {\n transform: scale(0.7)\n}\n\n.apexcharts-zoomout-icon {\n margin-right: 3px;\n}\n\n.apexcharts-pan-icon {\n transform: scale(0.62);\n position: relative;\n left: 1px;\n top: 0px;\n}\n\n.apexcharts-pan-icon svg {\n fill: #fff;\n stroke: #6E8192;\n stroke-width: 2;\n}\n\n.apexcharts-pan-icon.apexcharts-selected svg {\n stroke: #008FFB;\n}\n\n.apexcharts-pan-icon:not(.apexcharts-selected):hover svg {\n stroke: #333;\n}\n\n.apexcharts-toolbar {\n position: absolute;\n z-index: 11;\n max-width: 176px;\n text-align: right;\n border-radius: 3px;\n padding: 0px 6px 2px 6px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.apexcharts-menu {\n background: #fff;\n position: absolute;\n top: 100%;\n border: 1px solid #ddd;\n border-radius: 3px;\n padding: 3px;\n right: 10px;\n opacity: 0;\n min-width: 110px;\n transition: 0.15s ease all;\n pointer-events: none;\n}\n\n.apexcharts-menu.apexcharts-menu-open {\n opacity: 1;\n pointer-events: all;\n transition: 0.15s ease all;\n}\n\n.apexcharts-menu-item {\n padding: 6px 7px;\n font-size: 12px;\n cursor: pointer;\n}\n\n.apexcharts-theme-light .apexcharts-menu-item:hover {\n background: #eee;\n}\n\n.apexcharts-theme-dark .apexcharts-menu {\n background: rgba(0, 0, 0, 0.7);\n color: #fff;\n}\n\n@media screen and (min-width: 768px) {\n .apexcharts-canvas:hover .apexcharts-toolbar {\n opacity: 1;\n }\n}\n\n.apexcharts-datalabel.apexcharts-element-hidden {\n opacity: 0;\n}\n\n.apexcharts-pie-label,\n.apexcharts-datalabels,\n.apexcharts-datalabel,\n.apexcharts-datalabel-label,\n.apexcharts-datalabel-value {\n cursor: default;\n pointer-events: none;\n}\n\n.apexcharts-pie-label-delay {\n opacity: 0;\n animation-name: opaque;\n animation-duration: 0.3s;\n animation-fill-mode: forwards;\n animation-timing-function: ease;\n}\n\n.apexcharts-canvas .apexcharts-element-hidden {\n opacity: 0;\n}\n\n.apexcharts-hide .apexcharts-series-points {\n opacity: 0;\n}\n\n.apexcharts-gridline,\n.apexcharts-annotation-rect,\n.apexcharts-tooltip .apexcharts-marker,\n.apexcharts-area-series .apexcharts-area,\n.apexcharts-line,\n.apexcharts-zoom-rect,\n.apexcharts-toolbar svg,\n.apexcharts-area-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events,\n.apexcharts-line-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events,\n.apexcharts-radar-series path,\n.apexcharts-radar-series polygon {\n pointer-events: none;\n}\n\n\n/* markers */\n\n.apexcharts-marker {\n transition: 0.15s ease all;\n}\n\n@keyframes opaque {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n\n\n/* Resize generated styles */\n\n@keyframes resizeanim {\n from {\n opacity: 0;\n }\n to {\n opacity: 0;\n }\n}\n\n.resize-triggers {\n animation: 1ms resizeanim;\n visibility: hidden;\n opacity: 0;\n}\n\n.resize-triggers,\n.resize-triggers>div,\n.contract-trigger:before {\n content: " ";\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n overflow: hidden;\n}\n\n.resize-triggers>div {\n background: #eee;\n overflow: auto;\n}\n\n.contract-trigger:before {\n width: 200%;\n height: 200%;\n}',r?o.prepend(e.css):a.head.appendChild(e.css))}var l=e.create(e.w.config.series,{});if(!l)return t(e);e.mount(l).then((function(){"function"==typeof e.w.config.chart.events.mounted&&e.w.config.chart.events.mounted(e,e.w),e.events.fireEvent("mounted",[e,e.w]),t(l)})).catch((function(e){n(e)}))}else n(new Error("Element not found"));var c,u,d,h}))}},{key:"create",value:function(e,t){var n=this.w;new He(this).initModules();var i=this.w.globals;if(i.noData=!1,i.animationEnded=!1,this.responsive.checkResponsiveConfig(t),n.config.xaxis.convertedCatToNumeric&&new q(n.config).convertCatToNumericXaxis(n.config,this.ctx),null===this.el)return i.animationEnded=!0,null;if(this.core.setupElements(),"treemap"===n.config.chart.type&&(n.config.grid.show=!1,n.config.yaxis[0].show=!1),0===i.svgWidth)return i.animationEnded=!0,null;var o=C.checkComboSeries(e);i.comboCharts=o.comboCharts,i.comboBarCount=o.comboBarCount;var r=e.every((function(e){return e.data&&0===e.data.length}));(0===e.length||r)&&this.series.handleNoData(),this.events.setupEventHandlers(),this.data.parseData(e),this.theme.init(),new F(this).setGlobalMarkerSize(),this.formatters.setLabelFormatters(),this.titleSubtitle.draw(),i.noData&&i.collapsedSeries.length!==i.series.length&&!n.config.legend.showForSingleSeries||this.legend.init(),this.series.hasAllSeriesEqualX(),i.axisCharts&&(this.core.coreCalculations(),"category"!==n.config.xaxis.type&&this.formatters.setLabelFormatters(),this.ctx.toolbar.minX=n.globals.minX,this.ctx.toolbar.maxX=n.globals.maxX),this.formatters.heatmapLabelFormatters(),this.dimensions.plotCoords();var a=this.core.xySettings();this.grid.createGridMask();var s=this.core.plotChartType(e,a),l=new O(this);l.bringForward(),n.config.dataLabels.background.enabled&&l.dataLabelsBackground(),this.core.shiftGraphPosition();var c={plot:{left:n.globals.translateX,top:n.globals.translateY,width:n.globals.gridWidth,height:n.globals.gridHeight}};return{elGraph:s,xyRatios:a,elInner:n.globals.dom.elGraphical,dimensions:c}}},{key:"mount",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=this,i=n.w;return new Promise((function(o,r){if(null===n.el)return r(new Error("Not enough data to display or target element not found"));(null===t||i.globals.allSeriesCollapsed)&&n.series.handleNoData(),"treemap"!==i.config.chart.type&&n.axes.drawAxis(i.config.chart.type,t.xyRatios),n.grid=new Z(n);var a=n.grid.drawGrid();n.annotations=new j(n),n.annotations.drawImageAnnos(),n.annotations.drawTextAnnos(),"back"===i.config.grid.position&&a&&i.globals.dom.elGraphical.add(a.el);var s=new U(e.ctx),l=new J(e.ctx);if(null!==a&&(s.xAxisLabelCorrections(a.xAxisTickWidth),l.setYAxisTextAlignments(),i.config.yaxis.map((function(e,t){-1===i.globals.ignoreYAxisIndexes.indexOf(t)&&l.yAxisTitleRotate(t,e.opposite)}))),"back"===i.config.annotations.position&&(i.globals.dom.Paper.add(i.globals.dom.elAnnotations),n.annotations.drawAxesAnnotations()),Array.isArray(t.elGraph))for(var c=0;c0&&i.globals.memory.methodsToExec.forEach((function(e){e.method(e.params,!1,e.context)})),i.globals.axisCharts||i.globals.noData||n.core.resizeNonAxisCharts(),o(n)}))}},{key:"destroy",value:function(){var e,t;window.removeEventListener("resize",this.windowResizeHandler),this.el.parentNode,e=this.parentResizeHandler,(t=qe.get(e))&&(t.disconnect(),qe.delete(e));var n=this.w.config.chart.id;n&&Apex._chartInstances.forEach((function(e,t){e.id===b.escapeString(n)&&Apex._chartInstances.splice(t,1)})),new Ne(this.ctx).clear({isUpdating:!1})}},{key:"updateOptions",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=this.w;return a.globals.selection=void 0,e.series&&(this.series.resetSeries(!1,!0,!1),e.series.length&&e.series[0].data&&(e.series=e.series.map((function(e,n){return t.updateHelpers._extendSeries(e,n)}))),this.updateHelpers.revertDefaultAxisMinMax()),e.xaxis&&(e=this.updateHelpers.forceXAxisUpdate(e)),e.yaxis&&(e=this.updateHelpers.forceYAxisUpdate(e)),a.globals.collapsedSeriesIndices.length>0&&this.series.clearPreviousPaths(),e.theme&&(e=this.theme.updateThemeOptions(e)),this.updateHelpers._updateOptions(e,n,i,o,r)}},{key:"updateSeries",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return this.series.resetSeries(!1),this.updateHelpers.revertDefaultAxisMinMax(),this.updateHelpers._updateSeries(e,t,n)}},{key:"appendSeries",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=this.w.config.series.slice();return i.push(e),this.series.resetSeries(!1),this.updateHelpers.revertDefaultAxisMinMax(),this.updateHelpers._updateSeries(i,t,n)}},{key:"appendData",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this;n.w.globals.dataChanged=!0,n.series.getPreviousPaths();for(var i=n.w.config.series.slice(),o=0;o0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.series.resetSeries(e,t)}},{key:"addEventListener",value:function(e,t){this.events.addEventListener(e,t)}},{key:"removeEventListener",value:function(e,t){this.events.removeEventListener(e,t)}},{key:"addXaxisAnnotation",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,i=this;n&&(i=n),i.annotations.addXaxisAnnotationExternal(e,t,i)}},{key:"addYaxisAnnotation",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,i=this;n&&(i=n),i.annotations.addYaxisAnnotationExternal(e,t,i)}},{key:"addPointAnnotation",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,i=this;n&&(i=n),i.annotations.addPointAnnotationExternal(e,t,i)}},{key:"clearAnnotations",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=this;e&&(t=e),t.annotations.clearAnnotations(t)}},{key:"removeAnnotation",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=this;t&&(n=t),n.annotations.removeAnnotation(n,e)}},{key:"getChartArea",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-inner")}},{key:"getSeriesTotalXRange",value:function(e,t){return this.coreUtils.getSeriesTotalsXRange(e,t)}},{key:"getHighestValueInSeries",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=new K(this.ctx);return t.getMinYMaxY(e).highestY}},{key:"getLowestValueInSeries",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=new K(this.ctx);return t.getMinYMaxY(e).lowestY}},{key:"getSeriesTotal",value:function(){return this.w.globals.seriesTotals}},{key:"toggleDataPointSelection",value:function(e,t){return this.updateHelpers.toggleDataPointSelection(e,t)}},{key:"zoomX",value:function(e,t){this.ctx.toolbar.zoomUpdateOptions(e,t)}},{key:"setLocale",value:function(e){this.localization.setCurrentLocaleValues(e)}},{key:"dataURI",value:function(e){return new $(this.ctx).dataURI(e)}},{key:"paper",value:function(){return this.w.globals.dom.Paper}},{key:"_parentResizeCallback",value:function(){this.w.globals.animationEnded&&this.w.config.chart.redrawOnParentResize&&this._windowResize()}},{key:"_windowResize",value:function(){var e=this;clearTimeout(this.w.globals.resizeTimer),this.w.globals.resizeTimer=window.setTimeout((function(){e.w.globals.resized=!0,e.w.globals.dataChanged=!1,e.ctx.update()}),150)}},{key:"_windowResizeHandler",value:function(){var e=this.w.config.chart.redrawOnWindowResize;"function"==typeof e&&(e=e()),e&&this._windowResize()}}],[{key:"getChartByID",value:function(e){var t=b.escapeString(e),n=Apex._chartInstances.filter((function(e){return e.id===t}))[0];return n&&n.chart}},{key:"initOnLoad",value:function(){for(var t=document.querySelectorAll("[data-apexcharts]"),n=0;n2?o-2:0),a=2;a{(function(t,i){e.exports=i(n(9981))})(window,(function(e){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="./src/index.js")}({"./node_modules/cache-control-esm/index.js": +/*!*************************************************!*\ + !*** ./node_modules/cache-control-esm/index.js ***! + \*************************************************/ +/*! exports provided: CacheControl, parse, format, default */function(e,t,n){"use strict";n.r(t),n.d(t,"CacheControl",(function(){return v})),n.d(t,"parse",(function(){return m})),n.d(t,"format",(function(){return b}));n(/*! core-js/modules/es6.array.from */"./node_modules/core-js/modules/es6.array.from.js"),n(/*! core-js/modules/es6.function.name */"./node_modules/core-js/modules/es6.function.name.js"),n(/*! core-js/modules/es6.object.to-string */"./node_modules/core-js/modules/es6.object.to-string.js"),n(/*! core-js/modules/web.dom.iterable */"./node_modules/core-js/modules/web.dom.iterable.js"),n(/*! core-js/modules/es7.symbol.async-iterator */"./node_modules/core-js/modules/es7.symbol.async-iterator.js"),n(/*! core-js/modules/es6.symbol */"./node_modules/core-js/modules/es6.symbol.js"),n(/*! core-js/modules/es6.regexp.split */"./node_modules/core-js/modules/es6.regexp.split.js"),n(/*! core-js/modules/es6.number.is-finite */"./node_modules/core-js/modules/es6.number.is-finite.js");function i(e,t){return l(e)||s(e,t)||r(e,t)||o()}function o(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function r(e,t){if(e){if("string"===typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n1&&(a=n[1].trim()),t[r.toLowerCase()]=a})),this.maxAge=g(t[f.maxAge]),this.sharedMaxAge=g(t[f.sharedMaxAge]),this.maxStale=p(t[f.maxStale]),this.maxStaleDuration=g(t[f.maxStale]),this.maxStaleDuration&&(this.maxStale=!0),this.minFresh=g(t[f.minFresh]),this.immutable=p(t[f.immutable]),this.mustRevalidate=p(t[f.mustRevalidate]),this.noCache=p(t[f.noCache]),this.noStore=p(t[f.noStore]),this.noTransform=p(t[f.noTransform]),this.onlyIfCached=p(t[f.onlyIfCached]),this["private"]=p(t[f["private"]]),this.proxyRevalidate=p(t[f.proxyRevalidate]),this["public"]=p(t[f["public"]]),this}},{key:"format",value:function(){var e=[];return this.maxAge&&e.push("".concat(f.maxAge,"=").concat(this.maxAge)),this.sharedMaxAge&&e.push("".concat(f.sharedMaxAge,"=").concat(this.sharedMaxAge)),this.maxStale&&(this.maxStaleDuration?e.push("".concat(f.maxStale,"=").concat(this.maxStaleDuration)):e.push(f.maxStale)),this.minFresh&&e.push("".concat(f.minFresh,"=").concat(this.minFresh)),this.immutable&&e.push(f.immutable),this.mustRevalidate&&e.push(f.mustRevalidate),this.noCache&&e.push(f.noCache),this.noStore&&e.push(f.noStore),this.noTransform&&e.push(f.noTransform),this.onlyIfCached&&e.push(f.onlyIfCached),this["private"]&&e.push(f["private"]),this.proxyRevalidate&&e.push(f.proxyRevalidate),this["public"]&&e.push(f["public"]),e.join(", ")}}]),e}();function m(e){var t=new v;return t.parse(e)}function b(e){return e instanceof v?e.format():v.prototype.format.call(e)}t["default"]={CacheControl:v,parse:m,format:b}},"./node_modules/charenc/charenc.js": +/*!*****************************************!*\ + !*** ./node_modules/charenc/charenc.js ***! + \*****************************************/ +/*! no static exports found */function(e,t){var n={utf8:{stringToBytes:function(e){return n.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(n.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;nu)if(s=l[u++],s!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},"./node_modules/core-js/modules/_classof.js": +/*!**************************************************!*\ + !*** ./node_modules/core-js/modules/_classof.js ***! + \**************************************************/ +/*! no static exports found */function(e,t,n){var i=n(/*! ./_cof */"./node_modules/core-js/modules/_cof.js"),o=n(/*! ./_wks */"./node_modules/core-js/modules/_wks.js")("toStringTag"),r="Arguments"==i(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(n){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=a(t=Object(e),o))?n:r?i(t):"Object"==(s=i(t))&&"function"==typeof t.callee?"Arguments":s}},"./node_modules/core-js/modules/_cof.js": +/*!**********************************************!*\ + !*** ./node_modules/core-js/modules/_cof.js ***! + \**********************************************/ +/*! no static exports found */function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"./node_modules/core-js/modules/_core.js": +/*!***********************************************!*\ + !*** ./node_modules/core-js/modules/_core.js ***! + \***********************************************/ +/*! no static exports found */function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},"./node_modules/core-js/modules/_create-property.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/_create-property.js ***! + \**********************************************************/ +/*! no static exports found */function(e,t,n){"use strict";var i=n(/*! ./_object-dp */"./node_modules/core-js/modules/_object-dp.js"),o=n(/*! ./_property-desc */"./node_modules/core-js/modules/_property-desc.js");e.exports=function(e,t,n){t in e?i.f(e,t,o(0,n)):e[t]=n}},"./node_modules/core-js/modules/_ctx.js": +/*!**********************************************!*\ + !*** ./node_modules/core-js/modules/_ctx.js ***! + \**********************************************/ +/*! no static exports found */function(e,t,n){var i=n(/*! ./_a-function */"./node_modules/core-js/modules/_a-function.js");e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,o){return e.call(t,n,i,o)}}return function(){return e.apply(t,arguments)}}},"./node_modules/core-js/modules/_defined.js": +/*!**************************************************!*\ + !*** ./node_modules/core-js/modules/_defined.js ***! + \**************************************************/ +/*! no static exports found */function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"./node_modules/core-js/modules/_descriptors.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/_descriptors.js ***! + \******************************************************/ +/*! no static exports found */function(e,t,n){e.exports=!n(/*! ./_fails */"./node_modules/core-js/modules/_fails.js")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"./node_modules/core-js/modules/_dom-create.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/modules/_dom-create.js ***! + \*****************************************************/ +/*! no static exports found */function(e,t,n){var i=n(/*! ./_is-object */"./node_modules/core-js/modules/_is-object.js"),o=n(/*! ./_global */"./node_modules/core-js/modules/_global.js").document,r=i(o)&&i(o.createElement);e.exports=function(e){return r?o.createElement(e):{}}},"./node_modules/core-js/modules/_enum-bug-keys.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/_enum-bug-keys.js ***! + \********************************************************/ +/*! no static exports found */function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"./node_modules/core-js/modules/_enum-keys.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/_enum-keys.js ***! + \****************************************************/ +/*! no static exports found */function(e,t,n){var i=n(/*! ./_object-keys */"./node_modules/core-js/modules/_object-keys.js"),o=n(/*! ./_object-gops */"./node_modules/core-js/modules/_object-gops.js"),r=n(/*! ./_object-pie */"./node_modules/core-js/modules/_object-pie.js");e.exports=function(e){var t=i(e),n=o.f;if(n){var a,s=n(e),l=r.f,c=0;while(s.length>c)l.call(e,a=s[c++])&&t.push(a)}return t}},"./node_modules/core-js/modules/_export.js": +/*!*************************************************!*\ + !*** ./node_modules/core-js/modules/_export.js ***! + \*************************************************/ +/*! no static exports found */function(e,t,n){var i=n(/*! ./_global */"./node_modules/core-js/modules/_global.js"),o=n(/*! ./_core */"./node_modules/core-js/modules/_core.js"),r=n(/*! ./_hide */"./node_modules/core-js/modules/_hide.js"),a=n(/*! ./_redefine */"./node_modules/core-js/modules/_redefine.js"),s=n(/*! ./_ctx */"./node_modules/core-js/modules/_ctx.js"),l="prototype",c=function(e,t,n){var u,d,h,f,p=e&c.F,g=e&c.G,v=e&c.S,m=e&c.P,b=e&c.B,x=g?i:v?i[t]||(i[t]={}):(i[t]||{})[l],y=g?o:o[t]||(o[t]={}),w=y[l]||(y[l]={});for(u in g&&(n=t),n)d=!p&&x&&void 0!==x[u],h=(d?x:n)[u],f=b&&d?s(h,i):m&&"function"==typeof h?s(Function.call,h):h,x&&a(x,u,h,e&c.U),y[u]!=h&&r(y,u,f),m&&w[u]!=h&&(w[u]=h)};i.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},"./node_modules/core-js/modules/_fails-is-regexp.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/_fails-is-regexp.js ***! + \**********************************************************/ +/*! no static exports found */function(e,t,n){var i=n(/*! ./_wks */"./node_modules/core-js/modules/_wks.js")("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[i]=!1,!"/./"[e](t)}catch(o){}}return!0}},"./node_modules/core-js/modules/_fails.js": +/*!************************************************!*\ + !*** ./node_modules/core-js/modules/_fails.js ***! + \************************************************/ +/*! no static exports found */function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"./node_modules/core-js/modules/_fix-re-wks.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/modules/_fix-re-wks.js ***! + \*****************************************************/ +/*! no static exports found */function(e,t,n){"use strict";n(/*! ./es6.regexp.exec */"./node_modules/core-js/modules/es6.regexp.exec.js");var i=n(/*! ./_redefine */"./node_modules/core-js/modules/_redefine.js"),o=n(/*! ./_hide */"./node_modules/core-js/modules/_hide.js"),r=n(/*! ./_fails */"./node_modules/core-js/modules/_fails.js"),a=n(/*! ./_defined */"./node_modules/core-js/modules/_defined.js"),s=n(/*! ./_wks */"./node_modules/core-js/modules/_wks.js"),l=n(/*! ./_regexp-exec */"./node_modules/core-js/modules/_regexp-exec.js"),c=s("species"),u=!r((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")})),d=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var h=s(e),f=!r((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),p=f?!r((function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[c]=function(){return n}),n[h](""),!t})):void 0;if(!f||!p||"replace"===e&&!u||"split"===e&&!d){var g=/./[h],v=n(a,h,""[e],(function(e,t,n,i,o){return t.exec===l?f&&!o?{done:!0,value:g.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}})),m=v[0],b=v[1];i(String.prototype,e,m),o(RegExp.prototype,h,2==t?function(e,t){return b.call(e,this,t)}:function(e){return b.call(e,this)})}}},"./node_modules/core-js/modules/_flags.js": +/*!************************************************!*\ + !*** ./node_modules/core-js/modules/_flags.js ***! + \************************************************/ +/*! no static exports found */function(e,t,n){"use strict";var i=n(/*! ./_an-object */"./node_modules/core-js/modules/_an-object.js");e.exports=function(){var e=i(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"./node_modules/core-js/modules/_function-to-string.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/_function-to-string.js ***! + \*************************************************************/ +/*! no static exports found */function(e,t,n){e.exports=n(/*! ./_shared */"./node_modules/core-js/modules/_shared.js")("native-function-to-string",Function.toString)},"./node_modules/core-js/modules/_global.js": +/*!*************************************************!*\ + !*** ./node_modules/core-js/modules/_global.js ***! + \*************************************************/ +/*! no static exports found */function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"./node_modules/core-js/modules/_has.js": +/*!**********************************************!*\ + !*** ./node_modules/core-js/modules/_has.js ***! + \**********************************************/ +/*! no static exports found */function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"./node_modules/core-js/modules/_hide.js": +/*!***********************************************!*\ + !*** ./node_modules/core-js/modules/_hide.js ***! + \***********************************************/ +/*! no static exports found */function(e,t,n){var i=n(/*! ./_object-dp */"./node_modules/core-js/modules/_object-dp.js"),o=n(/*! ./_property-desc */"./node_modules/core-js/modules/_property-desc.js");e.exports=n(/*! ./_descriptors */"./node_modules/core-js/modules/_descriptors.js")?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},"./node_modules/core-js/modules/_html.js": +/*!***********************************************!*\ + !*** ./node_modules/core-js/modules/_html.js ***! + \***********************************************/ +/*! no static exports found */function(e,t,n){var i=n(/*! ./_global */"./node_modules/core-js/modules/_global.js").document;e.exports=i&&i.documentElement},"./node_modules/core-js/modules/_ie8-dom-define.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/modules/_ie8-dom-define.js ***! + \*********************************************************/ +/*! no static exports found */function(e,t,n){e.exports=!n(/*! ./_descriptors */"./node_modules/core-js/modules/_descriptors.js")&&!n(/*! ./_fails */"./node_modules/core-js/modules/_fails.js")((function(){return 7!=Object.defineProperty(n(/*! ./_dom-create */"./node_modules/core-js/modules/_dom-create.js")("div"),"a",{get:function(){return 7}}).a}))},"./node_modules/core-js/modules/_iobject.js": +/*!**************************************************!*\ + !*** ./node_modules/core-js/modules/_iobject.js ***! + \**************************************************/ +/*! no static exports found */function(e,t,n){var i=n(/*! ./_cof */"./node_modules/core-js/modules/_cof.js");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},"./node_modules/core-js/modules/_is-array-iter.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/_is-array-iter.js ***! + \********************************************************/ +/*! no static exports found */function(e,t,n){var i=n(/*! ./_iterators */"./node_modules/core-js/modules/_iterators.js"),o=n(/*! ./_wks */"./node_modules/core-js/modules/_wks.js")("iterator"),r=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||r[o]===e)}},"./node_modules/core-js/modules/_is-array.js": +/*!***************************************************!*\ + !*** ./node_modules/core-js/modules/_is-array.js ***! + \***************************************************/ +/*! no static exports found */function(e,t,n){var i=n(/*! ./_cof */"./node_modules/core-js/modules/_cof.js");e.exports=Array.isArray||function(e){return"Array"==i(e)}},"./node_modules/core-js/modules/_is-object.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/_is-object.js ***! + \****************************************************/ +/*! no static exports found */function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},"./node_modules/core-js/modules/_is-regexp.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/_is-regexp.js ***! + \****************************************************/ +/*! no static exports found */function(e,t,n){var i=n(/*! ./_is-object */"./node_modules/core-js/modules/_is-object.js"),o=n(/*! ./_cof */"./node_modules/core-js/modules/_cof.js"),r=n(/*! ./_wks */"./node_modules/core-js/modules/_wks.js")("match");e.exports=function(e){var t;return i(e)&&(void 0!==(t=e[r])?!!t:"RegExp"==o(e))}},"./node_modules/core-js/modules/_iter-call.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/_iter-call.js ***! + \****************************************************/ +/*! no static exports found */function(e,t,n){var i=n(/*! ./_an-object */"./node_modules/core-js/modules/_an-object.js");e.exports=function(e,t,n,o){try{return o?t(i(n)[0],n[1]):t(n)}catch(a){var r=e["return"];throw void 0!==r&&i(r.call(e)),a}}},"./node_modules/core-js/modules/_iter-create.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/_iter-create.js ***! + \******************************************************/ +/*! no static exports found */function(e,t,n){"use strict";var i=n(/*! ./_object-create */"./node_modules/core-js/modules/_object-create.js"),o=n(/*! ./_property-desc */"./node_modules/core-js/modules/_property-desc.js"),r=n(/*! ./_set-to-string-tag */"./node_modules/core-js/modules/_set-to-string-tag.js"),a={};n(/*! ./_hide */"./node_modules/core-js/modules/_hide.js")(a,n(/*! ./_wks */"./node_modules/core-js/modules/_wks.js")("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=i(a,{next:o(1,n)}),r(e,t+" Iterator")}},"./node_modules/core-js/modules/_iter-define.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/_iter-define.js ***! + \******************************************************/ +/*! no static exports found */function(e,t,n){"use strict";var i=n(/*! ./_library */"./node_modules/core-js/modules/_library.js"),o=n(/*! ./_export */"./node_modules/core-js/modules/_export.js"),r=n(/*! ./_redefine */"./node_modules/core-js/modules/_redefine.js"),a=n(/*! ./_hide */"./node_modules/core-js/modules/_hide.js"),s=n(/*! ./_iterators */"./node_modules/core-js/modules/_iterators.js"),l=n(/*! ./_iter-create */"./node_modules/core-js/modules/_iter-create.js"),c=n(/*! ./_set-to-string-tag */"./node_modules/core-js/modules/_set-to-string-tag.js"),u=n(/*! ./_object-gpo */"./node_modules/core-js/modules/_object-gpo.js"),d=n(/*! ./_wks */"./node_modules/core-js/modules/_wks.js")("iterator"),h=!([].keys&&"next"in[].keys()),f="@@iterator",p="keys",g="values",v=function(){return this};e.exports=function(e,t,n,m,b,x,y){l(n,t,m);var w,k,S,C=function(e){if(!h&&e in L)return L[e];switch(e){case p:return function(){return new n(this,e)};case g:return function(){return new n(this,e)}}return function(){return new n(this,e)}},_=t+" Iterator",A=b==g,P=!1,L=e.prototype,j=L[d]||L[f]||b&&L[b],T=j||C(b),F=b?A?C("entries"):T:void 0,E="Array"==t&&L.entries||j;if(E&&(S=u(E.call(new e)),S!==Object.prototype&&S.next&&(c(S,_,!0),i||"function"==typeof S[d]||a(S,d,v))),A&&j&&j.name!==g&&(P=!0,T=function(){return j.call(this)}),i&&!y||!h&&!P&&L[d]||a(L,d,T),s[t]=T,s[_]=v,b)if(w={values:A?T:C(g),keys:x?T:C(p),entries:F},y)for(k in w)k in L||r(L,k,w[k]);else o(o.P+o.F*(h||P),t,w);return w}},"./node_modules/core-js/modules/_iter-detect.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/_iter-detect.js ***! + \******************************************************/ +/*! no static exports found */function(e,t,n){var i=n(/*! ./_wks */"./node_modules/core-js/modules/_wks.js")("iterator"),o=!1;try{var r=[7][i]();r["return"]=function(){o=!0},Array.from(r,(function(){throw 2}))}catch(a){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var r=[7],s=r[i]();s.next=function(){return{done:n=!0}},r[i]=function(){return s},e(r)}catch(a){}return n}},"./node_modules/core-js/modules/_iter-step.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/_iter-step.js ***! + \****************************************************/ +/*! no static exports found */function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},"./node_modules/core-js/modules/_iterators.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/_iterators.js ***! + \****************************************************/ +/*! no static exports found */function(e,t){e.exports={}},"./node_modules/core-js/modules/_library.js": +/*!**************************************************!*\ + !*** ./node_modules/core-js/modules/_library.js ***! + \**************************************************/ +/*! no static exports found */function(e,t){e.exports=!1},"./node_modules/core-js/modules/_meta.js": +/*!***********************************************!*\ + !*** ./node_modules/core-js/modules/_meta.js ***! + \***********************************************/ +/*! no static exports found */function(e,t,n){var i=n(/*! ./_uid */"./node_modules/core-js/modules/_uid.js")("meta"),o=n(/*! ./_is-object */"./node_modules/core-js/modules/_is-object.js"),r=n(/*! ./_has */"./node_modules/core-js/modules/_has.js"),a=n(/*! ./_object-dp */"./node_modules/core-js/modules/_object-dp.js").f,s=0,l=Object.isExtensible||function(){return!0},c=!n(/*! ./_fails */"./node_modules/core-js/modules/_fails.js")((function(){return l(Object.preventExtensions({}))})),u=function(e){a(e,i,{value:{i:"O"+ ++s,w:{}}})},d=function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!r(e,i)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[i].i},h=function(e,t){if(!r(e,i)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[i].w},f=function(e){return c&&p.NEED&&l(e)&&!r(e,i)&&u(e),e},p=e.exports={KEY:i,NEED:!1,fastKey:d,getWeak:h,onFreeze:f}},"./node_modules/core-js/modules/_object-create.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/_object-create.js ***! + \********************************************************/ +/*! no static exports found */function(e,t,n){var i=n(/*! ./_an-object */"./node_modules/core-js/modules/_an-object.js"),o=n(/*! ./_object-dps */"./node_modules/core-js/modules/_object-dps.js"),r=n(/*! ./_enum-bug-keys */"./node_modules/core-js/modules/_enum-bug-keys.js"),a=n(/*! ./_shared-key */"./node_modules/core-js/modules/_shared-key.js")("IE_PROTO"),s=function(){},l="prototype",c=function(){var e,t=n(/*! ./_dom-create */"./node_modules/core-js/modules/_dom-create.js")("iframe"),i=r.length,o="<",a=">";t.style.display="none",n(/*! ./_html */"./node_modules/core-js/modules/_html.js").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(o+"script"+a+"document.F=Object"+o+"/script"+a),e.close(),c=e.F;while(i--)delete c[l][r[i]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[l]=i(e),n=new s,s[l]=null,n[a]=e):n=c(),void 0===t?n:o(n,t)}},"./node_modules/core-js/modules/_object-dp.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/_object-dp.js ***! + \****************************************************/ +/*! no static exports found */function(e,t,n){var i=n(/*! ./_an-object */"./node_modules/core-js/modules/_an-object.js"),o=n(/*! ./_ie8-dom-define */"./node_modules/core-js/modules/_ie8-dom-define.js"),r=n(/*! ./_to-primitive */"./node_modules/core-js/modules/_to-primitive.js"),a=Object.defineProperty;t.f=n(/*! ./_descriptors */"./node_modules/core-js/modules/_descriptors.js")?Object.defineProperty:function(e,t,n){if(i(e),t=r(t,!0),i(n),o)try{return a(e,t,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"./node_modules/core-js/modules/_object-dps.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/modules/_object-dps.js ***! + \*****************************************************/ +/*! no static exports found */function(e,t,n){var i=n(/*! ./_object-dp */"./node_modules/core-js/modules/_object-dp.js"),o=n(/*! ./_an-object */"./node_modules/core-js/modules/_an-object.js"),r=n(/*! ./_object-keys */"./node_modules/core-js/modules/_object-keys.js");e.exports=n(/*! ./_descriptors */"./node_modules/core-js/modules/_descriptors.js")?Object.defineProperties:function(e,t){o(e);var n,a=r(t),s=a.length,l=0;while(s>l)i.f(e,n=a[l++],t[n]);return e}},"./node_modules/core-js/modules/_object-gopd.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/_object-gopd.js ***! + \******************************************************/ +/*! no static exports found */function(e,t,n){var i=n(/*! ./_object-pie */"./node_modules/core-js/modules/_object-pie.js"),o=n(/*! ./_property-desc */"./node_modules/core-js/modules/_property-desc.js"),r=n(/*! ./_to-iobject */"./node_modules/core-js/modules/_to-iobject.js"),a=n(/*! ./_to-primitive */"./node_modules/core-js/modules/_to-primitive.js"),s=n(/*! ./_has */"./node_modules/core-js/modules/_has.js"),l=n(/*! ./_ie8-dom-define */"./node_modules/core-js/modules/_ie8-dom-define.js"),c=Object.getOwnPropertyDescriptor;t.f=n(/*! ./_descriptors */"./node_modules/core-js/modules/_descriptors.js")?c:function(e,t){if(e=r(e),t=a(t,!0),l)try{return c(e,t)}catch(n){}if(s(e,t))return o(!i.f.call(e,t),e[t])}},"./node_modules/core-js/modules/_object-gopn-ext.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/_object-gopn-ext.js ***! + \**********************************************************/ +/*! no static exports found */function(e,t,n){var i=n(/*! ./_to-iobject */"./node_modules/core-js/modules/_to-iobject.js"),o=n(/*! ./_object-gopn */"./node_modules/core-js/modules/_object-gopn.js").f,r={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return o(e)}catch(t){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==r.call(e)?s(e):o(i(e))}},"./node_modules/core-js/modules/_object-gopn.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/_object-gopn.js ***! + \******************************************************/ +/*! no static exports found */function(e,t,n){var i=n(/*! ./_object-keys-internal */"./node_modules/core-js/modules/_object-keys-internal.js"),o=n(/*! ./_enum-bug-keys */"./node_modules/core-js/modules/_enum-bug-keys.js").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,o)}},"./node_modules/core-js/modules/_object-gops.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/_object-gops.js ***! + \******************************************************/ +/*! no static exports found */function(e,t){t.f=Object.getOwnPropertySymbols},"./node_modules/core-js/modules/_object-gpo.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/modules/_object-gpo.js ***! + \*****************************************************/ +/*! no static exports found */function(e,t,n){var i=n(/*! ./_has */"./node_modules/core-js/modules/_has.js"),o=n(/*! ./_to-object */"./node_modules/core-js/modules/_to-object.js"),r=n(/*! ./_shared-key */"./node_modules/core-js/modules/_shared-key.js")("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),i(e,r)?e[r]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},"./node_modules/core-js/modules/_object-keys-internal.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/modules/_object-keys-internal.js ***! + \***************************************************************/ +/*! no static exports found */function(e,t,n){var i=n(/*! ./_has */"./node_modules/core-js/modules/_has.js"),o=n(/*! ./_to-iobject */"./node_modules/core-js/modules/_to-iobject.js"),r=n(/*! ./_array-includes */"./node_modules/core-js/modules/_array-includes.js")(!1),a=n(/*! ./_shared-key */"./node_modules/core-js/modules/_shared-key.js")("IE_PROTO");e.exports=function(e,t){var n,s=o(e),l=0,c=[];for(n in s)n!=a&&i(s,n)&&c.push(n);while(t.length>l)i(s,n=t[l++])&&(~r(c,n)||c.push(n));return c}},"./node_modules/core-js/modules/_object-keys.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/_object-keys.js ***! + \******************************************************/ +/*! no static exports found */function(e,t,n){var i=n(/*! ./_object-keys-internal */"./node_modules/core-js/modules/_object-keys-internal.js"),o=n(/*! ./_enum-bug-keys */"./node_modules/core-js/modules/_enum-bug-keys.js");e.exports=Object.keys||function(e){return i(e,o)}},"./node_modules/core-js/modules/_object-pie.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/modules/_object-pie.js ***! + \*****************************************************/ +/*! no static exports found */function(e,t){t.f={}.propertyIsEnumerable},"./node_modules/core-js/modules/_own-keys.js": +/*!***************************************************!*\ + !*** ./node_modules/core-js/modules/_own-keys.js ***! + \***************************************************/ +/*! no static exports found */function(e,t,n){var i=n(/*! ./_object-gopn */"./node_modules/core-js/modules/_object-gopn.js"),o=n(/*! ./_object-gops */"./node_modules/core-js/modules/_object-gops.js"),r=n(/*! ./_an-object */"./node_modules/core-js/modules/_an-object.js"),a=n(/*! ./_global */"./node_modules/core-js/modules/_global.js").Reflect;e.exports=a&&a.ownKeys||function(e){var t=i.f(r(e)),n=o.f;return n?t.concat(n(e)):t}},"./node_modules/core-js/modules/_property-desc.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/_property-desc.js ***! + \********************************************************/ +/*! no static exports found */function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"./node_modules/core-js/modules/_redefine.js": +/*!***************************************************!*\ + !*** ./node_modules/core-js/modules/_redefine.js ***! + \***************************************************/ +/*! no static exports found */function(e,t,n){var i=n(/*! ./_global */"./node_modules/core-js/modules/_global.js"),o=n(/*! ./_hide */"./node_modules/core-js/modules/_hide.js"),r=n(/*! ./_has */"./node_modules/core-js/modules/_has.js"),a=n(/*! ./_uid */"./node_modules/core-js/modules/_uid.js")("src"),s=n(/*! ./_function-to-string */"./node_modules/core-js/modules/_function-to-string.js"),l="toString",c=(""+s).split(l);n(/*! ./_core */"./node_modules/core-js/modules/_core.js").inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var l="function"==typeof n;l&&(r(n,"name")||o(n,"name",t)),e[t]!==n&&(l&&(r(n,a)||o(n,a,e[t]?""+e[t]:c.join(String(t)))),e===i?e[t]=n:s?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,l,(function(){return"function"==typeof this&&this[a]||s.call(this)}))},"./node_modules/core-js/modules/_regexp-exec-abstract.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/modules/_regexp-exec-abstract.js ***! + \***************************************************************/ +/*! no static exports found */function(e,t,n){"use strict";var i=n(/*! ./_classof */"./node_modules/core-js/modules/_classof.js"),o=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"===typeof n){var r=n.call(e,t);if("object"!==typeof r)throw new TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==i(e))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},"./node_modules/core-js/modules/_regexp-exec.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/_regexp-exec.js ***! + \******************************************************/ +/*! no static exports found */function(e,t,n){"use strict";var i=n(/*! ./_flags */"./node_modules/core-js/modules/_flags.js"),o=RegExp.prototype.exec,r=String.prototype.replace,a=o,s="lastIndex",l=function(){var e=/a/,t=/b*/g;return o.call(e,"a"),o.call(t,"a"),0!==e[s]||0!==t[s]}(),c=void 0!==/()??/.exec("")[1],u=l||c;u&&(a=function(e){var t,n,a,u,d=this;return c&&(n=new RegExp("^"+d.source+"$(?!\\s)",i.call(d))),l&&(t=d[s]),a=o.call(d,e),l&&a&&(d[s]=d.global?a.index+a[0].length:t),c&&a&&a.length>1&&r.call(a[0],n,(function(){for(u=1;u=c?e?"":void 0:(r=s.charCodeAt(l),r<55296||r>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):r:e?s.slice(l,l+2):a-56320+(r-55296<<10)+65536)}}},"./node_modules/core-js/modules/_string-context.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/modules/_string-context.js ***! + \*********************************************************/ +/*! no static exports found */function(e,t,n){var i=n(/*! ./_is-regexp */"./node_modules/core-js/modules/_is-regexp.js"),o=n(/*! ./_defined */"./node_modules/core-js/modules/_defined.js");e.exports=function(e,t,n){if(i(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(e))}},"./node_modules/core-js/modules/_to-absolute-index.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/modules/_to-absolute-index.js ***! + \************************************************************/ +/*! no static exports found */function(e,t,n){var i=n(/*! ./_to-integer */"./node_modules/core-js/modules/_to-integer.js"),o=Math.max,r=Math.min;e.exports=function(e,t){return e=i(e),e<0?o(e+t,0):r(e,t)}},"./node_modules/core-js/modules/_to-integer.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/modules/_to-integer.js ***! + \*****************************************************/ +/*! no static exports found */function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},"./node_modules/core-js/modules/_to-iobject.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/modules/_to-iobject.js ***! + \*****************************************************/ +/*! no static exports found */function(e,t,n){var i=n(/*! ./_iobject */"./node_modules/core-js/modules/_iobject.js"),o=n(/*! ./_defined */"./node_modules/core-js/modules/_defined.js");e.exports=function(e){return i(o(e))}},"./node_modules/core-js/modules/_to-length.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/_to-length.js ***! + \****************************************************/ +/*! no static exports found */function(e,t,n){var i=n(/*! ./_to-integer */"./node_modules/core-js/modules/_to-integer.js"),o=Math.min;e.exports=function(e){return e>0?o(i(e),9007199254740991):0}},"./node_modules/core-js/modules/_to-object.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/_to-object.js ***! + \****************************************************/ +/*! no static exports found */function(e,t,n){var i=n(/*! ./_defined */"./node_modules/core-js/modules/_defined.js");e.exports=function(e){return Object(i(e))}},"./node_modules/core-js/modules/_to-primitive.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/_to-primitive.js ***! + \*******************************************************/ +/*! no static exports found */function(e,t,n){var i=n(/*! ./_is-object */"./node_modules/core-js/modules/_is-object.js");e.exports=function(e,t){if(!i(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!i(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!i(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!i(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/modules/_uid.js": +/*!**********************************************!*\ + !*** ./node_modules/core-js/modules/_uid.js ***! + \**********************************************/ +/*! no static exports found */function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},"./node_modules/core-js/modules/_wks-define.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/modules/_wks-define.js ***! + \*****************************************************/ +/*! no static exports found */function(e,t,n){var i=n(/*! ./_global */"./node_modules/core-js/modules/_global.js"),o=n(/*! ./_core */"./node_modules/core-js/modules/_core.js"),r=n(/*! ./_library */"./node_modules/core-js/modules/_library.js"),a=n(/*! ./_wks-ext */"./node_modules/core-js/modules/_wks-ext.js"),s=n(/*! ./_object-dp */"./node_modules/core-js/modules/_object-dp.js").f;e.exports=function(e){var t=o.Symbol||(o.Symbol=r?{}:i.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},"./node_modules/core-js/modules/_wks-ext.js": +/*!**************************************************!*\ + !*** ./node_modules/core-js/modules/_wks-ext.js ***! + \**************************************************/ +/*! no static exports found */function(e,t,n){t.f=n(/*! ./_wks */"./node_modules/core-js/modules/_wks.js")},"./node_modules/core-js/modules/_wks.js": +/*!**********************************************!*\ + !*** ./node_modules/core-js/modules/_wks.js ***! + \**********************************************/ +/*! no static exports found */function(e,t,n){var i=n(/*! ./_shared */"./node_modules/core-js/modules/_shared.js")("wks"),o=n(/*! ./_uid */"./node_modules/core-js/modules/_uid.js"),r=n(/*! ./_global */"./node_modules/core-js/modules/_global.js").Symbol,a="function"==typeof r,s=e.exports=function(e){return i[e]||(i[e]=a&&r[e]||(a?r:o)("Symbol."+e))};s.store=i},"./node_modules/core-js/modules/core.get-iterator-method.js": +/*!******************************************************************!*\ + !*** ./node_modules/core-js/modules/core.get-iterator-method.js ***! + \******************************************************************/ +/*! no static exports found */function(e,t,n){var i=n(/*! ./_classof */"./node_modules/core-js/modules/_classof.js"),o=n(/*! ./_wks */"./node_modules/core-js/modules/_wks.js")("iterator"),r=n(/*! ./_iterators */"./node_modules/core-js/modules/_iterators.js");e.exports=n(/*! ./_core */"./node_modules/core-js/modules/_core.js").getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||r[i(e)]}},"./node_modules/core-js/modules/es6.array.from.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.array.from.js ***! + \********************************************************/ +/*! no static exports found */function(e,t,n){"use strict";var i=n(/*! ./_ctx */"./node_modules/core-js/modules/_ctx.js"),o=n(/*! ./_export */"./node_modules/core-js/modules/_export.js"),r=n(/*! ./_to-object */"./node_modules/core-js/modules/_to-object.js"),a=n(/*! ./_iter-call */"./node_modules/core-js/modules/_iter-call.js"),s=n(/*! ./_is-array-iter */"./node_modules/core-js/modules/_is-array-iter.js"),l=n(/*! ./_to-length */"./node_modules/core-js/modules/_to-length.js"),c=n(/*! ./_create-property */"./node_modules/core-js/modules/_create-property.js"),u=n(/*! ./core.get-iterator-method */"./node_modules/core-js/modules/core.get-iterator-method.js");o(o.S+o.F*!n(/*! ./_iter-detect */"./node_modules/core-js/modules/_iter-detect.js")((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,o,d,h=r(e),f="function"==typeof this?this:Array,p=arguments.length,g=p>1?arguments[1]:void 0,v=void 0!==g,m=0,b=u(h);if(v&&(g=i(g,p>2?arguments[2]:void 0,2)),void 0==b||f==Array&&s(b))for(t=l(h.length),n=new f(t);t>m;m++)c(n,m,v?g(h[m],m):h[m]);else for(d=b.call(h),n=new f;!(o=d.next()).done;m++)c(n,m,v?a(d,g,[o.value,m],!0):o.value);return n.length=m,n}})},"./node_modules/core-js/modules/es6.array.iterator.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.array.iterator.js ***! + \************************************************************/ +/*! no static exports found */function(e,t,n){"use strict";var i=n(/*! ./_add-to-unscopables */"./node_modules/core-js/modules/_add-to-unscopables.js"),o=n(/*! ./_iter-step */"./node_modules/core-js/modules/_iter-step.js"),r=n(/*! ./_iterators */"./node_modules/core-js/modules/_iterators.js"),a=n(/*! ./_to-iobject */"./node_modules/core-js/modules/_to-iobject.js");e.exports=n(/*! ./_iter-define */"./node_modules/core-js/modules/_iter-define.js")(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),r.Arguments=r.Array,i("keys"),i("values"),i("entries")},"./node_modules/core-js/modules/es6.function.name.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.function.name.js ***! + \***********************************************************/ +/*! no static exports found */function(e,t,n){var i=n(/*! ./_object-dp */"./node_modules/core-js/modules/_object-dp.js").f,o=Function.prototype,r=/^\s*function ([^ (]*)/,a="name";a in o||n(/*! ./_descriptors */"./node_modules/core-js/modules/_descriptors.js")&&i(o,a,{configurable:!0,get:function(){try{return(""+this).match(r)[1]}catch(e){return""}}})},"./node_modules/core-js/modules/es6.number.is-finite.js": +/*!**************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.number.is-finite.js ***! + \**************************************************************/ +/*! no static exports found */function(e,t,n){var i=n(/*! ./_export */"./node_modules/core-js/modules/_export.js"),o=n(/*! ./_global */"./node_modules/core-js/modules/_global.js").isFinite;i(i.S,"Number",{isFinite:function(e){return"number"==typeof e&&o(e)}})},"./node_modules/core-js/modules/es6.object.to-string.js": +/*!**************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.object.to-string.js ***! + \**************************************************************/ +/*! no static exports found */function(e,t,n){"use strict";var i=n(/*! ./_classof */"./node_modules/core-js/modules/_classof.js"),o={};o[n(/*! ./_wks */"./node_modules/core-js/modules/_wks.js")("toStringTag")]="z",o+""!="[object z]"&&n(/*! ./_redefine */"./node_modules/core-js/modules/_redefine.js")(Object.prototype,"toString",(function(){return"[object "+i(this)+"]"}),!0)},"./node_modules/core-js/modules/es6.regexp.exec.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.regexp.exec.js ***! + \*********************************************************/ +/*! no static exports found */function(e,t,n){"use strict";var i=n(/*! ./_regexp-exec */"./node_modules/core-js/modules/_regexp-exec.js");n(/*! ./_export */"./node_modules/core-js/modules/_export.js")({target:"RegExp",proto:!0,forced:i!==/./.exec},{exec:i})},"./node_modules/core-js/modules/es6.regexp.split.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.regexp.split.js ***! + \**********************************************************/ +/*! no static exports found */function(e,t,n){"use strict";var i=n(/*! ./_is-regexp */"./node_modules/core-js/modules/_is-regexp.js"),o=n(/*! ./_an-object */"./node_modules/core-js/modules/_an-object.js"),r=n(/*! ./_species-constructor */"./node_modules/core-js/modules/_species-constructor.js"),a=n(/*! ./_advance-string-index */"./node_modules/core-js/modules/_advance-string-index.js"),s=n(/*! ./_to-length */"./node_modules/core-js/modules/_to-length.js"),l=n(/*! ./_regexp-exec-abstract */"./node_modules/core-js/modules/_regexp-exec-abstract.js"),c=n(/*! ./_regexp-exec */"./node_modules/core-js/modules/_regexp-exec.js"),u=n(/*! ./_fails */"./node_modules/core-js/modules/_fails.js"),d=Math.min,h=[].push,f="split",p="length",g="lastIndex",v=4294967295,m=!u((function(){RegExp(v,"y")}));n(/*! ./_fix-re-wks */"./node_modules/core-js/modules/_fix-re-wks.js")("split",2,(function(e,t,n,u){var b;return b="c"=="abbc"[f](/(b)*/)[1]||4!="test"[f](/(?:)/,-1)[p]||2!="ab"[f](/(?:ab)*/)[p]||4!="."[f](/(.?)(.?)/)[p]||"."[f](/()()/)[p]>1||""[f](/.?/)[p]?function(e,t){var o=String(this);if(void 0===e&&0===t)return[];if(!i(e))return n.call(o,e,t);var r,a,s,l=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),d=0,f=void 0===t?v:t>>>0,m=new RegExp(e.source,u+"g");while(r=c.call(m,o)){if(a=m[g],a>d&&(l.push(o.slice(d,r.index)),r[p]>1&&r.index=f))break;m[g]===r.index&&m[g]++}return d===o[p]?!s&&m.test("")||l.push(""):l.push(o.slice(d)),l[p]>f?l.slice(0,f):l}:"0"[f](void 0,0)[p]?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function(n,i){var o=e(this),r=void 0==n?void 0:n[t];return void 0!==r?r.call(n,o,i):b.call(String(o),n,i)},function(e,t){var i=u(b,e,this,t,b!==n);if(i.done)return i.value;var c=o(e),h=String(this),f=r(c,RegExp),p=c.unicode,g=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(m?"y":"g"),x=new f(m?c:"^(?:"+c.source+")",g),y=void 0===t?v:t>>>0;if(0===y)return[];if(0===h.length)return null===l(x,h)?[h]:[];var w=0,k=0,S=[];while(k1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es6.symbol.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/es6.symbol.js ***! + \****************************************************/ +/*! no static exports found */function(e,t,n){"use strict";var i=n(/*! ./_global */"./node_modules/core-js/modules/_global.js"),o=n(/*! ./_has */"./node_modules/core-js/modules/_has.js"),r=n(/*! ./_descriptors */"./node_modules/core-js/modules/_descriptors.js"),a=n(/*! ./_export */"./node_modules/core-js/modules/_export.js"),s=n(/*! ./_redefine */"./node_modules/core-js/modules/_redefine.js"),l=n(/*! ./_meta */"./node_modules/core-js/modules/_meta.js").KEY,c=n(/*! ./_fails */"./node_modules/core-js/modules/_fails.js"),u=n(/*! ./_shared */"./node_modules/core-js/modules/_shared.js"),d=n(/*! ./_set-to-string-tag */"./node_modules/core-js/modules/_set-to-string-tag.js"),h=n(/*! ./_uid */"./node_modules/core-js/modules/_uid.js"),f=n(/*! ./_wks */"./node_modules/core-js/modules/_wks.js"),p=n(/*! ./_wks-ext */"./node_modules/core-js/modules/_wks-ext.js"),g=n(/*! ./_wks-define */"./node_modules/core-js/modules/_wks-define.js"),v=n(/*! ./_enum-keys */"./node_modules/core-js/modules/_enum-keys.js"),m=n(/*! ./_is-array */"./node_modules/core-js/modules/_is-array.js"),b=n(/*! ./_an-object */"./node_modules/core-js/modules/_an-object.js"),x=n(/*! ./_is-object */"./node_modules/core-js/modules/_is-object.js"),y=n(/*! ./_to-object */"./node_modules/core-js/modules/_to-object.js"),w=n(/*! ./_to-iobject */"./node_modules/core-js/modules/_to-iobject.js"),k=n(/*! ./_to-primitive */"./node_modules/core-js/modules/_to-primitive.js"),S=n(/*! ./_property-desc */"./node_modules/core-js/modules/_property-desc.js"),C=n(/*! ./_object-create */"./node_modules/core-js/modules/_object-create.js"),_=n(/*! ./_object-gopn-ext */"./node_modules/core-js/modules/_object-gopn-ext.js"),A=n(/*! ./_object-gopd */"./node_modules/core-js/modules/_object-gopd.js"),P=n(/*! ./_object-gops */"./node_modules/core-js/modules/_object-gops.js"),L=n(/*! ./_object-dp */"./node_modules/core-js/modules/_object-dp.js"),j=n(/*! ./_object-keys */"./node_modules/core-js/modules/_object-keys.js"),T=A.f,F=L.f,E=_.f,O=i.Symbol,M=i.JSON,R=M&&M.stringify,I="prototype",z=f("_hidden"),H=f("toPrimitive"),N={}.propertyIsEnumerable,q=u("symbol-registry"),D=u("symbols"),B=u("op-symbols"),Y=Object[I],X="function"==typeof O&&!!P.f,V=i.QObject,W=!V||!V[I]||!V[I].findChild,$=r&&c((function(){return 7!=C(F({},"a",{get:function(){return F(this,"a",{value:7}).a}})).a}))?function(e,t,n){var i=T(Y,t);i&&delete Y[t],F(e,t,n),i&&e!==Y&&F(Y,t,i)}:F,U=function(e){var t=D[e]=C(O[I]);return t._k=e,t},Z=X&&"symbol"==typeof O.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof O},G=function(e,t,n){return e===Y&&G(B,t,n),b(e),t=k(t,!0),b(n),o(D,t)?(n.enumerable?(o(e,z)&&e[z][t]&&(e[z][t]=!1),n=C(n,{enumerable:S(0,!1)})):(o(e,z)||F(e,z,S(1,{})),e[z][t]=!0),$(e,t,n)):F(e,t,n)},K=function(e,t){b(e);var n,i=v(t=w(t)),o=0,r=i.length;while(r>o)G(e,n=i[o++],t[n]);return e},J=function(e,t){return void 0===t?C(e):K(C(e),t)},Q=function(e){var t=N.call(this,e=k(e,!0));return!(this===Y&&o(D,e)&&!o(B,e))&&(!(t||!o(this,e)||!o(D,e)||o(this,z)&&this[z][e])||t)},ee=function(e,t){if(e=w(e),t=k(t,!0),e!==Y||!o(D,t)||o(B,t)){var n=T(e,t);return!n||!o(D,t)||o(e,z)&&e[z][t]||(n.enumerable=!0),n}},te=function(e){var t,n=E(w(e)),i=[],r=0;while(n.length>r)o(D,t=n[r++])||t==z||t==l||i.push(t);return i},ne=function(e){var t,n=e===Y,i=E(n?B:w(e)),r=[],a=0;while(i.length>a)!o(D,t=i[a++])||n&&!o(Y,t)||r.push(D[t]);return r};X||(O=function(){if(this instanceof O)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===Y&&t.call(B,n),o(this,z)&&o(this[z],e)&&(this[z][e]=!1),$(this,e,S(1,n))};return r&&W&&$(Y,e,{configurable:!0,set:t}),U(e)},s(O[I],"toString",(function(){return this._k})),A.f=ee,L.f=G,n(/*! ./_object-gopn */"./node_modules/core-js/modules/_object-gopn.js").f=_.f=te,n(/*! ./_object-pie */"./node_modules/core-js/modules/_object-pie.js").f=Q,P.f=ne,r&&!n(/*! ./_library */"./node_modules/core-js/modules/_library.js")&&s(Y,"propertyIsEnumerable",Q,!0),p.f=function(e){return U(f(e))}),a(a.G+a.W+a.F*!X,{Symbol:O});for(var ie="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),oe=0;ie.length>oe;)f(ie[oe++]);for(var re=j(f.store),ae=0;re.length>ae;)g(re[ae++]);a(a.S+a.F*!X,"Symbol",{for:function(e){return o(q,e+="")?q[e]:q[e]=O(e)},keyFor:function(e){if(!Z(e))throw TypeError(e+" is not a symbol!");for(var t in q)if(q[t]===e)return t},useSetter:function(){W=!0},useSimple:function(){W=!1}}),a(a.S+a.F*!X,"Object",{create:J,defineProperty:G,defineProperties:K,getOwnPropertyDescriptor:ee,getOwnPropertyNames:te,getOwnPropertySymbols:ne});var se=c((function(){P.f(1)}));a(a.S+a.F*se,"Object",{getOwnPropertySymbols:function(e){return P.f(y(e))}}),M&&a(a.S+a.F*(!X||c((function(){var e=O();return"[null]"!=R([e])||"{}"!=R({a:e})||"{}"!=R(Object(e))}))),"JSON",{stringify:function(e){var t,n,i=[e],o=1;while(arguments.length>o)i.push(arguments[o++]);if(n=t=i[1],(x(t)||void 0!==e)&&!Z(e))return m(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!Z(t))return t}),i[1]=t,R.apply(M,i)}}),O[I][H]||n(/*! ./_hide */"./node_modules/core-js/modules/_hide.js")(O[I],H,O[I].valueOf),d(O,"Symbol"),d(Math,"Math",!0),d(i.JSON,"JSON",!0)},"./node_modules/core-js/modules/es7.array.includes.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/modules/es7.array.includes.js ***! + \************************************************************/ +/*! no static exports found */function(e,t,n){"use strict";var i=n(/*! ./_export */"./node_modules/core-js/modules/_export.js"),o=n(/*! ./_array-includes */"./node_modules/core-js/modules/_array-includes.js")(!0);i(i.P,"Array",{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(/*! ./_add-to-unscopables */"./node_modules/core-js/modules/_add-to-unscopables.js")("includes")},"./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js": +/*!*********************************************************************************!*\ + !*** ./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js ***! + \*********************************************************************************/ +/*! no static exports found */function(e,t,n){var i=n(/*! ./_export */"./node_modules/core-js/modules/_export.js"),o=n(/*! ./_own-keys */"./node_modules/core-js/modules/_own-keys.js"),r=n(/*! ./_to-iobject */"./node_modules/core-js/modules/_to-iobject.js"),a=n(/*! ./_object-gopd */"./node_modules/core-js/modules/_object-gopd.js"),s=n(/*! ./_create-property */"./node_modules/core-js/modules/_create-property.js");i(i.S,"Object",{getOwnPropertyDescriptors:function(e){var t,n,i=r(e),l=a.f,c=o(i),u={},d=0;while(c.length>d)n=l(i,t=c[d++]),void 0!==n&&s(u,t,n);return u}})},"./node_modules/core-js/modules/es7.symbol.async-iterator.js": +/*!*******************************************************************!*\ + !*** ./node_modules/core-js/modules/es7.symbol.async-iterator.js ***! + \*******************************************************************/ +/*! no static exports found */function(e,t,n){n(/*! ./_wks-define */"./node_modules/core-js/modules/_wks-define.js")("asyncIterator")},"./node_modules/core-js/modules/web.dom.iterable.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/web.dom.iterable.js ***! + \**********************************************************/ +/*! no static exports found */function(e,t,n){for(var i=n(/*! ./es6.array.iterator */"./node_modules/core-js/modules/es6.array.iterator.js"),o=n(/*! ./_object-keys */"./node_modules/core-js/modules/_object-keys.js"),r=n(/*! ./_redefine */"./node_modules/core-js/modules/_redefine.js"),a=n(/*! ./_global */"./node_modules/core-js/modules/_global.js"),s=n(/*! ./_hide */"./node_modules/core-js/modules/_hide.js"),l=n(/*! ./_iterators */"./node_modules/core-js/modules/_iterators.js"),c=n(/*! ./_wks */"./node_modules/core-js/modules/_wks.js"),u=c("iterator"),d=c("toStringTag"),h=l.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=o(f),g=0;g>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,i=0;n>>5]|=e[n]<<24-i%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n>>6*(3-r)&63)):n.push("=");return n.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],i=0,o=0;i>>6-2*o);return n}};e.exports=n})()},"./node_modules/is-buffer/index.js": +/*!*****************************************!*\ + !*** ./node_modules/is-buffer/index.js ***! + \*****************************************/ +/*! no static exports found */function(e,t){function n(e){return!!e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function i(e){return"function"===typeof e.readFloatLE&&"function"===typeof e.slice&&n(e.slice(0,0))} +/*! + * Determine if an object is a Buffer + * + * @author Feross Aboukhadijeh + * @license MIT + */ +e.exports=function(e){return null!=e&&(n(e)||i(e)||!!e._isBuffer)}},"./node_modules/md5/md5.js": +/*!*********************************!*\ + !*** ./node_modules/md5/md5.js ***! + \*********************************/ +/*! no static exports found */function(e,t,n){(function(){var t=n(/*! crypt */"./node_modules/crypt/crypt.js"),i=n(/*! charenc */"./node_modules/charenc/charenc.js").utf8,o=n(/*! is-buffer */"./node_modules/is-buffer/index.js"),r=n(/*! charenc */"./node_modules/charenc/charenc.js").bin,a=function(e,n){e.constructor==String?e=n&&"binary"===n.encoding?r.stringToBytes(e):i.stringToBytes(e):o(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var s=t.bytesToWords(e),l=8*e.length,c=1732584193,u=-271733879,d=-1732584194,h=271733878,f=0;f>>24)|4278255360&(s[f]<<24|s[f]>>>8);s[l>>>5]|=128<>>9<<4)]=l;var p=a._ff,g=a._gg,v=a._hh,m=a._ii;for(f=0;f>>0,u=u+x>>>0,d=d+y>>>0,h=h+w>>>0}return t.endian([c,u,d,h])};a._ff=function(e,t,n,i,o,r,a){var s=e+(t&n|~t&i)+(o>>>0)+a;return(s<>>32-r)+t},a._gg=function(e,t,n,i,o,r,a){var s=e+(t&i|n&~i)+(o>>>0)+a;return(s<>>32-r)+t},a._hh=function(e,t,n,i,o,r,a){var s=e+(t^n^i)+(o>>>0)+a;return(s<>>32-r)+t},a._ii=function(e,t,n,i,o,r,a){var s=e+(n^(t|~i))+(o>>>0)+a;return(s<>>32-r)+t},a._blocksize=16,a._digestsize=16,e.exports=function(e,n){if(void 0===e||null===e)throw new Error("Illegal argument "+e);var i=t.wordsToBytes(a(e,n));return n&&n.asBytes?i:n&&n.asString?r.bytesToString(i):t.bytesToHex(i)}})()},"./node_modules/regenerator-runtime/runtime.js": +/*!*****************************************************!*\ + !*** ./node_modules/regenerator-runtime/runtime.js ***! + \*****************************************************/ +/*! no static exports found */function(e,t,n){var i=function(e){"use strict";var t,n=Object.prototype,i=n.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},r=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(E){l=function(e,t,n){return e[t]=n}}function c(e,t,n,i){var o=t&&t.prototype instanceof v?t:v,r=Object.create(o.prototype),a=new j(i||[]);return r._invoke=_(e,n,a),r}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(E){return{type:"throw",arg:E}}}e.wrap=c;var d="suspendedStart",h="suspendedYield",f="executing",p="completed",g={};function v(){}function m(){}function b(){}var x={};x[r]=function(){return this};var y=Object.getPrototypeOf,w=y&&y(y(T([])));w&&w!==n&&i.call(w,r)&&(x=w);var k=b.prototype=v.prototype=Object.create(x);function S(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function C(e,t){function n(o,r,a,s){var l=u(e[o],e,r);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"===typeof d&&i.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(d).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var o;function r(e,i){function r(){return new t((function(t,o){n(e,i,t,o)}))}return o=o?o.then(r,r):r()}this._invoke=r}function _(e,t,n){var i=d;return function(o,r){if(i===f)throw new Error("Generator is already running");if(i===p){if("throw"===o)throw r;return F()}n.method=o,n.arg=r;while(1){var a=n.delegate;if(a){var s=A(a,n);if(s){if(s===g)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===d)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=f;var l=u(e,t,n);if("normal"===l.type){if(i=n.done?p:h,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i=p,n.method="throw",n.arg=l.arg)}}}function A(e,n){var i=e.iterator[n.method];if(i===t){if(n.delegate=null,"throw"===n.method){if(e.iterator["return"]&&(n.method="return",n.arg=t,A(e,n),"throw"===n.method))return g;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var o=u(i,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var r=o.arg;return r?r.done?(n[e.resultName]=r.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,g):r:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function T(e){if(e){var n=e[r];if(n)return n.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){while(++o=0;--r){var a=this.tryEntries[r],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),c=i.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&i.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),L(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var i=n.completion;if("throw"===i.type){var o=i.arg;L(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,i){return this.delegate={iterator:T(e),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=t),g}},e}(e.exports);try{regeneratorRuntime=i}catch(o){Function("r","regeneratorRuntime = r")(i)}},"./src/api.js": +/*!********************!*\ + !*** ./src/api.js ***! + \********************/ +/*! exports provided: setup, setupCache, serializeQuery, default */function(e,t,n){"use strict";n.r(t),n.d(t,"setup",(function(){return m})),n.d(t,"setupCache",(function(){return v}));n(/*! core-js/modules/es7.object.get-own-property-descriptors */"./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js"),n(/*! core-js/modules/es6.symbol */"./node_modules/core-js/modules/es6.symbol.js"),n(/*! core-js/modules/es6.array.iterator */"./node_modules/core-js/modules/es6.array.iterator.js"),n(/*! core-js/modules/es6.object.to-string */"./node_modules/core-js/modules/es6.object.to-string.js"),n(/*! regenerator-runtime/runtime */"./node_modules/regenerator-runtime/runtime.js");var i=n(/*! axios */"axios"),o=n.n(i),r=n(/*! ./request */"./src/request.js"),a=n(/*! ./cache */"./src/cache.js");n.d(t,"serializeQuery",(function(){return a["serializeQuery"]}));var s=n(/*! ./config */"./src/config.js"),l=n(/*! ./utilities */"./src/utilities.js");function c(e,t){if(null==e)return{};var n,i,o=u(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function u(e,t){if(null==e)return{};var n,i,o={},r=Object.keys(e);for(i=0;i=0||(o[n]=e[n]);return o}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function h(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};function t(e){return n.apply(this,arguments)}function n(){return n=g(regeneratorRuntime.mark((function t(n){var i,o,a,c,u;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=Object(s["mergeRequestConfig"])(e,n),t.next=3,Object(r["default"])(i,n);case 3:if(o=t.sent,a=o.next,Object(l["isFunction"])(a)){t.next=7;break}return t.abrupt("return",a);case 7:return t.prev=7,t.next=10,i.adapter(n);case 10:o=t.sent,t.next=16;break;case 13:t.prev=13,t.t0=t["catch"](7),c=t.t0;case 16:if(!c){t.next=31;break}if(u=Object(l["isFunction"])(i.readOnError)?i.readOnError(c,n):i.readOnError,!u){t.next=30;break}return t.prev=19,i.acceptStale=!0,t.next=23,Object(r["default"])(i,n);case 23:return o=t.sent,o.next.request.stale=!0,t.abrupt("return",o.next);case 28:t.prev=28,t.t1=t["catch"](19);case 30:throw c;case 31:return t.abrupt("return",a(o));case 32:case"end":return t.stop()}}),t,null,[[7,13],[19,28]])}))),n.apply(this,arguments)}return e=Object(s["makeConfig"])(e),{adapter:t,config:e,store:e.store}}function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=h(h(h({},s["defaults"].axios),e),{},{cache:h(h({},s["defaults"].axios.cache),e.cache)}),n=v(t.cache),i=(t.cache,c(t,["cache"])),r=o.a.create(h(h({},i),{},{adapter:n.adapter}));return r.cache=n.store,r}t["default"]={setup:m,setupCache:v,serializeQuery:a["serializeQuery"]}},"./src/cache.js": +/*!**********************!*\ + !*** ./src/cache.js ***! + \**********************/ +/*! exports provided: read, write, key, invalidate, serializeQuery, default */function(e,t,n){"use strict";n.r(t),n.d(t,"read",(function(){return d})),n.d(t,"write",(function(){return c})),n.d(t,"key",(function(){return f})),n.d(t,"invalidate",(function(){return v})),n.d(t,"serializeQuery",(function(){return m}));n(/*! core-js/modules/es7.array.includes */"./node_modules/core-js/modules/es7.array.includes.js"),n(/*! core-js/modules/es6.string.includes */"./node_modules/core-js/modules/es6.string.includes.js"),n(/*! regenerator-runtime/runtime */"./node_modules/regenerator-runtime/runtime.js"),n(/*! core-js/modules/es6.array.iterator */"./node_modules/core-js/modules/es6.array.iterator.js"),n(/*! core-js/modules/es6.object.to-string */"./node_modules/core-js/modules/es6.object.to-string.js");var i=n(/*! ./utilities */"./src/utilities.js"),o=n(/*! md5 */"./node_modules/md5/md5.js"),r=n.n(o),a=n(/*! ./serialize */"./src/serialize.js");function s(e,t,n,i,o,r,a){try{var s=e[r](a),l=s.value}catch(c){return void n(c)}s.done?t(l):Promise.resolve(l).then(i,o)}function l(e){return function(){var t=this,n=arguments;return new Promise((function(i,o){var r=e.apply(t,n);function a(e){s(r,i,o,a,l,"next",e)}function l(e){s(r,i,o,a,l,"throw",e)}a(void 0)}))}}function c(e,t,n){return u.apply(this,arguments)}function u(){return u=l(regeneratorRuntime.mark((function e(t,n,i){var o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,o={expires:t.expires,data:Object(a["default"])(t,n,i)},e.next=4,t.store.setItem(t.uuid,o);case 4:e.next=19;break;case 6:if(e.prev=6,e.t0=e["catch"](0),t.debug("Could not store response",e.t0),!t.clearOnError){e.next=18;break}return e.prev=10,e.next=13,t.store.clear();case 13:e.next=18;break;case 15:e.prev=15,e.t1=e["catch"](10),t.debug("Could not clear store",e.t1);case 18:return e.abrupt("return",!1);case 19:return e.abrupt("return",!0);case 20:case"end":return e.stop()}}),e,null,[[0,6],[10,15]])}))),u.apply(this,arguments)}function d(e,t){return h.apply(this,arguments)}function h(){return h=l(regeneratorRuntime.mark((function e(t,n){var i,o,r,a,s,l,c,u;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return i=t.uuid,o=t.ignoreCache,e.next=3,t.store.getItem(i);case 3:if(r=e.sent,!o&&r&&r.data){e.next=10;break}throw t.debug("cache-miss",n.url),a=new Error,a.reason="cache-miss",a.message="Entry not found from cache",a;case 10:if(s=r.expires,l=r.data,c="undefined"!==typeof navigator&&"onLine"in navigator&&!navigator.onLine,c||t.acceptStale||0===s||!(s0&&void 0!==arguments[0]?arguments[0]:{};return Object(i["isFunction"])(e.invalidate)?e.invalidate:p}function m(e){if(!e.params)return"";if("undefined"===typeof URLSearchParams)return JSON.stringify(e.params);var t=e.params,n=e.params instanceof URLSearchParams;return n||(t=new URLSearchParams,Object.keys(e.params).forEach((function(n){return t.append(n,e.params[n])}))),"?".concat(t.toString())}t["default"]={read:d,write:c,key:f,invalidate:v,serializeQuery:m}},"./src/config.js": +/*!***********************!*\ + !*** ./src/config.js ***! + \***********************/ +/*! exports provided: defaults, makeConfig, mergeRequestConfig, default */function(e,t,n){"use strict";n.r(t),n.d(t,"defaults",(function(){return h})),n.d(t,"makeConfig",(function(){return p})),n.d(t,"mergeRequestConfig",(function(){return g}));n(/*! core-js/modules/es7.object.get-own-property-descriptors */"./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js"),n(/*! core-js/modules/es6.symbol */"./node_modules/core-js/modules/es6.symbol.js"),n(/*! core-js/modules/es6.array.iterator */"./node_modules/core-js/modules/es6.array.iterator.js"),n(/*! core-js/modules/es6.object.to-string */"./node_modules/core-js/modules/es6.object.to-string.js");var i=n(/*! axios */"axios"),o=n.n(i),r=n(/*! ./memory */"./src/memory.js"),a=n(/*! ./cache */"./src/cache.js");function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function l(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=l(l(l({},h.cache),e),{},{exclude:l(l({},h.cache.exclude),e.exclude)});return t.key=Object(a["key"])(t),t.invalidate=Object(a["invalidate"])(t),!1!==t.debug?t.debug="function"===typeof t.debug?t.debug:d:t.debug=u,t.store||(t.store=new r["default"]),t.debug("Global cache config",t),t},g=function(e,t){var n=t.cache||{};n&&f.forEach((function(e){return n[e]?delete n[e]:void 0}));var i=l(l(l({},e),n),{},{exclude:l(l({},e.exclude),n.exclude)});return!0===i.debug&&(i.debug=d),n.key&&(i.key=Object(a["key"])(n)),i.uuid=i.key(t),e.debug("Request config for ".concat(t.url),i),i};t["default"]={defaults:h,makeConfig:p,mergeRequestConfig:g}},"./src/exclude.js": +/*!************************!*\ + !*** ./src/exclude.js ***! + \************************/ +/*! exports provided: default */function(e,t,n){"use strict";n.r(t);n(/*! core-js/modules/es6.array.iterator */"./node_modules/core-js/modules/es6.array.iterator.js"),n(/*! core-js/modules/es6.object.to-string */"./node_modules/core-js/modules/es6.object.to-string.js"),n(/*! core-js/modules/es7.array.includes */"./node_modules/core-js/modules/es7.array.includes.js"),n(/*! core-js/modules/es6.string.includes */"./node_modules/core-js/modules/es6.string.includes.js");var i=n(/*! ./utilities */"./src/utilities.js");function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=e.exclude,o=void 0===n?{}:n,r=e.debug,a=t.method.toLowerCase();if("head"===a||o.methods.includes(a))return r("Excluding request by HTTP method ".concat(t.url)),!0;if("function"===typeof o.filter&&o.filter(t))return r("Excluding request by filter ".concat(t.url)),!0;var s=/\?.*$/.test(t.url)||Object(i["isObject"])(t.params)&&0!==Object.keys(t.params).length||"undefined"!==typeof URLSearchParams&&t.params instanceof URLSearchParams;if(o.query&&s)return r("Excluding request by query ".concat(t.url)),!0;var l=o.paths||[],c=l.some((function(e){return t.url.match(e)}));return!!c&&(r("Excluding request by url match ".concat(t.url)),!0)}t["default"]=o},"./src/index.js": +/*!**********************!*\ + !*** ./src/index.js ***! + \**********************/ +/*! exports provided: setup, setupCache, serializeQuery, default */function(e,t,n){"use strict";n.r(t);var i=n(/*! ./api */"./src/api.js");n.d(t,"setup",(function(){return i["setup"]})),n.d(t,"setupCache",(function(){return i["setupCache"]})),n.d(t,"serializeQuery",(function(){return i["serializeQuery"]})),n.d(t,"default",(function(){return i["default"]}))},"./src/limit.js": +/*!**********************!*\ + !*** ./src/limit.js ***! + \**********************/ +/*! exports provided: default */function(e,t,n){"use strict";n.r(t);n(/*! regenerator-runtime/runtime */"./node_modules/regenerator-runtime/runtime.js"),n(/*! core-js/modules/es6.object.to-string */"./node_modules/core-js/modules/es6.object.to-string.js");function i(e,t,n,i,o,r,a){try{var s=e[r](a),l=s.value}catch(c){return void n(c)}s.done?t(l):Promise.resolve(l).then(i,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,r){var a=e.apply(t,n);function s(e){i(a,o,r,s,l,"next",e)}function l(e){i(a,o,r,s,l,"throw",e)}s(void 0)}))}}function r(e){return a.apply(this,arguments)}function a(){return a=o(regeneratorRuntime.mark((function e(t){var n,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.store.length();case 2:if(n=e.sent,!(n-1)){e.next=3;break}return e.abrupt("return",a);case 3:if(d={},t.readHeaders&&(u["cache-control"]?(d=Object(r["parse"])(u["cache-control"]),(d.noCache||d.noStore)&&(t.excludeFromCache=!0)):u.expires?t.expires=new Date(u.expires).getTime():t.expires=(new Date).getTime()),t.excludeFromCache){e.next=15;break}if(d.maxAge||0===d.maxAge?t.expires=Date.now()+1e3*d.maxAge:t.readHeaders||(t.expires=0===t.maxAge?Date.now():Date.now()+t.maxAge),!t.limit){e.next=11;break}return t.debug("Detected limit: ".concat(t.limit)),e.next=11,Object(i["default"])(t);case 11:return e.next=13,Object(o["write"])(t,n,a);case 13:e.next=16;break;case 15:a.request.excludedFromCache=!0;case 16:return e.abrupt("return",a);case 17:case"end":return e.stop()}}),e)}))),c.apply(this,arguments)}t["default"]=l},"./src/serialize.js": +/*!**************************!*\ + !*** ./src/serialize.js ***! + \**************************/ +/*! exports provided: default */function(e,t,n){"use strict";n.r(t);n(/*! core-js/modules/es6.symbol */"./node_modules/core-js/modules/es6.symbol.js"),n(/*! core-js/modules/es6.array.iterator */"./node_modules/core-js/modules/es6.array.iterator.js"),n(/*! core-js/modules/es6.object.to-string */"./node_modules/core-js/modules/es6.object.to-string.js");function i(e,t){if(null==e)return{};var n,i,r=o(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function o(e,t){if(null==e)return{};var n,i,o={},r=Object.keys(e);for(i=0;i=0||(o[n]=e[n]);return o}function r(e,t,n){if(n.data)try{n.data=JSON.parse(n.data)}catch(r){e.debug("Could not parse data as JSON",r)}n.request,n.config;var o=i(n,["request","config"]);return o}t["default"]=r},"./src/utilities.js": +/*!**************************!*\ + !*** ./src/utilities.js ***! + \**************************/ +/*! exports provided: isObject, getTag, isFunction, isString, mapObject */function(e,t,n){"use strict";n.r(t),n.d(t,"isObject",(function(){return o})),n.d(t,"getTag",(function(){return r})),n.d(t,"isFunction",(function(){return a})),n.d(t,"isString",(function(){return s})),n.d(t,"mapObject",(function(){return l}));n(/*! core-js/modules/es7.symbol.async-iterator */"./node_modules/core-js/modules/es7.symbol.async-iterator.js"),n(/*! core-js/modules/es6.symbol */"./node_modules/core-js/modules/es6.symbol.js"),n(/*! core-js/modules/es6.array.iterator */"./node_modules/core-js/modules/es6.array.iterator.js"),n(/*! core-js/modules/es6.object.to-string */"./node_modules/core-js/modules/es6.object.to-string.js");function i(e){return i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function o(e){var t=i(e);return null!=e&&("object"===t||"function"===t)}function r(e){return null===e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}function a(e){if(!o(e))return!1;var t=r(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object Proxy]"===t}function s(e){var t=i(e);return"string"===t||"object"===t&&null!=e&&!Array.isArray(e)&&"[object String]"===r(e)}function l(e,t){return o(e)?Object.keys(e).map((function(n){return t(e[n],n)})):[]}},axios: +/*!*************************************************************************************!*\ + !*** external {"umd":"axios","amd":"axios","commonjs":"axios","commonjs2":"axios"} ***! + \*************************************************************************************/ +/*! no static exports found */function(t,n){t.exports=e}})}))},9981:(e,t,n)=>{e.exports=n(6148)},6857:(e,t,n)=>{"use strict";var i=n(6031),o=n(8117),r=n(6139),a=n(9395),s=n(7187),l=n(7758),c=n(4908),u=n(7381);e.exports=function(e){return new Promise((function(t,n){var d=e.data,h=e.headers,f=e.responseType;i.isFormData(d)&&delete h["Content-Type"];var p=new XMLHttpRequest;if(e.auth){var g=e.auth.username||"",v=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";h.Authorization="Basic "+btoa(g+":"+v)}var m=s(e.baseURL,e.url);function b(){if(p){var i="getAllResponseHeaders"in p?l(p.getAllResponseHeaders()):null,r=f&&"text"!==f&&"json"!==f?p.response:p.responseText,a={data:r,status:p.status,statusText:p.statusText,headers:i,config:e,request:p};o(t,n,a),p=null}}if(p.open(e.method.toUpperCase(),a(m,e.params,e.paramsSerializer),!0),p.timeout=e.timeout,"onloadend"in p?p.onloadend=b:p.onreadystatechange=function(){p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))&&setTimeout(b)},p.onabort=function(){p&&(n(u("Request aborted",e,"ECONNABORTED",p)),p=null)},p.onerror=function(){n(u("Network Error",e,null,p)),p=null},p.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(u(t,e,e.transitional&&e.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",p)),p=null},i.isStandardBrowserEnv()){var x=(e.withCredentials||c(m))&&e.xsrfCookieName?r.read(e.xsrfCookieName):void 0;x&&(h[e.xsrfHeaderName]=x)}"setRequestHeader"in p&&i.forEach(h,(function(e,t){"undefined"===typeof d&&"content-type"===t.toLowerCase()?delete h[t]:p.setRequestHeader(t,e)})),i.isUndefined(e.withCredentials)||(p.withCredentials=!!e.withCredentials),f&&"json"!==f&&(p.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&p.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){p&&(p.abort(),n(e),p=null)})),d||(d=null),p.send(d)}))}},6148:(e,t,n)=>{"use strict";var i=n(6031),o=n(4009),r=n(7237),a=n(8342),s=n(9860);function l(e){var t=new r(e),n=o(r.prototype.request,t);return i.extend(n,r.prototype,t),i.extend(n,t),n}var c=l(s);c.Axios=r,c.create=function(e){return l(a(c.defaults,e))},c.Cancel=n(5838),c.CancelToken=n(5e3),c.isCancel=n(2649),c.all=function(e){return Promise.all(e)},c.spread=n(7615),c.isAxiosError=n(6794),e.exports=c,e.exports["default"]=c},5838:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},5e3:(e,t,n)=>{"use strict";var i=n(5838);function o(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new i(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e,t=new o((function(t){e=t}));return{token:t,cancel:e}},e.exports=o},2649:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},7237:(e,t,n)=>{"use strict";var i=n(6031),o=n(9395),r=n(7332),a=n(1014),s=n(8342),l=n(9206),c=l.validators;function u(e){this.defaults=e,this.interceptors={request:new r,response:new r}}u.prototype.request=function(e){"string"===typeof e?(e=arguments[1]||{},e.url=arguments[0]):e=e||{},e=s(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&l.assertOptions(t,{silentJSONParsing:c.transitional(c.boolean,"1.0.0"),forcedJSONParsing:c.transitional(c.boolean,"1.0.0"),clarifyTimeoutError:c.transitional(c.boolean,"1.0.0")},!1);var n=[],i=!0;this.interceptors.request.forEach((function(t){"function"===typeof t.runWhen&&!1===t.runWhen(e)||(i=i&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var o,r=[];if(this.interceptors.response.forEach((function(e){r.push(e.fulfilled,e.rejected)})),!i){var u=[a,void 0];Array.prototype.unshift.apply(u,n),u=u.concat(r),o=Promise.resolve(e);while(u.length)o=o.then(u.shift(),u.shift());return o}var d=e;while(n.length){var h=n.shift(),f=n.shift();try{d=h(d)}catch(p){f(p);break}}try{o=a(d)}catch(p){return Promise.reject(p)}while(r.length)o=o.then(r.shift(),r.shift());return o},u.prototype.getUri=function(e){return e=s(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},i.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),i.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,n,i){return this.request(s(i||{},{method:e,url:t,data:n}))}})),e.exports=u},7332:(e,t,n)=>{"use strict";var i=n(6031);function o(){this.handlers=[]}o.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){i.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},7187:(e,t,n)=>{"use strict";var i=n(6847),o=n(6560);e.exports=function(e,t){return e&&!i(t)?o(e,t):t}},7381:(e,t,n)=>{"use strict";var i=n(4918);e.exports=function(e,t,n,o,r){var a=new Error(e);return i(a,t,n,o,r)}},1014:(e,t,n)=>{"use strict";var i=n(6031),o=n(2297),r=n(2649),a=n(9860);function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){s(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=i.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),i.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]}));var t=e.adapter||a.adapter;return t(e).then((function(t){return s(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return r(t)||(s(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},4918:e=>{"use strict";e.exports=function(e,t,n,i,o){return e.config=t,n&&(e.code=n),e.request=i,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},8342:(e,t,n)=>{"use strict";var i=n(6031);e.exports=function(e,t){t=t||{};var n={},o=["url","method","data"],r=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function l(e,t){return i.isPlainObject(e)&&i.isPlainObject(t)?i.merge(e,t):i.isPlainObject(t)?i.merge({},t):i.isArray(t)?t.slice():t}function c(o){i.isUndefined(t[o])?i.isUndefined(e[o])||(n[o]=l(void 0,e[o])):n[o]=l(e[o],t[o])}i.forEach(o,(function(e){i.isUndefined(t[e])||(n[e]=l(void 0,t[e]))})),i.forEach(r,c),i.forEach(a,(function(o){i.isUndefined(t[o])?i.isUndefined(e[o])||(n[o]=l(void 0,e[o])):n[o]=l(void 0,t[o])})),i.forEach(s,(function(i){i in t?n[i]=l(e[i],t[i]):i in e&&(n[i]=l(void 0,e[i]))}));var u=o.concat(r).concat(a).concat(s),d=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===u.indexOf(e)}));return i.forEach(d,c),n}},8117:(e,t,n)=>{"use strict";var i=n(7381);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(i("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},2297:(e,t,n)=>{"use strict";var i=n(6031),o=n(9860);e.exports=function(e,t,n){var r=this||o;return i.forEach(n,(function(n){e=n.call(r,e,t)})),e}},9860:(e,t,n)=>{"use strict";var i=n(6031),o=n(4129),r=n(4918),a={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!i.isUndefined(e)&&i.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function l(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(e=n(6857)),e}function c(e,t,n){if(i.isString(e))try{return(t||JSON.parse)(e),i.trim(e)}catch(o){if("SyntaxError"!==o.name)throw o}return(n||JSON.stringify)(e)}var u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:l(),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),i.isFormData(e)||i.isArrayBuffer(e)||i.isBuffer(e)||i.isStream(e)||i.isFile(e)||i.isBlob(e)?e:i.isArrayBufferView(e)?e.buffer:i.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):i.isObject(e)||t&&"application/json"===t["Content-Type"]?(s(t,"application/json"),c(e)):e}],transformResponse:[function(e){var t=this.transitional,n=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||o&&i.isString(e)&&e.length)try{return JSON.parse(e)}catch(s){if(a){if("SyntaxError"===s.name)throw r(s,this,"E_JSON_PARSE");throw s}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};i.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),i.forEach(["post","put","patch"],(function(e){u.headers[e]=i.merge(a)})),e.exports=u},4009:e=>{"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),i=0;i{"use strict";var i=n(6031);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var r;if(n)r=n(t);else if(i.isURLSearchParams(t))r=t.toString();else{var a=[];i.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(i.isArray(e)?t+="[]":e=[e],i.forEach(e,(function(e){i.isDate(e)?e=e.toISOString():i.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),r=a.join("&")}if(r){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}},6560:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},6139:(e,t,n)=>{"use strict";var i=n(6031);e.exports=i.isStandardBrowserEnv()?function(){return{write:function(e,t,n,o,r,a){var s=[];s.push(e+"="+encodeURIComponent(t)),i.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),i.isString(o)&&s.push("path="+o),i.isString(r)&&s.push("domain="+r),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},6847:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},6794:e=>{"use strict";e.exports=function(e){return"object"===typeof e&&!0===e.isAxiosError}},4908:(e,t,n)=>{"use strict";var i=n(6031);e.exports=i.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var i=e;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=i.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return function(){return!0}}()},4129:(e,t,n)=>{"use strict";var i=n(6031);e.exports=function(e,t){i.forEach(e,(function(n,i){i!==t&&i.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[i])}))}},7758:(e,t,n)=>{"use strict";var i=n(6031),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,r,a={};return e?(i.forEach(e.split("\n"),(function(e){if(r=e.indexOf(":"),t=i.trim(e.substr(0,r)).toLowerCase(),n=i.trim(e.substr(r+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},7615:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},9206:(e,t,n)=>{"use strict";var i=n(8593),o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var r={},a=i.version.split(".");function s(e,t){for(var n=t?t.split("."):a,i=e.split("."),o=0;o<3;o++){if(n[o]>i[o])return!0;if(n[o]0){var r=i[o],a=t[r];if(a){var s=e[r],l=void 0===s||a(s,r,e);if(!0!==l)throw new TypeError("option "+r+" must be "+l)}else if(!0!==n)throw Error("Unknown option "+r)}}o.transitional=function(e,t,n){var o=t&&s(t);function a(e,t){return"[Axios v"+i.version+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,i,s){if(!1===e)throw new Error(a(i," has been removed in "+t));return o&&!r[i]&&(r[i]=!0,console.warn(a(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,s)}},e.exports={isOlderVersion:s,assertOptions:l,validators:o}},6031:(e,t,n)=>{"use strict";var i=n(4009),o=Object.prototype.toString;function r(e){return"[object Array]"===o.call(e)}function a(e){return"undefined"===typeof e}function s(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function l(e){return"[object ArrayBuffer]"===o.call(e)}function c(e){return"undefined"!==typeof FormData&&e instanceof FormData}function u(e){var t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer,t}function d(e){return"string"===typeof e}function h(e){return"number"===typeof e}function f(e){return null!==e&&"object"===typeof e}function p(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function g(e){return"[object Date]"===o.call(e)}function v(e){return"[object File]"===o.call(e)}function m(e){return"[object Blob]"===o.call(e)}function b(e){return"[object Function]"===o.call(e)}function x(e){return f(e)&&b(e.pipe)}function y(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams}function w(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function k(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function S(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),r(e))for(var n=0,i=e.length;n{function t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}e.exports=t,e.exports.__esModule=!0,e.exports["default"]=e.exports},1357:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var i=n(499),o=n(9835),r=n(2857),a=n(244),s=n(5987),l=n(2026);const c=(0,s.L)({name:"QAvatar",props:{...a.LU,fontSize:String,color:String,textColor:String,icon:String,square:Boolean,rounded:Boolean},setup(e,{slots:t}){const n=(0,a.ZP)(e),s=(0,i.Fl)((()=>"q-avatar"+(e.color?` bg-${e.color}`:"")+(e.textColor?` text-${e.textColor} q-chip--colored`:"")+(!0===e.square?" q-avatar--square":!0===e.rounded?" rounded-borders":""))),c=(0,i.Fl)((()=>e.fontSize?{fontSize:e.fontSize}:null));return()=>{const i=void 0!==e.icon?[(0,o.h)(r.Z,{name:e.icon})]:void 0;return(0,o.h)("div",{class:s.value,style:n.value},[(0,o.h)("div",{class:"q-avatar__content row flex-center overflow-hidden",style:c.value},(0,l.pf)(t.default,i))])}}})},990:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var i=n(499),o=n(9835),r=n(5987),a=n(2026);const s=["top","middle","bottom"],l=(0,r.L)({name:"QBadge",props:{color:String,textColor:String,floating:Boolean,transparent:Boolean,multiLine:Boolean,outline:Boolean,rounded:Boolean,label:[Number,String],align:{type:String,validator:e=>s.includes(e)}},setup(e,{slots:t}){const n=(0,i.Fl)((()=>void 0!==e.align?{verticalAlign:e.align}:null)),r=(0,i.Fl)((()=>{const t=!0===e.outline&&e.color||e.textColor;return`q-badge flex inline items-center no-wrap q-badge--${!0===e.multiLine?"multi":"single"}-line`+(!0===e.outline?" q-badge--outline":void 0!==e.color?` bg-${e.color}`:"")+(void 0!==t?` text-${t}`:"")+(!0===e.floating?" q-badge--floating":"")+(!0===e.rounded?" q-badge--rounded":"")+(!0===e.transparent?" q-badge--transparent":"")}));return()=>(0,o.h)("div",{class:r.value,style:n.value,role:"status","aria-label":e.label},(0,a.vs)(t.default,void 0!==e.label?[e.label]:[]))}})},7128:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var i=n(9835),o=n(499),r=n(5987),a=n(8234),s=n(2026);const l=(0,r.L)({name:"QBanner",props:{...a.S,inlineActions:Boolean,dense:Boolean,rounded:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=(0,i.FN)(),r=(0,a.Z)(e,n),l=(0,o.Fl)((()=>"q-banner row items-center"+(!0===e.dense?" q-banner--dense":"")+(!0===r.value?" q-banner--dark q-dark":"")+(!0===e.rounded?" rounded-borders":""))),c=(0,o.Fl)((()=>"q-banner__actions row items-center justify-end col-"+(!0===e.inlineActions?"auto":"all")));return()=>{const n=[(0,i.h)("div",{class:"q-banner__avatar col-auto row items-center self-start"},(0,s.KR)(t.avatar)),(0,i.h)("div",{class:"q-banner__content col text-body2"},(0,s.KR)(t.default))],o=(0,s.KR)(t.action);return void 0!==o&&n.push((0,i.h)("div",{class:c.value},o)),(0,i.h)("div",{class:l.value+(!1===e.inlineActions&&void 0!==o?" q-banner--top-padding":""),role:"alert"},n)}}})},2605:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var i=n(499),o=n(9835),r=n(5065),a=n(5987),s=n(2026),l=n(2046);const c=["",!0],u=(0,a.L)({name:"QBreadcrumbs",props:{...r.jO,separator:{type:String,default:"/"},separatorColor:String,activeColor:{type:String,default:"primary"},gutter:{type:String,validator:e=>["none","xs","sm","md","lg","xl"].includes(e),default:"sm"}},setup(e,{slots:t}){const n=(0,r.ZP)(e),a=(0,i.Fl)((()=>`flex items-center ${n.value}${"none"===e.gutter?"":` q-gutter-${e.gutter}`}`)),u=(0,i.Fl)((()=>e.separatorColor?` text-${e.separatorColor}`:"")),d=(0,i.Fl)((()=>` text-${e.activeColor}`));return()=>{const n=(0,l.Pf)((0,s.KR)(t.default));if(0===n.length)return;let i=1;const r=[],h=n.filter((e=>void 0!==e.type&&"QBreadcrumbsEl"===e.type.name)).length,f=void 0!==t.separator?t.separator:()=>e.separator;return n.forEach((e=>{if(void 0!==e.type&&"QBreadcrumbsEl"===e.type.name){const t=i{"use strict";n.d(t,{Z:()=>c});var i=n(499),o=n(9835),r=n(2857),a=n(5987),s=n(2026),l=n(945);const c=(0,a.L)({name:"QBreadcrumbsEl",props:{...l.$,label:String,icon:String,tag:{type:String,default:"span"}},emits:["click"],setup(e,{slots:t}){const{linkTag:n,linkAttrs:a,linkClass:c,navigateOnClick:u}=(0,l.Z)(),d=(0,i.Fl)((()=>({class:"q-breadcrumbs__el q-link flex inline items-center relative-position "+(!0!==e.disable?"q-link--focusable"+c.value:"q-breadcrumbs__el--disable"),...a.value,onClick:u}))),h=(0,i.Fl)((()=>"q-breadcrumbs__el-icon"+(void 0!==e.label?" q-breadcrumbs__el-icon--with-label":"")));return()=>{const i=[];return void 0!==e.icon&&i.push((0,o.h)(r.Z,{class:h.value,name:e.icon})),void 0!==e.label&&i.push(e.label),(0,o.h)(n.value,{...d.value},(0,s.vs)(t.default,i))}}})},2045:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var i=n(9835),o=n(499),r=n(2857),a=n(8879),s=n(7236),l=n(5290),c=n(6073),u=n(431),d=n(5987),h=n(1384),f=n(796),p=n(2026);const g=Object.keys(c.b7),v=e=>g.reduce(((t,n)=>{const i=e[n];return void 0!==i&&(t[n]=i),t}),{}),m=(0,d.L)({name:"QBtnDropdown",props:{...c.b7,...u.D,modelValue:Boolean,split:Boolean,dropdownIcon:String,contentClass:[Array,String,Object],contentStyle:[Array,String,Object],cover:Boolean,persistent:Boolean,noRouteDismiss:Boolean,autoClose:Boolean,menuAnchor:{type:String,default:"bottom end"},menuSelf:{type:String,default:"top end"},menuOffset:Array,disableMainBtn:Boolean,disableDropdown:Boolean,noIconAnimation:Boolean,toggleAriaLabel:String},emits:["update:modelValue","click","beforeShow","show","beforeHide","hide"],setup(e,{slots:t,emit:n}){const{proxy:u}=(0,i.FN)(),d=(0,o.iH)(e.modelValue),g=(0,o.iH)(null),m=(0,f.Z)(),b=(0,o.Fl)((()=>{const t={"aria-expanded":!0===d.value?"true":"false","aria-haspopup":"true","aria-controls":m,"aria-label":e.toggleAriaLabel||u.$q.lang.label[!0===d.value?"collapse":"expand"](e.label)};return(!0===e.disable||!1===e.split&&!0===e.disableMainBtn||!0===e.disableDropdown)&&(t["aria-disabled"]="true"),t})),x=(0,o.Fl)((()=>"q-btn-dropdown__arrow"+(!0===d.value&&!1===e.noIconAnimation?" rotate-180":"")+(!1===e.split?" q-btn-dropdown__arrow-container":""))),y=(0,o.Fl)((()=>(0,c._V)(e))),w=(0,o.Fl)((()=>v(e)));function k(e){d.value=!0,n("beforeShow",e)}function S(e){n("show",e),n("update:modelValue",!0)}function C(e){d.value=!1,n("beforeHide",e)}function _(e){n("hide",e),n("update:modelValue",!1)}function A(e){n("click",e)}function P(e){(0,h.sT)(e),T(),n("click",e)}function L(e){null!==g.value&&g.value.toggle(e)}function j(e){null!==g.value&&g.value.show(e)}function T(e){null!==g.value&&g.value.hide(e)}return(0,i.YP)((()=>e.modelValue),(e=>{null!==g.value&&g.value[e?"show":"hide"]()})),(0,i.YP)((()=>e.split),T),Object.assign(u,{show:j,hide:T,toggle:L}),(0,i.bv)((()=>{!0===e.modelValue&&j()})),()=>{const n=[(0,i.h)(r.Z,{class:x.value,name:e.dropdownIcon||u.$q.iconSet.arrow.dropdown})];return!0!==e.disableDropdown&&n.push((0,i.h)(l.Z,{ref:g,id:m,class:e.contentClass,style:e.contentStyle,cover:e.cover,fit:!0,persistent:e.persistent,noRouteDismiss:e.noRouteDismiss,autoClose:e.autoClose,anchor:e.menuAnchor,self:e.menuSelf,offset:e.menuOffset,separateClosePopup:!0,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,onBeforeShow:k,onShow:S,onBeforeHide:C,onHide:_},t.default)),!1===e.split?(0,i.h)(a.Z,{class:"q-btn-dropdown q-btn-dropdown--simple",...w.value,...b.value,disable:!0===e.disable||!0===e.disableMainBtn,noWrap:!0,round:!1,onClick:A},{default:()=>(0,p.KR)(t.label,[]).concat(n),loading:t.loading}):(0,i.h)(s.Z,{class:"q-btn-dropdown q-btn-dropdown--split no-wrap q-btn-item",rounded:e.rounded,square:e.square,...y.value,glossy:e.glossy,stretch:e.stretch},(()=>[(0,i.h)(a.Z,{class:"q-btn-dropdown--current",...w.value,disable:!0===e.disable||!0===e.disableMainBtn,noWrap:!0,round:!1,onClick:P},{default:t.label,loading:t.loading}),(0,i.h)(a.Z,{class:"q-btn-dropdown__arrow-container q-anchor--skip",...b.value,...y.value,disable:!0===e.disable||!0===e.disableDropdown,rounded:e.rounded,color:e.color,textColor:e.textColor,dense:e.dense,size:e.size,padding:e.padding,ripple:e.ripple},(()=>n))]))}}})},7236:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var i=n(499),o=n(9835),r=n(5987),a=n(2026);const s=(0,r.L)({name:"QBtnGroup",props:{unelevated:Boolean,outline:Boolean,flat:Boolean,rounded:Boolean,square:Boolean,push:Boolean,stretch:Boolean,glossy:Boolean,spread:Boolean},setup(e,{slots:t}){const n=(0,i.Fl)((()=>{const t=["unelevated","outline","flat","rounded","square","push","stretch","glossy"].filter((t=>!0===e[t])).map((e=>`q-btn-group--${e}`)).join(" ");return"q-btn-group row no-wrap"+(t.length>0?" "+t:"")+(!0===e.spread?" q-btn-group--spread":" inline")}));return()=>(0,o.h)("div",{class:n.value},(0,a.KR)(t.default))}})},8879:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var i=n(9835),o=n(499),r=n(1957),a=n(2857),s=n(3940),l=n(1136),c=n(6073),u=n(5987),d=n(2026),h=n(1384),f=n(1705);const{passiveCapture:p}=h.rU;let g=null,v=null,m=null;const b=(0,u.L)({name:"QBtn",props:{...c.b7,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:["click","keydown","mousedown","keyup"],setup(e,{slots:t,emit:n}){const{proxy:u}=(0,i.FN)(),{classes:b,style:x,innerClasses:y,attributes:w,hasLink:k,linkTag:S,navigateOnClick:C,isActionable:_}=(0,c.ZP)(e),A=(0,o.iH)(null),P=(0,o.iH)(null);let L,j,T=null;const F=(0,o.Fl)((()=>void 0!==e.label&&null!==e.label&&""!==e.label)),E=(0,o.Fl)((()=>!0!==e.disable&&!1!==e.ripple&&{keyCodes:!0===k.value?[13,32]:[13],...!0===e.ripple?{}:e.ripple})),O=(0,o.Fl)((()=>({center:e.round}))),M=(0,o.Fl)((()=>{const t=Math.max(0,Math.min(100,e.percentage));return t>0?{transition:"transform 0.6s",transform:`translateX(${t-100}%)`}:{}})),R=(0,o.Fl)((()=>{if(!0===e.loading)return{onMousedown:Y,onTouchstart:Y,onClick:Y,onKeydown:Y,onKeyup:Y};if(!0===_.value){const t={onClick:z,onKeydown:H,onMousedown:q};if(!0===u.$q.platform.has.touch){const n=void 0!==e.onTouchstart?"":"Passive";t[`onTouchstart${n}`]=N}return t}return{onClick:h.NS}})),I=(0,o.Fl)((()=>({ref:A,class:"q-btn q-btn-item non-selectable no-outline "+b.value,style:x.value,...w.value,...R.value})));function z(t){if(null!==A.value){if(void 0!==t){if(!0===t.defaultPrevented)return;const n=document.activeElement;if("submit"===e.type&&n!==document.body&&!1===A.value.contains(n)&&!1===n.contains(A.value)){A.value.focus();const e=()=>{document.removeEventListener("keydown",h.NS,!0),document.removeEventListener("keyup",e,p),null!==A.value&&A.value.removeEventListener("blur",e,p)};document.addEventListener("keydown",h.NS,!0),document.addEventListener("keyup",e,p),A.value.addEventListener("blur",e,p)}}C(t)}}function H(e){null!==A.value&&(n("keydown",e),!0===(0,f.So)(e,[13,32])&&v!==A.value&&(null!==v&&B(),!0!==e.defaultPrevented&&(A.value.focus(),v=A.value,A.value.classList.add("q-btn--active"),document.addEventListener("keyup",D,!0),A.value.addEventListener("blur",D,p)),(0,h.NS)(e)))}function N(e){null!==A.value&&(n("touchstart",e),!0!==e.defaultPrevented&&(g!==A.value&&(null!==g&&B(),g=A.value,T=e.target,T.addEventListener("touchcancel",D,p),T.addEventListener("touchend",D,p)),L=!0,clearTimeout(j),j=setTimeout((()=>{L=!1}),200)))}function q(e){null!==A.value&&(e.qSkipRipple=!0===L,n("mousedown",e),!0!==e.defaultPrevented&&m!==A.value&&(null!==m&&B(),m=A.value,A.value.classList.add("q-btn--active"),document.addEventListener("mouseup",D,p)))}function D(e){if(null!==A.value&&(void 0===e||"blur"!==e.type||document.activeElement!==A.value)){if(void 0!==e&&"keyup"===e.type){if(v===A.value&&!0===(0,f.So)(e,[13,32])){const t=new MouseEvent("click",e);t.qKeyEvent=!0,!0===e.defaultPrevented&&(0,h.X$)(t),!0===e.cancelBubble&&(0,h.sT)(t),A.value.dispatchEvent(t),(0,h.NS)(e),e.qKeyEvent=!0}n("keyup",e)}B()}}function B(e){const t=P.value;!0===e||g!==A.value&&m!==A.value||null===t||t===document.activeElement||(t.setAttribute("tabindex",-1),t.focus()),g===A.value&&(null!==T&&(T.removeEventListener("touchcancel",D,p),T.removeEventListener("touchend",D,p)),g=T=null),m===A.value&&(document.removeEventListener("mouseup",D,p),m=null),v===A.value&&(document.removeEventListener("keyup",D,!0),null!==A.value&&A.value.removeEventListener("blur",D,p),v=null),null!==A.value&&A.value.classList.remove("q-btn--active")}function Y(e){(0,h.NS)(e),e.qSkipRipple=!0}return(0,i.Jd)((()=>{B(!0)})),Object.assign(u,{click:z}),()=>{let n=[];void 0!==e.icon&&n.push((0,i.h)(a.Z,{name:e.icon,left:!1===e.stack&&!0===F.value,role:"img","aria-hidden":"true"})),!0===F.value&&n.push((0,i.h)("span",{class:"block"},[e.label])),n=(0,d.vs)(t.default,n),void 0!==e.iconRight&&!1===e.round&&n.push((0,i.h)(a.Z,{name:e.iconRight,right:!1===e.stack&&!0===F.value,role:"img","aria-hidden":"true"}));const o=[(0,i.h)("span",{class:"q-focus-helper",ref:P})];return!0===e.loading&&void 0!==e.percentage&&o.push((0,i.h)("span",{class:"q-btn__progress absolute-full overflow-hidden"+(!0===e.darkPercentage?" q-btn__progress--dark":"")},[(0,i.h)("span",{class:"q-btn__progress-indicator fit block",style:M.value})])),o.push((0,i.h)("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+y.value},n)),null!==e.loading&&o.push((0,i.h)(r.uT,{name:"q-transition--fade"},(()=>!0===e.loading?[(0,i.h)("span",{key:"loading",class:"absolute-full flex flex-center"},void 0!==t.loading?t.loading():[(0,i.h)(s.Z)])]:null))),(0,i.wy)((0,i.h)(S.value,I.value,o),[[l.Z,E.value,void 0,O.value]])}}})},6073:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>g,_V:()=>f,b7:()=>p});n(5583);var i=n(499),o=n(5065),r=n(244),a=n(945);const s={none:0,xs:4,sm:8,md:16,lg:24,xl:32},l={xs:8,sm:10,md:14,lg:20,xl:24},c=["button","submit","reset"],u=/[^\s]\/[^\s]/,d=["flat","outline","push","unelevated"],h=(e,t)=>!0===e.flat?"flat":!0===e.outline?"outline":!0===e.push?"push":!0===e.unelevated?"unelevated":t,f=e=>{const t=h(e);return void 0!==t?{[t]:!0}:{}},p={...r.LU,...a.$,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,...d.reduce(((e,t)=>(e[t]=Boolean)&&e),{}),square:Boolean,round:Boolean,rounded:Boolean,glossy:Boolean,size:String,fab:Boolean,fabMini:Boolean,padding:String,color:String,textColor:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,tabindex:[Number,String],ripple:{type:[Boolean,Object],default:!0},align:{...o.jO.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean};function g(e){const t=(0,r.ZP)(e,l),n=(0,o.ZP)(e),{hasRouterLink:d,hasLink:f,linkTag:p,linkAttrs:g,navigateOnClick:v}=(0,a.Z)({fallbackTag:"button"}),m=(0,i.Fl)((()=>{const n=!1===e.fab&&!1===e.fabMini?t.value:{};return void 0!==e.padding?Object.assign({},n,{padding:e.padding.split(/\s+/).map((e=>e in s?s[e]+"px":e)).join(" "),minWidth:"0",minHeight:"0"}):n})),b=(0,i.Fl)((()=>!0===e.rounded||!0===e.fab||!0===e.fabMini)),x=(0,i.Fl)((()=>!0!==e.disable&&!0!==e.loading)),y=(0,i.Fl)((()=>!0===x.value?e.tabindex||0:-1)),w=(0,i.Fl)((()=>h(e,"standard"))),k=(0,i.Fl)((()=>{const t={tabindex:y.value};return!0===f.value?Object.assign(t,g.value):!0===c.includes(e.type)&&(t.type=e.type),"a"===p.value?(!0===e.disable?t["aria-disabled"]="true":void 0===t.href&&(t.role="button"),!0!==d.value&&!0===u.test(e.type)&&(t.type=e.type)):!0===e.disable&&(t.disabled="",t["aria-disabled"]="true"),!0===e.loading&&void 0!==e.percentage&&Object.assign(t,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":e.percentage}),t})),S=(0,i.Fl)((()=>{let t;void 0!==e.color?t=!0===e.flat||!0===e.outline?`text-${e.textColor||e.color}`:`bg-${e.color} text-${e.textColor||"white"}`:e.textColor&&(t=`text-${e.textColor}`);const n=!0===e.round?"round":"rectangle"+(!0===b.value?" q-btn--rounded":!0===e.square?" q-btn--square":"");return`q-btn--${w.value} q-btn--${n}`+(void 0!==t?" "+t:"")+(!0===x.value?" q-btn--actionable q-focusable q-hoverable":!0===e.disable?" disabled":"")+(!0===e.fab?" q-btn--fab":!0===e.fabMini?" q-btn--fab-mini":"")+(!0===e.noCaps?" q-btn--no-uppercase":"")+(!0===e.dense?" q-btn--dense":"")+(!0===e.stretch?" no-border-radius self-stretch":"")+(!0===e.glossy?" glossy":"")+(e.square?" q-btn--square":"")})),C=(0,i.Fl)((()=>n.value+(!0===e.stack?" column":" row")+(!0===e.noWrap?" no-wrap text-no-wrap":"")+(!0===e.loading?" q-btn__content--hidden":"")));return{classes:S,style:m,innerClasses:C,attributes:k,hasLink:f,linkTag:p,navigateOnClick:v,isActionable:x}}},4458:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});n(5583);var i=n(9835),o=n(499),r=n(8234),a=n(5987),s=n(2026);const l=(0,a.L)({name:"QCard",props:{...r.S,tag:{type:String,default:"div"},square:Boolean,flat:Boolean,bordered:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=(0,i.FN)(),a=(0,r.Z)(e,n),l=(0,o.Fl)((()=>"q-card"+(!0===a.value?" q-card--dark q-dark":"")+(!0===e.bordered?" q-card--bordered":"")+(!0===e.square?" q-card--square no-border-radius":"")+(!0===e.flat?" q-card--flat no-shadow":"")));return()=>(0,i.h)(e.tag,{class:l.value},(0,s.KR)(t.default))}})},1821:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var i=n(499),o=n(9835),r=n(5065),a=n(5987),s=n(2026);const l=(0,a.L)({name:"QCardActions",props:{...r.jO,vertical:Boolean},setup(e,{slots:t}){const n=(0,r.ZP)(e),a=(0,i.Fl)((()=>`q-card__actions ${n.value} q-card__actions--`+(!0===e.vertical?"vert column":"horiz row")));return()=>(0,o.h)("div",{class:a.value},(0,s.KR)(t.default))}})},3190:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var i=n(499),o=n(9835),r=n(5987),a=n(2026);const s=(0,r.L)({name:"QCardSection",props:{tag:{type:String,default:"div"},horizontal:Boolean},setup(e,{slots:t}){const n=(0,i.Fl)((()=>"q-card__section q-card__section--"+(!0===e.horizontal?"horiz row no-wrap":"vert")));return()=>(0,o.h)(e.tag,{class:n.value},(0,a.KR)(t.default))}})},1221:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var i=n(9835),o=n(499),r=n(2857),a=n(5987),s=n(1926);const l=(0,i.h)("div",{key:"svg",class:"q-checkbox__bg absolute"},[(0,i.h)("svg",{class:"q-checkbox__svg fit absolute-full",viewBox:"0 0 24 24"},[(0,i.h)("path",{class:"q-checkbox__truthy",fill:"none",d:"M1.73,12.91 8.1,19.28 22.79,4.59"}),(0,i.h)("path",{class:"q-checkbox__indet",d:"M4,14H20V10H4"})])]),c=(0,a.L)({name:"QCheckbox",props:s.Fz,emits:s.ZB,setup(e){function t(t,n){const a=(0,o.Fl)((()=>(!0===t.value?e.checkedIcon:!0===n.value?e.indeterminateIcon:e.uncheckedIcon)||null));return()=>null!==a.value?[(0,i.h)("div",{key:"icon",class:"q-checkbox__icon-container absolute-full flex flex-center no-wrap"},[(0,i.h)(r.Z,{class:"q-checkbox__icon",name:a.value})])]:[l]}return(0,s.ZP)("checkbox",t)}})},1926:(e,t,n)=>{"use strict";n.d(t,{Fz:()=>h,ZB:()=>f,ZP:()=>p});var i=n(9835),o=n(499),r=n(8234),a=n(244),s=n(5917),l=n(9256),c=n(9480),u=n(1384),d=n(2026);const h={...r.S,...a.LU,...l.Fz,modelValue:{required:!0,default:null},val:{},trueValue:{default:!0},falseValue:{default:!1},indeterminateValue:{default:null},checkedIcon:String,uncheckedIcon:String,indeterminateIcon:String,toggleOrder:{type:String,validator:e=>"tf"===e||"ft"===e},toggleIndeterminate:Boolean,label:String,leftLabel:Boolean,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},f=["update:modelValue"];function p(e,t){const{props:n,slots:h,emit:f,proxy:p}=(0,i.FN)(),{$q:g}=p,v=(0,r.Z)(n,g),m=(0,o.iH)(null),{refocusTargetEl:b,refocusTarget:x}=(0,s.Z)(n,m),y=(0,a.ZP)(n,c.Z),w=(0,o.Fl)((()=>void 0!==n.val&&Array.isArray(n.modelValue))),k=(0,o.Fl)((()=>{const e=(0,o.IU)(n.val);return!0===w.value?n.modelValue.findIndex((t=>(0,o.IU)(t)===e)):-1})),S=(0,o.Fl)((()=>!0===w.value?k.value>-1:(0,o.IU)(n.modelValue)===(0,o.IU)(n.trueValue))),C=(0,o.Fl)((()=>!0===w.value?-1===k.value:(0,o.IU)(n.modelValue)===(0,o.IU)(n.falseValue))),_=(0,o.Fl)((()=>!1===S.value&&!1===C.value)),A=(0,o.Fl)((()=>!0===n.disable?-1:n.tabindex||0)),P=(0,o.Fl)((()=>`q-${e} cursor-pointer no-outline row inline no-wrap items-center`+(!0===n.disable?" disabled":"")+(!0===v.value?` q-${e}--dark`:"")+(!0===n.dense?` q-${e}--dense`:"")+(!0===n.leftLabel?" reverse":""))),L=(0,o.Fl)((()=>{const t=!0===S.value?"truthy":!0===C.value?"falsy":"indet",i=void 0===n.color||!0!==n.keepColor&&("toggle"===e?!0!==S.value:!0===C.value)?"":` text-${n.color}`;return`q-${e}__inner relative-position non-selectable q-${e}__inner--${t}${i}`})),j=(0,o.Fl)((()=>{const e={type:"checkbox"};return void 0!==n.name&&Object.assign(e,{"^checked":!0===S.value?"checked":void 0,name:n.name,value:!0===w.value?n.val:n.trueValue}),e})),T=(0,l.eX)(j),F=(0,o.Fl)((()=>{const t={tabindex:A.value,role:"toggle"===e?"switch":"checkbox","aria-label":n.label,"aria-checked":!0===_.value?"mixed":!0===S.value?"true":"false"};return!0===n.disable&&(t["aria-disabled"]="true"),t}));function E(e){void 0!==e&&((0,u.NS)(e),x(e)),!0!==n.disable&&f("update:modelValue",O(),e)}function O(){if(!0===w.value){if(!0===S.value){const e=n.modelValue.slice();return e.splice(k.value,1),e}return n.modelValue.concat([n.val])}if(!0===S.value){if("ft"!==n.toggleOrder||!1===n.toggleIndeterminate)return n.falseValue}else{if(!0!==C.value)return"ft"!==n.toggleOrder?n.trueValue:n.falseValue;if("ft"===n.toggleOrder||!1===n.toggleIndeterminate)return n.trueValue}return n.indeterminateValue}function M(e){13!==e.keyCode&&32!==e.keyCode||(0,u.NS)(e)}function R(e){13!==e.keyCode&&32!==e.keyCode||E(e)}const I=t(S,_);return Object.assign(p,{toggle:E}),()=>{const t=I();!0!==n.disable&&T(t,"unshift",` q-${e}__native absolute q-ma-none q-pa-none`);const o=[(0,i.h)("div",{class:L.value,style:y.value,"aria-hidden":"true"},t)];null!==b.value&&o.push(b.value);const r=void 0!==n.label?(0,d.vs)(h.default,[n.label]):(0,d.KR)(h.default);return void 0!==r&&o.push((0,i.h)("div",{class:`q-${e}__label q-anchor--skip`},r)),(0,i.h)("div",{ref:m,class:P.value,...F.value,onClick:E,onKeydown:M,onKeyup:R},o)}}},4939:(e,t,n)=>{"use strict";n.d(t,{Z:()=>oe});n(702),n(5583);var i=n(9835),o=n(499),r=n(1957),a=n(8879),s=n(8234),l=n(3978),c=n(9256);n(6822);const u=[-61,9,38,199,426,686,756,818,1111,1181,1210,1635,2060,2097,2192,2262,2324,2394,2456,3178];function d(e,t,n){return"[object Date]"===Object.prototype.toString.call(e)&&(n=e.getDate(),t=e.getMonth()+1,e=e.getFullYear()),b(x(e,t,n))}function h(e,t,n){return y(m(e,t,n))}function f(e){return 0===g(e)}function p(e,t){return t<=6?31:t<=11||f(e)?30:29}function g(e){const t=u.length;let n,i,o,r,a,s=u[0];if(e=u[t-1])throw new Error("Invalid Jalaali year "+e);for(a=1;a=u[n-1])throw new Error("Invalid Jalaali year "+e);for(l=1;l=0){if(o<=185)return i=1+w(o,31),n=k(o,31)+1,{jy:r,jm:i,jd:n};o-=186}else r-=1,o+=179,1===a.leap&&(o+=1);return i=7+w(o,30),n=k(o,30)+1,{jy:r,jm:i,jd:n}}function x(e,t,n){let i=w(1461*(e+w(t-8,6)+100100),4)+w(153*k(t+9,12)+2,5)+n-34840408;return i=i-w(3*w(e+100100+w(t-8,6),100),4)+752,i}function y(e){let t=4*e+139361631;t=t+4*w(3*w(4*e+183187720,146097),4)-3908;const n=5*w(k(t,1461),4)+308,i=w(k(n,153),5)+1,o=k(w(n,153),12)+1,r=w(t,1461)-100100+w(8-o,6);return{gy:r,gm:o,gd:i}}function w(e,t){return~~(e/t)}function k(e,t){return e-~~(e/t)*t}var S=n(321);const C=["gregorian","persian"],_={modelValue:{required:!0},mask:{type:String},locale:Object,calendar:{type:String,validator:e=>C.includes(e),default:"gregorian"},landscape:Boolean,color:String,textColor:String,square:Boolean,flat:Boolean,bordered:Boolean,readonly:Boolean,disable:Boolean},A=["update:modelValue"];function P(e){return e.year+"/"+(0,S.vk)(e.month)+"/"+(0,S.vk)(e.day)}function L(e,t){const n=(0,o.Fl)((()=>!0!==e.disable&&!0!==e.readonly)),i=(0,o.Fl)((()=>!0===e.editable?0:-1)),r=(0,o.Fl)((()=>{const t=[];return void 0!==e.color&&t.push(`bg-${e.color}`),void 0!==e.textColor&&t.push(`text-${e.textColor}`),t.join(" ")}));function a(){return void 0!==e.locale?{...t.lang.date,...e.locale}:t.lang.date}function s(t){const n=new Date,i=!0===t?null:0;if("persian"===e.calendar){const e=d(n);return{year:e.jy,month:e.jm,day:e.jd}}return{year:n.getFullYear(),month:n.getMonth()+1,day:n.getDate(),hour:i,minute:i,second:i,millisecond:i}}return{editable:n,tabindex:i,headerClass:r,getLocale:a,getCurrentDate:s}}var j=n(5987),T=n(2026),F=(n(8964),n(4680)),E=n(892);const O=864e5,M=36e5,R=6e4,I="YYYY-MM-DDTHH:mm:ss.SSSZ",z=/\[((?:[^\]\\]|\\]|\\)*)\]|d{1,4}|M{1,4}|m{1,2}|w{1,2}|Qo|Do|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]/g,H=/(\[[^\]]*\])|d{1,4}|M{1,4}|m{1,2}|w{1,2}|Qo|Do|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]|([.*+:?^,\s${}()|\\]+)/g,N={};function q(e,t){const n="("+t.days.join("|")+")",i=e+n;if(void 0!==N[i])return N[i];const o="("+t.daysShort.join("|")+")",r="("+t.months.join("|")+")",a="("+t.monthsShort.join("|")+")",s={};let l=0;const c=e.replace(H,(e=>{switch(l++,e){case"YY":return s.YY=l,"(-?\\d{1,2})";case"YYYY":return s.YYYY=l,"(-?\\d{1,4})";case"M":return s.M=l,"(\\d{1,2})";case"MM":return s.M=l,"(\\d{2})";case"MMM":return s.MMM=l,a;case"MMMM":return s.MMMM=l,r;case"D":return s.D=l,"(\\d{1,2})";case"Do":return s.D=l++,"(\\d{1,2}(st|nd|rd|th))";case"DD":return s.D=l,"(\\d{2})";case"H":return s.H=l,"(\\d{1,2})";case"HH":return s.H=l,"(\\d{2})";case"h":return s.h=l,"(\\d{1,2})";case"hh":return s.h=l,"(\\d{2})";case"m":return s.m=l,"(\\d{1,2})";case"mm":return s.m=l,"(\\d{2})";case"s":return s.s=l,"(\\d{1,2})";case"ss":return s.s=l,"(\\d{2})";case"S":return s.S=l,"(\\d{1})";case"SS":return s.S=l,"(\\d{2})";case"SSS":return s.S=l,"(\\d{3})";case"A":return s.A=l,"(AM|PM)";case"a":return s.a=l,"(am|pm)";case"aa":return s.aa=l,"(a\\.m\\.|p\\.m\\.)";case"ddd":return o;case"dddd":return n;case"Q":case"d":case"E":return"(\\d{1})";case"Qo":return"(1st|2nd|3rd|4th)";case"DDD":case"DDDD":return"(\\d{1,3})";case"w":return"(\\d{1,2})";case"ww":return"(\\d{2})";case"Z":return s.Z=l,"(Z|[+-]\\d{2}:\\d{2})";case"ZZ":return s.ZZ=l,"(Z|[+-]\\d{2}\\d{2})";case"X":return s.X=l,"(-?\\d+)";case"x":return s.x=l,"(-?\\d{4,})";default:return l--,"["===e[0]&&(e=e.substring(1,e.length-1)),e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}})),u={map:s,regex:new RegExp("^"+c)};return N[i]=u,u}function D(e,t){return void 0!==e?e:void 0!==t?t.date:E.F.date}function B(e,t=""){const n=e>0?"-":"+",i=Math.abs(e),o=Math.floor(i/60),r=i%60;return n+(0,S.vk)(o)+t+(0,S.vk)(r)}function Y(e,t,n,i,o){const r={year:null,month:null,day:null,hour:null,minute:null,second:null,millisecond:null,timezoneOffset:null,dateHash:null,timeHash:null};if(void 0!==o&&Object.assign(r,o),void 0===e||null===e||""===e||"string"!==typeof e)return r;void 0===t&&(t=I);const a=D(n,E.Z.props),s=a.months,l=a.monthsShort,{regex:c,map:u}=q(t,a),d=e.match(c);if(null===d)return r;let h="";if(void 0!==u.X||void 0!==u.x){const e=parseInt(d[void 0!==u.X?u.X:u.x],10);if(!0===isNaN(e)||e<0)return r;const t=new Date(e*(void 0!==u.X?1e3:1));r.year=t.getFullYear(),r.month=t.getMonth()+1,r.day=t.getDate(),r.hour=t.getHours(),r.minute=t.getMinutes(),r.second=t.getSeconds(),r.millisecond=t.getMilliseconds()}else{if(void 0!==u.YYYY)r.year=parseInt(d[u.YYYY],10);else if(void 0!==u.YY){const e=parseInt(d[u.YY],10);r.year=e<0?e:2e3+e}if(void 0!==u.M){if(r.month=parseInt(d[u.M],10),r.month<1||r.month>12)return r}else void 0!==u.MMM?r.month=l.indexOf(d[u.MMM])+1:void 0!==u.MMMM&&(r.month=s.indexOf(d[u.MMMM])+1);if(void 0!==u.D){if(r.day=parseInt(d[u.D],10),null===r.year||null===r.month||r.day<1)return r;const e="persian"!==i?new Date(r.year,r.month,0).getDate():p(r.year,r.month);if(r.day>e)return r}void 0!==u.H?r.hour=parseInt(d[u.H],10)%24:void 0!==u.h&&(r.hour=parseInt(d[u.h],10)%12,(u.A&&"PM"===d[u.A]||u.a&&"pm"===d[u.a]||u.aa&&"p.m."===d[u.aa])&&(r.hour+=12),r.hour=r.hour%24),void 0!==u.m&&(r.minute=parseInt(d[u.m],10)%60),void 0!==u.s&&(r.second=parseInt(d[u.s],10)%60),void 0!==u.S&&(r.millisecond=parseInt(d[u.S],10)*10**(3-d[u.S].length)),void 0===u.Z&&void 0===u.ZZ||(h=void 0!==u.Z?d[u.Z].replace(":",""):d[u.ZZ],r.timezoneOffset=("+"===h[0]?-1:1)*(60*h.slice(1,3)+1*h.slice(3,5)))}return r.dateHash=(0,S.vk)(r.year,6)+"/"+(0,S.vk)(r.month)+"/"+(0,S.vk)(r.day),r.timeHash=(0,S.vk)(r.hour)+":"+(0,S.vk)(r.minute)+":"+(0,S.vk)(r.second)+h,r}function X(e){const t=new Date(e.getFullYear(),e.getMonth(),e.getDate());t.setDate(t.getDate()-(t.getDay()+6)%7+3);const n=new Date(t.getFullYear(),0,4);n.setDate(n.getDate()-(n.getDay()+6)%7+3);const i=t.getTimezoneOffset()-n.getTimezoneOffset();t.setHours(t.getHours()-i);const o=(t-n)/(7*O);return 1+Math.floor(o)}function V(e,t,n){const i=new Date(e),o="set"+(!0===n?"UTC":"");switch(t){case"year":case"years":i[`${o}Month`](0);case"month":case"months":i[`${o}Date`](1);case"day":case"days":case"date":i[`${o}Hours`](0);case"hour":case"hours":i[`${o}Minutes`](0);case"minute":case"minutes":i[`${o}Seconds`](0);case"second":case"seconds":i[`${o}Milliseconds`](0)}return i}function W(e,t,n){return(e.getTime()-e.getTimezoneOffset()*R-(t.getTime()-t.getTimezoneOffset()*R))/n}function $(e,t,n="days"){const i=new Date(e),o=new Date(t);switch(n){case"years":case"year":return i.getFullYear()-o.getFullYear();case"months":case"month":return 12*(i.getFullYear()-o.getFullYear())+i.getMonth()-o.getMonth();case"days":case"day":case"date":return W(V(i,"day"),V(o,"day"),O);case"hours":case"hour":return W(V(i,"hour"),V(o,"hour"),M);case"minutes":case"minute":return W(V(i,"minute"),V(o,"minute"),R);case"seconds":case"second":return W(V(i,"second"),V(o,"second"),1e3)}}function U(e){return $(e,V(e,"year"),"days")+1}function Z(e){if(e>=11&&e<=13)return`${e}th`;switch(e%10){case 1:return`${e}st`;case 2:return`${e}nd`;case 3:return`${e}rd`}return`${e}th`}const G={YY(e,t,n){const i=this.YYYY(e,t,n)%100;return i>=0?(0,S.vk)(i):"-"+(0,S.vk)(Math.abs(i))},YYYY(e,t,n){return void 0!==n&&null!==n?n:e.getFullYear()},M(e){return e.getMonth()+1},MM(e){return(0,S.vk)(e.getMonth()+1)},MMM(e,t){return t.monthsShort[e.getMonth()]},MMMM(e,t){return t.months[e.getMonth()]},Q(e){return Math.ceil((e.getMonth()+1)/3)},Qo(e){return Z(this.Q(e))},D(e){return e.getDate()},Do(e){return Z(e.getDate())},DD(e){return(0,S.vk)(e.getDate())},DDD(e){return U(e)},DDDD(e){return(0,S.vk)(U(e),3)},d(e){return e.getDay()},dd(e,t){return this.dddd(e,t).slice(0,2)},ddd(e,t){return t.daysShort[e.getDay()]},dddd(e,t){return t.days[e.getDay()]},E(e){return e.getDay()||7},w(e){return X(e)},ww(e){return(0,S.vk)(X(e))},H(e){return e.getHours()},HH(e){return(0,S.vk)(e.getHours())},h(e){const t=e.getHours();return 0===t?12:t>12?t%12:t},hh(e){return(0,S.vk)(this.h(e))},m(e){return e.getMinutes()},mm(e){return(0,S.vk)(e.getMinutes())},s(e){return e.getSeconds()},ss(e){return(0,S.vk)(e.getSeconds())},S(e){return Math.floor(e.getMilliseconds()/100)},SS(e){return(0,S.vk)(Math.floor(e.getMilliseconds()/10))},SSS(e){return(0,S.vk)(e.getMilliseconds(),3)},A(e){return this.H(e)<12?"AM":"PM"},a(e){return this.H(e)<12?"am":"pm"},aa(e){return this.H(e)<12?"a.m.":"p.m."},Z(e,t,n,i){const o=void 0===i||null===i?e.getTimezoneOffset():i;return B(o,":")},ZZ(e,t,n,i){const o=void 0===i||null===i?e.getTimezoneOffset():i;return B(o)},X(e){return Math.floor(e.getTime()/1e3)},x(e){return e.getTime()}};function K(e,t,n,i,o){if(0!==e&&!e||e===1/0||e===-1/0)return;const r=new Date(e);if(isNaN(r))return;void 0===t&&(t=I);const a=D(n,E.Z.props);return t.replace(z,((e,t)=>e in G?G[e](r,a,i,o):void 0===t?e:t.split("\\]").join("]")))}const J=20,Q=["Calendar","Years","Months"],ee=e=>Q.includes(e),te=e=>/^-?[\d]+\/[0-1]\d$/.test(e),ne=" — ";function ie(e){return e.year+"/"+(0,S.vk)(e.month)}const oe=(0,j.L)({name:"QDate",props:{..._,...c.Fz,...s.S,multiple:Boolean,range:Boolean,title:String,subtitle:String,mask:{default:"YYYY/MM/DD"},defaultYearMonth:{type:String,validator:te},yearsInMonthView:Boolean,events:[Array,Function],eventColor:[String,Function],emitImmediately:Boolean,options:[Array,Function],navigationMinYearMonth:{type:String,validator:te},navigationMaxYearMonth:{type:String,validator:te},noUnset:Boolean,firstDayOfWeek:[String,Number],todayBtn:Boolean,minimal:Boolean,defaultView:{type:String,default:"Calendar",validator:ee}},emits:[...A,"rangeStart","rangeEnd","navigation"],setup(e,{slots:t,emit:n}){const{proxy:u}=(0,i.FN)(),{$q:d}=u,f=(0,s.Z)(e,d),{getCache:g}=(0,l.Z)(),{tabindex:v,headerClass:m,getLocale:b,getCurrentDate:x}=L(e,d);let y;const w=(0,c.Vt)(e),k=(0,c.eX)(w),C=(0,o.iH)(null),_=(0,o.iH)(Fe()),A=(0,o.iH)(b()),j=(0,o.Fl)((()=>Fe())),E=(0,o.Fl)((()=>b())),O=(0,o.Fl)((()=>x())),M=(0,o.iH)(Oe(_.value,A.value)),R=(0,o.iH)(e.defaultView),I=!0===d.lang.rtl?"right":"left",z=(0,o.iH)(I.value),H=(0,o.iH)(I.value),N=M.value.year,q=(0,o.iH)(N-N%J-(N<0?J:0)),D=(0,o.iH)(null),B=(0,o.Fl)((()=>{const t=!0===e.landscape?"landscape":"portrait";return`q-date q-date--${t} q-date--${t}-${!0===e.minimal?"minimal":"standard"}`+(!0===f.value?" q-date--dark q-dark":"")+(!0===e.bordered?" q-date--bordered":"")+(!0===e.square?" q-date--square no-border-radius":"")+(!0===e.flat?" q-date--flat no-shadow":"")+(!0===e.disable?" disabled":!0===e.readonly?" q-date--readonly":"")})),X=(0,o.Fl)((()=>e.color||"primary")),V=(0,o.Fl)((()=>e.textColor||"white")),W=(0,o.Fl)((()=>!0===e.emitImmediately&&!0!==e.multiple&&!0!==e.range)),U=(0,o.Fl)((()=>!0===Array.isArray(e.modelValue)?e.modelValue:null!==e.modelValue&&void 0!==e.modelValue?[e.modelValue]:[])),Z=(0,o.Fl)((()=>U.value.filter((e=>"string"===typeof e)).map((e=>Ee(e,_.value,A.value))).filter((e=>null!==e.dateHash&&null!==e.day&&null!==e.month&&null!==e.year)))),G=(0,o.Fl)((()=>{const e=e=>Ee(e,_.value,A.value);return U.value.filter((e=>!0===(0,F.Kn)(e)&&void 0!==e.from&&void 0!==e.to)).map((t=>({from:e(t.from),to:e(t.to)}))).filter((e=>null!==e.from.dateHash&&null!==e.to.dateHash&&e.from.dateHash"persian"!==e.calendar?e=>new Date(e.year,e.month-1,e.day):e=>{const t=h(e.year,e.month,e.day);return new Date(t.gy,t.gm-1,t.gd)})),te=(0,o.Fl)((()=>"persian"===e.calendar?P:(e,t,n)=>K(new Date(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond),void 0===t?_.value:t,void 0===n?A.value:n,e.year,e.timezoneOffset))),oe=(0,o.Fl)((()=>Z.value.length+G.value.reduce(((e,t)=>e+1+$(Q.value(t.to),Q.value(t.from))),0))),re=(0,o.Fl)((()=>{if(void 0!==e.title&&null!==e.title&&e.title.length>0)return e.title;if(null!==D.value){const e=D.value.init,t=Q.value(e);return A.value.daysShort[t.getDay()]+", "+A.value.monthsShort[e.month-1]+" "+e.day+ne+"?"}if(0===oe.value)return ne;if(oe.value>1)return`${oe.value} ${A.value.pluralDay}`;const t=Z.value[0],n=Q.value(t);return!0===isNaN(n.valueOf())?ne:void 0!==A.value.headerTitle?A.value.headerTitle(n,t):A.value.daysShort[n.getDay()]+", "+A.value.monthsShort[t.month-1]+" "+t.day})),ae=(0,o.Fl)((()=>{const e=Z.value.concat(G.value.map((e=>e.from))).sort(((e,t)=>e.year-t.year||e.month-t.month));return e[0]})),se=(0,o.Fl)((()=>{const e=Z.value.concat(G.value.map((e=>e.to))).sort(((e,t)=>t.year-e.year||t.month-e.month));return e[0]})),le=(0,o.Fl)((()=>{if(void 0!==e.subtitle&&null!==e.subtitle&&e.subtitle.length>0)return e.subtitle;if(0===oe.value)return ne;if(oe.value>1){const e=ae.value,t=se.value,n=A.value.monthsShort;return n[e.month-1]+(e.year!==t.year?" "+e.year+ne+n[t.month-1]+" ":e.month!==t.month?ne+n[t.month-1]:"")+" "+t.year}return Z.value[0].year})),ce=(0,o.Fl)((()=>{const e=[d.iconSet.datetime.arrowLeft,d.iconSet.datetime.arrowRight];return!0===d.lang.rtl?e.reverse():e})),ue=(0,o.Fl)((()=>void 0!==e.firstDayOfWeek?Number(e.firstDayOfWeek):A.value.firstDayOfWeek)),de=(0,o.Fl)((()=>{const e=A.value.daysShort,t=ue.value;return t>0?e.slice(t,7).concat(e.slice(0,t)):e})),he=(0,o.Fl)((()=>{const t=M.value;return"persian"!==e.calendar?new Date(t.year,t.month,0).getDate():p(t.year,t.month)})),fe=(0,o.Fl)((()=>"function"===typeof e.eventColor?e.eventColor:()=>e.eventColor)),pe=(0,o.Fl)((()=>{if(void 0===e.navigationMinYearMonth)return null;const t=e.navigationMinYearMonth.split("/");return{year:parseInt(t[0],10),month:parseInt(t[1],10)}})),ge=(0,o.Fl)((()=>{if(void 0===e.navigationMaxYearMonth)return null;const t=e.navigationMaxYearMonth.split("/");return{year:parseInt(t[0],10),month:parseInt(t[1],10)}})),ve=(0,o.Fl)((()=>{const e={month:{prev:!0,next:!0},year:{prev:!0,next:!0}};return null!==pe.value&&pe.value.year>=M.value.year&&(e.year.prev=!1,pe.value.year===M.value.year&&pe.value.month>=M.value.month&&(e.month.prev=!1)),null!==ge.value&&ge.value.year<=M.value.year&&(e.year.next=!1,ge.value.year===M.value.year&&ge.value.month<=M.value.month&&(e.month.next=!1)),e})),me=(0,o.Fl)((()=>{const e={};return Z.value.forEach((t=>{const n=ie(t);void 0===e[n]&&(e[n]=[]),e[n].push(t.day)})),e})),be=(0,o.Fl)((()=>{const e={};return G.value.forEach((t=>{const n=ie(t.from),i=ie(t.to);if(void 0===e[n]&&(e[n]=[]),e[n].push({from:t.from.day,to:n===i?t.to.day:void 0,range:t}),n12&&(a.year++,a.month=1)}})),e})),xe=(0,o.Fl)((()=>{if(null===D.value)return;const{init:e,initHash:t,final:n,finalHash:i}=D.value,[o,r]=t<=i?[e,n]:[n,e],a=ie(o),s=ie(r);if(a!==ye.value&&s!==ye.value)return;const l={};return a===ye.value?(l.from=o.day,l.includeFrom=!0):l.from=1,s===ye.value?(l.to=r.day,l.includeTo=!0):l.to=he.value,l})),ye=(0,o.Fl)((()=>ie(M.value))),we=(0,o.Fl)((()=>{const t={};if(void 0===e.options){for(let e=1;e<=he.value;e++)t[e]=!0;return t}const n="function"===typeof e.options?e.options:t=>e.options.includes(t);for(let e=1;e<=he.value;e++){const i=ye.value+"/"+(0,S.vk)(e);t[e]=n(i)}return t})),ke=(0,o.Fl)((()=>{const t={};if(void 0===e.events)for(let e=1;e<=he.value;e++)t[e]=!1;else{const n="function"===typeof e.events?e.events:t=>e.events.includes(t);for(let e=1;e<=he.value;e++){const i=ye.value+"/"+(0,S.vk)(e);t[e]=!0===n(i)&&fe.value(i)}}return t})),Se=(0,o.Fl)((()=>{let t,n;const{year:i,month:o}=M.value;if("persian"!==e.calendar)t=new Date(i,o-1,1),n=new Date(i,o-1,0).getDate();else{const e=h(i,o,1);t=new Date(e.gy,e.gm-1,e.gd);let r=o-1,a=i;0===r&&(r=12,a--),n=p(a,r)}return{days:t.getDay()-ue.value-1,endDay:n}})),Ce=(0,o.Fl)((()=>{const e=[],{days:t,endDay:n}=Se.value,i=t<0?t+7:t;if(i<6)for(let a=n-i;a<=n;a++)e.push({i:a,fill:!0});const o=e.length;for(let a=1;a<=he.value;a++){const t={i:a,event:ke.value[a],classes:[]};!0===we.value[a]&&(t.in=!0,t.flat=!0),e.push(t)}if(void 0!==me.value[ye.value]&&me.value[ye.value].forEach((t=>{const n=o+t-1;Object.assign(e[n],{selected:!0,unelevated:!0,flat:!1,color:X.value,textColor:V.value})})),void 0!==be.value[ye.value]&&be.value[ye.value].forEach((t=>{if(void 0!==t.from){const n=o+t.from-1,i=o+(t.to||he.value)-1;for(let o=n;o<=i;o++)Object.assign(e[o],{range:t.range,unelevated:!0,color:X.value,textColor:V.value});Object.assign(e[n],{rangeFrom:!0,flat:!1}),void 0!==t.to&&Object.assign(e[i],{rangeTo:!0,flat:!1})}else if(void 0!==t.to){const n=o+t.to-1;for(let i=o;i<=n;i++)Object.assign(e[i],{range:t.range,unelevated:!0,color:X.value,textColor:V.value});Object.assign(e[n],{flat:!1,rangeTo:!0})}else{const n=o+he.value-1;for(let i=o;i<=n;i++)Object.assign(e[i],{range:t.range,unelevated:!0,color:X.value,textColor:V.value})}})),void 0!==xe.value){const t=o+xe.value.from-1,n=o+xe.value.to-1;for(let i=t;i<=n;i++)e[i].color=X.value,e[i].editRange=!0;!0===xe.value.includeFrom&&(e[t].editRangeFrom=!0),!0===xe.value.includeTo&&(e[n].editRangeTo=!0)}M.value.year===O.value.year&&M.value.month===O.value.month&&(e[o+O.value.day-1].today=!0);const r=e.length%7;if(r>0){const t=7-r;for(let n=1;n<=t;n++)e.push({i:n,fill:!0})}return e.forEach((e=>{let t="q-date__calendar-item ";!0===e.fill?t+="q-date__calendar-item--fill":(t+="q-date__calendar-item--"+(!0===e.in?"in":"out"),void 0!==e.range&&(t+=" q-date__range"+(!0===e.rangeTo?"-to":!0===e.rangeFrom?"-from":"")),!0===e.editRange&&(t+=` q-date__edit-range${!0===e.editRangeFrom?"-from":""}${!0===e.editRangeTo?"-to":""}`),void 0===e.range&&!0!==e.editRange||(t+=` text-${e.color}`)),e.classes=t})),e})),_e=(0,o.Fl)((()=>!0===e.disable?{"aria-disabled":"true"}:!0===e.readonly?{"aria-readonly":"true"}:{}));function Ae(){const e=O.value,t=me.value[ie(e)];void 0!==t&&!1!==t.includes(e.day)||We(e),je(e.year,e.month)}function Pe(e){!0===ee(e)&&(R.value=e)}function Le(e,t){if(["month","year"].includes(e)){const n="month"===e?Re:Ie;n(!0===t?-1:1)}}function je(e,t){R.value="Calendar",De(e,t)}function Te(t,n){if(!1===e.range||!t)return void(D.value=null);const i=Object.assign({...M.value},t),o=void 0!==n?Object.assign({...M.value},n):i;D.value={init:i,initHash:P(i),final:o,finalHash:P(o)},je(i.year,i.month)}function Fe(){return"persian"===e.calendar?"YYYY/MM/DD":e.mask}function Ee(t,n,i){return Y(t,n,i,e.calendar,{hour:0,minute:0,second:0,millisecond:0})}function Oe(t,n){const i=!0===Array.isArray(e.modelValue)?e.modelValue:e.modelValue?[e.modelValue]:[];if(0===i.length)return Me();const o=i[i.length-1],r=Ee(void 0!==o.from?o.from:o,t,n);return null===r.dateHash?Me():r}function Me(){let t,n;if(void 0!==e.defaultYearMonth){const i=e.defaultYearMonth.split("/");t=parseInt(i[0],10),n=parseInt(i[1],10)}else{const e=void 0!==O.value?O.value:x();t=e.year,n=e.month}return{year:t,month:n,day:1,hour:0,minute:0,second:0,millisecond:0,dateHash:t+"/"+(0,S.vk)(n)+"/01"}}function Re(e){let t=M.value.year,n=Number(M.value.month)+e;13===n?(n=1,t++):0===n&&(n=12,t--),De(t,n),!0===W.value&&Ye("month")}function Ie(e){const t=Number(M.value.year)+e;De(t,M.value.month),!0===W.value&&Ye("year")}function ze(t){De(t,M.value.month),R.value="Years"===e.defaultView?"Months":"Calendar",!0===W.value&&Ye("year")}function He(e){De(M.value.year,e),R.value="Calendar",!0===W.value&&Ye("month")}function Ne(e,t){const n=me.value[t],i=void 0!==n&&!0===n.includes(e.day)?$e:We;i(e)}function qe(e){return{year:e.year,month:e.month,day:e.day}}function De(e,t){null!==pe.value&&e<=pe.value.year&&(e=pe.value.year,t=ge.value.year&&(e=ge.value.year,t>ge.value.month&&(t=ge.value.month));const n=e+"/"+(0,S.vk)(t)+"/01";n!==M.value.dateHash&&(z.value=M.value.dateHash{q.value=e-e%J-(e<0?J:0),Object.assign(M.value,{year:e,month:t,day:1,dateHash:n})})))}function Be(t,i,o){const r=null!==t&&1===t.length&&!1===e.multiple?t[0]:t;y=r;const{reason:a,details:s}=Xe(i,o);n("update:modelValue",r,a,s)}function Ye(t){const o=void 0!==Z.value[0]&&null!==Z.value[0].dateHash?{...Z.value[0]}:{...M.value};(0,i.Y3)((()=>{o.year=M.value.year,o.month=M.value.month;const i="persian"!==e.calendar?new Date(o.year,o.month,0).getDate():p(o.year,o.month);o.day=Math.min(Math.max(1,o.day),i);const r=Ve(o);y=r;const{details:a}=Xe("",o);n("update:modelValue",r,t,a)}))}function Xe(e,t){return void 0!==t.from?{reason:`${e}-range`,details:{...qe(t.target),from:qe(t.from),to:qe(t.to)}}:{reason:`${e}-day`,details:qe(t)}}function Ve(e,t,n){return void 0!==e.from?{from:te.value(e.from,t,n),to:te.value(e.to,t,n)}:te.value(e,t,n)}function We(t){let n;if(!0===e.multiple)if(void 0!==t.from){const e=P(t.from),i=P(t.to),o=Z.value.filter((t=>t.dateHashi)),r=G.value.filter((({from:t,to:n})=>n.dateHashi));n=o.concat(r).concat(t).map((e=>Ve(e)))}else{const e=U.value.slice();e.push(Ve(t)),n=e}else n=Ve(t);Be(n,"add",t)}function $e(t){if(!0===e.noUnset)return;let n=null;if(!0===e.multiple&&!0===Array.isArray(e.modelValue)){const i=Ve(t);n=void 0!==t.from?e.modelValue.filter((e=>void 0===e.from||e.from!==i.from&&e.to!==i.to)):e.modelValue.filter((e=>e!==i)),0===n.length&&(n=null)}Be(n,"remove",t)}function Ue(t,i,o){const r=Z.value.concat(G.value).map((e=>Ve(e,t,i))).filter((e=>void 0!==e.from?null!==e.from.dateHash&&null!==e.to.dateHash:null!==e.dateHash));n("update:modelValue",(!0===e.multiple?r:r[0])||null,o)}function Ze(){if(!0!==e.minimal)return(0,i.h)("div",{class:"q-date__header "+m.value},[(0,i.h)("div",{class:"relative-position"},[(0,i.h)(r.uT,{name:"q-transition--fade"},(()=>(0,i.h)("div",{key:"h-yr-"+le.value,class:"q-date__header-subtitle q-date__header-link "+("Years"===R.value?"q-date__header-link--active":"cursor-pointer"),tabindex:v.value,...g("vY",{onClick(){R.value="Years"},onKeyup(e){13===e.keyCode&&(R.value="Years")}})},[le.value])))]),(0,i.h)("div",{class:"q-date__header-title relative-position flex no-wrap"},[(0,i.h)("div",{class:"relative-position col"},[(0,i.h)(r.uT,{name:"q-transition--fade"},(()=>(0,i.h)("div",{key:"h-sub"+re.value,class:"q-date__header-title-label q-date__header-link "+("Calendar"===R.value?"q-date__header-link--active":"cursor-pointer"),tabindex:v.value,...g("vC",{onClick(){R.value="Calendar"},onKeyup(e){13===e.keyCode&&(R.value="Calendar")}})},[re.value])))]),!0===e.todayBtn?(0,i.h)(a.Z,{class:"q-date__header-today self-start",icon:d.iconSet.datetime.today,flat:!0,size:"sm",round:!0,tabindex:v.value,onClick:Ae}):null])])}function Ge({label:e,type:t,key:n,dir:o,goTo:s,boundaries:l,cls:c}){return[(0,i.h)("div",{class:"row items-center q-date__arrow"},[(0,i.h)(a.Z,{round:!0,dense:!0,size:"sm",flat:!0,icon:ce.value[0],tabindex:v.value,disable:!1===l.prev,...g("go-#"+t,{onClick(){s(-1)}})})]),(0,i.h)("div",{class:"relative-position overflow-hidden flex flex-center"+c},[(0,i.h)(r.uT,{name:"q-transition--jump-"+o},(()=>(0,i.h)("div",{key:n},[(0,i.h)(a.Z,{flat:!0,dense:!0,noCaps:!0,label:e,tabindex:v.value,...g("view#"+t,{onClick:()=>{R.value=t}})})])))]),(0,i.h)("div",{class:"row items-center q-date__arrow"},[(0,i.h)(a.Z,{round:!0,dense:!0,size:"sm",flat:!0,icon:ce.value[1],tabindex:v.value,disable:!1===l.next,...g("go+#"+t,{onClick(){s(1)}})})])]}(0,i.YP)((()=>e.modelValue),(e=>{if(y===e)y=0;else{const{year:e,month:t}=Oe(_.value,A.value);De(e,t)}})),(0,i.YP)(R,(()=>{null!==C.value&&!0===u.$el.contains(document.activeElement)&&C.value.focus()})),(0,i.YP)((()=>M.value.year),(e=>{n("navigation",{year:e,month:M.value.month})})),(0,i.YP)((()=>M.value.month),(e=>{n("navigation",{year:M.value.year,month:e})})),(0,i.YP)(j,(e=>{Ue(e,A.value,"mask"),_.value=e})),(0,i.YP)(E,(e=>{Ue(_.value,e,"locale"),A.value=e}));const Ke={Calendar:()=>[(0,i.h)("div",{key:"calendar-view",class:"q-date__view q-date__calendar"},[(0,i.h)("div",{class:"q-date__navigation row items-center no-wrap"},Ge({label:A.value.months[M.value.month-1],type:"Months",key:M.value.month,dir:z.value,goTo:Re,boundaries:ve.value.month,cls:" col"}).concat(Ge({label:M.value.year,type:"Years",key:M.value.year,dir:H.value,goTo:Ie,boundaries:ve.value.year,cls:""}))),(0,i.h)("div",{class:"q-date__calendar-weekdays row items-center no-wrap"},de.value.map((e=>(0,i.h)("div",{class:"q-date__calendar-item"},[(0,i.h)("div",e)])))),(0,i.h)("div",{class:"q-date__calendar-days-container relative-position overflow-hidden"},[(0,i.h)(r.uT,{name:"q-transition--slide-"+z.value},(()=>(0,i.h)("div",{key:ye.value,class:"q-date__calendar-days fit"},Ce.value.map((e=>(0,i.h)("div",{class:e.classes},[!0===e.in?(0,i.h)(a.Z,{class:!0===e.today?"q-date__today":"",dense:!0,flat:e.flat,unelevated:e.unelevated,color:e.color,textColor:e.textColor,label:e.i,tabindex:v.value,...g("day#"+e.i,{onClick:()=>{Je(e.i)},onMouseover:()=>{Qe(e.i)}})},!1!==e.event?()=>(0,i.h)("div",{class:"q-date__event bg-"+e.event}):null):(0,i.h)("div",""+e.i)]))))))])])],Months(){const t=M.value.year===O.value.year,n=e=>null!==pe.value&&M.value.year===pe.value.year&&pe.value.month>e||null!==ge.value&&M.value.year===ge.value.year&&ge.value.month{const r=M.value.month===o+1;return(0,i.h)("div",{class:"q-date__months-item flex flex-center"},[(0,i.h)(a.Z,{class:!0===t&&O.value.month===o+1?"q-date__today":null,flat:!0!==r,label:e,unelevated:r,color:!0===r?X.value:null,textColor:!0===r?V.value:null,tabindex:v.value,disable:n(o+1),...g("month#"+o,{onClick:()=>{He(o+1)}})})])}));return!0===e.yearsInMonthView&&o.unshift((0,i.h)("div",{class:"row no-wrap full-width"},[Ge({label:M.value.year,type:"Years",key:M.value.year,dir:H.value,goTo:Ie,boundaries:ve.value.year,cls:" col"})])),(0,i.h)("div",{key:"months-view",class:"q-date__view q-date__months flex flex-center"},o)},Years(){const e=q.value,t=e+J,n=[],o=e=>null!==pe.value&&pe.value.year>e||null!==ge.value&&ge.value.year{ze(r)}})})]))}return(0,i.h)("div",{class:"q-date__view q-date__years flex flex-center"},[(0,i.h)("div",{class:"col-auto"},[(0,i.h)(a.Z,{round:!0,dense:!0,flat:!0,icon:ce.value[0],tabindex:v.value,disable:o(e),...g("y-",{onClick:()=>{q.value-=J}})})]),(0,i.h)("div",{class:"q-date__years-content col self-stretch row items-center"},n),(0,i.h)("div",{class:"col-auto"},[(0,i.h)(a.Z,{round:!0,dense:!0,flat:!0,icon:ce.value[1],tabindex:v.value,disable:o(t),...g("y+",{onClick:()=>{q.value+=J}})})])])}};function Je(t){const i={...M.value,day:t};if(!1!==e.range)if(null===D.value){const o=Ce.value.find((e=>!0!==e.fill&&e.i===t));if(!0!==e.noUnset&&void 0!==o.range)return void $e({target:i,from:o.range.from,to:o.range.to});if(!0===o.selected)return void $e(i);const r=P(i);D.value={init:i,initHash:r,final:i,finalHash:r},n("rangeStart",qe(i))}else{const e=D.value.initHash,t=P(i),o=e<=t?{from:D.value.init,to:i}:{from:i,to:D.value.init};D.value=null,We(e===t?i:{target:i,...o}),n("rangeEnd",{from:qe(o.from),to:qe(o.to)})}else Ne(i,ye.value)}function Qe(e){if(null!==D.value){const t={...M.value,day:e};Object.assign(D.value,{final:t,finalHash:P(t)})}}return Object.assign(u,{setToday:Ae,setView:Pe,offsetCalendar:Le,setCalendarTo:je,setEditingRange:Te}),()=>{const n=[(0,i.h)("div",{class:"q-date__content col relative-position"},[(0,i.h)(r.uT,{name:"q-transition--fade"},Ke[R.value])])],o=(0,T.KR)(t.default);return void 0!==o&&n.push((0,i.h)("div",{class:"q-date__actions"},o)),void 0!==e.name&&!0!==e.disable&&k(n,"push"),(0,i.h)("div",{class:B.value,..._e.value},[Ze(),(0,i.h)("div",{ref:C,class:"q-date__main col column",tabindex:-1},n)])}}})},2074:(e,t,n)=>{"use strict";n.d(t,{Z:()=>k});n(702);var i=n(9835),o=n(499),r=n(1957),a=n(4953),s=n(2695),l=n(6916),c=n(3842),u=n(431),d=n(1518),h=n(9754),f=n(5987),p=n(223),g=n(2026),v=n(6532),m=n(4173),b=n(7026);let x=0;const y={standard:"fixed-full flex-center",top:"fixed-top justify-center",bottom:"fixed-bottom justify-center",right:"fixed-right items-center",left:"fixed-left items-center"},w={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]},k=(0,f.L)({name:"QDialog",inheritAttrs:!1,props:{...c.vr,...u.D,transitionShow:String,transitionHide:String,persistent:Boolean,autoClose:Boolean,allowFocusOutside:Boolean,noEscDismiss:Boolean,noBackdropDismiss:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,noShake:Boolean,seamless:Boolean,maximized:Boolean,fullWidth:Boolean,fullHeight:Boolean,square:Boolean,position:{type:String,default:"standard",validator:e=>"standard"===e||["top","bottom","left","right"].includes(e)}},emits:[...c.gH,"shake","click","escapeKey"],setup(e,{slots:t,emit:n,attrs:f}){const k=(0,i.FN)(),S=(0,o.iH)(null),C=(0,o.iH)(!1),_=(0,o.iH)(!1);let A,P,L,j=null;const T=(0,o.Fl)((()=>!0!==e.persistent&&!0!==e.noRouteDismiss&&!0!==e.seamless)),{preventBodyScroll:F}=(0,h.Z)(),{registerTimeout:E}=(0,s.Z)(),{registerTick:O,removeTick:M}=(0,l.Z)(),{transitionProps:R,transitionStyle:I}=(0,u.Z)(e,(()=>w[e.position][0]),(()=>w[e.position][1])),{showPortal:z,hidePortal:H,portalIsAccessible:N,renderPortal:q}=(0,d.Z)(k,S,re,!0),{hide:D}=(0,c.ZP)({showing:C,hideOnRouteChange:T,handleShow:U,handleHide:Z,processOnMount:!0}),{addToHistory:B,removeFromHistory:Y}=(0,a.Z)(C,D,T),X=(0,o.Fl)((()=>"q-dialog__inner flex no-pointer-events q-dialog__inner--"+(!0===e.maximized?"maximized":"minimized")+` q-dialog__inner--${e.position} ${y[e.position]}`+(!0===_.value?" q-dialog__inner--animating":"")+(!0===e.fullWidth?" q-dialog__inner--fullwidth":"")+(!0===e.fullHeight?" q-dialog__inner--fullheight":"")+(!0===e.square?" q-dialog__inner--square":""))),V=(0,o.Fl)((()=>!0===C.value&&!0!==e.seamless)),W=(0,o.Fl)((()=>!0===e.autoClose?{onClick:te}:{})),$=(0,o.Fl)((()=>["q-dialog fullscreen no-pointer-events q-dialog--"+(!0===V.value?"modal":"seamless"),f.class]));function U(t){B(),j=!1===e.noRefocus&&null!==document.activeElement?document.activeElement:null,ee(e.maximized),z(),_.value=!0,!0!==e.noFocus?(null!==document.activeElement&&document.activeElement.blur(),O(G)):M(),E((()=>{if(!0===k.proxy.$q.platform.is.ios){if(!0!==e.seamless&&document.activeElement){const{top:e,bottom:t}=document.activeElement.getBoundingClientRect(),{innerHeight:n}=window,i=void 0!==window.visualViewport?window.visualViewport.height:n;e>0&&t>i/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-i,t>=n?1/0:Math.ceil(document.scrollingElement.scrollTop+t-i/2))),document.activeElement.scrollIntoView()}L=!0,S.value.click(),L=!1}z(!0),_.value=!1,n("show",t)}),e.transitionDuration)}function Z(t){M(),Y(),Q(!0),_.value=!0,H(),null!==j&&(((t&&0===t.type.indexOf("key")?j.closest('[tabindex]:not([tabindex^="-"])'):void 0)||j).focus(),j=null),E((()=>{H(!0),_.value=!1,n("hide",t)}),e.transitionDuration)}function G(e){(0,b.jd)((()=>{let t=S.value;null!==t&&!0!==t.contains(document.activeElement)&&(t=(""!==e?t.querySelector(e):null)||t.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||t.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||t.querySelector("[autofocus], [data-autofocus]")||t,t.focus({preventScroll:!0}))}))}function K(e){e&&"function"===typeof e.focus?e.focus({preventScroll:!0}):G(),n("shake");const t=S.value;null!==t&&(t.classList.remove("q-animate--scale"),t.classList.add("q-animate--scale"),clearTimeout(A),A=setTimeout((()=>{null!==S.value&&(t.classList.remove("q-animate--scale"),G())}),170))}function J(){!0!==e.seamless&&(!0===e.persistent||!0===e.noEscDismiss?!0!==e.maximized&&!0!==e.noShake&&K():(n("escapeKey"),D()))}function Q(t){clearTimeout(A),!0!==t&&!0!==C.value||(ee(!1),!0!==e.seamless&&(F(!1),(0,m.H)(ie),(0,v.k)(J))),!0!==t&&(j=null)}function ee(e){!0===e?!0!==P&&(x<1&&document.body.classList.add("q-body--dialog"),x++,P=!0):!0===P&&(x<2&&document.body.classList.remove("q-body--dialog"),x--,P=!1)}function te(e){!0!==L&&(D(e),n("click",e))}function ne(t){!0!==e.persistent&&!0!==e.noBackdropDismiss?D(t):!0!==e.noShake&&K(t.relatedTarget)}function ie(t){!0!==e.allowFocusOutside&&!0===N.value&&!0!==(0,p.mY)(S.value,t.target)&&G('[tabindex]:not([tabindex="-1"])')}(0,i.YP)((()=>e.maximized),(e=>{!0===C.value&&ee(e)})),(0,i.YP)(V,(e=>{F(e),!0===e?((0,m.i)(ie),(0,v.c)(J)):((0,m.H)(ie),(0,v.k)(J))})),Object.assign(k.proxy,{focus:G,shake:K,__updateRefocusTarget(e){j=e||null}}),(0,i.Jd)(Q);const oe=!0===k.proxy.$q.platform.is.ios?"onClick":"onFocusin";function re(){return(0,i.h)("div",{role:"dialog","aria-modal":!0===V.value?"true":"false",...f,class:$.value},[(0,i.h)(r.uT,{name:"q-transition--fade",appear:!0},(()=>!0===V.value?(0,i.h)("div",{class:"q-dialog__backdrop fixed-full",style:I.value,"aria-hidden":"true",tabindex:-1,[oe]:ne}):null)),(0,i.h)(r.uT,R.value,(()=>!0===C.value?(0,i.h)("div",{ref:S,class:X.value,style:I.value,tabindex:-1,...W.value},(0,g.KR)(t.default)):null))])}return q}})},906:(e,t,n)=>{"use strict";n.d(t,{Z:()=>v});n(702);var i=n(9835),o=n(499),r=n(4953),a=n(3842),s=n(9754),l=n(2695),c=n(8234),u=n(2873),d=n(5987),h=n(321),f=n(2026),p=n(5439);const g=150,v=(0,d.L)({name:"QDrawer",inheritAttrs:!1,props:{...a.vr,...c.S,side:{type:String,default:"left",validator:e=>["left","right"].includes(e)},width:{type:Number,default:300},mini:Boolean,miniToOverlay:Boolean,miniWidth:{type:Number,default:57},breakpoint:{type:Number,default:1023},showIfAbove:Boolean,behavior:{type:String,validator:e=>["default","desktop","mobile"].includes(e),default:"default"},bordered:Boolean,elevated:Boolean,overlay:Boolean,persistent:Boolean,noSwipeOpen:Boolean,noSwipeClose:Boolean,noSwipeBackdrop:Boolean},emits:[...a.gH,"onLayout","miniState"],setup(e,{slots:t,emit:n,attrs:d}){const v=(0,i.FN)(),{proxy:{$q:m}}=v,b=(0,c.Z)(e,m),{preventBodyScroll:x}=(0,s.Z)(),{registerTimeout:y,removeTimeout:w}=(0,l.Z)(),k=(0,i.f3)(p.YE,p.qO);if(k===p.qO)return console.error("QDrawer needs to be child of QLayout"),p.qO;let S,C,_;const A=(0,o.iH)("mobile"===e.behavior||"desktop"!==e.behavior&&k.totalWidth.value<=e.breakpoint),P=(0,o.Fl)((()=>!0===e.mini&&!0!==A.value)),L=(0,o.Fl)((()=>!0===P.value?e.miniWidth:e.width)),j=(0,o.iH)(!0===e.showIfAbove&&!1===A.value||!0===e.modelValue),T=(0,o.Fl)((()=>!0!==e.persistent&&(!0===A.value||!0===U.value)));function F(e,t){if(R(),!1!==e&&k.animate(),se(0),!0===A.value){const e=k.instances[X.value];void 0!==e&&!0===e.belowBreakpoint&&e.hide(!1),le(1),!0!==k.isContainer.value&&x(!0)}else le(0),!1!==e&&ce(!1);y((()=>{!1!==e&&ce(!0),!0!==t&&n("show",e)}),g)}function E(e,t){I(),!1!==e&&k.animate(),le(0),se(N.value*L.value),fe(),!0!==t?y((()=>{n("hide",e)}),g):w()}const{show:O,hide:M}=(0,a.ZP)({showing:j,hideOnRouteChange:T,handleShow:F,handleHide:E}),{addToHistory:R,removeFromHistory:I}=(0,r.Z)(j,M,T),z={belowBreakpoint:A,hide:M},H=(0,o.Fl)((()=>"right"===e.side)),N=(0,o.Fl)((()=>(!0===m.lang.rtl?-1:1)*(!0===H.value?1:-1))),q=(0,o.iH)(0),D=(0,o.iH)(!1),B=(0,o.iH)(!1),Y=(0,o.iH)(L.value*N.value),X=(0,o.Fl)((()=>!0===H.value?"left":"right")),V=(0,o.Fl)((()=>!0===j.value&&!1===A.value&&!1===e.overlay?!0===e.miniToOverlay?e.miniWidth:L.value:0)),W=(0,o.Fl)((()=>!0===e.overlay||!0===e.miniToOverlay||k.view.value.indexOf(H.value?"R":"L")>-1||!0===m.platform.is.ios&&!0===k.isContainer.value)),$=(0,o.Fl)((()=>!1===e.overlay&&!0===j.value&&!1===A.value)),U=(0,o.Fl)((()=>!0===e.overlay&&!0===j.value&&!1===A.value)),Z=(0,o.Fl)((()=>"fullscreen q-drawer__backdrop"+(!1===j.value&&!1===D.value?" hidden":""))),G=(0,o.Fl)((()=>({backgroundColor:`rgba(0,0,0,${.4*q.value})`}))),K=(0,o.Fl)((()=>!0===H.value?"r"===k.rows.value.top[2]:"l"===k.rows.value.top[0])),J=(0,o.Fl)((()=>!0===H.value?"r"===k.rows.value.bottom[2]:"l"===k.rows.value.bottom[0])),Q=(0,o.Fl)((()=>{const e={};return!0===k.header.space&&!1===K.value&&(!0===W.value?e.top=`${k.header.offset}px`:!0===k.header.space&&(e.top=`${k.header.size}px`)),!0===k.footer.space&&!1===J.value&&(!0===W.value?e.bottom=`${k.footer.offset}px`:!0===k.footer.space&&(e.bottom=`${k.footer.size}px`)),e})),ee=(0,o.Fl)((()=>{const e={width:`${L.value}px`,transform:`translateX(${Y.value}px)`};return!0===A.value?e:Object.assign(e,Q.value)})),te=(0,o.Fl)((()=>"q-drawer__content fit "+(!0!==k.isContainer.value?"scroll":"overflow-auto"))),ne=(0,o.Fl)((()=>`q-drawer q-drawer--${e.side}`+(!0===B.value?" q-drawer--mini-animate":"")+(!0===e.bordered?" q-drawer--bordered":"")+(!0===b.value?" q-drawer--dark q-dark":"")+(!0===D.value?" no-transition":!0===j.value?"":" q-layout--prevent-focus")+(!0===A.value?" fixed q-drawer--on-top q-drawer--mobile q-drawer--top-padding":" q-drawer--"+(!0===P.value?"mini":"standard")+(!0===W.value||!0!==$.value?" fixed":"")+(!0===e.overlay||!0===e.miniToOverlay?" q-drawer--on-top":"")+(!0===K.value?" q-drawer--top-padding":"")))),ie=(0,o.Fl)((()=>{const t=!0===m.lang.rtl?e.side:X.value;return[[u.Z,de,void 0,{[t]:!0,mouse:!0}]]})),oe=(0,o.Fl)((()=>{const t=!0===m.lang.rtl?X.value:e.side;return[[u.Z,he,void 0,{[t]:!0,mouse:!0}]]})),re=(0,o.Fl)((()=>{const t=!0===m.lang.rtl?X.value:e.side;return[[u.Z,he,void 0,{[t]:!0,mouse:!0,mouseAllDir:!0}]]}));function ae(){ge(A,"mobile"===e.behavior||"desktop"!==e.behavior&&k.totalWidth.value<=e.breakpoint)}function se(e){void 0===e?(0,i.Y3)((()=>{e=!0===j.value?0:L.value,se(N.value*e)})):(!0!==k.isContainer.value||!0!==H.value||!0!==A.value&&Math.abs(e)!==L.value||(e+=N.value*k.scrollbarWidth.value),Y.value=e)}function le(e){q.value=e}function ce(e){const t=!0===e?"remove":!0!==k.isContainer.value?"add":"";""!==t&&document.body.classList[t]("q-body--drawer-toggle")}function ue(){clearTimeout(C),v.proxy&&v.proxy.$el&&v.proxy.$el.classList.add("q-drawer--mini-animate"),B.value=!0,C=setTimeout((()=>{B.value=!1,v&&v.proxy&&v.proxy.$el&&v.proxy.$el.classList.remove("q-drawer--mini-animate")}),150)}function de(e){if(!1!==j.value)return;const t=L.value,n=(0,h.vX)(e.distance.x,0,t);if(!0===e.isFinal){const e=n>=Math.min(75,t);return!0===e?O():(k.animate(),le(0),se(N.value*t)),void(D.value=!1)}se((!0===m.lang.rtl?!0!==H.value:H.value)?Math.max(t-n,0):Math.min(0,n-t)),le((0,h.vX)(n/t,0,1)),!0===e.isFirst&&(D.value=!0)}function he(t){if(!0!==j.value)return;const n=L.value,i=t.direction===e.side,o=(!0===m.lang.rtl?!0!==i:i)?(0,h.vX)(t.distance.x,0,n):0;if(!0===t.isFinal){const e=Math.abs(o){!0===t?(S=j.value,!0===j.value&&M(!1)):!1===e.overlay&&"mobile"!==e.behavior&&!1!==S&&(!0===j.value?(se(0),le(0),fe()):O(!1))})),(0,i.YP)((()=>e.side),((e,t)=>{k.instances[t]===z&&(k.instances[t]=void 0,k[t].space=!1,k[t].offset=0),k.instances[e]=z,k[e].size=L.value,k[e].space=$.value,k[e].offset=V.value})),(0,i.YP)(k.totalWidth,(()=>{!0!==k.isContainer.value&&!0===document.qScrollPrevented||ae()})),(0,i.YP)((()=>e.behavior+e.breakpoint),ae),(0,i.YP)(k.isContainer,(e=>{!0===j.value&&x(!0!==e),!0===e&&ae()})),(0,i.YP)(k.scrollbarWidth,(()=>{se(!0===j.value?0:void 0)})),(0,i.YP)(V,(e=>{pe("offset",e)})),(0,i.YP)($,(e=>{n("onLayout",e),pe("space",e)})),(0,i.YP)(H,(()=>{se()})),(0,i.YP)(L,(t=>{se(),ve(e.miniToOverlay,t)})),(0,i.YP)((()=>e.miniToOverlay),(e=>{ve(e,L.value)})),(0,i.YP)((()=>m.lang.rtl),(()=>{se()})),(0,i.YP)((()=>e.mini),(()=>{!0===e.modelValue&&(ue(),k.animate())})),(0,i.YP)(P,(e=>{n("miniState",e)})),k.instances[e.side]=z,ve(e.miniToOverlay,L.value),pe("space",$.value),pe("offset",V.value),!0===e.showIfAbove&&!0!==e.modelValue&&!0===j.value&&void 0!==e["onUpdate:modelValue"]&&n("update:modelValue",!0),(0,i.bv)((()=>{n("onLayout",$.value),n("miniState",P.value),S=!0===e.showIfAbove;const t=()=>{const e=!0===j.value?F:E;e(!1,!0)};0===k.totalWidth.value?_=(0,i.YP)(k.totalWidth,(()=>{_(),_=void 0,!1===j.value&&!0===e.showIfAbove&&!1===A.value?O(!1):t()})):(0,i.Y3)(t)})),(0,i.Jd)((()=>{void 0!==_&&_(),clearTimeout(C),!0===j.value&&fe(),k.instances[e.side]===z&&(k.instances[e.side]=void 0,pe("size",0),pe("offset",0),pe("space",!1))})),()=>{const n=[];!0===A.value&&(!1===e.noSwipeOpen&&n.push((0,i.wy)((0,i.h)("div",{key:"open",class:`q-drawer__opener fixed-${e.side}`,"aria-hidden":"true"}),ie.value)),n.push((0,f.Jl)("div",{ref:"backdrop",class:Z.value,style:G.value,"aria-hidden":"true",onClick:M},void 0,"backdrop",!0!==e.noSwipeBackdrop&&!0===j.value,(()=>re.value))));const o=!0===P.value&&void 0!==t.mini,r=[(0,i.h)("div",{...d,key:""+o,class:[te.value,d.class]},!0===o?t.mini():(0,f.KR)(t.default))];return!0===e.elevated&&!0===j.value&&r.push((0,i.h)("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),n.push((0,f.Jl)("aside",{ref:"content",class:ne.value,style:ee.value},r,"contentclose",!0!==e.noSwipeClose&&!0===A.value,(()=>oe.value))),(0,i.h)("div",{class:"q-drawer-container"},n)}}})},1123:(e,t,n)=>{"use strict";n.d(t,{Z:()=>w});n(702);var i=n(499),o=n(9835),r=n(1957),a=n(490),s=n(1233),l=n(3115),c=n(2857),u=n(5987);const d=(0,u.L)({name:"QSlideTransition",props:{appear:Boolean,duration:{type:Number,default:300}},emits:["show","hide"],setup(e,{slots:t,emit:n}){let i,a,s,l,c,u,d=!1;function h(){i&&i(),i=null,d=!1,clearTimeout(s),clearTimeout(l),void 0!==a&&a.removeEventListener("transitionend",c),c=null}function f(t,n,o){t.style.overflowY="hidden",void 0!==n&&(t.style.height=`${n}px`),t.style.transition=`height ${e.duration}ms cubic-bezier(.25, .8, .50, 1)`,d=!0,i=o}function p(e,t){e.style.overflowY=null,e.style.height=null,e.style.transition=null,h(),t!==u&&n(t)}function g(t,n){let i=0;a=t,!0===d?(h(),i=t.offsetHeight===t.scrollHeight?0:void 0):u="hide",f(t,i,n),s=setTimeout((()=>{t.style.height=`${t.scrollHeight}px`,c=e=>{Object(e)===e&&e.target!==t||p(t,"show")},t.addEventListener("transitionend",c),l=setTimeout(c,1.1*e.duration)}),100)}function v(t,n){let i;a=t,!0===d?h():(u="show",i=t.scrollHeight),f(t,i,n),s=setTimeout((()=>{t.style.height=0,c=e=>{Object(e)===e&&e.target!==t||p(t,"hide")},t.addEventListener("transitionend",c),l=setTimeout(c,1.1*e.duration)}),100)}return(0,o.Jd)((()=>{!0===d&&h()})),()=>(0,o.h)(r.uT,{css:!1,appear:e.appear,onEnter:g,onLeave:v},t.default)}});var h=n(926),f=n(8234),p=n(945),g=n(3842),v=n(1384),m=n(2026),b=n(796);const x=(0,i.Um)({}),y=Object.keys(p.$),w=(0,u.L)({name:"QExpansionItem",props:{...p.$,...g.vr,...f.S,icon:String,label:String,labelLines:[Number,String],caption:String,captionLines:[Number,String],dense:Boolean,toggleAriaLabel:String,expandIcon:String,expandedIcon:String,expandIconClass:[Array,String,Object],duration:Number,headerInsetLevel:Number,contentInsetLevel:Number,expandSeparator:Boolean,defaultOpened:Boolean,hideExpandIcon:Boolean,expandIconToggle:Boolean,switchToggleSide:Boolean,denseToggle:Boolean,group:String,popup:Boolean,headerStyle:[Array,String,Object],headerClass:[Array,String,Object]},emits:[...g.gH,"click","afterShow","afterHide"],setup(e,{slots:t,emit:n}){const{proxy:{$q:u}}=(0,o.FN)(),p=(0,f.Z)(e,u),w=(0,i.iH)(null!==e.modelValue?e.modelValue:e.defaultOpened),k=(0,i.iH)(null),S=(0,b.Z)(),{show:C,hide:_,toggle:A}=(0,g.ZP)({showing:w});let P,L;const j=(0,i.Fl)((()=>"q-expansion-item q-item-type q-expansion-item--"+(!0===w.value?"expanded":"collapsed")+" q-expansion-item--"+(!0===e.popup?"popup":"standard"))),T=(0,i.Fl)((()=>{if(void 0===e.contentInsetLevel)return null;const t=!0===u.lang.rtl?"Right":"Left";return{["padding"+t]:56*e.contentInsetLevel+"px"}})),F=(0,i.Fl)((()=>!0!==e.disable&&(void 0!==e.href||void 0!==e.to&&null!==e.to&&""!==e.to))),E=(0,i.Fl)((()=>{const t={};return y.forEach((n=>{t[n]=e[n]})),t})),O=(0,i.Fl)((()=>!0===F.value||!0!==e.expandIconToggle)),M=(0,i.Fl)((()=>void 0!==e.expandedIcon&&!0===w.value?e.expandedIcon:e.expandIcon||u.iconSet.expansionItem[!0===e.denseToggle?"denseIcon":"icon"])),R=(0,i.Fl)((()=>!0!==e.disable&&(!0===F.value||!0===e.expandIconToggle))),I=(0,i.Fl)((()=>({expanded:!0===w.value,detailsId:e.targetUid,toggle:A,show:C,hide:_}))),z=(0,i.Fl)((()=>{const t=void 0!==e.toggleAriaLabel?e.toggleAriaLabel:u.lang.label[!0===w.value?"collapse":"expand"](e.label);return{role:"button","aria-expanded":!0===w.value?"true":"false","aria-controls":S,"aria-label":t}}));function H(e){!0!==F.value&&A(e),n("click",e)}function N(e){13===e.keyCode&&q(e,!0)}function q(e,t){!0!==t&&null!==k.value&&k.value.focus(),A(e),(0,v.NS)(e)}function D(){n("afterShow")}function B(){n("afterHide")}function Y(){void 0===P&&(P=(0,b.Z)()),!0===w.value&&(x[e.group]=P);const t=(0,o.YP)(w,(t=>{!0===t?x[e.group]=P:x[e.group]===P&&delete x[e.group]})),n=(0,o.YP)((()=>x[e.group]),((e,t)=>{t===P&&void 0!==e&&e!==P&&_()}));L=()=>{t(),n(),x[e.group]===P&&delete x[e.group],L=void 0}}function X(){const t={class:["q-focusable relative-position cursor-pointer"+(!0===e.denseToggle&&!0===e.switchToggleSide?" items-end":""),e.expandIconClass],side:!0!==e.switchToggleSide,avatar:e.switchToggleSide},n=[(0,o.h)(c.Z,{class:"q-expansion-item__toggle-icon"+(void 0===e.expandedIcon&&!0===w.value?" q-expansion-item__toggle-icon--rotated":""),name:M.value})];return!0===R.value&&(Object.assign(t,{tabindex:0,...z.value,onClick:q,onKeyup:N}),n.unshift((0,o.h)("div",{ref:k,class:"q-expansion-item__toggle-focus q-icon q-focus-helper q-focus-helper--rounded",tabindex:-1}))),(0,o.h)(s.Z,t,(()=>n))}function V(){let n;return void 0!==t.header?n=[].concat(t.header(I.value)):(n=[(0,o.h)(s.Z,(()=>[(0,o.h)(l.Z,{lines:e.labelLines},(()=>e.label||"")),e.caption?(0,o.h)(l.Z,{lines:e.captionLines,caption:!0},(()=>e.caption)):null]))],e.icon&&n[!0===e.switchToggleSide?"push":"unshift"]((0,o.h)(s.Z,{side:!0===e.switchToggleSide,avatar:!0!==e.switchToggleSide},(()=>(0,o.h)(c.Z,{name:e.icon}))))),!0!==e.disable&&!0!==e.hideExpandIcon&&n[!0===e.switchToggleSide?"unshift":"push"](X()),n}function W(){const t={ref:"item",style:e.headerStyle,class:e.headerClass,dark:p.value,disable:e.disable,dense:e.dense,insetLevel:e.headerInsetLevel};return!0===O.value&&(t.clickable=!0,t.onClick=H,Object.assign(t,!0===F.value?E.value:z.value)),(0,o.h)(a.Z,t,V)}function $(){return(0,o.wy)((0,o.h)("div",{key:"e-content",class:"q-expansion-item__content relative-position",style:T.value,id:S},(0,m.KR)(t.default)),[[r.F8,w.value]])}function U(){const t=[W(),(0,o.h)(d,{duration:e.duration,onShow:D,onHide:B},$)];return!0===e.expandSeparator&&t.push((0,o.h)(h.Z,{class:"q-expansion-item__border q-expansion-item__border--top absolute-top",dark:p.value}),(0,o.h)(h.Z,{class:"q-expansion-item__border q-expansion-item__border--bottom absolute-bottom",dark:p.value})),t}return(0,o.YP)((()=>e.group),(e=>{void 0!==L&&L(),void 0!==e&&Y()})),void 0!==e.group&&Y(),(0,o.Jd)((()=>{void 0!==L&&L()})),()=>(0,o.h)("div",{class:j.value},[(0,o.h)("div",{class:"q-expansion-item__container relative-position"},U())])}})},9361:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var i=n(499),o=n(9835),r=n(8879),a=n(2857),s=n(647),l=n(3842),c=n(5987),u=n(2026),d=n(5439),h=n(796);const f=["up","right","down","left"],p=["left","center","right"],g=(0,c.L)({name:"QFab",props:{...s.$,...l.vr,icon:String,activeIcon:String,hideIcon:Boolean,hideLabel:{default:null},direction:{type:String,default:"right",validator:e=>f.includes(e)},persistent:Boolean,verticalActionsAlign:{type:String,default:"center",validator:e=>p.includes(e)}},emits:l.gH,setup(e,{slots:t}){const n=(0,i.iH)(null),c=(0,i.iH)(!0===e.modelValue),f=(0,h.Z)(),{proxy:{$q:p}}=(0,o.FN)(),{formClass:g,labelProps:v}=(0,s.Z)(e,c),m=(0,i.Fl)((()=>!0!==e.persistent)),{hide:b,toggle:x}=(0,l.ZP)({showing:c,hideOnRouteChange:m}),y=(0,i.Fl)((()=>({opened:c.value}))),w=(0,i.Fl)((()=>`q-fab z-fab row inline justify-center q-fab--align-${e.verticalActionsAlign} ${g.value}`+(!0===c.value?" q-fab--opened":" q-fab--closed"))),k=(0,i.Fl)((()=>`q-fab__actions flex no-wrap inline q-fab__actions--${e.direction} q-fab__actions--`+(!0===c.value?"opened":"closed"))),S=(0,i.Fl)((()=>{const e={id:f,role:"menu"};return!0!==c.value&&(e["aria-hidden"]="true"),e})),C=(0,i.Fl)((()=>"q-fab__icon-holder q-fab__icon-holder--"+(!0===c.value?"opened":"closed")));function _(n,i){const r=t[n],s=`q-fab__${n} absolute-full`;return void 0===r?(0,o.h)(a.Z,{class:s,name:e[i]||p.iconSet.fab[i]}):(0,o.h)("div",{class:s},r(y.value))}function A(){const n=[];return!0!==e.hideIcon&&n.push((0,o.h)("div",{class:C.value},[_("icon","icon"),_("active-icon","activeIcon")])),""===e.label&&void 0===t.label||n[v.value.action]((0,o.h)("div",v.value.data,void 0!==t.label?t.label(y.value):[e.label])),(0,u.vs)(t.tooltip,n)}return(0,o.JJ)(d.Lr,{showing:c,onChildClick(e){b(e),null!==n.value&&n.value.$el.focus()}}),()=>(0,o.h)("div",{class:w.value},[(0,o.h)(r.Z,{ref:n,class:g.value,...e,noWrap:!0,stack:e.stacked,align:void 0,icon:void 0,label:void 0,noCaps:!0,fab:!0,"aria-expanded":!0===c.value?"true":"false","aria-haspopup":"true","aria-controls":f,onClick:x},A),(0,o.h)("div",{class:k.value,...S.value},(0,u.KR)(t.default))])}})},935:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var i=n(9835),o=n(499),r=n(8879),a=n(2857),s=n(647),l=n(5987),c=n(5439),u=n(2026),d=n(1384);const h={start:"self-end",center:"self-center",end:"self-start"},f=Object.keys(h),p=(0,l.L)({name:"QFabAction",props:{...s.$,icon:{type:String,default:""},anchor:{type:String,validator:e=>f.includes(e)},to:[String,Object],replace:Boolean},emits:["click"],setup(e,{slots:t,emit:n}){const l=(0,i.f3)(c.Lr,(()=>({showing:{value:!0},onChildClick:d.ZT}))),{formClass:f,labelProps:p}=(0,s.Z)(e,l.showing),g=(0,o.Fl)((()=>{const t=h[e.anchor];return f.value+(void 0!==t?` ${t}`:"")})),v=(0,o.Fl)((()=>!0===e.disable||!0!==l.showing.value));function m(e){l.onChildClick(e),n("click",e)}function b(){const n=[];return void 0!==t.icon?n.push(t.icon()):""!==e.icon&&n.push((0,i.h)(a.Z,{name:e.icon})),""===e.label&&void 0===t.label||n[p.value.action]((0,i.h)("div",p.value.data,void 0!==t.label?t.label():[e.label])),(0,u.vs)(t.default,n)}const x=(0,i.FN)();return Object.assign(x.proxy,{click:m}),()=>(0,i.h)(r.Z,{class:g.value,...e,noWrap:!0,stack:e.stacked,icon:void 0,label:void 0,noCaps:!0,fabMini:!0,disable:v.value,onClick:m},b)}})},647:(e,t,n)=>{"use strict";n.d(t,{$:()=>r,Z:()=>a});var i=n(499);const o=["top","right","bottom","left"],r={type:{type:String,default:"a"},outline:Boolean,push:Boolean,flat:Boolean,unelevated:Boolean,color:String,textColor:String,glossy:Boolean,square:Boolean,padding:String,label:{type:[String,Number],default:""},labelPosition:{type:String,default:"right",validator:e=>o.includes(e)},externalLabel:Boolean,hideLabel:{type:Boolean},labelClass:[Array,String,Object],labelStyle:[Array,String,Object],disable:Boolean,tabindex:[Number,String]};function a(e,t){return{formClass:(0,i.Fl)((()=>"q-fab--form-"+(!0===e.square?"square":"rounded"))),stacked:(0,i.Fl)((()=>!1===e.externalLabel&&["top","bottom"].includes(e.labelPosition))),labelProps:(0,i.Fl)((()=>{if(!0===e.externalLabel){const n=null===e.hideLabel?!1===t.value:e.hideLabel;return{action:"push",data:{class:[e.labelClass,`q-fab__label q-tooltip--style q-fab__label--external q-fab__label--external-${e.labelPosition}`+(!0===n?" q-fab__label--external-hidden":"")],style:e.labelStyle}}}return{action:["left","top"].includes(e.labelPosition)?"unshift":"push",data:{class:[e.labelClass,`q-fab__label q-fab__label--internal q-fab__label--internal-${e.labelPosition}`+(!0===e.hideLabel?" q-fab__label--internal-hidden":"")],style:e.labelStyle}}}))}}},1378:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var i=n(9835),o=n(499),r=n(7506),a=n(883),s=n(5987),l=n(2026),c=n(5439);const u=(0,s.L)({name:"QFooter",props:{modelValue:{type:Boolean,default:!0},reveal:Boolean,bordered:Boolean,elevated:Boolean,heightHint:{type:[String,Number],default:50}},emits:["reveal","focusin"],setup(e,{slots:t,emit:n}){const{proxy:{$q:s}}=(0,i.FN)(),u=(0,i.f3)(c.YE,c.qO);if(u===c.qO)return console.error("QFooter needs to be child of QLayout"),c.qO;const d=(0,o.iH)(parseInt(e.heightHint,10)),h=(0,o.iH)(!0),f=(0,o.iH)(!0===r.uX.value||!0===u.isContainer.value?0:window.innerHeight),p=(0,o.Fl)((()=>!0===e.reveal||u.view.value.indexOf("F")>-1||s.platform.is.ios&&!0===u.isContainer.value)),g=(0,o.Fl)((()=>!0===u.isContainer.value?u.containerHeight.value:f.value)),v=(0,o.Fl)((()=>{if(!0!==e.modelValue)return 0;if(!0===p.value)return!0===h.value?d.value:0;const t=u.scroll.value.position+g.value+d.value-u.height.value;return t>0?t:0})),m=(0,o.Fl)((()=>!0!==e.modelValue||!0===p.value&&!0!==h.value)),b=(0,o.Fl)((()=>!0===e.modelValue&&!0===m.value&&!0===e.reveal)),x=(0,o.Fl)((()=>"q-footer q-layout__section--marginal "+(!0===p.value?"fixed":"absolute")+"-bottom"+(!0===e.bordered?" q-footer--bordered":"")+(!0===m.value?" q-footer--hidden":"")+(!0!==e.modelValue?" q-layout--prevent-focus"+(!0!==p.value?" hidden":""):""))),y=(0,o.Fl)((()=>{const e=u.rows.value.bottom,t={};return"l"===e[0]&&!0===u.left.space&&(t[!0===s.lang.rtl?"right":"left"]=`${u.left.size}px`),"r"===e[2]&&!0===u.right.space&&(t[!0===s.lang.rtl?"left":"right"]=`${u.right.size}px`),t}));function w(e,t){u.update("footer",e,t)}function k(e,t){e.value!==t&&(e.value=t)}function S({height:e}){k(d,e),w("size",e)}function C(){if(!0!==e.reveal)return;const{direction:t,position:n,inflectionPoint:i}=u.scroll.value;k(h,"up"===t||n-i<100||u.height.value-g.value-n-d.value<300)}function _(e){!0===b.value&&k(h,!0),n("focusin",e)}(0,i.YP)((()=>e.modelValue),(e=>{w("space",e),k(h,!0),u.animate()})),(0,i.YP)(v,(e=>{w("offset",e)})),(0,i.YP)((()=>e.reveal),(t=>{!1===t&&k(h,e.modelValue)})),(0,i.YP)(h,(e=>{u.animate(),n("reveal",e)})),(0,i.YP)([d,u.scroll,u.height],C),(0,i.YP)((()=>s.screen.height),(e=>{!0!==u.isContainer.value&&k(f,e)}));const A={};return u.instances.footer=A,!0===e.modelValue&&w("size",d.value),w("space",e.modelValue),w("offset",v.value),(0,i.Jd)((()=>{u.instances.footer===A&&(u.instances.footer=void 0,w("size",0),w("offset",0),w("space",!1))})),()=>{const n=(0,l.vs)(t.default,[(0,i.h)(a.Z,{debounce:0,onResize:S})]);return!0===e.elevated&&n.push((0,i.h)("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),(0,i.h)("footer",{class:x.value,style:y.value,onFocusin:_},n)}}})},6602:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var i=n(9835),o=n(499),r=n(883),a=n(5987),s=n(2026),l=n(5439);const c=(0,a.L)({name:"QHeader",props:{modelValue:{type:Boolean,default:!0},reveal:Boolean,revealOffset:{type:Number,default:250},bordered:Boolean,elevated:Boolean,heightHint:{type:[String,Number],default:50}},emits:["reveal","focusin"],setup(e,{slots:t,emit:n}){const{proxy:{$q:a}}=(0,i.FN)(),c=(0,i.f3)(l.YE,l.qO);if(c===l.qO)return console.error("QHeader needs to be child of QLayout"),l.qO;const u=(0,o.iH)(parseInt(e.heightHint,10)),d=(0,o.iH)(!0),h=(0,o.Fl)((()=>!0===e.reveal||c.view.value.indexOf("H")>-1||a.platform.is.ios&&!0===c.isContainer.value)),f=(0,o.Fl)((()=>{if(!0!==e.modelValue)return 0;if(!0===h.value)return!0===d.value?u.value:0;const t=u.value-c.scroll.value.position;return t>0?t:0})),p=(0,o.Fl)((()=>!0!==e.modelValue||!0===h.value&&!0!==d.value)),g=(0,o.Fl)((()=>!0===e.modelValue&&!0===p.value&&!0===e.reveal)),v=(0,o.Fl)((()=>"q-header q-layout__section--marginal "+(!0===h.value?"fixed":"absolute")+"-top"+(!0===e.bordered?" q-header--bordered":"")+(!0===p.value?" q-header--hidden":"")+(!0!==e.modelValue?" q-layout--prevent-focus":""))),m=(0,o.Fl)((()=>{const e=c.rows.value.top,t={};return"l"===e[0]&&!0===c.left.space&&(t[!0===a.lang.rtl?"right":"left"]=`${c.left.size}px`),"r"===e[2]&&!0===c.right.space&&(t[!0===a.lang.rtl?"left":"right"]=`${c.right.size}px`),t}));function b(e,t){c.update("header",e,t)}function x(e,t){e.value!==t&&(e.value=t)}function y({height:e}){x(u,e),b("size",e)}function w(e){!0===g.value&&x(d,!0),n("focusin",e)}(0,i.YP)((()=>e.modelValue),(e=>{b("space",e),x(d,!0),c.animate()})),(0,i.YP)(f,(e=>{b("offset",e)})),(0,i.YP)((()=>e.reveal),(t=>{!1===t&&x(d,e.modelValue)})),(0,i.YP)(d,(e=>{c.animate(),n("reveal",e)})),(0,i.YP)(c.scroll,(t=>{!0===e.reveal&&x(d,"up"===t.direction||t.position<=e.revealOffset||t.position-t.inflectionPoint<100)}));const k={};return c.instances.header=k,!0===e.modelValue&&b("size",u.value),b("space",e.modelValue),b("offset",f.value),(0,i.Jd)((()=>{c.instances.header===k&&(c.instances.header=void 0,b("size",0),b("offset",0),b("space",!1))})),()=>{const n=(0,s.Bl)(t.default,[]);return!0===e.elevated&&n.push((0,i.h)("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),n.push((0,i.h)(r.Z,{debounce:0,onResize:y})),(0,i.h)("header",{class:v.value,style:m.value,onFocusin:w},n)}}})},2857:(e,t,n)=>{"use strict";n.d(t,{Z:()=>k});n(702);var i=n(9835),o=n(499),r=n(244),a=n(5987),s=n(2026);const l="0 0 24 24",c=e=>e,u=e=>`ionicons ${e}`,d={"mdi-":e=>`mdi ${e}`,"icon-":c,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":u,"ion-ios":u,"ion-logo":u,"iconfont ":c,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`},h={o_:"-outlined",r_:"-round",s_:"-sharp"},f={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},p=new RegExp("^("+Object.keys(d).join("|")+")"),g=new RegExp("^("+Object.keys(h).join("|")+")"),v=new RegExp("^("+Object.keys(f).join("|")+")"),m=/^[Mm]\s?[-+]?\.?\d/,b=/^img:/,x=/^svguse:/,y=/^ion-/,w=/^(fa-(solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /,k=(0,a.L)({name:"QIcon",props:{...r.LU,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=(0,i.FN)(),a=(0,r.ZP)(e),c=(0,o.Fl)((()=>"q-icon"+(!0===e.left?" on-left":"")+(!0===e.right?" on-right":"")+(void 0!==e.color?` text-${e.color}`:""))),u=(0,o.Fl)((()=>{let t,o=e.name;if("none"===o||!o)return{none:!0};if(null!==n.iconMapFn){const e=n.iconMapFn(o);if(void 0!==e){if(void 0===e.icon)return{cls:e.cls,content:void 0!==e.content?e.content:" "};if(o=e.icon,"none"===o||!o)return{none:!0}}}if(!0===m.test(o)){const[e,t=l]=o.split("|");return{svg:!0,viewBox:t,nodes:e.split("&&").map((e=>{const[t,n,o]=e.split("@@");return(0,i.h)("path",{style:n,d:t,transform:o})}))}}if(!0===b.test(o))return{img:!0,src:o.substring(4)};if(!0===x.test(o)){const[e,t=l]=o.split("|");return{svguse:!0,src:e.substring(7),viewBox:t}}let r=" ";const a=o.match(p);if(null!==a)t=d[a[1]](o);else if(!0===w.test(o))t=o;else if(!0===y.test(o))t=`ionicons ion-${!0===n.platform.is.ios?"ios":"md"}${o.substring(3)}`;else if(!0===v.test(o)){t="notranslate material-symbols";const e=o.match(v);null!==e&&(o=o.substring(6),t+=f[e[1]]),r=o}else{t="notranslate material-icons";const e=o.match(g);null!==e&&(o=o.substring(2),t+=h[e[1]]),r=o}return{cls:t,content:r}}));return()=>{const n={class:c.value,style:a.value,"aria-hidden":"true",role:"presentation"};return!0===u.value.none?(0,i.h)(e.tag,n,(0,s.KR)(t.default)):!0===u.value.img?(0,i.h)("span",n,(0,s.vs)(t.default,[(0,i.h)("img",{src:u.value.src})])):!0===u.value.svg?(0,i.h)("span",n,(0,s.vs)(t.default,[(0,i.h)("svg",{viewBox:u.value.viewBox||"0 0 24 24"},u.value.nodes)])):!0===u.value.svguse?(0,i.h)("span",n,(0,s.vs)(t.default,[(0,i.h)("svg",{viewBox:u.value.viewBox},[(0,i.h)("use",{"xlink:href":u.value.src})])])):(void 0!==u.value.cls&&(n.class+=" "+u.value.cls),(0,i.h)(e.tag,n,(0,s.vs)(t.default,[u.value.content])))}}})},6611:(e,t,n)=>{"use strict";n.d(t,{Z:()=>k});n(702);var i=n(9835),o=n(499),r=n(6169),a=(n(8964),n(1705));const s={date:"####/##/##",datetime:"####/##/## ##:##",time:"##:##",fulltime:"##:##:##",phone:"(###) ### - ####",card:"#### #### #### ####"},l={"#":{pattern:"[\\d]",negate:"[^\\d]"},S:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]"},N:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]"},A:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleUpperCase()},a:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleLowerCase()},X:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleUpperCase()},x:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleLowerCase()}},c=Object.keys(l);c.forEach((e=>{l[e].regex=new RegExp(l[e].pattern)}));const u=new RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|(["+c.join("")+"])|(.)","g"),d=/[.*+?^${}()|[\]\\]/g,h=String.fromCharCode(1),f={mask:String,reverseFillMask:Boolean,fillMask:[Boolean,String],unmaskedValue:Boolean};function p(e,t,n,r){let c,f,p,g;const v=(0,o.iH)(null),m=(0,o.iH)(x());function b(){return!0===e.autogrow||["textarea","text","search","url","tel","password"].includes(e.type)}function x(){if(w(),!0===v.value){const t=A(L(e.modelValue));return!1!==e.fillMask?j(t):t}return e.modelValue}function y(e){if(e-1){for(let i=e-n.length;i>0;i--)t+=h;n=n.slice(0,i)+t+n.slice(i)}return n}function w(){if(v.value=void 0!==e.mask&&e.mask.length>0&&b(),!1===v.value)return g=void 0,c="",void(f="");const t=void 0===s[e.mask]?e.mask:s[e.mask],n="string"===typeof e.fillMask&&e.fillMask.length>0?e.fillMask.slice(0,1):"_",i=n.replace(d,"\\$&"),o=[],r=[],a=[];let m=!0===e.reverseFillMask,x="",y="";t.replace(u,((e,t,n,i,s)=>{if(void 0!==i){const e=l[i];a.push(e),y=e.negate,!0===m&&(r.push("(?:"+y+"+)?("+e.pattern+"+)?(?:"+y+"+)?("+e.pattern+"+)?"),m=!1),r.push("(?:"+y+"+)?("+e.pattern+")?")}else if(void 0!==n)x="\\"+("\\"===n?"":n),a.push(n),o.push("([^"+x+"]+)?"+x+"?");else{const e=void 0!==t?t:s;x="\\"===e?"\\\\\\\\":e.replace(d,"\\\\$&"),a.push(e),o.push("([^"+x+"]+)?"+x+"?")}}));const w=new RegExp("^"+o.join("")+"("+(""===x?".":"[^"+x+"]")+"+)?"+(""===x?"":"["+x+"]*")+"$"),k=r.length-1,S=r.map(((t,n)=>0===n&&!0===e.reverseFillMask?new RegExp("^"+i+"*"+t):n===k?new RegExp("^"+t+"("+(""===y?".":y)+"+)?"+(!0===e.reverseFillMask?"$":i+"*")):new RegExp("^"+t)));p=a,g=t=>{const n=w.exec(!0===e.reverseFillMask?t:t.slice(0,a.length));null!==n&&(t=n.slice(1).join(""));const i=[],o=S.length;for(let e=0,r=t;e0?i.join(""):t},c=a.map((e=>"string"===typeof e?e:h)).join(""),f=c.split(h).join(n)}function k(t,o,a){const s=r.value,l=s.selectionEnd,u=s.value.length-l,d=L(t);!0===o&&w();const p=A(d),g=!1!==e.fillMask?j(p):p,v=m.value!==g;s.value!==g&&(s.value=g),!0===v&&(m.value=g),document.activeElement===s&&(0,i.Y3)((()=>{if(g!==f)if("insertFromPaste"!==a||!0===e.reverseFillMask)if(["deleteContentBackward","deleteContentForward"].indexOf(a)>-1){const t=!0===e.reverseFillMask?0===l?g.length>p.length?1:0:Math.max(0,g.length-(g===f?0:Math.min(p.length,u)+1))+1:l;s.setSelectionRange(t,t,"forward")}else if(!0===e.reverseFillMask)if(!0===v){const e=Math.max(0,g.length-(g===f?0:Math.min(p.length,u+1)));1===e&&1===l?s.setSelectionRange(e,e,"forward"):C.rightReverse(s,e,e)}else{const e=g.length-u;s.setSelectionRange(e,e,"backward")}else if(!0===v){const e=Math.max(0,c.indexOf(h),Math.min(p.length,l)-1);C.right(s,e,e)}else{const e=l-1;C.right(s,e,e)}else{const e=l-1;C.right(s,e,e)}else{const t=!0===e.reverseFillMask?f.length:0;s.setSelectionRange(t,t,"forward")}}));const b=!0===e.unmaskedValue?L(g):g;String(e.modelValue)!==b&&n(b,!0)}function S(e,t,n){const i=A(L(e.value));t=Math.max(0,c.indexOf(h),Math.min(i.length,t)),e.setSelectionRange(t,n,"forward")}(0,i.YP)((()=>e.type+e.autogrow),w),(0,i.YP)((()=>e.mask),(n=>{if(void 0!==n)k(m.value,!0);else{const n=L(m.value);w(),e.modelValue!==n&&t("update:modelValue",n)}})),(0,i.YP)((()=>e.fillMask+e.reverseFillMask),(()=>{!0===v.value&&k(m.value,!0)})),(0,i.YP)((()=>e.unmaskedValue),(()=>{!0===v.value&&k(m.value)}));const C={left(e,t,n,i){const o=-1===c.slice(t-1).indexOf(h);let r=Math.max(0,t-1);for(;r>=0;r--)if(c[r]===h){t=r,!0===o&&t++;break}if(r<0&&void 0!==c[t]&&c[t]!==h)return C.right(e,0,0);t>=0&&e.setSelectionRange(t,!0===i?n:t,"backward")},right(e,t,n,i){const o=e.value.length;let r=Math.min(o,n+1);for(;r<=o;r++){if(c[r]===h){n=r;break}c[r-1]===h&&(n=r)}if(r>o&&void 0!==c[n-1]&&c[n-1]!==h)return C.left(e,o,o);e.setSelectionRange(i?t:n,n,"forward")},leftReverse(e,t,n,i){const o=y(e.value.length);let r=Math.max(0,t-1);for(;r>=0;r--){if(o[r-1]===h){t=r;break}if(o[r]===h&&(t=r,0===r))break}if(r<0&&void 0!==o[t]&&o[t]!==h)return C.rightReverse(e,0,0);t>=0&&e.setSelectionRange(t,!0===i?n:t,"backward")},rightReverse(e,t,n,i){const o=e.value.length,r=y(o),a=-1===r.slice(0,n+1).indexOf(h);let s=Math.min(o,n+1);for(;s<=o;s++)if(r[s-1]===h){n=s,n>0&&!0===a&&n--;break}if(s>o&&void 0!==r[n-1]&&r[n-1]!==h)return C.leftReverse(e,o,o);e.setSelectionRange(!0===i?t:n,n,"forward")}};function _(n){if(t("keydown",n),!0===(0,a.Wm)(n))return;const i=r.value,o=i.selectionStart,s=i.selectionEnd;if(37===n.keyCode||39===n.keyCode){const t=C[(39===n.keyCode?"right":"left")+(!0===e.reverseFillMask?"Reverse":"")];n.preventDefault(),t(i,o,s,n.shiftKey)}else 8===n.keyCode&&!0!==e.reverseFillMask&&o===s?C.left(i,o,s,!0):46===n.keyCode&&!0===e.reverseFillMask&&o===s&&C.rightReverse(i,o,s,!0)}function A(t){if(void 0===t||null===t||""===t)return"";if(!0===e.reverseFillMask)return P(t);const n=p;let i=0,o="";for(let e=0;e=0&&i>-1;r--){const a=t[r];let s=e[i];if("string"===typeof a)o=a+o,s===a&&i--;else{if(void 0===s||!a.regex.test(s))return o;do{o=(void 0!==a.transform?a.transform(s):s)+o,i--,s=e[i]}while(n===r&&void 0!==s&&a.regex.test(s))}}return o}function L(e){return"string"!==typeof e||void 0===g?"number"===typeof e?g(""+e):e:g(e)}function j(t){return f.length-t.length<=0?t:!0===e.reverseFillMask&&t.length>0?f.slice(0,-t.length)+t:t+f.slice(t.length)}return{innerValue:m,hasMask:v,moveCursorForPaste:S,updateMaskValue:k,onMaskedKeydown:_}}var g=n(9256);function v(e,t){function n(){const t=e.modelValue;try{const e="DataTransfer"in window?new DataTransfer:"ClipboardEvent"in window?new ClipboardEvent("").clipboardData:void 0;return Object(t)===t&&("length"in t?Array.from(t):[t]).forEach((t=>{e.items.add(t)})),{files:e.files}}catch(n){return{files:void 0}}}return!0===t?(0,o.Fl)((()=>{if("file"===e.type)return n()})):(0,o.Fl)(n)}var m=n(2802),b=n(5987),x=n(1384),y=n(7026),w=n(3251);const k=(0,b.L)({name:"QInput",inheritAttrs:!1,props:{...r.Cl,...f,...g.Fz,modelValue:{required:!1},shadowText:String,type:{type:String,default:"text"},debounce:[String,Number],autogrow:Boolean,inputClass:[Array,String,Object],inputStyle:[Array,String,Object]},emits:[...r.HJ,"paste","change","keydown","animationend"],setup(e,{emit:t,attrs:n}){const{proxy:a}=(0,i.FN)(),{$q:s}=a,l={};let c,u,d,h,f=NaN;const b=(0,o.iH)(null),k=(0,g.Do)(e),{innerValue:S,hasMask:C,moveCursorForPaste:_,updateMaskValue:A,onMaskedKeydown:P}=p(e,t,D,b),L=v(e,!0),j=(0,o.Fl)((()=>(0,r.yV)(S.value))),T=(0,m.Z)(N),F=(0,r.tL)(),E=(0,o.Fl)((()=>"textarea"===e.type||!0===e.autogrow)),O=(0,o.Fl)((()=>!0===E.value||["text","search","url","tel","password"].includes(e.type))),M=(0,o.Fl)((()=>{const t={...F.splitAttrs.listeners.value,onInput:N,onPaste:H,onChange:Y,onBlur:X,onFocus:x.sT};return t.onCompositionstart=t.onCompositionupdate=t.onCompositionend=T,!0===C.value&&(t.onKeydown=P),!0===e.autogrow&&(t.onAnimationend=q),t})),R=(0,o.Fl)((()=>{const t={tabindex:0,"data-autofocus":!0===e.autofocus||void 0,rows:"textarea"===e.type?6:void 0,"aria-label":e.label,name:k.value,...F.splitAttrs.attributes.value,id:F.targetUid.value,maxlength:e.maxlength,disabled:!0===e.disable,readonly:!0===e.readonly};return!1===E.value&&(t.type=e.type),!0===e.autogrow&&(t.rows=1),t}));function I(){(0,y.jd)((()=>{const e=document.activeElement;null===b.value||b.value===e||null!==e&&e.id===F.targetUid.value||b.value.focus({preventScroll:!0})}))}function z(){null!==b.value&&b.value.select()}function H(n){if(!0===C.value&&!0!==e.reverseFillMask){const e=n.target;_(e,e.selectionStart,e.selectionEnd)}t("paste",n)}function N(n){if(!n||!n.target)return;if("file"===e.type)return void t("update:modelValue",n.target.files);const o=n.target.value;if(!0!==n.target.qComposing){if(!0===C.value)A(o,!1,n.inputType);else if(D(o),!0===O.value&&n.target===document.activeElement){const{selectionStart:e,selectionEnd:t}=n.target;void 0!==e&&void 0!==t&&(0,i.Y3)((()=>{n.target===document.activeElement&&0===o.indexOf(n.target.value)&&n.target.setSelectionRange(e,t)}))}!0===e.autogrow&&B()}else l.value=o}function q(e){t("animationend",e),B()}function D(n,o){h=()=>{"number"!==e.type&&!0===l.hasOwnProperty("value")&&delete l.value,e.modelValue!==n&&f!==n&&(f=n,!0===o&&(u=!0),t("update:modelValue",n),(0,i.Y3)((()=>{f===n&&(f=NaN)}))),h=void 0},"number"===e.type&&(c=!0,l.value=n),void 0!==e.debounce?(clearTimeout(d),l.value=n,d=setTimeout(h,e.debounce)):h()}function B(){requestAnimationFrame((()=>{const e=b.value;if(null!==e){const t=e.parentNode.style,{overflow:n}=e.style;!0!==s.platform.is.firefox&&(e.style.overflow="hidden"),t.marginBottom=e.scrollHeight-1+"px",e.style.height="1px",e.style.height=e.scrollHeight+"px",e.style.overflow=n,t.marginBottom=""}}))}function Y(e){T(e),clearTimeout(d),void 0!==h&&h(),t("change",e.target.value)}function X(t){void 0!==t&&(0,x.sT)(t),clearTimeout(d),void 0!==h&&h(),c=!1,u=!1,delete l.value,"file"!==e.type&&setTimeout((()=>{null!==b.value&&(b.value.value=void 0!==S.value?S.value:"")}))}function V(){return!0===l.hasOwnProperty("value")?l.value:void 0!==S.value?S.value:""}(0,i.YP)((()=>e.type),(()=>{b.value&&(b.value.value=e.modelValue)})),(0,i.YP)((()=>e.modelValue),(t=>{if(!0===C.value){if(!0===u&&(u=!1,String(t)===f))return;A(t)}else S.value!==t&&(S.value=t,"number"===e.type&&!0===l.hasOwnProperty("value")&&(!0===c?c=!1:delete l.value));!0===e.autogrow&&(0,i.Y3)(B)})),(0,i.YP)((()=>e.autogrow),(e=>{!0===e?(0,i.Y3)(B):null!==b.value&&n.rows>0&&(b.value.style.height="auto")})),(0,i.YP)((()=>e.dense),(()=>{!0===e.autogrow&&(0,i.Y3)(B)})),(0,i.Jd)((()=>{X()})),(0,i.bv)((()=>{!0===e.autogrow&&B()})),Object.assign(F,{innerValue:S,fieldClass:(0,o.Fl)((()=>"q-"+(!0===E.value?"textarea":"input")+(!0===e.autogrow?" q-textarea--autogrow":""))),hasShadow:(0,o.Fl)((()=>"file"!==e.type&&"string"===typeof e.shadowText&&e.shadowText.length>0)),inputRef:b,emitValue:D,hasValue:j,floatingLabel:(0,o.Fl)((()=>!0===j.value||(0,r.yV)(e.displayValue))),getControl:()=>(0,i.h)(!0===E.value?"textarea":"input",{ref:b,class:["q-field__native q-placeholder",e.inputClass],style:e.inputStyle,...R.value,...M.value,..."file"!==e.type?{value:V()}:L.value}),getShadowControl:()=>(0,i.h)("div",{class:"q-field__native q-field__shadow absolute-bottom no-pointer-events"+(!0===E.value?"":" text-no-wrap")},[(0,i.h)("span",{class:"invisible"},V()),(0,i.h)("span",e.shadowText)])});const W=(0,r.ZP)(F);return Object.assign(a,{focus:I,select:z,getNativeElement:()=>b.value}),(0,w.g)(a,"nativeEl",(()=>b.value)),W}})},490:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var i=n(9835),o=n(499),r=n(8234),a=n(945),s=n(5987),l=n(2026),c=n(1384),u=n(1705);const d=(0,s.L)({name:"QItem",props:{...r.S,...a.$,tag:{type:String,default:"div"},active:{type:Boolean,default:null},clickable:Boolean,dense:Boolean,insetLevel:Number,tabindex:[String,Number],focused:Boolean,manualFocus:Boolean},emits:["click","keyup"],setup(e,{slots:t,emit:n}){const{proxy:{$q:s}}=(0,i.FN)(),d=(0,r.Z)(e,s),{hasLink:h,linkAttrs:f,linkClass:p,linkTag:g,navigateOnClick:v}=(0,a.Z)(),m=(0,o.iH)(null),b=(0,o.iH)(null),x=(0,o.Fl)((()=>!0===e.clickable||!0===h.value||"label"===e.tag)),y=(0,o.Fl)((()=>!0!==e.disable&&!0===x.value)),w=(0,o.Fl)((()=>"q-item q-item-type row no-wrap"+(!0===e.dense?" q-item--dense":"")+(!0===d.value?" q-item--dark":"")+(!0===h.value&&null===e.active?p.value:!0===e.active?" q-item--active"+(void 0!==e.activeClass?` ${e.activeClass}`:""):"")+(!0===e.disable?" disabled":"")+(!0===y.value?" q-item--clickable q-link cursor-pointer "+(!0===e.manualFocus?"q-manual-focusable":"q-focusable q-hoverable")+(!0===e.focused?" q-manual-focusable--focused":""):""))),k=(0,o.Fl)((()=>{if(void 0===e.insetLevel)return null;const t=!0===s.lang.rtl?"Right":"Left";return{["padding"+t]:16+56*e.insetLevel+"px"}}));function S(e){!0===y.value&&(null!==b.value&&(!0!==e.qKeyEvent&&document.activeElement===m.value?b.value.focus():document.activeElement===b.value&&m.value.focus()),v(e))}function C(e){if(!0===y.value&&!0===(0,u.So)(e,13)){(0,c.NS)(e),e.qKeyEvent=!0;const t=new MouseEvent("click",e);t.qKeyEvent=!0,m.value.dispatchEvent(t)}n("keyup",e)}function _(){const e=(0,l.Bl)(t.default,[]);return!0===y.value&&e.unshift((0,i.h)("div",{class:"q-focus-helper",tabindex:-1,ref:b})),e}return()=>{const t={ref:m,class:w.value,style:k.value,role:"listitem",onClick:S,onKeyup:C};return!0===y.value?(t.tabindex=e.tabindex||"0",Object.assign(t,f.value)):!0===x.value&&(t["aria-disabled"]="true"),(0,i.h)(g.value,t,_())}}})},3115:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var i=n(499),o=n(9835),r=n(5987),a=n(2026);const s=(0,r.L)({name:"QItemLabel",props:{overline:Boolean,caption:Boolean,header:Boolean,lines:[Number,String]},setup(e,{slots:t}){const n=(0,i.Fl)((()=>parseInt(e.lines,10))),r=(0,i.Fl)((()=>"q-item__label"+(!0===e.overline?" q-item__label--overline text-overline":"")+(!0===e.caption?" q-item__label--caption text-caption":"")+(!0===e.header?" q-item__label--header":"")+(1===n.value?" ellipsis":""))),s=(0,i.Fl)((()=>void 0!==e.lines&&n.value>1?{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":n.value}:null));return()=>(0,o.h)("div",{style:s.value,class:r.value},(0,a.KR)(t.default))}})},1233:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var i=n(499),o=n(9835),r=n(5987),a=n(2026);const s=(0,r.L)({name:"QItemSection",props:{avatar:Boolean,thumbnail:Boolean,side:Boolean,top:Boolean,noWrap:Boolean},setup(e,{slots:t}){const n=(0,i.Fl)((()=>"q-item__section column q-item__section--"+(!0===e.avatar||!0===e.side||!0===e.thumbnail?"side":"main")+(!0===e.top?" q-item__section--top justify-start":" justify-center")+(!0===e.avatar?" q-item__section--avatar":"")+(!0===e.thumbnail?" q-item__section--thumbnail":"")+(!0===e.noWrap?" q-item__section--nowrap":"")));return()=>(0,o.h)("div",{class:n.value},(0,a.KR)(t.default))}})},3246:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var i=n(9835),o=n(499),r=n(5987),a=n(8234),s=n(2026);const l=(0,r.L)({name:"QList",props:{...a.S,bordered:Boolean,dense:Boolean,separator:Boolean,padding:Boolean,tag:{type:String,default:"div"}},setup(e,{slots:t}){const n=(0,i.FN)(),r=(0,a.Z)(e,n.proxy.$q),l=(0,o.Fl)((()=>"q-list"+(!0===e.bordered?" q-list--bordered":"")+(!0===e.dense?" q-list--dense":"")+(!0===e.separator?" q-list--separator":"")+(!0===r.value?" q-list--dark":"")+(!0===e.padding?" q-list--padding":"")));return()=>(0,i.h)(e.tag,{class:l.value},(0,s.KR)(t.default))}})},249:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var i=n(9835),o=n(499),r=n(7506),a=n(1868),s=n(883),l=n(5987),c=n(3701),u=n(2026),d=n(5439);const h=(0,l.L)({name:"QLayout",props:{container:Boolean,view:{type:String,default:"hhh lpr fff",validator:e=>/^(h|l)h(h|r) lpr (f|l)f(f|r)$/.test(e.toLowerCase())},onScroll:Function,onScrollHeight:Function,onResize:Function},setup(e,{slots:t,emit:n}){const{proxy:{$q:l}}=(0,i.FN)(),h=(0,o.iH)(null),f=(0,o.iH)(l.screen.height),p=(0,o.iH)(!0===e.container?0:l.screen.width),g=(0,o.iH)({position:0,direction:"down",inflectionPoint:0}),v=(0,o.iH)(0),m=(0,o.iH)(!0===r.uX.value?0:(0,c.np)()),b=(0,o.Fl)((()=>"q-layout q-layout--"+(!0===e.container?"containerized":"standard"))),x=(0,o.Fl)((()=>!1===e.container?{minHeight:l.screen.height+"px"}:null)),y=(0,o.Fl)((()=>0!==m.value?{[!0===l.lang.rtl?"left":"right"]:`${m.value}px`}:null)),w=(0,o.Fl)((()=>0!==m.value?{[!0===l.lang.rtl?"right":"left"]:0,[!0===l.lang.rtl?"left":"right"]:`-${m.value}px`,width:`calc(100% + ${m.value}px)`}:null));function k(t){if(!0===e.container||!0!==document.qScrollPrevented){const i={position:t.position.top,direction:t.direction,directionChanged:t.directionChanged,inflectionPoint:t.inflectionPoint.top,delta:t.delta.top};g.value=i,void 0!==e.onScroll&&n("scroll",i)}}function S(t){const{height:i,width:o}=t;let r=!1;f.value!==i&&(r=!0,f.value=i,void 0!==e.onScrollHeight&&n("scrollHeight",i),_()),p.value!==o&&(r=!0,p.value=o),!0===r&&void 0!==e.onResize&&n("resize",t)}function C({height:e}){v.value!==e&&(v.value=e,_())}function _(){if(!0===e.container){const e=f.value>v.value?(0,c.np)():0;m.value!==e&&(m.value=e)}}let A;const P={instances:{},view:(0,o.Fl)((()=>e.view)),isContainer:(0,o.Fl)((()=>e.container)),rootRef:h,height:f,containerHeight:v,scrollbarWidth:m,totalWidth:(0,o.Fl)((()=>p.value+m.value)),rows:(0,o.Fl)((()=>{const t=e.view.toLowerCase().split(" ");return{top:t[0].split(""),middle:t[1].split(""),bottom:t[2].split("")}})),header:(0,o.qj)({size:0,offset:0,space:!1}),right:(0,o.qj)({size:300,offset:0,space:!1}),footer:(0,o.qj)({size:0,offset:0,space:!1}),left:(0,o.qj)({size:300,offset:0,space:!1}),scroll:g,animate(){void 0!==A?clearTimeout(A):document.body.classList.add("q-body--layout-animate"),A=setTimeout((()=>{document.body.classList.remove("q-body--layout-animate"),A=void 0}),155)},update(e,t,n){P[e][t]=n}};if((0,i.JJ)(d.YE,P),(0,c.np)()>0){let L=null;const j=document.body;function T(){L=null,j.classList.remove("hide-scrollbar")}function F(){if(null===L){if(j.scrollHeight>l.screen.height)return;j.classList.add("hide-scrollbar")}else clearTimeout(L);L=setTimeout(T,300)}function E(e){null!==L&&"remove"===e&&(clearTimeout(L),T()),window[`${e}EventListener`]("resize",F)}(0,i.YP)((()=>!0!==e.container?"add":"remove"),E),!0!==e.container&&E("add"),(0,i.Ah)((()=>{E("remove")}))}return()=>{const n=(0,u.vs)(t.default,[(0,i.h)(a.Z,{onScroll:k}),(0,i.h)(s.Z,{onResize:S})]),o=(0,i.h)("div",{class:b.value,style:x.value,ref:!0===e.container?void 0:h,tabindex:-1},n);return!0===e.container?(0,i.h)("div",{class:"q-layout-container overflow-hidden",ref:h},[(0,i.h)(s.Z,{onResize:C}),(0,i.h)("div",{class:"absolute-full",style:y.value},[(0,i.h)("div",{class:"scroll",style:w.value},[o])])]):o}}})},5290:(e,t,n)=>{"use strict";n.d(t,{Z:()=>Y});n(702);var i=n(9835),o=n(499),r=n(1957),a=n(2589),s=n(1384),l=n(1705);const c={target:{default:!0},noParentEvent:Boolean,contextMenu:Boolean};function u({showing:e,avoidEmit:t,configureAnchorEl:n}){const{props:r,proxy:c,emit:u}=(0,i.FN)(),d=(0,o.iH)(null);let h;function f(e){return null!==d.value&&(void 0===e||void 0===e.touches||e.touches.length<=1)}const p={};function g(){(0,s.ul)(p,"anchor")}function v(e){d.value=e;while(d.value.classList.contains("q-anchor--skip"))d.value=d.value.parentNode;n()}function m(){if(!1===r.target||""===r.target||null===c.$el.parentNode)d.value=null;else if(!0===r.target)v(c.$el.parentNode);else{let t=r.target;if("string"===typeof r.target)try{t=document.querySelector(r.target)}catch(e){t=void 0}void 0!==t&&null!==t?(d.value=t.$el||t,n()):(d.value=null,console.error(`Anchor: target "${r.target}" not found`))}}return void 0===n&&(Object.assign(p,{hide(e){c.hide(e)},toggle(e){c.toggle(e),e.qAnchorHandled=!0},toggleKey(e){!0===(0,l.So)(e,13)&&p.toggle(e)},contextClick(e){c.hide(e),(0,s.X$)(e),(0,i.Y3)((()=>{c.show(e),e.qAnchorHandled=!0}))},prevent:s.X$,mobileTouch(e){if(p.mobileCleanup(e),!0!==f(e))return;c.hide(e),d.value.classList.add("non-selectable");const t=e.target;(0,s.M0)(p,"anchor",[[t,"touchmove","mobileCleanup","passive"],[t,"touchend","mobileCleanup","passive"],[t,"touchcancel","mobileCleanup","passive"],[d.value,"contextmenu","prevent","notPassive"]]),h=setTimeout((()=>{c.show(e),e.qAnchorHandled=!0}),300)},mobileCleanup(t){d.value.classList.remove("non-selectable"),clearTimeout(h),!0===e.value&&void 0!==t&&(0,a.M)()}}),n=function(e=r.contextMenu){if(!0===r.noParentEvent||null===d.value)return;let t;t=!0===e?!0===c.$q.platform.is.mobile?[[d.value,"touchstart","mobileTouch","passive"]]:[[d.value,"mousedown","hide","passive"],[d.value,"contextmenu","contextClick","notPassive"]]:[[d.value,"click","toggle","passive"],[d.value,"keyup","toggleKey","passive"]],(0,s.M0)(p,"anchor",t)}),(0,i.YP)((()=>r.contextMenu),(e=>{null!==d.value&&(g(),n(e))})),(0,i.YP)((()=>r.target),(()=>{null!==d.value&&g(),m()})),(0,i.YP)((()=>r.noParentEvent),(e=>{null!==d.value&&(!0===e?g():n())})),(0,i.bv)((()=>{m(),!0!==t&&!0===r.modelValue&&null===d.value&&u("update:modelValue",!1)})),(0,i.Jd)((()=>{clearTimeout(h),g()})),{anchorEl:d,canShow:f,anchorEvents:p}}function d(e,t){const n=(0,o.iH)(null);let r;function a(e,t){const n=(void 0!==t?"add":"remove")+"EventListener",i=void 0!==t?t:r;e!==window&&e[n]("scroll",i,s.rU.passive),window[n]("scroll",i,s.rU.passive),r=t}function l(){null!==n.value&&(a(n.value),n.value=null)}const c=(0,i.YP)((()=>e.noParentEvent),(()=>{null!==n.value&&(l(),t())}));return(0,i.Jd)(c),{localScrollTarget:n,unconfigureScrollTarget:l,changeScrollEvent:a}}var h=n(3842),f=n(8234),p=n(1518),g=n(431),v=n(6916),m=n(2695),b=n(5987),x=n(2909),y=n(3701),w=n(2026),k=n(6532),S=n(4173),C=n(223);let _;const{notPassiveCapture:A}=s.rU,P=[];function L(e){clearTimeout(_);const t=e.target;if(void 0===t||8===t.nodeType||!0===t.classList.contains("no-pointer-events"))return;let n=x.Q$.length-1;while(n>=0){const e=x.Q$[n].$;if("QDialog"!==e.type.name)break;if(!0!==e.props.seamless)return;n--}for(let i=P.length-1;i>=0;i--){const n=P[i];if(null!==n.anchorEl.value&&!1!==n.anchorEl.value.contains(t)||t!==document.body&&(null===n.innerRef.value||!1!==n.innerRef.value.contains(t)))return;e.qClickOutside=!0,n.onClickOutside(e)}}function j(e){P.push(e),1===P.length&&(document.addEventListener("mousedown",L,A),document.addEventListener("touchstart",L,A))}function T(e){const t=P.findIndex((t=>t===e));t>-1&&(P.splice(t,1),0===P.length&&(clearTimeout(_),document.removeEventListener("mousedown",L,A),document.removeEventListener("touchstart",L,A)))}var F=n(7026),E=n(7506);let O,M;function R(e){const t=e.split(" ");return 2===t.length&&(!0!==["top","center","bottom"].includes(t[0])?(console.error("Anchor/Self position must start with one of top/center/bottom"),!1):!0===["left","middle","right","start","end"].includes(t[1])||(console.error("Anchor/Self position must end with one of left/middle/right/start/end"),!1))}function I(e){return!e||2===e.length&&("number"===typeof e[0]&&"number"===typeof e[1])}const z={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};function H(e,t){const n=e.split(" ");return{vertical:n[0],horizontal:z[`${n[1]}#${!0===t?"rtl":"ltr"}`]}}function N(e,t){let{top:n,left:i,right:o,bottom:r,width:a,height:s}=e.getBoundingClientRect();return void 0!==t&&(n-=t[1],i-=t[0],r+=t[1],o+=t[0],a+=t[0],s+=t[1]),{top:n,left:i,right:o,bottom:r,width:a,height:s,middle:i+(o-i)/2,center:n+(r-n)/2}}function q(e){return{top:0,center:e.offsetHeight/2,bottom:e.offsetHeight,left:0,middle:e.offsetWidth/2,right:e.offsetWidth}}function D(e){if(!0===E.Lp.is.ios&&void 0!==window.visualViewport){const e=document.body.style,{offsetLeft:t,offsetTop:n}=window.visualViewport;t!==O&&(e.setProperty("--q-pe-left",t+"px"),O=t),n!==M&&(e.setProperty("--q-pe-top",n+"px"),M=n)}let t;const{scrollLeft:n,scrollTop:i}=e.el;if(void 0===e.absoluteOffset)t=N(e.anchorEl,!0===e.cover?[0,0]:e.offset);else{const{top:n,left:i}=e.anchorEl.getBoundingClientRect(),o=n+e.absoluteOffset.top,r=i+e.absoluteOffset.left;t={top:o,left:r,width:1,height:1,right:r+1,center:o,middle:r,bottom:o+1}}let o={maxHeight:e.maxHeight,maxWidth:e.maxWidth,visibility:"visible"};!0!==e.fit&&!0!==e.cover||(o.minWidth=t.width+"px",!0===e.cover&&(o.minHeight=t.height+"px")),Object.assign(e.el.style,o);const r=q(e.el),a={top:t[e.anchorOrigin.vertical]-r[e.selfOrigin.vertical],left:t[e.anchorOrigin.horizontal]-r[e.selfOrigin.horizontal]};B(a,t,r,e.anchorOrigin,e.selfOrigin),o={top:a.top+"px",left:a.left+"px"},void 0!==a.maxHeight&&(o.maxHeight=a.maxHeight+"px",t.height>a.maxHeight&&(o.minHeight=o.maxHeight)),void 0!==a.maxWidth&&(o.maxWidth=a.maxWidth+"px",t.width>a.maxWidth&&(o.minWidth=o.maxWidth)),Object.assign(e.el.style,o),e.el.scrollTop!==i&&(e.el.scrollTop=i),e.el.scrollLeft!==n&&(e.el.scrollLeft=n)}function B(e,t,n,i,o){const r=n.bottom,a=n.right,s=(0,y.np)(),l=window.innerHeight-s,c=document.body.clientWidth;if(e.top<0||e.top+r>l)if("center"===o.vertical)e.top=t[i.vertical]>l/2?Math.max(0,l-r):0,e.maxHeight=Math.min(r,l);else if(t[i.vertical]>l/2){const n=Math.min(l,"center"===i.vertical?t.center:i.vertical===o.vertical?t.bottom:t.top);e.maxHeight=Math.min(r,n),e.top=Math.max(0,n-r)}else e.top=Math.max(0,"center"===i.vertical?t.center:i.vertical===o.vertical?t.top:t.bottom),e.maxHeight=Math.min(r,l-e.top);if(e.left<0||e.left+a>c)if(e.maxWidth=Math.min(a,c),"middle"===o.horizontal)e.left=t[i.horizontal]>c/2?Math.max(0,c-a):0;else if(t[i.horizontal]>c/2){const n=Math.min(c,"middle"===i.horizontal?t.middle:i.horizontal===o.horizontal?t.right:t.left);e.maxWidth=Math.min(a,n),e.left=Math.max(0,n-e.maxWidth)}else e.left=Math.max(0,"middle"===i.horizontal?t.middle:i.horizontal===o.horizontal?t.left:t.right),e.maxWidth=Math.min(a,c-e.left)}["left","middle","right"].forEach((e=>{z[`${e}#ltr`]=e,z[`${e}#rtl`]=e}));const Y=(0,b.L)({name:"QMenu",inheritAttrs:!1,props:{...c,...h.vr,...f.S,...g.D,persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:R},self:{type:String,validator:R},offset:{type:Array,validator:I},scrollTarget:{default:void 0},touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[...h.gH,"click","escapeKey"],setup(e,{slots:t,emit:n,attrs:a}){let l,c,b,_=null;const A=(0,i.FN)(),{proxy:P}=A,{$q:L}=P,E=(0,o.iH)(null),O=(0,o.iH)(!1),M=(0,o.Fl)((()=>!0!==e.persistent&&!0!==e.noRouteDismiss)),R=(0,f.Z)(e,L),{registerTick:I,removeTick:z}=(0,v.Z)(),{registerTimeout:N}=(0,m.Z)(),{transitionProps:q,transitionStyle:B}=(0,g.Z)(e),{localScrollTarget:Y,changeScrollEvent:X,unconfigureScrollTarget:V}=d(e,le),{anchorEl:W,canShow:$}=u({showing:O}),{hide:U}=(0,h.ZP)({showing:O,canShow:$,handleShow:re,handleHide:ae,hideOnRouteChange:M,processOnMount:!0}),{showPortal:Z,hidePortal:G,renderPortal:K}=(0,p.Z)(A,E,fe),J={anchorEl:W,innerRef:E,onClickOutside(t){if(!0!==e.persistent&&!0===O.value)return U(t),("touchstart"===t.type||t.target.classList.contains("q-dialog__backdrop"))&&(0,s.NS)(t),!0}},Q=(0,o.Fl)((()=>H(e.anchor||(!0===e.cover?"center middle":"bottom start"),L.lang.rtl))),ee=(0,o.Fl)((()=>!0===e.cover?Q.value:H(e.self||"top start",L.lang.rtl))),te=(0,o.Fl)((()=>(!0===e.square?" q-menu--square":"")+(!0===R.value?" q-menu--dark q-dark":""))),ne=(0,o.Fl)((()=>!0===e.autoClose?{onClick:ce}:{})),ie=(0,o.Fl)((()=>!0===O.value&&!0!==e.persistent));function oe(){(0,F.jd)((()=>{let e=E.value;e&&!0!==e.contains(document.activeElement)&&(e=e.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||e.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||e.querySelector("[autofocus], [data-autofocus]")||e,e.focus({preventScroll:!0}))}))}function re(t){if(_=!1===e.noRefocus?document.activeElement:null,(0,S.i)(ue),Z(),le(),l=void 0,void 0!==t&&(e.touchPosition||e.contextMenu)){const e=(0,s.FK)(t);if(void 0!==e.left){const{top:t,left:n}=W.value.getBoundingClientRect();l={left:e.left-n,top:e.top-t}}}void 0===c&&(c=(0,i.YP)((()=>L.screen.width+"|"+L.screen.height+"|"+e.self+"|"+e.anchor+"|"+L.lang.rtl),he)),!0!==e.noFocus&&document.activeElement.blur(),I((()=>{he(),!0!==e.noFocus&&oe()})),N((()=>{!0===L.platform.is.ios&&(b=e.autoClose,E.value.click()),he(),Z(!0),n("show",t)}),e.transitionDuration)}function ae(t){z(),G(),se(!0),null===_||void 0!==t&&!0===t.qClickOutside||(((t&&0===t.type.indexOf("key")?_.closest('[tabindex]:not([tabindex^="-"])'):void 0)||_).focus(),_=null),N((()=>{G(!0),n("hide",t)}),e.transitionDuration)}function se(e){l=void 0,void 0!==c&&(c(),c=void 0),!0!==e&&!0!==O.value||((0,S.H)(ue),V(),T(J),(0,k.k)(de)),!0!==e&&(_=null)}function le(){null===W.value&&void 0===e.scrollTarget||(Y.value=(0,y.b0)(W.value,e.scrollTarget),X(Y.value,he))}function ce(e){!0!==b?((0,x.AH)(P,e),n("click",e)):b=!1}function ue(t){!0===ie.value&&!0!==e.noFocus&&!0!==(0,C.mY)(E.value,t.target)&&oe()}function de(e){n("escapeKey"),U(e)}function he(){const t=E.value;null!==t&&null!==W.value&&D({el:t,offset:e.offset,anchorEl:W.value,anchorOrigin:Q.value,selfOrigin:ee.value,absoluteOffset:l,fit:e.fit,cover:e.cover,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function fe(){return(0,i.h)(r.uT,q.value,(()=>!0===O.value?(0,i.h)("div",{role:"menu",...a,ref:E,tabindex:-1,class:["q-menu q-position-engine scroll"+te.value,a.class],style:[a.style,B.value],...ne.value},(0,w.KR)(t.default)):null))}return(0,i.YP)(ie,(e=>{!0===e?((0,k.c)(de),j(J)):((0,k.k)(de),T(J))})),(0,i.Jd)(se),Object.assign(P,{focus:oe,updatePosition:he}),K}})},5429:(e,t,n)=>{"use strict";n.d(t,{Z:()=>w});var i=n(9835),o=n(499),r=n(2857),a=n(8234),s=n(244),l=n(5917),c=n(9256),u=n(5987),d=n(9480),h=n(1384),f=n(2026);const p=(0,i.h)("svg",{key:"svg",class:"q-radio__bg absolute non-selectable",viewBox:"0 0 24 24"},[(0,i.h)("path",{d:"M12,22a10,10 0 0 1 -10,-10a10,10 0 0 1 10,-10a10,10 0 0 1 10,10a10,10 0 0 1 -10,10m0,-22a12,12 0 0 0 -12,12a12,12 0 0 0 12,12a12,12 0 0 0 12,-12a12,12 0 0 0 -12,-12"}),(0,i.h)("path",{class:"q-radio__check",d:"M12,6a6,6 0 0 0 -6,6a6,6 0 0 0 6,6a6,6 0 0 0 6,-6a6,6 0 0 0 -6,-6"})]),g=(0,u.L)({name:"QRadio",props:{...a.S,...s.LU,...c.Fz,modelValue:{required:!0},val:{required:!0},label:String,leftLabel:Boolean,checkedIcon:String,uncheckedIcon:String,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},emits:["update:modelValue"],setup(e,{slots:t,emit:n}){const{proxy:u}=(0,i.FN)(),g=(0,a.Z)(e,u.$q),v=(0,s.ZP)(e,d.Z),m=(0,o.iH)(null),{refocusTargetEl:b,refocusTarget:x}=(0,l.Z)(e,m),y=(0,o.Fl)((()=>(0,o.IU)(e.modelValue)===(0,o.IU)(e.val))),w=(0,o.Fl)((()=>"q-radio cursor-pointer no-outline row inline no-wrap items-center"+(!0===e.disable?" disabled":"")+(!0===g.value?" q-radio--dark":"")+(!0===e.dense?" q-radio--dense":"")+(!0===e.leftLabel?" reverse":""))),k=(0,o.Fl)((()=>{const t=void 0===e.color||!0!==e.keepColor&&!0!==y.value?"":` text-${e.color}`;return`q-radio__inner relative-position q-radio__inner--${!0===y.value?"truthy":"falsy"}${t}`})),S=(0,o.Fl)((()=>(!0===y.value?e.checkedIcon:e.uncheckedIcon)||null)),C=(0,o.Fl)((()=>!0===e.disable?-1:e.tabindex||0)),_=(0,o.Fl)((()=>{const t={type:"radio"};return void 0!==e.name&&Object.assign(t,{"^checked":!0===y.value?"checked":void 0,name:e.name,value:e.val}),t})),A=(0,c.eX)(_);function P(t){void 0!==t&&((0,h.NS)(t),x(t)),!0!==e.disable&&!0!==y.value&&n("update:modelValue",e.val,t)}function L(e){13!==e.keyCode&&32!==e.keyCode||(0,h.NS)(e)}function j(e){13!==e.keyCode&&32!==e.keyCode||P(e)}return Object.assign(u,{set:P}),()=>{const n=null!==S.value?[(0,i.h)("div",{key:"icon",class:"q-radio__icon-container absolute-full flex flex-center no-wrap"},[(0,i.h)(r.Z,{class:"q-radio__icon",name:S.value})])]:[p];!0!==e.disable&&A(n,"unshift"," q-radio__native q-ma-none q-pa-none");const o=[(0,i.h)("div",{class:k.value,style:v.value,"aria-hidden":"true"},n)];null!==b.value&&o.push(b.value);const a=void 0!==e.label?(0,f.vs)(t.default,[e.label]):(0,f.KR)(t.default);return void 0!==a&&o.push((0,i.h)("div",{class:"q-radio__label q-anchor--skip"},a)),(0,i.h)("div",{ref:m,class:w.value,tabindex:C.value,role:"radio","aria-label":e.label,"aria-checked":!0===y.value?"true":"false","aria-disabled":!0===e.disable?"true":void 0,onClick:P,onKeydown:L,onKeyup:j},o)}}});var v=n(1221),m=n(1926);const b=(0,u.L)({name:"QToggle",props:{...m.Fz,icon:String,iconColor:String},emits:m.ZB,setup(e){function t(t,n){const a=(0,o.Fl)((()=>(!0===t.value?e.checkedIcon:!0===n.value?e.indeterminateIcon:e.uncheckedIcon)||e.icon)),s=(0,o.Fl)((()=>!0===t.value?e.iconColor:null));return()=>[(0,i.h)("div",{class:"q-toggle__track"}),(0,i.h)("div",{class:"q-toggle__thumb absolute flex flex-center no-wrap"},void 0!==a.value?[(0,i.h)(r.Z,{name:a.value,color:s.value})]:void 0)]}return(0,m.ZP)("toggle",t)}}),x={radio:g,checkbox:v.Z,toggle:b},y=Object.keys(x),w=(0,u.L)({name:"QOptionGroup",props:{...a.S,modelValue:{required:!0},options:{type:Array,validator:e=>e.every((e=>"value"in e&&"label"in e))},name:String,type:{default:"radio",validator:e=>y.includes(e)},color:String,keepColor:Boolean,dense:Boolean,size:String,leftLabel:Boolean,inline:Boolean,disable:Boolean},emits:["update:modelValue"],setup(e,{emit:t,slots:n}){const{proxy:{$q:r}}=(0,i.FN)(),s=Array.isArray(e.modelValue);"radio"===e.type?!0===s&&console.error("q-option-group: model should not be array"):!1===s&&console.error("q-option-group: model should be array in your case");const l=(0,a.Z)(e,r),c=(0,o.Fl)((()=>x[e.type])),u=(0,o.Fl)((()=>"q-option-group q-gutter-x-sm"+(!0===e.inline?" q-option-group--inline":""))),d=(0,o.Fl)((()=>{const t={role:"group"};return"radio"===e.type&&(t.role="radiogroup",!0===e.disable&&(t["aria-disabled"]="true")),t}));function h(e){t("update:modelValue",e)}return()=>(0,i.h)("div",{class:u.value,...d.value},e.options.map(((t,o)=>{const r=void 0!==n["label-"+o]?()=>n["label-"+o](t):void 0!==n.label?()=>n.label(t):void 0;return(0,i.h)("div",[(0,i.h)(c.value,{modelValue:e.modelValue,val:t.value,name:void 0===t.name?e.name:t.name,disable:e.disable||t.disable,label:void 0===r?t.label:null,leftLabel:void 0===t.leftLabel?e.leftLabel:t.leftLabel,color:void 0===t.color?e.color:t.color,checkedIcon:t.checkedIcon,uncheckedIcon:t.uncheckedIcon,dark:t.dark||l.value,size:void 0===t.size?e.size:t.size,dense:e.dense,keepColor:void 0===t.keepColor?e.keepColor:t.keepColor,"onUpdate:modelValue":h},r)])})))}})},1237:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var i=n(9835),o=n(499),r=n(1957),a=n(7532),s=n(3701),l=n(5987);const c=(0,l.L)({name:"QPageScroller",props:{...a.M,scrollOffset:{type:Number,default:1e3},reverse:Boolean,duration:{type:Number,default:300},offset:{default:()=>[18,18]}},emits:["click"],setup(e,{slots:t,emit:n}){const{proxy:{$q:l}}=(0,i.FN)(),{$layout:c,getStickyContent:u}=(0,a.Z)(),d=(0,o.iH)(null);let h;const f=(0,o.Fl)((()=>c.height.value-(!0===c.isContainer.value?c.containerHeight.value:l.screen.height)));function p(){return!0===e.reverse?f.value-c.scroll.value.position>e.scrollOffset:c.scroll.value.position>e.scrollOffset}const g=(0,o.iH)(p());function v(){const e=p();g.value!==e&&(g.value=e)}function m(){!0===e.reverse?void 0===h&&(h=(0,i.YP)(f,v)):b()}function b(){void 0!==h&&(h(),h=void 0)}function x(t){const i=(0,s.b0)(!0===c.isContainer.value?d.value:c.rootRef.value);(0,s.f3)(i,!0===e.reverse?c.height.value:0,e.duration),n("click",t)}function y(){return!0===g.value?(0,i.h)("div",{ref:d,class:"q-page-scroller",onClick:x},u(t)):null}return(0,i.YP)(c.scroll,v),(0,i.YP)((()=>e.reverse),m),m(),(0,i.Jd)(b),()=>(0,i.h)(r.uT,{name:"q-transition--fade"},y)}})},3388:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(5987),o=n(7532);const r=(0,i.L)({name:"QPageSticky",props:o.M,setup(e,{slots:t}){const{getStickyContent:n}=(0,o.Z)();return()=>n(t)}})},7532:(e,t,n)=>{"use strict";n.d(t,{M:()=>s,Z:()=>l});var i=n(9835),o=n(499),r=n(2026),a=n(5439);const s={position:{type:String,default:"bottom-right",validator:e=>["top-right","top-left","bottom-right","bottom-left","top","right","bottom","left"].includes(e)},offset:{type:Array,validator:e=>2===e.length},expand:Boolean};function l(){const{props:e,proxy:{$q:t}}=(0,i.FN)(),n=(0,i.f3)(a.YE,a.qO);if(n===a.qO)return console.error("QPageSticky needs to be child of QLayout"),a.qO;const s=(0,o.Fl)((()=>{const t=e.position;return{top:t.indexOf("top")>-1,right:t.indexOf("right")>-1,bottom:t.indexOf("bottom")>-1,left:t.indexOf("left")>-1,vertical:"top"===t||"bottom"===t,horizontal:"left"===t||"right"===t}})),l=(0,o.Fl)((()=>n.header.offset)),c=(0,o.Fl)((()=>n.right.offset)),u=(0,o.Fl)((()=>n.footer.offset)),d=(0,o.Fl)((()=>n.left.offset)),h=(0,o.Fl)((()=>{let n=0,i=0;const o=s.value,r=!0===t.lang.rtl?-1:1;!0===o.top&&0!==l.value?i=`${l.value}px`:!0===o.bottom&&0!==u.value&&(i=-u.value+"px"),!0===o.left&&0!==d.value?n=r*d.value+"px":!0===o.right&&0!==c.value&&(n=-r*c.value+"px");const a={transform:`translate(${n}, ${i})`};return e.offset&&(a.margin=`${e.offset[1]}px ${e.offset[0]}px`),!0===o.vertical?(0!==d.value&&(a[!0===t.lang.rtl?"right":"left"]=`${d.value}px`),0!==c.value&&(a[!0===t.lang.rtl?"left":"right"]=`${c.value}px`)):!0===o.horizontal&&(0!==l.value&&(a.top=`${l.value}px`),0!==u.value&&(a.bottom=`${u.value}px`)),a})),f=(0,o.Fl)((()=>`q-page-sticky row flex-center fixed-${e.position} q-page-sticky--`+(!0===e.expand?"expand":"shrink")));function p(t){const n=(0,r.KR)(t.default);return(0,i.h)("div",{class:f.value,style:h.value},!0===e.expand?n:[(0,i.h)("div",n)])}return{$layout:n,getStickyContent:p}}},9885:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var i=n(9835),o=n(499),r=n(5987),a=n(2026),s=n(5439);const l=(0,r.L)({name:"QPage",props:{padding:Boolean,styleFn:Function},setup(e,{slots:t}){const{proxy:{$q:n}}=(0,i.FN)(),r=(0,i.f3)(s.YE,s.qO);if(r===s.qO)return console.error("QPage needs to be a deep child of QLayout"),s.qO;const l=(0,i.f3)(s.Mw,s.qO);if(l===s.qO)return console.error("QPage needs to be child of QPageContainer"),s.qO;const c=(0,o.Fl)((()=>{const t=(!0===r.header.space?r.header.size:0)+(!0===r.footer.space?r.footer.size:0);if("function"===typeof e.styleFn){const i=!0===r.isContainer.value?r.containerHeight.value:n.screen.height;return e.styleFn(t,i)}return{minHeight:!0===r.isContainer.value?r.containerHeight.value-t+"px":0===n.screen.height?0!==t?`calc(100vh - ${t}px)`:"100vh":n.screen.height-t+"px"}})),u=(0,o.Fl)((()=>"q-page"+(!0===e.padding?" q-layout-padding":"")));return()=>(0,i.h)("main",{class:u.value,style:c.value},(0,a.KR)(t.default))}})},2133:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var i=n(9835),o=n(499),r=n(5987),a=n(2026),s=n(5439);const l=(0,r.L)({name:"QPageContainer",setup(e,{slots:t}){const{proxy:{$q:n}}=(0,i.FN)(),r=(0,i.f3)(s.YE,s.qO);if(r===s.qO)return console.error("QPageContainer needs to be child of QLayout"),s.qO;(0,i.JJ)(s.Mw,!0);const l=(0,o.Fl)((()=>{const e={};return!0===r.header.space&&(e.paddingTop=`${r.header.size}px`),!0===r.right.space&&(e["padding"+(!0===n.lang.rtl?"Left":"Right")]=`${r.right.size}px`),!0===r.footer.space&&(e.paddingBottom=`${r.footer.size}px`),!0===r.left.space&&(e["padding"+(!0===n.lang.rtl?"Right":"Left")]=`${r.left.size}px`),e}));return()=>(0,i.h)("div",{class:"q-page-container",style:l.value},(0,a.KR)(t.default))}})},5863:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var i=n(9835),o=n(499),r=n(5290),a=n(8879),s=n(5987);n(702);function l(e,t=new WeakMap){if(Object(e)!==e)return e;if(t.has(e))return t.get(e);const n=e instanceof Date?new Date(e):e instanceof RegExp?new RegExp(e.source,e.flags):e instanceof Set?new Set:e instanceof Map?new Map:"function"!==typeof e.constructor?Object.create(null):void 0!==e.prototype&&"function"===typeof e.prototype.constructor?e:new e.constructor;if("function"===typeof e.constructor&&"function"===typeof e.valueOf){const n=e.valueOf();if(Object(n)!==n){const i=new e.constructor(n);return t.set(e,i),i}}return t.set(e,n),e instanceof Set?e.forEach((e=>{n.add(l(e,t))})):e instanceof Map&&e.forEach(((e,i)=>{n.set(i,l(e,t))})),Object.assign(n,...Object.keys(e).map((n=>({[n]:l(e[n],t)}))))}var c=n(4680),u=n(3251);const d=(0,s.L)({name:"QPopupEdit",props:{modelValue:{required:!0},title:String,buttons:Boolean,labelSet:String,labelCancel:String,color:{type:String,default:"primary"},validate:{type:Function,default:()=>!0},autoSave:Boolean,cover:{type:Boolean,default:!0},disable:Boolean},emits:["update:modelValue","save","cancel","beforeShow","show","beforeHide","hide"],setup(e,{slots:t,emit:n}){const{proxy:s}=(0,i.FN)(),{$q:d}=s,h=(0,o.iH)(null),f=(0,o.iH)(""),p=(0,o.iH)("");let g=!1;const v=(0,o.Fl)((()=>(0,u.g)({initialValue:f.value,validate:e.validate,set:m,cancel:b,updatePosition:x},"value",(()=>p.value),(e=>{p.value=e}))));function m(){!1!==e.validate(p.value)&&(!0===y()&&(n("save",p.value,f.value),n("update:modelValue",p.value)),w())}function b(){!0===y()&&n("cancel",p.value,f.value),w()}function x(){(0,i.Y3)((()=>{h.value.updatePosition()}))}function y(){return!1===(0,c.xb)(p.value,f.value)}function w(){g=!0,h.value.hide()}function k(){g=!1,f.value=l(e.modelValue),p.value=l(e.modelValue),n("beforeShow")}function S(){n("show")}function C(){!1===g&&!0===y()&&(!0===e.autoSave&&!0===e.validate(p.value)?(n("save",p.value,f.value),n("update:modelValue",p.value)):n("cancel",p.value,f.value)),n("beforeHide")}function _(){n("hide")}function A(){const n=void 0!==t.default?[].concat(t.default(v.value)):[];return e.title&&n.unshift((0,i.h)("div",{class:"q-dialog__title q-mt-sm q-mb-sm"},e.title)),!0===e.buttons&&n.push((0,i.h)("div",{class:"q-popup-edit__buttons row justify-center no-wrap"},[(0,i.h)(a.Z,{flat:!0,color:e.color,label:e.labelCancel||d.lang.label.cancel,onClick:b}),(0,i.h)(a.Z,{flat:!0,color:e.color,label:e.labelSet||d.lang.label.set,onClick:m})])),n}return Object.assign(s,{set:m,cancel:b,show(e){null!==h.value&&h.value.show(e)},hide(e){null!==h.value&&h.value.hide(e)},updatePosition:x}),()=>{if(!0!==e.disable)return(0,i.h)(r.Z,{ref:h,class:"q-popup-edit",cover:e.cover,onBeforeShow:k,onShow:S,onBeforeHide:C,onHide:_,onEscapeKey:b},A)}}})},883:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var i=n(9835),o=n(499),r=n(7506);function a(){const e=(0,o.iH)(!r.uX.value);return!1===e.value&&(0,i.bv)((()=>{e.value=!0})),e}var s=n(5987),l=n(1384);const c="undefined"!==typeof ResizeObserver,u=!0===c?{}:{style:"display:block;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;",url:"about:blank"},d=(0,s.L)({name:"QResizeObserver",props:{debounce:{type:[String,Number],default:100}},emits:["resize"],setup(e,{emit:t}){let n,o=null,r={width:-1,height:-1};function s(t){!0===t||0===e.debounce||"0"===e.debounce?d():null===o&&(o=setTimeout(d,e.debounce))}function d(){if(clearTimeout(o),o=null,n){const{offsetWidth:e,offsetHeight:i}=n;e===r.width&&i===r.height||(r={width:e,height:i},t("resize",r))}}const{proxy:h}=(0,i.FN)();if(!0===c){let f;const p=e=>{n=h.$el.parentNode,n?(f=new ResizeObserver(s),f.observe(n),d()):!0!==e&&(0,i.Y3)((()=>{p(!0)}))};return(0,i.bv)((()=>{p()})),(0,i.Jd)((()=>{clearTimeout(o),void 0!==f&&(void 0!==f.disconnect?f.disconnect():n&&f.unobserve(n))})),l.ZT}{const g=a();let v;function m(){clearTimeout(o),void 0!==v&&(void 0!==v.removeEventListener&&v.removeEventListener("resize",s,l.rU.passive),v=void 0)}function b(){m(),n&&n.contentDocument&&(v=n.contentDocument.defaultView,v.addEventListener("resize",s,l.rU.passive),d())}return(0,i.bv)((()=>{(0,i.Y3)((()=>{n=h.$el,n&&b()}))})),(0,i.Jd)(m),h.trigger=s,()=>{if(!0===g.value)return(0,i.h)("object",{style:u.style,tabindex:-1,type:"text/html",data:u.url,"aria-hidden":"true",onLoad:b})}}}})},6663:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var i=n(499),o=n(9835),r=n(8234),a=n(883),s=n(1868),l=n(2873),c=n(5987),u=n(321),d=n(3701),h=n(2026),f=n(899);const p=["vertical","horizontal"],g={vertical:{offset:"offsetY",scroll:"scrollTop",dir:"down",dist:"y"},horizontal:{offset:"offsetX",scroll:"scrollLeft",dir:"right",dist:"x"}},v={prevent:!0,mouse:!0,mouseAllDir:!0},m=e=>e>=250?50:Math.ceil(e/5),b=(0,c.L)({name:"QScrollArea",props:{...r.S,thumbStyle:Object,verticalThumbStyle:Object,horizontalThumbStyle:Object,barStyle:[Array,String,Object],verticalBarStyle:[Array,String,Object],horizontalBarStyle:[Array,String,Object],contentStyle:[Array,String,Object],contentActiveStyle:[Array,String,Object],delay:{type:[String,Number],default:1e3},visible:{type:Boolean,default:null},tabindex:[String,Number],onScroll:Function},setup(e,{slots:t,emit:n}){const c=(0,i.iH)(!1),b=(0,i.iH)(!1),x=(0,i.iH)(!1),y={vertical:(0,i.iH)(0),horizontal:(0,i.iH)(0)},w={vertical:{ref:(0,i.iH)(null),position:(0,i.iH)(0),size:(0,i.iH)(0)},horizontal:{ref:(0,i.iH)(null),position:(0,i.iH)(0),size:(0,i.iH)(0)}},{proxy:k}=(0,o.FN)(),S=(0,r.Z)(e,k.$q);let C,_;const A=(0,i.iH)(null),P=(0,i.Fl)((()=>"q-scrollarea"+(!0===S.value?" q-scrollarea--dark":"")));w.vertical.percentage=(0,i.Fl)((()=>{const e=w.vertical.size.value-y.vertical.value;if(e<=0)return 0;const t=(0,u.vX)(w.vertical.position.value/e,0,1);return Math.round(1e4*t)/1e4})),w.vertical.thumbHidden=(0,i.Fl)((()=>!0!==(null===e.visible?x.value:e.visible)&&!1===c.value&&!1===b.value||w.vertical.size.value<=y.vertical.value+1)),w.vertical.thumbStart=(0,i.Fl)((()=>w.vertical.percentage.value*(y.vertical.value-w.vertical.thumbSize.value))),w.vertical.thumbSize=(0,i.Fl)((()=>Math.round((0,u.vX)(y.vertical.value*y.vertical.value/w.vertical.size.value,m(y.vertical.value),y.vertical.value)))),w.vertical.style=(0,i.Fl)((()=>({...e.thumbStyle,...e.verticalThumbStyle,top:`${w.vertical.thumbStart.value}px`,height:`${w.vertical.thumbSize.value}px`}))),w.vertical.thumbClass=(0,i.Fl)((()=>"q-scrollarea__thumb q-scrollarea__thumb--v absolute-right"+(!0===w.vertical.thumbHidden.value?" q-scrollarea__thumb--invisible":""))),w.vertical.barClass=(0,i.Fl)((()=>"q-scrollarea__bar q-scrollarea__bar--v absolute-right"+(!0===w.vertical.thumbHidden.value?" q-scrollarea__bar--invisible":""))),w.horizontal.percentage=(0,i.Fl)((()=>{const e=w.horizontal.size.value-y.horizontal.value;if(e<=0)return 0;const t=(0,u.vX)(Math.abs(w.horizontal.position.value)/e,0,1);return Math.round(1e4*t)/1e4})),w.horizontal.thumbHidden=(0,i.Fl)((()=>!0!==(null===e.visible?x.value:e.visible)&&!1===c.value&&!1===b.value||w.horizontal.size.value<=y.horizontal.value+1)),w.horizontal.thumbStart=(0,i.Fl)((()=>w.horizontal.percentage.value*(y.horizontal.value-w.horizontal.thumbSize.value))),w.horizontal.thumbSize=(0,i.Fl)((()=>Math.round((0,u.vX)(y.horizontal.value*y.horizontal.value/w.horizontal.size.value,m(y.horizontal.value),y.horizontal.value)))),w.horizontal.style=(0,i.Fl)((()=>({...e.thumbStyle,...e.horizontalThumbStyle,[!0===k.$q.lang.rtl?"right":"left"]:`${w.horizontal.thumbStart.value}px`,width:`${w.horizontal.thumbSize.value}px`}))),w.horizontal.thumbClass=(0,i.Fl)((()=>"q-scrollarea__thumb q-scrollarea__thumb--h absolute-bottom"+(!0===w.horizontal.thumbHidden.value?" q-scrollarea__thumb--invisible":""))),w.horizontal.barClass=(0,i.Fl)((()=>"q-scrollarea__bar q-scrollarea__bar--h absolute-bottom"+(!0===w.horizontal.thumbHidden.value?" q-scrollarea__bar--invisible":"")));const L=(0,i.Fl)((()=>!0===w.vertical.thumbHidden.value&&!0===w.horizontal.thumbHidden.value?e.contentStyle:e.contentActiveStyle)),j=[[l.Z,e=>{z(e,"vertical")},void 0,{vertical:!0,...v}]],T=[[l.Z,e=>{z(e,"horizontal")},void 0,{horizontal:!0,...v}]];function F(){const e={};return p.forEach((t=>{const n=w[t];e[t+"Position"]=n.position.value,e[t+"Percentage"]=n.percentage.value,e[t+"Size"]=n.size.value,e[t+"ContainerSize"]=y[t].value})),e}const E=(0,f.Z)((()=>{const e=F();e.ref=k,n("scroll",e)}),0);function O(e,t,n){if(!1===p.includes(e))return void console.error("[QScrollArea]: wrong first param of setScrollPosition (vertical/horizontal)");const i="vertical"===e?d.f3:d.ik;i(A.value,t,n)}function M({height:e,width:t}){let n=!1;y.vertical.value!==e&&(y.vertical.value=e,n=!0),y.horizontal.value!==t&&(y.horizontal.value=t,n=!0),!0===n&&D()}function R({position:e}){let t=!1;w.vertical.position.value!==e.top&&(w.vertical.position.value=e.top,t=!0),w.horizontal.position.value!==e.left&&(w.horizontal.position.value=e.left,t=!0),!0===t&&D()}function I({height:e,width:t}){w.horizontal.size.value!==t&&(w.horizontal.size.value=t,D()),w.vertical.size.value!==e&&(w.vertical.size.value=e,D())}function z(e,t){const n=w[t];if(!0===e.isFirst){if(!0===n.thumbHidden.value)return;_=n.position.value,b.value=!0}else if(!0!==b.value)return;!0===e.isFinal&&(b.value=!1);const i=g[t],o=y[t].value,r=(n.size.value-o)/(o-n.thumbSize.value),a=e.distance[i.dist],s=_+(e.direction===i.dir?1:-1)*a*r;B(s,t)}function H(e,t){const n=w[t];if(!0!==n.thumbHidden.value){const i=e[g[t].offset];if(in.thumbStart.value+n.thumbSize.value){const e=i-n.thumbSize.value/2;B(e/y[t].value*n.size.value,t)}null!==n.ref.value&&n.ref.value.dispatchEvent(new MouseEvent(e.type,e))}}function N(e){H(e,"vertical")}function q(e){H(e,"horizontal")}function D(){!0===c.value?clearTimeout(C):c.value=!0,C=setTimeout((()=>{c.value=!1}),e.delay),void 0!==e.onScroll&&E()}function B(e,t){A.value[g[t].scroll]=e}function Y(){x.value=!0}function X(){x.value=!1}let V=null;return(0,o.YP)((()=>k.$q.lang.rtl),(e=>{null!==A.value&&(0,d.ik)(A.value,Math.abs(w.horizontal.position.value)*(!0===e?-1:1))})),(0,o.se)((()=>{V={top:w.vertical.position.value,left:w.horizontal.position.value}})),(0,o.dl)((()=>{if(null===V)return;const e=A.value;null!==e&&((0,d.ik)(e,V.left),(0,d.f3)(e,V.top))})),(0,o.Jd)(E.cancel),Object.assign(k,{getScrollTarget:()=>A.value,getScroll:F,getScrollPosition:()=>({top:w.vertical.position.value,left:w.horizontal.position.value}),getScrollPercentage:()=>({top:w.vertical.percentage.value,left:w.horizontal.percentage.value}),setScrollPosition:O,setScrollPercentage(e,t,n){O(e,t*(w[e].size.value-y[e].value)*("horizontal"===e&&!0===k.$q.lang.rtl?-1:1),n)}}),()=>(0,o.h)("div",{class:P.value,onMouseenter:Y,onMouseleave:X},[(0,o.h)("div",{ref:A,class:"q-scrollarea__container scroll relative-position fit hide-scrollbar",tabindex:void 0!==e.tabindex?e.tabindex:void 0},[(0,o.h)("div",{class:"q-scrollarea__content absolute",style:L.value},(0,h.vs)(t.default,[(0,o.h)(a.Z,{debounce:0,onResize:I})])),(0,o.h)(s.Z,{axis:"both",onScroll:R})]),(0,o.h)(a.Z,{debounce:0,onResize:M}),(0,o.h)("div",{class:w.vertical.barClass.value,style:[e.barStyle,e.verticalBarStyle],"aria-hidden":"true",onMousedown:N}),(0,o.h)("div",{class:w.horizontal.barClass.value,style:[e.barStyle,e.horizontalBarStyle],"aria-hidden":"true",onMousedown:q}),(0,o.wy)((0,o.h)("div",{ref:w.vertical.ref,class:w.vertical.thumbClass.value,style:w.vertical.style.value,"aria-hidden":"true"}),j),(0,o.wy)((0,o.h)("div",{ref:w.horizontal.ref,class:w.horizontal.thumbClass.value,style:w.horizontal.style.value,"aria-hidden":"true"}),T)])}})},1868:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});n(702);var i=n(9835),o=n(5987),r=n(3701),a=n(1384);const{passive:s}=a.rU,l=["both","horizontal","vertical"],c=(0,o.L)({name:"QScrollObserver",props:{axis:{type:String,validator:e=>l.includes(e),default:"vertical"},debounce:[String,Number],scrollTarget:{default:void 0}},emits:["scroll"],setup(e,{emit:t}){const n={position:{top:0,left:0},direction:"down",directionChanged:!1,delta:{top:0,left:0},inflectionPoint:{top:0,left:0}};let o,l,c=null;function u(){null!==c&&c();const i=Math.max(0,(0,r.u3)(o)),a=(0,r.OI)(o),s={top:i-n.position.top,left:a-n.position.left};if("vertical"===e.axis&&0===s.top||"horizontal"===e.axis&&0===s.left)return;const l=Math.abs(s.top)>=Math.abs(s.left)?s.top<0?"up":"down":s.left<0?"left":"right";n.position={top:i,left:a},n.directionChanged=n.direction!==l,n.delta=s,!0===n.directionChanged&&(n.direction=l,n.inflectionPoint=n.position),t("scroll",{...n})}function d(){o=(0,r.b0)(l,e.scrollTarget),o.addEventListener("scroll",f,s),f(!0)}function h(){void 0!==o&&(o.removeEventListener("scroll",f,s),o=void 0)}function f(t){if(!0===t||0===e.debounce||"0"===e.debounce)u();else if(null===c){const[t,n]=e.debounce?[setTimeout(u,e.debounce),clearTimeout]:[requestAnimationFrame(u),cancelAnimationFrame];c=()=>{n(t),c=null}}}(0,i.YP)((()=>e.scrollTarget),(()=>{h(),d()}));const{proxy:p}=(0,i.FN)();return(0,i.YP)((()=>p.$q.lang.rtl),u),(0,i.bv)((()=>{l=p.$el.parentNode,d()})),(0,i.Jd)((()=>{null!==c&&c(),h()})),Object.assign(p,{trigger:f,getPosition:()=>n}),a.ZT}})},7887:(e,t,n)=>{"use strict";n.d(t,{Z:()=>T});n(702);var i=n(9835),o=n(499),r=n(6169),a=n(5987);const s=(0,a.L)({name:"QField",inheritAttrs:!1,props:r.Cl,emits:r.HJ,setup(){return(0,r.ZP)((0,r.tL)())}});var l=n(2857),c=n(1136),u=n(8234),d=n(244),h=n(1384),f=n(2026);const p={xs:8,sm:10,md:14,lg:20,xl:24},g=(0,a.L)({name:"QChip",props:{...u.S,...d.LU,dense:Boolean,icon:String,iconRight:String,iconRemove:String,iconSelected:String,label:[String,Number],color:String,textColor:String,modelValue:{type:Boolean,default:!0},selected:{type:Boolean,default:null},square:Boolean,outline:Boolean,clickable:Boolean,removable:Boolean,removeAriaLabel:String,tabindex:[String,Number],disable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:["update:modelValue","update:selected","remove","click"],setup(e,{slots:t,emit:n}){const{proxy:{$q:r}}=(0,i.FN)(),a=(0,u.Z)(e,r),s=(0,d.ZP)(e,p),g=(0,o.Fl)((()=>!0===e.selected||void 0!==e.icon)),v=(0,o.Fl)((()=>!0===e.selected?e.iconSelected||r.iconSet.chip.selected:e.icon)),m=(0,o.Fl)((()=>e.iconRemove||r.iconSet.chip.remove)),b=(0,o.Fl)((()=>!1===e.disable&&(!0===e.clickable||null!==e.selected))),x=(0,o.Fl)((()=>{const t=!0===e.outline&&e.color||e.textColor;return"q-chip row inline no-wrap items-center"+(!1===e.outline&&void 0!==e.color?` bg-${e.color}`:"")+(t?` text-${t} q-chip--colored`:"")+(!0===e.disable?" disabled":"")+(!0===e.dense?" q-chip--dense":"")+(!0===e.outline?" q-chip--outline":"")+(!0===e.selected?" q-chip--selected":"")+(!0===b.value?" q-chip--clickable cursor-pointer non-selectable q-hoverable":"")+(!0===e.square?" q-chip--square":"")+(!0===a.value?" q-chip--dark q-dark":"")})),y=(0,o.Fl)((()=>{const t=!0===e.disable?{tabindex:-1,"aria-disabled":"true"}:{tabindex:e.tabindex||0},n={...t,role:"button","aria-hidden":"false","aria-label":e.removeAriaLabel||r.lang.label.remove};return{chip:t,remove:n}}));function w(e){13===e.keyCode&&k(e)}function k(t){e.disable||(n("update:selected",!e.selected),n("click",t))}function S(t){void 0!==t.keyCode&&13!==t.keyCode||((0,h.NS)(t),!1===e.disable&&(n("update:modelValue",!1),n("remove")))}function C(){const n=[];!0===b.value&&n.push((0,i.h)("div",{class:"q-focus-helper"})),!0===g.value&&n.push((0,i.h)(l.Z,{class:"q-chip__icon q-chip__icon--left",name:v.value}));const o=void 0!==e.label?[(0,i.h)("div",{class:"ellipsis"},[e.label])]:void 0;return n.push((0,i.h)("div",{class:"q-chip__content col row no-wrap items-center q-anchor--skip"},(0,f.pf)(t.default,o))),e.iconRight&&n.push((0,i.h)(l.Z,{class:"q-chip__icon q-chip__icon--right",name:e.iconRight})),!0===e.removable&&n.push((0,i.h)(l.Z,{class:"q-chip__icon q-chip__icon--remove cursor-pointer",name:m.value,...y.value.remove,onClick:S,onKeyup:S})),n}return()=>{if(!1===e.modelValue)return;const t={class:x.value,style:s.value};return!0===b.value&&Object.assign(t,y.value.chip,{onClick:k,onKeyup:w}),(0,f.Jl)("div",t,C(),"ripple",!1!==e.ripple&&!0!==e.disable,(()=>[[c.Z,e.ripple]]))}}});var v=n(490),m=n(1233),b=n(3115),x=n(5290),y=n(2074),w=n(2043),k=n(9256),S=n(2802),C=n(4680),_=n(321),A=n(1705);const P=e=>["add","add-unique","toggle"].includes(e),L=".*+?^${}()|[]\\",j=Object.keys(r.Cl),T=(0,a.L)({name:"QSelect",inheritAttrs:!1,props:{...w.t9,...k.Fz,...r.Cl,modelValue:{required:!0},multiple:Boolean,displayValue:[String,Number],displayValueHtml:Boolean,dropdownIcon:String,options:{type:Array,default:()=>[]},optionValue:[Function,String],optionLabel:[Function,String],optionDisable:[Function,String],hideSelected:Boolean,hideDropdownIcon:Boolean,fillInput:Boolean,maxValues:[Number,String],optionsDense:Boolean,optionsDark:{type:Boolean,default:null},optionsSelectedClass:String,optionsHtml:Boolean,optionsCover:Boolean,menuShrink:Boolean,menuAnchor:String,menuSelf:String,menuOffset:Array,popupContentClass:String,popupContentStyle:[String,Array,Object],useInput:Boolean,useChips:Boolean,newValueMode:{type:String,validator:P},mapOptions:Boolean,emitValue:Boolean,inputDebounce:{type:[Number,String],default:500},inputClass:[Array,String,Object],inputStyle:[Array,String,Object],tabindex:{type:[String,Number],default:0},autocomplete:String,transitionShow:String,transitionHide:String,transitionDuration:[String,Number],behavior:{type:String,validator:e=>["default","menu","dialog"].includes(e),default:"default"},virtualScrollItemSize:{type:[Number,String],default:void 0},onNewValue:Function,onFilter:Function},emits:[...r.HJ,"add","remove","inputValue","newValue","keyup","keypress","keydown","filterAbort"],setup(e,{slots:t,emit:n}){const{proxy:a}=(0,i.FN)(),{$q:c}=a,u=(0,o.iH)(!1),d=(0,o.iH)(!1),p=(0,o.iH)(-1),T=(0,o.iH)(""),F=(0,o.iH)(!1),E=(0,o.iH)(!1);let O,M,R,I,z,H,N,q,D;const B=(0,o.iH)(null),Y=(0,o.iH)(null),X=(0,o.iH)(null),V=(0,o.iH)(null),W=(0,o.iH)(null),$=(0,k.Do)(e),U=(0,S.Z)(Ze),Z=(0,o.Fl)((()=>Array.isArray(e.options)?e.options.length:0)),G=(0,o.Fl)((()=>void 0===e.virtualScrollItemSize?!0===e.optionsDense?24:48:e.virtualScrollItemSize)),{virtualScrollSliceRange:K,virtualScrollSliceSizeComputed:J,localResetVirtualScroll:Q,padVirtualScroll:ee,onVirtualScrollEvt:te,scrollTo:ne,setVirtualScrollSize:ie}=(0,w.vp)({virtualScrollLength:Z,getVirtualScrollTarget:Ve,getVirtualScrollEl:Xe,virtualScrollItemSizeComputed:G}),oe=(0,r.tL)(),re=(0,o.Fl)((()=>{const t=!0===e.mapOptions&&!0!==e.multiple,n=void 0===e.modelValue||null===e.modelValue&&!0!==t?[]:!0===e.multiple&&Array.isArray(e.modelValue)?e.modelValue:[e.modelValue];if(!0===e.mapOptions&&!0===Array.isArray(e.options)){const i=!0===e.mapOptions&&void 0!==M?M:[],o=n.map((e=>Ie(e,i)));return null===e.modelValue&&!0===t?o.filter((e=>null!==e)):o}return n})),ae=(0,o.Fl)((()=>{const t={};return j.forEach((n=>{const i=e[n];void 0!==i&&(t[n]=i)})),t})),se=(0,o.Fl)((()=>null===e.optionsDark?oe.isDark.value:e.optionsDark)),le=(0,o.Fl)((()=>(0,r.yV)(re.value))),ce=(0,o.Fl)((()=>{let t="q-field__input q-placeholder col";return!0===e.hideSelected||0===re.value.length?[t,e.inputClass]:(t+=" q-field__input--padding",void 0===e.inputClass?t:[t,e.inputClass])})),ue=(0,o.Fl)((()=>(!0===e.virtualScrollHorizontal?"q-virtual-scroll--horizontal":"")+(e.popupContentClass?" "+e.popupContentClass:""))),de=(0,o.Fl)((()=>0===Z.value)),he=(0,o.Fl)((()=>re.value.map((e=>_e.value(e))).join(", "))),fe=(0,o.Fl)((()=>void 0!==e.displayValue?e.displayValue:he.value)),pe=(0,o.Fl)((()=>!0===e.optionsHtml?()=>!0:e=>void 0!==e&&null!==e&&!0===e.html)),ge=(0,o.Fl)((()=>!0===e.displayValueHtml||void 0===e.displayValue&&(!0===e.optionsHtml||re.value.some(pe.value)))),ve=(0,o.Fl)((()=>!0===oe.focused.value?e.tabindex:-1)),me=(0,o.Fl)((()=>{const t={tabindex:e.tabindex,role:"combobox","aria-label":e.label,"aria-readonly":!0===e.readonly?"true":"false","aria-autocomplete":!0===e.useInput?"list":"none","aria-expanded":!0===u.value?"true":"false","aria-controls":`${oe.targetUid.value}_lb`};return p.value>=0&&(t["aria-activedescendant"]=`${oe.targetUid.value}_${p.value}`),t})),be=(0,o.Fl)((()=>({id:`${oe.targetUid.value}_lb`,role:"listbox","aria-multiselectable":!0===e.multiple?"true":"false"}))),xe=(0,o.Fl)((()=>re.value.map(((e,t)=>({index:t,opt:e,html:pe.value(e),selected:!0,removeAtIndex:Fe,toggleOption:Oe,tabindex:ve.value}))))),ye=(0,o.Fl)((()=>{if(0===Z.value)return[];const{from:t,to:n}=K.value;return e.options.slice(t,n).map(((n,i)=>{const o=!0===Ae.value(n),r=t+i,a={clickable:!0,active:!1,activeClass:Se.value,manualFocus:!0,focused:!1,disable:o,tabindex:-1,dense:e.optionsDense,dark:se.value,role:"option",id:`${oe.targetUid.value}_${r}`,onClick:()=>{Oe(n)}};return!0!==o&&(!0===He(n)&&(a.active=!0),p.value===r&&(a.focused=!0),a["aria-selected"]=!0===a.active?"true":"false",!0===c.platform.is.desktop&&(a.onMousemove=()=>{!0===u.value&&Me(r)})),{index:r,opt:n,html:pe.value(n),label:_e.value(n),selected:a.active,focused:a.focused,toggleOption:Oe,setOptionIndex:Me,itemProps:a}}))})),we=(0,o.Fl)((()=>void 0!==e.dropdownIcon?e.dropdownIcon:c.iconSet.arrow.dropdown)),ke=(0,o.Fl)((()=>!1===e.optionsCover&&!0!==e.outlined&&!0!==e.standout&&!0!==e.borderless&&!0!==e.rounded)),Se=(0,o.Fl)((()=>void 0!==e.optionsSelectedClass?e.optionsSelectedClass:void 0!==e.color?`text-${e.color}`:"")),Ce=(0,o.Fl)((()=>ze(e.optionValue,"value"))),_e=(0,o.Fl)((()=>ze(e.optionLabel,"label"))),Ae=(0,o.Fl)((()=>ze(e.optionDisable,"disable"))),Pe=(0,o.Fl)((()=>re.value.map((e=>Ce.value(e))))),Le=(0,o.Fl)((()=>{const e={onInput:Ze,onChange:U,onKeydown:Ye,onKeyup:De,onKeypress:Be,onFocus:Ne,onClick(e){!0===R&&(0,h.sT)(e)}};return e.onCompositionstart=e.onCompositionupdate=e.onCompositionend=U,e}));function je(t){return!0===e.emitValue?Ce.value(t):t}function Te(t){if(t>-1&&t=e.maxValues)return;const r=e.modelValue.slice();n("add",{index:r.length,value:o}),r.push(o),n("update:modelValue",r)}function Oe(t,i){if(!0!==oe.editable.value||void 0===t||!0===Ae.value(t))return;const o=Ce.value(t);if(!0!==e.multiple)return!0!==i&&(Ke(!0===e.fillInput?_e.value(t):"",!0,!0),ut()),null!==Y.value&&Y.value.focus(),void(0!==re.value.length&&!0===(0,C.xb)(Ce.value(re.value[0]),o)||n("update:modelValue",!0===e.emitValue?o:t));if((!0!==R||!0===F.value)&&oe.focus(),Ne(),0===re.value.length){const i=!0===e.emitValue?o:t;return n("add",{index:0,value:i}),void n("update:modelValue",!0===e.multiple?[i]:i)}const r=e.modelValue.slice(),a=Pe.value.findIndex((e=>(0,C.xb)(e,o)));if(a>-1)n("remove",{index:a,value:r.splice(a,1)[0]});else{if(void 0!==e.maxValues&&r.length>=e.maxValues)return;const i=!0===e.emitValue?o:t;n("add",{index:r.length,value:i}),r.push(i)}n("update:modelValue",r)}function Me(e){if(!0!==c.platform.is.desktop)return;const t=e>-1&&e=0?_e.value(e.options[i]):H))}}function Ie(t,n){const i=e=>(0,C.xb)(Ce.value(e),t);return e.options.find(i)||n.find(i)||t}function ze(e,t){const n=void 0!==e?e:t;return"function"===typeof n?n:e=>null!==e&&"object"===typeof e&&n in e?e[n]:e}function He(e){const t=Ce.value(e);return void 0!==Pe.value.find((e=>(0,C.xb)(e,t)))}function Ne(t){!0===e.useInput&&null!==Y.value&&(void 0===t||Y.value===t.target&&t.target.value===he.value)&&Y.value.select()}function qe(e){!0===(0,A.So)(e,27)&&!0===u.value&&((0,h.sT)(e),ut(),dt()),n("keyup",e)}function De(t){const{value:n}=t.target;if(void 0===t.keyCode)if(t.target.value="",clearTimeout(O),dt(),"string"===typeof n&&n.length>0){const t=n.toLocaleLowerCase(),i=n=>{const i=e.options.find((e=>n.value(e).toLocaleLowerCase()===t));return void 0!==i&&(-1===re.value.indexOf(i)?Oe(i):ut(),!0)},o=e=>{!0!==i(Ce)&&!0!==i(_e)&&!0!==e&&Je(n,!0,(()=>o(!0)))};o()}else oe.clearValue(t);else qe(t)}function Be(e){n("keypress",e)}function Ye(t){if(n("keydown",t),!0===(0,A.Wm)(t))return;const o=T.value.length>0&&(void 0!==e.newValueMode||void 0!==e.onNewValue),r=!0!==t.shiftKey&&!0!==e.multiple&&(p.value>-1||!0===o);if(27===t.keyCode)return void(0,h.X$)(t);if(9===t.keyCode&&!1===r)return void lt();if(void 0===t.target||t.target.id!==oe.targetUid.value)return;if(40===t.keyCode&&!0!==oe.innerLoading.value&&!1===u.value)return(0,h.NS)(t),void ct();if(8===t.keyCode&&!0!==e.hideSelected&&0===T.value.length)return void(!0===e.multiple&&!0===Array.isArray(e.modelValue)?Te(e.modelValue.length-1):!0!==e.multiple&&null!==e.modelValue&&n("update:modelValue",null));35!==t.keyCode&&36!==t.keyCode||"string"===typeof T.value&&0!==T.value.length||((0,h.NS)(t),p.value=-1,Re(36===t.keyCode?1:-1,e.multiple)),33!==t.keyCode&&34!==t.keyCode||void 0===J.value||((0,h.NS)(t),p.value=Math.max(-1,Math.min(Z.value,p.value+(33===t.keyCode?-1:1)*J.value.view)),Re(33===t.keyCode?1:-1,e.multiple)),38!==t.keyCode&&40!==t.keyCode||((0,h.NS)(t),Re(38===t.keyCode?-1:1,e.multiple));const a=Z.value;if((void 0===q||D0&&!0!==e.useInput&&void 0!==t.key&&1===t.key.length&&!1===t.altKey&&!1===t.ctrlKey&&!1===t.metaKey&&(32!==t.keyCode||q.length>0)){!0!==u.value&&ct(t);const n=t.key.toLocaleLowerCase(),o=1===q.length&&q[0]===n;D=Date.now()+1500,!1===o&&((0,h.NS)(t),q+=n);const r=new RegExp("^"+q.split("").map((e=>L.indexOf(e)>-1?"\\"+e:e)).join(".*"),"i");let s=p.value;if(!0===o||s<0||!0!==r.test(_e.value(e.options[s])))do{s=(0,_.Uz)(s+1,-1,a-1)}while(s!==p.value&&(!0===Ae.value(e.options[s])||!0!==r.test(_e.value(e.options[s]))));p.value!==s&&(0,i.Y3)((()=>{Me(s),ne(s),s>=0&&!0===e.useInput&&!0===e.fillInput&&Ge(_e.value(e.options[s]))}))}else if(13===t.keyCode||32===t.keyCode&&!0!==e.useInput&&""===q||9===t.keyCode&&!1!==r)if(9!==t.keyCode&&(0,h.NS)(t),p.value>-1&&p.value{if(n){if(!0!==P(n))return}else n=e.newValueMode;if(void 0===t||null===t)return;Ke("",!0!==e.multiple,!0);const i="toggle"===n?Oe:Ee;i(t,"add-unique"===n),!0!==e.multiple&&(null!==Y.value&&Y.value.focus(),ut())};if(void 0!==e.onNewValue?n("newValue",T.value,t):t(T.value),!0!==e.multiple)return}!0===u.value?lt():!0!==oe.innerLoading.value&&ct()}}function Xe(){return!0===R?W.value:null!==X.value&&null!==X.value.contentEl?X.value.contentEl:void 0}function Ve(){return Xe()}function We(){return!0===e.hideSelected?[]:void 0!==t["selected-item"]?xe.value.map((e=>t["selected-item"](e))).slice():void 0!==t.selected?[].concat(t.selected()):!0===e.useChips?xe.value.map(((t,n)=>(0,i.h)(g,{key:"option-"+n,removable:!0===oe.editable.value&&!0!==Ae.value(t.opt),dense:!0,textColor:e.color,tabindex:ve.value,onRemove(){t.removeAtIndex(n)}},(()=>(0,i.h)("span",{class:"ellipsis",[!0===t.html?"innerHTML":"textContent"]:_e.value(t.opt)}))))):[(0,i.h)("span",{[!0===ge.value?"innerHTML":"textContent"]:fe.value})]}function $e(){if(!0===de.value)return void 0!==t["no-option"]?t["no-option"]({inputValue:T.value}):void 0;const e=void 0!==t.option?t.option:e=>(0,i.h)(v.Z,{key:e.index,...e.itemProps},(()=>(0,i.h)(m.Z,(()=>(0,i.h)(b.Z,(()=>(0,i.h)("span",{[!0===e.html?"innerHTML":"textContent"]:e.label})))))));let n=ee("div",ye.value.map(e));return void 0!==t["before-options"]&&(n=t["before-options"]().concat(n)),(0,f.vs)(t["after-options"],n)}function Ue(t,n){const o=!0===n?{...me.value,...oe.splitAttrs.attributes.value}:void 0,r={ref:!0===n?Y:void 0,key:"i_t",class:ce.value,style:e.inputStyle,value:void 0!==T.value?T.value:"",type:"search",...o,id:!0===n?oe.targetUid.value:void 0,maxlength:e.maxlength,autocomplete:e.autocomplete,"data-autofocus":!0===t||!0===e.autofocus||void 0,disabled:!0===e.disable,readonly:!0===e.readonly,...Le.value};return!0!==t&&!0===R&&(!0===Array.isArray(r.class)?r.class=[...r.class,"no-pointer-events"]:r.class+=" no-pointer-events"),(0,i.h)("input",r)}function Ze(t){clearTimeout(O),t&&t.target&&!0===t.target.qComposing||(Ge(t.target.value||""),I=!0,H=T.value,!0===oe.focused.value||!0===R&&!0!==F.value||oe.focus(),void 0!==e.onFilter&&(O=setTimeout((()=>{Je(T.value)}),e.inputDebounce)))}function Ge(e){T.value!==e&&(T.value=e,n("inputValue",e))}function Ke(t,n,i){I=!0!==i,!0===e.useInput&&(Ge(t),!0!==n&&!0===i||(H=t),!0!==n&&Je(t))}function Je(t,o,r){if(void 0===e.onFilter||!0!==o&&!0!==oe.focused.value)return;!0===oe.innerLoading.value?n("filterAbort"):(oe.innerLoading.value=!0,E.value=!0),""!==t&&!0!==e.multiple&&re.value.length>0&&!0!==I&&t===_e.value(re.value[0])&&(t="");const s=setTimeout((()=>{!0===u.value&&(u.value=!1)}),10);clearTimeout(z),z=s,n("filter",t,((e,t)=>{!0!==o&&!0!==oe.focused.value||z!==s||(clearTimeout(z),"function"===typeof e&&e(),E.value=!1,(0,i.Y3)((()=>{oe.innerLoading.value=!1,!0===oe.editable.value&&(!0===o?!0===u.value&&ut():!0===u.value?ht(!0):u.value=!0),"function"===typeof t&&(0,i.Y3)((()=>{t(a)})),"function"===typeof r&&(0,i.Y3)((()=>{r(a)}))})))}),(()=>{!0===oe.focused.value&&z===s&&(clearTimeout(z),oe.innerLoading.value=!1,E.value=!1),!0===u.value&&(u.value=!1)}))}function Qe(){return(0,i.h)(x.Z,{ref:X,class:ue.value,style:e.popupContentStyle,modelValue:u.value,fit:!0!==e.menuShrink,cover:!0===e.optionsCover&&!0!==de.value&&!0!==e.useInput,anchor:e.menuAnchor,self:e.menuSelf,offset:e.menuOffset,dark:se.value,noParentEvent:!0,noRefocus:!0,noFocus:!0,square:ke.value,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,separateClosePopup:!0,...be.value,onScrollPassive:te,onBeforeShow:gt,onBeforeHide:et,onShow:tt},$e)}function et(e){vt(e),lt()}function tt(){ie()}function nt(e){(0,h.sT)(e),null!==Y.value&&Y.value.focus(),F.value=!0,window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,0)}function it(e){(0,h.sT)(e),(0,i.Y3)((()=>{F.value=!1}))}function ot(){const n=[(0,i.h)(s,{class:`col-auto ${oe.fieldClass.value}`,...ae.value,for:oe.targetUid.value,dark:se.value,square:!0,loading:E.value,itemAligned:!1,filled:!0,stackLabel:T.value.length>0,...oe.splitAttrs.listeners.value,onFocus:nt,onBlur:it},{...t,rawControl:()=>oe.getControl(!0),before:void 0,after:void 0})];return!0===u.value&&n.push((0,i.h)("div",{ref:W,class:ue.value+" scroll",style:e.popupContentStyle,...be.value,onClick:h.X$,onScrollPassive:te},$e())),(0,i.h)(y.Z,{ref:V,modelValue:d.value,position:!0===e.useInput?"top":void 0,transitionShow:N,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,onBeforeShow:gt,onBeforeHide:rt,onHide:at,onShow:st},(()=>(0,i.h)("div",{class:"q-select__dialog"+(!0===se.value?" q-select__dialog--dark q-dark":"")+(!0===F.value?" q-select__dialog--focused":"")},n)))}function rt(e){vt(e),null!==V.value&&V.value.__updateRefocusTarget(oe.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")),oe.focused.value=!1}function at(e){ut(),!1===oe.focused.value&&n("blur",e),dt()}function st(){const e=document.activeElement;null!==e&&e.id===oe.targetUid.value||null===Y.value||Y.value===e||Y.value.focus(),ie()}function lt(){!0!==d.value&&(p.value=-1,!0===u.value&&(u.value=!1),!1===oe.focused.value&&(clearTimeout(z),z=void 0,!0===oe.innerLoading.value&&(n("filterAbort"),oe.innerLoading.value=!1,E.value=!1)))}function ct(n){!0===oe.editable.value&&(!0===R?(oe.onControlFocusin(n),d.value=!0,(0,i.Y3)((()=>{oe.focus()}))):oe.focus(),void 0!==e.onFilter?Je(T.value):!0===de.value&&void 0===t["no-option"]||(u.value=!0))}function ut(){d.value=!1,lt()}function dt(){!0===e.useInput&&Ke(!0!==e.multiple&&!0===e.fillInput&&re.value.length>0&&_e.value(re.value[0])||"",!0,!0)}function ht(t){let n=-1;if(!0===t){if(re.value.length>0){const t=Ce.value(re.value[0]);n=e.options.findIndex((e=>(0,C.xb)(Ce.value(e),t)))}Q(n)}Me(n)}function ft(e,t){!0===u.value&&!1===oe.innerLoading.value&&(Q(-1,!0),(0,i.Y3)((()=>{!0===u.value&&!1===oe.innerLoading.value&&(e>t?Q():ht(!0))})))}function pt(){!1===d.value&&null!==X.value&&X.value.updatePosition()}function gt(e){void 0!==e&&(0,h.sT)(e),n("popupShow",e),oe.hasPopupOpen=!0,oe.onControlFocusin(e)}function vt(e){void 0!==e&&(0,h.sT)(e),n("popupHide",e),oe.hasPopupOpen=!1,oe.onControlFocusout(e)}function mt(){R=(!0===c.platform.is.mobile||"dialog"===e.behavior)&&("menu"!==e.behavior&&(!0!==e.useInput||(void 0!==t["no-option"]||void 0!==e.onFilter||!1===de.value))),N=!0===c.platform.is.ios&&!0===R&&!0===e.useInput?"fade":e.transitionShow}return(0,i.YP)(re,(t=>{M=t,!0===e.useInput&&!0===e.fillInput&&!0!==e.multiple&&!0!==oe.innerLoading.value&&(!0!==d.value&&!0!==u.value||!0!==le.value)&&(!0!==I&&dt(),!0!==d.value&&!0!==u.value||Je(""))}),{immediate:!0}),(0,i.YP)((()=>e.fillInput),dt),(0,i.YP)(u,ht),(0,i.YP)(Z,ft),(0,i.Xn)(mt),(0,i.ic)(pt),mt(),(0,i.Jd)((()=>{clearTimeout(O)})),Object.assign(a,{showPopup:ct,hidePopup:ut,removeAtIndex:Te,add:Ee,toggleOption:Oe,getOptionIndex:()=>p.value,setOptionIndex:Me,moveOptionSelection:Re,filter:Je,updateMenuPosition:pt,updateInputValue:Ke,isOptionSelected:He,getEmittingOptionValue:je,isOptionDisabled:(...e)=>!0===Ae.value.apply(null,e),getOptionValue:(...e)=>Ce.value.apply(null,e),getOptionLabel:(...e)=>_e.value.apply(null,e)}),Object.assign(oe,{innerValue:re,fieldClass:(0,o.Fl)((()=>`q-select q-field--auto-height q-select--with${!0!==e.useInput?"out":""}-input q-select--with${!0!==e.useChips?"out":""}-chips q-select--`+(!0===e.multiple?"multiple":"single"))),inputRef:B,targetRef:Y,hasValue:le,showPopup:ct,floatingLabel:(0,o.Fl)((()=>!0!==e.hideSelected&&!0===le.value||"number"===typeof T.value||T.value.length>0||(0,r.yV)(e.displayValue))),getControlChild:()=>{if(!1!==oe.editable.value&&(!0===d.value||!0!==de.value||void 0!==t["no-option"]))return!0===R?ot():Qe();!0===oe.hasPopupOpen&&(oe.hasPopupOpen=!1)},controlEvents:{onFocusin(e){oe.onControlFocusin(e)},onFocusout(e){oe.onControlFocusout(e,(()=>{dt(),lt()}))},onClick(e){if((0,h.X$)(e),!0!==R&&!0===u.value)return lt(),void(null!==Y.value&&Y.value.focus());ct(e)}},getControl:t=>{const n=We(),o=!0===t||!0!==d.value||!0!==R;if(!0===e.useInput)n.push(Ue(t,o));else if(!0===oe.editable.value){const r=!0===o?me.value:void 0;n.push((0,i.h)("input",{ref:!0===o?Y:void 0,key:"d_t",class:"q-select__focus-target",id:!0===o?oe.targetUid.value:void 0,value:fe.value,readonly:!0,"data-autofocus":!0===t||!0===e.autofocus||void 0,...r,onKeydown:Ye,onKeyup:qe,onKeypress:Be})),!0===o&&"string"===typeof e.autocomplete&&e.autocomplete.length>0&&n.push((0,i.h)("input",{class:"q-select__autocomplete-input",autocomplete:e.autocomplete,tabindex:-1,onKeyup:De}))}if(void 0!==$.value&&!0!==e.disable&&Pe.value.length>0){const t=Pe.value.map((e=>(0,i.h)("option",{value:e,selected:!0})));n.push((0,i.h)("select",{class:"hidden",name:$.value,multiple:e.multiple},t))}const r=!0===e.useInput||!0!==o?void 0:oe.splitAttrs.attributes.value;return(0,i.h)("div",{class:"q-field__native row items-center",...r},n)},getInnerAppend:()=>!0!==e.loading&&!0!==E.value&&!0!==e.hideDropdownIcon?[(0,i.h)(l.Z,{class:"q-select__dropdown-icon"+(!0===u.value?" rotate-180":""),name:we.value})]:null}),(0,r.ZP)(oe)}})},926:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var i=n(9835),o=n(499),r=n(8234),a=n(5987);const s={true:"inset",item:"item-inset","item-thumbnail":"item-thumbnail-inset"},l={xs:2,sm:4,md:8,lg:16,xl:24},c=(0,a.L)({name:"QSeparator",props:{...r.S,spaced:[Boolean,String],inset:[Boolean,String],vertical:Boolean,color:String,size:String},setup(e){const t=(0,i.FN)(),n=(0,r.Z)(e,t.proxy.$q),a=(0,o.Fl)((()=>!0===e.vertical?"vertical":"horizontal")),c=(0,o.Fl)((()=>` q-separator--${a.value}`)),u=(0,o.Fl)((()=>!1!==e.inset?`${c.value}-${s[e.inset]}`:"")),d=(0,o.Fl)((()=>`q-separator${c.value}${u.value}`+(void 0!==e.color?` bg-${e.color}`:"")+(!0===n.value?" q-separator--dark":""))),h=(0,o.Fl)((()=>{const t={};if(void 0!==e.size&&(t[!0===e.vertical?"width":"height"]=e.size),!1!==e.spaced){const n=!0===e.spaced?`${l.md}px`:e.spaced in l?`${l[e.spaced]}px`:e.spaced,i=!0===e.vertical?["Left","Right"]:["Top","Bottom"];t[`margin${i[0]}`]=t[`margin${i[1]}`]=n}return t}));return()=>(0,i.h)("hr",{class:d.value,style:h.value,"aria-orientation":a.value})}})},3940:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var i=n(9835),o=n(499),r=n(244);const a={size:{type:[Number,String],default:"1em"},color:String};function s(e){return{cSize:(0,o.Fl)((()=>e.size in r.Ok?`${r.Ok[e.size]}px`:e.size)),classes:(0,o.Fl)((()=>"q-spinner"+(e.color?` text-${e.color}`:"")))}}var l=n(5987);const c=(0,l.L)({name:"QSpinner",props:{...a,thickness:{type:Number,default:5}},setup(e){const{cSize:t,classes:n}=s(e);return()=>(0,i.h)("svg",{class:n.value+" q-spinner-mat",width:t.value,height:t.value,viewBox:"25 25 50 50"},[(0,i.h)("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":e.thickness,"stroke-miterlimit":"10"})])}})},4106:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var i=n(9835),o=n(5475),r=n(5987),a=n(2026);const s=(0,r.L)({name:"QTabPanel",props:o.vZ,setup(e,{slots:t}){return()=>(0,i.h)("div",{class:"q-tab-panel",role:"tabpanel"},(0,a.KR)(t.default))}})},9800:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var i=n(9835),o=n(499),r=n(8234),a=n(5475),s=n(5987),l=n(2026);const c=(0,s.L)({name:"QTabPanels",props:{...a.t6,...r.S},emits:a.K6,setup(e,{slots:t}){const n=(0,i.FN)(),s=(0,r.Z)(e,n.proxy.$q),{updatePanelsList:c,getPanelContent:u,panelDirectives:d}=(0,a.ZP)(),h=(0,o.Fl)((()=>"q-tab-panels q-panel-parent"+(!0===s.value?" q-tab-panels--dark q-dark":"")));return()=>(c(t),(0,l.Jl)("div",{class:h.value},u(),"pan",e.swipeable,(()=>d.value)))}})},1746:(e,t,n)=>{"use strict";n.d(t,{Z:()=>ie});n(702),n(5583);var i=n(9835),o=n(499),r=n(1682),a=n(926),s=n(2857),l=n(3246),c=n(8234),u=n(5987),d=n(2026);const h=["horizontal","vertical","cell","none"],f=(0,u.L)({name:"QMarkupTable",props:{...c.S,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,wrapCells:Boolean,separator:{type:String,default:"horizontal",validator:e=>h.includes(e)}},setup(e,{slots:t}){const n=(0,i.FN)(),r=(0,c.Z)(e,n.proxy.$q),a=(0,o.Fl)((()=>`q-markup-table q-table__container q-table__card q-table--${e.separator}-separator`+(!0===r.value?" q-table--dark q-table__card--dark q-dark":"")+(!0===e.dense?" q-table--dense":"")+(!0===e.flat?" q-table--flat":"")+(!0===e.bordered?" q-table--bordered":"")+(!0===e.square?" q-table--square":"")+(!1===e.wrapCells?" q-table--no-wrap":"")));return()=>(0,i.h)("div",{class:a.value},[(0,i.h)("table",{class:"q-table"},(0,d.KR)(t.default))])}});function p(e,t){return(0,i.h)("div",e,[(0,i.h)("table",{class:"q-table"},t)])}var g=n(2043),v=n(3701),m=n(1384);const b={list:l.Z,table:f},x=["list","table","__qtable"],y=(0,u.L)({name:"QVirtualScroll",props:{...g.t9,type:{type:String,default:"list",validator:e=>x.includes(e)},items:{type:Array,default:()=>[]},itemsFn:Function,itemsSize:Number,scrollTarget:{default:void 0}},setup(e,{slots:t,attrs:n}){let r;const a=(0,o.iH)(null),s=(0,o.Fl)((()=>e.itemsSize>=0&&void 0!==e.itemsFn?parseInt(e.itemsSize,10):Array.isArray(e.items)?e.items.length:0)),{virtualScrollSliceRange:l,localResetVirtualScroll:c,padVirtualScroll:u,onVirtualScrollEvt:h}=(0,g.vp)({virtualScrollLength:s,getVirtualScrollTarget:k,getVirtualScrollEl:w}),f=(0,o.Fl)((()=>{if(0===s.value)return[];const t=(e,t)=>({index:l.value.from+t,item:e});return void 0===e.itemsFn?e.items.slice(l.value.from,l.value.to).map(t):e.itemsFn(l.value.from,l.value.to-l.value.from).map(t)})),x=(0,o.Fl)((()=>"q-virtual-scroll q-virtual-scroll"+(!0===e.virtualScrollHorizontal?"--horizontal":"--vertical")+(void 0!==e.scrollTarget?"":" scroll"))),y=(0,o.Fl)((()=>void 0!==e.scrollTarget?{}:{tabindex:0}));function w(){return a.value.$el||a.value}function k(){return r}function S(){r=(0,v.b0)(w(),e.scrollTarget),r.addEventListener("scroll",h,m.rU.passive)}function C(){void 0!==r&&(r.removeEventListener("scroll",h,m.rU.passive),r=void 0)}function _(){let n=u("list"===e.type?"div":"tbody",f.value.map(t.default));return void 0!==t.before&&(n=t.before().concat(n)),(0,d.vs)(t.after,n)}return(0,i.YP)(s,(()=>{c()})),(0,i.YP)((()=>e.scrollTarget),(()=>{C(),S()})),(0,i.wF)((()=>{c()})),(0,i.bv)((()=>{S()})),(0,i.dl)((()=>{S()})),(0,i.se)((()=>{C()})),(0,i.Jd)((()=>{C()})),()=>{if(void 0!==t.default)return"__qtable"===e.type?p({ref:a,class:"q-table__middle "+x.value},_()):(0,i.h)(b[e.type],{...n,ref:a,class:[n.class,x.value],...y.value},_);console.error("QVirtualScroll: default scoped slot is required for rendering")}}});var w=n(7887),k=n(244);const S={xs:2,sm:4,md:6,lg:10,xl:14};function C(e,t,n){return{transform:!0===t?`translateX(${!0===n.lang.rtl?"-":""}100%) scale3d(${-e},1,1)`:`scale3d(${e},1,1)`}}const _=(0,u.L)({name:"QLinearProgress",props:{...c.S,...k.LU,value:{type:Number,default:0},buffer:Number,color:String,trackColor:String,reverse:Boolean,stripe:Boolean,indeterminate:Boolean,query:Boolean,rounded:Boolean,animationSpeed:{type:[String,Number],default:2100},instantFeedback:Boolean},setup(e,{slots:t}){const{proxy:n}=(0,i.FN)(),r=(0,c.Z)(e,n.$q),a=(0,k.ZP)(e,S),s=(0,o.Fl)((()=>!0===e.indeterminate||!0===e.query)),l=(0,o.Fl)((()=>e.reverse!==e.query)),u=(0,o.Fl)((()=>({...null!==a.value?a.value:{},"--q-linear-progress-speed":`${e.animationSpeed}ms`}))),h=(0,o.Fl)((()=>"q-linear-progress"+(void 0!==e.color?` text-${e.color}`:"")+(!0===e.reverse||!0===e.query?" q-linear-progress--reverse":"")+(!0===e.rounded?" rounded-borders":""))),f=(0,o.Fl)((()=>C(void 0!==e.buffer?e.buffer:1,l.value,n.$q))),p=(0,o.Fl)((()=>`with${!0===e.instantFeedback?"out":""}-transition`)),g=(0,o.Fl)((()=>`q-linear-progress__track absolute-full q-linear-progress__track--${p.value} q-linear-progress__track--`+(!0===r.value?"dark":"light")+(void 0!==e.trackColor?` bg-${e.trackColor}`:""))),v=(0,o.Fl)((()=>C(!0===s.value?1:e.value,l.value,n.$q))),m=(0,o.Fl)((()=>`q-linear-progress__model absolute-full q-linear-progress__model--${p.value} q-linear-progress__model--${!0===s.value?"in":""}determinate`)),b=(0,o.Fl)((()=>({width:100*e.value+"%"}))),x=(0,o.Fl)((()=>"q-linear-progress__stripe absolute-"+(!0===e.reverse?"right":"left")+` q-linear-progress__stripe--${p.value}`));return()=>{const n=[(0,i.h)("div",{class:g.value,style:f.value}),(0,i.h)("div",{class:m.value,style:v.value})];return!0===e.stripe&&!1===s.value&&n.push((0,i.h)("div",{class:x.value,style:b.value})),(0,i.h)("div",{class:h.value,style:u.value,role:"progressbar","aria-valuemin":0,"aria-valuemax":1,"aria-valuenow":!0===e.indeterminate?void 0:e.value},(0,d.vs)(t.default,n))}}});var A=n(1221),P=n(8879),L=n(5310),j=n(2046);let T=0;const F={fullscreen:Boolean,noRouteFullscreenExit:Boolean},E=["update:fullscreen","fullscreen"];function O(){const e=(0,i.FN)(),{props:t,emit:n,proxy:r}=e;let a,s,l;const c=(0,o.iH)(!1);function u(){!0===c.value?h():d()}function d(){!0!==c.value&&(c.value=!0,l=r.$el.parentNode,l.replaceChild(s,r.$el),document.body.appendChild(r.$el),T++,1===T&&document.body.classList.add("q-body--fullscreen-mixin"),a={handler:h},L.Z.add(a))}function h(){!0===c.value&&(void 0!==a&&(L.Z.remove(a),a=void 0),l.replaceChild(r.$el,s),c.value=!1,T=Math.max(0,T-1),0===T&&(document.body.classList.remove("q-body--fullscreen-mixin"),void 0!==r.$el.scrollIntoView&&setTimeout((()=>{r.$el.scrollIntoView()}))))}return!0===(0,j.Rb)(e)&&(0,i.YP)((()=>r.$route.fullPath),(()=>{!0!==t.noRouteFullscreenExit&&h()})),(0,i.YP)((()=>t.fullscreen),(e=>{c.value!==e&&u()})),(0,i.YP)(c,(e=>{n("update:fullscreen",e),n("fullscreen",e)})),(0,i.wF)((()=>{s=document.createElement("span")})),(0,i.bv)((()=>{!0===t.fullscreen&&d()})),(0,i.Jd)(h),Object.assign(r,{toggleFullscreen:u,setFullscreen:d,exitFullscreen:h}),{inFullscreen:c,toggleFullscreen:u}}function M(e,t){return new Date(e)-new Date(t)}var R=n(4680);const I={sortMethod:Function,binaryStateSort:Boolean,columnSortOrder:{type:String,validator:e=>"ad"===e||"da"===e,default:"ad"}};function z(e,t,n,i){const r=(0,o.Fl)((()=>{const{sortBy:e}=t.value;return e&&n.value.find((t=>t.name===e))||null})),a=(0,o.Fl)((()=>void 0!==e.sortMethod?e.sortMethod:(e,t,i)=>{const o=n.value.find((e=>e.name===t));if(void 0===o||void 0===o.field)return e;const r=!0===i?-1:1,a="function"===typeof o.field?e=>o.field(e):e=>e[o.field];return e.sort(((e,t)=>{let n=a(e),i=a(t);return null===n||void 0===n?-1*r:null===i||void 0===i?1*r:void 0!==o.sort?o.sort(n,i,e,t)*r:!0===(0,R.hj)(n)&&!0===(0,R.hj)(i)?(n-i)*r:!0===(0,R.J_)(n)&&!0===(0,R.J_)(i)?M(n,i)*r:"boolean"===typeof n&&"boolean"===typeof i?(n-i)*r:([n,i]=[n,i].map((e=>(e+"").toLocaleString().toLowerCase())),ne.name===o));void 0!==e&&e.sortOrder&&(r=e.sortOrder)}let{sortBy:a,descending:s}=t.value;a!==o?(a=o,s="da"===r):!0===e.binaryStateSort?s=!s:!0===s?"ad"===r?a=null:s=!1:"ad"===r?s=!0:a=null,i({sortBy:a,descending:s,page:1})}return{columnToSort:r,computedSortMethod:a,sort:s}}const H={filter:[String,Object],filterMethod:Function};function N(e,t){const n=(0,o.Fl)((()=>void 0!==e.filterMethod?e.filterMethod:(e,t,n,i)=>{const o=t?t.toLowerCase():"";return e.filter((e=>n.some((t=>{const n=i(t,e)+"",r="undefined"===n||"null"===n?"":n.toLowerCase();return-1!==r.indexOf(o)}))))}));return(0,i.YP)((()=>e.filter),(()=>{(0,i.Y3)((()=>{t({page:1},!0)}))}),{deep:!0}),{computedFilterMethod:n}}function q(e,t){for(const n in t)if(t[n]!==e[n])return!1;return!0}function D(e){return e.page<1&&(e.page=1),void 0!==e.rowsPerPage&&e.rowsPerPage<1&&(e.rowsPerPage=0),e}const B={pagination:Object,rowsPerPageOptions:{type:Array,default:()=>[5,7,10,15,20,25,50,0]},"onUpdate:pagination":[Function,Array]};function Y(e,t){const{props:n,emit:r}=e,a=(0,o.iH)(Object.assign({sortBy:null,descending:!1,page:1,rowsPerPage:n.rowsPerPageOptions.length>0?n.rowsPerPageOptions[0]:5},n.pagination)),s=(0,o.Fl)((()=>{const e=void 0!==n["onUpdate:pagination"]?{...a.value,...n.pagination}:a.value;return D(e)})),l=(0,o.Fl)((()=>void 0!==s.value.rowsNumber));function c(e){u({pagination:e,filter:n.filter})}function u(e={}){(0,i.Y3)((()=>{r("request",{pagination:e.pagination||s.value,filter:e.filter||n.filter,getCellValue:t})}))}function d(e,t){const i=D({...s.value,...e});!0!==q(s.value,i)?!0!==l.value?void 0!==n.pagination&&void 0!==n["onUpdate:pagination"]?r("update:pagination",i):a.value=i:c(i):!0===l.value&&!0===t&&c(i)}return{innerPagination:a,computedPagination:s,isServerSide:l,requestServerInteraction:u,setPagination:d}}function X(e,t,n,r,a,s){const{props:l,emit:c,proxy:{$q:u}}=e,d=(0,o.Fl)((()=>!0===r.value?n.value.rowsNumber||0:s.value)),h=(0,o.Fl)((()=>{const{page:e,rowsPerPage:t}=n.value;return(e-1)*t})),f=(0,o.Fl)((()=>{const{page:e,rowsPerPage:t}=n.value;return e*t})),p=(0,o.Fl)((()=>1===n.value.page)),g=(0,o.Fl)((()=>0===n.value.rowsPerPage?1:Math.max(1,Math.ceil(d.value/n.value.rowsPerPage)))),v=(0,o.Fl)((()=>0===f.value||n.value.page>=g.value)),m=(0,o.Fl)((()=>{const e=l.rowsPerPageOptions.includes(t.value.rowsPerPage)?l.rowsPerPageOptions:[t.value.rowsPerPage].concat(l.rowsPerPageOptions);return e.map((e=>({label:0===e?u.lang.table.allRows:""+e,value:e})))}));function b(){a({page:1})}function x(){const{page:e}=n.value;e>1&&a({page:e-1})}function y(){const{page:e,rowsPerPage:t}=n.value;f.value>0&&e*t{if(e===t)return;const i=n.value.page;e&&!i?a({page:1}):e["single","multiple","none"].includes(e)},selected:{type:Array,default:()=>[]}},W=["update:selected","selection"];function $(e,t,n,i){const r=(0,o.Fl)((()=>{const t={};return e.selected.map(i.value).forEach((e=>{t[e]=!0})),t})),a=(0,o.Fl)((()=>"none"!==e.selection)),s=(0,o.Fl)((()=>"single"===e.selection)),l=(0,o.Fl)((()=>"multiple"===e.selection)),c=(0,o.Fl)((()=>n.value.length>0&&n.value.every((e=>!0===r.value[i.value(e)])))),u=(0,o.Fl)((()=>!0!==c.value&&n.value.some((e=>!0===r.value[i.value(e)])))),d=(0,o.Fl)((()=>e.selected.length));function h(e){return!0===r.value[e]}function f(){t("update:selected",[])}function p(n,o,r,a){t("selection",{rows:o,added:r,keys:n,evt:a});const l=!0===s.value?!0===r?o:[]:!0===r?e.selected.concat(o):e.selected.filter((e=>!1===n.includes(i.value(e))));t("update:selected",l)}return{hasSelectionMode:a,singleSelection:s,multipleSelection:l,allRowsSelected:c,someRowsSelected:u,rowsSelectedNumber:d,isRowSelected:h,clearSelection:f,updateSelection:p}}function U(e){return Array.isArray(e)?e.slice():[]}const Z={expanded:Array},G=["update:expanded"];function K(e,t){const n=(0,o.iH)(U(e.expanded));function r(e){return n.value.includes(e)}function a(i){void 0!==e.expanded?t("update:expanded",i):n.value=i}function s(e,t){const i=n.value.slice(),o=i.indexOf(e);!0===t?-1===o&&(i.push(e),a(i)):-1!==o&&(i.splice(o,1),a(i))}return(0,i.YP)((()=>e.expanded),(e=>{n.value=U(e)})),{isRowExpanded:r,setExpanded:a,updateExpanded:s}}const J={visibleColumns:Array};function Q(e,t,n){const i=(0,o.Fl)((()=>{if(void 0!==e.columns)return e.columns;const t=e.rows[0];return void 0!==t?Object.keys(t).map((e=>({name:e,label:e.toUpperCase(),field:e,align:(0,R.hj)(t[e])?"right":"left",sortable:!0}))):[]})),r=(0,o.Fl)((()=>{const{sortBy:n,descending:o}=t.value,r=void 0!==e.visibleColumns?i.value.filter((t=>!0===t.required||!0===e.visibleColumns.includes(t.name))):i.value;return r.map((e=>{const t=e.align||"right",i=`text-${t}`;return{...e,align:t,__iconClass:`q-table__sort-icon q-table__sort-icon--${t}`,__thClass:i+(void 0!==e.headerClasses?" "+e.headerClasses:"")+(!0===e.sortable?" sortable":"")+(e.name===n?" sorted "+(!0===o?"sort-desc":""):""),__tdStyle:void 0!==e.style?"function"!==typeof e.style?()=>e.style:e.style:()=>null,__tdClass:void 0!==e.classes?"function"!==typeof e.classes?()=>i+" "+e.classes:t=>i+" "+e.classes(t):()=>i}}))})),a=(0,o.Fl)((()=>{const e={};return r.value.forEach((t=>{e[t.name]=t})),e})),s=(0,o.Fl)((()=>void 0!==e.tableColspan?e.tableColspan:r.value.length+(!0===n.value?1:0)));return{colList:i,computedCols:r,computedColsMap:a,computedColspan:s}}var ee=n(3251);const te="q-table__bottom row items-center",ne={};g.If.forEach((e=>{ne[e]={}}));const ie=(0,u.L)({name:"QTable",props:{rows:{type:Array,default:()=>[]},rowKey:{type:[String,Function],default:"id"},columns:Array,loading:Boolean,iconFirstPage:String,iconPrevPage:String,iconNextPage:String,iconLastPage:String,title:String,hideHeader:Boolean,grid:Boolean,gridHeader:Boolean,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,separator:{type:String,default:"horizontal",validator:e=>["horizontal","vertical","cell","none"].includes(e)},wrapCells:Boolean,virtualScroll:Boolean,virtualScrollTarget:{default:void 0},...ne,noDataLabel:String,noResultsLabel:String,loadingLabel:String,selectedRowsLabel:Function,rowsPerPageLabel:String,paginationLabel:Function,color:{type:String,default:"grey-8"},titleClass:[String,Array,Object],tableStyle:[String,Array,Object],tableClass:[String,Array,Object],tableHeaderStyle:[String,Array,Object],tableHeaderClass:[String,Array,Object],cardContainerClass:[String,Array,Object],cardContainerStyle:[String,Array,Object],cardStyle:[String,Array,Object],cardClass:[String,Array,Object],hideBottom:Boolean,hideSelectedBanner:Boolean,hideNoData:Boolean,hidePagination:Boolean,onRowClick:Function,onRowDblclick:Function,onRowContextmenu:Function,...c.S,...F,...J,...H,...B,...Z,...V,...I},emits:["request","virtualScroll",...E,...G,...W],setup(e,{slots:t,emit:n}){const l=(0,i.FN)(),{proxy:{$q:u}}=l,d=(0,c.Z)(e,u),{inFullscreen:h,toggleFullscreen:f}=O(),v=(0,o.Fl)((()=>"function"===typeof e.rowKey?e.rowKey:t=>t[e.rowKey])),m=(0,o.iH)(null),b=(0,o.iH)(null),x=(0,o.Fl)((()=>!0!==e.grid&&!0===e.virtualScroll)),k=(0,o.Fl)((()=>" q-table__card"+(!0===d.value?" q-table__card--dark q-dark":"")+(!0===e.square?" q-table--square":"")+(!0===e.flat?" q-table--flat":"")+(!0===e.bordered?" q-table--bordered":""))),S=(0,o.Fl)((()=>`q-table__container q-table--${e.separator}-separator column no-wrap`+(!0===e.grid?" q-table--grid":k.value)+(!0===d.value?" q-table--dark":"")+(!0===e.dense?" q-table--dense":"")+(!1===e.wrapCells?" q-table--no-wrap":"")+(!0===h.value?" fullscreen scroll":""))),C=(0,o.Fl)((()=>S.value+(!0===e.loading?" q-table--loading":"")));(0,i.YP)((()=>e.tableStyle+e.tableClass+e.tableHeaderStyle+e.tableHeaderClass+S.value),(()=>{!0===x.value&&null!==b.value&&b.value.reset()}));const{innerPagination:L,computedPagination:j,isServerSide:T,requestServerInteraction:F,setPagination:E}=Y(l,Ie),{computedFilterMethod:M}=N(e,E),{isRowExpanded:R,setExpanded:I,updateExpanded:H}=K(e,n),q=(0,o.Fl)((()=>{let t=e.rows;if(!0===T.value||0===t.length)return t;const{sortBy:n,descending:i}=j.value;return e.filter&&(t=M.value(t,e.filter,ae.value,Ie)),null!==ce.value&&(t=ue.value(e.rows===t?t.slice():t,n,i)),t})),D=(0,o.Fl)((()=>q.value.length)),B=(0,o.Fl)((()=>{let t=q.value;if(!0===T.value)return t;const{rowsPerPage:n}=j.value;return 0!==n&&(0===he.value&&e.rows!==t?t.length>fe.value&&(t=t.slice(0,fe.value)):t=t.slice(he.value,fe.value)),t})),{hasSelectionMode:V,singleSelection:W,multipleSelection:U,allRowsSelected:Z,someRowsSelected:G,rowsSelectedNumber:J,isRowSelected:ne,clearSelection:ie,updateSelection:oe}=$(e,n,B,v),{colList:re,computedCols:ae,computedColsMap:se,computedColspan:le}=Q(e,j,V),{columnToSort:ce,computedSortMethod:ue,sort:de}=z(e,j,re,E),{firstRowIndex:he,lastRowIndex:fe,isFirstPage:pe,isLastPage:ge,pagesNumber:ve,computedRowsPerPageOptions:me,computedRowsNumber:be,firstPage:xe,prevPage:ye,nextPage:we,lastPage:ke}=X(l,L,j,T,E,D),Se=(0,o.Fl)((()=>0===B.value.length)),Ce=(0,o.Fl)((()=>{const t={};return g.If.forEach((n=>{t[n]=e[n]})),void 0===t.virtualScrollItemSize&&(t.virtualScrollItemSize=!0===e.dense?28:48),t}));function _e(){!0===x.value&&b.value.reset()}function Ae(){if(!0===e.grid)return Ze();const n=!0!==e.hideHeader?qe:null;if(!0===x.value){const o=t["top-row"],r=t["bottom-row"],a={default:e=>Te(e.item,t.body,e.index)};if(void 0!==o){const e=(0,i.h)("tbody",o({cols:ae.value}));a.before=null===n?()=>e:()=>[n()].concat(e)}else null!==n&&(a.before=n);return void 0!==r&&(a.after=()=>(0,i.h)("tbody",r({cols:ae.value}))),(0,i.h)(y,{ref:b,class:e.tableClass,style:e.tableStyle,...Ce.value,scrollTarget:e.virtualScrollTarget,items:B.value,type:"__qtable",tableColspan:le.value,onVirtualScroll:Le},a)}const o=[Fe()];return null!==n&&o.unshift(n()),p({class:["q-table__middle scroll",e.tableClass],style:e.tableStyle},o)}function Pe(t,i){if(null!==b.value)return void b.value.scrollTo(t,i);t=parseInt(t,10);const o=m.value.querySelector(`tbody tr:nth-of-type(${t+1})`);if(null!==o){const i=m.value.querySelector(".q-table__middle.scroll"),r=o.offsetTop-e.virtualScrollStickySizeStart,a=r{const n=t[`body-cell-${e.name}`],r=void 0!==n?n:c;return void 0!==r?r(Oe({key:s,row:o,pageIndex:a,col:e})):(0,i.h)("td",{class:e.__tdClass(o),style:e.__tdStyle(o)},Ie(e,o))}));if(!0===V.value){const n=t["body-selection"],r=void 0!==n?n(Me({key:s,row:o,pageIndex:a})):[(0,i.h)(A.Z,{modelValue:l,color:e.color,dark:d.value,dense:e.dense,"onUpdate:modelValue":(e,t)=>{oe([s],[o],e,t)}})];u.unshift((0,i.h)("td",{class:"q-table--col-auto-width"},r))}const h={key:s,class:{selected:l}};return void 0!==e.onRowClick&&(h.class["cursor-pointer"]=!0,h.onClick=e=>{n("RowClick",e,o,a)}),void 0!==e.onRowDblclick&&(h.class["cursor-pointer"]=!0,h.onDblclick=e=>{n("RowDblclick",e,o,a)}),void 0!==e.onRowContextmenu&&(h.class["cursor-pointer"]=!0,h.onContextmenu=e=>{n("RowContextmenu",e,o,a)}),(0,i.h)("tr",h,u)}function Fe(){const e=t.body,n=t["top-row"],o=t["bottom-row"];let r=B.value.map(((t,n)=>Te(t,e,n)));return void 0!==n&&(r=n({cols:ae.value}).concat(r)),void 0!==o&&(r=r.concat(o({cols:ae.value}))),(0,i.h)("tbody",r)}function Ee(e){return Re(e),e.cols=e.cols.map((t=>(0,ee.g)({...t},"value",(()=>Ie(t,e.row))))),e}function Oe(e){return Re(e),(0,ee.g)(e,"value",(()=>Ie(e.col,e.row))),e}function Me(e){return Re(e),e}function Re(t){Object.assign(t,{cols:ae.value,colsMap:se.value,sort:de,rowIndex:he.value+t.pageIndex,color:e.color,dark:d.value,dense:e.dense}),!0===V.value&&(0,ee.g)(t,"selected",(()=>ne(t.key)),((e,n)=>{oe([t.key],[t.row],e,n)})),(0,ee.g)(t,"expand",(()=>R(t.key)),(e=>{H(t.key,e)}))}function Ie(e,t){const n="function"===typeof e.field?e.field(t):t[e.field];return void 0!==e.format?e.format(n,t):n}const ze=(0,o.Fl)((()=>({pagination:j.value,pagesNumber:ve.value,isFirstPage:pe.value,isLastPage:ge.value,firstPage:xe,prevPage:ye,nextPage:we,lastPage:ke,inFullscreen:h.value,toggleFullscreen:f})));function He(){const n=t.top,o=t["top-left"],r=t["top-right"],a=t["top-selection"],s=!0===V.value&&void 0!==a&&J.value>0,l="q-table__top relative-position row items-center";if(void 0!==n)return(0,i.h)("div",{class:l},[n(ze.value)]);let c;return!0===s?c=a(ze.value).slice():(c=[],void 0!==o?c.push((0,i.h)("div",{class:"q-table-control"},[o(ze.value)])):e.title&&c.push((0,i.h)("div",{class:"q-table__control"},[(0,i.h)("div",{class:["q-table__title",e.titleClass]},e.title)]))),void 0!==r&&(c.push((0,i.h)("div",{class:"q-table__separator col"})),c.push((0,i.h)("div",{class:"q-table__control"},[r(ze.value)]))),0!==c.length?(0,i.h)("div",{class:l},c):void 0}const Ne=(0,o.Fl)((()=>!0===G.value?null:Z.value));function qe(){const n=De();return!0===e.loading&&void 0===t.loading&&n.push((0,i.h)("tr",{class:"q-table__progress"},[(0,i.h)("th",{class:"relative-position",colspan:le.value},je())])),(0,i.h)("thead",n)}function De(){const n=t.header,o=t["header-cell"];if(void 0!==n)return n(Be({header:!0})).slice();const a=ae.value.map((e=>{const n=t[`header-cell-${e.name}`],a=void 0!==n?n:o,s=Be({col:e});return void 0!==a?a(s):(0,i.h)(r.Z,{key:e.name,props:s},(()=>e.label))}));if(!0===W.value&&!0!==e.grid)a.unshift((0,i.h)("th",{class:"q-table--col-auto-width"}," "));else if(!0===U.value){const n=t["header-selection"],o=void 0!==n?n(Be({})):[(0,i.h)(A.Z,{color:e.color,modelValue:Ne.value,dark:d.value,dense:e.dense,"onUpdate:modelValue":Ye})];a.unshift((0,i.h)("th",{class:"q-table--col-auto-width"},o))}return[(0,i.h)("tr",{class:e.tableHeaderClass,style:e.tableHeaderStyle},a)]}function Be(t){return Object.assign(t,{cols:ae.value,sort:de,colsMap:se.value,color:e.color,dark:d.value,dense:e.dense}),!0===U.value&&(0,ee.g)(t,"selected",(()=>Ne.value),Ye),t}function Ye(e){!0===G.value&&(e=!1),oe(B.value.map(v.value),B.value,e)}const Xe=(0,o.Fl)((()=>{const t=[e.iconFirstPage||u.iconSet.table.firstPage,e.iconPrevPage||u.iconSet.table.prevPage,e.iconNextPage||u.iconSet.table.nextPage,e.iconLastPage||u.iconSet.table.lastPage];return!0===u.lang.rtl?t.reverse():t}));function Ve(){if(!0===e.hideBottom)return;if(!0===Se.value){if(!0===e.hideNoData)return;const n=!0===e.loading?e.loadingLabel||u.lang.table.loading:e.filter?e.noResultsLabel||u.lang.table.noResults:e.noDataLabel||u.lang.table.noData,o=t["no-data"],r=void 0!==o?[o({message:n,icon:u.iconSet.table.warning,filter:e.filter})]:[(0,i.h)(s.Z,{class:"q-table__bottom-nodata-icon",name:u.iconSet.table.warning}),n];return(0,i.h)("div",{class:te+" q-table__bottom--nodata"},r)}const n=t.bottom;if(void 0!==n)return(0,i.h)("div",{class:te},[n(ze.value)]);const o=!0!==e.hideSelectedBanner&&!0===V.value&&J.value>0?[(0,i.h)("div",{class:"q-table__control"},[(0,i.h)("div",[(e.selectedRowsLabel||u.lang.table.selectedRecords)(J.value)])])]:[];return!0!==e.hidePagination?(0,i.h)("div",{class:te+" justify-end"},$e(o)):o.length>0?(0,i.h)("div",{class:te},o):void 0}function We(e){E({page:1,rowsPerPage:e.value})}function $e(n){let o;const{rowsPerPage:r}=j.value,a=e.paginationLabel||u.lang.table.pagination,s=t.pagination,l=e.rowsPerPageOptions.length>1;if(n.push((0,i.h)("div",{class:"q-table__separator col"})),!0===l&&n.push((0,i.h)("div",{class:"q-table__control"},[(0,i.h)("span",{class:"q-table__bottom-item"},[e.rowsPerPageLabel||u.lang.table.recordsPerPage]),(0,i.h)(w.Z,{class:"q-table__select inline q-table__bottom-item",color:e.color,modelValue:r,options:me.value,displayValue:0===r?u.lang.table.allRows:r,dark:d.value,borderless:!0,dense:!0,optionsDense:!0,optionsCover:!0,"onUpdate:modelValue":We})])),void 0!==s)o=s(ze.value);else if(o=[(0,i.h)("span",0!==r?{class:"q-table__bottom-item"}:{},[r?a(he.value+1,Math.min(fe.value,be.value),be.value):a(1,D.value,be.value)])],0!==r&&ve.value>1){const t={color:e.color,round:!0,dense:!0,flat:!0};!0===e.dense&&(t.size="sm"),ve.value>2&&o.push((0,i.h)(P.Z,{key:"pgFirst",...t,icon:Xe.value[0],disable:pe.value,onClick:xe})),o.push((0,i.h)(P.Z,{key:"pgPrev",...t,icon:Xe.value[1],disable:pe.value,onClick:ye}),(0,i.h)(P.Z,{key:"pgNext",...t,icon:Xe.value[2],disable:ge.value,onClick:we})),ve.value>2&&o.push((0,i.h)(P.Z,{key:"pgLast",...t,icon:Xe.value[3],disable:ge.value,onClick:ke}))}return n.push((0,i.h)("div",{class:"q-table__control"},o)),n}function Ue(){const n=!0===e.gridHeader?[(0,i.h)("table",{class:"q-table"},[qe(i.h)])]:!0===e.loading&&void 0===t.loading?je(i.h):void 0;return(0,i.h)("div",{class:"q-table__middle"},n)}function Ze(){const o=void 0!==t.item?t.item:o=>{const r=o.cols.map((e=>(0,i.h)("div",{class:"q-table__grid-item-row"},[(0,i.h)("div",{class:"q-table__grid-item-title"},[e.label]),(0,i.h)("div",{class:"q-table__grid-item-value"},[e.value])])));if(!0===V.value){const n=t["body-selection"],s=void 0!==n?n(o):[(0,i.h)(A.Z,{modelValue:o.selected,color:e.color,dark:d.value,dense:e.dense,"onUpdate:modelValue":(e,t)=>{oe([o.key],[o.row],e,t)}})];r.unshift((0,i.h)("div",{class:"q-table__grid-item-row"},s),(0,i.h)(a.Z,{dark:d.value}))}const s={class:["q-table__grid-item-card"+k.value,e.cardClass],style:e.cardStyle};return void 0===e.onRowClick&&void 0===e.onRowDblclick||(s.class[0]+=" cursor-pointer",void 0!==e.onRowClick&&(s.onClick=e=>{n("RowClick",e,o.row,o.pageIndex)}),void 0!==e.onRowDblclick&&(s.onDblclick=e=>{n("RowDblclick",e,o.row,o.pageIndex)})),(0,i.h)("div",{class:"q-table__grid-item col-xs-12 col-sm-6 col-md-4 col-lg-3"+(!0===o.selected?" q-table__grid-item--selected":"")},[(0,i.h)("div",s,r)])};return(0,i.h)("div",{class:["q-table__grid-content row",e.cardContainerClass],style:e.cardContainerStyle},B.value.map(((e,t)=>o(Ee({key:v.value(e),row:e,pageIndex:t})))))}return Object.assign(l.proxy,{requestServerInteraction:F,setPagination:E,firstPage:xe,prevPage:ye,nextPage:we,lastPage:ke,isRowSelected:ne,clearSelection:ie,isRowExpanded:R,setExpanded:I,sort:de,resetVirtualScroll:_e,scrollTo:Pe,getCellValue:Ie}),(0,ee.K)(l.proxy,{filteredSortedRows:()=>q.value,computedRows:()=>B.value,computedRowsNumber:()=>be.value}),()=>{const n=[He()],o={ref:m,class:C.value};return!0===e.grid?n.push(Ue()):Object.assign(o,{class:[o.class,e.cardClass],style:e.cardStyle}),n.push(Ae(),Ve()),!0===e.loading&&void 0!==t.loading&&n.push(t.loading()),(0,i.h)("div",o,n)}}})},7220:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var i=n(9835),o=n(499),r=n(5987),a=n(2026);const s=(0,r.L)({name:"QTd",props:{props:Object,autoWidth:Boolean,noHover:Boolean},setup(e,{slots:t}){const n=(0,i.FN)(),r=(0,o.Fl)((()=>"q-td"+(!0===e.autoWidth?" q-table--col-auto-width":"")+(!0===e.noHover?" q-td--no-hover":"")+" "));return()=>{if(void 0===e.props)return(0,i.h)("td",{class:r.value},(0,a.KR)(t.default));const o=n.vnode.key,s=(void 0!==e.props.colsMap?e.props.colsMap[o]:null)||e.props.col;if(void 0===s)return;const{row:l}=e.props;return(0,i.h)("td",{class:r.value+s.__tdClass(l),style:s.__tdStyle(l)},(0,a.KR)(t.default))}}})},1682:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var i=n(9835),o=n(2857),r=n(5987),a=n(2026);const s=(0,r.L)({name:"QTh",props:{props:Object,autoWidth:Boolean},emits:["click"],setup(e,{slots:t,emit:n}){const r=(0,i.FN)(),{proxy:{$q:s}}=r,l=e=>{n("click",e)};return()=>{if(void 0===e.props)return(0,i.h)("th",{class:!0===e.autoWidth?"q-table--col-auto-width":"",onClick:l},(0,a.KR)(t.default));let n,c;const u=r.vnode.key;if(u){if(n=e.props.colsMap[u],void 0===n)return}else n=e.props.col;if(!0===n.sortable){const e="right"===n.align?"unshift":"push";c=(0,a.Bl)(t.default,[]),c[e]((0,i.h)(o.Z,{class:n.__iconClass,name:s.iconSet.table.arrowUp}))}else c=(0,a.KR)(t.default);const d={class:n.__thClass+(!0===e.autoWidth?" q-table--col-auto-width":""),style:n.headerStyle,onClick:t=>{!0===n.sortable&&e.props.sort(n),l(t)}};return(0,i.h)("th",d,c)}}})},9546:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var i=n(499),o=n(9835),r=n(5987),a=n(2026);const s=(0,r.L)({name:"QTr",props:{props:Object,noHover:Boolean},setup(e,{slots:t}){const n=(0,i.Fl)((()=>"q-tr"+(void 0===e.props||!0===e.props.header?"":" "+e.props.__trClass)+(!0===e.noHover?" q-tr--no-hover":"")));return()=>(0,o.h)("tr",{class:n.value},(0,a.KR)(t.default))}})},900:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var i=n(9835),o=n(499),r=n(2857),a=n(1136),s=n(2026),l=n(1705),c=n(5439),u=n(1384),d=n(796),h=n(4680);let f=0;const p=["click","keydown"],g={icon:String,label:[Number,String],alert:[Boolean,String],alertIcon:String,name:{type:[Number,String],default:()=>"t_"+f++},noCaps:Boolean,tabindex:[String,Number],disable:Boolean,contentClass:String,ripple:{type:[Boolean,Object],default:!0}};function v(e,t,n,f){const p=(0,i.f3)(c.Nd,c.qO);if(p===c.qO)return console.error("QTab/QRouteTab component needs to be child of QTabs"),c.qO;const{proxy:g}=(0,i.FN)(),v=(0,o.iH)(null),m=(0,o.iH)(null),b=(0,o.iH)(null),x=(0,o.Fl)((()=>!0!==e.disable&&!1!==e.ripple&&Object.assign({keyCodes:[13,32],early:!0},!0===e.ripple?{}:e.ripple))),y=(0,o.Fl)((()=>p.currentModel.value===e.name)),w=(0,o.Fl)((()=>"q-tab relative-position self-stretch flex flex-center text-center"+(!0===y.value?" q-tab--active"+(p.tabProps.value.activeClass?" "+p.tabProps.value.activeClass:"")+(p.tabProps.value.activeColor?` text-${p.tabProps.value.activeColor}`:"")+(p.tabProps.value.activeBgColor?` bg-${p.tabProps.value.activeBgColor}`:""):" q-tab--inactive")+(e.icon&&e.label&&!1===p.tabProps.value.inlineLabel?" q-tab--full":"")+(!0===e.noCaps||!0===p.tabProps.value.noCaps?" q-tab--no-caps":"")+(!0===e.disable?" disabled":" q-focusable q-hoverable cursor-pointer")+(void 0!==f?f.linkClass.value:""))),k=(0,o.Fl)((()=>"q-tab__content self-stretch flex-center relative-position q-anchor--skip non-selectable "+(!0===p.tabProps.value.inlineLabel?"row no-wrap q-tab__content--inline":"column")+(void 0!==e.contentClass?` ${e.contentClass}`:""))),S=(0,o.Fl)((()=>!0===e.disable||!0===p.hasFocus.value||!1===y.value&&!0===p.hasActiveTab.value?-1:e.tabindex||0));function C(t,i){if(!0!==i&&null!==v.value&&v.value.focus(),!0!==e.disable){if(void 0===f)return p.updateModel({name:e.name}),void n("click",t);if(!0===f.hasRouterLink.value){const i=(n={})=>{let i;const o=void 0===n.to||!0===(0,h.xb)(n.to,e.to)?p.avoidRouteWatcher=(0,d.Z)():null;return f.navigateToRouterLink(t,{...n,returnRouterError:!0}).catch((e=>{i=e})).then((t=>{if(o===p.avoidRouteWatcher&&(p.avoidRouteWatcher=!1,void 0!==i||void 0!==t&&!0!==t.message.startsWith("Avoided redundant navigation")||p.updateModel({name:e.name})),!0===n.returnRouterError)return void 0!==i?Promise.reject(i):t}))};return n("click",t,i),void(!0!==t.defaultPrevented&&i())}n("click",t)}else void 0!==f&&!0===f.hasRouterLink.value&&(0,u.NS)(t)}function _(e){(0,l.So)(e,[13,32])?C(e,!0):!0!==(0,l.Wm)(e)&&e.keyCode>=35&&e.keyCode<=40&&!0!==e.altKey&&!0!==e.metaKey&&!0===p.onKbdNavigate(e.keyCode,g.$el)&&(0,u.NS)(e),n("keydown",e)}function A(){const n=p.tabProps.value.narrowIndicator,o=[],a=(0,i.h)("div",{ref:b,class:["q-tab__indicator",p.tabProps.value.indicatorClass]});void 0!==e.icon&&o.push((0,i.h)(r.Z,{class:"q-tab__icon",name:e.icon})),void 0!==e.label&&o.push((0,i.h)("div",{class:"q-tab__label"},e.label)),!1!==e.alert&&o.push(void 0!==e.alertIcon?(0,i.h)(r.Z,{class:"q-tab__alert-icon",color:!0!==e.alert?e.alert:void 0,name:e.alertIcon}):(0,i.h)("div",{class:"q-tab__alert"+(!0!==e.alert?` text-${e.alert}`:"")})),!0===n&&o.push(a);const l=[(0,i.h)("div",{class:"q-focus-helper",tabindex:-1,ref:v}),(0,i.h)("div",{class:k.value},(0,s.vs)(t.default,o))];return!1===n&&l.push(a),l}const P={name:(0,o.Fl)((()=>e.name)),rootRef:m,tabIndicatorRef:b,routeData:f};function L(t,n){const o={ref:m,class:w.value,tabindex:S.value,role:"tab","aria-selected":!0===y.value?"true":"false","aria-disabled":!0===e.disable?"true":void 0,onClick:C,onKeydown:_,...n};return(0,i.wy)((0,i.h)(t,o,A()),[[a.Z,x.value]])}return(0,i.Jd)((()=>{p.unregisterTab(P)})),(0,i.bv)((()=>{p.registerTab(P)})),{renderTab:L,$tabs:p}}var m=n(5987);const b=(0,m.L)({name:"QTab",props:g,emits:p,setup(e,{slots:t,emit:n}){const{renderTab:i}=v(e,t,n);return()=>i("div")}})},7817:(e,t,n)=>{"use strict";n.d(t,{Z:()=>v});n(702);var i=n(9835),o=n(499),r=n(2857),a=n(883),s=n(6916),l=n(2695),c=n(5987),u=n(1384),d=n(2026),h=n(5439),f=n(8383);function p(e,t,n){const i=!0===n?["left","right"]:["top","bottom"];return`absolute-${!0===t?i[0]:i[1]}${e?` text-${e}`:""}`}const g=["left","center","right","justify"],v=(0,c.L)({name:"QTabs",props:{modelValue:[Number,String],align:{type:String,default:"center",validator:e=>g.includes(e)},breakpoint:{type:[String,Number],default:600},vertical:Boolean,shrink:Boolean,stretch:Boolean,activeClass:String,activeColor:String,activeBgColor:String,indicatorColor:String,leftIcon:String,rightIcon:String,outsideArrows:Boolean,mobileArrows:Boolean,switchIndicator:Boolean,narrowIndicator:Boolean,inlineLabel:Boolean,noCaps:Boolean,dense:Boolean,contentClass:String,"onUpdate:modelValue":[Function,Array]},setup(e,{slots:t,emit:n}){const{proxy:c}=(0,i.FN)(),{$q:g}=c,{registerTick:v}=(0,s.Z)(),{registerTick:m}=(0,s.Z)(),{registerTick:b}=(0,s.Z)(),{registerTimeout:x,removeTimeout:y}=(0,l.Z)(),{registerTimeout:w,removeTimeout:k}=(0,l.Z)(),S=(0,o.iH)(null),C=(0,o.iH)(null),_=(0,o.iH)(e.modelValue),A=(0,o.iH)(!1),P=(0,o.iH)(!0),L=(0,o.iH)(!1),j=(0,o.iH)(!1),T=(0,o.Fl)((()=>!0===g.platform.is.desktop||!0===e.mobileArrows)),F=[],E=(0,o.iH)(0),O=(0,o.iH)(!1);let M,R,I,z=!0===T.value?K:u.ZT;const H=(0,o.Fl)((()=>({activeClass:e.activeClass,activeColor:e.activeColor,activeBgColor:e.activeBgColor,indicatorClass:p(e.indicatorColor,e.switchIndicator,e.vertical),narrowIndicator:e.narrowIndicator,inlineLabel:e.inlineLabel,noCaps:e.noCaps}))),N=(0,o.Fl)((()=>{const e=E.value,t=_.value;for(let n=0;n{const t=!0===A.value?"left":!0===j.value?"justify":e.align;return`q-tabs__content--align-${t}`})),D=(0,o.Fl)((()=>`q-tabs row no-wrap items-center q-tabs--${!0===A.value?"":"not-"}scrollable q-tabs--`+(!0===e.vertical?"vertical":"horizontal")+" q-tabs__arrows--"+(!0===T.value&&!0===e.outsideArrows?"outside":"inside")+(!0===e.dense?" q-tabs--dense":"")+(!0===e.shrink?" col-shrink":"")+(!0===e.stretch?" self-stretch":""))),B=(0,o.Fl)((()=>"q-tabs__content row no-wrap items-center self-stretch hide-scrollbar relative-position "+q.value+(void 0!==e.contentClass?` ${e.contentClass}`:"")+(!0===g.platform.is.mobile?" scroll":""))),Y=(0,o.Fl)((()=>!0===e.vertical?{container:"height",content:"offsetHeight",scroll:"scrollHeight"}:{container:"width",content:"offsetWidth",scroll:"scrollWidth"})),X=(0,o.Fl)((()=>!0!==e.vertical&&!0===g.lang.rtl)),V=(0,o.Fl)((()=>!1===f.e&&!0===X.value));function W({name:t,setCurrent:i,skipEmit:o,fromRoute:r}){_.value!==t&&(!0!==o&&void 0!==e["onUpdate:modelValue"]&&n("update:modelValue",t),!0!==i&&void 0!==e["onUpdate:modelValue"]||(Z(_.value,t),_.value=t))}function $(){v((()=>{U({width:S.value.offsetWidth,height:S.value.offsetHeight})}))}function U(t){if(void 0===Y.value||null===C.value)return;const n=t[Y.value.container],i=Math.min(C.value[Y.value.scroll],Array.prototype.reduce.call(C.value.children,((e,t)=>e+(t[Y.value.content]||0)),0)),o=n>0&&i>n;A.value=o,!0===o&&m(z),j.value=ne.name.value===t)):null,o=void 0!==n&&null!==n&&""!==n?F.find((e=>e.name.value===n)):null;if(i&&o){const t=i.tabIndicatorRef.value,n=o.tabIndicatorRef.value;clearTimeout(M),t.style.transition="none",t.style.transform="none",n.style.transition="none",n.style.transform="none";const r=t.getBoundingClientRect(),a=n.getBoundingClientRect();n.style.transform=!0===e.vertical?`translate3d(0,${r.top-a.top}px,0) scale3d(1,${a.height?r.height/a.height:1},1)`:`translate3d(${r.left-a.left}px,0,0) scale3d(${a.width?r.width/a.width:1},1,1)`,b((()=>{M=setTimeout((()=>{n.style.transition="transform .25s cubic-bezier(.4, 0, .2, 1)",n.style.transform="none"}),70)}))}o&&!0===A.value&&G(o.rootRef.value)}function G(t){const{left:n,width:i,top:o,height:r}=C.value.getBoundingClientRect(),a=t.getBoundingClientRect();let s=!0===e.vertical?a.top-o:a.left-n;if(s<0)return C.value[!0===e.vertical?"scrollTop":"scrollLeft"]+=Math.floor(s),void z();s+=!0===e.vertical?a.height-r:a.width-i,s>0&&(C.value[!0===e.vertical?"scrollTop":"scrollLeft"]+=Math.ceil(s),z())}function K(){const t=C.value;if(null!==t){const n=t.getBoundingClientRect(),i=!0===e.vertical?t.scrollTop:Math.abs(t.scrollLeft);!0===X.value?(P.value=Math.ceil(i+n.width)0):(P.value=i>0,L.value=!0===e.vertical?Math.ceil(i+n.height){!0===oe(e)&&te()}),5)}function Q(){J(!0===V.value?Number.MAX_SAFE_INTEGER:0)}function ee(){J(!0===V.value?0:Number.MAX_SAFE_INTEGER)}function te(){clearInterval(R)}function ne(t,n){const i=Array.prototype.filter.call(C.value.children,(e=>e===n||e.matches&&!0===e.matches(".q-tab.q-focusable"))),o=i.length;if(0===o)return;if(36===t)return G(i[0]),i[0].focus(),!0;if(35===t)return G(i[o-1]),i[o-1].focus(),!0;const r=t===(!0===e.vertical?38:37),a=t===(!0===e.vertical?40:39),s=!0===r?-1:!0===a?1:void 0;if(void 0!==s){const e=!0===X.value?-1:1,t=i.indexOf(n)+s*e;return t>=0&&te.modelValue),(e=>{W({name:e,setCurrent:!0,skipEmit:!0})})),(0,i.YP)((()=>e.outsideArrows),(()=>{$()})),(0,i.YP)(T,(e=>{z=!0===e?K:u.ZT,$()}));const ie=(0,o.Fl)((()=>!0===V.value?{get:e=>Math.abs(e.scrollLeft),set:(e,t)=>{e.scrollLeft=-t}}:!0===e.vertical?{get:e=>e.scrollTop,set:(e,t)=>{e.scrollTop=t}}:{get:e=>e.scrollLeft,set:(e,t)=>{e.scrollLeft=t}}));function oe(e){const t=C.value,{get:n,set:i}=ie.value;let o=!1,r=n(t);const a=e=e)&&(o=!0,r=e),i(t,r),z(),o}function re(e,t){for(const n in e)if(e[n]!==t[n])return!1;return!0}function ae(){let e=null,t={matchedLen:0,queryDiff:9999,hrefLen:0};const n=F.filter((e=>void 0!==e.routeData&&!0===e.routeData.hasRouterLink.value)),{hash:i,query:o}=c.$route,r=Object.keys(o).length;for(const a of n){const n=!0===a.routeData.exact.value;if(!0!==a.routeData[!0===n?"linkIsExactActive":"linkIsActive"].value)continue;const{hash:s,query:l,matched:c,href:u}=a.routeData.resolvedLink.value,d=Object.keys(l).length;if(!0===n){if(s!==i)continue;if(d!==r||!1===re(o,l))continue;e=a.name.value;break}if(""!==s&&s!==i)continue;if(0!==d&&!1===re(l,o))continue;const h={matchedLen:c.length,queryDiff:r-d,hrefLen:u.length-s.length};if(h.matchedLen>t.matchedLen)e=a.name.value,t=h;else if(h.matchedLen===t.matchedLen){if(h.queryDifft.hrefLen&&(e=a.name.value,t=h)}}null===e&&!0===F.some((e=>void 0===e.routeData&&e.name.value===_.value))||W({name:e,setCurrent:!0})}function se(e){if(y(),!0!==O.value&&null!==S.value&&e.target&&"function"===typeof e.target.closest){const t=e.target.closest(".q-tab");t&&!0===S.value.contains(t)&&(O.value=!0,!0===A.value&&G(t))}}function le(){x((()=>{O.value=!1}),30)}function ce(){!1===fe.avoidRouteWatcher?w(ae):k()}function ue(){if(void 0===I){const e=(0,i.YP)((()=>c.$route.fullPath),ce);I=()=>{e(),I=void 0}}}function de(e){F.push(e),E.value++,$(),void 0===e.routeData||void 0===c.$route?w((()=>{if(!0===A.value){const e=_.value,t=void 0!==e&&null!==e&&""!==e?F.find((t=>t.name.value===e)):null;t&&G(t.rootRef.value)}})):(ue(),!0===e.routeData.hasRouterLink.value&&ce())}function he(e){F.splice(F.indexOf(e),1),E.value--,$(),void 0!==I&&void 0!==e.routeData&&(!0===F.every((e=>void 0===e.routeData))&&I(),ce())}const fe={currentModel:_,tabProps:H,hasFocus:O,hasActiveTab:N,registerTab:de,unregisterTab:he,verifyRouteModel:ce,updateModel:W,onKbdNavigate:ne,avoidRouteWatcher:!1};function pe(){clearTimeout(M),te(),void 0!==I&&I()}let ge;return(0,i.JJ)(h.Nd,fe),(0,i.Jd)(pe),(0,i.se)((()=>{ge=void 0!==I,pe()})),(0,i.dl)((()=>{!0===ge&&ue(),$()})),()=>{const n=[(0,i.h)(a.Z,{onResize:U}),(0,i.h)("div",{ref:C,class:B.value,onScroll:z},(0,d.KR)(t.default))];return!0===T.value&&n.push((0,i.h)(r.Z,{class:"q-tabs__arrow q-tabs__arrow--left absolute q-tab__icon"+(!0===P.value?"":" q-tabs__arrow--faded"),name:e.leftIcon||g.iconSet.tabs[!0===e.vertical?"up":"left"],onMousedownPassive:Q,onTouchstartPassive:Q,onMouseupPassive:te,onMouseleavePassive:te,onTouchendPassive:te}),(0,i.h)(r.Z,{class:"q-tabs__arrow q-tabs__arrow--right absolute q-tab__icon"+(!0===L.value?"":" q-tabs__arrow--faded"),name:e.rightIcon||g.iconSet.tabs[!0===e.vertical?"down":"right"],onMousedownPassive:ee,onTouchstartPassive:ee,onMouseupPassive:te,onMouseleavePassive:te,onTouchendPassive:te})),(0,i.h)("div",{ref:S,class:D.value,role:"tablist",onFocusin:se,onFocusout:le},n)}}})},1663:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var i=n(499),o=n(9835),r=n(5987),a=n(2026);const s=(0,r.L)({name:"QToolbar",props:{inset:Boolean},setup(e,{slots:t}){const n=(0,i.Fl)((()=>"q-toolbar row no-wrap items-center"+(!0===e.inset?" q-toolbar--inset":"")));return()=>(0,o.h)("div",{class:n.value,role:"toolbar"},(0,a.KR)(t.default))}})},1973:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var i=n(499),o=n(9835),r=n(5987),a=n(2026);const s=(0,r.L)({name:"QToolbarTitle",props:{shrink:Boolean},setup(e,{slots:t}){const n=(0,i.Fl)((()=>"q-toolbar__title ellipsis"+(!0===e.shrink?" col-shrink":"")));return()=>(0,o.h)("div",{class:n.value},(0,a.KR)(t.default))}})},2043:(e,t,n)=>{"use strict";n.d(t,{If:()=>m,t9:()=>b,vp:()=>x});n(8964),n(5583);var i=n(9835),o=n(499),r=n(899),a=n(1384),s=n(8383);const l=1e3,c=["start","center","end","start-force","center-force","end-force"],u=Array.prototype.filter,d=void 0===window.getComputedStyle(document.body).overflowAnchor?a.ZT:function(e,t){null!==e&&(cancelAnimationFrame(e._qOverflowAnimationFrame),e._qOverflowAnimationFrame=requestAnimationFrame((()=>{if(null===e)return;const n=e.children||[];u.call(n,(e=>e.dataset&&void 0!==e.dataset.qVsAnchor)).forEach((e=>{delete e.dataset.qVsAnchor}));const i=n[t];i&&i.dataset&&(i.dataset.qVsAnchor="")})))};function h(e,t){return e+t}function f(e,t,n,i,o,r,a,l){const c=e===window?document.scrollingElement||document.documentElement:e,u=!0===o?"offsetWidth":"offsetHeight",d={scrollStart:0,scrollViewSize:-a-l,scrollMaxSize:0,offsetStart:-a,offsetEnd:-l};if(!0===o?(e===window?(d.scrollStart=window.pageXOffset||window.scrollX||document.body.scrollLeft||0,d.scrollViewSize+=document.documentElement.clientWidth):(d.scrollStart=c.scrollLeft,d.scrollViewSize+=c.clientWidth),d.scrollMaxSize=c.scrollWidth,!0===r&&(d.scrollStart=(!0===s.e?d.scrollMaxSize-d.scrollViewSize:0)-d.scrollStart)):(e===window?(d.scrollStart=window.pageYOffset||window.scrollY||document.body.scrollTop||0,d.scrollViewSize+=document.documentElement.clientHeight):(d.scrollStart=c.scrollTop,d.scrollViewSize+=c.clientHeight),d.scrollMaxSize=c.scrollHeight),null!==n)for(let s=n.previousElementSibling;null!==s;s=s.previousElementSibling)!1===s.classList.contains("q-virtual-scroll--skip")&&(d.offsetStart+=s[u]);if(null!==i)for(let s=i.nextElementSibling;null!==s;s=s.nextElementSibling)!1===s.classList.contains("q-virtual-scroll--skip")&&(d.offsetEnd+=s[u]);if(t!==e){const n=c.getBoundingClientRect(),i=t.getBoundingClientRect();!0===o?(d.offsetStart+=i.left-n.left,d.offsetEnd-=i.width):(d.offsetStart+=i.top-n.top,d.offsetEnd-=i.height),e!==window&&(d.offsetStart+=d.scrollStart),d.offsetEnd+=d.scrollMaxSize-d.offsetStart}return d}function p(e,t,n,i){"end"===t&&(t=(e===window?document.body:e)[!0===n?"scrollWidth":"scrollHeight"]),e===window?!0===n?(!0===i&&(t=(!0===s.e?document.body.scrollWidth-document.documentElement.clientWidth:0)-t),window.scrollTo(t,window.pageYOffset||window.scrollY||document.body.scrollTop||0)):window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,t):!0===n?(!0===i&&(t=(!0===s.e?e.scrollWidth-e.offsetWidth:0)-t),e.scrollLeft=t):e.scrollTop=t}function g(e,t,n,i){if(n>=i)return 0;const o=t.length,r=Math.floor(n/l),a=Math.floor((i-1)/l)+1;let s=e.slice(r,a).reduce(h,0);return n%l!==0&&(s-=t.slice(r*l,n).reduce(h,0)),i%l!==0&&i!==o&&(s-=t.slice(i,a*l).reduce(h,0)),s}const v={virtualScrollSliceSize:{type:[Number,String],default:null},virtualScrollSliceRatioBefore:{type:[Number,String],default:1},virtualScrollSliceRatioAfter:{type:[Number,String],default:1},virtualScrollItemSize:{type:[Number,String],default:24},virtualScrollStickySizeStart:{type:[Number,String],default:0},virtualScrollStickySizeEnd:{type:[Number,String],default:0},tableColspan:[Number,String]},m=Object.keys(v),b={virtualScrollHorizontal:Boolean,onVirtualScroll:Function,...v};function x({virtualScrollLength:e,getVirtualScrollTarget:t,getVirtualScrollEl:n,virtualScrollItemSizeComputed:a}){const s=(0,i.FN)(),{props:v,emit:m,proxy:b}=s,{$q:x}=b;let y,w,k,S,C=[];const _=(0,o.iH)(0),A=(0,o.iH)(0),P=(0,o.iH)({}),L=(0,o.iH)(null),j=(0,o.iH)(null),T=(0,o.iH)(null),F=(0,o.iH)({from:0,to:0}),E=(0,o.Fl)((()=>void 0!==v.tableColspan?v.tableColspan:100));void 0===a&&(a=(0,o.Fl)((()=>v.virtualScrollItemSize)));const O=(0,o.Fl)((()=>a.value+";"+v.virtualScrollHorizontal)),M=(0,o.Fl)((()=>O.value+";"+v.virtualScrollSliceRatioBefore+";"+v.virtualScrollSliceRatioAfter));function R(){B(w,!0)}function I(e){B(void 0===e?w:e)}function z(i,o){const r=t();if(void 0===r||null===r||8===r.nodeType)return;const a=f(r,n(),L.value,j.value,v.virtualScrollHorizontal,x.lang.rtl,v.virtualScrollStickySizeStart,v.virtualScrollStickySizeEnd);k!==a.scrollViewSize&&Y(a.scrollViewSize),N(r,a,Math.min(e.value-1,Math.max(0,parseInt(i,10)||0)),0,c.indexOf(o)>-1?o:w>-1&&i>w?"end":"start")}function H(){const i=t();if(void 0===i||null===i||8===i.nodeType)return;const o=f(i,n(),L.value,j.value,v.virtualScrollHorizontal,x.lang.rtl,v.virtualScrollStickySizeStart,v.virtualScrollStickySizeEnd),r=e.value-1,a=o.scrollMaxSize-o.offsetStart-o.offsetEnd-A.value;if(y===o.scrollStart)return;if(o.scrollMaxSize<=0)return void N(i,o,0,0);k!==o.scrollViewSize&&Y(o.scrollViewSize),q(F.value.from);const s=Math.floor(o.scrollMaxSize-Math.max(o.scrollViewSize,o.offsetEnd)-Math.min(S[r],o.scrollViewSize/2));if(s>0&&Math.ceil(o.scrollStart)>=s)return void N(i,o,r,o.scrollMaxSize-o.offsetEnd-C.reduce(h,0));let c=0,u=o.scrollStart-o.offsetStart,d=u;if(u<=a&&u+o.scrollViewSize>=_.value)u-=_.value,c=F.value.from,d=u;else for(let e=0;u>=C[e]&&c0&&c-o.scrollViewSize?(c++,d=u):d=S[c]+u;N(i,o,c,d)}function N(t,n,i,o,r){const a="string"===typeof r&&r.indexOf("-force")>-1,s=!0===a?r.replace("-force",""):r,l=void 0!==s?s:"start";let c=Math.max(0,i-P.value[l]),u=c+P.value.total;u>e.value&&(u=e.value,c=Math.max(0,u-P.value.total)),y=n.scrollStart;const f=c!==F.value.from||u!==F.value.to;if(!1===f&&void 0===s)return void V(i);const{activeElement:m}=document,b=T.value;!0===f&&null!==b&&b!==m&&!0===b.contains(m)&&(b.addEventListener("focusout",D),setTimeout((()=>{null!==b&&b.removeEventListener("focusout",D)}))),d(b,i-c);const w=void 0!==s?S.slice(c,i).reduce(h,0):0;if(!0===f){const t=u>=F.value.from&&c<=F.value.to?F.value.to:u;F.value={from:c,to:t},_.value=g(C,S,0,c),A.value=g(C,S,u,e.value),requestAnimationFrame((()=>{F.value.to!==u&&y===n.scrollStart&&(F.value={from:F.value.from,to:u},A.value=g(C,S,u,e.value))}))}requestAnimationFrame((()=>{if(y!==n.scrollStart)return;!0===f&&q(c);const e=S.slice(c,i).reduce(h,0),r=e+n.offsetStart+_.value,l=r+S[i];let u=r+o;if(void 0!==s){const t=e-w,o=n.scrollStart+t;u=!0!==a&&oe.classList&&!1===e.classList.contains("q-virtual-scroll--skip"))),i=n.length,o=!0===v.virtualScrollHorizontal?e=>e.getBoundingClientRect().width:e=>e.offsetHeight;let r,a,s=e;for(let e=0;e=r;i--)S[i]=o;const s=Math.floor((e.value-1)/l);C=[];for(let i=0;i<=s;i++){let t=0;const n=Math.min((i+1)*l,e.value);for(let e=i*l;e=0?(q(F.value.from),(0,i.Y3)((()=>{z(t)}))):W()}function Y(e){if(void 0===e&&"undefined"!==typeof window){const i=t();void 0!==i&&null!==i&&8!==i.nodeType&&(e=f(i,n(),L.value,j.value,v.virtualScrollHorizontal,x.lang.rtl,v.virtualScrollStickySizeStart,v.virtualScrollStickySizeEnd).scrollViewSize)}k=e;const i=parseFloat(v.virtualScrollSliceRatioBefore)||0,o=parseFloat(v.virtualScrollSliceRatioAfter)||0,r=1+i+o,s=void 0===e||e<=0?1:Math.ceil(e/a.value),l=Math.max(1,s,Math.ceil((v.virtualScrollSliceSize>0?v.virtualScrollSliceSize:10)/r));P.value={total:Math.ceil(l*r),start:Math.ceil(l*i),center:Math.ceil(l*(.5+i)),end:Math.ceil(l*(1+i)),view:s}}function X(e,t){const n=!0===v.virtualScrollHorizontal?"width":"height",o={["--q-virtual-scroll-item-"+n]:a.value+"px"};return["tbody"===e?(0,i.h)(e,{class:"q-virtual-scroll__padding",key:"before",ref:L},[(0,i.h)("tr",[(0,i.h)("td",{style:{[n]:`${_.value}px`,...o},colspan:E.value})])]):(0,i.h)(e,{class:"q-virtual-scroll__padding",key:"before",ref:L,style:{[n]:`${_.value}px`,...o}}),(0,i.h)(e,{class:"q-virtual-scroll__content",key:"content",ref:T,tabindex:-1},t.flat()),"tbody"===e?(0,i.h)(e,{class:"q-virtual-scroll__padding",key:"after",ref:j},[(0,i.h)("tr",[(0,i.h)("td",{style:{[n]:`${A.value}px`,...o},colspan:E.value})])]):(0,i.h)(e,{class:"q-virtual-scroll__padding",key:"after",ref:j,style:{[n]:`${A.value}px`,...o}})]}function V(e){w!==e&&(void 0!==v.onVirtualScroll&&m("virtualScroll",{index:e,from:F.value.from,to:F.value.to-1,direction:e{Y()})),(0,i.YP)(O,R),Y();const W=(0,r.Z)(H,!0===x.platform.is.ios?120:35);(0,i.wF)((()=>{Y()}));let $=!1;return(0,i.se)((()=>{$=!0})),(0,i.dl)((()=>{if(!0!==$)return;const e=t();void 0!==y&&void 0!==e&&null!==e&&8!==e.nodeType?p(e,y,v.virtualScrollHorizontal,x.lang.rtl):z(w)})),(0,i.Jd)((()=>{W.cancel()})),Object.assign(b,{scrollTo:z,reset:R,refresh:I}),{virtualScrollSliceRange:F,virtualScrollSliceSizeComputed:P,setVirtualScrollSize:Y,onVirtualScrollEvt:W,localResetVirtualScroll:B,padVirtualScroll:X,scrollTo:z,reset:R,refresh:I}}},5065:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>s,jO:()=>a});var i=n(499);const o={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},r=Object.keys(o),a={align:{type:String,validator:e=>r.includes(e)}};function s(e){return(0,i.Fl)((()=>{const t=void 0===e.align?!0===e.vertical?"stretch":"left":e.align;return`${!0===e.vertical?"items":"justify"}-${o[t]}`}))}},3978:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});n(702);function i(){const e=new Map;return{getCache:function(t,n){return void 0===e[t]?e[t]=n:e[t]},getCacheWithFn:function(t,n){return void 0===e[t]?e[t]=n():e[t]}}}},8234:(e,t,n)=>{"use strict";n.d(t,{S:()=>o,Z:()=>r});var i=n(499);const o={dark:{type:Boolean,default:null}};function r(e,t){return(0,i.Fl)((()=>null===e.dark?t.dark.isActive:e.dark))}},6169:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>M,yV:()=>T,HJ:()=>E,Cl:()=>F,tL:()=>O});var i=n(9835),o=n(499),r=n(1957),a=n(7506),s=n(2857),l=n(3940),c=n(8234),u=(n(702),n(5439));function d({validate:e,resetValidation:t,requiresQForm:n}){const o=(0,i.f3)(u.vh,!1);if(!1!==o){const{props:n,proxy:r}=(0,i.FN)();Object.assign(r,{validate:e,resetValidation:t}),(0,i.YP)((()=>n.disable),(e=>{!0===e?("function"===typeof t&&t(),o.unbindComponent(r)):o.bindComponent(r)})),(0,i.bv)((()=>{!0!==n.disable&&o.bindComponent(r)})),(0,i.Jd)((()=>{!0!==n.disable&&o.unbindComponent(r)}))}else!0===n&&console.error("Parent QForm not found on useFormChild()!")}const h=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,f=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,p=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,g=/^rgb\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5])\)$/,v=/^rgba\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/,m={date:e=>/^-?[\d]+\/[0-1]\d\/[0-3]\d$/.test(e),time:e=>/^([0-1]?\d|2[0-3]):[0-5]\d$/.test(e),fulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d$/.test(e),timeOrFulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/.test(e),email:e=>/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e),hexColor:e=>h.test(e),hexaColor:e=>f.test(e),hexOrHexaColor:e=>p.test(e),rgbColor:e=>g.test(e),rgbaColor:e=>v.test(e),rgbOrRgbaColor:e=>g.test(e)||v.test(e),hexOrRgbColor:e=>h.test(e)||g.test(e),hexaOrRgbaColor:e=>f.test(e)||v.test(e),anyColor:e=>p.test(e)||g.test(e)||v.test(e)};var b=n(899),x=n(3251);const y=[!0,!1,"ondemand"],w={modelValue:{},error:{type:Boolean,default:null},errorMessage:String,noErrorIcon:Boolean,rules:Array,reactiveRules:Boolean,lazyRules:{type:[Boolean,String],validator:e=>y.includes(e)}};function k(e,t){const{props:n,proxy:r}=(0,i.FN)(),a=(0,o.iH)(!1),s=(0,o.iH)(null),l=(0,o.iH)(null);d({validate:y,resetValidation:v});let c,u=0;const h=(0,o.Fl)((()=>void 0!==n.rules&&null!==n.rules&&n.rules.length>0)),f=(0,o.Fl)((()=>!0!==n.disable&&!0===h.value)),p=(0,o.Fl)((()=>!0===n.error||!0===a.value)),g=(0,o.Fl)((()=>"string"===typeof n.errorMessage&&n.errorMessage.length>0?n.errorMessage:s.value));function v(){u++,t.value=!1,l.value=null,a.value=!1,s.value=null,k.cancel()}function y(e=n.modelValue){if(!0!==f.value)return!0;const i=++u,o=!0!==t.value?()=>{l.value=!0}:()=>{},r=(e,n)=>{!0===e&&o(),a.value=e,s.value=n||null,t.value=!1},c=[];for(let t=0;t{if(void 0===e||!1===Array.isArray(e)||0===e.length)return i===u&&r(!1),!0;const t=e.find((e=>!1===e||"string"===typeof e));return i===u&&r(void 0!==t,t),void 0===t}),(e=>(i===u&&(console.error(e),r(!0)),!1))))}function w(e){!0===f.value&&"ondemand"!==n.lazyRules&&(!0===l.value||!0!==n.lazyRules&&!0!==e)&&k()}(0,i.YP)((()=>n.modelValue),(()=>{w()})),(0,i.YP)((()=>n.reactiveRules),(e=>{!0===e?void 0===c&&(c=(0,i.YP)((()=>n.rules),(()=>{w(!0)}))):void 0!==c&&(c(),c=void 0)}),{immediate:!0}),(0,i.YP)(e,(e=>{!0===e?null===l.value&&(l.value=!1):!1===l.value&&(l.value=!0,!0===f.value&&"ondemand"!==n.lazyRules&&!1===t.value&&k())}));const k=(0,b.Z)(y,0);return(0,i.Jd)((()=>{void 0!==c&&c(),k.cancel()})),Object.assign(r,{resetValidation:v,validate:y}),(0,x.g)(r,"hasError",(()=>p.value)),{isDirtyModel:l,hasRules:h,hasError:p,errorMessage:g,validate:y,resetValidation:v}}const S=/^on[A-Z]/;function C(e,t){const n={listeners:(0,o.iH)({}),attributes:(0,o.iH)({})};function r(){const i={},o={};for(const t in e)"class"!==t&&"style"!==t&&!1===S.test(t)&&(i[t]=e[t]);for(const e in t.props)!0===S.test(e)&&(o[e]=t.props[e]);n.attributes.value=i,n.listeners.value=o}return(0,i.Xn)(r),r(),n}var _=n(2026),A=n(796),P=n(1384),L=n(7026);function j(e){return void 0===e?`f_${(0,A.Z)()}`:e}function T(e){return void 0!==e&&null!==e&&(""+e).length>0}const F={...c.S,...w,label:String,stackLabel:Boolean,hint:String,hideHint:Boolean,prefix:String,suffix:String,labelColor:String,color:String,bgColor:String,filled:Boolean,outlined:Boolean,borderless:Boolean,standout:[Boolean,String],square:Boolean,loading:Boolean,labelSlot:Boolean,bottomSlots:Boolean,hideBottomSpace:Boolean,rounded:Boolean,dense:Boolean,itemAligned:Boolean,counter:Boolean,clearable:Boolean,clearIcon:String,disable:Boolean,readonly:Boolean,autofocus:Boolean,for:String,maxlength:[Number,String]},E=["update:modelValue","clear","focus","blur","popupShow","popupHide"];function O(){const{props:e,attrs:t,proxy:n,vnode:r}=(0,i.FN)(),a=(0,c.Z)(e,n.$q);return{isDark:a,editable:(0,o.Fl)((()=>!0!==e.disable&&!0!==e.readonly)),innerLoading:(0,o.iH)(!1),focused:(0,o.iH)(!1),hasPopupOpen:!1,splitAttrs:C(t,r),targetUid:(0,o.iH)(j(e.for)),rootRef:(0,o.iH)(null),targetRef:(0,o.iH)(null),controlRef:(0,o.iH)(null)}}function M(e){const{props:t,emit:n,slots:c,attrs:u,proxy:d}=(0,i.FN)(),{$q:h}=d;let f;void 0===e.hasValue&&(e.hasValue=(0,o.Fl)((()=>T(t.modelValue)))),void 0===e.emitValue&&(e.emitValue=e=>{n("update:modelValue",e)}),void 0===e.controlEvents&&(e.controlEvents={onFocusin:z,onFocusout:H}),Object.assign(e,{clearValue:N,onControlFocusin:z,onControlFocusout:H,focus:R}),void 0===e.computedCounter&&(e.computedCounter=(0,o.Fl)((()=>{if(!1!==t.counter){const e="string"===typeof t.modelValue||"number"===typeof t.modelValue?(""+t.modelValue).length:!0===Array.isArray(t.modelValue)?t.modelValue.length:0,n=void 0!==t.maxlength?t.maxlength:t.maxValues;return e+(void 0!==n?" / "+n:"")}})));const{isDirtyModel:p,hasRules:g,hasError:v,errorMessage:m,resetValidation:b}=k(e.focused,e.innerLoading),x=void 0!==e.floatingLabel?(0,o.Fl)((()=>!0===t.stackLabel||!0===e.focused.value||!0===e.floatingLabel.value)):(0,o.Fl)((()=>!0===t.stackLabel||!0===e.focused.value||!0===e.hasValue.value)),y=(0,o.Fl)((()=>!0===t.bottomSlots||void 0!==t.hint||!0===g.value||!0===t.counter||null!==t.error)),w=(0,o.Fl)((()=>!0===t.filled?"filled":!0===t.outlined?"outlined":!0===t.borderless?"borderless":t.standout?"standout":"standard")),S=(0,o.Fl)((()=>`q-field row no-wrap items-start q-field--${w.value}`+(void 0!==e.fieldClass?` ${e.fieldClass.value}`:"")+(!0===t.rounded?" q-field--rounded":"")+(!0===t.square?" q-field--square":"")+(!0===x.value?" q-field--float":"")+(!0===A.value?" q-field--labeled":"")+(!0===t.dense?" q-field--dense":"")+(!0===t.itemAligned?" q-field--item-aligned q-item-type":"")+(!0===e.isDark.value?" q-field--dark":"")+(void 0===e.getControl?" q-field--auto-height":"")+(!0===e.focused.value?" q-field--focused":"")+(!0===v.value?" q-field--error":"")+(!0===v.value||!0===e.focused.value?" q-field--highlighted":"")+(!0!==t.hideBottomSpace&&!0===y.value?" q-field--with-bottom":"")+(!0===t.disable?" q-field--disabled":!0===t.readonly?" q-field--readonly":""))),C=(0,o.Fl)((()=>"q-field__control relative-position row no-wrap"+(void 0!==t.bgColor?` bg-${t.bgColor}`:"")+(!0===v.value?" text-negative":"string"===typeof t.standout&&t.standout.length>0&&!0===e.focused.value?` ${t.standout}`:void 0!==t.color?` text-${t.color}`:""))),A=(0,o.Fl)((()=>!0===t.labelSlot||void 0!==t.label)),F=(0,o.Fl)((()=>"q-field__label no-pointer-events absolute ellipsis"+(void 0!==t.labelColor&&!0!==v.value?` text-${t.labelColor}`:""))),E=(0,o.Fl)((()=>({id:e.targetUid.value,editable:e.editable.value,focused:e.focused.value,floatingLabel:x.value,modelValue:t.modelValue,emitValue:e.emitValue}))),O=(0,o.Fl)((()=>{const n={for:e.targetUid.value};return!0===t.disable?n["aria-disabled"]="true":!0===t.readonly&&(n["aria-readonly"]="true"),n}));function M(){const t=document.activeElement;let n=void 0!==e.targetRef&&e.targetRef.value;!n||null!==t&&t.id===e.targetUid.value||(!0===n.hasAttribute("tabindex")||(n=n.querySelector("[tabindex]")),n&&n!==t&&n.focus({preventScroll:!0}))}function R(){(0,L.jd)(M)}function I(){(0,L.fP)(M);const t=document.activeElement;null!==t&&e.rootRef.value.contains(t)&&t.blur()}function z(t){clearTimeout(f),!0===e.editable.value&&!1===e.focused.value&&(e.focused.value=!0,n("focus",t))}function H(t,i){clearTimeout(f),f=setTimeout((()=>{(!0!==document.hasFocus()||!0!==e.hasPopupOpen&&void 0!==e.controlRef&&null!==e.controlRef.value&&!1===e.controlRef.value.contains(document.activeElement))&&(!0===e.focused.value&&(e.focused.value=!1,n("blur",t)),void 0!==i&&i())}))}function N(o){if((0,P.NS)(o),!0!==h.platform.is.mobile){const t=void 0!==e.targetRef&&e.targetRef.value||e.rootRef.value;t.focus()}else!0===e.rootRef.value.contains(document.activeElement)&&document.activeElement.blur();"file"===t.type&&(e.inputRef.value.value=null),n("update:modelValue",null),n("clear",t.modelValue),(0,i.Y3)((()=>{b(),!0!==h.platform.is.mobile&&(p.value=!1)}))}function q(){const n=[];return void 0!==c.prepend&&n.push((0,i.h)("div",{class:"q-field__prepend q-field__marginal row no-wrap items-center",key:"prepend",onClick:P.X$},c.prepend())),n.push((0,i.h)("div",{class:"q-field__control-container col relative-position row no-wrap q-anchor--skip"},D())),!0===v.value&&!1===t.noErrorIcon&&n.push(Y("error",[(0,i.h)(s.Z,{name:h.iconSet.field.error,color:"negative"})])),!0===t.loading||!0===e.innerLoading.value?n.push(Y("inner-loading-append",void 0!==c.loading?c.loading():[(0,i.h)(l.Z,{color:t.color})])):!0===t.clearable&&!0===e.hasValue.value&&!0===e.editable.value&&n.push(Y("inner-clearable-append",[(0,i.h)(s.Z,{class:"q-field__focusable-action",tag:"button",name:t.clearIcon||h.iconSet.field.clear,tabindex:0,type:"button","aria-hidden":null,role:null,onClick:N})])),void 0!==c.append&&n.push((0,i.h)("div",{class:"q-field__append q-field__marginal row no-wrap items-center",key:"append",onClick:P.X$},c.append())),void 0!==e.getInnerAppend&&n.push(Y("inner-append",e.getInnerAppend())),void 0!==e.getControlChild&&n.push(e.getControlChild()),n}function D(){const n=[];return void 0!==t.prefix&&null!==t.prefix&&n.push((0,i.h)("div",{class:"q-field__prefix no-pointer-events row items-center"},t.prefix)),void 0!==e.getShadowControl&&!0===e.hasShadow.value&&n.push(e.getShadowControl()),void 0!==e.getControl?n.push(e.getControl()):void 0!==c.rawControl?n.push(c.rawControl()):void 0!==c.control&&n.push((0,i.h)("div",{ref:e.targetRef,class:"q-field__native row",tabindex:-1,...e.splitAttrs.attributes.value,"data-autofocus":!0===t.autofocus||void 0},c.control(E.value))),!0===A.value&&n.push((0,i.h)("div",{class:F.value},(0,_.KR)(c.label,t.label))),void 0!==t.suffix&&null!==t.suffix&&n.push((0,i.h)("div",{class:"q-field__suffix no-pointer-events row items-center"},t.suffix)),n.concat((0,_.KR)(c.default))}function B(){let n,o;!0===v.value?null!==m.value?(n=[(0,i.h)("div",{role:"alert"},m.value)],o=`q--slot-error-${m.value}`):(n=(0,_.KR)(c.error),o="q--slot-error"):!0===t.hideHint&&!0!==e.focused.value||(void 0!==t.hint?(n=[(0,i.h)("div",t.hint)],o=`q--slot-hint-${t.hint}`):(n=(0,_.KR)(c.hint),o="q--slot-hint"));const a=!0===t.counter||void 0!==c.counter;if(!0===t.hideBottomSpace&&!1===a&&void 0===n)return;const s=(0,i.h)("div",{key:o,class:"q-field__messages col"},n);return(0,i.h)("div",{class:"q-field__bottom row items-start q-field__bottom--"+(!0!==t.hideBottomSpace?"animated":"stale"),onClick:P.X$},[!0===t.hideBottomSpace?s:(0,i.h)(r.uT,{name:"q-transition--field-message"},(()=>s)),!0===a?(0,i.h)("div",{class:"q-field__counter"},void 0!==c.counter?c.counter():e.computedCounter.value):null])}function Y(e,t){return null===t?null:(0,i.h)("div",{key:e,class:"q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"},t)}(0,i.YP)((()=>t.for),(t=>{e.targetUid.value=j(t)}));let X=!1;return(0,i.se)((()=>{X=!0})),(0,i.dl)((()=>{!0===X&&!0===t.autofocus&&d.focus()})),(0,i.bv)((()=>{!0===a.uX.value&&void 0===t.for&&(e.targetUid.value=j()),!0===t.autofocus&&d.focus()})),(0,i.Jd)((()=>{clearTimeout(f)})),Object.assign(d,{focus:R,blur:I}),function(){const n=void 0===e.getControl&&void 0===c.control?{...e.splitAttrs.attributes.value,"data-autofocus":!0===t.autofocus||void 0,...O.value}:O.value;return(0,i.h)("label",{ref:e.rootRef,class:[S.value,u.class],style:u.style,...n},[void 0!==c.before?(0,i.h)("div",{class:"q-field__before q-field__marginal row no-wrap items-center",onClick:P.X$},c.before()):null,(0,i.h)("div",{class:"q-field__inner relative-position col self-stretch"},[(0,i.h)("div",{ref:e.controlRef,class:C.value,tabindex:-1,...e.controlEvents},q()),!0===y.value?B():null]),void 0!==c.after?(0,i.h)("div",{class:"q-field__after q-field__marginal row no-wrap items-center",onClick:P.X$},c.after()):null])}}},9256:(e,t,n)=>{"use strict";n.d(t,{Do:()=>l,Fz:()=>r,Vt:()=>a,eX:()=>s});var i=n(499),o=n(9835);const r={name:String};function a(e){return(0,i.Fl)((()=>({type:"hidden",name:e.name,value:e.modelValue})))}function s(e={}){return(t,n,i)=>{t[n]((0,o.h)("input",{class:"hidden"+(i||""),...e.value}))}}function l(e){return(0,i.Fl)((()=>e.name||e.for))}},4953:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(9835),o=n(5310);function r(e,t,n){let r;function a(){void 0!==r&&(o.Z.remove(r),r=void 0)}return(0,i.Jd)((()=>{!0===e.value&&a()})),{removeFromHistory:a,addToHistory(){r={condition:()=>!0===n.value,handler:t},o.Z.add(r)}}}},2802:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var i=n(7506);const o=/[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/,r=/[\u4e00-\u9fff\u3400-\u4dbf\u{20000}-\u{2a6df}\u{2a700}-\u{2b73f}\u{2b740}-\u{2b81f}\u{2b820}-\u{2ceaf}\uf900-\ufaff\u3300-\u33ff\ufe30-\ufe4f\uf900-\ufaff\u{2f800}-\u{2fa1f}]/u,a=/[\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/,s=/[a-z0-9_ -]$/i;function l(e){return function(t){if("compositionend"===t.type||"change"===t.type){if(!0!==t.target.qComposing)return;t.target.qComposing=!1,e(t)}else if("compositionupdate"===t.type&&!0!==t.target.qComposing&&"string"===typeof t.data){const e=!0===i.Lp.is.firefox?!1===s.test(t.data):!0===o.test(t.data)||!0===r.test(t.data)||!0===a.test(t.data);!0===e&&(t.target.qComposing=!0)}}}},3842:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>s,gH:()=>a,vr:()=>r});var i=n(9835),o=n(2046);const r={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},a=["beforeShow","show","beforeHide","hide"];function s({showing:e,canShow:t,hideOnRouteChange:n,handleShow:r,handleHide:a,processOnMount:s}){const l=(0,i.FN)(),{props:c,emit:u,proxy:d}=l;let h;function f(t){!0===e.value?v(t):p(t)}function p(e){if(!0===c.disable||void 0!==e&&!0===e.qAnchorHandled||void 0!==t&&!0!==t(e))return;const n=void 0!==c["onUpdate:modelValue"];!0===n&&(u("update:modelValue",!0),h=e,(0,i.Y3)((()=>{h===e&&(h=void 0)}))),null!==c.modelValue&&!1!==n||g(e)}function g(t){!0!==e.value&&(e.value=!0,u("beforeShow",t),void 0!==r?r(t):u("show",t))}function v(e){if(!0===c.disable)return;const t=void 0!==c["onUpdate:modelValue"];!0===t&&(u("update:modelValue",!1),h=e,(0,i.Y3)((()=>{h===e&&(h=void 0)}))),null!==c.modelValue&&!1!==t||m(e)}function m(t){!1!==e.value&&(e.value=!1,u("beforeHide",t),void 0!==a?a(t):u("hide",t))}function b(t){if(!0===c.disable&&!0===t)void 0!==c["onUpdate:modelValue"]&&u("update:modelValue",!1);else if(!0===t!==e.value){const e=!0===t?g:m;e(h)}}(0,i.YP)((()=>c.modelValue),b),void 0!==n&&!0===(0,o.Rb)(l)&&(0,i.YP)((()=>d.$route.fullPath),(()=>{!0===n.value&&!0===e.value&&v()})),!0===s&&(0,i.bv)((()=>{b(c.modelValue)}));const x={show:p,hide:v,toggle:f};return Object.assign(d,x),x}},5475:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>y,vZ:()=>v,K6:()=>x,t6:()=>b});var i=n(9835),o=n(499),r=n(1957),a=n(7506),s=n(5987),l=n(9367),c=n(1384),u=n(2589);function d(e){const t=[.06,6,50];return"string"===typeof e&&e.length&&e.split(":").forEach(((e,n)=>{const i=parseFloat(e);i&&(t[n]=i)})),t}const h=(0,s.f)({name:"touch-swipe",beforeMount(e,{value:t,arg:n,modifiers:i}){if(!0!==i.mouse&&!0!==a.Lp.has.touch)return;const o=!0===i.mouseCapture?"Capture":"",r={handler:t,sensitivity:d(n),direction:(0,l.R)(i),noop:c.ZT,mouseStart(e){(0,l.n)(e,r)&&(0,c.du)(e)&&((0,c.M0)(r,"temp",[[document,"mousemove","move",`notPassive${o}`],[document,"mouseup","end","notPassiveCapture"]]),r.start(e,!0))},touchStart(e){if((0,l.n)(e,r)){const t=e.target;(0,c.M0)(r,"temp",[[t,"touchmove","move","notPassiveCapture"],[t,"touchcancel","end","notPassiveCapture"],[t,"touchend","end","notPassiveCapture"]]),r.start(e)}},start(t,n){!0===a.Lp.is.firefox&&(0,c.Jf)(e,!0);const i=(0,c.FK)(t);r.event={x:i.left,y:i.top,time:Date.now(),mouse:!0===n,dir:!1}},move(e){if(void 0===r.event)return;if(!1!==r.event.dir)return void(0,c.NS)(e);const t=Date.now()-r.event.time;if(0===t)return;const n=(0,c.FK)(e),i=n.left-r.event.x,o=Math.abs(i),a=n.top-r.event.y,s=Math.abs(a);if(!0!==r.event.mouse){if(or.sensitivity[0]&&(r.event.dir=a<0?"up":"down"),!0===r.direction.horizontal&&o>s&&s<100&&l>r.sensitivity[0]&&(r.event.dir=i<0?"left":"right"),!0===r.direction.up&&or.sensitivity[0]&&(r.event.dir="up"),!0===r.direction.down&&o0&&o<100&&d>r.sensitivity[0]&&(r.event.dir="down"),!0===r.direction.left&&o>s&&i<0&&s<100&&l>r.sensitivity[0]&&(r.event.dir="left"),!0===r.direction.right&&o>s&&i>0&&s<100&&l>r.sensitivity[0]&&(r.event.dir="right"),!1!==r.event.dir?((0,c.NS)(e),!0===r.event.mouse&&(document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),(0,u.M)(),r.styleCleanup=e=>{r.styleCleanup=void 0,document.body.classList.remove("non-selectable");const t=()=>{document.body.classList.remove("no-pointer-events--children")};!0===e?setTimeout(t,50):t()}),r.handler({evt:e,touch:!0!==r.event.mouse,mouse:r.event.mouse,direction:r.event.dir,duration:t,distance:{x:o,y:s}})):r.end(e)},end(t){void 0!==r.event&&((0,c.ul)(r,"temp"),!0===a.Lp.is.firefox&&(0,c.Jf)(e,!1),void 0!==r.styleCleanup&&r.styleCleanup(!0),void 0!==t&&!1!==r.event.dir&&(0,c.NS)(t),r.event=void 0)}};if(e.__qtouchswipe=r,!0===i.mouse){const t=!0===i.mouseCapture||!0===i.mousecapture?"Capture":"";(0,c.M0)(r,"main",[[e,"mousedown","mouseStart",`passive${t}`]])}!0===a.Lp.has.touch&&(0,c.M0)(r,"main",[[e,"touchstart","touchStart","passive"+(!0===i.capture?"Capture":"")],[e,"touchmove","noop","notPassiveCapture"]])},updated(e,t){const n=e.__qtouchswipe;void 0!==n&&(t.oldValue!==t.value&&("function"!==typeof t.value&&n.end(),n.handler=t.value),n.direction=(0,l.R)(t.modifiers))},beforeUnmount(e){const t=e.__qtouchswipe;void 0!==t&&((0,c.ul)(t,"main"),(0,c.ul)(t,"temp"),!0===a.Lp.is.firefox&&(0,c.Jf)(e,!1),void 0!==t.styleCleanup&&t.styleCleanup(),delete e.__qtouchswipe)}});var f=n(3978),p=n(2026),g=n(2046);const v={name:{required:!0},disable:Boolean},m={setup(e,{slots:t}){return()=>(0,i.h)("div",{class:"q-panel scroll",role:"tabpanel"},(0,p.KR)(t.default))}},b={modelValue:{required:!0},animated:Boolean,infinite:Boolean,swipeable:Boolean,vertical:Boolean,transitionPrev:String,transitionNext:String,transitionDuration:{type:[String,Number],default:300},keepAlive:Boolean,keepAliveInclude:[String,Array,RegExp],keepAliveExclude:[String,Array,RegExp],keepAliveMax:Number},x=["update:modelValue","beforeTransition","transition"];function y(){const{props:e,emit:t,proxy:n}=(0,i.FN)(),{getCacheWithFn:a}=(0,f.Z)();let s,l;const c=(0,o.iH)(null),u=(0,o.iH)(null);function d(t){const i=!0===e.vertical?"up":"left";F((!0===n.$q.lang.rtl?-1:1)*(t.direction===i?1:-1))}const v=(0,o.Fl)((()=>[[h,d,void 0,{horizontal:!0!==e.vertical,vertical:e.vertical,mouse:!0}]])),b=(0,o.Fl)((()=>e.transitionPrev||"slide-"+(!0===e.vertical?"down":"right"))),x=(0,o.Fl)((()=>e.transitionNext||"slide-"+(!0===e.vertical?"up":"left"))),y=(0,o.Fl)((()=>`--q-transition-duration: ${e.transitionDuration}ms`)),w=(0,o.Fl)((()=>"string"===typeof e.modelValue||"number"===typeof e.modelValue?e.modelValue:String(e.modelValue))),k=(0,o.Fl)((()=>({include:e.keepAliveInclude,exclude:e.keepAliveExclude,max:e.keepAliveMax}))),S=(0,o.Fl)((()=>void 0!==e.keepAliveInclude||void 0!==e.keepAliveExclude));function C(){F(1)}function _(){F(-1)}function A(e){t("update:modelValue",e)}function P(e){return void 0!==e&&null!==e&&""!==e}function L(e){return s.findIndex((t=>t.props.name===e&&""!==t.props.disable&&!0!==t.props.disable))}function j(){return s.filter((e=>""!==e.props.disable&&!0!==e.props.disable))}function T(t){const n=0!==t&&!0===e.animated&&-1!==c.value?"q-transition--"+(-1===t?b.value:x.value):null;u.value!==n&&(u.value=n)}function F(n,i=c.value){let o=i+n;while(o>-1&&o{l=!1}));o+=n}!0===e.infinite&&s.length>0&&-1!==i&&i!==s.length&&F(n,-1===n?s.length:-1)}function E(){const t=L(e.modelValue);return c.value!==t&&(c.value=t),!0}function O(){const t=!0===P(e.modelValue)&&E()&&s[c.value];return!0===e.keepAlive?[(0,i.h)(i.Ob,k.value,[(0,i.h)(!0===S.value?a(w.value,(()=>({...m,name:w.value}))):m,{key:w.value,style:y.value},(()=>t))])]:[(0,i.h)("div",{class:"q-panel scroll",style:y.value,key:w.value,role:"tabpanel"},[t])]}function M(){if(0!==s.length)return!0===e.animated?[(0,i.h)(r.uT,{name:u.value},O)]:O()}function R(e){return s=(0,g.Pf)((0,p.KR)(e.default,[])).filter((e=>null!==e.props&&void 0===e.props.slot&&!0===P(e.props.name))),s.length}function I(){return s}return(0,i.YP)((()=>e.modelValue),((e,n)=>{const o=!0===P(e)?L(e):-1;!0!==l&&T(-1===o?0:o{t("transition",e,n)})))})),Object.assign(n,{next:C,previous:_,goTo:A}),{panelIndex:c,panelDirectives:v,updatePanelsList:R,updatePanelIndex:E,getPanelContent:M,getEnabledPanels:j,getPanels:I,isValidPanelName:P,keepAliveProps:k,needsUniqueKeepAliveWrapper:S,goToPanelByOffset:F,goToPanel:A,nextPanel:C,previousPanel:_}}},1518:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var i=n(499),o=n(9835),r=(n(1384),n(7026)),a=n(6669),s=n(2909),l=n(3251);function c(e){e=e.parent;while(void 0!==e&&null!==e){if("QGlobalDialog"===e.type.name)return!0;if("QDialog"===e.type.name||"QMenu"===e.type.name)return!1;e=e.parent}return!1}function u(e,t,n,u){const d=(0,i.iH)(!1),h=(0,i.iH)(!1);let f=null;const p={},g=!0===u&&c(e);function v(t){if(!0===t)return(0,r.xF)(p),void(h.value=!0);h.value=!1,!1===d.value&&(!1===g&&null===f&&(f=(0,a.q_)()),d.value=!0,s.Q$.push(e.proxy),(0,r.YX)(p))}function m(t){if(h.value=!1,!0!==t)return;(0,r.xF)(p),d.value=!1;const n=s.Q$.indexOf(e.proxy);-1!==n&&s.Q$.splice(n,1),null!==f&&((0,a.pB)(f),f=null)}return(0,o.Ah)((()=>{m(!0)})),e.proxy.__qPortal=!0,(0,l.g)(e.proxy,"contentEl",(()=>t.value)),{showPortal:v,hidePortal:m,portalIsActive:d,portalIsAccessible:h,renderPortal:()=>!0===g?n():!0===d.value?[(0,o.h)(o.lR,{to:f},n())]:void 0}}},9754:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var i=n(1384),o=n(3701),r=n(7506);let a,s,l,c,u,d,h=0,f=!1;function p(e){g(e)&&(0,i.NS)(e)}function g(e){if(e.target===document.body||e.target.classList.contains("q-layout__backdrop"))return!0;const t=(0,i.AZ)(e),n=e.shiftKey&&!e.deltaX,r=!n&&Math.abs(e.deltaX)<=Math.abs(e.deltaY),a=n||r?e.deltaY:e.deltaX;for(let i=0;i0&&e.scrollTop+e.clientHeight===e.scrollHeight:a<0&&0===e.scrollLeft||a>0&&e.scrollLeft+e.clientWidth===e.scrollWidth}return!0}function v(e){e.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function m(e){!0!==f&&(f=!0,requestAnimationFrame((()=>{f=!1;const{height:t}=e.target,{clientHeight:n,scrollTop:i}=document.scrollingElement;void 0!==l&&t===window.innerHeight||(l=n-t,document.scrollingElement.scrollTop=i),i>l&&(document.scrollingElement.scrollTop-=Math.ceil((i-l)/8))})))}function b(e){const t=document.body,n=void 0!==window.visualViewport;if("add"===e){const{overflowY:e,overflowX:l}=window.getComputedStyle(t);a=(0,o.OI)(window),s=(0,o.u3)(window),c=t.style.left,u=t.style.top,t.style.left=`-${a}px`,t.style.top=`-${s}px`,"hidden"!==l&&("scroll"===l||t.scrollWidth>window.innerWidth)&&t.classList.add("q-body--force-scrollbar-x"),"hidden"!==e&&("scroll"===e||t.scrollHeight>window.innerHeight)&&t.classList.add("q-body--force-scrollbar-y"),t.classList.add("q-body--prevent-scroll"),document.qScrollPrevented=!0,!0===r.Lp.is.ios&&(!0===n?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",m,i.rU.passiveCapture),window.visualViewport.addEventListener("scroll",m,i.rU.passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",v,i.rU.passiveCapture))}!0===r.Lp.is.desktop&&!0===r.Lp.is.mac&&window[`${e}EventListener`]("wheel",p,i.rU.notPassive),"remove"===e&&(!0===r.Lp.is.ios&&(!0===n?(window.visualViewport.removeEventListener("resize",m,i.rU.passiveCapture),window.visualViewport.removeEventListener("scroll",m,i.rU.passiveCapture)):window.removeEventListener("scroll",v,i.rU.passiveCapture)),t.classList.remove("q-body--prevent-scroll"),t.classList.remove("q-body--force-scrollbar-x"),t.classList.remove("q-body--force-scrollbar-y"),document.qScrollPrevented=!1,t.style.left=c,t.style.top=u,window.scrollTo(a,s),l=void 0)}function x(e){let t="add";if(!0===e){if(h++,void 0!==d)return clearTimeout(d),void(d=void 0);if(h>1)return}else{if(0===h)return;if(h--,h>0)return;if(t="remove",!0===r.Lp.is.ios&&!0===r.Lp.is.nativeMobile)return clearTimeout(d),void(d=setTimeout((()=>{b(t),d=void 0}),100))}b(t)}function y(){let e;return{preventBodyScroll(t){t===e||void 0===e&&!0!==t||(e=t,x(t))}}}},5917:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(499),o=n(9835);function r(e,t){const n=(0,i.iH)(null),r=(0,i.Fl)((()=>!0===e.disable?null:(0,o.h)("span",{ref:n,class:"no-outline",tabindex:-1})));function a(e){const i=t.value;void 0!==e&&0===e.type.indexOf("key")?null!==i&&document.activeElement!==i&&!0===i.contains(document.activeElement)&&i.focus():null!==n.value&&(void 0===e||null!==i&&!0===i.contains(e.target))&&n.value.focus()}return{refocusTargetEl:r,refocusTarget:a}}},945:(e,t,n)=>{"use strict";n.d(t,{$:()=>h,Z:()=>f});n(8964);var i=n(9835),o=n(499),r=n(2046);function a(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function s(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function l(e,t){for(const n in t){const i=t[n],o=e[n];if("string"===typeof i){if(i!==o)return!1}else if(!1===Array.isArray(o)||o.length!==i.length||i.some(((e,t)=>e!==o[t])))return!1}return!0}function c(e,t){return!0===Array.isArray(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}function u(e,t){return!0===Array.isArray(e)?c(e,t):!0===Array.isArray(t)?c(t,e):e===t}function d(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!1===u(e[n],t[n]))return!1;return!0}const h={to:[String,Object],replace:Boolean,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"},href:String,target:String,disable:Boolean};function f({fallbackTag:e,useDisableForRouterLinkProps:t=!0}={}){const n=(0,i.FN)(),{props:c,proxy:u,emit:h}=n,f=(0,r.Rb)(n),p=(0,o.Fl)((()=>!0!==c.disable&&void 0!==c.href)),g=!0===t?(0,o.Fl)((()=>!0===f&&!0!==c.disable&&!0!==p.value&&void 0!==c.to&&null!==c.to&&""!==c.to)):(0,o.Fl)((()=>!0===f&&!0!==p.value&&void 0!==c.to&&null!==c.to&&""!==c.to)),v=(0,o.Fl)((()=>!0===g.value?_(c.to):null)),m=(0,o.Fl)((()=>null!==v.value)),b=(0,o.Fl)((()=>!0===p.value||!0===m.value)),x=(0,o.Fl)((()=>"a"===c.type||!0===b.value?"a":c.tag||e||"div")),y=(0,o.Fl)((()=>!0===p.value?{href:c.href,target:c.target}:!0===m.value?{href:v.value.href,target:c.target}:{})),w=(0,o.Fl)((()=>{if(!1===m.value)return-1;const{matched:e}=v.value,{length:t}=e,n=e[t-1];if(void 0===n)return-1;const i=u.$route.matched;if(0===i.length)return-1;const o=i.findIndex(s.bind(null,n));if(o>-1)return o;const r=a(e[t-2]);return t>1&&a(n)===r&&i[i.length-1].path!==r?i.findIndex(s.bind(null,e[t-2])):o})),k=(0,o.Fl)((()=>!0===m.value&&-1!==w.value&&l(u.$route.params,v.value.params))),S=(0,o.Fl)((()=>!0===k.value&&w.value===u.$route.matched.length-1&&d(u.$route.params,v.value.params))),C=(0,o.Fl)((()=>!0===m.value?!0===S.value?` ${c.exactActiveClass} ${c.activeClass}`:!0===c.exact?"":!0===k.value?` ${c.activeClass}`:"":""));function _(e){try{return u.$router.resolve(e)}catch(t){}return null}function A(e,{returnRouterError:t,to:n=c.to,replace:i=c.replace}={}){if(!0===c.disable)return e.preventDefault(),Promise.resolve(!1);if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||void 0!==e.button&&0!==e.button||"_blank"===c.target)return Promise.resolve(!1);e.preventDefault();const o=u.$router[!0===i?"replace":"push"](n);return!0===t?o:o.then((()=>{})).catch((()=>{}))}function P(e){if(!0===m.value){const t=t=>A(e,t);h("click",e,t),!0!==e.defaultPrevented&&t()}else h("click",e)}return{hasRouterLink:m,hasHrefLink:p,hasLink:b,linkTag:x,resolvedLink:v,linkIsActive:k,linkIsExactActive:S,linkClass:C,linkAttrs:y,getLink:_,navigateToRouterLink:A,navigateOnClick:P}}},244:(e,t,n)=>{"use strict";n.d(t,{LU:()=>r,Ok:()=>o,ZP:()=>a});var i=n(499);const o={xs:18,sm:24,md:32,lg:38,xl:46},r={size:String};function a(e,t=o){return(0,i.Fl)((()=>void 0!==e.size?{fontSize:e.size in t?`${t[e.size]}px`:e.size}:null))}},6916:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(9835),o=n(2046);function r(){let e;const t=(0,i.FN)();function n(){e=void 0}return(0,i.se)(n),(0,i.Jd)(n),{removeTick:n,registerTick(n){e=n,(0,i.Y3)((()=>{e===n&&(!1===(0,o.$D)(t)&&e(),e=void 0)}))}}}},2695:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(9835),o=n(2046);function r(){let e;const t=(0,i.FN)();function n(){clearTimeout(e)}return(0,i.se)(n),(0,i.Jd)(n),{removeTimeout:n,registerTimeout(n,i){clearTimeout(e),!1===(0,o.$D)(t)&&(e=setTimeout(n,i))}}}},431:(e,t,n)=>{"use strict";n.d(t,{D:()=>o,Z:()=>r});var i=n(499);const o={transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"},transitionDuration:{type:[String,Number],default:300}};function r(e,t=(()=>{}),n=(()=>{})){return{transitionProps:(0,i.Fl)((()=>{const i=`q-transition--${e.transitionShow||t()}`,o=`q-transition--${e.transitionHide||n()}`;return{appear:!0,enterFromClass:`${i}-enter-from`,enterActiveClass:`${i}-enter-active`,enterToClass:`${i}-enter-to`,leaveFromClass:`${o}-leave-from`,leaveActiveClass:`${o}-leave-active`,leaveToClass:`${o}-leave-to`}})),transitionStyle:(0,i.Fl)((()=>`--q-transition-duration: ${e.transitionDuration}ms`))}}},9302:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(9835),o=n(5439);function r(){return(0,i.f3)(o.Ng)}},2146:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var i=n(5987),o=n(2909),r=n(1705);function a(e){if(!1===e)return 0;if(!0===e||void 0===e)return 1;const t=parseInt(e,10);return isNaN(t)?0:t}const s=(0,i.f)({name:"close-popup",beforeMount(e,{value:t}){const n={depth:a(t),handler(t){0!==n.depth&&setTimeout((()=>{const i=(0,o.je)(e);void 0!==i&&(0,o.S7)(i,t,n.depth)}))},handlerKey(e){!0===(0,r.So)(e,13)&&n.handler(e)}};e.__qclosepopup=n,e.addEventListener("click",n.handler),e.addEventListener("keyup",n.handlerKey)},updated(e,{value:t,oldValue:n}){t!==n&&(e.__qclosepopup.depth=a(t))},beforeUnmount(e){const t=e.__qclosepopup;e.removeEventListener("click",t.handler),e.removeEventListener("keyup",t.handlerKey),delete e.__qclosepopup}})},1136:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var i=n(5987),o=n(223),r=n(1384),a=n(1705);function s(e,t=250){let n,i=!1;return function(){return!1===i&&(i=!0,setTimeout((()=>{i=!1}),t),n=e.apply(this,arguments)),n}}function l(e,t,n,i){!0===n.modifiers.stop&&(0,r.sT)(e);const a=n.modifiers.color;let s=n.modifiers.center;s=!0===s||!0===i;const l=document.createElement("span"),c=document.createElement("span"),u=(0,r.FK)(e),{left:d,top:h,width:f,height:p}=t.getBoundingClientRect(),g=Math.sqrt(f*f+p*p),v=g/2,m=(f-g)/2+"px",b=s?m:u.left-d-v+"px",x=(p-g)/2+"px",y=s?x:u.top-h-v+"px";c.className="q-ripple__inner",(0,o.iv)(c,{height:`${g}px`,width:`${g}px`,transform:`translate3d(${b},${y},0) scale3d(.2,.2,1)`,opacity:0}),l.className="q-ripple"+(a?" text-"+a:""),l.setAttribute("dir","ltr"),l.appendChild(c),t.appendChild(l);const w=()=>{l.remove(),clearTimeout(k)};n.abort.push(w);let k=setTimeout((()=>{c.classList.add("q-ripple__inner--enter"),c.style.transform=`translate3d(${m},${x},0) scale3d(1,1,1)`,c.style.opacity=.2,k=setTimeout((()=>{c.classList.remove("q-ripple__inner--enter"),c.classList.add("q-ripple__inner--leave"),c.style.opacity=0,k=setTimeout((()=>{l.remove(),n.abort.splice(n.abort.indexOf(w),1)}),275)}),250)}),50)}function c(e,{modifiers:t,value:n,arg:i}){const o=Object.assign({},e.cfg.ripple,t,n);e.modifiers={early:!0===o.early,stop:!0===o.stop,center:!0===o.center,color:o.color||i,keyCodes:[].concat(o.keyCodes||13)}}const u=(0,i.f)({name:"ripple",beforeMount(e,t){const n=t.instance.$.appContext.config.globalProperties.$q.config||{};if(!1===n.ripple)return;const i={cfg:n,enabled:!1!==t.value,modifiers:{},abort:[],start(t){!0===i.enabled&&!0!==t.qSkipRipple&&t.type===(!0===i.modifiers.early?"pointerdown":"click")&&l(t,e,i,!0===t.qKeyEvent)},keystart:s((t=>{!0===i.enabled&&!0!==t.qSkipRipple&&!0===(0,a.So)(t,i.modifiers.keyCodes)&&t.type==="key"+(!0===i.modifiers.early?"down":"up")&&l(t,e,i,!0)}),300)};c(i,t),e.__qripple=i,(0,r.M0)(i,"main",[[e,"pointerdown","start","passive"],[e,"click","start","passive"],[e,"keydown","keystart","passive"],[e,"keyup","keystart","passive"]])},updated(e,t){if(t.oldValue!==t.value){const n=e.__qripple;void 0!==n&&(n.enabled=!1!==t.value,!0===n.enabled&&Object(t.value)===t.value&&c(n,t))}},beforeUnmount(e){const t=e.__qripple;void 0!==t&&(t.abort.forEach((e=>{e()})),(0,r.ul)(t,"main"),delete e._qripple)}})},2873:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var i=n(7506),o=n(5987),r=n(9367),a=n(1384),s=n(2589);function l(e,t,n){const i=(0,a.FK)(e);let o,r=i.left-t.event.x,s=i.top-t.event.y,l=Math.abs(r),c=Math.abs(s);const u=t.direction;!0===u.horizontal&&!0!==u.vertical?o=r<0?"left":"right":!0!==u.horizontal&&!0===u.vertical?o=s<0?"up":"down":!0===u.up&&s<0?(o="up",l>c&&(!0===u.left&&r<0?o="left":!0===u.right&&r>0&&(o="right"))):!0===u.down&&s>0?(o="down",l>c&&(!0===u.left&&r<0?o="left":!0===u.right&&r>0&&(o="right"))):!0===u.left&&r<0?(o="left",l0&&(o="down"))):!0===u.right&&r>0&&(o="right",l0&&(o="down")));let d=!1;if(void 0===o&&!1===n){if(!0===t.event.isFirst||void 0===t.event.lastDir)return{};o=t.event.lastDir,d=!0,"left"===o||"right"===o?(i.left-=r,l=0,r=0):(i.top-=s,c=0,s=0)}return{synthetic:d,payload:{evt:e,touch:!0!==t.event.mouse,mouse:!0===t.event.mouse,position:i,direction:o,isFirst:t.event.isFirst,isFinal:!0===n,duration:Date.now()-t.event.time,distance:{x:l,y:c},offset:{x:r,y:s},delta:{x:i.left-t.event.lastX,y:i.top-t.event.lastY}}}}let c=0;const u=(0,o.f)({name:"touch-pan",beforeMount(e,{value:t,modifiers:n}){if(!0!==n.mouse&&!0!==i.Lp.has.touch)return;function o(e,t){!0===n.mouse&&!0===t?(0,a.NS)(e):(!0===n.stop&&(0,a.sT)(e),!0===n.prevent&&(0,a.X$)(e))}const u={uid:"qvtp_"+c++,handler:t,modifiers:n,direction:(0,r.R)(n),noop:a.ZT,mouseStart(e){(0,r.n)(e,u)&&(0,a.du)(e)&&((0,a.M0)(u,"temp",[[document,"mousemove","move","notPassiveCapture"],[document,"mouseup","end","passiveCapture"]]),u.start(e,!0))},touchStart(e){if((0,r.n)(e,u)){const t=e.target;(0,a.M0)(u,"temp",[[t,"touchmove","move","notPassiveCapture"],[t,"touchcancel","end","passiveCapture"],[t,"touchend","end","passiveCapture"]]),u.start(e)}},start(t,o){if(!0===i.Lp.is.firefox&&(0,a.Jf)(e,!0),u.lastEvt=t,!0===o||!0===n.stop){if(!0!==u.direction.all&&(!0!==o||!0!==u.modifiers.mouseAllDir&&!0!==u.modifiers.mousealldir)){const e=t.type.indexOf("mouse")>-1?new MouseEvent(t.type,t):new TouchEvent(t.type,t);!0===t.defaultPrevented&&(0,a.X$)(e),!0===t.cancelBubble&&(0,a.sT)(e),Object.assign(e,{qKeyEvent:t.qKeyEvent,qClickOutside:t.qClickOutside,qAnchorHandled:t.qAnchorHandled,qClonedBy:void 0===t.qClonedBy?[u.uid]:t.qClonedBy.concat(u.uid)}),u.initialEvent={target:t.target,event:e}}(0,a.sT)(t)}const{left:r,top:s}=(0,a.FK)(t);u.event={x:r,y:s,time:Date.now(),mouse:!0===o,detected:!1,isFirst:!0,isFinal:!1,lastX:r,lastY:s}},move(e){if(void 0===u.event)return;const t=(0,a.FK)(e),i=t.left-u.event.x,r=t.top-u.event.y;if(0===i&&0===r)return;u.lastEvt=e;const c=!0===u.event.mouse,d=()=>{let t;o(e,c),!0!==n.preserveCursor&&!0!==n.preservecursor&&(t=document.documentElement.style.cursor||"",document.documentElement.style.cursor="grabbing"),!0===c&&document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),(0,s.M)(),u.styleCleanup=e=>{if(u.styleCleanup=void 0,void 0!==t&&(document.documentElement.style.cursor=t),document.body.classList.remove("non-selectable"),!0===c){const t=()=>{document.body.classList.remove("no-pointer-events--children")};void 0!==e?setTimeout((()=>{t(),e()}),50):t()}else void 0!==e&&e()}};if(!0===u.event.detected){!0!==u.event.isFirst&&o(e,u.event.mouse);const{payload:t,synthetic:n}=l(e,u,!1);return void(void 0!==t&&(!1===u.handler(t)?u.end(e):(void 0===u.styleCleanup&&!0===u.event.isFirst&&d(),u.event.lastX=t.position.left,u.event.lastY=t.position.top,u.event.lastDir=!0===n?void 0:t.direction,u.event.isFirst=!1)))}if(!0===u.direction.all||!0===c&&(!0===u.modifiers.mouseAllDir||!0===u.modifiers.mousealldir))return d(),u.event.detected=!0,void u.move(e);const h=Math.abs(i),f=Math.abs(r);h!==f&&(!0===u.direction.horizontal&&h>f||!0===u.direction.vertical&&h0||!0===u.direction.left&&h>f&&i<0||!0===u.direction.right&&h>f&&i>0?(u.event.detected=!0,u.move(e)):u.end(e,!0))},end(t,n){if(void 0!==u.event){if((0,a.ul)(u,"temp"),!0===i.Lp.is.firefox&&(0,a.Jf)(e,!1),!0===n)void 0!==u.styleCleanup&&u.styleCleanup(),!0!==u.event.detected&&void 0!==u.initialEvent&&u.initialEvent.target.dispatchEvent(u.initialEvent.event);else if(!0===u.event.detected){!0===u.event.isFirst&&u.handler(l(void 0===t?u.lastEvt:t,u).payload);const{payload:e}=l(void 0===t?u.lastEvt:t,u,!0),n=()=>{u.handler(e)};void 0!==u.styleCleanup?u.styleCleanup(n):n()}u.event=void 0,u.initialEvent=void 0,u.lastEvt=void 0}}};if(e.__qtouchpan=u,!0===n.mouse){const t=!0===n.mouseCapture||!0===n.mousecapture?"Capture":"";(0,a.M0)(u,"main",[[e,"mousedown","mouseStart",`passive${t}`]])}!0===i.Lp.has.touch&&(0,a.M0)(u,"main",[[e,"touchstart","touchStart","passive"+(!0===n.capture?"Capture":"")],[e,"touchmove","noop","notPassiveCapture"]])},updated(e,t){const n=e.__qtouchpan;void 0!==n&&(t.oldValue!==t.value&&("function"!==typeof value&&n.end(),n.handler=t.value),n.direction=(0,r.R)(t.modifiers))},beforeUnmount(e){const t=e.__qtouchpan;void 0!==t&&(void 0!==t.event&&t.end(),(0,a.ul)(t,"main"),(0,a.ul)(t,"temp"),!0===i.Lp.is.firefox&&(0,a.Jf)(e,!1),void 0!==t.styleCleanup&&t.styleCleanup(),delete e.__qtouchpan)}})},5310:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});n(702);var i=n(7506),o=n(1384);const r=()=>!0;function a(e){return"string"===typeof e&&""!==e&&"/"!==e&&"#/"!==e}function s(e){return!0===e.startsWith("#")&&(e=e.substring(1)),!1===e.startsWith("/")&&(e="/"+e),!0===e.endsWith("/")&&(e=e.substring(0,e.length-1)),"#"+e}function l(e){if(!1===e.backButtonExit)return()=>!1;if("*"===e.backButtonExit)return r;const t=["#/"];return!0===Array.isArray(e.backButtonExit)&&t.push(...e.backButtonExit.filter(a).map(s)),()=>t.includes(window.location.hash)}const c={__history:[],add:o.ZT,remove:o.ZT,install({$q:e}){if(!0===this.__installed)return;const{cordova:t,capacitor:n}=i.Lp.is;if(!0!==t&&!0!==n)return;const o=e.config[!0===t?"cordova":"capacitor"];if(void 0!==o&&!1===o.backButton)return;if(!0===n&&(void 0===window.Capacitor||void 0===window.Capacitor.Plugins.App))return;this.add=e=>{void 0===e.condition&&(e.condition=r),this.__history.push(e)},this.remove=e=>{const t=this.__history.indexOf(e);t>=0&&this.__history.splice(t,1)};const a=l(Object.assign({backButtonExit:!0},o)),s=()=>{if(this.__history.length){const e=this.__history[this.__history.length-1];!0===e.condition()&&(this.__history.pop(),e.handler())}else!0===a()?navigator.app.exitApp():window.history.back()};!0===t?document.addEventListener("deviceready",(()=>{document.addEventListener("backbutton",s,!1)})):window.Capacitor.Plugins.App.addListener("backButton",s)}}},2289:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var i=n(4124),o=n(3251);const r={name:"material-icons",type:{positive:"check_circle",negative:"warning",info:"info",warning:"priority_high"},arrow:{up:"arrow_upward",right:"arrow_forward",down:"arrow_downward",left:"arrow_back",dropdown:"arrow_drop_down"},chevron:{left:"chevron_left",right:"chevron_right"},colorPicker:{spectrum:"gradient",tune:"tune",palette:"style"},pullToRefresh:{icon:"refresh"},carousel:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down",navigationIcon:"lens"},chip:{remove:"cancel",selected:"check"},datetime:{arrowLeft:"chevron_left",arrowRight:"chevron_right",now:"access_time",today:"today"},editor:{bold:"format_bold",italic:"format_italic",strikethrough:"strikethrough_s",underline:"format_underlined",unorderedList:"format_list_bulleted",orderedList:"format_list_numbered",subscript:"vertical_align_bottom",superscript:"vertical_align_top",hyperlink:"link",toggleFullscreen:"fullscreen",quote:"format_quote",left:"format_align_left",center:"format_align_center",right:"format_align_right",justify:"format_align_justify",print:"print",outdent:"format_indent_decrease",indent:"format_indent_increase",removeFormat:"format_clear",formatting:"text_format",fontSize:"format_size",align:"format_align_left",hr:"remove",undo:"undo",redo:"redo",heading:"format_size",code:"code",size:"format_size",font:"font_download",viewSource:"code"},expansionItem:{icon:"keyboard_arrow_down",denseIcon:"arrow_drop_down"},fab:{icon:"add",activeIcon:"close"},field:{clear:"cancel",error:"error"},pagination:{first:"first_page",prev:"keyboard_arrow_left",next:"keyboard_arrow_right",last:"last_page"},rating:{icon:"grade"},stepper:{done:"check",active:"edit",error:"warning"},tabs:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down"},table:{arrowUp:"arrow_upward",warning:"warning",firstPage:"first_page",prevPage:"chevron_left",nextPage:"chevron_right",lastPage:"last_page"},tree:{icon:"play_arrow"},uploader:{done:"done",clear:"clear",add:"add_box",upload:"cloud_upload",removeQueue:"clear_all",removeUploaded:"done_all"}},a=(0,i.Z)({iconMapFn:null,__icons:{}},{set(e,t){const n={...e,rtl:!0===e.rtl};n.set=a.set,Object.assign(a.__icons,n)},install({$q:e,iconSet:t,ssrContext:n}){void 0!==e.config.iconMapFn&&(this.iconMapFn=e.config.iconMapFn),e.iconSet=this.__icons,(0,o.g)(e,"iconMapFn",(()=>this.iconMapFn),(e=>{this.iconMapFn=e})),!0===this.__installed?void 0!==t&&this.set(t):this.set(t||r)}}),s=a},7451:(e,t,n)=>{"use strict";n.d(t,{$:()=>P,Z:()=>T});var i=n(1957),o=n(7506),r=(n(702),n(4124)),a=n(1384),s=n(899);const l=["sm","md","lg","xl"],{passive:c}=a.rU,u=(0,r.Z)({width:0,height:0,name:"xs",sizes:{sm:600,md:1024,lg:1440,xl:1920},lt:{sm:!0,md:!0,lg:!0,xl:!0},gt:{xs:!1,sm:!1,md:!1,lg:!1},xs:!0,sm:!1,md:!1,lg:!1,xl:!1},{setSizes:a.ZT,setDebounce:a.ZT,install({$q:e,onSSRHydrated:t}){if(e.screen=this,!0===this.__installed)return void(void 0!==e.config.screen&&(!1===e.config.screen.bodyClasses?document.body.classList.remove(`screen--${this.name}`):this.__update(!0)));const{visualViewport:n}=window,i=n||window,r=document.scrollingElement||document.documentElement,a=void 0===n||!0===o.Lp.is.mobile?()=>[Math.max(window.innerWidth,r.clientWidth),Math.max(window.innerHeight,r.clientHeight)]:()=>[n.width*n.scale+window.innerWidth-r.clientWidth,n.height*n.scale+window.innerHeight-r.clientHeight],u=void 0!==e.config.screen&&!0===e.config.screen.bodyClasses;this.__update=e=>{const[t,n]=a();if(n!==this.height&&(this.height=n),t!==this.width)this.width=t;else if(!0!==e)return;let i=this.sizes;this.gt.xs=t>=i.sm,this.gt.sm=t>=i.md,this.gt.md=t>=i.lg,this.gt.lg=t>=i.xl,this.lt.sm=t{l.forEach((t=>{void 0!==e[t]&&(h[t]=e[t])}))},this.setDebounce=e=>{f=e};const p=()=>{const e=getComputedStyle(document.body);e.getPropertyValue("--q-size-sm")&&l.forEach((t=>{this.sizes[t]=parseInt(e.getPropertyValue(`--q-size-${t}`),10)})),this.setSizes=e=>{l.forEach((t=>{e[t]&&(this.sizes[t]=e[t])})),this.__update(!0)},this.setDebounce=e=>{void 0!==d&&i.removeEventListener("resize",d,c),d=e>0?(0,s.Z)(this.__update,e):this.__update,i.addEventListener("resize",d,c)},this.setDebounce(f),Object.keys(h).length>0?(this.setSizes(h),h=void 0):this.__update(),!0===u&&"xs"===this.name&&document.body.classList.add("screen--xs")};!0===o.uX.value?t.push(p):p()}});n(8964);const d=(0,r.Z)({isActive:!1,mode:!1},{__media:void 0,set(e){d.mode=e,"auto"===e?(void 0===d.__media&&(d.__media=window.matchMedia("(prefers-color-scheme: dark)"),d.__updateMedia=()=>{d.set("auto")},d.__media.addListener(d.__updateMedia)),e=d.__media.matches):void 0!==d.__media&&(d.__media.removeListener(d.__updateMedia),d.__media=void 0),d.isActive=!0===e,document.body.classList.remove("body--"+(!0===e?"light":"dark")),document.body.classList.add("body--"+(!0===e?"dark":"light"))},toggle(){d.set(!1===d.isActive)},install({$q:e,onSSRHydrated:t,ssrContext:n}){const{dark:i}=e.config;if(e.dark=this,!0===this.__installed&&void 0===i)return;this.isActive=!0===i;const r=void 0!==i&&i;if(!0===o.uX.value){const e=e=>{this.__fromSSR=e},n=this.set;this.set=e,e(r),t.push((()=>{this.set=n,this.set(this.__fromSSR)}))}else this.set(r)}}),h=d;var f=n(5310),p=n(892);n(6822);function g(e,t,n=document.body){if("string"!==typeof e)throw new TypeError("Expected a string as propName");if("string"!==typeof t)throw new TypeError("Expected a string as value");if(!(n instanceof Element))throw new TypeError("Expected a DOM element");n.style.setProperty(`--q-${e}`,t)}var v=n(1705);function m(e){return!0===e.ios?"ios":!0===e.android?"android":void 0}function b({is:e,has:t,within:n},i){const o=[!0===e.desktop?"desktop":"mobile",(!1===t.touch?"no-":"")+"touch"];if(!0===e.mobile){const t=m(e);void 0!==t&&o.push("platform-"+t)}if(!0===e.nativeMobile){const t=e.nativeMobileWrapper;o.push(t),o.push("native-mobile"),!0!==e.ios||void 0!==i[t]&&!1===i[t].iosStatusBarPadding||o.push("q-ios-padding")}else!0===e.electron?o.push("electron"):!0===e.bex&&o.push("bex");return!0===n.iframe&&o.push("within-iframe"),o}function x(){const e=document.body.className;let t=e;void 0!==o.aG&&(t=t.replace("desktop","platform-ios mobile")),!0===o.Lp.has.touch&&(t=t.replace("no-touch","touch")),!0===o.Lp.within.iframe&&(t+=" within-iframe"),e!==t&&(document.body.className=t)}function y(e){for(const t in e)g(t,e[t])}const w={install(e){if(!0!==this.__installed){if(!0===o.uX.value)x();else{const{$q:t}=e;void 0!==t.config.brand&&y(t.config.brand);const n=b(o.Lp,t.config);document.body.classList.add.apply(document.body.classList,n)}!0===o.Lp.is.ios&&document.body.addEventListener("touchstart",a.ZT),window.addEventListener("keydown",v.ZK,!0)}}};var k=n(2289),S=n(5439),C=n(7495),_=n(4680);const A=[o.ZP,w,h,u,f.Z,p.Z,k.Z];function P(e,t){const n=(0,i.ri)(e);n.config.globalProperties=t.config.globalProperties;const{reload:o,...r}=t._context;return Object.assign(n._context,r),n}function L(e,t){t.forEach((t=>{t.install(e),t.__installed=!0}))}function j(e,t,n){e.config.globalProperties.$q=n.$q,e.provide(S.Ng,n.$q),L(n,A),void 0!==t.components&&Object.values(t.components).forEach((t=>{!0===(0,_.Kn)(t)&&void 0!==t.name&&e.component(t.name,t)})),void 0!==t.directives&&Object.values(t.directives).forEach((t=>{!0===(0,_.Kn)(t)&&void 0!==t.name&&e.directive(t.name,t)})),void 0!==t.plugins&&L(n,Object.values(t.plugins).filter((e=>"function"===typeof e.install&&!1===A.includes(e)))),!0===o.uX.value&&(n.$q.onSSRHydrated=()=>{n.onSSRHydrated.forEach((e=>{e()})),n.$q.onSSRHydrated=()=>{}})}const T=function(e,t={}){const n={version:"2.11.1"};!1===C.Uf?(void 0!==t.config&&Object.assign(C.w6,t.config),n.config={...C.w6},(0,C.tP)()):n.config=t.config||{},j(e,t,{parentApp:e,$q:n,lang:t.lang,iconSet:t.iconSet,onSSRHydrated:[]})}},892:(e,t,n)=>{"use strict";n.d(t,{F:()=>o.Z,Z:()=>s});n(8964);var i=n(4124),o=n(9527);function r(){const e=!0===Array.isArray(navigator.languages)&&navigator.languages.length>0?navigator.languages[0]:navigator.language;if("string"===typeof e)return e.split(/[-_]/).map(((e,t)=>0===t?e.toLowerCase():t>1||e.length<4?e.toUpperCase():e[0].toUpperCase()+e.slice(1).toLowerCase())).join("-")}const a=(0,i.Z)({__langPack:{}},{getLocale:r,set(e=o.Z,t){const n={...e,rtl:!0===e.rtl,getLocale:r};{const e=document.documentElement;e.setAttribute("dir",!0===n.rtl?"rtl":"ltr"),e.setAttribute("lang",n.isoName),n.set=a.set,Object.assign(a.__langPack,n),a.props=n,a.isoName=n.isoName,a.nativeName=n.nativeName}},install({$q:e,lang:t,ssrContext:n}){e.lang=a.__langPack,!0===this.__installed?void 0!==t&&this.set(t):this.set(t||o.Z)}}),s=a},4462:(e,t,n)=>{"use strict";n.d(t,{Z:()=>S});var i=n(9835),o=n(499),r=n(2074),a=n(8879),s=n(4458),l=n(3190),c=n(1821),u=n(926),d=n(6611),h=n(5429),f=n(3940),p=n(5987),g=n(8234),v=n(1705),m=n(4680);const b=(0,p.L)({name:"DialogPlugin",props:{...g.S,title:String,message:String,prompt:Object,options:Object,progress:[Boolean,Object],html:Boolean,ok:{type:[String,Object,Boolean],default:!0},cancel:[String,Object,Boolean],focus:{type:String,default:"ok",validator:e=>["ok","cancel","none"].includes(e)},stackButtons:Boolean,color:String,cardClass:[String,Array,Object],cardStyle:[String,Array,Object]},emits:["ok","hide"],setup(e,{emit:t}){const{proxy:n}=(0,i.FN)(),{$q:p}=n,b=(0,g.Z)(e,p),x=(0,o.iH)(null),y=(0,o.iH)(void 0!==e.prompt?e.prompt.model:void 0!==e.options?e.options.model:void 0),w=(0,o.Fl)((()=>"q-dialog-plugin"+(!0===b.value?" q-dialog-plugin--dark q-dark":"")+(!1!==e.progress?" q-dialog-plugin--progress":""))),k=(0,o.Fl)((()=>e.color||(!0===b.value?"amber":"primary"))),S=(0,o.Fl)((()=>!1===e.progress?null:!0===(0,m.Kn)(e.progress)?{component:e.progress.spinner||f.Z,props:{color:e.progress.color||k.value}}:{component:f.Z,props:{color:k.value}})),C=(0,o.Fl)((()=>void 0!==e.prompt||void 0!==e.options)),_=(0,o.Fl)((()=>{if(!0!==C.value)return{};const{model:t,isValid:n,items:i,...o}=void 0!==e.prompt?e.prompt:e.options;return o})),A=(0,o.Fl)((()=>!0===(0,m.Kn)(e.ok)||!0===e.ok?p.lang.label.ok:e.ok)),P=(0,o.Fl)((()=>!0===(0,m.Kn)(e.cancel)||!0===e.cancel?p.lang.label.cancel:e.cancel)),L=(0,o.Fl)((()=>void 0!==e.prompt?void 0!==e.prompt.isValid&&!0!==e.prompt.isValid(y.value):void 0!==e.options&&(void 0!==e.options.isValid&&!0!==e.options.isValid(y.value)))),j=(0,o.Fl)((()=>({color:k.value,label:A.value,ripple:!1,disable:L.value,...!0===(0,m.Kn)(e.ok)?e.ok:{flat:!0},"data-autofocus":"ok"===e.focus&&!0!==C.value||void 0,onClick:O}))),T=(0,o.Fl)((()=>({color:k.value,label:P.value,ripple:!1,...!0===(0,m.Kn)(e.cancel)?e.cancel:{flat:!0},"data-autofocus":"cancel"===e.focus&&!0!==C.value||void 0,onClick:M})));function F(){x.value.show()}function E(){x.value.hide()}function O(){t("ok",(0,o.IU)(y.value)),E()}function M(){E()}function R(){t("hide")}function I(e){y.value=e}function z(t){!0!==L.value&&"textarea"!==e.prompt.type&&!0===(0,v.So)(t,13)&&O()}function H(t,n){return!0===e.html?(0,i.h)(l.Z,{class:t,innerHTML:n}):(0,i.h)(l.Z,{class:t},(()=>n))}function N(){return[(0,i.h)(d.Z,{color:k.value,dense:!0,autofocus:!0,dark:b.value,..._.value,modelValue:y.value,"onUpdate:modelValue":I,onKeyup:z})]}function q(){return[(0,i.h)(h.Z,{color:k.value,options:e.options.items,dark:b.value,..._.value,modelValue:y.value,"onUpdate:modelValue":I})]}function D(){const t=[];return e.cancel&&t.push((0,i.h)(a.Z,T.value)),e.ok&&t.push((0,i.h)(a.Z,j.value)),(0,i.h)(c.Z,{class:!0===e.stackButtons?"items-end":"",vertical:e.stackButtons,align:"right"},(()=>t))}function B(){const t=[];return e.title&&t.push(H("q-dialog__title",e.title)),!1!==e.progress&&t.push((0,i.h)(l.Z,{class:"q-dialog__progress"},(()=>(0,i.h)(S.value.component,S.value.props)))),e.message&&t.push(H("q-dialog__message",e.message)),void 0!==e.prompt?t.push((0,i.h)(l.Z,{class:"scroll q-dialog-plugin__form"},N)):void 0!==e.options&&t.push((0,i.h)(u.Z,{dark:b.value}),(0,i.h)(l.Z,{class:"scroll q-dialog-plugin__form"},q),(0,i.h)(u.Z,{dark:b.value})),(e.ok||e.cancel)&&t.push(D()),t}function Y(){return[(0,i.h)(s.Z,{class:[w.value,e.cardClass],style:e.cardStyle,dark:b.value},B)]}return(0,i.YP)((()=>e.prompt&&e.prompt.model),I),(0,i.YP)((()=>e.options&&e.options.model),I),Object.assign(n,{show:F,hide:E}),()=>(0,i.h)(r.Z,{ref:x,onHide:R},Y)}});n(702);var x=n(7451),y=n(6669);function w(e,t){for(const n in t)"spinner"!==n&&Object(t[n])===t[n]?(e[n]=Object(e[n])!==e[n]?{}:{...e[n]},w(e[n],t[n])):e[n]=t[n]}function k(e,t,n){return r=>{let a,s;const l=!0===t&&void 0!==r.component;if(!0===l){const{component:e,componentProps:t}=r;a="string"===typeof e?n.component(e):e,s=t||{}}else{const{class:t,style:n,...i}=r;a=e,s=i,void 0!==t&&(i.cardClass=t),void 0!==n&&(i.cardStyle=n)}let c,u=!1;const d=(0,o.iH)(null),h=(0,y.q_)(),f=e=>{if(null!==d.value&&void 0!==d.value[e])return void d.value[e]();const t=c.$.subTree;if(t&&t.component){if(t.component.proxy&&t.component.proxy[e])return void t.component.proxy[e]();if(t.component.subTree&&t.component.subTree.component&&t.component.subTree.component.proxy&&t.component.subTree.component.proxy[e])return void t.component.subTree.component.proxy[e]()}console.error("[Quasar] Incorrectly defined Dialog component")},p=[],g=[],v={onOk(e){return p.push(e),v},onCancel(e){return g.push(e),v},onDismiss(e){return p.push(e),g.push(e),v},hide(){return f("hide"),v},update(e){if(null!==c){if(!0===l)Object.assign(s,e);else{const{class:t,style:n,...i}=e;void 0!==t&&(i.cardClass=t),void 0!==n&&(i.cardStyle=n),w(s,i)}c.$forceUpdate()}return v}},m=e=>{u=!0,p.forEach((t=>{t(e)}))},b=()=>{k.unmount(h),(0,y.pB)(h),k=null,c=null,!0!==u&&g.forEach((e=>{e()}))};let k=(0,x.$)({name:"QGlobalDialog",setup:()=>()=>(0,i.h)(a,{...s,ref:d,onOk:m,onHide:b,onVnodeMounted(...e){"function"===typeof s.onVnodeMounted&&s.onVnodeMounted(...e),(0,i.Y3)((()=>f("show")))}})},n);return c=k.mount(h),v}}const S={install({$q:e,parentApp:t}){e.dialog=k(b,!0,t),!0!==this.__installed&&(this.create=e.dialog)}}},3703:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var i=n(7506),o=n(1384),r=n(4680);function a(e){return!0===(0,r.J_)(e)?"__q_date|"+e.toUTCString():!0===(0,r.Gf)(e)?"__q_expr|"+e.source:"number"===typeof e?"__q_numb|"+e:"boolean"===typeof e?"__q_bool|"+(e?"1":"0"):"string"===typeof e?"__q_strn|"+e:"function"===typeof e?"__q_strn|"+e.toString():e===Object(e)?"__q_objt|"+JSON.stringify(e):e}function s(e){const t=e.length;if(t<9)return e;const n=e.substring(0,8),i=e.substring(9);switch(n){case"__q_date":return new Date(i);case"__q_expr":return new RegExp(i);case"__q_numb":return Number(i);case"__q_bool":return Boolean("1"===i);case"__q_strn":return""+i;case"__q_objt":return JSON.parse(i);default:return e}}function l(){const e=()=>null;return{has:()=>!1,getLength:()=>0,getItem:e,getIndex:e,getKey:e,getAll:()=>{},getAllKeys:()=>[],set:o.ZT,remove:o.ZT,clear:o.ZT,isEmpty:()=>!0}}function c(e){const t=window[e+"Storage"],n=e=>{const n=t.getItem(e);return n?s(n):null};return{has:e=>null!==t.getItem(e),getLength:()=>t.length,getItem:n,getIndex:e=>ee{let e;const i={},o=t.length;for(let r=0;r{const e=[],n=t.length;for(let i=0;i{t.setItem(e,a(n))},remove:e=>{t.removeItem(e)},clear:()=>{t.clear()},isEmpty:()=>0===t.length}}const u=!1===i.Lp.has.webStorage?l():c("local"),d={install({$q:e}){e.localStorage=u}};Object.assign(d,u);const h=d},7506:(e,t,n)=>{"use strict";n.d(t,{Lp:()=>g,ZP:()=>m,aG:()=>a,uX:()=>r});var i=n(499),o=n(3251);const r=(0,i.iH)(!1);let a,s=!1;function l(e,t){const n=/(edg|edge|edga|edgios)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(vivaldi)[\/]([\w.]+)/.exec(e)||/(chrome|crios)[\/]([\w.]+)/.exec(e)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(firefox|fxios)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(e)||[];return{browser:n[5]||n[3]||n[1]||"",version:n[2]||n[4]||"0",versionNumber:n[4]||n[2]||"0",platform:t[0]||""}}function c(e){return/(ipad)/.exec(e)||/(ipod)/.exec(e)||/(windows phone)/.exec(e)||/(iphone)/.exec(e)||/(kindle)/.exec(e)||/(silk)/.exec(e)||/(android)/.exec(e)||/(win)/.exec(e)||/(mac)/.exec(e)||/(linux)/.exec(e)||/(cros)/.exec(e)||/(playbook)/.exec(e)||/(bb)/.exec(e)||/(blackberry)/.exec(e)||[]}const u="ontouchstart"in window||window.navigator.maxTouchPoints>0;function d(e){a={is:{...e}},delete e.mac,delete e.desktop;const t=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(e,{mobile:!0,ios:!0,platform:t,[t]:!0})}function h(e){const t=e.toLowerCase(),n=c(t),i=l(t,n),o={};i.browser&&(o[i.browser]=!0,o.version=i.version,o.versionNumber=parseInt(i.versionNumber,10)),i.platform&&(o[i.platform]=!0);const r=o.android||o.ios||o.bb||o.blackberry||o.ipad||o.iphone||o.ipod||o.kindle||o.playbook||o.silk||o["windows phone"];return!0===r||t.indexOf("mobile")>-1?(o.mobile=!0,o.edga||o.edgios?(o.edge=!0,i.browser="edge"):o.crios?(o.chrome=!0,i.browser="chrome"):o.fxios&&(o.firefox=!0,i.browser="firefox")):o.desktop=!0,(o.ipod||o.ipad||o.iphone)&&(o.ios=!0),o["windows phone"]&&(o.winphone=!0,delete o["windows phone"]),(o.chrome||o.opr||o.safari||o.vivaldi||!0===o.mobile&&!0!==o.ios&&!0!==r)&&(o.webkit=!0),o.edg&&(i.browser="edgechromium",o.edgeChromium=!0),(o.safari&&o.blackberry||o.bb)&&(i.browser="blackberry",o.blackberry=!0),o.safari&&o.playbook&&(i.browser="playbook",o.playbook=!0),o.opr&&(i.browser="opera",o.opera=!0),o.safari&&o.android&&(i.browser="android",o.android=!0),o.safari&&o.kindle&&(i.browser="kindle",o.kindle=!0),o.safari&&o.silk&&(i.browser="silk",o.silk=!0),o.vivaldi&&(i.browser="vivaldi",o.vivaldi=!0),o.name=i.browser,o.platform=i.platform,t.indexOf("electron")>-1?o.electron=!0:document.location.href.indexOf("-extension://")>-1?o.bex=!0:(void 0!==window.Capacitor?(o.capacitor=!0,o.nativeMobile=!0,o.nativeMobileWrapper="capacitor"):void 0===window._cordovaNative&&void 0===window.cordova||(o.cordova=!0,o.nativeMobile=!0,o.nativeMobileWrapper="cordova"),!0===u&&!0===o.mac&&(!0===o.desktop&&!0===o.safari||!0===o.nativeMobile&&!0!==o.android&&!0!==o.ios&&!0!==o.ipad)&&d(o)),o}const f=navigator.userAgent||navigator.vendor||window.opera,p={has:{touch:!1,webStorage:!1},within:{iframe:!1}},g={userAgent:f,is:h(f),has:{touch:u},within:{iframe:window.self!==window.top}},v={install(e){const{$q:t}=e;!0===r.value?(e.onSSRHydrated.push((()=>{r.value=!1,Object.assign(t.platform,g),a=void 0})),t.platform=(0,i.qj)(this)):t.platform=this}};{let e;(0,o.g)(g.has,"webStorage",(()=>{if(void 0!==e)return e;try{if(window.localStorage)return e=!0,!0}catch(t){}return e=!1,!1})),s=!0===g.is.ios&&-1===window.navigator.vendor.toLowerCase().indexOf("apple"),!0===r.value?Object.assign(v,g,a,p):Object.assign(v,g)}const m=v},899:(e,t,n)=>{"use strict";function i(e,t=250,n){let i;function o(){const o=arguments,r=()=>{i=void 0,!0!==n&&e.apply(this,o)};clearTimeout(i),!0===n&&void 0===i&&e.apply(this,o),i=setTimeout(r,t)}return o.cancel=()=>{clearTimeout(i)},o}n.d(t,{Z:()=>i})},223:(e,t,n)=>{"use strict";n.d(t,{iv:()=>o,mY:()=>a,sb:()=>r});var i=n(499);function o(e,t){const n=e.style;for(const i in t)n[i]=t[i]}function r(e){if(void 0===e||null===e)return;if("string"===typeof e)try{return document.querySelector(e)||void 0}catch(n){return}const t=(0,i.SU)(e);return t?t.$el||t:void 0}function a(e,t){if(void 0===e||null===e||!0===e.contains(t))return!0;for(let n=e.nextElementSibling;null!==n;n=n.nextElementSibling)if(n.contains(t))return!0;return!1}},1384:(e,t,n)=>{"use strict";n.d(t,{AZ:()=>s,FK:()=>a,Jf:()=>d,M0:()=>h,NS:()=>u,X$:()=>c,ZT:()=>o,du:()=>r,rU:()=>i,sT:()=>l,ul:()=>f});n(702);const i={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{const e=Object.defineProperty({},"passive",{get(){Object.assign(i,{hasPassive:!0,passive:{passive:!0},notPassive:{passive:!1},passiveCapture:{passive:!0,capture:!0},notPassiveCapture:{passive:!1,capture:!0}})}});window.addEventListener("qtest",null,e),window.removeEventListener("qtest",null,e)}catch(p){}function o(){}function r(e){return 0===e.button}function a(e){return e.touches&&e.touches[0]?e=e.touches[0]:e.changedTouches&&e.changedTouches[0]?e=e.changedTouches[0]:e.targetTouches&&e.targetTouches[0]&&(e=e.targetTouches[0]),{top:e.clientY,left:e.clientX}}function s(e){if(e.path)return e.path;if(e.composedPath)return e.composedPath();const t=[];let n=e.target;while(n){if(t.push(n),"HTML"===n.tagName)return t.push(document),t.push(window),t;n=n.parentElement}}function l(e){e.stopPropagation()}function c(e){!1!==e.cancelable&&e.preventDefault()}function u(e){!1!==e.cancelable&&e.preventDefault(),e.stopPropagation()}function d(e,t){if(void 0===e||!0===t&&!0===e.__dragPrevented)return;const n=!0===t?e=>{e.__dragPrevented=!0,e.addEventListener("dragstart",c,i.notPassiveCapture)}:e=>{delete e.__dragPrevented,e.removeEventListener("dragstart",c,i.notPassiveCapture)};e.querySelectorAll("a, img").forEach(n)}function h(e,t,n){const o=`__q_${t}_evt`;e[o]=void 0!==e[o]?e[o].concat(n):n,n.forEach((t=>{t[0].addEventListener(t[1],e[t[2]],i[t[3]])}))}function f(e,t){const n=`__q_${t}_evt`;void 0!==e[n]&&(e[n].forEach((t=>{t[0].removeEventListener(t[1],e[t[2]],i[t[3]])})),e[n]=void 0)}},321:(e,t,n)=>{"use strict";n.d(t,{Uz:()=>r,kC:()=>i,vX:()=>o,vk:()=>a});function i(e){return e.charAt(0).toUpperCase()+e.slice(1)}function o(e,t,n){return n<=t?t:Math.min(n,Math.max(t,e))}function r(e,t,n){if(n<=t)return t;const i=n-t+1;let o=t+(e-t)%i;return o=t?i:new Array(t-i.length+1).join(n)+i}},4680:(e,t,n)=>{"use strict";n.d(t,{Gf:()=>a,J_:()=>r,Kn:()=>o,hj:()=>s,xb:()=>i});n(702);function i(e,t){if(e===t)return!0;if(null!==e&&null!==t&&"object"===typeof e&&"object"===typeof t){if(e.constructor!==t.constructor)return!1;let n,o;if(e.constructor===Array){if(n=e.length,n!==t.length)return!1;for(o=n;0!==o--;)if(!0!==i(e[o],t[o]))return!1;return!0}if(e.constructor===Map){if(e.size!==t.size)return!1;o=e.entries().next();while(!0!==o.done){if(!0!==t.has(o.value[0]))return!1;o=o.next()}o=e.entries().next();while(!0!==o.done){if(!0!==i(o.value[1],t.get(o.value[0])))return!1;o=o.next()}return!0}if(e.constructor===Set){if(e.size!==t.size)return!1;o=e.entries().next();while(!0!==o.done){if(!0!==t.has(o.value[0]))return!1;o=o.next()}return!0}if(null!=e.buffer&&e.buffer.constructor===ArrayBuffer){if(n=e.length,n!==t.length)return!1;for(o=n;0!==o--;)if(e[o]!==t[o])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();const r=Object.keys(e).filter((t=>void 0!==e[t]));if(n=r.length,n!==Object.keys(t).filter((e=>void 0!==t[e])).length)return!1;for(o=n;0!==o--;){const n=r[o];if(!0!==i(e[n],t[n]))return!1}return!0}return e!==e&&t!==t}function o(e){return null!==e&&"object"===typeof e&&!0!==Array.isArray(e)}function r(e){return"[object Date]"===Object.prototype.toString.call(e)}function a(e){return"[object RegExp]"===Object.prototype.toString.call(e)}function s(e){return"number"===typeof e&&isFinite(e)}},5987:(e,t,n)=>{"use strict";n.d(t,{L:()=>r,f:()=>a});var i=n(499),o=n(9835);const r=e=>(0,i.Xl)((0,o.aZ)(e)),a=e=>(0,i.Xl)(e)},4124:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(499),o=n(3251);const r=(e,t)=>{const n=(0,i.qj)(e);for(const i in e)(0,o.g)(t,i,(()=>n[i]),(e=>{n[i]=e}));return t}},6532:(e,t,n)=>{"use strict";n.d(t,{c:()=>d,k:()=>h});var i=n(7506),o=n(1705);const r=[];let a;function s(e){a=27===e.keyCode}function l(){!0===a&&(a=!1)}function c(e){!0===a&&(a=!1,!0===(0,o.So)(e,27)&&r[r.length-1](e))}function u(e){window[e]("keydown",s),window[e]("blur",l),window[e]("keyup",c),a=!1}function d(e){!0===i.Lp.is.desktop&&(r.push(e),1===r.length&&u("addEventListener"))}function h(e){const t=r.indexOf(e);t>-1&&(r.splice(t,1),0===r.length&&u("removeEventListener"))}},7026:(e,t,n)=>{"use strict";n.d(t,{YX:()=>a,fP:()=>c,jd:()=>l,xF:()=>s});let i=[],o=[];function r(e){o=o.filter((t=>t!==e))}function a(e){r(e),o.push(e)}function s(e){r(e),0===o.length&&i.length>0&&(i[i.length-1](),i=[])}function l(e){0===o.length?e():i.push(e)}function c(e){i=i.filter((t=>t!==e))}},4173:(e,t,n)=>{"use strict";n.d(t,{H:()=>s,i:()=>a});var i=n(7506);const o=[];function r(e){o[o.length-1](e)}function a(e){!0===i.Lp.is.desktop&&(o.push(e),1===o.length&&document.body.addEventListener("focusin",r))}function s(e){const t=o.indexOf(e);t>-1&&(o.splice(t,1),0===o.length&&document.body.removeEventListener("focusin",r))}},7495:(e,t,n)=>{"use strict";n.d(t,{Uf:()=>o,tP:()=>r,w6:()=>i});const i={};let o=!1;function r(){o=!0}},6669:(e,t,n)=>{"use strict";n.d(t,{pB:()=>s,q_:()=>a});var i=n(7495);const o=[];let r=document.body;function a(e){const t=document.createElement("div");if(void 0!==e&&(t.id=e),void 0!==i.w6.globalNodes){const e=i.w6.globalNodes["class"];void 0!==e&&(t.className=e)}return r.appendChild(t),o.push(t),t}function s(e){o.splice(o.indexOf(e),1),e.remove()}},3251:(e,t,n)=>{"use strict";function i(e,t,n,i){return Object.defineProperty(e,t,{get:n,set:i,enumerable:!0}),e}function o(e,t){for(const n in t)i(e,n,t[n]);return e}n.d(t,{K:()=>o,g:()=>i})},1705:(e,t,n)=>{"use strict";n.d(t,{So:()=>a,Wm:()=>r,ZK:()=>o});let i=!1;function o(e){i=!0===e.isComposing}function r(e){return!0===i||e!==Object(e)||!0===e.isComposing||!0===e.qKeyEvent}function a(e,t){return!0!==r(e)&&[].concat(t).includes(e.keyCode)}},9480:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i={xs:30,sm:35,md:40,lg:50,xl:60}},2909:(e,t,n)=>{"use strict";n.d(t,{AH:()=>a,Q$:()=>o,S7:()=>s,je:()=>r});var i=n(2046);const o=[];function r(e){return o.find((t=>null!==t.contentEl&&t.contentEl.contains(e)))}function a(e,t){do{if("QMenu"===e.$options.name){if(e.hide(t),!0===e.$props.separateClosePopup)return(0,i.O2)(e)}else if(!0===e.__qPortal){const n=(0,i.O2)(e);return void 0!==n&&"QPopupProxy"===n.$options.name?(e.hide(t),n):e}e=(0,i.O2)(e)}while(void 0!==e&&null!==e)}function s(e,t,n){while(0!==n&&void 0!==e&&null!==e){if(!0===e.__qPortal){if(n--,"QMenu"===e.$options.name){e=a(e,t);continue}e.hide(t)}e=(0,i.O2)(e)}}},2026:(e,t,n)=>{"use strict";n.d(t,{Bl:()=>r,Jl:()=>l,KR:()=>o,pf:()=>s,vs:()=>a});var i=n(9835);function o(e,t){return void 0!==e&&e()||t}function r(e,t){if(void 0!==e){const t=e();if(void 0!==t&&null!==t)return t.slice()}return t}function a(e,t){return void 0!==e?t.concat(e()):t}function s(e,t){return void 0===e?t:void 0!==t?t.concat(e()):e()}function l(e,t,n,o,r,a){t.key=o+r;const s=(0,i.h)(e,t,n);return!0===r?(0,i.wy)(s,a()):s}},8383:(e,t,n)=>{"use strict";n.d(t,{e:()=>i});let i=!1;{const e=document.createElement("div");e.setAttribute("dir","rtl"),Object.assign(e.style,{width:"1px",height:"1px",overflow:"auto"});const t=document.createElement("div");Object.assign(t.style,{width:"1000px",height:"1px"}),document.body.appendChild(e),e.appendChild(t),e.scrollLeft=-1e3,i=e.scrollLeft>=0,e.remove()}},2589:(e,t,n)=>{"use strict";n.d(t,{M:()=>o});var i=n(7506);function o(){if(void 0!==window.getSelection){const e=window.getSelection();void 0!==e.empty?e.empty():void 0!==e.removeAllRanges&&(e.removeAllRanges(),!0!==i.ZP.is.mobile&&e.addRange(document.createRange()))}else void 0!==document.selection&&document.selection.empty()}},5439:(e,t,n)=>{"use strict";n.d(t,{Lr:()=>a,Mw:()=>r,Nd:()=>l,Ng:()=>i,YE:()=>o,qO:()=>c,vh:()=>s});const i="_q_",o="_q_l_",r="_q_pc_",a="_q_f_",s="_q_fo_",l="_q_tabs_",c=()=>{}},9367:(e,t,n)=>{"use strict";n.d(t,{R:()=>r,n:()=>a});n(702);const i={left:!0,right:!0,up:!0,down:!0,horizontal:!0,vertical:!0},o=Object.keys(i);function r(e){const t={};for(const n of o)!0===e[n]&&(t[n]=!0);return 0===Object.keys(t).length?i:(!0===t.horizontal?t.left=t.right=!0:!0===t.left&&!0===t.right&&(t.horizontal=!0),!0===t.vertical?t.up=t.down=!0:!0===t.up&&!0===t.down&&(t.vertical=!0),!0===t.horizontal&&!0===t.vertical&&(t.all=!0),t)}function a(e,t){return void 0===t.event&&void 0!==e.target&&!0!==e.target.draggable&&"function"===typeof t.handler&&"INPUT"!==e.target.nodeName.toUpperCase()&&(void 0===e.qClonedBy||-1===e.qClonedBy.indexOf(t.uid))}i.all=!0},2046:(e,t,n)=>{"use strict";n.d(t,{$D:()=>s,O2:()=>i,Pf:()=>r,Rb:()=>a});n(702);function i(e){if(Object(e.$parent)===e.$parent)return e.$parent;let{parent:t}=e.$;while(Object(t)===t){if(Object(t.proxy)===t.proxy)return t.proxy;t=t.parent}}function o(e,t){"symbol"===typeof t.type?!0===Array.isArray(t.children)&&t.children.forEach((t=>{o(e,t)})):e.add(t)}function r(e){const t=new Set;return e.forEach((e=>{o(t,e)})),Array.from(t)}function a(e){return void 0!==e.appContext.config.globalProperties.$router}function s(e){return!0===e.isUnmounted||!0===e.isDeactivated}},3701:(e,t,n)=>{"use strict";n.d(t,{OI:()=>s,QA:()=>v,b0:()=>r,f3:()=>h,ik:()=>f,np:()=>g,u3:()=>a});var i=n(223);const o=[null,document,document.body,document.scrollingElement,document.documentElement];function r(e,t){let n=(0,i.sb)(t);if(void 0===n){if(void 0===e||null===e)return window;n=e.closest(".scroll,.scroll-y,.overflow-auto")}return o.includes(n)?window:n}function a(e){return e===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:e.scrollTop}function s(e){return e===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:e.scrollLeft}function l(e,t,n=0){const i=void 0===arguments[3]?performance.now():arguments[3],o=a(e);n<=0?o!==t&&u(e,t):requestAnimationFrame((r=>{const a=r-i,s=o+(t-o)/Math.max(a,n)*a;u(e,s),s!==t&&l(e,t,n-a,r)}))}function c(e,t,n=0){const i=void 0===arguments[3]?performance.now():arguments[3],o=s(e);n<=0?o!==t&&d(e,t):requestAnimationFrame((r=>{const a=r-i,s=o+(t-o)/Math.max(a,n)*a;d(e,s),s!==t&&c(e,t,n-a,r)}))}function u(e,t){e!==window?e.scrollTop=t:window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,t)}function d(e,t){e!==window?e.scrollLeft=t:window.scrollTo(t,window.pageYOffset||window.scrollY||document.body.scrollTop||0)}function h(e,t,n){n?l(e,t,n):u(e,t)}function f(e,t,n){n?c(e,t,n):d(e,t)}let p;function g(){if(void 0!==p)return p;const e=document.createElement("p"),t=document.createElement("div");(0,i.iv)(e,{width:"100%",height:"200px"}),(0,i.iv)(t,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(e),document.body.appendChild(t);const n=e.offsetWidth;t.style.overflow="scroll";let o=e.offsetWidth;return n===o&&(o=t.clientWidth),t.remove(),p=n-o,p}function v(e,t=!0){return!(!e||e.nodeType!==Node.ELEMENT_NODE)&&(t?e.scrollHeight>e.clientHeight&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-y"])):e.scrollWidth>e.clientWidth&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-x"])))}},796:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});n(8170),n(5231),n(9359),n(6408);let i,o=0;const r=new Array(256);for(let c=0;c<256;c++)r[c]=(c+256).toString(16).substring(1);const a=(()=>{const e="undefined"!==typeof crypto?crypto:"undefined"!==typeof window?window.crypto||window.msCrypto:void 0;if(void 0!==e){if(void 0!==e.randomBytes)return e.randomBytes;if(void 0!==e.getRandomValues)return t=>{const n=new Uint8Array(t);return e.getRandomValues(n),n}}return e=>{const t=[];for(let n=e;n>0;n--)t.push(Math.floor(256*Math.random()));return t}})(),s=4096;function l(){(void 0===i||o+16>s)&&(o=0,i=a(s));const e=Array.prototype.slice.call(i,o,o+=16);return e[6]=15&e[6]|64,e[8]=63&e[8]|128,r[e[0]]+r[e[1]]+r[e[2]]+r[e[3]]+"-"+r[e[4]]+r[e[5]]+"-"+r[e[6]]+r[e[7]]+"-"+r[e[8]]+r[e[9]]+"-"+r[e[10]]+r[e[11]]+r[e[12]]+r[e[13]]+r[e[14]]+r[e[15]]}},1947:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var i=n(7451),o=n(892),r=n(2289);const a={version:"2.11.1",install:i.Z,lang:o.Z,iconSet:r.Z}},8762:(e,t,n)=>{var i=n(3834),o=n(6107),r=n(7545),a=i.TypeError;e.exports=function(e){if(o(e))return e;throw a(r(e)+" is not a function")}},9667:(e,t,n)=>{var i=n(3834),o=n(9627),r=n(7545),a=i.TypeError;e.exports=function(e){if(o(e))return e;throw a(r(e)+" is not a constructor")}},9220:(e,t,n)=>{var i=n(3834),o=n(6107),r=i.String,a=i.TypeError;e.exports=function(e){if("object"==typeof e||o(e))return e;throw a("Can't set "+r(e)+" as a prototype")}},5323:(e,t,n)=>{var i=n(4103),o=n(5267),r=n(1012),a=i("unscopables"),s=Array.prototype;void 0==s[a]&&r.f(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][e]=!0}},3366:(e,t,n)=>{"use strict";var i=n(6823).charAt;e.exports=function(e,t,n){return t+(n?i(e,t).length:1)}},8406:(e,t,n)=>{var i=n(3834),o=n(6123),r=i.TypeError;e.exports=function(e,t){if(o(t,e))return e;throw r("Incorrect invocation")}},616:(e,t,n)=>{var i=n(3834),o=n(1419),r=i.String,a=i.TypeError;e.exports=function(e){if(o(e))return e;throw a(r(e)+" is not an object")}},2884:e=>{e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},8086:(e,t,n)=>{"use strict";var i,o,r,a=n(2884),s=n(4133),l=n(3834),c=n(6107),u=n(1419),d=n(2924),h=n(4239),f=n(7545),p=n(4722),g=n(6717),v=n(1012).f,m=n(6123),b=n(7886),x=n(6534),y=n(4103),w=n(3965),k=l.Int8Array,S=k&&k.prototype,C=l.Uint8ClampedArray,_=C&&C.prototype,A=k&&b(k),P=S&&b(S),L=Object.prototype,j=l.TypeError,T=y("toStringTag"),F=w("TYPED_ARRAY_TAG"),E=w("TYPED_ARRAY_CONSTRUCTOR"),O=a&&!!x&&"Opera"!==h(l.opera),M=!1,R={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},I={BigInt64Array:8,BigUint64Array:8},z=function(e){if(!u(e))return!1;var t=h(e);return"DataView"===t||d(R,t)||d(I,t)},H=function(e){if(!u(e))return!1;var t=h(e);return d(R,t)||d(I,t)},N=function(e){if(H(e))return e;throw j("Target is not a typed array")},q=function(e){if(c(e)&&(!x||m(A,e)))return e;throw j(f(e)+" is not a typed array constructor")},D=function(e,t,n,i){if(s){if(n)for(var o in R){var r=l[o];if(r&&d(r.prototype,e))try{delete r.prototype[e]}catch(a){}}P[e]&&!n||g(P,e,n?t:O&&S[e]||t,i)}},B=function(e,t,n){var i,o;if(s){if(x){if(n)for(i in R)if(o=l[i],o&&d(o,e))try{delete o[e]}catch(r){}if(A[e]&&!n)return;try{return g(A,e,n?t:O&&A[e]||t)}catch(r){}}for(i in R)o=l[i],!o||o[e]&&!n||g(o,e,t)}};for(i in R)o=l[i],r=o&&o.prototype,r?p(r,E,o):O=!1;for(i in I)o=l[i],r=o&&o.prototype,r&&p(r,E,o);if((!O||!c(A)||A===Function.prototype)&&(A=function(){throw j("Incorrect invocation")},O))for(i in R)l[i]&&x(l[i],A);if((!O||!P||P===L)&&(P=A.prototype,O))for(i in R)l[i]&&x(l[i].prototype,P);if(O&&b(_)!==P&&x(_,P),s&&!d(P,T))for(i in M=!0,v(P,T,{get:function(){return u(this)?this[F]:void 0}}),R)l[i]&&p(l[i],F,i);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:O,TYPED_ARRAY_CONSTRUCTOR:E,TYPED_ARRAY_TAG:M&&F,aTypedArray:N,aTypedArrayConstructor:q,exportTypedArrayMethod:D,exportTypedArrayStaticMethod:B,isView:z,isTypedArray:H,TypedArray:A,TypedArrayPrototype:P}},2248:(e,t,n)=>{"use strict";var i=n(3834),o=n(1636),r=n(4133),a=n(2884),s=n(9104),l=n(4722),c=n(4196),u=n(8814),d=n(8406),h=n(6675),f=n(7302),p=n(4686),g=n(9798),v=n(7886),m=n(6534),b=n(3450).f,x=n(1012).f,y=n(5408),w=n(6378),k=n(2365),S=n(780),C=s.PROPER,_=s.CONFIGURABLE,A=S.get,P=S.set,L="ArrayBuffer",j="DataView",T="prototype",F="Wrong length",E="Wrong index",O=i[L],M=O,R=M&&M[T],I=i[j],z=I&&I[T],H=Object.prototype,N=i.Array,q=i.RangeError,D=o(y),B=o([].reverse),Y=g.pack,X=g.unpack,V=function(e){return[255&e]},W=function(e){return[255&e,e>>8&255]},$=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},U=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},Z=function(e){return Y(e,23,4)},G=function(e){return Y(e,52,8)},K=function(e,t){x(e[T],t,{get:function(){return A(this)[t]}})},J=function(e,t,n,i){var o=p(n),r=A(e);if(o+t>r.byteLength)throw q(E);var a=A(r.buffer).bytes,s=o+r.byteOffset,l=w(a,s,s+t);return i?l:B(l)},Q=function(e,t,n,i,o,r){var a=p(n),s=A(e);if(a+t>s.byteLength)throw q(E);for(var l=A(s.buffer).bytes,c=a+s.byteOffset,u=i(+o),d=0;die;)(te=ne[ie++])in M||l(M,te,O[te]);R.constructor=M}m&&v(z)!==H&&m(z,H);var oe=new I(new M(2)),re=o(z.setInt8);oe.setInt8(0,2147483648),oe.setInt8(1,2147483649),!oe.getInt8(0)&&oe.getInt8(1)||c(z,{setInt8:function(e,t){re(this,e,t<<24>>24)},setUint8:function(e,t){re(this,e,t<<24>>24)}},{unsafe:!0})}else M=function(e){d(this,R);var t=p(e);P(this,{bytes:D(N(t),0),byteLength:t}),r||(this.byteLength=t)},R=M[T],I=function(e,t,n){d(this,z),d(e,R);var i=A(e).byteLength,o=h(t);if(o<0||o>i)throw q("Wrong offset");if(n=void 0===n?i-o:f(n),o+n>i)throw q(F);P(this,{buffer:e,byteLength:n,byteOffset:o}),r||(this.buffer=e,this.byteLength=n,this.byteOffset=o)},z=I[T],r&&(K(M,"byteLength"),K(I,"buffer"),K(I,"byteLength"),K(I,"byteOffset")),c(z,{getInt8:function(e){return J(this,1,e)[0]<<24>>24},getUint8:function(e){return J(this,1,e)[0]},getInt16:function(e){var t=J(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=J(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return U(J(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return U(J(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return X(J(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return X(J(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){Q(this,1,e,V,t)},setUint8:function(e,t){Q(this,1,e,V,t)},setInt16:function(e,t){Q(this,2,e,W,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){Q(this,2,e,W,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){Q(this,4,e,$,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){Q(this,4,e,$,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){Q(this,4,e,Z,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){Q(this,8,e,G,t,arguments.length>2?arguments[2]:void 0)}});k(M,L),k(I,j),e.exports={ArrayBuffer:M,DataView:I}},5408:(e,t,n)=>{"use strict";var i=n(8332),o=n(2661),r=n(8600);e.exports=function(e){var t=i(this),n=r(t),a=arguments.length,s=o(a>1?arguments[1]:void 0,n),l=a>2?arguments[2]:void 0,c=void 0===l?n:o(l,n);while(c>s)t[s++]=e;return t}},7508:(e,t,n)=>{"use strict";var i=n(3834),o=n(6158),r=n(6654),a=n(8332),s=n(1108),l=n(5712),c=n(9627),u=n(8600),d=n(5976),h=n(4021),f=n(3395),p=i.Array;e.exports=function(e){var t=a(e),n=c(this),i=arguments.length,g=i>1?arguments[1]:void 0,v=void 0!==g;v&&(g=o(g,i>2?arguments[2]:void 0));var m,b,x,y,w,k,S=f(t),C=0;if(!S||this==p&&l(S))for(m=u(t),b=n?new this(m):p(m);m>C;C++)k=v?g(t[C],C):t[C],d(b,C,k);else for(y=h(t,S),w=y.next,b=n?new this:[];!(x=r(w,y)).done;C++)k=v?s(y,g,[x.value,C],!0):x.value,d(b,C,k);return b.length=C,b}},7714:(e,t,n)=>{var i=n(7447),o=n(2661),r=n(8600),a=function(e){return function(t,n,a){var s,l=i(t),c=r(l),u=o(a,c);if(e&&n!=n){while(c>u)if(s=l[u++],s!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},9226:(e,t,n)=>{var i=n(6158),o=n(1636),r=n(3972),a=n(8332),s=n(8600),l=n(4837),c=o([].push),u=function(e){var t=1==e,n=2==e,o=3==e,u=4==e,d=6==e,h=7==e,f=5==e||d;return function(p,g,v,m){for(var b,x,y=a(p),w=r(y),k=i(g,v),S=s(w),C=0,_=m||l,A=t?_(p,S):n||h?_(p,0):void 0;S>C;C++)if((f||C in w)&&(b=w[C],x=k(b,C,y),e))if(t)A[C]=x;else if(x)switch(e){case 3:return!0;case 5:return b;case 6:return C;case 2:c(A,b)}else switch(e){case 4:return!1;case 7:c(A,b)}return d?-1:o||u?u:A}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},6378:(e,t,n)=>{var i=n(3834),o=n(2661),r=n(8600),a=n(5976),s=i.Array,l=Math.max;e.exports=function(e,t,n){for(var i=r(e),c=o(t,i),u=o(void 0===n?i:n,i),d=s(l(u-c,0)),h=0;c{var i=n(6378),o=Math.floor,r=function(e,t){var n=e.length,l=o(n/2);return n<8?a(e,t):s(e,r(i(e,0,l),t),r(i(e,l),t),t)},a=function(e,t){var n,i,o=e.length,r=1;while(r0)e[i]=e[--i];i!==r++&&(e[i]=n)}return e},s=function(e,t,n,i){var o=t.length,r=n.length,a=0,s=0;while(a{var i=n(3834),o=n(6555),r=n(9627),a=n(1419),s=n(4103),l=s("species"),c=i.Array;e.exports=function(e){var t;return o(e)&&(t=e.constructor,r(t)&&(t===c||o(t.prototype))?t=void 0:a(t)&&(t=t[l],null===t&&(t=void 0))),void 0===t?c:t}},4837:(e,t,n)=>{var i=n(4622);e.exports=function(e,t){return new(i(e))(0===t?0:t)}},1108:(e,t,n)=>{var i=n(616),o=n(4829);e.exports=function(e,t,n,r){try{return r?t(i(n)[0],n[1]):t(n)}catch(a){o(e,"throw",a)}}},8272:(e,t,n)=>{var i=n(4103),o=i("iterator"),r=!1;try{var a=0,s={next:function(){return{done:!!a++}},return:function(){r=!0}};s[o]=function(){return this},Array.from(s,(function(){throw 2}))}catch(l){}e.exports=function(e,t){if(!t&&!r)return!1;var n=!1;try{var i={};i[o]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(l){}return n}},6749:(e,t,n)=>{var i=n(1636),o=i({}.toString),r=i("".slice);e.exports=function(e){return r(o(e),8,-1)}},4239:(e,t,n)=>{var i=n(3834),o=n(4130),r=n(6107),a=n(6749),s=n(4103),l=s("toStringTag"),c=i.Object,u="Arguments"==a(function(){return arguments}()),d=function(e,t){try{return e[t]}catch(n){}};e.exports=o?a:function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=d(t=c(e),l))?n:u?a(t):"Object"==(i=a(t))&&r(t.callee)?"Arguments":i}},1328:(e,t,n)=>{var i=n(1636),o=i("".replace),r=function(e){return String(Error(e).stack)}("zxcasd"),a=/\n\s*at [^:]*:[^\n]*/,s=a.test(r);e.exports=function(e,t){if(s&&"string"==typeof e)while(t--)e=o(e,a,"");return e}},7366:(e,t,n)=>{var i=n(2924),o=n(1240),r=n(863),a=n(1012);e.exports=function(e,t,n){for(var s=o(t),l=a.f,c=r.f,u=0;u{var i=n(8814);e.exports=!i((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},1551:(e,t,n)=>{"use strict";var i=n(619).IteratorPrototype,o=n(5267),r=n(3386),a=n(2365),s=n(1366),l=function(){return this};e.exports=function(e,t,n,c){var u=t+" Iterator";return e.prototype=o(i,{next:r(+!c,n)}),a(e,u,!1,!0),s[u]=l,e}},4722:(e,t,n)=>{var i=n(4133),o=n(1012),r=n(3386);e.exports=i?function(e,t,n){return o.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},3386:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},5976:(e,t,n)=>{"use strict";var i=n(1017),o=n(1012),r=n(3386);e.exports=function(e,t,n){var a=i(t);a in e?o.f(e,a,r(0,n)):e[a]=n}},3532:(e,t,n)=>{"use strict";var i=n(6943),o=n(6654),r=n(200),a=n(9104),s=n(6107),l=n(1551),c=n(7886),u=n(6534),d=n(2365),h=n(4722),f=n(6717),p=n(4103),g=n(1366),v=n(619),m=a.PROPER,b=a.CONFIGURABLE,x=v.IteratorPrototype,y=v.BUGGY_SAFARI_ITERATORS,w=p("iterator"),k="keys",S="values",C="entries",_=function(){return this};e.exports=function(e,t,n,a,p,v,A){l(n,t,a);var P,L,j,T=function(e){if(e===p&&R)return R;if(!y&&e in O)return O[e];switch(e){case k:return function(){return new n(this,e)};case S:return function(){return new n(this,e)};case C:return function(){return new n(this,e)}}return function(){return new n(this)}},F=t+" Iterator",E=!1,O=e.prototype,M=O[w]||O["@@iterator"]||p&&O[p],R=!y&&M||T(p),I="Array"==t&&O.entries||M;if(I&&(P=c(I.call(new e)),P!==Object.prototype&&P.next&&(r||c(P)===x||(u?u(P,x):s(P[w])||f(P,w,_)),d(P,F,!0,!0),r&&(g[F]=_))),m&&p==S&&M&&M.name!==S&&(!r&&b?h(O,"name",S):(E=!0,R=function(){return o(M,this)})),p)if(L={values:T(S),keys:v?R:T(k),entries:T(C)},A)for(j in L)(y||E||!(j in O))&&f(O,j,L[j]);else i({target:t,proto:!0,forced:y||E},L);return r&&!A||O[w]===R||f(O,w,R,{name:p}),g[t]=R,L}},4133:(e,t,n)=>{var i=n(8814);e.exports=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},1657:(e,t,n)=>{var i=n(3834),o=n(1419),r=i.document,a=o(r)&&o(r.createElement);e.exports=function(e){return a?r.createElement(e):{}}},5243:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},210:(e,t,n)=>{var i=n(1657),o=i("span").classList,r=o&&o.constructor&&o.constructor.prototype;e.exports=r===Object.prototype?void 0:r},259:(e,t,n)=>{var i=n(322),o=i.match(/firefox\/(\d+)/i);e.exports=!!o&&+o[1]},1280:(e,t,n)=>{var i=n(322);e.exports=/MSIE|Trident/.test(i)},322:(e,t,n)=>{var i=n(7859);e.exports=i("navigator","userAgent")||""},1418:(e,t,n)=>{var i,o,r=n(3834),a=n(322),s=r.process,l=r.Deno,c=s&&s.versions||l&&l.version,u=c&&c.v8;u&&(i=u.split("."),o=i[0]>0&&i[0]<4?1:+(i[0]+i[1])),!o&&a&&(i=a.match(/Edge\/(\d+)/),(!i||i[1]>=74)&&(i=a.match(/Chrome\/(\d+)/),i&&(o=+i[1]))),e.exports=o},7433:(e,t,n)=>{var i=n(322),o=i.match(/AppleWebKit\/(\d+)\./);e.exports=!!o&&+o[1]},203:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},9277:(e,t,n)=>{var i=n(8814),o=n(3386);e.exports=!i((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",o(1,7)),7!==e.stack)}))},6943:(e,t,n)=>{var i=n(3834),o=n(863).f,r=n(4722),a=n(6717),s=n(4650),l=n(7366),c=n(2764);e.exports=function(e,t){var n,u,d,h,f,p,g=e.target,v=e.global,m=e.stat;if(u=v?i:m?i[g]||s(g,{}):(i[g]||{}).prototype,u)for(d in t){if(f=t[d],e.noTargetGet?(p=o(u,d),h=p&&p.value):h=u[d],n=c(v?d:g+(m?".":"#")+d,e.forced),!n&&void 0!==h){if(typeof f==typeof h)continue;l(f,h)}(e.sham||h&&h.sham)&&r(f,"sham",!0),a(u,d,f,e)}}},8814:e=>{e.exports=function(e){try{return!!e()}catch(t){return!0}}},3218:(e,t,n)=>{"use strict";n(1476);var i=n(1636),o=n(6717),r=n(738),a=n(8814),s=n(4103),l=n(4722),c=s("species"),u=RegExp.prototype;e.exports=function(e,t,n,d){var h=s(e),f=!a((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),p=f&&!a((function(){var t=!1,n=/a/;return"split"===e&&(n={},n.constructor={},n.constructor[c]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return t=!0,null},n[h](""),!t}));if(!f||!p||n){var g=i(/./[h]),v=t(h,""[e],(function(e,t,n,o,a){var s=i(e),l=t.exec;return l===r||l===u.exec?f&&!a?{done:!0,value:g(t,n,o)}:{done:!0,value:s(n,t,o)}:{done:!1}}));o(String.prototype,e,v[0]),o(u,h,v[1])}d&&l(u[h],"sham",!0)}},6112:e=>{var t=Function.prototype,n=t.apply,i=t.bind,o=t.call;e.exports="object"==typeof Reflect&&Reflect.apply||(i?o.bind(n):function(){return o.apply(n,arguments)})},6158:(e,t,n)=>{var i=n(1636),o=n(8762),r=i(i.bind);e.exports=function(e,t){return o(e),void 0===t?e:r?r(e,t):function(){return e.apply(t,arguments)}}},6654:e=>{var t=Function.prototype.call;e.exports=t.bind?t.bind(t):function(){return t.apply(t,arguments)}},9104:(e,t,n)=>{var i=n(4133),o=n(2924),r=Function.prototype,a=i&&Object.getOwnPropertyDescriptor,s=o(r,"name"),l=s&&"something"===function(){}.name,c=s&&(!i||i&&a(r,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:c}},1636:e=>{var t=Function.prototype,n=t.bind,i=t.call,o=n&&n.bind(i);e.exports=n?function(e){return e&&o(i,e)}:function(e){return e&&function(){return i.apply(e,arguments)}}},7859:(e,t,n)=>{var i=n(3834),o=n(6107),r=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?r(i[e]):i[e]&&i[e][t]}},3395:(e,t,n)=>{var i=n(4239),o=n(7689),r=n(1366),a=n(4103),s=a("iterator");e.exports=function(e){if(void 0!=e)return o(e,s)||o(e,"@@iterator")||r[i(e)]}},4021:(e,t,n)=>{var i=n(3834),o=n(6654),r=n(8762),a=n(616),s=n(7545),l=n(3395),c=i.TypeError;e.exports=function(e,t){var n=arguments.length<2?l(e):t;if(r(n))return a(o(n,e));throw c(s(e)+" is not iterable")}},7689:(e,t,n)=>{var i=n(8762);e.exports=function(e,t){var n=e[t];return null==n?void 0:i(n)}},3075:(e,t,n)=>{var i=n(1636),o=n(8332),r=Math.floor,a=i("".charAt),s=i("".replace),l=i("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,i,d,h){var f=n+e.length,p=i.length,g=u;return void 0!==d&&(d=o(d),g=c),s(h,g,(function(o,s){var c;switch(a(s,0)){case"$":return"$";case"&":return e;case"`":return l(t,0,n);case"'":return l(t,f);case"<":c=d[l(s,1,-1)];break;default:var u=+s;if(0===u)return o;if(u>p){var h=r(u/10);return 0===h?o:h<=p?void 0===i[h-1]?a(s,1):i[h-1]+a(s,1):o}c=i[u-1]}return void 0===c?"":c}))}},3834:(e,t,n)=>{var i=function(e){return e&&e.Math==Math&&e};e.exports=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},2924:(e,t,n)=>{var i=n(1636),o=n(8332),r=i({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return r(o(e),t)}},1999:e=>{e.exports={}},6052:(e,t,n)=>{var i=n(7859);e.exports=i("document","documentElement")},6335:(e,t,n)=>{var i=n(4133),o=n(8814),r=n(1657);e.exports=!i&&!o((function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))},9798:(e,t,n)=>{var i=n(3834),o=i.Array,r=Math.abs,a=Math.pow,s=Math.floor,l=Math.log,c=Math.LN2,u=function(e,t,n){var i,u,d,h=o(n),f=8*n-t-1,p=(1<>1,v=23===t?a(2,-24)-a(2,-77):0,m=e<0||0===e&&1/e<0?1:0,b=0;e=r(e),e!=e||e===1/0?(u=e!=e?1:0,i=p):(i=s(l(e)/c),d=a(2,-i),e*d<1&&(i--,d*=2),e+=i+g>=1?v/d:v*a(2,1-g),e*d>=2&&(i++,d/=2),i+g>=p?(u=0,i=p):i+g>=1?(u=(e*d-1)*a(2,t),i+=g):(u=e*a(2,g-1)*a(2,t),i=0));while(t>=8)h[b++]=255&u,u/=256,t-=8;i=i<0)h[b++]=255&i,i/=256,f-=8;return h[--b]|=128*m,h},d=function(e,t){var n,i=e.length,o=8*i-t-1,r=(1<>1,l=o-7,c=i-1,u=e[c--],d=127&u;u>>=7;while(l>0)d=256*d+e[c--],l-=8;n=d&(1<<-l)-1,d>>=-l,l+=t;while(l>0)n=256*n+e[c--],l-=8;if(0===d)d=1-s;else{if(d===r)return n?NaN:u?-1/0:1/0;n+=a(2,t),d-=s}return(u?-1:1)*n*a(2,d-t)};e.exports={pack:u,unpack:d}},3972:(e,t,n)=>{var i=n(3834),o=n(1636),r=n(8814),a=n(6749),s=i.Object,l=o("".split);e.exports=r((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?l(e,""):s(e)}:s},2511:(e,t,n)=>{var i=n(6107),o=n(1419),r=n(6534);e.exports=function(e,t,n){var a,s;return r&&i(a=t.constructor)&&a!==n&&o(s=a.prototype)&&s!==n.prototype&&r(e,s),e}},6461:(e,t,n)=>{var i=n(1636),o=n(6107),r=n(6081),a=i(Function.toString);o(r.inspectSource)||(r.inspectSource=function(e){return a(e)}),e.exports=r.inspectSource},6270:(e,t,n)=>{var i=n(1419),o=n(4722);e.exports=function(e,t){i(t)&&"cause"in t&&o(e,"cause",t.cause)}},780:(e,t,n)=>{var i,o,r,a=n(4825),s=n(3834),l=n(1636),c=n(1419),u=n(4722),d=n(2924),h=n(6081),f=n(5315),p=n(1999),g="Object already initialized",v=s.TypeError,m=s.WeakMap,b=function(e){return r(e)?o(e):i(e,{})},x=function(e){return function(t){var n;if(!c(t)||(n=o(t)).type!==e)throw v("Incompatible receiver, "+e+" required");return n}};if(a||h.state){var y=h.state||(h.state=new m),w=l(y.get),k=l(y.has),S=l(y.set);i=function(e,t){if(k(y,e))throw new v(g);return t.facade=e,S(y,e,t),t},o=function(e){return w(y,e)||{}},r=function(e){return k(y,e)}}else{var C=f("state");p[C]=!0,i=function(e,t){if(d(e,C))throw new v(g);return t.facade=e,u(e,C,t),t},o=function(e){return d(e,C)?e[C]:{}},r=function(e){return d(e,C)}}e.exports={set:i,get:o,has:r,enforce:b,getterFor:x}},5712:(e,t,n)=>{var i=n(4103),o=n(1366),r=i("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[r]===e)}},6555:(e,t,n)=>{var i=n(6749);e.exports=Array.isArray||function(e){return"Array"==i(e)}},6107:e=>{e.exports=function(e){return"function"==typeof e}},9627:(e,t,n)=>{var i=n(1636),o=n(8814),r=n(6107),a=n(4239),s=n(7859),l=n(6461),c=function(){},u=[],d=s("Reflect","construct"),h=/^\s*(?:class|function)\b/,f=i(h.exec),p=!h.exec(c),g=function(e){if(!r(e))return!1;try{return d(c,u,e),!0}catch(t){return!1}},v=function(e){if(!r(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!f(h,l(e))}catch(t){return!0}};v.sham=!0,e.exports=!d||o((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?v:g},2764:(e,t,n)=>{var i=n(8814),o=n(6107),r=/#|\.prototype\./,a=function(e,t){var n=l[s(e)];return n==u||n!=c&&(o(t)?i(t):!!t)},s=a.normalize=function(e){return String(e).replace(r,".").toLowerCase()},l=a.data={},c=a.NATIVE="N",u=a.POLYFILL="P";e.exports=a},3903:(e,t,n)=>{var i=n(1419),o=Math.floor;e.exports=Number.isInteger||function(e){return!i(e)&&isFinite(e)&&o(e)===e}},1419:(e,t,n)=>{var i=n(6107);e.exports=function(e){return"object"==typeof e?null!==e:i(e)}},200:e=>{e.exports=!1},1637:(e,t,n)=>{var i=n(3834),o=n(7859),r=n(6107),a=n(6123),s=n(49),l=i.Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=o("Symbol");return r(t)&&a(t.prototype,l(e))}},4829:(e,t,n)=>{var i=n(6654),o=n(616),r=n(7689);e.exports=function(e,t,n){var a,s;o(e);try{if(a=r(e,"return"),!a){if("throw"===t)throw n;return n}a=i(a,e)}catch(l){s=!0,a=l}if("throw"===t)throw n;if(s)throw a;return o(a),n}},619:(e,t,n)=>{"use strict";var i,o,r,a=n(8814),s=n(6107),l=n(5267),c=n(7886),u=n(6717),d=n(4103),h=n(200),f=d("iterator"),p=!1;[].keys&&(r=[].keys(),"next"in r?(o=c(c(r)),o!==Object.prototype&&(i=o)):p=!0);var g=void 0==i||a((function(){var e={};return i[f].call(e)!==e}));g?i={}:h&&(i=l(i)),s(i[f])||u(i,f,(function(){return this})),e.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:p}},1366:e=>{e.exports={}},8600:(e,t,n)=>{var i=n(7302);e.exports=function(e){return i(e.length)}},1368:(e,t,n)=>{var i=n(1418),o=n(8814);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&i&&i<41}))},211:(e,t,n)=>{var i=n(8814),o=n(4103),r=n(200),a=o("iterator");e.exports=!i((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,i){t["delete"]("b"),n+=i+e})),r&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},4825:(e,t,n)=>{var i=n(3834),o=n(6107),r=n(6461),a=i.WeakMap;e.exports=o(a)&&/native code/.test(r(a))},1356:(e,t,n)=>{var i=n(6975);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:i(e)}},9804:(e,t,n)=>{"use strict";var i=n(4133),o=n(1636),r=n(6654),a=n(8814),s=n(4315),l=n(1996),c=n(8068),u=n(8332),d=n(3972),h=Object.assign,f=Object.defineProperty,p=o([].concat);e.exports=!h||a((function(){if(i&&1!==h({b:1},h(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(e){t[e]=e})),7!=h({},e)[n]||s(h({},t)).join("")!=o}))?function(e,t){var n=u(e),o=arguments.length,a=1,h=l.f,f=c.f;while(o>a){var g,v=d(arguments[a++]),m=h?p(s(v),h(v)):s(v),b=m.length,x=0;while(b>x)g=m[x++],i&&!r(f,v,g)||(n[g]=v[g])}return n}:h},5267:(e,t,n)=>{var i,o=n(616),r=n(6029),a=n(203),s=n(1999),l=n(6052),c=n(1657),u=n(5315),d=">",h="<",f="prototype",p="script",g=u("IE_PROTO"),v=function(){},m=function(e){return h+p+d+e+h+"/"+p+d},b=function(e){e.write(m("")),e.close();var t=e.parentWindow.Object;return e=null,t},x=function(){var e,t=c("iframe"),n="java"+p+":";return t.style.display="none",l.appendChild(t),t.src=String(n),e=t.contentWindow.document,e.open(),e.write(m("document.F=Object")),e.close(),e.F},y=function(){try{i=new ActiveXObject("htmlfile")}catch(t){}y="undefined"!=typeof document?document.domain&&i?b(i):x():b(i);var e=a.length;while(e--)delete y[f][a[e]];return y()};s[g]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(v[f]=o(e),n=new v,v[f]=null,n[g]=e):n=y(),void 0===t?n:r(n,t)}},6029:(e,t,n)=>{var i=n(4133),o=n(1012),r=n(616),a=n(7447),s=n(4315);e.exports=i?Object.defineProperties:function(e,t){r(e);var n,i=a(t),l=s(t),c=l.length,u=0;while(c>u)o.f(e,n=l[u++],i[n]);return e}},1012:(e,t,n)=>{var i=n(3834),o=n(4133),r=n(6335),a=n(616),s=n(1017),l=i.TypeError,c=Object.defineProperty;t.f=o?c:function(e,t,n){if(a(e),t=s(t),a(n),r)try{return c(e,t,n)}catch(i){}if("get"in n||"set"in n)throw l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},863:(e,t,n)=>{var i=n(4133),o=n(6654),r=n(8068),a=n(3386),s=n(7447),l=n(1017),c=n(2924),u=n(6335),d=Object.getOwnPropertyDescriptor;t.f=i?d:function(e,t){if(e=s(e),t=l(t),u)try{return d(e,t)}catch(n){}if(c(e,t))return a(!o(r.f,e,t),e[t])}},3450:(e,t,n)=>{var i=n(6682),o=n(203),r=o.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,r)}},1996:(e,t)=>{t.f=Object.getOwnPropertySymbols},7886:(e,t,n)=>{var i=n(3834),o=n(2924),r=n(6107),a=n(8332),s=n(5315),l=n(911),c=s("IE_PROTO"),u=i.Object,d=u.prototype;e.exports=l?u.getPrototypeOf:function(e){var t=a(e);if(o(t,c))return t[c];var n=t.constructor;return r(n)&&t instanceof n?n.prototype:t instanceof u?d:null}},6123:(e,t,n)=>{var i=n(1636);e.exports=i({}.isPrototypeOf)},6682:(e,t,n)=>{var i=n(1636),o=n(2924),r=n(7447),a=n(7714).indexOf,s=n(1999),l=i([].push);e.exports=function(e,t){var n,i=r(e),c=0,u=[];for(n in i)!o(s,n)&&o(i,n)&&l(u,n);while(t.length>c)o(i,n=t[c++])&&(~a(u,n)||l(u,n));return u}},4315:(e,t,n)=>{var i=n(6682),o=n(203);e.exports=Object.keys||function(e){return i(e,o)}},8068:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!n.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:n},6534:(e,t,n)=>{var i=n(1636),o=n(616),r=n(9220);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=i(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),e(n,[]),t=n instanceof Array}catch(a){}return function(n,i){return o(n),r(i),t?e(n,i):n.__proto__=i,n}}():void 0)},9370:(e,t,n)=>{var i=n(3834),o=n(6654),r=n(6107),a=n(1419),s=i.TypeError;e.exports=function(e,t){var n,i;if("string"===t&&r(n=e.toString)&&!a(i=o(n,e)))return i;if(r(n=e.valueOf)&&!a(i=o(n,e)))return i;if("string"!==t&&r(n=e.toString)&&!a(i=o(n,e)))return i;throw s("Can't convert object to primitive value")}},1240:(e,t,n)=>{var i=n(7859),o=n(1636),r=n(3450),a=n(1996),s=n(616),l=o([].concat);e.exports=i("Reflect","ownKeys")||function(e){var t=r.f(s(e)),n=a.f;return n?l(t,n(e)):t}},4196:(e,t,n)=>{var i=n(6717);e.exports=function(e,t,n){for(var o in t)i(e,o,t[o],n);return e}},6717:(e,t,n)=>{var i=n(3834),o=n(6107),r=n(2924),a=n(4722),s=n(4650),l=n(6461),c=n(780),u=n(9104).CONFIGURABLE,d=c.get,h=c.enforce,f=String(String).split("String");(e.exports=function(e,t,n,l){var c,d=!!l&&!!l.unsafe,p=!!l&&!!l.enumerable,g=!!l&&!!l.noTargetGet,v=l&&void 0!==l.name?l.name:t;o(n)&&("Symbol("===String(v).slice(0,7)&&(v="["+String(v).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!r(n,"name")||u&&n.name!==v)&&a(n,"name",v),c=h(n),c.source||(c.source=f.join("string"==typeof v?v:""))),e!==i?(d?!g&&e[t]&&(p=!0):delete e[t],p?e[t]=n:a(e,t,n)):p?e[t]=n:s(t,n)})(Function.prototype,"toString",(function(){return o(this)&&d(this).source||l(this)}))},3808:(e,t,n)=>{var i=n(3834),o=n(6654),r=n(616),a=n(6107),s=n(6749),l=n(738),c=i.TypeError;e.exports=function(e,t){var n=e.exec;if(a(n)){var i=o(n,e,t);return null!==i&&r(i),i}if("RegExp"===s(e))return o(l,e,t);throw c("RegExp#exec called on incompatible receiver")}},738:(e,t,n)=>{"use strict";var i=n(6654),o=n(1636),r=n(6975),a=n(9592),s=n(9165),l=n(8850),c=n(5267),u=n(780).get,d=n(3425),h=n(10),f=l("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,g=p,v=o("".charAt),m=o("".indexOf),b=o("".replace),x=o("".slice),y=function(){var e=/a/,t=/b*/g;return i(p,e,"a"),i(p,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),w=s.BROKEN_CARET,k=void 0!==/()??/.exec("")[1],S=y||k||w||d||h;S&&(g=function(e){var t,n,o,s,l,d,h,S=this,C=u(S),_=r(e),A=C.raw;if(A)return A.lastIndex=S.lastIndex,t=i(g,A,_),S.lastIndex=A.lastIndex,t;var P=C.groups,L=w&&S.sticky,j=i(a,S),T=S.source,F=0,E=_;if(L&&(j=b(j,"y",""),-1===m(j,"g")&&(j+="g"),E=x(_,S.lastIndex),S.lastIndex>0&&(!S.multiline||S.multiline&&"\n"!==v(_,S.lastIndex-1))&&(T="(?: "+T+")",E=" "+E,F++),n=new RegExp("^(?:"+T+")",j)),k&&(n=new RegExp("^"+T+"$(?!\\s)",j)),y&&(o=S.lastIndex),s=i(p,L?n:S,E),L?s?(s.input=x(s.input,F),s[0]=x(s[0],F),s.index=S.lastIndex,S.lastIndex+=s[0].length):S.lastIndex=0:y&&s&&(S.lastIndex=S.global?s.index+s[0].length:o),k&&s&&s.length>1&&i(f,s[0],n,(function(){for(l=1;l{"use strict";var i=n(616);e.exports=function(){var e=i(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},9165:(e,t,n)=>{var i=n(8814),o=n(3834),r=o.RegExp,a=i((function(){var e=r("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),s=a||i((function(){return!r("a","y").sticky})),l=a||i((function(){var e=r("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));e.exports={BROKEN_CARET:l,MISSED_STICKY:s,UNSUPPORTED_Y:a}},3425:(e,t,n)=>{var i=n(8814),o=n(3834),r=o.RegExp;e.exports=i((function(){var e=r(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},10:(e,t,n)=>{var i=n(8814),o=n(3834),r=o.RegExp;e.exports=i((function(){var e=r("(?b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")}))},5177:(e,t,n)=>{var i=n(3834),o=i.TypeError;e.exports=function(e){if(void 0==e)throw o("Can't call method on "+e);return e}},4650:(e,t,n)=>{var i=n(3834),o=Object.defineProperty;e.exports=function(e,t){try{o(i,e,{value:t,configurable:!0,writable:!0})}catch(n){i[e]=t}return t}},7104:(e,t,n)=>{"use strict";var i=n(7859),o=n(1012),r=n(4103),a=n(4133),s=r("species");e.exports=function(e){var t=i(e),n=o.f;a&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},2365:(e,t,n)=>{var i=n(1012).f,o=n(2924),r=n(4103),a=r("toStringTag");e.exports=function(e,t,n){e&&!n&&(e=e.prototype),e&&!o(e,a)&&i(e,a,{configurable:!0,value:t})}},5315:(e,t,n)=>{var i=n(8850),o=n(3965),r=i("keys");e.exports=function(e){return r[e]||(r[e]=o(e))}},6081:(e,t,n)=>{var i=n(3834),o=n(4650),r="__core-js_shared__",a=i[r]||o(r,{});e.exports=a},8850:(e,t,n)=>{var i=n(200),o=n(6081);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.20.1",mode:i?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},6823:(e,t,n)=>{var i=n(1636),o=n(6675),r=n(6975),a=n(5177),s=i("".charAt),l=i("".charCodeAt),c=i("".slice),u=function(e){return function(t,n){var i,u,d=r(a(t)),h=o(n),f=d.length;return h<0||h>=f?e?"":void 0:(i=l(d,h),i<55296||i>56319||h+1===f||(u=l(d,h+1))<56320||u>57343?e?s(d,h):i:e?c(d,h,h+2):u-56320+(i-55296<<10)+65536)}};e.exports={codeAt:u(!1),charAt:u(!0)}},2552:(e,t,n)=>{"use strict";var i=n(3834),o=n(1636),r=2147483647,a=36,s=1,l=26,c=38,u=700,d=72,h=128,f="-",p=/[^\0-\u007E]/,g=/[.\u3002\uFF0E\uFF61]/g,v="Overflow: input needs wider integers to process",m=a-s,b=i.RangeError,x=o(g.exec),y=Math.floor,w=String.fromCharCode,k=o("".charCodeAt),S=o([].join),C=o([].push),_=o("".replace),A=o("".split),P=o("".toLowerCase),L=function(e){var t=[],n=0,i=e.length;while(n=55296&&o<=56319&&n>1,e+=y(e/t);while(e>m*l>>1)e=y(e/m),i+=a;return y(i+(m+1)*e/(e+c))},F=function(e){var t=[];e=L(e);var n,i,o=e.length,c=h,u=0,p=d;for(n=0;n=c&&iy((r-u)/k))throw b(v);for(u+=(x-c)*k,c=x,n=0;nr)throw b(v);if(i==c){var _=u,A=a;while(1){var P=A<=p?s:A>=p+l?l:A-p;if(_{var i=n(6675),o=Math.max,r=Math.min;e.exports=function(e,t){var n=i(e);return n<0?o(n+t,0):r(n,t)}},4686:(e,t,n)=>{var i=n(3834),o=n(6675),r=n(7302),a=i.RangeError;e.exports=function(e){if(void 0===e)return 0;var t=o(e),n=r(t);if(t!==n)throw a("Wrong length or index");return n}},7447:(e,t,n)=>{var i=n(3972),o=n(5177);e.exports=function(e){return i(o(e))}},6675:e=>{var t=Math.ceil,n=Math.floor;e.exports=function(e){var i=+e;return i!==i||0===i?0:(i>0?n:t)(i)}},7302:(e,t,n)=>{var i=n(6675),o=Math.min;e.exports=function(e){return e>0?o(i(e),9007199254740991):0}},8332:(e,t,n)=>{var i=n(3834),o=n(5177),r=i.Object;e.exports=function(e){return r(o(e))}},4084:(e,t,n)=>{var i=n(3834),o=n(859),r=i.RangeError;e.exports=function(e,t){var n=o(e);if(n%t)throw r("Wrong offset");return n}},859:(e,t,n)=>{var i=n(3834),o=n(6675),r=i.RangeError;e.exports=function(e){var t=o(e);if(t<0)throw r("The argument can't be less than 0");return t}},4384:(e,t,n)=>{var i=n(3834),o=n(6654),r=n(1419),a=n(1637),s=n(7689),l=n(9370),c=n(4103),u=i.TypeError,d=c("toPrimitive");e.exports=function(e,t){if(!r(e)||a(e))return e;var n,i=s(e,d);if(i){if(void 0===t&&(t="default"),n=o(i,e,t),!r(n)||a(n))return n;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),l(e,t)}},1017:(e,t,n)=>{var i=n(4384),o=n(1637);e.exports=function(e){var t=i(e,"string");return o(t)?t:t+""}},4130:(e,t,n)=>{var i=n(4103),o=i("toStringTag"),r={};r[o]="z",e.exports="[object z]"===String(r)},6975:(e,t,n)=>{var i=n(3834),o=n(4239),r=i.String;e.exports=function(e){if("Symbol"===o(e))throw TypeError("Cannot convert a Symbol value to a string");return r(e)}},7545:(e,t,n)=>{var i=n(3834),o=i.String;e.exports=function(e){try{return o(e)}catch(t){return"Object"}}},8532:(e,t,n)=>{"use strict";var i=n(6943),o=n(3834),r=n(6654),a=n(4133),s=n(5136),l=n(8086),c=n(2248),u=n(8406),d=n(3386),h=n(4722),f=n(3903),p=n(7302),g=n(4686),v=n(4084),m=n(1017),b=n(2924),x=n(4239),y=n(1419),w=n(1637),k=n(5267),S=n(6123),C=n(6534),_=n(3450).f,A=n(1157),P=n(9226).forEach,L=n(7104),j=n(1012),T=n(863),F=n(780),E=n(2511),O=F.get,M=F.set,R=j.f,I=T.f,z=Math.round,H=o.RangeError,N=c.ArrayBuffer,q=N.prototype,D=c.DataView,B=l.NATIVE_ARRAY_BUFFER_VIEWS,Y=l.TYPED_ARRAY_CONSTRUCTOR,X=l.TYPED_ARRAY_TAG,V=l.TypedArray,W=l.TypedArrayPrototype,$=l.aTypedArrayConstructor,U=l.isTypedArray,Z="BYTES_PER_ELEMENT",G="Wrong length",K=function(e,t){$(e);var n=0,i=t.length,o=new e(i);while(i>n)o[n]=t[n++];return o},J=function(e,t){R(e,t,{get:function(){return O(this)[t]}})},Q=function(e){var t;return S(q,e)||"ArrayBuffer"==(t=x(e))||"SharedArrayBuffer"==t},ee=function(e,t){return U(e)&&!w(t)&&t in e&&f(+t)&&t>=0},te=function(e,t){return t=m(t),ee(e,t)?d(2,e[t]):I(e,t)},ne=function(e,t,n){return t=m(t),!(ee(e,t)&&y(n)&&b(n,"value"))||b(n,"get")||b(n,"set")||n.configurable||b(n,"writable")&&!n.writable||b(n,"enumerable")&&!n.enumerable?R(e,t,n):(e[t]=n.value,e)};a?(B||(T.f=te,j.f=ne,J(W,"buffer"),J(W,"byteOffset"),J(W,"byteLength"),J(W,"length")),i({target:"Object",stat:!0,forced:!B},{getOwnPropertyDescriptor:te,defineProperty:ne}),e.exports=function(e,t,n){var a=e.match(/\d+$/)[0]/8,l=e+(n?"Clamped":"")+"Array",c="get"+e,d="set"+e,f=o[l],m=f,b=m&&m.prototype,x={},w=function(e,t){var n=O(e);return n.view[c](t*a+n.byteOffset,!0)},S=function(e,t,i){var o=O(e);n&&(i=(i=z(i))<0?0:i>255?255:255&i),o.view[d](t*a+o.byteOffset,i,!0)},j=function(e,t){R(e,t,{get:function(){return w(this,t)},set:function(e){return S(this,t,e)},enumerable:!0})};B?s&&(m=t((function(e,t,n,i){return u(e,b),E(function(){return y(t)?Q(t)?void 0!==i?new f(t,v(n,a),i):void 0!==n?new f(t,v(n,a)):new f(t):U(t)?K(m,t):r(A,m,t):new f(g(t))}(),e,m)})),C&&C(m,V),P(_(f),(function(e){e in m||h(m,e,f[e])})),m.prototype=b):(m=t((function(e,t,n,i){u(e,b);var o,s,l,c=0,d=0;if(y(t)){if(!Q(t))return U(t)?K(m,t):r(A,m,t);o=t,d=v(n,a);var h=t.byteLength;if(void 0===i){if(h%a)throw H(G);if(s=h-d,s<0)throw H(G)}else if(s=p(i)*a,s+d>h)throw H(G);l=s/a}else l=g(t),s=l*a,o=new N(s);M(e,{buffer:o,byteOffset:d,byteLength:s,length:l,view:new D(o)});while(c{var i=n(3834),o=n(8814),r=n(8272),a=n(8086).NATIVE_ARRAY_BUFFER_VIEWS,s=i.ArrayBuffer,l=i.Int8Array;e.exports=!a||!o((function(){l(1)}))||!o((function(){new l(-1)}))||!r((function(e){new l,new l(null),new l(1.5),new l(e)}),!0)||o((function(){return 1!==new l(new s(2),1,void 0).length}))},1157:(e,t,n)=>{var i=n(6158),o=n(6654),r=n(9667),a=n(8332),s=n(8600),l=n(4021),c=n(3395),u=n(5712),d=n(8086).aTypedArrayConstructor;e.exports=function(e){var t,n,h,f,p,g,v=r(this),m=a(e),b=arguments.length,x=b>1?arguments[1]:void 0,y=void 0!==x,w=c(m);if(w&&!u(w)){p=l(m,w),g=p.next,m=[];while(!(f=o(g,p)).done)m.push(f.value)}for(y&&b>2&&(x=i(x,arguments[2])),n=s(m),h=new(d(v))(n),t=0;n>t;t++)h[t]=y?x(m[t],t):m[t];return h}},3965:(e,t,n)=>{var i=n(1636),o=0,r=Math.random(),a=i(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+r,36)}},49:(e,t,n)=>{var i=n(1368);e.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},4103:(e,t,n)=>{var i=n(3834),o=n(8850),r=n(2924),a=n(3965),s=n(1368),l=n(49),c=o("wks"),u=i.Symbol,d=u&&u["for"],h=l?u:u&&u.withoutSetter||a;e.exports=function(e){if(!r(c,e)||!s&&"string"!=typeof c[e]){var t="Symbol."+e;s&&r(u,e)?c[e]=u[e]:c[e]=l&&d?d(t):h(t)}return c[e]}},8376:(e,t,n)=>{"use strict";var i=n(7859),o=n(2924),r=n(4722),a=n(6123),s=n(6534),l=n(7366),c=n(2511),u=n(1356),d=n(6270),h=n(1328),f=n(9277),p=n(200);e.exports=function(e,t,n,g){var v=g?2:1,m=e.split("."),b=m[m.length-1],x=i.apply(null,m);if(x){var y=x.prototype;if(!p&&o(y,"cause")&&delete y.cause,!n)return x;var w=i("Error"),k=t((function(e,t){var n=u(g?t:e,void 0),i=g?new x(e):new x;return void 0!==n&&r(i,"message",n),f&&r(i,"stack",h(i.stack,2)),this&&a(y,this)&&c(i,this,k),arguments.length>v&&d(i,arguments[v]),i}));if(k.prototype=y,"Error"!==b&&(s?s(k,w):l(k,w,{name:!0})),l(k,x),!p)try{y.name!==b&&r(y,"name",b),y.constructor=k}catch(S){}return k}}},8998:(e,t,n)=>{"use strict";var i=n(7447),o=n(5323),r=n(1366),a=n(780),s=n(1012).f,l=n(3532),c=n(200),u=n(4133),d="Array Iterator",h=a.set,f=a.getterFor(d);e.exports=l(Array,"Array",(function(e,t){h(this,{type:d,target:i(e),index:0,kind:t})}),(function(){var e=f(this),t=e.target,n=e.kind,i=e.index++;return!t||i>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:t[i],done:!1}:{value:[i,t[i]],done:!1}}),"values");var p=r.Arguments=r.Array;if(o("keys"),o("values"),o("entries"),!c&&u&&"values"!==p.name)try{s(p,"name",{value:"values"})}catch(g){}},5583:(e,t,n)=>{var i=n(5323);i("flat")},6822:(e,t,n)=>{var i=n(6943),o=n(3834),r=n(6112),a=n(8376),s="WebAssembly",l=o[s],c=7!==Error("e",{cause:7}).cause,u=function(e,t){var n={};n[e]=a(e,t,c),i({global:!0,forced:c},n)},d=function(e,t){if(l&&l[e]){var n={};n[e]=a(s+"."+e,t,c),i({target:s,stat:!0,forced:c},n)}};u("Error",(function(e){return function(t){return r(e,this,arguments)}})),u("EvalError",(function(e){return function(t){return r(e,this,arguments)}})),u("RangeError",(function(e){return function(t){return r(e,this,arguments)}})),u("ReferenceError",(function(e){return function(t){return r(e,this,arguments)}})),u("SyntaxError",(function(e){return function(t){return r(e,this,arguments)}})),u("TypeError",(function(e){return function(t){return r(e,this,arguments)}})),u("URIError",(function(e){return function(t){return r(e,this,arguments)}})),d("CompileError",(function(e){return function(t){return r(e,this,arguments)}})),d("LinkError",(function(e){return function(t){return r(e,this,arguments)}})),d("RuntimeError",(function(e){return function(t){return r(e,this,arguments)}}))},1476:(e,t,n)=>{"use strict";var i=n(6943),o=n(738);i({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},7280:(e,t,n)=>{"use strict";var i=n(6823).charAt,o=n(6975),r=n(780),a=n(3532),s="String Iterator",l=r.set,c=r.getterFor(s);a(String,"String",(function(e){l(this,{type:s,string:o(e),index:0})}),(function(){var e,t=c(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=i(n,o),t.index+=e.length,{value:e,done:!1})}))},8964:(e,t,n)=>{"use strict";var i=n(6112),o=n(6654),r=n(1636),a=n(3218),s=n(8814),l=n(616),c=n(6107),u=n(6675),d=n(7302),h=n(6975),f=n(5177),p=n(3366),g=n(7689),v=n(3075),m=n(3808),b=n(4103),x=b("replace"),y=Math.max,w=Math.min,k=r([].concat),S=r([].push),C=r("".indexOf),_=r("".slice),A=function(e){return void 0===e?e:String(e)},P=function(){return"$0"==="a".replace(/./,"$0")}(),L=function(){return!!/./[x]&&""===/./[x]("a","$0")}(),j=!s((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}));a("replace",(function(e,t,n){var r=L?"$":"$0";return[function(e,n){var i=f(this),r=void 0==e?void 0:g(e,x);return r?o(r,e,i,n):o(t,h(i),e,n)},function(e,o){var a=l(this),s=h(e);if("string"==typeof o&&-1===C(o,r)&&-1===C(o,"$<")){var f=n(t,a,s,o);if(f.done)return f.value}var g=c(o);g||(o=h(o));var b=a.global;if(b){var x=a.unicode;a.lastIndex=0}var P=[];while(1){var L=m(a,s);if(null===L)break;if(S(P,L),!b)break;var j=h(L[0]);""===j&&(a.lastIndex=p(s,d(a.lastIndex),x))}for(var T="",F=0,E=0;E=F&&(T+=_(s,F,M)+N,F=M+O.length)}return T+_(s,F)}]}),!j||!P||L)},5231:(e,t,n)=>{"use strict";var i=n(8086),o=n(8600),r=n(6675),a=i.aTypedArray,s=i.exportTypedArrayMethod;s("at",(function(e){var t=a(this),n=o(t),i=r(e),s=i>=0?i:n+i;return s<0||s>=n?void 0:t[s]}))},9359:(e,t,n)=>{"use strict";var i=n(3834),o=n(8086),r=n(8600),a=n(4084),s=n(8332),l=n(8814),c=i.RangeError,u=o.aTypedArray,d=o.exportTypedArrayMethod,h=l((function(){new Int8Array(1).set({})}));d("set",(function(e){u(this);var t=a(arguments.length>1?arguments[1]:void 0,1),n=this.length,i=s(e),o=r(i),l=0;if(o+t>n)throw c("Wrong length");while(l{"use strict";var i=n(3834),o=n(1636),r=n(8814),a=n(8762),s=n(7085),l=n(8086),c=n(259),u=n(1280),d=n(1418),h=n(7433),f=i.Array,p=l.aTypedArray,g=l.exportTypedArrayMethod,v=i.Uint16Array,m=v&&o(v.prototype.sort),b=!!m&&!(r((function(){m(new v(2),null)}))&&r((function(){m(new v(2),{})}))),x=!!m&&!r((function(){if(d)return d<74;if(c)return c<67;if(u)return!0;if(h)return h<602;var e,t,n=new v(516),i=f(516);for(e=0;e<516;e++)t=e%4,n[e]=515-e,i[e]=e-2*t+3;for(m(n,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(n[e]!==i[e])return!0})),y=function(e){return function(t,n){return void 0!==e?+e(t,n)||0:n!==n?-1:t!==t?1:0===t&&0===n?1/t>0&&1/n<0?1:-1:t>n}};g("sort",(function(e){return void 0!==e&&a(e),x?m(this,e):s(p(this),y(e))}),!x||b)},8170:(e,t,n)=>{var i=n(8532);i("Uint8",(function(e){return function(t,n,i){return e(this,t,n,i)}}))},702:(e,t,n)=>{var i=n(3834),o=n(5243),r=n(210),a=n(8998),s=n(4722),l=n(4103),c=l("iterator"),u=l("toStringTag"),d=a.values,h=function(e,t){if(e){if(e[c]!==d)try{s(e,c,d)}catch(i){e[c]=d}if(e[u]||s(e,u,t),o[t])for(var n in a)if(e[n]!==a[n])try{s(e,n,a[n])}catch(i){e[n]=a[n]}}};for(var f in o)h(i[f]&&i[f].prototype,f);h(r,"DOMTokenList")},3269:(e,t,n)=>{"use strict";n(8998);var i=n(6943),o=n(3834),r=n(7859),a=n(6654),s=n(1636),l=n(211),c=n(6717),u=n(4196),d=n(2365),h=n(1551),f=n(780),p=n(8406),g=n(6107),v=n(2924),m=n(6158),b=n(4239),x=n(616),y=n(1419),w=n(6975),k=n(5267),S=n(3386),C=n(4021),_=n(3395),A=n(4103),P=n(7085),L=A("iterator"),j="URLSearchParams",T=j+"Iterator",F=f.set,E=f.getterFor(j),O=f.getterFor(T),M=r("fetch"),R=r("Request"),I=r("Headers"),z=R&&R.prototype,H=I&&I.prototype,N=o.RegExp,q=o.TypeError,D=o.decodeURIComponent,B=o.encodeURIComponent,Y=s("".charAt),X=s([].join),V=s([].push),W=s("".replace),$=s([].shift),U=s([].splice),Z=s("".split),G=s("".slice),K=/\+/g,J=Array(4),Q=function(e){return J[e-1]||(J[e-1]=N("((?:%[\\da-f]{2}){"+e+"})","gi"))},ee=function(e){try{return D(e)}catch(t){return e}},te=function(e){var t=W(e,K," "),n=4;try{return D(t)}catch(i){while(n)t=W(t,Q(n--),ee);return t}},ne=/[!'()~]|%20/g,ie={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},oe=function(e){return ie[e]},re=function(e){return W(B(e),ne,oe)},ae=function(e,t){if(e0?arguments[0]:void 0;F(this,new le(e))},ue=ce.prototype;if(u(ue,{append:function(e,t){ae(arguments.length,2);var n=E(this);V(n.entries,{key:w(e),value:w(t)}),n.updateURL()},delete:function(e){ae(arguments.length,1);var t=E(this),n=t.entries,i=w(e),o=0;while(ot.key?1:-1})),e.updateURL()},forEach:function(e){var t,n=E(this).entries,i=m(e,arguments.length>1?arguments[1]:void 0),o=0;while(o1?fe(arguments[1]):{})}}),g(R)){var pe=function(e){return p(this,z),new R(e,arguments.length>1?fe(arguments[1]):{})};z.constructor=pe,pe.prototype=z,i({global:!0,forced:!0},{Request:pe})}}e.exports={URLSearchParams:ce,getState:E}},4641:(e,t,n)=>{"use strict";n(7280);var i,o=n(6943),r=n(4133),a=n(211),s=n(3834),l=n(6158),c=n(1636),u=n(6029),d=n(6717),h=n(8406),f=n(2924),p=n(9804),g=n(7508),v=n(6378),m=n(6823).codeAt,b=n(2552),x=n(6975),y=n(2365),w=n(3269),k=n(780),S=k.set,C=k.getterFor("URL"),_=w.URLSearchParams,A=w.getState,P=s.URL,L=s.TypeError,j=s.parseInt,T=Math.floor,F=Math.pow,E=c("".charAt),O=c(/./.exec),M=c([].join),R=c(1..toString),I=c([].pop),z=c([].push),H=c("".replace),N=c([].shift),q=c("".split),D=c("".slice),B=c("".toLowerCase),Y=c([].unshift),X="Invalid authority",V="Invalid scheme",W="Invalid host",$="Invalid port",U=/[a-z]/i,Z=/[\d+-.a-z]/i,G=/\d/,K=/^0x/i,J=/^[0-7]+$/,Q=/^\d+$/,ee=/^[\da-f]+$/i,te=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ne=/[\0\t\n\r #/:<>?@[\\\]^|]/,ie=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,oe=/[\t\n\r]/g,re=function(e){var t,n,i,o,r,a,s,l=q(e,".");if(l.length&&""==l[l.length-1]&&l.length--,t=l.length,t>4)return e;for(n=[],i=0;i1&&"0"==E(o,0)&&(r=O(K,o)?16:8,o=D(o,8==r?1:2)),""===o)a=0;else{if(!O(10==r?Q:8==r?J:ee,o))return e;a=j(o,r)}z(n,a)}for(i=0;i=F(256,5-t))return null}else if(a>255)return null;for(s=I(n),i=0;i6)return;i=0;while(h()){if(o=null,i>0){if(!("."==h()&&i<4))return;d++}if(!O(G,h()))return;while(O(G,h())){if(r=j(h(),10),null===o)o=r;else{if(0==o)return;o=10*o+r}if(o>255)return;d++}l[c]=256*l[c]+o,i++,2!=i&&4!=i||c++}if(4!=i)return;break}if(":"==h()){if(d++,!h())return}else if(h())return;l[c++]=t}else{if(null!==u)return;d++,c++,u=c}}if(null!==u){a=c-u,c=7;while(0!=c&&a>0)s=l[c],l[c--]=l[u+a-1],l[u+--a]=s}else if(8!=c)return;return l},se=function(e){for(var t=null,n=1,i=null,o=0,r=0;r<8;r++)0!==e[r]?(o>n&&(t=i,n=o),i=null,o=0):(null===i&&(i=r),++o);return o>n&&(t=i,n=o),t},le=function(e){var t,n,i,o;if("number"==typeof e){for(t=[],n=0;n<4;n++)Y(t,e%256),e=T(e/256);return M(t,".")}if("object"==typeof e){for(t="",i=se(e),n=0;n<8;n++)o&&0===e[n]||(o&&(o=!1),i===n?(t+=n?":":"::",o=!0):(t+=R(e[n],16),n<7&&(t+=":")));return"["+t+"]"}return e},ce={},ue=p({},ce,{" ":1,'"':1,"<":1,">":1,"`":1}),de=p({},ue,{"#":1,"?":1,"{":1,"}":1}),he=p({},de,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),fe=function(e,t){var n=m(e,0);return n>32&&n<127&&!f(t,e)?e:encodeURIComponent(e)},pe={ftp:21,file:null,http:80,https:443,ws:80,wss:443},ge=function(e,t){var n;return 2==e.length&&O(U,E(e,0))&&(":"==(n=E(e,1))||!t&&"|"==n)},ve=function(e){var t;return e.length>1&&ge(D(e,0,2))&&(2==e.length||"/"===(t=E(e,2))||"\\"===t||"?"===t||"#"===t)},me=function(e){return"."===e||"%2e"===B(e)},be=function(e){return e=B(e),".."===e||"%2e."===e||".%2e"===e||"%2e%2e"===e},xe={},ye={},we={},ke={},Se={},Ce={},_e={},Ae={},Pe={},Le={},je={},Te={},Fe={},Ee={},Oe={},Me={},Re={},Ie={},ze={},He={},Ne={},qe=function(e,t,n){var i,o,r,a=x(e);if(t){if(o=this.parse(a),o)throw L(o);this.searchParams=null}else{if(void 0!==n&&(i=new qe(n,!0)),o=this.parse(a,null,i),o)throw L(o);r=A(new _),r.bindURL(this),this.searchParams=r}};qe.prototype={type:"URL",parse:function(e,t,n){var o,r,a,s,l=this,c=t||xe,u=0,d="",h=!1,p=!1,m=!1;e=x(e),t||(l.scheme="",l.username="",l.password="",l.host=null,l.port=null,l.path=[],l.query=null,l.fragment=null,l.cannotBeABaseURL=!1,e=H(e,ie,"")),e=H(e,oe,""),o=g(e);while(u<=o.length){switch(r=o[u],c){case xe:if(!r||!O(U,r)){if(t)return V;c=we;continue}d+=B(r),c=ye;break;case ye:if(r&&(O(Z,r)||"+"==r||"-"==r||"."==r))d+=B(r);else{if(":"!=r){if(t)return V;d="",c=we,u=0;continue}if(t&&(l.isSpecial()!=f(pe,d)||"file"==d&&(l.includesCredentials()||null!==l.port)||"file"==l.scheme&&!l.host))return;if(l.scheme=d,t)return void(l.isSpecial()&&pe[l.scheme]==l.port&&(l.port=null));d="","file"==l.scheme?c=Ee:l.isSpecial()&&n&&n.scheme==l.scheme?c=ke:l.isSpecial()?c=Ae:"/"==o[u+1]?(c=Se,u++):(l.cannotBeABaseURL=!0,z(l.path,""),c=ze)}break;case we:if(!n||n.cannotBeABaseURL&&"#"!=r)return V;if(n.cannotBeABaseURL&&"#"==r){l.scheme=n.scheme,l.path=v(n.path),l.query=n.query,l.fragment="",l.cannotBeABaseURL=!0,c=Ne;break}c="file"==n.scheme?Ee:Ce;continue;case ke:if("/"!=r||"/"!=o[u+1]){c=Ce;continue}c=Pe,u++;break;case Se:if("/"==r){c=Le;break}c=Ie;continue;case Ce:if(l.scheme=n.scheme,r==i)l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=v(n.path),l.query=n.query;else if("/"==r||"\\"==r&&l.isSpecial())c=_e;else if("?"==r)l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=v(n.path),l.query="",c=He;else{if("#"!=r){l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=v(n.path),l.path.length--,c=Ie;continue}l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=v(n.path),l.query=n.query,l.fragment="",c=Ne}break;case _e:if(!l.isSpecial()||"/"!=r&&"\\"!=r){if("/"!=r){l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,c=Ie;continue}c=Le}else c=Pe;break;case Ae:if(c=Pe,"/"!=r||"/"!=E(d,u+1))continue;u++;break;case Pe:if("/"!=r&&"\\"!=r){c=Le;continue}break;case Le:if("@"==r){h&&(d="%40"+d),h=!0,a=g(d);for(var b=0;b65535)return $;l.port=l.isSpecial()&&k===pe[l.scheme]?null:k,d=""}if(t)return;c=Re;continue}return $}d+=r;break;case Ee:if(l.scheme="file","/"==r||"\\"==r)c=Oe;else{if(!n||"file"!=n.scheme){c=Ie;continue}if(r==i)l.host=n.host,l.path=v(n.path),l.query=n.query;else if("?"==r)l.host=n.host,l.path=v(n.path),l.query="",c=He;else{if("#"!=r){ve(M(v(o,u),""))||(l.host=n.host,l.path=v(n.path),l.shortenPath()),c=Ie;continue}l.host=n.host,l.path=v(n.path),l.query=n.query,l.fragment="",c=Ne}}break;case Oe:if("/"==r||"\\"==r){c=Me;break}n&&"file"==n.scheme&&!ve(M(v(o,u),""))&&(ge(n.path[0],!0)?z(l.path,n.path[0]):l.host=n.host),c=Ie;continue;case Me:if(r==i||"/"==r||"\\"==r||"?"==r||"#"==r){if(!t&&ge(d))c=Ie;else if(""==d){if(l.host="",t)return;c=Re}else{if(s=l.parseHost(d),s)return s;if("localhost"==l.host&&(l.host=""),t)return;d="",c=Re}continue}d+=r;break;case Re:if(l.isSpecial()){if(c=Ie,"/"!=r&&"\\"!=r)continue}else if(t||"?"!=r)if(t||"#"!=r){if(r!=i&&(c=Ie,"/"!=r))continue}else l.fragment="",c=Ne;else l.query="",c=He;break;case Ie:if(r==i||"/"==r||"\\"==r&&l.isSpecial()||!t&&("?"==r||"#"==r)){if(be(d)?(l.shortenPath(),"/"==r||"\\"==r&&l.isSpecial()||z(l.path,"")):me(d)?"/"==r||"\\"==r&&l.isSpecial()||z(l.path,""):("file"==l.scheme&&!l.path.length&&ge(d)&&(l.host&&(l.host=""),d=E(d,0)+":"),z(l.path,d)),d="","file"==l.scheme&&(r==i||"?"==r||"#"==r))while(l.path.length>1&&""===l.path[0])N(l.path);"?"==r?(l.query="",c=He):"#"==r&&(l.fragment="",c=Ne)}else d+=fe(r,de);break;case ze:"?"==r?(l.query="",c=He):"#"==r?(l.fragment="",c=Ne):r!=i&&(l.path[0]+=fe(r,ce));break;case He:t||"#"!=r?r!=i&&("'"==r&&l.isSpecial()?l.query+="%27":l.query+="#"==r?"%23":fe(r,ce)):(l.fragment="",c=Ne);break;case Ne:r!=i&&(l.fragment+=fe(r,ue));break}u++}},parseHost:function(e){var t,n,i;if("["==E(e,0)){if("]"!=E(e,e.length-1))return W;if(t=ae(D(e,1,-1)),!t)return W;this.host=t}else if(this.isSpecial()){if(e=b(e),O(te,e))return W;if(t=re(e),null===t)return W;this.host=t}else{if(O(ne,e))return W;for(t="",n=g(e),i=0;i1?arguments[1]:void 0,i=S(t,new qe(e,!1,n));r||(t.href=i.serialize(),t.origin=i.getOrigin(),t.protocol=i.getProtocol(),t.username=i.getUsername(),t.password=i.getPassword(),t.host=i.getHost(),t.hostname=i.getHostname(),t.port=i.getPort(),t.pathname=i.getPathname(),t.search=i.getSearch(),t.searchParams=i.getSearchParams(),t.hash=i.getHash())},Be=De.prototype,Ye=function(e,t){return{get:function(){return C(this)[e]()},set:t&&function(e){return C(this)[t](e)},configurable:!0,enumerable:!0}};if(r&&u(Be,{href:Ye("serialize","setHref"),origin:Ye("getOrigin"),protocol:Ye("getProtocol","setProtocol"),username:Ye("getUsername","setUsername"),password:Ye("getPassword","setPassword"),host:Ye("getHost","setHost"),hostname:Ye("getHostname","setHostname"),port:Ye("getPort","setPort"),pathname:Ye("getPathname","setPathname"),search:Ye("getSearch","setSearch"),searchParams:Ye("getSearchParams"),hash:Ye("getHash","setHash")}),d(Be,"toJSON",(function(){return C(this).serialize()}),{enumerable:!0}),d(Be,"toString",(function(){return C(this).serialize()}),{enumerable:!0}),P){var Xe=P.createObjectURL,Ve=P.revokeObjectURL;Xe&&d(De,"createObjectURL",l(Xe,P)),Ve&&d(De,"revokeObjectURL",l(Ve,P))}y(De,"URL"),o({global:!0,forced:!a,sham:!r},{URL:De})},6704:(e,t,n)=>{"use strict";function i(e,t){var n=e<0?"-":"",i=Math.abs(e).toString();while(i.lengthi})},8778:(e,t,n)=>{"use strict";function i(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}n.d(t,{Z:()=>i})},2705:(e,t,n)=>{"use strict";function i(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}n.d(t,{Z:()=>i})},5057:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(6093),o=n(8778);function r(e){(0,o.Z)(1,arguments);var t=(0,i.Z)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}},9771:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(6093),o=n(8778);function r(e){(0,o.Z)(1,arguments);var t=(0,i.Z)(e),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(23,59,59,999),t}},8898:(e,t,n)=>{"use strict";n.d(t,{Z:()=>Re});var i=n(8778);function o(e){return(0,i.Z)(1,arguments),e instanceof Date||"object"===typeof e&&"[object Date]"===Object.prototype.toString.call(e)}var r=n(6093);function a(e){if((0,i.Z)(1,arguments),!o(e)&&"number"!==typeof e)return!1;var t=(0,r.Z)(e);return!isNaN(Number(t))}var s={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},l=function(e,t,n){var i,o=s[e];return i="string"===typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),null!==n&&void 0!==n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i};const c=l;function u(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,i=e.formats[n]||e.formats[e.defaultWidth];return i}}var d={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},h={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},f={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},p={date:u({formats:d,defaultWidth:"full"}),time:u({formats:h,defaultWidth:"full"}),dateTime:u({formats:f,defaultWidth:"full"})};const g=p;var v={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},m=function(e,t,n,i){return v[e]};const b=m;function x(e){return function(t,n){var i,o=n||{},r=o.context?String(o.context):"standalone";if("formatting"===r&&e.formattingValues){var a=e.defaultFormattingWidth||e.defaultWidth,s=o.width?String(o.width):a;i=e.formattingValues[s]||e.formattingValues[a]}else{var l=e.defaultWidth,c=o.width?String(o.width):e.defaultWidth;i=e.values[c]||e.values[l]}var u=e.argumentCallback?e.argumentCallback(t):t;return i[u]}}var y={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},w={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},k={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},S={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},C={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},_={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},A=function(e,t){var n=Number(e),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},P={ordinalNumber:A,era:x({values:y,defaultWidth:"wide"}),quarter:x({values:w,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:x({values:k,defaultWidth:"wide"}),day:x({values:S,defaultWidth:"wide"}),dayPeriod:x({values:C,defaultWidth:"wide",formattingValues:_,defaultFormattingWidth:"wide"})};const L=P;function j(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.width,o=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],r=t.match(o);if(!r)return null;var a,s=r[0],l=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?F(l,(function(e){return e.test(s)})):T(l,(function(e){return e.test(s)}));a=e.valueCallback?e.valueCallback(c):c,a=n.valueCallback?n.valueCallback(a):a;var u=t.slice(s.length);return{value:a,rest:u}}}function T(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function F(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},i=t.match(e.matchPattern);if(!i)return null;var o=i[0],r=t.match(e.parsePattern);if(!r)return null;var a=e.valueCallback?e.valueCallback(r[0]):r[0];a=n.valueCallback?n.valueCallback(a):a;var s=t.slice(o.length);return{value:a,rest:s}}}var O=/^(\d+)(th|st|nd|rd)?/i,M=/\d+/i,R={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},I={any:[/^b/i,/^(a|c)/i]},z={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},H={any:[/1/i,/2/i,/3/i,/4/i]},N={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},q={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},D={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},B={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Y={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},X={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},V={ordinalNumber:E({matchPattern:O,parsePattern:M,valueCallback:function(e){return parseInt(e,10)}}),era:j({matchPatterns:R,defaultMatchWidth:"wide",parsePatterns:I,defaultParseWidth:"any"}),quarter:j({matchPatterns:z,defaultMatchWidth:"wide",parsePatterns:H,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:j({matchPatterns:N,defaultMatchWidth:"wide",parsePatterns:q,defaultParseWidth:"any"}),day:j({matchPatterns:D,defaultMatchWidth:"wide",parsePatterns:B,defaultParseWidth:"any"}),dayPeriod:j({matchPatterns:Y,defaultMatchWidth:"any",parsePatterns:X,defaultParseWidth:"any"})};const W=V;var $={code:"en-US",formatDistance:c,formatLong:g,formatRelative:b,localize:L,match:W,options:{weekStartsOn:0,firstWeekContainsDate:1}};const U=$;var Z=n(2705);function G(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(e).getTime(),o=(0,Z.Z)(t);return new Date(n+o)}function K(e,t){(0,i.Z)(2,arguments);var n=(0,Z.Z)(t);return G(e,-n)}var J=864e5;function Q(e){(0,i.Z)(1,arguments);var t=(0,r.Z)(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var o=t.getTime(),a=n-o;return Math.floor(a/J)+1}function ee(e){(0,i.Z)(1,arguments);var t=1,n=(0,r.Z)(e),o=n.getUTCDay(),a=(o=a.getTime()?n+1:t.getTime()>=l.getTime()?n:n-1}function ne(e){(0,i.Z)(1,arguments);var t=te(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var o=ee(n);return o}var ie=6048e5;function oe(e){(0,i.Z)(1,arguments);var t=(0,r.Z)(e),n=ee(t).getTime()-ne(t).getTime();return Math.round(n/ie)+1}function re(e,t){(0,i.Z)(1,arguments);var n=t||{},o=n.locale,a=o&&o.options&&o.options.weekStartsOn,s=null==a?0:(0,Z.Z)(a),l=null==n.weekStartsOn?s:(0,Z.Z)(n.weekStartsOn);if(!(l>=0&&l<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var c=(0,r.Z)(e),u=c.getUTCDay(),d=(u=1&&u<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var d=new Date(0);d.setUTCFullYear(o+1,0,u),d.setUTCHours(0,0,0,0);var h=re(d,t),f=new Date(0);f.setUTCFullYear(o,0,u),f.setUTCHours(0,0,0,0);var p=re(f,t);return n.getTime()>=h.getTime()?o+1:n.getTime()>=p.getTime()?o:o-1}function se(e,t){(0,i.Z)(1,arguments);var n=t||{},o=n.locale,r=o&&o.options&&o.options.firstWeekContainsDate,a=null==r?1:(0,Z.Z)(r),s=null==n.firstWeekContainsDate?a:(0,Z.Z)(n.firstWeekContainsDate),l=ae(e,t),c=new Date(0);c.setUTCFullYear(l,0,s),c.setUTCHours(0,0,0,0);var u=re(c,t);return u}var le=6048e5;function ce(e,t){(0,i.Z)(1,arguments);var n=(0,r.Z)(e),o=re(n,t).getTime()-se(n,t).getTime();return Math.round(o/le)+1}var ue=n(6704),de={y:function(e,t){var n=e.getUTCFullYear(),i=n>0?n:1-n;return(0,ue.Z)("yy"===t?i%100:i,t.length)},M:function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):(0,ue.Z)(n+1,2)},d:function(e,t){return(0,ue.Z)(e.getUTCDate(),t.length)},a:function(e,t){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return"am"===n?"a.m.":"p.m."}},h:function(e,t){return(0,ue.Z)(e.getUTCHours()%12||12,t.length)},H:function(e,t){return(0,ue.Z)(e.getUTCHours(),t.length)},m:function(e,t){return(0,ue.Z)(e.getUTCMinutes(),t.length)},s:function(e,t){return(0,ue.Z)(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length,i=e.getUTCMilliseconds(),o=Math.floor(i*Math.pow(10,n-3));return(0,ue.Z)(o,t.length)}};const he=de;var fe={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},pe={G:function(e,t,n){var i=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});case"GGGG":default:return n.era(i,{width:"wide"})}},y:function(e,t,n){if("yo"===t){var i=e.getUTCFullYear(),o=i>0?i:1-i;return n.ordinalNumber(o,{unit:"year"})}return he.y(e,t)},Y:function(e,t,n,i){var o=ae(e,i),r=o>0?o:1-o;if("YY"===t){var a=r%100;return(0,ue.Z)(a,2)}return"Yo"===t?n.ordinalNumber(r,{unit:"year"}):(0,ue.Z)(r,t.length)},R:function(e,t){var n=te(e);return(0,ue.Z)(n,t.length)},u:function(e,t){var n=e.getUTCFullYear();return(0,ue.Z)(n,t.length)},Q:function(e,t,n){var i=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(i);case"QQ":return(0,ue.Z)(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(e,t,n){var i=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(i);case"qq":return(0,ue.Z)(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(e,t,n){var i=e.getUTCMonth();switch(t){case"M":case"MM":return he.M(e,t);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(e,t,n){var i=e.getUTCMonth();switch(t){case"L":return String(i+1);case"LL":return(0,ue.Z)(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(e,t,n,i){var o=ce(e,i);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):(0,ue.Z)(o,t.length)},I:function(e,t,n){var i=oe(e);return"Io"===t?n.ordinalNumber(i,{unit:"week"}):(0,ue.Z)(i,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):he.d(e,t)},D:function(e,t,n){var i=Q(e);return"Do"===t?n.ordinalNumber(i,{unit:"dayOfYear"}):(0,ue.Z)(i,t.length)},E:function(e,t,n){var i=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"});case"EEEE":default:return n.day(i,{width:"wide",context:"formatting"})}},e:function(e,t,n,i){var o=e.getUTCDay(),r=(o-i.weekStartsOn+8)%7||7;switch(t){case"e":return String(r);case"ee":return(0,ue.Z)(r,2);case"eo":return n.ordinalNumber(r,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});case"eeee":default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,i){var o=e.getUTCDay(),r=(o-i.weekStartsOn+8)%7||7;switch(t){case"c":return String(r);case"cc":return(0,ue.Z)(r,t.length);case"co":return n.ordinalNumber(r,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});case"cccc":default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){var i=e.getUTCDay(),o=0===i?7:i;switch(t){case"i":return String(o);case"ii":return(0,ue.Z)(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});case"iiii":default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(e,t,n){var i=e.getUTCHours(),o=i/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,t,n){var i,o=e.getUTCHours();switch(i=12===o?fe.noon:0===o?fe.midnight:o/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,n){var i,o=e.getUTCHours();switch(i=o>=17?fe.evening:o>=12?fe.afternoon:o>=4?fe.morning:fe.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){var i=e.getUTCHours()%12;return 0===i&&(i=12),n.ordinalNumber(i,{unit:"hour"})}return he.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):he.H(e,t)},K:function(e,t,n){var i=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(i,{unit:"hour"}):(0,ue.Z)(i,t.length)},k:function(e,t,n){var i=e.getUTCHours();return 0===i&&(i=24),"ko"===t?n.ordinalNumber(i,{unit:"hour"}):(0,ue.Z)(i,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):he.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):he.s(e,t)},S:function(e,t){return he.S(e,t)},X:function(e,t,n,i){var o=i._originalDate||e,r=o.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return ve(r);case"XXXX":case"XX":return me(r);case"XXXXX":case"XXX":default:return me(r,":")}},x:function(e,t,n,i){var o=i._originalDate||e,r=o.getTimezoneOffset();switch(t){case"x":return ve(r);case"xxxx":case"xx":return me(r);case"xxxxx":case"xxx":default:return me(r,":")}},O:function(e,t,n,i){var o=i._originalDate||e,r=o.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+ge(r,":");case"OOOO":default:return"GMT"+me(r,":")}},z:function(e,t,n,i){var o=i._originalDate||e,r=o.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+ge(r,":");case"zzzz":default:return"GMT"+me(r,":")}},t:function(e,t,n,i){var o=i._originalDate||e,r=Math.floor(o.getTime()/1e3);return(0,ue.Z)(r,t.length)},T:function(e,t,n,i){var o=i._originalDate||e,r=o.getTime();return(0,ue.Z)(r,t.length)}};function ge(e,t){var n=e>0?"-":"+",i=Math.abs(e),o=Math.floor(i/60),r=i%60;if(0===r)return n+String(o);var a=t||"";return n+String(o)+a+(0,ue.Z)(r,2)}function ve(e,t){if(e%60===0){var n=e>0?"-":"+";return n+(0,ue.Z)(Math.abs(e)/60,2)}return me(e,t)}function me(e,t){var n=t||"",i=e>0?"-":"+",o=Math.abs(e),r=(0,ue.Z)(Math.floor(o/60),2),a=(0,ue.Z)(o%60,2);return i+r+n+a}const be=pe;function xe(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}}function ye(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}}function we(e,t){var n,i=e.match(/(P+)(p+)?/)||[],o=i[1],r=i[2];if(!r)return xe(e,t);switch(o){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;case"PPPP":default:n=t.dateTime({width:"full"});break}return n.replace("{{date}}",xe(o,t)).replace("{{time}}",ye(r,t))}var ke={p:ye,P:we};const Se=ke;function Ce(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}var _e=["D","DD"],Ae=["YY","YYYY"];function Pe(e){return-1!==_e.indexOf(e)}function Le(e){return-1!==Ae.indexOf(e)}function je(e,t,n){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"))}var Te=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Fe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ee=/^'([^]*?)'?$/,Oe=/''/g,Me=/[a-zA-Z]/;function Re(e,t,n){(0,i.Z)(2,arguments);var o=String(t),s=n||{},l=s.locale||U,c=l.options&&l.options.firstWeekContainsDate,u=null==c?1:(0,Z.Z)(c),d=null==s.firstWeekContainsDate?u:(0,Z.Z)(s.firstWeekContainsDate);if(!(d>=1&&d<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var h=l.options&&l.options.weekStartsOn,f=null==h?0:(0,Z.Z)(h),p=null==s.weekStartsOn?f:(0,Z.Z)(s.weekStartsOn);if(!(p>=0&&p<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!l.localize)throw new RangeError("locale must contain localize property");if(!l.formatLong)throw new RangeError("locale must contain formatLong property");var g=(0,r.Z)(e);if(!a(g))throw new RangeError("Invalid time value");var v=Ce(g),m=K(g,v),b={firstWeekContainsDate:d,weekStartsOn:p,locale:l,_originalDate:g},x=o.match(Fe).map((function(e){var t=e[0];if("p"===t||"P"===t){var n=Se[t];return n(e,l.formatLong,b)}return e})).join("").match(Te).map((function(n){if("''"===n)return"'";var i=n[0];if("'"===i)return Ie(n);var o=be[i];if(o)return!s.useAdditionalWeekYearTokens&&Le(n)&&je(n,t,e),!s.useAdditionalDayOfYearTokens&&Pe(n)&&je(n,t,e),o(m,n,l.localize,b);if(i.match(Me))throw new RangeError("Format string contains an unescaped latin alphabet character `"+i+"`");return n})).join("");return x}function Ie(e){return e.match(Ee)[1].replace(Oe,"'")}},5115:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var i=n(6093),o=n(6704),r=n(8778);function a(e,t){(0,r.Z)(1,arguments);var n=(0,i.Z)(e);if(isNaN(n.getTime()))throw new RangeError("Invalid time value");var a=null!==t&&void 0!==t&&t.format?String(t.format):"extended",s=null!==t&&void 0!==t&&t.representation?String(t.representation):"complete";if("extended"!==a&&"basic"!==a)throw new RangeError("format must be 'extended' or 'basic'");if("date"!==s&&"time"!==s&&"complete"!==s)throw new RangeError("representation must be 'date', 'time', or 'complete'");var l="",c="",u="extended"===a?"-":"",d="extended"===a?":":"";if("time"!==s){var h=(0,o.Z)(n.getDate(),2),f=(0,o.Z)(n.getMonth()+1,2),p=(0,o.Z)(n.getFullYear(),4);l="".concat(p).concat(u).concat(f).concat(u).concat(h)}if("date"!==s){var g=n.getTimezoneOffset();if(0!==g){var v=Math.abs(g),m=(0,o.Z)(Math.floor(v/60),2),b=(0,o.Z)(v%60,2),x=g<0?"+":"-";c="".concat(x).concat(m,":").concat(b)}else c="Z";var y=(0,o.Z)(n.getHours(),2),w=(0,o.Z)(n.getMinutes(),2),k=(0,o.Z)(n.getSeconds(),2),S=""===l?"":"T",C=[y,w,k].join(d);l="".concat(l).concat(S).concat(C).concat(c)}return l}},8480:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});Math.pow(10,8);var i=6e4,o=36e5,r=n(8778),a=n(2705);function s(e,t){(0,r.Z)(1,arguments);var n=t||{},i=null==n.additionalDigits?2:(0,a.Z)(n.additionalDigits);if(2!==i&&1!==i&&0!==i)throw new RangeError("additionalDigits must be 0, 1 or 2");if("string"!==typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);var o,s=h(e);if(s.date){var l=f(s.date,i);o=p(l.restDateString,l.year)}if(!o||isNaN(o.getTime()))return new Date(NaN);var c,u=o.getTime(),d=0;if(s.time&&(d=v(s.time),isNaN(d)))return new Date(NaN);if(!s.timezone){var g=new Date(u+d),m=new Date(0);return m.setFullYear(g.getUTCFullYear(),g.getUTCMonth(),g.getUTCDate()),m.setHours(g.getUTCHours(),g.getUTCMinutes(),g.getUTCSeconds(),g.getUTCMilliseconds()),m}return c=b(s.timezone),isNaN(c)?new Date(NaN):new Date(u+d+c)}var l={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},c=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,u=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,d=/^([+-])(\d{2})(?::?(\d{2}))?$/;function h(e){var t,n={},i=e.split(l.dateTimeDelimiter);if(i.length>2)return n;if(/:/.test(i[0])?t=i[0]:(n.date=i[0],t=i[1],l.timeZoneDelimiter.test(n.date)&&(n.date=e.split(l.timeZoneDelimiter)[0],t=e.substr(n.date.length,e.length))),t){var o=l.timezone.exec(t);o?(n.time=t.replace(o[1],""),n.timezone=o[1]):n.time=t}return n}function f(e,t){var n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),i=e.match(n);if(!i)return{year:NaN,restDateString:""};var o=i[1]?parseInt(i[1]):null,r=i[2]?parseInt(i[2]):null;return{year:null===r?o:100*r,restDateString:e.slice((i[1]||i[2]).length)}}function p(e,t){if(null===t)return new Date(NaN);var n=e.match(c);if(!n)return new Date(NaN);var i=!!n[4],o=g(n[1]),r=g(n[2])-1,a=g(n[3]),s=g(n[4]),l=g(n[5])-1;if(i)return C(t,s,l)?x(t,s,l):new Date(NaN);var u=new Date(0);return k(t,r,a)&&S(t,o)?(u.setUTCFullYear(t,r,Math.max(o,a)),u):new Date(NaN)}function g(e){return e?parseInt(e):1}function v(e){var t=e.match(u);if(!t)return NaN;var n=m(t[1]),r=m(t[2]),a=m(t[3]);return _(n,r,a)?n*o+r*i+1e3*a:NaN}function m(e){return e&&parseFloat(e.replace(",","."))||0}function b(e){if("Z"===e)return 0;var t=e.match(d);if(!t)return 0;var n="+"===t[1]?-1:1,r=parseInt(t[2]),a=t[3]&&parseInt(t[3])||0;return A(r,a)?n*(r*o+a*i):NaN}function x(e,t,n){var i=new Date(0);i.setUTCFullYear(e,0,4);var o=i.getUTCDay()||7,r=7*(t-1)+n+1-o;return i.setUTCDate(i.getUTCDate()+r),i}var y=[31,null,31,30,31,30,31,31,30,31,30,31];function w(e){return e%400===0||e%4===0&&e%100!==0}function k(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(y[t]||(w(e)?29:28))}function S(e,t){return t>=1&&t<=(w(e)?366:365)}function C(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}function _(e,t,n){return 24===e?0===t&&0===n:n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}function A(e,t){return t>=0&&t<=59}},7164:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(6093),o=n(8778);function r(e){(0,o.Z)(1,arguments);var t=(0,i.Z)(e);return t.setDate(1),t.setHours(0,0,0,0),t}},444:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(6093),o=n(8778);function r(e){(0,o.Z)(1,arguments);var t=(0,i.Z)(e),n=new Date(0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}},7799:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var i=n(2705),o=n(6093),r=n(8778);function a(e,t){(0,r.Z)(2,arguments);var n=(0,o.Z)(e),a=(0,i.Z)(t);return isNaN(a)?new Date(NaN):a?(n.setDate(n.getDate()+a),n):n}function s(e,t){(0,r.Z)(2,arguments);var n=(0,i.Z)(t);return a(e,-n)}},6093:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var i=n(8778);function o(e){(0,i.Z)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"===typeof e||"[object Number]"===t?new Date(e):("string"!==typeof e&&"[object String]"!==t||"undefined"===typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}},9991:(e,t,n)=>{"use strict";n.d(t,{o:()=>Dt});const i="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag,o=e=>i?Symbol(e):e,r=(e,t,n)=>a({l:e,k:t,s:n}),a=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),s=e=>"number"===typeof e&&isFinite(e),l=e=>"[object Date]"===k(e),c=e=>"[object RegExp]"===k(e),u=e=>S(e)&&0===Object.keys(e).length;function d(e,t){"undefined"!==typeof console&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const h=Object.assign;function f(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const p=Object.prototype.hasOwnProperty;function g(e,t){return p.call(e,t)}const v=Array.isArray,m=e=>"function"===typeof e,b=e=>"string"===typeof e,x=e=>"boolean"===typeof e,y=e=>null!==e&&"object"===typeof e,w=Object.prototype.toString,k=e=>w.call(e),S=e=>"[object Object]"===k(e),C=e=>null==e?"":v(e)||S(e)&&e.toString===w?JSON.stringify(e,null,2):String(e);const _=Object.prototype.hasOwnProperty;function A(e,t){return _.call(e,t)}const P=e=>null!==e&&"object"===typeof e,L=[];L[0]={["w"]:[0],["i"]:[3,0],["["]:[4],["o"]:[7]},L[1]={["w"]:[1],["."]:[2],["["]:[4],["o"]:[7]},L[2]={["w"]:[2],["i"]:[3,0],["0"]:[3,0]},L[3]={["i"]:[3,0],["0"]:[3,0],["w"]:[1,1],["."]:[2,1],["["]:[4,1],["o"]:[7,1]},L[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],["o"]:8,["l"]:[4,0]},L[5]={["'"]:[4,0],["o"]:8,["l"]:[5,0]},L[6]={['"']:[4,0],["o"]:8,["l"]:[6,0]};const j=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function T(e){return j.test(e)}function F(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t!==n||34!==t&&39!==t?e:e.slice(1,-1)}function E(e){if(void 0===e||null===e)return"o";const t=e.charCodeAt(0);switch(t){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function O(e){const t=e.trim();return("0"!==e.charAt(0)||!isNaN(parseInt(e)))&&(T(t)?F(t):"*"+t)}function M(e){const t=[];let n,i,o,r,a,s,l,c=-1,u=0,d=0;const h=[];function f(){const t=e[c+1];if(5===u&&"'"===t||6===u&&'"'===t)return c++,o="\\"+t,h[0](),!0}h[0]=()=>{void 0===i?i=o:i+=o},h[1]=()=>{void 0!==i&&(t.push(i),i=void 0)},h[2]=()=>{h[0](),d++},h[3]=()=>{if(d>0)d--,u=4,h[0]();else{if(d=0,void 0===i)return!1;if(i=O(i),!1===i)return!1;h[1]()}};while(null!==u)if(c++,n=e[c],"\\"!==n||!f()){if(r=E(n),l=L[u],a=l[r]||l["l"]||8,8===a)return;if(u=a[0],void 0!==a[1]&&(s=h[a[1]],s&&(o=n,!1===s())))return;if(7===u)return t}}const R=new Map;function I(e,t){if(!P(e))return null;let n=R.get(t);if(n||(n=M(t),n&&R.set(t,n)),!n)return null;const i=n.length;let o=e,r=0;while(re,N=e=>"",q="text",D=e=>0===e.length?"":e.join(""),B=C;function Y(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0}function X(e){const t=s(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(s(e.named.count)||s(e.named.n))?s(e.named.count)?e.named.count:s(e.named.n)?e.named.n:t:t}function V(e,t){t.count||(t.count=e),t.n||(t.n=e)}function W(e={}){const t=e.locale,n=X(e),i=y(e.pluralRules)&&b(t)&&m(e.pluralRules[t])?e.pluralRules[t]:Y,o=y(e.pluralRules)&&b(t)&&m(e.pluralRules[t])?Y:void 0,r=e=>e[i(n,e.length,o)],a=e.list||[],l=e=>a[e],c=e.named||{};s(e.pluralIndex)&&V(n,c);const u=e=>c[e];function d(t){const n=m(e.messages)?e.messages(t):!!y(e.messages)&&e.messages[t];return n||(e.parent?e.parent.message(t):N)}const h=t=>e.modifiers?e.modifiers[t]:H,f=S(e.processor)&&m(e.processor.normalize)?e.processor.normalize:D,p=S(e.processor)&&m(e.processor.interpolate)?e.processor.interpolate:B,g=S(e.processor)&&b(e.processor.type)?e.processor.type:q,v={["list"]:l,["named"]:u,["plural"]:r,["linked"]:(e,t)=>{const n=d(e)(v);return b(t)?h(t)(n):n},["message"]:d,["type"]:g,["interpolate"]:p,["normalize"]:f};return v}function $(e,t,n={}){const{domain:i,messages:o,args:r}=n,a=e,s=new SyntaxError(String(a));return s.code=e,t&&(s.location=t),s.domain=i,s}function U(e){throw e}function Z(e,t,n){return{line:e,column:t,offset:n}}function G(e,t,n){const i={start:e,end:t};return null!=n&&(i.source=n),i}const K=" ",J="\r",Q="\n",ee=String.fromCharCode(8232),te=String.fromCharCode(8233);function ne(e){const t=e;let n=0,i=1,o=1,r=0;const a=e=>t[e]===J&&t[e+1]===Q,s=e=>t[e]===Q,l=e=>t[e]===te,c=e=>t[e]===ee,u=e=>a(e)||s(e)||l(e)||c(e),d=()=>n,h=()=>i,f=()=>o,p=()=>r,g=e=>a(e)||l(e)||c(e)?Q:t[e],v=()=>g(n),m=()=>g(n+r);function b(){return r=0,u(n)&&(i++,o=0),a(n)&&n++,n++,o++,t[n]}function x(){return a(n+r)&&r++,r++,t[n+r]}function y(){n=0,i=1,o=1,r=0}function w(e=0){r=e}function k(){const e=n+r;while(e!==n)b();r=0}return{index:d,line:h,column:f,peekOffset:p,charAt:g,currentChar:v,currentPeek:m,next:b,peek:x,reset:y,resetPeek:w,skipToPeek:k}}const ie=void 0,oe="'",re="tokenizer";function ae(e,t={}){const n=!1!==t.location,i=ne(e),o=()=>i.index(),r=()=>Z(i.line(),i.column(),i.index()),a=r(),s=o(),l={currentType:14,offset:s,startLoc:a,endLoc:a,lastType:14,lastOffset:s,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function d(e,t,n,...i){const o=c();if(t.column+=n,t.offset+=n,u){const n=G(o.startLoc,t),r=$(e,n,{domain:re,args:i});u(r)}}function h(e,t,i){e.endLoc=r(),e.currentType=t;const o={type:t};return n&&(o.loc=G(e.startLoc,e.endLoc)),null!=i&&(o.value=i),o}const f=e=>h(e,14);function p(e,t){return e.currentChar()===t?(e.next(),t):(d(0,r(),0,t),"")}function g(e){let t="";while(e.currentPeek()===K||e.currentPeek()===Q)t+=e.currentPeek(),e.peek();return t}function v(e){const t=g(e);return e.skipToPeek(),t}function m(e){if(e===ie)return!1;const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||95===t}function b(e){if(e===ie)return!1;const t=e.charCodeAt(0);return t>=48&&t<=57}function x(e,t){const{currentType:n}=t;if(2!==n)return!1;g(e);const i=m(e.currentPeek());return e.resetPeek(),i}function y(e,t){const{currentType:n}=t;if(2!==n)return!1;g(e);const i="-"===e.currentPeek()?e.peek():e.currentPeek(),o=b(i);return e.resetPeek(),o}function w(e,t){const{currentType:n}=t;if(2!==n)return!1;g(e);const i=e.currentPeek()===oe;return e.resetPeek(),i}function k(e,t){const{currentType:n}=t;if(8!==n)return!1;g(e);const i="."===e.currentPeek();return e.resetPeek(),i}function S(e,t){const{currentType:n}=t;if(9!==n)return!1;g(e);const i=m(e.currentPeek());return e.resetPeek(),i}function C(e,t){const{currentType:n}=t;if(8!==n&&12!==n)return!1;g(e);const i=":"===e.currentPeek();return e.resetPeek(),i}function _(e,t){const{currentType:n}=t;if(10!==n)return!1;const i=()=>{const t=e.currentPeek();return"{"===t?m(e.peek()):!("@"===t||"%"===t||"|"===t||":"===t||"."===t||t===K||!t)&&(t===Q?(e.peek(),i()):m(t))},o=i();return e.resetPeek(),o}function A(e){g(e);const t="|"===e.currentPeek();return e.resetPeek(),t}function P(e,t=!0){const n=(t=!1,i="",o=!1)=>{const r=e.currentPeek();return"{"===r?"%"!==i&&t:"@"!==r&&r?"%"===r?(e.peek(),n(t,"%",!0)):"|"===r?!("%"!==i&&!o)||!(i===K||i===Q):r===K?(e.peek(),n(!0,K,o)):r!==Q||(e.peek(),n(!0,Q,o)):"%"===i||t},i=n();return t&&e.resetPeek(),i}function L(e,t){const n=e.currentChar();return n===ie?ie:t(n)?(e.next(),n):null}function j(e){const t=e=>{const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||95===t||36===t};return L(e,t)}function T(e){const t=e=>{const t=e.charCodeAt(0);return t>=48&&t<=57};return L(e,t)}function F(e){const t=e=>{const t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102};return L(e,t)}function E(e){let t="",n="";while(t=T(e))n+=t;return n}function O(e){let t="";while(1){const n=e.currentChar();if("{"===n||"}"===n||"@"===n||"|"===n||!n)break;if("%"===n){if(!P(e))break;t+=n,e.next()}else if(n===K||n===Q)if(P(e))t+=n,e.next();else{if(A(e))break;t+=n,e.next()}else t+=n,e.next()}return t}function M(e){v(e);let t="",n="";while(t=j(e))n+=t;return e.currentChar()===ie&&d(6,r(),0),n}function R(e){v(e);let t="";return"-"===e.currentChar()?(e.next(),t+=`-${E(e)}`):t+=E(e),e.currentChar()===ie&&d(6,r(),0),t}function I(e){v(e),p(e,"'");let t="",n="";const i=e=>e!==oe&&e!==Q;while(t=L(e,i))n+="\\"===t?z(e):t;const o=e.currentChar();return o===Q||o===ie?(d(2,r(),0),o===Q&&(e.next(),p(e,"'")),n):(p(e,"'"),n)}function z(e){const t=e.currentChar();switch(t){case"\\":case"'":return e.next(),`\\${t}`;case"u":return H(e,t,4);case"U":return H(e,t,6);default:return d(3,r(),0,t),""}}function H(e,t,n){p(e,t);let i="";for(let o=0;o"{"!==e&&"}"!==e&&e!==K&&e!==Q;while(t=L(e,i))n+=t;return n}function q(e){let t="",n="";while(t=j(e))n+=t;return n}function D(e){const t=(n=!1,i)=>{const o=e.currentChar();return"{"!==o&&"%"!==o&&"@"!==o&&"|"!==o&&o?o===K?i:o===Q?(i+=o,e.next(),t(n,i)):(i+=o,e.next(),t(!0,i)):i};return t(!1,"")}function B(e){v(e);const t=p(e,"|");return v(e),t}function Y(e,t){let n=null;const i=e.currentChar();switch(i){case"{":return t.braceNest>=1&&d(8,r(),0),e.next(),n=h(t,2,"{"),v(e),t.braceNest++,n;case"}":return t.braceNest>0&&2===t.currentType&&d(7,r(),0),e.next(),n=h(t,3,"}"),t.braceNest--,t.braceNest>0&&v(e),t.inLinked&&0===t.braceNest&&(t.inLinked=!1),n;case"@":return t.braceNest>0&&d(6,r(),0),n=X(e,t)||f(t),t.braceNest=0,n;default:let i=!0,o=!0,a=!0;if(A(e))return t.braceNest>0&&d(6,r(),0),n=h(t,1,B(e)),t.braceNest=0,t.inLinked=!1,n;if(t.braceNest>0&&(5===t.currentType||6===t.currentType||7===t.currentType))return d(6,r(),0),t.braceNest=0,V(e,t);if(i=x(e,t))return n=h(t,5,M(e)),v(e),n;if(o=y(e,t))return n=h(t,6,R(e)),v(e),n;if(a=w(e,t))return n=h(t,7,I(e)),v(e),n;if(!i&&!o&&!a)return n=h(t,13,N(e)),d(1,r(),0,n.value),v(e),n;break}return n}function X(e,t){const{currentType:n}=t;let i=null;const o=e.currentChar();switch(8!==n&&9!==n&&12!==n&&10!==n||o!==Q&&o!==K||d(9,r(),0),o){case"@":return e.next(),i=h(t,8,"@"),t.inLinked=!0,i;case".":return v(e),e.next(),h(t,9,".");case":":return v(e),e.next(),h(t,10,":");default:return A(e)?(i=h(t,1,B(e)),t.braceNest=0,t.inLinked=!1,i):k(e,t)||C(e,t)?(v(e),X(e,t)):S(e,t)?(v(e),h(t,12,q(e))):_(e,t)?(v(e),"{"===o?Y(e,t)||i:h(t,11,D(e))):(8===n&&d(9,r(),0),t.braceNest=0,t.inLinked=!1,V(e,t))}}function V(e,t){let n={type:14};if(t.braceNest>0)return Y(e,t)||f(t);if(t.inLinked)return X(e,t)||f(t);const i=e.currentChar();switch(i){case"{":return Y(e,t)||f(t);case"}":return d(5,r(),0),e.next(),h(t,3,"}");case"@":return X(e,t)||f(t);default:if(A(e))return n=h(t,1,B(e)),t.braceNest=0,t.inLinked=!1,n;if(P(e))return h(t,0,O(e));if("%"===i)return e.next(),h(t,4,"%");break}return n}function W(){const{currentType:e,offset:t,startLoc:n,endLoc:a}=l;return l.lastType=e,l.lastOffset=t,l.lastStartLoc=n,l.lastEndLoc=a,l.offset=o(),l.startLoc=r(),i.currentChar()===ie?h(l,14):V(i,l)}return{nextToken:W,currentOffset:o,currentPosition:r,context:c}}const se="parser",le=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function ce(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const e=parseInt(t||n,16);return e<=55295||e>=57344?String.fromCodePoint(e):"�"}}}function ue(e={}){const t=!1!==e.location,{onError:n}=e;function i(e,t,i,o,...r){const a=e.currentPosition();if(a.offset+=o,a.column+=o,n){const e=G(i,a),o=$(t,e,{domain:se,args:r});n(o)}}function o(e,n,i){const o={type:e,start:n,end:n};return t&&(o.loc={start:i,end:i}),o}function r(e,n,i,o){e.end=n,o&&(e.type=o),t&&e.loc&&(e.loc.end=i)}function a(e,t){const n=e.context(),i=o(3,n.offset,n.startLoc);return i.value=t,r(i,e.currentOffset(),e.currentPosition()),i}function s(e,t){const n=e.context(),{lastOffset:i,lastStartLoc:a}=n,s=o(5,i,a);return s.index=parseInt(t,10),e.nextToken(),r(s,e.currentOffset(),e.currentPosition()),s}function l(e,t){const n=e.context(),{lastOffset:i,lastStartLoc:a}=n,s=o(4,i,a);return s.key=t,e.nextToken(),r(s,e.currentOffset(),e.currentPosition()),s}function c(e,t){const n=e.context(),{lastOffset:i,lastStartLoc:a}=n,s=o(9,i,a);return s.value=t.replace(le,ce),e.nextToken(),r(s,e.currentOffset(),e.currentPosition()),s}function u(e){const t=e.nextToken(),n=e.context(),{lastOffset:a,lastStartLoc:s}=n,l=o(8,a,s);return 12!==t.type?(i(e,11,n.lastStartLoc,0),l.value="",r(l,a,s),{nextConsumeToken:t,node:l}):(null==t.value&&i(e,13,n.lastStartLoc,0,de(t)),l.value=t.value||"",r(l,e.currentOffset(),e.currentPosition()),{node:l})}function d(e,t){const n=e.context(),i=o(7,n.offset,n.startLoc);return i.value=t,r(i,e.currentOffset(),e.currentPosition()),i}function f(e){const t=e.context(),n=o(6,t.offset,t.startLoc);let a=e.nextToken();if(9===a.type){const t=u(e);n.modifier=t.node,a=t.nextConsumeToken||e.nextToken()}switch(10!==a.type&&i(e,13,t.lastStartLoc,0,de(a)),a=e.nextToken(),2===a.type&&(a=e.nextToken()),a.type){case 11:null==a.value&&i(e,13,t.lastStartLoc,0,de(a)),n.key=d(e,a.value||"");break;case 5:null==a.value&&i(e,13,t.lastStartLoc,0,de(a)),n.key=l(e,a.value||"");break;case 6:null==a.value&&i(e,13,t.lastStartLoc,0,de(a)),n.key=s(e,a.value||"");break;case 7:null==a.value&&i(e,13,t.lastStartLoc,0,de(a)),n.key=c(e,a.value||"");break;default:i(e,12,t.lastStartLoc,0);const u=e.context(),h=o(7,u.offset,u.startLoc);return h.value="",r(h,u.offset,u.startLoc),n.key=h,r(n,u.offset,u.startLoc),{nextConsumeToken:a,node:n}}return r(n,e.currentOffset(),e.currentPosition()),{node:n}}function p(e){const t=e.context(),n=1===t.currentType?e.currentOffset():t.offset,u=1===t.currentType?t.endLoc:t.startLoc,d=o(2,n,u);d.items=[];let h=null;do{const n=h||e.nextToken();switch(h=null,n.type){case 0:null==n.value&&i(e,13,t.lastStartLoc,0,de(n)),d.items.push(a(e,n.value||""));break;case 6:null==n.value&&i(e,13,t.lastStartLoc,0,de(n)),d.items.push(s(e,n.value||""));break;case 5:null==n.value&&i(e,13,t.lastStartLoc,0,de(n)),d.items.push(l(e,n.value||""));break;case 7:null==n.value&&i(e,13,t.lastStartLoc,0,de(n)),d.items.push(c(e,n.value||""));break;case 8:const o=f(e);d.items.push(o.node),h=o.nextConsumeToken||null;break}}while(14!==t.currentType&&1!==t.currentType);const p=1===t.currentType?t.lastOffset:e.currentOffset(),g=1===t.currentType?t.lastEndLoc:e.currentPosition();return r(d,p,g),d}function g(e,t,n,a){const s=e.context();let l=0===a.items.length;const c=o(1,t,n);c.cases=[],c.cases.push(a);do{const t=p(e);l||(l=0===t.items.length),c.cases.push(t)}while(14!==s.currentType);return l&&i(e,10,n,0),r(c,e.currentOffset(),e.currentPosition()),c}function v(e){const t=e.context(),{offset:n,startLoc:i}=t,o=p(e);return 14===t.currentType?o:g(e,n,i,o)}function m(n){const a=ae(n,h({},e)),s=a.context(),l=o(0,s.offset,s.startLoc);return t&&l.loc&&(l.loc.source=n),l.body=v(a),14!==s.currentType&&i(a,13,s.lastStartLoc,0,n[s.offset]||""),r(l,a.currentOffset(),a.currentPosition()),l}return{parse:m}}function de(e){if(14===e.type)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function he(e,t={}){const n={ast:e,helpers:new Set},i=()=>n,o=e=>(n.helpers.add(e),e);return{context:i,helper:o}}function fe(e,t){for(let n=0;na;function l(e,t){a.code+=e}function c(e,t=!0){const n=t?o:"";l(r?n+" ".repeat(e):n)}function u(e=!0){const t=++a.indentLevel;e&&c(t)}function d(e=!0){const t=--a.indentLevel;e&&c(t)}function h(){c(a.indentLevel)}const f=e=>`_${e}`,p=()=>a.needIndent;return{context:s,push:l,indent:u,deindent:d,newline:h,helper:f,needIndent:p}}function me(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),we(e,t.key),t.modifier&&(e.push(", "),we(e,t.modifier)),e.push(")")}function be(e,t){const{helper:n,needIndent:i}=e;e.push(`${n("normalize")}([`),e.indent(i());const o=t.items.length;for(let r=0;r1){e.push(`${n("plural")}([`),e.indent(i());const o=t.cases.length;for(let n=0;n{const n=b(t.mode)?t.mode:"normal",i=b(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,r=null!=t.breakLineCode?t.breakLineCode:"arrow"===n?";":"\n",a=t.needIndent?t.needIndent:"arrow"!==n,s=e.helpers||[],l=ve(e,{mode:n,filename:i,sourceMap:o,breakLineCode:r,needIndent:a});l.push("normal"===n?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(a),s.length>0&&(l.push(`const { ${s.map((e=>`${e}: _${e}`)).join(", ")} } = ctx`),l.newline()),l.push("return "),we(l,e),l.deindent(a),l.push("}");const{code:c,map:u}=l.context();return{ast:e,code:c,map:u?u.toJSON():void 0}};function Se(e,t={}){const n=h({},t),i=ue(n),o=i.parse(e);return ge(o,n),ke(o,n)} +/*! + * @intlify/devtools-if v9.1.9 + * (c) 2021 kazuya kawaguchi + * Released under the MIT License. + */ +const Ce={I18nInit:"i18n:init",FunctionTranslate:"function:translate"}; +/*! + * @intlify/core-base v9.1.9 + * (c) 2021 kazuya kawaguchi + * Released under the MIT License. + */ +let _e=null;Ce.FunctionTranslate;function Ae(e){return t=>_e&&_e.emit(e,t)}const Pe="9.1.9",Le=-1,je="";function Te(){return{upper:e=>b(e)?e.toUpperCase():e,lower:e=>b(e)?e.toLowerCase():e,capitalize:e=>b(e)?`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`:e}}let Fe;function Ee(e){Fe=e}let Oe=0;function Me(e={}){const t=b(e.version)?e.version:Pe,n=b(e.locale)?e.locale:"en-US",i=v(e.fallbackLocale)||S(e.fallbackLocale)||b(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:n,o=S(e.messages)?e.messages:{[n]:{}},r=S(e.datetimeFormats)?e.datetimeFormats:{[n]:{}},a=S(e.numberFormats)?e.numberFormats:{[n]:{}},s=h({},e.modifiers||{},Te()),l=e.pluralRules||{},u=m(e.missing)?e.missing:null,f=!x(e.missingWarn)&&!c(e.missingWarn)||e.missingWarn,p=!x(e.fallbackWarn)&&!c(e.fallbackWarn)||e.fallbackWarn,g=!!e.fallbackFormat,w=!!e.unresolving,k=m(e.postTranslation)?e.postTranslation:null,C=S(e.processor)?e.processor:null,_=!x(e.warnHtmlMessage)||e.warnHtmlMessage,A=!!e.escapeParameter,P=m(e.messageCompiler)?e.messageCompiler:Fe,L=m(e.onWarn)?e.onWarn:d,j=e,T=y(j.__datetimeFormatters)?j.__datetimeFormatters:new Map,F=y(j.__numberFormatters)?j.__numberFormatters:new Map,E=y(j.__meta)?j.__meta:{};Oe++;const O={version:t,cid:Oe,locale:n,fallbackLocale:i,messages:o,datetimeFormats:r,numberFormats:a,modifiers:s,pluralRules:l,missing:u,missingWarn:f,fallbackWarn:p,fallbackFormat:g,unresolving:w,postTranslation:k,processor:C,warnHtmlMessage:_,escapeParameter:A,messageCompiler:P,onWarn:L,__datetimeFormatters:T,__numberFormatters:F,__meta:E};return O}function Re(e,t,n,i,o){const{missing:r,onWarn:a}=e;if(null!==r){const i=r(e,n,t,o);return b(i)?i:t}return t}function Ie(e,t,n){const i=e;i.__localeChainCache||(i.__localeChainCache=new Map);let o=i.__localeChainCache.get(n);if(!o){o=[];let e=[n];while(v(e))e=ze(o,e,t);const r=v(t)?t:S(t)?t["default"]?t["default"]:null:t;e=b(r)?[r]:r,v(e)&&ze(o,e,!1),i.__localeChainCache.set(n,o)}return o}function ze(e,t,n){let i=!0;for(let o=0;oe;let Be=Object.create(null);function Ye(e,t={}){{const n=t.onCacheKey||De,i=n(e),o=Be[i];if(o)return o;let r=!1;const a=t.onError||U;t.onError=e=>{r=!0,a(e)};const{code:s}=Se(e,t),l=new Function(`return ${s}`)();return r?l:Be[i]=l}}function Xe(e){return $(e,null,void 0)}const Ve=()=>"",We=e=>m(e);function $e(e,...t){const{fallbackFormat:n,postTranslation:i,unresolving:o,fallbackLocale:r,messages:a}=e,[s,l]=Je(...t),c=x(l.missingWarn)?l.missingWarn:e.missingWarn,u=x(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn,d=x(l.escapeParameter)?l.escapeParameter:e.escapeParameter,h=!!l.resolvedMessage,f=b(l.default)||x(l.default)?x(l.default)?s:l.default:n?s:"",p=n||""!==f,g=b(l.locale)?l.locale:e.locale;d&&Ue(l);let[v,m,y]=h?[s,g,a[g]||{}]:Ze(e,s,g,r,u,c),w=s;if(h||b(v)||We(v)||p&&(v=f,w=v),!h&&(!b(v)&&!We(v)||!b(m)))return o?Le:s;let k=!1;const S=()=>{k=!0},C=We(v)?v:Ge(e,s,m,v,w,S);if(k)return v;const _=et(e,m,y,l),A=W(_),P=Ke(e,C,A),L=i?i(P):P;return L}function Ue(e){v(e.list)?e.list=e.list.map((e=>b(e)?f(e):e)):y(e.named)&&Object.keys(e.named).forEach((t=>{b(e.named[t])&&(e.named[t]=f(e.named[t]))}))}function Ze(e,t,n,i,o,r){const{messages:a,onWarn:s}=e,l=Ie(e,i,n);let c,u={},d=null,h=n,f=null;const p="translate";for(let g=0;g{throw a&&a(e),e},onCacheKey:e=>r(t,n,e)}}function et(e,t,n,i){const{modifiers:o,pluralRules:r}=e,a=i=>{const o=I(n,i);if(b(o)){let n=!1;const r=()=>{n=!0},a=Ge(e,i,t,o,i,r);return n?Ve:a}return We(o)?o:Ve},l={locale:t,modifiers:o,pluralRules:r,messages:a};return e.processor&&(l.processor=e.processor),i.list&&(l.list=i.list),i.named&&(l.named=i.named),s(i.plural)&&(l.pluralIndex=i.plural),l}const tt="undefined"!==typeof Intl;tt&&Intl.DateTimeFormat,tt&&Intl.NumberFormat;function nt(e,...t){const{datetimeFormats:n,unresolving:i,fallbackLocale:o,onWarn:r}=e,{__datetimeFormatters:a}=e;const[s,l,c,d]=it(...t),f=x(c.missingWarn)?c.missingWarn:e.missingWarn,p=(x(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,!!c.part),g=b(c.locale)?c.locale:e.locale,v=Ie(e,o,g);if(!b(s)||""===s)return new Intl.DateTimeFormat(g).format(l);let m,y={},w=null,k=g,C=null;const _="datetime format";for(let u=0;ue(n,i,(0,lt.FN)()||void 0,o)}function yt(e,t){const{messages:n,__i18n:i}=t,o=S(n)?n:v(i)?{}:{[e]:{}};if(v(i)&&i.forEach((({locale:e,resource:t})=>{e?(o[e]=o[e]||{},kt(t,o[e])):kt(t,o)})),t.flatJson)for(const r in o)g(o,r)&&z(o[r]);return o}const wt=e=>!y(e)||v(e);function kt(e,t){if(wt(e)||wt(t))throw ht(20);for(const n in e)g(e,n)&&(wt(e[n])||wt(t[n])?t[n]=e[n]:kt(e[n],t[n]))}function St(e={}){const{__root:t}=e,n=void 0===t;let i=!x(e.inheritLocale)||e.inheritLocale;const o=(0,ct.iH)(t&&i?t.locale.value:b(e.locale)?e.locale:"en-US"),r=(0,ct.iH)(t&&i?t.fallbackLocale.value:b(e.fallbackLocale)||v(e.fallbackLocale)||S(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:o.value),a=(0,ct.iH)(yt(o.value,e)),l=(0,ct.iH)(S(e.datetimeFormats)?e.datetimeFormats:{[o.value]:{}}),u=(0,ct.iH)(S(e.numberFormats)?e.numberFormats:{[o.value]:{}});let d=t?t.missingWarn:!x(e.missingWarn)&&!c(e.missingWarn)||e.missingWarn,f=t?t.fallbackWarn:!x(e.fallbackWarn)&&!c(e.fallbackWarn)||e.fallbackWarn,p=t?t.fallbackRoot:!x(e.fallbackRoot)||e.fallbackRoot,g=!!e.fallbackFormat,w=m(e.missing)?e.missing:null,k=m(e.missing)?xt(e.missing):null,C=m(e.postTranslation)?e.postTranslation:null,_=!x(e.warnHtmlMessage)||e.warnHtmlMessage,A=!!e.escapeParameter;const P=t?t.modifiers:S(e.modifiers)?e.modifiers:{};let L,j=e.pluralRules||t&&t.pluralRules;function T(){return Me({version:ut,locale:o.value,fallbackLocale:r.value,messages:a.value,datetimeFormats:l.value,numberFormats:u.value,modifiers:P,pluralRules:j,missing:null===k?void 0:k,missingWarn:d,fallbackWarn:f,fallbackFormat:g,unresolving:!0,postTranslation:null===C?void 0:C,warnHtmlMessage:_,escapeParameter:A,__datetimeFormatters:S(L)?L.__datetimeFormatters:void 0,__numberFormatters:S(L)?L.__numberFormatters:void 0,__v_emitter:S(L)?L.__v_emitter:void 0,__meta:{framework:"vue"}})}function F(){return[o.value,r.value,a.value,l.value,u.value]}L=T(),qe(L,o.value,r.value);const E=(0,ct.Fl)({get:()=>o.value,set:e=>{o.value=e,L.locale=o.value}}),O=(0,ct.Fl)({get:()=>r.value,set:e=>{r.value=e,L.fallbackLocale=r.value,qe(L,o.value,e)}}),M=(0,ct.Fl)((()=>a.value)),R=(0,ct.Fl)((()=>l.value)),z=(0,ct.Fl)((()=>u.value));function H(){return m(C)?C:null}function N(e){C=e,L.postTranslation=e}function q(){return w}function D(e){null!==e&&(k=xt(e)),w=e,L.missing=k}function B(e,n,i,o,r,a){let l;if(F(),l=e(L),s(l)&&l===Le){const[e,i]=n();return t&&p?o(t):r(e)}if(a(l))return l;throw ht(14)}function Y(...e){return B((t=>$e(t,...e)),(()=>Je(...e)),"translate",(t=>t.t(...e)),(e=>e),(e=>b(e)))}function X(...e){const[t,n,i]=e;if(i&&!y(i))throw ht(15);return Y(t,n,h({resolvedMessage:!0},i||{}))}function V(...e){return B((t=>nt(t,...e)),(()=>it(...e)),"datetime format",(t=>t.d(...e)),(()=>je),(e=>b(e)))}function W(...e){return B((t=>rt(t,...e)),(()=>at(...e)),"number format",(t=>t.n(...e)),(()=>je),(e=>b(e)))}function $(e){return e.map((e=>b(e)?(0,lt.Wm)(lt.xv,null,e,0):e))}const U=e=>e,Z={normalize:$,interpolate:U,type:"vnode"};function G(...e){return B((t=>{let n;const i=t;try{i.processor=Z,n=$e(i,...e)}finally{i.processor=null}return n}),(()=>Je(...e)),"translate",(t=>t[ft](...e)),(e=>[(0,lt.Wm)(lt.xv,null,e,0)]),(e=>v(e)))}function K(...e){return B((t=>rt(t,...e)),(()=>at(...e)),"number format",(t=>t[gt](...e)),(()=>[]),(e=>b(e)||v(e)))}function J(...e){return B((t=>nt(t,...e)),(()=>it(...e)),"datetime format",(t=>t[pt](...e)),(()=>[]),(e=>b(e)||v(e)))}function Q(e){j=e,L.pluralRules=j}function ee(e,t){const n=b(t)?t:o.value,i=ie(n);return null!==I(i,e)}function te(e){let t=null;const n=Ie(L,r.value,o.value);for(let i=0;i{i&&(o.value=e,L.locale=e,qe(L,o.value,r.value))})),(0,lt.YP)(t.fallbackLocale,(e=>{i&&(r.value=e,L.fallbackLocale=e,qe(L,o.value,r.value))})));const he={id:bt,locale:E,fallbackLocale:O,get inheritLocale(){return i},set inheritLocale(e){i=e,e&&t&&(o.value=t.locale.value,r.value=t.fallbackLocale.value,qe(L,o.value,r.value))},get availableLocales(){return Object.keys(a.value).sort()},messages:M,datetimeFormats:R,numberFormats:z,get modifiers(){return P},get pluralRules(){return j||{}},get isGlobal(){return n},get missingWarn(){return d},set missingWarn(e){d=e,L.missingWarn=d},get fallbackWarn(){return f},set fallbackWarn(e){f=e,L.fallbackWarn=f},get fallbackRoot(){return p},set fallbackRoot(e){p=e},get fallbackFormat(){return g},set fallbackFormat(e){g=e,L.fallbackFormat=g},get warnHtmlMessage(){return _},set warnHtmlMessage(e){_=e,L.warnHtmlMessage=e},get escapeParameter(){return A},set escapeParameter(e){A=e,L.escapeParameter=e},t:Y,rt:X,d:V,n:W,te:ee,tm:ne,getLocaleMessage:ie,setLocaleMessage:oe,mergeLocaleMessage:re,getDateTimeFormat:ae,setDateTimeFormat:se,mergeDateTimeFormat:le,getNumberFormat:ce,setNumberFormat:ue,mergeNumberFormat:de,getPostTranslationHandler:H,setPostTranslationHandler:N,getMissingHandler:q,setMissingHandler:D,[ft]:G,[gt]:K,[pt]:J,[vt]:Q,[mt]:e.__injectWithOption};return he}function Ct(e){const t=b(e.locale)?e.locale:"en-US",n=b(e.fallbackLocale)||v(e.fallbackLocale)||S(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:t,i=m(e.missing)?e.missing:void 0,o=!x(e.silentTranslationWarn)&&!c(e.silentTranslationWarn)||!e.silentTranslationWarn,r=!x(e.silentFallbackWarn)&&!c(e.silentFallbackWarn)||!e.silentFallbackWarn,a=!x(e.fallbackRoot)||e.fallbackRoot,s=!!e.formatFallbackMessages,l=S(e.modifiers)?e.modifiers:{},u=e.pluralizationRules,d=m(e.postTranslation)?e.postTranslation:void 0,f=!b(e.warnHtmlInMessage)||"off"!==e.warnHtmlInMessage,p=!!e.escapeParameterHtml,g=!x(e.sync)||e.sync;let y=e.messages;if(S(e.sharedMessages)){const t=e.sharedMessages,n=Object.keys(t);y=n.reduce(((e,n)=>{const i=e[n]||(e[n]={});return h(i,t[n]),e}),y||{})}const{__i18n:w,__root:k,__injectWithOption:C}=e,_=e.datetimeFormats,A=e.numberFormats,P=e.flatJson;return{locale:t,fallbackLocale:n,messages:y,flatJson:P,datetimeFormats:_,numberFormats:A,missing:i,missingWarn:o,fallbackWarn:r,fallbackRoot:a,fallbackFormat:s,modifiers:l,pluralRules:u,postTranslation:d,warnHtmlMessage:f,escapeParameter:p,inheritLocale:g,__i18n:w,__root:k,__injectWithOption:C}}function _t(e={}){const t=St(Ct(e)),n={id:t.id,get locale(){return t.locale.value},set locale(e){t.locale.value=e},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(e){t.fallbackLocale.value=e},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(e){},get missing(){return t.getMissingHandler()},set missing(e){t.setMissingHandler(e)},get silentTranslationWarn(){return x(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(e){t.missingWarn=x(e)?!e:e},get silentFallbackWarn(){return x(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(e){t.fallbackWarn=x(e)?!e:e},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(e){t.fallbackFormat=e},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(e){t.setPostTranslationHandler(e)},get sync(){return t.inheritLocale},set sync(e){t.inheritLocale=e},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(e){t.warnHtmlMessage="off"!==e},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(e){t.escapeParameter=e},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(e){},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...e){const[n,i,o]=e,r={};let a=null,s=null;if(!b(n))throw ht(15);const l=n;return b(i)?r.locale=i:v(i)?a=i:S(i)&&(s=i),v(o)?a=o:S(o)&&(s=o),t.t(l,a||s||{},r)},rt(...e){return t.rt(...e)},tc(...e){const[n,i,o]=e,r={plural:1};let a=null,l=null;if(!b(n))throw ht(15);const c=n;return b(i)?r.locale=i:s(i)?r.plural=i:v(i)?a=i:S(i)&&(l=i),b(o)?r.locale=o:v(o)?a=o:S(o)&&(l=o),t.t(c,a||l||{},r)},te(e,n){return t.te(e,n)},tm(e){return t.tm(e)},getLocaleMessage(e){return t.getLocaleMessage(e)},setLocaleMessage(e,n){t.setLocaleMessage(e,n)},mergeLocaleMessage(e,n){t.mergeLocaleMessage(e,n)},d(...e){return t.d(...e)},getDateTimeFormat(e){return t.getDateTimeFormat(e)},setDateTimeFormat(e,n){t.setDateTimeFormat(e,n)},mergeDateTimeFormat(e,n){t.mergeDateTimeFormat(e,n)},n(...e){return t.n(...e)},getNumberFormat(e){return t.getNumberFormat(e)},setNumberFormat(e,n){t.setNumberFormat(e,n)},mergeNumberFormat(e,n){t.mergeNumberFormat(e,n)},getChoiceIndex(e,t){return-1},__onComponentInstanceCreated(t){const{componentInstanceCreatedListener:i}=e;i&&i(t,n)}};return n}const At={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>"parent"===e||"global"===e,default:"parent"},i18n:{type:Object}},Pt={name:"i18n-t",props:h({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>s(e)||!isNaN(e)}},At),setup(e,t){const{slots:n,attrs:i}=t,o=e.i18n||Bt({useScope:e.scope,__useComponent:!0}),r=Object.keys(n).filter((e=>"_"!==e));return()=>{const n={};e.locale&&(n.locale=e.locale),void 0!==e.plural&&(n.plural=b(e.plural)?+e.plural:e.plural);const a=Lt(t,r),s=o[ft](e.keypath,a,n),l=h({},i);return b(e.tag)||y(e.tag)?(0,lt.h)(e.tag,l,s):(0,lt.h)(lt.HY,l,s)}}};function Lt({slots:e},t){return 1===t.length&&"default"===t[0]?e.default?e.default():[]:t.reduce(((t,n)=>{const i=e[n];return i&&(t[n]=i()),t}),{})}function jt(e,t,n,i){const{slots:o,attrs:r}=t;return()=>{const t={part:!0};let a={};e.locale&&(t.locale=e.locale),b(e.format)?t.key=e.format:y(e.format)&&(b(e.format.key)&&(t.key=e.format.key),a=Object.keys(e.format).reduce(((t,i)=>n.includes(i)?h({},t,{[i]:e.format[i]}):t),{}));const s=i(e.value,t,a);let l=[t.key];v(s)?l=s.map(((e,t)=>{const n=o[e.type];return n?n({[e.type]:e.value,index:t,parts:s}):[e.value]})):b(s)&&(l=[s]);const c=h({},r);return b(e.tag)||y(e.tag)?(0,lt.h)(e.tag,c,l):(0,lt.h)(lt.HY,c,l)}}const Tt=["localeMatcher","style","unit","unitDisplay","currency","currencyDisplay","useGrouping","numberingSystem","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","notation","formatMatcher"],Ft={name:"i18n-n",props:h({value:{type:Number,required:!0},format:{type:[String,Object]}},At),setup(e,t){const n=e.i18n||Bt({useScope:"parent",__useComponent:!0});return jt(e,t,Tt,((...e)=>n[gt](...e)))}},Et=["dateStyle","timeStyle","fractionalSecondDigits","calendar","dayPeriod","numberingSystem","localeMatcher","timeZone","hour12","hourCycle","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"],Ot={name:"i18n-d",props:h({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},At),setup(e,t){const n=e.i18n||Bt({useScope:"parent",__useComponent:!0});return jt(e,t,Et,((...e)=>n[pt](...e)))}};function Mt(e,t){const n=e;if("composition"===e.mode)return n.__getInstance(t)||e.global;{const i=n.__getInstance(t);return null!=i?i.__composer:e.global.__composer}}function Rt(e){const t=(t,{instance:n,value:i,modifiers:o})=>{if(!n||!n.$)throw ht(22);const r=Mt(e,n.$);const a=It(i);t.textContent=r.t(...zt(a))};return{beforeMount:t,beforeUpdate:t}}function It(e){if(b(e))return{path:e};if(S(e)){if(!("path"in e))throw ht(19,"path");return e}throw ht(20)}function zt(e){const{path:t,locale:n,args:i,choice:o,plural:r}=e,a={},l=i||{};return b(n)&&(a.locale=n),s(o)&&(a.plural=o),s(r)&&(a.plural=r),[t,l,a]}function Ht(e,t,...n){const i=S(n[0])?n[0]:{},o=!!i.useI18nComponentName,r=!x(i.globalInstall)||i.globalInstall;r&&(e.component(o?"i18n":Pt.name,Pt),e.component(Ft.name,Ft),e.component(Ot.name,Ot)),e.directive("t",Rt(t))}function Nt(e,t,n){return{beforeCreate(){const i=(0,lt.FN)();if(!i)throw ht(22);const o=this.$options;if(o.i18n){const n=o.i18n;o.__i18n&&(n.__i18n=o.__i18n),n.__root=t,this===this.$root?this.$i18n=qt(e,n):(n.__injectWithOption=!0,this.$i18n=_t(n))}else o.__i18n?this===this.$root?this.$i18n=qt(e,o):this.$i18n=_t({__i18n:o.__i18n,__injectWithOption:!0,__root:t}):this.$i18n=e;e.__onComponentInstanceCreated(this.$i18n),n.__setInstance(i,this.$i18n),this.$t=(...e)=>this.$i18n.t(...e),this.$rt=(...e)=>this.$i18n.rt(...e),this.$tc=(...e)=>this.$i18n.tc(...e),this.$te=(e,t)=>this.$i18n.te(e,t),this.$d=(...e)=>this.$i18n.d(...e),this.$n=(...e)=>this.$i18n.n(...e),this.$tm=e=>this.$i18n.tm(e)},mounted(){0},beforeUnmount(){const e=(0,lt.FN)();if(!e)throw ht(22);delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,n.__deleteInstance(e),delete this.$i18n}}}function qt(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[vt](t.pluralizationRules||e.pluralizationRules);const n=yt(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach((t=>e.mergeLocaleMessage(t,n[t]))),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach((n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n]))),t.numberFormats&&Object.keys(t.numberFormats).forEach((n=>e.mergeNumberFormat(n,t.numberFormats[n]))),e}function Dt(e={}){const t=!x(e.legacy)||e.legacy,n=!!e.globalInjection,i=new Map,r=t?_t(e):St(e),a=o(""),s={get mode(){return t?"legacy":"composition"},async install(e,...i){e.__VUE_I18N_SYMBOL__=a,e.provide(e.__VUE_I18N_SYMBOL__,s),!t&&n&&$t(e,s.global),Ht(e,s,...i),t&&e.mixin(Nt(r,r.__composer,s))},get global(){return r},__instances:i,__getInstance(e){return i.get(e)||null},__setInstance(e,t){i.set(e,t)},__deleteInstance(e){i.delete(e)}};return s}function Bt(e={}){const t=(0,lt.FN)();if(null==t)throw ht(16);if(!t.appContext.app.__VUE_I18N_SYMBOL__)throw ht(17);const n=(0,lt.f3)(t.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw ht(22);const i="composition"===n.mode?n.global:n.global.__composer,o=u(e)?"__i18n"in t.type?"local":"global":e.useScope?e.useScope:"local";if("global"===o){let n=y(e.messages)?e.messages:{};"__i18nGlobal"in t.type&&(n=yt(i.locale.value,{messages:n,__i18n:t.type.__i18nGlobal}));const o=Object.keys(n);if(o.length&&o.forEach((e=>{i.mergeLocaleMessage(e,n[e])})),y(e.datetimeFormats)){const t=Object.keys(e.datetimeFormats);t.length&&t.forEach((t=>{i.mergeDateTimeFormat(t,e.datetimeFormats[t])}))}if(y(e.numberFormats)){const t=Object.keys(e.numberFormats);t.length&&t.forEach((t=>{i.mergeNumberFormat(t,e.numberFormats[t])}))}return i}if("parent"===o){let o=Yt(n,t,e.__useComponent);return null==o&&(o=i),o}if("legacy"===n.mode)throw ht(18);const r=n;let a=r.__getInstance(t);if(null==a){const n=t.type,o=h({},e);n.__i18n&&(o.__i18n=n.__i18n),i&&(o.__root=i),a=St(o),Xt(r,t,a),r.__setInstance(t,a)}return a}function Yt(e,t,n=!1){let i=null;const o=t.root;let r=t.parent;while(null!=r){const t=e;if("composition"===e.mode)i=t.__getInstance(r);else{const e=t.__getInstance(r);null!=e&&(i=e.__composer),n&&i&&!i[mt]&&(i=null)}if(null!=i)break;if(o===r)break;r=r.parent}return i}function Xt(e,t,n){(0,lt.bv)((()=>{0}),t),(0,lt.Ah)((()=>{e.__deleteInstance(t)}),t)}const Vt=["locale","fallbackLocale","availableLocales"],Wt=["t","rt","d","n","tm"];function $t(e,t){const n=Object.create(null);Vt.forEach((e=>{const i=Object.getOwnPropertyDescriptor(t,e);if(!i)throw ht(22);const o=(0,ct.dq)(i.value)?{get(){return i.value.value},set(e){i.value.value=e}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,e,o)})),e.config.globalProperties.$i18n=n,Wt.forEach((n=>{const i=Object.getOwnPropertyDescriptor(t,n);if(!i||!i.value)throw ht(22);Object.defineProperty(e.config.globalProperties,`$${n}`,i)}))}Ee(Ye),dt()},1639:(e,t)=>{"use strict";t.Z=(e,t)=>{const n=e.__vccOpts||e;for(const[i,o]of t)n[i]=o;return n}},8910:(e,t,n)=>{"use strict";n.d(t,{p7:()=>tt,r5:()=>W});var i=n(9835),o=n(499); +/*! + * vue-router v4.0.12 + * (c) 2021 Eduardo San Martin Morote + * @license MIT + */ +const r="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag,a=e=>r?Symbol(e):"_vr_"+e,s=a("rvlm"),l=a("rvd"),c=a("r"),u=a("rl"),d=a("rvl"),h="undefined"!==typeof window;function f(e){return e.__esModule||r&&"Module"===e[Symbol.toStringTag]}const p=Object.assign;function g(e,t){const n={};for(const i in t){const o=t[i];n[i]=Array.isArray(o)?o.map(e):e(o)}return n}const v=()=>{};const m=/\/$/,b=e=>e.replace(m,"");function x(e,t,n="/"){let i,o={},r="",a="";const s=t.indexOf("?"),l=t.indexOf("#",s>-1?s:0);return s>-1&&(i=t.slice(0,s),r=t.slice(s+1,l>-1?l:t.length),o=e(r)),l>-1&&(i=i||t.slice(0,l),a=t.slice(l,t.length)),i=P(null!=i?i:t,n),{fullPath:i+(r&&"?")+r+a,path:i,query:o,hash:a}}function y(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function w(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function k(e,t,n){const i=t.matched.length-1,o=n.matched.length-1;return i>-1&&i===o&&S(t.matched[i],n.matched[o])&&C(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function S(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function C(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!_(e[n],t[n]))return!1;return!0}function _(e,t){return Array.isArray(e)?A(e,t):Array.isArray(t)?A(t,e):e===t}function A(e,t){return Array.isArray(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}function P(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),i=e.split("/");let o,r,a=n.length-1;for(o=0;o({left:window.pageXOffset,top:window.pageYOffset});function R(e){let t;if("el"in e){const n=e.el,i="string"===typeof n&&n.startsWith("#");0;const o="string"===typeof n?i?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=O(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.pageXOffset,null!=t.top?t.top:window.pageYOffset)}function I(e,t){const n=history.state?history.state.position-t:-1;return n+e}const z=new Map;function H(e,t){z.set(e,t)}function N(e){const t=z.get(e);return z.delete(e),t}let q=()=>location.protocol+"//"+location.host;function D(e,t){const{pathname:n,search:i,hash:o}=t,r=e.indexOf("#");if(r>-1){let t=o.includes(e.slice(r))?e.slice(r).length:1,n=o.slice(t);return"/"!==n[0]&&(n="/"+n),w(n,"")}const a=w(n,e);return a+i+o}function B(e,t,n,i){let o=[],r=[],a=null;const s=({state:r})=>{const s=D(e,location),l=n.value,c=t.value;let u=0;if(r){if(n.value=s,t.value=r,a&&a===l)return void(a=null);u=c?r.position-c.position:0}else i(s);o.forEach((e=>{e(n.value,l,{delta:u,type:L.pop,direction:u?u>0?j.forward:j.back:j.unknown})}))};function l(){a=n.value}function c(e){o.push(e);const t=()=>{const t=o.indexOf(e);t>-1&&o.splice(t,1)};return r.push(t),t}function u(){const{history:e}=window;e.state&&e.replaceState(p({},e.state,{scroll:M()}),"")}function d(){for(const e of r)e();r=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",u),{pauseListeners:l,listen:c,destroy:d}}function Y(e,t,n,i=!1,o=!1){return{back:e,current:t,forward:n,replaced:i,position:window.history.length,scroll:o?M():null}}function X(e){const{history:t,location:n}=window,i={value:D(e,n)},o={value:t.state};function r(i,r,a){const s=e.indexOf("#"),l=s>-1?(n.host&&document.querySelector("base")?e:e.slice(s))+i:q()+e+i;try{t[a?"replaceState":"pushState"](r,"",l),o.value=r}catch(c){console.error(c),n[a?"replace":"assign"](l)}}function a(e,n){const a=p({},t.state,Y(o.value.back,e,o.value.forward,!0),n,{position:o.value.position});r(e,a,!0),i.value=e}function s(e,n){const a=p({},o.value,t.state,{forward:e,scroll:M()});r(a.current,a,!0);const s=p({},Y(i.value,e,null),{position:a.position+1},n);r(e,s,!1),i.value=e}return o.value||r(i.value,{back:null,current:i.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:i,state:o,push:s,replace:a}}function V(e){e=T(e);const t=X(e),n=B(e,t.state,t.location,t.replace);function i(e,t=!0){t||n.pauseListeners(),history.go(e)}const o=p({location:"",base:e,go:i,createHref:E.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function W(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),V(e)}function $(e){return"string"===typeof e||e&&"object"===typeof e}function U(e){return"string"===typeof e||"symbol"===typeof e}const Z={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},G=a("nf");var K;(function(e){e[e["aborted"]=4]="aborted",e[e["cancelled"]=8]="cancelled",e[e["duplicated"]=16]="duplicated"})(K||(K={}));function J(e,t){return p(new Error,{type:e,[G]:!0},t)}function Q(e,t){return e instanceof Error&&G in e&&(null==t||!!(e.type&t))}const ee="[^/]+?",te={sensitive:!1,strict:!1,start:!0,end:!0},ne=/[.+*?^${}()[\]/\\]/g;function ie(e,t){const n=p({},te,t),i=[];let o=n.start?"^":"";const r=[];for(const u of e){const e=u.length?[]:[90];n.strict&&!u.length&&(o+="/");for(let t=0;tt.length?1===t.length&&80===t[0]?1:-1:0}function re(e,t){let n=0;const i=e.score,o=t.score;while(n1&&("*"===s||"+"===s)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:c,regexp:u,repeatable:"*"===s||"+"===s,optional:"*"===s||"?"===s})):t("Invalid state to consume buffer"),c="")}function h(){c+=s}while(l{a(h)}:v}function a(e){if(U(e)){const t=i.get(e);t&&(i.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(a),t.alias.forEach(a))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&i.delete(e.record.name),e.children.forEach(a),e.alias.forEach(a))}}function s(){return n}function l(e){let t=0;while(t=0)t++;n.splice(t,0,e),e.record.name&&!pe(e)&&i.set(e.record.name,e)}function c(e,t){let o,r,a,s={};if("name"in e&&e.name){if(o=i.get(e.name),!o)throw J(1,{location:e});a=o.record.name,s=p(de(t.params,o.keys.filter((e=>!e.optional)).map((e=>e.name))),e.params),r=o.stringify(s)}else if("path"in e)r=e.path,o=n.find((e=>e.re.test(r))),o&&(s=o.parse(r),a=o.record.name);else{if(o=t.name?i.get(t.name):n.find((e=>e.re.test(t.path))),!o)throw J(1,{location:e,currentLocation:t});a=o.record.name,s=p({},t.params,e.params),r=o.stringify(s)}const l=[];let c=o;while(c)l.unshift(c.record),c=c.parent;return{name:a,path:r,params:s,matched:l,meta:ge(l)}}return t=ve({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>r(e))),{addRoute:r,resolve:c,removeRoute:a,getRoutes:s,getRecordMatcher:o}}function de(e,t){const n={};for(const i of t)i in e&&(n[i]=e[i]);return n}function he(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:fe(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||{}:{default:e.component}}}function fe(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const i in e.components)t[i]="boolean"===typeof n?n:n[i];return t}function pe(e){while(e){if(e.record.aliasOf)return!0;e=e.parent}return!1}function ge(e){return e.reduce(((e,t)=>p(e,t.meta)),{})}function ve(e,t){const n={};for(const i in e)n[i]=i in t?t[i]:e[i];return n}const me=/#/g,be=/&/g,xe=/\//g,ye=/=/g,we=/\?/g,ke=/\+/g,Se=/%5B/g,Ce=/%5D/g,_e=/%5E/g,Ae=/%60/g,Pe=/%7B/g,Le=/%7C/g,je=/%7D/g,Te=/%20/g;function Fe(e){return encodeURI(""+e).replace(Le,"|").replace(Se,"[").replace(Ce,"]")}function Ee(e){return Fe(e).replace(Pe,"{").replace(je,"}").replace(_e,"^")}function Oe(e){return Fe(e).replace(ke,"%2B").replace(Te,"+").replace(me,"%23").replace(be,"%26").replace(Ae,"`").replace(Pe,"{").replace(je,"}").replace(_e,"^")}function Me(e){return Oe(e).replace(ye,"%3D")}function Re(e){return Fe(e).replace(me,"%23").replace(we,"%3F")}function Ie(e){return null==e?"":Re(e).replace(xe,"%2F")}function ze(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function He(e){const t={};if(""===e||"?"===e)return t;const n="?"===e[0],i=(n?e.slice(1):e).split("&");for(let o=0;oe&&Oe(e))):[i&&Oe(i)];o.forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function qe(e){const t={};for(const n in e){const i=e[n];void 0!==i&&(t[n]=Array.isArray(i)?i.map((e=>null==e?null:""+e)):null==i?i:""+i)}return t}function De(){let e=[];function t(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function Be(e,t,n,i,o){const r=i&&(i.enterCallbacks[o]=i.enterCallbacks[o]||[]);return()=>new Promise(((a,s)=>{const l=e=>{!1===e?s(J(4,{from:n,to:t})):e instanceof Error?s(e):$(e)?s(J(2,{from:t,to:e})):(r&&i.enterCallbacks[o]===r&&"function"===typeof e&&r.push(e),a())},c=e.call(i&&i.instances[o],t,n,l);let u=Promise.resolve(c);e.length<3&&(u=u.then(l)),u.catch((e=>s(e)))}))}function Ye(e,t,n,i){const o=[];for(const r of e)for(const e in r.components){let a=r.components[e];if("beforeRouteEnter"===t||r.instances[e])if(Xe(a)){const s=a.__vccOpts||a,l=s[t];l&&o.push(Be(l,n,i,r,e))}else{let s=a();0,o.push((()=>s.then((o=>{if(!o)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${r.path}"`));const a=f(o)?o.default:o;r.components[e]=a;const s=a.__vccOpts||a,l=s[t];return l&&Be(l,n,i,r,e)()}))))}}return o}function Xe(e){return"object"===typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}function Ve(e){const t=(0,i.f3)(c),n=(0,i.f3)(u),r=(0,o.Fl)((()=>t.resolve((0,o.SU)(e.to)))),a=(0,o.Fl)((()=>{const{matched:e}=r.value,{length:t}=e,i=e[t-1],o=n.matched;if(!i||!o.length)return-1;const a=o.findIndex(S.bind(null,i));if(a>-1)return a;const s=Ge(e[t-2]);return t>1&&Ge(i)===s&&o[o.length-1].path!==s?o.findIndex(S.bind(null,e[t-2])):a})),s=(0,o.Fl)((()=>a.value>-1&&Ze(n.params,r.value.params))),l=(0,o.Fl)((()=>a.value>-1&&a.value===n.matched.length-1&&C(n.params,r.value.params)));function d(n={}){return Ue(n)?t[(0,o.SU)(e.replace)?"replace":"push"]((0,o.SU)(e.to)).catch(v):Promise.resolve()}return{route:r,href:(0,o.Fl)((()=>r.value.href)),isActive:s,isExactActive:l,navigate:d}}const We=(0,i.aZ)({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Ve,setup(e,{slots:t}){const n=(0,o.qj)(Ve(e)),{options:r}=(0,i.f3)(c),a=(0,o.Fl)((()=>({[Ke(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Ke(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const o=t.default&&t.default(n);return e.custom?o:(0,i.h)("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:a.value},o)}}}),$e=We;function Ue(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&(void 0===e.button||0===e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Ze(e,t){for(const n in t){const i=t[n],o=e[n];if("string"===typeof i){if(i!==o)return!1}else if(!Array.isArray(o)||o.length!==i.length||i.some(((e,t)=>e!==o[t])))return!1}return!0}function Ge(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ke=(e,t,n)=>null!=e?e:null!=t?t:n,Je=(0,i.aZ)({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},setup(e,{attrs:t,slots:n}){const r=(0,i.f3)(d),a=(0,o.Fl)((()=>e.route||r.value)),c=(0,i.f3)(l,0),u=(0,o.Fl)((()=>a.value.matched[c]));(0,i.JJ)(l,c+1),(0,i.JJ)(s,u),(0,i.JJ)(d,a);const h=(0,o.iH)();return(0,i.YP)((()=>[h.value,u.value,e.name]),(([e,t,n],[i,o,r])=>{t&&(t.instances[n]=e,o&&o!==t&&e&&e===i&&(t.leaveGuards.size||(t.leaveGuards=o.leaveGuards),t.updateGuards.size||(t.updateGuards=o.updateGuards))),!e||!t||o&&S(t,o)&&i||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const o=a.value,r=u.value,s=r&&r.components[e.name],l=e.name;if(!s)return Qe(n.default,{Component:s,route:o});const c=r.props[e.name],d=c?!0===c?o.params:"function"===typeof c?c(o):c:null,f=e=>{e.component.isUnmounted&&(r.instances[l]=null)},g=(0,i.h)(s,p({},d,t,{onVnodeUnmounted:f,ref:h}));return Qe(n.default,{Component:g,route:o})||g}}});function Qe(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const et=Je;function tt(e){const t=ue(e.routes,e),n=e.parseQuery||He,r=e.stringifyQuery||Ne,a=e.history;const s=De(),l=De(),f=De(),m=(0,o.XI)(Z);let b=Z;h&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const w=g.bind(null,(e=>""+e)),S=g.bind(null,Ie),C=g.bind(null,ze);function _(e,n){let i,o;return U(e)?(i=t.getRecordMatcher(e),o=n):o=e,t.addRoute(o,i)}function A(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)}function P(){return t.getRoutes().map((e=>e.record))}function j(e){return!!t.getRecordMatcher(e)}function T(e,i){if(i=p({},i||m.value),"string"===typeof e){const o=x(n,e,i.path),r=t.resolve({path:o.path},i),s=a.createHref(o.fullPath);return p(o,r,{params:C(r.params),hash:ze(o.hash),redirectedFrom:void 0,href:s})}let o;if("path"in e)o=p({},e,{path:x(n,e.path,i.path).path});else{const t=p({},e.params);for(const e in t)null==t[e]&&delete t[e];o=p({},e,{params:S(e.params)}),i.params=S(i.params)}const s=t.resolve(o,i),l=e.hash||"";s.params=w(C(s.params));const c=y(r,p({},e,{hash:Ee(l),path:s.path})),u=a.createHref(c);return p({fullPath:c,hash:l,query:r===Ne?qe(e.query):e.query||{}},s,{redirectedFrom:void 0,href:u})}function F(e){return"string"===typeof e?x(n,e,m.value.path):p({},e)}function E(e,t){if(b!==e)return J(8,{from:t,to:e})}function O(e){return D(e)}function z(e){return O(p(F(e),{replace:!0}))}function q(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let i="function"===typeof n?n(e):n;return"string"===typeof i&&(i=i.includes("?")||i.includes("#")?i=F(i):{path:i},i.params={}),p({query:e.query,hash:e.hash,params:e.params},i)}}function D(e,t){const n=b=T(e),i=m.value,o=e.state,a=e.force,s=!0===e.replace,l=q(n);if(l)return D(p(F(l),{state:o,force:a,replace:s}),t||n);const c=n;let u;return c.redirectedFrom=t,!a&&k(r,i,n)&&(u=J(16,{to:c,from:i}),oe(i,i,!0,!1)),(u?Promise.resolve(u):Y(c,i)).catch((e=>Q(e)?e:te(e,c,i))).then((e=>{if(e){if(Q(e,2))return D(p(F(e.to),{state:o,force:a,replace:s}),t||c)}else e=V(c,i,!0,s,o);return X(c,i,e),e}))}function B(e,t){const n=E(e,t);return n?Promise.reject(n):Promise.resolve()}function Y(e,t){let n;const[i,o,r]=it(e,t);n=Ye(i.reverse(),"beforeRouteLeave",e,t);for(const s of i)s.leaveGuards.forEach((i=>{n.push(Be(i,e,t))}));const a=B.bind(null,e,t);return n.push(a),nt(n).then((()=>{n=[];for(const i of s.list())n.push(Be(i,e,t));return n.push(a),nt(n)})).then((()=>{n=Ye(o,"beforeRouteUpdate",e,t);for(const i of o)i.updateGuards.forEach((i=>{n.push(Be(i,e,t))}));return n.push(a),nt(n)})).then((()=>{n=[];for(const i of e.matched)if(i.beforeEnter&&!t.matched.includes(i))if(Array.isArray(i.beforeEnter))for(const o of i.beforeEnter)n.push(Be(o,e,t));else n.push(Be(i.beforeEnter,e,t));return n.push(a),nt(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=Ye(r,"beforeRouteEnter",e,t),n.push(a),nt(n)))).then((()=>{n=[];for(const i of l.list())n.push(Be(i,e,t));return n.push(a),nt(n)})).catch((e=>Q(e,8)?e:Promise.reject(e)))}function X(e,t,n){for(const i of f.list())i(e,t,n)}function V(e,t,n,i,o){const r=E(e,t);if(r)return r;const s=t===Z,l=h?history.state:{};n&&(i||s?a.replace(e.fullPath,p({scroll:s&&l&&l.scroll},o)):a.push(e.fullPath,o)),m.value=e,oe(e,t,n,s),ie()}let W;function $(){W=a.listen(((e,t,n)=>{const i=T(e),o=q(i);if(o)return void D(p(o,{replace:!0}),i).catch(v);b=i;const r=m.value;h&&H(I(r.fullPath,n.delta),M()),Y(i,r).catch((e=>Q(e,12)?e:Q(e,2)?(D(e.to,i).then((e=>{Q(e,20)&&!n.delta&&n.type===L.pop&&a.go(-1,!1)})).catch(v),Promise.reject()):(n.delta&&a.go(-n.delta,!1),te(e,i,r)))).then((e=>{e=e||V(i,r,!1),e&&(n.delta?a.go(-n.delta,!1):n.type===L.pop&&Q(e,20)&&a.go(-1,!1)),X(i,r,e)})).catch(v)}))}let G,K=De(),ee=De();function te(e,t,n){ie(e);const i=ee.list();return i.length?i.forEach((i=>i(e,t,n))):console.error(e),Promise.reject(e)}function ne(){return G&&m.value!==Z?Promise.resolve():new Promise(((e,t)=>{K.add([e,t])}))}function ie(e){G||(G=!0,$(),K.list().forEach((([t,n])=>e?n(e):t())),K.reset())}function oe(t,n,o,r){const{scrollBehavior:a}=e;if(!h||!a)return Promise.resolve();const s=!o&&N(I(t.fullPath,0))||(r||!o)&&history.state&&history.state.scroll||null;return(0,i.Y3)().then((()=>a(t,n,s))).then((e=>e&&R(e))).catch((e=>te(e,t,n)))}const re=e=>a.go(e);let ae;const se=new Set,le={currentRoute:m,addRoute:_,removeRoute:A,hasRoute:j,getRoutes:P,resolve:T,options:e,push:O,replace:z,go:re,back:()=>re(-1),forward:()=>re(1),beforeEach:s.add,beforeResolve:l.add,afterEach:f.add,onError:ee.add,isReady:ne,install(e){const t=this;e.component("RouterLink",$e),e.component("RouterView",et),e.config.globalProperties.$router=t,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>(0,o.SU)(m)}),h&&!ae&&m.value===Z&&(ae=!0,O(a.location).catch((e=>{0})));const n={};for(const r in Z)n[r]=(0,o.Fl)((()=>m.value[r]));e.provide(c,t),e.provide(u,(0,o.qj)(n)),e.provide(d,m);const i=e.unmount;se.add(e),e.unmount=function(){se.delete(e),se.size<1&&(b=Z,W&&W(),m.value=Z,ae=!1,G=!1),i()}}};return le}function nt(e){return e.reduce(((e,t)=>e.then((()=>t()))),Promise.resolve())}function it(e,t){const n=[],i=[],o=[],r=Math.max(t.matched.length,e.matched.length);for(let a=0;aS(e,r)))?i.push(r):n.push(r));const s=e.matched[a];s&&(t.matched.find((e=>S(e,s)))||o.push(s))}return[n,i,o]}},6256:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BaseTransition:()=>i.P$,Comment:()=>i.sv,EffectScope:()=>i.Bj,Fragment:()=>i.HY,KeepAlive:()=>i.Ob,ReactiveEffect:()=>i.qq,Static:()=>i.qG,Suspense:()=>i.n4,Teleport:()=>i.lR,Text:()=>i.xv,Transition:()=>i.uT,TransitionGroup:()=>i.W3,VueElement:()=>i.a2,callWithAsyncErrorHandling:()=>i.$d,callWithErrorHandling:()=>i.KU,camelize:()=>i._A,capitalize:()=>i.kC,cloneVNode:()=>i.Ho,compatUtils:()=>i.ry,compile:()=>o,computed:()=>i.Fl,createApp:()=>i.ri,createBlock:()=>i.j4,createCommentVNode:()=>i.kq,createElementBlock:()=>i.iD,createElementVNode:()=>i._,createHydrationRenderer:()=>i.Eo,createPropsRestProxy:()=>i.p1,createRenderer:()=>i.Us,createSSRApp:()=>i.vr,createSlots:()=>i.Nv,createStaticVNode:()=>i.uE,createTextVNode:()=>i.Uk,createVNode:()=>i.Wm,customRef:()=>i.ZM,defineAsyncComponent:()=>i.RC,defineComponent:()=>i.aZ,defineCustomElement:()=>i.MW,defineEmits:()=>i.Bz,defineExpose:()=>i.WY,defineProps:()=>i.yb,defineSSRCustomElement:()=>i.Ah,devtools:()=>i.mW,effect:()=>i.cE,effectScope:()=>i.B,getCurrentInstance:()=>i.FN,getCurrentScope:()=>i.nZ,getTransitionRawChildren:()=>i.Q6,guardReactiveProps:()=>i.F4,h:()=>i.h,handleError:()=>i.S3,hydrate:()=>i.ZB,initCustomFormatter:()=>i.Mr,initDirectivesForSSR:()=>i.Nd,inject:()=>i.f3,isMemoSame:()=>i.nQ,isProxy:()=>i.X3,isReactive:()=>i.PG,isReadonly:()=>i.$y,isRef:()=>i.dq,isRuntimeOnly:()=>i.of,isVNode:()=>i.lA,markRaw:()=>i.Xl,mergeDefaults:()=>i.u_,mergeProps:()=>i.dG,nextTick:()=>i.Y3,normalizeClass:()=>i.C_,normalizeProps:()=>i.vs,normalizeStyle:()=>i.j5,onActivated:()=>i.dl,onBeforeMount:()=>i.wF,onBeforeUnmount:()=>i.Jd,onBeforeUpdate:()=>i.Xn,onDeactivated:()=>i.se,onErrorCaptured:()=>i.d1,onMounted:()=>i.bv,onRenderTracked:()=>i.bT,onRenderTriggered:()=>i.Yq,onScopeDispose:()=>i.EB,onServerPrefetch:()=>i.vl,onUnmounted:()=>i.SK,onUpdated:()=>i.ic,openBlock:()=>i.wg,popScopeId:()=>i.Cn,provide:()=>i.JJ,proxyRefs:()=>i.WL,pushScopeId:()=>i.dD,queuePostFlushCb:()=>i.qb,reactive:()=>i.qj,readonly:()=>i.OT,ref:()=>i.iH,registerRuntimeCompiler:()=>i.Y1,render:()=>i.sY,renderList:()=>i.Ko,renderSlot:()=>i.WI,resolveComponent:()=>i.up,resolveDirective:()=>i.Q2,resolveDynamicComponent:()=>i.LL,resolveFilter:()=>i.eq,resolveTransitionHooks:()=>i.U2,setBlockTracking:()=>i.qZ,setDevtoolsHook:()=>i.ec,setTransitionHooks:()=>i.nK,shallowReactive:()=>i.Um,shallowReadonly:()=>i.YS,shallowRef:()=>i.XI,ssrContextKey:()=>i.Uc,ssrUtils:()=>i.G,stop:()=>i.sT,toDisplayString:()=>i.zw,toHandlerKey:()=>i.hR,toHandlers:()=>i.mx,toRaw:()=>i.IU,toRef:()=>i.Vh,toRefs:()=>i.BK,transformVNodeArgs:()=>i.C3,triggerRef:()=>i.oR,unref:()=>i.SU,useAttrs:()=>i.l1,useCssModule:()=>i.fb,useCssVars:()=>i.sj,useSSRContext:()=>i.Zq,useSlots:()=>i.Rr,useTransitionState:()=>i.Y8,vModelCheckbox:()=>i.e8,vModelDynamic:()=>i.YZ,vModelRadio:()=>i.G2,vModelSelect:()=>i.bM,vModelText:()=>i.nr,vShow:()=>i.F8,version:()=>i.i8,warn:()=>i.ZK,watch:()=>i.YP,watchEffect:()=>i.m0,watchPostEffect:()=>i.Rh,watchSyncEffect:()=>i.yX,withAsyncContext:()=>i.mv,withCtx:()=>i.w5,withDefaults:()=>i.b9,withDirectives:()=>i.wy,withKeys:()=>i.D2,withMemo:()=>i.MX,withModifiers:()=>i.iM,withScopeId:()=>i.HX});var i=n(1957);const o=()=>{0}},7092:(e,t,n)=>{e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({8875:function(e,t,n){var i,o,r;(function(n,a){o=[],i=a,r="function"===typeof i?i.apply(t,o):i,void 0===r||(e.exports=r)})("undefined"!==typeof self&&self,(function(){function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(f){var n,i,o,r=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,a=/@([^@]*):(\d+):(\d+)\s*$/gi,s=r.exec(f.stack)||a.exec(f.stack),l=s&&s[1]||!1,c=s&&s[2]||!1,u=document.location.href.replace(document.location.hash,""),d=document.getElementsByTagName("script");l===u&&(n=document.documentElement.outerHTML,i=new RegExp("(?:[^\\n]+?\\n){0,"+(c-2)+"}[^<]*:file στη γραμμή :line με κώδικα :code.', diff --git a/resources/lang/el_GR/form.php b/resources/lang/el_GR/form.php index a18ffdb772..8704467a40 100644 --- a/resources/lang/el_GR/form.php +++ b/resources/lang/el_GR/form.php @@ -248,7 +248,7 @@ return [ 'submitted' => 'Υποβλήθηκε', 'key' => 'Κλειδί', 'value' => 'Περιεχόμενο της εγγραφής', - 'webhook_delivery' => 'Delivery', - 'webhook_response' => 'Response', - 'webhook_trigger' => 'Trigger', + 'webhook_delivery' => 'Παράδοση', + 'webhook_response' => 'Απόκριση', + 'webhook_trigger' => 'Ενεργοποίηση', ]; diff --git a/resources/lang/el_GR/list.php b/resources/lang/el_GR/list.php index 9596c6ce97..d65a85fbf1 100644 --- a/resources/lang/el_GR/list.php +++ b/resources/lang/el_GR/list.php @@ -43,10 +43,10 @@ return [ 'lastActivity' => 'Τελευταία δραστηριότητα', 'balanceDiff' => 'Διαφορά υπολοίπου', 'other_meta_data' => 'Άλλα μετα-δεδομένα', - 'invited_at' => 'Invited at', - 'expires' => 'Invitation expires', - 'invited_by' => 'Invited by', - 'invite_link' => 'Invite link', + 'invited_at' => 'Προσκλήθηκε στις', + 'expires' => 'Η πρόσκληση λήγει', + 'invited_by' => 'Προσκλήθηκε από', + 'invite_link' => 'Σύνδεσμος πρόσκλησης', 'account_type' => 'Τύπος λογαριασμού', 'created_at' => 'Δημιουργήθηκε στις', 'account' => 'Λογαριασμός', @@ -142,10 +142,10 @@ return [ 'payment_info' => 'Πληροφορίες Πληρωμής', 'expected_info' => 'Επόμενη αναμενόμενη συναλλαγή', 'start_date' => 'Ημερομηνία έναρξης', - 'trigger' => 'Trigger', - 'response' => 'Response', - 'delivery' => 'Delivery', - 'url' => 'URL', - 'secret' => 'Secret', + 'trigger' => 'Ενεργοποίηση', + 'response' => 'Απόκριση', + 'delivery' => 'Παράδοση', + 'url' => 'Διεύθυνση URL', + 'secret' => 'Μυστικό', ]; diff --git a/resources/lang/fr_FR/firefly.php b/resources/lang/fr_FR/firefly.php index 65947cfb42..00069ce417 100644 --- a/resources/lang/fr_FR/firefly.php +++ b/resources/lang/fr_FR/firefly.php @@ -145,7 +145,7 @@ return [ 'pref_languages_locale' => 'Pour une langue autre que l’anglais et pour fonctionner correctement, votre système d’exploitation doit être équipé avec les paramètres régionaux correctes. Si ils ne sont pas présents, les données de devises, les dates et les montants peuvent être mal formatés.', 'budget_in_period' => 'Toutes les opérations pour le budget ":name" entre :start et :end dans la monnaie :currency', 'chart_budget_in_period' => 'Graphique pour toutes les opérations pour le budget ":name" entre :start et :end dans :currency', - 'chart_budget_in_period_only_currency' => 'Le montant que vous avez budgété était en :currency, ce graphique ne montrera donc que les opérations dans :currency.', + 'chart_budget_in_period_only_currency' => 'Le montant que vous avez budgété était en :currency, ce graphique ne montrera donc que les opérations en :currency.', 'chart_account_in_period' => 'Graphique pour toutes les opérations pour le compte ":name" (:balance) entre :start et :end', 'chart_category_in_period' => 'Graphique pour toutes les opérations pour la catégorie ":name" entre :start et :end', 'chart_category_all' => 'Graphique pour toutes les opérations pour la catégorie ":name"', diff --git a/resources/lang/it_IT/firefly.php b/resources/lang/it_IT/firefly.php index a11a1feaf2..aeaffe37eb 100644 --- a/resources/lang/it_IT/firefly.php +++ b/resources/lang/it_IT/firefly.php @@ -231,7 +231,7 @@ return [ // Webhooks 'webhooks' => 'Webhook', 'webhooks_breadcrumb' => 'Webhook', - 'no_webhook_messages' => 'There are no webhook messages', + 'no_webhook_messages' => 'Non ci sono messaggi webhook', 'webhook_trigger_STORE_TRANSACTION' => 'Dopo aver creato la transazione', 'webhook_trigger_UPDATE_TRANSACTION' => 'Dopo aver aggiornato la transazione', 'webhook_trigger_DESTROY_TRANSACTION' => 'Dopo aver eliminato la transazione', @@ -242,31 +242,31 @@ return [ 'inspect' => 'Ispeziona', 'create_new_webhook' => 'Crea nuovo webhook', 'webhooks_create_breadcrumb' => 'Crea nuovo webhook', - 'webhook_trigger_form_help' => 'Indicate on what event the webhook will trigger', - 'webhook_response_form_help' => 'Indicate what the webhook must submit to the URL.', - 'webhook_delivery_form_help' => 'Which format the webhook must deliver data in.', - 'webhook_active_form_help' => 'The webhook must be active or it won\'t be called.', - 'stored_new_webhook' => 'Stored new webhook ":title"', - 'delete_webhook' => 'Delete webhook', - 'deleted_webhook' => 'Deleted webhook ":title"', - 'edit_webhook' => 'Edit webhook ":title"', - 'updated_webhook' => 'Updated webhook ":title"', - 'edit_webhook_js' => 'Edit webhook "{title}"', + 'webhook_trigger_form_help' => 'Indica quale evento attiverà il webhook', + 'webhook_response_form_help' => 'Indica cosa il webhook deve inviare all\'URL.', + 'webhook_delivery_form_help' => 'In quale formato il webhook deve fornire i dati.', + 'webhook_active_form_help' => 'Il webhook deve essere attivo o non verrà chiamato.', + 'stored_new_webhook' => 'Nuovo webhook ":title" salvato', + 'delete_webhook' => 'Elimina Webhook', + 'deleted_webhook' => 'Webhook ":title" eliminato', + 'edit_webhook' => 'Modifica webhook ":title"', + 'updated_webhook' => 'Webhook ":title" aggiornato', + 'edit_webhook_js' => 'Modifica webhook "{title}"', 'show_webhook' => 'Webhook ":title"', - 'webhook_was_triggered' => 'The webhook was triggered on the indicated transaction. You can refresh this page to see the results.', - 'webhook_messages' => 'Webhook message', - 'view_message' => 'View message', - 'view_attempts' => 'View failed attempts', - 'message_content_title' => 'Webhook message content', - 'message_content_help' => 'This is the content of the message that was sent (or tried) using this webhook.', - 'attempt_content_title' => 'Webhook attempts', - 'attempt_content_help' => 'These are all the unsuccessful attempts of this webhook message to submit to the configured URL. After some time, Firefly III will stop trying.', - 'no_attempts' => 'There are no unsuccessful attempts. That\'s a good thing!', - 'webhook_attempt_at' => 'Attempt at {moment}', + 'webhook_was_triggered' => 'Il webhook è stato attivato sulla transazione indicata. È possibile aggiornare questa pagina per vedere i risultati.', + 'webhook_messages' => 'Messaggio Webhook', + 'view_message' => 'Visualizza messaggio', + 'view_attempts' => 'Visualizza tentativi falliti', + 'message_content_title' => 'Contenuto del messaggio Webhook', + 'message_content_help' => 'Questo è il contenuto del messaggio che è stato inviato (o ha tentato) utilizzando questo webhook.', + 'attempt_content_title' => 'Tentativi del Webhook', + 'attempt_content_help' => 'Questi sono tutti i tentativi falliti di questo messaggio webhook da inviare all\'URL configurato. Dopo qualche tempo, Firefly III smetterà di provare.', + 'no_attempts' => 'Non ci sono tentativi falliti. È una buona cosa!', + 'webhook_attempt_at' => 'Tentativo a {moment}', 'logs' => 'Log', 'response' => 'Risposta', - 'visit_webhook_url' => 'Visit webhook URL', - 'reset_webhook_secret' => 'Reset webhook secret', + 'visit_webhook_url' => 'Visita URL webhook', + 'reset_webhook_secret' => 'Reimposta il segreto del webhook', // API access 'authorization_request' => 'Firefly III v:version Richiesta Autorizzazione', @@ -325,56 +325,56 @@ return [ // old 'search_modifier_date_on' => 'La data della transazione è ":value"', - 'search_modifier_not_date_on' => 'Transaction date is not ":value"', + 'search_modifier_not_date_on' => 'La data della transazione non è ":value"', 'search_modifier_reconciled' => 'La transazione è riconciliata', - 'search_modifier_not_reconciled' => 'Transaction is not reconciled', + 'search_modifier_not_reconciled' => 'La transazione non è riconciliata', 'search_modifier_id' => 'L\'ID della transazione è ":value"', - 'search_modifier_not_id' => 'Transaction ID is not ":value"', + 'search_modifier_not_id' => 'L\'ID della transazione non è ":value"', 'search_modifier_date_before' => 'La data della transazione è antecedente o uguale a ":value"', 'search_modifier_date_after' => 'La data della transazione è successiva o uguale a ":value"', 'search_modifier_external_id_is' => 'L\'ID esterno è ":value"', - 'search_modifier_not_external_id_is' => 'External ID is not ":value"', + 'search_modifier_not_external_id_is' => 'L\'ID esterno non è ":value"', 'search_modifier_no_external_url' => 'La transazione non ha URL esterno', - 'search_modifier_not_any_external_url' => 'The transaction has no external URL', + 'search_modifier_not_any_external_url' => 'La transazione non ha URL esterno', 'search_modifier_any_external_url' => 'La transazione deve avere un (qualsiasi) URL esterno', - 'search_modifier_not_no_external_url' => 'The transaction must have a (any) external URL', + 'search_modifier_not_no_external_url' => 'La transazione deve avere un (qualsiasi) URL esterno', 'search_modifier_internal_reference_is' => 'Il riferimento interno è ":value"', - 'search_modifier_not_internal_reference_is' => 'Internal reference is not ":value"', - 'search_modifier_description_starts' => 'Description starts with ":value"', - 'search_modifier_not_description_starts' => 'Description does not start with ":value"', - 'search_modifier_description_ends' => 'Description ends on ":value"', - 'search_modifier_not_description_ends' => 'Description does not end on ":value"', + 'search_modifier_not_internal_reference_is' => 'Il riferimento interno non è ":value"', + 'search_modifier_description_starts' => 'La descrizione inizia con ":value"', + 'search_modifier_not_description_starts' => 'La descrizione non inizia con ":value"', + 'search_modifier_description_ends' => 'La descrizione termina con ":value"', + 'search_modifier_not_description_ends' => 'La descrizione non termina con ":value"', 'search_modifier_description_contains' => 'La descrizione contiene ":value"', - 'search_modifier_not_description_contains' => 'Description does not contain ":value"', + 'search_modifier_not_description_contains' => 'La descrizione non contiene ":value"', 'search_modifier_description_is' => 'La descrizione è esattamente ":value"', - 'search_modifier_not_description_is' => 'Description is exactly not ":value"', + 'search_modifier_not_description_is' => 'La descrizione non è esattamente ":value"', 'search_modifier_currency_is' => 'La valuta (estera) della transazione è ":value"', - 'search_modifier_not_currency_is' => 'Transaction (foreign) currency is not ":value"', + 'search_modifier_not_currency_is' => 'La valuta (estera) della transazione non è ":value"', 'search_modifier_foreign_currency_is' => 'La valuta estera della transazione è ":value"', - 'search_modifier_not_foreign_currency_is' => 'Transaction foreign currency is not ":value"', + 'search_modifier_not_foreign_currency_is' => 'La valuta estera della transazione non è ":value"', 'search_modifier_has_attachments' => 'La transazione deve avere un allegato', 'search_modifier_has_no_category' => 'La transazione non deve avere una categoria', - 'search_modifier_not_has_no_category' => 'The transaction must have a (any) category', - 'search_modifier_not_has_any_category' => 'The transaction must have no category', + 'search_modifier_not_has_no_category' => 'La transazione deve avere una (qualsiasi) categoria', + 'search_modifier_not_has_any_category' => 'La transazione non deve avere una categoria', 'search_modifier_has_any_category' => 'La transazione deve avere una (qualsiasi) categoria', 'search_modifier_has_no_budget' => 'La transazione non deve avere un budget', - 'search_modifier_not_has_any_budget' => 'The transaction must have no budget', + 'search_modifier_not_has_any_budget' => 'La transazione non deve avere budget', 'search_modifier_has_any_budget' => 'La transazione deve avere un budget (qualsiasi)', - 'search_modifier_not_has_no_budget' => 'The transaction must have a (any) budget', + 'search_modifier_not_has_no_budget' => 'La transazione deve avere un budget (qualsiasi)', 'search_modifier_has_no_bill' => 'La transazione non deve avere bollette', - 'search_modifier_not_has_no_bill' => 'The transaction must have a (any) bill', + 'search_modifier_not_has_no_bill' => 'La transazione deve avere una bolletta (qualsiasi)', 'search_modifier_has_any_bill' => 'La transazione deve avere una (qualsiasi) bolletta', - 'search_modifier_not_has_any_bill' => 'The transaction must have no bill', + 'search_modifier_not_has_any_bill' => 'La transazione non deve avere alcuna bolletta', 'search_modifier_has_no_tag' => 'La transazione non deve avere etichette', - 'search_modifier_not_has_any_tag' => 'The transaction must have no tags', - 'search_modifier_not_has_no_tag' => 'The transaction must have a (any) tag', + 'search_modifier_not_has_any_tag' => 'La transazione non deve avere tag', + 'search_modifier_not_has_no_tag' => 'La transazione deve avere un (qualsiasi) tag', 'search_modifier_has_any_tag' => 'La transazione deve avere una (qualsiasi) etichetta', 'search_modifier_notes_contains' => 'Le note della transazione contengono ":value"', - 'search_modifier_not_notes_contains' => 'The transaction notes do not contain ":value"', + 'search_modifier_not_notes_contains' => 'Le note della transazione non contengono ":value"', 'search_modifier_notes_starts' => 'Le note della transazione iniziano con ":value"', - 'search_modifier_not_notes_starts' => 'The transaction notes do not start with ":value"', + 'search_modifier_not_notes_starts' => 'Le note della transazione non iniziano con ":value"', 'search_modifier_notes_ends' => 'Le note della transazione terminano con ":value"', - 'search_modifier_not_notes_ends' => 'The transaction notes do not end with ":value"', + 'search_modifier_not_notes_ends' => 'Le note della transazione non terminano con ":value"', 'search_modifier_notes_is' => 'Le note della transazione sono esattamente ":value"', 'search_modifier_not_notes_is' => 'The transaction notes are exactly not ":value"', 'search_modifier_no_notes' => 'La transazione non ha note', @@ -475,58 +475,58 @@ return [ 'search_modifier_category_contains' => 'La categoria contiene ":value"', 'search_modifier_not_category_contains' => 'Category does not contain ":value"', 'search_modifier_category_ends' => 'Category ends on ":value"', - 'search_modifier_not_category_ends' => 'Category does not end on ":value"', + 'search_modifier_not_category_ends' => 'La categoria non termina con ":value"', 'search_modifier_category_starts' => 'La categoria inizia per ":value"', - 'search_modifier_not_category_starts' => 'Category does not start with ":value"', - 'search_modifier_budget_contains' => 'Budget contains ":value"', - 'search_modifier_not_budget_contains' => 'Budget does not contain ":value"', - 'search_modifier_budget_ends' => 'Budget ends with ":value"', - 'search_modifier_not_budget_ends' => 'Budget does not end on ":value"', - 'search_modifier_budget_starts' => 'Budget starts with ":value"', - 'search_modifier_not_budget_starts' => 'Budget does not start with ":value"', + 'search_modifier_not_category_starts' => 'La categoria non inizia con ":value"', + 'search_modifier_budget_contains' => 'Il budget contiene ":value"', + 'search_modifier_not_budget_contains' => 'Il budget non contiene ":value"', + 'search_modifier_budget_ends' => 'Il budget termina con ":value"', + 'search_modifier_not_budget_ends' => 'Il budget non termina con ":value"', + 'search_modifier_budget_starts' => 'Il budget inizia con ":value"', + 'search_modifier_not_budget_starts' => 'Il budget non inizia con ":value"', 'search_modifier_bill_contains' => 'La bolletta contiene ":value"', - 'search_modifier_not_bill_contains' => 'Bill does not contain ":value"', + 'search_modifier_not_bill_contains' => 'La bolletta non contiene ":value"', 'search_modifier_bill_ends' => 'La bolletta termina con ":value"', - 'search_modifier_not_bill_ends' => 'Bill does not end on ":value"', + 'search_modifier_not_bill_ends' => 'La bolletta non termina con ":value"', 'search_modifier_bill_starts' => 'La bolletta inizia con ":value"', - 'search_modifier_not_bill_starts' => 'Bill does not start with ":value"', - 'search_modifier_external_id_contains' => 'External ID contains ":value"', - 'search_modifier_not_external_id_contains' => 'External ID does not contain ":value"', - 'search_modifier_external_id_ends' => 'External ID ends with ":value"', - 'search_modifier_not_external_id_ends' => 'External ID does not end with ":value"', - 'search_modifier_external_id_starts' => 'External ID starts with ":value"', - 'search_modifier_not_external_id_starts' => 'External ID does not start with ":value"', - 'search_modifier_internal_reference_contains' => 'Internal reference contains ":value"', - 'search_modifier_not_internal_reference_contains' => 'Internal reference does not contain ":value"', - 'search_modifier_internal_reference_ends' => 'Internal reference ends with ":value"', - 'search_modifier_internal_reference_starts' => 'Internal reference starts with ":value"', - 'search_modifier_not_internal_reference_ends' => 'Internal reference does not end with ":value"', - 'search_modifier_not_internal_reference_starts' => 'Internal reference does not start with ":value"', - 'search_modifier_external_url_is' => 'External URL is ":value"', - 'search_modifier_not_external_url_is' => 'External URL is not ":value"', - 'search_modifier_external_url_contains' => 'External URL contains ":value"', - 'search_modifier_not_external_url_contains' => 'External URL does not contain ":value"', - 'search_modifier_external_url_ends' => 'External URL ends with ":value"', - 'search_modifier_not_external_url_ends' => 'External URL does not end with ":value"', - 'search_modifier_external_url_starts' => 'External URL starts with ":value"', - 'search_modifier_not_external_url_starts' => 'External URL does not start with ":value"', - 'search_modifier_has_no_attachments' => 'Transaction has no attachments', - 'search_modifier_not_has_no_attachments' => 'Transaction has attachments', - 'search_modifier_not_has_attachments' => 'Transaction has no attachments', - 'search_modifier_account_is_cash' => 'Either account is the "(cash)" account.', - 'search_modifier_not_account_is_cash' => 'Neither account is the "(cash)" account.', - 'search_modifier_journal_id' => 'The journal ID is ":value"', - 'search_modifier_not_journal_id' => 'The journal ID is not ":value"', - 'search_modifier_recurrence_id' => 'The recurring transaction ID is ":value"', - 'search_modifier_not_recurrence_id' => 'The recurring transaction ID is not ":value"', - 'search_modifier_foreign_amount_is' => 'The foreign amount is ":value"', - 'search_modifier_not_foreign_amount_is' => 'The foreign amount is not ":value"', - 'search_modifier_foreign_amount_less' => 'The foreign amount is less than ":value"', - 'search_modifier_not_foreign_amount_more' => 'The foreign amount is less than ":value"', - 'search_modifier_not_foreign_amount_less' => 'The foreign amount is more than ":value"', - 'search_modifier_foreign_amount_more' => 'The foreign amount is more than ":value"', - 'search_modifier_exists' => 'Transaction exists (any transaction)', - 'search_modifier_not_exists' => 'Transaction does not exist (no transaction)', + 'search_modifier_not_bill_starts' => 'La bolletta non inizia con ":value"', + 'search_modifier_external_id_contains' => 'L\'ID esterno contiene ":value"', + 'search_modifier_not_external_id_contains' => 'L\'ID esterno non contiene ":value"', + 'search_modifier_external_id_ends' => 'L\'ID esterno termina con ":value"', + 'search_modifier_not_external_id_ends' => 'L\'ID esterno non termina con ":value"', + 'search_modifier_external_id_starts' => 'L\'ID esterno inizia con ":value"', + 'search_modifier_not_external_id_starts' => 'L\'ID esterno non inizia con ":value"', + 'search_modifier_internal_reference_contains' => 'Il riferimento interno contiene ":value"', + 'search_modifier_not_internal_reference_contains' => 'Il riferimento interno non contiene ":value"', + 'search_modifier_internal_reference_ends' => 'Il riferimento interno termina con ":value"', + 'search_modifier_internal_reference_starts' => 'Il riferimento interno inizia con ":value"', + 'search_modifier_not_internal_reference_ends' => 'Il riferimento interno non termina con ":value"', + 'search_modifier_not_internal_reference_starts' => 'Il riferimento interno non inizia con ":value"', + 'search_modifier_external_url_is' => 'L\'URL esterno è ":value"', + 'search_modifier_not_external_url_is' => 'L\'URL esterno non è ":value"', + 'search_modifier_external_url_contains' => 'L\'URL esterno contiene ":value"', + 'search_modifier_not_external_url_contains' => 'L\'URL esterno non contiene ":value"', + 'search_modifier_external_url_ends' => 'L\'URL esterno termina con ":value"', + 'search_modifier_not_external_url_ends' => 'L\'URL esterno non termina con ":value"', + 'search_modifier_external_url_starts' => 'L\'URL esterno inizia con ":value"', + 'search_modifier_not_external_url_starts' => 'L\'URL esterno non inizia con ":value"', + 'search_modifier_has_no_attachments' => 'La transazione non ha allegati', + 'search_modifier_not_has_no_attachments' => 'La transazione ha allegati', + 'search_modifier_not_has_attachments' => 'La transazione non ha allegati', + 'search_modifier_account_is_cash' => 'Uno dei due account è l\'account "(contanti)".', + 'search_modifier_not_account_is_cash' => 'Nessuno dei due account è l\'account "(contanti)".', + 'search_modifier_journal_id' => 'L\'ID del diario è ":value"', + 'search_modifier_not_journal_id' => 'L\'ID del diario non è ":value"', + 'search_modifier_recurrence_id' => 'L\'ID della transazione ricorrente è ":value"', + 'search_modifier_not_recurrence_id' => 'L\'ID della transazione ricorrente non è ":value"', + 'search_modifier_foreign_amount_is' => 'L\'importo estero è ":value"', + 'search_modifier_not_foreign_amount_is' => 'L\'importo estero non è ":value"', + 'search_modifier_foreign_amount_less' => 'L\'importo estero è inferiore a ":value"', + 'search_modifier_not_foreign_amount_more' => 'L\'importo estero è inferiore a ":value"', + 'search_modifier_not_foreign_amount_less' => 'L\'importo estero è superiore a ":value"', + 'search_modifier_foreign_amount_more' => 'L\'importo estero è superiore a ":value"', + 'search_modifier_exists' => 'La transazione esiste (qualsiasi transazione)', + 'search_modifier_not_exists' => 'La transazione non esiste (nessuna transazione)', // date fields 'search_modifier_interest_date_on' => 'Transaction interest date is ":value"', diff --git a/resources/lang/nl_NL/firefly.php b/resources/lang/nl_NL/firefly.php index c627e67447..021df2d3c4 100644 --- a/resources/lang/nl_NL/firefly.php +++ b/resources/lang/nl_NL/firefly.php @@ -547,7 +547,7 @@ return [ 'search_modifier_book_date_on_month' => 'De boekdatum is in maand ":value"', 'search_modifier_book_date_on_day' => 'De boekdatum is op dag van de maand ":value"', 'search_modifier_not_book_date_on_year' => 'De boekdatum is niet in jaar ":value"', - 'search_modifier_not_book_date_on_month' => 'Transaction book date is not in month ":value"', + 'search_modifier_not_book_date_on_month' => 'De boekdatum is niet in maand ":value"', 'search_modifier_not_book_date_on_day' => 'De boekdatum is niet op dag van de maand ":value"', 'search_modifier_book_date_before_year' => 'De boekdatum is in of voor jaar ":value"', 'search_modifier_book_date_before_month' => 'De boekdatum is in of voor maand ":value"', @@ -621,7 +621,7 @@ return [ 'search_modifier_created_at_on_day' => 'Transactie werd gemaakt op dag van de maand ":value"', 'search_modifier_not_created_at_on_year' => 'De transactie werd niet gemaakt in jaar ":value"', 'search_modifier_not_created_at_on_month' => 'De transactie werd niet gemaakt in maand ":value"', - 'search_modifier_not_created_at_on_day' => 'Transaction was not created on day of month ":value"', + 'search_modifier_not_created_at_on_day' => 'Transactie werd niet gemaakt op dag van de maand ":value"', 'search_modifier_created_at_before_year' => 'Transactie werd gemaakt in of voor jaar ":value"', 'search_modifier_created_at_before_month' => 'Transactie werd gemaakt in of voor maand ":value"', 'search_modifier_created_at_before_day' => 'Transactie werd gemaakt op of voor dag van de maand ":value"', @@ -631,31 +631,31 @@ return [ 'search_modifier_interest_date_before' => 'Rentedatum is op of voor ":value"', 'search_modifier_interest_date_after' => 'Rentedatum is op of na ":value"', 'search_modifier_book_date_on' => 'Boekdatum is op ":value"', - 'search_modifier_not_book_date_on' => 'Transaction book date is not on ":value"', + 'search_modifier_not_book_date_on' => 'Boekdatum is niet op ":value"', 'search_modifier_book_date_before' => 'Boekdatum is op of voor ":value"', 'search_modifier_book_date_after' => 'Boekdatum is op of na ":value"', 'search_modifier_process_date_on' => 'Verwerkingsdatum is op ":value"', - 'search_modifier_not_process_date_on' => 'Transaction process date is not on ":value"', + 'search_modifier_not_process_date_on' => 'Verwerkingsdatum is niet op ":value"', 'search_modifier_process_date_before' => 'Verwerkingsdatum is op of voor ":value"', 'search_modifier_process_date_after' => 'Verwerkingsdatum is op of na ":value"', 'search_modifier_due_date_on' => 'Vervaldatum is op ":value"', - 'search_modifier_not_due_date_on' => 'Transaction due date is not on ":value"', + 'search_modifier_not_due_date_on' => 'Vervaldatum is niet op ":value"', 'search_modifier_due_date_before' => 'Vervaldatum is op of voor ":value"', 'search_modifier_due_date_after' => 'Vervaldatum is op of na ":value"', 'search_modifier_payment_date_on' => 'Betalingsdatum is op ":value"', - 'search_modifier_not_payment_date_on' => 'Transaction payment date is not on ":value"', + 'search_modifier_not_payment_date_on' => 'Betalingsdatum is niet op ":value"', 'search_modifier_payment_date_before' => 'Betalingsdatum is op of voor ":value"', 'search_modifier_payment_date_after' => 'Betalingsdatum is op of na ":value"', 'search_modifier_invoice_date_on' => 'Factuurdatum is op ":value"', - 'search_modifier_not_invoice_date_on' => 'Transaction invoice date is not on ":value"', + 'search_modifier_not_invoice_date_on' => 'Factuurdatum is niet op ":value"', 'search_modifier_invoice_date_before' => 'Factuurdatum is op of voor ":value"', 'search_modifier_invoice_date_after' => 'Factuurdatum is op of na ":value"', 'search_modifier_created_at_on' => 'Transactie werd gemaakt op ":value"', - 'search_modifier_not_created_at_on' => 'Transaction was not created on ":value"', + 'search_modifier_not_created_at_on' => 'Transactie werd niet gemaakt op ":value"', 'search_modifier_created_at_before' => 'Transactie werd gemaakt op of voor ":value"', 'search_modifier_created_at_after' => 'Transactie werd gemaakt op of na ":value"', 'search_modifier_updated_at_on' => 'Transactie werd gewijzigd op ":value"', - 'search_modifier_not_updated_at_on' => 'Transaction was not updated on ":value"', + 'search_modifier_not_updated_at_on' => 'Transactie werd niet het laatst gewijzigd op ":value"', 'search_modifier_updated_at_before' => 'Transactie werd gewijzigd op of voor ":value"', 'search_modifier_updated_at_after' => 'Transactie werd gewijzigd op of na ":value"', @@ -666,15 +666,15 @@ return [ 'search_modifier_attachment_notes_are' => 'Er is een bijlage met notitie ":value"', 'search_modifier_attachment_notes_contains' => 'Er is een bijlage waarvan de notitie ":value" bevat', 'search_modifier_attachment_notes_starts' => 'Er is een bijlage waarvan de notitie begint met ":value"', - 'search_modifier_attachment_notes_ends' => 'Any attachment\'s notes end with ":value"', - 'search_modifier_not_attachment_name_is' => 'Any attachment\'s name is not ":value"', - 'search_modifier_not_attachment_name_contains' => 'Any attachment\'s name does not contain ":value"', - 'search_modifier_not_attachment_name_starts' => 'Any attachment\'s name does not start with ":value"', - 'search_modifier_not_attachment_name_ends' => 'Any attachment\'s name does not end with ":value"', - 'search_modifier_not_attachment_notes_are' => 'Any attachment\'s notes are not ":value"', - 'search_modifier_not_attachment_notes_contains' => 'Any attachment\'s notes do not contain ":value"', - 'search_modifier_not_attachment_notes_starts' => 'Any attachment\'s notes start with ":value"', - 'search_modifier_not_attachment_notes_ends' => 'Any attachment\'s notes do not end with ":value"', + 'search_modifier_attachment_notes_ends' => 'Er is een bijlage waarvan de notitie eindigt op ":value"', + 'search_modifier_not_attachment_name_is' => 'Geen bijlage heet ":value"', + 'search_modifier_not_attachment_name_contains' => 'Er is geen bijlage waarvan de naam ":value" bevat', + 'search_modifier_not_attachment_name_starts' => 'Er is geen bijlage waarvan de naam begint met ":value"', + 'search_modifier_not_attachment_name_ends' => 'Er is geen bijlage waarvan de naam eindigt op ":value"', + 'search_modifier_not_attachment_notes_are' => 'Er is een bijlage waarvan de notitie niet eindigt op ":value"', + 'search_modifier_not_attachment_notes_contains' => 'Er is een bijlage waarvan de notitie niet ":value" bevatten', + 'search_modifier_not_attachment_notes_starts' => 'Er is een bijlage waarvan de notitie begint met ":value"', + 'search_modifier_not_attachment_notes_ends' => 'Er is een bijlage waarvan de notitie niet eindigt op ":value"', 'update_rule_from_query' => 'Update regel ":rule" middels zoekquery', 'create_rule_from_query' => 'Nieuwe regel op basis van zoekquery', 'rule_from_search_words' => 'Firefly III heeft moeite met deze query: ":string". De voorgestelde regel die past bij je zoekquery kan afwijken. Controleer de regel zorgvuldig.', @@ -703,7 +703,7 @@ return [ 'yearly' => 'elk jaar', // rules - 'is_not_rule_trigger' => 'Not', + 'is_not_rule_trigger' => 'Niet', 'cannot_fire_inactive_rules' => 'Inactieve regels doen het niet.', 'rules' => 'Regels', 'rule_name' => 'Regelnaam', @@ -901,8 +901,8 @@ return [ // new values: 'rule_trigger_user_action_choice' => 'Gebruikersactie is ":trigger_value"', - 'rule_trigger_tag_is_not_choice' => 'No tag is..', - 'rule_trigger_tag_is_not' => 'No tag is ":trigger_value"', + 'rule_trigger_tag_is_not_choice' => 'Geen tag is..', + 'rule_trigger_tag_is_not' => 'Geen enkele tag is ":trigger_value"', 'rule_trigger_account_is_choice' => 'Bron- of doelrekeningnaam is..', 'rule_trigger_account_is' => 'Bron- of doelrekeningnaam is ":trigger_value"', 'rule_trigger_account_contains_choice' => 'Bron- of doelrekeningnaam bevat..', @@ -1027,29 +1027,29 @@ return [ 'rule_trigger_attachment_notes_starts' => 'Er is een bijlage waarvan de notitie begint met ":trigger_value"', 'rule_trigger_attachment_notes_ends_choice' => 'Een bijlage\'s notitie eindigt op..', 'rule_trigger_attachment_notes_ends' => 'Er is een bijlage waarvan de notitie eindigt op ":trigger_value"', - 'rule_trigger_reconciled_choice' => 'Transaction is reconciled', - 'rule_trigger_reconciled' => 'Transaction is reconciled', - 'rule_trigger_exists_choice' => 'Any transaction matches(!)', - 'rule_trigger_exists' => 'Any transaction matches', + 'rule_trigger_reconciled_choice' => 'Transactie is afgestemd', + 'rule_trigger_reconciled' => 'Transactie is afgestemd', + 'rule_trigger_exists_choice' => 'Elke transactie komt overeen(!)', + 'rule_trigger_exists' => 'Elke transactie komt overeen', // more values for new types: - 'rule_trigger_not_account_id' => 'Account ID is not ":trigger_value"', - 'rule_trigger_not_source_account_id' => 'Source account ID is not ":trigger_value"', - 'rule_trigger_not_destination_account_id' => 'Destination account ID is not ":trigger_value"', - 'rule_trigger_not_transaction_type' => 'Transaction type is not ":trigger_value"', - 'rule_trigger_not_tag_is' => 'Tag is not ":trigger_value"', + 'rule_trigger_not_account_id' => 'Rekening-ID is niet ":trigger_value"', + 'rule_trigger_not_source_account_id' => 'Bronrekening-ID is niet ":trigger_value"', + 'rule_trigger_not_destination_account_id' => 'Doelrekening-ID is niet ":trigger_value"', + 'rule_trigger_not_transaction_type' => 'Transactietype is niet ":trigger_value"', + 'rule_trigger_not_tag_is' => 'Tag is niet ":trigger_value"', 'rule_trigger_not_tag_is_not' => 'Tag is ":trigger_value"', - 'rule_trigger_not_description_is' => 'Description is not ":trigger_value"', - 'rule_trigger_not_description_contains' => 'Description does not contain', - 'rule_trigger_not_description_ends' => 'Description does not end with ":trigger_value"', - 'rule_trigger_not_description_starts' => 'Description does not start with ":trigger_value"', - 'rule_trigger_not_notes_is' => 'Notes are not ":trigger_value"', - 'rule_trigger_not_notes_contains' => 'Notes do not contain ":trigger_value"', - 'rule_trigger_not_notes_ends' => 'Notes do not end on ":trigger_value"', - 'rule_trigger_not_notes_starts' => 'Notes do not start with ":trigger_value"', - 'rule_trigger_not_source_account_is' => 'Source account is not ":trigger_value"', - 'rule_trigger_not_source_account_contains' => 'Source account does not contain ":trigger_value"', - 'rule_trigger_not_source_account_ends' => 'Source account does not end on ":trigger_value"', + 'rule_trigger_not_description_is' => 'Omschrijving is niet ":trigger_value"', + 'rule_trigger_not_description_contains' => 'Omschrijving bevat niet', + 'rule_trigger_not_description_ends' => 'Omschrijving eindigt niet op ":trigger_value"', + 'rule_trigger_not_description_starts' => 'Omschrijving begint niet met ":trigger_value"', + 'rule_trigger_not_notes_is' => 'Notitie is niet ":trigger_value"', + 'rule_trigger_not_notes_contains' => 'Notitie bevat niet ":trigger_value"', + 'rule_trigger_not_notes_ends' => 'Notitie eindigt niet op ":trigger_value"', + 'rule_trigger_not_notes_starts' => 'Notitie begint niet met ":trigger_value"', + 'rule_trigger_not_source_account_is' => 'Bronrekening is niet ":trigger_value"', + 'rule_trigger_not_source_account_contains' => 'Bronrekening bevat niet ":trigger_value"', + 'rule_trigger_not_source_account_ends' => 'Bronrekening eindigt niet op ":trigger_value"', 'rule_trigger_not_source_account_starts' => 'Source account does not start with ":trigger_value"', 'rule_trigger_not_source_account_nr_is' => 'Source account number / IBAN is not ":trigger_value"', 'rule_trigger_not_source_account_nr_contains' => 'Source account number / IBAN does not contain ":trigger_value"', @@ -2554,15 +2554,15 @@ return [ 'ale_action_clear_tag' => 'Cleared tag', 'ale_action_clear_all_tags' => 'Cleared all tags', 'ale_action_set_bill' => 'Linked to bill', - 'ale_action_set_budget' => 'Set budget', - 'ale_action_set_category' => 'Set category', - 'ale_action_set_source' => 'Set source account', - 'ale_action_set_destination' => 'Set destination account', - 'ale_action_update_transaction_type' => 'Changed transaction type', - 'ale_action_update_notes' => 'Changed notes', - 'ale_action_update_description' => 'Changed description', - 'ale_action_add_to_piggy' => 'Piggy bank', - 'ale_action_remove_from_piggy' => 'Piggy bank', - 'ale_action_add_tag' => 'Added tag', + 'ale_action_set_budget' => 'Budget ingesteld', + 'ale_action_set_category' => 'Categorie ingesteld', + 'ale_action_set_source' => 'Bronrekening veranderd', + 'ale_action_set_destination' => 'Doelrekening veranderd', + 'ale_action_update_transaction_type' => 'Transactietype gewijzigd', + 'ale_action_update_notes' => 'Notities veranderd', + 'ale_action_update_description' => 'Omschrijving veranderd', + 'ale_action_add_to_piggy' => 'Spaarpotje', + 'ale_action_remove_from_piggy' => 'Spaarpotje', + 'ale_action_add_tag' => 'Tag toegevoegd', ]; diff --git a/resources/lang/pl_PL/firefly.php b/resources/lang/pl_PL/firefly.php index 6daa9f817d..ed8c11f3e7 100644 --- a/resources/lang/pl_PL/firefly.php +++ b/resources/lang/pl_PL/firefly.php @@ -35,8 +35,8 @@ return [ 'last_seven_days' => 'Ostatnie 7 dni', 'last_thirty_days' => 'Ostanie 30 dni', 'last_180_days' => 'Ostatnie 180 dni', - 'month_to_date' => 'Month to date', - 'year_to_date' => 'Year to date', + 'month_to_date' => 'Miesiąc do daty', + 'year_to_date' => 'Rok do daty', 'YTD' => 'Od początku roku', 'welcome_back' => 'Co jest grane?', 'everything' => 'Wszystko', @@ -242,7 +242,7 @@ return [ 'inspect' => 'Zbadaj', 'create_new_webhook' => 'Utwórz nowy webhook', 'webhooks_create_breadcrumb' => 'Utwórz nowy webhook', - 'webhook_trigger_form_help' => 'Indicate on what event the webhook will trigger', + 'webhook_trigger_form_help' => 'Wskaż zdarzenie do wyzwolenia webhook\'a', 'webhook_response_form_help' => 'Wskaż, co webhook musi przesłać do adresu URL.', 'webhook_delivery_form_help' => 'W jakim formacie webhook musi dostarczać dane.', 'webhook_active_form_help' => 'Webhook musi być aktywny lub nie zostanie wywołany.', @@ -263,10 +263,10 @@ return [ 'attempt_content_help' => 'These are all the unsuccessful attempts of this webhook message to submit to the configured URL. After some time, Firefly III will stop trying.', 'no_attempts' => 'Nie ma nieudanych prób. To dobrze!', 'webhook_attempt_at' => 'Attempt at {moment}', - 'logs' => 'Logs', + 'logs' => 'Logi', 'response' => 'Odpowiedź', - 'visit_webhook_url' => 'Visit webhook URL', - 'reset_webhook_secret' => 'Reset webhook secret', + 'visit_webhook_url' => 'Odwiedź adres URL webhooka', + 'reset_webhook_secret' => 'Resetuj sekret webhooka', // API access 'authorization_request' => 'Żądanie autoryzacji Firefly III v:version', @@ -325,68 +325,68 @@ return [ // old 'search_modifier_date_on' => 'Data transakcji to ":value"', - 'search_modifier_not_date_on' => 'Transaction date is not ":value"', - 'search_modifier_reconciled' => 'Transaction is reconciled', - 'search_modifier_not_reconciled' => 'Transaction is not reconciled', + 'search_modifier_not_date_on' => 'Data transakcji to nie ":value"', + 'search_modifier_reconciled' => 'Transakcja została uzgodniona', + 'search_modifier_not_reconciled' => 'Transakcja nie została uzgodniona', 'search_modifier_id' => 'ID transakcji to ":value"', - 'search_modifier_not_id' => 'Transaction ID is not ":value"', + 'search_modifier_not_id' => 'ID transakcji to nie ":value"', 'search_modifier_date_before' => 'Data transakcji jest przed lub w ":value"', 'search_modifier_date_after' => 'Data transakcji jest po lub w ":value"', 'search_modifier_external_id_is' => 'Zewnętrzne ID to ":value"', - 'search_modifier_not_external_id_is' => 'External ID is not ":value"', + 'search_modifier_not_external_id_is' => 'Zewnętrzne ID to nie ":value"', 'search_modifier_no_external_url' => 'Transakcja nie ma zewnętrznego adresu URL', - 'search_modifier_not_any_external_url' => 'The transaction has no external URL', + 'search_modifier_not_any_external_url' => 'Transakcja nie ma zewnętrznego adresu URL', 'search_modifier_any_external_url' => 'Transakcja musi mieć (dowolny) zewnętrzny adres URL', - 'search_modifier_not_no_external_url' => 'The transaction must have a (any) external URL', + 'search_modifier_not_no_external_url' => 'Transakcja musi mieć (dowolny) zewnętrzny adres URL', 'search_modifier_internal_reference_is' => 'Wewnętrzne odwołanie to ":value"', - 'search_modifier_not_internal_reference_is' => 'Internal reference is not ":value"', - 'search_modifier_description_starts' => 'Description starts with ":value"', - 'search_modifier_not_description_starts' => 'Description does not start with ":value"', - 'search_modifier_description_ends' => 'Description ends on ":value"', - 'search_modifier_not_description_ends' => 'Description does not end on ":value"', + 'search_modifier_not_internal_reference_is' => 'Wewnętrzne odwołanie to nie ":value"', + 'search_modifier_description_starts' => 'Opis zaczyna się od ":value"', + 'search_modifier_not_description_starts' => 'Opis nie zaczyna się od ":value"', + 'search_modifier_description_ends' => 'Opis kończy się na ":value"', + 'search_modifier_not_description_ends' => 'Opis nie kończy się na ":value"', 'search_modifier_description_contains' => 'Opis zawiera ":value"', - 'search_modifier_not_description_contains' => 'Description does not contain ":value"', + 'search_modifier_not_description_contains' => 'Opis nie zawiera ":value"', 'search_modifier_description_is' => 'Opis to ":value"', - 'search_modifier_not_description_is' => 'Description is exactly not ":value"', + 'search_modifier_not_description_is' => 'Opis nie jest dokładnie ":value"', 'search_modifier_currency_is' => 'Waluta (obca) transakcji to ":value"', - 'search_modifier_not_currency_is' => 'Transaction (foreign) currency is not ":value"', + 'search_modifier_not_currency_is' => 'Waluta (obca) transakcji to nie ":value"', 'search_modifier_foreign_currency_is' => 'Waluta obca transakcji to ":value"', - 'search_modifier_not_foreign_currency_is' => 'Transaction foreign currency is not ":value"', + 'search_modifier_not_foreign_currency_is' => 'Waluta obca transakcji to nie ":value"', 'search_modifier_has_attachments' => 'Transakcja musi mieć załącznik', 'search_modifier_has_no_category' => 'Transakcja nie może mieć kategorii', - 'search_modifier_not_has_no_category' => 'The transaction must have a (any) category', - 'search_modifier_not_has_any_category' => 'The transaction must have no category', + 'search_modifier_not_has_no_category' => 'Transakcja musi mieć (dowolną) kategorię', + 'search_modifier_not_has_any_category' => 'Transakcja nie może mieć kategorii', 'search_modifier_has_any_category' => 'Transakcja musi mieć (dowolną) kategorię', 'search_modifier_has_no_budget' => 'Transakcja nie może mieć budżetu', - 'search_modifier_not_has_any_budget' => 'The transaction must have no budget', + 'search_modifier_not_has_any_budget' => 'Transakcja nie może mieć budżetu', 'search_modifier_has_any_budget' => 'Transakcja musi mieć (dowolny) budżet', - 'search_modifier_not_has_no_budget' => 'The transaction must have a (any) budget', + 'search_modifier_not_has_no_budget' => 'Transakcja musi mieć (dowolny) budżet', 'search_modifier_has_no_bill' => 'Transakcja nie może mieć rachunku', - 'search_modifier_not_has_no_bill' => 'The transaction must have a (any) bill', + 'search_modifier_not_has_no_bill' => 'Transakcja musi mieć (dowolny) rachunek', 'search_modifier_has_any_bill' => 'Transakcja musi mieć (dowolny) rachunek', - 'search_modifier_not_has_any_bill' => 'The transaction must have no bill', + 'search_modifier_not_has_any_bill' => 'Transakcja nie może mieć rachunku', 'search_modifier_has_no_tag' => 'Transakcja nie może mieć tagów', - 'search_modifier_not_has_any_tag' => 'The transaction must have no tags', - 'search_modifier_not_has_no_tag' => 'The transaction must have a (any) tag', + 'search_modifier_not_has_any_tag' => 'Transakcja nie może mieć tagów', + 'search_modifier_not_has_no_tag' => 'Transakcja musi mieć (dowolny) tag', 'search_modifier_has_any_tag' => 'Transakcja musi mieć (dowolny) tag', 'search_modifier_notes_contains' => 'Notatki transakcji zawierają ":value"', - 'search_modifier_not_notes_contains' => 'The transaction notes do not contain ":value"', + 'search_modifier_not_notes_contains' => 'Notatki transakcji nie zawierają ":value"', 'search_modifier_notes_starts' => 'Notatki transakcji zaczynają się od ":value"', - 'search_modifier_not_notes_starts' => 'The transaction notes do not start with ":value"', + 'search_modifier_not_notes_starts' => 'Notatki transakcji nie zaczynają się od ":value"', 'search_modifier_notes_ends' => 'Notatki transakcji kończą się na ":value"', - 'search_modifier_not_notes_ends' => 'The transaction notes do not end with ":value"', + 'search_modifier_not_notes_ends' => 'Notatki transakcji nie kończą się na ":value"', 'search_modifier_notes_is' => 'Notatki transakcji to ":value"', - 'search_modifier_not_notes_is' => 'The transaction notes are exactly not ":value"', + 'search_modifier_not_notes_is' => 'Notatki transakcji nie są dokładnie ":value"', 'search_modifier_no_notes' => 'Transakcja nie ma notatek', - 'search_modifier_not_no_notes' => 'The transaction must have notes', + 'search_modifier_not_no_notes' => 'Transakcja musi zawierać notatki', 'search_modifier_any_notes' => 'Transakcja musi zawierać notatki', - 'search_modifier_not_any_notes' => 'The transaction has no notes', + 'search_modifier_not_any_notes' => 'Transakcja nie ma notatek', 'search_modifier_amount_is' => 'Kwota to dokładnie :value', - 'search_modifier_not_amount_is' => 'Amount is not :value', + 'search_modifier_not_amount_is' => 'Kwota to nie :value', 'search_modifier_amount_less' => 'Kwota jest mniejsza lub równa :value', - 'search_modifier_not_amount_more' => 'Amount is less than or equal to :value', + 'search_modifier_not_amount_more' => 'Kwota jest mniejsza lub równa :value', 'search_modifier_amount_more' => 'Kwota jest większa lub równa :value', - 'search_modifier_not_amount_less' => 'Amount is more than or equal to :value', + 'search_modifier_not_amount_less' => 'Kwota jest większa lub równa :value', 'search_modifier_source_account_is' => 'Konto źródłowe to ":value"', 'search_modifier_not_source_account_is' => 'Source account name is not ":value"', 'search_modifier_source_account_contains' => 'Konto źródłowe zawiera ":value"', diff --git a/resources/lang/pt_BR/firefly.php b/resources/lang/pt_BR/firefly.php index 844da11a72..285e6162c0 100644 --- a/resources/lang/pt_BR/firefly.php +++ b/resources/lang/pt_BR/firefly.php @@ -35,8 +35,8 @@ return [ 'last_seven_days' => 'Últimos sete dias', 'last_thirty_days' => 'Últimos 30 dias', 'last_180_days' => 'Últimos 180 dias', - 'month_to_date' => 'Month to date', - 'year_to_date' => 'Year to date', + 'month_to_date' => 'Mês até a data', + 'year_to_date' => 'Ano até à data', 'YTD' => 'Acumulado no ano', 'welcome_back' => 'O que está acontecendo?', 'everything' => 'Tudo', @@ -343,94 +343,94 @@ return [ 'search_modifier_description_starts' => 'Descrição começa com ":value"', 'search_modifier_not_description_starts' => 'Descrição não começa com ":value"', 'search_modifier_description_ends' => 'Descrição termina em ":value"', - 'search_modifier_not_description_ends' => 'Description does not end on ":value"', + 'search_modifier_not_description_ends' => 'Descrição não termina com ":value"', 'search_modifier_description_contains' => 'Descrição contém ":value"', 'search_modifier_not_description_contains' => 'Description does not contain ":value"', 'search_modifier_description_is' => 'Descrição é exatamente ":value"', - 'search_modifier_not_description_is' => 'Description is exactly not ":value"', + 'search_modifier_not_description_is' => 'Descrição não é exatamente ":value"', 'search_modifier_currency_is' => 'A moeda da transação (estrangeira) é ":value"', - 'search_modifier_not_currency_is' => 'Transaction (foreign) currency is not ":value"', + 'search_modifier_not_currency_is' => 'A moeda (estrangeira) da transação não é ":value"', 'search_modifier_foreign_currency_is' => 'A moeda estrangeira da transação é ":value"', - 'search_modifier_not_foreign_currency_is' => 'Transaction foreign currency is not ":value"', + 'search_modifier_not_foreign_currency_is' => 'A moeda estrangeira da transação não é ":value"', 'search_modifier_has_attachments' => 'A transação deve ter um anexo', 'search_modifier_has_no_category' => 'A transação não deve ter nenhuma categoria', - 'search_modifier_not_has_no_category' => 'The transaction must have a (any) category', - 'search_modifier_not_has_any_category' => 'The transaction must have no category', + 'search_modifier_not_has_no_category' => 'A transação deve ter (qualquer) categoria', + 'search_modifier_not_has_any_category' => 'A transação não deve ter nenhuma categoria', 'search_modifier_has_any_category' => 'A transação deve ter uma categoria (qualquer)', 'search_modifier_has_no_budget' => 'A transação não deve ter orçamento', - 'search_modifier_not_has_any_budget' => 'The transaction must have no budget', + 'search_modifier_not_has_any_budget' => 'A transação não deve ter orçamento', 'search_modifier_has_any_budget' => 'A transação deve ter um orçamento (qualquer)', - 'search_modifier_not_has_no_budget' => 'The transaction must have a (any) budget', + 'search_modifier_not_has_no_budget' => 'A transação deve ter (qualquer) orçamento', 'search_modifier_has_no_bill' => 'A transação não pode ter uma conta', - 'search_modifier_not_has_no_bill' => 'The transaction must have a (any) bill', + 'search_modifier_not_has_no_bill' => 'A transação deve ter (qualquer) conta', 'search_modifier_has_any_bill' => 'A transação deve ter uma conta (qualquer)', - 'search_modifier_not_has_any_bill' => 'The transaction must have no bill', + 'search_modifier_not_has_any_bill' => 'A transação não pode ter uma conta', 'search_modifier_has_no_tag' => 'A transação não deve ter etiquetas', - 'search_modifier_not_has_any_tag' => 'The transaction must have no tags', - 'search_modifier_not_has_no_tag' => 'The transaction must have a (any) tag', + 'search_modifier_not_has_any_tag' => 'A transação não deve ter etiquetas', + 'search_modifier_not_has_no_tag' => 'A transação deve ter uma tag (qualquer)', 'search_modifier_has_any_tag' => 'A transação deve ter uma tag (qualquer)', 'search_modifier_notes_contains' => 'As notas de transação contém ":value"', - 'search_modifier_not_notes_contains' => 'The transaction notes do not contain ":value"', + 'search_modifier_not_notes_contains' => 'As anotações da transação não contém ":value"', 'search_modifier_notes_starts' => 'As notas de transação começam com ":value"', - 'search_modifier_not_notes_starts' => 'The transaction notes do not start with ":value"', + 'search_modifier_not_notes_starts' => 'As anotações da transação não começam com ":value"', 'search_modifier_notes_ends' => 'As notas de transação terminam com ":value"', - 'search_modifier_not_notes_ends' => 'The transaction notes do not end with ":value"', + 'search_modifier_not_notes_ends' => 'As anotações da transação não terminam com ":value"', 'search_modifier_notes_is' => 'As notas de transação são iguais a ":value"', - 'search_modifier_not_notes_is' => 'The transaction notes are exactly not ":value"', + 'search_modifier_not_notes_is' => 'As anotações da transação não são iguais a ":value"', 'search_modifier_no_notes' => 'A transação não tem notas', - 'search_modifier_not_no_notes' => 'The transaction must have notes', + 'search_modifier_not_no_notes' => 'A transação deve ter anotações', 'search_modifier_any_notes' => 'A transação deve ter notas', - 'search_modifier_not_any_notes' => 'The transaction has no notes', + 'search_modifier_not_any_notes' => 'A transação não tem anotações', 'search_modifier_amount_is' => 'Valor é exatamente :value', - 'search_modifier_not_amount_is' => 'Amount is not :value', + 'search_modifier_not_amount_is' => 'O valor não é :value', 'search_modifier_amount_less' => 'Valor é menor ou igual a :value', - 'search_modifier_not_amount_more' => 'Amount is less than or equal to :value', + 'search_modifier_not_amount_more' => 'O valor é menor ou igual a :value', 'search_modifier_amount_more' => 'Valor é maior ou igual a :value', - 'search_modifier_not_amount_less' => 'Amount is more than or equal to :value', + 'search_modifier_not_amount_less' => 'O valor é maior ou igual a :value', 'search_modifier_source_account_is' => 'O nome da conta de origem é igual a ":value"', - 'search_modifier_not_source_account_is' => 'Source account name is not ":value"', + 'search_modifier_not_source_account_is' => 'O nome da conta de origem não é igual a ":value"', 'search_modifier_source_account_contains' => 'O nome da conta de origem contém ":value"', - 'search_modifier_not_source_account_contains' => 'Source account name does not contain ":value"', + 'search_modifier_not_source_account_contains' => 'O nome da conta de origem não contém ":value"', 'search_modifier_source_account_starts' => 'Nome da conta de origem começa com ":value"', - 'search_modifier_not_source_account_starts' => 'Source account name does not start with ":value"', + 'search_modifier_not_source_account_starts' => 'O nome da conta de origem não começa com ":value"', 'search_modifier_source_account_ends' => 'O nome da conta de origem termina com ":value"', - 'search_modifier_not_source_account_ends' => 'Source account name does not end with ":value"', + 'search_modifier_not_source_account_ends' => 'O nome da conta de origem não termina com ":value"', 'search_modifier_source_account_id' => 'ID da conta de origem é :value', - 'search_modifier_not_source_account_id' => 'Source account ID is not :value', + 'search_modifier_not_source_account_id' => 'ID da conta de origem não é :value', 'search_modifier_source_account_nr_is' => 'Número da conta de origem (IBAN) é ":value"', - 'search_modifier_not_source_account_nr_is' => 'Source account number (IBAN) is not ":value"', + 'search_modifier_not_source_account_nr_is' => 'Número da conta de origem (IBAN) não é ":value"', 'search_modifier_source_account_nr_contains' => 'Número da conta de origem (IBAN) contém ":value"', - 'search_modifier_not_source_account_nr_contains' => 'Source account number (IBAN) does not contain ":value"', + 'search_modifier_not_source_account_nr_contains' => 'Número da conta de origem (IBAN) não contém ":value"', 'search_modifier_source_account_nr_starts' => 'Número da conta de origem (IBAN) começa com ":value"', - 'search_modifier_not_source_account_nr_starts' => 'Source account number (IBAN) does not start with ":value"', - 'search_modifier_source_account_nr_ends' => 'Source account number (IBAN) ends on ":value"', - 'search_modifier_not_source_account_nr_ends' => 'Source account number (IBAN) does not end on ":value"', + 'search_modifier_not_source_account_nr_starts' => 'Número da conta de origem (IBAN) não começa com ":value"', + 'search_modifier_source_account_nr_ends' => 'Número da conta de origem (IBAN) termina com ":value"', + 'search_modifier_not_source_account_nr_ends' => 'Número da conta de origem (IBAN) não termina com ":value"', 'search_modifier_destination_account_is' => 'O nome da conta de destino é igual a ":value"', - 'search_modifier_not_destination_account_is' => 'Destination account name is not ":value"', + 'search_modifier_not_destination_account_is' => 'O nome da conta de destino não é ":value"', 'search_modifier_destination_account_contains' => 'Nome da conta de destino contém ":value"', - 'search_modifier_not_destination_account_contains' => 'Destination account name does not contain ":value"', + 'search_modifier_not_destination_account_contains' => 'Nome da conta de destino não contém ":value"', 'search_modifier_destination_account_starts' => 'O nome da conta de destino começa com ":value"', - 'search_modifier_not_destination_account_starts' => 'Destination account name does not start with ":value"', - 'search_modifier_destination_account_ends' => 'Destination account name ends on ":value"', - 'search_modifier_not_destination_account_ends' => 'Destination account name does not end on ":value"', + 'search_modifier_not_destination_account_starts' => 'Nome da conta de destino não começa com ":value"', + 'search_modifier_destination_account_ends' => 'Nome da conta de destino termina com ":value"', + 'search_modifier_not_destination_account_ends' => 'Nome da conta de destino não termina com ":value"', 'search_modifier_destination_account_id' => 'ID da conta de destino é :value', - 'search_modifier_not_destination_account_id' => 'Destination account ID is not :value', - 'search_modifier_destination_is_cash' => 'Destination account is the "(cash)" account', - 'search_modifier_not_destination_is_cash' => 'Destination account is not the "(cash)" account', - 'search_modifier_source_is_cash' => 'Source account is the "(cash)" account', - 'search_modifier_not_source_is_cash' => 'Source account is not the "(cash)" account', + 'search_modifier_not_destination_account_id' => 'ID da conta de destino não é :value', + 'search_modifier_destination_is_cash' => 'A conta de destino é conta "(dinheiro)"', + 'search_modifier_not_destination_is_cash' => 'A conta de destino não é a conta "(dinheiro)"', + 'search_modifier_source_is_cash' => 'A conta de origem é a conta "(dinheiro)"', + 'search_modifier_not_source_is_cash' => 'A conta de origem não é a conta "(dinheiro)"', 'search_modifier_destination_account_nr_is' => 'Número da conta de destino (IBAN) é ":value"', - 'search_modifier_not_destination_account_nr_is' => 'Destination account number (IBAN) is ":value"', + 'search_modifier_not_destination_account_nr_is' => 'Número da conta de destino (IBAN) é ":value"', 'search_modifier_destination_account_nr_contains' => 'Número da conta de destino (IBAN) contém ":value"', - 'search_modifier_not_destination_account_nr_contains' => 'Destination account number (IBAN) does not contain ":value"', + 'search_modifier_not_destination_account_nr_contains' => 'Número da conta de destino (IBAN) não contém ":value"', 'search_modifier_destination_account_nr_starts' => 'Número da conta de destino (IBAN) começa com ":value"', - 'search_modifier_not_destination_account_nr_starts' => 'Destination account number (IBAN) does not start with ":value"', + 'search_modifier_not_destination_account_nr_starts' => 'Número da conta de destino (IBAN) não começa com ":value"', 'search_modifier_destination_account_nr_ends' => 'Número da conta de destino (IBAN) termina com ":value"', - 'search_modifier_not_destination_account_nr_ends' => 'Destination account number (IBAN) does not end with ":value"', + 'search_modifier_not_destination_account_nr_ends' => 'Número da conta de destino (IBAN) não termina com ":value"', 'search_modifier_account_id' => 'ID(s) da conta de origem ou destino é/são: :value', - 'search_modifier_not_account_id' => 'Source or destination account ID\'s is/are not: :value', + 'search_modifier_not_account_id' => 'ID(s) da conta de origem ou destino não é/são: :value', 'search_modifier_category_is' => 'A categoria é ":value"', - 'search_modifier_not_category_is' => 'Category is not ":value"', + 'search_modifier_not_category_is' => 'A categoria não é ":value"', 'search_modifier_budget_is' => 'O orçamento é ":value"', 'search_modifier_not_budget_is' => 'Orçamento não é ":value"', 'search_modifier_bill_is' => 'Conta é ":value"', @@ -1037,7 +1037,7 @@ return [ 'rule_trigger_not_source_account_id' => 'Source account ID is not ":trigger_value"', 'rule_trigger_not_destination_account_id' => 'Destination account ID is not ":trigger_value"', 'rule_trigger_not_transaction_type' => 'Transaction type is not ":trigger_value"', - 'rule_trigger_not_tag_is' => 'Tag is not ":trigger_value"', + 'rule_trigger_not_tag_is' => 'A etiqueta não é ":trigger_value"', 'rule_trigger_not_tag_is_not' => 'A tag é ":trigger_value"', 'rule_trigger_not_description_is' => 'Descrição não é ":trigger_value"', 'rule_trigger_not_description_contains' => 'Descrição não contém', @@ -1088,55 +1088,55 @@ return [ 'rule_trigger_not_external_id_ends' => 'ID Externo não termina em ":trigger_value"', 'rule_trigger_not_external_id_starts' => 'ID Externo não inicia com ":trigger_value"', 'rule_trigger_not_internal_reference_is' => 'Referência interna não é ":trigger_value"', - 'rule_trigger_not_internal_reference_contains' => 'Internal reference does not contain ":trigger_value"', - 'rule_trigger_not_internal_reference_ends' => 'Internal reference does not end on ":trigger_value"', - 'rule_trigger_not_internal_reference_starts' => 'Internal reference does not start with ":trigger_value"', - 'rule_trigger_not_external_url_is' => 'External URL is not ":trigger_value"', - 'rule_trigger_not_external_url_contains' => 'External URL does not contain ":trigger_value"', - 'rule_trigger_not_external_url_ends' => 'External URL does not end on ":trigger_value"', - 'rule_trigger_not_external_url_starts' => 'External URL does not start with ":trigger_value"', - 'rule_trigger_not_currency_is' => 'Currency is not ":trigger_value"', - 'rule_trigger_not_foreign_currency_is' => 'Foreign currency is not ":trigger_value"', - 'rule_trigger_not_id' => 'Transaction ID is not ":trigger_value"', - 'rule_trigger_not_journal_id' => 'Transaction journal ID is not ":trigger_value"', - 'rule_trigger_not_recurrence_id' => 'Recurrence ID is not ":trigger_value"', - 'rule_trigger_not_date_on' => 'Date is not on ":trigger_value"', - 'rule_trigger_not_date_before' => 'Date is not before ":trigger_value"', - 'rule_trigger_not_date_after' => 'Date is not after ":trigger_value"', - 'rule_trigger_not_interest_date_on' => 'Interest date is not on ":trigger_value"', - 'rule_trigger_not_interest_date_before' => 'Interest date is not before ":trigger_value"', - 'rule_trigger_not_interest_date_after' => 'Interest date is not after ":trigger_value"', - 'rule_trigger_not_book_date_on' => 'Book date is not on ":trigger_value"', - 'rule_trigger_not_book_date_before' => 'Book date is not before ":trigger_value"', - 'rule_trigger_not_book_date_after' => 'Book date is not after ":trigger_value"', - 'rule_trigger_not_process_date_on' => 'Process date is not on ":trigger_value"', - 'rule_trigger_not_process_date_before' => 'Process date is not before ":trigger_value"', - 'rule_trigger_not_process_date_after' => 'Process date is not after ":trigger_value"', - 'rule_trigger_not_due_date_on' => 'Due date is not on ":trigger_value"', - 'rule_trigger_not_due_date_before' => 'Due date is not before ":trigger_value"', - 'rule_trigger_not_due_date_after' => 'Due date is not after ":trigger_value"', - 'rule_trigger_not_payment_date_on' => 'Payment date is not on ":trigger_value"', - 'rule_trigger_not_payment_date_before' => 'Payment date is not before ":trigger_value"', - 'rule_trigger_not_payment_date_after' => 'Payment date is not after ":trigger_value"', - 'rule_trigger_not_invoice_date_on' => 'Invoice date is not on ":trigger_value"', - 'rule_trigger_not_invoice_date_before' => 'Invoice date is not before ":trigger_value"', - 'rule_trigger_not_invoice_date_after' => 'Invoice date is not after ":trigger_value"', - 'rule_trigger_not_created_at_on' => 'Transaction is not created on ":trigger_value"', - 'rule_trigger_not_created_at_before' => 'Transaction is not created before ":trigger_value"', - 'rule_trigger_not_created_at_after' => 'Transaction is not created after ":trigger_value"', - 'rule_trigger_not_updated_at_on' => 'Transaction is not updated on ":trigger_value"', - 'rule_trigger_not_updated_at_before' => 'Transaction is not updated before ":trigger_value"', - 'rule_trigger_not_updated_at_after' => 'Transaction is not updated after ":trigger_value"', - 'rule_trigger_not_amount_is' => 'Transaction amount is not ":trigger_value"', - 'rule_trigger_not_amount_less' => 'Transaction amount is more than ":trigger_value"', - 'rule_trigger_not_amount_more' => 'Transaction amount is less than ":trigger_value"', - 'rule_trigger_not_foreign_amount_is' => 'Foreign transaction amount is not ":trigger_value"', - 'rule_trigger_not_foreign_amount_less' => 'Foreign transaction amount is more than ":trigger_value"', - 'rule_trigger_not_foreign_amount_more' => 'Foreign transaction amount is less than ":trigger_value"', - 'rule_trigger_not_attachment_name_is' => 'No attachment is named ":trigger_value"', - 'rule_trigger_not_attachment_name_contains' => 'No attachment name contains ":trigger_value"', - 'rule_trigger_not_attachment_name_starts' => 'No attachment name starts with ":trigger_value"', - 'rule_trigger_not_attachment_name_ends' => 'No attachment name ends on ":trigger_value"', + 'rule_trigger_not_internal_reference_contains' => 'Referência interna não contém ":trigger_value"', + 'rule_trigger_not_internal_reference_ends' => 'Referência interna não termina em ":trigger_value"', + 'rule_trigger_not_internal_reference_starts' => 'Referência interna não começa com ":trigger_value"', + 'rule_trigger_not_external_url_is' => 'URL externa não é ":trigger_value"', + 'rule_trigger_not_external_url_contains' => 'URL externa não contém ":trigger_value"', + 'rule_trigger_not_external_url_ends' => 'URL externa não termina em ":trigger_value"', + 'rule_trigger_not_external_url_starts' => 'URL externa não inicia com ":trigger_value"', + 'rule_trigger_not_currency_is' => 'A moeda não é ":trigger_value"', + 'rule_trigger_not_foreign_currency_is' => 'A moeda estrangeira não é ":trigger_value"', + 'rule_trigger_not_id' => 'O identificador da transação não é ":trigger_value"', + 'rule_trigger_not_journal_id' => 'Identificador do livro de transação não é ":trigger_value"', + 'rule_trigger_not_recurrence_id' => 'Identificador recorrente não é ":trigger_value"', + 'rule_trigger_not_date_on' => 'A data não está em ":trigger_value"', + 'rule_trigger_not_date_before' => 'A data não está antes de ":trigger_value"', + 'rule_trigger_not_date_after' => 'A data não está após ":trigger_value"', + 'rule_trigger_not_interest_date_on' => 'Data de juros não é em ":trigger_value"', + 'rule_trigger_not_interest_date_before' => 'Data de juros não é anterior a ":trigger_value"', + 'rule_trigger_not_interest_date_after' => 'Data de juros não é posterior a ":trigger_value"', + 'rule_trigger_not_book_date_on' => 'Data de agendamento não é em ":trigger_value"', + 'rule_trigger_not_book_date_before' => 'Data de agendamento não é antes de ":trigger_value"', + 'rule_trigger_not_book_date_after' => 'Data de agendamento não é após ":trigger_value"', + 'rule_trigger_not_process_date_on' => 'Data de processamento não é em ":trigger_value"', + 'rule_trigger_not_process_date_before' => 'Data de processamento não é antes de ":trigger_value"', + 'rule_trigger_not_process_date_after' => 'Data de processamento não é após ":trigger_value"', + 'rule_trigger_not_due_date_on' => 'Data de vencimento não é em ":trigger_value"', + 'rule_trigger_not_due_date_before' => 'Data de vencimento não é antes de ":trigger_value"', + 'rule_trigger_not_due_date_after' => 'Data de vencimento não é após ":trigger_value"', + 'rule_trigger_not_payment_date_on' => 'Data do pagamento não é em ":trigger_value"', + 'rule_trigger_not_payment_date_before' => 'Data do pagamento não é antes de ":trigger_value"', + 'rule_trigger_not_payment_date_after' => 'Data do pagamento não é após ":trigger_value"', + 'rule_trigger_not_invoice_date_on' => 'Data da fatura não é em ":trigger_value"', + 'rule_trigger_not_invoice_date_before' => 'Data da fatura não é antes de ":trigger_value"', + 'rule_trigger_not_invoice_date_after' => 'Data da fatura não é depois de ":trigger_value"', + 'rule_trigger_not_created_at_on' => 'A transação não foi criada em ":trigger_value"', + 'rule_trigger_not_created_at_before' => 'A transação não foi criada antes de ":trigger_value"', + 'rule_trigger_not_created_at_after' => 'A transação não foi criada depois de ":trigger_value"', + 'rule_trigger_not_updated_at_on' => 'A transação não foi atualizada em ":trigger_value"', + 'rule_trigger_not_updated_at_before' => 'A transação não foi atualizada antes de ":trigger_value"', + 'rule_trigger_not_updated_at_after' => 'A transação não foi atualizada depois de ":trigger_value"', + 'rule_trigger_not_amount_is' => 'O valor da transação não é ":trigger_value"', + 'rule_trigger_not_amount_less' => 'O valor da transação é maior que ":trigger_value"', + 'rule_trigger_not_amount_more' => 'O valor da transação é menor que ":trigger_value"', + 'rule_trigger_not_foreign_amount_is' => 'O valor da transação estrangeira não é ":trigger_value"', + 'rule_trigger_not_foreign_amount_less' => 'O valor da transação estrangeira é maior que ":trigger_value"', + 'rule_trigger_not_foreign_amount_more' => 'O valor da transação estrangeira é menor que ":trigger_value"', + 'rule_trigger_not_attachment_name_is' => 'Nenhum anexo é nomeado ":trigger_value"', + 'rule_trigger_not_attachment_name_contains' => 'Nenhum nome do anexo contém ":trigger_value"', + 'rule_trigger_not_attachment_name_starts' => 'Nenhum nome de anexo começa com ":trigger_value"', + 'rule_trigger_not_attachment_name_ends' => 'Nenhum nome do anexo termina em ":trigger_value"', 'rule_trigger_not_attachment_notes_are' => 'No attachment notes are ":trigger_value"', 'rule_trigger_not_attachment_notes_contains' => 'No attachment notes contain ":trigger_value"', 'rule_trigger_not_attachment_notes_starts' => 'No attachment notes start with ":trigger_value"', @@ -1218,9 +1218,9 @@ return [ 'rulegroup_for_bills_title' => 'Grupo de regras para contas', 'rulegroup_for_bills_description' => 'A special rule group for all the rules that involve bills.', 'rule_for_bill_title' => 'Auto-generated rule for bill ":name"', - 'rule_for_bill_description' => 'This rule is auto-generated to try to match bill ":name".', + 'rule_for_bill_description' => 'Esta regra é gerada automaticamente para tentar corresponder à conta ":name".', 'create_rule_for_bill' => 'Criar uma nova regra para a conta ":name"', - 'create_rule_for_bill_txt' => 'You have just created a new bill called ":name", congratulations!Firefly III can automagically match new withdrawals to this bill. For example, whenever you pay your rent, the bill "rent" will be linked to the expense. This way, Firefly III can accurately show you which bills are due and which ones aren\'t. In order to do so, a new rule must be created. Firefly III has filled in some sensible defaults for you. Please make sure these are correct. If these values are correct, Firefly III will automatically link the correct withdrawal to the correct bill. Please check out the triggers to see if they are correct, and add some if they\'re wrong.', + 'create_rule_for_bill_txt' => 'Você acabou de criar uma nova conta chamada ":name". Parabéns! O Firefly III pode combinar automagicamente novas retiradas com essa conta. Por exemplo, sempre que você pagar seu aluguel, a conta "aluguel" será vinculada a essa despesa. Dessa forma, o Firefly III pode mostrar com precisão quais contas estão vencidas e quais não estão. Para isso, uma nova regra deve ser criada. O Firefly III preencheu algumas informações por você. Por favor, verifique se está tudo certo. Se estiverem corretas, o Firefly III irá vincular as retiradas a essas contas automaticamente. Por favor, confira os gatilhos e adicione outros se estiverem errados.', 'new_rule_for_bill_title' => 'Regra para a conta ":name"', 'new_rule_for_bill_description' => 'Esta regra marca as transações para a conta ":name".', @@ -1293,7 +1293,7 @@ return [ 'preferences_frontpage' => 'Tela inicial', 'preferences_security' => 'Segurança', 'preferences_layout' => 'Interface', - 'preferences_notifications' => 'Notifications', + 'preferences_notifications' => 'Notificações', 'pref_home_show_deposits' => 'Depósitos de mostrar na tela inicial', 'pref_home_show_deposits_info' => 'A tela inicial já mostra suas contas de despesas. Deveria também mostrar suas receitas?', 'pref_home_do_show_deposits' => 'Sim, mostrar-lhes', @@ -1324,29 +1324,29 @@ return [ 'optional_field_attachments' => 'Anexos', 'optional_field_meta_data' => 'Meta dados opcionais', 'external_url' => 'URL externa', - 'pref_notification_bill_reminder' => 'Reminder about expiring bills', - 'pref_notification_new_access_token' => 'Alert when a new API access token is created', - 'pref_notification_transaction_creation' => 'Alert when a transaction is created automatically', - 'pref_notification_user_login' => 'Alert when you login from a new location', - 'pref_notifications' => 'Notifications', - 'pref_notifications_help' => 'Indicate if these are notifications you would like to get. Some notifications may contain sensitive financial information.', - 'slack_webhook_url' => 'Slack Webhook URL', - 'slack_webhook_url_help' => 'If you want Firefly III to notify you using Slack, enter the webhook URL here. Otherwise leave the field blank. If you are an admin, you need to set this URL in the administration as well.', - 'slack_url_label' => 'Slack "incoming webhook" URL', + 'pref_notification_bill_reminder' => 'Lembrete sobre expiração de faturas', + 'pref_notification_new_access_token' => 'Alerta quando um novo token de acesso à API é criado', + 'pref_notification_transaction_creation' => 'Alerta quando uma transação é criada automaticamente', + 'pref_notification_user_login' => 'Alertar quando você logar de uma nova localidade', + 'pref_notifications' => 'Notificações', + 'pref_notifications_help' => 'Indique se estas são notificações que você gostaria de receber. Algumas notificações podem conter informações financeiras sensíveis.', + 'slack_webhook_url' => 'URL de Webhook do Slack', + 'slack_webhook_url_help' => 'Se você quiser que o Firefly III envie notificações usando o Slack, digite a URL do webhook aqui. Caso contrário, deixe o campo em branco. Se você é um administrador, você precisa definir esta URL também na administração.', + 'slack_url_label' => 'URL do webhook de entrada do Slack', // profile: - 'purge_data_title' => 'Purge data from Firefly III', - 'purge_data_expl' => '"Purging" means "deleting that which is already deleted". In normal circumstances, Firefly III deletes nothing permanently. It just hides it. The button below deletes all of these previously "deleted" records FOREVER.', - 'delete_stuff_header' => 'Delete and purge data', - 'purge_all_data' => 'Purge all deleted records', - 'purge_data' => 'Purge data', - 'purged_all_records' => 'All deleted records have been purged.', - 'delete_data_title' => 'Delete data from Firefly III', - 'permanent_delete_stuff' => 'You can delete stuff from Firefly III. Using the buttons below means that your items will be removed from view and hidden. There is no undo-button for this, but the items may remain in the database where you can salvage them if necessary.', + 'purge_data_title' => 'Excluir dados do Firefly III', + 'purge_data_expl' => '"Purgar" significa "apagar o que já está excluído". Em circunstâncias normais, o Firefly III não exclui nada permanentemente. Ela apenas o esconde. O botão abaixo exclui todos estes registros "excluídos" anteriores.', + 'delete_stuff_header' => 'Apagar e purgar dados', + 'purge_all_data' => 'Purgar Registros Excluídos', + 'purge_data' => 'Purgar dados', + 'purged_all_records' => 'Todos os registros de apagados foram purgados.', + 'delete_data_title' => 'Excluir dados do Firefly III', + 'permanent_delete_stuff' => 'Você pode excluir coisas do Firefly III. Usar os botões abaixo significa que seus itens serão removidos da visualização e ocultos. Não há botão de desfazer para isso, mas os itens podem permanecer no banco de dados onde você pode salvá-los se necessário.', 'other_sessions_logged_out' => 'Todas as suas outras sessões foram desconectadas.', - 'delete_unused_accounts' => 'Deleting unused accounts will clean your auto-complete lists.', - 'delete_all_unused_accounts' => 'Delete unused accounts', - 'deleted_all_unused_accounts' => 'All unused accounts are deleted', + 'delete_unused_accounts' => 'Excluir contas não utilizadas limpará suas listas de preenchimento automático.', + 'delete_all_unused_accounts' => 'Apagar contas não utilizadas', + 'deleted_all_unused_accounts' => 'Todas as contas não utilizadas foram excluídas', 'delete_all_budgets' => 'Excluir TODOS os seus orçamentos', 'delete_all_categories' => 'Excluir TODAS as suas categorias', 'delete_all_tags' => 'Excluir TODAS as suas tags', @@ -1486,9 +1486,9 @@ return [ 'title_deposit' => 'Receita / Renda', 'title_transfer' => 'Transferências', 'title_transfers' => 'Transferências', - 'submission_options' => 'Submission options', - 'apply_rules_checkbox' => 'Apply rules', - 'fire_webhooks_checkbox' => 'Fire webhooks', + 'submission_options' => 'Opções de envio', + 'apply_rules_checkbox' => 'Aplicar regras', + 'fire_webhooks_checkbox' => 'Acionar webhooks', // convert stuff: 'convert_is_already_type_Withdrawal' => 'Esta transação é já uma retirada', @@ -1644,7 +1644,7 @@ return [ // bills: 'not_expected_period' => 'Não esperado este período', 'not_or_not_yet' => 'Não (ainda)', - 'visit_bill' => 'Visit bill ":name" at Firefly III', + 'visit_bill' => 'Visite a fatura ":name" no Firefly III', 'match_between_amounts' => 'Conta corresponde a transações entre :low e :high.', 'running_again_loss' => 'Transações previamente vinculadas a esta conta podem perder sua conexão se elas (não mais) corresponderem à(s) regra(s).', 'bill_related_rules' => 'Regras relacionadas a esta conta', @@ -2242,13 +2242,13 @@ return [ 'number_of_decimals' => 'Número de casas decimais', // administration - 'invite_new_user_title' => 'Invite new user', - 'invite_new_user_text' => 'As an administrator, you can invite users to register on your Firefly III administration. Using the direct link you can share with them, they will be able to register an account. The invited user and their invite link will appear in the table below. You are free to share the invitation link with them.', - 'invited_user_mail' => 'Email address', - 'invite_user' => 'Invite user', - 'user_is_invited' => 'Email address ":address" was invited to Firefly III', + 'invite_new_user_title' => 'Convidar novo usuário', + 'invite_new_user_text' => 'Como administrador, você pode convidar usuários para se registrarem na administração do Firefly III. Usando o link direto que você pode compartilhar, eles serão capazes de registrar uma conta. O usuário convidado e seu link de convite aparecerão na tabela abaixo. Você é livre para compartilhar com eles o link do convite.', + 'invited_user_mail' => 'E-mail', + 'invite_user' => 'Convidar usuário', + 'user_is_invited' => 'O e-mail ":address" foi convidado para Firefly III', 'administration' => 'Administração', - 'code_already_used' => 'Invite code has been used', + 'code_already_used' => 'O código de convite foi utilizado', 'user_administration' => 'Administração de usuários', 'list_all_users' => 'Todos os usuários', 'all_users' => 'Todos os usuários', @@ -2280,23 +2280,23 @@ return [ 'delete_user' => 'Excluir usuário :email', 'user_deleted' => 'O usuário foi apagado', 'send_test_email' => 'Enviar e-mail de teste', - 'send_test_email_text' => 'To see if your installation is capable of sending email or posting Slack messages, please press this button. You will not see an error here (if any), the log files will reflect any errors. You can press this button as many times as you like. There is no spam control. The message will be sent to :email and should arrive shortly.', + 'send_test_email_text' => 'Para verificar se a sua instalação é capaz de enviar e-mail ou postar mensagens no Slack, pressione este botão. Você não verá um erro aqui (se houver), os arquivos de log refletirão quaisquer erros. Você pode pressionar este botão quantas vezes quiser. Não há controle de spam. A mensagem será enviada para :email e deve chegar em breve.', 'send_message' => 'Enviar mensagem', 'send_test_triggered' => 'O teste foi desencadeado. Verifique a sua caixa de entrada e os arquivos de log.', 'give_admin_careful' => 'Os usuários que obtiverem direitos de administrador podem retirar os seus. Tenha cuidado.', 'admin_maintanance_title' => 'Manutenção', 'admin_maintanance_expl' => 'Alguns botões úteis para a manutenção do Firefly III', 'admin_maintenance_clear_cache' => 'Limpar o cache', - 'admin_notifications' => 'Admin notifications', - 'admin_notifications_expl' => 'The following notifications can be enabled or disabled by the administrator. If you want to get these messages over Slack as well, set the "incoming webhook" URL.', - 'admin_notification_check_user_new_reg' => 'User gets post-registration welcome message', - 'admin_notification_check_admin_new_reg' => 'Administrator(s) get new user registration notification', - 'admin_notification_check_new_version' => 'A new version is available', - 'admin_notification_check_invite_created' => 'A user is invited to Firefly III', - 'admin_notification_check_invite_redeemed' => 'A user invitation is redeemed', - 'all_invited_users' => 'All invited users', - 'save_notification_settings' => 'Save settings', - 'notification_settings_saved' => 'The notification settings have been saved', + 'admin_notifications' => 'Notificações do Administrador', + 'admin_notifications_expl' => 'As seguintes notificações podem ser ativadas ou desativadas pelo administrador. Se você quiser ter essas mensagens no Slack, defina a URL de "webhook de entrada".', + 'admin_notification_check_user_new_reg' => 'Usuário recebe mensagem de boas-vindas pós-registro', + 'admin_notification_check_admin_new_reg' => 'Administrador(es) recebem uma notificação de registro de novo usuário', + 'admin_notification_check_new_version' => 'Uma nova versão está disponível', + 'admin_notification_check_invite_created' => 'Um usuário foi convidado para Firefly III', + 'admin_notification_check_invite_redeemed' => 'Um convite de usuário foi resgatado', + 'all_invited_users' => 'Todos os usuários convidados', + 'save_notification_settings' => 'Salvar configurações', + 'notification_settings_saved' => 'As configurações de notificação foram salvas', 'split_transaction_title' => 'Descrição da transação dividida', @@ -2545,24 +2545,24 @@ return [ 'placeholder' => '[Placeholder]', // audit log entries - 'audit_log_entries' => 'Audit log entries', - 'ale_action_log_add' => 'Added :amount to piggy bank ":name"', - 'ale_action_log_remove' => 'Removed :amount from piggy bank ":name"', - 'ale_action_clear_budget' => 'Removed from budget', - 'ale_action_clear_category' => 'Removed from category', - 'ale_action_clear_notes' => 'Removed notes', - 'ale_action_clear_tag' => 'Cleared tag', - 'ale_action_clear_all_tags' => 'Cleared all tags', - 'ale_action_set_bill' => 'Linked to bill', - 'ale_action_set_budget' => 'Set budget', - 'ale_action_set_category' => 'Set category', - 'ale_action_set_source' => 'Set source account', - 'ale_action_set_destination' => 'Set destination account', - 'ale_action_update_transaction_type' => 'Changed transaction type', - 'ale_action_update_notes' => 'Changed notes', - 'ale_action_update_description' => 'Changed description', - 'ale_action_add_to_piggy' => 'Piggy bank', - 'ale_action_remove_from_piggy' => 'Piggy bank', - 'ale_action_add_tag' => 'Added tag', + 'audit_log_entries' => 'Entradas do log de auditoria', + 'ale_action_log_add' => 'Adicionado :amount ao cofrinho ":name"', + 'ale_action_log_remove' => 'Retirado :amount do cofrinho ":name"', + 'ale_action_clear_budget' => 'Removido do orçamento', + 'ale_action_clear_category' => 'Removido da categoria', + 'ale_action_clear_notes' => 'Anotações removidas', + 'ale_action_clear_tag' => 'Etiquetas apagadas', + 'ale_action_clear_all_tags' => 'Todas as etiquetas foram apagadas', + 'ale_action_set_bill' => 'Ligado à fatura', + 'ale_action_set_budget' => 'Definir orçamento', + 'ale_action_set_category' => 'Definir categoria', + 'ale_action_set_source' => 'Definir conta de origem', + 'ale_action_set_destination' => 'Definir conta de destino', + 'ale_action_update_transaction_type' => 'Tipo de transação alterado', + 'ale_action_update_notes' => 'Anotações alteradas', + 'ale_action_update_description' => 'Descrição alterada', + 'ale_action_add_to_piggy' => 'Cofrinho', + 'ale_action_remove_from_piggy' => 'Cofrinho', + 'ale_action_add_tag' => 'Etiqueta adicionada', ]; diff --git a/resources/lang/ru_RU/breadcrumbs.php b/resources/lang/ru_RU/breadcrumbs.php index 456a5192ea..abafc66b49 100644 --- a/resources/lang/ru_RU/breadcrumbs.php +++ b/resources/lang/ru_RU/breadcrumbs.php @@ -24,14 +24,13 @@ declare(strict_types=1); return [ 'home' => 'Главная', - 'budgets' => 'массив[\'бюджеты\']', - 'subscriptions' => 'массив[\'подписки\']', - 'transactions' => 'массив[\'транзакции\']', - 'title_expenses' => 'массив[\'название_расходы\'] -', - 'title_withdrawal' => 'массив[\'название_снятие\']', - 'title_revenue' => 'массив[\'название_доход\']', - 'title_deposit' => 'массив[\'название_депозит\']', + 'budgets' => 'Бюджет', + 'subscriptions' => 'Подписки', + 'transactions' => 'Транзакции', + 'title_expenses' => 'Расходы', + 'title_withdrawal' => 'Расходы', + 'title_revenue' => 'Доходы / поступления', + 'title_deposit' => 'Доходы / поступления', 'title_transfer' => 'Перевод', 'title_transfers' => 'Переводы', 'edit_currency' => 'Редактирование валюты ":name"', @@ -71,10 +70,9 @@ return [ 'edit_object_group' => 'Редактировать группу ":title"', 'delete_object_group' => 'Удалить группу ":title"', 'logout_others' => 'Завершить другие сессии', - 'asset_accounts' => 'массив [\'актив_учетные записи\'] -', - 'expense_accounts' => 'массив [\'расход_счетов\']', - 'revenue_accounts' => 'массив[\'доход_счетов\']', - 'liabilities_accounts' => 'массив [\'пассивные_счета\']', - 'placeholder' => 'Не стесняйтесь держать этот английский.', + 'asset_accounts' => 'Основные счета', + 'expense_accounts' => 'Счета расходов', + 'revenue_accounts' => 'Счета доходов', + 'liabilities_accounts' => 'Долги', + 'placeholder' => '[Placeholder]', ]; diff --git a/resources/lang/ru_RU/config.php b/resources/lang/ru_RU/config.php index 4895368975..ebb0ee4f7d 100644 --- a/resources/lang/ru_RU/config.php +++ b/resources/lang/ru_RU/config.php @@ -24,25 +24,24 @@ declare(strict_types=1); return [ 'html_language' => 'ru', - 'locale' => 'ru_RU.utf8, ru_RU.UTF-8', + 'locale' => 'ru, Russian, ru_RU.utf8, ru_RU.UTF-8', //'month' => '%B %Y', 'month_js' => 'MMMM YYYY', //'month_and_day' => '%B %e, %Y', 'month_and_day_moment_js' => 'D MMM YYYY', - 'month_and_day_fns' => 'MMMM д, г', + 'month_and_day_fns' => 'd MMMM yyyy', 'month_and_day_js' => 'Do MMMM YYYY', //'month_and_date_day' => '%A %B %e, %Y', 'month_and_date_day_js' => 'Do MMMM YYYY', //'month_and_day_no_year' => '%B %e', - 'month_and_day_no_year_js' => 'Ключ: массив [\'месяц _ и _ день _ нет _ год _ js\']', + 'month_and_day_no_year_js' => 'Do MMMM', //'date_time' => '%B %e, %Y, @ %T', 'date_time_js' => 'Do MMMM YYYY, @ HH:mm:ss', - 'date_time_fns' => 'Ключ: массив [\' дата _ время _ fns \'] -массив[\'дата_время_fns\']', + 'date_time_fns' => 'do MMMM yyyy, @ HH:mm:ss', //'specific_day' => '%e %B %Y', 'specific_day_js' => 'D MMMM YYYY', @@ -57,8 +56,8 @@ return [ //'half_year' => '%B %Y', 'half_year_js' => '\QQ YYYY', - 'quarter_fns' => "Ключ: массив['четверть_fns']", - 'half_year_fns' => "Ключ: массив ['половина _ года _ fns']", + 'quarter_fns' => "Q'-й квартал', yyyy", + 'half_year_fns' => "'{half}-е полугодие', yyyy", 'dow_1' => 'Понедельник', 'dow_2' => 'Вторник', 'dow_3' => 'Среда', diff --git a/resources/lang/ru_RU/email.php b/resources/lang/ru_RU/email.php index b9627ac2f7..5c46f48d8d 100644 --- a/resources/lang/ru_RU/email.php +++ b/resources/lang/ru_RU/email.php @@ -35,11 +35,11 @@ return [ // invite 'invitation_created_subject' => 'Приглашение было создано', - 'invitation_created_body' => 'Admin user ":email" created a user invitation which can be used by whoever is behind email address ":invitee". The invite will be valid for 48hrs.', - 'invite_user_subject' => 'You\'ve been invited to create a Firefly III account.', - 'invitation_introduction' => 'You\'ve been invited to create a Firefly III account on **:host**. Firefly III is a personal, self-hosted, private personal finance manager. All the cool kids are using it.', - 'invitation_invited_by' => 'You\'ve been invited by ":admin" and this invitation was sent to ":invitee". That\'s you, right?', - 'invitation_url' => 'The invitation is valid for 48 hours and can be redeemed by surfing to [Firefly III](:url). Enjoy!', + 'invitation_created_body' => 'Администратор ":email" создал приглашение пользователю с адресом электронной почты ":invitee". Приглашение действительно в течение 48 часов.', + 'invite_user_subject' => 'Вас пригласили создать аккаунт в Firefly III.', + 'invitation_introduction' => 'Вас пригласили создать аккаунт Firefly III на **:host**. Firefly III – это персональный, приватный менеджер финансов, размещаемый на собственном сервере. Все крутые ребята им пользуются.', + 'invitation_invited_by' => 'Вас пригласил ":admin" и это приглашение было отправлено ":invitee". Это вы, верно?', + 'invitation_url' => 'Приглашение действительно в течение 48 часов и может быть использовано на [Firefly III](:url). Наслаждайтесь!', // new IP 'login_from_new_ip' => 'Новый вход в Firefly III', @@ -59,7 +59,7 @@ return [ // registered 'registered_subject' => 'Добро пожаловать в Firefly III!', 'registered_subject_admin' => 'Новый пользователь зарегистрирован', - 'admin_new_user_registered' => 'Зарегистрирован новый пользователь с электронной почтой: **:email** ему присвое ID #:id.', + 'admin_new_user_registered' => 'Зарегистрирован новый пользователь с электронной почтой: **:email** ему присвоен ID #:id.', 'registered_welcome' => 'Добро пожаловать в [Firefly III](:address). Подтверждаем вашу регистрацию этим e-mail. Ура!', 'registered_pw' => 'Если вы забыли ваш пароль, пожалуйста, создайте его повторно используя [оснастку по сбросу пароля](:address/password/reset).', 'registered_help' => 'В верхнем правом углу страницы есть иконка справки. Если вам нужна помощь, нажмите её!', @@ -89,7 +89,7 @@ return [ 'oauth_created_subject' => 'Создан новый OAuth клиент', 'oauth_created_body' => 'Кто-то (надеемся, что вы) только что создал новый клиент API OAuth для вашей учетной записи с именем ":name" и обратным URL `:url`.', 'oauth_created_explanation' => 'С помощью этого токена, доступны **все** ваши финансовые записи через Firefly III API.', - 'oauth_created_undo' => 'Если это были не вы, пожалуйста, отховите этого клиента как можно скорее по адресу `:url`', + 'oauth_created_undo' => 'Если это были не вы, пожалуйста, отзовите этого клиента как можно скорее по адресу `:url`', // reset password 'reset_pw_subject' => 'Ваш запрос на сброс пароля', @@ -103,7 +103,7 @@ return [ 'error_timestamp' => 'Ошибка произошла в: :time.', 'error_location' => 'Эта ошибка произошла в файле :file в строке :line с кодом :code.', 'error_user' => 'У пользователя #:id произошла ошибка, :email.', - 'error_no_user' => 'Б процессе этой ошибки пользователь не был авторизован или пользователь не был обнаружен.', + 'error_no_user' => 'Пользователь не авторизован из-за этой ошибки или пользователь не был обнаружен.', 'error_ip' => 'IP адрес, связанный с этой ошибкой: :ip', 'error_url' => 'URL-адрес: :url', 'error_user_agent' => 'User agent: :userAgent', @@ -122,8 +122,8 @@ return [ 'bill_warning_subject_now_end_date' => 'Ваш счет ":name" заканчивается сегодня', 'bill_warning_subject_extension_date' => 'Ваш счет ":name" необходимо продлить или отменить через :diff дней', 'bill_warning_subject_now_extension_date' => 'Ваш счет ":name" должен быть продлен или отменен сегодня', - 'bill_warning_end_date' => 'Срок действия вашего счета **":name"** истекает :date. Этот момент пройдет примерно через **:diff days**.', - 'bill_warning_extension_date' => 'Ваш счет **":name"** необходимо продлить или отменить :date. Этот момент пройдет примерно через **:diff days**.', + 'bill_warning_end_date' => 'Срок действия вашего счета **":name"** истекает :date. Осталось примерно **:diff дней**.', + 'bill_warning_extension_date' => 'Ваш счет **":name"** необходимо продлить или отменить :date. Осталось примерно **:diff дней**.', 'bill_warning_end_date_zero' => 'Срок действия вашего счета **":name"** истекает :date. Это **СЕГОДНЯ!**', 'bill_warning_extension_date_zero' => 'Ваш счет **":name"** необходимо продлить или отменить :date. Это **СЕГОДНЯ!**', 'bill_warning_please_action' => 'Просим принять соответствующие меры.', diff --git a/resources/lang/sl_SI/breadcrumbs.php b/resources/lang/sl_SI/breadcrumbs.php index 360c8eb16c..651ab58fed 100644 --- a/resources/lang/sl_SI/breadcrumbs.php +++ b/resources/lang/sl_SI/breadcrumbs.php @@ -24,15 +24,15 @@ declare(strict_types=1); return [ 'home' => 'Prva stran', - 'budgets' => 'Budgets', - 'subscriptions' => 'Subscriptions', - 'transactions' => 'Transactions', - 'title_expenses' => 'Expenses', - 'title_withdrawal' => 'Expenses', - 'title_revenue' => 'Revenue / income', - 'title_deposit' => 'Revenue / income', - 'title_transfer' => 'Transfers', - 'title_transfers' => 'Transfers', + 'budgets' => 'Proračuni', + 'subscriptions' => 'Naročnine', + 'transactions' => 'Transakcije', + 'title_expenses' => 'Stroški', + 'title_withdrawal' => 'Stroški', + 'title_revenue' => 'Dohodki / prihodki', + 'title_deposit' => 'Dohodki / prihodki', + 'title_transfer' => 'Prenosi', + 'title_transfers' => 'Prenosi', 'edit_currency' => 'uredi valuto ":name"', 'delete_currency' => 'izbriši valuto ":name"', 'newPiggyBank' => 'ustvari novega pujska', @@ -70,9 +70,9 @@ return [ 'edit_object_group' => 'Uredi skupino ":title"', 'delete_object_group' => 'Izbriši skupino ":title"', 'logout_others' => 'Odjavi druge seje', - 'asset_accounts' => 'Asset accounts', - 'expense_accounts' => 'Expense accounts', - 'revenue_accounts' => 'Revenue accounts', - 'liabilities_accounts' => 'Liabilities', + 'asset_accounts' => 'Premoženjski računi', + 'expense_accounts' => 'Računi stroškov', + 'revenue_accounts' => 'Račun prihodkov', + 'liabilities_accounts' => 'Obveznosti', 'placeholder' => '[Placeholder]', ]; diff --git a/resources/lang/sl_SI/config.php b/resources/lang/sl_SI/config.php index 08b9bed0e6..27fb11557d 100644 --- a/resources/lang/sl_SI/config.php +++ b/resources/lang/sl_SI/config.php @@ -37,7 +37,7 @@ return [ 'month_and_date_day_js' => 'dddd MMMM Do, YYYY', //'month_and_day_no_year' => '%B %e', - 'month_and_day_no_year_js' => 'MMMM Do', + 'month_and_day_no_year_js' => 'Do MMMM', //'date_time' => '%B %e, %Y, @ %T', 'date_time_js' => 'D. MMMM, YYYY, @ HH:mm:ss', diff --git a/resources/lang/sl_SI/email.php b/resources/lang/sl_SI/email.php index b35159ac23..da1189f2e8 100644 --- a/resources/lang/sl_SI/email.php +++ b/resources/lang/sl_SI/email.php @@ -27,90 +27,90 @@ return [ 'greeting' => 'Živjo,', 'closing' => 'Beep boop,', 'signature' => 'Firefly III poštni robot', - 'footer_ps' => 'PS: This message was sent because a request from IP :ipAddress triggered it.', + 'footer_ps' => 'PS: To sporočilo je bilo poslano, ker ga je sprožila zahteva iz naslova IP :ipAddress.', // admin test 'admin_test_subject' => 'Testno sporočilo Vaše Firefly III namestitve', - 'admin_test_body' => 'This is a test message from your Firefly III instance. It was sent to :email.', + 'admin_test_body' => 'To je testno sporočilo iz vašega primerka Firefly III. Poslano je bilo na naslov :email.', // invite - 'invitation_created_subject' => 'An invitation has been created', - 'invitation_created_body' => 'Admin user ":email" created a user invitation which can be used by whoever is behind email address ":invitee". The invite will be valid for 48hrs.', - 'invite_user_subject' => 'You\'ve been invited to create a Firefly III account.', - 'invitation_introduction' => 'You\'ve been invited to create a Firefly III account on **:host**. Firefly III is a personal, self-hosted, private personal finance manager. All the cool kids are using it.', - 'invitation_invited_by' => 'You\'ve been invited by ":admin" and this invitation was sent to ":invitee". That\'s you, right?', - 'invitation_url' => 'The invitation is valid for 48 hours and can be redeemed by surfing to [Firefly III](:url). Enjoy!', + 'invitation_created_subject' => 'Ustvarjeno je bilo povabilo', + 'invitation_created_body' => 'Administratorski uporabnik ":email" je ustvaril povabilo, ki ga lahko uporabi vsak, ki se skriva za e-poštnim naslovom ":invitee". Vabilo velja 48 ur.', + 'invite_user_subject' => 'Povabljeni ste bili, da ustvarite račun Firefly III.', + 'invitation_introduction' => 'Povabljeni ste, da ustvarite račun Firefly III na **:host**. Firefly III je zasebni upravitelj osebnih financ, ki ga gostite sami. Uporabljajo ga vsi kul otroci.', + 'invitation_invited_by' => 'Povabil vas je ":admin", to vabilo pa je bilo poslano ":invitee". To ste vi, kajne?', + 'invitation_url' => 'Vabilo velja 48 ur in ga lahko unovčite tako, da brskate po spletnem mestu [Firefly III](:url). Uživajte!', // new IP - 'login_from_new_ip' => 'New login on Firefly III', - 'slack_login_from_new_ip' => 'New Firefly III login from IP :ip (:host)', - 'new_ip_body' => 'Firefly III detected a new login on your account from an unknown IP address. If you never logged in from the IP address below, or it has been more than six months ago, Firefly III will warn you.', - 'new_ip_warning' => 'If you recognize this IP address or the login, you can ignore this message. If you didn\'t login, of if you have no idea what this is about, verify your password security, change it, and log out all other sessions. To do this, go to your profile page. Of course you have 2FA enabled already, right? Stay safe!', - 'ip_address' => 'IP address', + 'login_from_new_ip' => 'Nova prijava v Firefly III', + 'slack_login_from_new_ip' => 'Nova prijava v Firefly III iz IP :ip (:host)', + 'new_ip_body' => 'Firefly III je zaznal novo prijavo v vaš račun z neznanega IP-naslova. Če se še nikoli niste prijavili s spodnjega IP-naslova ali je to že več kot šest mesecev nazaj, vas bo program Firefly III opozoril.', + 'new_ip_warning' => 'Če ta naslov IP ali prijavo prepoznate, tega sporočila ne upoštevajte. Če se niste prijavili ali če nimate pojma, za kaj gre, preverite varnostno geslo, ga spremenite in odjavite vse druge seje. To storite tako, da obiščete stran svojega profila. Seveda že imate omogočeno funkcijo 2FA, kajne? Ostanite varni!', + 'ip_address' => 'IP naslov', 'host_name' => 'Gostitelj', - 'date_time' => 'Date + time', + 'date_time' => 'Datum + ura', // access token created 'access_token_created_subject' => 'Nov žeton za dostop je bil ustvarjen', 'access_token_created_body' => 'Nekdo (upajmo da Vi) je ustvaril nov Firefly III API dostopni žeton za Vaš uporabniški račun.', - 'access_token_created_explanation' => 'With this token, they can access **all** of your financial records through the Firefly III API.', - 'access_token_created_revoke' => 'If this wasn\'t you, please revoke this token as soon as possible at :url', + 'access_token_created_explanation' => 'S tem žetonom lahko prek vmesnika API Firefly III dostopajo do **vseh** vaših finančnih evidenc.', + 'access_token_created_revoke' => 'Če to niste bili vi, čim prej prekličite ta žeton na :url', // registered 'registered_subject' => 'Dobrodošli v Firefly III!', - 'registered_subject_admin' => 'A new user has registered', - 'admin_new_user_registered' => 'A new user has registered. User **:email** was given user ID #:id.', - 'registered_welcome' => 'Welcome to [Firefly III](:address). Your registration has made it, and this email is here to confirm it. Yay!', - 'registered_pw' => 'If you have forgotten your password already, please reset it using [the password reset tool](:address/password/reset).', - 'registered_help' => 'There is a help-icon in the top right corner of each page. If you need help, click it!', - 'registered_doc_html' => 'If you haven\'t already, please read the [grand theory](https://docs.firefly-iii.org/about-firefly-iii/personal-finances).', - 'registered_doc_text' => 'If you haven\'t already, please also read the first use guide and the full description.', + 'registered_subject_admin' => 'Registriral se je nov uporabnik', + 'admin_new_user_registered' => 'Registriral se je nov uporabnik. Uporabniku **:email** je bilo dodeljeno uporabniško ime #:id.', + 'registered_welcome' => 'Dobrodošli v [Firefly III](:address). Vaša registracija je bila opravljena in to e-poštno sporočilo jo potrjuje. Juhu!', + 'registered_pw' => 'Če ste geslo že pozabili, ga ponastavite z uporabo [orodja za ponastavitev gesla](:address/password/reset).', + 'registered_help' => 'V zgornjem desnem kotu vsake strani je ikona pomoči. Če potrebujete pomoč, jo kliknite!', + 'registered_doc_html' => 'Če še niste, preberite [veliko teorijo] (https://docs.firefly-iii.org/about-firefly-iii/personal-finances).', + 'registered_doc_text' => 'Če tega še niste storili, preberite tudi navodila za prvo uporabo in celoten opis.', 'registered_closing' => 'Uživajte!', 'registered_firefly_iii_link' => 'Firefly III:', 'registered_pw_reset_link' => 'Ponastavitev gesla:', 'registered_doc_link' => 'Dokumentacija:', // new version - 'new_version_email_subject' => 'A new Firefly III version is available', + 'new_version_email_subject' => 'Na voljo je nova različica Firefly III', // email change 'email_change_subject' => 'Vaš Firefly III poštni naslov je bil spremenjen', - 'email_change_body_to_new' => 'You or somebody with access to your Firefly III account has changed your email address. If you did not expect this message, please ignore and delete it.', - 'email_change_body_to_old' => 'You or somebody with access to your Firefly III account has changed your email address. If you did not expect this to happen, you **must** follow the "undo"-link below to protect your account!', - 'email_change_ignore' => 'If you initiated this change, you may safely ignore this message.', + 'email_change_body_to_new' => 'Vi ali nekdo z dostopom do vašega računa Firefly III je spremenil vaš e-poštni naslov. Če tega sporočila niste pričakovali, ga prezrite in izbrišite.', + 'email_change_body_to_old' => 'Vi ali nekdo z dostopom do vašega računa Firefly III je spremenil vaš e-poštni naslov. Če tega niste pričakovali, morate za zaščito svojega računa slediti spodnji povezavi "razveljaviti"!', + 'email_change_ignore' => 'Če ste sprožili to spremembo, lahko to sporočilo mirno prezrete.', 'email_change_old' => 'Star poštni naslov je bil: :email', - 'email_change_old_strong' => 'The old email address was: **:email**', + 'email_change_old_strong' => 'Stari e-poštni naslov je bil: **:email**', 'email_change_new' => 'Nov poštni naslov je: :email', - 'email_change_new_strong' => 'The new email address is: **:email**', - 'email_change_instructions' => 'You cannot use Firefly III until you confirm this change. Please follow the link below to do so.', - 'email_change_undo_link' => 'To undo the change, follow this link:', + 'email_change_new_strong' => 'Novi e-poštni naslov je: **:email**', + 'email_change_instructions' => 'Dokler te spremembe ne potrdite, Firefly III ne morete uporabljati. Za to sledite spodnji povezavi.', + 'email_change_undo_link' => 'Če želite preklicati spremembo, sledite tej povezavi:', // OAuth token created - 'oauth_created_subject' => 'A new OAuth client has been created', - 'oauth_created_body' => 'Somebody (hopefully you) just created a new Firefly III API OAuth Client for your user account. It\'s labeled ":name" and has callback URL `:url`.', - 'oauth_created_explanation' => 'With this client, they can access **all** of your financial records through the Firefly III API.', - 'oauth_created_undo' => 'If this wasn\'t you, please revoke this client as soon as possible at `:url`', + 'oauth_created_subject' => 'Ustvarjen je bil nov odjemalec OAuth', + 'oauth_created_body' => 'Nekdo (upam, da vi) je pravkar ustvaril novega odjemalca Firefly III API OAuth za vaš uporabniški račun. Ima oznako ":name" in povratni naslov URL `:url`.', + 'oauth_created_explanation' => 'S tem odjemalcem lahko prek vmesnika API Firefly III dostopajo do **vseh** vaših finančnih evidenc.', + 'oauth_created_undo' => 'Če to niste bili vi, čim prej prekličite to stranko na naslovu `:url`', // reset password - 'reset_pw_subject' => 'Your password reset request', - 'reset_pw_instructions' => 'Somebody tried to reset your password. If it was you, please follow the link below to do so.', - 'reset_pw_warning' => '**PLEASE** verify that the link actually goes to the Firefly III you expect it to go!', + 'reset_pw_subject' => 'Vaša zahteva za ponastavitev gesla', + 'reset_pw_instructions' => 'Nekdo je poskušal ponastaviti vaše geslo. Če ste to storili vi, sledite spodnji povezavi.', + 'reset_pw_warning' => '**PROSIM** preverite, ali povezava dejansko vodi do Firefly III, kamor naj bi vodila!', // error - 'error_subject' => 'Caught an error in Firefly III', - 'error_intro' => 'Firefly III v:version ran into an error: :errorMessage.', - 'error_type' => 'The error was of type ":class".', - 'error_timestamp' => 'The error occurred on/at: :time.', - 'error_location' => 'This error occurred in file ":file" on line :line with code :code.', - 'error_user' => 'The error was encountered by user #:id, :email.', - 'error_no_user' => 'There was no user logged in for this error or no user was detected.', - 'error_ip' => 'The IP address related to this error is: :ip', - 'error_url' => 'URL is: :url', - 'error_user_agent' => 'User agent: :userAgent', - 'error_stacktrace' => 'The full stacktrace is below. If you think this is a bug in Firefly III, you can forward this message to james@firefly-iii.org. This can help fix the bug you just encountered.', - 'error_github_html' => 'If you prefer, you can also open a new issue on GitHub.', - 'error_github_text' => 'If you prefer, you can also open a new issue on https://github.com/firefly-iii/firefly-iii/issues.', - 'error_stacktrace_below' => 'The full stacktrace is below:', + 'error_subject' => 'Ujeli napako v Firefly III', + 'error_intro' => 'Firefly III v:version se je zaletel v napako: :errorMessage.', + 'error_type' => 'Napaka je bila tipa ":class".', + 'error_timestamp' => 'Napaka se je pojavila ob/pri: :time.', + 'error_location' => 'Ta napaka se je pojavila v datoteki ":file" v vrstici :line s kodo :code.', + 'error_user' => 'Na napako je naletel uporabnik #:id, :email.', + 'error_no_user' => 'Za to napako ni bil prijavljen noben uporabnik ali pa ni bil zaznan noben uporabnik.', + 'error_ip' => 'Naslov IP, povezan s to napako, je: :ip', + 'error_url' => 'URL je: :url', + 'error_user_agent' => 'Uporabniški agent: :userAgent', + 'error_stacktrace' => 'Celoten stacktrace je spodaj. Če mislite, da je to bug v Firefly III, lahko to sporočilo posredujete na james@firefly-iii.org. To lahko pomaga popraviti hrošča, ki ste ga pravkar naleteli.', + 'error_github_html' => 'Če vam je ljubše, lahko odprete tudi novo vprašanje na GitHubu.', + 'error_github_text' => 'Če želite, lahko novo številko odprete tudi na spletnem mestu https://github.com/firefly-iii/firefly-iii/issues.', + 'error_stacktrace_below' => 'Celotna stacktrace je spodaj:', 'error_headers' => 'The following headers may also be relevant:', // report new journals diff --git a/resources/lang/sl_SI/errors.php b/resources/lang/sl_SI/errors.php index a62e78ebcf..195ac4757d 100644 --- a/resources/lang/sl_SI/errors.php +++ b/resources/lang/sl_SI/errors.php @@ -30,12 +30,12 @@ return [ 'whoops' => 'Whoops', 'fatal_error' => 'There was a fatal error. Please check the log files in "storage/logs" or use "docker logs -f [container]" to see what\'s going on.', 'maintenance_mode' => 'Firefly III is in maintenance mode.', - 'be_right_back' => 'Be right back!', + 'be_right_back' => 'Takoj se vrnem!', 'check_back' => 'Firefly III is down for some necessary maintenance. Please check back in a second.', - 'error_occurred' => 'Whoops! An error occurred.', + 'error_occurred' => 'Ups! Zgodila se je napaka.', 'db_error_occurred' => 'Whoops! A database error occurred.', 'error_not_recoverable' => 'Unfortunately, this error was not recoverable :(. Firefly III broke. The error is:', - 'error' => 'Error', + 'error' => 'Napaka', 'error_location' => 'This error occured in file :file on line :line with code :code.', 'stacktrace' => 'Stack trace', 'more_info' => 'More information', diff --git a/resources/lang/sl_SI/firefly.php b/resources/lang/sl_SI/firefly.php index d6948d350e..48c790adba 100644 --- a/resources/lang/sl_SI/firefly.php +++ b/resources/lang/sl_SI/firefly.php @@ -31,18 +31,18 @@ return [ 'split' => 'Razdeli', 'single_split' => 'Razdeli', 'clone' => 'Kloniraj', - 'confirm_action' => 'Confirm action', + 'confirm_action' => 'Potrdi dejanje', 'last_seven_days' => 'Zadnjih sedem dni', 'last_thirty_days' => 'Zadnjih 30 dni', 'last_180_days' => 'Zadnjih 180 dni', - 'month_to_date' => 'Month to date', - 'year_to_date' => 'Year to date', + 'month_to_date' => 'Od meseca do datuma', + 'year_to_date' => 'Leto do datuma', 'YTD' => 'YTD', 'welcome_back' => 'Kaj dogaja?', 'everything' => 'vse', 'today' => 'danes', 'customRange' => 'obseg po meri', - 'date_range' => 'Date range', + 'date_range' => 'Datumski obseg', 'apply' => 'uporabi', 'select_date' => 'Izberi datum..', 'cancel' => 'prekliči', @@ -59,13 +59,13 @@ return [ 'Opening balance' => 'Začetno stanje', 'create_new_stuff' => 'Ustvari novo kramo', 'new_withdrawal' => 'Nov odliv', - 'create_new_transaction' => 'Create a new transaction', + 'create_new_transaction' => 'Ustvari novo transakcijo', 'sidebar_frontpage_create' => 'Ustvari', 'new_transaction' => 'Nova transakcija', 'no_rules_for_bill' => 'Ta račun nima nastavljenih pravil.', 'go_to_asset_accounts' => 'Oglej si račune sredstev', 'go_to_budgets' => 'Na proračune', - 'go_to_withdrawals' => 'Go to your withdrawals', + 'go_to_withdrawals' => 'Pojdite na svoja izplačila', 'clones_journal_x' => 'Ta transakcija je kopija ":description" (#:id)', 'go_to_categories' => 'Na kategorije', 'go_to_bills' => 'Na trajnike', @@ -86,12 +86,12 @@ return [ 'flash_info' => 'Sporočilo', 'flash_warning' => 'Opozorilo!', 'flash_error' => 'Napaka!', - 'flash_danger' => 'Danger!', + 'flash_danger' => 'Nevarnost!', 'flash_info_multiple' => 'Tukajle je eno sporočilo | Tukajle je :count sporočil', 'flash_error_multiple' => 'Tukajle je ena napaka | Tukajle je :count napak', 'net_worth' => 'Neto vrednost', 'help_for_this_page' => 'Pomoč za to stran', - 'help_for_this_page_body' => 'You can find more information about this page in the documentation.', + 'help_for_this_page_body' => 'Več informacij o tej strani najdete v dokumentaciji.', 'two_factor_welcome' => 'Živjo!', 'two_factor_enter_code' => 'Če želite nadaljevati, vnesite svojo kodo. Vaš program za prijavo jo lahko ustvari za vas.', 'two_factor_code_here' => 'Vnesite kodo tukaj', @@ -223,21 +223,21 @@ return [ 'average_per_bill' => 'povprečen trajnik', 'expected_total' => 'pričakovana vsota', 'reconciliation_account_name' => ':name reconciliation (:currency)', - 'saved' => 'Saved', + 'saved' => 'Shranjeno', 'advanced_options' => 'Advanced options', 'advanced_options_explain' => 'Some pages in Firefly III have advanced options hidden behind this button. This page doesn\'t have anything fancy here, but do check out the others!', 'here_be_dragons' => 'Hic sunt dracones', // Webhooks - 'webhooks' => 'Webhooks', - 'webhooks_breadcrumb' => 'Webhooks', + 'webhooks' => 'Spletne kljuke (Webhooks)', + 'webhooks_breadcrumb' => 'Spletne kljuke (Webhooks)', 'no_webhook_messages' => 'There are no webhook messages', 'webhook_trigger_STORE_TRANSACTION' => 'After transaction creation', 'webhook_trigger_UPDATE_TRANSACTION' => 'After transaction update', 'webhook_trigger_DESTROY_TRANSACTION' => 'After transaction delete', 'webhook_response_TRANSACTIONS' => 'Transaction details', - 'webhook_response_ACCOUNTS' => 'Account details', - 'webhook_response_none_NONE' => 'No details', + 'webhook_response_ACCOUNTS' => 'Podrobnosti računa', + 'webhook_response_none_NONE' => 'Ni podrobnosti', 'webhook_delivery_JSON' => 'JSON', 'inspect' => 'Inspect', 'create_new_webhook' => 'Create new webhook', @@ -247,14 +247,14 @@ return [ 'webhook_delivery_form_help' => 'Which format the webhook must deliver data in.', 'webhook_active_form_help' => 'The webhook must be active or it won\'t be called.', 'stored_new_webhook' => 'Stored new webhook ":title"', - 'delete_webhook' => 'Delete webhook', + 'delete_webhook' => 'Izbriši Webhook', 'deleted_webhook' => 'Deleted webhook ":title"', 'edit_webhook' => 'Edit webhook ":title"', 'updated_webhook' => 'Updated webhook ":title"', 'edit_webhook_js' => 'Edit webhook "{title}"', 'show_webhook' => 'Webhook ":title"', 'webhook_was_triggered' => 'The webhook was triggered on the indicated transaction. You can refresh this page to see the results.', - 'webhook_messages' => 'Webhook message', + 'webhook_messages' => 'Webhook sporočilo', 'view_message' => 'View message', 'view_attempts' => 'View failed attempts', 'message_content_title' => 'Webhook message content', @@ -263,7 +263,7 @@ return [ 'attempt_content_help' => 'These are all the unsuccessful attempts of this webhook message to submit to the configured URL. After some time, Firefly III will stop trying.', 'no_attempts' => 'There are no unsuccessful attempts. That\'s a good thing!', 'webhook_attempt_at' => 'Attempt at {moment}', - 'logs' => 'Logs', + 'logs' => 'Logi', 'response' => 'Response', 'visit_webhook_url' => 'Visit webhook URL', 'reset_webhook_secret' => 'Reset webhook secret', @@ -437,7 +437,7 @@ return [ 'search_modifier_not_bill_is' => 'Bill is not ":value"', 'search_modifier_transaction_type' => 'Transaction type is ":value"', 'search_modifier_not_transaction_type' => 'Transaction type is not ":value"', - 'search_modifier_tag_is' => 'Tag is ":value"', + 'search_modifier_tag_is' => 'Oznaka je ":value"', 'search_modifier_not_tag_is' => 'No tag is ":value"', 'search_modifier_date_on_year' => 'Transaction is in year ":value"', 'search_modifier_not_date_on_year' => 'Transaction is not in year ":value"', @@ -695,15 +695,15 @@ return [ 'repeat_freq_quarterly' => 'četrtletno', 'repeat_freq_monthly' => 'mesečno', 'repeat_freq_weekly' => 'tedensko', - 'repeat_freq_daily' => 'daily', - 'daily' => 'daily', + 'repeat_freq_daily' => 'dnevno', + 'daily' => 'dnevno', 'weekly' => 'tedensko', 'quarterly' => 'četrtletno', 'half-year' => 'polletno', 'yearly' => 'letno', // rules - 'is_not_rule_trigger' => 'Not', + 'is_not_rule_trigger' => 'Ni', 'cannot_fire_inactive_rules' => 'You cannot execute inactive rules.', 'rules' => 'Pravila', 'rule_name' => 'Naziv pravila', @@ -824,7 +824,7 @@ return [ 'rule_trigger_category_is' => 'Kategorija je ":trigger_value"', 'rule_trigger_amount_less_choice' => 'Znesek je manjši od..', 'rule_trigger_amount_less' => 'Znesek je manjši od :trigger_value', - 'rule_trigger_amount_is_choice' => 'Amount is..', + 'rule_trigger_amount_is_choice' => 'Znesek je..', 'rule_trigger_amount_is' => 'Amount is :trigger_value', 'rule_trigger_amount_more_choice' => 'Znesek je več kot..', 'rule_trigger_amount_more' => 'Znesek je več kot :trigger_value', @@ -864,7 +864,7 @@ return [ 'rule_trigger_has_no_budget' => 'Transakcija nima proračuna', 'rule_trigger_has_any_budget_choice' => 'Ima (katerikoli) proračun', 'rule_trigger_has_any_budget' => 'Transakcija ima (katerikoli) proračun', - 'rule_trigger_has_no_bill_choice' => 'Has no bill', + 'rule_trigger_has_no_bill_choice' => 'Nima računa', 'rule_trigger_has_no_bill' => 'Transaction has no bill', 'rule_trigger_has_any_bill_choice' => 'Has a (any) bill', 'rule_trigger_has_any_bill' => 'Transaction has a (any) bill', @@ -876,7 +876,7 @@ return [ 'rule_trigger_any_notes' => 'Transakcija ima zaznamke', 'rule_trigger_no_notes_choice' => 'Nima zaznamkov', 'rule_trigger_no_notes' => 'Transakcija nima zaznamkov', - 'rule_trigger_notes_is_choice' => 'Notes are..', + 'rule_trigger_notes_is_choice' => 'Opombe so..', 'rule_trigger_notes_is' => 'Notes are ":trigger_value"', 'rule_trigger_notes_contains_choice' => 'Notes contain..', 'rule_trigger_notes_contains' => 'Notes contain ":trigger_value"', @@ -884,7 +884,7 @@ return [ 'rule_trigger_notes_starts' => 'Notes start with ":trigger_value"', 'rule_trigger_notes_ends_choice' => 'Notes end with..', 'rule_trigger_notes_ends' => 'Notes end with ":trigger_value"', - 'rule_trigger_bill_is_choice' => 'Bill is..', + 'rule_trigger_bill_is_choice' => 'Račun je..', 'rule_trigger_bill_is' => 'Bill is ":trigger_value"', 'rule_trigger_external_id_is_choice' => 'External ID is..', 'rule_trigger_external_id_is' => 'External ID is ":trigger_value"', @@ -901,7 +901,7 @@ return [ // new values: 'rule_trigger_user_action_choice' => 'User action is ":trigger_value"', - 'rule_trigger_tag_is_not_choice' => 'No tag is..', + 'rule_trigger_tag_is_not_choice' => 'Nobena oznaka ni..', 'rule_trigger_tag_is_not' => 'No tag is ":trigger_value"', 'rule_trigger_account_is_choice' => 'Either account is exactly..', 'rule_trigger_account_is' => 'Either account is exactly ":trigger_value"', @@ -1179,7 +1179,7 @@ return [ 'rule_action_clear_category_choice' => 'Počisti kategorijo', 'rule_action_set_budget_choice' => 'Set budget to ..', 'rule_action_clear_budget_choice' => 'Počisti proračun', - 'rule_action_add_tag_choice' => 'Add tag ..', + 'rule_action_add_tag_choice' => 'Dodaj oznako ..', 'rule_action_remove_tag_choice' => 'Remove tag ..', 'rule_action_remove_all_tags_choice' => 'Odstrani vse oznake', 'rule_action_set_description_choice' => 'Set description to ..', @@ -1258,11 +1258,11 @@ return [ 'pref_3M' => 'Trije meseci (četrtletje)', 'pref_6M' => 'Šest mesecev', 'pref_1Y' => 'Eno leto', - 'pref_last365' => 'Last year', + 'pref_last365' => 'Zadnje leto', 'pref_last90' => 'Last 90 days', 'pref_last30' => 'Last 30 days', - 'pref_last7' => 'Last 7 days', - 'pref_YTD' => 'Year to date', + 'pref_last7' => 'Zadnjih 7 dni', + 'pref_YTD' => 'Leto do datuma', 'pref_QTD' => 'Quarter to date', 'pref_MTD' => 'Month to date', 'pref_languages' => 'Jeziki', @@ -1339,7 +1339,7 @@ return [ 'purge_data_expl' => '"Purging" means "deleting that which is already deleted". In normal circumstances, Firefly III deletes nothing permanently. It just hides it. The button below deletes all of these previously "deleted" records FOREVER.', 'delete_stuff_header' => 'Delete and purge data', 'purge_all_data' => 'Purge all deleted records', - 'purge_data' => 'Purge data', + 'purge_data' => 'Izbris podatkov', 'purged_all_records' => 'All deleted records have been purged.', 'delete_data_title' => 'Delete data from Firefly III', 'permanent_delete_stuff' => 'You can delete stuff from Firefly III. Using the buttons below means that your items will be removed from view and hidden. There is no undo-button for this, but the items may remain in the database where you can salvage them if necessary.', @@ -1425,18 +1425,18 @@ return [ 'profile_oauth_no_clients' => 'You have not created any OAuth clients.', 'profile_oauth_clients_header' => 'Clients', 'profile_oauth_client_id' => 'Client ID', - 'profile_oauth_client_name' => 'Name', - 'profile_oauth_client_secret' => 'Secret', + 'profile_oauth_client_name' => 'Ime', + 'profile_oauth_client_secret' => 'Skrivnost', 'profile_oauth_create_new_client' => 'Create New Client', 'profile_oauth_create_client' => 'Create Client', - 'profile_oauth_edit_client' => 'Edit Client', + 'profile_oauth_edit_client' => 'Urejanje odjemalca', 'profile_oauth_name_help' => 'Something your users will recognize and trust.', 'profile_oauth_redirect_url' => 'Redirect URL', 'profile_oauth_redirect_url_help' => 'Your application\'s authorization callback URL.', 'profile_authorized_apps' => 'Authorized applications', 'profile_authorized_clients' => 'Authorized clients', - 'profile_scopes' => 'Scopes', - 'profile_revoke' => 'Revoke', + 'profile_scopes' => 'Obseg', + 'profile_revoke' => 'Prekliči', 'profile_oauth_client_secret_title' => 'Client Secret', 'profile_oauth_client_secret_expl' => 'Here is your new client secret. This is the only time it will be shown so don\'t lose it! You may now use this secret to make API requests.', 'profile_personal_access_tokens' => 'Personal Access Tokens', @@ -1447,7 +1447,7 @@ return [ 'profile_no_personal_access_token' => 'You have not created any personal access tokens.', 'profile_create_new_token' => 'Create new token', 'profile_create_token' => 'Create token', - 'profile_create' => 'Create', + 'profile_create' => 'Ustvari', 'profile_save_changes' => 'Save changes', 'profile_whoops' => 'Whoops!', 'profile_something_wrong' => 'Something went wrong!', @@ -1460,7 +1460,7 @@ return [ // export data: 'export_data_title' => 'Export data from Firefly III', - 'export_data_menu' => 'Export data', + 'export_data_menu' => 'Izvozi podatke', 'export_data_bc' => 'Export data from Firefly III', 'export_data_main_title' => 'Export data from Firefly III', 'export_data_expl' => 'This link allows you to export all transactions + meta data from Firefly III. Please refer to the help (top right (?)-icon) for more information about the process.', @@ -1487,7 +1487,7 @@ return [ 'title_transfer' => 'Prenosi', 'title_transfers' => 'Prenosi', 'submission_options' => 'Submission options', - 'apply_rules_checkbox' => 'Apply rules', + 'apply_rules_checkbox' => 'Uporabi pravila', 'fire_webhooks_checkbox' => 'Fire webhooks', // convert stuff: @@ -1580,11 +1580,11 @@ return [ // budgets: 'daily_budgets' => 'Daily budgets', - 'weekly_budgets' => 'Weekly budgets', + 'weekly_budgets' => 'Tedenski proračuni', 'monthly_budgets' => 'Monthly budgets', 'quarterly_budgets' => 'Quarterly budgets', 'half_year_budgets' => 'Half-yearly budgets', - 'yearly_budgets' => 'Yearly budgets', + 'yearly_budgets' => 'Letni proračuni', 'other_budgets' => 'Custom timed budgets', 'budget_limit_not_in_range' => 'This amount applies from :start to :end:', 'total_available_budget' => 'Total available budget (between :start and :end)', @@ -1643,7 +1643,7 @@ return [ // bills: 'not_expected_period' => 'Not expected this period', - 'not_or_not_yet' => 'Not (yet)', + 'not_or_not_yet' => 'Ne (še)', 'visit_bill' => 'Visit bill ":name" at Firefly III', 'match_between_amounts' => 'Trajnik se ujema s transakcijami med :low in :high.', 'running_again_loss' => 'Previously linked transactions to this bill may lose their connection, if they (no longer) match the rule(s).', @@ -1677,18 +1677,18 @@ return [ 'bill_store_error' => 'Pri shranjevanju novega trajnika je prišlo do nepričakovane napake. Preverite datoteke dnevnika', 'list_inactive_rule' => 'neaktivno pravilo', 'bill_edit_rules' => 'Firefly III will attempt to edit the rule related to this bill as well. If you\'ve edited this rule yourself however, Firefly III won\'t change anything.|Firefly III will attempt to edit the :count rules related to this bill as well. If you\'ve edited these rules yourself however, Firefly III won\'t change anything.', - 'bill_expected_date' => 'Expected :date', + 'bill_expected_date' => 'Pričakovano :date', 'bill_expected_date_js' => 'Expected {date}', - 'bill_paid_on' => 'Paid on {date}', - 'bill_repeats_weekly' => 'Repeats weekly', + 'bill_paid_on' => 'Plačano na {date}', + 'bill_repeats_weekly' => 'Ponovi vsak teden', 'bill_repeats_monthly' => 'Repeats monthly', 'bill_repeats_quarterly' => 'Repeats quarterly', 'bill_repeats_half-year' => 'Repeats every half year', - 'bill_repeats_yearly' => 'Repeats yearly', + 'bill_repeats_yearly' => 'Ponovi se vsako leto', 'bill_repeats_weekly_other' => 'Repeats every other week', 'bill_repeats_monthly_other' => 'Repeats every other month', 'bill_repeats_quarterly_other' => 'Repeats every other quarter', - 'bill_repeats_half-year_other' => 'Repeats yearly', + 'bill_repeats_half-year_other' => 'Ponovi se vsako leto', 'bill_repeats_yearly_other' => 'Repeats every other year', 'bill_repeats_weekly_skip' => 'Repeats every {skip} weeks', 'bill_repeats_monthly_skip' => 'Repeats every {skip} months', @@ -1724,7 +1724,7 @@ return [ 'expense_deleted' => 'stroškovni konto ":name" je bil uspešno izbrisan', 'revenue_deleted' => 'Račun prihodkov ":name" je bil uspešno izbrisan', 'update_asset_account' => 'posodobi premoženjski račun', - 'update_undefined_account' => 'Update account', + 'update_undefined_account' => 'Posodobi račun', 'update_liabilities_account' => 'Uredi obveznost', 'update_expense_account' => 'Posodobi račun stroškov', 'update_revenue_account' => 'Posodobi račun prihodkov', @@ -1764,7 +1764,7 @@ return [ 'reconcile_options' => 'Možnosti usklajevanja', 'reconcile_range' => 'Obseg usklajevanja', 'start_reconcile' => 'Začni usklajevanje', - 'cash_account_type' => 'Cash', + 'cash_account_type' => 'Gotovina', 'cash' => 'gotovina', 'cant_find_redirect_account' => 'Firefly III tried to redirect you but couldn\'t. Sorry about that. Back to the index.', 'account_type' => 'Vrsta računa', @@ -1797,8 +1797,8 @@ return [ 'reconciliation_transaction_title' => 'Reconciliation (:from to :to)', 'sum_of_reconciliation' => 'Sum of reconciliation', 'reconcile_this_account' => 'Uskladi ta račun', - 'reconcile' => 'Reconcile', - 'show' => 'Show', + 'reconcile' => 'Poravnaj', + 'show' => 'Prikaži', 'confirm_reconciliation' => 'Potrdi uskladitev', 'submitted_start_balance' => 'Predloženo začetno stanje', 'selected_transactions' => 'Izbrane transakcije (:count)', @@ -1812,7 +1812,7 @@ return [ 'interest_calc_yearly' => 'Na leto', 'interest_calc_weekly' => 'Per week', 'interest_calc_half-year' => 'Per half year', - 'interest_calc_quarterly' => 'Per quarter', + 'interest_calc_quarterly' => 'Na četrtletje', 'initial_balance_account' => 'Initial balance account of :account', 'list_options' => 'List options', @@ -1868,17 +1868,17 @@ return [ 'no_bulk_budget' => 'Ne posodobi proračuna', 'no_bulk_tags' => 'Ne posodobi oznak(e)', 'replace_with_these_tags' => 'Replace with these tags', - 'append_these_tags' => 'Add these tags', + 'append_these_tags' => 'Dodajte te oznake', 'mass_edit' => 'Edit selected individually', 'bulk_edit' => 'Edit selected in bulk', 'mass_delete' => 'Delete selected', 'cannot_edit_other_fields' => 'Drugih polj ne morete množično urejati, ker ni prostora za prikaz. Če želite urediti ta polja, sledite povezavi in jih uredite posebej.', 'cannot_change_amount_reconciled' => 'You can\'t change the amount of reconciled transactions.', 'no_budget' => '(brez proračuna)', - 'no_bill' => '(no bill)', + 'no_bill' => '(ni računa)', 'account_per_budget' => 'Account per budget', 'account_per_category' => 'Account per category', - 'create_new_object' => 'Create', + 'create_new_object' => 'Ustvari', 'empty' => '(empty)', 'all_other_budgets' => '(all other budgets)', 'all_other_accounts' => '(all other accounts)', @@ -1898,7 +1898,7 @@ return [ 'tag_report_expenses_listed_once' => 'Expenses and income are never listed twice. If a transaction has multiple tags, it may only show up under one of its tags. This list may appear to be missing data, but the amounts will be correct.', 'double_report_expenses_charted_once' => 'Expenses and income are never displayed twice. If a transaction has multiple tags, it may only show up under one of its tags. This chart may appear to be missing data, but the amounts will be correct.', 'tag_report_chart_single_tag' => 'This chart applies to a single tag. If a transaction has multiple tags, what you see here may be reflected in the charts of other tags as well.', - 'tag' => 'Tag', + 'tag' => 'Oznaka', 'no_budget_squared' => '(brez proračuna)', 'perm-delete-many' => 'Deleting many items in one go can be very disruptive. Please be cautious. You can delete part of a split transaction from this page, so take care.', 'mass_deleted_transactions_success' => 'Deleted :count transaction.|Deleted :count transactions.', @@ -1933,7 +1933,7 @@ return [ // new user: 'welcome' => 'Dobrodošli v Firefly III!', 'submit' => 'Potrdi', - 'submission' => 'Submission', + 'submission' => 'Oddaja', 'submit_yes_really' => 'Potrdi (vem kaj počnem)', 'getting_started' => 'Kako začeti', 'to_get_started' => 'Lepo je videti, da si uspešno namestil Firefly III. Če želiš začeti z uporabo tega orodja, vnesi ime banke in stanje glavnega tekočega računa. Ne skrbi, če imaš več računov. Lahko jih dodaš pozneje. Firefly III pač potrebuje nekaj za začetek.', @@ -1957,8 +1957,8 @@ return [ 'budgetsAndSpending' => 'Proračuni in poraba', 'budgets_and_spending' => 'Proračuni in poraba', 'go_to_budget' => 'Pojdi na proračun "{budget}"', - 'go_to_deposits' => 'Go to deposits', - 'go_to_expenses' => 'Go to expenses', + 'go_to_deposits' => 'Pojdi na depozite', + 'go_to_expenses' => 'Pojdi na izdatke', 'savings' => 'Prihranki', 'newWithdrawal' => 'Nov strošek', 'newDeposit' => 'Nov polog', @@ -1967,7 +1967,7 @@ return [ 'per_day' => 'Na dan', 'left_to_spend_per_day' => 'Preostala poraba na dan', 'bills_paid' => 'Plačani trajniki', - 'custom_period' => 'Custom period', + 'custom_period' => 'Obdobje po meri', 'reset_to_current' => 'Reset to current period', 'select_period' => 'Select a period', @@ -1993,17 +1993,17 @@ return [ 'account_type_Debt' => 'Dolg', 'account_type_Loan' => 'Posojilo', 'account_type_Mortgage' => 'Hipoteka', - 'account_type_debt' => 'Debt', - 'account_type_loan' => 'Loan', + 'account_type_debt' => 'Dolg', + 'account_type_loan' => 'Posojilo', 'account_type_mortgage' => 'Mortgage', 'account_type_Credit card' => 'Kreditna kartica', 'credit_card_type_monthlyFull' => 'Full payment every month', 'liability_direction_credit' => 'I am owed this debt', 'liability_direction_debit' => 'I owe this debt to somebody else', - 'liability_direction_credit_short' => 'Owed this debt', - 'liability_direction_debit_short' => 'Owe this debt', - 'liability_direction__short' => 'Unknown', - 'liability_direction_null_short' => 'Unknown', + 'liability_direction_credit_short' => 'Ta dolg je bil dolgovan', + 'liability_direction_debit_short' => 'Dolgujejo ta dolg', + 'liability_direction__short' => 'Neznano', + 'liability_direction_null_short' => 'Neznano', 'Liability credit' => 'Liability credit', 'budgets' => 'Proračuni', 'tags' => 'Oznake', @@ -2044,10 +2044,10 @@ return [ 'store_new_liabilities_account' => 'Shrani novo obveznost', 'edit_liabilities_account' => 'Uredi obveznost ":name"', 'financial_control' => 'Financial control', - 'accounting' => 'Accounting', - 'automation' => 'Automation', - 'others' => 'Others', - 'classification' => 'Classification', + 'accounting' => 'Računovodstvo', + 'automation' => 'Avtomatizacija', + 'others' => 'Drugo', + 'classification' => 'Klasifikacija', 'store_transaction' => 'Store transaction', // reports: @@ -2074,7 +2074,7 @@ return [ 'splitByAccount' => 'Razdeljeno po računih', 'coveredWithTags' => 'Z oznakami', 'leftInBudget' => 'Ostanek v proračunu', - 'left_in_debt' => 'Amount due', + 'left_in_debt' => 'Dolgovani znesek', 'sumOfSums' => 'Vsota vsot', 'noCategory' => '(brez kategorije)', 'notCharged' => 'Ne (še) zaračunano', @@ -2159,19 +2159,19 @@ return [ 'month' => 'Mesec', 'budget' => 'Proračun', 'spent' => 'Porabljeno', - 'spent_capped' => 'Spent (capped)', + 'spent_capped' => 'Porabljeno (omejeno)', 'spent_in_budget' => 'Porabljeno v proračunu', 'left_to_spend' => 'Preostala poraba', 'earned' => 'Prisluženo', 'overspent' => 'Preveč porabljeno', 'left' => 'Preostalo', 'max-amount' => 'Najvišji znesek', - 'min-amount' => 'Minimum amount', + 'min-amount' => 'Najmanjša vrednost', 'journal-amount' => 'Trenutni vnos na računu', 'name' => 'Ime', 'date' => 'Datum', - 'date_and_time' => 'Date and time', - 'time' => 'Time', + 'date_and_time' => 'Datum in čas', + 'time' => 'Čas', 'paid' => 'Plačano', 'unpaid' => 'Neplačano', 'day' => 'Dan', @@ -2182,7 +2182,7 @@ return [ 'summary' => 'Povzetek', 'average' => 'Povprečno', 'balanceFor' => 'Stanje za :name', - 'no_tags' => '(no tags)', + 'no_tags' => '(ni oznak)', // piggy banks: 'add_money_to_piggy' => 'Dodaj denar na hranilnik ":name"', @@ -2244,8 +2244,8 @@ return [ // administration 'invite_new_user_title' => 'Invite new user', 'invite_new_user_text' => 'As an administrator, you can invite users to register on your Firefly III administration. Using the direct link you can share with them, they will be able to register an account. The invited user and their invite link will appear in the table below. You are free to share the invitation link with them.', - 'invited_user_mail' => 'Email address', - 'invite_user' => 'Invite user', + 'invited_user_mail' => 'E-poštni naslov', + 'invite_user' => 'Povabi uporabnika', 'user_is_invited' => 'Email address ":address" was invited to Firefly III', 'administration' => 'Administracija', 'code_already_used' => 'Invite code has been used', @@ -2295,7 +2295,7 @@ return [ 'admin_notification_check_invite_created' => 'A user is invited to Firefly III', 'admin_notification_check_invite_redeemed' => 'A user invitation is redeemed', 'all_invited_users' => 'All invited users', - 'save_notification_settings' => 'Save settings', + 'save_notification_settings' => 'Shrani nastavitve', 'notification_settings_saved' => 'The notification settings have been saved', @@ -2364,7 +2364,7 @@ return [ 'is (partially) refunded by' => 'is (partially) refunded by', 'is (partially) paid for by' => 'is (partially) paid for by', 'is (partially) reimbursed by' => 'is (partially) reimbursed by', - 'relates to' => 'relates to', + 'relates to' => 'povezan z', '(partially) refunds' => '(partially) refunds', '(partially) pays for' => '(partially) pays for', '(partially) reimburses' => '(partially) reimburses', @@ -2383,7 +2383,7 @@ return [ 'reset_after' => 'Reset form after submission', 'errors_submission' => 'There was something wrong with your submission. Please check out the errors.', 'transaction_expand_split' => 'Expand split', - 'transaction_collapse_split' => 'Collapse split', + 'transaction_collapse_split' => 'Zmanjšanje delitve', // object groups 'default_group_title_name' => '(ungrouped)', @@ -2412,7 +2412,7 @@ return [ 'no_rules_imperative_default' => 'Rules can be very useful when you\'re managing transactions. Let\'s create one now:', 'no_budgets_imperative_default' => 'Proračuni so osnovno orodje finančnega upravljanja. Ustvarimo enega zdaj:', 'no_budgets_create_default' => 'Ustvari proračun', - 'no_rules_create_default' => 'Create a rule', + 'no_rules_create_default' => 'Ustvari pravilo', 'no_categories_title_default' => 'Ustvarimo kategorijo!', 'no_categories_intro_default' => 'Kategorij še nimaš. Kategorije se uporabljajo za natančno nastavitev transakcij in označevanje z določeno kategorijo.', 'no_categories_imperative_default' => 'Kategorije se ustvarijo avtomatično ko ustvarite transakcije, lahko pa jih ustvarite tudi ročno, če želite:', @@ -2521,25 +2521,25 @@ return [ 'box_spend_per_day' => 'Left to spend per day: :amount', // debug page - 'debug_page' => 'Debug page', + 'debug_page' => 'Stran za odpravljanje napak', 'debug_submit_instructions' => 'If you are running into problems, you can use the information in this box as debug information. Please copy-and-paste into a new or existing GitHub issue. It will generate a beautiful table that can be used to quickly diagnose your problem.', 'debug_pretty_table' => 'If you copy/paste the box below into a GitHub issue it will generate a table. Please do not surround this text with backticks or quotes.', 'debug_additional_data' => 'You may also share the content of the box below. You can also copy-and-paste this into a new or existing GitHub issue. However, the content of this box may contain private information such as account names, transaction details or email addresses.', // object groups - 'object_groups_menu_bar' => 'Groups', - 'object_groups_page_title' => 'Groups', - 'object_groups_breadcrumb' => 'Groups', + 'object_groups_menu_bar' => 'Skupine', + 'object_groups_page_title' => 'Skupine', + 'object_groups_breadcrumb' => 'Skupine', 'object_groups_index' => 'Overview', 'object_groups' => 'Groups', 'object_groups_empty_explain' => 'Some things in Firefly III can be divided into groups. Piggy banks for example, feature a "Group" field in the edit and create screens. When you set this field, you can edit the names and the order of the groups on this page. For more information, check out the help-pages in the top right corner, under the (?)-icon.', - 'object_group_title' => 'Title', + 'object_group_title' => 'Naslov', 'edit_object_group' => 'Edit group ":title"', 'delete_object_group' => 'Delete group ":title"', 'update_object_group' => 'Update group', 'updated_object_group' => 'Successfully updated group ":title"', 'deleted_object_group' => 'Successfully deleted group ":title"', - 'object_group' => 'Group', + 'object_group' => 'Skupina', // other stuff 'placeholder' => '[Placeholder]', @@ -2550,19 +2550,19 @@ return [ 'ale_action_log_remove' => 'Removed :amount from piggy bank ":name"', 'ale_action_clear_budget' => 'Removed from budget', 'ale_action_clear_category' => 'Removed from category', - 'ale_action_clear_notes' => 'Removed notes', + 'ale_action_clear_notes' => 'Odstrani opombe', 'ale_action_clear_tag' => 'Cleared tag', 'ale_action_clear_all_tags' => 'Cleared all tags', - 'ale_action_set_bill' => 'Linked to bill', - 'ale_action_set_budget' => 'Set budget', + 'ale_action_set_bill' => 'Povezano z računom', + 'ale_action_set_budget' => 'Določite proračun', 'ale_action_set_category' => 'Set category', 'ale_action_set_source' => 'Set source account', 'ale_action_set_destination' => 'Set destination account', 'ale_action_update_transaction_type' => 'Changed transaction type', - 'ale_action_update_notes' => 'Changed notes', + 'ale_action_update_notes' => 'Spremeni opombe', 'ale_action_update_description' => 'Changed description', - 'ale_action_add_to_piggy' => 'Piggy bank', - 'ale_action_remove_from_piggy' => 'Piggy bank', - 'ale_action_add_tag' => 'Added tag', + 'ale_action_add_to_piggy' => 'Hranilnik', + 'ale_action_remove_from_piggy' => 'Hranilnik', + 'ale_action_add_tag' => 'Dodana oznaka', ]; diff --git a/resources/lang/sl_SI/form.php b/resources/lang/sl_SI/form.php index ae1b322e52..29cdcf4eeb 100644 --- a/resources/lang/sl_SI/form.php +++ b/resources/lang/sl_SI/form.php @@ -38,7 +38,7 @@ return [ 'match' => 'Se ujema z', 'strict' => 'Strogi način', 'repeat_freq' => 'Ponovitve', - 'object_group' => 'Group', + 'object_group' => 'Skupina', 'location' => 'Lokacija', 'update_channel' => 'Kanal posodobitev', 'currency_id' => 'Valuta', @@ -58,7 +58,7 @@ return [ 'currency' => 'Valuta', 'account_id' => 'premoženjski račun', 'budget_id' => 'Proračun', - 'bill_id' => 'Bill', + 'bill_id' => 'Račun', 'opening_balance' => 'Začetno stanje', 'tagMode' => 'Način oznak', 'virtual_balance' => 'Navidezno stanje', @@ -81,10 +81,10 @@ return [ 'api_key' => 'API ključ', 'remember_me' => 'Zapomni se me', 'liability_type_id' => 'Vrsta obveznosti', - 'liability_type' => 'Liability type', + 'liability_type' => 'Vrsta obveznosti', 'interest' => 'Obresti', 'interest_period' => 'Obdobje obresti', - 'extension_date' => 'Extension date', + 'extension_date' => 'Datum razširitve', 'type' => 'Vrsta', 'convert_Withdrawal' => 'Pretvori odliv', 'convert_Deposit' => 'Pretvori polog', @@ -122,7 +122,7 @@ return [ 'start_date' => 'Začetek obsega', 'end_date' => 'Konec obsega', 'enddate' => 'End date', - 'start' => 'Start of range', + 'start' => 'Začetek obsega', 'end' => 'End of range', 'delete_account' => 'Izbriši račun ":name"', 'delete_webhook' => 'Delete webhook ":title"', @@ -238,15 +238,15 @@ return [ 'weekend' => 'Vikend', 'client_secret' => 'Skrivnost odjemalca', 'withdrawal_destination_id' => 'Destination account', - 'deposit_source_id' => 'Source account', + 'deposit_source_id' => 'Izvorni račun', 'expected_on' => 'Expected on', - 'paid' => 'Paid', + 'paid' => 'Plačano', 'auto_budget_type' => 'Auto-budget', 'auto_budget_amount' => 'Auto-budget amount', 'auto_budget_period' => 'Auto-budget period', - 'collected' => 'Collected', - 'submitted' => 'Submitted', - 'key' => 'Key', + 'collected' => 'Zbirka', + 'submitted' => 'Oddano', + 'key' => 'Ključ', 'value' => 'Content of record', 'webhook_delivery' => 'Delivery', 'webhook_response' => 'Response', diff --git a/resources/lang/sl_SI/intro.php b/resources/lang/sl_SI/intro.php index 6a5c607454..6d6c8c9e47 100644 --- a/resources/lang/sl_SI/intro.php +++ b/resources/lang/sl_SI/intro.php @@ -30,10 +30,10 @@ return [ 'index_help' => 'Če potrebuješ pomoč na strani ali obrazcu, pritisni ta gumb.', 'index_outro' => 'Večina strani Firefly III se bo začela z malo predstavitvijo, kot je ta. Če imaš vprašanja ali pripombe, se obrni name. Uživaj!', 'index_sidebar-toggle' => 'Za ustvarjanje novih transakcij, računov ali drugih stvari uporabi meni pod to ikono.', - 'index_cash_account' => 'These are the accounts created so far. You can use the cash account to track cash expenses but it\'s not mandatory of course.', + 'index_cash_account' => 'To so računi, ki so bili ustvarjeni do sedaj. Lahko uporabiš gotovinski račun za sledenje gotovinskih stroškov, vendar to ni obvezno.', // transactions - 'transactions_create_basic_info' => 'Enter the basic information of your transaction. Source, destination, date and description.', + 'transactions_create_basic_info' => 'Vnesite osnovne podatke o transakciji. Vir, destinacija, datum in opis.', 'transactions_create_amount_info' => 'Enter the amount of the transaction. If necessary the fields will auto-update for foreign amount info.', 'transactions_create_optional_info' => 'All of these fields are optional. Adding meta-data here will make your transactions better organised.', 'transactions_create_split' => 'If you want to split a transaction, add more splits with this button', diff --git a/resources/lang/sl_SI/list.php b/resources/lang/sl_SI/list.php index e21039920f..cde37105d5 100644 --- a/resources/lang/sl_SI/list.php +++ b/resources/lang/sl_SI/list.php @@ -34,18 +34,18 @@ return [ 'name' => 'ime', 'role' => 'vloga', 'currentBalance' => 'trenutno stanje', - 'linked_to_rules' => 'Relevant rules', + 'linked_to_rules' => 'Ustrezna pravila', 'active' => 'Aktiviran?', - 'percentage' => 'pct.', + 'percentage' => 'procent', 'recurring_transaction' => 'Recurring transaction', 'next_due' => 'Next due', - 'transaction_type' => 'Type', + 'transaction_type' => 'Vrsta', 'lastActivity' => 'zadnja aktivnost', 'balanceDiff' => 'Balance difference', 'other_meta_data' => 'Other meta data', - 'invited_at' => 'Invited at', + 'invited_at' => 'Povabljen na', 'expires' => 'Invitation expires', - 'invited_by' => 'Invited by', + 'invited_by' => 'Povabil', 'invite_link' => 'Invite link', 'account_type' => 'vrsta računa', 'created_at' => 'ustvarjeno', @@ -80,7 +80,7 @@ return [ 'type' => 'Vrsta', 'completed' => 'Dokončano', 'iban' => 'IBAN', - 'account_number' => 'Account number', + 'account_number' => 'Številka računa', 'paid_current_period' => 'Plačano v tem obdobju', 'email' => 'E-pošta', 'registered_at' => 'Registriran pri', @@ -98,7 +98,7 @@ return [ 'budget_count' => 'Število budžetov', 'rule_and_groups_count' => 'Število pravil in skupin pravil', 'tags_count' => 'Število značk', - 'tags' => 'Tags', + 'tags' => 'Oznake', 'inward' => 'Interni opis', 'outward' => 'Eksterni opis', 'number_of_transactions' => 'Število transakcij', @@ -117,23 +117,23 @@ return [ 'sepa_cc' => 'SEPA Clearing Code', 'sepa_ep' => 'SEPA External Purpose', 'sepa_ci' => 'SEPA Creditor Identifier', - 'sepa_batch_id' => 'SEPA Batch ID', + 'sepa_batch_id' => 'ID serije SEPA', 'external_id' => 'External ID', 'account_at_bunq' => 'Account with bunq', - 'file_name' => 'File name', - 'file_size' => 'File size', - 'file_type' => 'File type', + 'file_name' => 'Ime datoteke', + 'file_size' => 'Velikost datoteke', + 'file_type' => 'Vrsta datoteke', 'attached_to' => 'Attached to', 'file_exists' => 'File exists', - 'spectre_bank' => 'Bank', - 'spectre_last_use' => 'Last login', + 'spectre_bank' => 'Banka', + 'spectre_last_use' => 'Zadnja prijava', 'spectre_status' => 'Status', 'bunq_payment_id' => 'bunq payment ID', 'repetitions' => 'Repetitions', - 'title' => 'Title', - 'transaction_s' => 'Transaction(s)', - 'field' => 'Field', - 'value' => 'Value', + 'title' => 'Naslov', + 'transaction_s' => 'Transakcije', + 'field' => 'Polje', + 'value' => 'Vrednost', 'interest' => 'Interest', 'interest_period' => 'Interest period', 'liability_type' => 'Type of liability', @@ -141,7 +141,7 @@ return [ 'end_date' => 'End date', 'payment_info' => 'Payment information', 'expected_info' => 'Next expected transaction', - 'start_date' => 'Start date', + 'start_date' => 'Začetni datum', 'trigger' => 'Trigger', 'response' => 'Response', 'delivery' => 'Delivery', diff --git a/resources/lang/sl_SI/validation.php b/resources/lang/sl_SI/validation.php index 3a3b0f22be..58340946b6 100644 --- a/resources/lang/sl_SI/validation.php +++ b/resources/lang/sl_SI/validation.php @@ -151,31 +151,31 @@ return [ 'valid_recurrence_rep_moment' => 'Invalid repetition moment for this type of repetition.', 'invalid_account_info' => 'Invalid account information.', 'attributes' => [ - 'email' => 'email address', + 'email' => 'email naslov', 'description' => 'description', 'amount' => 'amount', 'transactions.*.amount' => 'transaction amount', - 'name' => 'name', - 'piggy_bank_id' => 'piggy bank ID', - 'targetamount' => 'target amount', + 'name' => 'ime', + 'piggy_bank_id' => 'ID številka hranilnice', + 'targetamount' => 'ciljni znesek', 'opening_balance_date' => 'opening balance date', 'opening_balance' => 'opening balance', - 'match' => 'match', - 'amount_min' => 'minimum amount', - 'amount_max' => 'maximum amount', - 'title' => 'title', - 'tag' => 'tag', + 'match' => 'ujemanje', + 'amount_min' => 'najmanjša vrednost', + 'amount_max' => 'največja vrednost', + 'title' => 'naslov', + 'tag' => 'oznaka', 'transaction_description' => 'transaction description', 'rule-action-value.1' => 'rule action value #1', 'rule-action-value.2' => 'rule action value #2', 'rule-action-value.3' => 'rule action value #3', 'rule-action-value.4' => 'rule action value #4', 'rule-action-value.5' => 'rule action value #5', - 'rule-action.1' => 'rule action #1', - 'rule-action.2' => 'rule action #2', - 'rule-action.3' => 'rule action #3', - 'rule-action.4' => 'rule action #4', - 'rule-action.5' => 'rule action #5', + 'rule-action.1' => 'pravilo ukrepanja #1', + 'rule-action.2' => 'pravilo ukrepanja #2', + 'rule-action.3' => 'pravilo ukrepanja #3', + 'rule-action.4' => 'pravilo ukrepanja #4', + 'rule-action.5' => 'pravilo ukrepanja #5', 'rule-trigger-value.1' => 'rule trigger value #1', 'rule-trigger-value.2' => 'rule trigger value #2', 'rule-trigger-value.3' => 'rule trigger value #3', diff --git a/resources/lang/zh_CN/email.php b/resources/lang/zh_CN/email.php index 6b06c6eaf9..d7300b097e 100644 --- a/resources/lang/zh_CN/email.php +++ b/resources/lang/zh_CN/email.php @@ -34,16 +34,16 @@ return [ 'admin_test_body' => '这是来自 Firefly III 站点的测试消息,收件人是 :email。', // invite - 'invitation_created_subject' => 'An invitation has been created', - 'invitation_created_body' => 'Admin user ":email" created a user invitation which can be used by whoever is behind email address ":invitee". The invite will be valid for 48hrs.', - 'invite_user_subject' => 'You\'ve been invited to create a Firefly III account.', - 'invitation_introduction' => 'You\'ve been invited to create a Firefly III account on **:host**. Firefly III is a personal, self-hosted, private personal finance manager. All the cool kids are using it.', - 'invitation_invited_by' => 'You\'ve been invited by ":admin" and this invitation was sent to ":invitee". That\'s you, right?', - 'invitation_url' => 'The invitation is valid for 48 hours and can be redeemed by surfing to [Firefly III](:url). Enjoy!', + 'invitation_created_subject' => '邀请已发送', + 'invitation_created_body' => '管理员用户:email创建了用户邀请,可以由电子邮件地址背后的任何人使用":invitee"。 邀请将对48小时有效。', + 'invite_user_subject' => '您已被邀请创建一个Fifly III帐户。', + 'invitation_introduction' => '您已被邀请在 **:host**创建一个 Firefly III 帐户。 Firefly III是一个个人的、自托管的私人财务经理。所有很酷的人都在使用它。', + 'invitation_invited_by' => '您已经被“:admin”邀请,这个邀请已经被发送到“:invitee”。这是您,对吗?', + 'invitation_url' => '邀请有效期为48小时,可以通过访问 [Firefly III](:url)来兑现。享受!', // new IP 'login_from_new_ip' => 'Firefly III 上有新的登录活动', - 'slack_login_from_new_ip' => 'New Firefly III login from IP :ip (:host)', + 'slack_login_from_new_ip' => '新 Firefly III 登录 IP :ip (:host)', 'new_ip_body' => 'Firefly III 检测到了来自未知 IP 地址的登录活动。如果您从未在下列 IP 地址登录,或上次登录已超过6个月,Firefly III 会提醒您。', 'new_ip_warning' => '如果您认识该 IP 地址或知道该次登录,您可以忽略此信息。如果您没有登录,或者您不知道发生了什么,请立即前往个人档案页面,确认您的密码安全、修改新密码,并立即退出登录其他所有设备。为了保证帐户的安全性,请务必启用两步验证功能。', 'ip_address' => 'IP 地址', @@ -58,8 +58,8 @@ return [ // registered 'registered_subject' => '欢迎使用 Firefly III!', - 'registered_subject_admin' => 'A new user has registered', - 'admin_new_user_registered' => 'A new user has registered. User **:email** was given user ID #:id.', + 'registered_subject_admin' => '一个新用户已注册', + 'admin_new_user_registered' => '一个新用户已经注册。用户 **:email** 已被授予用户 ID #:id。', 'registered_welcome' => '欢迎来到 [Firefly III](:address)。收到这封电子邮件即确认您的注册已经完成。耶!', 'registered_pw' => '如果您忘记了您的密码,请使用 [密码重置工具] (:address/password/reset) 重置密码。', 'registered_help' => '每个页面右上角都有一个帮助图标。如果您需要帮助,请点击它!', @@ -71,7 +71,7 @@ return [ 'registered_doc_link' => '文档', // new version - 'new_version_email_subject' => 'A new Firefly III version is available', + 'new_version_email_subject' => '有新的 Firefly III 版本可用', // email change 'email_change_subject' => '您的 Firefly III 电子邮件地址已更改', @@ -111,7 +111,7 @@ return [ 'error_github_html' => '如果您愿意,您也可以在 GitHub 上创建新工单。', 'error_github_text' => '如果您愿意,您也可以在 https://github.com/firefrechy-iii/firefrechy-iii/issues 上创建新工单。', 'error_stacktrace_below' => '完整的堆栈跟踪如下:', - 'error_headers' => 'The following headers may also be relevant:', + 'error_headers' => '以下标题也可能具有相关性:', // report new journals 'new_journals_subject' => 'Firefly III 创建了一笔新的交易|Firefly III 创建了 :count 笔新的交易', @@ -120,12 +120,12 @@ return [ // bill warning 'bill_warning_subject_end_date' => '您的账单“:name”将于 :diff 天后到期', 'bill_warning_subject_now_end_date' => '您的账单“:name”将于今天到期', - 'bill_warning_subject_extension_date' => 'Your bill ":name" is due to be extended or cancelled in :diff days', - 'bill_warning_subject_now_extension_date' => 'Your bill ":name" is due to be extended or cancelled TODAY', - 'bill_warning_end_date' => 'Your bill **":name"** is due to end on :date. This moment will pass in about **:diff days**.', - 'bill_warning_extension_date' => 'Your bill **":name"** is due to be extended or cancelled on :date. This moment will pass in about **:diff days**.', - 'bill_warning_end_date_zero' => 'Your bill **":name"** is due to end on :date. This moment will pass **TODAY!**', - 'bill_warning_extension_date_zero' => 'Your bill **":name"** is due to be extended or cancelled on :date. This moment will pass **TODAY!**', + 'bill_warning_subject_extension_date' => '您的账单":name" 将在 :diff 天内被延期或取消', + 'bill_warning_subject_now_extension_date' => '您的账单":name" 将被延期或取消,就在今日', + 'bill_warning_end_date' => '您的账单**":name"** 将在 :date结束。还剩 **:diff ** 天。', + 'bill_warning_extension_date' => '您的账单**":name"** 将在 :date延期或取消。还剩大约**:diff 天**。', + 'bill_warning_end_date_zero' => '您的账单**":name"** 将于 :date结束。过期日 **今天!**', + 'bill_warning_extension_date_zero' => '您的账单**":name"** 将在 :date延期或取消。过期日 **今天!**', 'bill_warning_please_action' => '请采取适当的行动。', ]; diff --git a/resources/lang/zh_CN/errors.php b/resources/lang/zh_CN/errors.php index 0ec6a72966..be83310151 100644 --- a/resources/lang/zh_CN/errors.php +++ b/resources/lang/zh_CN/errors.php @@ -23,7 +23,7 @@ declare(strict_types=1); return [ - '404_header' => 'Firefly III 无法找到该页面', + '404_header' => 'Firefly III 找不到这个页面。', '404_page_does_not_exist' => '您请求的页面不存在,请确认您输入的网址正确无误。', '404_send_error' => '如果您被自动跳转到该页面,很抱歉。日志文件中记录了该错误,请将错误信息提交给开发者,万分感谢。', '404_github_link' => '如果您确信该页面应该存在,请在 GitHub 上创建工单。', @@ -33,7 +33,7 @@ return [ 'be_right_back' => '敬请期待!', 'check_back' => 'Firefly III 正在进行必要的维护,请稍后再试', 'error_occurred' => '很抱歉,出现错误', - 'db_error_occurred' => 'Whoops! A database error occurred.', + 'db_error_occurred' => '哎呀!发生数据库错误。', 'error_not_recoverable' => '很遗憾,该错误无法恢复 :( Firefly III 已崩溃。错误信息:', 'error' => '错误', 'error_location' => '该错误位于文件 :file 第 :line 行的代码 :code', diff --git a/resources/lang/zh_CN/firefly.php b/resources/lang/zh_CN/firefly.php index 518179a9a3..05da0464ea 100644 --- a/resources/lang/zh_CN/firefly.php +++ b/resources/lang/zh_CN/firefly.php @@ -31,13 +31,13 @@ return [ 'split' => '拆分', 'single_split' => '拆分', 'clone' => '复制', - 'confirm_action' => 'Confirm action', + 'confirm_action' => '确认操作', 'last_seven_days' => '最近 7 天', 'last_thirty_days' => '最近 30 天', 'last_180_days' => '最近 180 天', - 'month_to_date' => 'Month to date', - 'year_to_date' => 'Year to date', - 'YTD' => 'YTD', + 'month_to_date' => '本月至今', + 'year_to_date' => '今年至今', + 'YTD' => '今年至今', 'welcome_back' => '今天理财了吗?', 'everything' => '所有', 'today' => '今天', @@ -49,7 +49,7 @@ return [ 'from' => '自', 'to' => '至', 'structure' => '结构', - 'help_translating' => '帮助文档尚未提供简体中文版本,您愿意协助翻译吗?', + 'help_translating' => '帮助文本尚未提供您的语言的版本,您愿意协助翻译吗?', 'showEverything' => '全部显示', 'never' => '永不', 'no_results_for_empty_search' => '您的搜索结果为空,找不到任何内容。', @@ -66,7 +66,7 @@ return [ 'go_to_asset_accounts' => '查看您的资产账户', 'go_to_budgets' => '前往您的预算', 'go_to_withdrawals' => '前往支出', - 'clones_journal_x' => '此交易是“:description” (#:id) 的副本', + 'clones_journal_x' => '此交易是“:description” (#:id) 的复制版本', 'go_to_categories' => '前往您的分类', 'go_to_bills' => '前往账单', 'go_to_expense_accounts' => '查看您的支出账户', @@ -191,7 +191,7 @@ return [ 'transfer_exchange_rate_instructions' => '来源资产账户“@source_name”仅接受 @source_currency 的交易,目标资产账户“@dest_name”仅接受 @dest_currency 的交易,您必须用两方货币来提供正确的已转账总额。', 'transaction_data' => '交易资料', 'invalid_server_configuration' => '无效服务器设置', - 'invalid_locale_settings' => 'Firefly III is unable to format monetary amounts because your server is missing the required packages. There are instructions how to do this.', + 'invalid_locale_settings' => 'Firefly III 无法格式化货币金额,因为您的服务器缺少必要的软件包。查看 说明以解决该问题。', 'quickswitch' => '快速切换', 'sign_in_to_start' => '登录即可开始您的理财规划', 'sign_in' => '登录', @@ -231,48 +231,48 @@ return [ // Webhooks 'webhooks' => 'Webhooks', 'webhooks_breadcrumb' => 'Webhooks', - 'no_webhook_messages' => 'There are no webhook messages', - 'webhook_trigger_STORE_TRANSACTION' => 'After transaction creation', - 'webhook_trigger_UPDATE_TRANSACTION' => 'After transaction update', - 'webhook_trigger_DESTROY_TRANSACTION' => 'After transaction delete', - 'webhook_response_TRANSACTIONS' => 'Transaction details', - 'webhook_response_ACCOUNTS' => 'Account details', - 'webhook_response_none_NONE' => 'No details', + 'no_webhook_messages' => '没有 Webhook 消息', + 'webhook_trigger_STORE_TRANSACTION' => '交易创建后', + 'webhook_trigger_UPDATE_TRANSACTION' => '交易更新后', + 'webhook_trigger_DESTROY_TRANSACTION' => '交易删除后', + 'webhook_response_TRANSACTIONS' => '交易详情', + 'webhook_response_ACCOUNTS' => '账户详情', + 'webhook_response_none_NONE' => '无详细信息', 'webhook_delivery_JSON' => 'JSON', - 'inspect' => 'Inspect', - 'create_new_webhook' => 'Create new webhook', - 'webhooks_create_breadcrumb' => 'Create new webhook', + 'inspect' => '检查', + 'create_new_webhook' => '创建新 Webhook', + 'webhooks_create_breadcrumb' => '创建新 Webhook', 'webhook_trigger_form_help' => 'Indicate on what event the webhook will trigger', 'webhook_response_form_help' => 'Indicate what the webhook must submit to the URL.', 'webhook_delivery_form_help' => 'Which format the webhook must deliver data in.', - 'webhook_active_form_help' => 'The webhook must be active or it won\'t be called.', - 'stored_new_webhook' => 'Stored new webhook ":title"', - 'delete_webhook' => 'Delete webhook', - 'deleted_webhook' => 'Deleted webhook ":title"', - 'edit_webhook' => 'Edit webhook ":title"', - 'updated_webhook' => 'Updated webhook ":title"', - 'edit_webhook_js' => 'Edit webhook "{title}"', - 'show_webhook' => 'Webhook ":title"', + 'webhook_active_form_help' => 'Webhook 必须是激活状态,否则不会被调用。', + 'stored_new_webhook' => '新的 webhook “:title” 已保存', + 'delete_webhook' => '删除 Webhook', + 'deleted_webhook' => '已删除 webhook “:title”', + 'edit_webhook' => '编辑 webhook “:title”', + 'updated_webhook' => '已更新 webhook “:title”', + 'edit_webhook_js' => '编辑 webhook “{title}”', + 'show_webhook' => 'Webhook “:title”', 'webhook_was_triggered' => 'The webhook was triggered on the indicated transaction. You can refresh this page to see the results.', - 'webhook_messages' => 'Webhook message', - 'view_message' => 'View message', - 'view_attempts' => 'View failed attempts', - 'message_content_title' => 'Webhook message content', + 'webhook_messages' => 'Webhook 消息', + 'view_message' => '查看消息', + 'view_attempts' => '查看失败的尝试', + 'message_content_title' => 'Webhook 消息内容', 'message_content_help' => 'This is the content of the message that was sent (or tried) using this webhook.', - 'attempt_content_title' => 'Webhook attempts', + 'attempt_content_title' => 'Webhook 尝试', 'attempt_content_help' => 'These are all the unsuccessful attempts of this webhook message to submit to the configured URL. After some time, Firefly III will stop trying.', 'no_attempts' => 'There are no unsuccessful attempts. That\'s a good thing!', - 'webhook_attempt_at' => 'Attempt at {moment}', - 'logs' => 'Logs', - 'response' => 'Response', - 'visit_webhook_url' => 'Visit webhook URL', - 'reset_webhook_secret' => 'Reset webhook secret', + 'webhook_attempt_at' => '尝试于 {moment}', + 'logs' => '日志', + 'response' => '响应', + 'visit_webhook_url' => '访问 webhook URL', + 'reset_webhook_secret' => '重置 webhook 密钥', // API access 'authorization_request' => 'Firefly III :version 版授权请求', - 'authorization_request_intro' => 'Application ":client" is requesting permission to access your financial administration. Would you like to authorize :client to access these records?', - 'authorization_request_site' => 'You will be redirected to :url which will then be able to access your Firefly III data.', - 'authorization_request_invalid' => 'This access request is invalid. Please never follow this link again.', + 'authorization_request_intro' => '应用 ":client" 正在请求权限以访问您的财务管理功能。是否授权 :client 访问这些记录?', + 'authorization_request_site' => '您将被重定向到 :url ,然后就能够访问您的 Firefly III 数据。', + 'authorization_request_invalid' => '此访问请求无效。请不要再次使用此链接。', 'scopes_will_be_able' => '此应用可以:', 'button_authorize' => '授权', 'none_in_select_list' => '(空)', @@ -320,32 +320,32 @@ return [ 'search_found_transactions' => 'Firefly III 找到 :count 条交易,用时 :time 秒。|Firefly III 找到 :count 条交易,用时 :time 秒。', 'search_found_more_transactions' => 'Firefly III 找到超过 :count 条交易,用时 :time 秒。', 'search_for_query' => 'Firefly III 正在搜索包含 :query 的交易', - 'invalid_operators_list' => 'These search parameters are not valid and have been ignored.', + 'invalid_operators_list' => '搜索参数无效,已忽略。', // old - 'search_modifier_date_on' => 'Transaction date is ":value"', - 'search_modifier_not_date_on' => 'Transaction date is not ":value"', - 'search_modifier_reconciled' => 'Transaction is reconciled', - 'search_modifier_not_reconciled' => 'Transaction is not reconciled', + 'search_modifier_date_on' => '交易日期为 “:value”', + 'search_modifier_not_date_on' => '交易日期不为 “:value”', + 'search_modifier_reconciled' => '交易已对账', + 'search_modifier_not_reconciled' => '交易未对账', 'search_modifier_id' => '交易 ID 为 “:value”', - 'search_modifier_not_id' => 'Transaction ID is not ":value"', + 'search_modifier_not_id' => '交易 ID 不为“:value”', 'search_modifier_date_before' => '交易日期为“:value”或之前', 'search_modifier_date_after' => '交易日期为“:value”或之后', - 'search_modifier_external_id_is' => 'External ID is ":value"', - 'search_modifier_not_external_id_is' => 'External ID is not ":value"', - 'search_modifier_no_external_url' => 'The transaction has no external URL', - 'search_modifier_not_any_external_url' => 'The transaction has no external URL', - 'search_modifier_any_external_url' => 'The transaction must have a (any) external URL', - 'search_modifier_not_no_external_url' => 'The transaction must have a (any) external URL', - 'search_modifier_internal_reference_is' => 'Internal reference is ":value"', - 'search_modifier_not_internal_reference_is' => 'Internal reference is not ":value"', - 'search_modifier_description_starts' => 'Description starts with ":value"', - 'search_modifier_not_description_starts' => 'Description does not start with ":value"', - 'search_modifier_description_ends' => 'Description ends on ":value"', - 'search_modifier_not_description_ends' => 'Description does not end on ":value"', + 'search_modifier_external_id_is' => '外部 ID 为“:value”', + 'search_modifier_not_external_id_is' => '外部 ID 不为“:value”', + 'search_modifier_no_external_url' => '交易没有外部链接', + 'search_modifier_not_any_external_url' => '交易没有外部链接', + 'search_modifier_any_external_url' => '交易必须有一个(或任意多个)外部链接', + 'search_modifier_not_no_external_url' => '交易必须有一个(或任意多个)外部链接', + 'search_modifier_internal_reference_is' => '内部引用为“:value”', + 'search_modifier_not_internal_reference_is' => '内部引用不为“:value”', + 'search_modifier_description_starts' => '描述开头为“:value”', + 'search_modifier_not_description_starts' => '描述开头不为“:value”', + 'search_modifier_description_ends' => '描述结尾为“:value”', + 'search_modifier_not_description_ends' => '描述结尾不为“:value”', 'search_modifier_description_contains' => '描述包含“:value”', - 'search_modifier_not_description_contains' => 'Description does not contain ":value"', + 'search_modifier_not_description_contains' => '描述不包含“:value”', 'search_modifier_description_is' => '描述为“:value”', 'search_modifier_not_description_is' => 'Description is exactly not ":value"', 'search_modifier_currency_is' => '交易 (外币) 货币为“:value”', @@ -354,35 +354,35 @@ return [ 'search_modifier_not_foreign_currency_is' => 'Transaction foreign currency is not ":value"', 'search_modifier_has_attachments' => '交易必须有附件', 'search_modifier_has_no_category' => '交易不能有分类', - 'search_modifier_not_has_no_category' => 'The transaction must have a (any) category', - 'search_modifier_not_has_any_category' => 'The transaction must have no category', + 'search_modifier_not_has_no_category' => '交易必须有一个(或任意多个)分类', + 'search_modifier_not_has_any_category' => '交易必须没有分类', 'search_modifier_has_any_category' => '交易必须有分类', 'search_modifier_has_no_budget' => '交易不能有预算', - 'search_modifier_not_has_any_budget' => 'The transaction must have no budget', + 'search_modifier_not_has_any_budget' => '交易必须不存在预算', 'search_modifier_has_any_budget' => '交易必须有预算', - 'search_modifier_not_has_no_budget' => 'The transaction must have a (any) budget', - 'search_modifier_has_no_bill' => 'The transaction must have no bill', - 'search_modifier_not_has_no_bill' => 'The transaction must have a (any) bill', - 'search_modifier_has_any_bill' => 'The transaction must have a (any) bill', - 'search_modifier_not_has_any_bill' => 'The transaction must have no bill', + 'search_modifier_not_has_no_budget' => '交易必须有一个(或任意多个)预算', + 'search_modifier_has_no_bill' => '交易必须不存在账单', + 'search_modifier_not_has_no_bill' => '交易必须有一个(或任意多个)账单', + 'search_modifier_has_any_bill' => '交易必须有一个(或任意多个)账单', + 'search_modifier_not_has_any_bill' => '交易必须不存在账单', 'search_modifier_has_no_tag' => '交易不能有标签', - 'search_modifier_not_has_any_tag' => 'The transaction must have no tags', - 'search_modifier_not_has_no_tag' => 'The transaction must have a (any) tag', + 'search_modifier_not_has_any_tag' => '交易必须没有标签', + 'search_modifier_not_has_no_tag' => '交易必须有一个(或任意多个)标签', 'search_modifier_has_any_tag' => '交易必须有标签', - 'search_modifier_notes_contains' => 'The transaction notes contain ":value"', - 'search_modifier_not_notes_contains' => 'The transaction notes do not contain ":value"', - 'search_modifier_notes_starts' => 'The transaction notes start with ":value"', + 'search_modifier_notes_contains' => '交易备注包含“:value”', + 'search_modifier_not_notes_contains' => '交易备注不包含“:value”', + 'search_modifier_notes_starts' => '交易备注开头为“:value”', 'search_modifier_not_notes_starts' => 'The transaction notes do not start with ":value"', 'search_modifier_notes_ends' => 'The transaction notes end with ":value"', 'search_modifier_not_notes_ends' => 'The transaction notes do not end with ":value"', 'search_modifier_notes_is' => 'The transaction notes are exactly ":value"', 'search_modifier_not_notes_is' => 'The transaction notes are exactly not ":value"', 'search_modifier_no_notes' => '交易备注为空', - 'search_modifier_not_no_notes' => 'The transaction must have notes', + 'search_modifier_not_no_notes' => '交易必须填写备注', 'search_modifier_any_notes' => '交易备注不为空', - 'search_modifier_not_any_notes' => 'The transaction has no notes', + 'search_modifier_not_any_notes' => '交易没有备注', 'search_modifier_amount_is' => 'Amount is exactly :value', - 'search_modifier_not_amount_is' => 'Amount is not :value', + 'search_modifier_not_amount_is' => '金额不是 :value', 'search_modifier_amount_less' => '金额小于或等于:value', 'search_modifier_not_amount_more' => 'Amount is less than or equal to :value', 'search_modifier_amount_more' => '金额大于或等于:value', @@ -406,23 +406,23 @@ return [ 'search_modifier_source_account_nr_ends' => 'Source account number (IBAN) ends on ":value"', 'search_modifier_not_source_account_nr_ends' => 'Source account number (IBAN) does not end on ":value"', 'search_modifier_destination_account_is' => '目标账户名称为“:value”', - 'search_modifier_not_destination_account_is' => 'Destination account name is not ":value"', + 'search_modifier_not_destination_account_is' => '目标帐户名称不是 ":value"', 'search_modifier_destination_account_contains' => '目标账户名称包含“:value”', - 'search_modifier_not_destination_account_contains' => 'Destination account name does not contain ":value"', + 'search_modifier_not_destination_account_contains' => '目标帐户名称不包含 ":value"', 'search_modifier_destination_account_starts' => '目标账户名称开头为“:value”', - 'search_modifier_not_destination_account_starts' => 'Destination account name does not start with ":value"', - 'search_modifier_destination_account_ends' => 'Destination account name ends on ":value"', - 'search_modifier_not_destination_account_ends' => 'Destination account name does not end on ":value"', + 'search_modifier_not_destination_account_starts' => '目标帐户名称不是以 ":value 开头的', + 'search_modifier_destination_account_ends' => '目标帐户名称以 ":value" 结束', + 'search_modifier_not_destination_account_ends' => '目标帐户名称不是以 ":value 结束的', 'search_modifier_destination_account_id' => '目标账户 ID 为 :value', - 'search_modifier_not_destination_account_id' => 'Destination account ID is not :value', - 'search_modifier_destination_is_cash' => 'Destination account is the "(cash)" account', - 'search_modifier_not_destination_is_cash' => 'Destination account is not the "(cash)" account', - 'search_modifier_source_is_cash' => 'Source account is the "(cash)" account', - 'search_modifier_not_source_is_cash' => 'Source account is not the "(cash)" account', + 'search_modifier_not_destination_account_id' => '目标帐户 ID 不是 :value', + 'search_modifier_destination_is_cash' => '目标账户为 (现金) 账户', + 'search_modifier_not_destination_is_cash' => '目标帐户不是"(现金)"帐户', + 'search_modifier_source_is_cash' => '来源账户为 (现金) 账户', + 'search_modifier_not_source_is_cash' => '来源账户不是 (现金) 账户', 'search_modifier_destination_account_nr_is' => '目标账户编号 (IBAN) 为“:value”', - 'search_modifier_not_destination_account_nr_is' => 'Destination account number (IBAN) is ":value"', + 'search_modifier_not_destination_account_nr_is' => '目标账户编号 (IBAN) 为“:value”', 'search_modifier_destination_account_nr_contains' => '目标账户编号 (IBAN) 包含“:value”', - 'search_modifier_not_destination_account_nr_contains' => 'Destination account number (IBAN) does not contain ":value"', + 'search_modifier_not_destination_account_nr_contains' => '目标帐户号 (IBAN) 不包含明确的 ":value"', 'search_modifier_destination_account_nr_starts' => '目标账户编号 (IBAN) 开头为“:value”', 'search_modifier_not_destination_account_nr_starts' => 'Destination account number (IBAN) does not start with ":value"', 'search_modifier_destination_account_nr_ends' => '目标账户编号 (IBAN) 结尾为“:value”', @@ -443,10 +443,10 @@ return [ 'search_modifier_not_date_on_year' => 'Transaction is not in year ":value"', 'search_modifier_date_on_month' => 'Transaction is in month ":value"', 'search_modifier_not_date_on_month' => 'Transaction is not in month ":value"', - 'search_modifier_date_on_day' => 'Transaction is on day of month ":value"', - 'search_modifier_not_date_on_day' => 'Transaction is not on day of month ":value"', - 'search_modifier_date_before_year' => 'Transaction is before or in year ":value"', - 'search_modifier_date_before_month' => 'Transaction is before or in month ":value"', + 'search_modifier_date_on_day' => '交易在月份中的日期 ":value"', + 'search_modifier_not_date_on_day' => '交易不在月中的日期 ":value"', + 'search_modifier_date_before_year' => '交易是在之前或当前的年份 “:value”', + 'search_modifier_date_before_month' => '交易是在之前或当前的月份 “:value”', 'search_modifier_date_before_day' => 'Transaction is before or on day of month ":value"', 'search_modifier_date_after_year' => 'Transaction is in or after year ":value"', 'search_modifier_date_after_month' => 'Transaction is in or after month ":value"', @@ -454,12 +454,12 @@ return [ // new - 'search_modifier_tag_is_not' => 'No tag is ":value"', - 'search_modifier_not_tag_is_not' => 'Tag is ":value"', + 'search_modifier_tag_is_not' => '没有标签是 ":value"', + 'search_modifier_not_tag_is_not' => '标签是“:value”', 'search_modifier_account_is' => '其中一个账户为":value"', - 'search_modifier_not_account_is' => 'Neither account is ":value"', + 'search_modifier_not_account_is' => '两个帐户都不是 ":value"', 'search_modifier_account_contains' => '其中一个账户包含":value"', - 'search_modifier_not_account_contains' => 'Neither account contains ":value"', + 'search_modifier_not_account_contains' => '两个帐户都包含 ":value"', 'search_modifier_account_ends' => '其中一个账户结尾为 ":value"', 'search_modifier_not_account_ends' => 'Neither account ends with ":value"', 'search_modifier_account_starts' => '其中一个账户开头为":value"', @@ -474,7 +474,7 @@ return [ 'search_modifier_not_account_nr_starts' => 'Neither account number / IBAN starts with ":value"', 'search_modifier_category_contains' => '分类包含":value"', 'search_modifier_not_category_contains' => 'Category does not contain ":value"', - 'search_modifier_category_ends' => 'Category ends on ":value"', + 'search_modifier_category_ends' => '分类结尾为“:value”', 'search_modifier_not_category_ends' => 'Category does not end on ":value"', 'search_modifier_category_starts' => '分类开头为":value"', 'search_modifier_not_category_starts' => 'Category does not start with ":value"', @@ -502,17 +502,17 @@ return [ 'search_modifier_internal_reference_starts' => 'Internal reference starts with ":value"', 'search_modifier_not_internal_reference_ends' => 'Internal reference does not end with ":value"', 'search_modifier_not_internal_reference_starts' => 'Internal reference does not start with ":value"', - 'search_modifier_external_url_is' => 'External URL is ":value"', - 'search_modifier_not_external_url_is' => 'External URL is not ":value"', - 'search_modifier_external_url_contains' => 'External URL contains ":value"', - 'search_modifier_not_external_url_contains' => 'External URL does not contain ":value"', - 'search_modifier_external_url_ends' => 'External URL ends with ":value"', - 'search_modifier_not_external_url_ends' => 'External URL does not end with ":value"', - 'search_modifier_external_url_starts' => 'External URL starts with ":value"', - 'search_modifier_not_external_url_starts' => 'External URL does not start with ":value"', - 'search_modifier_has_no_attachments' => 'Transaction has no attachments', - 'search_modifier_not_has_no_attachments' => 'Transaction has attachments', - 'search_modifier_not_has_attachments' => 'Transaction has no attachments', + 'search_modifier_external_url_is' => '外部URL是“:value”', + 'search_modifier_not_external_url_is' => '外部URL不是 ":value"', + 'search_modifier_external_url_contains' => '外部URL包含 ":value"', + 'search_modifier_not_external_url_contains' => '外部URL不包含 ":value"', + 'search_modifier_external_url_ends' => '外部URL以“:value”结尾。', + 'search_modifier_not_external_url_ends' => '外部 URL 不以 ":value 结尾。', + 'search_modifier_external_url_starts' => '外部 URL 始于“:value”', + 'search_modifier_not_external_url_starts' => '外部 URL 不是以 ":value 开头的', + 'search_modifier_has_no_attachments' => '交易没有附件', + 'search_modifier_not_has_no_attachments' => '交易包含附件', + 'search_modifier_not_has_attachments' => '交易没有附件', 'search_modifier_account_is_cash' => 'Either account is the "(cash)" account.', 'search_modifier_not_account_is_cash' => 'Neither account is the "(cash)" account.', 'search_modifier_journal_id' => 'The journal ID is ":value"', @@ -824,7 +824,7 @@ return [ 'rule_trigger_category_is' => '分类为 ":trigger_value"', 'rule_trigger_amount_less_choice' => '金额小于…', 'rule_trigger_amount_less' => '金额小于 :trigger_value', - 'rule_trigger_amount_is_choice' => 'Amount is..', + 'rule_trigger_amount_is_choice' => '金额是...', 'rule_trigger_amount_is' => 'Amount is :trigger_value', 'rule_trigger_amount_more_choice' => '金额大于…', 'rule_trigger_amount_more' => '金额大于 :trigger_value', @@ -836,7 +836,7 @@ return [ 'rule_trigger_description_contains' => '描述包含 ":trigger_value"', 'rule_trigger_description_is_choice' => '描述为…', 'rule_trigger_description_is' => '描述为“:trigger_value”', - 'rule_trigger_date_on_choice' => 'Transaction date is..', + 'rule_trigger_date_on_choice' => '交易日期为...', 'rule_trigger_date_on' => 'Transaction date is ":trigger_value"', 'rule_trigger_date_before_choice' => '交易日期早于...', 'rule_trigger_date_before' => '交易日期早于“:trigger_value”', @@ -1040,7 +1040,7 @@ return [ 'rule_trigger_not_tag_is' => 'Tag is not ":trigger_value"', 'rule_trigger_not_tag_is_not' => 'Tag is ":trigger_value"', 'rule_trigger_not_description_is' => 'Description is not ":trigger_value"', - 'rule_trigger_not_description_contains' => 'Description does not contain', + 'rule_trigger_not_description_contains' => '描述不包含', 'rule_trigger_not_description_ends' => 'Description does not end with ":trigger_value"', 'rule_trigger_not_description_starts' => 'Description does not start with ":trigger_value"', 'rule_trigger_not_notes_is' => 'Notes are not ":trigger_value"', @@ -1198,7 +1198,7 @@ return [ 'rule_action_clear_notes_choice' => '移除所有备注', 'rule_action_clear_notes' => '移除所有备注', 'rule_action_set_notes_choice' => 'Set notes to ..', - 'rule_action_link_to_bill_choice' => 'Link to a bill ..', + 'rule_action_link_to_bill_choice' => '关联至账单…', 'rule_action_link_to_bill' => '关联至账单“:action_value”', 'rule_action_set_notes' => '设定备注至“:action_value”', 'rule_action_convert_deposit_choice' => '转换交易为收入', @@ -1220,7 +1220,7 @@ return [ 'rule_for_bill_title' => 'Auto-generated rule for bill ":name"', 'rule_for_bill_description' => 'This rule is auto-generated to try to match bill ":name".', 'create_rule_for_bill' => '为账单“:name”创建新规则', - 'create_rule_for_bill_txt' => 'You have just created a new bill called ":name", congratulations!Firefly III can automagically match new withdrawals to this bill. For example, whenever you pay your rent, the bill "rent" will be linked to the expense. This way, Firefly III can accurately show you which bills are due and which ones aren\'t. In order to do so, a new rule must be created. Firefly III has filled in some sensible defaults for you. Please make sure these are correct. If these values are correct, Firefly III will automatically link the correct withdrawal to the correct bill. Please check out the triggers to see if they are correct, and add some if they\'re wrong.', + 'create_rule_for_bill_txt' => '您刚刚创建了一个名为“:name”的新账单,恭喜!Firefly III 可以自动匹配新支出到此账单中。例如,每当您支付租金时,“租金”账单将与此支出挂钩。 这样的话,Firefly III 可以准确地向你们展示哪些账单将要到期以及哪些账单尚未到期。要实现该功能必须创建一项新的规则。Firefly III 已经为您填写了一些合理的默认值。请确保它们是正确的。如果这些值是正确的,Frefly III 将自动将正确的支出与正确的帐单关联起来。 请查看触发器以确认他们是否正确,如果触发器不正确,请添加一些正确的触发器。', 'new_rule_for_bill_title' => '账单“:name”的规则', 'new_rule_for_bill_description' => '此规则标记用于账单“:name”的交易。', @@ -1262,9 +1262,9 @@ return [ 'pref_last90' => '最近90天', 'pref_last30' => '最近 30 天', 'pref_last7' => '最近7天', - 'pref_YTD' => 'Year to date', - 'pref_QTD' => 'Quarter to date', - 'pref_MTD' => 'Month to date', + 'pref_YTD' => '今年至今', + 'pref_QTD' => '本季度至今', + 'pref_MTD' => '本月至今', 'pref_languages' => '语言', 'pref_locale' => '区域设置', 'pref_languages_help' => 'Firefly III 支持多语言,请问您倾向于哪个语言?', @@ -1293,7 +1293,7 @@ return [ 'preferences_frontpage' => '主屏幕', 'preferences_security' => '安全性', 'preferences_layout' => '布局', - 'preferences_notifications' => 'Notifications', + 'preferences_notifications' => '通知', 'pref_home_show_deposits' => '在主屏幕显示收入', 'pref_home_show_deposits_info' => '主屏幕已显示您的支出账户,是否同时显示您的收入账户?', 'pref_home_do_show_deposits' => '是,要显示', @@ -1328,25 +1328,25 @@ return [ 'pref_notification_new_access_token' => 'Alert when a new API access token is created', 'pref_notification_transaction_creation' => 'Alert when a transaction is created automatically', 'pref_notification_user_login' => 'Alert when you login from a new location', - 'pref_notifications' => 'Notifications', + 'pref_notifications' => '通知', 'pref_notifications_help' => 'Indicate if these are notifications you would like to get. Some notifications may contain sensitive financial information.', - 'slack_webhook_url' => 'Slack Webhook URL', - 'slack_webhook_url_help' => 'If you want Firefly III to notify you using Slack, enter the webhook URL here. Otherwise leave the field blank. If you are an admin, you need to set this URL in the administration as well.', + 'slack_webhook_url' => 'Slack Webhook 地址', + 'slack_webhook_url_help' => '如果您想要 Firefly III 使用 Slack 通知您,请在此处输入 webhook 地址。否则请留空该字段。 如果您是管理员,您还需要在管理设置中设置此地址。', 'slack_url_label' => 'Slack "incoming webhook" URL', // profile: - 'purge_data_title' => 'Purge data from Firefly III', - 'purge_data_expl' => '"Purging" means "deleting that which is already deleted". In normal circumstances, Firefly III deletes nothing permanently. It just hides it. The button below deletes all of these previously "deleted" records FOREVER.', - 'delete_stuff_header' => 'Delete and purge data', - 'purge_all_data' => 'Purge all deleted records', - 'purge_data' => 'Purge data', - 'purged_all_records' => 'All deleted records have been purged.', - 'delete_data_title' => 'Delete data from Firefly III', - 'permanent_delete_stuff' => 'You can delete stuff from Firefly III. Using the buttons below means that your items will be removed from view and hidden. There is no undo-button for this, but the items may remain in the database where you can salvage them if necessary.', + 'purge_data_title' => '从 Frefly III 清除数据', + 'purge_data_expl' => '“清除”是指“删除已经删除的内容”。在正常情况下,Firefly III 不会永久删除记录,只是将其隐藏。下面的按钮会将先前“已删除”的记录永久删除。', + 'delete_stuff_header' => '删除数据', + 'purge_all_data' => '彻底删除所有已删除的记录', + 'purge_data' => '彻底清除数据', + 'purged_all_records' => '所有已删除的记录已被彻底清除。', + 'delete_data_title' => '从 Firefly III 删除数据', + 'permanent_delete_stuff' => '你可以从 Firefly III 删除数据。使用下列按钮意味着你的数据会从视图中移除并隐藏。这些操作没有撤销按钮,但如果必要的话,你可以从数据库中找回数据,它们可能仍然存在于数据库中。', 'other_sessions_logged_out' => '所有其他设备已退出登录。', 'delete_unused_accounts' => 'Deleting unused accounts will clean your auto-complete lists.', - 'delete_all_unused_accounts' => 'Delete unused accounts', - 'deleted_all_unused_accounts' => 'All unused accounts are deleted', + 'delete_all_unused_accounts' => '删除未使用的账户', + 'deleted_all_unused_accounts' => '所有未使用的账户都已删除', 'delete_all_budgets' => '删除所有预算', 'delete_all_categories' => '删除所有分类', 'delete_all_tags' => '删除所有标签', @@ -1487,8 +1487,8 @@ return [ 'title_transfer' => '转账', 'title_transfers' => '转账', 'submission_options' => 'Submission options', - 'apply_rules_checkbox' => 'Apply rules', - 'fire_webhooks_checkbox' => 'Fire webhooks', + 'apply_rules_checkbox' => '应用规则', + 'fire_webhooks_checkbox' => '触发 webhook', // convert stuff: 'convert_is_already_type_Withdrawal' => '此交易已经为支出', @@ -1651,7 +1651,7 @@ return [ 'repeats' => '重复', 'bill_end_date_help' => 'Optional field. The bill is expected to end on this date.', 'bill_extension_date_help' => 'Optional field. The bill must be extended (or cancelled) on or before this date.', - 'bill_end_index_line' => 'This bill ends on :date', + 'bill_end_index_line' => '此账单于 :date 结束', 'bill_extension_index_line' => 'This bill must be extended or cancelled on :date', 'connected_journals' => '已关联交易', 'auto_match_on' => '由 Firefly III 自动匹配', @@ -1801,7 +1801,7 @@ return [ 'show' => '显示', 'confirm_reconciliation' => '确认对帐', 'submitted_start_balance' => '初始余额已提交', - 'selected_transactions' => '已选择交易 (:count)', + 'selected_transactions' => '已选择 (:count) 项交易', 'already_cleared_transactions' => '以清空交易 (:count)', 'submitted_end_balance' => '已提交结束余额', 'initial_balance_description' => '“:account”的初始余额', @@ -2111,7 +2111,7 @@ return [ 'reports_submit' => '查看报表', 'end_after_start_date' => '报表的结束日期必须在开始日期之后。', 'select_category' => '选择类别', - 'select_budget' => '选择预算。', + 'select_budget' => '选择预算', 'select_tag' => '选择标签', 'income_per_category' => '每个类别的收入', 'expense_per_category' => '每个类别的支出', @@ -2280,7 +2280,7 @@ return [ 'delete_user' => '删除用户 :email', 'user_deleted' => '用户已被删除', 'send_test_email' => '发送测试邮件消息', - 'send_test_email_text' => 'To see if your installation is capable of sending email or posting Slack messages, please press this button. You will not see an error here (if any), the log files will reflect any errors. You can press this button as many times as you like. There is no spam control. The message will be sent to :email and should arrive shortly.', + 'send_test_email_text' => '要查看您的安装是否能够发送电子邮件或发布Slack消息,请按下此按钮。 您在这里不会看到任何错误(如果有的话), 日志文件将显示错误信息。 您可以多次点击这个按钮。这里没有垃圾邮件控制。 消息将发送到 :email 并应该很快到达。', 'send_message' => '发送消息', 'send_test_triggered' => '测试已触发,请检查您的收件箱与日志文件。', 'give_admin_careful' => '被授予管理员权限的用户可以收回您的权限。请千万注意这点。', @@ -2291,11 +2291,11 @@ return [ 'admin_notifications_expl' => 'The following notifications can be enabled or disabled by the administrator. If you want to get these messages over Slack as well, set the "incoming webhook" URL.', 'admin_notification_check_user_new_reg' => 'User gets post-registration welcome message', 'admin_notification_check_admin_new_reg' => 'Administrator(s) get new user registration notification', - 'admin_notification_check_new_version' => 'A new version is available', + 'admin_notification_check_new_version' => '有新版本可用', 'admin_notification_check_invite_created' => 'A user is invited to Firefly III', 'admin_notification_check_invite_redeemed' => 'A user invitation is redeemed', - 'all_invited_users' => 'All invited users', - 'save_notification_settings' => 'Save settings', + 'all_invited_users' => '所有受邀用户', + 'save_notification_settings' => '保存设置', 'notification_settings_saved' => 'The notification settings have been saved', @@ -2491,7 +2491,7 @@ return [ 'store_new_recurrence' => '保存定期交易', 'stored_new_recurrence' => '定期交易“:title”保存成功', 'edit_recurrence' => '编辑定期交易“:title”', - 'recurring_repeats_until' => '重复至:date', + 'recurring_repeats_until' => '重复至 :date', 'recurring_repeats_forever' => '永远重复', 'recurring_repeats_x_times' => '重复:count次|重复:count次', 'update_recurrence' => '更新定期交易', @@ -2548,8 +2548,8 @@ return [ 'audit_log_entries' => 'Audit log entries', 'ale_action_log_add' => 'Added :amount to piggy bank ":name"', 'ale_action_log_remove' => 'Removed :amount from piggy bank ":name"', - 'ale_action_clear_budget' => 'Removed from budget', - 'ale_action_clear_category' => 'Removed from category', + 'ale_action_clear_budget' => '已从预算中移除', + 'ale_action_clear_category' => '已从分类中删除', 'ale_action_clear_notes' => 'Removed notes', 'ale_action_clear_tag' => 'Cleared tag', 'ale_action_clear_all_tags' => 'Cleared all tags', @@ -2561,8 +2561,8 @@ return [ 'ale_action_update_transaction_type' => 'Changed transaction type', 'ale_action_update_notes' => 'Changed notes', 'ale_action_update_description' => 'Changed description', - 'ale_action_add_to_piggy' => 'Piggy bank', - 'ale_action_remove_from_piggy' => 'Piggy bank', + 'ale_action_add_to_piggy' => '存钱罐', + 'ale_action_remove_from_piggy' => '存钱罐', 'ale_action_add_tag' => 'Added tag', ]; diff --git a/resources/lang/zh_CN/list.php b/resources/lang/zh_CN/list.php index c01a77892a..140a3d6d24 100644 --- a/resources/lang/zh_CN/list.php +++ b/resources/lang/zh_CN/list.php @@ -43,10 +43,10 @@ return [ 'lastActivity' => '上次活动', 'balanceDiff' => '余额差', 'other_meta_data' => '其它元信息', - 'invited_at' => 'Invited at', - 'expires' => 'Invitation expires', - 'invited_by' => 'Invited by', - 'invite_link' => 'Invite link', + 'invited_at' => '邀请于', + 'expires' => '邀请过期', + 'invited_by' => '邀请者', + 'invite_link' => '邀请链接', 'account_type' => '账户类型', 'created_at' => '创建于', 'account' => '账户', @@ -135,17 +135,17 @@ return [ 'field' => '字段', 'value' => '值', 'interest' => '利息', - 'interest_period' => 'Interest period', + 'interest_period' => '计息期', 'liability_type' => '债务类型', - 'liability_direction' => 'Liability in/out', + 'liability_direction' => '债务增/减', 'end_date' => '截止日期', 'payment_info' => '付款信息', 'expected_info' => '下一个预期的交易', 'start_date' => '起始日期', - 'trigger' => 'Trigger', - 'response' => 'Response', - 'delivery' => 'Delivery', - 'url' => 'URL', - 'secret' => 'Secret', + 'trigger' => '触发条件', + 'response' => '答复', + 'delivery' => '交付', + 'url' => '网址', + 'secret' => '密钥', ]; diff --git a/resources/lang/zh_CN/validation.php b/resources/lang/zh_CN/validation.php index 22058989db..481aaa9119 100644 --- a/resources/lang/zh_CN/validation.php +++ b/resources/lang/zh_CN/validation.php @@ -141,8 +141,8 @@ return [ 'unique_piggy_bank_for_user' => '存钱罐名称必须唯一', 'unique_object_group' => '组名称必须唯一', 'starts_with' => '此值必须以 :values 开头', - 'unique_webhook' => 'You already have a webhook with this combination of URL, trigger, response and delivery.', - 'unique_existing_webhook' => 'You already have another webhook with this combination of URL, trigger, response and delivery.', + 'unique_webhook' => '您已经有一个 与 URL 绑定的 webhook、触发、响应和送达。', + 'unique_existing_webhook' => '您已经有了另一个与 URL 组合、触发、响应和交付的Webhook。', 'same_account_type' => '两个账户必须是相同类型的账户', 'same_account_currency' => '两个账户必须设置有相同的货币', @@ -212,7 +212,7 @@ return [ 'lc_source_need_data' => '需要获取一个有效的来源账户 ID 才能继续。', 'ob_dest_need_data' => '需要一个有效的来源账户 ID 和/或来源账户名称才能继续', 'ob_dest_bad_data' => '搜索 ID “:id”或名称“:name”时找不到有效的目标账户', - 'reconciliation_either_account' => 'To submit a reconciliation, you must submit either a source or a destination account. Not both, not neither.', + 'reconciliation_either_account' => '要提交对账,您必须提交来源或目标帐户。不要都提交,也不要都不提交。', 'generic_invalid_source' => '您不能使用此账户作为来源账户', 'generic_invalid_destination' => '您不能使用此账户作为目标账户', diff --git a/sonar-project.properties b/sonar-project.properties index 4a4852b493..421ab70d58 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -12,6 +12,6 @@ sonar.organization=firefly-iii #sonar.sourceEncoding=UTF-8 -sonar.projectVersion=5.7.15 +sonar.projectVersion=5.7.16 sonar.sources=app,bootstrap,database,resources/assets,resources/views,routes,tests sonar.sourceEncoding=UTF-8 diff --git a/yarn.lock b/yarn.lock index e09f145210..909fe55ea3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -17,38 +17,38 @@ dependencies: "@babel/highlight" "^7.18.6" -"@babel/compat-data@^7.17.7", "@babel/compat-data@^7.20.0", "@babel/compat-data@^7.20.1": - version "7.20.5" - resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.20.5.tgz#86f172690b093373a933223b4745deeb6049e733" - integrity sha512-KZXo2t10+/jxmkhNXc7pZTqRvSOIvVv/+lJwHS+B2rErwOyjuVRh60yVpb7liQ1U5t7lLJ1bz+t8tSypUZdm0g== +"@babel/compat-data@^7.17.7", "@babel/compat-data@^7.20.1", "@babel/compat-data@^7.20.5": + version "7.20.10" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.20.10.tgz#9d92fa81b87542fff50e848ed585b4212c1d34ec" + integrity sha512-sEnuDPpOJR/fcafHMjpcpGN5M2jbUGUHwmuWKM/YdPzeEDJg8bgmbcWQFUfE32MQjti1koACvoPVsDe8Uq+idg== "@babel/core@^7.15.8": - version "7.20.5" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.20.5.tgz#45e2114dc6cd4ab167f81daf7820e8fa1250d113" - integrity sha512-UdOWmk4pNWTm/4DlPUl/Pt4Gz4rcEMb7CY0Y3eJl5Yz1vI8ZJGmHWaVE55LoxRjdpx0z259GE9U5STA9atUinQ== + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.20.7.tgz#37072f951bd4d28315445f66e0ec9f6ae0c8c35f" + integrity sha512-t1ZjCluspe5DW24bn2Rr1CDb2v9rn/hROtg9a2tmd0+QYf4bsloYfLQzjG4qHPNMhWtKdGC33R5AxGR2Af2cBw== dependencies: "@ampproject/remapping" "^2.1.0" "@babel/code-frame" "^7.18.6" - "@babel/generator" "^7.20.5" - "@babel/helper-compilation-targets" "^7.20.0" - "@babel/helper-module-transforms" "^7.20.2" - "@babel/helpers" "^7.20.5" - "@babel/parser" "^7.20.5" - "@babel/template" "^7.18.10" - "@babel/traverse" "^7.20.5" - "@babel/types" "^7.20.5" + "@babel/generator" "^7.20.7" + "@babel/helper-compilation-targets" "^7.20.7" + "@babel/helper-module-transforms" "^7.20.7" + "@babel/helpers" "^7.20.7" + "@babel/parser" "^7.20.7" + "@babel/template" "^7.20.7" + "@babel/traverse" "^7.20.7" + "@babel/types" "^7.20.7" convert-source-map "^1.7.0" debug "^4.1.0" gensync "^1.0.0-beta.2" json5 "^2.2.1" semver "^6.3.0" -"@babel/generator@^7.20.5": - version "7.20.5" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.20.5.tgz#cb25abee3178adf58d6814b68517c62bdbfdda95" - integrity sha512-jl7JY2Ykn9S0yj4DQP82sYvPU+T3g0HFcWTqDLqiuA9tGRNIj9VfbtXGAYTTkyNEnQk1jkMGOdYka8aG/lulCA== +"@babel/generator@^7.20.7": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.20.7.tgz#f8ef57c8242665c5929fe2e8d82ba75460187b4a" + integrity sha512-7wqMOJq8doJMZmP4ApXTzLxSr7+oO2jroJURrVEp6XShrQUObV8Tq/D0NCcoYg2uHqUrjzO0zwBjoYzelxK+sw== dependencies: - "@babel/types" "^7.20.5" + "@babel/types" "^7.20.7" "@jridgewell/gen-mapping" "^0.3.2" jsesc "^2.5.1" @@ -67,27 +67,28 @@ "@babel/helper-explode-assignable-expression" "^7.18.6" "@babel/types" "^7.18.9" -"@babel/helper-compilation-targets@^7.17.7", "@babel/helper-compilation-targets@^7.18.9", "@babel/helper-compilation-targets@^7.20.0": - version "7.20.0" - resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.20.0.tgz#6bf5374d424e1b3922822f1d9bdaa43b1a139d0a" - integrity sha512-0jp//vDGp9e8hZzBc6N/KwA5ZK3Wsm/pfm4CrY7vzegkVxc65SgSn6wYOnwHe9Js9HRQ1YTCKLGPzDtaS3RoLQ== +"@babel/helper-compilation-targets@^7.17.7", "@babel/helper-compilation-targets@^7.18.9", "@babel/helper-compilation-targets@^7.20.0", "@babel/helper-compilation-targets@^7.20.7": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.20.7.tgz#a6cd33e93629f5eb473b021aac05df62c4cd09bb" + integrity sha512-4tGORmfQcrc+bvrjb5y3dG9Mx1IOZjsHqQVUz7XCNHO+iTmqxWnVg3KRygjGmpRLJGdQSKuvFinbIb0CnZwHAQ== dependencies: - "@babel/compat-data" "^7.20.0" + "@babel/compat-data" "^7.20.5" "@babel/helper-validator-option" "^7.18.6" browserslist "^4.21.3" + lru-cache "^5.1.1" semver "^6.3.0" -"@babel/helper-create-class-features-plugin@^7.18.6", "@babel/helper-create-class-features-plugin@^7.20.5": - version "7.20.5" - resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.20.5.tgz#327154eedfb12e977baa4ecc72e5806720a85a06" - integrity sha512-3RCdA/EmEaikrhayahwToF0fpweU/8o2p8vhc1c/1kftHOdTKuC65kik/TLc+qfbS8JKw4qqJbne4ovICDhmww== +"@babel/helper-create-class-features-plugin@^7.18.6", "@babel/helper-create-class-features-plugin@^7.20.5", "@babel/helper-create-class-features-plugin@^7.20.7": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.20.7.tgz#d0e1f8d7e4ed5dac0389364d9c0c191d948ade6f" + integrity sha512-LtoWbDXOaidEf50hmdDqn9g8VEzsorMexoWMQdQODbvmqYmaF23pBP5VNPAGIFHsFQCIeKokDiz3CH5Y2jlY6w== dependencies: "@babel/helper-annotate-as-pure" "^7.18.6" "@babel/helper-environment-visitor" "^7.18.9" "@babel/helper-function-name" "^7.19.0" - "@babel/helper-member-expression-to-functions" "^7.18.9" + "@babel/helper-member-expression-to-functions" "^7.20.7" "@babel/helper-optimise-call-expression" "^7.18.6" - "@babel/helper-replace-supers" "^7.19.1" + "@babel/helper-replace-supers" "^7.20.7" "@babel/helper-split-export-declaration" "^7.18.6" "@babel/helper-create-regexp-features-plugin@^7.18.6", "@babel/helper-create-regexp-features-plugin@^7.20.5": @@ -137,12 +138,12 @@ dependencies: "@babel/types" "^7.18.6" -"@babel/helper-member-expression-to-functions@^7.18.9": - version "7.18.9" - resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.18.9.tgz#1531661e8375af843ad37ac692c132841e2fd815" - integrity sha512-RxifAh2ZoVU67PyKIO4AMi1wTenGfMR/O/ae0CCRqwgBAt5v7xjdtRw7UoSbsreKrQn5t7r89eruK/9JjYHuDg== +"@babel/helper-member-expression-to-functions@^7.20.7": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.20.7.tgz#a6f26e919582275a93c3aa6594756d71b0bb7f05" + integrity sha512-9J0CxJLq315fEdi4s7xK5TQaNYjZw+nDVpVqr1axNGKzdrdwYBD5b4uKv3n75aABG0rCCTK8Im8Ww7eYfMrZgw== dependencies: - "@babel/types" "^7.18.9" + "@babel/types" "^7.20.7" "@babel/helper-module-imports@^7.18.6": version "7.18.6" @@ -151,19 +152,19 @@ dependencies: "@babel/types" "^7.18.6" -"@babel/helper-module-transforms@^7.18.6", "@babel/helper-module-transforms@^7.19.6", "@babel/helper-module-transforms@^7.20.2": - version "7.20.2" - resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.20.2.tgz#ac53da669501edd37e658602a21ba14c08748712" - integrity sha512-zvBKyJXRbmK07XhMuujYoJ48B5yvvmM6+wcpv6Ivj4Yg6qO7NOZOSnvZN9CRl1zz1Z4cKf8YejmCMh8clOoOeA== +"@babel/helper-module-transforms@^7.18.6", "@babel/helper-module-transforms@^7.20.11", "@babel/helper-module-transforms@^7.20.7": + version "7.20.11" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.20.11.tgz#df4c7af713c557938c50ea3ad0117a7944b2f1b0" + integrity sha512-uRy78kN4psmji1s2QtbtcCSaj/LILFDp0f/ymhpQH5QY3nljUZCaNWz9X1dEj/8MBdBEFECs7yRhKn8i7NjZgg== dependencies: "@babel/helper-environment-visitor" "^7.18.9" "@babel/helper-module-imports" "^7.18.6" "@babel/helper-simple-access" "^7.20.2" "@babel/helper-split-export-declaration" "^7.18.6" "@babel/helper-validator-identifier" "^7.19.1" - "@babel/template" "^7.18.10" - "@babel/traverse" "^7.20.1" - "@babel/types" "^7.20.2" + "@babel/template" "^7.20.7" + "@babel/traverse" "^7.20.10" + "@babel/types" "^7.20.7" "@babel/helper-optimise-call-expression@^7.18.6": version "7.18.6" @@ -177,7 +178,7 @@ resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.20.2.tgz#d1b9000752b18d0877cff85a5c376ce5c3121629" integrity sha512-8RvlJG2mj4huQ4pZ+rU9lqKi9ZKiRmuvGuM2HlWmkmgOhbs6zEAw6IEiJ5cQqGbDzGZOhwuOQNtZMi/ENLjZoQ== -"@babel/helper-remap-async-to-generator@^7.18.6", "@babel/helper-remap-async-to-generator@^7.18.9": +"@babel/helper-remap-async-to-generator@^7.18.9": version "7.18.9" resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.18.9.tgz#997458a0e3357080e54e1d79ec347f8a8cd28519" integrity sha512-dI7q50YKd8BAv3VEfgg7PS7yD3Rtbi2J1XMXaalXO0W0164hYLnh8zpjRS0mte9MfVp/tltvr/cfdXPvJr1opA== @@ -187,25 +188,26 @@ "@babel/helper-wrap-function" "^7.18.9" "@babel/types" "^7.18.9" -"@babel/helper-replace-supers@^7.18.6", "@babel/helper-replace-supers@^7.19.1": - version "7.19.1" - resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.19.1.tgz#e1592a9b4b368aa6bdb8784a711e0bcbf0612b78" - integrity sha512-T7ahH7wV0Hfs46SFh5Jz3s0B6+o8g3c+7TMxu7xKfmHikg7EAZ3I2Qk9LFhjxXq8sL7UkP5JflezNwoZa8WvWw== +"@babel/helper-replace-supers@^7.18.6", "@babel/helper-replace-supers@^7.20.7": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.20.7.tgz#243ecd2724d2071532b2c8ad2f0f9f083bcae331" + integrity sha512-vujDMtB6LVfNW13jhlCrp48QNslK6JXi7lQG736HVbHz/mbf4Dc7tIRh1Xf5C0rF7BP8iiSxGMCmY6Ci1ven3A== dependencies: "@babel/helper-environment-visitor" "^7.18.9" - "@babel/helper-member-expression-to-functions" "^7.18.9" + "@babel/helper-member-expression-to-functions" "^7.20.7" "@babel/helper-optimise-call-expression" "^7.18.6" - "@babel/traverse" "^7.19.1" - "@babel/types" "^7.19.0" + "@babel/template" "^7.20.7" + "@babel/traverse" "^7.20.7" + "@babel/types" "^7.20.7" -"@babel/helper-simple-access@^7.19.4", "@babel/helper-simple-access@^7.20.2": +"@babel/helper-simple-access@^7.20.2": version "7.20.2" resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.20.2.tgz#0ab452687fe0c2cfb1e2b9e0015de07fc2d62dd9" integrity sha512-+0woI/WPq59IrqDYbVGfshjT5Dmk/nnbdpcF8SnMhhXObpTq2KNBdLFRFrkVdbDOyUmHBCxzm5FHV1rACIkIbA== dependencies: "@babel/types" "^7.20.2" -"@babel/helper-skip-transparent-expression-wrappers@^7.18.9": +"@babel/helper-skip-transparent-expression-wrappers@^7.20.0": version "7.20.0" resolved "https://registry.yarnpkg.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.20.0.tgz#fbe4c52f60518cab8140d77101f0e63a8a230684" integrity sha512-5y1JYeNKfvnT8sZcK9DVRtpTbGiomYIHviSP3OQWmDPU3DeH4a1ZlT/N2lyQ5P8egjcRaT/Y9aNqUxK0WsnIIg== @@ -244,14 +246,14 @@ "@babel/traverse" "^7.20.5" "@babel/types" "^7.20.5" -"@babel/helpers@^7.20.5": - version "7.20.6" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.20.6.tgz#e64778046b70e04779dfbdf924e7ebb45992c763" - integrity sha512-Pf/OjgfgFRW5bApskEz5pvidpim7tEDPlFtKcNRXWmfHGn9IEI2W2flqRQXTFb7gIPTyK++N6rVHuwKut4XK6w== +"@babel/helpers@^7.20.7": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.20.7.tgz#04502ff0feecc9f20ecfaad120a18f011a8e6dce" + integrity sha512-PBPjs5BppzsGaxHQCDKnZ6Gd9s6xl8bBCluz3vEInLGRJmnZan4F6BYCeqtyXqkk4W5IlPmjK4JlOuZkpJ3xZA== dependencies: - "@babel/template" "^7.18.10" - "@babel/traverse" "^7.20.5" - "@babel/types" "^7.20.5" + "@babel/template" "^7.20.7" + "@babel/traverse" "^7.20.7" + "@babel/types" "^7.20.7" "@babel/highlight@^7.18.6": version "7.18.6" @@ -262,10 +264,10 @@ chalk "^2.0.0" js-tokens "^4.0.0" -"@babel/parser@^7.1.0", "@babel/parser@^7.16.4", "@babel/parser@^7.18.10", "@babel/parser@^7.18.4", "@babel/parser@^7.20.5": - version "7.20.5" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.20.5.tgz#7f3c7335fe417665d929f34ae5dceae4c04015e8" - integrity sha512-r27t/cy/m9uKLXQNWWebeCUHgnAZq0CpG1OwKRxzJMP1vpSU4bSIK2hq+/cp0bQxetkXx38n09rNu8jVkcK/zA== +"@babel/parser@^7.1.0", "@babel/parser@^7.16.4", "@babel/parser@^7.18.4", "@babel/parser@^7.20.7": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.20.7.tgz#66fe23b3c8569220817d5feb8b9dcdc95bb4f71b" + integrity sha512-T3Z9oHybU+0vZlY9CiDSJQTD5ZapcW18ZctFMi0MOAl/4BjFF4ul7NVSARLdbGO5vDqy9eQiGTV0LtKfvCYvcg== "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.18.6": version "7.18.6" @@ -275,21 +277,21 @@ "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.18.9": - version "7.18.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.18.9.tgz#a11af19aa373d68d561f08e0a57242350ed0ec50" - integrity sha512-AHrP9jadvH7qlOj6PINbgSuphjQUAK7AOT7DPjBo9EHoLhQTnnK5u45e1Hd4DbSQEO9nqPWtQ89r+XEOWFScKg== + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.20.7.tgz#d9c85589258539a22a901033853101a6198d4ef1" + integrity sha512-sbr9+wNE5aXMBBFBICk01tt7sBf2Oc9ikRFEcem/ZORup9IMUdNhW7/wVLEbbtlWOsEubJet46mHAL2C8+2jKQ== dependencies: - "@babel/helper-plugin-utils" "^7.18.9" - "@babel/helper-skip-transparent-expression-wrappers" "^7.18.9" - "@babel/plugin-proposal-optional-chaining" "^7.18.9" + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/helper-skip-transparent-expression-wrappers" "^7.20.0" + "@babel/plugin-proposal-optional-chaining" "^7.20.7" "@babel/plugin-proposal-async-generator-functions@^7.20.1": - version "7.20.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.20.1.tgz#352f02baa5d69f4e7529bdac39aaa02d41146af9" - integrity sha512-Gh5rchzSwE4kC+o/6T8waD0WHEQIsDmjltY8WnWRXHUdH8axZhuH86Ov9M72YhJfDrZseQwuuWaaIT/TmePp3g== + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.20.7.tgz#bfb7276d2d573cb67ba379984a2334e262ba5326" + integrity sha512-xMbiLsn/8RK7Wq7VeVytytS2L6qE69bXPB10YCmMdDZbKF4okCqY74pI/jJQ/8U0b/F6NrT2+14b8/P9/3AMGA== dependencies: "@babel/helper-environment-visitor" "^7.18.9" - "@babel/helper-plugin-utils" "^7.19.0" + "@babel/helper-plugin-utils" "^7.20.2" "@babel/helper-remap-async-to-generator" "^7.18.9" "@babel/plugin-syntax-async-generators" "^7.8.4" @@ -302,12 +304,12 @@ "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-proposal-class-static-block@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.18.6.tgz#8aa81d403ab72d3962fc06c26e222dacfc9b9020" - integrity sha512-+I3oIiNxrCpup3Gi8n5IGMwj0gOCAjcJUSQEcotNnCCPMEnixawOQ+KeJPlgfjzx+FKQ1QSyZOWe7wmoJp7vhw== + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.20.7.tgz#92592e9029b13b15be0f7ce6a7aedc2879ca45a7" + integrity sha512-AveGOoi9DAjUYYuUAG//Ig69GlazLnoyzMw68VCDux+c1tsnnH/OkYcpz/5xzMkEFC6UxjR5Gw1c+iY2wOGVeQ== dependencies: - "@babel/helper-create-class-features-plugin" "^7.18.6" - "@babel/helper-plugin-utils" "^7.18.6" + "@babel/helper-create-class-features-plugin" "^7.20.7" + "@babel/helper-plugin-utils" "^7.20.2" "@babel/plugin-syntax-class-static-block" "^7.14.5" "@babel/plugin-proposal-dynamic-import@^7.18.6": @@ -335,11 +337,11 @@ "@babel/plugin-syntax-json-strings" "^7.8.3" "@babel/plugin-proposal-logical-assignment-operators@^7.18.9": - version "7.18.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.18.9.tgz#8148cbb350483bf6220af06fa6db3690e14b2e23" - integrity sha512-128YbMpjCrP35IOExw2Fq+x55LMP42DzhOhX2aNNIdI9avSWl2PI0yuBWarr3RYpZBSPtabfadkH2yeRiMD61Q== + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.20.7.tgz#dfbcaa8f7b4d37b51e8bfb46d94a5aea2bb89d83" + integrity sha512-y7C7cZgpMIjWlKE5T7eJwp+tnRYM89HmRvWM5EQuB5BoHEONjmQ8lSNmBUwOyy/GFRsohJED51YBF79hE1djug== dependencies: - "@babel/helper-plugin-utils" "^7.18.9" + "@babel/helper-plugin-utils" "^7.20.2" "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" "@babel/plugin-proposal-nullish-coalescing-operator@^7.18.6": @@ -359,15 +361,15 @@ "@babel/plugin-syntax-numeric-separator" "^7.10.4" "@babel/plugin-proposal-object-rest-spread@^7.15.6", "@babel/plugin-proposal-object-rest-spread@^7.20.2": - version "7.20.2" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.20.2.tgz#a556f59d555f06961df1e572bb5eca864c84022d" - integrity sha512-Ks6uej9WFK+fvIMesSqbAto5dD8Dz4VuuFvGJFKgIGSkJuRGcrwGECPA1fDgQK3/DbExBJpEkTeYeB8geIFCSQ== + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.20.7.tgz#aa662940ef425779c75534a5c41e9d936edc390a" + integrity sha512-d2S98yCiLxDVmBmE8UjGcfPvNEUbA1U5q5WxaWFUGRzJSVAZqm5W6MbPct0jxnegUZ0niLeNX+IOzEs7wYg9Dg== dependencies: - "@babel/compat-data" "^7.20.1" - "@babel/helper-compilation-targets" "^7.20.0" + "@babel/compat-data" "^7.20.5" + "@babel/helper-compilation-targets" "^7.20.7" "@babel/helper-plugin-utils" "^7.20.2" "@babel/plugin-syntax-object-rest-spread" "^7.8.3" - "@babel/plugin-transform-parameters" "^7.20.1" + "@babel/plugin-transform-parameters" "^7.20.7" "@babel/plugin-proposal-optional-catch-binding@^7.18.6": version "7.18.6" @@ -377,13 +379,13 @@ "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" -"@babel/plugin-proposal-optional-chaining@^7.18.9": - version "7.18.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.18.9.tgz#e8e8fe0723f2563960e4bf5e9690933691915993" - integrity sha512-v5nwt4IqBXihxGsW2QmCWMDS3B3bzGIk/EQVZz2ei7f3NJl8NzAJVvUmpDW5q1CRNY+Beb/k58UAH1Km1N411w== +"@babel/plugin-proposal-optional-chaining@^7.18.9", "@babel/plugin-proposal-optional-chaining@^7.20.7": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.20.7.tgz#49f2b372519ab31728cc14115bb0998b15bfda55" + integrity sha512-T+A7b1kfjtRM51ssoOfS1+wbyCVqorfyZhT99TvxxLMirPShD8CzKMRepMlCBGM5RpHMbn8s+5MMHnPstJH6mQ== dependencies: - "@babel/helper-plugin-utils" "^7.18.9" - "@babel/helper-skip-transparent-expression-wrappers" "^7.18.9" + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/helper-skip-transparent-expression-wrappers" "^7.20.0" "@babel/plugin-syntax-optional-chaining" "^7.8.3" "@babel/plugin-proposal-private-methods@^7.18.6": @@ -518,20 +520,20 @@ "@babel/helper-plugin-utils" "^7.14.5" "@babel/plugin-transform-arrow-functions@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.18.6.tgz#19063fcf8771ec7b31d742339dac62433d0611fe" - integrity sha512-9S9X9RUefzrsHZmKMbDXxweEH+YlE8JJEuat9FdvW9Qh1cw7W64jELCtWNkPBPX5En45uy28KGvA/AySqUh8CQ== + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.20.7.tgz#bea332b0e8b2dab3dafe55a163d8227531ab0551" + integrity sha512-3poA5E7dzDomxj9WXWwuD6A5F3kc7VXwIJO+E+J8qtDtS+pXPAhrgEyh+9GBwBgPq1Z+bB+/JD60lp5jsN7JPQ== dependencies: - "@babel/helper-plugin-utils" "^7.18.6" + "@babel/helper-plugin-utils" "^7.20.2" "@babel/plugin-transform-async-to-generator@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.18.6.tgz#ccda3d1ab9d5ced5265fdb13f1882d5476c71615" - integrity sha512-ARE5wZLKnTgPW7/1ftQmSi1CmkqqHo2DNmtztFhvgtOWSDfq0Cq9/9L+KnZNYSNrydBekhW3rwShduf59RoXag== + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.20.7.tgz#dfee18623c8cb31deb796aa3ca84dda9cea94354" + integrity sha512-Uo5gwHPT9vgnSXQxqGtpdufUiWp96gk7yiP4Mp5bm1QMkEmLXBO7PAGYbKoJ6DhAwiNkcHFBol/x5zZZkL/t0Q== dependencies: "@babel/helper-module-imports" "^7.18.6" - "@babel/helper-plugin-utils" "^7.18.6" - "@babel/helper-remap-async-to-generator" "^7.18.6" + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/helper-remap-async-to-generator" "^7.18.9" "@babel/plugin-transform-block-scoped-functions@^7.18.6": version "7.18.6" @@ -541,38 +543,39 @@ "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-transform-block-scoping@^7.20.2": - version "7.20.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.20.5.tgz#401215f9dc13dc5262940e2e527c9536b3d7f237" - integrity sha512-WvpEIW9Cbj9ApF3yJCjIEEf1EiNJLtXagOrL5LNWEZOo3jv8pmPoYTSNJQvqej8OavVlgOoOPw6/htGZro6IkA== + version "7.20.11" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.20.11.tgz#9f5a3424bd112a3f32fe0cf9364fbb155cff262a" + integrity sha512-tA4N427a7fjf1P0/2I4ScsHGc5jcHPbb30xMbaTke2gxDuWpUfXDuX1FEymJwKk4tuGUvGcejAR6HdZVqmmPyw== dependencies: "@babel/helper-plugin-utils" "^7.20.2" "@babel/plugin-transform-classes@^7.20.2": - version "7.20.2" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.20.2.tgz#c0033cf1916ccf78202d04be4281d161f6709bb2" - integrity sha512-9rbPp0lCVVoagvtEyQKSo5L8oo0nQS/iif+lwlAz29MccX2642vWDlSZK+2T2buxbopotId2ld7zZAzRfz9j1g== + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.20.7.tgz#f438216f094f6bb31dc266ebfab8ff05aecad073" + integrity sha512-LWYbsiXTPKl+oBlXUGlwNlJZetXD5Am+CyBdqhPsDVjM9Jc8jwBJFrKhHf900Kfk2eZG1y9MAG3UNajol7A4VQ== dependencies: "@babel/helper-annotate-as-pure" "^7.18.6" - "@babel/helper-compilation-targets" "^7.20.0" + "@babel/helper-compilation-targets" "^7.20.7" "@babel/helper-environment-visitor" "^7.18.9" "@babel/helper-function-name" "^7.19.0" "@babel/helper-optimise-call-expression" "^7.18.6" "@babel/helper-plugin-utils" "^7.20.2" - "@babel/helper-replace-supers" "^7.19.1" + "@babel/helper-replace-supers" "^7.20.7" "@babel/helper-split-export-declaration" "^7.18.6" globals "^11.1.0" "@babel/plugin-transform-computed-properties@^7.18.9": - version "7.18.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.18.9.tgz#2357a8224d402dad623caf6259b611e56aec746e" - integrity sha512-+i0ZU1bCDymKakLxn5srGHrsAPRELC2WIbzwjLhHW9SIE1cPYkLCL0NlnXMZaM1vhfgA2+M7hySk42VBvrkBRw== + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.20.7.tgz#704cc2fd155d1c996551db8276d55b9d46e4d0aa" + integrity sha512-Lz7MvBK6DTjElHAmfu6bfANzKcxpyNPeYBGEafyA6E5HtRpjpZwU+u7Qrgz/2OR0z+5TvKYbPdphfSaAcZBrYQ== dependencies: - "@babel/helper-plugin-utils" "^7.18.9" + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/template" "^7.20.7" "@babel/plugin-transform-destructuring@^7.20.2": - version "7.20.2" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.20.2.tgz#c23741cfa44ddd35f5e53896e88c75331b8b2792" - integrity sha512-mENM+ZHrvEgxLTBXUiQ621rRXZes3KWUv6NdQlrnr1TkWVw+hUjQBZuP2X32qKlrlG2BzgR95gkuCRSkJl8vIw== + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.20.7.tgz#8bda578f71620c7de7c93af590154ba331415454" + integrity sha512-Xwg403sRrZb81IVB79ZPqNQME23yhugYVqgTxAhT99h485F4f+GMELFhhOsscDUB7HCswepKeCKLn/GZvUKoBA== dependencies: "@babel/helper-plugin-utils" "^7.20.2" @@ -630,30 +633,30 @@ "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-transform-modules-amd@^7.19.6": - version "7.19.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.19.6.tgz#aca391801ae55d19c4d8d2ebfeaa33df5f2a2cbd" - integrity sha512-uG3od2mXvAtIFQIh0xrpLH6r5fpSQN04gIVovl+ODLdUMANokxQLZnPBHcjmv3GxRjnqwLuHvppjjcelqUFZvg== + version "7.20.11" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.20.11.tgz#3daccca8e4cc309f03c3a0c4b41dc4b26f55214a" + integrity sha512-NuzCt5IIYOW0O30UvqktzHYR2ud5bOWbY0yaxWZ6G+aFzOMJvrs5YHNikrbdaT15+KNO31nPOy5Fim3ku6Zb5g== dependencies: - "@babel/helper-module-transforms" "^7.19.6" - "@babel/helper-plugin-utils" "^7.19.0" + "@babel/helper-module-transforms" "^7.20.11" + "@babel/helper-plugin-utils" "^7.20.2" "@babel/plugin-transform-modules-commonjs@^7.19.6": - version "7.19.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.19.6.tgz#25b32feef24df8038fc1ec56038917eacb0b730c" - integrity sha512-8PIa1ym4XRTKuSsOUXqDG0YaOlEuTVvHMe5JCfgBMOtHvJKw/4NGovEGN33viISshG/rZNVrACiBmPQLvWN8xQ== + version "7.20.11" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.20.11.tgz#8cb23010869bf7669fd4b3098598b6b2be6dc607" + integrity sha512-S8e1f7WQ7cimJQ51JkAaDrEtohVEitXjgCGAS2N8S31Y42E+kWwfSz83LYz57QdBm7q9diARVqanIaH2oVgQnw== dependencies: - "@babel/helper-module-transforms" "^7.19.6" - "@babel/helper-plugin-utils" "^7.19.0" - "@babel/helper-simple-access" "^7.19.4" + "@babel/helper-module-transforms" "^7.20.11" + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/helper-simple-access" "^7.20.2" "@babel/plugin-transform-modules-systemjs@^7.19.6": - version "7.19.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.19.6.tgz#59e2a84064b5736a4471b1aa7b13d4431d327e0d" - integrity sha512-fqGLBepcc3kErfR9R3DnVpURmckXP7gj7bAlrTQyBxrigFqszZCkFkcoxzCp2v32XmwXLvbw+8Yq9/b+QqksjQ== + version "7.20.11" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.20.11.tgz#467ec6bba6b6a50634eea61c9c232654d8a4696e" + integrity sha512-vVu5g9BPQKSFEmvt2TA4Da5N+QVS66EX21d8uoOihC+OCpUoGvzVsXeqFdtAEfVa5BILAeFt+U7yVmLbQnAJmw== dependencies: "@babel/helper-hoist-variables" "^7.18.6" - "@babel/helper-module-transforms" "^7.19.6" - "@babel/helper-plugin-utils" "^7.19.0" + "@babel/helper-module-transforms" "^7.20.11" + "@babel/helper-plugin-utils" "^7.20.2" "@babel/helper-validator-identifier" "^7.19.1" "@babel/plugin-transform-modules-umd@^7.18.6": @@ -687,10 +690,10 @@ "@babel/helper-plugin-utils" "^7.18.6" "@babel/helper-replace-supers" "^7.18.6" -"@babel/plugin-transform-parameters@^7.20.1": - version "7.20.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.20.5.tgz#f8f9186c681d10c3de7620c916156d893c8a019e" - integrity sha512-h7plkOmcndIUWXZFLgpbrh2+fXAi47zcUX7IrOQuZdLD0I0KvjJ6cvo3BEcAOsDOcZhVKGJqv07mkSqK0y2isQ== +"@babel/plugin-transform-parameters@^7.20.1", "@babel/plugin-transform-parameters@^7.20.7": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.20.7.tgz#0ee349e9d1bc96e78e3b37a7af423a4078a7083f" + integrity sha512-WiWBIkeHKVOSYPO0pWkxGPfKeWrCJyD3NJ53+Lrp/QMSZbsVPovrVl2aWZ19D/LTVnaDv5Ap7GJ/B2CTOZdrfA== dependencies: "@babel/helper-plugin-utils" "^7.20.2" @@ -736,12 +739,12 @@ "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-transform-spread@^7.19.0": - version "7.19.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.19.0.tgz#dd60b4620c2fec806d60cfaae364ec2188d593b6" - integrity sha512-RsuMk7j6n+r752EtzyScnWkQyuJdli6LdO5Klv8Yx0OfPVTcQkIUfS8clx5e9yHXzlnhOZF3CbQ8C2uP5j074w== + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.20.7.tgz#c2d83e0b99d3bf83e07b11995ee24bf7ca09401e" + integrity sha512-ewBbHQ+1U/VnH1fxltbJqDeWBU1oNLG8Dj11uIv3xVf7nrQu0bPGe5Rf716r7K5Qz+SqtAOVswoVunoiBtGhxw== dependencies: - "@babel/helper-plugin-utils" "^7.19.0" - "@babel/helper-skip-transparent-expression-wrappers" "^7.18.9" + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/helper-skip-transparent-expression-wrappers" "^7.20.0" "@babel/plugin-transform-sticky-regex@^7.18.6": version "7.18.6" @@ -872,41 +875,41 @@ esutils "^2.0.2" "@babel/runtime@^7.15.4", "@babel/runtime@^7.8.4": - version "7.20.6" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.20.6.tgz#facf4879bfed9b5326326273a64220f099b0fce3" - integrity sha512-Q+8MqP7TiHMWzSfwiJwXCjyf4GYA4Dgw3emg/7xmwsdLJOZUp+nMqcOwOzzYheuM1rhDu8FSj2l0aoMygEuXuA== + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.20.7.tgz#fcb41a5a70550e04a7b708037c7c32f7f356d8fd" + integrity sha512-UF0tvkUtxwAgZ5W/KrkHf0Rn0fdnLDU9ScxBrEVNUprE/MzirjK4MJUX1/BVDv00Sv8cljtukVK1aky++X1SjQ== dependencies: regenerator-runtime "^0.13.11" -"@babel/template@^7.18.10": - version "7.18.10" - resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.18.10.tgz#6f9134835970d1dbf0835c0d100c9f38de0c5e71" - integrity sha512-TI+rCtooWHr3QJ27kJxfjutghu44DLnasDMwpDqCXVTal9RLp3RSYNh4NdBrRP2cQAoG9A8juOQl6P6oZG4JxA== +"@babel/template@^7.18.10", "@babel/template@^7.20.7": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.20.7.tgz#a15090c2839a83b02aa996c0b4994005841fd5a8" + integrity sha512-8SegXApWe6VoNw0r9JHpSteLKTpTiLZ4rMlGIm9JQ18KiCtyQiAMEazujAHrUS5flrcqYZa75ukev3P6QmUwUw== dependencies: "@babel/code-frame" "^7.18.6" - "@babel/parser" "^7.18.10" - "@babel/types" "^7.18.10" + "@babel/parser" "^7.20.7" + "@babel/types" "^7.20.7" -"@babel/traverse@^7.19.1", "@babel/traverse@^7.20.1", "@babel/traverse@^7.20.5": - version "7.20.5" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.20.5.tgz#78eb244bea8270fdda1ef9af22a5d5e5b7e57133" - integrity sha512-WM5ZNN3JITQIq9tFZaw1ojLU3WgWdtkxnhM1AegMS+PvHjkM5IXjmYEGY7yukz5XS4sJyEf2VzWjI8uAavhxBQ== +"@babel/traverse@^7.20.10", "@babel/traverse@^7.20.5", "@babel/traverse@^7.20.7": + version "7.20.10" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.20.10.tgz#2bf98239597fcec12f842756f186a9dde6d09230" + integrity sha512-oSf1juCgymrSez8NI4A2sr4+uB/mFd9MXplYGPEBnfAuWmmyeVcHa6xLPiaRBcXkcb/28bgxmQLTVwFKE1yfsg== dependencies: "@babel/code-frame" "^7.18.6" - "@babel/generator" "^7.20.5" + "@babel/generator" "^7.20.7" "@babel/helper-environment-visitor" "^7.18.9" "@babel/helper-function-name" "^7.19.0" "@babel/helper-hoist-variables" "^7.18.6" "@babel/helper-split-export-declaration" "^7.18.6" - "@babel/parser" "^7.20.5" - "@babel/types" "^7.20.5" + "@babel/parser" "^7.20.7" + "@babel/types" "^7.20.7" debug "^4.1.0" globals "^11.1.0" -"@babel/types@^7.0.0", "@babel/types@^7.18.10", "@babel/types@^7.18.6", "@babel/types@^7.18.9", "@babel/types@^7.19.0", "@babel/types@^7.20.0", "@babel/types@^7.20.2", "@babel/types@^7.20.5", "@babel/types@^7.3.0", "@babel/types@^7.4.4": - version "7.20.5" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.20.5.tgz#e206ae370b5393d94dfd1d04cd687cace53efa84" - integrity sha512-c9fst/h2/dcF7H+MJKZ2T0KjEQ8hY/BNnDk/H3XY8C4Aw/eWQXWn/lWntHF9ooUBnGmEvbfGrTgLWc+um0YDUg== +"@babel/types@^7.0.0", "@babel/types@^7.18.6", "@babel/types@^7.18.9", "@babel/types@^7.19.0", "@babel/types@^7.20.0", "@babel/types@^7.20.2", "@babel/types@^7.20.5", "@babel/types@^7.20.7", "@babel/types@^7.3.0", "@babel/types@^7.4.4": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.20.7.tgz#54ec75e252318423fc07fb644dc6a58a64c09b7f" + integrity sha512-69OnhBxSSgK0OzTJai4kyPDiKTIe3j+ctaHdIGVbRahTLAT7L3R9oeXHC2aVSuGYt3cVnoAMDmOCgJ2yaiLMvg== dependencies: "@babel/helper-string-parser" "^7.19.4" "@babel/helper-validator-identifier" "^7.19.1" @@ -1105,7 +1108,7 @@ resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.51.tgz#cfd70924a25a3fd32b218e5e420e6897e1ac4f40" integrity sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ== -"@types/express-serve-static-core@*", "@types/express-serve-static-core@^4.17.18": +"@types/express-serve-static-core@*", "@types/express-serve-static-core@^4.17.31": version "4.17.31" resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.17.31.tgz#a1139efeab4e7323834bb0226e62ac019f474b2f" integrity sha512-DxMhY+NAsTwMMFHBTtJFNp5qiHKJ7TeqOo23zVEM9alT1Ml27Q3xcTH0xwxn7Q0BbMcVEJOs/7aQtUWupUQN3Q== @@ -1115,12 +1118,12 @@ "@types/range-parser" "*" "@types/express@*", "@types/express@^4.17.13": - version "4.17.14" - resolved "https://registry.yarnpkg.com/@types/express/-/express-4.17.14.tgz#143ea0557249bc1b3b54f15db4c81c3d4eb3569c" - integrity sha512-TEbt+vaPFQ+xpxFLFssxUDXj5cWCxZJjIcB7Yg0k0GMHGtgtQgpvx/MUQUeAkNbA9AAGrwkAsoeItdTgS7FMyg== + version "4.17.15" + resolved "https://registry.yarnpkg.com/@types/express/-/express-4.17.15.tgz#9290e983ec8b054b65a5abccb610411953d417ff" + integrity sha512-Yv0k4bXGOH+8a+7bELd2PqHQsuiANB+A8a4gnQrkRWzrkKlb6KHaVvyXhqs04sVW/OWlbPyYxRgYlIXLfrufMQ== dependencies: "@types/body-parser" "*" - "@types/express-serve-static-core" "^4.17.18" + "@types/express-serve-static-core" "^4.17.31" "@types/qs" "*" "@types/serve-static" "*" @@ -1191,9 +1194,9 @@ integrity sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA== "@types/node@*": - version "18.11.13" - resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.13.tgz#dff34f226ec1ac0432ae3b136ec5552bd3b9c0fe" - integrity sha512-IASpMGVcWpUsx5xBOrxMj7Bl8lqfuTY7FKAnPmu5cHkfQVWF8GulWS1jbRqA934qZL35xh5xN/+Xe/i26Bod4w== + version "18.11.17" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.17.tgz#5c009e1d9c38f4a2a9d45c0b0c493fe6cdb4bcb5" + integrity sha512-HJSUJmni4BeDHhfzn6nF0sVmd1SMezP7/4F0Lq+aXzmp2xm9O7WXrUtHW/CHlYVtZUbByEvWidHqRtcJXGF2Ng== "@types/parse-json@^4.0.0": version "4.0.0" @@ -1897,9 +1900,9 @@ caniuse-api@^3.0.0: lodash.uniq "^4.5.0" caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001400, caniuse-lite@^1.0.30001426: - version "1.0.30001439" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001439.tgz#ab7371faeb4adff4b74dad1718a6fd122e45d9cb" - integrity sha512-1MgUzEkoMO6gKfXflStpYgZDlFM7M/ck/bgfVCACO5vnAf0fXoNVHdWtqGU+MYca+4bL9Z5bpOVmR33cWW9G2A== + version "1.0.30001441" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001441.tgz#987437b266260b640a23cd18fbddb509d7f69f3e" + integrity sha512-OyxRR4Vof59I3yGWXws6i908EtGbMzVUi3ganaZQHmydk1iwDhRnvaPG2WaR0KcqrDFKrxVZHULT396LEPhXfg== chalk@^2.0.0: version "2.4.2" @@ -3112,9 +3115,9 @@ ieee754@^1.1.4: integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== ignore@^5.1.1: - version "5.2.1" - resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.1.tgz#c2b1f76cb999ede1502f3a226a9310fdfe88d46c" - integrity sha512-d2qQLzTJ9WxQftPAuEQpSPmKqzxePjzVbpAVv62AQ64NTL+wR4JkrVqR/LqFsFEUsHDAiId52mJteHDFuDkElA== + version "5.2.4" + resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.4.tgz#a291c0c6178ff1b960befe47fcdec301674a6324" + integrity sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ== imagemin@^7.0.1: version "7.0.1" @@ -3290,9 +3293,9 @@ jest-worker@^27.4.5: supports-color "^8.0.0" jquery@^3: - version "3.6.2" - resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.6.2.tgz#8302bbc9160646f507bdf59d136a478b312783c4" - integrity sha512-/e7ulNIEEYk1Z/l4X0vpxGt+B/dNsV8ghOPAWZaJs8pkGvsSC0tm33aMGylXcj/U7y4IcvwtMXPMyBFZn/gK9A== + version "3.6.3" + resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.6.3.tgz#23ed2ffed8a19e048814f13391a19afcdba160e6" + integrity sha512-bZ5Sy3YzKo9Fyc8wH2iIQK4JImJ6R0GWI9kL1/k7Z91ZBNgkRXE6U0JfHIizZbort8ZunhSI3jw9I6253ahKfg== js-tokens@^4.0.0: version "4.0.0" @@ -3332,9 +3335,9 @@ json5@^1.0.1: minimist "^1.2.0" json5@^2.1.2, json5@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.1.tgz#655d50ed1e6f95ad1a3caababd2b0efda10b395c" - integrity sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA== + version "2.2.2" + resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.2.tgz#64471c5bdcc564c18f7c1d4df2e2297f2457c5ab" + integrity sha512-46Tk9JiOL2z7ytNQWFLpj99RZkVgeHf87yGQKsIkaPz1qSH9UczKH1rO7K3wgRselo0tYMUNfecYpm/p1vC7tQ== jsonfile@^6.0.1: version "6.1.0" @@ -3491,6 +3494,13 @@ lru-cache@^4.1.2: pseudomap "^1.0.2" yallist "^2.1.2" +lru-cache@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920" + integrity sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w== + dependencies: + yallist "^3.0.2" + lru-cache@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" @@ -3736,9 +3746,9 @@ node-notifier@^9.0.0: which "^2.0.2" node-releases@^2.0.6: - version "2.0.6" - resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.6.tgz#8a7088c63a55e493845683ebf3c828d8c51c5503" - integrity sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg== + version "2.0.8" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.8.tgz#0f349cdc8fcfa39a92ac0be9bc48b7706292b9ae" + integrity sha512-dFSmB8fFHEH/s81Xi+Y/15DQY6VHW81nXRj86EMSL3lmuTmK1e+aT4wrFCkTbm+gSwkw4KpX+rT/pMM2c1mF+A== normalize-path@^3.0.0, normalize-path@~3.0.0: version "3.0.0" @@ -5371,6 +5381,11 @@ yallist@^2.1.2: resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52" integrity sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A== +yallist@^3.0.2: + version "3.1.1" + resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" + integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== + yallist@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72"