(self.webpackChunk=self.webpackChunk||[]).push([[282],{232:(e,t,a)=>{"use strict";a.r(t);var n=a(7760),i=a.n(n),s=a(7152),o=a(4605);window.$=window.jQuery=a(9755),window.axios=a(9669),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var r=document.head.querySelector('meta[name="csrf-token"]');r?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=r.content:console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token");var l=document.head.querySelector('meta[name="locale"]');localStorage.locale=l?l.content:"en_US",a(6891),a(3734),a(7632),a(5432),window.vuei18n=s.Z,window.uiv=o,i().use(vuei18n),i().use(o),window.Vue=i()},9899:(e,t,a)=>{"use strict";a.d(t,{Z:()=>x});var n=a(7760),i=a.n(n),s=a(629),o=a(4478),r=a(3465);const l={namespaced:!0,state:function(){return{transactionType:"any",groupTitle:"",transactions:[],customDateFields:{interest_date:!1,book_date:!1,process_date:!1,due_date:!1,payment_date:!1,invoice_date:!1},defaultTransaction:(0,o.f$)(),defaultErrors:(0,o.kQ)()}},getters:{transactions:function(e){return e.transactions},defaultErrors:function(e){return e.defaultErrors},groupTitle:function(e){return e.groupTitle},transactionType:function(e){return e.transactionType},accountToTransaction:function(e){return e.accountToTransaction},defaultTransaction:function(e){return e.defaultTransaction},sourceAllowedTypes:function(e){return e.sourceAllowedTypes},destinationAllowedTypes:function(e){return e.destinationAllowedTypes},allowedOpposingTypes:function(e){return e.allowedOpposingTypes},customDateFields:function(e){return e.customDateFields}},actions:{},mutations:{addTransaction:function(e){var t=r(e.defaultTransaction);t.errors=r(e.defaultErrors),e.transactions.push(t)},resetErrors:function(e,t){e.transactions[t.index].errors=r(e.defaultErrors)},resetTransactions:function(e){e.transactions=[]},setGroupTitle:function(e,t){e.groupTitle=t.groupTitle},setCustomDateFields:function(e,t){e.customDateFields=t},deleteTransaction:function(e,t){e.transactions.splice(t.index,1),e.transactions.length},setTransactionType:function(e,t){e.transactionType=t},setAllowedOpposingTypes:function(e,t){e.allowedOpposingTypes=t},setAccountToTransaction:function(e,t){e.accountToTransaction=t},updateField:function(e,t){e.transactions[t.index][t.field]=t.value},setTransactionError:function(e,t){e.transactions[t.index].errors[t.field]=t.errors},setDestinationAllowedTypes:function(e,t){e.destinationAllowedTypes=t},setSourceAllowedTypes:function(e,t){e.sourceAllowedTypes=t}}};const c={namespaced:!0,state:function(){return{}},getters:{},actions:{},mutations:{}};var _=a(9119),u=a(3894),d=a(584),p=a(7090),y=a(4431),h=a(8358),m=a(4135),g=a(3703);const b={namespaced:!0,state:function(){return{viewRange:"default",start:null,end:null,defaultStart:null,defaultEnd:null}},getters:{start:function(e){return e.start},end:function(e){return e.end},defaultStart:function(e){return e.defaultStart},defaultEnd:function(e){return e.defaultEnd},viewRange:function(e){return e.viewRange}},actions:{initialiseStore:function(e){e.dispatch("restoreViewRange"),axios.get("./api/v1/preferences/viewRange").then((function(t){var a=t.data.data.attributes.data,n=e.getters.viewRange;e.commit("setViewRange",a),a!==n&&e.dispatch("setDatesFromViewRange"),a===n&&e.dispatch("restoreViewRangeDates")})).catch((function(){e.commit("setViewRange","1M"),e.dispatch("setDatesFromViewRange")}))},restoreViewRangeDates:function(e){localStorage.viewRangeStart&&e.commit("setStart",new Date(localStorage.viewRangeStart)),localStorage.viewRangeEnd&&e.commit("setEnd",new Date(localStorage.viewRangeEnd)),localStorage.viewRangeDefaultStart&&e.commit("setDefaultStart",new Date(localStorage.viewRangeDefaultStart)),localStorage.viewRangeDefaultEnd&&e.commit("setDefaultEnd",new Date(localStorage.viewRangeDefaultEnd))},restoreViewRange:function(e){var t=localStorage.getItem("viewRange");null!==t&&e.commit("setViewRange",t)},setDatesFromViewRange:function(e){var t,a,n=e.getters.viewRange,i=new Date;switch(n){case"1D":t=(0,_.Z)(i),a=(0,u.Z)(i);break;case"1W":t=(0,_.Z)((0,d.Z)(i,{weekStartsOn:1})),a=(0,u.Z)((0,p.Z)(i,{weekStartsOn:1}));break;case"1M":t=(0,_.Z)((0,g.Z)(i)),a=(0,u.Z)((0,m.Z)(i));break;case"3M":t=(0,_.Z)((0,y.Z)(i)),a=(0,u.Z)((0,h.Z)(i));break;case"6M":i.getMonth()<=5&&((t=new Date(i)).setMonth(0),t.setDate(1),t=(0,_.Z)(t),(a=new Date(i)).setMonth(5),a.setDate(30),a=(0,u.Z)(t)),i.getMonth()>5&&((t=new Date(i)).setMonth(6),t.setDate(1),t=(0,_.Z)(t),(a=new Date(i)).setMonth(11),a.setDate(31),a=(0,u.Z)(t));break;case"1Y":(t=new Date(i)).setMonth(0),t.setDate(1),t=(0,_.Z)(t),(a=new Date(i)).setMonth(11),a.setDate(31),a=(0,u.Z)(a)}e.commit("setStart",t),e.commit("setEnd",a),e.commit("setDefaultStart",t),e.commit("setDefaultEnd",a)}},mutations:{setStart:function(e,t){e.start=t,window.localStorage.setItem("viewRangeStart",t)},setEnd:function(e,t){e.end=t,window.localStorage.setItem("viewRangeEnd",t)},setDefaultStart:function(e,t){e.defaultStart=t,window.localStorage.setItem("viewRangeDefaultStart",t)},setDefaultEnd:function(e,t){e.defaultEnd=t,window.localStorage.setItem("viewRangeDefaultEnd",t)},setViewRange:function(e,t){e.viewRange=t,window.localStorage.setItem("viewRange",t)}}};var f=function(){return{listPageSize:33,timezone:"",cacheKey:{age:0,value:"empty"}}},v={initialiseStore:function(e){if(localStorage.cacheKey){var t=JSON.parse(localStorage.cacheKey);Date.now()-t.age>864e5?e.commit("refreshCacheKey"):e.commit("setCacheKey",t)}else e.commit("refreshCacheKey");localStorage.listPageSize&&(f.listPageSize=localStorage.listPageSize,e.commit("setListPageSize",{length:localStorage.listPageSize})),localStorage.listPageSize||axios.get("./api/v1/preferences/listPageSize").then((function(t){e.commit("setListPageSize",{length:parseInt(t.data.data.attributes.data)})})),localStorage.timezone&&(f.timezone=localStorage.timezone,e.commit("setTimezone",{timezone:localStorage.timezone})),localStorage.timezone||axios.get("./api/v1/configuration/app.timezone").then((function(t){e.commit("setTimezone",{timezone:t.data.data.value})}))}};const k={namespaced:!0,state:f,getters:{listPageSize:function(e){return e.listPageSize},timezone:function(e){return e.timezone},cacheKey:function(e){return e.cacheKey.value}},actions:v,mutations:{refreshCacheKey:function(e){var t=Date.now(),a=Array(9).join((Math.random().toString(36)+"00000000000000000").slice(2,18)).slice(0,8),n={age:t,value:a};localStorage.cacheKey=JSON.stringify(n),e.cacheKey={age:t,value:a}},setCacheKey:function(e,t){localStorage.cacheKey=JSON.stringify(t),e.cacheKey=t},setListPageSize:function(e,t){var a=parseInt(t.length);0!==a&&(e.listPageSize=a,localStorage.listPageSize=a)},setTimezone:function(e,t){""!==t.timezone&&(e.timezone=t.timezone,localStorage.timezone=t.timezone)}}};const w={namespaced:!0,state:function(){return{orderMode:!1,activeFilter:1}},getters:{orderMode:function(e){return e.orderMode},activeFilter:function(e){return e.activeFilter}},actions:{},mutations:{setOrderMode:function(e,t){e.orderMode=t},setActiveFilter:function(e,t){e.activeFilter=t}}};i().use(s.ZP);const x=new s.ZP.Store({namespaced:!0,modules:{root:k,transactions:{namespaced:!0,modules:{create:l,edit:c}},accounts:{namespaced:!0,modules:{index:w}},dashboard:{namespaced:!0,modules:{index:b}}},strict:false,plugins:[],state:{currencyPreference:{},locale:"en-US",listPageSize:50},mutations:{setCurrencyPreference:function(e,t){e.currencyPreference=t.payload},initialiseStore:function(e){if(localStorage.locale)e.locale=localStorage.locale;else{var t=document.head.querySelector('meta[name="locale"]');t&&(e.locale=t.content,localStorage.locale=t.content)}}},getters:{currencyCode:function(e){return e.currencyPreference.code},currencyPreference:function(e){return e.currencyPreference},currencyId:function(e){return e.currencyPreference.id},locale:function(e){return e.locale}},actions:{updateCurrencyPreference:function(e){localStorage.currencyPreference?e.commit("setCurrencyPreference",{payload:JSON.parse(localStorage.currencyPreference)}):axios.get("./api/v1/currencies/default").then((function(t){var a={id:parseInt(t.data.data.id),name:t.data.data.attributes.name,symbol:t.data.data.attributes.symbol,code:t.data.data.attributes.code,decimal_places:parseInt(t.data.data.attributes.decimal_places)};localStorage.currencyPreference=JSON.stringify(a),e.commit("setCurrencyPreference",{payload:a})})).catch((function(t){console.error(t),e.commit("setCurrencyPreference",{payload:{id:1,name:"Euro",symbol:"€",code:"EUR",decimal_places:2}})}))}}})},157:(e,t,a)=>{e.exports=new vuei18n({locale:document.documentElement.lang,fallbackLocale:"en",messages:{bg:a(7154),cs:a(6407),de:a(4726),en:a(3340),"en-us":a(3340),"en-gb":a(6318),es:a(5394),el:a(3636),fr:a(2551),hu:a(995),it:a(9112),nl:a(4671),nb:a(9085),pl:a(6238),fi:a(7868),"pt-br":a(6586),"pt-pt":a(8664),ro:a(1102),ru:a(753),"zh-tw":a(1715),"zh-cn":a(4556),sk:a(7049),sv:a(7921),vi:a(1497)}})},8855:(e,t,a)=>{"use strict";var n=a(9899),i=a(8035),s=a(7070),o=a(5935),r=a(7168),l=a(629);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function u(e){for(var t=1;t0&&(e.group_title=this.groupTitle),this.transactions)this.transactions.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294&&e.transactions.push(this.convertSplit(t,this.transactions[t]));return e.transactions.length>1&&""!==e.transactions[0].description&&(null===e.group_title||""===e.group_title)&&(e.group_title=e.transactions[0].description),e.transactions.length>1&&(e=this.synchronizeAccounts(e)),e},synchronizeAccounts:function(e){for(var t in e.transactions)e.transactions.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294&&("transfer"===this.transactionType.toLowerCase()&&(e.transactions[t].source_name=null,e.transactions[t].destination_name=null,t>0&&(e.transactions[t].source_id=e.transactions[0].source_id,e.transactions[t].destination_id=e.transactions[0].destination_id)),"deposit"===this.transactionType.toLowerCase()&&(e.transactions[t].destination_name=null,t>0&&(e.transactions[t].destination_id=e.transactions[0].destination_id)),"withdrawal"===this.transactionType.toLowerCase()&&(e.transactions[t].source_name=null,t>0&&(e.transactions[t].source_id=e.transactions[0].source_id)));return e},convertSplit:function(e,t){var a,n,i,s;""===t.destination_account_name&&(t.destination_account_name=null),0===t.destination_account_id&&(t.destination_account_name=null),""===t.source_account_name&&(t.source_account_name=null),0===t.source_account_id&&(t.source_account_id=null);var o={description:t.description,date:this.date,type:this.transactionType.toLowerCase(),source_id:null!==(a=t.source_account_id)&&void 0!==a?a:null,source_name:null!==(n=t.source_account_name)&&void 0!==n?n:null,destination_id:null!==(i=t.destination_account_id)&&void 0!==i?i:null,destination_name:null!==(s=t.destination_account_name)&&void 0!==s?s:null,currency_id:t.currency_id,amount:t.amount,budget_id:t.budget_id,category_name:t.category,interest_date:t.interest_date,book_date:t.book_date,process_date:t.process_date,due_date:t.due_date,payment_date:t.payment_date,invoice_date:t.invoice_date,internal_reference:t.internal_reference,external_url:t.external_url,notes:t.notes,external_id:t.external_id,zoom_level:t.zoom_level,longitude:t.longitude,latitude:t.latitude,tags:[],order:0,reconciled:!1,attachments:t.attachments};if(0!==t.tags.length)for(var r in t.tags)if(t.tags.hasOwnProperty(r)&&/^0$|^[1-9]\d*$/.test(r)&&r<=4294967294){var l=t.tags[r];if("object"===c(l)&&null!==l){o.tags.push(l.text);continue}if("string"==typeof l){o.tags.push(l);continue}}0!==t.piggy_bank_id&&(o.piggy_bank_id=t.piggy_bank_id),0!==t.bill_id&&(o.bill_id=t.bill_id),0!==t.foreign_currency_id&&""!==t.foreign_amount&&(o.foreign_currency_id=t.foreign_currency_id),""!==t.foreign_amount&&(o.foreign_amount=t.foreign_amount),o.currency_id=t.source_account_currency_id,"Deposit"===this.transactionType&&(o.currency_id=t.destination_account_currency_id);var _=[];for(var u in t.links)if(t.links.hasOwnProperty(u)&&/^0$|^[1-9]\d*$/.test(u)&&u<=4294967294){var d=t.links[u],p=d.link_type_id.split("-"),y="outward"===p[1]?0:parseInt(d.transaction_journal_id),h="inward"===p[1]?0:parseInt(d.transaction_journal_id),m={link_type_id:parseInt(p[0]),inward_id:y,outward_id:h};_.push(m)}return o.links=_,null===o.source_id&&delete o.source_id,null===o.source_name&&delete o.source_name,null===o.destination_id&&delete o.destination_id,null===o.destination_name&&delete o.destination_name,o},getAllowedOpposingTypes:function(){var e=this;axios.get("./api/v1/configuration/firefly.allowed_opposing_types").then((function(t){e.allowedOpposingTypes=t.data.data.value}))},getExpectedSourceTypes:function(){var e=this;axios.get("./api/v1/configuration/firefly.expected_source_types").then((function(t){e.sourceAllowedTypes=t.data.data.value.source[e.transactionType],e.destinationAllowedTypes=t.data.data.value.destination[e.transactionType]}))},getAccountToTransaction:function(){var e=this;axios.get("./api/v1/configuration/firefly.account_to_transaction").then((function(t){e.accountToTransaction=t.data.data.value}))},getCustomFields:function(){var e=this;axios.get("./api/v1/preferences/transaction_journal_optional_fields").then((function(t){e.customFields=t.data.data.attributes.data}))},setDestinationAllowedTypes:function(e){0!==e.length?this.destinationAllowedTypes=e:this.destinationAllowedTypes=this.defaultDestinationAllowedTypes},setSourceAllowedTypes:function(e){0!==e.length?this.sourceAllowedTypes=e:this.sourceAllowedTypes=this.defaultSourceAllowedTypes}})};const y=(0,a(1900).Z)(p,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("alert",{attrs:{message:e.errorMessage,type:"danger"}}),e._v(" "),a("alert",{attrs:{message:e.successMessage,type:"success"}}),e._v(" "),a("form",{attrs:{autocomplete:"off"},on:{submit:e.submitTransaction}},[a("SplitPills",{attrs:{transactions:e.transactions,count:e.transactions.length}}),e._v(" "),a("div",{staticClass:"tab-content"},e._l(this.transactions,(function(t,n){return a("SplitForm",{key:n,attrs:{count:e.transactions.length,"custom-fields":e.customFields,date:e.date,"destination-allowed-types":e.destinationAllowedTypes,index:n,"source-allowed-types":e.sourceAllowedTypes,"submitted-transaction":e.submittedTransaction,transaction:t,"transaction-type":e.transactionType},on:{"uploaded-attachments":function(t){return e.uploadedAttachment(t)},"selected-attachments":function(t){return e.selectedAttachment(t)},"set-marker-location":function(t){return e.storeLocation(t)},"set-account":function(t){return e.storeAccountValue(t)},"set-date":function(t){return e.storeDate(t)},"set-field":function(t){return e.storeField(t)},"remove-transaction":function(t){return e.removeTransaction(t)}}})})),1),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},[e.transactions.length>1?a("div",{staticClass:"card"},[a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("TransactionGroupTitle",{attrs:{errors:this.groupTitleErrors},on:{"set-group-title":function(t){return e.storeGroupTitle(t)}},model:{value:this.groupTitle,callback:function(t){e.$set(this,"groupTitle",t)},expression:"this.groupTitle"}})],1)])])]):e._e()]),e._v(" "),a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("div",{staticClass:"card card-primary"},[a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n  \n ")]),e._v(" "),a("button",{staticClass:"btn btn-outline-primary btn-block",attrs:{type:"button"},on:{click:e.addTransactionArray}},[a("span",{staticClass:"far fa-clone"}),e._v(" "+e._s(e.$t("firefly.add_another_split"))+"\n ")])]),e._v(" "),a("div",{staticClass:"col"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n  \n ")]),e._v(" "),a("button",{staticClass:"btn btn-success btn-block",attrs:{disabled:!e.enableSubmit},on:{click:e.submitTransaction}},[e.enableSubmit?a("span",[a("span",{staticClass:"far fa-save"}),e._v(" "+e._s(e.$t("firefly.store_transaction")))]):e._e(),e._v(" "),e.enableSubmit?e._e():a("span",[a("span",{staticClass:"fas fa-spinner fa-spin"})])])])]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[e._v("\n  \n ")]),e._v(" "),a("div",{staticClass:"col"},[a("div",{staticClass:"form-check"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.createAnother,expression:"createAnother"}],staticClass:"form-check-input",attrs:{id:"createAnother",type:"checkbox"},domProps:{checked:Array.isArray(e.createAnother)?e._i(e.createAnother,null)>-1:e.createAnother},on:{change:function(t){var a=e.createAnother,n=t.target,i=!!n.checked;if(Array.isArray(a)){var s=e._i(a,null);n.checked?s<0&&(e.createAnother=a.concat([null])):s>-1&&(e.createAnother=a.slice(0,s).concat(a.slice(s+1)))}else e.createAnother=i}}}),e._v(" "),a("label",{staticClass:"form-check-label",attrs:{for:"createAnother"}},[a("span",{staticClass:"small"},[e._v(e._s(e.$t("firefly.create_another")))])])]),e._v(" "),a("div",{staticClass:"form-check"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.resetFormAfter,expression:"resetFormAfter"}],staticClass:"form-check-input",attrs:{id:"resetFormAfter",disabled:!e.createAnother,type:"checkbox"},domProps:{checked:Array.isArray(e.resetFormAfter)?e._i(e.resetFormAfter,null)>-1:e.resetFormAfter},on:{change:function(t){var a=e.resetFormAfter,n=t.target,i=!!n.checked;if(Array.isArray(a)){var s=e._i(a,null);n.checked?s<0&&(e.resetFormAfter=a.concat([null])):s>-1&&(e.resetFormAfter=a.slice(0,s).concat(a.slice(s+1)))}else e.resetFormAfter=i}}}),e._v(" "),a("label",{staticClass:"form-check-label",attrs:{for:"resetFormAfter"}},[a("span",{staticClass:"small"},[e._v(e._s(e.$t("firefly.reset_after")))])])])])])])])])])],1)],1)}),[],!1,null,null,null).exports;var h=a(7760),m=a.n(h);a(232),m().config.productionTip=!1;var g=a(157),b={};new(m())({i18n:g,store:n.Z,render:function(e){return e(y,{props:b})},beforeCreate:function(){this.$store.dispatch("root/initialiseStore"),this.$store.commit("initialiseStore"),this.$store.dispatch("updateCurrencyPreference")}}).$mount("#transactions_create")},4478:(e,t,a)=>{"use strict";function n(){return{description:[],amount:[],source:[],destination:[],currency:[],foreign_currency:[],foreign_amount:[],date:[],custom_dates:[],budget:[],category:[],bill:[],tags:[],piggy_bank:[],internal_reference:[],external_url:[],notes:[],location:[]}}function i(){return{description:"",transaction_journal_id:0,source_account_id:null,source_account_name:null,source_account_type:null,source_account_currency_id:null,source_account_currency_code:null,source_account_currency_symbol:null,destination_account_id:null,destination_account_name:null,destination_account_type:null,destination_account_currency_id:null,destination_account_currency_code:null,destination_account_currency_symbol:null,attachments:!1,selectedAttachments:!1,uploadTrigger:!1,clearTrigger:!1,source_account:{id:0,name:"",name_with_balance:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2},destination_account:{id:0,name:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2},amount:"",currency_id:0,foreign_amount:"",foreign_currency_id:0,category:null,budget_id:0,bill_id:0,piggy_bank_id:0,tags:[],interest_date:null,book_date:null,process_date:null,due_date:null,payment_date:null,invoice_date:null,internal_reference:null,external_url:null,external_id:null,notes:null,links:[],zoom_level:null,longitude:null,latitude:null,errors:{}}}a.d(t,{kQ:()=>n,f$:()=>i})},6665:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(4015),i=a.n(n),s=a(3645),o=a.n(s)()(i());o.push([e.id,".vue-tags-input{display:block;max-width:100%!important}.ti-input,.vue-tags-input{border-radius:.25rem;width:100%}.ti-input{max-width:100%}.ti-new-tag-input{font-size:1rem}","",{version:3,sources:["webpack://./src/components/transactions/TransactionTags.vue"],names:[],mappings:"AAsHA,gBAGA,aAAA,CADA,wBAGA,CAEA,0BAHA,oBAAA,CAHA,UAUA,CAJA,UAEA,cAEA,CAEA,kBACA,cACA",sourcesContent:['\x3c!--\n - TransactionTags.vue\n - Copyright (c) 2021 james@firefly-iii.org\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see .\n --\x3e\n\n\n\n