@flarehr/apollo-super-selection 5.87.56845 → 5.88.58802

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 (75) hide show
  1. package/dist/lib/apollo-super-selection/apollo-super-selection.esm.js +1 -1
  2. package/dist/lib/apollo-super-selection/{p-9cd765f5.system.js → p-035b3fcf.system.js} +1 -1
  3. package/dist/lib/apollo-super-selection/p-10c435ea.system.entry.js +1 -0
  4. package/dist/lib/apollo-super-selection/p-157712cb.entry.js +1 -0
  5. package/dist/lib/apollo-super-selection/p-19a451d6.entry.js +1 -0
  6. package/dist/lib/apollo-super-selection/{p-b3f43d1a.entry.js → p-19be074b.entry.js} +1 -1
  7. package/dist/lib/apollo-super-selection/{p-07893761.system.entry.js → p-240b48ec.system.entry.js} +1 -1
  8. package/dist/lib/apollo-super-selection/{p-d64c4c69.entry.js → p-36ea14fc.entry.js} +4 -4
  9. package/dist/lib/apollo-super-selection/p-3cec4189.system.entry.js +1 -0
  10. package/dist/lib/apollo-super-selection/p-6a4fc9a6.js +1 -0
  11. package/dist/lib/apollo-super-selection/{p-6d4e757b.system.js → p-7b1087e8.system.js} +1 -1
  12. package/dist/lib/apollo-super-selection/{p-f8bb280b.js → p-9640d3ea.js} +1 -1
  13. package/dist/lib/apollo-super-selection/{p-4a95528c.js → p-9a268e32.js} +1 -1
  14. package/dist/lib/apollo-super-selection/{p-dac37462.system.js → p-a68b9b0f.system.js} +1 -1
  15. package/dist/lib/apollo-super-selection/p-a7025e9f.js +1 -0
  16. package/dist/lib/apollo-super-selection/{p-e56506e8.system.entry.js → p-b819e464.system.entry.js} +18 -18
  17. package/dist/lib/apollo-super-selection/p-b88cf353.system.js +1 -0
  18. package/dist/lib/apollo-super-selection/p-bd6e6a8f.system.js +1 -1
  19. package/dist/lib/apollo-super-selection/{p-bbe230d9.entry.js → p-e435c64b.entry.js} +1 -1
  20. package/dist/lib/apollo-super-selection/{p-37ed5963.system.entry.js → p-f924ae7d.system.entry.js} +1 -1
  21. package/dist/lib/cjs/apollo-super-selection.cjs.js +1 -1
  22. package/dist/lib/cjs/{australian-fund-lookup.service-4be59dec.js → australian-fund-lookup.service-ee589d6c.js} +1 -1
  23. package/dist/lib/cjs/{custom-fund.store-3d1ac996.js → custom-fund.store-f56ea1fb.js} +1 -1
  24. package/dist/lib/cjs/{event-tracking.service-ed12699a.js → event-tracking.service-35513098.js} +2 -2
  25. package/dist/lib/cjs/loader.cjs.js +1 -1
  26. package/dist/lib/cjs/{sss-button_32.cjs.entry.js → sss-button_33.cjs.entry.js} +211 -50
  27. package/dist/lib/cjs/sss-default-fund-router.cjs.entry.js +2 -2
  28. package/dist/lib/cjs/sss-default-fund.cjs.entry.js +3 -3
  29. package/dist/lib/cjs/sss-promoted-fund-router.cjs.entry.js +23 -0
  30. package/dist/lib/cjs/sss-super-byof-host.cjs.entry.js +3 -3
  31. package/dist/lib/cjs/{super-selection-app.service-ca52a1fc.js → super-selection-app.service-352ccc67.js} +6 -1
  32. package/dist/lib/collection/collection-manifest.json +3 -0
  33. package/dist/lib/collection/components/promoted-fund/super-promoted-fund-types.js +1 -0
  34. package/dist/lib/collection/components/promoted-fund/super-promoted-fund.js +194 -0
  35. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/default-fund/default-fund-router.js +1 -1
  36. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund-router.js +37 -0
  37. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.routes.js +1 -1
  38. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +4 -0
  39. package/dist/lib/collection/components/super-selection-app/services/super-selection.store.js +2 -1
  40. package/dist/lib/esm/apollo-super-selection.js +1 -1
  41. package/dist/lib/esm/{australian-fund-lookup.service-a2f593d3.js → australian-fund-lookup.service-139f6b9d.js} +1 -1
  42. package/dist/lib/esm/{custom-fund.store-dcc61edf.js → custom-fund.store-59962585.js} +1 -1
  43. package/dist/lib/esm/{event-tracking.service-9398a317.js → event-tracking.service-83984310.js} +2 -2
  44. package/dist/lib/esm/loader.js +1 -1
  45. package/dist/lib/esm/{sss-button_32.entry.js → sss-button_33.entry.js} +211 -51
  46. package/dist/lib/esm/sss-default-fund-router.entry.js +2 -2
  47. package/dist/lib/esm/sss-default-fund.entry.js +3 -3
  48. package/dist/lib/esm/sss-promoted-fund-router.entry.js +19 -0
  49. package/dist/lib/esm/sss-super-byof-host.entry.js +3 -3
  50. package/dist/lib/esm/{super-selection-app.service-50f199de.js → super-selection-app.service-312ba6b0.js} +6 -1
  51. package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
  52. package/dist/lib/esm-es5/{australian-fund-lookup.service-a2f593d3.js → australian-fund-lookup.service-139f6b9d.js} +1 -1
  53. package/dist/lib/esm-es5/{custom-fund.store-dcc61edf.js → custom-fund.store-59962585.js} +1 -1
  54. package/dist/lib/esm-es5/event-tracking.service-83984310.js +1 -0
  55. package/dist/lib/esm-es5/loader.js +1 -1
  56. package/dist/lib/esm-es5/{sss-button_32.entry.js → sss-button_33.entry.js} +4 -4
  57. package/dist/lib/esm-es5/sss-default-fund-router.entry.js +1 -1
  58. package/dist/lib/esm-es5/sss-default-fund.entry.js +1 -1
  59. package/dist/lib/esm-es5/sss-promoted-fund-router.entry.js +1 -0
  60. package/dist/lib/esm-es5/sss-super-byof-host.entry.js +1 -1
  61. package/dist/lib/esm-es5/{super-selection-app.service-50f199de.js → super-selection-app.service-312ba6b0.js} +1 -1
  62. package/dist/lib/types/components/promoted-fund/super-promoted-fund-types.d.ts +41 -0
  63. package/dist/lib/types/components/promoted-fund/super-promoted-fund.d.ts +23 -0
  64. package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +1 -0
  65. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/promoted-fund-router.d.ts +5 -0
  66. package/dist/lib/types/components/super-selection-app/services/super-selection-app.service.d.ts +1 -0
  67. package/dist/lib/types/components/super-selection-app/services/super-selection.store.d.ts +1 -0
  68. package/dist/lib/types/components.d.ts +30 -0
  69. package/package.json +1 -1
  70. package/dist/lib/apollo-super-selection/p-2c136506.system.entry.js +0 -1
  71. package/dist/lib/apollo-super-selection/p-5716179f.js +0 -1
  72. package/dist/lib/apollo-super-selection/p-89c8d0e2.entry.js +0 -1
  73. package/dist/lib/apollo-super-selection/p-a2b4e667.system.js +0 -1
  74. package/dist/lib/apollo-super-selection/p-a99c601b.js +0 -1
  75. package/dist/lib/esm-es5/event-tracking.service-9398a317.js +0 -1
@@ -1,11 +1,11 @@
1
1
  import { r as registerInstance, h, F as Fragment, H as Host, c as createEvent, g as getAssetPath, s as setErrorHandler, a as getElement, d as getContext } from './index-107d7c24.js';
