@flarehr/apollo-super-selection 4.29.30453 → 4.31.31180

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 (40) hide show
  1. package/dist/lib/apollo-super-selection/apollo-super-selection.css +1 -1
  2. package/dist/lib/apollo-super-selection/apollo-super-selection.esm.js +1 -1
  3. package/dist/lib/apollo-super-selection/assets/logo-hesta.svg +5 -0
  4. package/dist/lib/apollo-super-selection/p-6370af88.system.entry.js +69 -0
  5. package/dist/lib/apollo-super-selection/p-bdcfc026.system.js +1 -1
  6. package/dist/lib/apollo-super-selection/p-cba03296.entry.js +14 -0
  7. package/dist/lib/cjs/apollo-super-selection.cjs.js +1 -1
  8. package/dist/lib/cjs/loader.cjs.js +1 -1
  9. package/dist/lib/cjs/sss-button_30.cjs.entry.js +249 -118
  10. package/dist/lib/collection/apollo-super-selection.css +1 -1
  11. package/dist/lib/collection/components/app-host/super-selection-app-host.js +4 -0
  12. package/dist/lib/collection/components/super-selection-app/api/super-selection.api.dto.js +46 -0
  13. package/dist/lib/collection/components/super-selection-app/api/super-selection.api.js +20 -1
  14. package/dist/lib/collection/components/super-selection-app/existing-choice/existing-choice.js +12 -1
  15. package/dist/lib/collection/components/super-selection-app/funds/constants.js +3 -1
  16. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/hesta-default.js +26 -8
  17. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/virgin.js +1 -1
  18. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-iframe-builder.js +2 -1
  19. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/types.js +1 -1
  20. package/dist/lib/collection/components/super-selection-app/misc/dropdown-async.js +2 -0
  21. package/dist/lib/collection/components/super-selection-app/services/event-tracking.service.js +7 -0
  22. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-hesta.svg +5 -0
  23. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-bottom.js +19 -2
  24. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-top.js +28 -5
  25. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +27 -14
  26. package/dist/lib/esm/apollo-super-selection.js +1 -1
  27. package/dist/lib/esm/loader.js +1 -1
  28. package/dist/lib/esm/sss-button_30.entry.js +249 -118
  29. package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
  30. package/dist/lib/esm-es5/loader.js +1 -1
  31. package/dist/lib/esm-es5/sss-button_30.entry.js +9 -9
  32. package/dist/lib/types/components/super-selection-app/api/super-selection-events.model.d.ts +9 -0
  33. package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +2 -0
  34. package/dist/lib/types/components/super-selection-app/services/event-tracking.service.d.ts +1 -0
  35. package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-bottom.d.ts +1 -0
  36. package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-top.d.ts +1 -0
  37. package/dist/lib/types/components.d.ts +4 -0
  38. package/package.json +1 -1
  39. package/dist/lib/apollo-super-selection/p-16367be3.system.entry.js +0 -69
  40. package/dist/lib/apollo-super-selection/p-29a35f2a.entry.js +0 -14
@@ -260,7 +260,7 @@ class TapSubscriber extends Subscriber {
260
260
  }
261
261
  }
262
262
 
263
- const AppVersion = '4.29.30453';
263
+ const AppVersion = '4.31.31180';
264
264
 
265
265
  // -------------------------------------------------------------------------------------
266
266
  // guards
@@ -3272,6 +3272,131 @@ exports.traverseArray(_function.identity);
3272
3272
 
3273
3273
  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";
3274
3274
 
3275
+ function hydratePromotedFundChoiceDtoKind(dto) {
3276
+ if ('slate' in dto) {
3277
+ dto.kind = 'slate';
3278
+ }
3279
+ else if ('australianRetirementTrust' in dto) {
3280
+ dto.kind = 'australianRetirementTrust';
3281
+ }
3282
+ else if ('aware' in dto) {
3283
+ dto.kind = 'aware';
3284
+ }
3285
+ else if ('active' in dto) {
3286
+ dto.kind = 'active';
3287
+ }
3288
+ else if ('australianEthical' in dto) {
3289
+ dto.kind = 'australianEthical';
3290
+ }
3291
+ else if ('virgin' in dto) {
3292
+ dto.kind = 'virgin';
3293
+ }
3294
+ else if ('spirit' in dto) {
3295
+ dto.kind = 'spirit';
3296
+ }
3297
+ else if ('firstSuper' in dto) {
3298
+ dto.kind = 'firstSuper';
3299
+ }
3300
+ else if ('mercerMyChoice' in dto) {
3301
+ dto.kind = 'mercerMyChoice';
3302
+ }
3303
+ }
3304
+ function getPromotedFundUsi(dto) {
3305
+ switch (dto.kind) {
3306
+ case 'slate':
3307
+ return none;
3308
+ case 'australianRetirementTrust':
3309
+ return some(dto.australianRetirementTrust.usi);
3310
+ case 'aware':
3311
+ return some(dto.aware.usi);
3312
+ case 'active':
3313
+ return some(dto.active.usi);
3314
+ case 'australianEthical':
3315
+ return some(dto.australianEthical.usi);
3316
+ case 'virgin':
3317
+ return some(dto.virgin.usi);
3318
+ case 'spirit':
3319
+ return some(dto.spirit.usi);
3320
+ case 'firstSuper':
3321
+ return some(dto.firstSuper.usi);
3322
+ case 'mercerMyChoice':
3323
+ return some(dto.mercerMyChoice.usi);
3324
+ default:
3325
+ return none;
3326
+ }
3327
+ }
3328
+ function getSuperChoiceUsi(dto) {
3329
+ switch (dto.kind) {
3330
+ case 'Promoted':
3331
+ return getPromotedFundUsi(dto.promoted);
3332
+ case 'MyOwnFund':
3333
+ return some(dto.myOwnFund.usi);
3334
+ case 'SMSF':
3335
+ return none;
3336
+ case 'Default':
3337
+ return some(dto.default.usi);
3338
+ case 'PromotedDefault':
3339
+ return some(dto.promotedDefault.usi);
3340
+ default:
3341
+ return none;
3342
+ }
3343
+ }
3344
+ function getPromotedFundMemberNumber(dto) {
3345
+ switch (dto.kind) {
3346
+ case 'slate':
3347
+ return some(dto.slate.memberNumber);
3348
+ case 'australianRetirementTrust':
3349
+ return some(dto.australianRetirementTrust.memberNumber);
3350
+ case 'aware':
3351
+ return some(dto.aware.memberNumber);
3352
+ case 'active':
3353
+ return some(dto.active.memberNumber);
3354
+ case 'australianEthical':
3355
+ return some(dto.australianEthical.memberNumber);
3356
+ case 'virgin':
3357
+ return some(dto.virgin.memberNumber);
3358
+ case 'spirit':
3359
+ return some(dto.spirit.memberNumber);
3360
+ case 'firstSuper':
3361
+ return some(dto.firstSuper.memberNumber);
3362
+ case 'mercerMyChoice':
3363
+ return some(dto.mercerMyChoice.memberNumber);
3364
+ default:
3365
+ return none;
3366
+ }
3367
+ }
3368
+ function getSuperChoiceMemberNumber(dto) {
3369
+ switch (dto.kind) {
3370
+ case 'Promoted':
3371
+ return getPromotedFundMemberNumber(dto.promoted);
3372
+ case 'MyOwnFund':
3373
+ return some(dto.myOwnFund.memberNumber);
3374
+ case 'SMSF':
3375
+ case 'Default':
3376
+ case 'PromotedDefault':
3377
+ return none;
3378
+ default:
3379
+ return none;
3380
+ }
3381
+ }
3382
+ function hydrateSuperChoiceDetailsDtoKind(dto) {
3383
+ if ('promoted' in dto) {
3384
+ dto.kind = 'Promoted';
3385
+ }
3386
+ else if ('myOwnFund' in dto) {
3387
+ dto.kind = 'MyOwnFund';
3388
+ }
3389
+ else if ('smsf' in dto) {
3390
+ dto.kind = 'SMSF';
3391
+ }
3392
+ else if ('default' in dto) {
3393
+ dto.kind = 'Default';
3394
+ }
3395
+ else if ('promotedDefault' in dto) {
3396
+ dto.kind = 'PromotedDefault';
3397
+ }
3398
+ }
3399
+
3275
3400
  class SuperSelectionApi {
3276
3401
  async getAustralianFundsAsync(searchFilter, includeInactive = false) {
3277
3402
  return buildBackendApiClient()
@@ -3293,13 +3418,23 @@ class SuperSelectionApi {
3293
3418
  .json();
3294
3419
  }
3295
3420
  async getAppStateAsync() {
3296
- return buildBackendApiClient()
3421
+ var _a;
3422
+ const response = await buildBackendApiClient()
3297
3423
  .url('client-app-state')
3298
3424
  .get()
3299
3425
  .notFound(() => {
3300
3426
  throw new Error('Failed to fetch application configuration.');
3301
3427
  })
3302
3428
  .json();
3429
+ if ((_a = response.superBuyer.superChoice) === null || _a === void 0 ? void 0 : _a.choiceDetails) {
3430
+ hydrateSuperChoiceDetailsDtoKind(response.superBuyer.superChoice.choiceDetails);
3431
+ switch (response.superBuyer.superChoice.choiceDetails.kind) {
3432
+ case 'Promoted':
3433
+ hydratePromotedFundChoiceDtoKind(response.superBuyer.superChoice.choiceDetails.promoted);
3434
+ break;
3435
+ }
3436
+ }
3437
+ return response;
3303
3438
  }
3304
3439
  async getCampaignConnectAsync() {
3305
3440
  return buildBackendApiClient()
@@ -3516,6 +3651,13 @@ class EventTrackingService {
3516
3651
  }
3517
3652
  });
3518
3653
  }
