@flarehr/apollo-super-selection 5.24.54264 → 5.26.55632

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.
Files changed (152) hide show
  1. package/dist/lib/apollo-super-selection/apollo-super-selection.css +1 -1
  2. package/dist/lib/apollo-super-selection/apollo-super-selection.esm.js +1 -1
  3. package/dist/lib/apollo-super-selection/p-32bef81e.entry.js +14 -0
  4. package/dist/lib/apollo-super-selection/p-5be45043.system.entry.js +69 -0
  5. package/dist/lib/apollo-super-selection/p-bdcfc026.system.js +1 -1
  6. package/dist/lib/cjs/apollo-super-selection.cjs.js +1 -1
  7. package/dist/lib/cjs/loader.cjs.js +1 -1
  8. package/dist/lib/cjs/{sss-button_43.cjs.entry.js → sss-button_32.cjs.entry.js} +1062 -2263
  9. package/dist/lib/collection/apollo-super-selection.css +1 -1
  10. package/dist/lib/collection/collection-manifest.json +3 -25
  11. package/dist/lib/collection/components/app-host/super-selection-app-host.css +6 -6
  12. package/dist/lib/collection/components/super-campaign/super-campaign.js +12 -24
  13. package/dist/lib/collection/components/super-selection-app/api/super-selection.api.dto.js +26 -25
  14. package/dist/lib/collection/components/super-selection-app/api/super-selection.api.js +0 -9
  15. package/dist/lib/collection/components/super-selection-app/existing-choice/existing-choice.js +5 -9
  16. package/dist/lib/collection/components/super-selection-app/footer-section/footer-section.js +11 -15
  17. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-engagement-step.js +115 -0
  18. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund.js +5 -0
  19. package/dist/lib/collection/components/super-selection-app/funds/slate-super/api/slate.js +4 -0
  20. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-invalid-my-own-fund.js +3 -3
  21. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-invalid-smsf.js +2 -2
  22. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-my-own-fund.js +3 -3
  23. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-smsf.js +3 -3
  24. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill.js +1 -1
  25. package/dist/lib/collection/components/super-selection-app/services/event-tracking.service.js +10 -0
  26. package/dist/lib/collection/components/super-selection-app/services/existing-super-choice-info.service.js +4 -16
  27. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.routes.js +3 -9
  28. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +17 -39
  29. package/dist/lib/collection/components/super-selection-app/services/super-selection.store.js +3 -4
  30. package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.js +16 -13
  31. package/dist/lib/collection/components/super-selection-app/super-selection-app.js +3 -17
  32. package/dist/lib/esm/apollo-super-selection.js +1 -1
  33. package/dist/lib/esm/loader.js +1 -1
  34. package/dist/lib/esm/{sss-button_43.entry.js → sss-button_32.entry.js} +1062 -2252
  35. package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
  36. package/dist/lib/esm-es5/loader.js +1 -1
  37. package/dist/lib/esm-es5/sss-button_32.entry.js +69 -0
  38. package/dist/lib/types/components/super-campaign/super-campaign-types.d.ts +4 -0
  39. package/dist/lib/types/components/super-campaign/super-campaign.d.ts +0 -2
  40. package/dist/lib/types/components/super-selection-app/api/super-selection-events.model.d.ts +11 -0
  41. package/dist/lib/types/components/super-selection-app/api/super-selection.api.d.ts +1 -2
  42. package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +2 -10
  43. package/dist/lib/types/components/super-selection-app/footer-section/footer-section.d.ts +1 -2
  44. package/dist/lib/types/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-engagement-step-types.d.ts +15 -0
  45. package/dist/lib/types/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-engagement-step.d.ts +20 -0
  46. package/dist/lib/types/components/super-selection-app/funds/slate-super/api/slate.d.ts +4 -0
  47. package/dist/lib/types/components/super-selection-app/services/event-tracking.service.d.ts +2 -0
  48. package/dist/lib/types/components/super-selection-app/services/super-selection-app.routes.d.ts +1 -4
  49. package/dist/lib/types/components/super-selection-app/services/super-selection-app.service.d.ts +5 -5
  50. package/dist/lib/types/components/super-selection-app/services/super-selection.store.d.ts +3 -4
  51. package/dist/lib/types/components/super-selection-app/super-selection-app.d.ts +0 -2
  52. package/dist/lib/types/components.d.ts +17 -203
  53. package/package.json +1 -1
  54. package/dist/lib/apollo-super-selection/assets/icon-check.svg +0 -3
  55. package/dist/lib/apollo-super-selection/assets/logo-active.svg +0 -1
  56. package/dist/lib/apollo-super-selection/assets/logo-art.svg +0 -7
  57. package/dist/lib/apollo-super-selection/assets/logo-aus-eth.svg +0 -31
  58. package/dist/lib/apollo-super-selection/assets/logo-aware.svg +0 -58
  59. package/dist/lib/apollo-super-selection/assets/logo-first.svg +0 -15
  60. package/dist/lib/apollo-super-selection/assets/logo-hesta.svg +0 -5
  61. package/dist/lib/apollo-super-selection/assets/logo-mercer-mychoice.svg +0 -1
  62. package/dist/lib/apollo-super-selection/assets/logo-rei.svg +0 -27
  63. package/dist/lib/apollo-super-selection/assets/logo-slate.png +0 -0
  64. package/dist/lib/apollo-super-selection/assets/logo-spirit.svg +0 -141
  65. package/dist/lib/apollo-super-selection/assets/logo-unisuper.svg +0 -15
  66. package/dist/lib/apollo-super-selection/assets/logo-virgin.svg +0 -8
  67. package/dist/lib/apollo-super-selection/assets/unisuper-default-badge1.svg +0 -25
  68. package/dist/lib/apollo-super-selection/assets/unisuper-default-badge2.svg +0 -109
  69. package/dist/lib/apollo-super-selection/assets/unisuper-default-badge3.svg +0 -102
  70. package/dist/lib/apollo-super-selection/p-203c74a8.entry.js +0 -14
  71. package/dist/lib/apollo-super-selection/p-b0120851.system.entry.js +0 -69
  72. package/dist/lib/collection/components/super-selection-app/assets/icon-check.svg +0 -3
  73. package/dist/lib/collection/components/super-selection-app/consent/consent-wrapper.js +0 -32
  74. package/dist/lib/collection/components/super-selection-app/consent/consent.js +0 -88
  75. package/dist/lib/collection/components/super-selection-app/funds/constants.js +0 -43
  76. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/active.js +0 -26
  77. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/australian-ethical.js +0 -43
  78. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/australian-retirement-trust.js +0 -32
  79. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/aware.js +0 -38
  80. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/first.js +0 -27
  81. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/hesta-default.js +0 -34
  82. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/mercermychoice.js +0 -33
  83. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/rei.js +0 -33
  84. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/slate.js +0 -32
  85. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/spirit.js +0 -43
  86. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/unisuper-default-v2.js +0 -56
  87. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/unisuper-default.js +0 -49
  88. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/virgin.js +0 -37
  89. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund-join-v1-page.js +0 -30
  90. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund-join-v2-page.js +0 -30
  91. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund.store.js +0 -10
  92. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v1-iframe-builder.js +0 -125
  93. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-iframe-builder.js +0 -271
  94. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/types.js +0 -15
  95. package/dist/lib/collection/components/super-selection-app/funds/slate-super/services/slate-iframe-builder.js +0 -143
  96. package/dist/lib/collection/components/super-selection-app/funds/slate-super/slate-join-page.js +0 -30
  97. package/dist/lib/collection/components/super-selection-app/loading-component/loading-component.js +0 -29
  98. package/dist/lib/collection/components/super-selection-app/loading-super-indicator/loading-super-indicator.js +0 -11
  99. package/dist/lib/collection/components/super-selection-app/misc/iframe-host.js +0 -32
  100. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-active.svg +0 -1
  101. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-art.svg +0 -7
  102. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-aus-eth.svg +0 -31
  103. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-aware.svg +0 -58
  104. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-first.svg +0 -15
  105. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-hesta.svg +0 -5
  106. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-mercer-mychoice.svg +0 -1
  107. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-rei.svg +0 -27
  108. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-slate.png +0 -0
  109. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-spirit.svg +0 -141
  110. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-unisuper.svg +0 -15
  111. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-virgin.svg +0 -8
  112. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/unisuper-default-badge1.svg +0 -25
  113. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/unisuper-default-badge2.svg +0 -109
  114. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/unisuper-default-badge3.svg +0 -102
  115. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-bottom.js +0 -112
  116. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-top.js +0 -178
  117. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page-wrapper.js +0 -32
  118. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +0 -171
  119. package/dist/lib/esm-es5/sss-button_43.entry.js +0 -69
  120. package/dist/lib/types/components/super-selection-app/consent/consent-wrapper.d.ts +0 -5
  121. package/dist/lib/types/components/super-selection-app/consent/consent.d.ts +0 -9
  122. package/dist/lib/types/components/super-selection-app/funds/constants.d.ts +0 -9
  123. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/active.d.ts +0 -3
  124. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/australian-ethical.d.ts +0 -3
  125. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/australian-retirement-trust.d.ts +0 -3
  126. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/aware.d.ts +0 -3
  127. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/first.d.ts +0 -3
  128. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/hesta-default.d.ts +0 -3
  129. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/mercermychoice.d.ts +0 -3
  130. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/rei.d.ts +0 -3
  131. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/slate.d.ts +0 -4
  132. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/spirit.d.ts +0 -3
  133. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/unisuper-default-v2.d.ts +0 -3
  134. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/unisuper-default.d.ts +0 -3
  135. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/virgin.d.ts +0 -3
  136. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/promoted-fund-join-v1-page.d.ts +0 -5
  137. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/promoted-fund-join-v2-page.d.ts +0 -5
  138. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/promoted-fund.store.d.ts +0 -10
  139. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v1-iframe-builder.d.ts +0 -10
  140. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-iframe-builder.d.ts +0 -12
  141. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-types.d.ts +0 -75
  142. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/types.d.ts +0 -26
  143. package/dist/lib/types/components/super-selection-app/funds/slate-super/services/slate-iframe-builder.d.ts +0 -14
  144. package/dist/lib/types/components/super-selection-app/funds/slate-super/slate-join-page.d.ts +0 -5
  145. package/dist/lib/types/components/super-selection-app/loading-component/loading-component.d.ts +0 -4
  146. package/dist/lib/types/components/super-selection-app/loading-super-indicator/loading-super-indicator.d.ts +0 -3
  147. package/dist/lib/types/components/super-selection-app/misc/iframe-host.d.ts +0 -6
  148. package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-bottom.d.ts +0 -10
  149. package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-top.d.ts +0 -12
  150. package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-page-wrapper.d.ts +0 -5
  151. package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-page.d.ts +0 -10
  152. /package/dist/lib/collection/components/super-selection-app/funds/{promoted-fund/services/promoted-fund-join-v2-types.js → custom-fund/my-own-fund/my-own-fund-engagement-step-types.js} +0 -0
