@flarehr/apollo-super-selection 1.2.27856 → 1.2.27904

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 (23) hide show
  1. package/dist/lib/apollo-super-selection/apollo-super-selection.esm.js +1 -1
  2. package/dist/lib/apollo-super-selection/assets/logo-mercer-mychoice.svg +1 -0
  3. package/dist/lib/apollo-super-selection/p-6079ab69.system.entry.js +69 -0
  4. package/dist/lib/apollo-super-selection/p-bdcfc026.system.js +1 -1
  5. package/dist/lib/apollo-super-selection/p-c439cc69.entry.js +14 -0
  6. package/dist/lib/cjs/sss-button_30.cjs.entry.js +53 -6
  7. package/dist/lib/collection/components/super-selection-app/api/super-selection.api.dto.js +6 -0
  8. package/dist/lib/collection/components/super-selection-app/funds/constants.js +27 -2
  9. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund.store.js +3 -0
  10. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v1-iframe-builder.js +2 -0
  11. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-iframe-builder.js +2 -0
  12. package/dist/lib/collection/components/super-selection-app/funds/slate-super/services/slate-iframe-builder.js +2 -0
  13. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-mercer-mychoice.svg +1 -0
  14. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +26 -0
  15. package/dist/lib/collection/components/super-selection-app/super-selection-app.js +1 -3
  16. package/dist/lib/esm/sss-button_30.entry.js +53 -6
  17. package/dist/lib/esm-es5/sss-button_30.entry.js +1 -1
  18. package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +5 -0
  19. package/dist/lib/types/components/super-selection-app/funds/constants.d.ts +9 -0
  20. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/promoted-fund.store.d.ts +1 -0
  21. package/package.json +1 -1
  22. package/dist/lib/apollo-super-selection/p-0bc7e74b.system.entry.js +0 -69
  23. package/dist/lib/apollo-super-selection/p-1472a495.entry.js +0 -14
@@ -264,7 +264,7 @@ class TapSubscriber extends datoramaAkita.Subscriber {
264
264
  }
265
265
  }
266
266
 
267
- const AppVersion = '1.2.27856';
267
+ const AppVersion = '1.2.27904';
268
268
 
269
269
  // -------------------------------------------------------------------------------------
270
270
  // guards
@@ -4070,6 +4070,15 @@ const First = {
4070
4070
  Abn: '56 286 625 181',
4071
4071
  FooterTextOverride: none
4072
4072
  };
