(()=>{"use strict";var e={4989:(e,t,n)=>{n(5363),n(71);var r=n(8880),a=n(9592),i=n(3673);function o(e,t,n,r,a,o){const c=(0,i.up)("router-view");return(0,i.wg)(),(0,i.j4)(c)}var c=n(4155),s=n(5474);class l{async authenticate(){return await s.api.get("/sanctum/csrf-cookie")}}class d{default(){let e=new l;return e.authenticate().then((()=>s.api.get("/api/v1/currencies/default")))}}n(4904);const p=(0,i.aZ)({name:"App",preFetch({store:e}){e.dispatch("fireflyiii/refreshCacheKey");const t=function(){let t=new c.Z;return t.getByName("viewRange").then((t=>{const n=t.data.data.attributes.data;e.commit("fireflyiii/updateViewRange",n),e.dispatch("fireflyiii/setDatesFromViewRange")})).catch((e=>{console.error("Could not load view range."),console.log(e)}))},n=function(){let t=new c.Z;return t.getByName("listPageSize").then((t=>{const n=t.data.data.attributes.data;e.commit("fireflyiii/updateListPageSize",n)})).catch((e=>{console.error("Could not load listPageSize."),console.log(e)}))},r=function(){let t=new d;return t.default().then((t=>{let n=parseInt(t.data.data.id),r=t.data.data.attributes.code;e.commit("fireflyiii/setCurrencyId",n),e.commit("fireflyiii/setCurrencyCode",r)})).catch((e=>{console.error("Could not load preferences."),console.log(e)}))};r().then((()=>{t(),n()}))}});var u=n(4260);const h=(0,u.Z)(p,[["render",o]]),m=h;var _=n(4327),g=n(3340),b=n(9582);const f=[{path:"/",component:()=>Promise.all([n.e(4736),n.e(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(656)]).then(n.bind(n,656)),name:"index",meta:{dateSelector:!0,pageTitle:"firefly.welcome_back"}}]},{path:"/development",component:()=>Promise.all([n.e(4736),n.e(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(2574)]).then(n.bind(n,2574)),name:"development.index",meta:{pageTitle:"firefly.development"}}]},{path:"/export",component:()=>Promise.all([n.e(4736),n.e(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(4411)]).then(n.bind(n,4411)),name:"export.index",meta:{pageTitle:"firefly.export"}}]},{path:"/budgets",component:()=>Promise.all([n.e(4736),n.e(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1032)]).then(n.bind(n,1032)),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(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(3443)]).then(n.bind(n,3443)),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(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7345)]).then(n.bind(n,7345)),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(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(2131)]).then(n.bind(n,2131)),name:"budgets.create",meta:{pageTitle:"firefly.budgets",breadcrumbs:[{title:"placeholder",route:"budgets.show",params:[]}]}}]},{path:"/subscriptions",component:()=>Promise.all([n.e(4736),n.e(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(154)]).then(n.bind(n,154)),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(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(3015)]).then(n.bind(n,3015)),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(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(37)]).then(n.bind(n,37)),name:"subscriptions.edit",meta:{pageTitle:"firefly.subscriptions",breadcrumbs:[{title:"placeholder",route:"subscriptions.index"}]}}]},{path:"/subscriptions/create",component:()=>Promise.all([n.e(4736),n.e(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3327)]).then(n.bind(n,3327)),name:"subscriptions.create",meta:{dateSelector:!1,pageTitle:"firefly.subscriptions"}}]},{path:"/piggy-banks",component:()=>Promise.all([n.e(4736),n.e(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(8742)]).then(n.bind(n,8742)),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(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(8018)]).then(n.bind(n,8018)),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(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1056)]).then(n.bind(n,1056)),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(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9740)]).then(n.bind(n,9740)),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(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(766)]).then(n.bind(n,766)),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(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(6325)]).then(n.bind(n,6325)),name:"transactions.create",meta:{dateSelector:!1,pageTitle:"firefly.transactions"}}]},{path:"/transactions/:type",component:()=>Promise.all([n.e(4736),n.e(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(39)]).then(n.bind(n,39)),name:"transactions.index",meta:{dateSelector:!1,pageTitle:"firefly.transactions",breadcrumbs:[{title:"transactions"}]}}]},{path:"/transactions/edit/:id",component:()=>Promise.all([n.e(4736),n.e(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(704)]).then(n.bind(n,704)),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(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7689)]).then(n.bind(n,7689)),name:"rules.index",meta:{pageTitle:"firefly.rules"}}]},{path:"/rules/show/:id",component:()=>Promise.all([n.e(4736),n.e(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(6841)]).then(n.bind(n,6841)),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(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(3765)]).then(n.bind(n,3765)),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(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(6333)]).then(n.bind(n,6333)),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(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(6602)]).then(n.bind(n,6140)),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(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(2074)]).then(n.bind(n,2074)),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(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1461)]).then(n.bind(n,1461)),name:"recurring.index",meta:{pageTitle:"firefly.recurrences"}}]},{path:"/recurring/create",component:()=>Promise.all([n.e(4736),n.e(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9475)]).then(n.bind(n,9475)),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(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(2998)]).then(n.bind(n,2998)),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(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(2076)]).then(n.bind(n,2076)),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(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(2708)]).then(n.bind(n,2708)),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(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(3241)]).then(n.bind(n,3241)),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(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(902)]).then(n.bind(n,902)),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(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1192)]).then(n.bind(n,1192)),name:"accounts.index",meta:{pageTitle:"firefly.accounts"}}]},{path:"/accounts/create/:type",component:()=>Promise.all([n.e(4736),n.e(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(5044)]).then(n.bind(n,5044)),name:"accounts.create",meta:{pageTitle:"firefly.accounts"}}]},{path:"/categories",component:()=>Promise.all([n.e(4736),n.e(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7292)]).then(n.bind(n,7292)),name:"categories.index",meta:{pageTitle:"firefly.categories"}}]},{path:"/categories/show/:id",component:()=>Promise.all([n.e(4736),n.e(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4887)]).then(n.bind(n,4887)),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(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(5389)]).then(n.bind(n,5389)),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(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(1570)]).then(n.bind(n,1570)),name:"categories.create",meta:{pageTitle:"firefly.categories",breadcrumbs:[{title:"placeholder",route:"categories.show",params:[]}]}}]},{path:"/tags",component:()=>Promise.all([n.e(4736),n.e(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(8152)]).then(n.bind(n,8152)),name:"tags.index",meta:{pageTitle:"firefly.tags"}}]},{path:"/tags/show/:id",component:()=>Promise.all([n.e(4736),n.e(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(2260)]).then(n.bind(n,2260)),name:"tags.show",meta:{pageTitle:"firefly.tags",breadcrumbs:[{title:"placeholder",route:"tags.show",params:[]}]}}]},{path:"/groups",component:()=>Promise.all([n.e(4736),n.e(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(3083)]).then(n.bind(n,3083)),name:"groups.index",meta:{pageTitle:"firefly.object_groups_page_title"}}]},{path:"/groups/show/:id",component:()=>Promise.all([n.e(4736),n.e(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(8797)]).then(n.bind(n,8797)),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(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(8418)]).then(n.bind(n,8418)),name:"groups.edit",meta:{pageTitle:"firefly.groups",breadcrumbs:[{title:"placeholder",route:"categories.show",params:[]}]}}]},{path:"/reports",component:()=>Promise.all([n.e(4736),n.e(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1162)]).then(n.bind(n,1162)),name:"reports.index",meta:{pageTitle:"firefly.reports"}}]},{path:"/report/default/:accounts/:start/:end",component:()=>Promise.all([n.e(4736),n.e(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(8641)]).then(n.bind(n,8641)),name:"reports.default",meta:{pageTitle:"firefly.reports"}}]},{path:"/webhooks",component:()=>Promise.all([n.e(4736),n.e(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7427)]).then(n.bind(n,7427)),name:"webhooks.index",meta:{pageTitle:"firefly.webhooks"}}]},{path:"/webhooks/show/:id",component:()=>Promise.all([n.e(4736),n.e(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9191)]).then(n.bind(n,9191)),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(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(6548)]).then(n.bind(n,6548)),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(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(5084)]).then(n.bind(n,5084)),name:"webhooks.create",meta:{pageTitle:"firefly.webhooks",breadcrumbs:[{title:"placeholder",route:"webhooks.show",params:[]}]}}]},{path:"/currencies",component:()=>Promise.all([n.e(4736),n.e(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9034)]).then(n.bind(n,9034)),name:"currencies.index",meta:{pageTitle:"firefly.currencies"}}]},{path:"/currencies/show/:code",component:()=>Promise.all([n.e(4736),n.e(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4326)]).then(n.bind(n,4326)),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(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(3776)]).then(n.bind(n,3776)),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(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(8072)]).then(n.bind(n,8072)),name:"currencies.create",meta:{pageTitle:"firefly.currencies",breadcrumbs:[{title:"placeholder",route:"currencies.create",params:[]}]}}]},{path:"/profile",component:()=>Promise.all([n.e(4736),n.e(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(1502)]).then(n.bind(n,1502)),name:"profile.index",meta:{pageTitle:"firefly.profile"}}]},{path:"/profile/data",component:()=>Promise.all([n.e(4736),n.e(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(6071)]).then(n.bind(n,6071)),name:"profile.data",meta:{pageTitle:"firefly.profile_data"}}]},{path:"/preferences",component:()=>Promise.all([n.e(4736),n.e(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9064)]).then(n.bind(n,9064)),name:"preferences.index",meta:{pageTitle:"firefly.preferences"}}]},{path:"/admin",component:()=>Promise.all([n.e(4736),n.e(1241)]).then(n.bind(n,1241)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(3070)]).then(n.bind(n,3070)),name:"admin.index",meta:{pageTitle:"firefly.administration"}}]},{path:"/:catchAll(.*)*",component:()=>Promise.all([n.e(4736),n.e(569)]).then(n.bind(n,569))}],y=f,w=(0,g.BC)((function(){const e=b.r5,t=(0,b.p7)({scrollBehavior:()=>({left:0,top:0}),routes:y,history:e("/v3/")});return t}));async function P(e,t){const r="function"===typeof _["default"]?await(0,_["default"])({}):_["default"],{storeKey:i}=await Promise.resolve().then(n.bind(n,4327)),o="function"===typeof w?await w({store:r}):w;r.$router=o;const c=e(m);return c.use(a.Z,t),{app:c,store:r,storeKey:i,router:o}}var v=n(9527),T=n(7909),k=n(1417),x=n(6395);const D={config:{dark:"auto"},lang:v.Z,iconSet:T.Z,plugins:{Dialog:k.Z,LocalStorage:x.Z}};let Z="function"===typeof m.preFetch?m.preFetch:void 0!==m.__c&&"function"===typeof m.__c.preFetch&&m.__c.preFetch;function S(e,t){const n=e?e.matched?e:t.resolve(e).route:t.currentRoute;return n?Array.prototype.concat.apply([],n.matched.map((e=>Object.keys(e.components).map((t=>{const n=e.components[t];return{path:e.path,c:n}}))))):[]}function R(e,t,n){e.beforeResolve(((r,a,i)=>{const o=window.location.href.replace(window.location.origin,""),c=S(r,e),s=S(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!==Z&&(d.unshift(Z),Z=!1),0===d.length)return i();let p=!1;const u=e=>{p=!0,i(e)},h=()=>{!1===p&&i()};d.reduce(((e,i)=>e.then((()=>!1===p&&i({store:t,currentRoute:r,previousRoute:a,redirect:u,urlPath:o,publicPath:n})))),Promise.resolve()).then(h).catch((e=>{console.error(e),h()}))}))}const C="/v3/",A=/\/\//,O=e=>(C+e).replace(A,"/");async function M({app:e,router:t,store:n,storeKey:r},a){let i=!1;const o=e=>{try{return O(t.resolve(e).href)}catch(n){}return Object(e)===e?null:e},c=e=>{if(i=!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())},s=window.location.href.replace(window.location.origin,"");for(let d=0;!1===i&&dPromise.all([Promise.resolve().then(n.bind(n,3508)),Promise.resolve().then(n.bind(n,5474))]).then((t=>{const n=t.map((e=>e.default)).filter((e=>"function"===typeof e));M(e,n)}))))},4155:(e,t,n)=>{n.d(t,{Z:()=>a});var r=n(5474);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})}}},5474:(e,t,n)=>{n.r(t),n.d(t,{default:()=>d,api:()=>l});var r=n(3340),a=n(52),i=n.n(a),o=n(9819);const c=(0,o.setupCache)({maxAge:9e5,exclude:{query:!1}}),s="/",l=i().create({baseURL:s,withCredentials:!0,adapter:c.adapter}),d=(0,r.xr)((({app:e})=>{i().defaults.withCredentials=!0,i().defaults.baseURL=s,e.config.globalProperties.$axios=i(),e.config.globalProperties.$api=l}))},3508:(e,t,n)=>{n.r(t),n.d(t,{default:()=>c});var r=n(3340),a=n(5948);const i={config:{html_language:"en",month_and_day_fns:"MMMM d, y"},form:{name:"Name",amount_min:"Minimum amount",amount_max:"Maximum amount",url:"URL",title:"Title",first_date:"First date",repetitions:"Repetitions",description:"Description",iban:"IBAN",skip:"Skip",date:"Date"},list:{name:"Name",account_number:"Account number",currentBalance:"Current balance",lastActivity:"Last activity",active:"Is active?"},breadcrumbs:{placeholder:"[Placeholder]",budgets:"Budgets",subscriptions:"Subscriptions",transactions:"Transactions",title_expenses:"Expenses",title_withdrawal:"Expenses",title_revenue:"Revenue / income",title_deposit:"Revenue / income",title_transfer:"Transfers",title_transfers:"Transfers",asset_accounts:"Asset accounts",expense_accounts:"Expense accounts",revenue_accounts:"Revenue accounts",liabilities_accounts:"Liabilities"},firefly:{actions:"Actions",edit:"Edit",delete:"Delete",reconcile:"Reconcile",create_new_asset:"Create new asset account",confirm_action:"Confirm action",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",left_to_spend:"Left to spend",net_worth:"Net worth",pref_last365:"Last year",pref_last90:"Last 90 days",pref_last30:"Last 30 days",pref_last7:"Last 7 days",pref_YTD:"Year to date",pref_QTD:"Quarter to date",pref_MTD:"Month to date"}},o={"en-US":i},c=(0,r.xr)((({app:e})=>{const t=(0,a.o)({locale:"en-US",messages:o});e.use(t)}))},4904:(e,t,n)=>{n.r(t),n.d(t,{refreshCacheKey:()=>h,resetRange:()=>m,setDatesFromViewRange:()=>_});n(5363);var r=n(3020),a=n(425),i=n(956),o=n(9401),c=n(6550),s=n(11),l=n(4430),d=n(9757),p=n(9011),u=n(6858);function h(e){let t=Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,8);e.commit("setCacheKey",t)}function m(e){let t=e.getters.getDefaultRange;e.commit("setRange",t)}function _(e){let t,n,h=e.getters.getViewRange,m=new Date;switch(h){case"last365":t=(0,r.Z)((0,a.Z)(m,365)),n=(0,i.Z)(m);break;case"last90":t=(0,r.Z)((0,a.Z)(m,90)),n=(0,i.Z)(m);break;case"last30":t=(0,r.Z)((0,a.Z)(m,30)),n=(0,i.Z)(m);break;case"last7":t=(0,r.Z)((0,a.Z)(m,7)),n=(0,i.Z)(m);break;case"YTD":t=(0,o.Z)(m),n=(0,i.Z)(m);break;case"QTD":t=(0,c.Z)(m),n=(0,i.Z)(m);break;case"MTD":t=(0,s.Z)(m),n=(0,i.Z)(m);break;case"1D":t=(0,r.Z)(m),n=(0,i.Z)(m);break;case"1W":t=(0,r.Z)((0,l.Z)(m,{weekStartsOn:1})),n=(0,i.Z)((0,d.Z)(m,{weekStartsOn:1}));break;case"1M":t=(0,r.Z)((0,s.Z)(m)),n=(0,i.Z)((0,p.Z)(m));break;case"3M":t=(0,r.Z)((0,c.Z)(m)),n=(0,i.Z)((0,u.Z)(m));break;case"6M":m.getMonth()<=5&&(t=new Date(m),t.setMonth(0),t.setDate(1),t=(0,r.Z)(t),n=new Date(m),n.setMonth(5),n.setDate(30),n=(0,i.Z)(t)),m.getMonth()>5&&(t=new Date(m),t.setMonth(6),t.setDate(1),t=(0,r.Z)(t),n=new Date(m),n.setMonth(11),n.setDate(31),n=(0,i.Z)(t));break;case"1Y":t=new Date(m),t.setMonth(0),t.setDate(1),t=(0,r.Z)(t),n=new Date(m),n.setMonth(11),n.setDate(31),n=(0,i.Z)(n);break}e.commit("setRange",{start:t,end:n}),e.commit("setDefaultRange",{start:t,end:n})}},4327:(e,t,n)=>{n.r(t),n.d(t,{default:()=>k});var r={};n.r(r),n.d(r,{getCacheKey:()=>m,getCurrencyCode:()=>d,getCurrencyId:()=>p,getDefaultRange:()=>h,getListPageSize:()=>l,getRange:()=>u,getViewRange:()=>s});var a={};n.r(a),n.d(a,{setCacheKey:()=>P,setCurrencyCode:()=>y,setCurrencyId:()=>w,setDefaultRange:()=>f,setRange:()=>b,updateListPageSize:()=>g,updateViewRange:()=>_});var i=n(3340),o=n(3617);function c(){return{drawerState:!0,viewRange:"1M",listPageSize:10,range:{start:null,end:null},defaultRange:{start:null,end:null},currencyCode:"AAA",currencyId:"0",cacheKey:"initial"}}function s(e){return e.viewRange}function l(e){return e.listPageSize}function d(e){return e.currencyCode}function p(e){return e.currencyId}function u(e){return e.range}function h(e){return e.defaultRange}function m(e){return e.cacheKey}const _=(e,t)=>{e.viewRange=t},g=(e,t)=>{e.listPageSize=t},b=(e,t)=>{e.range=t},f=(e,t)=>{e.defaultRange=t},y=(e,t)=>{e.currencyCode=t},w=(e,t)=>{e.currencyId=t},P=(e,t)=>{e.cacheKey=t};var v=n(4904);const T={namespaced:!0,state:c,getters:r,mutations:a,actions:v},k=(0,i.h)((function(){const e=(0,o.MT)({modules:{fireflyiii:T},strict:!1});return e}))}},t={};function n(r){var a=t[r];if(void 0!==a)return a.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.m=e,(()=>{var e=[];n.O=(t,r,a,i)=>{if(!r){var o=1/0;for(d=0;d=i)&&Object.keys(n.O).every((e=>n.O[e](r[s])))?r.splice(s--,1):(c=!1,i0&&e[d-1][2]>i;d--)e[d]=e[d-1];e[d]=[r,a,i]}})(),(()=>{n.n=e=>{var t=e&&e.__esModule?()=>e["default"]:()=>e;return n.d(t,{a:t}),t}})(),(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;n.t=function(r,a){if(1&a&&(r=this(r)),8&a)return r;if("object"===typeof r&&r){if(4&a&&r.__esModule)return r;if(16&a&&"function"===typeof r.then)return r}var i=Object.create(null);n.r(i);var o={};e=e||[null,t({}),t([]),t(t)];for(var c=2&a&&r;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>o[e]=()=>r[e]));return o["default"]=()=>r,n.d(i,o),i}})(),(()=>{n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}})(),(()=>{n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((t,r)=>(n.f[r](e,t),t)),[]))})(),(()=>{n.u=e=>"js/"+(3064===e?"chunk-common":e)+"."+{37:"9d8c47a8",39:"41108a03",154:"48fbd81f",569:"75cdef80",656:"b8d2ff23",704:"718e3fa4",766:"232dd295",902:"8f1ffdaa",1032:"6f91fdcc",1056:"9cf9dfde",1162:"cd12b99c",1192:"43e1f98f",1241:"01618456",1461:"193cf8bd",1502:"83880a27",1570:"b8c2badb",2074:"8e2751cf",2076:"744d61fd",2131:"3d7c8a20",2260:"02a89434",2574:"f57a5595",2708:"5e253c34",2998:"5bb9fed7",3015:"44cf01ca",3064:"a5851b13",3070:"88ffb28c",3083:"4c6cc26b",3171:"37255ab3",3241:"6b2ccc2c",3311:"412a4fca",3327:"f151eb67",3443:"f230cb72",3569:"4d62f73d",3765:"3e4af970",3776:"dfdb2b74",4326:"6082f63c",4411:"4e956b44",4887:"c09cbec3",5044:"e7ab0d8c",5084:"5c6c824b",5389:"8ad3d2d6",6071:"9ab70fa1",6325:"60bb8d54",6333:"b31718af",6548:"f36d1bd6",6602:"e2e8caa0",6841:"c0c108cc",7292:"fbc13216",7345:"ea247204",7427:"4fd529d2",7689:"ef8bfc78",8018:"ca226a93",8072:"63abae6f",8152:"13cca091",8418:"207687e7",8641:"d6f69acd",8742:"12479ccd",8797:"5ab22295",9034:"409165fa",9064:"96dfc082",9191:"ff712f9b",9475:"f22844bf",9740:"22fea932"}[e]+".js"})(),(()=>{n.miniCssF=e=>"css/"+{2143:"app",4736:"vendor"}[e]+"."+{2143:"50c7ba73",4736:"95f47b98"}[e]+".css"})(),(()=>{n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()})(),(()=>{n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{var e={},t="firefly-iii:";n.l=(r,a,i,o)=>{if(e[r])e[r].push(a);else{var c,s;if(void 0!==i)for(var l=document.getElementsByTagName("script"),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 i=new Promise(((n,r)=>a=e[t]=[n,r]));r.push(a[2]=i);var o=n.p+n.u(t),c=new Error,s=r=>{if(n.o(e,t)&&(a=e[t],0!==a&&(e[t]=void 0),a)){var i=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;c.message="Loading chunk "+t+" failed.\n("+i+": "+o+")",c.name="ChunkLoadError",c.type=i,c.request=o,a[1](c)}};n.l(o,s,"chunk-"+t,t)}},n.O.j=t=>0===e[t];var t=(t,r)=>{var a,i,[o,c,s]=r,l=0;if(o.some((t=>0!==e[t]))){for(a in c)n.o(c,a)&&(n.m[a]=c[a]);if(s)var d=s(n)}for(t&&t(r);ln(4989)));r=n.O(r)})();