@flarehr/apollo-super-selection 3.43.57073 → 3.44.57505

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/dist/lib/apollo-super-selection/apollo-super-selection.esm.js +1 -1
  2. package/dist/lib/apollo-super-selection/p-71bcd96c.system.entry.js +69 -0
  3. package/dist/lib/apollo-super-selection/p-d82b00ed.system.js +1 -1
  4. package/dist/lib/apollo-super-selection/p-ffb44779.entry.js +14 -0
  5. package/dist/lib/cjs/apollo-super-selection.cjs.js +1 -1
  6. package/dist/lib/cjs/{fl-button_46.cjs.entry.js → fl-button_31.cjs.entry.js} +44 -662
  7. package/dist/lib/cjs/loader.cjs.js +1 -1
  8. package/dist/lib/collection/collection-manifest.json +0 -30
  9. package/dist/lib/collection/components/super-selection-app/funds/constants.js +0 -13
  10. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.routes.js +0 -22
  11. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.css +1 -1
  12. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +1 -32
  13. package/dist/lib/collection/components/super-selection-app/super-selection-app.js +0 -2
  14. package/dist/lib/esm/apollo-super-selection.js +1 -1
  15. package/dist/lib/esm/{fl-button_46.entry.js → fl-button_31.entry.js} +45 -648
  16. package/dist/lib/esm/loader.js +1 -1
  17. package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
  18. package/dist/lib/esm-es5/fl-button_31.entry.js +69 -0
  19. package/dist/lib/esm-es5/loader.js +1 -1
  20. package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +4 -2
  21. package/dist/lib/types/components/super-selection-app/funds/constants.d.ts +0 -12
  22. package/dist/lib/types/components/super-selection-app/services/super-selection-app.routes.d.ts +0 -11
  23. package/dist/lib/types/components.d.ts +0 -199
  24. package/package.json +1 -1
  25. package/dist/lib/apollo-super-selection/p-efe4cd36.entry.js +0 -14
  26. package/dist/lib/apollo-super-selection/p-f853b0c9.system.entry.js +0 -69
  27. package/dist/lib/collection/components/super-selection-app/funds/qsuper/api/qsuper-choice.api.dto.js +0 -1
  28. package/dist/lib/collection/components/super-selection-app/funds/qsuper/api/qsuper-choice.api.js +0 -13
  29. package/dist/lib/collection/components/super-selection-app/funds/qsuper/helpers/confirmCheck.js +0 -38
  30. package/dist/lib/collection/components/super-selection-app/funds/qsuper/helpers/continueCheck.js +0 -13
  31. package/dist/lib/collection/components/super-selection-app/funds/qsuper/helpers/getNextRoute.js +0 -89
  32. package/dist/lib/collection/components/super-selection-app/funds/qsuper/helpers/resetState.js +0 -31
  33. package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-confirm-header.js +0 -37
  34. package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-confirm-selection/qsuper-confirm-selection.js +0 -62
  35. package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-confirmation.css +0 -0
  36. package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-consent/qsuper-consent.js +0 -94
  37. package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-insurance-opt-in.js +0 -98
  38. package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-insurance-questions.js +0 -18
  39. package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-layout.js +0 -95
  40. package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper.css +0 -50
  41. package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question1/question1.js +0 -10
  42. package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question2/question2.js +0 -10
  43. package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question3/question3.js +0 -10
  44. package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question4/question4.js +0 -10
  45. package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question5/question5.js +0 -10
  46. package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question6/question6.js +0 -10
  47. package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question7/question7.js +0 -10
  48. package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question8/question8.js +0 -10
  49. package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/yes-no-buttons/qsuper-question-yes-no-buttons.js +0 -66
  50. package/dist/lib/collection/components/super-selection-app/funds/qsuper/services/qsuper.store.js +0 -64
  51. package/dist/lib/esm-es5/fl-button_46.entry.js +0 -69
  52. package/dist/lib/types/components/super-selection-app/funds/qsuper/api/qsuper-choice.api.d.ts +0 -6
  53. package/dist/lib/types/components/super-selection-app/funds/qsuper/api/qsuper-choice.api.dto.d.ts +0 -22
  54. package/dist/lib/types/components/super-selection-app/funds/qsuper/helpers/confirmCheck.d.ts +0 -1
  55. package/dist/lib/types/components/super-selection-app/funds/qsuper/helpers/continueCheck.d.ts +0 -1
  56. package/dist/lib/types/components/super-selection-app/funds/qsuper/helpers/getNextRoute.d.ts +0 -2
  57. package/dist/lib/types/components/super-selection-app/funds/qsuper/helpers/resetState.d.ts +0 -1
  58. package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-confirm-header.d.ts +0 -5
  59. package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-confirm-selection/qsuper-confirm-selection.d.ts +0 -6
  60. package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-consent/qsuper-consent.d.ts +0 -7
  61. package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-insurance-opt-in.d.ts +0 -12
  62. package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-insurance-questions.d.ts +0 -3
  63. package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-layout.d.ts +0 -11
  64. package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question1/question1.d.ts +0 -3
  65. package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question2/question2.d.ts +0 -3
  66. package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question3/question3.d.ts +0 -3
  67. package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question4/question4.d.ts +0 -3
  68. package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question5/question5.d.ts +0 -3
  69. package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question6/question6.d.ts +0 -3
  70. package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question7/question7.d.ts +0 -3
  71. package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question8/question8.d.ts +0 -3
  72. package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/yes-no-buttons/qsuper-question-yes-no-buttons.d.ts +0 -6
  73. package/dist/lib/types/components/super-selection-app/funds/qsuper/services/qsuper.store.d.ts +0 -58
@@ -265,7 +265,7 @@ class TapSubscriber extends delay.Subscriber {
265
265
  }
266
266
  }
267
267
 
268
- const AppVersion = '3.43.57073';
268
+ const AppVersion = '3.44.57505';
269
269
 
270
270
  // -------------------------------------------------------------------------------------
271
271
  // guards
@@ -3885,17 +3885,6 @@ var SuperSelectionAppRoutes;
3885
3885
  SuperSelectionAppRoutes["ChoicePage"] = "/";
3886
3886
  SuperSelectionAppRoutes["SlateJoin"] = "/slate/join/";
3887
3887
  SuperSelectionAppRoutes["SlateStandardChoice"] = "/slate/standard-choice/";
3888
- SuperSelectionAppRoutes["QSuperOptIn"] = "/qsuper/insurance/opt-in/";
3889
- SuperSelectionAppRoutes["QSuperQuestion1"] = "/qsuper/insurance/question1/";
3890
- SuperSelectionAppRoutes["QSuperQuestion2"] = "/qsuper/insurance/question2/";
3891
- SuperSelectionAppRoutes["QSuperQuestion3"] = "/qsuper/insurance/question3/";
3892
- SuperSelectionAppRoutes["QSuperQuestion4"] = "/qsuper/insurance/question4/";
3893
- SuperSelectionAppRoutes["QSuperQuestion5"] = "/qsuper/insurance/question5/";
3894
- SuperSelectionAppRoutes["QSuperQuestion6"] = "/qsuper/insurance/question6/";
3895
- SuperSelectionAppRoutes["QSuperQuestion7"] = "/qsuper/insurance/question7/";
3896
- SuperSelectionAppRoutes["QSuperQuestion8"] = "/qsuper/insurance/question8/";
3897
- SuperSelectionAppRoutes["QSuperConsent"] = "/qsuper/consent/";
3898
- SuperSelectionAppRoutes["QSuperJoin"] = "/qsuper/join/";
3899
3888
  SuperSelectionAppRoutes["PromotedFundJoin"] = "/promoted-fund/join";
3900
3889
  SuperSelectionAppRoutes["PromotedFundStandardChoice"] = "/promoted-fund/standard-choice/";
3901
3890
  SuperSelectionAppRoutes["MyOwnFund"] = "/super-choice/my-own-fund/";
