@flarehr/apollo-super-selection 4.40.35800 → 4.42.36722

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 (38) 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-5be8f0b9.entry.js +14 -0
  4. package/dist/lib/apollo-super-selection/{p-4e75be8d.system.entry.js → p-65c670d7.system.entry.js} +12 -12
  5. package/dist/lib/apollo-super-selection/p-bdcfc026.system.js +1 -1
  6. package/dist/lib/cjs/apollo-super-selection.cjs.js +1 -1
  7. package/dist/lib/cjs/loader.cjs.js +1 -1
  8. package/dist/lib/cjs/sss-button_38.cjs.entry.js +139 -30
  9. package/dist/lib/collection/apollo-super-selection.css +1 -1
  10. package/dist/lib/collection/components/super-selection-app/consent/consent.js +6 -1
  11. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/default-fund/default-fund.js +5 -0
  12. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund.js +6 -0
  13. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.js +5 -0
  14. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v1-iframe-builder.js +13 -3
  15. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-iframe-builder.js +20 -3
  16. package/dist/lib/collection/components/super-selection-app/funds/slate-super/services/slate-iframe-builder.js +8 -1
  17. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-display-field.js +2 -1
  18. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-my-own-fund.js +6 -0
  19. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-smsf.js +5 -0
  20. package/dist/lib/collection/components/super-selection-app/services/event-tracking.service.js +5 -0
  21. package/dist/lib/collection/components/super-selection-app/services/navigation.service.js +1 -0
  22. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +8 -2
  23. package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.js +50 -10
  24. package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.store.js +1 -0
  25. package/dist/lib/esm/apollo-super-selection.js +1 -1
  26. package/dist/lib/esm/loader.js +1 -1
  27. package/dist/lib/esm/sss-button_38.entry.js +139 -30
  28. package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
  29. package/dist/lib/esm-es5/loader.js +1 -1
  30. package/dist/lib/esm-es5/sss-button_38.entry.js +1 -1
  31. package/dist/lib/types/components/super-selection-app/api/super-selection-events.model.d.ts +22 -0
  32. package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +5 -3
  33. package/dist/lib/types/components/super-selection-app/services/event-tracking.service.d.ts +1 -0
  34. package/dist/lib/types/components/super-selection-app/services/navigation.service.d.ts +2 -0
  35. package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.d.ts +2 -2
  36. package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.store.d.ts +28 -0
  37. package/package.json +2 -2
  38. package/dist/lib/apollo-super-selection/p-c6e6d600.entry.js +0 -14
@@ -260,7 +260,7 @@ class TapSubscriber extends Subscriber {
260
260
  }
261
261
  }
262
262
 
263
- const AppVersion = '4.40.35800';
263
+ const AppVersion = '4.42.36722';
264
264
 
265
265
  // -------------------------------------------------------------------------------------
266
266
  // guards
@@ -3514,7 +3514,7 @@ class SuperSelectionAppService {
3514
3514
  }
3515
3515
  get promotedFunds() {
3516
3516
  if (this._state.campaignConnectEnabled && Option.isSome(this._state.campaignConnect)) {
3517
- return this._state.campaignConnect.value.promotedFunds;
3517
+ return this._state.campaignConnect.value.promotedFunds.map((v) => v.fundId);
3518
3518
  }
3519
3519
  if (Option.isNone(this._state.promotedFunds)) {
3520
3520
  throw Error('Promoted Funds is not set');
@@ -3523,7 +3523,13 @@ class SuperSelectionAppService {
3523
3523
  }
3524
3524
  get promotedDefaultFundPosition() {
3525
3525
  if (this._state.campaignConnectEnabled && Option.isSome(this._state.campaignConnect)) {
3526
- return Option.fromNullable(this._state.campaignConnect.value.promotedDefaultFundPosition);
3526
+ const index = this._state.campaignConnect.value.promotedFunds.findIndex((v) => (v.type = 'promoted-default'));
3527
+ if (index == -1) {
3528
+ return Option.fromNullable(null);
3529
+ }
3530
+ else {
3531
+ return Option.fromNullable(index + 1);
3532
+ }
3527
3533
  }
3528
3534
  return Option.none;
3529
3535
  }
@@ -3717,6 +3723,11 @@ class EventTrackingService {
3717
3723
  SuperFundPrefillDeclined: detail
3718
3724
  });
3719
3725
  }
