@flarehr/apollo-super-selection 4.28.30096 → 4.30.31017
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.
- package/dist/lib/apollo-super-selection/apollo-super-selection.css +1 -1
- package/dist/lib/apollo-super-selection/apollo-super-selection.esm.js +1 -1
- package/dist/lib/apollo-super-selection/assets/logo-hesta.svg +5 -0
- package/dist/lib/apollo-super-selection/p-bdcfc026.system.js +1 -1
- package/dist/lib/apollo-super-selection/p-cb5632d9.entry.js +14 -0
- package/dist/lib/apollo-super-selection/p-e32970b5.system.entry.js +69 -0
- package/dist/lib/cjs/apollo-super-selection.cjs.js +1 -1
- package/dist/lib/cjs/loader.cjs.js +1 -1
- package/dist/lib/cjs/sss-button_30.cjs.entry.js +288 -177
- package/dist/lib/collection/apollo-super-selection.css +1 -1
- package/dist/lib/collection/components/app-host/super-selection-app-host.js +4 -0
- package/dist/lib/collection/components/super-selection-app/api/super-selection.api.dto.js +92 -61
- package/dist/lib/collection/components/super-selection-app/api/super-selection.api.js +21 -2
- package/dist/lib/collection/components/super-selection-app/existing-choice/existing-choice.js +12 -1
- package/dist/lib/collection/components/super-selection-app/funds/constants.js +3 -1
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/hesta-default.js +41 -0
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/virgin.js +1 -1
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-iframe-builder.js +2 -1
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/types.js +1 -1
- package/dist/lib/collection/components/super-selection-app/misc/dropdown-async.js +2 -0
- package/dist/lib/collection/components/super-selection-app/services/existing-super-choice-info.service.js +61 -45
- package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +1 -0
- package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-hesta.svg +5 -0
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-bottom.js +19 -2
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-top.js +45 -4
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +12 -7
- package/dist/lib/collection/utils/index.js +3 -0
- package/dist/lib/esm/apollo-super-selection.js +1 -1
- package/dist/lib/esm/loader.js +1 -1
- package/dist/lib/esm/sss-button_30.entry.js +288 -177
- package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
- package/dist/lib/esm-es5/loader.js +1 -1
- package/dist/lib/esm-es5/sss-button_30.entry.js +9 -9
- package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +22 -0
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/hesta-default.d.ts +3 -0
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/types.d.ts +1 -1
- package/dist/lib/types/components/super-selection-app/services/existing-super-choice-info.service.d.ts +9 -1
- package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-bottom.d.ts +1 -0
- package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-top.d.ts +2 -0
- package/dist/lib/types/components.d.ts +6 -0
- package/dist/lib/types/utils/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/lib/apollo-super-selection/p-0936abfe.system.entry.js +0 -69
- package/dist/lib/apollo-super-selection/p-8876ba69.entry.js +0 -14
|
@@ -264,7 +264,7 @@ class TapSubscriber extends datoramaAkita.Subscriber {
|
|
|
264
264
|
}
|
|
265
265
|
}
|
|
266
266
|
|
|
267
|
-
const AppVersion = '4.
|
|
267
|
+
const AppVersion = '4.30.31017';
|
|
268
268
|
|
|
269
269
|
// -------------------------------------------------------------------------------------
|
|
270
270
|
// guards
|
|
@@ -3276,6 +3276,131 @@ exports.traverseArray(_function.identity);
|
|
|
3276
3276
|
|
|
3277
3277
|
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";
|
|
3278
3278
|
|
|
3279
|
+
function hydratePromotedFundChoiceDtoKind(dto) {
|
|
3280
|
+
if ('slate' in dto) {
|
|
3281
|
+
dto.kind = 'slate';
|
|
3282
|
+
}
|
|
3283
|
+
else if ('australianRetirementTrust' in dto) {
|
|
3284
|
+
dto.kind = 'australianRetirementTrust';
|
|
3285
|
+
}
|
|
3286
|
+
else if ('aware' in dto) {
|
|
3287
|
+
dto.kind = 'aware';
|
|
3288
|
+
}
|
|
3289
|
+
else if ('active' in dto) {
|
|
3290
|
+
dto.kind = 'active';
|
|
3291
|
+
}
|
|
3292
|
+
else if ('australianEthical' in dto) {
|
|
3293
|
+
dto.kind = 'australianEthical';
|
|
3294
|
+
}
|
|
3295
|
+
else if ('virgin' in dto) {
|
|
3296
|
+
dto.kind = 'virgin';
|
|
3297
|
+
}
|
|
3298
|
+
else if ('spirit' in dto) {
|
|
3299
|
+
dto.kind = 'spirit';
|
|
3300
|
+
}
|
|
3301
|
+
else if ('firstSuper' in dto) {
|
|
3302
|
+
dto.kind = 'firstSuper';
|
|
3303
|
+
}
|
|
3304
|
+
else if ('mercerMyChoice' in dto) {
|
|
3305
|
+
dto.kind = 'mercerMyChoice';
|
|
3306
|
+
}
|
|
3307
|
+
}
|
|
3308
|
+
function getPromotedFundUsi(dto) {
|
|
3309
|
+
switch (dto.kind) {
|
|
3310
|
+
case 'slate':
|
|
3311
|
+
return none;
|
|
3312
|
+
case 'australianRetirementTrust':
|
|
3313
|
+
return some(dto.australianRetirementTrust.usi);
|
|
3314
|
+
case 'aware':
|
|
3315
|
+
return some(dto.aware.usi);
|
|
3316
|
+
case 'active':
|
|
3317
|
+
return some(dto.active.usi);
|
|
3318
|
+
case 'australianEthical':
|
|
3319
|
+
return some(dto.australianEthical.usi);
|
|
3320
|
+
case 'virgin':
|
|
3321
|
+
return some(dto.virgin.usi);
|
|
3322
|
+
case 'spirit':
|
|
3323
|
+
return some(dto.spirit.usi);
|
|
3324
|
+
case 'firstSuper':
|
|
3325
|
+
return some(dto.firstSuper.usi);
|
|
3326
|
+
case 'mercerMyChoice':
|
|
3327
|
+
return some(dto.mercerMyChoice.usi);
|
|
3328
|
+
default:
|
|
3329
|
+
return none;
|
|
3330
|
+
}
|
|
3331
|
+
}
|
|
3332
|
+
function getSuperChoiceUsi(dto) {
|
|
3333
|
+
switch (dto.kind) {
|
|
3334
|
+
case 'Promoted':
|
|
3335
|
+
return getPromotedFundUsi(dto.promoted);
|
|
3336
|
+
case 'MyOwnFund':
|
|
3337
|
+
return some(dto.myOwnFund.usi);
|
|
3338
|
+
case 'SMSF':
|
|
3339
|
+
return none;
|
|
3340
|
+
case 'Default':
|
|
3341
|
+
return some(dto.default.usi);
|
|
3342
|
+
case 'PromotedDefault':
|
|
3343
|
+
return some(dto.promotedDefault.usi);
|
|
3344
|
+
default:
|
|
3345
|
+
return none;
|
|
3346
|
+
}
|
|
3347
|
+
}
|
|
3348
|
+
function getPromotedFundMemberNumber(dto) {
|
|
3349
|
+
switch (dto.kind) {
|
|
3350
|
+
case 'slate':
|
|
3351
|
+
return some(dto.slate.memberNumber);
|
|
3352
|
+
case 'australianRetirementTrust':
|
|
3353
|
+
return some(dto.australianRetirementTrust.memberNumber);
|
|
3354
|
+
case 'aware':
|
|
3355
|
+
return some(dto.aware.memberNumber);
|
|
3356
|
+
case 'active':
|
|
3357
|
+
return some(dto.active.memberNumber);
|
|
3358
|
+
case 'australianEthical':
|
|
3359
|
+
return some(dto.australianEthical.memberNumber);
|
|
3360
|
+
case 'virgin':
|
|
3361
|
+
return some(dto.virgin.memberNumber);
|
|
3362
|
+
case 'spirit':
|
|
3363
|
+
return some(dto.spirit.memberNumber);
|
|
3364
|
+
case 'firstSuper':
|
|
3365
|
+
return some(dto.firstSuper.memberNumber);
|
|
3366
|
+
case 'mercerMyChoice':
|
|
3367
|
+
return some(dto.mercerMyChoice.memberNumber);
|
|
3368
|
+
default:
|
|
3369
|
+
return none;
|
|
3370
|
+
}
|
|
3371
|
+
}
|
|
3372
|
+
function getSuperChoiceMemberNumber(dto) {
|
|
3373
|
+
switch (dto.kind) {
|
|
3374
|
+
case 'Promoted':
|
|
3375
|
+
return getPromotedFundMemberNumber(dto.promoted);
|
|
3376
|
+
case 'MyOwnFund':
|
|
3377
|
+
return some(dto.myOwnFund.memberNumber);
|
|
3378
|
+
case 'SMSF':
|
|
3379
|
+
case 'Default':
|
|
3380
|
+
case 'PromotedDefault':
|
|
3381
|
+
return none;
|
|
3382
|
+
default:
|
|
3383
|
+
return none;
|
|
3384
|
+
}
|
|
3385
|
+
}
|
|
3386
|
+
function hydrateSuperChoiceDetailsDtoKind(dto) {
|
|
3387
|
+
if ('promoted' in dto) {
|
|
3388
|
+
dto.kind = 'Promoted';
|
|
3389
|
+
}
|
|
3390
|
+
else if ('myOwnFund' in dto) {
|
|
3391
|
+
dto.kind = 'MyOwnFund';
|
|
3392
|
+
}
|
|
3393
|
+
else if ('smsf' in dto) {
|
|
3394
|
+
dto.kind = 'SMSF';
|
|
3395
|
+
}
|
|
3396
|
+
else if ('default' in dto) {
|
|
3397
|
+
dto.kind = 'Default';
|
|
3398
|
+
}
|
|
3399
|
+
else if ('promotedDefault' in dto) {
|
|
3400
|
+
dto.kind = 'PromotedDefault';
|
|
3401
|
+
}
|
|
3402
|
+
}
|
|
3403
|
+
|
|
3279
3404
|
class SuperSelectionApi {
|
|
3280
3405
|
async getAustralianFundsAsync(searchFilter, includeInactive = false) {
|
|
3281
3406
|
return buildBackendApiClient()
|
|
@@ -3297,17 +3422,27 @@ class SuperSelectionApi {
|
|
|
3297
3422
|
.json();
|
|
3298
3423
|
}
|
|
3299
3424
|
async getAppStateAsync() {
|
|
3300
|
-
|
|
3425
|
+
var _a;
|
|
3426
|
+
const response = await buildBackendApiClient()
|
|
3301
3427
|
.url('client-app-state')
|
|
3302
3428
|
.get()
|
|
3303
3429
|
.notFound(() => {
|
|
3304
3430
|
throw new Error('Failed to fetch application configuration.');
|
|
3305
3431
|
})
|
|
3306
3432
|
.json();
|
|
3433
|
+
if ((_a = response.superBuyer.superChoice) === null || _a === void 0 ? void 0 : _a.choiceDetails) {
|
|
3434
|
+
hydrateSuperChoiceDetailsDtoKind(response.superBuyer.superChoice.choiceDetails);
|
|
3435
|
+
switch (response.superBuyer.superChoice.choiceDetails.kind) {
|
|
3436
|
+
case 'Promoted':
|
|
3437
|
+
hydratePromotedFundChoiceDtoKind(response.superBuyer.superChoice.choiceDetails.promoted);
|
|
3438
|
+
break;
|
|
3439
|
+
}
|
|
3440
|
+
}
|
|
3441
|
+
return response;
|
|
3307
3442
|
}
|
|
3308
3443
|
async getCampaignConnectAsync() {
|
|
3309
3444
|
return buildBackendApiClient()
|
|
3310
|
-
.url('
|
|
3445
|
+
.url('campaign-connect')
|
|
3311
3446
|
.get()
|
|
3312
3447
|
.notFound(() => {
|
|
3313
3448
|
throw new Error('Failed to fetch campaign connect.');
|
|
@@ -3440,6 +3575,7 @@ class SuperSelectionAppService {
|
|
|
3440
3575
|
this._state.profileConfiguration = Option.fromNullable(appStateResponse.profileConfiguration);
|
|
3441
3576
|
this._state.superBuyer = Option.fromNullable(appStateResponse.superBuyer);
|
|
3442
3577
|
this._state.promotedFunds = Option.fromNullable(appStateResponse.promotedFunds);
|
|
3578
|
+
this._state.campaignConnectEnabled = appStateResponse.campaignConnectEnabled;
|
|
3443
3579
|
if (this._state.campaignConnectEnabled) {
|
|
3444
3580
|
this._state.campaignConnectPromise = Option.fromNullable(superSelectionApi.getCampaignConnectAsync());
|
|
3445
3581
|
}
|
|
@@ -4050,7 +4186,7 @@ const SelectInputAsync = class {
|
|
|
4050
4186
|
SelectInputAsync.style = dropdownAsyncCss;
|
|
4051
4187
|
|
|
4052
4188
|
const Link = (props, children) => {
|
|
4053
|
-
return (index.h("a", { class: props.className || 'font-medium underline hover:text-gray-600', target: "_blank", href: navigationService.toExternalUrl(props.href), onClick: props.onClick }, children));
|
|
4189
|
+
return (index.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));
|
|
4054
4190
|
};
|
|
4055
4191
|
const PoweredByFlareFS = 'Powered by Flare FS';
|
|
4056
4192
|
function pdsViewedAsync(name, usi) {
|
|
@@ -4196,10 +4332,47 @@ const fund$4 = {
|
|
|
4196
4332
|
dtoPropName: 'firstSuper'
|
|
4197
4333
|
};
|
|
4198
4334
|
|
|
4199
|
-
const name$5 = '
|
|
4335
|
+
const name$5 = 'Hesta Super';
|
|
4200
4336
|
const fund$5 = {
|
|
4201
|
-
fundId: '
|
|
4337
|
+
fundId: 'hesta-default',
|
|
4202
4338
|
name: name$5,
|
|
4339
|
+
logo: 'logo-hesta.svg',
|
|
4340
|
+
route: SuperSelectionAppRoutes.PromotedFundJoinV2,
|
|
4341
|
+
features: [
|
|
4342
|
+
index.h("p", null, "A top-performing super fund* working for real-world impact"),
|
|
4343
|
+
index.h("p", null, "1+ million members"),
|
|
4344
|
+
index.h("p", null, "Expert help whenever you need it to help you face the future with confidence")
|
|
4345
|
+
],
|
|
4346
|
+
featureSubText: (index.h("span", null,
|
|
4347
|
+
"* SuperRatings 10 Year Platinum Performance 2013-2023 (MySuper). Product ratings and awards are only one factor to be considered. See",
|
|
4348
|
+
' ',
|
|
4349
|
+
index.h(Link, { className: "underline underline-offset-2 hover:text-gray-600", href: "https://www.hesta.com.au/ratings" }, "hesta.com.au/ratings"),
|
|
4350
|
+
' ',
|
|
4351
|
+
"for more information.")),
|
|
4352
|
+
disclaimer: (index.h("div", { class: "space-y-2" },
|
|
4353
|
+
index.h("p", null,
|
|
4354
|
+
"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",
|
|
4355
|
+
' ',
|
|
4356
|
+
index.h(Link, { href: "https://www.ato.gov.au/YourSuper-comparison-tool/" }, "ATO YourSuper comparison tool"),
|
|
4357
|
+
"."),
|
|
4358
|
+
index.h("p", null,
|
|
4359
|
+
"Visit",
|
|
4360
|
+
' ',
|
|
4361
|
+
index.h(Link, { onClick: () => pdsViewedAsync(name$5), href: "https://www.hesta.com.au/pds" }, "hesta.com.au/pds"),
|
|
4362
|
+
' ',
|
|
4363
|
+
"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",
|
|
4364
|
+
' ',
|
|
4365
|
+
index.h(Link, { href: "https://www.hesta.com.au/tmd" }, "hesta.com.au/tmd"),
|
|
4366
|
+
"."),
|
|
4367
|
+
index.h("p", null, "Issued by H.E.S.T. Australia Ltd ABN 66 006 818 695 AFSL No. 235249, Trustee of HESTA"))),
|
|
4368
|
+
footnoteTextOverride: Option.none,
|
|
4369
|
+
isPromotedDefault: true
|
|
4370
|
+
};
|
|
4371
|
+
|
|
4372
|
+
const name$6 = 'Mercer MyChoice';
|
|
4373
|
+
const fund$6 = {
|
|
4374
|
+
fundId: 'mercermychoice',
|
|
4375
|
+
name: name$6,
|
|
4203
4376
|
logo: 'logo-mercer-mychoice.svg',
|
|
4204
4377
|
route: SuperSelectionAppRoutes.PromotedFundJoinV2,
|
|
4205
4378
|
features: [
|
|
@@ -4211,7 +4384,7 @@ const fund$5 = {
|
|
|
4211
4384
|
index.h("p", null,
|
|
4212
4385
|
"You should consider the",
|
|
4213
4386
|
' ',
|
|
4214
|
-
index.h(Link, { href: "https://www.mercersuper.com.au/campaign-page/mercer-mychoice", onClick: () => pdsViewedAsync(name$
|
|
4387
|
+
index.h(Link, { href: "https://www.mercersuper.com.au/campaign-page/mercer-mychoice", onClick: () => pdsViewedAsync(name$6) }, "Product Disclosure Statement"),
|
|
4215
4388
|
' ',
|
|
4216
4389
|
"and",
|
|
4217
4390
|
' ',
|
|
@@ -4224,11 +4397,11 @@ const fund$5 = {
|
|
|
4224
4397
|
dtoPropName: 'mercerMyChoice'
|
|
4225
4398
|
};
|
|
4226
4399
|
|
|
4227
|
-
const name$
|
|
4400
|
+
const name$7 = 'Slate Super';
|
|
4228
4401
|
const slateUsi = '32367272075001';
|
|
4229
|
-
const fund$
|
|
4402
|
+
const fund$7 = {
|
|
4230
4403
|
fundId: 'slate',
|
|
4231
|
-
name: name$
|
|
4404
|
+
name: name$7,
|
|
4232
4405
|
logo: 'logo-slate.png',
|
|
4233
4406
|
route: SuperSelectionAppRoutes.SlateJoin,
|
|
4234
4407
|
features: [
|
|
@@ -4239,7 +4412,7 @@ const fund$6 = {
|
|
|
4239
4412
|
disclaimer: (index.h("p", { class: "small text-muted" },
|
|
4240
4413
|
"You should consider the",
|
|
4241
4414
|
' ',
|
|
4242
|
-
index.h(Link, { href: "https://slate.co/pds/?utm_source=flare&utm_medium=superselection", onClick: () => pdsViewedAsync(name$
|
|
4415
|
+
index.h(Link, { href: "https://slate.co/pds/?utm_source=flare&utm_medium=superselection", onClick: () => pdsViewedAsync(name$7, slateUsi) }, "Product Disclosure Statement"),
|
|
4243
4416
|
' ',
|
|
4244
4417
|
"and",
|
|
4245
4418
|
' ',
|
|
@@ -4252,10 +4425,10 @@ const fund$6 = {
|
|
|
4252
4425
|
dtoPropName: 'slate'
|
|
4253
4426
|
};
|
|
4254
4427
|
|
|
4255
|
-
const name$
|
|
4256
|
-
const fund$
|
|
4428
|
+
const name$8 = 'Spirit Super';
|
|
4429
|
+
const fund$8 = {
|
|
4257
4430
|
fundId: 'spirit',
|
|
4258
|
-
name: name$
|
|
4431
|
+
name: name$8,
|
|
4259
4432
|
logo: 'logo-spirit.svg',
|
|
4260
4433
|
route: SuperSelectionAppRoutes.PromotedFundJoinV2,
|
|
4261
4434
|
features: [
|
|
@@ -4284,17 +4457,17 @@ const fund$7 = {
|
|
|
4284
4457
|
disclaimer: (index.h("p", null,
|
|
4285
4458
|
"Past performance isn\u2019t a reliable indicator of future performance. Consider the PDS and TMD at",
|
|
4286
4459
|
' ',
|
|
4287
|
-
index.h(Link, { href: "https://www.spiritsuper.com.au/pds", onClick: () => pdsViewedAsync(name$
|
|
4460
|
+
index.h(Link, { href: "https://www.spiritsuper.com.au/pds", onClick: () => pdsViewedAsync(name$8) }, "www.spiritsuper.com.au/pds"),
|
|
4288
4461
|
' ',
|
|
4289
4462
|
"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).")),
|
|
4290
4463
|
footnoteTextOverride: Option.none,
|
|
4291
4464
|
dtoPropName: 'spirit'
|
|
4292
4465
|
};
|
|
4293
4466
|
|
|
4294
|
-
const name$
|
|
4295
|
-
const fund$
|
|
4467
|
+
const name$9 = 'Virgin Money Super';
|
|
4468
|
+
const fund$9 = {
|
|
4296
4469
|
fundId: 'virgin',
|
|
4297
|
-
name: name$
|
|
4470
|
+
name: name$9,
|
|
4298
4471
|
logo: 'logo-virgin.svg',
|
|
4299
4472
|
route: SuperSelectionAppRoutes.PromotedFundJoinV2,
|
|
4300
4473
|
features: [
|
|
@@ -4312,11 +4485,11 @@ const fund$8 = {
|
|
|
4312
4485
|
index.h("span", null, "Past performance is not a reliable indicator of future performance. Source: SuperRatings Fund Crediting Rate Survey April 2022.")),
|
|
4313
4486
|
index.h("li", null,
|
|
4314
4487
|
index.h("span", null,
|
|
4315
|
-
index.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")))))),
|
|
4488
|
+
index.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")))))),
|
|
4316
4489
|
disclaimer: (index.h("p", null,
|
|
4317
4490
|
"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",
|
|
4318
4491
|
' ',
|
|
4319
|
-
index.h(Link, { href: "https://virginmoney.com.au/superannuation/", onClick: () => pdsViewedAsync(name$
|
|
4492
|
+
index.h(Link, { href: "https://virginmoney.com.au/superannuation/", onClick: () => pdsViewedAsync(name$9) }, "www.virginmoney.com.au"),
|
|
4320
4493
|
' ',
|
|
4321
4494
|
"before making a decision")),
|
|
4322
4495
|
footnoteTextOverride: Option.some(PoweredByFlareFS),
|
|
@@ -4324,14 +4497,15 @@ const fund$8 = {
|
|
|
4324
4497
|
};
|
|
4325
4498
|
|
|
4326
4499
|
const fundsById = {
|
|
4327
|
-
[fund$
|
|
4500
|
+
[fund$7.fundId]: fund$7,
|
|
4328
4501
|
[fund$2.fundId]: fund$2,
|
|
4329
4502
|
[fund$3.fundId]: fund$3,
|
|
4330
4503
|
[fund.fundId]: fund,
|
|
4331
4504
|
[fund$1.fundId]: fund$1,
|
|
4505
|
+
[fund$9.fundId]: fund$9,
|
|
4332
4506
|
[fund$8.fundId]: fund$8,
|
|
4333
|
-
[fund$7.fundId]: fund$7,
|
|
4334
4507
|
[fund$4.fundId]: fund$4,
|
|
4508
|
+
[fund$6.fundId]: fund$6,
|
|
4335
4509
|
[fund$5.fundId]: fund$5
|
|
4336
4510
|
};
|
|
4337
4511
|
const allPromotedFunds = Object.values(fundsById);
|
|
@@ -4341,108 +4515,9 @@ const getFundByDtoPropName = (dtoPropName) => {
|
|
|
4341
4515
|
};
|
|
4342
4516
|
const getFundNameByFundId = (fundId) => fundsById[fundId] != undefined ? some(fundsById[fundId].name) : none;
|
|
4343
4517
|
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; };
|
|
4344
|
-
const getFundUsiByFundId = (fundId) => fundId == fund$
|
|
4518
|
+
const getFundUsiByFundId = (fundId) => fundId == fund$7.fundId ? some(slateUsi) : none;
|
|
4345
4519
|
const getLogoSrcByFundId = (fundId) => fundsById[fundId] != undefined ? some(index.getAssetPath(`assets/${fundsById[fundId].logo}`)) : none;
|
|
4346
4520
|
|
|
4347
|
-
function getPromotedFundUsi(dto) {
|
|
4348
|
-
if ('slate' in dto) {
|
|
4349
|
-
return none;
|
|
4350
|
-
}
|
|
4351
|
-
else if ('australianRetirementTrust' in dto) {
|
|
4352
|
-
return some(dto.australianRetirementTrust.usi);
|
|
4353
|
-
}
|
|
4354
|
-
else if ('aware' in dto) {
|
|
4355
|
-
return some(dto.aware.usi);
|
|
4356
|
-
}
|
|
4357
|
-
else if ('active' in dto) {
|
|
4358
|
-
return some(dto.active.usi);
|
|
4359
|
-
}
|
|
4360
|
-
else if ('australianEthical' in dto) {
|
|
4361
|
-
return some(dto.australianEthical.usi);
|
|
4362
|
-
}
|
|
4363
|
-
else if ('virgin' in dto) {
|
|
4364
|
-
return some(dto.virgin.usi);
|
|
4365
|
-
}
|
|
4366
|
-
else if ('spirit' in dto) {
|
|
4367
|
-
return some(dto.spirit.usi);
|
|
4368
|
-
}
|
|
4369
|
-
else if ('firstSuper' in dto) {
|
|
4370
|
-
return some(dto.firstSuper.usi);
|
|
4371
|
-
}
|
|
4372
|
-
else if ('mercerMyChoice' in dto) {
|
|
4373
|
-
return some(dto.mercerMyChoice.usi);
|
|
4374
|
-
}
|
|
4375
|
-
else {
|
|
4376
|
-
return none;
|
|
4377
|
-
}
|
|
4378
|
-
}
|
|
4379
|
-
function getSuperChoiceUsi(dto) {
|
|
4380
|
-
if ('promoted' in dto) {
|
|
4381
|
-
return getPromotedFundUsi(dto.promoted);
|
|
4382
|
-
}
|
|
4383
|
-
else if ('myOwnFund' in dto) {
|
|
4384
|
-
return some(dto.myOwnFund.usi);
|
|
4385
|
-
}
|
|
4386
|
-
else if ('smsf' in dto) {
|
|
4387
|
-
return none;
|
|
4388
|
-
}
|
|
4389
|
-
else if ('default' in dto) {
|
|
4390
|
-
return some(dto.default.usi);
|
|
4391
|
-
}
|
|
4392
|
-
else {
|
|
4393
|
-
return none;
|
|
4394
|
-
}
|
|
4395
|
-
}
|
|
4396
|
-
function getPromotedFundMemberNumber(dto) {
|
|
4397
|
-
if ('slate' in dto) {
|
|
4398
|
-
return some(dto.slate.memberNumber);
|
|
4399
|
-
}
|
|
4400
|
-
else if ('australianRetirementTrust' in dto) {
|
|
4401
|
-
return some(dto.australianRetirementTrust.memberNumber);
|
|
4402
|
-
}
|
|
4403
|
-
else if ('aware' in dto) {
|
|
4404
|
-
return some(dto.aware.memberNumber);
|
|
4405
|
-
}
|
|
4406
|
-
else if ('active' in dto) {
|
|
4407
|
-
return some(dto.active.memberNumber);
|
|
4408
|
-
}
|
|
4409
|
-
else if ('australianEthical' in dto) {
|
|
4410
|
-
return some(dto.australianEthical.memberNumber);
|
|
4411
|
-
}
|
|
4412
|
-
else if ('virgin' in dto) {
|
|
4413
|
-
return some(dto.virgin.memberNumber);
|
|
4414
|
-
}
|
|
4415
|
-
else if ('spirit' in dto) {
|
|
4416
|
-
return some(dto.spirit.memberNumber);
|
|
4417
|
-
}
|
|
4418
|
-
else if ('firstSuper' in dto) {
|
|
4419
|
-
return some(dto.firstSuper.memberNumber);
|
|
4420
|
-
}
|
|
4421
|
-
else if ('mercerMyChoice' in dto) {
|
|
4422
|
-
return some(dto.mercerMyChoice.memberNumber);
|
|
4423
|
-
}
|
|
4424
|
-
else {
|
|
4425
|
-
return none;
|
|
4426
|
-
}
|
|
4427
|
-
}
|
|
4428
|
-
function getSuperChoiceMemberNumber(dto) {
|
|
4429
|
-
if ('promoted' in dto) {
|
|
4430
|
-
return getPromotedFundMemberNumber(dto.promoted);
|
|
4431
|
-
}
|
|
4432
|
-
else if ('myOwnFund' in dto) {
|
|
4433
|
-
return some(dto.myOwnFund.memberNumber);
|
|
4434
|
-
}
|
|
4435
|
-
else if ('smsf' in dto) {
|
|
4436
|
-
return none;
|
|
4437
|
-
}
|
|
4438
|
-
else if ('default' in dto) {
|
|
4439
|
-
return none;
|
|
4440
|
-
}
|
|
4441
|
-
else {
|
|
4442
|
-
return none;
|
|
4443
|
-
}
|
|
4444
|
-
}
|
|
4445
|
-
|
|
4446
4521
|
class ExistingFundService {
|
|
4447
4522
|
async GetExistingFundAsync() {
|
|
4448
4523
|
var _a;
|
|
@@ -4455,53 +4530,67 @@ class ExistingFundService {
|
|
|
4455
4530
|
const dateSubmitted = choice.dateSubmitted == undefined ? none : some(new Date(choice.dateSubmitted));
|
|
4456
4531
|
const usi = getSuperChoiceUsi(choiceDetails);
|
|
4457
4532
|
const memberNumber = getSuperChoiceMemberNumber(choiceDetails);
|
|
4458
|
-
|
|
4459
|
-
|
|
4460
|
-
|
|
4461
|
-
|
|
4533
|
+
switch (choiceDetails.kind) {
|
|
4534
|
+
case 'Promoted': {
|
|
4535
|
+
const dtoPropName = Object.keys(choiceDetails.promoted)[0];
|
|
4536
|
+
const fund = getFundByDtoPropName(dtoPropName);
|
|
4537
|
+
if (isNone(fund))
|
|
4538
|
+
return none;
|
|
4539
|
+
return some({
|
|
4540
|
+
type: 'Promoted Fund',
|
|
4541
|
+
id: fund.value.fundId,
|
|
4542
|
+
name: fund.value.name,
|
|
4543
|
+
usi: usi,
|
|
4544
|
+
valid: 'Active',
|
|
4545
|
+
memberNumber: memberNumber,
|
|
4546
|
+
lastNominatedAt: dateSubmitted
|
|
4547
|
+
});
|
|
4548
|
+
}
|
|
4549
|
+
case 'MyOwnFund': {
|
|
4550
|
+
const fundUsi = choiceDetails.myOwnFund.usi;
|
|
4551
|
+
const fund = await this.getFundByUsiAsync(fundUsi);
|
|
4552
|
+
return some({
|
|
4553
|
+
type: 'My Own Fund',
|
|
4554
|
+
name: isSome(fund) ? fund.value.productName : fundUsi,
|
|
4555
|
+
usi: usi,
|
|
4556
|
+
valid: this.toFundValidState(fund),
|
|
4557
|
+
memberNumber: memberNumber,
|
|
4558
|
+
lastNominatedAt: dateSubmitted
|
|
4559
|
+
});
|
|
4560
|
+
}
|
|
4561
|
+
case 'SMSF':
|
|
4562
|
+
return some({
|
|
4563
|
+
type: 'Self Managed Fund',
|
|
4564
|
+
name: choiceDetails.smsf.fundName,
|
|
4565
|
+
valid: 'Unknown',
|
|
4566
|
+
lastNominatedAt: dateSubmitted
|
|
4567
|
+
});
|
|
4568
|
+
case 'Default': {
|
|
4569
|
+
const defaultUsi = choiceDetails.default.usi;
|
|
4570
|
+
const defaultFund = await this.getFundByUsiAsync(defaultUsi);
|
|
4571
|
+
return some({
|
|
4572
|
+
type: 'Default Fund',
|
|
4573
|
+
name: isSome(defaultFund) ? defaultFund.value.productName : defaultUsi,
|
|
4574
|
+
usi: usi,
|
|
4575
|
+
valid: this.toFundValidState(defaultFund),
|
|
4576
|
+
lastNominatedAt: dateSubmitted
|
|
4577
|
+
});
|
|
4578
|
+
}
|
|
4579
|
+
case 'PromotedDefault': {
|
|
4580
|
+
const defaultUsi = choiceDetails.promotedDefault.usi;
|
|
4581
|
+
const defaultFund = await this.getFundByUsiAsync(defaultUsi);
|
|
4582
|
+
return some({
|
|
4583
|
+
type: 'Promoted Default Fund',
|
|
4584
|
+
id: choiceDetails.promotedDefault.fundId,
|
|
4585
|
+
name: isSome(defaultFund) ? defaultFund.value.productName : defaultUsi,
|
|
4586
|
+
usi: usi,
|
|
4587
|
+
valid: this.toFundValidState(defaultFund),
|
|
4588
|
+
lastNominatedAt: dateSubmitted
|
|
4589
|
+
});
|
|
4590
|
+
}
|
|
4591
|
+
default:
|
|
4462
4592
|
return none;
|
|
4463
|
-
return some({
|
|
4464
|
-
type: 'Promoted Fund',
|
|
4465
|
-
id: fund.value.fundId,
|
|
4466
|
-
name: fund.value.name,
|
|
4467
|
-
usi: usi,
|
|
4468
|
-
valid: 'Active',
|
|
4469
|
-
memberNumber: memberNumber,
|
|
4470
|
-
lastNominatedAt: dateSubmitted
|
|
4471
|
-
});
|
|
4472
|
-
}
|
|
4473
|
-
else if ('smsf' in choiceDetails) {
|
|
4474
|
-
return some({
|
|
4475
|
-
type: 'Self Managed Fund',
|
|
4476
|
-
name: choiceDetails.smsf.fundName,
|
|
4477
|
-
valid: 'Unknown',
|
|
4478
|
-
lastNominatedAt: dateSubmitted
|
|
4479
|
-
});
|
|
4480
|
-
}
|
|
4481
|
-
else if ('myOwnFund' in choiceDetails) {
|
|
4482
|
-
const fundUsi = choiceDetails.myOwnFund.usi;
|
|
4483
|
-
const fund = await this.getFundByUsiAsync(fundUsi);
|
|
4484
|
-
return some({
|
|
4485
|
-
type: 'My Own Fund',
|
|
4486
|
-
name: isSome(fund) ? fund.value.productName : fundUsi,
|
|
4487
|
-
usi: usi,
|
|
4488
|
-
valid: this.toFundValidState(fund),
|
|
4489
|
-
memberNumber: memberNumber,
|
|
4490
|
-
lastNominatedAt: dateSubmitted
|
|
4491
|
-
});
|
|
4492
4593
|
}
|
|
4493
|
-
else if ('default' in choiceDetails) {
|
|
4494
|
-
const defaultUsi = choiceDetails.default.usi;
|
|
4495
|
-
const defaultFund = await this.getFundByUsiAsync(defaultUsi);
|
|
4496
|
-
return some({
|
|
4497
|
-
type: 'Default Fund',
|
|
4498
|
-
name: isSome(defaultFund) ? defaultFund.value.productName : defaultUsi,
|
|
4499
|
-
usi: usi,
|
|
4500
|
-
valid: this.toFundValidState(defaultFund),
|
|
4501
|
-
lastNominatedAt: dateSubmitted
|
|
4502
|
-
});
|
|
4503
|
-
}
|
|
4504
|
-
return none;
|
|
4505
4594
|
}
|
|
4506
4595
|
async submitRetainSuperFundAsync(dto) {
|
|
4507
4596
|
return buildBackendApiClient()
|
|
@@ -4581,6 +4670,7 @@ const ExistingChoice = class {
|
|
|
4581
4670
|
return (index.h("div", null, index.h("div", { class: "text-2xl sm:text-3xl font-bold text-center" }, "Your super choice"), index.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."), index.h("div", { class: "flex justify-center mt-8 sm:mt-12" }, index.h("div", { class: "max-w-400 w-full" }, index.h("div", { class: "flex-col border shadow-sm p-6 pt-8 rounded-lg text-center" }, index.h("div", { class: "space-y-4" }, (() => {
|
|
4582
4671
|
switch (this.existingFund.type) {
|
|
4583
4672
|
case 'Promoted Fund':
|
|
4673
|
+
case 'Promoted Default Fund':
|
|
4584
4674
|
return index.h(PromotedFundView, { id: this.existingFund.id });
|
|
4585
4675
|
case 'Self Managed Fund':
|
|
4586
4676
|
return index.h(SelfManagedFundView, null);
|
|
@@ -4588,13 +4678,20 @@ const ExistingChoice = class {
|
|
|
4588
4678
|
return index.h(MyOwnFundView, null);
|
|
4589
4679
|
case 'Default Fund':
|
|
4590
4680
|
return index.h(DefaultFundView, null);
|
|
4681
|
+
default:
|
|
4682
|
+
return index.h("div", null);
|
|
4591
4683
|
}
|
|
4592
4684
|
})(), index.h("div", { class: "sm:text-lg font-bold leading-6" }, (() => {
|
|
4593
4685
|
switch (this.existingFund.type) {
|
|
4594
4686
|
case 'Default Fund':
|
|
4595
4687
|
return "Employer's default fund";
|
|
4596
|
-
|
|
4688
|
+
case 'My Own Fund':
|
|
4689
|
+
case 'Promoted Fund':
|
|
4690
|
+
case 'Self Managed Fund':
|
|
4691
|
+
case 'Promoted Default Fund':
|
|
4597
4692
|
return this.existingFund.name;
|
|
4693
|
+
default:
|
|
4694
|
+
return '';
|
|
4598
4695
|
}
|
|
4599
4696
|
})())), index.h("div", { class: "mt-6" }, index.h("sss-button", { fillWidth: true, promiseFn: () => this.handleFundNominationAccepted() }, "Continue with this fund"))), index.h("div", { class: "mt-4" }, index.h("sss-button", { fillWidth: true, variant: "secondary", promiseFn: () => this.handleFundNominationDeclined() }, "Choose another fund"))))));
|
|
4600
4697
|
}
|
|
@@ -5013,7 +5110,8 @@ class PromotedFundJoinV2IFrameBuilder {
|
|
|
5013
5110
|
navigationService.navigateInternally(history, SuperSelectionAppRoutes.ChoicePage);
|
|
5014
5111
|
break;
|
|
5015
5112
|
case 'success':
|
|
5016
|
-
if (
|
|
5113
|
+
if (state$2.isPromotedDefault ||
|
|
5114
|
+
(!state$2.isPromotedDefault && data.memberNumber)) {
|
|
5017
5115
|
const promotedFundId = state$2.fundId;
|
|
5018
5116
|
const fundName = getFundNameByFundId(promotedFundId);
|
|
5019
5117
|
navigationService.navigateInternallyToStandardChoice({
|
|
@@ -5516,9 +5614,9 @@ class SlateIFrameBuilder {
|
|
|
5516
5614
|
if (data.memberNumber) {
|
|
5517
5615
|
navigationService.navigateInternallyToStandardChoice({
|
|
5518
5616
|
history,
|
|
5519
|
-
fundName: fund$
|
|
5617
|
+
fundName: fund$7.name,
|
|
5520
5618
|
handleSubmitFn: (standardChoiceFormSignature) => slateChoiceApi.submitSlateChoiceAsync(Object.assign({ memberNumber: data.memberNumber, memberFirstName: data.memberFirstName, memberFamilyName: data.memberFamilyName, standardChoiceFormSignature, defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi) }, superSelectionAppService.promotedFundsConfig)),
|
|
5521
|
-
promotedFundId: fund$
|
|
5619
|
+
promotedFundId: fund$7.fundId
|
|
5522
5620
|
});
|
|
5523
5621
|
break;
|
|
5524
5622
|
}
|
|
@@ -5660,7 +5758,7 @@ const SuperChoiceItemBottom = class {
|
|
|
5660
5758
|
this.joinFundClicked = index.createEvent(this, "joinFundClicked", 7);
|
|
5661
5759
|
}
|
|
5662
5760
|
render() {
|
|
5663
|
-
return (index.h(index.Host, null, index.h("div", { class: "py-6 px-4
|
|
5761
|
+
return (index.h(index.Host, null, index.h("div", { class: "py-6 px-4 flex flex-col justify-between h-full" }, index.h("div", null, index.h("div", { class: { 'md:max-w-[240px]': true, 'lg:max-w-full': this.isMultiFund } }, index.h("sss-button", { class: "uuid-button-continue", fillWidth: true, onClick: () => this.handleFundClick() }, "Choose this fund")), index.h("div", { class: "text-xs text-gray-500 mt-6 leading-4" }, this.disclaimer)), this.abnInfo && this.abn && (index.h("div", { class: "text-xs text-gray-500 mt-2" }, index.h("p", null, "Issued by ", this.abnInfo, "."), index.h("p", null, "ABN: ", this.abn))))));
|
|
5664
5762
|
}
|
|
5665
5763
|
handleFundClick() {
|
|
5666
5764
|
return this.joinFundClicked.emit();
|
|
@@ -5672,7 +5770,13 @@ const SuperChoiceItemTop = class {
|
|
|
5672
5770
|
index.registerInstance(this, hostRef);
|
|
5673
5771
|
}
|
|
5674
5772
|
render() {
|
|
5675
|
-
return (index.h(index.Host, null, index.h("div", { class: "px-4
|
|
5773
|
+
return (index.h(index.Host, null, index.h("div", { class: "px-4 pt-6" }, index.h("div", { class: "text-right w-100 -mt-5 -mr-3.5 lg:-mr-5" }, this.isPromotedDefault && (index.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")), index.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")), index.h("div", { class: { 'flex lg:block mt-2 md:mt-0': true, 'lg:mt-4': this.isMultiFund } }, index.h("img", { class: {
|
|
5774
|
+
'h-12 md:h-14 lg:h-16 object-contain w-[80px] md:w-[96px] lg:w-[140px] md:hidden lg:object-left': true,
|
|
5775
|
+
'lg:block': this.isMultiFund
|
|
5776
|
+
}, alt: this.name, src: index.getAssetPath(`assets/${this.logo}`) }), index.h("div", { class: "grid content-center" }, index.h("p", { class: {
|
|
5777
|
+
'text-base md:text-lg font-bold ml-4 md:ml-0 md:mb-0': true,
|
|
5778
|
+
'lg:mt-4': this.isMultiFund
|
|
5779
|
+
} }, this.name))), index.h("div", { class: "mt-4 sm:mt-2 text-sm space-y-2" }, this.features.map((feature) => (index.h("div", { class: "flex" }, index.h("div", { class: "h-5 w-5 flex-none mr-1.5" }, index.h("img", { alt: "checked", src: index.getAssetPath(`assets/icon-check.svg`) })), index.h("div", { class: "leading-5" }, feature))))), this.featureSubText && (index.h("p", { class: "text-xs text-gray-500 italic mt-4 leading-4" }, this.featureSubText)))));
|
|
5676
5780
|
}
|
|
5677
5781
|
};
|
|
5678
5782
|
|
|
@@ -5707,9 +5811,10 @@ const SuperChoicePage = class {
|
|
|
5707
5811
|
if (this.campaignConnectRequestInProgress) {
|
|
5708
5812
|
return (index.h("div", { class: "w-[327px] sm:w-full bg-white flex flex-col items-center" }, index.h("div", { class: "w-full sm:w-[440px] h-9 bg-gray-200 animate-pulse rounded" }), index.h("div", { class: "mt-6 w-full sm:w-[720px] h-6 bg-gray-200 animate-pulse rounded" }), index.h("div", { class: "mt-2 w-[220px] sm:w-[560px] h-6 bg-gray-200 animate-pulse rounded" }), index.h("div", { class: "mt-10 w-full sm:w-[560px] h-80 bg-gray-200 animate-pulse rounded" }), index.h("div", { class: "mt-10 w-full sm:w-[200px] h-11 bg-gray-200 animate-pulse rounded" })));
|
|
5709
5813
|
}
|
|
5814
|
+
const isMultiFund = this.promotedFunds.length > 1;
|
|
5710
5815
|
return (index.h(index.Host, null, index.h("div", null, index.h("sss-header-section", { currentPage: "choice" }), index.h("div", { class: "mt-8 text-sm text-center leading-6" }, index.h("p", { class: "leading-6" }, "Not ready to join a new fund, or want to nominate another super fund?"), index.h("stencil-route-link", { url: SuperSelectionAppRoutes.MyOwnFund }, index.h("span", { class: "inline-block text-primary-base font-medium mt-3" }, "Skip Featured Funds\u00A0", index.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" }, index.h("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "M17.25 8.25L21 12m0 0l-3.75 3.75M21 12H3" }))))), index.h("div", { class: "flex justify-center mt-8" }, index.h("div", { class: {
|
|
5711
5816
|
'lg:grid border-l border-t lg:border-b rounded-lg': true,
|
|
5712
|
-
'lg:grid-cols-1 max-w-
|
|
5817
|
+
'lg:grid-cols-1 max-w-720': this.promotedFunds.length === 1,
|
|
5713
5818
|
'lg:grid-cols-2 max-w-720': this.promotedFunds.length === 2,
|
|
5714
5819
|
'lg:grid-cols-3 max-w-960': this.promotedFunds.length === 3
|
|
5715
5820
|
} }, this.promotedFunds.map((fund, index$1) => (index.h("div", { class: {
|
|
@@ -5720,10 +5825,14 @@ const SuperChoicePage = class {
|
|
|
5720
5825
|
} }, index.h("div", { class: {
|
|
5721
5826
|
'flex border-b lg:border-b-0': true,
|
|
5722
5827
|
'rounded-b-lg': index$1 === this.promotedFunds.length - 1
|
|
5723
|
-
} }, index.h("div", { class:
|
|
5724
|
-
'hidden
|
|
5828
|
+
} }, index.h("div", { class: {
|
|
5829
|
+
'hidden md:flex w-36 justify-center pt-6 pl-6': true,
|
|
5830
|
+
'lg:hidden': isMultiFund
|
|
5831
|
+
} }, index.h("img", { class: "h-16 object-contain w-full max-w-[96px]", alt: fund.name, src: index.getAssetPath(`assets/${fund.logo}`) })), index.h("div", { class: "w-full" }, index.h("sss-super-choice-item-top", { logo: fund.logo, name: fund.name, features: fund.features, featureSubText: fund.featureSubText, isMultiFund: isMultiFund, isPromotedDefault: fund.isPromotedDefault }), index.h("div", { class: { 'lg:hidden': isMultiFund } }, index.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$1) => (index.h("div", { class: {
|
|
5832
|
+
'hidden border-r': true,
|
|
5833
|
+
'lg:block': isMultiFund,
|
|
5725
5834
|
'rounded-br-lg': index$1 === this.promotedFunds.length - 1
|
|
5726
|
-
} }, index.h("sss-super-choice-item-bottom", { disclaimer: fund.disclaimer, abnInfo: fund.abnInfo, abn: fund.abn, onJoinFundClicked: async () => this.handleJoinSuperClickAsync(fund) })))))), index.h("div", { class: "flex justify-center mt-8 sm:mt-12" }, index.h("div", { class: "pb-8 sm:pb-12 max-w-720 border-b" }, index.h("h5", { class: "font-bold sm:text-lg" }, "Or, choose another super fund:"), index.h("ul", { class: "list-disc list-outside ml-6 mt-3 mb-6 space-y-2 leading-6 text-sm sm:text-base" }, index.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."), index.h("li", null, "If you are unsure of your current super fund details, you can find out at", ' ', index.h("a", { class: "text-primary-base font-medium hover:text-primary-hover", target: "_blank", href: navigationService.toExternalUrl(mygovLink) }, mygovLinkDisplay)), index.h("li", null, "A full list of super funds can be viewed at", ' ', index.h("a", { class: "text-primary-base font-medium hover:text-primary-hover", target: "_blank", href: navigationService.toExternalUrl(superfundsLink) }, superfundsLinkDisplay))), index.h("stencil-route-link", { url: SuperSelectionAppRoutes.MyOwnFund }, index.h("sss-button", { fillWidthOnMobile: true }, "Choose another super fund")))), index.h("div", { class: "flex justify-center" }, index.h("div", { class: "pt-8 sm:pt-12 max-w-720" }, index.h("h5", { class: "font-semibold" }, "IMPORTANT INFORMATION:"), index.h("ul", { class: "list-disc list-outside ml-6 mt-3 space-y-2 text-sm leading-6" }, index.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."), index.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."), index.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."), index.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."), index.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).")))))));
|
|
5835
|
+
} }, index.h("sss-super-choice-item-bottom", { disclaimer: fund.disclaimer, abnInfo: fund.abnInfo, abn: fund.abn, isMultiFund: isMultiFund, onJoinFundClicked: async () => this.handleJoinSuperClickAsync(fund) })))))), index.h("div", { class: "flex justify-center mt-8 sm:mt-12" }, index.h("div", { class: "pb-8 sm:pb-12 max-w-720 border-b" }, index.h("h5", { class: "font-bold sm:text-lg" }, "Or, choose another super fund:"), index.h("ul", { class: "list-disc list-outside ml-6 mt-3 mb-6 space-y-2 leading-6 text-sm sm:text-base" }, index.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."), index.h("li", null, "If you are unsure of your current super fund details, you can find out at", ' ', index.h("a", { class: "text-primary-base font-medium hover:text-primary-hover", target: "_blank", href: navigationService.toExternalUrl(mygovLink) }, mygovLinkDisplay)), index.h("li", null, "A full list of super funds can be viewed at", ' ', index.h("a", { class: "text-primary-base font-medium hover:text-primary-hover", target: "_blank", href: navigationService.toExternalUrl(superfundsLink) }, superfundsLinkDisplay))), index.h("stencil-route-link", { url: SuperSelectionAppRoutes.MyOwnFund }, index.h("sss-button", { fillWidthOnMobile: true }, "Choose another super fund")))), index.h("div", { class: "flex justify-center" }, index.h("div", { class: "pt-8 sm:pt-12 max-w-720" }, index.h("h5", { class: "font-semibold" }, "IMPORTANT INFORMATION:"), index.h("ul", { class: "list-disc list-outside ml-6 mt-3 space-y-2 text-sm leading-6" }, index.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."), index.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."), index.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."), index.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."), index.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).")))))));
|
|
5727
5836
|
}
|
|
5728
5837
|
getPromotedFunds() {
|
|
5729
5838
|
const fundTiles = [];
|
|
@@ -17174,6 +17283,8 @@ const SuperSelectionAppHost = class {
|
|
|
17174
17283
|
return () => index.h("sss-loading-page", null);
|
|
17175
17284
|
case AuthenticationState.Error:
|
|
17176
17285
|
return () => index.h("h1", null, "Authentication Error");
|
|
17286
|
+
default:
|
|
17287
|
+
return () => index.h("h1", null, "Authentication Error");
|
|
17177
17288
|
}
|
|
17178
17289
|
}
|
|
17179
17290
|
};
|