@flarehr/apollo-super-selection 5.16.49123 → 5.18.50860

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 (42) hide show
  1. package/dist/lib/apollo-super-selection/apollo-super-selection.esm.js +1 -1
  2. package/dist/lib/apollo-super-selection/p-bdcfc026.system.js +1 -1
  3. package/dist/lib/apollo-super-selection/p-bef636e4.entry.js +14 -0
  4. package/dist/lib/apollo-super-selection/p-e2ab4ebc.system.entry.js +69 -0
  5. package/dist/lib/cjs/apollo-super-selection.cjs.js +1 -1
  6. package/dist/lib/cjs/loader.cjs.js +1 -1
  7. package/dist/lib/cjs/sss-button_43.cjs.entry.js +122 -38
  8. package/dist/lib/collection/components/super-campaign/super-campaign-types.js +1 -0
  9. package/dist/lib/collection/components/super-campaign/super-campaign.js +64 -19
  10. package/dist/lib/collection/components/super-selection-app/api/super-campaign-errors-api.js +9 -0
  11. package/dist/lib/collection/components/super-selection-app/api/super-campaign-errors.api.dtos.js +1 -0
  12. package/dist/lib/collection/components/super-selection-app/api/super-selection.api.js +3 -0
  13. package/dist/lib/collection/components/super-selection-app/existing-choice/existing-choice.js +1 -3
  14. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund.js +3 -2
  15. package/dist/lib/collection/components/super-selection-app/header-section/header-section.js +13 -3
  16. package/dist/lib/collection/components/super-selection-app/services/event-tracking.service.js +5 -5
  17. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +22 -3
  18. package/dist/lib/collection/components/super-selection-app/services/super-selection.store.js +8 -1
  19. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +1 -5
  20. package/dist/lib/collection/components/super-selection-app/super-selection-app.js +0 -3
  21. package/dist/lib/esm/apollo-super-selection.js +1 -1
  22. package/dist/lib/esm/loader.js +1 -1
  23. package/dist/lib/esm/sss-button_43.entry.js +122 -38
  24. package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
  25. package/dist/lib/esm-es5/loader.js +1 -1
  26. package/dist/lib/esm-es5/sss-button_43.entry.js +5 -5
  27. package/dist/lib/types/components/super-campaign/super-campaign-types.d.ts +10 -1
  28. package/dist/lib/types/components/super-campaign/super-campaign.d.ts +6 -1
  29. package/dist/lib/types/components/super-selection-app/api/super-campaign-errors-api.d.ts +6 -0
  30. package/dist/lib/types/components/super-selection-app/api/super-campaign-errors.api.dtos.d.ts +7 -0
  31. package/dist/lib/types/components/super-selection-app/api/super-selection-events.model.d.ts +13 -7
  32. package/dist/lib/types/components/super-selection-app/api/super-selection.api.d.ts +2 -1
  33. package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +5 -0
  34. package/dist/lib/types/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.dto.d.ts +5 -11
  35. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/api/promoted-fund-choice.api.dto.d.ts +4 -13
  36. package/dist/lib/types/components/super-selection-app/funds/slate-super/api/slate-choice.api.dto.d.ts +2 -5
  37. package/dist/lib/types/components/super-selection-app/services/event-tracking.service.d.ts +1 -1
  38. package/dist/lib/types/components/super-selection-app/services/super-selection-app.service.d.ts +7 -9
  39. package/dist/lib/types/components/super-selection-app/services/super-selection.store.d.ts +6 -0
  40. package/package.json +1 -1
  41. package/dist/lib/apollo-super-selection/p-8ade1d43.entry.js +0 -14
  42. package/dist/lib/apollo-super-selection/p-8b804b51.system.entry.js +0 -69
@@ -1,5 +1,6 @@
1
1
  import { Component, Fragment, h, Prop } from '@stencil/core';
2
2
  import { SuperSelectionAppRoutes } from '../services/super-selection-app.routes';