2
2
  import { f as from, m as map, S as SimpleOuterSubscriber, a as SimpleInnerSubscriber, i as innerSubscribe, b as isArray, O as Observable, c as isFunction, d as async, g as Subscriber, h as distinctUntilChanged, j as filter, k as StoreConfig, l as Store, Q as Query } from './datorama-akita-127aea91.js';
3
- import { n as none, i as isSome, s as some, a as superSelectionAppService, O as Option, b as isNone, g as getPromotedFundId, c as buildBackendApiClient, d as getSuperChoiceUsi, e as getSuperChoiceMemberNumber, t as toUndefined, f as superSelectionApi, h as slate, S as SuperCampaignComponentStatus, j as factory, k as fromNullable } from './super-selection-app.service-50f199de.js';
3
+ import { n as none, i as isSome, s as some, a as superSelectionAppService, O as Option, b as isNone, g as getPromotedFundId, c as buildBackendApiClient, d as getSuperChoiceUsi, e as getSuperChoiceMemberNumber, S as SuperCampaignComponentStatus, t as toUndefined, f as superSelectionApi, h as slate, j as factory, k as fromNullable } from './super-selection-app.service-312ba6b0.js';
4
4
  import { A as ActiveRouter } from './active-router-d18b36fb.js';
5
5
  import { i as injectHistory } from './injectHistory-e92e4664.js';
6
- import { n as navigationService, S as SuperSelectionAppRoutes, E as EventTrackingService, c as customFundChoiceApi, s as state$1, i as iframe, a as superSelectionAppStencilRoutes } from './event-tracking.service-9398a317.js';
7
- import { C as CustomFundTypes, s as state } from './custom-fund.store-dcc61edf.js';
8
- import { a as australianFundLookupService } from './australian-fund-lookup.service-a2f593d3.js';
6
+ import { n as navigationService, S as SuperSelectionAppRoutes, E as EventTrackingService, c as customFundChoiceApi, s as state$1, i as iframe, a as superSelectionAppStencilRoutes } from './event-tracking.service-83984310.js';
7
+ import { C as CustomFundTypes, s as state } from './custom-fund.store-59962585.js';
8
+ import { a as australianFundLookupService } from './australian-fund-lookup.service-139f6b9d.js';
9
9
 
10
10
  function noop() { }
11
11
 
@@ -265,7 +265,7 @@ class TapSubscriber extends Subscriber {
265
265
  }
266
266
  }
267
267
 
268
- const AppVersion = '5.87.56845';
268
+ const AppVersion = '5.88.58802';
269
269
 