@@ -3907,19 +3896,8 @@ const superSelectionAppStencilRoutes = [
3907
3896
  index.h("stencil-route", { exact: true, url: SuperSelectionAppRoutes.ChoicePage, component: "sss-super-choice-page" }),
3908
3897
  index.h("stencil-route", { url: SuperSelectionAppRoutes.SlateJoin, component: "sss-slate-join-page" }),
3909
3898
  index.h("stencil-route", { url: SuperSelectionAppRoutes.SlateStandardChoice, component: "sss-slate-standard-choice-page" }),
3910
- index.h("stencil-route", { url: SuperSelectionAppRoutes.QSuperOptIn, component: "sss-qsuper-insurance-opt-in" }),
3911
3899
  index.h("stencil-route", { url: SuperSelectionAppRoutes.PromotedFundJoin, component: "sss-promoted-fund-join-page" }),
3912
3900
  index.h("stencil-route", { url: SuperSelectionAppRoutes.PromotedFundStandardChoice, component: "sss-promoted-fund-standard-choice-page" }),
3913
- index.h("stencil-route", { url: SuperSelectionAppRoutes.QSuperQuestion1, component: "sss-qsuper-question-1" }),
3914
- index.h("stencil-route", { url: SuperSelectionAppRoutes.QSuperQuestion2, component: "sss-qsuper-question-2" }),
3915
- index.h("stencil-route", { url: SuperSelectionAppRoutes.QSuperQuestion3, component: "sss-qsuper-question-3" }),
3916
- index.h("stencil-route", { url: SuperSelectionAppRoutes.QSuperQuestion4, component: "sss-qsuper-question-4" }),
3917
- index.h("stencil-route", { url: SuperSelectionAppRoutes.QSuperQuestion5, component: "sss-qsuper-question-5" }),
3918
- index.h("stencil-route", { url: SuperSelectionAppRoutes.QSuperQuestion6, component: "sss-qsuper-question-6" }),
3919
- index.h("stencil-route", { url: SuperSelectionAppRoutes.QSuperQuestion7, component: "sss-qsuper-question-7" }),
3920
- index.h("stencil-route", { url: SuperSelectionAppRoutes.QSuperQuestion8, component: "sss-qsuper-question-8" }),
3921
- index.h("stencil-route", { url: SuperSelectionAppRoutes.QSuperConsent, component: "sss-qsuper-consent" }),
3922
- index.h("stencil-route", { url: SuperSelectionAppRoutes.QSuperJoin, component: "sss-qsuper-join" }),
3923
3901
  index.h("stencil-route", { url: SuperSelectionAppRoutes.MyOwnFund, component: "sss-my-own-fund" }),
3924
3902
  index.h("stencil-route", { url: SuperSelectionAppRoutes.SelfManagedFund, component: "sss-self-managed-fund" }),
3925
3903
  index.h("stencil-route", { url: SuperSelectionAppRoutes.DefaultFund, component: "sss-default-fund" }),
@@ -4520,595 +4498,6 @@ const PromotedFundStandardChoicePage = class {
4520
4498
  }
4521
4499
  };
4522
4500
 