@@ -0,0 +1,115 @@
1
+ import { Component, h, Host, Prop, State } from '@stencil/core';
2
+ import { injectHistory } from '@stencil/router';
3
+ import { isSome } from 'fp-ts/lib/Option';
4
+ import { EventTrackingService } from '../../../services/event-tracking.service';
5
+ import navigationService from '../../../services/navigation.service';
6
+ import { SuperSelectionAppRoutes } from '../../../services/super-selection-app.routes';
7
+ import superSelectionAppService from '../../../services/super-selection-app.service';
8
+ import customFundChoiceApi from '../api/custom-fund-choice.api';
9
+ import customFundState from '../custom-fund.store';
10
+ export class MyOwnFundEngagementStep {
11
+ constructor() {
12
+ this.stepContinued = async (event) => {
13
+ if (event.detail.sender == 'byof-engagement') {
14
+ await EventTrackingService.Instance.TrackSuperMyOwnFundEngagementStepContinued(this.fundUsi, event.detail.reason);
15
+ this.navigateToStandardChoice();
16
+ }
17
+ };
18
+ this.subscribeToStepEvents = () => {
19
+ for (const eventName in this.stepEventHandlers) {
20
+ document.addEventListener(eventName, this.stepEventHandlers[eventName]);
21
+ }
22
+ };
23
+ this.unSubscribeFromStepEvents = () => {
24
+ for (const eventName in this.stepEventHandlers) {
25
+ document.removeEventListener(eventName, this.stepEventHandlers[eventName]);
26
+ }
27
+ };
28
+ this.stepEventHandlers = {
29
+ continue: this.stepContinued.bind(this)
30
+ };
31
+ }
32
+ async componentWillLoad() {
33
+ if (superSelectionAppService.isBringYourOwnFundCustomStepEnabled &&
34
+ superSelectionAppService.isUsingSuperCampaign &&
35
+ isSome(customFundState.myOwnFundForm.fundUsi) &&
36
+ isSome(customFundState.myOwnFundForm.fundName) &&
37
+ isSome(customFundState.myOwnFundForm.memberNumber) &&
38
+ isSome(customFundState.myOwnFundForm.memberFirstName) &&
39
+ isSome(customFundState.myOwnFundForm.memberFamilyName) &&
40
+ isSome(superSelectionAppService.backendUrl) &&
41
+ isSome(superSelectionAppService.state.jwt)) {
42
+ this.backendUrl = superSelectionAppService.backendUrl.value;
43
+ this.accessToken = superSelectionAppService.state.jwt.value;
44
+ this.fundUsi = customFundState.myOwnFundForm.fundUsi.value;
45
+ this.fundName = customFundState.myOwnFundForm.fundName.value;
46
+ this.memberNumber = customFundState.myOwnFundForm.memberNumber.value;
47
+ this.memberFirstName = customFundState.myOwnFundForm.memberFirstName.value;
48
+ this.memberFamilyName = customFundState.myOwnFundForm.memberFamilyName.value;
49
+ this.unSubscribeFromStepEvents();
50
+ this.subscribeToStepEvents();
51
+ superSelectionAppService.hideFooterSection = true;
52
+ await EventTrackingService.Instance.TrackSuperMyOwnFundEngagementStepActivationSucceeded(this.fundUsi);
53
+ }
54
+ else {
55
+ navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.MyOwnFund);
56
+ }
57
+ }
58
+ disconnectedCallback() {
59
+ this.unSubscribeFromStepEvents();
60
+ superSelectionAppService.hideFooterSection = false;
61
+ }
62
+ render() {
63
+ return (h(Host, null,
64
+ h("apollo-super-byof-engagement", { "backend-url": this.backendUrl, "access-token": this.accessToken, "fund-usi": this.fundUsi })));
65
+ }
66
+ navigateToStandardChoice() {
67
+ navigationService.navigateInternallyToStandardChoice({
68
+ history: this.history,
69
+ fundName: this.fundName,
70
+ fundDetails: {
71
+ type: 'myOwnFund',
72
+ fundName: this.fundName,
73
+ fundUsi: this.fundUsi,
74
+ memberNumber: this.memberNumber
75
+ },
76
+ handleSubmitFn: async (standardChoiceFormSignature) => {
77
+ const customFundChoiceDto = Object.assign({ fundUsi: this.fundUsi, memberNumber: this.memberNumber, memberFirstName: this.memberFirstName, memberFamilyName: this.memberFamilyName, standardChoiceFormSignature }, superSelectionAppService.promotedFundsConfig);
78
+ await customFundChoiceApi.submitCustomFundChoiceAsync(customFundChoiceDto);
79
+ }
80
+ });
81
+ }
82
+ static get is() { return "sss-my-own-fund-engagement-step-host"; }
83
+ static get properties() { return {
84
+ "history": {
85
+ "type": "unknown",
86
+ "mutable": false,
87
+ "complexType": {
88
+ "original": "RouterHistory",
89
+ "resolved": "RouterHistory",
90
+ "references": {
91
+ "RouterHistory": {
92
+ "location": "import",
93
+ "path": "@stencil/router"
94
+ }
95
+ }
96
+ },
97
+ "required": false,
98
+ "optional": false,
99
+ "docs": {
100
+ "tags": [],
101
+ "text": ""
102
+ }
103
+ }
104
+ }; }
105
+ static get states() { return {
106
+ "backendUrl": {},
107
+ "accessToken": {},
108
+ "fundUsi": {},
109
+ "fundName": {},
110
+ "memberNumber": {},
111
+ "memberFirstName": {},
112
+ "memberFamilyName": {}
113
+ }; }
114
+ }
115
+ injectHistory(MyOwnFundEngagementStep);
@@ -66,6 +66,11 @@ export class MyOwnFund {
66
66
  this.isNotAllInformationProvidedMessageVisible = true;
67
67
  return;
68
68
  }