3654
+ async TrackPromotedDefaultSuperFundDetailViewedAsync(detail) {
3655
+ return this.trackEventAsync({
3656
+ SuperFundDetailViewed: {
3657
+ PromotedDefaultFund: detail
3658
+ }
3659
+ });
3660
+ }
3519
3661
  async TrackMyOwnSuperFundDetailViewedAsync(detail) {
3520
3662
  return this.trackEventAsync({
3521
3663
  SuperFundDetailViewed: {
@@ -4047,7 +4189,7 @@ const SelectInputAsync = class {
4047
4189
  SelectInputAsync.style = dropdownAsyncCss;
4048
4190
 
4049
4191
  const Link = (props, children) => {
4050
- return (h("a", { class: props.className || 'font-medium underline hover:text-gray-600', target: "_blank", href: navigationService.toExternalUrl(props.href), onClick: props.onClick }, children));
4192
+ return (h("a", { class: props.className || 'font-medium underline underline-offset-2 hover:text-gray-600', target: "_blank", href: navigationService.toExternalUrl(props.href), onClick: props.onClick }, children));
4051
4193
  };
4052
4194
  const PoweredByFlareFS = 'Powered by Flare FS';
4053
4195
  function pdsViewedAsync(name, usi) {
@@ -4193,10 +4335,47 @@ const fund$4 = {
4193
4335
  dtoPropName: 'firstSuper'
4194
4336
  };
4195
4337
 
4196
- const name$5 = 'Mercer MyChoice';
4338
+ const name$5 = 'Hesta Super';
4197
4339
  const fund$5 = {
4198
- fundId: 'mercermychoice',
4340
+ fundId: 'hesta-default',
4199
4341
  name: name$5,
4342
+ logo: 'logo-hesta.svg',
4343
+ route: SuperSelectionAppRoutes.PromotedFundJoinV2,
4344
+ features: [
4345
+ h("p", null, "A top-performing super fund* working for real-world impact"),
4346
+ h("p", null, "1+ million members"),
4347
+ h("p", null, "Expert help whenever you need it to help you face the future with confidence")
4348
+ ],
4349
+ featureSubText: (h("span", null,
4350
+ "* SuperRatings 10 Year Platinum Performance 2013-2023 (MySuper). Product ratings and awards are only one factor to be considered. See",
4351
+ ' ',
4352
+ h(Link, { className: "underline underline-offset-2 hover:text-gray-600", href: "https://www.hesta.com.au/ratings" }, "hesta.com.au/ratings"),
4353
+ ' ',
4354
+ "for more information.")),
4355
+ disclaimer: (h("div", { class: "space-y-2" },
4356
+ h("p", null,
4357
+ "You should look at your own financial position and requirements before making a decision. You may wish to consult an adviser when doing this or use the",
4358
+ ' ',
4359
+ h(Link, { href: "https://www.ato.gov.au/YourSuper-comparison-tool/" }, "ATO YourSuper comparison tool"),
4360
+ "."),
4361
+ h("p", null,
4362
+ "Visit",
4363
+ ' ',
4364
+ h(Link, { onClick: () => pdsViewedAsync(name$5), href: "https://www.hesta.com.au/pds" }, "hesta.com.au/pds"),
4365
+ ' ',
4366
+ "for a copy of a Product Disclosure Statement which should be considered when making a decision about the HESTA products on this website and to consider the relevant risks. The target market determination for HESTA products can be found at",
4367
+ ' ',
4368
+ h(Link, { href: "https://www.hesta.com.au/tmd" }, "hesta.com.au/tmd"),
4369
+ "."),
4370
+ h("p", null, "Issued by H.E.S.T. Australia Ltd ABN 66 006 818 695 AFSL No. 235249, Trustee of HESTA"))),
4371
+ footnoteTextOverride: Option.none,
4372
+ isPromotedDefault: true
4373
+ };
4374
+
4375
+ const name$6 = 'Mercer MyChoice';
4376
+ const fund$6 = {
4377
+ fundId: 'mercermychoice',
4378
+ name: name$6,
4200
4379
  logo: 'logo-mercer-mychoice.svg',
4201
4380
  route: SuperSelectionAppRoutes.PromotedFundJoinV2,
4202
4381
  features: [
@@ -4208,7 +4387,7 @@ const fund$5 = {
4208
4387
  h("p", null,
4209
4388
  "You should consider the",
4210
4389
  ' ',
4211
- h(Link, { href: "https://www.mercersuper.com.au/campaign-page/mercer-mychoice", onClick: () => pdsViewedAsync(name$5) }, "Product Disclosure Statement"),
4390
+ h(Link, { href: "https://www.mercersuper.com.au/campaign-page/mercer-mychoice", onClick: () => pdsViewedAsync(name$6) }, "Product Disclosure Statement"),
4212
4391
  ' ',
4213
4392
  "and",
4214
4393
  ' ',
@@ -4221,11 +4400,11 @@ const fund$5 = {
4221
4400
  dtoPropName: 'mercerMyChoice'
4222
4401
  };
4223
4402
 
4224
- const name$6 = 'Slate Super';
4403
+ const name$7 = 'Slate Super';
4225
4404
  const slateUsi = '32367272075001';
4226
- const fund$6 = {
4405
+ const fund$7 = {
4227
4406
  fundId: 'slate',
4228
- name: name$6,
4407
+ name: name$7,
4229
4408
  logo: 'logo-slate.png',
4230
4409
  route: SuperSelectionAppRoutes.SlateJoin,
4231
4410
  features: [
@@ -4236,7 +4415,7 @@ const fund$6 = {
4236
4415
  disclaimer: (h("p", { class: "small text-muted" },
4237
4416
  "You should consider the",
4238
4417
  ' ',
4239
- h(Link, { href: "https://slate.co/pds/?utm_source=flare&utm_medium=superselection", onClick: () => pdsViewedAsync(name$6, slateUsi) }, "Product Disclosure Statement"),
4418
+ h(Link, { href: "https://slate.co/pds/?utm_source=flare&utm_medium=superselection", onClick: () => pdsViewedAsync(name$7, slateUsi) }, "Product Disclosure Statement"),
4240
4419
  ' ',
4241
4420
  "and",
4242
4421
  ' ',
@@ -4249,10 +4428,10 @@ const fund$6 = {
4249
4428
  dtoPropName: 'slate'
4250
4429
  };
4251
4430
 
4252
- const name$7 = 'Spirit Super';
4253
- const fund$7 = {
4431
+ const name$8 = 'Spirit Super';
4432
+ const fund$8 = {
4254
4433
  fundId: 'spirit',
4255
- name: name$7,
4434
+ name: name$8,
4256
4435
  logo: 'logo-spirit.svg',
4257
4436
  route: SuperSelectionAppRoutes.PromotedFundJoinV2,
4258
4437
  features: [
@@ -4281,17 +4460,17 @@ const fund$7 = {
4281
4460
  disclaimer: (h("p", null,
4282
4461
  "Past performance isn\u2019t a reliable indicator of future performance. Consider the PDS and TMD at",
4283
4462
  ' ',
4284
- h(Link, { href: "https://www.spiritsuper.com.au/pds", onClick: () => pdsViewedAsync(name$7) }, "www.spiritsuper.com.au/pds"),
4463
+ h(Link, { href: "https://www.spiritsuper.com.au/pds", onClick: () => pdsViewedAsync(name$8) }, "www.spiritsuper.com.au/pds"),
4285
4464
  ' ',
4286
4465
  "before making a decision. Issuer is Motor Trades Association of Australia Superannuation Fund Pty Ltd (AFSL 238 718, ABN 14 008 650 628), the trustee of Spirit Super (ABN 74 559 365 913). Advice is provided by Quadrant First Pty Ltd (ABN 78 102 167 877, AFSL 284443).")),
4287
4466
  footnoteTextOverride: Option.none,
4288
4467
  dtoPropName: 'spirit'
4289
4468
  };
4290
4469
 
4291
- const name$8 = 'Virgin Money Super';
4292
- const fund$8 = {
4470
+ const name$9 = 'Virgin Money Super';
4471
+ const fund$9 = {
4293
4472
  fundId: 'virgin',
4294
- name: name$8,
4473
+ name: name$9,
4295
4474
  logo: 'logo-virgin.svg',
4296
4475
  route: SuperSelectionAppRoutes.PromotedFundJoinV2,
4297
4476
  features: [
@@ -4309,11 +4488,11 @@ const fund$8 = {
4309
4488
  h("span", null, "Past performance is not a reliable indicator of future performance. Source: SuperRatings Fund Crediting Rate Survey April 2022.")),
4310
4489
  h("li", null,
4311
4490
  h("span", null,
4312
- h(Link, { className: "underline hover:text-gray-600", href: "https://virginmoney.com.au/superannuation/forms-and-key-information/key-documents" }, "Eligibility and T&Cs apply")))))),
4491
+ h(Link, { className: "underline underline-offset-2 hover:text-gray-600", href: "https://virginmoney.com.au/superannuation/forms-and-key-information/key-documents" }, "Eligibility and T&Cs apply")))))),
4313
4492
  disclaimer: (h("p", null,
4314
4493
  "Prepared by Virgin Money Financial Services Pty Ltd ABN 51 113 285 395 AFSL 286869 (\u2018Virgin Money\u2019). Virgin Money Super is a plan in the Mercer Super Trust ABN 19 905 422 981. Virgin Money Super is issued by Mercer Superannuation (Australia) Limited (MSAL) ABN 79 004 717 533 AFSL 235906 as trustee of the Mercer Super Trust. Consider the PDS and TMD at",
4315
4494
  ' ',
4316
- h(Link, { href: "https://virginmoney.com.au/superannuation/", onClick: () => pdsViewedAsync(name$8) }, "www.virginmoney.com.au"),
4495
+ h(Link, { href: "https://virginmoney.com.au/superannuation/", onClick: () => pdsViewedAsync(name$9) }, "www.virginmoney.com.au"),
4317
4496
  ' ',
4318
4497
  "before making a decision")),
4319
4498
  footnoteTextOverride: Option.some(PoweredByFlareFS),
@@ -4321,14 +4500,15 @@ const fund$8 = {
4321
4500
  };
4322
4501
 
4323
4502
  const fundsById = {
4324
- [fund$6.fundId]: fund$6,
4503
+ [fund$7.fundId]: fund$7,
4325
4504
  [fund$2.fundId]: fund$2,
4326
4505
  [fund$3.fundId]: fund$3,
4327
4506
  [fund.fundId]: fund,
4328
4507
  [fund$1.fundId]: fund$1,
4508
+ [fund$9.fundId]: fund$9,
4329
4509
  [fund$8.fundId]: fund$8,
4330
- [fund$7.fundId]: fund$7,
4331
4510
  [fund$4.fundId]: fund$4,
4511
+ [fund$6.fundId]: fund$6,
4332
4512
  [fund$5.fundId]: fund$5
4333
4513
  };
4334
4514
  const allPromotedFunds = Object.values(fundsById);
@@ -4338,88 +4518,9 @@ const getFundByDtoPropName = (dtoPropName) => {
4338
4518
  };
4339
4519
  const getFundNameByFundId = (fundId) => fundsById[fundId] != undefined ? some(fundsById[fundId].name) : none;
4340
4520
  const getFooterTextOverrideByFundId = (fundId) => { var _a, _b; return (_b = (_a = fundsById[fundId]) === null || _a === void 0 ? void 0 : _a.footnoteTextOverride) !== null && _b !== void 0 ? _b : none; };
4341
- const getFundUsiByFundId = (fundId) => fundId == fund$6.fundId ? some(slateUsi) : none;
4521
+ const getFundUsiByFundId = (fundId) => fundId == fund$7.fundId ? some(slateUsi) : none;
4342
4522
  const getLogoSrcByFundId = (fundId) => fundsById[fundId] != undefined ? some(getAssetPath(`assets/${fundsById[fundId].logo}`)) : none;
4343
4523
 
4344
- function getPromotedFundUsi(dto) {
4345
- switch (dto.kind) {
4346
- case 'slate':
4347
- return none;
4348
- case 'australianRetirementTrust':
4349
- return some(dto.australianRetirementTrust.usi);
4350
- case 'aware':
4351
- return some(dto.aware.usi);
4352
- case 'active':
4353
- return some(dto.active.usi);
4354
- case 'australianEthical':
4355
- return some(dto.australianEthical.usi);
4356
- case 'virgin':
4357
- return some(dto.virgin.usi);
4358
- case 'spirit':
4359
- return some(dto.spirit.usi);
4360
- case 'firstSuper':
4361
- return some(dto.firstSuper.usi);
4362
- case 'mercerMyChoice':
4363
- return some(dto.mercerMyChoice.usi);
4364
- default:
4365
- return none;
4366
- }
4367
- }
4368
- function getSuperChoiceUsi(dto) {
4369
- switch (dto.kind) {
4370
- case 'Promoted':
4371
- return getPromotedFundUsi(dto.promoted);
4372
- case 'MyOwnFund':
4373
- return some(dto.myOwnFund.usi);
4374
- case 'SMSF':
4375
- return none;
4376
- case 'Default':
4377
- return some(dto.default.usi);
4378
- case 'PromotedDefault':
4379
- return some(dto.promotedDefault.usi);
4380
- default:
4381
- return none;
4382
- }
4383
- }
4384
- function getPromotedFundMemberNumber(dto) {
4385
- switch (dto.kind) {
4386
- case 'slate':
4387
- return some(dto.slate.memberNumber);
4388
- case 'australianRetirementTrust':
4389
- return some(dto.australianRetirementTrust.memberNumber);
4390
- case 'aware':
4391
- return some(dto.aware.memberNumber);
4392
- case 'active':
4393
- return some(dto.active.memberNumber);
4394
- case 'australianEthical':
4395
- return some(dto.australianEthical.memberNumber);
4396
- case 'virgin':
4397
- return some(dto.virgin.memberNumber);
4398
- case 'spirit':
4399
- return some(dto.spirit.memberNumber);
4400
- case 'firstSuper':
4401
- return some(dto.firstSuper.memberNumber);
4402
- case 'mercerMyChoice':
4403
- return some(dto.mercerMyChoice.memberNumber);
4404
- default:
4405
- return none;
4406
- }
4407
- }
4408
- function getSuperChoiceMemberNumber(dto) {
4409
- switch (dto.kind) {
4410
- case 'Promoted':
4411
- return getPromotedFundMemberNumber(dto.promoted);
4412
- case 'MyOwnFund':
4413
- return some(dto.myOwnFund.memberNumber);
4414
- case 'SMSF':
4415
- case 'Default':
4416
- case 'PromotedDefault':
4417
- return none;
4418
- default:
4419
- return none;
4420
- }
4421
- }
4422
-
4423
4524
  class ExistingFundService {
4424
4525
  async GetExistingFundAsync() {
4425
4526
  var _a;
@@ -4572,6 +4673,7 @@ const ExistingChoice = class {
4572
4673
  return (h("div", null, h("div", { class: "text-2xl sm:text-3xl font-bold text-center" }, "Your super choice"), h("div", { class: "sm:text-lg text-gray-600 mt-3 sm:mt-4 max-w-800 text-center leading-7" }, "Continue with your chosen fund or choose another fund below."), h("div", { class: "flex justify-center mt-8 sm:mt-12" }, h("div", { class: "max-w-400 w-full" }, h("div", { class: "flex-col border shadow-sm p-6 pt-8 rounded-lg text-center" }, h("div", { class: "space-y-4" }, (() => {
4573
4674
  switch (this.existingFund.type) {
4574
4675
  case 'Promoted Fund':
4676
+ case 'Promoted Default Fund':
4575
4677
  return h(PromotedFundView, { id: this.existingFund.id });
4576
4678
  case 'Self Managed Fund':
4577
4679
  return h(SelfManagedFundView, null);
@@ -4579,13 +4681,20 @@ const ExistingChoice = class {
4579
4681
  return h(MyOwnFundView, null);
4580
4682
  case 'Default Fund':
4581
4683
  return h(DefaultFundView, null);
4684
+ default:
4685
+ return h("div", null);
4582
4686
  }
4583
4687
  })(), h("div", { class: "sm:text-lg font-bold leading-6" }, (() => {
4584
4688
  switch (this.existingFund.type) {
4585
4689
  case 'Default Fund':
4586
4690
  return "Employer's default fund";
4587
- default:
4691
+ case 'My Own Fund':
4692
+ case 'Promoted Fund':
4693
+ case 'Self Managed Fund':
4694
+ case 'Promoted Default Fund':
4588
4695
  return this.existingFund.name;
4696
+ default:
4697
+ return '';
4589
4698
  }
4590
4699
  })())), h("div", { class: "mt-6" }, h("sss-button", { fillWidth: true, promiseFn: () => this.handleFundNominationAccepted() }, "Continue with this fund"))), h("div", { class: "mt-4" }, h("sss-button", { fillWidth: true, variant: "secondary", promiseFn: () => this.handleFundNominationDeclined() }, "Choose another fund"))))));
4591
4700
  }
@@ -5004,7 +5113,8 @@ class PromotedFundJoinV2IFrameBuilder {
5004
5113
  navigationService.navigateInternally(history, SuperSelectionAppRoutes.ChoicePage);
5005
5114
  break;
5006
5115
  case 'success':
5007
- if (data.memberNumber) {
5116
+ if (state$2.isPromotedDefault ||
5117
+ (!state$2.isPromotedDefault && data.memberNumber)) {
5008
5118
  const promotedFundId = state$2.fundId;
5009
5119
  const fundName = getFundNameByFundId(promotedFundId);
5010
5120
  navigationService.navigateInternallyToStandardChoice({
@@ -5507,9 +5617,9 @@ class SlateIFrameBuilder {
5507
5617
  if (data.memberNumber) {
5508
5618
  navigationService.navigateInternallyToStandardChoice({
5509
5619
  history,
5510
- fundName: fund$6.name,
5620
+ fundName: fund$7.name,
5511
5621
  handleSubmitFn: (standardChoiceFormSignature) => slateChoiceApi.submitSlateChoiceAsync(Object.assign({ memberNumber: data.memberNumber, memberFirstName: data.memberFirstName, memberFamilyName: data.memberFamilyName, standardChoiceFormSignature, defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi) }, superSelectionAppService.promotedFundsConfig)),
5512
- promotedFundId: fund$6.fundId
5622
+ promotedFundId: fund$7.fundId
5513
5623
  });
5514
5624
  break;
5515
5625
  }
@@ -5651,7 +5761,7 @@ const SuperChoiceItemBottom = class {
5651
5761
  this.joinFundClicked = createEvent(this, "joinFundClicked", 7);
5652
5762
  }
5653
5763
  render() {
5654
- return (h(Host, null, h("div", { class: "py-6 px-4 lg:px-6 flex flex-col justify-between h-full" }, h("div", null, h("div", { class: "md:max-w-[240px] lg:max-w-full" }, h("sss-button", { class: "uuid-button-continue", fillWidth: true, onClick: () => this.handleFundClick() }, "Choose this fund")), h("div", { class: "text-xs text-gray-500 mt-6 leading-4" }, this.disclaimer)), this.abnInfo && this.abn && (h("div", { class: "text-xs text-gray-500 mt-2" }, h("p", null, "Issued by ", this.abnInfo, "."), h("p", null, "ABN: ", this.abn))))));
5764
+ return (h(Host, null, h("div", { class: "py-6 px-4 flex flex-col justify-between h-full" }, h("div", null, h("div", { class: { 'md:max-w-[240px]': true, 'lg:max-w-full': this.isMultiFund } }, h("sss-button", { class: "uuid-button-continue", fillWidth: true, onClick: () => this.handleFundClick() }, "Choose this fund")), h("div", { class: "text-xs text-gray-500 mt-6 leading-4" }, this.disclaimer)), this.abnInfo && this.abn && (h("div", { class: "text-xs text-gray-500 mt-2" }, h("p", null, "Issued by ", this.abnInfo, "."), h("p", null, "ABN: ", this.abn))))));
5655
5765
  }
5656
5766
  handleFundClick() {
5657
5767
  return this.joinFundClicked.emit();
@@ -5663,7 +5773,13 @@ const SuperChoiceItemTop = class {
5663
5773
  registerInstance(this, hostRef);
5664
5774
  }
5665
5775
  render() {
5666
- return (h(Host, null, h("div", { class: "px-4 lg:px-6 pt-6" }, h("div", { class: "text-right w-100 -mt-5 -mr-3.5 lg:-mr-5" }, this.isPromotedDefault && (h("span", { class: "text-xs bg-blue-100 text-blue-800 font-medium rounded-xl py-0.5 px-2.5 mr-1" }, "Employer Default")), h("span", { class: "text-xs bg-gray-100 text-gray-800 font-medium rounded-xl py-0.5 px-2.5 mr-0.5" }, "Featured")), h("div", { class: "flex lg:block mt-2 md:mt-0 lg:mt-4" }, h("img", { class: "h-12 md:h-14 lg:h-16 object-contain w-[80px] md:w-[96px] lg:w-[140px] md:hidden lg:block lg:object-left", alt: this.name, src: getAssetPath(`assets/${this.logo}`) }), h("div", { class: "grid content-center" }, h("p", { class: "text-base md:text-lg font-bold ml-4 md:ml-0 md:mb-0 lg:mt-4" }, this.name))), h("div", { class: "mt-4 sm:mt-2 text-sm space-y-2" }, this.features.map((feature) => (h("div", { class: "flex" }, h("div", { class: "h-5 w-5 flex-none mr-1.5" }, h("img", { alt: "checked", src: getAssetPath(`assets/icon-check.svg`) })), h("div", { class: "leading-5" }, feature))))), this.featureSubText && (h("p", { class: "text-xs text-gray-500 italic mt-4 leading-4" }, this.featureSubText)))));
5776
+ return (h(Host, null, h("div", { class: "px-4 pt-6" }, h("div", { class: "text-right w-100 -mt-5 -mr-2" }, this.isPromotedDefault && (h("span", { class: "text-xs bg-blue-100 text-blue-800 font-medium rounded-xl py-0.5 px-2.5 mr-1" }, "Employer Default")), h("span", { class: "text-xs bg-gray-100 text-gray-800 font-medium rounded-xl py-0.5 px-2.5 mr-0.5" }, "Featured")), h("div", { class: { 'flex lg:block mt-2 md:mt-0': true, 'lg:mt-4': this.isMultiFund } }, h("img", { class: {
5777
+ 'h-12 md:h-14 lg:h-16 object-contain w-[80px] md:w-[96px] lg:w-[140px] md:hidden lg:object-left': true,
5778
+ 'lg:block': this.isMultiFund
5779
+ }, alt: this.name, src: getAssetPath(`assets/${this.logo}`) }), h("div", { class: "grid content-center" }, h("p", { class: {
5780
+ 'text-base md:text-lg font-bold ml-4 md:ml-0 md:mb-0': true,
5781
+ 'lg:mt-4': this.isMultiFund
5782
+ } }, this.name))), h("div", { class: "mt-4 sm:mt-2 text-sm space-y-2" }, this.features.map((feature) => (h("div", { class: "flex" }, h("div", { class: "h-5 w-5 flex-none mr-1.5" }, h("img", { alt: "checked", src: getAssetPath(`assets/icon-check.svg`) })), h("div", { class: "leading-5" }, feature))))), this.featureSubText && (h("p", { class: "text-xs text-gray-500 italic mt-4 leading-4" }, this.featureSubText)))));
5667
5783
  }
5668
5784
  };
5669
5785
 
@@ -5698,9 +5814,10 @@ const SuperChoicePage = class {
5698
5814
  if (this.campaignConnectRequestInProgress) {
5699
5815
  return (h("div", { class: "w-[327px] sm:w-full bg-white flex flex-col items-center" }, h("div", { class: "w-full sm:w-[440px] h-9 bg-gray-200 animate-pulse rounded" }), h("div", { class: "mt-6 w-full sm:w-[720px] h-6 bg-gray-200 animate-pulse rounded" }), h("div", { class: "mt-2 w-[220px] sm:w-[560px] h-6 bg-gray-200 animate-pulse rounded" }), h("div", { class: "mt-10 w-full sm:w-[560px] h-80 bg-gray-200 animate-pulse rounded" }), h("div", { class: "mt-10 w-full sm:w-[200px] h-11 bg-gray-200 animate-pulse rounded" })));
5700
5816
  }
5817
+ const isMultiFund = this.promotedFunds.length > 1;
5701
5818
  return (h(Host, null, h("div", null, h("sss-header-section", { currentPage: "choice" }), h("div", { class: "mt-8 text-sm text-center leading-6" }, h("p", { class: "leading-6" }, "Not ready to join a new fund, or want to nominate another super fund?"), h("stencil-route-link", { url: SuperSelectionAppRoutes.MyOwnFund }, h("span", { class: "inline-block text-primary-base font-medium mt-3" }, "Skip Featured Funds\u00A0", h("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", "stroke-width": "1.5", stroke: "currentColor", class: "inline h-5 w-5 fill-primary-base group-hover:fill-white" }, h("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "M17.25 8.25L21 12m0 0l-3.75 3.75M21 12H3" }))))), h("div", { class: "flex justify-center mt-8" }, h("div", { class: {
5702
5819
  'lg:grid border-l border-t lg:border-b rounded-lg': true,
5703
- 'lg:grid-cols-1 max-w-400': this.promotedFunds.length === 1,
5820
+ 'lg:grid-cols-1 max-w-720': this.promotedFunds.length === 1,
5704
5821
  'lg:grid-cols-2 max-w-720': this.promotedFunds.length === 2,
5705
5822
  'lg:grid-cols-3 max-w-960': this.promotedFunds.length === 3
5706
5823
  } }, this.promotedFunds.map((fund, index) => (h("div", { class: {
@@ -5711,10 +5828,14 @@ const SuperChoicePage = class {
5711
5828
  } }, h("div", { class: {
5712
5829
  'flex border-b lg:border-b-0': true,
5713
5830
  'rounded-b-lg': index === this.promotedFunds.length - 1
5714
- } }, h("div", { class: "hidden md:flex lg:hidden w-36 justify-center pt-6 pl-6" }, h("img", { class: "h-16 object-contain w-full max-w-[96px]", alt: fund.name, src: getAssetPath(`assets/${fund.logo}`) })), h("div", { class: "w-full" }, h("sss-super-choice-item-top", { logo: fund.logo, name: fund.name, features: fund.features, featureSubText: fund.featureSubText, isPromotedDefault: fund.isPromotedDefault }), h("div", { class: "lg:hidden" }, h("sss-super-choice-item-bottom", { disclaimer: fund.disclaimer, abnInfo: fund.abnInfo, abn: fund.abn, onJoinFundClicked: async () => this.handleJoinSuperClickAsync(fund) }))))))), this.promotedFunds.map((fund, index) => (h("div", { class: {
5715
- 'hidden lg:block border-r': true,
5831
+ } }, h("div", { class: {
5832
+ 'hidden md:flex w-36 justify-center pt-6 pl-6': true,
5833
+ 'lg:hidden': isMultiFund
5834
+ } }, h("img", { class: "h-16 object-contain w-full max-w-[96px]", alt: fund.name, src: getAssetPath(`assets/${fund.logo}`) })), h("div", { class: "w-full" }, h("sss-super-choice-item-top", { logo: fund.logo, name: fund.name, features: fund.features, featureSubText: fund.featureSubText, isMultiFund: isMultiFund, isPromotedDefault: fund.isPromotedDefault }), h("div", { class: { 'lg:hidden': isMultiFund } }, h("sss-super-choice-item-bottom", { disclaimer: fund.disclaimer, abnInfo: fund.abnInfo, abn: fund.abn, isMultiFund: isMultiFund, onJoinFundClicked: async () => this.handleJoinSuperClickAsync(fund) }))))))), this.promotedFunds.map((fund, index) => (h("div", { class: {
5835
+ 'hidden border-r': true,
5836
+ 'lg:block': isMultiFund,
5716
5837
  'rounded-br-lg': index === this.promotedFunds.length - 1
5717
- } }, h("sss-super-choice-item-bottom", { disclaimer: fund.disclaimer, abnInfo: fund.abnInfo, abn: fund.abn, onJoinFundClicked: async () => this.handleJoinSuperClickAsync(fund) })))))), h("div", { class: "flex justify-center mt-8 sm:mt-12" }, h("div", { class: "pb-8 sm:pb-12 max-w-720 border-b" }, h("h5", { class: "font-bold sm:text-lg" }, "Or, choose another super fund:"), h("ul", { class: "list-disc list-outside ml-6 mt-3 mb-6 space-y-2 leading-6 text-sm sm:text-base" }, h("li", null, "Select this option if you'd like to use your current account with another super fund, your self-managed super fund, or your employer's default fund."), h("li", null, "If you are unsure of your current super fund details, you can find out at", ' ', h("a", { class: "text-primary-base font-medium hover:text-primary-hover", target: "_blank", href: navigationService.toExternalUrl(mygovLink) }, mygovLinkDisplay)), h("li", null, "A full list of super funds can be viewed at", ' ', h("a", { class: "text-primary-base font-medium hover:text-primary-hover", target: "_blank", href: navigationService.toExternalUrl(superfundsLink) }, superfundsLinkDisplay))), h("stencil-route-link", { url: SuperSelectionAppRoutes.MyOwnFund }, h("sss-button", { fillWidthOnMobile: true }, "Choose another super fund")))), h("div", { class: "flex justify-center" }, h("div", { class: "pt-8 sm:pt-12 max-w-720" }, h("h5", { class: "font-semibold" }, "IMPORTANT INFORMATION:"), h("ul", { class: "list-disc list-outside ml-6 mt-3 space-y-2 text-sm leading-6" }, h("li", null, "The superannuation funds featured above are for your information only. The order, position and placement of content should not be interpreted as an opinion or recommendation (actual or implied) by Flare as to the suitability or appropriateness of any superannuation fund for you. In featuring these superannuation funds, Flare has not taken into account your objectives, financial situation or needs."), h("li", null, "This is not a comparison service. This page contains factual information only and does not constitute either general or personal advice about any financial products. We do not take into account your objectives, financial situation or needs. If you have questions or need help making a decision about your superannuation fund, you should speak to a licensed financial product advice provider."), h("li", null, "Flare, the technology partner you are accessing Flare via and your employer do not endorse or accept responsibility for any financial product advice or services provided by the promoters or trustees of the featured superannuation funds. Flare does not endorse or accept responsibility for any of the content shown about any of the featured superannuation funds."), h("li", null, "You should consider the relevant superannuation fund\u2019s PDS and TMD (if applicable) in deciding whether to apply to join the superannuation fund. Each of the superannuation funds featured above include a link to their PDS and TMD (if applicable) for your convenience. If you are considering joining another superannuation fund, you can typically find the PDS and TMD (if applicable) on that fund\u2019s website."), h("li", null, "You should be aware that, if you do choose one of the featured superannuation funds, Flare and it\u2019s associates will normally receive a fee for you doing so (this includes Simple Financial Choices Pty Ltd, a wholly owned subsidiary of Flare, which is a sub-promoter of Slate Super).")))))));
5838
+ } }, h("sss-super-choice-item-bottom", { disclaimer: fund.disclaimer, abnInfo: fund.abnInfo, abn: fund.abn, isMultiFund: isMultiFund, onJoinFundClicked: async () => this.handleJoinSuperClickAsync(fund) })))))), h("div", { class: "flex justify-center mt-8 sm:mt-12" }, h("div", { class: "pb-8 sm:pb-12 max-w-720 border-b" }, h("h5", { class: "font-bold sm:text-lg" }, "Or, choose another super fund:"), h("ul", { class: "list-disc list-outside ml-6 mt-3 mb-6 space-y-2 leading-6 text-sm sm:text-base" }, h("li", null, "Select this option if you'd like to use your current account with another super fund, your self-managed super fund, or your employer's default fund."), h("li", null, "If you are unsure of your current super fund details, you can find out at", ' ', h("a", { class: "text-primary-base font-medium hover:text-primary-hover", target: "_blank", href: navigationService.toExternalUrl(mygovLink) }, mygovLinkDisplay)), h("li", null, "A full list of super funds can be viewed at", ' ', h("a", { class: "text-primary-base font-medium hover:text-primary-hover", target: "_blank", href: navigationService.toExternalUrl(superfundsLink) }, superfundsLinkDisplay))), h("stencil-route-link", { url: SuperSelectionAppRoutes.MyOwnFund }, h("sss-button", { fillWidthOnMobile: true }, "Choose another super fund")))), h("div", { class: "flex justify-center" }, h("div", { class: "pt-8 sm:pt-12 max-w-720" }, h("h5", { class: "font-semibold" }, "IMPORTANT INFORMATION:"), h("ul", { class: "list-disc list-outside ml-6 mt-3 space-y-2 text-sm leading-6" }, h("li", null, "The superannuation funds featured above are for your information only. The order, position and placement of content should not be interpreted as an opinion or recommendation (actual or implied) by Flare as to the suitability or appropriateness of any superannuation fund for you. In featuring these superannuation funds, Flare has not taken into account your objectives, financial situation or needs."), h("li", null, "This is not a comparison service. This page contains factual information only and does not constitute either general or personal advice about any financial products. We do not take into account your objectives, financial situation or needs. If you have questions or need help making a decision about your superannuation fund, you should speak to a licensed financial product advice provider."), h("li", null, "Flare, the technology partner you are accessing Flare via and your employer do not endorse or accept responsibility for any financial product advice or services provided by the promoters or trustees of the featured superannuation funds. Flare does not endorse or accept responsibility for any of the content shown about any of the featured superannuation funds."), h("li", null, "You should consider the relevant superannuation fund\u2019s PDS and TMD (if applicable) in deciding whether to apply to join the superannuation fund. Each of the superannuation funds featured above include a link to their PDS and TMD (if applicable) for your convenience. If you are considering joining another superannuation fund, you can typically find the PDS and TMD (if applicable) on that fund\u2019s website."), h("li", null, "You should be aware that, if you do choose one of the featured superannuation funds, Flare and it\u2019s associates will normally receive a fee for you doing so (this includes Simple Financial Choices Pty Ltd, a wholly owned subsidiary of Flare, which is a sub-promoter of Slate Super).")))))));
5718
5839
  }
5719
5840
  getPromotedFunds() {
5720
5841
  const fundTiles = [];
@@ -5732,13 +5853,21 @@ const SuperChoicePage = class {
5732
5853
  const fundUsi = getFundUsiByFundId(fund.fundId);
5733
5854
  const fundName = getFundNameByFundId(fund.fundId);
5734
5855
  await Promise.all([
5735
- this.eventTrackingService.TrackPromotedSuperFundDetailViewedAsync({
5736
- fundUsi: Option.isSome(fundUsi) ? fundUsi.value : undefined,
5737
- fundName: Option.isSome(fundName) ? fundName.value : '',
5738
- promotedFundId: fund.fundId,
5739
- promotedFundsShown,
5740
- defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi)
5741
- }),
5856
+ fund.isPromotedDefault == true
5857
+ ? this.eventTrackingService.TrackPromotedDefaultSuperFundDetailViewedAsync({
5858
+ fundUsi: Option.isSome(fundUsi) ? fundUsi.value : '',
5859
+ fundName: Option.isSome(fundName) ? fundName.value : '',
5860
+ promotedFundId: fund.fundId,
5861
+ promotedFundsShown,
5862
+ defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi)
5863
+ })
5864
+ : this.eventTrackingService.TrackPromotedSuperFundDetailViewedAsync({
5865
+ fundUsi: Option.isSome(fundUsi) ? fundUsi.value : undefined,
5866
+ fundName: Option.isSome(fundName) ? fundName.value : '',
5867
+ promotedFundId: fund.fundId,
5868
+ promotedFundsShown,
5869
+ defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi)
5870
+ }),
5742
5871
  miscService.trackClickPromotedTileAsync(fund.isPromotedDefault
5743
5872
  ? {
5744
5873
  promotedDefault: {
@@ -17165,6 +17294,8 @@ const SuperSelectionAppHost = class {
17165
17294
  return () => h("sss-loading-page", null);
17166
17295
  case AuthenticationState.Error:
17167
17296
  return () => h("h1", null, "Authentication Error");
17297
+ default:
17298
+ return () => h("h1", null, "Authentication Error");
17168
17299
  }
17169
17300
  }
17170
17301
  };
@@ -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_30",[[0,"sss-my-own-fund",{history:[16],formState:[32],isNotAllInformationProvidedMessageVisible:[32],isSubmitDisabled:[32]}],[0,"sss-self-managed-fund",{history:[16],formState:[32],isSubmitDisabled:[32]}],[0,"sss-super-choice-page",{history:[16],promotedFunds:[32],campaignConnectRequestInProgress:[32]}],[1,"super-selection-app-host",{sessionState:[32],jwt:[32],appConfiguration:[32],ignoreExistingSelection:[32]}],[0,"sss-default-fund",{history:[16],defaultFundProductName:[32]}],[0,"sss-standard-choice-form",{history:[16],standardChoiceFormSignature:[32],formState:[32],isSubmitDisabled:[32]}],[0,"sss-consent-page",{history:[16]}],[0,"sss-existing-choice-page",{history:[16],existingFund:[32]}],[0,"sss-promoted-fund-join-v1-page",{history:[16]}],[0,"sss-promoted-fund-join-v2-page",{history:[16]}],[0,"sss-slate-join-page",{history:[16]}],[0,"sss-success"],[1,"super-selection-app",{ignoreExistingSelection:[4,"ignore-existing-selection"],accessToken:[1,"access-token"],backendUrl:[1,"backend-url"],appBaseUrl:[1,"app-base-url"],history:[16],location:[16],isSelfHosted:[4,"is-self-hosted"],isAppInitialised:[32]}],[0,"sss-my-own-fund-inputs",{myOwnFundForm:[16],showValidationErrors:[4,"show-validation-errors"],selectedOption:[32]}],[0,"sss-self-managed-fund-inputs",{fundForm:[16],showValidationErrors:[4,"show-validation-errors"],isAbnValid:[32],isAbnTouched:[32],isAbnUsedForRegulated:[32],currentBank:[32],addressErrorMessage:[32]}],[0,"sss-super-choice-item-bottom",{disclaimer:[16],abnInfo:[1,"abn-info"],abn:[1]}],[0,"sss-loading-page"],[0,"sss-super-choice-item-top",{name:[1],logo:[1],features:[16],featureSubText:[16],isPromotedDefault:[4,"is-promoted-default"]}],[0,"sss-dropdown-async",{placeholder:[1],searchFunction:[16],value:[16],required:[4],requiredValidationMessage:[1,"required-validation-message"],disabled:[4],minSearchStringLength:[2,"min-search-string-length"],showValidationErrors:[4,"show-validation-errors"],searchState:[32],inputValue:[32],isDropdownVisible:[32],filteredOptions:[32],highlightedOptionIndex:[32],selectedOption:[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-footer-section",{textOverride:[16]}],[4,"stencil-route-switch",{group:[513],scrollTopOffset:[2,"scroll-top-offset"],location:[16],routeViewsUpdated:[16]}],[4,"stencil-router",{root:[1],historyType:[1,"history-type"],titleSuffix:[1,"title-suffix"],scrollTopOffset:[2,"scroll-top-offset"],location:[32],history:[32]}],[4,"sss-custom-fund",{history:[16],currentCustomFund:[32],fundOptionsList:[32],showFundOptionsSelection:[32]}],[0,"sss-iframe-host",{build:[16]}],[0,"sss-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]}],[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 s=import.meta.url;var e={};if(s!==""){e.resourcesUrl=new URL(".",s).href}return promiseResolve(e)};patchBrowser().then((function(s){globalScripts();return bootstrapLazy([["context-consumer",[[0,"context-consumer",{context:[16],renderer:[16],subscribe:[16],unsubscribe:[32]}]]],["stencil-async-content",[[0,"stencil-async-content",{documentLocation:[1,"document-location"],content:[32]}]]],["stencil-route-title",[[0,"stencil-route-title",{titleSuffix:[1,"title-suffix"],pageTitle:[1,"page-title"]}]]],["stencil-router-prompt",[[0,"stencil-router-prompt",{when:[4],message:[1],history:[16],unblock:[32]}]]],["stencil-router-redirect",[[0,"stencil-router-redirect",{history:[16],root:[1],url:[1]}]]],["sss-button_30",[[0,"sss-my-own-fund",{history:[16],formState:[32],isNotAllInformationProvidedMessageVisible:[32],isSubmitDisabled:[32]}],[0,"sss-self-managed-fund",{history:[16],formState:[32],isSubmitDisabled:[32]}],[0,"sss-super-choice-page",{history:[16],promotedFunds:[32],campaignConnectRequestInProgress:[32]}],[1,"super-selection-app-host",{sessionState:[32],jwt:[32],appConfiguration:[32],ignoreExistingSelection:[32]}],[0,"sss-default-fund",{history:[16],defaultFundProductName:[32]}],[0,"sss-standard-choice-form",{history:[16],standardChoiceFormSignature:[32],formState:[32],isSubmitDisabled:[32]}],[0,"sss-consent-page",{history:[16]}],[0,"sss-existing-choice-page",{history:[16],existingFund:[32]}],[0,"sss-promoted-fund-join-v1-page",{history:[16]}],[0,"sss-promoted-fund-join-v2-page",{history:[16]}],[0,"sss-slate-join-page",{history:[16]}],[0,"sss-success"],[1,"super-selection-app",{ignoreExistingSelection:[4,"ignore-existing-selection"],accessToken:[1,"access-token"],backendUrl:[1,"backend-url"],appBaseUrl:[1,"app-base-url"],history:[16],location:[16],isSelfHosted:[4,"is-self-hosted"],isAppInitialised:[32]}],[0,"sss-my-own-fund-inputs",{myOwnFundForm:[16],showValidationErrors:[4,"show-validation-errors"],selectedOption:[32]}],[0,"sss-self-managed-fund-inputs",{fundForm:[16],showValidationErrors:[4,"show-validation-errors"],isAbnValid:[32],isAbnTouched:[32],isAbnUsedForRegulated:[32],currentBank:[32],addressErrorMessage:[32]}],[0,"sss-super-choice-item-bottom",{disclaimer:[16],abnInfo:[1,"abn-info"],abn:[1],isMultiFund:[4,"is-multi-fund"]}],[0,"sss-loading-page"],[0,"sss-super-choice-item-top",{name:[1],logo:[1],features:[16],featureSubText:[16],isMultiFund:[4,"is-multi-fund"],isPromotedDefault:[4,"is-promoted-default"]}],[0,"sss-dropdown-async",{placeholder:[1],searchFunction:[16],value:[16],required:[4],requiredValidationMessage:[1,"required-validation-message"],disabled:[4],minSearchStringLength:[2,"min-search-string-length"],showValidationErrors:[4,"show-validation-errors"],searchState:[32],inputValue:[32],isDropdownVisible:[32],filteredOptions:[32],highlightedOptionIndex:[32],selectedOption:[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-footer-section",{textOverride:[16]}],[4,"stencil-route-switch",{group:[513],scrollTopOffset:[2,"scroll-top-offset"],location:[16],routeViewsUpdated:[16]}],[4,"stencil-router",{root:[1],historyType:[1,"history-type"],titleSuffix:[1,"title-suffix"],scrollTopOffset:[2,"scroll-top-offset"],location:[32],history:[32]}],[4,"sss-custom-fund",{history:[16],currentCustomFund:[32],fundOptionsList:[32],showFundOptionsSelection:[32]}],[0,"sss-iframe-host",{build:[16]}],[0,"sss-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]}],[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)}));
@@ -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_30",[[0,"sss-my-own-fund",{history:[16],formState:[32],isNotAllInformationProvidedMessageVisible:[32],isSubmitDisabled:[32]}],[0,"sss-self-managed-fund",{history:[16],formState:[32],isSubmitDisabled:[32]}],[0,"sss-super-choice-page",{history:[16],promotedFunds:[32],campaignConnectRequestInProgress:[32]}],[1,"super-selection-app-host",{sessionState:[32],jwt:[32],appConfiguration:[32],ignoreExistingSelection:[32]}],[0,"sss-default-fund",{history:[16],defaultFundProductName:[32]}],[0,"sss-standard-choice-form",{history:[16],standardChoiceFormSignature:[32],formState:[32],isSubmitDisabled:[32]}],[0,"sss-consent-page",{history:[16]}],[0,"sss-existing-choice-page",{history:[16],existingFund:[32]}],[0,"sss-promoted-fund-join-v1-page",{history:[16]}],[0,"sss-promoted-fund-join-v2-page",{history:[16]}],[0,"sss-slate-join-page",{history:[16]}],[0,"sss-success"],[1,"super-selection-app",{ignoreExistingSelection:[4,"ignore-existing-selection"],accessToken:[1,"access-token"],backendUrl:[1,"backend-url"],appBaseUrl:[1,"app-base-url"],history:[16],location:[16],isSelfHosted:[4,"is-self-hosted"],isAppInitialised:[32]}],[0,"sss-my-own-fund-inputs",{myOwnFundForm:[16],showValidationErrors:[4,"show-validation-errors"],selectedOption:[32]}],[0,"sss-self-managed-fund-inputs",{fundForm:[16],showValidationErrors:[4,"show-validation-errors"],isAbnValid:[32],isAbnTouched:[32],isAbnUsedForRegulated:[32],currentBank:[32],addressErrorMessage:[32]}],[0,"sss-super-choice-item-bottom",{disclaimer:[16],abnInfo:[1,"abn-info"],abn:[1]}],[0,"sss-loading-page"],[0,"sss-super-choice-item-top",{name:[1],logo:[1],features:[16],featureSubText:[16],isPromotedDefault:[4,"is-promoted-default"]}],[0,"sss-dropdown-async",{placeholder:[1],searchFunction:[16],value:[16],required:[4],requiredValidationMessage:[1,"required-validation-message"],disabled:[4],minSearchStringLength:[2,"min-search-string-length"],showValidationErrors:[4,"show-validation-errors"],searchState:[32],inputValue:[32],isDropdownVisible:[32],filteredOptions:[32],highlightedOptionIndex:[32],selectedOption:[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-footer-section",{textOverride:[16]}],[4,"stencil-route-switch",{group:[513],scrollTopOffset:[2,"scroll-top-offset"],location:[16],routeViewsUpdated:[16]}],[4,"stencil-router",{root:[1],historyType:[1,"history-type"],titleSuffix:[1,"title-suffix"],scrollTopOffset:[2,"scroll-top-offset"],location:[32],history:[32]}],[4,"sss-custom-fund",{history:[16],currentCustomFund:[32],fundOptionsList:[32],showFundOptionsSelection:[32]}],[0,"sss-iframe-host",{build:[16]}],[0,"sss-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]}],[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_30",[[0,"sss-my-own-fund",{history:[16],formState:[32],isNotAllInformationProvidedMessageVisible:[32],isSubmitDisabled:[32]}],[0,"sss-self-managed-fund",{history:[16],formState:[32],isSubmitDisabled:[32]}],[0,"sss-super-choice-page",{history:[16],promotedFunds:[32],campaignConnectRequestInProgress:[32]}],[1,"super-selection-app-host",{sessionState:[32],jwt:[32],appConfiguration:[32],ignoreExistingSelection:[32]}],[0,"sss-default-fund",{history:[16],defaultFundProductName:[32]}],[0,"sss-standard-choice-form",{history:[16],standardChoiceFormSignature:[32],formState:[32],isSubmitDisabled:[32]}],[0,"sss-consent-page",{history:[16]}],[0,"sss-existing-choice-page",{history:[16],existingFund:[32]}],[0,"sss-promoted-fund-join-v1-page",{history:[16]}],[0,"sss-promoted-fund-join-v2-page",{history:[16]}],[0,"sss-slate-join-page",{history:[16]}],[0,"sss-success"],[1,"super-selection-app",{ignoreExistingSelection:[4,"ignore-existing-selection"],accessToken:[1,"access-token"],backendUrl:[1,"backend-url"],appBaseUrl:[1,"app-base-url"],history:[16],location:[16],isSelfHosted:[4,"is-self-hosted"],isAppInitialised:[32]}],[0,"sss-my-own-fund-inputs",{myOwnFundForm:[16],showValidationErrors:[4,"show-validation-errors"],selectedOption:[32]}],[0,"sss-self-managed-fund-inputs",{fundForm:[16],showValidationErrors:[4,"show-validation-errors"],isAbnValid:[32],isAbnTouched:[32],isAbnUsedForRegulated:[32],currentBank:[32],addressErrorMessage:[32]}],[0,"sss-super-choice-item-bottom",{disclaimer:[16],abnInfo:[1,"abn-info"],abn:[1],isMultiFund:[4,"is-multi-fund"]}],[0,"sss-loading-page"],[0,"sss-super-choice-item-top",{name:[1],logo:[1],features:[16],featureSubText:[16],isMultiFund:[4,"is-multi-fund"],isPromotedDefault:[4,"is-promoted-default"]}],[0,"sss-dropdown-async",{placeholder:[1],searchFunction:[16],value:[16],required:[4],requiredValidationMessage:[1,"required-validation-message"],disabled:[4],minSearchStringLength:[2,"min-search-string-length"],showValidationErrors:[4,"show-validation-errors"],searchState:[32],inputValue:[32],isDropdownVisible:[32],filteredOptions:[32],highlightedOptionIndex:[32],selectedOption:[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-footer-section",{textOverride:[16]}],[4,"stencil-route-switch",{group:[513],scrollTopOffset:[2,"scroll-top-offset"],location:[16],routeViewsUpdated:[16]}],[4,"stencil-router",{root:[1],historyType:[1,"history-type"],titleSuffix:[1,"title-suffix"],scrollTopOffset:[2,"scroll-top-offset"],location:[32],history:[32]}],[4,"sss-custom-fund",{history:[16],currentCustomFund:[32],fundOptionsList:[32],showFundOptionsSelection:[32]}],[0,"sss-iframe-host",{build:[16]}],[0,"sss-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]}],[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};