@flarehr/apollo-super-selection 4.54.43093 → 4.56.44913

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 (34) hide show
  1. package/dist/lib/apollo-super-selection/apollo-super-selection.esm.js +1 -1
  2. package/dist/lib/apollo-super-selection/p-1a253321.entry.js +14 -0
  3. package/dist/lib/apollo-super-selection/p-47600481.system.entry.js +69 -0
  4. package/dist/lib/apollo-super-selection/p-bdcfc026.system.js +1 -1
  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_41.cjs.entry.js +182 -68
  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 +144 -1
  10. package/dist/lib/collection/components/super-selection-app/api/super-selection-events.model.js +16 -1
  11. package/dist/lib/collection/components/super-selection-app/consent/consent.js +5 -10
  12. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-iframe-builder.js +3 -5
  13. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/types.js +2 -1
  14. package/dist/lib/collection/components/super-selection-app/services/event-tracking.service.js +0 -20
  15. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +6 -0
  16. package/dist/lib/collection/components/super-selection-app/services/super-selection.store.js +4 -1
  17. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +6 -3
  18. package/dist/lib/esm/apollo-super-selection.js +1 -1
  19. package/dist/lib/esm/loader.js +1 -1
  20. package/dist/lib/esm/sss-button_41.entry.js +182 -68
  21. package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
  22. package/dist/lib/esm-es5/loader.js +1 -1
  23. package/dist/lib/esm-es5/sss-button_41.entry.js +4 -4
  24. package/dist/lib/types/components/super-campaign/super-campaign-types.d.ts +42 -0
  25. package/dist/lib/types/components/super-campaign/super-campaign.d.ts +13 -0
  26. package/dist/lib/types/components/super-selection-app/api/super-selection-events.model.d.ts +15 -32
  27. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-types.d.ts +1 -0
  28. package/dist/lib/types/components/super-selection-app/services/event-tracking.service.d.ts +0 -4
  29. package/dist/lib/types/components/super-selection-app/services/super-selection-app.service.d.ts +3 -1
  30. package/dist/lib/types/components/super-selection-app/services/super-selection.store.d.ts +4 -0
  31. package/dist/lib/types/components.d.ts +2 -0
  32. package/package.json +1 -1
  33. package/dist/lib/apollo-super-selection/p-4e5b95c3.system.entry.js +0 -69
  34. package/dist/lib/apollo-super-selection/p-89d1f1eb.entry.js +0 -14
@@ -260,7 +260,7 @@ class TapSubscriber extends Subscriber {
260
260
  }
261
261
  }
262
262
 
263
- const AppVersion = '4.54.43093';
263
+ const AppVersion = '4.56.44913';
264
264
 
265
265
  // -------------------------------------------------------------------------------------
266
266
  // guards
@@ -2597,13 +2597,7 @@ const createStore = (defaultState, shouldUpdate) => {
2597
2597
  return map;
2598
2598
  };
2599
2599
 
2600
- const initial = {
2601
- fund: {
2602
- id: '',
2603
- type: 'null'
2604
- }
2605
- };
2606
- const { state, reset } = createStore(initial);
2600
+ function e(e){this.message=e;}e.prototype=new Error,e.prototype.name="InvalidCharacterError";var r="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(r){var t=String(r).replace(/=+$/,"");if(t.length%4==1)throw new e("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,o,a=0,i=0,c="";o=t.charAt(i++);~o&&(n=a%4?64*n+o:o,a++%4)?c+=String.fromCharCode(255&n>>(-2*a&6)):0)o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(o);return c};function t(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw "Illegal base64url string!"}try{return function(e){return decodeURIComponent(r(e).replace(/(.)/g,(function(e,r){var t=r.charCodeAt(0).toString(16).toUpperCase();return t.length<2&&(t="0"+t),"%"+t})))}(t)}catch(e){return r(t)}}function n(e){this.message=e;}function o(e,r){if("string"!=typeof e)throw new n("Invalid token specified");var o=!0===(r=r||{}).header?0:1;try{return JSON.parse(t(e.split(".")[o]))}catch(e){throw new n("Invalid token specified: "+e.message)}}n.prototype=new Error,n.prototype.name="InvalidTokenError";
2607
2601
 