4073
+ const MercerMyChoice = {
4074
+ Id: 'mercermychoice',
4075
+ Name: 'Mercer MyChoice',
4076
+ Logo: 'logo-mercer-mychoice.svg',
4077
+ PdsUrl: 'https://www.google.com.au',
4078
+ TmdUrl: 'https://www.google.com.au',
4079
+ Abn: '79 004 717 533',
4080
+ FooterTextOverride: some(PoweredByFlareFS)
4081
+ };
4073
4082
  const PromotedFundIdList = [
4074
4083
  { dtoPropName: 'slate', id: Slate.Id },
4075
4084
  { dtoPropName: 'australianRetirementTrust', id: AustralianRetirementTrust.Id },
@@ -4078,7 +4087,8 @@ const PromotedFundIdList = [
4078
4087
  { dtoPropName: 'australianEthical', id: AustralianEthical.Id },
4079
4088
  { dtoPropName: 'virgin', id: Virgin.Id },
4080
4089
  { dtoPropName: 'spirit', id: Spirit.Id },
4081
- { dtoPropName: 'firstSuper', id: First.Id }
4090
+ { dtoPropName: 'firstSuper', id: First.Id },
4091
+ { dtoPropName: 'mercerMyChoice', id: MercerMyChoice.Id }
4082
4092
  ];
4083
4093
  const getFundNameById = (id) => {
4084
4094
  switch (id) {
@@ -4098,11 +4108,23 @@ const getFundNameById = (id) => {
4098
4108
  return Spirit.Name;
4099
4109
  case First.Id:
4100
4110
  return First.Name;
4111
+ case MercerMyChoice.Id:
4112
+ return MercerMyChoice.Name;
4101
4113
  default:
4102
4114
  return;
4103
4115
  }
4104
4116
  };
4105
- const getFooterTextOverrideByFundId = (id) => { var _a, _b; return (_b = (_a = [Slate, AustralianRetirementTrust, Aware, Active, AustralianEthical, Virgin, Spirit, First].find((fund) => (fund.Id = id))) === null || _a === void 0 ? void 0 : _a.FooterTextOverride) !== null && _b !== void 0 ? _b : none; };
4117
+ const getFooterTextOverrideByFundId = (id) => { var _a, _b; return (_b = (_a = [
4118
+ Slate,
4119
+ AustralianRetirementTrust,
4120
+ Aware,
4121
+ Active,
4122
+ AustralianEthical,
4123
+ Virgin,
4124
+ Spirit,
4125
+ First,
4126
+ MercerMyChoice
4127
+ ].find((fund) => fund.Id == id)) === null || _a === void 0 ? void 0 : _a.FooterTextOverride) !== null && _b !== void 0 ? _b : none; };
4106
4128
  const getFundUsiById = (id) => {
4107
4129
  switch (id) {
4108
4130
  case Slate.Id:
@@ -4138,6 +4160,9 @@ const getLogoSrc = (id) => {
4138
4160
  case First.Id:
4139
4161
  logo = First.Logo;
4140
4162
  break;
4163
+ case MercerMyChoice.Id:
4164
+ logo = MercerMyChoice.Logo;
4165
+ break;
4141
4166
  default:
4142
4167
  return;
4143
4168
  }
@@ -4170,6 +4195,9 @@ function getPromotedFundUsi(dto) {
4170
4195
  else if ('firstSuper' in dto) {
4171
4196
  return some(dto.firstSuper.usi);
4172
4197
  }
4198
+ else if ('mercerMyChoice' in dto) {
4199
+ return some(dto.mercerMyChoice.usi);
4200
+ }
4173
4201
  else {
4174
4202
  return none;
4175
4203
  }
@@ -4216,6 +4244,9 @@ function getPromotedFundMemberNumber(dto) {
4216
4244
  else if ('firstSuper' in dto) {
4217
4245
  return some(dto.firstSuper.memberNumber);
4218
4246
  }
4247
+ else if ('mercerMyChoice' in dto) {
4248
+ return some(dto.mercerMyChoice.memberNumber);
4249
+ }
4219
4250
  else {
4220
4251
  return none;
4221
4252
  }
@@ -4656,6 +4687,9 @@ const initial$1 = {
4656
4687
  fundId: ''
4657
4688
  };
4658
4689
  const { state: state$2 } = createStore(initial$1);
4690
+ function reset$1() {
4691
+ state$2.fundId = initial$1.fundId;
4692
+ }
4659
4693
 
4660
4694
  class PromotedFundJoinV1IFrameBuilder {
4661
4695
  constructor() {
@@ -4700,6 +4734,7 @@ class PromotedFundJoinV1IFrameBuilder {
4700
4734
  navigationService.navigateInternally(history, SuperSelectionAppRoutes.ChoicePage);
4701
4735
  break;
4702
4736
  }
4737
+ reset$1();
4703
4738
  return;
4704
4739
  }
4705
4740
  if (data.sender === 'promoted-fund-join') {
@@ -4818,6 +4853,7 @@ class PromotedFundJoinV2IFrameBuilder {
4818
4853
  navigationService.navigateInternally(history, SuperSelectionAppRoutes.ChoicePage);
4819
4854
  break;
4820
4855
  }
4856
+ reset$1();
4821
4857
  return;
4822
4858
  }
4823
4859
  if (data.sender === 'promoted-fund-join') {
@@ -5316,6 +5352,7 @@ class SlateIFrameBuilder {
5316
5352
  navigationService.navigateInternally(history, SuperSelectionAppRoutes.ChoicePage);
5317
5353
  break;
5318
5354
  }
5355
+ reset$1();
5319
5356
  return;
5320
5357
  }
5321
5358
  if (data.sender === 'flare' && origin.endsWith('join.slatesuper.com.au')) {
@@ -5604,6 +5641,18 @@ const SuperChoicePage = class {
5604
5641
  index.h("p", null, "Established super fund \u2013 anyone can join including KiwiSaver members")
5605
5642
  ],
5606
5643
  disclaimer: (index.h("div", null, index.h("p", null, "General advice only which has been prepared without taking into account your objectives, financial situation or needs. Consider whether the advice is appropriate for you and read the Product Disclosure Statement (PDS) before making any investment decisions. PDS and Target Market Determination are available at our", ' ', index.h(Link, { onClick: () => this.pdsViewedAsync(First.Name), href: First.PdsUrl }, "website"), ". Past performance is not a reliable indicator of future performance."), index.h("br", null), index.h("p", null, "Issued by First Super Pty Ltd ABN 42 053 498 472, AFSL 223988 (Trustee) as Trustee of First Super ABN 56 286 625 181.")))
5644
+ },
5645
+ {
5646
+ fundId: MercerMyChoice.Id,
5647
+ name: MercerMyChoice.Name,
5648
+ logo: MercerMyChoice.Logo,
5649
+ route: SuperSelectionAppRoutes.PromotedFundJoinV2,
5650
+ features: [
5651
+ index.h("p", null, "Save more super with our low fees"),
5652
+ index.h("p", null, "Take control with 6 MyChoice investment options"),
5653
+ index.h("p", null, "Join 850,000 Australians who trust our global expertise")
5654
+ ],
5655
+ disclaimer: (index.h("div", null, index.h("p", null, "You should consider the", ' ', index.h(Link, { href: MercerMyChoice.PdsUrl, onClick: () => this.pdsViewedAsync(MercerMyChoice.Name) }, "Product Disclosure Statement"), ' ', "and", ' ', index.h(Link, { href: MercerMyChoice.TmdUrl }, "Target Market Determination"), ' ', "before deciding to invest in or apply to become a member of the fund."), index.h("br", null), index.h("p", null, "Issued by Mercer Superannuation (Australia) Limited (\u2018Mercer Super\u2019) ABN: ", MercerMyChoice.Abn)))
5607
5656
  }
5608
5657
  ];
5609
5658
  }
@@ -6648,9 +6697,7 @@ const SuperSelectionApp = class {
6648
6697
  window.location.pathname.includes(SuperSelectionAppRoutes.PromotedFundJoinV2));
6649
6698
  }
6650
6699
  getFooterTextOverride() {
6651
- return this.isFundJoinPage()
6652
- ? getFooterTextOverrideByFundId(state$2.fundId)
6653
- : Option.none;
6700
+ return getFooterTextOverrideByFundId(state$2.fundId);
6654
6701
  }
6655
6702
  routerBaseUrl() {
6656
6703
  var _a;
@@ -24,6 +24,9 @@ function getPromotedFundUsi(dto) {
24
24
  else if ('firstSuper' in dto) {
25
25
  return some(dto.firstSuper.usi);
26
26
  }
27
+ else if ('mercerMyChoice' in dto) {
28
+ return some(dto.mercerMyChoice.usi);
29
+ }
27
30
  else {
28
31
  return none;
29
32
  }
@@ -70,6 +73,9 @@ function getPromotedFundMemberNumber(dto) {
70
73
  else if ('firstSuper' in dto) {
71
74
  return some(dto.firstSuper.memberNumber);
72
75
  }
76
+ else if ('mercerMyChoice' in dto) {
77
+ return some(dto.mercerMyChoice.memberNumber);
78
+ }
73
79
  else {
74
80
  return none;
75
81
  }
@@ -66,6 +66,15 @@ export const First = {
66
66
  Abn: '56 286 625 181',
67
67
  FooterTextOverride: none
68
68
  };
69
+ export const MercerMyChoice = {
70
+ Id: 'mercermychoice',
71
+ Name: 'Mercer MyChoice',
72
+ Logo: 'logo-mercer-mychoice.svg',
73
+ PdsUrl: 'https://www.google.com.au',
74
+ TmdUrl: 'https://www.google.com.au',
75
+ Abn: '79 004 717 533',
76
+ FooterTextOverride: some(PoweredByFlareFS)
77
+ };
69
78
  export const PromotedFundIdList = [
70
79
  { dtoPropName: 'slate', id: Slate.Id },
71
80
  { dtoPropName: 'australianRetirementTrust', id: AustralianRetirementTrust.Id },
@@ -74,7 +83,8 @@ export const PromotedFundIdList = [
74
83
  { dtoPropName: 'australianEthical', id: AustralianEthical.Id },
75
84
  { dtoPropName: 'virgin', id: Virgin.Id },
76
85
  { dtoPropName: 'spirit', id: Spirit.Id },
77
- { dtoPropName: 'firstSuper', id: First.Id }
86
+ { dtoPropName: 'firstSuper', id: First.Id },
87
+ { dtoPropName: 'mercerMyChoice', id: MercerMyChoice.Id }
78
88
  ];
79
89
  export const getFundNameById = (id) => {
80
90
  switch (id) {
@@ -94,11 +104,23 @@ export const getFundNameById = (id) => {
94
104
  return Spirit.Name;
95
105
  case First.Id:
96
106
  return First.Name;
107
+ case MercerMyChoice.Id:
108
+ return MercerMyChoice.Name;
97
109
  default:
98
110
  return;
99
111
  }
100
112
  };
101
- export const getFooterTextOverrideByFundId = (id) => { var _a, _b; return (_b = (_a = [Slate, AustralianRetirementTrust, Aware, Active, AustralianEthical, Virgin, Spirit, First].find((fund) => (fund.Id = id))) === null || _a === void 0 ? void 0 : _a.FooterTextOverride) !== null && _b !== void 0 ? _b : none; };
113
+ export const getFooterTextOverrideByFundId = (id) => { var _a, _b; return (_b = (_a = [
114
+ Slate,
115
+ AustralianRetirementTrust,
116
+ Aware,
117
+ Active,
118
+ AustralianEthical,
119
+ Virgin,
120
+ Spirit,
121
+ First,
122
+ MercerMyChoice
123
+ ].find((fund) => fund.Id == id)) === null || _a === void 0 ? void 0 : _a.FooterTextOverride) !== null && _b !== void 0 ? _b : none; };
102
124
  export const getFundUsiById = (id) => {
103
125
  switch (id) {
104
126
  case Slate.Id:
@@ -134,6 +156,9 @@ export const getLogoSrc = (id) => {
134
156
  case First.Id:
135
157
  logo = First.Logo;
136
158
  break;
159
+ case MercerMyChoice.Id:
160
+ logo = MercerMyChoice.Logo;
161
+ break;
137
162
  default:
138
163
  return;
139
164
  }
@@ -3,4 +3,7 @@ export const initial = {
3
3
  fundId: ''
4
4
  };
5
5
  const { state } = createStore(initial);
6
+ export function reset() {
7
+ state.fundId = initial.fundId;
8
+ }
6
9
  export default state;
@@ -6,6 +6,7 @@ import superSelectionAppService from '../../../services/super-selection-app.serv
6
6
  import { getFundNameById } from '../../constants';
7
7
  import promotedFundChoiceApi from '../api/promoted-fund-choice.api';
8
8
  import promotedFundState from '../promoted-fund.store';
9
+ import { reset as resetPromotedFundState } from '../promoted-fund.store';
9
10
  class PromotedFundJoinV1IFrameBuilder {
10
11
  constructor() {
11
12
  this.hostIsLocalSuperSelection = () => window.location.origin === 'http://localhost:7100';
@@ -49,6 +50,7 @@ class PromotedFundJoinV1IFrameBuilder {
49
50
  navigationService.navigateInternally(history, SuperSelectionAppRoutes.ChoicePage);
50
51
  break;
51
52
  }
53
+ resetPromotedFundState();
52
54
  return;
53
55
  }
54
56
  if (data.sender === 'promoted-fund-join') {
@@ -6,6 +6,7 @@ import superSelectionAppService from '../../../services/super-selection-app.serv
6
6
  import { getFundNameById } from '../../constants';
7
7
  import promotedFundChoiceApi from '../api/promoted-fund-choice.api';
8
8
  import promotedFundState from '../promoted-fund.store';
9
+ import { reset as resetPromotedFundState } from '../promoted-fund.store';
9
10
  class PromotedFundJoinV2IFrameBuilder {
10
11
  constructor() {
11
12
  this.environmentDiscriminator = () => {
@@ -55,6 +56,7 @@ class PromotedFundJoinV2IFrameBuilder {
55
56
  navigationService.navigateInternally(history, SuperSelectionAppRoutes.ChoicePage);
56
57
  break;
57
58
  }
59
+ resetPromotedFundState();
58
60
  return;
59
61
  }
60
62
  if (data.sender === 'promoted-fund-join') {
@@ -4,6 +4,7 @@ import navigationService from '../../../services/navigation.service';
4
4
  import { SuperSelectionAppRoutes } from '../../../services/super-selection-app.routes';
5
5
  import superSelectionAppService from '../../../services/super-selection-app.service';
6
6
  import { Slate } from '../../constants';
7
+ import { reset as resetPromotedFundState } from '../../promoted-fund/promoted-fund.store';
7
8
  import slateChoiceApi from '../api/slate-choice.api';
8
9
  class SlateIFrameBuilder {
9
10
  constructor() {
@@ -68,6 +69,7 @@ class SlateIFrameBuilder {
68
69
  navigationService.navigateInternally(history, SuperSelectionAppRoutes.ChoicePage);
69
70
  break;
70
71
  }
72
+ resetPromotedFundState();
71
73
  return;
72
74
  }
73
75
  if (data.sender === 'flare' && origin.endsWith('join.slatesuper.com.au')) {
@@ -0,0 +1 @@
1
+ <svg id="Mercer" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 473.89 73.8"><defs><style>.cls-1{fill:#002c77;}</style></defs><path class="cls-1" d="M157.17,69.88V4.14H170l22.67,35.3,22.92-35.3H228V69.88H216.08V22.31L192.55,58.73,169.11,22.4V69.88Z"/><path class="cls-1" d="M266.37,71.44a33,33,0,0,1-14.44-3,23.15,23.15,0,0,1-10-8.91q-3.63-5.88-3.63-14.44a28.55,28.55,0,0,1,3.24-13.84,24.21,24.21,0,0,1,8.95-9.39,25,25,0,0,1,13.06-3.41,23.72,23.72,0,0,1,12.24,3.07,20.73,20.73,0,0,1,8.09,8.6,28,28,0,0,1,2.86,13c0,.69,0,1.37-.09,2s-.14,1.66-.26,3H249.76a15,15,0,0,0,5.54,9.73q4.5,3.49,12.11,3.5a29.22,29.22,0,0,0,17.82-6V65.56a33.79,33.79,0,0,1-8.87,4.28A32.3,32.3,0,0,1,266.37,71.44Zm-3.29-44a12.22,12.22,0,0,0-9,3.42q-3.47,3.42-4.33,9.56h25.95a9.91,9.91,0,0,0-.17-2,13.31,13.31,0,0,0-4.06-8.18A12.31,12.31,0,0,0,263.08,27.41Z"/><path class="cls-1" d="M297.25,69.88V20h11.16l.09,10.38a18,18,0,0,1,6.05-8.13,15,15,0,0,1,9.17-3,25.23,25.23,0,0,1,3.29.25,14.23,14.23,0,0,1,3,.7V31.3a31.73,31.73,0,0,0-7.79-1.12c-4.32,0-7.63,1.4-9.9,4.2s-3.42,6.84-3.42,12.15V69.88Z"/><path class="cls-1" d="M361,71.44a29.28,29.28,0,0,1-14-3.2,22.2,22.2,0,0,1-9.21-9.13,28.44,28.44,0,0,1-3.24-13.88,28.51,28.51,0,0,1,3.33-14,23.93,23.93,0,0,1,9.25-9.39,27.21,27.21,0,0,1,13.71-3.37,25.51,25.51,0,0,1,7.18.95,48.18,48.18,0,0,1,6.23,2.25V32.43a25.27,25.27,0,0,0-12.54-3.55q-7,0-11.2,4.28t-4.2,11.64q0,7.7,4.2,12t11.63,4.28a22.54,22.54,0,0,0,5.8-.73A44.65,44.65,0,0,0,374.2,58v10.3a31.58,31.58,0,0,1-6.1,2.25A28.61,28.61,0,0,1,361,71.44Z"/><path class="cls-1" d="M409.23,71.44a32.94,32.94,0,0,1-14.44-3,23.15,23.15,0,0,1-10-8.91q-3.63-5.88-3.63-14.44a28.55,28.55,0,0,1,3.24-13.84,24.21,24.21,0,0,1,8.95-9.39,25,25,0,0,1,13.06-3.41,23.72,23.72,0,0,1,12.24,3.07,20.73,20.73,0,0,1,8.09,8.6,28,28,0,0,1,2.86,13c0,.69,0,1.37-.09,2s-.15,1.66-.26,3H392.62a15,15,0,0,0,5.54,9.73q4.5,3.49,12.11,3.5a29.22,29.22,0,0,0,17.82-6V65.56a33.79,33.79,0,0,1-8.87,4.28A32.3,32.3,0,0,1,409.23,71.44Zm-3.29-44a12.22,12.22,0,0,0-9,3.42q-3.46,3.42-4.33,9.56h25.95a9.91,9.91,0,0,0-.17-2,13.27,13.27,0,0,0-4.07-8.18A12.26,12.26,0,0,0,405.94,27.41Z"/><path class="cls-1" d="M441.11,69.88V20h11.16l.09,10.38a18,18,0,0,1,6.05-8.13,15,15,0,0,1,9.17-3,25.23,25.23,0,0,1,3.29.25,14.26,14.26,0,0,1,3,.7V31.3a26.81,26.81,0,0,0-3.63-.77,27.53,27.53,0,0,0-4.15-.35q-6.5,0-9.9,4.2t-3.42,12.15V69.88Z"/><path class="cls-1" d="M120.93,15.94,94.65.8a7.46,7.46,0,0,0-6.73,0L15.4,42.57,55.53,11.83,36.38.8a7.46,7.46,0,0,0-6.73,0L3.36,15.94A7.46,7.46,0,0,0,0,21.76V52a7.46,7.46,0,0,0,3.36,5.82L29.65,73a7.46,7.46,0,0,0,6.73,0L108.9,31.23,68.77,62,87.92,73a7.46,7.46,0,0,0,6.73,0l26.28-15.14A7.47,7.47,0,0,0,124.3,52V21.77A7.47,7.47,0,0,0,120.93,15.94Z"/></svg>
@@ -298,6 +298,32 @@ export class SuperChoicePage {
298
298
  ". Past performance is not a reliable indicator of future performance."),
299
299
  h("br", null),
300
300
  h("p", null, "Issued by First Super Pty Ltd ABN 42 053 498 472, AFSL 223988 (Trustee) as Trustee of First Super ABN 56 286 625 181.")))
301
+ },
302
+ {
303
+ fundId: constants.MercerMyChoice.Id,
304
+ name: constants.MercerMyChoice.Name,
305
+ logo: constants.MercerMyChoice.Logo,
306
+ route: SuperSelectionAppRoutes.PromotedFundJoinV2,
307
+ features: [
308
+ h("p", null, "Save more super with our low fees"),
309
+ h("p", null, "Take control with 6 MyChoice investment options"),
310
+ h("p", null, "Join 850,000 Australians who trust our global expertise")
311
+ ],
312
+ disclaimer: (h("div", null,
313
+ h("p", null,
314
+ "You should consider the",
315
+ ' ',
316
+ h(Link, { href: constants.MercerMyChoice.PdsUrl, onClick: () => this.pdsViewedAsync(constants.MercerMyChoice.Name) }, "Product Disclosure Statement"),
317
+ ' ',
318
+ "and",
319
+ ' ',
320
+ h(Link, { href: constants.MercerMyChoice.TmdUrl }, "Target Market Determination"),
321
+ ' ',
322
+ "before deciding to invest in or apply to become a member of the fund."),
323
+ h("br", null),
324
+ h("p", null,
325
+ "Issued by Mercer Superannuation (Australia) Limited (\u2018Mercer Super\u2019) ABN: ",
326
+ constants.MercerMyChoice.Abn)))
301
327
  }
302
328
  ];
303
329
  }
@@ -82,9 +82,7 @@ export class SuperSelectionApp {
82
82
  window.location.pathname.includes(SuperSelectionAppRoutes.PromotedFundJoinV2));
83
83
  }
84
84
  getFooterTextOverride() {
85
- return this.isFundJoinPage()
86
- ? constants.getFooterTextOverrideByFundId(promotedFundState.fundId)
87
- : O.none;
85
+ return constants.getFooterTextOverrideByFundId(promotedFundState.fundId);
88
86
  }
89
87
  routerBaseUrl() {
90
88
  var _a;
@@ -260,7 +260,7 @@ class TapSubscriber extends Subscriber {
260
260
  }
261
261
  }
262
262
 
263
- const AppVersion = '1.2.27856';
263
+ const AppVersion = '1.2.27904';
264
264
 
265
265
  // -------------------------------------------------------------------------------------
266
266
  // guards
@@ -4066,6 +4066,15 @@ const First = {
4066
4066
  Abn: '56 286 625 181',
4067
4067
  FooterTextOverride: none
4068
4068
  };
4069
+ const MercerMyChoice = {
4070
+ Id: 'mercermychoice',
4071
+ Name: 'Mercer MyChoice',
4072
+ Logo: 'logo-mercer-mychoice.svg',
4073
+ PdsUrl: 'https://www.google.com.au',
4074
+ TmdUrl: 'https://www.google.com.au',
4075
+ Abn: '79 004 717 533',
4076
+ FooterTextOverride: some(PoweredByFlareFS)
4077
+ };
4069
4078
  const PromotedFundIdList = [
4070
4079
  { dtoPropName: 'slate', id: Slate.Id },
4071
4080
  { dtoPropName: 'australianRetirementTrust', id: AustralianRetirementTrust.Id },
@@ -4074,7 +4083,8 @@ const PromotedFundIdList = [
4074
4083
  { dtoPropName: 'australianEthical', id: AustralianEthical.Id },
4075
4084
  { dtoPropName: 'virgin', id: Virgin.Id },
4076
4085
  { dtoPropName: 'spirit', id: Spirit.Id },
4077
- { dtoPropName: 'firstSuper', id: First.Id }
4086
+ { dtoPropName: 'firstSuper', id: First.Id },
4087
+ { dtoPropName: 'mercerMyChoice', id: MercerMyChoice.Id }
4078
4088
  ];
4079
4089
  const getFundNameById = (id) => {
4080
4090
  switch (id) {
@@ -4094,11 +4104,23 @@ const getFundNameById = (id) => {
4094
4104
  return Spirit.Name;
4095
4105
  case First.Id:
4096
4106
  return First.Name;
4107
+ case MercerMyChoice.Id:
4108
+ return MercerMyChoice.Name;
4097
4109
  default:
4098
4110
  return;
4099
4111
  }
4100
4112
  };
4101
- const getFooterTextOverrideByFundId = (id) => { var _a, _b; return (_b = (_a = [Slate, AustralianRetirementTrust, Aware, Active, AustralianEthical, Virgin, Spirit, First].find((fund) => (fund.Id = id))) === null || _a === void 0 ? void 0 : _a.FooterTextOverride) !== null && _b !== void 0 ? _b : none; };
4113
+ const getFooterTextOverrideByFundId = (id) => { var _a, _b; return (_b = (_a = [
4114
+ Slate,
4115
+ AustralianRetirementTrust,
4116
+ Aware,
4117
+ Active,
4118
+ AustralianEthical,
4119
+ Virgin,
4120
+ Spirit,
4121
+ First,
4122
+ MercerMyChoice
4123
+ ].find((fund) => fund.Id == id)) === null || _a === void 0 ? void 0 : _a.FooterTextOverride) !== null && _b !== void 0 ? _b : none; };
4102
4124
  const getFundUsiById = (id) => {
4103
4125
  switch (id) {
4104
4126
  case Slate.Id:
@@ -4134,6 +4156,9 @@ const getLogoSrc = (id) => {
4134
4156
  case First.Id:
4135
4157
  logo = First.Logo;
4136
4158
  break;
4159
+ case MercerMyChoice.Id:
4160
+ logo = MercerMyChoice.Logo;
4161
+ break;
4137
4162
  default:
4138
4163
  return;
4139
4164
  }
@@ -4166,6 +4191,9 @@ function getPromotedFundUsi(dto) {
4166
4191
  else if ('firstSuper' in dto) {
4167
4192
  return some(dto.firstSuper.usi);
4168
4193
  }
4194
+ else if ('mercerMyChoice' in dto) {
4195
+ return some(dto.mercerMyChoice.usi);
4196
+ }
4169
4197
  else {
4170
4198
  return none;
4171
4199
  }
@@ -4212,6 +4240,9 @@ function getPromotedFundMemberNumber(dto) {
4212
4240
  else if ('firstSuper' in dto) {
4213
4241
  return some(dto.firstSuper.memberNumber);
4214
4242
  }
4243
+ else if ('mercerMyChoice' in dto) {
4244
+ return some(dto.mercerMyChoice.memberNumber);
4245
+ }
4215
4246
  else {
4216
4247
  return none;
4217
4248
  }
@@ -4652,6 +4683,9 @@ const initial$1 = {
4652
4683
  fundId: ''
4653
4684
  };
4654
4685
  const { state: state$2 } = createStore(initial$1);
4686
+ function reset$1() {
4687
+ state$2.fundId = initial$1.fundId;
4688
+ }
4655
4689
 
4656
4690
  class PromotedFundJoinV1IFrameBuilder {
4657
4691
  constructor() {
@@ -4696,6 +4730,7 @@ class PromotedFundJoinV1IFrameBuilder {
4696
4730
  navigationService.navigateInternally(history, SuperSelectionAppRoutes.ChoicePage);
4697
4731
  break;
4698
4732
  }
4733
+ reset$1();
4699
4734
  return;
4700
4735
  }
4701
4736
  if (data.sender === 'promoted-fund-join') {
@@ -4814,6 +4849,7 @@ class PromotedFundJoinV2IFrameBuilder {
4814
4849
  navigationService.navigateInternally(history, SuperSelectionAppRoutes.ChoicePage);
4815
4850
  break;
4816
4851
  }
4852
+ reset$1();
4817
4853
  return;
4818
4854
  }
4819
4855
  if (data.sender === 'promoted-fund-join') {
@@ -5312,6 +5348,7 @@ class SlateIFrameBuilder {
5312
5348
  navigationService.navigateInternally(history, SuperSelectionAppRoutes.ChoicePage);
5313
5349
  break;
5314
5350
  }
5351
+ reset$1();
5315
5352
  return;
5316
5353
  }
5317
5354
  if (data.sender === 'flare' && origin.endsWith('join.slatesuper.com.au')) {
@@ -5600,6 +5637,18 @@ const SuperChoicePage = class {
5600
5637
  h("p", null, "Established super fund \u2013 anyone can join including KiwiSaver members")
5601
5638
  ],
5602
5639
  disclaimer: (h("div", null, h("p", null, "General advice only which has been prepared without taking into account your objectives, financial situation or needs. Consider whether the advice is appropriate for you and read the Product Disclosure Statement (PDS) before making any investment decisions. PDS and Target Market Determination are available at our", ' ', h(Link, { onClick: () => this.pdsViewedAsync(First.Name), href: First.PdsUrl }, "website"), ". Past performance is not a reliable indicator of future performance."), h("br", null), h("p", null, "Issued by First Super Pty Ltd ABN 42 053 498 472, AFSL 223988 (Trustee) as Trustee of First Super ABN 56 286 625 181.")))
5640
+ },
5641
+ {
5642
+ fundId: MercerMyChoice.Id,
5643
+ name: MercerMyChoice.Name,
5644
+ logo: MercerMyChoice.Logo,
5645
+ route: SuperSelectionAppRoutes.PromotedFundJoinV2,
5646
+ features: [
5647
+ h("p", null, "Save more super with our low fees"),
5648
+ h("p", null, "Take control with 6 MyChoice investment options"),
5649
+ h("p", null, "Join 850,000 Australians who trust our global expertise")
5650
+ ],
5651
+ disclaimer: (h("div", null, h("p", null, "You should consider the", ' ', h(Link, { href: MercerMyChoice.PdsUrl, onClick: () => this.pdsViewedAsync(MercerMyChoice.Name) }, "Product Disclosure Statement"), ' ', "and", ' ', h(Link, { href: MercerMyChoice.TmdUrl }, "Target Market Determination"), ' ', "before deciding to invest in or apply to become a member of the fund."), h("br", null), h("p", null, "Issued by Mercer Superannuation (Australia) Limited (\u2018Mercer Super\u2019) ABN: ", MercerMyChoice.Abn)))
5603
5652
  }
5604
5653
  ];
5605
5654
  }
@@ -6644,9 +6693,7 @@ const SuperSelectionApp = class {
6644
6693
  window.location.pathname.includes(SuperSelectionAppRoutes.PromotedFundJoinV2));
6645
6694
  }
6646
6695
  getFooterTextOverride() {
6647
- return this.isFundJoinPage()
6648
- ? getFooterTextOverrideByFundId(state$2.fundId)
6649
- : Option.none;
6696
+ return getFooterTextOverrideByFundId(state$2.fundId);
6650
6697
  }
6651
6698
  routerBaseUrl() {
6652
6699
  var _a;