69
+ if (superSelectionAppService.isBringYourOwnFundCustomStepEnabled &&
70
+ superSelectionAppService.isUsingSuperCampaign) {
71
+ navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.MyOwnFundEngagementStep);
72
+ return;
73
+ }
69
74
  navigationService.navigateInternallyToStandardChoice({
70
75
  history: this.history,
71
76
  fundName: this.getOrError(customFundState.myOwnFundForm.fundName),
@@ -0,0 +1,4 @@
1
+ export const slate = {
2
+ fundId: 'slate',
3
+ usi: '32367272075001'
4
+ };
@@ -40,8 +40,8 @@ export class PrefillInvalidMyOwnFund {
40
40
  }
41
41
  else {
42
42
  // If prefill does not exist, or is valid we should
43
- // not have landed on this page, navigate to consent page
44
- navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ConsentPage);
43
+ // not have landed on this page, navigate to choice page
44
+ navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ChoicePage);
45
45
  }
46
46
  }
47
47
  render() {
@@ -66,7 +66,7 @@ export class PrefillInvalidMyOwnFund {
66
66
  async handleChooseAnotherFund() {
67
67
  const detail = this.createSuperFundPrefillDeclinedDetail(this.prefill);
68
68
  await this.eventTrackingService.TrackSuperFundPrefillDeclinedAsync(detail);
69
- return navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ConsentPage);
69
+ return navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ChoicePage);
70
70
  }
71
71
  static get is() { return "sss-prefill-invalid-my-own-fund"; }
72
72
  static get properties() { return {
@@ -34,7 +34,7 @@ export class PrefillInvalidSMSF {
34
34
  }
35
35
  else {
36
36
  // If prefill does not exist, or is valid we should
37
- // not have landed on this page, navigate to consent page
37
+ // not have landed on this page, navigate to PrefillInvalidMyOwnFundPage page
38
38
  navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.PrefillInvalidMyOwnFundPage);
39
39
  }
40
40
  }
@@ -81,7 +81,7 @@ export class PrefillInvalidSMSF {
81
81
  async handleFundNominationDeclined() {
82
82
  const detail = this.createSuperFundPrefillDeclinedDetail(this.prefill);
83
83
  await this.eventTrackingService.TrackSuperFundPrefillDeclinedAsync(detail);
84
- return navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ConsentPage);
84
+ return navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ChoicePage);
85
85
  }
86
86
  static get is() { return "sss-prefill-invalid-smsf"; }
87
87
  static get properties() { return {
@@ -41,8 +41,8 @@ export class PrefillMyOwnFund {
41
41
  }
42
42
  else {
43
43
  // If prefill does not exist, or is invalid we should
44
- // not have landed on this page, navigate to consent page
45
- navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ConsentPage);
44
+ // not have landed on this page, navigate to choice page
45
+ navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ChoicePage);
46
46
  }