2608
2602
  var __assign$1 = (undefined && undefined.__assign) || function () {
2609
2603
  __assign$1 = Object.assign || function(t) {
@@ -3279,7 +3273,18 @@ function convertFormUrl(formObject) {
3279
3273
  var factory = Wretcher.factory;
3280
3274
  factory["default"] = Wretcher.factory;
3281
3275
 
3282
- function e(e){this.message=e;}e.prototype=new Error,e.prototype.name="InvalidCharacterError";var r="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(r){var t=String(r).replace(/=+$/,"");if(t.length%4==1)throw new e("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,o,a=0,i=0,c="";o=t.charAt(i++);~o&&(n=a%4?64*n+o:o,a++%4)?c+=String.fromCharCode(255&n>>(-2*a&6)):0)o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(o);return c};function t(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw "Illegal base64url string!"}try{return function(e){return decodeURIComponent(r(e).replace(/(.)/g,(function(e,r){var t=r.charCodeAt(0).toString(16).toUpperCase();return t.length<2&&(t="0"+t),"%"+t})))}(t)}catch(e){return r(t)}}function n(e){this.message=e;}function o(e,r){if("string"!=typeof e)throw new n("Invalid token specified");var o=!0===(r=r||{}).header?0:1;try{return JSON.parse(t(e.split(".")[o]))}catch(e){throw new n("Invalid token specified: "+e.message)}}n.prototype=new Error,n.prototype.name="InvalidTokenError";
3276
+ function buildBackendApiClient() {
3277
+ const jwt = superSelectionAppService.jwt;
3278
+ const profileId = superSelectionAppService.profileId;
3279
+ const accountId = superSelectionAppService.accountIdOrDefault;
3280
+ const partnerId = superSelectionAppService.partnerIdOrDefault;
3281
+ return factory(superSelectionAppService.apiBaseUrl).headers({
3282
+ Authorization: `Bearer ${jwt}`,
3283
+ 'X-PROFILE-ID': profileId,
3284
+ 'X-PARTNER-ID': partnerId,
3285
+ 'X-ACCOUNT-ID': accountId
3286
+ });
3287
+ }
3283
3288
 