3726
+ async TrackSuperFundDetailChangeRequestedAsync(detail) {
3727
+ return this.trackEventAsync({
3728
+ SuperFundDetailChangeRequested: detail
3729
+ });
3730
+ }
3720
3731
  async trackEventAsync(event) {
3721
3732
  try {
3722
3733
  await this.eventTrackingApi.PostAnalyticsEventAsync({ event });
@@ -3766,6 +3777,7 @@ const initial = {
3766
3777
  return;
3767
3778
  },
3768
3779
  fundName: '',
3780
+ fundDetails: { type: 'null' },
3769
3781
  promotedFundId: undefined
3770
3782
  };
3771
3783
  const { state } = createStore(initial);
@@ -3817,6 +3829,7 @@ class NavigationService {
3817
3829
  navigateInternallyToStandardChoice(options) {
3818
3830
  state.handleSubmitFn = options.handleSubmitFn;
3819
3831
  state.fundName = options.fundName;
3832
+ state.fundDetails = options.fundDetails;
3820
3833
  state.promotedFundId = options.promotedFundId;
3821
3834
  this.navigateInternally(options.history, SuperSelectionAppRoutes.StandardChoice);
3822
3835
  }
@@ -3835,6 +3848,18 @@ class NavigationService {
3835
3848
  }
3836
3849
  const navigationService = new NavigationService();
3837
3850
 
3851
+ const Link = (props, children) => {
3852
+ return (h("a", { class: props.className || 'font-medium underline underline-offset-2 hover:text-gray-600', target: "_blank", href: navigationService.toExternalUrl(props.href), onClick: props.onClick }, children));
3853
+ };
3854
+ const PoweredByFlareFS = 'Powered by Flare FS';
3855
+ function pdsViewedAsync(name, usi) {
3856
+ return EventTrackingService.Instance.TrackSuperFundPdsViewedAsync({
3857
+ fundUsi: usi,
3858
+ fundName: name,
3859
+ pageName: 'Panel Fund Page'
3860
+ });
3861
+ }
3862
+
3838
3863
  const Consent = class {
3839
3864
  constructor(hostRef) {
3840
3865
  registerInstance(this, hostRef);
@@ -3844,7 +3869,7 @@ const Consent = class {
3844
3869
  return this.eventTrackingService.TrackSuperFundDisclaimerViewedAsync({});
3845
3870
  }
3846
3871
  render() {
3847
- return (h("div", null, h("div", { class: "text-2xl sm:text-3xl font-bold text-center leading-8" }, "Important information about super"), h("div", { class: "sm:text-lg text-gray-600 mt-3 sm:mt-4 max-w-800 text-center leading-7 sm:leading-8" }, "The choice of superannuation fund is an important personal financial decision. Next, you\u2019ll be asked to nominate a super fund to receive your employer contributions."), h("div", { class: "flex justify-center mt-8 sm:mt-12" }, h("div", { class: "border shadow-sm p-4 pb-6 sm:p-6 sm:pb-8 max-w-560 rounded-lg" }, h("div", { class: "sm:text-lg font-bold leading-6" }, "By clicking \u201CContinue\u201D you acknowledge that:"), h("ul", { class: "list-disc list-outside ml-6 mt-3 mb-6 space-y-2 text-sm leading-6" }, h("li", null, "Flare (we/us) provides this paperless employee management service, will feature superannuation funds and offer you employee benefits that you may be interested in;"), h("li", null, "all content contained in the following pages does not take into account any of your objectives, financial situation or needs and does not constitute financial product advice;"), h("li", null, "in featuring any superannuation funds, we, the technology partner you are accessing us via, or your employer, are not providing any opinion or recommendation (actual or implied) in relation to the suitability or appropriateness of the featured funds;"), h("li", null, "if you do choose one of the featured superannuation funds, we and our associates will normally receive a fee for you doing so;"), h("li", null, "in the event that you choose one of the featured superannuation funds, we may pass on your personal information and TFN to a related party for the purpose of completing your chosen fund's application form.")), h("sss-button", { fillWidth: true, promiseFn: () => this.handleSuperFundDisclaimerAccepted() }, "Continue")))));
3872
+ return (h("div", null, h("div", { class: "text-2xl sm:text-3xl font-bold text-center leading-8" }, "Important information about super"), h("div", { class: "sm:text-lg text-gray-600 mt-3 sm:mt-4 max-w-800 text-center leading-7 sm:leading-8" }, "The choice of superannuation fund is an important personal financial decision. Next, you\u2019ll be asked to nominate a super fund to receive your employer contributions."), h("div", { class: "flex justify-center mt-8 sm:mt-12" }, h("div", { class: "border shadow-sm p-4 pb-6 sm:p-6 sm:pb-8 max-w-560 rounded-lg" }, h("div", { class: "sm:text-lg font-bold leading-6" }, "By clicking \u201CContinue\u201D you acknowledge that:"), h("ul", { class: "list-disc list-outside ml-6 mt-3 mb-6 space-y-2 text-sm leading-6" }, h("li", null, "Flare (we/us) provides this paperless employee management service, will feature superannuation funds and offer you employee benefits that you may be interested in;"), h("li", null, "all content contained in the following pages does not take into account any of your objectives, financial situation or needs and does not constitute financial product advice;"), h("li", null, "in featuring any superannuation funds, we, the technology partner you are accessing us via, or your employer, are not providing any opinion or recommendation (actual or implied) in relation to the suitability or appropriateness of the featured funds;"), h("li", null, "if you do choose one of the featured superannuation funds, we and our associates will normally receive a fee for you doing so;"), h("li", null, "in the event that you choose one of the featured superannuation funds, we may pass on your personal information and TFN to a related party for the purpose of completing your chosen fund's application form."), h("li", null, "Your personal data that is provided to us will be subject to our", ' ', h(Link, { className: "font-medium text-blue-600 hover:text-blue-800", href: "https://www.flarehr.com/privacy-policy" }, "Privacy Policy."))), h("sss-button", { fillWidth: true, promiseFn: () => this.handleSuperFundDisclaimerAccepted() }, "Continue")))));
3848
3873
  }
3849
3874
  async handleSuperFundDisclaimerAccepted() {
3850
3875
  await this.eventTrackingService.TrackSuperFundDisclaimerAcceptedAsync({});
@@ -4036,6 +4061,11 @@ const DefaultFund = class {
4036
4061
  navigationService.navigateInternallyToStandardChoice({
4037
4062
  history: this.history,
4038
4063
  fundName: `Employer’s default fund`,
4064
+ fundDetails: {
4065
+ type: 'default',
4066
+ fundName: this.defaultFundProductName,
4067
+ fundUsi: this.defaultFund.usi
4068
+ },
4039
4069
  handleSubmitFn: async (standardChoiceFormSignature) => {
4040
4070
  await customFundChoiceApi.submitDefaultFundChoiceAsync(Object.assign({ standardChoiceFormSignature }, superSelectionAppService.promotedFundsConfig));
4041
4071
  }
@@ -4211,18 +4241,6 @@ const SelectInputAsync = class {
4211
4241
  };
4212
4242
  SelectInputAsync.style = dropdownAsyncCss;
4213
4243
 
4214
- const Link = (props, children) => {
4215
- return (h("a", { class: props.className || 'font-medium underline underline-offset-2 hover:text-gray-600', target: "_blank", href: navigationService.toExternalUrl(props.href), onClick: props.onClick }, children));
4216
- };
4217
- const PoweredByFlareFS = 'Powered by Flare FS';
4218
- function pdsViewedAsync(name, usi) {
4219
- return EventTrackingService.Instance.TrackSuperFundPdsViewedAsync({
4220
- fundUsi: usi,
4221
- fundName: name,
4222
- pageName: 'Panel Fund Page'
4223
- });
4224
- }
4225
-
4226
4244
  const name = 'Active Super';
4227
4245
  const fund = {
4228
4246
  fundId: 'active',
@@ -4898,6 +4916,12 @@ const MyOwnFund = class {
4898
4916
  navigationService.navigateInternallyToStandardChoice({
4899
4917
  history: this.history,
4900
4918
  fundName: this.getOrError(state$1.myOwnFundForm.fundName),
4919
+ fundDetails: {
4920
+ type: 'myOwnFund',
4921
+ fundName: this.getOrError(state$1.myOwnFundForm.fundName),
4922
+ fundUsi: this.getOrError(state$1.myOwnFundForm.fundUsi),
4923
+ memberNumber: this.getOrError(state$1.myOwnFundForm.memberNumber)
4924
+ },
4901
4925
  handleSubmitFn: async (standardChoiceFormSignature) => {
4902
4926
  const customFundChoiceDto = Object.assign({ fundUsi: this.getOrError(state$1.myOwnFundForm.fundUsi), memberNumber: this.getOrError(state$1.myOwnFundForm.memberNumber), memberFirstName: this.getOrError(state$1.myOwnFundForm.memberFirstName), memberFamilyName: this.getOrError(state$1.myOwnFundForm.memberFamilyName), standardChoiceFormSignature }, superSelectionAppService.promotedFundsConfig);
4903
4927
  await customFundChoiceApi.submitCustomFundChoiceAsync(customFundChoiceDto);
@@ -5081,7 +5105,8 @@ const DisplayField = class {
5081
5105
  'sm:w-2/5 sm:max-w-40 self-stretch text-gray-500 text-xs sm:text-sm not-italic font-medium leading-4 sm:leading-5': true,
5082
5106
  'text-red-600': !this.field.isValid
5083
5107
  } }, this.field.name), h("div", { class: {
5084
- 'sm:w-3/5 max-w-[300px] min-h-5 sm:min-h-0 self-stretch text-gray-900 text-sm not-italic font-normal leading-5 break-words': true,
5108
+ 'sm:w-3/5 max-w-[300px] self-stretch text-gray-900 text-sm not-italic font-normal leading-5 break-words': true,
5109
+ 'h-5 sm:h-auto': this.field.isEmpty,
5085
5110
  'text-red-600': !this.field.isValid
5086
5111
  } }, this.field.value)));
5087
5112
  }
@@ -5629,6 +5654,12 @@ const PrefillMyOwnFund = class {
5629
5654
  navigationService.navigateInternallyToStandardChoice({
5630
5655
  history: this.history,
5631
5656
  fundName: this.fundName.value,
5657
+ fundDetails: {
5658
+ type: 'myOwnFund',
5659
+ fundName: this.fundName.value,
5660
+ fundUsi: this.fundUsi.value,
5661
+ memberNumber: this.memberNumber.value
5662
+ },
5632
5663
  handleSubmitFn: async (standardChoiceFormSignature) => {
5633
5664
  const customFundChoiceDto = Object.assign({ fundUsi: this.fundUsi.value, memberNumber: this.memberNumber.value, memberFirstName: this.memberGivenNames.value, memberFamilyName: this.memberLastName.value, standardChoiceFormSignature }, superSelectionAppService.promotedFundsConfig);
5634
5665
  await customFundChoiceApi.submitCustomFundChoiceAsync(customFundChoiceDto);
@@ -5943,6 +5974,11 @@ const PrefillSMSF = class {
5943
5974
  navigationService.navigateInternallyToStandardChoice({
5944
5975
  history: this.history,
5945
5976
  fundName: 'Self-managed super fund',
5977
+ fundDetails: {
5978
+ type: 'smsf',
5979
+ fundName: this.fundName.value,
5980
+ fundEsa: this.fundEsa.value
5981
+ },
5946
5982
  handleSubmitFn: async (standardChoiceFormSignature) => {
5947
5983
  const smsfChoiceDto = Object.assign({ smsfChoice: {
5948
5984
  abn: this.fundAbn.value,
@@ -6063,11 +6099,20 @@ class PromotedFundJoinV1IFrameBuilder {
6063
6099
  case 'success':
6064
6100
  if (data.memberNumber) {
6065
6101
  const promotedFundId = state$2.fundId;
6066
- const fundName = getFundNameByFundId(promotedFundId);
6102
+ const fundName = _function.pipe(getFundNameByFundId(promotedFundId), Option.getOrElse(() => ''));
6103
+ const usi = data.usi.replace(/ /g, '');
6067
6104
  navigationService.navigateInternallyToStandardChoice({
6068
6105
  history,
6069
- fundName: Option.isSome(fundName) ? fundName.value : '',
6070
- handleSubmitFn: (standardChoiceFormSignature) => promotedFundChoiceApi.submitChoiceAsync(Object.assign({ fundId: promotedFundId, memberNumber: data.memberNumber, memberFirstName: data.memberFirstName, memberFamilyName: data.memberFamilyName, usi: data.usi.replace(/ /g, ''), standardChoiceFormSignature, defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi) }, superSelectionAppService.promotedFundsConfig)),
6106
+ fundName,
6107
+ fundDetails: {
6108
+ type: 'promoted',
6109
+ fundName,
6110
+ fundUsi: usi,
6111
+ memberNumber: data.memberNumber,
6112
+ promotedFundId
6113
+ },
6114
+ handleSubmitFn: (standardChoiceFormSignature) => promotedFundChoiceApi.submitChoiceAsync(Object.assign({ fundId: promotedFundId, memberNumber: data.memberNumber, memberFirstName: data.memberFirstName, memberFamilyName: data.memberFamilyName, usi,
6115
+ standardChoiceFormSignature, defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi) }, superSelectionAppService.promotedFundsConfig)),
6071
6116
  promotedFundId
6072
6117
  });
6073
6118
  break;
@@ -6184,13 +6229,29 @@ class PromotedFundJoinV2IFrameBuilder {
6184
6229
  if (state$2.isPromotedDefault ||
6185
6230
  (!state$2.isPromotedDefault && data.memberNumber)) {
6186
6231
  const promotedFundId = state$2.fundId;
6187
- const fundName = getFundNameByFundId(promotedFundId);
6232
+ const fundName = _function.pipe(getFundNameByFundId(promotedFundId), Option.getOrElse(() => ''));
6233
+ const usi = data.usi.replace(/ /g, '');
6188
6234
  navigationService.navigateInternallyToStandardChoice({
6189
6235
  history,
6190
- fundName: Option.isSome(fundName) ? fundName.value : '',
6236
+ fundName,
6191
6237
  promotedFundId,
6238
+ fundDetails: state$2.isPromotedDefault
6239
+ ? {
6240
+ type: 'promotedDefault',
6241
+ fundName,
6242
+ fundUsi: usi,
6243
+ promotedFundId
6244
+ }
6245
+ : {
6246
+ type: 'promoted',
6247
+ fundName,
6248
+ fundUsi: usi,
6249
+ memberNumber: data.memberNumber,
6250
+ promotedFundId
6251
+ },
6192
6252
  handleSubmitFn: state$2.isPromotedDefault
6193
- ? (standardChoiceFormSignature) => promotedFundChoiceApi.submitDefaultChoiceAsync(Object.assign({ fundId: promotedFundId, usi: data.usi.replace(/ /g, ''), standardChoiceFormSignature, defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi) }, superSelectionAppService.promotedFundsConfig))
6253
+ ? (standardChoiceFormSignature) => promotedFundChoiceApi.submitDefaultChoiceAsync(Object.assign({ fundId: promotedFundId, usi,
6254
+ standardChoiceFormSignature, defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi) }, superSelectionAppService.promotedFundsConfig))
6194
6255
  : (standardChoiceFormSignature) => promotedFundChoiceApi.submitChoiceAsync(Object.assign({ fundId: promotedFundId, memberNumber: data.memberNumber, memberFirstName: data.memberFirstName, memberFamilyName: data.memberFamilyName, usi: data.usi.replace(/ /g, ''), standardChoiceFormSignature, defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi) }, superSelectionAppService.promotedFundsConfig))
6195
6256
  });
6196
6257
  break;
@@ -6299,6 +6360,11 @@ const SelfManagedFund = class {
6299
6360
  navigationService.navigateInternallyToStandardChoice({
6300
6361
  history: this.history,
6301
6362
  fundName: 'Self-managed super fund',
6363
+ fundDetails: {
6364
+ type: 'smsf',
6365
+ fundName: state$1.selfManagedFundForm.fundName,
6366
+ fundEsa: state$1.selfManagedFundForm.fundEsa
6367
+ },
6302
6368
  handleSubmitFn: async (standardChoiceFormSignature) => {
6303
6369
  const requestDto = Object.assign({ smsfChoice: {
6304
6370
  abn: state$1.selfManagedFundForm.fundAbn,
@@ -6574,6 +6640,13 @@ class SlateIFrameBuilder {
6574
6640
  navigationService.navigateInternallyToStandardChoice({
6575
6641
  history,
6576
6642
  fundName: fund$7.name,
6643
+ fundDetails: {
6644
+ type: 'promoted',
6645
+ fundName: fund$7.name,
6646
+ fundUsi: slateUsi,
6647
+ memberNumber: data.memberNumber,
6648
+ promotedFundId: fund$7.fundId
6649
+ },
6577
6650
  handleSubmitFn: (standardChoiceFormSignature) => slateChoiceApi.submitSlateChoiceAsync(Object.assign({ memberNumber: data.memberNumber, memberFirstName: data.memberFirstName, memberFamilyName: data.memberFamilyName, standardChoiceFormSignature, defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi) }, superSelectionAppService.promotedFundsConfig)),
6578
6651
  promotedFundId: fund$7.fundId
6579
6652
  });
@@ -6669,7 +6742,7 @@ const StandardChoiceFormInputDefaultFund = class {
6669
6742
  registerInstance(this, hostRef);
6670
6743
  this.standardChoiceFormSignature = '';
6671
6744
  this.isSubmitDisabled = true;
6672
- this.changeFundUrl = SuperSelectionAppRoutes.ChoicePage;
6745
+ this.eventTrackingService = EventTrackingService.Instance;
6673
6746
  this.ignorePopState = () => window.history.pushState(null, '', null);
6674
6747
  }
6675
6748
  connectedCallback() {
@@ -6679,13 +6752,14 @@ const StandardChoiceFormInputDefaultFund = class {
6679
6752
  disconnectedCallback() {
6680
6753
  window.removeEventListener('popstate', this.ignorePopState);
6681
6754
  }
6682
- async componentWillLoad() {
6683
- if (Option.isSome(superSelectionAppService.state.superChoicePrefill)) {
6684
- this.changeFundUrl = SuperSelectionAppRoutes.ConsentPage;
6685
- }
6686
- }
6687
6755
  render() {
6688
- return (h(Host, null, h("div", { class: "text-2xl sm:text-3xl font-bold text-center" }, "Confirm your super choice"), h("div", { class: "sm:text-lg text-gray-600 max-w-800 mt-4 text-center leading-7 sm:leading-8" }, "Your authorisation is required to complete your super choice by signing the standard choice form, which informs your employer of your choice of fund."), h("div", { class: "flex justify-center mt-8 sm:mt-12" }, h("div", { class: "max-w-560" }, h("div", { class: "p-4 sm:p-6 border shadow-sm rounded-lg flex flex-col sm:flex-row" }, this.renderLogo(), h("div", { class: "flex justify-between w-full" }, h("div", null, h("div", { class: "text-xs font-semibold text-gray-500 uppercase" }, "Nominated fund"), h("div", { class: "text-sm mt-2" }, state.fundName)), h("div", { class: "grid content-center ml-4" }, h("stencil-route-link", { url: this.changeFundUrl }, h("sss-button", { size: "xs", variant: "secondary" }, "Change"))))), h("div", { class: "mt-4 p-4 sm:p-6 border shadow-sm rounded-lg" }, h("div", { class: "sm:text-lg font-bold" }, "Superannuation Standard Choice Form"), h("div", { class: "bg-blue-50 border-l-4 border-blue-400 p-4 mt-3" }, h("div", { class: "flex" }, h("div", { class: "flex-shrink-0" }, h("img", { class: "h-5 w-5", src: getAssetPath('assets/icon-information-circle.svg') })), h("div", { class: "ml-2" }, h("p", { class: "text-sm text-blue-800 leading-5" }, "Applying your full name in the text field below is the same as applying your written signature and is legally binding.")))), h("form", { noValidate: true, onSubmit: (ev) => ev.preventDefault(), class: {
6756
+ return (h(Host, null, h("div", { class: "text-2xl sm:text-3xl font-bold text-center" }, "Confirm your super choice"), h("div", { class: "sm:text-lg text-gray-600 max-w-800 mt-4 text-center leading-7 sm:leading-8" }, "Your authorisation is required to complete your super choice by signing the standard choice form, which informs your employer of your choice of fund."), h("div", { class: "flex justify-center mt-8 sm:mt-12" }, h("div", { class: "max-w-560" }, h("div", { class: "p-4 sm:p-6 border shadow-sm rounded-lg flex flex-col sm:flex-row" }, this.renderLogo(), h("div", { class: "flex justify-between w-full" }, h("div", null, h("div", { class: "text-xs font-semibold text-gray-500 uppercase" }, "Nominated fund"), h("div", { class: "text-sm mt-2" }, state.fundName)), h("div", { class: "grid content-center ml-4" }, h("sss-button", { size: "xs", variant: "secondary", promiseFn: async () => {
6757
+ await this.trackChangeRequestedAsync();
6758
+ const changeFundRoute = Option.isSome(superSelectionAppService.state.superChoicePrefill)
6759
+ ? SuperSelectionAppRoutes.ConsentPage
6760
+ : SuperSelectionAppRoutes.ChoicePage;
6761
+ navigationService.navigateInternally(this.history, changeFundRoute);
6762
+ } }, "Change")))), h("div", { class: "mt-4 p-4 sm:p-6 border shadow-sm rounded-lg" }, h("div", { class: "sm:text-lg font-bold" }, "Superannuation Standard Choice Form"), h("div", { class: "bg-blue-50 border-l-4 border-blue-400 p-4 mt-3" }, h("div", { class: "flex" }, h("div", { class: "flex-shrink-0" }, h("img", { class: "h-5 w-5", src: getAssetPath('assets/icon-information-circle.svg') })), h("div", { class: "ml-2" }, h("p", { class: "text-sm text-blue-800 leading-5" }, "Applying your full name in the text field below is the same as applying your written signature and is legally binding.")))), h("form", { noValidate: true, onSubmit: (ev) => ev.preventDefault(), class: {
6689
6763
  'mt-3': true,
6690
6764
  'was-validated': this.formState === 'validated'
6691
6765
  }, ref: (el) => (this.formElement = el), onInput: (_) => (this.isSubmitDisabled = !this.formElement.checkValidity()) }, h("label", { class: "text-sm font-medium text-gray-700" }, "Type your full name"), h("input", { type: "text", autocomplete: "off", class: {
@@ -6701,6 +6775,41 @@ const StandardChoiceFormInputDefaultFund = class {
6701
6775
  return (h("div", { class: "pb-4 mb-4 border-b flex justify-center sm:pb-0 sm:mb-0 sm:border-b-0 sm:pr-8 sm:mr-8 sm:border-r sm:justify-start" }, h("img", { class: "h-16 max-w-140 sm:h-12 sm:max-w-[100px] object-contain", alt: state.fundName, src: logoSource.value })));
6702
6776
  }
6703
6777
  }
6778
+ async trackChangeRequestedAsync() {
6779
+ const common = {
6780
+ promotedFundsShown: superSelectionAppService.promotedFunds,
6781
+ defaultFundUsiSet: toUndefined(superSelectionAppService.defaultFundUsi)
6782
+ };
6783
+ switch (state.fundDetails.type) {
6784
+ case 'default':
6785
+ await this.eventTrackingService.TrackSuperFundDetailChangeRequestedAsync({
6786
+ DefaultFund: Object.assign(Object.assign({}, state.fundDetails), common)
6787
+ });
6788
+ break;
6789
+ case 'myOwnFund':
6790
+ await this.eventTrackingService.TrackSuperFundDetailChangeRequestedAsync({
6791
+ MyOwnFund: Object.assign(Object.assign({}, state.fundDetails), common)
6792
+ });
6793
+ break;
6794
+ case 'smsf':
6795
+ await this.eventTrackingService.TrackSuperFundDetailChangeRequestedAsync({
6796
+ Smsf: Object.assign(Object.assign({}, state.fundDetails), common)
6797
+ });
6798
+ break;
6799
+ case 'promoted':
6800
+ await this.eventTrackingService.TrackSuperFundDetailChangeRequestedAsync({
6801
+ PromotedFund: Object.assign(Object.assign({}, state.fundDetails), common)
6802
+ });
6803
+ break;
6804
+ case 'promotedDefault':
6805
+ await this.eventTrackingService.TrackSuperFundDetailChangeRequestedAsync({
6806
+ PromotedDefaultFund: Object.assign(Object.assign({}, state.fundDetails), common)
6807
+ });
6808
+ break;
6809
+ case 'null':
6810
+ throw 'standardChoiceFormState.fundDetails was not set';
6811
+ }
6812
+ }
6704
6813
  async handleSubmitForm() {
6705
6814
  this.formState = 'validated';
6706
6815
  if (this.formElement.checkValidity()) {
@@ -1 +1 @@
1
- import{p as promiseResolve,b as bootstrapLazy}from"./index-189b2180.js";import"./datorama-akita-127aea91.js";import{g as globalScripts}from"./app-globals-c1f89805.js";var patchBrowser=function(){var e=import.meta.url;var s={};if(e!==""){s.resourcesUrl=new URL(".",e).href}return promiseResolve(s)};patchBrowser().then((function(e){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_38",[[0,"sss-prefill",{history:[16],prefill:[32]}],[0,"sss-my-own-fund",{history:[16],formState:[32],isNotAllInformationProvidedMessageVisible:[32],isSubmitDisabled:[32]}],[0,"sss-self-managed-fund",{history:[16],formState:[32],isSubmitDisabled:[32]}],[0,"sss-super-choice-page",{history:[16],promotedFunds:[32],campaignConnectRequestInProgress:[32]}],[1,"super-selection-app-host",{sessionState:[32],jwt:[32],appConfiguration:[32],ignoreExistingSelection:[32]}],[0,"sss-default-fund",{history:[16],defaultFundProductName:[32]}],[0,"sss-standard-choice-form",{history:[16],standardChoiceFormSignature:[32],formState:[32],isSubmitDisabled:[32],changeFundUrl:[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"],[0,"sss-prefill-my-own-fund",{history:[16],prefill:[16],mode:[32],formState:[32],isSubmitDisabled:[32],fundUsi:[32],fundName:[32],memberNumber:[32],memberGivenNames:[32],memberLastName:[32]}],[0,"sss-prefill-smsf",{history:[16],prefill:[16],mode:[32],formState:[32],isSubmitDisabled:[32],fundName:[32],fundAbn:[32],fundEsa:[32],fundAddressLine1:[32],fundAddressLine2:[32],fundAddressCity:[32],fundAddressPostcode:[32],fundAddressState:[32],fundAddress:[32],memberGivenNames:[32],memberLastName:[32],bankAccountName:[32],bankName:[32],bankAccountBsb:[32],bankAccountNumber:[32]}],[0,"sss-prefill-invalid-my-own-fund",{history:[16],prefill:[16],fundUsi:[32],fundName:[32],memberNumber:[32],memberGivenNames:[32],memberLastName:[32]}],[0,"sss-prefill-invalid-smsf",{history:[16],prefill:[16],fundName:[32],fundAbn:[32],fundEsa:[32],fundAddressLine1:[32],fundAddressLine2:[32],fundAddressCity:[32],fundAddressPostcode:[32],fundAddressState:[32],fundAddress:[32],memberGivenNames:[32],memberLastName:[32],bankAccountName:[32],bankAccountBsb:[32],bankAccountNumber:[32]}],[1,"super-selection-app",{ignoreExistingSelection:[4,"ignore-existing-selection"],accessToken:[1,"access-token"],backendUrl:[1,"backend-url"],appBaseUrl:[1,"app-base-url"],history:[16],location:[16],isSelfHosted:[4,"is-self-hosted"],isAppInitialised:[32]}],[0,"sss-my-own-fund-inputs",{myOwnFundForm:[16],showValidationErrors:[4,"show-validation-errors"],selectedOption:[32]}],[0,"sss-self-managed-fund-inputs",{fundForm:[16],showValidationErrors:[4,"show-validation-errors"],isAbnValid:[32],isAbnTouched:[32],isAbnUsedForRegulated:[32],currentBank:[32],addressErrorMessage:[32]}],[0,"sss-super-choice-item-bottom",{disclaimer:[16],abnInfo:[1,"abn-info"],abn:[1],isMultiFund:[4,"is-multi-fund"]}],[0,"sss-loading-page"],[0,"sss-super-choice-item-top",{name:[1],logo:[1],features:[16],featureSubText:[16],isMultiFund:[4,"is-multi-fund"],isPromotedDefault:[4,"is-promoted-default"]}],[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",{textOverride:[16]}],[4,"stencil-route-switch",{group:[513],scrollTopOffset:[2,"scroll-top-offset"],location:[16],routeViewsUpdated:[16]}],[4,"stencil-router",{root:[1],historyType:[1,"history-type"],titleSuffix:[1,"title-suffix"],scrollTopOffset:[2,"scroll-top-offset"],location:[32],history:[32]}],[4,"sss-custom-fund",{history:[16],currentCustomFund:[32],fundOptionsList:[32],showFundOptionsSelection:[32]}],[0,"sss-iframe-host",{build:[16]}],[0,"sss-prefill-warning-box",{notificationList:[16]}],[0,"sss-header-section",{currentPage:[1,"current-page"]}],[0,"sss-name-input",{value:[1],name:[1],readableName:[1,"readable-name"],showValidationErrors:[4,"show-validation-errors"],errorMessage:[32]}],[0,"sss-prefill-display-field",{field:[16]}],[0,"sss-prefill-error-box",{withHeader:[4,"with-header"],notificationList:[16]}],[4,"stencil-route-link",{url:[1],urlMatch:[1,"url-match"],activeClass:[1,"active-class"],exact:[4],strict:[4],custom:[1],anchorClass:[1,"anchor-class"],anchorRole:[1,"anchor-role"],anchorTitle:[1,"anchor-title"],anchorTabIndex:[1,"anchor-tab-index"],anchorId:[1,"anchor-id"],history:[16],location:[16],root:[1],ariaHaspopup:[1,"aria-haspopup"],ariaPosinset:[1,"aria-posinset"],ariaSetsize:[2,"aria-setsize"],ariaLabel:[1,"aria-label"],match:[32]}],[4,"sss-button",{fillWidth:[4,"fill-width"],fillWidthOnMobile:[4,"fill-width-on-mobile"],disabled:[4],variant:[1],size:[1],promiseFn:[16],state:[32]}],[0,"sss-loading-indicator",{theme:[1],size:[2]}],[0,"stencil-route",{group:[513],componentUpdated:[16],match:[1040],url:[1],component:[1],componentProps:[16],exact:[4],routeRender:[16],scrollTopOffset:[2,"scroll-top-offset"],routeViewsUpdated:[16],location:[16],history:[16],historyType:[1,"history-type"]}]]]],e)}));
1
+ import{p as promiseResolve,b as bootstrapLazy}from"./index-189b2180.js";import"./datorama-akita-127aea91.js";import{g as globalScripts}from"./app-globals-c1f89805.js";var patchBrowser=function(){var e=import.meta.url;var s={};if(e!==""){s.resourcesUrl=new URL(".",e).href}return promiseResolve(s)};patchBrowser().then((function(e){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_38",[[0,"sss-prefill",{history:[16],prefill:[32]}],[0,"sss-my-own-fund",{history:[16],formState:[32],isNotAllInformationProvidedMessageVisible:[32],isSubmitDisabled:[32]}],[0,"sss-self-managed-fund",{history:[16],formState:[32],isSubmitDisabled:[32]}],[0,"sss-super-choice-page",{history:[16],promotedFunds:[32],campaignConnectRequestInProgress:[32]}],[1,"super-selection-app-host",{sessionState:[32],jwt:[32],appConfiguration:[32],ignoreExistingSelection:[32]}],[0,"sss-default-fund",{history:[16],defaultFundProductName:[32]}],[0,"sss-consent-page",{history:[16]}],[0,"sss-existing-choice-page",{history:[16],existingFund:[32]}],[0,"sss-standard-choice-form",{history:[16],standardChoiceFormSignature:[32],formState:[32],isSubmitDisabled:[32]}],[0,"sss-promoted-fund-join-v1-page",{history:[16]}],[0,"sss-promoted-fund-join-v2-page",{history:[16]}],[0,"sss-slate-join-page",{history:[16]}],[0,"sss-success"],[0,"sss-prefill-my-own-fund",{history:[16],prefill:[16],mode:[32],formState:[32],isSubmitDisabled:[32],fundUsi:[32],fundName:[32],memberNumber:[32],memberGivenNames:[32],memberLastName:[32]}],[0,"sss-prefill-smsf",{history:[16],prefill:[16],mode:[32],formState:[32],isSubmitDisabled:[32],fundName:[32],fundAbn:[32],fundEsa:[32],fundAddressLine1:[32],fundAddressLine2:[32],fundAddressCity:[32],fundAddressPostcode:[32],fundAddressState:[32],fundAddress:[32],memberGivenNames:[32],memberLastName:[32],bankAccountName:[32],bankName:[32],bankAccountBsb:[32],bankAccountNumber:[32]}],[0,"sss-prefill-invalid-my-own-fund",{history:[16],prefill:[16],fundUsi:[32],fundName:[32],memberNumber:[32],memberGivenNames:[32],memberLastName:[32]}],[0,"sss-prefill-invalid-smsf",{history:[16],prefill:[16],fundName:[32],fundAbn:[32],fundEsa:[32],fundAddressLine1:[32],fundAddressLine2:[32],fundAddressCity:[32],fundAddressPostcode:[32],fundAddressState:[32],fundAddress:[32],memberGivenNames:[32],memberLastName:[32],bankAccountName:[32],bankAccountBsb:[32],bankAccountNumber:[32]}],[1,"super-selection-app",{ignoreExistingSelection:[4,"ignore-existing-selection"],accessToken:[1,"access-token"],backendUrl:[1,"backend-url"],appBaseUrl:[1,"app-base-url"],history:[16],location:[16],isSelfHosted:[4,"is-self-hosted"],isAppInitialised:[32]}],[0,"sss-my-own-fund-inputs",{myOwnFundForm:[16],showValidationErrors:[4,"show-validation-errors"],selectedOption:[32]}],[0,"sss-self-managed-fund-inputs",{fundForm:[16],showValidationErrors:[4,"show-validation-errors"],isAbnValid:[32],isAbnTouched:[32],isAbnUsedForRegulated:[32],currentBank:[32],addressErrorMessage:[32]}],[0,"sss-super-choice-item-bottom",{disclaimer:[16],abnInfo:[1,"abn-info"],abn:[1],isMultiFund:[4,"is-multi-fund"]}],[0,"sss-loading-page"],[0,"sss-super-choice-item-top",{name:[1],logo:[1],features:[16],featureSubText:[16],isMultiFund:[4,"is-multi-fund"],isPromotedDefault:[4,"is-promoted-default"]}],[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",{textOverride:[16]}],[4,"stencil-route-switch",{group:[513],scrollTopOffset:[2,"scroll-top-offset"],location:[16],routeViewsUpdated:[16]}],[4,"stencil-router",{root:[1],historyType:[1,"history-type"],titleSuffix:[1,"title-suffix"],scrollTopOffset:[2,"scroll-top-offset"],location:[32],history:[32]}],[4,"sss-custom-fund",{history:[16],currentCustomFund:[32],fundOptionsList:[32],showFundOptionsSelection:[32]}],[0,"sss-iframe-host",{build:[16]}],[0,"sss-prefill-warning-box",{notificationList:[16]}],[0,"sss-header-section",{currentPage:[1,"current-page"]}],[0,"sss-name-input",{value:[1],name:[1],readableName:[1,"readable-name"],showValidationErrors:[4,"show-validation-errors"],errorMessage:[32]}],[0,"sss-prefill-display-field",{field:[16]}],[0,"sss-prefill-error-box",{withHeader:[4,"with-header"],notificationList:[16]}],[4,"stencil-route-link",{url:[1],urlMatch:[1,"url-match"],activeClass:[1,"active-class"],exact:[4],strict:[4],custom:[1],anchorClass:[1,"anchor-class"],anchorRole:[1,"anchor-role"],anchorTitle:[1,"anchor-title"],anchorTabIndex:[1,"anchor-tab-index"],anchorId:[1,"anchor-id"],history:[16],location:[16],root:[1],ariaHaspopup:[1,"aria-haspopup"],ariaPosinset:[1,"aria-posinset"],ariaSetsize:[2,"aria-setsize"],ariaLabel:[1,"aria-label"],match:[32]}],[4,"sss-button",{fillWidth:[4,"fill-width"],fillWidthOnMobile:[4,"fill-width-on-mobile"],disabled:[4],variant:[1],size:[1],promiseFn:[16],state:[32]}],[0,"sss-loading-indicator",{theme:[1],size:[2]}],[0,"stencil-route",{group:[513],componentUpdated:[16],match:[1040],url:[1],component:[1],componentProps:[16],exact:[4],routeRender:[16],scrollTopOffset:[2,"scroll-top-offset"],routeViewsUpdated:[16],location:[16],history:[16],historyType:[1,"history-type"]}]]]],e)}));
@@ -1 +1 @@
1
- import{p as promiseResolve,b as bootstrapLazy}from"./index-189b2180.js";import"./datorama-akita-127aea91.js";import{g as globalScripts}from"./app-globals-c1f89805.js";var patchEsm=function(){return promiseResolve()};var defineCustomElements=function(e,s){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_38",[[0,"sss-prefill",{history:[16],prefill:[32]}],[0,"sss-my-own-fund",{history:[16],formState:[32],isNotAllInformationProvidedMessageVisible:[32],isSubmitDisabled:[32]}],[0,"sss-self-managed-fund",{history:[16],formState:[32],isSubmitDisabled:[32]}],[0,"sss-super-choice-page",{history:[16],promotedFunds:[32],campaignConnectRequestInProgress:[32]}],[1,"super-selection-app-host",{sessionState:[32],jwt:[32],appConfiguration:[32],ignoreExistingSelection:[32]}],[0,"sss-default-fund",{history:[16],defaultFundProductName:[32]}],[0,"sss-standard-choice-form",{history:[16],standardChoiceFormSignature:[32],formState:[32],isSubmitDisabled:[32],changeFundUrl:[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"],[0,"sss-prefill-my-own-fund",{history:[16],prefill:[16],mode:[32],formState:[32],isSubmitDisabled:[32],fundUsi:[32],fundName:[32],memberNumber:[32],memberGivenNames:[32],memberLastName:[32]}],[0,"sss-prefill-smsf",{history:[16],prefill:[16],mode:[32],formState:[32],isSubmitDisabled:[32],fundName:[32],fundAbn:[32],fundEsa:[32],fundAddressLine1:[32],fundAddressLine2:[32],fundAddressCity:[32],fundAddressPostcode:[32],fundAddressState:[32],fundAddress:[32],memberGivenNames:[32],memberLastName:[32],bankAccountName:[32],bankName:[32],bankAccountBsb:[32],bankAccountNumber:[32]}],[0,"sss-prefill-invalid-my-own-fund",{history:[16],prefill:[16],fundUsi:[32],fundName:[32],memberNumber:[32],memberGivenNames:[32],memberLastName:[32]}],[0,"sss-prefill-invalid-smsf",{history:[16],prefill:[16],fundName:[32],fundAbn:[32],fundEsa:[32],fundAddressLine1:[32],fundAddressLine2:[32],fundAddressCity:[32],fundAddressPostcode:[32],fundAddressState:[32],fundAddress:[32],memberGivenNames:[32],memberLastName:[32],bankAccountName:[32],bankAccountBsb:[32],bankAccountNumber:[32]}],[1,"super-selection-app",{ignoreExistingSelection:[4,"ignore-existing-selection"],accessToken:[1,"access-token"],backendUrl:[1,"backend-url"],appBaseUrl:[1,"app-base-url"],history:[16],location:[16],isSelfHosted:[4,"is-self-hosted"],isAppInitialised:[32]}],[0,"sss-my-own-fund-inputs",{myOwnFundForm:[16],showValidationErrors:[4,"show-validation-errors"],selectedOption:[32]}],[0,"sss-self-managed-fund-inputs",{fundForm:[16],showValidationErrors:[4,"show-validation-errors"],isAbnValid:[32],isAbnTouched:[32],isAbnUsedForRegulated:[32],currentBank:[32],addressErrorMessage:[32]}],[0,"sss-super-choice-item-bottom",{disclaimer:[16],abnInfo:[1,"abn-info"],abn:[1],isMultiFund:[4,"is-multi-fund"]}],[0,"sss-loading-page"],[0,"sss-super-choice-item-top",{name:[1],logo:[1],features:[16],featureSubText:[16],isMultiFund:[4,"is-multi-fund"],isPromotedDefault:[4,"is-promoted-default"]}],[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",{textOverride:[16]}],[4,"stencil-route-switch",{group:[513],scrollTopOffset:[2,"scroll-top-offset"],location:[16],routeViewsUpdated:[16]}],[4,"stencil-router",{root:[1],historyType:[1,"history-type"],titleSuffix:[1,"title-suffix"],scrollTopOffset:[2,"scroll-top-offset"],location:[32],history:[32]}],[4,"sss-custom-fund",{history:[16],currentCustomFund:[32],fundOptionsList:[32],showFundOptionsSelection:[32]}],[0,"sss-iframe-host",{build:[16]}],[0,"sss-prefill-warning-box",{notificationList:[16]}],[0,"sss-header-section",{currentPage:[1,"current-page"]}],[0,"sss-name-input",{value:[1],name:[1],readableName:[1,"readable-name"],showValidationErrors:[4,"show-validation-errors"],errorMessage:[32]}],[0,"sss-prefill-display-field",{field:[16]}],[0,"sss-prefill-error-box",{withHeader:[4,"with-header"],notificationList:[16]}],[4,"stencil-route-link",{url:[1],urlMatch:[1,"url-match"],activeClass:[1,"active-class"],exact:[4],strict:[4],custom:[1],anchorClass:[1,"anchor-class"],anchorRole:[1,"anchor-role"],anchorTitle:[1,"anchor-title"],anchorTabIndex:[1,"anchor-tab-index"],anchorId:[1,"anchor-id"],history:[16],location:[16],root:[1],ariaHaspopup:[1,"aria-haspopup"],ariaPosinset:[1,"aria-posinset"],ariaSetsize:[2,"aria-setsize"],ariaLabel:[1,"aria-label"],match:[32]}],[4,"sss-button",{fillWidth:[4,"fill-width"],fillWidthOnMobile:[4,"fill-width-on-mobile"],disabled:[4],variant:[1],size:[1],promiseFn:[16],state:[32]}],[0,"sss-loading-indicator",{theme:[1],size:[2]}],[0,"stencil-route",{group:[513],componentUpdated:[16],match:[1040],url:[1],component:[1],componentProps:[16],exact:[4],routeRender:[16],scrollTopOffset:[2,"scroll-top-offset"],routeViewsUpdated:[16],location:[16],history:[16],historyType:[1,"history-type"]}]]]],s)}))};export{defineCustomElements};
1
+ import{p as promiseResolve,b as bootstrapLazy}from"./index-189b2180.js";import"./datorama-akita-127aea91.js";import{g as globalScripts}from"./app-globals-c1f89805.js";var patchEsm=function(){return promiseResolve()};var defineCustomElements=function(e,s){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_38",[[0,"sss-prefill",{history:[16],prefill:[32]}],[0,"sss-my-own-fund",{history:[16],formState:[32],isNotAllInformationProvidedMessageVisible:[32],isSubmitDisabled:[32]}],[0,"sss-self-managed-fund",{history:[16],formState:[32],isSubmitDisabled:[32]}],[0,"sss-super-choice-page",{history:[16],promotedFunds:[32],campaignConnectRequestInProgress:[32]}],[1,"super-selection-app-host",{sessionState:[32],jwt:[32],appConfiguration:[32],ignoreExistingSelection:[32]}],[0,"sss-default-fund",{history:[16],defaultFundProductName:[32]}],[0,"sss-consent-page",{history:[16]}],[0,"sss-existing-choice-page",{history:[16],existingFund:[32]}],[0,"sss-standard-choice-form",{history:[16],standardChoiceFormSignature:[32],formState:[32],isSubmitDisabled:[32]}],[0,"sss-promoted-fund-join-v1-page",{history:[16]}],[0,"sss-promoted-fund-join-v2-page",{history:[16]}],[0,"sss-slate-join-page",{history:[16]}],[0,"sss-success"],[0,"sss-prefill-my-own-fund",{history:[16],prefill:[16],mode:[32],formState:[32],isSubmitDisabled:[32],fundUsi:[32],fundName:[32],memberNumber:[32],memberGivenNames:[32],memberLastName:[32]}],[0,"sss-prefill-smsf",{history:[16],prefill:[16],mode:[32],formState:[32],isSubmitDisabled:[32],fundName:[32],fundAbn:[32],fundEsa:[32],fundAddressLine1:[32],fundAddressLine2:[32],fundAddressCity:[32],fundAddressPostcode:[32],fundAddressState:[32],fundAddress:[32],memberGivenNames:[32],memberLastName:[32],bankAccountName:[32],bankName:[32],bankAccountBsb:[32],bankAccountNumber:[32]}],[0,"sss-prefill-invalid-my-own-fund",{history:[16],prefill:[16],fundUsi:[32],fundName:[32],memberNumber:[32],memberGivenNames:[32],memberLastName:[32]}],[0,"sss-prefill-invalid-smsf",{history:[16],prefill:[16],fundName:[32],fundAbn:[32],fundEsa:[32],fundAddressLine1:[32],fundAddressLine2:[32],fundAddressCity:[32],fundAddressPostcode:[32],fundAddressState:[32],fundAddress:[32],memberGivenNames:[32],memberLastName:[32],bankAccountName:[32],bankAccountBsb:[32],bankAccountNumber:[32]}],[1,"super-selection-app",{ignoreExistingSelection:[4,"ignore-existing-selection"],accessToken:[1,"access-token"],backendUrl:[1,"backend-url"],appBaseUrl:[1,"app-base-url"],history:[16],location:[16],isSelfHosted:[4,"is-self-hosted"],isAppInitialised:[32]}],[0,"sss-my-own-fund-inputs",{myOwnFundForm:[16],showValidationErrors:[4,"show-validation-errors"],selectedOption:[32]}],[0,"sss-self-managed-fund-inputs",{fundForm:[16],showValidationErrors:[4,"show-validation-errors"],isAbnValid:[32],isAbnTouched:[32],isAbnUsedForRegulated:[32],currentBank:[32],addressErrorMessage:[32]}],[0,"sss-super-choice-item-bottom",{disclaimer:[16],abnInfo:[1,"abn-info"],abn:[1],isMultiFund:[4,"is-multi-fund"]}],[0,"sss-loading-page"],[0,"sss-super-choice-item-top",{name:[1],logo:[1],features:[16],featureSubText:[16],isMultiFund:[4,"is-multi-fund"],isPromotedDefault:[4,"is-promoted-default"]}],[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",{textOverride:[16]}],[4,"stencil-route-switch",{group:[513],scrollTopOffset:[2,"scroll-top-offset"],location:[16],routeViewsUpdated:[16]}],[4,"stencil-router",{root:[1],historyType:[1,"history-type"],titleSuffix:[1,"title-suffix"],scrollTopOffset:[2,"scroll-top-offset"],location:[32],history:[32]}],[4,"sss-custom-fund",{history:[16],currentCustomFund:[32],fundOptionsList:[32],showFundOptionsSelection:[32]}],[0,"sss-iframe-host",{build:[16]}],[0,"sss-prefill-warning-box",{notificationList:[16]}],[0,"sss-header-section",{currentPage:[1,"current-page"]}],[0,"sss-name-input",{value:[1],name:[1],readableName:[1,"readable-name"],showValidationErrors:[4,"show-validation-errors"],errorMessage:[32]}],[0,"sss-prefill-display-field",{field:[16]}],[0,"sss-prefill-error-box",{withHeader:[4,"with-header"],notificationList:[16]}],[4,"stencil-route-link",{url:[1],urlMatch:[1,"url-match"],activeClass:[1,"active-class"],exact:[4],strict:[4],custom:[1],anchorClass:[1,"anchor-class"],anchorRole:[1,"anchor-role"],anchorTitle:[1,"anchor-title"],anchorTabIndex:[1,"anchor-tab-index"],anchorId:[1,"anchor-id"],history:[16],location:[16],root:[1],ariaHaspopup:[1,"aria-haspopup"],ariaPosinset:[1,"aria-posinset"],ariaSetsize:[2,"aria-setsize"],ariaLabel:[1,"aria-label"],match:[32]}],[4,"sss-button",{fillWidth:[4,"fill-width"],fillWidthOnMobile:[4,"fill-width-on-mobile"],disabled:[4],variant:[1],size:[1],promiseFn:[16],state:[32]}],[0,"sss-loading-indicator",{theme:[1],size:[2]}],[0,"stencil-route",{group:[513],componentUpdated:[16],match:[1040],url:[1],component:[1],componentProps:[16],exact:[4],routeRender:[16],scrollTopOffset:[2,"scroll-top-offset"],routeViewsUpdated:[16],location:[16],history:[16],historyType:[1,"history-type"]}]]]],s)}))};export{defineCustomElements};