4523
- const QSuper = {
4524
- Id: 'qsuper',
4525
- Name: 'QSuper',
4526
- InsuranceName: 'QSuper Insurance',
4527
- Usi: '60905115063001',
4528
- Abn: '32 125 059 006',
4529
- PdsUrl: 'https://qsuper.qld.gov.au/calculators-and-forms/publications/product-disclosure-statements',
4530
- PdsPdf: 'https://qsuper.qld.gov.au/-/media/pdfs/qsuper-public/publications/pds11.pdf',
4531
- MinAge: 14,
4532
- MinInsuranceAge: 16,
4533
- MaxAge: 70
4534
- };
4535
- const Slate = {
4536
- Id: 'slate',
4537
- Name: 'Slate Super',
4538
- PdsUrl: 'https://slate.co/pds/?utm_source=flare&utm_medium=superselection',
4539
- Usi: '32367272075001',
4540
- DiversaAbn: '49 006 421 638'
4541
- };
4542
- const AustralianRetirementTrust = {
4543
- Id: 'australian-retirement-trust',
4544
- Name: 'Australian Retirement Trust',
4545
- PdsUrl: 'https://www.australianretirementtrust.com.au/library/media/pdfs/pds/super-savings-product-disclosure-statement-and-membership-form.pdf',
4546
- Abn: '60 905 115 063'
4547
- };
4548
- const Aware = {
4549
- Id: 'aware',
4550
- Name: 'Aware Super',
4551
- PdsUrlText: 'View the PDS and TMD',
4552
- PdsUrl: 'https://aware.com.au/member/forms-and-resources/pds/FSS',
4553
- Abn: '53 226 460 365'
4554
- };
4555
- const Active = {
4556
- Id: 'active',
4557
- Name: 'Active Super',
4558
- PdsUrlText: 'View the PDS',
4559
- PdsUrl: 'https://www.activesuper.com.au/the-basics/tools-and-resources/product-disclosure-statements/',
4560
- Abn: '28 901 371 321'
4561
- };
4562
- const PromotedFundIdList = [
4563
- { dtoPropName: 'qSuper', id: QSuper.Id },
4564
- { dtoPropName: 'slate', id: Slate.Id },
4565
- { dtoPropName: 'australianRetirementTrust', id: AustralianRetirementTrust.Id },
4566
- { dtoPropName: 'aware', id: Aware.Id },
4567
- { dtoPropName: 'active', id: Active.Id }
4568
- ];
4569
-
4570
- const qsuperConfirmationCss = "";
4571
-
4572
- const QsuperConfirmHeader = class {
4573
- constructor(hostRef) {
4574
- index.registerInstance(this, hostRef);
4575
- this.eventTrackingService = EventTrackingService.Instance;
4576
- }
4577
- render() {
4578
- const qSuperAccumulationAccountUrl = 'https://qsuper.qld.gov.au/-/media/pdfs/qsuper-public/publications/pds1.pdf';
4579
- return (index.h("div", { class: "d-flex align-items-center justify-content-center" }, index.h("p", { class: "confirm-title font-weight-bold text-center" }, "You are now applying for a", ' ', index.h("a", { target: "_blank", href: navigationService.toExternalUrl(qSuperAccumulationAccountUrl) }, "QSuper Accumulation Account"), ". Read the", ' ', index.h("a", { target: "_blank", onClick: () => this.pdsViewedAsync(), href: navigationService.toExternalUrl(QSuper.PdsPdf) }, "PDS"), ' ', "here.")));
4580
- }
4581
- pdsViewedAsync() {
4582
- return this.eventTrackingService.TrackSuperFundPdsViewedAsync({
4583
- fundUsi: QSuper.Usi,
4584
- fundName: QSuper.Name,
4585
- pageName: 'Insurance Opt In'
4586
- });
4587
- }
4588
- static get assetsDirs() { return ["assets"]; }
4589
- };
4590
- QsuperConfirmHeader.style = qsuperConfirmationCss;
4591
-
4592
- var QSuperFormPages;
4593
- (function (QSuperFormPages) {
4594
- QSuperFormPages[QSuperFormPages["InsuranceConfirm"] = 0] = "InsuranceConfirm";
4595
- QSuperFormPages[QSuperFormPages["InsuranceQuestions"] = 1] = "InsuranceQuestions";
4596
- QSuperFormPages[QSuperFormPages["AccumulationAccount"] = 2] = "AccumulationAccount";
4597
- QSuperFormPages[QSuperFormPages["ConfirmSelection"] = 3] = "ConfirmSelection";
4598
- })(QSuperFormPages || (QSuperFormPages = {}));
4599
- var QSuperInsuranceQuestions;
4600
- (function (QSuperInsuranceQuestions) {
4601
- QSuperInsuranceQuestions[QSuperInsuranceQuestions["question1"] = 0] = "question1";
4602
- QSuperInsuranceQuestions[QSuperInsuranceQuestions["question2"] = 1] = "question2";
4603
- QSuperInsuranceQuestions[QSuperInsuranceQuestions["question3"] = 2] = "question3";
4604
- QSuperInsuranceQuestions[QSuperInsuranceQuestions["question4"] = 3] = "question4";
4605
- QSuperInsuranceQuestions[QSuperInsuranceQuestions["question5"] = 4] = "question5";
4606
- QSuperInsuranceQuestions[QSuperInsuranceQuestions["question6"] = 5] = "question6";
4607
- QSuperInsuranceQuestions[QSuperInsuranceQuestions["question7"] = 6] = "question7";
4608
- QSuperInsuranceQuestions[QSuperInsuranceQuestions["question8"] = 7] = "question8";
4609
- })(QSuperInsuranceQuestions || (QSuperInsuranceQuestions = {}));
4610
- const initialStateQSuper = {
4611
- currentQSuperInsuranceQuestion: QSuperInsuranceQuestions.question1,
4612
- currentQSuperFormPage: QSuperFormPages.InsuranceConfirm,
4613
- qSuperFormValid: false,
4614
- nextRoute: '/',
4615
- continueAllowed: false,
4616
- qSuperOptInPageCheckbox: false,
4617
- qSuperJoinPageCheckbox: false,
4618
- qSuperInsuranceQuestions: {
4619
- question1: {
4620
- answered: false
4621
- },
4622
- question2: {
4623
- answered: false
4624
- },
4625
- question3: {
4626
- answered: false
4627
- },
4628
- question4: {
4629
- answered: false
4630
- },
4631
- question5: {
4632
- answered: false
4633
- },
4634
- question6: {
4635
- answered: false
4636
- },
4637
- question7: {
4638
- answered: false
4639
- },
4640
- question8: {
4641
- answered: false
4642
- }
4643
- },
4644
- qSuperQuestionnaire: {
4645
- reviewedApplication: false,
4646
- acceptedDeclaration: false,
4647
- readDutyOfDisclosure: false,
4648
- insuranceChosen: false
4649
- },
4650
- standardChoiceFormSignature: ''
4651
- };
4652
- const { state: state$2, reset: reset$1 } = createStore(initialStateQSuper);
4653
- const resetQSuperStore = reset$1;
4654
-
4655
- function getNextRoute() {
4656
- var _a, _b, _c, _d;
4657
- const baseAppUrl = superSelectionAppService.appBaseUrl;
4658
- const route = window.location.pathname.split(baseAppUrl)[1];
4659
- const nextRoutes = {
4660
- [SuperSelectionAppRoutes.QSuperOptIn]: SuperSelectionAppRoutes.QSuperQuestion1,
4661
- [SuperSelectionAppRoutes.QSuperQuestion1]: state$2.qSuperInsuranceQuestions.question1
4662
- .answered
4663
- ? ((_a = state$2.qSuperQuestionnaire.questions) === null || _a === void 0 ? void 0 : _a.question1) === true
4664
- ? SuperSelectionAppRoutes.QSuperQuestion4
4665
- : SuperSelectionAppRoutes.QSuperQuestion2
4666
- : SuperSelectionAppRoutes.QSuperQuestion1,
4667
- [SuperSelectionAppRoutes.QSuperQuestion2]: state$2.qSuperInsuranceQuestions.question2
4668
- .answered
4669
- ? ((_b = state$2.qSuperQuestionnaire.questions) === null || _b === void 0 ? void 0 : _b.question2) === true
4670
- ? SuperSelectionAppRoutes.QSuperQuestion4
4671
- : SuperSelectionAppRoutes.QSuperQuestion3
4672
- : SuperSelectionAppRoutes.QSuperQuestion2,
4673
- [SuperSelectionAppRoutes.QSuperQuestion3]: state$2.qSuperInsuranceQuestions.question3
4674
- .answered
4675
- ? SuperSelectionAppRoutes.QSuperQuestion4
4676
- : SuperSelectionAppRoutes.QSuperQuestion3,
4677
- [SuperSelectionAppRoutes.QSuperQuestion4]: state$2.qSuperInsuranceQuestions.question4
4678
- .answered
4679
- ? SuperSelectionAppRoutes.QSuperQuestion5
4680
- : SuperSelectionAppRoutes.QSuperQuestion4,
4681
- [SuperSelectionAppRoutes.QSuperQuestion5]: state$2.qSuperInsuranceQuestions.question5
4682
- .answered
4683
- ? SuperSelectionAppRoutes.QSuperQuestion6
4684
- : SuperSelectionAppRoutes.QSuperQuestion5,
4685
- [SuperSelectionAppRoutes.QSuperQuestion6]: state$2.qSuperInsuranceQuestions.question6
4686
- .answered
4687
- ? SuperSelectionAppRoutes.QSuperQuestion7
4688
- : SuperSelectionAppRoutes.QSuperQuestion6,
4689
- [SuperSelectionAppRoutes.QSuperQuestion7]: state$2.qSuperInsuranceQuestions.question7
4690
- .answered
4691
- ? SuperSelectionAppRoutes.QSuperQuestion8
4692
- : SuperSelectionAppRoutes.QSuperQuestion7,
4693
- [SuperSelectionAppRoutes.QSuperQuestion8]: state$2.qSuperInsuranceQuestions.question8
4694
- .answered
4695
- ? SuperSelectionAppRoutes.QSuperConsent
4696
- : SuperSelectionAppRoutes.QSuperQuestion8,
4697
- [SuperSelectionAppRoutes.QSuperConsent]: state$2.qSuperQuestionnaire.readDutyOfDisclosure &&
4698
- state$2.qSuperQuestionnaire.reviewedApplication
4699
- ? SuperSelectionAppRoutes.QSuperJoin
4700
- : SuperSelectionAppRoutes.QSuperConsent,
4701
- [SuperSelectionAppRoutes.QSuperJoin]: state$2.qSuperJoinPageCheckbox
4702
- ? SuperSelectionAppRoutes.Success
4703
- : SuperSelectionAppRoutes.QSuperJoin
4704
- };
4705
- // special cases
4706
- // if question 3 or 5 are selected as Yes, show questions 6,7,8
4707
- // if we are on question 5, and question 3 or 5 have been selected yes, go to question 6
4708
- const firstFiveQuestionsAnswered = state$2.qSuperInsuranceQuestions.question1.answered &&
4709
- state$2.qSuperInsuranceQuestions.question2.answered &&
4710
- state$2.qSuperInsuranceQuestions.question3.answered &&
4711
- state$2.qSuperInsuranceQuestions.question4.answered &&
4712
- state$2.qSuperInsuranceQuestions.question5.answered;
4713
- // if we are on question 5 - check if question 3 or 5 have been answered yes
4714
- // if they have then show questions 6,7,8 - otherwise go to the consent page
4715
- if (route === SuperSelectionAppRoutes.QSuperQuestion5) {
4716
- if (firstFiveQuestionsAnswered &&
4717
- (((_c = state$2.qSuperQuestionnaire.questions) === null || _c === void 0 ? void 0 : _c.question3) === true ||
4718
- ((_d = state$2.qSuperQuestionnaire.questions) === null || _d === void 0 ? void 0 : _d.question5) === true)) {
4719
- return SuperSelectionAppRoutes.QSuperQuestion6;
4720
- }
4721
- return SuperSelectionAppRoutes.QSuperConsent;
4722
- }
4723
- // if in opt in page
4724
- if (route === SuperSelectionAppRoutes.QSuperOptIn) {
4725
- // if checkbox is ticked and insurance selected - go to question 1
4726
- if (state$2.qSuperOptInPageCheckbox) {
4727
- if (state$2.qSuperQuestionnaire.insuranceChosen) {
4728
- return SuperSelectionAppRoutes.QSuperQuestion1;
4729
- }
4730
- else {
4731
- return SuperSelectionAppRoutes.QSuperConsent;
4732
- }
4733
- }
4734
- else {
4735
- // otherwise go to the consent page
4736
- return route;
4737
- }
4738
- }
4739
- return nextRoutes[route];
4740
- }
4741
-
4742
- const qsuperCss = "html{scroll-behavior:smooth}img.fluid-fit{-o-object-fit:cover;object-fit:cover}.choice-container{margin-top:0 !important;margin-bottom:0 !important}.confirm-title{font-size:20px;margin-bottom:0}.confirm-text{font-size:14px}.edit-toggle{cursor:pointer}.form-value-text{overflow-wrap:anywhere}.confirm-checkbox-item{-webkit-transform:scale(1.7);transform:scale(1.7)}.checkbox-container{border-radius:4px;background-color:#f5f4f2}.confirm-item-text{font-size:13px}.button-holder{min-width:8rem}.confirm-form-view-only-holder *{font-size:14px}";
4743
-
4744
- const QsuperConsent = class {
4745
- constructor(hostRef) {
4746
- index.registerInstance(this, hostRef);
4747
- this.eventTrackingService = EventTrackingService.Instance;
4748
- }
4749
- async componentDidLoad() {
4750
- window.scroll(0, 0);
4751
- state$2.currentQSuperFormPage = QSuperFormPages.AccumulationAccount;
4752
- }
4753
- render() {
4754
- return (index.h("sss-qsuper-layout", null, index.h("div", { class: "d-flex align-items-center justify-content-center" }, index.h("p", { class: "confirm-title font-weight-bold text-center" }, "Your QSuper Accumulation Account")), index.h("div", { class: "p-3 d-flex mt-4 checkbox-container" }, index.h("p", null, "Just finally, we need you to confirm that you understand the declarations below and the product you've applied for by ticking the box below.", index.h("br", null), index.h("br", null), "This form and all products are issued by the QSuper Board (ABN 32 125 059 006 AFSL 489650) as trustee for QSuper (ABN 60 905 115 063).", index.h("br", null), index.h("br", null), "I have read and agree to the terms and conditions in the QSuper", ' ', index.h("a", { target: "_blank", onClick: () => this.pdsViewedAsync(), href: navigationService.toExternalUrl('https://qsuper.qld.gov.au/-/media/pdfs/qsuper-public/publications/pds11.pdf') }, "Product Disclosure Statement for Accumulation and Income Accounts"), ", QSuper's", ' ', index.h("a", { target: "_blank", href: navigationService.toExternalUrl('https://qsuper.qld.gov.au/-/media/pdfs/qsuper-public/publications/fs15.pdf') }, "Your Privacy factsheet"), ", and the", ' ', index.h("a", { target: "_blank", href: navigationService.toExternalUrl('https://qsuper.qld.gov.au/-/media/pdfs/qsuper-public/publications/qiib09.pdf') }, "Financial Services Guide"), ".", index.h("br", null), index.h("br", null), "I understand that any insurance cover I might have as a result of this application, commences when the first contribution is received into my account. Once I am a member I can cancel, or, subject to eligibility conditions, vary, my cover at any time. Premiums are deducted in accordance with the PDS.", index.h("br", null), index.h("br", null), "I also agree to be bound by the Trust Deed and the governing rules of QSuper in relation to the operation of my Accumulation account.", index.h("br", null), index.h("br", null), "I confirm that the information I have given is true and correct.", index.h("br", null), index.h("br", null), "I confirm that I am the person identified as the applicant in this form.", index.h("br", null), index.h("br", null), "I consent to the QSuper Board paying Simple Financial Choices Pty Ltd, a wholly owned subsidiary of Flare, a fee of $300 on receipt of the first contribution into my account, for the provision of technology services.", index.h("br", null), index.h("br", null), "I understand that I will be placed into the default investment option QSuper Lifetime.", index.h("br", null), index.h("br", null), "I understand that my Tax File Number will be provided to QSuper. NB - if you have your Tax File Number available, this will help speed up the processing of this application and we may be able to Find your Super.", index.h("br", null), index.h("br", null), "I have read and accept the", ' ', index.h("a", { target: "_blank", href: navigationService.toExternalUrl('https://qsuper.qld.gov.au/misc/tfn') }, "Privacy and Contact Information Statement"))), index.h("div", null, index.h("label", { class: "d-flex\u00A0mt-3\u00A0p-3\u00A0checkbox-container", htmlFor: "ackAllCheckBox" }, index.h("div", { class: "w-auto\u00A0px-2 fl-checkbox-container" }, index.h("input", { id: "ackAllCheckBox", class: "confirm-checkbox-item", type: "checkbox", onChange: () => this.handleCheckboxToggle() })), index.h("div", { class: "pl-3" }, index.h("p", { class: "confirm-item-text\u00A0mb-0 mt-1" }, "I acknowledge all of the above. ", index.h("i", null, "(required)")))))));
4755
- }
4756
- handleCheckboxToggle() {
4757
- state$2.qSuperQuestionnaire.readDutyOfDisclosure = !state$2.qSuperQuestionnaire
4758
- .readDutyOfDisclosure;
4759
- state$2.qSuperQuestionnaire.reviewedApplication = !state$2.qSuperQuestionnaire
4760
- .reviewedApplication;
4761
- state$2.continueAllowed = !state$2.continueAllowed;
4762
- state$2.nextRoute = getNextRoute();
4763
- }
4764
- pdsViewedAsync() {
4765
- return this.eventTrackingService.TrackSuperFundPdsViewedAsync({
4766
- fundUsi: QSuper.Usi,
4767
- fundName: QSuper.Name,
4768
- pageName: 'Accumulation Page'
4769
- });
4770
- }
4771
- };
4772
- QsuperConsent.style = qsuperCss;
4773
-
4774
- function continueEnabledCheck() {
4775
- // for a given route, ensure the checks on that page are checked before allowing to continue
4776
- const baseAppUrl = superSelectionAppService.appBaseUrl;
4777
- const currentRoute = window.location.pathname.split(baseAppUrl)[1];
4778
- const continueValidConditions = {
4779
- [SuperSelectionAppRoutes.QSuperOptIn]: state$2.qSuperOptInPageCheckbox,
4780
- [SuperSelectionAppRoutes.QSuperJoin]: state$2.qSuperJoinPageCheckbox && state$2.standardChoiceFormSignature
4781
- };
4782
- state$2.continueAllowed = continueValidConditions[currentRoute];
4783
- }
4784
-
4785
- function resetQSuperState() {
4786
- resetQSuperStore();
4787
- state$2.qSuperQuestionnaire = Object.assign(Object.assign({}, state$2.qSuperQuestionnaire), { acceptedDeclaration: false, insuranceChosen: false, readDutyOfDisclosure: false, reviewedApplication: false });
4788
- state$2.qSuperInsuranceQuestions = {
4789
- question1: {
4790
- answered: false
4791
- },
4792
- question2: {
4793
- answered: false
4794
- },
4795
- question3: {
4796
- answered: false
4797
- },
4798
- question4: {
4799
- answered: false
4800
- },
4801
- question5: {
4802
- answered: false
4803
- },
4804
- question6: {
4805
- answered: false
4806
- },
4807
- question7: {
4808
- answered: false
4809
- },
4810
- question8: {
4811
- answered: false
4812
- }
4813
- };
4814
- }
4815
-
4816
- const qsuperCss$1 = "html{scroll-behavior:smooth}img.fluid-fit{-o-object-fit:cover;object-fit:cover}.choice-container{margin-top:0 !important;margin-bottom:0 !important}.confirm-title{font-size:20px;margin-bottom:0}.confirm-text{font-size:14px}.edit-toggle{cursor:pointer}.form-value-text{overflow-wrap:anywhere}.confirm-checkbox-item{-webkit-transform:scale(1.7);transform:scale(1.7)}.checkbox-container{border-radius:4px;background-color:#f5f4f2}.confirm-item-text{font-size:13px}.button-holder{min-width:8rem}.confirm-form-view-only-holder *{font-size:14px}";
4817
-
4818
- const QsuperInsuranceOptIn = class {
4819
- constructor(hostRef) {
4820
- index.registerInstance(this, hostRef);
4821
- this.insuranceChosen = false;
4822
- this.eventTrackingService = EventTrackingService.Instance;
4823
- this.isEligibleForInsurance = false;
4824
- }
4825
- componentDidLoad() {
4826
- return this.eventTrackingService.TrackFinancialProductViewedAsync({
4827
- fundUsi: QSuper.Usi,
4828
- fundName: QSuper.Name,
4829
- financialProduct: QSuper.InsuranceName
4830
- });
4831
- }
4832
- componentWillLoad() {
4833
- resetQSuperState();
4834
- this.ensureInsuranceEligibility();
4835
- }
4836
- render() {
4837
- return (index.h(index.Host, { class: "d-flex flex-fill" }, index.h("sss-qsuper-layout", { class: "d-flex flex-fill" }, index.h("sss-qsuper-confirm-header", null), index.h("div", { class: "mt-4 p-3 checkbox-container" }, index.h("p", null, "As part of becoming a QSuper member, you will receive death cover and total and permanent disability cover when you become eligible. ", index.h("br", null), index.h("br", null), "You will receive this cover when: ", index.h("br", null), index.h("br", null), "You are 25 years or older; ", index.h("br", null), "and You have had at least $6,000 in your accumulation account; ", index.h("br", null), "and At that time, we have received money into your account within the previous 13 months ", index.h("br", null), index.h("br", null), "Please see the Accumulation Account Insurance Guide, available on the QSuper website, for further information ", index.h("br", null), index.h("br", null), "Do you want this insurance cover?"), index.h("div", { class: "d-flex justify-content-between mt-4" }, index.h("div", { class: "button-holder flex-grow-1 mr-2" }, index.h("fl-button", { disabled: !this.isEligibleForInsurance, isBlockElement: true, variant: this.insuranceChosen ? 'primary' : 'secondary', onClick: () => this.handleInsuranceToggle(true) }, "Yes")), index.h("div", { class: "button-holder flex-grow-1 ml-2" }, index.h("fl-button", { disabled: !this.isEligibleForInsurance, isBlockElement: true, variant: !this.insuranceChosen ? 'primary' : 'secondary', onClick: () => this.handleInsuranceToggle(false) }, "No")))), index.h("div", null, index.h("label", { class: "d-flex\u00A0mt-3\u00A0p-3\u00A0checkbox-container", htmlFor: "ackCheckBox" }, index.h("div", { class: "w-auto\u00A0px-2 fl-checkbox-container" }, index.h("input", { id: "ackCheckBox", class: "confirm-checkbox-item", type: "checkbox", onChange: () => this.handleCheckboxToggle() })), index.h("div", { class: "pl-3" }, index.h("p", { class: "confirm-item-text\u00A0mb-0" }, "I acknowledge that my personal information will be shared with QSuper as part of their application process.")))))));
4838
- }
4839
- ensureInsuranceEligibility() {
4840
- if (superSelectionAppService.superBuyer.userProfile.yearsOfAge < QSuper.MinAge) {
4841
- return;
4842
- }
4843
- else if (superSelectionAppService.superBuyer.userProfile.yearsOfAge < QSuper.MinInsuranceAge) {
4844
- this.showIneligibleNotification(`You may still apply for QSuper, however people under the age of ${QSuper.MinInsuranceAge} are not able to apply for insurance.`);
4845
- return;
4846
- }
4847
- this.isEligibleForInsurance = true;
4848
- }
4849
- showIneligibleNotification(description) {
4850
- notificationsService.showInfoNotification({
4851
- title: 'Unable to apply for Insurance',
4852
- description
4853
- });
4854
- }
4855
- handleInsuranceToggle(input) {
4856
- state$2.qSuperQuestionnaire.insuranceChosen = input && this.isEligibleForInsurance;
4857
- this.insuranceChosen = state$2.qSuperQuestionnaire.insuranceChosen;
4858
- state$2.nextRoute = getNextRoute();
4859
- }
4860
- handleCheckboxToggle() {
4861
- state$2.qSuperOptInPageCheckbox = !state$2.qSuperOptInPageCheckbox;
4862
- continueEnabledCheck();
4863
- state$2.nextRoute = getNextRoute();
4864
- }
4865
- };
4866
- QsuperInsuranceOptIn.style = qsuperCss$1;
4867
-
4868
- const qsuperCss$2 = "html{scroll-behavior:smooth}img.fluid-fit{-o-object-fit:cover;object-fit:cover}.choice-container{margin-top:0 !important;margin-bottom:0 !important}.confirm-title{font-size:20px;margin-bottom:0}.confirm-text{font-size:14px}.edit-toggle{cursor:pointer}.form-value-text{overflow-wrap:anywhere}.confirm-checkbox-item{-webkit-transform:scale(1.7);transform:scale(1.7)}.checkbox-container{border-radius:4px;background-color:#f5f4f2}.confirm-item-text{font-size:13px}.button-holder{min-width:8rem}.confirm-form-view-only-holder *{font-size:14px}";
4869
-
4870
- const QsuperInsuranceQuestions = class {
4871
- constructor(hostRef) {
4872
- index.registerInstance(this, hostRef);
4873
- }
4874
- render() {
4875
- return (index.h(index.Host, { class: "d-flex flex-fill" }, index.h("sss-qsuper-layout", { class: "d-flex flex-fill" }, index.h("sss-qsuper-confirm-header", null), index.h("div", { class: "p-3 mt-4 checkbox-container" }, index.h("slot", null), index.h("sss-qsuper-question-yes-no-buttons", null)))));
4876
- }
4877
- };
4878
- QsuperInsuranceQuestions.style = qsuperCss$2;
4879
-
4880
- const superChoicePageCss = "html{scroll-behavior:smooth}img.fluid-fit{-o-object-fit:cover;object-fit:cover}.checkbox-container{border-radius:4px;background-color:#f5f4f2}.confirm-checkbox-item{-webkit-transform:scale(1.7);transform:scale(1.7)}.simple-choices-text{color:#489882}.choice-card{background:#ffffff;-webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.25);box-shadow:0 1px 4px rgba(0, 0, 0, 0.25);border-radius:3px}.choice-card.ss-picked-fund{border:2px solid var(--fl-color-primary)}.card.ss-picked-fund{border:2px solid var(--fl-color-primary)}.ss-choice-logo{width:auto;max-height:70px;-o-object-fit:contain;object-fit:contain}img{width:100%;display:block}.choice-component{width:100%;position:relative}.flexible{-ms-flex-positive:1;flex-grow:1}.fund-item{margin-top:1rem}.promoted-picked-block{background-color:var(--fl-color-primary);border-bottom-right-radius:3px;left:0;top:0}@media (min-width: 992px){.bottom-half-fund-tile{height:240px}}";
4881
-
4882
- const QSuperConfirmSelection = class {
4883
- constructor(hostRef) {
4884
- index.registerInstance(this, hostRef);
4885
- this.eventTrackingService = EventTrackingService.Instance;
4886
- }
4887
- render() {
4888
- return (index.h("sss-qsuper-layout", null, index.h("img", { class: "ss-choice-logo mx-auto", alt: "Simple Financial Choices Pty Ltd", src: index.getAssetPath(`assets/logo-qsuper.png`) }), index.h("div", { class: "row" }, index.h("div", { class: "col text-center" }, index.h("p", { class: "confirm-title font-weight-bold mb-0" }, "You have chosen to join QSuper"))), index.h("div", { class: "my-3 card p-3" }, index.h("p", { class: "confirm-text" }, "We are almost there... All you have to do now is sign the super choice form. We'll prefill it for you. Make sure the info is correct. Your application to join the fund is subject to Trustee approval."), index.h("p", { class: "confirm-text mb-0" }, "You've chosen to stay with your existing fund. Review the details below and click continue to confirm your choice")), index.h("div", { class: "card p-3" }, index.h("p", { class: "text-center" }, "100 years strong"), index.h("p", { class: "text-center" }, "One of Australia's largest funds"), index.h("p", { class: "text-center mb-0" }, "Awarded SuperRatings highest performance rating")), index.h("div", { class: "mt-3" }, index.h("p", { class: "text-center confirm-text" }, "Your application to join the fund is subject to Trustee approval.")), index.h("div", null, index.h("label", { class: "d-flex\u00A0mt-4\u00A0p-3\u00A0checkbox-container", htmlFor: "confirmCheckBox" }, index.h("div", { class: "w-auto\u00A0px-2 py-2 fl-checkbox-container" }, index.h("input", { id: "confirmCheckBox", class: "confirm-checkbox-item", type: "checkbox", onChange: () => this.handleCheckboxToggle() })), index.h("div", { class: "pl-3" }, index.h("p", { class: "confirm-item-text mb-0 mt-1" }, "I've read and understood the", ' ', index.h("a", { target: "_blank", onClick: () => this.pdsViewedAsync(), href: navigationService.toExternalUrl('https://qsuper.qld.gov.au/calculators-and-forms/publications/product-disclosure-statements/') }, "PDS"), ' ', "and confirm all information I have provided is true and correct. I understand that my information will be sent to the trustee of this fund to process my request to join and I consent to my TFN, as currently held on the Flare Platform, being given to the trustee in order to open and administer my account.")))), index.h("sss-standard-choice-form", { onStandardChoiceFormSignatureUpdated: (event) => {
4889
- state$2.standardChoiceFormSignature = event.detail.standardChoiceFormSignature;
4890
- continueEnabledCheck();
4891
- } })));
4892
- }
4893
- handleCheckboxToggle() {
4894
- state$2.qSuperJoinPageCheckbox = !state$2.qSuperJoinPageCheckbox;
4895
- continueEnabledCheck();
4896
- state$2.nextRoute = getNextRoute();
4897
- }
4898
- pdsViewedAsync() {
4899
- return this.eventTrackingService.TrackSuperFundPdsViewedAsync({
4900
- fundUsi: QSuper.Usi,
4901
- fundName: QSuper.Name,
4902
- pageName: 'Confirm Page'
4903
- });
4904
- }
4905
- };
4906
- QSuperConfirmSelection.style = superChoicePageCss;
4907
-
4908
- class QSuperChoiceApi {
4909
- async submitQSuperChoiceAsync(dto) {
4910
- return buildBackendApiClient()
4911
- .url('super-choice/qsuper')
4912
- .post(dto)
4913
- .badRequest(() => {
4914
- throw new Error('Failed to process QSuper join request');
4915
- })
4916
- .text();
4917
- }
4918
- }
4919
- const qsuperChoiceApi = new QSuperChoiceApi();
4920
-
4921
- async function handleConfirmClickAsync() {
4922
- if (!state$2.continueAllowed)
4923
- return;
4924
- state$2.continueAllowed = false;
4925
- if (state$2.currentQSuperFormPage === QSuperFormPages.InsuranceConfirm &&
4926
- state$2.qSuperQuestionnaire.insuranceChosen) {
4927
- state$2.currentQSuperFormPage = QSuperFormPages.InsuranceQuestions;
4928
- return;
4929
- }
4930
- // if insurance hasn't been chosen - skip the accumulation page
4931
- if (state$2.currentQSuperFormPage === QSuperFormPages.InsuranceConfirm &&
4932
- !state$2.qSuperQuestionnaire.insuranceChosen) {
4933
- state$2.currentQSuperFormPage = QSuperFormPages.AccumulationAccount;
4934
- return;
4935
- }
4936
- if (state$2.currentQSuperFormPage === QSuperFormPages.InsuranceQuestions) {
4937
- state$2.currentQSuperFormPage = QSuperFormPages.AccumulationAccount;
4938
- return;
4939
- }
4940
- if (state$2.currentQSuperFormPage === QSuperFormPages.AccumulationAccount) {
4941
- state$2.qSuperFormValid = false;
4942
- state$2.currentQSuperFormPage = QSuperFormPages.ConfirmSelection;
4943
- return;
4944
- }
4945
- if (state$2.currentQSuperFormPage === QSuperFormPages.ConfirmSelection) {
4946
- state$2.qSuperQuestionnaire.acceptedDeclaration = true;
4947
- const qSuperJoinRequest = {
4948
- questionnaire: state$2.qSuperQuestionnaire,
4949
- standardChoiceFormSignature: state$2.standardChoiceFormSignature,
4950
- shownFunds: superSelectionAppService.promotedFunds
4951
- };
4952
- await qsuperChoiceApi.submitQSuperChoiceAsync(qSuperJoinRequest);
4953
- superSelectionAppService.markSuperSelectionAsSubmitted();
4954
- }
4955
- }
4956
-
4957
- const QsuperLayout = class {
4958
- constructor(hostRef) {
4959
- index.registerInstance(this, hostRef);
4960
- this.isEligible = false;
4961
- this.canContinue = () => this.isEligible && state$2.continueAllowed;
4962
- this.ensureEligibility = () => {
4963
- if (superSelectionAppService.superBuyer.userProfile.yearsOfAge < QSuper.MinAge) {
4964
- this.showIneligibleNotification(`People under the age of ${QSuper.MinAge} are not able to open accounts.`);
4965
- }
4966
- else if (superSelectionAppService.superBuyer.userProfile.yearsOfAge > QSuper.MaxAge) {
4967
- this.showIneligibleNotification(`People over the age of ${QSuper.MaxAge} are not able to open accounts.`);
4968
- }
4969
- else {
4970
- this.isEligible = true;
4971
- }
4972
- };
4973
- this.showIneligibleNotification = (description) => {
4974
- notificationsService.showInfoNotification({
4975
- title: 'Unable to apply for QSuper',
4976
- description
4977
- });
4978
- };
4979
- }
4980
- async componentWillLoad() {
4981
- this.ensureEligibility();
4982
- state$2.nextRoute = getNextRoute();
4983
- }
4984
- render() {
4985
- return (index.h("div", { class: "container" }, index.h("div", { class: "row justify-content-center" }, index.h("div", { class: "col col-sm-10 col-md-7" }, index.h("slot", null), index.h("div", { class: "mt-4" }, index.h("sss-notifications-section", null)), index.h("div", { class: "d-flex mt-4" }, index.h("div", { class: "flex-grow-1 w-50" }, index.h("div", { class: "mr-2" }, index.h("fl-button", { onClick: () => navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ChoicePage), isBlockElement: true, variant: "secondary" }, index.h("span", null, "Back")))), index.h("div", { class: "flex-grow-1 w-50" }, index.h("div", { class: "ml-2" }, index.h("fl-promise-button", { isBlockElement: true, disabled: !this.canContinue(), promiseFn: () => this.tryAsync() }, index.h("span", null, "Continue")))))))));
4986
- }
4987
- async tryAsync() {
4988
- try {
4989
- if (!this.canContinue()) {
4990
- return;
4991
- }
4992
- await handleConfirmClickAsync();
4993
- navigationService.navigateInternally(this.history, state$2.nextRoute);
4994
- }
4995
- catch (error) {
4996
- notificationsService.showErrorNotification({
4997
- title: "Couldn't process your request",
4998
- description: 'We had an issue processing your request to join QSuper. Please try again shortly.'
4999
- });
5000
- state$2.continueAllowed = true;
5001
- }
5002
- }
5003
- static get assetsDirs() { return ["assets"]; }
5004
- };
5005
- injectHistory(QsuperLayout);
5006
-
5007
- const Question1 = class {
5008
- constructor(hostRef) {
5009
- index.registerInstance(this, hostRef);
5010
- }
5011
- render() {
5012
- return (index.h(index.Host, { class: "d-flex flex-fill" }, index.h("sss-qsuper-insurance-questions", null, index.h("p", { class: "font-weight-bold" }, "Question 1"), index.h("p", { class: " mb-0" }, "Are you currently a registered or enrolled nurse or assistant in nursing who is qualified and currently practicing, or working in the retail sector, or food and beverage service?"))));
5013
- }
5014
- };
5015
-
5016
- const Question2 = class {
5017
- constructor(hostRef) {
5018
- index.registerInstance(this, hostRef);
5019
- }
5020
- render() {
5021
- return (index.h(index.Host, { class: "d-flex flex-fill" }, index.h("sss-qsuper-insurance-questions", null, index.h("p", { class: "font-weight-bold" }, "Question 2"), index.h("p", { class: " mb-0" }, "Are you currently a qualified tradesperson currently working within your area of expertise (e.g. hairdresser, chef, plumber, electrician, plasterer, carpenter or concreter), or a skilled worker with light manual duties (e.g. jeweller, building inspector, laboratory technician, foreman or office equipment technician)?"))));
5022
- }
5023
- };
5024
-
5025
- const Question3 = class {
5026
- constructor(hostRef) {
5027
- index.registerInstance(this, hostRef);
5028
- }
5029
- render() {
5030
- return (index.h(index.Host, { class: "d-flex flex-fill" }, index.h("sss-qsuper-insurance-questions", null, index.h("p", { class: "font-weight-bold" }, "Question 3"), index.h("p", { class: " mb-0" }, "Are you currently a police officer, firefighter, paramedic, or other emergency or protective services worker, including security guard or corrections officer, or a professional sportsperson, or working in a manual occupation which does not require trade specific qualifications and may be subject to accident or environment hazards (e.g. earthmover, driver, cleaner, labourer, factory worker or agricultural worker)?"))));
5031
- }
5032
- };
5033
-
5034
- const Question4 = class {
5035
- constructor(hostRef) {
5036
- index.registerInstance(this, hostRef);
5037
- }
5038
- render() {
5039
- return (index.h(index.Host, { class: "d-flex flex-fill" }, index.h("sss-qsuper-insurance-questions", null, index.h("p", { class: "font-weight-bold" }, "Question 4"), index.h("p", { class: " mb-0" }, "Are the usual work activities of your job considered office based or school teaching ( meaning you spend at least 80% of your work time doing clerical, call centre, administrative or other office or classroom based activities), or are you a medical practitioner, lawyer or engineer who spends at least 80% of your work hours in an office or clinical environment?"))));
5040
- }
5041
- };
5042
-
5043
- const Question5 = class {
5044
- constructor(hostRef) {
5045
- index.registerInstance(this, hostRef);
5046
- }
5047
- render() {
5048
- return (index.h(index.Host, { class: "d-flex flex-fill" }, index.h("sss-qsuper-insurance-questions", null, index.h("p", { class: "font-weight-bold" }, "Question 5"), index.h("p", { class: " mb-0" }, "Do you currently perform, or intend to work in a job within the next three months that includes, any of the following risky activities: handling firearms (other than as a police officer, correctional officer or licensed security guard), dangerous chemicals or explosives, or offshore work \u2013 oil and gas platforms, ships at sea, or being underground (in construction and mining environments) or underwater for more than 20% of total at work time, or working at heights over 20 metres in any environment requiring hard hat and harness for safety by law, or crop dusting, aerial mustering or any low level flying activity (defined as below 150 metres or 500 feet), or flying more than 200 hours per annum as a passenger other than on a commercial airline, or as a pilot (fixed wing or helicopter)?"))));
5049
- }
5050
- };
5051
-
5052
- const Question6 = class {
5053
- constructor(hostRef) {
5054
- index.registerInstance(this, hostRef);
5055
- }
5056
- render() {
5057
- return (index.h(index.Host, { class: "d-flex flex-fill" }, index.h("sss-qsuper-insurance-questions", null, index.h("p", { class: "font-weight-bold" }, "Question 6"), index.h("p", { class: " mb-0" }, "Are you earning more than $120,000 a year, (before tax and employer paid superannuation), from your job?"))));
5058
- }
5059
- };
5060
-
5061
- const Question7 = class {
5062
- constructor(hostRef) {
5063
- index.registerInstance(this, hostRef);
5064
- }
5065
- render() {
5066
- return (index.h(index.Host, { class: "d-flex flex-fill" }, index.h("sss-qsuper-insurance-questions", null, index.h("p", { class: "font-weight-bold" }, "Question 7"), index.h("p", { class: " mb-0" }, "Do you have a university qualification which you are using/is required in your current role?"))));
5067
- }
5068
- };
5069
-
5070
- const Question8 = class {
5071
- constructor(hostRef) {
5072
- index.registerInstance(this, hostRef);
5073
- }
5074
- render() {
5075
- return (index.h(index.Host, { class: "d-flex flex-fill" }, index.h("sss-qsuper-insurance-questions", null, index.h("p", { class: "font-weight-bold" }, "Question 8"), index.h("p", { class: " mb-0" }, "Do you have a senior/executive level management role in your company (your direct reports would be mid-level managers or skilled specialists in a sedentary setting), or is your role considered professional (e.g. doctor, solicitor, accountant \u2013 requiring membership of a professional or government body to practice in your occupation)?"))));
5076
- }
5077
- };
5078
-
5079
- const QsuperQuestionYesNoButtons = class {
5080
- constructor(hostRef) {
5081
- index.registerInstance(this, hostRef);
5082
- }
5083
- render() {
5084
- return (index.h("div", { class: "d-flex mt-4" }, index.h("div", { class: "flex-grow-1 w-50" }, index.h("div", { class: "mr-2" }, index.h("fl-button", { onClick: () => this.handleQuestionClick(true), isBlockElement: true, variant: "secondary" }, index.h("span", null, "Yes")))), index.h("div", { class: "flex-grow-1 w-50" }, index.h("div", { class: "ml-2" }, index.h("fl-promise-button", { isBlockElement: true, variant: "secondary", onClick: () => this.handleQuestionClick(false) }, index.h("span", null, "No"))))));
5085
- }
5086
- handleQuestionClick(input) {
5087
- // on click of yes or no - record this to state
5088
- const baseAppUrl = superSelectionAppService.appBaseUrl;
5089
- const currentQuestion = window.location.pathname
5090
- .split(baseAppUrl + '/qsuper/insurance/')[1]
5091
- .replace(/\/+$/, '');
5092
- if (state$2.qSuperQuestionnaire.questions === undefined) {
5093
- state$2.qSuperQuestionnaire.questions = {
5094
- question1: false,
5095
- question2: false,
5096
- question3: false,
5097
- question4: false,
5098
- question5: false,
5099
- question6: false,
5100
- question7: false,
5101
- question8: false
5102
- };
5103
- }
5104
- state$2.qSuperQuestionnaire.questions[currentQuestion] = input;
5105
- state$2.qSuperInsuranceQuestions[currentQuestion].answered = true;
5106
- state$2.nextRoute = getNextRoute();
5107
- navigationService.navigateInternally(this.history, state$2.nextRoute);
5108
- }
5109
- };
5110
- injectHistory(QsuperQuestionYesNoButtons);
5111
-
5112
4501
  const selectedSuperChoiceSectionCss = "html{scroll-behavior:smooth}img.fluid-fit{-o-object-fit:cover;object-fit:cover}.picked-block{background-color:var(--fl-color-primary);border-top-right-radius:3px;right:0;top:0}.picked-box-border{border:2px solid var(--fl-color-primary)}";
