@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
|
@@ -260,7 +260,7 @@ class TapSubscriber extends Subscriber {
|
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
-
const AppVersion = '4.
|
|
263
|
+
const AppVersion = '4.30.31017';
|
|
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,17 +3418,27 @@ class SuperSelectionApi {
|
|
|
3293
3418
|
.json();
|
|
3294
3419
|
}
|
|
3295
3420
|
async getAppStateAsync() {
|
|
3296
|
-
|
|
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()
|
|
3306
|
-
.url('
|
|
3441
|
+
.url('campaign-connect')
|
|
3307
3442
|
.get()
|
|
3308
3443
|
.notFound(() => {
|
|
3309
3444
|
throw new Error('Failed to fetch campaign connect.');
|
|
@@ -3436,6 +3571,7 @@ class SuperSelectionAppService {
|
|
|
3436
3571
|
this._state.profileConfiguration = Option.fromNullable(appStateResponse.profileConfiguration);
|
|
3437
3572
|
this._state.superBuyer = Option.fromNullable(appStateResponse.superBuyer);
|
|
3438
3573
|
this._state.promotedFunds = Option.fromNullable(appStateResponse.promotedFunds);
|
|
3574
|
+
this._state.campaignConnectEnabled = appStateResponse.campaignConnectEnabled;
|
|
3439
3575
|
if (this._state.campaignConnectEnabled) {
|
|
3440
3576
|
this._state.campaignConnectPromise = Option.fromNullable(superSelectionApi.getCampaignConnectAsync());
|
|
3441
3577
|
}
|
|
@@ -4046,7 +4182,7 @@ const SelectInputAsync = class {
|
|
|
4046
4182
|
SelectInputAsync.style = dropdownAsyncCss;
|
|
4047
4183
|
|
|
4048
4184
|
const Link = (props, children) => {
|
|
4049
|
-
return (h("a", { class: props.className || 'font-medium underline hover:text-gray-600', target: "_blank", href: navigationService.toExternalUrl(props.href), onClick: props.onClick }, children));
|
|
4185
|
+
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));
|
|
4050
4186
|
};
|
|
4051
4187
|
const PoweredByFlareFS = 'Powered by Flare FS';
|
|
4052
4188
|
function pdsViewedAsync(name, usi) {
|
|
@@ -4192,10 +4328,47 @@ const fund$4 = {
|
|
|
4192
4328
|
dtoPropName: 'firstSuper'
|
|
4193
4329
|
};
|
|
4194
4330
|
|
|
4195
|
-
const name$5 = '
|
|
4331
|
+
const name$5 = 'Hesta Super';
|
|
4196
4332
|
const fund$5 = {
|
|
4197
|
-
fundId: '
|
|
4333
|
+
fundId: 'hesta-default',
|
|
4198
4334
|
name: name$5,
|
|
4335
|
+
logo: 'logo-hesta.svg',
|
|
4336
|
+
route: SuperSelectionAppRoutes.PromotedFundJoinV2,
|
|
4337
|
+
features: [
|
|
4338
|
+
h("p", null, "A top-performing super fund* working for real-world impact"),
|
|
4339
|
+
h("p", null, "1+ million members"),
|
|
4340
|
+
h("p", null, "Expert help whenever you need it to help you face the future with confidence")
|
|
4341
|
+
],
|
|
4342
|
+
featureSubText: (h("span", null,
|
|
4343
|
+
"* SuperRatings 10 Year Platinum Performance 2013-2023 (MySuper). Product ratings and awards are only one factor to be considered. See",
|
|
4344
|
+
' ',
|
|
4345
|
+
h(Link, { className: "underline underline-offset-2 hover:text-gray-600", href: "https://www.hesta.com.au/ratings" }, "hesta.com.au/ratings"),
|
|
4346
|
+
' ',
|
|
4347
|
+
"for more information.")),
|
|
4348
|
+
disclaimer: (h("div", { class: "space-y-2" },
|
|
4349
|
+
h("p", null,
|
|
4350
|
+
"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",
|
|
4351
|
+
' ',
|
|
4352
|
+
h(Link, { href: "https://www.ato.gov.au/YourSuper-comparison-tool/" }, "ATO YourSuper comparison tool"),
|
|
4353
|
+
"."),
|
|
4354
|
+
h("p", null,
|
|
4355
|
+
"Visit",
|
|
4356
|
+
' ',
|
|
4357
|
+
h(Link, { onClick: () => pdsViewedAsync(name$5), href: "https://www.hesta.com.au/pds" }, "hesta.com.au/pds"),
|
|
4358
|
+
' ',
|
|
4359
|
+
"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",
|
|
4360
|
+
' ',
|
|
4361
|
+
h(Link, { href: "https://www.hesta.com.au/tmd" }, "hesta.com.au/tmd"),
|
|
4362
|
+
"."),
|
|
4363
|
+
h("p", null, "Issued by H.E.S.T. Australia Ltd ABN 66 006 818 695 AFSL No. 235249, Trustee of HESTA"))),
|
|
4364
|
+
footnoteTextOverride: Option.none,
|
|
4365
|
+
isPromotedDefault: true
|
|
4366
|
+
};
|
|
4367
|
+
|
|
4368
|
+
const name$6 = 'Mercer MyChoice';
|
|
4369
|
+
const fund$6 = {
|
|
4370
|
+
fundId: 'mercermychoice',
|
|
4371
|
+
name: name$6,
|
|
4199
4372
|
logo: 'logo-mercer-mychoice.svg',
|
|
4200
4373
|
route: SuperSelectionAppRoutes.PromotedFundJoinV2,
|
|
4201
4374
|
features: [
|
|
@@ -4207,7 +4380,7 @@ const fund$5 = {
|
|
|
4207
4380
|
h("p", null,
|
|
4208
4381
|
"You should consider the",
|
|
4209
4382
|
' ',
|
|
4210
|
-
h(Link, { href: "https://www.mercersuper.com.au/campaign-page/mercer-mychoice", onClick: () => pdsViewedAsync(name$
|
|
4383
|
+
h(Link, { href: "https://www.mercersuper.com.au/campaign-page/mercer-mychoice", onClick: () => pdsViewedAsync(name$6) }, "Product Disclosure Statement"),
|
|
4211
4384
|
' ',
|
|
4212
4385
|
"and",
|
|
4213
4386
|
' ',
|
|
@@ -4220,11 +4393,11 @@ const fund$5 = {
|
|
|
4220
4393
|
dtoPropName: 'mercerMyChoice'
|
|
4221
4394
|
};
|
|
4222
4395
|
|
|
4223
|
-
const name$
|
|
4396
|
+
const name$7 = 'Slate Super';
|
|
4224
4397
|
const slateUsi = '32367272075001';
|
|
4225
|
-
const fund$
|
|
4398
|
+
const fund$7 = {
|
|
4226
4399
|
fundId: 'slate',
|
|
4227
|
-
name: name$
|
|
4400
|
+
name: name$7,
|
|
4228
4401
|
logo: 'logo-slate.png',
|
|
4229
4402
|
route: SuperSelectionAppRoutes.SlateJoin,
|
|
4230
4403
|
features: [
|
|
@@ -4235,7 +4408,7 @@ const fund$6 = {
|
|
|
4235
4408
|
disclaimer: (h("p", { class: "small text-muted" },
|
|
4236
4409
|
"You should consider the",
|
|
4237
4410
|
' ',
|
|
4238
|
-
h(Link, { href: "https://slate.co/pds/?utm_source=flare&utm_medium=superselection", onClick: () => pdsViewedAsync(name$
|
|
4411
|
+
h(Link, { href: "https://slate.co/pds/?utm_source=flare&utm_medium=superselection", onClick: () => pdsViewedAsync(name$7, slateUsi) }, "Product Disclosure Statement"),
|
|
4239
4412
|
' ',
|
|
4240
4413
|
"and",
|
|
4241
4414
|
' ',
|
|
@@ -4248,10 +4421,10 @@ const fund$6 = {
|
|
|
4248
4421
|
dtoPropName: 'slate'
|
|
4249
4422
|
};
|
|
4250
4423
|
|
|
4251
|
-
const name$
|
|
4252
|
-
const fund$
|
|
4424
|
+
const name$8 = 'Spirit Super';
|
|
4425
|
+
const fund$8 = {
|
|
4253
4426
|
fundId: 'spirit',
|
|
4254
|
-
name: name$
|
|
4427
|
+
name: name$8,
|
|
4255
4428
|
logo: 'logo-spirit.svg',
|
|
4256
4429
|
route: SuperSelectionAppRoutes.PromotedFundJoinV2,
|
|
4257
4430
|
features: [
|
|
@@ -4280,17 +4453,17 @@ const fund$7 = {
|
|
|
4280
4453
|
disclaimer: (h("p", null,
|
|
4281
4454
|
"Past performance isn\u2019t a reliable indicator of future performance. Consider the PDS and TMD at",
|
|
4282
4455
|
' ',
|
|
4283
|
-
h(Link, { href: "https://www.spiritsuper.com.au/pds", onClick: () => pdsViewedAsync(name$
|
|
4456
|
+
h(Link, { href: "https://www.spiritsuper.com.au/pds", onClick: () => pdsViewedAsync(name$8) }, "www.spiritsuper.com.au/pds"),
|
|
4284
4457
|
' ',
|
|
4285
4458
|
"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).")),
|
|
4286
4459
|
footnoteTextOverride: Option.none,
|
|
4287
4460
|
dtoPropName: 'spirit'
|
|
4288
4461
|
};
|
|
4289
4462
|
|
|
4290
|
-
const name$
|
|
4291
|
-
const fund$
|
|
4463
|
+
const name$9 = 'Virgin Money Super';
|
|
4464
|
+
const fund$9 = {
|
|
4292
4465
|
fundId: 'virgin',
|
|
4293
|
-
name: name$
|
|
4466
|
+
name: name$9,
|
|
4294
4467
|
logo: 'logo-virgin.svg',
|
|
4295
4468
|
route: SuperSelectionAppRoutes.PromotedFundJoinV2,
|
|
4296
4469
|
features: [
|
|
@@ -4308,11 +4481,11 @@ const fund$8 = {
|
|
|
4308
4481
|
h("span", null, "Past performance is not a reliable indicator of future performance. Source: SuperRatings Fund Crediting Rate Survey April 2022.")),
|
|
4309
4482
|
h("li", null,
|
|
4310
4483
|
h("span", null,
|
|
4311
|
-
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")))))),
|
|
4484
|
+
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")))))),
|
|
4312
4485
|
disclaimer: (h("p", null,
|
|
4313
4486
|
"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",
|
|
4314
4487
|
' ',
|
|
4315
|
-
h(Link, { href: "https://virginmoney.com.au/superannuation/", onClick: () => pdsViewedAsync(name$
|
|
4488
|
+
h(Link, { href: "https://virginmoney.com.au/superannuation/", onClick: () => pdsViewedAsync(name$9) }, "www.virginmoney.com.au"),
|
|
4316
4489
|
' ',
|
|
4317
4490
|
"before making a decision")),
|
|
4318
4491
|
footnoteTextOverride: Option.some(PoweredByFlareFS),
|
|
@@ -4320,14 +4493,15 @@ const fund$8 = {
|
|
|
4320
4493
|
};
|
|
4321
4494
|
|
|
4322
4495
|
const fundsById = {
|
|
4323
|
-
[fund$
|
|
4496
|
+
[fund$7.fundId]: fund$7,
|
|
4324
4497
|
[fund$2.fundId]: fund$2,
|
|
4325
4498
|
[fund$3.fundId]: fund$3,
|
|
4326
4499
|
[fund.fundId]: fund,
|
|
4327
4500
|
[fund$1.fundId]: fund$1,
|
|
4501
|
+
[fund$9.fundId]: fund$9,
|
|
4328
4502
|
[fund$8.fundId]: fund$8,
|
|
4329
|
-
[fund$7.fundId]: fund$7,
|
|
4330
4503
|
[fund$4.fundId]: fund$4,
|
|
4504
|
+
[fund$6.fundId]: fund$6,
|
|
4331
4505
|
[fund$5.fundId]: fund$5
|
|
4332
4506
|
};
|
|
4333
4507
|
const allPromotedFunds = Object.values(fundsById);
|
|
@@ -4337,108 +4511,9 @@ const getFundByDtoPropName = (dtoPropName) => {
|
|
|
4337
4511
|
};
|
|
4338
4512
|
const getFundNameByFundId = (fundId) => fundsById[fundId] != undefined ? some(fundsById[fundId].name) : none;
|
|
4339
4513
|
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; };
|
|
4340
|
-
const getFundUsiByFundId = (fundId) => fundId == fund$
|
|
4514
|
+
const getFundUsiByFundId = (fundId) => fundId == fund$7.fundId ? some(slateUsi) : none;
|
|
4341
4515
|
const getLogoSrcByFundId = (fundId) => fundsById[fundId] != undefined ? some(getAssetPath(`assets/${fundsById[fundId].logo}`)) : none;
|
|
4342
4516
|
|
|
4343
|
-
function getPromotedFundUsi(dto) {
|
|
4344
|
-
if ('slate' in dto) {
|
|
4345
|
-
return none;
|
|
4346
|
-
}
|
|
4347
|
-
else if ('australianRetirementTrust' in dto) {
|
|
4348
|
-
return some(dto.australianRetirementTrust.usi);
|
|
4349
|
-
}
|
|
4350
|
-
else if ('aware' in dto) {
|
|
4351
|
-
return some(dto.aware.usi);
|
|
4352
|
-
}
|
|
4353
|
-
else if ('active' in dto) {
|
|
4354
|
-
return some(dto.active.usi);
|
|
4355
|
-
}
|
|
4356
|
-
else if ('australianEthical' in dto) {
|
|
4357
|
-
return some(dto.australianEthical.usi);
|
|
4358
|
-
}
|
|
4359
|
-
else if ('virgin' in dto) {
|
|
4360
|
-
return some(dto.virgin.usi);
|
|
4361
|
-
}
|
|
4362
|
-
else if ('spirit' in dto) {
|
|
4363
|
-
return some(dto.spirit.usi);
|
|
4364
|
-
}
|
|
4365
|
-
else if ('firstSuper' in dto) {
|
|
4366
|
-
return some(dto.firstSuper.usi);
|
|
4367
|
-
}
|
|
4368
|
-
else if ('mercerMyChoice' in dto) {
|
|
4369
|
-
return some(dto.mercerMyChoice.usi);
|
|
4370
|
-
}
|
|
4371
|
-
else {
|
|
4372
|
-
return none;
|
|
4373
|
-
}
|
|
4374
|
-
}
|
|
4375
|
-
function getSuperChoiceUsi(dto) {
|
|
4376
|
-
if ('promoted' in dto) {
|
|
4377
|
-
return getPromotedFundUsi(dto.promoted);
|
|
4378
|
-
}
|
|
4379
|
-
else if ('myOwnFund' in dto) {
|
|
4380
|
-
return some(dto.myOwnFund.usi);
|
|
4381
|
-
}
|
|
4382
|
-
else if ('smsf' in dto) {
|
|
4383
|
-
return none;
|
|
4384
|
-
}
|
|
4385
|
-
else if ('default' in dto) {
|
|
4386
|
-
return some(dto.default.usi);
|
|
4387
|
-
}
|
|
4388
|
-
else {
|
|
4389
|
-
return none;
|
|
4390
|
-
}
|
|
4391
|
-
}
|
|
4392
|
-
function getPromotedFundMemberNumber(dto) {
|
|
4393
|
-
if ('slate' in dto) {
|
|
4394
|
-
return some(dto.slate.memberNumber);
|
|
4395
|
-
}
|
|
4396
|
-
else if ('australianRetirementTrust' in dto) {
|
|
4397
|
-
return some(dto.australianRetirementTrust.memberNumber);
|
|
4398
|
-
}
|
|
4399
|
-
else if ('aware' in dto) {
|
|
4400
|
-
return some(dto.aware.memberNumber);
|
|
4401
|
-
}
|
|
4402
|
-
else if ('active' in dto) {
|
|
4403
|
-
return some(dto.active.memberNumber);
|
|
4404
|
-
}
|
|
4405
|
-
else if ('australianEthical' in dto) {
|
|
4406
|
-
return some(dto.australianEthical.memberNumber);
|
|
4407
|
-
}
|
|
4408
|
-
else if ('virgin' in dto) {
|
|
4409
|
-
return some(dto.virgin.memberNumber);
|
|
4410
|
-
}
|
|
4411
|
-
else if ('spirit' in dto) {
|
|
4412
|
-
return some(dto.spirit.memberNumber);
|
|
4413
|
-
}
|
|
4414
|
-
else if ('firstSuper' in dto) {
|
|
4415
|
-
return some(dto.firstSuper.memberNumber);
|
|
4416
|
-
}
|
|
4417
|
-
else if ('mercerMyChoice' in dto) {
|
|
4418
|
-
return some(dto.mercerMyChoice.memberNumber);
|
|
4419
|
-
}
|
|
4420
|
-
else {
|
|
4421
|
-
return none;
|
|
4422
|
-
}
|
|
4423
|
-
}
|
|
4424
|
-
function getSuperChoiceMemberNumber(dto) {
|
|
4425
|
-
if ('promoted' in dto) {
|
|
4426
|
-
return getPromotedFundMemberNumber(dto.promoted);
|
|
4427
|
-
}
|
|
4428
|
-
else if ('myOwnFund' in dto) {
|
|
4429
|
-
return some(dto.myOwnFund.memberNumber);
|
|
4430
|
-
}
|
|
4431
|
-
else if ('smsf' in dto) {
|
|
4432
|
-
return none;
|
|
4433
|
-
}
|
|
4434
|
-
else if ('default' in dto) {
|
|
4435
|
-
return none;
|
|
4436
|
-
}
|
|
4437
|
-
else {
|
|
4438
|
-
return none;
|
|
4439
|
-
}
|
|
4440
|
-
}
|
|
4441
|
-
|
|
4442
4517
|
class ExistingFundService {
|
|
4443
4518
|
async GetExistingFundAsync() {
|
|
4444
4519
|
var _a;
|
|
@@ -4451,53 +4526,67 @@ class ExistingFundService {
|
|
|
4451
4526
|
const dateSubmitted = choice.dateSubmitted == undefined ? none : some(new Date(choice.dateSubmitted));
|
|
4452
4527
|
const usi = getSuperChoiceUsi(choiceDetails);
|
|
4453
4528
|
const memberNumber = getSuperChoiceMemberNumber(choiceDetails);
|
|
4454
|
-
|
|
4455
|
-
|
|
4456
|
-
|
|
4457
|
-
|
|
4529
|
+
switch (choiceDetails.kind) {
|
|
4530
|
+
case 'Promoted': {
|
|
4531
|
+
const dtoPropName = Object.keys(choiceDetails.promoted)[0];
|
|
4532
|
+
const fund = getFundByDtoPropName(dtoPropName);
|
|
4533
|
+
if (isNone(fund))
|
|
4534
|
+
return none;
|
|
4535
|
+
return some({
|
|
4536
|
+
type: 'Promoted Fund',
|
|
4537
|
+
id: fund.value.fundId,
|
|
4538
|
+
name: fund.value.name,
|
|
4539
|
+
usi: usi,
|
|
4540
|
+
valid: 'Active',
|
|
4541
|
+
memberNumber: memberNumber,
|
|
4542
|
+
lastNominatedAt: dateSubmitted
|
|
4543
|
+
});
|
|
4544
|
+
}
|
|
4545
|
+
case 'MyOwnFund': {
|
|
4546
|
+
const fundUsi = choiceDetails.myOwnFund.usi;
|
|
4547
|
+
const fund = await this.getFundByUsiAsync(fundUsi);
|
|
4548
|
+
return some({
|
|
4549
|
+
type: 'My Own Fund',
|
|
4550
|
+
name: isSome(fund) ? fund.value.productName : fundUsi,
|
|
4551
|
+
usi: usi,
|
|
4552
|
+
valid: this.toFundValidState(fund),
|
|
4553
|
+
memberNumber: memberNumber,
|
|
4554
|
+
lastNominatedAt: dateSubmitted
|
|
4555
|
+
});
|
|
4556
|
+
}
|
|
4557
|
+
case 'SMSF':
|
|
4558
|
+
return some({
|
|
4559
|
+
type: 'Self Managed Fund',
|
|
4560
|
+
name: choiceDetails.smsf.fundName,
|
|
4561
|
+
valid: 'Unknown',
|
|
4562
|
+
lastNominatedAt: dateSubmitted
|
|
4563
|
+
});
|
|
4564
|
+
case 'Default': {
|
|
4565
|
+
const defaultUsi = choiceDetails.default.usi;
|
|
4566
|
+
const defaultFund = await this.getFundByUsiAsync(defaultUsi);
|
|
4567
|
+
return some({
|
|
4568
|
+
type: 'Default Fund',
|
|
4569
|
+
name: isSome(defaultFund) ? defaultFund.value.productName : defaultUsi,
|
|
4570
|
+
usi: usi,
|
|
4571
|
+
valid: this.toFundValidState(defaultFund),
|
|
4572
|
+
lastNominatedAt: dateSubmitted
|
|
4573
|
+
});
|
|
4574
|
+
}
|
|
4575
|
+
case 'PromotedDefault': {
|
|
4576
|
+
const defaultUsi = choiceDetails.promotedDefault.usi;
|
|
4577
|
+
const defaultFund = await this.getFundByUsiAsync(defaultUsi);
|
|
4578
|
+
return some({
|
|
4579
|
+
type: 'Promoted Default Fund',
|
|
4580
|
+
id: choiceDetails.promotedDefault.fundId,
|
|
4581
|
+
name: isSome(defaultFund) ? defaultFund.value.productName : defaultUsi,
|
|
4582
|
+
usi: usi,
|
|
4583
|
+
valid: this.toFundValidState(defaultFund),
|
|
4584
|
+
lastNominatedAt: dateSubmitted
|
|
4585
|
+
});
|
|
4586
|
+
}
|
|
4587
|
+
default:
|
|
4458
4588
|
return none;
|
|
4459
|
-
return some({
|
|
4460
|
-
type: 'Promoted Fund',
|
|
4461
|
-
id: fund.value.fundId,
|
|
4462
|
-
name: fund.value.name,
|
|
4463
|
-
usi: usi,
|
|
4464
|
-
valid: 'Active',
|
|
4465
|
-
memberNumber: memberNumber,
|
|
4466
|
-
lastNominatedAt: dateSubmitted
|
|
4467
|
-
});
|
|
4468
|
-
}
|
|
4469
|
-
else if ('smsf' in choiceDetails) {
|
|
4470
|
-
return some({
|
|
4471
|
-
type: 'Self Managed Fund',
|
|
4472
|
-
name: choiceDetails.smsf.fundName,
|
|
4473
|
-
valid: 'Unknown',
|
|
4474
|
-
lastNominatedAt: dateSubmitted
|
|
4475
|
-
});
|
|
4476
|
-
}
|
|
4477
|
-
else if ('myOwnFund' in choiceDetails) {
|
|
4478
|
-
const fundUsi = choiceDetails.myOwnFund.usi;
|
|
4479
|
-
const fund = await this.getFundByUsiAsync(fundUsi);
|
|
4480
|
-
return some({
|
|
4481
|
-
type: 'My Own Fund',
|
|
4482
|
-
name: isSome(fund) ? fund.value.productName : fundUsi,
|
|
4483
|
-
usi: usi,
|
|
4484
|
-
valid: this.toFundValidState(fund),
|
|
4485
|
-
memberNumber: memberNumber,
|
|
4486
|
-
lastNominatedAt: dateSubmitted
|
|
4487
|
-
});
|
|
4488
4589
|
}
|
|
4489
|
-
else if ('default' in choiceDetails) {
|
|
4490
|
-
const defaultUsi = choiceDetails.default.usi;
|
|
4491
|
-
const defaultFund = await this.getFundByUsiAsync(defaultUsi);
|
|
4492
|
-
return some({
|
|
4493
|
-
type: 'Default Fund',
|
|
4494
|
-
name: isSome(defaultFund) ? defaultFund.value.productName : defaultUsi,
|
|
4495
|
-
usi: usi,
|
|
4496
|
-
valid: this.toFundValidState(defaultFund),
|
|
4497
|
-
lastNominatedAt: dateSubmitted
|
|
4498
|
-
});
|
|
4499
|
-
}
|
|
4500
|
-
return none;
|
|
4501
4590
|
}
|
|
4502
4591
|
async submitRetainSuperFundAsync(dto) {
|
|
4503
4592
|
return buildBackendApiClient()
|
|
@@ -4577,6 +4666,7 @@ const ExistingChoice = class {
|
|
|
4577
4666
|
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" }, (() => {
|
|
4578
4667
|
switch (this.existingFund.type) {
|
|
4579
4668
|
case 'Promoted Fund':
|
|
4669
|
+
case 'Promoted Default Fund':
|
|
4580
4670
|
return h(PromotedFundView, { id: this.existingFund.id });
|
|
4581
4671
|
case 'Self Managed Fund':
|
|
4582
4672
|
return h(SelfManagedFundView, null);
|
|
@@ -4584,13 +4674,20 @@ const ExistingChoice = class {
|
|
|
4584
4674
|
return h(MyOwnFundView, null);
|
|
4585
4675
|
case 'Default Fund':
|
|
4586
4676
|
return h(DefaultFundView, null);
|
|
4677
|
+
default:
|
|
4678
|
+
return h("div", null);
|
|
4587
4679
|
}
|
|
4588
4680
|
})(), h("div", { class: "sm:text-lg font-bold leading-6" }, (() => {
|
|
4589
4681
|
switch (this.existingFund.type) {
|
|
4590
4682
|
case 'Default Fund':
|
|
4591
4683
|
return "Employer's default fund";
|
|
4592
|
-
|
|
4684
|
+
case 'My Own Fund':
|
|
4685
|
+
case 'Promoted Fund':
|
|
4686
|
+
case 'Self Managed Fund':
|
|
4687
|
+
case 'Promoted Default Fund':
|
|
4593
4688
|
return this.existingFund.name;
|
|
4689
|
+
default:
|
|
4690
|
+
return '';
|
|
4594
4691
|
}
|
|
4595
4692
|
})())), 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"))))));
|
|
4596
4693
|
}
|
|
@@ -5009,7 +5106,8 @@ class PromotedFundJoinV2IFrameBuilder {
|
|
|
5009
5106
|
navigationService.navigateInternally(history, SuperSelectionAppRoutes.ChoicePage);
|
|
5010
5107
|
break;
|
|
5011
5108
|
case 'success':
|
|
5012
|
-
if (
|
|
5109
|
+
if (state$2.isPromotedDefault ||
|
|
5110
|
+
(!state$2.isPromotedDefault && data.memberNumber)) {
|
|
5013
5111
|
const promotedFundId = state$2.fundId;
|
|
5014
5112
|
const fundName = getFundNameByFundId(promotedFundId);
|
|
5015
5113
|
navigationService.navigateInternallyToStandardChoice({
|
|
@@ -5512,9 +5610,9 @@ class SlateIFrameBuilder {
|
|
|
5512
5610
|
if (data.memberNumber) {
|
|
5513
5611
|
navigationService.navigateInternallyToStandardChoice({
|
|
5514
5612
|
history,
|
|
5515
|
-
fundName: fund$
|
|
5613
|
+
fundName: fund$7.name,
|
|
5516
5614
|
handleSubmitFn: (standardChoiceFormSignature) => slateChoiceApi.submitSlateChoiceAsync(Object.assign({ memberNumber: data.memberNumber, memberFirstName: data.memberFirstName, memberFamilyName: data.memberFamilyName, standardChoiceFormSignature, defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi) }, superSelectionAppService.promotedFundsConfig)),
|
|
5517
|
-
promotedFundId: fund$
|
|
5615
|
+
promotedFundId: fund$7.fundId
|
|
5518
5616
|
});
|
|
5519
5617
|
break;
|
|
5520
5618
|
}
|
|
@@ -5656,7 +5754,7 @@ const SuperChoiceItemBottom = class {
|
|
|
5656
5754
|
this.joinFundClicked = createEvent(this, "joinFundClicked", 7);
|
|
5657
5755
|
}
|
|
5658
5756
|
render() {
|
|
5659
|
-
return (h(Host, null, h("div", { class: "py-6 px-4
|
|
5757
|
+
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))))));
|
|
5660
5758
|
}
|
|
5661
5759
|
handleFundClick() {
|
|
5662
5760
|
return this.joinFundClicked.emit();
|
|
@@ -5668,7 +5766,13 @@ const SuperChoiceItemTop = class {
|
|
|
5668
5766
|
registerInstance(this, hostRef);
|
|
5669
5767
|
}
|
|
5670
5768
|
render() {
|
|
5671
|
-
return (h(Host, null, h("div", { class: "px-4
|
|
5769
|
+
return (h(Host, null, h("div", { class: "px-4 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': true, 'lg:mt-4': this.isMultiFund } }, h("img", { class: {
|
|
5770
|
+
'h-12 md:h-14 lg:h-16 object-contain w-[80px] md:w-[96px] lg:w-[140px] md:hidden lg:object-left': true,
|
|
5771
|
+
'lg:block': this.isMultiFund
|
|
5772
|
+
}, alt: this.name, src: getAssetPath(`assets/${this.logo}`) }), h("div", { class: "grid content-center" }, h("p", { class: {
|
|
5773
|
+
'text-base md:text-lg font-bold ml-4 md:ml-0 md:mb-0': true,
|
|
5774
|
+
'lg:mt-4': this.isMultiFund
|
|
5775
|
+
} }, 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)))));
|
|
5672
5776
|
}
|
|
5673
5777
|
};
|
|
5674
5778
|
|
|
@@ -5703,9 +5807,10 @@ const SuperChoicePage = class {
|
|
|
5703
5807
|
if (this.campaignConnectRequestInProgress) {
|
|
5704
5808
|
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" })));
|
|
5705
5809
|
}
|
|
5810
|
+
const isMultiFund = this.promotedFunds.length > 1;
|
|
5706
5811
|
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: {
|
|
5707
5812
|
'lg:grid border-l border-t lg:border-b rounded-lg': true,
|
|
5708
|
-
'lg:grid-cols-1 max-w-
|
|
5813
|
+
'lg:grid-cols-1 max-w-720': this.promotedFunds.length === 1,
|
|
5709
5814
|
'lg:grid-cols-2 max-w-720': this.promotedFunds.length === 2,
|
|
5710
5815
|
'lg:grid-cols-3 max-w-960': this.promotedFunds.length === 3
|
|
5711
5816
|
} }, this.promotedFunds.map((fund, index) => (h("div", { class: {
|
|
@@ -5716,10 +5821,14 @@ const SuperChoicePage = class {
|
|
|
5716
5821
|
} }, h("div", { class: {
|
|
5717
5822
|
'flex border-b lg:border-b-0': true,
|
|
5718
5823
|
'rounded-b-lg': index === this.promotedFunds.length - 1
|
|
5719
|
-
} }, h("div", { class:
|
|
5720
|
-
'hidden
|
|
5824
|
+
} }, h("div", { class: {
|
|
5825
|
+
'hidden md:flex w-36 justify-center pt-6 pl-6': true,
|
|
5826
|
+
'lg:hidden': isMultiFund
|
|
5827
|
+
} }, 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: {
|
|
5828
|
+
'hidden border-r': true,
|
|
5829
|
+
'lg:block': isMultiFund,
|
|
5721
5830
|
'rounded-br-lg': index === this.promotedFunds.length - 1
|
|
5722
|
-
} }, 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).")))))));
|
|
5831
|
+
} }, 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).")))))));
|
|
5723
5832
|
}
|
|
5724
5833
|
getPromotedFunds() {
|
|
5725
5834
|
const fundTiles = [];
|
|
@@ -17170,6 +17279,8 @@ const SuperSelectionAppHost = class {
|
|
|
17170
17279
|
return () => h("sss-loading-page", null);
|
|
17171
17280
|
case AuthenticationState.Error:
|
|
17172
17281
|
return () => h("h1", null, "Authentication Error");
|
|
17282
|
+
default:
|
|
17283
|
+
return () => h("h1", null, "Authentication Error");
|
|
17173
17284
|
}
|
|
17174
17285
|
}
|
|
17175
17286
|
};
|