@flarehr/apollo-super-selection 3.59.63229 → 3.62.64158

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 (45) 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-0f723eb4.system.js +1 -1
  4. package/dist/lib/apollo-super-selection/p-af8b28ab.entry.js +14 -0
  5. package/dist/lib/apollo-super-selection/p-e4cfd5f5.system.entry.js +69 -0
  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_28.cjs.entry.js → sss-button_30.cjs.entry.js} +259 -61
  9. package/dist/lib/collection/apollo-super-selection.css +1 -1
  10. package/dist/lib/collection/collection-manifest.json +7 -3
  11. package/dist/lib/collection/components/super-selection-app/api/super-selection.api.dto.js +12 -0
  12. package/dist/lib/collection/components/super-selection-app/funds/constants.js +26 -8
  13. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs.js +28 -12
  14. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.js +8 -2
  15. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund-join-v1-page.js +30 -0
  16. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund-join-v2-page.js +30 -0
  17. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/{promoted-fund-join-iframe-builder.js → promoted-fund-join-v1-iframe-builder.js} +2 -2
  18. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-iframe-builder.js +117 -0
  19. package/dist/lib/collection/components/super-selection-app/funds/slate-super/slate-join-page.js +2 -6
  20. package/dist/lib/collection/components/super-selection-app/misc/iframe-host.js +32 -0
  21. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.routes.js +4 -2
  22. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +54 -41
  23. package/dist/lib/collection/components/super-selection-app/super-selection-app.js +2 -1
  24. package/dist/lib/esm/apollo-super-selection.js +1 -1
  25. package/dist/lib/esm/loader.js +1 -1
  26. package/dist/lib/esm/{sss-button_28.entry.js → sss-button_30.entry.js} +257 -61
  27. package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
  28. package/dist/lib/esm-es5/loader.js +1 -1
  29. package/dist/lib/esm-es5/{sss-button_28.entry.js → sss-button_30.entry.js} +3 -3
  30. package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +10 -0
  31. package/dist/lib/types/components/super-selection-app/funds/constants.d.ts +12 -0
  32. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs.d.ts +6 -1
  33. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.d.ts +1 -0
  34. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/{promoted-fund-join-page.d.ts → promoted-fund-join-v1-page.d.ts} +1 -3
  35. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/promoted-fund-join-v2-page.d.ts +5 -0
  36. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/services/{promoted-fund-join-iframe-builder.d.ts → promoted-fund-join-v1-iframe-builder.d.ts} +2 -2
  37. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-iframe-builder.d.ts +9 -0
  38. package/dist/lib/types/components/super-selection-app/funds/slate-super/slate-join-page.d.ts +0 -2
  39. package/dist/lib/types/components/super-selection-app/misc/iframe-host.d.ts +6 -0
  40. package/dist/lib/types/components/super-selection-app/services/super-selection-app.routes.d.ts +2 -1
  41. package/dist/lib/types/components.d.ts +41 -10
  42. package/package.json +1 -1
  43. package/dist/lib/apollo-super-selection/p-1c352f8f.system.entry.js +0 -69
  44. package/dist/lib/apollo-super-selection/p-be78d5fd.entry.js +0 -14
  45. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund-join-page.js +0 -34
@@ -260,7 +260,7 @@ class TapSubscriber extends Subscriber {
260
260
  }
261
261
  }
262
262
 
263
- const AppVersion = '3.59.63229';
263
+ const AppVersion = '3.62.64158';
264
264
 
265
265
  // -------------------------------------------------------------------------------------
266
266
  // guards
@@ -3555,7 +3555,8 @@ var SuperSelectionAppRoutes;
3555
3555
  SuperSelectionAppRoutes["ExistingChoicePage"] = "/existing";
3556
3556
  SuperSelectionAppRoutes["ChoicePage"] = "/";
3557
3557
  SuperSelectionAppRoutes["SlateJoin"] = "/slate/join/";
3558
- SuperSelectionAppRoutes["PromotedFundJoin"] = "/promoted-fund/join";
3558
+ SuperSelectionAppRoutes["PromotedFundJoinV1"] = "/promoted-fund/join/v1";
3559
+ SuperSelectionAppRoutes["PromotedFundJoinV2"] = "/promoted-fund/join/v2";
3559
3560
  SuperSelectionAppRoutes["MyOwnFund"] = "/super-choice/my-own-fund/";
3560
3561
  SuperSelectionAppRoutes["SelfManagedFund"] = "/super-choice/smsf/";
3561
3562
  SuperSelectionAppRoutes["DefaultFund"] = "/super-choice/default/";