47
47
  }
48
48
  render() {
@@ -165,7 +165,7 @@ export class PrefillMyOwnFund {
165
165
  async handleFundNominationDeclined() {
166
166
  const detail = this.createSuperFundPrefillDeclinedDetail(this.prefill);
167
167
  await this.eventTrackingService.TrackSuperFundPrefillDeclinedAsync(detail);
168
- return navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ConsentPage);
168
+ return navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ChoicePage);
169
169
  }
170
170
  static get is() { return "sss-prefill-my-own-fund"; }
171
171
  static get properties() { return {
@@ -40,8 +40,8 @@ export class PrefillSMSF {
40
40
  }
41
41
  else {
42
42
  // If prefill does not exist, or is invalid we should
43
- // not have landed on this page, navigate to consent page
44
- navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.PrefillInvalidMyOwnFundPage);
43
+ // not have landed on this page, navigate to PrefillInvalidSMSFPage page
44
+ navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.PrefillInvalidSMSFPage);
45
45
  }
46
46
  }
47
47
  render() {
@@ -330,7 +330,7 @@ export class PrefillSMSF {
330
330
  async handleFundNominationDeclined() {
331
331
  const detail = this.createSuperFundPrefillDeclinedDetail(this.prefill);
332
332
  await this.eventTrackingService.TrackSuperFundPrefillDeclinedAsync(detail);
333
- return navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ConsentPage);
333
+ return navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ChoicePage);
334
334
  }
335
335
  static get is() { return "sss-prefill-smsf"; }
336
336
  static get properties() { return {
@@ -37,7 +37,7 @@ export class Prefill {
37
37
  return this.renderInvalidSMSF(this.prefill.data);
38
38
  }
39
39
  }
40
- navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ConsentPage);
40
+ navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ChoicePage);
41
41
  return null;
42
42
  }
43
43
  renderMyOwnFund(data) {
@@ -86,6 +86,16 @@ export class EventTrackingService {
86
86
  SuperCampaignActivationSucceeded: detail
87
87
  });
88
88
  }
