From 6eb72a661ed2b20710003f75295ba879a982fe6f Mon Sep 17 00:00:00 2001 From: Basti Hoffmann Date: Fri, 10 Apr 2020 23:54:29 +0200 Subject: [PATCH 1/7] chore: updated docs build command --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index bf37fca..b23ef1a 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "build:lib": "ng build ngx-localstorage --prod", "copy": "npm run schematics:copy && copyfiles ./LICENSE ./README.md ./dist/libs/ngx-localstorage", "schematics:copy": "copyfiles -u 2 ./schematics/src/**/*.js ./schematics/src/**/*.json ./dist/libs/ngx-localstorage/schematics", - "build:docs": "ng build --prod --output-path docs --base-href ngx-localstorage", + "build:docs": "ng build --prod --output-path docs --base-href /ngx-localstorage/", "schematics:watch": "cd ./schematics/ && npm link && cd .. && npm link schematics && npm run build --prefix ./schematics -- --watch", "nx": "nx", "postinstall": "ngcc --properties es2015 browser module main --first-only --create-ivy-entry-points" From 8a2739218db6c0218036d6290a2924c7a1c76e24 Mon Sep 17 00:00:00 2001 From: Basti Hoffmann Date: Sat, 11 Apr 2020 00:03:24 +0200 Subject: [PATCH 2/7] chore: add @balticcode/ngx-example-viewer --- .../src/app/app.module.ts | 5 ++++- package-lock.json | 19 ++++++++++++++++--- package.json | 4 +++- 3 files changed, 23 insertions(+), 5 deletions(-) diff --git a/apps/ngx-localstorage-demo/src/app/app.module.ts b/apps/ngx-localstorage-demo/src/app/app.module.ts index 60c522c..7b274bb 100644 --- a/apps/ngx-localstorage-demo/src/app/app.module.ts +++ b/apps/ngx-localstorage-demo/src/app/app.module.ts @@ -5,6 +5,7 @@ import { MatToolbarModule } from '@angular/material/toolbar'; import {AppComponent} from './app.component'; import {DemoModule} from './modules/demo/demo.module'; +import { ExampleViewerModule } from '@balticcode/ngx-example-viewer'; @NgModule({ declarations: [ @@ -15,7 +16,9 @@ import {DemoModule} from './modules/demo/demo.module'; MatToolbarModule, - DemoModule + DemoModule, + + ExampleViewerModule ], providers: [], bootstrap: [AppComponent] diff --git a/package-lock.json b/package-lock.json index 8169780..dc62bcb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1958,6 +1958,11 @@ } } }, + "@balticcode/ngx-example-viewer": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@balticcode/ngx-example-viewer/-/ngx-example-viewer-1.0.0.tgz", + "integrity": "sha512-ZPlEBt8KNWysm1XfR6bhykx31S3ARwBEdrjJ6/naaaPUxc7YhTzSeV9ZI2kwmzUaKq/MPvNO1oRWgMc2HhJWjA==" + }, "@cypress/webpack-preprocessor": { "version": "4.1.3", "resolved": "https://registry.npmjs.org/@cypress/webpack-preprocessor/-/webpack-preprocessor-4.1.3.tgz", @@ -3603,7 +3608,8 @@ }, "kind-of": { "version": "6.0.2", - "resolved": "" + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==" } } }, @@ -6755,7 +6761,8 @@ }, "kind-of": { "version": "6.0.2", - "resolved": "" + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==" } } }, @@ -8170,6 +8177,11 @@ "integrity": "sha512-l9sfDFsuqtOqKDsQdqrMRk0U85RZc0RtOR9yPI7mRVOa4FsR/BVnZ0shmQRM96Ji99kYZP/7hn1cedc1+ApsTQ==", "dev": true }, + "highlight.js": { + "version": "9.18.1", + "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-9.18.1.tgz", + "integrity": "sha512-OrVKYz70LHsnCgmbXctv/bfuvntIKDz177h0Co37DQ5jamGZLVmoCVMtjMtNZY3X9DrCcKfklHPNeA0uPZhSJg==" + }, "hmac-drbg": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", @@ -13892,7 +13904,8 @@ }, "kind-of": { "version": "6.0.2", - "resolved": "" + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==" } } }, diff --git a/package.json b/package.json index b23ef1a..50d286d 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,9 @@ "core-js": "^2.5.4", "rxjs": "~6.5.4", "tslib": "^1.10.0", - "zone.js": "~0.10.2" + "zone.js": "~0.10.2", + "@balticcode/ngx-example-viewer": "^1.0.0-0", + "highlight.js": "^9.18.1" }, "devDependencies": { "@angular-devkit/build-angular": "~0.900.6", From 89d2faac09da48d563875c84a937aba9a800003a Mon Sep 17 00:00:00 2001 From: Basti Hoffmann Date: Sun, 4 Oct 2020 22:21:46 +0200 Subject: [PATCH 3/7] Create pull-request.yml --- .github/workflows/pull-request.yml | 33 ++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/pull-request.yml diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml new file mode 100644 index 0000000..0b13b41 --- /dev/null +++ b/.github/workflows/pull-request.yml @@ -0,0 +1,33 @@ +name: PR-builder + +on: + pull_request: + branches: [ develop ] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [12.x] + + steps: + - uses: actions/checkout@v2 + + - name: Cache node modules + uses: actions/cache@v1 + with: + path: ~/.npm + key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} + restore-keys: | + ${{ runner.os }}-node- + - name: Node ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + + - name: Install dependencies + run: | + npm ci + npm run lint ngx-localstorage + npm run test ngx-localstorage From bc0b5cd9457343860731e83a05879622a20934e0 Mon Sep 17 00:00:00 2001 From: Basti Hoffmann Date: Sun, 4 Oct 2020 22:22:39 +0200 Subject: [PATCH 4/7] chore: prepare repo for pr builds --- libs/ngx-localstorage/karma.conf.js | 8 +- package-lock.json | 326 +++++++++++++++++++++++++++- package.json | 5 +- 3 files changed, 332 insertions(+), 7 deletions(-) diff --git a/libs/ngx-localstorage/karma.conf.js b/libs/ngx-localstorage/karma.conf.js index 4c5f8d0..593b6b9 100644 --- a/libs/ngx-localstorage/karma.conf.js +++ b/libs/ngx-localstorage/karma.conf.js @@ -26,6 +26,12 @@ module.exports = function (config) { logLevel: config.LOG_INFO, autoWatch: true, browsers: ['Chrome'], - singleRun: false + singleRun: false, + customLaunchers: { + ChromeHeadlessCustom: { + base: 'ChromeHeadless', + flags: ['--no-sandbox', '--disable-gpu'] + } + } }); }; diff --git a/package-lock.json b/package-lock.json index e9ec77d..f5cbfa0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7993,6 +7993,16 @@ } } }, + "@types/yauzl": { + "version": "2.9.1", + "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.9.1.tgz", + "integrity": "sha512-A1b8SU4D10uoPjwb0lnHmmu8wZhR9d+9o2PKBQT2jU5YPTKsxac6M2qGAdY7VcL+dHHhARVUDmeg0rOrcd9EjA==", + "dev": true, + "optional": true, + "requires": { + "@types/node": "*" + } + }, "@webassemblyjs/ast": { "version": "1.8.5", "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.8.5.tgz", @@ -9019,6 +9029,46 @@ "integrity": "sha1-RqoXUftqL5PuXmibsQh9SxTGwgU=", "dev": true }, + "bl": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/bl/-/bl-4.0.3.tgz", + "integrity": "sha512-fs4G6/Hu4/EE+F75J8DuN/0IpQqNjAdC7aEQv7Qt8MHGUH7Ckv2MwTEEeN9QehD0pfIDkMI1bkHYkKy7xHyKIg==", + "dev": true, + "requires": { + "buffer": "^5.5.0", + "inherits": "^2.0.4", + "readable-stream": "^3.4.0" + }, + "dependencies": { + "buffer": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.6.0.tgz", + "integrity": "sha512-/gDYp/UtU0eA1ys8bOs9J6a+E/KWIY+DZ+Q2WESNUA0jFRsJOc0SNUO6xJ5SGA1xueg3NL65W6s+NY5l9cunuw==", + "dev": true, + "requires": { + "base64-js": "^1.0.2", + "ieee754": "^1.1.4" + } + }, + "inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true + }, + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + } + } + }, "blob": { "version": "0.0.5", "resolved": "https://registry.npmjs.org/blob/-/blob-0.0.5.tgz", @@ -9304,6 +9354,12 @@ "integrity": "sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg==", "dev": true }, + "buffer-crc32": { + "version": "0.2.13", + "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", + "integrity": "sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=", + "dev": true + }, "buffer-fill": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/buffer-fill/-/buffer-fill-1.0.0.tgz", @@ -11383,6 +11439,12 @@ "integrity": "sha512-ZIzRpLJrOj7jjP2miAtgqIfmzbxa4ZOr5jJc601zklsfEx9oTzmmj2nVpIPRpNlRTIh8lc1kyViIY7BWSGNmKw==", "dev": true }, + "devtools-protocol": { + "version": "0.0.799653", + "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.799653.tgz", + "integrity": "sha512-t1CcaZbvm8pOlikqrsIM9GOa7Ipp07+4h/q9u0JXBWjPCjHdBl9KkddX87Vv9vBHoBGtwV79sYQNGnQM6iS5gg==", + "dev": true + }, "dezalgo": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.3.tgz", @@ -12191,6 +12253,54 @@ } } }, + "extract-zip": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz", + "integrity": "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==", + "dev": true, + "requires": { + "@types/yauzl": "^2.9.1", + "debug": "^4.1.1", + "get-stream": "^5.1.0", + "yauzl": "^2.10.0" + }, + "dependencies": { + "debug": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.2.0.tgz", + "integrity": "sha512-IX2ncY78vDTjZMFUdmsvIRFY2Cf4FnD0wRs+nQwJU8Lu99/tPFdb0VybiiMTPe3I6rQmwsqQqRBvxU+bZ/I8sg==", + "dev": true, + "requires": { + "ms": "2.1.2" + } + }, + "get-stream": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", + "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", + "dev": true, + "requires": { + "pump": "^3.0.0" + } + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, + "pump": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "dev": true, + "requires": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + } + } + }, "extsprintf": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", @@ -12315,6 +12425,15 @@ "websocket-driver": ">=0.5.1" } }, + "fd-slicer": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", + "integrity": "sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4=", + "dev": true, + "requires": { + "pend": "~1.2.0" + } + }, "figgy-pudding": { "version": "3.5.1", "resolved": "https://registry.npmjs.org/figgy-pudding/-/figgy-pudding-3.5.1.tgz", @@ -12757,6 +12876,12 @@ "null-check": "^1.0.0" } }, + "fs-constants": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", + "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==", + "dev": true + }, "fs-extra": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-4.0.2.tgz", @@ -13669,11 +13794,6 @@ "integrity": "sha512-l9sfDFsuqtOqKDsQdqrMRk0U85RZc0RtOR9yPI7mRVOa4FsR/BVnZ0shmQRM96Ji99kYZP/7hn1cedc1+ApsTQ==", "dev": true }, - "highlight.js": { - "version": "9.18.1", - "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-9.18.1.tgz", - "integrity": "sha512-OrVKYz70LHsnCgmbXctv/bfuvntIKDz177h0Co37DQ5jamGZLVmoCVMtjMtNZY3X9DrCcKfklHPNeA0uPZhSJg==" - }, "hmac-drbg": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", @@ -15840,6 +15960,12 @@ "minimist": "0.0.8" } }, + "mkdirp-classic": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz", + "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==", + "dev": true + }, "move-concurrently": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/move-concurrently/-/move-concurrently-1.0.1.tgz", @@ -17324,6 +17450,12 @@ "sha.js": "^2.4.8" } }, + "pend": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", + "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=", + "dev": true + }, "performance-now": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", @@ -18134,6 +18266,12 @@ "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz", "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==" }, + "progress": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", + "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", + "dev": true + }, "promise-inflight": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz", @@ -18303,6 +18441,12 @@ "ipaddr.js": "1.9.1" } }, + "proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", + "dev": true + }, "prr": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz", @@ -18359,6 +18503,96 @@ "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" }, + "puppeteer": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-5.3.1.tgz", + "integrity": "sha512-YTM1RaBeYrj6n7IlRXRYLqJHF+GM7tasbvrNFx6w1S16G76NrPq7oYFKLDO+BQsXNtS8kW2GxWCXjIMPvfDyaQ==", + "dev": true, + "requires": { + "debug": "^4.1.0", + "devtools-protocol": "0.0.799653", + "extract-zip": "^2.0.0", + "https-proxy-agent": "^4.0.0", + "pkg-dir": "^4.2.0", + "progress": "^2.0.1", + "proxy-from-env": "^1.0.0", + "rimraf": "^3.0.2", + "tar-fs": "^2.0.0", + "unbzip2-stream": "^1.3.3", + "ws": "^7.2.3" + }, + "dependencies": { + "agent-base": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-5.1.1.tgz", + "integrity": "sha512-TMeqbNl2fMW0nMjTEPOwe3J/PRFP4vqeoNuQMG0HlMrtm5QxKqdvAkZ1pRBQ/ulIyDD5Yq0nJ7YbdD8ey0TO3g==", + "dev": true + }, + "debug": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.2.0.tgz", + "integrity": "sha512-IX2ncY78vDTjZMFUdmsvIRFY2Cf4FnD0wRs+nQwJU8Lu99/tPFdb0VybiiMTPe3I6rQmwsqQqRBvxU+bZ/I8sg==", + "dev": true, + "requires": { + "ms": "2.1.2" + } + }, + "glob": { + "version": "7.1.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", + "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "https-proxy-agent": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-4.0.0.tgz", + "integrity": "sha512-zoDhWrkR3of1l9QAL8/scJZyLu8j/gBkcwcaQOZh7Gyh/+uJQzGVETdgT30akuwkpL8HTRfssqI3BZuV18teDg==", + "dev": true, + "requires": { + "agent-base": "5", + "debug": "4" + } + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, + "pkg-dir": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", + "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", + "dev": true, + "requires": { + "find-up": "^4.0.0" + } + }, + "rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, + "requires": { + "glob": "^7.1.3" + } + }, + "ws": { + "version": "7.3.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.3.1.tgz", + "integrity": "sha512-D3RuNkynyHmEJIpD2qrgVkc9DQ23OrN/moAwZX4L8DfvszsJxpjQuUq3LMx6HoYji9fbIOBY18XWBsAux1ZZUA==", + "dev": true + } + } + }, "q": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/q/-/q-1.4.1.tgz", @@ -20909,6 +21143,56 @@ } } }, + "tar-fs": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.0.tgz", + "integrity": "sha512-9uW5iDvrIMCVpvasdFHW0wJPez0K4JnMZtsuIeDI7HyMGJNxmDZDOCQROr7lXyS+iL/QMpj07qcjGYTSdRFXUg==", + "dev": true, + "requires": { + "chownr": "^1.1.1", + "mkdirp-classic": "^0.5.2", + "pump": "^3.0.0", + "tar-stream": "^2.0.0" + }, + "dependencies": { + "pump": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "dev": true, + "requires": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + } + } + }, + "tar-stream": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.1.4.tgz", + "integrity": "sha512-o3pS2zlG4gxr67GmFYBLlq+dM8gyRGUOvsrHclSkvtVtQbjV0s/+ZE8OpICbaj8clrX3tjeHngYGP7rweaBnuw==", + "dev": true, + "requires": { + "bl": "^4.0.3", + "end-of-stream": "^1.4.1", + "fs-constants": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^3.1.1" + }, + "dependencies": { + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + } + } + }, "terser": { "version": "5.3.0", "resolved": "https://registry.npmjs.org/terser/-/terser-5.3.0.tgz", @@ -21581,6 +21865,28 @@ "integrity": "sha512-UIEXBNeYmKptWH6z8ZnqTeS8fV74zG0/eRU9VGkpzz+LIJNs8W/zM/L+7ctCkRrgbNnnR0xxw4bKOr0cW0N0Og==", "dev": true }, + "unbzip2-stream": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/unbzip2-stream/-/unbzip2-stream-1.4.3.tgz", + "integrity": "sha512-mlExGW4w71ebDJviH16lQLtZS32VKqsSfk80GCfUlwT/4/hNRFsoscrF/c++9xinkMzECL1uL9DDwXqFWkruPg==", + "dev": true, + "requires": { + "buffer": "^5.2.1", + "through": "^2.3.8" + }, + "dependencies": { + "buffer": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.6.0.tgz", + "integrity": "sha512-/gDYp/UtU0eA1ys8bOs9J6a+E/KWIY+DZ+Q2WESNUA0jFRsJOc0SNUO6xJ5SGA1xueg3NL65W6s+NY5l9cunuw==", + "dev": true, + "requires": { + "base64-js": "^1.0.2", + "ieee754": "^1.1.4" + } + } + } + }, "unicode-canonical-property-names-ecmascript": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.4.tgz", @@ -23036,6 +23342,16 @@ "decamelize": "^1.2.0" } }, + "yauzl": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", + "integrity": "sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk=", + "dev": true, + "requires": { + "buffer-crc32": "~0.2.3", + "fd-slicer": "~1.1.0" + } + }, "yeast": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/yeast/-/yeast-0.1.2.tgz", diff --git a/package.json b/package.json index 6ff3cd1..aaf2657 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,9 @@ "build:docs": "ng build --prod --output-path docs --base-href /ngx-localstorage/", "schematics:watch": "cd ./schematics/ && npm link && cd .. && npm link schematics && npm run build --prefix ./schematics -- --watch", "nx": "nx", - "postinstall": "ngcc --properties es2015 browser module main --first-only --create-ivy-entry-points && node ./decorate-angular-cli.js" + "postinstall": "ngcc --properties es2015 browser module main --first-only --create-ivy-entry-points && node ./decorate-angular-cli.js", + "lint": "ng lint", + "test": "ng test --watch=false --browsers=ChromeHeadlessCustom" }, "dependencies": { "@angular/animations": "^10.1.4", @@ -56,6 +58,7 @@ "ng-packagr": "^10.1.2", "prettier": "^2.1.2", "protractor": "^5.4.1", + "puppeteer": "^5.3.1", "ts-node": "~7.0.0", "tslint": "6.0.0", "typescript": "~4.0.3", From 850799829bc9849d59053130f974ef88f23634ea Mon Sep 17 00:00:00 2001 From: Basti Hoffmann Date: Sun, 4 Oct 2020 22:33:47 +0200 Subject: [PATCH 5/7] Update README.md to add build badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a6a4121..f8fe6db 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ [![npm version](https://img.shields.io/npm/v/ngx-localstorage.svg)](https://www.npmjs.com/package/ngx-localstorage) -[![Join the chat at https://gitter.im/bohoffi/ngx-localstorage](https://badges.gitter.im//bohoffi/ngx-localstorage.svg)](https://gitter.im//bohoffi/ngx-localstorage?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) +![PR-builder](https://github.com/bohoffi/ngx-localstorage/workflows/PR-builder/badge.svg) # ngx-localstorage An Angular wrapper for local storage access. From a7215f9cc67ce7cf02471e218e34522dc47b4717 Mon Sep 17 00:00:00 2001 From: Basti Hoffmann Date: Tue, 6 Oct 2020 20:55:52 +0200 Subject: [PATCH 6/7] bump v3.2.0 --- CHANGELOG.md | 8 ++ .../src/app/app.module.ts | 5 +- docs/3rdpartylicenses.txt | 92 ++++++++----------- docs/404.html | 15 --- docs/index.html | 6 +- docs/main-es2015.60be7826755685e7ee03.js | 1 + docs/main-es2015.6147e374df454ce563b0.js | 1 - docs/main-es5.60be7826755685e7ee03.js | 1 + docs/main-es5.6147e374df454ce563b0.js | 1 - docs/polyfills-es2015.a10e9b53553fb7fe0c7c.js | 1 - docs/polyfills-es2015.add54c2931c744a8e8b7.js | 1 + docs/polyfills-es5.c2f2fb955823551deaed.js | 1 - docs/polyfills-es5.e8343a8b1031a8d0ddf8.js | 1 + ...=> runtime-es2015.66c79b9d36e7169e27b0.js} | 0 ...js => runtime-es5.66c79b9d36e7169e27b0.js} | 0 docs/styles.7169075baf48e367f8c8.css | 5 + docs/styles.8ad2007fdac8041ee582.css | 5 - libs/ngx-localstorage/package.json | 2 +- package.json | 2 +- schematics/package.json | 2 +- 20 files changed, 60 insertions(+), 90 deletions(-) delete mode 100644 docs/404.html create mode 100644 docs/main-es2015.60be7826755685e7ee03.js delete mode 100644 docs/main-es2015.6147e374df454ce563b0.js create mode 100644 docs/main-es5.60be7826755685e7ee03.js delete mode 100644 docs/main-es5.6147e374df454ce563b0.js delete mode 100644 docs/polyfills-es2015.a10e9b53553fb7fe0c7c.js create mode 100644 docs/polyfills-es2015.add54c2931c744a8e8b7.js delete mode 100644 docs/polyfills-es5.c2f2fb955823551deaed.js create mode 100644 docs/polyfills-es5.e8343a8b1031a8d0ddf8.js rename docs/{runtime-es2015.13ea55c0fc1a7ebecd69.js => runtime-es2015.66c79b9d36e7169e27b0.js} (100%) rename docs/{runtime-es5.13ea55c0fc1a7ebecd69.js => runtime-es5.66c79b9d36e7169e27b0.js} (100%) create mode 100644 docs/styles.7169075baf48e367f8c8.css delete mode 100644 docs/styles.8ad2007fdac8041ee582.css diff --git a/CHANGELOG.md b/CHANGELOG.md index 47c9459..322c0d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ + +# [3.2.0](https://github.com/bohoffi/ngx-localstorage/compare/3.1.0...3.2.0) (2020-10-06) + +### Features + +* **Framework** + * Updates compatibility to Angular v9.x + # [3.1.0](https://github.com/bohoffi/ngx-localstorage/compare/3.0.0...3.1.0) (2020-03-15) diff --git a/apps/ngx-localstorage-demo/src/app/app.module.ts b/apps/ngx-localstorage-demo/src/app/app.module.ts index 7b274bb..60c522c 100644 --- a/apps/ngx-localstorage-demo/src/app/app.module.ts +++ b/apps/ngx-localstorage-demo/src/app/app.module.ts @@ -5,7 +5,6 @@ import { MatToolbarModule } from '@angular/material/toolbar'; import {AppComponent} from './app.component'; import {DemoModule} from './modules/demo/demo.module'; -import { ExampleViewerModule } from '@balticcode/ngx-example-viewer'; @NgModule({ declarations: [ @@ -16,9 +15,7 @@ import { ExampleViewerModule } from '@balticcode/ngx-example-viewer'; MatToolbarModule, - DemoModule, - - ExampleViewerModule + DemoModule ], providers: [], bootstrap: [AppComponent] diff --git a/docs/3rdpartylicenses.txt b/docs/3rdpartylicenses.txt index 025f7a8..a1241ad 100644 --- a/docs/3rdpartylicenses.txt +++ b/docs/3rdpartylicenses.txt @@ -108,6 +108,30 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +css-loader +MIT +Copyright JS Foundation and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + ngx-localstorage Apache-2.0 @@ -547,69 +571,25 @@ Apache-2.0 tslib -Apache-2.0 -Apache License - -Version 2.0, January 2004 - -http://www.apache.org/licenses/ - -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - -1. Definitions. - -"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. - -"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. - -"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. - -"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. - -"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. - -"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. - -"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). - -"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. - -"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." - -"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. - -2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. - -3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. - -4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: - -You must give any other recipients of the Work or Derivative Works a copy of this License; and - -You must cause any modified files to carry prominent notices stating that You changed the files; and - -You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and - -If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. - -5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. - -6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. - -7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. - -8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. - -9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. +0BSD +Copyright (c) Microsoft Corporation. -END OF TERMS AND CONDITIONS +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. zone.js MIT The MIT License -Copyright (c) 2010-2019 Google LLC. http://angular.io/license +Copyright (c) 2010-2020 Google LLC. http://angular.io/license Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/docs/404.html b/docs/404.html deleted file mode 100644 index 2836b26..0000000 --- a/docs/404.html +++ /dev/null @@ -1,15 +0,0 @@ - - - - - NgxLocalstorageDemo - - - - - - - - - - diff --git a/docs/index.html b/docs/index.html index 2836b26..7bd5c1d 100644 --- a/docs/index.html +++ b/docs/index.html @@ -3,13 +3,13 @@ NgxLocalstorageDemo - + - + - + diff --git a/docs/main-es2015.60be7826755685e7ee03.js b/docs/main-es2015.60be7826755685e7ee03.js new file mode 100644 index 0000000..5e7b91b --- /dev/null +++ b/docs/main-es2015.60be7826755685e7ee03.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(t,e,n){t.exports=n("zUnb")},zUnb:function(t,e,n){"use strict";function r(t){return"function"==typeof t}n.r(e);let s=!1;const o={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else s&&console.log("RxJS: Back to a better error behavior. Thank you. <3");s=t},get useDeprecatedSynchronousErrorHandling(){return s}};function i(t){setTimeout(()=>{throw t},0)}const l={closed:!0,next(t){},error(t){if(o.useDeprecatedSynchronousErrorHandling)throw t;i(t)},complete(){}},c=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))();function a(t){return null!==t&&"object"==typeof t}const u=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();let h=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:s,_unsubscribe:o,_subscriptions:i}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(let t=0;tt.concat(e instanceof u?e.errors:e),[])}const f=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class p extends h{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=l;break;case 1:if(!t){this.destination=l;break}if("object"==typeof t){t instanceof p?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new m(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new m(this,t,e,n)}}[f](){return this}static create(t,e,n){const r=new p(t,e,n);return r.syncErrorThrowable=!1,r}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class m extends p{constructor(t,e,n,s){let o;super(),this._parentSubscriber=t;let i=this;r(e)?o=e:e&&(o=e.next,n=e.error,s=e.complete,e!==l&&(i=Object.create(e),r(i.unsubscribe)&&this.add(i.unsubscribe.bind(i)),i.unsubscribe=this.unsubscribe.bind(this))),this._context=i,this._next=o,this._error=n,this._complete=s}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;o.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=o;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):i(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;i(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);o.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),o.useDeprecatedSynchronousErrorHandling)throw n;i(n)}}__tryOrSetError(t,e,n){if(!o.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(r){return o.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(i(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const g=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function y(t){return t}let _=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:r}=this,s=function(t,e,n){if(t){if(t instanceof p)return t;if(t[f])return t[f]()}return t||e||n?new p(t,e,n):new p(l)}(t,e,n);if(s.add(r?r.call(s,this.source):this.source||o.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),o.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(t){try{return this._subscribe(t)}catch(e){o.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:r}=t;if(e||r)return!1;t=n&&n instanceof p?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=b(e))((e,n)=>{let r;r=this.subscribe(e=>{try{t(e)}catch(s){n(s),r&&r.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[g](){return this}pipe(...t){return 0===t.length?this:(0===(e=t).length?y:1===e.length?e[0]:function(t){return e.reduce((t,e)=>e(t),t)})(this);var e}toPromise(t){return new(t=b(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function b(t){if(t||(t=o.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const v=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class w extends h{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}class x extends p{constructor(t){super(t),this.destination=t}}let C=(()=>{class t extends _{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[f](){return new x(this)}lift(t){const e=new k(this,this);return e.operator=t,e}next(t){if(this.closed)throw new v;if(!this.isStopped){const{observers:e}=this,n=e.length,r=e.slice();for(let s=0;snew k(t,e),t})();class k extends C{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):h.EMPTY}}function E(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new T(t,e))}}class T{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new S(t,this.project,this.thisArg))}}class S extends p{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}const I=t=>e=>{for(let n=0,r=t.length;n{if(t&&"function"==typeof t[g])return o=t,t=>{const e=o[g]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if((e=t)&&"number"==typeof e.length&&"function"!=typeof e)return I(t);var e,n,r,s,o;if((n=t)&&"function"!=typeof n.subscribe&&"function"==typeof n.then)return s=t,t=>(s.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,i),t);if(t&&"function"==typeof t[O])return r=t,t=>{const e=r[O]();for(;;){let r;try{r=e.next()}catch(n){return t.error(n),t}if(r.done){t.complete();break}if(t.next(r.value),t.closed)break}return"function"==typeof e.return&&t.add(()=>{e.return&&e.return()}),t};{const e=a(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}};class N extends p{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class P extends p{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}class j{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new M(t,this.project,this.concurrent))}}class M extends P{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function R(){return function(t){return t.lift(new V(t))}}class V{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const r=new F(t,n),s=e.subscribe(r);return r.closed||(r.connection=n.connect()),s}}class F extends p{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}class H extends _{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new h,t.add(this.source.subscribe(new B(this.getSubject(),this))),t.closed&&(this._connection=null,t=h.EMPTY)),t}refCount(){return R()(this)}}const L=(()=>{const t=H.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class B extends x{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}function z(){return new C}function $(){return t=>{return R()((e=z,function(t){let n;n="function"==typeof e?e:function(){return e};const r=Object.create(t,L);return r.source=t,r.subjectFactory=n,r})(t));var e}}function Z(t){return{toString:t}.toString()}function q(t,e,n){return Z(()=>{const r=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function s(...t){if(this instanceof s)return r.apply(this,t),this;const e=new s(...t);return n.annotation=e,n;function n(t,n,r){const s=t.hasOwnProperty("__parameters__")?t.__parameters__:Object.defineProperty(t,"__parameters__",{value:[]}).__parameters__;for(;s.length<=r;)s.push(null);return(s[r]=s[r]||[]).push(e),t}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=t,s.annotationCls=s,s})}const U=q("Inject",t=>({token:t})),W=q("Optional"),Q=q("Self"),K=q("SkipSelf");var G=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});function J(t){for(let e in t)if(t[e]===J)return e;throw Error("Could not find renamed property on target object.")}function Y(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function X(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function tt(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function et(t){return nt(t,t[st])||nt(t,t[lt])}function nt(t,e){return e&&e.token===t?e:null}function rt(t){return t&&(t.hasOwnProperty(ot)||t.hasOwnProperty(ct))?t[ot]:null}const st=J({\u0275prov:J}),ot=J({\u0275inj:J}),it=J({\u0275provFallback:J}),lt=J({ngInjectableDef:J}),ct=J({ngInjectorDef:J});function at(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(at).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function ut(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const ht=J({__forward_ref__:J});function dt(t){return t.__forward_ref__=dt,t.toString=function(){return at(this())},t}function ft(t){return"function"==typeof(e=t)&&e.hasOwnProperty(ht)&&e.__forward_ref__===dt?t():t;var e}const pt="undefined"!=typeof globalThis&&globalThis,mt="undefined"!=typeof window&&window,gt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,yt="undefined"!=typeof global&&global,_t=pt||yt||mt||gt,bt=J({\u0275cmp:J}),vt=J({\u0275dir:J}),wt=J({\u0275pipe:J}),xt=J({\u0275mod:J}),Ct=J({\u0275loc:J}),kt=J({\u0275fac:J}),Et=J({__NG_ELEMENT_ID__:J});class Tt{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=X({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return"InjectionToken "+this._desc}}const St=new Tt("INJECTOR",-1),It={},At=/\n/gm,Ot=J({provide:String,useValue:J});let Dt,Nt=void 0;function Pt(t){const e=Nt;return Nt=t,e}function jt(t){const e=Dt;return Dt=t,e}function Mt(t,e=G.Default){if(void 0===Nt)throw new Error("inject() must be called from an injection context");return null===Nt?Vt(t,void 0,e):Nt.get(t,e&G.Optional?null:void 0,e)}function Rt(t,e=G.Default){return(Dt||Mt)(ft(t),e)}function Vt(t,e,n){const r=et(t);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&G.Optional)return null;if(void 0!==e)return e;throw new Error(`Injector: NOT_FOUND [${at(t)}]`)}function Ft(t){const e=[];for(let n=0;nArray.isArray(t)?Bt(t,e):e(t))}function zt(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function $t(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Zt(t,e){const n=[];for(let r=0;r=0?t[1|r]=n:(r=~r,function(t,e,n,r){let s=t.length;if(s==e)t.push(n,r);else if(1===s)t.push(r,t[0]),t[0]=n;else{for(s--,t.push(t[s-1],t[s]);s>e;)t[s]=t[s-2],s--;t[e]=n,t[e+1]=r}}(t,r,e,n)),r}function Ut(t,e){const n=Wt(t,e);if(n>=0)return t[1|n]}function Wt(t,e){return function(t,e,n){let r=0,s=t.length>>1;for(;s!==r;){const n=r+(s-r>>1),o=t[n<<1];if(e===o)return n<<1;o>e?s=n:r=n+1}return~(s<<1)}(t,e)}var Qt=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),Kt=function(t){return t[t.Emulated=0]="Emulated",t[t.Native=1]="Native",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({});const Gt={},Jt=[];let Yt=0;function Xt(t){return Z(()=>{const e={},n={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===Qt.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||Jt,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||Kt.Emulated,id:"c",styles:t.styles||Jt,_:null,setInput:null,schemas:t.schemas||null,tView:null},r=t.directives,s=t.features,o=t.pipes;return n.id+=Yt++,n.inputs=se(t.inputs,e),n.outputs=se(t.outputs),s&&s.forEach(t=>t(n)),n.directiveDefs=r?()=>("function"==typeof r?r():r).map(te):null,n.pipeDefs=o?()=>("function"==typeof o?o():o).map(ee):null,n})}function te(t){return le(t)||function(t){return t[vt]||null}(t)}function ee(t){return function(t){return t[wt]||null}(t)}const ne={};function re(t){const e={type:t.type,bootstrap:t.bootstrap||Jt,declarations:t.declarations||Jt,imports:t.imports||Jt,exports:t.exports||Jt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&Z(()=>{ne[t.id]=t.type}),e}function se(t,e){if(null==t)return Gt;const n={};for(const r in t)if(t.hasOwnProperty(r)){let s=t[r],o=s;Array.isArray(s)&&(o=s[1],s=s[0]),n[s]=r,e&&(e[s]=o)}return n}const oe=Xt;function ie(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function le(t){return t[bt]||null}function ce(t,e){return t.hasOwnProperty(kt)?t[kt]:null}function ae(t,e){const n=t[xt]||null;if(!n&&!0===e)throw new Error(`Type ${at(t)} does not have '\u0275mod' property.`);return n}function ue(t){return Array.isArray(t)&&"object"==typeof t[1]}function he(t){return Array.isArray(t)&&!0===t[1]}function de(t){return 0!=(8&t.flags)}function fe(t){return 2==(2&t.flags)}function pe(t){return 1==(1&t.flags)}function me(t){return null!==t.template}function ge(t){return 0!=(512&t[2])}class ye{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function _e(){const t=ve(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===Gt)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function be(t,e,n,r){const s=ve(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:Gt,current:null}),o=s.current||(s.current={}),i=s.previous,l=this.declaredInputs[n],c=i[l];o[l]=new ye(c&&c.currentValue,e,i===Gt),t[r]=e}function ve(t){return t.__ngSimpleChanges__||null}let we=void 0;function xe(t){return!!t.listen}const Ce={createRenderer:(t,e)=>void 0!==we?we:"undefined"!=typeof document?document:void 0};function ke(t){for(;Array.isArray(t);)t=t[0];return t}function Ee(t,e){return ke(e[t+20])}function Te(t,e){return ke(e[t.index])}function Se(t,e){return t.data[e+20]}function Ie(t,e){const n=e[t];return ue(n)?n:n[0]}function Ae(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Oe(t){return 4==(4&t[2])}function De(t){return 128==(128&t[2])}function Ne(t,e){return null===t||null==e?null:t[e]}function Pe(t){t[18]=0}function je(t,e){t[5]+=e;let n=t,r=t[3];for(;null!==r&&(1===e&&1===n[5]||-1===e&&0===n[5]);)r[5]+=e,n=r,r=r[3]}const Me={lFrame:nn(null),bindingsEnabled:!0,checkNoChangesMode:!1};function Re(){return Me.bindingsEnabled}function Ve(){return Me.lFrame.lView}function Fe(){return Me.lFrame.tView}function He(){return Me.lFrame.currentTNode}function Le(t,e){Me.lFrame.currentTNode=t,Me.lFrame.isParent=e}function Be(){return Me.lFrame.isParent}function ze(){Me.lFrame.isParent=!1}function $e(){return Me.checkNoChangesMode}function Ze(t){Me.checkNoChangesMode=t}function qe(){const t=Me.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Ue(){return Me.lFrame.bindingIndex}function We(){return Me.lFrame.bindingIndex++}function Qe(t){const e=Me.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function Ke(t,e){const n=Me.lFrame;n.bindingIndex=n.bindingRootIndex=t,Ge(e)}function Ge(t){Me.lFrame.currentDirectiveIndex=t}function Je(){return Me.lFrame.currentQueryIndex}function Ye(t){Me.lFrame.currentQueryIndex=t}function Xe(t,e){const n=en();Me.lFrame=n,n.currentTNode=e,n.lView=t}function tn(t){const e=en(),n=t[1];Me.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex}function en(){const t=Me.lFrame,e=null===t?null:t.child;return null===e?nn(t):e}function nn(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null};return null!==t&&(t.child=e),e}function rn(){const t=Me.lFrame;return Me.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const sn=rn;function on(){const t=rn();t.isParent=!0,t.tView=null,t.selectedIndex=0,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function ln(){return Me.lFrame.selectedIndex}function cn(t){Me.lFrame.selectedIndex=t}function an(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n=r)break}else e[i]<0&&(t[18]+=65536),(o>11>16&&(3&t[2])===e&&(t[2]+=2048,o.call(i)):o.call(i)}class mn{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function gn(t,e,n){const r=xe(t);let s=0;for(;se){i=o-1;break}}}for(;o>16,r=e;for(;n>0;)r=r[15],n--;return r}function Cn(t){return"string"==typeof t?t:null==t?"":""+t}function kn(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():Cn(t)}const En=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(_t))();function Tn(t){return t instanceof Function?t():t}let Sn=!0;function In(t){const e=Sn;return Sn=t,e}let An=0;function On(t,e){const n=Nn(t,e);if(-1!==n)return n;const r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,Dn(r.data,t),Dn(e,null),Dn(r.blueprint,null));const s=Pn(t,e),o=t.injectorIndex;if(vn(s)){const t=wn(s),n=xn(s,e),r=n[1].data;for(let s=0;s<8;s++)e[o+s]=n[t+s]|r[t+s]}return e[o+8]=s,o}function Dn(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Nn(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Pn(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,r=null,s=e;for(;null!==s;){const t=s[1],e=t.type;if(r=2===e?t.declTNode:1===e?s[6]:null,null===r)return-1;if(n++,s=s[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function jn(t,e,n){!function(t,e,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Et)&&(r=n[Et]),null==r&&(r=n[Et]=An++);const s=255&r,o=1<0?255&e:e}(n);if("function"==typeof s){Xe(e,t);try{const t=s();if(null!=t||r&G.Optional)return t;throw new Error(`No provider for ${kn(n)}!`)}finally{sn()}}else if("number"==typeof s){if(-1===s)return new zn(t,e);let o=null,i=Nn(t,e),l=-1,c=r&G.Host?e[16][6]:null;for((-1===i||r&G.SkipSelf)&&(l=-1===i?Pn(t,e):e[i+8],-1!==l&&Bn(r,!1)?(o=e[1],i=wn(l),e=xn(l,e)):i=-1);-1!==i;){const t=e[1];if(Ln(s,i,t.data)){const t=Vn(i,e,n,o,r,c);if(t!==Rn)return t}l=e[i+8],-1!==l&&Bn(r,e[1].data[i+8]===c)&&Ln(s,i,e)?(o=t,i=wn(l),e=xn(l,e)):i=-1}}}if(r&G.Optional&&void 0===s&&(s=null),0==(r&(G.Self|G.Host))){const t=e[9],o=jt(void 0);try{return t?t.get(n,s,r&G.Optional):Vt(n,s,r&G.Optional)}finally{jt(o)}}if(r&G.Optional)return s;throw new Error(`NodeInjector: NOT_FOUND [${kn(n)}]`)}const Rn={};function Vn(t,e,n,r,s,o){const i=e[1],l=i.data[t+8],c=Fn(l,i,n,null==r?fe(l)&&Sn:r!=i&&2===l.type,s&G.Host&&o===l);return null!==c?Hn(e,i,c,l):Rn}function Fn(t,e,n,r,s){const o=t.providerIndexes,i=e.data,l=1048575&o,c=t.directiveStart,a=o>>20,u=s?l+a:t.directiveEnd;for(let h=r?l:l+a;h=c&&t.type===n)return h}if(s){const t=i[c];if(t&&me(t)&&t.type===n)return c}return null}function Hn(t,e,n,r){let s=t[n];const o=e.data;if(s instanceof mn){const i=s;if(i.resolving)throw new Error("Circular dep for "+kn(o[n]));const l=In(i.canSeeViewProviders);i.resolving=!0;const c=i.injectImpl?jt(i.injectImpl):null;Xe(t,r);try{s=t[n]=i.factory(void 0,o,t,r),e.firstCreatePass&&n>=r.directiveStart&&function(t,e,n){const{ngOnChanges:r,ngOnInit:s,ngDoCheck:o}=e.type.prototype;if(r){const r=((i=e).type.prototype.ngOnChanges&&(i.setInput=be),_e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r)}var i;s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,s),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,o))}(n,o[n],e)}finally{null!==c&&jt(c),In(l),i.resolving=!1,sn()}}return s}function Ln(t,e,n){const r=64&t,s=32&t;let o;return o=128&t?r?s?n[e+7]:n[e+6]:s?n[e+5]:n[e+4]:r?s?n[e+3]:n[e+2]:s?n[e+1]:n[e],!!(o&1<o?"":s[u+1].toLowerCase();const e=8&r?t:null;if(e&&-1!==Jn(e,a,0)||2&r&&a!==t){if(nr(r))return!1;i=!0}}}}else{if(!i&&!nr(r)&&!nr(c))return!1;if(i&&nr(c))continue;i=!1,r=c|1&r}}return nr(r)||i}function nr(t){return 0==(1&t)}function rr(t,e,n,r){if(null===e)return-1;let s=0;if(r||!n){let n=!1;for(;s-1)for(n++;n0?'="'+e+'"':"")+"]"}else 8&r?s+="."+i:4&r&&(s+=" "+i);else""===s||nr(i)||(e+=ir(o,s),s=""),r=i,o=o||!nr(r);n++}return""!==s&&(e+=ir(o,s)),e}const cr={};function ar(t){const e=t[3];return he(e)?e[3]:e}function ur(t){return dr(t[13])}function hr(t){return dr(t[4])}function dr(t){for(;null!==t&&!he(t);)t=t[4];return t}function fr(t){pr(Fe(),Ve(),ln()+t,$e())}function pr(t,e,n,r){if(!r)if(3==(3&e[2])){const r=t.preOrderCheckHooks;null!==r&&un(e,r,n)}else{const r=t.preOrderHooks;null!==r&&hn(e,r,0,n)}cn(n)}function mr(t,e){return t<<17|e<<2}function gr(t){return t>>17&32767}function yr(t){return 2|t}function _r(t){return(131068&t)>>2}function br(t,e){return-131069&t|e<<2}function vr(t){return 1|t}function wr(t,e){const n=t.contentQueries;if(null!==n)for(let r=0;r20&&pr(t,e,0,$e()),n(r,s)}finally{cn(o)}}function Ar(t,e,n){Re()&&(function(t,e,n,r){const s=n.directiveStart,o=n.directiveEnd;t.firstCreatePass||On(n,e),Gn(r,e);const i=n.initialInputs;for(let l=s;l0&&function t(e){for(let r=ur(e);null!==r;r=hr(r))for(let e=10;e0&&t(n)}const n=e[1].components;if(null!==n)for(let r=0;r0&&t(s)}}(n)}}function Kr(t,e){const n=Ie(e,t),r=n[1];!function(t,e){for(let n=e.length;nPromise.resolve(null))();function es(t,e,n,r,s){for(let o=0;o0&&(t[n-1][4]=r[4]);const i=$t(t,10+e);gs(r[1],s=r,s[11],2,null,null),s[0]=null,s[6]=null;const l=i[19];null!==l&&l.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-129}var s;return r}function is(t,e){if(!(256&e[2])){const n=e[11];xe(n)&&n.destroyNode&&gs(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return ls(t[1],t);for(;e;){let n=null;if(ue(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)ue(e)&&ls(e[1],e),e=e[3];null===e&&(e=t),ue(e)&&ls(e[1],e),n=e&&e[4]}e=n}}(e)}}function ls(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let r=0;r=0?t[l]():t[-l].unsubscribe(),r+=2}else n[r].call(t[n[r+1]]);e[7]=null}}(t,e),1===e[1].type&&xe(e[11])&&e[11].destroy();const n=e[17];if(null!==n&&he(e[3])){n!==e[3]&&ss(n,e);const r=e[19];null!==r&&r.detachView(t)}}}function cs(t,e,n){let r=e.parent;for(;null!=r&&(3===r.type||4===r.type);)r=(e=r).parent;if(null===r)return n[0];if(e&&4===e.type&&4&e.flags)return Te(e,n).parentNode;if(2&r.flags){const e=t.data,n=e[e[r.index].directiveStart].encapsulation;if(n!==Kt.ShadowDom&&n!==Kt.Native)return null}return Te(r,n)}function as(t,e,n,r){xe(t)?t.insertBefore(e,n,r):e.insertBefore(n,r,!0)}function us(t,e,n){xe(t)?t.appendChild(e,n):e.appendChild(n)}function hs(t,e,n,r){null!==r?as(t,e,n,r):us(t,e,n)}function ds(t,e){return xe(t)?t.parentNode(e):e.parentNode}function fs(t,e){return 3===t.type||4===t.type?Te(t,e):null}function ps(t,e,n,r){const s=cs(t,r,e);if(null!=s){const t=e[11],o=fs(r.parent||e[6],e);if(Array.isArray(n))for(let e=0;e-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}is(this._lView[1],this._lView)}onDestroy(t){Pr(this._lView[1],this._lView,null,t)}markForCheck(){!function(t){for(;t;){t[2]|=64;const e=ar(t);if(ge(t)&&!e)return t;t=e}}(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Jr(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){Ze(!0);try{Jr(t,e,n)}finally{Ze(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t}detachFromAppRef(){var t;this._appRef=null,gs(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class ws extends vs{constructor(t){super(t),this._view=t}detectChanges(){Yr(this._view)}checkNoChanges(){!function(t){Ze(!0);try{Yr(t)}finally{Ze(!1)}}(this._view)}get context(){return null}}let xs,Cs,ks;function Es(t,e,n){return xs||(xs=class extends t{}),new xs(Te(e,n))}function Ts(t,e,n,r){return Cs||(Cs=class extends t{constructor(t,e,n){super(),this._declarationView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=Cr(this._declarationView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationView[this._declarationTContainer.index];const r=this._declarationView[19];return null!==r&&(n[19]=r.createEmbeddedView(e)),Er(e,n,t),new vs(n)}}),0===n.type?new Cs(r,n,Es(e,n,r)):null}function Ss(t,e,n,r){let s;ks||(ks=class extends t{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostView=n}get element(){return Es(e,this._hostTNode,this._hostView)}get injector(){return new zn(this._hostTNode,this._hostView)}get parentInjector(){const t=Pn(this._hostTNode,this._hostView);if(vn(t)){const e=xn(t,this._hostView),n=wn(t);return new zn(e[1].data[n+8],e)}return new zn(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){return null!==this._lContainer[8]&&this._lContainer[8][t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,n){const r=t.createEmbeddedView(e||{});return this.insert(r,n),r}createComponent(t,e,n,r,s){const o=n||this.parentInjector;if(!s&&null==t.ngModule&&o){const t=o.get(Lt,null);t&&(s=t)}const i=t.create(o,r,void 0,s);return this.insert(i.hostView,e),i}insert(t,e){const n=t._lView,r=n[1];if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),he(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],r=new ks(e,e[6],e[3]);r.detach(r.indexOf(t))}}const s=this._adjustIndex(e),o=this._lContainer;!function(t,e,n,r){const s=10+r,o=n.length;r>0&&(n[s-1][4]=e),rthis.processProvider(n,t,e)),Bt([t],t=>this.processInjectorType(t,[],s)),this.records.set(St,Vs(void 0,this));const o=this.records.get(Is);this.scope=null!=o?o.value:null,this.source=r||("object"==typeof t?null:at(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=It,n=G.Default){this.assertNotDestroyed();const r=Pt(this);try{if(!(n&G.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(s=t)||"object"==typeof s&&s instanceof Tt)&&et(t);e=n&&this.injectableDefInScope(n)?Vs(Rs(t),As):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&G.Self?Ps():this.parent).get(t,e=n&G.Optional&&e===It?null:e)}catch(o){if("NullInjectorError"===o.name){if((o.ngTempTokenPath=o.ngTempTokenPath||[]).unshift(at(t)),r)throw o;return function(t,e,n,r){const s=t.ngTempTokenPath;throw e.__source&&s.unshift(e.__source),t.message=function(t,e,n,r=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let s=at(e);if(Array.isArray(e))s=e.map(at).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let r=e[n];t.push(n+":"+("string"==typeof r?JSON.stringify(r):at(r)))}s=`{${t.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${t.replace(At,"\n ")}`}("\n"+t.message,s,n,r),t.ngTokenPath=s,t.ngTempTokenPath=null,t}(o,t,"R3InjectorError",this.source)}throw o}finally{Pt(r)}var s}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(at(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=ft(t)))return!1;let r=rt(t);const s=null==r&&t.ngModule||void 0,o=void 0===s?t:s,i=-1!==n.indexOf(o);if(void 0!==s&&(r=rt(s)),null==r)return!1;if(null!=r.imports&&!i){let t;n.push(o);try{Bt(r.imports,r=>{this.processInjectorType(r,e,n)&&(void 0===t&&(t=[]),t.push(r))})}finally{}if(void 0!==t)for(let e=0;ethis.processProvider(t,n,r||Ds))}}this.injectorDefTypes.add(o),this.records.set(o,Vs(r.factory,As));const l=r.providers;if(null!=l&&!i){const e=t;Bt(l,t=>this.processProvider(t,e,l))}return void 0!==s&&void 0!==t.providers}processProvider(t,e,n){let r=Hs(t=ft(t))?t:ft(t&&t.provide);const s=function(t,e,n){return Fs(t)?Vs(void 0,t.useValue):Vs(function(t,e,n){let r=void 0;if(Hs(t)){const e=ft(t);return ce(e)||Rs(e)}if(Fs(t))r=()=>ft(t.useValue);else if((s=t)&&s.useFactory)r=()=>t.useFactory(...Ft(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))r=()=>Rt(ft(t.useExisting));else{const e=ft(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return ce(e)||Rs(e);r=()=>new e(...Ft(t.deps))}var s;return r}(t),As)}(t);if(Hs(t)||!0!==t.multi)this.records.get(r);else{let e=this.records.get(r);e||(e=Vs(void 0,As,!0),e.factory=()=>Ft(e.multi),this.records.set(r,e)),r=t,e.multi.push(t)}this.records.set(r,s)}hydrate(t,e){var n;return e.value===As&&(e.value=Os,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||t.providedIn===this.scope:this.injectorDefTypes.has(t.providedIn))}}function Rs(t){const e=et(t),n=null!==e?e.factory:ce(t);if(null!==n)return n;const r=rt(t);if(null!==r)return r.factory;if(t instanceof Tt)throw new Error(`Token ${at(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=Zt(e,"?");throw new Error(`Can't resolve all parameters for ${at(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[st]||t[lt]||t[it]&&t[it]());if(e){const n=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error("unreachable")}function Vs(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Fs(t){return null!==t&&"object"==typeof t&&Ot in t}function Hs(t){return"function"==typeof t}const Ls=function(t,e,n){return function(t,e=null,n=null,r){const s=js(t,e,n,r);return s._resolveInjectorDefTypes(),s}({name:n},e,t,n)};let Bs=(()=>{class t{static create(t,e){return Array.isArray(t)?Ls(t,e,""):Ls(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=It,t.NULL=new Ht,t.\u0275prov=X({token:t,providedIn:"any",factory:()=>Rt(St)}),t.__NG_ELEMENT_ID__=-1,t})();function zs(t,e,n){let r=n?t.styles:null,s=n?t.classes:null,o=0;if(null!==e)for(let i=0;i=0;r--){const s=t[r];s.hostVars=e+=s.hostVars,s.hostAttrs=_n(s.hostAttrs,n=_n(n,s.hostAttrs))}}(r)}function qs(t){return t===Gt?{}:t===Jt?[]:t}function Us(t,e){const n=t.viewQuery;t.viewQuery=n?(t,r)=>{e(t,r),n(t,r)}:e}function Ws(t,e){const n=t.contentQueries;t.contentQueries=n?(t,r,s)=>{e(t,r,s),n(t,r,s)}:e}function Qs(t,e){const n=t.hostBindings;t.hostBindings=n?(t,r)=>{e(t,r),n(t,r)}:e}let Ks=null;function Gs(){if(!Ks){const t=_t.Symbol;if(t&&t.iterator)Ks=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e=0}function go(t,e){return function(t,e,n,r){const s=Ve(),o=Fe(),i=Qe(2);o.firstUpdatePass&&function(t,e,n,r){const s=t.data;if(null===s[n+1]){const r=s[ln()+20],o=function(t,e){return e>=t.expandoStartIndex}(t,n);(function(t,e){return 0!=(16&t.flags)})(r)&&null===e&&!o&&(e=!1),e=function(t,e,n,r){const s=function(t){const e=Me.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}(t);let o=e.residualClasses;if(null===s)0===e.classBindings&&(n=_o(n=yo(null,t,e,n,true),e.attrs,true),o=null);else{const r=e.directiveStylingLast;if(-1===r||t[r]!==s)if(n=yo(s,t,e,n,true),null===o){let n=function(t,e,n){const r=e.classBindings;if(0!==_r(r))return t[gr(r)]}(t,e);void 0!==n&&Array.isArray(n)&&(n=yo(null,t,e,n[1],true),n=_o(n,e.attrs,true),function(t,e,n,r){t[gr(e.classBindings)]=r}(t,e,0,n))}else o=function(t,e,n){let r=void 0;const s=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0)&&(u=!0)}else a=n;if(s)if(0!==c){const e=gr(t[l+1]);t[r+1]=mr(e,l),0!==e&&(t[e+1]=br(t[e+1],r)),t[l+1]=131071&t[l+1]|r<<17}else t[r+1]=mr(l,0),0!==l&&(t[l+1]=br(t[l+1],r)),l=r;else t[r+1]=mr(c,0),0===l?l=r:t[c+1]=br(t[c+1],r),c=r;u&&(t[r+1]=yr(t[r+1])),po(t,a,r,!0),po(t,a,r,!1),function(t,e,n,r,s){const o=t.residualClasses;null!=o&&"string"==typeof e&&Wt(o,e)>=0&&(n[r+1]=vr(n[r+1]))}(e,a,t,r),i=mr(l,c),e.classBindings=i}(s,r,e,n,o)}}(o,t,i),e!==cr&&eo(s,i,e)&&function(t,e,n,r,s,o,i,l){if(2!==e.type)return;const c=t.data,a=c[l+1];vo(1==(1&a)?bo(c,e,n,s,_r(a),true):void 0)||(vo(o)||function(t){return 2==(2&t)}(a)&&(o=bo(c,null,n,s,l,true)),function(t,e,n,r,s){const o=xe(t);s?o?t.addClass(n,r):n.classList.add(r):o?t.removeClass(n,r):n.classList.remove(r)}(r,0,Ee(ln(),n),s,o))}(o,o.data[ln()+20],s,s[11],t,s[i+1]=function(t,e){return null==t||"object"==typeof t&&(t=at(function(t){return t instanceof class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"}}?t.changingThisBreaksApplicationSecurity:t}(t))),t}(e),0,i)}(t,e),go}function yo(t,e,n,r,s){let o=null;const i=n.directiveEnd;let l=n.directiveStylingLast;for(-1===l?l=n.directiveStart:l++;l0;){const e=t[s],o=Array.isArray(e),c=o?e[1]:e,a=null===c;let u=n[s+1];u===cr&&(u=a?fo:void 0);let h=a?Ut(u,r):c===r?u:void 0;if(o&&!vo(h)&&(h=Ut(e,r)),vo(h)&&(l=h,i))return l;const d=t[s+1];s=i?gr(d):_r(d)}if(null!==e){let t=o?e.residualClasses:e.residualStyles;null!=t&&(l=Ut(t,r))}return l}function vo(t){return void 0!==t}function wo(t,e=""){const n=Ve(),r=Fe(),s=t+20,o=r.firstCreatePass?kr(r,t,2,null,null):r.data[s],i=n[s]=function(t,e){return xe(e)?e.createText(t):e.createTextNode(t)}(e,n[11]);ps(r,n,i,o),Le(o,!1)}function xo(t,e,n){const r=Ve(),s=function(t,e,n,r){return eo(t,We(),n)?e+Cn(n)+r:cr}(r,t,e,n);return s!==cr&&ns(r,ln(),s),xo}function Co(t,e,n,r,s,o,i){const l=Ve(),c=function(t,e,n,r,s,o,i,l){const c=function(t,e,n,r,s){const o=function(t,e,n,r){const s=eo(t,e,n);return eo(t,e+1,r)||s}(t,e,n,r);return eo(t,e+2,s)||o}(t,Ue(),n,s,i);return Qe(3),c?e+Cn(n)+r+Cn(s)+o+Cn(i)+l:cr}(l,t,e,n,r,s,o,i);return c!==cr&&ns(l,ln(),c),Co}class ko{}class Eo{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${at(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let To=(()=>{class t{}return t.NULL=new Eo,t})(),So=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=()=>Io(t),t})();const Io=function(t){return Es(t,He(),Ve())};class Ao{}var Oo=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});let Do=(()=>{class t{}return t.\u0275prov=X({token:t,providedIn:"root",factory:()=>null}),t})();class No{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Po=new No("10.1.4");class jo{constructor(){}supports(t){return Ys(t)}create(t){return new Ro(t)}}const Mo=(t,e)=>e;class Ro{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Mo}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,r=0,s=null;for(;e||n;){const o=!n||e&&e.currentIndex{r=this._trackByFn(e,t),null!==s&&Object.is(s.trackById,r)?(o&&(s=this._verifyReinsertion(s,t,r,e)),Object.is(s.item,t)||this._addIdentityChange(s,t)):(s=this._mismatch(s,t,r,e),o=!0),s=s._next,e++}),this.length=e;return this._truncate(s),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,r){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,s,r)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,s,r)):t=this._addAfter(new Vo(e,n),s,r),t}_verifyReinsertion(t,e,n,r){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==s?t=this._reinsertAfter(s,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,s=t._nextRemoved;return null===r?this._removalsHead=s:r._nextRemoved=s,null===s?this._removalsTail=r:s._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new Ho),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Ho),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class Vo{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Fo{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class Ho{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new Fo,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Lo(t,e,n){const r=t.previousIndex;if(null===r)return r;let s=0;return n&&r{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const r=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const r=n._prev,s=n._next;return r&&(r._next=s),s&&(s._prev=r),n._next=null,n._prev=null,n}const n=new $o(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class $o{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let Zo=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new K,new W]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n}}return t.\u0275prov=X({token:t,providedIn:"root",factory:()=>new t([new jo])}),t})(),qo=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new K,new W]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\u0275prov=X({token:t,providedIn:"root",factory:()=>new t([new Bo])}),t})();const Uo=[new Bo],Wo=new Zo([new jo]),Qo=new qo(Uo);let Ko=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Go(t,So),t})();const Go=function(t,e){return Ts(t,e,He(),Ve())};let Jo=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Yo(t,So),t})();const Yo=function(t,e){return Ss(t,e,He(),Ve())},Xo={};class ti extends To{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=le(t);return new ri(e,this.ngModule)}}function ei(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const ni=new Tt("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>En});class ri extends ko{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(lr).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return ei(this.componentDef.inputs)}get outputs(){return ei(this.componentDef.outputs)}create(t,e,n,r){const s=(r=r||this.ngModule)?function(t,e){return{get:(n,r,s)=>{const o=t.get(n,Xo,s);return o!==Xo||r===Xo?o:e.get(n,r,s)}}}(t,r.injector):t,o=s.get(Ao,Ce),i=s.get(Do,null),l=o.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",a=n?function(t,e,n){if(xe(t))return t.selectRootElement(e,n===Kt.ShadowDom);let r="string"==typeof e?t.querySelector(e):e;return r.textContent="",r}(l,n,this.componentDef.encapsulation):xr(c,o.createRenderer(null,this.componentDef),function(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(c)),u=this.componentDef.onPush?576:528,h={components:[],scheduler:En,clean:ts,playerHandler:null,flags:0},d=Nr(0,null,null,1,0,null,null,null,null,null),f=Cr(null,d,h,u,null,null,o,l,i,s);let p,m;tn(f);try{const t=function(t,e,n,r,s,o){const i=n[1];n[20]=t;const l=kr(i,0,2,null,null),c=l.mergedAttrs=e.hostAttrs;null!==c&&(zs(l,c,!0),null!==t&&(gn(s,t,c),null!==l.classes&&bs(s,t,l.classes),null!==l.styles&&_s(s,t,l.styles)));const a=r.createRenderer(t,e),u=Cr(n,Dr(e),null,e.onPush?64:16,n[20],l,r,a,null,null);return i.firstCreatePass&&(jn(On(l,n),i,e.type),Lr(i,l),zr(l,n.length,1)),Gr(n,u),n[20]=u}(a,this.componentDef,f,o,l);if(a)if(n)gn(l,a,["ng-version",Po.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let r=1,s=2;for(;r0&&bs(l,a,e.join(" "))}if(m=Se(d,0),void 0!==e){const t=m.projection=[];for(let n=0;nt(i,e)),e.contentQueries&&e.contentQueries(1,i,n.length-1);const l=He();if(o.firstCreatePass&&(null!==e.hostBindings||null!==e.hostAttrs)){cn(l.index-20);const t=n[1];Rr(t,e),Vr(t,n,e.hostVars),Fr(e,i)}return i}(t,this.componentDef,f,h,[$s]),Er(d,f,null)}finally{on()}return new si(this.componentType,p,Es(So,m,f),f,m)}}class si extends class{}{constructor(t,e,n,r,s){super(),this.location=n,this._rootLView=r,this._tNode=s,this.destroyCbs=[],this.instance=e,this.hostView=this.changeDetectorRef=new ws(r),this.componentType=t}get injector(){return new zn(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(t=>t()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(t){this.destroyCbs&&this.destroyCbs.push(t)}}const oi=void 0;var ii=["en",[["a","p"],["AM","PM"],oi],[["AM","PM"],oi,oi],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],oi,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],oi,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",oi,"{1} 'at' {0}",oi],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let li={};function ci(t){return t in li||(li[t]=_t.ng&&_t.ng.common&&_t.ng.common.locales&&_t.ng.common.locales[t]),li[t]}var ai=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}({});let ui="en-US";function hi(t){var e,n;n="Expected localeId to be defined",null==(e=t)&&function(t,e,n,r){throw new Error("ASSERTION ERROR: "+t+` [Expected=> null != ${e} <=Actual]`)}(n,e),"string"==typeof t&&(ui=t.toLowerCase().replace(/_/g,"-"))}const di=new Map;class fi extends Lt{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new ti(this);const n=ae(t),r=t[Ct]||null;r&&hi(r),this._bootstrapComponents=Tn(n.bootstrap),this._r3Injector=js(t,e,[{provide:Lt,useValue:this},{provide:To,useValue:this.componentFactoryResolver}],at(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=Bs.THROW_IF_NOT_FOUND,n=G.Default){return t===Bs||t===Lt||t===St?this:this._r3Injector.get(t,e,n)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class pi extends class{}{constructor(t){super(),this.moduleType=t,null!==ae(t)&&function t(e){if(null!==e.\u0275mod.id){const t=e.\u0275mod.id;(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${at(e)} vs ${at(e.name)}`)})(t,di.get(t),e),di.set(t,e)}let n=e.\u0275mod.imports;n instanceof Function&&(n=n()),n&&n.forEach(e=>t(e))}(t)}create(t){return new fi(this.moduleType,t)}}function mi(t,e,n){const r=qe()+t,s=Ve();return s[r]===cr?to(s,r,n?e.call(n):e()):function(t,e){return t[e]}(s,r)}function gi(t,e,n){const r=Ve(),s=function(t,e){return t[e+20]}(r,t);return function(t,e){return Js.isWrapped(e)&&(e=Js.unwrap(e),t[Ue()]=cr),e}(r,function(t,e){return t[1].data[e+20].pure}(r,t)?function(t,e,n,r,s,o){const i=e+n;return eo(t,i,s)?to(t,i+1,o?r.call(o,s):r(s)):function(t,e){const n=t[e];return n===cr?void 0:n}(t,i+1)}(r,qe(),e,s.transform,n,s):s.transform(n))}const yi=class extends C{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let r,s=t=>null,o=()=>null;t&&"object"==typeof t?(r=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(s=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(o=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(r=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(s=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),n&&(o=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const i=super.subscribe(r,s,o);return t instanceof h&&t.add(i),i}};function _i(){return this._results[Gs()]()}class bi{constructor(){this.dirty=!0,this._results=[],this.changes=new yi,this.length=0;const t=Gs(),e=bi.prototype;e[t]||(e[t]=_i)}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t){this._results=function t(e,n){void 0===n&&(n=e);for(let r=0;r{class t{constructor(t){this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(Rt(Ai,8))},t.\u0275prov=X({token:t,factory:t.\u0275fac}),t})();const Di=new Tt("AppId"),Ni={provide:Di,useFactory:function(){return`${Pi()}${Pi()}${Pi()}`},deps:[]};function Pi(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const ji=new Tt("Platform Initializer"),Mi=new Tt("Platform ID"),Ri=new Tt("appBootstrapListener");let Vi=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=X({token:t,factory:t.\u0275fac}),t})();const Fi=new Tt("LocaleId"),Hi=new Tt("DefaultCurrencyCode");class Li{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const Bi=function(t){return new pi(t)},zi=Bi,$i=function(t){return Promise.resolve(Bi(t))},Zi=function(t){const e=Bi(t),n=Tn(ae(t).declarations).reduce((t,e)=>{const n=le(e);return n&&t.push(new ri(n)),t},[]);return new Li(e,n)},qi=Zi,Ui=function(t){return Promise.resolve(Zi(t))};let Wi=(()=>{class t{constructor(){this.compileModuleSync=zi,this.compileModuleAsync=$i,this.compileModuleAndAllComponentsSync=qi,this.compileModuleAndAllComponentsAsync=Ui}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=X({token:t,factory:t.\u0275fac}),t})();const Qi=(()=>Promise.resolve(0))();function Ki(t){"undefined"==typeof Zone?Qi.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class Gi{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new yi(!1),this.onMicrotaskEmpty=new yi(!1),this.onStable=new yi(!1),this.onError=new yi(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=e,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let t=_t.requestAnimationFrame,e=_t.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=!!t.shouldCoalesceEventChangeDetection&&t.nativeRequestAnimationFrame&&(()=>{!function(t){-1===t.lastRequestAnimationFrameId&&(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(_t,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,tl(t),Xi(t)},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),tl(t))}(t)});t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:e},onInvokeTask:(n,r,s,o,i,l)=>{try{return el(t),n.invokeTask(s,o,i,l)}finally{e&&"eventTask"===o.type&&e(),nl(t)}},onInvoke:(e,n,r,s,o,i,l)=>{try{return el(t),e.invoke(r,s,o,i,l)}finally{nl(t)}},onHasTask:(e,n,r,s)=>{e.hasTask(r,s),n===r&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,tl(t),Xi(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,n,r,s)=>(e.handleError(r,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Gi.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Gi.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,r){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+r,t,Yi,Ji,Ji);try{return s.runTask(o,e,n)}finally{s.cancelTask(o)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}function Ji(){}const Yi={};function Xi(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function tl(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||t.shouldCoalesceEventChangeDetection&&-1!==t.lastRequestAnimationFrameId)}function el(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function nl(t){t._nesting--,Xi(t)}class rl{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new yi,this.onMicrotaskEmpty=new yi,this.onStable=new yi,this.onError=new yi}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,r){return t.apply(e,n)}}let sl=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Gi.assertNotInAngularZone(),Ki(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Ki(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let r=-1;e&&e>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==r),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:r,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t.\u0275fac=function(e){return new(e||t)(Rt(Gi))},t.\u0275prov=X({token:t,factory:t.\u0275fac}),t})(),ol=(()=>{class t{constructor(){this._applications=new Map,cl.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return cl.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=X({token:t,factory:t.\u0275fac}),t})();class il{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}let ll,cl=new il;const al=new Tt("AllowMultipleToken");function ul(t,e,n=[]){const r="Platform: "+e,s=new Tt(r);return(e=[])=>{let o=hl();if(!o||o.injector.get(al,!1))if(t)t(n.concat(e).concat({provide:s,useValue:!0}));else{const t=n.concat(e).concat({provide:s,useValue:!0},{provide:Is,useValue:"platform"});!function(t){if(ll&&!ll.destroyed&&!ll.injector.get(al,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");ll=t.get(dl);const e=t.get(ji,null);e&&e.forEach(t=>t())}(Bs.create({providers:t,name:r}))}return function(t){const e=hl();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(s)}}function hl(){return ll&&!ll.destroyed?ll:null}let dl=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t,e){let n;return n="noop"===t?new rl:("zone.js"===t?void 0:t)||new Gi({enableLongStackTrace:Kn(),shouldCoalesceEventChangeDetection:e}),n}(e?e.ngZone:void 0,e&&e.ngZoneEventCoalescing||!1),r=[{provide:Gi,useValue:n}];return n.run(()=>{const e=Bs.create({providers:r,parent:this.injector,name:t.moduleType.name}),s=t.create(e),o=s.injector.get(Un,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return s.onDestroy(()=>ml(this._modules,s)),n.runOutsideAngular(()=>n.onError.subscribe({next:t=>{o.handleError(t)}})),function(t,e,n){try{const r=n();return co(r)?r.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}(o,n,()=>{const t=s.injector.get(Oi);return t.runInitializers(),t.donePromise.then(()=>(hi(s.injector.get(Fi,"en-US")||"en-US"),this._moduleDoBootstrap(s),s))})})}bootstrapModule(t,e=[]){const n=fl({},e);return function(t,e,n){const r=new pi(n);return Promise.resolve(r)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(pl);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${at(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(Rt(Bs))},t.\u0275prov=X({token:t,factory:t.\u0275fac}),t})();function fl(t,e){return Array.isArray(e)?e.reduce(fl,t):Object.assign(Object.assign({},t),e)}let pl=(()=>{class t{constructor(t,e,n,r,s,o){this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=s,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Kn(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new _(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),l=new _(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{Gi.assertNotInAngularZone(),Ki(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Gi.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=function(...t){let e=Number.POSITIVE_INFINITY,n=null,r=t[t.length-1];return(s=r)&&"function"==typeof s.schedule?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof r&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof _?t[0]:function(t=Number.POSITIVE_INFINITY){return function t(e,n,r=Number.POSITIVE_INFINITY){return"function"==typeof n?s=>s.pipe(t((t,r)=>{return(s=e(t,r),s instanceof _?s:new _(D(s))).pipe(E((e,s)=>n(t,e,r,s)));var s},r)):("number"==typeof n&&(r=n),t=>t.lift(new j(e,r)))}(y,t)}(e)(function(t,e){return e?function(t,e){return new _(n=>{const r=new h;let s=0;return r.add(e.schedule((function(){s!==t.length?(n.next(t[s++]),n.closed||r.add(this.schedule())):n.complete()}))),r})}(t,e):new _(I(t))}(t,n));var s}(i,l.pipe($()))}bootstrap(t,e){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=t instanceof ko?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const r=n.isBoundToModule?void 0:this._injector.get(Lt),s=n.create(Bs.NULL,[],e||n.selector,r);s.onDestroy(()=>{this._unloadComponent(s)});const o=s.injector.get(sl,null);return o&&s.injector.get(ol).registerApplication(s.location.nativeElement,o),this._loadComponent(s),Kn()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),s}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges();if(this._enforceNoNewChanges)for(let t of this._views)t.checkNoChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;ml(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Ri,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}_unloadComponent(t){this.detachView(t.hostView),ml(this.components,t)}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy())}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(Rt(Gi),Rt(Vi),Rt(Bs),Rt(Un),Rt(To),Rt(Oi))},t.\u0275prov=X({token:t,factory:t.\u0275fac}),t})();function ml(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const gl=ul(null,"core",[{provide:Mi,useValue:"unknown"},{provide:dl,deps:[Bs]},{provide:ol,deps:[]},{provide:Vi,deps:[]}]),yl=[{provide:pl,useClass:pl,deps:[Gi,Vi,Bs,Un,To,Oi]},{provide:ni,deps:[Gi],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:Oi,useClass:Oi,deps:[[new W,Ai]]},{provide:Wi,useClass:Wi,deps:[]},Ni,{provide:Zo,useFactory:function(){return Wo},deps:[]},{provide:qo,useFactory:function(){return Qo},deps:[]},{provide:Fi,useFactory:function(t){return hi(t=t||"undefined"!=typeof $localize&&$localize.locale||"en-US"),t},deps:[[new U(Fi),new W,new K]]},{provide:Hi,useValue:"USD"}];let _l=(()=>{class t{constructor(t){}}return t.\u0275mod=re({type:t}),t.\u0275inj=tt({factory:function(e){return new(e||t)(Rt(pl))},providers:yl}),t})(),bl=null;function vl(){return bl}const wl=new Tt("DocumentToken");var xl=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({});class Cl{}let kl=(()=>{class t extends Cl{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(function(t){return function(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=ci(e);if(n)return n;const r=e.split("-")[0];if(n=ci(r),n)return n;if("en"===r)return ii;throw new Error(`Missing locale data for the locale "${t}".`)}(t)[ai.PluralCase]}(e||this.locale)(t)){case xl.Zero:return"zero";case xl.One:return"one";case xl.Two:return"two";case xl.Few:return"few";case xl.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(Rt(Fi))},t.\u0275prov=X({token:t,factory:t.\u0275fac}),t})();class El{constructor(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Tl=(()=>{class t{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){Kn()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(t)}. See https://angular.io/api/common/NgForOf#change-propagation for more information.`),this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(e){throw new Error(`Cannot find a differ supporting object '${n}' of type '${t=n,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,r)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new El(null,this._ngForOf,-1,-1),null===r?void 0:r),s=new Sl(t,n);e.push(s)}else if(null==r)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const s=this._viewContainer.get(n);this._viewContainer.move(s,r);const o=new Sl(t,s);e.push(o)}});for(let n=0;n{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(no(Jo),no(Ko),no(Zo))},t.\u0275dir=oe({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class Sl{constructor(t,e){this.record=t,this.view=e}}let Il=(()=>{class t{transform(t){return JSON.stringify(t,null,2)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=ie({name:"json",type:t,pure:!1}),t})(),Al=(()=>{class t{}return t.\u0275mod=re({type:t}),t.\u0275inj=tt({factory:function(e){return new(e||t)},providers:[{provide:Cl,useClass:kl}]}),t})();class Ol extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var t;t=new Ol,bl||(bl=t)}getProperty(t,e){return t[e]}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){return t.parentNode&&t.parentNode.removeChild(t),t}getValue(t){return t.value}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(t){const e=Nl||(Nl=document.querySelector("base"),Nl)?Nl.getAttribute("href"):null;return null==e?null:(n=e,Dl||(Dl=document.createElement("a")),Dl.setAttribute("href",n),"/"===Dl.pathname.charAt(0)?Dl.pathname:"/"+Dl.pathname);var n}resetBaseElement(){Nl=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(t){return function(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[r,s]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(r.trim()===e)return decodeURIComponent(s)}return null}(document.cookie,t)}}let Dl,Nl=null;const Pl=new Tt("TRANSITION_ID"),jl=[{provide:Ai,useFactory:function(t,e,n){return()=>{n.get(Oi).donePromise.then(()=>{const n=vl();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[Pl,wl,Bs],multi:!0}];class Ml{static init(){var t;t=new Ml,cl=t}addToWindow(t){_t.getAngularTestability=(e,n=!0)=>{const r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},_t.getAllAngularTestabilities=()=>t.getAllTestabilities(),_t.getAllAngularRootElements=()=>t.getAllRootElements(),_t.frameworkStabilizers||(_t.frameworkStabilizers=[]),_t.frameworkStabilizers.push(t=>{const e=_t.getAllAngularTestabilities();let n=e.length,r=!1;const s=function(e){r=r||e,n--,0==n&&t(r)};e.forEach((function(t){t.whenStable(s)}))})}findTestabilityInTree(t,e,n){if(null==e)return null;const r=t.getTestability(e);return null!=r?r:n?vl().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}const Rl=new Tt("EventManagerPlugins");let Vl=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let r=0;r{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=X({token:t,factory:t.\u0275fac}),t})(),Ll=(()=>{class t extends Hl{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach(t=>{const n=this._doc.createElement("style");n.textContent=t,this._styleNodes.add(e.appendChild(n))})}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach(e=>this._addStylesToHost(t,e))}ngOnDestroy(){this._styleNodes.forEach(t=>vl().remove(t))}}return t.\u0275fac=function(e){return new(e||t)(Rt(wl))},t.\u0275prov=X({token:t,factory:t.\u0275fac}),t})();const Bl={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},zl=/%COMP%/g;function $l(t,e,n){for(let r=0;r{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let ql=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new Ul(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case Kt.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new Wl(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case Kt.Native:case Kt.ShadowDom:return new Ql(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=$l(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(Rt(Vl),Rt(Ll),Rt(Di))},t.\u0275prov=X({token:t,factory:t.\u0275fac}),t})();class Ul{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(Bl[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,r){if(r){e=r+":"+e;const s=Bl[r];s?t.setAttributeNS(s,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const r=Bl[n];r?t.removeAttributeNS(r,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,r){r&Oo.DashCase?t.style.setProperty(e,n,r&Oo.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&Oo.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,Zl(n)):this.eventManager.addEventListener(t,e,Zl(n))}}class Wl extends Ul{constructor(t,e,n,r){super(t),this.component=n;const s=$l(r+"-"+n.id,n.styles,[]);e.addStyles(s),this.contentAttr="_ngcontent-%COMP%".replace(zl,r+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(zl,r+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class Ql extends Ul{constructor(t,e,n,r){super(t),this.sharedStylesHost=e,this.hostEl=n,this.component=r,this.shadowRoot=r.encapsulation===Kt.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const s=$l(r.id,r.styles,[]);for(let o=0;o{class t extends Fl{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t.\u0275fac=function(e){return new(e||t)(Rt(wl))},t.\u0275prov=X({token:t,factory:t.\u0275fac}),t})();const Gl=["alt","control","meta","shift"],Jl={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Yl={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},Xl={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let tc=(()=>{class t extends Fl{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,r){const s=t.parseEventName(n),o=t.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>vl().onAndCancel(e,s.domEventName,o))}static parseEventName(e){const n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const s=t._normalizeKey(n.pop());let o="";if(Gl.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),o+=t+".")}),o+=s,0!=n.length||0===s.length)return null;const i={};return i.domEventName=r,i.fullKey=o,i}static getEventFullKey(t){let e="",n=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&Yl.hasOwnProperty(e)&&(e=Yl[e]))}return Jl[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),Gl.forEach(r=>{r!=n&&(0,Xl[r])(t)&&(e+=r+".")}),e+=n,e}static eventCallback(e,n,r){return s=>{t.getEventFullKey(s)===e&&r.runGuarded(()=>n(s))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(Rt(wl))},t.\u0275prov=X({token:t,factory:t.\u0275fac}),t})();const ec=ul(gl,"browser",[{provide:Mi,useValue:"browser"},{provide:ji,useValue:function(){Ol.makeCurrent(),Ml.init()},multi:!0},{provide:wl,useFactory:function(){return function(t){we=t}(document),document},deps:[]}]),nc=[[],{provide:Is,useValue:"root"},{provide:Un,useFactory:function(){return new Un},deps:[]},{provide:Rl,useClass:Kl,multi:!0,deps:[wl,Gi,Mi]},{provide:Rl,useClass:tc,multi:!0,deps:[wl]},[],{provide:ql,useClass:ql,deps:[Vl,Ll,Di]},{provide:Ao,useExisting:ql},{provide:Hl,useExisting:Ll},{provide:Ll,useClass:Ll,deps:[wl]},{provide:sl,useClass:sl,deps:[Gi]},{provide:Vl,useClass:Vl,deps:[Rl,Gi]},[]];let rc,sc=(()=>{class t{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:t,providers:[{provide:Di,useValue:e.appId},{provide:Pl,useExisting:Di},jl]}}}return t.\u0275mod=re({type:t}),t.\u0275inj=tt({factory:function(e){return new(e||t)(Rt(t,12))},providers:nc,imports:[Al,_l]}),t})();"undefined"!=typeof window&&window;try{rc="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(ba){rc=!1}let oc=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?"browser"===this._platformId:"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!rc)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return t.\u0275fac=function(e){return new(e||t)(Rt(Mi))},t.\u0275prov=X({factory:function(){return new t(Rt(Mi))},token:t,providedIn:"root"}),t})();class ic extends h{constructor(t,e){super()}schedule(t,e=0){return this}}class lc extends ic{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this}requestAsyncId(t,e,n=0){return setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n=!1,r=void 0;try{this.work(t)}catch(s){n=!0,r=!!s&&s||new Error(s)}if(n)return this.unsubscribe(),r}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}let cc=(()=>{class t{constructor(e,n=t.now){this.SchedulerAction=e,this.now=n}schedule(t,e=0,n){return new this.SchedulerAction(this,t).schedule(n,e)}}return t.now=()=>Date.now(),t})();class ac extends cc{constructor(t,e=cc.now){super(t,()=>ac.delegate&&ac.delegate!==this?ac.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return ac.delegate&&ac.delegate!==this?ac.delegate.schedule(t,e,n):super.schedule(t,e,n)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}const uc=new ac(lc);class hc{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new dc(t,this.dueTime,this.scheduler))}}class dc extends p{constructor(t,e,n){super(t),this.dueTime=e,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(fc,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function fc(t){t.debouncedNext()}function pc(t,e){return function(n){return n.lift(new mc(t,e))}}class mc{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new gc(t,this.predicate,this.thisArg))}}class gc extends p{constructor(t,e,n){super(t),this.predicate=e,this.thisArg=n,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}"undefined"!=typeof Element&∈let yc=(()=>{class t{constructor(t,e){this._platform=t,this._document=e}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const e=this._document.defaultView||window,n=e&&e.getComputedStyle?e.getComputedStyle(t):null,r=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),r){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove("cdk-high-contrast-active"),t.remove("cdk-high-contrast-black-on-white"),t.remove("cdk-high-contrast-white-on-black");const e=this.getHighContrastMode();1===e?(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-black-on-white")):2===e&&(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-white-on-black"))}}}return t.\u0275fac=function(e){return new(e||t)(Rt(oc),Rt(wl))},t.\u0275prov=X({factory:function(){return new t(Rt(oc),Rt(wl))},token:t,providedIn:"root"}),t})(),_c=(()=>{class t{}return t.\u0275mod=re({type:t}),t.\u0275inj=tt({factory:function(e){return new(e||t)}}),t})();const bc=new No("10.2.3");function vc(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}let wc=(t,e)=>!1,xc=(t,e)=>!1,Cc=(t,e,n)=>[];const kc=vc();(kc||"undefined"!=typeof Element)&&((t,e)=>t.contains(e),xc=(()=>{if(kc||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,n)=>e.apply(t,[n]):xc}})());const Ec=new Tt("AnimationModuleType"),Tc=new No("10.2.3"),Sc=new Tt("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let Ic,Ac=(()=>{class t{constructor(t,e,n){this._hasDoneGlobalChecks=!1,this._document=n,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=e,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_getDocument(){const t=this._document||document;return"object"==typeof t&&t?t:null}_getWindow(){const t=this._getDocument(),e=(null==t?void 0:t.defaultView)||window;return"object"==typeof e&&e?e:null}_checksAreEnabled(){return Kn()&&!this._isTestEnv()}_isTestEnv(){const t=this._getWindow();return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){const t=this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype),e=this._getDocument();t&&e&&!e.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){const t=!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme,e=this._getDocument();if(t||!e||!e.body||"function"!=typeof getComputedStyle)return;const n=e.createElement("div");n.classList.add("mat-theme-loaded-marker"),e.body.appendChild(n);const r=getComputedStyle(n);r&&"none"!==r.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),e.body.removeChild(n)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&Tc.full!==bc.full&&console.warn("The Angular Material version ("+Tc.full+") does not match the Angular CDK version ("+bc.full+").\nPlease ensure the versions of these two packages exactly match.")}}return t.\u0275mod=re({type:t}),t.\u0275inj=tt({factory:function(e){return new(e||t)(Rt(yc),Rt(Sc,8),Rt(wl,8))},imports:[[_c],_c]}),t})();function Oc(t,e){return class extends t{constructor(...t){super(...t),this.defaultColor=e,this.color=e}get color(){return this._color}set color(t){const e=t||this.defaultColor;e!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),e&&this._elementRef.nativeElement.classList.add("mat-"+e),this._color=e)}}}try{Ic="undefined"!=typeof Intl}catch(ba){Ic=!1}const Dc=["*",[["mat-toolbar-row"]]],Nc=["*","mat-toolbar-row"];class Pc{constructor(t){this._elementRef=t}}const jc=Oc(Pc);let Mc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=oe({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),t})(),Rc=(()=>{class t extends jc{constructor(t,e,n){super(t),this._platform=e,this._document=n}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return t.\u0275fac=function(e){return new(e||t)(no(So),no(oc),no(wl))},t.\u0275cmp=Xt({type:t,selectors:[["mat-toolbar"]],contentQueries:function(t,e,n){var r,s,o,i,l,c,a;1&t&&(i=n,l=Mc,c=!0,function(t,e,n,r,s,o,i,l){t.firstCreatePass&&(function(t,e,n){null===t.queries&&(t.queries=new Ci),t.queries.track(new ki(e,n))}(t,new xi(n,r,!1,s),i.index),function(t,e){const n=t.contentQueries||(t.contentQueries=[]);e!==(t.contentQueries.length?n[n.length-1]:-1)&&n.push(t.queries.length-1,e)}(t,l)),function(t,e){const n=new bi;Pr(t,e,n,n.destroy),null===e[19]&&(e[19]=new wi),e[19].queries.push(new vi(n))}(t,e)}(Fe(),Ve(),l,c,a,0,He(),i)),2&t&&function(t){const e=Ve(),n=Fe(),r=Je();Ye(r+1);const s=Ii(n,r);if(t.dirty&&Oe(e)===s.metadata.isStatic){if(null===s.matches)t.reset([]);else{const o=s.crossesNgTemplate?function t(e,n,r,s){const o=e.queries.getByIndex(r),i=o.matches;if(null!==i){const l=Si(e,n,o,r);for(let e=0;e0)s.push(l[e/2]);else{const o=i[e+1],l=n[-r];for(let e=10;e0)("mat-toolbar-single-row",0===e._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[Zs],ngContentSelectors:Nc,decls:2,vars:0,template:function(t,e){1&t&&(uo(Dc),ho(0),ho(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}\n"],encapsulation:2,changeDetection:0}),t})(),Vc=(()=>{class t{}return t.\u0275mod=re({type:t}),t.\u0275inj=tt({factory:function(e){return new(e||t)},imports:[[Ac],Ac]}),t})();function Fc(t,e,n,r){var s,o=arguments.length,i=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,n,r);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(o<3?s(i):o>3?s(e,n,i):s(e,n))||i);return o>3&&i&&Object.defineProperty(e,n,i),i}function Hc(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}const Lc=new Tt("NgxLocalstorageConfiguration");let Bc=(()=>{class t{serialize(t){return JSON.stringify(t)}deserialize(t){return JSON.parse(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=X({token:t,factory:t.\u0275fac}),t})();const zc=new Tt("StorageSerializer");let $c=(()=>{class t{constructor(t){if(t)throw new Error("NgxLocalStorageModule is already loaded. Import it in the AppModule only")}static forRoot(e){return{ngModule:t,providers:[{provide:Lc,useValue:e}]}}}return t.\u0275mod=re({type:t}),t.\u0275inj=tt({factory:function(e){return new(e||t)(Rt(t,12))},providers:[{provide:zc,useClass:Bc}],imports:[[]]}),t})();const Zc=(t,e,n,r)=>{const s=t.length-1;for(let o=0;o{const r=e||n;return r?`${r}_${t}`:t},Uc={allowNull:!0},Wc=t=>!!t&&void 0!==t.serialize;class Qc{constructor(t,e){this.configuration=t,this.defaultSerializer=e}count(){return new Promise((t,e)=>{try{t(localStorage.length)}catch(n){e(n)}})}getKey(t){return new Promise((e,n)=>{t<0&&n(new Error("index has to be 0 or greater"));try{e(localStorage.key(t))}catch(r){n(r)}})}set(t,e,n,r){return new Promise((s,o)=>{try{const o="string"==typeof n?n:void 0;if(r=Wc(n)?n:r||this.defaultSerializer,!this.configuration.allowNull&&(this.configuration.allowNull||"null"===e||null==e))return this.remove(t,o);localStorage.setItem(qc(t,o,this.configuration.prefix),r.serialize(e)),s(!0)}catch(i){o(i)}})}get(t,e,n){return new Promise((r,s)=>{try{const s="string"==typeof e?e:void 0;r((n=Wc(e)?e:n||this.defaultSerializer).deserialize(localStorage.getItem(qc(t,s,this.configuration.prefix))))}catch(o){s(o)}})}remove(t,e){return new Promise((n,r)=>{try{localStorage.removeItem(qc(t,e,this.configuration.prefix)),n(!0)}catch(s){r(s)}})}clear(){return new Promise((t,e)=>{try{localStorage.clear(),t(!0)}catch(n){e(n)}})}}let Kc=(()=>{class t{constructor(t,e){this.defaultSerializer=t,this.config=e,this.config=Object.assign(Object.assign({},Uc),e),this.promisable=new Qc(this.config,this.defaultSerializer)}asPromisable(){return this.promisable}count(){try{return localStorage.length}catch(t){console.error(t)}}getKey(t){t<0&&console.error(new Error("index has to be 0 or greater"));try{return localStorage.key(t)}catch(e){console.error(e)}}set(t,e,n,r){const s="string"==typeof n?n:void 0;r=Wc(n)?n:r||this.defaultSerializer,this.config.allowNull||!this.config.allowNull&&"null"!==e&&null!=e?localStorage.setItem(qc(t,s,this.config.prefix),r.serialize(e)):this.remove(t,qc(t,s,this.config.prefix))}get(t,e,n){const r="string"==typeof e?e:void 0;n=Wc(e)?e:n||this.defaultSerializer;try{return n.deserialize(localStorage.getItem(qc(t,r,this.config.prefix)))}catch(s){console.error(s)}}remove(t,e){try{localStorage.removeItem(qc(t,e,this.config.prefix))}catch(n){console.error(n)}}clear(){try{localStorage.clear()}catch(t){console.error(t)}}}return t.\u0275fac=function(e){return new(e||t)(Rt(zc),Rt(Lc))},t.\u0275prov=X({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class Gc extends C{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new v;return this._value}next(t){super.next(this._value=t)}}function Jc(t,e,n,s){return r(n)&&(s=n,n=void 0),s?Jc(t,e,n).pipe(E(t=>c(t)?s(...t):s(t))):new _(r=>{!function t(e,n,r,s,o){let i;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){const t=e;e.addEventListener(n,r,o),i=()=>t.removeEventListener(n,r,o)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){const t=e;e.on(n,r),i=()=>t.off(n,r)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){const t=e;e.addListener(n,r),i=()=>t.removeListener(n,r)}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let i=0,l=e.length;i1?Array.prototype.slice.call(arguments):t)}),r,n)})}let Yc=(()=>{class t{constructor(){this._eventStream=new Gc(null),this.subscription=Jc(window,"storage").subscribe(t=>this._eventStream.next(t))}get stream(){return this._eventStream.asObservable().pipe(pc(t=>!!t),$())}ngOnDestroy(){this.subscription&&!this.subscription.closed&&this.subscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=X({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Xc=(()=>{class t{constructor(t,e,n){this.er=t,this.lss=e,this.es=n,this.lsDebounce=0,this.lsInitFromStorage=!1,this.lsStoredValue=new yi,this._valuePath=[],this.es.stream.pipe(pc(t=>t.key&&t.key.indexOf(this.lsKey)>=0)).subscribe(t=>{Zc(this._valuePath.length?this._valuePath:["value"],t.newValue,this.er.nativeElement,this.lsFalsyTransformer)})}set lsValuePath(t){this._valuePath=null!=t?Array.isArray(t)?t:t.split(","):[]}ngAfterViewInit(){this._initKey(),this._initFromStorage(),this._hookEvent()}_initKey(){if(!this.lsKey){if(!this.er.nativeElement.id&&!this.er.nativeElement.name)throw new Error("No key or element id or name supplied!");this.lsKey=this.er.nativeElement.id||this.er.nativeElement.name}}_hookEvent(){this.lsEvent&&(this._eventSubscription=Jc(this.er.nativeElement,this.lsEvent).pipe(function(t,e=uc){return n=>n.lift(new hc(t,e))}(this.lsDebounce)).subscribe(()=>{var t,e;this.lss.asPromisable().set(this.lsKey,(t=this._valuePath.length?this._valuePath:["value"],e=this.er.nativeElement,t.reduce((t,e)=>t?t[e]:null,e)),this.lsPrefix).then(()=>{this.lss.asPromisable().get(this.lsKey,this.lsPrefix).then(t=>{this.lsStoredValue.emit(t)}).catch(t=>console.error(t))}).catch(t=>console.error(t))}))}_initFromStorage(){this.lsInitFromStorage&&this.lss.asPromisable().get(this.lsKey,this.lsPrefix).then(t=>{Zc(this._valuePath.length?this._valuePath:["value"],t,this.er.nativeElement,this.lsFalsyTransformer)}).catch(t=>console.error(t))}ngOnDestroy(){this._eventSubscription&&!this._eventSubscription.closed&&this._eventSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(no(So),no(Kc),no(Yc))},t.\u0275dir=oe({type:t,selectors:[["","ngxLocalStorage",""]],inputs:{lsKey:["ngxLocalStorage","lsKey"],lsPrefix:"lsPrefix",lsEvent:"lsEvent",lsDebounce:"lsDebounce",lsInitFromStorage:"lsInitFromStorage",lsFalsyTransformer:"lsFalsyTransformer",lsValuePath:"lsValuePath"},outputs:{lsStoredValue:"lsStoredValue"}}),t})();function ta(t){return function(e,n){const r=t&&t.key?t.key:n,s=t&&t.prefix?t.prefix:null,o=new Kc(new Bc,{prefix:s});(new Yc).stream.pipe(pc(t=>t.key&&t.key.indexOf(qc(r,s))>=0)).subscribe(r=>{r.newValue&&"string"==typeof r.newValue&&(e[n]="null"!==r.newValue?r.newValue:t.nullTransformer?t.nullTransformer():null)}),Object.defineProperty(e,n,{get:function(){const e=o.get(r,s);return null==e&&t.nullTransformer?t.nullTransformer():e},set:function(t){o.set(r,t,s)}})}}const ea=["*",[["mat-card-footer"]]],na=["*","mat-card-footer"],ra=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],sa=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"];let oa=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=oe({type:t,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),t})(),ia=(()=>{class t{constructor(t){this._animationMode=t}}return t.\u0275fac=function(e){return new(e||t)(no(Ec,8))},t.\u0275cmp=Xt({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(t,e){2&t&&go("_mat-animation-noopable","NoopAnimations"===e._animationMode)},exportAs:["matCard"],ngContentSelectors:na,decls:2,vars:0,template:function(t,e){1&t&&(uo(ea),ho(0),ho(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child,.mat-card-actions .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),t})(),la=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Xt({type:t,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:sa,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(t,e){1&t&&(uo(ra),ho(0),oo(1,"div",0),ho(2,1),io(),ho(3,2))},encapsulation:2,changeDetection:0}),t})(),ca=(()=>{class t{}return t.\u0275mod=re({type:t}),t.\u0275inj=tt({factory:function(e){return new(e||t)},imports:[[Ac],Ac]}),t})(),aa=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Xt({type:t,selectors:[["app-decorator"]],decls:23,vars:2,consts:[[1,"demo-card"],[1,"mat-title"],[1,"demo-card__content"],[1,"mat-body-2"],[1,"demo-card__content__description","mat-subheading-2"]],template:function(t,e){1&t&&(oo(0,"mat-card",0),oo(1,"mat-card-header",1),wo(2," Decorator "),io(),oo(3,"mat-card-content",2),oo(4,"p",3),wo(5,"Code inside component:"),io(),oo(6,"code"),wo(7," @ngxLocalStorage({key: 'cbox1', nullTransformer: () => false})"),lo(8,"br"),wo(9," boundBoolean: boolean;"),lo(10,"br"),lo(11,"br"),wo(12," @ngxLocalStorage({key: 'txt1', prefix: 'demo'})"),lo(13,"br"),wo(14," boundText: string; "),io(),oo(15,"p",3),wo(16,"Result:"),io(),oo(17,"code"),wo(18),lo(19,"br"),wo(20),io(),oo(21,"p",4),wo(22," Using this property decorator will init the property value from the localstorage. The storage key is either resolved by the given key or using the propery name. "),io(),io(),io()),2&t&&(fr(18),xo(" boundBoolean: ",e.boundBoolean,""),fr(2),xo(" boundText: ",e.boundText," "))},directives:[ia,la,oa],styles:[".demo-card__content[_ngcontent-%COMP%]{margin:1em 2em}.demo-card__content__description[_ngcontent-%COMP%]{margin:1em 0 0 -1em}"]}),Fc([ta({key:"cbox1",nullTransformer:()=>!1}),Hc("design:type",Boolean)],t.prototype,"boundBoolean",void 0),Fc([ta({key:"txt1",prefix:"demo"}),Hc("design:type",String)],t.prototype,"boundText",void 0),t})();const ua=function(){return["checked"]},ha=function(){return["value"]};let da=(()=>{class t{constructor(){this.defaultFalsyTransformer=()=>!1}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Xt({type:t,selectors:[["app-directive"]],decls:30,vars:5,consts:[[1,"demo-card"],[1,"mat-title"],[1,"demo-card__content"],[1,"mat-body-2"],[1,"demo-card__content__code-sample"],["type","checkbox","id","cbox1","ngxLocalStorage","","lsInitFromStorage","true","lsEvent","change",3,"lsValuePath","lsFalsyTransformer"],["for","cbox1"],["for","txt1"],["type","text","id","txt1","ngxLocalStorage","","lsPrefix","demo","lsInitFromStorage","true","lsEvent","input",3,"lsValuePath"],[1,"demo-card__content__description","mat-subheading-2"]],template:function(t,e){1&t&&(oo(0,"mat-card",0),oo(1,"mat-card-header",1),wo(2," Directive "),io(),oo(3,"mat-card-content",2),oo(4,"p",3),wo(5,"Code inside component template:"),io(),oo(6,"code",4),wo(7,' '),lo(8,"br"),wo(9,' '),lo(10,"br"),lo(11,"br"),wo(12,' '),lo(13,"br"),wo(14,' '),io(),oo(15,"p",3),wo(16,"Code inside component:"),io(),oo(17,"code"),wo(18," defaultFalsyTransformer: () => any = () => false; "),io(),oo(19,"p",3),wo(20,"Result:"),io(),lo(21,"input",5),oo(22,"label",6),wo(23,"Checkbox"),io(),lo(24,"br"),oo(25,"label",7),wo(26,"Text"),io(),lo(27,"input",8),oo(28,"p",9),wo(29," Using the 'ngxLocalStorage' directive you can bind template controls to localstorage values. "),io(),io(),io()),2&t&&(fr(21),ro("lsValuePath",mi(3,ua))("lsFalsyTransformer",e.defaultFalsyTransformer),fr(6),ro("lsValuePath",mi(4,ha)))},directives:[ia,la,oa,Xc],styles:[".demo-card__content[_ngcontent-%COMP%]{margin:1em 2em}.demo-card__content__description[_ngcontent-%COMP%]{margin:1em 0 0 -1em}"]}),t})(),fa=(()=>{class t{constructor(t){this.lss=t,this.entryCount=0,this.lss.set("demo-key",{id:1,name:"John Doe"})}ngOnInit(){this.entryCount=this.lss.count(),this.storedObject=this.lss.get("demo-key")}}return t.\u0275fac=function(e){return new(e||t)(no(Kc))},t.\u0275cmp=Xt({type:t,selectors:[["app-storage-service"]],decls:39,vars:4,consts:[[1,"demo-card"],[1,"mat-title"],[1,"demo-card__content"],[1,"mat-body-2"]],template:function(t,e){1&t&&(oo(0,"mat-card",0),oo(1,"mat-card-header",1),wo(2," LocalStorageService "),io(),oo(3,"mat-card-content",2),oo(4,"p",3),wo(5,"Code inside component:"),io(),oo(6,"code"),wo(7," entryCount: number = 0;"),lo(8,"br"),lo(9,"br"),wo(10," constructor(private lss: LocalStorageService) { }"),lo(11,"br"),lo(12,"br"),wo(13," ngOnInit() {"),lo(14,"br"),wo(15," this.entryCount = this.lss.count()"),lo(16,"br"),wo(17," } "),io(),oo(18,"p",3),wo(19,"Result:"),io(),oo(20,"code"),wo(21),io(),oo(22,"p",3),wo(23,"Store values using the service:"),io(),oo(24,"code"),wo(25," constructor(private lss: LocalStorageService) {"),lo(26,"br"),wo(27," this.lss.set('demo-key', { id: 1, name: 'John Doe' })"),lo(28,"br"),wo(29," } "),io(),oo(30,"p",3),wo(31,"Read values using the service:"),io(),oo(32,"code"),wo(33," this.lss.get('demo-key') as { id: number; name: string; }; "),io(),oo(34,"pre"),wo(35),function(t,e){const n=Fe();let r;n.firstCreatePass?(r=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const t=e[n];if("json"===t.name)return t}throw new Error("The pipe 'json' could not be found!")}(0,n.pipeRegistry),n.data[56]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(56,r.onDestroy)):r=n.data[56];const s=r.factory||(r.factory=ce(r.type)),o=jt(no);try{const t=In(!1),e=s();In(t),function(t,e,n,r){56>=t.data.length&&(t.data[56]=null,t.blueprint[56]=null),e[56]=r}(n,Ve(),0,e)}finally{jt(o)}}(),io(),oo(37,"p",3),wo(38,"Result:"),io(),io(),io()),2&t&&(fr(21),xo(" entryCount: ",e.entryCount," "),fr(14),xo(" ",gi(36,2,e.storedObject),"\n "))},directives:[ia,la,oa],pipes:[Il],styles:[".demo-card__content[_ngcontent-%COMP%]{margin:1em 2em}.demo-card__content__description[_ngcontent-%COMP%]{margin:1em 0 0 -1em}"]}),t})();function pa(t,e){if(1&t&&(oo(0,"p"),wo(1),io()),2&t){const t=e.$implicit;fr(1),Co(' { "key": "',t.key,'"; "oldValue": "',t.oldValue,'"; "newValue": "',t.newValue,'" } ')}}let ma=(()=>{class t{constructor(t){this.es=t,this.$events=[],this.es.stream.subscribe(t=>{this.$events=[...this.$events,t],console.log("events: ",this.$events)})}}return t.\u0275fac=function(e){return new(e||t)(no(Yc))},t.\u0275cmp=Xt({type:t,selectors:[["app-event-service"]],decls:22,vars:1,consts:[[1,"demo-card"],[1,"mat-title"],[1,"demo-card__content"],[1,"mat-body-2"],[1,"demo-card__content__code-sample"],[4,"ngFor","ngForOf"],[1,"demo-card__content__description","mat-subheading-2"]],template:function(t,e){1&t&&(oo(0,"mat-card",0),oo(1,"mat-card-header",1),wo(2," EventServiceComponent "),io(),oo(3,"mat-card-content",2),oo(4,"p",3),wo(5,"Code inside component:"),io(),oo(6,"code",4),wo(7," $events: StorageEvent[] = [];"),lo(8,"br"),lo(9,"br"),wo(10," constructor(private es: StorageEventService) {"),lo(11,"br"),wo(12," this.es.stream"),lo(13,"br"),wo(14," .subscribe(e => this.$events = [...this.$events, e]);"),lo(15,"br"),wo(16," } "),io(),oo(17,"p",3),wo(18,"Result (modify text or checkbox in another tab):"),io(),function(t,e,n,r,s,o,i,l){const c=Ve(),a=Fe(),u=a.firstCreatePass?function(t,e,n,r,s,o,i,l,c){const a=e.consts,u=kr(e,19,0,"p",Ne(a,5));Mr(e,n,u,Ne(a,undefined)),an(e,u);const h=u.tViews=Nr(2,u,r,2,3,e.directiveRegistry,e.pipeRegistry,null,e.schemas,a);return null!==e.queries&&(e.queries.template(e,u),h.queries=e.queries.embeddedTView(u)),u}(0,a,c,e):a.data[39];Le(u,!1);const h=c[11].createComment("");ps(a,c,h,u),Gn(h,c),Gr(c,c[39]=Wr(h,c,h,u)),pe(u)&&Ar(a,c,u)}(0,pa),oo(20,"p",6),wo(21," Using the 'EventServiceComponent' to receive a stream of storage events. "),io(),io(),io()),2&t&&(fr(19),ro("ngForOf",e.$events))},directives:[ia,la,oa,Tl],styles:[".demo-card__content[_ngcontent-%COMP%]{margin:1em 2em}.demo-card__content__description[_ngcontent-%COMP%]{margin:1em 0 0 -1em}"]}),t})(),ga=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Xt({type:t,selectors:[["app-root"]],decls:8,vars:0,consts:[[1,"app"],["color","primary",1,"app__toolbar"],[1,"app__content"]],template:function(t,e){1&t&&(oo(0,"div",0),oo(1,"mat-toolbar",1),wo(2," ngx-localstorage "),io(),oo(3,"div",2),lo(4,"app-decorator"),lo(5,"app-directive"),lo(6,"app-storage-service"),lo(7,"app-event-service"),io(),io())},directives:[Rc,aa,da,fa,ma],styles:['.app[_ngcontent-%COMP%]{display:grid;grid-template-areas:"toolbar" "content";grid-template-rows:auto 1fr;height:100vh}.app__toolbar[_ngcontent-%COMP%]{grid-area:toolbar}.app__content[_ngcontent-%COMP%]{grid-area:content;padding:.5em}.app__content[_ngcontent-%COMP%] mat-card{margin-bottom:.5em}']}),t})(),ya=(()=>{class t{}return t.\u0275mod=re({type:t}),t.\u0275inj=tt({factory:function(e){return new(e||t)},imports:[[Al,ca,$c.forRoot({})]]}),t})(),_a=(()=>{class t{}return t.\u0275mod=re({type:t,bootstrap:[ga]}),t.\u0275inj=tt({factory:function(e){return new(e||t)},providers:[],imports:[[sc,Vc,ya]]}),t})();(function(){if(Qn)throw new Error("Cannot enable prod mode after platform setup.");Wn=!1})(),ec().bootstrapModule(_a).catch(t=>console.log(t))},zn8P:function(t,e){function n(t){return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}))}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="zn8P"}},[[0,0]]]); \ No newline at end of file diff --git a/docs/main-es2015.6147e374df454ce563b0.js b/docs/main-es2015.6147e374df454ce563b0.js deleted file mode 100644 index a365644..0000000 --- a/docs/main-es2015.6147e374df454ce563b0.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(t,e,n){t.exports=n("zUnb")},zUnb:function(t,e,n){"use strict";function r(t){return"function"==typeof t}n.r(e);let s=!1;const o={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else s&&console.log("RxJS: Back to a better error behavior. Thank you. <3");s=t},get useDeprecatedSynchronousErrorHandling(){return s}};function i(t){setTimeout(()=>{throw t},0)}const l={closed:!0,next(t){},error(t){if(o.useDeprecatedSynchronousErrorHandling)throw t;i(t)},complete(){}},a=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))();function c(t){return null!==t&&"object"==typeof t}const u=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();let h=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_unsubscribe:s,_subscriptions:o}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(let t=0;tt.concat(e instanceof u?e.errors:e),[])}const f=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class p extends h{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=l;break;case 1:if(!t){this.destination=l;break}if("object"==typeof t){t instanceof p?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new m(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new m(this,t,e,n)}}[f](){return this}static create(t,e,n){const r=new p(t,e,n);return r.syncErrorThrowable=!1,r}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class m extends p{constructor(t,e,n,s){let o;super(),this._parentSubscriber=t;let i=this;r(e)?o=e:e&&(o=e.next,n=e.error,s=e.complete,e!==l&&(i=Object.create(e),r(i.unsubscribe)&&this.add(i.unsubscribe.bind(i)),i.unsubscribe=this.unsubscribe.bind(this))),this._context=i,this._next=o,this._error=n,this._complete=s}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;o.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=o;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):i(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;i(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);o.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),o.useDeprecatedSynchronousErrorHandling)throw n;i(n)}}__tryOrSetError(t,e,n){if(!o.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(r){return o.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(i(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const g=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function y(){}let _=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:r}=this,s=function(t,e,n){if(t){if(t instanceof p)return t;if(t[f])return t[f]()}return t||e||n?new p(t,e,n):new p(l)}(t,e,n);if(s.add(r?r.call(s,this.source):this.source||o.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),o.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(t){try{return this._subscribe(t)}catch(e){o.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:r}=t;if(e||r)return!1;t=n&&n instanceof p?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=w(e))((e,n)=>{let r;r=this.subscribe(e=>{try{t(e)}catch(s){n(s),r&&r.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[g](){return this}pipe(...t){return 0===t.length?this:((e=t)?1===e.length?e[0]:function(t){return e.reduce((t,e)=>e(t),t)}:y)(this);var e}toPromise(t){return new(t=w(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function w(t){if(t||(t=o.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const b=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class v extends h{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}class x extends p{constructor(t){super(t),this.destination=t}}let C=(()=>{class t extends _{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[f](){return new x(this)}lift(t){const e=new k(this,this);return e.operator=t,e}next(t){if(this.closed)throw new b;if(!this.isStopped){const{observers:e}=this,n=e.length,r=e.slice();for(let s=0;snew k(t,e),t})();class k extends C{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):h.EMPTY}}class E extends p{constructor(t,e,n){super(),this.parent=t,this.outerValue=e,this.outerIndex=n,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}const S=t=>e=>{for(let n=0,r=t.length;n{if(t&&"function"==typeof t[g])return o=t,t=>{const e=o[g]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if((e=t)&&"number"==typeof e.length&&"function"!=typeof e)return S(t);var e,n,r,s,o;if((n=t)&&"function"!=typeof n.subscribe&&"function"==typeof n.then)return s=t,t=>(s.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,i),t);if(t&&"function"==typeof t[I])return r=t,t=>{const e=r[I]();for(;;){const n=e.next();if(n.done){t.complete();break}if(t.next(n.value),t.closed)break}return"function"==typeof e.return&&t.add(()=>{e.return&&e.return()}),t};{const e=c(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected.`+" You can provide an Observable, Promise, Array, or Iterable.")}};class O extends p{notifyNext(t,e,n,r,s){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}function D(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new N(t,e))}}class N{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new P(t,this.project,this.thisArg))}}class P extends p{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}class M{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new V(t,this.project,this.concurrent))}}class V extends O{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function j(t){return t}function R(){return function(t){return t.lift(new F(t))}}class F{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const r=new H(t,n),s=e.subscribe(r);return r.closed||(r.connection=n.connect()),s}}class H extends p{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}class L extends _{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new h,t.add(this.source.subscribe(new $(this.getSubject(),this))),t.closed&&(this._connection=null,t=h.EMPTY)),t}refCount(){return R()(this)}}const B=(()=>{const t=L.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class $ extends x{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}function z(){return new C}function Z(){return t=>{return R()((e=z,function(t){let n;n="function"==typeof e?e:function(){return e};const r=Object.create(t,B);return r.source=t,r.subjectFactory=n,r})(t));var e}}function q(t){return{toString:t}.toString()}function U(t,e,n){return q(()=>{const r=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function s(...t){if(this instanceof s)return r.apply(this,t),this;const e=new s(...t);return n.annotation=e,n;function n(t,n,r){const s=t.hasOwnProperty("__parameters__")?t.__parameters__:Object.defineProperty(t,"__parameters__",{value:[]}).__parameters__;for(;s.length<=r;)s.push(null);return(s[r]=s[r]||[]).push(e),t}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=t,s.annotationCls=s,s})}const Q=U("Inject",t=>({token:t})),W=U("Optional"),K=U("Self"),G=U("SkipSelf");var J=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});function Y(t){for(let e in t)if(t[e]===Y)return e;throw Error("Could not find renamed property on target object.")}function X(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function tt(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function et(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function nt(t){return rt(t,t[ot])||rt(t,t[at])}function rt(t,e){return e&&e.token===t?e:null}function st(t){return t&&(t.hasOwnProperty(it)||t.hasOwnProperty(ct))?t[it]:null}const ot=Y({"\u0275prov":Y}),it=Y({"\u0275inj":Y}),lt=Y({"\u0275provFallback":Y}),at=Y({ngInjectableDef:Y}),ct=Y({ngInjectorDef:Y});function ut(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(ut).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function ht(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const dt=Y({__forward_ref__:Y});function ft(t){return t.__forward_ref__=ft,t.toString=function(){return ut(this())},t}function pt(t){return"function"==typeof(e=t)&&e.hasOwnProperty(dt)&&e.__forward_ref__===ft?t():t;var e}const mt="undefined"!=typeof globalThis&&globalThis,gt="undefined"!=typeof window&&window,yt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,_t="undefined"!=typeof global&&global,wt=mt||_t||gt||yt,bt=Y({"\u0275cmp":Y}),vt=Y({"\u0275dir":Y}),xt=Y({"\u0275pipe":Y}),Ct=Y({"\u0275mod":Y}),kt=Y({"\u0275loc":Y}),Et=Y({"\u0275fac":Y}),St=Y({__NG_ELEMENT_ID__:Y});class Tt{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=tt({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const It=new Tt("INJECTOR",-1),At={},Ot=/\n/gm,Dt=Y({provide:String,useValue:Y});let Nt,Pt=void 0;function Mt(t){const e=Pt;return Pt=t,e}function Vt(t){const e=Nt;return Nt=t,e}function jt(t,e=J.Default){if(void 0===Pt)throw new Error("inject() must be called from an injection context");return null===Pt?Ft(t,void 0,e):Pt.get(t,e&J.Optional?null:void 0,e)}function Rt(t,e=J.Default){return(Nt||jt)(pt(t),e)}function Ft(t,e,n){const r=nt(t);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&J.Optional)return null;if(void 0!==e)return e;throw new Error(`Injector: NOT_FOUND [${ut(t)}]`)}function Ht(t){const e=[];for(let n=0;nArray.isArray(t)?$t(t,e):e(t))}function zt(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Zt(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function qt(t,e){const n=[];for(let r=0;r=0?t[1|r]=n:(r=~r,function(t,e,n,r){let s=t.length;if(s==e)t.push(n,r);else if(1===s)t.push(r,t[0]),t[0]=n;else{for(s--,t.push(t[s-1],t[s]);s>e;)t[s]=t[s-2],s--;t[e]=n,t[e+1]=r}}(t,r,e,n)),r}function Qt(t,e){const n=Wt(t,e);if(n>=0)return t[1|n]}function Wt(t,e){return function(t,e,n){let r=0,s=t.length>>1;for(;s!==r;){const n=r+(s-r>>1),o=t[n<<1];if(e===o)return n<<1;o>e?s=n:r=n+1}return~(s<<1)}(t,e)}const Kt=function(){var t={OnPush:0,Default:1};return t[t.OnPush]="OnPush",t[t.Default]="Default",t}(),Gt=function(){var t={Emulated:0,Native:1,None:2,ShadowDom:3};return t[t.Emulated]="Emulated",t[t.Native]="Native",t[t.None]="None",t[t.ShadowDom]="ShadowDom",t}(),Jt={},Yt=[];let Xt=0;function te(t){return q(()=>{const e=t.type,n=e.prototype,r={},s={type:e,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:t.exportAs||null,onChanges:null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:t.changeDetection===Kt.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||Yt,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||Gt.Emulated,id:"c",styles:t.styles||Yt,_:null,setInput:null,schemas:t.schemas||null,tView:null},o=t.directives,i=t.features,l=t.pipes;return s.id+=Xt++,s.inputs=oe(t.inputs,r),s.outputs=oe(t.outputs),i&&i.forEach(t=>t(s)),s.directiveDefs=o?()=>("function"==typeof o?o():o).map(ee):null,s.pipeDefs=l?()=>("function"==typeof l?l():l).map(ne):null,s})}function ee(t){return ae(t)||function(t){return t[vt]||null}(t)}function ne(t){return function(t){return t[xt]||null}(t)}const re={};function se(t){const e={type:t.type,bootstrap:t.bootstrap||Yt,declarations:t.declarations||Yt,imports:t.imports||Yt,exports:t.exports||Yt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&q(()=>{re[t.id]=t.type}),e}function oe(t,e){if(null==t)return Jt;const n={};for(const r in t)if(t.hasOwnProperty(r)){let s=t[r],o=s;Array.isArray(s)&&(o=s[1],s=s[0]),n[s]=r,e&&(e[s]=o)}return n}const ie=te;function le(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function ae(t){return t[bt]||null}function ce(t,e){return t.hasOwnProperty(Et)?t[Et]:null}function ue(t,e){const n=t[Ct]||null;if(!n&&!0===e)throw new Error(`Type ${ut(t)} does not have '\u0275mod' property.`);return n}function he(t){return Array.isArray(t)&&"object"==typeof t[1]}function de(t){return Array.isArray(t)&&!0===t[1]}function fe(t){return 0!=(8&t.flags)}function pe(t){return 2==(2&t.flags)}function me(t){return 1==(1&t.flags)}function ge(t){return null!==t.template}function ye(t){return 0!=(512&t[2])}const _e={lFrame:Fe(null),bindingsEnabled:!0,checkNoChangesMode:!1};function we(){return _e.bindingsEnabled}function be(){return _e.lFrame.lView}function ve(){return _e.lFrame.tView}function xe(){return _e.lFrame.previousOrParentTNode}function Ce(t,e){_e.lFrame.previousOrParentTNode=t,_e.lFrame.isParent=e}function ke(){return _e.lFrame.isParent}function Ee(){_e.lFrame.isParent=!1}function Se(){return _e.checkNoChangesMode}function Te(t){_e.checkNoChangesMode=t}function Ie(){const t=_e.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Ae(){return _e.lFrame.bindingIndex}function Oe(){return _e.lFrame.bindingIndex++}function De(t){const e=_e.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function Ne(t,e){const n=_e.lFrame;n.bindingIndex=n.bindingRootIndex=t,n.currentDirectiveIndex=e}function Pe(){return _e.lFrame.currentQueryIndex}function Me(t){_e.lFrame.currentQueryIndex=t}function Ve(t,e){const n=Re();_e.lFrame=n,n.previousOrParentTNode=e,n.lView=t}function je(t,e){const n=Re(),r=t[1];_e.lFrame=n,n.previousOrParentTNode=e,n.lView=t,n.tView=r,n.contextLView=t,n.bindingIndex=r.bindingStartIndex}function Re(){const t=_e.lFrame,e=null===t?null:t.child;return null===e?Fe(t):e}function Fe(t){const e={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentSanitizer:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null};return null!==t&&(t.child=e),e}function He(){const t=_e.lFrame;return _e.lFrame=t.parent,t.previousOrParentTNode=null,t.lView=null,t}const Le=He;function Be(){const t=He();t.isParent=!0,t.tView=null,t.selectedIndex=0,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.currentSanitizer=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function $e(){return _e.lFrame.selectedIndex}function ze(t){_e.lFrame.selectedIndex=t}function Ze(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n=r)break}else e[i]<0&&(t[18]+=65536),(o>10>16&&(3&t[2])===e&&(t[2]+=1024,o.call(i)):o.call(i)}class Ge{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}let Je=void 0;function Ye(t){return!!t.listen}const Xe={createRenderer:(t,e)=>void 0!==Je?Je:"undefined"!=typeof document?document:void 0};function tn(t,e,n){const r=Ye(t);let s=0;for(;se){i=o-1;break}}}for(;o>16}function an(t,e){let n=ln(t),r=e;for(;n>0;)r=r[15],n--;return r}function cn(t){return"string"==typeof t?t:null==t?"":""+t}function un(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():cn(t)}const hn=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(wt))();function dn(t){return t instanceof Function?t():t}let fn=!0;function pn(t){const e=fn;return fn=t,e}let mn=0;function gn(t,e){const n=_n(t,e);if(-1!==n)return n;const r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,yn(r.data,t),yn(e,null),yn(r.blueprint,null));const s=wn(t,e),o=t.injectorIndex;if(sn(s)){const t=on(s),n=an(s,e),r=n[1].data;for(let s=0;s<8;s++)e[o+s]=n[t+s]|r[t+s]}return e[o+8]=s,o}function yn(t,e){t.push(0,0,0,0,0,0,0,0,e)}function _n(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null==e[t.injectorIndex+8]?-1:t.injectorIndex}function wn(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=e[6],r=1;for(;n&&-1===n.injectorIndex;)n=(e=e[15])?e[6]:null,r++;return n?n.injectorIndex|r<<16:-1}function bn(t,e,n){!function(t,e,n){let r="string"!=typeof n?n[St]:n.charCodeAt(0)||0;null==r&&(r=n[St]=mn++);const s=255&r,o=1<0?255&e:e}(n);if("function"==typeof s){Ve(e,t);try{const t=s();if(null!=t||r&J.Optional)return t;throw new Error(`No provider for ${un(n)}!`)}finally{Le()}}else if("number"==typeof s){if(-1===s)return new In(t,e);let o=null,i=_n(t,e),l=-1,a=r&J.Host?e[16][6]:null;for((-1===i||r&J.SkipSelf)&&(l=-1===i?wn(t,e):e[i+8],Tn(r,!1)?(o=e[1],i=on(l),e=an(l,e)):i=-1);-1!==i;){l=e[i+8];const t=e[1];if(Sn(s,i,t.data)){const t=Cn(i,e,n,o,r,a);if(t!==xn)return t}Tn(r,e[1].data[i+8]===a)&&Sn(s,i,e)?(o=t,i=on(l),e=an(l,e)):i=-1}}}if(r&J.Optional&&void 0===s&&(s=null),0==(r&(J.Self|J.Host))){const t=e[9],o=Vt(void 0);try{return t?t.get(n,s,r&J.Optional):Ft(n,s,r&J.Optional)}finally{Vt(o)}}if(r&J.Optional)return s;throw new Error(`NodeInjector: NOT_FOUND [${un(n)}]`)}const xn={};function Cn(t,e,n,r,s,o){const i=e[1],l=i.data[t+8],a=kn(l,i,n,null==r?pe(l)&&fn:r!=i&&3===l.type,s&J.Host&&o===l);return null!==a?En(e,i,a,l):xn}function kn(t,e,n,r,s){const o=t.providerIndexes,i=e.data,l=65535&o,a=t.directiveStart,c=o>>16,u=s?l+c:t.directiveEnd;for(let h=r?l:l+c;h=a&&t.type===n)return h}if(s){const t=i[a];if(t&&ge(t)&&t.type===n)return a}return null}function En(t,e,n,r){let s=t[n];const o=e.data;if(s instanceof Ge){const i=s;if(i.resolving)throw new Error(`Circular dep for ${un(o[n])}`);const l=pn(i.canSeeViewProviders);let a;i.resolving=!0,i.injectImpl&&(a=Vt(i.injectImpl)),Ve(t,r);try{s=t[n]=i.factory(void 0,o,t,r),e.firstCreatePass&&n>=r.directiveStart&&function(t,e,n){const{onChanges:r,onInit:s,doCheck:o}=e;r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r)),s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-t,s),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,o))}(n,o[n],e)}finally{i.injectImpl&&Vt(a),pn(l),i.resolving=!1,Le()}}return s}function Sn(t,e,n){const r=64&t,s=32&t;let o;return o=128&t?r?s?n[e+7]:n[e+6]:s?n[e+5]:n[e+4]:r?s?n[e+3]:n[e+2]:s?n[e+1]:n[e],!!(o&1<o?"":s[u+1].toLowerCase();const e=8&r?t:null;if(e&&-1!==Kn(e,c,0)||2&r&&c!==t){if(Xn(r))return!1;i=!0}}}}else{if(!i&&!Xn(r)&&!Xn(a))return!1;if(i&&Xn(a))continue;i=!1,r=a|1&r}}return Xn(r)||i}function Xn(t){return 0==(1&t)}function tr(t,e,n,r){if(null===e)return-1;let s=0;if(r||!n){let n=!1;for(;s-1)for(n++;n0?'="'+e+'"':"")+"]"}else 8&r?s+="."+i:4&r&&(s+=" "+i);else""===s||Xn(i)||(e+=rr(o,s),s=""),r=i,o=o||!Xn(r);n++}return""!==s&&(e+=rr(o,s)),e}const or={};function ir(t){const e=t[3];return de(e)?e[3]:e}function lr(t){ar(ve(),be(),$e()+t,Se())}function ar(t,e,n,r){if(!r)if(3==(3&e[2])){const r=t.preOrderCheckHooks;null!==r&&qe(e,r,n)}else{const r=t.preOrderHooks;null!==r&&Ue(e,r,0,n)}ze(n)}function cr(t,e){return t<<17|e<<2}function ur(t){return t>>17&32767}function hr(t){return 2|t}function dr(t){return(131068&t)>>2}function fr(t,e){return-131069&t|e<<2}function pr(t){return 1|t}function mr(t,e){const n=t.contentQueries;if(null!==n)for(let r=0;r>1==-1){for(let t=9;t19&&ar(t,e,0,Se()),n(r,s)}finally{ze(o)}}function Cr(t,e,n){we()&&(function(t,e,n,r){const s=n.directiveStart,o=n.directiveEnd;t.firstCreatePass||gn(n,e),Un(r,e);const i=n.initialInputs;for(let l=s;lPromise.resolve(null))();function Gr(t){return t[7]||(t[7]=[])}function Jr(t){return t.cleanup||(t.cleanup=[])}function Yr(t,e,n,r,s){for(let o=0;o0&&(t[n-1][4]=r[4]);const o=Zt(t,9+e);rs(r[1],r,!1,null);const i=o[5];null!==i&&i.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function is(t,e){if(!(256&e[2])){const n=e[11];Ye(n)&&n.destroyNode&&_s(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return as(t[1],t);for(;e;){let n=null;if(he(e))n=e[13];else{const t=e[9];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)he(e)&&as(e[1],e),e=ls(e,t);null===e&&(e=t),he(e)&&as(e[1],e),n=e&&e[4]}e=n}}(e)}}function ls(t,e){let n;return he(t)&&(n=t[6])&&2===n.type?ts(n,t):t[3]===e?null:t[3]}function as(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let r=0;r=0?t[l]():t[-l].unsubscribe(),r+=2}else n[r].call(t[n[r+1]]);e[7]=null}}(t,e);const n=e[6];n&&3===n.type&&Ye(e[11])&&e[11].destroy();const r=e[17];if(null!==r&&de(e[3])){r!==e[3]&&ss(r,e);const n=e[5];null!==n&&n.detachView(t)}}}function cs(t,e,n){let r=e.parent;for(;null!=r&&(4===r.type||5===r.type);)r=(e=r).parent;if(null==r){const t=n[6];return 2===t.type?es(t,n):n[0]}if(e&&5===e.type&&4&e.flags)return Fn(e,n).parentNode;if(2&r.flags){const e=t.data,n=e[e[r.index].directiveStart].encapsulation;if(n!==Gt.ShadowDom&&n!==Gt.Native)return null}return Fn(r,n)}function us(t,e,n,r){Ye(t)?t.insertBefore(e,n,r):e.insertBefore(n,r,!0)}function hs(t,e,n){Ye(t)?t.appendChild(e,n):e.appendChild(n)}function ds(t,e,n,r){null!==r?us(t,e,n,r):hs(t,e,n)}function fs(t,e){return Ye(t)?t.parentNode(e):e.parentNode}function ps(t,e){if(2===t.type){const n=ts(t,e);return null===n?null:gs(n.indexOf(e,9)-9,n)}return 4===t.type||5===t.type?Fn(t,e):null}function ms(t,e,n,r){const s=cs(t,r,e);if(null!=s){const t=e[11],o=ps(r.parent||e[6],e);if(Array.isArray(n))for(let e=0;e-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}is(this._lView[1],this._lView)}onDestroy(t){var e,n,r;e=this._lView[1],r=t,Gr(n=this._lView).push(r),e.firstCreatePass&&Jr(e).push(n[7].length-1,null)}markForCheck(){!function(t){for(;t;){t[2]|=64;const e=ir(t);if(ye(t)&&!e)return t;t=e}}(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Ur(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){Te(!0);try{Ur(t,e,n)}finally{Te(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t}detachFromAppRef(){var t;this._appRef=null,_s(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class Cs extends xs{constructor(t){super(t),this._view=t}detectChanges(){Qr(this._view)}checkNoChanges(){!function(t){Te(!0);try{Qr(t)}finally{Te(!1)}}(this._view)}get context(){return null}}let ks,Es,Ss;function Ts(t,e,n){return ks||(ks=class extends t{}),new ks(Fn(e,n))}function Is(t,e,n,r){return Es||(Es=class extends t{constructor(t,e,n){super(),this._declarationView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=yr(this._declarationView,e,t,16,null,e.node);n[17]=this._declarationView[this._declarationTContainer.index];const r=this._declarationView[5];null!==r&&(n[5]=r.createEmbeddedView(e)),wr(e,n,t);const s=new xs(n);return s._tViewNode=n[6],s}}),0===n.type?new Es(r,n,Ts(e,n,r)):null}function As(t,e,n,r){let s;Ss||(Ss=class extends t{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostView=n}get element(){return Ts(e,this._hostTNode,this._hostView)}get injector(){return new In(this._hostTNode,this._hostView)}get parentInjector(){const t=wn(this._hostTNode,this._hostView),e=an(t,this._hostView),n=function(t,e,n){if(n.parent&&-1!==n.parent.injectorIndex){const t=n.parent.injectorIndex;let e=n.parent;for(;null!=e.parent&&t==e.parent.injectorIndex;)e=e.parent;return e}let r=ln(t),s=e,o=e[6];for(;r>1;)s=s[15],o=s[6],r--;return o}(t,this._hostView,this._hostTNode);return sn(t)&&null!=n?new In(n,e):new In(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){return null!==this._lContainer[8]&&this._lContainer[8][t]||null}get length(){return this._lContainer.length-9}createEmbeddedView(t,e,n){const r=t.createEmbeddedView(e||{});return this.insert(r,n),r}createComponent(t,e,n,r,s){const o=n||this.parentInjector;if(!s&&null==t.ngModule&&o){const t=o.get(Bt,null);t&&(s=t)}const i=t.create(o,r,void 0,s);return this.insert(i.hostView,e),i}insert(t,e){const n=t._lView,r=n[1];if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),de(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],r=new Ss(e,e[6],e[3]);r.detach(r.indexOf(t))}}const s=this._adjustIndex(e);return function(t,e,n,r){const s=9+r,o=n.length;r>0&&(n[s-1][4]=e),rthis.processProvider(n,t,e)),$t([t],t=>this.processInjectorType(t,[],s)),this.records.set(It,Hs(void 0,this));const o=this.records.get(Os);this.scope=null!=o?o.value:null,this.source=r||("object"==typeof t?null:ut(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=At,n=J.Default){this.assertNotDestroyed();const r=Mt(this);try{if(!(n&J.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(s=t)||"object"==typeof s&&s instanceof Tt)&&nt(t);e=n&&this.injectableDefInScope(n)?Hs(Fs(t),Ds):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&J.Self?Vs():this.parent).get(t,e=n&J.Optional&&e===At?null:e)}catch(o){if("NullInjectorError"===o.name){if((o.ngTempTokenPath=o.ngTempTokenPath||[]).unshift(ut(t)),r)throw o;return function(t,e,n,r){const s=t.ngTempTokenPath;throw e.__source&&s.unshift(e.__source),t.message=function(t,e,n,r=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let s=ut(e);if(Array.isArray(e))s=e.map(ut).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let r=e[n];t.push(n+":"+("string"==typeof r?JSON.stringify(r):ut(r)))}s=`{${t.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${t.replace(Ot,"\n ")}`}("\n"+t.message,s,n,r),t.ngTokenPath=s,t.ngTempTokenPath=null,t}(o,t,"R3InjectorError",this.source)}throw o}finally{Mt(r)}var s}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(ut(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=pt(t)))return!1;let r=st(t);const s=null==r&&t.ngModule||void 0,o=void 0===s?t:s,i=-1!==n.indexOf(o);if(void 0!==s&&(r=st(s)),null==r)return!1;if(null!=r.imports&&!i){let t;n.push(o);try{$t(r.imports,r=>{this.processInjectorType(r,e,n)&&(void 0===t&&(t=[]),t.push(r))})}finally{}if(void 0!==t)for(let e=0;ethis.processProvider(t,n,r||Ps))}}this.injectorDefTypes.add(o),this.records.set(o,Hs(r.factory,Ds));const l=r.providers;if(null!=l&&!i){const e=t;$t(l,t=>this.processProvider(t,e,l))}return void 0!==s&&void 0!==t.providers}processProvider(t,e,n){let r=Bs(t=pt(t))?t:pt(t&&t.provide);const s=function(t,e,n){return Ls(t)?Hs(void 0,t.useValue):Hs(function(t,e,n){let r=void 0;if(Bs(t)){const e=pt(t);return ce(e)||Fs(e)}if(Ls(t))r=()=>pt(t.useValue);else if((s=t)&&s.useFactory)r=()=>t.useFactory(...Ht(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))r=()=>Rt(pt(t.useExisting));else{const s=pt(t&&(t.useClass||t.provide));if(s||function(t,e,n){let r="";throw t&&e&&(r=` - only instances of Provider and Type are allowed, got: [${e.map(t=>t==n?"?"+n+"?":"...").join(", ")}]`),new Error(`Invalid provider for the NgModule '${ut(t)}'`+r)}(e,n,t),!function(t){return!!t.deps}(t))return ce(s)||Fs(s);r=()=>new s(...Ht(t.deps))}var s;return r}(t,e,n),Ds)}(t,e,n);if(Bs(t)||!0!==t.multi){const t=this.records.get(r);t&&void 0!==t.multi&&Wn()}else{let e=this.records.get(r);e?void 0===e.multi&&Wn():(e=Hs(void 0,Ds,!0),e.factory=()=>Ht(e.multi),this.records.set(r,e)),r=t,e.multi.push(t)}this.records.set(r,s)}hydrate(t,e){var n;return e.value===Ns?function(t){throw new Error(`Cannot instantiate cyclic dependency! ${t}`)}(ut(t)):e.value===Ds&&(e.value=Ns,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||t.providedIn===this.scope:this.injectorDefTypes.has(t.providedIn))}}function Fs(t){const e=nt(t),n=null!==e?e.factory:ce(t);if(null!==n)return n;const r=st(t);if(null!==r)return r.factory;if(t instanceof Tt)throw new Error(`Token ${ut(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=qt(e,"?");throw new Error(`Can't resolve all parameters for ${ut(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[ot]||t[at]||t[lt]&&t[lt]());if(e){const n=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\n`+`This will become an error in v10. Please add @Injectable() to the "${n}" class.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error("unreachable")}function Hs(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Ls(t){return null!==t&&"object"==typeof t&&Dt in t}function Bs(t){return"function"==typeof t}const $s=function(t,e,n){return function(t,e=null,n=null,r){const s=js(t,e,n,r);return s._resolveInjectorDefTypes(),s}({name:n},e,t,n)};let zs=(()=>{class t{static create(t,e){return Array.isArray(t)?$s(t,e,""):$s(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=At,t.NULL=new Lt,t.\u0275prov=tt({token:t,providedIn:"any",factory:()=>Rt(It)}),t.__NG_ELEMENT_ID__=-1,t})(),Zs=new Map;const qs=new Set;function Us(t){return"string"==typeof t?t:t.text()}function Qs(t,e){let n=t.styles,r=t.classes,s=0;for(let o=0;o=0}function yo(t,e){return function(t,e,n,r){const s=be(),o=ve(),i=De(2);if(o.firstUpdatePass&&function(t,e,n,r){const s=t.data;if(null===s[n+1]){const r=s[$e()+19],o=function(t,e){return e>=t.expandoStartIndex}(t,n);(function(t,e){return 0!=(16&t.flags)})(r)&&null===e&&!o&&(e=!1),e=function(t,e,n,r){const s=function(t){const e=_e.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}(t);let o=e.residualClasses;if(null===s)0===e.classBindings&&(n=wo(n=_o(null,t,e,n,!0),e.attrs,!0),o=null);else{const r=e.directiveStylingLast;if(-1===r||t[r]!==s)if(n=_o(s,t,e,n,!0),null===o){let n=function(t,e,n){const r=e.classBindings;if(0!==dr(r))return t[ur(r)]}(t,e);void 0!==n&&Array.isArray(n)&&(n=_o(null,t,e,n[1],!0),n=wo(n,e.attrs,!0),function(t,e,n,r){t[ur(e.classBindings)]=r}(t,e,0,n))}else o=function(t,e,n){let r=void 0;const s=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0)&&(u=!0)}else c=n;if(s)if(0!==a){const e=ur(t[l+1]);t[r+1]=cr(e,l),0!==e&&(t[e+1]=fr(t[e+1],r)),t[l+1]=131071&t[l+1]|r<<17}else t[r+1]=cr(l,0),0!==l&&(t[l+1]=fr(t[l+1],r)),l=r;else t[r+1]=cr(a,0),0===l?l=r:t[a+1]=fr(t[a+1],r),a=r;u&&(t[r+1]=hr(t[r+1])),mo(t,c,r,!0),mo(t,c,r,!1),function(t,e,n,r,s){const o=t.residualClasses;null!=o&&"string"==typeof e&&Wt(o,e)>=0&&(n[r+1]=pr(n[r+1]))}(e,c,t,r),i=cr(l,a),e.classBindings=i}(s,r,e,n,o)}}(o,t,i),e!==or&&no(s,i,e)){let r;null==n&&(r=function(){const t=_e.lFrame;return null===t?null:t.currentSanitizer}())&&(n=r),function(t,e,n,r,s,o,i,l){if(3!==e.type)return;const a=t.data,c=a[l+1];vo(1==(1&c)?bo(a,e,n,s,dr(c),!0):void 0)||(vo(o)||function(t){return 2==(2&t)}(c)&&(o=bo(a,null,n,s,l,!0)),function(t,e,n,r,s){const o=Ye(t);s?o?t.addClass(n,r):n.classList.add(r):o?t.removeClass(n,r):n.classList.remove(r)}(r,0,Rn($e(),n),s,o))}(o,o.data[$e()+19],s,s[11],t,s[i+1]=function(t,e){return null==t||("function"==typeof e?t=e(t):"string"==typeof e?t+=e:"object"==typeof t&&(t=ut(function(t){return t instanceof class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity}`+" (see http://g.co/ng/security#xss)"}}?t.changingThisBreaksApplicationSecurity:t}(t)))),t}(e,n),0,i)}}(t,e,null),yo}function _o(t,e,n,r,s){let o=null;const i=n.directiveEnd;let l=n.directiveStylingLast;for(-1===l?l=n.directiveStart:l++;l0;){const e=t[s],o=Array.isArray(e),a=o?e[1]:e,c=null===a;let u=n[s+1];u===or&&(u=c?po:void 0);let h=c?Qt(u,r):a===r?u:void 0;if(o&&!vo(h)&&(h=Qt(e,r)),vo(h)&&(l=h,i))return l;const d=t[s+1];s=i?ur(d):dr(d)}if(null!==e){let t=o?e.residualClasses:e.residualStyles;null!=t&&(l=Qt(t,r))}return l}function vo(t){return void 0!==t}function xo(t,e=""){const n=be(),r=ve(),s=t+19,o=r.firstCreatePass?_r(r,n[6],t,3,null,null):r.data[s],i=n[s]=function(t,e){return Ye(e)?e.createText(t):e.createTextNode(t)}(e,n[11]);ms(r,n,i,o),Ce(o,!1)}function Co(t,e,n){const r=be(),s=function(t,e,n,r){return no(t,Oe(),n)?e+cn(n)+r:or}(r,t,e,n);return s!==or&&Xr(r,$e(),s),Co}function ko(t,e,n,r,s,o,i){const l=be(),a=function(t,e,n,r,s,o,i,l){const a=function(t,e,n,r,s){const o=function(t,e,n,r){const s=no(t,e,n);return no(t,e+1,r)||s}(t,e,n,r);return no(t,e+2,s)||o}(t,Ae(),n,s,i);return De(3),a?e+cn(n)+r+cn(s)+o+cn(i)+l:or}(l,t,e,n,r,s,o,i);return a!==or&&Xr(l,$e(),a),ko}function Eo(t,e){const n=Bn(t)[1],r=n.data.length-1;Ze(n,{directiveStart:r,directiveEnd:r+1})}function So(t){let e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0;const r=[t];for(;e;){let s=void 0;if(ge(t))s=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");s=e.\u0275dir}if(s){if(n){r.push(s);const e=t;e.inputs=To(t.inputs),e.declaredInputs=To(t.declaredInputs),e.outputs=To(t.outputs);const n=s.hostBindings;n&&Oo(t,n);const o=s.viewQuery,i=s.contentQueries;if(o&&Io(t,o),i&&Ao(t,i),X(t.inputs,s.inputs),X(t.declaredInputs,s.declaredInputs),X(t.outputs,s.outputs),ge(s)&&s.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(s.data.animation)}e.afterContentChecked=e.afterContentChecked||s.afterContentChecked,e.afterContentInit=t.afterContentInit||s.afterContentInit,e.afterViewChecked=t.afterViewChecked||s.afterViewChecked,e.afterViewInit=t.afterViewInit||s.afterViewInit,e.doCheck=t.doCheck||s.doCheck,e.onDestroy=t.onDestroy||s.onDestroy,e.onInit=t.onInit||s.onInit}const e=s.features;if(e)for(let r=0;r=0;r--){const s=t[r];s.hostVars=e+=s.hostVars,s.hostAttrs=nn(s.hostAttrs,n=nn(n,s.hostAttrs))}}(r)}function To(t){return t===Jt?{}:t===Yt?[]:t}function Io(t,e){const n=t.viewQuery;t.viewQuery=n?(t,r)=>{e(t,r),n(t,r)}:e}function Ao(t,e){const n=t.contentQueries;t.contentQueries=n?(t,r,s)=>{e(t,r,s),n(t,r,s)}:e}function Oo(t,e){const n=t.hostBindings;t.hostBindings=n?(t,r)=>{e(t,r),n(t,r)}:e}class Do{}class No{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${ut(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let Po=(()=>{class t{}return t.NULL=new No,t})(),Mo=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=()=>Vo(t),t})();const Vo=function(t){return Ts(t,xe(),be())};class jo{}const Ro=function(){var t={Important:1,DashCase:2};return t[t.Important]="Important",t[t.DashCase]="DashCase",t}();let Fo=(()=>{class t{}return t.\u0275prov=tt({token:t,providedIn:"root",factory:()=>null}),t})();class Ho{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Lo=new Ho("9.0.6");class Bo{constructor(){}supports(t){return Ys(t)}create(t){return new zo(t)}}const $o=(t,e)=>e;class zo{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||$o}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,r=0,s=null;for(;e||n;){const o=!n||e&&e.currentIndex{r=this._trackByFn(e,t),null!==s&&Gs(s.trackById,r)?(o&&(s=this._verifyReinsertion(s,t,r,e)),Gs(s.item,t)||this._addIdentityChange(s,t)):(s=this._mismatch(s,t,r,e),o=!0),s=s._next,e++}),this.length=e;return this._truncate(s),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t,e;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=e)t.previousIndex=t.currentIndex,e=t._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,r){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Gs(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,s,r)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Gs(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,s,r)):t=this._addAfter(new Zo(e,n),s,r),t}_verifyReinsertion(t,e,n,r){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==s?t=this._reinsertAfter(s,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,s=t._nextRemoved;return null===r?this._removalsHead=s:r._nextRemoved=s,null===s?this._removalsTail=r:s._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new Uo),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Uo),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class Zo{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class qo{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Gs(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class Uo{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new qo,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Qo(t,e,n){const r=t.previousIndex;if(null===r)return r;let s=0;return n&&r{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const r=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const r=n._prev,s=n._next;return r&&(r._next=s),s&&(s._prev=r),n._next=null,n._prev=null,n}const n=new Go(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Gs(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class Go{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let Jo=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new G,new W]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n}}return t.\u0275prov=tt({token:t,providedIn:"root",factory:()=>new t([new Bo])}),t})(),Yo=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new G,new W]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\u0275prov=tt({token:t,providedIn:"root",factory:()=>new t([new Wo])}),t})();const Xo=[new Wo],ti=new Jo([new Bo]),ei=new Yo(Xo);let ni=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>ri(t,Mo),t})();const ri=function(t,e){return Is(t,e,xe(),be())};let si=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>oi(t,Mo),t})();const oi=function(t,e){return As(t,e,xe(),be())},ii={};class li extends Po{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=ae(t);return new ui(e,this.ngModule)}}function ai(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const ci=new Tt("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>hn});class ui extends Do{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(sr).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return ai(this.componentDef.inputs)}get outputs(){return ai(this.componentDef.outputs)}create(t,e,n,r){const s=(r=r||this.ngModule)?function(t,e){return{get:(n,r,s)=>{const o=t.get(n,ii,s);return o!==ii||r===ii?o:e.get(n,r,s)}}}(t,r.injector):t,o=s.get(jo,Xe),i=s.get(Fo,null),l=o.createRenderer(null,this.componentDef),a=this.componentDef.selectors[0][0]||"div",c=n?function(t,e,n){if(Ye(t))return t.selectRootElement(e,n===Gt.ShadowDom);let r="string"==typeof e?t.querySelector(e):e;return r.textContent="",r}(l,n,this.componentDef.encapsulation):gr(a,o.createRenderer(null,this.componentDef),function(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(a)),u=this.componentDef.onPush?576:528,h="string"==typeof n&&/^#root-ng-internal-isolated-\d+/.test(n),d={components:[],scheduler:hn,clean:Kr,playerHandler:null,flags:0},f=Sr(0,-1,null,1,0,null,null,null,null,null),p=yr(null,f,d,u,null,null,o,l,i,s);let m,g;je(p,null);try{const t=function(t,e,n,r,s,o){const i=n[1];n[19]=t;const l=_r(i,null,0,3,null,null),a=l.mergedAttrs=e.hostAttrs;null!==a&&(Qs(l,a),null!==t&&(tn(s,t,a),null!==l.classes&&vs(s,t,l.classes),null!==l.styles&&bs(s,t,l.styles)));const c=r.createRenderer(t,e),u=yr(n,Er(e),null,e.onPush?64:16,n[19],l,r,c,void 0);return i.firstCreatePass&&(bn(gn(l,n),i,e.type),Mr(i,l),jr(l,n.length,1)),qr(n,u),n[19]=u}(c,this.componentDef,p,o,l);if(c)if(n)tn(l,c,["ng-version",Lo.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let r=1,s=2;for(;r0&&vs(l,c,e.join(" "))}g=Hn(p[1],0),e&&(g.projection=e.map(t=>Array.from(t))),m=function(t,e,n,r,s){const o=n[1],i=function(t,e,n){const r=xe();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Pr(t,r,1),Rr(t,e,n));const s=En(e,t,e.length-1,r);Un(s,e);const o=Fn(r,e);return o&&Un(o,e),s}(o,n,e);r.components.push(i),t[8]=i,s&&s.forEach(t=>t(i,e)),e.contentQueries&&e.contentQueries(1,i,n.length-1);const l=xe();if(o.firstCreatePass&&(null!==e.hostBindings||null!==e.hostAttrs)){ze(l.index-19);const t=n[1];Or(t,e),Dr(t,n,e.hostVars),Nr(e,i)}return i}(t,this.componentDef,p,d,[Eo]),wr(f,p,null)}finally{Be()}const y=new hi(this.componentType,m,Ts(Mo,g,p),p,g);return n&&!h||(y.hostView._tViewNode.child=g),y}}class hi extends class{}{constructor(t,e,n,r,s){super(),this.location=n,this._rootLView=r,this._tNode=s,this.destroyCbs=[],this.instance=e,this.hostView=this.changeDetectorRef=new Cs(r),this.hostView._tViewNode=function(t,e,n,r){let s=t.node;return null==s&&(t.node=s=Tr(0,null,2,-1,null,null)),r[6]=s}(r[1],0,0,r),this.componentType=t}get injector(){return new In(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(t=>t()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(t){this.destroyCbs&&this.destroyCbs.push(t)}}const di=void 0;var fi=["en",[["a","p"],["AM","PM"],di],[["AM","PM"],di,di],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],di,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],di,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",di,"{1} 'at' {0}",di],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let pi={};function mi(t){return t in pi||(pi[t]=wt.ng&&wt.ng.common&&wt.ng.common.locales&&wt.ng.common.locales[t]),pi[t]}const gi=function(){var t={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencyCode:15,CurrencySymbol:16,CurrencyName:17,Currencies:18,PluralCase:19,ExtraData:20};return t[t.LocaleId]="LocaleId",t[t.DayPeriodsFormat]="DayPeriodsFormat",t[t.DayPeriodsStandalone]="DayPeriodsStandalone",t[t.DaysFormat]="DaysFormat",t[t.DaysStandalone]="DaysStandalone",t[t.MonthsFormat]="MonthsFormat",t[t.MonthsStandalone]="MonthsStandalone",t[t.Eras]="Eras",t[t.FirstDayOfWeek]="FirstDayOfWeek",t[t.WeekendRange]="WeekendRange",t[t.DateFormat]="DateFormat",t[t.TimeFormat]="TimeFormat",t[t.DateTimeFormat]="DateTimeFormat",t[t.NumberSymbols]="NumberSymbols",t[t.NumberFormats]="NumberFormats",t[t.CurrencyCode]="CurrencyCode",t[t.CurrencySymbol]="CurrencySymbol",t[t.CurrencyName]="CurrencyName",t[t.Currencies]="Currencies",t[t.PluralCase]="PluralCase",t[t.ExtraData]="ExtraData",t}();let yi="en-US";function _i(t){var e,n;n="Expected localeId to be defined",null==(e=t)&&function(t,e,n,r){throw new Error(`ASSERTION ERROR: ${t}`+` [Expected=> null != ${e} <=Actual]`)}(n,e),"string"==typeof t&&(yi=t.toLowerCase().replace(/_/g,"-"))}const wi=new Map;class bi extends Bt{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new li(this);const n=ue(t),r=t[kt]||null;r&&_i(r),this._bootstrapComponents=dn(n.bootstrap),this._r3Injector=js(t,e,[{provide:Bt,useValue:this},{provide:Po,useValue:this.componentFactoryResolver}],ut(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=zs.THROW_IF_NOT_FOUND,n=J.Default){return t===zs||t===Bt||t===It?this:this._r3Injector.get(t,e,n)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class vi extends class{}{constructor(t){super(),this.moduleType=t,null!==ue(t)&&function t(e){if(null!==e.\u0275mod.id){const t=e.\u0275mod.id;(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${ut(e)} vs ${ut(e.name)}`)})(t,wi.get(t),e),wi.set(t,e)}let n=e.\u0275mod.imports;n instanceof Function&&(n=n()),n&&n.forEach(e=>t(e))}(t)}create(t){return new bi(this.moduleType,t)}}function xi(t,e,n){const r=Ie()+t,s=be();return s[r]===or?to(s,r,n?e.call(n):e()):eo(s,r)}class Ci extends C{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let r,s=t=>null,o=()=>null;t&&"object"==typeof t?(r=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(s=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(o=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(r=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(s=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),n&&(o=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const i=super.subscribe(r,s,o);return t instanceof h&&t.add(i),i}}function ki(){return this._results[Ks()]()}class Ei{constructor(){this.dirty=!0,this._results=[],this.changes=new Ci,this.length=0;const t=Ks(),e=Ei.prototype;e[t]||(e[t]=ki)}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t){this._results=function t(e,n){void 0===n&&(n=e);for(let r=0;r{class t{constructor(t){this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(Rt(Vi,8))},t.\u0275prov=tt({token:t,factory:t.\u0275fac}),t})();const Ri=new Tt("AppId"),Fi={provide:Ri,useFactory:function(){return`${Hi()}${Hi()}${Hi()}`},deps:[]};function Hi(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Li=new Tt("Platform Initializer"),Bi=new Tt("Platform ID"),$i=new Tt("appBootstrapListener");let zi=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=tt({token:t,factory:t.\u0275fac}),t})();const Zi=new Tt("LocaleId"),qi=new Tt("DefaultCurrencyCode");class Ui{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const Qi=function(t){return new vi(t)},Wi=Qi,Ki=function(t){return Promise.resolve(Qi(t))},Gi=function(t){const e=Qi(t),n=dn(ue(t).declarations).reduce((t,e)=>{const n=ae(e);return n&&t.push(new ui(n)),t},[]);return new Ui(e,n)},Ji=Gi,Yi=function(t){return Promise.resolve(Gi(t))};let Xi=(()=>{class t{constructor(){this.compileModuleSync=Wi,this.compileModuleAsync=Ki,this.compileModuleAndAllComponentsSync=Ji,this.compileModuleAndAllComponentsAsync=Yi}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=tt({token:t,factory:t.\u0275fac}),t})();const tl=new Tt("compilerOptions"),el=(()=>Promise.resolve(0))();function nl(t){"undefined"==typeof Zone?el.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class rl{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ci(!1),this.onMicrotaskEmpty=new Ci(!1),this.onStable=new Ci(!1),this.onError=new Ci(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=e,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let t=wt.requestAnimationFrame,e=wt.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=!!t.shouldCoalesceEventChangeDetection&&t.nativeRequestAnimationFrame&&(()=>{!function(t){-1===t.lastRequestAnimationFrameId&&(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(wt,()=>{t.lastRequestAnimationFrameId=-1,ll(t),il(t)}),ll(t))}(t)});t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:e},onInvokeTask:(n,r,s,o,i,l)=>{try{return al(t),n.invokeTask(s,o,i,l)}finally{e&&"eventTask"===o.type&&e(),cl(t)}},onInvoke:(e,n,r,s,o,i,l)=>{try{return al(t),e.invoke(r,s,o,i,l)}finally{cl(t)}},onHasTask:(e,n,r,s)=>{e.hasTask(r,s),n===r&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,ll(t),il(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,n,r,s)=>(e.handleError(r,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!rl.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(rl.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,r){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+r,t,ol,sl,sl);try{return s.runTask(o,e,n)}finally{s.cancelTask(o)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}function sl(){}const ol={};function il(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function ll(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||t.shouldCoalesceEventChangeDetection&&-1!==t.lastRequestAnimationFrameId)}function al(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function cl(t){t._nesting--,il(t)}class ul{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ci,this.onMicrotaskEmpty=new Ci,this.onStable=new Ci,this.onError=new Ci}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,r){return t.apply(e,n)}}let hl=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{rl.assertNotInAngularZone(),nl(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())nl(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let r=-1;e&&e>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==r),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:r,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t.\u0275fac=function(e){return new(e||t)(Rt(rl))},t.\u0275prov=tt({token:t,factory:t.\u0275fac}),t})(),dl=(()=>{class t{constructor(){this._applications=new Map,ml.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return ml.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=tt({token:t,factory:t.\u0275fac}),t})();class fl{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}let pl,ml=new fl,gl=function(t,e,n){const r=new vi(n);if(0===Zs.size)return Promise.resolve(r);const s=function(t){const e=[];return t.forEach(t=>t&&e.push(...t)),e}(t.get(tl,[]).concat(e).map(t=>t.providers));if(0===s.length)return Promise.resolve(r);const o=function(){const t=wt.ng;if(!t||!t.\u0275compilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return t.\u0275compilerFacade}(),i=zs.create({providers:s}).get(o.ResourceLoader);return function(t){const e=[],n=new Map;function r(t){let e=n.get(t);if(!e){const r=(t=>Promise.resolve(i.get(t)))(t);n.set(t,e=r.then(Us))}return e}return Zs.forEach((t,n)=>{const s=[];t.templateUrl&&s.push(r(t.templateUrl).then(e=>{t.template=e}));const o=t.styleUrls,i=t.styles||(t.styles=[]),l=t.styles.length;o&&o.forEach((e,n)=>{i.push(""),s.push(r(e).then(r=>{i[l+n]=r,o.splice(o.indexOf(e),1),0==o.length&&(t.styleUrls=void 0)}))});const a=Promise.all(s).then(()=>function(t){qs.delete(t)}(n));e.push(a)}),Zs=new Map,Promise.all(e).then(()=>{})}().then(()=>r)};const yl=new Tt("AllowMultipleToken");function _l(t,e,n=[]){const r=`Platform: ${e}`,s=new Tt(r);return(e=[])=>{let o=wl();if(!o||o.injector.get(yl,!1))if(t)t(n.concat(e).concat({provide:s,useValue:!0}));else{const t=n.concat(e).concat({provide:s,useValue:!0},{provide:Os,useValue:"platform"});!function(t){if(pl&&!pl.destroyed&&!pl.injector.get(yl,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");pl=t.get(bl);const e=t.get(Li,null);e&&e.forEach(t=>t())}(zs.create({providers:t,name:r}))}return function(t){const e=wl();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(s)}}function wl(){return pl&&!pl.destroyed?pl:null}let bl=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t,e){let n;return n="noop"===t?new ul:("zone.js"===t?void 0:t)||new rl({enableLongStackTrace:Vn(),shouldCoalesceEventChangeDetection:e}),n}(e?e.ngZone:void 0,e&&e.ngZoneEventCoalescing||!1),r=[{provide:rl,useValue:n}];return n.run(()=>{const e=zs.create({providers:r,parent:this.injector,name:t.moduleType.name}),s=t.create(e),o=s.injector.get(Nn,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return s.onDestroy(()=>Cl(this._modules,s)),n.runOutsideAngular(()=>n.onError.subscribe({next:t=>{o.handleError(t)}})),function(t,e,n){try{const r=n();return co(r)?r.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}(o,n,()=>{const t=s.injector.get(ji);return t.runInitializers(),t.donePromise.then(()=>(_i(s.injector.get(Zi,"en-US")||"en-US"),this._moduleDoBootstrap(s),s))})})}bootstrapModule(t,e=[]){const n=vl({},e);return gl(this.injector,n,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(xl);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${ut(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. `+"Please define one of these.");t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(Rt(zs))},t.\u0275prov=tt({token:t,factory:t.\u0275fac}),t})();function vl(t,e){return Array.isArray(e)?e.reduce(vl,t):Object.assign(Object.assign({},t),e)}let xl=(()=>{class t{constructor(t,e,n,r,s,o){this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=s,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Vn(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new _(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),l=new _(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{rl.assertNotInAngularZone(),nl(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{rl.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=function(...t){let e=Number.POSITIVE_INFINITY,n=null,r=t[t.length-1];return(s=r)&&"function"==typeof s.schedule?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof r&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof _?t[0]:function(t=Number.POSITIVE_INFINITY){return function t(e,n,r=Number.POSITIVE_INFINITY){return"function"==typeof n?s=>s.pipe(t((t,r)=>{return(s=e(t,r),s instanceof _?s:new _(A(s))).pipe(D((e,s)=>n(t,e,r,s)));var s},r)):("number"==typeof n&&(r=n),t=>t.lift(new M(e,r)))}(j,t)}(e)(function(t,e){return e?function(t,e){return new _(n=>{const r=new h;let s=0;return r.add(e.schedule((function(){s!==t.length?(n.next(t[s++]),n.closed||r.add(this.schedule())):n.complete()}))),r})}(t,e):new _(S(t))}(t,n));var s}(i,l.pipe(Z()))}bootstrap(t,e){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=t instanceof Do?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const r=n.isBoundToModule?void 0:this._injector.get(Bt),s=n.create(zs.NULL,[],e||n.selector,r);s.onDestroy(()=>{this._unloadComponent(s)});const o=s.injector.get(hl,null);return o&&s.injector.get(dl).registerApplication(s.location.nativeElement,o),this._loadComponent(s),Vn()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),s}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges();if(this._enforceNoNewChanges)for(let t of this._views)t.checkNoChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;Cl(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get($i,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}_unloadComponent(t){this.detachView(t.hostView),Cl(this.components,t)}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy())}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(Rt(rl),Rt(zi),Rt(zs),Rt(Nn),Rt(Po),Rt(ji))},t.\u0275prov=tt({token:t,factory:t.\u0275fac}),t})();function Cl(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const kl=_l(null,"core",[{provide:Bi,useValue:"unknown"},{provide:bl,deps:[zs]},{provide:dl,deps:[]},{provide:zi,deps:[]}]),El=[{provide:xl,useClass:xl,deps:[rl,zi,zs,Nn,Po,ji]},{provide:ci,deps:[rl],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:ji,useClass:ji,deps:[[new W,Vi]]},{provide:Xi,useClass:Xi,deps:[]},Fi,{provide:Jo,useFactory:function(){return ti},deps:[]},{provide:Yo,useFactory:function(){return ei},deps:[]},{provide:Zi,useFactory:function(t){return _i(t=t||"undefined"!=typeof $localize&&$localize.locale||"en-US"),t},deps:[[new Q(Zi),new W,new G]]},{provide:qi,useValue:"USD"}];let Sl=(()=>{class t{constructor(t){}}return t.\u0275mod=se({type:t}),t.\u0275inj=et({factory:function(e){return new(e||t)(Rt(xl))},providers:El}),t})(),Tl=null;function Il(){return Tl}const Al=new Tt("DocumentToken"),Ol=function(){var t={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return t[t.Zero]="Zero",t[t.One]="One",t[t.Two]="Two",t[t.Few]="Few",t[t.Many]="Many",t[t.Other]="Other",t}();class Dl{}let Nl=(()=>{class t extends Dl{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(function(t){return function(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=mi(e);if(n)return n;const r=e.split("-")[0];if(n=mi(r),n)return n;if("en"===r)return fi;throw new Error(`Missing locale data for the locale "${t}".`)}(t)[gi.PluralCase]}(e||this.locale)(t)){case Ol.Zero:return"zero";case Ol.One:return"one";case Ol.Two:return"two";case Ol.Few:return"few";case Ol.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(Rt(Zi))},t.\u0275prov=tt({token:t,factory:t.\u0275fac}),t})();class Pl{constructor(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Ml=(()=>{class t{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){Vn()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(t)}. `+"See https://angular.io/api/common/NgForOf#change-propagation for more information."),this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(e){throw new Error(`Cannot find a differ supporting object '${n}' of type '${t=n,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,r)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new Pl(null,this._ngForOf,-1,-1),null===r?void 0:r),s=new Vl(t,n);e.push(s)}else if(null==r)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const s=this._viewContainer.get(n);this._viewContainer.move(s,r);const o=new Vl(t,s);e.push(o)}});for(let n=0;n{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(ro(si),ro(ni),ro(Jo))},t.\u0275dir=ie({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class Vl{constructor(t,e){this.record=t,this.view=e}}let jl=(()=>{class t{transform(t){return JSON.stringify(t,null,2)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=le({name:"json",type:t,pure:!1}),t})(),Rl=(()=>{class t{}return t.\u0275mod=se({type:t}),t.\u0275inj=et({factory:function(e){return new(e||t)},providers:[{provide:Dl,useClass:Nl}]}),t})();class Fl extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var t;t=new Fl,Tl||(Tl=t)}getProperty(t,e){return t[e]}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){return t.parentNode&&t.parentNode.removeChild(t),t}getValue(t){return t.value}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(t){const e=Ll||(Ll=document.querySelector("base"),Ll)?Ll.getAttribute("href"):null;return null==e?null:(n=e,Hl||(Hl=document.createElement("a")),Hl.setAttribute("href",n),"/"===Hl.pathname.charAt(0)?Hl.pathname:"/"+Hl.pathname);var n}resetBaseElement(){Ll=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(t){return function(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[r,s]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(r.trim()===e)return decodeURIComponent(s)}return null}(document.cookie,t)}}let Hl,Ll=null;const Bl=new Tt("TRANSITION_ID"),$l=[{provide:Vi,useFactory:function(t,e,n){return()=>{n.get(ji).donePromise.then(()=>{const n=Il();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[Bl,Al,zs],multi:!0}];class zl{static init(){var t;t=new zl,ml=t}addToWindow(t){wt.getAngularTestability=(e,n=!0)=>{const r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},wt.getAllAngularTestabilities=()=>t.getAllTestabilities(),wt.getAllAngularRootElements=()=>t.getAllRootElements(),wt.frameworkStabilizers||(wt.frameworkStabilizers=[]),wt.frameworkStabilizers.push(t=>{const e=wt.getAllAngularTestabilities();let n=e.length,r=!1;const s=function(e){r=r||e,n--,0==n&&t(r)};e.forEach((function(t){t.whenStable(s)}))})}findTestabilityInTree(t,e,n){if(null==e)return null;const r=t.getTestability(e);return null!=r?r:n?Il().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}const Zl=new Tt("EventManagerPlugins");let ql=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let r=0;r{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=tt({token:t,factory:t.\u0275fac}),t})(),Wl=(()=>{class t extends Ql{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach(t=>{const n=this._doc.createElement("style");n.textContent=t,this._styleNodes.add(e.appendChild(n))})}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach(e=>this._addStylesToHost(t,e))}ngOnDestroy(){this._styleNodes.forEach(t=>Il().remove(t))}}return t.\u0275fac=function(e){return new(e||t)(Rt(Al))},t.\u0275prov=tt({token:t,factory:t.\u0275fac}),t})();const Kl={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Gl=/%COMP%/g;function Jl(t,e,n){for(let r=0;r{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let Xl=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new ta(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case Gt.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new ea(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case Gt.Native:case Gt.ShadowDom:return new na(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=Jl(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(Rt(ql),Rt(Wl),Rt(Ri))},t.\u0275prov=tt({token:t,factory:t.\u0275fac}),t})();class ta{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(Kl[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,r){if(r){e=r+":"+e;const s=Kl[r];s?t.setAttributeNS(s,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const r=Kl[n];r?t.removeAttributeNS(r,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,r){r&Ro.DashCase?t.style.setProperty(e,n,r&Ro.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&Ro.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,Yl(n)):this.eventManager.addEventListener(t,e,Yl(n))}}class ea extends ta{constructor(t,e,n,r){super(t),this.component=n;const s=Jl(r+"-"+n.id,n.styles,[]);e.addStyles(s),this.contentAttr="_ngcontent-%COMP%".replace(Gl,r+"-"+n.id),this.hostAttr=function(t){return"_nghost-%COMP%".replace(Gl,t)}(r+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class na extends ta{constructor(t,e,n,r){super(t),this.sharedStylesHost=e,this.hostEl=n,this.component=r,this.shadowRoot=r.encapsulation===Gt.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const s=Jl(r.id,r.styles,[]);for(let o=0;o{class t extends Ul{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t.\u0275fac=function(e){return new(e||t)(Rt(Al))},t.\u0275prov=tt({token:t,factory:t.\u0275fac}),t})();const sa=["alt","control","meta","shift"],oa={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ia={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},la={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let aa=(()=>{class t extends Ul{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,r){const s=t.parseEventName(n),o=t.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Il().onAndCancel(e,s.domEventName,o))}static parseEventName(e){const n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const s=t._normalizeKey(n.pop());let o="";if(sa.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),o+=t+".")}),o+=s,0!=n.length||0===s.length)return null;const i={};return i.domEventName=r,i.fullKey=o,i}static getEventFullKey(t){let e="",n=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&ia.hasOwnProperty(e)&&(e=ia[e]))}return oa[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),sa.forEach(r=>{r!=n&&(0,la[r])(t)&&(e+=r+".")}),e+=n,e}static eventCallback(e,n,r){return s=>{t.getEventFullKey(s)===e&&r.runGuarded(()=>n(s))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(Rt(Al))},t.\u0275prov=tt({token:t,factory:t.\u0275fac}),t})();const ca=_l(kl,"browser",[{provide:Bi,useValue:"browser"},{provide:Li,useValue:function(){Fl.makeCurrent(),zl.init()},multi:!0},{provide:Al,useFactory:function(){return function(t){Je=t}(document),document},deps:[]}]),ua=[[],{provide:Os,useValue:"root"},{provide:Nn,useFactory:function(){return new Nn},deps:[]},{provide:Zl,useClass:ra,multi:!0,deps:[Al,rl,Bi]},{provide:Zl,useClass:aa,multi:!0,deps:[Al]},[],{provide:Xl,useClass:Xl,deps:[ql,Wl,Ri]},{provide:jo,useExisting:Xl},{provide:Ql,useExisting:Wl},{provide:Wl,useClass:Wl,deps:[Al]},{provide:hl,useClass:hl,deps:[rl]},{provide:ql,useClass:ql,deps:[Zl,rl]},[]];let ha=(()=>{class t{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:t,providers:[{provide:Ri,useValue:e.appId},{provide:Bl,useExisting:Ri},$l]}}}return t.\u0275mod=se({type:t}),t.\u0275inj=et({factory:function(e){return new(e||t)(Rt(t,12))},providers:ua,imports:[Rl,Sl]}),t})();"undefined"!=typeof window&&window;class da extends h{constructor(t,e){super()}schedule(t,e=0){return this}}class fa extends da{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this}requestAsyncId(t,e,n=0){return setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n=!1,r=void 0;try{this.work(t)}catch(s){n=!0,r=!!s&&s||new Error(s)}if(n)return this.unsubscribe(),r}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}let pa=(()=>{class t{constructor(e,n=t.now){this.SchedulerAction=e,this.now=n}schedule(t,e=0,n){return new this.SchedulerAction(this,t).schedule(n,e)}}return t.now=()=>Date.now(),t})();class ma extends pa{constructor(t,e=pa.now){super(t,()=>ma.delegate&&ma.delegate!==this?ma.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return ma.delegate&&ma.delegate!==this?ma.delegate.schedule(t,e,n):super.schedule(t,e,n)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}const ga=new ma(fa);class ya{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new _a(t,this.dueTime,this.scheduler))}}class _a extends p{constructor(t,e,n){super(t),this.dueTime=e,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(wa,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function wa(t){t.debouncedNext()}function ba(t,e){return function(n){return n.lift(new va(t,e))}}class va{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new xa(t,this.predicate,this.thisArg))}}class xa extends p{constructor(t,e,n){super(t),this.predicate=e,this.thisArg=n,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}let Ca;try{Ca="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(Tc){Ca=!1}let ka=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?"browser"===this._platformId:"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Ca)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return t.\u0275fac=function(e){return new(e||t)(Rt(Bi,8))},t.\u0275prov=tt({factory:function(){return new t(Rt(Bi,8))},token:t,providedIn:"root"}),t})();"undefined"!=typeof Element&∈let Ea=(()=>{class t{constructor(t,e){this._platform=t,this._document=e}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const e=(this._document.defaultView.getComputedStyle(t).backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),e){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove("cdk-high-contrast-active"),t.remove("cdk-high-contrast-black-on-white"),t.remove("cdk-high-contrast-white-on-black");const e=this.getHighContrastMode();1===e?(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-black-on-white")):2===e&&(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-white-on-black"))}}}return t.\u0275fac=function(e){return new(e||t)(Rt(ka),Rt(Al))},t.\u0275prov=tt({factory:function(){return new t(Rt(ka),Rt(Al))},token:t,providedIn:"root"}),t})(),Sa=(()=>{class t{}return t.\u0275mod=se({type:t}),t.\u0275inj=et({factory:function(e){return new(e||t)}}),t})();const Ta=new Ho("9.1.2");function Ia(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}let Aa=(t,e)=>!1,Oa=(t,e)=>!1,Da=(t,e,n)=>[];const Na=Ia();(Na||"undefined"!=typeof Element)&&((t,e)=>t.contains(e),Oa=(()=>{if(Na||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,n)=>e.apply(t,[n]):Oa}})());const Pa=new Tt("AnimationModuleType"),Ma=new Ho("9.1.2"),Va=new Tt("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let ja,Ra=(()=>{class t{constructor(t,e){this._hasDoneGlobalChecks=!1,this._document="object"==typeof document&&document?document:null,this._window="object"==typeof window&&window?window:null,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=e,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_checksAreEnabled(){return Vn()&&!this._isTestEnv()}_isTestEnv(){const t=this._window;return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype)&&this._document&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){if(!(this._checksAreEnabled()&&!1!==this._sanityChecks&&this._sanityChecks.theme&&this._document&&this._document.body&&"function"==typeof getComputedStyle))return;const t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);const e=getComputedStyle(t);e&&"none"!==e.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(t)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&Ma.full!==Ta.full&&console.warn("The Angular Material version ("+Ma.full+") does not match the Angular CDK version ("+Ta.full+").\nPlease ensure the versions of these two packages exactly match.")}}return t.\u0275mod=se({type:t}),t.\u0275inj=et({factory:function(e){return new(e||t)(Rt(Ea),Rt(Va,8))},imports:[[Sa],Sa]}),t})();function Fa(t,e){return class extends t{constructor(...t){super(...t),this.color=e}get color(){return this._color}set color(t){const n=t||e;n!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),n&&this._elementRef.nativeElement.classList.add(`mat-${n}`),this._color=n)}}}try{ja="undefined"!=typeof Intl}catch(Tc){ja=!1}const Ha=["*",[["mat-toolbar-row"]]],La=["*","mat-toolbar-row"];class Ba{constructor(t){this._elementRef=t}}const $a=Fa(Ba);let za=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ie({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),t})(),Za=(()=>{class t extends $a{constructor(t,e,n){super(t),this._platform=e,this._document=n}ngAfterViewInit(){Vn()&&this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length&&Array.from(this._elementRef.nativeElement.childNodes).filter(t=>!(t.classList&&t.classList.contains("mat-toolbar-row"))).filter(t=>t.nodeType!==(this._document?this._document.COMMENT_NODE:8)).some(t=>!(!t.textContent||!t.textContent.trim()))&&function(){throw Error("MatToolbar: Attempting to combine different toolbar modes. Either specify multiple `` elements explicitly or just place content inside of a `` for a single row.")}()}}return t.\u0275fac=function(e){return new(e||t)(ro(Mo),ro(ka),ro(Al))},t.\u0275cmp=te({type:t,selectors:[["mat-toolbar"]],contentQueries:function(t,e,n){var r,s,o,i,l,a,c;1&t&&(i=n,l=za,a=!0,function(t,e,n,r,s,o,i,l){t.firstCreatePass&&(function(t,e,n){null===t.queries&&(t.queries=new Ai),t.queries.track(new Oi(e,n))}(t,new Ii(n,r,!1,s),i.index),function(t,e){const n=t.contentQueries||(t.contentQueries=[]);e!==(t.contentQueries.length?n[n.length-1]:-1)&&n.push(t.queries.length-1,e)}(t,l)),function(t,e){const n=new Ei;!function(t,e,n,r){const s=Gr(e);s.push(n),t.firstCreatePass&&Jr(t).push(r,s.length-1)}(t,e,n,n.destroy),null===e[5]&&(e[5]=new Ti),e[5].queries.push(new Si(n))}(t,e)}(ve(),be(),l,a,c,0,xe(),i)),2&t&&function(t){const e=be(),n=ve(),r=Pe();Me(r+1);const s=Mi(n,r);if(t.dirty&&$n(e)===s.metadata.isStatic){if(null===s.matches)t.reset([]);else{const o=s.crossesNgTemplate?function t(e,n,r,s){const o=e.queries.getByIndex(r),i=o.matches;if(null!==i){const l=Pi(e,n,o,r);for(let e=0;e0)s.push(l[e/2]);else{const o=i[e+1],l=n[-r];for(let e=9;e0)("mat-toolbar-single-row",0===e._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[So],ngContentSelectors:La,decls:2,vars:0,template:function(t,e){1&t&&(ho(Ha),fo(0),fo(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}\n"],encapsulation:2,changeDetection:0}),t})(),qa=(()=>{class t{}return t.\u0275mod=se({type:t}),t.\u0275inj=et({factory:function(e){return new(e||t)},imports:[[Ra],Ra]}),t})();function Ua(t,e,n,r){var s,o=arguments.length,i=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,n,r);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(o<3?s(i):o>3?s(e,n,i):s(e,n))||i);return o>3&&i&&Object.defineProperty(e,n,i),i}function Qa(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}const Wa=new Tt("NgxLocalstorageConfiguration");class Ka{serialize(t){return JSON.stringify(t)}deserialize(t){return JSON.parse(t)}}const Ga=new Tt("StorageSerializer");let Ja=(()=>{class t{constructor(t){if(t)throw new Error("NgxLocalStorageModule is already loaded. Import it in the AppModule only")}static forRoot(e){return{ngModule:t,providers:[{provide:Wa,useValue:e}]}}}return t.\u0275mod=se({type:t}),t.\u0275inj=et({factory:function(e){return new(e||t)(Rt(t,12))},providers:[{provide:Ga,useClass:Ka}],imports:[[]]}),t})();const Ya=(t,e,n,r)=>{const s=t.length-1;for(let o=0;o{const r=e||n;return r?`${r}_${t}`:t},tc={allowNull:!0},ec=t=>!!t&&void 0!==t.serialize;class nc{constructor(t,e){this.configuration=t,this.defaultSerializer=e}count(){return new Promise((t,e)=>{try{t(localStorage.length)}catch(n){e(n)}})}getKey(t){return new Promise((e,n)=>{t<0&&n(new Error("index has to be 0 or greater"));try{e(localStorage.key(t))}catch(r){n(r)}})}set(t,e,n,r){return new Promise((s,o)=>{try{const o="string"==typeof n?n:void 0;if(r=ec(n)?n:r||this.defaultSerializer,!this.configuration.allowNull&&(this.configuration.allowNull||"null"===e||null==e))return this.remove(t,o);localStorage.setItem(Xa(t,o,this.configuration.prefix),r.serialize(e)),s(!0)}catch(i){o(i)}})}get(t,e,n){return new Promise((r,s)=>{try{const s="string"==typeof e?e:void 0;r((n=ec(e)?e:n||this.defaultSerializer).deserialize(localStorage.getItem(Xa(t,s,this.configuration.prefix))))}catch(o){s(o)}})}remove(t,e){return new Promise((n,r)=>{try{localStorage.removeItem(Xa(t,e,this.configuration.prefix)),n(!0)}catch(s){r(s)}})}clear(){return new Promise((t,e)=>{try{localStorage.clear(),t(!0)}catch(n){e(n)}})}}let rc=(()=>{class t{constructor(t,e){this.defaultSerializer=t,this.config=e,this.config=Object.assign(Object.assign({},tc),e),this.promisable=new nc(this.config,this.defaultSerializer)}asPromisable(){return this.promisable}count(){try{return localStorage.length}catch(t){console.error(t)}}getKey(t){t<0&&console.error(new Error("index has to be 0 or greater"));try{return localStorage.key(t)}catch(e){console.error(e)}}set(t,e,n,r){const s="string"==typeof n?n:void 0;r=ec(n)?n:r||this.defaultSerializer,this.config.allowNull||!this.config.allowNull&&"null"!==e&&null!=e?localStorage.setItem(Xa(t,s,this.config.prefix),r.serialize(e)):this.remove(t,Xa(t,s,this.config.prefix))}get(t,e,n){const r="string"==typeof e?e:void 0;n=ec(e)?e:n||this.defaultSerializer;try{return n.deserialize(localStorage.getItem(Xa(t,r,this.config.prefix)))}catch(s){console.error(s)}}remove(t,e){try{localStorage.removeItem(Xa(t,e,this.config.prefix))}catch(n){console.error(n)}}clear(){try{localStorage.clear()}catch(t){console.error(t)}}}return t.\u0275fac=function(e){return new(e||t)(Rt(Ga),Rt(Wa))},t.\u0275prov=tt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class sc extends C{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new b;return this._value}next(t){super.next(this._value=t)}}function oc(t,e,n,s){return r(n)&&(s=n,n=void 0),s?oc(t,e,n).pipe(D(t=>a(t)?s(...t):s(t))):new _(r=>{!function t(e,n,r,s,o){let i;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){const t=e;e.addEventListener(n,r,o),i=()=>t.removeEventListener(n,r,o)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){const t=e;e.on(n,r),i=()=>t.off(n,r)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){const t=e;e.addListener(n,r),i=()=>t.removeListener(n,r)}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let i=0,l=e.length;i1?Array.prototype.slice.call(arguments):t)}),r,n)})}let ic=(()=>{class t{constructor(){this._eventStream=new sc(null),this.subscription=oc(window,"storage").subscribe(t=>this._eventStream.next(t))}get stream(){return this._eventStream.asObservable().pipe(ba(t=>!!t),Z())}ngOnDestroy(){this.subscription&&!this.subscription.closed&&this.subscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=tt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),lc=(()=>{class t{constructor(t,e,n){this.er=t,this.lss=e,this.es=n,this.lsDebounce=0,this.lsInitFromStorage=!1,this.lsStoredValue=new Ci,this._valuePath=[],this.es.stream.pipe(ba(t=>t.key&&t.key.indexOf(this.lsKey)>=0)).subscribe(t=>{Ya(this._valuePath.length?this._valuePath:["value"],t.newValue,this.er.nativeElement,this.lsFalsyTransformer)})}set lsValuePath(t){this._valuePath=null!=t?Array.isArray(t)?t:t.split(","):[]}ngAfterViewInit(){this._initKey(),this._initFromStorage(),this._hookEvent()}_initKey(){if(!this.lsKey){if(!this.er.nativeElement.id&&!this.er.nativeElement.name)throw new Error("No key or element id or name supplied!");this.lsKey=this.er.nativeElement.id||this.er.nativeElement.name}}_hookEvent(){this.lsEvent&&(this._eventSubscription=oc(this.er.nativeElement,this.lsEvent).pipe(function(t,e=ga){return n=>n.lift(new ya(t,e))}(this.lsDebounce)).subscribe(()=>{var t,e;this.lss.asPromisable().set(this.lsKey,(t=this._valuePath.length?this._valuePath:["value"],e=this.er.nativeElement,t.reduce((t,e)=>t?t[e]:null,e)),this.lsPrefix).then(()=>{this.lss.asPromisable().get(this.lsKey,this.lsPrefix).then(t=>{this.lsStoredValue.emit(t)}).catch(t=>console.error(t))}).catch(t=>console.error(t))}))}_initFromStorage(){this.lsInitFromStorage&&this.lss.asPromisable().get(this.lsKey,this.lsPrefix).then(t=>{Ya(this._valuePath.length?this._valuePath:["value"],t,this.er.nativeElement,this.lsFalsyTransformer)}).catch(t=>console.error(t))}ngOnDestroy(){this._eventSubscription&&!this._eventSubscription.closed&&this._eventSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(ro(Mo),ro(rc),ro(ic))},t.\u0275dir=ie({type:t,selectors:[["","ngxLocalStorage",""]],inputs:{lsKey:["ngxLocalStorage","lsKey"],lsPrefix:"lsPrefix",lsEvent:"lsEvent",lsDebounce:"lsDebounce",lsInitFromStorage:"lsInitFromStorage",lsFalsyTransformer:"lsFalsyTransformer",lsValuePath:"lsValuePath"},outputs:{lsStoredValue:"lsStoredValue"}}),t})();function ac(t){return function(e,n){const r=t&&t.key?t.key:n,s=t&&t.prefix?t.prefix:null,o=new rc(new Ka,{prefix:s});(new ic).stream.pipe(ba(t=>t.key&&t.key.indexOf(Xa(r,s))>=0)).subscribe(r=>{r.newValue&&"string"==typeof r.newValue&&(e[n]="null"!==r.newValue?r.newValue:t.nullTransformer?t.nullTransformer():null)}),Object.defineProperty(e,n,{get:function(){const e=o.get(r,s);return null==e&&t.nullTransformer?t.nullTransformer():e},set:function(t){o.set(r,t,s)}})}}const cc=["*",[["mat-card-footer"]]],uc=["*","mat-card-footer"],hc=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],dc=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"];let fc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ie({type:t,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),t})(),pc=(()=>{class t{constructor(t){this._animationMode=t}}return t.\u0275fac=function(e){return new(e||t)(ro(Pa,8))},t.\u0275cmp=te({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(t,e){2&t&&yo("_mat-animation-noopable","NoopAnimations"===e._animationMode)},exportAs:["matCard"],ngContentSelectors:uc,decls:2,vars:0,template:function(t,e){1&t&&(ho(cc),fo(0),fo(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child,.mat-card-actions .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),t})(),mc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=te({type:t,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:dc,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(t,e){1&t&&(ho(hc),fo(0),io(1,"div",0),fo(2,1),lo(),fo(3,2))},encapsulation:2,changeDetection:0}),t})(),gc=(()=>{class t{}return t.\u0275mod=se({type:t}),t.\u0275inj=et({factory:function(e){return new(e||t)},imports:[[Ra],Ra]}),t})(),yc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=te({type:t,selectors:[["app-decorator"]],decls:23,vars:2,consts:[[1,"demo-card"],[1,"mat-title"],[1,"demo-card__content"],[1,"mat-body-2"],[1,"demo-card__content__description","mat-subheading-2"]],template:function(t,e){1&t&&(io(0,"mat-card",0),io(1,"mat-card-header",1),xo(2," Decorator "),lo(),io(3,"mat-card-content",2),io(4,"p",3),xo(5,"Code inside component:"),lo(),io(6,"code"),xo(7," @ngxLocalStorage({key: 'cbox1', nullTransformer: () => false})"),ao(8,"br"),xo(9," boundBoolean: boolean;"),ao(10,"br"),ao(11,"br"),xo(12," @ngxLocalStorage({key: 'txt1', prefix: 'demo'})"),ao(13,"br"),xo(14," boundText: string; "),lo(),io(15,"p",3),xo(16,"Result:"),lo(),io(17,"code"),xo(18),ao(19,"br"),xo(20),lo(),io(21,"p",4),xo(22," Using this property decorator will init the property value from the localstorage. The storage key is either resolved by the given key or using the propery name. "),lo(),lo(),lo()),2&t&&(lr(18),Co(" boundBoolean: ",e.boundBoolean,""),lr(2),Co(" boundText: ",e.boundText," "))},directives:[pc,mc,fc],styles:[".demo-card__content[_ngcontent-%COMP%]{margin:1em 2em}.demo-card__content__description[_ngcontent-%COMP%]{margin:1em 0 0 -1em}"]}),Ua([ac({key:"cbox1",nullTransformer:()=>!1}),Qa("design:type",Boolean)],t.prototype,"boundBoolean",void 0),Ua([ac({key:"txt1",prefix:"demo"}),Qa("design:type",String)],t.prototype,"boundText",void 0),t})();const _c=function(){return["checked"]},wc=function(){return["value"]};let bc=(()=>{class t{constructor(){this.defaultFalsyTransformer=()=>!1}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=te({type:t,selectors:[["app-directive"]],decls:30,vars:5,consts:[[1,"demo-card"],[1,"mat-title"],[1,"demo-card__content"],[1,"mat-body-2"],[1,"demo-card__content__code-sample"],["type","checkbox","id","cbox1","ngxLocalStorage","","lsInitFromStorage","true","lsEvent","change",3,"lsValuePath","lsFalsyTransformer"],["for","cbox1"],["for","txt1"],["type","text","id","txt1","ngxLocalStorage","","lsPrefix","demo","lsInitFromStorage","true","lsEvent","input",3,"lsValuePath"],[1,"demo-card__content__description","mat-subheading-2"]],template:function(t,e){1&t&&(io(0,"mat-card",0),io(1,"mat-card-header",1),xo(2," Directive "),lo(),io(3,"mat-card-content",2),io(4,"p",3),xo(5,"Code inside component template:"),lo(),io(6,"code",4),xo(7,' '),ao(8,"br"),xo(9,' '),ao(10,"br"),ao(11,"br"),xo(12,' '),ao(13,"br"),xo(14,' '),lo(),io(15,"p",3),xo(16,"Code inside component:"),lo(),io(17,"code"),xo(18," defaultFalsyTransformer: () => any = () => false; "),lo(),io(19,"p",3),xo(20,"Result:"),lo(),ao(21,"input",5),io(22,"label",6),xo(23,"Checkbox"),lo(),ao(24,"br"),io(25,"label",7),xo(26,"Text"),lo(),ao(27,"input",8),io(28,"p",9),xo(29," Using the 'ngxLocalStorage' directive you can bind template controls to localstorage values. "),lo(),lo(),lo()),2&t&&(lr(21),so("lsValuePath",xi(3,_c))("lsFalsyTransformer",e.defaultFalsyTransformer),lr(6),so("lsValuePath",xi(4,wc)))},directives:[pc,mc,fc,lc],styles:[".demo-card__content[_ngcontent-%COMP%]{margin:1em 2em}.demo-card__content__description[_ngcontent-%COMP%]{margin:1em 0 0 -1em}"]}),t})(),vc=(()=>{class t{constructor(t){this.lss=t,this.entryCount=0,this.lss.set("demo-key",{id:1,name:"John Doe"})}ngOnInit(){this.entryCount=this.lss.count(),this.storedObject=this.lss.get("demo-key")}}return t.\u0275fac=function(e){return new(e||t)(ro(rc))},t.\u0275cmp=te({type:t,selectors:[["app-storage-service"]],decls:39,vars:4,consts:[[1,"demo-card"],[1,"mat-title"],[1,"demo-card__content"],[1,"mat-body-2"]],template:function(t,e){1&t&&(io(0,"mat-card",0),io(1,"mat-card-header",1),xo(2," LocalStorageService "),lo(),io(3,"mat-card-content",2),io(4,"p",3),xo(5,"Code inside component:"),lo(),io(6,"code"),xo(7," entryCount: number = 0;"),ao(8,"br"),ao(9,"br"),xo(10," constructor(private lss: LocalStorageService) { }"),ao(11,"br"),ao(12,"br"),xo(13," ngOnInit() {"),ao(14,"br"),xo(15," this.entryCount = this.lss.count()"),ao(16,"br"),xo(17," } "),lo(),io(18,"p",3),xo(19,"Result:"),lo(),io(20,"code"),xo(21),lo(),io(22,"p",3),xo(23,"Store values using the service:"),lo(),io(24,"code"),xo(25," constructor(private lss: LocalStorageService) {"),ao(26,"br"),xo(27," this.lss.set('demo-key', { id: 1, name: 'John Doe' })"),ao(28,"br"),xo(29," } "),lo(),io(30,"p",3),xo(31,"Read values using the service:"),lo(),io(32,"code"),xo(33," this.lss.get('demo-key') as { id: number; name: string; }; "),lo(),io(34,"pre"),xo(35),function(t,e){const n=ve();let r;n.firstCreatePass?(r=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const t=e[n];if("json"===t.name)return t}throw new Error("The pipe 'json' could not be found!")}(0,n.pipeRegistry),n.data[55]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(55,r.onDestroy)):r=n.data[55];const s=r.factory||(r.factory=ce(r.type)),o=Vt(ro),i=s();Vt(o),function(t,e,n,r){55>=t.data.length&&(t.data[55]=null,t.blueprint[55]=null),e[55]=r}(n,be(),0,i)}(),lo(),io(37,"p",3),xo(38,"Result:"),lo(),lo(),lo()),2&t&&(lr(21),Co(" entryCount: ",e.entryCount," "),lr(14),Co(" ",function(t,e,n){const r=be(),s=function(t,e){return t[e+19]}(r,t);return function(t,e){return Js.isWrapped(e)&&(e=Js.unwrap(e),t[Ae()]=or),e}(r,function(t,e){return t[1].data[e+19].pure}(r,t)?function(t,e,n,r,s,o){const i=e+n;return no(t,i,s)?to(t,i+1,o?r.call(o,s):r(s)):eo(t,i+1)}(r,Ie(),e,s.transform,n,s):s.transform(n))}(36,2,e.storedObject),"\n "))},directives:[pc,mc,fc],pipes:[jl],styles:[".demo-card__content[_ngcontent-%COMP%]{margin:1em 2em}.demo-card__content__description[_ngcontent-%COMP%]{margin:1em 0 0 -1em}"]}),t})();function xc(t,e){if(1&t&&(io(0,"p"),xo(1),lo()),2&t){const t=e.$implicit;lr(1),ko(' { "key": "',t.key,'"; "oldValue": "',t.oldValue,'"; "newValue": "',t.newValue,'" } ')}}let Cc=(()=>{class t{constructor(t){this.es=t,this.$events=[],this.es.stream.subscribe(t=>{this.$events=[...this.$events,t],console.log("events: ",this.$events)})}}return t.\u0275fac=function(e){return new(e||t)(ro(ic))},t.\u0275cmp=te({type:t,selectors:[["app-event-service"]],decls:22,vars:1,consts:[[1,"demo-card"],[1,"mat-title"],[1,"demo-card__content"],[1,"mat-body-2"],[1,"demo-card__content__code-sample"],[4,"ngFor","ngForOf"],[1,"demo-card__content__description","mat-subheading-2"]],template:function(t,e){1&t&&(io(0,"mat-card",0),io(1,"mat-card-header",1),xo(2," EventServiceComponent "),lo(),io(3,"mat-card-content",2),io(4,"p",3),xo(5,"Code inside component:"),lo(),io(6,"code",4),xo(7," $events: StorageEvent[] = [];"),ao(8,"br"),ao(9,"br"),xo(10," constructor(private es: StorageEventService) {"),ao(11,"br"),xo(12," this.es.stream"),ao(13,"br"),xo(14," .subscribe(e => this.$events = [...this.$events, e]);"),ao(15,"br"),xo(16," } "),lo(),io(17,"p",3),xo(18,"Result (modify text or checkbox in another tab):"),lo(),function(t,e,n,r,s,o,i,l){const a=be(),c=ve(),u=c.firstCreatePass?function(t,e,n,r,s,o,i,l,a){const c=e.consts,u=_r(e,n[6],19,0,"p",Zn(c,5));Ar(e,n,u,Zn(c,void 0)),Ze(e,u);const h=u.tViews=Sr(2,-1,r,2,3,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c),d=Tr(0,null,2,-1,null,null);return d.injectorIndex=u.injectorIndex,h.node=d,null!==e.queries&&(e.queries.template(e,u),h.queries=e.queries.embeddedTView(u)),u}(0,c,a,e):c.data[38];Ce(u,!1);const h=a[11].createComment("");ms(c,a,h,u),Un(h,a),qr(a,a[38]=Br(h,a,h,u)),me(u)&&Cr(c,a,u)}(0,xc),io(20,"p",6),xo(21," Using the 'EventServiceComponent' to receive a stream of storage events. "),lo(),lo(),lo()),2&t&&(lr(19),so("ngForOf",e.$events))},directives:[pc,mc,fc,Ml],styles:[".demo-card__content[_ngcontent-%COMP%]{margin:1em 2em}.demo-card__content__description[_ngcontent-%COMP%]{margin:1em 0 0 -1em}"]}),t})(),kc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=te({type:t,selectors:[["app-root"]],decls:8,vars:0,consts:[[1,"app"],["color","primary",1,"app__toolbar"],[1,"app__content"]],template:function(t,e){1&t&&(io(0,"div",0),io(1,"mat-toolbar",1),xo(2," ngx-localstorage "),lo(),io(3,"div",2),ao(4,"app-decorator"),ao(5,"app-directive"),ao(6,"app-storage-service"),ao(7,"app-event-service"),lo(),lo())},directives:[Za,yc,bc,vc,Cc],styles:['.app[_ngcontent-%COMP%]{display:grid;grid-template-areas:"toolbar" "content";grid-template-rows:auto 1fr;height:100vh}.app__toolbar[_ngcontent-%COMP%]{grid-area:toolbar}.app__content[_ngcontent-%COMP%]{grid-area:content;padding:.5em}.app__content[_ngcontent-%COMP%] mat-card{margin-bottom:.5em}']}),t})(),Ec=(()=>{class t{}return t.\u0275mod=se({type:t}),t.\u0275inj=et({factory:function(e){return new(e||t)},imports:[[Rl,gc,Ja.forRoot({})]]}),t})(),Sc=(()=>{class t{}return t.\u0275mod=se({type:t,bootstrap:[kc]}),t.\u0275inj=et({factory:function(e){return new(e||t)},providers:[],imports:[[ha,qa,Ec]]}),t})();(function(){if(Mn)throw new Error("Cannot enable prod mode after platform setup.");Pn=!1})(),ca().bootstrapModule(Sc).catch(t=>console.log(t))},zn8P:function(t,e){function n(t){return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}))}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="zn8P"}},[[0,0]]]); \ No newline at end of file diff --git a/docs/main-es5.60be7826755685e7ee03.js b/docs/main-es5.60be7826755685e7ee03.js new file mode 100644 index 0000000..cc5cd0e --- /dev/null +++ b/docs/main-es5.60be7826755685e7ee03.js @@ -0,0 +1 @@ +!function(){function e(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(s){i=!0,o=s}finally{try{r||null==u.return||u.return()}finally{if(i)throw o}}return n}(e,t)||r(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=r(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return u=e.done,e},e:function(e){s=!0,a=e},f:function(){try{u||null==n.return||n.return()}finally{if(s)throw a}}}}function n(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||r(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;v(this,e),this.project=t,this.concurrent=n}return y(e,[{key:"call",value:function(e,t){return t.subscribe(new K(e,this.project,this.concurrent))}}]),e}(),K=function(e){u(n,e);var t=l(n);function n(e,r){var i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return v(this,n),(i=t.call(this,e)).project=r,i.concurrent=o,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return y(n,[{key:"_next",value:function(e){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),n}(W);function G(){return function(e){return e.lift(new $(e))}}var J,$=function(){function e(t){v(this,e),this.connectable=t}return y(e,[{key:"call",value:function(e,t){var n=this.connectable;n._refCount++;var r=new Y(e,n),i=t.subscribe(r);return r.closed||(r.connection=n.connect()),i}}]),e}(),Y=function(e){u(n,e);var t=l(n);function n(e,r){var i;return v(this,n),(i=t.call(this,e)).connectable=r,i}return y(n,[{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null}}]),n}(S),X={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:(J=function(e){u(n,e);var t=l(n);function n(e,r){var i;return v(this,n),(i=t.call(this)).source=e,i.subjectFactory=r,i._refCount=0,i._isComplete=!1,i}return y(n,[{key:"_subscribe",value:function(e){return this.getSubject().subscribe(e)}},{key:"getSubject",value:function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new x).add(this.source.subscribe(new ee(this.getSubject(),this))),e.closed&&(this._connection=null,e=x.EMPTY)),e}},{key:"refCount",value:function(){return G()(this)}}]),n}(D).prototype)._subscribe},_isComplete:{value:J._isComplete,writable:!0},getSubject:{value:J.getSubject},connect:{value:J.connect},refCount:{value:J.refCount}},ee=function(e){u(n,e);var t=l(n);function n(e,r){var i;return v(this,n),(i=t.call(this,e)).connectable=r,i}return y(n,[{key:"_error",value:function(e){this._unsubscribe(),a(d(n.prototype),"_error",this).call(this,e)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),a(d(n.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}]),n}(M);function te(){return new V}function ne(){return function(e){return G()((t=te,function(e){var n;n="function"==typeof t?t:function(){return t};var r=Object.create(e,X);return r.source=e,r.subjectFactory=n,r})(e));var t}}function re(e){return{toString:e}.toString()}function ie(e,t,n){return re((function(){var r=function(e){return function(){if(e){var t=e.apply(void 0,arguments);for(var n in t)this[n]=t[n]}}}(t);function i(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:le.Default;if(void 0===Ue)throw new Error("inject() must be called from an injection context");return null===Ue?Je(e,void 0,t):Ue.get(e,t&le.Optional?null:void 0,t)}function Ge(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:le.Default;return(Te||Ke)(Se(e),t)}function Je(e,t,n){var r=ve(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&le.Optional)return null;if(void 0!==t)return t;throw new Error("Injector: NOT_FOUND [".concat(ke(e),"]"))}function $e(e){for(var t=[],n=0;n1&&void 0!==arguments[1]?arguments[1]:ze;if(t===ze){var n=new Error("NullInjectorError: No provider for ".concat(ke(e),"!"));throw n.name="NullInjectorError",n}return t}}]),e}(),Xe=function e(){v(this,e)};function et(e,t){e.forEach((function(e){return Array.isArray(e)?et(e,t):t(e)}))}function tt(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function nt(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function rt(e,t){for(var n=[],r=0;r=0)return e[1|n]}function ot(e,t){return function(e,t,n){for(var r=0,i=e.length>>1;i!==r;){var o=r+(i-r>>1),a=e[o<<1];if(t===a)return o<<1;a>t?i=o:r=o+1}return~(i<<1)}(e,t)}var at,ut=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),st=((at={})[at.Emulated=0]="Emulated",at[at.Native=1]="Native",at[at.None=2]="None",at[at.ShadowDom=3]="ShadowDom",at),lt={},ct=[],ft=0;function ht(e){return re((function(){var t={},n={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===ut.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||ct,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||st.Emulated,id:"c",styles:e.styles||ct,_:null,setInput:null,schemas:e.schemas||null,tView:null},r=e.directives,i=e.features,o=e.pipes;return n.id+=ft++,n.inputs=mt(e.inputs,t),n.outputs=mt(e.outputs),i&&i.forEach((function(e){return e(n)})),n.directiveDefs=r?function(){return("function"==typeof r?r():r).map(dt)}:null,n.pipeDefs=o?function(){return("function"==typeof o?o():o).map(vt)}:null,n}))}function dt(e){return _t(e)||function(e){return e[je]||null}(e)}function vt(e){return function(e){return e[Re]||null}(e)}var pt={};function yt(e){var t={type:e.type,bootstrap:e.bootstrap||ct,declarations:e.declarations||ct,imports:e.imports||ct,exports:e.exports||ct,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&re((function(){pt[e.id]=e.type})),t}function mt(e,t){if(null==e)return lt;var n={};for(var r in e)if(e.hasOwnProperty(r)){var i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,t&&(t[i]=o)}return n}var gt=ht;function _t(e){return e[Pe]||null}function bt(e,t){return e.hasOwnProperty(Fe)?e[Fe]:null}function wt(e,t){var n=e[Me]||null;if(!n&&!0===t)throw new Error("Type ".concat(ke(e)," does not have '\u0275mod' property."));return n}function kt(e){return Array.isArray(e)&&"object"==typeof e[1]}function xt(e){return Array.isArray(e)&&!0===e[1]}function Ct(e){return 0!=(8&e.flags)}function Et(e){return 2==(2&e.flags)}function St(e){return 1==(1&e.flags)}function Tt(e){return null!==e.template}function It(e){return 0!=(512&e[2])}var At=function(){function e(t,n,r){v(this,e),this.previousValue=t,this.currentValue=n,this.firstChange=r}return y(e,[{key:"isFirstChange",value:function(){return this.firstChange}}]),e}();function Ot(){var e=Nt(this),t=null==e?void 0:e.current;if(t){var n=e.previous;if(n===lt)e.previous=t;else for(var r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Dt(e,t,n,r){var i=Nt(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:lt,current:null}),o=i.current||(i.current={}),a=i.previous,u=this.declaredInputs[n],s=a[u];o[u]=new At(s&&s.currentValue,t,a===lt),e[r]=t}function Nt(e){return e.__ngSimpleChanges__||null}var Pt=void 0;function jt(e){return!!e.listen}var Rt={createRenderer:function(e,t){return void 0!==Pt?Pt:"undefined"!=typeof document?document:void 0}};function Mt(e){for(;Array.isArray(e);)e=e[0];return e}function Vt(e,t){return Mt(t[e+20])}function Ft(e,t){return Mt(t[e.index])}function Ht(e,t){return e.data[t+20]}function Lt(e,t){var n=t[e];return kt(n)?n:n[0]}function Bt(e){var t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function zt(e){return 4==(4&e[2])}function Zt(e){return 128==(128&e[2])}function qt(e,t){return null===e||null==t?null:e[t]}function Ut(e){e[18]=0}function Wt(e,t){e[5]+=t;for(var n=e,r=e[3];null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}var Qt={lFrame:pn(null),bindingsEnabled:!0,checkNoChangesMode:!1};function Kt(){return Qt.bindingsEnabled}function Gt(){return Qt.lFrame.lView}function Jt(){return Qt.lFrame.tView}function $t(){return Qt.lFrame.currentTNode}function Yt(e,t){Qt.lFrame.currentTNode=e,Qt.lFrame.isParent=t}function Xt(){return Qt.lFrame.isParent}function en(){Qt.lFrame.isParent=!1}function tn(){return Qt.checkNoChangesMode}function nn(e){Qt.checkNoChangesMode=e}function rn(){var e=Qt.lFrame,t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function on(){return Qt.lFrame.bindingIndex}function an(){return Qt.lFrame.bindingIndex++}function un(e){var t=Qt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function sn(e,t){var n=Qt.lFrame;n.bindingIndex=n.bindingRootIndex=e,ln(t)}function ln(e){Qt.lFrame.currentDirectiveIndex=e}function cn(){return Qt.lFrame.currentQueryIndex}function fn(e){Qt.lFrame.currentQueryIndex=e}function hn(e,t){var n=vn();Qt.lFrame=n,n.currentTNode=t,n.lView=e}function dn(e){var t=vn(),n=e[1];Qt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex}function vn(){var e=Qt.lFrame,t=null===e?null:e.child;return null===t?pn(e):t}function pn(e){var t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null};return null!==e&&(e.child=t),t}function yn(){var e=Qt.lFrame;return Qt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var mn=yn;function gn(){var e=yn();e.isParent=!0,e.tView=null,e.selectedIndex=0,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function _n(){return Qt.lFrame.selectedIndex}function bn(e){Qt.lFrame.selectedIndex=e}function wn(e,t){for(var n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[a]<0&&(e[18]+=65536),(o>11>16&&(3&e[2])===t&&(e[2]+=2048,o.call(a)):o.call(a)}var Tn=function e(t,n,r){v(this,e),this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r};function In(e,t,n){for(var r=jt(e),i=0;it){a=o-1;break}}}for(;o>16,r=t;n>0;)r=r[15],n--;return r}function Rn(e){return"string"==typeof e?e:null==e?"":""+e}function Mn(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Rn(e)}var Vn=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Ne);function Fn(e){return e instanceof Function?e():e}var Hn=!0;function Ln(e){var t=Hn;return Hn=e,t}var Bn=0;function zn(e,t){var n=qn(e,t);if(-1!==n)return n;var r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Zn(r.data,e),Zn(t,null),Zn(r.blueprint,null));var i=Un(e,t),o=e.injectorIndex;if(Nn(i))for(var a=Pn(i),u=jn(i,t),s=u[1].data,l=0;l<8;l++)t[o+l]=u[a+l]|s[a+l];return t[o+8]=i,o}function Zn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function qn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Un(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=0,r=null,i=t;null!==i;){var o=i[1],a=o.type;if(null===(r=2===a?o.declTNode:1===a?i[6]:null))return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Wn(e,t,n){!function(e,t,n){var r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(He)&&(r=n[He]),null==r&&(r=n[He]=Bn++);var i=255&r,o=1<3&&void 0!==arguments[3]?arguments[3]:le.Default,i=arguments.length>4?arguments[4]:void 0;if(null!==e){var o=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;var t=e.hasOwnProperty(He)?e[He]:void 0;return"number"==typeof t&&t>0?255&t:t}(n);if("function"==typeof o){hn(t,e);try{var a=o();if(null!=a||r&le.Optional)return a;throw new Error("No provider for ".concat(Mn(n),"!"))}finally{mn()}}else if("number"==typeof o){if(-1===o)return new er(e,t);var u=null,s=qn(e,t),l=-1,c=r&le.Host?t[16][6]:null;for((-1===s||r&le.SkipSelf)&&(-1!==(l=-1===s?Un(e,t):t[s+8])&&Xn(r,!1)?(u=t[1],s=Pn(l),t=jn(l,t)):s=-1);-1!==s;){var f=t[1];if(Yn(o,s,f.data)){var h=Gn(s,t,n,u,r,c);if(h!==Kn)return h}-1!==(l=t[s+8])&&Xn(r,t[1].data[s+8]===c)&&Yn(o,s,t)?(u=f,s=Pn(l),t=jn(l,t)):s=-1}}}if(r&le.Optional&&void 0===i&&(i=null),0==(r&(le.Self|le.Host))){var d=t[9],v=Qe(void 0);try{return d?d.get(n,i,r&le.Optional):Je(n,i,r&le.Optional)}finally{Qe(v)}}if(r&le.Optional)return i;throw new Error("NodeInjector: NOT_FOUND [".concat(Mn(n),"]"))}var Kn={};function Gn(e,t,n,r,i,o){var a=t[1],u=a.data[e+8],s=Jn(u,a,n,null==r?Et(u)&&Hn:r!=a&&2===u.type,i&le.Host&&o===u);return null!==s?$n(t,a,s,u):Kn}function Jn(e,t,n,r,i){for(var o=e.providerIndexes,a=t.data,u=1048575&o,s=e.directiveStart,l=o>>20,c=i?u+l:e.directiveEnd,f=r?u:u+l;f=s&&h.type===n)return f}if(i){var d=a[s];if(d&&Tt(d)&&d.type===n)return s}return null}function $n(e,t,n,r){var i=e[n],o=t.data;if(i instanceof Tn){var a=i;if(a.resolving)throw new Error("Circular dep for "+Mn(o[n]));var u=Ln(a.canSeeViewProviders);a.resolving=!0;var s=a.injectImpl?Qe(a.injectImpl):null;hn(e,r);try{i=e[n]=a.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function(e,t,n){var r,i=t.type.prototype,o=i.ngOnChanges,a=i.ngOnInit,u=i.ngDoCheck;if(o){var s=((r=t).type.prototype.ngOnChanges&&(r.setInput=Dt),Ot);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}a&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,a),u&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,u),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,u))}(n,o[n],t)}finally{null!==s&&Qe(s),Ln(u),a.resolving=!1,mn()}}return i}function Yn(e,t,n){var r=64&e,i=32&e;return!!((128&e?r?i?n[t+7]:n[t+6]:i?n[t+5]:n[t+4]:r?i?n[t+3]:n[t+2]:i?n[t+1]:n[t])&1<1?t-1:0),r=1;ro?"":i[c+1].toLowerCase();var h=8&r?f:null;if(h&&-1!==lr(h,l,0)||2&r&&l!==f){if(vr(r))return!1;a=!0}}}}else{if(!a&&!vr(r)&&!vr(s))return!1;if(a&&vr(s))continue;a=!1,r=s|1&r}}return vr(r)||a}function vr(e){return 0==(1&e)}function pr(e,t,n,r){if(null===t)return-1;var i=0;if(r||!n){for(var o=!1;i-1)for(n++;n2&&void 0!==arguments[2]&&arguments[2],r=0;r0?'="'+u+'"':"")+"]"}else 8&r?i+="."+a:4&r&&(i+=" "+a);else""===i||vr(a)||(t+=gr(o,i),i=""),r=a,o=o||!vr(r);n++}return""!==i&&(t+=gr(o,i)),t}var br={};function wr(e){var t=e[3];return xt(t)?t[3]:t}function kr(e){return Cr(e[13])}function xr(e){return Cr(e[4])}function Cr(e){for(;null!==e&&!xt(e);)e=e[4];return e}function Er(e){Sr(Jt(),Gt(),_n()+e,tn())}function Sr(e,t,n,r){if(!r)if(3==(3&t[2])){var i=e.preOrderCheckHooks;null!==i&&kn(t,i,n)}else{var o=e.preOrderHooks;null!==o&&xn(t,o,0,n)}bn(n)}function Tr(e,t){return e<<17|t<<2}function Ir(e){return e>>17&32767}function Ar(e){return 2|e}function Or(e){return(131068&e)>>2}function Dr(e,t){return-131069&e|t<<2}function Nr(e){return 1|e}function Pr(e,t){var n=e.contentQueries;if(null!==n)for(var r=0;r20&&Sr(e,t,0,tn()),n(r,i)}finally{bn(o)}}function Br(e,t,n){Kt()&&(function(e,t,n,r){var i=n.directiveStart,o=n.directiveEnd;e.firstCreatePass||zn(n,t),sr(r,t);for(var a=n.initialInputs,u=i;u0&&function e(t){for(var n=kr(t);null!==n;n=xr(n))for(var r=10;r0&&e(i)}var a=t[1].components;if(null!==a)for(var u=0;u0&&e(s)}}(n)}}function ai(e,t){var n=Lt(t,e),r=n[1];!function(e,t){for(var n=t.length;n0&&(e[r-1][4]=i[4]);var a=nt(e,10+t);Ti(i[1],n=i,n[11],2,null,null),n[0]=null,n[6]=null;var u=a[19];null!==u&&u.detachView(a[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}}function mi(e,t){if(!(256&t[2])){var n=t[11];jt(n)&&n.destroyNode&&Ti(e,t,n,3,null,null),function(e){var t=e[13];if(!t)return gi(e[1],e);for(;t;){var n=null;if(kt(t))n=t[13];else{var r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)kt(t)&&gi(t[1],t),t=t[3];null===t&&(t=e),kt(t)&&gi(t[1],t),n=t&&t[4]}t=n}}(t)}}function gi(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){var n;if(null!=e&&null!=(n=e.destroyHooks))for(var r=0;r=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);t[7]=null}}(e,t),1===t[1].type&&jt(t[11])&&t[11].destroy();var n=t[17];if(null!==n&&xt(t[3])){n!==t[3]&&pi(n,t);var r=t[19];null!==r&&r.detachView(e)}}}function _i(e,t,n){for(var r=t.parent;null!=r&&(3===r.type||4===r.type);)r=(t=r).parent;if(null===r)return n[0];if(t&&4===t.type&&4&t.flags)return Ft(t,n).parentNode;if(2&r.flags){var i=e.data,o=i[i[r.index].directiveStart].encapsulation;if(o!==st.ShadowDom&&o!==st.Native)return null}return Ft(r,n)}function bi(e,t,n,r){jt(e)?e.insertBefore(t,n,r):t.insertBefore(n,r,!0)}function wi(e,t,n){jt(e)?e.appendChild(t,n):t.appendChild(n)}function ki(e,t,n,r){null!==r?bi(e,t,n,r):wi(e,t,n)}function xi(e,t){return jt(e)?e.parentNode(t):t.parentNode}function Ci(e,t){return 3===e.type||4===e.type?Ft(e,t):null}function Ei(e,t,n,r){var i=_i(e,r,t);if(null!=i){var o=t[11],a=Ci(r.parent||t[6],t);if(Array.isArray(n))for(var u=0;u-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}mi(this._lView[1],this._lView)}},{key:"onDestroy",value:function(e){qr(this._lView[1],this._lView,null,e)}},{key:"markForCheck",value:function(){!function(e){for(;e;){e[2]|=64;var t=wr(e);if(It(e)&&!t)return e;e=t}}(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){si(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(e,t,n){nn(!0);try{si(e,t,n)}finally{nn(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}},{key:"detachFromAppRef",value:function(){var e;this._appRef=null,Ti(this._lView[1],e=this._lView,e[11],2,null,null)}},{key:"attachToAppRef",value:function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}},{key:"rootNodes",get:function(){var e=this._lView,t=e[1];return function e(t,r,i,o){for(var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];null!==i;){var u=r[i.index];if(null!==u&&o.push(Mt(u)),xt(u))for(var s=10;s0;)this.remove(this.length-1)}},{key:"get",value:function(e){return null!==this._lContainer[8]&&this._lContainer[8][e]||null}},{key:"createEmbeddedView",value:function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r}},{key:"createComponent",value:function(e,t,n,r,i){var o=n||this.parentInjector;if(!i&&null==e.ngModule&&o){var a=o.get(Xe,null);a&&(i=a)}var u=e.create(o,r,void 0,i);return this.insert(u.hostView,t),u}},{key:"insert",value:function(e,t){var n=e._lView,r=n[1];if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),xt(n[3])){var i=this.indexOf(e);if(-1!==i)this.detach(i);else{var o=n[3],a=new Pi(o,o[6],o[3]);a.detach(a.indexOf(e))}}var u=this._adjustIndex(t),s=this._lContainer;!function(e,t,n,r){var i=10+r,o=n.length;r>0&&(n[i-1][4]=t),r1&&void 0!==arguments[1]?arguments[1]:0;return null==e?this.length+t:e}},{key:"allocateContainerIfNeeded",value:function(){null===this._lContainer[8]&&(this._lContainer[8]=[])}},{key:"element",get:function(){return Mi(t,this._hostTNode,this._hostView)}},{key:"injector",get:function(){return new er(this._hostTNode,this._hostView)}},{key:"parentInjector",get:function(){var e=Un(this._hostTNode,this._hostView);if(Nn(e)){var t=jn(e,this._hostView),n=Pn(e);return new er(t[1].data[n+8],t)}return new er(null,this._hostView)}},{key:"length",get:function(){return this._lContainer.length-10}}]),r}(e));var o=r[n.index];if(xt(o))i=o;else{var a;if(3===n.type)a=Mt(o);else if(a=r[11].createComment(""),It(r)){var s=r[11],c=Ft(n,r);bi(s,xi(s,c),a,function(e,t){return jt(e)?e.nextSibling(t):t.nextSibling}(s,c))}else Ei(r[1],r,a,n);r[n.index]=i=ii(o,r,a,n),ui(r,i)}return new Pi(i,n,r)}var Hi=new Le("Set Injector scope."),Li={},Bi={},zi=[],Zi=void 0;function qi(){return void 0===Zi&&(Zi=new Ye),Zi}function Ui(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3?arguments[3]:void 0;return new Wi(e,n,t||qi(),r)}var Wi=function(){function e(t,n,r){var i=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;v(this,e),this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var a=[];n&&et(n,(function(e){return i.processProvider(e,t,n)})),et([t],(function(e){return i.processInjectorType(e,[],a)})),this.records.set(Be,Ki(void 0,this));var u=this.records.get(Hi);this.scope=null!=u?u.value:null,this.source=o||("object"==typeof t?null:ke(t))}return y(e,[{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach((function(e){return e.ngOnDestroy()}))}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ze,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:le.Default;this.assertNotDestroyed();var r,i=We(this);try{if(!(n&le.SkipSelf)){var o=this.records.get(e);if(void 0===o){var a=("function"==typeof(r=e)||"object"==typeof r&&r instanceof Le)&&ve(e);o=a&&this.injectableDefInScope(a)?Ki(Qi(e),Li):null,this.records.set(e,o)}if(null!=o)return this.hydrate(e,o)}return(n&le.Self?qi():this.parent).get(e,t=n&le.Optional&&t===ze?null:t)}catch(u){if("NullInjectorError"===u.name){if((u.ngTempTokenPath=u.ngTempTokenPath||[]).unshift(ke(e)),i)throw u;return function(e,t,n,r){var i=e.ngTempTokenPath;throw t.__source&&i.unshift(t.__source),e.message=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;var i=ke(t);if(Array.isArray(t))i=t.map(ke).join(" -> ");else if("object"==typeof t){var o=[];for(var a in t)if(t.hasOwnProperty(a)){var u=t[a];o.push(a+":"+("string"==typeof u?JSON.stringify(u):ke(u)))}i="{".concat(o.join(", "),"}")}return"".concat(n).concat(r?"("+r+")":"","[").concat(i,"]: ").concat(e.replace(Ze,"\n "))}("\n"+e.message,i,"R3InjectorError",r),e.ngTokenPath=i,e.ngTempTokenPath=null,e}(u,e,0,this.source)}throw u}finally{We(i)}}},{key:"_resolveInjectorDefTypes",value:function(){var e=this;this.injectorDefTypes.forEach((function(t){return e.get(t)}))}},{key:"toString",value:function(){var e=[];return this.records.forEach((function(t,n){return e.push(ke(n))})),"R3Injector[".concat(e.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(e,t,n){var r=this;if(!(e=Se(e)))return!1;var i=ye(e),o=null==i&&e.ngModule||void 0,a=void 0===o?e:o,u=-1!==n.indexOf(a);if(void 0!==o&&(i=ye(o)),null==i)return!1;if(null!=i.imports&&!u){var s;n.push(a);try{et(i.imports,(function(e){r.processInjectorType(e,t,n)&&(void 0===s&&(s=[]),s.push(e))}))}finally{}if(void 0!==s)for(var l=function(e){var t=s[e],n=t.ngModule,i=t.providers;et(i,(function(e){return r.processProvider(e,n,i||zi)}))},c=0;c0){var n=rt(t,"?");throw new Error("Can't resolve all parameters for ".concat(ke(e),": (").concat(n.join(", "),")."))}var r=function(e){var t=e&&(e[me]||e[be]||e[_e]&&e[_e]());if(t){var n=function(e){if(e.hasOwnProperty("name"))return e.name;var t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(n,'" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "').concat(n,'" class.')),t}return null}(e);return null!==r?function(){return r.factory(e)}:function(){return new e}}(e);throw new Error("unreachable")}function Ki(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:e,value:t,multi:n?[]:void 0}}function Gi(e){return null!==e&&"object"==typeof e&&qe in e}function Ji(e){return"function"==typeof e}var $i=function(e,t,n){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3?arguments[3]:void 0,i=Ui(e,t,n,r);return i._resolveInjectorDefTypes(),i}({name:n},t,e,n)},Yi=function(){var e=function(){function e(){v(this,e)}return y(e,null,[{key:"create",value:function(e,t){return Array.isArray(e)?$i(e,t,""):$i(e.providers,e.parent,e.name||"")}}]),e}();return e.THROW_IF_NOT_FOUND=ze,e.NULL=new Ye,e.\u0275prov=he({token:e,providedIn:"any",factory:function(){return Ge(Be)}}),e.__NG_ELEMENT_ID__=-1,e}();function Xi(e,t,n){var r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(var a=0;a=0;r--){var i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=On(i.hostAttrs,n=On(n,i.hostAttrs))}}(r)}function no(e){return e===lt?{}:e===ct?[]:e}function ro(e,t){var n=e.viewQuery;e.viewQuery=n?function(e,r){t(e,r),n(e,r)}:t}function io(e,t){var n=e.contentQueries;e.contentQueries=n?function(e,r,i){t(e,r,i),n(e,r,i)}:t}function oo(e,t){var n=e.hostBindings;e.hostBindings=n?function(e,r){t(e,r),n(e,r)}:t}var ao=null;function uo(){if(!ao){var e=Ne.Symbol;if(e&&e.iterator)ao=e.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),n=0;n1&&void 0!==arguments[1]?arguments[1]:le.Default,n=Gt();return null===n?Ge(e,t):Qn($t(),n,Se(e),t)}function po(e,t,n){var r,i=Gt();return ho(i,an(),t)&&function(e,t,n,r,i,o,a,u){var s,l,c=Ft(t,n),f=t.inputs;null!=f&&(s=f[r])?(hi(e,n,s,r,i),Et(t)&&function(e,t){var n=Lt(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):2===t.type&&(r="class"===(l=r)?"className":"for"===l?"htmlFor":"formaction"===l?"formAction":"innerHtml"===l?"innerHTML":"readonly"===l?"readOnly":"tabindex"===l?"tabIndex":l,i=null!=a?a(i,t.tagName||"",r):i,jt(o)?o.setProperty(c,r,i):An(r)||(c.setProperty?c.setProperty(r,i):c[r]=i))}(Jt(),Ht((r=Qt.lFrame).tView,r.selectedIndex),i,e,t,i[11],n),po}function yo(e,t,n,r,i){var o=i?"class":"style";hi(e,n,t.inputs[o],o,r)}function mo(e,t,n,r){var i=Gt(),o=Jt(),a=20+e,u=i[11],s=i[a]=jr(t,u,Qt.lFrame.currentNamespace),l=o.firstCreatePass?function(e,t,n,r,i,o,a){var u=t.consts,s=Mr(t,e,2,i,qt(u,o));return Wr(t,n,s,qt(u,a)),null!==s.attrs&&Xi(s,s.attrs,!1),null!==s.mergedAttrs&&Xi(s,s.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,s),s}(e,o,i,0,t,n,r):o.data[a];Yt(l,!0);var c=l.mergedAttrs;null!==c&&In(u,s,c);var f=l.classes;null!==f&&Oi(u,s,f);var h=l.styles;null!==h&&Ai(u,s,h),Ei(o,i,s,l),0===Qt.lFrame.elementDepthCount&&sr(s,i),Qt.lFrame.elementDepthCount++,St(l)&&(Br(o,i,l),function(e,t,n){if(Ct(t))for(var r=t.directiveEnd,i=t.directiveStart;i2&&void 0!==arguments[2]?arguments[2]:Ft,r=t.localNames;if(null!==r)for(var i=t.index+1,o=0;o1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,r=Gt(),i=Jt(),o=Mr(i,e,1,null,n||null);null===o.projection&&(o.projection=t),en(),function(e,t,n){Ii(t[11],0,t,n,_i(e,n,t),Ci(n.parent||t[6],t))}(i,r,o)}var Co=[];function Eo(e,t,n,r,i){for(var o=e[n+1],a=null===t,u=r?Ir(o):Or(o),s=!1;0!==u&&(!1===s||a);){var l=e[u+1];So(e[u],t)&&(s=!0,e[u+1]=r?Nr(l):Ar(l)),u=r?Ir(l):Or(l)}s&&(e[n+1]=r?Ar(o):Nr(o))}function So(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ot(e,t)>=0}function To(e,t){return function(e,t,n,r){var i=Gt(),o=Jt(),a=un(2);o.firstUpdatePass&&function(e,t,n,r){var i=e.data;if(null===i[n+1]){var o=i[_n()+20],a=function(e,t){return t>=e.expandoStartIndex}(e,n);(function(e,t){return 0!=(16&e.flags)})(o)&&null===t&&!a&&(t=!1),t=function(e,t,n,r){var i=function(e){var t=Qt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e),o=t.residualClasses;if(null===i)0===t.classBindings&&(n=Ao(n=Io(null,e,t,n,!0),t.attrs,!0),o=null);else{var a=t.directiveStylingLast;if(-1===a||e[a]!==i)if(n=Io(i,e,t,n,!0),null===o){var u=function(e,t,n){var r=t.classBindings;if(0!==Or(r))return e[Ir(r)]}(e,t);void 0!==u&&Array.isArray(u)&&function(e,t,n,r){e[Ir(t.classBindings)]=r}(e,t,0,u=Ao(u=Io(null,e,t,u[1],!0),t.attrs,!0))}else o=function(e,t,n){for(var r=void 0,i=t.directiveEnd,o=1+t.directiveStylingLast;o0)&&(c=!0)}else l=n;if(i)if(0!==s){var h=Ir(e[u+1]);e[r+1]=Tr(h,u),0!==h&&(e[h+1]=Dr(e[h+1],r)),e[u+1]=131071&e[u+1]|r<<17}else e[r+1]=Tr(u,0),0!==u&&(e[u+1]=Dr(e[u+1],r)),u=r;else e[r+1]=Tr(s,0),0===u?u=r:e[s+1]=Dr(e[s+1],r),s=r;c&&(e[r+1]=Ar(e[r+1])),Eo(e,l,r,!0),Eo(e,l,r,!1),function(e,t,n,r,i){var o=e.residualClasses;null!=o&&"string"==typeof t&&ot(o,t)>=0&&(n[r+1]=Nr(n[r+1]))}(t,l,e,r),a=Tr(u,s),t.classBindings=a}(i,o,t,n,a)}}(o,e,a),t!==br&&ho(i,a,t)&&function(e,t,n,r,i,o,a,u){if(2===t.type){var s=e.data,l=s[u+1];Do(1==(1&l)?Oo(s,t,n,i,Or(l),!0):void 0)||(Do(o)||2==(2&l)&&(o=Oo(s,null,n,i,u,!0)),function(e,t,n,r,i){var o=jt(e);i?o?e.addClass(n,r):n.classList.add(r):o?e.removeClass(n,r):n.classList.remove(r)}(r,0,Vt(_n(),n),i,o))}}(o,o.data[_n()+20],i,i[11],e,i[a+1]=function(e,t){return null==e||"object"==typeof e&&(e=ke(function(e){return e instanceof function(){function e(t){v(this,e),this.changingThisBreaksApplicationSecurity=t}return y(e,[{key:"toString",value:function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"}}]),e}()?e.changingThisBreaksApplicationSecurity:e}(e))),e}(t),0,a)}(e,t),To}function Io(e,t,n,r,i){var o=null,a=n.directiveEnd,u=n.directiveStylingLast;for(-1===u?u=n.directiveStart:u++;u=0?r[1|a]=o:function(e,t,n,r){var i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(r,a=~a,i,o))}return void 0===e?null:e}function Oo(e,t,n,r,i,o){for(var a=null===t,u=void 0;i>0;){var s=e[i],l=Array.isArray(s),c=l?s[1]:s,f=null===c,h=n[i+1];h===br&&(h=f?Co:void 0);var d=f?it(h,r):c===r?h:void 0;if(l&&!Do(d)&&(d=it(s,r)),Do(d)&&(u=d,a))return u;var v=e[i+1];i=a?Ir(v):Or(v)}if(null!==t){var p=o?t.residualClasses:t.residualStyles;null!=p&&(u=it(p,r))}return u}function Do(e){return void 0!==e}function No(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Gt(),r=Jt(),i=e+20,o=r.firstCreatePass?Mr(r,e,2,null,null):r.data[i],a=n[i]=function(e,t){return jt(t)?t.createText(e):t.createTextNode(e)}(t,n[11]);Ei(r,n,a,o),Yt(o,!1)}function Po(e,t,n){var r=Gt(),i=function(e,t,n,r){return ho(e,an(),n)?t+Rn(n)+r:br}(r,e,t,n);return i!==br&&di(r,_n(),i),Po}function jo(e,t,n,r,i,o,a){var u=Gt(),s=function(e,t,n,r,i,o,a,u){var s=function(e,t,n,r,i){var o=function(e,t,n,r){var i=ho(e,t,n);return ho(e,t+1,r)||i}(e,t,n,r);return ho(e,t+2,i)||o}(e,on(),n,i,a);return un(3),s?t+Rn(n)+r+Rn(i)+o+Rn(a)+u:br}(u,e,t,n,r,i,o,a);return s!==br&&di(u,_n(),s),jo}var Ro=function e(){v(this,e)},Mo=function(){function e(){v(this,e)}return y(e,[{key:"resolveComponentFactory",value:function(e){throw function(e){var t=Error("No component factory found for ".concat(ke(e),". Did you add it to @NgModule.entryComponents?"));return t.ngComponent=e,t}(e)}}]),e}(),Vo=function(){var e=function e(){v(this,e)};return e.NULL=new Mo,e}(),Fo=function(){var e=function e(t){v(this,e),this.nativeElement=t};return e.__NG_ELEMENT_ID__=function(){return Ho(e)},e}(),Ho=function(e){return Mi(e,$t(),Gt())},Lo=function e(){v(this,e)},Bo=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({}),zo=function(){var e=function e(){v(this,e)};return e.\u0275prov=he({token:e,providedIn:"root",factory:function(){return null}}),e}(),Zo=function e(t){v(this,e),this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")},qo=new Zo("10.1.4"),Uo=function(){function e(){v(this,e)}return y(e,[{key:"supports",value:function(e){return lo(e)}},{key:"create",value:function(e){return new Qo(e)}}]),e}(),Wo=function(e,t){return t},Qo=function(){function e(t){v(this,e),this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Wo}return y(e,[{key:"forEachItem",value:function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)}},{key:"forEachOperation",value:function(e){for(var t=this._itHead,n=this._removalsHead,r=0,i=null;t||n;){var o=!n||t&&t.currentIndex<$o(n,r,i)?t:n,a=$o(o,r,i),u=o.currentIndex;if(o===n)r--,n=n._nextRemoved;else if(t=t._next,null==o.previousIndex)r++;else{i||(i=[]);var s=a-r,l=u-r;if(s!=l){for(var c=0;c0&&Oi(l,f,_.join(" "))}if(o=Ht(v,0),void 0!==t)for(var b=o.projection=[],w=0;w null != ".concat(t," <=Actual]"))}(0,t),"string"==typeof e&&e.toLowerCase().replace(/_/g,"-")}var ka=new Map,xa=function(e){u(n,e);var t=l(n);function n(e,r){var i;v(this,n),(i=t.call(this))._parent=r,i._bootstrapComponents=[],i.injector=f(i),i.destroyCbs=[],i.componentFactoryResolver=new fa(f(i));var o=wt(e),a=e[Ve]||null;return a&&wa(a),i._bootstrapComponents=Fn(o.bootstrap),i._r3Injector=Ui(e,r,[{provide:Xe,useValue:f(i)},{provide:Vo,useValue:i.componentFactoryResolver}],ke(e)),i._r3Injector._resolveInjectorDefTypes(),i.instance=i.get(e),i}return y(n,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Yi.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:le.Default;return e===Yi||e===Xe||e===Be?this:this._r3Injector.get(e,t,n)}},{key:"destroy",value:function(){var e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach((function(e){return e()})),this.destroyCbs=null}},{key:"onDestroy",value:function(e){this.destroyCbs.push(e)}}]),n}(Xe),Ca=function(e){u(n,e);var t=l(n);function n(e){var r;return v(this,n),(r=t.call(this)).moduleType=e,null!==wt(e)&&function e(t){if(null!==t.\u0275mod.id){var n=t.\u0275mod.id;(function(e,t,n){if(t&&t!==n)throw new Error("Duplicate module registered for ".concat(e," - ").concat(ke(t)," vs ").concat(ke(t.name)))})(n,ka.get(n),t),ka.set(n,t)}var r=t.\u0275mod.imports;r instanceof Function&&(r=r()),r&&r.forEach((function(t){return e(t)}))}(e),r}return y(n,[{key:"create",value:function(e){return new xa(this.moduleType,e)}}]),n}(function(){return function e(){v(this,e)}}());function Ea(e,t,n){var r=rn()+e,i=Gt();return i[r]===br?fo(i,r,n?t.call(n):t()):function(e,t){return e[t]}(i,r)}var Sa=function(e){u(n,e);var t=l(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return v(this,n),(e=t.call(this)).__isAsync=r,e}return y(n,[{key:"emit",value:function(e){a(d(n.prototype),"next",this).call(this,e)}},{key:"subscribe",value:function(e,t,r){var i,o=function(e){return null},u=function(){return null};e&&"object"==typeof e?(i=this.__isAsync?function(t){setTimeout((function(){return e.next(t)}))}:function(t){e.next(t)},e.error&&(o=this.__isAsync?function(t){setTimeout((function(){return e.error(t)}))}:function(t){e.error(t)}),e.complete&&(u=this.__isAsync?function(){setTimeout((function(){return e.complete()}))}:function(){e.complete()})):(i=this.__isAsync?function(t){setTimeout((function(){return e(t)}))}:function(t){e(t)},t&&(o=this.__isAsync?function(e){setTimeout((function(){return t(e)}))}:function(e){t(e)}),r&&(u=this.__isAsync?function(){setTimeout((function(){return r()}))}:function(){r()}));var s=a(d(n.prototype),"subscribe",this).call(this,i,o,u);return e instanceof x&&e.add(s),s}}]),n}(V);function Ta(){return this._results[uo()]()}var Ia=function(){function e(){v(this,e),this.dirty=!0,this._results=[],this.changes=new Sa,this.length=0;var t=uo(),n=e.prototype;n[t]||(n[t]=Ta)}return y(e,[{key:"map",value:function(e){return this._results.map(e)}},{key:"filter",value:function(e){return this._results.filter(e)}},{key:"find",value:function(e){return this._results.find(e)}},{key:"reduce",value:function(e,t){return this._results.reduce(e,t)}},{key:"forEach",value:function(e){this._results.forEach(e)}},{key:"some",value:function(e){return this._results.some(e)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(e){this._results=function e(t,n){void 0===n&&(n=t);for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:[];v(this,e),this.queries=t}return y(e,[{key:"createEmbeddedView",value:function(t){var n=t.queries;if(null!==n){for(var r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[],o=0;o3&&void 0!==arguments[3]?arguments[3]:null;v(this,e),this.predicate=t,this.descendants=n,this.isStatic=r,this.read=i},Na=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];v(this,e),this.queries=t}return y(e,[{key:"elementStart",value:function(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:-1;v(this,e),this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}return y(e,[{key:"elementStart",value:function(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}},{key:"elementEnd",value:function(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(e,t){this.elementStart(e,t)}},{key:"embeddedTView",value:function(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}},{key:"isApplyingToNode",value:function(e){if(this._appliesToNextNode&&!1===this.metadata.descendants){for(var t=this._declarationNodeIndex,n=e.parent;null!==n&&3===n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(e,t){var n=this.metadata.predicate;if(Array.isArray(n))for(var r=0;r0&&(i=setTimeout((function(){r._callbacks=r._callbacks.filter((function(e){return e.timeoutId!==i})),e(r._didWork,r.getPendingTasks())}),t)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:n})}},{key:"whenStable",value:function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(e,t,n){return[]}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ge(ou))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e}(),pu=function(){var e=function(){function e(){v(this,e),this._applications=new Map,yu.addToWindow(this)}return y(e,[{key:"registerApplication",value:function(e,t){this._applications.set(e,t)}},{key:"unregisterApplication",value:function(e){this._applications.delete(e)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(e){return this._applications.get(e)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return yu.findTestabilityInTree(this,e,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e}(),yu=new(function(){function e(){v(this,e)}return y(e,[{key:"addToWindow",value:function(e){}},{key:"findTestabilityInTree",value:function(e,t,n){return null}}]),e}()),mu=new Le("AllowMultipleToken");function gu(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r="Platform: "+t,i=new Le(r);return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=_u();if(!o||o.injector.get(mu,!1))if(e)e(n.concat(t).concat({provide:i,useValue:!0}));else{var a=n.concat(t).concat({provide:i,useValue:!0},{provide:Hi,useValue:"platform"});!function(e){if(hu&&!hu.destroyed&&!hu.injector.get(mu,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");hu=e.get(bu);var t=e.get(Za,null);t&&t.forEach((function(e){return e()}))}(Yi.create({providers:a,name:r}))}return function(e){var t=_u();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(i)}}function _u(){return hu&&!hu.destroyed?hu:null}var bu=function(){var e=function(){function e(t){v(this,e),this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return y(e,[{key:"bootstrapModuleFactory",value:function(e,t){var n,r,i=this,o=(n=t?t.ngZone:void 0,r=t&&t.ngZoneEventCoalescing||!1,"noop"===n?new du:("zone.js"===n?void 0:n)||new ou({enableLongStackTrace:ur(),shouldCoalesceEventChangeDetection:r})),a=[{provide:ou,useValue:o}];return o.run((function(){var t=Yi.create({providers:a,parent:i.injector,name:e.moduleType.name}),n=e.create(t),r=n.injector.get(ir,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy((function(){return Cu(i._modules,n)})),o.runOutsideAngular((function(){return o.onError.subscribe({next:function(e){r.handleError(e)}})})),function(e,t,r){try{var o=((a=n.injector.get(Ha)).runInitializers(),a.donePromise.then((function(){return wa(n.injector.get(Qa,"en-US")||"en-US"),i._moduleDoBootstrap(n),n})));return bo(o)?o.catch((function(n){throw t.runOutsideAngular((function(){return e.handleError(n)})),n})):o}catch(u){throw t.runOutsideAngular((function(){return e.handleError(u)})),u}var a}(r,o)}))}},{key:"bootstrapModule",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=wu({},n);return function(e,t,n){var r=new Ca(n);return Promise.resolve(r)}(0,0,e).then((function(e){return t.bootstrapModuleFactory(e,r)}))}},{key:"_moduleDoBootstrap",value:function(e){var t=e.injector.get(xu);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach((function(e){return t.bootstrap(e)}));else{if(!e.instance.ngDoBootstrap)throw new Error("The module ".concat(ke(e.instance.constructor),' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.'));e.instance.ngDoBootstrap(t)}this._modules.push(e)}},{key:"onDestroy",value:function(e){this._destroyListeners.push(e)}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach((function(e){return e.destroy()})),this._destroyListeners.forEach((function(e){return e()})),this._destroyed=!0}},{key:"injector",get:function(){return this._injector}},{key:"destroyed",get:function(){return this._destroyed}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ge(Yi))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e}();function wu(e,t){return Array.isArray(t)?t.reduce(wu,e):Object.assign(Object.assign({},e),t)}var ku,xu=((ku=function(){function e(t,n,r,i,o,a){var u=this;v(this,e),this._zone=t,this._console=n,this._injector=r,this._exceptionHandler=i,this._componentFactoryResolver=o,this._initStatus=a,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=ur(),this._zone.onMicrotaskEmpty.subscribe({next:function(){u._zone.run((function(){u.tick()}))}});var s=new D((function(e){u._stable=u._zone.isStable&&!u._zone.hasPendingMacrotasks&&!u._zone.hasPendingMicrotasks,u._zone.runOutsideAngular((function(){e.next(u._stable),e.complete()}))})),l=new D((function(e){var t;u._zone.runOutsideAngular((function(){t=u._zone.onStable.subscribe((function(){ou.assertNotInAngularZone(),iu((function(){u._stable||u._zone.hasPendingMacrotasks||u._zone.hasPendingMicrotasks||(u._stable=!0,e.next(!0))}))}))}));var n=u._zone.onUnstable.subscribe((function(){ou.assertInAngularZone(),u._stable&&(u._stable=!1,u._zone.runOutsideAngular((function(){e.next(!1)})))}));return function(){t.unsubscribe(),n.unsubscribe()}}));this.isStable=function(){for(var e=arguments.length,t=new Array(e),n=0;n1&&"number"==typeof t[t.length-1]&&(i=t.pop())):"number"==typeof a&&(i=t.pop()),null===o&&1===t.length&&t[0]instanceof D?t[0]:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof n?function(i){return i.pipe(e((function(e,r){return(i=t(e,r),i instanceof D?i:new D(q(i))).pipe(H((function(t,i){return n(e,t,r,i)})));var i}),r))}:("number"==typeof n&&(r=n),function(e){return e.lift(new Q(t,r))})}(A,e)}(i)(function(e,t){return t?function(e,t){return new D((function(n){var r=new x,i=0;return r.add(t.schedule((function(){i!==e.length?(n.next(e[i++]),n.closed||r.add(this.schedule())):n.complete()}))),r}))}(e,t):new D(z(e))}(t,o))}(s,l.pipe(ne()))}return y(e,[{key:"bootstrap",value:function(e,t){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof Ro?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var i=n.isBoundToModule?void 0:this._injector.get(Xe),o=n.create(Yi.NULL,[],t||n.selector,i);o.onDestroy((function(){r._unloadComponent(o)}));var a=o.injector.get(vu,null);return a&&o.injector.get(pu).registerApplication(o.location.nativeElement,a),this._loadComponent(o),ur()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),o}},{key:"tick",value:function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var n,r=t(this._views);try{for(r.s();!(n=r.n()).done;)n.value.detectChanges()}catch(a){r.e(a)}finally{r.f()}if(this._enforceNoNewChanges){var i,o=t(this._views);try{for(o.s();!(i=o.n()).done;)i.value.checkNoChanges()}catch(a){o.e(a)}finally{o.f()}}}catch(u){this._zone.runOutsideAngular((function(){return e._exceptionHandler.handleError(u)}))}finally{this._runningTick=!1}}},{key:"attachView",value:function(e){var t=e;this._views.push(t),t.attachToAppRef(this)}},{key:"detachView",value:function(e){var t=e;Cu(this._views,t),t.detachFromAppRef()}},{key:"_loadComponent",value:function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Ua,[]).concat(this._bootstrapListeners).forEach((function(t){return t(e)}))}},{key:"_unloadComponent",value:function(e){this.detachView(e.hostView),Cu(this.components,e)}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach((function(e){return e.destroy()}))}},{key:"viewCount",get:function(){return this._views.length}}]),e}()).\u0275fac=function(e){return new(e||ku)(Ge(ou),Ge(Wa),Ge(Yi),Ge(ir),Ge(Vo),Ge(Ha))},ku.\u0275prov=he({token:ku,factory:ku.\u0275fac}),ku);function Cu(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Eu=gu(null,"core",[{provide:qa,useValue:"unknown"},{provide:bu,deps:[Yi]},{provide:pu,deps:[]},{provide:Wa,deps:[]}]),Su=[{provide:xu,useClass:xu,deps:[ou,Wa,Yi,ir,Vo,Ha]},{provide:da,deps:[ou],useFactory:function(e){var t=[];return e.onStable.subscribe((function(){for(;t.length;)t.pop()()})),function(e){t.push(e)}}},{provide:Ha,useClass:Ha,deps:[[new ae,Fa]]},{provide:nu,useClass:nu,deps:[]},Ba,{provide:ta,useFactory:function(){return ia},deps:[]},{provide:na,useFactory:function(){return oa},deps:[]},{provide:Qa,useFactory:function(e){return wa(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new oe(Qa),new ae,new se]]},{provide:Ka,useValue:"USD"}],Tu=function(){var e=function e(t){v(this,e)};return e.\u0275mod=yt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)(Ge(xu))},providers:Su}),e}(),Iu=null;function Au(){return Iu}var Ou,Du,Nu,Pu,ju,Ru,Mu,Vu,Fu,Hu=new Le("DocumentToken"),Lu=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({}),Bu=function e(){v(this,e)},zu=((Ou=function(e){u(n,e);var t=l(n);function n(e){var r;return v(this,n),(r=t.call(this)).locale=e,r}return y(n,[{key:"getPluralCategory",value:function(e,t){switch(function(e){return function(e){var t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e),n=_a(t);if(n)return n;var r=t.split("-")[0];if(n=_a(r))return n;if("en"===r)return ma;throw new Error('Missing locale data for the locale "'.concat(e,'".'))}(e)[ba.PluralCase]}(t||this.locale)(e)){case Lu.Zero:return"zero";case Lu.One:return"one";case Lu.Two:return"two";case Lu.Few:return"few";case Lu.Many:return"many";default:return"other"}}}]),n}(Bu)).\u0275fac=function(e){return new(e||Ou)(Ge(Qa))},Ou.\u0275prov=he({token:Ou,factory:Ou.\u0275fac}),Ou),Zu=function(){function e(t,n,r,i){v(this,e),this.$implicit=t,this.ngForOf=n,this.index=r,this.count=i}return y(e,[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return!this.even}}]),e}(),qu=((Du=function(){function e(t,n,r){v(this,e),this._viewContainer=t,this._template=n,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return y(e,[{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(r){throw new Error("Cannot find a differ supporting object '".concat(e,"' of type '").concat((t=e).name||typeof t,"'. NgFor only supports binding to Iterables such as Arrays."))}}var t;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}},{key:"_applyChanges",value:function(e){var t=this,n=[];e.forEachOperation((function(e,r,i){if(null==e.previousIndex){var o=t._viewContainer.createEmbeddedView(t._template,new Zu(null,t._ngForOf,-1,-1),null===i?void 0:i),a=new Uu(e,o);n.push(a)}else if(null==i)t._viewContainer.remove(null===r?void 0:r);else if(null!==r){var u=t._viewContainer.get(r);t._viewContainer.move(u,i);var s=new Uu(e,u);n.push(s)}}));for(var r=0;r1&&void 0!==arguments[1])||arguments[1],r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},Ne.getAllAngularTestabilities=function(){return e.getAllTestabilities()},Ne.getAllAngularRootElements=function(){return e.getAllRootElements()},Ne.frameworkStabilizers||(Ne.frameworkStabilizers=[]),Ne.frameworkStabilizers.push((function(e){var t=Ne.getAllAngularTestabilities(),n=t.length,r=!1,i=function(t){r=r||t,0==--n&&e(r)};t.forEach((function(e){e.whenStable(i)}))}))}},{key:"findTestabilityInTree",value:function(e,t,n){if(null==t)return null;var r=e.getTestability(t);return null!=r?r:n?Au().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}],[{key:"init",value:function(){var t;t=new e,yu=t}}]),e}(),Xu=new Le("EventManagerPlugins"),es=((Mu=function(){function e(t,n){var r=this;v(this,e),this._zone=n,this._eventNameToPlugin=new Map,t.forEach((function(e){return e.manager=r})),this._plugins=t.slice().reverse()}return y(e,[{key:"addEventListener",value:function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}},{key:"addGlobalEventListener",value:function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,r=0;r-1&&(t.splice(n,1),o+=e+".")})),o+=i,0!=t.length||0===i.length)return null;var a={};return a.domEventName=r,a.fullKey=o,a}},{key:"getEventFullKey",value:function(e){var t="",n=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&bs.hasOwnProperty(t)&&(t=bs[t]))}return _s[t]||t}(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),gs.forEach((function(r){r!=n&&(0,ws[r])(e)&&(t+=r+".")})),t+=n}},{key:"eventCallback",value:function(e,t,r){return function(i){n.getEventFullKey(i)===e&&r.runGuarded((function(){return t(i)}))}}},{key:"_normalizeKey",value:function(e){switch(e){case"esc":return"escape";default:return e}}}]),n}(ts)).\u0275fac=function(e){return new(e||cs)(Ge(Hu))},cs.\u0275prov=he({token:cs,factory:cs.\u0275fac}),cs),xs=gu(Eu,"browser",[{provide:qa,useValue:"browser"},{provide:Za,useValue:function(){Ku.makeCurrent(),Yu.init()},multi:!0},{provide:Hu,useFactory:function(){return function(e){Pt=e}(document),document},deps:[]}]),Cs=[[],{provide:Hi,useValue:"root"},{provide:ir,useFactory:function(){return new ir},deps:[]},{provide:Xu,useClass:ms,multi:!0,deps:[Hu,ou,qa]},{provide:Xu,useClass:ks,multi:!0,deps:[Hu]},[],{provide:ds,useClass:ds,deps:[es,rs,La]},{provide:Lo,useExisting:ds},{provide:ns,useExisting:rs},{provide:rs,useClass:rs,deps:[Hu]},{provide:vu,useClass:vu,deps:[ou]},{provide:es,useClass:es,deps:[Xu,ou]},[]],Es=((hs=function(){function e(t){if(v(this,e),t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return y(e,null,[{key:"withServerTransition",value:function(t){return{ngModule:e,providers:[{provide:La,useValue:t.appId},{provide:Ju,useExisting:La},$u]}}}]),e}()).\u0275mod=yt({type:hs}),hs.\u0275inj=de({factory:function(e){return new(e||hs)(Ge(hs,12))},providers:Cs,imports:[Qu,Tu]}),hs);"undefined"!=typeof window&&window;try{fs="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(nc){fs=!1}var Ss,Ts=((Ss=function e(t){v(this,e),this._platformId=t,this.isBrowser=this._platformId?"browser"===this._platformId:"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!fs)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}).\u0275fac=function(e){return new(e||Ss)(Ge(qa))},Ss.\u0275prov=he({factory:function(){return new Ss(Ge(qa))},token:Ss,providedIn:"root"}),Ss),Is=function(e){u(n,e);var t=l(n);function n(e,r){var i;return v(this,n),(i=t.call(this,e,r)).scheduler=e,i.work=r,i.pending=!1,i}return y(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=e;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this}},{key:"requestAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(e.flush.bind(e,this),n)}},{key:"recycleAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}},{key:"execute",value:function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(e,t){var n=!1,r=void 0;try{this.work(e)}catch(i){n=!0,r=!!i&&i||new Error(i)}if(n)return this.unsubscribe(),r}},{key:"_unsubscribe",value:function(){var e=this.id,t=this.scheduler,n=t.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}]),n}(function(e){u(n,e);var t=l(n);function n(e,r){return v(this,n),t.call(this)}return y(n,[{key:"schedule",value:function(e){return this}}]),n}(x)),As=function(){var e=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.now;v(this,e),this.SchedulerAction=t,this.now=n}return y(e,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,e).schedule(n,t)}}]),e}();return e.now=function(){return Date.now()},e}(),Os=new(function(e){u(n,e);var t=l(n);function n(e){var r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:As.now;return v(this,n),(r=t.call(this,e,(function(){return n.delegate&&n.delegate!==f(r)?n.delegate.now():i()}))).actions=[],r.active=!1,r.scheduled=void 0,r}return y(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2?arguments[2]:void 0;return n.delegate&&n.delegate!==this?n.delegate.schedule(e,t,r):a(d(n.prototype),"schedule",this).call(this,e,t,r)}},{key:"flush",value:function(e){var t=this.actions;if(this.active)t.push(e);else{var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}}]),n}(As))(Is),Ds=function(){function e(t,n){v(this,e),this.dueTime=t,this.scheduler=n}return y(e,[{key:"call",value:function(e,t){return t.subscribe(new Ns(e,this.dueTime,this.scheduler))}}]),e}(),Ns=function(e){u(n,e);var t=l(n);function n(e,r,i){var o;return v(this,n),(o=t.call(this,e)).dueTime=r,o.scheduler=i,o.debouncedSubscription=null,o.lastValue=null,o.hasValue=!1,o}return y(n,[{key:"_next",value:function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(Ps,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var e=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}},{key:"clearDebounce",value:function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}]),n}(S);function Ps(e){e.debouncedNext()}function js(e,t){return function(n){return n.lift(new Rs(e,t))}}var Rs=function(){function e(t,n){v(this,e),this.predicate=t,this.thisArg=n}return y(e,[{key:"call",value:function(e,t){return t.subscribe(new Ms(e,this.predicate,this.thisArg))}}]),e}(),Ms=function(e){u(n,e);var t=l(n);function n(e,r,i){var o;return v(this,n),(o=t.call(this,e)).predicate=r,o.thisArg=i,o.count=0,o}return y(n,[{key:"_next",value:function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}]),n}(S);"undefined"!=typeof Element&∈var Vs,Fs,Hs=((Fs=function(){function e(t,n){v(this,e),this._platform=t,this._document=n}return y(e,[{key:"getHighContrastMode",value:function(){if(!this._platform.isBrowser)return 0;var e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);var t=this._document.defaultView||window,n=t&&t.getComputedStyle?t.getComputedStyle(e):null,r=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(e),r){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}},{key:"_applyBodyHighContrastModeCssClasses",value:function(){if(this._platform.isBrowser&&this._document.body){var e=this._document.body.classList;e.remove("cdk-high-contrast-active"),e.remove("cdk-high-contrast-black-on-white"),e.remove("cdk-high-contrast-white-on-black");var t=this.getHighContrastMode();1===t?(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-black-on-white")):2===t&&(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-white-on-black"))}}}]),e}()).\u0275fac=function(e){return new(e||Fs)(Ge(Ts),Ge(Hu))},Fs.\u0275prov=he({factory:function(){return new Fs(Ge(Ts),Ge(Hu))},token:Fs,providedIn:"root"}),Fs),Ls=((Vs=function e(){v(this,e)}).\u0275mod=yt({type:Vs}),Vs.\u0275inj=de({factory:function(e){return new(e||Vs)}}),Vs),Bs=new Zo("10.2.3");var zs=function(e,t){return!1},Zs="undefined"!=typeof process&&"[object process]"==={}.toString.call(process);(Zs||"undefined"!=typeof Element)&&(zs=function(){if(Zs||Element.prototype.matches)return function(e,t){return e.matches(t)};var e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?function(e,n){return t.apply(e,[n])}:zs}());var qs,Us=new Le("AnimationModuleType"),Ws=new Zo("10.2.3"),Qs=new Le("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),Ks=((qs=function(){function e(t,n,r){v(this,e),this._hasDoneGlobalChecks=!1,this._document=r,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=n,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}return y(e,[{key:"_getDocument",value:function(){var e=this._document||document;return"object"==typeof e&&e?e:null}},{key:"_getWindow",value:function(){var e=this._getDocument(),t=(null==e?void 0:e.defaultView)||window;return"object"==typeof t&&t?t:null}},{key:"_checksAreEnabled",value:function(){return ur()&&!this._isTestEnv()}},{key:"_isTestEnv",value:function(){var e=this._getWindow();return e&&(e.__karma__||e.jasmine)}},{key:"_checkDoctypeIsDefined",value:function(){var e=this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype),t=this._getDocument();e&&t&&!t.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}},{key:"_checkThemeIsPresent",value:function(){var e=!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme,t=this._getDocument();if(!e&&t&&t.body&&"function"==typeof getComputedStyle){var n=t.createElement("div");n.classList.add("mat-theme-loaded-marker"),t.body.appendChild(n);var r=getComputedStyle(n);r&&"none"!==r.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),t.body.removeChild(n)}}},{key:"_checkCdkVersionMatch",value:function(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&Ws.full!==Bs.full&&console.warn("The Angular Material version ("+Ws.full+") does not match the Angular CDK version ("+Bs.full+").\nPlease ensure the versions of these two packages exactly match.")}}]),e}()).\u0275mod=yt({type:qs}),qs.\u0275inj=de({factory:function(e){return new(e||qs)(Ge(Hs),Ge(Qs,8),Ge(Hu,8))},imports:[[Ls],Ls]}),qs);try{"undefined"!=typeof Intl}catch(nc){!1}var Gs,Js,$s,Ys,Xs=["*",[["mat-toolbar-row"]]],el=["*","mat-toolbar-row"],tl=function(e){u(n,e);var t=l(n);function n(){var e;v(this,n);for(var r=arguments.length,i=new Array(r),o=0;o0)i.push(u[s/2]);else{for(var c=a[s+1],f=n[-l],h=10;h0)("mat-toolbar-single-row",0===t._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[to],ngContentSelectors:el,decls:2,vars:0,template:function(e,t){1&e&&(ko(Xs),xo(0),xo(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}\n"],encapsulation:2,changeDetection:0}),$s),il=((Js=function e(){v(this,e)}).\u0275mod=yt({type:Js}),Js.\u0275inj=de({factory:function(e){return new(e||Js)},imports:[[Ks],Ks]}),Js);function ol(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(i=e[u])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function al(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}var ul,sl,ll,cl=new Le("NgxLocalstorageConfiguration"),fl=((ul=function(){function e(){v(this,e)}return y(e,[{key:"serialize",value:function(e){return JSON.stringify(e)}},{key:"deserialize",value:function(e){return JSON.parse(e)}}]),e}()).\u0275fac=function(e){return new(e||ul)},ul.\u0275prov=he({token:ul,factory:ul.\u0275fac}),ul),hl=new Le("StorageSerializer"),dl=((sl=function(){function e(t){if(v(this,e),t)throw new Error("NgxLocalStorageModule is already loaded. Import it in the AppModule only")}return y(e,null,[{key:"forRoot",value:function(t){return{ngModule:e,providers:[{provide:cl,useValue:t}]}}}]),e}()).\u0275mod=yt({type:sl}),sl.\u0275inj=de({factory:function(e){return new(e||sl)(Ge(sl,12))},providers:[{provide:hl,useClass:fl}],imports:[[]]}),sl),vl=function(e,t,n,r){for(var i=e.length-1,o=0;o1?Array.prototype.slice.call(arguments):e)}),n,r)}))}var kl,xl,Cl=((xl=function(){function e(){var t=this;v(this,e),this._eventStream=new bl(null),this.subscription=wl(window,"storage").subscribe((function(e){return t._eventStream.next(e)}))}return y(e,[{key:"ngOnDestroy",value:function(){this.subscription&&!this.subscription.closed&&this.subscription.unsubscribe()}},{key:"stream",get:function(){return this._eventStream.asObservable().pipe(js((function(e){return!!e})),ne())}}]),e}()).\u0275fac=function(e){return new(e||xl)},xl.\u0275prov=he({token:xl,factory:xl.\u0275fac,providedIn:"root"}),xl),El=((kl=function(){function e(t,n,r){var i=this;v(this,e),this.er=t,this.lss=n,this.es=r,this.lsDebounce=0,this.lsInitFromStorage=!1,this.lsStoredValue=new Sa,this._valuePath=[],this.es.stream.pipe(js((function(e){return e.key&&e.key.indexOf(i.lsKey)>=0}))).subscribe((function(e){vl(i._valuePath.length?i._valuePath:["value"],e.newValue,i.er.nativeElement,i.lsFalsyTransformer)}))}return y(e,[{key:"ngAfterViewInit",value:function(){this._initKey(),this._initFromStorage(),this._hookEvent()}},{key:"_initKey",value:function(){if(!this.lsKey){if(!this.er.nativeElement.id&&!this.er.nativeElement.name)throw new Error("No key or element id or name supplied!");this.lsKey=this.er.nativeElement.id||this.er.nativeElement.name}}},{key:"_hookEvent",value:function(){var e=this;this.lsEvent&&(this._eventSubscription=wl(this.er.nativeElement,this.lsEvent).pipe(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Os;return function(n){return n.lift(new Ds(e,t))}}(this.lsDebounce)).subscribe((function(){var t,n;e.lss.asPromisable().set(e.lsKey,(t=e._valuePath.length?e._valuePath:["value"],n=e.er.nativeElement,t.reduce((function(e,t){return e?e[t]:null}),n)),e.lsPrefix).then((function(){e.lss.asPromisable().get(e.lsKey,e.lsPrefix).then((function(t){e.lsStoredValue.emit(t)})).catch((function(e){return console.error(e)}))})).catch((function(e){return console.error(e)}))})))}},{key:"_initFromStorage",value:function(){var e=this;this.lsInitFromStorage&&this.lss.asPromisable().get(this.lsKey,this.lsPrefix).then((function(t){vl(e._valuePath.length?e._valuePath:["value"],t,e.er.nativeElement,e.lsFalsyTransformer)})).catch((function(e){return console.error(e)}))}},{key:"ngOnDestroy",value:function(){this._eventSubscription&&!this._eventSubscription.closed&&this._eventSubscription.unsubscribe()}},{key:"lsValuePath",set:function(e){this._valuePath=null!=e?Array.isArray(e)?e:e.split(","):[]}}]),e}()).\u0275fac=function(e){return new(e||kl)(vo(Fo),vo(_l),vo(Cl))},kl.\u0275dir=gt({type:kl,selectors:[["","ngxLocalStorage",""]],inputs:{lsKey:["ngxLocalStorage","lsKey"],lsPrefix:"lsPrefix",lsEvent:"lsEvent",lsDebounce:"lsDebounce",lsInitFromStorage:"lsInitFromStorage",lsFalsyTransformer:"lsFalsyTransformer",lsValuePath:"lsValuePath"},outputs:{lsStoredValue:"lsStoredValue"}}),kl);function Sl(e){return function(t,n){var r=e&&e.key?e.key:n,i=e&&e.prefix?e.prefix:null,o=new _l(new fl,{prefix:i});(new Cl).stream.pipe(js((function(e){return e.key&&e.key.indexOf(pl(r,i))>=0}))).subscribe((function(r){r.newValue&&"string"==typeof r.newValue&&(t[n]="null"!==r.newValue?r.newValue:e.nullTransformer?e.nullTransformer():null)})),Object.defineProperty(t,n,{get:function(){var t=o.get(r,i);return null==t&&e.nullTransformer?e.nullTransformer():t},set:function(e){o.set(r,e,i)}})}}var Tl,Il,Al,Ol,Dl,Nl,Pl,jl=["*",[["mat-card-footer"]]],Rl=["*","mat-card-footer"],Ml=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],Vl=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],Fl=((Dl=function e(){v(this,e)}).\u0275fac=function(e){return new(e||Dl)},Dl.\u0275dir=gt({type:Dl,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),Dl),Hl=((Ol=function e(t){v(this,e),this._animationMode=t}).\u0275fac=function(e){return new(e||Ol)(vo(Us,8))},Ol.\u0275cmp=ht({type:Ol,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(e,t){2&e&&To("_mat-animation-noopable","NoopAnimations"===t._animationMode)},exportAs:["matCard"],ngContentSelectors:Rl,decls:2,vars:0,template:function(e,t){1&e&&(ko(jl),xo(0),xo(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child,.mat-card-actions .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),Ol),Ll=((Al=function e(){v(this,e)}).\u0275fac=function(e){return new(e||Al)},Al.\u0275cmp=ht({type:Al,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:Vl,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(e,t){1&e&&(ko(Ml),xo(0),mo(1,"div",0),xo(2,1),go(),xo(3,2))},encapsulation:2,changeDetection:0}),Al),Bl=((Il=function e(){v(this,e)}).\u0275mod=yt({type:Il}),Il.\u0275inj=de({factory:function(e){return new(e||Il)},imports:[[Ks],Ks]}),Il),zl=((Tl=function e(){v(this,e)}).\u0275fac=function(e){return new(e||Tl)},Tl.\u0275cmp=ht({type:Tl,selectors:[["app-decorator"]],decls:23,vars:2,consts:[[1,"demo-card"],[1,"mat-title"],[1,"demo-card__content"],[1,"mat-body-2"],[1,"demo-card__content__description","mat-subheading-2"]],template:function(e,t){1&e&&(mo(0,"mat-card",0),mo(1,"mat-card-header",1),No(2," Decorator "),go(),mo(3,"mat-card-content",2),mo(4,"p",3),No(5,"Code inside component:"),go(),mo(6,"code"),No(7," @ngxLocalStorage({key: 'cbox1', nullTransformer: () => false})"),_o(8,"br"),No(9," boundBoolean: boolean;"),_o(10,"br"),_o(11,"br"),No(12," @ngxLocalStorage({key: 'txt1', prefix: 'demo'})"),_o(13,"br"),No(14," boundText: string; "),go(),mo(15,"p",3),No(16,"Result:"),go(),mo(17,"code"),No(18),_o(19,"br"),No(20),go(),mo(21,"p",4),No(22," Using this property decorator will init the property value from the localstorage. The storage key is either resolved by the given key or using the propery name. "),go(),go(),go()),2&e&&(Er(18),Po(" boundBoolean: ",t.boundBoolean,""),Er(2),Po(" boundText: ",t.boundText," "))},directives:[Hl,Ll,Fl],styles:[".demo-card__content[_ngcontent-%COMP%]{margin:1em 2em}.demo-card__content__description[_ngcontent-%COMP%]{margin:1em 0 0 -1em}"]}),ol([Sl({key:"cbox1",nullTransformer:function(){return!1}}),al("design:type",Boolean)],Tl.prototype,"boundBoolean",void 0),ol([Sl({key:"txt1",prefix:"demo"}),al("design:type",String)],Tl.prototype,"boundText",void 0),Tl),Zl=function(){return["checked"]},ql=function(){return["value"]},Ul=((Pl=function e(){v(this,e),this.defaultFalsyTransformer=function(){return!1}}).\u0275fac=function(e){return new(e||Pl)},Pl.\u0275cmp=ht({type:Pl,selectors:[["app-directive"]],decls:30,vars:5,consts:[[1,"demo-card"],[1,"mat-title"],[1,"demo-card__content"],[1,"mat-body-2"],[1,"demo-card__content__code-sample"],["type","checkbox","id","cbox1","ngxLocalStorage","","lsInitFromStorage","true","lsEvent","change",3,"lsValuePath","lsFalsyTransformer"],["for","cbox1"],["for","txt1"],["type","text","id","txt1","ngxLocalStorage","","lsPrefix","demo","lsInitFromStorage","true","lsEvent","input",3,"lsValuePath"],[1,"demo-card__content__description","mat-subheading-2"]],template:function(e,t){1&e&&(mo(0,"mat-card",0),mo(1,"mat-card-header",1),No(2," Directive "),go(),mo(3,"mat-card-content",2),mo(4,"p",3),No(5,"Code inside component template:"),go(),mo(6,"code",4),No(7,' '),_o(8,"br"),No(9,' '),_o(10,"br"),_o(11,"br"),No(12,' '),_o(13,"br"),No(14,' '),go(),mo(15,"p",3),No(16,"Code inside component:"),go(),mo(17,"code"),No(18," defaultFalsyTransformer: () => any = () => false; "),go(),mo(19,"p",3),No(20,"Result:"),go(),_o(21,"input",5),mo(22,"label",6),No(23,"Checkbox"),go(),_o(24,"br"),mo(25,"label",7),No(26,"Text"),go(),_o(27,"input",8),mo(28,"p",9),No(29," Using the 'ngxLocalStorage' directive you can bind template controls to localstorage values. "),go(),go(),go()),2&e&&(Er(21),po("lsValuePath",Ea(3,Zl))("lsFalsyTransformer",t.defaultFalsyTransformer),Er(6),po("lsValuePath",Ea(4,ql)))},directives:[Hl,Ll,Fl,El],styles:[".demo-card__content[_ngcontent-%COMP%]{margin:1em 2em}.demo-card__content__description[_ngcontent-%COMP%]{margin:1em 0 0 -1em}"]}),Pl),Wl=((Nl=function(){function e(t){v(this,e),this.lss=t,this.entryCount=0,this.lss.set("demo-key",{id:1,name:"John Doe"})}return y(e,[{key:"ngOnInit",value:function(){this.entryCount=this.lss.count(),this.storedObject=this.lss.get("demo-key")}}]),e}()).\u0275fac=function(e){return new(e||Nl)(vo(_l))},Nl.\u0275cmp=ht({type:Nl,selectors:[["app-storage-service"]],decls:39,vars:4,consts:[[1,"demo-card"],[1,"mat-title"],[1,"demo-card__content"],[1,"mat-body-2"]],template:function(e,t){var n,r,i,o,a;1&e&&(mo(0,"mat-card",0),mo(1,"mat-card-header",1),No(2," LocalStorageService "),go(),mo(3,"mat-card-content",2),mo(4,"p",3),No(5,"Code inside component:"),go(),mo(6,"code"),No(7," entryCount: number = 0;"),_o(8,"br"),_o(9,"br"),No(10," constructor(private lss: LocalStorageService) { }"),_o(11,"br"),_o(12,"br"),No(13," ngOnInit() {"),_o(14,"br"),No(15," this.entryCount = this.lss.count()"),_o(16,"br"),No(17," } "),go(),mo(18,"p",3),No(19,"Result:"),go(),mo(20,"code"),No(21),go(),mo(22,"p",3),No(23,"Store values using the service:"),go(),mo(24,"code"),No(25," constructor(private lss: LocalStorageService) {"),_o(26,"br"),No(27," this.lss.set('demo-key', { id: 1, name: 'John Doe' })"),_o(28,"br"),No(29," } "),go(),mo(30,"p",3),No(31,"Read values using the service:"),go(),mo(32,"code"),No(33," this.lss.get('demo-key') as { id: number; name: string; }; "),go(),mo(34,"pre"),No(35),function(e,t){var n,r=Jt();r.firstCreatePass?(n=function(e,t){if(t)for(var n=t.length-1;n>=0;n--){var r=t[n];if("json"===r.name)return r}throw new Error("The pipe 'json' could not be found!")}(0,r.pipeRegistry),r.data[56]=n,n.onDestroy&&(r.destroyHooks||(r.destroyHooks=[])).push(56,n.onDestroy)):n=r.data[56];var i=n.factory||(n.factory=bt(n.type)),o=Qe(vo);try{var a=Ln(!1),u=i();Ln(a),function(e,t,n,r){56>=e.data.length&&(e.data[56]=null,e.blueprint[56]=null),t[56]=r}(r,Gt(),0,u)}finally{Qe(o)}}(),go(),mo(37,"p",3),No(38,"Result:"),go(),go(),go()),2&e&&(Er(21),Po(" entryCount: ",t.entryCount," "),Er(14),Po(" ",(n=36,r=2,i=t.storedObject,o=Gt(),a=function(e,t){return e[t+20]}(o,n),function(e,t){return so.isWrapped(t)&&(t=so.unwrap(t),e[on()]=br),t}(o,function(e,t){return e[1].data[t+20].pure}(o,n)?function(e,t,n,r,i,o){var a=t+n;return ho(e,a,i)?fo(e,a+1,o?r.call(o,i):r(i)):function(e,t){var n=e[t];return n===br?void 0:n}(e,a+1)}(o,rn(),r,a.transform,i,a):a.transform(i))),"\n "))},directives:[Hl,Ll,Fl],pipes:[Wu],styles:[".demo-card__content[_ngcontent-%COMP%]{margin:1em 2em}.demo-card__content__description[_ngcontent-%COMP%]{margin:1em 0 0 -1em}"]}),Nl);function Ql(e,t){if(1&e&&(mo(0,"p"),No(1),go()),2&e){var n=t.$implicit;Er(1),jo(' { "key": "',n.key,'"; "oldValue": "',n.oldValue,'"; "newValue": "',n.newValue,'" } ')}}var Kl,Gl,Jl,$l,Yl=(($l=function e(t){var r=this;v(this,e),this.es=t,this.$events=[],this.es.stream.subscribe((function(e){r.$events=[].concat(n(r.$events),[e]),console.log("events: ",r.$events)}))}).\u0275fac=function(e){return new(e||$l)(vo(Cl))},$l.\u0275cmp=ht({type:$l,selectors:[["app-event-service"]],decls:22,vars:1,consts:[[1,"demo-card"],[1,"mat-title"],[1,"demo-card__content"],[1,"mat-body-2"],[1,"demo-card__content__code-sample"],[4,"ngFor","ngForOf"],[1,"demo-card__content__description","mat-subheading-2"]],template:function(e,t){1&e&&(mo(0,"mat-card",0),mo(1,"mat-card-header",1),No(2," EventServiceComponent "),go(),mo(3,"mat-card-content",2),mo(4,"p",3),No(5,"Code inside component:"),go(),mo(6,"code",4),No(7," $events: StorageEvent[] = [];"),_o(8,"br"),_o(9,"br"),No(10," constructor(private es: StorageEventService) {"),_o(11,"br"),No(12," this.es.stream"),_o(13,"br"),No(14," .subscribe(e => this.$events = [...this.$events, e]);"),_o(15,"br"),No(16," } "),go(),mo(17,"p",3),No(18,"Result (modify text or checkbox in another tab):"),go(),function(e,t,n,r,i,o,a,u){var s=Gt(),l=Jt(),c=l.firstCreatePass?function(e,t,n,r,i,o,a,u,s){var l=t.consts,c=Mr(t,19,0,"p",qt(l,5));Wr(t,n,c,qt(l,void 0)),wn(t,c);var f=c.tViews=Zr(2,c,r,2,3,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l);return null!==t.queries&&(t.queries.template(t,c),f.queries=t.queries.embeddedTView(c)),c}(0,l,s,t):l.data[39];Yt(c,!1);var f=s[11].createComment("");Ei(l,s,f,c),sr(f,s),ui(s,s[39]=ii(f,s,f,c)),St(c)&&Br(l,s,c)}(0,Ql),mo(20,"p",6),No(21," Using the 'EventServiceComponent' to receive a stream of storage events. "),go(),go(),go()),2&e&&(Er(19),po("ngForOf",t.$events))},directives:[Hl,Ll,Fl,qu],styles:[".demo-card__content[_ngcontent-%COMP%]{margin:1em 2em}.demo-card__content__description[_ngcontent-%COMP%]{margin:1em 0 0 -1em}"]}),$l),Xl=((Jl=function e(){v(this,e)}).\u0275fac=function(e){return new(e||Jl)},Jl.\u0275cmp=ht({type:Jl,selectors:[["app-root"]],decls:8,vars:0,consts:[[1,"app"],["color","primary",1,"app__toolbar"],[1,"app__content"]],template:function(e,t){1&e&&(mo(0,"div",0),mo(1,"mat-toolbar",1),No(2," ngx-localstorage "),go(),mo(3,"div",2),_o(4,"app-decorator"),_o(5,"app-directive"),_o(6,"app-storage-service"),_o(7,"app-event-service"),go(),go())},directives:[rl,zl,Ul,Wl,Yl],styles:['.app[_ngcontent-%COMP%]{display:grid;grid-template-areas:"toolbar" "content";grid-template-rows:auto 1fr;height:100vh}.app__toolbar[_ngcontent-%COMP%]{grid-area:toolbar}.app__content[_ngcontent-%COMP%]{grid-area:content;padding:.5em}.app__content[_ngcontent-%COMP%] mat-card{margin-bottom:.5em}']}),Jl),ec=((Gl=function e(){v(this,e)}).\u0275mod=yt({type:Gl}),Gl.\u0275inj=de({factory:function(e){return new(e||Gl)},imports:[[Qu,Bl,dl.forRoot({})]]}),Gl),tc=((Kl=function e(){v(this,e)}).\u0275mod=yt({type:Kl,bootstrap:[Xl]}),Kl.\u0275inj=de({factory:function(e){return new(e||Kl)},providers:[],imports:[[Es,il,ec]]}),Kl);(function(){if(ar)throw new Error("Cannot enable prod mode after platform setup.");or=!1})(),xs().bootstrapModule(tc).catch((function(e){return console.log(e)}))},zn8P:function(e,t){function n(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="zn8P"}},[[0,0]]])}(); \ No newline at end of file diff --git a/docs/main-es5.6147e374df454ce563b0.js b/docs/main-es5.6147e374df454ce563b0.js deleted file mode 100644 index cbb6062..0000000 --- a/docs/main-es5.6147e374df454ce563b0.js +++ /dev/null @@ -1 +0,0 @@ -function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function _iterableToArrayLimit(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(u){i=!0,o=u}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function _iterableToArray(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;_classCallCheck(this,e),this.project=t,this.concurrent=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new V(e,this.project,this.concurrent))}}]),e}(),V=function(e){function t(e,n){var r,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return _classCallCheck(this,t),(r=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))).project=n,r.concurrent=i,r.hasCompleted=!1,r.buffer=[],r.active=0,r.index=0,r}return _inherits(t,e),_createClass(t,[{key:"_next",value:function(e){this.active4&&void 0!==arguments[4]?arguments[4]:new I(e,n,r);if(!i.closed)return t instanceof k?t.subscribe(i):P(t)(i)}(this,e,void 0,void 0,r);o!==r&&i.add(o)}},{key:"_complete",value:function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}},{key:"notifyNext",value:function(e,t,n,r,i){this.destination.next(t)}},{key:"notifyComplete",value:function(e){var t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),t}(D);function F(e){return e}function H(){return function(e){return e.lift(new B(e))}}var L,B=function(){function e(t){_classCallCheck(this,e),this.connectable=t}return _createClass(e,[{key:"call",value:function(e,t){var n=this.connectable;n._refCount++;var r=new z(e,n),i=t.subscribe(r);return r.closed||(r.connection=n.connect()),i}}]),e}(),z=function(e){function t(e,n){var r;return _classCallCheck(this,t),(r=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))).connectable=n,r}return _inherits(t,e),_createClass(t,[{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null}}]),t}(p),Z={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:(L=function(e){function t(e,n){var r;return _classCallCheck(this,t),(r=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))).source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return _inherits(t,e),_createClass(t,[{key:"_subscribe",value:function(e){return this.getSubject().subscribe(e)}},{key:"getSubject",value:function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new h).add(this.source.subscribe(new q(this.getSubject(),this))),e.closed&&(this._connection=null,e=h.EMPTY)),e}},{key:"refCount",value:function(){return H()(this)}}]),t}(k).prototype)._subscribe},_isComplete:{value:L._isComplete,writable:!0},getSubject:{value:L.getSubject},connect:{value:L.connect},refCount:{value:L.refCount}},q=function(e){function t(e,n){var r;return _classCallCheck(this,t),(r=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))).connectable=n,r}return _inherits(t,e),_createClass(t,[{key:"_error",value:function(e){this._unsubscribe(),_get(_getPrototypeOf(t.prototype),"_error",this).call(this,e)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),_get(_getPrototypeOf(t.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}]),t}(E);function U(){return new T}function W(){return function(e){return H()((t=U,function(e){var n;n="function"==typeof t?t:function(){return t};var r=Object.create(e,Z);return r.source=e,r.subjectFactory=n,r})(e));var t}}function Q(e){return{toString:e}.toString()}function K(e,t,n){return Q((function(){var r=function(e){return function(){if(e){var t=e.apply(void 0,arguments);for(var n in t)this[n]=t[n]}}}(t);function i(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:X.Default;if(void 0===je)throw new Error("inject() must be called from an injection context");return null===je?Le(e,void 0,t):je.get(e,t&X.Optional?null:void 0,t)}function He(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:X.Default;return(_e||Fe)(ye(e),t)}function Le(e,t,n){var r=ie(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&X.Optional)return null;if(void 0!==t)return t;throw new Error("Injector: NOT_FOUND [".concat(he(e),"]"))}function Be(e){for(var t=[],n=0;n1&&void 0!==arguments[1]?arguments[1]:De;if(t===De){var n=new Error("NullInjectorError: No provider for ".concat(he(e),"!"));throw n.name="NullInjectorError",n}return t}}]),e}(),Ze=function e(){_classCallCheck(this,e)};function qe(e,t){e.forEach((function(e){return Array.isArray(e)?qe(e,t):t(e)}))}function Ue(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function We(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Qe(e,t){for(var n=[],r=0;r=0)return e[1|n]}function Ge(e,t){return function(e,t,n){for(var r=0,i=e.length>>1;i!==r;){var o=r+(i-r>>1),a=e[o<<1];if(t===a)return o<<1;a>t?i=o:r=o+1}return~(i<<1)}(e,t)}var Je=function(){var e={OnPush:0,Default:1};return e[e.OnPush]="OnPush",e[e.Default]="Default",e}(),$e=function(){var e={Emulated:0,Native:1,None:2,ShadowDom:3};return e[e.Emulated]="Emulated",e[e.Native]="Native",e[e.None]="None",e[e.ShadowDom]="ShadowDom",e}(),Ye={},Xe=[],et=0;function tt(e){return Q((function(){var t=e.type,n=t.prototype,r={},i={type:t,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onChanges:null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:e.changeDetection===Je.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||Xe,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||$e.Emulated,id:"c",styles:e.styles||Xe,_:null,setInput:null,schemas:e.schemas||null,tView:null},o=e.directives,a=e.features,s=e.pipes;return i.id+=et++,i.inputs=at(e.inputs,r),i.outputs=at(e.outputs),a&&a.forEach((function(e){return e(i)})),i.directiveDefs=o?function(){return("function"==typeof o?o():o).map(nt)}:null,i.pipeDefs=s?function(){return("function"==typeof s?s():s).map(rt)}:null,i}))}function nt(e){return ut(e)||function(e){return e[xe]||null}(e)}function rt(e){return function(e){return e[Ee]||null}(e)}var it={};function ot(e){var t={type:e.type,bootstrap:e.bootstrap||Xe,declarations:e.declarations||Xe,imports:e.imports||Xe,exports:e.exports||Xe,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&Q((function(){it[e.id]=e.type})),t}function at(e,t){if(null==e)return Ye;var n={};for(var r in e)if(e.hasOwnProperty(r)){var i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,t&&(t[i]=o)}return n}var st=tt;function ut(e){return e[Ce]||null}function lt(e,t){return e.hasOwnProperty(Ie)?e[Ie]:null}function ct(e,t){var n=e[Te]||null;if(!n&&!0===t)throw new Error("Type ".concat(he(e)," does not have '\u0275mod' property."));return n}function ft(e){return Array.isArray(e)&&"object"==typeof e[1]}function ht(e){return Array.isArray(e)&&!0===e[1]}function dt(e){return 0!=(8&e.flags)}function vt(e){return 2==(2&e.flags)}function pt(e){return 1==(1&e.flags)}function yt(e){return null!==e.template}function _t(e){return 0!=(512&e[2])}var mt={lFrame:Ft(null),bindingsEnabled:!0,checkNoChangesMode:!1};function gt(){return mt.bindingsEnabled}function kt(){return mt.lFrame.lView}function bt(){return mt.lFrame.tView}function wt(){return mt.lFrame.previousOrParentTNode}function Ct(e,t){mt.lFrame.previousOrParentTNode=e,mt.lFrame.isParent=t}function xt(){return mt.lFrame.isParent}function Et(){mt.lFrame.isParent=!1}function Tt(){return mt.checkNoChangesMode}function St(e){mt.checkNoChangesMode=e}function It(){var e=mt.lFrame,t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function At(){return mt.lFrame.bindingIndex}function Ot(){return mt.lFrame.bindingIndex++}function Pt(e){var t=mt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Dt(e,t){var n=mt.lFrame;n.bindingIndex=n.bindingRootIndex=e,n.currentDirectiveIndex=t}function Rt(){return mt.lFrame.currentQueryIndex}function Nt(e){mt.lFrame.currentQueryIndex=e}function jt(e,t){var n=Vt();mt.lFrame=n,n.previousOrParentTNode=t,n.lView=e}function Mt(e,t){var n=Vt(),r=e[1];mt.lFrame=n,n.previousOrParentTNode=t,n.lView=e,n.tView=r,n.contextLView=e,n.bindingIndex=r.bindingStartIndex}function Vt(){var e=mt.lFrame,t=null===e?null:e.child;return null===t?Ft(e):t}function Ft(e){var t={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentSanitizer:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null};return null!==e&&(e.child=t),t}function Ht(){var e=mt.lFrame;return mt.lFrame=e.parent,e.previousOrParentTNode=null,e.lView=null,e}var Lt=Ht;function Bt(){var e=Ht();e.isParent=!0,e.tView=null,e.selectedIndex=0,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.currentSanitizer=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function zt(){return mt.lFrame.selectedIndex}function Zt(e){mt.lFrame.selectedIndex=e}function qt(e,t){for(var n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[a]<0&&(e[18]+=65536),(o>10>16&&(3&e[2])===t&&(e[2]+=1024,o.call(a)):o.call(a)}var Jt=function e(t,n,r){_classCallCheck(this,e),this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r},$t=void 0;function Yt(e){return!!e.listen}var Xt={createRenderer:function(e,t){return void 0!==$t?$t:"undefined"!=typeof document?document:void 0}};function en(e,t,n){for(var r=Yt(e),i=0;it){a=o-1;break}}}for(;o>16}function un(e,t){for(var n=sn(e),r=t;n>0;)r=r[15],n--;return r}function ln(e){return"string"==typeof e?e:null==e?"":""+e}function cn(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ln(e)}var fn=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(we);function hn(e){return e instanceof Function?e():e}var dn=!0;function vn(e){var t=dn;return dn=e,t}var pn=0;function yn(e,t){var n=mn(e,t);if(-1!==n)return n;var r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,_n(r.data,e),_n(t,null),_n(r.blueprint,null));var i=gn(e,t),o=e.injectorIndex;if(on(i))for(var a=an(i),s=un(i,t),u=s[1].data,l=0;l<8;l++)t[o+l]=s[a+l]|u[a+l];return t[o+8]=i,o}function _n(e,t){e.push(0,0,0,0,0,0,0,0,t)}function mn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+8]?-1:e.injectorIndex}function gn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=t[6],r=1;n&&-1===n.injectorIndex;)n=(t=t[15])?t[6]:null,r++;return n?n.injectorIndex|r<<16:-1}function kn(e,t,n){!function(e,t,n){var r="string"!=typeof n?n[Ae]:n.charCodeAt(0)||0;null==r&&(r=n[Ae]=pn++);var i=255&r,o=1<3&&void 0!==arguments[3]?arguments[3]:X.Default,i=arguments.length>4?arguments[4]:void 0;if(null!==e){var o=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;var t=e[Ae];return"number"==typeof t&&t>0?255&t:t}(n);if("function"==typeof o){jt(t,e);try{var a=o();if(null!=a||r&X.Optional)return a;throw new Error("No provider for ".concat(cn(n),"!"))}finally{Lt()}}else if("number"==typeof o){if(-1===o)return new In(e,t);var s=null,u=mn(e,t),l=-1,c=r&X.Host?t[16][6]:null;for((-1===u||r&X.SkipSelf)&&(l=-1===u?gn(e,t):t[u+8],Sn(r,!1)?(s=t[1],u=an(l),t=un(l,t)):u=-1);-1!==u;){l=t[u+8];var f=t[1];if(Tn(o,u,f.data)){var h=Cn(u,t,n,s,r,c);if(h!==wn)return h}Sn(r,t[1].data[u+8]===c)&&Tn(o,u,t)?(s=f,u=an(l),t=un(l,t)):u=-1}}}if(r&X.Optional&&void 0===i&&(i=null),0==(r&(X.Self|X.Host))){var d=t[9],v=Ve(void 0);try{return d?d.get(n,i,r&X.Optional):Le(n,i,r&X.Optional)}finally{Ve(v)}}if(r&X.Optional)return i;throw new Error("NodeInjector: NOT_FOUND [".concat(cn(n),"]"))}var wn={};function Cn(e,t,n,r,i,o){var a=t[1],s=a.data[e+8],u=xn(s,a,n,null==r?vt(s)&&dn:r!=a&&3===s.type,i&X.Host&&o===s);return null!==u?En(t,a,u,s):wn}function xn(e,t,n,r,i){for(var o=e.providerIndexes,a=t.data,s=65535&o,u=e.directiveStart,l=o>>16,c=i?s+l:e.directiveEnd,f=r?s:s+l;f=u&&h.type===n)return f}if(i){var d=a[u];if(d&&yt(d)&&d.type===n)return u}return null}function En(e,t,n,r){var i=e[n],o=t.data;if(i instanceof Jt){var a=i;if(a.resolving)throw new Error("Circular dep for ".concat(cn(o[n])));var s,u=vn(a.canSeeViewProviders);a.resolving=!0,a.injectImpl&&(s=Ve(a.injectImpl)),jt(e,r);try{i=e[n]=a.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function(e,t,n){var r=t.onChanges,i=t.onInit,o=t.doCheck;r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,r)),i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-e,i),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{a.injectImpl&&Ve(s),vn(u),a.resolving=!1,Lt()}}return i}function Tn(e,t,n){var r=64&e,i=32&e;return!!((128&e?r?i?n[t+7]:n[t+6]:i?n[t+5]:n[t+4]:r?i?n[t+3]:n[t+2]:i?n[t+1]:n[t])&1<1?t-1:0),r=1;ro?"":i[c+1].toLowerCase();var h=8&r?f:null;if(h&&-1!==Gn(h,l,0)||2&r&&l!==f){if(Xn(r))return!1;a=!0}}}}else{if(!a&&!Xn(r)&&!Xn(u))return!1;if(a&&Xn(u))continue;a=!1,r=u|1&r}}return Xn(r)||a}function Xn(e){return 0==(1&e)}function er(e,t,n,r){if(null===t)return-1;var i=0;if(r||!n){for(var o=!1;i-1)for(n++;n2&&void 0!==arguments[2]&&arguments[2],r=0;r0?'="'+s+'"':"")+"]"}else 8&r?i+="."+a:4&r&&(i+=" "+a);else""===i||Xn(a)||(t+=rr(o,i),i=""),r=a,o=o||!Xn(r);n++}return""!==i&&(t+=rr(o,i)),t}var or={};function ar(e){var t=e[3];return ht(t)?t[3]:t}function sr(e){ur(bt(),kt(),zt()+e,Tt())}function ur(e,t,n,r){if(!r)if(3==(3&t[2])){var i=e.preOrderCheckHooks;null!==i&&Ut(t,i,n)}else{var o=e.preOrderHooks;null!==o&&Wt(t,o,0,n)}Zt(n)}function lr(e,t){return e<<17|t<<2}function cr(e){return e>>17&32767}function fr(e){return 2|e}function hr(e){return(131068&e)>>2}function dr(e,t){return-131069&e|t<<2}function vr(e){return 1|e}function pr(e,t){var n=e.contentQueries;if(null!==n)for(var r=0;r>1==-1){for(var r=9;r19&&ur(e,t,0,Tt()),n(r,i)}finally{Zt(o)}}function Cr(e,t,n){gt()&&(function(e,t,n,r){var i=n.directiveStart,o=n.directiveEnd;e.firstCreatePass||yn(n,t),Wn(r,t);for(var a=n.initialInputs,s=i;s0&&(e[n-1][4]=r[4]);var o=We(e,9+t);ni(r[1],r,!1,null);var a=o[5];null!==a&&a.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}}function oi(e,t){if(!(256&t[2])){var n=t[11];Yt(n)&&n.destroyNode&&_i(e,t,n,3,null,null),function(e){var t=e[13];if(!t)return si(e[1],e);for(;t;){var n=null;if(ft(t))n=t[13];else{var r=t[9];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)ft(t)&&si(t[1],t),t=ai(t,e);null===t&&(t=e),ft(t)&&si(t[1],t),n=t&&t[4]}t=n}}(t)}}function ai(e,t){var n;return ft(e)&&(n=e[6])&&2===n.type?Xr(n,e):e[3]===t?null:e[3]}function si(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){var n;if(null!=e&&null!=(n=e.destroyHooks))for(var r=0;r=0?r[u]():r[-u].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);t[7]=null}}(e,t);var n=t[6];n&&3===n.type&&Yt(t[11])&&t[11].destroy();var r=t[17];if(null!==r&&ht(t[3])){r!==t[3]&&ri(r,t);var i=t[5];null!==i&&i.detachView(e)}}}function ui(e,t,n){for(var r=t.parent;null!=r&&(4===r.type||5===r.type);)r=(t=r).parent;if(null==r){var i=n[6];return 2===i.type?ei(i,n):n[0]}if(t&&5===t.type&&4&t.flags)return Fn(t,n).parentNode;if(2&r.flags){var o=e.data,a=o[o[r.index].directiveStart].encapsulation;if(a!==$e.ShadowDom&&a!==$e.Native)return null}return Fn(r,n)}function li(e,t,n,r){Yt(e)?e.insertBefore(t,n,r):t.insertBefore(n,r,!0)}function ci(e,t,n){Yt(e)?e.appendChild(t,n):t.appendChild(n)}function fi(e,t,n,r){null!==r?li(e,t,n,r):ci(e,t,n)}function hi(e,t){return Yt(e)?e.parentNode(t):t.parentNode}function di(e,t){if(2===e.type){var n=Xr(e,t);return null===n?null:pi(n.indexOf(t,9)-9,n)}return 4===e.type||5===e.type?Fn(e,t):null}function vi(e,t,n,r){var i=ui(e,r,t);if(null!=i){var o=t[11],a=di(r.parent||t[6],t);if(Array.isArray(n))for(var s=0;s-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}oi(this._lView[1],this._lView)}},{key:"onDestroy",value:function(e){var t,n,r;t=this._lView[1],r=e,Gr(n=this._lView).push(r),t.firstCreatePass&&Jr(t).push(n[7].length-1,null)}},{key:"markForCheck",value:function(){!function(e){for(;e;){e[2]|=64;var t=ar(e);if(_t(e)&&!t)return e;e=t}}(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){Ur(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(e,t,n){St(!0);try{Ur(e,t,n)}finally{St(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}},{key:"detachFromAppRef",value:function(){var e;this._appRef=null,_i(this._lView[1],e=this._lView,e[11],2,null,null)}},{key:"attachToAppRef",value:function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}},{key:"rootNodes",get:function(){var e=this._lView;return null==e[0]?function e(t,n,r,i){for(var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];null!==r;){var a=n[r.index];if(null!==a&&i.push(Mn(a)),ht(a))for(var s=9;s0;)this.remove(this.length-1)}},{key:"get",value:function(e){return null!==this._lContainer[8]&&this._lContainer[8][e]||null}},{key:"createEmbeddedView",value:function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r}},{key:"createComponent",value:function(e,t,n,r,i){var o=n||this.parentInjector;if(!i&&null==e.ngModule&&o){var a=o.get(Ze,null);a&&(i=a)}var s=e.create(o,r,void 0,i);return this.insert(s.hostView,t),s}},{key:"insert",value:function(e,t){var n=e._lView,r=n[1];if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),ht(n[3])){var i=this.indexOf(e);if(-1!==i)this.detach(i);else{var o=n[3],a=new Ci(o,o[6],o[3]);a.detach(a.indexOf(e))}}var s=this._adjustIndex(t);return function(e,t,n,r){var i=9+r,o=n.length;r>0&&(n[i-1][4]=t),r1&&void 0!==arguments[1]?arguments[1]:0;return null==e?this.length+t:e}},{key:"allocateContainerIfNeeded",value:function(){null===this._lContainer[8]&&(this._lContainer[8]=[])}},{key:"element",get:function(){return Ti(t,this._hostTNode,this._hostView)}},{key:"injector",get:function(){return new In(this._hostTNode,this._hostView)}},{key:"parentInjector",get:function(){var e=gn(this._hostTNode,this._hostView),t=un(e,this._hostView),n=function(e,t,n){if(n.parent&&-1!==n.parent.injectorIndex){for(var r=n.parent.injectorIndex,i=n.parent;null!=i.parent&&r==i.parent.injectorIndex;)i=i.parent;return i}for(var o=sn(e),a=t,s=t[6];o>1;)s=(a=a[15])[6],o--;return s}(e,this._hostView,this._hostTNode);return on(e)&&null!=n?new In(n,t):new In(null,this._hostView)}},{key:"length",get:function(){return this._lContainer.length-9}}]),n}(e));var o=r[n.index];if(ht(o))(function(e,t){e[2]=-2})(i=o);else{var a;if(4===n.type)a=Mn(o);else if(a=r[11].createComment(""),_t(r)){var s=r[11],u=Fn(n,r);li(s,hi(s,u),a,function(e,t){return Yt(e)?e.nextSibling(t):t.nextSibling}(s,u))}else vi(r[1],r,a,n);r[n.index]=i=Lr(o,r,a,n),qr(r,i)}return new Ci(i,n,r)}var Ai=new Oe("Set Injector scope."),Oi={},Pi={},Di=[],Ri=void 0;function Ni(){return void 0===Ri&&(Ri=new ze),Ri}function ji(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3?arguments[3]:void 0;return new Mi(e,n,t||Ni(),r)}var Mi=function(){function e(t,n,r){var i=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;_classCallCheck(this,e),this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var a=[];n&&qe(n,(function(e){return i.processProvider(e,t,n)})),qe([t],(function(e){return i.processInjectorType(e,[],a)})),this.records.set(Pe,Fi(void 0,this));var s=this.records.get(Ai);this.scope=null!=s?s.value:null,this.source=o||("object"==typeof t?null:he(t))}return _createClass(e,[{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach((function(e){return e.ngOnDestroy()}))}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:De,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:X.Default;this.assertNotDestroyed();var r,i=Me(this);try{if(!(n&X.SkipSelf)){var o=this.records.get(e);if(void 0===o){var a=("function"==typeof(r=e)||"object"==typeof r&&r instanceof Oe)&&ie(e);o=a&&this.injectableDefInScope(a)?Fi(Vi(e),Oi):null,this.records.set(e,o)}if(null!=o)return this.hydrate(e,o)}return(n&X.Self?Ni():this.parent).get(e,t=n&X.Optional&&t===De?null:t)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(he(e)),i)throw s;return function(e,t,n,r){var i=e.ngTempTokenPath;throw t.__source&&i.unshift(t.__source),e.message=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;var i=he(t);if(Array.isArray(t))i=t.map(he).join(" -> ");else if("object"==typeof t){var o=[];for(var a in t)if(t.hasOwnProperty(a)){var s=t[a];o.push(a+":"+("string"==typeof s?JSON.stringify(s):he(s)))}i="{".concat(o.join(", "),"}")}return"".concat(n).concat(r?"("+r+")":"","[").concat(i,"]: ").concat(e.replace(Re,"\n "))}("\n"+e.message,i,"R3InjectorError",r),e.ngTokenPath=i,e.ngTempTokenPath=null,e}(s,e,0,this.source)}throw s}finally{Me(i)}}},{key:"_resolveInjectorDefTypes",value:function(){var e=this;this.injectorDefTypes.forEach((function(t){return e.get(t)}))}},{key:"toString",value:function(){var e=[];return this.records.forEach((function(t,n){return e.push(he(n))})),"R3Injector[".concat(e.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(e,t,n){var r=this;if(!(e=ye(e)))return!1;var i=ae(e),o=null==i&&e.ngModule||void 0,a=void 0===o?e:o,s=-1!==n.indexOf(a);if(void 0!==o&&(i=ae(o)),null==i)return!1;if(null!=i.imports&&!s){var u;n.push(a);try{qe(i.imports,(function(e){r.processInjectorType(e,t,n)&&(void 0===u&&(u=[]),u.push(e))}))}finally{}if(void 0!==u)for(var l=function(e){var t=u[e],n=t.ngModule,i=t.providers;qe(i,(function(e){return r.processProvider(e,n,i||Di)}))},c=0;c0){var n=Qe(t,"?");throw new Error("Can't resolve all parameters for ".concat(he(e),": (").concat(n.join(", "),")."))}var r=function(e){var t=e&&(e[se]||e[ce]||e[le]&&e[le]());if(t){var n=function(e){if(e.hasOwnProperty("name"))return e.name;var t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(n,'" that inherits its @Injectable decorator but does not provide one itself.\n')+'This will become an error in v10. Please add @Injectable() to the "'.concat(n,'" class.')),t}return null}(e);return null!==r?function(){return r.factory(e)}:function(){return new e}}(e);throw new Error("unreachable")}function Fi(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:e,value:t,multi:n?[]:void 0}}function Hi(e){return null!==e&&"object"==typeof e&&Ne in e}function Li(e){return"function"==typeof e}var Bi=function(e,t,n){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3?arguments[3]:void 0,i=ji(e,t,n,r);return i._resolveInjectorDefTypes(),i}({name:n},t,e,n)},zi=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"create",value:function(e,t){return Array.isArray(e)?Bi(e,t,""):Bi(e.providers,e.parent,e.name||"")}}]),e}();return e.THROW_IF_NOT_FOUND=De,e.NULL=new ze,e.\u0275prov=ne({token:e,providedIn:"any",factory:function(){return He(Pe)}}),e.__NG_ELEMENT_ID__=-1,e}(),Zi=new Map,qi=new Set;function Ui(e){return"string"==typeof e?e:e.text()}function Wi(e,t){for(var n=e.styles,r=e.classes,i=0,o=0;o1&&void 0!==arguments[1]?arguments[1]:X.Default,n=kt();return null==n?He(e,t):bn(wt(),n,ye(e),t)}function ro(e,t,n){var r=kt();if(to(r,Ot(),t)){var i=zt();!function(e,t,n,r,i,o,a,s){var u,l,c=Vn(n,t),f=Hn(e,n),h=f.inputs;if(null!=h&&(u=h[r]))$r(e,t,u,r,i),vt(f)&&function(e,t){var n=Ln(t,e);16&n[2]||(n[2]|=64)}(t,n+19);else if(3===f.type){r="class"===(l=r)?"className":"for"===l?"htmlFor":"formaction"===l?"formAction":"innerHtml"===l?"innerHTML":"readonly"===l?"readOnly":"tabindex"===l?"tabIndex":l;var d=t[11];i=null!=o?o(i,f.tagName||"",r):i,Yt(d)?d.setProperty(c,r,i):tn(r)||(c.setProperty?c.setProperty(r,i):c[r]=i)}}(bt(),r,i,e,t,n)}return ro}function io(e,t,n,r,i){var o=i?"class":"style";$r(e,n,t.inputs[o],o,r)}function oo(e,t,n,r){var i=kt(),o=bt(),a=19+e,s=i[11],u=i[a]=yr(t,s,mt.lFrame.currentNamespace),l=o.firstCreatePass?function(e,t,n,r,i,o,a){var s=t.consts,u=qn(s,o),l=mr(t,n[6],e,3,i,u);return Ir(t,n,l,qn(s,a)),null!==l.mergedAttrs&&Wi(l,l.mergedAttrs),null!==t.queries&&t.queries.elementStart(t,l),l}(e,o,i,0,t,n,r):o.data[a];Ct(l,!0);var c=l.mergedAttrs;null!==c&&en(s,u,c);var f=l.classes;null!==f&&ki(s,u,f);var h=l.styles;null!==h&&gi(s,u,h),vi(o,i,u,l),0===mt.lFrame.elementDepthCount&&Wn(u,i),mt.lFrame.elementDepthCount++,pt(l)&&(Cr(o,i,l),function(e,t,n){if(dt(t))for(var r=t.directiveEnd,i=t.directiveStart;i2&&void 0!==arguments[2]?arguments[2]:Fn,r=t.localNames;if(null!==r)for(var i=t.index+1,o=0;o1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,r=kt(),i=bt(),o=mr(i,r[6],e,1,null,n||null);null===o.projection&&(o.projection=t),Et(),function(e,t,n){mi(t[11],0,t,n,ui(e,n,t),di(n.parent||t[6],t))}(i,r,o)}var ho=[];function vo(e,t,n,r,i){for(var o=e[n+1],a=null===t,s=r?cr(o):hr(o),u=!1;0!==s&&(!1===u||a);){var l=e[s+1];po(e[s],t)&&(u=!0,e[s+1]=r?vr(l):fr(l)),s=r?cr(l):hr(l)}u&&(e[n+1]=r?fr(o):vr(o))}function po(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Ge(e,t)>=0}function yo(e,t){return function(e,t,n,r){var i,o,a=kt(),s=bt(),u=Pt(2);(s.firstUpdatePass&&function(e,t,n,r){var i=e.data;if(null===i[n+1]){var o=i[zt()+19],a=function(e,t){return t>=e.expandoStartIndex}(e,n);(function(e,t){return 0!=(16&e.flags)})(o)&&null===t&&!a&&(t=!1),t=function(e,t,n,r){var i=function(e){var t=mt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e),o=t.residualClasses;if(null===i)0===t.classBindings&&(n=mo(n=_o(null,e,t,n,!0),t.attrs,!0),o=null);else{var a=t.directiveStylingLast;if(-1===a||e[a]!==i)if(n=_o(i,e,t,n,!0),null===o){var s=function(e,t,n){var r=t.classBindings;if(0!==hr(r))return e[cr(r)]}(e,t);void 0!==s&&Array.isArray(s)&&function(e,t,n,r){e[cr(t.classBindings)]=r}(e,t,0,s=mo(s=_o(null,e,t,s[1],!0),t.attrs,!0))}else o=function(e,t,n){for(var r=void 0,i=t.directiveEnd,o=1+t.directiveStylingLast;o0)&&(c=!0)}else l=n;if(i)if(0!==u){var h=cr(e[s+1]);e[r+1]=lr(h,s),0!==h&&(e[h+1]=dr(e[h+1],r)),e[s+1]=131071&e[s+1]|r<<17}else e[r+1]=lr(s,0),0!==s&&(e[s+1]=dr(e[s+1],r)),s=r;else e[r+1]=lr(u,0),0===s?s=r:e[u+1]=dr(e[u+1],r),u=r;c&&(e[r+1]=fr(e[r+1])),vo(e,l,r,!0),vo(e,l,r,!1),function(e,t,n,r,i){var o=e.residualClasses;null!=o&&"string"==typeof t&&Ge(o,t)>=0&&(n[r+1]=vr(n[r+1]))}(t,l,e,r),a=lr(s,u),t.classBindings=a}(i,o,t,n,a)}}(s,e,u),t!==or&&to(a,u,t))&&(null==n&&(i=null===(o=mt.lFrame)?null:o.currentSanitizer)&&(n=i),function(e,t,n,r,i,o,a,s){if(3===t.type){var u=e.data,l=u[s+1];ko(1==(1&l)?go(u,t,n,i,hr(l),!0):void 0)||(ko(o)||2==(2&l)&&(o=go(u,null,n,i,s,!0)),function(e,t,n,r,i){var o=Yt(e);i?o?e.addClass(n,r):n.classList.add(r):o?e.removeClass(n,r):n.classList.remove(r)}(r,0,Vn(zt(),n),i,o))}}(s,s.data[zt()+19],a,a[11],e,a[u+1]=function(e,t){return null==e||("function"==typeof t?e=t(e):"string"==typeof t?e+=t:"object"==typeof e&&(e=he(function(e){return e instanceof function(){function e(t){_classCallCheck(this,e),this.changingThisBreaksApplicationSecurity=t}return _createClass(e,[{key:"toString",value:function(){return"SafeValue must use [property]=binding: ".concat(this.changingThisBreaksApplicationSecurity)+" (see http://g.co/ng/security#xss)"}}]),e}()?e.changingThisBreaksApplicationSecurity:e}(e)))),e}(t,n),0,u))}(e,t,null),yo}function _o(e,t,n,r,i){var o=null,a=n.directiveEnd,s=n.directiveStylingLast;for(-1===s?s=n.directiveStart:s++;s=0?r[1|a]=o:function(e,t,n,r){var i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(r,a=~a,i,o))}return void 0===e?null:e}function go(e,t,n,r,i,o){for(var a=null===t,s=void 0;i>0;){var u=e[i],l=Array.isArray(u),c=l?u[1]:u,f=null===c,h=n[i+1];h===or&&(h=f?ho:void 0);var d=f?Ke(h,r):c===r?h:void 0;if(l&&!ko(d)&&(d=Ke(u,r)),ko(d)&&(s=d,a))return s;var v=e[i+1];i=a?cr(v):hr(v)}if(null!==t){var p=o?t.residualClasses:t.residualStyles;null!=p&&(s=Ke(p,r))}return s}function ko(e){return void 0!==e}function bo(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=kt(),r=bt(),i=e+19,o=r.firstCreatePass?mr(r,n[6],e,3,null,null):r.data[i],a=n[i]=function(e,t){return Yt(t)?t.createText(e):t.createTextNode(e)}(t,n[11]);vi(r,n,a,o),Ct(o,!1)}function wo(e,t,n){var r=kt(),i=function(e,t,n,r){return to(e,Ot(),n)?t+ln(n)+r:or}(r,e,t,n);return i!==or&&Yr(r,zt(),i),wo}function Co(e,t,n,r,i,o,a){var s=kt(),u=function(e,t,n,r,i,o,a,s){var u=function(e,t,n,r,i){var o=function(e,t,n,r){var i=to(e,t,n);return to(e,t+1,r)||i}(e,t,n,r);return to(e,t+2,i)||o}(e,At(),n,i,a);return Pt(3),u?t+ln(n)+r+ln(i)+o+ln(a)+s:or}(s,e,t,n,r,i,o,a);return u!==or&&Yr(s,zt(),u),Co}function xo(e,t){var n=Bn(e)[1],r=n.data.length-1;qt(n,{directiveStart:r,directiveEnd:r+1})}function Eo(e){for(var t=Object.getPrototypeOf(e.type.prototype).constructor,n=!0,r=[e];t;){var i=void 0;if(yt(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");i=t.\u0275dir}if(i){if(n){r.push(i);var o=e;o.inputs=To(e.inputs),o.declaredInputs=To(e.declaredInputs),o.outputs=To(e.outputs);var a=i.hostBindings;a&&Ao(e,a);var s=i.viewQuery,u=i.contentQueries;if(s&&So(e,s),u&&Io(e,u),te(e.inputs,i.inputs),te(e.declaredInputs,i.declaredInputs),te(e.outputs,i.outputs),yt(i)&&i.data.animation){var l=e.data;l.animation=(l.animation||[]).concat(i.data.animation)}o.afterContentChecked=o.afterContentChecked||i.afterContentChecked,o.afterContentInit=e.afterContentInit||i.afterContentInit,o.afterViewChecked=e.afterViewChecked||i.afterViewChecked,o.afterViewInit=e.afterViewInit||i.afterViewInit,o.doCheck=e.doCheck||i.doCheck,o.onDestroy=e.onDestroy||i.onDestroy,o.onInit=e.onInit||i.onInit}var c=i.features;if(c)for(var f=0;f=0;r--){var i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=nn(i.hostAttrs,n=nn(n,i.hostAttrs))}}(r)}function To(e){return e===Ye?{}:e===Xe?[]:e}function So(e,t){var n=e.viewQuery;e.viewQuery=n?function(e,r){t(e,r),n(e,r)}:t}function Io(e,t){var n=e.contentQueries;e.contentQueries=n?function(e,r,i){t(e,r,i),n(e,r,i)}:t}function Ao(e,t){var n=e.hostBindings;e.hostBindings=n?function(e,r){t(e,r),n(e,r)}:t}var Oo=function e(){_classCallCheck(this,e)},Po=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"resolveComponentFactory",value:function(e){throw function(e){var t=Error("No component factory found for ".concat(he(e),". Did you add it to @NgModule.entryComponents?"));return t.ngComponent=e,t}(e)}}]),e}(),Do=function(){var e=function e(){_classCallCheck(this,e)};return e.NULL=new Po,e}(),Ro=function(){var e=function e(t){_classCallCheck(this,e),this.nativeElement=t};return e.__NG_ELEMENT_ID__=function(){return No(e)},e}(),No=function(e){return Ti(e,wt(),kt())},jo=function e(){_classCallCheck(this,e)},Mo=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}(),Vo=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275prov=ne({token:e,providedIn:"root",factory:function(){return null}}),e}(),Fo=function e(t){_classCallCheck(this,e),this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")},Ho=new Fo("9.0.6"),Lo=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"supports",value:function(e){return $i(e)}},{key:"create",value:function(e){return new zo(e)}}]),e}(),Bo=function(e,t){return t},zo=function(){function e(t){_classCallCheck(this,e),this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Bo}return _createClass(e,[{key:"forEachItem",value:function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)}},{key:"forEachOperation",value:function(e){for(var t=this._itHead,n=this._removalsHead,r=0,i=null;t||n;){var o=!n||t&&t.currentIndex0&&ki(l,f,k.join(" "))}o=Hn(y[1],0),t&&(o.projection=t.map((function(e){return Array.from(e)}))),i=function(e,t,n,r,i){var o=n[1],a=function(e,t,n){var r=wt();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Dr(e,r,1),Mr(e,t,n));var i=En(t,e,t.length-1,r);Wn(i,t);var o=Fn(r,t);return o&&Wn(o,t),i}(o,n,t);r.components.push(a),e[8]=a,i&&i.forEach((function(e){return e(a,t)})),t.contentQueries&&t.contentQueries(1,a,n.length-1);var s=wt();if(o.firstCreatePass&&(null!==t.hostBindings||null!==t.hostAttrs)){Zt(s.index-19);var u=n[1];Ar(u,t),Or(u,n,t.hostVars),Pr(t,a)}return a}(_,this.componentDef,y,v,[xo]),gr(p,y,null)}finally{Bt()}var b=new ca(this.componentType,i,Ti(Ro,o,y),y,o);return n&&!d||(b.hostView._tViewNode.child=o),b}},{key:"inputs",get:function(){return sa(this.componentDef.inputs)}},{key:"outputs",get:function(){return sa(this.componentDef.outputs)}}]),t}(Oo),ca=function(e){function t(e,n,r,i,o){var a,s,u,l;return _classCallCheck(this,t),(a=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))).location=r,a._rootLView=i,a._tNode=o,a.destroyCbs=[],a.instance=n,a.hostView=a.changeDetectorRef=new Ei(i),a.hostView._tViewNode=(s=i[1],u=i,null==(l=s.node)&&(s.node=l=Tr(0,null,2,-1,null,null)),u[6]=l),a.componentType=e,a}return _inherits(t,e),_createClass(t,[{key:"destroy",value:function(){this.destroyCbs&&(this.destroyCbs.forEach((function(e){return e()})),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}},{key:"onDestroy",value:function(e){this.destroyCbs&&this.destroyCbs.push(e)}},{key:"injector",get:function(){return new In(this._tNode,this._rootLView)}}]),t}(function(){return function e(){_classCallCheck(this,e)}}()),fa=void 0,ha=["en",[["a","p"],["AM","PM"],fa],[["AM","PM"],fa,fa],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],fa,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],fa,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",fa,"{1} 'at' {0}",fa],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],da={};function va(e){return e in da||(da[e]=we.ng&&we.ng.common&&we.ng.common.locales&&we.ng.common.locales[e]),da[e]}var pa=function(){var e={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencyCode:15,CurrencySymbol:16,CurrencyName:17,Currencies:18,PluralCase:19,ExtraData:20};return e[e.LocaleId]="LocaleId",e[e.DayPeriodsFormat]="DayPeriodsFormat",e[e.DayPeriodsStandalone]="DayPeriodsStandalone",e[e.DaysFormat]="DaysFormat",e[e.DaysStandalone]="DaysStandalone",e[e.MonthsFormat]="MonthsFormat",e[e.MonthsStandalone]="MonthsStandalone",e[e.Eras]="Eras",e[e.FirstDayOfWeek]="FirstDayOfWeek",e[e.WeekendRange]="WeekendRange",e[e.DateFormat]="DateFormat",e[e.TimeFormat]="TimeFormat",e[e.DateTimeFormat]="DateTimeFormat",e[e.NumberSymbols]="NumberSymbols",e[e.NumberFormats]="NumberFormats",e[e.CurrencyCode]="CurrencyCode",e[e.CurrencySymbol]="CurrencySymbol",e[e.CurrencyName]="CurrencyName",e[e.Currencies]="Currencies",e[e.PluralCase]="PluralCase",e[e.ExtraData]="ExtraData",e}();function ya(e){var t;null==(t=e)&&function(e,t,n,r){throw new Error("ASSERTION ERROR: ".concat("Expected localeId to be defined")+" [Expected=> null != ".concat(t," <=Actual]"))}(0,t),"string"==typeof e&&e.toLowerCase().replace(/_/g,"-")}var _a=new Map,ma=function(e){function t(e,n){var r;_classCallCheck(this,t),(r=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this)))._parent=n,r._bootstrapComponents=[],r.injector=_assertThisInitialized(r),r.destroyCbs=[],r.componentFactoryResolver=new aa(_assertThisInitialized(r));var i=ct(e),o=e[Se]||null;return o&&ya(o),r._bootstrapComponents=hn(i.bootstrap),r._r3Injector=ji(e,n,[{provide:Ze,useValue:_assertThisInitialized(r)},{provide:Do,useValue:r.componentFactoryResolver}],he(e)),r._r3Injector._resolveInjectorDefTypes(),r.instance=r.get(e),r}return _inherits(t,e),_createClass(t,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:zi.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:X.Default;return e===zi||e===Ze||e===Pe?this:this._r3Injector.get(e,t,n)}},{key:"destroy",value:function(){var e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach((function(e){return e()})),this.destroyCbs=null}},{key:"onDestroy",value:function(e){this.destroyCbs.push(e)}}]),t}(Ze),ga=function(e){function t(e){var n;return _classCallCheck(this,t),(n=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))).moduleType=e,null!==ct(e)&&function e(t){if(null!==t.\u0275mod.id){var n=t.\u0275mod.id;(function(e,t,n){if(t&&t!==n)throw new Error("Duplicate module registered for ".concat(e," - ").concat(he(t)," vs ").concat(he(t.name)))})(n,_a.get(n),t),_a.set(n,t)}var r=t.\u0275mod.imports;r instanceof Function&&(r=r()),r&&r.forEach((function(t){return e(t)}))}(e),n}return _inherits(t,e),_createClass(t,[{key:"create",value:function(e){return new ma(this.moduleType,e)}}]),t}(function(){return function e(){_classCallCheck(this,e)}}());function ka(e,t,n){var r=It()+e,i=kt();return i[r]===or?Xi(i,r,n?t.call(n):t()):eo(i,r)}var ba=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))).__isAsync=n,e}return _inherits(t,e),_createClass(t,[{key:"emit",value:function(e){_get(_getPrototypeOf(t.prototype),"next",this).call(this,e)}},{key:"subscribe",value:function(e,n,r){var i,o=function(e){return null},a=function(){return null};e&&"object"==typeof e?(i=this.__isAsync?function(t){setTimeout((function(){return e.next(t)}))}:function(t){e.next(t)},e.error&&(o=this.__isAsync?function(t){setTimeout((function(){return e.error(t)}))}:function(t){e.error(t)}),e.complete&&(a=this.__isAsync?function(){setTimeout((function(){return e.complete()}))}:function(){e.complete()})):(i=this.__isAsync?function(t){setTimeout((function(){return e(t)}))}:function(t){e(t)},n&&(o=this.__isAsync?function(e){setTimeout((function(){return n(e)}))}:function(e){n(e)}),r&&(a=this.__isAsync?function(){setTimeout((function(){return r()}))}:function(){r()}));var s=_get(_getPrototypeOf(t.prototype),"subscribe",this).call(this,i,o,a);return e instanceof h&&e.add(s),s}}]),t}(T);function wa(){return this._results[Ki()]()}var Ca=function(){function e(){_classCallCheck(this,e),this.dirty=!0,this._results=[],this.changes=new ba,this.length=0;var t=Ki(),n=e.prototype;n[t]||(n[t]=wa)}return _createClass(e,[{key:"map",value:function(e){return this._results.map(e)}},{key:"filter",value:function(e){return this._results.filter(e)}},{key:"find",value:function(e){return this._results.find(e)}},{key:"reduce",value:function(e,t){return this._results.reduce(e,t)}},{key:"forEach",value:function(e){this._results.forEach(e)}},{key:"some",value:function(e){return this._results.some(e)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(e){this._results=function e(t,n){void 0===n&&(n=t);for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:[];_classCallCheck(this,e),this.queries=t}return _createClass(e,[{key:"createEmbeddedView",value:function(t){var n=t.queries;if(null!==n){for(var r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[],o=0;o3&&void 0!==arguments[3]?arguments[3]:null;_classCallCheck(this,e),this.predicate=t,this.descendants=n,this.isStatic=r,this.read=i},Sa=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];_classCallCheck(this,e),this.queries=t}return _createClass(e,[{key:"elementStart",value:function(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:-1;_classCallCheck(this,e),this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}return _createClass(e,[{key:"elementStart",value:function(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}},{key:"elementEnd",value:function(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(e,t){this.elementStart(e,t)}},{key:"embeddedTView",value:function(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}},{key:"isApplyingToNode",value:function(e){if(this._appliesToNextNode&&!1===this.metadata.descendants){for(var t=this._declarationNodeIndex,n=e.parent;null!==n&&4===n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(e,t){if(Array.isArray(this.metadata.predicate))for(var n=this.metadata.predicate,r=0;r0&&(i=setTimeout((function(){r._callbacks=r._callbacks.filter((function(e){return e.timeoutId!==i})),e(r._didWork,r.getPendingTasks())}),t)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:n})}},{key:"whenStable",value:function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(e,t,n){return[]}}]),e}();return e.\u0275fac=function(t){return new(t||e)(He(ts))},e.\u0275prov=ne({token:e,factory:e.\u0275fac}),e}(),fs=function(){var e=function(){function e(){_classCallCheck(this,e),this._applications=new Map,hs.addToWindow(this)}return _createClass(e,[{key:"registerApplication",value:function(e,t){this._applications.set(e,t)}},{key:"unregisterApplication",value:function(e){this._applications.delete(e)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(e){return this._applications.get(e)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return hs.findTestabilityInTree(this,e,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ne({token:e,factory:e.\u0275fac}),e}(),hs=new(function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"addToWindow",value:function(e){}},{key:"findTestabilityInTree",value:function(e,t,n){return null}}]),e}()),ds=function(e,t,n){var r=new ga(n);if(0===Zi.size)return Promise.resolve(r);var i,o,a=(i=e.get(Ya,[]).concat(t).map((function(e){return e.providers})),o=[],i.forEach((function(e){return e&&o.push.apply(o,_toConsumableArray(e))})),o);if(0===a.length)return Promise.resolve(r);var s=function(){var e=we.ng;if(!e||!e.\u0275compilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return e.\u0275compilerFacade}(),u=zi.create({providers:a}).get(s.ResourceLoader);return function(e){var t=[],n=new Map;function r(e){var t=n.get(e);if(!t){var r=function(e){return Promise.resolve(u.get(e))}(e);n.set(e,t=r.then(Ui))}return t}return Zi.forEach((function(e,n){var i=[];e.templateUrl&&i.push(r(e.templateUrl).then((function(t){e.template=t})));var o=e.styleUrls,a=e.styles||(e.styles=[]),s=e.styles.length;o&&o.forEach((function(t,n){a.push(""),i.push(r(t).then((function(r){a[s+n]=r,o.splice(o.indexOf(t),1),0==o.length&&(e.styleUrls=void 0)})))}));var u=Promise.all(i).then((function(){return function(e){qi.delete(e)}(n)}));t.push(u)})),Zi=new Map,Promise.all(t).then((function(){}))}().then((function(){return r}))},vs=new Oe("AllowMultipleToken");function ps(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r="Platform: ".concat(t),i=new Oe(r);return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=ys();if(!o||o.injector.get(vs,!1))if(e)e(n.concat(t).concat({provide:i,useValue:!0}));else{var a=n.concat(t).concat({provide:i,useValue:!0},{provide:Ai,useValue:"platform"});!function(e){if(us&&!us.destroyed&&!us.injector.get(vs,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");us=e.get(_s);var t=e.get(Fa,null);t&&t.forEach((function(e){return e()}))}(zi.create({providers:a,name:r}))}return function(e){var t=ys();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(i)}}function ys(){return us&&!us.destroyed?us:null}var _s=function(){var e=function(){function e(t){_classCallCheck(this,e),this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return _createClass(e,[{key:"bootstrapModuleFactory",value:function(e,t){var n,r,i=this,o=(n=t?t.ngZone:void 0,r=t&&t.ngZoneEventCoalescing||!1,"noop"===n?new ls:("zone.js"===n?void 0:n)||new ts({enableLongStackTrace:jn(),shouldCoalesceEventChangeDetection:r})),a=[{provide:ts,useValue:o}];return o.run((function(){var t=zi.create({providers:a,parent:i.injector,name:e.moduleType.name}),n=e.create(t),r=n.injector.get(Dn,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy((function(){return bs(i._modules,n)})),o.runOutsideAngular((function(){return o.onError.subscribe({next:function(e){r.handleError(e)}})})),function(e,t,r){try{var o=((a=n.injector.get(Na)).runInitializers(),a.donePromise.then((function(){return ya(n.injector.get(za,"en-US")||"en-US"),i._moduleDoBootstrap(n),n})));return uo(o)?o.catch((function(n){throw t.runOutsideAngular((function(){return e.handleError(n)})),n})):o}catch(s){throw t.runOutsideAngular((function(){return e.handleError(s)})),s}var a}(r,o)}))}},{key:"bootstrapModule",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=ms({},n);return ds(this.injector,r,e).then((function(e){return t.bootstrapModuleFactory(e,r)}))}},{key:"_moduleDoBootstrap",value:function(e){var t=e.injector.get(ks);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach((function(e){return t.bootstrap(e)}));else{if(!e.instance.ngDoBootstrap)throw new Error("The module ".concat(he(e.instance.constructor),' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. ')+"Please define one of these.");e.instance.ngDoBootstrap(t)}this._modules.push(e)}},{key:"onDestroy",value:function(e){this._destroyListeners.push(e)}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach((function(e){return e.destroy()})),this._destroyListeners.forEach((function(e){return e()})),this._destroyed=!0}},{key:"injector",get:function(){return this._injector}},{key:"destroyed",get:function(){return this._destroyed}}]),e}();return e.\u0275fac=function(t){return new(t||e)(He(zi))},e.\u0275prov=ne({token:e,factory:e.\u0275fac}),e}();function ms(e,t){return Array.isArray(t)?t.reduce(ms,e):Object.assign(Object.assign({},e),t)}var gs,ks=((gs=function(){function e(t,n,r,i,o,a){var s=this;_classCallCheck(this,e),this._zone=t,this._console=n,this._injector=r,this._exceptionHandler=i,this._componentFactoryResolver=o,this._initStatus=a,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=jn(),this._zone.onMicrotaskEmpty.subscribe({next:function(){s._zone.run((function(){s.tick()}))}});var u=new k((function(e){s._stable=s._zone.isStable&&!s._zone.hasPendingMacrotasks&&!s._zone.hasPendingMicrotasks,s._zone.runOutsideAngular((function(){e.next(s._stable),e.complete()}))})),l=new k((function(e){var t;s._zone.runOutsideAngular((function(){t=s._zone.onStable.subscribe((function(){ts.assertNotInAngularZone(),es((function(){s._stable||s._zone.hasPendingMacrotasks||s._zone.hasPendingMicrotasks||(s._stable=!0,e.next(!0))}))}))}));var n=s._zone.onUnstable.subscribe((function(){ts.assertInAngularZone(),s._stable&&(s._stable=!1,s._zone.runOutsideAngular((function(){e.next(!1)})))}));return function(){t.unsubscribe(),n.unsubscribe()}}));this.isStable=function(){for(var e=arguments.length,t=new Array(e),n=0;n1&&"number"==typeof t[t.length-1]&&(i=t.pop())):"number"==typeof a&&(i=t.pop()),null===o&&1===t.length&&t[0]instanceof k?t[0]:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof n?function(i){return i.pipe(e((function(e,r){return(i=t(e,r),i instanceof k?i:new k(P(i))).pipe(R((function(t,i){return n(e,t,r,i)})));var i}),r))}:("number"==typeof n&&(r=n),function(e){return e.lift(new M(t,r))})}(F,e)}(i)(function(e,t){return t?function(e,t){return new k((function(n){var r=new h,i=0;return r.add(t.schedule((function(){i!==e.length?(n.next(e[i++]),n.closed||r.add(this.schedule())):n.complete()}))),r}))}(e,t):new k(A(e))}(t,o))}(u,l.pipe(W()))}return _createClass(e,[{key:"bootstrap",value:function(e,t){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof Oo?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var i=n.isBoundToModule?void 0:this._injector.get(Ze),o=n.create(zi.NULL,[],t||n.selector,i);o.onDestroy((function(){r._unloadComponent(o)}));var a=o.injector.get(cs,null);return a&&o.injector.get(fs).registerApplication(o.location.nativeElement,a),this._loadComponent(o),jn()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o}},{key:"tick",value:function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var t=!0,n=!1,r=void 0;try{for(var i,o=this._views[Symbol.iterator]();!(t=(i=o.next()).done);t=!0)i.value.detectChanges()}catch(f){n=!0,r=f}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}if(this._enforceNoNewChanges){var a=!0,s=!1,u=void 0;try{for(var l,c=this._views[Symbol.iterator]();!(a=(l=c.next()).done);a=!0)l.value.checkNoChanges()}catch(f){s=!0,u=f}finally{try{a||null==c.return||c.return()}finally{if(s)throw u}}}}catch(h){this._zone.runOutsideAngular((function(){return e._exceptionHandler.handleError(h)}))}finally{this._runningTick=!1}}},{key:"attachView",value:function(e){var t=e;this._views.push(t),t.attachToAppRef(this)}},{key:"detachView",value:function(e){var t=e;bs(this._views,t),t.detachFromAppRef()}},{key:"_loadComponent",value:function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(La,[]).concat(this._bootstrapListeners).forEach((function(t){return t(e)}))}},{key:"_unloadComponent",value:function(e){this.detachView(e.hostView),bs(this.components,e)}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach((function(e){return e.destroy()}))}},{key:"viewCount",get:function(){return this._views.length}}]),e}()).\u0275fac=function(e){return new(e||gs)(He(ts),He(Ba),He(zi),He(Dn),He(Do),He(Na))},gs.\u0275prov=ne({token:gs,factory:gs.\u0275fac}),gs);function bs(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var ws=ps(null,"core",[{provide:Ha,useValue:"unknown"},{provide:_s,deps:[zi]},{provide:fs,deps:[]},{provide:Ba,deps:[]}]),Cs=[{provide:ks,useClass:ks,deps:[ts,Ba,zi,Dn,Do,Na]},{provide:ua,deps:[ts],useFactory:function(e){var t=[];return e.onStable.subscribe((function(){for(;t.length;)t.pop()()})),function(e){t.push(e)}}},{provide:Na,useClass:Na,deps:[[new J,Ra]]},{provide:$a,useClass:$a,deps:[]},Ma,{provide:Jo,useFactory:function(){return Xo},deps:[]},{provide:$o,useFactory:function(){return ea},deps:[]},{provide:za,useFactory:function(e){return ya(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new G(za),new J,new Y]]},{provide:Za,useValue:"USD"}],xs=function(){var e=function e(t){_classCallCheck(this,e)};return e.\u0275mod=ot({type:e}),e.\u0275inj=re({factory:function(t){return new(t||e)(He(ks))},providers:Cs}),e}(),Es=null;function Ts(){return Es}var Ss,Is,As,Os,Ps,Ds,Rs,Ns,js,Ms=new Oe("DocumentToken"),Vs=function(){var e={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return e[e.Zero]="Zero",e[e.One]="One",e[e.Two]="Two",e[e.Few]="Few",e[e.Many]="Many",e[e.Other]="Other",e}(),Fs=function e(){_classCallCheck(this,e)},Hs=((Ss=function(e){function t(e){var n;return _classCallCheck(this,t),(n=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))).locale=e,n}return _inherits(t,e),_createClass(t,[{key:"getPluralCategory",value:function(e,t){switch(function(e){return function(e){var t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e),n=va(t);if(n)return n;var r=t.split("-")[0];if(n=va(r))return n;if("en"===r)return ha;throw new Error('Missing locale data for the locale "'.concat(e,'".'))}(e)[pa.PluralCase]}(t||this.locale)(e)){case Vs.Zero:return"zero";case Vs.One:return"one";case Vs.Two:return"two";case Vs.Few:return"few";case Vs.Many:return"many";default:return"other"}}}]),t}(Fs)).\u0275fac=function(e){return new(e||Ss)(He(za))},Ss.\u0275prov=ne({token:Ss,factory:Ss.\u0275fac}),Ss),Ls=function(){function e(t,n,r,i){_classCallCheck(this,e),this.$implicit=t,this.ngForOf=n,this.index=r,this.count=i}return _createClass(e,[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return!this.even}}]),e}(),Bs=((Is=function(){function e(t,n,r){_classCallCheck(this,e),this._viewContainer=t,this._template=n,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return _createClass(e,[{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(r){throw new Error("Cannot find a differ supporting object '".concat(e,"' of type '").concat((t=e).name||typeof t,"'. NgFor only supports binding to Iterables such as Arrays."))}}var t;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}},{key:"_applyChanges",value:function(e){var t=this,n=[];e.forEachOperation((function(e,r,i){if(null==e.previousIndex){var o=t._viewContainer.createEmbeddedView(t._template,new Ls(null,t._ngForOf,-1,-1),null===i?void 0:i),a=new zs(e,o);n.push(a)}else if(null==i)t._viewContainer.remove(null===r?void 0:r);else if(null!==r){var s=t._viewContainer.get(r);t._viewContainer.move(s,i);var u=new zs(e,s);n.push(u)}}));for(var r=0;r1&&void 0!==arguments[1])||arguments[1],r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},we.getAllAngularTestabilities=function(){return e.getAllTestabilities()},we.getAllAngularRootElements=function(){return e.getAllRootElements()},we.frameworkStabilizers||(we.frameworkStabilizers=[]),we.frameworkStabilizers.push((function(e){var t=we.getAllAngularTestabilities(),n=t.length,r=!1,i=function(t){r=r||t,0==--n&&e(r)};t.forEach((function(e){e.whenStable(i)}))}))}},{key:"findTestabilityInTree",value:function(e,t,n){if(null==t)return null;var r=e.getTestability(t);return null!=r?r:n?Ts().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}],[{key:"init",value:function(){var t;t=new e,hs=t}}]),e}(),Js=new Oe("EventManagerPlugins"),$s=((Rs=function(){function e(t,n){var r=this;_classCallCheck(this,e),this._zone=n,this._eventNameToPlugin=new Map,t.forEach((function(e){return e.manager=r})),this._plugins=t.slice().reverse()}return _createClass(e,[{key:"addEventListener",value:function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}},{key:"addGlobalEventListener",value:function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,r=0;r-1&&(n.splice(t,1),o+=e+".")})),o+=i,0!=n.length||0===i.length)return null;var a={};return a.domEventName=r,a.fullKey=o,a}},{key:"getEventFullKey",value:function(e){var t="",n=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&yu.hasOwnProperty(t)&&(t=yu[t]))}return pu[t]||t}(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),vu.forEach((function(r){r!=n&&(0,_u[r])(e)&&(t+=r+".")})),t+=n}},{key:"eventCallback",value:function(e,n,r){return function(i){t.getEventFullKey(i)===e&&r.runGuarded((function(){return n(i)}))}}},{key:"_normalizeKey",value:function(e){switch(e){case"esc":return"escape";default:return e}}}]),t}(Ys)).\u0275fac=function(e){return new(e||su)(He(Ms))},su.\u0275prov=ne({token:su,factory:su.\u0275fac}),su),gu=ps(ws,"browser",[{provide:Ha,useValue:"browser"},{provide:Fa,useValue:function(){Us.makeCurrent(),Gs.init()},multi:!0},{provide:Ms,useFactory:function(){return function(e){$t=e}(document),document},deps:[]}]),ku=[[],{provide:Ai,useValue:"root"},{provide:Dn,useFactory:function(){return new Dn},deps:[]},{provide:Js,useClass:du,multi:!0,deps:[Ms,ts,Ha]},{provide:Js,useClass:mu,multi:!0,deps:[Ms]},[],{provide:lu,useClass:lu,deps:[$s,eu,ja]},{provide:jo,useExisting:lu},{provide:Xs,useExisting:eu},{provide:eu,useClass:eu,deps:[Ms]},{provide:cs,useClass:cs,deps:[ts]},{provide:$s,useClass:$s,deps:[Js,ts]},[]],bu=((uu=function(){function e(t){if(_classCallCheck(this,e),t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return _createClass(e,null,[{key:"withServerTransition",value:function(t){return{ngModule:e,providers:[{provide:ja,useValue:t.appId},{provide:Qs,useExisting:ja},Ks]}}}]),e}()).\u0275mod=ot({type:uu}),uu.\u0275inj=re({factory:function(e){return new(e||uu)(He(uu,12))},providers:ku,imports:[qs,xs]}),uu);"undefined"!=typeof window&&window;var wu=function(e){function t(e,n){var r;return _classCallCheck(this,t),(r=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,n))).scheduler=e,r.work=n,r.pending=!1,r}return _inherits(t,e),_createClass(t,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=e;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this}},{key:"requestAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(e.flush.bind(e,this),n)}},{key:"recycleAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}},{key:"execute",value:function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(e,t){var n=!1,r=void 0;try{this.work(e)}catch(i){n=!0,r=!!i&&i||new Error(i)}if(n)return this.unsubscribe(),r}},{key:"_unsubscribe",value:function(){var e=this.id,t=this.scheduler,n=t.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}]),t}(function(e){function t(e,n){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))}return _inherits(t,e),_createClass(t,[{key:"schedule",value:function(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this}}]),t}(h)),Cu=function(){var e=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.now;_classCallCheck(this,e),this.SchedulerAction=t,this.now=n}return _createClass(e,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,e).schedule(n,t)}}]),e}();return e.now=function(){return Date.now()},e}(),xu=new(function(e){function t(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Cu.now;return _classCallCheck(this,t),(n=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,(function(){return t.delegate&&t.delegate!==_assertThisInitialized(n)?t.delegate.now():r()})))).actions=[],n.active=!1,n.scheduled=void 0,n}return _inherits(t,e),_createClass(t,[{key:"schedule",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2?arguments[2]:void 0;return t.delegate&&t.delegate!==this?t.delegate.schedule(e,n,r):_get(_getPrototypeOf(t.prototype),"schedule",this).call(this,e,n,r)}},{key:"flush",value:function(e){var t=this.actions;if(this.active)t.push(e);else{var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}}]),t}(Cu))(wu),Eu=function(){function e(t,n){_classCallCheck(this,e),this.dueTime=t,this.scheduler=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Tu(e,this.dueTime,this.scheduler))}}]),e}(),Tu=function(e){function t(e,n,r){var i;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))).dueTime=n,i.scheduler=r,i.debouncedSubscription=null,i.lastValue=null,i.hasValue=!1,i}return _inherits(t,e),_createClass(t,[{key:"_next",value:function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(Su,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var e=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}},{key:"clearDebounce",value:function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}]),t}(p);function Su(e){e.debouncedNext()}function Iu(e,t){return function(n){return n.lift(new Ou(e,t))}}var Au,Ou=function(){function e(t,n){_classCallCheck(this,e),this.predicate=t,this.thisArg=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Pu(e,this.predicate,this.thisArg))}}]),e}(),Pu=function(e){function t(e,n,r){var i;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))).predicate=n,i.thisArg=r,i.count=0,i}return _inherits(t,e),_createClass(t,[{key:"_next",value:function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}]),t}(p);try{Au="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(Yl){Au=!1}var Du,Ru=((Du=function e(t){_classCallCheck(this,e),this._platformId=t,this.isBrowser=this._platformId?"browser"===this._platformId:"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Au)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}).\u0275fac=function(e){return new(e||Du)(He(Ha,8))},Du.\u0275prov=ne({factory:function(){return new Du(He(Ha,8))},token:Du,providedIn:"root"}),Du);"undefined"!=typeof Element&∈var Nu,ju,Mu=((ju=function(){function e(t,n){_classCallCheck(this,e),this._platform=t,this._document=n}return _createClass(e,[{key:"getHighContrastMode",value:function(){if(!this._platform.isBrowser)return 0;var e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);var t=(this._document.defaultView.getComputedStyle(e).backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(e),t){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}},{key:"_applyBodyHighContrastModeCssClasses",value:function(){if(this._platform.isBrowser&&this._document.body){var e=this._document.body.classList;e.remove("cdk-high-contrast-active"),e.remove("cdk-high-contrast-black-on-white"),e.remove("cdk-high-contrast-white-on-black");var t=this.getHighContrastMode();1===t?(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-black-on-white")):2===t&&(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-white-on-black"))}}}]),e}()).\u0275fac=function(e){return new(e||ju)(He(Ru),He(Ms))},ju.\u0275prov=ne({factory:function(){return new ju(He(Ru),He(Ms))},token:ju,providedIn:"root"}),ju),Vu=((Nu=function e(){_classCallCheck(this,e)}).\u0275mod=ot({type:Nu}),Nu.\u0275inj=re({factory:function(e){return new(e||Nu)}}),Nu),Fu=new Fo("9.1.2");var Hu=function(e,t){return!1},Lu="undefined"!=typeof process&&"[object process]"==={}.toString.call(process);(Lu||"undefined"!=typeof Element)&&(Hu=function(){if(Lu||Element.prototype.matches)return function(e,t){return e.matches(t)};var e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?function(e,n){return t.apply(e,[n])}:Hu}());var Bu,zu=new Oe("AnimationModuleType"),Zu=new Fo("9.1.2"),qu=new Oe("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),Uu=((Bu=function(){function e(t,n){_classCallCheck(this,e),this._hasDoneGlobalChecks=!1,this._document="object"==typeof document&&document?document:null,this._window="object"==typeof window&&window?window:null,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=n,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}return _createClass(e,[{key:"_checksAreEnabled",value:function(){return jn()&&!this._isTestEnv()}},{key:"_isTestEnv",value:function(){var e=this._window;return e&&(e.__karma__||e.jasmine)}},{key:"_checkDoctypeIsDefined",value:function(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype)&&this._document&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}},{key:"_checkThemeIsPresent",value:function(){if(this._checksAreEnabled()&&!1!==this._sanityChecks&&this._sanityChecks.theme&&this._document&&this._document.body&&"function"==typeof getComputedStyle){var e=this._document.createElement("div");e.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(e);var t=getComputedStyle(e);t&&"none"!==t.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(e)}}},{key:"_checkCdkVersionMatch",value:function(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&Zu.full!==Fu.full&&console.warn("The Angular Material version ("+Zu.full+") does not match the Angular CDK version ("+Fu.full+").\nPlease ensure the versions of these two packages exactly match.")}}]),e}()).\u0275mod=ot({type:Bu}),Bu.\u0275inj=re({factory:function(e){return new(e||Bu)(He(Mu),He(qu,8))},imports:[[Vu],Vu]}),Bu);try{"undefined"!=typeof Intl}catch(Yl){!1}var Wu,Qu,Ku,Gu,Ju=["*",[["mat-toolbar-row"]]],$u=["*","mat-toolbar-row"],Yu=function(e){function t(){var e,n;_classCallCheck(this,t);for(var r=arguments.length,i=new Array(r),o=0;o` elements explicitly or just place content inside of a `` for a single row.")}()}}]),t}(Yu)).\u0275fac=function(e){return new(e||Ku)(no(Ro),no(Ru),no(Ms))},Ku.\u0275cmp=tt({type:Ku,selectors:[["mat-toolbar"]],contentQueries:function(e,t,n){var r,i,o,a,s;1&e&&(a=n,s=Xu,function(e,t,n,r,i,o,a,s){e.firstCreatePass&&(function(e,t,n){null===e.queries&&(e.queries=new Sa),e.queries.track(new Ia(t,n))}(e,new Ta(n,!0,!1,void 0),a.index),function(e,t){var n=e.contentQueries||(e.contentQueries=[]);t!==(e.contentQueries.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(e,s)),function(e,t){var n=new Ca;!function(e,t,n,r){var i=Gr(t);i.push(n),e.firstCreatePass&&Jr(e).push(r,i.length-1)}(e,t,n,n.destroy),null===t[5]&&(t[5]=new Ea),t[5].queries.push(new xa(n))}(e,t)}(bt(),kt(),s,0,0,0,wt(),a)),2&e&&function(e){var t=kt(),n=bt(),r=Rt();Nt(r+1);var i=Da(n,r);if(e.dirty&&zn(t)===i.metadata.isStatic){if(null===i.matches)e.reset([]);else{var o=i.crossesNgTemplate?function e(t,n,r,i){var o=t.queries.getByIndex(r),a=o.matches;if(null!==a)for(var s=Pa(t,n,o,r),u=0;u0)i.push(s[u/2]);else{for(var c=a[u+1],f=n[-l],h=9;h0)("mat-toolbar-single-row",0===t._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[Eo],ngContentSelectors:$u,decls:2,vars:0,template:function(e,t){1&e&&(co(Ju),fo(0),fo(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}\n"],encapsulation:2,changeDetection:0}),Ku),tl=((Qu=function e(){_classCallCheck(this,e)}).\u0275mod=ot({type:Qu}),Qu.\u0275inj=re({factory:function(e){return new(e||Qu)},imports:[[Uu],Uu]}),Qu);function nl(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function rl(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}var il,ol,al=new Oe("NgxLocalstorageConfiguration"),sl=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"serialize",value:function(e){return JSON.stringify(e)}},{key:"deserialize",value:function(e){return JSON.parse(e)}}]),e}(),ul=new Oe("StorageSerializer"),ll=((il=function(){function e(t){if(_classCallCheck(this,e),t)throw new Error("NgxLocalStorageModule is already loaded. Import it in the AppModule only")}return _createClass(e,null,[{key:"forRoot",value:function(t){return{ngModule:e,providers:[{provide:al,useValue:t}]}}}]),e}()).\u0275mod=ot({type:il}),il.\u0275inj=re({factory:function(e){return new(e||il)(He(il,12))},providers:[{provide:ul,useClass:sl}],imports:[[]]}),il),cl=function(e,t,n,r){for(var i=e.length-1,o=0;o1?Array.prototype.slice.call(arguments):e)}),r,n)}))}var ml,gl,kl=((gl=function(){function e(){var t=this;_classCallCheck(this,e),this._eventStream=new yl(null),this.subscription=_l(window,"storage").subscribe((function(e){return t._eventStream.next(e)}))}return _createClass(e,[{key:"ngOnDestroy",value:function(){this.subscription&&!this.subscription.closed&&this.subscription.unsubscribe()}},{key:"stream",get:function(){return this._eventStream.asObservable().pipe(Iu((function(e){return!!e})),W())}}]),e}()).\u0275fac=function(e){return new(e||gl)},gl.\u0275prov=ne({token:gl,factory:gl.\u0275fac,providedIn:"root"}),gl),bl=((ml=function(){function e(t,n,r){var i=this;_classCallCheck(this,e),this.er=t,this.lss=n,this.es=r,this.lsDebounce=0,this.lsInitFromStorage=!1,this.lsStoredValue=new ba,this._valuePath=[],this.es.stream.pipe(Iu((function(e){return e.key&&e.key.indexOf(i.lsKey)>=0}))).subscribe((function(e){cl(i._valuePath.length?i._valuePath:["value"],e.newValue,i.er.nativeElement,i.lsFalsyTransformer)}))}return _createClass(e,[{key:"ngAfterViewInit",value:function(){this._initKey(),this._initFromStorage(),this._hookEvent()}},{key:"_initKey",value:function(){if(!this.lsKey){if(!this.er.nativeElement.id&&!this.er.nativeElement.name)throw new Error("No key or element id or name supplied!");this.lsKey=this.er.nativeElement.id||this.er.nativeElement.name}}},{key:"_hookEvent",value:function(){var e=this;this.lsEvent&&(this._eventSubscription=_l(this.er.nativeElement,this.lsEvent).pipe(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:xu;return function(n){return n.lift(new Eu(e,t))}}(this.lsDebounce)).subscribe((function(){var t,n;e.lss.asPromisable().set(e.lsKey,(t=e._valuePath.length?e._valuePath:["value"],n=e.er.nativeElement,t.reduce((function(e,t){return e?e[t]:null}),n)),e.lsPrefix).then((function(){e.lss.asPromisable().get(e.lsKey,e.lsPrefix).then((function(t){e.lsStoredValue.emit(t)})).catch((function(e){return console.error(e)}))})).catch((function(e){return console.error(e)}))})))}},{key:"_initFromStorage",value:function(){var e=this;this.lsInitFromStorage&&this.lss.asPromisable().get(this.lsKey,this.lsPrefix).then((function(t){cl(e._valuePath.length?e._valuePath:["value"],t,e.er.nativeElement,e.lsFalsyTransformer)})).catch((function(e){return console.error(e)}))}},{key:"ngOnDestroy",value:function(){this._eventSubscription&&!this._eventSubscription.closed&&this._eventSubscription.unsubscribe()}},{key:"lsValuePath",set:function(e){this._valuePath=null!=e?Array.isArray(e)?e:e.split(","):[]}}]),e}()).\u0275fac=function(e){return new(e||ml)(no(Ro),no(pl),no(kl))},ml.\u0275dir=st({type:ml,selectors:[["","ngxLocalStorage",""]],inputs:{lsKey:["ngxLocalStorage","lsKey"],lsPrefix:"lsPrefix",lsEvent:"lsEvent",lsDebounce:"lsDebounce",lsInitFromStorage:"lsInitFromStorage",lsFalsyTransformer:"lsFalsyTransformer",lsValuePath:"lsValuePath"},outputs:{lsStoredValue:"lsStoredValue"}}),ml);function wl(e){return function(t,n){var r=e&&e.key?e.key:n,i=e&&e.prefix?e.prefix:null,o=new pl(new sl,{prefix:i});(new kl).stream.pipe(Iu((function(e){return e.key&&e.key.indexOf(fl(r,i))>=0}))).subscribe((function(r){r.newValue&&"string"==typeof r.newValue&&(t[n]="null"!==r.newValue?r.newValue:e.nullTransformer?e.nullTransformer():null)})),Object.defineProperty(t,n,{get:function(){var t=o.get(r,i);return null==t&&e.nullTransformer?e.nullTransformer():t},set:function(e){o.set(r,e,i)}})}}var Cl,xl,El,Tl,Sl,Il,Al,Ol=["*",[["mat-card-footer"]]],Pl=["*","mat-card-footer"],Dl=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],Rl=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],Nl=((Sl=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||Sl)},Sl.\u0275dir=st({type:Sl,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),Sl),jl=((Tl=function e(t){_classCallCheck(this,e),this._animationMode=t}).\u0275fac=function(e){return new(e||Tl)(no(zu,8))},Tl.\u0275cmp=tt({type:Tl,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(e,t){2&e&&yo("_mat-animation-noopable","NoopAnimations"===t._animationMode)},exportAs:["matCard"],ngContentSelectors:Pl,decls:2,vars:0,template:function(e,t){1&e&&(co(Ol),fo(0),fo(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child,.mat-card-actions .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),Tl),Ml=((El=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||El)},El.\u0275cmp=tt({type:El,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:Rl,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(e,t){1&e&&(co(Dl),fo(0),oo(1,"div",0),fo(2,1),ao(),fo(3,2))},encapsulation:2,changeDetection:0}),El),Vl=((xl=function e(){_classCallCheck(this,e)}).\u0275mod=ot({type:xl}),xl.\u0275inj=re({factory:function(e){return new(e||xl)},imports:[[Uu],Uu]}),xl),Fl=((Cl=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||Cl)},Cl.\u0275cmp=tt({type:Cl,selectors:[["app-decorator"]],decls:23,vars:2,consts:[[1,"demo-card"],[1,"mat-title"],[1,"demo-card__content"],[1,"mat-body-2"],[1,"demo-card__content__description","mat-subheading-2"]],template:function(e,t){1&e&&(oo(0,"mat-card",0),oo(1,"mat-card-header",1),bo(2," Decorator "),ao(),oo(3,"mat-card-content",2),oo(4,"p",3),bo(5,"Code inside component:"),ao(),oo(6,"code"),bo(7," @ngxLocalStorage({key: 'cbox1', nullTransformer: () => false})"),so(8,"br"),bo(9," boundBoolean: boolean;"),so(10,"br"),so(11,"br"),bo(12," @ngxLocalStorage({key: 'txt1', prefix: 'demo'})"),so(13,"br"),bo(14," boundText: string; "),ao(),oo(15,"p",3),bo(16,"Result:"),ao(),oo(17,"code"),bo(18),so(19,"br"),bo(20),ao(),oo(21,"p",4),bo(22," Using this property decorator will init the property value from the localstorage. The storage key is either resolved by the given key or using the propery name. "),ao(),ao(),ao()),2&e&&(sr(18),wo(" boundBoolean: ",t.boundBoolean,""),sr(2),wo(" boundText: ",t.boundText," "))},directives:[jl,Ml,Nl],styles:[".demo-card__content[_ngcontent-%COMP%]{margin:1em 2em}.demo-card__content__description[_ngcontent-%COMP%]{margin:1em 0 0 -1em}"]}),nl([wl({key:"cbox1",nullTransformer:function(){return!1}}),rl("design:type",Boolean)],Cl.prototype,"boundBoolean",void 0),nl([wl({key:"txt1",prefix:"demo"}),rl("design:type",String)],Cl.prototype,"boundText",void 0),Cl),Hl=function(){return["checked"]},Ll=function(){return["value"]},Bl=((Al=function e(){_classCallCheck(this,e),this.defaultFalsyTransformer=function(){return!1}}).\u0275fac=function(e){return new(e||Al)},Al.\u0275cmp=tt({type:Al,selectors:[["app-directive"]],decls:30,vars:5,consts:[[1,"demo-card"],[1,"mat-title"],[1,"demo-card__content"],[1,"mat-body-2"],[1,"demo-card__content__code-sample"],["type","checkbox","id","cbox1","ngxLocalStorage","","lsInitFromStorage","true","lsEvent","change",3,"lsValuePath","lsFalsyTransformer"],["for","cbox1"],["for","txt1"],["type","text","id","txt1","ngxLocalStorage","","lsPrefix","demo","lsInitFromStorage","true","lsEvent","input",3,"lsValuePath"],[1,"demo-card__content__description","mat-subheading-2"]],template:function(e,t){1&e&&(oo(0,"mat-card",0),oo(1,"mat-card-header",1),bo(2," Directive "),ao(),oo(3,"mat-card-content",2),oo(4,"p",3),bo(5,"Code inside component template:"),ao(),oo(6,"code",4),bo(7,' '),so(8,"br"),bo(9,' '),so(10,"br"),so(11,"br"),bo(12,' '),so(13,"br"),bo(14,' '),ao(),oo(15,"p",3),bo(16,"Code inside component:"),ao(),oo(17,"code"),bo(18," defaultFalsyTransformer: () => any = () => false; "),ao(),oo(19,"p",3),bo(20,"Result:"),ao(),so(21,"input",5),oo(22,"label",6),bo(23,"Checkbox"),ao(),so(24,"br"),oo(25,"label",7),bo(26,"Text"),ao(),so(27,"input",8),oo(28,"p",9),bo(29," Using the 'ngxLocalStorage' directive you can bind template controls to localstorage values. "),ao(),ao(),ao()),2&e&&(sr(21),ro("lsValuePath",ka(3,Hl))("lsFalsyTransformer",t.defaultFalsyTransformer),sr(6),ro("lsValuePath",ka(4,Ll)))},directives:[jl,Ml,Nl,bl],styles:[".demo-card__content[_ngcontent-%COMP%]{margin:1em 2em}.demo-card__content__description[_ngcontent-%COMP%]{margin:1em 0 0 -1em}"]}),Al),zl=((Il=function(){function e(t){_classCallCheck(this,e),this.lss=t,this.entryCount=0,this.lss.set("demo-key",{id:1,name:"John Doe"})}return _createClass(e,[{key:"ngOnInit",value:function(){this.entryCount=this.lss.count(),this.storedObject=this.lss.get("demo-key")}}]),e}()).\u0275fac=function(e){return new(e||Il)(no(pl))},Il.\u0275cmp=tt({type:Il,selectors:[["app-storage-service"]],decls:39,vars:4,consts:[[1,"demo-card"],[1,"mat-title"],[1,"demo-card__content"],[1,"mat-body-2"]],template:function(e,t){var n,r,i;1&e&&(oo(0,"mat-card",0),oo(1,"mat-card-header",1),bo(2," LocalStorageService "),ao(),oo(3,"mat-card-content",2),oo(4,"p",3),bo(5,"Code inside component:"),ao(),oo(6,"code"),bo(7," entryCount: number = 0;"),so(8,"br"),so(9,"br"),bo(10," constructor(private lss: LocalStorageService) { }"),so(11,"br"),so(12,"br"),bo(13," ngOnInit() {"),so(14,"br"),bo(15," this.entryCount = this.lss.count()"),so(16,"br"),bo(17," } "),ao(),oo(18,"p",3),bo(19,"Result:"),ao(),oo(20,"code"),bo(21),ao(),oo(22,"p",3),bo(23,"Store values using the service:"),ao(),oo(24,"code"),bo(25," constructor(private lss: LocalStorageService) {"),so(26,"br"),bo(27," this.lss.set('demo-key', { id: 1, name: 'John Doe' })"),so(28,"br"),bo(29," } "),ao(),oo(30,"p",3),bo(31,"Read values using the service:"),ao(),oo(32,"code"),bo(33," this.lss.get('demo-key') as { id: number; name: string; }; "),ao(),oo(34,"pre"),bo(35),function(e,t){var n,r=bt();r.firstCreatePass?(n=function(e,t){if(t)for(var n=t.length-1;n>=0;n--){var r=t[n];if("json"===r.name)return r}throw new Error("The pipe 'json' could not be found!")}(0,r.pipeRegistry),r.data[55]=n,n.onDestroy&&(r.destroyHooks||(r.destroyHooks=[])).push(55,n.onDestroy)):n=r.data[55];var i=n.factory||(n.factory=lt(n.type)),o=Ve(no),a=i();Ve(o),function(e,t,n,r){55>=e.data.length&&(e.data[55]=null,e.blueprint[55]=null),t[55]=r}(r,kt(),0,a)}(),ao(),oo(37,"p",3),bo(38,"Result:"),ao(),ao(),ao()),2&e&&(sr(21),wo(" entryCount: ",t.entryCount," "),sr(14),wo(" ",(n=t.storedObject,r=kt(),i=r[55],function(e,t){return Ji.isWrapped(t)&&(t=Ji.unwrap(t),e[At()]=or),t}(r,function(e,t){return e[1].data[55].pure}(r)?function(e,t,n,r,i,o){var a=t+2;return to(e,a,i)?Xi(e,a+1,o?r.call(o,i):r(i)):eo(e,a+1)}(r,It(),0,i.transform,n,i):i.transform(n))),"\n "))},directives:[jl,Ml,Nl],pipes:[Zs],styles:[".demo-card__content[_ngcontent-%COMP%]{margin:1em 2em}.demo-card__content__description[_ngcontent-%COMP%]{margin:1em 0 0 -1em}"]}),Il);function Zl(e,t){if(1&e&&(oo(0,"p"),bo(1),ao()),2&e){var n=t.$implicit;sr(1),Co(' { "key": "',n.key,'"; "oldValue": "',n.oldValue,'"; "newValue": "',n.newValue,'" } ')}}var ql,Ul,Wl,Ql,Kl=((Ql=function e(t){var n=this;_classCallCheck(this,e),this.es=t,this.$events=[],this.es.stream.subscribe((function(e){n.$events=[].concat(_toConsumableArray(n.$events),[e]),console.log("events: ",n.$events)}))}).\u0275fac=function(e){return new(e||Ql)(no(kl))},Ql.\u0275cmp=tt({type:Ql,selectors:[["app-event-service"]],decls:22,vars:1,consts:[[1,"demo-card"],[1,"mat-title"],[1,"demo-card__content"],[1,"mat-body-2"],[1,"demo-card__content__code-sample"],[4,"ngFor","ngForOf"],[1,"demo-card__content__description","mat-subheading-2"]],template:function(e,t){1&e&&(oo(0,"mat-card",0),oo(1,"mat-card-header",1),bo(2," EventServiceComponent "),ao(),oo(3,"mat-card-content",2),oo(4,"p",3),bo(5,"Code inside component:"),ao(),oo(6,"code",4),bo(7," $events: StorageEvent[] = [];"),so(8,"br"),so(9,"br"),bo(10," constructor(private es: StorageEventService) {"),so(11,"br"),bo(12," this.es.stream"),so(13,"br"),bo(14," .subscribe(e => this.$events = [...this.$events, e]);"),so(15,"br"),bo(16," } "),ao(),oo(17,"p",3),bo(18,"Result (modify text or checkbox in another tab):"),ao(),function(e,t,n,r,i,o,a,s){var u=kt(),l=bt(),c=l.firstCreatePass?function(e,t,n,r,i,o,a,s,u){var l=t.consts,c=mr(t,n[6],19,0,"p",qn(l,5));Ir(t,n,c,qn(l,void 0)),qt(t,c);var f=c.tViews=Er(2,-1,r,2,3,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l),h=Tr(0,null,2,-1,null,null);return h.injectorIndex=c.injectorIndex,f.node=h,null!==t.queries&&(t.queries.template(t,c),f.queries=t.queries.embeddedTView(c)),c}(0,l,u,t):l.data[38];Ct(c,!1);var f=u[11].createComment("");vi(l,u,f,c),Wn(f,u),qr(u,u[38]=Lr(f,u,f,c)),pt(c)&&Cr(l,u,c)}(0,Zl),oo(20,"p",6),bo(21," Using the 'EventServiceComponent' to receive a stream of storage events. "),ao(),ao(),ao()),2&e&&(sr(19),ro("ngForOf",t.$events))},directives:[jl,Ml,Nl,Bs],styles:[".demo-card__content[_ngcontent-%COMP%]{margin:1em 2em}.demo-card__content__description[_ngcontent-%COMP%]{margin:1em 0 0 -1em}"]}),Ql),Gl=((Wl=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||Wl)},Wl.\u0275cmp=tt({type:Wl,selectors:[["app-root"]],decls:8,vars:0,consts:[[1,"app"],["color","primary",1,"app__toolbar"],[1,"app__content"]],template:function(e,t){1&e&&(oo(0,"div",0),oo(1,"mat-toolbar",1),bo(2," ngx-localstorage "),ao(),oo(3,"div",2),so(4,"app-decorator"),so(5,"app-directive"),so(6,"app-storage-service"),so(7,"app-event-service"),ao(),ao())},directives:[el,Fl,Bl,zl,Kl],styles:['.app[_ngcontent-%COMP%]{display:grid;grid-template-areas:"toolbar" "content";grid-template-rows:auto 1fr;height:100vh}.app__toolbar[_ngcontent-%COMP%]{grid-area:toolbar}.app__content[_ngcontent-%COMP%]{grid-area:content;padding:.5em}.app__content[_ngcontent-%COMP%] mat-card{margin-bottom:.5em}']}),Wl),Jl=((Ul=function e(){_classCallCheck(this,e)}).\u0275mod=ot({type:Ul}),Ul.\u0275inj=re({factory:function(e){return new(e||Ul)},imports:[[qs,Vl,ll.forRoot({})]]}),Ul),$l=((ql=function e(){_classCallCheck(this,e)}).\u0275mod=ot({type:ql,bootstrap:[Gl]}),ql.\u0275inj=re({factory:function(e){return new(e||ql)},providers:[],imports:[[bu,tl,Jl]]}),ql);(function(){if(Nn)throw new Error("Cannot enable prod mode after platform setup.");Rn=!1})(),gu().bootstrapModule($l).catch((function(e){return console.log(e)}))},zn8P:function(e,t){function n(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="zn8P"}},[[0,0]]]); \ No newline at end of file diff --git a/docs/polyfills-es2015.a10e9b53553fb7fe0c7c.js b/docs/polyfills-es2015.a10e9b53553fb7fe0c7c.js deleted file mode 100644 index e4f785b..0000000 --- a/docs/polyfills-es2015.a10e9b53553fb7fe0c7c.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{2:function(e,t,n){e.exports=n("hN/g")},"hN/g":function(e,t,n){"use strict";n.r(t),n("nf2o")},nf2o:function(e,t,n){var o,r;void 0===(r="function"==typeof(o=function(){"use strict";!function(e){const t=e.performance;function n(e){t&&t.mark&&t.mark(e)}function o(e,n){t&&t.measure&&t.measure(e,n)}n("Zone");const r=e.__Zone_symbol_prefix||"__zone_symbol__";function s(e){return r+e}const a=!0===e[s("forceDuplicateZoneCheck")];if(e.Zone){if(a||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}class i{constructor(e,t){this._parent=e,this._name=t?t.name||"unnamed":"",this._properties=t&&t.properties||{},this._zoneDelegate=new l(this,this._parent&&this._parent._zoneDelegate,t)}static assertZonePatched(){if(e.Promise!==z.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let e=i.current;for(;e.parent;)e=e.parent;return e}static get current(){return O.zone}static get currentTask(){return j}static __load_patch(t,r){if(z.hasOwnProperty(t)){if(a)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const s="Zone:"+t;n(s),z[t]=r(e,i,C),o(s,s)}}get parent(){return this._parent}get name(){return this._name}get(e){const t=this.getZoneWith(e);if(t)return t._properties[e]}getZoneWith(e){let t=this;for(;t;){if(t._properties.hasOwnProperty(e))return t;t=t._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const n=this._zoneDelegate.intercept(this,e,t),o=this;return function(){return o.runGuarded(n,this,arguments,t)}}run(e,t,n,o){O={parent:O,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,o)}finally{O=O.parent}}runGuarded(e,t=null,n,o){O={parent:O,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,o)}catch(r){if(this._zoneDelegate.handleError(this,r))throw r}}finally{O=O.parent}}runTask(e,t,n){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||y).name+"; Execution: "+this.name+")");if(e.state===v&&(e.type===P||e.type===D))return;const o=e.state!=E;o&&e._transitionTo(E,b),e.runCount++;const r=j;j=e,O={parent:O,zone:this};try{e.type==D&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(s){if(this._zoneDelegate.handleError(this,s))throw s}}finally{e.state!==v&&e.state!==Z&&(e.type==P||e.data&&e.data.isPeriodic?o&&e._transitionTo(b,E):(e.runCount=0,this._updateTaskCount(e,-1),o&&e._transitionTo(v,E,v))),O=O.parent,j=r}}scheduleTask(e){if(e.zone&&e.zone!==this){let t=this;for(;t;){if(t===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);t=t.parent}}e._transitionTo(T,v);const t=[];e._zoneDelegates=t,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(n){throw e._transitionTo(Z,T,v),this._zoneDelegate.handleError(this,n),n}return e._zoneDelegates===t&&this._updateTaskCount(e,1),e.state==T&&e._transitionTo(b,T),e}scheduleMicroTask(e,t,n,o){return this.scheduleTask(new u(S,e,t,n,o,void 0))}scheduleMacroTask(e,t,n,o,r){return this.scheduleTask(new u(D,e,t,n,o,r))}scheduleEventTask(e,t,n,o,r){return this.scheduleTask(new u(P,e,t,n,o,r))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||y).name+"; Execution: "+this.name+")");e._transitionTo(w,b,E);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(Z,w),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(v,w),e.runCount=0,e}_updateTaskCount(e,t){const n=e._zoneDelegates;-1==t&&(e._zoneDelegates=null);for(let o=0;oe.hasTask(n,o),onScheduleTask:(e,t,n,o)=>e.scheduleTask(n,o),onInvokeTask:(e,t,n,o,r,s)=>e.invokeTask(n,o,r,s),onCancelTask:(e,t,n,o)=>e.cancelTask(n,o)};class l{constructor(e,t,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=e,this._parentDelegate=t,this._forkZS=n&&(n&&n.onFork?n:t._forkZS),this._forkDlgt=n&&(n.onFork?t:t._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:t._forkCurrZone),this._interceptZS=n&&(n.onIntercept?n:t._interceptZS),this._interceptDlgt=n&&(n.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=n&&(n.onInvoke?n:t._invokeZS),this._invokeDlgt=n&&(n.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=n&&(n.onHandleError?n:t._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:t._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=n&&(n.onInvokeTask?n:t._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=n&&(n.onCancelTask?n:t._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const o=n&&n.onHasTask;(o||t&&t._hasTaskZS)&&(this._hasTaskZS=o?n:c,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=e,n.onScheduleTask||(this._scheduleTaskZS=c,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=c,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=c,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(e,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,t):new i(e,t)}intercept(e,t,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,e,t,n):t}invoke(e,t,n,o,r){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,e,t,n,o,r):t.apply(n,o)}handleError(e,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,e,t)}scheduleTask(e,t){let n=t;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,e,t),n||(n=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=S)throw new Error("Task is missing scheduleFn.");_(t)}return n}invokeTask(e,t,n,o){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,e,t,n,o):t.callback.apply(n,o)}cancelTask(e,t){let n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,e,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");n=t.cancelFn(t)}return n}hasTask(e,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,e,t)}catch(n){this.handleError(e,n)}}_updateTaskCount(e,t){const n=this._taskCounts,o=n[e],r=n[e]=o+t;if(r<0)throw new Error("More tasks executed then were scheduled.");0!=o&&0!=r||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:e})}}class u{constructor(t,n,o,r,s,a){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=t,this.source=n,this.data=r,this.scheduleFn=s,this.cancelFn=a,!o)throw new Error("callback is not defined");this.callback=o;const i=this;this.invoke=t===P&&r&&r.useG?u.invokeTask:function(){return u.invokeTask.call(e,i,this,arguments)}}static invokeTask(e,t,n){e||(e=this),I++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{1==I&&m(),I--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(v,T)}_transitionTo(e,t,n){if(this._state!==t&&this._state!==n)throw new Error(`${this.type} '${this.source}': can not transition to '${e}', expecting state '${t}'${n?" or '"+n+"'":""}, was '${this._state}'.`);this._state=e,e==v&&(this._zoneDelegates=null)}toString(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const h=s("setTimeout"),p=s("Promise"),f=s("then");let d,g=[],k=!1;function _(t){if(0===I&&0===g.length)if(d||e[p]&&(d=e[p].resolve(0)),d){let e=d[f];e||(e=d.then),e.call(d,m)}else e[h](m,0);t&&g.push(t)}function m(){if(!k){for(k=!0;g.length;){const t=g;g=[];for(let n=0;nO,onUnhandledError:R,microtaskDrainDone:R,scheduleMicroTask:_,showUncaughtError:()=>!i[s("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:R,patchMethod:()=>R,bindArguments:()=>[],patchThen:()=>R,patchMacroTask:()=>R,setNativePromise:e=>{e&&"function"==typeof e.resolve&&(d=e.resolve(0))},patchEventPrototype:()=>R,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>R,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>R,wrapWithCurrentZone:()=>R,filterProperties:()=>[],attachOriginToPatched:()=>R,_redefineProperty:()=>R,patchCallbacks:()=>R};let O={parent:null,zone:new i(null,null)},j=null,I=0;function R(){}o("Zone","Zone"),e.Zone=i}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global),Zone.__load_patch("ZoneAwarePromise",(e,t,n)=>{const o=Object.getOwnPropertyDescriptor,r=Object.defineProperty,s=n.symbol,a=[],i=s("Promise"),c=s("then");n.onUnhandledError=e=>{if(n.showUncaughtError()){const t=e&&e.rejection;t?console.error("Unhandled Promise rejection:",t instanceof Error?t.message:t,"; Zone:",e.zone.name,"; Task:",e.task&&e.task.source,"; Value:",t,t instanceof Error?t.stack:void 0):console.error(e)}},n.microtaskDrainDone=()=>{for(;a.length;)for(;a.length;){const t=a.shift();try{t.zone.runGuarded(()=>{throw t})}catch(e){u(e)}}};const l=s("unhandledPromiseRejectionHandler");function u(e){n.onUnhandledError(e);try{const n=t[l];n&&"function"==typeof n&&n.call(this,e)}catch(o){}}function h(e){return e&&e.then}function p(e){return e}function f(e){return Z.reject(e)}const d=s("state"),g=s("value"),k=s("finally"),_=s("parentPromiseValue"),m=s("parentPromiseState");function y(e,t){return n=>{try{T(e,t,n)}catch(o){T(e,!1,o)}}}const v=s("currentTaskTrace");function T(e,o,s){const i=function(){let e=!1;return function(t){return function(){e||(e=!0,t.apply(null,arguments))}}}();if(e===s)throw new TypeError("Promise resolved with itself");if(null===e[d]){let u=null;try{"object"!=typeof s&&"function"!=typeof s||(u=s&&s.then)}catch(l){return i(()=>{T(e,!1,l)})(),e}if(!1!==o&&s instanceof Z&&s.hasOwnProperty(d)&&s.hasOwnProperty(g)&&null!==s[d])E(s),T(e,s[d],s[g]);else if(!1!==o&&"function"==typeof u)try{u.call(s,i(y(e,o)),i(y(e,!1)))}catch(l){i(()=>{T(e,!1,l)})()}else{e[d]=o;const i=e[g];if(e[g]=s,e[k]===k&&!0===o&&(e[d]=e[m],e[g]=e[_]),!1===o&&s instanceof Error){const e=t.currentTask&&t.currentTask.data&&t.currentTask.data.__creationTrace__;e&&r(s,v,{configurable:!0,enumerable:!1,writable:!0,value:e})}for(let t=0;t{try{const o=e[g],r=!!n&&k===n[k];r&&(n[_]=o,n[m]=s);const i=t.run(a,void 0,r&&a!==f&&a!==p?[]:[o]);T(n,!0,i)}catch(o){T(n,!1,o)}},n)}class Z{constructor(e){const t=this;if(!(t instanceof Z))throw new Error("Must be an instanceof Promise.");t[d]=null,t[g]=[];try{e&&e(y(t,!0),y(t,!1))}catch(n){T(t,!1,n)}}static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(e){return T(new this(null),!0,e)}static reject(e){return T(new this(null),!1,e)}static race(e){let t,n,o=new this((e,o)=>{t=e,n=o});function r(e){t(e)}function s(e){n(e)}for(let a of e)h(a)||(a=this.resolve(a)),a.then(r,s);return o}static all(e){return Z.allWithCallback(e)}static allSettled(e){return(this&&this.prototype instanceof Z?this:Z).allWithCallback(e,{thenCallback:e=>({status:"fulfilled",value:e}),errorCallback:e=>({status:"rejected",reason:e})})}static allWithCallback(e,t){let n,o,r=new this((e,t)=>{n=e,o=t}),s=2,a=0;const i=[];for(let l of e){h(l)||(l=this.resolve(l));const e=a;try{l.then(o=>{i[e]=t?t.thenCallback(o):o,s--,0===s&&n(i)},r=>{t?(i[e]=t.errorCallback(r),s--,0===s&&n(i)):o(r)})}catch(c){o(c)}s++,a++}return s-=2,0===s&&n(i),r}get[Symbol.toStringTag](){return"Promise"}then(e,n){const o=new this.constructor(null),r=t.current;return null==this[d]?this[g].push(r,o,e,n):w(this,r,o,e,n),o}catch(e){return this.then(null,e)}finally(e){const n=new this.constructor(null);n[k]=k;const o=t.current;return null==this[d]?this[g].push(o,n,e,e):w(this,o,n,e,e),n}}Z.resolve=Z.resolve,Z.reject=Z.reject,Z.race=Z.race,Z.all=Z.all;const S=e[i]=e.Promise,D=t.__symbol__("ZoneAwarePromise");let P=o(e,"Promise");P&&!P.configurable||(P&&delete P.writable,P&&delete P.value,P||(P={configurable:!0,enumerable:!0}),P.get=function(){return e[D]?e[D]:e[i]},P.set=function(t){t===Z?e[D]=t:(e[i]=t,t.prototype[c]||C(t),n.setNativePromise(t))},r(e,"Promise",P)),e.Promise=Z;const z=s("thenPatched");function C(e){const t=e.prototype,n=o(t,"then");if(n&&(!1===n.writable||!n.configurable))return;const r=t.then;t[c]=r,e.prototype.then=function(e,t){return new Z((e,t)=>{r.call(this,e,t)}).then(e,t)},e[z]=!0}if(n.patchThen=C,S){C(S);const t=e.fetch;"function"==typeof t&&(e[n.symbol("fetch")]=t,e.fetch=(O=t,function(){let e=O.apply(this,arguments);if(e instanceof Z)return e;let t=e.constructor;return t[z]||C(t),e}))}var O;return Promise[t.__symbol__("uncaughtPromiseErrors")]=a,Z});const e=Object.getOwnPropertyDescriptor,t=Object.defineProperty,n=Object.getPrototypeOf,o=Object.create,r=Array.prototype.slice,s=Zone.__symbol__("addEventListener"),a=Zone.__symbol__("removeEventListener"),i=Zone.__symbol__("");function c(e,t){return Zone.current.wrap(e,t)}function l(e,t,n,o,r){return Zone.current.scheduleMacroTask(e,t,n,o,r)}const u=Zone.__symbol__,h="undefined"!=typeof window,p=h?window:void 0,f=h&&p||"object"==typeof self&&self||global,d=[null];function g(e,t){for(let n=e.length-1;n>=0;n--)"function"==typeof e[n]&&(e[n]=c(e[n],t+"_"+n));return e}function k(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}const _="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,m=!("nw"in f)&&void 0!==f.process&&"[object process]"==={}.toString.call(f.process),y=!m&&!_&&!(!h||!p.HTMLElement),v=void 0!==f.process&&"[object process]"==={}.toString.call(f.process)&&!_&&!(!h||!p.HTMLElement),T={},b=function(e){if(!(e=e||f.event))return;let t=T[e.type];t||(t=T[e.type]=u("ON_PROPERTY"+e.type));const n=this||e.target||f,o=n[t];let r;if(y&&n===p&&"error"===e.type){const t=e;r=o&&o.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===r&&e.preventDefault()}else r=o&&o.apply(this,arguments),null==r||r||e.preventDefault();return r};function E(n,o,r){let s=e(n,o);if(!s&&r&&e(r,o)&&(s={enumerable:!0,configurable:!0}),!s||!s.configurable)return;const a=u("on"+o+"patched");if(n.hasOwnProperty(a)&&n[a])return;delete s.writable,delete s.value;const i=s.get,c=s.set,l=o.substr(2);let h=T[l];h||(h=T[l]=u("ON_PROPERTY"+l)),s.set=function(e){let t=this;t||n!==f||(t=f),t&&(t[h]&&t.removeEventListener(l,b),c&&c.apply(t,d),"function"==typeof e?(t[h]=e,t.addEventListener(l,b,!1)):t[h]=null)},s.get=function(){let e=this;if(e||n!==f||(e=f),!e)return null;const t=e[h];if(t)return t;if(i){let t=i&&i.call(this);if(t)return s.set.call(this,t),"function"==typeof e.removeAttribute&&e.removeAttribute(o),t}return null},t(n,o,s),n[a]=!0}function w(e,t,n){if(t)for(let o=0;ofunction(t,o){const s=n(t,o);return s.cbIdx>=0&&"function"==typeof o[s.cbIdx]?l(s.name,o[s.cbIdx],s,r):e.apply(t,o)})}function z(e,t){e[u("OriginalDelegate")]=t}let C=!1,O=!1;function j(){try{const e=p.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(e){}return!1}function I(){if(C)return O;C=!0;try{const e=p.navigator.userAgent;-1===e.indexOf("MSIE ")&&-1===e.indexOf("Trident/")&&-1===e.indexOf("Edge/")||(O=!0)}catch(e){}return O}Zone.__load_patch("toString",e=>{const t=Function.prototype.toString,n=u("OriginalDelegate"),o=u("Promise"),r=u("Error"),s=function(){if("function"==typeof this){const s=this[n];if(s)return"function"==typeof s?t.call(s):Object.prototype.toString.call(s);if(this===Promise){const n=e[o];if(n)return t.call(n)}if(this===Error){const n=e[r];if(n)return t.call(n)}}return t.call(this)};s[n]=t,Function.prototype.toString=s;const a=Object.prototype.toString;Object.prototype.toString=function(){return this instanceof Promise?"[object Promise]":a.call(this)}});let R=!1;if("undefined"!=typeof window)try{const e=Object.defineProperty({},"passive",{get:function(){R=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(ae){R=!1}const x={useG:!0},L={},N={},M=new RegExp("^"+i+"(\\w+)(true|false)$"),A=u("propagationStopped");function H(e,t,o){const r=o&&o.add||"addEventListener",s=o&&o.rm||"removeEventListener",a=o&&o.listeners||"eventListeners",c=o&&o.rmAll||"removeAllListeners",l=u(r),h="."+r+":",p=function(e,t,n){if(e.isRemoved)return;const o=e.callback;"object"==typeof o&&o.handleEvent&&(e.callback=e=>o.handleEvent(e),e.originalDelegate=o),e.invoke(e,t,[n]);const r=e.options;r&&"object"==typeof r&&r.once&&t[s].call(t,n.type,e.originalDelegate?e.originalDelegate:e.callback,r)},f=function(t){if(!(t=t||e.event))return;const n=this||t.target||e,o=n[L[t.type].false];if(o)if(1===o.length)p(o[0],n,t);else{const e=o.slice();for(let o=0;ofunction(t,n){t[A]=!0,e&&e.apply(t,n)})}function q(e,t,n,o,r){const s=Zone.__symbol__(o);if(t[s])return;const a=t[s]=t[o];t[o]=function(s,i,c){return i&&i.prototype&&r.forEach((function(t){const r=`${n}.${o}::`+t,s=i.prototype;if(s.hasOwnProperty(t)){const n=e.ObjectGetOwnPropertyDescriptor(s,t);n&&n.value?(n.value=e.wrapWithCurrentZone(n.value,r),e._redefineProperty(i.prototype,t,n)):s[t]&&(s[t]=e.wrapWithCurrentZone(s[t],r))}else s[t]&&(s[t]=e.wrapWithCurrentZone(s[t],r))})),a.call(t,s,i,c)},e.attachOriginToPatched(t[o],a)}const B=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplyconnected","vrdisplaydisconnected","vrdisplaypresentchange"],W=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],U=["load"],$=["blur","error","focus","load","resize","scroll","messageerror"],V=["bounce","finish","start"],X=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],Y=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],J=["close","error","open","message"],K=["error","message"],Q=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],B,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function ee(e,t,n){if(!n||0===n.length)return t;const o=n.filter(t=>t.target===e);if(!o||0===o.length)return t;const r=o[0].ignoreProperties;return t.filter(e=>-1===r.indexOf(e))}function te(e,t,n,o){e&&w(e,ee(e,t,n),o)}function ne(e,t){if(m&&!v)return;if(Zone[e.symbol("patchEvents")])return;const o="undefined"!=typeof WebSocket,r=t.__Zone_ignore_on_properties;if(y){const e=window,t=j?[{target:e,ignoreProperties:["error"]}]:[];te(e,Q.concat(["messageerror"]),r?r.concat(t):r,n(e)),te(Document.prototype,Q,r),void 0!==e.SVGElement&&te(e.SVGElement.prototype,Q,r),te(Element.prototype,Q,r),te(HTMLElement.prototype,Q,r),te(HTMLMediaElement.prototype,W,r),te(HTMLFrameSetElement.prototype,B.concat($),r),te(HTMLBodyElement.prototype,B.concat($),r),te(HTMLFrameElement.prototype,U,r),te(HTMLIFrameElement.prototype,U,r);const o=e.HTMLMarqueeElement;o&&te(o.prototype,V,r);const s=e.Worker;s&&te(s.prototype,K,r)}const s=t.XMLHttpRequest;s&&te(s.prototype,X,r);const a=t.XMLHttpRequestEventTarget;a&&te(a&&a.prototype,X,r),"undefined"!=typeof IDBIndex&&(te(IDBIndex.prototype,Y,r),te(IDBRequest.prototype,Y,r),te(IDBOpenDBRequest.prototype,Y,r),te(IDBDatabase.prototype,Y,r),te(IDBTransaction.prototype,Y,r),te(IDBCursor.prototype,Y,r)),o&&te(WebSocket.prototype,J,r)}Zone.__load_patch("util",(n,s,a)=>{a.patchOnProperties=w,a.patchMethod=D,a.bindArguments=g,a.patchMacroTask=P;const l=s.__symbol__("BLACK_LISTED_EVENTS"),u=s.__symbol__("UNPATCHED_EVENTS");n[u]&&(n[l]=n[u]),n[l]&&(s[l]=s[u]=n[l]),a.patchEventPrototype=G,a.patchEventTarget=H,a.isIEOrEdge=I,a.ObjectDefineProperty=t,a.ObjectGetOwnPropertyDescriptor=e,a.ObjectCreate=o,a.ArraySlice=r,a.patchClass=S,a.wrapWithCurrentZone=c,a.filterProperties=ee,a.attachOriginToPatched=z,a._redefineProperty=Object.defineProperty,a.patchCallbacks=q,a.getGlobalObjects=()=>({globalSources:N,zoneSymbolEventNames:L,eventNames:Q,isBrowser:y,isMix:v,isNode:m,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:i,ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"})});const oe=u("zoneTask");function re(e,t,n,o){let r=null,s=null;n+=o;const a={};function i(t){const n=t.data;return n.args[0]=function(){try{t.invoke.apply(this,arguments)}finally{t.data&&t.data.isPeriodic||("number"==typeof n.handleId?delete a[n.handleId]:n.handleId&&(n.handleId[oe]=null))}},n.handleId=r.apply(e,n.args),t}function c(e){return s(e.data.handleId)}r=D(e,t+=o,n=>function(r,s){if("function"==typeof s[0]){const e=l(t,s[0],{isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?s[1]||0:void 0,args:s},i,c);if(!e)return e;const n=e.data.handleId;return"number"==typeof n?a[n]=e:n&&(n[oe]=e),n&&n.ref&&n.unref&&"function"==typeof n.ref&&"function"==typeof n.unref&&(e.ref=n.ref.bind(n),e.unref=n.unref.bind(n)),"number"==typeof n||n?n:e}return n.apply(e,s)}),s=D(e,n,t=>function(n,o){const r=o[0];let s;"number"==typeof r?s=a[r]:(s=r&&r[oe],s||(s=r)),s&&"string"==typeof s.type?"notScheduled"!==s.state&&(s.cancelFn&&s.data.isPeriodic||0===s.runCount)&&("number"==typeof r?delete a[r]:r&&(r[oe]=null),s.zone.cancelTask(s)):t.apply(e,o)})}function se(e,t){if(Zone[t.symbol("patchEventTarget")])return;const{eventNames:n,zoneSymbolEventNames:o,TRUE_STR:r,FALSE_STR:s,ZONE_SYMBOL_PREFIX:a}=t.getGlobalObjects();for(let c=0;c{const t=e[Zone.__symbol__("legacyPatch")];t&&t()}),Zone.__load_patch("timers",e=>{re(e,"set","clear","Timeout"),re(e,"set","clear","Interval"),re(e,"set","clear","Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{re(e,"request","cancel","AnimationFrame"),re(e,"mozRequest","mozCancel","AnimationFrame"),re(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,t)=>{const n=["alert","prompt","confirm"];for(let o=0;ofunction(o,s){return t.current.run(n,e,s,r)})}),Zone.__load_patch("EventTarget",(e,t,n)=>{!function(e,t){t.patchEventPrototype(e,t)}(e,n),se(e,n);const o=e.XMLHttpRequestEventTarget;o&&o.prototype&&n.patchEventTarget(e,[o.prototype]),S("MutationObserver"),S("WebKitMutationObserver"),S("IntersectionObserver"),S("FileReader")}),Zone.__load_patch("on_property",(e,t,n)=>{ne(n,e)}),Zone.__load_patch("customElements",(e,t,n)=>{!function(e,t){const{isBrowser:n,isMix:o}=t.getGlobalObjects();(n||o)&&e.customElements&&"customElements"in e&&t.patchCallbacks(t,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,n)}),Zone.__load_patch("XHR",(e,t)=>{!function(e){const p=e.XMLHttpRequest;if(!p)return;const f=p.prototype;let d=f[s],g=f[a];if(!d){const t=e.XMLHttpRequestEventTarget;if(t){const e=t.prototype;d=e[s],g=e[a]}}function k(e){const o=e.data,c=o.target;c[i]=!1,c[h]=!1;const l=c[r];d||(d=c[s],g=c[a]),l&&g.call(c,"readystatechange",l);const u=c[r]=()=>{if(c.readyState===c.DONE)if(!o.aborted&&c[i]&&"scheduled"===e.state){const n=c[t.__symbol__("loadfalse")];if(n&&n.length>0){const r=e.invoke;e.invoke=function(){const n=c[t.__symbol__("loadfalse")];for(let t=0;tfunction(e,t){return e[o]=0==t[2],e[c]=t[1],y.apply(e,t)}),v=u("fetchTaskAborting"),T=u("fetchTaskScheduling"),b=D(f,"send",()=>function(e,n){if(!0===t.current[T])return b.apply(e,n);if(e[o])return b.apply(e,n);{const t={target:e,url:e[c],isPeriodic:!1,args:n,aborted:!1},o=l("XMLHttpRequest.send",_,t,k,m);e&&!0===e[h]&&!t.aborted&&"scheduled"===o.state&&o.invoke()}}),E=D(f,"abort",()=>function(e,o){const r=e[n];if(r&&"string"==typeof r.type){if(null==r.cancelFn||r.data&&r.data.aborted)return;r.zone.cancelTask(r)}else if(!0===t.current[v])return E.apply(e,o)})}(e);const n=u("xhrTask"),o=u("xhrSync"),r=u("xhrListener"),i=u("xhrScheduled"),c=u("xhrURL"),h=u("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function(t,n){const o=t.constructor.name;for(let r=0;r{const t=function(){return e.apply(this,g(arguments,o+"."+s))};return z(t,e),t})(a)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,t)=>{function n(t){return function(n){F(e,t).forEach(o=>{const r=e.PromiseRejectionEvent;if(r){const e=new r(t,{promise:n.promise,reason:n.rejection});o.invoke(e)}})}}e.PromiseRejectionEvent&&(t[u("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),t[u("rejectionHandledHandler")]=n("rejectionhandled"))})})?o.call(t,n,t,e):o)||(e.exports=r)}},[[2,0]]]); \ No newline at end of file diff --git a/docs/polyfills-es2015.add54c2931c744a8e8b7.js b/docs/polyfills-es2015.add54c2931c744a8e8b7.js new file mode 100644 index 0000000..b261cb0 --- /dev/null +++ b/docs/polyfills-es2015.add54c2931c744a8e8b7.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{2:function(e,t,n){e.exports=n("hN/g")},"hN/g":function(e,t,n){"use strict";n.r(t),n("nf2o")},nf2o:function(e,t,n){var o,r;void 0===(r="function"==typeof(o=function(){"use strict";!function(e){const t=e.performance;function n(e){t&&t.mark&&t.mark(e)}function o(e,n){t&&t.measure&&t.measure(e,n)}n("Zone");const r=e.__Zone_symbol_prefix||"__zone_symbol__";function s(e){return r+e}const a=!0===e[s("forceDuplicateZoneCheck")];if(e.Zone){if(a||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}class i{constructor(e,t){this._parent=e,this._name=t?t.name||"unnamed":"",this._properties=t&&t.properties||{},this._zoneDelegate=new l(this,this._parent&&this._parent._zoneDelegate,t)}static assertZonePatched(){if(e.Promise!==C.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let e=i.current;for(;e.parent;)e=e.parent;return e}static get current(){return z.zone}static get currentTask(){return j}static __load_patch(t,r){if(C.hasOwnProperty(t)){if(a)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const s="Zone:"+t;n(s),C[t]=r(e,i,O),o(s,s)}}get parent(){return this._parent}get name(){return this._name}get(e){const t=this.getZoneWith(e);if(t)return t._properties[e]}getZoneWith(e){let t=this;for(;t;){if(t._properties.hasOwnProperty(e))return t;t=t._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const n=this._zoneDelegate.intercept(this,e,t),o=this;return function(){return o.runGuarded(n,this,arguments,t)}}run(e,t,n,o){z={parent:z,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,o)}finally{z=z.parent}}runGuarded(e,t=null,n,o){z={parent:z,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,o)}catch(r){if(this._zoneDelegate.handleError(this,r))throw r}}finally{z=z.parent}}runTask(e,t,n){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||y).name+"; Execution: "+this.name+")");if(e.state===v&&(e.type===P||e.type===D))return;const o=e.state!=E;o&&e._transitionTo(E,T),e.runCount++;const r=j;j=e,z={parent:z,zone:this};try{e.type==D&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(s){if(this._zoneDelegate.handleError(this,s))throw s}}finally{e.state!==v&&e.state!==Z&&(e.type==P||e.data&&e.data.isPeriodic?o&&e._transitionTo(T,E):(e.runCount=0,this._updateTaskCount(e,-1),o&&e._transitionTo(v,E,v))),z=z.parent,j=r}}scheduleTask(e){if(e.zone&&e.zone!==this){let t=this;for(;t;){if(t===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);t=t.parent}}e._transitionTo(b,v);const t=[];e._zoneDelegates=t,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(n){throw e._transitionTo(Z,b,v),this._zoneDelegate.handleError(this,n),n}return e._zoneDelegates===t&&this._updateTaskCount(e,1),e.state==b&&e._transitionTo(T,b),e}scheduleMicroTask(e,t,n,o){return this.scheduleTask(new u(S,e,t,n,o,void 0))}scheduleMacroTask(e,t,n,o,r){return this.scheduleTask(new u(D,e,t,n,o,r))}scheduleEventTask(e,t,n,o,r){return this.scheduleTask(new u(P,e,t,n,o,r))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||y).name+"; Execution: "+this.name+")");e._transitionTo(w,T,E);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(Z,w),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(v,w),e.runCount=0,e}_updateTaskCount(e,t){const n=e._zoneDelegates;-1==t&&(e._zoneDelegates=null);for(let o=0;oe.hasTask(n,o),onScheduleTask:(e,t,n,o)=>e.scheduleTask(n,o),onInvokeTask:(e,t,n,o,r,s)=>e.invokeTask(n,o,r,s),onCancelTask:(e,t,n,o)=>e.cancelTask(n,o)};class l{constructor(e,t,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=e,this._parentDelegate=t,this._forkZS=n&&(n&&n.onFork?n:t._forkZS),this._forkDlgt=n&&(n.onFork?t:t._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:t._forkCurrZone),this._interceptZS=n&&(n.onIntercept?n:t._interceptZS),this._interceptDlgt=n&&(n.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=n&&(n.onInvoke?n:t._invokeZS),this._invokeDlgt=n&&(n.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=n&&(n.onHandleError?n:t._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:t._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=n&&(n.onInvokeTask?n:t._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=n&&(n.onCancelTask?n:t._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const o=n&&n.onHasTask;(o||t&&t._hasTaskZS)&&(this._hasTaskZS=o?n:c,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=e,n.onScheduleTask||(this._scheduleTaskZS=c,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=c,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=c,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(e,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,t):new i(e,t)}intercept(e,t,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,e,t,n):t}invoke(e,t,n,o,r){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,e,t,n,o,r):t.apply(n,o)}handleError(e,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,e,t)}scheduleTask(e,t){let n=t;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,e,t),n||(n=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=S)throw new Error("Task is missing scheduleFn.");k(t)}return n}invokeTask(e,t,n,o){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,e,t,n,o):t.callback.apply(n,o)}cancelTask(e,t){let n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,e,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");n=t.cancelFn(t)}return n}hasTask(e,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,e,t)}catch(n){this.handleError(e,n)}}_updateTaskCount(e,t){const n=this._taskCounts,o=n[e],r=n[e]=o+t;if(r<0)throw new Error("More tasks executed then were scheduled.");0!=o&&0!=r||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:e})}}class u{constructor(t,n,o,r,s,a){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=t,this.source=n,this.data=r,this.scheduleFn=s,this.cancelFn=a,!o)throw new Error("callback is not defined");this.callback=o;const i=this;this.invoke=t===P&&r&&r.useG?u.invokeTask:function(){return u.invokeTask.call(e,i,this,arguments)}}static invokeTask(e,t,n){e||(e=this),I++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{1==I&&m(),I--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(v,b)}_transitionTo(e,t,n){if(this._state!==t&&this._state!==n)throw new Error(`${this.type} '${this.source}': can not transition to '${e}', expecting state '${t}'${n?" or '"+n+"'":""}, was '${this._state}'.`);this._state=e,e==v&&(this._zoneDelegates=null)}toString(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const h=s("setTimeout"),p=s("Promise"),f=s("then");let d,g=[],_=!1;function k(t){if(0===I&&0===g.length)if(d||e[p]&&(d=e[p].resolve(0)),d){let e=d[f];e||(e=d.then),e.call(d,m)}else e[h](m,0);t&&g.push(t)}function m(){if(!_){for(_=!0;g.length;){const t=g;g=[];for(let n=0;nz,onUnhandledError:R,microtaskDrainDone:R,scheduleMicroTask:k,showUncaughtError:()=>!i[s("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:R,patchMethod:()=>R,bindArguments:()=>[],patchThen:()=>R,patchMacroTask:()=>R,setNativePromise:e=>{e&&"function"==typeof e.resolve&&(d=e.resolve(0))},patchEventPrototype:()=>R,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>R,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>R,wrapWithCurrentZone:()=>R,filterProperties:()=>[],attachOriginToPatched:()=>R,_redefineProperty:()=>R,patchCallbacks:()=>R};let z={parent:null,zone:new i(null,null)},j=null,I=0;function R(){}o("Zone","Zone"),e.Zone=i}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global),Zone.__load_patch("ZoneAwarePromise",(e,t,n)=>{const o=Object.getOwnPropertyDescriptor,r=Object.defineProperty,s=n.symbol,a=[],i=!0===e[s("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],c=s("Promise"),l=s("then");n.onUnhandledError=e=>{if(n.showUncaughtError()){const t=e&&e.rejection;t?console.error("Unhandled Promise rejection:",t instanceof Error?t.message:t,"; Zone:",e.zone.name,"; Task:",e.task&&e.task.source,"; Value:",t,t instanceof Error?t.stack:void 0):console.error(e)}},n.microtaskDrainDone=()=>{for(;a.length;){const t=a.shift();try{t.zone.runGuarded(()=>{throw t})}catch(e){h(e)}}};const u=s("unhandledPromiseRejectionHandler");function h(e){n.onUnhandledError(e);try{const n=t[u];"function"==typeof n&&n.call(this,e)}catch(o){}}function p(e){return e&&e.then}function f(e){return e}function d(e){return D.reject(e)}const g=s("state"),_=s("value"),k=s("finally"),m=s("parentPromiseValue"),y=s("parentPromiseState");function v(e,t){return n=>{try{T(e,t,n)}catch(o){T(e,!1,o)}}}const b=s("currentTaskTrace");function T(e,o,s){const c=function(){let e=!1;return function(t){return function(){e||(e=!0,t.apply(null,arguments))}}}();if(e===s)throw new TypeError("Promise resolved with itself");if(null===e[g]){let h=null;try{"object"!=typeof s&&"function"!=typeof s||(h=s&&s.then)}catch(u){return c(()=>{T(e,!1,u)})(),e}if(!1!==o&&s instanceof D&&s.hasOwnProperty(g)&&s.hasOwnProperty(_)&&null!==s[g])w(s),T(e,s[g],s[_]);else if(!1!==o&&"function"==typeof h)try{h.call(s,c(v(e,o)),c(v(e,!1)))}catch(u){c(()=>{T(e,!1,u)})()}else{e[g]=o;const c=e[_];if(e[_]=s,e[k]===k&&!0===o&&(e[g]=e[y],e[_]=e[m]),!1===o&&s instanceof Error){const e=t.currentTask&&t.currentTask.data&&t.currentTask.data.__creationTrace__;e&&r(s,b,{configurable:!0,enumerable:!1,writable:!0,value:e})}for(let t=0;t{try{const o=e[_],r=!!n&&k===n[k];r&&(n[m]=o,n[y]=s);const i=t.run(a,void 0,r&&a!==d&&a!==f?[]:[o]);T(n,!0,i)}catch(o){T(n,!1,o)}},n)}const S=function(){};class D{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(e){return T(new this(null),!0,e)}static reject(e){return T(new this(null),!1,e)}static race(e){let t,n,o=new this((e,o)=>{t=e,n=o});function r(e){t(e)}function s(e){n(e)}for(let a of e)p(a)||(a=this.resolve(a)),a.then(r,s);return o}static all(e){return D.allWithCallback(e)}static allSettled(e){return(this&&this.prototype instanceof D?this:D).allWithCallback(e,{thenCallback:e=>({status:"fulfilled",value:e}),errorCallback:e=>({status:"rejected",reason:e})})}static allWithCallback(e,t){let n,o,r=new this((e,t)=>{n=e,o=t}),s=2,a=0;const i=[];for(let l of e){p(l)||(l=this.resolve(l));const e=a;try{l.then(o=>{i[e]=t?t.thenCallback(o):o,s--,0===s&&n(i)},r=>{t?(i[e]=t.errorCallback(r),s--,0===s&&n(i)):o(r)})}catch(c){o(c)}s++,a++}return s-=2,0===s&&n(i),r}constructor(e){const t=this;if(!(t instanceof D))throw new Error("Must be an instanceof Promise.");t[g]=null,t[_]=[];try{e&&e(v(t,!0),v(t,!1))}catch(n){T(t,!1,n)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return D}then(e,n){let o=this.constructor[Symbol.species];o&&"function"==typeof o||(o=this.constructor||D);const r=new o(S),s=t.current;return null==this[g]?this[_].push(s,r,e,n):Z(this,s,r,e,n),r}catch(e){return this.then(null,e)}finally(e){let n=this.constructor[Symbol.species];n&&"function"==typeof n||(n=D);const o=new n(S);o[k]=k;const r=t.current;return null==this[g]?this[_].push(r,o,e,e):Z(this,r,o,e,e),o}}D.resolve=D.resolve,D.reject=D.reject,D.race=D.race,D.all=D.all;const P=e[c]=e.Promise,C=t.__symbol__("ZoneAwarePromise");let O=o(e,"Promise");O&&!O.configurable||(O&&delete O.writable,O&&delete O.value,O||(O={configurable:!0,enumerable:!0}),O.get=function(){return e[C]?e[C]:e[c]},O.set=function(t){t===D?e[C]=t:(e[c]=t,t.prototype[l]||j(t),n.setNativePromise(t))},r(e,"Promise",O)),e.Promise=D;const z=s("thenPatched");function j(e){const t=e.prototype,n=o(t,"then");if(n&&(!1===n.writable||!n.configurable))return;const r=t.then;t[l]=r,e.prototype.then=function(e,t){return new D((e,t)=>{r.call(this,e,t)}).then(e,t)},e[z]=!0}if(n.patchThen=j,P){j(P);const t=e.fetch;"function"==typeof t&&(e[n.symbol("fetch")]=t,e.fetch=(I=t,function(){let e=I.apply(this,arguments);if(e instanceof D)return e;let t=e.constructor;return t[z]||j(t),e}))}var I;return Promise[t.__symbol__("uncaughtPromiseErrors")]=a,D});const e=Object.getOwnPropertyDescriptor,t=Object.defineProperty,n=Object.getPrototypeOf,o=Object.create,r=Array.prototype.slice,s=Zone.__symbol__("addEventListener"),a=Zone.__symbol__("removeEventListener"),i=Zone.__symbol__("");function c(e,t){return Zone.current.wrap(e,t)}function l(e,t,n,o,r){return Zone.current.scheduleMacroTask(e,t,n,o,r)}const u=Zone.__symbol__,h="undefined"!=typeof window,p=h?window:void 0,f=h&&p||"object"==typeof self&&self||global,d=[null];function g(e,t){for(let n=e.length-1;n>=0;n--)"function"==typeof e[n]&&(e[n]=c(e[n],t+"_"+n));return e}function _(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}const k="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,m=!("nw"in f)&&void 0!==f.process&&"[object process]"==={}.toString.call(f.process),y=!m&&!k&&!(!h||!p.HTMLElement),v=void 0!==f.process&&"[object process]"==={}.toString.call(f.process)&&!k&&!(!h||!p.HTMLElement),b={},T=function(e){if(!(e=e||f.event))return;let t=b[e.type];t||(t=b[e.type]=u("ON_PROPERTY"+e.type));const n=this||e.target||f,o=n[t];let r;if(y&&n===p&&"error"===e.type){const t=e;r=o&&o.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===r&&e.preventDefault()}else r=o&&o.apply(this,arguments),null==r||r||e.preventDefault();return r};function E(n,o,r){let s=e(n,o);if(!s&&r&&e(r,o)&&(s={enumerable:!0,configurable:!0}),!s||!s.configurable)return;const a=u("on"+o+"patched");if(n.hasOwnProperty(a)&&n[a])return;delete s.writable,delete s.value;const i=s.get,c=s.set,l=o.substr(2);let h=b[l];h||(h=b[l]=u("ON_PROPERTY"+l)),s.set=function(e){let t=this;t||n!==f||(t=f),t&&(t[h]&&t.removeEventListener(l,T),c&&c.apply(t,d),"function"==typeof e?(t[h]=e,t.addEventListener(l,T,!1)):t[h]=null)},s.get=function(){let e=this;if(e||n!==f||(e=f),!e)return null;const t=e[h];if(t)return t;if(i){let t=i&&i.call(this);if(t)return s.set.call(this,t),"function"==typeof e.removeAttribute&&e.removeAttribute(o),t}return null},t(n,o,s),n[a]=!0}function w(e,t,n){if(t)for(let o=0;ofunction(t,o){const s=n(t,o);return s.cbIdx>=0&&"function"==typeof o[s.cbIdx]?l(s.name,o[s.cbIdx],s,r):e.apply(t,o)})}function C(e,t){e[u("OriginalDelegate")]=t}let O=!1,z=!1;function j(){try{const e=p.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(e){}return!1}function I(){if(O)return z;O=!0;try{const e=p.navigator.userAgent;-1===e.indexOf("MSIE ")&&-1===e.indexOf("Trident/")&&-1===e.indexOf("Edge/")||(z=!0)}catch(e){}return z}Zone.__load_patch("toString",e=>{const t=Function.prototype.toString,n=u("OriginalDelegate"),o=u("Promise"),r=u("Error"),s=function(){if("function"==typeof this){const s=this[n];if(s)return"function"==typeof s?t.call(s):Object.prototype.toString.call(s);if(this===Promise){const n=e[o];if(n)return t.call(n)}if(this===Error){const n=e[r];if(n)return t.call(n)}}return t.call(this)};s[n]=t,Function.prototype.toString=s;const a=Object.prototype.toString;Object.prototype.toString=function(){return this instanceof Promise?"[object Promise]":a.call(this)}});let R=!1;if("undefined"!=typeof window)try{const e=Object.defineProperty({},"passive",{get:function(){R=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(ie){R=!1}const N={useG:!0},x={},L={},M=new RegExp("^"+i+"(\\w+)(true|false)$"),A=u("propagationStopped");function H(e,t){const n=(t?t(e):e)+"false",o=(t?t(e):e)+"true",r=i+n,s=i+o;x[e]={},x[e].false=r,x[e].true=s}function F(e,t,o){const r=o&&o.add||"addEventListener",s=o&&o.rm||"removeEventListener",a=o&&o.listeners||"eventListeners",c=o&&o.rmAll||"removeAllListeners",l=u(r),h="."+r+":",p=function(e,t,n){if(e.isRemoved)return;const o=e.callback;"object"==typeof o&&o.handleEvent&&(e.callback=e=>o.handleEvent(e),e.originalDelegate=o),e.invoke(e,t,[n]);const r=e.options;r&&"object"==typeof r&&r.once&&t[s].call(t,n.type,e.originalDelegate?e.originalDelegate:e.callback,r)},f=function(t){if(!(t=t||e.event))return;const n=this||t.target||e,o=n[x[t.type].false];if(o)if(1===o.length)p(o[0],n,t);else{const e=o.slice();for(let o=0;ofunction(t,n){t[A]=!0,e&&e.apply(t,n)})}function q(e,t,n,o,r){const s=Zone.__symbol__(o);if(t[s])return;const a=t[s]=t[o];t[o]=function(s,i,c){return i&&i.prototype&&r.forEach((function(t){const r=`${n}.${o}::`+t,s=i.prototype;if(s.hasOwnProperty(t)){const n=e.ObjectGetOwnPropertyDescriptor(s,t);n&&n.value?(n.value=e.wrapWithCurrentZone(n.value,r),e._redefineProperty(i.prototype,t,n)):s[t]&&(s[t]=e.wrapWithCurrentZone(s[t],r))}else s[t]&&(s[t]=e.wrapWithCurrentZone(s[t],r))})),a.call(t,s,i,c)},e.attachOriginToPatched(t[o],a)}const W=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],U=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],V=["load"],$=["blur","error","focus","load","resize","scroll","messageerror"],X=["bounce","finish","start"],J=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],Y=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],K=["close","error","open","message"],Q=["error","message"],ee=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],W,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function te(e,t,n){if(!n||0===n.length)return t;const o=n.filter(t=>t.target===e);if(!o||0===o.length)return t;const r=o[0].ignoreProperties;return t.filter(e=>-1===r.indexOf(e))}function ne(e,t,n,o){e&&w(e,te(e,t,n),o)}function oe(e,t){if(m&&!v)return;if(Zone[e.symbol("patchEvents")])return;const o="undefined"!=typeof WebSocket,r=t.__Zone_ignore_on_properties;if(y){const e=window,t=j?[{target:e,ignoreProperties:["error"]}]:[];ne(e,ee.concat(["messageerror"]),r?r.concat(t):r,n(e)),ne(Document.prototype,ee,r),void 0!==e.SVGElement&&ne(e.SVGElement.prototype,ee,r),ne(Element.prototype,ee,r),ne(HTMLElement.prototype,ee,r),ne(HTMLMediaElement.prototype,U,r),ne(HTMLFrameSetElement.prototype,W.concat($),r),ne(HTMLBodyElement.prototype,W.concat($),r),ne(HTMLFrameElement.prototype,V,r),ne(HTMLIFrameElement.prototype,V,r);const o=e.HTMLMarqueeElement;o&&ne(o.prototype,X,r);const s=e.Worker;s&&ne(s.prototype,Q,r)}const s=t.XMLHttpRequest;s&&ne(s.prototype,J,r);const a=t.XMLHttpRequestEventTarget;a&&ne(a&&a.prototype,J,r),"undefined"!=typeof IDBIndex&&(ne(IDBIndex.prototype,Y,r),ne(IDBRequest.prototype,Y,r),ne(IDBOpenDBRequest.prototype,Y,r),ne(IDBDatabase.prototype,Y,r),ne(IDBTransaction.prototype,Y,r),ne(IDBCursor.prototype,Y,r)),o&&ne(WebSocket.prototype,K,r)}Zone.__load_patch("util",(n,s,a)=>{a.patchOnProperties=w,a.patchMethod=D,a.bindArguments=g,a.patchMacroTask=P;const l=s.__symbol__("BLACK_LISTED_EVENTS"),u=s.__symbol__("UNPATCHED_EVENTS");n[u]&&(n[l]=n[u]),n[l]&&(s[l]=s[u]=n[l]),a.patchEventPrototype=B,a.patchEventTarget=F,a.isIEOrEdge=I,a.ObjectDefineProperty=t,a.ObjectGetOwnPropertyDescriptor=e,a.ObjectCreate=o,a.ArraySlice=r,a.patchClass=S,a.wrapWithCurrentZone=c,a.filterProperties=te,a.attachOriginToPatched=C,a._redefineProperty=Object.defineProperty,a.patchCallbacks=q,a.getGlobalObjects=()=>({globalSources:L,zoneSymbolEventNames:x,eventNames:ee,isBrowser:y,isMix:v,isNode:m,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:i,ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"})});const re=u("zoneTask");function se(e,t,n,o){let r=null,s=null;n+=o;const a={};function i(t){const n=t.data;return n.args[0]=function(){try{t.invoke.apply(this,arguments)}finally{t.data&&t.data.isPeriodic||("number"==typeof n.handleId?delete a[n.handleId]:n.handleId&&(n.handleId[re]=null))}},n.handleId=r.apply(e,n.args),t}function c(e){return s(e.data.handleId)}r=D(e,t+=o,n=>function(r,s){if("function"==typeof s[0]){const e=l(t,s[0],{isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?s[1]||0:void 0,args:s},i,c);if(!e)return e;const n=e.data.handleId;return"number"==typeof n?a[n]=e:n&&(n[re]=e),n&&n.ref&&n.unref&&"function"==typeof n.ref&&"function"==typeof n.unref&&(e.ref=n.ref.bind(n),e.unref=n.unref.bind(n)),"number"==typeof n||n?n:e}return n.apply(e,s)}),s=D(e,n,t=>function(n,o){const r=o[0];let s;"number"==typeof r?s=a[r]:(s=r&&r[re],s||(s=r)),s&&"string"==typeof s.type?"notScheduled"!==s.state&&(s.cancelFn&&s.data.isPeriodic||0===s.runCount)&&("number"==typeof r?delete a[r]:r&&(r[re]=null),s.zone.cancelTask(s)):t.apply(e,o)})}function ae(e,t){if(Zone[t.symbol("patchEventTarget")])return;const{eventNames:n,zoneSymbolEventNames:o,TRUE_STR:r,FALSE_STR:s,ZONE_SYMBOL_PREFIX:a}=t.getGlobalObjects();for(let c=0;c{const t=e[Zone.__symbol__("legacyPatch")];t&&t()}),Zone.__load_patch("timers",e=>{se(e,"set","clear","Timeout"),se(e,"set","clear","Interval"),se(e,"set","clear","Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{se(e,"request","cancel","AnimationFrame"),se(e,"mozRequest","mozCancel","AnimationFrame"),se(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,t)=>{const n=["alert","prompt","confirm"];for(let o=0;ofunction(o,s){return t.current.run(n,e,s,r)})}),Zone.__load_patch("EventTarget",(e,t,n)=>{(function(e,t){t.patchEventPrototype(e,t)})(e,n),ae(e,n);const o=e.XMLHttpRequestEventTarget;o&&o.prototype&&n.patchEventTarget(e,[o.prototype]),S("MutationObserver"),S("WebKitMutationObserver"),S("IntersectionObserver"),S("FileReader")}),Zone.__load_patch("on_property",(e,t,n)=>{oe(n,e)}),Zone.__load_patch("customElements",(e,t,n)=>{!function(e,t){const{isBrowser:n,isMix:o}=t.getGlobalObjects();(n||o)&&e.customElements&&"customElements"in e&&t.patchCallbacks(t,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,n)}),Zone.__load_patch("XHR",(e,t)=>{!function(e){const p=e.XMLHttpRequest;if(!p)return;const f=p.prototype;let d=f[s],g=f[a];if(!d){const t=e.XMLHttpRequestEventTarget;if(t){const e=t.prototype;d=e[s],g=e[a]}}function _(e){const o=e.data,c=o.target;c[i]=!1,c[h]=!1;const l=c[r];d||(d=c[s],g=c[a]),l&&g.call(c,"readystatechange",l);const u=c[r]=()=>{if(c.readyState===c.DONE)if(!o.aborted&&c[i]&&"scheduled"===e.state){const n=c[t.__symbol__("loadfalse")];if(n&&n.length>0){const r=e.invoke;e.invoke=function(){const n=c[t.__symbol__("loadfalse")];for(let t=0;tfunction(e,t){return e[o]=0==t[2],e[c]=t[1],y.apply(e,t)}),v=u("fetchTaskAborting"),b=u("fetchTaskScheduling"),T=D(f,"send",()=>function(e,n){if(!0===t.current[b])return T.apply(e,n);if(e[o])return T.apply(e,n);{const t={target:e,url:e[c],isPeriodic:!1,args:n,aborted:!1},o=l("XMLHttpRequest.send",k,t,_,m);e&&!0===e[h]&&!t.aborted&&"scheduled"===o.state&&o.invoke()}}),E=D(f,"abort",()=>function(e,o){const r=e[n];if(r&&"string"==typeof r.type){if(null==r.cancelFn||r.data&&r.data.aborted)return;r.zone.cancelTask(r)}else if(!0===t.current[v])return E.apply(e,o)})}(e);const n=u("xhrTask"),o=u("xhrSync"),r=u("xhrListener"),i=u("xhrScheduled"),c=u("xhrURL"),h=u("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function(t,n){const o=t.constructor.name;for(let r=0;r{const t=function(){return e.apply(this,g(arguments,o+"."+s))};return C(t,e),t})(a)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,t)=>{function n(t){return function(n){G(e,t).forEach(o=>{const r=e.PromiseRejectionEvent;if(r){const e=new r(t,{promise:n.promise,reason:n.rejection});o.invoke(e)}})}}e.PromiseRejectionEvent&&(t[u("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),t[u("rejectionHandledHandler")]=n("rejectionhandled"))})})?o.call(t,n,t,e):o)||(e.exports=r)}},[[2,0]]]); \ No newline at end of file diff --git a/docs/polyfills-es5.c2f2fb955823551deaed.js b/docs/polyfills-es5.c2f2fb955823551deaed.js deleted file mode 100644 index 0829778..0000000 --- a/docs/polyfills-es5.c2f2fb955823551deaed.js +++ /dev/null @@ -1 +0,0 @@ -function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _defineProperties(t,e){for(var n=0;n1?arguments[1]:void 0)}}),i("findIndex")},"+NaH":function(t,e,n){var r=n("ThF5"),o=n("qpFR"),i=n("c8b2");t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},"+q1H":function(t,e,n){"use strict";var r,o,i,a=n("yosQ"),c=n("+NaH"),u=n("+C+w"),s=n("G9lz"),f=n("p2x6"),l=s("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):p=!0),null==r&&(r={}),f||u(r,l)||c(r,l,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},"/K78":function(t,e,n){var r=n("0vT8"),o=n("TQiC");r({global:!0,forced:parseFloat!=o},{parseFloat:o})},"/WEB":function(t,e,n){var r=function(t){"use strict";var e=Object.prototype,n=e.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(t,e,n,r){var o=Object.create((e&&e.prototype instanceof f?e:f).prototype),i=new x(r||[]);return o._invoke=function(t,e,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=b(a,n);if(c){if(c===s)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var f=u(t,e,n);if("normal"===f.type){if(r=n.done?"completed":"suspendedYield",f.arg===s)continue;return{value:f.arg,done:n.done}}"throw"===f.type&&(r="completed",n.method="throw",n.arg=f.arg)}}}(t,n,i),o}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(r){return{type:"throw",arg:r}}}t.wrap=c;var s={};function f(){}function l(){}function p(){}var h={};h[o]=function(){return this};var v=Object.getPrototypeOf,d=v&&v(v(E([])));d&&d!==e&&n.call(d,o)&&(h=d);var g=p.prototype=f.prototype=Object.create(h);function y(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function m(t){var e;this._invoke=function(r,o){function i(){return new Promise((function(e,i){!function e(r,o,i,a){var c=u(t[r],t,o);if("throw"!==c.type){var s=c.arg,f=s.value;return f&&"object"==typeof f&&n.call(f,"__await")?Promise.resolve(f.__await).then((function(t){e("next",t,i,a)}),(function(t){e("throw",t,i,a)})):Promise.resolve(f).then((function(t){s.value=t,i(s)}),(function(t){return e("throw",t,i,a)}))}a(c.arg)}(r,o,e,i)}))}return e=e?e.then(i,i):i()}}function b(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,b(t,e),"throw"===e.method))return s;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var r=u(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,s;var o=r.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,s):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,s)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function E(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),T(n),s}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:E(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),s}},t}(t.exports);try{regeneratorRuntime=r}catch(o){Function("r","regeneratorRuntime = r")(r)}},"/Wjk":function(t,e,n){"use strict";var r=n("lYWO"),o=n("L0mP");t.exports="".repeat||function(t){var e=String(o(this)),n="",i=r(t);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(e+=e))1&i&&(n+=e);return n}},"/ZgM":function(t,e,n){"use strict";var r=n("pNVf"),o=n("NneG");t.exports=r("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),o)},"00I2":function(t,e,n){var r=n("ThF5"),o=n("qpFR"),i=n("QxQN"),a=n("SF8I").UNSUPPORTED_Y;r&&("g"!=/./g.flags||a)&&o.f(RegExp.prototype,"flags",{configurable:!0,get:i})},"03IN":function(t,e,n){var r=n("4eii"),o=n("VfW/").trim,i=n("ZKm/"),a=r.parseInt,c=/^[+-]?0[Xx]/,u=8!==a(i+"08")||22!==a(i+"0x16");t.exports=u?function(t,e){var n=o(String(t));return a(n,e>>>0||(c.test(n)?16:10))}:a},"0BIM":function(t,e,n){"use strict";var r=n("Zm5N"),o=n("UET0"),i=n("L0mP"),a=n("TC5Z"),c=n("6pHA");r("search",1,(function(t,e,n){return[function(e){var n=i(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var i=o(t),u=String(this),s=i.lastIndex;a(s,0)||(i.lastIndex=0);var f=c(i,u);return a(i.lastIndex,s)||(i.lastIndex=s),null===f?-1:f.index}]}))},"0Eps":function(t,e,n){n("0vT8")({target:"Number",stat:!0},{isInteger:n("O1uG")})},"0O2A":function(t,e,n){var r=n("4eii"),o=n("rP2c"),i=r.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},"0PBP":function(t,e,n){"use strict";var r=n("s7Qr").forEach,o=n("9rSH"),i=n("X4rX"),a=o("forEach"),c=i("forEach");t.exports=a&&c?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},"0Yxs":function(t,e,n){n("0vT8")({target:"Object",stat:!0,sham:!n("ThF5")},{create:n("dYyi")})},"0dFo":function(t,e,n){var r=n("G9lz")("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(c){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},t(i)}catch(c){}return n}},"0u0I":function(t,e,n){var r=n("0vT8"),o=n("03IN");r({global:!0,forced:parseInt!=o},{parseInt:o})},"0vT8":function(t,e,n){var r=n("4eii"),o=n("5tsF").f,i=n("+NaH"),a=n("gGei"),c=n("d1gM"),u=n("QA9J"),s=n("2L9N");t.exports=function(t,e){var n,f,l,p,h,v=t.target,d=t.global,g=t.stat;if(n=d?r:g?r[v]||c(v,{}):(r[v]||{}).prototype)for(f in e){if(p=e[f],l=t.noTargetGet?(h=o(n,f))&&h.value:n[f],!s(d?f:v+(g?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;u(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),a(n,f,p,t)}}},1:function(t,e,n){n("l/Py"),n("xVoO"),t.exports=n("hN/g")},"19jd":function(t,e,n){var r=n("UET0"),o=n("rP2c"),i=n("Pj9/");t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},"1BS+":function(t,e,n){var r=n("lcFv");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"1Yxx":function(t,e,n){"use strict";var r=n("0vT8"),o=n("VfW/").trim;r({target:"String",proto:!0,forced:n("J+mE")("trim")},{trim:function(){return o(this)}})},"1dlD":function(t,e,n){"use strict";var r=n("0vT8"),o=n("XtQF"),i=n("VUDt"),a=n("x42P");r({target:"Date",proto:!0,forced:o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(t){var e=i(this),n=a(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},"1geW":function(t,e,n){var r=n("0vT8"),o=n("Hshb");r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},"1ul8":function(t,e,n){"use strict";var r=n("xbsk").charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},"2L9N":function(t,e,n){var r=n("XtQF"),o=/#|\.prototype\./,i=function(t,e){var n=c[a(t)];return n==s||n!=u&&("function"==typeof e?r(e):!!e)},a=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=i.data={},u=i.NATIVE="N",s=i.POLYFILL="P";t.exports=i},"2VXe":function(t,e,n){var r=n("8ZjQ"),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return o.call(t)}),t.exports=r.inspectSource},"2g3X":function(t,e,n){"use strict";var r=n("XtQF"),o=n("W3Kz").start,i=Math.abs,a=Date.prototype,c=a.getTime,u=a.toISOString;t.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=u.call(new Date(-5e13-1))}))||!r((function(){u.call(new Date(NaN))}))?function(){if(!isFinite(c.call(this)))throw RangeError("Invalid time value");var t=this.getUTCFullYear(),e=this.getUTCMilliseconds(),n=t<0?"-":t>9999?"+":"";return n+o(i(t),n?6:4,0)+"-"+o(this.getUTCMonth()+1,2,0)+"-"+o(this.getUTCDate(),2,0)+"T"+o(this.getUTCHours(),2,0)+":"+o(this.getUTCMinutes(),2,0)+":"+o(this.getUTCSeconds(),2,0)+"."+o(e,3,0)+"Z"}:u},"2imT":function(t,e,n){var r=n("0vT8"),o=n("vSAT"),i=Math.acosh,a=Math.log,c=Math.sqrt,u=Math.LN2;r({target:"Math",stat:!0,forced:!i||710!=Math.floor(i(Number.MAX_VALUE))||i(1/0)!=1/0},{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?a(t)+u:o(t-1+c(t-1)*c(t+1))}})},"3QRp":function(t,e,n){"use strict";var r=n("0vT8"),o=n("x+Se");r({target:"String",proto:!0,forced:n("Kg1r")("sub")},{sub:function(){return o(this,"sub","","")}})},"3dqU":function(t,e,n){"use strict";var r=n("0vT8"),o=n("tH9H"),i=n("V3ap"),a=n("9rSH"),c=[].join,u=o!=Object,s=a("join",",");r({target:"Array",proto:!0,forced:u||!s},{join:function(t){return c.call(i(this),void 0===t?",":t)}})},"4ZNk":function(t,e,n){n("0vT8")({target:"Function",proto:!0},{bind:n("dmrs")})},"4eii":function(t,e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof global&&global)||Function("return this")()},"4xiE":function(t,e,n){var r=n("0vT8"),o=n("VUDt"),i=n("VQs6");r({target:"Object",stat:!0,forced:n("XtQF")((function(){i(1)}))},{keys:function(t){return i(o(t))}})},"51+R":function(t,e,n){"use strict";var r=n("x42P"),o=n("qpFR"),i=n("c8b2");t.exports=function(t,e,n){var a=r(e);a in t?o.f(t,a,i(0,n)):t[a]=n}},"564C":function(t,e,n){n("79XA")("isConcatSpreadable")},"5QPa":function(t,e,n){"use strict";var r=n("9rgZ"),o=n("92yR");t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},"5b4b":function(t,e,n){n("0vT8")({target:"Number",stat:!0},{isFinite:n("Uure")})},"5tsF":function(t,e,n){var r=n("ThF5"),o=n("WHJo"),i=n("c8b2"),a=n("V3ap"),c=n("x42P"),u=n("+C+w"),s=n("uQC4"),f=Object.getOwnPropertyDescriptor;e.f=r?f:function(t,e){if(t=a(t),e=c(e,!0),s)try{return f(t,e)}catch(n){}if(u(t,e))return i(!o.f.call(t,e),t[e])}},"62Jg":function(t,e,n){var r=n("mwKY"),o=Math.abs,i=Math.pow,a=i(2,-52),c=i(2,-23),u=i(2,127)*(2-c),s=i(2,-126);t.exports=Math.fround||function(t){var e,n,i=o(t),f=r(t);return iu||n!=n?f*(1/0):f*n}},"6HJc":function(t,e,n){var r=n("0vT8"),o=n("XtQF"),i=n("rP2c"),a=Object.isSealed;r({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isSealed:function(t){return!i(t)||!!a&&a(t)}})},"6pHA":function(t,e,n){var r=n("ArQy"),o=n("Skmt");t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var i=n.call(t,e);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},"79XA":function(t,e,n){var r=n("g6B6"),o=n("+C+w"),i=n("kbF1"),a=n("qpFR").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},"7FRj":function(t,e,n){"use strict";var r=n("rP2c"),o=n("qpFR"),i=n("yosQ"),a=n("G9lz")("hasInstance"),c=Function.prototype;a in c||o.f(c,a,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=i(t);)if(this.prototype===t)return!0;return!1}})},"7PoR":function(t,e,n){n("0vT8")({target:"Object",stat:!0},{setPrototypeOf:n("nWyh")})},"7oHr":function(t,e,n){"use strict";var r,o=n("0vT8"),i=n("5tsF").f,a=n("eXo2"),c=n("qlPw"),u=n("L0mP"),s=n("hDjE"),f=n("p2x6"),l="".endsWith,p=Math.min,h=s("endsWith");o({target:"String",proto:!0,forced:!(!f&&!h&&(r=i(String.prototype,"endsWith"),r&&!r.writable)||h)},{endsWith:function(t){var e=String(u(this));c(t);var n=arguments.length>1?arguments[1]:void 0,r=a(e.length),o=void 0===n?r:p(a(n),r),i=String(t);return l?l.call(e,i,o):e.slice(o-i.length,o)===i}})},"7pK/":function(t,e,n){var r=n("DoB2"),o=n("UkEg"),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},"8WdQ":function(t,e,n){var r=n("0vT8"),o=n("O1uG"),i=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(t){return o(t)&&i(t)<=9007199254740991}})},"8ZjQ":function(t,e,n){var r=n("4eii"),o=n("d1gM"),i=r["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},"8uRZ":function(t,e,n){var r=n("4eii"),o=n("2VXe"),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},"92yR":function(t,e,n){var r=n("9rgZ"),o=n("ArQy"),i=n("G9lz")("toStringTag"),a="Arguments"==o(function(){return arguments}());t.exports=r?o:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(n){}}(e=Object(t),i))?n:a?o(e):"Object"==(r=o(e))&&"function"==typeof e.callee?"Arguments":r}},"9D1u":function(t,e,n){var r=n("rP2c"),o=n("ArQy"),i=n("G9lz")("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},"9rSH":function(t,e,n){"use strict";var r=n("XtQF");t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},"9rgZ":function(t,e,n){var r={};r[n("G9lz")("toStringTag")]="z",t.exports="[object z]"===String(r)},"9ypw":function(t,e,n){var r=n("4eii"),o=n("Z6qe"),i=n("jMNW"),a=n("+NaH"),c=n("G9lz"),u=c("iterator"),s=c("toStringTag"),f=i.values;for(var l in o){var p=r[l],h=p&&p.prototype;if(h){if(h[u]!==f)try{a(h,u,f)}catch(d){h[u]=f}if(h[s]||a(h,s,l),o[l])for(var v in i)if(h[v]!==i[v])try{a(h,v,i[v])}catch(d){h[v]=i[v]}}}},"A//Y":function(t,e,n){"use strict";var r=n("y5Hs"),o=n("qpFR"),i=n("G9lz"),a=n("ThF5"),c=i("species");t.exports=function(t){var e=r(t);a&&e&&!e[c]&&(0,o.f)(e,c,{configurable:!0,get:function(){return this}})}},ABD5:function(t,e,n){n("79XA")("split")},"ANI/":function(t,e,n){"use strict";var r=n("0vT8"),o=n("x+Se");r({target:"String",proto:!0,forced:n("Kg1r")("fontsize")},{fontsize:function(t){return o(this,"font","size",t)}})},AV8a:function(t,e,n){"use strict";var r=n("0vT8"),o=n("oxl1"),i=n("yosQ"),a=n("nWyh"),c=n("utQb"),u=n("+NaH"),s=n("gGei"),f=n("G9lz"),l=n("p2x6"),p=n("qv8c"),h=n("+q1H"),v=h.IteratorPrototype,d=h.BUGGY_SAFARI_ITERATORS,g=f("iterator"),y=function(){return this};t.exports=function(t,e,n,f,h,m,b){o(n,e,f);var k,T,x,E=function(t){if(t===h&&P)return P;if(!d&&t in w)return w[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},S=e+" Iterator",_=!1,w=t.prototype,O=w[g]||w["@@iterator"]||h&&w[h],P=!d&&O||E(h),j="Array"==e&&w.entries||O;if(j&&(k=i(j.call(new t)),v!==Object.prototype&&k.next&&(l||i(k)===v||(a?a(k,v):"function"!=typeof k[g]&&u(k,g,y)),c(k,S,!0,!0),l&&(p[S]=y))),"values"==h&&O&&"values"!==O.name&&(_=!0,P=function(){return O.call(this)}),l&&!b||w[g]===P||u(w,g,P),p[e]=P,h)if(T={values:E("values"),keys:m?P:E("keys"),entries:E("entries")},b)for(x in T)!d&&!_&&x in w||s(w,x,T[x]);else r({target:e,proto:!0,forced:d||_},T);return T}},AVL7:function(t,e,n){var r=n("0vT8"),o=n("XtQF"),i=n("VUDt"),a=n("yosQ"),c=n("craJ");r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!c},{getPrototypeOf:function(t){return a(i(t))}})},Ap7B:function(t,e,n){"use strict";var r=n("0vT8"),o=n("XNJA"),i=n("VUDt"),a=n("XtQF"),c=n("9rSH"),u=[],s=u.sort,f=a((function(){u.sort(void 0)})),l=a((function(){u.sort(null)})),p=c("sort");r({target:"Array",proto:!0,forced:f||!l||!p},{sort:function(t){return void 0===t?s.call(i(this)):s.call(i(this),o(t))}})},ArQy:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},BehZ:function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},Btv7:function(t,e,n){n("79XA")("asyncIterator")},C8vK:function(t,e,n){"use strict";var r=n("0vT8"),o=n("Skmt");r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},CAbf:function(t,e,n){var r=n("4eii");t.exports=r.Promise},DoB2:function(t,e,n){var r=n("p2x6"),o=n("8ZjQ");(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.4",mode:r?"pure":"global",copyright:"\xa9 2020 Denis Pushkarev (zloirock.ru)"})},"EI+E":function(t,e,n){var r=n("rP2c"),o=n("tx09"),i=n("G9lz")("species");t.exports=function(t,e){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},EoF4:function(t,e,n){var r=n("0vT8"),o=Math.floor,i=Math.log,a=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(t){return(t>>>=0)?31-o(i(t+.5)*a):32}})},Ezqs:function(t,e,n){n("0vT8")({target:"Math",stat:!0},{log1p:n("vSAT")})},F1iM:function(t,e,n){n("Hd1F"),n("R7u8"),n("qWhD"),n("Btv7"),n("r+2N"),n("vExu"),n("564C"),n("VBUz"),n("ps+b"),n("vItB"),n("uLb4"),n("s7qu"),n("Pgr3"),n("ABD5"),n("Y/en"),n("urZ2"),n("ZFHZ"),n("zLr9"),n("nr/g");var r=n("g6B6");t.exports=r.Symbol},F6ip:function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}}},FIoU:function(t,e,n){"use strict";var r,o=n("4eii"),i=n("RBcf"),a=n("q75f"),c=n("pNVf"),u=n("rBtS"),s=n("rP2c"),f=n("pCF3").enforce,l=n("8uRZ"),p=!o.ActiveXObject&&"ActiveXObject"in o,h=Object.isExtensible,v=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},d=t.exports=c("WeakMap",v,u);if(l&&p){r=u.getConstructor(v,"WeakMap",!0),a.REQUIRED=!0;var g=d.prototype,y=g.delete,m=g.has,b=g.get,k=g.set;i(g,{delete:function(t){if(s(t)&&!h(t)){var e=f(this);return e.frozen||(e.frozen=new r),y.call(this,t)||e.frozen.delete(t)}return y.call(this,t)},has:function(t){if(s(t)&&!h(t)){var e=f(this);return e.frozen||(e.frozen=new r),m.call(this,t)||e.frozen.has(t)}return m.call(this,t)},get:function(t){if(s(t)&&!h(t)){var e=f(this);return e.frozen||(e.frozen=new r),m.call(this,t)?b.call(this,t):e.frozen.get(t)}return b.call(this,t)},set:function(t,e){if(s(t)&&!h(t)){var n=f(this);n.frozen||(n.frozen=new r),m.call(this,t)?k.call(this,t,e):n.frozen.set(t,e)}else k.call(this,t,e);return this}})}},Fcgu:function(t,e,n){"use strict";var r=n("0vT8"),o=n("s7Qr").map,i=n("LQxa"),a=n("X4rX"),c=i("map"),u=a("map");r({target:"Array",proto:!0,forced:!c||!u},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},G9lz:function(t,e,n){var r=n("4eii"),o=n("DoB2"),i=n("+C+w"),a=n("UkEg"),c=n("lcFv"),u=n("1BS+"),s=o("wks"),f=r.Symbol,l=u?f:f&&f.withoutSetter||a;t.exports=function(t){return i(s,t)||(s[t]=c&&i(f,t)?f[t]:l("Symbol."+t)),s[t]}},GZNO:function(t,e,n){n("0vT8")({target:"Object",stat:!0},{is:n("TC5Z")})},Hd1F:function(t,e,n){"use strict";var r=n("0vT8"),o=n("XtQF"),i=n("tx09"),a=n("rP2c"),c=n("VUDt"),u=n("eXo2"),s=n("51+R"),f=n("EI+E"),l=n("LQxa"),p=n("G9lz"),h=n("lANf"),v=p("isConcatSpreadable"),d=h>=51||!o((function(){var t=[];return t[v]=!1,t.concat()[0]!==t})),g=l("concat"),y=function(t){if(!a(t))return!1;var e=t[v];return void 0!==e?!!e:i(t)};r({target:"Array",proto:!0,forced:!d||!g},{concat:function(t){var e,n,r,o,i,a=c(this),l=f(a,0),p=0;for(e=-1,r=arguments.length;e9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n=9007199254740991)throw TypeError("Maximum allowed index exceeded");s(l,p++,i)}return l.length=p,l}})},Hshb:function(t,e,n){"use strict";var r=n("ThF5"),o=n("XtQF"),i=n("VQs6"),a=n("X1th"),c=n("WHJo"),u=n("VUDt"),s=n("tH9H"),f=Object.assign,l=Object.defineProperty;t.exports=!f||o((function(){if(r&&1!==f({b:1},f(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol();return t[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=f({},t)[n]||"abcdefghijklmnopqrst"!=i(f({},e)).join("")}))?function(t,e){for(var n=u(t),o=arguments.length,f=1,l=a.f,p=c.f;o>f;)for(var h,v=s(arguments[f++]),d=l?i(v).concat(l(v)):i(v),g=d.length,y=0;g>y;)h=d[y++],r&&!p.call(v,h)||(n[h]=v[h]);return n}:f},I0iV:function(t,e,n){"use strict";var r=n("0vT8"),o=n("x+Se");r({target:"String",proto:!0,forced:n("Kg1r")("sup")},{sup:function(){return o(this,"sup","","")}})},IgI0:function(t,e){t.exports={}},"J+mE":function(t,e,n){var r=n("XtQF"),o=n("ZKm/");t.exports=function(t){return r((function(){return!!o[t]()||"\u200b\x85\u180e"!="\u200b\x85\u180e"[t]()||o[t].name!==t}))}},JBtQ:function(t,e,n){"use strict";var r=n("0vT8"),o=n("x+Se");r({target:"String",proto:!0,forced:n("Kg1r")("italics")},{italics:function(){return o(this,"i","","")}})},JMzg:function(t,e,n){"use strict";var r,o=n("0vT8"),i=n("5tsF").f,a=n("eXo2"),c=n("qlPw"),u=n("L0mP"),s=n("hDjE"),f=n("p2x6"),l="".startsWith,p=Math.min,h=s("startsWith");o({target:"String",proto:!0,forced:!(!f&&!h&&(r=i(String.prototype,"startsWith"),r&&!r.writable)||h)},{startsWith:function(t){var e=String(u(this));c(t);var n=a(p(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return l?l.call(e,r,n):e.slice(n,n+r.length)===r}})},JZ5z:function(t,e,n){var r=n("UET0");t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(a){var i=t.return;throw void 0!==i&&r(i.call(t)),a}}},JvUV:function(t,e,n){var r=n("0vT8"),o=n("oTBo"),i=n("YxED");r({target:"Array",proto:!0},{copyWithin:o}),i("copyWithin")},JwcT:function(t,e,n){"use strict";var r=n("0vT8"),o=n("s7Qr").filter,i=n("LQxa"),a=n("X4rX"),c=i("filter"),u=a("filter");r({target:"Array",proto:!0,forced:!c||!u},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},KSpI:function(t,e,n){var r=n("UET0"),o=n("tTCw"),i=n("eXo2"),a=n("xwki"),c=n("YtfA"),u=n("JZ5z"),s=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,e,n,f,l){var p,h,v,d,g,y,m,b=a(e,n,f?2:1);if(l)p=t;else{if("function"!=typeof(h=c(t)))throw TypeError("Target is not iterable");if(o(h)){for(v=0,d=i(t.length);d>v;v++)if((g=f?b(r(m=t[v])[0],m[1]):b(t[v]))&&g instanceof s)return g;return new s(!1)}p=h.call(t)}for(y=p.next;!(m=y.call(p)).done;)if("object"==typeof(g=u(p,b,m.value,f))&&g&&g instanceof s)return g;return new s(!1)}).stop=function(t){return new s(!0,t)}},Kdyt:function(t,e,n){var r=n("UET0"),o=n("XNJA"),i=n("G9lz")("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[i])?e:o(n)}},Kg1r:function(t,e,n){var r=n("XtQF");t.exports=function(t){return r((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},L0mP:function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},"LJ+p":function(t,e){var n=Math.expm1,r=Math.exp;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:r(t)-1}:n},LQxa:function(t,e,n){var r=n("XtQF"),o=n("G9lz"),i=n("lANf"),a=o("species");t.exports=function(t){return i>=51||!r((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},LjPG:function(t,e,n){"use strict";var r=n("0vT8"),o=n("x+Se");r({target:"String",proto:!0,forced:n("Kg1r")("big")},{big:function(){return o(this,"big","","")}})},Lyq5:function(t,e,n){var r=n("0vT8"),o=n("TQiC");r({target:"Number",stat:!0,forced:Number.parseFloat!=o},{parseFloat:o})},MKQa:function(t,e,n){var r=n("0vT8"),o=Math.asinh,i=Math.log,a=Math.sqrt;r({target:"Math",stat:!0,forced:!(o&&1/o(0)>0)},{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):i(e+a(e*e+1)):e}})},"Nf+e":function(t,e,n){var r=n("ArQy");t.exports=function(t){if("number"!=typeof t&&"Number"!=r(t))throw TypeError("Incorrect invocation");return+t}},NneG:function(t,e,n){"use strict";var r=n("qpFR").f,o=n("dYyi"),i=n("RBcf"),a=n("xwki"),c=n("BehZ"),u=n("KSpI"),s=n("AV8a"),f=n("A//Y"),l=n("ThF5"),p=n("q75f").fastKey,h=n("pCF3"),v=h.set,d=h.getterFor;t.exports={getConstructor:function(t,e,n,s){var f=t((function(t,r){c(t,f,e),v(t,{type:e,index:o(null),first:void 0,last:void 0,size:0}),l||(t.size=0),null!=r&&u(r,t[s],t,n)})),h=d(e),g=function(t,e,n){var r,o,i=h(t),a=y(t,e);return a?a.value=n:(i.last=a={index:o=p(e,!0),key:e,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),l?i.size++:t.size++,"F"!==o&&(i.index[o]=a)),t},y=function(t,e){var n,r=h(t),o=p(e);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==e)return n};return i(f.prototype,{clear:function(){for(var t=h(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,l?t.size=0:this.size=0},delete:function(t){var e=h(this),n=y(this,t);if(n){var r=n.next,o=n.previous;delete e.index[n.index],n.removed=!0,o&&(o.next=r),r&&(r.previous=o),e.first==n&&(e.first=r),e.last==n&&(e.last=o),l?e.size--:this.size--}return!!n},forEach:function(t){for(var e,n=h(this),r=a(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!y(this,t)}}),i(f.prototype,n?{get:function(t){var e=y(this,t);return e&&e.value},set:function(t,e){return g(this,0===t?0:t,e)}}:{add:function(t){return g(this,t=0===t?0:t,t)}}),l&&r(f.prototype,"size",{get:function(){return h(this).size}}),f},setStrong:function(t,e,n){var r=e+" Iterator",o=d(e),i=d(r);s(t,e,(function(t,e){v(this,{type:r,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),f(e)}}},NyaS:function(t,e,n){var r=n("yMQa");t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},O1uG:function(t,e,n){var r=n("rP2c"),o=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&o(t)===t}},OE6s:function(t,e,n){"use strict";var r=n("0vT8"),o=n("x+Se");r({target:"String",proto:!0,forced:n("Kg1r")("bold")},{bold:function(){return o(this,"b","","")}})},Ofvt:function(t,e,n){"use strict";var r=n("0vT8"),o=n("rP2c"),i=n("tx09"),a=n("eFwx"),c=n("eXo2"),u=n("V3ap"),s=n("51+R"),f=n("G9lz"),l=n("LQxa"),p=n("X4rX"),h=l("slice"),v=p("slice",{ACCESSORS:!0,0:0,1:2}),d=f("species"),g=[].slice,y=Math.max;r({target:"Array",proto:!0,forced:!h||!v},{slice:function(t,e){var n,r,f,l=u(this),p=c(l.length),h=a(t,p),v=a(void 0===e?p:e,p);if(i(l)&&("function"!=typeof(n=l.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[d])&&(n=void 0):n=void 0,n===Array||void 0===n))return g.call(l,h,v);for(r=new(void 0===n?Array:n)(y(v-h,0)),f=0;hc;)a.push(String(e[c++])),c0&&(!a.multiline||a.multiline&&"\n"!==t[a.lastIndex-1])&&(v="(?: "+v+")",g=" "+g,d++),n=new RegExp("^(?:"+v+")",h)),p&&(n=new RegExp("^"+v+"$(?!\\s)",h)),f&&(e=a.lastIndex),r=c.call(s?n:a,g),s?r?(r.input=r.input.slice(d),r[0]=r[0].slice(d),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:f&&r&&(a.lastIndex=a.global?r.index+r[0].length:e),p&&r&&r.length>1&&u.call(r[0],n,(function(){for(o=1;o=0;)p[e]=s((n+=p[e])/t),n=n%t*1e7},y=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==p[t]){var n=String(p[t]);e=""===e?n:e+a.call("0",7-n.length)+n}return e};if(l<0||l>20)throw RangeError("Incorrect fraction digits");if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(h="-",u=-u),u>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(u*f(2,69,1))-69)<0?u*f(2,-e,1):u/f(2,e,1),n*=4503599627370496,(e=52-e)>0){for(d(0,n),r=l;r>=7;)d(1e7,0),r-=7;for(d(f(10,r,1),0),r=e-1;r>=23;)g(1<<23),r-=23;g(1<0?h+((c=v.length)<=l?"0."+a.call("0",l-c)+v:v.slice(0,c-l)+"."+v.slice(c-l)):h+v}})},UkEg:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},Uure:function(t,e,n){var r=n("4eii").isFinite;t.exports=Number.isFinite||function(t){return"number"==typeof t&&r(t)}},V3ap:function(t,e,n){var r=n("tH9H"),o=n("L0mP");t.exports=function(t){return r(o(t))}},V7Uj:function(t,e,n){"use strict";var r=n("0vT8"),o=n("x+Se");r({target:"String",proto:!0,forced:n("Kg1r")("fontcolor")},{fontcolor:function(t){return o(this,"font","color",t)}})},VBUz:function(t,e,n){n("79XA")("iterator")},VCHe:function(t,e,n){var r=n("XtQF");t.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},VQs6:function(t,e,n){var r=n("gQA2"),o=n("dKk4");t.exports=Object.keys||function(t){return r(t,o)}},VUDt:function(t,e,n){var r=n("L0mP");t.exports=function(t){return Object(r(t))}},"VfW/":function(t,e,n){var r=n("L0mP"),o="["+n("ZKm/")+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),c=function(t){return function(e){var n=String(r(e));return 1&t&&(n=n.replace(i,"")),2&t&&(n=n.replace(a,"")),n}};t.exports={start:c(1),end:c(2),trim:c(3)}},Vx7H:function(t,e,n){var r=n("ThF5"),o=n("qpFR"),i=n("UET0"),a=n("VQs6");t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=a(e),c=r.length,u=0;c>u;)o.f(t,n=r[u++],e[n]);return t}},W3Kz:function(t,e,n){var r=n("eXo2"),o=n("/Wjk"),i=n("L0mP"),a=Math.ceil,c=function(t){return function(e,n,c){var u,s,f=String(i(e)),l=f.length,p=void 0===c?" ":String(c),h=r(n);return h<=l||""==p?f:((s=o.call(p,a((u=h-l)/p.length))).length>u&&(s=s.slice(0,u)),t?f+s:s+f)}};t.exports={start:c(!1),end:c(!0)}},WHJo:function(t,e,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:r},Ww1t:function(t,e,n){"use strict";var r=n("V3ap"),o=n("lYWO"),i=n("eXo2"),a=n("9rSH"),c=n("X4rX"),u=Math.min,s=[].lastIndexOf,f=!!s&&1/[1].lastIndexOf(1,-0)<0,l=a("lastIndexOf"),p=c("indexOf",{ACCESSORS:!0,1:0});t.exports=!f&&l&&p?s:function(t){if(f)return s.apply(this,arguments)||0;var e=r(this),n=i(e.length),a=n-1;for(arguments.length>1&&(a=u(a,o(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in e&&e[a]===t)return a||0;return-1}},X1th:function(t,e){e.f=Object.getOwnPropertySymbols},X4rX:function(t,e,n){var r=n("ThF5"),o=n("XtQF"),i=n("+C+w"),a=Object.defineProperty,c={},u=function(t){throw t};t.exports=function(t,e){if(i(c,t))return c[t];e||(e={});var n=[][t],s=!!i(e,"ACCESSORS")&&e.ACCESSORS,f=i(e,0)?e[0]:u,l=i(e,1)?e[1]:void 0;return c[t]=!!n&&!o((function(){if(s&&!r)return!0;var t={length:-1};s?a(t,1,{enumerable:!0,get:u}):t[1]=1,n.call(t,f,l)}))}},XNJA:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},XtQF:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"Y/en":function(t,e,n){n("79XA")("toPrimitive")},Y8n2:function(t,e,n){var r=n("0vT8"),o=Math.log,i=Math.LN2;r({target:"Math",stat:!0},{log2:function(t){return o(t)/i}})},Yr4I:function(t,e,n){"use strict";var r=n("0vT8"),o=n("x+Se");r({target:"String",proto:!0,forced:n("Kg1r")("small")},{small:function(){return o(this,"small","","")}})},YtfA:function(t,e,n){var r=n("92yR"),o=n("qv8c"),i=n("G9lz")("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},YxED:function(t,e,n){var r=n("G9lz"),o=n("dYyi"),i=n("qpFR"),a=r("unscopables"),c=Array.prototype;null==c[a]&&i.f(c,a,{configurable:!0,value:o(null)}),t.exports=function(t){c[a][t]=!0}},Z5iX:function(t,e,n){"use strict";var r=n("0vT8"),o=n("mXzy").right,i=n("9rSH"),a=n("X4rX"),c=i("reduceRight"),u=a("reduce",{1:0});r({target:"Array",proto:!0,forced:!c||!u},{reduceRight:function(t){return o(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},Z6qe:function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},ZFHZ:function(t,e,n){n("79XA")("unscopables")},"ZKm/":function(t,e){t.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},Zm5N:function(t,e,n){"use strict";n("C8vK");var r=n("gGei"),o=n("XtQF"),i=n("G9lz"),a=n("Skmt"),c=n("+NaH"),u=i("species"),s=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")})),f="$0"==="a".replace(/./,"$0"),l=i("replace"),p=!!/./[l]&&""===/./[l]("a","$0"),h=!o((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));t.exports=function(t,e,n,l){var v=i(t),d=!o((function(){var e={};return e[v]=function(){return 7},7!=""[t](e)})),g=d&&!o((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[v]=/./[v]),n.exec=function(){return e=!0,null},n[v](""),!e}));if(!d||!g||"replace"===t&&(!s||!f||p)||"split"===t&&!h){var y=/./[v],m=n(v,""[t],(function(t,e,n,r,o){return e.exec===a?d&&!o?{done:!0,value:y.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:f,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),b=m[1];r(String.prototype,t,m[0]),r(RegExp.prototype,v,2==e?function(t,e){return b.call(t,this,e)}:function(t){return b.call(t,this)})}l&&c(RegExp.prototype[v],"sham",!0)}},a9aE:function(t,e,n){"use strict";var r=n("Zm5N"),o=n("UET0"),i=n("eXo2"),a=n("L0mP"),c=n("1ul8"),u=n("6pHA");r("match",1,(function(t,e,n){return[function(e){var n=a(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var a=o(t),s=String(this);if(!a.global)return u(a,s);var f=a.unicode;a.lastIndex=0;for(var l,p=[],h=0;null!==(l=u(a,s));){var v=String(l[0]);p[h]=v,""===v&&(a.lastIndex=c(s,i(a.lastIndex),f)),h++}return 0===h?null:p}]}))},aLkt:function(t,e,n){var r=n("0vT8"),o=Math.ceil,i=Math.floor;r({target:"Math",stat:!0},{trunc:function(t){return(t>0?i:o)(t)}})},bFNe:function(t,e,n){"use strict";var r=n("pNVf"),o=n("NneG");t.exports=r("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),o)},bVE6:function(t,e,n){var r=n("0vT8"),o=n("XtQF"),i=n("LJ+p"),a=Math.abs,c=Math.exp,u=Math.E;r({target:"Math",stat:!0,forced:o((function(){return-2e-17!=Math.sinh(-2e-17)}))},{sinh:function(t){return a(t=+t)<1?(i(t)-i(-t))/2:(c(t-1)-c(-t-1))*(u/2)}})},bxYA:function(t,e,n){"use strict";var r=n("0vT8"),o=n("x+Se");r({target:"String",proto:!0,forced:n("Kg1r")("fixed")},{fixed:function(){return o(this,"tt","","")}})},c8b2:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},chez:function(t,e,n){"use strict";var r=n("UET0"),o=n("x42P");t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return o(r(this),"number"!==t)}},craJ:function(t,e,n){var r=n("XtQF");t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},d1VG:function(t,e,n){n("0vT8")({target:"Math",stat:!0},{fround:n("62Jg")})},d1Z5:function(t,e,n){n("rEpP"),n("PMJG"),n("5b4b"),n("0Eps"),n("kjjh"),n("8WdQ"),n("iEbv"),n("sPQT"),n("Lyq5"),n("ff4A"),n("Ujke"),n("mqXI");var r=n("g6B6");t.exports=r.Number},d1gM:function(t,e,n){var r=n("4eii"),o=n("+NaH");t.exports=function(t,e){try{o(r,t,e)}catch(n){r[t]=e}return e}},d8kk:function(t,e,n){"use strict";var r=n("xwki"),o=n("VUDt"),i=n("JZ5z"),a=n("tTCw"),c=n("eXo2"),u=n("51+R"),s=n("YtfA");t.exports=function(t){var e,n,f,l,p,h,v=o(t),d="function"==typeof this?this:Array,g=arguments.length,y=g>1?arguments[1]:void 0,m=void 0!==y,b=s(v),k=0;if(m&&(y=r(y,g>2?arguments[2]:void 0,2)),null==b||d==Array&&a(b))for(n=new d(e=c(v.length));e>k;k++)h=m?y(v[k],k):v[k],u(n,k,h);else for(p=(l=b.call(v)).next,n=new d;!(f=p.call(l)).done;k++)h=m?i(l,y,[f.value,k],!0):f.value,u(n,k,h);return n.length=k,n}},dKk4:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},dRGF:function(t,e,n){"use strict";var r=n("0vT8"),o=n("x+Se");r({target:"String",proto:!0,forced:n("Kg1r")("strike")},{strike:function(){return o(this,"strike","","")}})},dYyi:function(t,e,n){var r,o=n("UET0"),i=n("Vx7H"),a=n("dKk4"),c=n("IgI0"),u=n("yjCV"),s=n("0O2A"),f=n("7pK/")("IE_PROTO"),l=function(){},p=function(t){return"