@flarehr/apollo-super-selection 3.4.49088 → 3.8.50722
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/apollo-super-selection/apollo-super-selection.esm.js +1 -1
- package/dist/lib/apollo-super-selection/apollo-super-selection.js +1 -1
- package/dist/lib/apollo-super-selection/{p-29c96447.entry.js → p-1ef5a92a.entry.js} +4 -4
- package/dist/lib/apollo-super-selection/p-381262c1.system.js +1 -0
- package/dist/lib/apollo-super-selection/p-38f24f69.js +1 -0
- package/dist/lib/apollo-super-selection/{p-21d04cf8.system.js → p-48e99aba.system.js} +1 -1
- package/dist/lib/apollo-super-selection/p-d0cca942.system.entry.js +69 -0
- package/dist/lib/cjs/apollo-super-selection.cjs.js +1 -1
- package/dist/lib/cjs/{app-globals-fa04630f.js → app-globals-45007120.js} +4 -0
- package/dist/lib/cjs/fl-button_43.cjs.entry.js +46 -5
- package/dist/lib/cjs/loader.cjs.js +1 -1
- package/dist/lib/collection/components/super-selection-app/funds/constants.js +3 -0
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-insurance-opt-in.js +24 -4
- package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-layout.js +26 -2
- package/dist/lib/collection/global/stencil-router-workaround.js +4 -0
- package/dist/lib/esm/apollo-super-selection.js +1 -1
- package/dist/lib/esm/{app-globals-9d2ea729.js → app-globals-7ac1ffba.js} +4 -0
- package/dist/lib/esm/fl-button_43.entry.js +46 -5
- package/dist/lib/esm/loader.js +1 -1
- package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
- package/dist/lib/esm-es5/{app-globals-9d2ea729.js → app-globals-7ac1ffba.js} +1 -1
- package/dist/lib/esm-es5/fl-button_43.entry.js +1 -1
- package/dist/lib/esm-es5/loader.js +1 -1
- package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +1 -0
- package/dist/lib/types/components/super-selection-app/funds/constants.d.ts +3 -0
- package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-insurance-opt-in.d.ts +3 -0
- package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-layout.d.ts +4 -0
- package/package.json +1 -1
- package/dist/lib/apollo-super-selection/p-515d8895.js +0 -1
- package/dist/lib/apollo-super-selection/p-8db57bf5.system.js +0 -1
- package/dist/lib/apollo-super-selection/p-92b9af0f.system.entry.js +0 -69
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const index = require('./index-b2214bec.js');
|
|
4
4
|
require('./datorama-akita-7f4b082a.js');
|
|
5
5
|
require('./delay-81aff2f1.js');
|
|
6
|
-
const appGlobals = require('./app-globals-
|
|
6
|
+
const appGlobals = require('./app-globals-45007120.js');
|
|
7
7
|
|
|
8
8
|
/*
|
|
9
9
|
Stencil Client Patch Browser v2.3.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -7,6 +7,10 @@ const datoramaAkita = require('./datorama-akita-7f4b082a.js');
|
|
|
7
7
|
// In incognito mode, window.sessionStorage read access is denied from a third party iframe.
|
|
8
8
|
// Stencil router checks for the presence of session storage, but does not handle a read access exception.
|
|
9
9
|
function stencilRouterWorkaround () {
|
|
10
|
+
if (window.location == window.parent.location) {
|
|
11
|
+
// Only apply this workaround when running in an embedded iframe.
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
10
14
|
delete window.sessionStorage;
|
|
11
15
|
window.sessionStorage = {};
|
|
12
16
|
}
|
|
@@ -265,7 +265,7 @@ class TapSubscriber extends delay.Subscriber {
|
|
|
265
265
|
}
|
|
266
266
|
}
|
|
267
267
|
|
|
268
|
-
const AppVersion = '3.
|
|
268
|
+
const AppVersion = '3.8.50722';
|
|
269
269
|
|
|
270
270
|
// -------------------------------------------------------------------------------------
|
|
271
271
|
// guards
|
|
@@ -4355,6 +4355,9 @@ const QSuperFundName = 'QSuper';
|
|
|
4355
4355
|
const QSuperAltFundName = 'Recognised performer';
|
|
4356
4356
|
const QSuperInsuranceProductName = 'QSuper Insurance';
|
|
4357
4357
|
const QSuperPdsUrl = 'https://qsuper.qld.gov.au/-/media/pdfs/qsuper-public/publications/pds11.pdf';
|
|
4358
|
+
const QSuperMinAge = 14;
|
|
4359
|
+
const QSuperMinInsuranceAge = 16;
|
|
4360
|
+
const QSuperMaxAge = 70;
|
|
4358
4361
|
const SlateFundUsi = '32367272075001';
|
|
4359
4362
|
const SlateFundId = 'slate';
|
|
4360
4363
|
const SlateFundName = 'Slate Super';
|
|
@@ -4615,6 +4618,23 @@ const QsuperInsuranceOptIn = class {
|
|
|
4615
4618
|
index.registerInstance(this, hostRef);
|
|
4616
4619
|
this.insuranceChosen = false;
|
|
4617
4620
|
this.eventTrackingService = EventTrackingService.Instance;
|
|
4621
|
+
this.isEligibleForInsurance = false;
|
|
4622
|
+
this.ensureInsuranceEligibility = () => {
|
|
4623
|
+
if (superSelectionAppService.superBuyer.userProfile.yearsOfAge < QSuperMinAge) {
|
|
4624
|
+
return;
|
|
4625
|
+
}
|
|
4626
|
+
else if (superSelectionAppService.superBuyer.userProfile.yearsOfAge < QSuperMinInsuranceAge) {
|
|
4627
|
+
this.showIneligibleNotification(`You may still apply for QSuper, however people under the age of ${QSuperMinInsuranceAge} are not able to apply for insurance.`);
|
|
4628
|
+
return;
|
|
4629
|
+
}
|
|
4630
|
+
this.isEligibleForInsurance = true;
|
|
4631
|
+
};
|
|
4632
|
+
this.showIneligibleNotification = (description) => {
|
|
4633
|
+
notificationsService.showInfoNotification({
|
|
4634
|
+
title: "Unable to apply for Insurance",
|
|
4635
|
+
description
|
|
4636
|
+
});
|
|
4637
|
+
};
|
|
4618
4638
|
}
|
|
4619
4639
|
componentDidLoad() {
|
|
4620
4640
|
return this.eventTrackingService.TrackFinancialProductViewedAsync({
|
|
@@ -4626,12 +4646,13 @@ const QsuperInsuranceOptIn = class {
|
|
|
4626
4646
|
}
|
|
4627
4647
|
componentWillLoad() {
|
|
4628
4648
|
resetQSuperState();
|
|
4649
|
+
this.ensureInsuranceEligibility();
|
|
4629
4650
|
}
|
|
4630
4651
|
render() {
|
|
4631
|
-
return (index.h(index.Host, { class: "d-flex flex-fill" }, index.h("sss-qsuper-layout", { class: "d-flex flex-fill" }, index.h("sss-qsuper-confirm-header", null), index.h("div", { class: "mt-4 p-3 checkbox-container" }, index.h("p", null, "As part of becoming a QSuper member, you will receive death cover and total and permanent disability cover when you become eligible. ", index.h("br", null), index.h("br", null), "You will receive this cover when: ", index.h("br", null), index.h("br", null), "You are 25 years or older; ", index.h("br", null), "and You have had at least $6,000 in your accumulation account; ", index.h("br", null), "and At that time, we have received money into your account within the previous 13 months ", index.h("br", null), index.h("br", null), "Please see the Accumulation Account Insurance Guide, available on the QSuper website, for further information ", index.h("br", null), index.h("br", null), "Do you want this insurance cover?"), index.h("div", { class: "d-flex justify-content-between mt-4" }, index.h("div", { class: "button-holder flex-grow-1 mr-2" }, index.h("fl-button", { isBlockElement: true, variant: this.insuranceChosen ? 'primary' : 'secondary', onClick: () => this.handleInsuranceToggle(true) }, "Yes")), index.h("div", { class: "button-holder flex-grow-1 ml-2" }, index.h("fl-button", { isBlockElement: true, variant: !this.insuranceChosen ? 'primary' : 'secondary', onClick: () => this.handleInsuranceToggle(false) }, "No")))), index.h("div", null, index.h("label", { class: "d-flex\u00A0mt-3\u00A0p-3\u00A0checkbox-container", htmlFor: "ackCheckBox" }, index.h("div", { class: "w-auto\u00A0px-2 fl-checkbox-container" }, index.h("input", { id: "ackCheckBox", class: "confirm-checkbox-item", type: "checkbox", onChange: () => this.handleCheckboxToggle() })), index.h("div", { class: "pl-3" }, index.h("p", { class: "confirm-item-text\u00A0mb-0" }, "I acknowledge that my personal information will be shared with QSuper as part of their application process.")))))));
|
|
4652
|
+
return (index.h(index.Host, { class: "d-flex flex-fill" }, index.h("sss-qsuper-layout", { class: "d-flex flex-fill" }, index.h("sss-qsuper-confirm-header", null), index.h("div", { class: "mt-4 p-3 checkbox-container" }, index.h("p", null, "As part of becoming a QSuper member, you will receive death cover and total and permanent disability cover when you become eligible. ", index.h("br", null), index.h("br", null), "You will receive this cover when: ", index.h("br", null), index.h("br", null), "You are 25 years or older; ", index.h("br", null), "and You have had at least $6,000 in your accumulation account; ", index.h("br", null), "and At that time, we have received money into your account within the previous 13 months ", index.h("br", null), index.h("br", null), "Please see the Accumulation Account Insurance Guide, available on the QSuper website, for further information ", index.h("br", null), index.h("br", null), "Do you want this insurance cover?"), index.h("div", { class: "d-flex justify-content-between mt-4" }, index.h("div", { class: "button-holder flex-grow-1 mr-2" }, index.h("fl-button", { disabled: !this.isEligibleForInsurance, isBlockElement: true, variant: this.insuranceChosen ? 'primary' : 'secondary', onClick: () => this.handleInsuranceToggle(true) }, "Yes")), index.h("div", { class: "button-holder flex-grow-1 ml-2" }, index.h("fl-button", { disabled: !this.isEligibleForInsurance, isBlockElement: true, variant: !this.insuranceChosen ? 'primary' : 'secondary', onClick: () => this.handleInsuranceToggle(false) }, "No")))), index.h("div", null, index.h("label", { class: "d-flex\u00A0mt-3\u00A0p-3\u00A0checkbox-container", htmlFor: "ackCheckBox" }, index.h("div", { class: "w-auto\u00A0px-2 fl-checkbox-container" }, index.h("input", { id: "ackCheckBox", class: "confirm-checkbox-item", type: "checkbox", onChange: () => this.handleCheckboxToggle() })), index.h("div", { class: "pl-3" }, index.h("p", { class: "confirm-item-text\u00A0mb-0" }, "I acknowledge that my personal information will be shared with QSuper as part of their application process.")))))));
|
|
4632
4653
|
}
|
|
4633
4654
|
handleInsuranceToggle(input) {
|
|
4634
|
-
state$1.qSuperQuestionnaire.insuranceChosen = input;
|
|
4655
|
+
state$1.qSuperQuestionnaire.insuranceChosen = input && this.isEligibleForInsurance;
|
|
4635
4656
|
this.insuranceChosen = state$1.qSuperQuestionnaire.insuranceChosen;
|
|
4636
4657
|
state$1.nextRoute = getNextRoute();
|
|
4637
4658
|
}
|
|
@@ -4735,16 +4756,36 @@ async function handleConfirmClickAsync() {
|
|
|
4735
4756
|
const QsuperLayout = class {
|
|
4736
4757
|
constructor(hostRef) {
|
|
4737
4758
|
index.registerInstance(this, hostRef);
|
|
4759
|
+
this.isEligible = false;
|
|
4760
|
+
this.canContinue = () => this.isEligible && state$1.continueAllowed;
|
|
4761
|
+
this.ensureEligibility = () => {
|
|
4762
|
+
if (superSelectionAppService.superBuyer.userProfile.yearsOfAge < QSuperMinAge) {
|
|
4763
|
+
this.showIneligibleNotification(`People under the age of ${QSuperMinAge} are not able to open accounts.`);
|
|
4764
|
+
}
|
|
4765
|
+
else if (superSelectionAppService.superBuyer.userProfile.yearsOfAge > QSuperMaxAge) {
|
|
4766
|
+
this.showIneligibleNotification(`People over the age of ${QSuperMaxAge} are not able to open accounts.`);
|
|
4767
|
+
}
|
|
4768
|
+
else {
|
|
4769
|
+
this.isEligible = true;
|
|
4770
|
+
}
|
|
4771
|
+
};
|
|
4772
|
+
this.showIneligibleNotification = (description) => {
|
|
4773
|
+
notificationsService.showInfoNotification({
|
|
4774
|
+
title: "Unable to apply for QSuper",
|
|
4775
|
+
description
|
|
4776
|
+
});
|
|
4777
|
+
};
|
|
4738
4778
|
}
|
|
4739
4779
|
async componentWillLoad() {
|
|
4780
|
+
this.ensureEligibility();
|
|
4740
4781
|
state$1.nextRoute = getNextRoute();
|
|
4741
4782
|
}
|
|
4742
4783
|
render() {
|
|
4743
|
-
return (index.h("div", { class: "container" }, index.h("div", { class: "row justify-content-center" }, index.h("div", { class: "col col-sm-10 col-md-7" }, index.h("slot", null), index.h("div", { class: "mt-4" }, index.h("sss-notifications-section", null)), index.h("div", { class: "d-flex mt-4" }, index.h("div", { class: "flex-grow-1 w-50" }, index.h("div", { class: "mr-2" }, index.h("fl-button", { onClick: () => navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ChoicePage), isBlockElement: true, variant: "secondary" }, index.h("span", null, "Back")))), index.h("div", { class: "flex-grow-1 w-50" }, index.h("div", { class: "ml-2" }, index.h("fl-promise-button", { isBlockElement: true, disabled: !
|
|
4784
|
+
return (index.h("div", { class: "container" }, index.h("div", { class: "row justify-content-center" }, index.h("div", { class: "col col-sm-10 col-md-7" }, index.h("slot", null), index.h("div", { class: "mt-4" }, index.h("sss-notifications-section", null)), index.h("div", { class: "d-flex mt-4" }, index.h("div", { class: "flex-grow-1 w-50" }, index.h("div", { class: "mr-2" }, index.h("fl-button", { onClick: () => navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ChoicePage), isBlockElement: true, variant: "secondary" }, index.h("span", null, "Back")))), index.h("div", { class: "flex-grow-1 w-50" }, index.h("div", { class: "ml-2" }, index.h("fl-promise-button", { isBlockElement: true, disabled: !this.canContinue(), promiseFn: () => this.tryAsync() }, index.h("span", null, "Continue")))))))));
|
|
4744
4785
|
}
|
|
4745
4786
|
async tryAsync() {
|
|
4746
4787
|
try {
|
|
4747
|
-
if (!
|
|
4788
|
+
if (!this.canContinue()) {
|
|
4748
4789
|
return;
|
|
4749
4790
|
}
|
|
4750
4791
|
await handleConfirmClickAsync();
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-b2214bec.js');
|
|
6
6
|
require('./datorama-akita-7f4b082a.js');
|
|
7
7
|
require('./delay-81aff2f1.js');
|
|
8
|
-
const appGlobals = require('./app-globals-
|
|
8
|
+
const appGlobals = require('./app-globals-45007120.js');
|
|
9
9
|
|
|
10
10
|
/*
|
|
11
11
|
Stencil Client Patch Esm v2.3.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -4,6 +4,9 @@ export const QSuperFundName = 'QSuper';
|
|
|
4
4
|
export const QSuperAltFundName = 'Recognised performer';
|
|
5
5
|
export const QSuperInsuranceProductName = 'QSuper Insurance';
|
|
6
6
|
export const QSuperPdsUrl = 'https://qsuper.qld.gov.au/-/media/pdfs/qsuper-public/publications/pds11.pdf';
|
|
7
|
+
export const QSuperMinAge = 14;
|
|
8
|
+
export const QSuperMinInsuranceAge = 16;
|
|
9
|
+
export const QSuperMaxAge = 70;
|
|
7
10
|
export const SlateFundUsi = '32367272075001';
|
|
8
11
|
export const SlateFundId = 'slate';
|
|
9
12
|
export const SlateFundName = 'Slate Super';
|
package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-insurance-opt-in.js
CHANGED
|
@@ -1,14 +1,33 @@
|
|
|
1
1
|
import { Component, h, Host, State } from '@stencil/core';
|
|
2
|
-
import { EventTrackingService } from '../../services/event-tracking.service';
|
|
3
2
|
import * as constants from '../constants';
|
|
3
|
+
import { EventTrackingService } from '../../services/event-tracking.service';
|
|
4
4
|
import { continueEnabledCheck } from './helpers/continueCheck';
|
|
5
5
|
import { getNextRoute } from './helpers/getNextRoute';
|
|
6
6
|
import { resetQSuperState } from './helpers/resetState';
|
|
7
|
+
import notificationsService from '../../services/notifications.service';
|
|
7
8
|
import qSuperState from './services/qsuper.store';
|
|
9
|
+
import superSelectionAppService from '../../services/super-selection-app.service';
|
|
8
10
|
export class QsuperInsuranceOptIn {
|
|
9
11
|
constructor() {
|
|
10
12
|
this.insuranceChosen = false;
|
|
11
13
|
this.eventTrackingService = EventTrackingService.Instance;
|
|
14
|
+
this.isEligibleForInsurance = false;
|
|
15
|
+
this.ensureInsuranceEligibility = () => {
|
|
16
|
+
if (superSelectionAppService.superBuyer.userProfile.yearsOfAge < constants.QSuperMinAge) {
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
else if (superSelectionAppService.superBuyer.userProfile.yearsOfAge < constants.QSuperMinInsuranceAge) {
|
|
20
|
+
this.showIneligibleNotification(`You may still apply for QSuper, however people under the age of ${constants.QSuperMinInsuranceAge} are not able to apply for insurance.`);
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
this.isEligibleForInsurance = true;
|
|
24
|
+
};
|
|
25
|
+
this.showIneligibleNotification = (description) => {
|
|
26
|
+
notificationsService.showInfoNotification({
|
|
27
|
+
title: "Unable to apply for Insurance",
|
|
28
|
+
description
|
|
29
|
+
});
|
|
30
|
+
};
|
|
12
31
|
}
|
|
13
32
|
componentDidLoad() {
|
|
14
33
|
return this.eventTrackingService.TrackFinancialProductViewedAsync({
|
|
@@ -20,6 +39,7 @@ export class QsuperInsuranceOptIn {
|
|
|
20
39
|
}
|
|
21
40
|
componentWillLoad() {
|
|
22
41
|
resetQSuperState();
|
|
42
|
+
this.ensureInsuranceEligibility();
|
|
23
43
|
}
|
|
24
44
|
render() {
|
|
25
45
|
return (h(Host, { class: "d-flex flex-fill" },
|
|
@@ -46,9 +66,9 @@ export class QsuperInsuranceOptIn {
|
|
|
46
66
|
"Do you want this insurance cover?"),
|
|
47
67
|
h("div", { class: "d-flex justify-content-between mt-4" },
|
|
48
68
|
h("div", { class: "button-holder flex-grow-1 mr-2" },
|
|
49
|
-
h("fl-button", { isBlockElement: true, variant: this.insuranceChosen ? 'primary' : 'secondary', onClick: () => this.handleInsuranceToggle(true) }, "Yes")),
|
|
69
|
+
h("fl-button", { disabled: !this.isEligibleForInsurance, isBlockElement: true, variant: this.insuranceChosen ? 'primary' : 'secondary', onClick: () => this.handleInsuranceToggle(true) }, "Yes")),
|
|
50
70
|
h("div", { class: "button-holder flex-grow-1 ml-2" },
|
|
51
|
-
h("fl-button", { isBlockElement: true, variant: !this.insuranceChosen ? 'primary' : 'secondary', onClick: () => this.handleInsuranceToggle(false) }, "No")))),
|
|
71
|
+
h("fl-button", { disabled: !this.isEligibleForInsurance, isBlockElement: true, variant: !this.insuranceChosen ? 'primary' : 'secondary', onClick: () => this.handleInsuranceToggle(false) }, "No")))),
|
|
52
72
|
h("div", null,
|
|
53
73
|
h("label", { class: "d-flex\u00A0mt-3\u00A0p-3\u00A0checkbox-container", htmlFor: "ackCheckBox" },
|
|
54
74
|
h("div", { class: "w-auto\u00A0px-2 fl-checkbox-container" },
|
|
@@ -57,7 +77,7 @@ export class QsuperInsuranceOptIn {
|
|
|
57
77
|
h("p", { class: "confirm-item-text\u00A0mb-0" }, "I acknowledge that my personal information will be shared with QSuper as part of their application process.")))))));
|
|
58
78
|
}
|
|
59
79
|
handleInsuranceToggle(input) {
|
|
60
|
-
qSuperState.qSuperQuestionnaire.insuranceChosen = input;
|
|
80
|
+
qSuperState.qSuperQuestionnaire.insuranceChosen = input && this.isEligibleForInsurance;
|
|
61
81
|
this.insuranceChosen = qSuperState.qSuperQuestionnaire.insuranceChosen;
|
|
62
82
|
qSuperState.nextRoute = getNextRoute();
|
|
63
83
|
}
|
|
@@ -1,13 +1,37 @@
|
|
|
1
1
|
import { Component, h, Prop } from '@stencil/core';
|
|
2
2
|
import { injectHistory } from '@stencil/router';
|
|
3
|
+
import * as constants from '../constants';
|
|
3
4
|
import navigationService from '../../services/navigation.service';
|
|
4
5
|
import notificationsService from '../../services/notifications.service';
|
|
5
6
|
import { SuperSelectionAppRoutes } from '../../services/super-selection-app.routes';
|
|
6
7
|
import { handleConfirmClickAsync } from './helpers/confirmCheck';
|
|
7
8
|
import { getNextRoute } from './helpers/getNextRoute';
|
|
8
9
|
import qSuperState from './services/qsuper.store';
|
|
10
|
+
import superSelectionAppService from '../../services/super-selection-app.service';
|
|
9
11
|
export class QsuperLayout {
|
|
12
|
+
constructor() {
|
|
13
|
+
this.isEligible = false;
|
|
14
|
+
this.canContinue = () => this.isEligible && qSuperState.continueAllowed;
|
|
15
|
+
this.ensureEligibility = () => {
|
|
16
|
+
if (superSelectionAppService.superBuyer.userProfile.yearsOfAge < constants.QSuperMinAge) {
|
|
17
|
+
this.showIneligibleNotification(`People under the age of ${constants.QSuperMinAge} are not able to open accounts.`);
|
|
18
|
+
}
|
|
19
|
+
else if (superSelectionAppService.superBuyer.userProfile.yearsOfAge > constants.QSuperMaxAge) {
|
|
20
|
+
this.showIneligibleNotification(`People over the age of ${constants.QSuperMaxAge} are not able to open accounts.`);
|
|
21
|
+
}
|
|
22
|
+
else {
|
|
23
|
+
this.isEligible = true;
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
this.showIneligibleNotification = (description) => {
|
|
27
|
+
notificationsService.showInfoNotification({
|
|
28
|
+
title: "Unable to apply for QSuper",
|
|
29
|
+
description
|
|
30
|
+
});
|
|
31
|
+
};
|
|
32
|
+
}
|
|
10
33
|
async componentWillLoad() {
|
|
34
|
+
this.ensureEligibility();
|
|
11
35
|
qSuperState.nextRoute = getNextRoute();
|
|
12
36
|
}
|
|
13
37
|
render() {
|
|
@@ -24,12 +48,12 @@ export class QsuperLayout {
|
|
|
24
48
|
h("span", null, "Back")))),
|
|
25
49
|
h("div", { class: "flex-grow-1 w-50" },
|
|
26
50
|
h("div", { class: "ml-2" },
|
|
27
|
-
h("fl-promise-button", { isBlockElement: true, disabled: !
|
|
51
|
+
h("fl-promise-button", { isBlockElement: true, disabled: !this.canContinue(), promiseFn: () => this.tryAsync() },
|
|
28
52
|
h("span", null, "Continue")))))))));
|
|
29
53
|
}
|
|
30
54
|
async tryAsync() {
|
|
31
55
|
try {
|
|
32
|
-
if (!
|
|
56
|
+
if (!this.canContinue()) {
|
|
33
57
|
return;
|
|
34
58
|
}
|
|
35
59
|
await handleConfirmClickAsync();
|
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
// In incognito mode, window.sessionStorage read access is denied from a third party iframe.
|
|
4
4
|
// Stencil router checks for the presence of session storage, but does not handle a read access exception.
|
|
5
5
|
export default function () {
|
|
6
|
+
if (window.location == window.parent.location) {
|
|
7
|
+
// Only apply this workaround when running in an embedded iframe.
|
|
8
|
+
return;
|
|
9
|
+
}
|
|
6
10
|
delete window.sessionStorage;
|
|
7
11
|
window.sessionStorage = {};
|
|
8
12
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as promiseResolve, b as bootstrapLazy } from './index-227ab0f1.js';
|
|
2
2
|
import './datorama-akita-79ce4385.js';
|
|
3
3
|
import './delay-c0555599.js';
|
|
4
|
-
import { g as globalScripts } from './app-globals-
|
|
4
|
+
import { g as globalScripts } from './app-globals-7ac1ffba.js';
|
|
5
5
|
|
|
6
6
|
/*
|
|
7
7
|
Stencil Client Patch Browser v2.3.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -5,6 +5,10 @@ import { e as enableAkitaProdMode } from './datorama-akita-79ce4385.js';
|
|
|
5
5
|
// In incognito mode, window.sessionStorage read access is denied from a third party iframe.
|
|
6
6
|
// Stencil router checks for the presence of session storage, but does not handle a read access exception.
|
|
7
7
|
function stencilRouterWorkaround () {
|
|
8
|
+
if (window.location == window.parent.location) {
|
|
9
|
+
// Only apply this workaround when running in an embedded iframe.
|
|
10
|
+
return;
|
|
11
|
+
}
|
|
8
12
|
delete window.sessionStorage;
|
|
9
13
|
window.sessionStorage = {};
|
|
10
14
|
}
|
|
@@ -261,7 +261,7 @@ class TapSubscriber extends Subscriber {
|
|
|
261
261
|
}
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
const AppVersion = '3.
|
|
264
|
+
const AppVersion = '3.8.50722';
|
|
265
265
|
|
|
266
266
|
// -------------------------------------------------------------------------------------
|
|
267
267
|
// guards
|
|
@@ -4351,6 +4351,9 @@ const QSuperFundName = 'QSuper';
|
|
|
4351
4351
|
const QSuperAltFundName = 'Recognised performer';
|
|
4352
4352
|
const QSuperInsuranceProductName = 'QSuper Insurance';
|
|
4353
4353
|
const QSuperPdsUrl = 'https://qsuper.qld.gov.au/-/media/pdfs/qsuper-public/publications/pds11.pdf';
|
|
4354
|
+
const QSuperMinAge = 14;
|
|
4355
|
+
const QSuperMinInsuranceAge = 16;
|
|
4356
|
+
const QSuperMaxAge = 70;
|
|
4354
4357
|
const SlateFundUsi = '32367272075001';
|
|
4355
4358
|
const SlateFundId = 'slate';
|
|
4356
4359
|
const SlateFundName = 'Slate Super';
|
|
@@ -4611,6 +4614,23 @@ const QsuperInsuranceOptIn = class {
|
|
|
4611
4614
|
registerInstance(this, hostRef);
|
|
4612
4615
|
this.insuranceChosen = false;
|
|
4613
4616
|
this.eventTrackingService = EventTrackingService.Instance;
|
|
4617
|
+
this.isEligibleForInsurance = false;
|
|
4618
|
+
this.ensureInsuranceEligibility = () => {
|
|
4619
|
+
if (superSelectionAppService.superBuyer.userProfile.yearsOfAge < QSuperMinAge) {
|
|
4620
|
+
return;
|
|
4621
|
+
}
|
|
4622
|
+
else if (superSelectionAppService.superBuyer.userProfile.yearsOfAge < QSuperMinInsuranceAge) {
|
|
4623
|
+
this.showIneligibleNotification(`You may still apply for QSuper, however people under the age of ${QSuperMinInsuranceAge} are not able to apply for insurance.`);
|
|
4624
|
+
return;
|
|
4625
|
+
}
|
|
4626
|
+
this.isEligibleForInsurance = true;
|
|
4627
|
+
};
|
|
4628
|
+
this.showIneligibleNotification = (description) => {
|
|
4629
|
+
notificationsService.showInfoNotification({
|
|
4630
|
+
title: "Unable to apply for Insurance",
|
|
4631
|
+
description
|
|
4632
|
+
});
|
|
4633
|
+
};
|
|
4614
4634
|
}
|
|
4615
4635
|
componentDidLoad() {
|
|
4616
4636
|
return this.eventTrackingService.TrackFinancialProductViewedAsync({
|
|
@@ -4622,12 +4642,13 @@ const QsuperInsuranceOptIn = class {
|
|
|
4622
4642
|
}
|
|
4623
4643
|
componentWillLoad() {
|
|
4624
4644
|
resetQSuperState();
|
|
4645
|
+
this.ensureInsuranceEligibility();
|
|
4625
4646
|
}
|
|
4626
4647
|
render() {
|
|
4627
|
-
return (h(Host, { class: "d-flex flex-fill" }, h("sss-qsuper-layout", { class: "d-flex flex-fill" }, h("sss-qsuper-confirm-header", null), h("div", { class: "mt-4 p-3 checkbox-container" }, h("p", null, "As part of becoming a QSuper member, you will receive death cover and total and permanent disability cover when you become eligible. ", h("br", null), h("br", null), "You will receive this cover when: ", h("br", null), h("br", null), "You are 25 years or older; ", h("br", null), "and You have had at least $6,000 in your accumulation account; ", h("br", null), "and At that time, we have received money into your account within the previous 13 months ", h("br", null), h("br", null), "Please see the Accumulation Account Insurance Guide, available on the QSuper website, for further information ", h("br", null), h("br", null), "Do you want this insurance cover?"), h("div", { class: "d-flex justify-content-between mt-4" }, h("div", { class: "button-holder flex-grow-1 mr-2" }, h("fl-button", { isBlockElement: true, variant: this.insuranceChosen ? 'primary' : 'secondary', onClick: () => this.handleInsuranceToggle(true) }, "Yes")), h("div", { class: "button-holder flex-grow-1 ml-2" }, h("fl-button", { isBlockElement: true, variant: !this.insuranceChosen ? 'primary' : 'secondary', onClick: () => this.handleInsuranceToggle(false) }, "No")))), h("div", null, h("label", { class: "d-flex\u00A0mt-3\u00A0p-3\u00A0checkbox-container", htmlFor: "ackCheckBox" }, h("div", { class: "w-auto\u00A0px-2 fl-checkbox-container" }, h("input", { id: "ackCheckBox", class: "confirm-checkbox-item", type: "checkbox", onChange: () => this.handleCheckboxToggle() })), h("div", { class: "pl-3" }, h("p", { class: "confirm-item-text\u00A0mb-0" }, "I acknowledge that my personal information will be shared with QSuper as part of their application process.")))))));
|
|
4648
|
+
return (h(Host, { class: "d-flex flex-fill" }, h("sss-qsuper-layout", { class: "d-flex flex-fill" }, h("sss-qsuper-confirm-header", null), h("div", { class: "mt-4 p-3 checkbox-container" }, h("p", null, "As part of becoming a QSuper member, you will receive death cover and total and permanent disability cover when you become eligible. ", h("br", null), h("br", null), "You will receive this cover when: ", h("br", null), h("br", null), "You are 25 years or older; ", h("br", null), "and You have had at least $6,000 in your accumulation account; ", h("br", null), "and At that time, we have received money into your account within the previous 13 months ", h("br", null), h("br", null), "Please see the Accumulation Account Insurance Guide, available on the QSuper website, for further information ", h("br", null), h("br", null), "Do you want this insurance cover?"), h("div", { class: "d-flex justify-content-between mt-4" }, h("div", { class: "button-holder flex-grow-1 mr-2" }, h("fl-button", { disabled: !this.isEligibleForInsurance, isBlockElement: true, variant: this.insuranceChosen ? 'primary' : 'secondary', onClick: () => this.handleInsuranceToggle(true) }, "Yes")), h("div", { class: "button-holder flex-grow-1 ml-2" }, h("fl-button", { disabled: !this.isEligibleForInsurance, isBlockElement: true, variant: !this.insuranceChosen ? 'primary' : 'secondary', onClick: () => this.handleInsuranceToggle(false) }, "No")))), h("div", null, h("label", { class: "d-flex\u00A0mt-3\u00A0p-3\u00A0checkbox-container", htmlFor: "ackCheckBox" }, h("div", { class: "w-auto\u00A0px-2 fl-checkbox-container" }, h("input", { id: "ackCheckBox", class: "confirm-checkbox-item", type: "checkbox", onChange: () => this.handleCheckboxToggle() })), h("div", { class: "pl-3" }, h("p", { class: "confirm-item-text\u00A0mb-0" }, "I acknowledge that my personal information will be shared with QSuper as part of their application process.")))))));
|
|
4628
4649
|
}
|
|
4629
4650
|
handleInsuranceToggle(input) {
|
|
4630
|
-
state$1.qSuperQuestionnaire.insuranceChosen = input;
|
|
4651
|
+
state$1.qSuperQuestionnaire.insuranceChosen = input && this.isEligibleForInsurance;
|
|
4631
4652
|
this.insuranceChosen = state$1.qSuperQuestionnaire.insuranceChosen;
|
|
4632
4653
|
state$1.nextRoute = getNextRoute();
|
|
4633
4654
|
}
|
|
@@ -4731,16 +4752,36 @@ async function handleConfirmClickAsync() {
|
|
|
4731
4752
|
const QsuperLayout = class {
|
|
4732
4753
|
constructor(hostRef) {
|
|
4733
4754
|
registerInstance(this, hostRef);
|
|
4755
|
+
this.isEligible = false;
|
|
4756
|
+
this.canContinue = () => this.isEligible && state$1.continueAllowed;
|
|
4757
|
+
this.ensureEligibility = () => {
|
|
4758
|
+
if (superSelectionAppService.superBuyer.userProfile.yearsOfAge < QSuperMinAge) {
|
|
4759
|
+
this.showIneligibleNotification(`People under the age of ${QSuperMinAge} are not able to open accounts.`);
|
|
4760
|
+
}
|
|
4761
|
+
else if (superSelectionAppService.superBuyer.userProfile.yearsOfAge > QSuperMaxAge) {
|
|
4762
|
+
this.showIneligibleNotification(`People over the age of ${QSuperMaxAge} are not able to open accounts.`);
|
|
4763
|
+
}
|
|
4764
|
+
else {
|
|
4765
|
+
this.isEligible = true;
|
|
4766
|
+
}
|
|
4767
|
+
};
|
|
4768
|
+
this.showIneligibleNotification = (description) => {
|
|
4769
|
+
notificationsService.showInfoNotification({
|
|
4770
|
+
title: "Unable to apply for QSuper",
|
|
4771
|
+
description
|
|
4772
|
+
});
|
|
4773
|
+
};
|
|
4734
4774
|
}
|
|
4735
4775
|
async componentWillLoad() {
|
|
4776
|
+
this.ensureEligibility();
|
|
4736
4777
|
state$1.nextRoute = getNextRoute();
|
|
4737
4778
|
}
|
|
4738
4779
|
render() {
|
|
4739
|
-
return (h("div", { class: "container" }, h("div", { class: "row justify-content-center" }, h("div", { class: "col col-sm-10 col-md-7" }, h("slot", null), h("div", { class: "mt-4" }, h("sss-notifications-section", null)), h("div", { class: "d-flex mt-4" }, h("div", { class: "flex-grow-1 w-50" }, h("div", { class: "mr-2" }, h("fl-button", { onClick: () => navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ChoicePage), isBlockElement: true, variant: "secondary" }, h("span", null, "Back")))), h("div", { class: "flex-grow-1 w-50" }, h("div", { class: "ml-2" }, h("fl-promise-button", { isBlockElement: true, disabled: !
|
|
4780
|
+
return (h("div", { class: "container" }, h("div", { class: "row justify-content-center" }, h("div", { class: "col col-sm-10 col-md-7" }, h("slot", null), h("div", { class: "mt-4" }, h("sss-notifications-section", null)), h("div", { class: "d-flex mt-4" }, h("div", { class: "flex-grow-1 w-50" }, h("div", { class: "mr-2" }, h("fl-button", { onClick: () => navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ChoicePage), isBlockElement: true, variant: "secondary" }, h("span", null, "Back")))), h("div", { class: "flex-grow-1 w-50" }, h("div", { class: "ml-2" }, h("fl-promise-button", { isBlockElement: true, disabled: !this.canContinue(), promiseFn: () => this.tryAsync() }, h("span", null, "Continue")))))))));
|
|
4740
4781
|
}
|
|
4741
4782
|
async tryAsync() {
|
|
4742
4783
|
try {
|
|
4743
|
-
if (!
|
|
4784
|
+
if (!this.canContinue()) {
|
|
4744
4785
|
return;
|
|
4745
4786
|
}
|
|
4746
4787
|
await handleConfirmClickAsync();
|
package/dist/lib/esm/loader.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as promiseResolve, b as bootstrapLazy } from './index-227ab0f1.js';
|
|
2
2
|
import './datorama-akita-79ce4385.js';
|
|
3
3
|
import './delay-c0555599.js';
|
|
4
|
-
import { g as globalScripts } from './app-globals-
|
|
4
|
+
import { g as globalScripts } from './app-globals-7ac1ffba.js';
|
|
5
5
|
|
|
6
6
|
/*
|
|
7
7
|
Stencil Client Patch Esm v2.3.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as promiseResolve,b as bootstrapLazy}from"./index-227ab0f1.js";import"./datorama-akita-79ce4385.js";import"./delay-c0555599.js";import{g as globalScripts}from"./app-globals-
|
|
1
|
+
import{p as promiseResolve,b as bootstrapLazy}from"./index-227ab0f1.js";import"./datorama-akita-79ce4385.js";import"./delay-c0555599.js";import{g as globalScripts}from"./app-globals-7ac1ffba.js";var patchBrowser=function(){var s=import.meta.url;var e={};if(s!==""){e.resourcesUrl=new URL(".",s).href}return promiseResolve(e)};patchBrowser().then((function(s){globalScripts();return bootstrapLazy([["fl-style-guide",[[1,"fl-style-guide",{themeCssUrl:[1,"theme-css-url"]}]]],["context-consumer",[[0,"context-consumer",{context:[16],renderer:[16],subscribe:[16],unsubscribe:[32]}]]],["stencil-async-content",[[0,"stencil-async-content",{documentLocation:[1,"document-location"],content:[32]}]]],["stencil-route-title",[[0,"stencil-route-title",{titleSuffix:[1,"title-suffix"],pageTitle:[1,"page-title"]}]]],["stencil-router-prompt",[[0,"stencil-router-prompt",{when:[4],message:[1],history:[16],unblock:[32]}]]],["stencil-router-redirect",[[0,"stencil-router-redirect",{history:[16],root:[1],url:[1]}]]],["fl-button_43",[[0,"sss-my-own-fund",{history:[16],formState:[32],isNotAllInformationProvidedMessageVisible:[32]}],[0,"sss-qsuper-question-1"],[0,"sss-qsuper-question-2"],[0,"sss-qsuper-question-3"],[0,"sss-qsuper-question-4"],[0,"sss-qsuper-question-5"],[0,"sss-qsuper-question-6"],[0,"sss-qsuper-question-7"],[0,"sss-qsuper-question-8"],[0,"sss-self-managed-fund",{history:[16],formState:[32]}],[0,"sss-default-fund",{history:[16],formState:[32],defaultFundProductName:[32]}],[0,"sss-qsuper-insurance-opt-in",{insuranceChosen:[32]}],[0,"sss-qsuper-join"],[0,"sss-slate-standard-choice-page",{history:[16],formState:[32]}],[1,"super-selection-app-host",{sessionState:[32],jwt:[32],appConfiguration:[32],areStylesLoaded:[32]}],[0,"sss-qsuper-consent"],[0,"sss-super-choice-page",{history:[16],promotedFunds:[32],chosenFund:[32]}],[0,"sss-success"],[0,"sss-slate-join-page",{history:[16]}],[0,"super-selection-app",{accessToken:[1,"access-token"],backendUrl:[1,"backend-url"],appBaseUrl:[1,"app-base-url"],slateJoinAppUrl:[1,"slate-join-app-url"],history:[16],location:[16],isAppInitialised:[32]}],[0,"sss-my-own-fund-inputs",{myOwnFundForm:[16],selectedOption:[32]}],[0,"sss-self-managed-fund-inputs",{fundForm:[16],currentBank:[32]}],[0,"sss-loading-page"],[0,"sss-super-choice-item",{heading:[1],isSelected:[4,"is-selected"],usi:[1],name:[1],logo:[1],pdsLink:[1,"pds-link"],callToAction:[1,"call-to-action"],features:[1],history:[16]}],[0,"sss-selected-super-choice-section",{fundType:[1,"fund-type"],fundName:[1,"fund-name"]}],[0,"sss-slatesuper-header"],[0,"sss-footer-section"],[4,"stencil-route-link",{url:[1],urlMatch:[1,"url-match"],activeClass:[1,"active-class"],exact:[4],strict:[4],custom:[1],anchorClass:[1,"anchor-class"],anchorRole:[1,"anchor-role"],anchorTitle:[1,"anchor-title"],anchorTabIndex:[1,"anchor-tab-index"],anchorId:[1,"anchor-id"],history:[16],location:[16],root:[1],ariaHaspopup:[1,"aria-haspopup"],ariaPosinset:[1,"aria-posinset"],ariaSetsize:[2,"aria-setsize"],ariaLabel:[1,"aria-label"],match:[32]}],[4,"stencil-route-switch",{group:[513],scrollTopOffset:[2,"scroll-top-offset"],location:[16],routeViewsUpdated:[16]}],[4,"stencil-router",{root:[1],historyType:[1,"history-type"],titleSuffix:[1,"title-suffix"],scrollTopOffset:[2,"scroll-top-offset"],location:[32],history:[32]}],[4,"sss-custom-fund",{history:[16],currentCustomFund:[32],fundOptionsList:[32]}],[0,"fl-dropdown-async",{placeholder:[1],searchFunction:[16],value:[16],required:[4],requiredValidationMessage:[1,"required-validation-message"],disabled:[4],minSearchStringLength:[2,"min-search-string-length"],searchState:[32],inputValue:[32],isDropdownVisible:[32],filteredOptions:[32],highlightedOptionIndex:[32],selectedOption:[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-standard-choice-form",{standardChoiceFormSignature:[32]}],[0,"fl-dropdown",{placeholder:[1],options:[16],value:[16],required:[4],requiredValidationMessage:[1,"required-validation-message"],disabled:[4],inputValue:[32],isDropdownVisible:[32],filteredOptions:[32],highlightedOptionIndex:[32],selectedOption:[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[4,"sss-qsuper-insurance-questions"],[0,"sss-qsuper-question-yes-no-buttons",{history:[16]}],[0,"sss-qsuper-confirm-header"],[4,"sss-qsuper-layout",{history:[16]}],[0,"sss-notifications-section"],[4,"fl-promise-button",{isBlockElement:[4,"is-block-element"],isRounded:[4,"is-rounded"],disabled:[4],variant:[1],promiseFn:[16],state:[32]}],[4,"fl-button",{isBlockElement:[4,"is-block-element"],disabled:[4],variant:[1]}],[0,"fl-loading-indicator",{theme:[1]}],[0,"stencil-route",{group:[513],componentUpdated:[16],match:[1040],url:[1],component:[1],componentProps:[16],exact:[4],routeRender:[16],scrollTopOffset:[2,"scroll-top-offset"],routeViewsUpdated:[16],location:[16],history:[16],historyType:[1,"history-type"]}]]]],s)}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,e,n,r){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,a){function i(t){try{u(r.next(t))}catch(t){a(t)}}function l(t){try{u(r["throw"](t))}catch(t){a(t)}}function u(t){t.done?n(t.value):o(t.value).then(i,l)}u((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,o,a,i;return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(t){return function(e){return u([t,e])}}function u(i){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,o&&(a=i[0]&2?o["return"]:i[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,i[1])).done)return a;if(o=0,a)i=[i[0]&2,a.value];switch(i[0]){case 0:case 1:a=i;break;case 4:n.label++;return{value:i[1],done:false};case 5:n.label++;o=i[1];i=[0];continue;case 7:i=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(i[0]===6||i[0]===2)){n=0;continue}if(i[0]===3&&(!a||i[1]>a[0]&&i[1]<a[3])){n.label=i[1];break}if(i[0]===6&&n.label<a[1]){n.label=a[1];a=i;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(i);break}if(a[2])n.ops.pop();n.trys.pop();continue}i=e.call(t,n)}catch(t){i=[6,t];o=0}finally{r=a=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};import{e as enableAkitaProdMode}from"./datorama-akita-79ce4385.js";function stencilRouterWorkaround(){delete window.sessionStorage;window.sessionStorage={}}function appGlobalScript(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){stencilRouterWorkaround();enableAkitaProdMode();return[2]}))}))}var globalScripts=appGlobalScript;export{globalScripts as g};
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,e,n,r){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,a){function i(t){try{u(r.next(t))}catch(t){a(t)}}function l(t){try{u(r["throw"](t))}catch(t){a(t)}}function u(t){t.done?n(t.value):o(t.value).then(i,l)}u((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,o,a,i;return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(t){return function(e){return u([t,e])}}function u(i){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,o&&(a=i[0]&2?o["return"]:i[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,i[1])).done)return a;if(o=0,a)i=[i[0]&2,a.value];switch(i[0]){case 0:case 1:a=i;break;case 4:n.label++;return{value:i[1],done:false};case 5:n.label++;o=i[1];i=[0];continue;case 7:i=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(i[0]===6||i[0]===2)){n=0;continue}if(i[0]===3&&(!a||i[1]>a[0]&&i[1]<a[3])){n.label=i[1];break}if(i[0]===6&&n.label<a[1]){n.label=a[1];a=i;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(i);break}if(a[2])n.ops.pop();n.trys.pop();continue}i=e.call(t,n)}catch(t){i=[6,t];o=0}finally{r=a=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};import{e as enableAkitaProdMode}from"./datorama-akita-79ce4385.js";function stencilRouterWorkaround(){if(window.location==window.parent.location){return}delete window.sessionStorage;window.sessionStorage={}}function appGlobalScript(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){stencilRouterWorkaround();enableAkitaProdMode();return[2]}))}))}var globalScripts=appGlobalScript;export{globalScripts as g};
|