From cbf8c6e80dd8274a3b3a5c0e9c4d2f99b6d77080 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 11 Jun 2023 18:18:46 +0200 Subject: [PATCH] Release v6.0.13 fixes an issue with the authentication controllers. --- app/Http/Controllers/Admin/UserController.php | 4 +--- .../Auth/ConfirmPasswordController.php | 5 +---- .../Auth/ForgotPasswordController.php | 16 +++++----------- app/Http/Controllers/Auth/RegisterController.php | 5 +---- .../Controllers/Auth/ResetPasswordController.php | 15 +++++---------- changelog.md | 8 +++++++- config/firefly.php | 2 +- frontend/src/layouts/MainLayout.vue | 2 +- public/v3/index.html | 2 +- .../v3/js/{2762.ad3171ef.js => 6028.9cbe7d46.js} | 2 +- .../v3/js/{app.f3084ca9.js => app.67ae4d55.js} | 2 +- resources/lang/es_ES/validation.php | 8 ++++---- resources/lang/pl_PL/validation.php | 8 ++++---- resources/lang/ru_RU/validation.php | 4 ++-- 14 files changed, 35 insertions(+), 48 deletions(-) rename public/v3/js/{2762.ad3171ef.js => 6028.9cbe7d46.js} (99%) rename public/v3/js/{app.f3084ca9.js => app.67ae4d55.js} (71%) diff --git a/app/Http/Controllers/Admin/UserController.php b/app/Http/Controllers/Admin/UserController.php index 25f76c9e00..03db618d89 100644 --- a/app/Http/Controllers/Admin/UserController.php +++ b/app/Http/Controllers/Admin/UserController.php @@ -66,9 +66,7 @@ class UserController extends Controller } ); $this->middleware(IsDemoUser::class)->except(['index', 'show']); - $loginProvider = config('firefly.login_provider'); - $authGuard = config('firefly.authentication_guard'); - $this->externalIdentity = 'eloquent' !== $loginProvider || 'web' !== $authGuard; + $this->externalIdentity = 'web' !== config('firefly.authentication_guard'); } /** diff --git a/app/Http/Controllers/Auth/ConfirmPasswordController.php b/app/Http/Controllers/Auth/ConfirmPasswordController.php index 370dba8d05..7ff1da6abd 100644 --- a/app/Http/Controllers/Auth/ConfirmPasswordController.php +++ b/app/Http/Controllers/Auth/ConfirmPasswordController.php @@ -64,10 +64,7 @@ class ConfirmPasswordController extends Controller parent::__construct(); $this->middleware('auth'); - $loginProvider = config('firefly.login_provider'); - $authGuard = config('firefly.authentication_guard'); - - if ('eloquent' !== $loginProvider || 'web' !== $authGuard) { + if ('web' !== config('firefly.authentication_guard')) { throw new FireflyException('Using external identity provider. Cannot continue.'); } } diff --git a/app/Http/Controllers/Auth/ForgotPasswordController.php b/app/Http/Controllers/Auth/ForgotPasswordController.php index d58b6ad823..4fe1637e73 100644 --- a/app/Http/Controllers/Auth/ForgotPasswordController.php +++ b/app/Http/Controllers/Auth/ForgotPasswordController.php @@ -53,10 +53,7 @@ class ForgotPasswordController extends Controller parent::__construct(); $this->middleware('guest'); - $loginProvider = config('firefly.login_provider'); - $authGuard = config('firefly.authentication_guard'); - - if ('eloquent' !== $loginProvider || 'web' !== $authGuard) { + if ('web' !== config('firefly.authentication_guard')) { throw new FireflyException('Using external identity provider. Cannot continue.'); } } @@ -72,10 +69,8 @@ class ForgotPasswordController extends Controller public function sendResetLinkEmail(Request $request, UserRepositoryInterface $repository) { Log::info('Start of sendResetLinkEmail()'); - $loginProvider = config('firefly.login_provider'); - - if ('eloquent' !== $loginProvider) { - $message = sprintf('Cannot reset password when authenticating over "%s".', $loginProvider); + if ('web' !== config('firefly.authentication_guard')) { + $message = sprintf('Cannot reset password when authenticating over "%s".', config('firefly.authentication_guard')); Log::error($message); return view('error', compact('message')); @@ -117,9 +112,8 @@ class ForgotPasswordController extends Controller */ public function showLinkRequestForm() { - $loginProvider = config('firefly.login_provider'); - if ('eloquent' !== $loginProvider) { - $message = sprintf('Cannot reset password when authenticating over "%s".', $loginProvider); + if ('web' !== config('firefly.authentication_guard')) { + $message = sprintf('Cannot reset password when authenticating over "%s".', config('firefly.authentication_guard')); return view('error', compact('message')); } diff --git a/app/Http/Controllers/Auth/RegisterController.php b/app/Http/Controllers/Auth/RegisterController.php index 87085c04ab..d4e6acf323 100644 --- a/app/Http/Controllers/Auth/RegisterController.php +++ b/app/Http/Controllers/Auth/RegisterController.php @@ -70,10 +70,7 @@ class RegisterController extends Controller parent::__construct(); $this->middleware('guest'); - $loginProvider = config('firefly.login_provider'); - $authGuard = config('firefly.authentication_guard'); - - if ('eloquent' !== $loginProvider || 'web' !== $authGuard) { + if ('web' !== config('firefly.authentication_guard')) { throw new FireflyException('Using external identity provider. Cannot continue.'); } } diff --git a/app/Http/Controllers/Auth/ResetPasswordController.php b/app/Http/Controllers/Auth/ResetPasswordController.php index 6faba65151..1b84607bb4 100644 --- a/app/Http/Controllers/Auth/ResetPasswordController.php +++ b/app/Http/Controllers/Auth/ResetPasswordController.php @@ -65,10 +65,7 @@ class ResetPasswordController extends Controller parent::__construct(); $this->middleware('guest'); - $loginProvider = config('firefly.login_provider'); - $authGuard = config('firefly.authentication_guard'); - - if ('eloquent' !== $loginProvider || 'web' !== $authGuard) { + if ('web' !== config('firefly.authentication_guard')) { throw new FireflyException('Using external identity provider. Cannot continue.'); } } @@ -84,9 +81,8 @@ class ResetPasswordController extends Controller */ public function reset(Request $request) { - $loginProvider = config('firefly.login_provider'); - if ('eloquent' !== $loginProvider) { - $message = sprintf('Cannot reset password when authenticating over "%s".', $loginProvider); + if ('web' !== config('firefly.authentication_guard')) { + $message = sprintf('Cannot reset password when authenticating over "%s".', config('firefly.authentication_guard')); return view('error', compact('message')); } @@ -131,9 +127,8 @@ class ResetPasswordController extends Controller */ public function showResetForm(Request $request, $token = null) { - $loginProvider = config('firefly.login_provider'); - if ('eloquent' !== $loginProvider) { - $message = sprintf('Cannot reset password when authenticating over "%s".', $loginProvider); + if ('web' !== config('firefly.authentication_guard')) { + $message = sprintf('Cannot reset password when authenticating over "%s".', config('firefly.authentication_guard')); return view('error', compact('message')); } diff --git a/changelog.md b/changelog.md index 4131155fb9..011c58498c 100644 --- a/changelog.md +++ b/changelog.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## v6.0.13 - 2023-06-12 + +### Fixed + +- [Issue 7641](https://github.com/firefly-iii/firefly-iii/issues/7641) Crash with AUTHENTICATION_GUARD=web + ## v6.0.12 - 2023-06-12 ### Changed @@ -21,7 +27,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). ### API - [Issue 7588](https://github.com/firefly-iii/firefly-iii/issues/7588) v1/recurrences not able to handle bills on - Store & Update + store & update - [Issue 7589](https://github.com/firefly-iii/firefly-iii/issues/7589) v1/recurrences fails when updating a split transaction diff --git a/config/firefly.php b/config/firefly.php index e1377d2784..7f92990d87 100644 --- a/config/firefly.php +++ b/config/firefly.php @@ -107,7 +107,7 @@ return [ 'webhooks' => true, 'handle_debts' => true, ], - 'version' => '6.0.12', + 'version' => '6.0.13', 'api_version' => '2.0.4', 'db_version' => 19, diff --git a/frontend/src/layouts/MainLayout.vue b/frontend/src/layouts/MainLayout.vue index e5c5337196..dca102b471 100644 --- a/frontend/src/layouts/MainLayout.vue +++ b/frontend/src/layouts/MainLayout.vue @@ -338,7 +338,7 @@ page container: q-ma-xs (margin all, xs) AND q-mb-md to give the page content so
- Firefly III v v6.0.12 © James Cole, AGPL-3.0-or-later. + Firefly III v v6.0.13 © James Cole, AGPL-3.0-or-later.
diff --git a/public/v3/index.html b/public/v3/index.html index 1fe4ed9480..0f6a6b923e 100644 --- a/public/v3/index.html +++ b/public/v3/index.html @@ -1 +1 @@ -Firefly III
\ No newline at end of file +Firefly III
\ No newline at end of file diff --git a/public/v3/js/2762.ad3171ef.js b/public/v3/js/6028.9cbe7d46.js similarity index 99% rename from public/v3/js/2762.ad3171ef.js rename to public/v3/js/6028.9cbe7d46.js index 9a141678a2..4c3c37abf1 100644 --- a/public/v3/js/2762.ad3171ef.js +++ b/public/v3/js/6028.9cbe7d46.js @@ -1 +1 @@ -"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[2762],{2762:(e,a,t)=>{t.r(a),t.d(a,{default:()=>He});var l=t(9835),n=t(6970);const s=(0,l._)("img",{alt:"Firefly III Logo",src:"maskable-icon.svg",title:"Firefly III"},null,-1),o=(0,l.Uk)(" Firefly III "),i=(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)("System settings"),f={class:"row items-center no-wrap"},p=(0,l.Uk)(" Profile"),g=(0,l.Uk)(" Data management"),_=(0,l.Uk)("Administration management"),k=(0,l.Uk)("Preferences"),h=(0,l.Uk)("Export data"),W=(0,l.Uk)("Logout"),b={class:"q-pt-md"},x=(0,l.Uk)(" Dashboard "),y=(0,l.Uk)(" Budgets "),v=(0,l.Uk)(" Subscriptions "),q=(0,l.Uk)(" Piggy banks "),Z=(0,l.Uk)(" Withdrawals "),U=(0,l.Uk)(" Deposits "),Q=(0,l.Uk)(" Transfers "),D=(0,l.Uk)(" All transactions "),R=(0,l.Uk)(" Rules "),j=(0,l.Uk)(" Recurring transactions "),A=(0,l.Uk)(" Asset accounts "),C=(0,l.Uk)(" Expense accounts "),M=(0,l.Uk)(" Revenue accounts "),I=(0,l.Uk)(" Liabilities "),L=(0,l.Uk)(" Categories "),$=(0,l.Uk)(" Tags "),T=(0,l.Uk)(" Groups "),z=(0,l.Uk)(" Reports "),V={class:"q-ma-md"},S={class:"row"},B={class:"col-6"},H={class:"q-ma-none q-pa-none"},F=(0,l._)("em",{class:"fa-solid fa-fire"},null,-1),P={class:"col-6"},Y=(0,l._)("div",null,[(0,l._)("small",null,"Firefly III v v6.0.12 © James Cole, AGPL-3.0-or-later.")],-1);function E(e,a,t,E,O,G){const J=(0,l.up)("q-btn"),K=(0,l.up)("q-avatar"),N=(0,l.up)("q-toolbar-title"),X=(0,l.up)("q-icon"),ee=(0,l.up)("q-item-section"),ae=(0,l.up)("q-item-label"),te=(0,l.up)("q-item"),le=(0,l.up)("q-select"),ne=(0,l.up)("q-separator"),se=(0,l.up)("DateRange"),oe=(0,l.up)("q-menu"),ie=(0,l.up)("q-list"),re=(0,l.up)("q-toolbar"),ue=(0,l.up)("q-header"),ce=(0,l.up)("q-expansion-item"),de=(0,l.up)("q-scroll-area"),me=(0,l.up)("q-drawer"),we=(0,l.up)("Alert"),fe=(0,l.up)("q-breadcrumbs-el"),pe=(0,l.up)("q-breadcrumbs"),ge=(0,l.up)("router-view"),_e=(0,l.up)("q-page-container"),ke=(0,l.up)("q-footer"),he=(0,l.up)("q-layout"),We=(0,l.Q2)("ripple");return(0,l.wg)(),(0,l.j4)(he,{view:"hHh lpR fFf"},{default:(0,l.w5)((()=>[(0,l.Wm)(ue,{class:"bg-primary text-white",reveal:""},{default:(0,l.w5)((()=>[(0,l.Wm)(re,null,{default:(0,l.w5)((()=>[(0,l.Wm)(J,{flat:"",icon:"fas fa-bars",round:"",onClick:e.toggleLeftDrawer},null,8,["onClick"]),(0,l.Wm)(N,null,{default:(0,l.w5)((()=>[(0,l.Wm)(K,null,{default:(0,l.w5)((()=>[s])),_:1}),o])),_:1}),(0,l.Wm)(le,{ref:"search",modelValue:e.search,"onUpdate:modelValue":a[0]||(a[0]=a=>e.search=a),"stack-label":!1,class:"q-mx-xs",color:"black",dark:"",dense:"","hide-selected":"",label:"Search",standout:"",style:{width:"250px"},"use-input":""},{append:(0,l.w5)((()=>[i])),option:(0,l.w5)((e=>[(0,l.Wm)(te,(0,l.dG)({class:""},e.itemProps),{default:(0,l.w5)((()=>[(0,l.Wm)(ee,{side:""},{default:(0,l.w5)((()=>[(0,l.Wm)(X,{name:"collections_bookmark"})])),_:1}),(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[(0,l.Wm)(ae,{innerHTML:e.opt.label},null,8,["innerHTML"])])),_:2},1024),(0,l.Wm)(ee,{class:"default-type",side:""},{default:(0,l.w5)((()=>[(0,l.Wm)(J,{class:"bg-grey-1 q-px-sm",dense:"","no-caps":"",outline:"",size:"12px","text-color":"blue-grey-5"},{default:(0,l.w5)((()=>[r,(0,l.Wm)(X,{name:"subdirectory_arrow_left",size:"14px"})])),_:1})])),_:1})])),_:2},1040)])),_:1},8,["modelValue"]),(0,l.Wm)(ne,{dark:"",inset:"",vertical:""}),(0,l.Wm)(J,{to:{name:"development.index"},class:"q-mx-xs",flat:"",icon:"fas fa-skull-crossbones"},null,8,["to"]),(0,l.Wm)(ne,{dark:"",inset:"",vertical:""}),(0,l.Wm)(J,{class:"q-mx-xs",flat:"",icon:"fas fa-question-circle",onClick:e.showHelpBox},null,8,["onClick"]),(0,l.Wm)(ne,{dark:"",inset:"",vertical:""}),e.$q.screen.gt.xs&&e.$route.meta.dateSelector?((0,l.wg)(),(0,l.j4)(J,{key:0,class:"q-mx-xs",flat:""},{default:(0,l.w5)((()=>[(0,l._)("div",u,[(0,l.Wm)(X,{name:"fas fa-calendar",size:"20px"}),(0,l.Wm)(X,{name:"fas fa-caret-down",right:"",size:"12px"})]),(0,l.Wm)(oe,null,{default:(0,l.w5)((()=>[(0,l.Wm)(se)])),_:1})])),_:1})):(0,l.kq)("",!0),e.$route.meta.dateSelector?((0,l.wg)(),(0,l.j4)(ne,{key:1,dark:"",inset:"",vertical:""})):(0,l.kq)("",!0),e.$q.screen.gt.xs?((0,l.wg)(),(0,l.j4)(J,{key:2,class:"q-mx-xs",flat:""},{default:(0,l.w5)((()=>[(0,l._)("div",c,[(0,l.Wm)(X,{name:"fas fa-dragon",size:"20px"}),(0,l.Wm)(X,{name:"fas fa-caret-down",right:"",size:"12px"})]),(0,l.Wm)(oe,{"auto-close":""},{default:(0,l.w5)((()=>[(0,l.Wm)(ie,{style:{"min-width":"120px"}},{default:(0,l.w5)((()=>[(0,l.Wm)(te,{to:{name:"webhooks.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[d])),_:1})])),_:1},8,["to"]),(0,l.Wm)(te,{to:{name:"currencies.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[m])),_:1})])),_:1},8,["to"]),(0,l.Wm)(te,{to:{name:"admin.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[w])),_:1})])),_:1},8,["to"])])),_:1})])),_:1})])),_:1})):(0,l.kq)("",!0),(0,l.Wm)(ne,{dark:"",inset:"",vertical:""}),e.$q.screen.gt.xs?((0,l.wg)(),(0,l.j4)(J,{key:3,class:"q-mx-xs",flat:""},{default:(0,l.w5)((()=>[(0,l._)("div",f,[(0,l.Wm)(X,{name:"fas fa-user-circle",size:"20px"}),(0,l.Wm)(X,{name:"fas fa-caret-down",right:"",size:"12px"})]),(0,l.Wm)(oe,{"auto-close":""},{default:(0,l.w5)((()=>[(0,l.Wm)(ie,{style:{"min-width":"180px"}},{default:(0,l.w5)((()=>[(0,l.Wm)(te,{to:{name:"profile.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[p])),_:1})])),_:1},8,["to"]),(0,l.Wm)(te,{to:{name:"profile.data"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[g])),_:1})])),_:1},8,["to"]),(0,l.Wm)(te,{to:{name:"administration.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[_])),_:1})])),_:1},8,["to"]),(0,l.Wm)(te,{to:{name:"preferences.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[k])),_:1})])),_:1},8,["to"]),(0,l.Wm)(te,{to:{name:"export.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[h])),_:1})])),_:1},8,["to"]),(0,l.Wm)(ne),(0,l.Wm)(te,{to:{name:"logout"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[W])),_:1})])),_:1})])),_:1})])),_:1})])),_:1})):(0,l.kq)("",!0)])),_:1})])),_:1}),(0,l.Wm)(me,{modelValue:e.leftDrawerOpen,"onUpdate:modelValue":a[1]||(a[1]=a=>e.leftDrawerOpen=a),bordered:"","show-if-above":"",side:"left"},{default:(0,l.w5)((()=>[(0,l.Wm)(de,{class:"fit"},{default:(0,l.w5)((()=>[(0,l._)("div",b,[(0,l.Wm)(ie,null,{default:(0,l.w5)((()=>[(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{to:{name:"index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,{avatar:""},{default:(0,l.w5)((()=>[(0,l.Wm)(X,{name:"fas fa-tachometer-alt"})])),_:1}),(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[x])),_:1})])),_:1})),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{to:{name:"budgets.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,{avatar:""},{default:(0,l.w5)((()=>[(0,l.Wm)(X,{name:"fas fa-chart-pie"})])),_:1}),(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[y])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{to:{name:"subscriptions.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,{avatar:""},{default:(0,l.w5)((()=>[(0,l.Wm)(X,{name:"far fa-calendar-alt"})])),_:1}),(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[v])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{to:{name:"piggy-banks.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,{avatar:""},{default:(0,l.w5)((()=>[(0,l.Wm)(X,{name:"fas fa-piggy-bank"})])),_:1}),(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[q])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.Wm)(ce,{"default-opened":"transactions.index"===this.$route.name||"transactions.show"===this.$route.name,"expand-separator":"",icon:"fas fa-exchange-alt",label:"Transactions"},{default:(0,l.w5)((()=>[(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"transactions.index",params:{type:"withdrawal"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[Z])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"transactions.index",params:{type:"deposit"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[U])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"transactions.index",params:{type:"transfers"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[Q])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"transactions.index",params:{type:"all"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[D])),_:1})])),_:1},8,["to"])),[[We]])])),_:1},8,["default-opened"]),(0,l.Wm)(ce,{"default-unopened":"","expand-separator":"",icon:"fas fa-microchip",label:"Automation"},{default:(0,l.w5)((()=>[(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"rules.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[R])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"recurring.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[j])),_:1})])),_:1},8,["to"])),[[We]])])),_:1}),(0,l.Wm)(ce,{"default-opened":"accounts.index"===this.$route.name||"accounts.show"===this.$route.name,"expand-separator":"",icon:"fas fa-credit-card",label:"Accounts"},{default:(0,l.w5)((()=>[(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"accounts.index",params:{type:"asset"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[A])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"accounts.index",params:{type:"expense"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[C])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"accounts.index",params:{type:"revenue"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[M])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"accounts.index",params:{type:"liabilities"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[I])),_:1})])),_:1},8,["to"])),[[We]])])),_:1},8,["default-opened"]),(0,l.Wm)(ce,{"default-unopened":"","expand-separator":"",icon:"fas fa-tags",label:"Classification"},{default:(0,l.w5)((()=>[(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"categories.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[L])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"tags.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[$])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"groups.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[T])),_:1})])),_:1},8,["to"])),[[We]])])),_:1}),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{to:{name:"reports.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,{avatar:""},{default:(0,l.w5)((()=>[(0,l.Wm)(X,{name:"far fa-chart-bar"})])),_:1}),(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[z])),_:1})])),_:1},8,["to"])),[[We]])])),_:1})])])),_:1})])),_:1},8,["modelValue"]),(0,l.Wm)(_e,null,{default:(0,l.w5)((()=>[(0,l.Wm)(we),(0,l._)("div",V,[(0,l._)("div",S,[(0,l._)("div",B,[(0,l._)("h4",H,[F,(0,l.Uk)(" "+(0,n.zw)(e.$t(e.$route.meta.pageTitle||"firefly.welcome_back")),1)])]),(0,l._)("div",P,[(0,l.Wm)(pe,{align:"right"},{default:(0,l.w5)((()=>[(0,l.Wm)(fe,{to:{name:"index"},label:"Home"}),((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(e.$route.meta.breadcrumbs,(a=>((0,l.wg)(),(0,l.j4)(fe,{label:e.$t("breadcrumbs."+a.title),to:a.route?{name:a.route,params:a.params}:""},null,8,["label","to"])))),256))])),_:1})])])]),(0,l.Wm)(ge)])),_:1}),(0,l.Wm)(ke,{bordered:"",class:"bg-grey-8 text-white"},{default:(0,l.w5)((()=>[(0,l.Wm)(re,null,{default:(0,l.w5)((()=>[Y])),_:1})])),_:1})])),_:1})}var O=t(499);const G={class:"q-pa-xs"},J={class:"q-mt-xs"},K={class:"q-mr-xs"};function N(e,a,t,s,o,i){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",G,[(0,l._)("div",null,[(0,l.Wm)(r,{modelValue:o.localRange,"onUpdate:modelValue":a[0]||(a[0]=e=>o.localRange=e),mask:"YYYY-MM-DD",minimal:"",range:""},null,8,["modelValue"])]),(0,l._)("div",J,[(0,l._)("span",K,[(0,l.Wm)(u,{color:"primary",label:"Reset",size:"sm",onClick:i.resetRange},null,8,["onClick"])]),(0,l.Wm)(u,{color:"primary","icon-right":"fas fa-caret-down",label:"Change range",size:"sm",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)(o.rangeChoices,(a=>(0,l.wy)(((0,l.wg)(),(0,l.j4)(d,{clickable:"",onClick:e=>i.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 X=t(9302),ee=t(9167),ae=t(8898),te=t(3555);const le={name:"DateRange",computed:{},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"}},store:null}},created(){this.store=(0,te.S)();const e=(0,X.Z)();this.darkMode=e.dark.isActive,this.localRange={from:(0,ae.Z)(this.store.getRange.start,"yyyy-MM-dd"),to:(0,ae.Z)(this.store.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.setRange(a)}}},mounted(){},methods:{resetRange:function(){this.store.resetRange().then((()=>{this.localRange={from:(0,ae.Z)(this.store.getRange.start,"yyyy-MM-dd"),to:(0,ae.Z)(this.store.getRange.end,"yyyy-MM-dd")}}))},setViewRange:function(e){let a=e.value,t=new ee.Z;t.postByName("viewRange",a),this.store.updateViewRange(a),this.store.setDatesFromViewRange()},updateViewRange:function(){}},components:{}};var ne=t(1639),se=t(4939),oe=t(8879),ie=t(5290),re=t(3246),ue=t(490),ce=t(1233),de=t(2146),me=t(9984),we=t.n(me);const fe=(0,ne.Z)(le,[["render",N]]),pe=fe;we()(le,"components",{QDate:se.Z,QBtn:oe.Z,QMenu:ie.Z,QList:re.Z,QItem:ue.Z,QItemSection:ce.Z}),we()(le,"directives",{ClosePopup:de.Z});const ge={key:0,class:"q-ma-md"},_e={class:"row"},ke={class:"col-12"};function he(e,a,t,s,o,i){const r=(0,l.up)("q-btn"),u=(0,l.up)("q-banner");return o.showAlert?((0,l.wg)(),(0,l.iD)("div",ge,[(0,l._)("div",_e,[(0,l._)("div",ke,[(0,l.Wm)(u,{class:(0,n.C_)(o.alertClass),"inline-actions":""},{action:(0,l.w5)((()=>[(0,l.Wm)(r,{color:"white",flat:"",label:"Dismiss",onClick:i.dismissBanner},null,8,["onClick"]),o.showAction?((0,l.wg)(),(0,l.j4)(r,{key:0,label:o.actionText,to:o.actionLink,color:"white",flat:""},null,8,["label","to"])):(0,l.kq)("",!0)])),default:(0,l.w5)((()=>[(0,l.Uk)((0,n.zw)(o.message)+" ",1)])),_:1},8,["class"])])])])):(0,l.kq)("",!0)}const We={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){this.showAlert=e.show??!1;let a=e.level??"unknown";this.alertClass="bg-green text-white","warning"===a&&(this.alertClass="bg-orange text-white"),this.message=e.text??"";let t=e.action??{};!0===t.show&&(this.showAction=!0,this.actionText=t.text,this.actionLink=t.link),this.$q.localStorage.set("flash",!1)},dismissBanner:function(){this.showAlert=!1}}};var be=t(7128);const xe=(0,ne.Z)(We,[["render",he]]),ye=xe;we()(We,"components",{QBanner:be.Z,QBtn:oe.Z});const ve=(0,l.aZ)({name:"MainLayout",components:{DateRange:pe,Alert:ye},setup(){const e=(0,O.iH)(!0),a=(0,O.iH)(""),t=(0,X.Z)();return{search:a,leftDrawerOpen:e,toggleLeftDrawer(){e.value=!e.value},showHelpBox(){t.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 qe=t(249),Ze=t(6602),Ue=t(1663),Qe=t(1973),De=t(1357),Re=t(7887),je=t(2857),Ae=t(3115),Ce=t(926),Me=t(906),Ie=t(6663),Le=t(651),$e=t(2133),Te=t(2605),ze=t(8052),Ve=t(1378),Se=t(1136);const Be=(0,ne.Z)(ve,[["render",E]]),He=Be;we()(ve,"components",{QLayout:qe.Z,QHeader:Ze.Z,QToolbar:Ue.Z,QBtn:oe.Z,QToolbarTitle:Qe.Z,QAvatar:De.Z,QSelect:Re.Z,QItem:ue.Z,QItemSection:ce.Z,QIcon:je.Z,QItemLabel:Ae.Z,QSeparator:Ce.Z,QMenu:ie.Z,QList:re.Z,QDrawer:Me.Z,QScrollArea:Ie.Z,QExpansionItem:Le.Z,QPageContainer:$e.Z,QBreadcrumbs:Te.Z,QBreadcrumbsEl:ze.Z,QFooter:Ve.Z}),we()(ve,"directives",{Ripple:Se.Z})}}]); \ No newline at end of file +"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[6028],{6028:(e,a,t)=>{t.r(a),t.d(a,{default:()=>He});var l=t(9835),n=t(6970);const s=(0,l._)("img",{alt:"Firefly III Logo",src:"maskable-icon.svg",title:"Firefly III"},null,-1),o=(0,l.Uk)(" Firefly III "),i=(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)("System settings"),f={class:"row items-center no-wrap"},p=(0,l.Uk)(" Profile"),g=(0,l.Uk)(" Data management"),_=(0,l.Uk)("Administration management"),k=(0,l.Uk)("Preferences"),h=(0,l.Uk)("Export data"),W=(0,l.Uk)("Logout"),b={class:"q-pt-md"},x=(0,l.Uk)(" Dashboard "),y=(0,l.Uk)(" Budgets "),v=(0,l.Uk)(" Subscriptions "),q=(0,l.Uk)(" Piggy banks "),Z=(0,l.Uk)(" Withdrawals "),U=(0,l.Uk)(" Deposits "),Q=(0,l.Uk)(" Transfers "),D=(0,l.Uk)(" All transactions "),R=(0,l.Uk)(" Rules "),j=(0,l.Uk)(" Recurring transactions "),A=(0,l.Uk)(" Asset accounts "),C=(0,l.Uk)(" Expense accounts "),M=(0,l.Uk)(" Revenue accounts "),I=(0,l.Uk)(" Liabilities "),L=(0,l.Uk)(" Categories "),$=(0,l.Uk)(" Tags "),T=(0,l.Uk)(" Groups "),z=(0,l.Uk)(" Reports "),V={class:"q-ma-md"},S={class:"row"},B={class:"col-6"},H={class:"q-ma-none q-pa-none"},F=(0,l._)("em",{class:"fa-solid fa-fire"},null,-1),P={class:"col-6"},Y=(0,l._)("div",null,[(0,l._)("small",null,"Firefly III v v6.0.13 © James Cole, AGPL-3.0-or-later.")],-1);function E(e,a,t,E,O,G){const J=(0,l.up)("q-btn"),K=(0,l.up)("q-avatar"),N=(0,l.up)("q-toolbar-title"),X=(0,l.up)("q-icon"),ee=(0,l.up)("q-item-section"),ae=(0,l.up)("q-item-label"),te=(0,l.up)("q-item"),le=(0,l.up)("q-select"),ne=(0,l.up)("q-separator"),se=(0,l.up)("DateRange"),oe=(0,l.up)("q-menu"),ie=(0,l.up)("q-list"),re=(0,l.up)("q-toolbar"),ue=(0,l.up)("q-header"),ce=(0,l.up)("q-expansion-item"),de=(0,l.up)("q-scroll-area"),me=(0,l.up)("q-drawer"),we=(0,l.up)("Alert"),fe=(0,l.up)("q-breadcrumbs-el"),pe=(0,l.up)("q-breadcrumbs"),ge=(0,l.up)("router-view"),_e=(0,l.up)("q-page-container"),ke=(0,l.up)("q-footer"),he=(0,l.up)("q-layout"),We=(0,l.Q2)("ripple");return(0,l.wg)(),(0,l.j4)(he,{view:"hHh lpR fFf"},{default:(0,l.w5)((()=>[(0,l.Wm)(ue,{class:"bg-primary text-white",reveal:""},{default:(0,l.w5)((()=>[(0,l.Wm)(re,null,{default:(0,l.w5)((()=>[(0,l.Wm)(J,{flat:"",icon:"fas fa-bars",round:"",onClick:e.toggleLeftDrawer},null,8,["onClick"]),(0,l.Wm)(N,null,{default:(0,l.w5)((()=>[(0,l.Wm)(K,null,{default:(0,l.w5)((()=>[s])),_:1}),o])),_:1}),(0,l.Wm)(le,{ref:"search",modelValue:e.search,"onUpdate:modelValue":a[0]||(a[0]=a=>e.search=a),"stack-label":!1,class:"q-mx-xs",color:"black",dark:"",dense:"","hide-selected":"",label:"Search",standout:"",style:{width:"250px"},"use-input":""},{append:(0,l.w5)((()=>[i])),option:(0,l.w5)((e=>[(0,l.Wm)(te,(0,l.dG)({class:""},e.itemProps),{default:(0,l.w5)((()=>[(0,l.Wm)(ee,{side:""},{default:(0,l.w5)((()=>[(0,l.Wm)(X,{name:"collections_bookmark"})])),_:1}),(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[(0,l.Wm)(ae,{innerHTML:e.opt.label},null,8,["innerHTML"])])),_:2},1024),(0,l.Wm)(ee,{class:"default-type",side:""},{default:(0,l.w5)((()=>[(0,l.Wm)(J,{class:"bg-grey-1 q-px-sm",dense:"","no-caps":"",outline:"",size:"12px","text-color":"blue-grey-5"},{default:(0,l.w5)((()=>[r,(0,l.Wm)(X,{name:"subdirectory_arrow_left",size:"14px"})])),_:1})])),_:1})])),_:2},1040)])),_:1},8,["modelValue"]),(0,l.Wm)(ne,{dark:"",inset:"",vertical:""}),(0,l.Wm)(J,{to:{name:"development.index"},class:"q-mx-xs",flat:"",icon:"fas fa-skull-crossbones"},null,8,["to"]),(0,l.Wm)(ne,{dark:"",inset:"",vertical:""}),(0,l.Wm)(J,{class:"q-mx-xs",flat:"",icon:"fas fa-question-circle",onClick:e.showHelpBox},null,8,["onClick"]),(0,l.Wm)(ne,{dark:"",inset:"",vertical:""}),e.$q.screen.gt.xs&&e.$route.meta.dateSelector?((0,l.wg)(),(0,l.j4)(J,{key:0,class:"q-mx-xs",flat:""},{default:(0,l.w5)((()=>[(0,l._)("div",u,[(0,l.Wm)(X,{name:"fas fa-calendar",size:"20px"}),(0,l.Wm)(X,{name:"fas fa-caret-down",right:"",size:"12px"})]),(0,l.Wm)(oe,null,{default:(0,l.w5)((()=>[(0,l.Wm)(se)])),_:1})])),_:1})):(0,l.kq)("",!0),e.$route.meta.dateSelector?((0,l.wg)(),(0,l.j4)(ne,{key:1,dark:"",inset:"",vertical:""})):(0,l.kq)("",!0),e.$q.screen.gt.xs?((0,l.wg)(),(0,l.j4)(J,{key:2,class:"q-mx-xs",flat:""},{default:(0,l.w5)((()=>[(0,l._)("div",c,[(0,l.Wm)(X,{name:"fas fa-dragon",size:"20px"}),(0,l.Wm)(X,{name:"fas fa-caret-down",right:"",size:"12px"})]),(0,l.Wm)(oe,{"auto-close":""},{default:(0,l.w5)((()=>[(0,l.Wm)(ie,{style:{"min-width":"120px"}},{default:(0,l.w5)((()=>[(0,l.Wm)(te,{to:{name:"webhooks.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[d])),_:1})])),_:1},8,["to"]),(0,l.Wm)(te,{to:{name:"currencies.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[m])),_:1})])),_:1},8,["to"]),(0,l.Wm)(te,{to:{name:"admin.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[w])),_:1})])),_:1},8,["to"])])),_:1})])),_:1})])),_:1})):(0,l.kq)("",!0),(0,l.Wm)(ne,{dark:"",inset:"",vertical:""}),e.$q.screen.gt.xs?((0,l.wg)(),(0,l.j4)(J,{key:3,class:"q-mx-xs",flat:""},{default:(0,l.w5)((()=>[(0,l._)("div",f,[(0,l.Wm)(X,{name:"fas fa-user-circle",size:"20px"}),(0,l.Wm)(X,{name:"fas fa-caret-down",right:"",size:"12px"})]),(0,l.Wm)(oe,{"auto-close":""},{default:(0,l.w5)((()=>[(0,l.Wm)(ie,{style:{"min-width":"180px"}},{default:(0,l.w5)((()=>[(0,l.Wm)(te,{to:{name:"profile.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[p])),_:1})])),_:1},8,["to"]),(0,l.Wm)(te,{to:{name:"profile.data"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[g])),_:1})])),_:1},8,["to"]),(0,l.Wm)(te,{to:{name:"administration.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[_])),_:1})])),_:1},8,["to"]),(0,l.Wm)(te,{to:{name:"preferences.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[k])),_:1})])),_:1},8,["to"]),(0,l.Wm)(te,{to:{name:"export.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[h])),_:1})])),_:1},8,["to"]),(0,l.Wm)(ne),(0,l.Wm)(te,{to:{name:"logout"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[W])),_:1})])),_:1})])),_:1})])),_:1})])),_:1})):(0,l.kq)("",!0)])),_:1})])),_:1}),(0,l.Wm)(me,{modelValue:e.leftDrawerOpen,"onUpdate:modelValue":a[1]||(a[1]=a=>e.leftDrawerOpen=a),bordered:"","show-if-above":"",side:"left"},{default:(0,l.w5)((()=>[(0,l.Wm)(de,{class:"fit"},{default:(0,l.w5)((()=>[(0,l._)("div",b,[(0,l.Wm)(ie,null,{default:(0,l.w5)((()=>[(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{to:{name:"index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,{avatar:""},{default:(0,l.w5)((()=>[(0,l.Wm)(X,{name:"fas fa-tachometer-alt"})])),_:1}),(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[x])),_:1})])),_:1})),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{to:{name:"budgets.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,{avatar:""},{default:(0,l.w5)((()=>[(0,l.Wm)(X,{name:"fas fa-chart-pie"})])),_:1}),(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[y])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{to:{name:"subscriptions.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,{avatar:""},{default:(0,l.w5)((()=>[(0,l.Wm)(X,{name:"far fa-calendar-alt"})])),_:1}),(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[v])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{to:{name:"piggy-banks.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,{avatar:""},{default:(0,l.w5)((()=>[(0,l.Wm)(X,{name:"fas fa-piggy-bank"})])),_:1}),(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[q])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.Wm)(ce,{"default-opened":"transactions.index"===this.$route.name||"transactions.show"===this.$route.name,"expand-separator":"",icon:"fas fa-exchange-alt",label:"Transactions"},{default:(0,l.w5)((()=>[(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"transactions.index",params:{type:"withdrawal"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[Z])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"transactions.index",params:{type:"deposit"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[U])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"transactions.index",params:{type:"transfers"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[Q])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"transactions.index",params:{type:"all"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[D])),_:1})])),_:1},8,["to"])),[[We]])])),_:1},8,["default-opened"]),(0,l.Wm)(ce,{"default-unopened":"","expand-separator":"",icon:"fas fa-microchip",label:"Automation"},{default:(0,l.w5)((()=>[(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"rules.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[R])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"recurring.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[j])),_:1})])),_:1},8,["to"])),[[We]])])),_:1}),(0,l.Wm)(ce,{"default-opened":"accounts.index"===this.$route.name||"accounts.show"===this.$route.name,"expand-separator":"",icon:"fas fa-credit-card",label:"Accounts"},{default:(0,l.w5)((()=>[(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"accounts.index",params:{type:"asset"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[A])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"accounts.index",params:{type:"expense"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[C])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"accounts.index",params:{type:"revenue"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[M])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"accounts.index",params:{type:"liabilities"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[I])),_:1})])),_:1},8,["to"])),[[We]])])),_:1},8,["default-opened"]),(0,l.Wm)(ce,{"default-unopened":"","expand-separator":"",icon:"fas fa-tags",label:"Classification"},{default:(0,l.w5)((()=>[(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"categories.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[L])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"tags.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[$])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"groups.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[T])),_:1})])),_:1},8,["to"])),[[We]])])),_:1}),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{to:{name:"reports.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,{avatar:""},{default:(0,l.w5)((()=>[(0,l.Wm)(X,{name:"far fa-chart-bar"})])),_:1}),(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[z])),_:1})])),_:1},8,["to"])),[[We]])])),_:1})])])),_:1})])),_:1},8,["modelValue"]),(0,l.Wm)(_e,null,{default:(0,l.w5)((()=>[(0,l.Wm)(we),(0,l._)("div",V,[(0,l._)("div",S,[(0,l._)("div",B,[(0,l._)("h4",H,[F,(0,l.Uk)(" "+(0,n.zw)(e.$t(e.$route.meta.pageTitle||"firefly.welcome_back")),1)])]),(0,l._)("div",P,[(0,l.Wm)(pe,{align:"right"},{default:(0,l.w5)((()=>[(0,l.Wm)(fe,{to:{name:"index"},label:"Home"}),((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(e.$route.meta.breadcrumbs,(a=>((0,l.wg)(),(0,l.j4)(fe,{label:e.$t("breadcrumbs."+a.title),to:a.route?{name:a.route,params:a.params}:""},null,8,["label","to"])))),256))])),_:1})])])]),(0,l.Wm)(ge)])),_:1}),(0,l.Wm)(ke,{bordered:"",class:"bg-grey-8 text-white"},{default:(0,l.w5)((()=>[(0,l.Wm)(re,null,{default:(0,l.w5)((()=>[Y])),_:1})])),_:1})])),_:1})}var O=t(499);const G={class:"q-pa-xs"},J={class:"q-mt-xs"},K={class:"q-mr-xs"};function N(e,a,t,s,o,i){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",G,[(0,l._)("div",null,[(0,l.Wm)(r,{modelValue:o.localRange,"onUpdate:modelValue":a[0]||(a[0]=e=>o.localRange=e),mask:"YYYY-MM-DD",minimal:"",range:""},null,8,["modelValue"])]),(0,l._)("div",J,[(0,l._)("span",K,[(0,l.Wm)(u,{color:"primary",label:"Reset",size:"sm",onClick:i.resetRange},null,8,["onClick"])]),(0,l.Wm)(u,{color:"primary","icon-right":"fas fa-caret-down",label:"Change range",size:"sm",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)(o.rangeChoices,(a=>(0,l.wy)(((0,l.wg)(),(0,l.j4)(d,{clickable:"",onClick:e=>i.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 X=t(9302),ee=t(9167),ae=t(8898),te=t(3555);const le={name:"DateRange",computed:{},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"}},store:null}},created(){this.store=(0,te.S)();const e=(0,X.Z)();this.darkMode=e.dark.isActive,this.localRange={from:(0,ae.Z)(this.store.getRange.start,"yyyy-MM-dd"),to:(0,ae.Z)(this.store.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.setRange(a)}}},mounted(){},methods:{resetRange:function(){this.store.resetRange().then((()=>{this.localRange={from:(0,ae.Z)(this.store.getRange.start,"yyyy-MM-dd"),to:(0,ae.Z)(this.store.getRange.end,"yyyy-MM-dd")}}))},setViewRange:function(e){let a=e.value,t=new ee.Z;t.postByName("viewRange",a),this.store.updateViewRange(a),this.store.setDatesFromViewRange()},updateViewRange:function(){}},components:{}};var ne=t(1639),se=t(4939),oe=t(8879),ie=t(5290),re=t(3246),ue=t(490),ce=t(1233),de=t(2146),me=t(9984),we=t.n(me);const fe=(0,ne.Z)(le,[["render",N]]),pe=fe;we()(le,"components",{QDate:se.Z,QBtn:oe.Z,QMenu:ie.Z,QList:re.Z,QItem:ue.Z,QItemSection:ce.Z}),we()(le,"directives",{ClosePopup:de.Z});const ge={key:0,class:"q-ma-md"},_e={class:"row"},ke={class:"col-12"};function he(e,a,t,s,o,i){const r=(0,l.up)("q-btn"),u=(0,l.up)("q-banner");return o.showAlert?((0,l.wg)(),(0,l.iD)("div",ge,[(0,l._)("div",_e,[(0,l._)("div",ke,[(0,l.Wm)(u,{class:(0,n.C_)(o.alertClass),"inline-actions":""},{action:(0,l.w5)((()=>[(0,l.Wm)(r,{color:"white",flat:"",label:"Dismiss",onClick:i.dismissBanner},null,8,["onClick"]),o.showAction?((0,l.wg)(),(0,l.j4)(r,{key:0,label:o.actionText,to:o.actionLink,color:"white",flat:""},null,8,["label","to"])):(0,l.kq)("",!0)])),default:(0,l.w5)((()=>[(0,l.Uk)((0,n.zw)(o.message)+" ",1)])),_:1},8,["class"])])])])):(0,l.kq)("",!0)}const We={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){this.showAlert=e.show??!1;let a=e.level??"unknown";this.alertClass="bg-green text-white","warning"===a&&(this.alertClass="bg-orange text-white"),this.message=e.text??"";let t=e.action??{};!0===t.show&&(this.showAction=!0,this.actionText=t.text,this.actionLink=t.link),this.$q.localStorage.set("flash",!1)},dismissBanner:function(){this.showAlert=!1}}};var be=t(7128);const xe=(0,ne.Z)(We,[["render",he]]),ye=xe;we()(We,"components",{QBanner:be.Z,QBtn:oe.Z});const ve=(0,l.aZ)({name:"MainLayout",components:{DateRange:pe,Alert:ye},setup(){const e=(0,O.iH)(!0),a=(0,O.iH)(""),t=(0,X.Z)();return{search:a,leftDrawerOpen:e,toggleLeftDrawer(){e.value=!e.value},showHelpBox(){t.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 qe=t(249),Ze=t(6602),Ue=t(1663),Qe=t(1973),De=t(1357),Re=t(7887),je=t(2857),Ae=t(3115),Ce=t(926),Me=t(906),Ie=t(6663),Le=t(651),$e=t(2133),Te=t(2605),ze=t(8052),Ve=t(1378),Se=t(1136);const Be=(0,ne.Z)(ve,[["render",E]]),He=Be;we()(ve,"components",{QLayout:qe.Z,QHeader:Ze.Z,QToolbar:Ue.Z,QBtn:oe.Z,QToolbarTitle:Qe.Z,QAvatar:De.Z,QSelect:Re.Z,QItem:ue.Z,QItemSection:ce.Z,QIcon:je.Z,QItemLabel:Ae.Z,QSeparator:Ce.Z,QMenu:ie.Z,QList:re.Z,QDrawer:Me.Z,QScrollArea:Ie.Z,QExpansionItem:Le.Z,QPageContainer:$e.Z,QBreadcrumbs:Te.Z,QBreadcrumbsEl:ze.Z,QFooter:Ve.Z}),we()(ve,"directives",{Ripple:Se.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/app.f3084ca9.js b/public/v3/js/app.67ae4d55.js similarity index 71% rename from public/v3/js/app.f3084ca9.js rename to public/v3/js/app.67ae4d55.js index 95bac9a812..bd8c10c59a 100644 --- a/public/v3/js/app.f3084ca9.js +++ b/public/v3/js/app.67ae4d55.js @@ -1 +1 @@ -(()=>{"use strict";var e={1183:(e,t,n)=>{var a=n(1957),r=n(1947),o=n(499),i=n(9835);function c(e,t,n,a,r,o){const c=(0,i.up)("router-view");return(0,i.wg)(),(0,i.j4)(c)}var s=n(9167),l=n(1746),d=n(1569);class p{async authenticate(){return await d.api.get("/sanctum/csrf-cookie")}}class u{default(){let e=new p;return e.authenticate().then((()=>d.api.get("/api/v1/currencies/default")))}}var h=n(3555);const m=(0,i.aZ)({name:"App",preFetch({store:e}){const t=(0,h.S)(e);t.refreshCacheKey();const n=function(){let e=new s.Z;return e.getByName("viewRange").then((e=>{const n=e.data.data.attributes.data;t.updateViewRange(n),t.setDatesFromViewRange()})).catch((e=>{console.error("Could not load view range."),console.log(e)}))},a=function(){let e=new s.Z;return e.getByName("listPageSize").then((e=>{const n=e.data.data.attributes.data;t.updateListPageSize(n)})).catch((e=>{console.error("Could not load listPageSize."),console.log(e)}))},r=function(){let e=new u;return e.default().then((e=>{let n=parseInt(e.data.data.id),a=e.data.data.attributes.code;t.setCurrencyId(n),t.setCurrencyCode(a)})).catch((e=>{console.error("Could not load preferences."),console.log(e),e.response&&401===e.response.status&&(window.location.href="/login")}))},o=function(){return(new l.Z).get("locale").then((e=>{const n=e.data.data.attributes.data.replace("_","-");t.setLocale(n)})).catch((e=>{console.error("Could not load locale."),console.log(e)}))};r().then((()=>{n(),a(),o()}))}});var _=n(1639);const g=(0,_.Z)(m,[["render",c]]),b=g;var f=n(3340),y=n(7363);const w=(0,f.h)((()=>{const e=(0,y.WB)();return e}));var P=n(8910);const v=[{path:"/",component:()=>Promise.all([n.e(4736),n.e(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(2306)]).then(n.bind(n,2306)),name:"index",meta:{dateSelector:!0,pageTitle:"firefly.welcome_back"}}]},{path:"/development",component:()=>Promise.all([n.e(4736),n.e(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(7676)]).then(n.bind(n,7676)),name:"development.index",meta:{pageTitle:"firefly.development"}}]},{path:"/export",component:()=>Promise.all([n.e(4736),n.e(2762)]).then(n.bind(n,2762)),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(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(159)]).then(n.bind(n,159)),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(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(753)]).then(n.bind(n,753)),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(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7916)]).then(n.bind(n,7916)),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(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(4670)]).then(n.bind(n,4670)),name:"budgets.create",meta:{pageTitle:"firefly.budgets",breadcrumbs:[{title:"placeholder",route:"budgets.show",params:[]}]}}]},{path:"/subscriptions",component:()=>Promise.all([n.e(4736),n.e(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(5529)]).then(n.bind(n,5529)),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(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1198)]).then(n.bind(n,1198)),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(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(8490)]).then(n.bind(n,8490)),name:"subscriptions.edit",meta:{pageTitle:"firefly.subscriptions",breadcrumbs:[{title:"placeholder",route:"subscriptions.index"}]}}]},{path:"/subscriptions/create",component:()=>Promise.all([n.e(4736),n.e(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(9378)]).then(n.bind(n,9378)),name:"subscriptions.create",meta:{dateSelector:!1,pageTitle:"firefly.subscriptions"}}]},{path:"/piggy-banks",component:()=>Promise.all([n.e(4736),n.e(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(6254)]).then(n.bind(n,6254)),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(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7073)]).then(n.bind(n,7073)),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(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(3576)]).then(n.bind(n,3576)),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(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4216)]).then(n.bind(n,4216)),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(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(8659)]).then(n.bind(n,8659)),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(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(6317)]).then(n.bind(n,6317)),name:"transactions.create",meta:{dateSelector:!1,pageTitle:"firefly.transactions"}}]},{path:"/transactions/:type",component:()=>Promise.all([n.e(4736),n.e(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1341)]).then(n.bind(n,1341)),name:"transactions.index",meta:{dateSelector:!1,pageTitle:"firefly.transactions",breadcrumbs:[{title:"transactions"}]}}]},{path:"/transactions/edit/:id",component:()=>Promise.all([n.e(4736),n.e(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9376)]).then(n.bind(n,9376)),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(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9729)]).then(n.bind(n,9729)),name:"rules.index",meta:{pageTitle:"firefly.rules"}}]},{path:"/rules/show/:id",component:()=>Promise.all([n.e(4736),n.e(2762)]).then(n.bind(n,2762)),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(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(3726)]).then(n.bind(n,3726)),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(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7450)]).then(n.bind(n,7450)),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(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1019)]).then(n.bind(n,1019)),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(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(1800)]).then(n.bind(n,1800)),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(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4036)]).then(n.bind(n,4036)),name:"recurring.index",meta:{pageTitle:"firefly.recurrences"}}]},{path:"/recurring/create",component:()=>Promise.all([n.e(4736),n.e(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4355)]).then(n.bind(n,4355)),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(2762)]).then(n.bind(n,2762)),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(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9412)]).then(n.bind(n,9412)),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(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4575)]).then(n.bind(n,4575)),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(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4918)]).then(n.bind(n,3953)),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(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9253)]).then(n.bind(n,9253)),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(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9173)]).then(n.bind(n,9173)),name:"accounts.index",meta:{pageTitle:"firefly.accounts"}}]},{path:"/accounts/create/:type",component:()=>Promise.all([n.e(4736),n.e(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9432)]).then(n.bind(n,9432)),name:"accounts.create",meta:{pageTitle:"firefly.accounts"}}]},{path:"/categories",component:()=>Promise.all([n.e(4736),n.e(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9053)]).then(n.bind(n,9053)),name:"categories.index",meta:{pageTitle:"firefly.categories"}}]},{path:"/categories/show/:id",component:()=>Promise.all([n.e(4736),n.e(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7039)]).then(n.bind(n,7039)),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(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(8561)]).then(n.bind(n,8561)),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(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(9052)]).then(n.bind(n,9052)),name:"categories.create",meta:{pageTitle:"firefly.categories",breadcrumbs:[{title:"placeholder",route:"categories.show",params:[]}]}}]},{path:"/tags",component:()=>Promise.all([n.e(4736),n.e(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(6745)]).then(n.bind(n,6745)),name:"tags.index",meta:{pageTitle:"firefly.tags"}}]},{path:"/tags/show/:id",component:()=>Promise.all([n.e(4736),n.e(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(3611)]).then(n.bind(n,9286)),name:"tags.show",meta:{pageTitle:"firefly.tags",breadcrumbs:[{title:"placeholder",route:"tags.show",params:[]}]}}]},{path:"/groups",component:()=>Promise.all([n.e(4736),n.e(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4647)]).then(n.bind(n,4647)),name:"groups.index",meta:{pageTitle:"firefly.object_groups_page_title"}}]},{path:"/groups/show/:id",component:()=>Promise.all([n.e(4736),n.e(2762)]).then(n.bind(n,2762)),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(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7493)]).then(n.bind(n,7493)),name:"groups.edit",meta:{pageTitle:"firefly.groups",breadcrumbs:[{title:"placeholder",route:"categories.show",params:[]}]}}]},{path:"/reports",component:()=>Promise.all([n.e(4736),n.e(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(8006)]).then(n.bind(n,8006)),name:"reports.index",meta:{pageTitle:"firefly.reports"}}]},{path:"/report/default/:accounts/:start/:end",component:()=>Promise.all([n.e(4736),n.e(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(990)]).then(n.bind(n,3694)),name:"reports.default",meta:{pageTitle:"firefly.reports"}}]},{path:"/webhooks",component:()=>Promise.all([n.e(4736),n.e(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(5114)]).then(n.bind(n,5114)),name:"webhooks.index",meta:{pageTitle:"firefly.webhooks"}}]},{path:"/webhooks/show/:id",component:()=>Promise.all([n.e(4736),n.e(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9381)]).then(n.bind(n,9381)),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(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9814)]).then(n.bind(n,9814)),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(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(7232)]).then(n.bind(n,7232)),name:"webhooks.create",meta:{pageTitle:"firefly.webhooks",breadcrumbs:[{title:"placeholder",route:"webhooks.show",params:[]}]}}]},{path:"/currencies",component:()=>Promise.all([n.e(4736),n.e(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9158)]).then(n.bind(n,9158)),name:"currencies.index",meta:{pageTitle:"firefly.currencies"}}]},{path:"/currencies/show/:code",component:()=>Promise.all([n.e(4736),n.e(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1238)]).then(n.bind(n,1238)),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(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(607)]).then(n.bind(n,607)),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(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(3912)]).then(n.bind(n,3912)),name:"currencies.create",meta:{pageTitle:"firefly.currencies",breadcrumbs:[{title:"placeholder",route:"currencies.create",params:[]}]}}]},{path:"/administrations",component:()=>Promise.all([n.e(4736),n.e(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(2255)]).then(n.bind(n,2255)),name:"administration.index",meta:{pageTitle:"firefly.administration_index"}}]},{path:"/profile",component:()=>Promise.all([n.e(4736),n.e(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(4799)]).then(n.bind(n,4799)),name:"profile.index",meta:{pageTitle:"firefly.profile"}}]},{path:"/profile/data",component:()=>Promise.all([n.e(4736),n.e(2762)]).then(n.bind(n,2762)),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(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7341)]).then(n.bind(n,7341)),name:"preferences.index",meta:{pageTitle:"firefly.preferences"}}]},{path:"/system",component:()=>Promise.all([n.e(4736),n.e(2762)]).then(n.bind(n,2762)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1872)]).then(n.bind(n,1872)),name:"system.index",meta:{pageTitle:"firefly.system"}}]},{path:"/:catchAll(.*)*",component:()=>Promise.all([n.e(4736),n.e(2769)]).then(n.bind(n,2769))}],T=v,x=(0,f.BC)((function(){const e=P.r5,t=(0,P.p7)({scrollBehavior:()=>({left:0,top:0}),routes:T,history:e("/v3/")});return t}));async function k(e,t){const n=e(b);n.use(r.Z,t);const a="function"===typeof w?await w({}):w;n.use(a);const i=(0,o.Xl)("function"===typeof x?await x({store:a}):x);return a.use((({store:e})=>{e.router=i})),{app:n,store:a,router:i}}var D=n(9527),S=n(214),Z=n(4462),R=n(3703);const C={config:{dark:"auto"},lang:D.Z,iconSet:S.Z,plugins:{Dialog:Z.Z,LocalStorage:R.Z}};let A="function"===typeof b.preFetch?b.preFetch:void 0!==b.__c&&"function"===typeof b.__c.preFetch&&b.__c.preFetch;function O(e,t){const n=e?e.matched?e:t.resolve(e).route:t.currentRoute.value;if(!n)return[];const a=n.matched.filter((e=>void 0!==e.components));return 0===a.length?[]:Array.prototype.concat.apply([],a.map((e=>Object.keys(e.components).map((t=>{const n=e.components[t];return{path:e.path,c:n}})))))}function N({router:e,store:t,publicPath:n}){e.beforeResolve(((a,r,o)=>{const i=window.location.href.replace(window.location.origin,""),c=O(a,e),s=O(r,e);let l=!1;const d=c.filter(((e,t)=>l||(l=!s[t]||s[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&&(d.unshift(A),A=!1),0===d.length)return o();let p=!1;const u=e=>{p=!0,o(e)},h=()=>{!1===p&&o()};d.reduce(((e,o)=>e.then((()=>!1===p&&o({store:t,currentRoute:a,previousRoute:r,redirect:u,urlPath:i,publicPath:n})))),Promise.resolve()).then(h).catch((e=>{console.error(e),h()}))}))}const M="/v3/",B=/\/\//,j=e=>(M+e).replace(B,"/");async function I({app:e,router:t,store:n},a){let r=!1;const o=e=>{try{return j(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=o(e);null!==t&&(window.location.href=t,window.location.reload())},c=window.location.href.replace(window.location.origin,"");for(let l=0;!1===r&&l{const[t,a]=void 0!==Promise.allSettled?["allSettled",e=>e.map((e=>{if("rejected"!==e.status)return e.value.default;console.error("[Quasar] boot error:",e.reason)}))]:["all",e=>e.map((e=>e.default))];return Promise[t]([Promise.resolve().then(n.bind(n,7030)),Promise.resolve().then(n.bind(n,1569))]).then((t=>{const n=a(t).filter((e=>"function"===typeof e));I(e,n)}))}))},9167:(e,t,n)=>{n.d(t,{Z:()=>r});var a=n(1569);class r{getByName(e){return a.api.get("/api/v1/preferences/"+e)}postByName(e,t){return a.api.post("/api/v1/preferences",{name:e,data:t})}}},1746:(e,t,n)=>{n.d(t,{Z:()=>r});var a=n(1569);class r{get(e){return a.api.get("/api/v2/preferences/"+e)}}},1569:(e,t,n)=>{n.r(t),n.d(t,{api:()=>l,default:()=>d});var a=n(3340),r=n(9981),o=n.n(r),i=n(8268);const c=(0,i.setupCache)({maxAge:9e5,exclude:{query:!1}}),s="/",l=o().create({baseURL:s,withCredentials:!0,adapter:c.adapter}),d=(0,a.xr)((({app:e})=>{o().defaults.withCredentials=!0,o().defaults.baseURL=s,e.config.globalProperties.$axios=o(),e.config.globalProperties.$api=l}))},7030:(e,t,n)=>{n.r(t),n.d(t,{default:()=>c});var a=n(3340),r=n(9991);const o={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:{administration_index:"Financial administration",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:"Submission options",apply_rules_checkbox:"Apply rules",fire_webhooks_checkbox:"Fire webhooks",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"}},i={"en-US":o},c=(0,a.xr)((({app:e})=>{const t=(0,r.o)({locale:"en-US",messages:i});e.use(t)}))},3555:(e,t,n)=>{n.d(t,{S:()=>m});var a=n(7363),r=n(1776),o=n(7104),i=n(3637),c=n(444),s=n(6490),l=n(7164),d=n(3611),p=n(9739),u=n(5057),h=n(4453);const m=(0,a.Q_)("firefly-iii",{state:()=>({drawerState:!0,viewRange:"1M",listPageSize:10,locale:"en-US",range:{start:null,end:null},defaultRange:{start:null,end:null},currencyCode:"AAA",currencyId:"0",cacheKey:"initial"}),getters:{getViewRange(e){return e.viewRange},getLocale(e){return e.locale},getListPageSize(e){return e.listPageSize},getCurrencyCode(e){return e.currencyCode},getCurrencyId(e){return e.currencyId},getRange(e){return e.range},getDefaultRange(e){return e.defaultRange},getCacheKey(e){return e.cacheKey}},actions:{refreshCacheKey(){let e=Math.random().toString(36).replace(/[^a-z]+/g,"").slice(0,8);this.setCacheKey(e)},resetRange(){let e=this.defaultRange;this.setRange(e)},setDatesFromViewRange(){let e,t,n=this.viewRange,a=new Date;switch(n){case"last365":e=(0,r.Z)((0,o.Z)(a,365)),t=(0,i.Z)(a);break;case"last90":e=(0,r.Z)((0,o.Z)(a,90)),t=(0,i.Z)(a);break;case"last30":e=(0,r.Z)((0,o.Z)(a,30)),t=(0,i.Z)(a);break;case"last7":e=(0,r.Z)((0,o.Z)(a,7)),t=(0,i.Z)(a);break;case"YTD":e=(0,c.Z)(a),t=(0,i.Z)(a);break;case"QTD":e=(0,s.Z)(a),t=(0,i.Z)(a);break;case"MTD":e=(0,l.Z)(a),t=(0,i.Z)(a);break;case"1D":e=(0,r.Z)(a),t=(0,i.Z)(a);break;case"1W":e=(0,r.Z)((0,d.Z)(a,{weekStartsOn:1})),t=(0,i.Z)((0,p.Z)(a,{weekStartsOn:1}));break;case"1M":e=(0,r.Z)((0,l.Z)(a)),t=(0,i.Z)((0,u.Z)(a));break;case"3M":e=(0,r.Z)((0,s.Z)(a)),t=(0,i.Z)((0,h.Z)(a));break;case"6M":a.getMonth()<=5&&(e=new Date(a),e.setMonth(0),e.setDate(1),e=(0,r.Z)(e),t=new Date(a),t.setMonth(5),t.setDate(30),t=(0,i.Z)(e)),a.getMonth()>5&&(e=new Date(a),e.setMonth(6),e.setDate(1),e=(0,r.Z)(e),t=new Date(a),t.setMonth(11),t.setDate(31),t=(0,i.Z)(e));break;case"1Y":e=new Date(a),e.setMonth(0),e.setDate(1),e=(0,r.Z)(e),t=new Date(a),t.setMonth(11),t.setDate(31),t=(0,i.Z)(t);break}this.setRange({start:e,end:t}),this.setDefaultRange({start:e,end:t})},updateViewRange(e){this.viewRange=e},updateListPageSize(e){this.listPageSize=e},setLocale(e){this.locale=e},setRange(e){return this.range=e,e},setDefaultRange(e){this.defaultRange=e},setCurrencyCode(e){this.currencyCode=e},setCurrencyId(e){this.currencyId=e},setCacheKey(e){this.cacheKey=e}}})}},t={};function n(a){var r=t[a];if(void 0!==r)return r.exports;var o=t[a]={exports:{}};return e[a](o,o.exports,n),o.exports}n.m=e,(()=>{var e=[];n.O=(t,a,r,o)=>{if(!a){var i=1/0;for(d=0;d=o)&&Object.keys(n.O).every((e=>n.O[e](a[s])))?a.splice(s--,1):(c=!1,o0&&e[d-1][2]>o;d--)e[d]=e[d-1];e[d]=[a,r,o]}})(),(()=>{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(a,r){if(1&r&&(a=this(a)),8&r)return a;if("object"===typeof a&&a){if(4&r&&a.__esModule)return a;if(16&r&&"function"===typeof a.then)return a}var o=Object.create(null);n.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var c=2&r&&a;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>i[e]=()=>a[e]));return i["default"]=()=>a,n.d(o,i),o}})(),(()=>{n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})}})(),(()=>{n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((t,a)=>(n.f[a](e,t),t)),[]))})(),(()=>{n.u=e=>"js/"+(3064===e?"chunk-common":e)+"."+{159:"849b2e88",607:"a7330a8c",753:"c47e29ea",936:"308ce395",990:"9f80994c",1019:"ebc4d223",1198:"cbaca816",1238:"744a7b52",1341:"e6d35593",1800:"73a958f8",1872:"235df0c5",2255:"106372da",2306:"accc86fe",2372:"0c493e6d",2382:"a6898a70",2762:"ad3171ef",2769:"435f626d",3064:"2a30b5d5",3576:"5e70097a",3611:"d383e2f1",3726:"efae2175",3912:"55920040",3922:"0d52278f",4036:"46dc453b",4216:"13049863",4355:"044e2646",4575:"6117a3b3",4647:"eb08255c",4670:"83bf8b86",4777:"315d9cdb",4799:"53ec814f",4918:"ac68d296",5114:"96732a35",5389:"83172589",5529:"dbcd5e10",5724:"a11c8347",6254:"16279dd8",6317:"6569585a",6745:"426b85d7",7039:"7e8ac025",7073:"d2bf4ce4",7222:"f318969b",7232:"c2628686",7341:"eb42d75a",7450:"f34e8691",7493:"f0265108",7676:"a2a73fd6",7697:"84e1e5ec",7700:"8a677dfa",7889:"197b7788",7916:"085f15b4",8006:"ed33c726",8135:"8ac09b69",8490:"88c1c928",8493:"d667b5ff",8561:"1097efea",8659:"6dbd3a99",9052:"436e16fe",9053:"8c7cb7c1",9158:"887ce7fc",9173:"44a0bd7d",9253:"d541f5eb",9376:"b2fa7b33",9378:"81ba39c5",9381:"936c3132",9412:"a953a672",9432:"7c03632b",9729:"a64217d1",9814:"61040ecb"}[e]+".js"})(),(()=>{n.miniCssF=e=>{}})(),(()=>{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=(a,r,o,i)=>{if(e[a])e[a].push(r);else{var c,s;if(void 0!==o)for(var l=document.getElementsByTagName("script"),d=0;d{c.onerror=c.onload=null,clearTimeout(h);var r=e[a];if(delete e[a],c.parentNode&&c.parentNode.removeChild(c),r&&r.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,a)=>{var r=n.o(e,t)?e[t]:void 0;if(0!==r)if(r)a.push(r[2]);else{var o=new Promise(((n,a)=>r=e[t]=[n,a]));a.push(r[2]=o);var i=n.p+n.u(t),c=new Error,s=a=>{if(n.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){var o=a&&("load"===a.type?"missing":a.type),i=a&&a.target&&a.target.src;c.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",c.name="ChunkLoadError",c.type=o,c.request=i,r[1](c)}};n.l(i,s,"chunk-"+t,t)}},n.O.j=t=>0===e[t];var t=(t,a)=>{var r,o,[i,c,s]=a,l=0;if(i.some((t=>0!==e[t]))){for(r in c)n.o(c,r)&&(n.m[r]=c[r]);if(s)var d=s(n)}for(t&&t(a);ln(1183)));a=n.O(a)})(); \ No newline at end of file +(()=>{"use strict";var e={1183:(e,t,n)=>{var r=n(1957),a=n(1947),o=n(499),i=n(9835);function c(e,t,n,r,a,o){const c=(0,i.up)("router-view");return(0,i.wg)(),(0,i.j4)(c)}var s=n(9167),l=n(1746),d=n(1569);class p{async authenticate(){return await d.api.get("/sanctum/csrf-cookie")}}class u{default(){let e=new p;return e.authenticate().then((()=>d.api.get("/api/v1/currencies/default")))}}var h=n(3555);const m=(0,i.aZ)({name:"App",preFetch({store:e}){const t=(0,h.S)(e);t.refreshCacheKey();const n=function(){let e=new s.Z;return e.getByName("viewRange").then((e=>{const n=e.data.data.attributes.data;t.updateViewRange(n),t.setDatesFromViewRange()})).catch((e=>{console.error("Could not load view range."),console.log(e)}))},r=function(){let e=new s.Z;return e.getByName("listPageSize").then((e=>{const n=e.data.data.attributes.data;t.updateListPageSize(n)})).catch((e=>{console.error("Could not load listPageSize."),console.log(e)}))},a=function(){let e=new u;return e.default().then((e=>{let n=parseInt(e.data.data.id),r=e.data.data.attributes.code;t.setCurrencyId(n),t.setCurrencyCode(r)})).catch((e=>{console.error("Could not load preferences."),console.log(e),e.response&&401===e.response.status&&(window.location.href="/login")}))},o=function(){return(new l.Z).get("locale").then((e=>{const n=e.data.data.attributes.data.replace("_","-");t.setLocale(n)})).catch((e=>{console.error("Could not load locale."),console.log(e)}))};a().then((()=>{n(),r(),o()}))}});var _=n(1639);const g=(0,_.Z)(m,[["render",c]]),b=g;var f=n(3340),y=n(7363);const w=(0,f.h)((()=>{const e=(0,y.WB)();return e}));var P=n(8910);const v=[{path:"/",component:()=>Promise.all([n.e(4736),n.e(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(2306)]).then(n.bind(n,2306)),name:"index",meta:{dateSelector:!0,pageTitle:"firefly.welcome_back"}}]},{path:"/development",component:()=>Promise.all([n.e(4736),n.e(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(7676)]).then(n.bind(n,7676)),name:"development.index",meta:{pageTitle:"firefly.development"}}]},{path:"/export",component:()=>Promise.all([n.e(4736),n.e(6028)]).then(n.bind(n,6028)),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(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(159)]).then(n.bind(n,159)),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(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(753)]).then(n.bind(n,753)),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(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7916)]).then(n.bind(n,7916)),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(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(4670)]).then(n.bind(n,4670)),name:"budgets.create",meta:{pageTitle:"firefly.budgets",breadcrumbs:[{title:"placeholder",route:"budgets.show",params:[]}]}}]},{path:"/subscriptions",component:()=>Promise.all([n.e(4736),n.e(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(5529)]).then(n.bind(n,5529)),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(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1198)]).then(n.bind(n,1198)),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(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(8490)]).then(n.bind(n,8490)),name:"subscriptions.edit",meta:{pageTitle:"firefly.subscriptions",breadcrumbs:[{title:"placeholder",route:"subscriptions.index"}]}}]},{path:"/subscriptions/create",component:()=>Promise.all([n.e(4736),n.e(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(9378)]).then(n.bind(n,9378)),name:"subscriptions.create",meta:{dateSelector:!1,pageTitle:"firefly.subscriptions"}}]},{path:"/piggy-banks",component:()=>Promise.all([n.e(4736),n.e(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(6254)]).then(n.bind(n,6254)),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(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7073)]).then(n.bind(n,7073)),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(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(3576)]).then(n.bind(n,3576)),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(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4216)]).then(n.bind(n,4216)),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(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(8659)]).then(n.bind(n,8659)),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(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(6317)]).then(n.bind(n,6317)),name:"transactions.create",meta:{dateSelector:!1,pageTitle:"firefly.transactions"}}]},{path:"/transactions/:type",component:()=>Promise.all([n.e(4736),n.e(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1341)]).then(n.bind(n,1341)),name:"transactions.index",meta:{dateSelector:!1,pageTitle:"firefly.transactions",breadcrumbs:[{title:"transactions"}]}}]},{path:"/transactions/edit/:id",component:()=>Promise.all([n.e(4736),n.e(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9376)]).then(n.bind(n,9376)),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(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9729)]).then(n.bind(n,9729)),name:"rules.index",meta:{pageTitle:"firefly.rules"}}]},{path:"/rules/show/:id",component:()=>Promise.all([n.e(4736),n.e(6028)]).then(n.bind(n,6028)),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(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(3726)]).then(n.bind(n,3726)),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(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7450)]).then(n.bind(n,7450)),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(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1019)]).then(n.bind(n,1019)),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(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(1800)]).then(n.bind(n,1800)),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(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4036)]).then(n.bind(n,4036)),name:"recurring.index",meta:{pageTitle:"firefly.recurrences"}}]},{path:"/recurring/create",component:()=>Promise.all([n.e(4736),n.e(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4355)]).then(n.bind(n,4355)),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(6028)]).then(n.bind(n,6028)),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(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9412)]).then(n.bind(n,9412)),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(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4575)]).then(n.bind(n,4575)),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(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4918)]).then(n.bind(n,3953)),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(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9253)]).then(n.bind(n,9253)),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(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9173)]).then(n.bind(n,9173)),name:"accounts.index",meta:{pageTitle:"firefly.accounts"}}]},{path:"/accounts/create/:type",component:()=>Promise.all([n.e(4736),n.e(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9432)]).then(n.bind(n,9432)),name:"accounts.create",meta:{pageTitle:"firefly.accounts"}}]},{path:"/categories",component:()=>Promise.all([n.e(4736),n.e(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9053)]).then(n.bind(n,9053)),name:"categories.index",meta:{pageTitle:"firefly.categories"}}]},{path:"/categories/show/:id",component:()=>Promise.all([n.e(4736),n.e(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7039)]).then(n.bind(n,7039)),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(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(8561)]).then(n.bind(n,8561)),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(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(9052)]).then(n.bind(n,9052)),name:"categories.create",meta:{pageTitle:"firefly.categories",breadcrumbs:[{title:"placeholder",route:"categories.show",params:[]}]}}]},{path:"/tags",component:()=>Promise.all([n.e(4736),n.e(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(6745)]).then(n.bind(n,6745)),name:"tags.index",meta:{pageTitle:"firefly.tags"}}]},{path:"/tags/show/:id",component:()=>Promise.all([n.e(4736),n.e(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(3611)]).then(n.bind(n,9286)),name:"tags.show",meta:{pageTitle:"firefly.tags",breadcrumbs:[{title:"placeholder",route:"tags.show",params:[]}]}}]},{path:"/groups",component:()=>Promise.all([n.e(4736),n.e(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4647)]).then(n.bind(n,4647)),name:"groups.index",meta:{pageTitle:"firefly.object_groups_page_title"}}]},{path:"/groups/show/:id",component:()=>Promise.all([n.e(4736),n.e(6028)]).then(n.bind(n,6028)),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(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7493)]).then(n.bind(n,7493)),name:"groups.edit",meta:{pageTitle:"firefly.groups",breadcrumbs:[{title:"placeholder",route:"categories.show",params:[]}]}}]},{path:"/reports",component:()=>Promise.all([n.e(4736),n.e(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(8006)]).then(n.bind(n,8006)),name:"reports.index",meta:{pageTitle:"firefly.reports"}}]},{path:"/report/default/:accounts/:start/:end",component:()=>Promise.all([n.e(4736),n.e(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(990)]).then(n.bind(n,3694)),name:"reports.default",meta:{pageTitle:"firefly.reports"}}]},{path:"/webhooks",component:()=>Promise.all([n.e(4736),n.e(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(5114)]).then(n.bind(n,5114)),name:"webhooks.index",meta:{pageTitle:"firefly.webhooks"}}]},{path:"/webhooks/show/:id",component:()=>Promise.all([n.e(4736),n.e(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9381)]).then(n.bind(n,9381)),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(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9814)]).then(n.bind(n,9814)),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(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(7232)]).then(n.bind(n,7232)),name:"webhooks.create",meta:{pageTitle:"firefly.webhooks",breadcrumbs:[{title:"placeholder",route:"webhooks.show",params:[]}]}}]},{path:"/currencies",component:()=>Promise.all([n.e(4736),n.e(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9158)]).then(n.bind(n,9158)),name:"currencies.index",meta:{pageTitle:"firefly.currencies"}}]},{path:"/currencies/show/:code",component:()=>Promise.all([n.e(4736),n.e(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1238)]).then(n.bind(n,1238)),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(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(607)]).then(n.bind(n,607)),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(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(3912)]).then(n.bind(n,3912)),name:"currencies.create",meta:{pageTitle:"firefly.currencies",breadcrumbs:[{title:"placeholder",route:"currencies.create",params:[]}]}}]},{path:"/administrations",component:()=>Promise.all([n.e(4736),n.e(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(2255)]).then(n.bind(n,2255)),name:"administration.index",meta:{pageTitle:"firefly.administration_index"}}]},{path:"/profile",component:()=>Promise.all([n.e(4736),n.e(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(4799)]).then(n.bind(n,4799)),name:"profile.index",meta:{pageTitle:"firefly.profile"}}]},{path:"/profile/data",component:()=>Promise.all([n.e(4736),n.e(6028)]).then(n.bind(n,6028)),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(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7341)]).then(n.bind(n,7341)),name:"preferences.index",meta:{pageTitle:"firefly.preferences"}}]},{path:"/system",component:()=>Promise.all([n.e(4736),n.e(6028)]).then(n.bind(n,6028)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1872)]).then(n.bind(n,1872)),name:"system.index",meta:{pageTitle:"firefly.system"}}]},{path:"/:catchAll(.*)*",component:()=>Promise.all([n.e(4736),n.e(2769)]).then(n.bind(n,2769))}],T=v,x=(0,f.BC)((function(){const e=P.r5,t=(0,P.p7)({scrollBehavior:()=>({left:0,top:0}),routes:T,history:e("/v3/")});return t}));async function k(e,t){const n=e(b);n.use(a.Z,t);const r="function"===typeof w?await w({}):w;n.use(r);const i=(0,o.Xl)("function"===typeof x?await x({store:r}):x);return r.use((({store:e})=>{e.router=i})),{app:n,store:r,router:i}}var D=n(9527),S=n(214),Z=n(4462),R=n(3703);const C={config:{dark:"auto"},lang:D.Z,iconSet:S.Z,plugins:{Dialog:Z.Z,LocalStorage:R.Z}};let A="function"===typeof b.preFetch?b.preFetch:void 0!==b.__c&&"function"===typeof b.__c.preFetch&&b.__c.preFetch;function O(e,t){const n=e?e.matched?e:t.resolve(e).route:t.currentRoute.value;if(!n)return[];const r=n.matched.filter((e=>void 0!==e.components));return 0===r.length?[]:Array.prototype.concat.apply([],r.map((e=>Object.keys(e.components).map((t=>{const n=e.components[t];return{path:e.path,c:n}})))))}function N({router:e,store:t,publicPath:n}){e.beforeResolve(((r,a,o)=>{const i=window.location.href.replace(window.location.origin,""),c=O(r,e),s=O(a,e);let l=!1;const d=c.filter(((e,t)=>l||(l=!s[t]||s[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&&(d.unshift(A),A=!1),0===d.length)return o();let p=!1;const u=e=>{p=!0,o(e)},h=()=>{!1===p&&o()};d.reduce(((e,o)=>e.then((()=>!1===p&&o({store:t,currentRoute:r,previousRoute:a,redirect:u,urlPath:i,publicPath:n})))),Promise.resolve()).then(h).catch((e=>{console.error(e),h()}))}))}const M="/v3/",B=/\/\//,j=e=>(M+e).replace(B,"/");async function I({app:e,router:t,store:n},r){let a=!1;const o=e=>{try{return j(t.resolve(e).href)}catch(n){}return Object(e)===e?null:e},i=e=>{if(a=!0,"string"===typeof e&&/^https?:\/\//.test(e))return void(window.location.href=e);const t=o(e);null!==t&&(window.location.href=t,window.location.reload())},c=window.location.href.replace(window.location.origin,"");for(let l=0;!1===a&&l{const[t,r]=void 0!==Promise.allSettled?["allSettled",e=>e.map((e=>{if("rejected"!==e.status)return e.value.default;console.error("[Quasar] boot error:",e.reason)}))]:["all",e=>e.map((e=>e.default))];return Promise[t]([Promise.resolve().then(n.bind(n,7030)),Promise.resolve().then(n.bind(n,1569))]).then((t=>{const n=r(t).filter((e=>"function"===typeof e));I(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})}}},1746:(e,t,n)=>{n.d(t,{Z:()=>a});var r=n(1569);class a{get(e){return r.api.get("/api/v2/preferences/"+e)}}},1569:(e,t,n)=>{n.r(t),n.d(t,{api:()=>l,default:()=>d});var r=n(3340),a=n(9981),o=n.n(a),i=n(8268);const c=(0,i.setupCache)({maxAge:9e5,exclude:{query:!1}}),s="/",l=o().create({baseURL:s,withCredentials:!0,adapter:c.adapter}),d=(0,r.xr)((({app:e})=>{o().defaults.withCredentials=!0,o().defaults.baseURL=s,e.config.globalProperties.$axios=o(),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 o={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:{administration_index:"Financial administration",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:"Submission options",apply_rules_checkbox:"Apply rules",fire_webhooks_checkbox:"Fire webhooks",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"}},i={"en-US":o},c=(0,r.xr)((({app:e})=>{const t=(0,a.o)({locale:"en-US",messages:i});e.use(t)}))},3555:(e,t,n)=>{n.d(t,{S:()=>m});var r=n(7363),a=n(1776),o=n(7104),i=n(3637),c=n(444),s=n(6490),l=n(7164),d=n(3611),p=n(9739),u=n(5057),h=n(4453);const m=(0,r.Q_)("firefly-iii",{state:()=>({drawerState:!0,viewRange:"1M",listPageSize:10,locale:"en-US",range:{start:null,end:null},defaultRange:{start:null,end:null},currencyCode:"AAA",currencyId:"0",cacheKey:"initial"}),getters:{getViewRange(e){return e.viewRange},getLocale(e){return e.locale},getListPageSize(e){return e.listPageSize},getCurrencyCode(e){return e.currencyCode},getCurrencyId(e){return e.currencyId},getRange(e){return e.range},getDefaultRange(e){return e.defaultRange},getCacheKey(e){return e.cacheKey}},actions:{refreshCacheKey(){let e=Math.random().toString(36).replace(/[^a-z]+/g,"").slice(0,8);this.setCacheKey(e)},resetRange(){let e=this.defaultRange;this.setRange(e)},setDatesFromViewRange(){let e,t,n=this.viewRange,r=new Date;switch(n){case"last365":e=(0,a.Z)((0,o.Z)(r,365)),t=(0,i.Z)(r);break;case"last90":e=(0,a.Z)((0,o.Z)(r,90)),t=(0,i.Z)(r);break;case"last30":e=(0,a.Z)((0,o.Z)(r,30)),t=(0,i.Z)(r);break;case"last7":e=(0,a.Z)((0,o.Z)(r,7)),t=(0,i.Z)(r);break;case"YTD":e=(0,c.Z)(r),t=(0,i.Z)(r);break;case"QTD":e=(0,s.Z)(r),t=(0,i.Z)(r);break;case"MTD":e=(0,l.Z)(r),t=(0,i.Z)(r);break;case"1D":e=(0,a.Z)(r),t=(0,i.Z)(r);break;case"1W":e=(0,a.Z)((0,d.Z)(r,{weekStartsOn:1})),t=(0,i.Z)((0,p.Z)(r,{weekStartsOn:1}));break;case"1M":e=(0,a.Z)((0,l.Z)(r)),t=(0,i.Z)((0,u.Z)(r));break;case"3M":e=(0,a.Z)((0,s.Z)(r)),t=(0,i.Z)((0,h.Z)(r));break;case"6M":r.getMonth()<=5&&(e=new Date(r),e.setMonth(0),e.setDate(1),e=(0,a.Z)(e),t=new Date(r),t.setMonth(5),t.setDate(30),t=(0,i.Z)(e)),r.getMonth()>5&&(e=new Date(r),e.setMonth(6),e.setDate(1),e=(0,a.Z)(e),t=new Date(r),t.setMonth(11),t.setDate(31),t=(0,i.Z)(e));break;case"1Y":e=new Date(r),e.setMonth(0),e.setDate(1),e=(0,a.Z)(e),t=new Date(r),t.setMonth(11),t.setDate(31),t=(0,i.Z)(t);break}this.setRange({start:e,end:t}),this.setDefaultRange({start:e,end:t})},updateViewRange(e){this.viewRange=e},updateListPageSize(e){this.listPageSize=e},setLocale(e){this.locale=e},setRange(e){return this.range=e,e},setDefaultRange(e){this.defaultRange=e},setCurrencyCode(e){this.currencyCode=e},setCurrencyId(e){this.currencyId=e},setCacheKey(e){this.cacheKey=e}}})}},t={};function n(r){var a=t[r];if(void 0!==a)return a.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.m=e,(()=>{var e=[];n.O=(t,r,a,o)=>{if(!r){var i=1/0;for(d=0;d=o)&&Object.keys(n.O).every((e=>n.O[e](r[s])))?r.splice(s--,1):(c=!1,o0&&e[d-1][2]>o;d--)e[d]=e[d-1];e[d]=[r,a,o]}})(),(()=>{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 o=Object.create(null);n.r(o);var i={};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=>i[e]=()=>r[e]));return i["default"]=()=>r,n.d(o,i),o}})(),(()=>{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)+"."+{159:"849b2e88",607:"a7330a8c",753:"c47e29ea",936:"308ce395",990:"9f80994c",1019:"ebc4d223",1198:"cbaca816",1238:"744a7b52",1341:"e6d35593",1800:"73a958f8",1872:"235df0c5",2255:"106372da",2306:"accc86fe",2372:"0c493e6d",2382:"a6898a70",2769:"435f626d",3064:"2a30b5d5",3576:"5e70097a",3611:"d383e2f1",3726:"efae2175",3912:"55920040",3922:"0d52278f",4036:"46dc453b",4216:"13049863",4355:"044e2646",4575:"6117a3b3",4647:"eb08255c",4670:"83bf8b86",4777:"315d9cdb",4799:"53ec814f",4918:"ac68d296",5114:"96732a35",5389:"83172589",5529:"dbcd5e10",5724:"a11c8347",6028:"9cbe7d46",6254:"16279dd8",6317:"6569585a",6745:"426b85d7",7039:"7e8ac025",7073:"d2bf4ce4",7222:"f318969b",7232:"c2628686",7341:"eb42d75a",7450:"f34e8691",7493:"f0265108",7676:"a2a73fd6",7697:"84e1e5ec",7700:"8a677dfa",7889:"197b7788",7916:"085f15b4",8006:"ed33c726",8135:"8ac09b69",8490:"88c1c928",8493:"d667b5ff",8561:"1097efea",8659:"6dbd3a99",9052:"436e16fe",9053:"8c7cb7c1",9158:"887ce7fc",9173:"44a0bd7d",9253:"d541f5eb",9376:"b2fa7b33",9378:"81ba39c5",9381:"936c3132",9412:"a953a672",9432:"7c03632b",9729:"a64217d1",9814:"61040ecb"}[e]+".js"})(),(()=>{n.miniCssF=e=>{}})(),(()=>{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,o,i)=>{if(e[r])e[r].push(a);else{var c,s;if(void 0!==o)for(var l=document.getElementsByTagName("script"),d=0;d{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 o=new Promise(((n,r)=>a=e[t]=[n,r]));r.push(a[2]=o);var i=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 o=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;c.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",c.name="ChunkLoadError",c.type=o,c.request=i,a[1](c)}};n.l(i,s,"chunk-"+t,t)}},n.O.j=t=>0===e[t];var t=(t,r)=>{var a,o,[i,c,s]=r,l=0;if(i.some((t=>0!==e[t]))){for(a in c)n.o(c,a)&&(n.m[a]=c[a]);if(s)var d=s(n)}for(t&&t(r);ln(1183)));r=n.O(r)})(); \ No newline at end of file diff --git a/resources/lang/es_ES/validation.php b/resources/lang/es_ES/validation.php index 36e0adc465..fdfd1fd8cd 100644 --- a/resources/lang/es_ES/validation.php +++ b/resources/lang/es_ES/validation.php @@ -61,10 +61,10 @@ return [ 'invalid_selection' => 'Tu selección no es válida.', 'belongs_user' => 'Este valor no es válido para este campo.', 'at_least_one_transaction' => 'Se necesita al menos una transacción.', - 'recurring_transaction_id' => 'Need at least one transaction.', - 'need_id_to_match' => 'You need to submit this entry with an ID for the API to be able to match it.', - 'too_many_unmatched' => 'Too many submitted transactions cannot be matched to their respective database entries. Make sure existing entries have a valid ID.', - 'id_does_not_match' => 'Submitted ID #:id does not match expected ID. Make sure it matches or omit the field.', + 'recurring_transaction_id' => 'Se necesita al menos una transacción.', + 'need_id_to_match' => 'Necesitas registrar esta entrada con un ID para que la API pueda hacerla coincidir.', + 'too_many_unmatched' => 'Demasiadas transacciones registradas no se pueden hacer coincidir con sus respectivas entradas de la base de datos. Asegúrese de que las entradas existentes tienen un ID válido.', + 'id_does_not_match' => 'El ID #:id registrado no coincide con el ID esperado. Asegúrese de que coincide u omita el campo.', 'at_least_one_repetition' => 'Se necesita al menos una repetición.', 'require_repeat_until' => 'Se precisa un número de repeticiones o una fecha de finalización (repeat_until). No ambas.', 'require_currency_info' => 'El contenido de este campo no es válido sin la información montearia.', diff --git a/resources/lang/pl_PL/validation.php b/resources/lang/pl_PL/validation.php index 7521258b75..d97119b30f 100644 --- a/resources/lang/pl_PL/validation.php +++ b/resources/lang/pl_PL/validation.php @@ -61,10 +61,10 @@ return [ 'invalid_selection' => 'Twój wybór jest nieprawidłowy.', 'belongs_user' => 'Ta wartość jest nieprawidłowa dla tego pola.', 'at_least_one_transaction' => 'Wymaga co najmniej jednej transakcji.', - 'recurring_transaction_id' => 'Need at least one transaction.', - 'need_id_to_match' => 'You need to submit this entry with an ID for the API to be able to match it.', - 'too_many_unmatched' => 'Too many submitted transactions cannot be matched to their respective database entries. Make sure existing entries have a valid ID.', - 'id_does_not_match' => 'Submitted ID #:id does not match expected ID. Make sure it matches or omit the field.', + 'recurring_transaction_id' => 'Wymaga co najmniej jednej transakcji.', + 'need_id_to_match' => 'Musisz przesłać ten wpis z ID dla API, aby móc go dopasować.', + 'too_many_unmatched' => 'Zbyt wiele przesłanych transakcji nie może być dopasowanych do ich odpowiednich wpisów w bazie danych. Upewnij się, że istniejące wpisy mają poprawny ID.', + 'id_does_not_match' => 'Przesłane ID #:id nie pasuje do oczekiwanego ID. Upewnij się, że pasuje do pola lub pomiń to pole.', 'at_least_one_repetition' => 'Wymaga co najmniej jednego powtórzenia.', 'require_repeat_until' => 'Wymagana jest liczba powtórzeń lub data zakończenia (repeat_until), ale nie obie jednocześnie.', 'require_currency_info' => 'Treść tego pola jest nieprawidłowa bez informacji o walucie.', diff --git a/resources/lang/ru_RU/validation.php b/resources/lang/ru_RU/validation.php index 7f999412af..904c794557 100644 --- a/resources/lang/ru_RU/validation.php +++ b/resources/lang/ru_RU/validation.php @@ -61,9 +61,9 @@ return [ 'invalid_selection' => 'Вы сделали неправильный выбор.', 'belongs_user' => 'Данное значение недопустимо для этого поля.', 'at_least_one_transaction' => 'Необходима как минимум одна транзакция.', - 'recurring_transaction_id' => 'Need at least one transaction.', + 'recurring_transaction_id' => 'Необходима минимум одна транзакция.', 'need_id_to_match' => 'You need to submit this entry with an ID for the API to be able to match it.', - 'too_many_unmatched' => 'Too many submitted transactions cannot be matched to their respective database entries. Make sure existing entries have a valid ID.', + 'too_many_unmatched' => 'Слишком много отправленных транзакций не могут быть сопоставлены с соответствующими записями в базе данных. Убедитесь, что существующие записи имеют правильный ID.', 'id_does_not_match' => 'Submitted ID #:id does not match expected ID. Make sure it matches or omit the field.', 'at_least_one_repetition' => 'Необходима как минимум одна транзакция.', 'require_repeat_until' => 'Требуется либо несколько повторений, либо конечная дата (repeat_until). Но не оба параметра разом.',