3
+ import superSelectionAppService from '../services/super-selection-app.service';
3
4
  const RouteLink = (props, children) => {
4
5
  return (h("stencil-route-link", { exact: true, url: props.route },
5
6
  h("div", { class: {
@@ -20,14 +21,23 @@ const ChooseAnotherFundLink = (props) => {
20
21
  };
21
22
  export class HeaderSection {
22
23
  render() {
24
+ const description = superSelectionAppService.isSuperCampaignFallbackActivated
25
+ ? `
26
+ You can choose any super fund, including your current fund/SMSF or your employer’s
27
+ default fund.
28
+ `
29
+ : `
30
+ You can choose any super fund, including your current fund/SMSF, your employer’s
31
+ default fund, or alternatively, you can select from one of the featured funds.
32
+ `;
23
33
  return (h("div", { class: "flex justify-center" },
24
34
  h("div", { class: "text-center max-w-800" },
25
35
  h("h3", { class: "font-bold mb-3 sm:mb-4 text-2xl sm:text-3xl" }, "Nominate a super fund"),
26
36
  h(Fragment, null,
27
- h("div", { class: "text-gray-600 sm:text-lg leading-7 sm:leading-8" }, "You can choose any super fund, including your current fund/SMSF, your employer\u2019s default fund, or alternatively, you can select from one of the featured\u00A0funds."),
28
- h("div", { class: "inline-flex mt-8 sm:mt-12 bg-primary-base rounded-lg p-0.5 whitespace-normal" },
37
+ h("div", { class: "text-gray-600 sm:text-lg leading-7 sm:leading-8" }, description),
38
+ !superSelectionAppService.isSuperCampaignFallbackActivated && (h("div", { class: "inline-flex mt-8 sm:mt-12 bg-primary-base rounded-lg p-0.5 whitespace-normal" },
29
39
  h(RouteLink, { route: SuperSelectionAppRoutes.ChoicePage, isActive: this.currentPage === 'choice' }, "Featured super funds"),
30
- h(ChooseAnotherFundLink, { isActive: this.currentPage === 'own-fund' }))))));
40
+ h(ChooseAnotherFundLink, { isActive: this.currentPage === 'own-fund' })))))));
31
41
  }
32
42
  static get is() { return "sss-header-section"; }
33
43
  static get properties() { return {
@@ -46,11 +46,6 @@ export class EventTrackingService {
46
46
  }
47
47
  });
48
48
  }
49
- async TrackSuperFundPanelViewedAsync(detail) {
50
- return this.trackEventAsync({
51
- SuperFundPanelViewed: detail
52
- });
53
- }
54
49
  async TrackSuperFundNominationViewedAsync(detail) {
55
50
  return this.trackEventAsync({
56
51
  SuperFundNominationViewed: detail
@@ -86,6 +81,11 @@ export class EventTrackingService {
86
81
  SuperFundDetailChangeRequested: detail
87
82
  });
88
83
  }
84
+ async TrackSuperCampaignActivationSucceededAsync(detail) {
85
+ return this.trackEventAsync({
86
+ SuperCampaignActivationSucceeded: detail
87
+ });
88
+ }
89
89
  async trackEventAsync(event) {
90
90
  try {
91
91
  await this.eventTrackingApi.PostAnalyticsEventAsync({ event });
@@ -3,7 +3,7 @@ import { pipe } from 'fp-ts/lib/function';
3
3
  import * as O from 'fp-ts/lib/Option';
4
4
  import jwtDecode from 'jwt-decode';
5
5
  import superSelectionApi from '../api/super-selection.api';
6
- import { initialState } from './super-selection.store';
6
+ import { initialState, SuperCampaignComponentStatus, SuperCampaignState } from './super-selection.store';
7
7
  export class SuperSelectionAppService {
8
8
  constructor() {
9
9
  const { state, onChange } = createStore(initialState);
@@ -142,14 +142,33 @@ export class SuperSelectionAppService {
142
142
  else
143
143
  throw new Error('Cannot set shown funds for SuperCampaing state because it is undefined');
144
144
  }
145
+ viewSuperFundPanelAsync(promotedFundIdListOverride) {
146
+ return superSelectionApi.viewSuperFundPanelAsync(Object.assign(Object.assign({}, this.promotedFundsConfig), { shownFunds: promotedFundIdListOverride
147
+ ? promotedFundIdListOverride
148
+ : this.promotedFundsConfig.shownFunds }));
149
+ }
145
150
  get superCampaignState() {
146
151
  return this._state.superCampaignState;
147
152
  }
148
- initializeSuperCampaignState(value) {
149
- this._state.superCampaignState = value;
153
+ get superCampaignComponentStatus() {
154
+ return this._state.superCampaignComponentStatus;
155
+ }
156
+ set superCampaignComponentStatus(value) {
157
+ if (value === SuperCampaignComponentStatus.Loaded) {
158
+ this._state.superCampaignComponentStatus = SuperCampaignComponentStatus.Loaded;
159
+ this._state.superCampaignState = new SuperCampaignState();
160
+ }
161
+ else {
162
+ this._state.superCampaignComponentStatus = value;
163
+ this._state.superCampaignState = undefined;
164
+ }
150
165
  }
151
166
  get isUsingSuperCampaign() {
152
167
  return this.state.superCampaignEnabled && this.superCampaignState !== undefined;
153
168
  }
169
+ get isSuperCampaignFallbackActivated() {
170
+ return (this.state.superCampaignEnabled &&
171
+ this.superCampaignComponentStatus === SuperCampaignComponentStatus.NotWorking);
172
+ }
154
173
  }
155
174
  export default new SuperSelectionAppService();
@@ -1,4 +1,10 @@
1
1
  import * as O from 'fp-ts/lib/Option';
2
+ export var SuperCampaignComponentStatus;
3
+ (function (SuperCampaignComponentStatus) {
4
+ SuperCampaignComponentStatus[SuperCampaignComponentStatus["NotLoaded"] = 1] = "NotLoaded";
5
+ SuperCampaignComponentStatus[SuperCampaignComponentStatus["Loaded"] = 2] = "Loaded";
6
+ SuperCampaignComponentStatus[SuperCampaignComponentStatus["NotWorking"] = 3] = "NotWorking";
7
+ })(SuperCampaignComponentStatus || (SuperCampaignComponentStatus = {}));
2
8
  export class SuperCampaignState {
3
9
  constructor() {
4
10
  this._promotedFundsShown = [];
@@ -32,5 +38,6 @@ export const initialState = {
32
38
  isDefinedBenefitsEligible: O.none,
33
39
  campaignConnect: O.none,
34
40
  superCampaignEnabled: false,
35
- superCampaignState: undefined
41
+ superCampaignState: undefined,
42
+ superCampaignComponentStatus: SuperCampaignComponentStatus.NotLoaded
36
43
  };
@@ -15,11 +15,7 @@ export class SuperChoicePage {
15
15
  }
16
16
  async componentDidLoad() {
17
17
  const promotedFundsShown = this.promotedFunds.map((item) => item.fundId);
18
- return this.eventTrackingService.TrackSuperFundPanelViewedAsync({
19
- promotedFundsShown,
20
- defaultFundUsiSet: O.toUndefined(SuperSelectionAppService.defaultFundUsi),
21
- superCampaignEnabled: false
22
- });
18
+ await SuperSelectionAppService.viewSuperFundPanelAsync(promotedFundsShown);
23
19
  }
24
20
  render() {
25
21
  const mygovLink = 'https://my.gov.au';
@@ -66,9 +66,6 @@ export class SuperSelectionApp {
66
66
  !shouldIgnoreExistingChoice) {
67
67
  navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ExistingChoicePage);
68
68
  }
69
- else if (superSelectionAppService.state.superCampaignEnabled) {
70
- navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.SuperCampaign);
71
- }
72
69
  else {
73
70
  navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ConsentPage);
74
71
  }
@@ -16,5 +16,5 @@ const patchBrowser = () => {
16
16
 
17
17
  patchBrowser().then(options => {
18
18
  globalScripts();
19
- return bootstrapLazy([["context-consumer",[[0,"context-consumer",{"context":[16],"renderer":[16],"subscribe":[16],"unsubscribe":[32]}]]],["stencil-async-content",[[0,"stencil-async-content",{"documentLocation":[1,"document-location"],"content":[32]}]]],["stencil-route-title",[[0,"stencil-route-title",{"titleSuffix":[1,"title-suffix"],"pageTitle":[1,"page-title"]}]]],["stencil-router-prompt",[[0,"stencil-router-prompt",{"when":[4],"message":[1],"history":[16],"unblock":[32]}]]],["stencil-router-redirect",[[0,"stencil-router-redirect",{"history":[16],"root":[1],"url":[1]}]]],["sss-button_43",[[0,"sss-prefill",{"history":[16],"prefill":[32]}],[0,"sss-my-own-fund",{"history":[16],"formState":[32],"isNotAllInformationProvidedMessageVisible":[32],"isSubmitDisabled":[32]}],[0,"sss-super-choice-page-wrapper",{"history":[16]}],[0,"sss-self-managed-fund",{"history":[16],"formState":[32],"isSubmitDisabled":[32]}],[0,"sss-consent-page-wrapper",{"history":[16]}],[1,"super-selection-app-host",{"sessionState":[32],"jwt":[32],"appConfiguration":[32],"ignoreExistingSelection":[32]}],[0,"sss-default-fund",{"history":[16],"defaultFundProductName":[32]}],[0,"sss-existing-choice-page",{"history":[16],"existingFund":[32]}],[0,"sss-standard-choice-form",{"history":[16],"standardChoiceFormSignature":[32],"formState":[32],"isSubmitDisabled":[32]}],[0,"sss-promoted-fund-join-v1-page",{"history":[16]}],[0,"sss-promoted-fund-join-v2-page",{"history":[16]}],[0,"sss-slate-join-page",{"history":[16]}],[0,"sss-success"],[0,"sss-super-choice-page",{"history":[16],"promotedFunds":[32]}],[0,"sss-prefill-my-own-fund",{"history":[16],"prefill":[16],"mode":[32],"formState":[32],"isSubmitDisabled":[32],"fundUsi":[32],"fundName":[32],"memberNumber":[32],"memberGivenNames":[32],"memberLastName":[32]}],[0,"sss-prefill-smsf",{"history":[16],"prefill":[16],"mode":[32],"formState":[32],"isSubmitDisabled":[32],"fundName":[32],"fundAbn":[32],"fundEsa":[32],"fundAddressLine1":[32],"fundAddressLine2":[32],"fundAddressCity":[32],"fundAddressPostcode":[32],"fundAddressState":[32],"fundAddress":[32],"memberGivenNames":[32],"memberLastName":[32],"bankAccountName":[32],"bankName":[32],"bankAccountBsb":[32],"bankAccountNumber":[32]}],[0,"sss-consent-page",{"history":[16],"campaignConnectRequestInProgress":[32]}],[0,"sss-prefill-invalid-my-own-fund",{"history":[16],"prefill":[16],"fundUsi":[32],"fundName":[32],"memberNumber":[32],"memberGivenNames":[32],"memberLastName":[32]}],[0,"sss-prefill-invalid-smsf",{"history":[16],"prefill":[16],"fundName":[32],"fundAbn":[32],"fundEsa":[32],"fundAddressLine1":[32],"fundAddressLine2":[32],"fundAddressCity":[32],"fundAddressPostcode":[32],"fundAddressState":[32],"fundAddress":[32],"memberGivenNames":[32],"memberLastName":[32],"bankAccountName":[32],"bankAccountBsb":[32],"bankAccountNumber":[32]}],[1,"super-selection-app",{"ignoreExistingSelection":[4,"ignore-existing-selection"],"accessToken":[1,"access-token"],"backendUrl":[1,"backend-url"],"appBaseUrl":[1,"app-base-url"],"history":[16],"location":[16],"isSelfHosted":[4,"is-self-hosted"],"isAppInitialised":[32]}],[0,"sss-my-own-fund-inputs",{"myOwnFundForm":[16],"showValidationErrors":[4,"show-validation-errors"],"selectedOption":[32]}],[0,"sss-self-managed-fund-inputs",{"fundForm":[16],"showValidationErrors":[4,"show-validation-errors"],"abnValidationStatus":[32],"isAbnTouched":[32],"currentBank":[32],"addressErrorMessage":[32]}],[0,"sss-loading-page"],[0,"sss-loading-super-indicator"],[0,"sss-super-choice-item-bottom",{"disclaimer":[16],"abnInfo":[1,"abn-info"],"abn":[1],"isMultiFund":[4,"is-multi-fund"]}],[0,"sss-super-campaign-host",{"history":[16],"componentLoaded":[32],"backendUrl":[32],"accessToken":[32]}],[0,"sss-dropdown-async",{"testId":[1,"test-id"],"placeholder":[1],"searchFunction":[16],"value":[16],"required":[4],"requiredValidationMessage":[1,"required-validation-message"],"disabled":[4],"minSearchStringLength":[2,"min-search-string-length"],"showValidationErrors":[4,"show-validation-errors"],"searchState":[32],"inputValue":[32],"isDropdownVisible":[32],"filteredOptions":[32],"highlightedOptionIndex":[32],"selectedOption":[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-footer-section",{"textOverride":[16]}],[0,"sss-super-choice-item-top",{"name":[1],"logo":[1],"features":[16],"featureSubText":[16],"customContent":[16],"isMultiFund":[4,"is-multi-fund"],"isPromotedDefault":[4,"is-promoted-default"],"extraBadge":[16]}],[4,"stencil-route-switch",{"group":[513],"scrollTopOffset":[2,"scroll-top-offset"],"location":[16],"routeViewsUpdated":[16]}],[4,"stencil-router",{"root":[1],"historyType":[1,"history-type"],"titleSuffix":[1,"title-suffix"],"scrollTopOffset":[2,"scroll-top-offset"],"location":[32],"history":[32]}],[4,"sss-custom-fund",{"history":[16],"currentCustomFund":[32],"fundOptionsList":[32],"showFundOptionsSelection":[32]}],[4,"sss-loading-component",{"header":[1]}],[0,"sss-iframe-host",{"build":[16]}],[0,"sss-prefill-warning-box",{"notificationList":[16]}],[0,"sss-name-input",{"testId":[1,"test-id"],"value":[1],"name":[1],"readableName":[1,"readable-name"],"showValidationErrors":[4,"show-validation-errors"],"errorMessage":[32]}],[0,"sss-header-section",{"currentPage":[1,"current-page"]}],[0,"sss-prefill-display-field",{"field":[16]}],[0,"sss-prefill-error-box",{"withHeader":[4,"with-header"],"notificationList":[16]}],[4,"stencil-route-link",{"url":[1],"urlMatch":[1,"url-match"],"activeClass":[1,"active-class"],"exact":[4],"strict":[4],"custom":[1],"anchorClass":[1,"anchor-class"],"anchorRole":[1,"anchor-role"],"anchorTitle":[1,"anchor-title"],"anchorTabIndex":[1,"anchor-tab-index"],"anchorId":[1,"anchor-id"],"history":[16],"location":[16],"root":[1],"ariaHaspopup":[1,"aria-haspopup"],"ariaPosinset":[1,"aria-posinset"],"ariaSetsize":[2,"aria-setsize"],"ariaLabel":[1,"aria-label"],"match":[32]}],[4,"sss-button",{"testid":[1],"fillWidth":[4,"fill-width"],"fillWidthOnMobile":[4,"fill-width-on-mobile"],"disabled":[4],"variant":[1],"size":[1],"promiseFn":[16],"state":[32]}],[0,"sss-loading-indicator",{"theme":[1],"size":[2]}],[0,"stencil-route",{"group":[513],"componentUpdated":[16],"match":[1040],"url":[1],"component":[1],"componentProps":[16],"exact":[4],"routeRender":[16],"scrollTopOffset":[2,"scroll-top-offset"],"routeViewsUpdated":[16],"location":[16],"history":[16],"historyType":[1,"history-type"]}]]]], options);
19
+ return bootstrapLazy([["context-consumer",[[0,"context-consumer",{"context":[16],"renderer":[16],"subscribe":[16],"unsubscribe":[32]}]]],["stencil-async-content",[[0,"stencil-async-content",{"documentLocation":[1,"document-location"],"content":[32]}]]],["stencil-route-title",[[0,"stencil-route-title",{"titleSuffix":[1,"title-suffix"],"pageTitle":[1,"page-title"]}]]],["stencil-router-prompt",[[0,"stencil-router-prompt",{"when":[4],"message":[1],"history":[16],"unblock":[32]}]]],["stencil-router-redirect",[[0,"stencil-router-redirect",{"history":[16],"root":[1],"url":[1]}]]],["sss-button_43",[[0,"sss-prefill",{"history":[16],"prefill":[32]}],[0,"sss-my-own-fund",{"history":[16],"formState":[32],"isNotAllInformationProvidedMessageVisible":[32],"isSubmitDisabled":[32]}],[0,"sss-super-choice-page-wrapper",{"history":[16]}],[0,"sss-self-managed-fund",{"history":[16],"formState":[32],"isSubmitDisabled":[32]}],[0,"sss-consent-page-wrapper",{"history":[16]}],[1,"super-selection-app-host",{"sessionState":[32],"jwt":[32],"appConfiguration":[32],"ignoreExistingSelection":[32]}],[0,"sss-default-fund",{"history":[16],"defaultFundProductName":[32]}],[0,"sss-existing-choice-page",{"history":[16],"existingFund":[32]}],[0,"sss-standard-choice-form",{"history":[16],"standardChoiceFormSignature":[32],"formState":[32],"isSubmitDisabled":[32]}],[0,"sss-promoted-fund-join-v1-page",{"history":[16]}],[0,"sss-promoted-fund-join-v2-page",{"history":[16]}],[0,"sss-slate-join-page",{"history":[16]}],[0,"sss-success"],[0,"sss-super-choice-page",{"history":[16],"promotedFunds":[32]}],[0,"sss-prefill-my-own-fund",{"history":[16],"prefill":[16],"mode":[32],"formState":[32],"isSubmitDisabled":[32],"fundUsi":[32],"fundName":[32],"memberNumber":[32],"memberGivenNames":[32],"memberLastName":[32]}],[0,"sss-prefill-smsf",{"history":[16],"prefill":[16],"mode":[32],"formState":[32],"isSubmitDisabled":[32],"fundName":[32],"fundAbn":[32],"fundEsa":[32],"fundAddressLine1":[32],"fundAddressLine2":[32],"fundAddressCity":[32],"fundAddressPostcode":[32],"fundAddressState":[32],"fundAddress":[32],"memberGivenNames":[32],"memberLastName":[32],"bankAccountName":[32],"bankName":[32],"bankAccountBsb":[32],"bankAccountNumber":[32]}],[0,"sss-consent-page",{"history":[16],"campaignConnectRequestInProgress":[32]}],[0,"sss-prefill-invalid-my-own-fund",{"history":[16],"prefill":[16],"fundUsi":[32],"fundName":[32],"memberNumber":[32],"memberGivenNames":[32],"memberLastName":[32]}],[0,"sss-prefill-invalid-smsf",{"history":[16],"prefill":[16],"fundName":[32],"fundAbn":[32],"fundEsa":[32],"fundAddressLine1":[32],"fundAddressLine2":[32],"fundAddressCity":[32],"fundAddressPostcode":[32],"fundAddressState":[32],"fundAddress":[32],"memberGivenNames":[32],"memberLastName":[32],"bankAccountName":[32],"bankAccountBsb":[32],"bankAccountNumber":[32]}],[1,"super-selection-app",{"ignoreExistingSelection":[4,"ignore-existing-selection"],"accessToken":[1,"access-token"],"backendUrl":[1,"backend-url"],"appBaseUrl":[1,"app-base-url"],"history":[16],"location":[16],"isSelfHosted":[4,"is-self-hosted"],"isAppInitialised":[32]}],[0,"sss-my-own-fund-inputs",{"myOwnFundForm":[16],"showValidationErrors":[4,"show-validation-errors"],"selectedOption":[32]}],[0,"sss-self-managed-fund-inputs",{"fundForm":[16],"showValidationErrors":[4,"show-validation-errors"],"abnValidationStatus":[32],"isAbnTouched":[32],"currentBank":[32],"addressErrorMessage":[32]}],[0,"sss-loading-page"],[0,"sss-loading-super-indicator"],[0,"sss-super-choice-item-bottom",{"disclaimer":[16],"abnInfo":[1,"abn-info"],"abn":[1],"isMultiFund":[4,"is-multi-fund"]}],[0,"sss-super-campaign-host",{"history":[16],"scriptImported":[32],"backendUrl":[32],"accessToken":[32]}],[0,"sss-dropdown-async",{"testId":[1,"test-id"],"placeholder":[1],"searchFunction":[16],"value":[16],"required":[4],"requiredValidationMessage":[1,"required-validation-message"],"disabled":[4],"minSearchStringLength":[2,"min-search-string-length"],"showValidationErrors":[4,"show-validation-errors"],"searchState":[32],"inputValue":[32],"isDropdownVisible":[32],"filteredOptions":[32],"highlightedOptionIndex":[32],"selectedOption":[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-footer-section",{"textOverride":[16]}],[0,"sss-super-choice-item-top",{"name":[1],"logo":[1],"features":[16],"featureSubText":[16],"customContent":[16],"isMultiFund":[4,"is-multi-fund"],"isPromotedDefault":[4,"is-promoted-default"],"extraBadge":[16]}],[4,"stencil-route-switch",{"group":[513],"scrollTopOffset":[2,"scroll-top-offset"],"location":[16],"routeViewsUpdated":[16]}],[4,"stencil-router",{"root":[1],"historyType":[1,"history-type"],"titleSuffix":[1,"title-suffix"],"scrollTopOffset":[2,"scroll-top-offset"],"location":[32],"history":[32]}],[4,"sss-custom-fund",{"history":[16],"currentCustomFund":[32],"fundOptionsList":[32],"showFundOptionsSelection":[32]}],[4,"sss-loading-component",{"header":[1]}],[0,"sss-iframe-host",{"build":[16]}],[0,"sss-prefill-warning-box",{"notificationList":[16]}],[0,"sss-name-input",{"testId":[1,"test-id"],"value":[1],"name":[1],"readableName":[1,"readable-name"],"showValidationErrors":[4,"show-validation-errors"],"errorMessage":[32]}],[0,"sss-header-section",{"currentPage":[1,"current-page"]}],[0,"sss-prefill-display-field",{"field":[16]}],[0,"sss-prefill-error-box",{"withHeader":[4,"with-header"],"notificationList":[16]}],[4,"stencil-route-link",{"url":[1],"urlMatch":[1,"url-match"],"activeClass":[1,"active-class"],"exact":[4],"strict":[4],"custom":[1],"anchorClass":[1,"anchor-class"],"anchorRole":[1,"anchor-role"],"anchorTitle":[1,"anchor-title"],"anchorTabIndex":[1,"anchor-tab-index"],"anchorId":[1,"anchor-id"],"history":[16],"location":[16],"root":[1],"ariaHaspopup":[1,"aria-haspopup"],"ariaPosinset":[1,"aria-posinset"],"ariaSetsize":[2,"aria-setsize"],"ariaLabel":[1,"aria-label"],"match":[32]}],[4,"sss-button",{"testid":[1],"fillWidth":[4,"fill-width"],"fillWidthOnMobile":[4,"fill-width-on-mobile"],"disabled":[4],"variant":[1],"size":[1],"promiseFn":[16],"state":[32]}],[0,"sss-loading-indicator",{"theme":[1],"size":[2]}],[0,"stencil-route",{"group":[513],"componentUpdated":[16],"match":[1040],"url":[1],"component":[1],"componentProps":[16],"exact":[4],"routeRender":[16],"scrollTopOffset":[2,"scroll-top-offset"],"routeViewsUpdated":[16],"location":[16],"history":[16],"historyType":[1,"history-type"]}]]]], options);
20
20
  });
@@ -13,7 +13,7 @@ const defineCustomElements = (win, options) => {
13
13
  if (typeof window === 'undefined') return Promise.resolve();
14
14
  return patchEsm().then(() => {
15
15
  globalScripts();
16
- return bootstrapLazy([["context-consumer",[[0,"context-consumer",{"context":[16],"renderer":[16],"subscribe":[16],"unsubscribe":[32]}]]],["stencil-async-content",[[0,"stencil-async-content",{"documentLocation":[1,"document-location"],"content":[32]}]]],["stencil-route-title",[[0,"stencil-route-title",{"titleSuffix":[1,"title-suffix"],"pageTitle":[1,"page-title"]}]]],["stencil-router-prompt",[[0,"stencil-router-prompt",{"when":[4],"message":[1],"history":[16],"unblock":[32]}]]],["stencil-router-redirect",[[0,"stencil-router-redirect",{"history":[16],"root":[1],"url":[1]}]]],["sss-button_43",[[0,"sss-prefill",{"history":[16],"prefill":[32]}],[0,"sss-my-own-fund",{"history":[16],"formState":[32],"isNotAllInformationProvidedMessageVisible":[32],"isSubmitDisabled":[32]}],[0,"sss-super-choice-page-wrapper",{"history":[16]}],[0,"sss-self-managed-fund",{"history":[16],"formState":[32],"isSubmitDisabled":[32]}],[0,"sss-consent-page-wrapper",{"history":[16]}],[1,"super-selection-app-host",{"sessionState":[32],"jwt":[32],"appConfiguration":[32],"ignoreExistingSelection":[32]}],[0,"sss-default-fund",{"history":[16],"defaultFundProductName":[32]}],[0,"sss-existing-choice-page",{"history":[16],"existingFund":[32]}],[0,"sss-standard-choice-form",{"history":[16],"standardChoiceFormSignature":[32],"formState":[32],"isSubmitDisabled":[32]}],[0,"sss-promoted-fund-join-v1-page",{"history":[16]}],[0,"sss-promoted-fund-join-v2-page",{"history":[16]}],[0,"sss-slate-join-page",{"history":[16]}],[0,"sss-success"],[0,"sss-super-choice-page",{"history":[16],"promotedFunds":[32]}],[0,"sss-prefill-my-own-fund",{"history":[16],"prefill":[16],"mode":[32],"formState":[32],"isSubmitDisabled":[32],"fundUsi":[32],"fundName":[32],"memberNumber":[32],"memberGivenNames":[32],"memberLastName":[32]}],[0,"sss-prefill-smsf",{"history":[16],"prefill":[16],"mode":[32],"formState":[32],"isSubmitDisabled":[32],"fundName":[32],"fundAbn":[32],"fundEsa":[32],"fundAddressLine1":[32],"fundAddressLine2":[32],"fundAddressCity":[32],"fundAddressPostcode":[32],"fundAddressState":[32],"fundAddress":[32],"memberGivenNames":[32],"memberLastName":[32],"bankAccountName":[32],"bankName":[32],"bankAccountBsb":[32],"bankAccountNumber":[32]}],[0,"sss-consent-page",{"history":[16],"campaignConnectRequestInProgress":[32]}],[0,"sss-prefill-invalid-my-own-fund",{"history":[16],"prefill":[16],"fundUsi":[32],"fundName":[32],"memberNumber":[32],"memberGivenNames":[32],"memberLastName":[32]}],[0,"sss-prefill-invalid-smsf",{"history":[16],"prefill":[16],"fundName":[32],"fundAbn":[32],"fundEsa":[32],"fundAddressLine1":[32],"fundAddressLine2":[32],"fundAddressCity":[32],"fundAddressPostcode":[32],"fundAddressState":[32],"fundAddress":[32],"memberGivenNames":[32],"memberLastName":[32],"bankAccountName":[32],"bankAccountBsb":[32],"bankAccountNumber":[32]}],[1,"super-selection-app",{"ignoreExistingSelection":[4,"ignore-existing-selection"],"accessToken":[1,"access-token"],"backendUrl":[1,"backend-url"],"appBaseUrl":[1,"app-base-url"],"history":[16],"location":[16],"isSelfHosted":[4,"is-self-hosted"],"isAppInitialised":[32]}],[0,"sss-my-own-fund-inputs",{"myOwnFundForm":[16],"showValidationErrors":[4,"show-validation-errors"],"selectedOption":[32]}],[0,"sss-self-managed-fund-inputs",{"fundForm":[16],"showValidationErrors":[4,"show-validation-errors"],"abnValidationStatus":[32],"isAbnTouched":[32],"currentBank":[32],"addressErrorMessage":[32]}],[0,"sss-loading-page"],[0,"sss-loading-super-indicator"],[0,"sss-super-choice-item-bottom",{"disclaimer":[16],"abnInfo":[1,"abn-info"],"abn":[1],"isMultiFund":[4,"is-multi-fund"]}],[0,"sss-super-campaign-host",{"history":[16],"componentLoaded":[32],"backendUrl":[32],"accessToken":[32]}],[0,"sss-dropdown-async",{"testId":[1,"test-id"],"placeholder":[1],"searchFunction":[16],"value":[16],"required":[4],"requiredValidationMessage":[1,"required-validation-message"],"disabled":[4],"minSearchStringLength":[2,"min-search-string-length"],"showValidationErrors":[4,"show-validation-errors"],"searchState":[32],"inputValue":[32],"isDropdownVisible":[32],"filteredOptions":[32],"highlightedOptionIndex":[32],"selectedOption":[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-footer-section",{"textOverride":[16]}],[0,"sss-super-choice-item-top",{"name":[1],"logo":[1],"features":[16],"featureSubText":[16],"customContent":[16],"isMultiFund":[4,"is-multi-fund"],"isPromotedDefault":[4,"is-promoted-default"],"extraBadge":[16]}],[4,"stencil-route-switch",{"group":[513],"scrollTopOffset":[2,"scroll-top-offset"],"location":[16],"routeViewsUpdated":[16]}],[4,"stencil-router",{"root":[1],"historyType":[1,"history-type"],"titleSuffix":[1,"title-suffix"],"scrollTopOffset":[2,"scroll-top-offset"],"location":[32],"history":[32]}],[4,"sss-custom-fund",{"history":[16],"currentCustomFund":[32],"fundOptionsList":[32],"showFundOptionsSelection":[32]}],[4,"sss-loading-component",{"header":[1]}],[0,"sss-iframe-host",{"build":[16]}],[0,"sss-prefill-warning-box",{"notificationList":[16]}],[0,"sss-name-input",{"testId":[1,"test-id"],"value":[1],"name":[1],"readableName":[1,"readable-name"],"showValidationErrors":[4,"show-validation-errors"],"errorMessage":[32]}],[0,"sss-header-section",{"currentPage":[1,"current-page"]}],[0,"sss-prefill-display-field",{"field":[16]}],[0,"sss-prefill-error-box",{"withHeader":[4,"with-header"],"notificationList":[16]}],[4,"stencil-route-link",{"url":[1],"urlMatch":[1,"url-match"],"activeClass":[1,"active-class"],"exact":[4],"strict":[4],"custom":[1],"anchorClass":[1,"anchor-class"],"anchorRole":[1,"anchor-role"],"anchorTitle":[1,"anchor-title"],"anchorTabIndex":[1,"anchor-tab-index"],"anchorId":[1,"anchor-id"],"history":[16],"location":[16],"root":[1],"ariaHaspopup":[1,"aria-haspopup"],"ariaPosinset":[1,"aria-posinset"],"ariaSetsize":[2,"aria-setsize"],"ariaLabel":[1,"aria-label"],"match":[32]}],[4,"sss-button",{"testid":[1],"fillWidth":[4,"fill-width"],"fillWidthOnMobile":[4,"fill-width-on-mobile"],"disabled":[4],"variant":[1],"size":[1],"promiseFn":[16],"state":[32]}],[0,"sss-loading-indicator",{"theme":[1],"size":[2]}],[0,"stencil-route",{"group":[513],"componentUpdated":[16],"match":[1040],"url":[1],"component":[1],"componentProps":[16],"exact":[4],"routeRender":[16],"scrollTopOffset":[2,"scroll-top-offset"],"routeViewsUpdated":[16],"location":[16],"history":[16],"historyType":[1,"history-type"]}]]]], options);
16
+ return bootstrapLazy([["context-consumer",[[0,"context-consumer",{"context":[16],"renderer":[16],"subscribe":[16],"unsubscribe":[32]}]]],["stencil-async-content",[[0,"stencil-async-content",{"documentLocation":[1,"document-location"],"content":[32]}]]],["stencil-route-title",[[0,"stencil-route-title",{"titleSuffix":[1,"title-suffix"],"pageTitle":[1,"page-title"]}]]],["stencil-router-prompt",[[0,"stencil-router-prompt",{"when":[4],"message":[1],"history":[16],"unblock":[32]}]]],["stencil-router-redirect",[[0,"stencil-router-redirect",{"history":[16],"root":[1],"url":[1]}]]],["sss-button_43",[[0,"sss-prefill",{"history":[16],"prefill":[32]}],[0,"sss-my-own-fund",{"history":[16],"formState":[32],"isNotAllInformationProvidedMessageVisible":[32],"isSubmitDisabled":[32]}],[0,"sss-super-choice-page-wrapper",{"history":[16]}],[0,"sss-self-managed-fund",{"history":[16],"formState":[32],"isSubmitDisabled":[32]}],[0,"sss-consent-page-wrapper",{"history":[16]}],[1,"super-selection-app-host",{"sessionState":[32],"jwt":[32],"appConfiguration":[32],"ignoreExistingSelection":[32]}],[0,"sss-default-fund",{"history":[16],"defaultFundProductName":[32]}],[0,"sss-existing-choice-page",{"history":[16],"existingFund":[32]}],[0,"sss-standard-choice-form",{"history":[16],"standardChoiceFormSignature":[32],"formState":[32],"isSubmitDisabled":[32]}],[0,"sss-promoted-fund-join-v1-page",{"history":[16]}],[0,"sss-promoted-fund-join-v2-page",{"history":[16]}],[0,"sss-slate-join-page",{"history":[16]}],[0,"sss-success"],[0,"sss-super-choice-page",{"history":[16],"promotedFunds":[32]}],[0,"sss-prefill-my-own-fund",{"history":[16],"prefill":[16],"mode":[32],"formState":[32],"isSubmitDisabled":[32],"fundUsi":[32],"fundName":[32],"memberNumber":[32],"memberGivenNames":[32],"memberLastName":[32]}],[0,"sss-prefill-smsf",{"history":[16],"prefill":[16],"mode":[32],"formState":[32],"isSubmitDisabled":[32],"fundName":[32],"fundAbn":[32],"fundEsa":[32],"fundAddressLine1":[32],"fundAddressLine2":[32],"fundAddressCity":[32],"fundAddressPostcode":[32],"fundAddressState":[32],"fundAddress":[32],"memberGivenNames":[32],"memberLastName":[32],"bankAccountName":[32],"bankName":[32],"bankAccountBsb":[32],"bankAccountNumber":[32]}],[0,"sss-consent-page",{"history":[16],"campaignConnectRequestInProgress":[32]}],[0,"sss-prefill-invalid-my-own-fund",{"history":[16],"prefill":[16],"fundUsi":[32],"fundName":[32],"memberNumber":[32],"memberGivenNames":[32],"memberLastName":[32]}],[0,"sss-prefill-invalid-smsf",{"history":[16],"prefill":[16],"fundName":[32],"fundAbn":[32],"fundEsa":[32],"fundAddressLine1":[32],"fundAddressLine2":[32],"fundAddressCity":[32],"fundAddressPostcode":[32],"fundAddressState":[32],"fundAddress":[32],"memberGivenNames":[32],"memberLastName":[32],"bankAccountName":[32],"bankAccountBsb":[32],"bankAccountNumber":[32]}],[1,"super-selection-app",{"ignoreExistingSelection":[4,"ignore-existing-selection"],"accessToken":[1,"access-token"],"backendUrl":[1,"backend-url"],"appBaseUrl":[1,"app-base-url"],"history":[16],"location":[16],"isSelfHosted":[4,"is-self-hosted"],"isAppInitialised":[32]}],[0,"sss-my-own-fund-inputs",{"myOwnFundForm":[16],"showValidationErrors":[4,"show-validation-errors"],"selectedOption":[32]}],[0,"sss-self-managed-fund-inputs",{"fundForm":[16],"showValidationErrors":[4,"show-validation-errors"],"abnValidationStatus":[32],"isAbnTouched":[32],"currentBank":[32],"addressErrorMessage":[32]}],[0,"sss-loading-page"],[0,"sss-loading-super-indicator"],[0,"sss-super-choice-item-bottom",{"disclaimer":[16],"abnInfo":[1,"abn-info"],"abn":[1],"isMultiFund":[4,"is-multi-fund"]}],[0,"sss-super-campaign-host",{"history":[16],"scriptImported":[32],"backendUrl":[32],"accessToken":[32]}],[0,"sss-dropdown-async",{"testId":[1,"test-id"],"placeholder":[1],"searchFunction":[16],"value":[16],"required":[4],"requiredValidationMessage":[1,"required-validation-message"],"disabled":[4],"minSearchStringLength":[2,"min-search-string-length"],"showValidationErrors":[4,"show-validation-errors"],"searchState":[32],"inputValue":[32],"isDropdownVisible":[32],"filteredOptions":[32],"highlightedOptionIndex":[32],"selectedOption":[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-footer-section",{"textOverride":[16]}],[0,"sss-super-choice-item-top",{"name":[1],"logo":[1],"features":[16],"featureSubText":[16],"customContent":[16],"isMultiFund":[4,"is-multi-fund"],"isPromotedDefault":[4,"is-promoted-default"],"extraBadge":[16]}],[4,"stencil-route-switch",{"group":[513],"scrollTopOffset":[2,"scroll-top-offset"],"location":[16],"routeViewsUpdated":[16]}],[4,"stencil-router",{"root":[1],"historyType":[1,"history-type"],"titleSuffix":[1,"title-suffix"],"scrollTopOffset":[2,"scroll-top-offset"],"location":[32],"history":[32]}],[4,"sss-custom-fund",{"history":[16],"currentCustomFund":[32],"fundOptionsList":[32],"showFundOptionsSelection":[32]}],[4,"sss-loading-component",{"header":[1]}],[0,"sss-iframe-host",{"build":[16]}],[0,"sss-prefill-warning-box",{"notificationList":[16]}],[0,"sss-name-input",{"testId":[1,"test-id"],"value":[1],"name":[1],"readableName":[1,"readable-name"],"showValidationErrors":[4,"show-validation-errors"],"errorMessage":[32]}],[0,"sss-header-section",{"currentPage":[1,"current-page"]}],[0,"sss-prefill-display-field",{"field":[16]}],[0,"sss-prefill-error-box",{"withHeader":[4,"with-header"],"notificationList":[16]}],[4,"stencil-route-link",{"url":[1],"urlMatch":[1,"url-match"],"activeClass":[1,"active-class"],"exact":[4],"strict":[4],"custom":[1],"anchorClass":[1,"anchor-class"],"anchorRole":[1,"anchor-role"],"anchorTitle":[1,"anchor-title"],"anchorTabIndex":[1,"anchor-tab-index"],"anchorId":[1,"anchor-id"],"history":[16],"location":[16],"root":[1],"ariaHaspopup":[1,"aria-haspopup"],"ariaPosinset":[1,"aria-posinset"],"ariaSetsize":[2,"aria-setsize"],"ariaLabel":[1,"aria-label"],"match":[32]}],[4,"sss-button",{"testid":[1],"fillWidth":[4,"fill-width"],"fillWidthOnMobile":[4,"fill-width-on-mobile"],"disabled":[4],"variant":[1],"size":[1],"promiseFn":[16],"state":[32]}],[0,"sss-loading-indicator",{"theme":[1],"size":[2]}],[0,"stencil-route",{"group":[513],"componentUpdated":[16],"match":[1040],"url":[1],"component":[1],"componentProps":[16],"exact":[4],"routeRender":[16],"scrollTopOffset":[2,"scroll-top-offset"],"routeViewsUpdated":[16],"location":[16],"history":[16],"historyType":[1,"history-type"]}]]]], options);
17
17
  });
18
18
  };
19
19
 
@@ -260,7 +260,7 @@ class TapSubscriber extends Subscriber {
260
260
  }
261
261
  }
262
262
 
263
- const AppVersion = '5.16.49123';
263
+ const AppVersion = '5.18.50860';
264
264
 
265
265
  // -------------------------------------------------------------------------------------
266
266
  // guards
@@ -3483,6 +3483,9 @@ class SuperSelectionApi {
3483
3483
  async clickPromotedTileAsync(payload) {
3484
3484
  return buildBackendApiClient().url('click-promoted-tile').post(payload).res();
3485
3485
  }
3486
+ async viewSuperFundPanelAsync(payload) {
3487
+ return buildBackendApiClient().url('view-super-fund-panel').post(payload).res();
3488
+ }
3486
3489
  toSearchFilterQueryString(searchFilter) {
3487
3490
  return (`search=${searchFilter.searchString}` +
3488
3491
  (searchFilter.maxRecordCount > 0 ? '&maxRecordCount=' + searchFilter.maxRecordCount : ''));
@@ -3496,6 +3499,12 @@ class SuperSelectionApi {
3496
3499
  }
3497
3500
  const superSelectionApi = new SuperSelectionApi();
3498
3501
 
3502
+ var SuperCampaignComponentStatus;
3503
+ (function (SuperCampaignComponentStatus) {
3504
+ SuperCampaignComponentStatus[SuperCampaignComponentStatus["NotLoaded"] = 1] = "NotLoaded";
3505
+ SuperCampaignComponentStatus[SuperCampaignComponentStatus["Loaded"] = 2] = "Loaded";
3506
+ SuperCampaignComponentStatus[SuperCampaignComponentStatus["NotWorking"] = 3] = "NotWorking";
3507
+ })(SuperCampaignComponentStatus || (SuperCampaignComponentStatus = {}));
3499
3508
  class SuperCampaignState {
3500
3509
  constructor() {
3501
3510
  this._promotedFundsShown = [];
@@ -3529,7 +3538,8 @@ const initialState = {
3529
3538
  isDefinedBenefitsEligible: Option.none,
3530
3539
  campaignConnect: Option.none,
3531
3540
  superCampaignEnabled: false,
3532
- superCampaignState: undefined
3541
+ superCampaignState: undefined,
3542
+ superCampaignComponentStatus: SuperCampaignComponentStatus.NotLoaded
3533
3543
  };
3534
3544
 
3535
3545
  class SuperSelectionAppService {
@@ -3670,15 +3680,34 @@ class SuperSelectionAppService {
3670
3680
  else
3671
3681
  throw new Error('Cannot set shown funds for SuperCampaing state because it is undefined');
3672
3682
  }
3683
+ viewSuperFundPanelAsync(promotedFundIdListOverride) {
3684
+ return superSelectionApi.viewSuperFundPanelAsync(Object.assign(Object.assign({}, this.promotedFundsConfig), { shownFunds: promotedFundIdListOverride
3685
+ ? promotedFundIdListOverride
3686
+ : this.promotedFundsConfig.shownFunds }));
3687
+ }
3673
3688
  get superCampaignState() {
3674
3689
  return this._state.superCampaignState;
3675
3690
  }
3676
- initializeSuperCampaignState(value) {
3677
- this._state.superCampaignState = value;
3691
+ get superCampaignComponentStatus() {
3692
+ return this._state.superCampaignComponentStatus;
3693
+ }
3694
+ set superCampaignComponentStatus(value) {
3695
+ if (value === SuperCampaignComponentStatus.Loaded) {
3696
+ this._state.superCampaignComponentStatus = SuperCampaignComponentStatus.Loaded;
3697
+ this._state.superCampaignState = new SuperCampaignState();
3698
+ }
3699
+ else {
3700
+ this._state.superCampaignComponentStatus = value;
3701
+ this._state.superCampaignState = undefined;
3702
+ }
3678
3703
  }
3679
3704
  get isUsingSuperCampaign() {
3680
3705
  return this.state.superCampaignEnabled && this.superCampaignState !== undefined;
3681
3706
  }
3707
+ get isSuperCampaignFallbackActivated() {
3708
+ return (this.state.superCampaignEnabled &&
3709
+ this.superCampaignComponentStatus === SuperCampaignComponentStatus.NotWorking);
3710
+ }
3682
3711
  }
3683
3712
  const superSelectionAppService = new SuperSelectionAppService();
3684
3713
 
@@ -3761,11 +3790,6 @@ class EventTrackingService {
3761
3790
  }
3762
3791
  });
3763
3792
  }
3764
- async TrackSuperFundPanelViewedAsync(detail) {
3765
- return this.trackEventAsync({
3766
- SuperFundPanelViewed: detail
3767
- });
3768
- }
3769
3793
  async TrackSuperFundNominationViewedAsync(detail) {
3770
3794
  return this.trackEventAsync({
3771
3795
  SuperFundNominationViewed: detail
@@ -3801,6 +3825,11 @@ class EventTrackingService {
3801
3825
  SuperFundDetailChangeRequested: detail
3802
3826
  });
3803
3827
  }
3828
+ async TrackSuperCampaignActivationSucceededAsync(detail) {
3829
+ return this.trackEventAsync({
3830
+ SuperCampaignActivationSucceeded: detail
3831
+ });
3832
+ }
3804
3833
  async trackEventAsync(event) {
3805
3834
  try {
3806
3835
  await this.eventTrackingApi.PostAnalyticsEventAsync({ event });
@@ -5037,9 +5066,7 @@ const ExistingChoice = class {
5037
5066
  async handleFundNominationDeclined() {
5038
5067
  const detail = this.createSuperFundNominationDetail(this.existingFund);
5039
5068
  await this.eventTrackingService.TrackSuperFundNominationDeclinedAsync(detail);
5040
- superSelectionAppService.state.superCampaignEnabled
5041
- ? navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.SuperCampaign)
5042
- : navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ConsentPage);
5069
+ navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ConsentPage);
5043
5070
  }
5044
5071
  };
5045
5072
 
@@ -5076,7 +5103,16 @@ const HeaderSection = class {
5076
5103
  registerInstance(this, hostRef);
5077
5104
  }
5078
5105
  render() {
5079
- return (h("div", { class: "flex justify-center" }, h("div", { class: "text-center max-w-800" }, h("h3", { class: "font-bold mb-3 sm:mb-4 text-2xl sm:text-3xl" }, "Nominate a super fund"), h(Fragment, null, h("div", { class: "text-gray-600 sm:text-lg leading-7 sm:leading-8" }, "You can choose any super fund, including your current fund/SMSF, your employer\u2019s default fund, or alternatively, you can select from one of the featured\u00A0funds."), h("div", { class: "inline-flex mt-8 sm:mt-12 bg-primary-base rounded-lg p-0.5 whitespace-normal" }, h(RouteLink, { route: SuperSelectionAppRoutes.ChoicePage, isActive: this.currentPage === 'choice' }, "Featured super funds"), h(ChooseAnotherFundLink, { isActive: this.currentPage === 'own-fund' }))))));
5106
+ const description = superSelectionAppService.isSuperCampaignFallbackActivated
5107
+ ? `
5108
+ You can choose any super fund, including your current fund/SMSF or your employer’s
5109
+ default fund.
5110
+ `
5111
+ : `
5112
+ You can choose any super fund, including your current fund/SMSF, your employer’s
5113
+ default fund, or alternatively, you can select from one of the featured funds.
5114
+ `;
5115
+ return (h("div", { class: "flex justify-center" }, h("div", { class: "text-center max-w-800" }, h("h3", { class: "font-bold mb-3 sm:mb-4 text-2xl sm:text-3xl" }, "Nominate a super fund"), h(Fragment, null, h("div", { class: "text-gray-600 sm:text-lg leading-7 sm:leading-8" }, description), !superSelectionAppService.isSuperCampaignFallbackActivated && (h("div", { class: "inline-flex mt-8 sm:mt-12 bg-primary-base rounded-lg p-0.5 whitespace-normal" }, h(RouteLink, { route: SuperSelectionAppRoutes.ChoicePage, isActive: this.currentPage === 'choice' }, "Featured super funds"), h(ChooseAnotherFundLink, { isActive: this.currentPage === 'own-fund' })))))));
5080
5116
  }
5081
5117
  };
5082
5118
 
@@ -5144,6 +5180,7 @@ const MyOwnFund = class {
5144
5180
  });
5145
5181
  }
5146
5182
  render() {
5183
+ const isSuperCampaignFallbackActivated = superSelectionAppService.isSuperCampaignFallbackActivated;
5147
5184
  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: {
5148
5185
  'was-validated': this.formState === 'validated'
5149
5186
  }, ref: (el) => (this.formElement = el), onInput: (_) => (this.isSubmitDisabled = !this.formElement.checkValidity()) }, h("div", { class: "p-4 sm:p-6 pb-6 sm:pb-8 border shadow-sm rounded-lg" }, h("p", { class: "sm:text-lg font-bold mb-3" }, "Fund details"), h("div", { class: "bg-yellow-50 border-l-4 border-yellow-400 p-4 mb-3 sm:mb-4" }, 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-2" }, h("ul", { class: "list-disc list-outside ml-6 space-y-2 text-sm text-yellow-700 leading-5" }, h("li", null, "Make sure you are a current member of the fund before completing this step."), h("li", null, "Please check that the fund USI is correct as some funds have similar names."))))), h("sss-my-own-fund-inputs", { myOwnFundForm: state$2.myOwnFundForm, showValidationErrors: this.formState === 'validated', onFormChanged: (event) => {
@@ -5151,7 +5188,7 @@ const MyOwnFund = class {
5151
5188
  this.isNotAllInformationProvidedMessageVisible = false;
5152
5189
  } }), this.isNotAllInformationProvidedMessageVisible && (h("div", { class: "mt-4 rounded-md bg-red-50 p-4 text-sm text-red-700" }, "All fields are required to complete submission. Make sure you have selected a fund."))), h("div", { class: "flex justify-center mt-8" }, h("div", { class: "sm:max-w-320 w-full" }, h("div", { class: "mb-4", onClick:
5153
5190
  // user clicks on disabled button (div wrapper) then validation errors will show
5154
- () => (this.formState = 'validated') }, h("sss-button", { testid: "continue-button", fillWidth: true, promiseFn: () => this.handleSubmitForm(), disabled: this.isSubmitDisabled }, "Continue")), h("stencil-route-link", { url: SuperSelectionAppRoutes.ChoicePage }, h("sss-button", { testid: "back-button", fillWidth: true, variant: "secondary" }, "Back")))))))));
5191
+ () => (this.formState = 'validated') }, h("sss-button", { testid: "continue-button", fillWidth: true, promiseFn: () => this.handleSubmitForm(), disabled: this.isSubmitDisabled }, "Continue")), !isSuperCampaignFallbackActivated && (h("stencil-route-link", { url: SuperSelectionAppRoutes.ChoicePage }, h("sss-button", { testid: "back-button", fillWidth: true, variant: "secondary" }, "Back"))))))))));
5155
5192
  }
5156
5193
  async handleSubmitForm() {
5157
5194
  this.formState = 'validated';
@@ -16861,6 +16898,15 @@ const Success = class {
16861
16898
  }
16862
16899
  };
16863
16900
 
16901
+ class SuperCampaignErrorApi {
16902
+ static get Instance() {
16903
+ return this.instance || (this.instance = new this());
16904
+ }
16905
+ async PostError(error) {
16906
+ buildBackendApiClient().url('super-campaign/errors').post(error);
16907
+ }
16908
+ }
16909
+
16864
16910
  class MiscService {
16865
16911
  trackClickPromotedTileAsync(payload) {
16866
16912
  return superSelectionApi.clickPromotedTileAsync(payload);
@@ -16873,11 +16919,12 @@ const Usi = {
16873
16919
  return usi.replace(/ /g, '');
16874
16920
  }
16875
16921
  };
16922
+ const LoadWaitingTimeout = 30000;
16876
16923
 
16877
16924
  const SuperCampaignHost = class {
16878
16925
  constructor(hostRef) {
16879
16926
  registerInstance(this, hostRef);
16880
- this.componentLoaded = false;
16927
+ this.scriptImported = false;
16881
16928
  this.getEnvironmentTag = () => {
16882
16929
  const discriminator = window.location.hostname.toLowerCase().split('.')[0];
16883
16930
  switch (discriminator) {
@@ -16905,10 +16952,28 @@ const SuperCampaignHost = class {
16905
16952
  };
16906
16953
  this.superCampaignLoaded = async (event) => {
16907
16954
  if (event.detail.sender == 'super-campaign') {
16908
- superSelectionAppService.initializeSuperCampaignState(new SuperCampaignState());
16955
+ superSelectionAppService.superCampaignComponentStatus = SuperCampaignComponentStatus.Loaded;
16956
+ clearTimeout(this.loadingTimeoutRef);
16957
+ await EventTrackingService.Instance.TrackSuperCampaignActivationSucceededAsync({});
16909
16958
  }
16910
16959
  return Promise.resolve();
16911
16960
  };
16961
+ this.superCampaignLoadFailed = async (event) => {
16962
+ if (event.detail.sender == 'super-campaign') {
16963
+ await this.activateFallbackMechanism({
16964
+ type: 'SuperCampaignActivationFailed',
16965
+ reason: event.detail.reason || 'Unknown'
16966
+ });
16967
+ }
16968
+ };
16969
+ this.superCampaignFailed = async (event) => {
16970
+ if (event.detail.sender == 'super-campaign') {
16971
+ await this.activateFallbackMechanism({
16972
+ type: 'SuperCampaignOperationFailed',
16973
+ reason: event.detail.reason || 'Unknown'
16974
+ });
16975
+ }
16976
+ };
16912
16977
  this.chooseAnotherFundRequested = async (event) => {
16913
16978
  if (event.detail.sender == 'super-campaign') {
16914
16979
  await navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.MyOwnFund);
@@ -16916,13 +16981,8 @@ const SuperCampaignHost = class {
16916
16981
  };
16917
16982
  this.fundPanelShown = async (event) => {
16918
16983
  if (event.detail.sender == 'super-campaign') {
16919
- const promotedFundsShown = event.detail.shownFunds.map((f) => f.fundId);
16920
16984
  superSelectionAppService.setSuperCampaignPromotedFundsShown(event.detail.shownFunds);
16921
- await EventTrackingService.Instance.TrackSuperFundPanelViewedAsync({
16922
- promotedFundsShown,
16923
- defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi),
16924
- superCampaignEnabled: true
16925
- });
16985
+ await superSelectionAppService.viewSuperFundPanelAsync();
16926
16986
  }
16927
16987
  };
16928
16988
  this.fundTileClicked = async (event) => {
@@ -17102,36 +17162,67 @@ const SuperCampaignHost = class {
17102
17162
  'disclaimer-viewed': this.disclaimerViewed.bind(this),
17103
17163
  'disclaimer-accepted': this.disclaimerAccepted.bind(this),
17104
17164
  'promoted-fund-joined': this.promotedFundJoined.bind(this),
17105
- 'super-campaign-loaded': this.superCampaignLoaded.bind(this)
17165
+ 'super-campaign-loaded': this.superCampaignLoaded.bind(this),
17166
+ 'super-campaign-load-failed': this.superCampaignLoadFailed.bind(this),
17167
+ 'super-campaign-failed': this.superCampaignFailed.bind(this)
17106
17168
  };
17107
17169
  }
17108
17170
  async componentWillLoad() {
17171
+ if (superSelectionAppService.state.superCampaignComponentStatus ===
17172
+ SuperCampaignComponentStatus.NotWorking) {
17173
+ await navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.MyOwnFund);
17174
+ return;
17175
+ }
17176
+ let superCampaingScriptPath = undefined;
17109
17177
  try {
17110
17178
  if (Option.isSome(superSelectionAppService.state.apiBaseUrl) &&
17111
17179
  Option.isSome(superSelectionAppService.state.jwt)) {
17112
17180
  this.backendUrl = this.getBaseUrl(superSelectionAppService.state.apiBaseUrl.value);
17113
17181
  this.accessToken = superSelectionAppService.state.jwt.value;
17114
17182
  this.unSubscribeFromSuperCampaignEvents();
17115
- await import(this.createApolloSuperCampaignScriptUrl(this.getEnvironmentTag()));
17183
+ if (superSelectionAppService.state.superCampaignComponentStatus ===
17184
+ SuperCampaignComponentStatus.NotLoaded) {
17185
+ superCampaingScriptPath = this.createApolloSuperCampaignScriptUrl(this.getEnvironmentTag());
17186
+ await import(superCampaingScriptPath);
17187
+ this.loadingTimeoutRef = setTimeout(this.superCampaignLoadingTimeoutTriggered.bind(this), LoadWaitingTimeout);
17188
+ }
17116
17189
  this.subscribeToSuperCampaignEvents();
17117
- this.componentLoaded = true;
17190
+ this.scriptImported = true;
17118
17191
  }
17119
17192
  else {
17120
17193
  throw Error(`SuperCampaignHost pre-requisites not met.`);
17121
17194
  }
17122
17195
  }
17123
17196
  catch (error) {
17124
- //TODO: Handle error
17125
- // eslint-disable-next-line no-console
17126
- console.error('Error loading component:', error);
17127
- appInsights.trackErrorTrace(`Error in loading Super Campaign: ${error}`);
17197
+ this.activateFallbackMechanism({
17198
+ type: 'SuperCampaignActivationFailed',
17199
+ reason: `Problem in loading SuperCampaing script from:${superCampaingScriptPath} Error: ${error}`
17200
+ });
17128
17201
  }
17129
17202
  }
17130
17203
  disconnectedCallback() {
17204
+ clearTimeout(this.loadingTimeoutRef);
17131
17205
  this.unSubscribeFromSuperCampaignEvents();
17132
17206
  }
17133
17207
  render() {
17134
- return (h("div", null, this.componentLoaded ? (h("apollo-super-campaign", { "backend-url": this.backendUrl, "access-token": this.accessToken })) : null));
17208
+ return (h("div", null, this.scriptImported ? (h("apollo-super-campaign", { "backend-url": this.backendUrl, "access-token": this.accessToken })) : null));
17209
+ }
17210
+ async activateFallbackMechanism(error) {
17211
+ if (superSelectionAppService.superCampaignComponentStatus !==
17212
+ SuperCampaignComponentStatus.NotWorking) {
17213
+ superSelectionAppService.superCampaignComponentStatus =
17214
+ SuperCampaignComponentStatus.NotWorking;
17215
+ await SuperCampaignErrorApi.Instance.PostError(error);
17216
+ await navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.MyOwnFund);
17217
+ }
17218
+ }
17219
+ async superCampaignLoadingTimeoutTriggered() {
17220
+ if (superSelectionAppService.superCampaignComponentStatus !== SuperCampaignComponentStatus.Loaded) {
17221
+ this.activateFallbackMechanism({
17222
+ type: 'SuperCampaignActivationFailed',
17223
+ reason: `Activation timeout was triggered after:${LoadWaitingTimeout / 1000} seconds`
17224
+ });
17225
+ }
17135
17226
  }
17136
17227
  createApolloSuperCampaignScriptUrl(envTag) {
17137
17228
  return `https://npm-cdn.flarehr.com/@flarehr/apollo-super-campaign@${envTag}/dist/apollo-super-campaign.js`;
@@ -17187,11 +17278,7 @@ const SuperChoicePage = class {
17187
17278
  }
17188
17279
  async componentDidLoad() {
17189
17280
  const promotedFundsShown = this.promotedFunds.map((item) => item.fundId);
17190
- return this.eventTrackingService.TrackSuperFundPanelViewedAsync({
17191
- promotedFundsShown,
17192
- defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi),
17193
- superCampaignEnabled: false
17194
- });
17281
+ await superSelectionAppService.viewSuperFundPanelAsync(promotedFundsShown);
17195
17282
  }
17196
17283
  render() {
17197
17284
  const mygovLink = 'https://my.gov.au';
@@ -18280,9 +18367,6 @@ const SuperSelectionApp = class {
18280
18367
  !shouldIgnoreExistingChoice) {
18281
18368
  navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ExistingChoicePage);
18282
18369
  }
18283
- else if (superSelectionAppService.state.superCampaignEnabled) {
18284
- navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.SuperCampaign);
18285
- }
18286
18370
  else {
18287
18371
  navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ConsentPage);
18288
18372
  }
@@ -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 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_43",[[0,"sss-prefill",{history:[16],prefill:[32]}],[0,"sss-my-own-fund",{history:[16],formState:[32],isNotAllInformationProvidedMessageVisible:[32],isSubmitDisabled:[32]}],[0,"sss-super-choice-page-wrapper",{history:[16]}],[0,"sss-self-managed-fund",{history:[16],formState:[32],isSubmitDisabled:[32]}],[0,"sss-consent-page-wrapper",{history:[16]}],[1,"super-selection-app-host",{sessionState:[32],jwt:[32],appConfiguration:[32],ignoreExistingSelection:[32]}],[0,"sss-default-fund",{history:[16],defaultFundProductName:[32]}],[0,"sss-existing-choice-page",{history:[16],existingFund:[32]}],[0,"sss-standard-choice-form",{history:[16],standardChoiceFormSignature:[32],formState:[32],isSubmitDisabled:[32]}],[0,"sss-promoted-fund-join-v1-page",{history:[16]}],[0,"sss-promoted-fund-join-v2-page",{history:[16]}],[0,"sss-slate-join-page",{history:[16]}],[0,"sss-success"],[0,"sss-super-choice-page",{history:[16],promotedFunds:[32]}],[0,"sss-prefill-my-own-fund",{history:[16],prefill:[16],mode:[32],formState:[32],isSubmitDisabled:[32],fundUsi:[32],fundName:[32],memberNumber:[32],memberGivenNames:[32],memberLastName:[32]}],[0,"sss-prefill-smsf",{history:[16],prefill:[16],mode:[32],formState:[32],isSubmitDisabled:[32],fundName:[32],fundAbn:[32],fundEsa:[32],fundAddressLine1:[32],fundAddressLine2:[32],fundAddressCity:[32],fundAddressPostcode:[32],fundAddressState:[32],fundAddress:[32],memberGivenNames:[32],memberLastName:[32],bankAccountName:[32],bankName:[32],bankAccountBsb:[32],bankAccountNumber:[32]}],[0,"sss-consent-page",{history:[16],campaignConnectRequestInProgress:[32]}],[0,"sss-prefill-invalid-my-own-fund",{history:[16],prefill:[16],fundUsi:[32],fundName:[32],memberNumber:[32],memberGivenNames:[32],memberLastName:[32]}],[0,"sss-prefill-invalid-smsf",{history:[16],prefill:[16],fundName:[32],fundAbn:[32],fundEsa:[32],fundAddressLine1:[32],fundAddressLine2:[32],fundAddressCity:[32],fundAddressPostcode:[32],fundAddressState:[32],fundAddress:[32],memberGivenNames:[32],memberLastName:[32],bankAccountName:[32],bankAccountBsb:[32],bankAccountNumber:[32]}],[1,"super-selection-app",{ignoreExistingSelection:[4,"ignore-existing-selection"],accessToken:[1,"access-token"],backendUrl:[1,"backend-url"],appBaseUrl:[1,"app-base-url"],history:[16],location:[16],isSelfHosted:[4,"is-self-hosted"],isAppInitialised:[32]}],[0,"sss-my-own-fund-inputs",{myOwnFundForm:[16],showValidationErrors:[4,"show-validation-errors"],selectedOption:[32]}],[0,"sss-self-managed-fund-inputs",{fundForm:[16],showValidationErrors:[4,"show-validation-errors"],abnValidationStatus:[32],isAbnTouched:[32],currentBank:[32],addressErrorMessage:[32]}],[0,"sss-loading-page"],[0,"sss-loading-super-indicator"],[0,"sss-super-choice-item-bottom",{disclaimer:[16],abnInfo:[1,"abn-info"],abn:[1],isMultiFund:[4,"is-multi-fund"]}],[0,"sss-super-campaign-host",{history:[16],componentLoaded:[32],backendUrl:[32],accessToken:[32]}],[0,"sss-dropdown-async",{testId:[1,"test-id"],placeholder:[1],searchFunction:[16],value:[16],required:[4],requiredValidationMessage:[1,"required-validation-message"],disabled:[4],minSearchStringLength:[2,"min-search-string-length"],showValidationErrors:[4,"show-validation-errors"],searchState:[32],inputValue:[32],isDropdownVisible:[32],filteredOptions:[32],highlightedOptionIndex:[32],selectedOption:[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-footer-section",{textOverride:[16]}],[0,"sss-super-choice-item-top",{name:[1],logo:[1],features:[16],featureSubText:[16],customContent:[16],isMultiFund:[4,"is-multi-fund"],isPromotedDefault:[4,"is-promoted-default"],extraBadge:[16]}],[4,"stencil-route-switch",{group:[513],scrollTopOffset:[2,"scroll-top-offset"],location:[16],routeViewsUpdated:[16]}],[4,"stencil-router",{root:[1],historyType:[1,"history-type"],titleSuffix:[1,"title-suffix"],scrollTopOffset:[2,"scroll-top-offset"],location:[32],history:[32]}],[4,"sss-custom-fund",{history:[16],currentCustomFund:[32],fundOptionsList:[32],showFundOptionsSelection:[32]}],[4,"sss-loading-component",{header:[1]}],[0,"sss-iframe-host",{build:[16]}],[0,"sss-prefill-warning-box",{notificationList:[16]}],[0,"sss-name-input",{testId:[1,"test-id"],value:[1],name:[1],readableName:[1,"readable-name"],showValidationErrors:[4,"show-validation-errors"],errorMessage:[32]}],[0,"sss-header-section",{currentPage:[1,"current-page"]}],[0,"sss-prefill-display-field",{field:[16]}],[0,"sss-prefill-error-box",{withHeader:[4,"with-header"],notificationList:[16]}],[4,"stencil-route-link",{url:[1],urlMatch:[1,"url-match"],activeClass:[1,"active-class"],exact:[4],strict:[4],custom:[1],anchorClass:[1,"anchor-class"],anchorRole:[1,"anchor-role"],anchorTitle:[1,"anchor-title"],anchorTabIndex:[1,"anchor-tab-index"],anchorId:[1,"anchor-id"],history:[16],location:[16],root:[1],ariaHaspopup:[1,"aria-haspopup"],ariaPosinset:[1,"aria-posinset"],ariaSetsize:[2,"aria-setsize"],ariaLabel:[1,"aria-label"],match:[32]}],[4,"sss-button",{testid:[1],fillWidth:[4,"fill-width"],fillWidthOnMobile:[4,"fill-width-on-mobile"],disabled:[4],variant:[1],size:[1],promiseFn:[16],state:[32]}],[0,"sss-loading-indicator",{theme:[1],size:[2]}],[0,"stencil-route",{group:[513],componentUpdated:[16],match:[1040],url:[1],component:[1],componentProps:[16],exact:[4],routeRender:[16],scrollTopOffset:[2,"scroll-top-offset"],routeViewsUpdated:[16],location:[16],history:[16],historyType:[1,"history-type"]}]]]],s)}));
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 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_43",[[0,"sss-prefill",{history:[16],prefill:[32]}],[0,"sss-my-own-fund",{history:[16],formState:[32],isNotAllInformationProvidedMessageVisible:[32],isSubmitDisabled:[32]}],[0,"sss-super-choice-page-wrapper",{history:[16]}],[0,"sss-self-managed-fund",{history:[16],formState:[32],isSubmitDisabled:[32]}],[0,"sss-consent-page-wrapper",{history:[16]}],[1,"super-selection-app-host",{sessionState:[32],jwt:[32],appConfiguration:[32],ignoreExistingSelection:[32]}],[0,"sss-default-fund",{history:[16],defaultFundProductName:[32]}],[0,"sss-existing-choice-page",{history:[16],existingFund:[32]}],[0,"sss-standard-choice-form",{history:[16],standardChoiceFormSignature:[32],formState:[32],isSubmitDisabled:[32]}],[0,"sss-promoted-fund-join-v1-page",{history:[16]}],[0,"sss-promoted-fund-join-v2-page",{history:[16]}],[0,"sss-slate-join-page",{history:[16]}],[0,"sss-success"],[0,"sss-super-choice-page",{history:[16],promotedFunds:[32]}],[0,"sss-prefill-my-own-fund",{history:[16],prefill:[16],mode:[32],formState:[32],isSubmitDisabled:[32],fundUsi:[32],fundName:[32],memberNumber:[32],memberGivenNames:[32],memberLastName:[32]}],[0,"sss-prefill-smsf",{history:[16],prefill:[16],mode:[32],formState:[32],isSubmitDisabled:[32],fundName:[32],fundAbn:[32],fundEsa:[32],fundAddressLine1:[32],fundAddressLine2:[32],fundAddressCity:[32],fundAddressPostcode:[32],fundAddressState:[32],fundAddress:[32],memberGivenNames:[32],memberLastName:[32],bankAccountName:[32],bankName:[32],bankAccountBsb:[32],bankAccountNumber:[32]}],[0,"sss-consent-page",{history:[16],campaignConnectRequestInProgress:[32]}],[0,"sss-prefill-invalid-my-own-fund",{history:[16],prefill:[16],fundUsi:[32],fundName:[32],memberNumber:[32],memberGivenNames:[32],memberLastName:[32]}],[0,"sss-prefill-invalid-smsf",{history:[16],prefill:[16],fundName:[32],fundAbn:[32],fundEsa:[32],fundAddressLine1:[32],fundAddressLine2:[32],fundAddressCity:[32],fundAddressPostcode:[32],fundAddressState:[32],fundAddress:[32],memberGivenNames:[32],memberLastName:[32],bankAccountName:[32],bankAccountBsb:[32],bankAccountNumber:[32]}],[1,"super-selection-app",{ignoreExistingSelection:[4,"ignore-existing-selection"],accessToken:[1,"access-token"],backendUrl:[1,"backend-url"],appBaseUrl:[1,"app-base-url"],history:[16],location:[16],isSelfHosted:[4,"is-self-hosted"],isAppInitialised:[32]}],[0,"sss-my-own-fund-inputs",{myOwnFundForm:[16],showValidationErrors:[4,"show-validation-errors"],selectedOption:[32]}],[0,"sss-self-managed-fund-inputs",{fundForm:[16],showValidationErrors:[4,"show-validation-errors"],abnValidationStatus:[32],isAbnTouched:[32],currentBank:[32],addressErrorMessage:[32]}],[0,"sss-loading-page"],[0,"sss-loading-super-indicator"],[0,"sss-super-choice-item-bottom",{disclaimer:[16],abnInfo:[1,"abn-info"],abn:[1],isMultiFund:[4,"is-multi-fund"]}],[0,"sss-super-campaign-host",{history:[16],scriptImported:[32],backendUrl:[32],accessToken:[32]}],[0,"sss-dropdown-async",{testId:[1,"test-id"],placeholder:[1],searchFunction:[16],value:[16],required:[4],requiredValidationMessage:[1,"required-validation-message"],disabled:[4],minSearchStringLength:[2,"min-search-string-length"],showValidationErrors:[4,"show-validation-errors"],searchState:[32],inputValue:[32],isDropdownVisible:[32],filteredOptions:[32],highlightedOptionIndex:[32],selectedOption:[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-footer-section",{textOverride:[16]}],[0,"sss-super-choice-item-top",{name:[1],logo:[1],features:[16],featureSubText:[16],customContent:[16],isMultiFund:[4,"is-multi-fund"],isPromotedDefault:[4,"is-promoted-default"],extraBadge:[16]}],[4,"stencil-route-switch",{group:[513],scrollTopOffset:[2,"scroll-top-offset"],location:[16],routeViewsUpdated:[16]}],[4,"stencil-router",{root:[1],historyType:[1,"history-type"],titleSuffix:[1,"title-suffix"],scrollTopOffset:[2,"scroll-top-offset"],location:[32],history:[32]}],[4,"sss-custom-fund",{history:[16],currentCustomFund:[32],fundOptionsList:[32],showFundOptionsSelection:[32]}],[4,"sss-loading-component",{header:[1]}],[0,"sss-iframe-host",{build:[16]}],[0,"sss-prefill-warning-box",{notificationList:[16]}],[0,"sss-name-input",{testId:[1,"test-id"],value:[1],name:[1],readableName:[1,"readable-name"],showValidationErrors:[4,"show-validation-errors"],errorMessage:[32]}],[0,"sss-header-section",{currentPage:[1,"current-page"]}],[0,"sss-prefill-display-field",{field:[16]}],[0,"sss-prefill-error-box",{withHeader:[4,"with-header"],notificationList:[16]}],[4,"stencil-route-link",{url:[1],urlMatch:[1,"url-match"],activeClass:[1,"active-class"],exact:[4],strict:[4],custom:[1],anchorClass:[1,"anchor-class"],anchorRole:[1,"anchor-role"],anchorTitle:[1,"anchor-title"],anchorTabIndex:[1,"anchor-tab-index"],anchorId:[1,"anchor-id"],history:[16],location:[16],root:[1],ariaHaspopup:[1,"aria-haspopup"],ariaPosinset:[1,"aria-posinset"],ariaSetsize:[2,"aria-setsize"],ariaLabel:[1,"aria-label"],match:[32]}],[4,"sss-button",{testid:[1],fillWidth:[4,"fill-width"],fillWidthOnMobile:[4,"fill-width-on-mobile"],disabled:[4],variant:[1],size:[1],promiseFn:[16],state:[32]}],[0,"sss-loading-indicator",{theme:[1],size:[2]}],[0,"stencil-route",{group:[513],componentUpdated:[16],match:[1040],url:[1],component:[1],componentProps:[16],exact:[4],routeRender:[16],scrollTopOffset:[2,"scroll-top-offset"],routeViewsUpdated:[16],location:[16],history:[16],historyType:[1,"history-type"]}]]]],s)}));