270
270
  class Lazy {
271
271
  constructor(factory) {
@@ -2590,6 +2590,206 @@ const PrefillWarningBox = class {
2590
2590
  }
2591
2591
  };
2592
2592
 
2593
+ class SuperCampaignErrorApi {
2594
+ static get Instance() {
2595
+ return this.instance || (this.instance = new this());
2596
+ }
2597
+ async PostError(error) {
2598
+ buildBackendApiClient().url('super-campaign/errors').post(error);
2599
+ }
2600
+ }
2601
+
2602
+ class PromotedFundChoiceApi {
2603
+ async submitChoiceAsync(dto) {
2604
+ return buildBackendApiClient()
2605
+ .url('super-choice/promoted-fund')
2606
+ .post(dto)
2607
+ .badRequest(() => {
2608
+ throw new Error('Failed to process Promoted Fund choice request');
2609
+ })
2610
+ .text();
2611
+ }
2612
+ async submitDefaultChoiceAsync(dto) {
2613
+ return buildBackendApiClient()
2614
+ .url('super-choice/promoted-fund/default')
2615
+ .post(dto)
2616
+ .badRequest(() => {
2617
+ throw new Error('Failed to process Promoted Default Fund choice request');
2618
+ })
2619
+ .text();
2620
+ }
2621
+ async submitDefaultChoiceWithJoinAsync(dto) {
2622
+ return buildBackendApiClient()
2623
+ .url('super-choice/promoted-fund/default-with-join')
2624
+ .post(dto)
2625
+ .badRequest(() => {
2626
+ throw new Error('Failed to process Promoted Default Fund With Join choice request');
2627
+ })
2628
+ .text();
2629
+ }
2630
+ }
2631
+ const promotedFundChoiceApi = new PromotedFundChoiceApi();
2632
+
2633
+ const LoadWaitingTimeout$1 = 30000;
2634
+
2635
+ var SuperPromotedFundComponentStatus;
2636
+ (function (SuperPromotedFundComponentStatus) {
2637
+ SuperPromotedFundComponentStatus[SuperPromotedFundComponentStatus["NotLoaded"] = 1] = "NotLoaded";
2638
+ SuperPromotedFundComponentStatus[SuperPromotedFundComponentStatus["Loaded"] = 2] = "Loaded";
2639
+ })(SuperPromotedFundComponentStatus || (SuperPromotedFundComponentStatus = {}));
2640
+ let superPromotedFundComponentStatus = SuperPromotedFundComponentStatus.NotLoaded;
2641
+ const SuperPromotedFundHost = class {
2642
+ constructor(hostRef) {
2643
+ registerInstance(this, hostRef);
2644
+ this.subscribeToSuperPromotedFundEvents = () => {
2645
+ for (const eventName in this.promotedFundEventHandlers) {
2646
+ document.addEventListener(eventName, this.promotedFundEventHandlers[eventName]);
2647
+ }
2648
+ };
2649
+ this.unSubscribeFromSuperPromotedFundEvents = () => {
2650
+ for (const eventName in this.promotedFundEventHandlers) {
2651
+ document.removeEventListener(eventName, this.promotedFundEventHandlers[eventName]);
2652
+ }
2653
+ };
2654
+ this.promotedFundLoaded = async (event) => {
2655
+ if (event.detail.sender === 'super-promoted-fund') {
2656
+ superPromotedFundComponentStatus = SuperPromotedFundComponentStatus.Loaded;
2657
+ clearTimeout(this.loadingTimeoutRef);
2658
+ }
2659
+ };
2660
+ this.promotedFundCompleted = async (event) => {
2661
+ if (event.detail.sender === 'super-promoted-fund') {
2662
+ const { fundType, fundId, fundUsi, fundName, memberNumber } = event.detail;
2663
+ const fundDetails = this.buildFundDetails(fundType, fundId, fundUsi, fundName, memberNumber);
2664
+ const handleSubmitFn = this.buildHandleSubmitFn(event.detail);
2665
+ navigationService.navigateInternallyToStandardChoice({
2666
+ history: this.history,
2667
+ fundName,
2668
+ promotedFundId: fundId,
2669
+ fundDetails,
2670
+ handleSubmitFn
2671
+ });
2672
+ }
2673
+ };
2674
+ this.promotedFundCancelled = async (event) => {
2675
+ if (event.detail.sender === 'super-promoted-fund') {
2676
+ navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.MyOwnFund);
2677
+ }
2678
+ };
2679
+ this.superCampaignLoadFailed = async (event) => {
2680
+ if (event.detail.sender === 'super-promoted-fund') {
2681
+ await this.activateFallbackMechanism({
2682
+ type: 'SuperCampaignActivationFailed',
2683
+ reason: event.detail.reason || 'Unknown'
2684
+ });
2685
+ }
2686
+ };
2687
+ this.superCampaignFailed = async (event) => {
2688
+ if (event.detail.sender === 'super-promoted-fund') {
2689
+ await this.activateFallbackMechanism({
2690
+ type: 'SuperCampaignOperationFailed',
2691
+ reason: event.detail.reason || 'Unknown'
2692
+ });
2693
+ }
2694
+ };
2695
+ this.promotedFundEventHandlers = {
2696
+ 'promoted-fund-loaded': this.promotedFundLoaded.bind(this),
2697
+ 'promoted-fund-completed': this.promotedFundCompleted.bind(this),
2698
+ 'promoted-fund-cancelled': this.promotedFundCancelled.bind(this),
2699
+ 'super-campaign-load-failed': this.superCampaignLoadFailed.bind(this),
2700
+ 'super-campaign-failed': this.superCampaignFailed.bind(this)
2701
+ };
2702
+ }
2703
+ async componentWillLoad() {
2704
+ if (Option.isSome(superSelectionAppService.backendUrl) &&
2705
+ Option.isSome(superSelectionAppService.state.jwt)) {
2706
+ this.backendUrl = superSelectionAppService.backendUrl.value;
2707
+ this.accessToken = superSelectionAppService.state.jwt.value;
2708
+ superSelectionAppService.hideFooterSection = true;
2709
+ if (superPromotedFundComponentStatus === SuperPromotedFundComponentStatus.NotLoaded) {
2710
+ this.loadingTimeoutRef = setTimeout(this.promotedFundLoadingTimeoutTriggered.bind(this), LoadWaitingTimeout$1);
2711
+ }
2712
+ this.subscribeToSuperPromotedFundEvents();
2713
+ }
2714
+ else {
2715
+ throw Error(`SuperPromotedFundHost pre-requisites not met.`);
2716
+ }
2717
+ }
2718
+ disconnectedCallback() {
2719
+ clearTimeout(this.loadingTimeoutRef);
2720
+ this.unSubscribeFromSuperPromotedFundEvents();
2721
+ superSelectionAppService.hideFooterSection = false;
2722
+ }
2723
+ render() {
2724
+ return (h(Host, null, h("apollo-super-promoted-fund", { "backend-url": this.backendUrl, "access-token": this.accessToken })));
2725
+ }
2726
+ buildFundDetails(fundType, fundId, fundUsi, fundName, memberNumber) {
2727
+ switch (fundType) {
2728
+ case 'Promoted':
2729
+ return {
2730
+ type: 'promoted',
2731
+ fundName,
2732
+ fundUsi,
2733
+ memberNumber: memberNumber !== null && memberNumber !== void 0 ? memberNumber : '',
2734
+ promotedFundId: fundId
2735
+ };
2736
+ case 'PromotedDefault':
2737
+ return {
2738
+ type: 'promotedDefault',
2739
+ fundName,
2740
+ fundUsi,
2741
+ promotedFundId: fundId
2742
+ };
2743
+ case 'PromotedDefaultWithJoin':
2744
+ return {
2745
+ type: 'promotedDefaultWithJoin',
2746
+ fundName,
2747
+ fundUsi,
2748
+ memberNumber: memberNumber !== null && memberNumber !== void 0 ? memberNumber : '',
2749
+ promotedFundId: fundId
2750
+ };
2751
+ }
2752
+ }
2753
+ buildHandleSubmitFn(detail) {
2754
+ const { fundType, fundId, fundUsi, memberNumber, memberFirstName, memberFamilyName, sourceOfJoin, isDefaultExclusive } = detail;
2755
+ const defaultFundUsiSet = Option.toUndefined(superSelectionAppService.defaultFundUsi);
2756
+ const promotedFundsConfig = superSelectionAppService.promotedFundsConfig;
2757
+ switch (fundType) {
2758
+ case 'Promoted':
2759
+ return (standardChoiceFormSignature) => promotedFundChoiceApi.submitChoiceAsync(Object.assign({ fundId, memberNumber: memberNumber !== null && memberNumber !== void 0 ? memberNumber : '', memberFirstName,
2760
+ memberFamilyName, usi: fundUsi, standardChoiceFormSignature,
2761
+ defaultFundUsiSet, placementId: 'panel', sourceOfJoin,
2762
+ isDefaultExclusive }, promotedFundsConfig));
2763
+ case 'PromotedDefault':
2764
+ return (standardChoiceFormSignature) => promotedFundChoiceApi.submitDefaultChoiceAsync(Object.assign({ fundId, usi: fundUsi, standardChoiceFormSignature,
2765
+ defaultFundUsiSet, placementId: 'panel', sourceOfJoin,
2766
+ isDefaultExclusive }, promotedFundsConfig));
2767
+ case 'PromotedDefaultWithJoin':
2768
+ return (standardChoiceFormSignature) => promotedFundChoiceApi.submitDefaultChoiceWithJoinAsync(Object.assign({ fundId, memberNumber: memberNumber !== null && memberNumber !== void 0 ? memberNumber : '', memberFirstName: memberFirstName !== null && memberFirstName !== void 0 ? memberFirstName : '', memberFamilyName: memberFamilyName !== null && memberFamilyName !== void 0 ? memberFamilyName : '', usi: fundUsi, standardChoiceFormSignature,
2769
+ defaultFundUsiSet, placementId: 'panel', sourceOfJoin,
2770
+ isDefaultExclusive }, promotedFundsConfig));
2771
+ }
2772
+ }
2773
+ async activateFallbackMechanism(error) {
2774
+ if (superSelectionAppService.superCampaignComponentStatus !==
2775
+ SuperCampaignComponentStatus.NotWorking) {
2776
+ superSelectionAppService.superCampaignComponentStatus =
2777
+ SuperCampaignComponentStatus.NotWorking;
2778
+ await SuperCampaignErrorApi.Instance.PostError(error);
2779
+ navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.MyOwnFund);
2780
+ }
2781
+ }
2782
+ async promotedFundLoadingTimeoutTriggered() {
2783
+ if (superPromotedFundComponentStatus !== SuperPromotedFundComponentStatus.Loaded) {
2784
+ this.activateFallbackMechanism({
2785
+ type: 'SuperCampaignActivationFailed',
2786
+ reason: `Activation timeout was triggered after:${LoadWaitingTimeout$1 / 1000} seconds`
2787
+ });
2788
+ }
2789
+ }
2790
+ };
2791
+ injectHistory(SuperPromotedFundHost);
2792
+
2593
2793
  const SmsfEngagementStep = class {
2594
2794
  constructor(hostRef) {
2595
2795
  registerInstance(this, hostRef);
@@ -12536,37 +12736,6 @@ class AppInsightsService {
12536
12736
  }
12537
12737
  const appInsights = new AppInsightsService();
12538
12738
 
12539
- class PromotedFundChoiceApi {
12540
- async submitChoiceAsync(dto) {
12541
- return buildBackendApiClient()
12542
- .url('super-choice/promoted-fund')
12543
- .post(dto)
12544
- .badRequest(() => {
12545
- throw new Error('Failed to process Promoted Fund choice request');
12546
- })
12547
- .text();
12548
- }
12549
- async submitDefaultChoiceAsync(dto) {
12550
- return buildBackendApiClient()
12551
- .url('super-choice/promoted-fund/default')
12552
- .post(dto)
12553
- .badRequest(() => {
12554
- throw new Error('Failed to process Promoted Default Fund choice request');
12555
- })
12556
- .text();
12557
- }
12558
- async submitDefaultChoiceWithJoinAsync(dto) {
12559
- return buildBackendApiClient()
12560
- .url('super-choice/promoted-fund/default-with-join')
12561
- .post(dto)
12562
- .badRequest(() => {
12563
- throw new Error('Failed to process Promoted Default Fund With Join choice request');
12564
- })
12565
- .text();
12566
- }
12567
- }
12568
- const promotedFundChoiceApi = new PromotedFundChoiceApi();
12569
-
12570
12739
  class SlateChoiceApi {
12571
12740
  async submitSlateChoiceAsync(dto) {
12572
12741
  return buildBackendApiClient()
@@ -12585,7 +12754,7 @@ const Usi = {
12585
12754
  return usi.replace(/ /g, '');
12586
12755
  }
12587
12756
  };
12588
- const LoadWaitingTimeout$1 = 30000;
12757
+ const LoadWaitingTimeout$2 = 30000;
12589
12758
 
12590
12759
  class PromotedFundJoinedEventHandler {
12591
12760
  constructor(placementId, history) {
@@ -12777,15 +12946,6 @@ const FeaturedFunds = class {
12777
12946
  };
12778
12947
  injectHistory(FeaturedFunds);
12779
12948
 
12780
- class SuperCampaignErrorApi {
12781
- static get Instance() {
12782
- return this.instance || (this.instance = new this());
12783
- }
12784
- async PostError(error) {
12785
- buildBackendApiClient().url('super-campaign/errors').post(error);
12786
- }
12787
- }
12788
-
12789
12949
  const SuperFundDisclaimerViewedDetail = {
12790
12950
  create: (superCampaignEnabled) => {
12791
12951
  let isDefinedBenefitsEligibleString = 'Not set';
@@ -12914,7 +13074,7 @@ const SuperCampaignHost = class {
12914
13074
  SuperCampaignComponentStatus.NotLoaded) {
12915
13075
  superCampaingScriptPath = this.createApolloSuperCampaignScriptUrl();
12916
13076
  await import(superCampaingScriptPath);
12917
- this.loadingTimeoutRef = setTimeout(this.superCampaignLoadingTimeoutTriggered.bind(this), LoadWaitingTimeout$1);
13077
+ this.loadingTimeoutRef = setTimeout(this.superCampaignLoadingTimeoutTriggered.bind(this), LoadWaitingTimeout$2);
12918
13078
  }
12919
13079
  this.subscribeToSuperCampaignEvents();
12920
13080
  this.scriptImported = true;
@@ -12952,7 +13112,7 @@ const SuperCampaignHost = class {
12952
13112
  if (superSelectionAppService.superCampaignComponentStatus !== SuperCampaignComponentStatus.Loaded) {
12953
13113
  this.activateFallbackMechanism({
12954
13114
  type: 'SuperCampaignActivationFailed',
12955
- reason: `Activation timeout was triggered after:${LoadWaitingTimeout$1 / 1000} seconds`
13115
+ reason: `Activation timeout was triggered after:${LoadWaitingTimeout$2 / 1000} seconds`
12956
13116
  });
12957
13117
  }
12958
13118
  }
@@ -12974,7 +13134,7 @@ const SuperCampaignHost = class {
12974
13134
  };
12975
13135
  injectHistory(SuperCampaignHost);
12976
13136
 
12977
- const LoadWaitingTimeout$2 = 30000;
13137
+ const LoadWaitingTimeout$3 = 30000;
12978
13138
 
12979
13139
  var SuperSmsfComponentStatus;
12980
13140
  (function (SuperSmsfComponentStatus) {
@@ -13062,7 +13222,7 @@ const SuperSmsfHost = class {
13062
13222
  this.backendUrl = superSelectionAppService.backendUrl.value;
13063
13223
  this.accessToken = superSelectionAppService.state.jwt.value;
13064
13224
  if (superSmsfComponentStatus === SuperSmsfComponentStatus.NotLoaded) {
13065
- this.loadingTimeoutRef = setTimeout(this.smsfLoadingTimeoutTriggered.bind(this), LoadWaitingTimeout$2);
13225
+ this.loadingTimeoutRef = setTimeout(this.smsfLoadingTimeoutTriggered.bind(this), LoadWaitingTimeout$3);
13066
13226
  }
13067
13227
  this.subscribeToSuperSmsfEvents();
13068
13228
  }
@@ -14915,4 +15075,4 @@ const SuperSelectionAppHost = class {
14915
15075
  };
14916
15076
  SuperSelectionAppHost.style = superSelectionAppHostCss;
14917
15077
 
14918
- export { Button as sss_button, ChoiceRouter as sss_choice_router, CustomFund as sss_custom_fund, SuperDefaultFundHost as sss_default_fund_host, SelectInputAsync as sss_dropdown_async, ExistingChoice as sss_existing_choice_page, FooterSection as sss_footer_section, HeaderSection as sss_header_section, LoadingIndicator as sss_loading_indicator, LoadingPage as sss_loading_page, MyOwnFundEngagementStep as sss_my_own_fund_engagement_step_host, MemberNameInput as sss_name_input, Prefill as sss_prefill, DisplayField as sss_prefill_display_field, PrefillErrorBox as sss_prefill_error_box, PrefillInvalidMyOwnFund as sss_prefill_invalid_my_own_fund, PrefillInvalidSMSF as sss_prefill_invalid_smsf, PrefillMyOwnFund as sss_prefill_my_own_fund, PrefillSMSF as sss_prefill_smsf, PrefillWarningBox as sss_prefill_warning_box, SmsfEngagementStep as sss_smsf_engagement_step_host, StandardChoiceFormInputDefaultFund as sss_standard_choice_form, Success as sss_success, FeaturedFunds as sss_super_campaign_featured_funds, SuperCampaignHost as sss_super_campaign_host, SuperSmsfHost as sss_super_smsf_host, Route as stencil_route, RouteLink$1 as stencil_route_link, RouteSwitch as stencil_route_switch, Router as stencil_router, SuperSelectionApp as super_selection_app, SuperSelectionAppHost as super_selection_app_host };
15078
+ export { Button as sss_button, ChoiceRouter as sss_choice_router, CustomFund as sss_custom_fund, SuperDefaultFundHost as sss_default_fund_host, SelectInputAsync as sss_dropdown_async, ExistingChoice as sss_existing_choice_page, FooterSection as sss_footer_section, HeaderSection as sss_header_section, LoadingIndicator as sss_loading_indicator, LoadingPage as sss_loading_page, MyOwnFundEngagementStep as sss_my_own_fund_engagement_step_host, MemberNameInput as sss_name_input, Prefill as sss_prefill, DisplayField as sss_prefill_display_field, PrefillErrorBox as sss_prefill_error_box, PrefillInvalidMyOwnFund as sss_prefill_invalid_my_own_fund, PrefillInvalidSMSF as sss_prefill_invalid_smsf, PrefillMyOwnFund as sss_prefill_my_own_fund, PrefillSMSF as sss_prefill_smsf, PrefillWarningBox as sss_prefill_warning_box, SuperPromotedFundHost as sss_promoted_fund_host, SmsfEngagementStep as sss_smsf_engagement_step_host, StandardChoiceFormInputDefaultFund as sss_standard_choice_form, Success as sss_success, FeaturedFunds as sss_super_campaign_featured_funds, SuperCampaignHost as sss_super_campaign_host, SuperSmsfHost as sss_super_smsf_host, Route as stencil_route, RouteLink$1 as stencil_route_link, RouteSwitch as stencil_route_switch, Router as stencil_router, SuperSelectionApp as super_selection_app, SuperSelectionAppHost as super_selection_app_host };
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-107d7c24.js';
2
- import { a as superSelectionAppService } from './super-selection-app.service-50f199de.js';
2
+ import { a as superSelectionAppService } from './super-selection-app.service-312ba6b0.js';
3
3
  import './active-router-d18b36fb.js';
4
4
  import { i as injectHistory } from './injectHistory-e92e4664.js';
5
5
 
@@ -9,7 +9,7 @@ const DefaultFundRouter = class {
9
9
  }
10
10
  render() {
11
11
  if (superSelectionAppService.isDefaultFundNewComponentEnabled) {
12
- return (h(Host, null, h("sss-default-fund-host", null)));
12
+ return (h(Host, null, h("sss-default-fund-host", { history: this.history })));
13
13
  }
14
14
  return (h(Host, null, h("sss-default-fund", { history: this.history })));
15
15
  }
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, h, g as getAssetPath, H as Host } from './index-107d7c24.js';
2
- import { O as Option, a as superSelectionAppService } from './super-selection-app.service-50f199de.js';
3
- import { E as EventTrackingService, S as SuperSelectionAppRoutes, n as navigationService, c as customFundChoiceApi } from './event-tracking.service-9398a317.js';
4
- import { a as australianFundLookupService } from './australian-fund-lookup.service-a2f593d3.js';
2
+ import { O as Option, a as superSelectionAppService } from './super-selection-app.service-312ba6b0.js';
3
+ import { E as EventTrackingService, S as SuperSelectionAppRoutes, n as navigationService, c as customFundChoiceApi } from './event-tracking.service-83984310.js';
4
+ import { a as australianFundLookupService } from './australian-fund-lookup.service-139f6b9d.js';
5
5
 
6
6
  const DefaultFund = class {
7
7
  constructor(hostRef) {
@@ -0,0 +1,19 @@
1
+ import { r as registerInstance, h, H as Host } from './index-107d7c24.js';
2
+ import { a as superSelectionAppService } from './super-selection-app.service-312ba6b0.js';
3
+ import './active-router-d18b36fb.js';
4
+ import { i as injectHistory } from './injectHistory-e92e4664.js';
5
+
6
+ const PromotedFundRouter = class {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ }
10
+ render() {
11
+ if (superSelectionAppService.isPromotedFundNewComponentEnabled) {
12
+ return (h(Host, null, h("sss-promoted-fund-host", { history: this.history })));
13
+ }
14
+ return (h(Host, null, h("sss-super-campaign-host", { history: this.history })));
15
+ }
16
+ };
17
+ injectHistory(PromotedFundRouter);
18
+
19
+ export { PromotedFundRouter as sss_promoted_fund_router };
@@ -1,9 +1,9 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-107d7c24.js';
2
- import { a as superSelectionAppService, O as Option } from './super-selection-app.service-50f199de.js';
2
+ import { a as superSelectionAppService, O as Option } from './super-selection-app.service-312ba6b0.js';
3
3
  import './active-router-d18b36fb.js';
4
4
  import { i as injectHistory } from './injectHistory-e92e4664.js';
5
- import { E as EventTrackingService, n as navigationService, S as SuperSelectionAppRoutes, c as customFundChoiceApi } from './event-tracking.service-9398a317.js';
6
- import { s as state } from './custom-fund.store-dcc61edf.js';
5
+ import { E as EventTrackingService, n as navigationService, S as SuperSelectionAppRoutes, c as customFundChoiceApi } from './event-tracking.service-83984310.js';
6
+ import { s as state } from './custom-fund.store-59962585.js';
7
7
 
8
8
  const LoadWaitingTimeout = 30000;
9
9
 
@@ -2693,7 +2693,8 @@ const initialState = {
2693
2693
  bringYourOwnFundCustomStepEnabled: false,
2694
2694
  smsfCustomStepEnabled: false,
2695
2695
  featuredFundsEnabled: false,
2696
- defaultFundNewComponentEnabled: false
2696
+ defaultFundNewComponentEnabled: false,
2697
+ promotedFundNewComponentEnabled: false
2697
2698
  };
2698
2699
 
2699
2700
  class SuperSelectionAppService {
@@ -2796,6 +2797,7 @@ class SuperSelectionAppService {
2796
2797
  this._state.smsfCustomStepEnabled = appStateResponse.smsfCustomStepEnabled;
2797
2798
  this._state.featuredFundsEnabled = appStateResponse.featuredFundsEnabled;
2798
2799
  this._state.defaultFundNewComponentEnabled = appStateResponse.defaultFundNewComponentEnabled;
2800
+ this._state.promotedFundNewComponentEnabled = appStateResponse.promotedFundNewComponentEnabled;
2799
2801
  this._state.superChoicePrefill = Option.fromNullable(appStateResponse.prefill);
2800
2802
  this._state.isDefinedBenefitsEligible = Option.fromNullable(appStateResponse.isDefinedBenefitsEligible);
2801
2803
  if (Option.isSome(this._state.accountConfiguration)) {
@@ -2846,6 +2848,9 @@ class SuperSelectionAppService {
2846
2848
  get isDefaultFundNewComponentEnabled() {
2847
2849
  return this.state.defaultFundNewComponentEnabled;
2848
2850
  }
2851
+ get isPromotedFundNewComponentEnabled() {
2852
+ return this.state.promotedFundNewComponentEnabled;
2853
+ }
2849
2854
  get superCampaignCanNotBeActivated() {
2850
2855
  return (!this.state.superCampaignEnabled ||
2851
2856
  this.superCampaignComponentStatus === SuperCampaignComponentStatus.NotWorking);
@@ -1 +1 @@
1
- import{p as promiseResolve,b as bootstrapLazy}from"./index-107d7c24.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([["sss-default-fund-router",[[0,"sss-default-fund-router",{history:[16]}]]],["sss-super-byof-host",[[0,"sss-super-byof-host",{history:[16],backendUrl:[32],accessToken:[32]}]]],["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_32",[[0,"sss-prefill",{history:[16],prefill:[32]}],[1,"super-selection-app-host",{sessionState:[32],jwt:[32],appConfiguration:[32],ignoreExistingSelection:[32]}],[0,"sss-super-campaign-featured-funds",{history:[16],backendUrl:[32],accessToken:[32],currentView:[32]}],[0,"sss-super-smsf-host",{history:[16],backendUrl:[32],accessToken:[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-success"],[0,"sss-choice-router",{history:[16]}],[0,"sss-my-own-fund-engagement-step-host",{history:[16],backendUrl:[32],accessToken:[32],fundUsi:[32],fundName:[32],memberNumber:[32],memberFirstName:[32],memberFamilyName:[32]}],[0,"sss-smsf-engagement-step-host",{history:[16],backendUrl:[32],accessToken:[32],fundName:[32],fundAbn:[32],fundEsa:[32],fundAddress:[32],bsb:[32],bankAccountName:[32],bankAccountNumber:[32],memberFirstName:[32],memberFamilyName:[32],accountId:[32],partnerId:[32]}],[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-name-input",{testId:[1,"test-id"],value:[1],name:[1],readableName:[1,"readable-name"],showValidationErrors:[4,"show-validation-errors"],errorMessage:[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-default-fund-host",{history:[16],backendUrl:[32],accessToken:[32]}],[0,"sss-loading-page"],[0,"sss-footer-section",{textOverride:[1,"text-override"]}],[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]}],[0,"sss-prefill-warning-box",{notificationList:[16]}],[0,"sss-prefill-display-field",{field:[16]}],[0,"sss-prefill-error-box",{withHeader:[4,"with-header"],notificationList:[16]}],[0,"sss-header-section"],[4,"sss-custom-fund",{history:[16],currentCustomFund:[32],fundOptionsList:[32],showFundOptionsSelection:[32]}],[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"]}]]],["sss-default-fund",[[0,"sss-default-fund",{history:[16],defaultFundProductName:[32]}]]]],e)}));
1
+ import{p as promiseResolve,b as bootstrapLazy}from"./index-107d7c24.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([["sss-default-fund-router",[[0,"sss-default-fund-router",{history:[16]}]]],["sss-super-byof-host",[[0,"sss-super-byof-host",{history:[16],backendUrl:[32],accessToken:[32]}]]],["sss-promoted-fund-router",[[0,"sss-promoted-fund-router",{history:[16]}]]],["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_33",[[0,"sss-prefill",{history:[16],prefill:[32]}],[1,"super-selection-app-host",{sessionState:[32],jwt:[32],appConfiguration:[32],ignoreExistingSelection:[32]}],[0,"sss-super-campaign-featured-funds",{history:[16],backendUrl:[32],accessToken:[32],currentView:[32]}],[0,"sss-super-smsf-host",{history:[16],backendUrl:[32],accessToken:[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-success"],[0,"sss-choice-router",{history:[16]}],[0,"sss-my-own-fund-engagement-step-host",{history:[16],backendUrl:[32],accessToken:[32],fundUsi:[32],fundName:[32],memberNumber:[32],memberFirstName:[32],memberFamilyName:[32]}],[0,"sss-smsf-engagement-step-host",{history:[16],backendUrl:[32],accessToken:[32],fundName:[32],fundAbn:[32],fundEsa:[32],fundAddress:[32],bsb:[32],bankAccountName:[32],bankAccountNumber:[32],memberFirstName:[32],memberFamilyName:[32],accountId:[32],partnerId:[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-name-input",{testId:[1,"test-id"],value:[1],name:[1],readableName:[1,"readable-name"],showValidationErrors:[4,"show-validation-errors"],errorMessage:[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-default-fund-host",{history:[16],backendUrl:[32],accessToken:[32]}],[0,"sss-loading-page"],[0,"sss-promoted-fund-host",{history:[16],backendUrl:[32],accessToken:[32]}],[0,"sss-super-campaign-host",{history:[16],scriptImported:[32],backendUrl:[32],accessToken:[32]}],[0,"sss-footer-section",{textOverride:[1,"text-override"]}],[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]}],[0,"sss-prefill-warning-box",{notificationList:[16]}],[0,"sss-prefill-display-field",{field:[16]}],[0,"sss-prefill-error-box",{withHeader:[4,"with-header"],notificationList:[16]}],[0,"sss-header-section"],[4,"sss-custom-fund",{history:[16],currentCustomFund:[32],fundOptionsList:[32],showFundOptionsSelection:[32]}],[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"]}]]],["sss-default-fund",[[0,"sss-default-fund",{history:[16],defaultFundProductName:[32]}]]]],e)}));
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(e,n,t,r){function i(e){return e instanceof t?e:new t((function(n){n(e)}))}return new(t||(t=Promise))((function(t,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function u(e){try{c(r["throw"](e))}catch(e){o(e)}}function c(e){e.done?t(e.value):i(e.value).then(a,u)}c((r=r.apply(e,n||[])).next())}))};var __generator=this&&this.__generator||function(e,n){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(e){return function(n){return c([e,n])}}function c(a){if(r)throw new TypeError("Generator is already executing.");while(t)try{if(r=1,i&&(o=a[0]&2?i["return"]:a[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;if(i=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:t.label++;return{value:a[1],done:false};case 5:t.label++;i=a[1];a=[0];continue;case 7:a=t.ops.pop();t.trys.pop();continue;default:if(!(o=t.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){t.label=a[1];break}if(a[0]===6&&t.label<o[1]){t.label=o[1];o=a;break}if(o&&t.label<o[2]){t.label=o[2];t.ops.push(a);break}if(o[2])t.ops.pop();t.trys.pop();continue}a=n.call(e,t)}catch(e){a=[6,e];i=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};import{f as superSelectionApi,O as Option}from"./super-selection-app.service-50f199de.js";var AustralianFundLookupService=function(){function e(){}e.prototype.searchFundsAsync=function(e,n){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,superSelectionApi.getAustralianFundsAsync({searchString:e,maxRecordCount:n})]}))}))};e.prototype.getFundAsync=function(e,n){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(r){switch(r.label){case 0:return[4,superSelectionApi.getAustralianFundAsync(e,n)];case 1:t=r.sent();return[2,Option.some(t)]}}))}))};return e}();var australianFundLookupService=new AustralianFundLookupService;export{australianFundLookupService as a};
1
+ var __awaiter=this&&this.__awaiter||function(e,n,t,r){function i(e){return e instanceof t?e:new t((function(n){n(e)}))}return new(t||(t=Promise))((function(t,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function u(e){try{c(r["throw"](e))}catch(e){o(e)}}function c(e){e.done?t(e.value):i(e.value).then(a,u)}c((r=r.apply(e,n||[])).next())}))};var __generator=this&&this.__generator||function(e,n){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(e){return function(n){return c([e,n])}}function c(a){if(r)throw new TypeError("Generator is already executing.");while(t)try{if(r=1,i&&(o=a[0]&2?i["return"]:a[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;if(i=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:t.label++;return{value:a[1],done:false};case 5:t.label++;i=a[1];a=[0];continue;case 7:a=t.ops.pop();t.trys.pop();continue;default:if(!(o=t.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){t.label=a[1];break}if(a[0]===6&&t.label<o[1]){t.label=o[1];o=a;break}if(o&&t.label<o[2]){t.label=o[2];t.ops.push(a);break}if(o[2])t.ops.pop();t.trys.pop();continue}a=n.call(e,t)}catch(e){a=[6,e];i=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};import{f as superSelectionApi,O as Option}from"./super-selection-app.service-312ba6b0.js";var AustralianFundLookupService=function(){function e(){}e.prototype.searchFundsAsync=function(e,n){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,superSelectionApi.getAustralianFundsAsync({searchString:e,maxRecordCount:n})]}))}))};e.prototype.getFundAsync=function(e,n){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(r){switch(r.label){case 0:return[4,superSelectionApi.getAustralianFundAsync(e,n)];case 1:t=r.sent();return[2,Option.some(t)]}}))}))};return e}();var australianFundLookupService=new AustralianFundLookupService;export{australianFundLookupService as a};
@@ -1 +1 @@
1
- import{l as createStore,n as none}from"./super-selection-app.service-50f199de.js";var CustomFundTypes;(function(e){e["MyOwnFund"]="Existing super fund";e["DefaultFund"]="Default super fund";e["SelfManagedFund"]="Self-managed super fund";e["FeaturedFunds"]="Featured super funds"})(CustomFundTypes||(CustomFundTypes={}));var initialStateCustomFund={myOwnFundForm:{fundUsi:none,fundName:none,memberNumber:none,memberFirstName:none,memberFamilyName:none},selfManagedFundForm:{fundName:"",fundAbn:"",fundEsa:"",addressLine1:"",addressLine2:"",state:"",postcode:"",city:"",bankAccountName:"",bsb:"",bankAccountNumber:"",memberFirstName:"",memberFamilyName:""}};var _a=createStore(initialStateCustomFund),state=_a.state,reset=_a.reset;export{CustomFundTypes as C,state as s};
1
+ import{l as createStore,n as none}from"./super-selection-app.service-312ba6b0.js";var CustomFundTypes;(function(e){e["MyOwnFund"]="Existing super fund";e["DefaultFund"]="Default super fund";e["SelfManagedFund"]="Self-managed super fund";e["FeaturedFunds"]="Featured super funds"})(CustomFundTypes||(CustomFundTypes={}));var initialStateCustomFund={myOwnFundForm:{fundUsi:none,fundName:none,memberNumber:none,memberFirstName:none,memberFamilyName:none},selfManagedFundForm:{fundName:"",fundAbn:"",fundEsa:"",addressLine1:"",addressLine2:"",state:"",postcode:"",city:"",bankAccountName:"",bsb:"",bankAccountNumber:"",memberFirstName:"",memberFamilyName:""}};var _a=createStore(initialStateCustomFund),state=_a.state,reset=_a.reset;export{CustomFundTypes as C,state as s};
@@ -0,0 +1 @@
1
+ var __awaiter=this&&this.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function u(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r["throw"](e))}catch(e){o(e)}}function c(e){e.done?n(e.value):i(e.value).then(u,s)}c((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,u;return u={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function s(e){return function(t){return c([e,t])}}function c(u){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,i&&(o=u[0]&2?i["return"]:u[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;if(i=0,o)u=[u[0]&2,o.value];switch(u[0]){case 0:case 1:o=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;i=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){n.label=u[1];break}if(u[0]===6&&n.label<o[1]){n.label=o[1];o=u;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(u);break}if(o[2])n.ops.pop();n.trys.pop();continue}u=t.call(e,n)}catch(e){u=[6,e];i=0}finally{r=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};import{h}from"./index-107d7c24.js";import{l as createStore,a as superSelectionAppService,c as buildBackendApiClient}from"./super-selection-app.service-312ba6b0.js";function appReady(){postMessage({type:"appReady"})}function postMessage(e,t){if(t===undefined)t="*";e.sender="flare";window.parent.postMessage(e,t)}function resize(e,t){postMessage({type:"contentResized",height:e,width:t})}function navigation(e){postMessage({type:"pageNavigated",url:e})}function complete(){postMessage({type:"complete"})}function submitSuccess(){postMessage({type:"submitSuccess"})}var iframe={appReady:appReady,resize:resize,navigation:navigation,complete:complete,submitSuccess:submitSuccess};var initial={handleSubmitFn:function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2]}))}))},fundName:"",fundDetails:{type:"null"},promotedFundId:undefined};var state=createStore(initial).state;var SuperSelectionAppRoutes;(function(e){e["ExistingChoicePage"]="/existing";e["SuperCampaign"]="/super-campaign";e["ChoicePage"]="/";e["MyOwnFund"]="/super-choice/my-own-fund/";e["MyOwnFundEngagementStep"]="/super-choice/my-own-fund-engagement/";e["SmsfEngagementStep"]="/super-choice/smsf-engagement/";e["Prefill"]="/super-choice/prefill/";e["PrefillInvalidMyOwnFundPage"]="/super-choice/sss-prefill-invalid-my-own-fund/";e["PrefillMyOwnFundPage"]="/super-choice/prefill-my-own-fund/";e["PrefillSMSFPage"]="/super-choice/prefill-smsf/";e["PrefillInvalidSMSFPage"]="/super-choice/prefill-invalid-smsf/";e["SelfManagedFund"]="/super-choice/smsf/";e["DefaultFund"]="/super-choice/default/";e["FeaturedFunds"]="/super-choice/featured-funds/";e["StandardChoice"]="/standard-choice/";e["Success"]="/success/"})(SuperSelectionAppRoutes||(SuperSelectionAppRoutes={}));var superSelectionAppStencilRoutes=[h("stencil-route",{url:SuperSelectionAppRoutes.ExistingChoicePage,component:"sss-existing-choice-page"}),h("stencil-route",{url:SuperSelectionAppRoutes.SuperCampaign,component:"sss-promoted-fund-router"}),h("stencil-route",{exact:true,url:SuperSelectionAppRoutes.ChoicePage,component:"sss-choice-router"}),h("stencil-route",{url:SuperSelectionAppRoutes.MyOwnFund,component:"sss-super-byof-host"}),h("stencil-route",{url:SuperSelectionAppRoutes.MyOwnFundEngagementStep,component:"sss-my-own-fund-engagement-step-host"}),h("stencil-route",{url:SuperSelectionAppRoutes.SmsfEngagementStep,component:"sss-smsf-engagement-step-host"}),h("stencil-route",{url:SuperSelectionAppRoutes.PrefillInvalidMyOwnFundPage,component:"sss-prefill-invalid-my-own-fund"}),h("stencil-route",{url:SuperSelectionAppRoutes.Prefill,component:"sss-prefill"}),h("stencil-route",{url:SuperSelectionAppRoutes.PrefillMyOwnFundPage,component:"sss-prefill-my-own-fund"}),h("stencil-route",{url:SuperSelectionAppRoutes.PrefillSMSFPage,component:"sss-prefill-smsf"}),h("stencil-route",{url:SuperSelectionAppRoutes.PrefillInvalidSMSFPage,component:"sss-prefill-invalid-smsf"}),h("stencil-route",{url:SuperSelectionAppRoutes.SelfManagedFund,component:"sss-super-smsf-host"}),h("stencil-route",{url:SuperSelectionAppRoutes.DefaultFund,component:"sss-default-fund-router"}),h("stencil-route",{url:SuperSelectionAppRoutes.FeaturedFunds,component:"sss-super-campaign-featured-funds"}),h("stencil-route",{url:SuperSelectionAppRoutes.StandardChoice,component:"sss-standard-choice-form"}),h("stencil-route",{url:SuperSelectionAppRoutes.Success,component:"sss-success"})];var NavigationService=function(){function e(){}e.prototype.navigateInternally=function(e,t){var n=""+this.appBaseUrl+this.toRouteWithLeadingSlash(t);iframe.navigation(n);e.push(n)};e.prototype.navigateInternallyToStandardChoice=function(e){state.handleSubmitFn=e.handleSubmitFn;state.fundName=e.fundName;state.fundDetails=e.fundDetails;state.promotedFundId=e.promotedFundId;this.navigateInternally(e.history,SuperSelectionAppRoutes.StandardChoice)};e.prototype.toExternalUrl=function(e){var t=new URL(e);t.searchParams.append("_extnav","true");return t.href};Object.defineProperty(e.prototype,"appBaseUrl",{get:function(){var e=superSelectionAppService.appBaseUrl;return e.replace(/\/$/,"")},enumerable:false,configurable:true});e.prototype.toRouteWithLeadingSlash=function(e){return e.length>0&&e[0]==="/"?e:"/"+e};return e}();var navigationService=new NavigationService;var CustomFundChoiceApi=function(){function e(){}e.prototype.submitDefaultFundChoiceAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,buildBackendApiClient().url("super-choice/default").post(e).badRequest((function(){throw new Error("Failed to process default fund join request")})).text()]}))}))};e.prototype.submitCustomFundChoiceAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,buildBackendApiClient().url("super-choice/custom-fund").post(e).badRequest((function(){throw new Error("Failed to process custom fund join request")})).text()]}))}))};e.prototype.submitSelfManagedFundChoiceAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,buildBackendApiClient().url("super-choice/smsf").post(e).badRequest((function(){throw new Error("Failed to process SMSF choice request")})).text()]}))}))};e.prototype.submitDefinedBenefitsChoiceAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,buildBackendApiClient().url("super-choice/defined-benefits").post(e).badRequest((function(){throw new Error("Failed to process Defined Benefits choice request")})).text()]}))}))};e.prototype.validateAbnForSMSF=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(n){switch(n.label){case 0:return[4,buildBackendApiClient().url("super-choice/smsf/"+e+"/validate").get().badRequest((function(){throw new Error("Failed to verify that if the provided abn is used for regulated fund")})).json()];case 1:t=n.sent();return[2,t.result]}}))}))};return e}();var customFundChoiceApi=new CustomFundChoiceApi;var EventTrackingApi=function(){function e(){}Object.defineProperty(e,"Instance",{get:function(){return this.instance||(this.instance=new this)},enumerable:false,configurable:true});e.prototype.PostAnalyticsEventAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,buildBackendApiClient().url("analytics-events").post(e).res()]}))}))};return e}();var EventTrackingService=function(){function e(){this.eventTrackingApi=EventTrackingApi.Instance}Object.defineProperty(e,"Instance",{get:function(){return this.instance||(this.instance=new this)},enumerable:false,configurable:true});e.prototype.TrackSuperFundPdsViewedAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperFundPdsViewed:e})]}))}))};e.prototype.TrackPromotedSuperFundDetailViewedAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperFundDetailViewed:{PromotedFund:e}})]}))}))};e.prototype.TrackPromotedDefaultSuperFundDetailViewedAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperFundDetailViewed:{PromotedDefaultFund:e}})]}))}))};e.prototype.TrackMyOwnSuperFundDetailViewedAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperFundDetailViewed:{MyOwnFund:e}})]}))}))};e.prototype.TrackSmsfSuperFundDetailViewedAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperFundDetailViewed:{Smsf:e}})]}))}))};e.prototype.TrackDefaultSuperFundDetailViewedAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperFundDetailViewed:{DefaultFund:e}})]}))}))};e.prototype.TrackSuperFundNominationViewedAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperFundNominationViewed:e})]}))}))};e.prototype.TrackSuperFundNominationDeclinedAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperFundNominationDeclined:e})]}))}))};e.prototype.TrackSuperFundDisclaimerViewedAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperFundDisclaimerViewed:e})]}))}))};e.prototype.TrackSuperFundDisclaimerAcceptedAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperFundDisclaimerAccepted:e})]}))}))};e.prototype.TrackSuperFundPrefillViewedAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperFundPrefillViewed:e})]}))}))};e.prototype.TrackSuperFundPrefillDeclinedAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperFundPrefillDeclined:e})]}))}))};e.prototype.TrackSuperFundDetailChangeRequestedAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperFundDetailChangeRequested:e})]}))}))};e.prototype.TrackSuperCampaignActivationSucceededAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperCampaignActivationSucceeded:e})]}))}))};e.prototype.TrackSuperMyOwnFundEngagementStepActivationSucceeded=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperMyOwnFundEngagementStepActivationSucceeded:{fundUsi:e}})]}))}))};e.prototype.TrackSuperMyOwnFundEngagementStepContinued=function(e,t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){return[2,this.trackEventAsync({SuperMyOwnFundEngagementStepContinued:{fundUsi:e,reason:t}})]}))}))};e.prototype.TrackSuperSmsfEngagementStepActivationSucceeded=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.trackEventAsync({SuperSmsfEngagementStepActivationSucceeded:{}})]}))}))};e.prototype.TrackSuperSmsfEngagementStepContinued=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperSmsfEngagementStepContinued:{reason:e}})]}))}))};e.prototype.trackEventAsync=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(n){switch(n.label){case 0:n.trys.push([0,2,,3]);return[4,this.eventTrackingApi.PostAnalyticsEventAsync({event:e})];case 1:n.sent();return[3,3];case 2:t=n.sent();return[2];case 3:return[2]}}))}))};return e}();export{EventTrackingService as E,SuperSelectionAppRoutes as S,superSelectionAppStencilRoutes as a,customFundChoiceApi as c,iframe as i,navigationService as n,state as s};
@@ -1 +1 @@
1
- import{p as promiseResolve,b as bootstrapLazy}from"./index-107d7c24.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([["sss-default-fund-router",[[0,"sss-default-fund-router",{history:[16]}]]],["sss-super-byof-host",[[0,"sss-super-byof-host",{history:[16],backendUrl:[32],accessToken:[32]}]]],["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_32",[[0,"sss-prefill",{history:[16],prefill:[32]}],[1,"super-selection-app-host",{sessionState:[32],jwt:[32],appConfiguration:[32],ignoreExistingSelection:[32]}],[0,"sss-super-campaign-featured-funds",{history:[16],backendUrl:[32],accessToken:[32],currentView:[32]}],[0,"sss-super-smsf-host",{history:[16],backendUrl:[32],accessToken:[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-success"],[0,"sss-choice-router",{history:[16]}],[0,"sss-my-own-fund-engagement-step-host",{history:[16],backendUrl:[32],accessToken:[32],fundUsi:[32],fundName:[32],memberNumber:[32],memberFirstName:[32],memberFamilyName:[32]}],[0,"sss-smsf-engagement-step-host",{history:[16],backendUrl:[32],accessToken:[32],fundName:[32],fundAbn:[32],fundEsa:[32],fundAddress:[32],bsb:[32],bankAccountName:[32],bankAccountNumber:[32],memberFirstName:[32],memberFamilyName:[32],accountId:[32],partnerId:[32]}],[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-name-input",{testId:[1,"test-id"],value:[1],name:[1],readableName:[1,"readable-name"],showValidationErrors:[4,"show-validation-errors"],errorMessage:[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-default-fund-host",{history:[16],backendUrl:[32],accessToken:[32]}],[0,"sss-loading-page"],[0,"sss-footer-section",{textOverride:[1,"text-override"]}],[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]}],[0,"sss-prefill-warning-box",{notificationList:[16]}],[0,"sss-prefill-display-field",{field:[16]}],[0,"sss-prefill-error-box",{withHeader:[4,"with-header"],notificationList:[16]}],[0,"sss-header-section"],[4,"sss-custom-fund",{history:[16],currentCustomFund:[32],fundOptionsList:[32],showFundOptionsSelection:[32]}],[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"]}]]],["sss-default-fund",[[0,"sss-default-fund",{history:[16],defaultFundProductName:[32]}]]]],s)}))};export{defineCustomElements};
1
+ import{p as promiseResolve,b as bootstrapLazy}from"./index-107d7c24.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([["sss-default-fund-router",[[0,"sss-default-fund-router",{history:[16]}]]],["sss-super-byof-host",[[0,"sss-super-byof-host",{history:[16],backendUrl:[32],accessToken:[32]}]]],["sss-promoted-fund-router",[[0,"sss-promoted-fund-router",{history:[16]}]]],["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_33",[[0,"sss-prefill",{history:[16],prefill:[32]}],[1,"super-selection-app-host",{sessionState:[32],jwt:[32],appConfiguration:[32],ignoreExistingSelection:[32]}],[0,"sss-super-campaign-featured-funds",{history:[16],backendUrl:[32],accessToken:[32],currentView:[32]}],[0,"sss-super-smsf-host",{history:[16],backendUrl:[32],accessToken:[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-success"],[0,"sss-choice-router",{history:[16]}],[0,"sss-my-own-fund-engagement-step-host",{history:[16],backendUrl:[32],accessToken:[32],fundUsi:[32],fundName:[32],memberNumber:[32],memberFirstName:[32],memberFamilyName:[32]}],[0,"sss-smsf-engagement-step-host",{history:[16],backendUrl:[32],accessToken:[32],fundName:[32],fundAbn:[32],fundEsa:[32],fundAddress:[32],bsb:[32],bankAccountName:[32],bankAccountNumber:[32],memberFirstName:[32],memberFamilyName:[32],accountId:[32],partnerId:[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-name-input",{testId:[1,"test-id"],value:[1],name:[1],readableName:[1,"readable-name"],showValidationErrors:[4,"show-validation-errors"],errorMessage:[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-default-fund-host",{history:[16],backendUrl:[32],accessToken:[32]}],[0,"sss-loading-page"],[0,"sss-promoted-fund-host",{history:[16],backendUrl:[32],accessToken:[32]}],[0,"sss-super-campaign-host",{history:[16],scriptImported:[32],backendUrl:[32],accessToken:[32]}],[0,"sss-footer-section",{textOverride:[1,"text-override"]}],[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]}],[0,"sss-prefill-warning-box",{notificationList:[16]}],[0,"sss-prefill-display-field",{field:[16]}],[0,"sss-prefill-error-box",{withHeader:[4,"with-header"],notificationList:[16]}],[0,"sss-header-section"],[4,"sss-custom-fund",{history:[16],currentCustomFund:[32],fundOptionsList:[32],showFundOptionsSelection:[32]}],[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"]}]]],["sss-default-fund",[[0,"sss-default-fund",{history:[16],defaultFundProductName:[32]}]]]],s)}))};export{defineCustomElements};