taxtank-core 0.33.16 → 0.33.18
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/src/lib/collections/sole/index.mjs +2 -2
- package/esm2022/src/lib/collections/sole/sole-business-loss.collection.mjs +41 -0
- package/esm2022/src/lib/db/Models/sole/sole-details.mjs +3 -3
- package/esm2022/src/lib/forms/holding/holding-reinvest.form.mjs +2 -2
- package/esm2022/src/lib/forms/property/property-add.form.mjs +7 -3
- package/esm2022/src/lib/forms/report/my-tax/my-tax-partnerships-and-trusts.form.mjs +1 -1
- package/esm2022/src/lib/models/event/app-event-type.enum.mjs +15 -17
- package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.mjs +1 -1
- package/esm2022/src/lib/models/report/my-tax/my-tax-losses/my-tax-losses.mjs +1 -1
- package/esm2022/src/lib/models/transaction/allocation-rule-transaction.mjs +1 -1
- package/esm2022/src/lib/services/http/bank/basiq/basiq.service.mjs +2 -1
- package/esm2022/src/lib/services/http/property/property-category-movement/property-category-movement.service.mjs +1 -1
- package/esm2022/src/lib/services/http/sole/sole-business-loss/sole-business-loss.service.mjs +8 -3
- package/esm2022/src/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.mjs +3 -3
- package/esm2022/src/lib/services/http/sole/sole-details/sole-details.service.mjs +16 -47
- package/esm2022/src/lib/validators/date/max-date.validator.mjs +17 -0
- package/esm2022/src/lib/validators/date/min-date.validator.mjs +17 -0
- package/esm2022/src/lib/validators/index.mjs +3 -2
- package/fesm2022/taxtank-core.mjs +57 -71
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/collections/sole/index.d.ts +1 -1
- package/src/lib/collections/sole/{sole-business-losses.collection.d.ts → sole-business-loss.collection.d.ts} +1 -1
- package/src/lib/db/Models/sole/sole-details.d.ts +2 -2
- package/src/lib/forms/report/my-tax/my-tax-partnerships-and-trusts.form.d.ts +1 -1
- package/src/lib/models/event/app-event-type.enum.d.ts +14 -16
- package/src/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.d.ts +2 -2
- package/src/lib/models/report/my-tax/my-tax-losses/my-tax-losses.d.ts +2 -2
- package/src/lib/services/http/bank/basiq/basiq.service.d.ts +1 -0
- package/src/lib/services/http/sole/sole-business-loss/sole-business-loss.service.d.ts +8 -3
- package/src/lib/services/http/sole/sole-details/sole-details.service.d.ts +12 -13
- package/src/lib/validators/date/max-date.validator.d.ts +5 -0
- package/src/lib/validators/index.d.ts +2 -1
- package/esm2022/src/lib/collections/sole/sole-business-losses.collection.mjs +0 -41
- package/esm2022/src/lib/validators/min-date/messages.enum.mjs +0 -5
- package/esm2022/src/lib/validators/min-date/min-date.validator.mjs +0 -18
- package/src/lib/validators/min-date/messages.enum.d.ts +0 -3
- /package/src/lib/validators/{min-date → date}/min-date.validator.d.ts +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
export * from './sole-business-
|
1
|
+
export * from './sole-business-loss.collection';
|
2
2
|
export * from './sole-invoice-item.collection';
|
3
3
|
export * from './sole-invoice.collection';
|
4
|
-
//# sourceMappingURL=data:application/json;base64,
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvY29sbGVjdGlvbnMvc29sZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGlDQUFpQyxDQUFDO0FBQ2hELGNBQWMsZ0NBQWdDLENBQUM7QUFDL0MsY0FBYywyQkFBMkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vc29sZS1idXNpbmVzcy1sb3NzLmNvbGxlY3Rpb24nO1xuZXhwb3J0ICogZnJvbSAnLi9zb2xlLWludm9pY2UtaXRlbS5jb2xsZWN0aW9uJztcbmV4cG9ydCAqIGZyb20gJy4vc29sZS1pbnZvaWNlLmNvbGxlY3Rpb24nO1xuIl19
|
@@ -0,0 +1,41 @@
|
|
1
|
+
import { Collection } from '../collection';
|
2
|
+
import { Dictionary } from '../../models';
|
3
|
+
export class SoleBusinessLossCollection extends Collection {
|
4
|
+
/**
|
5
|
+
* Business loss applied in current year, includes previous year losses and current year losses for businesses matching offset rule
|
6
|
+
*/
|
7
|
+
calculateBusinessLossApplied(transactions) {
|
8
|
+
// claim amounts for businesses that can be applied to be reduced by prior year business losses
|
9
|
+
const claimAmountsByBusinessId = this.getClaimAmountsByBusinessId(transactions);
|
10
|
+
return Object.keys(claimAmountsByBusinessId.items).reduce((sum, businessId) => {
|
11
|
+
const loss = this.findBy('business.id', +businessId);
|
12
|
+
const lossOpenBalance = loss?.openBalance || 0;
|
13
|
+
// business loss can be applied to business profit or other income types profit in case in offset rule met
|
14
|
+
return sum + (loss?.offsetRule ? lossOpenBalance : Math.min(lossOpenBalance, claimAmountsByBusinessId.get(businessId)));
|
15
|
+
}, 0);
|
16
|
+
}
|
17
|
+
/**
|
18
|
+
* Get business claim amounts that can be applied to be reduced by prior year business losses:
|
19
|
+
* businesses with income or businesses with a loss, but which met the non-commercial loss rules
|
20
|
+
* https://www.ato.gov.au/Business/Non-commercial-losses/
|
21
|
+
*/
|
22
|
+
getClaimAmountsByBusinessId(transactions) {
|
23
|
+
const claimAmountsByBusinessId = new Dictionary([]);
|
24
|
+
const transactionsByBusinessId = transactions.groupBy('business.id');
|
25
|
+
transactionsByBusinessId.keys.forEach((businessId) => {
|
26
|
+
// business loss may not exist if, when creating a business, user didn't add losses for previous years
|
27
|
+
const lossOffsetRule = this.findBy('business.id', +businessId)?.offsetRule;
|
28
|
+
const businessClaimAmount = transactionsByBusinessId
|
29
|
+
.get(businessId)
|
30
|
+
.getBusinessClaimAmount(+businessId);
|
31
|
+
// @TODO vik it has nothing to do with getClaimAmountsByBusinessId
|
32
|
+
// no way to apply loss for business without profit if offset rules not met
|
33
|
+
if (businessClaimAmount < 0 && !lossOffsetRule) {
|
34
|
+
return;
|
35
|
+
}
|
36
|
+
claimAmountsByBusinessId.add(businessId, businessClaimAmount);
|
37
|
+
});
|
38
|
+
return claimAmountsByBusinessId;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29sZS1idXNpbmVzcy1sb3NzLmNvbGxlY3Rpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvY29sbGVjdGlvbnMvc29sZS9zb2xlLWJ1c2luZXNzLWxvc3MuY29sbGVjdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRzNDLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFHMUMsTUFBTSxPQUFPLDBCQUEyQixTQUFRLFVBQTRCO0lBQzFFOztPQUVHO0lBQ0gsNEJBQTRCLENBQUMsWUFBbUM7UUFDOUQsK0ZBQStGO1FBQy9GLE1BQU0sd0JBQXdCLEdBQXVCLElBQUksQ0FBQywyQkFBMkIsQ0FBQyxZQUFZLENBQUMsQ0FBQztRQUVwRyxPQUFPLE1BQU0sQ0FBQyxJQUFJLENBQUMsd0JBQXdCLENBQUMsS0FBSyxDQUFDLENBQUMsTUFBTSxDQUFDLENBQUMsR0FBVyxFQUFFLFVBQWtCLEVBQUUsRUFBRTtZQUM1RixNQUFNLElBQUksR0FBcUIsSUFBSSxDQUFDLE1BQU0sQ0FBQyxhQUFhLEVBQUUsQ0FBQyxVQUFVLENBQUMsQ0FBQztZQUN2RSxNQUFNLGVBQWUsR0FBVyxJQUFJLEVBQUUsV0FBVy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BpdCBoYXMgbm90aGluZyB0byBkbyB3aXRoIGdldENsYWltQW1vdW50c0J5QnVzaW5lc3NJZFxuICAgICAgLy8gbm8gd2F5IHRvIGFwcGx5IGxvc3MgZm9yIGJ1c2luZXNzIHdpdGhvdXQgcHJvZml0IGlmIG9mZnNldCBydWxlcyBub3QgbWV0XG4gICAgICBpZiAoYnVzaW5lc3NDbGFpbUFtb3VudCA8IDAgJiYgIWxvc3NPZmZzZXRSdWxlKSB7XG4gICAgICAgIHJldHVybjtcbiAgICAgIH1cblxuICAgICAgY2xhaW1BbW91bnRzQnlCdXNpbmVzc0lkLmFkZChidXNpbmVzc0lkLCBidXNpbmVzc0NsYWltQW1vdW50KTtcbiAgICB9KTtcblxuICAgIHJldHVybiBjbGFpbUFtb3VudHNCeUJ1c2luZXNzSWQ7XG4gIH1cbn1cbiJdfQ==
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
2
|
-
export class SoleDetails extends
|
1
|
+
import { ObservableModel } from '../observable-model';
|
2
|
+
export class SoleDetails extends ObservableModel {
|
3
3
|
}
|
4
|
-
//# sourceMappingURL=data:application/json;base64,
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29sZS1kZXRhaWxzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2RiL01vZGVscy9zb2xlL3NvbGUtZGV0YWlscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFFdEQsTUFBTSxPQUFPLFdBQVksU0FBUSxlQUFlO0NBVS9DIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgVXNlciB9IGZyb20gJy4uL3VzZXIvdXNlcic7XG5pbXBvcnQgeyBBbm51YWxGcmVxdWVuY3lFbnVtIH0gZnJvbSAnLi4vLi4vRW51bXMnO1xuaW1wb3J0IHsgT2JzZXJ2YWJsZU1vZGVsIH0gZnJvbSAnLi4vb2JzZXJ2YWJsZS1tb2RlbCc7XG5cbmV4cG9ydCBjbGFzcyBTb2xlRGV0YWlscyBleHRlbmRzIE9ic2VydmFibGVNb2RlbCB7XG4gIGFibj86IHN0cmluZztcbiAgaXNHU1Q/OiBib29sZWFuO1xuICBjcmVhdGVkQXQ/OiBEYXRlO1xuICB1cGRhdGVkQXQ/OiBEYXRlO1xuICBkZWxldGVkQXQ/OiBEYXRlO1xuICB1c2VyPzogVXNlcjtcbiAgLy8gQFRPRE8gdXNlIGluIGZvcm1cbiAgcmVwb3J0aW5nRnJlcXVlbmN5PzogQW5udWFsRnJlcXVlbmN5RW51bTtcbiAgYXV0b0FsbG9jYXRlPzogYm9vbGVhbjtcbn1cbiJdfQ==
|
@@ -75,11 +75,11 @@ export class HoldingReinvestForm extends AbstractForm {
|
|
75
75
|
return super.submit({
|
76
76
|
transaction: this.transactionForm.submit({
|
77
77
|
type: TransactionTypeEnum.CREDIT,
|
78
|
-
description: `Reinvestment - ${value.incomeSource
|
78
|
+
description: `Reinvestment - ${value.incomeSource?.name}`,
|
79
79
|
amount: value.amount - this.get('cashVariance').value
|
80
80
|
}),
|
81
81
|
holding: this.holdingForm.submit()
|
82
82
|
});
|
83
83
|
}
|
84
84
|
}
|
85
|
-
//# sourceMappingURL=data:application/json;base64,
|
85
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaG9sZGluZy1yZWludmVzdC5mb3JtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2Zvcm1zL2hvbGRpbmcvaG9sZGluZy1yZWludmVzdC5mb3JtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQ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0ZVxuICAgKi9cbiAgcHJpdmF0ZSBsaXN0ZW5EYXRlQ2hhbmdlcygpOiB2b2lkIHtcbiAgICB0aGlzLmdldChbJ3RyYW5zYWN0aW9uJywgJ2RhdGUnXSkudmFsdWVDaGFuZ2VzLnN1YnNjcmliZSgoZGF0ZTogRGF0ZSkgPT4ge1xuICAgICAgdGhpcy5nZXQoWydob2xkaW5nJywgJ2RhdGUnXSkuc2V0VmFsdWUoZGF0ZSk7XG4gICAgfSk7XG4gIH1cblxuICAvKipcbiAgICogQFRPRE8gQWxleCAoVFQtMjg0Nyk6IGF0dGFjaCBmaWxlIHRvIGJvdGggKHRyYW5zYWN0aW9uIGFuZCBob2xkaW5nKSB3aGVuIGZpbGVzIHN5c3RlbSByZWZhY3RvcmVkXG4gICAqL1xuICBzdWJtaXQoKTogSG9sZGluZ1JlaW52ZXN0IHtcbiAgICBjb25zdCB2YWx1ZSA9IHRoaXMudHJhbnNhY3Rpb25Gb3JtLmdldFJhd1ZhbHVlKCk7XG5cbiAgICByZXR1cm4gc3VwZXIuc3VibWl0KHtcbiAgICAgIHRyYW5zYWN0aW9uOiB0aGlzLnRyYW5zYWN0aW9uRm9ybS5zdWJtaXQoe1xuICAgICAgICB0eXBlOiBUcmFuc2FjdGlvblR5cGVFbnVtLkNSRURJVCxcbiAgICAgICAgZGVzY3JpcHRpb246IGBSZWludmVzdG1lbnQgLSAke3ZhbHVlLmluY29tZVNvdXJjZT8ubmFtZX1gLFxuICAgICAgICBhbW91bnQ6IHZhbHVlLmFtb3VudCAtIHRoaXMuZ2V0KCdjYXNoVmFyaWFuY2UnKS52YWx1ZVxuICAgICAgfSksXG4gICAgICBob2xkaW5nOiB0aGlzLmhvbGRpbmdGb3JtLnN1Ym1pdCgpXG4gICAgfSk7XG4gIH1cbn1cbiJdfQ==
|
@@ -1,10 +1,11 @@
|
|
1
1
|
import { UntypedFormArray, UntypedFormControl, Validators } from '@angular/forms';
|
2
|
-
import { Property } from '../../models';
|
2
|
+
import { FinancialYear, Property } from '../../models';
|
3
3
|
import { AbstractForm } from '../abstract.form';
|
4
4
|
import { plainToClass } from 'class-transformer';
|
5
5
|
import { PropertyShareForm } from './property-share.form';
|
6
6
|
import { PropertyForecastForm } from './property-forecast.form';
|
7
7
|
import { PropertyCategoryMovementForm } from './property-category-movement-form';
|
8
|
+
import { maxDateValidator } from '../../validators';
|
8
9
|
/**
|
9
10
|
* Form class for the single new property
|
10
11
|
*/
|
@@ -13,7 +14,10 @@ export class PropertyAddForm extends AbstractForm {
|
|
13
14
|
super({
|
14
15
|
address: new UntypedFormControl(null, Validators.required),
|
15
16
|
purchasePrice: new UntypedFormControl(null, Validators.required),
|
16
|
-
contractDate: new UntypedFormControl(null,
|
17
|
+
contractDate: new UntypedFormControl(null, [
|
18
|
+
Validators.required,
|
19
|
+
maxDateValidator(new FinancialYear().endDate, 'You cannot add a property with a contract date in future financial years.')
|
20
|
+
]),
|
17
21
|
settlementDate: new UntypedFormControl(null, Validators.required),
|
18
22
|
forecasts: new UntypedFormArray([
|
19
23
|
new PropertyForecastForm()
|
@@ -66,4 +70,4 @@ export class PropertyAddForm extends AbstractForm {
|
|
66
70
|
return this.get('categoryMovements').controls[0];
|
67
71
|
}
|
68
72
|
}
|
69
|
-
//# sourceMappingURL=data:application/json;base64,
|
73
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHktYWRkLmZvcm0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvZm9ybXMvcHJvcGVydHkvcHJvcGVydHktYWRkLmZvcm0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGdCQUFnQixFQUFFLGtCQUFrQixFQUFFLFVBQVUsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ2xGLE9BQU8sRUFBRSxh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m9sc1swXSBhcyBQcm9wZXJ0eVNoYXJlRm9ybTtcbiAgfVxuXG4gIGdldCBjYXRlZ29yeU1vdmVtZW50Rm9ybSgpOiBQcm9wZXJ0eUNhdGVnb3J5TW92ZW1lbnRGb3JtIHtcbiAgICAvLyBbMF0gYmVjYXVzZSBmb3IgcHJvcGVydHkgYWRkIGZvcm0gd2UgYWx3YXlzIGhhdmUgMSBjYXRlZ29yeSBtb3ZlbWVudCBmb3JtIGluc2lkZVxuICAgIHJldHVybiAodGhpcy5nZXQoJ2NhdGVnb3J5TW92ZW1lbnRzJykgYXMgVW50eXBlZEZvcm1BcnJheSkuY29udHJvbHNbMF0gYXMgUHJvcGVydHlDYXRlZ29yeU1vdmVtZW50Rm9ybTtcbiAgfVxufVxuIl19
|
@@ -34,4 +34,4 @@ export class MyTaxPartnershipsAndTrustsForm extends AbstractForm {
|
|
34
34
|
});
|
35
35
|
}
|
36
36
|
}
|
37
|
-
//# sourceMappingURL=data:application/json;base64,
|
37
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXktdGF4LXBhcnRuZXJzaGlwcy1hbmQtdHJ1c3RzLmZvcm0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvZm9ybXMvcmVwb3J0L215LXRheC9teS10YXgtcGFydG5lcnNoaXBzLWFuZC10cnVzdHMuZm9ybS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDbkQsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFHcEQsTUFBTSxPQUFPLDhCQUErQixTQUFRLFlBQXdDO0lBQzFGLFlBQ0UscUJBQWlEO1FBRWpELEtBQUssQ0FBQztZQUNKLDZC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JsZWQ6IHRydWVcbiAgICAgIH0pLFxuICAgICAgdHJ1c3RzRXhwZW5zZVRvdGFsQW1vdW50OiBuZXcgVW50eXBlZEZvcm1Db250cm9sKHtcbiAgICAgICAgdmFsdWU6IHBhcnRuZXJzaGlwc0FuZFRydXN0cy50cnVzdHNFeHBlbnNlVG90YWxBbW91bnQsXG4gICAgICAgIGRpc2FibGVkOiB0cnVlXG4gICAgICB9KSxcbiAgICAgIHRydXN0c0luY29tZVRvdGFsVGF4OiBuZXcgVW50eXBlZEZvcm1Db250cm9sKHtcbiAgICAgICAgdmFsdWU6IHBhcnRuZXJzaGlwc0FuZFRydXN0cy50cnVzdHNJbmNvbWVUb3RhbFRheCxcbiAgICAgICAgZGlzYWJsZWQ6IHRydWVcbiAgICAgIH0pLFxuICAgICAgZnJhbmtpbmdDcmVkaXRzVG90YWw6IG5ldyBVbnR5cGVkRm9ybUNvbnRyb2woe1xuICAgICAgICB2YWx1ZTogcGFydG5lcnNoaXBzQW5kVHJ1c3RzLmZyYW5raW5nQ3JlZGl0c1RvdGFsLFxuICAgICAgICBkaXNhYmxlZDogdHJ1ZVxuICAgICAgfSksXG4gICAgICB0YXhPZmZzZXROUkFTVG90YWxBbW91bnQ6IG5ldyBVbnR5cGVkRm9ybUNvbnRyb2woe1xuICAgICAgICB2YWx1ZTogcGFydG5lcnNoaXBzQW5kVHJ1c3RzLnRheE9mZnNldE5SQVNUb3RhbEFtb3VudCxcbiAgICAgICAgZGlzYWJsZWQ6IHRydWVcbiAgICAgIH0pXG4gICAgfSk7XG4gIH1cbn1cbiJdfQ==
|
@@ -43,21 +43,19 @@ export var AppEventTypeEnum;
|
|
43
43
|
AppEventTypeEnum[AppEventTypeEnum["PROPERTY_SUBSCRIPTION_DELETED"] = 37] = "PROPERTY_SUBSCRIPTION_DELETED";
|
44
44
|
AppEventTypeEnum[AppEventTypeEnum["PROPERTY_VALUATION_DOCUMENT_CREATED"] = 38] = "PROPERTY_VALUATION_DOCUMENT_CREATED";
|
45
45
|
AppEventTypeEnum[AppEventTypeEnum["SOLE_DEPRECIATION_METHOD_UPDATED"] = 39] = "SOLE_DEPRECIATION_METHOD_UPDATED";
|
46
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
47
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
48
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
49
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
50
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
51
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
52
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
53
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
54
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
55
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
56
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
57
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
58
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
59
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
60
|
-
AppEventTypeEnum[AppEventTypeEnum["VEHICLE_LOGBOOK_DELETED"] = 54] = "VEHICLE_LOGBOOK_DELETED";
|
61
|
-
AppEventTypeEnum[AppEventTypeEnum["VEHICLE_LOGBOOK_BEST_PERIOD_UPDATED"] = 55] = "VEHICLE_LOGBOOK_BEST_PERIOD_UPDATED";
|
46
|
+
AppEventTypeEnum[AppEventTypeEnum["SOLE_INVOICE_PUBLISHED"] = 40] = "SOLE_INVOICE_PUBLISHED";
|
47
|
+
AppEventTypeEnum[AppEventTypeEnum["TAX_REVIEW_UPDATED"] = 41] = "TAX_REVIEW_UPDATED";
|
48
|
+
AppEventTypeEnum[AppEventTypeEnum["TRANSACTION_ALLOCATION_CREATED"] = 42] = "TRANSACTION_ALLOCATION_CREATED";
|
49
|
+
AppEventTypeEnum[AppEventTypeEnum["TRANSACTION_ALLOCATION_DELETED"] = 43] = "TRANSACTION_ALLOCATION_DELETED";
|
50
|
+
AppEventTypeEnum[AppEventTypeEnum["TRANSACTION_CREATED"] = 44] = "TRANSACTION_CREATED";
|
51
|
+
AppEventTypeEnum[AppEventTypeEnum["TRANSACTION_DELETED"] = 45] = "TRANSACTION_DELETED";
|
52
|
+
AppEventTypeEnum[AppEventTypeEnum["TRANSACTION_UPDATED"] = 46] = "TRANSACTION_UPDATED";
|
53
|
+
AppEventTypeEnum[AppEventTypeEnum["TRANSACTIONS_CREATED"] = 47] = "TRANSACTIONS_CREATED";
|
54
|
+
AppEventTypeEnum[AppEventTypeEnum["VEHICLE_CLAIM_DETAILS_UPDATED"] = 48] = "VEHICLE_CLAIM_DETAILS_UPDATED";
|
55
|
+
AppEventTypeEnum[AppEventTypeEnum["VEHICLE_CLAIM_DETAILS_CREATED"] = 49] = "VEHICLE_CLAIM_DETAILS_CREATED";
|
56
|
+
AppEventTypeEnum[AppEventTypeEnum["VEHICLE_LOGBOOK_CREATED"] = 50] = "VEHICLE_LOGBOOK_CREATED";
|
57
|
+
AppEventTypeEnum[AppEventTypeEnum["VEHICLE_LOGBOOK_UPDATED"] = 51] = "VEHICLE_LOGBOOK_UPDATED";
|
58
|
+
AppEventTypeEnum[AppEventTypeEnum["VEHICLE_LOGBOOK_DELETED"] = 52] = "VEHICLE_LOGBOOK_DELETED";
|
59
|
+
AppEventTypeEnum[AppEventTypeEnum["VEHICLE_LOGBOOK_BEST_PERIOD_UPDATED"] = 53] = "VEHICLE_LOGBOOK_BEST_PERIOD_UPDATED";
|
62
60
|
})(AppEventTypeEnum || (AppEventTypeEnum = {}));
|
63
|
-
//# sourceMappingURL=data:application/json;base64,
|
61
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLWV2ZW50LXR5cGUuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9tb2RlbHMvZXZlbnQvYX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DRV9QVUJMSVNIRUQsXG4gIFRBWF9SRVZJRVdfVVBEQVRFRCxcbiAgVFJBTlNBQ1RJT05fQUxMT0NBVElPTl9DUkVBVEVELFxuICBUUkFOU0FDVElPTl9BTExPQ0FUSU9OX0RFTEVURUQsXG4gIFRSQU5TQUNUSU9OX0NSRUFURUQsXG4gIFRSQU5TQUNUSU9OX0RFTEVURUQsXG4gIFRSQU5TQUNUSU9OX1VQREFURUQsXG4gIFRSQU5TQUNUSU9OU19DUkVBVEVELFxuICBWRUhJQ0xFX0NMQUlNX0RFVEFJTFNfVVBEQVRFRCxcbiAgVkVISUNMRV9DTEFJTV9ERVRBSUxTX0NSRUFURUQsXG4gIFZFSElDTEVfTE9HQk9PS19DUkVBVEVELFxuICBWRUhJQ0xFX0xPR0JPT0tfVVBEQVRFRCxcbiAgVkVISUNMRV9MT0dCT09LX0RFTEVURUQsXG4gIFZFSElDTEVfTE9HQk9PS19CRVNUX1BFUklPRF9VUERBVEVEXG59XG4iXX0=
|
@@ -67,4 +67,4 @@ export class MyTaxBusinessLosses {
|
|
67
67
|
this.deferredLossesAmount = taxSummary.sole.items.sumByCategoriesAndSection(TAX_RETURN_CATEGORIES.sole.lossCurrent, TaxSummarySectionEnum.SOLE_TANK);
|
68
68
|
}
|
69
69
|
}
|
70
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXktdGF4LWJ1c2luZXNzLWxvc3Nlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9tb2RlbHMvcmVwb3J0L215LXRheC9teS10YXgtYnVzaW5lc3MtaW5jb21lLW9yLWxvc3Nlcy9teS10YXgtYnVzaW5lc3MtbG9zc2VzL215LXRheC1idXNpbmVzcy1sb3NzZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFB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ICAuc3VtQnkoJ2NsYWltQW1vdW50Jyk7XG4gICAgdGhpcy5kZWR1Y3Rpb25zRm9yR2VuZXJhbFNtYWxsQnVzaW5lc3NQb29sQW1vdW50ID0gZGVwcmVjaWF0aW9uc1xuICAgICAgLmdldFNCUERlcHJlY2lhdGlvbnMoKVxuICAgICAgLnN1bUJ5KCdjbGFpbUFtb3VudCcpO1xuICAgIHRoaXMuY3VycmVudFllYXJOZXROb25QcmltYXJ5SW5jb21lT3JMb3NzZXNBbW91bnQgPSBuZXcgVHJhbnNhY3Rpb25Db2xsZWN0aW9uKHRyYW5zYWN0aW9ucy50b0FycmF5KCksIGRlcHJlY2lhdGlvbnMudG9BcnJheSgpKVxuICAgICAgLmdldEJ1c2luZXNzQ2xhaW1BbW91bnQoKTtcbiAgICB0aGlzLnByaW9yWWVhcnNOb25QcmltYXJ5TG9zc2VzQW1vdW50ID0gYnVzaW5lc3NMb3NzZXMuc3VtQnkoJ29wZW5CYWxhbmNlJyk7XG4gICAgdGhpcy5uZXROb25QcmltYXJ5SW5jb21lT3JMb3NzZXNBbW91bnQgPSB0aGlzLmN1cnJlbnRZZWFyTmV0Tm9uUHJpbWFyeUluY29tZU9yTG9zc2VzQW1vdW50IC1cbiAgICAgIHRoaXMucHJpb3JZZWFyc05vblByaW1hcnlMb3NzZXNBbW91bnQ7XG4gICAgdGhpcy5kZWZlcnJlZExvc3Nlc0Ftb3VudCA9IHRheFN1bW1hcnkuc29sZS5pdGVtcy5zdW1CeUNhdGVnb3JpZXNBbmRTZWN0aW9uKFxuICAgICAgVEFYX1JFVFVSTl9DQVRFR09SSUVTLnNvbGUubG9zc0N1cnJlbnQsXG4gICAgICBUYXhTdW1tYXJ5U2VjdGlvbkVudW0uU09MRV9UQU5LXG4gICAgKVxuICB9XG59XG4iXX0=
|
@@ -8,4 +8,4 @@ export class MyTaxLosses {
|
|
8
8
|
this.businessLossApplied = businessLosses.calculateBusinessLossApplied(transactions);
|
9
9
|
}
|
10
10
|
}
|
11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xuICAgKiBMb3NzZXMgY2FycmllZCBmb3J3YXJkIGZyb20gZWFybGllciBpbmNvbWUgeWVhcnNcbiAgICovXG4gIGJ1c2luZXNzTG9zc0RlZmVycmVkOiBudW1iZXI7XG5cbiAgLyoqXG4gICAqIExvc3NlcyBhcHBsaWVkIHRvIHRoZSBjdXJyZW50IHllYXIgKHVudGlsIHByb2ZpdCBnZXRzIHRvICQwKVxuICAgKi9cbiAgYnVzaW5lc3NMb3NzQXBwbGllZDogbnVtYmVyO1xuXG4gIGNvbnN0cnVjdG9yKGJ1c2luZXNzTG9zc2VzOiBTb2xlQnVzaW5lc3NMb3NzQ29sbGVjdGlvbiwgdHJhbnNhY3Rpb25zOiBUcmFuc2FjdGlvbkNvbGxlY3Rpb24pIHtcbiAgICB0aGlzLmJ1c2luZXNzTG9zc0RlZmVycmVkID0gYnVzaW5lc3NMb3NzZXMuc3VtQnkoJ29wZW5CYWxhbmNlJyk7XG4gICAgdGhpcy5idXNpbmVzc0xvc3NBcHBsaWVkID0gYnVzaW5lc3NMb3NzZXMuY2FsY3VsYXRlQnVzaW5lc3NMb3NzQXBwbGllZCh0cmFuc2FjdGlvbnMpO1xuICB9XG59XG4iXX0=
|
@@ -107,4 +107,4 @@ __decorate([
|
|
107
107
|
__decorate([
|
108
108
|
Type(() => Number)
|
109
109
|
], AllocationRuleTransaction.prototype, "tax", void 0);
|
110
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxsb2NhdGlvbi1ydWxlLXRyYW5zYWN0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL21vZGVscy90cmFuc2FjdGlvbi9hbGxvY2F0aW9uLXJ1bGUtdHJhbnNhY3Rpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFDTCx5QkFBeU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AgICB9KTtcblxuICAgIHJldHVybiB0cmFuc2FjdGlvbjtcbiAgfVxufVxuIl19
|
@@ -101,6 +101,7 @@ export class BasiqService extends RestService {
|
|
101
101
|
.pipe(map((response) => plainToClass(BasiqJobResponse, response)));
|
102
102
|
}
|
103
103
|
/**
|
104
|
+
* @TODO not used, remove?
|
104
105
|
* Recoursive method, watch basiq job retrieve accounts status
|
105
106
|
* @param jobId id of basiq job to check
|
106
107
|
* @returns observable boolean. True - accounts retrieved, false - accounts not retrieved (time is out)
|
@@ -155,4 +156,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
155
156
|
type: Inject,
|
156
157
|
args: ['environment']
|
157
158
|
}] }, { type: i3.BankConnectionService }] });
|
158
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzaXEuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9zZXJ2aWNlcy9odHRwL2JhbmsvYmFzaXEvYmFzaXEuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNuRCxPQUFPLEVBQUUsTUFBTSxFQUFFLEdBQUcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBRTdDLE9BQU8sRUFBYyxXQUFXLEVBQUUsTUFBTSxZQUFZLENBQUM7QUFLckQsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFDaEUsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBQ2pELE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLGdEQUFnRCxDQUFD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dGhpcy53YXRjaEJhbmtBY2NvdW50c1JldHJpZXZlZChqb2JJZCk7XG4gICAgICAgICAgfSwgQmFzaXFTZXJ2aWNlLnJldHJpZXZlQWNjb3VudHNDaGVja0ludGVydmFsKTtcblxuICAgICAgICAgIHJldHVybiBmYWxzZTtcbiAgICAgICAgfSksXG4gICAgICAgIG1hcCgocmVzcG9uc2U6IEJhc2lxSm9iUmVzcG9uc2UpID0+IHtcbiAgICAgICAgICAvLyBubyBuZWVkIHRvIGtlZXAgYmFuayBpZCBhbnltb3JlXG4gICAgICAgICAgbG9jYWxTdG9yYWdlLnJlbW92ZUl0ZW0oJ2Jhc2lxQmFua0lkJyk7XG5cbiAgICAgICAgICByZXR1cm4gcmVzcG9uc2UuZ2V0UmV0cmlldmVBY2NvdW50c1N0ZXAoKS5pc1N1Y2Nlc3MoKTtcbiAgICAgICAgfSlcbiAgICAgICk7XG4gIH1cblxuICAvKipcbiAgICogbGlzdGVuIHRvIG5vdGlmaWNhdGlvbnMgdG8gdXBkYXRlIGJhc2lxIGFjY291bnRzIGxpc3RcbiAgICovXG4gIHByaXZhdGUgbGlzdGVuTm90aWZpY2F0aW9ucygpOiB2b2lkIHtcbiAgICB0aGlzLmV2ZW50RGlzcGF0Y2hlclNlcnZpY2Uub24oQXBwRXZlbnRUeXBlRW51bS5OT1RJRklDQVRJT05fQURERUQpLnN1YnNjcmliZSgobm90aWZpY2F0aW9uOiBOb3RpZmljYXRpb24pOiB2b2lkID0+IHtcbiAgICAgIGlmICghbm90aWZpY2F0aW9uLmlzUmVhZCAmJiBub3RpZmljYXRpb24uZXZlbnRUeXBlID09PSBVc2VyRXZlbnRUeXBlVHlwZUVudW0uQkFTSVFfTkVXX0FDQ09VTlRTKSB7XG4gICAgICAgIHRoaXMucmVmcmVzaENhY2hlKCk7XG4gICAgICB9XG4gICAgfSk7XG4gIH1cbn1cbiJdfQ==
|
159
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlI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AgICAgICB9KVxuICAgICAgKTtcbiAgfVxuXG4gIC8qKlxuICAgKiBsaXN0ZW4gdG8gbm90aWZpY2F0aW9ucyB0byB1cGRhdGUgYmFzaXEgYWNjb3VudHMgbGlzdFxuICAgKi9cbiAgcHJpdmF0ZSBsaXN0ZW5Ob3RpZmljYXRpb25zKCk6IHZvaWQge1xuICAgIHRoaXMuZXZlbnREaXNwYXRjaGVyU2VydmljZS5vbihBcHBFdmVudFR5cGVFbnVtLk5PVElGSUNBVElPTl9BRERFRCkuc3Vic2NyaWJlKChub3RpZmljYXRpb246IE5vdGlmaWNhdGlvbik6IHZvaWQgPT4ge1xuICAgICAgaWYgKCFub3RpZmljYXRpb24uaXNSZWFkICYmIG5vdGlmaWNhdGlvbi5ldmVudFR5cGUgPT09IFVzZXJFdmVudFR5cGVUeXBlRW51bS5CQVNJUV9ORVdfQUNDT1VOVFMpIHtcbiAgICAgICAgdGhpcy5yZWZyZXNoQ2FjaGUoKTtcbiAgICAgIH1cbiAgICB9KTtcbiAgfVxufVxuIl19
|
@@ -29,4 +29,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
29
29
|
type: Inject,
|
30
30
|
args: ['environment']
|
31
31
|
}] }] });
|
32
|
-
//# sourceMappingURL=data:application/json;base64,
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHktY2F0ZWdvcnktbW92ZW1lbnQuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9zZXJ2aWNlcy9odHRwL3Byb3BlcnR5L3Byb3BlcnR5LWNhdGVnb3J5LW1vdmVtZW50L3Byb3BlcnR5LWNhdGVnb3J5LW1vdmVtZW50LnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBw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udENvbGxlY3Rpb247XG4gIGVuZHBvaW50VXJpID0gJ3Byb3BlcnR5LWNhdGVnb3J5LW1vdmVtZW50cyc7XG4gIGRpc2FibGVkTWV0aG9kczogUmVzdE1ldGhvZFtdID0gWydwb3N0QmF0Y2gnLCAncHV0QmF0Y2gnLCAnZGVsZXRlQmF0Y2gnXTtcblxuICBjb25zdHJ1Y3RvcihASW5qZWN0KCdlbnZpcm9ubWVudCcpIHByb3RlY3RlZCBlbnZpcm9ubWVudDogYW55KSB7XG4gICAgc3VwZXIoZW52aXJvbm1lbnQpO1xuICAgIHRoaXMubGlzdGVuRXZlbnRzKCk7XG4gIH1cblxuICBsaXN0ZW5FdmVudHMoKTogdm9pZCB7XG4gICAgLy8gcHJvcGVydHkgY3JlYXRlZCB0b2dldGhlciB3aXRoIGNhdGVnb3JpZXMsIHdlIG5lZWQgdG8gdXBkYXRlIHRoZSBsaXN0XG4gICAgdGhpcy5saXN0ZW5DU0UoUHJvcGVydHksIHRoaXMucmVmcmVzaENhY2hlLCBbJ3Bvc3QnXSk7XG4gIH1cbn1cbiJdfQ==
|
package/esm2022/src/lib/services/http/sole/sole-business-loss/sole-business-loss.service.mjs
CHANGED
@@ -1,13 +1,18 @@
|
|
1
1
|
import { Inject, Injectable } from '@angular/core';
|
2
|
-
import { RestService } from '../../rest/rest-old.service';
|
3
2
|
import { SoleBusiness, SoleBusinessLoss } from '../../../../models';
|
3
|
+
import { SoleBusinessLossCollection } from '../../../../collections';
|
4
|
+
import { RestService } from '../../rest';
|
5
|
+
import { UserRolesEnum } from 'taxtank-core/common';
|
4
6
|
import * as i0 from "@angular/core";
|
5
7
|
export class SoleBusinessLossService extends RestService {
|
6
8
|
constructor(environment) {
|
7
9
|
super(environment);
|
8
10
|
this.environment = environment;
|
9
11
|
this.modelClass = SoleBusinessLoss;
|
10
|
-
this.
|
12
|
+
this.collectionClass = SoleBusinessLossCollection;
|
13
|
+
this.endpointUri = 'sole-business-losses';
|
14
|
+
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch', 'delete'];
|
15
|
+
this.roles = [UserRolesEnum.SOLE_TANK];
|
11
16
|
this.listenEvents();
|
12
17
|
}
|
13
18
|
listenEvents() {
|
@@ -33,4 +38,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
33
38
|
type: Inject,
|
34
39
|
args: ['environment']
|
35
40
|
}] }] });
|
36
|
-
//# sourceMappingURL=data:application/json;base64,
|
41
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29sZS1idXNpbmVzcy1sb3NzLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvc2VydmljZXMvaHR0cC9zb2xlL3NvbGUtYnVzaW5lc3MtbG9zcy9zb2xlLWJ1c2luZXNzLWxvc3Muc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUVuRCxPQUFPLEVBQUUsWUFBWSxFQUFFLGdCQUFnQixFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFFcEUsT0FBTyxFQUFFLDBCQUEwQixFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFDckUsT0FBTyxFQUFjLFdBQVcsRUFBRSxNQUFNLFlBQVksQ0FBQztBQUNyRCxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0scUJBQXFCLENBQUM7O0FBS3BELE1BQU0sT0FBTyx1QkFBd0IsU0FBUSxXQUErRTtJQU8xSCxZQUE2QyxXQUFnQjtRQUMzRCxLQUFLLENBQUMsV0FBVyxDQUFDLENBQUM7UUFEd0IsZ0JBQVcsR0FBWCxXQUFXLENBQUs7UUFON0QsZUFBVSxHQUF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