@@ -3567,7 +3568,8 @@ const superSelectionAppStencilRoutes = [
3567
3568
  h("stencil-route", { url: SuperSelectionAppRoutes.ExistingChoicePage, component: "sss-existing-choice-page" }),
3568
3569
  h("stencil-route", { exact: true, url: SuperSelectionAppRoutes.ChoicePage, component: "sss-super-choice-page" }),
3569
3570
  h("stencil-route", { url: SuperSelectionAppRoutes.SlateJoin, component: "sss-slate-join-page" }),
3570
- h("stencil-route", { url: SuperSelectionAppRoutes.PromotedFundJoin, component: "sss-promoted-fund-join-page" }),
3571
+ h("stencil-route", { url: SuperSelectionAppRoutes.PromotedFundJoinV1, component: "sss-promoted-fund-join-v1-page" }),
3572
+ h("stencil-route", { url: SuperSelectionAppRoutes.PromotedFundJoinV2, component: "sss-promoted-fund-join-v2-page" }),
3571
3573
  h("stencil-route", { url: SuperSelectionAppRoutes.MyOwnFund, component: "sss-my-own-fund" }),
3572
3574
  h("stencil-route", { url: SuperSelectionAppRoutes.SelfManagedFund, component: "sss-self-managed-fund" }),
3573
3575
  h("stencil-route", { url: SuperSelectionAppRoutes.DefaultFund, component: "sss-default-fund" }),
@@ -3990,11 +3992,25 @@ const Active = {
3990
3992
  PdsUrl: 'https://www.activesuper.com.au/pds',
3991
3993
  Abn: '28 901 371 321'
3992
3994
  };
3995
+ const AustralianEthical = {
3996
+ Id: 'australian-ethical',
3997
+ Name: 'Australian Ethical',
3998
+ PdsUrl: 'https://www.australianethical.com.au/TODO',
3999
+ Abn: '47 003 188 930'
4000
+ };
4001
+ const Virgin = {
4002
+ Id: 'virgin',
4003
+ Name: 'Virgin Money Super',
4004
+ PdsUrl: 'https://virginmoney.com.au/superannuation/TODO',
4005
+ Abn: '19 905 422 981'
4006
+ };
3993
4007
  const PromotedFundIdList = [
3994
4008
  { dtoPropName: 'slate', id: Slate.Id },
3995
4009
  { dtoPropName: 'australianRetirementTrust', id: AustralianRetirementTrust.Id },
3996
4010
  { dtoPropName: 'aware', id: Aware.Id },
3997
- { dtoPropName: 'active', id: Active.Id }
4011
+ { dtoPropName: 'active', id: Active.Id },
4012
+ { dtoPropName: 'australianEthical', id: AustralianEthical.Id },
4013
+ { dtoPropName: 'virgin', id: Virgin.Id }
3998
4014
  ];
3999
4015
  const getFundNameById = (id) => {
4000
4016
  switch (id) {
@@ -4006,10 +4022,22 @@ const getFundNameById = (id) => {
4006
4022
  return Aware.Name;
4007
4023
  case Active.Id:
4008
4024
  return Active.Name;
4025
+ case AustralianEthical.Id:
4026
+ return AustralianEthical.Name;
4027
+ case Virgin.Id:
4028
+ return Virgin.Name;
4009
4029
  default:
4010
4030
  return;
4011
4031
  }
4012
4032
  };
4033
+ const getFundUsiById = (id) => {
4034
+ switch (id) {
4035
+ case Slate.Id:
4036
+ return Slate.Usi;
4037
+ default:
4038
+ return; // other promoted funds have dynamic USI
4039
+ }
4040
+ };
4013
4041
  const getLogoSrc = (id) => {
4014
4042
  let logo = '';
4015
4043
  switch (id) {
@@ -4025,6 +4053,12 @@ const getLogoSrc = (id) => {
4025
4053
  case Active.Id:
4026
4054
  logo = 'logo-active.svg';
4027
4055
  break;
4056
+ case AustralianEthical.Id:
4057
+ logo = 'logo-slate.png';
4058
+ break;
4059
+ case Virgin.Id:
4060
+ logo = 'logo-slate.png';
4061
+ break;
4028
4062
  default:
4029
4063
  return;
4030
4064
  }
@@ -4045,6 +4079,12 @@ function getPromotedFundUsi(dto) {
4045
4079
  else if ('active' in dto) {
4046
4080
  return some(dto.active.usi);
4047
4081
  }
4082
+ else if ('australianEthical' in dto) {
4083
+ return some(dto.australianEthical.usi);
4084
+ }
4085
+ else if ('virgin' in dto) {
4086
+ return some(dto.virgin.usi);
4087
+ }
4048
4088
  else {
4049
4089
  return none;
4050
4090
  }
@@ -4079,6 +4119,12 @@ function getPromotedFundMemberNumber(dto) {
4079
4119
  else if ('active' in dto) {
4080
4120
  return some(dto.active.memberNumber);
4081
4121
  }
4122
+ else if ('australianEthical' in dto) {
4123
+ return some(dto.australianEthical.memberNumber);
4124
+ }
4125
+ else if ('virgin' in dto) {
4126
+ return some(dto.virgin.memberNumber);
4127
+ }
4082
4128
  else {
4083
4129
  return none;
4084
4130
  }
@@ -4305,6 +4351,18 @@ const HeaderSection = class {
4305
4351
  }
4306
4352
  };
4307
4353
 
4354
+ const IFrameHost = class {
4355
+ constructor(hostRef) {
4356
+ registerInstance(this, hostRef);
4357
+ }
4358
+ componentDidLoad() {
4359
+ this.build(this.iframeElement);
4360
+ }
4361
+ render() {
4362
+ return (h("div", { class: "w-screen" }, h("iframe", { width: "100%", height: window.innerHeight, style: { border: 'none' }, ref: (el) => (this.iframeElement = el) })));
4363
+ }
4364
+ };
4365
+
4308
4366
  const LoadingIndicator = class {
4309
4367
  constructor(hostRef) {
4310
4368
  registerInstance(this, hostRef);
@@ -4429,7 +4487,7 @@ const initial$1 = {
4429
4487
  };
4430
4488
  const { state: state$2 } = createStore(initial$1);
4431
4489
 
4432
- class PromotedFundJoinIFrameBuilder {
4490
+ class PromotedFundJoinV1IFrameBuilder {
4433
4491
  constructor() {
4434
4492
  this.hostIsLocalSuperSelection = () => window.location.origin === 'http://localhost:7100';
4435
4493
  this.environmentDiscriminator = () => {
@@ -4530,17 +4588,132 @@ class PromotedFundJoinIFrameBuilder {
4530
4588
  };
4531
4589
  }
4532
4590
  }
4533
- const PromotedFundJoinIFrameBuilder$1 = new PromotedFundJoinIFrameBuilder();
4591
+ const PromotedFundJoinV1IFrameBuilder$1 = new PromotedFundJoinV1IFrameBuilder();
4534
4592
 
4535
- const PromotedFundJoinPage = class {
4593
+ const PromotedFundJoinV1Page = class {
4536
4594
  constructor(hostRef) {
4537
4595
  registerInstance(this, hostRef);
4538
4596
  }
4539
- componentDidLoad() {
4540
- PromotedFundJoinIFrameBuilder$1.build(this.iframeElement, this.history);
4597
+ render() {
4598
+ return (h("sss-iframe-host", { build: (iframe) => PromotedFundJoinV1IFrameBuilder$1.build(iframe, this.history) }));
4599
+ }
4600
+ };
4601
+
4602
+ class PromotedFundJoinV2IFrameBuilder {
4603
+ constructor() {
4604
+ this.environmentDiscriminator = () => {
4605
+ const discriminator = window.location.hostname.toLowerCase().split('.')[0];
4606
+ switch (discriminator) {
4607
+ case 'autodev-partner':
4608
+ case 'test-partner':
4609
+ case 'partner':
4610
+ case 'sandbox-partner':
4611
+ return discriminator.replace('partner', '');
4612
+ default:
4613
+ return 'autodev-';
4614
+ }
4615
+ };
4616
+ this.promotedFundJoinAppUrl = () => {
4617
+ return `https://${this.environmentDiscriminator()}api.simplefinancialchoices.com/promoted-funds/embed`;
4618
+ };
4619
+ }
4620
+ build(iframe$1, history) {
4621
+ if (!(iframe$1 === null || iframe$1 === void 0 ? void 0 : iframe$1.contentDocument))
4622
+ return;
4623
+ const postData = Object.assign(Object.assign({}, this.getMemberData()), { partnerId: superSelectionAppService.partnerIdOrDefault, accountId: superSelectionAppService.accountIdOrDefault, fundId: state$2.fundId, authToken: superSelectionAppService.jwt });
4624
+ const handleMessage = (event) => {
4625
+ var _a;
4626
+ const { data } = event;
4627
+ if (!data) {
4628
+ return;
4629
+ }
4630
+ if (data.sender === 'promoted-fund-redirect') {
4631
+ window.removeEventListener('message', handleMessage);
4632
+ switch (data.type) {
4633
+ case 'cancel':
4634
+ navigationService.navigateInternally(history, SuperSelectionAppRoutes.ChoicePage);
4635
+ break;
4636
+ case 'success':
4637
+ if (data.memberNumber) {
4638
+ navigationService.navigateInternallyToStandardChoice({
4639
+ history,
4640
+ fundName: (_a = getFundNameById(state$2.fundId)) !== null && _a !== void 0 ? _a : '',
4641
+ handleSubmitFn: (standardChoiceFormSignature) => promotedFundChoiceApi.submitChoiceAsync(Object.assign(Object.assign({}, state$2), { memberNumber: data.memberNumber, usi: data.usi.replace(/ /g, ''), standardChoiceFormSignature, shownFunds: superSelectionAppService.promotedFunds })),
4642
+ promotedFundId: state$2.fundId
4643
+ });
4644
+ break;
4645
+ }
4646
+ /* falls through */
4647
+ default:
4648
+ navigationService.navigateInternally(history, SuperSelectionAppRoutes.ChoicePage);
4649
+ break;
4650
+ }
4651
+ return;
4652
+ }
4653
+ if (data.sender === 'promoted-fund-join') {
4654
+ switch (data.type) {
4655
+ case 'contentResized':
4656
+ iframe$1.height = data.height > 0 ? data.height : iframe$1.height;
4657
+ iframe$1.width = data.width > 0 ? data.width : iframe$1.width;
4658
+ break;
4659
+ case 'pageNavigated':
4660
+ window.scroll(iframe$1.offsetLeft, iframe$1.offsetTop);
4661
+ iframe.navigation(window.location.href);
4662
+ break;
4663
+ }
4664
+ }
4665
+ };
4666
+ window.addEventListener('message', handleMessage);
4667
+ const iframeDoc = iframe$1.contentDocument;
4668
+ iframeDoc.open();
4669
+ const form = iframeDoc.createElement('form');
4670
+ form.method = 'POST';
4671
+ form.target = '_self';
4672
+ form.action = this.promotedFundJoinAppUrl();
4673
+ let prop;
4674
+ for (prop in postData) {
4675
+ const value = postData[prop];
4676
+ if (value !== undefined) {
4677
+ const input = document.createElement('input');
4678
+ input.type = 'hidden';
4679
+ input.name = prop;
4680
+ input.value = value;
4681
+ form.append(input);
4682
+ }
4683
+ }
4684
+ iframeDoc.appendChild(form);
4685
+ iframeDoc.close();
4686
+ form.submit();
4687
+ }
4688
+ getMemberData() {
4689
+ var _a, _b;
4690
+ const superBuyer = superSelectionAppService.superBuyer;
4691
+ return {
4692
+ title: superBuyer.userProfile.title,
4693
+ firstName: superBuyer.userProfile.firstName,
4694
+ middleName: superBuyer.userProfile.middleName,
4695
+ lastName: superBuyer.userProfile.lastName,
4696
+ dateOfBirth: superBuyer.userProfile.dateOfBirth,
4697
+ gender: superBuyer.userProfile.gender,
4698
+ email: superBuyer.userProfile.email,
4699
+ mobilePhone: superBuyer.userProfile.mobilePhone,
4700
+ taxFileNumber: (_a = superBuyer.tfn) !== null && _a !== void 0 ? _a : '',
4701
+ addressLine1: superBuyer.userProfile.address.addressLine1,
4702
+ addressLine2: (_b = superBuyer.userProfile.address.addressLine2) !== null && _b !== void 0 ? _b : '',
4703
+ city: superBuyer.userProfile.address.city,
4704
+ state: superBuyer.userProfile.address.state,
4705
+ postCode: superBuyer.userProfile.address.postcode
4706
+ };
4707
+ }
4708
+ }
4709
+ const PromotedFundJoinV2IFrameBuilder$1 = new PromotedFundJoinV2IFrameBuilder();
4710
+
4711
+ const PromotedFundJoinV2Page = class {
4712
+ constructor(hostRef) {
4713
+ registerInstance(this, hostRef);
4541
4714
  }
4542
4715
  render() {
4543
- return (h(Host, { class: "w-screen" }, h("iframe", { width: "100%", height: window.innerHeight, style: { border: 'none' }, ref: (el) => (this.iframeElement = el) })));
4716
+ return (h("sss-iframe-host", { build: (iframe) => PromotedFundJoinV2IFrameBuilder$1.build(iframe, this.history) }));
4544
4717
  }
4545
4718
  };
4546
4719
 
@@ -4549,6 +4722,7 @@ const SelfManagedFund = class {
4549
4722
  registerInstance(this, hostRef);
4550
4723
  this.showSmsfNotSupported = false;
4551
4724
  this.isSubmitDisabled = true;
4725
+ this.isAbnValid = false;
4552
4726
  this.eventTrackingService = EventTrackingService.Instance;
4553
4727
  this.success = () => {
4554
4728
  navigationService.navigateInternallyToStandardChoice({
@@ -4586,9 +4760,14 @@ const SelfManagedFund = class {
4586
4760
  render() {
4587
4761
  return (h(Host, null, h("sss-header-section", { currentPage: "own-fund" }), h("div", { class: "flex justify-center mt-11" }, h("sss-custom-fund", null, h("form", { noValidate: true, onSubmit: (ev) => ev.preventDefault(), class: {
4588
4762
  'was-validated': this.formState === 'validated'
4589
- }, ref: (el) => (this.formElement = el), onInput: (_) => (this.isSubmitDisabled = !this.formElement.checkValidity()) }, h("div", { class: "p-4 sm:p-6 border shadow-sm rounded-lg max-w-560" }, h("p", { class: "sm:text-lg font-bold" }, "Fund details"), h("div", { class: "bg-yellow-50 border-l-4 border-yellow-400 p-4 my-3" }, h("div", { class: "flex" }, h("div", { class: "flex-shrink-0" }, h("img", { class: "h-5 w-5", src: getAssetPath('assets/icon-exclamation.svg') })), h("div", { class: "ml-3 text-sm text-yellow-700 leading-5" }, "Make sure your Self-managed super fund (SMSF) is a registered fund before completing this step."))), h("sss-self-managed-fund-inputs", { fundForm: state$1.selfManagedFundForm, showValidationErrors: this.formState === 'validated', onFormChanged: (event) => {
4763
+ }, ref: (el) => (this.formElement = el) }, h("div", { class: "p-4 sm:p-6 border shadow-sm rounded-lg max-w-560" }, h("p", { class: "sm:text-lg font-bold" }, "Fund details"), h("div", { class: "bg-yellow-50 border-l-4 border-yellow-400 p-4 my-3" }, h("div", { class: "flex" }, h("div", { class: "flex-shrink-0" }, h("img", { class: "h-5 w-5", src: getAssetPath('assets/icon-exclamation.svg') })), h("div", { class: "ml-3 text-sm text-yellow-700 leading-5" }, "Make sure your Self-managed super fund (SMSF) is a registered fund before completing this step."))), h("sss-self-managed-fund-inputs", { fundForm: state$1.selfManagedFundForm, showValidationErrors: this.formState === 'validated', onFormChanged: (event) => {
4590
4764
  state$1.selfManagedFundForm = Object.assign(Object.assign({}, state$1.selfManagedFundForm), event.detail);
4591
- } })), h("div", { class: "flex justify-center mt-8" }, h("div", { class: "sm:max-w-320 w-full" }, h("div", { class: "mb-4" }, h("sss-button", { fillWidth: true, promiseFn: () => this.handleSubmitForm(), disabled: this.isSubmitDisabled }, "Continue")), h("stencil-route-link", { url: SuperSelectionAppRoutes.ChoicePage }, h("sss-button", { fillWidth: true, variant: "secondary" }, "Back")))), this.showSmsfNotSupported && (h("sss-smsf-not-supported-dialog", { ref: (el) => (this.notSupportedDialog = el), onContinue: this.success })))))));
4765
+ if (event.detail.isAbnValid !== undefined)
4766
+ this.isAbnValid = event.detail.isAbnValid;
4767
+ this.isSubmitDisabled = !this.formElement.checkValidity() || !this.isAbnValid;
4768
+ } })), h("div", { class: "flex justify-center mt-8" }, h("div", { class: "sm:max-w-320 w-full" }, h("div", { class: "mb-4", onClick:
4769
+ // user clicks on disabled button (div wrapper) then validation errors will show
4770
+ () => (this.formState = 'validated') }, h("sss-button", { fillWidth: true, promiseFn: () => this.handleSubmitForm(), disabled: this.isSubmitDisabled }, "Continue")), h("stencil-route-link", { url: SuperSelectionAppRoutes.ChoicePage }, h("sss-button", { fillWidth: true, variant: "secondary" }, "Back")))), this.showSmsfNotSupported && (h("sss-smsf-not-supported-dialog", { ref: (el) => (this.notSupportedDialog = el), onContinue: this.success })))))));
4592
4771
  }
4593
4772
  componentDidRender() {
4594
4773
  var _a;
@@ -4724,6 +4903,7 @@ const SelfManagedFundInputs = class {
4724
4903
  constructor(hostRef) {
4725
4904
  registerInstance(this, hostRef);
4726
4905
  this.formChanged = createEvent(this, "formChanged", 7);
4906
+ this.isAbnValid = false;
4727
4907
  this.currentBank = none;
4728
4908
  this.addressErrorMessage = none;
4729
4909
  this.stateOptions = [
@@ -4745,19 +4925,23 @@ const SelfManagedFundInputs = class {
4745
4925
  'invalid:border-red-300 invalid:text-red-900 invalid:placeholder-red-300 invalid:focus:ring-red-500 invalid:focus:border-red-500': this
4746
4926
  .showValidationErrors
4747
4927
  };
4748
- return (h("div", null, h("div", null, h("label", { class: "text-sm font-medium text-gray-700" }, "Fund name"), h("div", { class: "mt-1" }, h("input", { type: "text", class: inputClass, required: true, minlength: "2", name: "fundName", id: "fundName", value: state$1.selfManagedFundForm.fundName, onChange: (ev) => this.updateFormField('fundName', ev.target.value.trim()) }), h("div", { class: "invalid-feedback mt-2 text-sm text-red-600" }, "Enter a valid fund name"))), h("div", { class: "mt-3" }, h("label", { class: "text-sm font-medium text-gray-700" }, "Fund ABN"), h("div", { class: "mt-1" }, h("input", { type: "text", class: inputClass, required: true, minlength: "2", name: "fundAbn", id: "fundAbn", value: state$1.selfManagedFundForm.fundAbn, onChange: (ev) => this.updateFormField('fundAbn', ev.target.value.trim()) }), h("div", { class: "invalid-feedback mt-2 text-sm text-red-600" }, "Enter a valid fund ABN"))), h("div", { class: "mt-3" }, h("label", { class: "text-sm font-medium text-gray-700" }, "Electronic service address alias (ESA)"), h("div", { class: "mt-1" }, h("input", { type: "text", class: inputClass, required: true, minlength: "2", name: "fundEsa", id: "fundEsa", value: state$1.selfManagedFundForm.fundEsa, onChange: (ev) => this.updateFormField('fundEsa', ev.target.value.trim()) }), h("div", { class: "invalid-feedback mt-2 text-sm text-red-600" }, "Enter a valid fund ESA"))), h("div", { class: "mt-3" }, h("label", { class: "text-sm font-medium text-gray-700" }, "Fund address"), h("div", { class: "mt-1 rounded-md shadow-sm -space-y-px" }, h("input", { placeholder: "Address line 1", type: "text", class: Object.assign(Object.assign({}, inputClass), { 'rounded-none rounded-t-md shadow-none': true }), required: true, minlength: "2", name: "addressLine1", id: "addressLine1", value: state$1.selfManagedFundForm.addressLine1, onChange: (ev) => {
4928
+ return (h("div", null, h("div", null, h("label", { class: "text-sm font-medium text-gray-700" }, "Fund name"), h("div", { class: "mt-1" }, h("input", { type: "text", class: inputClass, required: true, minlength: "2", name: "fundName", id: "fundName", value: state$1.selfManagedFundForm.fundName, onChange: (ev) => this.updateFormField('fundName', ev.target.value.trim()) }), h("div", { class: "invalid-feedback mt-2 text-sm text-red-600" }, "Enter a valid fund name"))), h("div", { class: "mt-3" }, h("label", { class: "text-sm font-medium text-gray-700" }, "Fund ABN"), h("div", { class: "mt-1" }, h("input", { type: "text", class: inputClass, required: true, minlength: "2", name: "fundAbn", id: "fundAbn", value: state$1.selfManagedFundForm.fundAbn, inputmode: "numeric", pattern: "[0-9]*", onKeyUp: (ev) => {
4929
+ this.updateFormField('fundAbn', ev.target.value.trim());
4930
+ this.isAbnValid = this.validateAbn(ev.target.value);
4931
+ this.updateFormField('isAbnValid', this.isAbnValid);
4932
+ } }), this.showValidationErrors && !this.isAbnValid && (h("div", { class: "mt-2 text-sm text-red-600" }, "Enter a valid fund ABN (digits only)")))), h("div", { class: "mt-3" }, h("label", { class: "text-sm font-medium text-gray-700" }, "Electronic service address alias (ESA)"), h("div", { class: "mt-1" }, h("input", { type: "text", class: inputClass, required: true, minlength: "2", name: "fundEsa", id: "fundEsa", value: state$1.selfManagedFundForm.fundEsa, onChange: (ev) => this.updateFormField('fundEsa', ev.target.value.trim()) }), h("div", { class: "invalid-feedback mt-2 text-sm text-red-600" }, "Enter a valid fund ESA"))), h("div", { class: "mt-3" }, h("label", { class: "text-sm font-medium text-gray-700" }, "Fund address"), h("div", { class: "mt-1 rounded-md shadow-sm -space-y-px" }, h("input", { placeholder: "Address line 1", type: "text", class: Object.assign(Object.assign({}, inputClass), { 'rounded-none rounded-t-md shadow-none': true }), required: true, minlength: "2", name: "addressLine1", id: "addressLine1", value: state$1.selfManagedFundForm.addressLine1, onChange: (ev) => {
4749
4933
  this.updateFormField('addressLine1', ev.target.value.trim());
4750
4934
  this.updateAddressErrorMessage();
4751
4935
  }, ref: (el) => (this.addressLine1Element = el) }), h("input", { placeholder: "Address line 2 (optional)", type: "text", class: Object.assign(Object.assign({}, inputClass), { 'rounded-none shadow-none': true }), name: "addressLine2", id: "addressLine2", value: state$1.selfManagedFundForm.addressLine2, onChange: (ev) => this.updateFormField('addressLine2', ev.target.value.trim()) }), h("input", { placeholder: "City/suburb", type: "text", class: Object.assign(Object.assign({}, inputClass), { 'rounded-none shadow-none': true }), name: "city", required: true, id: "city", value: state$1.selfManagedFundForm.city, onChange: (ev) => {
4752
4936
  this.updateFormField('city', ev.target.value.trim());
4753
4937
  this.updateAddressErrorMessage();
4754
- }, ref: (el) => (this.cityElement = el) }), h("div", { class: "flex -space-x-px" }, h("div", { class: "w-1/2 flex-1 min-w-0" }, h("input", { placeholder: "Postcode", type: "text", required: true, class: Object.assign(Object.assign({}, inputClass), { 'rounded-none rounded-bl-md shadow-none': true }), name: "postcode", minlength: "4", maxlength: "4", pattern: "[0-9]{4}", id: "postcode", value: state$1.selfManagedFundForm.postcode, onChange: (ev) => {
4938
+ }, ref: (el) => (this.cityElement = el) }), h("div", { class: "flex -space-x-px" }, h("div", { class: "w-1/2 flex-1 min-w-0" }, h("input", { placeholder: "Postcode", type: "text", required: true, class: Object.assign(Object.assign({}, inputClass), { 'rounded-none rounded-bl-md shadow-none': true }), name: "postcode", minlength: "4", maxlength: "4", pattern: "[0-9]{4}", id: "postcode", value: state$1.selfManagedFundForm.postcode, inputmode: "numeric", onChange: (ev) => {
4755
4939
  this.updateFormField('postcode', ev.target.value.trim());
4756
4940
  this.updateAddressErrorMessage();
4757
- }, ref: (el) => (this.postcodeElement = el) })), h("div", { class: "flex-1 min-w-0" }, h("select", { class: Object.assign(Object.assign({}, inputClass), { 'rounded-none rounded-br-md shadow-none': true, 'text-gray-500': !this.fundForm.state }), name: "state", required: true, id: "state", onChange: (ev) => {
4941
+ }, ref: (el) => (this.postcodeElement = el) })), h("div", { class: "flex-1 min-w-0" }, h("select", { class: Object.assign(Object.assign({}, inputClass), { 'rounded-none rounded-br-md shadow-none': true, 'text-gray-500': this.fundForm.state !== undefined }), name: "state", required: true, id: "state", onChange: (ev) => {
4758
4942
  this.updateFormField('state', ev.target.value.trim());
4759
4943
  this.updateAddressErrorMessage();
4760
- }, ref: (el) => (this.stateElement = el) }, h("option", { disabled: true, selected: !this.fundForm.state, value: "" }, "State"), this.stateOptions.map((s) => (h("option", { value: s.value, selected: this.fundForm.state === s.value }, s.label))))))), isSome(this.addressErrorMessage) && this.showValidationErrors && (h("div", { class: "mt-2 text-sm text-red-600" }, this.addressErrorMessage.value))), h("h3", { class: "text-lg font-bold mt-6" }, "Fund bank details"), h("div", { class: "mt-3" }, h("label", { class: "text-sm font-medium text-gray-700" }, "Account name"), h("div", { class: "mt-1" }, h("input", { type: "text", required: true, class: inputClass, name: "bankAccountName", minlength: "2", id: "bankAccountName", value: state$1.selfManagedFundForm.bankAccountName, onChange: (ev) => this.updateFormField('bankAccountName', ev.target.value.trim()) }), h("div", { class: "invalid-feedback mt-2 text-sm text-red-600" }, "Enter a valid bank account name"))), h("div", { class: "mt-3" }, h("label", { class: "text-sm font-medium text-gray-700" }, "BSB"), h("div", { class: "mt-1" }, h("input", { type: "text", required: true, class: inputClass, name: "bsb", id: "bsb", minlength: "6", maxlength: "7", onKeyUp: (ev) => this.updateCurrentBank(ev), pattern: this.bsbRegex.source, value: state$1.selfManagedFundForm.bsb }), h("div", { class: "invalid-feedback mt-2 text-sm text-red-600" }, "Enter a valid BSB"))), isSome(this.currentBank) && (h("div", { class: "mt-3" }, h("label", { class: "text-sm font-medium text-gray-700" }, "Bank name"), h("div", { class: "mt-1 shadow-sm px-3 py-2 rounded-md border border-gray-300 bg-gray-50 text-gray-500 text-sm" }, this.currentBank.value))), h("div", { class: "mt-3" }, h("label", { class: "text-sm font-medium text-gray-700" }, "Account number"), h("div", { class: "mt-1" }, h("input", { type: "text", required: true, class: inputClass, name: "bankAccountNumber", id: "bankAccountNumber", minlength: "2", maxlength: "11", pattern: this.bankAccountNumberRegex.source, value: state$1.selfManagedFundForm.bankAccountNumber, onKeyUp: (ev) => this.updateCurrentBankAccountNumber(ev), onChange: (ev) => this.updateFormField('bankAccountNumber', ev.target.value.trim()) }), h("div", { class: "invalid-feedback mt-2 text-sm text-red-600" }, "Enter a valid bank account number")))));
4944
+ }, ref: (el) => (this.stateElement = el) }, h("option", { disabled: true, selected: this.fundForm.state !== undefined, value: "" }, "State"), this.stateOptions.map((s) => (h("option", { value: s.value, selected: this.fundForm.state === s.value }, s.label))))))), isSome(this.addressErrorMessage) && this.showValidationErrors && (h("div", { class: "mt-2 text-sm text-red-600" }, this.addressErrorMessage.value))), h("h3", { class: "text-lg font-bold mt-6" }, "Fund bank details"), h("div", { class: "mt-3" }, h("label", { class: "text-sm font-medium text-gray-700" }, "Account name"), h("div", { class: "mt-1" }, h("input", { type: "text", required: true, class: inputClass, name: "bankAccountName", minlength: "2", id: "bankAccountName", value: state$1.selfManagedFundForm.bankAccountName, onChange: (ev) => this.updateFormField('bankAccountName', ev.target.value.trim()) }), h("div", { class: "invalid-feedback mt-2 text-sm text-red-600" }, "Enter a valid bank account name"))), h("div", { class: "mt-3" }, h("label", { class: "text-sm font-medium text-gray-700" }, "BSB"), h("div", { class: "mt-1" }, h("input", { type: "text", required: true, class: inputClass, name: "bsb", id: "bsb", minlength: "6", maxlength: "7", inputmode: "numeric", onKeyUp: (ev) => this.updateCurrentBank(ev), pattern: this.bsbRegex.source, value: state$1.selfManagedFundForm.bsb }), h("div", { class: "invalid-feedback mt-2 text-sm text-red-600" }, "Enter a valid BSB"))), isSome(this.currentBank) && (h("div", { class: "mt-3" }, h("label", { class: "text-sm font-medium text-gray-700" }, "Bank name"), h("div", { class: "mt-1 shadow-sm px-3 py-2 rounded-md border border-gray-300 bg-gray-50 text-gray-500 text-sm" }, this.currentBank.value))), h("div", { class: "mt-3" }, h("label", { class: "text-sm font-medium text-gray-700" }, "Account number"), h("div", { class: "mt-1" }, h("input", { type: "text", required: true, class: inputClass, name: "bankAccountNumber", id: "bankAccountNumber", minlength: "2", maxlength: "11", pattern: this.bankAccountNumberRegex.source, inputmode: "numeric", value: state$1.selfManagedFundForm.bankAccountNumber, onKeyUp: (ev) => this.updateCurrentBankAccountNumber(ev), onChange: (ev) => this.updateFormField('bankAccountNumber', ev.target.value.trim()) }), h("div", { class: "invalid-feedback mt-2 text-sm text-red-600" }, "Enter a valid bank account number")))));
4761
4945
  }
4762
4946
  updateFormField(key, value) {
4763
4947
  this.formChanged.emit({ [key]: value });
@@ -4799,6 +4983,17 @@ const SelfManagedFundInputs = class {
4799
4983
  }
4800
4984
  this.addressErrorMessage = message;
4801
4985
  }
4986
+ validateAbn(abn) {
4987
+ const digitArray = abn.split('').map(Number);
4988
+ const isAllDigits = digitArray.every((d) => !isNaN(d));
4989
+ if (!isAllDigits || digitArray.length !== 11) {
4990
+ return false;
4991
+ }
4992
+ const weightingFactors = [10, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19];
4993
+ digitArray[0]--;
4994
+ const sum = digitArray.reduce((sum, digit, i) => sum + digit * weightingFactors[i], 0);
4995
+ return sum % 89 === 0;
4996
+ }
4802
4997
  };
4803
4998
 
4804
4999
  var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
@@ -5005,11 +5200,8 @@ const SlateJoinPage = class {
5005
5200
  constructor(hostRef) {
5006
5201
  registerInstance(this, hostRef);
5007
5202
  }
5008
- componentDidLoad() {
5009
- slateIFrameBuilder.build(this.iframeElement, this.history);
5010
- }
5011
5203
  render() {
5012
- return (h(Host, { class: "w-screen" }, h("iframe", { width: "100%", height: window.innerHeight, style: { border: 'none' }, ref: (el) => (this.iframeElement = el) })));
5204
+ return h("sss-iframe-host", { build: (iframe) => slateIFrameBuilder.build(iframe, this.history) });
5013
5205
  }
5014
5206
  };
5015
5207
 
@@ -5125,6 +5317,9 @@ const SuperChoicePage = class {
5125
5317
  } }, h("sss-super-choice-item-bottom", { disclaimer: fund.disclaimer, abnInfo: fund.abnInfo, abn: fund.abn, onJoinFundClicked: async () => this.handleJoinSuperClickAsync(fund) })))))), h("div", { class: "flex justify-center mt-8 sm:mt-12" }, h("div", { class: "pb-8 sm:pb-12 max-w-720 border-b" }, h("h5", { class: "font-bold sm:text-lg" }, "Or, choose another super fund:"), h("ul", { class: "list-disc list-outside ml-6 mt-3 mb-6 space-y-2 leading-6 text-sm sm:text-base" }, h("li", null, "Select this option if you'd like to use your current account with another super fund, your self-managed super fund, or your employer's default fund."), h("li", null, "If you are unsure of your current super fund details, you can find out at", ' ', h("a", { class: "text-primary-base font-medium", target: "_blank", href: navigationService.toExternalUrl(mygovLink) }, mygovLinkDisplay)), h("li", null, "A full list of super funds can be viewed at", ' ', h("a", { class: "text-primary-base font-medium", target: "_blank", href: navigationService.toExternalUrl(superfundsLink) }, superfundsLinkDisplay))), h("stencil-route-link", { url: SuperSelectionAppRoutes.MyOwnFund }, h("sss-button", { fillWidthOnMobile: true }, "Choose another super fund")))), FeatureFlagService.isNewComplianceEnabled() && (h("div", { class: "flex justify-center" }, h("div", { class: "pt-8 sm:pt-12 max-w-720" }, h("h5", { class: "font-semibold" }, "IMPORTANT INFORMATION:"), h("ul", { class: "list-disc list-outside ml-6 mt-3 space-y-2 text-sm leading-6" }, h("li", null, "The superannuation funds featured above are for your information only. The order, position and placement of content should not be interpreted as an opinion or recommendation (actual or implied) by Flare as to the suitability or appropriateness of any superannuation fund for you. In featuring these superannuation funds, Flare has not taken into account your objectives, financial situation or needs."), h("li", null, "This is not a comparison service. This page contains factual information only and does not constitute either general or personal advice about any financial products. We do not take into account your objectives, financial situation or needs. If you have questions or need help making a decision about your superannuation fund, you should speak to a licensed financial product advice provider."), h("li", null, "Flare, the technology partner you are accessing Flare via and your employer do not endorse or accept responsibility for any financial product advice or services provided by the promoters or trustees of the featured superannuation funds. Flare does not endorse or accept responsibility for any of the content shown about any of the featured superannuation funds."), h("li", null, "You should consider the relevant superannuation fund\u2019s PDS and TMD (if applicable) in deciding whether to apply to join the superannuation fund. Each of the superannuation funds featured above include a link to their PDS and TMD (if applicable) for your convenience. If you are considering joining another superannuation fund, you can typically find the PDS and TMD (if applicable) on that fund\u2019s website."), h("li", null, "You should be aware that, if you do choose one of the featured superannuation funds, Flare and it\u2019s associates will normally receive a fee for you doing so (this includes Simple Financial Choices Pty Ltd, a wholly owned subsidiary of Flare, which is a sub-promoter of Slate Super)."))))))));
5126
5318
  }
5127
5319
  allFunds() {
5320
+ const Link = (props, children) => {
5321
+ return (h("a", { class: "font-medium underline", target: "_blank", href: navigationService.toExternalUrl(props.href), onClick: props.onClick }, children));
5322
+ };
5128
5323
  return [
5129
5324
  {
5130
5325
  fundId: Slate.Id,
@@ -5136,7 +5331,7 @@ const SuperChoicePage = class {
5136
5331
  { order: 2, value: 'Advanced mobile app with retirement forecast and smart features' },
5137
5332
  { order: 3, value: 'Member advocates at Slate to assist with your account' }
5138
5333
  ],
5139
- disclaimer: (h("p", { class: "small text-muted" }, "You should consider the", ' ', h("a", { class: "font-medium underline", target: "_blank", href: navigationService.toExternalUrl(Slate.PdsUrl), onClick: () => this.pdsViewedAsync(Slate.Name, Slate.Usi) }, "Product Disclosure Statement"), ' ', "and", ' ', h("a", { class: "font-medium underline", target: "_blank", href: navigationService.toExternalUrl('https://slate.co/forms-and-documents/target-market-determination/') }, "Target Market Determination"), ' ', "before deciding to invest in or apply to become a member of the fund.")),
5334
+ disclaimer: (h("p", { class: "small text-muted" }, "You should consider the", ' ', h(Link, { href: Slate.PdsUrl, onClick: () => this.pdsViewedAsync(Slate.Name, Slate.Usi) }, "Product Disclosure Statement"), ' ', "and", ' ', h(Link, { href: "https://slate.co/forms-and-documents/target-market-determination/" }, "Target Market Determination"), ' ', "before deciding to invest in or apply to become a member of the fund.")),
5140
5335
  abnInfo: `Diversa Trustees Limited`,
5141
5336
  abn: Slate.DiversaAbn
5142
5337
  },
@@ -5144,14 +5339,14 @@ const SuperChoicePage = class {
5144
5339
  fundId: AustralianRetirementTrust.Id,
5145
5340
  name: AustralianRetirementTrust.Name,
5146
5341
  logo: 'logo-art.svg',
5147
- route: SuperSelectionAppRoutes.PromotedFundJoin,
5342
+ route: SuperSelectionAppRoutes.PromotedFundJoinV1,
5148
5343
  features: [
5149
5344
  { order: 1, value: '$200 billion in retirement savings' },
5150
5345
  { order: 2, value: '2+ million members' },
5151
5346
  { order: 3, value: 'A focus on delivering strong, long‑term returns' }
5152
5347
  ],
5153
5348
  featureSubText: 'QSuper is now part of Australian Retirement Trust. If you have an existing QSuper account, you will continue to hold that account by selecting this option.',
5154
- disclaimer: (h("p", null, "You should consider the", ' ', h("a", { class: "font-medium underline", target: "_blank", href: navigationService.toExternalUrl(AustralianRetirementTrust.PdsUrl), onClick: () => this.pdsViewedAsync(AustralianRetirementTrust.Name) }, "Product Disclosure Statement"), ' ', "and", ' ', h("a", { class: "font-medium underline", target: "_blank", href: navigationService.toExternalUrl('https://www.australianretirementtrust.com.au/tmd') }, "Target Market Determination"), ' ', "before deciding to invest in or apply to become a member of this fund.")),
5349
+ disclaimer: (h("p", null, "You should consider the", ' ', h(Link, { href: AustralianRetirementTrust.PdsUrl, onClick: () => this.pdsViewedAsync(AustralianRetirementTrust.Name) }, "Product Disclosure Statement"), ' ', "and", ' ', h(Link, { href: "https://www.australianretirementtrust.com.au/tmd" }, "Target Market Determination"), ' ', "before deciding to invest in or apply to become a member of this fund.")),
5155
5350
  abnInfo: `Australian Retirement Trust`,
5156
5351
  abn: AustralianRetirementTrust.Abn
5157
5352
  },
@@ -5159,13 +5354,13 @@ const SuperChoicePage = class {
5159
5354
  fundId: Aware.Id,
5160
5355
  name: Aware.Name,
5161
5356
  logo: 'logo-aware.svg',
5162
- route: SuperSelectionAppRoutes.PromotedFundJoin,
5357
+ route: SuperSelectionAppRoutes.PromotedFundJoinV1,
5163
5358
  features: [
5164
5359
  { order: 1, value: 'Acting on climate change' },
5165
5360
  { order: 2, value: 'All profits go to members' },
5166
5361
  { order: 3, value: 'One of Australia’s largest funds' }
5167
5362
  ],
5168
- disclaimer: (h("p", null, "You should consider the", ' ', h("a", { class: "font-medium underline", target: "_blank", href: navigationService.toExternalUrl(Aware.PdsUrl), onClick: () => this.pdsViewedAsync(Aware.Name) }, "Product Disclosure Statement"), ' ', "before deciding to invest in or apply to become a member of this fund.")),
5363
+ disclaimer: (h("p", null, "You should consider the", ' ', h(Link, { href: Aware.PdsUrl, onClick: () => this.pdsViewedAsync(Aware.Name) }, "Product Disclosure Statement"), ' ', "before deciding to invest in or apply to become a member of this fund.")),
5169
5364
  abnInfo: `Aware Super Pty Ltd`,
5170
5365
  abn: Aware.Abn
5171
5366
  },
@@ -5173,14 +5368,38 @@ const SuperChoicePage = class {
5173
5368
  fundId: Active.Id,
5174
5369
  name: Active.Name,
5175
5370
  logo: 'logo-active.svg',
5176
- route: SuperSelectionAppRoutes.PromotedFundJoin,
5371
+ route: SuperSelectionAppRoutes.PromotedFundJoinV1,
5177
5372
  features: [
5178
5373
  { order: 1, value: "One of Canstar's top-performing funds*" },
5179
5374
  { order: 2, value: 'Recognised as a leader in responsible investment' },
5180
5375
  { order: 3, value: 'Calls answered in 20 seconds (average over 5 years)' }
5181
5376
  ],
5182
5377
  featureSubText: '*Past performance is not a reliable indicator of future performance. As at 22 April 2022, Active Super is ranked among Canstar’s top five funds for 18-49 year-olds with a balance up to $250,000 based on returns over 5 years in the Accumulation Scheme.',
5183
- disclaimer: (h("p", null, "Issued by LGSS Pty Limited as trustee for Local Government Super (Active Super ABN:28 901 371 321). Consider the PDS and TMD at", ' ', h("a", { class: "font-medium underline", target: "_blank", onClick: () => this.pdsViewedAsync(Active.Name), href: navigationService.toExternalUrl(Active.PdsUrl) }, "activesuper.com.au"), ' ', "before making a decision."))
5378
+ disclaimer: (h("p", null, "Issued by LGSS Pty Limited as trustee for Local Government Super (Active Super ABN:28 901 371 321). Consider the PDS and TMD at", ' ', h(Link, { onClick: () => this.pdsViewedAsync(Active.Name), href: Active.PdsUrl }, "activesuper.com.au"), ' ', "before making a decision."))
5379
+ },
5380
+ {
5381
+ fundId: AustralianEthical.Id,
5382
+ name: AustralianEthical.Name,
5383
+ logo: 'logo-slate.png',
5384
+ route: SuperSelectionAppRoutes.PromotedFundJoinV2,
5385
+ features: [
5386
+ { order: 1, value: 'TODO #1' },
5387
+ { order: 2, value: 'TODO #2' },
5388
+ { order: 3, value: 'TODO #3' }
5389
+ ],
5390
+ disclaimer: (h("p", null, "You should consider the", ' ', h(Link, { href: AustralianEthical.PdsUrl, onClick: () => this.pdsViewedAsync(AustralianEthical.Name) }, "Product Disclosure Statement"), ' ', "before deciding to invest in or apply to become a member of this fund."))
5391
+ },
5392
+ {
5393
+ fundId: Virgin.Id,
5394
+ name: Virgin.Name,
5395
+ logo: 'logo-slate.png',
5396
+ route: SuperSelectionAppRoutes.PromotedFundJoinV2,
5397
+ features: [
5398
+ { order: 1, value: 'TODO #1' },
5399
+ { order: 2, value: 'TODO #2' },
5400
+ { order: 3, value: 'TODO #3' }
5401
+ ],
5402
+ disclaimer: (h("p", null, "You should consider the", ' ', h(Link, { href: Virgin.PdsUrl, onClick: () => this.pdsViewedAsync(Virgin.Name) }, "Product Disclosure Statement"), ' ', "before deciding to invest in or apply to become a member of this fund."))
5184
5403
  }
5185
5404
  ];
5186
5405
  }
@@ -5195,39 +5414,15 @@ const SuperChoicePage = class {
5195
5414
  return fundTiles;
5196
5415
  }
5197
5416
  async handleJoinSuperClickAsync(fund) {
5417
+ var _a;
5198
5418
  const promotedFundsShown = superSelectionAppService.promotedFunds;
5199
- if (fund.fundId === Slate.Id) {
5200
- await this.eventTrackingService.TrackPromotedSuperFundDetailViewedAsync({
5201
- fundUsi: Slate.Usi,
5202
- fundName: Slate.Name,
5203
- promotedFundId: Slate.Id,
5204
- promotedFundsShown
5205
- });
5206
- }
5207
- else if (fund.fundId === AustralianRetirementTrust.Id) {
5208
- await this.eventTrackingService.TrackPromotedSuperFundDetailViewedAsync({
5209
- fundName: AustralianRetirementTrust.Name,
5210
- promotedFundId: AustralianRetirementTrust.Id,
5211
- promotedFundsShown
5212
- });
5213
- state$2.fundId = fund.fundId;
5214
- }
5215
- else if (fund.fundId === Aware.Id) {
5216
- await this.eventTrackingService.TrackPromotedSuperFundDetailViewedAsync({
5217
- fundName: Aware.Name,
5218
- promotedFundId: Aware.Id,
5219
- promotedFundsShown
5220
- });
5221
- state$2.fundId = fund.fundId;
5222
- }
5223
- else if (fund.fundId === Active.Id) {
5224
- await this.eventTrackingService.TrackPromotedSuperFundDetailViewedAsync({
5225
- fundName: Active.Name,
5226
- promotedFundId: Active.Id,
5227
- promotedFundsShown
5228
- });
5229
- state$2.fundId = fund.fundId;
5230
- }
5419
+ await this.eventTrackingService.TrackPromotedSuperFundDetailViewedAsync({
5420
+ fundUsi: getFundUsiById(fund.fundId),
5421
+ fundName: (_a = getFundNameById(fund.fundId)) !== null && _a !== void 0 ? _a : '',
5422
+ promotedFundId: fund.fundId,
5423
+ promotedFundsShown
5424
+ });
5425
+ state$2.fundId = fund.fundId;
5231
5426
  return navigationService.navigateInternally(this.history, fund.route);
5232
5427
  }
5233
5428
  pdsViewedAsync(name, usi) {
@@ -6251,7 +6446,8 @@ const SuperSelectionApp = class {
6251
6446
  }
6252
6447
  isFundJoinPage() {
6253
6448
  return (window.location.pathname.includes(SuperSelectionAppRoutes.SlateJoin) ||
6254
- window.location.pathname.includes(SuperSelectionAppRoutes.PromotedFundJoin));
6449
+ window.location.pathname.includes(SuperSelectionAppRoutes.PromotedFundJoinV1) ||
6450
+ window.location.pathname.includes(SuperSelectionAppRoutes.PromotedFundJoinV2));
6255
6451
  }
6256
6452
  static get assetsDirs() { return ["assets"]; }
6257
6453
  static get watchers() { return {
@@ -16618,4 +16814,4 @@ const SuperSelectionAppHost = class {
16618
16814
  };
16619
16815
  SuperSelectionAppHost.style = superSelectionAppHostCss;
16620
16816
 
16621
- export { Button as sss_button, Consent as sss_consent_page, CustomFund as sss_custom_fund, DefaultFund as sss_default_fund, SelectInputAsync as sss_dropdown_async, ExistingChoice as sss_existing_choice_page, FooterSection as sss_footer_section, HeaderSection as sss_header_section, LoadingIndicator as sss_loading_indicator, LoadingPage as sss_loading_page, MyOwnFund as sss_my_own_fund, MyOwnFundInputs as sss_my_own_fund_inputs, PromotedFundJoinPage as sss_promoted_fund_join_page, SelfManagedFund as sss_self_managed_fund, SelfManagedFundInputs as sss_self_managed_fund_inputs, SlateJoinPage as sss_slate_join_page, SmsfNotSupportedDialog as sss_smsf_not_supported_dialog, StandardChoiceFormInputDefaultFund as sss_standard_choice_form, Success as sss_success, SuperChoiceItemBottom as sss_super_choice_item_bottom, SuperChoiceItemTop as sss_super_choice_item_top, SuperChoicePage as sss_super_choice_page, Route as stencil_route, RouteLink as stencil_route_link, RouteSwitch as stencil_route_switch, Router as stencil_router, SuperSelectionApp as super_selection_app, SuperSelectionAppHost as super_selection_app_host };
16817
+ export { Button as sss_button, Consent as sss_consent_page, CustomFund as sss_custom_fund, DefaultFund as sss_default_fund, SelectInputAsync as sss_dropdown_async, ExistingChoice as sss_existing_choice_page, FooterSection as sss_footer_section, HeaderSection as sss_header_section, IFrameHost as sss_iframe_host, LoadingIndicator as sss_loading_indicator, LoadingPage as sss_loading_page, MyOwnFund as sss_my_own_fund, MyOwnFundInputs as sss_my_own_fund_inputs, PromotedFundJoinV1Page as sss_promoted_fund_join_v1_page, PromotedFundJoinV2Page as sss_promoted_fund_join_v2_page, SelfManagedFund as sss_self_managed_fund, SelfManagedFundInputs as sss_self_managed_fund_inputs, SlateJoinPage as sss_slate_join_page, SmsfNotSupportedDialog as sss_smsf_not_supported_dialog, StandardChoiceFormInputDefaultFund as sss_standard_choice_form, Success as sss_success, SuperChoiceItemBottom as sss_super_choice_item_bottom, SuperChoiceItemTop as sss_super_choice_item_top, SuperChoicePage as sss_super_choice_page, Route as stencil_route, RouteLink as stencil_route_link, RouteSwitch as stencil_route_switch, Router as stencil_router, SuperSelectionApp as super_selection_app, SuperSelectionAppHost as super_selection_app_host };
@@ -1 +1 @@
1
- import{p as promiseResolve,b as bootstrapLazy}from"./index-e1e930c8.js";import"./datorama-akita-127aea91.js";import{g as globalScripts}from"./app-globals-c1f89805.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([["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_28",[[0,"sss-my-own-fund",{history:[16],formState:[32],isNotAllInformationProvidedMessageVisible:[32],isSubmitDisabled:[32]}],[0,"sss-self-managed-fund",{history:[16],formState:[32],showSmsfNotSupported:[32],isSubmitDisabled:[32]}],[0,"sss-super-choice-page",{history:[16],promotedFunds:[32]}],[1,"super-selection-app-host",{sessionState:[32],jwt:[32],appConfiguration:[32]}],[0,"sss-default-fund",{history:[16],defaultFundProductName:[32]}],[0,"sss-standard-choice-form",{history:[16],standardChoiceFormSignature:[32],formState:[32],isSubmitDisabled:[32]}],[0,"sss-consent-page",{history:[16]}],[0,"sss-existing-choice-page",{history:[16],existingFund:[32]}],[0,"sss-success"],[0,"sss-promoted-fund-join-page",{history:[16]}],[0,"sss-slate-join-page",{history:[16]}],[1,"super-selection-app",{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-smsf-not-supported-dialog"],[0,"sss-super-choice-item-bottom",{disclaimer:[16],abnInfo:[1,"abn-info"],abn:[1]}],[0,"sss-loading-page"],[0,"sss-self-managed-fund-inputs",{fundForm:[16],showValidationErrors:[4,"show-validation-errors"],currentBank:[32],addressErrorMessage:[32]}],[0,"sss-super-choice-item-top",{name:[1],logo:[1],features:[1],featureSubText:[1,"feature-sub-text"]}],[0,"sss-dropdown-async",{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"],[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]}],[0,"sss-header-section",{currentPage:[1,"current-page"]}],[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",{fillWidth:[4,"fill-width"],fillWidthOnMobile:[4,"fill-width-on-mobile"],disabled:[4],variant:[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"]}]]]],s)}));
1
+ import{p as promiseResolve,b as bootstrapLazy}from"./index-e1e930c8.js";import"./datorama-akita-127aea91.js";import{g as globalScripts}from"./app-globals-c1f89805.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([["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_30",[[0,"sss-my-own-fund",{history:[16],formState:[32],isNotAllInformationProvidedMessageVisible:[32],isSubmitDisabled:[32]}],[0,"sss-self-managed-fund",{history:[16],formState:[32],showSmsfNotSupported:[32],isSubmitDisabled:[32]}],[0,"sss-super-choice-page",{history:[16],promotedFunds:[32]}],[1,"super-selection-app-host",{sessionState:[32],jwt:[32],appConfiguration:[32]}],[0,"sss-default-fund",{history:[16],defaultFundProductName:[32]}],[0,"sss-standard-choice-form",{history:[16],standardChoiceFormSignature:[32],formState:[32],isSubmitDisabled:[32]}],[0,"sss-consent-page",{history:[16]}],[0,"sss-existing-choice-page",{history:[16],existingFund:[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"],[1,"super-selection-app",{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-smsf-not-supported-dialog"],[0,"sss-super-choice-item-bottom",{disclaimer:[16],abnInfo:[1,"abn-info"],abn:[1]}],[0,"sss-loading-page"],[0,"sss-self-managed-fund-inputs",{fundForm:[16],showValidationErrors:[4,"show-validation-errors"],isAbnValid:[32],currentBank:[32],addressErrorMessage:[32]}],[0,"sss-super-choice-item-top",{name:[1],logo:[1],features:[1],featureSubText:[1,"feature-sub-text"]}],[0,"sss-dropdown-async",{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"],[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]}],[0,"sss-iframe-host",{build:[16]}],[0,"sss-header-section",{currentPage:[1,"current-page"]}],[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",{fillWidth:[4,"fill-width"],fillWidthOnMobile:[4,"fill-width-on-mobile"],disabled:[4],variant:[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"]}]]]],s)}));
@@ -1 +1 @@
1
- import{p as promiseResolve,b as bootstrapLazy}from"./index-e1e930c8.js";import"./datorama-akita-127aea91.js";import{g as globalScripts}from"./app-globals-c1f89805.js";var patchEsm=function(){return promiseResolve()};var defineCustomElements=function(s,e){if(typeof window==="undefined")return Promise.resolve();return patchEsm().then((function(){globalScripts();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_28",[[0,"sss-my-own-fund",{history:[16],formState:[32],isNotAllInformationProvidedMessageVisible:[32],isSubmitDisabled:[32]}],[0,"sss-self-managed-fund",{history:[16],formState:[32],showSmsfNotSupported:[32],isSubmitDisabled:[32]}],[0,"sss-super-choice-page",{history:[16],promotedFunds:[32]}],[1,"super-selection-app-host",{sessionState:[32],jwt:[32],appConfiguration:[32]}],[0,"sss-default-fund",{history:[16],defaultFundProductName:[32]}],[0,"sss-standard-choice-form",{history:[16],standardChoiceFormSignature:[32],formState:[32],isSubmitDisabled:[32]}],[0,"sss-consent-page",{history:[16]}],[0,"sss-existing-choice-page",{history:[16],existingFund:[32]}],[0,"sss-success"],[0,"sss-promoted-fund-join-page",{history:[16]}],[0,"sss-slate-join-page",{history:[16]}],[1,"super-selection-app",{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-smsf-not-supported-dialog"],[0,"sss-super-choice-item-bottom",{disclaimer:[16],abnInfo:[1,"abn-info"],abn:[1]}],[0,"sss-loading-page"],[0,"sss-self-managed-fund-inputs",{fundForm:[16],showValidationErrors:[4,"show-validation-errors"],currentBank:[32],addressErrorMessage:[32]}],[0,"sss-super-choice-item-top",{name:[1],logo:[1],features:[1],featureSubText:[1,"feature-sub-text"]}],[0,"sss-dropdown-async",{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"],[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]}],[0,"sss-header-section",{currentPage:[1,"current-page"]}],[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",{fillWidth:[4,"fill-width"],fillWidthOnMobile:[4,"fill-width-on-mobile"],disabled:[4],variant:[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"]}]]]],e)}))};export{defineCustomElements};
1
+ import{p as promiseResolve,b as bootstrapLazy}from"./index-e1e930c8.js";import"./datorama-akita-127aea91.js";import{g as globalScripts}from"./app-globals-c1f89805.js";var patchEsm=function(){return promiseResolve()};var defineCustomElements=function(s,e){if(typeof window==="undefined")return Promise.resolve();return patchEsm().then((function(){globalScripts();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_30",[[0,"sss-my-own-fund",{history:[16],formState:[32],isNotAllInformationProvidedMessageVisible:[32],isSubmitDisabled:[32]}],[0,"sss-self-managed-fund",{history:[16],formState:[32],showSmsfNotSupported:[32],isSubmitDisabled:[32]}],[0,"sss-super-choice-page",{history:[16],promotedFunds:[32]}],[1,"super-selection-app-host",{sessionState:[32],jwt:[32],appConfiguration:[32]}],[0,"sss-default-fund",{history:[16],defaultFundProductName:[32]}],[0,"sss-standard-choice-form",{history:[16],standardChoiceFormSignature:[32],formState:[32],isSubmitDisabled:[32]}],[0,"sss-consent-page",{history:[16]}],[0,"sss-existing-choice-page",{history:[16],existingFund:[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"],[1,"super-selection-app",{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-smsf-not-supported-dialog"],[0,"sss-super-choice-item-bottom",{disclaimer:[16],abnInfo:[1,"abn-info"],abn:[1]}],[0,"sss-loading-page"],[0,"sss-self-managed-fund-inputs",{fundForm:[16],showValidationErrors:[4,"show-validation-errors"],isAbnValid:[32],currentBank:[32],addressErrorMessage:[32]}],[0,"sss-super-choice-item-top",{name:[1],logo:[1],features:[1],featureSubText:[1,"feature-sub-text"]}],[0,"sss-dropdown-async",{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"],[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]}],[0,"sss-iframe-host",{build:[16]}],[0,"sss-header-section",{currentPage:[1,"current-page"]}],[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",{fillWidth:[4,"fill-width"],fillWidthOnMobile:[4,"fill-width-on-mobile"],disabled:[4],variant:[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"]}]]]],e)}))};export{defineCustomElements};