mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-18 18:44:16 +00:00
1 line
36 KiB
JavaScript
Vendored
1 line
36 KiB
JavaScript
Vendored
(()=>{"use strict";var e={6102:(e,t,n)=>{n(5363),n(71);var r=n(8880),a=n(9592),o=n(3673);function i(e,t,n,r,a,i){const c=(0,o.up)("router-view");return(0,o.wg)(),(0,o.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,o.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",i]]),m=h;var _=n(4327),g=n(3340),b=n(9582);const f=[{path:"/",component:()=>Promise.all([n.e(4736),n.e(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7776)]).then(n.bind(n,7776)),name:"index",meta:{dateSelector:!0,pageTitle:"firefly.welcome_back"}}]},{path:"/development",component:()=>Promise.all([n.e(4736),n.e(7041)]).then(n.bind(n,7041)),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(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(2463)]).then(n.bind(n,2463)),name:"export.index",meta:{pageTitle:"firefly.export"}}]},{path:"/budgets",component:()=>Promise.all([n.e(4736),n.e(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(648)]).then(n.bind(n,648)),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(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(8020)]).then(n.bind(n,8020)),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(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(8067)]).then(n.bind(n,8067)),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(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(2659)]).then(n.bind(n,2659)),name:"budgets.create",meta:{pageTitle:"firefly.budgets",breadcrumbs:[{title:"placeholder",route:"budgets.show",params:[]}]}}]},{path:"/subscriptions",component:()=>Promise.all([n.e(4736),n.e(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9733)]).then(n.bind(n,9733)),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(7041)]).then(n.bind(n,7041)),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(7041)]).then(n.bind(n,7041)),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(7041)]).then(n.bind(n,7041)),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(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(6456)]).then(n.bind(n,6456)),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(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(3439)]).then(n.bind(n,3439)),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(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7609)]).then(n.bind(n,7609)),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(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(2656)]).then(n.bind(n,2656)),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(7041)]).then(n.bind(n,7041)),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(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(6750)]).then(n.bind(n,6750)),name:"transactions.create",meta:{dateSelector:!1,pageTitle:"firefly.transactions"}}]},{path:"/transactions/:type",component:()=>Promise.all([n.e(4736),n.e(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(2778)]).then(n.bind(n,2778)),name:"transactions.index",meta:{dateSelector:!1,pageTitle:"firefly.transactions",breadcrumbs:[{title:"transactions"}]}}]},{path:"/transactions/edit/:id",component:()=>Promise.all([n.e(4736),n.e(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1250)]).then(n.bind(n,1250)),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(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4428)]).then(n.bind(n,4428)),name:"rules.index",meta:{pageTitle:"firefly.rules"}}]},{path:"/rules/show/:id",component:()=>Promise.all([n.e(4736),n.e(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(6752)]).then(n.bind(n,6752)),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(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9021)]).then(n.bind(n,9021)),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(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(3465)]).then(n.bind(n,3465)),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(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9340)]).then(n.bind(n,9340)),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(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(2263)]).then(n.bind(n,2263)),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(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7936)]).then(n.bind(n,7936)),name:"recurring.index",meta:{pageTitle:"firefly.recurrences"}}]},{path:"/recurring/create",component:()=>Promise.all([n.e(4736),n.e(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(6819)]).then(n.bind(n,6819)),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(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(6878)]).then(n.bind(n,6878)),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(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(8650)]).then(n.bind(n,8650)),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(7041)]).then(n.bind(n,7041)),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(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(5548)]).then(n.bind(n,5548)),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(7041)]).then(n.bind(n,7041)),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(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(2259)]).then(n.bind(n,2259)),name:"accounts.index",meta:{pageTitle:"firefly.accounts"}}]},{path:"/accounts/create/:type",component:()=>Promise.all([n.e(4736),n.e(7041)]).then(n.bind(n,7041)),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(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(8451)]).then(n.bind(n,8451)),name:"categories.index",meta:{pageTitle:"firefly.categories"}}]},{path:"/categories/show/:id",component:()=>Promise.all([n.e(4736),n.e(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(381)]).then(n.bind(n,381)),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(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(6902)]).then(n.bind(n,6902)),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(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(4232)]).then(n.bind(n,4232)),name:"categories.create",meta:{pageTitle:"firefly.categories",breadcrumbs:[{title:"placeholder",route:"categories.show",params:[]}]}}]},{path:"/tags",component:()=>Promise.all([n.e(4736),n.e(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(6970)]).then(n.bind(n,6970)),name:"tags.index",meta:{pageTitle:"firefly.tags"}}]},{path:"/tags/show/:id",component:()=>Promise.all([n.e(4736),n.e(7041)]).then(n.bind(n,7041)),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(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(5457)]).then(n.bind(n,5457)),name:"groups.index",meta:{pageTitle:"firefly.object_groups_page_title"}}]},{path:"/groups/show/:id",component:()=>Promise.all([n.e(4736),n.e(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1312)]).then(n.bind(n,1312)),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(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1749)]).then(n.bind(n,1749)),name:"groups.edit",meta:{pageTitle:"firefly.groups",breadcrumbs:[{title:"placeholder",route:"categories.show",params:[]}]}}]},{path:"/reports",component:()=>Promise.all([n.e(4736),n.e(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(3337)]).then(n.bind(n,3337)),name:"reports.index",meta:{pageTitle:"firefly.reports"}}]},{path:"/report/default/:accounts/:start/:end",component:()=>Promise.all([n.e(4736),n.e(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(1953)]).then(n.bind(n,1953)),name:"reports.default",meta:{pageTitle:"firefly.reports"}}]},{path:"/webhooks",component:()=>Promise.all([n.e(4736),n.e(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(3797)]).then(n.bind(n,3797)),name:"webhooks.index",meta:{pageTitle:"firefly.webhooks"}}]},{path:"/webhooks/show/:id",component:()=>Promise.all([n.e(4736),n.e(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(3477)]).then(n.bind(n,3477)),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(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7803)]).then(n.bind(n,7803)),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(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3821)]).then(n.bind(n,3821)),name:"webhooks.create",meta:{pageTitle:"firefly.webhooks",breadcrumbs:[{title:"placeholder",route:"webhooks.show",params:[]}]}}]},{path:"/currencies",component:()=>Promise.all([n.e(4736),n.e(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4537)]).then(n.bind(n,4537)),name:"currencies.index",meta:{pageTitle:"firefly.currencies"}}]},{path:"/currencies/show/:code",component:()=>Promise.all([n.e(4736),n.e(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7154)]).then(n.bind(n,7154)),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(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(3057)]).then(n.bind(n,3057)),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(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4349)]).then(n.bind(n,4349)),name:"currencies.create",meta:{pageTitle:"firefly.currencies",breadcrumbs:[{title:"placeholder",route:"currencies.create",params:[]}]}}]},{path:"/profile",component:()=>Promise.all([n.e(4736),n.e(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(1889)]).then(n.bind(n,1889)),name:"profile.index",meta:{pageTitle:"firefly.profile"}}]},{path:"/profile/data",component:()=>Promise.all([n.e(4736),n.e(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(5754)]).then(n.bind(n,5754)),name:"profile.data",meta:{pageTitle:"firefly.profile_data"}}]},{path:"/preferences",component:()=>Promise.all([n.e(4736),n.e(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7328)]).then(n.bind(n,7328)),name:"preferences.index",meta:{pageTitle:"firefly.preferences"}}]},{path:"/admin",component:()=>Promise.all([n.e(4736),n.e(7041)]).then(n.bind(n,7041)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4494)]).then(n.bind(n,4494)),name:"admin.index",meta:{pageTitle:"firefly.administration"}}]},{path:"/:catchAll(.*)*",component:()=>Promise.all([n.e(4736),n.e(2193)]).then(n.bind(n,2193))}],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:o}=await Promise.resolve().then(n.bind(n,4327)),i="function"===typeof w?await w({store:r}):w;r.$router=i;const c=e(m);return c.use(a.Z,t),{app:c,store:r,storeKey:o,router:i}}var v=n(9527),T=n(7909),x=n(1417),k=n(6395);const D={config:{dark:"auto"},lang:v.Z,iconSet:T.Z,plugins:{Dialog:x.Z,LocalStorage:k.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,o)=>{const i=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 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 C="/v3/",A=/\/\//,O=e=>(C+e).replace(A,"/");async function M({app:e,router:t,store:n,storeKey:r},a){let o=!1;const i=e=>{try{return O(t.resolve(e).href)}catch(n){}return Object(e)===e?null:e},c=e=>{if(o=!0,"string"===typeof e&&/^https?:\/\//.test(e))return void(window.location.href=e);const t=i(e);null!==t&&(window.location.href=t,window.location.reload())},s=window.location.href.replace(window.location.origin,"");for(let d=0;!1===o&&d<a.length;d++)try{await a[d]({app:e,router:t,store:n,ssrContext:null,redirect:c,urlPath:s,publicPath:C})}catch(l){return l&&l.url?void c(l.url):void console.error("[Quasar] boot error:",l)}!0!==o&&(e.use(t),e.use(n,r),R(t,n),e.mount("#q-app"))}P(r.ri,D).then((e=>Promise.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),o=n.n(a),i=n(9819);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}))},3508:(e,t,n)=>{n.r(t),n.d(t,{default:()=>c});var r=n(3340),a=n(5948);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"},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:{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:"Account ID (source/destination) 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:"Account (source/destination) is (cash) account",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_exactly_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_is_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_on_choice:"Transaction was made on..",rule_trigger_updated_on_choice:"Transaction was last edited on..",rule_trigger_budget_is_choice:"Budget is..",rule_trigger_tag_is_choice:"(A) 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_are_choice:"Notes are..",rule_trigger_notes_contain_choice:"Notes contain..",rule_trigger_notes_start_choice:"Notes start with..",rule_trigger_notes_end_choice:"Notes end with..",rule_trigger_bill_is_choice:"Bill is..",rule_trigger_external_id_choice:"External ID is..",rule_trigger_internal_reference_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"}},i={"en-US":o},c=(0,r.xr)((({app:e})=>{const t=(0,a.o)({locale:"en-US",messages:i});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),o=n(956),i=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,o.Z)(m);break;case"last90":t=(0,r.Z)((0,a.Z)(m,90)),n=(0,o.Z)(m);break;case"last30":t=(0,r.Z)((0,a.Z)(m,30)),n=(0,o.Z)(m);break;case"last7":t=(0,r.Z)((0,a.Z)(m,7)),n=(0,o.Z)(m);break;case"YTD":t=(0,i.Z)(m),n=(0,o.Z)(m);break;case"QTD":t=(0,c.Z)(m),n=(0,o.Z)(m);break;case"MTD":t=(0,s.Z)(m),n=(0,o.Z)(m);break;case"1D":t=(0,r.Z)(m),n=(0,o.Z)(m);break;case"1W":t=(0,r.Z)((0,l.Z)(m,{weekStartsOn:1})),n=(0,o.Z)((0,d.Z)(m,{weekStartsOn:1}));break;case"1M":t=(0,r.Z)((0,s.Z)(m)),n=(0,o.Z)((0,p.Z)(m));break;case"3M":t=(0,r.Z)((0,c.Z)(m)),n=(0,o.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,o.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,o.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,o.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:()=>x});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 o=n(3340),i=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},x=(0,o.h)((function(){const e=(0,i.MT)({modules:{fireflyiii:T},strict:!1});return 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<e.length;d++){for(var[r,a,o]=e[d],c=!0,s=0;s<r.length;s++)(!1&o||i>=o)&&Object.keys(n.O).every((e=>n.O[e](r[s])))?r.splice(s--,1):(c=!1,o<i&&(i=o));if(c){e.splice(d--,1);var l=a();void 0!==l&&(t=l)}}return t}o=o||0;for(var d=e.length;d>0&&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)+"."+{37:"9d8c47a8",381:"dc4002b3",648:"c96a2d49",766:"232dd295",902:"8f1ffdaa",1250:"b978b6cd",1312:"a456c9bb",1749:"be171e55",1889:"f48df105",1953:"cd34aaf0",2193:"d26782d5",2259:"7c2bb4b2",2260:"02a89434",2263:"cdfb2bb4",2463:"f584dfd2",2574:"f57a5595",2656:"33907e0f",2659:"74929b70",2708:"5e253c34",2778:"fe3859e0",3015:"44cf01ca",3057:"1f1d36a5",3064:"8cf8a84c",3171:"37255ab3",3327:"f151eb67",3337:"5ad1af93",3439:"6b1e9669",3465:"ee4c3f3b",3477:"f2206483",3569:"4d62f73d",3797:"c543513b",3821:"45b3980e",4232:"3dab7aca",4349:"d4ce5fdd",4428:"e45049d7",4494:"c3d848cf",4536:"f69a95d8",4537:"0a668514",5044:"e7ab0d8c",5457:"56062797",5548:"e71dea13",5754:"1e294a82",6456:"c4c8f4f5",6750:"94c6cd18",6752:"3f745308",6819:"88e61f88",6878:"56233e4d",6902:"8682fa1f",6970:"4300be90",7041:"bab91f9c",7154:"f57dea8f",7328:"07a320aa",7609:"64865c54",7776:"bc8b7c81",7803:"66cef825",7936:"3d7dd400",8020:"5f1939cf",8067:"62fdb0a5",8451:"db13cd38",8650:"1cd3fcc6",9021:"ff962c0b",9340:"2980e127",9733:"77de155e"}[e]+".js"})(),(()=>{n.miniCssF=e=>"css/"+{2143:"app",4736:"vendor"}[e]+"."+{2143:"31d6cfe0",4736:"a6b6525a"}[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,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<l.length;d++){var p=l[d];if(p.getAttribute("src")==r||p.getAttribute("data-webpack")==t+o){c=p;break}}c||(s=!0,c=document.createElement("script"),c.charset="utf-8",c.timeout=120,n.nc&&c.setAttribute("nonce",n.nc),c.setAttribute("data-webpack",t+o),c.src=r),e[r]=[a];var u=(t,n)=>{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);l<i.length;l++)o=i[l],n.o(e,o)&&e[o]&&e[o][0](),e[i[l]]=0;return n.O(d)},r=self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var r=n.O(void 0,[4736],(()=>n(6102)));r=n.O(r)})(); |