3284
3289
  function hydratePromotedFundChoiceDtoKind(dto) {
3285
3290
  if ('slate' in dto) {
@@ -3506,7 +3511,10 @@ const initialState = {
3506
3511
  campaignConnectEnabled: false,
3507
3512
  isDefinedBenefitsEligible: Option.none,
3508
3513
  campaignConnect: Option.none,
3509
- superCampaignEnabled: false
3514
+ superCampaignEnabled: false,
3515
+ superCampaignState: {
3516
+ promotedFundsShown: []
3517
+ }
3510
3518
  };
3511
3519
 
3512
3520
  class SuperSelectionAppService {
@@ -3633,21 +3641,37 @@ class SuperSelectionAppService {
3633
3641
  this._state.campaignConnect = Option.fromNullable(campaignConnect);
3634
3642
  }
3635
3643
  }
3644
+ setSuperCampaignPromotedFundsShown(shownFund) {
3645
+ this._state.superCampaignState.promotedFundsShown = shownFund;
3646
+ }
3647
+ get superCampaignState() {
3648
+ return this._state.superCampaignState;
3649
+ }
3636
3650
  }
3637
3651
  const superSelectionAppService = new SuperSelectionAppService();
3638
3652
 
3639
- function buildBackendApiClient() {
3640
- const jwt = superSelectionAppService.jwt;
3641
- const profileId = superSelectionAppService.profileId;
3642
- const accountId = superSelectionAppService.accountIdOrDefault;
3643
- const partnerId = superSelectionAppService.partnerIdOrDefault;
3644
- return factory(superSelectionAppService.apiBaseUrl).headers({
3645
- Authorization: `Bearer ${jwt}`,
3646
- 'X-PROFILE-ID': profileId,
3647
- 'X-PARTNER-ID': partnerId,
3648
- 'X-ACCOUNT-ID': accountId
3649
- });
3650
- }
3653
+ const SuperFundDisclaimerViewedDetail = {
3654
+ create: (superCampaignEnabled) => {
3655
+ let isDefinedBenefitsEligibleString = 'Not set';
3656
+ if (Option.isSome(superSelectionAppService.isDefinedBenefitsEligible)) {
3657
+ isDefinedBenefitsEligibleString = superSelectionAppService.isDefinedBenefitsEligible.value
3658
+ ? 'True'
3659
+ : 'False';
3660
+ }
3661
+ return {
3662
+ isDefinedBenefitsEligible: isDefinedBenefitsEligibleString,
3663
+ superCampaignEnabled: superCampaignEnabled
3664
+ };
3665
+ }
3666
+ };
3667
+
3668
+ const initial = {
3669
+ fund: {
3670
+ id: '',
3671
+ type: 'null'
3672
+ }
3673
+ };
3674
+ const { state, reset } = createStore(initial);
3651
3675
 
3652
3676
  class EventTrackingApi {
3653
3677
  static get Instance() {
@@ -3665,31 +3689,11 @@ class EventTrackingService {
3665
3689
  static get Instance() {
3666
3690
  return this.instance || (this.instance = new this());
3667
3691
  }
3668
- async TrackFinancialProductViewedAsync(detail) {
3669
- return this.trackEventAsync({
3670
- FinancialProductViewed: detail
3671
- });
3672
- }
3673
3692
  async TrackSuperFundPdsViewedAsync(detail) {
3674
3693
  return this.trackEventAsync({
3675
3694
  SuperFundPdsViewed: detail
3676
3695
  });
3677
3696
  }
3678
- async TrackFinancialProductAcceptedAsync(detail) {
3679
- return this.trackEventAsync({
3680
- FinancialProductAccepted: detail
3681
- });
3682
- }
3683
- async TrackFinancialProductRejectedAsync(detail) {
3684
- return this.trackEventAsync({
3685
- FinancialProductRejected: detail
3686
- });
3687
- }
3688
- async TrackSuperFundPrivacyConfirmationAcceptedAsync(detail) {
3689
- return this.trackEventAsync({
3690
- SuperFundPrivacyConfirmationAccepted: detail
3691
- });
3692
- }
3693
3697
  async TrackPromotedSuperFundDetailViewedAsync(detail) {
3694
3698
  return this.trackEventAsync({
3695
3699
  SuperFundDetailViewed: {
@@ -3895,7 +3899,8 @@ function pdsViewedAsync(name, usi) {
3895
3899
  return EventTrackingService.Instance.TrackSuperFundPdsViewedAsync({
3896
3900
  fundUsi: usi,
3897
3901
  fundName: name,
3898
- pageName: 'Panel Fund Page'
3902
+ pageName: 'Panel Fund Page',
3903
+ superCampaignEnabled: false
3899
3904
  });
3900
3905
  }
3901
3906
 
@@ -3906,15 +3911,7 @@ const Consent = class {
3906
3911
  this.eventTrackingService = EventTrackingService.Instance;
3907
3912
  }
3908
3913
  componentDidLoad() {
3909
- let isDefinedBenefitsEligible = 'Not set';
3910
- if (Option.isSome(superSelectionAppService.isDefinedBenefitsEligible)) {
3911
- isDefinedBenefitsEligible = superSelectionAppService.isDefinedBenefitsEligible.value
3912
- ? 'True'
3913
- : 'False';
3914
- }
3915
- return this.eventTrackingService.TrackSuperFundDisclaimerViewedAsync({
3916
- isDefinedBenefitsEligible
3917
- });
3914
+ return this.eventTrackingService.TrackSuperFundDisclaimerViewedAsync(SuperFundDisclaimerViewedDetail.create(false));
3918
3915
  }
3919
3916
  render() {
3920
3917
  if (this.campaignConnectRequestInProgress) {
@@ -3923,7 +3920,9 @@ const Consent = class {
3923
3920
  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, "Trustees of the featured superannuation funds pay fees to Flare and/or its associates. Some funds pay us a fee if you choose one of the featured funds, while others pay us to have their application form on our platform;"), 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")))));
3924
3921
  }
3925
3922
  async handleSuperFundDisclaimerAccepted() {
3926
- await this.eventTrackingService.TrackSuperFundDisclaimerAcceptedAsync({});
3923
+ await this.eventTrackingService.TrackSuperFundDisclaimerAcceptedAsync({
3924
+ superCampaignEnabled: false
3925
+ });
3927
3926
  if (superSelectionAppService.campaignConnectEnabled) {
3928
3927
  this.campaignConnectRequestInProgress = true;
3929
3928
  await superSelectionAppService.loadCampaignConnectAsync();
@@ -16098,7 +16097,7 @@ class PromotedFundJoinV2IFrameBuilder {
16098
16097
  build(iframe$1, history) {
16099
16098
  if (!(iframe$1 === null || iframe$1 === void 0 ? void 0 : iframe$1.contentDocument))
16100
16099
  return;
16101
- const postData = Object.assign(Object.assign({}, this.getMemberData()), { partnerId: superSelectionAppService.partnerIdOrDefault, accountId: superSelectionAppService.accountIdOrDefault, fundId: state.fund.id, authToken: superSelectionAppService.jwt, employerDefault: state.fund.type === 'PromotedDefault' });
16100
+ const postData = Object.assign(Object.assign({}, this.getMemberData()), { partnerId: superSelectionAppService.partnerIdOrDefault, accountId: superSelectionAppService.accountIdOrDefault, fundId: state.fund.id, authToken: superSelectionAppService.jwt, employerDefault: state.fund.type === 'PromotedDefault', definedBenefitsEligibility: Option.toUndefined(superSelectionAppService.isDefinedBenefitsEligible) });
16102
16101
  const handleMessage = async (event) => {
16103
16102
  const { data } = event;
16104
16103
  if (!data) {
@@ -16286,13 +16285,11 @@ class PromotedFundJoinV2IFrameBuilder {
16286
16285
  if (value !== undefined) {
16287
16286
  const input = document.createElement('input');
16288
16287
  input.name = prop;
16288
+ input.type = 'hidden';
16289
16289
  if (typeof value === 'boolean') {
16290
- input.type = 'checkbox';
16291
- input.checked = value;
16292
- input.style.visibility = 'hidden';
16290
+ input.value = value ? 'true' : 'false';
16293
16291
  }
16294
16292
  else {
16295
- input.type = 'hidden';
16296
16293
  input.value = value;
16297
16294
  }
16298
16295
  form.append(input);
@@ -16809,6 +16806,13 @@ const Success = class {
16809
16806
  }
16810
16807
  };
16811
16808
 
16809
+ class MiscService {
16810
+ trackClickPromotedTileAsync(payload) {
16811
+ return superSelectionApi.clickPromotedTileAsync(payload);
16812
+ }
16813
+ }
16814
+ const miscService = new MiscService();
16815
+
16812
16816
  const SuperCampaignHost = class {
16813
16817
  constructor(hostRef) {
16814
16818
  registerInstance(this, hostRef);
@@ -16825,6 +16829,114 @@ const SuperCampaignHost = class {
16825
16829
  return 'autodev';
16826
16830
  }
16827
16831
  };
16832
+ this.subscribeToSuperCampaignEvents = () => {
16833
+ for (const eventName in this.superCampaignEventHandlers) {
16834
+ document.addEventListener(eventName, this.superCampaignEventHandlers[eventName]);
16835
+ }
16836
+ };
16837
+ this.unSubscribeFromSuperCampaignEvents = () => {
16838
+ for (const eventName in this.superCampaignEventHandlers) {
16839
+ document.removeEventListener(eventName, this.superCampaignEventHandlers[eventName]);
16840
+ }
16841
+ };
16842
+ this.chooseAnotherFundRequested = async (event) => {
16843
+ if (event.detail.sender == 'super-campaign') {
16844
+ await navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.MyOwnFund);
16845
+ }
16846
+ };
16847
+ this.fundPanelShown = async (event) => {
16848
+ var _a;
16849
+ if (event.detail.sender == 'super-campaign') {
16850
+ // eslint-disable-next-line no-console
16851
+ console.log(`$handling super-campaign event: ${(_a = event.detail) === null || _a === void 0 ? void 0 : _a.type}`);
16852
+ const promotedFundsShown = event.detail.shownFunds.map((f) => f.fundId);
16853
+ superSelectionAppService.setSuperCampaignPromotedFundsShown(promotedFundsShown);
16854
+ await EventTrackingService.Instance.TrackSuperFundPanelViewedAsync({
16855
+ promotedFundsShown,
16856
+ defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi),
16857
+ superCampaignEnabled: true
16858
+ });
16859
+ }
16860
+ };
16861
+ this.fundTileClicked = async (event) => {
16862
+ var _a, _b, _c;
16863
+ const eventDetails = event.detail;
16864
+ if (eventDetails.sender == 'super-campaign') {
16865
+ // eslint-disable-next-line no-console
16866
+ console.log(`$handling super-campaign event: ${(_a = event.detail) === null || _a === void 0 ? void 0 : _a.type}`);
16867
+ const promotedFundsShown = superSelectionAppService.superCampaignState.promotedFundsShown;
16868
+ const defaultFundUsiSet = Option.toUndefined(superSelectionAppService.defaultFundUsi);
16869
+ await Promise.all([
16870
+ eventDetails.fundType == 'PromotedDefault'
16871
+ ? await EventTrackingService.Instance.TrackPromotedDefaultSuperFundDetailViewedAsync({
16872
+ fundUsi: (_b = eventDetails.fundUsi) !== null && _b !== void 0 ? _b : '',
16873
+ fundName: eventDetails.fundName,
16874
+ promotedFundId: eventDetails.fundId,
16875
+ promotedFundsShown,
16876
+ defaultFundUsiSet,
16877
+ superCampaignEnabled: true
16878
+ })
16879
+ : await EventTrackingService.Instance.TrackPromotedSuperFundDetailViewedAsync({
16880
+ fundUsi: (_c = eventDetails.fundUsi) !== null && _c !== void 0 ? _c : undefined,
16881
+ fundName: eventDetails.fundName,
16882
+ promotedFundId: eventDetails.fundId,
16883
+ promotedFundsShown,
16884
+ defaultFundUsiSet,
16885
+ superCampaignEnabled: true
16886
+ }),
16887
+ miscService.trackClickPromotedTileAsync(eventDetails.fundType == 'PromotedDefault'
16888
+ ? {
16889
+ promotedDefault: {
16890
+ fundId: eventDetails.fundId
16891
+ }
16892
+ }
16893
+ : {
16894
+ promoted: {
16895
+ fundId: eventDetails.fundId
16896
+ }
16897
+ })
16898
+ ]);
16899
+ }
16900
+ };
16901
+ this.fundPdsViewed = async (event) => {
16902
+ var _a;
16903
+ if (event.detail.sender == 'super-campaign') {
16904
+ // eslint-disable-next-line no-console
16905
+ console.log(`$handling super-campaign event: ${(_a = event.detail) === null || _a === void 0 ? void 0 : _a.type}`);
16906
+ await EventTrackingService.Instance.TrackSuperFundPdsViewedAsync({
16907
+ fundName: event.detail.fundName,
16908
+ fundUsi: event.detail.fundUsi,
16909
+ pageName: event.detail.pageName,
16910
+ superCampaignEnabled: true
16911
+ });
16912
+ }
16913
+ };
16914
+ this.disclaimerViewed = async (event) => {
16915
+ var _a;
16916
+ if (event.detail.sender == 'super-campaign') {
16917
+ // eslint-disable-next-line no-console
16918
+ console.log(`$handling super-campaign event: ${(_a = event.detail) === null || _a === void 0 ? void 0 : _a.type}`);
16919
+ await EventTrackingService.Instance.TrackSuperFundDisclaimerViewedAsync(SuperFundDisclaimerViewedDetail.create(true));
16920
+ }
16921
+ };
16922
+ this.disclaimerAccepted = async (event) => {
16923
+ var _a;
16924
+ if (event.detail.sender == 'super-campaign') {
16925
+ // eslint-disable-next-line no-console
16926
+ console.log(`$handling super-campaign event: ${(_a = event.detail) === null || _a === void 0 ? void 0 : _a.type}`);
16927
+ await EventTrackingService.Instance.TrackSuperFundDisclaimerAcceptedAsync({
16928
+ superCampaignEnabled: true
16929
+ });
16930
+ }
16931
+ };
16932
+ this.superCampaignEventHandlers = {
16933
+ 'choose-another-fund-requested': this.chooseAnotherFundRequested.bind(this),
16934
+ 'fund-panel-shown': this.fundPanelShown.bind(this),
16935
+ 'fund-tile-clicked': this.fundTileClicked.bind(this),
16936
+ 'fund-pds-viewed': this.fundPdsViewed.bind(this),
16937
+ 'disclaimer-viewed': this.disclaimerViewed.bind(this),
16938
+ 'disclaimer-accepted': this.disclaimerAccepted.bind(this)
16939
+ };
16828
16940
  }
16829
16941
  async componentWillLoad() {
16830
16942
  try {
@@ -16832,7 +16944,9 @@ const SuperCampaignHost = class {
16832
16944
  Option.isSome(superSelectionAppService.state.jwt)) {
16833
16945
  this.backendUrl = this.getBaseUrl(superSelectionAppService.state.apiBaseUrl.value);
16834
16946
  this.accessToken = superSelectionAppService.state.jwt.value;
16947
+ this.unSubscribeFromSuperCampaignEvents();
16835
16948
  await import(this.createApolloSuperCampaignScriptUrl(this.getEnvironmentTag()));
16949
+ this.subscribeToSuperCampaignEvents();
16836
16950
  this.componentLoaded = true;
16837
16951
  }
16838
16952
  else {
@@ -16845,6 +16959,9 @@ const SuperCampaignHost = class {
16845
16959
  console.error('Error loading component:', error);
16846
16960
  }
16847
16961
  }
16962
+ disconnectedCallback() {
16963
+ this.unSubscribeFromSuperCampaignEvents();
16964
+ }
16848
16965
  render() {
16849
16966
  return (h("div", null, this.componentLoaded ? (h("apollo-super-campaign", { "backend-url": this.backendUrl, "access-token": this.accessToken })) : null));
16850
16967
  }
@@ -16856,6 +16973,7 @@ const SuperCampaignHost = class {
16856
16973
  return `${parsedUrl.protocol}//${parsedUrl.hostname}${parsedUrl.port.length > 0 ? `:${parsedUrl.port}` : ''}`;
16857
16974
  }
16858
16975
  };
16976
+ injectHistory(SuperCampaignHost);
16859
16977
 
16860
16978
  const SuperChoiceItemBottom = class {
16861
16979
  constructor(hostRef) {
@@ -16885,13 +17003,6 @@ const SuperChoiceItemTop = class {
16885
17003
  }
16886
17004
  };
16887
17005
 
16888
- class MiscService {
16889
- trackClickPromotedTileAsync(payload) {
16890
- return superSelectionApi.clickPromotedTileAsync(payload);
16891
- }
16892
- }
16893
- const miscService = new MiscService();
16894
-
16895
17006
  const SuperChoicePage = class {
16896
17007
  constructor(hostRef) {
16897
17008
  registerInstance(this, hostRef);
@@ -16902,7 +17013,8 @@ const SuperChoicePage = class {
16902
17013
  const promotedFundsShown = this.promotedFunds.map((item) => item.fundId);
16903
17014
  return this.eventTrackingService.TrackSuperFundPanelViewedAsync({
16904
17015
  promotedFundsShown,
16905
- defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi)
17016
+ defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi),
17017
+ superCampaignEnabled: false
16906
17018
  });
16907
17019
  }
16908
17020
  render() {
@@ -16954,14 +17066,16 @@ const SuperChoicePage = class {
16954
17066
  fundName: Option.isSome(fundName) ? fundName.value : '',
16955
17067
  promotedFundId: fund.fundId,
16956
17068
  promotedFundsShown,
16957
- defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi)
17069
+ defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi),
17070
+ superCampaignEnabled: false
16958
17071
  })
16959
17072
  : this.eventTrackingService.TrackPromotedSuperFundDetailViewedAsync({
16960
17073
  fundUsi: Option.isSome(fundUsi) ? fundUsi.value : undefined,
16961
17074
  fundName: Option.isSome(fundName) ? fundName.value : '',
16962
17075
  promotedFundId: fund.fundId,
16963
17076
  promotedFundsShown,
16964
- defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi)
17077
+ defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi),
17078
+ superCampaignEnabled: false
16965
17079
  }),
16966
17080
  miscService.trackClickPromotedTileAsync(fund.isPromotedDefault
16967
17081
  ? {
@@ -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_41",[[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]}],[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],campaignConnectRequestInProgress:[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-campaign-host",{componentLoaded:[32],backendUrl:[32],accessToken:[32]}],[0,"sss-prefill-my-own-fund",{history:[16],prefill:[16],mode:[32],formState:[32],isSubmitDisabled:[32],fundUsi:[32],fundName:[32],memberNumber:[32],memberGivenNames:[32],memberLastName:[32]}],[0,"sss-prefill-smsf",{history:[16],prefill:[16],mode:[32],formState:[32],isSubmitDisabled:[32],fundName:[32],fundAbn:[32],fundEsa:[32],fundAddressLine1:[32],fundAddressLine2:[32],fundAddressCity:[32],fundAddressPostcode:[32],fundAddressState:[32],fundAddress:[32],memberGivenNames:[32],memberLastName:[32],bankAccountName:[32],bankName:[32],bankAccountBsb:[32],bankAccountNumber:[32]}],[0,"sss-prefill-invalid-my-own-fund",{history:[16],prefill:[16],fundUsi:[32],fundName:[32],memberNumber:[32],memberGivenNames:[32],memberLastName:[32]}],[0,"sss-prefill-invalid-smsf",{history:[16],prefill:[16],fundName:[32],fundAbn:[32],fundEsa:[32],fundAddressLine1:[32],fundAddressLine2:[32],fundAddressCity:[32],fundAddressPostcode:[32],fundAddressState:[32],fundAddress:[32],memberGivenNames:[32],memberLastName:[32],bankAccountName:[32],bankAccountBsb:[32],bankAccountNumber:[32]}],[1,"super-selection-app",{ignoreExistingSelection:[4,"ignore-existing-selection"],accessToken:[1,"access-token"],backendUrl:[1,"backend-url"],appBaseUrl:[1,"app-base-url"],history:[16],location:[16],isSelfHosted:[4,"is-self-hosted"],isAppInitialised:[32]}],[0,"sss-my-own-fund-inputs",{myOwnFundForm:[16],showValidationErrors:[4,"show-validation-errors"],selectedOption:[32]}],[0,"sss-loading-super-indicator"],[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],customContent:[16],isMultiFund:[4,"is-multi-fund"],isPromotedDefault:[4,"is-promoted-default"],extraBadge:[16]}],[4,"sss-loading-component",{header:[1]}],[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_41",[[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]}],[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],campaignConnectRequestInProgress:[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-campaign-host",{history:[16],componentLoaded:[32],backendUrl:[32],accessToken:[32]}],[0,"sss-prefill-my-own-fund",{history:[16],prefill:[16],mode:[32],formState:[32],isSubmitDisabled:[32],fundUsi:[32],fundName:[32],memberNumber:[32],memberGivenNames:[32],memberLastName:[32]}],[0,"sss-prefill-smsf",{history:[16],prefill:[16],mode:[32],formState:[32],isSubmitDisabled:[32],fundName:[32],fundAbn:[32],fundEsa:[32],fundAddressLine1:[32],fundAddressLine2:[32],fundAddressCity:[32],fundAddressPostcode:[32],fundAddressState:[32],fundAddress:[32],memberGivenNames:[32],memberLastName:[32],bankAccountName:[32],bankName:[32],bankAccountBsb:[32],bankAccountNumber:[32]}],[0,"sss-prefill-invalid-my-own-fund",{history:[16],prefill:[16],fundUsi:[32],fundName:[32],memberNumber:[32],memberGivenNames:[32],memberLastName:[32]}],[0,"sss-prefill-invalid-smsf",{history:[16],prefill:[16],fundName:[32],fundAbn:[32],fundEsa:[32],fundAddressLine1:[32],fundAddressLine2:[32],fundAddressCity:[32],fundAddressPostcode:[32],fundAddressState:[32],fundAddress:[32],memberGivenNames:[32],memberLastName:[32],bankAccountName:[32],bankAccountBsb:[32],bankAccountNumber:[32]}],[1,"super-selection-app",{ignoreExistingSelection:[4,"ignore-existing-selection"],accessToken:[1,"access-token"],backendUrl:[1,"backend-url"],appBaseUrl:[1,"app-base-url"],history:[16],location:[16],isSelfHosted:[4,"is-self-hosted"],isAppInitialised:[32]}],[0,"sss-my-own-fund-inputs",{myOwnFundForm:[16],showValidationErrors:[4,"show-validation-errors"],selectedOption:[32]}],[0,"sss-loading-super-indicator"],[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],customContent:[16],isMultiFund:[4,"is-multi-fund"],isPromotedDefault:[4,"is-promoted-default"],extraBadge:[16]}],[4,"sss-loading-component",{header:[1]}],[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_41",[[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]}],[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],campaignConnectRequestInProgress:[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-campaign-host",{componentLoaded:[32],backendUrl:[32],accessToken:[32]}],[0,"sss-prefill-my-own-fund",{history:[16],prefill:[16],mode:[32],formState:[32],isSubmitDisabled:[32],fundUsi:[32],fundName:[32],memberNumber:[32],memberGivenNames:[32],memberLastName:[32]}],[0,"sss-prefill-smsf",{history:[16],prefill:[16],mode:[32],formState:[32],isSubmitDisabled:[32],fundName:[32],fundAbn:[32],fundEsa:[32],fundAddressLine1:[32],fundAddressLine2:[32],fundAddressCity:[32],fundAddressPostcode:[32],fundAddressState:[32],fundAddress:[32],memberGivenNames:[32],memberLastName:[32],bankAccountName:[32],bankName:[32],bankAccountBsb:[32],bankAccountNumber:[32]}],[0,"sss-prefill-invalid-my-own-fund",{history:[16],prefill:[16],fundUsi:[32],fundName:[32],memberNumber:[32],memberGivenNames:[32],memberLastName:[32]}],[0,"sss-prefill-invalid-smsf",{history:[16],prefill:[16],fundName:[32],fundAbn:[32],fundEsa:[32],fundAddressLine1:[32],fundAddressLine2:[32],fundAddressCity:[32],fundAddressPostcode:[32],fundAddressState:[32],fundAddress:[32],memberGivenNames:[32],memberLastName:[32],bankAccountName:[32],bankAccountBsb:[32],bankAccountNumber:[32]}],[1,"super-selection-app",{ignoreExistingSelection:[4,"ignore-existing-selection"],accessToken:[1,"access-token"],backendUrl:[1,"backend-url"],appBaseUrl:[1,"app-base-url"],history:[16],location:[16],isSelfHosted:[4,"is-self-hosted"],isAppInitialised:[32]}],[0,"sss-my-own-fund-inputs",{myOwnFundForm:[16],showValidationErrors:[4,"show-validation-errors"],selectedOption:[32]}],[0,"sss-loading-super-indicator"],[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],customContent:[16],isMultiFund:[4,"is-multi-fund"],isPromotedDefault:[4,"is-promoted-default"],extraBadge:[16]}],[4,"sss-loading-component",{header:[1]}],[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_41",[[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]}],[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],campaignConnectRequestInProgress:[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-campaign-host",{history:[16],componentLoaded:[32],backendUrl:[32],accessToken:[32]}],[0,"sss-prefill-my-own-fund",{history:[16],prefill:[16],mode:[32],formState:[32],isSubmitDisabled:[32],fundUsi:[32],fundName:[32],memberNumber:[32],memberGivenNames:[32],memberLastName:[32]}],[0,"sss-prefill-smsf",{history:[16],prefill:[16],mode:[32],formState:[32],isSubmitDisabled:[32],fundName:[32],fundAbn:[32],fundEsa:[32],fundAddressLine1:[32],fundAddressLine2:[32],fundAddressCity:[32],fundAddressPostcode:[32],fundAddressState:[32],fundAddress:[32],memberGivenNames:[32],memberLastName:[32],bankAccountName:[32],bankName:[32],bankAccountBsb:[32],bankAccountNumber:[32]}],[0,"sss-prefill-invalid-my-own-fund",{history:[16],prefill:[16],fundUsi:[32],fundName:[32],memberNumber:[32],memberGivenNames:[32],memberLastName:[32]}],[0,"sss-prefill-invalid-smsf",{history:[16],prefill:[16],fundName:[32],fundAbn:[32],fundEsa:[32],fundAddressLine1:[32],fundAddressLine2:[32],fundAddressCity:[32],fundAddressPostcode:[32],fundAddressState:[32],fundAddress:[32],memberGivenNames:[32],memberLastName:[32],bankAccountName:[32],bankAccountBsb:[32],bankAccountNumber:[32]}],[1,"super-selection-app",{ignoreExistingSelection:[4,"ignore-existing-selection"],accessToken:[1,"access-token"],backendUrl:[1,"backend-url"],appBaseUrl:[1,"app-base-url"],history:[16],location:[16],isSelfHosted:[4,"is-self-hosted"],isAppInitialised:[32]}],[0,"sss-my-own-fund-inputs",{myOwnFundForm:[16],showValidationErrors:[4,"show-validation-errors"],selectedOption:[32]}],[0,"sss-loading-super-indicator"],[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],customContent:[16],isMultiFund:[4,"is-multi-fund"],isPromotedDefault:[4,"is-promoted-default"],extraBadge:[16]}],[4,"sss-loading-component",{header:[1]}],[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};