@flarehr/apollo-super-selection 1.3.65232 → 1.4.32906
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/apollo-super-selection.js +1 -1
- package/dist/lib/apollo-super-selection/p-2054e932.system.entry.js +69 -0
- package/dist/lib/apollo-super-selection/{p-ef3afa00.system.entry.js → p-22939048.system.entry.js} +1 -1
- package/dist/lib/apollo-super-selection/p-24d6e2b8.js +1 -0
- package/dist/lib/apollo-super-selection/{p-02f24922.system.entry.js → p-2b42304a.system.entry.js} +1 -1
- package/dist/lib/apollo-super-selection/{p-9c855634.entry.js → p-33eca162.entry.js} +1 -1
- package/dist/lib/apollo-super-selection/p-4e871154.entry.js +1 -0
- package/dist/lib/apollo-super-selection/{p-6ac8791e.system.entry.js → p-53b231f0.system.entry.js} +1 -1
- package/dist/lib/apollo-super-selection/{p-b89b68db.entry.js → p-5c73c587.entry.js} +1 -1
- package/dist/lib/apollo-super-selection/{p-fcb4050d.entry.js → p-69bbf1dd.entry.js} +1 -1
- package/dist/lib/apollo-super-selection/{p-44bec843.system.js → p-71ca4cf8.system.js} +1 -1
- package/dist/lib/apollo-super-selection/p-9101bd39.entry.js +14 -0
- package/dist/lib/apollo-super-selection/p-97188c78.system.js +1 -0
- package/dist/lib/apollo-super-selection/{p-23cfdd82.entry.js → p-9d2a7c0e.entry.js} +1 -1
- package/dist/lib/apollo-super-selection/p-a0063575.system.entry.js +1 -0
- package/dist/lib/apollo-super-selection/p-b00f648b.entry.js +1 -0
- package/dist/lib/apollo-super-selection/p-bd6e6a8f.system.js +1 -0
- package/dist/lib/apollo-super-selection/p-c775c0e4.system.entry.js +1 -0
- package/dist/lib/apollo-super-selection/p-cd3ed541.system.js +1 -0
- package/dist/lib/apollo-super-selection/{p-51c6dd08.js → p-db0bded8.js} +1 -1
- package/dist/lib/apollo-super-selection/{p-f29066b9.system.entry.js → p-e957b393.system.entry.js} +1 -1
- package/dist/lib/apollo-super-selection/{p-7a89efaf.js → p-fdadb647.js} +1 -1
- package/dist/lib/cjs/apollo-super-selection.cjs.js +1 -1
- package/dist/lib/cjs/custom-fund-choice.api-293c1ace.js +3209 -0
- package/dist/lib/cjs/loader.cjs.js +1 -1
- package/dist/lib/cjs/{sss-button_34.cjs.entry.js → sss-button_32.cjs.entry.js} +577 -3838
- package/dist/lib/cjs/sss-super-byof-host.cjs.entry.js +111 -0
- package/dist/lib/collection/apollo-super-selection.css +1 -1
- package/dist/lib/collection/collection-manifest.json +6 -9
- package/dist/lib/collection/components/super-byof/super-byof-types.js +1 -0
- package/dist/lib/collection/components/super-byof/super-byof.js +139 -0
- package/dist/lib/collection/components/super-campaign/super-campaign.js +15 -18
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/custom-fund.js +5 -5
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/smsf-engagement-step-host.js +161 -0
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/smsf-engagement-step-types.js +1 -0
- package/dist/lib/collection/components/super-selection-app/header-section/header-section.js +24 -5
- package/dist/lib/collection/components/super-selection-app/services/event-tracking.service.js +10 -0
- package/dist/lib/collection/components/super-selection-app/services/super-selection-app.routes.js +4 -2
- package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +4 -0
- package/dist/lib/collection/components/super-selection-app/services/super-selection.store.js +1 -0
- package/dist/lib/collection/components/super-smsf/super-smsf-types.js +1 -0
- package/dist/lib/collection/components/super-smsf/super-smsf.form.js +1 -0
- package/dist/lib/collection/components/super-smsf/super-smsf.js +166 -0
- package/dist/lib/esm/{active-router-5e40c0f8.js → active-router-d18b36fb.js} +1 -1
- package/dist/lib/esm/apollo-super-selection.js +2 -2
- package/dist/lib/esm/context-consumer.entry.js +1 -1
- package/dist/lib/esm/custom-fund-choice.api-42801d64.js +3188 -0
- package/dist/lib/esm/{index-189b2180.js → index-107d7c24.js} +1 -1
- package/dist/lib/esm/loader.js +2 -2
- package/dist/lib/esm/{sss-button_34.entry.js → sss-button_32.entry.js} +374 -3633
- package/dist/lib/esm/sss-super-byof-host.entry.js +107 -0
- package/dist/lib/esm/stencil-async-content.entry.js +1 -1
- package/dist/lib/esm/stencil-route-title.entry.js +2 -2
- package/dist/lib/esm/stencil-router-prompt.entry.js +2 -2
- package/dist/lib/esm/stencil-router-redirect.entry.js +2 -2
- package/dist/lib/esm-es5/{active-router-5e40c0f8.js → active-router-d18b36fb.js} +1 -1
- package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
- package/dist/lib/esm-es5/context-consumer.entry.js +1 -1
- package/dist/lib/esm-es5/custom-fund-choice.api-42801d64.js +1 -0
- package/dist/lib/esm-es5/{index-189b2180.js → index-107d7c24.js} +1 -1
- package/dist/lib/esm-es5/loader.js +1 -1
- package/dist/lib/esm-es5/sss-button_32.entry.js +69 -0
- package/dist/lib/esm-es5/sss-super-byof-host.entry.js +1 -0
- package/dist/lib/esm-es5/stencil-async-content.entry.js +1 -1
- package/dist/lib/esm-es5/stencil-route-title.entry.js +1 -1
- package/dist/lib/esm-es5/stencil-router-prompt.entry.js +1 -1
- package/dist/lib/esm-es5/stencil-router-redirect.entry.js +1 -1
- package/dist/lib/types/components/super-byof/super-byof-types.d.ts +26 -0
- package/dist/lib/types/components/super-byof/super-byof.d.ts +19 -0
- package/dist/lib/types/components/super-byof/super-byof.form.d.ts +6 -0
- package/dist/lib/types/components/super-campaign/super-campaign.d.ts +0 -1
- package/dist/lib/types/components/super-selection-app/api/super-selection-events.model.d.ts +8 -0
- package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +1 -0
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/custom-fund.store.d.ts +1 -1
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/smsf-engagement-step-host.d.ts +28 -0
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/smsf-engagement-step-types.d.ts +15 -0
- package/dist/lib/types/components/super-selection-app/services/event-tracking.service.d.ts +2 -0
- package/dist/lib/types/components/super-selection-app/services/super-selection-app.routes.d.ts +1 -0
- package/dist/lib/types/components/super-selection-app/services/super-selection-app.service.d.ts +1 -0
- package/dist/lib/types/components/super-selection-app/services/super-selection.store.d.ts +1 -0
- package/dist/lib/types/components/super-smsf/super-smsf-types.d.ts +34 -0
- package/dist/lib/types/components/super-smsf/super-smsf.d.ts +20 -0
- package/dist/lib/types/components.d.ts +39 -63
- package/package.json +2 -1
- package/dist/lib/apollo-super-selection/p-071b8545.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-51aefdb1.system.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-6cfd85e3.system.entry.js +0 -69
- package/dist/lib/apollo-super-selection/p-80178f87.system.js +0 -1
- package/dist/lib/apollo-super-selection/p-bdcfc026.system.js +0 -1
- package/dist/lib/apollo-super-selection/p-d9f1e505.entry.js +0 -14
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-inputs.js +0 -143
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund.js +0 -123
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs.js +0 -253
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.js +0 -121
- package/dist/lib/esm-es5/sss-button_34.entry.js +0 -69
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-inputs.d.ts +0 -16
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund.d.ts +0 -13
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs.d.ts +0 -29
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.d.ts +0 -14
- /package/dist/lib/collection/components/{super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.form.js → super-byof/super-byof.form.js} +0 -0
- /package/dist/lib/types/components/{super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.form.d.ts → super-smsf/super-smsf.form.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __spreadArrays=this&&this.__spreadArrays||function(){for(var r=0,t=0,e=arguments.length;t<e;t++)r+=arguments[t].length;for(var n=Array(r),a=0,t=0;t<e;t++)for(var c=arguments[t],i=0,o=c.length;i<o;i++,a++)n[a]=c[i];return n};System.register(["./p-71ca4cf8.system.js"],(function(r){"use strict";var t;return{setters:[function(r){t=r.h}],execute:function(){var e=function(r,t){var e=new Map;var n=r;var a=function(r,t){if(Array.isArray(r)){__spreadArrays(r).forEach((function(r){t[r]=n[r]}))}else{t[r]=Object.assign({},n)}};var c=function(r,t){if(!e.has(r)){e.set(r,t);a(t,r)}return function(){if(e.has(r)){e.delete(r)}}};var i=function(r,t){var c=r.state;n=c;e.forEach(a);return t};var o=function(r,e){return t(c,e[0])};var s=function(r,t){var n=r.prototype;var a=n.connectedCallback;var i=n.disconnectedCallback;n.connectedCallback=function(){c(this,t);if(a){return a.call(this)}};n.disconnectedCallback=function(){e.delete(this);if(i){i.call(this)}}};return{Provider:i,Consumer:o,injectProps:s}};var n=r("A",e({historyType:"browser",location:{pathname:"",query:{},key:""},titleSuffix:"",root:"/",routeViewsUpdated:function(){}},(function(r,e){return t("context-consumer",{subscribe:r,renderer:e})})))}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,
|
|
1
|
+
import{r as t,a as s}from"./p-db0bded8.js";import{A as e}from"./p-fdadb647.js";const i=class{constructor(s){t(this,s),this.titleSuffix="",this.pageTitle=""}updateDocumentTitle(){const t=this.el;t.ownerDocument&&(t.ownerDocument.title=`${this.pageTitle}${this.titleSuffix||""}`)}componentWillLoad(){this.updateDocumentTitle()}get el(){return s(this)}static get watchers(){return{pageTitle:["updateDocumentTitle"]}}};e.injectProps(i,["titleSuffix"]);export{i as stencil_route_title}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r["throw"](e))}catch(e){o(e)}}function u(e){e.done?n(e.value):i(e.value).then(a,s)}u((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(e){return function(t){return u([e,t])}}function u(a){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,i&&(o=a[0]&2?i["return"]:a[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;if(i=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;i=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){n.label=a[1];break}if(a[0]===6&&n.label<o[1]){n.label=o[1];o=a;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(a);break}if(o[2])n.ops.pop();n.trys.pop();continue}a=t.call(e,n)}catch(e){a=[6,e];i=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-71ca4cf8.system.js","./p-cd3ed541.system.js","./p-97188c78.system.js"],(function(e){"use strict";var t,n,r,i,o,a,s,u,d,l,c;return{setters:[function(e){t=e.r;n=e.h;r=e.H},function(e){i=e.E;o=e.a;a=e.O;s=e.l;u=e.b;d=e.S;l=e.e;c=e.c},function(){}],execute:function(){var f=3e4;var m;(function(e){e[e["NotLoaded"]=1]="NotLoaded";e[e["Loaded"]=2]="Loaded"})(m||(m={}));var b=m.NotLoaded;var h=e("sss_super_byof_host",function(){function e(e){var n=this;t(this,e);this.eventTrackingService=i.Instance;this.subscribeToSuperByofEvents=function(){for(var e in n.byofEventHandlers){document.addEventListener(e,n.byofEventHandlers[e])}};this.unSubscribeFromSuperByofEvents=function(){for(var e in n.byofEventHandlers){document.removeEventListener(e,n.byofEventHandlers[e])}};this.byofLoaded=function(e){return __awaiter(n,void 0,void 0,(function(){return __generator(this,(function(t){if(e.detail.sender==="super-byof"){b=m.Loaded;clearTimeout(this.loadingTimeoutRef);this.eventTrackingService.TrackMyOwnSuperFundDetailViewedAsync({promotedFundsShown:o.promotedFunds,defaultFundUsiSet:a.toUndefined(o.defaultFundUsi)})}return[2,Promise.resolve()]}))}))};this.byofCompleted=function(e){return __awaiter(n,void 0,void 0,(function(){var t=this;return __generator(this,(function(n){if(e.detail.sender==="super-byof"){s.myOwnFundForm={fundUsi:a.fromNullable(e.detail.fundUsi),fundName:a.fromNullable(e.detail.fundName),memberNumber:a.fromNullable(e.detail.memberNumber),memberFirstName:a.fromNullable(e.detail.memberFirstName),memberFamilyName:a.fromNullable(e.detail.memberLastName)};if(o.isBringYourOwnFundCustomStepEnabled&&o.isUsingSuperCampaign){u.navigateInternally(this.history,d.MyOwnFundEngagementStep);return[2]}u.navigateInternallyToStandardChoice({history:this.history,fundName:e.detail.fundName,fundDetails:{type:"myOwnFund",fundName:e.detail.fundName,fundUsi:e.detail.fundUsi,memberNumber:e.detail.memberNumber},handleSubmitFn:function(n){return __awaiter(t,void 0,void 0,(function(){var t;return __generator(this,(function(r){switch(r.label){case 0:t=Object.assign({fundUsi:e.detail.fundUsi,memberNumber:e.detail.memberNumber,memberFirstName:e.detail.memberFirstName,memberFamilyName:e.detail.memberLastName,standardChoiceFormSignature:n},o.promotedFundsConfig);return[4,l.submitCustomFundChoiceAsync(t)];case 1:r.sent();return[2]}}))}))}})}return[2]}))}))};this.byofCancelled=function(e){return __awaiter(n,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:if(!(e.detail.sender==="super-byof"))return[3,2];return[4,u.navigateInternally(this.history,d.ChoicePage)];case 1:t.sent();t.label=2;case 2:return[2]}}))}))};this.byofEventHandlers={"byof-loaded":this.byofLoaded.bind(this),"byof-completed":this.byofCompleted.bind(this),"byof-cancelled":this.byofCancelled.bind(this)}}e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(a.isSome(o.backendUrl)&&a.isSome(o.state.jwt)){this.backendUrl=o.backendUrl.value;this.accessToken=o.state.jwt.value;if(b===m.NotLoaded){this.loadingTimeoutRef=setTimeout(this.byofLoadingTimeoutTriggered.bind(this),f)}this.subscribeToSuperByofEvents()}else{throw Error("SuperByofHost pre-requisites not met.")}return[2]}))}))};e.prototype.disconnectedCallback=function(){clearTimeout(this.loadingTimeoutRef);this.unSubscribeFromSuperByofEvents()};e.prototype.render=function(){return n(r,null,n("sss-header-section",null),n("div",{class:"flex justify-center mt-11"},n("sss-custom-fund",null,n("apollo-super-byof",{"backend-url":this.backendUrl,"access-token":this.accessToken}))))};e.prototype.byofLoadingTimeoutTriggered=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(b!==m.Loaded){throw Error("BYOF component failed to load.")}return[2]}))}))};return e}());c(h)}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as t,H as e}from"./p-db0bded8.js";import{E as i,a as o,O as r,l as a,b as n,S as m,e as d,c as h}from"./p-24d6e2b8.js";import"./p-fdadb647.js";var u;!function(s){s[s.NotLoaded=1]="NotLoaded",s[s.Loaded=2]="Loaded"}(u||(u={}));let c=u.NotLoaded;const f=class{constructor(t){s(this,t),this.eventTrackingService=i.Instance,this.subscribeToSuperByofEvents=()=>{for(const s in this.byofEventHandlers)document.addEventListener(s,this.byofEventHandlers[s])},this.unSubscribeFromSuperByofEvents=()=>{for(const s in this.byofEventHandlers)document.removeEventListener(s,this.byofEventHandlers[s])},this.byofLoaded=async s=>("super-byof"===s.detail.sender&&(c=u.Loaded,clearTimeout(this.loadingTimeoutRef),this.eventTrackingService.TrackMyOwnSuperFundDetailViewedAsync({promotedFundsShown:o.promotedFunds,defaultFundUsiSet:r.toUndefined(o.defaultFundUsi)})),Promise.resolve()),this.byofCompleted=async s=>{if("super-byof"===s.detail.sender){if(a.myOwnFundForm={fundUsi:r.fromNullable(s.detail.fundUsi),fundName:r.fromNullable(s.detail.fundName),memberNumber:r.fromNullable(s.detail.memberNumber),memberFirstName:r.fromNullable(s.detail.memberFirstName),memberFamilyName:r.fromNullable(s.detail.memberLastName)},o.isBringYourOwnFundCustomStepEnabled&&o.isUsingSuperCampaign)return void n.navigateInternally(this.history,m.MyOwnFundEngagementStep);n.navigateInternallyToStandardChoice({history:this.history,fundName:s.detail.fundName,fundDetails:{type:"myOwnFund",fundName:s.detail.fundName,fundUsi:s.detail.fundUsi,memberNumber:s.detail.memberNumber},handleSubmitFn:async t=>{const e=Object.assign({fundUsi:s.detail.fundUsi,memberNumber:s.detail.memberNumber,memberFirstName:s.detail.memberFirstName,memberFamilyName:s.detail.memberLastName,standardChoiceFormSignature:t},o.promotedFundsConfig);await d.submitCustomFundChoiceAsync(e)}})}},this.byofCancelled=async s=>{"super-byof"===s.detail.sender&&await n.navigateInternally(this.history,m.ChoicePage)},this.byofEventHandlers={"byof-loaded":this.byofLoaded.bind(this),"byof-completed":this.byofCompleted.bind(this),"byof-cancelled":this.byofCancelled.bind(this)}}async componentWillLoad(){if(!r.isSome(o.backendUrl)||!r.isSome(o.state.jwt))throw Error("SuperByofHost pre-requisites not met.");this.backendUrl=o.backendUrl.value,this.accessToken=o.state.jwt.value,c===u.NotLoaded&&(this.loadingTimeoutRef=setTimeout(this.byofLoadingTimeoutTriggered.bind(this),3e4)),this.subscribeToSuperByofEvents()}disconnectedCallback(){clearTimeout(this.loadingTimeoutRef),this.unSubscribeFromSuperByofEvents()}render(){return t(e,null,t("sss-header-section",null),t("div",{class:"flex justify-center mt-11"},t("sss-custom-fund",null,t("apollo-super-byof",{"backend-url":this.backendUrl,"access-token":this.accessToken}))))}async byofLoadingTimeoutTriggered(){if(c!==u.Loaded)throw Error("BYOF component failed to load.")}};h(f);export{f as sss_super_byof_host}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-71ca4cf8.system.js","./p-14885f78.system.js","./p-15f0e5eb.system.js"],(function(e,s){"use strict";var t,r,i;return{setters:[function(e){t=e.p;r=e.b},function(){},function(e){i=e.g}],execute:function(){var e=function(){var e=s.meta.url;var r={};if(e!==""){r.resourcesUrl=new URL(".",e).href}return t(r)};e().then((function(e){i();return r([["p-a0063575.system",[[0,"sss-super-byof-host",{history:[16],backendUrl:[32],accessToken:[32]}]]],["p-53b231f0.system",[[0,"context-consumer",{context:[16],renderer:[16],subscribe:[16],unsubscribe:[32]}]]],["p-2b42304a.system",[[0,"stencil-async-content",{documentLocation:[1,"document-location"],content:[32]}]]],["p-22939048.system",[[0,"stencil-route-title",{titleSuffix:[1,"title-suffix"],pageTitle:[1,"page-title"]}]]],["p-e957b393.system",[[0,"stencil-router-prompt",{when:[4],message:[1],history:[16],unblock:[32]}]]],["p-c775c0e4.system",[[0,"stencil-router-redirect",{history:[16],root:[1],url:[1]}]]],["p-2054e932.system",[[0,"sss-prefill",{history:[16],prefill:[32]}],[1,"super-selection-app-host",{sessionState:[32],jwt:[32],appConfiguration:[32],ignoreExistingSelection:[32]}],[0,"sss-default-fund",{history:[16],defaultFundProductName:[32]}],[0,"sss-super-campaign-featured-funds",{history:[16],backendUrl:[32],accessToken:[32],currentView:[32]}],[0,"sss-super-smsf-host",{history:[16],backendUrl:[32],accessToken:[32]}],[0,"sss-existing-choice-page",{history:[16],existingFund:[32]}],[0,"sss-standard-choice-form",{history:[16],standardChoiceFormSignature:[32],formState:[32],isSubmitDisabled:[32]}],[0,"sss-success"],[0,"sss-choice-router",{history:[16]}],[0,"sss-my-own-fund-engagement-step-host",{history:[16],backendUrl:[32],accessToken:[32],fundUsi:[32],fundName:[32],memberNumber:[32],memberFirstName:[32],memberFamilyName:[32]}],[0,"sss-smsf-engagement-step-host",{history:[16],backendUrl:[32],accessToken:[32],fundName:[32],fundAbn:[32],fundEsa:[32],fundAddress:[32],bsb:[32],bankAccountName:[32],bankAccountNumber:[32],memberFirstName:[32],memberFamilyName:[32],accountId:[32],partnerId:[32]}],[0,"sss-super-campaign-host",{history:[16],scriptImported:[32],backendUrl:[32],accessToken:[32]}],[0,"sss-dropdown-async",{testId:[1,"test-id"],placeholder:[1],searchFunction:[16],value:[16],required:[4],requiredValidationMessage:[1,"required-validation-message"],disabled:[4],minSearchStringLength:[2,"min-search-string-length"],showValidationErrors:[4,"show-validation-errors"],searchState:[32],inputValue:[32],isDropdownVisible:[32],filteredOptions:[32],highlightedOptionIndex:[32],selectedOption:[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-name-input",{testId:[1,"test-id"],value:[1],name:[1],readableName:[1,"readable-name"],showValidationErrors:[4,"show-validation-errors"],errorMessage:[32]}],[0,"sss-prefill-my-own-fund",{history:[16],prefill:[16],mode:[32],formState:[32],isSubmitDisabled:[32],fundUsi:[32],fundName:[32],memberNumber:[32],memberGivenNames:[32],memberLastName:[32]}],[0,"sss-prefill-smsf",{history:[16],prefill:[16],mode:[32],formState:[32],isSubmitDisabled:[32],fundName:[32],fundAbn:[32],fundEsa:[32],fundAddressLine1:[32],fundAddressLine2:[32],fundAddressCity:[32],fundAddressPostcode:[32],fundAddressState:[32],fundAddress:[32],memberGivenNames:[32],memberLastName:[32],bankAccountName:[32],bankName:[32],bankAccountBsb:[32],bankAccountNumber:[32]}],[0,"sss-prefill-invalid-my-own-fund",{history:[16],prefill:[16],fundUsi:[32],fundName:[32],memberNumber:[32],memberGivenNames:[32],memberLastName:[32]}],[0,"sss-prefill-invalid-smsf",{history:[16],prefill:[16],fundName:[32],fundAbn:[32],fundEsa:[32],fundAddressLine1:[32],fundAddressLine2:[32],fundAddressCity:[32],fundAddressPostcode:[32],fundAddressState:[32],fundAddress:[32],memberGivenNames:[32],memberLastName:[32],bankAccountName:[32],bankAccountBsb:[32],bankAccountNumber:[32]}],[1,"super-selection-app",{ignoreExistingSelection:[4,"ignore-existing-selection"],accessToken:[1,"access-token"],backendUrl:[1,"backend-url"],appBaseUrl:[1,"app-base-url"],history:[16],location:[16],isSelfHosted:[4,"is-self-hosted"],isAppInitialised:[32]}],[0,"sss-loading-page"],[0,"sss-footer-section",{textOverride:[1,"text-override"]}],[4,"stencil-route-switch",{group:[513],scrollTopOffset:[2,"scroll-top-offset"],location:[16],routeViewsUpdated:[16]}],[4,"stencil-router",{root:[1],historyType:[1,"history-type"],titleSuffix:[1,"title-suffix"],scrollTopOffset:[2,"scroll-top-offset"],location:[32],history:[32]}],[0,"sss-prefill-warning-box",{notificationList:[16]}],[0,"sss-header-section"],[4,"sss-custom-fund",{history:[16],currentCustomFund:[32],fundOptionsList:[32],showFundOptionsSelection:[32]}],[0,"sss-prefill-display-field",{field:[16]}],[0,"sss-prefill-error-box",{withHeader:[4,"with-header"],notificationList:[16]}],[4,"stencil-route-link",{url:[1],urlMatch:[1,"url-match"],activeClass:[1,"active-class"],exact:[4],strict:[4],custom:[1],anchorClass:[1,"anchor-class"],anchorRole:[1,"anchor-role"],anchorTitle:[1,"anchor-title"],anchorTabIndex:[1,"anchor-tab-index"],anchorId:[1,"anchor-id"],history:[16],location:[16],root:[1],ariaHaspopup:[1,"aria-haspopup"],ariaPosinset:[1,"aria-posinset"],ariaSetsize:[2,"aria-setsize"],ariaLabel:[1,"aria-label"],match:[32]}],[4,"sss-button",{testid:[1],fillWidth:[4,"fill-width"],fillWidthOnMobile:[4,"fill-width-on-mobile"],disabled:[4],variant:[1],size:[1],promiseFn:[16],state:[32]}],[0,"sss-loading-indicator",{theme:[1],size:[2]}],[0,"stencil-route",{group:[513],componentUpdated:[16],match:[1040],url:[1],component:[1],componentProps:[16],exact:[4],routeRender:[16],scrollTopOffset:[2,"scroll-top-offset"],routeViewsUpdated:[16],location:[16],history:[16],historyType:[1,"history-type"]}]]]],e)}))}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-71ca4cf8.system.js","./p-97188c78.system.js"],(function(t){"use strict";var r,e,n;return{setters:[function(t){r=t.r;e=t.a},function(t){n=t.A}],execute:function(){var i=function(t,r){if(t.charAt(0)=="/"&&r.charAt(r.length-1)=="/"){return r.slice(0,r.length-1)+t}return r+t};var o=t("stencil_router_redirect",function(){function t(t){r(this,t)}t.prototype.componentWillLoad=function(){if(this.history&&this.root&&this.url){return this.history.replace(i(this.url,this.root))}};Object.defineProperty(t.prototype,"el",{get:function(){return e(this)},enumerable:false,configurable:true});return t}());n.injectProps(o,["history","root"])}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function u(e){try{s(r.next(e))}catch(e){o(e)}}function a(e){try{s(r["throw"](e))}catch(e){o(e)}}function s(e){e.done?n(e.value):i(e.value).then(u,a)}s((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(e){return function(t){return s([e,t])}}function s(u){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,i&&(o=u[0]&2?i["return"]:u[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;if(i=0,o)u=[u[0]&2,o.value];switch(u[0]){case 0:case 1:o=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;i=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){n.label=u[1];break}if(u[0]===6&&n.label<o[1]){n.label=o[1];o=u;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(u);break}if(o[2])n.ops.pop();n.trys.pop();continue}u=t.call(e,n)}catch(e){u=[6,e];i=0}finally{r=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};System.register(["./p-71ca4cf8.system.js","./p-97188c78.system.js"],(function(e){"use strict";var t,n,r,i;return{setters:[function(e){t=e.e;n=e.f;r=e.h},function(e){i=e.A}],execute:function(){e({C:void 0,S:void 0,c:l,g:le,h:ae,j:pe,k:he,p:void 0,t:f,v:c});var o=e("i",(function(e){return e._tag==="Some"}));var u=e("f",(function(e){return e._tag==="None"}));var a=e("n",{_tag:"None"});var s=e("s",(function(e){return{_tag:"Some",value:e}}));function c(e){return e==null?a:s(e)}function f(e){return u(e)?undefined:e.value}function l(e){i.injectProps(e,["history","location"])}function p(){d({type:"appReady"})}function d(e,t){if(t===undefined)t="*";e.sender="flare";window.parent.postMessage(e,t)}function h(e,t){d({type:"contentResized",height:e,width:t})}function v(e){d({type:"pageNavigated",url:e})}function m(){d({type:"complete"})}function g(){d({type:"submitSuccess"})}var y=e("q",{appReady:p,resize:h,navigation:v,complete:m,submitSuccess:g});var b=function(e,t,n){var r=e.get(t);if(!r){e.set(t,[n])}else if(!r.includes(n)){r.push(n)}};var w=function(e,t){var n;return function(){var r=[];for(var i=0;i<arguments.length;i++){r[i]=arguments[i]}if(n){clearTimeout(n)}n=setTimeout((function(){n=0;e.apply(void 0,r)}),t)}};var _=function(e){return!("isConnected"in e)||e.isConnected};var S=w((function(e){for(var t=0,n=e.keys();t<n.length;t++){var r=n[t];e.set(r,e.get(r).filter(_))}}),2e3);var F=function(e){var r=e.on;var i=new Map;if(typeof t==="function"){r("dispose",(function(){i.clear()}));r("get",(function(e){var n=t();if(n){b(i,e,n)}}));r("set",(function(e){var t=i.get(e);if(t){i.set(e,t.filter(n))}S(i)}));r("reset",(function(){i.forEach((function(e){return e.forEach(n)}));S(i)}))}};var C=function(e,t){if(t===void 0){t=function(e,t){return e!==t}}var n=new Map(Object.entries(e!==null&&e!==void 0?e:{}));var r={dispose:[],get:[],set:[],reset:[]};var i=function(){n=new Map(Object.entries(e!==null&&e!==void 0?e:{}));r.reset.forEach((function(e){return e()}))};var o=function(){r.dispose.forEach((function(e){return e()}));i()};var u=function(e){r.get.forEach((function(t){return t(e)}));return n.get(e)};var a=function(e,i){var o=n.get(e);if(t(i,o,e)){n.set(e,i);r.set.forEach((function(t){return t(e,i,o)}))}};var s=typeof Proxy==="undefined"?{}:new Proxy(e,{get:function(e,t){return u(t)},ownKeys:function(e){return Array.from(n.keys())},getOwnPropertyDescriptor:function(){return{enumerable:true,configurable:true}},has:function(e,t){return n.has(t)},set:function(e,t,n){a(t,n);return true}});var c=function(e,t){r[e].push(t);return function(){E(r[e],t)}};var f=function(t,n){var r=c("set",(function(e,r){if(e===t){n(r)}}));var i=c("reset",(function(){return n(e[t])}));return function(){r();i()}};var l=function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return e.forEach((function(e){if(e.set){c("set",e.set)}if(e.get){c("get",e.get)}if(e.reset){c("reset",e.reset)}}))};return{state:s,get:u,set:a,on:c,onChange:f,use:l,dispose:o,reset:i}};var E=function(e,t){var n=e.indexOf(t);if(n>=0){e[n]=e[e.length-1];e.length--}};var A=function(e,t){var n=C(e,t);F(n);return n};var P={handleSubmitFn:function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2]}))}))},fundName:"",fundDetails:{type:"null"},promotedFundId:undefined};var N=A(P).state;e("m",N);var O;(function(e){e["ExistingChoicePage"]="/existing";e["SuperCampaign"]="/super-campaign";e["ChoicePage"]="/";e["MyOwnFund"]="/super-choice/my-own-fund/";e["MyOwnFundEngagementStep"]="/super-choice/my-own-fund-engagement/";e["SmsfEngagementStep"]="/super-choice/smsf-engagement/";e["Prefill"]="/super-choice/prefill/";e["PrefillInvalidMyOwnFundPage"]="/super-choice/sss-prefill-invalid-my-own-fund/";e["PrefillMyOwnFundPage"]="/super-choice/prefill-my-own-fund/";e["PrefillSMSFPage"]="/super-choice/prefill-smsf/";e["PrefillInvalidSMSFPage"]="/super-choice/prefill-invalid-smsf/";e["SelfManagedFund"]="/super-choice/smsf/";e["DefaultFund"]="/super-choice/default/";e["FeaturedFunds"]="/super-choice/featured-funds/";e["StandardChoice"]="/standard-choice/";e["Success"]="/success/"})(O||(O=e("S",{})));var k=e("r",[r("stencil-route",{url:O.ExistingChoicePage,component:"sss-existing-choice-page"}),r("stencil-route",{url:O.SuperCampaign,component:"sss-super-campaign-host"}),r("stencil-route",{exact:true,url:O.ChoicePage,component:"sss-choice-router"}),r("stencil-route",{url:O.MyOwnFund,component:"sss-super-byof-host"}),r("stencil-route",{url:O.MyOwnFundEngagementStep,component:"sss-my-own-fund-engagement-step-host"}),r("stencil-route",{url:O.SmsfEngagementStep,component:"sss-smsf-engagement-step-host"}),r("stencil-route",{url:O.PrefillInvalidMyOwnFundPage,component:"sss-prefill-invalid-my-own-fund"}),r("stencil-route",{url:O.Prefill,component:"sss-prefill"}),r("stencil-route",{url:O.PrefillMyOwnFundPage,component:"sss-prefill-my-own-fund"}),r("stencil-route",{url:O.PrefillSMSFPage,component:"sss-prefill-smsf"}),r("stencil-route",{url:O.PrefillInvalidSMSFPage,component:"sss-prefill-invalid-smsf"}),r("stencil-route",{url:O.SelfManagedFund,component:"sss-super-smsf-host"}),r("stencil-route",{url:O.DefaultFund,component:"sss-default-fund"}),r("stencil-route",{url:O.FeaturedFunds,component:"sss-super-campaign-featured-funds"}),r("stencil-route",{url:O.StandardChoice,component:"sss-standard-choice-form"}),r("stencil-route",{url:O.Success,component:"sss-success"})]);function D(e,t,n){return n={path:t,exports:{},require:function(e,t){return M()}},e(n,n.exports),n.exports}function M(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var I=D((function(e,t){Object.defineProperty(t,"__esModule",{value:true});t.bindTo_=t.bind_=t.hole=t.pipe=t.untupled=t.tupled=t.absurd=t.decrement=t.increment=t.tuple=t.flow=t.flip=t.constVoid=t.constUndefined=t.constNull=t.constFalse=t.constTrue=t.constant=t.not=t.unsafeCoerce=t.identity=void 0;function n(e){return e}t.identity=n;t.unsafeCoerce=n;function r(e){return function(t){return!e(t)}}t.not=r;function i(e){return function(){return e}}t.constant=i;t.constTrue=i(true);t.constFalse=i(false);t.constNull=i(null);t.constUndefined=i(undefined);t.constVoid=t.constUndefined;function o(e){return function(t,n){return e(n,t)}}t.flip=o;function u(e,t,n,r,i,o,u,a,s){switch(arguments.length){case 1:return e;case 2:return function(){return t(e.apply(this,arguments))};case 3:return function(){return n(t(e.apply(this,arguments)))};case 4:return function(){return r(n(t(e.apply(this,arguments))))};case 5:return function(){return i(r(n(t(e.apply(this,arguments)))))};case 6:return function(){return o(i(r(n(t(e.apply(this,arguments))))))};case 7:return function(){return u(o(i(r(n(t(e.apply(this,arguments)))))))};case 8:return function(){return a(u(o(i(r(n(t(e.apply(this,arguments))))))))};case 9:return function(){return s(a(u(o(i(r(n(t(e.apply(this,arguments)))))))))}}return}t.flow=u;function a(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return e}t.tuple=a;function s(e){return e+1}t.increment=s;function c(e){return e-1}t.decrement=c;function f(e){throw new Error("Called `absurd` function which should be uncallable")}t.absurd=f;function l(e){return function(t){return e.apply(void 0,t)}}t.tupled=l;function p(e){return function(){var t=[];for(var n=0;n<arguments.length;n++){t[n]=arguments[n]}return e(t)}}t.untupled=p;function d(e,t,n,r,i,o,u,a,s,c,f,l,p,d,h,v,m,g,y,b){switch(arguments.length){case 1:return e;case 2:return t(e);case 3:return n(t(e));case 4:return r(n(t(e)));case 5:return i(r(n(t(e))));case 6:return o(i(r(n(t(e)))));case 7:return u(o(i(r(n(t(e))))));case 8:return a(u(o(i(r(n(t(e)))))));case 9:return s(a(u(o(i(r(n(t(e))))))));case 10:return c(s(a(u(o(i(r(n(t(e)))))))));case 11:return f(c(s(a(u(o(i(r(n(t(e))))))))));case 12:return l(f(c(s(a(u(o(i(r(n(t(e)))))))))));case 13:return p(l(f(c(s(a(u(o(i(r(n(t(e))))))))))));case 14:return d(p(l(f(c(s(a(u(o(i(r(n(t(e)))))))))))));case 15:return h(d(p(l(f(c(s(a(u(o(i(r(n(t(e))))))))))))));case 16:return v(h(d(p(l(f(c(s(a(u(o(i(r(n(t(e)))))))))))))));case 17:return m(v(h(d(p(l(f(c(s(a(u(o(i(r(n(t(e))))))))))))))));case 18:return g(m(v(h(d(p(l(f(c(s(a(u(o(i(r(n(t(e)))))))))))))))));case 19:return y(g(m(v(h(d(p(l(f(c(s(a(u(o(i(r(n(t(e))))))))))))))))));case 20:return b(y(g(m(v(h(d(p(l(f(c(s(a(u(o(i(r(n(t(e)))))))))))))))))))}return}t.pipe=d;t.hole=f;var h=function(e,t,n){var r;return Object.assign({},e,(r={},r[t]=n,r))};t.bind_=h;var v=function(e){return function(t){var n;return n={},n[e]=t,n}};t.bindTo_=v}));var R=e("O",D((function(e,t){Object.defineProperty(t,"__esModule",{value:true});t.getApplySemigroup=t.getOrd=t.getEq=t.getShow=t.URI=t.wilt=t.wither=t.sequence=t.traverse=t.partitionMap=t.partition=t.filterMap=t.filter=t.separate=t.compact=t.reduceRight=t.foldMap=t.reduce=t.duplicate=t.extend=t.throwError=t.zero=t.alt=t.altW=t.flatten=t.chainFirst=t.chain=t.of=t.apSecond=t.apFirst=t.ap=t.map=t.chainNullableK=t.mapNullable=t.fromNullableK=t.getOrElse=t.getOrElseW=t.toUndefined=t.toNullable=t.fold=t.fromEither=t.getRight=t.getLeft=t.tryCatch=t.fromPredicate=t.fromNullable=t.some=t.none=t.isNone=t.isSome=void 0;t.sequenceArray=t.traverseArray=t.traverseArrayWithIndex=t.apS=t.bind=t.bindTo=t.Do=t.getRefinement=t.exists=t.elem=t.option=t.MonadThrow=t.Witherable=t.Traversable=t.Filterable=t.Compactable=t.Extend=t.Alternative=t.Alt=t.Foldable=t.Monad=t.Applicative=t.Functor=t.getMonoid=t.getLastMonoid=t.getFirstMonoid=t.getApplyMonoid=void 0;var n=function(e){return e._tag==="Some"};t.isSome=n;var r=function(e){return e._tag==="None"};t.isNone=r;t.none={_tag:"None"};var i=function(e){return{_tag:"Some",value:e}};t.some=i;function o(e){return e==null?t.none:t.some(e)}t.fromNullable=o;function u(e){return function(n){return e(n)?t.some(n):t.none}}t.fromPredicate=u;function a(e){try{return t.some(e())}catch(e){return t.none}}t.tryCatch=a;function s(e){return e._tag==="Right"?t.none:t.some(e.left)}t.getLeft=s;function c(e){return e._tag==="Left"?t.none:t.some(e.right)}t.getRight=c;t.fromEither=c;function f(e,n){return function(r){return t.isNone(r)?e():n(r.value)}}t.fold=f;function l(e){return t.isNone(e)?null:e.value}t.toNullable=l;function p(e){return t.isNone(e)?undefined:e.value}t.toUndefined=p;var d=function(e){return function(n){return t.isNone(n)?e():n.value}};t.getOrElseW=d;t.getOrElse=t.getOrElseW;function h(e){return function(){var t=[];for(var n=0;n<arguments.length;n++){t[n]=arguments[n]}return o(e.apply(void 0,t))}}t.fromNullableK=h;t.mapNullable=v;function v(e){return function(n){return t.isNone(n)?t.none:o(e(n.value))}}t.chainNullableK=v;var m=function(e,n){return I.pipe(e,t.map(n))};var g=function(e,n){return I.pipe(e,t.ap(n))};var y=function(e,n){return I.pipe(e,t.chain(n))};var b=function(e,n,r){return I.pipe(e,t.reduce(n,r))};var w=function(e){var n=t.foldMap(e);return function(e,t){return I.pipe(e,n(t))}};var _=function(e,n,r){return I.pipe(e,t.reduceRight(n,r))};var S=function(e){var n=t.traverse(e);return function(e,t){return I.pipe(e,n(t))}};var F=function(e,n){return I.pipe(e,t.alt(n))};var C=function(e,n){return I.pipe(e,t.filter(n))};var E=function(e,n){return I.pipe(e,t.filterMap(n))};var A=function(e,n){return I.pipe(e,t.extend(n))};var P=function(e,n){return I.pipe(e,t.partition(n))};var N=function(e,n){return I.pipe(e,t.partitionMap(n))};var O=function(e){var n=t.wither(e);return function(e,t){return I.pipe(e,n(t))}};var k=function(e){var n=t.wilt(e);return function(e,t){return I.pipe(e,n(t))}};var D=function(e){return function(n){return t.isNone(n)?t.none:t.some(e(n.value))}};t.map=D;var M=function(e){return function(n){return t.isNone(n)?t.none:t.isNone(e)?t.none:t.some(n.value(e.value))}};t.ap=M;var R=function(e){return I.flow(t.map((function(e){return function(){return e}})),t.ap(e))};t.apFirst=R;var j=function(e){return I.flow(t.map((function(){return function(e){return e}})),t.ap(e))};t.apSecond=j;t.of=t.some;var T=function(e){return function(n){return t.isNone(n)?t.none:e(n.value)}};t.chain=T;var U=function(e){return t.chain((function(n){return I.pipe(e(n),t.map((function(){return n})))}))};t.chainFirst=U;t.flatten=t.chain(I.identity);var B=function(e){return function(n){return t.isNone(n)?e():n}};t.altW=B;t.alt=t.altW;var x=function(){return t.none};t.zero=x;var q=function(){return t.none};t.throwError=q;var L=function(e){return function(n){return t.isNone(n)?t.none:t.some(e(n))}};t.extend=L;t.duplicate=t.extend(I.identity);var W=function(e,n){return function(r){return t.isNone(r)?e:n(e,r.value)}};t.reduce=W;var V=function(e){return function(n){return function(r){return t.isNone(r)?e.empty:n(r.value)}}};t.foldMap=V;var z=function(e,n){return function(r){return t.isNone(r)?e:n(r.value,e)}};t.reduceRight=z;t.compact=t.flatten;var J={left:t.none,right:t.none};var K=function(e){var n=I.pipe(e,t.map((function(e){return{left:s(e),right:c(e)}})));return t.isNone(n)?J:n.value};t.separate=K;var Y=function(e){return function(n){return t.isNone(n)?t.none:e(n.value)?n:t.none}};t.filter=Y;var Q=function(e){return function(n){return t.isNone(n)?t.none:e(n.value)}};t.filterMap=Q;var X=function(e){return function(t){return{left:C(t,(function(t){return!e(t)})),right:C(t,e)}}};t.partition=X;var G=function(e){return I.flow(t.map(e),t.separate)};t.partitionMap=G;var H=function(e){return function(n){return function(r){return t.isNone(r)?e.of(t.none):e.map(n(r.value),t.some)}}};t.traverse=H;var $=function(e){return function(n){return t.isNone(n)?e.of(t.none):e.map(n.value,t.some)}};t.sequence=$;var Z=function(e){return function(n){return function(r){return t.isNone(r)?e.of(t.none):n(r.value)}}};t.wither=Z;var ee=function(e){return function(n){return function(r){return t.isNone(r)?e.of({left:t.none,right:t.none}):e.map(n(r.value),(function(e){return{left:s(e),right:c(e)}}))}}};t.wilt=ee;t.URI="Option";function te(e){return{show:function(n){return t.isNone(n)?"none":"some("+e.show(n.value)+")"}}}t.getShow=te;function ne(e){return{equals:function(n,r){return n===r||(t.isNone(n)?t.isNone(r):t.isNone(r)?false:e.equals(n.value,r.value))}}}t.getEq=ne;function re(e){return{equals:ne(e).equals,compare:function(n,r){return n===r?0:t.isSome(n)?t.isSome(r)?e.compare(n.value,r.value):1:-1}}}t.getOrd=re;function ie(e){return{concat:function(n,r){return t.isSome(n)&&t.isSome(r)?t.some(e.concat(n.value,r.value)):t.none}}}t.getApplySemigroup=ie;function oe(e){return{concat:ie(e).concat,empty:t.some(e.empty)}}t.getApplyMonoid=oe;function ue(){return{concat:function(e,n){return t.isNone(e)?n:e},empty:t.none}}t.getFirstMonoid=ue;function ae(){return{concat:function(e,n){return t.isNone(n)?e:n},empty:t.none}}t.getLastMonoid=ae;function se(e){return{concat:function(n,r){return t.isNone(n)?r:t.isNone(r)?n:t.some(e.concat(n.value,r.value))},empty:t.none}}t.getMonoid=se;t.Functor={URI:t.URI,map:m};t.Applicative={URI:t.URI,map:m,ap:g,of:t.of};t.Monad={URI:t.URI,map:m,ap:g,of:t.of,chain:y};t.Foldable={URI:t.URI,reduce:b,foldMap:w,reduceRight:_};t.Alt={URI:t.URI,map:m,alt:F};t.Alternative={URI:t.URI,map:m,ap:g,of:t.of,alt:F,zero:t.zero};t.Extend={URI:t.URI,map:m,extend:A};t.Compactable={URI:t.URI,compact:t.compact,separate:t.separate};t.Filterable={URI:t.URI,map:m,compact:t.compact,separate:t.separate,filter:C,filterMap:E,partition:P,partitionMap:N};t.Traversable={URI:t.URI,map:m,reduce:b,foldMap:w,reduceRight:_,traverse:S,sequence:t.sequence};t.Witherable={URI:t.URI,map:m,reduce:b,foldMap:w,reduceRight:_,traverse:S,sequence:t.sequence,compact:t.compact,separate:t.separate,filter:C,filterMap:E,partition:P,partitionMap:N,wither:O,wilt:k};t.MonadThrow={URI:t.URI,map:m,ap:g,of:t.of,chain:y,throwError:t.throwError};t.option={URI:t.URI,map:m,of:t.of,ap:g,chain:y,reduce:b,foldMap:w,reduceRight:_,traverse:S,sequence:t.sequence,zero:t.zero,alt:F,extend:A,compact:t.compact,separate:t.separate,filter:C,filterMap:E,partition:P,partitionMap:N,wither:O,wilt:k,throwError:t.throwError};function ce(e){return function(n,r){return t.isNone(r)?false:e.equals(n,r.value)}}t.elem=ce;function fe(e){return function(n){return t.isNone(n)?false:e(n.value)}}t.exists=fe;function le(e){return function(n){return t.isSome(e(n))}}t.getRefinement=le;t.Do=t.of({});var pe=function(e){return t.map(I.bindTo_(e))};t.bindTo=pe;var de=function(e,n){return t.chain((function(r){return I.pipe(n(r),t.map((function(t){return I.bind_(r,e,t)})))}))};t.bind=de;var he=function(e,n){return I.flow(t.map((function(t){return function(n){return I.bind_(t,e,n)}})),t.ap(n))};t.apS=he;var ve=function(e){return function(n){var r=[];for(var i=0;i<n.length;i++){var o=e(i,n[i]);if(t.isNone(o)){return t.none}r.push(o.value)}return t.some(r)}};t.traverseArrayWithIndex=ve;var me=function(e){return t.traverseArrayWithIndex((function(t,n){return e(n)}))};t.traverseArray=me;t.sequenceArray=t.traverseArray(I.identity)})));function j(e){this.message=e}j.prototype=new Error,j.prototype.name="InvalidCharacterError";var T="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new j("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,i=0,o=0,u="";r=t.charAt(o++);~r&&(n=i%4?64*n+r:r,i++%4)?u+=String.fromCharCode(255&n>>(-2*i&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return u};function U(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(T(e).replace(/(.)/g,(function(e,t){var n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n})))}(t)}catch(e){return T(t)}}function B(e){this.message=e}function x(e,t){if("string"!=typeof e)throw new B("Invalid token specified");var n=!0===(t=t||{}).header?0:1;try{return JSON.parse(U(e.split(".")[n]))}catch(e){throw new B("Invalid token specified: "+e.message)}}B.prototype=new Error,B.prototype.name="InvalidTokenError";var q=undefined&&undefined.__assign||function(){q=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))e[i]=t[i]}return e};return q.apply(this,arguments)};var L=undefined&&undefined.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),i=0,t=0;t<n;t++)for(var o=arguments[t],u=0,a=o.length;u<a;u++,i++)r[i]=o[u];return r};var W=function(e,t,n){if(n===void 0){n=false}if(!e||!t||typeof e!=="object"||typeof t!=="object")return e;var r=q({},e);for(var i in t){if(t.hasOwnProperty(i)){if(t[i]instanceof Array&&e[i]instanceof Array){r[i]=n?L(e[i],t[i]):t[i]}else if(typeof t[i]==="object"&&typeof e[i]==="object"){r[i]=W(e[i],t[i],n)}else{r[i]=t[i]}}}return r};var V=undefined&&undefined.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),i=0,t=0;t<n;t++)for(var o=arguments[t],u=0,a=o.length;u<a;u++,i++)r[i]=o[u];return r};var z={defaults:{},errorType:null,polyfills:{fetch:null,FormData:null,URLSearchParams:null,performance:null,PerformanceObserver:null,AbortController:null},polyfill:function(e,t){var n=t===void 0?{}:t,r=n.doThrow,i=r===void 0?true:r,o=n.instance,u=o===void 0?false:o;var a=[];for(var s=2;s<arguments.length;s++){a[s-2]=arguments[s]}var c=this.polyfills[e]||(typeof self!=="undefined"?self[e]:null)||(typeof global!=="undefined"?global[e]:null);if(i&&!c)throw new Error(e+" is not defined");return u&&c?new(c.bind.apply(c,V([void 0],a))):c}};var J=function(e,t,n,r){if(!e.getEntriesByName)return false;var i=e.getEntriesByName(t);if(i&&i.length>0){n(i.reverse()[0]);if(r.clearMeasures)r.clearMeasures(t);Y.callbacks.delete(t);if(Y.callbacks.size<1){Y.observer.disconnect();if(r.clearResourceTimings){r.clearResourceTimings()}}return true}return false};var K=function(e,t){if(!Y.observer&&e&&t){Y.observer=new t((function(t){Y.callbacks.forEach((function(n,r){J(t,r,n,e)}))}));if(e.clearResourceTimings)e.clearResourceTimings()}return Y.observer};var Y={callbacks:new Map,observer:null,observe:function(e,t){if(!e||!t)return;var n=z.polyfill("performance",{doThrow:false});var r=z.polyfill("PerformanceObserver",{doThrow:false});if(!K(n,r))return;if(!J(n,e,t,n)){if(Y.callbacks.size<1)Y.observer.observe({entryTypes:["resource","measure"]});Y.callbacks.set(e,t)}}};var Q=function(e){return function(t){return e.length===0?t:e.length===1?e[0](t):e.reduceRight((function(n,r,i){return i===e.length-2?r(n(t)):r(n)}))}};var X=function(){function e(e){this.error=e}return e}();var G=function(e){var t=e._url,n=e._catchers,r=e._resolvers,i=e._middlewares,o=e._options;var u=new Map(n);var a=W(z.defaults,o);var s=z.polyfill("AbortController",{doThrow:false,instance:true});if(!a["signal"]&&s){a["signal"]=s.signal}var c={ref:null,clear:function(){if(c.ref){clearTimeout(c.ref);c.ref=null}}};var f=Q(i)(z.polyfill("fetch"))(t,a);var l=f.catch((function(e){throw new X(e)})).then((function(e){c.clear();if(!e.ok){return e[z.errorType||"text"]().then((function(t){var n=new Error(t);n[z.errorType||"text"]=t;n["status"]=e.status;n["response"]=e;throw n}))}return e}));var p=function(t){return t.catch((function(t){c.clear();var n=t instanceof X?t.error:t;if(t instanceof X&&u.has("__fromFetch"))return u.get("__fromFetch")(n,e);else if(u.has(n.status))return u.get(n.status)(n,e);else if(u.has(n.name))return u.get(n.name)(n,e);else throw n}))};var d=function(e){return function(t){return e?p(l.then((function(t){return t&&t[e]()})).then((function(e){return t?t(e):e}))):p(l.then((function(e){return t?t(e):e})))}};var h={res:d(null),json:d("json"),blob:d("blob"),formData:d("formData"),arrayBuffer:d("arrayBuffer"),text:d("text"),perfs:function(e){f.then((function(t){return Y.observe(t.url,e)}));return h},setTimeout:function(e,t){if(t===void 0){t=s}c.clear();c.ref=setTimeout((function(){return t.abort()}),e);return h},controller:function(){return[s,h]},error:function(e,t){u.set(e,t);return h},badRequest:function(e){return h.error(400,e)},unauthorized:function(e){return h.error(401,e)},forbidden:function(e){return h.error(403,e)},notFound:function(e){return h.error(404,e)},timeout:function(e){return h.error(408,e)},internalError:function(e){return h.error(500,e)},fetchError:function(e){return h.error("__fromFetch",e)},onAbort:function(e){return h.error("AbortError",e)}};return r.reduce((function(t,n){return n(t,e)}),h)};var H=undefined&&undefined.__assign||function(){H=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))e[i]=t[i]}return e};return H.apply(this,arguments)};var $=undefined&&undefined.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),i=0,t=0;t<n;t++)for(var o=arguments[t],u=0,a=o.length;u<a;u++,i++)r[i]=o[u];return r};var Z="application/json";var ee="Content-Type";var te=function(){function e(e,t,n,r,i,o){if(n===void 0){n=new Map}if(r===void 0){r=[]}if(i===void 0){i=[]}if(o===void 0){o=[]}this._url=e;this._options=t;this._catchers=n;this._resolvers=r;this._middlewares=i;this._deferredChain=o}e.factory=function(t,n){if(t===void 0){t=""}if(n===void 0){n={}}return new e(t,n)};e.prototype.selfFactory=function(t){var n=t===void 0?{}:t,r=n.url,i=r===void 0?this._url:r,o=n.options,u=o===void 0?this._options:o,a=n.catchers,s=a===void 0?this._catchers:a,c=n.resolvers,f=c===void 0?this._resolvers:c,l=n.middlewares,p=l===void 0?this._middlewares:l,d=n.deferredChain,h=d===void 0?this._deferredChain:d;return new e(i,H({},u),new Map(s),$(f),$(p),$(h))};e.prototype.defaults=function(e,t){if(t===void 0){t=false}z.defaults=t?W(z.defaults,e):e;return this};e.prototype.errorType=function(e){z.errorType=e;return this};e.prototype.polyfills=function(e){z.polyfills=H(H({},z.polyfills),e);return this};e.prototype.url=function(e,t){if(t===void 0){t=false}if(t)return this.selfFactory({url:e});var n=this._url.split("?");return this.selfFactory({url:n.length>1?n[0]+e+"?"+n[1]:this._url+e})};e.prototype.options=function(e,t){if(t===void 0){t=true}return this.selfFactory({options:t?W(this._options,e):e})};e.prototype.query=function(e,t){if(t===void 0){t=false}return this.selfFactory({url:ne(this._url,e,t)})};e.prototype.headers=function(e){return this.selfFactory({options:W(this._options,{headers:e||{}})})};e.prototype.accept=function(e){return this.headers({Accept:e})};e.prototype.content=function(e){var t;return this.headers((t={},t[ee]=e,t))};e.prototype.auth=function(e){return this.headers({Authorization:e})};e.prototype.catcher=function(e,t){var n=new Map(this._catchers);n.set(e,t);return this.selfFactory({catchers:n})};e.prototype.signal=function(e){return this.selfFactory({options:H(H({},this._options),{signal:e.signal})})};e.prototype.resolve=function(e,t){if(t===void 0){t=false}return this.selfFactory({resolvers:t?[e]:$(this._resolvers,[e])})};e.prototype.defer=function(e,t){if(t===void 0){t=false}return this.selfFactory({deferredChain:t?[e]:$(this._deferredChain,[e])})};e.prototype.middlewares=function(e,t){if(t===void 0){t=false}return this.selfFactory({middlewares:t?e:$(this._middlewares,e)})};e.prototype.method=function(e,t,n){if(t===void 0){t={}}if(n===void 0){n=null}var r=this._options.headers;var i=!n?this:typeof n==="object"&&(!r||Object.entries(r).every((function(e){var t=e[0],n=e[1];return t.toLowerCase()!==ee.toLowerCase()||n.startsWith(Z)})))?this.json(n):this.body(n);i=i.options(H(H({},t),{method:e}));var o=i._deferredChain.reduce((function(e,t){return t(e,e._url,e._options)}),i);return G(o)};e.prototype.get=function(e){return this.method("GET",e)};e.prototype.delete=function(e){return this.method("DELETE",e)};e.prototype.put=function(e,t){return this.method("PUT",t,e)};e.prototype.post=function(e,t){return this.method("POST",t,e)};e.prototype.patch=function(e,t){return this.method("PATCH",t,e)};e.prototype.head=function(e){return this.method("HEAD",e)};e.prototype.opts=function(e){return this.method("OPTIONS",e)};e.prototype.replay=function(e){return this.method(this._options.method,e)};e.prototype.body=function(e){return this.selfFactory({options:H(H({},this._options),{body:e})})};e.prototype.json=function(e){var t;var n=(t=Object.entries(this._options.headers||{}).find((function(e){var t=e[0],n=e[1];return t.toLowerCase()===ee.toLowerCase()&&n.startsWith(Z)})))===null||t===void 0?void 0:t[1];return this.content(n||Z).body(JSON.stringify(e))};e.prototype.formData=function(e,t){if(t===void 0){t=false}return this.body(re(e,t))};e.prototype.formUrl=function(e){return this.body(typeof e==="string"?e:oe(e)).content("application/x-www-form-urlencoded")};return e}();var ne=function(e,t,n){var r;if(typeof t==="string"){r=t}else{var i=z.polyfill("URLSearchParams",{instance:true});for(var o in t){if(t[o]instanceof Array){for(var u=0,a=t[o];u<a.length;u++){var s=a[u];i.append(o,s)}}else{i.append(o,t[o])}}r=i.toString()}var c=e.split("?");if(n||c.length<2)return c[0]+"?"+r;return e+"&"+r};function re(e,t,n,r){if(t===void 0){t=false}if(n===void 0){n=z.polyfill("FormData",{instance:true})}if(r===void 0){r=[]}Object.entries(e).forEach((function(e){var i=e[0],o=e[1];var u=r.reduce((function(e,t){return e?e+"["+t+"]":t}),null);u=u?u+"["+i+"]":i;if(o instanceof Array){for(var a=0,s=o;a<s.length;a++){var c=s[a];n.append(u+"[]",c)}}else if(t&&typeof o==="object"&&(!(t instanceof Array)||!t.includes(i))){if(o!==null){re(o,t,n,$(r,[i]))}}else{n.append(u,o)}}));return n}function ie(e,t){return encodeURIComponent(e)+"="+encodeURIComponent(typeof t==="object"?JSON.stringify(t):""+t)}function oe(e){return Object.keys(e).map((function(t){var n=e[t];if(n instanceof Array){return n.map((function(e){return ie(t,e)})).join("&")}return ie(t,n)})).join("&")}var ue=e("u",te.factory);ue["default"]=te.factory;function ae(){var e=Se.jwt;var t=Se.profileId;var n=Se.accountIdOrDefault;var r=Se.partnerIdOrDefault;return ue(Se.apiBaseUrl).headers({Authorization:"Bearer "+e,"X-PROFILE-ID":t,"X-PARTNER-ID":r,"X-ACCOUNT-ID":n})}var se=e("o",{fundId:"slate",usi:"32367272075001"});function ce(e){if("slate"in e){e.kind="slate"}else if("australianRetirementTrust"in e){e.kind="australianRetirementTrust"}else if("aware"in e){e.kind="aware"}else if("active"in e){e.kind="active"}else if("australianEthical"in e){e.kind="australianEthical"}else if("virgin"in e){e.kind="virgin"}else if("spirit"in e){e.kind="spirit"}else if("firstSuper"in e){e.kind="firstSuper"}else if("mercerMyChoice"in e){e.kind="mercerMyChoice"}else if("generic"in e){e.kind="generic"}}function fe(e){switch(e.kind){case"slate":return se.usi;case"australianRetirementTrust":return e.australianRetirementTrust.usi;case"aware":return e.aware.usi;case"active":return e.active.usi;case"australianEthical":return e.australianEthical.usi;case"virgin":return e.virgin.usi;case"spirit":return e.spirit.usi;case"firstSuper":return e.firstSuper.usi;case"mercerMyChoice":return e.mercerMyChoice.usi;case"generic":return e.generic.usi;default:return""}}function le(e){switch(e.kind){case"slate":return se.fundId;case"australianRetirementTrust":return"australian-retirement-trust";case"aware":return"aware";case"active":return"active";case"australianEthical":return"australian-ethical";case"virgin":return"virgin";case"spirit":return"spirit";case"firstSuper":return"first-super";case"mercerMyChoice":return"mercermychoice";case"generic":return e.generic.fundId;default:return""}}function pe(e){switch(e.kind){case"Promoted":return s(fe(e.promoted));case"MyOwnFund":return s(e.myOwnFund.usi);case"SMSF":return a;case"Default":return s(e.default.usi);case"PromotedDefault":return s(e.promotedDefault.usi);case"DefinedBenefits":return s(e.definedBenefits.usi);case"PromotedDefaultWithJoin":return s(e.promotedDefaultWithJoin.usi);default:return a}}function de(e){switch(e.kind){case"slate":return e.slate.memberNumber;case"australianRetirementTrust":return e.australianRetirementTrust.memberNumber;case"aware":return e.aware.memberNumber;case"active":return e.active.memberNumber;case"australianEthical":return e.australianEthical.memberNumber;case"virgin":return e.virgin.memberNumber;case"spirit":return e.spirit.memberNumber;case"firstSuper":return e.firstSuper.memberNumber;case"mercerMyChoice":return e.mercerMyChoice.memberNumber;case"generic":return e.generic.memberNumber;default:return""}}function he(e){switch(e.kind){case"Promoted":return s(de(e.promoted));case"MyOwnFund":return s(e.myOwnFund.memberNumber);case"DefinedBenefits":return s(e.definedBenefits.memberNumber);case"PromotedDefaultWithJoin":return s(e.promotedDefaultWithJoin.memberNumber);case"SMSF":case"Default":case"PromotedDefault":return a;default:return a}}function ve(e){if("promoted"in e){e.kind="Promoted"}else if("myOwnFund"in e){e.kind="MyOwnFund"}else if("smsf"in e){e.kind="SMSF"}else if("default"in e){e.kind="Default"}else if("promotedDefault"in e){e.kind="PromotedDefault"}else if("definedBenefits"in e){e.kind="DefinedBenefits"}else if("promotedDefaultWithJoin"in e){e.kind="PromotedDefaultWithJoin"}}var me=function(){function e(){}e.prototype.getAustralianFundsAsync=function(e,t){if(t===void 0){t=false}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){return[2,ae().url("super-choice/australian-funds-v2?"+this.toQueryString(t,e)).get().notFound((function(){throw new Error("Failed to fetch the list of australian super funds.")})).json()]}))}))};e.prototype.getAustralianFundAsync=function(e,t){return __awaiter(this,void 0,void 0,(function(){var n;return __generator(this,(function(r){n=t?"?includeInactive=true":"";return[2,ae().url("super-choice/australian-funds/"+e+n).get().notFound((function(){throw new Error("Failed to fetch australian super fund.")})).json()]}))}))};e.prototype.getAppStateAsync=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;return __generator(this,(function(n){switch(n.label){case 0:return[4,ae().url("client-app-state").get().notFound((function(){throw new Error("Failed to fetch application configuration.")})).json()];case 1:t=n.sent();if((e=t.superBuyer.superChoice)===null||e===void 0?void 0:e.choiceDetails){ve(t.superBuyer.superChoice.choiceDetails);switch(t.superBuyer.superChoice.choiceDetails.kind){case"Promoted":ce(t.superBuyer.superChoice.choiceDetails.promoted);break}}return[2,t]}}))}))};e.prototype.clickPromotedTileAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,ae().url("click-promoted-tile").post(e).res()]}))}))};e.prototype.viewSuperFundPanelAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,ae().url("view-super-fund-panel").post(e).res()]}))}))};e.prototype.toSearchFilterQueryString=function(e){return"search="+e.searchString+(e.maxRecordCount>0?"&maxRecordCount="+e.maxRecordCount:"")};e.prototype.toQueryString=function(e,t){var n=this.toSearchFilterQueryString(t);var r=e?"includeInactive=true":"";var i=function(e){return e&&e.length};return[n,r].filter(i).join("&")};return e}();var ge=e("d",new me);var ye;(function(e){e[e["NotLoaded"]=1]="NotLoaded";e[e["Loaded"]=2]="Loaded";e[e["NotWorking"]=3]="NotWorking"})(ye||(ye=e("p",{})));var be=function(){function e(){this._promotedFundsShown=[]}Object.defineProperty(e.prototype,"PromotedFundIds",{get:function(){return this._promotedFundsShown.map((function(e){return e.fundId}))},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"promotedFundsShown",{set:function(e){this._promotedFundsShown=e},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"DefaultFundPosition",{get:function(){var e=this._promotedFundsShown.findIndex((function(e){return e.fundType==="promoted-default"}));if(e===-1)return undefined;return e+1},enumerable:false,configurable:true});return e}();var we={apiBaseUrl:R.none,appBaseUrl:R.none,profileId:R.none,jwt:R.none,superBuyer:R.none,superChoicePrefill:R.none,promotedFunds:R.none,accountConfiguration:R.none,profileConfiguration:R.none,hasSuccessPageBeenAcknowledged:false,hasSuperSelectionBeenSubmitted:false,isDefinedBenefitsEligible:R.none,superCampaignEnabled:true,superCampaignState:undefined,superCampaignComponentStatus:ye.NotLoaded,hideFooterSection:false,bringYourOwnFundCustomStepEnabled:false,smsfCustomStepEnabled:false,featuredFundsEnabled:false};var _e=function(){function e(){var e=this;var t=A(we),n=t.state,r=t.onChange;this._state=n;this._onChange=r;r("jwt",(function(t){e._state.profileId=I.pipe(t,R.chain((function(e){return R.fromNullable(x(e).sub)})))}))}Object.defineProperty(e.prototype,"state",{get:function(){return this._state},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"onChange",{get:function(){return this._onChange},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"superBuyer",{get:function(){if(R.isNone(this._state.superBuyer)){throw Error("User information is not set")}return this._state.superBuyer.value},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"apiBaseUrl",{get:function(){if(R.isNone(this._state.apiBaseUrl)){throw Error("API base URL is not set")}return this._state.apiBaseUrl.value},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"appBaseUrl",{get:function(){if(R.isNone(this._state.appBaseUrl)){throw Error("App base URL is not set")}return this._state.appBaseUrl.value},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"promotedFunds",{get:function(){if(this.state.superCampaignEnabled&&this.superCampaignState!==undefined){return this.superCampaignState.PromotedFundIds}if(R.isNone(this._state.promotedFunds)){throw Error("Promoted Funds is not set")}return this._state.promotedFunds.value},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"promotedDefaultFundPosition",{get:function(){if(this.state.superCampaignEnabled&&this.superCampaignState!==undefined){return R.fromNullable(this.superCampaignState.DefaultFundPosition)}return R.none},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"promotedFundsConfig",{get:function(){return{shownFunds:this.promotedFunds,promotedDefaultFundPosition:R.toUndefined(this.promotedDefaultFundPosition),promotedFundsConfigSource:this.isUsingSuperCampaign?"superCampaign":"superSelection"}},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"profileId",{get:function(){if(R.isNone(this._state.profileId)){throw Error("Failed to get Profile ID from JWT")}return this._state.profileId.value},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"defaultFundUsi",{get:function(){var e=I.pipe(this._state.profileConfiguration,R.map((function(e){return R.fromNullable(e.defaultFundUsi)})),R.flatten);if(R.isSome(e)){return e}return I.pipe(this._state.accountConfiguration,R.map((function(e){return R.fromNullable(e.defaultFundUsi)})),R.flatten)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"accountIdOrDefault",{get:function(){return I.pipe(this._state.accountConfiguration,R.map((function(e){return e.accountId})),R.getOrElse((function(){return""})))},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"partnerIdOrDefault",{get:function(){return I.pipe(this._state.superBuyer,R.map((function(e){return e.partnerId})),R.getOrElse((function(){return""})))},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"jwt",{get:function(){if(R.isNone(this._state.jwt)){throw Error("No authentication information was found")}return this._state.jwt.value},enumerable:false,configurable:true});e.prototype.completeSuperSelectionFlow=function(){this._state.hasSuccessPageBeenAcknowledged=true};e.prototype.markSuperSelectionAsSubmitted=function(){this._state.hasSuperSelectionBeenSubmitted=true};Object.defineProperty(e.prototype,"isDefinedBenefitsEligible",{get:function(){return this._state.isDefinedBenefitsEligible},enumerable:false,configurable:true});e.prototype.loadAppStateAsync=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:return[4,ge.getAppStateAsync()];case 1:e=t.sent();this._state.accountConfiguration=R.fromNullable(e.accountConfiguration);this._state.profileConfiguration=R.fromNullable(e.profileConfiguration);this._state.superBuyer=R.fromNullable(e.superBuyer);this._state.promotedFunds=R.fromNullable(e.promotedFunds);this._state.bringYourOwnFundCustomStepEnabled=e.bringYourOwnFundCustomStepEnabled;this._state.smsfCustomStepEnabled=e.smsfCustomStepEnabled;this._state.featuredFundsEnabled=e.featuredFundsEnabled;this._state.superChoicePrefill=R.fromNullable(e.prefill);this._state.isDefinedBenefitsEligible=R.fromNullable(e.isDefinedBenefitsEligible);if(R.isSome(this._state.accountConfiguration)){if(this._state.accountConfiguration.value.featureSet.type==="basic"){this._state.superCampaignEnabled=false}}return[2]}}))}))};e.prototype.setSuperCampaignPromotedFundsShown=function(e){if(this._state.superCampaignState!==undefined)this._state.superCampaignState.promotedFundsShown=e;else throw new Error("Cannot set shown funds for SuperCampaing state because it is undefined")};e.prototype.viewSuperFundPanelAsync=function(e,t){return ge.viewSuperFundPanelAsync(Object.assign(Object.assign({},this.promotedFundsConfig),{shownFunds:t?t:this.promotedFundsConfig.shownFunds,placementId:e}))};Object.defineProperty(e.prototype,"superCampaignState",{get:function(){return this._state.superCampaignState},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"superCampaignComponentStatus",{get:function(){return this._state.superCampaignComponentStatus},set:function(e){if(e===ye.Loaded){this._state.superCampaignComponentStatus=ye.Loaded;this._state.superCampaignState=new be}else{this._state.superCampaignComponentStatus=e;this._state.superCampaignState=undefined}},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isUsingSuperCampaign",{get:function(){return this.state.superCampaignEnabled&&this.superCampaignState!==undefined},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isBringYourOwnFundCustomStepEnabled",{get:function(){return this.state.bringYourOwnFundCustomStepEnabled},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isSmsfCustomStepEnabled",{get:function(){return this.state.smsfCustomStepEnabled},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isFeaturedFundsEnabled",{get:function(){return this.state.featuredFundsEnabled},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"superCampaignCanNotBeActivated",{get:function(){return!this.state.superCampaignEnabled||this.superCampaignComponentStatus===ye.NotWorking},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"hideFooterSection",{get:function(){return this._state.hideFooterSection},set:function(e){this._state.hideFooterSection=e},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"backendUrl",{get:function(){return R.map(this.getBaseUrl)(this.state.apiBaseUrl)},enumerable:false,configurable:true});e.prototype.getBaseUrl=function(e){var t=new URL(e);return t.protocol+"//"+t.hostname+(t.port.length>0?":"+t.port:"")};return e}();var Se=e("a",new _e);var Fe=function(){function e(){}e.prototype.navigateInternally=function(e,t){var n=""+this.appBaseUrl+this.toRouteWithLeadingSlash(t);y.navigation(n);e.push(n)};e.prototype.navigateInternallyToStandardChoice=function(e){N.handleSubmitFn=e.handleSubmitFn;N.fundName=e.fundName;N.fundDetails=e.fundDetails;N.promotedFundId=e.promotedFundId;this.navigateInternally(e.history,O.StandardChoice)};e.prototype.toExternalUrl=function(e){var t=new URL(e);t.searchParams.append("_extnav","true");return t.href};Object.defineProperty(e.prototype,"appBaseUrl",{get:function(){var e=Se.appBaseUrl;return e.replace(/\/$/,"")},enumerable:false,configurable:true});e.prototype.toRouteWithLeadingSlash=function(e){return e.length>0&&e[0]==="/"?e:"/"+e};return e}();var Ce=e("b",new Fe);var Ee;(function(e){e["MyOwnFund"]="Existing super fund";e["DefaultFund"]="Default super fund";e["SelfManagedFund"]="Self-managed super fund";e["FeaturedFunds"]="Featured super funds"})(Ee||(Ee=e("C",{})));var Ae={myOwnFundForm:{fundUsi:a,fundName:a,memberNumber:a,memberFirstName:a,memberFamilyName:a},selfManagedFundForm:{fundName:"",fundAbn:"",fundEsa:"",addressLine1:"",addressLine2:"",state:"",postcode:"",city:"",bankAccountName:"",bsb:"",bankAccountNumber:"",memberFirstName:"",memberFamilyName:""}};var Pe=A(Ae),Ne=Pe.state,Oe=Pe.reset;e("l",Ne);var ke=function(){function e(){}Object.defineProperty(e,"Instance",{get:function(){return this.instance||(this.instance=new this)},enumerable:false,configurable:true});e.prototype.PostAnalyticsEventAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,ae().url("analytics-events").post(e).res()]}))}))};return e}();var De=function(){function e(){this.eventTrackingApi=ke.Instance}Object.defineProperty(e,"Instance",{get:function(){return this.instance||(this.instance=new this)},enumerable:false,configurable:true});e.prototype.TrackSuperFundPdsViewedAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperFundPdsViewed:e})]}))}))};e.prototype.TrackPromotedSuperFundDetailViewedAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperFundDetailViewed:{PromotedFund:e}})]}))}))};e.prototype.TrackPromotedDefaultSuperFundDetailViewedAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperFundDetailViewed:{PromotedDefaultFund:e}})]}))}))};e.prototype.TrackMyOwnSuperFundDetailViewedAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperFundDetailViewed:{MyOwnFund:e}})]}))}))};e.prototype.TrackSmsfSuperFundDetailViewedAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperFundDetailViewed:{Smsf:e}})]}))}))};e.prototype.TrackDefaultSuperFundDetailViewedAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperFundDetailViewed:{DefaultFund:e}})]}))}))};e.prototype.TrackSuperFundNominationViewedAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperFundNominationViewed:e})]}))}))};e.prototype.TrackSuperFundNominationDeclinedAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperFundNominationDeclined:e})]}))}))};e.prototype.TrackSuperFundDisclaimerViewedAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperFundDisclaimerViewed:e})]}))}))};e.prototype.TrackSuperFundDisclaimerAcceptedAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperFundDisclaimerAccepted:e})]}))}))};e.prototype.TrackSuperFundPrefillViewedAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperFundPrefillViewed:e})]}))}))};e.prototype.TrackSuperFundPrefillDeclinedAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperFundPrefillDeclined:e})]}))}))};e.prototype.TrackSuperFundDetailChangeRequestedAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperFundDetailChangeRequested:e})]}))}))};e.prototype.TrackSuperCampaignActivationSucceededAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperCampaignActivationSucceeded:e})]}))}))};e.prototype.TrackSuperMyOwnFundEngagementStepActivationSucceeded=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperMyOwnFundEngagementStepActivationSucceeded:{fundUsi:e}})]}))}))};e.prototype.TrackSuperMyOwnFundEngagementStepContinued=function(e,t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){return[2,this.trackEventAsync({SuperMyOwnFundEngagementStepContinued:{fundUsi:e,reason:t}})]}))}))};e.prototype.TrackSuperSmsfEngagementStepActivationSucceeded=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.trackEventAsync({SuperSmsfEngagementStepActivationSucceeded:{}})]}))}))};e.prototype.TrackSuperSmsfEngagementStepContinued=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.trackEventAsync({SuperSmsfEngagementStepContinued:{reason:e}})]}))}))};e.prototype.trackEventAsync=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(n){switch(n.label){case 0:n.trys.push([0,2,,3]);return[4,this.eventTrackingApi.PostAnalyticsEventAsync({event:e})];case 1:n.sent();return[3,3];case 2:t=n.sent();return[2];case 3:return[2]}}))}))};return e}();e("E",De);var Me=function(){function e(){}e.prototype.submitDefaultFundChoiceAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,ae().url("super-choice/default").post(e).badRequest((function(){throw new Error("Failed to process default fund join request")})).text()]}))}))};e.prototype.submitCustomFundChoiceAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,ae().url("super-choice/custom-fund").post(e).badRequest((function(){throw new Error("Failed to process custom fund join request")})).text()]}))}))};e.prototype.submitSelfManagedFundChoiceAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,ae().url("super-choice/smsf").post(e).badRequest((function(){throw new Error("Failed to process SMSF choice request")})).text()]}))}))};e.prototype.submitDefinedBenefitsChoiceAsync=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,ae().url("super-choice/defined-benefits").post(e).badRequest((function(){throw new Error("Failed to process Defined Benefits choice request")})).text()]}))}))};e.prototype.validateAbnForSMSF=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(n){switch(n.label){case 0:return[4,ae().url("super-choice/smsf/"+e+"/validate").get().badRequest((function(){throw new Error("Failed to verify that if the provided abn is used for regulated fund")})).json()];case 1:t=n.sent();return[2,t.result]}}))}))};return e}();var Ie=e("e",new Me)}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
let e,t,n,l,o=!1,s=!1,i=!1,r=!1,c=null,a=!1;const f="undefined"!=typeof window?window:{},u=f.document||{head:{}},d={t:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},$=e=>Promise.resolve(e),p=(()=>{try{return new CSSStyleSheet,!0}catch(e){}return!1})(),h={},m=(e,t,n)=>{n&&n.map((([n,l,o])=>{const s=e,i=w(t,o),r=y(n);d.ael(s,l,i,r),(t.o=t.o||[]).push((()=>d.rel(s,l,i,r)))}))},w=(e,t)=>n=>{try{256&e.t?e.i[t](n):(e.u=e.u||[]).push([t,n])}catch(e){be(e)}},y=e=>0!=(2&e),b="http://www.w3.org/1999/xlink",g=new WeakMap,v=e=>"sc-"+e.$,k={},j=e=>"object"==(e=typeof e)||"function"===e,O=(e,t,...n)=>{let l=null,o=null,s=null,i=!1,r=!1,c=[];const a=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?a(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof e&&!j(l))&&(l+=""),i&&r?c[c.length-1].p+=l:c.push(i?S(null,l):l),r=i)};if(a(n),t){t.key&&(o=t.key),t.name&&(s=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,c,M);const f=S(e,null);return f.h=t,c.length>0&&(f.m=c),f.g=o,f.v=s,f},S=(e,t)=>({t:0,k:e,p:t,j:null,m:null,h:null,g:null,v:null}),C={},M={forEach:(e,t)=>e.map(x).forEach(t),map:(e,t)=>e.map(x).map(t).map(P)},x=e=>({vattrs:e.h,vchildren:e.m,vkey:e.g,vname:e.v,vtag:e.k,vtext:e.p}),P=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),O(e.vtag,t,...e.vchildren||[])}const t=S(e.vtag,e.vtext);return t.h=e.vattrs,t.m=e.vchildren,t.g=e.vkey,t.v=e.vname,t},R=(e,t,n,l,o,s)=>{if(n!==l){let i=ye(e,t),r=t.toLowerCase();if("class"===t){const t=e.classList,o=L(n),s=L(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(i||"o"!==t[0]||"n"!==t[1]){const c=j(l);if((i||c&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[t]=l;else{let o=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}let a=!1;r!==(r=r.replace(/^xlink\:?/,""))&&(t=r,a=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(a?e.removeAttributeNS(b,t):e.removeAttribute(t)):(!i||4&s||o)&&!c&&(l=!0===l?"":l,a?e.setAttributeNS(b,t,l):e.setAttribute(t,l))}else t="-"===t[2]?t.slice(3):ye(f,r)?r.slice(2):r[2]+t.slice(3),n&&d.rel(e,t,n,!1),l&&d.ael(e,t,l,!1)}},U=/\s/,L=e=>e?e.split(U):[],T=(e,t,n,l)=>{const o=11===t.j.nodeType&&t.j.host?t.j.host:t.j,s=e&&e.h||k,i=t.h||k;for(l in s)l in i||R(o,l,s[l],void 0,n,t.t);for(l in i)R(o,l,s[l],i[l],n,t.t)},E=(l,s,c,a)=>{let f,d,$,p=s.m[c],h=0;if(o||(i=!0,"slot"===p.k&&(e&&a.classList.add(e+"-s"),p.t|=p.m?2:1)),null!==p.p)f=p.j=u.createTextNode(p.p);else if(1&p.t)f=p.j=u.createTextNode("");else{if(r||(r="svg"===p.k),f=p.j=u.createElementNS(r?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&p.t?"slot-fb":p.k),r&&"foreignObject"===p.k&&(r=!1),T(null,p,r),null!=e&&f["s-si"]!==e&&f.classList.add(f["s-si"]=e),p.m)for(h=0;h<p.m.length;++h)d=E(l,p,h,f),d&&f.appendChild(d);"svg"===p.k?r=!1:"foreignObject"===f.tagName&&(r=!0)}return f["s-hn"]=n,3&p.t&&(f["s-sr"]=!0,f["s-cr"]=t,f["s-sn"]=p.v||"",$=l&&l.m&&l.m[c],$&&$.k===p.k&&l.j&&D(l.j,!1)),f},D=(e,t)=>{d.t|=1;const l=e.childNodes;for(let e=l.length-1;e>=0;e--){const o=l[e];o["s-hn"]!==n&&o["s-ol"]&&(H(o).insertBefore(o,A(o)),o["s-ol"].remove(),o["s-ol"]=void 0,i=!0),t&&D(o,t)}d.t&=-2},F=(e,t,l,o,s,i)=>{let r,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===n&&(c=c.shadowRoot);s<=i;++s)o[s]&&(r=E(null,l,s,e),r&&(o[s].j=r,c.insertBefore(r,A(t))))},W=(e,t,n,l,o)=>{for(;t<=n;++t)(l=e[t])&&(o=l.j,G(l),s=!0,o["s-ol"]?o["s-ol"].remove():D(o,!0),o.remove())},q=(e,t)=>e.k===t.k&&("slot"===e.k?e.v===t.v:e.g===t.g),A=e=>e&&e["s-ol"]||e,H=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,N=(e,t)=>{const n=t.j=e.j,l=e.m,o=t.m,s=t.k,i=t.p;let c;null===i?(r="svg"===s||"foreignObject"!==s&&r,"slot"===s||T(e,t,r),null!==l&&null!==o?((e,t,n,l)=>{let o,s,i=0,r=0,c=0,a=0,f=t.length-1,u=t[0],d=t[f],$=l.length-1,p=l[0],h=l[$];for(;i<=f&&r<=$;)if(null==u)u=t[++i];else if(null==d)d=t[--f];else if(null==p)p=l[++r];else if(null==h)h=l[--$];else if(q(u,p))N(u,p),u=t[++i],p=l[++r];else if(q(d,h))N(d,h),d=t[--f],h=l[--$];else if(q(u,h))"slot"!==u.k&&"slot"!==h.k||D(u.j.parentNode,!1),N(u,h),e.insertBefore(u.j,d.j.nextSibling),u=t[++i],h=l[--$];else if(q(d,p))"slot"!==u.k&&"slot"!==h.k||D(d.j.parentNode,!1),N(d,p),e.insertBefore(d.j,u.j),d=t[--f],p=l[++r];else{for(c=-1,a=i;a<=f;++a)if(t[a]&&null!==t[a].g&&t[a].g===p.g){c=a;break}c>=0?(s=t[c],s.k!==p.k?o=E(t&&t[r],n,c,e):(N(s,p),t[c]=void 0,o=s.j),p=l[++r]):(o=E(t&&t[r],n,r,e),p=l[++r]),o&&H(u.j).insertBefore(o,A(u.j))}i>f?F(e,null==l[$+1]?null:l[$+1].j,n,l,r,$):r>$&&W(t,i,f)})(n,l,t,o):null!==o?(null!==e.p&&(n.textContent=""),F(n,null,t,o,0,o.length-1)):null!==l&&W(l,0,l.length-1),r&&"svg"===s&&(r=!1)):(c=n["s-cr"])?c.parentNode.textContent=i:e.p!==i&&(n.data=i)},V=e=>{let t,n,l,o,s,i,r=e.childNodes;for(n=0,l=r.length;n<l;n++)if(t=r[n],1===t.nodeType){if(t["s-sr"])for(s=t["s-sn"],t.hidden=!1,o=0;o<l;o++)if(r[o]["s-hn"]!==t["s-hn"])if(i=r[o].nodeType,""!==s){if(1===i&&s===r[o].getAttribute("slot")){t.hidden=!0;break}}else if(1===i||3===i&&""!==r[o].textContent.trim()){t.hidden=!0;break}V(t)}},_=[],z=e=>{let t,n,l,o,i,r,c=0,a=e.childNodes,f=a.length;for(;c<f;c++){if(t=a[c],t["s-sr"]&&(n=t["s-cr"]))for(l=n.parentNode.childNodes,o=t["s-sn"],r=l.length-1;r>=0;r--)n=l[r],n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||(B(n,o)?(i=_.find((e=>e.O===n)),s=!0,n["s-sn"]=n["s-sn"]||o,i?i.S=t:_.push({S:t,O:n}),n["s-sr"]&&_.map((e=>{B(e.O,n["s-sn"])&&(i=_.find((e=>e.O===n)),i&&!e.S&&(e.S=i.S))}))):_.some((e=>e.O===n))||_.push({O:n}));1===t.nodeType&&z(t)}},B=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,G=e=>{e.h&&e.h.ref&&e.h.ref(null),e.m&&e.m.map(G)},I=e=>he(e).C,J=(e,t,n)=>{const l=I(e);return{emit:e=>K(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},K=(e,t,n)=>{const l=d.ce(t,n);return e.dispatchEvent(l),l},Q=(e,t)=>{t&&!e.M&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.M=t)))},X=(e,t)=>{if(e.t|=16,!(4&e.t))return Q(e,e.P),Ue((()=>Y(e,t)));e.t|=512},Y=(e,t)=>{const n=e.i;let l;return t&&(e.t|=256,e.u&&(e.u.map((([e,t])=>se(n,e,t))),e.u=null),l=se(n,"componentWillLoad")),ie(l,(()=>Z(e,n,t)))},Z=async(l,r,c)=>{const a=l.C,f=a["s-rc"];c&&(e=>{const t=e.R,n=e.C,l=t.t,o=((e,t)=>{let n=v(t),l=je.get(n);if(e=11===e.nodeType?e:u,l)if("string"==typeof l){let t,o=g.get(e=e.head||e);o||g.set(e,o=new Set),o.has(n)||(t=u.createElement("style"),t.innerHTML=l,e.insertBefore(t,e.querySelector("link")),o&&o.add(n))}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return n})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(l);((l,r)=>{const c=l.C,a=l.R,f=l.U||S(null,null),$=(e=>e&&e.k===C)(r)?r:O(null,null,r);if(n=c.tagName,a.L&&($.h=$.h||{},a.L.map((([e,t])=>$.h[t]=c[e]))),$.k=null,$.t|=4,l.U=$,$.j=f.j=c.shadowRoot||c,e=c["s-sc"],t=c["s-cr"],o=0!=(1&a.t),s=!1,N(f,$),d.t|=1,i){let e,t,n,l,o,s;z($.j);let i=0;for(;i<_.length;i++)e=_[i],t=e.O,t["s-ol"]||(n=u.createTextNode(""),n["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=n,t));for(i=0;i<_.length;i++)if(e=_[i],t=e.O,e.S){for(l=e.S.parentNode,o=e.S.nextSibling,n=t["s-ol"];n=n.previousSibling;)if(s=n["s-nr"],s&&s["s-sn"]===t["s-sn"]&&l===s.parentNode&&(s=s.nextSibling,!s||!s["s-nr"])){o=s;break}(!o&&l!==t.parentNode||t.nextSibling!==o)&&t!==o&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),l.insertBefore(t,o))}else 1===t.nodeType&&(t.hidden=!0)}s&&V($.j),d.t&=-2,_.length=0})(l,ee(l,r)),f&&(f.map((e=>e())),a["s-rc"]=void 0);{const e=a["s-p"],t=()=>ne(l);0===e.length?t():(Promise.all(e).then(t),l.t|=4,e.length=0)}},ee=(e,t)=>{try{c=t,t=t.render&&t.render(),e.t&=-17,e.t|=2}catch(t){be(t,e.C)}return c=null,t},te=()=>c,ne=e=>{const t=e.C,n=e.i,l=e.P;64&e.t?se(n,"componentDidUpdate"):(e.t|=64,re(t),se(n,"componentDidLoad"),e.T(t),l||oe()),e.M&&(e.M(),e.M=void 0),512&e.t&&Pe((()=>X(e,!1))),e.t&=-517},le=e=>{{const t=he(e),n=t.C.isConnected;return n&&2==(18&t.t)&&X(t,!1),n}},oe=()=>{re(u.documentElement),Pe((()=>K(f,"appload",{detail:{namespace:"apollo-super-selection"}})))},se=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){be(e)}},ie=(e,t)=>e&&e.then?e.then(t):t(),re=e=>e.classList.add("hydrated"),ce=(e,t,n)=>{if(t.D){e.watchers&&(t.F=e.watchers);const l=Object.entries(t.D),o=e.prototype;if(l.map((([e,[l]])=>{(31&l||2&n&&32&l)&&Object.defineProperty(o,e,{get(){return((e,t)=>he(this).W.get(t))(0,e)},set(n){((e,t,n,l)=>{const o=he(e),s=o.C,i=o.W.get(t),r=o.t,c=o.i;if(n=((e,t)=>null==e||j(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.D[t][0]),!(8&r&&void 0!==i||n===i)&&(o.W.set(t,n),c)){if(l.F&&128&r){const e=l.F[t];e&&e.map((e=>{try{c[e](n,i,t)}catch(e){be(e,s)}}))}2==(18&r)&&X(o,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0})})),1&n){const n=new Map;o.attributeChangedCallback=function(e,t,l){d.jmp((()=>{const t=n.get(e);this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,l])=>{const o=l[1]||e;return n.set(o,e),512&l[0]&&t.L.push([e,o]),o}))}}return e},ae=e=>{se(e,"connectedCallback")},fe=(e,t={})=>{const n=[],l=t.exclude||[],o=f.customElements,s=u.head,i=s.querySelector("meta[charset]"),r=u.createElement("style"),c=[];let a,$=!0;Object.assign(d,t),d.l=new URL(t.resourcesUrl||"./",u.baseURI).href,e.map((e=>e[1].map((t=>{const s={t:t[0],$:t[1],D:t[2],q:t[3]};s.D=t[2],s.q=t[3],s.L=[],s.F={};const i=s.$,r=class extends HTMLElement{constructor(e){super(e),we(e=this,s),1&s.t&&e.attachShadow({mode:"open"})}connectedCallback(){a&&(clearTimeout(a),a=null),$?c.push(this):d.jmp((()=>(e=>{if(0==(1&d.t)){const t=he(e),n=t.R,l=()=>{};if(1&t.t)m(e,t,n.q),ae(t.i);else{t.t|=1,12&n.t&&(e=>{const t=e["s-cr"]=u.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)})(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){Q(t,t.P=n);break}}n.D&&Object.entries(n.D).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,o)=>{if(0==(32&t.t)){{if(t.t|=32,(o=ke(n)).then){const e=()=>{};o=await o,e()}o.isProxied||(n.F=o.watchers,ce(o,n,2),o.isProxied=!0);const e=()=>{};t.t|=8;try{new o(t)}catch(e){be(e)}t.t&=-9,t.t|=128,e(),ae(t.i)}if(o.style){let e=o.style;const t=v(n);if(!je.has(t)){const l=()=>{};((e,t,n)=>{let l=je.get(e);p&&n?(l=l||new CSSStyleSheet,l.replace(t)):l=t,je.set(e,l)})(t,e,!!(1&n.t)),l()}}}const s=t.P,i=()=>X(t,!0);s&&s["s-rc"]?s["s-rc"].push(i):i()})(0,t,n)}l()}})(this)))}disconnectedCallback(){d.jmp((()=>(()=>{if(0==(1&d.t)){const e=he(this),t=e.i;e.o&&(e.o.map((e=>e())),e.o=void 0),se(t,"disconnectedCallback"),se(t,"componentDidUnload")}})()))}componentOnReady(){return he(this).A}};s.H=e[0],l.includes(i)||o.get(i)||(n.push(i),o.define(i,ce(r,s,1)))})))),r.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",r.setAttribute("data-styles",""),s.insertBefore(r,i?i.nextSibling:s.firstChild),$=!1,c.length?c.map((e=>e.connectedCallback())):d.jmp((()=>a=setTimeout(oe,30)))},ue=e=>{const t=new URL(e,d.l);return t.origin!==f.location.origin?t.href:t.pathname},de=(e,t)=>t in h?h[t]:"window"===t?f:"document"===t?u:"isServer"!==t&&"isPrerender"!==t&&("isClient"===t||("resourcesUrl"===t||"publicPath"===t?ue("."):"queue"===t?{write:Ue,read:Re,tick:{then:e=>Pe(e)}}:void 0)),$e=(e,t)=>t,pe=new WeakMap,he=e=>pe.get(e),me=(e,t)=>pe.set(t.i=e,t),we=(e,t)=>{const n={t:0,C:e,R:t,W:new Map};return n.A=new Promise((e=>n.T=e)),e["s-p"]=[],e["s-rc"]=[],m(e,n,t.q),pe.set(e,n)},ye=(e,t)=>t in e,be=(e,t)=>(l||console.error)(e,t),ge=e=>l=e,ve=new Map,ke=e=>{const t=e.$.replace(/-/g,"_"),n=e.H,l=ve.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(ve.set(n,e),e[t])),be)},je=new Map,Oe=[],Se=[],Ce=(e,t)=>n=>{e.push(n),a||(a=!0,t&&4&d.t?Pe(xe):d.raf(xe))},Me=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){be(e)}e.length=0},xe=()=>{Me(Oe),Me(Se),(a=Oe.length>0)&&d.raf(xe)},Pe=e=>$().then(e),Re=Ce(Oe,!1),Ue=Ce(Se,!0);export{$e as F,C as H,ue as a,fe as b,J as c,I as d,de as e,le as f,te as g,O as h,$ as p,me as r,ge as s}
|
|
1
|
+
let e,t,n,l,o=!1,s=!1,i=!1,r=!1,c=null,a=!1;const f="undefined"!=typeof window?window:{},u=f.document||{head:{}},d={t:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},$=e=>Promise.resolve(e),p=(()=>{try{return new CSSStyleSheet,!0}catch(e){}return!1})(),h={},m=(e,t,n)=>{n&&n.map((([n,l,o])=>{const s=e,i=w(t,o),r=y(n);d.ael(s,l,i,r),(t.o=t.o||[]).push((()=>d.rel(s,l,i,r)))}))},w=(e,t)=>n=>{try{256&e.t?e.i[t](n):(e.u=e.u||[]).push([t,n])}catch(e){be(e)}},y=e=>0!=(2&e),b="http://www.w3.org/1999/xlink",g=new WeakMap,v=e=>"sc-"+e.$,k={},j=e=>"object"==(e=typeof e)||"function"===e,O=(e,t,...n)=>{let l=null,o=null,s=null,i=!1,r=!1,c=[];const a=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?a(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof e&&!j(l))&&(l+=""),i&&r?c[c.length-1].p+=l:c.push(i?S(null,l):l),r=i)};if(a(n),t){t.key&&(o=t.key),t.name&&(s=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,c,M);const f=S(e,null);return f.h=t,c.length>0&&(f.m=c),f.g=o,f.v=s,f},S=(e,t)=>({t:0,k:e,p:t,j:null,m:null,h:null,g:null,v:null}),C={},M={forEach:(e,t)=>e.map(x).forEach(t),map:(e,t)=>e.map(x).map(t).map(P)},x=e=>({vattrs:e.h,vchildren:e.m,vkey:e.g,vname:e.v,vtag:e.k,vtext:e.p}),P=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),O(e.vtag,t,...e.vchildren||[])}const t=S(e.vtag,e.vtext);return t.h=e.vattrs,t.m=e.vchildren,t.g=e.vkey,t.v=e.vname,t},R=(e,t,n,l,o,s)=>{if(n!==l){let i=ye(e,t),r=t.toLowerCase();if("class"===t){const t=e.classList,o=L(n),s=L(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(i||"o"!==t[0]||"n"!==t[1]){const c=j(l);if((i||c&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[t]=l;else{let o=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}let a=!1;r!==(r=r.replace(/^xlink\:?/,""))&&(t=r,a=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(a?e.removeAttributeNS(b,t):e.removeAttribute(t)):(!i||4&s||o)&&!c&&(l=!0===l?"":l,a?e.setAttributeNS(b,t,l):e.setAttribute(t,l))}else t="-"===t[2]?t.slice(3):ye(f,r)?r.slice(2):r[2]+t.slice(3),n&&d.rel(e,t,n,!1),l&&d.ael(e,t,l,!1)}},U=/\s/,L=e=>e?e.split(U):[],T=(e,t,n,l)=>{const o=11===t.j.nodeType&&t.j.host?t.j.host:t.j,s=e&&e.h||k,i=t.h||k;for(l in s)l in i||R(o,l,s[l],void 0,n,t.t);for(l in i)R(o,l,s[l],i[l],n,t.t)},E=(l,s,c,a)=>{let f,d,$,p=s.m[c],h=0;if(o||(i=!0,"slot"===p.k&&(e&&a.classList.add(e+"-s"),p.t|=p.m?2:1)),null!==p.p)f=p.j=u.createTextNode(p.p);else if(1&p.t)f=p.j=u.createTextNode("");else{if(r||(r="svg"===p.k),f=p.j=u.createElementNS(r?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&p.t?"slot-fb":p.k),r&&"foreignObject"===p.k&&(r=!1),T(null,p,r),null!=e&&f["s-si"]!==e&&f.classList.add(f["s-si"]=e),p.m)for(h=0;h<p.m.length;++h)d=E(l,p,h,f),d&&f.appendChild(d);"svg"===p.k?r=!1:"foreignObject"===f.tagName&&(r=!0)}return f["s-hn"]=n,3&p.t&&(f["s-sr"]=!0,f["s-cr"]=t,f["s-sn"]=p.v||"",$=l&&l.m&&l.m[c],$&&$.k===p.k&&l.j&&D(l.j,!1)),f},D=(e,t)=>{d.t|=1;const l=e.childNodes;for(let e=l.length-1;e>=0;e--){const o=l[e];o["s-hn"]!==n&&o["s-ol"]&&(H(o).insertBefore(o,A(o)),o["s-ol"].remove(),o["s-ol"]=void 0,i=!0),t&&D(o,t)}d.t&=-2},F=(e,t,l,o,s,i)=>{let r,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===n&&(c=c.shadowRoot);s<=i;++s)o[s]&&(r=E(null,l,s,e),r&&(o[s].j=r,c.insertBefore(r,A(t))))},W=(e,t,n,l,o)=>{for(;t<=n;++t)(l=e[t])&&(o=l.j,G(l),s=!0,o["s-ol"]?o["s-ol"].remove():D(o,!0),o.remove())},q=(e,t)=>e.k===t.k&&("slot"===e.k?e.v===t.v:e.g===t.g),A=e=>e&&e["s-ol"]||e,H=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,N=(e,t)=>{const n=t.j=e.j,l=e.m,o=t.m,s=t.k,i=t.p;let c;null===i?(r="svg"===s||"foreignObject"!==s&&r,"slot"===s||T(e,t,r),null!==l&&null!==o?((e,t,n,l)=>{let o,s,i=0,r=0,c=0,a=0,f=t.length-1,u=t[0],d=t[f],$=l.length-1,p=l[0],h=l[$];for(;i<=f&&r<=$;)if(null==u)u=t[++i];else if(null==d)d=t[--f];else if(null==p)p=l[++r];else if(null==h)h=l[--$];else if(q(u,p))N(u,p),u=t[++i],p=l[++r];else if(q(d,h))N(d,h),d=t[--f],h=l[--$];else if(q(u,h))"slot"!==u.k&&"slot"!==h.k||D(u.j.parentNode,!1),N(u,h),e.insertBefore(u.j,d.j.nextSibling),u=t[++i],h=l[--$];else if(q(d,p))"slot"!==u.k&&"slot"!==h.k||D(d.j.parentNode,!1),N(d,p),e.insertBefore(d.j,u.j),d=t[--f],p=l[++r];else{for(c=-1,a=i;a<=f;++a)if(t[a]&&null!==t[a].g&&t[a].g===p.g){c=a;break}c>=0?(s=t[c],s.k!==p.k?o=E(t&&t[r],n,c,e):(N(s,p),t[c]=void 0,o=s.j),p=l[++r]):(o=E(t&&t[r],n,r,e),p=l[++r]),o&&H(u.j).insertBefore(o,A(u.j))}i>f?F(e,null==l[$+1]?null:l[$+1].j,n,l,r,$):r>$&&W(t,i,f)})(n,l,t,o):null!==o?(null!==e.p&&(n.textContent=""),F(n,null,t,o,0,o.length-1)):null!==l&&W(l,0,l.length-1),r&&"svg"===s&&(r=!1)):(c=n["s-cr"])?c.parentNode.textContent=i:e.p!==i&&(n.data=i)},V=e=>{let t,n,l,o,s,i,r=e.childNodes;for(n=0,l=r.length;n<l;n++)if(t=r[n],1===t.nodeType){if(t["s-sr"])for(s=t["s-sn"],t.hidden=!1,o=0;o<l;o++)if(r[o]["s-hn"]!==t["s-hn"])if(i=r[o].nodeType,""!==s){if(1===i&&s===r[o].getAttribute("slot")){t.hidden=!0;break}}else if(1===i||3===i&&""!==r[o].textContent.trim()){t.hidden=!0;break}V(t)}},_=[],z=e=>{let t,n,l,o,i,r,c=0,a=e.childNodes,f=a.length;for(;c<f;c++){if(t=a[c],t["s-sr"]&&(n=t["s-cr"]))for(l=n.parentNode.childNodes,o=t["s-sn"],r=l.length-1;r>=0;r--)n=l[r],n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||(B(n,o)?(i=_.find((e=>e.O===n)),s=!0,n["s-sn"]=n["s-sn"]||o,i?i.S=t:_.push({S:t,O:n}),n["s-sr"]&&_.map((e=>{B(e.O,n["s-sn"])&&(i=_.find((e=>e.O===n)),i&&!e.S&&(e.S=i.S))}))):_.some((e=>e.O===n))||_.push({O:n}));1===t.nodeType&&z(t)}},B=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,G=e=>{e.h&&e.h.ref&&e.h.ref(null),e.m&&e.m.map(G)},I=e=>he(e).C,J=(e,t,n)=>{const l=I(e);return{emit:e=>K(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},K=(e,t,n)=>{const l=d.ce(t,n);return e.dispatchEvent(l),l},Q=(e,t)=>{t&&!e.M&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.M=t)))},X=(e,t)=>{if(e.t|=16,!(4&e.t))return Q(e,e.P),Ue((()=>Y(e,t)));e.t|=512},Y=(e,t)=>{const n=e.i;let l;return t&&(e.t|=256,e.u&&(e.u.map((([e,t])=>se(n,e,t))),e.u=null),l=se(n,"componentWillLoad")),ie(l,(()=>Z(e,n,t)))},Z=async(l,r,c)=>{const a=l.C,f=a["s-rc"];c&&(e=>{const t=e.R,n=e.C,l=t.t,o=((e,t)=>{let n=v(t),l=je.get(n);if(e=11===e.nodeType?e:u,l)if("string"==typeof l){let t,o=g.get(e=e.head||e);o||g.set(e,o=new Set),o.has(n)||(t=u.createElement("style"),t.innerHTML=l,e.insertBefore(t,e.querySelector("link")),o&&o.add(n))}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return n})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(l);((l,r)=>{const c=l.C,a=l.R,f=l.U||S(null,null),$=(e=>e&&e.k===C)(r)?r:O(null,null,r);if(n=c.tagName,a.L&&($.h=$.h||{},a.L.map((([e,t])=>$.h[t]=c[e]))),$.k=null,$.t|=4,l.U=$,$.j=f.j=c.shadowRoot||c,e=c["s-sc"],t=c["s-cr"],o=0!=(1&a.t),s=!1,N(f,$),d.t|=1,i){let e,t,n,l,o,s;z($.j);let i=0;for(;i<_.length;i++)e=_[i],t=e.O,t["s-ol"]||(n=u.createTextNode(""),n["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=n,t));for(i=0;i<_.length;i++)if(e=_[i],t=e.O,e.S){for(l=e.S.parentNode,o=e.S.nextSibling,n=t["s-ol"];n=n.previousSibling;)if(s=n["s-nr"],s&&s["s-sn"]===t["s-sn"]&&l===s.parentNode&&(s=s.nextSibling,!s||!s["s-nr"])){o=s;break}(!o&&l!==t.parentNode||t.nextSibling!==o)&&t!==o&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),l.insertBefore(t,o))}else 1===t.nodeType&&(t.hidden=!0)}s&&V($.j),d.t&=-2,_.length=0})(l,ee(l,r)),f&&(f.map((e=>e())),a["s-rc"]=void 0);{const e=a["s-p"],t=()=>ne(l);0===e.length?t():(Promise.all(e).then(t),l.t|=4,e.length=0)}},ee=(e,t)=>{try{c=t,t=t.render&&t.render(),e.t&=-17,e.t|=2}catch(t){be(t,e.C)}return c=null,t},te=()=>c,ne=e=>{const t=e.C,n=e.i,l=e.P;64&e.t?se(n,"componentDidUpdate"):(e.t|=64,re(t),se(n,"componentDidLoad"),e.T(t),l||oe()),e.M&&(e.M(),e.M=void 0),512&e.t&&Pe((()=>X(e,!1))),e.t&=-517},le=e=>{{const t=he(e),n=t.C.isConnected;return n&&2==(18&t.t)&&X(t,!1),n}},oe=()=>{re(u.documentElement),Pe((()=>K(f,"appload",{detail:{namespace:"apollo-super-selection"}})))},se=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){be(e)}},ie=(e,t)=>e&&e.then?e.then(t):t(),re=e=>e.classList.add("hydrated"),ce=(e,t,n)=>{if(t.D){e.watchers&&(t.F=e.watchers);const l=Object.entries(t.D),o=e.prototype;if(l.map((([e,[l]])=>{(31&l||2&n&&32&l)&&Object.defineProperty(o,e,{get(){return((e,t)=>he(this).W.get(t))(0,e)},set(n){((e,t,n,l)=>{const o=he(e),s=o.C,i=o.W.get(t),r=o.t,c=o.i;if(n=((e,t)=>null==e||j(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.D[t][0]),!(8&r&&void 0!==i||n===i)&&(o.W.set(t,n),c)){if(l.F&&128&r){const e=l.F[t];e&&e.map((e=>{try{c[e](n,i,t)}catch(e){be(e,s)}}))}2==(18&r)&&X(o,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0})})),1&n){const n=new Map;o.attributeChangedCallback=function(e,t,l){d.jmp((()=>{const t=n.get(e);this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,l])=>{const o=l[1]||e;return n.set(o,e),512&l[0]&&t.L.push([e,o]),o}))}}return e},ae=e=>{se(e,"connectedCallback")},fe=(e,t={})=>{const n=[],l=t.exclude||[],o=f.customElements,s=u.head,i=s.querySelector("meta[charset]"),r=u.createElement("style"),c=[];let a,$=!0;Object.assign(d,t),d.l=new URL(t.resourcesUrl||"./",u.baseURI).href,e.map((e=>e[1].map((t=>{const s={t:t[0],$:t[1],D:t[2],q:t[3]};s.D=t[2],s.q=t[3],s.L=[],s.F={};const i=s.$,r=class extends HTMLElement{constructor(e){super(e),we(e=this,s),1&s.t&&e.attachShadow({mode:"open"})}connectedCallback(){a&&(clearTimeout(a),a=null),$?c.push(this):d.jmp((()=>(e=>{if(0==(1&d.t)){const t=he(e),n=t.R,l=()=>{};if(1&t.t)m(e,t,n.q),ae(t.i);else{t.t|=1,12&n.t&&(e=>{const t=e["s-cr"]=u.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)})(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){Q(t,t.P=n);break}}n.D&&Object.entries(n.D).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,o)=>{if(0==(32&t.t)){{if(t.t|=32,(o=ke(n)).then){const e=()=>{};o=await o,e()}o.isProxied||(n.F=o.watchers,ce(o,n,2),o.isProxied=!0);const e=()=>{};t.t|=8;try{new o(t)}catch(e){be(e)}t.t&=-9,t.t|=128,e(),ae(t.i)}if(o.style){let e=o.style;const t=v(n);if(!je.has(t)){const l=()=>{};((e,t,n)=>{let l=je.get(e);p&&n?(l=l||new CSSStyleSheet,l.replace(t)):l=t,je.set(e,l)})(t,e,!!(1&n.t)),l()}}}const s=t.P,i=()=>X(t,!0);s&&s["s-rc"]?s["s-rc"].push(i):i()})(0,t,n)}l()}})(this)))}disconnectedCallback(){d.jmp((()=>(()=>{if(0==(1&d.t)){const e=he(this),t=e.i;e.o&&(e.o.map((e=>e())),e.o=void 0),se(t,"disconnectedCallback"),se(t,"componentDidUnload")}})()))}componentOnReady(){return he(this).A}};s.H=e[0],l.includes(i)||o.get(i)||(n.push(i),o.define(i,ce(r,s,1)))})))),r.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",r.setAttribute("data-styles",""),s.insertBefore(r,i?i.nextSibling:s.firstChild),$=!1,c.length?c.map((e=>e.connectedCallback())):d.jmp((()=>a=setTimeout(oe,30)))},ue=e=>{const t=new URL(e,d.l);return t.origin!==f.location.origin?t.href:t.pathname},de=(e,t)=>t in h?h[t]:"window"===t?f:"document"===t?u:"isServer"!==t&&"isPrerender"!==t&&("isClient"===t||("resourcesUrl"===t||"publicPath"===t?ue("."):"queue"===t?{write:Ue,read:Re,tick:{then:e=>Pe(e)}}:void 0)),$e=(e,t)=>t,pe=new WeakMap,he=e=>pe.get(e),me=(e,t)=>pe.set(t.i=e,t),we=(e,t)=>{const n={t:0,C:e,R:t,W:new Map};return n.A=new Promise((e=>n.T=e)),e["s-p"]=[],e["s-rc"]=[],m(e,n,t.q),pe.set(e,n)},ye=(e,t)=>t in e,be=(e,t)=>(l||console.error)(e,t),ge=e=>l=e,ve=new Map,ke=e=>{const t=e.$.replace(/-/g,"_"),n=e.H,l=ve.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(ve.set(n,e),e[t])),be)},je=new Map,Oe=[],Se=[],Ce=(e,t)=>n=>{e.push(n),a||(a=!0,t&&4&d.t?Pe(xe):d.raf(xe))},Me=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){be(e)}e.length=0},xe=()=>{Me(Oe),Me(Se),(a=Oe.length>0)&&d.raf(xe)},Pe=e=>$().then(e),Re=Ce(Oe,!1),Ue=Ce(Se,!0);export{$e as F,C as H,I as a,fe as b,J as c,de as d,te as e,le as f,ue as g,O as h,$ as p,me as r,ge as s}
|
package/dist/lib/apollo-super-selection/{p-f29066b9.system.entry.js → p-e957b393.system.entry.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-71ca4cf8.system.js","./p-97188c78.system.js"],(function(e){"use strict";var t,n,s;return{setters:[function(e){t=e.r;n=e.a},function(e){s=e.A}],execute:function(){var i=e("stencil_router_prompt",function(){function e(e){t(this,e);this.when=true;this.message=""}e.prototype.enable=function(e){if(this.unblock){this.unblock()}if(this.history){this.unblock=this.history.block(e)}};e.prototype.disable=function(){if(this.unblock){this.unblock();this.unblock=undefined}};e.prototype.componentWillLoad=function(){if(this.when){this.enable(this.message)}};e.prototype.updateMessage=function(e,t){if(this.when){if(!this.when||t!==e){this.enable(this.message)}}else{this.disable()}};e.prototype.componentDidUnload=function(){this.disable()};e.prototype.render=function(){return null};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{message:["updateMessage"],when:["updateMessage"]}},enumerable:false,configurable:true});return e}());s.injectProps(i,["history"])}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as t}from"./p-
|
|
1
|
+
import{h as t}from"./p-db0bded8.js";const e=(()=>{let e=new Map,r={historyType:"browser",location:{pathname:"",query:{},key:""},titleSuffix:"",root:"/",routeViewsUpdated:()=>{}};const o=(t,e)=>{Array.isArray(t)?[...t].forEach((t=>{e[t]=r[t]})):e[t]=Object.assign({},r)},s=(t,r)=>(e.has(t)||(e.set(t,r),o(r,t)),()=>{e.has(t)&&e.delete(t)});return{Provider:({state:t},s)=>(r=t,e.forEach(o),s),Consumer:(e,r)=>((e,r)=>t("context-consumer",{subscribe:e,renderer:r}))(s,r[0]),injectProps:(t,r)=>{const o=t.prototype,n=o.connectedCallback,i=o.disconnectedCallback;o.connectedCallback=function(){if(s(this,r),n)return n.call(this)},o.disconnectedCallback=function(){e.delete(this),i&&i.call(this)}}}})();export{e as A}
|
|
@@ -18,5 +18,5 @@ const patchBrowser = () => {
|
|
|
18
18
|
|
|
19
19
|
patchBrowser().then(options => {
|
|
20
20
|
appGlobals.globalScripts();
|
|
21
|
-
return index.bootstrapLazy([["context-consumer.cjs",[[0,"context-consumer",{"context":[16],"renderer":[16],"subscribe":[16],"unsubscribe":[32]}]]],["stencil-async-content.cjs",[[0,"stencil-async-content",{"documentLocation":[1,"document-location"],"content":[32]}]]],["stencil-route-title.cjs",[[0,"stencil-route-title",{"titleSuffix":[1,"title-suffix"],"pageTitle":[1,"page-title"]}]]],["stencil-router-prompt.cjs",[[0,"stencil-router-prompt",{"when":[4],"message":[1],"history":[16],"unblock":[32]}]]],["stencil-router-redirect.cjs",[[0,"stencil-router-redirect",{"history":[16],"root":[1],"url":[1]}]]],["sss-
|
|
21
|
+
return index.bootstrapLazy([["sss-super-byof-host.cjs",[[0,"sss-super-byof-host",{"history":[16],"backendUrl":[32],"accessToken":[32]}]]],["context-consumer.cjs",[[0,"context-consumer",{"context":[16],"renderer":[16],"subscribe":[16],"unsubscribe":[32]}]]],["stencil-async-content.cjs",[[0,"stencil-async-content",{"documentLocation":[1,"document-location"],"content":[32]}]]],["stencil-route-title.cjs",[[0,"stencil-route-title",{"titleSuffix":[1,"title-suffix"],"pageTitle":[1,"page-title"]}]]],["stencil-router-prompt.cjs",[[0,"stencil-router-prompt",{"when":[4],"message":[1],"history":[16],"unblock":[32]}]]],["stencil-router-redirect.cjs",[[0,"stencil-router-redirect",{"history":[16],"root":[1],"url":[1]}]]],["sss-button_32.cjs",[[0,"sss-prefill",{"history":[16],"prefill":[32]}],[1,"super-selection-app-host",{"sessionState":[32],"jwt":[32],"appConfiguration":[32],"ignoreExistingSelection":[32]}],[0,"sss-default-fund",{"history":[16],"defaultFundProductName":[32]}],[0,"sss-super-campaign-featured-funds",{"history":[16],"backendUrl":[32],"accessToken":[32],"currentView":[32]}],[0,"sss-super-smsf-host",{"history":[16],"backendUrl":[32],"accessToken":[32]}],[0,"sss-existing-choice-page",{"history":[16],"existingFund":[32]}],[0,"sss-standard-choice-form",{"history":[16],"standardChoiceFormSignature":[32],"formState":[32],"isSubmitDisabled":[32]}],[0,"sss-success"],[0,"sss-choice-router",{"history":[16]}],[0,"sss-my-own-fund-engagement-step-host",{"history":[16],"backendUrl":[32],"accessToken":[32],"fundUsi":[32],"fundName":[32],"memberNumber":[32],"memberFirstName":[32],"memberFamilyName":[32]}],[0,"sss-smsf-engagement-step-host",{"history":[16],"backendUrl":[32],"accessToken":[32],"fundName":[32],"fundAbn":[32],"fundEsa":[32],"fundAddress":[32],"bsb":[32],"bankAccountName":[32],"bankAccountNumber":[32],"memberFirstName":[32],"memberFamilyName":[32],"accountId":[32],"partnerId":[32]}],[0,"sss-super-campaign-host",{"history":[16],"scriptImported":[32],"backendUrl":[32],"accessToken":[32]}],[0,"sss-dropdown-async",{"testId":[1,"test-id"],"placeholder":[1],"searchFunction":[16],"value":[16],"required":[4],"requiredValidationMessage":[1,"required-validation-message"],"disabled":[4],"minSearchStringLength":[2,"min-search-string-length"],"showValidationErrors":[4,"show-validation-errors"],"searchState":[32],"inputValue":[32],"isDropdownVisible":[32],"filteredOptions":[32],"highlightedOptionIndex":[32],"selectedOption":[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-name-input",{"testId":[1,"test-id"],"value":[1],"name":[1],"readableName":[1,"readable-name"],"showValidationErrors":[4,"show-validation-errors"],"errorMessage":[32]}],[0,"sss-prefill-my-own-fund",{"history":[16],"prefill":[16],"mode":[32],"formState":[32],"isSubmitDisabled":[32],"fundUsi":[32],"fundName":[32],"memberNumber":[32],"memberGivenNames":[32],"memberLastName":[32]}],[0,"sss-prefill-smsf",{"history":[16],"prefill":[16],"mode":[32],"formState":[32],"isSubmitDisabled":[32],"fundName":[32],"fundAbn":[32],"fundEsa":[32],"fundAddressLine1":[32],"fundAddressLine2":[32],"fundAddressCity":[32],"fundAddressPostcode":[32],"fundAddressState":[32],"fundAddress":[32],"memberGivenNames":[32],"memberLastName":[32],"bankAccountName":[32],"bankName":[32],"bankAccountBsb":[32],"bankAccountNumber":[32]}],[0,"sss-prefill-invalid-my-own-fund",{"history":[16],"prefill":[16],"fundUsi":[32],"fundName":[32],"memberNumber":[32],"memberGivenNames":[32],"memberLastName":[32]}],[0,"sss-prefill-invalid-smsf",{"history":[16],"prefill":[16],"fundName":[32],"fundAbn":[32],"fundEsa":[32],"fundAddressLine1":[32],"fundAddressLine2":[32],"fundAddressCity":[32],"fundAddressPostcode":[32],"fundAddressState":[32],"fundAddress":[32],"memberGivenNames":[32],"memberLastName":[32],"bankAccountName":[32],"bankAccountBsb":[32],"bankAccountNumber":[32]}],[1,"super-selection-app",{"ignoreExistingSelection":[4,"ignore-existing-selection"],"accessToken":[1,"access-token"],"backendUrl":[1,"backend-url"],"appBaseUrl":[1,"app-base-url"],"history":[16],"location":[16],"isSelfHosted":[4,"is-self-hosted"],"isAppInitialised":[32]}],[0,"sss-loading-page"],[0,"sss-footer-section",{"textOverride":[1,"text-override"]}],[4,"stencil-route-switch",{"group":[513],"scrollTopOffset":[2,"scroll-top-offset"],"location":[16],"routeViewsUpdated":[16]}],[4,"stencil-router",{"root":[1],"historyType":[1,"history-type"],"titleSuffix":[1,"title-suffix"],"scrollTopOffset":[2,"scroll-top-offset"],"location":[32],"history":[32]}],[0,"sss-prefill-warning-box",{"notificationList":[16]}],[0,"sss-header-section"],[4,"sss-custom-fund",{"history":[16],"currentCustomFund":[32],"fundOptionsList":[32],"showFundOptionsSelection":[32]}],[0,"sss-prefill-display-field",{"field":[16]}],[0,"sss-prefill-error-box",{"withHeader":[4,"with-header"],"notificationList":[16]}],[4,"stencil-route-link",{"url":[1],"urlMatch":[1,"url-match"],"activeClass":[1,"active-class"],"exact":[4],"strict":[4],"custom":[1],"anchorClass":[1,"anchor-class"],"anchorRole":[1,"anchor-role"],"anchorTitle":[1,"anchor-title"],"anchorTabIndex":[1,"anchor-tab-index"],"anchorId":[1,"anchor-id"],"history":[16],"location":[16],"root":[1],"ariaHaspopup":[1,"aria-haspopup"],"ariaPosinset":[1,"aria-posinset"],"ariaSetsize":[2,"aria-setsize"],"ariaLabel":[1,"aria-label"],"match":[32]}],[4,"sss-button",{"testid":[1],"fillWidth":[4,"fill-width"],"fillWidthOnMobile":[4,"fill-width-on-mobile"],"disabled":[4],"variant":[1],"size":[1],"promiseFn":[16],"state":[32]}],[0,"sss-loading-indicator",{"theme":[1],"size":[2]}],[0,"stencil-route",{"group":[513],"componentUpdated":[16],"match":[1040],"url":[1],"component":[1],"componentProps":[16],"exact":[4],"routeRender":[16],"scrollTopOffset":[2,"scroll-top-offset"],"routeViewsUpdated":[16],"location":[16],"history":[16],"historyType":[1,"history-type"]}]]]], options);
|
|
22
22
|
});
|