89
+ async TrackSuperMyOwnFundEngagementStepActivationSucceeded(fundUsi) {
90
+ return this.trackEventAsync({
91
+ SuperMyOwnFundEngagementStepActivationSucceeded: { fundUsi }
92
+ });
93
+ }
94
+ async TrackSuperMyOwnFundEngagementStepContinued(fundUsi, reason) {
95
+ return this.trackEventAsync({
96
+ SuperMyOwnFundEngagementStepContinued: { fundUsi, reason }
97
+ });
98
+ }
89
99
  async trackEventAsync(event) {
90
100
  try {
91
101
  await this.eventTrackingApi.PostAnalyticsEventAsync({ event });
@@ -1,8 +1,7 @@
1
- import { isSome, none, some } from 'fp-ts/Option';
1
+ import { isNone, isSome, none, some } from 'fp-ts/Option';
2
2
  import { assertExhaustive } from '../../../utils';
3
3
  import { buildBackendApiClient } from '../api/api-client';
4
4
  import { getPromotedFundId, getSuperChoiceMemberNumber, getSuperChoiceUsi } from '../api/super-selection.api.dto';
5
- import * as constants from '../funds/constants';
6
5
  import australianFundLookupService from './australian-fund-lookup.service';
7
6
  import superSelectionAppService from './super-selection-app.service';
8
7
  export function ExistingFund(fund) {
@@ -27,24 +26,13 @@ export class ExistingFundService {
27
26
  const memberNumber = getSuperChoiceMemberNumber(choiceDetails);
28
27
  switch (choiceDetails.kind) {
29
28
  case 'Promoted': {
30
- const fund = choiceDetails.promoted['generic']
31
- ? constants.getFundByFundId(choiceDetails.promoted['generic'].fundId)
32
- : constants.getFundByDtoPropName(Object.keys(choiceDetails.promoted)[0]);
33
- let fundName = '';
34
- if (isSome(fund)) {
35
- fundName = fund.value.name;
36
- }
37
- else if (isSome(usi)) {
38
- const fundLookup = await this.getFundByUsiAsync(usi.value);
39
- fundName = isSome(fundLookup) ? fundLookup.value.productName : usi.value;
40
- }
41
- else {
29
+ if (isNone(usi))
42
30
  return none;
43
- }
31
+ const fund = await this.getFundByUsiAsync(usi.value);
44
32
  return some({
45
33
  type: 'Promoted Fund',
46
34
  id: getPromotedFundId(choiceDetails.promoted),
47
- name: fundName,
35
+ name: isSome(fund) ? fund.value.productName : usi.value,
48
36
  usi: usi,
49
37
  valid: 'Active',
50
38
  memberNumber: memberNumber,
@@ -1,14 +1,11 @@
1
1
  import { h } from '@stencil/core';
2
2
  export var SuperSelectionAppRoutes;
3
3
  (function (SuperSelectionAppRoutes) {
4
- SuperSelectionAppRoutes["ConsentPage"] = "/consent";
5
4
  SuperSelectionAppRoutes["ExistingChoicePage"] = "/existing";
6
5
  SuperSelectionAppRoutes["SuperCampaign"] = "/super-campaign";
7
6
  SuperSelectionAppRoutes["ChoicePage"] = "/";
8
- SuperSelectionAppRoutes["SlateJoin"] = "/slate/join/";
9
- SuperSelectionAppRoutes["PromotedFundJoinV1"] = "/promoted-fund/join/v1";
10
- SuperSelectionAppRoutes["PromotedFundJoinV2"] = "/promoted-fund/join/v2";
11
7
  SuperSelectionAppRoutes["MyOwnFund"] = "/super-choice/my-own-fund/";
8
+ SuperSelectionAppRoutes["MyOwnFundEngagementStep"] = "/super-choice/my-own-fund-engagement/";
12
9
  SuperSelectionAppRoutes["Prefill"] = "/super-choice/prefill/";
13
10
  SuperSelectionAppRoutes["PrefillInvalidMyOwnFundPage"] = "/super-choice/sss-prefill-invalid-my-own-fund/";
14
11
  SuperSelectionAppRoutes["PrefillMyOwnFundPage"] = "/super-choice/prefill-my-own-fund/";
@@ -20,14 +17,11 @@ export var SuperSelectionAppRoutes;
20
17
  SuperSelectionAppRoutes["Success"] = "/success/";
21
18
  })(SuperSelectionAppRoutes || (SuperSelectionAppRoutes = {}));
22
19
  export const superSelectionAppStencilRoutes = [
23
- h("stencil-route", { url: SuperSelectionAppRoutes.ConsentPage, component: "sss-consent-page-wrapper" }),
24
20
  h("stencil-route", { url: SuperSelectionAppRoutes.ExistingChoicePage, component: "sss-existing-choice-page" }),
25
21
  h("stencil-route", { url: SuperSelectionAppRoutes.SuperCampaign, component: "sss-super-campaign-host" }),
26
- h("stencil-route", { exact: true, url: SuperSelectionAppRoutes.ChoicePage, component: "sss-super-choice-page-wrapper" }),
27
- h("stencil-route", { url: SuperSelectionAppRoutes.SlateJoin, component: "sss-slate-join-page" }),
28
- h("stencil-route", { url: SuperSelectionAppRoutes.PromotedFundJoinV1, component: "sss-promoted-fund-join-v1-page" }),
29
- h("stencil-route", { url: SuperSelectionAppRoutes.PromotedFundJoinV2, component: "sss-promoted-fund-join-v2-page" }),
22
+ h("stencil-route", { exact: true, url: SuperSelectionAppRoutes.ChoicePage, component: "sss-super-campaign-host" }),
30
23
  h("stencil-route", { url: SuperSelectionAppRoutes.MyOwnFund, component: "sss-my-own-fund" }),
24
+ h("stencil-route", { url: SuperSelectionAppRoutes.MyOwnFundEngagementStep, component: "sss-my-own-fund-engagement-step-host" }),
31
25
  h("stencil-route", { url: SuperSelectionAppRoutes.PrefillInvalidMyOwnFundPage, component: "sss-prefill-invalid-my-own-fund" }),
32
26
  h("stencil-route", { url: SuperSelectionAppRoutes.Prefill, component: "sss-prefill" }),
33
27
  h("stencil-route", { url: SuperSelectionAppRoutes.PrefillMyOwnFundPage, component: "sss-prefill-my-own-fund" }),
@@ -41,9 +41,6 @@ export class SuperSelectionAppService {
41
41
  if (this.state.superCampaignEnabled && this.superCampaignState !== undefined) {
42
42
  return this.superCampaignState.PromotedFundIds;
43
43
  }
44
- if (this._state.campaignConnectEnabled && O.isSome(this._state.campaignConnect)) {
45
- return this._state.campaignConnect.value.promotedFunds.map((v) => v.fundId);
46
- }
47
44
  if (O.isNone(this._state.promotedFunds)) {
48
45
  throw Error('Promoted Funds is not set');
49
46
  }
@@ -53,35 +50,15 @@ export class SuperSelectionAppService {
53
50
  if (this.state.superCampaignEnabled && this.superCampaignState !== undefined) {
54
51
  return O.fromNullable(this.superCampaignState.DefaultFundPosition);
55
52
  }
56
- if (this._state.campaignConnectEnabled && O.isSome(this._state.campaignConnect)) {
57
- const index = this._state.campaignConnect.value.promotedFunds.findIndex((v) => v.type === 'promoted-default');
58
- if (index === -1) {
59
- return O.fromNullable(null);
60
- }
61
- else {
62
- return O.fromNullable(index + 1);
63
- }
64
- }
65
53
  return O.none;
66
54
  }
67
55
  get promotedFundsConfig() {
68
56
  return {
69
57
  shownFunds: this.promotedFunds,
70
58
  promotedDefaultFundPosition: O.toUndefined(this.promotedDefaultFundPosition),
71
- promotedFundsConfigSource: this.isUsingSuperCampaign
72
- ? 'superCampaign'
73
- : O.isSome(this._state.campaignConnect)
74
- ? 'campaignConnect'
75
- : 'superSelection'
59
+ promotedFundsConfigSource: this.isUsingSuperCampaign ? 'superCampaign' : 'superSelection'
76
60
  };
77
61
  }
78
- get definedBenefitsFundId() {
79
- if (O.isSome(this._state.campaignConnect)) {
80
- const definedBenefitsFund = this._state.campaignConnect.value.promotedFunds.find((fund) => fund.type == 'defined-benefits');
81
- return O.fromNullable(definedBenefitsFund === null || definedBenefitsFund === void 0 ? void 0 : definedBenefitsFund.fundId);
82
- }
83
- return O.none;
84
- }
85
62
  get profileId() {
86
63
  if (O.isNone(this._state.profileId)) {
87
64
  throw Error('Failed to get Profile ID from JWT');
@@ -113,9 +90,6 @@ export class SuperSelectionAppService {
113
90
  markSuperSelectionAsSubmitted() {
114
91
  this._state.hasSuperSelectionBeenSubmitted = true;
115
92
  }
116
- get campaignConnectEnabled() {
117
- return this._state.campaignConnectEnabled;
118
- }
119
93
  get isDefinedBenefitsEligible() {
120
94
  return this._state.isDefinedBenefitsEligible;
121
95
  }
@@ -125,17 +99,11 @@ export class SuperSelectionAppService {
125
99
  this._state.profileConfiguration = O.fromNullable(appStateResponse.profileConfiguration);
126
100
  this._state.superBuyer = O.fromNullable(appStateResponse.superBuyer);
127
101
  this._state.promotedFunds = O.fromNullable(appStateResponse.promotedFunds);
128
- this._state.campaignConnectEnabled = appStateResponse.campaignConnectEnabled;
129
- this._state.superCampaignEnabled = appStateResponse.superCampaignEnabled;
102
+ this._state.bringYourOwnFundCustomStepEnabled =
103
+ appStateResponse.bringYourOwnFundCustomStepEnabled;
130
104
  this._state.superChoicePrefill = O.fromNullable(appStateResponse.prefill);
131
105
  this._state.isDefinedBenefitsEligible = O.fromNullable(appStateResponse.isDefinedBenefitsEligible);
132
106
  }
133
- async loadCampaignConnectAsync() {
134
- if (this._state.campaignConnectEnabled) {
135
- const campaignConnect = await superSelectionApi.getCampaignConnectAsync();
136
- this._state.campaignConnect = O.fromNullable(campaignConnect);
137
- }
138
- }
139
107
  setSuperCampaignPromotedFundsShown(shownFunds) {
140
108
  if (this._state.superCampaignState !== undefined)
141
109
  this._state.superCampaignState.promotedFundsShown = shownFunds;
@@ -166,15 +134,25 @@ export class SuperSelectionAppService {
166
134
  get isUsingSuperCampaign() {
167
135
  return this.state.superCampaignEnabled && this.superCampaignState !== undefined;
168
136
  }
137
+ get isBringYourOwnFundCustomStepEnabled() {
138
+ return this.state.bringYourOwnFundCustomStepEnabled;
139
+ }
169
140
  get isSuperCampaignFallbackActivated() {
170
141
  return (this.state.superCampaignEnabled &&
171
142
  this.superCampaignComponentStatus === SuperCampaignComponentStatus.NotWorking);
172
143
  }
173
- get superCampaignIsInView() {
174
- return this._state.superCampaignIsInView;
144
+ get hideFooterSection() {
145
+ return this._state.hideFooterSection;
146
+ }
147
+ set hideFooterSection(value) {
148
+ this._state.hideFooterSection = value;
149
+ }
150
+ get backendUrl() {
151
+ return O.map(this.getBaseUrl)(this.state.apiBaseUrl);
175
152
  }
176
- set superCampaignIsInView(value) {
177
- this._state.superCampaignIsInView = value;
153
+ getBaseUrl(url) {
154
+ const parsedUrl = new URL(url);
155
+ return `${parsedUrl.protocol}//${parsedUrl.hostname}${parsedUrl.port.length > 0 ? `:${parsedUrl.port}` : ''}`;
178
156
  }
179
157
  }
180
158
  export default new SuperSelectionAppService();
@@ -34,11 +34,10 @@ export const initialState = {
34
34
  profileConfiguration: O.none,
35
35
  hasSuccessPageBeenAcknowledged: false,
36
36
  hasSuperSelectionBeenSubmitted: false,
37
- campaignConnectEnabled: false,
38
37
  isDefinedBenefitsEligible: O.none,
39
- campaignConnect: O.none,
40
- superCampaignEnabled: false,
38
+ superCampaignEnabled: true,
41
39
  superCampaignState: undefined,
42
40
  superCampaignComponentStatus: SuperCampaignComponentStatus.NotLoaded,
43
- superCampaignIsInView: false
41
+ hideFooterSection: false,
42
+ bringYourOwnFundCustomStepEnabled: false
44
43
  };
@@ -1,8 +1,6 @@
1
1
  import { Component, getAssetPath, h, Host, Prop, State } from '@stencil/core';
2
- import { isSome } from 'fp-ts/lib/Option';
3
2
  import * as O from 'fp-ts/Option';
4
3
  import { assertExhaustive } from '../../../utils';
5
- import { getLogoSrcByFundId } from '../funds/constants';
6
4
  import { EventTrackingService } from '../services/event-tracking.service';
7
5
  import navigationService from '../services/navigation.service';
8
6
  import { SuperSelectionAppRoutes } from '../services/super-selection-app.routes';
@@ -37,10 +35,7 @@ export class StandardChoiceFormInputDefaultFund {
37
35
  h("div", { class: "grid content-center ml-4" },
38
36
  h("sss-button", { testid: "change-fund-button", size: "xs", variant: "secondary", promiseFn: async () => {
39
37
  await this.trackChangeRequestedAsync();
40
- const changeFundRoute = isSome(superSelectionAppService.state.superChoicePrefill)
41
- ? SuperSelectionAppRoutes.ConsentPage
42
- : SuperSelectionAppRoutes.ChoicePage;
43
- navigationService.navigateInternally(this.history, changeFundRoute);
38
+ navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ChoicePage);
44
39
  } }, "Change")))),
45
40
  h("div", { class: "mt-4 p-4 sm:p-6 border shadow-sm rounded-lg" },
46
41
  h("div", { class: "sm:text-lg font-bold" }, "Superannuation Standard Choice Form"),
@@ -63,14 +58,22 @@ export class StandardChoiceFormInputDefaultFund {
63
58
  h("div", { class: "mt-6" },
64
59
  h("sss-button", { testid: "confirm-and-continue-button", fillWidth: true, promiseFn: () => this.handleSubmitForm(), disabled: this.isSubmitDisabled }, "Confirm and continue"))))))));
65
60
  }
61
+ // TODO: fetch external promoted fund logo
66
62
  renderLogo() {
67
- if (standardChoiceFormState.promotedFundId == undefined)
68
- return;
69
- const logoSource = getLogoSrcByFundId(standardChoiceFormState.promotedFundId);
70
- if (isSome(logoSource)) {
71
- return (h("div", { class: "pb-4 mb-4 border-b flex justify-center sm:pb-0 sm:mb-0 sm:border-b-0 sm:pr-8 sm:mr-8 sm:border-r sm:justify-start" },
72
- h("img", { class: "h-16 max-w-140 sm:h-12 sm:max-w-[100px] object-contain", alt: standardChoiceFormState.fundName, src: logoSource.value })));
73
- }
63
+ return;
64
+ // if (standardChoiceFormState.promotedFundId == undefined) return;
65
+ // const logoSource = getLogoSrcByFundId(standardChoiceFormState.promotedFundId);
66
+ // if (isSome(logoSource)) {
67
+ // return (
68
+ // <div class="pb-4 mb-4 border-b flex justify-center sm:pb-0 sm:mb-0 sm:border-b-0 sm:pr-8 sm:mr-8 sm:border-r sm:justify-start">
69
+ // <img
70
+ // class="h-16 max-w-140 sm:h-12 sm:max-w-[100px] object-contain"
71
+ // alt={standardChoiceFormState.fundName}
72
+ // src={logoSource.value}
73
+ // />
74
+ // </div>
75
+ // );
76
+ // }
74
77
  }
75
78
  async trackChangeRequestedAsync() {
76
79
  const common = {
@@ -3,8 +3,6 @@ import { injectHistory } from '@stencil/router';
3
3
  import * as O from 'fp-ts/lib/Option';
4
4
  import { isNone, isSome } from 'fp-ts/lib/Option';
5
5
  import iframe from '../../utils/iframe';
6
- import * as constants from './funds/constants';
7
- import promotedFundState from './funds/promoted-fund/promoted-fund.store';
8
6
  import existingFundService from './services/existing-super-choice-info.service';
9
7
  import navigationService from './services/navigation.service';
10
8
  import { SuperSelectionAppRoutes, superSelectionAppStencilRoutes } from './services/super-selection-app.routes';
@@ -67,7 +65,7 @@ export class SuperSelectionApp {
67
65
  navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ExistingChoicePage);
68
66
  }
69
67
  else {
70
- navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ConsentPage);
68
+ navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ChoicePage);
71
69
  }
72
70
  }
73
71
  authTokenChanged(newValue) {
@@ -81,27 +79,15 @@ export class SuperSelectionApp {
81
79
  h("link", { rel: "stylesheet", href: getAssetPath('apollo-super-selection.css'), media: "all" }),
82
80
  this.renderAppContent()));
83
81
  }
84
- isFundJoinPage() {
85
- return (window.location.pathname.includes(SuperSelectionAppRoutes.SlateJoin) ||
86
- window.location.pathname.includes(SuperSelectionAppRoutes.PromotedFundJoinV1) ||
87
- window.location.pathname.includes(SuperSelectionAppRoutes.PromotedFundJoinV2));
88
- }
89
- getFooterTextOverride() {
90
- return constants.getFooterTextOverrideByFundId(promotedFundState.fund.id);
91
- }
92
82
  routerBaseUrl() {
93
83
  var _a;
94
84
  return ((_a = this.appBaseUrl) === null || _a === void 0 ? void 0 : _a.replace(/\/$/, '')) + '/';
95
85
  }
96
86
  renderAppContent() {
97
87
  return (h("stencil-router", { root: this.routerBaseUrl(), class: "font-inter" },
98
- h("stencil-route-switch", { scrollTopOffset: 0 }, this.isAppInitialised ? (h("div", { class: {
99
- 'pt-28': true,
100
- '-mt-12 pb-6': !this.isFundJoinPage(),
101
- '-mt-28': this.isFundJoinPage() // -mt value same as pt to negate it in embedded fund join pages
102
- } },
88
+ h("stencil-route-switch", { scrollTopOffset: 0 }, this.isAppInitialised ? (h("div", { class: "pt-28 -mt-12 pb-6" },
103
89
  superSelectionAppStencilRoutes,
104
- h("sss-footer-section", { textOverride: this.getFooterTextOverride() }))) : (h("div", { class: "flex justify-center py-20" },
90
+ h("sss-footer-section", null))) : (h("div", { class: "flex justify-center py-20" },
105
91
  h("sss-loading-indicator", null))))));
106
92
  }
107
93
  static get is() { return "super-selection-app"; }
@@ -16,5 +16,5 @@ const patchBrowser = () => {
16
16
 
17
17
  patchBrowser().then(options => {
18
18
  globalScripts();
19
- return bootstrapLazy([["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]}]]],["sss-button_43",[[0,"sss-prefill",{"history":[16],"prefill":[32]}],[0,"sss-my-own-fund",{"history":[16],"formState":[32],"isNotAllInformationProvidedMessageVisible":[32],"isSubmitDisabled":[32]}],[0,"sss-super-choice-page-wrapper",{"history":[16]}],[0,"sss-self-managed-fund",{"history":[16],"formState":[32],"isSubmitDisabled":[32]}],[0,"sss-consent-page-wrapper",{"history":[16]}],[1,"super-selection-app-host",{"sessionState":[32],"jwt":[32],"appConfiguration":[32],"ignoreExistingSelection":[32]}],[0,"sss-default-fund",{"history":[16],"defaultFundProductName":[32]}],[0,"sss-existing-choice-page",{"history":[16],"existingFund":[32]}],[0,"sss-standard-choice-form",{"history":[16],"standardChoiceFormSignature":[32],"formState":[32],"isSubmitDisabled":[32]}],[0,"sss-promoted-fund-join-v1-page",{"history":[16]}],[0,"sss-promoted-fund-join-v2-page",{"history":[16]}],[0,"sss-slate-join-page",{"history":[16]}],[0,"sss-success"],[0,"sss-super-choice-page",{"history":[16],"promotedFunds":[32]}],[0,"sss-prefill-my-own-fund",{"history":[16],"prefill":[16],"mode":[32],"formState":[32],"isSubmitDisabled":[32],"fundUsi":[32],"fundName":[32],"memberNumber":[32],"memberGivenNames":[32],"memberLastName":[32]}],[0,"sss-prefill-smsf",{"history":[16],"prefill":[16],"mode":[32],"formState":[32],"isSubmitDisabled":[32],"fundName":[32],"fundAbn":[32],"fundEsa":[32],"fundAddressLine1":[32],"fundAddressLine2":[32],"fundAddressCity":[32],"fundAddressPostcode":[32],"fundAddressState":[32],"fundAddress":[32],"memberGivenNames":[32],"memberLastName":[32],"bankAccountName":[32],"bankName":[32],"bankAccountBsb":[32],"bankAccountNumber":[32]}],[0,"sss-consent-page",{"history":[16],"campaignConnectRequestInProgress":[32]}],[0,"sss-prefill-invalid-my-own-fund",{"history":[16],"prefill":[16],"fundUsi":[32],"fundName":[32],"memberNumber":[32],"memberGivenNames":[32],"memberLastName":[32]}],[0,"sss-prefill-invalid-smsf",{"history":[16],"prefill":[16],"fundName":[32],"fundAbn":[32],"fundEsa":[32],"fundAddressLine1":[32],"fundAddressLine2":[32],"fundAddressCity":[32],"fundAddressPostcode":[32],"fundAddressState":[32],"fundAddress":[32],"memberGivenNames":[32],"memberLastName":[32],"bankAccountName":[32],"bankAccountBsb":[32],"bankAccountNumber":[32]}],[1,"super-selection-app",{"ignoreExistingSelection":[4,"ignore-existing-selection"],"accessToken":[1,"access-token"],"backendUrl":[1,"backend-url"],"appBaseUrl":[1,"app-base-url"],"history":[16],"location":[16],"isSelfHosted":[4,"is-self-hosted"],"isAppInitialised":[32]}],[0,"sss-my-own-fund-inputs",{"myOwnFundForm":[16],"showValidationErrors":[4,"show-validation-errors"],"selectedOption":[32]}],[0,"sss-self-managed-fund-inputs",{"fundForm":[16],"showValidationErrors":[4,"show-validation-errors"],"abnValidationStatus":[32],"isAbnTouched":[32],"currentBank":[32],"addressErrorMessage":[32]}],[0,"sss-loading-page"],[0,"sss-loading-super-indicator"],[0,"sss-super-choice-item-bottom",{"disclaimer":[16],"abnInfo":[1,"abn-info"],"abn":[1],"isMultiFund":[4,"is-multi-fund"]}],[0,"sss-super-campaign-host",{"history":[16],"scriptImported":[32],"backendUrl":[32],"accessToken":[32]}],[0,"sss-dropdown-async",{"testId":[1,"test-id"],"placeholder":[1],"searchFunction":[16],"value":[16],"required":[4],"requiredValidationMessage":[1,"required-validation-message"],"disabled":[4],"minSearchStringLength":[2,"min-search-string-length"],"showValidationErrors":[4,"show-validation-errors"],"searchState":[32],"inputValue":[32],"isDropdownVisible":[32],"filteredOptions":[32],"highlightedOptionIndex":[32],"selectedOption":[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-footer-section",{"textOverride":[16]}],[0,"sss-super-choice-item-top",{"name":[1],"logo":[1],"features":[16],"featureSubText":[16],"customContent":[16],"isMultiFund":[4,"is-multi-fund"],"isPromotedDefault":[4,"is-promoted-default"],"extraBadge":[16]}],[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],"showFundOptionsSelection":[32]}],[4,"sss-loading-component",{"header":[1]}],[0,"sss-iframe-host",{"build":[16]}],[0,"sss-prefill-warning-box",{"notificationList":[16]}],[0,"sss-name-input",{"testId":[1,"test-id"],"value":[1],"name":[1],"readableName":[1,"readable-name"],"showValidationErrors":[4,"show-validation-errors"],"errorMessage":[32]}],[0,"sss-header-section",{"currentPage":[1,"current-page"]}],[0,"sss-prefill-display-field",{"field":[16]}],[0,"sss-prefill-error-box",{"withHeader":[4,"with-header"],"notificationList":[16]}],[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,"sss-button",{"testid":[1],"fillWidth":[4,"fill-width"],"fillWidthOnMobile":[4,"fill-width-on-mobile"],"disabled":[4],"variant":[1],"size":[1],"promiseFn":[16],"state":[32]}],[0,"sss-loading-indicator",{"theme":[1],"size":[2]}],[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"]}]]]], options);
19
+ return bootstrapLazy([["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]}]]],["sss-button_32",[[0,"sss-prefill",{"history":[16],"prefill":[32]}],[0,"sss-my-own-fund",{"history":[16],"formState":[32],"isNotAllInformationProvidedMessageVisible":[32],"isSubmitDisabled":[32]}],[0,"sss-self-managed-fund",{"history":[16],"formState":[32],"isSubmitDisabled":[32]}],[1,"super-selection-app-host",{"sessionState":[32],"jwt":[32],"appConfiguration":[32],"ignoreExistingSelection":[32]}],[0,"sss-default-fund",{"history":[16],"defaultFundProductName":[32]}],[0,"sss-existing-choice-page",{"history":[16],"existingFund":[32]}],[0,"sss-standard-choice-form",{"history":[16],"standardChoiceFormSignature":[32],"formState":[32],"isSubmitDisabled":[32]}],[0,"sss-success"],[0,"sss-my-own-fund-engagement-step-host",{"history":[16],"backendUrl":[32],"accessToken":[32],"fundUsi":[32],"fundName":[32],"memberNumber":[32],"memberFirstName":[32],"memberFamilyName":[32]}],[0,"sss-super-campaign-host",{"history":[16],"scriptImported":[32],"backendUrl":[32],"accessToken":[32]}],[0,"sss-prefill-my-own-fund",{"history":[16],"prefill":[16],"mode":[32],"formState":[32],"isSubmitDisabled":[32],"fundUsi":[32],"fundName":[32],"memberNumber":[32],"memberGivenNames":[32],"memberLastName":[32]}],[0,"sss-prefill-smsf",{"history":[16],"prefill":[16],"mode":[32],"formState":[32],"isSubmitDisabled":[32],"fundName":[32],"fundAbn":[32],"fundEsa":[32],"fundAddressLine1":[32],"fundAddressLine2":[32],"fundAddressCity":[32],"fundAddressPostcode":[32],"fundAddressState":[32],"fundAddress":[32],"memberGivenNames":[32],"memberLastName":[32],"bankAccountName":[32],"bankName":[32],"bankAccountBsb":[32],"bankAccountNumber":[32]}],[0,"sss-prefill-invalid-my-own-fund",{"history":[16],"prefill":[16],"fundUsi":[32],"fundName":[32],"memberNumber":[32],"memberGivenNames":[32],"memberLastName":[32]}],[0,"sss-prefill-invalid-smsf",{"history":[16],"prefill":[16],"fundName":[32],"fundAbn":[32],"fundEsa":[32],"fundAddressLine1":[32],"fundAddressLine2":[32],"fundAddressCity":[32],"fundAddressPostcode":[32],"fundAddressState":[32],"fundAddress":[32],"memberGivenNames":[32],"memberLastName":[32],"bankAccountName":[32],"bankAccountBsb":[32],"bankAccountNumber":[32]}],[1,"super-selection-app",{"ignoreExistingSelection":[4,"ignore-existing-selection"],"accessToken":[1,"access-token"],"backendUrl":[1,"backend-url"],"appBaseUrl":[1,"app-base-url"],"history":[16],"location":[16],"isSelfHosted":[4,"is-self-hosted"],"isAppInitialised":[32]}],[0,"sss-my-own-fund-inputs",{"myOwnFundForm":[16],"showValidationErrors":[4,"show-validation-errors"],"selectedOption":[32]}],[0,"sss-self-managed-fund-inputs",{"fundForm":[16],"showValidationErrors":[4,"show-validation-errors"],"abnValidationStatus":[32],"isAbnTouched":[32],"currentBank":[32],"addressErrorMessage":[32]}],[0,"sss-loading-page"],[0,"sss-dropdown-async",{"testId":[1,"test-id"],"placeholder":[1],"searchFunction":[16],"value":[16],"required":[4],"requiredValidationMessage":[1,"required-validation-message"],"disabled":[4],"minSearchStringLength":[2,"min-search-string-length"],"showValidationErrors":[4,"show-validation-errors"],"searchState":[32],"inputValue":[32],"isDropdownVisible":[32],"filteredOptions":[32],"highlightedOptionIndex":[32],"selectedOption":[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-footer-section",{"textOverride":[1,"text-override"]}],[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]}],[0,"sss-header-section",{"currentPage":[1,"current-page"]}],[4,"sss-custom-fund",{"history":[16],"currentCustomFund":[32],"fundOptionsList":[32],"showFundOptionsSelection":[32]}],[0,"sss-prefill-warning-box",{"notificationList":[16]}],[0,"sss-name-input",{"testId":[1,"test-id"],"value":[1],"name":[1],"readableName":[1,"readable-name"],"showValidationErrors":[4,"show-validation-errors"],"errorMessage":[32]}],[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]}],[0,"sss-prefill-display-field",{"field":[16]}],[0,"sss-prefill-error-box",{"withHeader":[4,"with-header"],"notificationList":[16]}],[4,"sss-button",{"testid":[1],"fillWidth":[4,"fill-width"],"fillWidthOnMobile":[4,"fill-width-on-mobile"],"disabled":[4],"variant":[1],"size":[1],"promiseFn":[16],"state":[32]}],[0,"sss-loading-indicator",{"theme":[1],"size":[2]}],[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"]}]]]], options);
20
20
  });