5113
4502
 
5114
4503
  const SelectedSuperChoiceSection = class {
@@ -5407,7 +4796,7 @@ const initialSlateSuper = {
5407
4796
  shownFunds: []
5408
4797
  }
5409
4798
  };
5410
- const { state: state$3 } = createStore(initialSlateSuper);
4799
+ const { state: state$2 } = createStore(initialSlateSuper);
5411
4800
 
5412
4801
  class SlateIFrameBuilder {
5413
4802
  constructor() {
@@ -5452,7 +4841,7 @@ class SlateIFrameBuilder {
5452
4841
  switch (data.type) {
5453
4842
  case 'success':
5454
4843
  if (data.memberNumber) {
5455
- state$3.slateFundForm.memberNumber = data.memberNumber;
4844
+ state$2.slateFundForm.memberNumber = data.memberNumber;
5456
4845
  navigationService.navigateInternally(history, SuperSelectionAppRoutes.SlateStandardChoice);
5457
4846
  break;
5458
4847
  }
@@ -5565,13 +4954,13 @@ const SlateStandardChoicePage = class {
5565
4954
  return (index.h(index.Host, { class: "d-flex flex-fill" }, index.h("div", { class: "container" }, index.h("div", { class: "row justify-content-center" }, index.h("div", { class: "col col-sm-10 col-md-7" }, index.h("sss-slatesuper-header", null), index.h("div", null, index.h("form", { noValidate: true, onSubmit: (ev) => ev.preventDefault(), class: {
5566
4955
  'was-validated': this.formState === 'validated'
5567
4956
  }, ref: (el) => (this.formElement = el) }, index.h("sss-standard-choice-form", { onStandardChoiceFormSignatureUpdated: (event) => {
5568
- state$3.slateFundForm = Object.assign(Object.assign({}, state$3.slateFundForm), event.detail);
4957
+ state$2.slateFundForm = Object.assign(Object.assign({}, state$2.slateFundForm), event.detail);
5569
4958
  } })), index.h("div", { class: "d-flex mt-4" }, index.h("div", { class: "flex-grow-1 w-50" }, index.h("div", { class: "mr-2" }, index.h("stencil-route-link", { url: "/" }, index.h("fl-button", { isBlockElement: true, variant: "secondary" }, index.h("span", null, "Back"))))), index.h("div", { class: "flex-grow-1 w-50" }, index.h("div", { class: "ml-2" }, index.h("fl-promise-button", { isBlockElement: true, promiseFn: () => this.handleSubmitForm() }, index.h("span", null, "Save and continue")))))))))));
5570
4959
  }
5571
4960
  async handleSubmitForm() {
5572
4961
  this.formState = 'validated';
5573
4962
  if (this.formElement.checkValidity()) {
5574
- await slateChoiceApi.submitSlateChoiceAsync(Object.assign(Object.assign({}, state$3.slateFundForm), { shownFunds: superSelectionAppService.promotedFunds }));
4963
+ await slateChoiceApi.submitSlateChoiceAsync(Object.assign(Object.assign({}, state$2.slateFundForm), { shownFunds: superSelectionAppService.promotedFunds }));
5575
4964
  superSelectionAppService.markSuperSelectionAsSubmitted();
5576
4965
  navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.Success);
5577
4966
  }
@@ -5635,7 +5024,7 @@ const Success = class {
5635
5024
  }
5636
5025
  };
5637
5026
 
5638
- const superChoicePageCss$1 = "html{scroll-behavior:smooth}img.fluid-fit{-o-object-fit:cover;object-fit:cover}.checkbox-container{border-radius:4px;background-color:#f5f4f2}.confirm-checkbox-item{-webkit-transform:scale(1.7);transform:scale(1.7)}.simple-choices-text{color:#489882}.choice-card{background:#ffffff;-webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.25);box-shadow:0 1px 4px rgba(0, 0, 0, 0.25);border-radius:3px}.choice-card.ss-picked-fund{border:2px solid var(--fl-color-primary)}.card.ss-picked-fund{border:2px solid var(--fl-color-primary)}.ss-choice-logo{width:auto;max-height:70px;-o-object-fit:contain;object-fit:contain}img{width:100%;display:block}.choice-component{width:100%;position:relative}.flexible{-ms-flex-positive:1;flex-grow:1}.fund-item{margin-top:1rem}.promoted-picked-block{background-color:var(--fl-color-primary);border-bottom-right-radius:3px;left:0;top:0}@media (min-width: 992px){.bottom-half-fund-tile{height:240px}}";
5027
+ const superChoicePageCss = "html{scroll-behavior:smooth}img.fluid-fit{-o-object-fit:cover;object-fit:cover}.checkbox-container{border-radius:4px;background-color:#f5f4f2}.confirm-checkbox-item{-webkit-transform:scale(1.7);transform:scale(1.7)}.simple-choices-text{color:#489882}.choice-card{background:#ffffff;-webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.25);box-shadow:0 1px 4px rgba(0, 0, 0, 0.25);border-radius:3px}.choice-card.ss-picked-fund{border:2px solid var(--fl-color-primary)}.card.ss-picked-fund{border:2px solid var(--fl-color-primary)}.ss-choice-logo{width:auto;max-height:70px;-o-object-fit:contain;object-fit:contain}img{width:100%;display:block}.choice-component{width:100%;position:relative}.flexible{-ms-flex-positive:1;flex-grow:1}.fund-item{margin-top:1rem}.promoted-picked-block{background-color:var(--fl-color-primary);border-bottom-right-radius:3px;left:0;top:0}@media (min-width: 992px){.bottom-half-fund-tile{height:250px}}";
5639
5028
 
5640
5029
  const SuperChoiceItem = class {
5641
5030
  constructor(hostRef) {
@@ -5661,7 +5050,41 @@ const SuperChoiceItem = class {
5661
5050
  }
5662
5051
  static get assetsDirs() { return ["assets"]; }
5663
5052
  };
5664
- SuperChoiceItem.style = superChoicePageCss$1;
5053
+ SuperChoiceItem.style = superChoicePageCss;
5054
+
5055
+ const Slate = {
5056
+ Id: 'slate',
5057
+ Name: 'Slate Super',
5058
+ PdsUrl: 'https://slate.co/pds/?utm_source=flare&utm_medium=superselection',
5059
+ Usi: '32367272075001',
5060
+ DiversaAbn: '49 006 421 638'
5061
+ };
5062
+ const AustralianRetirementTrust = {
5063
+ Id: 'australian-retirement-trust',
5064
+ Name: 'Australian Retirement Trust',
5065
+ PdsUrl: 'https://www.australianretirementtrust.com.au/library/media/pdfs/pds/super-savings-product-disclosure-statement-and-membership-form.pdf',
5066
+ Abn: '60 905 115 063'
5067
+ };
5068
+ const Aware = {
5069
+ Id: 'aware',
5070
+ Name: 'Aware Super',
5071
+ PdsUrlText: 'View the PDS and TMD',
5072
+ PdsUrl: 'https://aware.com.au/member/forms-and-resources/pds/FSS',
5073
+ Abn: '53 226 460 365'
5074
+ };
5075
+ const Active = {
5076
+ Id: 'active',
5077
+ Name: 'Active Super',
5078
+ PdsUrlText: 'View the PDS',
5079
+ PdsUrl: 'https://www.activesuper.com.au/the-basics/tools-and-resources/product-disclosure-statements/',
5080
+ Abn: '28 901 371 321'
5081
+ };
5082
+ const PromotedFundIdList = [
5083
+ { dtoPropName: 'slate', id: Slate.Id },
5084
+ { dtoPropName: 'australianRetirementTrust', id: AustralianRetirementTrust.Id },
5085
+ { dtoPropName: 'aware', id: Aware.Id },
5086
+ { dtoPropName: 'active', id: Active.Id }
5087
+ ];
5665
5088
 
5666
5089
  class ChosenFundService {
5667
5090
  async GetChosenFundAsync() {
@@ -5710,7 +5133,7 @@ class ChosenFundService {
5710
5133
  }
5711
5134
  const chosenFundService = new ChosenFundService();
5712
5135
 
5713
- const superChoicePageCss$2 = "html{scroll-behavior:smooth}img.fluid-fit{-o-object-fit:cover;object-fit:cover}.checkbox-container{border-radius:4px;background-color:#f5f4f2}.confirm-checkbox-item{-webkit-transform:scale(1.7);transform:scale(1.7)}.simple-choices-text{color:#489882}.choice-card{background:#ffffff;-webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.25);box-shadow:0 1px 4px rgba(0, 0, 0, 0.25);border-radius:3px}.choice-card.ss-picked-fund{border:2px solid var(--fl-color-primary)}.card.ss-picked-fund{border:2px solid var(--fl-color-primary)}.ss-choice-logo{width:auto;max-height:70px;-o-object-fit:contain;object-fit:contain}img{width:100%;display:block}.choice-component{width:100%;position:relative}.flexible{-ms-flex-positive:1;flex-grow:1}.fund-item{margin-top:1rem}.promoted-picked-block{background-color:var(--fl-color-primary);border-bottom-right-radius:3px;left:0;top:0}@media (min-width: 992px){.bottom-half-fund-tile{height:240px}}";
5136
+ const superChoicePageCss$1 = "html{scroll-behavior:smooth}img.fluid-fit{-o-object-fit:cover;object-fit:cover}.checkbox-container{border-radius:4px;background-color:#f5f4f2}.confirm-checkbox-item{-webkit-transform:scale(1.7);transform:scale(1.7)}.simple-choices-text{color:#489882}.choice-card{background:#ffffff;-webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.25);box-shadow:0 1px 4px rgba(0, 0, 0, 0.25);border-radius:3px}.choice-card.ss-picked-fund{border:2px solid var(--fl-color-primary)}.card.ss-picked-fund{border:2px solid var(--fl-color-primary)}.ss-choice-logo{width:auto;max-height:70px;-o-object-fit:contain;object-fit:contain}img{width:100%;display:block}.choice-component{width:100%;position:relative}.flexible{-ms-flex-positive:1;flex-grow:1}.fund-item{margin-top:1rem}.promoted-picked-block{background-color:var(--fl-color-primary);border-bottom-right-radius:3px;left:0;top:0}@media (min-width: 992px){.bottom-half-fund-tile{height:250px}}";
5714
5137
 
5715
5138
  const SuperChoicePage = class {
5716
5139
  constructor(hostRef) {
@@ -5732,7 +5155,6 @@ const SuperChoicePage = class {
5732
5155
  });
5733
5156
  }
5734
5157
  async componentWillLoad() {
5735
- resetQSuperState();
5736
5158
  this.chosenFund = await chosenFundService.GetChosenFundAsync();
5737
5159
  }
5738
5160
  render() {
@@ -5764,22 +5186,6 @@ const SuperChoicePage = class {
5764
5186
  abnInfo: `Diversa Trustees Limited`,
5765
5187
  abn: Slate.DiversaAbn
5766
5188
  },
5767
- {
5768
- fundId: QSuper.Id,
5769
- usi: QSuper.Usi,
5770
- name: QSuper.Name,
5771
- logo: 'logo-qsuper-square.png',
5772
- route: SuperSelectionAppRoutes.QSuperOptIn,
5773
- pdsLink: QSuper.PdsUrl,
5774
- features: [
5775
- { order: 1, value: '100 years strong' },
5776
- { order: 2, value: `One of Australia's largest funds` },
5777
- { order: 3, value: 'Awarded SuperRatings highest performance rating' }
5778
- ],
5779
- disclaimer: (index.h("p", { class: "small text-muted" }, "You should consider the", ' ', index.h("a", { target: "_blank", href: navigationService.toExternalUrl(QSuper.PdsUrl), onClick: () => this.pdsViewedAsync(QSuper.Name, QSuper.Usi) }, "Product Disclosure Statement"), ' ', "before deciding to invest in or apply to become a member of this fund.")),
5780
- abnInfo: `QSuper Board`,
5781
- abn: QSuper.Abn
5782
- },
5783
5189
  {
5784
5190
  fundId: AustralianRetirementTrust.Id,
5785
5191
  name: AustralianRetirementTrust.Name,
@@ -5826,7 +5232,7 @@ const SuperChoicePage = class {
5826
5232
  { order: 3, value: 'Calls answered in less than 20 seconds' }
5827
5233
  ],
5828
5234
  featureSubText: '* Past performance is not a reliable indicator of future performance.',
5829
- disclaimer: (index.h("p", { class: "small text-muted" }, "Active Super Accumulation Scheme is issued by LGSS Pty Limited, as trustee for Local Government Super ('Active Super'). Consider the PDS and TMD at", ' ', index.h("a", { target: "_blank", href: "https://www.activesuper.com.au/" }, "activesuper.com.au"), ' ', "before making a decision.")),
5235
+ disclaimer: (index.h("p", { class: "small text-muted" }, "Active Super Accumulation Scheme is issued by LGSS Pty Limited, as trustee for Local Government Super ('Active Super'). Consider the PDS and TMD at", ' ', index.h("a", { target: "_blank", onClick: () => this.pdsViewedAsync(Active.Name), href: navigationService.toExternalUrl(Active.PdsUrl) }, "activesuper.com.au"), ' ', "before making a decision.")),
5830
5236
  abnInfo: `Local Government Super (Active Super)`,
5831
5237
  abn: Active.Abn
5832
5238
  }
@@ -5852,14 +5258,6 @@ const SuperChoicePage = class {
5852
5258
  promotedFundsShown
5853
5259
  });
5854
5260
  }
5855
- else if (fund.fundId === QSuper.Id) {
5856
- await this.eventTrackingService.TrackPromotedSuperFundDetailViewedAsync({
5857
- fundUsi: QSuper.Usi,
5858
- fundName: QSuper.Name,
5859
- promotedFundId: QSuper.Id,
5860
- promotedFundsShown
5861
- });
5862
- }
5863
5261
  else if (fund.fundId === AustralianRetirementTrust.Id) {
5864
5262
  await this.eventTrackingService.TrackPromotedSuperFundDetailViewedAsync({
5865
5263
  fundName: AustralianRetirementTrust.Name,
@@ -5895,7 +5293,7 @@ const SuperChoicePage = class {
5895
5293
  }
5896
5294
  static get assetsDirs() { return ["assets"]; }
5897
5295
  };
5898
- SuperChoicePage.style = superChoicePageCss$2;
5296
+ SuperChoicePage.style = superChoicePageCss$1;
5899
5297
 
5900
5298
  const routeCss = "stencil-route.inactive{display:none}";
5901
5299
 
@@ -6864,7 +6262,6 @@ const SuperSelectionApp = class {
6864
6262
  });
6865
6263
  }
6866
6264
  async componentDidLoad() {
6867
- resetQSuperState();
6868
6265
  await superSelectionAppService.loadAppStateAsync();
6869
6266
  this.isAppInitialised = true;
6870
6267
  this.initialised.emit({
@@ -17275,21 +16672,6 @@ exports.sss_my_own_fund_inputs = MyOwnFundInputs;
17275
16672
  exports.sss_notifications_section = NotificationsSection;
17276
16673
  exports.sss_promoted_fund_join_page = PromotedFundJoinPage;
17277
16674
  exports.sss_promoted_fund_standard_choice_page = PromotedFundStandardChoicePage;
17278
- exports.sss_qsuper_confirm_header = QsuperConfirmHeader;
17279
- exports.sss_qsuper_consent = QsuperConsent;
17280
- exports.sss_qsuper_insurance_opt_in = QsuperInsuranceOptIn;
17281
- exports.sss_qsuper_insurance_questions = QsuperInsuranceQuestions;
17282
- exports.sss_qsuper_join = QSuperConfirmSelection;
17283
- exports.sss_qsuper_layout = QsuperLayout;
17284
- exports.sss_qsuper_question_1 = Question1;
17285
- exports.sss_qsuper_question_2 = Question2;
17286
- exports.sss_qsuper_question_3 = Question3;
17287
- exports.sss_qsuper_question_4 = Question4;
17288
- exports.sss_qsuper_question_5 = Question5;
17289
- exports.sss_qsuper_question_6 = Question6;
17290
- exports.sss_qsuper_question_7 = Question7;
17291
- exports.sss_qsuper_question_8 = Question8;
17292
- exports.sss_qsuper_question_yes_no_buttons = QsuperQuestionYesNoButtons;
17293
16675
  exports.sss_selected_super_choice_section = SelectedSuperChoiceSection;
17294
16676
  exports.sss_self_managed_fund = SelfManagedFund;
17295
16677
  exports.sss_self_managed_fund_inputs = SelfManagedFundInputs;