@flarehr/apollo-super-selection 3.52.60060 → 3.55.61713
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 -0
- 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/assets/icon-check.svg +3 -0
- package/dist/lib/apollo-super-selection/assets/icon-exclamation.svg +3 -0
- package/dist/lib/apollo-super-selection/assets/icon-information-circle.svg +3 -0
- package/dist/lib/apollo-super-selection/p-0d3b8084.system.entry.js +1 -0
- package/dist/lib/apollo-super-selection/p-0ef73515.entry.js +1 -0
- package/dist/lib/apollo-super-selection/p-0f723eb4.system.js +1 -0
- package/dist/lib/apollo-super-selection/{p-01a9f4a4.entry.js → p-12d77532.entry.js} +1 -1
- package/dist/lib/apollo-super-selection/p-14885f78.system.js +15 -0
- package/dist/lib/apollo-super-selection/{p-381262c1.system.js → p-15f0e5eb.system.js} +1 -1
- package/dist/lib/apollo-super-selection/p-29c11183.js +15 -0
- package/dist/lib/apollo-super-selection/{p-20136efe.entry.js → p-375401a0.entry.js} +1 -1
- package/dist/lib/apollo-super-selection/{p-285da037.system.entry.js → p-3ce021a5.system.entry.js} +1 -1
- package/dist/lib/apollo-super-selection/{p-61734b66.js → p-40e504c4.js} +1 -1
- package/dist/lib/apollo-super-selection/p-67b71067.entry.js +1 -0
- package/dist/lib/apollo-super-selection/{p-082669d9.js → p-683b6e23.js} +1 -1
- package/dist/lib/apollo-super-selection/{p-38ee2795.system.js → p-6cdec249.system.js} +1 -1
- package/dist/lib/apollo-super-selection/{p-cd49a6b7.system.entry.js → p-76eee25a.system.entry.js} +1 -1
- package/dist/lib/apollo-super-selection/p-86e3e03f.js +1 -0
- package/dist/lib/apollo-super-selection/{p-8cbfc343.system.entry.js → p-918a740c.system.entry.js} +1 -1
- package/dist/lib/apollo-super-selection/p-93f7a547.entry.js +14 -0
- package/dist/lib/apollo-super-selection/p-c249f6ed.system.js +1 -0
- package/dist/lib/apollo-super-selection/p-c2b9cfa5.system.entry.js +69 -0
- package/dist/lib/apollo-super-selection/{p-a98c2760.entry.js → p-cb6b386e.entry.js} +1 -1
- package/dist/lib/apollo-super-selection/{p-f15bf700.system.entry.js → p-e9a34be2.system.entry.js} +1 -1
- package/dist/lib/cjs/{active-router-e92fd784.js → active-router-71d965f4.js} +1 -1
- package/dist/lib/cjs/apollo-super-selection.cjs.js +4 -5
- package/dist/lib/cjs/{app-globals-45007120.js → app-globals-b1125d8c.js} +1 -1
- package/dist/lib/cjs/context-consumer.cjs.entry.js +1 -1
- package/dist/lib/cjs/{datorama-akita-7f4b082a.js → datorama-akita-6c9cb8fb.js} +1005 -68
- package/dist/lib/cjs/{index-942e6faa.js → index-f746d8f0.js} +2 -0
- package/dist/lib/cjs/loader.cjs.js +4 -5
- package/dist/lib/cjs/{fl-button_31.cjs.entry.js → sss-button_28.cjs.entry.js} +2138 -2177
- package/dist/lib/cjs/stencil-async-content.cjs.entry.js +1 -1
- package/dist/lib/cjs/stencil-route-title.cjs.entry.js +2 -2
- package/dist/lib/cjs/stencil-router-prompt.cjs.entry.js +2 -2
- package/dist/lib/cjs/stencil-router-redirect.cjs.entry.js +2 -2
- package/dist/lib/collection/apollo-super-selection.css +1 -0
- package/dist/lib/collection/collection-manifest.json +16 -28
- package/dist/lib/collection/components/app-host/loading-page.js +3 -3
- package/dist/lib/collection/components/app-host/super-selection-app-host.css +0 -4
- package/dist/lib/collection/components/app-host/super-selection-app-host.js +7 -19
- package/dist/lib/collection/components/super-selection-app/api/super-selection.api.dto.js +69 -1
- package/dist/lib/collection/components/super-selection-app/api/super-selection.api.js +9 -3
- package/dist/lib/collection/components/super-selection-app/app-state-pages/success.js +16 -21
- package/dist/lib/collection/components/super-selection-app/assets/icon-check.svg +3 -0
- package/dist/lib/collection/components/super-selection-app/assets/icon-exclamation.svg +3 -0
- package/dist/lib/collection/components/super-selection-app/assets/icon-information-circle.svg +3 -0
- package/dist/lib/collection/components/super-selection-app/consent/consent.js +57 -0
- package/dist/lib/collection/components/super-selection-app/existing-choice/existing-choice.js +136 -0
- package/dist/lib/collection/components/super-selection-app/footer-section/footer-section.js +6 -18
- package/dist/lib/collection/components/super-selection-app/funds/constants.js +50 -0
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/custom-fund.js +32 -16
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/custom-fund.store.js +10 -14
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/default-fund/default-fund.js +36 -45
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-inputs.js +40 -19
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund.js +45 -40
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs.js +104 -58
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.js +53 -49
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-not-supported.js +6 -16
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund-join-page.js +1 -1
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund.store.js +1 -4
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-iframe-builder.js +10 -4
- package/dist/lib/collection/components/super-selection-app/funds/slate-super/services/slate-iframe-builder.js +13 -4
- package/dist/lib/collection/components/super-selection-app/funds/slate-super/slate-join-page.js +2 -3
- package/dist/lib/collection/components/super-selection-app/header-section/header-section.js +45 -0
- package/dist/lib/collection/components/super-selection-app/misc/button.js +146 -0
- package/dist/lib/collection/components/super-selection-app/misc/dropdown-async.css +7 -0
- package/dist/lib/collection/components/super-selection-app/misc/dropdown-async.js +359 -0
- package/dist/lib/collection/components/super-selection-app/misc/loading-indicator.js +52 -0
- package/dist/lib/collection/components/super-selection-app/services/australian-fund-lookup.service.js +8 -4
- package/dist/lib/collection/components/super-selection-app/services/event-tracking.service.js +20 -0
- package/dist/lib/collection/components/super-selection-app/services/existing-super-choice-info.service.js +95 -0
- package/dist/lib/collection/components/super-selection-app/services/feature-flag.service.js +11 -0
- package/dist/lib/collection/components/super-selection-app/services/navigation.service.js +8 -0
- package/dist/lib/collection/components/super-selection-app/services/super-selection-app.routes.js +6 -4
- package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.js +69 -34
- package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.store.js +10 -0
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-bottom.js +94 -0
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-top.js +90 -0
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +85 -92
- package/dist/lib/collection/components/super-selection-app/super-selection-app.css +16 -4
- package/dist/lib/collection/components/super-selection-app/super-selection-app.js +59 -11
- package/dist/lib/esm/{active-router-4c80d3d2.js → active-router-2056f552.js} +1 -1
- package/dist/lib/esm/apollo-super-selection.js +4 -5
- package/dist/lib/esm/{app-globals-7ac1ffba.js → app-globals-c1f89805.js} +1 -1
- package/dist/lib/esm/context-consumer.entry.js +1 -1
- package/dist/lib/esm/{datorama-akita-79ce4385.js → datorama-akita-127aea91.js} +960 -28
- package/dist/lib/esm/{index-0496d1af.js → index-e1e930c8.js} +2 -1
- package/dist/lib/esm/loader.js +4 -5
- package/dist/lib/esm/{fl-button_31.entry.js → sss-button_28.entry.js} +2124 -2160
- 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-4c80d3d2.js → active-router-2056f552.js} +1 -1
- package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
- package/dist/lib/esm-es5/{app-globals-7ac1ffba.js → app-globals-c1f89805.js} +1 -1
- package/dist/lib/esm-es5/context-consumer.entry.js +1 -1
- package/dist/lib/esm-es5/datorama-akita-127aea91.js +15 -0
- package/dist/lib/esm-es5/{index-0496d1af.js → index-e1e930c8.js} +1 -1
- package/dist/lib/esm-es5/loader.js +1 -1
- package/dist/lib/esm-es5/sss-button_28.entry.js +69 -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/app-host/super-selection-app-host.d.ts +0 -3
- package/dist/lib/types/components/super-selection-app/api/super-selection-events.model.d.ts +30 -0
- package/dist/lib/types/components/super-selection-app/api/super-selection.api.d.ts +2 -1
- package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +19 -4
- package/dist/lib/types/components/super-selection-app/consent/consent.d.ts +9 -0
- package/dist/lib/types/components/super-selection-app/existing-choice/existing-choice.d.ts +12 -0
- package/dist/lib/types/components/super-selection-app/footer-section/footer-section.d.ts +0 -1
- package/dist/lib/types/components/super-selection-app/funds/constants.d.ts +3 -0
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/custom-fund.d.ts +1 -1
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/custom-fund.store.d.ts +4 -6
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/default-fund/default-fund.d.ts +0 -2
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-inputs.d.ts +2 -1
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund.d.ts +1 -0
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs.d.ts +7 -0
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.d.ts +1 -0
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.form.d.ts +0 -1
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/promoted-fund.store.d.ts +0 -3
- package/dist/lib/types/components/super-selection-app/header-section/header-section.d.ts +4 -0
- package/dist/lib/types/components/super-selection-app/misc/button.d.ts +11 -0
- package/dist/lib/types/components/super-selection-app/misc/dropdown-async.d.ts +44 -0
- package/dist/lib/types/components/super-selection-app/misc/loading-indicator.d.ts +5 -0
- package/dist/lib/types/components/super-selection-app/services/australian-fund-lookup.service.d.ts +1 -0
- package/dist/lib/types/components/super-selection-app/services/event-tracking.service.d.ts +4 -0
- package/dist/lib/types/components/super-selection-app/services/existing-super-choice-info.service.d.ts +51 -0
- package/dist/lib/types/components/super-selection-app/services/feature-flag.service.d.ts +3 -0
- package/dist/lib/types/components/super-selection-app/services/navigation.service.d.ts +6 -0
- package/dist/lib/types/components/super-selection-app/services/super-selection-app.routes.d.ts +3 -2
- package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.d.ts +6 -3
- package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.store.d.ts +8 -0
- package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-bottom.d.ts +9 -0
- package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-top.d.ts +7 -0
- package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-page.d.ts +1 -4
- package/dist/lib/types/components/super-selection-app/super-selection-app.d.ts +2 -1
- package/dist/lib/types/components.d.ts +148 -97
- package/package.json +12 -7
- package/dist/lib/apollo-super-selection/assets/logo-qsuper-square.png +0 -0
- package/dist/lib/apollo-super-selection/assets/logo-qsuper.png +0 -0
- package/dist/lib/apollo-super-selection/p-0623b20a.system.entry.js +0 -69
- package/dist/lib/apollo-super-selection/p-13573238.system.js +0 -15
- package/dist/lib/apollo-super-selection/p-342cee5a.js +0 -1
- package/dist/lib/apollo-super-selection/p-38f24f69.js +0 -1
- package/dist/lib/apollo-super-selection/p-642db1f7.system.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-64ebe17d.system.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-7dbe5a2f.system.js +0 -1
- package/dist/lib/apollo-super-selection/p-abedb220.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-ae4f5e0b.system.js +0 -1
- package/dist/lib/apollo-super-selection/p-c5e41889.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-d82b00ed.system.js +0 -1
- package/dist/lib/apollo-super-selection/p-df9ce4b7.js +0 -15
- package/dist/lib/apollo-super-selection/p-f7a45412.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-fbe8c6d1.entry.js +0 -14
- package/dist/lib/cjs/delay-81aff2f1.js +0 -955
- package/dist/lib/cjs/fl-style-guide.cjs.entry.js +0 -90
- package/dist/lib/collection/components/super-selection-app/footer-section/footer-section.css +0 -11
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-not-supported.css +0 -23
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund-standard-choice-page.js +0 -62
- package/dist/lib/collection/components/super-selection-app/funds/slate-super/slate-fund.store.js +0 -10
- package/dist/lib/collection/components/super-selection-app/funds/slate-super/slate-standard-choice-page.js +0 -67
- package/dist/lib/collection/components/super-selection-app/funds/slate-super/slatesuper-header.css +0 -0
- package/dist/lib/collection/components/super-selection-app/funds/slate-super/slatesuper-header.js +0 -19
- package/dist/lib/collection/components/super-selection-app/notifications-section/notifications-section.js +0 -25
- package/dist/lib/collection/components/super-selection-app/services/notifications.service.js +0 -37
- package/dist/lib/collection/components/super-selection-app/services/notifications.store.js +0 -3
- package/dist/lib/collection/components/super-selection-app/services/selected-super-choice-info.service.js +0 -50
- package/dist/lib/collection/components/super-selection-app/standard-choice/api/standard-choice.model.js +0 -1
- package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-qsuper-square.png +0 -0
- package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-qsuper.png +0 -0
- package/dist/lib/collection/components/super-selection-app/super-choice-page/selected-super-choice-section/selected-super-choice-section.css +0 -18
- package/dist/lib/collection/components/super-selection-app/super-choice-page/selected-super-choice-section/selected-super-choice-section.js +0 -53
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item.js +0 -296
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.css +0 -70
- package/dist/lib/esm/delay-c0555599.js +0 -935
- package/dist/lib/esm/fl-style-guide.entry.js +0 -86
- package/dist/lib/esm-es5/datorama-akita-79ce4385.js +0 -15
- package/dist/lib/esm-es5/delay-c0555599.js +0 -1
- package/dist/lib/esm-es5/fl-button_31.entry.js +0 -69
- package/dist/lib/esm-es5/fl-style-guide.entry.js +0 -1
- package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/button/button.css +0 -45
- package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/dropdown/dropdown.css +0 -9
- package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/dropdown-async/dropdown-async.css +0 -9
- package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/loading-indicator/loading-indicator.css +0 -141
- package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/promise-button/promise-button.css +0 -5
- package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/style-guide/style-guide.css +0 -0
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/promoted-fund-standard-choice-page.d.ts +0 -8
- package/dist/lib/types/components/super-selection-app/funds/slate-super/slate-fund.store.d.ts +0 -7
- package/dist/lib/types/components/super-selection-app/funds/slate-super/slate-standard-choice-page.d.ts +0 -8
- package/dist/lib/types/components/super-selection-app/funds/slate-super/slatesuper-header.d.ts +0 -3
- package/dist/lib/types/components/super-selection-app/notifications-section/notifications-section.d.ts +0 -5
- package/dist/lib/types/components/super-selection-app/services/notifications.service.d.ts +0 -15
- package/dist/lib/types/components/super-selection-app/services/notifications.store.d.ts +0 -14
- package/dist/lib/types/components/super-selection-app/services/selected-super-choice-info.service.d.ts +0 -18
- package/dist/lib/types/components/super-selection-app/standard-choice/api/standard-choice.model.d.ts +0 -3
- package/dist/lib/types/components/super-selection-app/super-choice-page/selected-super-choice-section/selected-super-choice-section.d.ts +0 -5
- package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-item.d.ts +0 -22
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, d as getElement } from './index-
|
|
2
|
-
import { A as ActiveRouter } from './active-router-
|
|
1
|
+
import { r as registerInstance, d as getElement } from './index-e1e930c8.js';
|
|
2
|
+
import { A as ActiveRouter } from './active-router-2056f552.js';
|
|
3
3
|
|
|
4
4
|
const RouteTitle = class {
|
|
5
5
|
constructor(hostRef) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, d as getElement } from './index-
|
|
2
|
-
import { A as ActiveRouter } from './active-router-
|
|
1
|
+
import { r as registerInstance, d as getElement } from './index-e1e930c8.js';
|
|
2
|
+
import { A as ActiveRouter } from './active-router-2056f552.js';
|
|
3
3
|
|
|
4
4
|
const StencilRouterPrompt = class {
|
|
5
5
|
constructor(hostRef) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, d as getElement } from './index-
|
|
2
|
-
import { A as ActiveRouter } from './active-router-
|
|
1
|
+
import { r as registerInstance, d as getElement } from './index-e1e930c8.js';
|
|
2
|
+
import { A as ActiveRouter } from './active-router-2056f552.js';
|
|
3
3
|
|
|
4
4
|
// Get the URL for this route link without the root from the router
|
|
5
5
|
const getUrl = (url, root) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __spreadArrays=this&&this.__spreadArrays||function(){for(var r=0,e=0,t=arguments.length;e<t;e++)r+=arguments[e].length;for(var n=Array(r),a=0,e=0;e<t;e++)for(var o=arguments[e],i=0,c=o.length;i<c;i++,a++)n[a]=o[i];return n};import{h}from"./index-
|
|
1
|
+
var __spreadArrays=this&&this.__spreadArrays||function(){for(var r=0,e=0,t=arguments.length;e<t;e++)r+=arguments[e].length;for(var n=Array(r),a=0,e=0;e<t;e++)for(var o=arguments[e],i=0,c=o.length;i<c;i++,a++)n[a]=o[i];return n};import{h}from"./index-e1e930c8.js";var createProviderConsumer=function(r,e){var t=new Map;var n=r;var a=function(r,e){if(Array.isArray(r)){__spreadArrays(r).forEach((function(r){e[r]=n[r]}))}else{e[r]=Object.assign({},n)}};var o=function(r,e){if(!t.has(r)){t.set(r,e);a(e,r)}return function(){if(t.has(r)){t.delete(r)}}};var i=function(r,e){var o=r.state;n=o;t.forEach(a);return e};var c=function(r,t){return e(o,t[0])};var s=function(r,e){var n=r.prototype;var a=n.connectedCallback;var i=n.disconnectedCallback;n.connectedCallback=function(){o(this,e);if(a){return a.call(this)}};n.disconnectedCallback=function(){t.delete(this);if(i){i.call(this)}}};return{Provider:i,Consumer:c,injectProps:s}};var ActiveRouter=createProviderConsumer({historyType:"browser",location:{pathname:"",query:{},key:""},titleSuffix:"",root:"/",routeViewsUpdated:function(){}},(function(r,e){return h("context-consumer",{subscribe:r,renderer:e})}));export{ActiveRouter as A};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as promiseResolve,b as bootstrapLazy}from"./index-
|
|
1
|
+
import{p as promiseResolve,b as bootstrapLazy}from"./index-e1e930c8.js";import"./datorama-akita-127aea91.js";import{g as globalScripts}from"./app-globals-c1f89805.js";var patchBrowser=function(){var s=import.meta.url;var e={};if(s!==""){e.resourcesUrl=new URL(".",s).href}return promiseResolve(e)};patchBrowser().then((function(s){globalScripts();return bootstrapLazy([["context-consumer",[[0,"context-consumer",{context:[16],renderer:[16],subscribe:[16],unsubscribe:[32]}]]],["stencil-async-content",[[0,"stencil-async-content",{documentLocation:[1,"document-location"],content:[32]}]]],["stencil-route-title",[[0,"stencil-route-title",{titleSuffix:[1,"title-suffix"],pageTitle:[1,"page-title"]}]]],["stencil-router-prompt",[[0,"stencil-router-prompt",{when:[4],message:[1],history:[16],unblock:[32]}]]],["stencil-router-redirect",[[0,"stencil-router-redirect",{history:[16],root:[1],url:[1]}]]],["sss-button_28",[[0,"sss-my-own-fund",{history:[16],formState:[32],isNotAllInformationProvidedMessageVisible:[32],isSubmitDisabled:[32]}],[0,"sss-self-managed-fund",{history:[16],formState:[32],showSmsfNotSupported:[32],isSubmitDisabled:[32]}],[0,"sss-super-choice-page",{history:[16],promotedFunds:[32]}],[1,"super-selection-app-host",{sessionState:[32],jwt:[32],appConfiguration:[32]}],[0,"sss-default-fund",{history:[16],defaultFundProductName:[32]}],[0,"sss-standard-choice-form",{history:[16],standardChoiceFormSignature:[32],formState:[32],isSubmitDisabled:[32]}],[0,"sss-consent-page",{history:[16]}],[0,"sss-existing-choice-page",{history:[16],existingFund:[32]}],[0,"sss-success"],[0,"sss-promoted-fund-join-page",{history:[16]}],[0,"sss-slate-join-page",{history:[16]}],[1,"super-selection-app",{accessToken:[1,"access-token"],backendUrl:[1,"backend-url"],appBaseUrl:[1,"app-base-url"],history:[16],location:[16],isSelfHosted:[4,"is-self-hosted"],isAppInitialised:[32]}],[0,"sss-my-own-fund-inputs",{myOwnFundForm:[16],showValidationErrors:[4,"show-validation-errors"],selectedOption:[32]}],[0,"sss-smsf-not-supported-dialog"],[0,"sss-super-choice-item-bottom",{disclaimer:[16],abnInfo:[1,"abn-info"],abn:[1]}],[0,"sss-loading-page"],[0,"sss-self-managed-fund-inputs",{fundForm:[16],showValidationErrors:[4,"show-validation-errors"],currentBank:[32],addressErrorMessage:[32]}],[0,"sss-super-choice-item-top",{name:[1],logo:[1],features:[1],featureSubText:[1,"feature-sub-text"]}],[0,"sss-dropdown-async",{placeholder:[1],searchFunction:[16],value:[16],required:[4],requiredValidationMessage:[1,"required-validation-message"],disabled:[4],minSearchStringLength:[2,"min-search-string-length"],showValidationErrors:[4,"show-validation-errors"],searchState:[32],inputValue:[32],isDropdownVisible:[32],filteredOptions:[32],highlightedOptionIndex:[32],selectedOption:[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-footer-section"],[4,"stencil-route-switch",{group:[513],scrollTopOffset:[2,"scroll-top-offset"],location:[16],routeViewsUpdated:[16]}],[4,"stencil-router",{root:[1],historyType:[1,"history-type"],titleSuffix:[1,"title-suffix"],scrollTopOffset:[2,"scroll-top-offset"],location:[32],history:[32]}],[4,"sss-custom-fund",{history:[16],currentCustomFund:[32],fundOptionsList:[32],showFundOptionsSelection:[32]}],[0,"sss-header-section",{currentPage:[1,"current-page"]}],[4,"stencil-route-link",{url:[1],urlMatch:[1,"url-match"],activeClass:[1,"active-class"],exact:[4],strict:[4],custom:[1],anchorClass:[1,"anchor-class"],anchorRole:[1,"anchor-role"],anchorTitle:[1,"anchor-title"],anchorTabIndex:[1,"anchor-tab-index"],anchorId:[1,"anchor-id"],history:[16],location:[16],root:[1],ariaHaspopup:[1,"aria-haspopup"],ariaPosinset:[1,"aria-posinset"],ariaSetsize:[2,"aria-setsize"],ariaLabel:[1,"aria-label"],match:[32]}],[4,"sss-button",{fillWidth:[4,"fill-width"],fillWidthOnMobile:[4,"fill-width-on-mobile"],disabled:[4],variant:[1],promiseFn:[16],state:[32]}],[0,"sss-loading-indicator",{theme:[1],size:[2]}],[0,"stencil-route",{group:[513],componentUpdated:[16],match:[1040],url:[1],component:[1],componentProps:[16],exact:[4],routeRender:[16],scrollTopOffset:[2,"scroll-top-offset"],routeViewsUpdated:[16],location:[16],history:[16],historyType:[1,"history-type"]}]]]],s)}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,e,n,r){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,a){function i(t){try{u(r.next(t))}catch(t){a(t)}}function l(t){try{u(r["throw"](t))}catch(t){a(t)}}function u(t){t.done?n(t.value):o(t.value).then(i,l)}u((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,o,a,i;return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(t){return function(e){return u([t,e])}}function u(i){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,o&&(a=i[0]&2?o["return"]:i[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,i[1])).done)return a;if(o=0,a)i=[i[0]&2,a.value];switch(i[0]){case 0:case 1:a=i;break;case 4:n.label++;return{value:i[1],done:false};case 5:n.label++;o=i[1];i=[0];continue;case 7:i=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(i[0]===6||i[0]===2)){n=0;continue}if(i[0]===3&&(!a||i[1]>a[0]&&i[1]<a[3])){n.label=i[1];break}if(i[0]===6&&n.label<a[1]){n.label=a[1];a=i;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(i);break}if(a[2])n.ops.pop();n.trys.pop();continue}i=e.call(t,n)}catch(t){i=[6,t];o=0}finally{r=a=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};import{e as enableAkitaProdMode}from"./datorama-akita-
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,e,n,r){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,a){function i(t){try{u(r.next(t))}catch(t){a(t)}}function l(t){try{u(r["throw"](t))}catch(t){a(t)}}function u(t){t.done?n(t.value):o(t.value).then(i,l)}u((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,o,a,i;return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(t){return function(e){return u([t,e])}}function u(i){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,o&&(a=i[0]&2?o["return"]:i[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,i[1])).done)return a;if(o=0,a)i=[i[0]&2,a.value];switch(i[0]){case 0:case 1:a=i;break;case 4:n.label++;return{value:i[1],done:false};case 5:n.label++;o=i[1];i=[0];continue;case 7:i=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(i[0]===6||i[0]===2)){n=0;continue}if(i[0]===3&&(!a||i[1]>a[0]&&i[1]<a[3])){n.label=i[1];break}if(i[0]===6&&n.label<a[1]){n.label=a[1];a=i;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(i);break}if(a[2])n.ops.pop();n.trys.pop();continue}i=e.call(t,n)}catch(t){i=[6,t];o=0}finally{r=a=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};import{e as enableAkitaProdMode}from"./datorama-akita-127aea91.js";function stencilRouterWorkaround(){if(window.location==window.parent.location){return}delete window.sessionStorage;window.sessionStorage={}}function appGlobalScript(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){stencilRouterWorkaround();enableAkitaProdMode();return[2]}))}))}var globalScripts=appGlobalScript;export{globalScripts as g};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as registerInstance,d as getElement}from"./index-
|
|
1
|
+
import{r as registerInstance,d as getElement}from"./index-e1e930c8.js";var ContextConsumer=function(){function e(e){registerInstance(this,e);this.context={};this.renderer=function(){return null}}e.prototype.connectedCallback=function(){if(this.subscribe!=null){this.unsubscribe=this.subscribe(this.el,"context")}};e.prototype.disconnectedCallback=function(){if(this.unsubscribe!=null){this.unsubscribe()}};e.prototype.render=function(){return this.renderer(Object.assign({},this.context))};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();export{ContextConsumer as context_consumer};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*! *****************************************************************************
|
|
2
|
+
Copyright (c) Microsoft Corporation.
|
|
3
|
+
|
|
4
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
5
|
+
purpose with or without fee is hereby granted.
|
|
6
|
+
|
|
7
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
8
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
9
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
10
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
11
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
12
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
13
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
14
|
+
***************************************************************************** */
|
|
15
|
+
var __extends=this&&this.__extends||function(){var t=function(e,r){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]};return t(e,r)};return function(e,r){t(e,r);function i(){this.constructor=e}e.prototype=r===null?Object.create(r):(i.prototype=r.prototype,new i)}}();var __spreadArrays=this&&this.__spreadArrays||function(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;for(var i=Array(t),n=0,e=0;e<r;e++)for(var s=arguments[e],o=0,a=s.length;o<a;o++,n++)i[n]=s[o];return i};function __rest(t,e){var r={};for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0)r[i]=t[i];if(t!=null&&typeof Object.getOwnPropertySymbols==="function")for(var n=0,i=Object.getOwnPropertySymbols(t);n<i.length;n++){if(e.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(t,i[n]))r[i[n]]=t[i[n]]}return r}function __decorate(t,e,r,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,o;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")s=Reflect.decorate(t,e,r,i);else for(var a=t.length-1;a>=0;a--)if(o=t[a])s=(n<3?o(s):n>3?o(e,r,s):o(e,r))||s;return n>3&&s&&Object.defineProperty(e,r,s),s}function __metadata(t,e){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(t,e)}function isFunction(t){return typeof t==="function"}var _enable_super_gross_mode_that_will_cause_bad_things=false;var config={Promise:undefined,set useDeprecatedSynchronousErrorHandling(t){if(t){var e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else if(_enable_super_gross_mode_that_will_cause_bad_things){console.log("RxJS: Back to a better error behavior. Thank you. <3")}_enable_super_gross_mode_that_will_cause_bad_things=t},get useDeprecatedSynchronousErrorHandling(){return _enable_super_gross_mode_that_will_cause_bad_things}};function hostReportError(t){setTimeout((function(){throw t}),0)}var empty={closed:true,next:function(t){},error:function(t){if(config.useDeprecatedSynchronousErrorHandling){throw t}else{hostReportError(t)}},complete:function(){}};var isArray=function(){return Array.isArray||function(t){return t&&typeof t.length==="number"}}();function isObject(t){return t!==null&&typeof t==="object"}var UnsubscriptionErrorImpl=function(){function t(t){Error.call(this);this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(t,e){return e+1+") "+t.toString()})).join("\n "):"";this.name="UnsubscriptionError";this.errors=t;return this}t.prototype=Object.create(Error.prototype);return t}();var UnsubscriptionError=UnsubscriptionErrorImpl;var Subscription=function(){function t(t){this.closed=false;this._parentOrParents=null;this._subscriptions=null;if(t){this._ctorUnsubscribe=true;this._unsubscribe=t}}t.prototype.unsubscribe=function(){var e;if(this.closed){return}var r=this,i=r._parentOrParents,n=r._ctorUnsubscribe,s=r._unsubscribe,o=r._subscriptions;this.closed=true;this._parentOrParents=null;this._subscriptions=null;if(i instanceof t){i.remove(this)}else if(i!==null){for(var a=0;a<i.length;++a){var u=i[a];u.remove(this)}}if(isFunction(s)){if(n){this._unsubscribe=undefined}try{s.call(this)}catch(t){e=t instanceof UnsubscriptionError?flattenUnsubscriptionErrors(t.errors):[t]}}if(isArray(o)){var a=-1;var c=o.length;while(++a<c){var f=o[a];if(isObject(f)){try{f.unsubscribe()}catch(t){e=e||[];if(t instanceof UnsubscriptionError){e=e.concat(flattenUnsubscriptionErrors(t.errors))}else{e.push(t)}}}}}if(e){throw new UnsubscriptionError(e)}};t.prototype.add=function(e){var r=e;if(!e){return t.EMPTY}switch(typeof e){case"function":r=new t(e);case"object":if(r===this||r.closed||typeof r.unsubscribe!=="function"){return r}else if(this.closed){r.unsubscribe();return r}else if(!(r instanceof t)){var i=r;r=new t;r._subscriptions=[i]}break;default:{throw new Error("unrecognized teardown "+e+" added to Subscription.")}}var n=r._parentOrParents;if(n===null){r._parentOrParents=this}else if(n instanceof t){if(n===this){return r}r._parentOrParents=[n,this]}else if(n.indexOf(this)===-1){n.push(this)}else{return r}var s=this._subscriptions;if(s===null){this._subscriptions=[r]}else{s.push(r)}return r};t.prototype.remove=function(t){var e=this._subscriptions;if(e){var r=e.indexOf(t);if(r!==-1){e.splice(r,1)}}};return t}();Subscription.EMPTY=function(t){t.closed=true;return t}(new Subscription);function flattenUnsubscriptionErrors(t){return t.reduce((function(t,e){return t.concat(e instanceof UnsubscriptionError?e.errors:e)}),[])}var rxSubscriber=function(){return typeof Symbol==="function"?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}();var Subscriber=function(t){__extends(e,t);function e(r,i,n){var s=t.call(this)||this;s.syncErrorValue=null;s.syncErrorThrown=false;s.syncErrorThrowable=false;s.isStopped=false;switch(arguments.length){case 0:s.destination=empty;break;case 1:if(!r){s.destination=empty;break}if(typeof r==="object"){if(r instanceof e){s.syncErrorThrowable=r.syncErrorThrowable;s.destination=r;r.add(s)}else{s.syncErrorThrowable=true;s.destination=new SafeSubscriber(s,r)}break}default:s.syncErrorThrowable=true;s.destination=new SafeSubscriber(s,r,i,n);break}return s}e.prototype[rxSubscriber]=function(){return this};e.create=function(t,r,i){var n=new e(t,r,i);n.syncErrorThrowable=false;return n};e.prototype.next=function(t){if(!this.isStopped){this._next(t)}};e.prototype.error=function(t){if(!this.isStopped){this.isStopped=true;this._error(t)}};e.prototype.complete=function(){if(!this.isStopped){this.isStopped=true;this._complete()}};e.prototype.unsubscribe=function(){if(this.closed){return}this.isStopped=true;t.prototype.unsubscribe.call(this)};e.prototype._next=function(t){this.destination.next(t)};e.prototype._error=function(t){this.destination.error(t);this.unsubscribe()};e.prototype._complete=function(){this.destination.complete();this.unsubscribe()};e.prototype._unsubscribeAndRecycle=function(){var t=this._parentOrParents;this._parentOrParents=null;this.unsubscribe();this.closed=false;this.isStopped=false;this._parentOrParents=t;return this};return e}(Subscription);var SafeSubscriber=function(t){__extends(e,t);function e(e,r,i,n){var s=t.call(this)||this;s._parentSubscriber=e;var o;var a=s;if(isFunction(r)){o=r}else if(r){o=r.next;i=r.error;n=r.complete;if(r!==empty){a=Object.create(r);if(isFunction(a.unsubscribe)){s.add(a.unsubscribe.bind(a))}a.unsubscribe=s.unsubscribe.bind(s)}}s._context=a;s._next=o;s._error=i;s._complete=n;return s}e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;if(!config.useDeprecatedSynchronousErrorHandling||!e.syncErrorThrowable){this.__tryOrUnsub(this._next,t)}else if(this.__tryOrSetError(e,this._next,t)){this.unsubscribe()}}};e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber;var r=config.useDeprecatedSynchronousErrorHandling;if(this._error){if(!r||!e.syncErrorThrowable){this.__tryOrUnsub(this._error,t);this.unsubscribe()}else{this.__tryOrSetError(e,this._error,t);this.unsubscribe()}}else if(!e.syncErrorThrowable){this.unsubscribe();if(r){throw t}hostReportError(t)}else{if(r){e.syncErrorValue=t;e.syncErrorThrown=true}else{hostReportError(t)}this.unsubscribe()}}};e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var r=function(){return t._complete.call(t._context)};if(!config.useDeprecatedSynchronousErrorHandling||!e.syncErrorThrowable){this.__tryOrUnsub(r);this.unsubscribe()}else{this.__tryOrSetError(e,r);this.unsubscribe()}}else{this.unsubscribe()}}};e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(t){this.unsubscribe();if(config.useDeprecatedSynchronousErrorHandling){throw t}else{hostReportError(t)}}};e.prototype.__tryOrSetError=function(t,e,r){if(!config.useDeprecatedSynchronousErrorHandling){throw new Error("bad call")}try{e.call(this._context,r)}catch(e){if(config.useDeprecatedSynchronousErrorHandling){t.syncErrorValue=e;t.syncErrorThrown=true;return true}else{hostReportError(e);return true}}return false};e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null;this._parentSubscriber=null;t.unsubscribe()};return e}(Subscriber);function canReportError(t){while(t){var e=t.closed,r=t.destination,i=t.isStopped;if(e||i){return false}else if(r&&r instanceof Subscriber){t=r}else{t=null}}return true}function toSubscriber(t,e,r){if(t){if(t instanceof Subscriber){return t}if(t[rxSubscriber]){return t[rxSubscriber]()}}if(!t&&!e&&!r){return new Subscriber(empty)}return new Subscriber(t,e,r)}var observable=function(){return typeof Symbol==="function"&&Symbol.observable||"@@observable"}();function identity(t){return t}function pipeFromArray(t){if(t.length===0){return identity}if(t.length===1){return t[0]}return function e(r){return t.reduce((function(t,e){return e(t)}),r)}}var Observable=function(){function t(t){this._isScalar=false;if(t){this._subscribe=t}}t.prototype.lift=function(e){var r=new t;r.source=this;r.operator=e;return r};t.prototype.subscribe=function(t,e,r){var i=this.operator;var n=toSubscriber(t,e,r);if(i){n.add(i.call(n,this.source))}else{n.add(this.source||config.useDeprecatedSynchronousErrorHandling&&!n.syncErrorThrowable?this._subscribe(n):this._trySubscribe(n))}if(config.useDeprecatedSynchronousErrorHandling){if(n.syncErrorThrowable){n.syncErrorThrowable=false;if(n.syncErrorThrown){throw n.syncErrorValue}}}return n};t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){if(config.useDeprecatedSynchronousErrorHandling){t.syncErrorThrown=true;t.syncErrorValue=e}if(canReportError(t)){t.error(e)}else{console.warn(e)}}};t.prototype.forEach=function(t,e){var r=this;e=getPromiseCtor(e);return new e((function(e,i){var n;n=r.subscribe((function(e){try{t(e)}catch(t){i(t);if(n){n.unsubscribe()}}}),i,e)}))};t.prototype._subscribe=function(t){var e=this.source;return e&&e.subscribe(t)};t.prototype[observable]=function(){return this};t.prototype.pipe=function(){var t=[];for(var e=0;e<arguments.length;e++){t[e]=arguments[e]}if(t.length===0){return this}return pipeFromArray(t)(this)};t.prototype.toPromise=function(t){var e=this;t=getPromiseCtor(t);return new t((function(t,r){var i;e.subscribe((function(t){return i=t}),(function(t){return r(t)}),(function(){return t(i)}))}))};return t}();Observable.create=function(t){return new Observable(t)};function getPromiseCtor(t){if(!t){t=Promise}if(!t){throw new Error("no Promise impl found")}return t}var ObjectUnsubscribedErrorImpl=function(){function t(){Error.call(this);this.message="object unsubscribed";this.name="ObjectUnsubscribedError";return this}t.prototype=Object.create(Error.prototype);return t}();var ObjectUnsubscribedError=ObjectUnsubscribedErrorImpl;var SubjectSubscription=function(t){__extends(e,t);function e(e,r){var i=t.call(this)||this;i.subject=e;i.subscriber=r;i.closed=false;return i}e.prototype.unsubscribe=function(){if(this.closed){return}this.closed=true;var t=this.subject;var e=t.observers;this.subject=null;if(!e||e.length===0||t.isStopped||t.closed){return}var r=e.indexOf(this.subscriber);if(r!==-1){e.splice(r,1)}};return e}(Subscription);var SubjectSubscriber=function(t){__extends(e,t);function e(e){var r=t.call(this,e)||this;r.destination=e;return r}return e}(Subscriber);var Subject=function(t){__extends(e,t);function e(){var e=t.call(this)||this;e.observers=[];e.closed=false;e.isStopped=false;e.hasError=false;e.thrownError=null;return e}e.prototype[rxSubscriber]=function(){return new SubjectSubscriber(this)};e.prototype.lift=function(t){var e=new AnonymousSubject(this,this);e.operator=t;return e};e.prototype.next=function(t){if(this.closed){throw new ObjectUnsubscribedError}if(!this.isStopped){var e=this.observers;var r=e.length;var i=e.slice();for(var n=0;n<r;n++){i[n].next(t)}}};e.prototype.error=function(t){if(this.closed){throw new ObjectUnsubscribedError}this.hasError=true;this.thrownError=t;this.isStopped=true;var e=this.observers;var r=e.length;var i=e.slice();for(var n=0;n<r;n++){i[n].error(t)}this.observers.length=0};e.prototype.complete=function(){if(this.closed){throw new ObjectUnsubscribedError}this.isStopped=true;var t=this.observers;var e=t.length;var r=t.slice();for(var i=0;i<e;i++){r[i].complete()}this.observers.length=0};e.prototype.unsubscribe=function(){this.isStopped=true;this.closed=true;this.observers=null};e.prototype._trySubscribe=function(e){if(this.closed){throw new ObjectUnsubscribedError}else{return t.prototype._trySubscribe.call(this,e)}};e.prototype._subscribe=function(t){if(this.closed){throw new ObjectUnsubscribedError}else if(this.hasError){t.error(this.thrownError);return Subscription.EMPTY}else if(this.isStopped){t.complete();return Subscription.EMPTY}else{this.observers.push(t);return new SubjectSubscription(this,t)}};e.prototype.asObservable=function(){var t=new Observable;t.source=this;return t};return e}(Observable);Subject.create=function(t,e){return new AnonymousSubject(t,e)};var AnonymousSubject=function(t){__extends(e,t);function e(e,r){var i=t.call(this)||this;i.destination=e;i.source=r;return i}e.prototype.next=function(t){var e=this.destination;if(e&&e.next){e.next(t)}};e.prototype.error=function(t){var e=this.destination;if(e&&e.error){this.destination.error(t)}};e.prototype.complete=function(){var t=this.destination;if(t&&t.complete){this.destination.complete()}};e.prototype._subscribe=function(t){var e=this.source;if(e){return this.source.subscribe(t)}else{return Subscription.EMPTY}};return e}(Subject);var BehaviorSubject=function(t){__extends(e,t);function e(e){var r=t.call(this)||this;r._value=e;return r}Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:false,configurable:true});e.prototype._subscribe=function(e){var r=t.prototype._subscribe.call(this,e);if(r&&!r.closed){e.next(this._value)}return r};e.prototype.getValue=function(){if(this.hasError){throw this.thrownError}else if(this.closed){throw new ObjectUnsubscribedError}else{return this._value}};e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)};return e}(Subject);var Action=function(t){__extends(e,t);function e(e,r){return t.call(this)||this}e.prototype.schedule=function(t,e){if(e===void 0){e=0}return this};return e}(Subscription);var AsyncAction=function(t){__extends(e,t);function e(e,r){var i=t.call(this,e,r)||this;i.scheduler=e;i.work=r;i.pending=false;return i}e.prototype.schedule=function(t,e){if(e===void 0){e=0}if(this.closed){return this}this.state=t;var r=this.id;var i=this.scheduler;if(r!=null){this.id=this.recycleAsyncId(i,r,e)}this.pending=true;this.delay=e;this.id=this.id||this.requestAsyncId(i,this.id,e);return this};e.prototype.requestAsyncId=function(t,e,r){if(r===void 0){r=0}return setInterval(t.flush.bind(t,this),r)};e.prototype.recycleAsyncId=function(t,e,r){if(r===void 0){r=0}if(r!==null&&this.delay===r&&this.pending===false){return e}clearInterval(e);return undefined};e.prototype.execute=function(t,e){if(this.closed){return new Error("executing a cancelled action")}this.pending=false;var r=this._execute(t,e);if(r){return r}else if(this.pending===false&&this.id!=null){this.id=this.recycleAsyncId(this.scheduler,this.id,null)}};e.prototype._execute=function(t,e){var r=false;var i=undefined;try{this.work(t)}catch(t){r=true;i=!!t&&t||new Error(t)}if(r){this.unsubscribe();return i}};e.prototype._unsubscribe=function(){var t=this.id;var e=this.scheduler;var r=e.actions;var i=r.indexOf(this);this.work=null;this.state=null;this.pending=false;this.scheduler=null;if(i!==-1){r.splice(i,1)}if(t!=null){this.id=this.recycleAsyncId(e,t,null)}this.delay=null};return e}(Action);var QueueAction=function(t){__extends(e,t);function e(e,r){var i=t.call(this,e,r)||this;i.scheduler=e;i.work=r;return i}e.prototype.schedule=function(e,r){if(r===void 0){r=0}if(r>0){return t.prototype.schedule.call(this,e,r)}this.delay=r;this.state=e;this.scheduler.flush(this);return this};e.prototype.execute=function(e,r){return r>0||this.closed?t.prototype.execute.call(this,e,r):this._execute(e,r)};e.prototype.requestAsyncId=function(e,r,i){if(i===void 0){i=0}if(i!==null&&i>0||i===null&&this.delay>0){return t.prototype.requestAsyncId.call(this,e,r,i)}return e.flush(this)};return e}(AsyncAction);var Scheduler=function(){function t(e,r){if(r===void 0){r=t.now}this.SchedulerAction=e;this.now=r}t.prototype.schedule=function(t,e,r){if(e===void 0){e=0}return new this.SchedulerAction(this,t).schedule(r,e)};return t}();Scheduler.now=function(){return Date.now()};var AsyncScheduler=function(t){__extends(e,t);function e(r,i){if(i===void 0){i=Scheduler.now}var n=t.call(this,r,(function(){if(e.delegate&&e.delegate!==n){return e.delegate.now()}else{return i()}}))||this;n.actions=[];n.active=false;n.scheduled=undefined;return n}e.prototype.schedule=function(r,i,n){if(i===void 0){i=0}if(e.delegate&&e.delegate!==this){return e.delegate.schedule(r,i,n)}else{return t.prototype.schedule.call(this,r,i,n)}};e.prototype.flush=function(t){var e=this.actions;if(this.active){e.push(t);return}var r;this.active=true;do{if(r=t.execute(t.state,t.delay)){break}}while(t=e.shift());this.active=false;if(r){while(t=e.shift()){t.unsubscribe()}throw r}};return e}(Scheduler);var QueueScheduler=function(t){__extends(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(AsyncScheduler);var queueScheduler=new QueueScheduler(QueueAction);var queue=queueScheduler;var EMPTY=new Observable((function(t){return t.complete()}));function empty$1(t){return t?emptyScheduled(t):EMPTY}function emptyScheduled(t){return new Observable((function(e){return t.schedule((function(){return e.complete()}))}))}function isScheduler(t){return t&&typeof t.schedule==="function"}var subscribeToArray=function(t){return function(e){for(var r=0,i=t.length;r<i&&!e.closed;r++){e.next(t[r])}e.complete()}};function scheduleArray(t,e){return new Observable((function(r){var i=new Subscription;var n=0;i.add(e.schedule((function(){if(n===t.length){r.complete();return}r.next(t[n++]);if(!r.closed){i.add(this.schedule())}})));return i}))}function fromArray(t,e){if(!e){return new Observable(subscribeToArray(t))}else{return scheduleArray(t,e)}}function of(){var t=[];for(var e=0;e<arguments.length;e++){t[e]=arguments[e]}var r=t[t.length-1];if(isScheduler(r)){t.pop();return scheduleArray(t,r)}else{return fromArray(t)}}function throwError(t,e){if(!e){return new Observable((function(e){return e.error(t)}))}else{return new Observable((function(r){return e.schedule(dispatch,0,{error:t,subscriber:r})}))}}function dispatch(t){var e=t.error,r=t.subscriber;r.error(e)}var NotificationKind;(function(t){t["NEXT"]="N";t["ERROR"]="E";t["COMPLETE"]="C"})(NotificationKind||(NotificationKind={}));var Notification=function(){function t(t,e,r){this.kind=t;this.value=e;this.error=r;this.hasValue=t==="N"}t.prototype.observe=function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}};t.prototype.do=function(t,e,r){var i=this.kind;switch(i){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return r&&r()}};t.prototype.accept=function(t,e,r){if(t&&typeof t.next==="function"){return this.observe(t)}else{return this.do(t,e,r)}};t.prototype.toObservable=function(){var t=this.kind;switch(t){case"N":return of(this.value);case"E":return throwError(this.error);case"C":return empty$1()}throw new Error("unexpected notification kind value")};t.createNext=function(e){if(typeof e!=="undefined"){return new t("N",e)}return t.undefinedValueNotification};t.createError=function(e){return new t("E",undefined,e)};t.createComplete=function(){return t.completeNotification};return t}();Notification.completeNotification=new Notification("C");Notification.undefinedValueNotification=new Notification("N",undefined);var ObserveOnSubscriber=function(t){__extends(e,t);function e(e,r,i){if(i===void 0){i=0}var n=t.call(this,e)||this;n.scheduler=r;n.delay=i;return n}e.dispatch=function(t){var e=t.notification,r=t.destination;e.observe(r);this.unsubscribe()};e.prototype.scheduleMessage=function(t){var r=this.destination;r.add(this.scheduler.schedule(e.dispatch,this.delay,new ObserveOnMessage(t,this.destination)))};e.prototype._next=function(t){this.scheduleMessage(Notification.createNext(t))};e.prototype._error=function(t){this.scheduleMessage(Notification.createError(t));this.unsubscribe()};e.prototype._complete=function(){this.scheduleMessage(Notification.createComplete());this.unsubscribe()};return e}(Subscriber);var ObserveOnMessage=function(){function t(t,e){this.notification=t;this.destination=e}return t}();var ReplaySubject=function(t){__extends(e,t);function e(e,r,i){if(e===void 0){e=Number.POSITIVE_INFINITY}if(r===void 0){r=Number.POSITIVE_INFINITY}var n=t.call(this)||this;n.scheduler=i;n._events=[];n._infiniteTimeWindow=false;n._bufferSize=e<1?1:e;n._windowTime=r<1?1:r;if(r===Number.POSITIVE_INFINITY){n._infiniteTimeWindow=true;n.next=n.nextInfiniteTimeWindow}else{n.next=n.nextTimeWindow}return n}e.prototype.nextInfiniteTimeWindow=function(e){if(!this.isStopped){var r=this._events;r.push(e);if(r.length>this._bufferSize){r.shift()}}t.prototype.next.call(this,e)};e.prototype.nextTimeWindow=function(e){if(!this.isStopped){this._events.push(new ReplayEvent(this._getNow(),e));this._trimBufferThenGetEvents()}t.prototype.next.call(this,e)};e.prototype._subscribe=function(t){var e=this._infiniteTimeWindow;var r=e?this._events:this._trimBufferThenGetEvents();var i=this.scheduler;var n=r.length;var s;if(this.closed){throw new ObjectUnsubscribedError}else if(this.isStopped||this.hasError){s=Subscription.EMPTY}else{this.observers.push(t);s=new SubjectSubscription(this,t)}if(i){t.add(t=new ObserveOnSubscriber(t,i))}if(e){for(var o=0;o<n&&!t.closed;o++){t.next(r[o])}}else{for(var o=0;o<n&&!t.closed;o++){t.next(r[o].value)}}if(this.hasError){t.error(this.thrownError)}else if(this.isStopped){t.complete()}return s};e.prototype._getNow=function(){return(this.scheduler||queue).now()};e.prototype._trimBufferThenGetEvents=function(){var t=this._getNow();var e=this._bufferSize;var r=this._windowTime;var i=this._events;var n=i.length;var s=0;while(s<n){if(t-i[s].time<r){break}s++}if(n>e){s=Math.max(s,n-e)}if(s>0){i.splice(0,s)}return i};return e}(Subject);var ReplayEvent=function(){function t(t,e){this.time=t;this.value=e}return t}();var asyncScheduler=new AsyncScheduler(AsyncAction);var async=asyncScheduler;function isObservable(t){return!!t&&(t instanceof Observable||typeof t.lift==="function"&&typeof t.subscribe==="function")}var ArgumentOutOfRangeErrorImpl=function(){function t(){Error.call(this);this.message="argument out of range";this.name="ArgumentOutOfRangeError";return this}t.prototype=Object.create(Error.prototype);return t}();var ArgumentOutOfRangeError=ArgumentOutOfRangeErrorImpl;function map(t,e){return function r(i){if(typeof t!=="function"){throw new TypeError("argument is not a function. Are you looking for `mapTo()`?")}return i.lift(new MapOperator(t,e))}}var MapOperator=function(){function t(t,e){this.project=t;this.thisArg=e}t.prototype.call=function(t,e){return e.subscribe(new MapSubscriber(t,this.project,this.thisArg))};return t}();var MapSubscriber=function(t){__extends(e,t);function e(e,r,i){var n=t.call(this,e)||this;n.project=r;n.count=0;n.thisArg=i||n;return n}e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(t){this.destination.error(t);return}this.destination.next(e)};return e}(Subscriber);var subscribeToPromise=function(t){return function(e){t.then((function(t){if(!e.closed){e.next(t);e.complete()}}),(function(t){return e.error(t)})).then(null,hostReportError);return e}};function getSymbolIterator(){if(typeof Symbol!=="function"||!Symbol.iterator){return"@@iterator"}return Symbol.iterator}var iterator=getSymbolIterator();var subscribeToIterable=function(t){return function(e){var r=t[iterator]();do{var i=void 0;try{i=r.next()}catch(t){e.error(t);return e}if(i.done){e.complete();break}e.next(i.value);if(e.closed){break}}while(true);if(typeof r.return==="function"){e.add((function(){if(r.return){r.return()}}))}return e}};var subscribeToObservable=function(t){return function(e){var r=t[observable]();if(typeof r.subscribe!=="function"){throw new TypeError("Provided object does not correctly implement Symbol.observable")}else{return r.subscribe(e)}}};var isArrayLike=function(t){return t&&typeof t.length==="number"&&typeof t!=="function"};function isPromise(t){return!!t&&typeof t.subscribe!=="function"&&typeof t.then==="function"}var subscribeTo=function(t){if(!!t&&typeof t[observable]==="function"){return subscribeToObservable(t)}else if(isArrayLike(t)){return subscribeToArray(t)}else if(isPromise(t)){return subscribeToPromise(t)}else if(!!t&&typeof t[iterator]==="function"){return subscribeToIterable(t)}else{var e=isObject(t)?"an invalid object":"'"+t+"'";var r="You provided "+e+" where a stream was expected."+" You can provide an Observable, Promise, Array, or Iterable.";throw new TypeError(r)}};function scheduleObservable(t,e){return new Observable((function(r){var i=new Subscription;i.add(e.schedule((function(){var n=t[observable]();i.add(n.subscribe({next:function(t){i.add(e.schedule((function(){return r.next(t)})))},error:function(t){i.add(e.schedule((function(){return r.error(t)})))},complete:function(){i.add(e.schedule((function(){return r.complete()})))}}))})));return i}))}function schedulePromise(t,e){return new Observable((function(r){var i=new Subscription;i.add(e.schedule((function(){return t.then((function(t){i.add(e.schedule((function(){r.next(t);i.add(e.schedule((function(){return r.complete()})))})))}),(function(t){i.add(e.schedule((function(){return r.error(t)})))}))})));return i}))}function scheduleIterable(t,e){if(!t){throw new Error("Iterable cannot be null")}return new Observable((function(r){var i=new Subscription;var n;i.add((function(){if(n&&typeof n.return==="function"){n.return()}}));i.add(e.schedule((function(){n=t[iterator]();i.add(e.schedule((function(){if(r.closed){return}var t;var e;try{var i=n.next();t=i.value;e=i.done}catch(t){r.error(t);return}if(e){r.complete()}else{r.next(t);this.schedule()}})))})));return i}))}function isInteropObservable(t){return t&&typeof t[observable]==="function"}function isIterable(t){return t&&typeof t[iterator]==="function"}function scheduled(t,e){if(t!=null){if(isInteropObservable(t)){return scheduleObservable(t,e)}else if(isPromise(t)){return schedulePromise(t,e)}else if(isArrayLike(t)){return scheduleArray(t,e)}else if(isIterable(t)||typeof t==="string"){return scheduleIterable(t,e)}}throw new TypeError((t!==null&&typeof t||t)+" is not observable")}function from(t,e){if(!e){if(t instanceof Observable){return t}return new Observable(subscribeTo(t))}else{return scheduled(t,e)}}var SimpleInnerSubscriber=function(t){__extends(e,t);function e(e){var r=t.call(this)||this;r.parent=e;return r}e.prototype._next=function(t){this.parent.notifyNext(t)};e.prototype._error=function(t){this.parent.notifyError(t);this.unsubscribe()};e.prototype._complete=function(){this.parent.notifyComplete();this.unsubscribe()};return e}(Subscriber);var SimpleOuterSubscriber=function(t){__extends(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}e.prototype.notifyNext=function(t){this.destination.next(t)};e.prototype.notifyError=function(t){this.destination.error(t)};e.prototype.notifyComplete=function(){this.destination.complete()};return e}(Subscriber);function innerSubscribe(t,e){if(e.closed){return undefined}if(t instanceof Observable){return t.subscribe(e)}return subscribeTo(t)(e)}function filter(t,e){return function r(i){return i.lift(new FilterOperator(t,e))}}var FilterOperator=function(){function t(t,e){this.predicate=t;this.thisArg=e}t.prototype.call=function(t,e){return e.subscribe(new FilterSubscriber(t,this.predicate,this.thisArg))};return t}();var FilterSubscriber=function(t){__extends(e,t);function e(e,r,i){var n=t.call(this,e)||this;n.predicate=r;n.thisArg=i;n.count=0;return n}e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(t){this.destination.error(t);return}if(e){this.destination.next(t)}};return e}(Subscriber);function isDate(t){return t instanceof Date&&!isNaN(+t)}function delay(t,e){if(e===void 0){e=async}var r=isDate(t);var i=r?+t-e.now():Math.abs(t);return function(t){return t.lift(new DelayOperator(i,e))}}var DelayOperator=function(){function t(t,e){this.delay=t;this.scheduler=e}t.prototype.call=function(t,e){return e.subscribe(new DelaySubscriber(t,this.delay,this.scheduler))};return t}();var DelaySubscriber=function(t){__extends(e,t);function e(e,r,i){var n=t.call(this,e)||this;n.delay=r;n.scheduler=i;n.queue=[];n.active=false;n.errored=false;return n}e.dispatch=function(t){var e=t.source;var r=e.queue;var i=t.scheduler;var n=t.destination;while(r.length>0&&r[0].time-i.now()<=0){r.shift().notification.observe(n)}if(r.length>0){var s=Math.max(0,r[0].time-i.now());this.schedule(t,s)}else{this.unsubscribe();e.active=false}};e.prototype._schedule=function(t){this.active=true;var r=this.destination;r.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))};e.prototype.scheduleNotification=function(t){if(this.errored===true){return}var e=this.scheduler;var r=new DelayMessage(e.now()+this.delay,t);this.queue.push(r);if(this.active===false){this._schedule(e)}};e.prototype._next=function(t){this.scheduleNotification(Notification.createNext(t))};e.prototype._error=function(t){this.errored=true;this.queue=[];this.destination.error(t);this.unsubscribe()};e.prototype._complete=function(){this.scheduleNotification(Notification.createComplete());this.unsubscribe()};return e}(Subscriber);var DelayMessage=function(){function t(t,e){this.time=t;this.notification=e}return t}();function distinctUntilChanged(t,e){return function(r){return r.lift(new DistinctUntilChangedOperator(t,e))}}var DistinctUntilChangedOperator=function(){function t(t,e){this.compare=t;this.keySelector=e}t.prototype.call=function(t,e){return e.subscribe(new DistinctUntilChangedSubscriber(t,this.compare,this.keySelector))};return t}();var DistinctUntilChangedSubscriber=function(t){__extends(e,t);function e(e,r,i){var n=t.call(this,e)||this;n.keySelector=i;n.hasKey=false;if(typeof r==="function"){n.compare=r}return n}e.prototype.compare=function(t,e){return t===e};e.prototype._next=function(t){var e;try{var r=this.keySelector;e=r?r(t):t}catch(t){return this.destination.error(t)}var i=false;if(this.hasKey){try{var n=this.compare;i=n(this.key,e)}catch(t){return this.destination.error(t)}}else{this.hasKey=true}if(!i){this.key=e;this.destination.next(t)}};return e}(Subscriber);function take(t){return function(e){if(t===0){return empty$1()}else{return e.lift(new TakeOperator(t))}}}var TakeOperator=function(){function t(t){this.total=t;if(this.total<0){throw new ArgumentOutOfRangeError}}t.prototype.call=function(t,e){return e.subscribe(new TakeSubscriber(t,this.total))};return t}();var TakeSubscriber=function(t){__extends(e,t);function e(e,r){var i=t.call(this,e)||this;i.total=r;i.count=0;return i}e.prototype._next=function(t){var e=this.total;var r=++this.count;if(r<=e){this.destination.next(t);if(r===e){this.destination.complete();this.unsubscribe()}}};return e}(Subscriber);function switchMap(t,e){if(typeof e==="function"){return function(r){return r.pipe(switchMap((function(r,i){return from(t(r,i)).pipe(map((function(t,n){return e(r,t,i,n)})))})))}}return function(e){return e.lift(new SwitchMapOperator(t))}}var SwitchMapOperator=function(){function t(t){this.project=t}t.prototype.call=function(t,e){return e.subscribe(new SwitchMapSubscriber(t,this.project))};return t}();var SwitchMapSubscriber=function(t){__extends(e,t);function e(e,r){var i=t.call(this,e)||this;i.project=r;i.index=0;return i}e.prototype._next=function(t){var e;var r=this.index++;try{e=this.project(t,r)}catch(t){this.destination.error(t);return}this._innerSub(e)};e.prototype._innerSub=function(t){var e=this.innerSubscription;if(e){e.unsubscribe()}var r=new SimpleInnerSubscriber(this);var i=this.destination;i.add(r);this.innerSubscription=innerSubscribe(t,r);if(this.innerSubscription!==r){i.add(this.innerSubscription)}};e.prototype._complete=function(){var e=this.innerSubscription;if(!e||e.closed){t.prototype._complete.call(this)}this.unsubscribe()};e.prototype._unsubscribe=function(){this.innerSubscription=undefined};e.prototype.notifyComplete=function(){this.innerSubscription=undefined;if(this.isStopped){t.prototype._complete.call(this)}};e.prototype.notifyNext=function(t){this.destination.next(t)};return e}(SimpleOuterSubscriber);var currentAction={type:null,entityIds:null,skip:false};var customActionActive=false;function resetCustomAction(){customActionActive=false}function logAction(t,e){setAction(t,e);customActionActive=true}function setAction(t,e){if(customActionActive===false){currentAction.type=t;currentAction.entityIds=e}}function action(t,e){return function(r,i,n){var s=n.value;n.value=function(){var r=[];for(var i=0;i<arguments.length;i++){r[i]=arguments[i]}logAction(t,e);return s.apply(this,r)};return n}}function hasEntity(t,e){return t.hasOwnProperty(e)}function addEntities(t){var e=t.state,r=t.entities,i=t.idKey,n=t.options,s=n===void 0?{}:n,o=t.preAddEntity;var a={};var u=[];var c=false;for(var f=0,l=r;f<l.length;f++){var h=l[f];if(hasEntity(e.entities,h[i])===false){var p=o(h);var d=p[i];a[d]=p;if(s.prepend)u.unshift(d);else u.push(d);c=true}}return c?{newState:Object.assign({},e,{entities:Object.assign({},e.entities,a),ids:s.prepend?__spreadArrays(u,e.ids):__spreadArrays(e.ids,u)}),newIds:u}:null}function isNil(t){return t===null||t===undefined}function coerceArray(t){if(isNil(t)){return[]}return Array.isArray(t)?t:[t]}var DEFAULT_ID_KEY="id";var EntityActions;(function(t){t["Set"]="Set";t["Add"]="Add";t["Update"]="Update";t["Remove"]="Remove"})(EntityActions||(EntityActions={}));var isBrowser=typeof window!=="undefined";var __DEV__=true;function enableAkitaProdMode(){__DEV__=false;if(isBrowser){delete window.$$stores;delete window.$$queries}}function isDev(){return __DEV__}function isObject$1(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}function isArray$1(t){return Array.isArray(t)}function getActiveEntities(t,e,r){var i;if(isArray$1(t)){i=t}else{if(isObject$1(t)){if(isNil(r))return;t=Object.assign({wrap:true},t);var n=e.indexOf(r);if(t.prev){var s=n===0;if(s&&!t.wrap)return;i=s?e[e.length-1]:e[n-1]}else if(t.next){var o=e.length===n+1;if(o&&!t.wrap)return;i=o?e[0]:e[n+1]}}else{if(t===r)return;i=t}}return i}var getInitialEntitiesState=function(){return{entities:{},ids:[],loading:true,error:null}};function isDefined(t){return isNil(t)===false}function isEmpty(t){if(isArray$1(t)){return t.length===0}return false}function isFunction$1(t){return typeof t==="function"}function isUndefined(t){return t===undefined}function hasActiveState(t){return t.hasOwnProperty("active")}function isMultiActiveState(t){return isArray$1(t)}function resolveActiveEntity(t){var e=t.active,r=t.ids,i=t.entities;if(isMultiActiveState(e)){return getExitingActives(e,r)}if(hasEntity(i,e)===false){return null}return e}function getExitingActives(t,e){var r=t.filter((function(t){return e.indexOf(t)>-1}));if(r.length===t.length){return t}return r}function removeEntities(t){var e=t.state,r=t.ids;if(isNil(r))return removeAllEntities(e);var i=e.entities;var n={};for(var s=0,o=e.ids;s<o.length;s++){var a=o[s];if(r.includes(a)===false){n[a]=i[a]}}var u=Object.assign({},e,{entities:n,ids:e.ids.filter((function(t){return r.includes(t)===false}))});if(hasActiveState(e)){u.active=resolveActiveEntity(u)}return u}function removeAllEntities(t){return Object.assign({},t,{entities:{},ids:[],active:isMultiActiveState(t.active)?[]:null})}function toEntitiesObject(t,e,r){var i={entities:{},ids:[]};for(var n=0,s=t;n<s.length;n++){var o=s[n];var a=r(o);i.entities[a[e]]=a;i.ids.push(a[e])}return i}function isEntityState(t){return t.entities&&t.ids}function applyMiddleware(t,e){var r={};for(var i=0,n=Object.keys(t);i<n.length;i++){var s=n[i];r[s]=e(t[s])}return r}function setEntities(t){var e=t.state,r=t.entities,i=t.idKey,n=t.preAddEntity,s=t.isNativePreAdd;var o;var a;if(isArray$1(r)){var u=toEntitiesObject(r,i,n);o=u.entities;a=u.ids}else if(isEntityState(r)){o=s?r.entities:applyMiddleware(r.entities,n);a=r.ids}else{o=s?r:applyMiddleware(r,n);a=Object.keys(o).map((function(t){return isNaN(t)?t:Number(t)}))}var c=Object.assign({},e,{entities:o,ids:a,loading:false});if(hasActiveState(e)){c.active=resolveActiveEntity(c)}return c}var CONFIG={resettable:false,ttl:null,producerFn:undefined};function getAkitaConfig(){return CONFIG}function getGlobalProducerFn(){return CONFIG.producerFn}function deepFreeze(t){Object.freeze(t);var e=typeof t==="function";var r=Object.prototype.hasOwnProperty;Object.getOwnPropertyNames(t).forEach((function(i){if(r.call(t,i)&&(e?i!=="caller"&&i!=="callee"&&i!=="arguments":true)&&t[i]!==null&&(typeof t[i]==="object"||typeof t[i]==="function")&&!Object.isFrozen(t[i])){deepFreeze(t[i])}}));return t}var $$deleteStore=new Subject;var $$addStore=new ReplaySubject(50,5e3);var $$updateStore=new Subject;function dispatchDeleted(t){$$deleteStore.next(t)}function dispatchAdded(t){$$addStore.next(t)}function dispatchUpdate(t,e){$$updateStore.next({storeName:t,action:e})}function assertStoreHasName(t,e){if(!t){console.error("@StoreConfig({ name }) is missing in "+e)}}function toBoolean(t){return t!=null&&""+t!=="false"}function isPlainObject(t){return toBoolean(t)&&t.constructor.name==="Object"}var configKey="akitaConfig";function StoreConfig(t){return function(e){e[configKey]={idKey:"id"};for(var r=0,i=Object.keys(t);r<i.length;r++){var n=i[r];if(n==="name"){e[configKey]["storeName"]=t[n]}else{e[configKey][n]=t[n]}}}}var __stores__={};var __queries__={};if(isBrowser){window.$$stores=__stores__;window.$$queries=__queries__}var transactionFinished=new Subject;var transactionInProcess=new BehaviorSubject(false);var transactionManager={activeTransactions:0,batchTransaction:null};function startBatch(){if(!isTransactionInProcess()){transactionManager.batchTransaction=new Subject}transactionManager.activeTransactions++;transactionInProcess.next(true)}function endBatch(){if(--transactionManager.activeTransactions===0){transactionManager.batchTransaction.next(true);transactionManager.batchTransaction.complete();transactionInProcess.next(false);transactionFinished.next(true)}}function isTransactionInProcess(){return transactionManager.activeTransactions>0}function commit(){return transactionManager.batchTransaction?transactionManager.batchTransaction.asObservable():of(true)}function applyTransaction(t,e){if(e===void 0){e=undefined}startBatch();try{return t.apply(e)}finally{logAction("@Transaction");endBatch()}}function transaction(){return function(t,e,r){var i=r.value;r.value=function(){var t=this;var e=[];for(var r=0;r<arguments.length;r++){e[r]=arguments[r]}return applyTransaction((function(){return i.apply(t,e)}),this)};return r}}var Store=function(){function t(t,e){if(e===void 0){e={}}this.options=e;this.inTransaction=false;this.cache={active:new BehaviorSubject(false),ttl:null};this.onInit(t)}t.prototype.setLoading=function(t){if(t===void 0){t=false}if(t!==this._value().loading){isDev()&&setAction("Set Loading");this._setState((function(e){return Object.assign({},e,{loading:t})}))}};t.prototype.setHasCache=function(t,e){var r=this;if(e===void 0){e={restartTTL:false}}if(t!==this.cache.active.value){this.cache.active.next(t)}if(e.restartTTL){var i=this.getCacheTTL();if(i){if(this.cache.ttl!==null){clearTimeout(this.cache.ttl)}this.cache.ttl=setTimeout((function(){return r.setHasCache(false)}),i)}}};t.prototype.getValue=function(){return this.storeValue};t.prototype.setError=function(t){if(t!==this._value().error){isDev()&&setAction("Set Error");this._setState((function(e){return Object.assign({},e,{error:t})}))}};t.prototype._select=function(t){return this.store.asObservable().pipe(map((function(e){return t(e.state)})),distinctUntilChanged())};t.prototype._value=function(){return this.storeValue};t.prototype._cache=function(){return this.cache.active};Object.defineProperty(t.prototype,"config",{get:function(){return this.constructor[configKey]||{}},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"storeName",{get:function(){return this.config.storeName||this.options.storeName||this.options.name},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"deepFreeze",{get:function(){return this.config.deepFreezeFn||this.options.deepFreezeFn||deepFreeze},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"cacheConfig",{get:function(){return this.config.cache||this.options.cache},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"_producerFn",{get:function(){return this.config.producerFn||this.options.producerFn||getGlobalProducerFn()},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"resettable",{get:function(){return isDefined(this.config.resettable)?this.config.resettable:this.options.resettable},enumerable:false,configurable:true});t.prototype._setState=function(t,e){var r=this;if(e===void 0){e=true}if(isFunction$1(t)){var i=t(this._value());this.storeValue=__DEV__?this.deepFreeze(i):i}else{this.storeValue=t}if(!this.store){this.store=new BehaviorSubject({state:this.storeValue});if(isDev()){this.store.subscribe((function(t){var e=t.action;if(e){dispatchUpdate(r.storeName,e)}}))}return}if(isTransactionInProcess()){this.handleTransaction();return}this.dispatch(this.storeValue,e)};t.prototype.reset=function(){var t=this;if(this.isResettable()){isDev()&&setAction("Reset");this._setState((function(){return Object.assign({},t._initialState)}));this.setHasCache(false)}else{isDev()&&console.warn("You need to enable the reset functionality")}};t.prototype.update=function(t){isDev()&&setAction("Update");var e;var r=this._value();if(isFunction$1(t)){e=isFunction$1(this._producerFn)?this._producerFn(r,t):t(r)}else{e=t}var i=this.akitaPreUpdate(r,Object.assign({},r,e));var n=isPlainObject(r)?i:new r.constructor(i);this._setState(n)};t.prototype.updateStoreConfig=function(t){this.options=Object.assign({},this.options,t)};t.prototype.akitaPreUpdate=function(t,e){return e};t.prototype.ngOnDestroy=function(){this.destroy()};t.prototype.destroy=function(){var t=isBrowser?window.hmrEnabled:false;if(!t&&this===__stores__[this.storeName]){delete __stores__[this.storeName];dispatchDeleted(this.storeName);this.setHasCache(false);this.cache.active.complete();this.store.complete()}};t.prototype.onInit=function(t){__stores__[this.storeName]=this;this._setState((function(){return t}));dispatchAdded(this.storeName);if(this.isResettable()){this._initialState=t}isDev()&&assertStoreHasName(this.storeName,this.constructor.name)};t.prototype.dispatch=function(t,e){if(e===void 0){e=true}var r=undefined;if(e){r=currentAction;resetCustomAction()}this.store.next({state:t,action:r})};t.prototype.watchTransaction=function(){var t=this;commit().subscribe((function(){t.inTransaction=false;t.dispatch(t._value())}))};t.prototype.isResettable=function(){if(this.resettable===false){return false}return this.resettable||getAkitaConfig().resettable};t.prototype.handleTransaction=function(){if(!this.inTransaction){this.watchTransaction();this.inTransaction=true}};t.prototype.getCacheTTL=function(){return this.cacheConfig&&this.cacheConfig.ttl||getAkitaConfig().ttl};return t}();function updateEntities(t){var e=t.state,r=t.ids,i=t.idKey,n=t.newStateOrFn,s=t.preUpdateEntity,o=t.producerFn,a=t.onEntityIdChanges;var u={};var c=false;var f;for(var l=0,h=r;l<h.length;l++){var p=h[l];if(hasEntity(e.entities,p)===false){continue}var d=e.entities[p];var b=void 0;if(isFunction$1(n)){b=isFunction$1(o)?o(d,n):n(d)}else{b=n}var y=b.hasOwnProperty(i)&&b[i]!==d[i];var v=void 0;f=p;if(y){c=true;f=b[i]}var g=Object.assign({},d,b);if(isPlainObject(d)){v=g}else{if(isPlainObject(b)){v=new d.constructor(g)}else{v=new b.constructor(g)}}u[f]=s(d,v)}var _=e.ids;var S=e.entities;if(c){var m=r[0];var E=e.entities,w=m,O=__rest(E,[typeof w==="symbol"?w:w+""]);S=O;_=e.ids.map((function(t){return t===m?f:t}));a(m,f)}return Object.assign({},e,{entities:Object.assign({},S,u),ids:_})}var _b;var EntityStore=function(t){__extends(e,t);function e(e,r){if(e===void 0){e={}}if(r===void 0){r={}}var i=t.call(this,Object.assign({},getInitialEntitiesState(),e),r)||this;i.options=r;i.entityActions=new Subject;i.entityIdChanges=new Subject;return i}Object.defineProperty(e.prototype,"selectEntityAction$",{get:function(){return this.entityActions.asObservable()},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"selectEntityIdChanges$",{get:function(){return this.entityIdChanges.asObservable()},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"idKey",{get:function(){return this.config.idKey||this.options.idKey||DEFAULT_ID_KEY},enumerable:false,configurable:true});e.prototype.set=function(t,r){var i=this;if(r===void 0){r={}}if(isNil(t))return;isDev()&&setAction("Set Entity");var n=this.akitaPreAddEntity===e.prototype.akitaPreAddEntity;this.setHasCache(true,{restartTTL:true});this._setState((function(e){var s=setEntities({state:e,entities:t,idKey:i.idKey,preAddEntity:i.akitaPreAddEntity,isNativePreAdd:n});if(isUndefined(r.activeId)===false){s.active=r.activeId}return s}));if(this.hasInitialUIState()){this.handleUICreation()}this.entityActions.next({type:EntityActions.Set,ids:this.ids})};e.prototype.add=function(t,e){if(e===void 0){e={loading:false}}var r=coerceArray(t);if(isEmpty(r))return;var i=addEntities({state:this._value(),preAddEntity:this.akitaPreAddEntity,entities:r,idKey:this.idKey,options:e});if(i){isDev()&&setAction("Add Entity");i.newState.loading=e.loading;this._setState((function(){return i.newState}));if(this.hasInitialUIState()){this.handleUICreation(true)}this.entityActions.next({type:EntityActions.Add,ids:i.newIds})}};e.prototype.update=function(e,r){var i=this;if(isUndefined(r)){t.prototype.update.call(this,e);return}var n=[];if(isFunction$1(e)){n=this.ids.filter((function(t){return e(i.entities[t])}))}else{n=isNil(e)?this.ids:coerceArray(e)}if(isEmpty(n))return;isDev()&&setAction("Update Entity",n);var s;this._setState((function(t){return updateEntities({idKey:i.idKey,ids:n,preUpdateEntity:i.akitaPreUpdateEntity,state:t,newStateOrFn:r,producerFn:i._producerFn,onEntityIdChanges:function(t,e){s={oldId:t,newId:e};i.entityIdChanges.next(Object.assign({},s,{pending:true}))}})}));if(s){this.entityIdChanges.next(Object.assign({},s,{pending:false}))}this.entityActions.next({type:EntityActions.Update,ids:n})};e.prototype.upsert=function(t,e,r,i){var n=this;if(i===void 0){i={}}var s=coerceArray(t);var o=function(t){return function(e){return hasEntity(n.entities,e)===t}};var a=isFunction$1(r)?i.baseClass:r?r.baseClass:undefined;var u=isFunction$1(a);var c=s.filter(o(true));var f=s.filter(o(false)).map((function(t){var i;var s=typeof e==="function"?e({}):e;var o=isFunction$1(r)?r(t,s):s;var c=Object.assign({},o,(i={},i[n.idKey]=t,i));if(u){return new a(c)}return c}));this.update(c,e);this.add(f);isDev()&&logAction("Upsert Entity")};e.prototype.upsertMany=function(t,e){if(e===void 0){e={}}var r=[];var i=[];var n={};for(var s=0,o=t;s<o.length;s++){var a=o[s];var u=this.akitaPreCheckEntity(a);var c=u[this.idKey];if(hasEntity(this.entities,c)){var f=this._value().entities[c];var l=Object.assign({},this._value().entities[c],u);var h=e.baseClass?new e.baseClass(l):l;var p=this.akitaPreUpdateEntity(f,h);var d=p[this.idKey];n[d]=p;i.push(d)}else{var b=e.baseClass?new e.baseClass(u):u;var p=this.akitaPreAddEntity(b);var d=p[this.idKey];r.push(d);n[d]=p}}isDev()&&logAction("Upsert Many");this._setState((function(t){return Object.assign({},t,{ids:r.length?__spreadArrays(t.ids,r):t.ids,entities:Object.assign({},t.entities,n),loading:!!e.loading})}));i.length&&this.entityActions.next({type:EntityActions.Update,ids:i});r.length&&this.entityActions.next({type:EntityActions.Add,ids:r});if(r.length&&this.hasUIStore()){this.handleUICreation(true)}};e.prototype.replace=function(t,e){var r=coerceArray(t);if(isEmpty(r))return;var i={};for(var n=0,s=r;n<s.length;n++){var o=s[n];e[this.idKey]=o;i[o]=e}isDev()&&setAction("Replace Entity",t);this._setState((function(t){return Object.assign({},t,{entities:Object.assign({},t.entities,i)})}))};e.prototype.move=function(t,e){var r=this.ids.slice();r.splice(e<0?r.length+e:e,0,r.splice(t,1)[0]);isDev()&&setAction("Move Entity");this._setState((function(t){return Object.assign({},t,{entities:Object.assign({},t.entities),ids:r})}))};e.prototype.remove=function(t){var e=this;if(isEmpty(this.ids))return;var r=isDefined(t);var i=[];if(isFunction$1(t)){i=this.ids.filter((function(r){return t(e.entities[r])}))}else{i=r?coerceArray(t):this.ids}if(isEmpty(i))return;isDev()&&setAction("Remove Entity",i);this._setState((function(t){return removeEntities({state:t,ids:i})}));if(!r){this.setHasCache(false)}this.handleUIRemove(i);this.entityActions.next({type:EntityActions.Remove,ids:i})};e.prototype.updateActive=function(t){var e=coerceArray(this.active);isDev()&&setAction("Update Active",e);this.update(e,t)};e.prototype.setActive=function(t){var e=getActiveEntities(t,this.ids,this.active);if(e===undefined){return}isDev()&&setAction("Set Active",e);this._setActive(e)};e.prototype.addActive=function(t){var e=this;var r=coerceArray(t);if(isEmpty(r))return;var i=r.every((function(t){return e.active.indexOf(t)>-1}));if(i)return;isDev()&&setAction("Add Active",t);this._setState((function(t){var e=Array.from(new Set(__spreadArrays(t.active,r)));return Object.assign({},t,{active:e})}))};e.prototype.removeActive=function(t){var e=this;var r=coerceArray(t);if(isEmpty(r))return;var i=r.some((function(t){return e.active.indexOf(t)>-1}));if(!i)return;isDev()&&setAction("Remove Active",t);this._setState((function(t){return Object.assign({},t,{active:Array.isArray(t.active)?t.active.filter((function(t){return r.indexOf(t)===-1})):null})}))};e.prototype.toggleActive=function(t){var e=this;var r=coerceArray(t);var i=function(t){return function(r){return e.active.includes(r)===t}};var n=r.filter(i(true));var s=r.filter(i(false));this.removeActive(n);this.addActive(s);isDev()&&logAction("Toggle Active")};e.prototype.createUIStore=function(t,e){if(t===void 0){t={}}if(e===void 0){e={}}var r={name:"UI/"+this.storeName,idKey:this.idKey};this.ui=new EntityUIStore(t,Object.assign({},r,e));return this.ui};e.prototype.destroy=function(){t.prototype.destroy.call(this);if(this.ui instanceof e){this.ui.destroy()}this.entityActions.complete()};e.prototype.akitaPreUpdateEntity=function(t,e){return e};e.prototype.akitaPreAddEntity=function(t){return t};e.prototype.akitaPreCheckEntity=function(t){return t};Object.defineProperty(e.prototype,"ids",{get:function(){return this._value().ids},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"entities",{get:function(){return this._value().entities},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"active",{get:function(){return this._value().active},enumerable:false,configurable:true});e.prototype._setActive=function(t){this._setState((function(e){return Object.assign({},e,{active:t})}))};e.prototype.handleUICreation=function(t){var e=this;if(t===void 0){t=false}var r=this.ids;var i=isFunction$1(this.ui._akitaCreateEntityFn);var n;var s=function(t){var r;var n=e.entities[t];var s=i?e.ui._akitaCreateEntityFn(n):e.ui._akitaCreateEntityFn;return Object.assign((r={},r[e.idKey]=n[e.idKey],r),s)};if(t){n=this.ids.filter((function(t){return isUndefined(e.ui.entities[t])})).map(s)}else{n=r.map(s)}t?this.ui.add(n):this.ui.set(n)};e.prototype.hasInitialUIState=function(){return this.hasUIStore()&&isUndefined(this.ui._akitaCreateEntityFn)===false};e.prototype.handleUIRemove=function(t){if(this.hasUIStore()){this.ui.remove(t)}};e.prototype.hasUIStore=function(){return this.ui instanceof EntityUIStore};return e}(Store);__decorate([transaction(),__metadata("design:type",Function),__metadata("design:paramtypes",[Object,Object,Object,Object]),__metadata("design:returntype",void 0)],EntityStore.prototype,"upsert",null);__decorate([transaction(),__metadata("design:type",Function),__metadata("design:paramtypes",[typeof(_b=typeof T!=="undefined"&&T)==="function"?_b:Object]),__metadata("design:returntype",void 0)],EntityStore.prototype,"toggleActive",null);var EntityUIStore=function(t){__extends(e,t);function e(e,r){if(e===void 0){e={}}if(r===void 0){r={}}return t.call(this,e,r)||this}e.prototype.setInitialEntityState=function(t){this._akitaCreateEntityFn=t};return e}(EntityStore);var Order;(function(t){t["ASC"]="asc";t["DESC"]="desc"})(Order||(Order={}));function isString(t){return typeof t==="string"}var queryConfigKey="akitaQueryConfig";function compareKeys(t){return function(e,r){var i=isFunction$1(t[0]);return t.some((function(t){if(i){return t(e)!==t(r)}return e[t]!==r[t]}))===false}}var Query=function(){function t(t){this.store=t;this.__store__=t;if(isDev()){__queries__[t.storeName]=this}}t.prototype.select=function(t){var e;if(isFunction$1(t)){e=t}else if(isString(t)){e=function(e){return e[t]}}else if(Array.isArray(t)){return this.store._select((function(t){return t})).pipe(distinctUntilChanged(compareKeys(t)),map((function(e){if(isFunction$1(t[0])){return t.map((function(t){return t(e)}))}return t.reduce((function(t,r){t[r]=e[r];return t}),{})})))}else{e=function(t){return t}}return this.store._select(e)};t.prototype.selectLoading=function(){return this.select((function(t){return t.loading}))};t.prototype.selectError=function(){return this.select((function(t){return t.error}))};t.prototype.getValue=function(){return this.store._value()};t.prototype.selectHasCache=function(){return this.store._cache().asObservable()};t.prototype.getHasCache=function(){return this.store._cache().value};Object.defineProperty(t.prototype,"config",{get:function(){return this.constructor[queryConfigKey]},enumerable:false,configurable:true});return t}();var filterNil=function(t){return t.pipe(filter((function(t){return t!==null&&typeof t!=="undefined"})))};function getValue(t,e){if(e.split(".").length===1){return t}var r=e.split(".").slice(1).join(".");return r.split(".").reduce((function(t,e){return t&&t[e]}),t)}function setValue(t,e,r){var i=e.split(".");if(i.length===1){return Object.assign({},t,r)}t=Object.assign({},t);var n=i.length-2;var s=e.split(".").slice(1);s.reduce((function(t,e,i){if(i!==n){t[e]=Object.assign({},t[e]);return t&&t[e]}t[e]=Array.isArray(t[e])||!isObject$1(t[e])?r:Object.assign({},t[e],r);return t&&t[e]}),t);return t}var _persistStateInit=new ReplaySubject(1);var AkitaPlugin=function(){function t(t,e){this.query=t;if(e&&e.resetFn){if(getAkitaConfig().resettable){this.onReset(e.resetFn)}}}t.prototype.getQuery=function(){return this.query};t.prototype.getStore=function(){return this.getQuery().__store__};t.prototype.isEntityBased=function(t){return toBoolean(t)};t.prototype.selectSource=function(t,e){var r=this;if(this.isEntityBased(t)){return this.getQuery().selectEntity(t).pipe(filterNil)}if(e){return this.getQuery().select((function(t){return getValue(t,r.withStoreName(e))}))}return this.getQuery().select()};t.prototype.getSource=function(t,e){if(this.isEntityBased(t)){return this.getQuery().getEntity(t)}var r=this.getQuery().getValue();if(e){return getValue(r,this.withStoreName(e))}return r};t.prototype.withStoreName=function(t){return this.storeName+"."+t};Object.defineProperty(t.prototype,"storeName",{get:function(){return this.getStore().storeName},enumerable:false,configurable:true});t.prototype.updateStore=function(t,e,r){var i=this;if(this.isEntityBased(e)){this.getStore().update(e,t)}else{if(r){this.getStore()._setState((function(e){return setValue(e,i.withStoreName(r),t)}));return}this.getStore()._setState((function(e){return Object.assign({},e,t)}))}};t.prototype.onReset=function(t){var e=this;var r=this.getStore().reset;this.getStore().reset=function(){var i=[];for(var n=0;n<arguments.length;n++){i[n]=arguments[n]}setTimeout((function(){r.apply(e.getStore(),i);t()}))}};return t}();var paginatorDefaults={pagesControls:false,range:false,startWith:1,cacheTimeout:undefined,clearStoreWithCache:true};var PaginatorPlugin=function(t){__extends(e,t);function e(e,r){if(r===void 0){r={}}var i=t.call(this,e,{resetFn:function(){i.initial=false;i.destroy({clearCache:true,currentPage:1})}})||this;i.query=e;i.config=r;i.metadata=new Map;i.pages=new Map;i.pagination={currentPage:1,perPage:0,total:0,lastPage:0,data:[]};i.initial=true;i.isLoading$=i.query.selectLoading().pipe(delay(0));i.config=Object.assign(paginatorDefaults,r);var n=i.config,s=n.startWith,o=n.cacheTimeout;i.page=new BehaviorSubject(s);if(isObservable(o)){i.clearCacheSubscription=o.subscribe((function(){return i.clearCache()}))}return i}Object.defineProperty(e.prototype,"pageChanges",{get:function(){return this.page.asObservable()},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"currentPage",{get:function(){return this.pagination.currentPage},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isFirst",{get:function(){return this.currentPage===1},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isLast",{get:function(){return this.currentPage===this.pagination.lastPage},enumerable:false,configurable:true});e.prototype.withControls=function(){this.config.pagesControls=true;return this};e.prototype.withRange=function(){this.config.range=true;return this};e.prototype.setLoading=function(t){if(t===void 0){t=true}this.getStore().setLoading(t)};e.prototype.update=function(t){this.pagination=t;this.addPage(t.data)};e.prototype.addPage=function(t){var e=this;this.pages.set(this.currentPage,{ids:t.map((function(t){return t[e.getStore().idKey]}))});this.getStore().upsertMany(t)};e.prototype.clearCache=function(t){if(t===void 0){t={}}if(!this.initial){logAction("@Pagination - Clear Cache");if(t.clearStore!==false&&(this.config.clearStoreWithCache||t.clearStore)){this.getStore().remove()}this.pages=new Map;this.metadata=new Map}this.initial=false};e.prototype.clearPage=function(t){this.pages.delete(t)};e.prototype.destroy=function(t){var e=t===void 0?{}:t,r=e.clearCache,i=e.currentPage;if(this.clearCacheSubscription){this.clearCacheSubscription.unsubscribe()}if(r){this.clearCache()}if(!isUndefined(i)){this.setPage(i)}this.initial=true};e.prototype.isPageActive=function(t){return this.currentPage===t};e.prototype.setPage=function(t){if(t!==this.currentPage||!this.hasPage(t)){this.page.next(this.pagination.currentPage=t)}};e.prototype.nextPage=function(){if(this.currentPage!==this.pagination.lastPage){this.setPage(this.pagination.currentPage+1)}};e.prototype.prevPage=function(){if(this.pagination.currentPage>1){this.setPage(this.pagination.currentPage-1)}};e.prototype.setLastPage=function(){this.setPage(this.pagination.lastPage)};e.prototype.setFirstPage=function(){this.setPage(1)};e.prototype.hasPage=function(t){return this.pages.has(t)};e.prototype.getPage=function(t){var e=this;var r=this.pagination.currentPage;if(this.hasPage(r)){return this.selectPage(r)}else{this.setLoading(true);return from(t()).pipe(switchMap((function(t){r=t.currentPage;applyTransaction((function(){e.setLoading(false);e.update(t)}));return e.selectPage(r)})))}};e.prototype.getQuery=function(){return this.query};e.prototype.refreshCurrentPage=function(){if(isNil(this.currentPage)===false){this.clearPage(this.currentPage);this.setPage(this.currentPage)}};e.prototype.getFrom=function(){if(this.isFirst){return 1}return(this.currentPage-1)*this.pagination.perPage+1};e.prototype.getTo=function(){if(this.isLast){return this.pagination.total}return this.currentPage*this.pagination.perPage};e.prototype.selectPage=function(t){var e=this;return this.query.selectAll({asObject:true}).pipe(take(1),map((function(r){var i=Object.assign({},e.pagination,{data:e.pages.get(t).ids.map((function(t){return r[t]}))});var n=e.config,s=n.range,o=n.pagesControls;if(isNaN(e.pagination.total)){if(i.lastPage===1){i.total=i.data?i.data.length:0}else{i.total=i.perPage*i.lastPage}e.pagination.total=i.total}if(s){i.from=e.getFrom();i.to=e.getTo()}if(o){i.pageControls=generatePages(e.pagination.total,e.pagination.perPage)}return i})))};return e}(AkitaPlugin);__decorate([action("@Pagination - New Page"),__metadata("design:type",Function),__metadata("design:paramtypes",[Object]),__metadata("design:returntype",void 0)],PaginatorPlugin.prototype,"update",null);function generatePages(t,e){var r=Math.ceil(t/e);var i=[];for(var n=0;n<r;n++){i.push(n+1)}return i}var StoreAction;(function(t){t["Update"]="UPDATE"})(StoreAction||(StoreAction={}));var EntityStoreAction;(function(t){t["Update"]="UPDATE";t["AddEntities"]="ADD_ENTITIES";t["SetEntities"]="SET_ENTITIES";t["UpdateEntities"]="UPDATE_ENTITIES";t["RemoveEntities"]="REMOVE_ENTITIES";t["UpsertEntities"]="UPSERT_ENTITIES";t["UpsertManyEntities"]="UPSERT_MANY_ENTITIES"})(EntityStoreAction||(EntityStoreAction={}));export{Observable as O,Query as Q,SimpleOuterSubscriber as S,SimpleInnerSubscriber as a,isArray as b,isFunction as c,async as d,enableAkitaProdMode as e,from as f,Subscriber as g,distinctUntilChanged as h,innerSubscribe as i,filter as j,StoreConfig as k,Store as l,map as m};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};return e(t,r)};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();var __awaiter=this&&this.__awaiter||function(e,t,r,n){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function i(e){try{l(n["throw"](e))}catch(e){o(e)}}function l(e){e.done?r(e.value):a(e.value).then(s,i)}l((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,a,o,s;return s={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function i(e){return function(t){return l([e,t])}}function l(s){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,a&&(o=s[0]&2?a["return"]:s[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,s[1])).done)return o;if(a=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;a=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){r.label=s[1];break}if(s[0]===6&&r.label<o[1]){r.label=o[1];o=s;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(s);break}if(o[2])r.ops.pop();r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e];a=0}finally{n=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArrays=this&&this.__spreadArrays||function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var n=Array(e),a=0,t=0;t<r;t++)for(var o=arguments[t],s=0,i=o.length;s<i;s++,a++)n[a]=o[s];return n};var NAMESPACE="apollo-super-selection";var scopeId;var contentRef;var hostTagName;var customError;var useNativeShadowDom=false;var checkSlotFallbackVisibility=false;var checkSlotRelocate=false;var isSvgMode=false;var renderingRef=null;var queuePending=false;var win=typeof window!=="undefined"?window:{};var doc=win.document||{head:{}};var plt={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,r,n){return e.addEventListener(t,r,n)},rel:function(e,t,r,n){return e.removeEventListener(t,r,n)},ce:function(e,t){return new CustomEvent(e,t)}};var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructibleStylesheets=function(){try{new CSSStyleSheet;return true}catch(e){}return false}();var Context={};var addHostEventListeners=function(e,t,r,n){if(r){r.map((function(r){var n=r[0],a=r[1],o=r[2];var s=e;var i=hostListenerProxy(t,o);var l=hostListenerOpts(n);plt.ael(s,a,i,l);(t.$rmListeners$=t.$rmListeners$||[]).push((function(){return plt.rel(s,a,i,l)}))}))}};var hostListenerProxy=function(e,t){return function(r){try{{if(e.$flags$&256){e.$lazyInstance$[t](r)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,r])}}}catch(e){consoleError(e)}}};var hostListenerOpts=function(e){return(e&2)!==0};var HYDRATED_CSS="{visibility:hidden}.hydrated{visibility:inherit}";var XLINK_NS="http://www.w3.org/1999/xlink";var createTime=function(e,t){if(t===void 0){t=""}{return function(){return}}};var uniqueTime=function(e,t){{return function(){return}}};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,t,r){var n=styles.get(e);if(supportsConstructibleStylesheets&&r){n=n||new CSSStyleSheet;n.replace(t)}else{n=t}styles.set(e,n)};var addStyle=function(e,t,r,n){var a=getScopeId(t);var o=styles.get(a);e=e.nodeType===11?e:doc;if(o){if(typeof o==="string"){e=e.head||e;var s=rootAppliedStyles.get(e);var i=void 0;if(!s){rootAppliedStyles.set(e,s=new Set)}if(!s.has(a)){{{i=doc.createElement("style");i.innerHTML=o}e.insertBefore(i,e.querySelector("link"))}if(s){s.add(a)}}}else if(!e.adoptedStyleSheets.includes(o)){e.adoptedStyleSheets=__spreadArrays(e.adoptedStyleSheets,[o])}}return a};var attachStyles=function(e){var t=e.$cmpMeta$;var r=e.$hostElement$;var n=t.$flags$;var a=createTime("attachStyles",t.$tagName$);var o=addStyle(r.shadowRoot?r.shadowRoot:r.getRootNode(),t);if(n&10){r["s-sc"]=o;r.classList.add(o+"-h")}a()};var getScopeId=function(e,t){return"sc-"+e.$tagName$};var EMPTY_OBJ={};var SVG_NS="http://www.w3.org/2000/svg";var HTML_NS="http://www.w3.org/1999/xhtml";var isDef=function(e){return e!=null};var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};var h=function(e,t){var r=[];for(var n=2;n<arguments.length;n++){r[n-2]=arguments[n]}var a=null;var o=null;var s=null;var i=false;var l=false;var c=[];var f=function(t){for(var r=0;r<t.length;r++){a=t[r];if(Array.isArray(a)){f(a)}else if(a!=null&&typeof a!=="boolean"){if(i=typeof e!=="function"&&!isComplexType(a)){a=String(a)}if(i&&l){c[c.length-1].$text$+=a}else{c.push(i?newVNode(null,a):a)}l=i}}};f(r);if(t){if(t.key){o=t.key}if(t.name){s=t.name}{var u=t.className||t.class;if(u){t.class=typeof u!=="object"?u:Object.keys(u).filter((function(e){return u[e]})).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,c,vdomFnUtils)}var $=newVNode(e,null);$.$attrs$=t;if(c.length>0){$.$children$=c}{$.$key$=o}{$.$name$=s}return $};var newVNode=function(e,t){var r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};{r.$attrs$=null}{r.$key$=null}{r.$name$=null}return r};var Host={};var isHost=function(e){return e&&e.$tag$===Host};var vdomFnUtils={forEach:function(e,t){return e.map(convertToPublic).forEach(t)},map:function(e,t){return e.map(convertToPublic).map(t).map(convertToPrivate)}};var convertToPublic=function(e){return{vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}};var convertToPrivate=function(e){if(typeof e.vtag==="function"){var t=Object.assign({},e.vattrs);if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return h.apply(void 0,__spreadArrays([e.vtag,t],e.vchildren||[]))}var r=newVNode(e.vtag,e.vtext);r.$attrs$=e.vattrs;r.$children$=e.vchildren;r.$key$=e.vkey;r.$name$=e.vname;return r};var setAccessor=function(e,t,r,n,a,o){if(r!==n){var s=isMemberInElement(e,t);var i=t.toLowerCase();if(t==="class"){var l=e.classList;var c=parseClassList(r);var f=parseClassList(n);l.remove.apply(l,c.filter((function(e){return e&&!f.includes(e)})));l.add.apply(l,f.filter((function(e){return e&&!c.includes(e)})))}else if(t==="style"){{for(var u in r){if(!n||n[u]==null){if(u.includes("-")){e.style.removeProperty(u)}else{e.style[u]=""}}}}for(var u in n){if(!r||n[u]!==r[u]){if(u.includes("-")){e.style.setProperty(u,n[u])}else{e.style[u]=n[u]}}}}else if(t==="key");else if(t==="ref"){if(n){n(e)}}else if(!s&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(isMemberInElement(win,i)){t=i.slice(2)}else{t=i[2]+t.slice(3)}if(r){plt.rel(e,t,r,false)}if(n){plt.ael(e,t,n,false)}}else{var $=isComplexType(n);if((s||$&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var d=n==null?"":n;if(t==="list"){s=false}else if(r==null||e[t]!=d){e[t]=d}}else{e[t]=n}}catch(e){}}var v=false;{if(i!==(i=i.replace(/^xlink\:?/,""))){t=i;v=true}}if(n==null||n===false){if(n!==false||e.getAttribute(t)===""){if(v){e.removeAttributeNS(XLINK_NS,t)}else{e.removeAttribute(t)}}}else if((!s||o&4||a)&&!$){n=n===true?"":n;if(v){e.setAttributeNS(XLINK_NS,t,n)}else{e.setAttribute(t,n)}}}}};var parseClassListRegex=/\s/;var parseClassList=function(e){return!e?[]:e.split(parseClassListRegex)};var updateElement=function(e,t,r,n){var a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var o=e&&e.$attrs$||EMPTY_OBJ;var s=t.$attrs$||EMPTY_OBJ;{for(n in o){if(!(n in s)){setAccessor(a,n,o[n],undefined,r,t.$flags$)}}}for(n in s){setAccessor(a,n,o[n],s[n],r,t.$flags$)}};var createElm=function(e,t,r,n){var a=t.$children$[r];var o=0;var s;var i;var l;if(!useNativeShadowDom){checkSlotRelocate=true;if(a.$tag$==="slot"){if(scopeId){n.classList.add(scopeId+"-s")}a.$flags$|=a.$children$?2:1}}if(a.$text$!==null){s=a.$elm$=doc.createTextNode(a.$text$)}else if(a.$flags$&1){s=a.$elm$=doc.createTextNode("")}else{if(!isSvgMode){isSvgMode=a.$tag$==="svg"}s=a.$elm$=doc.createElementNS(isSvgMode?SVG_NS:HTML_NS,a.$flags$&2?"slot-fb":a.$tag$);if(isSvgMode&&a.$tag$==="foreignObject"){isSvgMode=false}{updateElement(null,a,isSvgMode)}if(isDef(scopeId)&&s["s-si"]!==scopeId){s.classList.add(s["s-si"]=scopeId)}if(a.$children$){for(o=0;o<a.$children$.length;++o){i=createElm(e,a,o,s);if(i){s.appendChild(i)}}}{if(a.$tag$==="svg"){isSvgMode=false}else if(s.tagName==="foreignObject"){isSvgMode=true}}}{s["s-hn"]=hostTagName;if(a.$flags$&(2|1)){s["s-sr"]=true;s["s-cr"]=contentRef;s["s-sn"]=a.$name$||"";l=e&&e.$children$&&e.$children$[r];if(l&&l.$tag$===a.$tag$&&e.$elm$){putBackInOriginalLocation(e.$elm$,false)}}}return s};var putBackInOriginalLocation=function(e,t){plt.$flags$|=1;var r=e.childNodes;for(var n=r.length-1;n>=0;n--){var a=r[n];if(a["s-hn"]!==hostTagName&&a["s-ol"]){parentReferenceNode(a).insertBefore(a,referenceNode(a));a["s-ol"].remove();a["s-ol"]=undefined;checkSlotRelocate=true}if(t){putBackInOriginalLocation(a,t)}}plt.$flags$&=~1};var addVnodes=function(e,t,r,n,a,o){var s=e["s-cr"]&&e["s-cr"].parentNode||e;var i;if(s.shadowRoot&&s.tagName===hostTagName){s=s.shadowRoot}for(;a<=o;++a){if(n[a]){i=createElm(null,r,a,e);if(i){n[a].$elm$=i;s.insertBefore(i,referenceNode(t))}}}};var removeVnodes=function(e,t,r,n,a){for(;t<=r;++t){if(n=e[t]){a=n.$elm$;callNodeRefs(n);{checkSlotFallbackVisibility=true;if(a["s-ol"]){a["s-ol"].remove()}else{putBackInOriginalLocation(a,true)}}a.remove()}}};var updateChildren=function(e,t,r,n){var a=0;var o=0;var s=0;var i=0;var l=t.length-1;var c=t[0];var f=t[l];var u=n.length-1;var $=n[0];var d=n[u];var v;var p;while(a<=l&&o<=u){if(c==null){c=t[++a]}else if(f==null){f=t[--l]}else if($==null){$=n[++o]}else if(d==null){d=n[--u]}else if(isSameVnode(c,$)){patch(c,$);c=t[++a];$=n[++o]}else if(isSameVnode(f,d)){patch(f,d);f=t[--l];d=n[--u]}else if(isSameVnode(c,d)){if(c.$tag$==="slot"||d.$tag$==="slot"){putBackInOriginalLocation(c.$elm$.parentNode,false)}patch(c,d);e.insertBefore(c.$elm$,f.$elm$.nextSibling);c=t[++a];d=n[--u]}else if(isSameVnode(f,$)){if(c.$tag$==="slot"||d.$tag$==="slot"){putBackInOriginalLocation(f.$elm$.parentNode,false)}patch(f,$);e.insertBefore(f.$elm$,c.$elm$);f=t[--l];$=n[++o]}else{s=-1;{for(i=a;i<=l;++i){if(t[i]&&t[i].$key$!==null&&t[i].$key$===$.$key$){s=i;break}}}if(s>=0){p=t[s];if(p.$tag$!==$.$tag$){v=createElm(t&&t[o],r,s,e)}else{patch(p,$);t[s]=undefined;v=p.$elm$}$=n[++o]}else{v=createElm(t&&t[o],r,o,e);$=n[++o]}if(v){{parentReferenceNode(c.$elm$).insertBefore(v,referenceNode(c.$elm$))}}}}if(a>l){addVnodes(e,n[u+1]==null?null:n[u+1].$elm$,r,n,o,u)}else if(o>u){removeVnodes(t,a,l)}};var isSameVnode=function(e,t){if(e.$tag$===t.$tag$){if(e.$tag$==="slot"){return e.$name$===t.$name$}{return e.$key$===t.$key$}}return false};var referenceNode=function(e){return e&&e["s-ol"]||e};var parentReferenceNode=function(e){return(e["s-ol"]?e["s-ol"]:e).parentNode};var patch=function(e,t){var r=t.$elm$=e.$elm$;var n=e.$children$;var a=t.$children$;var o=t.$tag$;var s=t.$text$;var i;if(s===null){{isSvgMode=o==="svg"?true:o==="foreignObject"?false:isSvgMode}{if(o==="slot");else{updateElement(e,t,isSvgMode)}}if(n!==null&&a!==null){updateChildren(r,n,t,a)}else if(a!==null){if(e.$text$!==null){r.textContent=""}addVnodes(r,null,t,a,0,a.length-1)}else if(n!==null){removeVnodes(n,0,n.length-1)}if(isSvgMode&&o==="svg"){isSvgMode=false}}else if(i=r["s-cr"]){i.parentNode.textContent=s}else if(e.$text$!==s){r.data=s}};var updateFallbackSlotVisibility=function(e){var t=e.childNodes;var r;var n;var a;var o;var s;var i;for(n=0,a=t.length;n<a;n++){r=t[n];if(r.nodeType===1){if(r["s-sr"]){s=r["s-sn"];r.hidden=false;for(o=0;o<a;o++){if(t[o]["s-hn"]!==r["s-hn"]){i=t[o].nodeType;if(s!==""){if(i===1&&s===t[o].getAttribute("slot")){r.hidden=true;break}}else{if(i===1||i===3&&t[o].textContent.trim()!==""){r.hidden=true;break}}}}}updateFallbackSlotVisibility(r)}}};var relocateNodes=[];var relocateSlotContent=function(e){var t;var r;var n;var a;var o;var s;var i=0;var l=e.childNodes;var c=l.length;for(;i<c;i++){t=l[i];if(t["s-sr"]&&(r=t["s-cr"])){n=r.parentNode.childNodes;a=t["s-sn"];for(s=n.length-1;s>=0;s--){r=n[s];if(!r["s-cn"]&&!r["s-nr"]&&r["s-hn"]!==t["s-hn"]){if(isNodeLocatedInSlot(r,a)){o=relocateNodes.find((function(e){return e.$nodeToRelocate$===r}));checkSlotFallbackVisibility=true;r["s-sn"]=r["s-sn"]||a;if(o){o.$slotRefNode$=t}else{relocateNodes.push({$slotRefNode$:t,$nodeToRelocate$:r})}if(r["s-sr"]){relocateNodes.map((function(e){if(isNodeLocatedInSlot(e.$nodeToRelocate$,r["s-sn"])){o=relocateNodes.find((function(e){return e.$nodeToRelocate$===r}));if(o&&!e.$slotRefNode$){e.$slotRefNode$=o.$slotRefNode$}}}))}}else if(!relocateNodes.some((function(e){return e.$nodeToRelocate$===r}))){relocateNodes.push({$nodeToRelocate$:r})}}}}if(t.nodeType===1){relocateSlotContent(t)}}};var isNodeLocatedInSlot=function(e,t){if(e.nodeType===1){if(e.getAttribute("slot")===null&&t===""){return true}if(e.getAttribute("slot")===t){return true}return false}if(e["s-sn"]===t){return true}return t===""};var callNodeRefs=function(e){{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null);e.$children$&&e.$children$.map(callNodeRefs)}};var renderVdom=function(e,t){var r=e.$hostElement$;var n=e.$cmpMeta$;var a=e.$vnode$||newVNode(null,null);var o=isHost(t)?t:h(null,null,t);hostTagName=r.tagName;if(n.$attrsToReflect$){o.$attrs$=o.$attrs$||{};n.$attrsToReflect$.map((function(e){var t=e[0],n=e[1];return o.$attrs$[n]=r[t]}))}o.$tag$=null;o.$flags$|=4;e.$vnode$=o;o.$elm$=a.$elm$=r.shadowRoot||r;{scopeId=r["s-sc"]}{contentRef=r["s-cr"];useNativeShadowDom=(n.$flags$&1)!==0;checkSlotFallbackVisibility=false}patch(a,o);{plt.$flags$|=1;if(checkSlotRelocate){relocateSlotContent(o.$elm$);var s=void 0;var i=void 0;var l=void 0;var c=void 0;var f=void 0;var u=void 0;var $=0;for(;$<relocateNodes.length;$++){s=relocateNodes[$];i=s.$nodeToRelocate$;if(!i["s-ol"]){l=doc.createTextNode("");l["s-nr"]=i;i.parentNode.insertBefore(i["s-ol"]=l,i)}}for($=0;$<relocateNodes.length;$++){s=relocateNodes[$];i=s.$nodeToRelocate$;if(s.$slotRefNode$){c=s.$slotRefNode$.parentNode;f=s.$slotRefNode$.nextSibling;l=i["s-ol"];while(l=l.previousSibling){u=l["s-nr"];if(u&&u["s-sn"]===i["s-sn"]&&c===u.parentNode){u=u.nextSibling;if(!u||!u["s-nr"]){f=u;break}}}if(!f&&c!==i.parentNode||i.nextSibling!==f){if(i!==f){if(!i["s-hn"]&&i["s-ol"]){i["s-hn"]=i["s-ol"].parentNode.nodeName}c.insertBefore(i,f)}}}else{if(i.nodeType===1){i.hidden=true}}}}if(checkSlotFallbackVisibility){updateFallbackSlotVisibility(o.$elm$)}plt.$flags$&=~1;relocateNodes.length=0}};var getElement=function(e){return getHostRef(e).$hostElement$};var createEvent=function(e,t,r){var n=getElement(e);return{emit:function(e){return emitEvent(n,t,{bubbles:!!(r&4),composed:!!(r&2),cancelable:!!(r&1),detail:e})}}};var emitEvent=function(e,t,r){var n=plt.ce(t,r);e.dispatchEvent(n);return n};var attachToAncestor=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var scheduleUpdate=function(e,t){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}attachToAncestor(e,e.$ancestorComponent$);var r=function(){return dispatchHooks(e,t)};return writeTask(r)};var dispatchHooks=function(e,t){var r=createTime("scheduleUpdate",e.$cmpMeta$.$tagName$);var n=e.$lazyInstance$;var a;if(t){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var t=e[0],r=e[1];return safeCall(n,t,r)}));e.$queuedListeners$=null}}{a=safeCall(n,"componentWillLoad")}}r();return then(a,(function(){return updateComponent(e,n,t)}))};var updateComponent=function(e,t,r){return __awaiter(void 0,void 0,void 0,(function(){var n,a,o,s,i,l;return __generator(this,(function(c){n=e.$hostElement$;a=createTime("update",e.$cmpMeta$.$tagName$);o=n["s-rc"];if(r){attachStyles(e)}s=createTime("render",e.$cmpMeta$.$tagName$);{{{renderVdom(e,callRender(e,t))}}}if(o){o.map((function(e){return e()}));n["s-rc"]=undefined}s();a();{i=n["s-p"];l=function(){return postUpdateComponent(e)};if(i.length===0){l()}else{Promise.all(i).then(l);e.$flags$|=4;i.length=0}}return[2]}))}))};var callRender=function(e,t){try{renderingRef=t;t=t.render&&t.render();{e.$flags$&=~16}{e.$flags$|=2}}catch(t){consoleError(t,e.$hostElement$)}renderingRef=null;return t};var getRenderingRef=function(){return renderingRef};var postUpdateComponent=function(e){var t=e.$cmpMeta$.$tagName$;var r=e.$hostElement$;var n=createTime("postUpdate",t);var a=e.$lazyInstance$;var o=e.$ancestorComponent$;{safeCall(a,"componentDidRender")}if(!(e.$flags$&64)){e.$flags$|=64;{addHydratedFlag(r)}{safeCall(a,"componentDidLoad")}n();{e.$onReadyResolve$(r);if(!o){appDidLoad()}}}else{{safeCall(a,"componentDidUpdate")}n()}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.$flags$&=~(4|512)}};var forceUpdate=function(e){{var t=getHostRef(e);var r=t.$hostElement$.isConnected;if(r&&(t.$flags$&(2|16))===2){scheduleUpdate(t,false)}return r}};var appDidLoad=function(e){{addHydratedFlag(doc.documentElement)}nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var safeCall=function(e,t,r){if(e&&e[t]){try{return e[t](r)}catch(e){consoleError(e)}}return undefined};var then=function(e,t){return e&&e.then?e.then(t):t()};var addHydratedFlag=function(e){return e.classList.add("hydrated")};var parsePropertyValue=function(e,t){if(e!=null&&!isComplexType(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var getValue=function(e,t){return getHostRef(e).$instanceValues$.get(t)};var setValue=function(e,t,r,n){var a=getHostRef(e);var o=a.$hostElement$;var s=a.$instanceValues$.get(t);var i=a.$flags$;var l=a.$lazyInstance$;r=parsePropertyValue(r,n.$members$[t][0]);if((!(i&8)||s===undefined)&&r!==s){a.$instanceValues$.set(t,r);if(l){if(n.$watchers$&&i&128){var c=n.$watchers$[t];if(c){c.map((function(e){try{l[e](r,s,t)}catch(e){consoleError(e,o)}}))}}if((i&(2|16))===2){scheduleUpdate(a,false)}}}};var proxyComponent=function(e,t,r){if(t.$members$){if(e.watchers){t.$watchers$=e.watchers}var n=Object.entries(t.$members$);var a=e.prototype;n.map((function(e){var n=e[0],o=e[1][0];if(o&31||r&2&&o&32){Object.defineProperty(a,n,{get:function(){return getValue(this,n)},set:function(e){setValue(this,n,e,t)},configurable:true,enumerable:true})}}));if(r&1){var o=new Map;a.attributeChangedCallback=function(e,t,r){var n=this;plt.jmp((function(){var t=o.get(e);n[t]=r===null&&typeof n[t]==="boolean"?false:r}))};e.observedAttributes=n.filter((function(e){var t=e[0],r=e[1];return r[0]&15})).map((function(e){var r=e[0],n=e[1];var a=n[1]||r;o.set(a,r);if(n[0]&512){t.$attrsToReflect$.push([r,a])}return a}))}}return e};var initializeComponent=function(e,t,r,n,a){return __awaiter(void 0,void 0,void 0,(function(){var e,n,o,s,i,l,c;return __generator(this,(function(f){switch(f.label){case 0:if(!((t.$flags$&32)===0))return[3,3];t.$flags$|=32;a=loadModule(r);if(!a.then)return[3,2];e=uniqueTime();return[4,a];case 1:a=f.sent();e();f.label=2;case 2:if(!a.isProxied){{r.$watchers$=a.watchers}proxyComponent(a,r,2);a.isProxied=true}n=createTime("createInstance",r.$tagName$);{t.$flags$|=8}try{new a(t)}catch(e){consoleError(e)}{t.$flags$&=~8}{t.$flags$|=128}n();fireConnectedCallback(t.$lazyInstance$);if(a.style){o=a.style;s=getScopeId(r);if(!styles.has(s)){i=createTime("registerStyles",r.$tagName$);registerStyle(s,o,!!(r.$flags$&1));i()}}f.label=3;case 3:l=t.$ancestorComponent$;c=function(){return scheduleUpdate(t,true)};if(l&&l["s-rc"]){l["s-rc"].push(c)}else{c()}return[2]}}))}))};var fireConnectedCallback=function(e){{safeCall(e,"connectedCallback")}};var connectedCallback=function(e){if((plt.$flags$&1)===0){var t=getHostRef(e);var r=t.$cmpMeta$;var n=createTime("connectedCallback",r.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;{if(r.$flags$&(4|8)){setContentReference(e)}}{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){attachToAncestor(t,t.$ancestorComponent$=a);break}}}if(r.$members$){Object.entries(r.$members$).map((function(t){var r=t[0],n=t[1][0];if(n&31&&e.hasOwnProperty(r)){var a=e[r];delete e[r];e[r]=a}}))}{initializeComponent(e,t,r)}}else{addHostEventListeners(e,t,r.$listeners$);fireConnectedCallback(t.$lazyInstance$)}n()}};var setContentReference=function(e){var t=e["s-cr"]=doc.createComment("");t["s-cn"]=true;e.insertBefore(t,e.firstChild)};var disconnectedCallback=function(e){if((plt.$flags$&1)===0){var t=getHostRef(e);var r=t.$lazyInstance$;{if(t.$rmListeners$){t.$rmListeners$.map((function(e){return e()}));t.$rmListeners$=undefined}}{safeCall(r,"disconnectedCallback")}{safeCall(r,"componentDidUnload")}}};var bootstrapLazy=function(e,t){if(t===void 0){t={}}var r=createTime();var n=[];var a=t.exclude||[];var o=win.customElements;var s=doc.head;var i=s.querySelector("meta[charset]");var l=doc.createElement("style");var c=[];var f;var u=true;Object.assign(plt,t);plt.$resourcesUrl$=new URL(t.resourcesUrl||"./",doc.baseURI).href;e.map((function(e){return e[1].map((function(t){var r={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{r.$members$=t[2]}{r.$listeners$=t[3]}{r.$attrsToReflect$=[]}{r.$watchers$={}}var s=r.$tagName$;var i=function(e){__extends(t,e);function t(t){var n=e.call(this,t)||this;t=n;registerHost(t,r);if(r.$flags$&1){{{t.attachShadow({mode:"open"})}}}return n}t.prototype.connectedCallback=function(){var e=this;if(f){clearTimeout(f);f=null}if(u){c.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}))};t.prototype.componentOnReady=function(){return getHostRef(this).$onReadyPromise$};return t}(HTMLElement);r.$lazyBundleId$=e[0];if(!a.includes(s)&&!o.get(s)){n.push(s);o.define(s,proxyComponent(i,r,1))}}))}));{l.innerHTML=n+HYDRATED_CSS;l.setAttribute("data-styles","");s.insertBefore(l,i?i.nextSibling:s.firstChild)}u=false;if(c.length){c.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return f=setTimeout(appDidLoad,30)}))}}r()};var getAssetPath=function(e){var t=new URL(e,plt.$resourcesUrl$);return t.origin!==win.location.origin?t.href:t.pathname};var getContext=function(e,t){if(t in Context){return Context[t]}else if(t==="window"){return win}else if(t==="document"){return doc}else if(t==="isServer"||t==="isPrerender"){return false}else if(t==="isClient"){return true}else if(t==="resourcesUrl"||t==="publicPath"){return getAssetPath(".")}else if(t==="queue"){return{write:writeTask,read:readTask,tick:{then:function(e){return nextTick(e)}}}}return undefined};var hostRefs=new WeakMap;var getHostRef=function(e){return hostRefs.get(e)};var registerInstance=function(e,t){return hostRefs.set(t.$lazyInstance$=e,t)};var registerHost=function(e,t){var r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{r.$onReadyPromise$=new Promise((function(e){return r.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}addHostEventListeners(e,r,t.$listeners$);return hostRefs.set(e,r)};var isMemberInElement=function(e,t){return t in e};var consoleError=function(e,t){return(customError||console.error)(e,t)};var setErrorHandler=function(e){return customError=e};var cmpModules=new Map;var loadModule=function(e,t,r){var n=e.$tagName$.replace(/-/g,"_");var a=e.$lazyBundleId$;var o=cmpModules.get(a);if(o){return o[n]}return import("./"+a+".entry.js"+"").then((function(e){{cmpModules.set(a,e)}return e[n]}),consoleError)};var styles=new Map;var queueDomReads=[];var queueDomWrites=[];var queueTask=function(e,t){return function(r){e.push(r);if(!queuePending){queuePending=true;if(t&&plt.$flags$&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){consoleError(e)}}e.length=0};var flush=function(){consume(queueDomReads);{consume(queueDomWrites);if(queuePending=queueDomReads.length>0){plt.raf(flush)}}};var nextTick=function(e){return promiseResolve().then(e)};var readTask=queueTask(queueDomReads,false);var writeTask=queueTask(queueDomWrites,true);export{Host as H,getAssetPath as a,bootstrapLazy as b,createEvent as c,getElement as d,getContext as e,forceUpdate as f,getRenderingRef as g,h,promiseResolve as p,registerInstance as r,setErrorHandler as s};
|
|
1
|
+
var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};return e(t,r)};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();var __awaiter=this&&this.__awaiter||function(e,t,r,n){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function i(e){try{l(n["throw"](e))}catch(e){o(e)}}function l(e){e.done?r(e.value):a(e.value).then(s,i)}l((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,a,o,s;return s={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function i(e){return function(t){return l([e,t])}}function l(s){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,a&&(o=s[0]&2?a["return"]:s[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,s[1])).done)return o;if(a=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;a=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){r.label=s[1];break}if(s[0]===6&&r.label<o[1]){r.label=o[1];o=s;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(s);break}if(o[2])r.ops.pop();r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e];a=0}finally{n=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArrays=this&&this.__spreadArrays||function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var n=Array(e),a=0,t=0;t<r;t++)for(var o=arguments[t],s=0,i=o.length;s<i;s++,a++)n[a]=o[s];return n};var NAMESPACE="apollo-super-selection";var scopeId;var contentRef;var hostTagName;var customError;var useNativeShadowDom=false;var checkSlotFallbackVisibility=false;var checkSlotRelocate=false;var isSvgMode=false;var renderingRef=null;var queuePending=false;var win=typeof window!=="undefined"?window:{};var doc=win.document||{head:{}};var plt={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,r,n){return e.addEventListener(t,r,n)},rel:function(e,t,r,n){return e.removeEventListener(t,r,n)},ce:function(e,t){return new CustomEvent(e,t)}};var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructibleStylesheets=function(){try{new CSSStyleSheet;return true}catch(e){}return false}();var Context={};var addHostEventListeners=function(e,t,r,n){if(r){r.map((function(r){var n=r[0],a=r[1],o=r[2];var s=e;var i=hostListenerProxy(t,o);var l=hostListenerOpts(n);plt.ael(s,a,i,l);(t.$rmListeners$=t.$rmListeners$||[]).push((function(){return plt.rel(s,a,i,l)}))}))}};var hostListenerProxy=function(e,t){return function(r){try{{if(e.$flags$&256){e.$lazyInstance$[t](r)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,r])}}}catch(e){consoleError(e)}}};var hostListenerOpts=function(e){return(e&2)!==0};var HYDRATED_CSS="{visibility:hidden}.hydrated{visibility:inherit}";var XLINK_NS="http://www.w3.org/1999/xlink";var createTime=function(e,t){if(t===void 0){t=""}{return function(){return}}};var uniqueTime=function(e,t){{return function(){return}}};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,t,r){var n=styles.get(e);if(supportsConstructibleStylesheets&&r){n=n||new CSSStyleSheet;n.replace(t)}else{n=t}styles.set(e,n)};var addStyle=function(e,t,r,n){var a=getScopeId(t);var o=styles.get(a);e=e.nodeType===11?e:doc;if(o){if(typeof o==="string"){e=e.head||e;var s=rootAppliedStyles.get(e);var i=void 0;if(!s){rootAppliedStyles.set(e,s=new Set)}if(!s.has(a)){{{i=doc.createElement("style");i.innerHTML=o}e.insertBefore(i,e.querySelector("link"))}if(s){s.add(a)}}}else if(!e.adoptedStyleSheets.includes(o)){e.adoptedStyleSheets=__spreadArrays(e.adoptedStyleSheets,[o])}}return a};var attachStyles=function(e){var t=e.$cmpMeta$;var r=e.$hostElement$;var n=t.$flags$;var a=createTime("attachStyles",t.$tagName$);var o=addStyle(r.shadowRoot?r.shadowRoot:r.getRootNode(),t);if(n&10){r["s-sc"]=o;r.classList.add(o+"-h")}a()};var getScopeId=function(e,t){return"sc-"+e.$tagName$};var EMPTY_OBJ={};var SVG_NS="http://www.w3.org/2000/svg";var HTML_NS="http://www.w3.org/1999/xhtml";var isDef=function(e){return e!=null};var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};var h=function(e,t){var r=[];for(var n=2;n<arguments.length;n++){r[n-2]=arguments[n]}var a=null;var o=null;var s=null;var i=false;var l=false;var c=[];var f=function(t){for(var r=0;r<t.length;r++){a=t[r];if(Array.isArray(a)){f(a)}else if(a!=null&&typeof a!=="boolean"){if(i=typeof e!=="function"&&!isComplexType(a)){a=String(a)}if(i&&l){c[c.length-1].$text$+=a}else{c.push(i?newVNode(null,a):a)}l=i}}};f(r);if(t){if(t.key){o=t.key}if(t.name){s=t.name}{var u=t.className||t.class;if(u){t.class=typeof u!=="object"?u:Object.keys(u).filter((function(e){return u[e]})).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,c,vdomFnUtils)}var $=newVNode(e,null);$.$attrs$=t;if(c.length>0){$.$children$=c}{$.$key$=o}{$.$name$=s}return $};var newVNode=function(e,t){var r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};{r.$attrs$=null}{r.$key$=null}{r.$name$=null}return r};var Host={};var isHost=function(e){return e&&e.$tag$===Host};var vdomFnUtils={forEach:function(e,t){return e.map(convertToPublic).forEach(t)},map:function(e,t){return e.map(convertToPublic).map(t).map(convertToPrivate)}};var convertToPublic=function(e){return{vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}};var convertToPrivate=function(e){if(typeof e.vtag==="function"){var t=Object.assign({},e.vattrs);if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return h.apply(void 0,__spreadArrays([e.vtag,t],e.vchildren||[]))}var r=newVNode(e.vtag,e.vtext);r.$attrs$=e.vattrs;r.$children$=e.vchildren;r.$key$=e.vkey;r.$name$=e.vname;return r};var setAccessor=function(e,t,r,n,a,o){if(r!==n){var s=isMemberInElement(e,t);var i=t.toLowerCase();if(t==="class"){var l=e.classList;var c=parseClassList(r);var f=parseClassList(n);l.remove.apply(l,c.filter((function(e){return e&&!f.includes(e)})));l.add.apply(l,f.filter((function(e){return e&&!c.includes(e)})))}else if(t==="style"){{for(var u in r){if(!n||n[u]==null){if(u.includes("-")){e.style.removeProperty(u)}else{e.style[u]=""}}}}for(var u in n){if(!r||n[u]!==r[u]){if(u.includes("-")){e.style.setProperty(u,n[u])}else{e.style[u]=n[u]}}}}else if(t==="key");else if(t==="ref"){if(n){n(e)}}else if(!s&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(isMemberInElement(win,i)){t=i.slice(2)}else{t=i[2]+t.slice(3)}if(r){plt.rel(e,t,r,false)}if(n){plt.ael(e,t,n,false)}}else{var $=isComplexType(n);if((s||$&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var d=n==null?"":n;if(t==="list"){s=false}else if(r==null||e[t]!=d){e[t]=d}}else{e[t]=n}}catch(e){}}var v=false;{if(i!==(i=i.replace(/^xlink\:?/,""))){t=i;v=true}}if(n==null||n===false){if(n!==false||e.getAttribute(t)===""){if(v){e.removeAttributeNS(XLINK_NS,t)}else{e.removeAttribute(t)}}}else if((!s||o&4||a)&&!$){n=n===true?"":n;if(v){e.setAttributeNS(XLINK_NS,t,n)}else{e.setAttribute(t,n)}}}}};var parseClassListRegex=/\s/;var parseClassList=function(e){return!e?[]:e.split(parseClassListRegex)};var updateElement=function(e,t,r,n){var a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var o=e&&e.$attrs$||EMPTY_OBJ;var s=t.$attrs$||EMPTY_OBJ;{for(n in o){if(!(n in s)){setAccessor(a,n,o[n],undefined,r,t.$flags$)}}}for(n in s){setAccessor(a,n,o[n],s[n],r,t.$flags$)}};var createElm=function(e,t,r,n){var a=t.$children$[r];var o=0;var s;var i;var l;if(!useNativeShadowDom){checkSlotRelocate=true;if(a.$tag$==="slot"){if(scopeId){n.classList.add(scopeId+"-s")}a.$flags$|=a.$children$?2:1}}if(a.$text$!==null){s=a.$elm$=doc.createTextNode(a.$text$)}else if(a.$flags$&1){s=a.$elm$=doc.createTextNode("")}else{if(!isSvgMode){isSvgMode=a.$tag$==="svg"}s=a.$elm$=doc.createElementNS(isSvgMode?SVG_NS:HTML_NS,a.$flags$&2?"slot-fb":a.$tag$);if(isSvgMode&&a.$tag$==="foreignObject"){isSvgMode=false}{updateElement(null,a,isSvgMode)}if(isDef(scopeId)&&s["s-si"]!==scopeId){s.classList.add(s["s-si"]=scopeId)}if(a.$children$){for(o=0;o<a.$children$.length;++o){i=createElm(e,a,o,s);if(i){s.appendChild(i)}}}{if(a.$tag$==="svg"){isSvgMode=false}else if(s.tagName==="foreignObject"){isSvgMode=true}}}{s["s-hn"]=hostTagName;if(a.$flags$&(2|1)){s["s-sr"]=true;s["s-cr"]=contentRef;s["s-sn"]=a.$name$||"";l=e&&e.$children$&&e.$children$[r];if(l&&l.$tag$===a.$tag$&&e.$elm$){putBackInOriginalLocation(e.$elm$,false)}}}return s};var putBackInOriginalLocation=function(e,t){plt.$flags$|=1;var r=e.childNodes;for(var n=r.length-1;n>=0;n--){var a=r[n];if(a["s-hn"]!==hostTagName&&a["s-ol"]){parentReferenceNode(a).insertBefore(a,referenceNode(a));a["s-ol"].remove();a["s-ol"]=undefined;checkSlotRelocate=true}if(t){putBackInOriginalLocation(a,t)}}plt.$flags$&=~1};var addVnodes=function(e,t,r,n,a,o){var s=e["s-cr"]&&e["s-cr"].parentNode||e;var i;if(s.shadowRoot&&s.tagName===hostTagName){s=s.shadowRoot}for(;a<=o;++a){if(n[a]){i=createElm(null,r,a,e);if(i){n[a].$elm$=i;s.insertBefore(i,referenceNode(t))}}}};var removeVnodes=function(e,t,r,n,a){for(;t<=r;++t){if(n=e[t]){a=n.$elm$;callNodeRefs(n);{checkSlotFallbackVisibility=true;if(a["s-ol"]){a["s-ol"].remove()}else{putBackInOriginalLocation(a,true)}}a.remove()}}};var updateChildren=function(e,t,r,n){var a=0;var o=0;var s=0;var i=0;var l=t.length-1;var c=t[0];var f=t[l];var u=n.length-1;var $=n[0];var d=n[u];var v;var p;while(a<=l&&o<=u){if(c==null){c=t[++a]}else if(f==null){f=t[--l]}else if($==null){$=n[++o]}else if(d==null){d=n[--u]}else if(isSameVnode(c,$)){patch(c,$);c=t[++a];$=n[++o]}else if(isSameVnode(f,d)){patch(f,d);f=t[--l];d=n[--u]}else if(isSameVnode(c,d)){if(c.$tag$==="slot"||d.$tag$==="slot"){putBackInOriginalLocation(c.$elm$.parentNode,false)}patch(c,d);e.insertBefore(c.$elm$,f.$elm$.nextSibling);c=t[++a];d=n[--u]}else if(isSameVnode(f,$)){if(c.$tag$==="slot"||d.$tag$==="slot"){putBackInOriginalLocation(f.$elm$.parentNode,false)}patch(f,$);e.insertBefore(f.$elm$,c.$elm$);f=t[--l];$=n[++o]}else{s=-1;{for(i=a;i<=l;++i){if(t[i]&&t[i].$key$!==null&&t[i].$key$===$.$key$){s=i;break}}}if(s>=0){p=t[s];if(p.$tag$!==$.$tag$){v=createElm(t&&t[o],r,s,e)}else{patch(p,$);t[s]=undefined;v=p.$elm$}$=n[++o]}else{v=createElm(t&&t[o],r,o,e);$=n[++o]}if(v){{parentReferenceNode(c.$elm$).insertBefore(v,referenceNode(c.$elm$))}}}}if(a>l){addVnodes(e,n[u+1]==null?null:n[u+1].$elm$,r,n,o,u)}else if(o>u){removeVnodes(t,a,l)}};var isSameVnode=function(e,t){if(e.$tag$===t.$tag$){if(e.$tag$==="slot"){return e.$name$===t.$name$}{return e.$key$===t.$key$}}return false};var referenceNode=function(e){return e&&e["s-ol"]||e};var parentReferenceNode=function(e){return(e["s-ol"]?e["s-ol"]:e).parentNode};var patch=function(e,t){var r=t.$elm$=e.$elm$;var n=e.$children$;var a=t.$children$;var o=t.$tag$;var s=t.$text$;var i;if(s===null){{isSvgMode=o==="svg"?true:o==="foreignObject"?false:isSvgMode}{if(o==="slot");else{updateElement(e,t,isSvgMode)}}if(n!==null&&a!==null){updateChildren(r,n,t,a)}else if(a!==null){if(e.$text$!==null){r.textContent=""}addVnodes(r,null,t,a,0,a.length-1)}else if(n!==null){removeVnodes(n,0,n.length-1)}if(isSvgMode&&o==="svg"){isSvgMode=false}}else if(i=r["s-cr"]){i.parentNode.textContent=s}else if(e.$text$!==s){r.data=s}};var updateFallbackSlotVisibility=function(e){var t=e.childNodes;var r;var n;var a;var o;var s;var i;for(n=0,a=t.length;n<a;n++){r=t[n];if(r.nodeType===1){if(r["s-sr"]){s=r["s-sn"];r.hidden=false;for(o=0;o<a;o++){if(t[o]["s-hn"]!==r["s-hn"]){i=t[o].nodeType;if(s!==""){if(i===1&&s===t[o].getAttribute("slot")){r.hidden=true;break}}else{if(i===1||i===3&&t[o].textContent.trim()!==""){r.hidden=true;break}}}}}updateFallbackSlotVisibility(r)}}};var relocateNodes=[];var relocateSlotContent=function(e){var t;var r;var n;var a;var o;var s;var i=0;var l=e.childNodes;var c=l.length;for(;i<c;i++){t=l[i];if(t["s-sr"]&&(r=t["s-cr"])){n=r.parentNode.childNodes;a=t["s-sn"];for(s=n.length-1;s>=0;s--){r=n[s];if(!r["s-cn"]&&!r["s-nr"]&&r["s-hn"]!==t["s-hn"]){if(isNodeLocatedInSlot(r,a)){o=relocateNodes.find((function(e){return e.$nodeToRelocate$===r}));checkSlotFallbackVisibility=true;r["s-sn"]=r["s-sn"]||a;if(o){o.$slotRefNode$=t}else{relocateNodes.push({$slotRefNode$:t,$nodeToRelocate$:r})}if(r["s-sr"]){relocateNodes.map((function(e){if(isNodeLocatedInSlot(e.$nodeToRelocate$,r["s-sn"])){o=relocateNodes.find((function(e){return e.$nodeToRelocate$===r}));if(o&&!e.$slotRefNode$){e.$slotRefNode$=o.$slotRefNode$}}}))}}else if(!relocateNodes.some((function(e){return e.$nodeToRelocate$===r}))){relocateNodes.push({$nodeToRelocate$:r})}}}}if(t.nodeType===1){relocateSlotContent(t)}}};var isNodeLocatedInSlot=function(e,t){if(e.nodeType===1){if(e.getAttribute("slot")===null&&t===""){return true}if(e.getAttribute("slot")===t){return true}return false}if(e["s-sn"]===t){return true}return t===""};var callNodeRefs=function(e){{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null);e.$children$&&e.$children$.map(callNodeRefs)}};var renderVdom=function(e,t){var r=e.$hostElement$;var n=e.$cmpMeta$;var a=e.$vnode$||newVNode(null,null);var o=isHost(t)?t:h(null,null,t);hostTagName=r.tagName;if(n.$attrsToReflect$){o.$attrs$=o.$attrs$||{};n.$attrsToReflect$.map((function(e){var t=e[0],n=e[1];return o.$attrs$[n]=r[t]}))}o.$tag$=null;o.$flags$|=4;e.$vnode$=o;o.$elm$=a.$elm$=r.shadowRoot||r;{scopeId=r["s-sc"]}{contentRef=r["s-cr"];useNativeShadowDom=(n.$flags$&1)!==0;checkSlotFallbackVisibility=false}patch(a,o);{plt.$flags$|=1;if(checkSlotRelocate){relocateSlotContent(o.$elm$);var s=void 0;var i=void 0;var l=void 0;var c=void 0;var f=void 0;var u=void 0;var $=0;for(;$<relocateNodes.length;$++){s=relocateNodes[$];i=s.$nodeToRelocate$;if(!i["s-ol"]){l=doc.createTextNode("");l["s-nr"]=i;i.parentNode.insertBefore(i["s-ol"]=l,i)}}for($=0;$<relocateNodes.length;$++){s=relocateNodes[$];i=s.$nodeToRelocate$;if(s.$slotRefNode$){c=s.$slotRefNode$.parentNode;f=s.$slotRefNode$.nextSibling;l=i["s-ol"];while(l=l.previousSibling){u=l["s-nr"];if(u&&u["s-sn"]===i["s-sn"]&&c===u.parentNode){u=u.nextSibling;if(!u||!u["s-nr"]){f=u;break}}}if(!f&&c!==i.parentNode||i.nextSibling!==f){if(i!==f){if(!i["s-hn"]&&i["s-ol"]){i["s-hn"]=i["s-ol"].parentNode.nodeName}c.insertBefore(i,f)}}}else{if(i.nodeType===1){i.hidden=true}}}}if(checkSlotFallbackVisibility){updateFallbackSlotVisibility(o.$elm$)}plt.$flags$&=~1;relocateNodes.length=0}};var getElement=function(e){return getHostRef(e).$hostElement$};var createEvent=function(e,t,r){var n=getElement(e);return{emit:function(e){return emitEvent(n,t,{bubbles:!!(r&4),composed:!!(r&2),cancelable:!!(r&1),detail:e})}}};var emitEvent=function(e,t,r){var n=plt.ce(t,r);e.dispatchEvent(n);return n};var attachToAncestor=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var scheduleUpdate=function(e,t){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}attachToAncestor(e,e.$ancestorComponent$);var r=function(){return dispatchHooks(e,t)};return writeTask(r)};var dispatchHooks=function(e,t){var r=createTime("scheduleUpdate",e.$cmpMeta$.$tagName$);var n=e.$lazyInstance$;var a;if(t){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var t=e[0],r=e[1];return safeCall(n,t,r)}));e.$queuedListeners$=null}}{a=safeCall(n,"componentWillLoad")}}r();return then(a,(function(){return updateComponent(e,n,t)}))};var updateComponent=function(e,t,r){return __awaiter(void 0,void 0,void 0,(function(){var n,a,o,s,i,l;return __generator(this,(function(c){n=e.$hostElement$;a=createTime("update",e.$cmpMeta$.$tagName$);o=n["s-rc"];if(r){attachStyles(e)}s=createTime("render",e.$cmpMeta$.$tagName$);{{{renderVdom(e,callRender(e,t))}}}if(o){o.map((function(e){return e()}));n["s-rc"]=undefined}s();a();{i=n["s-p"];l=function(){return postUpdateComponent(e)};if(i.length===0){l()}else{Promise.all(i).then(l);e.$flags$|=4;i.length=0}}return[2]}))}))};var callRender=function(e,t){try{renderingRef=t;t=t.render&&t.render();{e.$flags$&=~16}{e.$flags$|=2}}catch(t){consoleError(t,e.$hostElement$)}renderingRef=null;return t};var getRenderingRef=function(){return renderingRef};var postUpdateComponent=function(e){var t=e.$cmpMeta$.$tagName$;var r=e.$hostElement$;var n=createTime("postUpdate",t);var a=e.$lazyInstance$;var o=e.$ancestorComponent$;{safeCall(a,"componentDidRender")}if(!(e.$flags$&64)){e.$flags$|=64;{addHydratedFlag(r)}{safeCall(a,"componentDidLoad")}n();{e.$onReadyResolve$(r);if(!o){appDidLoad()}}}else{{safeCall(a,"componentDidUpdate")}n()}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.$flags$&=~(4|512)}};var forceUpdate=function(e){{var t=getHostRef(e);var r=t.$hostElement$.isConnected;if(r&&(t.$flags$&(2|16))===2){scheduleUpdate(t,false)}return r}};var appDidLoad=function(e){{addHydratedFlag(doc.documentElement)}nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var safeCall=function(e,t,r){if(e&&e[t]){try{return e[t](r)}catch(e){consoleError(e)}}return undefined};var then=function(e,t){return e&&e.then?e.then(t):t()};var addHydratedFlag=function(e){return e.classList.add("hydrated")};var parsePropertyValue=function(e,t){if(e!=null&&!isComplexType(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var getValue=function(e,t){return getHostRef(e).$instanceValues$.get(t)};var setValue=function(e,t,r,n){var a=getHostRef(e);var o=a.$hostElement$;var s=a.$instanceValues$.get(t);var i=a.$flags$;var l=a.$lazyInstance$;r=parsePropertyValue(r,n.$members$[t][0]);if((!(i&8)||s===undefined)&&r!==s){a.$instanceValues$.set(t,r);if(l){if(n.$watchers$&&i&128){var c=n.$watchers$[t];if(c){c.map((function(e){try{l[e](r,s,t)}catch(e){consoleError(e,o)}}))}}if((i&(2|16))===2){scheduleUpdate(a,false)}}}};var proxyComponent=function(e,t,r){if(t.$members$){if(e.watchers){t.$watchers$=e.watchers}var n=Object.entries(t.$members$);var a=e.prototype;n.map((function(e){var n=e[0],o=e[1][0];if(o&31||r&2&&o&32){Object.defineProperty(a,n,{get:function(){return getValue(this,n)},set:function(e){setValue(this,n,e,t)},configurable:true,enumerable:true})}}));if(r&1){var o=new Map;a.attributeChangedCallback=function(e,t,r){var n=this;plt.jmp((function(){var t=o.get(e);n[t]=r===null&&typeof n[t]==="boolean"?false:r}))};e.observedAttributes=n.filter((function(e){var t=e[0],r=e[1];return r[0]&15})).map((function(e){var r=e[0],n=e[1];var a=n[1]||r;o.set(a,r);if(n[0]&512){t.$attrsToReflect$.push([r,a])}return a}))}}return e};var initializeComponent=function(e,t,r,n,a){return __awaiter(void 0,void 0,void 0,(function(){var e,n,o,s,i,l,c;return __generator(this,(function(f){switch(f.label){case 0:if(!((t.$flags$&32)===0))return[3,3];t.$flags$|=32;a=loadModule(r);if(!a.then)return[3,2];e=uniqueTime();return[4,a];case 1:a=f.sent();e();f.label=2;case 2:if(!a.isProxied){{r.$watchers$=a.watchers}proxyComponent(a,r,2);a.isProxied=true}n=createTime("createInstance",r.$tagName$);{t.$flags$|=8}try{new a(t)}catch(e){consoleError(e)}{t.$flags$&=~8}{t.$flags$|=128}n();fireConnectedCallback(t.$lazyInstance$);if(a.style){o=a.style;s=getScopeId(r);if(!styles.has(s)){i=createTime("registerStyles",r.$tagName$);registerStyle(s,o,!!(r.$flags$&1));i()}}f.label=3;case 3:l=t.$ancestorComponent$;c=function(){return scheduleUpdate(t,true)};if(l&&l["s-rc"]){l["s-rc"].push(c)}else{c()}return[2]}}))}))};var fireConnectedCallback=function(e){{safeCall(e,"connectedCallback")}};var connectedCallback=function(e){if((plt.$flags$&1)===0){var t=getHostRef(e);var r=t.$cmpMeta$;var n=createTime("connectedCallback",r.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;{if(r.$flags$&(4|8)){setContentReference(e)}}{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){attachToAncestor(t,t.$ancestorComponent$=a);break}}}if(r.$members$){Object.entries(r.$members$).map((function(t){var r=t[0],n=t[1][0];if(n&31&&e.hasOwnProperty(r)){var a=e[r];delete e[r];e[r]=a}}))}{initializeComponent(e,t,r)}}else{addHostEventListeners(e,t,r.$listeners$);fireConnectedCallback(t.$lazyInstance$)}n()}};var setContentReference=function(e){var t=e["s-cr"]=doc.createComment("");t["s-cn"]=true;e.insertBefore(t,e.firstChild)};var disconnectedCallback=function(e){if((plt.$flags$&1)===0){var t=getHostRef(e);var r=t.$lazyInstance$;{if(t.$rmListeners$){t.$rmListeners$.map((function(e){return e()}));t.$rmListeners$=undefined}}{safeCall(r,"disconnectedCallback")}{safeCall(r,"componentDidUnload")}}};var bootstrapLazy=function(e,t){if(t===void 0){t={}}var r=createTime();var n=[];var a=t.exclude||[];var o=win.customElements;var s=doc.head;var i=s.querySelector("meta[charset]");var l=doc.createElement("style");var c=[];var f;var u=true;Object.assign(plt,t);plt.$resourcesUrl$=new URL(t.resourcesUrl||"./",doc.baseURI).href;e.map((function(e){return e[1].map((function(t){var r={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{r.$members$=t[2]}{r.$listeners$=t[3]}{r.$attrsToReflect$=[]}{r.$watchers$={}}var s=r.$tagName$;var i=function(e){__extends(t,e);function t(t){var n=e.call(this,t)||this;t=n;registerHost(t,r);if(r.$flags$&1){{{t.attachShadow({mode:"open"})}}}return n}t.prototype.connectedCallback=function(){var e=this;if(f){clearTimeout(f);f=null}if(u){c.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}))};t.prototype.componentOnReady=function(){return getHostRef(this).$onReadyPromise$};return t}(HTMLElement);r.$lazyBundleId$=e[0];if(!a.includes(s)&&!o.get(s)){n.push(s);o.define(s,proxyComponent(i,r,1))}}))}));{l.innerHTML=n+HYDRATED_CSS;l.setAttribute("data-styles","");s.insertBefore(l,i?i.nextSibling:s.firstChild)}u=false;if(c.length){c.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return f=setTimeout(appDidLoad,30)}))}}r()};var getAssetPath=function(e){var t=new URL(e,plt.$resourcesUrl$);return t.origin!==win.location.origin?t.href:t.pathname};var getContext=function(e,t){if(t in Context){return Context[t]}else if(t==="window"){return win}else if(t==="document"){return doc}else if(t==="isServer"||t==="isPrerender"){return false}else if(t==="isClient"){return true}else if(t==="resourcesUrl"||t==="publicPath"){return getAssetPath(".")}else if(t==="queue"){return{write:writeTask,read:readTask,tick:{then:function(e){return nextTick(e)}}}}return undefined};var Fragment=function(e,t){return t};var hostRefs=new WeakMap;var getHostRef=function(e){return hostRefs.get(e)};var registerInstance=function(e,t){return hostRefs.set(t.$lazyInstance$=e,t)};var registerHost=function(e,t){var r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{r.$onReadyPromise$=new Promise((function(e){return r.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}addHostEventListeners(e,r,t.$listeners$);return hostRefs.set(e,r)};var isMemberInElement=function(e,t){return t in e};var consoleError=function(e,t){return(customError||console.error)(e,t)};var setErrorHandler=function(e){return customError=e};var cmpModules=new Map;var loadModule=function(e,t,r){var n=e.$tagName$.replace(/-/g,"_");var a=e.$lazyBundleId$;var o=cmpModules.get(a);if(o){return o[n]}return import("./"+a+".entry.js"+"").then((function(e){{cmpModules.set(a,e)}return e[n]}),consoleError)};var styles=new Map;var queueDomReads=[];var queueDomWrites=[];var queueTask=function(e,t){return function(r){e.push(r);if(!queuePending){queuePending=true;if(t&&plt.$flags$&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){consoleError(e)}}e.length=0};var flush=function(){consume(queueDomReads);{consume(queueDomWrites);if(queuePending=queueDomReads.length>0){plt.raf(flush)}}};var nextTick=function(e){return promiseResolve().then(e)};var readTask=queueTask(queueDomReads,false);var writeTask=queueTask(queueDomWrites,true);export{Fragment as F,Host as H,getAssetPath as a,bootstrapLazy as b,createEvent as c,getElement as d,getContext as e,forceUpdate as f,getRenderingRef as g,h,promiseResolve as p,registerInstance as r,setErrorHandler as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as promiseResolve,b as bootstrapLazy}from"./index-
|
|
1
|
+
import{p as promiseResolve,b as bootstrapLazy}from"./index-e1e930c8.js";import"./datorama-akita-127aea91.js";import{g as globalScripts}from"./app-globals-c1f89805.js";var patchEsm=function(){return promiseResolve()};var defineCustomElements=function(s,e){if(typeof window==="undefined")return Promise.resolve();return patchEsm().then((function(){globalScripts();return bootstrapLazy([["context-consumer",[[0,"context-consumer",{context:[16],renderer:[16],subscribe:[16],unsubscribe:[32]}]]],["stencil-async-content",[[0,"stencil-async-content",{documentLocation:[1,"document-location"],content:[32]}]]],["stencil-route-title",[[0,"stencil-route-title",{titleSuffix:[1,"title-suffix"],pageTitle:[1,"page-title"]}]]],["stencil-router-prompt",[[0,"stencil-router-prompt",{when:[4],message:[1],history:[16],unblock:[32]}]]],["stencil-router-redirect",[[0,"stencil-router-redirect",{history:[16],root:[1],url:[1]}]]],["sss-button_28",[[0,"sss-my-own-fund",{history:[16],formState:[32],isNotAllInformationProvidedMessageVisible:[32],isSubmitDisabled:[32]}],[0,"sss-self-managed-fund",{history:[16],formState:[32],showSmsfNotSupported:[32],isSubmitDisabled:[32]}],[0,"sss-super-choice-page",{history:[16],promotedFunds:[32]}],[1,"super-selection-app-host",{sessionState:[32],jwt:[32],appConfiguration:[32]}],[0,"sss-default-fund",{history:[16],defaultFundProductName:[32]}],[0,"sss-standard-choice-form",{history:[16],standardChoiceFormSignature:[32],formState:[32],isSubmitDisabled:[32]}],[0,"sss-consent-page",{history:[16]}],[0,"sss-existing-choice-page",{history:[16],existingFund:[32]}],[0,"sss-success"],[0,"sss-promoted-fund-join-page",{history:[16]}],[0,"sss-slate-join-page",{history:[16]}],[1,"super-selection-app",{accessToken:[1,"access-token"],backendUrl:[1,"backend-url"],appBaseUrl:[1,"app-base-url"],history:[16],location:[16],isSelfHosted:[4,"is-self-hosted"],isAppInitialised:[32]}],[0,"sss-my-own-fund-inputs",{myOwnFundForm:[16],showValidationErrors:[4,"show-validation-errors"],selectedOption:[32]}],[0,"sss-smsf-not-supported-dialog"],[0,"sss-super-choice-item-bottom",{disclaimer:[16],abnInfo:[1,"abn-info"],abn:[1]}],[0,"sss-loading-page"],[0,"sss-self-managed-fund-inputs",{fundForm:[16],showValidationErrors:[4,"show-validation-errors"],currentBank:[32],addressErrorMessage:[32]}],[0,"sss-super-choice-item-top",{name:[1],logo:[1],features:[1],featureSubText:[1,"feature-sub-text"]}],[0,"sss-dropdown-async",{placeholder:[1],searchFunction:[16],value:[16],required:[4],requiredValidationMessage:[1,"required-validation-message"],disabled:[4],minSearchStringLength:[2,"min-search-string-length"],showValidationErrors:[4,"show-validation-errors"],searchState:[32],inputValue:[32],isDropdownVisible:[32],filteredOptions:[32],highlightedOptionIndex:[32],selectedOption:[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-footer-section"],[4,"stencil-route-switch",{group:[513],scrollTopOffset:[2,"scroll-top-offset"],location:[16],routeViewsUpdated:[16]}],[4,"stencil-router",{root:[1],historyType:[1,"history-type"],titleSuffix:[1,"title-suffix"],scrollTopOffset:[2,"scroll-top-offset"],location:[32],history:[32]}],[4,"sss-custom-fund",{history:[16],currentCustomFund:[32],fundOptionsList:[32],showFundOptionsSelection:[32]}],[0,"sss-header-section",{currentPage:[1,"current-page"]}],[4,"stencil-route-link",{url:[1],urlMatch:[1,"url-match"],activeClass:[1,"active-class"],exact:[4],strict:[4],custom:[1],anchorClass:[1,"anchor-class"],anchorRole:[1,"anchor-role"],anchorTitle:[1,"anchor-title"],anchorTabIndex:[1,"anchor-tab-index"],anchorId:[1,"anchor-id"],history:[16],location:[16],root:[1],ariaHaspopup:[1,"aria-haspopup"],ariaPosinset:[1,"aria-posinset"],ariaSetsize:[2,"aria-setsize"],ariaLabel:[1,"aria-label"],match:[32]}],[4,"sss-button",{fillWidth:[4,"fill-width"],fillWidthOnMobile:[4,"fill-width-on-mobile"],disabled:[4],variant:[1],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)}))};export{defineCustomElements};
|