From 2d7dbb9ec3c16f411abc94345db2681e52fcbc0d Mon Sep 17 00:00:00 2001 From: taiga-family-bot <140712314+taiga-family-bot@users.noreply.github.com> Date: Wed, 29 Nov 2023 07:09:37 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20taiga-fa?= =?UTF-8?q?mily/maskito@45a8afeb5df2a0e45ac17cf2a93db217a37e2125=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ....js => 1103-es2015.fe0bb1bbf3be3bcf7960.js | 0 ...08c.js => 1103-es5.fe0bb1bbf3be3bcf7960.js | 0 ....js => 1326-es2015.341f3cd827b4dffb7f7c.js | 0 ...a39.js => 1326-es5.341f3cd827b4dffb7f7c.js | 0 ....js => 1434-es2015.aa846f203e9116a9a04f.js | 0 ...922.js => 1434-es5.aa846f203e9116a9a04f.js | 0 ....js => 1510-es2015.74d9e688cd2dcf6eb641.js | 0 ...b14.js => 1510-es5.74d9e688cd2dcf6eb641.js | 0 ....js => 2022-es2015.9bc057b7def41aea3c8d.js | 0 ...7df.js => 2022-es5.9bc057b7def41aea3c8d.js | 0 ....js => 2139-es2015.65e40bf444b1198067ff.js | 0 ...0d8.js => 2139-es5.65e40bf444b1198067ff.js | 0 ....js => 2473-es2015.d169040c7af25dfb9797.js | 0 ...931.js => 2473-es5.d169040c7af25dfb9797.js | 0 ....js => 3276-es2015.96bef8582270cf8e5bf8.js | 0 ...97b.js => 3276-es5.96bef8582270cf8e5bf8.js | 0 ....js => 3355-es2015.7366b3dfd3c52d3dcac1.js | 0 ...f3f.js => 3355-es5.7366b3dfd3c52d3dcac1.js | 0 ....js => 3506-es2015.fe43a031080a9a5def74.js | 0 ...81f.js => 3506-es5.fe43a031080a9a5def74.js | 0 ....js => 3820-es2015.36a7db2108ecc858dfb3.js | 0 ...98c.js => 3820-es5.36a7db2108ecc858dfb3.js | 0 ....js => 4272-es2015.ef4b9101aba3e45c036d.js | 0 ...156.js => 4272-es5.ef4b9101aba3e45c036d.js | 0 ...6.js => 439-es2015.ceede67bef0825cfc6f6.js | 0 ...3516.js => 439-es5.ceede67bef0825cfc6f6.js | 0 ....js => 4533-es2015.839f938073f2bed72e79.js | 0 ...3d7.js => 4533-es5.839f938073f2bed72e79.js | 0 ....js => 5115-es2015.c204bd1b535362314193.js | 0 ...646.js => 5115-es5.c204bd1b535362314193.js | 0 ....js => 5380-es2015.a7434c7e0f8cd47decce.js | 0 ...452.js => 5380-es5.a7434c7e0f8cd47decce.js | 0 ....js => 5439-es2015.7b96819e16ce3059a797.js | 0 ...16f.js => 5439-es5.7b96819e16ce3059a797.js | 0 ...97.js => 55-es2015.bfddfba4c7e0e9027bb4.js | 0 ...11897.js => 55-es5.bfddfba4c7e0e9027bb4.js | 0 ....js => 5828-es2015.126da2218bad97b85f52.js | 0 ...b70.js => 5828-es5.126da2218bad97b85f52.js | 0 ....js => 6180-es2015.88e42c651deaa01471fd.js | 0 ...dd0.js => 6180-es5.88e42c651deaa01471fd.js | 0 ....js => 6275-es2015.bdb81442e08ec01f9cb2.js | 0 ...b32.js => 6275-es5.bdb81442e08ec01f9cb2.js | 0 ....js => 6549-es2015.a6e464dfd2e0ce7be52a.js | 0 ...e8e.js => 6549-es5.a6e464dfd2e0ce7be52a.js | 0 ....js => 7027-es2015.528851f35e88e7eb82d0.js | 0 ...a11.js => 7027-es5.528851f35e88e7eb82d0.js | 0 ....js => 7057-es2015.8698b1eb0c3487c7d0eb.js | 0 ...a63.js => 7057-es5.8698b1eb0c3487c7d0eb.js | 0 ....js => 7989-es2015.d54616aa055f0e9efee2.js | 0 ...9d7.js => 7989-es5.d54616aa055f0e9efee2.js | 0 ....js => 8642-es2015.901e3d108c7c73cb46ce.js | 0 ...442.js => 8642-es5.901e3d108c7c73cb46ce.js | 0 ....js => 9176-es2015.22a463c8ddb972f26d4b.js | 0 ...678.js => 9176-es5.22a463c8ddb972f26d4b.js | 0 ....js => 9380-es2015.f35231a557885a2d9c6d.js | 0 ...a1a.js => 9380-es5.f35231a557885a2d9c6d.js | 0 ....js => 9544-es2015.96066337039564bbf032.js | 0 ...aa8.js => 9544-es5.96066337039564bbf032.js | 0 addons/phone/API/index.html | 10 +-- addons/phone/index.html | 40 +++++------ assets/taiga-ui/icons/tuiIconCloseOutline.svg | 22 ++++++ .../icons/tuiIconElectronMonoOutline.svg | 51 ++++++++++++++ .../taiga-ui/icons/tuiIconMirMonoOutline.svg | 28 ++++++++ .../taiga-ui/icons/tuiIconVisaMonoOutline.svg | 29 ++++++++ browser-support/index.html | 10 +-- changelog/index.html | 10 +-- core-concepts/element-state/index.html | 12 ++-- core-concepts/mask-expression/index.html | 20 +++--- core-concepts/overview/index.html | 12 ++-- core-concepts/overwrite-mode/index.html | 46 ++++++------- core-concepts/plugins/index.html | 22 +++--- core-concepts/processors/index.html | 20 +++--- core-concepts/transformer/index.html | 12 ++-- cypress/index.html | 8 +-- frameworks/angular/Setup/index.html | 16 ++--- frameworks/angular/index.html | 42 ++++++------ frameworks/react/index.html | 26 +++---- frameworks/vue/index.html | 22 +++--- getting-started/maskito-libraries/index.html | 22 +++--- getting-started/what-is-maskito/index.html | 8 +-- index.html | 10 +-- index.original.html | 4 +- kit/date-range/API/index.html | 10 +-- kit/date-range/index.html | 58 ++++++++-------- kit/date-time/API/index.html | 10 +-- kit/date-time/index.html | 34 +++++----- kit/date/API/index.html | 10 +-- kit/date/index.html | 34 +++++----- kit/number/API/index.html | 10 +-- kit/number/index.html | 68 +++++++++---------- kit/time/API/index.html | 10 +-- kit/time/index.html | 34 +++++----- main-es2015.20c2dd3bb2d182f44365.js | 1 + main-es2015.728826181a286a68e2c3.js | 1 - main-es5.20c2dd3bb2d182f44365.js | 1 + main-es5.728826181a286a68e2c3.js | 1 - recipes/card/index.html | 16 ++--- recipes/phone/index.html | 34 +++++----- recipes/placeholder/index.html | 40 +++++------ recipes/postfix/index.html | 34 +++++----- recipes/prefix/index.html | 34 +++++----- recipes/textarea/index.html | 26 +++---- runtime-es2015.2d3125d15684c8a0ebb2.js | 1 + runtime-es2015.a495d36410de7dd5acb7.js | 1 - runtime-es5.2d3125d15684c8a0ebb2.js | 1 + runtime-es5.a495d36410de7dd5acb7.js | 1 - stackblitz/index.html | 8 +-- styles.f52d0b241e64ac9f7bd9.css | 1 - styles.ffd7c6e55bad49bdeece.css | 1 + 109 files changed, 556 insertions(+), 426 deletions(-) rename 1103-es2015.85831e828a782d97108c.js => 1103-es2015.fe0bb1bbf3be3bcf7960.js (100%) rename 1103-es5.85831e828a782d97108c.js => 1103-es5.fe0bb1bbf3be3bcf7960.js (100%) rename 1326-es2015.8d93b9afe79e05f1fa39.js => 1326-es2015.341f3cd827b4dffb7f7c.js (100%) rename 1326-es5.8d93b9afe79e05f1fa39.js => 1326-es5.341f3cd827b4dffb7f7c.js (100%) rename 1434-es2015.eac8ab94bd1a37d47922.js => 1434-es2015.aa846f203e9116a9a04f.js (100%) rename 1434-es5.eac8ab94bd1a37d47922.js => 1434-es5.aa846f203e9116a9a04f.js (100%) rename 1510-es2015.557d417252b251cd5b14.js => 1510-es2015.74d9e688cd2dcf6eb641.js (100%) rename 1510-es5.557d417252b251cd5b14.js => 1510-es5.74d9e688cd2dcf6eb641.js (100%) rename 2022-es2015.6800e09f408c6d0347df.js => 2022-es2015.9bc057b7def41aea3c8d.js (100%) rename 2022-es5.6800e09f408c6d0347df.js => 2022-es5.9bc057b7def41aea3c8d.js (100%) rename 2139-es2015.6df32a4360396563f0d8.js => 2139-es2015.65e40bf444b1198067ff.js (100%) rename 2139-es5.6df32a4360396563f0d8.js => 2139-es5.65e40bf444b1198067ff.js (100%) rename 2473-es2015.969cfcc10993ec9de931.js => 2473-es2015.d169040c7af25dfb9797.js (100%) rename 2473-es5.969cfcc10993ec9de931.js => 2473-es5.d169040c7af25dfb9797.js (100%) rename 3276-es2015.b7749ba46fb8bc0ed97b.js => 3276-es2015.96bef8582270cf8e5bf8.js (100%) rename 3276-es5.b7749ba46fb8bc0ed97b.js => 3276-es5.96bef8582270cf8e5bf8.js (100%) rename 3355-es2015.478ac05cc7453f4b5f3f.js => 3355-es2015.7366b3dfd3c52d3dcac1.js (100%) rename 3355-es5.478ac05cc7453f4b5f3f.js => 3355-es5.7366b3dfd3c52d3dcac1.js (100%) rename 3506-es2015.73dd9ba2d5b16ff1081f.js => 3506-es2015.fe43a031080a9a5def74.js (100%) rename 3506-es5.73dd9ba2d5b16ff1081f.js => 3506-es5.fe43a031080a9a5def74.js (100%) rename 3820-es2015.4bd7ba62a03c74f1898c.js => 3820-es2015.36a7db2108ecc858dfb3.js (100%) rename 3820-es5.4bd7ba62a03c74f1898c.js => 3820-es5.36a7db2108ecc858dfb3.js (100%) rename 4272-es2015.2ec4b8fb6822d1a50156.js => 4272-es2015.ef4b9101aba3e45c036d.js (100%) rename 4272-es5.2ec4b8fb6822d1a50156.js => 4272-es5.ef4b9101aba3e45c036d.js (100%) rename 439-es2015.3cf99a3d0b2e97503516.js => 439-es2015.ceede67bef0825cfc6f6.js (100%) rename 439-es5.3cf99a3d0b2e97503516.js => 439-es5.ceede67bef0825cfc6f6.js (100%) rename 4533-es2015.47c7f967a9b7a66d43d7.js => 4533-es2015.839f938073f2bed72e79.js (100%) rename 4533-es5.47c7f967a9b7a66d43d7.js => 4533-es5.839f938073f2bed72e79.js (100%) rename 5115-es2015.829462399cb42cf19646.js => 5115-es2015.c204bd1b535362314193.js (100%) rename 5115-es5.829462399cb42cf19646.js => 5115-es5.c204bd1b535362314193.js (100%) rename 5380-es2015.c64854e42206ee5b8452.js => 5380-es2015.a7434c7e0f8cd47decce.js (100%) rename 5380-es5.c64854e42206ee5b8452.js => 5380-es5.a7434c7e0f8cd47decce.js (100%) rename 5439-es2015.b13ce56a9c91371fd16f.js => 5439-es2015.7b96819e16ce3059a797.js (100%) rename 5439-es5.b13ce56a9c91371fd16f.js => 5439-es5.7b96819e16ce3059a797.js (100%) rename 55-es2015.8b19aeafad8b05a11897.js => 55-es2015.bfddfba4c7e0e9027bb4.js (100%) rename 55-es5.8b19aeafad8b05a11897.js => 55-es5.bfddfba4c7e0e9027bb4.js (100%) rename 5828-es2015.ab8928bc056e28227b70.js => 5828-es2015.126da2218bad97b85f52.js (100%) rename 5828-es5.ab8928bc056e28227b70.js => 5828-es5.126da2218bad97b85f52.js (100%) rename 6180-es2015.7b9cc138b27e517bbdd0.js => 6180-es2015.88e42c651deaa01471fd.js (100%) rename 6180-es5.7b9cc138b27e517bbdd0.js => 6180-es5.88e42c651deaa01471fd.js (100%) rename 6275-es2015.47a563accbe77aa06b32.js => 6275-es2015.bdb81442e08ec01f9cb2.js (100%) rename 6275-es5.47a563accbe77aa06b32.js => 6275-es5.bdb81442e08ec01f9cb2.js (100%) rename 6549-es2015.8baa1ec3ea3dfa255e8e.js => 6549-es2015.a6e464dfd2e0ce7be52a.js (100%) rename 6549-es5.8baa1ec3ea3dfa255e8e.js => 6549-es5.a6e464dfd2e0ce7be52a.js (100%) rename 7027-es2015.f78d80307d56049f7a11.js => 7027-es2015.528851f35e88e7eb82d0.js (100%) rename 7027-es5.f78d80307d56049f7a11.js => 7027-es5.528851f35e88e7eb82d0.js (100%) rename 7057-es2015.5113505c60b5c198ba63.js => 7057-es2015.8698b1eb0c3487c7d0eb.js (100%) rename 7057-es5.5113505c60b5c198ba63.js => 7057-es5.8698b1eb0c3487c7d0eb.js (100%) rename 7989-es2015.fb4a878ef4702ebae9d7.js => 7989-es2015.d54616aa055f0e9efee2.js (100%) rename 7989-es5.fb4a878ef4702ebae9d7.js => 7989-es5.d54616aa055f0e9efee2.js (100%) rename 8642-es2015.3826e3da1ffbd5a8f442.js => 8642-es2015.901e3d108c7c73cb46ce.js (100%) rename 8642-es5.3826e3da1ffbd5a8f442.js => 8642-es5.901e3d108c7c73cb46ce.js (100%) rename 9176-es2015.141724e8c916f0856678.js => 9176-es2015.22a463c8ddb972f26d4b.js (100%) rename 9176-es5.141724e8c916f0856678.js => 9176-es5.22a463c8ddb972f26d4b.js (100%) rename 9380-es2015.01e1810f19b5f396da1a.js => 9380-es2015.f35231a557885a2d9c6d.js (100%) rename 9380-es5.01e1810f19b5f396da1a.js => 9380-es5.f35231a557885a2d9c6d.js (100%) rename 9544-es2015.6dd0e144ec5834a9eaa8.js => 9544-es2015.96066337039564bbf032.js (100%) rename 9544-es5.6dd0e144ec5834a9eaa8.js => 9544-es5.96066337039564bbf032.js (100%) create mode 100644 assets/taiga-ui/icons/tuiIconCloseOutline.svg create mode 100644 assets/taiga-ui/icons/tuiIconElectronMonoOutline.svg create mode 100644 assets/taiga-ui/icons/tuiIconMirMonoOutline.svg create mode 100644 assets/taiga-ui/icons/tuiIconVisaMonoOutline.svg create mode 100644 main-es2015.20c2dd3bb2d182f44365.js delete mode 100644 main-es2015.728826181a286a68e2c3.js create mode 100644 main-es5.20c2dd3bb2d182f44365.js delete mode 100644 main-es5.728826181a286a68e2c3.js create mode 100644 runtime-es2015.2d3125d15684c8a0ebb2.js delete mode 100644 runtime-es2015.a495d36410de7dd5acb7.js create mode 100644 runtime-es5.2d3125d15684c8a0ebb2.js delete mode 100644 runtime-es5.a495d36410de7dd5acb7.js delete mode 100644 styles.f52d0b241e64ac9f7bd9.css create mode 100644 styles.ffd7c6e55bad49bdeece.css diff --git a/1103-es2015.85831e828a782d97108c.js b/1103-es2015.fe0bb1bbf3be3bcf7960.js similarity index 100% rename from 1103-es2015.85831e828a782d97108c.js rename to 1103-es2015.fe0bb1bbf3be3bcf7960.js diff --git a/1103-es5.85831e828a782d97108c.js b/1103-es5.fe0bb1bbf3be3bcf7960.js similarity index 100% rename from 1103-es5.85831e828a782d97108c.js rename to 1103-es5.fe0bb1bbf3be3bcf7960.js diff --git a/1326-es2015.8d93b9afe79e05f1fa39.js b/1326-es2015.341f3cd827b4dffb7f7c.js similarity index 100% rename from 1326-es2015.8d93b9afe79e05f1fa39.js rename to 1326-es2015.341f3cd827b4dffb7f7c.js diff --git a/1326-es5.8d93b9afe79e05f1fa39.js b/1326-es5.341f3cd827b4dffb7f7c.js similarity index 100% rename from 1326-es5.8d93b9afe79e05f1fa39.js rename to 1326-es5.341f3cd827b4dffb7f7c.js diff --git a/1434-es2015.eac8ab94bd1a37d47922.js b/1434-es2015.aa846f203e9116a9a04f.js similarity index 100% rename from 1434-es2015.eac8ab94bd1a37d47922.js rename to 1434-es2015.aa846f203e9116a9a04f.js diff --git a/1434-es5.eac8ab94bd1a37d47922.js b/1434-es5.aa846f203e9116a9a04f.js similarity index 100% rename from 1434-es5.eac8ab94bd1a37d47922.js rename to 1434-es5.aa846f203e9116a9a04f.js diff --git a/1510-es2015.557d417252b251cd5b14.js b/1510-es2015.74d9e688cd2dcf6eb641.js similarity index 100% rename from 1510-es2015.557d417252b251cd5b14.js rename to 1510-es2015.74d9e688cd2dcf6eb641.js diff --git a/1510-es5.557d417252b251cd5b14.js b/1510-es5.74d9e688cd2dcf6eb641.js similarity index 100% rename from 1510-es5.557d417252b251cd5b14.js rename to 1510-es5.74d9e688cd2dcf6eb641.js diff --git a/2022-es2015.6800e09f408c6d0347df.js b/2022-es2015.9bc057b7def41aea3c8d.js similarity index 100% rename from 2022-es2015.6800e09f408c6d0347df.js rename to 2022-es2015.9bc057b7def41aea3c8d.js diff --git a/2022-es5.6800e09f408c6d0347df.js b/2022-es5.9bc057b7def41aea3c8d.js similarity index 100% rename from 2022-es5.6800e09f408c6d0347df.js rename to 2022-es5.9bc057b7def41aea3c8d.js diff --git a/2139-es2015.6df32a4360396563f0d8.js b/2139-es2015.65e40bf444b1198067ff.js similarity index 100% rename from 2139-es2015.6df32a4360396563f0d8.js rename to 2139-es2015.65e40bf444b1198067ff.js diff --git a/2139-es5.6df32a4360396563f0d8.js b/2139-es5.65e40bf444b1198067ff.js similarity index 100% rename from 2139-es5.6df32a4360396563f0d8.js rename to 2139-es5.65e40bf444b1198067ff.js diff --git a/2473-es2015.969cfcc10993ec9de931.js b/2473-es2015.d169040c7af25dfb9797.js similarity index 100% rename from 2473-es2015.969cfcc10993ec9de931.js rename to 2473-es2015.d169040c7af25dfb9797.js diff --git a/2473-es5.969cfcc10993ec9de931.js b/2473-es5.d169040c7af25dfb9797.js similarity index 100% rename from 2473-es5.969cfcc10993ec9de931.js rename to 2473-es5.d169040c7af25dfb9797.js diff --git a/3276-es2015.b7749ba46fb8bc0ed97b.js b/3276-es2015.96bef8582270cf8e5bf8.js similarity index 100% rename from 3276-es2015.b7749ba46fb8bc0ed97b.js rename to 3276-es2015.96bef8582270cf8e5bf8.js diff --git a/3276-es5.b7749ba46fb8bc0ed97b.js b/3276-es5.96bef8582270cf8e5bf8.js similarity index 100% rename from 3276-es5.b7749ba46fb8bc0ed97b.js rename to 3276-es5.96bef8582270cf8e5bf8.js diff --git a/3355-es2015.478ac05cc7453f4b5f3f.js b/3355-es2015.7366b3dfd3c52d3dcac1.js similarity index 100% rename from 3355-es2015.478ac05cc7453f4b5f3f.js rename to 3355-es2015.7366b3dfd3c52d3dcac1.js diff --git a/3355-es5.478ac05cc7453f4b5f3f.js b/3355-es5.7366b3dfd3c52d3dcac1.js similarity index 100% rename from 3355-es5.478ac05cc7453f4b5f3f.js rename to 3355-es5.7366b3dfd3c52d3dcac1.js diff --git a/3506-es2015.73dd9ba2d5b16ff1081f.js b/3506-es2015.fe43a031080a9a5def74.js similarity index 100% rename from 3506-es2015.73dd9ba2d5b16ff1081f.js rename to 3506-es2015.fe43a031080a9a5def74.js diff --git a/3506-es5.73dd9ba2d5b16ff1081f.js b/3506-es5.fe43a031080a9a5def74.js similarity index 100% rename from 3506-es5.73dd9ba2d5b16ff1081f.js rename to 3506-es5.fe43a031080a9a5def74.js diff --git a/3820-es2015.4bd7ba62a03c74f1898c.js b/3820-es2015.36a7db2108ecc858dfb3.js similarity index 100% rename from 3820-es2015.4bd7ba62a03c74f1898c.js rename to 3820-es2015.36a7db2108ecc858dfb3.js diff --git a/3820-es5.4bd7ba62a03c74f1898c.js b/3820-es5.36a7db2108ecc858dfb3.js similarity index 100% rename from 3820-es5.4bd7ba62a03c74f1898c.js rename to 3820-es5.36a7db2108ecc858dfb3.js diff --git a/4272-es2015.2ec4b8fb6822d1a50156.js b/4272-es2015.ef4b9101aba3e45c036d.js similarity index 100% rename from 4272-es2015.2ec4b8fb6822d1a50156.js rename to 4272-es2015.ef4b9101aba3e45c036d.js diff --git a/4272-es5.2ec4b8fb6822d1a50156.js b/4272-es5.ef4b9101aba3e45c036d.js similarity index 100% rename from 4272-es5.2ec4b8fb6822d1a50156.js rename to 4272-es5.ef4b9101aba3e45c036d.js diff --git a/439-es2015.3cf99a3d0b2e97503516.js b/439-es2015.ceede67bef0825cfc6f6.js similarity index 100% rename from 439-es2015.3cf99a3d0b2e97503516.js rename to 439-es2015.ceede67bef0825cfc6f6.js diff --git a/439-es5.3cf99a3d0b2e97503516.js b/439-es5.ceede67bef0825cfc6f6.js similarity index 100% rename from 439-es5.3cf99a3d0b2e97503516.js rename to 439-es5.ceede67bef0825cfc6f6.js diff --git a/4533-es2015.47c7f967a9b7a66d43d7.js b/4533-es2015.839f938073f2bed72e79.js similarity index 100% rename from 4533-es2015.47c7f967a9b7a66d43d7.js rename to 4533-es2015.839f938073f2bed72e79.js diff --git a/4533-es5.47c7f967a9b7a66d43d7.js b/4533-es5.839f938073f2bed72e79.js similarity index 100% rename from 4533-es5.47c7f967a9b7a66d43d7.js rename to 4533-es5.839f938073f2bed72e79.js diff --git a/5115-es2015.829462399cb42cf19646.js b/5115-es2015.c204bd1b535362314193.js similarity index 100% rename from 5115-es2015.829462399cb42cf19646.js rename to 5115-es2015.c204bd1b535362314193.js diff --git a/5115-es5.829462399cb42cf19646.js b/5115-es5.c204bd1b535362314193.js similarity index 100% rename from 5115-es5.829462399cb42cf19646.js rename to 5115-es5.c204bd1b535362314193.js diff --git a/5380-es2015.c64854e42206ee5b8452.js b/5380-es2015.a7434c7e0f8cd47decce.js similarity index 100% rename from 5380-es2015.c64854e42206ee5b8452.js rename to 5380-es2015.a7434c7e0f8cd47decce.js diff --git a/5380-es5.c64854e42206ee5b8452.js b/5380-es5.a7434c7e0f8cd47decce.js similarity index 100% rename from 5380-es5.c64854e42206ee5b8452.js rename to 5380-es5.a7434c7e0f8cd47decce.js diff --git a/5439-es2015.b13ce56a9c91371fd16f.js b/5439-es2015.7b96819e16ce3059a797.js similarity index 100% rename from 5439-es2015.b13ce56a9c91371fd16f.js rename to 5439-es2015.7b96819e16ce3059a797.js diff --git a/5439-es5.b13ce56a9c91371fd16f.js b/5439-es5.7b96819e16ce3059a797.js similarity index 100% rename from 5439-es5.b13ce56a9c91371fd16f.js rename to 5439-es5.7b96819e16ce3059a797.js diff --git a/55-es2015.8b19aeafad8b05a11897.js b/55-es2015.bfddfba4c7e0e9027bb4.js similarity index 100% rename from 55-es2015.8b19aeafad8b05a11897.js rename to 55-es2015.bfddfba4c7e0e9027bb4.js diff --git a/55-es5.8b19aeafad8b05a11897.js b/55-es5.bfddfba4c7e0e9027bb4.js similarity index 100% rename from 55-es5.8b19aeafad8b05a11897.js rename to 55-es5.bfddfba4c7e0e9027bb4.js diff --git a/5828-es2015.ab8928bc056e28227b70.js b/5828-es2015.126da2218bad97b85f52.js similarity index 100% rename from 5828-es2015.ab8928bc056e28227b70.js rename to 5828-es2015.126da2218bad97b85f52.js diff --git a/5828-es5.ab8928bc056e28227b70.js b/5828-es5.126da2218bad97b85f52.js similarity index 100% rename from 5828-es5.ab8928bc056e28227b70.js rename to 5828-es5.126da2218bad97b85f52.js diff --git a/6180-es2015.7b9cc138b27e517bbdd0.js b/6180-es2015.88e42c651deaa01471fd.js similarity index 100% rename from 6180-es2015.7b9cc138b27e517bbdd0.js rename to 6180-es2015.88e42c651deaa01471fd.js diff --git a/6180-es5.7b9cc138b27e517bbdd0.js b/6180-es5.88e42c651deaa01471fd.js similarity index 100% rename from 6180-es5.7b9cc138b27e517bbdd0.js rename to 6180-es5.88e42c651deaa01471fd.js diff --git a/6275-es2015.47a563accbe77aa06b32.js b/6275-es2015.bdb81442e08ec01f9cb2.js similarity index 100% rename from 6275-es2015.47a563accbe77aa06b32.js rename to 6275-es2015.bdb81442e08ec01f9cb2.js diff --git a/6275-es5.47a563accbe77aa06b32.js b/6275-es5.bdb81442e08ec01f9cb2.js similarity index 100% rename from 6275-es5.47a563accbe77aa06b32.js rename to 6275-es5.bdb81442e08ec01f9cb2.js diff --git a/6549-es2015.8baa1ec3ea3dfa255e8e.js b/6549-es2015.a6e464dfd2e0ce7be52a.js similarity index 100% rename from 6549-es2015.8baa1ec3ea3dfa255e8e.js rename to 6549-es2015.a6e464dfd2e0ce7be52a.js diff --git a/6549-es5.8baa1ec3ea3dfa255e8e.js b/6549-es5.a6e464dfd2e0ce7be52a.js similarity index 100% rename from 6549-es5.8baa1ec3ea3dfa255e8e.js rename to 6549-es5.a6e464dfd2e0ce7be52a.js diff --git a/7027-es2015.f78d80307d56049f7a11.js b/7027-es2015.528851f35e88e7eb82d0.js similarity index 100% rename from 7027-es2015.f78d80307d56049f7a11.js rename to 7027-es2015.528851f35e88e7eb82d0.js diff --git a/7027-es5.f78d80307d56049f7a11.js b/7027-es5.528851f35e88e7eb82d0.js similarity index 100% rename from 7027-es5.f78d80307d56049f7a11.js rename to 7027-es5.528851f35e88e7eb82d0.js diff --git a/7057-es2015.5113505c60b5c198ba63.js b/7057-es2015.8698b1eb0c3487c7d0eb.js similarity index 100% rename from 7057-es2015.5113505c60b5c198ba63.js rename to 7057-es2015.8698b1eb0c3487c7d0eb.js diff --git a/7057-es5.5113505c60b5c198ba63.js b/7057-es5.8698b1eb0c3487c7d0eb.js similarity index 100% rename from 7057-es5.5113505c60b5c198ba63.js rename to 7057-es5.8698b1eb0c3487c7d0eb.js diff --git a/7989-es2015.fb4a878ef4702ebae9d7.js b/7989-es2015.d54616aa055f0e9efee2.js similarity index 100% rename from 7989-es2015.fb4a878ef4702ebae9d7.js rename to 7989-es2015.d54616aa055f0e9efee2.js diff --git a/7989-es5.fb4a878ef4702ebae9d7.js b/7989-es5.d54616aa055f0e9efee2.js similarity index 100% rename from 7989-es5.fb4a878ef4702ebae9d7.js rename to 7989-es5.d54616aa055f0e9efee2.js diff --git a/8642-es2015.3826e3da1ffbd5a8f442.js b/8642-es2015.901e3d108c7c73cb46ce.js similarity index 100% rename from 8642-es2015.3826e3da1ffbd5a8f442.js rename to 8642-es2015.901e3d108c7c73cb46ce.js diff --git a/8642-es5.3826e3da1ffbd5a8f442.js b/8642-es5.901e3d108c7c73cb46ce.js similarity index 100% rename from 8642-es5.3826e3da1ffbd5a8f442.js rename to 8642-es5.901e3d108c7c73cb46ce.js diff --git a/9176-es2015.141724e8c916f0856678.js b/9176-es2015.22a463c8ddb972f26d4b.js similarity index 100% rename from 9176-es2015.141724e8c916f0856678.js rename to 9176-es2015.22a463c8ddb972f26d4b.js diff --git a/9176-es5.141724e8c916f0856678.js b/9176-es5.22a463c8ddb972f26d4b.js similarity index 100% rename from 9176-es5.141724e8c916f0856678.js rename to 9176-es5.22a463c8ddb972f26d4b.js diff --git a/9380-es2015.01e1810f19b5f396da1a.js b/9380-es2015.f35231a557885a2d9c6d.js similarity index 100% rename from 9380-es2015.01e1810f19b5f396da1a.js rename to 9380-es2015.f35231a557885a2d9c6d.js diff --git a/9380-es5.01e1810f19b5f396da1a.js b/9380-es5.f35231a557885a2d9c6d.js similarity index 100% rename from 9380-es5.01e1810f19b5f396da1a.js rename to 9380-es5.f35231a557885a2d9c6d.js diff --git a/9544-es2015.6dd0e144ec5834a9eaa8.js b/9544-es2015.96066337039564bbf032.js similarity index 100% rename from 9544-es2015.6dd0e144ec5834a9eaa8.js rename to 9544-es2015.96066337039564bbf032.js diff --git a/9544-es5.6dd0e144ec5834a9eaa8.js b/9544-es5.96066337039564bbf032.js similarity index 100% rename from 9544-es5.6dd0e144ec5834a9eaa8.js rename to 9544-es5.96066337039564bbf032.js diff --git a/addons/phone/API/index.html b/addons/phone/API/index.html index eaade7833..a2fab9ce2 100644 --- a/addons/phone/API/index.html +++ b/addons/phone/API/index.html @@ -15,15 +15,15 @@ Maskito | Phone - + -

Phone
PHONE

tuiMode:
-
Name and descriptionType Value
[countryIsoCode]
Country ISO-code
string
'RU'
[strict]
If true, it allows to enter only phone number of selected country (see countryIsoCode property). If false, all country phone number is allowed.

Default:true

boolean
[separator]
Separator between groups of numbers in a phone number (excluding country code and area code).

Default:-

string
'-'
- +

Phone
PHONE

tuiMode:
-
Name and descriptionType Value
[countryIsoCode]
Country ISO-code
string
'RU'
[strict]
If true, it allows to enter only phone number of selected country (see countryIsoCode property). If false, all country phone number is allowed.

Default:true

boolean
[separator]
Separator between groups of numbers in a phone number (excluding country code and area code).

Default:-

string
'-'
+ \ No newline at end of file diff --git a/addons/phone/index.html b/addons/phone/index.html index fde76b093..92aefb485 100644 --- a/addons/phone/index.html +++ b/addons/phone/index.html @@ -15,81 +15,81 @@ Maskito | Phone - + -

Phone
PHONE

This mask is based on the libphonenumber-js package.

Use maskitoPhoneOptionsGenerator to create a mask for phone input.

Basic

Kazakhstan phone example

    
+        

Phone
PHONE

This mask is based on the libphonenumber-js package.

Use maskitoPhoneOptionsGenerator to create a mask for phone input.

basic

Kazakhstan phone example

    
     
-
    
     
-
    
     
-
    
     
-
    
     
-
-

Validation

For validating phone number you can use isValidPhoneNumber , isPossiblePhoneNumber functions from libphonenumber-js package. Read more

Below is an example of a Hungarian phone mask with an angular validator.

    
+

validation

For validating phone number you can use isValidPhoneNumber , isPossiblePhoneNumber functions from libphonenumber-js package. Read more

Below is an example of a Hungarian phone mask with an angular validator.

    
     
-
    
     
-
-

Non-strict mask

Setting the strict option to false enables non-strict mask mode and allow user to type any country phone number.

The countryIsoCode option is optional in that case, but if you specify it, the mask will try to add that country's calling code when you try to insert a phone number without a calling code.

    
+

Non-strict mask

Setting the strict option to false enables non-strict mask mode and allow user to type any country phone number.

The countryIsoCode option is optional in that case, but if you specify it, the mask will try to add that country's calling code when you try to insert a phone number without a calling code.

    
     
-
    
     
-
-

Lazy metadata

You can load metadata lazily, below is an example of how to do it in Angular.

You can also customize the metadata to reduce metadata size. See instructions here

    
+

Lazy metadata

You can load metadata lazily, below is an example of how to do it in Angular.

You can also customize the metadata to reduce metadata size. See instructions here

    
     
-
    
     
-
-
- +
+ \ No newline at end of file diff --git a/assets/taiga-ui/icons/tuiIconCloseOutline.svg b/assets/taiga-ui/icons/tuiIconCloseOutline.svg new file mode 100644 index 000000000..502a4b928 --- /dev/null +++ b/assets/taiga-ui/icons/tuiIconCloseOutline.svg @@ -0,0 +1,22 @@ + + + + diff --git a/assets/taiga-ui/icons/tuiIconElectronMonoOutline.svg b/assets/taiga-ui/icons/tuiIconElectronMonoOutline.svg new file mode 100644 index 000000000..42f717a1d --- /dev/null +++ b/assets/taiga-ui/icons/tuiIconElectronMonoOutline.svg @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + diff --git a/assets/taiga-ui/icons/tuiIconMirMonoOutline.svg b/assets/taiga-ui/icons/tuiIconMirMonoOutline.svg new file mode 100644 index 000000000..77add7182 --- /dev/null +++ b/assets/taiga-ui/icons/tuiIconMirMonoOutline.svg @@ -0,0 +1,28 @@ + + + + + + + + + diff --git a/assets/taiga-ui/icons/tuiIconVisaMonoOutline.svg b/assets/taiga-ui/icons/tuiIconVisaMonoOutline.svg new file mode 100644 index 000000000..7290c395f --- /dev/null +++ b/assets/taiga-ui/icons/tuiIconVisaMonoOutline.svg @@ -0,0 +1,29 @@ + + + + + + + + + diff --git a/browser-support/index.html b/browser-support/index.html index 2d8e900a4..7dcf51a9d 100644 --- a/browser-support/index.html +++ b/browser-support/index.html @@ -15,15 +15,15 @@ Maskito | Browser support - + -

Browser support

Desktop

BrowserVersion
Google Chrome 74+
Mozilla Firefox 55+
Safari 12.1+
Opera 62+
Edge (Chromium) 74+
Microsoft Internet ExplorerNot supported
Edge (EdgeHTML)Not supported

Mobile

BrowserVersion
Google Chrome90+
Mozilla Firefox99+
Safari12.2+
Opera64+
- +

Browser support

Desktop

BrowserVersion
Google Chrome 74+
Mozilla Firefox 55+
Safari 12.1+
Opera 62+
Edge (Chromium) 74+
Microsoft Internet ExplorerNot supported
Edge (EdgeHTML)Not supported

Mobile

BrowserVersion
Google Chrome90+
Mozilla Firefox99+
Safari12.2+
Opera64+
+ \ No newline at end of file diff --git a/changelog/index.html b/changelog/index.html index 90bcd6f9b..e939a0c87 100644 --- a/changelog/index.html +++ b/changelog/index.html @@ -15,15 +15,15 @@ Maskito | Changelog - -

Changelog

Changelog

+

Changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.9.0 (2023-11-23)

@@ -472,8 +472,8 @@

0.1.0 (2023-02-14)

-
- +
+ \ No newline at end of file diff --git a/core-concepts/element-state/index.html b/core-concepts/element-state/index.html index 441b1c908..714983818 100644 --- a/core-concepts/element-state/index.html +++ b/core-concepts/element-state/index.html @@ -15,21 +15,21 @@ Maskito | Element state - -

Element state

Element state is a concept which describes the main properties of the masked element at the certain period of time.

It is an object which implements the following interface:

    
+        

Element state

Element state is a concept which describes the main properties of the masked element at the certain period of time.

It is an object which implements the following interface:

    
     
-
-

This concept is actively used throughout Maskito libraries, and you can find its usage in the following topics:

- +

This concept is actively used throughout Maskito libraries, and you can find its usage in the following topics:

+ \ No newline at end of file diff --git a/core-concepts/mask-expression/index.html b/core-concepts/mask-expression/index.html index eed11c99b..7afc84aa7 100644 --- a/core-concepts/mask-expression/index.html +++ b/core-concepts/mask-expression/index.html @@ -15,33 +15,33 @@ Maskito | Mask expression - -

Mask expression

Mask expression is the the main concept of Maskito core library. It provides the developer with opportunity to predefine format of user's input. For example, you can set mask expression to accept only digits, only Latin letters or you can configure more complex patterns like a date string.

You can set mask expression using mask parameter of MaskitoOptions .

Types of mask expression

  • RegExp mask expression

    The most basic and comprehensible type. The only required knowledge is understanding of native JavaScript Regular expression .

    See the following example:

        
    +        

    Mask expression

    Mask expression is the the main concept of Maskito core library. It provides the developer with opportunity to predefine format of user's input. For example, you can set mask expression to accept only digits, only Latin letters or you can configure more complex patterns like a date string.

    You can set mask expression using mask parameter of MaskitoOptions .

    Types of mask expression

    • RegExp mask expression

      The most basic and comprehensible type. The only required knowledge is understanding of native JavaScript Regular expression .

      See the following example:

          
           
      -
      -
      Make sure that mask expression works with any of intermediate states, not just the final value.

      For example, imagine that you have to create mask for 4-digits PIN code.

      /^\d{4}$/ is a wrong mask expression. It does not match intermediate states (you cannot complete 4-digit string without possibility to type 1-, 2- or 3-digit string).

      /^\d{0,4}$/ is the right solution for our example.

    • Pattern mask expression

      It is a good choice for more complex masks that are fixed in size. This type of mask expression is presented as array. Each element in the array has to be either a string or a regular expression. Each string is a fixed character and each regular expression is validator of character at the same index.

      Fixed character — a predefined character at a certain position (the same as its index inside mask expression array). It is automatically added when user forgets to type it. It cannot be erased or replaced with another character.

      For example, imagine that you have to create mask for a time-string with HH:MM format. It consists of 4 digits and 1 fixed-character separator : .

          
      +
      Make sure that mask expression works with any of intermediate states, not just the final value.

      For example, imagine that you have to create mask for 4-digits PIN code.

      /^\d{4}$/ is a wrong mask expression. It does not match intermediate states (you cannot complete 4-digit string without possibility to type 1-, 2- or 3-digit string).

      /^\d{0,4}$/ is the right solution for our example.

    • Pattern mask expression

      It is a good choice for more complex masks that are fixed in size. This type of mask expression is presented as array. Each element in the array has to be either a string or a regular expression. Each string is a fixed character and each regular expression is validator of character at the same index.

      Fixed character — a predefined character at a certain position (the same as its index inside mask expression array). It is automatically added when user forgets to type it. It cannot be erased or replaced with another character.

      For example, imagine that you have to create mask for a time-string with HH:MM format. It consists of 4 digits and 1 fixed-character separator : .

          
           
      -
      -

      This mask expression forbids anything excepts digits and limits length of the value to 5 characters.

      Also, it manages user interactions with fixed character.

      For example, user can just type four digits 1159 and the value becomes 11:59

      Another example, if caret position is after the colon and user presses Backspace , the input's value will not change but caret will be moved to the left of the colon.

    • Dynamic mask expression

      mask parameter can also accepts function which generates mask expression. This function will be called every time before input changes to generate a new version of mask expression.

      An "Element state" object with raw value and current selection is passed as an argument to the function.
          
      +

      This mask expression forbids anything excepts digits and limits length of the value to 5 characters.

      Also, it manages user interactions with fixed character.

      For example, user can just type four digits 1159 and the value becomes 11:59

      Another example, if caret position is after the colon and user presses Backspace , the input's value will not change but caret will be moved to the left of the colon.

    • Dynamic mask expression

      mask parameter can also accepts function which generates mask expression. This function will be called every time before input changes to generate a new version of mask expression.

      An "Element state" object with raw value and current selection is passed as an argument to the function.
          
           
      -
      -
      Be careful! It can be not performance-friendly to generate new mask expression on every input change.

      Think about optimization and memoization of the such function.

    Next steps

    The following sections are recommended to explore core concepts further:

    - +
    Be careful! It can be not performance-friendly to generate new mask expression on every input change.

    Think about optimization and memoization of the such function.

Next steps

The following sections are recommended to explore core concepts further:

+ \ No newline at end of file diff --git a/core-concepts/overview/index.html b/core-concepts/overview/index.html index d57ea0abb..627d5fa34 100644 --- a/core-concepts/overview/index.html +++ b/core-concepts/overview/index.html @@ -15,21 +15,21 @@ Maskito | Core concepts - -

Core concepts

The main entity of Maskito core library is Maskito class which accepts 2 arguments in constructor:

  1. native HTMLInputElement or HTMLTextAreaElement
  2. set of configurable MaskitoOptions
    
+        

Core concepts

The main entity of Maskito core library is Maskito class which accepts 2 arguments in constructor:

  1. native HTMLInputElement or HTMLTextAreaElement
  2. set of configurable MaskitoOptions
    
     
-
-
Avoid wasting computation power or memory resources!

The only available public method destroy removes all created event listeners. Call it to clean everything up when the work is finished.

To understand the capabilities of the Maskito library, you need to learn about the following features and concepts:

- +
Avoid wasting computation power or memory resources!

The only available public method destroy removes all created event listeners. Call it to clean everything up when the work is finished.

To understand the capabilities of the Maskito library, you need to learn about the following features and concepts:

+ \ No newline at end of file diff --git a/core-concepts/overwrite-mode/index.html b/core-concepts/overwrite-mode/index.html index 1c5db8d26..0b4810399 100644 --- a/core-concepts/overwrite-mode/index.html +++ b/core-concepts/overwrite-mode/index.html @@ -15,105 +15,105 @@ Maskito | Overwrite mode - + -

Overwrite mode

Overwrite mode regulates behaviour of the mask when user inserts a new character somewhere in the middle of text field, overwriting the character at the current index.

overwriteMode can be of a following type:

  • shift (default)
  • replace
  • function that receives element state as an argument and returns shift or replace

Shift mode

The classic mode that everyone is used to. Inserting a new character in the middle of the text field value shifts all following characters to the right.

    
+        

Overwrite mode

Overwrite mode regulates behaviour of the mask when user inserts a new character somewhere in the middle of text field, overwriting the character at the current index.

overwriteMode can be of a following type:

  • shift (default)
  • replace
  • function that receives element state as an argument and returns shift or replace

Shift mode

The classic mode that everyone is used to. Inserting a new character in the middle of the text field value shifts all following characters to the right.

    
     
-
    
     
-
    
     
-
    
     
-
    
     
-
-

Replace mode

All new inserted characters replace the old characters at the same position. No character shifts. The length of the value remains the same after inserting new character somewhere in middle of the text field.

    
+

Replace mode

All new inserted characters replace the old characters at the same position. No character shifts. The length of the value remains the same after inserting new character somewhere in middle of the text field.

    
     
-
    
     
-
    
     
-
    
     
-
    
     
-
-

Dynamically detected mode

Parameter overwriteMode also accepts function that will called before each insertion of new characters. This function has one argument — current element state (read more about it in the "Element state" section). And this function should return one of two possible values: shift or replace .

    
+

Dynamically detected mode

Parameter overwriteMode also accepts function that will called before each insertion of new characters. This function has one argument — current element state (read more about it in the "Element state" section). And this function should return one of two possible values: shift or replace .

    
     
-
    
     
-
    
     
-
    
     
-
    
     
-
-

Next steps

The following sections are recommended to explore core concepts further:

- +

Next steps

The following sections are recommended to explore core concepts further:

+ \ No newline at end of file diff --git a/core-concepts/plugins/index.html b/core-concepts/plugins/index.html index 4fbf1beae..04c23173d 100644 --- a/core-concepts/plugins/index.html +++ b/core-concepts/plugins/index.html @@ -15,45 +15,45 @@ Maskito | Plugins - + -

Plugins

Plugins are functions that are called with input/textarea element and mask options as arguments upon mask initialization. They can optionally return cleanup logic and allow you to extend mask with arbitrary additional behavior.

Visualize rejected characters

This plugin is available as maskitoRejectEvent in @maskito/kit
    
+        

Plugins

Plugins are functions that are called with input/textarea element and mask options as arguments upon mask initialization. They can optionally return cleanup logic and allow you to extend mask with arbitrary additional behavior.

Visualize rejected characters

This plugin is available as maskitoRejectEvent in @maskito/kit
    
     
-
    
     
-
    
     
-
    
     
-
    
     
-
-

Next steps

The following sections are recommended to explore core concepts further:

- +

Next steps

The following sections are recommended to explore core concepts further:

+ \ No newline at end of file diff --git a/core-concepts/processors/index.html b/core-concepts/processors/index.html index 6922ef637..a10eb4679 100644 --- a/core-concepts/processors/index.html +++ b/core-concepts/processors/index.html @@ -15,39 +15,39 @@ Maskito | Processors - -

Processors

MaskitoOptions have optional parameters preprocessors and postprocessors . Both accept array of pure functions. These functions are triggered on every user's input ( beforeinput and input events). They provide an opportunity to modify value before / after the mask is applied.

Preprocessors and postprocessors accept different types of arguments but they have two important similarities:

  • The first argument always contains object with information that you can change. Object with the same properties and updated values can be returned from the processor. It means that you can keep all properties untouched or you can change any or all of these properties.
  • The rest arguments contain information that can be useful to build some complex logic, but you cannot change it.
Before you learn more about processors, you should learn a single prerequisite — meaning of the term "Element state" .

Preprocessors

Each preprocessor is a function that is called before mask is applied.

For example, if user types a new character, all preprocessors will be called first, and only then final value that they returned will be passed into the mask, and finally the mask will accept or reject new typed character and update actual value of the text field.

Preprocessor accepts two arguments:

  1. Object with two properties: elementState and data . Object of the same interface with updated or unchanged properties can be returned from the preprocessor.
        
    +        

    Processors

    MaskitoOptions have optional parameters preprocessors and postprocessors . Both accept array of pure functions. These functions are triggered on every user's input ( beforeinput and input events). They provide an opportunity to modify value before / after the mask is applied.

    Preprocessors and postprocessors accept different types of arguments but they have two important similarities:

    • The first argument always contains object with information that you can change. Object with the same properties and updated values can be returned from the processor. It means that you can keep all properties untouched or you can change any or all of these properties.
    • The rest arguments contain information that can be useful to build some complex logic, but you cannot change it.
    Before you learn more about processors, you should learn a single prerequisite — meaning of the term "Element state" .

    Preprocessors

    Each preprocessor is a function that is called before mask is applied.

    For example, if user types a new character, all preprocessors will be called first, and only then final value that they returned will be passed into the mask, and finally the mask will accept or reject new typed character and update actual value of the text field.

    Preprocessor accepts two arguments:

    1. Object with two properties: elementState and data . Object of the same interface with updated or unchanged properties can be returned from the preprocessor.
          
           
      -
    2. Name of the action which triggers current execution. It can be one of the following possible values:
          
           
      -

    Preprocessor returns an objects of the same interface as the first argument.

        
         
    -
    -

    Postprocessors

    Each postprocessor is a function that is called after the mask is applied. When all preprocessors are already called, all mask operations happened and the input's value is about to be updated. You can change everything manually inside a postprocessor.

    Postprocessor accepts two arguments:

    1. Element state after mask had been applied. Postprocessor can return updated element state which would then be reflected by the actual text field.
    2. Initial element state before preprocessors and mask execution. It is a readonly argument, the past cannot be changed...

    Postprocessor returns an objects of the same interface as the first argument.

    With great power comes great responsibility!

    Postprocessor is the final step before input's value update which gives a lot of flexibility. Use postprocessor wisely and return a valid value!

        
    +

    Postprocessors

    Each postprocessor is a function that is called after the mask is applied. When all preprocessors are already called, all mask operations happened and the input's value is about to be updated. You can change everything manually inside a postprocessor.

    Postprocessor accepts two arguments:

    1. Element state after mask had been applied. Postprocessor can return updated element state which would then be reflected by the actual text field.
    2. Initial element state before preprocessors and mask execution. It is a readonly argument, the past cannot be changed...

    Postprocessor returns an objects of the same interface as the first argument.

    With great power comes great responsibility!

    Postprocessor is the final step before input's value update which gives a lot of flexibility. Use postprocessor wisely and return a valid value!

        
         
    -
    -
    Stacking of multiple processors

    The Maskito team likes code decomposition and promotes it! Don't put all complex logic inside a single processor. Both parameters preprocessors and postprocessors accepts array of same type processors. Break your code into the several independent processors so that each processor implements only a single task.

    Next steps

    The following sections are recommended to explore core concepts further:

    - +
Stacking of multiple processors

The Maskito team likes code decomposition and promotes it! Don't put all complex logic inside a single processor. Both parameters preprocessors and postprocessors accepts array of same type processors. Break your code into the several independent processors so that each processor implements only a single task.

Next steps

The following sections are recommended to explore core concepts further:

+ \ No newline at end of file diff --git a/core-concepts/transformer/index.html b/core-concepts/transformer/index.html index 5643f6af1..5009c7b95 100644 --- a/core-concepts/transformer/index.html +++ b/core-concepts/transformer/index.html @@ -15,21 +15,21 @@ Maskito | Transformer - -

Transformer
CORE

Maskito libraries were created to prevent user from typing invalid value.
Maskito listens beforeinput and input events. Programmatic (by developer) changes of input's value don't trigger these events!

Maskito is based on the assumption that developer is capable to programmatically patch input with valid value!

If you need to programmatically patch input's value but you are not sure that your value is valid (for example, you get it from the server), you should use maskitoTransform utility .

    
+        

Transformer
CORE

Maskito libraries were created to prevent user from typing invalid value.
Maskito listens beforeinput and input events. Programmatic (by developer) changes of input's value don't trigger these events!

Maskito is based on the assumption that developer is capable to programmatically patch input with valid value!

If you need to programmatically patch input's value but you are not sure that your value is valid (for example, you get it from the server), you should use maskitoTransform utility .

    
     
-
-

Next steps

The following sections are recommended to explore core concepts further:

- +

Next steps

The following sections are recommended to explore core concepts further:

+ \ No newline at end of file diff --git a/cypress/index.html b/cypress/index.html index 185a1ce93..184c074e3 100644 --- a/cypress/index.html +++ b/cypress/index.html @@ -15,15 +15,15 @@ Maskito | Cypress tests 🤫 - -

Cypress

- +

Cypress

+ \ No newline at end of file diff --git a/frameworks/angular/Setup/index.html b/frameworks/angular/Setup/index.html index 4e343b7b5..130730c31 100644 --- a/frameworks/angular/Setup/index.html +++ b/frameworks/angular/Setup/index.html @@ -15,29 +15,29 @@ Maskito | Angular - + -

Angular

  1. Install libraries

    /your/project/path> +

    Angular

    1. Install libraries

      /your/project/path>

          
           
      -
    2. Import MaskitoModule to your module

      your.module.ts

          
           
      -
      -
    - +
+ \ No newline at end of file diff --git a/frameworks/angular/index.html b/frameworks/angular/index.html index 5b6ef8830..1bb4706c6 100644 --- a/frameworks/angular/index.html +++ b/frameworks/angular/index.html @@ -15,75 +15,75 @@ Maskito | Angular - + -

Angular

@maskito/angular is a light-weighted library to use Maskito in an Angular-way.
Prerequisites

To get the most out of this guide, you should review the topic "Core Concepts" first.

Write less code

  • No need to query element from DOM. Just pass all required options to [maskito] directive.
  • No need to worry about clean-ups. All created event listeners are automatically removed after element is detached from DOM.

Basic directive approach

Use it when you have direct access to native input element.

your.component.ts +

Angular

@maskito/angular is a light-weighted library to use Maskito in an Angular-way.
Prerequisites

To get the most out of this guide, you should review the topic "Core Concepts" first.

Write less code

  • No need to query element from DOM. Just pass all required options to [maskito] directive.
  • No need to worry about clean-ups. All created event listeners are automatically removed after element is detached from DOM.

Basic directive approach

Use it when you have direct access to native input element.

your.component.ts

    
     
-
-

Nested input element

Pass a predicate to maskito to find input element for you, if you do not have a direct access to it.

By default maskito will try to find input/textarea by querying its host: host.querySelector('input,textarea') so that might be sufficient. Use custom predicate if you need custom logic.

your.component.ts +

Nested input element

Pass a predicate to maskito to find input element for you, if you do not have a direct access to it.

By default maskito will try to find input/textarea by querying its host: host.querySelector('input,textarea') so that might be sufficient. Use custom predicate if you need custom logic.

your.component.ts

    
     
-
-

Custom input

See querying nested input in action

Default behavior is enough for Taiga UI inputs
Custom predicate is required if target input is not the first on in the DOM

Custom input

See querying nested input in action

Default behavior is enough for Taiga UI inputs
Custom predicate is required if target input is not the first on in the DOM
    
     
-
    
     
-
    
     
-
-

Form controls

When directly on native input/textarea tag, maskito directive formats value set programmatically with Angular forms.

    
+

Form controls

When directly on native input/textarea tag, maskito directive formats value set programmatically with Angular forms.

    
     
-
    
     
-
-

Pipe

Format arbitrary value with the same options

Balance: $12 345.67 +

Pipe

Format arbitrary value with the same options

Balance: $12 345.67
    
     
-
    
     
-
-
- +
+ \ No newline at end of file diff --git a/frameworks/react/index.html b/frameworks/react/index.html index 1aad2adeb..0b0043370 100644 --- a/frameworks/react/index.html +++ b/frameworks/react/index.html @@ -15,51 +15,51 @@ Maskito | React - + -

React

@maskito/react is a light-weighted library to use Maskito in an React-way.

Prerequisites

To get the most out of this guide, you should review the topic "Core Concepts" first.

Getting Started

Install libraries

    
+        

React

@maskito/react is a light-weighted library to use Maskito in an React-way.

Prerequisites

To get the most out of this guide, you should review the topic "Core Concepts" first.

Getting Started

Install libraries

    
     
-

and use Maskito

    
     
-
-

See the result of above code example in action:

Query nested input element

Pass a predicate to elementPredicate to find input element for you, if you do not have a direct access to it. For example, you use component from some UI Kit library.

By default Maskito will try to find input/textarea by querying its host: host.querySelector('input,textarea') so that might be sufficient. Use custom predicate if you need custom logic.
    
+

See the result of above code example in action:

Query nested input element

Pass a predicate to elementPredicate to find input element for you, if you do not have a direct access to it. For example, you use component from some UI Kit library.

By default Maskito will try to find input/textarea by querying its host: host.querySelector('input,textarea') so that might be sufficient. Use custom predicate if you need custom logic.
    
     
-
    
     
-

Controlled masked input

Maskito core is developed as framework-agnostic library. It does not depend on any JS-framework's peculiarities. It uses only native browser API. That is why you should use native onInput instead of React-specific onChange event. Do not worry, both events works similarly! Read more about it in the official React documentation.

    
     
-

Best practices & Anti-Patterns

Pass named variables to avoid unnecessary hook runs with Maskito recreation:

    
     
-
-
- +
+ \ No newline at end of file diff --git a/frameworks/vue/index.html b/frameworks/vue/index.html index 146681042..925dee657 100644 --- a/frameworks/vue/index.html +++ b/frameworks/vue/index.html @@ -15,39 +15,39 @@ Maskito | Vue - + -

Vue

@maskito/vue is a light-weighted library to use Maskito in as a Vue directive.

Prerequisites

To get the most out of this guide, you should review the topic "Core Concepts" first.

Getting Started

Install libraries

    
+        

Vue

@maskito/vue is a light-weighted library to use Maskito in as a Vue directive.

Prerequisites

To get the most out of this guide, you should review the topic "Core Concepts" first.

Getting Started

Install libraries

    
     
-

and use Maskito

    
     
-
-

Above code example in practice

Query nested input element

Pass a predicate to elementPredicate to find input element for you, if you do not have a direct access to it. For example, you use component from some UI Kit library.

By default Maskito will try to find input/textarea by querying its host: host.querySelector('input,textarea') so that might be sufficient. Use custom predicate if you need custom logic.
    
+

Above code example in practice

Query nested input element

Pass a predicate to elementPredicate to find input element for you, if you do not have a direct access to it. For example, you use component from some UI Kit library.

By default Maskito will try to find input/textarea by querying its host: host.querySelector('input,textarea') so that might be sufficient. Use custom predicate if you need custom logic.
    
     
-

Best practices & Anti-Patterns

Avoid inlining options object, otherwise Maskito will be recreated on every update:

    
     
-
-
- +
+ \ No newline at end of file diff --git a/getting-started/maskito-libraries/index.html b/getting-started/maskito-libraries/index.html index 8dccb73c9..bb3a85e00 100644 --- a/getting-started/maskito-libraries/index.html +++ b/getting-started/maskito-libraries/index.html @@ -15,57 +15,57 @@ Maskito | Maskito libraries - -

Maskito libraries

Maskito is a collection of libraries. Explore them and learn how to install and use them.

  • @maskito/core

    It is the main zero-dependency and framework-agnostic package. It can be used alone in vanilla JavaScript project. It listens to beforeinput and input events to validate and calibrate text field value.

    All other Maskito's packages require @maskito/core as peer-dependency.

    /your/project/path> +

    Maskito libraries

    Maskito is a collection of libraries. Explore them and learn how to install and use them.

    • @maskito/core

      It is the main zero-dependency and framework-agnostic package. It can be used alone in vanilla JavaScript project. It listens to beforeinput and input events to validate and calibrate text field value.

      All other Maskito's packages require @maskito/core as peer-dependency.

      /your/project/path>

          
           
      -

      Learn more about this library in "Core Concepts" section.

    • @maskito/kit

      The optional framework-agnostic package. It contains ready-to-use masks with configurable parameters.

      /your/project/path>

          
           
      -

      See examples: Number or Time .

    • @maskito/phone

      The optional framework-agnostic package. It contains ready-to-use international phone mask based on popular libphonenumber-js package.

      /your/project/path>

          
           
      -

      See example Phone Mask

    • @maskito/angular

      The Angular-specific library. It provides a convenient way to use Maskito as a directive.

      /your/project/path>

          
           
      -

      Learn more about this library in "Angular" section.

    • @maskito/react

      The React-specific library. It provides a convenient way to use Maskito as a hook.

      /your/project/path>

          
           
      -

      Learn more about this library in "React" section.

    • @maskito/vue

      The Vue-specific library. It provides a convenient way to use Maskito as a directive.

      /your/project/path>

          
           
      -
      -

      Learn more about this library in "Vue" section.

    - +

    Learn more about this library in "Vue" section.

+ \ No newline at end of file diff --git a/getting-started/what-is-maskito/index.html b/getting-started/what-is-maskito/index.html index 31aef7878..68a67df19 100644 --- a/getting-started/what-is-maskito/index.html +++ b/getting-started/what-is-maskito/index.html @@ -15,15 +15,15 @@ Maskito | What is Maskito? - -

What is Maskito?

Maskito is a collection of libraries, built with TypeScript. It helps you to create an input mask which ensures that users type values according to predefined format.

Core concepts of the libraries are simple but they provide flexible API to set any format you wish: numbers, phone, date, credit card number etc.

Why Maskito?

  • Maskito supports all user’s interactions with text fields: basic typing and deleting via keyboard, pasting, dropping text inside with a pointer, browser autofill, predictive text from mobile native keyboard.
  • Maskito is robust. The whole project is developed with strict TypeScript mode. Our code is covered by hundreds of Cypress tests.
  • Server Side Rendering and Shadow DOM support.
  • You can use it with HTMLInputElement and HTMLTextAreaElement .
  • Maskito core is zero-dependency package. You can mask input in your vanilla JavaScript project. However, we have separate packages for Angular , React and Vue as well.
  • Maskito includes optional framework-agnostic package with configurable ready-to-use masks.

No textfield with invalid value! Use Maskito. Mask it!

Learn about Maskito

- +

What is Maskito?

Maskito is a collection of libraries, built with TypeScript. It helps you to create an input mask which ensures that users type values according to predefined format.

Core concepts of the libraries are simple but they provide flexible API to set any format you wish: numbers, phone, date, credit card number etc.

Why Maskito?

  • Maskito supports all user’s interactions with text fields: basic typing and deleting via keyboard, pasting, dropping text inside with a pointer, browser autofill, predictive text from mobile native keyboard.
  • Maskito is robust. The whole project is developed with strict TypeScript mode. Our code is covered by hundreds of Cypress tests.
  • Server Side Rendering and Shadow DOM support.
  • You can use it with HTMLInputElement and HTMLTextAreaElement .
  • Maskito core is zero-dependency package. You can mask input in your vanilla JavaScript project. However, we have separate packages for Angular , React and Vue as well.
  • Maskito includes optional framework-agnostic package with configurable ready-to-use masks.

No textfield with invalid value! Use Maskito. Mask it!

Learn about Maskito

+ \ No newline at end of file diff --git a/index.html b/index.html index e8e4d7e9a..af73e7444 100644 --- a/index.html +++ b/index.html @@ -15,15 +15,15 @@ Maskito | What is Maskito? - + -

What is Maskito?

Maskito is a collection of libraries, built with TypeScript. It helps you to create an input mask which ensures that users type values according to predefined format.

Core concepts of the libraries are simple but they provide flexible API to set any format you wish: numbers, phone, date, credit card number etc.

Why Maskito?

  • Maskito supports all user’s interactions with text fields: basic typing and deleting via keyboard, pasting, dropping text inside with a pointer, browser autofill, predictive text from mobile native keyboard.
  • Maskito is robust. The whole project is developed with strict TypeScript mode. Our code is covered by hundreds of Cypress tests.
  • Server Side Rendering and Shadow DOM support.
  • You can use it with HTMLInputElement and HTMLTextAreaElement .
  • Maskito core is zero-dependency package. You can mask input in your vanilla JavaScript project. However, we have separate packages for Angular , React and Vue as well.
  • Maskito includes optional framework-agnostic package with configurable ready-to-use masks.

No textfield with invalid value! Use Maskito. Mask it!

Learn about Maskito

- +

What is Maskito?

Maskito is a collection of libraries, built with TypeScript. It helps you to create an input mask which ensures that users type values according to predefined format.

Core concepts of the libraries are simple but they provide flexible API to set any format you wish: numbers, phone, date, credit card number etc.

Why Maskito?

  • Maskito supports all user’s interactions with text fields: basic typing and deleting via keyboard, pasting, dropping text inside with a pointer, browser autofill, predictive text from mobile native keyboard.
  • Maskito is robust. The whole project is developed with strict TypeScript mode. Our code is covered by hundreds of Cypress tests.
  • Server Side Rendering and Shadow DOM support.
  • You can use it with HTMLInputElement and HTMLTextAreaElement .
  • Maskito core is zero-dependency package. You can mask input in your vanilla JavaScript project. However, we have separate packages for Angular , React and Vue as well.
  • Maskito includes optional framework-agnostic package with configurable ready-to-use masks.

No textfield with invalid value! Use Maskito. Mask it!

Learn about Maskito

+ \ No newline at end of file diff --git a/index.original.html b/index.original.html index a02bb4bec..ab523df8c 100644 --- a/index.original.html +++ b/index.original.html @@ -15,9 +15,9 @@ Maskito - + Loading... - + \ No newline at end of file diff --git a/kit/date-range/API/index.html b/kit/date-range/API/index.html index 5752ff5f4..6612eec52 100644 --- a/kit/date-range/API/index.html +++ b/kit/date-range/API/index.html @@ -15,15 +15,15 @@ Maskito | DateRange - + -

DateRange
KIT

tuiMode:
-
Name and descriptionType Value
[mode]
Date format mode
MaskitoDateMode
'dd/mm/yyyy'
[dateSeparator]
Separator between date segments (days, months and years).

Default:. (dot).

string
[rangeSeparator]
Separator between dates of the date range.

Default: â€“ 

string
[min]
Earliest date
Date
'0001-01-01'
[max]
Latest date
Date
'9999-12-31'
[minLength]
Minimal length of the range
MaskitoDateSegments<number>
{}
[maxLength]
Maximal length of the range
MaskitoDateSegments<number>
{}
[separator]
deprecated Use dateSeparator instead.

Default:. (dot).

- +

DateRange
KIT

tuiMode:
-
Name and descriptionType Value
[mode]
Date format mode
MaskitoDateMode
'dd/mm/yyyy'
[dateSeparator]
Separator between date segments (days, months and years).

Default:. (dot).

string
[rangeSeparator]
Separator between dates of the date range.

Default: â€“ 

string
[min]
Earliest date
Date
'0001-01-01'
[max]
Latest date
Date
'9999-12-31'
[minLength]
Minimal length of the range
MaskitoDateSegments<number>
{}
[maxLength]
Maximal length of the range
MaskitoDateSegments<number>
{}
[separator]
deprecated Use dateSeparator instead.

Default:. (dot).

+ \ No newline at end of file diff --git a/kit/date-range/index.html b/kit/date-range/index.html index e26539b63..1c2f4fd67 100644 --- a/kit/date-range/index.html +++ b/kit/date-range/index.html @@ -15,135 +15,135 @@ Maskito | DateRange - + -

DateRange
KIT

Use maskitoDateRangeOptionsGenerator to create a mask to input a range of dates.

Date localization

Use mode and separator parameters to get a mask with a locale specific representation of dates.

    
+        

DateRange
KIT

Use maskitoDateRangeOptionsGenerator to create a mask to input a range of dates.

Date localization

Use mode and separator parameters to get a mask with a locale specific representation of dates.

    
     
-
    
     
-
    
     
-
    
     
-
    
     
-
-

Min and max dates

Parameters min and max allow you to set the earliest and the latest available dates. They accept native Date .

    
+

Min and max dates

Parameters min and max allow you to set the earliest and the latest available dates. They accept native Date .

    
     
-
    
     
-
    
     
-
    
     
-
    
     
-
-

Min and max length of range

Use minLength and maxLength parameters to set minimal and maximal length of the date range.

    
+

Min and max length of range

Use minLength and maxLength parameters to set minimal and maximal length of the date range.

    
     
-
    
     
-
    
     
-
    
     
-
    
     
-
-

Custom range separator

Use rangeSeparator parameter to customize separator between dates of the date range.

    
+

Custom range separator

Use rangeSeparator parameter to customize separator between dates of the date range.

    
     
-
    
     
-
    
     
-
    
     
-
    
     
-
-
- +
+ \ No newline at end of file diff --git a/kit/date-time/API/index.html b/kit/date-time/API/index.html index f8023024d..75b9b8f36 100644 --- a/kit/date-time/API/index.html +++ b/kit/date-time/API/index.html @@ -15,15 +15,15 @@ Maskito | DateTime - + -

DateTime
KIT

tuiMode:
-
Name and descriptionType Value
[dateMode]
Date format mode
MaskitoDateMode
'dd/mm/yyyy'
[timeMode]
Time format mode
MaskitoTimeMode
'HH:MM'
[dateSeparator]
Date separator

Default:. (dot).

string
[min]
Earliest date
Date
'0001-01-01T00:00:00'
[max]
Latest date
Date
'9999-12-31T23:59:59'
- +

DateTime
KIT

tuiMode:
-
Name and descriptionType Value
[dateMode]
Date format mode
MaskitoDateMode
'dd/mm/yyyy'
[timeMode]
Time format mode
MaskitoTimeMode
'HH:MM'
[dateSeparator]
Date separator

Default:. (dot).

string
[min]
Earliest date
Date
'0001-01-01T00:00:00'
[max]
Latest date
Date
'9999-12-31T23:59:59'
+ \ No newline at end of file diff --git a/kit/date-time/index.html b/kit/date-time/index.html index a8f4f18dc..13d42ca2d 100644 --- a/kit/date-time/index.html +++ b/kit/date-time/index.html @@ -15,75 +15,75 @@ Maskito | DateTime - + -

DateTime
KIT

Use maskitoDateTimeOptionsGenerator to create a mask to input both date and time.

Localization

Use dateMode , timeMode and dateSeparator parameters to get a mask with a locale specific representation of dates.

    
+        

DateTime
KIT

Use maskitoDateTimeOptionsGenerator to create a mask to input both date and time.

Localization

Use dateMode , timeMode and dateSeparator parameters to get a mask with a locale specific representation of dates.

    
     
-
    
     
-
    
     
-
    
     
-
    
     
-
-

Min and max

Parameters min and max allow to set the earliest and the latest available dates. They accept native Date .

    
+

Min and max

Parameters min and max allow to set the earliest and the latest available dates. They accept native Date .

    
     
-
    
     
-
    
     
-
    
     
-
    
     
-
-
- +
+ \ No newline at end of file diff --git a/kit/date/API/index.html b/kit/date/API/index.html index 0683c9dee..620e33e87 100644 --- a/kit/date/API/index.html +++ b/kit/date/API/index.html @@ -15,15 +15,15 @@ Maskito | Date - + -

Date
KIT

tuiMode:
-
Name and descriptionType Value
[mode]
Date format mode
MaskitoDateMode
'dd/mm/yyyy'
[separator]
Symbol for separating date-segments (days, months, years)

Default:. (dot)

string
'.'
[min]
Earliest date

Default:new Date('0001-01-01')

Date
'0001-01-01'
[max]
Latest date

Default:new Date('9999-12-31')

Date
'9999-12-31'
- +

Date
KIT

tuiMode:
-
Name and descriptionType Value
[mode]
Date format mode
MaskitoDateMode
'dd/mm/yyyy'
[separator]
Symbol for separating date-segments (days, months, years)

Default:. (dot)

string
'.'
[min]
Earliest date

Default:new Date('0001-01-01')

Date
'0001-01-01'
[max]
Latest date

Default:new Date('9999-12-31')

Date
'9999-12-31'
+ \ No newline at end of file diff --git a/kit/date/index.html b/kit/date/index.html index 3a88f6a24..8c03046f7 100644 --- a/kit/date/index.html +++ b/kit/date/index.html @@ -15,75 +15,75 @@ Maskito | Date - + -

Date
KIT

Use maskitoDateOptionsGenerator to create a mask for date input.

Date localization

Use mode and separator properties to get a mask with a locale specific representation of dates.

    
+        

Date
KIT

Use maskitoDateOptionsGenerator to create a mask for date input.

Date localization

Use mode and separator properties to get a mask with a locale specific representation of dates.

    
     
-
    
     
-
    
     
-
    
     
-
    
     
-
-

Min/Max

Properties min and max allow you to set the earliest and the latest available dates. They accept native Date .

    
+

Min/Max

Properties min and max allow you to set the earliest and the latest available dates. They accept native Date .

    
     
-
    
     
-
    
     
-
    
     
-
    
     
-
-
- +
+ \ No newline at end of file diff --git a/kit/number/API/index.html b/kit/number/API/index.html index a3743ea05..4da13b153 100644 --- a/kit/number/API/index.html +++ b/kit/number/API/index.html @@ -15,15 +15,15 @@ Maskito | Number - + -

Number
KIT

tuiMode:
-
Name and descriptionType Value
[precision]
A number of digits after decimalSeparator .

Use Infinity for an untouched decimal part.

Default:0 (decimal part is forbidden).

number
0
[decimalSeparator]
Symbol for separating fraction.

Default: dot.

string
[decimalPseudoSeparators]
Symbols to be replaced with decimalSeparator .

Default:['.', 'ю', 'б'] .

string[]
['.', ',', 'б', 'ю']
[decimalZeroPadding]
If number of digits after decimalSeparator is always equal to the precision .

Default:false (number of digits can be less than precision) .

boolean
[thousandSeparator]
Symbol for separating thousands.

Default: non-breaking space.

string
[min]
The lowest permitted value.

Default:Number.MIN_SAFE_INTEGER .

number
[max]
The greatest permitted value.

Default:Number.MAX_SAFE_INTEGER .

number
[prefix]
A prefix symbol, like currency.

Default: empty string (no prefix).

string
[postfix]
A postfix symbol, like currency.

Default: empty string (no postfix).

string
- +

Number
KIT

tuiMode:
-
Name and descriptionType Value
[precision]
A number of digits after decimalSeparator .

Use Infinity for an untouched decimal part.

Default:0 (decimal part is forbidden).

number
0
[decimalSeparator]
Symbol for separating fraction.

Default: dot.

string
[decimalPseudoSeparators]
Symbols to be replaced with decimalSeparator .

Default:['.', 'ю', 'б'] .

string[]
['.', ',', 'б', 'ю']
[decimalZeroPadding]
If number of digits after decimalSeparator is always equal to the precision .

Default:false (number of digits can be less than precision) .

boolean
[thousandSeparator]
Symbol for separating thousands.

Default: non-breaking space.

string
[min]
The lowest permitted value.

Default:Number.MIN_SAFE_INTEGER .

number
[max]
The greatest permitted value.

Default:Number.MAX_SAFE_INTEGER .

number
[prefix]
A prefix symbol, like currency.

Default: empty string (no prefix).

string
[postfix]
A postfix symbol, like currency.

Default: empty string (no postfix).

string
+ \ No newline at end of file diff --git a/kit/number/index.html b/kit/number/index.html index 04afb2ec8..708d7dd02 100644 --- a/kit/number/index.html +++ b/kit/number/index.html @@ -15,153 +15,153 @@ Maskito | Number - + -

Number
KIT

Use maskitoNumberOptionsGenerator to create a mask for entering a formatted number.
Despite the name of the mask, element's raw value is still string.

Use maskitoParseNumber to get number-type value.

    
+        

Number
KIT

Use maskitoNumberOptionsGenerator to create a mask for entering a formatted number.
Despite the name of the mask, element's raw value is still string.

Use maskitoParseNumber to get number-type value.

    
     
-
-

High precision

Use precision parameter to configure the number of digits after decimal separator.

    
+

High precision

Use precision parameter to configure the number of digits after decimal separator.

    
     
-
    
     
-
    
     
-
    
     
-
    
     
-
-

Separators

Use decimalSeparator and thousandSeparator to get mask with locale specific representation of numbers.

In Germany people use comma as decimal separator and dot for thousands
    
+

Separators

Use decimalSeparator and thousandSeparator to get mask with locale specific representation of numbers.

In Germany people use comma as decimal separator and dot for thousands
    
     
-
    
     
-
    
     
-
    
     
-
    
     
-
-

Postfix

Use postfix parameter to set non-removable text after the number.
Additionally you can use maskitoCaretGuard to clamp caret inside allowable range.
This example also shows how to restrict the greatest permitted value via max parameter.

    
+

Postfix

Use postfix parameter to set non-removable text after the number.
Additionally you can use maskitoCaretGuard to clamp caret inside allowable range.
This example also shows how to restrict the greatest permitted value via max parameter.

    
     
-
    
     
-
    
     
-
    
     
-
    
     
-
-

Decimal zero padding

Set decimalZeroPadding: true to always show trailing zeroes.

Non removable dollar sign is achieved by using prefix parameter.

    
+

Decimal zero padding

Set decimalZeroPadding: true to always show trailing zeroes.

Non removable dollar sign is achieved by using prefix parameter.

    
     
-
    
     
-
    
     
-
    
     
-
    
     
-
-

Dynamic decimal zero padding

You can change options on the fly to build complex logic.
This example shows how to initially disable decimalZeroPadding and enable it only after user inserts decimal separator.

    
+

Dynamic decimal zero padding

You can change options on the fly to build complex logic.
This example shows how to initially disable decimalZeroPadding and enable it only after user inserts decimal separator.

    
     
-
    
     
-
-
- +
+ \ No newline at end of file diff --git a/kit/time/API/index.html b/kit/time/API/index.html index 8ed1d95d2..52b511d7a 100644 --- a/kit/time/API/index.html +++ b/kit/time/API/index.html @@ -15,15 +15,15 @@ Maskito | Time - + -

Time
KIT

tuiMode:
-
Name and descriptionType Value
[mode]
Time format mode
MaskitoTimeMode
'HH:MM'
[timeSegmentMaxValues]
Max value for every time segment
MaskitoTimeSegments<number>
{hours: 23, minutes: 59, seconds: 59, milliseconds: 999}
- +

Time
KIT

tuiMode:
-
Name and descriptionType Value
[mode]
Time format mode
MaskitoTimeMode
'HH:MM'
[timeSegmentMaxValues]
Max value for every time segment
MaskitoTimeSegments<number>
{hours: 23, minutes: 59, seconds: 59, milliseconds: 999}
+ \ No newline at end of file diff --git a/kit/time/index.html b/kit/time/index.html index 2a858d664..1587a983d 100644 --- a/kit/time/index.html +++ b/kit/time/index.html @@ -15,75 +15,75 @@ Maskito | Time - + -

Time
KIT

Use maskitoTimeOptionsGenerator to create a mask for time input.

Mode

Use mode property to set time format.

Available options : HH:MM , HH:MM:SS or HH:MM:SS.MSS .

    
+        

Time
KIT

Use maskitoTimeOptionsGenerator to create a mask for time input.

Mode

Use mode property to set time format.

Available options : HH:MM , HH:MM:SS or HH:MM:SS.MSS .

    
     
-
    
     
-
    
     
-
    
     
-
    
     
-
-

12-hours format

Property timeSegmentMaxValues allows you to set max value for every time segment.

Time segments are units of the time which form time string. For example, HH:MM consists of two time segments: hours and minutes.

    
+

12-hours format

Property timeSegmentMaxValues allows you to set max value for every time segment.

Time segments are units of the time which form time string. For example, HH:MM consists of two time segments: hours and minutes.

    
     
-
    
     
-
    
     
-
    
     
-
    
     
-
-
- +
+ \ No newline at end of file diff --git a/main-es2015.20c2dd3bb2d182f44365.js b/main-es2015.20c2dd3bb2d182f44365.js new file mode 100644 index 000000000..adab3982f --- /dev/null +++ b/main-es2015.20c2dd3bb2d182f44365.js @@ -0,0 +1 @@ +var zw=Object.defineProperty,$w=Object.defineProperties,Gw=Object.getOwnPropertyDescriptors,Uy=Object.getOwnPropertySymbols,Ww=Object.prototype.hasOwnProperty,Yw=Object.prototype.propertyIsEnumerable,Vy=(t,e,n)=>e in t?zw(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Xp=(t,e)=>{for(var n in e||(e={}))Ww.call(e,n)&&Vy(t,n,e[n]);if(Uy)for(var n of Uy(e))Yw.call(e,n)&&Vy(t,n,e[n]);return t},Hy=(t,e)=>$w(t,Gw(e));(self.webpackChunkmaskito=self.webpackChunkmaskito||[]).push([[179,6429],{56083:function(t,e,n){"use strict";n.d(e,{l3:function(){return o},_j:function(){return i},LC:function(){return r},ZN:function(){return g},jt:function(){return a},pV:function(){return h},IO:function(){return d},vP:function(){return l},EY:function(){return p},oB:function(){return c},eR:function(){return u},X$:function(){return s},ZE:function(){return m},k1:function(){return v}});class i{}class r{}const o="*";function s(t,e){return{type:7,name:t,definitions:e,options:{}}}function a(t,e=null){return{type:4,styles:e,timings:t}}function l(t,e=null){return{type:2,steps:t,options:e}}function c(t){return{type:6,styles:t,offset:null}}function u(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}function h(t=null){return{type:9,options:t}}function d(t,e,n=null){return{type:11,selector:t,animation:e,options:n}}function p(t,e){return{type:12,timings:t,animation:e}}function f(t){Promise.resolve(null).then(t)}class g{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){f(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class m{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,i=0;const r=this.players.length;0==r?f(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==r&&this._onFinish()}),t.onDestroy(()=>{++n==r&&this._onDestroy()}),t.onStart(()=>{++i==r&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(t=>{const n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}getPosition(){const t=this.players.reduce((t,e)=>null===t||e.totalTime>t.totalTime?e:t,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}const v="!"},79221:function(t,e,n){"use strict";n.d(e,{Vi:function(){return M},Th:function(){return ne},NH:function(){return Ct},uL:function(){return _e},nV:function(){return O},DT:function(){return be},Ar:function(){return xt},QN:function(){return we}});var i=n(56083),r=n(74788);function o(){return"undefined"!=typeof window&&void 0!==window.document}function s(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function a(t){switch(t.length){case 0:return new i.ZN;case 1:return t[0];default:return new i.ZE(t)}}function l(t,e,n,r,o={},s={}){const a=[],l=[];let c=-1,u=null;if(r.forEach(t=>{const n=t.offset,r=n==c,h=r&&u||{};Object.keys(t).forEach(n=>{let r=n,l=t[n];if("offset"!==n)switch(r=e.normalizePropertyName(r,a),l){case i.k1:l=o[n];break;case i.l3:l=s[n];break;default:l=e.normalizeStyleValue(n,r,l,a)}h[r]=l}),r||l.push(h),u=h,c=n}),a.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${a.join(t)}`)}return l}function c(t,e,n,i){switch(e){case"start":t.onStart(()=>i(n&&u(n,"start",t)));break;case"done":t.onDone(()=>i(n&&u(n,"done",t)));break;case"destroy":t.onDestroy(()=>i(n&&u(n,"destroy",t)))}}function u(t,e,n){const i=n.totalTime,r=h(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==i?t.totalTime:i,!!n.disabled),o=t._data;return null!=o&&(r._data=o),r}function h(t,e,n,i,r="",o=0,s){return{element:t,triggerName:e,fromState:n,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function d(t,e,n){let i;return t instanceof Map?(i=t.get(e),i||t.set(e,i=n)):(i=t[e],i||(i=t[e]=n)),i}function p(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let f=(t,e)=>!1,g=(t,e)=>!1,m=(t,e,n)=>[];const v=s();(v||"undefined"!=typeof Element)&&(f=o()?(t,e)=>{for(;e&&e!==document.documentElement;){if(e===t)return!0;e=e.parentNode||e.host}return!1}:(t,e)=>t.contains(e),g=(()=>{if(v||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]):g}})(),m=(t,e,n)=>{let i=[];if(n){const n=t.querySelectorAll(e);for(let t=0;t{const i=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[i]=t[n]}),e}let O=(()=>{class t{validateStyleProperty(t){return b(t)}matchesElement(t,e){return w(t,e)}containsElement(t,e){return C(t,e)}query(t,e,n){return x(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,r,o,s=[],a){return new i.ZN(n,r)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),M=(()=>{class t{}return t.NOOP=new O,t})();const S="ng-enter",P="ng-leave",E="ng-trigger",T=".ng-trigger",A="ng-animating",I=".ng-animating";function D(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:N(parseFloat(e[1]),e[2])}function N(t,e){return"s"===e?1e3*t:t}function L(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let i,r=0,o="";if("string"==typeof t){const n=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return e.push(`The provided timing value "${t}" is invalid.`),{duration:0,delay:0,easing:""};i=N(parseFloat(n[1]),n[2]);const s=n[3];null!=s&&(r=N(parseFloat(s),n[4]));const a=n[5];a&&(o=a)}else i=t;if(!n){let n=!1,o=e.length;i<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),r<0&&(e.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&e.splice(o,0,`The provided timing value "${t}" is invalid.`)}return{duration:i,delay:r,easing:o}}(t,e,n)}function z(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function F(t,e,n={}){if(e)for(let i in t)n[i]=t[i];else z(t,n);return n}function R(t,e,n){return n?e+":"+n+";":""}function j(t){let e="";for(let n=0;n{const r=G(i);n&&!n.hasOwnProperty(i)&&(n[i]=t.style[r]),t.style[r]=e[i]}),s()&&j(t))}function V(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=G(e);t.style[n]=""}),s()&&j(t))}function $(t){return Array.isArray(t)?1==t.length?t[0]:(0,i.vP)(t):t}const Y=new RegExp("{{\\s*(.+?)\\s*}}","g");function Z(t){let e=[];if("string"==typeof t){let n;for(;n=Y.exec(t);)e.push(n[1]);Y.lastIndex=0}return e}function q(t,e,n){const i=t.toString(),r=i.replace(Y,(t,i)=>{let r=e[i];return e.hasOwnProperty(i)||(n.push(`Please provide a value for the animation param ${i}`),r=""),r.toString()});return r==i?t:r}function U(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const H=/-+([a-z0-9])/g;function G(t){return t.replace(H,(...t)=>t[1].toUpperCase())}function J(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function X(t,e){return 0===t||0===e}function Q(t,e,n){const i=Object.keys(n);if(i.length&&e.length){let o=e[0],s=[];if(i.forEach(t=>{o.hasOwnProperty(t)||s.push(t),o[t]=n[t]}),s.length)for(var r=1;rfunction(t,e,n){if(":"==t[0]){const i=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,e)=>parseFloat(e)>parseFloat(t);case":decrement":return(t,e)=>parseFloat(e) *"}}(t,n);if("function"==typeof i)return void e.push(i);t=i}const i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const r=i[1],o=i[2],s=i[3];e.push(it(r,s));"<"==o[0]&&!("*"==r&&"*"==s)&&e.push(it(s,r))}(t,n,e)):n.push(t),n}const et=new Set(["true","1"]),nt=new Set(["false","0"]);function it(t,e){const n=et.has(t)||nt.has(t),i=et.has(e)||nt.has(e);return(r,o)=>{let s="*"==t||t==r,a="*"==e||e==o;return!s&&n&&"boolean"==typeof r&&(s=r?et.has(t):nt.has(t)),!a&&i&&"boolean"==typeof o&&(a=o?et.has(e):nt.has(e)),s&&a}}const rt=new RegExp("s*:selfs*,?","g");function ot(t,e,n){return new st(t).build(e,n)}class st{constructor(t){this._driver=t}build(t,e){const n=new at(e);return this._resetContextStyleTimingState(n),W(this,$(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,i=e.depCount=0;const r=[],o=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(t=>{if(this._resetContextStyleTimingState(e),0==t.type){const n=t,i=n.name;i.toString().split(/\s*,\s*/).forEach(t=>{n.name=t,r.push(this.visitState(n,e))}),n.name=i}else if(1==t.type){const r=this.visitTransition(t,e);n+=r.queryCount,i+=r.depCount,o.push(r)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:r,transitions:o,queryCount:n,depCount:i,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),i=t.options&&t.options.params||null;if(n.containsDynamicStyles){const r=new Set,o=i||{};if(n.styles.forEach(t=>{if(lt(t)){const e=t;Object.keys(e).forEach(t=>{Z(e[t]).forEach(t=>{o.hasOwnProperty(t)||r.add(t)})})}}),r.size){const n=U(r.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:t.name,style:n,options:i?{params:i}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=W(this,$(t.animation),e);return{type:1,matchers:tt(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:ct(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>W(this,t,e)),options:ct(t.options)}}visitGroup(t,e){const n=e.currentTime;let i=0;const r=t.steps.map(t=>{e.currentTime=n;const r=W(this,t,e);return i=Math.max(i,e.currentTime),r});return e.currentTime=i,{type:3,steps:r,options:ct(t.options)}}visitAnimate(t,e){const n=function(t,e){let n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return ut(L(t,e).duration,0,"");const i=t;if(i.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=ut(0,0,"");return t.dynamic=!0,t.strValue=i,t}return n=n||L(i,e),ut(n.duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=n;let r,o=t.styles?t.styles:(0,i.oB)({});if(5==o.type)r=this.visitKeyframes(o,e);else{let o=t.styles,s=!1;if(!o){s=!0;const t={};n.easing&&(t.easing=n.easing),o=(0,i.oB)(t)}e.currentTime+=n.duration+n.delay;const a=this.visitStyle(o,e);a.isEmptyStep=s,r=a}return e.currentAnimateTimings=null,{type:4,timings:n,style:r,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?t==i.l3?n.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):n.push(t)}):n.push(t.styles);let r=!1,o=null;return n.forEach(t=>{if(lt(t)){const e=t,n=e.easing;if(n&&(o=n,delete e.easing),!r)for(let t in e)if(e[t].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:n,easing:o,offset:t.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let i=e.currentTime,r=e.currentTime;n&&r>0&&(r-=n.duration+n.delay),t.styles.forEach(t=>{"string"!=typeof t&&Object.keys(t).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const o=e.collectedStyles[e.currentQuerySelector],s=o[n];let a=!0;s&&(r!=i&&r>=s.startTime&&i<=s.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${s.startTime}ms" and "${s.endTime}ms" is also being animated in a parallel animation between the times of "${r}ms" and "${i}ms"`),a=!1),r=s.startTime),a&&(o[n]={startTime:r,endTime:i}),e.options&&function(t,e,n){const i=e.params||{},r=Z(t);r.length&&r.forEach(t=>{i.hasOwnProperty(t)||n.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(t[n],e.options,e.errors)})})}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),n;let i=0;const r=[];let o=!1,s=!1,a=0;const l=t.steps.map(t=>{const n=this._makeStyleAst(t,e);let l=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(lt(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(lt(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),c=0;return null!=l&&(i++,c=n.offset=l),s=s||c<0||c>1,o=o||c0&&i{const o=u>0?i==h?1:u*i:r[i],s=o*f;e.currentTime=d+p.delay+s,p.duration=s,this._validateStyleAst(t,e),t.offset=o,n.styles.push(t)}),n}visitReference(t,e){return{type:8,animation:W(this,$(t.animation),e),options:ct(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:ct(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:ct(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,i=t.options||{};e.queryCount++,e.currentQuery=t;const[r,o]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(rt,"")),t=t.replace(/@\*/g,T).replace(/@\w+/g,t=>T+"-"+t.substr(1)).replace(/:animating/g,I),[t,e]}(t.selector);e.currentQuerySelector=n.length?n+" "+r:r,d(e.collectedStyles,e.currentQuerySelector,{});const s=W(this,$(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:o,animation:s,originalSelector:t.selector,options:ct(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const n="full"===t.timings?{duration:0,delay:0,easing:"full"}:L(t.timings,e.errors,!0);return{type:12,animation:W(this,$(t.animation),e),timings:n,options:null}}}class at{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function lt(t){return!Array.isArray(t)&&"object"==typeof t}function ct(t){return t?(t=z(t)).params&&(t.params=function(t){return t?z(t):null}(t.params)):t={},t}function ut(t,e,n){return{duration:t,delay:e,easing:n}}function ht(t,e,n,i,r,o,s=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}class dt{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const pt=new RegExp(":enter","g"),ft=new RegExp(":leave","g");function gt(t,e,n,i,r,o={},s={},a,l,c=[]){return(new mt).buildKeyframes(t,e,n,i,r,o,s,a,l,c)}class mt{buildKeyframes(t,e,n,i,r,o,s,a,l,c=[]){l=l||new dt;const u=new _t(t,e,l,i,r,c,[]);u.options=a,u.currentTimeline.setStyles([o],null,u.errors,a),W(this,n,u);const h=u.timelines.filter(t=>t.containsAnimation());if(h.length&&Object.keys(s).length){const t=h[h.length-1];t.allowOnlyTimelineStyles()||t.setStyles([s],null,u.errors,a)}return h.length?h.map(t=>t.buildKeyframes()):[ht(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const n=e.subInstructions.consume(e.element);if(n){const i=e.createSubContext(t.options),r=e.currentTimeline.currentTime,o=this._visitSubInstructions(n,i,i.options);r!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,n){let i=e.currentTimeline.currentTime;const r=null!=n.duration?D(n.duration):null,o=null!=n.delay?D(n.delay):null;return 0!==r&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,r,o);i=Math.max(i,n.duration+n.delay)}),i}visitReference(t,e){e.updateOptions(t.options,!0),W(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let i=e;const r=t.options;if(r&&(r.params||r.delay)&&(i=e.createSubContext(r),i.transformIntoNewTimeline(),null!=r.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=vt);const t=D(r.delay);i.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>W(this,t,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let i=e.currentTimeline.currentTime;const r=t.options&&t.options.delay?D(t.options.delay):0;t.steps.forEach(o=>{const s=e.createSubContext(t.options);r&&s.delayNextStep(r),W(this,o,s),i=Math.max(i,s.currentTimeline.currentTime),n.push(s.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(i),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return L(e.params?q(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const n=e.currentAnimateTimings=this._visitTiming(t.timings,e),i=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),i.snapshotCurrentStyles());const r=t.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(n.duration),this.visitStyle(r,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,i=e.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();const r=i&&i.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(r):n.setStyles(t.styles,r,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,i=e.currentTimeline.duration,r=n.duration,o=e.createSubContext().currentTimeline;o.easing=n.easing,t.styles.forEach(t=>{o.forwardTime((t.offset||0)*r),o.setStyles(t.styles,t.easing,e.errors,e.options),o.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(o),e.transformIntoNewTimeline(i+r),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,i=t.options||{},r=i.delay?D(i.delay):0;r&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=vt);let o=n;const s=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=s.length;let a=null;s.forEach((n,i)=>{e.currentQueryIndex=i;const s=e.createSubContext(t.options,n);r&&s.delayNextStep(r),n===e.element&&(a=s.currentTimeline),W(this,t.animation,s),s.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,s.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(o),a&&(e.currentTimeline.mergeTimelineCollectedStyles(a),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,i=e.currentTimeline,r=t.timings,o=Math.abs(r.duration),s=o*(e.currentQueryTotal-1);let a=o*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":a=s-a;break;case"full":a=n.currentStaggerTime}const l=e.currentTimeline;a&&l.delayNextStep(a);const c=l.currentTime;W(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-c+(i.startTime-n.currentTimeline.startTime)}}const vt={};class _t{constructor(t,e,n,i,r,o,s,a){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=r,this.errors=o,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=vt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new yt(this._driver,e,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let i=this.options;null!=n.duration&&(i.duration=D(n.duration)),null!=n.delay&&(i.delay=D(n.delay));const r=n.params;if(r){let t=i.params;t||(t=this.options.params={}),Object.keys(r).forEach(n=>{(!e||!t.hasOwnProperty(n))&&(t[n]=q(r[n],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach(t=>{n[t]=e[t]})}}return t}createSubContext(t=null,e,n){const i=e||this.element,r=new _t(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(t),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(t){return this.previousNode=vt,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const i={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},r=new bt(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,i,r,o){let s=[];if(i&&s.push(this.element),t.length>0){t=(t=t.replace(pt,"."+this._enterClassName)).replace(ft,"."+this._leaveClassName);let e=this._driver.query(this.element,t,1!=n);0!==n&&(e=n<0?e.slice(e.length+n,e.length):e.slice(0,n)),s.push(...e)}return!r&&0==s.length&&o.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),s}}class yt{constructor(t,e,n,i){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=i,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new yt(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(t=>{this._backFill[t]=this._globalTimelineStyles[t]||i.l3,this._currentKeyframe[t]=i.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,r){e&&(this._previousKeyframe.easing=e);const o=r&&r.params||{},s=function(t,e){const n={};let r;return t.forEach(t=>{"*"===t?(r=r||Object.keys(e),r.forEach(t=>{n[t]=i.l3})):F(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(s).forEach(t=>{const e=q(s[t],o,n);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:i.l3),this._updateStyle(t,e)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(e=>{this._currentKeyframe[e]=t[e]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach(e=>{const n=this._styleSummary[e],i=t._styleSummary[e];(!n||i.time>n.time)&&this._updateStyle(e,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((o,s)=>{const a=F(o,!0);Object.keys(a).forEach(n=>{const r=a[n];r==i.k1?t.add(n):r==i.l3&&e.add(n)}),n||(a.offset=s/this.duration),r.push(a)});const o=t.size?U(t.values()):[],s=e.size?U(e.values()):[];if(n){const t=r[0],e=z(t);t.offset=0,e.offset=1,r=[t,e]}return ht(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class bt extends yt{constructor(t,e,n,i,r,o,s=!1){super(t,e,o.delay),this.keyframes=n,this.preStyleProps=i,this.postStyleProps=r,this._stretchStartingKeyframe=s,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&e){const r=[],o=n+e,s=e/o,a=F(t[0],!1);a.offset=0,r.push(a);const l=F(t[0],!1);l.offset=wt(s),r.push(l);const c=t.length-1;for(let i=1;i<=c;i++){let s=F(t[i],!1);s.offset=wt((e+s.offset*n)/o),r.push(s)}n=o,e=0,i="",t=r}return ht(this.element,t,this.preStyleProps,this.postStyleProps,n,e,i,!0)}}function wt(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class Ct{}class xt extends Ct{normalizePropertyName(t,e){return G(t)}normalizeStyleValue(t,e,n,i){let r="";const o=n.toString().trim();if(kt[e]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&i.push(`Please provide a CSS unit value for ${t}:${n}`)}return o+r}}const kt=(()=>function(t){const e={};return t.forEach(t=>e[t]=!0),e}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function Ot(t,e,n,i,r,o,s,a,l,c,u,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:n,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:h,errors:d}}const Mt={};class St{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,i){return function(t,e,n,i,r){return t.some(t=>t(e,n,i,r))}(this.ast.matchers,t,e,n,i)}buildStyles(t,e,n){const i=this._stateStyles["*"],r=this._stateStyles[t],o=i?i.buildStyles(e,n):{};return r?r.buildStyles(e,n):o}build(t,e,n,i,r,o,s,a,l,c){const u=[],h=this.ast.options&&this.ast.options.params||Mt,p=this.buildStyles(n,s&&s.params||Mt,u),f=a&&a.params||Mt,g=this.buildStyles(i,f,u),m=new Set,v=new Map,_=new Map,y="void"===i,b={params:Object.assign(Object.assign({},h),f)},w=c?[]:gt(t,e,this.ast.animation,r,o,p,g,b,l,u);let C=0;if(w.forEach(t=>{C=Math.max(t.duration+t.delay,C)}),u.length)return Ot(e,this._triggerName,n,i,y,p,g,[],[],v,_,C,u);w.forEach(t=>{const n=t.element,i=d(v,n,{});t.preStyleProps.forEach(t=>i[t]=!0);const r=d(_,n,{});t.postStyleProps.forEach(t=>r[t]=!0),n!==e&&m.add(n)});const x=U(m.values());return Ot(e,this._triggerName,n,i,y,p,g,w,x,v,_,C)}}class Pt{constructor(t,e,n){this.styles=t,this.defaultParams=e,this.normalizer=n}buildStyles(t,e){const n={},i=z(this.defaultParams);return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(i[e]=n)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const r=t;Object.keys(r).forEach(t=>{let o=r[t];o.length>1&&(o=q(o,i,e));const s=this.normalizer.normalizePropertyName(t,e);o=this.normalizer.normalizeStyleValue(t,s,o,e),n[s]=o})}}),n}}class Et{constructor(t,e,n){this.name=t,this.ast=e,this._normalizer=n,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new Pt(t.style,t.options&&t.options.params||{},n)}),Tt(this.states,"true","1"),Tt(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new St(t,e,this.states))}),this.fallbackTransition=function(t,e,n){return new St(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},e)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,i){return this.transitionFactories.find(r=>r.match(t,e,n,i))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function Tt(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const At=new dt;class It{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],i=ot(this._driver,e,n);if(n.length)throw new Error(`Unable to build the animation due to the following errors: ${n.join("\n")}`);this._animations[t]=i}_buildPlayer(t,e,n){const i=t.element,r=l(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(i,r,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const r=[],o=this._animations[t];let s;const l=new Map;if(o?(s=gt(this._driver,e,o,S,P,{},{},n,At,r),s.forEach(t=>{const e=d(l,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(r.push("The requested animation doesn't exist or has already been destroyed"),s=[]),r.length)throw new Error(`Unable to create the animation due to the following errors: ${r.join("\n")}`);l.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,i.l3)})});const c=a(s.map(t=>{const e=l.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=c,c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error(`Unable to find the timeline player referenced by ${t}`);return e}listen(t,e,n,i){const r=h(e,"","","");return c(this._getPlayer(t),n,r,i),()=>{}}command(t,e,n,i){if("register"==n)return void this.register(t,i[0]);if("create"==n)return void this.create(t,e,i[0]||{});const r=this._getPlayer(t);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t)}}}const Dt="ng-animate-queued",Nt="ng-animate-disabled",Lt=".ng-animate-disabled",zt=[],Ft={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Rt={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},jt="__ng_removed";class Bt{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=null!=(i=n?t.value:t)?i:null,n){const e=z(t);delete e.value,this.options=e}else this.options={};var i;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach(n=>{null==t[n]&&(t[n]=e[n])})}}}const Vt="void",$t=new Bt(Vt);class Yt{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Qt(e,this._hostClassName)}listen(t,e,n,i){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${e}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if("start"!=(r=n)&&"done"!=r)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);var r;const o=d(this._elementListeners,t,[]),s={name:e,phase:n,callback:i};o.push(s);const a=d(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(Qt(t,E),Qt(t,E+"-"+e),a[e]=$t),()=>{this._engine.afterFlush(()=>{const t=o.indexOf(s);t>=0&&o.splice(t,1),this._triggers[e]||delete a[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger "${t}" has not been registered!`);return e}trigger(t,e,n,i=!0){const r=this._getTrigger(e),o=new qt(this.id,e,t);let s=this._engine.statesByElement.get(t);s||(Qt(t,E),Qt(t,E+"-"+e),this._engine.statesByElement.set(t,s={}));let a=s[e];const l=new Bt(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),s[e]=l,a||(a=$t),l.value!==Vt&&a.value===l.value){if(!function(t,e){const n=Object.keys(t),i=Object.keys(e);if(n.length!=i.length)return!1;for(let r=0;r{V(t,n),B(t,i)})}return}const c=d(this._engine.playersByElement,t,[]);c.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let u=r.matchTransition(a.value,l.value,t,l.params),h=!1;if(!u){if(!i)return;u=r.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:u,fromState:a,toState:l,player:o,isFallbackTransition:h}),h||(Qt(t,Dt),o.onStart(()=>{Wt(t,Dt)})),o.onDone(()=>{let e=this.players.indexOf(o);e>=0&&this.players.splice(e,1);const n=this._engine.playersByElement.get(t);if(n){let t=n.indexOf(o);t>=0&&n.splice(t,1)}}),this.players.push(o),c.push(o),o}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,n)=>{delete e[t]}),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(e=>e.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const n=this._engine.driver.query(t,T,!0);n.forEach(t=>{if(t[jt])return;const n=this._engine.fetchNamespacesByElement(t);n.size?n.forEach(n=>n.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(t=>this.clearElementCache(t)))}triggerLeaveAnimation(t,e,n,i){const r=this._engine.statesByElement.get(t);if(r){const o=[];if(Object.keys(r).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,Vt,i);n&&o.push(n)}}),o.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&a(o).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),n=this._engine.statesByElement.get(t);if(e&&n){const i=new Set;e.forEach(e=>{const r=e.name;if(i.has(r))return;i.add(r);const o=this._triggers[r].fallbackTransition,s=n[r]||$t,a=new Bt(Vt),l=new qt(this.id,r,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:r,transition:o,fromState:s,toState:a,player:l,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let i=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)i=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(t),i)n.markElementAsRemoved(this.id,t,!1,e);else{const i=t[jt];(!i||i===Ft)&&(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){Qt(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const i=n.player;if(i.destroyed)return;const r=n.element,o=this._elementListeners.get(r);o&&o.forEach(e=>{if(e.name==n.triggerName){const i=h(r,n.triggerName,n.fromState.value,n.toState.value);i._data=t,c(n.player,e.phase,i,e.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,i=e.transition.ast.depCount;return 0==n||0==i?n-i:this._engine.driver.containsElement(t.element,e.element)?1:-1})}destroy(t){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(e=>e.element===t)||e,e}}class Zt{constructor(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(e=>{e.queued&&t.push(e)})}),t}createNamespace(t,e){const n=new Yt(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){const n=this._namespaceList.length-1;if(n>=0){let i=!1;for(let r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,e)){this._namespaceList.splice(r+1,0,t),i=!0;break}i||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let i=this._namespaceLookup[t];i&&i.register(e,n)&&this.totalAnimations++}destroy(t,e){if(!t)return;const n=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(n);e>=0&&this._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(()=>n.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n){const t=Object.keys(n);for(let i=0;i=0&&this.collectedLeaveElements.splice(t,1)}if(t){const i=this._fetchNamespace(t);i&&i.insertNode(e,n)}i&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Qt(t,Nt)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Wt(t,Nt))}removeNode(t,e,n,i){if(Ut(e)){const r=t?this._fetchNamespace(t):null;if(r?r.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,i)}}else this._onRemovalComplete(e,i)}markElementAsRemoved(t,e,n,i){this.collectedLeaveElements.push(e),e[jt]={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,i,r){return Ut(e)?this._fetchNamespace(t).listen(e,n,i,r):()=>{}}_buildInstruction(t,e,n,i,r){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,i,t.fromState.options,t.toState.options,e,r)}destroyInnerAnimations(t){let e=this.driver.query(t,T,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,I,!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return a(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t[jt];if(e&&e.setForRemoval){if(t[jt]=Ft,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,Lt)&&this.markElementAsDisabled(t,!1),this.driver.query(t,Lt,!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,e)=>this._balanceNamespaceList(t,e)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;nt()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?a(e).onDone(()=>{t.forEach(t=>t())}):t.forEach(t=>t())}}reportError(t){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${t.join("\n")}`)}_flushAnimations(t,e){const n=new dt,r=[],o=new Map,s=[],l=new Map,c=new Map,u=new Map,h=new Set;this.disabledNodes.forEach(t=>{h.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let n=0;n{const n=S+v++;m.set(e,n),t.forEach(t=>Qt(t,n))});const _=[],y=new Set,b=new Set;for(let i=0;iy.add(t)):b.add(t))}const w=new Map,C=Jt(f,Array.from(y));C.forEach((t,e)=>{const n=P+v++;w.set(e,n),t.forEach(t=>Qt(t,n))}),t.push(()=>{g.forEach((t,e)=>{const n=m.get(e);t.forEach(t=>Wt(t,n))}),C.forEach((t,e)=>{const n=w.get(e);t.forEach(t=>Wt(t,n))}),_.forEach(t=>{this.processLeaveNode(t)})});const x=[],k=[];for(let i=this._namespaceList.length-1;i>=0;i--)this._namespaceList[i].drainQueuedTransitions(e).forEach(t=>{const e=t.player,i=t.element;if(x.push(e),this.collectedEnterElements.length){const t=i[jt];if(t&&t.setForMove)return void e.destroy()}const o=!p||!this.driver.containsElement(p,i),a=w.get(i),h=m.get(i),f=this._buildInstruction(t,n,h,a,o);if(f.errors&&f.errors.length)k.push(f);else{if(o)return e.onStart(()=>V(i,f.fromStyles)),e.onDestroy(()=>B(i,f.toStyles)),void r.push(e);if(t.isFallbackTransition)return e.onStart(()=>V(i,f.fromStyles)),e.onDestroy(()=>B(i,f.toStyles)),void r.push(e);f.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(i,f.timelines),s.push({instruction:f,player:e,element:i}),f.queriedElements.forEach(t=>d(l,t,[]).push(e)),f.preStyleProps.forEach((t,e)=>{const n=Object.keys(t);if(n.length){let t=c.get(e);t||c.set(e,t=new Set),n.forEach(e=>t.add(e))}}),f.postStyleProps.forEach((t,e)=>{const n=Object.keys(t);let i=u.get(e);i||u.set(e,i=new Set),n.forEach(t=>i.add(t))})}});if(k.length){const t=[];k.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),x.forEach(t=>t.destroy()),this.reportError(t)}const O=new Map,M=new Map;s.forEach(t=>{const e=t.element;n.has(e)&&(M.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,O))}),r.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{d(O,e,[]).push(t),t.destroy()})});const E=_.filter(t=>ee(t,c,u)),T=new Map;Gt(T,this.driver,b,u,i.l3).forEach(t=>{ee(t,c,u)&&E.push(t)});const A=new Map;g.forEach((t,e)=>{Gt(A,this.driver,new Set(t),c,i.k1)}),E.forEach(t=>{const e=T.get(t),n=A.get(t);T.set(t,Object.assign(Object.assign({},e),n))});const D=[],N=[],L={};s.forEach(t=>{const{element:e,player:i,instruction:s}=t;if(n.has(e)){if(h.has(e))return i.onDestroy(()=>B(e,s.toStyles)),i.disabled=!0,i.overrideTotalTime(s.totalTime),void r.push(i);let t=L;if(M.size>1){let n=e;const i=[];for(;n=n.parentNode;){const e=M.get(n);if(e){t=e;break}i.push(n)}i.forEach(e=>M.set(e,t))}const n=this._buildAnimation(i.namespaceId,s,O,o,A,T);if(i.setRealPlayer(n),t===L)D.push(i);else{const e=this.playersByElement.get(t);e&&e.length&&(i.parentPlayer=a(e)),r.push(i)}}else V(e,s.fromStyles),i.onDestroy(()=>B(e,s.toStyles)),N.push(i),h.has(e)&&r.push(i)}),N.forEach(t=>{const e=o.get(t.element);if(e&&e.length){const n=a(e);t.setRealPlayer(n)}}),r.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let i=0;i<_.length;i++){const t=_[i],e=t[jt];if(Wt(t,P),e&&e.hasAnimation)continue;let n=[];if(l.size){let e=l.get(t);e&&e.length&&n.push(...e);let i=this.driver.query(t,I,!0);for(let t=0;t!t.destroyed);r.length?Kt(this,t,r):this.processLeaveNode(t)}return _.length=0,D.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),D}elementContainsData(t,e){let n=!1;const i=e[jt];return i&&i.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,i,r){let o=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(o=e)}else{const e=this.playersByElement.get(t);if(e){const t=!r||r==Vt;e.forEach(e=>{e.queued||!t&&e.triggerName!=i||o.push(e)})}}return(n||i)&&(o=o.filter(t=>!(n&&n!=t.namespaceId||i&&i!=t.triggerName))),o}_beforeAnimationBuild(t,e,n){const i=e.element,r=e.isRemovalTransition?void 0:t,o=e.isRemovalTransition?void 0:e.triggerName;for(const s of e.timelines){const t=s.element,a=t!==i,l=d(n,t,[]);this._getPreviousPlayers(t,a,r,o,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)})}V(i,e.fromStyles)}_buildAnimation(t,e,n,r,o,s){const c=e.triggerName,u=e.element,h=[],p=new Set,f=new Set,g=e.timelines.map(e=>{const a=e.element;p.add(a);const d=a[jt];if(d&&d.removedBeforeQueried)return new i.ZN(e.duration,e.delay);const g=a!==u,m=function(t){const e=[];return te(t,e),e}((n.get(a)||zt).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===a),v=o.get(a),_=s.get(a),y=l(0,this._normalizer,0,e.keyframes,v,_),b=this._buildPlayer(e,y,m);if(e.subTimeline&&r&&f.add(a),g){const e=new qt(t,c,a);e.setRealPlayer(b),h.push(e)}return b});h.forEach(t=>{d(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,n){let i;if(t instanceof Map){if(i=t.get(e),i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&t.delete(e)}}else if(i=t[e],i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&delete t[e]}return i}(this.playersByQueriedElement,t.element,t))}),p.forEach(t=>Qt(t,A));const m=a(g);return m.onDestroy(()=>{p.forEach(t=>Wt(t,A)),B(u,e.toStyles)}),f.forEach(t=>{d(r,t,[]).push(m)}),m}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new i.ZN(t.duration,t.delay)}}class qt{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new i.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(n=>c(t,e,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){d(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function Ut(t){return t&&1===t.nodeType}function Ht(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function Gt(t,e,n,i,r){const o=[];n.forEach(t=>o.push(Ht(t)));const s=[];i.forEach((n,i)=>{const o={};n.forEach(t=>{const n=o[t]=e.computeStyle(i,t,r);(!n||0==n.length)&&(i[jt]=Rt,s.push(i))}),t.set(i,o)});let a=0;return n.forEach(t=>Ht(t,o[a++])),s}function Jt(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const i=new Set(e),r=new Map;function o(t){if(!t)return 1;let e=r.get(t);if(e)return e;const s=t.parentNode;return e=n.has(s)?s:i.has(s)?1:o(s),r.set(t,e),e}return e.forEach(t=>{const e=o(t);1!==e&&n.get(e).push(t)}),n}const Xt="$$classes";function Qt(t,e){if(t.classList)t.classList.add(e);else{let n=t[Xt];n||(n=t[Xt]={}),n[e]=!0}}function Wt(t,e){if(t.classList)t.classList.remove(e);else{let n=t[Xt];n&&delete n[e]}}function Kt(t,e,n){a(n).onDone(()=>t.processLeaveNode(e))}function te(t,e){for(let n=0;nr.add(t)):e.set(t,i),n.delete(t),!0}class ne{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new Zt(t,e,n),this._timelineEngine=new It(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,i,r){const o=t+"-"+i;let s=this._triggerCache[o];if(!s){const t=[],e=ot(this._driver,r,t);if(t.length)throw new Error(`The animation trigger "${i}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);s=function(t,e,n){return new Et(t,e,n)}(i,e,this._normalizer),this._triggerCache[o]=s}this._transitionEngine.registerTrigger(e,i,s)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,i){this._transitionEngine.insertNode(t,e,n,i)}onRemove(t,e,n,i){this._transitionEngine.removeNode(t,e,i||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,i){if("@"==n.charAt(0)){const[t,r]=p(n);this._timelineEngine.command(t,e,r,i)}else this._transitionEngine.trigger(t,e,n,i)}listen(t,e,n,i,r){if("@"==n.charAt(0)){const[t,i]=p(n);return this._timelineEngine.listen(t,e,i,r)}return this._transitionEngine.listen(t,e,n,i,r)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function ie(t,e){let n=null,i=null;return Array.isArray(e)&&e.length?(n=oe(e[0]),e.length>1&&(i=oe(e[e.length-1]))):e&&(n=oe(e)),n||i?new re(t,n,i):null}let re=(()=>{class t{constructor(e,n,i){this._element=e,this._startStyles=n,this._endStyles=i,this._state=0;let r=t.initialStylesByElement.get(e);r||t.initialStylesByElement.set(e,r={}),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&B(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(B(this._element,this._initialStyles),this._endStyles&&(B(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(V(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(V(this._element,this._endStyles),this._endStyles=null),B(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function oe(t){let e=null;const n=Object.keys(t);for(let i=0;ithis._handleCallback(t)}apply(){(function(t,e){const n=ge(t,"").trim();let i=0;n.length&&(function(t,e){let n=0;for(let i=0;i=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),pe(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const n=ge(t,"").split(","),i=de(n,e);i>=0&&(n.splice(i,1),fe(t,"",n.join(",")))}(this._element,this._name))}}function ue(t,e,n){fe(t,"PlayState",n,he(t,e))}function he(t,e){const n=ge(t,"");return n.indexOf(",")>0?de(n.split(","),e):de([n],e)}function de(t,e){for(let n=0;n=0)return n;return-1}function pe(t,e,n){n?t.removeEventListener(le,e):t.addEventListener(le,e)}function fe(t,e,n,i){const r=ae+e;if(null!=i){const e=t.style[r];if(e.length){const t=e.split(",");t[i]=n,n=t.join(",")}}t.style[r]=n}function ge(t,e){return t.style[ae+e]||""}class me{constructor(t,e,n,i,r,o,s,a){this.element=t,this.keyframes=e,this.animationName=n,this._duration=i,this._delay=r,this._finalStyles=s,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=o||"linear",this.totalTime=i+r,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),!(this._state>=4)&&(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),!(this._state>=3)&&(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new ce(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(t[n]=e?this._finalStyles[n]:K(this.element,n))})}this.currentSnapshot=t}}class ve extends i.ZN{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=k(e)}init(){this.__initialized||!this._startingStyles||(this.__initialized=!0,Object.keys(this._styles).forEach(t=>{this._startingStyles[t]=this.element.style[t]}),super.init())}play(){!this._startingStyles||(this.init(),Object.keys(this._styles).forEach(t=>this.element.style.setProperty(t,this._styles[t])),super.play())}destroy(){!this._startingStyles||(Object.keys(this._startingStyles).forEach(t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)}),this._startingStyles=null,super.destroy())}}class _e{constructor(){this._count=0}validateStyleProperty(t){return b(t)}matchesElement(t,e){return w(t,e)}containsElement(t,e){return C(t,e)}query(t,e,n){return x(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,n){n=n.map(t=>k(t));let i=`@keyframes ${e} {\n`,r="";n.forEach(t=>{r=" ";const e=parseFloat(t.offset);i+=`${r}${100*e}% {\n`,r+=" ",Object.keys(t).forEach(e=>{const n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(i+=`${r}animation-timing-function: ${n};\n`));default:return void(i+=`${r}${e}: ${n};\n`)}}),i+=`${r}}\n`}),i+="}\n";const o=document.createElement("style");return o.textContent=i,o}animate(t,e,n,i,r,o=[],s){const a=o.filter(t=>t instanceof me),l={};X(n,i)&&a.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const c=function(t){let e={};return t&&(Array.isArray(t)?t:[t]).forEach(t=>{Object.keys(t).forEach(n=>{"offset"==n||"easing"==n||(e[n]=t[n])})}),e}(e=Q(t,e,l));if(0==n)return new ve(t,c);const u="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,u,e);(function(t){var e;const n=null===(e=t.getRootNode)||void 0===e?void 0:e.call(t);return"undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot?n:document.head})(t).appendChild(h);const d=ie(t,e),p=new me(t,e,u,n,i,r,c,d);return p.onDestroy(()=>{var t;(t=h).parentNode.removeChild(t)}),p}}class ye{constructor(t,e,n,i){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,n){return t.animate(e,n)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(e=>{"offset"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:K(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class be{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Ce().toString()),this._cssKeyframesDriver=new _e}validateStyleProperty(t){return b(t)}matchesElement(t,e){return w(t,e)}containsElement(t,e){return C(t,e)}query(t,e,n){return x(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,n,i,r,o=[],s){if(!s&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,i,r,o);const a={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(a.easing=r);const l={},c=o.filter(t=>t instanceof ye);X(n,i)&&c.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const u=ie(t,e=Q(t,e=e.map(t=>F(t,!1)),l));return new ye(t,e,a,u)}}function we(){return"function"==typeof Ce()}function Ce(){return o()&&Element.prototype.animate||{}}},12057:function(t,e,n){"use strict";n.d(e,{mr:function(){return b},Ov:function(){return H},ez:function(){return Q},K0:function(){return l},Do:function(){return C},Gx:function(){return J},Ts:function(){return X},V_:function(){return h},Ye:function(){return x},S$:function(){return _},$G:function(){return A},sg:function(){return D},O5:function(){return L},RF:function(){return j},n9:function(){return B},tP:function(){return V},b0:function(){return w},lw:function(){return c},EM:function(){return et},JF:function(){return rt},NF:function(){return K},PM:function(){return tt},w_:function(){return a},bD:function(){return W},q:function(){return o},Mx:function(){return T},HT:function(){return s}});var i=n(74788);let r=null;function o(){return r}function s(t){r||(r=t)}class a{}const l=new i.OlP("DocumentToken");let c=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,i.Yz7)({factory:u,token:t,providedIn:"platform"}),t})();function u(){return(0,i.LFG)(d)}const h=new i.OlP("Location Initialized");let d=(()=>{class t extends c{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return o().getBaseHref(this._doc)}onPopState(t){const e=o().getGlobalEventTarget(this._doc,"window");return e.addEventListener("popstate",t,!1),()=>e.removeEventListener("popstate",t)}onHashChange(t){const e=o().getGlobalEventTarget(this._doc,"window");return e.addEventListener("hashchange",t,!1),()=>e.removeEventListener("hashchange",t)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(t){this.location.pathname=t}pushState(t,e,n){p()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){p()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(l))},t.\u0275prov=(0,i.Yz7)({factory:f,token:t,providedIn:"platform"}),t})();function p(){return!!window.history.pushState}function f(){return new d((0,i.LFG)(l))}function g(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function m(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function v(t){return t&&"?"!==t[0]?"?"+t:t}let _=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,i.Yz7)({factory:y,token:t,providedIn:"root"}),t})();function y(t){const e=(0,i.LFG)(l).location;return new w((0,i.LFG)(c),e&&e.origin||"")}const b=new i.OlP("appBaseHref");let w=(()=>{class t extends _{constructor(t,e){if(super(),this._platformLocation=t,this._removeListenerFns=[],null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=e}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return g(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+v(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,i){const r=this.prepareExternalUrl(n+v(i));this._platformLocation.pushState(t,e,r)}replaceState(t,e,n,i){const r=this.prepareExternalUrl(n+v(i));this._platformLocation.replaceState(t,e,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformLocation).historyGo)||void 0===n||n.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(c),i.LFG(b,8))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),C=(()=>{class t extends _{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=e&&(this._baseHref=e)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=g(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,i){let r=this.prepareExternalUrl(n+v(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(t,e,r)}replaceState(t,e,n,i){let r=this.prepareExternalUrl(n+v(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformLocation).historyGo)||void 0===n||n.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(c),i.LFG(b,8))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),x=(()=>{class t{constructor(t,e){this._subject=new i.vpe,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=m(O(n)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+v(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,O(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+v(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+v(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformStrategy).historyGo)||void 0===n||n.call(e,t)}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}))}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(_),i.LFG(c))},t.normalizeQueryParams=v,t.joinWithSlash=g,t.stripTrailingSlash=m,t.\u0275prov=(0,i.Yz7)({factory:k,token:t,providedIn:"root"}),t})();function k(){return new x((0,i.LFG)(_),(0,i.LFG)(c))}function O(t){return t.replace(/\/index.html$/,"")}var M=(()=>((M=M||{})[M.Zero=0]="Zero",M[M.One=1]="One",M[M.Two=2]="Two",M[M.Few=3]="Few",M[M.Many=4]="Many",M[M.Other=5]="Other",M))();const S=i.kL8;class P{}let E=(()=>{class t extends P{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(S(e||this.locale)(t)){case M.Zero:return"zero";case M.One:return"one";case M.Two:return"two";case M.Few:return"few";case M.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.soG))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();function T(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[i,r]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(i.trim()===e)return decodeURIComponent(r)}return null}let A=(()=>{class t{constructor(t){this._viewContainerRef=t,this._componentRef=null,this._moduleRef=null}ngOnChanges(t){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){const e=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(t.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){const t=e.get(i.h0i);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(t.injector)}else this._moduleRef=null;const n=(this._moduleRef?this._moduleRef.componentFactoryResolver:e.get(i._Vd)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(n,this._viewContainerRef.length,e,this.ngComponentOutletContent)}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[i.TTD]}),t})();class I{constructor(t,e,n,i){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=i}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 D=(()=>{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){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(t){throw new Error(`Cannot find a differ supporting object '${e}' of type '${function(t){return t.name||typeof t}(e)}'. NgFor only supports binding to Iterables such as Arrays.`)}}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,i)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new I(null,this._ngForOf,-1,-1),null===i?void 0:i),r=new N(t,n);e.push(r)}else if(null==i)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const r=this._viewContainer.get(n);this._viewContainer.move(r,i);const o=new N(t,r);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)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(i.ZZ4))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class N{constructor(t,e){this.record=t,this.view=e}}let L=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new z,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){F("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){F("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class z{constructor(){this.$implicit=null,this.ngIf=null}}function F(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${(0,i.AaK)(e)}'.`)}class R{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let j=(()=>{class t{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let e=0;e{class t{constructor(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new R(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(j,9))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t})(),V=(()=>{class t{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(t){if(t.ngTemplateOutlet){const t=this._viewContainerRef;this._viewRef&&t.remove(t.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?t.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&t.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[i.TTD]}),t})();function $(t,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${(0,i.AaK)(t)}'`)}class Y{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class Z{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const q=new Z,U=new Y;let H=(()=>{class t{constructor(t){this._ref=t,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue:(t&&this._subscribe(t),this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,e=>this._updateLatestValue(t,e))}_selectStrategy(e){if((0,i.QGY)(e))return q;if((0,i.F4k)(e))return U;throw $(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.sBO,16))},t.\u0275pipe=i.Yjl({name:"async",type:t,pure:!1}),t})();const G=/#/g;let J=(()=>{class t{constructor(t){this._localization=t}transform(e,n,i){if(null==e)return"";if("object"!=typeof n||null===n)throw $(t,n);return n[function(t,e,n,i){let r=`=${t}`;if(e.indexOf(r)>-1||(r=n.getPluralCategory(t,i),e.indexOf(r)>-1))return r;if(e.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${t}"`)}(e,Object.keys(n),this._localization,i)].replace(G,e.toString())}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(P,16))},t.\u0275pipe=i.Yjl({name:"i18nPlural",type:t,pure:!0}),t})(),X=(()=>{class t{transform(t){return JSON.stringify(t,null,2)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Yjl({name:"json",type:t,pure:!1}),t})(),Q=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[{provide:P,useClass:E}]}),t})();const W="browser";function K(t){return t===W}function tt(t){return"server"===t}let et=(()=>{class t{}return t.\u0275prov=(0,i.Yz7)({token:t,providedIn:"root",factory:()=>new nt((0,i.LFG)(l),window)}),t})();class nt{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const e=function(t,e){const n=t.getElementById(e)||t.getElementsByName(e)[0];if(n)return n;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow)){const n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let i=n.currentNode;for(;i;){const t=i.shadowRoot;if(t){const n=t.getElementById(e)||t.querySelector(`[name="${e}"]`);if(n)return n}i=n.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),this.attemptFocus(e))}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])}attemptFocus(t){return t.focus(),this.document.activeElement===t}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=it(this.window.history)||it(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}function it(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class rt{}},58497:function(t,e,n){"use strict";n.d(e,{eN:function(){return T},JF:function(){return Y}});var i=n(12057),r=n(74788),o=n(25917),s=n(29856),a=n(94612),l=n(45435),c=n(88002);class u{}class h{}class d{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const n=t.slice(0,e),i=n.toLowerCase(),r=t.slice(e+1).trim();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(r):this.headers.set(i,[r])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const i=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(i,n),this.maybeSetNormalizedName(e,i))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof d?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new d;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof d?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const i=("a"===t.op?this.headers.get(e):void 0)||[];i.push(...n),this.headers.set(e,i);break;case"d":const r=t.value;if(r){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===r.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class p{encodeKey(t){return m(t)}encodeValue(t){return m(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const f=/%(\d[a-f0-9])/gi,g={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function m(t){return encodeURIComponent(t).replace(f,(t,e)=>{var n;return null!==(n=g[e])&&void 0!==n?n:t})}function v(t){return`${t}`}class _{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new p,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const n=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(t=>{const i=t.indexOf("="),[r,o]=-1==i?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,i)),e.decodeValue(t.slice(i+1))],s=n.get(r)||[];s.push(o),n.set(r,s)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(n=>{const i=t[n];Array.isArray(i)?i.forEach(t=>{e.push({param:n,value:t,op:"a"})}):e.push({param:n,value:i,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new _({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(v(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const n=e.indexOf(v(t.value));-1!==n&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class y{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}keys(){return this.map.keys()}}function b(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function w(t){return"undefined"!=typeof Blob&&t instanceof Blob}function C(t){return"undefined"!=typeof FormData&&t instanceof FormData}class x{constructor(t,e,n,i){let r;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==n?n:null,r=i):r=n,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params)),this.headers||(this.headers=new d),this.context||(this.context=new y),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?");this.urlWithParams=e+(-1===n?"?":ne.set(n,t.setHeaders[n]),l)),t.setParams&&(c=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),c)),new x(n,i,o,{params:c,headers:l,context:u,reportProgress:a,responseType:r,withCredentials:s})}}var k=(()=>((k=k||{})[k.Sent=0]="Sent",k[k.UploadProgress=1]="UploadProgress",k[k.ResponseHeader=2]="ResponseHeader",k[k.DownloadProgress=3]="DownloadProgress",k[k.Response=4]="Response",k[k.User=5]="User",k))();class O{constructor(t,e=200,n="OK"){this.headers=t.headers||new d,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class M extends O{constructor(t={}){super(t),this.type=k.ResponseHeader}clone(t={}){return new M({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class S extends O{constructor(t={}){super(t),this.type=k.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new S({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class P extends O{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function E(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let T=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let i;if(t instanceof x)i=t;else{let r,o;r=n.headers instanceof d?n.headers:new d(n.headers),n.params&&(o=n.params instanceof _?n.params:new _({fromObject:n.params})),i=new x(t,e,void 0!==n.body?n.body:null,{headers:r,context:n.context,params:o,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const r=(0,o.of)(i).pipe((0,a.b)(t=>this.handler.handle(t)));if(t instanceof x||"events"===n.observe)return r;const s=r.pipe((0,l.h)(t=>t instanceof S));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return s.pipe((0,c.U)(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return s.pipe((0,c.U)(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return s.pipe((0,c.U)(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));default:return s.pipe((0,c.U)(t=>t.body))}case"response":return s;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new _).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,n={}){return this.request("PATCH",t,E(n,e))}post(t,e,n={}){return this.request("POST",t,E(n,e))}put(t,e,n={}){return this.request("PUT",t,E(n,e))}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(u))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();class A{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const I=new r.OlP("HTTP_INTERCEPTORS");let D=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();const N=/^\)\]\}',?\n/;let L=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new s.y(e=>{const n=this.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEach((t,e)=>n.setRequestHeader(t,e.join(","))),t.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&n.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();n.responseType="json"!==e?e:"text"}const i=t.serializeBody();let r=null;const o=()=>{if(null!==r)return r;const e=1223===n.status?204:n.status,i=n.statusText||"OK",o=new d(n.getAllResponseHeaders()),s=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(n)||t.url;return r=new M({headers:o,status:e,statusText:i,url:s}),r},s=()=>{let{headers:i,status:r,statusText:s,url:a}=o(),l=null;204!==r&&(l=void 0===n.response?n.responseText:n.response),0===r&&(r=l?200:0);let c=r>=200&&r<300;if("json"===t.responseType&&"string"==typeof l){const t=l;l=l.replace(N,"");try{l=""!==l?JSON.parse(l):null}catch(u){l=t,c&&(c=!1,l={error:u,text:l})}}c?(e.next(new S({body:l,headers:i,status:r,statusText:s,url:a||void 0})),e.complete()):e.error(new P({error:l,headers:i,status:r,statusText:s,url:a||void 0}))},a=t=>{const{url:i}=o(),r=new P({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:i||void 0});e.error(r)};let l=!1;const c=i=>{l||(e.next(o()),l=!0);let r={type:k.DownloadProgress,loaded:i.loaded};i.lengthComputable&&(r.total=i.total),"text"===t.responseType&&!!n.responseText&&(r.partialText=n.responseText),e.next(r)},u=t=>{let n={type:k.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",s),n.addEventListener("error",a),n.addEventListener("timeout",a),n.addEventListener("abort",a),t.reportProgress&&(n.addEventListener("progress",c),null!==i&&n.upload&&n.upload.addEventListener("progress",u)),n.send(i),e.next({type:k.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("abort",a),n.removeEventListener("load",s),n.removeEventListener("timeout",a),t.reportProgress&&(n.removeEventListener("progress",c),null!==i&&n.upload&&n.upload.removeEventListener("progress",u)),n.readyState!==n.DONE&&n.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(i.JF))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();const z=new r.OlP("XSRF_COOKIE_NAME"),F=new r.OlP("XSRF_HEADER_NAME");class R{}let j=(()=>{class t{constructor(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,i.Mx)(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(i.K0),r.LFG(r.Lbi),r.LFG(z))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),B=(()=>{class t{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);const i=this.tokenService.getToken();return null!==i&&!t.headers.has(this.headerName)&&(t=t.clone({headers:t.headers.set(this.headerName,i)})),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(R),r.LFG(F))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),V=(()=>{class t{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(I,[]);this.chain=t.reduceRight((t,e)=>new A(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(h),r.LFG(r.zs3))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),$=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:B,useClass:D}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:z,useValue:e.cookieName}:[],e.headerName?{provide:F,useValue:e.headerName}:[]]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[B,{provide:I,useExisting:B,multi:!0},{provide:R,useClass:j},{provide:z,useValue:"XSRF-TOKEN"},{provide:F,useValue:"X-XSRF-TOKEN"}]}),t})(),Y=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[T,{provide:u,useClass:V},L,{provide:h,useExisting:L}],imports:[[$.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})()},74788:function(t,e,n){"use strict";n.d(e,{deG:function(){return an},tb:function(){return ic},AFp:function(){return Wl},ip1:function(){return Xl},CZH:function(){return Ql},hGG:function(){return Gc},z2F:function(){return Rc},sBO:function(){return Ya},Sil:function(){return fc},_Vd:function(){return pa},EJc:function(){return sc},SBq:function(){return va},qLn:function(){return or},vpe:function(){return Tl},gxx:function(){return wo},tBr:function(){return In},XFs:function(){return T},OlP:function(){return sn},zs3:function(){return zo},ZZ4:function(){return za},aQg:function(){return Ra},soG:function(){return oc},YKP:function(){return Ka},v3s:function(){return Bc},h0i:function(){return Wa},PXZ:function(){return Dc},R0b:function(){return vc},FiY:function(){return Dn},Lbi:function(){return nc},g9A:function(){return ec},n_E:function(){return Il},Qsj:function(){return ba},FYo:function(){return ya},JOm:function(){return zn},Tiy:function(){return Ca},q3G:function(){return Ki},PiD:function(){return Nn},tp0:function(){return Ln},EAV:function(){return Yc},Rgc:function(){return Ga},dDg:function(){return kc},DyG:function(){return ln},GfV:function(){return xa},s_b:function(){return el},ifc:function(){return z},eFA:function(){return Nc},Gpc:function(){return p},f3M:function(){return Sn},X6Q:function(){return Tc},_c5:function(){return Uc},VLi:function(){return Sc},c2e:function(){return rc},zSh:function(){return xo},wAp:function(){return Ws},vHH:function(){return m},EiD:function(){return Qi},mCW:function(){return Li},qzn:function(){return ki},JVY:function(){return Mi},pB0:function(){return Ti},eBb:function(){return Pi},L6k:function(){return Si},LAX:function(){return Ei},cg1:function(){return Js},Tjo:function(){return qc},kL8:function(){return Xs},yhl:function(){return Oi},dqk:function(){return B},sIi:function(){return Uo},CqO:function(){return ps},QGY:function(){return hs},F4k:function(){return ds},RDi:function(){return Ot},AaK:function(){return u},z3N:function(){return xi},qOj:function(){return Ro},TTD:function(){return vt},_Bn:function(){return ca},xp6:function(){return xr},uIk:function(){return Qo},Tol:function(){return Es},ekj:function(){return Ps},Suo:function(){return Zl},Xpm:function(){return Q},lG2:function(){return rt},Yz7:function(){return w},cJS:function(){return C},oAB:function(){return et},Yjl:function(){return ot},Y36:function(){return ts},_UZ:function(){return ss},GkF:function(){return cs},BQk:function(){return ls},ynx:function(){return as},qZA:function(){return os},TgZ:function(){return rs},EpF:function(){return us},n5z:function(){return tn},Ikx:function(){return Zs},LFG:function(){return Mn},$8M:function(){return nn},$Z:function(){return es},NdJ:function(){return fs},CRH:function(){return ql},kcU:function(){return ye},O4$:function(){return _e},oxw:function(){return vs},ALo:function(){return xl},lcZ:function(){return kl},xi3:function(){return Ol},Dn7:function(){return Ml},Hsn:function(){return bs},F$t:function(){return ys},Q6J:function(){return ns},DdM:function(){return ml},VKq:function(){return vl},WLB:function(){return _l},iGM:function(){return $l},MAs:function(){return Ko},evT:function(){return lr},Jf7:function(){return ar},CHM:function(){return Zt},oJD:function(){return tr},LSH:function(){return er},kYT:function(){return nt},Udp:function(){return Ss},d8E:function(){return qs},YNc:function(){return Wo},W1O:function(){return Jl},_uU:function(){return Bs},Oqu:function(){return Vs},hij:function(){return $s},AsE:function(){return Ys},Gf:function(){return Yl}});var i=n(79765),r=n(59178),o=n(29856),s=n(66682),a=n(9945);function l(t){for(let e in t)if(t[e]===l)return e;throw Error("Could not find renamed property on target object.")}function c(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function u(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(u).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 h(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const d=l({__forward_ref__:l});function p(t){return t.__forward_ref__=p,t.toString=function(){return u(this())},t}function f(t){return g(t)?t():t}function g(t){return"function"==typeof t&&t.hasOwnProperty(d)&&t.__forward_ref__===p}class m extends Error{constructor(t,e){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(t,e)),this.code=t}}function v(t){return"string"==typeof t?t:null==t?"":String(t)}function _(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():v(t)}function y(t,e){const n=e?` in ${e}`:"";throw new m("201",`No provider for ${_(t)} found${n}`)}function b(t,e){null==t&&function(t,e,n,i){throw new Error(`ASSERTION ERROR: ${t}`+(null==i?"":` [Expected=> ${n} ${i} ${e} <=Actual]`))}(e,t,null,"!=")}function w(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function C(t){return{providers:t.providers||[],imports:t.imports||[]}}function x(t){return k(t,M)||k(t,P)}function k(t,e){return t.hasOwnProperty(e)?t[e]:null}function O(t){return t&&(t.hasOwnProperty(S)||t.hasOwnProperty(E))?t[S]:null}const M=l({"\u0275prov":l}),S=l({"\u0275inj":l}),P=l({ngInjectableDef:l}),E=l({ngInjectorDef:l});var T=(()=>((T=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))();let A;function I(t){const e=A;return A=t,e}function D(t,e,n){const i=x(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&T.Optional?null:void 0!==e?e:void y(u(t),"Injector")}function N(t){return{toString:t}.toString()}var L=(()=>((L=L||{})[L.OnPush=0]="OnPush",L[L.Default=1]="Default",L))(),z=(()=>((z=z||{})[z.Emulated=0]="Emulated",z[z.None=2]="None",z[z.ShadowDom=3]="ShadowDom",z))();const F="undefined"!=typeof globalThis&&globalThis,R="undefined"!=typeof window&&window,j="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,B=F||"undefined"!=typeof global&&global||R||j,V={},$=[],Y=l({"\u0275cmp":l}),Z=l({"\u0275dir":l}),q=l({"\u0275pipe":l}),U=l({"\u0275mod":l}),H=l({"\u0275loc":l}),G=l({"\u0275fac":l}),J=l({__NG_ELEMENT_ID__:l});let X=0;function Q(t){return N(()=>{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===L.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||$,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||z.Emulated,id:"c",styles:t.styles||$,_:null,setInput:null,schemas:t.schemas||null,tView:null},i=t.directives,r=t.features,o=t.pipes;return n.id+=X++,n.inputs=it(t.inputs,e),n.outputs=it(t.outputs),r&&r.forEach(t=>t(n)),n.directiveDefs=i?()=>("function"==typeof i?i():i).map(W):null,n.pipeDefs=o?()=>("function"==typeof o?o():o).map(K):null,n})}function W(t){return st(t)||function(t){return t[Z]||null}(t)}function K(t){return function(t){return t[q]||null}(t)}const tt={};function et(t){return N(()=>{const e={type:t.type,bootstrap:t.bootstrap||$,declarations:t.declarations||$,imports:t.imports||$,exports:t.exports||$,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(tt[t.id]=t.type),e})}function nt(t,e){return N(()=>{const n=at(t,!0);n.declarations=e.declarations||$,n.imports=e.imports||$,n.exports=e.exports||$})}function it(t,e){if(null==t)return V;const n={};for(const i in t)if(t.hasOwnProperty(i)){let r=t[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),n[r]=i,e&&(e[r]=o)}return n}const rt=Q;function ot(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function st(t){return t[Y]||null}function at(t,e){const n=t[U]||null;if(!n&&!0===e)throw new Error(`Type ${u(t)} does not have '\u0275mod' property.`);return n}function lt(t){return Array.isArray(t)&&"object"==typeof t[1]}function ct(t){return Array.isArray(t)&&!0===t[1]}function ut(t){return 0!=(8&t.flags)}function ht(t){return 2==(2&t.flags)}function dt(t){return 1==(1&t.flags)}function pt(t){return null!==t.template}function ft(t){return 0!=(512&t[2])}function gt(t,e){return t.hasOwnProperty(G)?t[G]:null}class mt{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function vt(){return _t}function _t(t){return t.type.prototype.ngOnChanges&&(t.setInput=bt),yt}function yt(){const t=Ct(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===V)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function bt(t,e,n,i){const r=Ct(t)||function(t,e){return t[wt]=e}(t,{previous:V,current:null}),o=r.current||(r.current={}),s=r.previous,a=this.declaredInputs[n],l=s[a];o[a]=new mt(l&&l.currentValue,e,s===V),t[i]=e}vt.ngInherit=!0;const wt="__ngSimpleChanges__";function Ct(t){return t[wt]||null}const xt="http://www.w3.org/2000/svg";let kt;function Ot(t){kt=t}function Mt(){return void 0!==kt?kt:"undefined"!=typeof document?document:void 0}function St(t){return!!t.listen}const Pt={createRenderer:(t,e)=>Mt()};function Et(t){for(;Array.isArray(t);)t=t[0];return t}function Tt(t,e){return Et(e[t])}function At(t,e){return Et(e[t.index])}function It(t,e){return t.data[e]}function Dt(t,e){return t[e]}function Nt(t,e){const n=e[t];return lt(n)?n:n[0]}function Lt(t){return 4==(4&t[2])}function zt(t){return 128==(128&t[2])}function Ft(t,e){return null==e?null:t[e]}function Rt(t){t[18]=0}function jt(t,e){t[5]+=e;let n=t,i=t[3];for(;null!==i&&(1===e&&1===n[5]||-1===e&&0===n[5]);)i[5]+=e,n=i,i=i[3]}const Bt={lFrame:he(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Vt(){return Bt.bindingsEnabled}function $t(){return Bt.lFrame.lView}function Yt(){return Bt.lFrame.tView}function Zt(t){return Bt.lFrame.contextLView=t,t[8]}function qt(){let t=Ut();for(;null!==t&&64===t.type;)t=t.parent;return t}function Ut(){return Bt.lFrame.currentTNode}function Ht(t,e){const n=Bt.lFrame;n.currentTNode=t,n.isParent=e}function Gt(){return Bt.lFrame.isParent}function Jt(){Bt.lFrame.isParent=!1}function Xt(){return Bt.isInCheckNoChangesMode}function Qt(t){Bt.isInCheckNoChangesMode=t}function Wt(){const t=Bt.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Kt(){return Bt.lFrame.bindingIndex}function te(){return Bt.lFrame.bindingIndex++}function ee(t){const e=Bt.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function ne(t,e){const n=Bt.lFrame;n.bindingIndex=n.bindingRootIndex=t,ie(e)}function ie(t){Bt.lFrame.currentDirectiveIndex=t}function re(t){const e=Bt.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function oe(){return Bt.lFrame.currentQueryIndex}function se(t){Bt.lFrame.currentQueryIndex=t}function ae(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function le(t,e,n){if(n&T.SkipSelf){let i=e,r=t;for(;!(i=i.parent,null!==i||n&T.Host||(i=ae(r),null===i||(r=r[15],10&i.type))););if(null===i)return!1;e=i,t=r}const i=Bt.lFrame=ue();return i.currentTNode=e,i.lView=t,!0}function ce(t){const e=ue(),n=t[1];Bt.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function ue(){const t=Bt.lFrame,e=null===t?null:t.child;return null===e?he(t):e}function he(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function de(){const t=Bt.lFrame;return Bt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const pe=de;function fe(){const t=de();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function ge(){return Bt.lFrame.selectedIndex}function me(t){Bt.lFrame.selectedIndex=t}function ve(){const t=Bt.lFrame;return It(t.tView,t.selectedIndex)}function _e(){Bt.lFrame.currentNamespace=xt}function ye(){Bt.lFrame.currentNamespace=null}function be(t,e){for(let n=e.directiveStart,i=e.directiveEnd;n=i)break}else e[a]<0&&(t[18]+=65536),(s>11>16&&(3&t[2])===e){t[2]+=2048;try{o.call(s)}finally{}}}else try{o.call(s)}finally{}}class Me{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function Se(t,e,n){const i=St(t);let r=0;for(;re){s=o-1;break}}}for(;o>16}(t),i=e;for(;n>0;)i=i[15],n--;return i}let Le=!0;function ze(t){const e=Le;return Le=t,e}let Fe=0;function Re(t,e){const n=Be(t,e);if(-1!==n)return n;const i=e[1];i.firstCreatePass&&(t.injectorIndex=e.length,je(i.data,t),je(e,null),je(i.blueprint,null));const r=Ve(t,e),o=t.injectorIndex;if(Ie(r)){const t=De(r),n=Ne(r,e),i=n[1].data;for(let r=0;r<8;r++)e[o+r]=n[t+r]|i[t+r]}return e[o+8]=r,o}function je(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Be(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Ve(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,i=null,r=e;for(;null!==r;){const t=r[1],e=t.type;if(i=2===e?t.declTNode:1===e?r[6]:null,null===i)return-1;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function $e(t,e,n){!function(t,e,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(J)&&(i=n[J]),null==i&&(i=n[J]=Fe++);const r=255&i;e.data[t+(r>>5)]|=1<=0?255&e:He:e}(n);if("function"==typeof o){if(!le(e,t,i))return i&T.Host?Ye(r,n,i):Ze(e,n,i,r);try{const t=o(i);if(null!=t||i&T.Optional)return t;y(n)}finally{pe()}}else if("number"==typeof o){let r=null,s=Be(t,e),a=-1,l=i&T.Host?e[16][6]:null;for((-1===s||i&T.SkipSelf)&&(a=-1===s?Ve(t,e):e[s+8],-1!==a&&We(i,!1)?(r=e[1],s=De(a),e=Ne(a,e)):s=-1);-1!==s;){const t=e[1];if(Qe(o,s,t.data)){const t=Ge(s,e,n,r,i,l);if(t!==Ue)return t}a=e[s+8],-1!==a&&We(i,e[1].data[s+8]===l)&&Qe(o,s,e)?(r=t,s=De(a),e=Ne(a,e)):s=-1}}}return Ze(e,n,i,r)}const Ue={};function He(){return new Ke(qt(),$t())}function Ge(t,e,n,i,r,o){const s=e[1],a=s.data[t+8],l=Je(a,s,n,null==i?ht(a)&&Le:i!=s&&0!=(3&a.type),r&T.Host&&o===a);return null!==l?Xe(e,s,l,a):Ue}function Je(t,e,n,i,r){const o=t.providerIndexes,s=e.data,a=1048575&o,l=t.directiveStart,c=o>>20,u=r?a+c:t.directiveEnd;for(let h=i?a:a+c;h=l&&t.type===n)return h}if(r){const t=s[l];if(t&&pt(t)&&t.type===n)return l}return null}function Xe(t,e,n,i){let r=t[n];const o=e.data;if(function(t){return t instanceof Me}(r)){const s=r;s.resolving&&function(t,e){throw new m("200",`Circular dependency in DI detected for ${t}`)}(_(o[n]));const a=ze(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?I(s.injectImpl):null;le(t,i,T.Default);try{r=t[n]=s.factory(void 0,o,t,i),e.firstCreatePass&&n>=i.directiveStart&&function(t,e,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=e.type.prototype;if(i){const i=_t(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,i)}r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,r),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,o))}(n,o[n],e)}finally{null!==l&&I(l),ze(a),s.resolving=!1,pe()}}return r}function Qe(t,e,n){return!!(n[e+(t>>5)]&1<{const e=t.prototype.constructor,n=e[G]||en(e),i=Object.prototype;let r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){const t=r[G]||en(r);if(t&&t!==n)return t;r=Object.getPrototypeOf(r)}return t=>new t})}function en(t){return g(t)?()=>{const e=en(f(t));return e&&e()}:gt(t)}function nn(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const n=t.attrs;if(n){const t=n.length;let i=0;for(;i{const i=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function r(...t){if(this instanceof r)return i.apply(this,t),this;const e=new r(...t);return n.annotation=e,n;function n(t,n,i){const r=t.hasOwnProperty(rn)?t[rn]:Object.defineProperty(t,rn,{value:[]})[rn];for(;r.length<=i;)r.push(null);return(r[i]=r[i]||[]).push(e),t}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}class sn{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=w({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const an=new sn("AnalyzeForEntryComponents"),ln=Function;function cn(t,e){void 0===e&&(e=t);for(let n=0;nArray.isArray(t)?un(t,e):e(t))}function hn(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function dn(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function pn(t,e){const n=[];for(let i=0;i=0?t[1|i]=n:(i=~i,function(t,e,n,i){let r=t.length;if(r==e)t.push(n,i);else if(1===r)t.push(i,t[0]),t[0]=n;else{for(r--,t.push(t[r-1],t[r]);r>e;)t[r]=t[r-2],r--;t[e]=n,t[e+1]=i}}(t,i,e,n)),i}function gn(t,e){const n=mn(t,e);if(n>=0)return t[1|n]}function mn(t,e){return function(t,e,n){let i=0,r=t.length>>n;for(;r!==i;){const o=i+(r-i>>1),s=t[o<e?r=o:i=o+1}return~(r< ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];t.push(n+":"+("string"==typeof i?JSON.stringify(i):u(i)))}r=`{${t.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${t.replace(bn,"\n ")}`}("\n"+t.message,r,n,i),t.ngTokenPath=r,t[yn]=null,t}const In=En(on("Inject",t=>({token:t})),-1),Dn=En(on("Optional"),8),Nn=En(on("Self"),2),Ln=En(on("SkipSelf"),4);var zn=(()=>((zn=zn||{})[zn.Important=1]="Important",zn[zn.DashCase=2]="DashCase",zn))();const Fn="__ngContext__";function Rn(t,e){t[Fn]=e}function jn(t){const e=function(t){return t[Fn]||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Bn(t,e){return undefined(t,e)}function Vn(t){const e=t[3];return ct(e)?e[3]:e}function $n(t){return Zn(t[13])}function Yn(t){return Zn(t[4])}function Zn(t){for(;null!==t&&!ct(t);)t=t[4];return t}function qn(t,e,n,i,r){if(null!=i){let o,s=!1;ct(i)?o=i:lt(i)&&(s=!0,i=i[0]);const a=Et(i);0===t&&null!==n?null==r?Kn(e,n,a):Wn(e,n,a,r||null,!0):1===t&&null!==n?Wn(e,n,a,r||null,!0):2===t?function(t,e,n){const i=ei(t,e);i&&function(t,e,n,i){St(t)?t.removeChild(e,n,i):e.removeChild(n)}(t,i,e,n)}(e,a,s):3===t&&e.destroyNode(a),null!=o&&function(t,e,n,i,r){const o=n[7];o!==Et(n)&&qn(e,t,i,o,r);for(let s=10;s0&&(t[n-1][4]=i[4]);const o=dn(t,10+e);!function(t,e){hi(t,e,e[11],2,null,null),e[0]=null,e[6]=null}(i[1],i);const s=o[19];null!==s&&s.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}function Jn(t,e){if(!(256&e[2])){const n=e[11];St(n)&&n.destroyNode&&hi(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return Xn(t[1],t);for(;e;){let n=null;if(lt(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)lt(e)&&Xn(e[1],e),e=e[3];null===e&&(e=t),lt(e)&&Xn(e[1],e),n=e&&e[4]}e=n}}(e)}}function Xn(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 i=0;i=0?i[r=l]():i[r=-l].unsubscribe(),o+=2}else{const t=i[r=n[o+1]];n[o].call(t)}if(null!==i){for(let t=r+1;tt,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return ii}())||void 0===e?void 0:e.createHTML(t))||t}function mi(t){var e;return(null===(e=function(){if(void 0===ri&&(ri=null,B.trustedTypes))try{ri=B.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return ri}())||void 0===e?void 0:e.createHTML(t))||t}class vi{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class _i extends vi{getTypeName(){return"HTML"}}class yi extends vi{getTypeName(){return"Style"}}class bi extends vi{getTypeName(){return"Script"}}class wi extends vi{getTypeName(){return"URL"}}class Ci extends vi{getTypeName(){return"ResourceURL"}}function xi(t){return t instanceof vi?t.changingThisBreaksApplicationSecurity:t}function ki(t,e){const n=Oi(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===e}function Oi(t){return t instanceof vi&&t.getTypeName()||null}function Mi(t){return new _i(t)}function Si(t){return new yi(t)}function Pi(t){return new bi(t)}function Ei(t){return new wi(t)}function Ti(t){return new Ci(t)}class Ai{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(gi(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch(e){return null}}}class Ii{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);const e=this.inertDocument.createElement("body");t.appendChild(e)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=gi(t),e;const n=this.inertDocument.createElement("body");return n.innerHTML=gi(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let i=e.length-1;0Li(t.trim())).join(", ")),this.buf.push(" ",e,'="',Ji(s),'"')}var i;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();Vi.hasOwnProperty(e)&&!Ri.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(Ji(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const Hi=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Gi=/([^\#-~ |!])/g;function Ji(t){return t.replace(/&/g,"&").replace(Hi,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Gi,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let Xi;function Qi(t,e){let n=null;try{Xi=Xi||function(t){const e=new Ii(t);return function(){try{return!!(new window.DOMParser).parseFromString(gi(""),"text/html")}catch(t){return!1}}()?new Ai(e):e}(t);let i=e?String(e):"";n=Xi.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=n.innerHTML,n=Xi.getInertBodyElement(i)}while(i!==o);return gi((new Ui).sanitizeChildren(Wi(n)||n))}finally{if(n){const t=Wi(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function Wi(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Ki=(()=>((Ki=Ki||{})[Ki.NONE=0]="NONE",Ki[Ki.HTML=1]="HTML",Ki[Ki.STYLE=2]="STYLE",Ki[Ki.SCRIPT=3]="SCRIPT",Ki[Ki.URL=4]="URL",Ki[Ki.RESOURCE_URL=5]="RESOURCE_URL",Ki))();function tr(t){const e=nr();return e?mi(e.sanitize(Ki.HTML,t)||""):ki(t,"HTML")?mi(xi(t)):Qi(Mt(),v(t))}function er(t){const e=nr();return e?e.sanitize(Ki.URL,t)||"":ki(t,"URL")?xi(t):Li(v(t))}function nr(){const t=$t();return t&&t[12]}function ir(t){return t.ngOriginalError}function rr(t,...e){t.error(...e)}class or{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),i=(r=t)&&r.ngErrorLogger||rr;var r;i(this._console,"ERROR",t),e&&i(this._console,"ORIGINAL ERROR",e),n&&i(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?t.ngDebugContext||this._findContext(ir(t)):null}_findOriginalError(t){let e=t&&ir(t);for(;e&&ir(e);)e=ir(e);return e||null}}const sr=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(B))();function ar(t){return t.ownerDocument.defaultView}function lr(t){return t.ownerDocument}function cr(t){return t instanceof Function?t():t}function ur(t,e,n){let i=t.length;for(;;){const r=t.indexOf(e,n);if(-1===r)return r;if(0===r||t.charCodeAt(r-1)<=32){const n=e.length;if(r+n===i||t.charCodeAt(r+n)<=32)return r}n=r+1}}const hr="ng-template";function dr(t,e,n){let i=0;for(;io?"":r[u+1].toLowerCase();const e=8&i?t:null;if(e&&-1!==ur(e,c,0)||2&i&&c!==t){if(mr(i))return!1;s=!0}}}}else{if(!s&&!mr(i)&&!mr(l))return!1;if(s&&mr(l))continue;s=!1,i=l|1&i}}return mr(i)||s}function mr(t){return 0==(1&t)}function vr(t,e,n,i){if(null===e)return-1;let r=0;if(i||!n){let n=!1;for(;r-1)for(n++;n0?'="'+e+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!mr(s)&&(e+=br(o,r),r=""),i=s,o=o||!mr(i);n++}return""!==r&&(e+=br(o,r)),e}const Cr={};function xr(t){kr(Yt(),$t(),ge()+t,Xt())}function kr(t,e,n,i){if(!i)if(3==(3&e[2])){const i=t.preOrderCheckHooks;null!==i&&we(e,i,n)}else{const i=t.preOrderHooks;null!==i&&Ce(e,i,0,n)}me(n)}function Or(t,e){return t<<17|e<<2}function Mr(t){return t>>17&32767}function Sr(t){return 2|t}function Pr(t){return(131068&t)>>2}function Er(t,e){return-131069&t|e<<2}function Tr(t){return 1|t}function Ar(t,e){const n=t.contentQueries;if(null!==n)for(let i=0;i20&&kr(t,e,20,Xt()),n(i,r)}finally{me(o)}}function jr(t,e,n){if(ut(e)){const i=e.directiveEnd;for(let r=e.directiveStart;r0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(n)!=o&&n.push(o),n.push(i,r,s)}}function Jr(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function Xr(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function Qr(t,e,n){if(n){if(e.exportAs)for(let i=0;i0&&so(n)}}function so(t){for(let n=$n(t);null!==n;n=Yn(n))for(let t=10;t0&&so(e)}const e=t[1].components;if(null!==e)for(let n=0;n0&&so(i)}}function ao(t,e){const n=Nt(e,t),i=n[1];(function(t,e){for(let n=e.length;nPromise.resolve(null))();function go(t){return t[7]||(t[7]=[])}function mo(t){return t.cleanup||(t.cleanup=[])}function vo(t,e){const n=t[9],i=n?n.get(or,null):null;i&&i.handleError(e)}function _o(t,e,n,i,r){for(let o=0;othis.processProvider(n,t,e)),un([t],t=>this.processInjectorType(t,[],r)),this.records.set(wo,Io(void 0,this));const o=this.records.get(xo);this.scope=null!=o?o.value:null,this.source=i||("object"==typeof t?null:u(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=vn,n=T.Default){this.assertNotDestroyed();const i=kn(this),r=I(void 0);try{if(!(n&T.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(o=t)||"object"==typeof o&&o instanceof sn)&&x(t);e=n&&this.injectableDefInScope(n)?Io(To(t),ko):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&T.Self?So():this.parent).get(t,e=n&T.Optional&&e===vn?null:e)}catch(s){if("NullInjectorError"===s.name){if((s[yn]=s[yn]||[]).unshift(u(t)),i)throw s;return An(s,t,"R3InjectorError",this.source)}throw s}finally{I(r),kn(i)}var o}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(u(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=f(t)))return!1;let i=O(t);const r=null==i&&t.ngModule||void 0,o=void 0===r?t:r,s=-1!==n.indexOf(o);if(void 0!==r&&(i=O(r)),null==i)return!1;if(null!=i.imports&&!s){let t;n.push(o);try{un(i.imports,i=>{this.processInjectorType(i,e,n)&&(void 0===t&&(t=[]),t.push(i))})}finally{}if(void 0!==t)for(let e=0;ethis.processProvider(t,n,i||$))}}this.injectorDefTypes.add(o);const a=gt(o)||(()=>new o);this.records.set(o,Io(a,ko));const l=i.providers;if(null!=l&&!s){const e=t;un(l,t=>this.processProvider(t,e,l))}return void 0!==r&&void 0!==t.providers}processProvider(t,e,n){let i=No(t=f(t))?t:f(t&&t.provide);const r=(o=t,Do(o)?Io(void 0,o.useValue):Io(Ao(o),ko));var o;if(No(t)||!0!==t.multi)this.records.get(i);else{let e=this.records.get(i);e||(e=Io(void 0,ko,!0),e.factory=()=>Pn(e.multi),this.records.set(i,e)),i=t,e.multi.push(t)}this.records.set(i,r)}hydrate(t,e){return e.value===ko&&(e.value=Oo,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;var n}injectableDefInScope(t){if(!t.providedIn)return!1;const e=f(t.providedIn);return"string"==typeof e?"any"===e||e===this.scope:this.injectorDefTypes.has(e)}}function To(t){const e=x(t),n=null!==e?e.factory:gt(t);if(null!==n)return n;if(t instanceof sn)throw new Error(`Token ${u(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=pn(e,"?");throw new Error(`Can't resolve all parameters for ${u(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[M]||t[P]);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 Ao(t,e,n){let i;if(No(t)){const e=f(t);return gt(e)||To(e)}if(Do(t))i=()=>f(t.useValue);else if(function(t){return!(!t||!t.useFactory)}(t))i=()=>t.useFactory(...Pn(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))i=()=>Mn(f(t.useExisting));else{const e=f(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return gt(e)||To(e);i=()=>new e(...Pn(t.deps))}return i}function Io(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Do(t){return null!==t&&"object"==typeof t&&Cn in t}function No(t){return"function"==typeof t}const Lo=function(t,e,n){return function(t,e=null,n=null,i){const r=Po(t,e,n,i);return r._resolveInjectorDefTypes(),r}({name:n},e,t,n)};let zo=(()=>{class t{static create(t,e){return Array.isArray(t)?Lo(t,e,""):Lo(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=vn,t.NULL=new Co,t.\u0275prov=w({token:t,providedIn:"any",factory:()=>Mn(wo)}),t.__NG_ELEMENT_ID__=-1,t})();function Fo(t,e){be(jn(t)[1],qt())}function Ro(t){let e=function(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),n=!0;const i=[t];for(;e;){let r;if(pt(t))r=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");r=e.\u0275dir}if(r){if(n){i.push(r);const e=t;e.inputs=jo(t.inputs),e.declaredInputs=jo(t.declaredInputs),e.outputs=jo(t.outputs);const n=r.hostBindings;n&&$o(t,n);const o=r.viewQuery,s=r.contentQueries;if(o&&Bo(t,o),s&&Vo(t,s),c(t.inputs,r.inputs),c(t.declaredInputs,r.declaredInputs),c(t.outputs,r.outputs),pt(r)&&r.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(r.data.animation)}}const e=r.features;if(e)for(let i=0;i=0;i--){const r=t[i];r.hostVars=e+=r.hostVars,r.hostAttrs=Te(r.hostAttrs,n=Te(n,r.hostAttrs))}}(i)}function jo(t){return t===V?{}:t===$?[]:t}function Bo(t,e){const n=t.viewQuery;t.viewQuery=n?(t,i)=>{e(t,i),n(t,i)}:e}function Vo(t,e){const n=t.contentQueries;t.contentQueries=n?(t,i,r)=>{e(t,i,r),n(t,i,r)}:e}function $o(t,e){const n=t.hostBindings;t.hostBindings=n?(t,i)=>{e(t,i),n(t,i)}:e}let Yo=null;function Zo(){if(!Yo){const t=B.Symbol;if(t&&t.iterator)Yo=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;ea(Et(t[i.index])):i.index;if(St(n)){let s=null;if(!a&&l&&(s=function(t,e,n,i){const r=t.cleanup;if(null!=r)for(let o=0;on?t[n]:null}"string"==typeof t&&(o+=2)}return null}(t,e,r,i.index)),null!==s)(s.__ngLastListenerFn__||s).__ngNextListenerFn__=o,s.__ngLastListenerFn__=o,d=!1;else{o=ms(i,e,u,o,!1);const t=n.listen(f,r,o);h.push(o,t),c&&c.push(r,m,g,g+1)}}else o=ms(i,e,u,o,!0),f.addEventListener(r,o,s),h.push(o),c&&c.push(r,m,g,s)}else o=ms(i,e,u,o,!1);const p=i.outputs;let f;if(d&&null!==p&&(f=p[r])){const t=f.length;if(t)for(let n=0;n0;)e=e[15],t--;return e}(t,Bt.lFrame.contextLView))[8]}(t)}function _s(t,e){let n=null;const i=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(t);for(let r=0;r=0}const xs={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ks(t){return t.substring(xs.key,xs.keyEnd)}function Os(t,e){const n=xs.textEnd;return n===e?-1:(e=xs.keyEnd=function(t,e,n){for(;e32;)e++;return e}(t,xs.key=e,n),Ms(t,e,n))}function Ms(t,e,n){for(;e=0;n=Os(e,n))fn(t,ks(e),!0)}function As(t,e,n,i){const r=$t(),o=Yt(),s=ee(2);o.firstUpdatePass&&Ds(o,t,s,i),e!==Cr&&Jo(r,s,e)&&zs(o,o.data[ge()],r,r[11],t,r[s+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=u(xi(t)))),t}(e,n),i,s)}function Is(t,e){return e>=t.expandoStartIndex}function Ds(t,e,n,i){const r=t.data;if(null===r[n+1]){const o=r[ge()],s=Is(t,n);js(o,i)&&null===e&&!s&&(e=!1),e=function(t,e,n,i){const r=re(t);let o=i?e.residualClasses:e.residualStyles;if(null===r)0===(i?e.classBindings:e.styleBindings)&&(n=Ls(n=Ns(null,t,e,n,i),e.attrs,i),o=null);else{const s=e.directiveStylingLast;if(-1===s||t[s]!==r)if(n=Ns(r,t,e,n,i),null===o){let n=function(t,e,n){const i=n?e.classBindings:e.styleBindings;if(0!==Pr(i))return t[Mr(i)]}(t,e,i);void 0!==n&&Array.isArray(n)&&(n=Ns(null,t,e,n[1],i),n=Ls(n,e.attrs,i),function(t,e,n,i){t[Mr(n?e.classBindings:e.styleBindings)]=i}(t,e,i,n))}else o=function(t,e,n){let i;const r=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0)&&(u=!0)}else c=n;if(r)if(0!==l){const e=Mr(t[a+1]);t[i+1]=Or(e,a),0!==e&&(t[e+1]=Er(t[e+1],i)),t[a+1]=function(t,e){return 131071&t|e<<17}(t[a+1],i)}else t[i+1]=Or(a,0),0!==a&&(t[a+1]=Er(t[a+1],i)),a=i;else t[i+1]=Or(l,0),0===a?a=i:t[l+1]=Er(t[l+1],i),l=i;u&&(t[i+1]=Sr(t[i+1])),ws(t,c,i,!0),ws(t,c,i,!1),function(t,e,n,i,r){const o=r?t.residualClasses:t.residualStyles;null!=o&&"string"==typeof e&&mn(o,e)>=0&&(n[i+1]=Tr(n[i+1]))}(e,c,t,i,o),s=Or(a,l),o?e.classBindings=s:e.styleBindings=s}(r,o,e,n,s,i)}}function Ns(t,e,n,i,r){let o=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const e=t[r],o=Array.isArray(e),l=o?e[1]:e,c=null===l;let u=n[r+1];u===Cr&&(u=c?$:void 0);let h=c?gn(u,i):l===i?u:void 0;if(o&&!Rs(h)&&(h=gn(e,i)),Rs(h)&&(a=h,s))return a;const d=t[r+1];r=s?Mr(d):Pr(d)}if(null!==e){let t=o?e.residualClasses:e.residualStyles;null!=t&&(a=gn(t,i))}return a}function Rs(t){return void 0!==t}function js(t,e){return 0!=(t.flags&(e?16:32))}function Bs(t,e=""){const n=$t(),i=Yt(),r=t+20,o=i.firstCreatePass?Dr(i,r,1,e,null):i.data[r],s=n[r]=function(t,e){return St(t)?t.createText(e):t.createTextNode(e)}(n[11],e);si(i,n,s,o),Ht(o,!1)}function Vs(t){return $s("",t,""),Vs}function $s(t,e,n){const i=$t(),r=function(t,e,n,i){return Jo(t,te(),n)?e+v(n)+i:Cr}(i,t,e,n);return r!==Cr&&yo(i,ge(),r),$s}function Ys(t,e,n,i,r){const o=$t(),s=function(t,e,n,i,r,o){const s=Xo(t,Kt(),n,r);return ee(2),s?e+v(n)+i+v(r)+o:Cr}(o,t,e,n,i,r);return s!==Cr&&yo(o,ge(),s),Ys}function Zs(t,e,n){const i=$t();return Jo(i,te(),e)&&Ur(Yt(),ve(),i,t,e,i[11],n,!0),Zs}function qs(t,e,n){const i=$t();if(Jo(i,te(),e)){const r=Yt(),o=ve();Ur(r,o,i,t,e,function(t,e,n){return(null===t||pt(t))&&(n=function(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[0]}return null}(n[e.index])),n[11]}(re(r.data),o,i),n,!0)}return qs}const Us=void 0;var Hs=["en",[["a","p"],["AM","PM"],Us],[["AM","PM"],Us,Us],[["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"]],Us,[["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"]],Us,[["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}",Us,"{1} 'at' {0}",Us],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){const e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let Gs={};function Js(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=Qs(e);if(n)return n;const i=e.split("-")[0];if(n=Qs(i),n)return n;if("en"===i)return Hs;throw new Error(`Missing locale data for the locale "${t}".`)}function Xs(t){return Js(t)[Ws.PluralCase]}function Qs(t){return t in Gs||(Gs[t]=B.ng&&B.ng.common&&B.ng.common.locales&&B.ng.common.locales[t]),Gs[t]}var Ws=(()=>((Ws=Ws||{})[Ws.LocaleId=0]="LocaleId",Ws[Ws.DayPeriodsFormat=1]="DayPeriodsFormat",Ws[Ws.DayPeriodsStandalone=2]="DayPeriodsStandalone",Ws[Ws.DaysFormat=3]="DaysFormat",Ws[Ws.DaysStandalone=4]="DaysStandalone",Ws[Ws.MonthsFormat=5]="MonthsFormat",Ws[Ws.MonthsStandalone=6]="MonthsStandalone",Ws[Ws.Eras=7]="Eras",Ws[Ws.FirstDayOfWeek=8]="FirstDayOfWeek",Ws[Ws.WeekendRange=9]="WeekendRange",Ws[Ws.DateFormat=10]="DateFormat",Ws[Ws.TimeFormat=11]="TimeFormat",Ws[Ws.DateTimeFormat=12]="DateTimeFormat",Ws[Ws.NumberSymbols=13]="NumberSymbols",Ws[Ws.NumberFormats=14]="NumberFormats",Ws[Ws.CurrencyCode=15]="CurrencyCode",Ws[Ws.CurrencySymbol=16]="CurrencySymbol",Ws[Ws.CurrencyName=17]="CurrencyName",Ws[Ws.Currencies=18]="Currencies",Ws[Ws.Directionality=19]="Directionality",Ws[Ws.PluralCase=20]="PluralCase",Ws[Ws.ExtraData=21]="ExtraData",Ws))();const Ks="en-US";let ta=Ks;function ea(t){b(t,"Expected localeId to be defined"),"string"==typeof t&&(ta=t.toLowerCase().replace(/_/g,"-"))}function na(t,e,n,i,r){if(t=f(t),Array.isArray(t))for(let o=0;o>20;if(No(t)||!t.multi){const i=new Me(l,r,ts),p=oa(a,e,r?u:u+d,h);-1===p?($e(Re(c,s),o,a),ia(o,t,e.length),e.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(i),s.push(i)):(n[p]=i,s[p]=i)}else{const p=oa(a,e,u+d,h),f=oa(a,e,u,u+d),g=p>=0&&n[p],m=f>=0&&n[f];if(r&&!m||!r&&!g){$e(Re(c,s),o,a);const u=function(t,e,n,i,r){const o=new Me(t,n,ts);return o.multi=[],o.index=e,o.componentProviders=0,ra(o,r,i&&!n),o}(r?aa:sa,n.length,r,i,l);!r&&m&&(n[f].providerFactory=u),ia(o,t,e.length,0),e.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(u),s.push(u)}else ia(o,t,p>-1?p:f,ra(n[r?f:p],l,!r&&i));!r&&i&&m&&n[f].componentProviders++}}}function ia(t,e,n,i){const r=No(e);if(r||function(t){return!!t.useClass}(e)){const o=(e.useClass||e).prototype.ngOnDestroy;if(o){const s=t.destroyHooks||(t.destroyHooks=[]);if(!r&&e.multi){const t=s.indexOf(n);-1===t?s.push(n,[i,o]):s[t+1].push(i,o)}else s.push(n,o)}}}function ra(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function oa(t,e,n,i){for(let r=n;r{n.providersResolver=(n,i)=>function(t,e,n){const i=Yt();if(i.firstCreatePass){const r=pt(t);na(n,i.data,i.blueprint,r,!0),na(e,i.data,i.blueprint,r,!1)}}(n,i?i(t):t,e)}}class ua{}const ha="ngComponent";class da{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${u(t)}. Did you add it to @NgModule.entryComponents?`);return e[ha]=t,e}(t)}}let pa=(()=>{class t{}return t.NULL=new da,t})();function fa(...t){}function ga(t,e){return new va(At(t,e))}const ma=function(){return ga(qt(),$t())};let va=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=ma,t})();function _a(t){return t instanceof va?t.nativeElement:t}class ya{}let ba=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>wa(),t})();const wa=function(){const t=$t(),e=Nt(qt().index,t);return function(t){return t[11]}(lt(e)?e:t)};let Ca=(()=>{class t{}return t.\u0275prov=w({token:t,providedIn:"root",factory:()=>null}),t})();class xa{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const ka=new xa("12.2.17");class Oa{constructor(){}supports(t){return Uo(t)}create(t){return new Sa(t)}}const Ma=(t,e)=>e;class Sa{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||Ma}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,i=0,r=null;for(;e||n;){const o=!n||e&&e.currentIndex{i=this._trackByFn(e,t),null!==r&&Object.is(r.trackById,i)?(o&&(r=this._verifyReinsertion(r,t,i,e)),Object.is(r.item,t)||this._addIdentityChange(r,t)):(r=this._mismatch(r,t,i,e),o=!0),r=r._next,e++}),this.length=e;return this._truncate(r),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,i){let r;return null===t?r=this._itTail:(r=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,r,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,r,i)):t=this._addAfter(new Pa(e,n),r,i),t}_verifyReinsertion(t,e,n,i){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?t=this._reinsertAfter(r,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),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 i=t._prevRemoved,r=t._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,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 i=null===e?this._itHead:e._next;return t._next=i,t._prev=e,null===i?this._itTail=t:i._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new Ta),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 Ta),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 Pa{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 Ea{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 Ta{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new Ea,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 Aa(t,e,n){const i=t.previousIndex;if(null===i)return i;let r=0;return n&&i{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const i=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,i)}}),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 i=n._prev,r=n._next;return i&&(i._next=r),r&&(r._prev=i),n._next=null,n._prev=null,n}const n=new Na(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 Na{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}}function La(){return new za([new Oa])}let za=(()=>{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=>t.create(e,n||La()),deps:[[t,new Ln,new Dn]]}}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 '${function(t){return t.name||typeof t}(t)}'`)}}return t.\u0275prov=w({token:t,providedIn:"root",factory:La}),t})();function Fa(){return new Ra([new Ia])}let Ra=(()=>{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=>t.create(e,n||Fa()),deps:[[t,new Ln,new Dn]]}}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=w({token:t,providedIn:"root",factory:Fa}),t})();function ja(t,e,n,i,r=!1){for(;null!==n;){const o=e[n.index];if(null!==o&&i.push(Et(o)),ct(o))for(let t=10;t-1&&(Gn(t,n),dn(e,n))}this._attachedToViewContainer=!1}Jn(this._lView[1],this._lView)}onDestroy(t){Zr(this._lView[1],this._lView,null,t)}markForCheck(){co(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){uo(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){Qt(!0);try{uo(t,e,n)}finally{Qt(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,hi(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class Va extends Ba{constructor(t){super(t),this._view=t}detectChanges(){ho(this._view)}checkNoChanges(){!function(t){Qt(!0);try{ho(t)}finally{Qt(!1)}}(this._view)}get context(){return null}}const $a=function(t){return function(t,e,n){if(ht(t)&&!n){const n=Nt(t.index,e);return new Ba(n,n)}return 47&t.type?new Ba(e[16],e):null}(qt(),$t(),16==(16&t))};let Ya=(()=>{class t{}return t.__NG_ELEMENT_ID__=$a,t})();const Za=[new Ia],qa=new za([new Oa]),Ua=new Ra(Za),Ha=function(){return Qa(qt(),$t())};let Ga=(()=>{class t{}return t.__NG_ELEMENT_ID__=Ha,t})();const Ja=Ga,Xa=class extends Ja{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=Ir(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const i=this._declarationLView[19];return null!==i&&(n[19]=i.createEmbeddedView(e)),Lr(e,n,t),new Ba(n)}};function Qa(t,e){return 4&t.type?new Xa(e,t,ga(t,e)):null}class Wa{}class Ka{}const tl=function(){return sl(qt(),$t())};let el=(()=>{class t{}return t.__NG_ELEMENT_ID__=tl,t})();const nl=el,il=class extends nl{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return ga(this._hostTNode,this._hostLView)}get injector(){return new Ke(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ve(this._hostTNode,this._hostLView);if(Ie(t)){const e=Ne(t,this._hostLView),n=De(t);return new Ke(e[1].data[n+8],e)}return new Ke(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=rl(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,n){const i=t.createEmbeddedView(e||{});return this.insert(i,n),i}createComponent(t,e,n,i,r){const o=n||this.parentInjector;if(!r&&null==t.ngModule&&o){const t=o.get(Wa,null);t&&(r=t)}const s=t.create(o,i,void 0,r);return this.insert(s.hostView,e),s}insert(t,e){const n=t._lView,i=n[1];if(ct(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],i=new il(e,e[6],e[3]);i.detach(i.indexOf(t))}}const r=this._adjustIndex(e),o=this._lContainer;!function(t,e,n,i){const r=10+i,o=n.length;i>0&&(n[r-1][4]=e),isr});class hl extends ua{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(wr).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return cl(this.componentDef.inputs)}get outputs(){return cl(this.componentDef.outputs)}create(t,e,n,i){const r=(i=i||this.ngModule)?function(t,e){return{get:(n,i,r)=>{const o=t.get(n,al,r);return o!==al||i===al?o:e.get(n,i,r)}}}(t,i.injector):t,o=r.get(ya,Pt),s=r.get(Ca,null),a=o.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(t,e,n){if(St(t))return t.selectRootElement(e,n===z.ShadowDom);let i="string"==typeof e?t.querySelector(e):e;return i.textContent="",i}(a,n,this.componentDef.encapsulation):Un(o.createRenderer(null,this.componentDef),l,function(t){const e=t.toLowerCase();return"svg"===e?xt:"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),u=this.componentDef.onPush?576:528,h=function(t,e){return{components:[],scheduler:t||sr,clean:fo,playerHandler:e||null,flags:0}}(),d=Yr(0,null,null,1,0,null,null,null,null,null),p=Ir(null,d,h,u,null,null,o,a,s,r);let f,g;ce(p);try{const t=function(t,e,n,i,r,o){const s=n[1];n[20]=t;const a=Dr(s,20,2,"#host",null),l=a.mergedAttrs=e.hostAttrs;null!==l&&(bo(a,l,!0),null!==t&&(Se(r,t,l),null!==a.classes&&fi(r,t,a.classes),null!==a.styles&&pi(r,t,a.styles)));const c=i.createRenderer(t,e),u=Ir(n,$r(e),null,e.onPush?64:16,n[20],a,i,c,o||null,null);return s.firstCreatePass&&($e(Re(a,n),s,e.type),Xr(s,a),Wr(a,n.length,1)),lo(n,u),n[20]=u}(c,this.componentDef,p,o,a);if(c)if(n)Se(a,c,["ng-version",ka.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let i=1,r=2;for(;i0&&fi(a,c,e.join(" "))}if(g=It(d,20),void 0!==e){const t=g.projection=[];for(let n=0;nt(s,e)),e.contentQueries){const t=qt();e.contentQueries(1,s,t.directiveStart)}const a=qt();return!o.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(me(a.index),Gr(n[1],a,0,a.directiveStart,a.directiveEnd,e),Jr(e,s)),s}(t,this.componentDef,p,h,[Fo]),Lr(d,p,null)}finally{fe()}return new dl(this.componentType,f,ga(g,p),p,g)}}class dl extends class{}{constructor(t,e,n,i,r){super(),this.location=n,this._rootLView=i,this._tNode=r,this.instance=e,this.hostView=this.changeDetectorRef=new Va(i),this.componentType=t}get injector(){return new Ke(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const pl=new Map;class fl extends Wa{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new ll(this);const n=at(t),i=t[H]||null;i&&ea(i),this._bootstrapComponents=cr(n.bootstrap),this._r3Injector=Po(t,e,[{provide:Wa,useValue:this},{provide:pa,useValue:this.componentFactoryResolver}],u(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=zo.THROW_IF_NOT_FOUND,n=T.Default){return t===zo||t===Wa||t===wo?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 gl extends Ka{constructor(t){super(),this.moduleType=t,null!==at(t)&&function(t){const e=new Set;!function t(n){const i=at(n,!0),r=i.id;null!==r&&(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${u(e)} vs ${u(e.name)}`)}(r,pl.get(r),n),pl.set(r,n));const o=cr(i.imports);for(const s of o)e.has(s)||(e.add(s),t(s))}(t)}(t)}create(t){return new fl(this.moduleType,t)}}function ml(t,e,n){const i=Wt()+t,r=$t();return r[i]===Cr?Go(r,i,n?e.call(n):e()):function(t,e){return t[e]}(r,i)}function vl(t,e,n,i){return bl($t(),Wt(),t,e,n,i)}function _l(t,e,n,i,r){return wl($t(),Wt(),t,e,n,i,r)}function yl(t,e){const n=t[e];return n===Cr?void 0:n}function bl(t,e,n,i,r,o){const s=e+n;return Jo(t,s,r)?Go(t,s+1,o?i.call(o,r):i(r)):yl(t,s+1)}function wl(t,e,n,i,r,o,s){const a=e+n;return Xo(t,a,r,o)?Go(t,a+2,s?i.call(s,r,o):i(r,o)):yl(t,a+2)}function Cl(t,e,n,i,r,o,s,a){const l=e+n;return function(t,e,n,i,r){const o=Xo(t,e,n,i);return Jo(t,e+2,r)||o}(t,l,r,o,s)?Go(t,l+3,a?i.call(a,r,o,s):i(r,o,s)):yl(t,l+3)}function xl(t,e){const n=Yt();let i;const r=t+20;n.firstCreatePass?(i=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const i=e[n];if(t===i.name)return i}throw new m("302",`The pipe '${t}' could not be found!`)}(e,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(r,i.onDestroy)):i=n.data[r];const o=i.factory||(i.factory=gt(i.type)),s=I(ts);try{const t=ze(!1),e=o();return ze(t),function(t,e,n,i){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=i}(n,$t(),r,e),e}finally{I(s)}}function kl(t,e,n){const i=t+20,r=$t(),o=Dt(r,i);return Pl(r,Sl(r,i)?bl(r,Wt(),e,o.transform,n,o):o.transform(n))}function Ol(t,e,n,i){const r=t+20,o=$t(),s=Dt(o,r);return Pl(o,Sl(o,r)?wl(o,Wt(),e,s.transform,n,i,s):s.transform(n,i))}function Ml(t,e,n,i,r){const o=t+20,s=$t(),a=Dt(s,o);return Pl(s,Sl(s,o)?Cl(s,Wt(),e,a.transform,n,i,r,a):a.transform(n,i,r))}function Sl(t,e){return t[1].data[e].pure}function Pl(t,e){return qo.isWrapped(e)&&(e=qo.unwrap(e),t[Kt()]=Cr),e}function El(t){return e=>{setTimeout(t,void 0,e)}}const Tl=class extends i.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){var i,o,s;let a=t,l=e||(()=>null),c=n;if(t&&"object"==typeof t){const e=t;a=null===(i=e.next)||void 0===i?void 0:i.bind(e),l=null===(o=e.error)||void 0===o?void 0:o.bind(e),c=null===(s=e.complete)||void 0===s?void 0:s.bind(e)}this.__isAsync&&(l=El(l),a&&(a=El(a)),c&&(c=El(c)));const u=super.subscribe({next:a,error:l,complete:c});return t instanceof r.w&&t.add(u),u}};function Al(){return this._results[Zo()]()}class Il{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Zo(),n=Il.prototype;n[e]||(n[e]=Al)}get changes(){return this._changes||(this._changes=new Tl)}get(t){return this._results[t]}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,e){const n=this;n.dirty=!1;const i=cn(t);(this._changesDetected=!function(t,e,n){if(t.length!==e.length)return!1;for(let i=0;i0)i.push(s[t/2]);else{const r=o[t+1],s=e[-n];for(let t=10;t{class t{constructor(t){this.appInits=t,this.resolve=fa,this.reject=fa,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.subscribe({complete:t,error:n})});t.push(n)}}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(Mn(Xl,8))},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})();const Wl=new sn("AppId"),Kl={provide:Wl,useFactory:function(){return`${tc()}${tc()}${tc()}`},deps:[]};function tc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const ec=new sn("Platform Initializer"),nc=new sn("Platform ID"),ic=new sn("appBootstrapListener");let rc=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})();const oc=new sn("LocaleId"),sc=new sn("DefaultCurrencyCode");class ac{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const lc=function(t){return new gl(t)},cc=lc,uc=function(t){return Promise.resolve(lc(t))},hc=function(t){const e=lc(t),n=cr(at(t).declarations).reduce((t,e)=>{const n=st(e);return n&&t.push(new hl(n)),t},[]);return new ac(e,n)},dc=hc,pc=function(t){return Promise.resolve(hc(t))};let fc=(()=>{class t{constructor(){this.compileModuleSync=cc,this.compileModuleAsync=uc,this.compileModuleAndAllComponentsSync=dc,this.compileModuleAndAllComponentsAsync=pc}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})();const gc=(()=>Promise.resolve(0))();function mc(t){"undefined"==typeof Zone?gc.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class vc{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Tl(!1),this.onMicrotaskEmpty=new Tl(!1),this.onStable=new Tl(!1),this.onError=new Tl(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!n&&e,i.shouldCoalesceRunChangeDetection=n,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function(){let t=B.requestAnimationFrame,e=B.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=()=>{!function(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(B,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,bc(t),t.isCheckStableRunning=!0,yc(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),bc(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,r,o,s,a)=>{try{return wc(t),n.invokeTask(r,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||t.shouldCoalesceRunChangeDetection)&&e(),Cc(t)}},onInvoke:(n,i,r,o,s,a,l)=>{try{return wc(t),n.invoke(r,o,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),Cc(t)}},onHasTask:(e,n,i,r)=>{e.hasTask(i,r),n===i&&("microTask"==r.change?(t._hasPendingMicrotasks=r.microTask,bc(t),yc(t)):"macroTask"==r.change&&(t.hasPendingMacrotasks=r.macroTask))},onHandleError:(e,n,i,r)=>(e.handleError(i,r),t.runOutsideAngular(()=>t.onError.emit(r)),!1)})}(i)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!vc.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(vc.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,i){const r=this._inner,o=r.scheduleEventTask("NgZoneEvent: "+i,t,_c,fa,fa);try{return r.runTask(o,e,n)}finally{r.cancelTask(o)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const _c={};function yc(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 bc(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function wc(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Cc(t){t._nesting--,yc(t)}class xc{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Tl,this.onMicrotaskEmpty=new Tl,this.onStable=new Tl,this.onError=new Tl}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,i){return t.apply(e,n)}}let kc=(()=>{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:()=>{vc.assertNotInAngularZone(),mc(()=>{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())mc(()=>{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 i=-1;e&&e>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==i),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:i,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/plugins/task-tracking" 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)(Mn(vc))},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})(),Oc=(()=>{class t{constructor(){this._applications=new Map,Pc.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 Pc.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})();class Mc{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}function Sc(t){Pc=t}let Pc=new Mc,Ec=!1;function Tc(){return Ec=!0,true}let Ac;const Ic=new sn("AllowMultipleToken");class Dc{constructor(t,e){this.name=t,this.token=e}}function Nc(t,e,n=[]){const i=`Platform: ${e}`,r=new sn(i);return(e=[])=>{let o=Lc();if(!o||o.injector.get(Ic,!1))if(t)t(n.concat(e).concat({provide:r,useValue:!0}));else{const t=n.concat(e).concat({provide:r,useValue:!0},{provide:xo,useValue:"platform"});!function(t){if(Ac&&!Ac.destroyed&&!Ac.injector.get(Ic,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Ac=t.get(zc);const e=t.get(ec,null);e&&e.forEach(t=>t())}(zo.create({providers:t,name:i}))}return function(t){const e=Lc();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}(r)}}function Lc(){return Ac&&!Ac.destroyed?Ac:null}let zc=(()=>{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 xc:("zone.js"===t?void 0:t)||new vc({enableLongStackTrace:Tc(),shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)}),n}(e?e.ngZone:void 0,{ngZoneEventCoalescing:e&&e.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:e&&e.ngZoneRunCoalescing||!1}),i=[{provide:vc,useValue:n}];return n.run(()=>{const r=zo.create({providers:i,parent:this.injector,name:t.moduleType.name}),o=t.create(r),s=o.injector.get(or,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const t=n.onError.subscribe({next:t=>{s.handleError(t)}});o.onDestroy(()=>{jc(this._modules,o),t.unsubscribe()})}),function(t,n,i){try{const e=i();return hs(e)?e.catch(e=>{throw n.runOutsideAngular(()=>t.handleError(e)),e}):e}catch(e){throw n.runOutsideAngular(()=>t.handleError(e)),e}}(s,n,()=>{const t=o.injector.get(Ql);return t.runInitializers(),t.donePromise.then(()=>(ea(o.injector.get(oc,Ks)||Ks),this._moduleDoBootstrap(o),o))})})}bootstrapModule(t,e=[]){const n=Fc({},e);return function(t,e,n){const i=new gl(n);return Promise.resolve(i)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(Rc);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${u(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)(Mn(zo))},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})();function Fc(t,e){return Array.isArray(e)?e.reduce(Fc,t):Object.assign(Object.assign({},t),e)}let Rc=(()=>{class t{constructor(t,e,n,i,r){this._zone=t,this._injector=e,this._exceptionHandler=n,this._componentFactoryResolver=i,this._initStatus=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const l=new o.y(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),c=new o.y(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{vc.assertNotInAngularZone(),mc(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{vc.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=(0,s.T)(l,c.pipe((0,a.B)()))}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 ua?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const i=function(t){return t.isBoundToModule}(n)?void 0:this._injector.get(Wa),r=n.create(zo.NULL,[],e||n.selector,i),o=r.location.nativeElement,s=r.injector.get(kc,null),a=s&&r.injector.get(Oc);return s&&a&&a.registerApplication(o,s),r.onDestroy(()=>{this.detachView(r.hostView),jc(this.components,r),a&&a.unregisterApplication(o)}),this._loadComponent(r),r}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}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;jc(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(ic,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(Mn(vc),Mn(zo),Mn(or),Mn(pa),Mn(Ql))},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})();function jc(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class Bc{}class Vc{}const $c={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let Yc=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||$c}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,i]=t.split("#");return void 0===i&&(i="default"),n(69153)(e).then(t=>t[i]).then(t=>Zc(t,e,i)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,i]=t.split("#"),r="NgFactory";return void 0===i&&(i="default",r=""),n(69153)(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[i+r]).then(t=>Zc(t,e,i))}}return t.\u0275fac=function(e){return new(e||t)(Mn(fc),Mn(Vc,8))},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})();function Zc(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}const qc=function(t){return null},Uc=Nc(null,"core",[{provide:nc,useValue:"unknown"},{provide:zc,deps:[zo]},{provide:Oc,deps:[]},{provide:rc,deps:[]}]),Hc=[{provide:Rc,useClass:Rc,deps:[vc,zo,or,pa,Ql]},{provide:ul,deps:[vc],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:Ql,useClass:Ql,deps:[[new Dn,Xl]]},{provide:fc,useClass:fc,deps:[]},Kl,{provide:za,useFactory:function(){return qa},deps:[]},{provide:Ra,useFactory:function(){return Ua},deps:[]},{provide:oc,useFactory:function(t){return ea(t=t||"undefined"!=typeof $localize&&$localize.locale||Ks),t},deps:[[new In(oc),new Dn,new Ln]]},{provide:sc,useValue:"USD"}];let Gc=(()=>{class t{constructor(t){}}return t.\u0275fac=function(e){return new(e||t)(Mn(Rc))},t.\u0275mod=et({type:t}),t.\u0275inj=C({providers:Hc}),t})()},87862:function(t,e,n){"use strict";n.d(e,{gN:function(){return N},Fj:function(){return m},NI:function(){return ot},oH:function(){return gt},u:function(){return yt},cw:function(){return st},sg:function(){return vt},u5:function(){return wt},JU:function(){return p},a5:function(){return L},JJ:function(){return F},JL:function(){return R},On:function(){return ut},UX:function(){return Ct},_Y:function(){return ht}});var i=n(74788),r=n(12057),o=n(29856),s=n(59796),a=n(88002),l=n(81555),c=n(97968);function u(t,e){return new o.y(n=>{const i=t.length;if(0===i)return void n.complete();const r=new Array(i);let o=0,s=0;for(let a=0;a{u||(u=!0,s++),r[a]=t},error:t=>n.error(t),complete:()=>{o++,(o===i||!u)&&(s===i&&n.next(e?e.reduce((t,e,n)=>(t[e]=r[n],t),{}):r),n.complete())}}))}})}let h=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}setProperty(t,e){this._renderer.setProperty(this._elementRef.nativeElement,t,e)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.Qsj),i.Y36(i.SBq))},t.\u0275dir=i.lG2({type:t}),t})(),d=(()=>{class t extends h{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,features:[i.qOj]}),t})();const p=new i.OlP("NgValueAccessor"),f={provide:p,useExisting:(0,i.Gpc)(()=>m),multi:!0},g=new i.OlP("CompositionEventMode");let m=(()=>{class t extends h{constructor(t,e,n){super(t,e),this._compositionMode=n,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=(0,r.q)()?(0,r.q)().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this.setProperty("value",null==t?"":t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(g,8))},t.\u0275dir=i.lG2({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,e){1&t&&i.NdJ("input",function(t){return e._handleInput(t.target.value)})("blur",function(){return e.onTouched()})("compositionstart",function(){return e._compositionStart()})("compositionend",function(t){return e._compositionEnd(t.target.value)})},features:[i._Bn([f]),i.qOj]}),t})();const v=new i.OlP("NgValidators"),_=new i.OlP("NgAsyncValidators");function y(t){return null!=t}function b(t){const e=(0,i.QGY)(t)?(0,c.D)(t):t;return(0,i.CqO)(e),e}function w(t){let e={};return t.forEach(t=>{e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function C(t,e){return e.map(e=>e(t))}function x(t){return t.map(t=>function(t){return!t.validate}(t)?t:e=>t.validate(e))}function k(t){return null!=t?function(t){if(!t)return null;const e=t.filter(y);return 0==e.length?null:function(t){return w(C(t,e))}}(x(t)):null}function O(t){return null!=t?function(t){if(!t)return null;const e=t.filter(y);return 0==e.length?null:function(t){return function(...t){if(1===t.length){const e=t[0];if((0,s.k)(e))return u(e,null);if((0,l.K)(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return u(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return u(t=1===t.length&&(0,s.k)(t[0])?t[0]:t,null).pipe((0,a.U)(t=>e(...t)))}return u(t,null)}(C(t,e).map(b)).pipe((0,a.U)(w))}}(x(t)):null}function M(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function S(t){return t._rawValidators}function P(t){return t._rawAsyncValidators}function E(t){return t?Array.isArray(t)?t:[t]:[]}function T(t,e){return Array.isArray(t)?t.includes(e):t===e}function A(t,e){const n=E(e);return E(t).forEach(t=>{T(n,t)||n.push(t)}),n}function I(t,e){return E(e).filter(e=>!T(t,e))}let D=(()=>{class t{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=k(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=O(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t}),t})(),N=(()=>{class t extends D{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,features:[i.qOj]}),t})();class L extends D{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class z{constructor(t){this._cd=t}is(t){var e,n,i;return"submitted"===t?!!(null===(e=this._cd)||void 0===e?void 0:e.submitted):!!(null===(i=null===(n=this._cd)||void 0===n?void 0:n.control)||void 0===i?void 0:i[t])}}let F=(()=>{class t extends z{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(L,2))},t.\u0275dir=i.lG2({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&i.ekj("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))},features:[i.qOj]}),t})(),R=(()=>{class t extends z{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(N,10))},t.\u0275dir=i.lG2({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,e){2&t&&i.ekj("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))("ng-submitted",e.is("submitted"))},features:[i.qOj]}),t})();function j(t,e){return[...e.path,t]}function B(t,e){Y(t,e),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&q(t,e)})}(t,e),function(t,e){const n=(t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&q(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function(t,e){if(e.valueAccessor.setDisabledState){const n=t=>{e.valueAccessor.setDisabledState(t)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}(t,e)}function V(t,e,n=!0){const i=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(i),e.valueAccessor.registerOnTouched(i)),Z(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function $(t,e){t.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function Y(t,e){const n=S(t);null!==e.validator?t.setValidators(M(n,e.validator)):"function"==typeof n&&t.setValidators([n]);const i=P(t);null!==e.asyncValidator?t.setAsyncValidators(M(i,e.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);const r=()=>t.updateValueAndValidity();$(e._rawValidators,r),$(e._rawAsyncValidators,r)}function Z(t,e){let n=!1;if(null!==t){if(null!==e.validator){const i=S(t);if(Array.isArray(i)&&i.length>0){const r=i.filter(t=>t!==e.validator);r.length!==i.length&&(n=!0,t.setValidators(r))}}if(null!==e.asyncValidator){const i=P(t);if(Array.isArray(i)&&i.length>0){const r=i.filter(t=>t!==e.asyncValidator);r.length!==i.length&&(n=!0,t.setAsyncValidators(r))}}}const i=()=>{};return $(e._rawValidators,i),$(e._rawAsyncValidators,i),n}function q(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function U(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}function H(t,e){if(!e)return null;let n,i,r;return Array.isArray(e),e.forEach(t=>{t.constructor===m?n=t:function(t){return Object.getPrototypeOf(t.constructor)===d}(t)?i=t:r=t}),r||i||n||null}function G(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const J="VALID",X="INVALID",Q="PENDING",W="DISABLED";function K(t){return(it(t)?t.validators:t)||null}function tt(t){return Array.isArray(t)?k(t):t||null}function et(t,e){return(it(e)?e.asyncValidators:t)||null}function nt(t){return Array.isArray(t)?O(t):t||null}function it(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class rt{constructor(t,e){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=tt(this._rawValidators),this._composedAsyncValidatorFn=nt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===J}get invalid(){return this.status===X}get pending(){return this.status==Q}get disabled(){return this.status===W}get enabled(){return this.status!==W}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=tt(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=nt(t)}addValidators(t){this.setValidators(A(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(A(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(I(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(I(t,this._rawAsyncValidators))}hasValidator(t){return T(this._rawValidators,t)}hasAsyncValidator(t){return T(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=Q,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=W,this.errors=null,this._forEachChild(e=>{e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=J,this._forEachChild(e=>{e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===J||this.status===Q)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?W:J}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Q,this._hasOwnPendingAsyncValidator=!0;const e=b(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,n){if(null==e||(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length))return null;let i=t;return e.forEach(t=>{i=i instanceof st?i.controls.hasOwnProperty(t)?i.controls[t]:null:i instanceof at&&i.at(t)||null}),i}(this,t)}getError(t,e){const n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new i.vpe,this.statusChanges=new i.vpe}_calculateStatus(){return this._allControlsDisabled()?W:this.errors?X:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Q)?Q:this._anyControlsHaveStatus(X)?X:J}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){it(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class ot extends rt{constructor(t=null,e,n){super(K(e),et(n,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){G(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){G(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class st extends rt{constructor(t,e,n){super(K(e),et(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,n={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,n)=>(t[n]=e instanceof ot?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(t,e)=>!!e._syncPendingControls()||t);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const n=this.controls[e];n&&t(n,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const e of Object.keys(this.controls)){const n=this.controls[e];if(this.contains(e)&&t(n))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,e,n)=>((e.enabled||this.disabled)&&(t[n]=e.value),t))}_reduceChildren(t,e){let n=t;return this._forEachChild((t,i)=>{n=e(n,t,i)}),n}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class at extends rt{constructor(t,e,n){super(K(e),et(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[t]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,n={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((t,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof ot?t.value:t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_syncPendingControls(){let t=this.controls.reduce((t,e)=>!!e._syncPendingControls()||t,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error(`Cannot find form control at index ${t}`)}_forEachChild(t){this.controls.forEach((e,n)=>{t(e,n)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const lt={provide:L,useExisting:(0,i.Gpc)(()=>ut)},ct=(()=>Promise.resolve(null))();let ut=(()=>{class t extends L{constructor(t,e,n,r){super(),this.control=new ot,this._registered=!1,this.update=new i.vpe,this._parent=t,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=H(0,r)}ngOnChanges(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),U(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?j(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){B(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){ct.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1})})}_updateDisabled(t){const e=t.isDisabled.currentValue,n=""===e||e&&"false"!==e;ct.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(N,9),i.Y36(v,10),i.Y36(_,10),i.Y36(p,10))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i._Bn([lt]),i.qOj,i.TTD]}),t})(),ht=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})(),dt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();const pt=new i.OlP("NgModelWithFormControlWarning"),ft={provide:L,useExisting:(0,i.Gpc)(()=>gt)};let gt=(()=>{class t extends L{constructor(t,e,n,r){super(),this._ngModelWarningConfig=r,this.update=new i.vpe,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(e),this.valueAccessor=H(0,n)}set isDisabled(t){}ngOnChanges(t){if(this._isControlChanged(t)){const e=t.form.previousValue;e&&V(e,this,!1),B(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}U(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&V(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(v,10),i.Y36(_,10),i.Y36(p,10),i.Y36(pt,8))},t.\u0275dir=i.lG2({type:t,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[i._Bn([ft]),i.qOj,i.TTD]}),t._ngModelWarningSentOnce=!1,t})();const mt={provide:N,useExisting:(0,i.Gpc)(()=>vt)};let vt=(()=>{class t extends N{constructor(t,e){super(),this.validators=t,this.asyncValidators=e,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new i.vpe,this._setValidators(t),this._setAsyncValidators(e)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Z(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return B(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){V(t.control||null,t,!1),G(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this.submitted=!0,function(t,e){t._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const e=t.control,n=this.form.get(t.path);e!==n&&(V(e||null,t),n instanceof ot&&(B(n,t),t.control=n))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const e=this.form.get(t.path);(function(t,e){Y(t,e)})(e,t),e.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const e=this.form.get(t.path);e&&function(t,e){return Z(t,e)}(e,t)&&e.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Y(this.form,this),this._oldForm&&Z(this._oldForm,this)}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(v,10),i.Y36(_,10))},t.\u0275dir=i.lG2({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&i.NdJ("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([mt]),i.qOj,i.TTD]}),t})();const _t={provide:L,useExisting:(0,i.Gpc)(()=>yt)};let yt=(()=>{class t extends L{constructor(t,e,n,r,o){super(),this._ngModelWarningConfig=o,this._added=!1,this.update=new i.vpe,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=H(0,r)}set isDisabled(t){}ngOnChanges(t){this._added||this._setUpControl(),U(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return j(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(N,13),i.Y36(v,10),i.Y36(_,10),i.Y36(p,10),i.Y36(pt,8))},t.\u0275dir=i.lG2({type:t,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[i._Bn([_t]),i.qOj,i.TTD]}),t._ngModelWarningSentOnce=!1,t})(),bt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[dt]]}),t})(),wt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[bt]}),t})(),Ct=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:pt,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[bt]}),t})()},91211:function(t,e,n){"use strict";n.d(e,{b2:function(){return F},H7:function(){return D},s3:function(){return p},Dx:function(){return j},q6:function(){return L},se:function(){return x}});var i=n(12057),r=n(74788);class o extends i.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class s extends o{static makeCurrent(){(0,i.HT)(new s)}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}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}getBaseHref(t){const e=(l=l||document.querySelector("base"),l?l.getAttribute("href"):null);return null==e?null:function(t){a=a||document.createElement("a"),a.setAttribute("href",t);const e=a.pathname;return"/"===e.charAt(0)?e:`/${e}`}(e)}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return(0,i.Mx)(document.cookie,t)}}let a,l=null;const c=new r.OlP("TRANSITION_ID"),u=[{provide:r.ip1,useFactory:function(t,e,n){return()=>{n.get(r.CZH).donePromise.then(()=>{const n=(0,i.q)(),r=e.querySelectorAll(`style[ng-transition="${t}"]`);for(let t=0;t{const i=t.findTestabilityInTree(e,n);if(null==i)throw new Error("Could not find testability for element.");return i},r.dqk.getAllAngularTestabilities=()=>t.getAllTestabilities(),r.dqk.getAllAngularRootElements=()=>t.getAllRootElements(),r.dqk.frameworkStabilizers||(r.dqk.frameworkStabilizers=[]),r.dqk.frameworkStabilizers.push(t=>{const e=r.dqk.getAllAngularTestabilities();let n=e.length,i=!1;const o=function(e){i=i||e,n--,0==n&&t(i)};e.forEach(function(t){t.whenStable(o)})})}findTestabilityInTree(t,e,n){if(null==e)return null;const r=t.getTestability(e);return null!=r?r:n?(0,i.q)().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}let d=(()=>{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();const p=new r.OlP("EventManagerPlugins");let f=(()=>{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 i=0;i{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=r.Yz7({token:t,factory:t.\u0275fac}),t})(),v=(()=>{class t extends m{constructor(t){super(),this._doc=t,this._hostNodes=new Map,this._hostNodes.set(t.head,[])}_addStylesToHost(t,e,n){t.forEach(t=>{const i=this._doc.createElement("style");i.textContent=t,n.push(e.appendChild(i))})}addHost(t){const e=[];this._addStylesToHost(this._stylesSet,t,e),this._hostNodes.set(t,e)}removeHost(t){const e=this._hostNodes.get(t);e&&e.forEach(_),this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach((e,n)=>{this._addStylesToHost(t,n,e)})}ngOnDestroy(){this._hostNodes.forEach(t=>t.forEach(_))}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(i.K0))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();function _(t){(0,i.q)().remove(t)}const y={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/"},b=/%COMP%/g;function w(t,e,n){for(let i=0;i{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let x=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new k(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case r.ifc.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new O(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case 1:case r.ifc.ShadowDom:return new M(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=w(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)(r.LFG(f),r.LFG(v),r.LFG(r.AFp))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();class k{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(y[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,i){if(i){e=i+":"+e;const r=y[i];r?t.setAttributeNS(r,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const i=y[n];i?t.removeAttributeNS(i,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,i){i&(r.JOm.DashCase|r.JOm.Important)?t.style.setProperty(e,n,i&r.JOm.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&r.JOm.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,C(n)):this.eventManager.addEventListener(t,e,C(n))}}class O extends k{constructor(t,e,n,i){super(t),this.component=n;const r=w(i+"-"+n.id,n.styles,[]);e.addStyles(r),this.contentAttr="_ngcontent-%COMP%".replace(b,i+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(b,i+"-"+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 M extends k{constructor(t,e,n,i){super(t),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const r=w(i.id,i.styles,[]);for(let o=0;o{class t extends g{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)(r.LFG(i.K0))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();const P=["alt","control","meta","shift"],E={"\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"},T={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"},A={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let I=(()=>{class t extends g{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,r){const o=t.parseEventName(n),s=t.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,i.q)().onAndCancel(e,o.domEventName,s))}static parseEventName(e){const n=e.toLowerCase().split("."),i=n.shift();if(0===n.length||"keydown"!==i&&"keyup"!==i)return null;const r=t._normalizeKey(n.pop());let o="";if(P.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),o+=t+".")}),o+=r,0!=n.length||0===r.length)return null;const s={};return s.domEventName=i,s.fullKey=o,s}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&&T.hasOwnProperty(e)&&(e=T[e]))}return E[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),P.forEach(i=>{i!=n&&A[i](t)&&(e+=i+".")}),e+=n,e}static eventCallback(e,n,i){return r=>{t.getEventFullKey(r)===e&&i.runGuarded(()=>n(r))}}static _normalizeKey(t){return"esc"===t?"escape":t}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(i.K0))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),D=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,r.Yz7)({factory:function(){return(0,r.LFG)(N)},token:t,providedIn:"root"}),t})(),N=(()=>{class t extends D{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case r.q3G.NONE:return e;case r.q3G.HTML:return(0,r.qzn)(e,"HTML")?(0,r.z3N)(e):(0,r.EiD)(this._doc,String(e)).toString();case r.q3G.STYLE:return(0,r.qzn)(e,"Style")?(0,r.z3N)(e):e;case r.q3G.SCRIPT:if((0,r.qzn)(e,"Script"))return(0,r.z3N)(e);throw new Error("unsafe value used in a script context");case r.q3G.URL:return(0,r.yhl)(e),(0,r.qzn)(e,"URL")?(0,r.z3N)(e):(0,r.mCW)(String(e));case r.q3G.RESOURCE_URL:if((0,r.qzn)(e,"ResourceURL"))return(0,r.z3N)(e);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return(0,r.JVY)(t)}bypassSecurityTrustStyle(t){return(0,r.L6k)(t)}bypassSecurityTrustScript(t){return(0,r.eBb)(t)}bypassSecurityTrustUrl(t){return(0,r.LAX)(t)}bypassSecurityTrustResourceUrl(t){return(0,r.pB0)(t)}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(i.K0))},t.\u0275prov=(0,r.Yz7)({factory:function(){return function(t){return new N(t.get(i.K0))}((0,r.LFG)(r.gxx))},token:t,providedIn:"root"}),t})();const L=(0,r.eFA)(r._c5,"browser",[{provide:r.Lbi,useValue:i.bD},{provide:r.g9A,useValue:function(){s.makeCurrent(),h.init()},multi:!0},{provide:i.K0,useFactory:function(){return(0,r.RDi)(document),document},deps:[]}]),z=[[],{provide:r.zSh,useValue:"root"},{provide:r.qLn,useFactory:function(){return new r.qLn},deps:[]},{provide:p,useClass:S,multi:!0,deps:[i.K0,r.R0b,r.Lbi]},{provide:p,useClass:I,multi:!0,deps:[i.K0]},[],{provide:x,useClass:x,deps:[f,v,r.AFp]},{provide:r.FYo,useExisting:x},{provide:m,useExisting:v},{provide:v,useClass:v,deps:[i.K0]},{provide:r.dDg,useClass:r.dDg,deps:[r.R0b]},{provide:f,useClass:f,deps:[p,r.R0b]},{provide:i.JF,useClass:d,deps:[]},[]];let F=(()=>{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:r.AFp,useValue:e.appId},{provide:c,useExisting:r.AFp},u]}}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(t,12))},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:z,imports:[i.ez,r.hGG]}),t})();function R(){return new j((0,r.LFG)(i.K0))}let j=(()=>{class t{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(i.K0))},t.\u0275prov=(0,r.Yz7)({factory:R,token:t,providedIn:"root"}),t})();"undefined"!=typeof window&&window},86561:function(t,e,n){"use strict";n.d(e,{gz:function(){return Gt},m2:function(){return $},F0:function(){return vn},Od:function(){return Cn},yS:function(){return bn},Bz:function(){return Dn},lC:function(){return xn},Hx:function(){return Ot}});var i=n(12057),r=n(74788),o=n(97968),s=n(25917),a=n(26215),l=n(9112),c=n(29856),u=n(13410),h=n(22416),d=n(41439),p=n(59193),f=n(52441),g=n(79765),m=n(77393);function v(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new _(t,e,n))}}class _{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new y(t,this.accumulator,this.seed,this.hasSeed))}}class y extends m.L{constructor(t,e,n,i){super(t),this.accumulator=e,this._seed=n,this.hasSeed=i,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let n;try{n=this.accumulator(this.seed,t,e)}catch(i){this.destination.error(i)}this.seed=n,this.destination.next(n)}}var b=n(45435),w=n(7108);function C(t){return function(e){return 0===t?(0,p.c)():e.lift(new x(t))}}class x{constructor(t){if(this.total=t,this.total<0)throw new w.W}call(t,e){return e.subscribe(new k(t,this.total))}}class k extends m.L{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,i=this.count++;e.length0){const n=this.count>=this.total?this.total:this.count,i=this.ring;for(let r=0;rt.length||"full"===n.pathMatch&&(e.hasChildren()||i.lengthi[e]===t)}return t===e}function ht(t){return Array.prototype.concat.apply([],t)}function dt(t){return t.length>0?t[t.length-1]:null}function pt(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function ft(t){return(0,r.CqO)(t)?t:(0,r.QGY)(t)?(0,o.D)(Promise.resolve(t)):(0,s.of)(t)}const gt={exact:function t(e,n,i){if(!kt(e.segments,n.segments)||!bt(e.segments,n.segments,i)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children)if(!e.children[r]||!t(e.children[r],n.children[r],i))return!1;return!0},subset:_t},mt={exact:function(t,e){return ct(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>ut(t[n],e[n]))},ignored:()=>!0};function vt(t,e,n){return gt[n.paths](t.root,e.root,n.matrixParams)&&mt[n.queryParams](t.queryParams,e.queryParams)&&!("exact"===n.fragment&&t.fragment!==e.fragment)}function _t(t,e,n){return yt(t,e,e.segments,n)}function yt(t,e,n,i){if(t.segments.length>n.length){const r=t.segments.slice(0,n.length);return!(!kt(r,n)||e.hasChildren()||!bt(r,n,i))}if(t.segments.length===n.length){if(!kt(t.segments,n)||!bt(t.segments,n,i))return!1;for(const n in e.children)if(!t.children[n]||!_t(t.children[n],e.children[n],i))return!1;return!0}{const r=n.slice(0,t.segments.length),o=n.slice(t.segments.length);return!!(kt(t.segments,r)&&bt(t.segments,r,i)&&t.children[it])&&yt(t.children[it],e,o,i)}}function bt(t,e,n){return e.every((e,i)=>mt[n](t[i].parameters,e.parameters))}class wt{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ot(this.queryParams)),this._queryParamMap}toString(){return St.serialize(this)}}class Ct{constructor(t,e){this.segments=t,this.children=e,this.parent=null,pt(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Pt(this)}}class xt{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=ot(this.parameters)),this._parameterMap}toString(){return Lt(this)}}function kt(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}class Ot{}class Mt{parse(t){const e=new Bt(t);return new wt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){const e=`/${Et(t.root,!0)}`,n=function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${At(e)}=${At(t)}`).join("&"):`${At(e)}=${At(n)}`}).filter(t=>!!t);return e.length?`?${e.join("&")}`:""}(t.queryParams);var i;return`${e}${n}${"string"==typeof t.fragment?`#${i=t.fragment,encodeURI(i)}`:""}`}}const St=new Mt;function Pt(t){return t.segments.map(t=>Lt(t)).join("/")}function Et(t,e){if(!t.hasChildren())return Pt(t);if(e){const e=t.children[it]?Et(t.children[it],!1):"",n=[];return pt(t.children,(t,e)=>{e!==it&&n.push(`${e}:${Et(t,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}{const e=function(t,e){let n=[];return pt(t.children,(t,i)=>{i===it&&(n=n.concat(e(t,i)))}),pt(t.children,(t,i)=>{i!==it&&(n=n.concat(e(t,i)))}),n}(t,(e,n)=>n===it?[Et(t.children[it],!1)]:[`${n}:${Et(e,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children[it]?`${Pt(t)}/${e[0]}`:`${Pt(t)}/(${e.join("//")})`}}function Tt(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function At(t){return Tt(t).replace(/%3B/gi,";")}function It(t){return Tt(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Dt(t){return decodeURIComponent(t)}function Nt(t){return Dt(t.replace(/\+/g,"%20"))}function Lt(t){return`${It(t.path)}${function(t){return Object.keys(t).map(e=>`;${It(e)}=${It(t[e])}`).join("")}(t.parameters)}`}const zt=/^[^\/()?;=#]+/;function Ft(t){const e=t.match(zt);return e?e[0]:""}const Rt=/^[^=?&#]+/,jt=/^[^?&#]+/;class Bt{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ct([],{}):new Ct([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[it]=new Ct(t,e)),n}parseSegment(){const t=Ft(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new xt(Dt(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Ft(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=Ft(this.remaining);t&&(n=t,this.capture(n))}t[Dt(e)]=Dt(n)}parseQueryParam(t){const e=function(t){const e=t.match(Rt);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(jt);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const i=Nt(e),r=Nt(n);if(t.hasOwnProperty(i)){let e=t[i];Array.isArray(e)||(e=[e],t[i]=e),e.push(r)}else t[i]=r}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Ft(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error(`Cannot parse url '${this.url}'`);let r;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):t&&(r=it);const o=this.parseChildren();e[r]=1===Object.keys(o).length?o[it]:new Ct([],o),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class Vt{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=$t(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=$t(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Yt(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Yt(t,this._root).map(t=>t.value)}}function $t(t,e){if(t===e.value)return e;for(const n of e.children){const e=$t(t,n);if(e)return e}return null}function Yt(t,e){if(t===e.value)return[e];for(const n of e.children){const i=Yt(t,n);if(i.length)return i.unshift(e),i}return[]}class Zt{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function qt(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class Ut extends Vt{constructor(t,e){super(t),this.snapshot=e,Wt(this,t)}toString(){return this.snapshot.toString()}}function Ht(t,e){const n=function(t,e){const n=new Xt([],{},{},"",{},it,e,null,t.root,-1,{});return new Qt("",new Zt(n,[]))}(t,e),i=new a.X([new xt("",{})]),r=new a.X({}),o=new a.X({}),s=new a.X({}),l=new a.X(""),c=new Gt(i,r,s,l,o,it,e,n.root);return c.snapshot=n.root,new Ut(new Zt(c,[]),n)}class Gt{constructor(t,e,n,i,r,o,s,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=o,this.component=s,this._futureSnapshot=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,P.U)(t=>ot(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,P.U)(t=>ot(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Jt(t,e="emptyOnly"){const n=t.pathFromRoot;let i=0;if("always"!==e)for(i=n.length-1;i>=1;){const t=n[i],e=n[i-1];if(t.routeConfig&&""===t.routeConfig.path)i--;else{if(e.component)break;i--}}return function(t){return t.reduce((t,e)=>({params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(i))}class Xt{constructor(t,e,n,i,r,o,s,a,l,c,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=o,this.component=s,this.routeConfig=a,this._urlSegment=l,this._lastPathIndex=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=ot(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ot(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Qt extends Vt{constructor(t,e){super(e),this.url=t,Wt(this,e)}toString(){return Kt(this._root)}}function Wt(t,e){e.value._routerState=t,e.children.forEach(e=>Wt(t,e))}function Kt(t){const e=t.children.length>0?` { ${t.children.map(Kt).join(", ")} } `:"";return`${t.value}${e}`}function te(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,ct(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),ct(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;nct(t.parameters,e[n].parameters))}(t.url,e.url);return n&&!(!t.parent!=!e.parent)&&(!t.parent||ee(t.parent,e.parent))}function ne(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const i=n.value;i._futureSnapshot=e.value;const r=function(t,e,n){return e.children.map(e=>{for(const i of n.children)if(t.shouldReuseRoute(e.value,i.value.snapshot))return ne(t,e,i);return ne(t,e)})}(t,e,n);return new Zt(i,r)}{if(t.shouldAttach(e.value)){const n=t.retrieve(e.value);if(null!==n){const t=n.route;return ie(e,t),t}}const n=function(t){return new Gt(new a.X(t.url),new a.X(t.params),new a.X(t.queryParams),new a.X(t.fragment),new a.X(t.data),t.outlet,t.component,t)}(e.value),i=e.children.map(e=>ne(t,e));return new Zt(n,i)}}function ie(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(let n=0;n{o[e]=Array.isArray(t)?t.map(t=>`${t}`):`${t}`}),new wt(n.root===t?e:ae(n.root,t,e),o,r)}function ae(t,e,n){const i={};return pt(t.children,(t,r)=>{i[r]=t===e?n:ae(t,e,n)}),new Ct(t.segments,i)}class le{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&re(n[0]))throw new Error("Root segment cannot have matrix parameters");const i=n.find(oe);if(i&&i!==dt(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ce{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function ue(t,e,n){if(t||(t=new Ct([],{})),0===t.segments.length&&t.hasChildren())return he(t,e,n);const i=function(t,e,n){let i=0,r=e;const o={match:!1,pathIndex:0,commandIndex:0};for(;r=n.length)return o;const e=t.segments[r],s=n[i];if(oe(s))break;const a=`${s}`,l=i0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!ge(a,l,e))return o;i+=2}else{if(!ge(a,{},e))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(t,e,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex{"string"==typeof n&&(n=[n]),null!==n&&(r[i]=ue(t.children[i],e,n))}),pt(t.children,(t,e)=>{void 0===i[e]&&(r[e]=t)}),new Ct(t.segments,r)}}function de(t,e,n){const i=t.segments.slice(0,e);let r=0;for(;r{"string"==typeof t&&(t=[t]),null!==t&&(e[n]=de(new Ct([],{}),0,t))}),e}function fe(t){const e={};return pt(t,(t,n)=>e[n]=`${t}`),e}function ge(t,e,n){return t==n.path&&ct(e,n.parameters)}class me{constructor(t,e,n,i){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=i}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),te(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const i=qt(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,i[e],n),delete i[e]}),pt(i,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const i=t.value,r=e?e.value:null;if(i===r)if(i.component){const r=n.getContext(i.outlet);r&&this.deactivateChildRoutes(t,e,r.children)}else this.deactivateChildRoutes(t,e,n);else r&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet);if(n&&n.outlet){const e=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:i})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet),i=n&&t.value.component?n.children:e,r=qt(t);for(const o of Object.keys(r))this.deactivateRouteAndItsChildren(r[o],i);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated(),n.attachRef=null,n.resolver=null,n.route=null)}activateChildRoutes(t,e,n){const i=qt(e);t.children.forEach(t=>{this.activateRoutes(t,i[t.value.outlet],n),this.forwardEvent(new et(t.value.snapshot))}),t.children.length&&this.forwardEvent(new K(t.value.snapshot))}activateRoutes(t,e,n){const i=t.value,r=e?e.value:null;if(te(i),i===r)if(i.component){const r=n.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,r.children)}else this.activateChildRoutes(t,e,n);else if(i.component){const e=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const t=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),ve(t.route)}else{const n=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(i.snapshot),r=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=i,e.resolver=r,e.outlet&&e.outlet.activateWith(i,r),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function ve(t){te(t.value),t.children.forEach(ve)}class _e{constructor(t,e){this.routes=t,this.module=e}}function ye(t){return"function"==typeof t}function be(t){return t instanceof wt}const we=Symbol("INITIAL_VALUE");function Ce(){return(0,E.w)(t=>(0,l.aj)(t.map(t=>t.pipe((0,T.q)(1),(0,A.O)(we)))).pipe(v((t,e)=>{let n=!1;return e.reduce((t,i,r)=>t!==we?t:(i===we&&(n=!0),n||!1!==i&&r!==e.length-1&&!be(i)?t:i),t)},we),(0,b.h)(t=>t!==we),(0,P.U)(t=>be(t)?t:!0===t),(0,T.q)(1)))}let xe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&r._UZ(0,"router-outlet")},directives:function(){return[xn]},encapsulation:2}),t})();function ke(t,e=""){for(let n=0;nPe(t)===e);return n.push(...t.filter(t=>Pe(t)!==e)),n}const Te={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Ae(t,e,n){var i;if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?Object.assign({},Te):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const r=(e.matcher||lt)(n,t,e);if(!r)return Object.assign({},Te);const o={};pt(r.posParams,(t,e)=>{o[e]=t.path});const s=r.consumed.length>0?Object.assign(Object.assign({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:s,positionalParamSegments:null!==(i=r.posParams)&&void 0!==i?i:{}}}function Ie(t,e,n,i,r="corrected"){if(n.length>0&&function(t,e,n){return n.some(n=>De(t,e,n)&&Pe(n)!==it)}(t,n,i)){const r=new Ct(e,function(t,e,n,i){const r={};r[it]=i,i._sourceSegment=t,i._segmentIndexShift=e.length;for(const o of n)if(""===o.path&&Pe(o)!==it){const n=new Ct([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,r[Pe(o)]=n}return r}(t,e,i,new Ct(n,t.children)));return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>De(t,e,n))}(t,n,i)){const o=new Ct(t.segments,function(t,e,n,i,r,o){const s={};for(const a of i)if(De(t,n,a)&&!r[Pe(a)]){const n=new Ct([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===o?t.segments.length:e.length,s[Pe(a)]=n}return Object.assign(Object.assign({},r),s)}(t,e,n,i,t.children,r));return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:n}}const o=new Ct(t.segments,t.children);return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:n}}function De(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}function Ne(t,e,n,i){return!!(Pe(t)===i||i!==it&&De(e,n,t))&&("**"===t.path||Ae(e,t,n).matched)}function Le(t,e,n){return 0===e.length&&!t.children[n]}class ze{constructor(t){this.segmentGroup=t||null}}class Fe{constructor(t){this.urlTree=t}}function Re(t){return new c.y(e=>e.error(new ze(t)))}function je(t){return new c.y(e=>e.error(new Fe(t)))}function Be(t){return new c.y(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class Ve{constructor(t,e,n,i,o){this.configLoader=e,this.urlSerializer=n,this.urlTree=i,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(r.h0i)}apply(){const t=Ie(this.urlTree.root,[],[],this.config).segmentGroup,e=new Ct(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,e,it).pipe((0,P.U)(t=>this.createUrlTree($e(t),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,I.K)(t=>{if(t instanceof Fe)return this.allowRedirects=!1,this.match(t.urlTree);throw t instanceof ze?this.noMatchError(t):t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,it).pipe((0,P.U)(e=>this.createUrlTree($e(e),t.queryParams,t.fragment))).pipe((0,I.K)(t=>{throw t instanceof ze?this.noMatchError(t):t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const i=t.segments.length>0?new Ct([],{[it]:t}):t;return new wt(i,e,n)}expandSegmentGroup(t,e,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe((0,P.U)(t=>new Ct([],t))):this.expandSegment(t,n,e,n.segments,i,!0)}expandChildren(t,e,n){const i=[];for(const r of Object.keys(n.children))"primary"===r?i.unshift(r):i.push(r);return(0,o.D)(i).pipe((0,D.b)(i=>{const r=n.children[i],o=Ee(e,i);return this.expandSegmentGroup(t,o,r,i).pipe((0,P.U)(t=>({segment:t,outlet:i})))}),v((t,e)=>(t[e.outlet]=e.segment,t),{}),function(t,e){const n=arguments.length>=2;return i=>i.pipe(t?(0,b.h)((e,n)=>t(e,n,i)):S.y,C(1),n?(0,M.d)(e):(0,O.T)(()=>new u.K))}())}expandSegment(t,e,n,i,r,a){return(0,o.D)(n).pipe((0,D.b)(o=>this.expandSegmentAgainstRoute(t,e,n,o,i,r,a).pipe((0,I.K)(t=>{if(t instanceof ze)return(0,s.of)(null);throw t}))),(0,N.P)(t=>!!t),(0,I.K)((t,n)=>{if(t instanceof u.K||"EmptyError"===t.name){if(Le(e,i,r))return(0,s.of)(new Ct([],{}));throw new ze(e)}throw t}))}expandSegmentAgainstRoute(t,e,n,i,r,o,s){return Ne(i,e,r,o)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,e,i,r,o):s&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,o):Re(e):Re(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,o){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,i,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,o)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,i){const r=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?je(r):this.lineralizeSegments(n,r).pipe((0,L.zg)(n=>{const r=new Ct(n,{});return this.expandSegment(t,r,e,n,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,o){const{matched:s,consumedSegments:a,lastChild:l,positionalParamSegments:c}=Ae(e,i,r);if(!s)return Re(e);const u=this.applyRedirectCommands(a,i.redirectTo,c);return i.redirectTo.startsWith("/")?je(u):this.lineralizeSegments(i,u).pipe((0,L.zg)(i=>this.expandSegment(t,e,n,i.concat(r.slice(l)),o,!1)))}matchSegmentAgainstRoute(t,e,n,i,r){if("**"===n.path)return n.loadChildren?(n._loadedConfig?(0,s.of)(n._loadedConfig):this.configLoader.load(t.injector,n)).pipe((0,P.U)(t=>(n._loadedConfig=t,new Ct(i,{})))):(0,s.of)(new Ct(i,{}));const{matched:o,consumedSegments:a,lastChild:l}=Ae(e,n,i);if(!o)return Re(e);const c=i.slice(l);return this.getChildConfig(t,n,i).pipe((0,L.zg)(t=>{const i=t.module,o=t.routes,{segmentGroup:l,slicedSegments:u}=Ie(e,a,c,o),h=new Ct(l.segments,l.children);if(0===u.length&&h.hasChildren())return this.expandChildren(i,o,h).pipe((0,P.U)(t=>new Ct(a,t)));if(0===o.length&&0===u.length)return(0,s.of)(new Ct(a,{}));const d=Pe(n)===r;return this.expandSegment(i,h,o,u,d?it:r,!0).pipe((0,P.U)(t=>new Ct(a.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?(0,s.of)(new _e(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?(0,s.of)(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe((0,L.zg)(n=>{return n?this.configLoader.load(t.injector,e).pipe((0,P.U)(t=>(e._loadedConfig=t,t))):(i=e,new c.y(t=>t.error(at(`Cannot load children because the guard of the route "path: '${i.path}'" returned false`))));var i})):(0,s.of)(new _e([],t))}runCanLoadGuards(t,e,n){const i=e.canLoad;if(!i||0===i.length)return(0,s.of)(!0);const r=i.map(i=>{const r=t.get(i);let o;if((s=r)&&ye(s.canLoad))o=r.canLoad(e,n);else{if(!ye(r))throw new Error("Invalid CanLoad guard");o=r(e,n)}var s;return ft(o)});return(0,s.of)(r).pipe(Ce(),(0,z.b)(t=>{if(!be(t))return;const e=at(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),(0,P.U)(t=>!0===t))}lineralizeSegments(t,e){let n=[],i=e.root;for(;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return(0,s.of)(n);if(i.numberOfChildren>1||!i.children[it])return Be(t.redirectTo);i=i.children[it]}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,i){const r=this.createSegmentGroup(t,e.root,n,i);return new wt(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return pt(t,(t,i)=>{if("string"==typeof t&&t.startsWith(":")){const r=t.substring(1);n[i]=e[r]}else n[i]=t}),n}createSegmentGroup(t,e,n,i){const r=this.createSegments(t,e.segments,n,i);let o={};return pt(e.children,(e,r)=>{o[r]=this.createSegmentGroup(t,e,n,i)}),new Ct(r,o)}createSegments(t,e,n,i){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,i):this.findOrReturn(e,n))}findPosParam(t,e,n){const i=n[e.path.substring(1)];if(!i)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return i}findOrReturn(t,e){let n=0;for(const i of e){if(i.path===t.path)return e.splice(n),i;n++}return t}}function $e(t){const e={};for(const n of Object.keys(t.children)){const i=$e(t.children[n]);(i.segments.length>0||i.hasChildren())&&(e[n]=i)}return function(t){if(1===t.numberOfChildren&&t.children[it]){const e=t.children[it];return new Ct(t.segments.concat(e.segments),e.children)}return t}(new Ct(t.segments,e))}class Ye{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Ze{constructor(t,e){this.component=t,this.route=e}}function qe(t,e,n){const i=t._root;return He(i,e?e._root:null,n,[i.value])}function Ue(t,e,n){const i=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(i?i.module.injector:n).get(t)}function He(t,e,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=qt(e);return t.children.forEach(t=>{(function(t,e,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=t.value,s=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const l=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!kt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!kt(t.url,e.url)||!ct(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ee(t,e)||!ct(t.queryParams,e.queryParams);default:return!ee(t,e)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new Ye(i)):(o.data=s.data,o._resolvedData=s._resolvedData),He(t,e,o.component?a?a.children:null:n,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new Ze(a.outlet.component,s))}else s&&Ge(e,a,r),r.canActivateChecks.push(new Ye(i)),He(t,null,o.component?a?a.children:null:n,i,r)})(t,o[t.value.outlet],n,i.concat([t.value]),r),delete o[t.value.outlet]}),pt(o,(t,e)=>Ge(t,n.getContext(e),r)),r}function Ge(t,e,n){const i=qt(t),r=t.value;pt(i,(t,i)=>{Ge(t,r.component?e?e.children.getContext(i):null:e,n)}),n.canDeactivateChecks.push(new Ze(r.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,r))}class Je{}function Xe(t){return new c.y(e=>e.error(t))}class Qe{constructor(t,e,n,i,r,o){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=i,this.paramsInheritanceStrategy=r,this.relativeLinkResolution=o}recognize(){const t=Ie(this.urlTree.root,[],[],this.config.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,it);if(null===e)return null;const n=new Xt([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},it,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new Zt(n,e),r=new Qt(this.url,i);return this.inheritParamsAndData(r._root),r}inheritParamsAndData(t){const e=t.value,n=Jt(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}processChildren(t,e){const n=[];for(const r of Object.keys(e.children)){const i=e.children[r],o=Ee(t,r),s=this.processSegmentGroup(o,i,r);if(null===s)return null;n.push(...s)}const i=Ke(n);return i.sort((t,e)=>t.value.outlet===it?-1:e.value.outlet===it?1:t.value.outlet.localeCompare(e.value.outlet)),i}processSegment(t,e,n,i){for(const r of t){const t=this.processSegmentAgainstRoute(r,e,n,i);if(null!==t)return t}return Le(e,n,i)?[]:null}processSegmentAgainstRoute(t,e,n,i){if(t.redirectTo||!Ne(t,e,n,i))return null;let r,o=[],s=[];if("**"===t.path){const i=n.length>0?dt(n).parameters:{};r=new Xt(n,i,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,nn(t),Pe(t),t.component,t,tn(e),en(e)+n.length,rn(t))}else{const i=Ae(e,t,n);if(!i.matched)return null;o=i.consumedSegments,s=n.slice(i.lastChild),r=new Xt(o,i.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,nn(t),Pe(t),t.component,t,tn(e),en(e)+o.length,rn(t))}const a=(u=t).children?u.children:u.loadChildren?u._loadedConfig.routes:[],{segmentGroup:l,slicedSegments:c}=Ie(e,o,s,a.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution);var u;if(0===c.length&&l.hasChildren()){const t=this.processChildren(a,l);return null===t?null:[new Zt(r,t)]}if(0===a.length&&0===c.length)return[new Zt(r,[])];const h=Pe(t)===i,d=this.processSegment(a,l,c,h?it:i);return null===d?null:[new Zt(r,d)]}}function We(t){const e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function Ke(t){const e=[],n=new Set;for(const i of t){if(!We(i)){e.push(i);continue}const t=e.find(t=>i.value.routeConfig===t.value.routeConfig);void 0!==t?(t.children.push(...i.children),n.add(t)):e.push(i)}for(const i of n){const t=Ke(i.children);e.push(new Zt(i.value,t))}return e.filter(t=>!n.has(t))}function tn(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function en(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function nn(t){return t.data||{}}function rn(t){return t.resolve||{}}function on(t){return(0,E.w)(e=>{const n=t(e);return n?(0,o.D)(n).pipe((0,P.U)(()=>e)):(0,s.of)(e)})}class sn extends class{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const an=new r.OlP("ROUTES");class ln{constructor(t,e,n,i){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=i}load(t,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const n=this.loadModuleFactory(e.loadChildren).pipe((0,P.U)(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const i=n.create(t);return new _e(ht(i.injector.get(an,void 0,r.XFs.Self|r.XFs.Optional)).map(Se),i)}),(0,I.K)(t=>{throw e._loader$=void 0,t}));return e._loader$=new f.c(n,()=>new g.xQ).pipe((0,F.x)()),e._loader$}loadModuleFactory(t){return"string"==typeof t?(0,o.D)(this.loader.load(t)):ft(t()).pipe((0,L.zg)(t=>t instanceof r.YKP?(0,s.of)(t):(0,o.D)(this.compiler.compileModuleAsync(t))))}}class cn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new un,this.attachRef=null}}class un{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new cn,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class hn{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function dn(t){throw t}function pn(t,e,n){return e.parse("/")}function fn(t,e){return(0,s.of)(null)}const gn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},mn={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let vn=(()=>{class t{constructor(t,e,n,i,o,s,l,c){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=i,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new g.xQ,this.errorHandler=dn,this.malformedUriErrorHandler=pn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:fn,afterPreactivation:fn},this.urlHandlingStrategy=new hn,this.routeReuseStrategy=new sn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=o.get(r.h0i),this.console=o.get(r.c2e);const u=o.get(r.R0b);this.isNgZoneEnabled=u instanceof r.R0b&&r.R0b.isInAngularZone(),this.resetConfig(c),this.currentUrlTree=new wt(new Ct([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new ln(s,l,t=>this.triggerEvent(new X(t)),t=>this.triggerEvent(new Q(t))),this.routerState=Ht(this.currentUrlTree,this.rootComponentType),this.transitions=new a.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var t;return null===(t=this.location.getState())||void 0===t?void 0:t.\u0275routerPageId}setupNavigations(t){const e=this.events;return t.pipe((0,b.h)(t=>0!==t.id),(0,P.U)(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),(0,E.w)(t=>{let n=!1,i=!1;return(0,s.of)(t).pipe((0,z.b)(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,E.w)(t=>{const n=this.browserUrlTree.toString(),r=!this.navigated||t.extractedUrl.toString()!==n||n!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||r)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return _n(t.source)&&(this.browserUrlTree=t.extractedUrl),(0,s.of)(t).pipe((0,E.w)(t=>{const n=this.transitions.getValue();return e.next(new V(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?p.E:Promise.resolve(t)}),function(t,e,n,i){return(0,E.w)(r=>function(t,e,n,i,r){return new Ve(t,e,n,i,r).apply()}(t,e,n,r.extractedUrl,i).pipe((0,P.U)(t=>Object.assign(Object.assign({},r),{urlAfterRedirects:t}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,z.b)(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,n,r,o){return(0,L.zg)(a=>function(t,e,n,r,o="emptyOnly",a="legacy"){try{const i=new Qe(t,e,n,r,o,a).recognize();return null===i?Xe(new Je):(0,s.of)(i)}catch(i){return Xe(i)}}(t,e,a.urlAfterRedirects,n(a.urlAfterRedirects),r,o).pipe((0,P.U)(t=>Object.assign(Object.assign({},a),{targetSnapshot:t}))))}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,z.b)(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,t),this.browserUrlTree=t.urlAfterRedirects);const n=new q(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));if(r&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:i,source:r,restoredState:o,extras:a}=t,l=new V(n,this.serializeUrl(i),r,o);e.next(l);const c=Ht(i,this.rootComponentType).snapshot;return(0,s.of)(Object.assign(Object.assign({},t),{targetSnapshot:c,urlAfterRedirects:i,extras:Object.assign(Object.assign({},a),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),p.E}),on(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:o,replaceUrl:s}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!o,replaceUrl:!!s})}),(0,z.b)(t=>{const e=new U(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(0,P.U)(t=>Object.assign(Object.assign({},t),{guards:qe(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return(0,L.zg)(n=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:a,canDeactivateChecks:l}}=n;return 0===l.length&&0===a.length?(0,s.of)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,i){return(0,o.D)(t).pipe((0,L.zg)(t=>function(t,e,n,i,r){const o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||0===o.length)return(0,s.of)(!0);const a=o.map(o=>{const s=Ue(o,e,r);let a;if(function(t){return t&&ye(t.canDeactivate)}(s))a=ft(s.canDeactivate(t,e,n,i));else{if(!ye(s))throw new Error("Invalid CanDeactivate guard");a=ft(s(t,e,n,i))}return a.pipe((0,N.P)())});return(0,s.of)(a).pipe(Ce())}(t.component,t.route,n,e,i)),(0,N.P)(t=>!0!==t,!0))}(l,i,r,t).pipe((0,L.zg)(n=>n&&function(t){return"boolean"==typeof t}(n)?function(t,e,n,i){return(0,o.D)(e).pipe((0,D.b)(e=>(0,h.z)(function(t,e){return null!==t&&e&&e(new W(t)),(0,s.of)(!0)}(e.route.parent,i),function(t,e){return null!==t&&e&&e(new tt(t)),(0,s.of)(!0)}(e.route,i),function(t,e,n){const i=e[e.length-1],r=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>(0,d.P)(()=>{const r=e.guards.map(r=>{const o=Ue(r,e.node,n);let s;if(function(t){return t&&ye(t.canActivateChild)}(o))s=ft(o.canActivateChild(i,t));else{if(!ye(o))throw new Error("Invalid CanActivateChild guard");s=ft(o(i,t))}return s.pipe((0,N.P)())});return(0,s.of)(r).pipe(Ce())}));return(0,s.of)(r).pipe(Ce())}(t,e.path,n),function(t,e,n){const i=e.routeConfig?e.routeConfig.canActivate:null;if(!i||0===i.length)return(0,s.of)(!0);const r=i.map(i=>(0,d.P)(()=>{const r=Ue(i,e,n);let o;if(function(t){return t&&ye(t.canActivate)}(r))o=ft(r.canActivate(e,t));else{if(!ye(r))throw new Error("Invalid CanActivate guard");o=ft(r(e,t))}return o.pipe((0,N.P)())}));return(0,s.of)(r).pipe(Ce())}(t,e.route,n))),(0,N.P)(t=>!0!==t,!0))}(i,a,t,e):(0,s.of)(n)),(0,P.U)(t=>Object.assign(Object.assign({},n),{guardsResult:t})))})}(this.ngModule.injector,t=>this.triggerEvent(t)),(0,z.b)(t=>{if(be(t.guardsResult)){const e=at(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}const e=new H(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),(0,b.h)(t=>!!t.guardsResult||(this.restoreHistory(t),this.cancelNavigationTransition(t,""),!1)),on(t=>{if(t.guards.canActivateChecks.length)return(0,s.of)(t).pipe((0,z.b)(t=>{const e=new G(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(0,E.w)(t=>{let e=!1;return(0,s.of)(t).pipe(function(t,e){return(0,L.zg)(n=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=n;if(!r.length)return(0,s.of)(n);let a=0;return(0,o.D)(r).pipe((0,D.b)(n=>function(t,e,n,i){return function(t,e,n,i){const r=Object.keys(t);if(0===r.length)return(0,s.of)({});const a={};return(0,o.D)(r).pipe((0,L.zg)(r=>function(t,e,n,i){const r=Ue(t,e,i);return ft(r.resolve?r.resolve(e,n):r(e,n))}(t[r],e,n,i).pipe((0,z.b)(t=>{a[r]=t}))),C(1),(0,L.zg)(()=>Object.keys(a).length===r.length?(0,s.of)(a):p.E))}(t._resolve,t,e,i).pipe((0,P.U)(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),Jt(t,n).resolve),null)))}(n.route,i,t,e)),(0,z.b)(()=>a++),C(1),(0,L.zg)(t=>a===r.length?(0,s.of)(n):p.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,z.b)({next:()=>e=!0,complete:()=>{e||(this.restoreHistory(t),this.cancelNavigationTransition(t,"At least one route resolver didn't emit any value."))}}))}),(0,z.b)(t=>{const e=new J(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),on(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:o,replaceUrl:s}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!o,replaceUrl:!!s})}),(0,P.U)(t=>{const e=function(t,e,n){const i=ne(t,e._root,n?n._root:void 0);return new Ut(i,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),(0,z.b)(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(t.urlAfterRedirects,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,t),this.browserUrlTree=t.urlAfterRedirects)}),((t,e,n)=>(0,P.U)(i=>(new me(e,i.targetRouterState,i.currentRouterState,n).activate(t),i)))(this.rootContexts,this.routeReuseStrategy,t=>this.triggerEvent(t)),(0,z.b)({next(){n=!0},complete(){n=!0}}),(0,R.x)(()=>{var e;if(!n&&!i){const e=`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`;"replace"===this.canceledNavigationResolution?(this.restoreHistory(t),this.cancelNavigationTransition(t,e)):this.cancelNavigationTransition(t,e)}(null===(e=this.currentNavigation)||void 0===e?void 0:e.id)===t.id&&(this.currentNavigation=null)}),(0,I.K)(n=>{if(i=!0,function(t){return t&&t[st]}(n)){const i=be(n.url);i||(this.navigated=!0,this.restoreHistory(t,!0));const r=new Y(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(r),i?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree),i={skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||_n(t.source)};this.scheduleNavigation(e,"imperative",null,i,{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.restoreHistory(t,!0);const i=new Z(t.id,this.serializeUrl(t.extractedUrl),n);e.next(i);try{t.resolve(this.errorHandler(n))}catch(r){t.reject(r)}}return p.E}))}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const e=this.extractLocationChangeInfoFromEvent(t);this.shouldScheduleNavigation(this.lastLocationChangeInfo,e)&&setTimeout(()=>{const{source:t,state:n,urlTree:i}=e,r={replaceUrl:!0};if(n){const t=Object.assign({},n);delete t.navigationId,delete t.\u0275routerPageId,0!==Object.keys(t).length&&(r.state=t)}this.scheduleNavigation(i,t,n,r)},0),this.lastLocationChangeInfo=e}))}extractLocationChangeInfoFromEvent(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(t,e){if(!t)return!0;const n=e.urlTree.toString()===t.urlTree.toString();return e.transitionId!==t.transitionId||!n||!("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){ke(t),this.config=t.map(Se),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(t,e={}){const{relativeTo:n,queryParams:i,fragment:r,queryParamsHandling:o,preserveFragment:s}=e,a=n||this.routerState.root,l=s?this.currentUrlTree.fragment:r;let c=null;switch(o){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}return null!==c&&(c=this.removeEmptyProps(c)),function(t,e,n,i,r){if(0===n.length)return se(e.root,e.root,e,i,r);const o=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new le(!0,0,t);let e=0,n=!1;const i=t.reduce((t,i,r)=>{if("object"==typeof i&&null!=i){if(i.outlets){const e={};return pt(i.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(i.segmentPath)return[...t,i.segmentPath]}return"string"!=typeof i?[...t,i]:0===r?(i.split("/").forEach((i,r)=>{0==r&&"."===i||(0==r&&""===i?n=!0:".."===i?e++:""!=i&&t.push(i))}),t):[...t,i]},[]);return new le(n,e,i)}(n);if(o.toRoot())return se(e.root,new Ct([],{}),e,i,r);const s=function(t,e,n){if(t.isAbsolute)return new ce(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){const t=n.snapshot._urlSegment;return new ce(t,t===e.root,0)}const i=re(t.commands[0])?0:1;return function(t,e,n){let i=t,r=e,o=n;for(;o>r;){if(o-=r,i=i.parent,!i)throw new Error("Invalid number of '../'");r=i.segments.length}return new ce(i,!1,r-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,t.numberOfDoubleDots)}(o,e,t),a=s.processChildren?he(s.segmentGroup,s.index,o.commands):ue(s.segmentGroup,s.index,o.commands);return se(s.segmentGroup,a,e,i,r)}(a,this.currentUrlTree,t,c,null!=l?l:null)}navigateByUrl(t,e={skipLocationChange:!1}){const n=be(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e{const i=t[n];return null!=i&&(e[n]=i),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.currentPageId=t.targetPageId,this.events.next(new $(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,t.resolve(!0)},t=>{this.console.warn(`Unhandled Navigation Error: ${t}`)})}scheduleNavigation(t,e,n,i,r){var o,s;if(this.disposed)return Promise.resolve(!1);const a=this.getTransition(),l=_n(e)&&a&&!_n(a.source),c=(this.lastSuccessfulId===a.id||this.currentNavigation?a.rawUrl:a.urlAfterRedirects).toString()===t.toString();if(l&&c)return Promise.resolve(!0);let u,h,d;r?(u=r.resolve,h=r.reject,d=r.promise):d=new Promise((t,e)=>{u=t,h=e});const p=++this.navigationId;let f;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(n=this.location.getState()),f=n&&n.\u0275routerPageId?n.\u0275routerPageId:i.replaceUrl||i.skipLocationChange?null!==(o=this.browserPageId)&&void 0!==o?o:0:(null!==(s=this.browserPageId)&&void 0!==s?s:0)+1):f=0,this.setTransition({id:p,targetPageId:f,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:i,resolve:u,reject:h,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(t=>Promise.reject(t))}setBrowserUrl(t,e){const n=this.urlSerializer.serialize(t),i=Object.assign(Object.assign({},e.extras.state),this.generateNgRouterState(e.id,e.targetPageId));this.location.isCurrentPathEqualTo(n)||e.extras.replaceUrl?this.location.replaceState(n,"",i):this.location.go(n,"",i)}restoreHistory(t,e=!1){var n,i;if("computed"===this.canceledNavigationResolution){const e=this.currentPageId-t.targetPageId;"popstate"!==t.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(n=this.currentNavigation)||void 0===n?void 0:n.finalUrl)||0===e?this.currentUrlTree===(null===(i=this.currentNavigation)||void 0===i?void 0:i.finalUrl)&&0===e&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(e)}else"replace"===this.canceledNavigationResolution&&(e&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=t.currentRouterState,this.currentUrlTree=t.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(t,e){const n=new Y(t.id,this.serializeUrl(t.extractedUrl),e);this.triggerEvent(n),t.resolve(!1)}generateNgRouterState(t,e){return"computed"===this.canceledNavigationResolution?{navigationId:t,"\u0275routerPageId":e}:{navigationId:t}}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(r.DyG),r.LFG(Ot),r.LFG(un),r.LFG(i.Ye),r.LFG(r.zs3),r.LFG(r.v3s),r.LFG(r.Sil),r.LFG(void 0))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();function _n(t){return"imperative"!==t}let yn=(()=>{class t{constructor(t,e,n,i,r){this.router=t,this.route=e,this.commands=[],this.onChanges=new g.xQ,null==n&&i.setAttribute(r.nativeElement,"tabindex","0")}ngOnChanges(t){this.onChanges.next(this)}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}onClick(){const t={skipLocationChange:wn(this.skipLocationChange),replaceUrl:wn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:wn(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(vn),r.Y36(Gt),r.$8M("tabindex"),r.Y36(r.Qsj),r.Y36(r.SBq))},t.\u0275dir=r.lG2({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&r.NdJ("click",function(){return e.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[r.TTD]}),t})(),bn=(()=>{class t{constructor(t,e,n){this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.onChanges=new g.xQ,this.subscription=t.events.subscribe(t=>{t instanceof $&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}ngOnChanges(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,n,i,r){if(0!==t||e||n||i||r||"string"==typeof this.target&&"_self"!=this.target)return!0;const o={skipLocationChange:wn(this.skipLocationChange),replaceUrl:wn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,o),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:wn(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(vn),r.Y36(Gt),r.Y36(i.S$))},t.\u0275dir=r.lG2({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&r.NdJ("click",function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)}),2&t&&(r.Ikx("href",e.href,r.LSH),r.uIk("target",e.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[r.TTD]}),t})();function wn(t){return""===t||!!t}let Cn=(()=>{class t{constructor(t,e,n,i,r,o){this.router=t,this.element=e,this.renderer=n,this.cdr=i,this.link=r,this.linkWithHref=o,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.routerEventsSubscription=t.events.subscribe(t=>{t instanceof $&&this.update()})}ngAfterContentInit(){(0,s.of)(this.links.changes,this.linksWithHrefs.changes,(0,s.of)(null)).pipe((0,j.J)()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var t;null===(t=this.linkInputChangesSubscription)||void 0===t||t.unsubscribe();const e=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(t=>!!t).map(t=>t.onChanges);this.linkInputChangesSubscription=(0,o.D)(e).pipe((0,j.J)()).subscribe(t=>{this.isActive!==this.isLinkActive(this.router)(t)&&this.update()})}set routerLinkActive(t){const e=Array.isArray(t)?t:t.split(" ");this.classes=e.filter(t=>!!t)}ngOnChanges(t){this.update()}ngOnDestroy(){var t;this.routerEventsSubscription.unsubscribe(),null===(t=this.linkInputChangesSubscription)||void 0===t||t.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const t=this.hasActiveLinks();this.isActive!==t&&(this.isActive=t,this.cdr.markForCheck(),this.classes.forEach(e=>{t?this.renderer.addClass(this.element.nativeElement,e):this.renderer.removeClass(this.element.nativeElement,e)}))})}isLinkActive(t){const e=function(t){return!!t.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return n=>t.isActive(n.urlTree,e)}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.linkWithHref&&t(this.linkWithHref)||this.links.some(t)||this.linksWithHrefs.some(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(vn),r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(r.sBO),r.Y36(yn,8),r.Y36(bn,8))},t.\u0275dir=r.lG2({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(t,e,n){if(1&t&&(r.Suo(n,yn,5),r.Suo(n,bn,5)),2&t){let t;r.iGM(t=r.CRH())&&(e.links=t),r.iGM(t=r.CRH())&&(e.linksWithHrefs=t)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[r.TTD]}),t})(),xn=(()=>{class t{constructor(t,e,n,i,o){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new r.vpe,this.deactivateEvents=new r.vpe,this.name=i||it,t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;const n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),i=this.parentContexts.getOrCreateContext(this.name).children,r=new kn(t,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(un),r.Y36(r.s_b),r.Y36(r._Vd),r.$8M("name"),r.Y36(r.sBO))},t.\u0275dir=r.lG2({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class kn{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===Gt?this.route:t===un?this.childContexts:this.parent.get(t,e)}}class On{}class Mn{preload(t,e){return(0,s.of)(null)}}let Sn=(()=>{class t{constructor(t,e,n,i,r){this.router=t,this.injector=i,this.preloadingStrategy=r,this.loader=new ln(e,n,e=>t.triggerEvent(new X(e)),e=>t.triggerEvent(new Q(e)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,b.h)(t=>t instanceof $),(0,D.b)(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(r.h0i);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const i of e)if(i.loadChildren&&!i.canLoad&&i._loadedConfig){const t=i._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else i.loadChildren&&!i.canLoad?n.push(this.preloadConfig(t,i)):i.children&&n.push(this.processRoutes(t,i.children));return(0,o.D)(n).pipe((0,j.J)(),(0,P.U)(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>(e._loadedConfig?(0,s.of)(e._loadedConfig):this.loader.load(t.injector,e)).pipe((0,L.zg)(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(vn),r.LFG(r.v3s),r.LFG(r.Sil),r.LFG(r.zs3),r.LFG(On))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),Pn=(()=>{class t{constructor(t,e,n={}){this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(t=>{t instanceof V?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof $&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof nt&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new nt(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(vn),r.LFG(i.EM),r.LFG(void 0))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();const En=new r.OlP("ROUTER_CONFIGURATION"),Tn=new r.OlP("ROUTER_FORROOT_GUARD"),An=[i.Ye,{provide:Ot,useClass:Mt},{provide:vn,useFactory:function(t,e,n,i,r,o,s,a={},l,c){const u=new vn(null,t,e,n,i,r,o,ht(s));return l&&(u.urlHandlingStrategy=l),c&&(u.routeReuseStrategy=c),function(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy)}(a,u),a.enableTracing&&u.events.subscribe(t=>{var e,n;null===(e=console.group)||void 0===e||e.call(console,`Router Event: ${t.constructor.name}`),console.log(t.toString()),console.log(t),null===(n=console.groupEnd)||void 0===n||n.call(console)}),u},deps:[Ot,un,i.Ye,r.zs3,r.v3s,r.Sil,an,En,[class{},new r.FiY],[class{},new r.FiY]]},un,{provide:Gt,useFactory:function(t){return t.routerState.root},deps:[vn]},{provide:r.v3s,useClass:r.EAV},Sn,Mn,class{preload(t,e){return e().pipe((0,I.K)(()=>(0,s.of)(null)))}},{provide:En,useValue:{enableTracing:!1}}];function In(){return new r.PXZ("Router",vn)}let Dn=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[An,Fn(e),{provide:Tn,useFactory:zn,deps:[[vn,new r.FiY,new r.tp0]]},{provide:En,useValue:n||{}},{provide:i.S$,useFactory:Ln,deps:[i.lw,[new r.tBr(i.mr),new r.FiY],En]},{provide:Pn,useFactory:Nn,deps:[vn,i.EM,En]},{provide:On,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Mn},{provide:r.PXZ,multi:!0,useFactory:In},[Rn,{provide:r.ip1,multi:!0,useFactory:jn,deps:[Rn]},{provide:Vn,useFactory:Bn,deps:[Rn]},{provide:r.tb,multi:!0,useExisting:Vn}]]}}static forChild(e){return{ngModule:t,providers:[Fn(e)]}}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(Tn,8),r.LFG(vn,8))},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})();function Nn(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new Pn(t,e,n)}function Ln(t,e,n={}){return n.useHash?new i.Do(t,e):new i.b0(t,e)}function zn(t){return"guarded"}function Fn(t){return[{provide:r.deG,multi:!0,useValue:t},{provide:an,multi:!0,useValue:t}]}let Rn=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new g.xQ}appInitializer(){return this.injector.get(i.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let t=null;const e=new Promise(e=>t=e),n=this.injector.get(vn),i=this.injector.get(En);return"disabled"===i.initialNavigation?(n.setUpLocationChangeListener(),t(!0)):"enabled"===i.initialNavigation||"enabledBlocking"===i.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?(0,s.of)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()):t(!0),e})}bootstrapListener(t){const e=this.injector.get(En),n=this.injector.get(Sn),i=this.injector.get(Pn),o=this.injector.get(vn),s=this.injector.get(r.z2F);t===s.components[0]&&(("enabledNonBlocking"===e.initialNavigation||void 0===e.initialNavigation)&&o.initialNavigation(),n.setUpPreloading(),i.init(),o.resetRootComponentType(s.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(r.zs3))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();function jn(t){return t.appInitializer.bind(t)}function Bn(t){return t.bootstrapListener.bind(t)}const Vn=new r.OlP("Router Initializer")},62579:function(t,e,n){"use strict";n.d(e,{L1:function(){return p},ux:function(){return f},UA:function(){return g},H3:function(){return m},Ct:function(){return v},s5:function(){return _},yZ:function(){return y},m9:function(){return d}});var i=n(74788),r=n(29856),o=n(22759),s=n(9945),a=n(39761),l=n(88002),c=n(87519),u=n(47349),h=n(12057);const d=new i.OlP("An abstraction over global window object",{factory:()=>{const{defaultView:t}=(0,i.f3M)(h.K0);if(!t)throw new Error("Window is not available");return t}}),p=new i.OlP("Shared Observable based on `window.requestAnimationFrame`",{factory:()=>{const{requestAnimationFrame:t,cancelAnimationFrame:e}=(0,i.f3M)(d);return new r.y(n=>{let i=NaN;const r=e=>{n.next(e),i=t(r)};return i=t(r),()=>{e(i)}}).pipe((0,s.B)())}}),f=(new i.OlP("An abstraction over window.caches object",{factory:()=>(0,i.f3M)(d).caches}),new i.OlP("An abstraction over window.crypto object",{factory:()=>(0,i.f3M)(d).crypto}),new i.OlP("An abstraction over window.CSS object",{factory:()=>(0,i.f3M)(d).CSS||{escape:t=>t,supports:()=>!1}})),g=new i.OlP("An abstraction over window.history object",{factory:()=>(0,i.f3M)(d).history}),m=new i.OlP("An abstraction over window.localStorage object",{factory:()=>(0,i.f3M)(d).localStorage}),v=new i.OlP("An abstraction over window.location object",{factory:()=>(0,i.f3M)(d).location}),_=new i.OlP("An abstraction over window.navigator object",{factory:()=>(0,i.f3M)(d).navigator}),y=(new i.OlP("An abstraction over window.navigator.mediaDevices object",{factory:()=>(0,i.f3M)(_).mediaDevices}),new i.OlP("An abstraction over window.navigator.connection object",{factory:()=>(0,i.f3M)(_).connection||null}),new i.OlP("Shared Observable based on `document visibility changed`",{factory:()=>{const t=(0,i.f3M)(h.K0);return(0,o.R)(t,"visibilitychange").pipe((0,a.O)(0),(0,l.U)(()=>"hidden"!==t.visibilityState),(0,c.x)(),(0,u.d)({refCount:!1,bufferSize:1}))}}),new i.OlP("An abstraction over window.performance object",{factory:()=>(0,i.f3M)(d).performance}),new i.OlP("An abstraction over window.screen object",{factory:()=>(0,i.f3M)(d).screen}),new i.OlP("An abstraction over window.sessionStorage object",{factory:()=>(0,i.f3M)(d).sessionStorage}),new i.OlP("An abstraction over SpeechRecognition class",{factory:()=>{const t=(0,i.f3M)(d);return t.speechRecognition||t.webkitSpeechRecognition||null}}),new i.OlP("An abstraction over window.speechSynthesis object",{factory:()=>(0,i.f3M)(d).speechSynthesis}),new i.OlP("An abstraction over window.navigator.userAgent object",{factory:()=>(0,i.f3M)(_).userAgent}))},68159:function(t,e,n){"use strict";n.d(e,{c0:function(){return Ws},JF:function(){return Ks},FU:function(){return ea},mG:function(){return na},zb:function(){return pa},Lx:function(){return ga},B7:function(){return ia},f2:function(){return ba},u4:function(){return wa},$5:function(){return La},qn:function(){return za},qo:function(){return Ba},Lq:function(){return Va},nj:function(){return ja},hs:function(){return _a}});var i=n(74788),r=n(64548),o=n(44427),s=n(26215),a=n(79765),l=n(41291),c=n(66682),u=n(43190),h=n(88002),d=n(39761),p=n(46782),f=n(45435),g=n(19773),m=n(15257),v=n(87519),_=n(9945),y=n(33770),b=n(40719),w=n(12057);const C=["wrapper"];function x(t,e){if(1&t&&(i.TgZ(0,"tui-loader",4),i.GkF(1,5),i.qZA()),2&t){const t=i.oxw(2);i.Q6J("overlay",!0)("showLoader",t.loading),i.xp6(1),i.Q6J("ngTemplateOutlet",t.content)}}function k(t,e){if(1&t&&(i.ynx(0),i.Hsn(1),i.YNc(2,x,2,3,"tui-loader",3),i.BQk()),2&t){const t=i.oxw();i.xp6(2),i.Q6J("ngIf",t.async)("ngIfElse",t.content)}}const O=["*"];let M=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiExpandContent",""]]}),t})();let S=(()=>{class t{constructor(t){this.cdr=t,this.state=0,this.async=!1,this.content=null,this.expanded=null}set expandedSetter(t){if(null!==this.expanded)return 0!==this.state?(this.expanded=t,void(this.state=3)):(this.expanded=t,void this.retrigger(this.async&&t?1:3));this.expanded=t}get overflow(){return 0!==this.state}get loading(){return!!this.expanded&&this.async&&1===this.state}get height(){const{expanded:t,state:e,contentWrapper:n}=this;return t&&2===e||!t&&3===e?0:n&&(!t&&2===e||t&&3===e)?n.nativeElement.offsetHeight:n&&t&&1===e?Math.max(n.nativeElement.offsetHeight,48):null}get contentVisible(){return this.expanded||0!==this.state}onTransitionEnd({propertyName:t}){"opacity"===t&&3===this.state&&(this.state=0)}onExpandLoaded(t){t.stopPropagation(),1===this.state&&this.retrigger(3)}retrigger(t){this.state=2,setTimeout(()=>{2===this.state&&(this.state=t,this.cdr.markForCheck())})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.sBO))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-expand"]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,M,5,i.Rgc),2&t){let t;i.iGM(t=i.CRH())&&(e.content=t.first)}},viewQuery:function(t,e){if(1&t&&i.Gf(C,5),2&t){let t;i.iGM(t=i.CRH())&&(e.contentWrapper=t.first)}},hostVars:9,hostBindings:function(t,e){1&t&&i.NdJ("transitionend.self",function(t){return e.onTransitionEnd(t)})("tui-expand-loaded",function(t){return e.onExpandLoaded(t)}),2&t&&(i.uIk("aria-expanded",e.expanded),i.Udp("height",e.height,"px"),i.ekj("_expanded",e.expanded)("_overflow",e.overflow)("_loading",e.loading))},inputs:{async:"async",expandedSetter:["expanded","expandedSetter"]},ngContentSelectors:O,decls:3,vars:3,consts:[[1,"t-wrapper"],["wrapper",""],[4,"ngIf"],["size","l",3,"overlay","showLoader",4,"ngIf","ngIfElse"],["size","l",3,"overlay","showLoader"],[3,"ngTemplateOutlet"]],template:function(t,e){1&t&&(i.F$t(),i.TgZ(0,"div",0,1),i.YNc(2,k,3,2,"ng-container",2),i.qZA()),2&t&&(i.Q6J("@tuiParentAnimation",void 0)("@.disabled",e.overflow),i.xp6(2),i.Q6J("ngIf",e.contentVisible))},directives:[w.O5,b.kM,w.tP],styles:['[_nghost-%COMP%]{display:block;transition-property:opacity,height,visibility;transition-duration:var(--tui-duration, .3s);opacity:0}._overflow[_nghost-%COMP%]{overflow:hidden}._expanded[_nghost-%COMP%]{opacity:1;transform:translate(0)}._loading[_nghost-%COMP%]{opacity:.99}.t-wrapper[_ngcontent-%COMP%]:before, .t-wrapper[_ngcontent-%COMP%]:after{content:"";display:table}'],data:{animation:[y.Kx]},changeDetection:0}),t})(),P=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,b.dS]]}),t})();var E=n(75122),T=n(56083),A=n(91211),I=n(62579),D=n(27103),N=n(99434),L=n(11927),z=n(25917),F=n(9112),R=n(81359),j=n(92668),B=n(64493),V=n(57179);let $=(()=>{class t{constructor(t,e,n){this.doc=t,this.el=e,this.renderer=n,this.activeElement=(0,V.ie)(this.doc),Promise.resolve().then(()=>this.el.nativeElement.focus())}onBlur(){this.renderer.removeAttribute(this.el.nativeElement,"tabIndex")}onFocusIn(t){const{nativeElement:e}=this.el;if((0,B.PP)(e,t))return;const n=(0,V.BW)({initial:e,root:e});n&&n.focus()}ngOnDestroy(){(0,V.hp)(this.doc),Promise.resolve().then(()=>{(0,B.dW)(this.activeElement)&&this.activeElement.focus()})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(w.K0),i.Y36(i.SBq),i.Y36(i.Qsj))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiFocusTrap",""]],hostAttrs:["tabIndex","0"],hostBindings:function(t,e){1&t&&i.NdJ("blur",function(){return e.onBlur()})("focusin.silent",function(t){return e.onFocusIn(t.target)},!1,i.Jf7)}}),t})(),Y=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();var Z=n(71486),q=n(89570);function U(t,e){1&t&&i.GkF(0)}function H(t,e){1&t&&i._UZ(0,"tui-scroll-controls",5)}function G(t,e){if(1&t&&(i.TgZ(0,"section",2),i.YNc(1,U,1,0,"ng-container",3),i.YNc(2,H,1,0,"tui-scroll-controls",4),i.qZA()),2&t){const t=e.$implicit,n=i.oxw();i.Q6J("@host",void 0),i.uIk("aria-labelledby",t.id),i.xp6(1),i.Q6J("polymorpheusOutlet",t.component)("polymorpheusOutletContext",t),i.xp6(1),i.Q6J("ngIf",!n.isMobile)}}function J(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"div",6),i.NdJ("transitionend",function(e){const n=i.CHM(t).tuiLet,r=i.oxw();return r.onDialog(e,!!r.dialogs.length,!!n)})("popstate",function(){const e=i.CHM(t).tuiLet,n=i.oxw();return n.closeLast(n.dialogs,!!e)},!1,i.Jf7),i.qZA()}if(2&t){const t=i.oxw();i.ekj("t-overlay_visible",t.dialogs.length)}}const X={label:"ignoreMe"},Q=(0,L.JN)((0,z.of)(!1));let W=(()=>{class t{constructor(t,e,n,i,r,o,s,a){this.isMobile=t,this.isDialogClosesOnBack$=e,this.dialogsByType=n,this.historyRef=i,this.titleService=r,this.destroy$=o,this.cdr=s,this.doc=a,this.dialogs=[]}ngOnInit(){(0,F.aj)(this.dialogsByType).pipe((0,h.U)(t=>[].concat(...t).sort((t,e)=>t.createdAt-e.createdAt)),(0,p.R)(this.destroy$)).subscribe(t=>{this.dialogs=t,this.cdr.markForCheck(),this.doc.documentElement.classList.toggle("t-overscroll-none",!!t.length)})}closeLast(t,e){if(!e)return;const[n]=t.slice(-1);!n||(t.length>1&&this.historyRef.pushState(X,this.titleService.getTitle()),n.$implicit.complete())}onDialog({propertyName:t},e,n){!n||"letter-spacing"!==t||(e?this.historyRef.pushState(X,this.titleService.getTitle()):(t=>(null==t?void 0:t.label)===X.label)(this.historyRef.state)&&this.historyRef.back())}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(N.fL),i.Y36(Q),i.Y36(N.qY),i.Y36(I.UA),i.Y36(A.Dx),i.Y36(D.a3,2),i.Y36(i.sBO),i.Y36(w.K0))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-dialog-host"]],features:[i._Bn([D.a3])],decls:3,vars:4,consts:[["aria-modal","true","role","dialog","tuiFocusTrap","","tuiOverscroll","all","tuiScrollRef","","class","t-dialog",4,"ngFor","ngForOf"],["class","t-overlay",3,"t-overlay_visible","transitionend","popstate",4,"tuiLet"],["aria-modal","true","role","dialog","tuiFocusTrap","","tuiOverscroll","all","tuiScrollRef","",1,"t-dialog"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],["class","t-scrollbars",4,"ngIf"],[1,"t-scrollbars"],[1,"t-overlay",3,"transitionend","popstate"]],template:function(t,e){1&t&&(i.YNc(0,G,3,5,"section",0),i.YNc(1,J,1,2,"div",1),i.ALo(2,"async")),2&t&&(i.Q6J("ngForOf",e.dialogs),i.xp6(1),i.Q6J("tuiLet",i.lcZ(2,2,e.isDialogClosesOnBack$)))},directives:[w.sg,j.Ls,$,Z.W,R.ex,q.Li,w.O5,R.tZ],pipes:[w.Ov],styles:["[_nghost-%COMP%]{position:fixed;left:0;bottom:0;width:100%;height:0}.t-overlay[_ngcontent-%COMP%], .t-dialog[_ngcontent-%COMP%]{position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:flex-start;outline:none;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.t-overlay.ng-animating[_ngcontent-%COMP%], .t-dialog.ng-animating[_ngcontent-%COMP%]{overflow:clip}.t-overlay[_ngcontent-%COMP%]::-webkit-scrollbar, .t-dialog[_ngcontent-%COMP%]::-webkit-scrollbar, .t-overlay[_ngcontent-%COMP%]::-webkit-scrollbar-thumb, .t-dialog[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:transparent;width:0;height:0}.t-dialog[_ngcontent-%COMP%]{bottom:auto;height:100%}.t-overlay[_ngcontent-%COMP%]{height:100%;pointer-events:none;touch-action:none;opacity:0;letter-spacing:normal;transition:opacity var(--tui-duration, .3s),letter-spacing .01s;background:rgba(0,0,0,.75);-webkit-backdrop-filter:var(--tui-backdrop, none);backdrop-filter:var(--tui-backdrop, none)}.t-overlay_visible[_ngcontent-%COMP%]{opacity:1;letter-spacing:1px}.t-dialog[_ngcontent-%COMP%]:last-of-type{z-index:1}.t-scrollbars[_ngcontent-%COMP%]{position:fixed;top:0;left:0;right:0;bottom:0;margin:0;color:#747474}"],data:{animation:[(0,T.X$)("host",[(0,T.eR)(":enter",[(0,T.oB)({overflow:"clip"}),(0,T.IO)(":scope > *",[(0,T.pV)()],{optional:!0})]),(0,T.eR)(":leave",[(0,T.oB)({overflow:"clip"}),(0,T.IO)(":scope > *",[(0,T.pV)()],{optional:!0})])])]}}),t})(),K=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,q.wq,Z.e,Y,j.WD,R.eI]]}),t})(),tt=(()=>{class t{transform(t,e,...n){return e(t,...n)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Yjl({name:"tuiMapper",type:t,pure:!0}),t})(),et=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();function nt(t,e){if(1&t&&(i.GkF(0,3),i.ALo(1,"tuiMapper")),2&t){const t=e.$implicit,n=i.oxw(2);i.Q6J("ngComponentOutlet",t.component.component)("ngComponentOutletInjector",i.xi3(1,2,t,n.mapper))}}function it(t,e){if(1&t&&(i.TgZ(0,"div",1),i.YNc(1,nt,2,5,"ng-container",2),i.qZA()),2&t){const t=e.$implicit;i.Q6J("@tuiParentAnimation",void 0),i.xp6(1),i.Q6J("ngForOf",t)}}let rt=(()=>{class t{constructor(t,e,n,r){this.allAlerts=t,this.injector=e,this.destroy$=n,this.cdr=r,this.alerts=[],this.trackBy=t=>t,this.mapper=t=>i.zs3.create({providers:[{provide:q.yf,useValue:t}],parent:this.injector})}ngOnInit(){(0,F.aj)(this.allAlerts).pipe((0,p.R)(this.destroy$)).subscribe(t=>{this.alerts=t,this.cdr.detectChanges()})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(N.bS),i.Y36(i.gxx),i.Y36(D.a3,2),i.Y36(i.sBO))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-alert-host"]],features:[i._Bn([D.a3])],decls:1,vars:2,consts:[["class","t-wrapper",4,"ngFor","ngForOf","ngForTrackBy"],[1,"t-wrapper"],[3,"ngComponentOutlet","ngComponentOutletInjector",4,"ngFor","ngForOf"],[3,"ngComponentOutlet","ngComponentOutletInjector"]],template:function(t,e){1&t&&i.YNc(0,it,2,2,"div",0),2&t&&i.Q6J("ngForOf",e.alerts)("ngForTrackBy",e.trackBy)},directives:[w.sg,w.$G],pipes:[tt],styles:["tui-alert-host>.t-wrapper{position:fixed;top:0;left:0;display:flex;width:100%;height:100%;flex-direction:column;pointer-events:none}tui-alert-host>.t-wrapper>*{pointer-events:auto}\n"],encapsulation:2,data:{animation:[y.Kx]}}),t})(),ot=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,et]]}),t})();var st=n(87941),at=n(79456),lt=n(54395);function ct(t,e){1&t&&(i.O4$(),i._UZ(0,"defs",4)),2&t&&i.Q6J("innerHTML",e.$implicit,i.oJD)}function ut(t,e){if(1&t&&(i.O4$(),i.ynx(0),i.YNc(1,ct,1,1,"defs",3),i.BQk()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("ngForOf",t.items)}}function ht(t,e){if(1&t&&(i.O4$(),i.TgZ(0,"defs"),i._UZ(1,"svg",6),i.qZA()),2&t){const t=e.$implicit;i.xp6(1),i.Q6J("outerHTML",t,i.oJD)}}function dt(t,e){if(1&t&&(i.O4$(),i.YNc(0,ht,2,1,"defs",5)),2&t){const t=i.oxw();i.Q6J("ngForOf",t.items)}}let pt=(()=>{class t{constructor(t,e,n,i){this.svgService=t,this.cdr=e,this.destroy$=n,this.isBrowser=!0,this.isBrowser=!(0,w.PM)(i)}ngOnInit(){this.svgService.items$.pipe((0,p.R)(this.destroy$)).subscribe(t=>{this.items=t.values(),this.cdr.detectChanges()})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(st.K5),i.Y36(i.sBO),i.Y36(D.a3,2),i.Y36(i.Lbi))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-svg-defs-host"]],features:[i._Bn([D.a3])],decls:4,vars:2,consts:[["version","1.1",0,"xmlns","xlink","http://www.w3.org/1999/xlink","xmlns","http://www.w3.org/2000/svg"],[4,"ngIf","ngIfElse"],["server",""],[3,"innerHTML",4,"ngFor","ngForOf"],[3,"innerHTML"],[4,"ngFor","ngForOf"],[3,"outerHTML"]],template:function(t,e){if(1&t&&(i.O4$(),i.TgZ(0,"svg",0),i.YNc(1,ut,2,1,"ng-container",1),i.YNc(2,dt,1,1,"ng-template",null,2,i.W1O),i.qZA()),2&t){const t=i.MAs(3);i.xp6(1),i.Q6J("ngIf",e.isBrowser)("ngIfElse",t)}},directives:[w.O5,w.sg],styles:["[_nghost-%COMP%]{display:none}"],changeDetection:0}),t})(),ft=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,j.WD]]}),t})();var gt=n(221);function mt(t,e){1&t&&i.GkF(0)}const vt=function(t){return{$implicit:t}};function _t(t,e){if(1&t&&(i.TgZ(0,"div",1),i.YNc(1,mt,1,0,"ng-container",2),i.qZA()),2&t){const t=e.$implicit;i.Q6J("@tuiParentAnimation",void 0)("tuiActiveZoneParent",t.activeZone||null),i.xp6(1),i.Q6J("polymorpheusOutlet",t.component)("polymorpheusOutletContext",i.VKq(4,vt,t))}}let yt=(()=>{class t{constructor(t,e,n){this.hints$=t,this.destroy$=e,this.cdr=n,this.hints=[]}ngOnInit(){this.hints$.pipe((0,p.R)(this.destroy$)).subscribe(t=>{this.hints=t,this.cdr.detectChanges()})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(st.BN),i.Y36(D.a3,2),i.Y36(i.sBO))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-hints-host"]],hostAttrs:["aria-live","polite"],features:[i._Bn([D.a3])],decls:1,vars:1,consts:[["role","tooltip",3,"tuiActiveZoneParent",4,"ngFor","ngForOf"],["role","tooltip",3,"tuiActiveZoneParent"],[4,"polymorpheusOutlet","polymorpheusOutletContext"]],template:function(t,e){1&t&&i.YNc(0,_t,2,6,"div",0),2&t&&i.Q6J("ngForOf",e.hints)},directives:[w.sg,gt.e,q.Li],styles:["[_nghost-%COMP%]{position:fixed;top:0;left:0;width:100%;height:0}"],data:{animation:[y.Kx]}}),t})(),bt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,q.wq,gt.A]]}),t})();var wt=n(11557);function Ct(t,e){1&t&&i._UZ(0,"tui-scroll-controls",2)}const xt=["*",[["tuiOverContent"]],[["tuiOverDialogs"]],[["tuiOverAlerts"]],[["tuiOverPortals"]],[["tuiOverHints"]]],kt=["*","tuiOverContent","tuiOverDialogs","tuiOverAlerts","tuiOverPortals","tuiOverHints"];let Ot=(()=>{class t{constructor(t,e,n,i,r,o,{body:s},a){this.duration=t,this.dialogs=e,this.isMobile=n,this.breakpoint=i,this.isIOS=r,this.isAndroid=o,this.isMobileRes$=this.breakpoint.pipe((0,h.U)(t=>"mobile"===t)),this.scrollbars$=this.dialogs.length&&!this.isMobile?(0,F.aj)([...this.dialogs]).pipe((0,h.U)(t=>!t.some(({length:t})=>t)),(0,lt.b)(0)):(0,z.of)(!this.isMobile),s.setAttribute("data-tui-theme",a.toLowerCase())}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(at.dx),i.Y36(N.qY),i.Y36(N.fL),i.Y36(st.zE),i.Y36(N.FA),i.Y36(N.XG),i.Y36(w.K0),i.Y36(at.r2))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-root"]],hostAttrs:["data-tui-version","3.56.0"],hostVars:7,hostBindings:function(t,e){1&t&&i.NdJ("$.class._mobile",function(){return e.isMobileRes$}),2&t&&(i.Ikx("$.class._mobile",e.isMobileRes$),i.Udp("--tui-duration",e.duration,"ms"),i.ekj("_ios",e.isIOS)("_android",e.isAndroid))},ngContentSelectors:kt,decls:14,vars:3,consts:[["class","t-root-scrollbar",4,"ngIf"],[1,"t-root-content"],[1,"t-root-scrollbar"]],template:function(t,e){1&t&&(i.F$t(xt),i.YNc(0,Ct,1,0,"tui-scroll-controls",0),i.ALo(1,"async"),i._UZ(2,"tui-svg-defs-host"),i.TgZ(3,"tui-dropdown-host"),i.TgZ(4,"div",1),i.Hsn(5),i.qZA(),i.Hsn(6,1),i._UZ(7,"tui-dialog-host"),i.Hsn(8,2),i._UZ(9,"tui-alert-host"),i.Hsn(10,3),i.qZA(),i.Hsn(11,4),i._UZ(12,"tui-hints-host"),i.Hsn(13,5)),2&t&&i.Q6J("ngIf",i.lcZ(1,1,e.scrollbars$))},directives:[w.O5,pt,E.qY,W,rt,yt,R.tZ],pipes:[w.Ov],styles:['@keyframes tuiPresent{to{content:"1"}}@keyframes tuiSkeletonVibe{to{opacity:.5}}html,.tui-zero-scrollbar{scrollbar-width:none;-ms-overflow-style:none}html::-webkit-scrollbar,.tui-zero-scrollbar::-webkit-scrollbar,html::-webkit-scrollbar-thumb,.tui-zero-scrollbar::-webkit-scrollbar-thumb{background:transparent;width:0;height:0}body{font:var(--tui-font-text-s);color:var(--tui-text-01);background:var(--tui-base-01);margin:0}tui-root{position:relative;display:block;flex:1;-webkit-tap-highlight-color:transparent}tui-root>.t-root-scrollbar{position:fixed;top:0;left:0;bottom:0;right:0;margin:0}.t-root-content{height:100%;isolation:isolate}.t-overscroll-none{overscroll-behavior:none;overflow:hidden}\n'],encapsulation:2}),t})(),Mt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,wt.X1,E.mL,ft,bt,K,ot,R.eI]]}),t})();var St=n(76480);let Pt=(()=>{class t extends St.GM{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-theme-night"]],features:[i.qOj],decls:0,vars:0,template:function(t,e){},styles:[":root{--tui-base-01: #222;--tui-base-02: #333;--tui-base-03: #808080;--tui-base-04: #959595;--tui-base-05: #b0b0b0;--tui-base-06: #d7d7d7;--tui-base-07: #ededed;--tui-base-08: #f6f6f6;--tui-base-09: #fff;--tui-focus: rgba(51, 51, 51, .64);--tui-secondary: rgba(255, 255, 255, .16);--tui-secondary-hover: rgba(255, 255, 255, .24);--tui-secondary-active: rgba(255, 255, 255, .4);--tui-clear: rgba(255, 255, 255, .16);--tui-clear-disabled: rgba(255, 255, 255, .08);--tui-clear-hover: rgba(255, 255, 255, .24);--tui-clear-active: rgba(255, 255, 255, .4);--tui-error-fill: #ff8c67;--tui-error-bg: rgba(244, 87, 37, .32);--tui-error-bg-hover: rgba(244, 87, 37, .4);--tui-success-fill: #4ac99b;--tui-success-bg: rgba(74, 201, 155, .32);--tui-success-bg-hover: rgba(74, 201, 155, .4);--tui-warning-fill: #ffc700;--tui-warning-bg: rgba(255, 199, 0, .32);--tui-warning-bg-hover: rgba(255, 199, 0, .4);--tui-info-fill: #70b6f6;--tui-info-bg: rgba(112, 182, 246, .32);--tui-info-bg-hover: rgba(112, 182, 246, .4);--tui-neutral-fill: #959ba4;--tui-neutral-bg: rgba(149, 155, 164, .32);--tui-neutral-bg-hover: rgba(149, 155, 164, .48);--tui-text-01: #ffffff;--tui-text-02: rgba(255, 255, 255, .72);--tui-text-03: rgba(255, 255, 255, .6);--tui-link: #6788ff;--tui-link-hover: #526ed3;--tui-positive: #44c596;--tui-positive-hover: #3aa981;--tui-negative: #ff8c67;--tui-negative-hover: #bb593a;--tui-autofill: var(--tui-autofill-night);--tui-elevation-01: #222;--tui-elevation-02: #222;--tui-shadow: 0 .25rem 1.5rem rgba(0, 0, 0, .12);--tui-shadow-hover: 0 .75rem 2.25rem rgba(0, 0, 0, .2);--tui-shadow-dropdown: 0 1.5rem 1rem rgba(0, 0, 0, .03), 0 .75rem .75rem rgba(0, 0, 0, .04), 0 .25rem .375rem rgba(0, 0, 0, .05);--tui-shadow-modal: 0 1.125rem 1.875rem rgba(0, 0, 0, .48);--tui-shadow-sidebar: .25rem 0 1.5rem rgba(0, 0, 0, .12);--tui-shadow-navigation: 0 .125rem 1rem rgba(0, 0, 0, .08);--tui-shadow-sheet: 0 -1rem 1.75rem rgba(0, 0, 0, .24)}tui-notification{--tui-base-01: #000}\n"],encapsulation:2,changeDetection:0}),t})(),Et=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();var Tt=n(12628),At=n(75452),It=n(82847),Dt=n(79588),Nt=n(90022),Lt=n(75111),zt=n(1515),Ft=n(95974),Rt=n(54789),jt=n(98952),Bt=n(94853),Vt=n(60885),$t=n(80134),Yt=n(49941),Zt=n(22759),qt=n(72361);function Ut(t,e){if(1&t&&(i.ynx(0),i._uU(1),i.BQk()),2&t){const t=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",t," ")}}function Ht(t,e){if(1&t&&(i.TgZ(0,"label",4),i.YNc(1,Ut,2,1,"ng-container",5),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",t.item.label)("polymorpheusOutletContext",t.item)}}function Gt(t,e){1&t&&i._UZ(0,"div",6),2&t&&i.Q6J("innerHTML",e.polymorpheusOutlet,i.oJD)}const Jt=(0,L.N1)(()=>(0,i.f3M)(N.fL)?"1rem 1rem 0 auto":"2rem 3rem 0 auto");let Xt=(()=>{class t{constructor(t,e,n,i,r){this.el=t,this.destroy$=e,this.position=n,this.options=i,this.item=r,this.autoClose="function"==typeof this.item.autoClose?this.item.autoClose(this.item.status):this.item.autoClose,this.animation=this.position.endsWith("auto")?Object.assign(Object.assign({},this.options),{value:"right"}):Object.assign(Object.assign({},this.options),{value:"left"})}ngOnInit(){this.initAutoClose()}close(){this.item.$implicit.complete()}initAutoClose(){!this.autoClose||(0,l.H)((0,L.dt)(this.autoClose)?this.autoClose:3e3).pipe((0,p.R)((0,Zt.R)(this.el.nativeElement,"mouseenter")),(0,qt.a)(()=>(0,Zt.R)(this.el.nativeElement,"mouseleave")),(0,p.R)(this.destroy$)).subscribe(()=>this.close())}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(D.a3,2),i.Y36(Jt),i.Y36(at.Pw),i.Y36(q.yf))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-alert"]],hostAttrs:["role","alert"],hostVars:5,hostBindings:function(t,e){2&t&&(i.d8E("@tuiFadeIn",e.options)("@tuiSlideIn",e.animation)("@tuiHeightCollapse",e.animation),i.Udp("margin",e.position))},features:[i._Bn([D.a3])],decls:4,vars:7,consts:[[3,"hasIcon","hideClose","icon","status","close"],["automation-id","tui-notification-alert__heading","class","t-heading",4,"ngIf"],["automation-id","tui-notification-alert__content",1,"t-content"],[3,"innerHTML",4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-notification-alert__heading",1,"t-heading"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],[3,"innerHTML"]],template:function(t,e){1&t&&(i.TgZ(0,"tui-notification",0),i.NdJ("close",function(){return e.close()}),i.YNc(1,Ht,2,2,"label",1),i.TgZ(2,"div",2),i.YNc(3,Gt,1,1,"div",3),i.qZA(),i.qZA()),2&t&&(i.Q6J("hasIcon",e.item.hasIcon)("hideClose",!e.item.hasCloseButton)("icon",e.item.icon)("status",e.item.status),i.xp6(1),i.Q6J("ngIf",e.item.label),i.xp6(2),i.Q6J("polymorpheusOutlet",e.item.content)("polymorpheusOutletContext",e.item))},directives:[Vt.L,w.O5,q.Li],styles:["[_nghost-%COMP%]{box-shadow:var(--tui-shadow-dropdown);display:block;border-radius:var(--tui-radius-l);width:18rem}[_nghost-%COMP%]:not(:first-child){margin-top:.75rem!important}[_nghost-%COMP%]:not(:last-child){margin-bottom:0!important}.t-heading[_ngcontent-%COMP%]{margin:0}[data-size=s][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-s);font-weight:bold}[data-size=m][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-m);line-height:1.25rem;font-weight:bold}[data-size=l][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-l);line-height:1.5rem;font-weight:bold}.t-content[_ngcontent-%COMP%]{color:var(--tui-text-01);word-wrap:break-word;word-break:break-word}.t-content[_ngcontent-%COMP%]:empty{display:none}"],data:{animation:[Yt.QF,Yt.Gw,Yt.eu]},changeDetection:0}),t})(),Qt=(()=>{class t extends St.d5{constructor(t,e){super(e),this.defaultOptions=t,this.component=new q.Al(Xt)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(at.Ln),i.LFG(D.ll))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Wt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[(0,N.XH)(Qt)],imports:[[w.ez,q.wq,Vt.H]]}),t})();var Kt=n(59796),te=n(56693),ee=n(55197),ne=n(96563);class ie{call(t,e){return e.subscribe(new re(t))}}class re extends ee.L{constructor(t){super(t),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(t){this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{for(let n=0;n{class t{constructor(t,e){this.focusable=t,this.el=e}get element(){var t;return(null===(t=this.focusable)||void 0===t?void 0:t.nativeFocusableElement)||this.el.nativeElement}get isTextFieldElement(){return this.element.matches("input, textarea, [contenteditable]")}}return t.\u0275fac=function(t){i.$Z()},t.\u0275dir=i.lG2({type:t}),t})(),he=(()=>{class t extends ue{constructor(t,e,n){super(t,e),this.animationFrame$=n}setFocus(){this.isTextFieldElement?function(...t){if(1===t.length){if(!(0,Kt.k)(t[0]))return t[0];t=t[0]}return(0,te.n)(t,void 0).lift(new ie)}((0,l.H)(1e3),this.animationFrame$.pipe((0,oe.p)(y.Yg),(0,h.U)(()=>this.element.closest(".ng-animating")),function(t){return e=>e.lift(new ae(t))}(Boolean),(0,m.q)(1))).subscribe(()=>this.element.focus({preventScroll:!0})):this.element.focus({preventScroll:!0})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(N.KZ,10),i.Y36(i.SBq),i.Y36(I.L1))},t.\u0275dir=i.lG2({type:t,features:[i.qOj]}),t})();const de=["type","inputMode","autocomplete","accept","min","max","step","pattern","size","maxlength"];let pe=(()=>{class t extends ue{constructor(t,e,n,i,r){super(t,e),this.renderer=n,this.zone=i,this.win=r,this.patchCssStyles()}setFocus(){this.isTextFieldElement?this.zone.runOutsideAngular(()=>this.iosWebkitAutofocus()):this.element.focus({preventScroll:!0})}iosWebkitAutofocus(){var t;const e=this.makeFakeInput(),n=this.getDurationTimeBeforeFocus();let i=0,r=0;const o=()=>e.focus({preventScroll:!0}),s=()=>{clearTimeout(i),i=this.win.setTimeout(()=>{clearTimeout(r),e.removeEventListener("blur",o),e.removeEventListener("focus",s),r=this.win.setTimeout(()=>{this.element.focus({preventScroll:!1}),e.remove()},n)})};e.addEventListener("blur",o,{once:!0}),e.addEventListener("focus",s),this.insideDialog()?this.win.document.body.appendChild(e):null===(t=this.element.parentElement)||void 0===t||t.appendChild(e),e.focus({preventScroll:!0})}makeFakeInput(){const t=this.renderer.createElement("input"),e=this.element.getBoundingClientRect();return this.patchFakeInputFromFocusableElement(t),t.style.height=(0,ce.O)(e.height),t.style.width=(0,ce.O)(e.width/2),t.style.position="fixed",t.style.zIndex="-99999999",t.style.caretColor="transparent",t.style.border="none",t.style.outline="none",t.style.color="transparent",t.style.background="transparent",t.style.cursor="none",t.style.fontSize=(0,ce.O)(16),t.style.top=(0,ce.O)(e.top),t.style.left=(0,ce.O)(e.left),t}getDurationTimeBeforeFocus(){return parseFloat(this.win.getComputedStyle(this.element).getPropertyValue("--tui-duration"))||0}insideDialog(){return!!this.element.closest("tui-dialog")}patchCssStyles(){[this.win.document.documentElement,this.win.document.body].forEach(t=>{t.style.setProperty("overflow","auto"),t.style.setProperty("height","100%")})}patchFakeInputFromFocusableElement(t){de.forEach(e=>{const n=this.element.getAttribute(e);(0,L.Pc)(n)&&t.setAttribute(e,n)})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(N.KZ,10),i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(i.R0b),i.Y36(I.m9))},t.\u0275dir=i.lG2({type:t,features:[i.qOj]}),t})();const fe=(0,L.JN)({delay:NaN}),ge=new i.OlP("[TUI_AUTOFOCUS_HANDLER]"),me=[{provide:ge,useFactory:(t,e,n,i,r,o,s)=>s?new pe(t,e,i,r,o):new he(t,e,n),deps:[[new i.FiY,new i.PiD,N.KZ],i.SBq,I.L1,i.Qsj,i.R0b,I.m9,N.FA]},D.a3];let ve=(()=>{class t{constructor(t,e,n){this.handler=t,this.options=e,this.destroy$=n,this.autoFocus=!0}ngAfterViewInit(){(function(t){return null!=t&&"false"!=`${t}`})(this.autoFocus)&&this.focus()}focus(){Number.isNaN(this.options.delay)?Promise.resolve().then(()=>this.handler.setFocus()):(0,l.H)(this.options.delay).pipe((0,p.R)(this.destroy$)).subscribe(()=>this.handler.setFocus())}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(ge),i.Y36(fe),i.Y36(D.a3,2))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiAutoFocus",""]],inputs:{autoFocus:["tuiAutoFocus","autoFocus"]},features:[i._Bn(me)]}),t})(),_e=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();var ye=n(40946),be=n(59193),we=n(29856),Ce=n(95639),xe=n(47766);function ke(t,e){if(1&t&&(i.ynx(0),i._uU(1),i.BQk()),2&t){const t=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",t," ")}}function Oe(t,e){if(1&t&&(i.TgZ(0,"header",6),i.YNc(1,ke,2,1,"ng-container",3),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",t.header)("polymorpheusOutletContext",t.context)}}function Me(t,e){if(1&t){const t=i.EpF();i.ynx(0),i._UZ(1,"div",7),i.TgZ(2,"div",8),i.TgZ(3,"button",9),i.NdJ("click",function(){return i.CHM(t),i.oxw().context.$implicit.complete()}),i._uU(4),i.qZA(),i.qZA(),i.BQk()}if(2&t){const t=e.polymorpheusOutlet,n=i.oxw();let r;i.xp6(1),i.Q6J("innerHTML",t,i.oJD),i.xp6(3),i.hij(" ",(null==(r=n.context.data)?null:r.button)||"OK"," ")}}function Se(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"div",10),i.TgZ(1,"button",11),i.NdJ("click",function(){return i.CHM(t),i.oxw().close$.next()})("mousedown.prevent.silent",function(){return 0}),i.ALo(2,"async"),i.qZA(),i.qZA()}if(2&t){const t=i.oxw();i.xp6(1),i.Q6J("appearance",t.fullscreen?"secondary":"")("icon",t.icons.close)("title",i.lcZ(2,3,t.closeWord$))}}const Pe=(0,L.JN)(be.E),Ee=(0,L.JN)({size:"m",required:!1,closeable:!0,dismissible:!0,label:"",header:""});let Te=(()=>{class t extends we.y{constructor(t,e,n){super(t=>(0,c.T)(this.esc$,this.mousedown$).subscribe(t)),this.win=t,this.doc=e,this.el=n,this.esc$=(0,ye.mL)(this.doc,"keydown").pipe((0,f.h)(t=>{const e=(0,B.mA)(t);return"Escape"===t.key&&!t.defaultPrevented&&(this.element.contains(e)||this.isOutside(e))})),this.mousedown$=(0,ye.mL)(this.doc,"mousedown").pipe((0,f.h)(t=>(0,xe.ic)(this.win)-t.clientX>17&&this.isOutside((0,B.mA)(t))),(0,u.w)(()=>(0,ye.mL)(this.doc,"mouseup").pipe((0,m.q)(1),(0,h.U)(B.mA),(0,f.h)(t=>this.isOutside(t)))))}get element(){return this.el.nativeElement}isOutside(t){return(0,B.ve)(t)&&(!(0,B.PP)(this.element,t)||t===this.element)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(I.m9),i.LFG(w.K0),i.LFG(i.SBq))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();const Ae=new Error("Required dialog was dismissed");function Ie(t){return(0,Ce.b)(t)?t:(0,z.of)(t)}const De=new q.Al((()=>{class t{constructor(t,e,n,i,r,o,s,l){this.duration=t,this.isMobile=e,this.context=n,this.closeWord$=s,this.icons=l,this.animation={value:"",params:{start:"40px",duration:this.duration}},this.fullscreenAnimation={value:"",params:{start:"100vh",duration:this.duration}},this.close$=new a.xQ,(0,c.T)(this.close$.pipe((0,u.w)(()=>Ie(n.closeable))),r.pipe((0,u.w)(()=>Ie(n.dismissible))),o.pipe((0,h.U)(y.Ye))).pipe((0,f.h)(Boolean),(0,p.R)(i)).subscribe(()=>{this.close()})}get size(){return this.context.size}get header(){return this.context.header}get slideInTop(){return this.fullscreen||this.isMobile?this.fullscreenAnimation:this.animation}get fullscreen(){return!this.isMobile&&("fullscreen"===this.size||"page"===this.size)}close(){this.context.required?this.context.$implicit.error(Ae):this.context.$implicit.complete()}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(at.dx),i.Y36(N.fL),i.Y36(q.yf),i.Y36(D.a3,2),i.Y36(Te),i.Y36(Pe),i.Y36(at.U0),i.Y36(at.Gs))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-dialog"]],hostVars:6,hostBindings:function(t,e){2&t&&(i.uIk("data-appearance",e.context.appearance)("data-size",e.size),i.d8E("@tuiSlideInTop",e.slideInTop)("@tuiFadeIn",e.slideInTop),i.ekj("_centered",e.header))},features:[i._Bn([D.a3,Te])],decls:7,vars:6,consts:[["class","t-header",4,"ngIf"],[1,"t-content"],[1,"t-heading",3,"id","textContent"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-filler"],["class","t-wrapper",4,"ngIf"],[1,"t-header"],[3,"innerHTML"],[1,"t-buttons"],["size","m","tuiAutoFocus","","tuiButton","","type","button",3,"click"],[1,"t-wrapper"],["automation-id","tui-dialog__close","shape","rounded","size","s","tuiIconButton","","type","button",1,"t-close",3,"appearance","icon","title","click","mousedown.prevent.silent"]],template:function(t,e){1&t&&(i.YNc(0,Oe,2,2,"header",0),i.TgZ(1,"div",1),i._UZ(2,"h2",2),i.TgZ(3,"section"),i.YNc(4,Me,5,2,"ng-container",3),i.qZA(),i.qZA(),i._UZ(5,"div",4),i.YNc(6,Se,3,5,"div",5)),2&t&&(i.Q6J("ngIf",e.header),i.xp6(2),i.Q6J("id",e.context.id)("textContent",e.context.label),i.xp6(2),i.Q6J("polymorpheusOutlet",e.context.content)("polymorpheusOutletContext",e.context),i.xp6(2),i.Q6J("ngIf",e.context.closeable))},directives:[w.O5,q.Li,Tt.v0,ve],pipes:[w.Ov],styles:['[_nghost-%COMP%]{position:relative;display:flex;font:var(--tui-font-text-m);flex-direction:column;box-sizing:border-box;margin:auto;border-radius:1rem;border:2.5rem solid transparent}[_nghost-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%;box-shadow:var(--tui-shadow-modal);content:"";border-radius:inherit;pointer-events:none}[data-size=auto][_nghost-%COMP%]{width:auto}[data-size=s][_nghost-%COMP%]{width:30rem}[data-size=s][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:1.5rem}[data-size=s][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:.5rem;font:var(--tui-font-heading-5)}[data-size=m][_nghost-%COMP%]{width:42.5rem}[data-size=m][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:.75rem;font:var(--tui-font-heading-4)}[data-size=l][_nghost-%COMP%]{width:55rem}[data-size=l][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:1rem}[data-size=fullscreen][_nghost-%COMP%], [data-size=page][_nghost-%COMP%]{min-width:100vw;min-height:100%;border-radius:0;border:none;background:var(--tui-elevation-01);box-shadow:0 4rem var(--tui-elevation-01)}[data-size=fullscreen][_nghost-%COMP%] .t-content[_ngcontent-%COMP%], [data-size=page][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:3rem calc(50vw - (45rem / 2))}[data-size=fullscreen][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%], [data-size=page][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:1rem}[data-size=page][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0}._centered[_nghost-%COMP%]{text-align:center}[_nghost-%COMP%] tui-root._mobile[data-size][_nghost-%COMP%], tui-root._mobile [data-size][_nghost-%COMP%]{min-width:100%;width:100%;max-width:100%;border-radius:0;border:none;margin:auto 0 0}[_nghost-%COMP%] tui-root._mobile[data-size][_nghost-%COMP%] .t-content[_ngcontent-%COMP%], tui-root._mobile [data-size][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:1.5rem}[_nghost-%COMP%] tui-root._mobile[data-size][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%], tui-root._mobile [data-size][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:.5rem;font:var(--tui-font-heading-5)}.t-heading[_ngcontent-%COMP%]{margin:0;word-wrap:break-word;font:var(--tui-font-heading-3)}.t-heading[_ngcontent-%COMP%]:empty{display:none}.t-header[_ngcontent-%COMP%]{display:flex;border-top-left-radius:inherit;border-top-right-radius:inherit;overflow:hidden}[data-size=fullscreen][_nghost-%COMP%] tui-root._mobile[_nghost-%COMP%] .t-header[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{flex:1}.t-content[_ngcontent-%COMP%]{border-radius:inherit;padding:2rem;background:var(--tui-elevation-01)}.t-content[_ngcontent-%COMP%]:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}.t-wrapper[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;top:0;z-index:1;order:-1}.t-filler[_ngcontent-%COMP%]{flex-grow:1}.t-close[_ngcontent-%COMP%]{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:fixed;top:1.5rem;right:1.5rem;display:none;color:var(--tui-base-01)}.t-dialog:last-of-type[_nghost-%COMP%] .t-close[_ngcontent-%COMP%], .t-dialog:last-of-type [_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{display:block}[_nghost-%COMP%]:not([data-size="fullscreen"]):not([data-size="page"]) .t-close[_ngcontent-%COMP%]{animation:tuiFadeIn var(--tui-duration);background:rgba(104,104,104,.96)}[_nghost-%COMP%]:not([data-size="fullscreen"]):not([data-size="page"]) .t-close[_ngcontent-%COMP%]:hover{background:rgba(159,159,159,.86)}[_nghost-%COMP%]:not([data-size="fullscreen"]).ng-animating .t-close[_ngcontent-%COMP%]{display:none}tui-root._mobile[_nghost-%COMP%] .t-close[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{position:absolute;top:0;right:0;background:transparent!important;color:var(--tui-text-01);opacity:.5}.t-buttons[_ngcontent-%COMP%]{margin-top:1.25rem;text-align:right}'],data:{animation:[Yt.X9,Yt.QF]}}),t})());let Ne=(()=>{class t extends St.d5{constructor(){super(...arguments),this.component=De,this.defaultOptions=Object.assign(Object.assign({},(0,i.f3M)(Ee)),{data:void 0})}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Le=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[(0,N.Q)(Ne)],imports:[[q.wq,Tt.fN,w.ez,_e]]}),t})();var ze=n(23917),Fe=n(67545);class Re{constructor(t,e){this._document=e;const n=this._textarea=this._document.createElement("textarea"),i=n.style;i.position="fixed",i.top=i.opacity="0",i.left="-999em",n.setAttribute("aria-hidden","true"),n.value=t,this._document.body.appendChild(n)}copy(){const t=this._textarea;let e=!1;try{if(t){const n=this._document.activeElement;t.select(),t.setSelectionRange(0,t.value.length),e=this._document.execCommand("copy"),n&&n.focus()}}catch(n){}return e}destroy(){const t=this._textarea;t&&(t.parentNode&&t.parentNode.removeChild(t),this._textarea=void 0)}}let je=(()=>{class t{constructor(t){this._document=t}copy(t){const e=this.beginCopy(t),n=e.copy();return e.destroy(),n}beginCopy(t){return new Re(t,this._document)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(w.K0))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(w.K0))},token:t,providedIn:"root"}),t})();const Be=new i.OlP("CDK_COPY_TO_CLIPBOARD_CONFIG");let Ve=(()=>{class t{constructor(t,e,n){this._clipboard=t,this._ngZone=e,this.text="",this.attempts=1,this.copied=new i.vpe,this._pending=new Set,n&&null!=n.attempts&&(this.attempts=n.attempts)}copy(t=this.attempts){if(t>1){let e=t;const n=this._clipboard.beginCopy(this.text);this._pending.add(n);const i=()=>{const t=n.copy();t||!--e||this._destroyed?(this._currentTimeout=null,this._pending.delete(n),n.destroy(),this.copied.emit(t)):this._currentTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(i,1))};i()}else this.copied.emit(this._clipboard.copy(this.text))}ngOnDestroy(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(t=>t.destroy()),this._pending.clear(),this._destroyed=!0}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(je),i.Y36(i.R0b),i.Y36(Be,8))},t.\u0275dir=i.lG2({type:t,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(t,e){1&t&&i.NdJ("click",function(){return e.copy()})},inputs:{text:["cdkCopyToClipboard","text"],attempts:["cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"}}),t})(),$e=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();var Ye=n(97582);let Ze=(()=>{class t{constructor({nativeElement:t}){return new i.SBq(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiElement",""]],exportAs:["elementRef"]}),t})(),qe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})(),Ue=(()=>{class t extends Ze{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,selectors:[["","tuiResizeable",""]],features:[i.qOj]}),t})(),He=(()=>{class t{constructor(t){this.resizeable=t,this.tuiResizer=[0,0],this.tuiSizeChange=new i.vpe,this.x=NaN,this.y=NaN,this.width=0,this.height=0}get cursor(){return this.tuiResizer[0]?this.tuiResizer[1]?this.tuiResizer[0]*this.tuiResizer[1]>0?"nwse-resize":"nesw-resize":"ew-resize":"ns-resize"}onTouchStart({touches:t}){this.onMouseDown(t[0].clientX,t[0].clientY)}onMouseDown(t,e){this.x=t,this.y=e,this.width=this.resizeable.nativeElement.clientWidth,this.height=this.resizeable.nativeElement.clientHeight}onMouseMove({x:t,y:e,buttons:n}){n?this.onMove(t,e):this.onMouseUp()}onTouchMove({touches:t}){this.onMove(t[0].clientX,t[0].clientY)}onMouseUp(){this.x=NaN}onMove(t,e){if(Number.isNaN(this.x))return;const{style:n}=this.resizeable.nativeElement,i=[this.width+this.tuiResizer[0]*(t-this.x),this.height+this.tuiResizer[1]*(e-this.y)];this.tuiResizer[0]&&(n.width=(0,ce.O)(i[0])),this.tuiResizer[1]&&(n.height=(0,ce.O)(i[1])),this.tuiSizeChange.emit(i)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(Ue))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiResizer",""]],hostVars:4,hostBindings:function(t,e){1&t&&i.NdJ("touchstart.silent.passive",function(t){return e.onTouchStart(t)})("mousedown.silent.prevent",function(t){return e.onMouseDown(t.x,t.y)})("mousemove.silent",function(t){return e.onMouseMove(t)},!1,i.evT)("touchmove.silent",function(t){return e.onTouchMove(t)},!1,i.evT)("mouseup.silent",function(){return e.onMouseUp()},!1,i.evT)("touchend.silent",function(){return e.onMouseUp()},!1,i.evT),2&t&&i.Udp("touch-action","none")("cursor",e.cursor)},inputs:{tuiResizer:"tuiResizer"},outputs:{tuiSizeChange:"tuiSizeChange"}}),t})(),Ge=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})(),Je=(()=>{class t{transform(t,e,...n){return t.filter(t=>e(t,...n))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Yjl({name:"tuiFilter",type:t,pure:!0}),t})(),Xe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})(),Qe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiItem",""]]}),t})(),We=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})(),Ke=(()=>{class t{transform(t,e,n){var i;return null!==(i=null==t?void 0:t.replace(e,n))&&void 0!==i?i:""}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Yjl({name:"tuiReplace",type:t,pure:!0}),t})(),tn=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();function en(t){const e=t.replace("#","").split("").map((t,e,n)=>3===n.length?t+t:t).join("").match(/.{2}/g);return e?e.map(t=>Number.parseInt(t,16)):[0,0,0]}var nn=n(85648),rn=n(44358),on=n(91489),sn=n(43631),an=n(75046);let ln=(()=>{class t{constructor(t,e,n,i,r){this.host=t,this.control=e,this.el=n,this.idService=i,this.itemsHandlers=r,this.disabledItemHandler=null,this.datalist=null}get id(){return this.el.nativeElement.id||this.idService.generate()}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(at.S0),i.Y36(St.M$),i.Y36(i.SBq),i.Y36(D.ll),i.Y36(an.Ys))},t.\u0275dir=i.lG2({type:t,viewQuery:function(t,e){if(1&t&&i.Gf(Lt.gX,7,i.Rgc),2&t){let t;i.iGM(t=i.CRH())&&(e.datalist=t.first)}},hostVars:1,hostBindings:function(t,e){2&t&&i.Ikx("id",e.id)},inputs:{disabledItemHandler:"disabledItemHandler"}}),t})();function cn(t,e){if(1&t&&(i.ynx(0),i._uU(1),i.BQk()),2&t){const t=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",t," ")}}function un(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"button",4,5),i.NdJ("click",function(){const e=i.CHM(t).$implicit;return i.oxw(2).itemClick.emit(e)}),i.TgZ(2,"span",6),i.YNc(3,cn,2,1,"ng-container",7),i.qZA(),i.qZA()}if(2&t){const t=e.$implicit,n=i.MAs(1),r=i.oxw(2);i.Q6J("disabled",r.disabledItemHandler(t))("value",t),i.xp6(3),i.Q6J("polymorpheusOutlet",r.itemContent)("polymorpheusOutletContext",r.getContext(t,n))}}function hn(t,e){if(1&t&&(i.TgZ(0,"tui-data-list",2),i.YNc(1,un,4,4,"button",3),i.qZA()),2&t){const t=i.oxw();i.Q6J("emptyContent",t.emptyContent)("size",t.size),i.xp6(1),i.Q6J("ngForOf",t.items)}}function dn(t,e){1&t&&i._UZ(0,"tui-loader",8)}let pn=(()=>{class t{constructor(t,e){this.itemsHandlers=t,this.defaultSize=e,this.optionsQuery=y.Mm,this.disabledItemHandler=this.itemsHandlers.disabledItemHandler,this.size=this.defaultSize,this.itemClick=new i.vpe,this.itemContent=({$implicit:t})=>this.itemsHandlers.stringify(t)}getContext(t,{nativeElement:e}){return{$implicit:t,active:(0,V.V8)(e)}}getOptions(t=!1){return this.optionsQuery.filter(({disabled:e})=>t||!e).map(({value:t})=>t).filter(L.Pc)}}return t.\u0275fac=function(t){i.$Z()},t.\u0275dir=i.lG2({type:t,viewQuery:function(t,e){if(1&t&&i.Gf(Lt.vK,5),2&t){let t;i.iGM(t=i.CRH())&&(e.optionsQuery=t)}},inputs:{disabledItemHandler:"disabledItemHandler",emptyContent:"emptyContent",size:"size",itemContent:"itemContent"},outputs:{itemClick:"itemClick"}}),t})(),fn=(()=>{class t extends pn{constructor(t,e){super(t,(null==e?void 0:e.size)||"m"),this.items=[]}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(an.Ys),i.Y36(Dt.Cs,8))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-data-list-wrapper",3,"labels",""]],inputs:{items:"items"},features:[i._Bn([(0,at.RB)(t),Dt.Y0]),i.qOj],decls:3,vars:2,consts:[[3,"emptyContent","size",4,"ngIf","ngIfElse"],["loading",""],[3,"emptyContent","size"],["automation-id","tui-data-list-wrapper__option","tuiElement","","tuiOption","",3,"disabled","value","click",4,"ngFor","ngForOf"],["automation-id","tui-data-list-wrapper__option","tuiElement","","tuiOption","",3,"disabled","value","click"],["elementRef","elementRef"],[1,"t-content"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-data-list-wrapper__loader",1,"t-loader"]],template:function(t,e){if(1&t&&(i.YNc(0,hn,2,3,"tui-data-list",0),i.YNc(1,dn,1,0,"ng-template",null,1,i.W1O)),2&t){const t=i.MAs(2);i.Q6J("ngIf",e.items)("ngIfElse",t)}},directives:[w.O5,Lt.qi,w.sg,Lt.vK,Ze,q.Li,b.kM],styles:["[_nghost-%COMP%]{display:block}.t-content[_ngcontent-%COMP%]{flex:1}.t-loader[_ngcontent-%COMP%]{margin:.75rem 0}"],changeDetection:0}),t})(),gn=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,q.wq,qe,Lt.pc,b.dS]]}),t})(),mn=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();var vn=n(87862),_n=n(66640);function yn(t,e){1&t&&i._UZ(0,"tui-svg",2),2&t&&i.Q6J("src",e.polymorpheusOutlet)}function bn(t,e){1&t&&i.GkF(0)}const wn=(0,L.JN)({iconSmall:"tuiIconChevronDown",iconLarge:"tuiIconChevronDownLarge"}),Cn=new q.Al((()=>{class t{constructor(t,e,n){this.dropdown=t,this.textfieldSize=e,this.options=n}get rotated(){return this.dropdown.open}get arrowIcon(){return(0,_n.R9)(this.textfieldSize.size)?this.options.iconLarge:this.options.iconSmall}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(ze.o1),i.Y36(Dt.kI),i.Y36(wn))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-arrow"]],hostVars:2,hostBindings:function(t,e){2&t&&i.ekj("_rotated",e.rotated)},decls:3,vars:4,consts:[[3,"src",4,"polymorpheusOutlet"],[4,"ngIf"],[3,"src"]],template:function(t,e){1&t&&(i.YNc(0,yn,1,1,"tui-svg",0),i.YNc(1,bn,1,0,"ng-container",1),i.ALo(2,"async")),2&t&&(i.Q6J("polymorpheusOutlet",e.arrowIcon),i.xp6(1),i.Q6J("ngIf",i.lcZ(2,2,e.dropdown.openChange)))},directives:[q.Li,w.O5,Rt.PN],pipes:[w.Ov],styles:["[_nghost-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:block;cursor:pointer;pointer-events:none}._rotated[_nghost-%COMP%]{transform:rotate(180deg)}"],changeDetection:0}),t})());let xn=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,Rt.EI,q.wq]]}),t})();const kn=(0,L.JN)({interactive:Cn,disabled:Cn});var On=n(18269);let Mn=(()=>{class t{constructor(t,e){this.el=t,this.destroy$=e}set tuiScrollIntoView(t){!t||(0,l.H)(0).pipe((0,p.R)(this.destroy$)).subscribe(()=>{this.el.nativeElement.dispatchEvent(new CustomEvent(On.fe,{bubbles:!0,detail:this.el.nativeElement}))})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(D.a3,2))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiScrollIntoView",""]],inputs:{tuiScrollIntoView:"tuiScrollIntoView"},features:[i._Bn([D.a3])]}),t})(),Sn=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();function Pn(t,e){if(1&t&&i._UZ(0,"tui-svg",3),2&t){const t=i.oxw();i.Q6J("src",t.icons.check)("tuiScrollIntoView",!0)}}function En(t,e){1&t&&i._UZ(0,"span",4)}const Tn=new q.Al((()=>{class t{constructor(t,e,n,i,r,o,s,l){this.icons=t,this.context=e,this.host=n,this.el=i,this.option=r,this.dataList=o,this.control=s,this.abstractControl=l,this.changeDetection$=new a.xQ,this.selected$=(0,c.T)(this.changeDetection$,this.control.valueChanges||be.E,(0,ye.mL)(this.el.nativeElement,"animationstart")).pipe((0,d.O)(null),(0,h.U)(()=>this.selected),(0,v.x)())}get matcher(){return this.host.identityMatcher||y.bg}ngOnInit(){Promise.resolve().then(()=>{var t,e;(0,L.Pc)(this.option.value)&&!this.option.disabled&&(null===(e=(t=this.host).checkOption)||void 0===e||e.call(t,this.option.value))})}ngDoCheck(){this.changeDetection$.next()}get value(){var t,e;return null!==(e=null===(t=this.abstractControl)||void 0===t?void 0:t.value)&&void 0!==e?e:this.control.value}get selected(){return(0,L.Pc)(this.option.value)&&(0,L.Pc)(this.value)&&this.matcher(this.value,this.option.value)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(at.Gs),i.Y36(q.yf),i.Y36(at.N1),i.Y36(i.SBq),i.Y36(Lt.vK),i.Y36(Lt.qi,8),i.Y36(vn.a5),i.Y36(St.M$,8))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-select-option"]],decls:5,vars:5,consts:[[3,"ngTemplateOutlet"],["automation-id","tui-select-option__checkmark","class","t-checkmark",3,"src","tuiScrollIntoView",4,"ngIf","ngIfElse"],["dummy",""],["automation-id","tui-select-option__checkmark",1,"t-checkmark",3,"src","tuiScrollIntoView"],[1,"t-dummy"]],template:function(t,e){if(1&t&&(i.GkF(0,0),i.YNc(1,Pn,1,2,"tui-svg",1),i.ALo(2,"async"),i.YNc(3,En,1,0,"ng-template",null,2,i.W1O)),2&t){const t=i.MAs(4);i.Q6J("ngTemplateOutlet",e.context.$implicit),i.xp6(1),i.Q6J("ngIf",i.lcZ(2,3,e.selected$))("ngIfElse",t)}},directives:[w.tP,w.O5,Rt.PN,Mn],pipes:[w.Ov],styles:['@keyframes retrigger{0%{left:1px}to{left:2px}}[_nghost-%COMP%]{display:flex;flex:1;align-items:center;max-width:100%;animation:retrigger 1s}.t-checkmark[_ngcontent-%COMP%]{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-border-start:.25rem solid transparent;border-inline-start:.25rem solid transparent}tui-data-list[data-list-size="s"][_nghost-%COMP%] .t-checkmark[_ngcontent-%COMP%], tui-data-list[data-list-size="s"] [_nghost-%COMP%] .t-checkmark[_ngcontent-%COMP%]{-webkit-margin-end:-.375rem;margin-inline-end:-.375rem}tui-data-list[data-list-size="m"][_nghost-%COMP%] .t-checkmark[_ngcontent-%COMP%], tui-data-list[data-list-size="m"] [_nghost-%COMP%] .t-checkmark[_ngcontent-%COMP%]{-webkit-margin-end:-.125rem;margin-inline-end:-.125rem}.t-dummy[_ngcontent-%COMP%]{width:1.75rem}'],changeDetection:0}),t})());let An=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,Rt.EI,Sn]]}),t})();var In=n(93213);function Dn(t,e){1&t&&i.Hsn(0,2,["*ngIf","isMobile"])}function Nn(t,e){if(1&t&&i.YNc(0,Dn,1,0,"ng-content",6),2&t){const t=i.oxw();i.Q6J("ngIf",t.isMobile)}}function Ln(t,e){1&t&&i.GkF(0,7)}function zn(t,e){1&t&&i._UZ(0,"div",10),2&t&&i.Q6J("textContent",e.polymorpheusOutlet)}const Fn=function(t,e){return{$implicit:t,active:e}};function Rn(t,e){if(1&t&&(i.TgZ(0,"div",8),i.YNc(1,zn,1,1,"div",9),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",t.computedContent)("polymorpheusOutletContext",i.WLB(2,Fn,t.value,t.computedFocused))}}function jn(t,e){1&t&&i.GkF(0)}function Bn(t,e){if(1&t&&(i.TgZ(0,"div",11),i.YNc(1,jn,1,0,"ng-container",12),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",t.arrow)}}const Vn=["*",[["input"]],[["select"]]],$n=["*","input","select"],Yn=(0,L.JN)({valueContent:""});let Zn=(()=>{class t extends St.F9{constructor(t,e,n,i,r,o,s,a){super(t,e),this.textfieldCleaner=n,this.textfieldSize=i,this.arrowMode=r,this.itemsHandlers=o,this.options=s,this.isMobile=a,this.stringify=this.itemsHandlers.stringify,this.identityMatcher=this.itemsHandlers.identityMatcher,this.valueContent=this.options.valueContent}get size(){return this.textfieldSize.size}get arrow(){return this.interactive?this.arrowMode.interactive:this.arrowMode.disabled}get nativeFocusableElement(){var t,e;return null!==(e=null===(t=this.textfield)||void 0===t?void 0:t.nativeFocusableElement)&&void 0!==e?e:null}get focused(){return(0,V.V8)(this.nativeFocusableElement)||!!this.hostedDropdown&&this.hostedDropdown.focused}get nativeDropdownMode(){return!!this.nativeSelect&&this.isMobile}get computedValue(){return null===this.value?"":this.stringify(this.value)||" "}get computedContent(){return this.valueContent||this.computedValue}onValueChange(t){this.value=t||null}onActiveZone(t){this.updateFocused(t)}onKeyDownDelete(){this.textfieldCleaner.cleaner&&(this.value=null)}handleOption(t){var e;this.focusInput(),this.value=t,null===(e=this.hostedDropdown)||void 0===e||e.updateOpen(!1)}focusInput(t=!1){this.nativeFocusableElement&&this.nativeFocusableElement.focus({preventScroll:t})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(vn.a5,10),i.Y36(i.sBO),i.Y36(Dt.Ym),i.Y36(Dt.kI),i.Y36(kn),i.Y36(an.Ys),i.Y36(Yn),i.Y36(N.fL))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-select"]],contentQueries:function(t,e,n){if(1&t&&(i.Suo(n,ln,7),i.Suo(n,Lt.gX,5,i.Rgc)),2&t){let t;i.iGM(t=i.CRH())&&(e.nativeSelect=t.first),i.iGM(t=i.CRH())&&(e.datalist=t.first)}},viewQuery:function(t,e){if(1&t&&(i.Gf(Bt.yc,5),i.Gf(ze.o1,5)),2&t){let t;i.iGM(t=i.CRH())&&(e.textfield=t.first),i.iGM(t=i.CRH())&&(e.hostedDropdown=t.first)}},hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("data-size",e.size)},inputs:{stringify:"stringify",identityMatcher:"identityMatcher",valueContent:"valueContent"},features:[i._Bn([(0,N.FT)(t),(0,St.wB)(t),(0,at.oE)(t),(0,at.P7)(Tn)],[In.yn]),i.qOj],ngContentSelectors:$n,decls:10,vars:15,consts:[[1,"t-hosted",3,"canOpen","content","tuiActiveZoneChange"],["automation-id","tui-select__textfield",1,"t-textfield",3,"disabled","editable","focusable","invalid","nativeId","pseudoActive","pseudoFocus","pseudoHover","readOnly","tuiTextfieldIcon","value","keydown.backspace.prevent","keydown.delete.prevent","valueChange"],["select",""],["ngProjectAs","select",5,["select"],4,"ngTemplateOutlet"],["automation-id","tui-select__value","ngProjectAs","tuiContent","class","t-value",5,["tuiContent"],4,"ngIf"],["icon",""],[4,"ngIf"],["ngProjectAs","select",5,["select"]],["automation-id","tui-select__value","ngProjectAs","tuiContent",5,["tuiContent"],1,"t-value"],["class","t-primitive-value",3,"textContent",4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-primitive-value",3,"textContent"],["appearance","icon","tuiWrapper","",1,"t-icon"],[4,"polymorpheusOutlet"]],template:function(t,e){if(1&t&&(i.F$t(Vn),i.TgZ(0,"tui-hosted-dropdown",0),i.NdJ("tuiActiveZoneChange",function(t){return e.onActiveZone(t)}),i.TgZ(1,"tui-primitive-textfield",1),i.NdJ("keydown.backspace.prevent",function(){return e.onKeyDownDelete()})("keydown.delete.prevent",function(){return e.onKeyDownDelete()})("valueChange",function(t){return e.onValueChange(t)}),i.Hsn(2),i.Hsn(3,1,["ngProjectAs","input",5,["input"]]),i.YNc(4,Nn,1,1,"ng-template",null,2,i.W1O),i.YNc(6,Ln,1,0,"ng-container",3),i.YNc(7,Rn,2,5,"div",4),i.qZA(),i.YNc(8,Bn,2,1,"ng-template",null,5,i.W1O),i.qZA()),2&t){const t=i.MAs(5),n=i.MAs(9);i.Q6J("canOpen",e.interactive&&!e.nativeDropdownMode)("content",e.datalist||""),i.xp6(1),i.Q6J("disabled",e.computedDisabled)("editable",!1)("focusable",e.computedFocusable)("invalid",e.computedInvalid)("nativeId",e.nativeId)("pseudoActive",e.pseudoActive)("pseudoFocus",e.computedFocused)("pseudoHover",e.pseudoHover)("readOnly",e.readOnly)("tuiTextfieldIcon",e.arrow?n:"")("value",e.computedValue),i.xp6(5),i.Q6J("ngTemplateOutlet",t),i.xp6(1),i.Q6J("ngIf",null!==e.value)}},directives:[ze.o1,gt.e,Bt.yc,Bt.B1,Dt.AW,w.tP,w.O5,q.Li,on.o],styles:["[_nghost-%COMP%]{display:block;border-radius:var(--tui-radius-m);text-align:left}[_nghost-%COMP%]:not(._readonly) input:not(:disabled){cursor:pointer}._readonly[_nghost-%COMP%] input{cursor:default}.t-hosted[_ngcontent-%COMP%]{display:block;border-radius:inherit}.t-textfield[_ngcontent-%COMP%]{border-radius:inherit;text-align:inherit}.t-value[_ngcontent-%COMP%]{display:flex;width:100%;align-items:center}.t-primitive-value[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}"],changeDetection:0}),t})(),qn=(()=>{class t extends sn.D1{get readOnly(){return!0}get value(){return this.host.computedValue}get stringify(){return this.host.stringify}onValueChange(t){this.host.onValueChange(t)}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,selectors:[["tui-select"]],features:[i._Bn([(0,at.cp)(t)]),i.qOj]}),t})(),Un=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,q.wq,gt.A,Bt.KW,ze.jh,An,xn,on.W,Dt.cn,gn,Lt.pc,mn]]}),t})();var Hn=n(77320),Gn=n(44541),Jn=n(13633),Xn=n(75059),Qn=n(88491);const Wn=["*"];let Kn=(()=>{class t{constructor(){this.name="tui-radio-group-"+t.index++}}return t.index=0,t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-radio-group"]],inputs:{name:"name"},ngContentSelectors:Wn,decls:1,vars:0,template:function(t,e){1&t&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),t})();const ti=["focusableElement"],ei=(0,L.JN)({size:"m",appearances:{unchecked:Hn.Nm.Outline,checked:Hn.Nm.Primary}});let ni=(()=>{class t extends St.F9{constructor(t,e,n,i){super(t,e),this.options=n,this.radioGroup=i,this.identityMatcher=y.bg,this.name=null,this.size=this.options.size,this.pseudoDisabled=!1}get appearance(){return this.checked?this.options.appearances.checked:this.options.appearances.unchecked}get computedDisabled(){return this.disabled||this.pseudoDisabled}get nativeFocusableElement(){return!this.focusableElement||this.computedDisabled?null:this.focusableElement.nativeElement}get focused(){return(0,V.V8)(this.nativeFocusableElement)}get checked(){return null===this.value?null===this.item:null!=this.item&&this.identityMatcher(this.value,this.item)}get computedName(){return this.name||this.radioGroupName||this.controlName||""}get isFocusable(){return!this.readOnly&&this.computedFocusable}onChecked(t){t&&(this.value=void 0!==this.item?this.item:this.fallbackValue)}onFocused(t){this.updateFocused(t)}onFocusVisible(t){this.updateFocusVisible(t)}get radioGroupName(){return null===this.radioGroup?null:this.radioGroup.name}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(vn.a5,10),i.Y36(i.sBO),i.Y36(ei),i.Y36(Kn,8))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-radio"]],viewQuery:function(t,e){if(1&t&&i.Gf(ti,5),2&t){let t;i.iGM(t=i.CRH())&&(e.focusableElement=t.first)}},hostVars:3,hostBindings:function(t,e){2&t&&(i.uIk("data-size",e.size),i.ekj("_disabled",e.computedDisabled))},inputs:{item:"item",identityMatcher:"identityMatcher",name:"name",size:"size",pseudoDisabled:"pseudoDisabled"},features:[i._Bn([(0,N.FT)(t),(0,St.wB)(t)]),i.qOj],decls:4,vars:13,consts:[["tuiWrapper","",3,"active","appearance","disabled","focus","hover","invalid"],[1,"t-mark"],["type","radio",1,"t-native",3,"disabled","id","tuiChecked","tuiFocusable","tuiCheckedChange","tuiFocusedChange","tuiFocusVisibleChange"],["focusableElement",""]],template:function(t,e){1&t&&(i.TgZ(0,"div",0),i._UZ(1,"div",1),i.TgZ(2,"input",2,3),i.NdJ("tuiCheckedChange",function(t){return e.onChecked(t)})("tuiFocusedChange",function(t){return e.onFocused(t)})("tuiFocusVisibleChange",function(t){return e.onFocusVisible(t)}),i.qZA(),i.qZA()),2&t&&(i.Q6J("active",e.pseudoActive)("appearance",e.appearance)("disabled",e.computedDisabled)("focus",e.computedFocusVisible)("hover",e.pseudoHover)("invalid",e.computedInvalid),i.xp6(1),i.ekj("t-mark_visible",e.checked),i.xp6(1),i.Q6J("disabled",e.computedDisabled)("id",e.id)("tuiChecked",e.checked)("tuiFocusable",e.isFocusable),i.uIk("name",e.computedName))},directives:[on.o,Gn.t,Jn.t,Xn.U,Qn.q],styles:["[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:block;flex-shrink:0;border-radius:100%}[data-size=m][_nghost-%COMP%]{width:1rem;height:1rem}[data-size=l][_nghost-%COMP%]{width:1.5rem;height:1.5rem}._readonly[_nghost-%COMP%]{pointer-events:none}.t-mark[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;background-color:currentColor;border-radius:100%;transform:scale(0)}.t-mark_visible[_ngcontent-%COMP%]{transform:scale(1)}[data-size=m][_nghost-%COMP%] .t-mark[_ngcontent-%COMP%]{margin:.25rem;width:.5rem;height:.5rem}[data-size=l][_nghost-%COMP%] .t-mark[_ngcontent-%COMP%]{margin:.4375rem;width:.625rem;height:.625rem}.t-native[_ngcontent-%COMP%]{padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.t-native[_ngcontent-%COMP%]:-webkit-autofill, .t-native[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-native[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}._disabled[_nghost-%COMP%] .t-native[_ngcontent-%COMP%]{cursor:default}"],changeDetection:0}),t})(),ii=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,Gn.S,Jn.u,Xn.F,Qn.c,on.W]]}),t})();function ri(t,e){1&t&&i.GkF(0)}const oi=["*"];let si=(()=>{class t extends St.F9{constructor(t,e,n){super(t,e),this.modeDirective=n,this.identityMatcher=y.bg,this.contentAlign="right",this.size="l",this.hideRadio=!1,this.pseudoDisabled=!1}get nativeFocusableElement(){var t,e;return null!==(e=null===(t=this.radio)||void 0===t?void 0:t.nativeFocusableElement)&&void 0!==e?e:null}get focused(){return!!this.radio&&this.radio.focused}get computedDisabled(){return this.disabled||this.pseudoDisabled}get checked(){var t;return!!(null===(t=this.radio)||void 0===t?void 0:t.checked)&&this.hideRadio}get checkboxSize(){return"l"===this.size?"l":"m"}get appearance(){var t;return(null===(t=this.modeDirective)||void 0===t?void 0:t.mode)?this.checked?Hn.Nm.Primary:Hn.Nm.Secondary:this.checked?Hn.Nm.WhiteblockActive:Hn.Nm.Whiteblock}onFocused(t){this.updateFocused(t)}onFocusVisible(t){this.updateFocusVisible(t)}onModelChange(t){this.value=t}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(vn.a5,10),i.Y36(i.sBO),i.Y36(At.w,8))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-radio-block"]],viewQuery:function(t,e){if(1&t&&i.Gf(ni,5),2&t){let t;i.iGM(t=i.CRH())&&(e.radio=t.first)}},hostVars:8,hostBindings:function(t,e){2&t&&(i.uIk("data-align",e.contentAlign)("data-size",e.size),i.ekj("_hidden_input",e.hideRadio)("_disabled",e.computedDisabled)("_active",e.checked))},inputs:{item:"item",identityMatcher:"identityMatcher",contentAlign:"contentAlign",size:"size",hideRadio:"hideRadio",pseudoDisabled:"pseudoDisabled"},features:[i._Bn([(0,N.FT)(t),(0,St.wB)(t)]),i.qOj],ngContentSelectors:oi,decls:7,vars:22,consts:[[4,"ngIf"],["tuiWrapper","",1,"t-wrapper",3,"active","appearance","disabled","focus","hover","invalid"],[1,"t-view",3,"focusable","identityMatcher","item","name","nativeId","pseudoActive","pseudoDisabled","pseudoFocus","pseudoHover","pseudoInvalid","readOnly","size","ngModel","ngModelChange","focusedChange","focusVisibleChange"],[1,"t-label"],[1,"t-content"]],template:function(t,e){1&t&&(i.F$t(),i.YNc(0,ri,1,0,"ng-container",0),i.ALo(1,"async"),i.TgZ(2,"label",1),i.TgZ(3,"tui-radio",2),i.NdJ("ngModelChange",function(t){return e.value=t})("focusedChange",function(t){return e.onFocused(t)})("focusVisibleChange",function(t){return e.onFocusVisible(t)}),i.qZA(),i.TgZ(4,"div",3),i.TgZ(5,"div",4),i.Hsn(6),i.qZA(),i.qZA(),i.qZA()),2&t&&(i.Q6J("ngIf",e.modeDirective&&i.lcZ(1,20,e.modeDirective.change$)),i.xp6(2),i.Q6J("active",e.pseudoActive)("appearance",e.appearance)("disabled",e.computedDisabled)("focus",e.computedFocusVisible)("hover",e.pseudoHover)("invalid",e.computedInvalid),i.xp6(1),i.Q6J("focusable",e.focusable)("identityMatcher",e.identityMatcher)("item",e.item)("name",e.computedName||"")("nativeId",e.nativeId)("pseudoActive",e.pseudoActive)("pseudoDisabled",e.computedDisabled)("pseudoFocus",!1)("pseudoHover",e.pseudoHover)("pseudoInvalid",e.computedInvalid)("readOnly",e.readOnly)("size",e.checkboxSize)("ngModel",e.value))},directives:[w.O5,on.o,ni,vn.JJ,vn.On],pipes:[w.Ov],styles:["[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);display:inline-block;vertical-align:top;align-items:flex-start;border-radius:var(--tui-radius-m)}[data-size=xs][_nghost-%COMP%]{font:var(--tui-font-text-xs)}[data-size=m][_nghost-%COMP%], [data-size=l][_nghost-%COMP%]{font:var(--tui-font-text-m)}._disabled[_nghost-%COMP%], ._readonly[_nghost-%COMP%]{pointer-events:none}.t-wrapper[_ngcontent-%COMP%]{position:relative;display:flex;align-items:inherit;box-sizing:border-box;border-radius:inherit;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:0 1rem 0 0}[data-size=xs][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding-right:.5rem}[data-align=right][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{flex-direction:row-reverse;padding:0 0 0 1rem}[data-align=right][data-size=xs][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding-left:.5rem}[data-size=xs]._hidden_input[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 .5rem}[data-size=xs]._hidden_input[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:not(._focused):after{border-width:1px}[data-size=s]._hidden_input[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 1rem}[data-size=m]._hidden_input[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 1.5rem}[data-size=l]._hidden_input[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 2.25rem}[data-size=xs][_nghost-%COMP%] .t-view[_ngcontent-%COMP%]{margin:calc(var(--tui-height-xs) / 2 - .5rem) .25rem;transform:scale(.75)}[data-size=s][_nghost-%COMP%] .t-view[_ngcontent-%COMP%]{margin:calc(var(--tui-height-s) / 2 - .5rem) .5rem}[data-size=m][_nghost-%COMP%] .t-view[_ngcontent-%COMP%]{margin:calc(var(--tui-height-m) / 2 - .5rem) .75rem}[data-size=l][_nghost-%COMP%] .t-view[_ngcontent-%COMP%]{margin:calc(var(--tui-height-l) / 2 - .75rem) 1rem}._hidden_input[_nghost-%COMP%] .t-view[_ngcontent-%COMP%]{position:absolute;height:1px;width:1px;margin:-1px;border:0;padding:0;overflow:hidden;clip:rect(0,0,0,0);-webkit-clip-path:inset(0);clip-path:inset(0)}.t-label[_ngcontent-%COMP%]{display:flex;flex-grow:1;align-self:flex-start;align-items:center;overflow:hidden}[data-size=xs][_nghost-%COMP%] .t-label[_ngcontent-%COMP%]{min-height:var(--tui-height-xs)}[data-size=s][_nghost-%COMP%] .t-label[_ngcontent-%COMP%]{min-height:var(--tui-height-s)}[data-size=m][_nghost-%COMP%] .t-label[_ngcontent-%COMP%]{min-height:var(--tui-height-m)}[data-size=l][_nghost-%COMP%] .t-label[_ngcontent-%COMP%]{min-height:var(--tui-height-l)}._hidden_input[_nghost-%COMP%] .t-label[_ngcontent-%COMP%]{text-align:center;justify-content:center}.t-content[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}"],changeDetection:0}),t})(),ai=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,vn.u5,ii,on.W]]}),t})();var li=n(12130);const ci=["*"];let ui=(()=>{class t{constructor(t){this.mode$=t,this.size="m",this.status="default",this.hoverable=!1}get padding(){var t;return this.isEmpty?"none":(0,L.dt)(null===(t=this.value)||void 0===t?void 0:t.valueOf())?"m":"l"}get outputValue(){var t;const e=null===(t=this.value)||void 0===t?void 0:t.valueOf();return(0,L.dt)(e)&&e>99?"99+":(0,L.Pc)(this.value)?String(this.value):""}get isEmpty(){return!this.value&&0!==this.value}titleText({offsetWidth:t,scrollWidth:e}){return t{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez]]}),t})(),di=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();const pi=["focusableElement"];function fi(t,e){if(1&t&&i._UZ(0,"tui-loader",7),2&t){const t=i.oxw();i.Q6J("inheritColor",!0)("showLoader",t.value)("size",t.loaderSize)}}function gi(t,e){1&t&&i._UZ(0,"tui-svg",10),2&t&&i.Q6J("src",e.polymorpheusOutlet)}const mi=function(t){return{$implicit:t}};function vi(t,e){if(1&t&&(i.TgZ(0,"span",8),i.YNc(1,gi,1,1,"tui-svg",9),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",t.iconOn)("polymorpheusOutletContext",i.VKq(2,mi,t.size))}}function _i(t,e){if(1&t&&i._UZ(0,"tui-loader",7),2&t){const t=i.oxw();i.Q6J("inheritColor",!0)("showLoader",!t.value)("size",t.loaderSize)}}function yi(t,e){1&t&&i._UZ(0,"tui-svg",12),2&t&&i.Q6J("src",e.polymorpheusOutlet)}function bi(t,e){if(1&t&&(i.TgZ(0,"span",8),i.YNc(1,yi,1,1,"tui-svg",11),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",t.iconOff)("polymorpheusOutletContext",i.VKq(2,mi,t.size))}}const wi=(0,L.JN)({icons:{toggleOff:({$implicit:t})=>"m"===t?"tuiIconToggleOff":"tuiIconToggleOffLarge",toggleOn:({$implicit:t})=>"m"===t?"tuiIconToggleOn":"tuiIconToggleOnLarge"},appearances:{checked:Hn.Nm.Primary,unchecked:Hn.Nm.Secondary},singleColor:!1,showIcons:!1,size:"m"});let Ci=(()=>{class t extends St.M${constructor(t,e,n,i){super(t,e),this.modeDirective=n,this.options=i,this.singleColor=this.options.singleColor,this.showIcons=this.options.showIcons,this.showLoader=!1,this.size=this.options.size}get iconOn(){return this.options.icons.toggleOn}get iconOff(){return this.options.icons.toggleOff}get nativeFocusableElement(){var t,e;return null!==(e=null===(t=this.focusableElement)||void 0===t?void 0:t.nativeElement)&&void 0!==e?e:null}get focused(){return(0,V.V8)(this.nativeFocusableElement)}get appearance(){return this.singleColor||this.value?this.options.appearances.checked:this.options.appearances.unchecked}get sizeM(){return"m"===this.size}get loaderSize(){return this.sizeM?"xs":"s"}get hostMode(){var t,e;return null!==(e=null===(t=this.modeDirective)||void 0===t?void 0:t.mode)&&void 0!==e?e:null}onChecked(t){this.value=t}onFocused(t){this.updateFocused(t)}onFocusVisible(t){this.updateFocusVisible(t)}getFallbackValue(){return!1}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(vn.a5,10),i.Y36(i.sBO),i.Y36(At.w,8),i.Y36(wi))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-toggle"]],viewQuery:function(t,e){if(1&t&&i.Gf(pi,5),2&t){let t;i.iGM(t=i.CRH())&&(e.focusableElement=t.first)}},hostVars:4,hostBindings:function(t,e){2&t&&(i.uIk("data-size",e.size)("data-mode",e.hostMode),i.ekj("_checked",e.value))},inputs:{singleColor:"singleColor",showIcons:"showIcons",showLoader:"showLoader",size:"size"},features:[i._Bn([(0,N.FT)(t),(0,St.wB)(t)]),i.qOj],decls:9,vars:16,consts:[["tuiWrapper","",3,"active","appearance","disabled","focus","hover","invalid","readOnly"],[1,"t-toggle"],["class","t-loader",3,"inheritColor","showLoader","size",4,"ngIf"],["class","t-icon-wrapper",4,"ngIf"],[1,"t-circle"],["automation-id","tui-toggle__checkbox","role","switch","type","checkbox",1,"t-checkbox",3,"disabled","id","tuiFocusable","tuiChecked","tuiCheckedChange","tuiFocusedChange","tuiFocusVisibleChange"],["focusableElement",""],[1,"t-loader",3,"inheritColor","showLoader","size"],[1,"t-icon-wrapper"],["automation-id","tui-toggle__check-icon","class","t-icon",3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-toggle__check-icon",1,"t-icon",3,"src"],["automation-id","tui-toggle__cancel-icon","class","t-icon t-icon_off",3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-toggle__cancel-icon",1,"t-icon","t-icon_off",3,"src"]],template:function(t,e){1&t&&(i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.YNc(2,fi,1,3,"tui-loader",2),i.YNc(3,vi,2,4,"span",3),i._UZ(4,"div",4),i.YNc(5,_i,1,3,"tui-loader",2),i.YNc(6,bi,2,4,"span",3),i.qZA(),i.TgZ(7,"input",5,6),i.NdJ("tuiCheckedChange",function(t){return e.value=t})("tuiFocusedChange",function(t){return e.onFocused(t)})("tuiFocusVisibleChange",function(t){return e.onFocusVisible(t)}),i.qZA(),i.qZA()),2&t&&(i.Q6J("active",e.pseudoActive)("appearance",e.appearance)("disabled",e.computedDisabled)("focus",e.computedFocusVisible)("hover",e.pseudoHover)("invalid",e.computedInvalid)("readOnly",e.readOnly),i.xp6(2),i.Q6J("ngIf",e.showLoader),i.xp6(1),i.Q6J("ngIf",e.showIcons&&!e.showLoader),i.xp6(2),i.Q6J("ngIf",e.showLoader),i.xp6(1),i.Q6J("ngIf",e.showIcons&&!e.showLoader),i.xp6(1),i.Q6J("disabled",e.disabled)("id",e.id)("tuiFocusable",e.focusable)("tuiChecked",e.value),i.uIk("aria-checked",e.value))},directives:[on.o,w.O5,Gn.t,Jn.t,Xn.U,Qn.q,b.kM,q.Li,Rt.PN],styles:["[_nghost-%COMP%]{position:relative;display:inline-block;vertical-align:middle;overflow:hidden;border-radius:6.25rem}[data-size=m][_nghost-%COMP%]{width:2rem;height:1rem}[data-size=l][_nghost-%COMP%]{width:3rem;height:1.5rem}.t-checkbox[_ngcontent-%COMP%]{padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;height:100%;width:100%;opacity:0;cursor:pointer}.t-checkbox[_ngcontent-%COMP%]:-webkit-autofill, .t-checkbox[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-checkbox[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}._disabled[_nghost-%COMP%] .t-checkbox[_ngcontent-%COMP%]{pointer-events:none;cursor:default}.t-toggle[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:flex;align-items:center;justify-content:center}[data-size=m][_nghost-%COMP%] .t-toggle[_ngcontent-%COMP%]{width:3rem;height:1rem;transform:translate(-1rem)}[data-size=l][_nghost-%COMP%] .t-toggle[_ngcontent-%COMP%]{width:4.5rem;height:1.5rem;transform:translate(-1.5rem)}._checked[_nghost-%COMP%] .t-toggle[_ngcontent-%COMP%]{transform:translate(0)}.t-circle[_ngcontent-%COMP%]{margin:.125rem 0;flex-shrink:0;border-radius:100%;background-color:var(--tui-base-01)}._disabled[_nghost-%COMP%] .t-circle_light[_ngcontent-%COMP%]{opacity:.24}[data-size=m][_nghost-%COMP%] .t-circle[_ngcontent-%COMP%]{width:.75rem;height:.75rem}[data-size=l][_nghost-%COMP%] .t-circle[_ngcontent-%COMP%]{width:1rem;height:1rem}._disabled[_nghost-%COMP%] .t-circle[_ngcontent-%COMP%]{background-color:var(--tui-base-01)}.t-loader[_ngcontent-%COMP%]{min-width:auto}[_nghost-%COMP%]:not(._checked) .t-loader[_ngcontent-%COMP%]{color:var(--tui-base-06)}[_nghost-%COMP%]:not(._checked)._disabled .t-loader[_ngcontent-%COMP%]{color:var(--tui-base-05)}[_nghost-%COMP%]:not(._checked)[data-mode=onDark] .t-loader[_ngcontent-%COMP%]{color:var(--tui-text-03-night)}[_nghost-%COMP%]:not(._checked)[data-mode=onDark]._disabled .t-loader[_ngcontent-%COMP%]{color:var(--tui-clear-inverse-active)}[_nghost-%COMP%]:not(._checked)[data-mode=onLight] .t-loader[_ngcontent-%COMP%]{color:var(--tui-text-03)}[_nghost-%COMP%]:not(._checked)[data-mode=onLight]._disabled .t-loader[_ngcontent-%COMP%]{color:var(--tui-clear-active)}[data-size=m][_nghost-%COMP%] .t-loader[_ngcontent-%COMP%]{width:.75rem;margin:0 .2rem;transform:scale(.75)}[data-size=l][_nghost-%COMP%] .t-loader[_ngcontent-%COMP%]{width:1rem;margin:0 .25rem}.t-icon-wrapper[_ngcontent-%COMP%]{display:flex}.t-icon[_ngcontent-%COMP%]{opacity:.8}.t-icon_off[_ngcontent-%COMP%]{color:var(--tui-base-06)}._disabled[_nghost-%COMP%] .t-icon_off[_ngcontent-%COMP%]{color:var(--tui-base-05)}[data-mode=onDark][_nghost-%COMP%] .t-icon_off[_ngcontent-%COMP%]{color:var(--tui-text-03-night)}[data-mode=onDark]._disabled[_nghost-%COMP%] .t-icon_off[_ngcontent-%COMP%]{color:var(--tui-clear-inverse-active)}[data-mode=onLight][_nghost-%COMP%] .t-icon_off[_ngcontent-%COMP%]{color:var(--tui-text-03)}[data-mode=onLight]._disabled[_nghost-%COMP%] .t-icon_off[_ngcontent-%COMP%]{color:var(--tui-clear-active)}[data-size=m][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1rem;height:1rem;transform:scale(.75)}[data-size=l][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{margin:0 .125rem;width:1.5rem;height:1.5rem}[_nghost-%COMP%]:hover .t-icon[_ngcontent-%COMP%]{opacity:1}"],changeDetection:0}),t})(),xi=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,Xn.F,Jn.u,di,Qn.c,Gn.S,on.W,Rt.EI,b.dS,q.wq]]}),t})();var ki=n(55046);function Oi(t,e){const[,n=""]=function(t){const e=String(t),[n,i]=e.split("e-");let r=e;if(i){const[,e]=n.split("."),o=Number(i)+((null==e?void 0:e.length)||0);r=t.toFixed(o)}return r}(t).split(".");return(0,L.dt)(e)?n.slice(0,Math.max(0,e)):n}let Mi=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiValueAccessor",""]],features:[i._Bn([In.E2])]}),t})(),Si=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();var Pi=n(52494);function Ei(t,e){if(1&t&&(i.ynx(0),i._uU(1),i.BQk()),2&t){const t=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",t," ")}}function Ti(t,e){if(1&t&&(i.TgZ(0,"div",6),i.YNc(1,Ei,2,1,"ng-container",7),i.qZA()),2&t){i.oxw();const t=i.MAs(9);i.xp6(1),i.Q6J("polymorpheusOutlet",t)}}function Ai(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"section",8),i.TgZ(1,"button",9),i.NdJ("click.prevent",function(){i.CHM(t);const e=i.oxw();return e.onArrow(e.step)})("mousedown.prevent",function(){i.CHM(t);const e=i.oxw();return null==e.nativeFocusableElement?null:e.nativeFocusableElement.focus()}),i._uU(2," + "),i.qZA(),i.TgZ(3,"button",9),i.NdJ("click.prevent",function(){i.CHM(t);const e=i.oxw();return e.onArrow(-e.step)})("mousedown.prevent",function(){i.CHM(t);const e=i.oxw();return null==e.nativeFocusableElement?null:e.nativeFocusableElement.focus()}),i._uU(4," - "),i.qZA(),i.qZA()}if(2&t){const t=i.oxw(),e=i.MAs(1);i.xp6(1),i.Q6J("appearance",e.appearance)("disabled",!t.canIncrement)("focusable",!1)("icon",t.options.icons.up),i.xp6(2),i.Q6J("appearance",e.appearance)("disabled",!t.canDecrement)("focusable",!1)("icon",t.options.icons.down)}}function Ii(t,e){1&t&&i.GkF(0)}function Di(t,e){1&t&&i.Hsn(0,2)}const Ni=["*",[["input"]],[["tuiContent"]]],Li=["*","input","tuiContent"],zi=(0,L.JN)({icons:{up:"tuiIconPlus",down:"tuiIconMinus"},min:Number.MIN_SAFE_INTEGER,max:Number.MAX_SAFE_INTEGER,step:0,decimal:"not-zero",precision:2}),Fi=new i.OlP("");let Ri=(()=>{class t extends St.F9{constructor(t,e,n,i,r,o,s,a){super(t,e,n),this.options=i,this.numberFormat=r,this.isIOS=o,this.textfieldSize=s,this.controller=a,this.unfinishedValue="",this.min=this.options.min,this.max=this.options.max,this.decimal=this.options.decimal,this.precision=this.options.precision,this.step=this.options.step,this.prefix="",this.postfix="",this.polymorpheusValueContent=y.Mm}get size(){return this.textfieldSize.size}get computedMin(){return this.computeMin(this.min,this.max)}get computedMax(){return this.computeMax(this.min,this.max)}get nativeFocusableElement(){return!this.textfield||this.computedDisabled?null:this.textfield.nativeFocusableElement}get focused(){var t;return!!(null===(t=this.textfield)||void 0===t?void 0:t.focused)}get isNegativeAllowed(){return this.computedMin<0}get inputMode(){return this.isIOS&&this.isNegativeAllowed?"text":"never"===this.decimal?"numeric":"decimal"}get calculatedMaxLength(){return 18+("never"!==this.decimal&&this.nativeValue.includes(this.numberFormat.decimalSeparator)?Math.min(this.precision+1,20):0)+this.numberFormat.thousandSeparator.repeat(5).length}get formattedValue(){return null!==this.value?this.getFormattedValue(this.value||0):""}get computedValue(){return this.focused?this.nativeValue:this.formattedValue}get canDecrement(){return this.interactive&&(this.value||0)>this.computedMin}get canIncrement(){return this.interactive&&(this.value||0)this.computedMax||(this.value=e)}onFocused(t){this.updateFocused(t);const e=this.unfinishedValue?(0,ki.vZ)(this.unfinishedValue,this.numberFormat.decimalSeparator):this.nativeNumberValue;if(this.unfinishedValue=null,Number.isNaN(e))return this.nativeValue=t?this.computedPrefix+this.computedPostfix:"",void(this.value=null);t||(this.value=e,this.nativeValue=this.formattedValue)}getFormattedValue(t){const e=Math.abs(t)%1>0;let n="always"===this.decimal||e&&"never"!==this.decimal?this.precision:0;const i=e?Oi(t,this.precision):"";return this.focused&&"always"!==this.decimal&&(n=i.length),this.computedPrefix+function(t,e={}){const{decimalLimit:n,decimalSeparator:i,thousandSeparator:r,zeroPadding:o,rounding:s}=Object.assign(Object.assign({},On.Jl),e),a=Number.isFinite(n)?(0,nn.h0)({value:t,precision:n,method:s}):t,l=String(Math.floor(Math.abs(a)));let c=Oi(a,n);if(Number.isFinite(n))if(o){const t=Math.max(n-c.length,0);c=`${c}${"0".repeat(t)}`}else c=c.replace(/0*$/,"");const u=l.length%3;let h=(t<0?y.fv:"")+l.charAt(0);for(let d=1;d3&&(h+=r),h+=l.charAt(d);return c?h+i+c:h}(t,Object.assign(Object.assign({},this.numberFormat),{decimalLimit:n})).replace(y.fv,y.em)+this.computedPostfix}get isNativeValueNotFinished(){const t=this.nativeNumberValue;return t<0?t>this.computedMax:t[s.length,t.length-a.length])]})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(vn.a5,10),i.Y36(i.sBO),i.Y36(Fi,8),i.Y36(zi),i.Y36(at.HO),i.Y36(N.FA),i.Y36(Dt.kI),i.Y36(Dt.Cs))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-input-number"]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,q.Li,5),2&t){let t;i.iGM(t=i.CRH())&&(e.polymorpheusValueContent=t)}},viewQuery:function(t,e){if(1&t&&i.Gf(Bt.yc,5),2&t){let t;i.iGM(t=i.CRH())&&(e.textfield=t.first)}},hostVars:1,hostBindings:function(t,e){1&t&&i.NdJ("keydown.arrowDown",function(){return e.onArrow(-e.step)})("keydown.arrowUp",function(){return e.onArrow(e.step)}),2&t&&i.uIk("data-size",e.size)},inputs:{min:"min",max:"max",decimal:"decimal",precision:"precision",step:"step",prefix:"prefix",postfix:"postfix"},features:[i._Bn([(0,N.FT)(t),(0,St.wB)(t),Dt.Y0]),i.qOj],ngContentSelectors:Li,decls:10,vars:14,consts:[["tuiTextfieldPostfix","","tuiTextfieldPrefix","","tuiValueAccessor","",1,"t-textfield",3,"disabled","focusable","invalid","maskito","pseudoActive","pseudoFocus","pseudoHover","readOnly","value","focusedChange","valueChange"],["textfield",""],["ngProjectAs","tuiContent","class","t-value-content",5,["tuiContent"],4,"ngIf"],["class","t-buttons",4,"ngIf"],[4,"ngIf"],["valueContent",""],["ngProjectAs","tuiContent",5,["tuiContent"],1,"t-value-content"],[4,"polymorpheusOutlet"],[1,"t-buttons"],["size","s","tuiIconButton","","type","button",1,"t-button",3,"appearance","disabled","focusable","icon","click.prevent","mousedown.prevent"]],template:function(t,e){1&t&&(i.F$t(Ni),i.TgZ(0,"tui-primitive-textfield",0,1),i.NdJ("focusedChange",function(t){return e.onFocused(t)})("valueChange",function(t){return e.onValueChange(t)}),i.Hsn(2),i.Hsn(3,1,["ngProjectAs","input",5,["input"]]),i.YNc(4,Ti,2,1,"div",2),i.qZA(),i.YNc(5,Ai,5,8,"section",3),i.YNc(6,Ii,1,0,"ng-container",4),i.ALo(7,"async"),i.YNc(8,Di,1,0,"ng-template",null,5,i.W1O)),2&t&&(i.Q6J("disabled",e.computedDisabled)("focusable",e.focusable)("invalid",e.computedInvalid)("maskito",e.mask)("pseudoActive",e.pseudoActive)("pseudoFocus",e.computedFocused)("pseudoHover",e.pseudoHover)("readOnly",e.readOnly)("value",e.computedValue),i.xp6(4),i.Q6J("ngIf",e.polymorpheusValueContent.length),i.xp6(1),i.Q6J("ngIf",e.step),i.xp6(1),i.Q6J("ngIf",i.lcZ(7,12,e.polymorpheusValueContent.changes)))},directives:[Bt.yc,Bt.B1,Dt.Tq,Dt.A7,Mi,Pi.ro,w.O5,q.Li,Tt.v0],pipes:[w.Ov],styles:["[_nghost-%COMP%]{display:flex;border-radius:var(--tui-radius-m);text-align:left}.t-textfield[_ngcontent-%COMP%]{flex:1;max-width:100%;border-radius:inherit;text-align:inherit}.t-textfield[_ngcontent-%COMP%]:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.t-value-content[_ngcontent-%COMP%]{width:100%}.t-buttons[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:stretch;margin-left:.125rem;border-radius:inherit}[data-size=s][_ngcontent-%COMP%] + .t-buttons[_ngcontent-%COMP%]{flex-direction:row-reverse}[data-size=s][_ngcontent-%COMP%] + .t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]:first-child{margin:0 0 0 .125rem;border-top-right-radius:inherit;border-bottom-right-radius:inherit}[data-size=s][_ngcontent-%COMP%] + .t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]:last-child{border-radius:0}[data-size=m][_ngcontent-%COMP%] + .t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]{width:calc(var(--tui-height-m) * .75)}[data-size=l][_ngcontent-%COMP%] + .t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]{width:calc(var(--tui-height-l) * .75)}.t-button[_ngcontent-%COMP%]{display:flex;flex:1;height:auto;border-radius:0}.t-button[_ngcontent-%COMP%]:first-child{margin-bottom:.125rem;border-top-right-radius:inherit}.t-button[_ngcontent-%COMP%]:last-child{border-bottom-right-radius:inherit}"],changeDetection:0}),(0,Ye.gn)([rn.UM],t.prototype,"computeMin",null),(0,Ye.gn)([rn.UM],t.prototype,"computeMax",null),(0,Ye.gn)([rn.UM],t.prototype,"calculateMask",null),t})(),ji=(()=>{class t extends sn.D1{get value(){return this.host.computedValue}onValueChange(t){this.host.onValueChange(t)}ngDoCheck(){!this.host.nativeFocusableElement||(this.host.nativeFocusableElement.inputMode=this.host.inputMode,this.host.nativeFocusableElement.maxLength=this.host.nativeFocusableElement.maxLength>0?this.host.nativeFocusableElement.maxLength:this.host.calculatedMaxLength)}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,selectors:[["tui-input-number"]],features:[i._Bn([(0,at.cp)(t)]),i.qOj]}),t})(),Bi=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,Pi.U5,Bt.KW,Dt.cn,Si,q.wq,Tt.fN]]}),t})();var Vi=n(86561);const $i=new i.OlP("MutationObserver config");let Yi=(()=>{class t extends we.y{constructor({nativeElement:t},e){super(n=>{const i=new MutationObserver(t=>{n.next(t)});return i.observe(t,e),()=>{i.disconnect()}})}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.SBq),i.LFG($i))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();var Zi=n(54487),qi=n(74235),Ui=n(68307);const Hi=["tuiTab",""];function Gi(t,e){1&t&&i.GkF(0)}const Ji=["*"];function Xi(t,e){1&t&&i.GkF(0)}function Qi(t,e){if(1&t&&i._UZ(0,"tui-underline",2),2&t){const t=i.oxw();i.Q6J("element",t.activeElement)}}function Wi(t,e){1&t&&i.GkF(0)}function Ki(t,e){if(1&t&&i.GkF(0,12),2&t){const t=i.oxw().$implicit;i.Q6J("ngTemplateOutlet",t)}}function tr(t,e){if(1&t&&(i.TgZ(0,"div"),i.GkF(1,12),i.qZA()),2&t){const t=i.oxw(),e=t.index,n=t.$implicit,r=i.oxw();i.ekj("t-overflown",r.isOverflown(e)),i.xp6(1),i.Q6J("ngTemplateOutlet",n)}}function er(t,e){if(1&t&&(i.ynx(0),i.YNc(1,Ki,1,1,"ng-container",10),i.YNc(2,tr,2,3,"ng-template",null,11,i.W1O),i.BQk()),2&t){const t=e.index,n=i.MAs(3),r=i.oxw();i.xp6(1),i.Q6J("ngIf",t<=r.lastVisibleIndex)("ngIfElse",n)}}function nr(t,e){if(1&t&&(i.ynx(0),i._uU(1),i.BQk()),2&t){const t=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",t," ")}}function ir(t,e){if(1&t&&(i._uU(0),i.ALo(1,"async"),i._UZ(2,"tui-svg",13)),2&t){const t=i.oxw();i.hij(" ",i.lcZ(1,4,t.moreWord$)," "),i.xp6(2),i.ekj("t-icon_rotated",t.open),i.Q6J("src",t.arrowOptions.iconSmall)}}function rr(t,e){if(1&t&&i.GkF(0,12),2&t){const t=i.oxw().$implicit;i.Q6J("ngTemplateOutlet",t)}}function or(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"div",17),i.NdJ("tui-tab-activate",function(){const e=i.CHM(t).index;return i.oxw(2).onClick(e)}),i.YNc(1,rr,1,1,"ng-container",18),i.qZA()}if(2&t){const t=e.index,n=i.oxw(2);i.xp6(1),i.Q6J("ngIf",n.shouldShow(t))}}function sr(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"div",14,15),i.NdJ("keydown.arrowDown.prevent",function(e){i.CHM(t);const n=i.MAs(1);return i.oxw().onWrapperArrow(e,n,!1)})("keydown.arrowUp.prevent",function(e){i.CHM(t);const n=i.MAs(1);return i.oxw().onWrapperArrow(e,n,!0)}),i.YNc(2,or,2,1,"div",16),i.qZA()}if(2&t){const t=i.oxw();i.xp6(2),i.Q6J("ngForOf",t.items)}}function ar(t,e){if(1&t&&i._UZ(0,"tui-underline",19),2&t){const t=i.oxw();i.Q6J("element",t.activeElement)}}const lr=new i.OlP("[TUI_TAB_EVENT]"),cr=[D.a3,D.ku,st.Ok,{provide:lr,deps:[i.SBq,st.Ok,[new i.FiY,Yi],[new i.FiY,Vi.Od]],useFactory:({nativeElement:t},e,n,i)=>{const r=i&&n?n.pipe((0,f.h)(()=>i.isActive)):be.E;return(0,c.T)(r,e.pipe((0,f.h)(Zi.y)),t.matches("button")?(0,ye.mL)(t,"click"):be.E).pipe((0,h.U)(()=>t.dispatchEvent(new CustomEvent("tui-tab-activate",{bubbles:!0}))))}},li.CV];let ur=(()=>{class t{constructor(t,e,n,i,r,o){this.routerLinkActive=t,this.el=e,this.mode$=n,this.event$=i,this.margin=r,this.focusVisible=!1,o.subscribe(t=>{this.focusVisible=t})}get isActive(){return!!this.routerLinkActive&&this.routerLinkActive.isActive}ngOnDestroy(){(0,V.V8)(this.el.nativeElement)&&this.el.nativeElement.blur()}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(Vi.Od,8),i.Y36(i.SBq),i.Y36(at.Au),i.Y36(lr),i.Y36(an.WO),i.Y36(D.ku))},t.\u0275cmp=i.Xpm({type:t,selectors:[["a","tuiTab","",3,"routerLink",""],["a","tuiTab","","routerLink","","routerLinkActive",""],["button","tuiTab",""]],hostAttrs:["type","button"],hostVars:8,hostBindings:function(t,e){1&t&&i.NdJ("$.data-mode.attr",function(){return e.mode$}),2&t&&(i.Udp("cursor","pointer")("--tui-tab-margin",e.margin,"px"),i.ekj("_focus-visible",e.focusVisible)("_active",e.isActive))},features:[i._Bn(cr)],attrs:Hi,ngContentSelectors:Ji,decls:4,vars:3,consts:[[4,"ngIf"],[1,"t-highlight"]],template:function(t,e){1&t&&(i.F$t(),i.YNc(0,Gi,1,0,"ng-container",0),i.ALo(1,"async"),i.TgZ(2,"span",1),i.Hsn(3),i.qZA()),2&t&&i.Q6J("ngIf",i.lcZ(1,1,e.event$))},directives:[w.O5],pipes:[w.Ov],styles:['._underline[_nghost-%COMP%]:hover, ._underline [_nghost-%COMP%]:hover{box-shadow:inset 0 -2px var(--tui-base-03)}tui-tabs > [_nghost-%COMP%]:first-child, tui-tabs > [_nghost-%COMP%]:first-child, [tuiTabs] > [_nghost-%COMP%]:first-child, [tuiTabs] > [_nghost-%COMP%]:first-child, tui-tabs > :first-child[_nghost-%COMP%], tui-tabs > :first-child [_nghost-%COMP%], [tuiTabs] > :first-child[_nghost-%COMP%], [tuiTabs] > :first-child [_nghost-%COMP%]{margin-left:0}[_nghost-%COMP%]{transition-property:color,box-shadow,opacity,background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;position:relative;display:flex;flex-shrink:0;height:100%;box-sizing:border-box;justify-content:space-between;align-items:center;white-space:nowrap;cursor:pointer;outline:none;color:inherit;margin-left:var(--tui-tab-margin, 1.5rem)}[_nghost-%COMP%]:disabled{opacity:var(--tui-disabled-opacity);pointer-events:none}[_nghost-%COMP%]:not([data-mode])._active{opacity:1;color:var(--tui-text-01);box-shadow:none}[data-mode=onDark][_nghost-%COMP%]{color:#ffffffb8}[data-mode=onDark][_nghost-%COMP%]:hover, [data-mode=onDark]._active[_nghost-%COMP%]{color:#fff}[data-mode=onDark]._focus-visible[_nghost-%COMP%] .t-highlight[_ngcontent-%COMP%]{background:var(--tui-clear-inverse);color:var(--tui-text-01)}[data-mode=onLight][_nghost-%COMP%]{color:var(--tui-text-02)}[data-mode=onLight][_nghost-%COMP%]:hover, [data-mode=onLight]._active[_nghost-%COMP%]{color:var(--tui-text-01)}[data-mode=onLight]._focus-visible[_nghost-%COMP%] .t-highlight[_ngcontent-%COMP%]{background:var(--tui-text-01);color:#fff}._focus-visible[_nghost-%COMP%] .t-highlight[_ngcontent-%COMP%]{background:var(--tui-selection)}._android[_nghost-%COMP%]{transition-property:opacity;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;height:3rem;flex:1;flex-shrink:0;justify-content:center;margin:0;text-transform:uppercase;color:var(--tui-base-09);opacity:.5;font-size:.875rem;font-weight:500;letter-spacing:-.008125rem;font-family:-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif}._android[_nghost-%COMP%]:hover{box-shadow:none}._android._active[_nghost-%COMP%]{opacity:1;color:var(--tui-base-09)}._android[_nghost-%COMP%] .t-highlight[_ngcontent-%COMP%]{width:auto}._ios[_nghost-%COMP%]{height:1.75rem;flex:1;flex-shrink:0;justify-content:center;margin:0;color:var(--tui-base-01);opacity:1;font-size:.8125rem;font-weight:500;letter-spacing:-.005rem;font-family:-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif}._ios[_nghost-%COMP%]:hover{box-shadow:none}._ios._active[_nghost-%COMP%]{font-size:.875rem;font-weight:600;color:var(--tui-link)}._ios[_nghost-%COMP%] .t-highlight[_ngcontent-%COMP%]{width:auto}@media (hover: hover){[_nghost-%COMP%]:hover{color:var(--tui-text-01)}}.t-highlight[_ngcontent-%COMP%]{display:inline-flex;width:100%;align-items:center;justify-content:inherit}.t-highlight[_ngcontent-%COMP%] >*{flex-shrink:0}tui-tabs[data-vertical][_nghost-%COMP%], tui-tabs[data-vertical] [_nghost-%COMP%], [tuiTabs][data-vertical][_nghost-%COMP%], [tuiTabs][data-vertical] [_nghost-%COMP%]{min-height:2.75rem;height:auto;white-space:normal;margin:0;text-align:left;padding:.25rem 1.25rem .25rem 0}tui-tabs[data-vertical][_nghost-%COMP%]:after, tui-tabs[data-vertical] [_nghost-%COMP%]:after, [tuiTabs][data-vertical][_nghost-%COMP%]:after, [tuiTabs][data-vertical] [_nghost-%COMP%]:after{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:"";position:absolute;top:0;bottom:0;right:0;width:2px;background:var(--tui-primary);transform:scaleX(0);transform-origin:right}tui-tabs[data-vertical][_nghost-%COMP%]:hover, tui-tabs[data-vertical] [_nghost-%COMP%]:hover, [tuiTabs][data-vertical][_nghost-%COMP%]:hover, [tuiTabs][data-vertical] [_nghost-%COMP%]:hover{box-shadow:inset -2px 0 var(--tui-base-03)}tui-tabs[data-vertical]._active[_nghost-%COMP%]:after, tui-tabs[data-vertical] ._active[_nghost-%COMP%]:after, [tuiTabs][data-vertical]._active[_nghost-%COMP%]:after, [tuiTabs][data-vertical] ._active[_nghost-%COMP%]:after{transform:none}tui-tabs[data-vertical="right"][_nghost-%COMP%], tui-tabs[data-vertical="right"] [_nghost-%COMP%], [tuiTabs][data-vertical="right"][_nghost-%COMP%], [tuiTabs][data-vertical="right"] [_nghost-%COMP%]{text-align:right;padding:.25rem 0 .25rem 1.25rem}tui-tabs[data-vertical="right"][_nghost-%COMP%]:after, tui-tabs[data-vertical="right"] [_nghost-%COMP%]:after, [tuiTabs][data-vertical="right"][_nghost-%COMP%]:after, [tuiTabs][data-vertical="right"] [_nghost-%COMP%]:after{right:auto;left:0;transform-origin:left}tui-tabs[data-vertical="right"][_nghost-%COMP%]:hover, tui-tabs[data-vertical="right"] [_nghost-%COMP%]:hover, [tuiTabs][data-vertical="right"][_nghost-%COMP%]:hover, [tuiTabs][data-vertical="right"] [_nghost-%COMP%]:hover{box-shadow:inset 2px 0 var(--tui-base-03)}'],changeDetection:0}),t})(),hr=(()=>{class t{constructor(t){this.el=t,this.activeItemIndex=0,this.activeItemIndexChange=new i.vpe}get tabs(){return Array.from(this.el.nativeElement.querySelectorAll("[tuiTab]"))}get activeElement(){return this.tabs[this.activeItemIndex]||null}onActivate(t,e){const n=this.tabs.findIndex(t=>t===e);t.stopPropagation(),n!==this.activeItemIndex&&(this.activeItemIndexChange.emit(n),this.activeItemIndex=n)}moveFocus(t,e){const{tabs:n}=this;(0,V.VR)(n.indexOf(t),n,e)}ngAfterViewChecked(){const{tabs:t,activeElement:e}=this;t.forEach(t=>{const n=t===e;t.classList.toggle("_active",n),t.setAttribute("tabIndex",n?"0":"-1")})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq))},t.\u0275dir=i.lG2({type:t,selectors:[["tui-tabs"],["nav","tuiTabs",""]],hostBindings:function(t,e){1&t&&i.NdJ("tui-tab-activate",function(t){return e.onActivate(t,t.target)})},inputs:{activeItemIndex:"activeItemIndex"},outputs:{activeItemIndexChange:"activeItemIndexChange"}}),t})();const dr=(0,L.JN)({underline:!0,exposeActive:!0,itemsLimit:1/0,minMoreWidth:0});let pr=(()=>{class t{constructor({nativeElement:t},e,n,i){this.zone=e,this.animationFrame$=n,this.mode$=i,this.el$=new qi.t(1),this.refresh$=this.el$.pipe((0,u.w)(t=>t?this.animationFrame$.pipe((0,h.U)(()=>t),(0,ye.fL)(this.zone)):(0,z.of)(null)),(0,_.B)()),this.transition$=(0,wt.Gt)(this.el$.pipe((0,h.U)(t=>t&&"all"),(0,lt.b)(50))),this.transform$=(0,wt.Gt)(this.refresh$.pipe((0,h.U)(t=>t?`translate3d(${t.offsetLeft}px, 0, 0)`:null))),this.width$=(0,wt.Gt)(this.refresh$.pipe((0,h.U)(t=>(null==t?void 0:t.clientWidth)||0))),t["$.style.transitionProperty"]=this.transition$,t["$.style.transform"]=this.transform$,t["$.style.width.px"]=this.width$}set element(t){this.el$.next(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(I.L1),i.Y36(at.Au))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-underline"]],hostBindings:function(t,e){1&t&&i.NdJ("$.data-mode.attr",function(){return e.mode$})("$.style.transitionProperty",function(){return e.transition$()})("$.style.transform",function(){return e.transform$()})("$.style.width.px",function(){return e.width$()})},inputs:{element:"element"},features:[i._Bn([li.CV])],decls:0,vars:0,template:function(t,e){},styles:["[_nghost-%COMP%]{transition-property:none;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;left:0;height:100%;color:var(--tui-primary);transform:scale(0);box-shadow:inset 0 -.1875rem 0 -.0625rem;pointer-events:none}[data-mode=onDark][_nghost-%COMP%]{color:var(--tui-text-01-night)}[data-mode=onLight][_nghost-%COMP%]{color:var(--tui-text-02)}"],changeDetection:0}),t})(),fr=(()=>{class t{constructor(t,e,n,i,r){this.options=t,this.el=e,this.tabs=n,this.children=y.Mm,this.underline=this.options.underline,r.pipe((0,f.h)(()=>this.underline)).subscribe(()=>{i.detectChanges()})}get activeItemIndex(){return this.tabs.activeItemIndex}set activeItemIndex(t){this.tabs.activeItemIndex=t}get activeElement(){return this.tabs.activeElement}onKeyDownArrow(t,e){this.tabs.moveFocus(t,e)}ngAfterViewChecked(){this.scrollTo(this.tabs.activeItemIndex)}scrollTo(t){const e=this.tabs.tabs[t];if(!e)return;const{offsetLeft:n,offsetWidth:i}=e,{nativeElement:r}=this.el;nr.scrollLeft+r.offsetWidth&&(r.scrollLeft=n+i-r.offsetWidth)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(dr),i.Y36(i.SBq),i.Y36(hr),i.Y36(i.sBO),i.Y36(D.tl))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-tabs",3,"vertical",""],["nav","tuiTabs","",3,"vertical",""]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,ur,4),2&t){let t;i.iGM(t=i.CRH())&&(e.children=t)}},hostVars:2,hostBindings:function(t,e){1&t&&i.NdJ("keydown.arrowRight.prevent",function(t){return e.onKeyDownArrow(t.target,1)})("keydown.arrowLeft.prevent",function(t){return e.onKeyDownArrow(t.target,-1)}),2&t&&i.ekj("_underline",e.underline)},inputs:{underline:"underline"},features:[i._Bn([D.a3,D.tl,Yi,{provide:$i,useValue:{childList:!0}}])],ngContentSelectors:Ji,decls:4,vars:4,consts:[[4,"ngIf"],["class","t-underline",3,"element",4,"ngIf"],[1,"t-underline",3,"element"]],template:function(t,e){1&t&&(i.F$t(),i.YNc(0,Xi,1,0,"ng-container",0),i.ALo(1,"async"),i.Hsn(2),i.YNc(3,Qi,1,1,"tui-underline",1)),2&t&&(i.Q6J("ngIf",i.lcZ(1,2,e.children.changes)),i.xp6(3),i.Q6J("ngIf",e.underline))},directives:[w.O5,pr],pipes:[w.Ov],styles:["[_nghost-%COMP%]{scrollbar-width:none;-ms-overflow-style:none;position:relative;display:flex;font:var(--tui-font-text-m);height:var(--tui-height-l);color:var(--tui-text-02);box-shadow:inset 0 -1px var(--tui-base-03);overflow:auto;isolation:isolate}[_nghost-%COMP%]::-webkit-scrollbar, [_nghost-%COMP%]::-webkit-scrollbar-thumb{background:transparent;width:0;height:0}.t-underline[_ngcontent-%COMP%]{z-index:-1}"],changeDetection:0}),(0,Ye.gn)([rn.UM],t.prototype,"scrollTo",null),t})();const gr=new i.OlP("[TUI_TABS_REFRESH]"),mr=[D.tl,D.a3,Yi,(0,jt.fx)({align:"right"}),{provide:$i,useValue:{childList:!0,subtree:!0,characterData:!0}},{provide:gr,deps:[D.tl,Yi,D.a3,w.K0,i.SBq,i.sBO],useFactory:(t,e,n,{body:i},{nativeElement:r},o)=>(0,c.T)(t,e.pipe((0,Ui.b)(()=>o.detectChanges()))).pipe((0,f.h)(()=>i.contains(r)),(0,lt.b)(0),(0,d.O)(null),(0,p.R)(n))}];let vr=(()=>{class t{constructor(t,e,n,r,o,s,a){this.options=t,this.margin=e,this.refresh$=n,this.el=r,this.cdr=o,this.moreWord$=s,this.arrowOptions=a,this.maxIndex=1/0,this.underline=this.options.underline,this.itemsLimit=this.options.itemsLimit,this.activeItemIndexChange=new i.vpe,this.items=y.Mm,this.activeItemIndex=0,this.open=!1}set itemIndex(t){this.activeItemIndex=t,this.maxIndex=this.getMaxIndex()}get tabs(){return Array.from(this.el.nativeElement.querySelectorAll("[tuiTab]"))}get activeElement(){var t;const{tabs:e}=this,n=(0,nn.Ki)(this.activeItemIndex||0,0,e.length-2);return this.options.exposeActive||this.lastVisibleIndex>=n?e[n]||null:(null===(t=this.moreButton)||void 0===t?void 0:t.nativeElement)||null}get isMoreAlone(){return this.lastVisibleIndex<0&&!this.options.exposeActive}get isMoreVisible(){return this.lastVisibleIndex=this.items.length?this.maxIndex:Math.min(this.itemsLimit-(this.itemsLimit-1>this.activeItemIndex||!this.options.exposeActive?1:2),this.maxIndex)}ngAfterViewInit(){this.refresh$.pipe((0,h.U)(()=>this.getMaxIndex()),(0,f.h)(t=>this.maxIndex!==t)).subscribe(t=>{this.maxIndex=t,this.cdr.detectChanges()})}onActiveItemIndexChange(t){this.updateActiveItemIndex(t)}onClick(t){this.open=!1,this.focusMore(),this.updateActiveItemIndex(t)}onArrowRight(t){(0,B.ve)(t.target)&&(0,V.V8)(t.target)&&this.focusMore()}onArrowLeft(){const{tabs:t}=this;let e=t.length-2;for(;e>=0;){if(t[e].focus(),(0,V.V8)(t[e]))return;e--}}onWrapperArrow(t,e,n){const i=(0,V.BW)({initial:t.target,root:e,previous:n});i&&i.focus()}isOverflown(t){return t!==this.activeItemIndex||!this.options.exposeActive}shouldShow(t){return t>this.lastVisibleIndex&&this.isOverflown(t)}focusMore(){this.moreButton&&this.moreButton.nativeElement.focus()}getMaxIndex(){const{tabs:t,activeItemIndex:e,margin:n}=this;if(t.length<2)return 0;const{exposeActive:i,minMoreWidth:r}=this.options,{clientWidth:o}=this.el.nativeElement,s=t[e]?t[e].scrollWidth:0,a=Math.max(t[t.length-1].scrollWidth,r);let l=t.length-2,c=t.reduce((t,{scrollWidth:e})=>t+e,0)+l*n-t[t.length-1].scrollWidth;if(c<=o)return 1/0;for(;l;)if(c-=t[l].scrollWidth+n,l--,c+(i&&e>l?s+n:0)+a+n+(0,nn.HW)(this.maxIndex===l-1){class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,q.wq,ze.jh,Rt.EI,Jn.u,We]]}),t})();var yr=n(59328);const br=["focusableElement"];function wr(t,e){if(1&t&&i._UZ(0,"tui-svg",9),2&t){const t=e.polymorpheusOutlet,n=i.oxw(2);i.ekj("t-icon_open",n.open),i.Q6J("src",t)}}function Cr(t,e){if(1&t&&(i.ynx(0),i.YNc(1,wr,1,3,"tui-svg",8),i.BQk()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",t.options.iconLarge)}}function xr(t,e){if(1&t&&(i.ynx(0),i._uU(1),i.BQk()),2&t){const t=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",t," ")}}function kr(t,e){if(1&t&&(i.TgZ(0,"div",11),i.YNc(1,xr,2,1,"ng-container",12),i.qZA()),2&t){const t=i.oxw(2);i.xp6(1),i.Q6J("polymorpheusOutlet",t.lazyContent)}}function Or(t,e){if(1&t&&i.YNc(0,kr,2,1,"div",10),2&t){const t=i.oxw();i.Q6J("ngIf",t.lazyContent)}}function Mr(t,e){1&t&&(i.TgZ(0,"div",13),i.Hsn(1,1),i.qZA())}const Sr=["*",[["","tuiAccordionItemContent",""]]],Pr=["*","[tuiAccordionItemContent]"],Er=[[["tui-accordion-item"]]],Tr=["tui-accordion-item"];let Ar=(()=>{class t extends q.GL{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.Rgc,2),i.Y36(i.sBO))},t.\u0275dir=i.lG2({type:t,selectors:[["ng-template","tuiAccordionItemContent",""]],features:[i.qOj]}),t})(),Ir=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiAccordionItemContent","",5,"ng-template"]]}),t})(),Dr=(()=>{class t extends St.Xn{constructor(t,e,n){super(),this.cdr=t,this.mode$=e,this.options=n,this.noPadding=!1,this.showArrow=!0,this.borders="all",this.size="m",this.disabled=!1,this.disableHover=!1,this.open=!1,this.async=!1,this.openChange=new i.vpe}get nativeFocusableElement(){return this.disabled||!this.focusableElement?null:this.focusableElement.nativeElement}get focused(){return(0,V.V8)(this.nativeFocusableElement)}onFocused(t){this.updateFocused(t)}onFocusVisible(t){this.updateFocusVisible(t)}onRowToggle(){this.disabled||this.updateOpen(!this.open)}onItemKeyDownEsc(t){!this.open||(t.stopPropagation(),this.updateOpen(!1))}close(){this.updateOpen(!1),this.cdr.markForCheck()}updateOpen(t){this.open!==t&&(this.open=t,this.openChange.emit(t))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.sBO),i.Y36(at.Au),i.Y36(wn))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-accordion-item"]],contentQueries:function(t,e,n){if(1&t&&(i.Suo(n,Ir,5),i.Suo(n,Ar,5)),2&t){let t;i.iGM(t=i.CRH())&&(e.eagerContent=t.first),i.iGM(t=i.CRH())&&(e.lazyContent=t.first)}},viewQuery:function(t,e){if(1&t&&i.Gf(br,5),2&t){let t;i.iGM(t=i.CRH())&&(e.focusableElement=t.first)}},hostVars:8,hostBindings:function(t,e){1&t&&i.NdJ("$.data-mode.attr",function(){return e.mode$}),2&t&&(i.uIk("data-borders",e.borders)("data-size",e.size),i.ekj("_no-padding",e.noPadding)("_has-arrow",e.showArrow)("_disabled",e.disabled))},inputs:{noPadding:"noPadding",showArrow:"showArrow",borders:"borders",size:"size",disabled:"disabled",disableHover:"disableHover",open:"open",async:"async"},outputs:{openChange:"openChange"},features:[i._Bn([(0,N.FT)(t),li.CV]),i.qOj],ngContentSelectors:Pr,decls:9,vars:10,consts:[["automation-id","tui-accordion__item-wrapper",1,"t-wrapper"],["automation-id","tui-accordion__item-header","type","button",1,"t-header",3,"disabled","tuiFocusable","click","keydown.esc","tuiFocusedChange","tuiFocusVisibleChange"],["focusableElement",""],["automation-id","tui-accordion__item-title",1,"t-title"],[4,"ngIf"],[3,"async","expanded"],["tuiExpandContent",""],["class","t-content",4,"ngIf"],["automation-id","tui-accordion__item-arrow","class","t-icon",3,"t-icon_open","src",4,"polymorpheusOutlet"],["automation-id","tui-accordion__item-arrow",1,"t-icon",3,"src"],["automation-id","tui-accordion__item-content","class","t-content",4,"ngIf"],["automation-id","tui-accordion__item-content",1,"t-content"],[4,"polymorpheusOutlet"],[1,"t-content"]],template:function(t,e){1&t&&(i.F$t(Sr),i.TgZ(0,"div",0),i.TgZ(1,"button",1,2),i.NdJ("click",function(){return e.onRowToggle()})("keydown.esc",function(t){return e.onItemKeyDownEsc(t)})("tuiFocusedChange",function(t){return e.onFocused(t)})("tuiFocusVisibleChange",function(t){return e.onFocusVisible(t)}),i.TgZ(3,"span",3),i.Hsn(4),i.qZA(),i.YNc(5,Cr,2,1,"ng-container",4),i.qZA(),i.TgZ(6,"tui-expand",5),i.YNc(7,Or,1,1,"ng-template",6),i.YNc(8,Mr,2,0,"div",7),i.qZA(),i.qZA()),2&t&&(i.xp6(1),i.ekj("t-header_hoverable",!e.disableHover)("t-header_open",e.open),i.Q6J("disabled",e.computedDisabled)("tuiFocusable",e.computedFocusable),i.xp6(4),i.Q6J("ngIf",e.showArrow),i.xp6(1),i.Q6J("async",e.async)("expanded",e.open),i.xp6(2),i.Q6J("ngIf",e.eagerContent))},directives:[Jn.t,Xn.U,Qn.q,w.O5,S,M,q.Li,Rt.PN],styles:['[_nghost-%COMP%]{position:relative;display:block;overflow:hidden;border-radius:var(--tui-radius-l)}[data-borders=top-bottom][_nghost-%COMP%]{border-radius:0!important}.t-wrapper[_ngcontent-%COMP%]{position:relative;border-radius:inherit}.t-wrapper[_ngcontent-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%;content:"";box-sizing:border-box;border-radius:inherit;border:1px solid var(--tui-base-04);pointer-events:none}[_nghost-%COMP%]:not([data-borders]) .t-wrapper[_ngcontent-%COMP%]:after{border-width:0}[data-borders=all][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border-width:1px}[data-borders=top-bottom][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border-left-width:0;border-right-width:0}[data-borders=top][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border-left-width:0;border-right-width:0;border-bottom-width:0}[data-borders=bottom][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border-left-width:0;border-right-width:0;border-top-width:0}[data-mode=onDark][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border-color:var(--tui-base-03)}[data-mode=onLight][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border-color:var(--tui-text-01)}._focus-visible[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border:2px solid var(--tui-focus)}[_nghost-%COMP%]:not([data-mode]) .t-wrapper[_ngcontent-%COMP%]{background:var(--tui-base-01)}.t-header[_ngcontent-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:flex;width:100%;font:var(--tui-font-text-l);align-items:center;box-sizing:border-box;border-bottom:1px solid var(--tui-base-04);min-height:var(--tui-height-l);padding:.75rem 1.25rem;color:var(--tui-text-01);cursor:pointer;text-align:left;outline:none}[data-mode=onDark][_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{color:var(--tui-text-01-night);border-color:var(--tui-base-03)}[data-mode=onLight][_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{border-color:var(--tui-text-01)}[_nghost-%COMP%]:not([data-borders]) .t-header[_ngcontent-%COMP%]{border-bottom-width:0;box-shadow:none}._has-arrow[_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{padding-right:.75rem}[data-mode=onDark][_nghost-%COMP%] .t-header_open[_ngcontent-%COMP%]{background:var(--tui-clear-inverse)}[data-mode=onLight][_nghost-%COMP%] .t-header_open[_ngcontent-%COMP%]{background:var(--tui-clear)}[data-size=s][_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{font:var(--tui-font-text-m);min-height:var(--tui-height-m);padding:.625rem .75rem .625rem 1rem}._no-padding[_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{padding-left:0;padding-right:0}._disabled[_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{cursor:default}.t-wrapper[_ngcontent-%COMP%]:hover:not([data-mode]) > .t-header_hoverable[_ngcontent-%COMP%]{background:var(--tui-base-02)}.t-wrapper[_ngcontent-%COMP%]:hover[data-mode=onDark] > .t-header_hoverable[_ngcontent-%COMP%]{background:var(--tui-clear-inverse)}.t-wrapper[_ngcontent-%COMP%]:hover[data-mode=onLight] > .t-header_hoverable[_ngcontent-%COMP%]{background:var(--tui-clear)}.t-title[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-right:0;flex-grow:1}._has-arrow[_nghost-%COMP%] .t-title[_ngcontent-%COMP%]{margin-right:.5rem}.t-icon[_ngcontent-%COMP%]{transition-property:transform,color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:1.5rem;height:1.5rem;margin-left:auto;color:var(--tui-base-06)}.t-icon_open[_ngcontent-%COMP%]{transform:rotate(180deg)}[data-mode][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{opacity:var(--tui-disabled-opacity)}[_nghost-%COMP%]:hover[data-mode] .t-icon[_ngcontent-%COMP%]{opacity:.8}[data-mode=onDark][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{color:var(--tui-text-01-night)}[data-mode=onLight][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{color:var(--tui-text-01)}[_nghost-%COMP%]:hover:not([data-mode]) .t-icon[_ngcontent-%COMP%]{color:var(--tui-base-07)}.t-content[_ngcontent-%COMP%]{font:var(--tui-font-text-m);padding:1.25rem;word-wrap:break-word}[data-size=s][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{font:var(--tui-font-text-s);padding:1rem}'],changeDetection:0}),t})(),Nr=(()=>{class t{constructor(t){this.destroy$=t,this.closeOthers=!0,this.rounded=!0,this.accordionItems=y.Mm}ngAfterContentInit(){const{accordionItems:t}=this,e=(0,ye.ll)(t),n=e.pipe((0,yr.G)(),(0,h.U)(([t,e])=>e.find(e=>!t.includes(e)&&e.open)),(0,f.h)(L.Pc));(0,c.T)(e.pipe((0,u.w)(t=>(0,c.T)(...t.map(t=>t.openChange.pipe((0,f.h)(Zi.y),(0,h.U)(()=>t)))))),n).pipe((0,f.h)(()=>this.closeOthers),(0,p.R)(this.destroy$)).subscribe(e=>{t.forEach(t=>{e!==t&&t.close()})})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(D.a3,2))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-accordion"]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,Dr,4),2&t){let t;i.iGM(t=i.CRH())&&(e.accordionItems=t)}},inputs:{closeOthers:"closeOthers",rounded:"rounded"},features:[i._Bn([D.a3])],ngContentSelectors:Tr,decls:2,vars:2,consts:[["automation-id","tui-accordion__group","orientation","vertical","size","l","tuiGroup","",1,"t-group",3,"collapsed","rounded"]],template:function(t,e){1&t&&(i.F$t(Er),i.TgZ(0,"div",0),i.Hsn(1),i.qZA()),2&t&&i.Q6J("collapsed",!0)("rounded",e.rounded)},directives:[Ft.gZ],styles:["[_nghost-%COMP%]{display:block}.t-group[_ngcontent-%COMP%]{display:flex}"],changeDetection:0}),t})(),Lr=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,Xn.F,Qn.c,Jn.u,q.wq,Rt.EI,Ft.n6,P]]}),t})();const zr=["input"];function Fr(t,e){if(1&t&&(i.ynx(0),i._uU(1),i.BQk()),2&t){const t=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",t," ")}}function Rr(t,e){if(1&t&&(i.TgZ(0,"div",6),i.YNc(1,Fr,2,1,"ng-container",7),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",t.leftContent)}}function jr(t,e){if(1&t&&i._UZ(0,"tui-loader",8),2&t){const t=i.oxw();i.Q6J("inheritColor",!0)("size",t.loaderSize)}}function Br(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"tui-svg",9),i.NdJ("click",function(e){return i.CHM(t),i.oxw().remove(e)})("mousedown.stop.prevent.silent",function(){return 0}),i.qZA()}if(2&t){const t=i.oxw();i.Q6J("src",t.icons.close)}}function Vr(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"input",10,11),i.NdJ("blur",function(){return i.CHM(t),i.oxw().onBlur()})("keydown",function(e){return i.CHM(t),i.oxw().onKeyDown(e)})("ngModelChange",function(e){return i.CHM(t),i.oxw().onInput(e)}),i.qZA()}if(2&t){const t=i.oxw();i.Q6J("ngModel",t.editedText),i.uIk("maxLength",t.maxLength)}}const $r=(0,L.JN)({size:"m",status:"default",autoColor:!1});let Yr=(()=>{class t{constructor(t,e,n,r){this.el=t,this.mode$=e,this.options=n,this.icons=r,this.value="",this.editable=!1,this.separator=",",this.maxLength=null,this.size=this.options.size,this.showLoader=!1,this.status=this.options.status,this.hoverable=!1,this.removable=!1,this.disabled=!1,this.autoColor=this.options.autoColor,this.edited=new i.vpe,this.editing=!1,this.editedText=null}set input(t){t&&t.nativeElement.focus()}get backgroundColor(){return this.autoColor?function(t){if(""===t)return"";let e=0;for(let n=0;n1?this.save(String(e)):this.editedText=t}onKeyDown(t){switch(t.stopPropagation(),t.key.toLowerCase()){case"enter":t.preventDefault(),this.save(this.editedText||"");break;case"escape":case"esc":t.preventDefault(),this.stopEditing(),this.el.nativeElement.focus()}}onBlur(){null!==this.editedText&&this.save(this.editedText)}get canEdit(){return this.editable&&!this.disabled&&!this.showLoader}stopEditing(){this.editing=!1,this.editedText=null}save(t){this.stopEditing(),this.edited.emit(t.trim())}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(at.Au),i.Y36($r),i.Y36(at.Gs))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-tag"],["a","tuiTag",""],["button","tuiTag",""]],viewQuery:function(t,e){if(1&t&&i.Gf(zr,5,i.SBq),2&t){let t;i.iGM(t=i.CRH())&&(e.input=t.first)}},hostVars:10,hostBindings:function(t,e){1&t&&i.NdJ("$.data-mode.attr",function(){return e.mode$})("keydown.enter",function(t){return e.edit(t)})("keydown.delete",function(t){return e.remove(t)})("keydown.backspace",function(t){return e.remove(t)}),2&t&&(i.uIk("data-size",e.size)("data-status",e.status),i.ekj("_hoverable",e.hoverable)("_disabled",e.disabled)("_autocolor",e.autoColor)("_editing",e.editing))},inputs:{value:"value",editable:"editable",separator:"separator",maxLength:"maxLength",size:"size",showLoader:"showLoader",status:"status",hoverable:"hoverable",removable:"removable",disabled:"disabled",autoColor:"autoColor",leftContent:"leftContent"},outputs:{edited:"edited"},features:[i._Bn([li.CV])],decls:6,vars:7,consts:[[1,"t-tag",3,"dblclick"],["class","t-content",4,"ngIf"],["automation-id","tui-tag__text",1,"t-text",3,"textContent"],["class","t-content",3,"inheritColor","size",4,"ngIf"],["automation-id","tui-tag__remove","class","t-icon",3,"src","click","mousedown.stop.prevent.silent",4,"ngIf"],["automation-id","tui-tag__edit","type","text","class","t-edit",3,"ngModel","blur","keydown","ngModelChange",4,"ngIf"],[1,"t-content"],[4,"polymorpheusOutlet"],[1,"t-content",3,"inheritColor","size"],["automation-id","tui-tag__remove",1,"t-icon",3,"src","click","mousedown.stop.prevent.silent"],["automation-id","tui-tag__edit","type","text",1,"t-edit",3,"ngModel","blur","keydown","ngModelChange"],["input",""]],template:function(t,e){1&t&&(i.TgZ(0,"div",0),i.NdJ("dblclick",function(t){return e.edit(t)}),i.YNc(1,Rr,2,1,"div",1),i._UZ(2,"span",2),i.YNc(3,jr,1,2,"tui-loader",3),i.YNc(4,Br,1,1,"tui-svg",4),i.qZA(),i.YNc(5,Vr,2,2,"input",5)),2&t&&(i.Udp("background-color",e.backgroundColor),i.xp6(1),i.Q6J("ngIf",e.leftContent),i.xp6(1),i.Q6J("textContent",e.displayText),i.xp6(1),i.Q6J("ngIf",e.showLoader),i.xp6(1),i.Q6J("ngIf",e.canRemove),i.xp6(1),i.Q6J("ngIf",e.editing))},directives:[w.O5,q.Li,b.kM,Rt.PN,vn.Fj,vn.JJ,vn.On],styles:['[_nghost-%COMP%]{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:relative;display:inline-block;font:var(--tui-font-text-s);line-height:1.25rem;max-width:100%;cursor:default;outline:none;text-decoration:none;padding:0;border:0}[_nghost-%COMP%]:after{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;top:0;left:0;width:100%;height:100%;content:"";box-sizing:border-box;border-radius:inherit;pointer-events:none}._hoverable[_nghost-%COMP%]:hover[data-status=custom]:after, ._hoverable[_nghost-%COMP%]:active[data-status=custom]:after{background-color:var(--tui-clear)}[_nghost-%COMP%]:focus:after{border:2px solid var(--tui-focus)}[data-size=s][_nghost-%COMP%]{font:var(--tui-font-text-xs);line-height:1.25rem;border-radius:var(--tui-radius-xs)}[data-size=m][_nghost-%COMP%]{border-radius:var(--tui-radius-xs)}[data-size=l][_nghost-%COMP%]{border-radius:var(--tui-radius-s)}[data-status=primary][_nghost-%COMP%]{background-color:var(--tui-primary);color:var(--tui-primary-text)}[data-status=primary]._hoverable[_nghost-%COMP%]:hover{background-color:var(--tui-primary-hover)}[data-status=primary]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-primary-active)}[data-status=error][_nghost-%COMP%]{background-color:var(--tui-error-bg);color:var(--tui-text-01)}[data-status=error]._hoverable[_nghost-%COMP%]:hover, [data-status=error]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-error-bg-hover)}[data-status=error][data-mode=onDark][_nghost-%COMP%]{background-color:var(--tui-error-bg-night);color:var(--tui-text-01-night)}[data-status=error][data-mode=onDark]._hoverable[_nghost-%COMP%]:hover, [data-status=error][data-mode=onDark]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-error-bg-night-hover)}[data-status=success][_nghost-%COMP%]{background-color:var(--tui-success-bg);color:var(--tui-text-01)}[data-status=success]._hoverable[_nghost-%COMP%]:hover, [data-status=success]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-success-bg-hover)}[data-status=success][data-mode=onDark][_nghost-%COMP%]{background-color:var(--tui-success-bg-night);color:var(--tui-text-01-night)}[data-status=success][data-mode=onDark]._hoverable[_nghost-%COMP%]:hover, [data-status=success][data-mode=onDark]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-success-bg-night-hover)}[data-status=warning][_nghost-%COMP%]{background-color:var(--tui-warning-bg);color:var(--tui-text-01)}[data-status=warning]._hoverable[_nghost-%COMP%]:hover, [data-status=warning]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-warning-bg-hover)}[data-status=warning][data-mode=onDark][_nghost-%COMP%]{background-color:var(--tui-warning-bg-night);color:var(--tui-text-01-night)}[data-status=warning][data-mode=onDark]._hoverable[_nghost-%COMP%]:hover, [data-status=warning][data-mode=onDark]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-warning-bg-night-hover)}[data-status=default][_nghost-%COMP%]{color:var(--tui-text-01-night);background-color:var(--tui-base-06)}[data-status=default][_nghost-%COMP%]:not([data-mode])._hoverable:hover{background-color:var(--tui-base-07)}[data-status=default][_nghost-%COMP%]:not([data-mode])._hoverable:active{background-color:var(--tui-base-08)}[data-status=default][data-mode=onDark][_nghost-%COMP%]{color:var(--tui-text-01-night);background-color:var(--tui-clear-inverse)}[data-status=default][data-mode=onDark]._hoverable[_nghost-%COMP%]:hover{background-color:var(--tui-clear-inverse-hover)}[data-status=default][data-mode=onDark]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-clear-inverse-active)}[data-status=default][data-mode=onDark][_nghost-%COMP%]:focus:after{border:2px solid var(--tui-base-01)}[data-status=default][data-mode=onLight][_nghost-%COMP%]{background-color:var(--tui-clear);color:var(--tui-text-01)}[data-status=default][data-mode=onLight]._hoverable[_nghost-%COMP%]:hover{background-color:var(--tui-clear-hover)}[data-status=default][data-mode=onLight]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-clear-active)}._editing[_nghost-%COMP%]{background:transparent!important}._disabled[_nghost-%COMP%]{pointer-events:none;opacity:var(--tui-disabled-opacity)}._hoverable[_nghost-%COMP%]{cursor:pointer}._autocolor[_nghost-%COMP%]{color:#000c}.t-text[_ngcontent-%COMP%]{white-space:pre;overflow:hidden;text-overflow:ellipsis;padding-right:.02em}.t-tag[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative;display:flex;width:auto;align-items:center;font:inherit;border-radius:inherit}[data-size=s][_nghost-%COMP%] .t-tag[_ngcontent-%COMP%]{height:1.25rem;padding:0 .375rem}[data-size=m][_nghost-%COMP%] .t-tag[_ngcontent-%COMP%]{height:var(--tui-height-xs);padding:0 .5rem}[data-size=l][_nghost-%COMP%] .t-tag[_ngcontent-%COMP%]{height:var(--tui-height-s);padding:0 .75rem}._editing[_nghost-%COMP%] .t-tag[_ngcontent-%COMP%]{visibility:hidden}.t-edit[_ngcontent-%COMP%]{margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;font:inherit;color:var(--tui-text-01);width:100%;height:100%;box-sizing:border-box;padding:0 .5rem}.t-edit[_ngcontent-%COMP%]:-webkit-autofill, .t-edit[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-edit[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}[data-size=s][_nghost-%COMP%] .t-edit[_ngcontent-%COMP%]{padding:0 .375rem}[data-size=m][_nghost-%COMP%] .t-edit[_ngcontent-%COMP%]{padding:0 .5rem}[data-size=l][_nghost-%COMP%] .t-edit[_ngcontent-%COMP%]{padding:0 .75rem}.t-icon[_ngcontent-%COMP%]{width:1rem;height:100%;cursor:pointer;pointer-events:all;opacity:var(--tui-disabled-opacity);-webkit-margin-start:.25rem;margin-inline-start:.25rem;-webkit-margin-end:-.25rem;margin-inline-end:-.25rem}.t-icon[_ngcontent-%COMP%]:hover{opacity:1}[data-size=s][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{-webkit-margin-start:0;margin-inline-start:0}[data-size=s][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%] svg{transform:scale(.75)}.t-content[_ngcontent-%COMP%]{width:1rem;height:1rem;-webkit-margin-end:.25rem;margin-inline-end:.25rem}'],changeDetection:0}),t})(),Zr=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,vn.u5,Rt.EI,b.dS,q.wq]]}),t})();var qr=n(44711),Ur=n(21673);const Hr=["tuiSidebar",""];function Gr(t,e){if(1&t&&(i.ynx(0),i._uU(1),i.BQk()),2&t){const t=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",t," ")}}let Jr=(()=>{class t extends q.GL{constructor(t,e,n,i){super(t,i),this.content=t,this.injector=e,this.portalService=n,this.component=new q.Al(Xr,this.injector),this.sidebarRef=null,this.direction="left",this.autoWidth=!1}set tuiSidebar(t){t?this.show():this.hide()}ngOnDestroy(){this.hide()}show(){null===this.sidebarRef&&(this.sidebarRef=this.portalService.add(this.component),this.sidebarRef.changeDetectorRef.detectChanges())}hide(){null!==this.sidebarRef&&(this.portalService.remove(this.sidebarRef),this.sidebarRef=null)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.Rgc),i.Y36(i.zs3),i.Y36(E.ae),i.Y36(i.sBO))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiSidebar",""]],inputs:{direction:["tuiSidebarDirection","direction"],autoWidth:["tuiSidebarAutoWidth","autoWidth"],tuiSidebar:"tuiSidebar"},features:[i.qOj]}),t})(),Xr=(()=>{class t{constructor(t,e){this.options=t,this.directive=e,this.left=Object.assign(Object.assign({},this.options),{value:"left"}),this.right=Object.assign(Object.assign({},this.options),{value:"right"})}get animation(){return"left"===this.direction?this.left:this.right}get directionHostClass(){return`t-${this.directive.direction}`}get direction(){return this.directive.direction}get content(){return this.directive.content}get autoWidth(){return this.directive.autoWidth}ngDoCheck(){this.directive.check()}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(at.Pw),i.Y36(Jr))},t.\u0275cmp=i.Xpm({type:t,selectors:[["aside","tuiSidebar",""]],hostVars:3,hostBindings:function(t,e){2&t&&(i.d8E("@tuiSlideIn",e.animation),i.Tol(e.directionHostClass))},attrs:Hr,decls:2,vars:3,consts:[["tuiActiveZone","",1,"t-wrapper"],[4,"polymorpheusOutlet"]],template:function(t,e){1&t&&(i.TgZ(0,"div",0),i.YNc(1,Gr,2,1,"ng-container",1),i.qZA()),2&t&&(i.ekj("t-wrapper_auto-width",e.autoWidth),i.xp6(1),i.Q6J("polymorpheusOutlet",e.content))},directives:[gt.e,q.Li],styles:['[_nghost-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;display:flex}[_nghost-%COMP%]:before, [_nghost-%COMP%]:after{position:absolute;top:0;left:0;width:100%;content:"";height:100%;background:rgba(0,0,0,.38);animation:tuiFadeIn var(--tui-duration)}[_nghost-%COMP%]:before{left:-100%;width:200%}[_nghost-%COMP%]:after{left:100%}.ng-animating[_nghost-%COMP%]:before, .ng-animating[_nghost-%COMP%]:after{opacity:0;transition:opacity var(--tui-duration)}.t-right[_nghost-%COMP%]{justify-content:flex-end}.t-left[_nghost-%COMP%]{justify-content:flex-start}.t-wrapper[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:column;background:var(--tui-base-01);box-shadow:0 10rem var(--tui-base-01);width:17.25rem}.t-wrapper_auto-width[_ngcontent-%COMP%]{width:auto}'],data:{animation:[Yt.Gw]},changeDetection:0}),t})(),Qr=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[gt.A,q.wq]]}),t})(),Wr=(()=>{class t{constructor(t,{nativeElement:e},n){this.readyToScroll$=n,this.scroll$=new qi.t(1),this.readyToScroll$.pipe((0,f.h)(Boolean),(0,u.w)(()=>this.scroll$),(0,lt.b)(750),(0,f.h)(t=>t&&!!(0,B.PU)(e)),(0,p.R)(t)).subscribe(()=>{e.scrollIntoView()})}set tuiScrollIntoViewLink(t){this.scroll$.next(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(D.a3,2),i.Y36(i.SBq),i.Y36(r.V1))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiScrollIntoViewLink",""]],inputs:{tuiScrollIntoViewLink:"tuiScrollIntoViewLink"},features:[i._Bn([D.a3])]}),t})(),Kr=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();const to="Taiga UI",eo=(0,L.JN)("tuiTheme"),no=(0,L.JN)(to);let io=(()=>{class t extends s.X{constructor(t,e,n){super(n.getItem(e)||t),this.initialTheme=t,this.key=e,this.storage=n}next(t){this.storage.setItem(this.key,t),super.next(t)}get isDefaultTheme(){return this.value===to}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(no),i.LFG(eo),i.LFG(I.H3))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const ro=(0,L.JN)("tuiNight"),oo=(0,L.JN)(!0);let so=(()=>{class t extends s.X{constructor(t,e,n,i){super("true"===e.getItem(n)||null===e.getItem(n)&&t.matchMedia("(prefers-color-scheme: dark)").matches),this.win=t,this.storage=e,this.key=n,this.useDefaultNightTheme=i}next(t){this.storage.setItem(this.key,String(t)),super.next(t)}toggle(){this.next(!this.value)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(I.m9),i.LFG(I.H3),i.LFG(ro),i.LFG(oo))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function ao(t,e){if(1&t&&(i.TgZ(0,"p",2),i._uU(1),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.hij(" ",t.filename,"\n")}}function lo(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"pre",3),i._uU(1," "),i._UZ(2,"code",4),i._uU(3,"\n "),i.TgZ(4,"div",5),i._uU(5,"\n "),i.TgZ(6,"button",6),i.NdJ("click",function(){return i.CHM(t),i.oxw().copy$.next()}),i.ALo(7,"async"),i._uU(8,"\n "),i.qZA(),i._uU(9,"\n "),i.Hsn(10),i._uU(11,"\n "),i.qZA(),i._uU(12,"\n"),i.qZA()}if(2&t){const t=e.$implicit,n=i.oxw();i.xp6(2),i.Q6J("lineNumbers",!0)("highlight",t),i.xp6(4),i.Q6J("icon",i.lcZ(7,4,n.icon$)||"tuiIconCopyLarge")("cdkCopyToClipboard",t)}}const co=["*"],uo=["content"],ho=["resizer"];function po(t,e){if(1&t&&(i._uU(0),i.TgZ(1,"a",11),i.TgZ(2,"code"),i._uU(3,"tuiMode"),i.qZA(),i.qZA()),2&t){const t=i.oxw();i.hij(" ",t.texts[0]," ")}}function fo(t,e){if(1&t&&i._UZ(0,"tui-data-list-wrapper",14),2&t){const t=i.oxw(2);i.Q6J("items",t.items)}}function go(t,e){if(1&t){const t=i.EpF();i.ynx(0),i.TgZ(1,"tui-select",12),i.NdJ("ngModelChange",function(e){return i.CHM(t),i.oxw().onModeChange(e)}),i._uU(2," tuiMode "),i.YNc(3,fo,1,1,"tui-data-list-wrapper",13),i.qZA(),i.BQk()}if(2&t){const t=i.oxw(),e=i.MAs(2);i.xp6(1),i.Q6J("ngModel",t.mode)("tuiHintContent",e)("tuiTextfieldCleaner",!0)}}function mo(t,e){if(1&t){const t=i.EpF();i._uU(0," tuiMode: "),i._UZ(1,"tui-tooltip",15),i.TgZ(2,"div",16),i.TgZ(3,"tui-radio-block",17),i.NdJ("ngModelChange",function(e){return i.CHM(t),i.oxw().onModeChange(e)}),i._uU(4," null "),i.qZA(),i.TgZ(5,"tui-radio-block",18),i.NdJ("ngModelChange",function(e){return i.CHM(t),i.oxw().onModeChange(e)}),i._uU(6," onDark "),i.qZA(),i.TgZ(7,"tui-radio-block",19),i.NdJ("ngModelChange",function(e){return i.CHM(t),i.oxw().onModeChange(e)}),i._uU(8," onLight "),i.qZA(),i.qZA()}if(2&t){const t=i.oxw(),e=i.MAs(2);i.xp6(1),i.Q6J("content",e),i.xp6(1),i.Q6J("collapsed",!0),i.xp6(1),i.Q6J("hideRadio",!0)("item",null)("ngModel",t.mode),i.xp6(2),i.Q6J("hideRadio",!0)("ngModel",t.mode),i.xp6(2),i.Q6J("hideRadio",!0)("ngModel",t.mode)}}function vo(t,e){if(1&t&&i._UZ(0,"tui-svg",27),2&t){const t=i.oxw(2);i.ekj("t-icon_rotated",t.expanded),i.Q6J("src",t.options.iconSmall)}}function _o(t,e){if(1&t&&i._UZ(0,"tui-data-list-wrapper",14),2&t){const t=i.oxw(3);i.Q6J("items",t.updateOnVariants)}}const yo=function(){return{standalone:!0}};function bo(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"pre",28),i._uU(1),i.ALo(2,"json"),i.qZA(),i.TgZ(3,"div",29),i.TgZ(4,"tui-select",30),i.NdJ("ngModelChange",function(e){return i.CHM(t),i.oxw(2).updateOnChange(e)}),i._uU(5," updateOn "),i.YNc(6,_o,1,1,"tui-data-list-wrapper",13),i.qZA(),i.TgZ(7,"button",31),i._uU(8," Reset "),i.qZA(),i.TgZ(9,"button",32),i._uU(10," Submit "),i.qZA(),i.qZA()}if(2&t){const t=i.oxw(2);i.xp6(1),i.hij("Form data: ",i.lcZ(2,3,t.testForm.value),""),i.xp6(3),i.Q6J("ngModel",t.updateOn)("ngModelOptions",i.DdM(5,yo))}}function wo(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"form",20),i.TgZ(1,"div",21),i.GkF(2,22),i.qZA(),i.TgZ(3,"button",23),i.NdJ("click",function(){return i.CHM(t),i.oxw().toggleDetails()}),i._uU(4),i.qZA(),i.YNc(5,vo,1,3,"ng-template",null,24,i.W1O),i.TgZ(7,"tui-expand",25),i.YNc(8,bo,11,6,"ng-template",26),i.qZA(),i.qZA()}if(2&t){const t=i.MAs(6),e=i.oxw();i.Q6J("formGroup",e.testForm),i.xp6(2),i.Q6J("ngTemplateOutlet",e.template),i.xp6(1),i.Q6J("iconRight",t),i.xp6(1),i.hij(" ",e.texts[2]," "),i.xp6(3),i.Q6J("expanded",e.expanded)}}const Co=function(){return[1,0]};function xo(t,e){if(1&t&&(i.TgZ(0,"h1",2),i._uU(1),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.hij(" ",t.heading,"\n")}}function ko(t,e){if(1&t&&(i.TgZ(0,"th",10),i._uU(1),i.qZA()),2&t){const t=i.oxw(3);i.xp6(1),i.hij(" ",t.texts[3]," ")}}function Oo(t,e){1&t&&i._UZ(0,"tui-badge",20)}function Mo(t,e){1&t&&(i.TgZ(0,"span",21),i._uU(1," deprecated "),i.qZA())}function So(t,e){if(1&t&&(i._uU(0),i.TgZ(1,"a",24),i.TgZ(2,"code"),i._uU(3,"ng-polymorpheus"),i.qZA(),i.qZA()),2&t){const t=i.oxw(5);i.hij(" ",t.texts[4]," ")}}function Po(t,e){if(1&t&&(i.TgZ(0,"tui-tooltip",22),i.YNc(1,So,4,1,"ng-template",null,23,i.W1O),i.qZA()),2&t){const t=i.MAs(2),e=i.oxw().$implicit;i.Q6J("content",t)("describeId",e.attrName)}}function Eo(t,e){if(1&t&&i._UZ(0,"tui-data-list-wrapper",34),2&t){i.oxw(2);const t=i.MAs(3),e=i.oxw(2).$implicit;i.Q6J("itemContent",t)("items",e.documentationPropertyValues)}}function To(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"tui-select",31),i.NdJ("ngModelChange",function(e){return i.CHM(t),i.oxw(3).$implicit.onValueChange(e)}),i.ALo(1,"tuiShowCleanerPipe"),i.TgZ(2,"code",32),i._uU(3,"null"),i.qZA(),i.YNc(4,Eo,1,2,"tui-data-list-wrapper",33),i.qZA()}if(2&t){i.oxw();const t=i.MAs(3),e=i.oxw(2).$implicit;i.Q6J("nativeId",e.attrName)("ngModel",e.documentationPropertyValue)("tuiTextfieldCleaner",i.lcZ(1,5,e.documentationPropertyType))("tuiTextfieldLabelOutside",!0)("valueContent",t)}}function Ao(t,e){if(1&t&&(i.TgZ(0,"code"),i._uU(1),i.ALo(2,"tuiInspectAny"),i.qZA()),2&t){const t=e.$implicit;i.xp6(1),i.Oqu(i.lcZ(2,1,t))}}function Io(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"tui-toggle",41),i.NdJ("ngModelChange",function(e){return i.CHM(t),i.oxw(4).$implicit.onValueChange(e)}),i.qZA()}if(2&t){const t=i.oxw(4).$implicit;i.Q6J("nativeId",t.attrName)("ngModel",t.documentationPropertyValue)("showIcons",!0)}}function Do(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"tui-primitive-textfield",42),i.NdJ("valueChange",function(e){return i.CHM(t),i.oxw(4).$implicit.onValueChange(e)}),i.qZA()}if(2&t){const t=i.oxw(4).$implicit;i.Q6J("nativeId",t.attrName)("tuiTextfieldCleaner",!0)("tuiTextfieldLabelOutside",!0)("value",t.documentationPropertyValue||"")}}function No(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"div",43),i.TgZ(1,"tui-primitive-textfield",44),i.NdJ("valueChange",function(e){i.CHM(t);const n=i.oxw(4).$implicit;return i.oxw(3).onColorChange(n,e)}),i.ALo(2,"tuiGetOpacity"),i.ALo(3,"tuiGetColorPipe"),i._UZ(4,"input",45),i.qZA(),i.TgZ(5,"tui-input-number",46),i.NdJ("ngModelChange",function(e){i.CHM(t);const n=i.oxw(4).$implicit;return i.oxw(3).onOpacityChange(n,e)}),i.ALo(6,"tuiGetOpacity"),i._uU(7," Opacity "),i.qZA(),i.qZA()}if(2&t){const t=i.oxw(4).$implicit;i.xp6(1),i.Q6J("tuiInputOpacity",i.lcZ(2,8,t.documentationPropertyValue))("tuiTextfieldLabelOutside",!0)("value",i.lcZ(3,10,t.documentationPropertyValue)),i.uIk("id",t.attrName),i.xp6(4),i.Q6J("max",100)("min",0)("ngModel",i.lcZ(6,12,t.documentationPropertyValue))("step",1)}}function Lo(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"tui-input-number",47),i.NdJ("ngModelChange",function(e){return i.CHM(t),i.oxw(4).$implicit.onValueChange(e||0)}),i.qZA()}if(2&t){const t=i.oxw(4).$implicit;i.Q6J("nativeId",t.attrName)("ngModel",t.documentationPropertyValue)("step",1)("tuiTextfieldLabelOutside",!0)}}function zo(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"tui-primitive-textfield",42),i.NdJ("valueChange",function(e){return i.CHM(t),i.oxw(5).$implicit.onValueChange(e)}),i._uU(1," Default content "),i.qZA()}if(2&t){const t=i.oxw(5).$implicit;i.Q6J("nativeId",t.attrName)("tuiTextfieldCleaner",!0)("tuiTextfieldLabelOutside",!0)("value",t.documentationPropertyValue.toString())}}function Fo(t,e){if(1&t&&(i.ynx(0),i.YNc(1,zo,2,4,"tui-primitive-textfield",48),i.ALo(2,"tuiIsPrimitivePolymorpheusContentPipe"),i.BQk()),2&t){const t=i.oxw(4).$implicit;i.xp6(1),i.Q6J("ngIf",i.lcZ(2,1,t.documentationPropertyValue))}}function Ro(t,e){if(1&t&&(i.ynx(0,35),i.YNc(1,Io,1,3,"tui-toggle",36),i.YNc(2,Do,1,4,"tui-primitive-textfield",37),i.YNc(3,No,8,14,"div",38),i.YNc(4,Lo,1,4,"tui-input-number",39),i.YNc(5,Fo,3,3,"ng-container",40),i.BQk()),2&t){const t=i.oxw(3).$implicit;i.Q6J("ngSwitch",t.documentationPropertyType),i.xp6(1),i.Q6J("ngSwitchCase","boolean"),i.xp6(1),i.Q6J("ngSwitchCase","string"),i.xp6(1),i.Q6J("ngSwitchCase","color"),i.xp6(1),i.Q6J("ngSwitchCase","number"),i.xp6(1),i.Q6J("ngSwitchCase","PolymorpheusContent")}}function jo(t,e){if(1&t&&(i.ynx(0),i.YNc(1,To,5,7,"tui-select",28),i.YNc(2,Ao,3,3,"ng-template",null,29,i.W1O),i.YNc(4,Ro,6,6,"ng-template",null,30,i.W1O),i.BQk()),2&t){const t=i.MAs(5),e=i.oxw(2).$implicit;i.xp6(1),i.Q6J("ngIf",e.hasItems)("ngIfElse",t)}}function Bo(t,e){if(1&t&&(i.TgZ(0,"tui-notification",49),i.ALo(1,"async"),i._uU(2," Emit! "),i.qZA()),2&t){const t=i.oxw(2).$implicit;i.Q6J("@emitEvent",i.lcZ(1,1,t.emits$))}}function Vo(t,e){if(1&t&&(i.TgZ(0,"td",25),i.YNc(1,jo,6,2,"ng-container",26),i.YNc(2,Bo,3,3,"ng-template",null,27,i.W1O),i.qZA()),2&t){const t=i.MAs(3),e=i.oxw().$implicit;i.xp6(1),i.Q6J("ngIf",e.shouldShowValues)("ngIfElse",t)}}function $o(t,e){if(1&t&&(i.TgZ(0,"tr",11),i.TgZ(1,"td",12),i.TgZ(2,"div",13),i.TgZ(3,"code"),i._uU(4),i.ALo(5,"tuiStripOptionalPipe"),i.qZA(),i.YNc(6,Oo,1,0,"tui-badge",14),i.ALo(7,"tuiIsOptionalPipe"),i.qZA(),i.YNc(8,Mo,2,0,"span",15),i.GkF(9,16),i.qZA(),i.TgZ(10,"td",12),i.TgZ(11,"span",17),i.TgZ(12,"code"),i._uU(13),i.qZA(),i.YNc(14,Po,3,2,"tui-tooltip",18),i.ALo(15,"tuiShowContentTooltip"),i.qZA(),i.qZA(),i.YNc(16,Vo,4,2,"td",19),i.qZA()),2&t){const t=e.$implicit,n=i.oxw(3);i.ekj("t-deprecated",t.documentationPropertyDeprecated),i.xp6(3),i.Udp("color","var(--tui-accent-active)"),i.xp6(1),i.hij(" ",i.lcZ(5,11,t.attrName)," "),i.xp6(2),i.Q6J("ngIf",i.lcZ(7,13,t.attrName)),i.xp6(2),i.Q6J("ngIf",t.documentationPropertyDeprecated),i.xp6(1),i.Q6J("ngTemplateOutlet",t.template),i.xp6(4),i.Oqu(t.documentationPropertyType),i.xp6(1),i.Q6J("ngIf",i.lcZ(15,15,t.documentationPropertyType)),i.xp6(2),i.Q6J("ngIf",n.showValues)}}function Yo(t,e){if(1&t&&(i.TgZ(0,"table",4),i.TgZ(1,"tr",5),i.TgZ(2,"th",6),i._uU(3),i.qZA(),i.TgZ(4,"th",7),i._uU(5),i.qZA(),i.YNc(6,ko,2,1,"th",8),i.qZA(),i.YNc(7,$o,17,17,"tr",9),i.qZA()),2&t){const t=i.oxw().ngIf,e=i.oxw();i.xp6(3),i.Oqu(e.texts[2]),i.xp6(2),i.Oqu(e.type),i.xp6(1),i.Q6J("ngIf",e.showValues&&!e.isAPI),i.xp6(1),i.Q6J("ngForOf",t)}}function Zo(t,e){if(1&t&&(i.ynx(0),i.YNc(1,Yo,8,4,"table",3),i.BQk()),2&t){const t=e.ngIf;i.xp6(1),i.Q6J("ngIf",t.length)}}function qo(t,e){1&t&&i._UZ(0,"span",8),2&t&&i.Q6J("textContent",e.polymorpheusOutlet)}function Uo(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"button",9),i.NdJ("click",function(){return i.CHM(t),i.oxw(2).copyExampleLink()}),i.ALo(1,"async"),i.qZA()}if(2&t){const t=i.oxw(2);i.Q6J("icon",t.options.linkIcon)("title",i.lcZ(1,2,t.copy$))}}function Ho(t,e){if(1&t&&(i.TgZ(0,"h3",5),i.YNc(1,qo,1,1,"span",6),i.YNc(2,Uo,2,4,"button",7),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",t.heading),i.xp6(1),i.Q6J("ngIf",t.id)}}function Go(t,e){if(1&t&&(i.ynx(0),i._uU(1),i.BQk()),2&t){const t=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",t," ")}}function Jo(t,e){if(1&t&&(i.TgZ(0,"h4",10),i.YNc(1,Go,2,1,"ng-container",11),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",t.description)}}function Xo(t,e){if(1&t&&(i.ynx(0),i._uU(1),i.BQk()),2&t){const t=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",t," ")}}function Qo(t,e){if(1&t&&(i.TgZ(0,"button",21),i.YNc(1,Xo,2,1,"ng-container",11),i.qZA()),2&t){const t=i.oxw().$implicit,e=i.oxw(4);i.xp6(1),i.Q6J("polymorpheusOutlet",e.getTabTitle(t))}}function Wo(t,e){1&t&&(i.ynx(0),i.YNc(1,Qo,2,1,"button",20),i.BQk())}function Ko(t,e){if(1&t&&(i.ynx(0),i._uU(1),i.BQk()),2&t){const t=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",t," ")}}function ts(t,e){if(1&t&&(i.ynx(0),i.YNc(1,Ko,2,1,"ng-container",11),i.BQk()),2&t){const t=e.ngIf;i.xp6(1),i.Q6J("polymorpheusOutlet",t)}}function es(t,e){if(1&t&&(i.TgZ(0,"button",25),i._uU(1),i.qZA()),2&t){const t=i.oxw(5);i.xp6(1),i.hij(" Edit on ",t.codeEditor.name," ")}}function ns(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"tui-loader",22),i.NdJ("click",function(){i.CHM(t);const e=i.oxw(3).ngIf;return i.oxw().edit(e)}),i.ALo(1,"async"),i.YNc(2,ts,2,1,"ng-container",23),i.YNc(3,es,2,1,"ng-template",null,24,i.W1O),i.qZA()}if(2&t){const t=i.MAs(4),e=i.oxw(4);i.Q6J("overlay",!0)("showLoader",!!i.lcZ(1,4,e.loading$)),i.xp6(2),i.Q6J("ngIf",null==e.codeEditor?null:e.codeEditor.content)("ngIfElse",t)}}function is(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"div",16),i.TgZ(1,"tui-tabs-with-more",17),i.NdJ("activeItemIndexChange",function(e){return i.CHM(t),i.oxw(3).activeItemIndex=e}),i.YNc(2,Wo,2,0,"ng-container",18),i.qZA(),i.YNc(3,ns,5,6,"tui-loader",19),i.ALo(4,"tuiMapper"),i.qZA()}if(2&t){const t=i.oxw().ngIf,e=i.oxw().ngIf,n=i.oxw();i.xp6(1),i.Q6J("activeItemIndex",n.activeItemIndex),i.xp6(1),i.Q6J("ngForOf",t),i.xp6(1),i.Q6J("ngIf",i.xi3(4,3,e,n.visible))}}function rs(t,e){if(1&t&&i.GkF(0,29),2&t){i.oxw(4);const t=i.MAs(5);i.Q6J("ngTemplateOutlet",t)}}const os=function(t){return{$implicit:t}};function ss(t,e){if(1&t&&i.GkF(0,30),2&t){const t=i.oxw(2).ngIf,e=i.oxw().ngIf,n=i.oxw(),r=i.MAs(7);i.Q6J("ngTemplateOutlet",r)("ngTemplateOutletContext",i.VKq(2,os,(null==e?null:e[t[n.activeItemIndex]])||""))}}function as(t,e){if(1&t&&(i.TgZ(0,"div",26),i.YNc(1,rs,1,1,"ng-container",27),i.YNc(2,ss,1,4,"ng-template",null,28,i.W1O),i.qZA()),2&t){const t=e.index,n=i.MAs(3),r=i.oxw(3);i.ekj("t-content_animated",!r.isE2E)("t-content_visible",r.activeItemIndex===t),i.xp6(1),i.Q6J("ngIf",t===r.defaultTabIndex)("ngIfElse",n)}}function ls(t,e){if(1&t&&(i.ynx(0),i.YNc(1,is,5,6,"div",14),i.YNc(2,as,4,6,"div",15),i.BQk()),2&t){const t=e.ngIf;i.xp6(1),i.Q6J("ngIf",t.length>1),i.xp6(1),i.Q6J("ngForOf",t)}}function cs(t,e){if(1&t&&(i.TgZ(0,"div",12),i.YNc(1,ls,3,2,"ng-container",13),i.ALo(2,"tuiDocExampleGetTabs"),i.qZA()),2&t){const t=e.ngIf,n=i.oxw();i.xp6(1),i.Q6J("ngIf",i.xi3(2,1,t,n.defaultTab))}}function us(t,e){1&t&&(i.TgZ(0,"div",31),i.Hsn(1),i.qZA())}function hs(t,e){if(1&t&&(i.ynx(0),i._uU(1),i.BQk()),2&t){const t=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",t," ")}}function ds(t,e){if(1&t&&(i.ynx(0),i.YNc(1,hs,2,1,"ng-container",33),i.BQk()),2&t){const t=e.$implicit,n=i.oxw().$implicit;i.xp6(1),i.Q6J("polymorpheusOutlet",t)("polymorpheusOutletContext",i.VKq(2,os,n))}}function ps(t,e){if(1&t&&(i.TgZ(0,"tui-doc-code",32),i.YNc(1,ds,2,4,"ng-container",18),i.qZA()),2&t){const t=e.$implicit,n=i.oxw();i.Q6J("code",t),i.xp6(1),i.Q6J("ngForOf",n.codeActions)}}function fs(t,e){1&t&&i._UZ(0,"tui-svg",16),2&t&&i.Q6J("src",e.polymorpheusOutlet)}function gs(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"a",14),i.NdJ("click",function(){i.CHM(t);const e=i.oxw(4),n=i.MAs(1);return e.onClick(n)}),i._uU(1),i.YNc(2,fs,1,1,"tui-svg",15),i.qZA()}if(2&t){const t=e.$implicit;i.Q6J("fragment",t.fragment)("routerLink",t.route),i.xp6(1),i.hij(" ",t.title," "),i.xp6(1),i.Q6J("polymorpheusOutlet",t.icon)}}function ms(t,e){if(1&t&&(i.TgZ(0,"tui-opt-group",12),i.YNc(1,gs,3,4,"a",13),i.qZA()),2&t){const t=e.$implicit,n=e.index,r=i.oxw(3);i.Q6J("label",r.labels[n]||""),i.xp6(1),i.Q6J("ngForOf",t)}}function vs(t,e){if(1&t&&(i.TgZ(0,"tui-data-list"),i.YNc(1,ms,2,2,"tui-opt-group",11),i.ALo(2,"async"),i.qZA()),2&t){const t=i.oxw(2);i.xp6(1),i.Q6J("ngForOf",i.lcZ(2,1,t.filtered$))}}function _s(t,e){1&t&&(i.ynx(0),i.YNc(1,vs,3,3,"tui-data-list",10),i.BQk())}const ys=function(t,e){return{item:t,index:e}};function bs(t,e){if(1&t&&i.GkF(0,21),2&t){const t=e.$implicit,n=e.index,r=i.oxw(2).index;i.oxw();const o=i.MAs(12);i.Q6J("ngTemplateOutlet",o)("ngTemplateOutletContext",i.WLB(2,ys,t,100*r+n))}}function ws(t,e){if(1&t&&(i.TgZ(0,"div",20),i.YNc(1,bs,1,5,"ng-container",8),i.qZA()),2&t){const t=i.oxw().index,e=i.oxw();i.xp6(1),i.Q6J("ngForOf",e.items[t])}}function Cs(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"tui-accordion-item",17),i.NdJ("openChange",function(e){const n=i.CHM(t).index;return!!(i.oxw().openPagesArr[n]=e)}),i.TgZ(1,"span",18),i.TgZ(2,"strong"),i._uU(3),i.qZA(),i.qZA(),i.YNc(4,ws,2,1,"ng-template",19),i.qZA()}if(2&t){const t=e.$implicit,n=e.index,r=i.oxw();i.Q6J("borders",null)("open",!!r.openPagesArr[n]),i.xp6(3),i.Oqu(t)}}function xs(t,e){if(1&t&&i.GkF(0,21),2&t){const t=e.$implicit,n=e.index,r=i.oxw(),o=i.MAs(12);i.Q6J("ngTemplateOutlet",o)("ngTemplateOutletContext",i.WLB(2,ys,t,r.items.length-1+n))}}function ks(t,e){1&t&&i._UZ(0,"tui-svg",16),2&t&&i.Q6J("src",e.polymorpheusOutlet)}function Os(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"a",24),i.NdJ("click",function(){return i.CHM(t),i.oxw(2).closeMenu()}),i._uU(1),i.YNc(2,ks,1,1,"tui-svg",15),i.qZA()}if(2&t){const t=i.oxw().item,e=i.oxw();i.Q6J("routerLink",t.route)("tuiScrollIntoViewLink",e.isActive(t.route)),i.xp6(1),i.hij(" ",t.title," "),i.xp6(1),i.Q6J("polymorpheusOutlet",t.icon)}}function Ms(t,e){1&t&&i._UZ(0,"tui-svg",16),2&t&&i.Q6J("src",e.polymorpheusOutlet)}function Ss(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"button",30),i.NdJ("click",function(){i.CHM(t);const e=i.oxw(2).index;return i.oxw().onGroupClick(e)}),i._UZ(1,"tui-svg",31),i._uU(2),i.YNc(3,Ms,1,1,"tui-svg",15),i.qZA()}if(2&t){const t=i.oxw(2),e=t.index,n=t.item,r=i.oxw();i.xp6(1),i.ekj("t-chevron_active",!!r.openPagesGroupsArr[e]),i.Q6J("src",r.icons.more),i.xp6(1),i.hij(" ",n.title," "),i.xp6(1),i.Q6J("polymorpheusOutlet",n.icon)}}function Ps(t,e){1&t&&i._UZ(0,"tui-svg",16),2&t&&i.Q6J("src",e.polymorpheusOutlet)}function Es(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"a",32),i.NdJ("click",function(){return i.CHM(t),i.oxw(3).closeMenu()}),i._uU(1),i.YNc(2,Ps,1,1,"tui-svg",15),i.qZA()}if(2&t){const t=e.$implicit,n=i.oxw(3);i.Q6J("fragment",t.fragment)("routerLink",t.route)("tuiScrollIntoViewLink",n.isActive(t.route)),i.xp6(1),i.hij(" ",t.title," "),i.xp6(1),i.Q6J("polymorpheusOutlet",t.icon)}}const Ts=function(){return{exact:!1}};function As(t,e){if(1&t&&(i.TgZ(0,"div",25),i.YNc(1,Ss,4,5,"button",26),i.TgZ(2,"tui-expand",27),i.TgZ(3,"div",28),i.YNc(4,Es,3,5,"a",29),i.qZA(),i.qZA(),i.qZA()),2&t){const t=i.oxw(),e=t.item,n=t.index,r=i.oxw();i.Q6J("routerLinkActiveOptions",i.DdM(4,Ts)),i.xp6(1),i.Q6J("ngIf",e.subPages),i.xp6(1),i.Q6J("expanded",!!r.openPagesGroupsArr[n]),i.xp6(2),i.Q6J("ngForOf",r.$pages(e.subPages))}}function Is(t,e){if(1&t&&(i.YNc(0,Os,3,4,"a",22),i.YNc(1,As,5,5,"ng-template",null,23,i.W1O)),2&t){const t=e.item,n=i.MAs(2);i.Q6J("ngIf",!t.subPages)("ngIfElse",n)}}const Ds=["tuiDocHeader",""];function Ns(t,e){1&t&&i._UZ(0,"tui-doc-navigation",4)}function Ls(t,e){1&t&&i._UZ(0,"img",5),2&t&&i.Q6J("src",e.polymorpheusOutlet,i.LSH)}function zs(t,e){1&t&&(i.ynx(0),i._uU(1),i.BQk()),2&t&&(i.xp6(1),i.Oqu(", "))}function Fs(t,e){if(1&t&&(i.ynx(0),i._UZ(1,"a",2),i.YNc(2,zs,2,1,"ng-container",3),i.BQk()),2&t){const t=e.$implicit,n=e.last,r=i.oxw();i.xp6(1),i.Q6J("innerText",t)("routerLink",r.getRouterLink(t)),i.xp6(1),i.Q6J("ngIf",!n)}}function Rs(t,e){if(1&t&&i._UZ(0,"a",1),2&t){const t=e.polymorpheusOutlet,n=i.oxw();i.Q6J("href",t,i.LSH)("icon",n.icons.code)("title",n.text)}}function js(t,e){1&t&&i._UZ(0,"tui-theme-night")}const Bs=[[["tuiDocNavigation"]],[["tuiDocHeader"]],[["tuiOverContent"]],[["tuiOverDialogs"]],[["tuiOverAlerts"]],[["tuiOverPortals"]],[["tuiOverHints"]]],Vs=["tuiDocNavigation","tuiDocHeader","tuiOverContent","tuiOverDialogs","tuiOverAlerts","tuiOverPortals","tuiOverHints"];function $s(t,e){1&t&&i._UZ(0,"tui-tag",9)}function Ys(t,e){if(1&t&&i._UZ(0,"tui-tag",10),2&t){const t=i.oxw();i.Q6J("autoColor",!0)("value",t.package)}}const Zs=function(t){return{exact:t}};function qs(t,e){if(1&t&&(i.TgZ(0,"a",14),i.ALo(1,"tuiReplace"),i._uU(2),i.qZA()),2&t){const t=i.oxw().ngIf,e=i.oxw().first,n=i.oxw(2);i.Q6J("routerLink",e?"./":i.Dn7(1,3,t,n.from,n.to))("routerLinkActiveOptions",i.VKq(7,Zs,e)),i.xp6(2),i.hij(" ",t," ")}}function Us(t,e){1&t&&(i.ynx(0),i.YNc(1,qs,3,9,"a",13),i.BQk())}function Hs(t,e){if(1&t&&(i.ynx(0),i.YNc(1,Us,2,0,"ng-container",12),i.BQk()),2&t){const t=e.$implicit,n=e.index,r=i.oxw(2);i.xp6(1),i.Q6J("ngIf",t.pageTab||r.defaultTabs[n])}}function Gs(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"tui-tabs-with-more",11),i.NdJ("activeItemIndexChange",function(e){return i.CHM(t),i.oxw().activeItemIndex=e}),i.YNc(1,Hs,2,1,"ng-container",8),i.qZA()}if(2&t){const t=i.oxw();i.Q6J("activeItemIndex",t.activeItemIndex),i.xp6(1),i.Q6J("ngForOf",t.tabConnectors)}}function Js(t,e){if(1&t&&i._UZ(0,"tui-doc-see-also",15),2&t){const t=i.oxw();i.Q6J("seeAlso",t.seeAlso)}}function Xs(t,e){if(1&t&&i.GkF(0,17),2&t){const t=i.oxw().$implicit;i.Q6J("ngTemplateOutlet",t.template)}}function Qs(t,e){if(1&t&&(i.ynx(0),i.YNc(1,Xs,1,1,"ng-container",16),i.BQk()),2&t){const t=e.index,n=i.oxw();i.xp6(1),i.Q6J("ngIf",t===n.activeItemIndex)}}let Ws=(()=>{class t{constructor(t){this.markdownCodeProcessor=t,this.rawLoader$$=new s.X(""),this.filename="",this.copy$=new a.xQ,this.icon$=this.copy$.pipe((0,u.w)(()=>(0,l.H)(2e3).pipe((0,h.U)(()=>"tuiIconCopyLarge"),(0,d.O)("tuiIconCheckLarge")))),this.processor$=this.rawLoader$$.pipe((0,u.w)(o.JQ),(0,h.U)(t=>this.markdownCodeProcessor(t)))}set code(t){this.rawLoader$$.next(t)}get hasFilename(){return!!this.filename}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(r.Es))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-doc-code"]],hostVars:2,hostBindings:function(t,e){2&t&&i.ekj("_has-filename",e.hasFilename)},inputs:{filename:"filename",code:"code"},ngContentSelectors:co,decls:3,vars:4,consts:[["class","t-header",4,"ngIf"],["class","t-code",4,"ngFor","ngForOf"],[1,"t-header"],[1,"t-code"],[3,"lineNumbers","highlight"],[1,"t-code-actions"],["tuiIconButton","","appearance","icon","size","xs",1,"t-copy-button",3,"icon","cdkCopyToClipboard","click"]],template:function(t,e){1&t&&(i.F$t(),i.YNc(0,ao,2,1,"p",0),i.YNc(1,lo,13,6,"pre",1),i.ALo(2,"async")),2&t&&(i.Q6J("ngIf",e.filename),i.xp6(1),i.Q6J("ngForOf",i.lcZ(2,2,e.processor$)))},directives:[w.O5,w.sg,Fe.y$,Tt.v0,Ve],pipes:[w.Ov],styles:["[_nghost-%COMP%]{display:block}.t-header[_ngcontent-%COMP%]{font:var(--tui-font-text-s);font-weight:bold}.t-header[_ngcontent-%COMP%] + .t-code[_ngcontent-%COMP%]{border-radius:.25rem}.t-code[_ngcontent-%COMP%]{position:relative;margin:0;white-space:normal;outline:1px solid var(--tui-base-03)}.t-code[_ngcontent-%COMP%] .hljs-ln{width:-webkit-max-content;width:max-content}.t-code[_ngcontent-%COMP%] + .t-code[_ngcontent-%COMP%]{margin-top:1rem}.t-code-actions[_ngcontent-%COMP%]{position:absolute;top:.75rem;right:.75rem;display:flex;justify-content:center;align-items:center;flex-direction:row-reverse}tui-root._mobile[_nghost-%COMP%] .t-code-actions[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-code-actions[_ngcontent-%COMP%]{padding:.3125rem;border-radius:.25rem;border:1px solid var(--tui-base-04)}.t-copy-button[_ngcontent-%COMP%] +*:not(:empty){margin-right:.375rem}.hljs[_ngcontent-%COMP%]:not(:empty){font:var(--tui-font-text-m);font-size:.875rem;padding:1.5rem 2rem;font-family:monospace;word-wrap:break-word;white-space:pre-wrap}@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm){.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar, .hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar-thumb{width:1rem;height:1rem;border-radius:6.25rem;background-clip:padding-box;border:.375rem solid transparent}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar{background-color:transparent}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar-thumb{background-color:var(--tui-clear-hover)}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar-thumb:hover{background-color:var(--tui-clear-active)}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar-thumb:active{background-color:var(--tui-text-03)}}tui-root._mobile[_nghost-%COMP%] .hljs[_ngcontent-%COMP%]:not(:empty), tui-root._mobile [_nghost-%COMP%] .hljs[_ngcontent-%COMP%]:not(:empty){padding:1rem}.t-code-actions[_ngcontent-%COMP%], .hljs[_ngcontent-%COMP%]:not(:empty){background:var(--tui-base-01)}@supports (background: color-mix(in srgb,var(--tui-base-01),#222 2%)){.t-code-actions[_ngcontent-%COMP%], .hljs[_ngcontent-%COMP%]:not(:empty){background:color-mix(in srgb,var(--tui-base-01),#222 2%)}}"],changeDetection:0}),t})(),Ks=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,Rt.EI,Fe._l,Tt.fN,$e]]}),t})(),ta=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,Tt.fN]]}),t})(),ea=(()=>{class t{constructor(t,e,n,i,r,s,l){var c,u;this.options=t,this.isMobile=e,this.el=n,this.locationRef=i,this.urlSerializer=r,this.texts=s,this.urlStateHandler=l,this.control=null,this.sticky=!0,this.template=null,this.updateOnVariants=["change","blur","submit"],this.updateOn=this.params.updateOn||this.updateOnVariants[0],this.opaque=(0,o.cd)(null===(c=this.params.sandboxOpaque)||void 0===c||c),this.expanded=(0,o.cd)(null!==(u=this.params.sandboxExpanded)&&void 0!==u&&u),this.mode=this.params.tuiMode||null,this.sandboxWidth=(0,nn.oY)(this.params.sandboxWidth),this.change$=new a.xQ,this.items=["onLight","onDark"]}onResize(){this.updateWidth(),this.onMouseUp()}onMouseUp(){this.updateUrl({sandboxWidth:this.sandboxWidth})}ngOnInit(){this.createForm(),this.updateWidth(this.sandboxWidth+this.delta)}onModeChange(t){this.mode=t,this.updateUrl({sandboxWidth:this.sandboxWidth}),this.change$.next()}toggleDetails(){this.expanded=!this.expanded,this.updateUrl({sandboxExpanded:this.expanded})}changeOpaque(t){this.opaque=t,this.updateUrl({sandboxOpaque:this.opaque})}updateOnChange(t){this.updateOn=t,this.updateUrl({updateOn:t}),this.createForm()}updateWidth(t=NaN){if(!this.resizer||!this.resizeable||!this.content)return;const e=t||this.resizeable.nativeElement.clientWidth,n=this.el.nativeElement.clientWidth,i=Math.round((0,nn.Ki)(e,160,n))-this.delta,r=et)}])],ngContentSelectors:co,decls:16,vars:14,consts:[[1,"t-bg-toggle",3,"tuiMode"],["tooltip",""],[4,"ngIf","ngIfElse"],["desktop",""],["size","m",1,"t-checkbox",3,"ngModel","ngModelChange"],["tuiResizeable","",1,"t-wrapper"],["id","demo-content",1,"t-content"],["content",""],["class","t-form",3,"formGroup",4,"ngIf"],[1,"t-resizer",3,"tuiResizer","tuiSizeChange"],["resizer",""],["routerLink","/directives/mode","tuiLink","","tuiMode","onDark"],["tuiTextfieldSize","s",1,"t-mode",3,"ngModel","tuiHintContent","tuiTextfieldCleaner","ngModelChange"],[3,"items",4,"tuiDataList"],[3,"items"],["describeId","form",3,"content"],["tuiGroup","",1,"t-group",3,"collapsed"],["nativeId","form","size","s",1,"tui-group__auto-width-item",3,"hideRadio","item","ngModel","ngModelChange"],["item","onDark","nativeId","form","size","s",1,"tui-group__auto-width-item",3,"hideRadio","ngModel","ngModelChange"],["item","onLight","nativeId","form","size","s",1,"tui-group__auto-width-item",3,"hideRadio","ngModel","ngModelChange"],[1,"t-form",3,"formGroup"],[1,"t-input-wrapper"],[3,"ngTemplateOutlet"],["automation-id","tui-demo-button__toggle-details","size","s","tuiButton","","type","button",1,"t-button",3,"iconRight","click"],["icon",""],[1,"t-expand",3,"expanded"],["tuiExpandContent",""],[1,"t-icon",3,"src"],[1,"t-value"],["tuiGroup","",1,"t-form-controls"],["automation-id","tui-demo-select__expand-update-on","tuiTextfieldSize","s",1,"t-select",3,"ngModel","ngModelOptions","ngModelChange"],["automation-id","tui-demo-button__reset-state","size","s","tuiButton","","type","reset",1,"tui-group__auto-width-item"],["automation-id","tui-demo-button__submit-state","size","s","tuiButton","","type","submit",1,"tui-group__auto-width-item"]],template:function(t,e){if(1&t&&(i.F$t(),i.TgZ(0,"div",0),i.YNc(1,po,4,1,"ng-template",null,1,i.W1O),i.YNc(3,go,4,3,"ng-container",2),i.YNc(4,mo,9,9,"ng-template",null,3,i.W1O),i.TgZ(6,"tui-checkbox-labeled",4),i.NdJ("ngModelChange",function(t){return e.changeOpaque(t)}),i._uU(7),i.qZA(),i.qZA(),i.TgZ(8,"div",5),i.TgZ(9,"div",6),i.TgZ(10,"div",null,7),i.YNc(12,wo,9,5,"form",8),i.Hsn(13),i.qZA(),i.qZA(),i.TgZ(14,"div",9,10),i.NdJ("tuiSizeChange",function(t){return e.updateWidth(t[0])}),i.qZA(),i.qZA()),2&t){const t=i.MAs(5);i.Q6J("tuiMode",null),i.xp6(3),i.Q6J("ngIf",e.isMobile)("ngIfElse",t),i.xp6(3),i.Q6J("ngModel",e.opaque),i.xp6(1),i.hij(" ",e.texts[1]," "),i.xp6(1),i.ekj("t-wrapper_dark","onDark"===e.mode)("t-wrapper_gray","onLight"===e.mode)("t-wrapper_transparent",!e.opaque),i.xp6(4),i.Q6J("ngIf",e.testForm),i.xp6(2),i.Q6J("tuiResizer",i.DdM(13,Co))}},directives:[At.w,w.O5,qr.p,vn.JJ,vn.On,Ue,He,Vi.yS,It.V,Zn,qn,Dt.sz,Nt.bZ,Dt.be,Lt.gX,fn,zt.w,Ft.gZ,si,vn._Y,vn.JL,vn.sg,w.tP,Tt.v0,S,M,Rt.PN],pipes:[w.Ts],styles:['[_nghost-%COMP%]{position:relative;display:block;min-width:100%;margin:1.5rem 0}.t-bg-toggle[_ngcontent-%COMP%]{position:absolute;bottom:calc(100% + .75rem);display:flex;align-items:center;justify-content:flex-end;pointer-events:none;width:100%}.t-bg-toggle[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{pointer-events:auto}.t-wrapper[_ngcontent-%COMP%]{box-shadow:var(--tui-shadow-dropdown);display:flex;border:1px solid var(--tui-base-03);border-radius:var(--tui-radius-m);max-width:100%;min-height:6rem;width:100%;min-width:10rem;background-color:var(--tui-base-01);overflow:hidden}.t-wrapper.t-wrapper_transparent[_ngcontent-%COMP%]{background-image:linear-gradient(45deg,var(--tui-base-02) 25%,transparent 25%),linear-gradient(-45deg,var(--tui-base-02) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--tui-base-02) 75%),linear-gradient(-45deg,transparent 75%,var(--tui-base-02) 75%);background-size:1.25rem 1.25rem;background-position:0 0,0 .625rem,.625rem -.625rem,-.625rem 0}.t-wrapper.t-wrapper_dark[_ngcontent-%COMP%]{background-color:#454e58;color:var(--tui-base-01)}.t-wrapper.t-wrapper_gray[_ngcontent-%COMP%]{background-color:#e5e7ea}.t-wrapper.t-wrapper_dark.t-wrapper_transparent[_ngcontent-%COMP%]{background-image:linear-gradient(45deg,var(--tui-focus) 25%,transparent 25%),linear-gradient(-45deg,var(--tui-focus) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--tui-focus) 75%),linear-gradient(-45deg,transparent 75%,var(--tui-focus) 75%)}.t-wrapper.t-wrapper_gray.t-wrapper_transparent[_ngcontent-%COMP%]{background-image:linear-gradient(45deg,var(--tui-base-05) 25%,transparent 25%),linear-gradient(-45deg,var(--tui-base-05) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--tui-base-05) 75%),linear-gradient(-45deg,transparent 75%,var(--tui-base-05) 75%)}tui-root._mobile[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{min-height:auto}.t-content[_ngcontent-%COMP%]{flex:1 1 0;min-width:0;padding:1.5rem;box-sizing:border-box;overflow:hidden}tui-root._mobile[_nghost-%COMP%] .t-content[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:1rem}.t-form[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:flex-start}.t-input-wrapper[_ngcontent-%COMP%]{width:100%;margin-bottom:.5rem}.t-expand[_ngcontent-%COMP%]{width:100%}.t-icon[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out}.t-icon_rotated[_ngcontent-%COMP%]{transform:rotate(180deg)}.t-value[_ngcontent-%COMP%]{flex:1;background:var(--tui-clear-inverse);padding:.75rem;border-radius:.25rem}.t-mode[_ngcontent-%COMP%]{width:12.5rem}.t-select[_ngcontent-%COMP%]{max-width:15rem}.t-resizer[_ngcontent-%COMP%]{box-shadow:var(--tui-shadow-dropdown);position:relative;width:3.5rem;min-height:inherit;display:flex;align-items:center;justify-content:center;flex-shrink:0;border-left:1px solid var(--tui-base-03);outline:none;background:var(--tui-base-01);color:var(--tui-text-01)}.t-resizer[_ngcontent-%COMP%]:before, .t-resizer[_ngcontent-%COMP%]:after{content:"";position:absolute;top:.75rem;left:50%;bottom:calc(50% + 1rem);width:1px;background:var(--tui-base-04);box-shadow:-.25rem 0 var(--tui-base-04);transform:translate(0)}.t-resizer[_ngcontent-%COMP%]:after{bottom:.75rem;top:calc(50% + 1rem)}tui-root._mobile[_nghost-%COMP%] .t-resizer[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-resizer[_ngcontent-%COMP%]{display:none}.t-resizer-text[_ngcontent-%COMP%]{font:var(--tui-font-text-s);position:relative;z-index:1;padding:.75rem;background:var(--tui-base-01)}.wrapper_light[_ngcontent-%COMP%] .t-resizer-text[_ngcontent-%COMP%]{background:#3e464e}.t-group[_ngcontent-%COMP%], .t-checkbox[_ngcontent-%COMP%]{margin-left:.75rem}.t-button[_ngcontent-%COMP%], .t-form-controls[_ngcontent-%COMP%]{margin-top:.75rem}@supports ((position: -webkit-sticky) or (position: sticky)){@media screen and (min-height: 37.5rem){._sticky[_nghost-%COMP%]{position:-webkit-sticky;position:sticky;top:4.625rem;z-index:2}}}'],changeDetection:0}),(0,Ye.gn)([rn.UM],t.prototype,"updateUrl",null),t})(),na=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,vn.UX,vn.u5,Vi.Bz,It.j,Tt.fN,Un,P,Ft.n6,zt.Q,At.z,ai,qr.s,Rt.EI,gn,Lt.pc,Dt.cn,Nt.go,Ge]]}),t})(),ia=(()=>{class t{constructor(t,e,n,r,o){this.template=t,this.locationRef=e,this.activatedRoute=n,this.urlSerializer=r,this.urlStateHandler=o,this.documentationPropertyName="",this.documentationPropertyMode=null,this.documentationPropertyType="",this.documentationPropertyDeprecated=!1,this.documentationPropertyValues=null,this.documentationPropertyValueChange=new i.vpe,this.changed$=new a.xQ,this.emits$=new s.X(1)}ngOnInit(){this.parseParams(this.activatedRoute.snapshot.queryParams)}get attrName(){switch(this.documentationPropertyMode){case"input":return`[${this.documentationPropertyName}]`;case"output":return`(${this.documentationPropertyName})`;case"input-output":return`[(${this.documentationPropertyName})]`;default:return this.documentationPropertyName}}get hasItems(){return!!this.documentationPropertyValues}get shouldShowValues(){return"output"!==this.documentationPropertyMode}ngOnChanges(){this.changed$.next()}onValueChange(t){this.documentationPropertyValue=t,this.documentationPropertyValueChange.emit(t),this.setQueryParam(t)}emitEvent(t){console.info(this.attrName,t),this.emits$.next(this.emits$.value+1)}parseParams(t){const e=t[this.documentationPropertyName],n=t[`${this.documentationPropertyName}$`];if(!e&&!n)return;let i=n&&this.documentationPropertyValues?this.documentationPropertyValues[n]:(0,o.p8)(e);"string"===this.documentationPropertyType&&(0,L.dt)(i)&&(i=i.toString()),this.onValueChange(i)}setQueryParam(t){const e=this.urlSerializer.parse(this.locationRef.path()),n=t instanceof Object,i=n&&this.documentationPropertyValues?this.documentationPropertyValues.indexOf(t):t,r=this.documentationPropertyName+(n?"$":"");e.queryParams=Object.assign(Object.assign({},e.queryParams),{[r]:i}),this.locationRef.go(this.urlStateHandler(e))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.Rgc),i.Y36(w.Ye),i.Y36(Vi.gz),i.Y36(Vi.Hx),i.Y36(r.Ii))},t.\u0275dir=i.lG2({type:t,selectors:[["ng-template","documentationPropertyName",""]],inputs:{documentationPropertyName:"documentationPropertyName",documentationPropertyMode:"documentationPropertyMode",documentationPropertyType:"documentationPropertyType",documentationPropertyValue:"documentationPropertyValue",documentationPropertyDeprecated:"documentationPropertyDeprecated",documentationPropertyValues:"documentationPropertyValues"},outputs:{documentationPropertyValueChange:"documentationPropertyValueChange"},exportAs:["documentationProperty"],features:[i.TTD]}),t})(),ra=(()=>{class t{transform(t){return 4===t.length?t.split("").reduce((t,e)=>[...t,e,e],[]).join("").replace("#",""):t.startsWith("#")?t:"transparent"===t?"#000000":function(t,e,n){return`#${[t,e,n].map(t=>t.toString(16).padStart(2,"0")).join("")}`}(...t.replace("rgb(","").replace("rgba(","").replace(")","").replace(" ","").split(",").map(t=>Number.parseInt(t,10)))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Yjl({name:"tuiGetColorPipe",type:t,pure:!0}),t})(),oa=(()=>{class t{transform(t){if(t.startsWith("#")||t.startsWith("rgb("))return 100;if("transparent"===t)return 0;const e=t.lastIndexOf(","),n=t.slice(e).replace(")","").replace(" ","").replace(",","");return Math.round(100*Number.parseFloat(n))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Yjl({name:"tuiGetOpacity",type:t,pure:!0}),t})(),sa=(()=>{class t{constructor(t,e){this.renderer=t,this.focusable=e}set tuiInputOpacity(t){const{nativeFocusableElement:e}=this.focusable;e&&this.renderer.setStyle(e,"opacity",t/100)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.Qsj),i.Y36(N.KZ))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiInputOpacity",""]],inputs:{tuiInputOpacity:"tuiInputOpacity"}}),t})(),aa=(()=>{class t{transform(t){return t.replace("?","")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Yjl({name:"tuiStripOptionalPipe",type:t,pure:!0}),t})(),la=(()=>{class t{transform(t){return t.includes("?")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Yjl({name:"tuiIsOptionalPipe",type:t,pure:!0}),t})(),ca=(()=>{class t{transform(t){return t.includes("PolymorpheusContent")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Yjl({name:"tuiShowContentTooltip",type:t,pure:!0}),t})(),ua=(()=>{class t{transform(t){return t.includes("null")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Yjl({name:"tuiShowCleanerPipe",type:t,pure:!0}),t})(),ha=(()=>{class t{constructor(t){this.isE2E=t}transform(t,e=2){return this.isE2E&&"function"==typeof t?"\u03bb(x) => y":(0,o.sj)(t,e)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(N.oD,16))},t.\u0275pipe=i.Yjl({name:"tuiInspectAny",type:t,pure:!0}),t})(),da=(()=>{class t{transform(t){return(0,L.Aj)(t)||(0,L.dt)(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Yjl({name:"tuiIsPrimitivePolymorpheusContentPipe",type:t,pure:!0}),t})(),pa=(()=>{class t{constructor(t,e,n,i,r,o){this.cdr=t,this.texts=e,this.excludedProperties=n,this.destroy$=i,this.getColor=r,this.getOpacity=o,this.heading="",this.showValues=!0,this.isAPI=!1,this.propertiesConnectors=y.Mm,this.activeItemIndex=0,this.matcher=(t,e)=>!e.has(t.documentationPropertyName)}ngAfterContentInit(){(0,ye.ll)(this.propertiesConnectors).pipe((0,u.w)(t=>(0,c.T)(...t.map(({changed$:t})=>t))),(0,ye.NA)(this.cdr),(0,p.R)(this.destroy$)).subscribe()}get type(){return this.isAPI?this.texts[0]:this.texts[1]}onColorChange(t,e){const n=this.getOpacity.transform(t.documentationPropertyValue||"");if(100===n)return void t.onValueChange(e);const i=`rgba(${en(e).join(", ")}, ${n/100})`;t.onValueChange(i)}onOpacityChange(t,e){const n=`rgba(${en(this.getColor.transform(t.documentationPropertyValue||""))}, ${(e||0)/100})`;t.onValueChange(n)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.sBO),i.Y36(r.IK),i.Y36(r.et),i.Y36(D.a3,2),i.Y36(ra),i.Y36(oa))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-doc-documentation"]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,ia,4),2&t){let t;i.iGM(t=i.CRH())&&(e.propertiesConnectors=t)}},inputs:{heading:"heading",showValues:"showValues",isAPI:"isAPI"},features:[i._Bn([ra,oa,D.a3])],ngContentSelectors:co,decls:4,vars:6,consts:[["class","t-heading",4,"ngIf"],[4,"ngIf"],[1,"t-heading"],["class","t-table",4,"ngIf"],[1,"t-table"],[1,"t-row","t-row_header"],[1,"t-th","t-cell","t-cell_prop"],[1,"t-th"],["class","t-th t-cell t-th_value",4,"ngIf"],["class","t-row",3,"t-deprecated",4,"ngFor","ngForOf"],[1,"t-th","t-cell","t-th_value"],[1,"t-row"],[1,"t-cell"],["automation-id","tui-documentation__property-name",1,"t-property"],["size","s","value","Optional",4,"ngIf"],["class","t-deprecated-label",4,"ngIf"],[3,"ngTemplateOutlet"],[1,"type"],[3,"content","describeId",4,"ngIf"],["class","t-cell t-cell_value",4,"ngIf"],["size","s","value","Optional"],[1,"t-deprecated-label"],[3,"content","describeId"],["content",""],["href","https://github.com/taiga-family/ng-polymorpheus","rel","noreferrer","target","_blank","tuiLink","","tuiMode","onDark"],[1,"t-cell","t-cell_value"],[4,"ngIf","ngIfElse"],["elseEmitter",""],["tuiDropdownLimitWidth","min","tuiTextfieldSize","m",3,"nativeId","ngModel","tuiTextfieldCleaner","tuiTextfieldLabelOutside","valueContent","ngModelChange",4,"ngIf","ngIfElse"],["selectContent",""],["noItems",""],["tuiDropdownLimitWidth","min","tuiTextfieldSize","m",3,"nativeId","ngModel","tuiTextfieldCleaner","tuiTextfieldLabelOutside","valueContent","ngModelChange"],[1,"t-exception"],[3,"itemContent","items",4,"tuiDataList"],[3,"itemContent","items"],[3,"ngSwitch"],["size","l",3,"nativeId","ngModel","showIcons","ngModelChange",4,"ngSwitchCase"],["tuiTextfieldSize","m",3,"nativeId","tuiTextfieldCleaner","tuiTextfieldLabelOutside","value","valueChange",4,"ngSwitchCase"],["tuiGroup","",4,"ngSwitchCase"],["tuiTextfieldSize","m",3,"nativeId","ngModel","step","tuiTextfieldLabelOutside","ngModelChange",4,"ngSwitchCase"],[4,"ngSwitchCase"],["size","l",3,"nativeId","ngModel","showIcons","ngModelChange"],["tuiTextfieldSize","m",3,"nativeId","tuiTextfieldCleaner","tuiTextfieldLabelOutside","value","valueChange"],["tuiGroup",""],["tuiTextfieldSize","m",3,"tuiInputOpacity","tuiTextfieldLabelOutside","value","valueChange"],["tuiTextfield","","type","text"],["tuiTextfieldSize","m",3,"max","min","ngModel","step","ngModelChange"],["tuiTextfieldSize","m",3,"nativeId","ngModel","step","tuiTextfieldLabelOutside","ngModelChange"],["tuiTextfieldSize","m",3,"nativeId","tuiTextfieldCleaner","tuiTextfieldLabelOutside","value","valueChange",4,"ngIf"],[1,"t-output"]],template:function(t,e){1&t&&(i.F$t(),i.YNc(0,xo,2,1,"h1",0),i.Hsn(1),i.YNc(2,Zo,2,1,"ng-container",1),i.ALo(3,"tuiFilter")),2&t&&(i.Q6J("ngIf",e.heading),i.xp6(2),i.Q6J("ngIf",i.Dn7(3,2,e.propertiesConnectors,e.matcher,e.excludedProperties)))},directives:[w.O5,w.sg,w.tP,ui,zt.w,It.V,At.w,Zn,qn,jt.Ek,Dt.sz,vn.JJ,vn.On,Dt.be,Dt.xT,Lt.gX,fn,w.RF,w.n9,Ci,Bt.yc,Bt.B1,Ft.gZ,sa,Bt.MB,Ri,ji,Vt.L],pipes:[Je,aa,la,ca,ua,ha,oa,ra,da,w.Ov],styles:["[_nghost-%COMP%]{display:block;min-width:100%}.t-table[_ngcontent-%COMP%]{width:100%;table-layout:fixed}.t-row[_ngcontent-%COMP%]:not(:last-child){border-bottom:1px solid var(--tui-base-03)}tui-root._mobile[_nghost-%COMP%] .t-row[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-row[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}tui-root._mobile[_nghost-%COMP%] .t-row_header[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-row_header[_ngcontent-%COMP%]{display:none}.t-cell[_ngcontent-%COMP%]{padding:1rem 1rem .875rem}.t-cell[_ngcontent-%COMP%]:first-child{padding-left:0}.t-cell[_ngcontent-%COMP%]:last-child{padding-right:0}.t-cell_prop[_ngcontent-%COMP%]{width:40%}.t-cell_value[_ngcontent-%COMP%]{text-align:right}tui-root._mobile[_nghost-%COMP%] .t-cell[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-cell[_ngcontent-%COMP%]{width:100%;height:auto;padding:.5rem 0;text-align:left}.t-th[_ngcontent-%COMP%]{padding:.5rem 1rem;color:var(--tui-text-02);font-weight:normal;text-align:left}.t-th_value[_ngcontent-%COMP%]{max-width:20rem;text-align:right}tui-root._mobile[_nghost-%COMP%] .t-th_value[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-th_value[_ngcontent-%COMP%]{width:9.375rem}.t-property[_ngcontent-%COMP%]{font:var(--tui-font-text-m);margin-bottom:.25rem;font-family:monospace;color:#8f75d1}tui-root._mobile[_nghost-%COMP%] .t-property[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-property[_ngcontent-%COMP%]{padding:.5rem 0}.t-type[_ngcontent-%COMP%]{font-family:monospace}.t-deprecated[_ngcontent-%COMP%]{background-color:var(--tui-error-bg);box-shadow:-1rem 0 var(--tui-error-bg),1rem 0 var(--tui-error-bg)}.t-deprecated-label[_ngcontent-%COMP%]{margin-right:.125rem;color:var(--tui-error-fill)}.t-exception[_ngcontent-%COMP%]{display:block;width:-webkit-max-content;width:max-content}.t-output[_ngcontent-%COMP%]{text-align:left;opacity:0}.t-heading[_ngcontent-%COMP%]{font:var(--tui-font-heading-4)}"],data:{animation:[(0,T.X$)("emitEvent",[(0,T.eR)(":increment",[(0,T.oB)({opacity:1}),(0,T.jt)("500ms ease-in")])])]},changeDetection:0}),t})(),fa=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})(),ga=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,vn.u5,Vi.Bz,hi,Un,xi,zt.Q,It.j,Bi,At.z,Ft.n6,fa,Bt.KW,Dt.cn,jt.dp,Lt.pc,gn,Vt.H,Xe]]}),t})();const ma={codeEditorVisibilityHandler:t=>Boolean(t.TypeScript&&t.HTML),tabTitles:new Map,fullsize:!0,linkIcon:"tuiIconLink"},va=(0,L.JN)(ma);function _a(t){return(0,L.vK)(va,t,ma)}let ya=(()=>{class t{transform(t,e){return[e,...Object.keys(t)]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Yjl({name:"tuiDocExampleGetTabs",type:t,pure:!0}),t})(),ba=(()=>{class t{constructor(t,e,n,i,r,l,c,d,p,f,g,m,v){this.clipboard=t,this.alerts=e,this.location=n,this.copyTexts$=i,this.texts=r,this.codeEditor=l,this.processContent=c,this.isE2E=d,this.codeActions=p,this.router=f,this.route=g,this.ngLocation=m,this.options=v,this.rawLoader$$=new s.X({}),this.id=null,this.fullsize=this.options.fullsize,this.componentName=this.location.pathname.slice(1),this.defaultTabIndex=0,this.defaultTab=this.texts[this.defaultTabIndex],this.activeItemIndex=this.defaultTabIndex,this.copy$=this.copyTexts$.pipe((0,h.U)(([t])=>t)),this.processor$=this.rawLoader$$.pipe((0,u.w)(o.vP),(0,h.U)(t=>this.processContent(t))),this.loading$=new a.xQ,this.visible=t=>Boolean(this.codeEditor&&this.options.codeEditorVisibilityHandler(t))}set content(t){this.rawLoader$$.next(t)}getTabTitle(t){return this.options.tabTitles.get(t)||t}copyExampleLink(){const t=this.location.href.indexOf("#"),e=`${t>-1?this.location.href.slice(0,Math.max(0,t)):this.location.href}#${this.id}`;this.setFragmentWithoutRedirect(this.id),this.clipboard.copy(e),this.alerts.open(this.texts[1],{label:this.texts[2],status:"success"}).subscribe()}edit(t){var e;this.loading$.next(!0),null===(e=this.codeEditor)||void 0===e||e.edit(this.componentName,this.id||"",t).then(()=>this.loading$.next(!1)).catch(()=>this.loading$.next(!1))}setFragmentWithoutRedirect(t){const e=this.router.createUrlTree([],{relativeTo:this.route,fragment:t||""}).toString();this.ngLocation.go(e)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(je),i.Y36(Qt),i.Y36(I.Ct),i.Y36(an.UV),i.Y36(r.mv),i.Y36(r.lW,8),i.Y36(r.$_),i.Y36(N.oD),i.Y36(r.mT),i.Y36(Vi.F0),i.Y36(Vi.gz),i.Y36(w.Ye),i.Y36(va))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-doc-example"]],hostVars:2,hostBindings:function(t,e){2&t&&i.ekj("_fullsize",e.fullsize)},inputs:{id:"id",heading:"heading",description:"description",content:"content",fullsize:"fullsize",componentName:"componentName"},ngContentSelectors:co,decls:8,vars:5,consts:[["class","t-title",4,"ngIf"],["class","t-description",4,"ngIf"],["class","t-example",4,"ngIf"],["preview",""],["codeSection",""],[1,"t-title"],[3,"textContent",4,"polymorpheusOutlet"],["appearance","icon","size","xs","tuiIconButton","","type","button","class","t-link-icon",3,"icon","title","click",4,"ngIf"],[3,"textContent"],["appearance","icon","size","xs","tuiIconButton","","type","button",1,"t-link-icon",3,"icon","title","click"],[1,"t-description"],[4,"polymorpheusOutlet"],[1,"t-example"],[4,"ngIf"],["class","t-tabs-wrapper",4,"ngIf"],["class","t-content",3,"t-content_animated","t-content_visible",4,"ngFor","ngForOf"],[1,"t-tabs-wrapper"],[1,"t-tabs",3,"activeItemIndex","activeItemIndexChange"],[4,"ngFor","ngForOf"],["size","xs",3,"overlay","showLoader","click",4,"ngIf"],["tuiTab","",4,"tuiItem"],["tuiTab",""],["size","xs",3,"overlay","showLoader","click"],[4,"ngIf","ngIfElse"],["defaultEditContent",""],["appearance","flat","size","s","tuiButton","","type","button"],[1,"t-content"],[3,"ngTemplateOutlet",4,"ngIf","ngIfElse"],["anotherTab",""],[3,"ngTemplateOutlet"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["automation-id","tui-doc-example",1,"t-demo"],[3,"code"],[4,"polymorpheusOutlet","polymorpheusOutletContext"]],template:function(t,e){1&t&&(i.F$t(),i.YNc(0,Ho,3,2,"h3",0),i.YNc(1,Jo,2,1,"h4",1),i.YNc(2,cs,3,4,"div",2),i.ALo(3,"async"),i.YNc(4,us,2,0,"ng-template",null,3,i.W1O),i.YNc(6,ps,2,2,"ng-template",null,4,i.W1O)),2&t&&(i.Q6J("ngIf",e.heading),i.xp6(1),i.Q6J("ngIf",e.description),i.xp6(1),i.Q6J("ngIf",i.lcZ(3,3,e.processor$)))},directives:[w.O5,q.Li,Tt.v0,w.sg,vr,Qe,ur,b.kM,w.tP,Ws],pipes:[w.Ov,ya,tt],styles:["[_nghost-%COMP%]{position:relative;display:block;padding-top:3.5rem;clear:right}[_nghost-%COMP%] tui-root._mobile[_nghost-%COMP%], tui-root._mobile [_nghost-%COMP%]{padding-top:2rem}.t-title[_ngcontent-%COMP%]{font:var(--tui-font-heading-5);margin:0 0 .5rem}tui-root._mobile[_nghost-%COMP%] .t-title[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-title[_ngcontent-%COMP%]{font:var(--tui-font-heading-6)}.t-description[_ngcontent-%COMP%]{font:var(--tui-font-text-m);font-weight:normal;margin:0}.t-title[_ngcontent-%COMP%]:first-letter, .t-description[_ngcontent-%COMP%]:first-letter{text-transform:capitalize}.t-example[_ngcontent-%COMP%]{position:relative;margin-top:1.5rem;border:1px solid var(--tui-base-03);border-radius:var(--tui-radius-m);box-shadow:0 .125rem .1875rem #0000001a;overflow:hidden}tui-root._mobile[_nghost-%COMP%] .t-example[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-example[_ngcontent-%COMP%]{margin-top:.75rem}.t-tabs-wrapper[_ngcontent-%COMP%]{display:flex;padding:0 .875rem 0 2rem;box-shadow:inset 0 -1px var(--tui-base-03);justify-content:space-between;align-items:center}tui-root._mobile[_nghost-%COMP%] .t-tabs-wrapper[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-tabs-wrapper[_ngcontent-%COMP%]{padding:0 .875rem 0 1rem}.t-tabs[_ngcontent-%COMP%]{flex-grow:1}.t-demo[_ngcontent-%COMP%]{padding:2rem;max-width:100%;box-sizing:border-box;overflow-x:auto}@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm){.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar, .t-demo[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{width:1rem;height:1rem;border-radius:6.25rem;background-clip:padding-box;border:.375rem solid transparent}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar{background-color:transparent}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:var(--tui-clear-hover)}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:var(--tui-clear-active)}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:active{background-color:var(--tui-text-03)}}tui-root._mobile[_nghost-%COMP%] .t-demo[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-demo[_ngcontent-%COMP%]{padding:1rem}[_nghost-%COMP%]:not(._fullsize) .t-demo[_ngcontent-%COMP%]{width:-webkit-min-content;width:min-content;min-width:20rem}.t-link-icon[_ngcontent-%COMP%]{margin-left:.3rem;vertical-align:baseline}.t-content[_ngcontent-%COMP%]{will-change:opacity;height:0;visibility:hidden;opacity:0}.t-content_animated[_ngcontent-%COMP%]{transition:opacity .3s ease-in-out}.t-content_visible[_ngcontent-%COMP%]{height:auto;visibility:visible;opacity:1}"],changeDetection:0}),t})(),wa=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,$e,_r,Tt.fN,ta,Ks,q.wq,et,b.dS]]}),t})();function Ca(t){return t.map(({section:t})=>t).filter(L.Pc).filter((t,e,n)=>n.indexOf(t)===e)}const xa=new i.OlP("[NAVIGATION_TITLE]"),ka=new i.OlP("[NAVIGATION_LABELS]"),Oa=new i.OlP("[NAVIGATION_ITEMS]"),Ma=[D.a3,{provide:xa,deps:[Vi.F0,Vi.gz,r.Yx,D.a3],useFactory:(t,e,n,i)=>t.events.pipe((0,f.h)(t=>t instanceof Vi.m2),(0,h.U)(()=>e.firstChild),(0,f.h)(L.Pc),(0,g.zg)(({data:t})=>t),(0,h.U)(({title:t})=>`${n}${t}`),(0,p.R)(i))},{provide:ka,deps:[r.V5],useFactory:Ca},{provide:Oa,deps:[r.V5],useFactory:t=>[...Ca(t).map(e=>t.filter(({section:t})=>t===e)),t.filter(t=>!t.section)]}];let Sa=(()=>{class t{constructor(t,e,n,i,r,o,s,a,l,c,u,p,g,m,v,_){this.doc=i,this.mode=r,this.sidebar=o,this.labels=s,this.items=a,this.searchText=l,this.router=c,this.activatedRoute=u,this.destroy$=p,this.readyToScroll$=g,this.scrollBehavior=m,this.docIcons=v,this.icons=_,this.menuOpen=!1,this.openPagesArr=[],this.openPagesGroupsArr=[],this.active="",this.search=new vn.NI(""),this.filtered$=(0,ye.EK)(this.search).pipe((0,f.h)(t=>t.trim().length>2),(0,h.U)(t=>this.filterItems(this.flattenSubPages(this.items),t))),this.mode$=this.mode.change$.pipe((0,d.O)(null),(0,h.U)(()=>this.mode.mode||"onLight")),n.subscribe(n=>{t.markForCheck(),e.setTitle(n),this.openActivePageGroup(),this.handleAnchorLink(this.activatedRoute.snapshot.fragment||"")})}get canOpen(){var t,e;return(null!==(e=null===(t=this.search.value)||void 0===t?void 0:t.length)&&void 0!==e?e:0)>2}get itemsWithoutSections(){return this.items[this.items.length-1]}$pages(t){return t}isActive(t){return t===this.active}onGroupClick(t){this.openPagesGroupsArr[t]=!this.openPagesGroupsArr[t]}closeMenu(){this.menuOpen=!1}onClick(t){t.open=!1,this.menuOpen=!1,this.search.setValue(""),this.openActivePageGroup()}filterItems(t,e){return t.map(t=>(0,L.pf)(t.filter(({title:t,keywords:n=""})=>(e=e.toLowerCase().trim(),n=n.toLowerCase(),(t=t.toLowerCase()).includes(e)||n.includes(e)||t.includes((0,o.OO)(e))||n.includes((0,o.OO)(e))||e.replace(/-/gi,"").includes(t)||t.includes(e.replace(/\s|tui/g,""))||n.includes(e.replace(/\s|tui/g,""))||e.split(/\s/).find(e=>t.includes(e)))),"title"))}flattenSubPages(t){return t.reduce((t,e)=>[...t,e.reduce((t,e)=>"subPages"in e?[...t,...e.subPages]:[...t,e],[])],[])}isActiveRoute(t){return this.router.isActive(t,{paths:"subset",queryParams:"subset",fragment:"ignored",matrixParams:"ignored"})}handleAnchorLink(t){this.readyToScroll$.pipe((0,f.h)(Boolean),(0,m.q)(1),(0,p.R)(this.destroy$)).subscribe(()=>this.navigateToAnchorLink(t))}openActivePageGroup(){this.items.forEach((t,e)=>{t.forEach((t,n)=>{"route"in t&&this.isActiveRoute(t.route)&&(this.openPagesArr[e]=!0,this.active=t.route),"subPages"in t&&t.subPages.forEach(t=>{this.isActiveRoute(t.route)&&(this.openPagesArr[e]=!0,this.openPagesGroupsArr[100*e+n]=!0,this.active=t.route)})})})}navigateToAnchorLink(t){const e=t?this.doc.querySelectorAll(`#${t}`):[],n=e.length&&e[e.length-1];!n||(n.classList.add("tui-doc-animated-example"),n.scrollIntoView({block:"start",inline:"nearest",behavior:this.scrollBehavior}))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.sBO),i.Y36(A.Dx),i.Y36(xa),i.Y36(w.K0),i.Y36(At.w),i.Y36(Jr,8),i.Y36(ka),i.Y36(Oa),i.Y36(r.EI),i.Y36(Vi.F0),i.Y36(Vi.gz),i.Y36(D.a3,2),i.Y36(r.V1),i.Y36(r.n1),i.Y36(r.oq),i.Y36(at.Gs))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-doc-navigation"]],hostVars:2,hostBindings:function(t,e){2&t&&i.ekj("_open",e.menuOpen)},features:[i._Bn(Ma)],ngContentSelectors:co,decls:14,vars:14,consts:[["tuiTextfieldSize","m",1,"t-input",3,"formControl","tuiAutoFocus","tuiTextfieldCleaner","tuiTextfieldIconLeft","tuiTextfieldLabelOutside"],["input",""],[4,"ngIf"],[1,"t-navigation"],[1,"t-scrollbar",3,"tuiMode"],[3,"closeOthers","rounded"],["size","s",3,"borders","open","openChange",4,"ngFor","ngForOf"],[1,"t-items-container"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngFor","ngForOf"],["pages",""],[4,"tuiDataList"],[3,"label",4,"ngFor","ngForOf"],[3,"label"],["tuiOption","",3,"fragment","routerLink","click",4,"ngFor","ngForOf"],["tuiOption","",3,"fragment","routerLink","click"],["class","t-icon",3,"src",4,"polymorpheusOutlet"],[1,"t-icon",3,"src"],["size","s",3,"borders","open","openChange"],[1,"t-label"],["tuiAccordionItemContent",""],[1,"t-section"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["routerLinkActive","t-sublink_active","tuiLink","","class","t-sublink",3,"routerLink","tuiScrollIntoViewLink","click",4,"ngIf","ngIfElse"],["subPagesTemplate",""],["routerLinkActive","t-sublink_active","tuiLink","",1,"t-sublink",3,"routerLink","tuiScrollIntoViewLink","click"],["routerLinkActive","",1,"t-subsection",3,"routerLinkActiveOptions"],["tuiLink","","type","button","class","t-sublink t-sublink_subsection",3,"click",4,"ngIf"],[1,"t-expand",3,"expanded"],[1,"t-section","t-section_bordered"],["routerLinkActive","t-sublink_active","tuiLink","","class","t-sublink t-sublink_small",3,"fragment","routerLink","tuiScrollIntoViewLink","click",4,"ngFor","ngForOf"],["tuiLink","","type","button",1,"t-sublink","t-sublink_subsection",3,"click"],[1,"t-chevron",3,"src"],["routerLinkActive","t-sublink_active","tuiLink","",1,"t-sublink","t-sublink_small",3,"fragment","routerLink","tuiScrollIntoViewLink","click"]],template:function(t,e){1&t&&(i.F$t(),i.TgZ(0,"tui-input",0,1),i._uU(2),i.YNc(3,_s,2,0,"ng-container",2),i.qZA(),i.TgZ(4,"nav",3),i.TgZ(5,"tui-scrollbar",4),i.ALo(6,"async"),i.TgZ(7,"tui-accordion",5),i.YNc(8,Cs,5,3,"tui-accordion-item",6),i.qZA(),i.TgZ(9,"div",7),i.YNc(10,xs,1,5,"ng-container",8),i.qZA(),i.YNc(11,Is,3,2,"ng-template",null,9,i.W1O),i.qZA(),i.qZA(),i.Hsn(13)),2&t&&(i.Q6J("formControl",e.search)("tuiAutoFocus",!!e.sidebar)("tuiTextfieldCleaner",!0)("tuiTextfieldIconLeft",e.docIcons.search)("tuiTextfieldLabelOutside",!0),i.xp6(2),i.hij(" ",e.searchText," "),i.xp6(1),i.Q6J("ngIf",e.canOpen),i.xp6(2),i.Q6J("tuiMode",i.lcZ(6,12,e.mode$)),i.xp6(2),i.Q6J("closeOthers",!1)("rounded",!1),i.xp6(1),i.Q6J("ngForOf",e.labels),i.xp6(2),i.Q6J("ngForOf",e.itemsWithoutSections))},directives:[Ur.K3,Ur.wU,Dt.sz,vn.JJ,vn.oH,ve,Dt.be,Dt.aR,Dt.xT,w.O5,$t.IB,At.w,Nr,w.sg,Lt.gX,Lt.qi,Lt.Rs,Lt.vK,Vi.yS,q.Li,Rt.PN,Dr,Ar,w.tP,It.V,Vi.Od,Wr,S],pipes:[w.Ov],styles:["[_nghost-%COMP%]{z-index:1;display:flex;flex-direction:column;text-align:center;background:var(--tui-base-01)}.t-input[_ngcontent-%COMP%]{margin:1.25rem}.t-navigation[_ngcontent-%COMP%]{display:flex;max-height:100%;min-height:0;flex:1 1 0;text-align:left}.t-scrollbar[_ngcontent-%COMP%]{scroll-behavior:smooth;width:100%}@media screen and (prefers-reduced-motion: reduce){.t-scrollbar[_ngcontent-%COMP%]{scroll-behavior:auto}}.t-items-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:0 1rem}.t-label[_ngcontent-%COMP%]{margin-left:.5rem}.t-expand[_ngcontent-%COMP%]{margin-left:.25rem}.t-section[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;margin:-1rem 0 -.5rem}.t-section_bordered[_ngcontent-%COMP%]{margin:.5rem 0;border-left:1px solid var(--tui-base-03)}.t-subsection[_ngcontent-%COMP%]{margin-left:.5rem}.t-sublink[_ngcontent-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:1rem 0 0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;font:var(--tui-font-text-m);margin-left:.5rem}.t-sublink_small[_ngcontent-%COMP%]{margin-left:1rem;line-height:1.5rem;padding-top:.5rem}.t-sublink_subsection[_ngcontent-%COMP%]{margin-left:0;line-height:1.6rem}.t-sublink.t-sublink.t-sublink_active[_ngcontent-%COMP%]{color:var(--tui-text-01)}.t-icon[_ngcontent-%COMP%]{margin-left:.5rem}.t-chevron[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:1rem;height:1rem;margin:-.25rem .25rem 0 -.1875rem}.t-chevron_active[_ngcontent-%COMP%]{transform:rotate(90deg)}"],changeDetection:0}),(0,Ye.gn)([rn.UM],t.prototype,"filterItems",null),(0,Ye.gn)([rn.UM],t.prototype,"flattenSubPages",null),t})(),Pa=(()=>{class t{constructor(t,e,n,i,r){this.icons=t,this.logo=e,this.menu=n,this.router=i,this.swipes$=r,this.stream$=new a.xQ,this.open$=(0,c.T)(this.router.events.pipe((0,h.U)(y.Iy)),this.stream$,this.swipes$.pipe((0,f.h)(t=>"left"===t.direction||"right"===t.direction),(0,h.U)(t=>"right"===t.direction))).pipe((0,d.O)(!1),(0,v.x)())}onClick(){this.stream$.next(!0)}onActiveZone(t){t||this.stream$.next(!1)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(r.oq),i.Y36(r.Or),i.Y36(r.gG),i.Y36(Vi.F0),i.Y36(D.$D))},t.\u0275cmp=i.Xpm({type:t,selectors:[["header","tuiDocHeader",""]],attrs:Ds,ngContentSelectors:co,decls:6,vars:6,consts:[["appearance","icon","tuiIconButton","","type","button",1,"t-menu",3,"icon","title","click","tuiActiveZoneChange"],["class","t-navigation",4,"tuiSidebar"],[1,"t-logo"],["alt","Logo","class","t-img",3,"src",4,"polymorpheusOutlet"],[1,"t-navigation"],["alt","Logo",1,"t-img",3,"src"]],template:function(t,e){1&t&&(i.F$t(),i.TgZ(0,"button",0),i.NdJ("click",function(){return e.onClick()})("tuiActiveZoneChange",function(t){return e.onActiveZone(t)}),i.YNc(1,Ns,1,0,"tui-doc-navigation",1),i.ALo(2,"async"),i.qZA(),i.TgZ(3,"div",2),i.YNc(4,Ls,1,1,"img",3),i.qZA(),i.Hsn(5)),2&t&&(i.Q6J("icon",e.icons.menu)("title",e.menu),i.xp6(1),i.Q6J("tuiSidebar",!!i.lcZ(2,4,e.open$)),i.xp6(3),i.Q6J("polymorpheusOutlet",e.logo))},directives:[Tt.v0,gt.e,Jr,q.Li,Sa],pipes:[w.Ov],styles:["[_nghost-%COMP%]{box-shadow:var(--tui-shadow-basic-navigation);position:fixed;top:0;left:0;right:0;z-index:1;display:flex;height:3.9375rem;align-items:center;padding:0 1.25rem;background:var(--tui-base-01);border-bottom:1px solid var(--tui-base-03)}@supports (background: color-mix(in srgb,var(--tui-base-01),transparent 50%)){[_nghost-%COMP%]{background:color-mix(in srgb,var(--tui-base-01),transparent 50%);-webkit-backdrop-filter:blur(1.25rem);backdrop-filter:blur(1.25rem)}}.t-logo[_ngcontent-%COMP%]{margin-right:auto;font:var(--tui-font-heading-5)}.t-img[_ngcontent-%COMP%]{display:block}.t-menu[_ngcontent-%COMP%]{margin-left:-1.25rem}@media screen and (min-width: 48em){.t-menu[_ngcontent-%COMP%]{display:none}}.t-navigation[_ngcontent-%COMP%]{min-height:100%}"],changeDetection:0}),t})(),Ea=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,vn.UX,Vi.Bz,q.wq,Kr,Tt.fN,Ur.Qf,Dt.cn,gt.A,j.WD,At.z,It.j,P,ze.jh,jt.dp,Lr,$t.Jy,Rt.EI,Lt.pc,_e]]}),t})(),Ta=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,q.wq,Tt.fN,Qr,gt.A,Ea]]}),t})(),Aa=(()=>{class t{constructor(t,e){this.text=t,this.pages=e,this.seeAlso=[]}getRouterLink(t){var e,n;return null!==(n=null===(e=this.pages.get(t))||void 0===e?void 0:e.route)&&void 0!==n?n:""}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(r.VX),i.Y36(r._Z))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-doc-see-also"]],inputs:{seeAlso:"seeAlso"},decls:3,vars:2,consts:[[1,"t-header"],[4,"ngFor","ngForOf"],["tuiLink","",3,"innerText","routerLink"],[4,"ngIf"]],template:function(t,e){1&t&&(i.TgZ(0,"h5",0),i._uU(1),i.qZA(),i.YNc(2,Fs,3,3,"ng-container",1)),2&t&&(i.xp6(1),i.Oqu(e.text),i.xp6(1),i.Q6J("ngForOf",e.seeAlso))},directives:[w.sg,It.V,Vi.yS,w.O5],styles:["[_nghost-%COMP%]{display:block}.t-header[_ngcontent-%COMP%]{font-size:.6875rem;line-height:1rem;text-transform:uppercase;letter-spacing:.075em;color:var(--tui-text-02);margin:0 0 .5rem;white-space:nowrap}"],changeDetection:0}),t})(),Ia=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,Vi.Bz,It.j]]}),t})(),Da=(()=>{class t{constructor(t,e,n){this.icons=t,this.sourceCode=e,this.text=n,this.header="",this.package="",this.type="",this.path=""}get pathOptions(){return this.getPathOptions(this.header,this.package,this.type,this.path)}pathIsUrl(t){return t.startsWith("http")}getPathOptions(t,e,n,i){return{header:t,package:e,type:n,path:i}}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(r.oq),i.Y36(r.yO),i.Y36(r.as))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-doc-source-code"]],inputs:{header:"header",package:"package",type:"type",path:"path"},decls:1,vars:2,consts:[["appearance","icon","size","s","target","_blank","tuiIconButton","","type","button",3,"href","icon","title",4,"polymorpheusOutlet","polymorpheusOutletContext"],["appearance","icon","size","s","target","_blank","tuiIconButton","","type","button",3,"href","icon","title"]],template:function(t,e){1&t&&i.YNc(0,Rs,1,3,"a",0),2&t&&i.Q6J("polymorpheusOutlet",e.pathIsUrl(e.path)?e.path:e.sourceCode)("polymorpheusOutletContext",e.pathOptions)},directives:[q.Li,Tt.v0],encapsulation:2,changeDetection:0}),(0,Ye.gn)([rn.UM],t.prototype,"pathIsUrl",null),(0,Ye.gn)([rn.UM],t.prototype,"getPathOptions",null),t})(),Na=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,q.wq,Tt.fN]]}),t})(),La=(()=>{class t{constructor(t,e,n){this.icons=t,this.theme=e,this.night=n,this.change$=this.night,this.night$=this.change$.pipe((0,d.O)(null),(0,h.U)(()=>this.night.value),(0,v.x)(),(0,_.B)())}get mode(){return this.night.value?"onDark":null}get icon(){return this.night.value?this.icons.day:this.icons.night}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(r.oq),i.Y36(io),i.Y36(so))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-doc-main"]],hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("data-mode",e.mode)},features:[i._Bn([{provide:At.w,useExisting:(0,i.Gpc)(()=>t)},D.$D])],ngContentSelectors:Vs,decls:21,vars:4,consts:[[4,"ngIf"],[1,"tui-doc-page"],[1,"tui-doc-navigation"],[1,"tui-doc-content"],[1,"tui-doc-outlet"],["tuiDocHeader",""],["appearance","secondary","shape","rounded","size","s","tuiIconButton","","tuiMode","onLight","type","button",1,"tui-doc-night-mode-switch",3,"icon","click"],["ngProjectAs","tuiOverContent",5,["tuiOverContent"]],["ngProjectAs","tuiOverDialogs",5,["tuiOverDialogs"]],["ngProjectAs","tuiOverAlerts",5,["tuiOverAlerts"]],["ngProjectAs","tuiOverPortals",5,["tuiOverPortals"]],["ngProjectAs","tuiOverHints",5,["tuiOverHints"]]],template:function(t,e){1&t&&(i.F$t(Bs),i.YNc(0,js,1,0,"tui-theme-night",0),i.ALo(1,"async"),i.TgZ(2,"tui-root"),i.TgZ(3,"div",1),i.TgZ(4,"tui-doc-navigation",2),i.Hsn(5),i.qZA(),i.TgZ(6,"div",3),i._UZ(7,"router-outlet",4),i.qZA(),i.qZA(),i.TgZ(8,"header",5),i.Hsn(9,1),i.TgZ(10,"button",6),i.NdJ("click",function(){return e.night.toggle()}),i.qZA(),i.qZA(),i.ynx(11,7),i.Hsn(12,2),i.BQk(),i.ynx(13,8),i.Hsn(14,3),i.BQk(),i.ynx(15,9),i.Hsn(16,4),i.BQk(),i.ynx(17,10),i.Hsn(18,5),i.BQk(),i.ynx(19,11),i.Hsn(20,6),i.BQk(),i.qZA()),2&t&&(i.Q6J("ngIf",e.theme.isDefaultTheme&&e.night.useDefaultNightTheme&&i.lcZ(1,2,e.night$)),i.xp6(10),i.Q6J("icon",e.icon))},directives:[w.O5,Ot,Sa,Vi.lC,Pa,Tt.v0,At.w,Pt],pipes:[w.Ov],styles:['html{scroll-padding-top:4rem;height:auto}tui-root>tui-scroll-controls>.t-bar_vertical{top:4rem!important}@keyframes tuiShaking{0%,to{transform:translate(0)}10%,30%,50%,70%,90%{transform:translate(-.3125rem)}20%,40%,60%,80%{transform:translate(.3125rem)}}body{background:var(--tui-base-01);height:auto}tui-doc-main{display:block}code:not(pre code):not(.hljs):not([class*="language-"]){transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:inline-flex;background:var(--tui-base-02);color:var(--tui-text-02);vertical-align:middle;align-items:center;border-radius:.25rem;font-weight:500;border:1px solid var(--tui-base-04);font-size:.75rem;padding:0 .125rem;text-wrap:wrap}tui-notification code:not(pre code):not(.hljs):not([class*="language-"]){background:var(--tui-clear);box-shadow:none}a code:not(pre code):not(.hljs):not([class*="language-"]){color:var(--tui-link)}button:focus code,a:focus code{background:var(--tui-base-01)}.tui-doc-page{isolation:isolate;padding-top:4rem}tui-doc-navigation.tui-doc-navigation{position:fixed;top:4rem;bottom:0;width:16.25rem;border-right:1px solid var(--tui-base-03)}@media screen and (max-width: 47.9625em){tui-doc-navigation.tui-doc-navigation{display:none}}.tui-doc-content{margin-left:16.25rem}@media screen and (max-width: 47.9625em){.tui-doc-content{margin-left:0}}.tui-doc-outlet+*{display:block}.tui-doc-animated-example{animation:1s .3s tuiShaking}.tui-doc-night-mode-switch{margin-left:1rem}.tui-doc-night-mode-switch tui-svg{color:var(--tui-text-02)}tui-doc-code .hljs-tag{background:none}tui-doc-code .hljs{display:block;overflow-x:auto;padding:.5em;color:var(--tui-text-01);background-color:var(--tui-clear)}tui-doc-code .hljs.hljs-line-numbers{background:transparent}tui-doc-code .hljs-subst,tui-doc-code .hljs-title{font-weight:normal;color:var(--tui-text-01)}tui-doc-code .hljs-comment,tui-doc-code .hljs-quote{color:var(--tui-text-02);font-style:italic}tui-doc-code .hljs-meta{color:#e38162}tui-doc-code .hljs-section,tui-doc-code .hljs-name,tui-doc-code .hljs-literal,tui-doc-code .hljs-keyword,tui-doc-code .hljs-selector-tag,tui-doc-code .hljs-type,tui-doc-code .hljs-selector-id,tui-doc-code .hljs-selector-class{font-weight:bold;color:var(--tui-link)}tui-doc-code .hljs-attr{color:var(--tui-link)}tui-doc-code .hljs-attribute,tui-doc-code .hljs-number,tui-doc-code .hljs-regexp,tui-doc-code .hljs-link,tui-doc-code .hljs-built_in{font-weight:bold;color:var(--tui-support-06)}tui-doc-code .hljs-number,tui-doc-code .hljs-regexp,tui-doc-code .hljs-link{font-weight:normal}tui-doc-code .hljs-string{color:var(--tui-positive);font-weight:bold}tui-doc-code .hljs-symbol,tui-doc-code .hljs-bullet,tui-doc-code .hljs-formula{color:var(--tui-text-01);background:var(--tui-base-02);font-style:italic}tui-doc-code .hljs-doctag{text-decoration:underline}tui-doc-code .hljs-variable,tui-doc-code .hljs-template-variable{color:var(--tui-link-hover)}tui-doc-code [data-mode=onDark] .hljs-variable,tui-doc-code [data-mode=onDark] .hljs-template-variable{color:var(--tui-warning-fill)}tui-doc-code .hljs-addition{background:var(--tui-success-bg)}tui-doc-code .hljs-deletion{background:var(--tui-error-bg)}tui-doc-code .hljs-emphasis{font-style:italic}tui-doc-code .hljs-strong{font-weight:bold}tui-doc-code .hljs .hljs-line-numbers{padding:0}tui-doc-code .hljs-ln-numbers{vertical-align:top;opacity:.3;text-align:right;padding-right:1em!important}\n'],encapsulation:2}),t})(),za=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,Vi.Bz,Et,Ta,Mt,Le,Wt,Tt.fN,At.z,Ea]]}),t})();const Fa=new i.OlP("[PAGE_SEE_ALSO]"),Ra=[{provide:Fa,deps:[i.SBq,r.UL],useFactory:({nativeElement:t},e)=>{const n=t.getAttribute("header"),i=e.filter(t=>t.includes(n))||[],r=new Set(i.join().split(",").filter(t=>t&&t!==n));return Array.from(r)}}];let ja=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.Rgc))},t.\u0275dir=i.lG2({type:t,selectors:[["","pageTab",""]],inputs:{pageTab:"pageTab"}}),t})(),Ba=(()=>{class t{constructor(t,e){this.defaultTabs=t,this.seeAlso=e,this.header="",this.package="",this.type="",this.path="",this.deprecated=!1,this.tabConnectors=y.Mm,this.activeItemIndex=0,this.from=/ /g,this.to="_"}get showSeeAlso(){return!!this.seeAlso.length&&0===this.activeItemIndex}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(r.AC),i.Y36(Fa))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-doc-page"]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,ja,4),2&t){let t;i.iGM(t=i.CRH())&&(e.tabConnectors=t)}},inputs:{header:"header",package:"package",type:"type",path:"path",deprecated:"deprecated"},features:[i._Bn(Ra)],ngContentSelectors:co,decls:11,vars:10,consts:[[1,"t-header"],[1,"t-title"],["status","custom","value","deprecated","class","t-tag t-tag_deprecated",4,"ngIf"],["status","custom","class","t-tag t-tag_package",3,"autoColor","value",4,"ngIf"],["class","t-tabs",3,"activeItemIndex","activeItemIndexChange",4,"ngIf"],[1,"t-source-code",3,"header","package","path","type"],[1,"t-content"],["class","t-see-also",3,"seeAlso",4,"ngIf"],[4,"ngFor","ngForOf"],["status","custom","value","deprecated",1,"t-tag","t-tag_deprecated"],["status","custom",1,"t-tag","t-tag_package",3,"autoColor","value"],[1,"t-tabs",3,"activeItemIndex","activeItemIndexChange"],[4,"ngIf"],["routerLinkActive","","tuiTab","",3,"routerLink","routerLinkActiveOptions",4,"tuiItem"],["routerLinkActive","","tuiTab","",3,"routerLink","routerLinkActiveOptions"],[1,"t-see-also",3,"seeAlso"],[3,"ngTemplateOutlet",4,"ngIf"],[3,"ngTemplateOutlet"]],template:function(t,e){1&t&&(i.F$t(),i.TgZ(0,"header",0),i.TgZ(1,"h1",1),i._uU(2),i.YNc(3,$s,1,0,"tui-tag",2),i.YNc(4,Ys,1,2,"tui-tag",3),i.qZA(),i.YNc(5,Gs,2,2,"tui-tabs-with-more",4),i._UZ(6,"tui-doc-source-code",5),i.qZA(),i.TgZ(7,"div",6),i.Hsn(8),i.YNc(9,Js,1,1,"tui-doc-see-also",7),i.YNc(10,Qs,2,1,"ng-container",8),i.qZA()),2&t&&(i.xp6(2),i.hij(" ",e.header," "),i.xp6(1),i.Q6J("ngIf",!!e.deprecated||""===e.deprecated),i.xp6(1),i.Q6J("ngIf",e.package),i.xp6(1),i.Q6J("ngIf",e.tabConnectors.length),i.xp6(1),i.Q6J("header",e.header)("package",e.package)("path",e.path)("type",e.type),i.xp6(3),i.Q6J("ngIf",e.showSeeAlso),i.xp6(1),i.Q6J("ngForOf",e.tabConnectors))},directives:[w.O5,Da,w.sg,Yr,vr,Qe,ur,Vi.yS,Vi.Od,Aa,w.tP],pipes:[Ke],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;min-height:0;flex-basis:0;flex-grow:1}.t-header[_ngcontent-%COMP%]{display:flex;font:var(--tui-font-heading-3);flex-wrap:wrap;min-height:7.25rem;color:var(--tui-text-01);box-shadow:inset 0 -1px 0 0 var(--tui-base-03);padding:3.75rem 0 0;box-sizing:border-box;flex-shrink:0;margin:0 min(10vw,8.75rem)}tui-root._mobile[_nghost-%COMP%] .t-header[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{font:var(--tui-font-heading-4);min-height:4.5rem;padding:1.25rem 1.25rem 0;margin:0}.t-title[_ngcontent-%COMP%]{min-width:100%;font-size:inherit;margin:0}.t-tag[_ngcontent-%COMP%]{vertical-align:middle;text-transform:uppercase;margin-right:.5rem}.t-tag_deprecated[_ngcontent-%COMP%]{background-color:var(--tui-error-fill)}.t-tag.t-tag_package[_ngcontent-%COMP%]{color:#000}.t-tabs[_ngcontent-%COMP%]{flex:1;margin:1.125rem .3125rem 0 0}tui-root._mobile[_nghost-%COMP%] .t-tabs[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-tabs[_ngcontent-%COMP%]{margin-top:.25rem}.t-content[_ngcontent-%COMP%]{padding:2rem 0;margin:0 min(10vw,8.75rem)}tui-root._mobile[_nghost-%COMP%] .t-content[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:2rem 1.25rem;margin:0}.t-see-also[_ngcontent-%COMP%]{min-width:18.75rem;width:30%;float:right;margin-left:1.5rem}tui-root._mobile[_nghost-%COMP%] .t-see-also[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-see-also[_ngcontent-%COMP%]{float:none;width:100%;margin:0 0 1.5rem}.t-source-code[_ngcontent-%COMP%]{align-self:flex-end;line-height:2.75rem;margin-left:auto}"],changeDetection:0}),t})(),Va=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,Vi.Bz,Ia,_r,Zr,Na,tn]]}),t})()},64548:function(t,e,n){"use strict";n.d(e,{mT:function(){return d},lW:function(){return p},AC:function(){return f},ru:function(){return y},IK:function(){return b},$_:function(){return m},Es:function(){return v},mv:function(){return w},et:function(){return _},oq:function(){return g},Or:function(){return M},_Z:function(){return E},gG:function(){return C},V5:function(){return P},V1:function(){return S},n1:function(){return T},EI:function(){return x},UL:function(){return A},VX:function(){return k},yO:function(){return I},as:function(){return O},Yx:function(){return D},Ii:function(){return N}});var i=n(11927),r=n(74788),o=n(44427),s=n(54487),a=n(41439),l=n(41291),c=n(25917),u=n(43190),h=n(79456);const d=(0,i.JN)(""),p=new r.OlP("[TUI_DOC_CODE_EDITOR]"),f=(0,i.JN)([]),g=(0,i.JN)({search:"tuiIconSearch",day:"tuiIconSun",night:"tuiIconMoon",code:"tuiIconCode",menu:"tuiIconMenuLarge"}),m=(0,i.JN)(s.y),v=(0,i.JN)(o.vi),_=(0,i.JN)(new Set([])),y=(0,i.JN)(["Read more more about modes: ","Background","Form value"]),b=(0,i.JN)(["Argument","Type","Name and description","Value","Learn about our dynamic templates from "]),w=(0,i.JN)(["Preview","Link to a sample was successfully copied","Done"]),C=(0,i.JN)("Menu"),x=(0,i.JN)("Search"),k=(0,i.JN)("See also"),O=(0,i.JN)("Source code"),M=(0,i.JN)(""),S=(0,i.JN)((0,a.P)(()=>(0,l.H)(200).pipe((0,u.w)(()=>(0,c.of)(!0))))),P=(0,i.JN)([]),E=(0,i.N1)(()=>(0,o.S4)((0,r.f3M)(P))),T=(0,i.N1)(()=>(0,r.f3M)(h.TK)?"auto":"smooth"),A=(0,i.JN)([]),I=(0,i.JN)(null),D=(0,i.JN)(""),N=(0,i.JN)(String)},44427:function(t,e,n){"use strict";n.d(e,{p8:function(){return a},cd:function(){return s},Ve:function(){return l},sj:function(){return c},JQ:function(){return h},vP:function(){return d},S4:function(){return p},OO:function(){return g},vi:function(){return u}});var i=n(4841),r=n.n(i),o=n(97582);function s(t){return"true"===(null==t?void 0:t.toString())}function a(t){const e=String(t).trim();if(function(t){return["undefined","null","NaN"].includes(t)}(e))return null;if(function(t){return"true"===t||"false"===t}(e))return"true"===String(e);if(function(t){return!!t.trim()&&!Number.isNaN(Number(t))&&!t.startsWith("+")}(e))return Number(e);const n=decodeURIComponent(e);try{return function(t){return t.startsWith("[")&&t.endsWith("]")}(n)||function(t){return t.startsWith("{")&&t.endsWith("}")}(n)?JSON.parse(n):n}catch(i){return n}}function l(t){return[{path:"",component:t,children:[{path:":tab",component:t}]}]}function c(t,e){if(null===t)return"null";switch(typeof t){case"string":return`'${t}'`;case"undefined":case"number":case"boolean":case"function":return String(t)}return t instanceof RegExp?String(t):Array.isArray(t)?function(t,e){if(0===e)return"[\u2026]";let n="",i=!0;for(let r=0;r"code"===t&&"fence"===e).map(({content:t})=>t.trim());return e.length?e:[t]}function h(t){return(0,o.mG)(this,void 0,void 0,function*(){return t instanceof Promise?(yield t).default:t})}function d(t){return(0,o.mG)(this,void 0,void 0,function*(){const e={};for(const[n,i]of Object.entries(t))i&&(e[n]=yield h(i));return e})}function p(t){const e=new Map;return t.forEach(t=>{"subPages"in t?t.subPages.forEach(t=>{e.set(t.title,t)}):e.set(t.title,t)}),e}const f={"\u0430":"f","\u0431":",","\u0432":"d","\u0433":"u","\u0434":"l","\u0435":"t","\u0451":"`","\u0436":";","\u0437":"p","\u0438":"b","\u0439":"q","\u043a":"r","\u043b":"k","\u043c":"v","\u043d":"y","\u043e":"j","\u043f":"g","\u0440":"h","\u0441":"c","\u0442":"n","\u0443":"e","\u0444":"a","\u0445":"[","\u0446":"w","\u0447":"x","\u0448":"i","\u0449":"o","\u044a":"]","\u044b":"s","\u044c":"m","\u044e":".","\u044f":"z"};function g(t){let e="";for(let n=0;n{class t{constructor(){this.pseudoHover=null,this.pseudoActive=null,this.pseudoFocus=null,this.focusable=!0,this.nativeId="",this.focusedChange=new i.vpe,this.focusVisibleChange=new i.vpe,this.focusVisible=!1,this.autoIdString=`tui_interactive_${t.autoId++}${Date.now()}`}get computedDisabled(){return this.disabled}get computedFocusable(){return!this.computedDisabled&&(this.focusable||this.focused)}get computedFocused(){var t;return!this.computedDisabled&&(null!==(t=this.pseudoFocus)&&void 0!==t?t:this.focused)}get computedFocusVisible(){var t;return!this.computedDisabled&&(null!==(t=this.pseudoFocus)&&void 0!==t?t:this.focusVisible)}get id(){return this.nativeId||this.autoIdString}updateFocused(t){this.focusedChange.emit(t)}updateFocusVisible(t){this.focusVisible!==t&&(this.focusVisible=t,this.focusVisibleChange.emit(t))}}return t.autoId=0,t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,hostVars:7,hostBindings:function(t,e){2&t&&(i.uIk("data-focused",e.pseudoFocus),i.ekj("_disabled",e.computedDisabled)("_focused",e.computedFocused)("_focus-visible",e.computedFocusVisible))},inputs:{pseudoHover:"pseudoHover",pseudoActive:"pseudoActive",pseudoFocus:"pseudoFocus",focusable:"focusable",nativeId:"nativeId"},outputs:{focusedChange:"focusedChange",focusVisibleChange:"focusVisibleChange"}}),t})();class x{}let k=(()=>{class t extends C{constructor(t,e,n){super(),this.ngControl=t,this.cdr=e,this.valueTransformer=n,this.refresh$=new a.xQ,this.onTouched=o.iD,this.onChange=o.iD,this.fallbackValue=this.getFallbackValue(),this.destroy$=new a.xQ,this.readOnly=!1,this.pseudoInvalid=null,this.ngControl&&(this.ngControl.valueAccessor=this)}get computedInvalid(){return this.interactive&&(null!==this.pseudoInvalid?this.pseudoInvalid:this.touched&&this.invalid)}get value(){var t;return null!==(t=this.previousInternalValue)&&void 0!==t?t:this.fallbackValue}set value(t){this.updateValue(t)}get safeCurrentValue(){var t;return null!==(t=this.rawValue)&&void 0!==t?t:this.fallbackValue}get invalid(){return this.safeNgControlData(({invalid:t})=>t,!1)}get valid(){return this.safeNgControlData(({valid:t})=>t,!1)}get touched(){return this.safeNgControlData(({touched:t})=>t,!1)}get disabled(){return this.safeNgControlData(({disabled:t})=>t,!1)}get interactive(){return!this.readOnly&&!this.computedDisabled}get control(){return this.safeNgControlData(({control:t})=>t,null)}get computedName(){var t,e;return null!==(e=null===(t=this.controlName)||void 0===t?void 0:t.toString())&&void 0!==e?e:null}get controlName(){var t,e,n;return null!==(n=null===(e=null===(t=this.ngControl)||void 0===t?void 0:t.name)||void 0===e?void 0:e.toString())&&void 0!==n?n:null}get rawValue(){const{ngControl:t}=this;if(null!==t)return this.fromControlValue(t instanceof r.On&&void 0===this.previousInternalValue?t.viewModel:t.value)}ngOnInit(){this.refresh$.pipe((0,h.g)(0),(0,d.O)(null),(0,p.U)(()=>{var t;return null===(t=this.ngControl)||void 0===t?void 0:t.control}),(0,f.h)(s.Pc),(0,g.x)(),(0,m.w)(t=>(0,l.T)(t.valueChanges,t.statusChanges)),(0,v.R)(this.destroy$)).subscribe(()=>{this.refreshLocalValue(this.safeCurrentValue)})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}checkControlUpdate(){this.cdr.markForCheck()}registerOnChange(t){this.onChange=e=>{t(this.toControlValue(e))},this.refresh$.next()}registerOnTouched(t){this.onTouched=t}setDisabledState(){this.checkControlUpdate()}writeValue(t){this.refreshLocalValue(this.fromControlValue(this.ngControl instanceof r.On&&void 0===this.previousInternalValue?this.ngControl.model:t))}updateFocused(t){t||this.controlMarkAsTouched(),super.updateFocused(t)}updateValue(t){this.disabled||this.valueIdenticalComparator(this.value,t)||(this.previousInternalValue=t,this.controlSetValue(t))}valueIdenticalComparator(t,e){return t===e}safeNgControlData(t,e){var n;return null!==(n=this.ngControl&&t(this.ngControl))&&void 0!==n?n:e}controlMarkAsTouched(){this.onTouched(),this.checkControlUpdate()}controlSetValue(t){this.onChange(t),this.checkControlUpdate()}refreshLocalValue(t){this.previousInternalValue=t,this.checkControlUpdate()}fromControlValue(t){return this.valueTransformer?this.valueTransformer.fromControlValue(t):t}toControlValue(t){return this.valueTransformer?this.valueTransformer.toControlValue(t):t}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(r.a5,8),i.Y36(i.sBO),i.Y36(x,8))},t.\u0275dir=i.lG2({type:t,hostVars:4,hostBindings:function(t,e){2&t&&i.ekj("_readonly",e.readOnly)("_invalid",e.computedInvalid)},inputs:{readOnly:"readOnly",pseudoInvalid:"pseudoInvalid"},features:[i.qOj]}),t})();function O(t){return{provide:k,useExisting:t}}let M=(()=>{class t{constructor(){this.change$=new a.xQ}ngOnChanges(){this.change$.next()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,features:[i.TTD]}),t})(),S=(()=>{class t extends c.y{constructor(t){super(t=>this.dialogs$.subscribe(t)),this.idService=t,this.dialogs$=new u.X([])}open(t,e={}){return new c.y(n=>{const i=Object.assign(Object.assign(Object.assign({},this.defaultOptions),e),{content:t,completeWith:t=>{n.next(t),n.complete()},$implicit:n,component:this.component,createdAt:Date.now(),id:this.idService.generate()});return this.dialogs$.next([...this.dialogs$.value,i]),()=>{this.dialogs$.next(this.dialogs$.value.filter(t=>t!==i))}})}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(_.ll))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),P=(()=>{class t extends k{getFallbackValue(){return null}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,features:[i.qOj]}),t})(),E=(()=>{class t{get safeHost(){if(!this.host)throw new y.ZB;return this.host}attach(t){this.host=t}add(t){return this.safeHost.addComponentChild(t)}remove({hostView:t}){t.destroyed||t.destroy()}addTemplate(t,e){return this.safeHost.addTemplateChild(t,e)}removeTemplate(t){t.destroyed||t.destroy()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),T=(()=>{class t{constructor(t,e,n){this.injector=t,this.el=e,n.attach(this)}get clientRect(){return this.el.nativeElement.getBoundingClientRect()}addComponentChild(e){const n=e.createInjector(this.injector),r=n.get(i._Vd).resolveComponentFactory(e.component),o=i.zs3.create({parent:n,providers:[{provide:t,useValue:this}]}),s=this.vcr.createComponent(r,void 0,o);return s.changeDetectorRef.detectChanges(),s}addTemplateChild(t,e){return this.vcr.createEmbeddedView(t,e)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.gxx),i.Y36(i.SBq),i.Y36(E))},t.\u0275dir=i.lG2({type:t,viewQuery:function(t,e){if(1&t&&i.Gf(w,5,i.s_b),2&t){let t;i.iGM(t=i.CRH())&&(e.vcr=t.first)}}}),t})(),A=(()=>{class t{constructor(t){if(this.doc=t,null!==this.style)return void this.addTheme();const e=this.doc.head.querySelectorAll("style");this.constructor.style=e[e.length-1]}get style(){return this.constructor.style}ngOnDestroy(){this.removeTheme()}addTheme(){this.style&&this.doc.head.appendChild(this.style)}removeTheme(){var t;null===(t=this.style)||void 0===t||t.remove()}}return t.style=null,t.\u0275fac=function(e){return new(e||t)(i.Y36(b.K0))},t.\u0275dir=i.lG2({type:t}),t})()},18939:function(t,e,n){"use strict";n.d(e,{T:function(){return o},z:function(){return r}});var i=n(33770);const r={enabled:!1,get assert(){return i.iD}};class o{constructor(t,e={}){this.message=t,this.context=e}}},75122:function(t,e,n){"use strict";n.d(e,{qY:function(){return a},mL:function(){return l},ae:function(){return s}});var i=n(74788),r=n(76480);const o=["*"];let s=(()=>{class t extends r.N9{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),a=(()=>{class t extends r.Er{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-dropdown-host"]],features:[i._Bn([{provide:r.N9,useExisting:s},{provide:r.Er,useExisting:t}]),i.qOj],ngContentSelectors:o,decls:3,vars:0,consts:[["viewContainer",""]],template:function(t,e){1&t&&(i.F$t(),i.Hsn(0),i.GkF(1,null,0))},styles:['[_nghost-%COMP%]{position:relative;z-index:0;display:block;height:100%}[_nghost-%COMP%]:before{content:"";display:block;overflow:hidden}.t-position-fixed-offset[_ngcontent-%COMP%]{position:fixed;left:0;top:0;pointer-events:none;visibility:hidden;width:100%;height:100%}'],changeDetection:0}),t})(),l=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},81359:function(t,e,n){"use strict";n.d(e,{tZ:function(){return w},eI:function(){return x},ex:function(){return C}});var i=n(74788),r=n(62579),o=n(40946),s=n(99434),a=n(88002),l=n(43190),c=n(46782),u=n(43219),h=n(39761),d=n(87519),p=n(12057),f=n(33770),g=n(27103),m=n(66682);function v(t,e){if(1&t&&(i.TgZ(0,"div",3),i._UZ(1,"div",4),i.qZA()),2&t){const t=i.oxw().ngIf;i.ekj("t-bar_has-horizontal",t[1])}}function _(t,e){if(1&t&&(i.TgZ(0,"div",5),i._UZ(1,"div",6),i.qZA()),2&t){const t=i.oxw().ngIf;i.ekj("t-bar_has-vertical",t[0])}}function y(t,e){if(1&t&&(i.ynx(0),i.YNc(1,v,2,2,"div",1),i.YNc(2,_,2,2,"div",2),i.BQk()),2&t){const t=e.ngIf;i.xp6(1),i.Q6J("ngIf",t[0]),i.xp6(1),i.Q6J("ngIf",t[1])}}let b=(()=>{class t{constructor(t,e,n,i,r,s){this.container=i,this.doc=r,this.el=s,this.tuiScrollbar="vertical";const{nativeElement:h}=this.el,d=(0,o.mL)(h,"mousedown"),p=(0,o.mL)(this.doc,"mousemove"),g=(0,o.mL)(this.doc,"mouseup"),v=(0,o.mL)(this.wrapper,"mousedown");(0,m.T)(v.pipe((0,a.U)(t=>this.getScrolled(t,.5,.5))),d.pipe((0,o.vm)(),(0,l.w)(t=>{const e=h.getBoundingClientRect(),n=function({clientY:t},{top:e,height:n}){return(t-e)/n}(t,e),i=function({clientX:t},{left:e,width:n}){return(t-e)/n}(t,e);return p.pipe((0,a.U)(t=>this.getScrolled(t,n,i)),(0,c.R)(g))}))).pipe((0,o.fL)(t),(0,c.R)(e)).subscribe(([t,e])=>{"vertical"===this.tuiScrollbar?this.element.scrollTop=t:this.element.scrollLeft=e}),(0,m.T)(n.pipe((0,u.p)(f.Yg)),(0,o.pt)(this.element)).pipe((0,o.fL)(t),(0,c.R)(e)).subscribe(()=>{"vertical"===this.tuiScrollbar?(h.style.top=100*this.thumb+"%",h.style.height=100*this.view+"%"):(h.style.left=100*this.thumb+"%",h.style.width=100*this.view+"%")})}get wrapper(){return this.el.nativeElement.parentElement}get scrolled(){const{scrollTop:t,scrollHeight:e,clientHeight:n,scrollLeft:i,scrollWidth:r,clientWidth:o}=this.element;return"vertical"===this.tuiScrollbar?t/(e-n):i/(r-o)}get compensation(){const{clientHeight:t,scrollHeight:e,clientWidth:n,scrollWidth:i}=this.element;return t*t/e>24&&"vertical"===this.tuiScrollbar||n*n/i>24&&"horizontal"===this.tuiScrollbar?0:"vertical"===this.tuiScrollbar?24/t:24/n}get thumb(){return this.scrolled*(1-(this.compensation||this.view))}get view(){const{clientHeight:t,scrollHeight:e,clientWidth:n,scrollWidth:i}=this.element;return"vertical"===this.tuiScrollbar?Math.ceil(t/e*100)/100:Math.ceil(n/i*100)/100}get element(){return this.container.nativeElement}getScrolled({clientY:t,clientX:e},n,i){const{offsetHeight:r,offsetWidth:o}=this.el.nativeElement,{top:s,left:a,width:l,height:c}=this.wrapper.getBoundingClientRect();return[(t-s-r*n)/(c-r)*(this.element.scrollHeight-c),(e-a-o*i)/(l-o)*(this.element.scrollWidth-l)]}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.R0b),i.Y36(g.a3,2),i.Y36(r.L1),i.Y36(s.$_),i.Y36(p.K0),i.Y36(i.SBq))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiScrollbar",""]],inputs:{tuiScrollbar:"tuiScrollbar"},features:[i._Bn([g.a3])]}),t})(),w=(()=>{class t{constructor(t,e,n){this.zone=t,this.scrollRef=e,this.animationFrame$=n,this.refresh$=this.animationFrame$.pipe((0,u.p)(300),(0,a.U)(()=>this.scrollbars),(0,h.O)([!1,!1]),(0,d.x)((t,e)=>t[0]===e[0]&&t[1]===e[1]),(0,o.Yr)(this.zone))}get scrollbars(){const{clientHeight:t,scrollHeight:e,clientWidth:n,scrollWidth:i}=this.scrollRef.nativeElement;return[Math.ceil(t/e*100)<100,Math.ceil(n/i*100)<100]}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.R0b),i.Y36(s.$_),i.Y36(r.L1))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-scroll-controls"]],decls:2,vars:3,consts:[[4,"ngIf"],["class","t-bar t-bar_vertical",3,"t-bar_has-horizontal",4,"ngIf"],["class","t-bar t-bar_horizontal",3,"t-bar_has-vertical",4,"ngIf"],[1,"t-bar","t-bar_vertical"],["tuiScrollbar","vertical",1,"t-thumb"],[1,"t-bar","t-bar_horizontal"],["tuiScrollbar","horizontal",1,"t-thumb"]],template:function(t,e){1&t&&(i.YNc(0,y,3,2,"ng-container",0),i.ALo(1,"async")),2&t&&i.Q6J("ngIf",i.lcZ(1,1,e.refresh$))},directives:[p.O5,b],pipes:[p.Ov],styles:["[_nghost-%COMP%]{position:-webkit-sticky;position:sticky;top:0;left:0;z-index:1;min-width:calc(100% - 1px);min-height:calc(100% - 1px);max-width:calc(100% - 1px);max-height:calc(100% - 1px);float:left;-webkit-margin-end:calc(-100% + 1px);margin-inline-end:calc(-100% + 1px);pointer-events:none}.t-bar[_ngcontent-%COMP%]{position:absolute;right:0;bottom:0;pointer-events:auto;animation:tuiFadeIn var(--tui-duration, .3s) ease-in-out}.t-bar_vertical[_ngcontent-%COMP%]{top:0;width:.875rem}.t-bar_horizontal[_ngcontent-%COMP%]{left:0;height:.875rem}.t-bar_has-horizontal[_ngcontent-%COMP%]{bottom:.5rem}.t-bar_has-vertical[_ngcontent-%COMP%]{right:.5rem}.t-thumb[_ngcontent-%COMP%]{position:absolute;border-radius:6.25rem;border:.25rem solid transparent;cursor:pointer;pointer-events:auto;-webkit-user-select:none;-moz-user-select:none;user-select:none;background:currentColor;background-clip:content-box;box-sizing:border-box;transition:all var(--tui-duration, .3s) ease-in-out;transition-property:width,height,opacity;opacity:.2}.t-thumb[_ngcontent-%COMP%]:hover{opacity:.24}.t-thumb[_ngcontent-%COMP%]:active{opacity:.48}.t-bar_vertical[_ngcontent-%COMP%] .t-thumb[_ngcontent-%COMP%]{right:0;width:.75rem;min-height:1.25rem}.t-bar_vertical[_ngcontent-%COMP%]:hover .t-thumb[_ngcontent-%COMP%], .t-bar_vertical[_ngcontent-%COMP%] .t-thumb[_ngcontent-%COMP%]:active{width:.875rem}.t-bar_horizontal[_ngcontent-%COMP%] .t-thumb[_ngcontent-%COMP%]{bottom:0;height:.75rem;min-width:1.25rem}.t-bar_horizontal[_ngcontent-%COMP%]:hover .t-thumb[_ngcontent-%COMP%], .t-bar_horizontal[_ngcontent-%COMP%] .t-thumb[_ngcontent-%COMP%]:active{height:.875rem}"],changeDetection:0}),t})(),C=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiScrollRef",""]],features:[i._Bn([{provide:s.$_,useExisting:i.SBq}])]}),t})(),x=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[p.ez]]}),t})()},33770:function(t,e,n){"use strict";n.d(e,{Iy:function(){return o},Ye:function(){return s},F:function(){return _},fv:function(){return y},em:function(){return b},f$:function(){return v},LZ:function(){return c},Jy:function(){return h},iD:function(){return u},Mm:function(){return l},Yg:function(){return g},bg:function(){return p},yZ:function(){return d},Kx:function(){return f},Ml:function(){return w},Lw:function(){return m}});var i=n(74788),r=n(56083);const o=()=>!1,s=()=>!0,a={bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0},l=new i.n_E,c=[],u=()=>{},h=Object.assign(Object.assign({},a),{toJSON:()=>a}),d=t=>String(t),p=(t,e)=>t===e||function(t,e){return Array.isArray(t)&&Array.isArray(e)&&!t.length&&!e.length}(t,e),f=(0,r.X$)("tuiParentAnimation",[(0,r.eR)(":leave",[(0,r.IO)(":scope > *",[(0,r.pV)()],{optional:!0})])]),g=((0,r.X$)("tuiParentStop",[(0,r.eR)(":enter",[])]),1e3/15),m=t=>"ownerSVGElement"in t?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,v="\xa0",_="\u2013",y="-",b="\u2212",w="3.56.0"},44358:function(t,e,n){"use strict";n.d(e,{UM:function(){return o}});var i=n(27788);function r(t,e,n=!0){return function(){const i=t.call(this);return Object.defineProperty(this,e,{enumerable:n,value:i}),i}}function o(t,e,n){if("function"==typeof t){const n=e;if("getter"===n.kind)return r(t,n.name);if("method"===n.kind)return function(t){let e,n=[],i=!1;return function(...r){return i&&n.length===r.length&&r.every((t,e)=>t===n[e])||(n=r,e=t.apply(this,r),i=!0),e}}(t);throw new i.jw}const{get:o,enumerable:s,value:a}=n,l=e;if(o)return{configurable:!0,enumerable:s,get:r(o,l,s)};if("function"!=typeof a)throw new i.jw;const c=a;return{configurable:!0,enumerable:s,get(){let t,e=[],n=!1;const i=(...i)=>(n&&e.length===i.length&&i.every((t,n)=>t===e[n])||(e=i,t=c.apply(this,i),n=!0),t);return Object.defineProperty(this,l,{configurable:!0,value:i}),i}}}},221:function(t,e,n){"use strict";n.d(e,{e:function(){return p},A:function(){return f}});var i=n(97582),r=n(74788),o=n(44358),s=n(40946),a=n(99434),l=n(11927),c=n(88002),u=n(39761),h=n(87519),d=n(13653);let p=(()=>{class t{constructor(t,e,n,i){var r;this.active$=t,this.zone=e,this.el=n,this.directParentActiveZone=i,this.subActiveZones=[],this.tuiActiveZoneParent=null,this.tuiActiveZoneChange=this.active$.pipe((0,c.U)(t=>!!t&&this.contains(t)),(0,u.O)(!1),(0,h.x)(),(0,d.T)(1),(0,s.Yr)(this.zone)),null===(r=this.directParentActiveZone)||void 0===r||r.addSubActiveZone(this)}set tuiActiveZoneParentSetter(t){this.setZone(t)}ngOnDestroy(){var t,e;null===(t=this.directParentActiveZone)||void 0===t||t.removeSubActiveZone(this),null===(e=this.tuiActiveZoneParent)||void 0===e||e.removeSubActiveZone(this)}contains(t){return this.el.nativeElement.contains(t)||this.subActiveZones.some((e,n,i)=>i.indexOf(e)===n&&e.contains(t))}setZone(t){var e;null===(e=this.tuiActiveZoneParent)||void 0===e||e.removeSubActiveZone(this),null==t||t.addSubActiveZone(this),this.tuiActiveZoneParent=t}addSubActiveZone(t){this.subActiveZones=[...this.subActiveZones,t]}removeSubActiveZone(t){this.subActiveZones=(0,l.WX)(this.subActiveZones,this.subActiveZones.indexOf(t))}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(a.wk),r.Y36(r.R0b),r.Y36(r.SBq),r.Y36(t,12))},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiActiveZone","",5,"ng-container"],["","tuiActiveZoneChange","",5,"ng-container"],["","tuiActiveZoneParent","",5,"ng-container"]],inputs:{tuiActiveZoneParentSetter:["tuiActiveZoneParent","tuiActiveZoneParentSetter"]},outputs:{tuiActiveZoneChange:"tuiActiveZoneChange"},exportAs:["tuiActiveZone"]}),(0,i.gn)([o.UM],t.prototype,"setZone",null),t})(),f=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})()},44541:function(t,e,n){"use strict";n.d(e,{t:function(){return r},S:function(){return o}});var i=n(74788);let r=(()=>{class t{constructor(){this.indeterminate=!1,this.checked=!1,this.tuiCheckedChange=new i.vpe}get isChecked(){return this.checked}get isIndeterminate(){return this.indeterminate}set tuiChecked(t){this.checked=t||!1,this.indeterminate=null===t}onChange({checked:t}){this.checked=t,this.indeterminate=!1,this.tuiCheckedChange.emit(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["input","tuiChecked",""],["input","tuiCheckedChange",""]],hostVars:2,hostBindings:function(t,e){1&t&&i.NdJ("change",function(t){return e.onChange(t.target)}),2&t&&i.Ikx("checked",e.isChecked)("indeterminate",e.isIndeterminate)},inputs:{tuiChecked:"tuiChecked"},outputs:{tuiCheckedChange:"tuiCheckedChange"}}),t})(),o=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},88491:function(t,e,n){"use strict";n.d(e,{q:function(){return o},c:function(){return s}});var i=n(74788),r=n(27103);let o=(()=>{class t{constructor(t){this.tuiFocusVisibleChange=t}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(r.ku))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiFocusVisibleChange",""]],outputs:{tuiFocusVisibleChange:"tuiFocusVisibleChange"},features:[i._Bn([r.a3,r.ku])]}),t})(),s=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},13633:function(t,e,n){"use strict";n.d(e,{t:function(){return r},u:function(){return o}});var i=n(74788);let r=(()=>{class t{constructor(){this.focusable=!0}get tabIndex(){return this.focusable?0:-1}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiFocusable",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.Ikx("tabIndex",e.tabIndex)},inputs:{focusable:["tuiFocusable","focusable"]}}),t})(),o=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},75059:function(t,e,n){"use strict";n.d(e,{U:function(){return h},F:function(){return d}});var i=n(74788),r=n(40946),o=n(57179),s=n(66682),a=n(88002),l=n(39761),c=n(87519),u=n(13653);let h=(()=>{class t{constructor({nativeElement:t},e){this.tuiFocusedChange=(0,s.T)((0,r.mL)(t,"focusin"),(0,r.mL)(t,"focusout")).pipe((0,a.U)(()=>(0,o.V8)(t)),(0,l.O)(!1),(0,c.x)(),(0,u.T)(1),(0,r.Yr)(e))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.R0b))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiFocusedChange",""]],outputs:{tuiFocusedChange:"tuiFocusedChange"}}),t})(),d=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},96111:function(t,e,n){"use strict";n.d(e,{co:function(){return f},VE:function(){return g},gs:function(){return p}});var i=n(74788),r=n(33770),o=n(40946),s=n(64493),a=n(29856),l=n(66682),c=n(88002),u=n(45435),h=n(87519);function d({currentTarget:t,relatedTarget:e}){return!(0,s.ve)(e)||!(0,s.ve)(t)||!t.contains(e)}let p=(()=>{class t extends a.y{constructor(t,e){super(t=>this.stream$.subscribe(t)),this.el=t,this.zone=e,this.stream$=(0,l.T)((0,o.mL)(this.el.nativeElement,"mouseenter").pipe((0,c.U)(r.Ye)),(0,o.mL)(this.el.nativeElement,"mouseleave").pipe((0,c.U)(r.Iy)),(0,o.mL)(this.el.nativeElement,"mouseout").pipe((0,u.h)(d),(0,c.U)(r.Iy))).pipe((0,h.x)(),(0,o.Yr)(this.zone))}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.SBq),i.LFG(i.R0b))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),f=(()=>{class t{constructor(t){this.tuiHoveredChange=t}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(p))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiHoveredChange",""]],outputs:{tuiHoveredChange:"tuiHoveredChange"},features:[i._Bn([p])]}),t})(),g=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},92668:function(t,e,n){"use strict";n.d(e,{Ls:function(){return o},WD:function(){return s}});var i=n(74788);class r{constructor(t){this.internalDirectiveInstance=t}get $implicit(){return this.internalDirectiveInstance.tuiLet}get tuiLet(){return this.internalDirectiveInstance.tuiLet}}let o=(()=>{class t{constructor(t,e){t.createEmbeddedView(e,new r(this))}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiLet",""]],inputs:{tuiLet:"tuiLet"}}),t})(),s=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},71486:function(t,e,n){"use strict";n.d(e,{W:function(){return h},e:function(){return d}});var i=n(74788),r=n(40946),o=n(27103),s=n(64493),a=n(45435),l=n(46782),c=n(43190),u=n(68307);let h=(()=>{class t{constructor({nativeElement:t},e,n){this.mode="scroll",(0,r.mL)(t,"wheel",{passive:!1}).pipe((0,a.h)(()=>this.enabled),(0,r.fL)(e),(0,l.R)(n)).subscribe(t=>{this.processEvent(t,!!t.deltaY,t.deltaY?t.deltaY<0:t.deltaX<0)}),(0,r.mL)(t,"touchstart",{passive:!0}).pipe((0,c.w)(({touches:e})=>{let n,{clientX:i,clientY:o}=e[0],s=0,l=0;return(0,r.mL)(t,"touchmove",{passive:!1}).pipe((0,a.h)(()=>this.enabled),(0,u.b)(t=>{const e=t.changedTouches[0];s=i-e.clientX,l=o-e.clientY,i=e.clientX,o=e.clientY,void 0===n&&(n=Math.abs(l)>Math.abs(s)),this.processEvent(t,n,n?l<0:s<0)}))}),(0,r.fL)(e),(0,l.R)(n)).subscribe()}get enabled(){return"none"!==this.mode}get overscrollBehavior(){return this.enabled?"contain":null}processEvent(t,e,n){var i;const{target:r,currentTarget:o,cancelable:a}=t;if(a&&(0,s.ve)(r)&&"range"!==(null===(i=r)||void 0===i?void 0:i.type)){if("all"===this.mode&&(e&&!o.contains((0,s.Hs)(r))||!e&&!o.contains((0,s.Hs)(r,!1))))return void t.preventDefault();if(e&&(n&&!(0,s.ty)(r,o,!0,!1)||!n&&!(0,s.ty)(r,o,!0,!0)))return void t.preventDefault();!e&&(n&&!(0,s.ty)(r,o,!1,!1)||!n&&!(0,s.ty)(r,o,!1,!0))&&t.preventDefault()}}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(o.a3,2))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiOverscroll",""]],hostVars:2,hostBindings:function(t,e){2&t&&i.Udp("overscroll-behavior",e.overscrollBehavior)},inputs:{mode:["tuiOverscroll","mode"]},features:[i._Bn([o.a3])]}),t})(),d=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},36424:function(t,e,n){"use strict";n.d(e,{L:function(){return i},B:function(){return r}});var i=(()=>{return(t=i||(i={}))[t.Sunday=0]="Sunday",t[t.Monday=1]="Monday",t[t.Tuesday=2]="Tuesday",t[t.Wednesday=3]="Wednesday",t[t.Thursday=4]="Thursday",t[t.Friday=5]="Friday",t[t.Saturday=6]="Saturday",i;var t})(),r=(()=>{return(t=r||(r={}))[t.January=0]="January",t[t.February=1]="February",t[t.March=2]="March",t[t.April=3]="April",t[t.May=4]="May",t[t.June=5]="June",t[t.July=6]="July",t[t.August=7]="August",t[t.September=8]="September",t[t.October=9]="October",t[t.November=10]="November",t[t.December=11]="December",r;var t})()},27788:function(t,e,n){"use strict";n.d(e,{I4:function(){return i},AM:function(){return r},JY:function(){return o},ZB:function(){return s},aq:function(){return a},jw:function(){return l},j2:function(){return c}}),Error,Error;class i extends Error{constructor(t){super("")}}class r extends Error{constructor(t){super("")}}class o extends Error{constructor(t){super("")}}class s extends Error{constructor(){super("")}}class a extends Error{constructor(){super("")}}class l extends Error{constructor(){super("")}}Error,Error;class c extends Error{constructor(){super("")}}Error,Error},40946:function(t,e,n){"use strict";n.d(e,{EK:function(){return S},ix:function(){return I},Xd:function(){return D},fw:function(){return N},ll:function(){return L},pt:function(){return z},vm:function(){return F},mL:function(){return P},NA:function(){return R},Yr:function(){return B},fL:function(){return j}});var i=n(27788),r=n(29856),o=n(22759),s=n(34022),a=n(41291),l=n(66682),c=n(22416),u=n(59193),h=n(77393);class d{call(t,e){return e.subscribe(new p(t))}}class p extends h.L{_next(t){}}var f=n(39761),g=n(43190),m=n(88002),v=n(87519),_=n(47349),y=n(15257),b=n(45435),w=n(79196),C=n(57057),x=n(68307),k=n(11927),O=n(33770),M=n(57179);function S(t){return new r.y(e=>{if(!t.valueChanges)throw new i.j2;t.valueChanges.pipe((0,f.O)(t.value)).subscribe(e)})}function P(t,e,n={}){return(0,o.R)(t,e,n)}function E(t=0){return(0,s.z)((0,g.w)(()=>(0,a.H)(t).pipe((0,m.U)(O.Iy),(0,f.O)(!0))),(0,v.x)())}let T,A;function I(t){const e=P(t,"blur"),{ownerDocument:n}=t;if(!n)throw new i.aq;return(!A||!T)&&(T=P(n,"mouseup",{capture:!0}).pipe(E(),(0,f.O)(!1),(0,_.d)({bufferSize:1,refCount:!0})),A=P(n,"mousedown",{capture:!0}).pipe(E(),(0,f.O)(!1),(0,_.d)({bufferSize:1,refCount:!0}))),(0,l.T)((0,c.z)(P(t,"focus").pipe((0,y.q)(1)),e.pipe((0,b.h)(()=>!(0,M.V8)(t)),(0,y.q)(1),function(t){return t.lift(new d)})).pipe((0,w.r)(),(0,C.M)(A,T,(t,e,n)=>e||n),(0,b.h)(k.Mv))).pipe((0,g.w)(()=>e.pipe((0,m.U)(O.Iy),(0,y.q)(1),(0,f.O)(!0))),(0,v.x)())}function D(t,e=Boolean){return(0,s.z)((0,g.w)(n=>e(n)?t(n):u.E))}function N(t){var e,n;return"observed"in t?t.observed:!!(null===(n=null===(e=t)||void 0===e?void 0:e.observers)||void 0===n?void 0:n.length)}function L(t){return t.changes.pipe((0,f.O)(null),(0,m.U)(()=>(0,k.gD)(t)))}function z(t){return P(t===t.ownerDocument.documentElement?t.ownerDocument:t,"scroll")}function F(){return(0,x.b)(t=>{t.stopPropagation()})}function R(t){return(0,x.b)(()=>{t.markForCheck()})}function j(t){return e=>new r.y(n=>t.runOutsideAngular(()=>e.subscribe(n)))}function B(t){return(0,s.z)(j(t),function(t){return e=>new r.y(n=>e.subscribe({next:e=>t.run(()=>n.next(e)),error:e=>t.run(()=>n.error(e)),complete:()=>t.run(()=>n.complete())}))}(t))}},27103:function(t,e,n){"use strict";n.d(e,{a3:function(){return L},gH:function(){return z},ku:function(){return F},ll:function(){return R},AQ:function(){return B},b0:function(){return j},tl:function(){return V},Fr:function(){return $},$D:function(){return Y}});var i=n(74788),r=n(74235),o=n(29856),s=n(41439),a=n(66682),l=n(22759),c=n(97968),u=n(40946),h=n(46782),d=n(87874),p=n(43219),f=n(88002),g=n(39761),m=n(87519),v=n(5304),_=n(54395),y=n(9945),b=n(43190),w=n(47349),C=n(59328),x=n(45435),k=n(62579),O=n(33770),M=n(64493),S=n(12057);const P=new i.OlP("Box model to observe changes",{providedIn:"root",factory:()=>"content-box"}),E=new i.OlP("Resize Observer API support",{providedIn:"root",factory:()=>!!(0,i.f3M)(k.m9).ResizeObserver});let T=(()=>{class t extends o.y{constructor({nativeElement:t},e,n,i){let r;return super(o=>{if(n)return r=new ResizeObserver(t=>{e.run(()=>{o.next(t)})}),r.observe(t,{box:i}),()=>{r.disconnect()};o.error("ResizeObserver is not supported in your browser")}),this.pipe((0,y.B)())}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.SBq),i.LFG(i.R0b),i.LFG(E),i.LFG(P))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();var A=n(11927),I=n(97582),D=n(59178);var N=n(99434);let L=(()=>{class t extends r.t{constructor(){super(1)}ngOnDestroy(){this.next(),this.complete()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),z=(()=>{class t{constructor(t,e){this.resolver=t,this.injector=e,this.map=new Map}addComponent(t){this.map.has(t)||this.map.set(t,this.resolver.resolveComponentFactory(t).create(this.injector))}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i._Vd),i.LFG(i.gxx))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),F=(()=>{class t extends o.y{constructor({nativeElement:t},e,n){super(t=>this.focusVisible$.subscribe(t)),this.focusVisible$=(0,u.ix)(t).pipe((0,u.NA)(e),(0,h.R)(n))}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.SBq),i.LFG(i.sBO),i.LFG(L,2))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),R=(()=>{class t{generate(){return`tui_${t.autoId++}${Date.now()}`}}return t.autoId=0,t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),j=(()=>{class t extends o.y{constructor(t,e){super(t=>this.callback$.subscribe(t)),this.callback$=(0,s.P)(()=>{let{nativeElement:n}=t;const i=[e,n];for(;n.parentElement;)n=n.parentElement,i.push(n);return(0,a.T)(...i.map(t=>(0,u.mL)(t,"scroll")))})}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.SBq),i.LFG(k.m9))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),B=(()=>{class t extends o.y{constructor(t,{nativeElement:e},n,i,r,o){super(t=>this.obscured$.subscribe(t)),this.obscured$=(0,a.T)((0,a.T)(t,(0,l.R)(i,"resize")).pipe((0,d.g)(0)),o.pipe((0,p.p)(O.Yg))).pipe((0,f.U)(()=>(0,M.PU)(e)),(0,g.O)(null),(0,m.x)(),(0,u.Yr)(n),(0,h.R)(r))}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(j,2),i.LFG(i.SBq),i.LFG(i.R0b),i.LFG(k.m9),i.LFG(L,2),i.LFG(k.L1))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),V=(()=>{class t extends T{constructor(t,e,n,i,r,o){return super(t,e,i,r),this.pipe((0,v.K)(()=>o.pipe((0,p.p)(O.Yg),(0,f.U)(()=>`${t.nativeElement.clientWidth} ${t.nativeElement.clientHeight}`),(0,m.x)(),(0,f.U)(()=>O.LZ))),(0,_.b)(0),(0,u.fL)(e),(0,y.B)(),(0,h.R)(n))}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.SBq),i.LFG(i.R0b),i.LFG(L,2),i.LFG(E),i.LFG(P),i.LFG(k.L1))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),$=(()=>{class t{constructor(t,e){this.win=t,this.platformId=e,this.cache=new Map}request(t){const e=this.cache.get(t);if(e)return e;const n=("AbortController"in this.win||(0,S.PM)(this.platformId)?function(t,e={}){const{selector:n}=e,i=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r{const r=new AbortController,o=r.signal;let s=!0,a=!1;const l=new D.w;let u;if(l.add(()=>{a=!0,s&&r.abort()}),i){if(i.signal)if(i.signal.aborted)r.abort();else{const t=i.signal,e=()=>{o.aborted||r.abort()};t.addEventListener("abort",e),l.add(()=>t.removeEventListener("abort",e))}u=Object.assign({},i,{signal:o})}else u={signal:o};return fetch(t,u).then(t=>{n?l.add((0,c.D)(n(t)).subscribe(t=>e.next(t),t=>{s=!1,a||e.error(t)},()=>{s=!1,e.complete()})):(s=!1,e.next(t),e.complete())}).catch(t=>{s=!1,a||e.error(t)}),l})}(t):(0,s.P)(()=>(0,c.D)(fetch(t)))).pipe((0,b.w)(e=>(0,I.mG)(this,void 0,void 0,function*(){if(e.ok)return e.text();throw new Error(`Failed to load ${t} (${e.statusText})`)})),(0,w.d)({bufferSize:1,refCount:!1}));return this.cache.set(t,n),n}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(k.m9),i.LFG(i.Lbi))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Y=(()=>{class t extends o.y{constructor({nativeElement:t},{timeout:e,threshold:n},i){super(r=>{(0,a.T)((0,u.mL)(t,"touchstart",{passive:!0}),(0,u.mL)(i,"touchend")).pipe((0,C.G)(),(0,x.h)(([t,e])=>!!t.touches.length&&t.touches[0].identifier===e.changedTouches[0].identifier),(0,f.U)(([t,i])=>{const r=t.touches[0].clientX-i.changedTouches[0].clientX,o=t.touches[0].clientY-i.changedTouches[0].clientY,s=i.timeStamp-t.timeStamp;return(Math.abs(r)>n||Math.abs(o)>n)&&s1}const c=/^((?!chrome|android).)*safari/i;var u=n(11927),h=n(64493),d=n(26215),p=n(41291),f=n(66682),g=n(25917),m=n(97968),v=n(59193),_=n(43190),y=n(88002),b=n(39761),w=n(9945),C=n(45435),x=n(46782),k=n(72361),O=n(57057),M=n(15257),S=n(87519),P=n(47349),E=n(79221),T=n(33770);const A=(0,u.N1)(()=>{const t={onRemovalComplete:()=>{}},e=new d.X(null),n=(0,r.f3M)(E.Th,r.XFs.Optional)||t,{onRemovalComplete:i=t.onRemovalComplete}=n;return n.onRemovalComplete=(t,r)=>{e.next(t),i.call(n,t,r)},e.pipe((0,_.w)(t=>(0,p.H)(0).pipe((0,y.U)(()=>null),(0,b.O)(t))),(0,w.B)())});function I(t,e=null){return(0,h.Wf)(t).activeElement!==t&&!t.matches(":disabled")&&!(null==e?void 0:e.contains(t))}const D=(0,u.N1)(()=>{const t=(0,r.f3M)(A),e=(0,r.f3M)(o.m9),n=(0,r.f3M)(i.K0),a=(0,s.mL)(e,"focusout"),l=(0,s.mL)(e,"focusin"),c=(0,s.mL)(e,"blur"),u=(0,s.mL)(e,"mousedown"),d=(0,s.mL)(e,"mouseup");return(0,f.T)(a.pipe((0,x.R)(u),(0,k.a)(()=>d),(0,O.M)(t),(0,C.h)(([t,e])=>I((0,h.mA)(t),e)),(0,y.U)(([{relatedTarget:t}])=>t)),c.pipe((0,y.U)(()=>n.activeElement),(0,C.h)(t=>!!(null==t?void 0:t.matches("iframe")))),l.pipe((0,_.w)(t=>{const e=(0,h.mA)(t),i=(0,h.Wf)(e);return i===n?(0,g.of)(e):function(t){return(0,f.T)((0,s.mL)(t,"focusin").pipe((0,y.U)(({target:t})=>t)),(0,s.mL)(t,"focusout").pipe((0,C.h)(({target:t,relatedTarget:e})=>!!e&&I(t)),(0,y.U)(({relatedTarget:t})=>t)))}(i).pipe((0,b.O)(e))})),u.pipe((0,_.w)(t=>{const e=(0,h.mA)(t);return n.activeElement&&n.activeElement!==n.body?a.pipe((0,M.q)(1),(0,y.U)(()=>e),(0,x.R)((0,p.H)(0))):(0,g.of)(e)}))).pipe((0,S.x)(),(0,w.B)())}),N=(0,u.JN)([]);function L(t){return{provide:N,multi:!0,useExisting:t}}const z=(0,u.N1)(()=>{var t,e;return null!==(e=null===(t=(0,r.f3M)(i.K0).querySelector("base"))||void 0===t?void 0:t.href)&&void 0!==e?e:""}),F=((0,u.N1)(()=>(0,r.f3M)(r.FYo).createRenderer(null,null)),(0,u.JN)([]));function R(t){return{provide:F,multi:!0,useExisting:t}}(0,u.N1)(()=>{var t;const e=null===(t=(0,r.f3M)(i.K0).querySelector("base"))||void 0===t?void 0:t.href;if(e)return e;const n=(0,r.f3M)(i.K0).createElement("a");return n.href="",n.pathname});const j=new r.OlP("[TUI_FOCUSABLE_ITEM_ACCESSOR]");function B(t){return{provide:j,useExisting:t}}const V=new r.OlP("[TUI_FONTS_READY]",{factory:()=>{var t;return(0,m.D)((null===(t=(0,r.f3M)(i.K0).fonts)||void 0===t?void 0:t.ready)||v.E).pipe((0,P.d)({bufferSize:1,refCount:!1}))}}),$=(0,u.N1)(()=>l((0,r.f3M)(o.s5))),Y=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/,Z=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/,q=(0,u.N1)(()=>Y.test((0,r.f3M)(o.yZ).toLowerCase())||Z.test((0,r.f3M)(o.yZ).slice(0,4).toLowerCase())),U=(0,u.N1)(()=>(0,r.f3M)(q)&&!(0,r.f3M)($)),H=(0,u.N1)(()=>{return l(t=(0,r.f3M)(o.s5))||c.test(t.userAgent.toLowerCase());var t}),G=((0,u.N1)(()=>!!(0,r.f3M)(o.m9).chrome),(0,u.N1)(()=>!!(0,r.f3M)(o.m9).Cypress)),J=(0,u.N1)(T.Iy),X=(0,u.N1)(()=>(0,r.f3M)(G)||(0,r.f3M)(J)),Q=((0,u.N1)(()=>{var t;return void 0!==(null===(t=(0,r.f3M)(o.m9))||void 0===t?void 0:t.mozCancelFullScreen)}),(0,u.N1)(()=>(0,r.f3M)(o.m9).location.host.endsWith("stackblitz.io")),(0,u.N1)(()=>{var t;return!!(null===(t=(0,r.f3M)(o.m9))||void 0===t?void 0:t.webkitConvertPointFromNodeToPage)}));(0,u.JN)("web"),(0,u.N1)(()=>(0,i.NF)((0,r.f3M)(r.Lbi))?new Range:{});const W=(0,u.N1)(()=>new r.SBq((0,r.f3M)(i.K0).documentElement)),K=(0,u.JN)({timeout:500,threshold:30}),tt=((0,u.N1)(T.Ye),(0,u.N1)(()=>(0,r.f3M)(o.m9).matchMedia("(any-pointer: coarse)").matches),new r.OlP("[TUI_WINDOW_SIZE]",{factory:()=>{const t=(0,r.f3M)(o.m9);return(0,s.mL)(t,"resize").pipe((0,b.O)(null),(0,y.U)(()=>{var e,n;const i=Math.max(t.innerWidth,(null===(e=t.visualViewport)||void 0===e?void 0:e.width)||0),r=Math.max(t.innerHeight,(null===(n=t.visualViewport)||void 0===n?void 0:n.height)||0);return{width:i,height:r,top:0,left:0,right:i,bottom:r}}),(0,P.d)({bufferSize:1,refCount:!0}))}}));(0,u.N1)(()=>(0,r.f3M)(tt).pipe((0,y.U)(({height:t})=>t))),(0,u.JN)({wheelSensitivity:.01})},41213:function(t,e,n){"use strict";function i(t){return t.toLowerCase().includes("firefox")}function r({ownerDocument:t}){var e,n,i,r,o,s,a,l;const c=null==t?void 0:t.defaultView,u=void 0!==c.safari&&"[object SafariRemoteNotification]"===(null===(n=null===(e=c.safari)||void 0===e?void 0:e.pushNotification)||void 0===n?void 0:n.toString()),h=!!(null===(r=null===(i=c.navigator)||void 0===i?void 0:i.vendor)||void 0===r?void 0:r.includes("Apple"))&&!(null===(s=null===(o=c.navigator)||void 0===o?void 0:o.userAgent)||void 0===s?void 0:s.includes("CriOS"))&&!(null===(l=null===(a=c.navigator)||void 0===a?void 0:a.userAgent)||void 0===l?void 0:l.includes("FxiOS"));return u||h}n.d(e,{oK:function(){return i},Ex:function(){return r}})},64493:function(t,e,n){"use strict";n.d(e,{ty:function(){return o},PP:function(){return s},mA:function(){return c},Wf:function(){return u},PU:function(){return h},YX:function(){return d},Hs:function(){return p},ve:function(){return a},Hn:function(){return f},dW:function(){return l},dD:function(){return g},UP:function(){return m}});var i=n(85648),r=n(11927);function o(t,e,n,i){return n?function(t,e,n){let i=t;for(;i!==e.parentElement;){if(Math.floor(i.scrollTop)>0&&!n||Math.ceil(i.scrollTop+i.clientHeight)0&&!n||Math.ceil(i.scrollLeft+i.clientWidth)!t.contains(e));return 4===m.length?m:null}function d(t,e){let{offsetTop:n,offsetLeft:i,offsetParent:r}=e;for(;l(r)&&r!==t;)n+=r.offsetTop,i+=r.offsetLeft,r=r.offsetParent;return{offsetTop:n,offsetLeft:i}}function p(t,e=!0){return null===t?null:e&&t.scrollHeight>t.clientHeight||!e&&t.scrollWidth>t.clientWidth?t:p(t.parentElement,e)}function f(t){return function(t){return function(t){return t.matches("input")}(t)||function(t){return t.matches("textarea")}(t)}(t)&&!t.readOnly||!!t.isContentEditable}function g(t=0,e=0){const n={x:t,y:e,left:t,right:t,top:e,bottom:e,width:0,height:0};return Object.assign(Object.assign({},n),{toJSON:()=>n})}function m(t){return"explicitOriginalTarget"in t?(null==t?void 0:t.explicitOriginalTarget)!==t.target:"pointerId"in t?-1===t.pointerId:"detail"in t&&"webkitForce"in t&&0===(null==t?void 0:t.detail)}n(18939)},57179:function(t,e,n){"use strict";n.d(e,{hp:function(){return s},BW:function(){return c},ie:function(){return o},V8:function(){return u},zb:function(){return h},dT:function(){return a},VR:function(){return d},Pg:function(){return p}});var i=n(64493),r=n(33770);function o({activeElement:t}){if(!(null==t?void 0:t.shadowRoot))return t;let e=t.shadowRoot.activeElement;for(;null==e?void 0:e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function s(t){const e=o(t);(0,i.dW)(e)&&e.blur()}function a(t){if(t.hasAttribute("disabled")||"-1"===t.getAttribute("tabIndex"))return!1;if((0,i.dW)(t)&&t.isContentEditable||"0"===t.getAttribute("tabIndex"))return!0;switch(t.tagName){case"BUTTON":case"SELECT":case"TEXTAREA":return!0;case"VIDEO":case"AUDIO":return t.hasAttribute("controls");case"INPUT":return"hidden"!==t.getAttribute("type");case"A":case"LINK":return t.hasAttribute("href");default:return!1}}function l(t){return!t.hasAttribute("disabled")&&("-1"===t.getAttribute("tabIndex")||a(t))}function c({initial:t,root:e,previous:n=!1,keyboard:o=!0}){if(!e.ownerDocument)return null;const s=o?a:l,c=e.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,r.Lw);for(c.currentNode=t;n?c.previousNode():c.nextNode();)if((0,i.dW)(c.currentNode)&&(t=c.currentNode),(0,i.dW)(t)&&s(t))return t;return null}function u(t){return!!(null==t?void 0:t.ownerDocument)&&o(t.ownerDocument)===t&&t.ownerDocument.hasFocus()}function h(t){if(!t.ownerDocument||!t.contains)return!1;const e=o(t.ownerDocument);return null!==e&&t.contains(e)&&t.ownerDocument.hasFocus()}function d(t,e,n){for(t+=n;t>=0&&t=e&&t=n?n:Math.round(t)}function s(t,e,n){if(t===1/0)return t;e=Math.min(e,292);const i=`${t}e`.split("e"),r=`${n(Number(`${i[0]}e${Number(i[1])+e}`))}e`.split("e");return Number(`${r[0]}e${Number(r[1])-e}`)}function a({value:t,precision:e,method:n}){switch(n){case"round":return function(t,e=0){return s(t,e,Math.round)}(t,e);case"ceil":return function(t,e=0){return s(t,e,Math.ceil)}(t,e);case"floor":return function(t,e=0){return s(t,e,Math.floor)}(t,e);default:return function(t,e=0){return s(t,e,Math.trunc)}(t,e)}}function l(t){return t?1:0}function c(t){return parseInt(t,10)}n.d(e,{Ki:function(){return i},wf:function(){return r},G1:function(){return o},h0:function(){return a},HW:function(){return l},oY:function(){return c}}),n(18939)},11927:function(t,e,n){"use strict";n.d(e,{WX:function(){return r},xT:function(){return s},JN:function(){return a},N1:function(){return l},gD:function(){return c},M8:function(){return u},Mv:function(){return h},dt:function(){return d},Pc:function(){return p},Aj:function(){return o},vK:function(){return f},pf:function(){return g}});var i=n(74788);function r(t,e){return t.slice(0,Math.max(e,0)).concat(t.slice(Math.max(e+1,0)))}function o(t){return"string"==typeof t}function s(t){return JSON.parse(JSON.stringify(t,(t,e)=>function(t){const e=o(t)?t.trim():t;return[void 0,null,NaN,""].includes(e)}(e)?void 0:e))}function a(t){return l(()=>t)}function l(t){return new i.OlP("",{factory:t})}function c(t){let e=[];return t.find((t,n,i)=>(e=i,!0)),e}function u(t,e){return Math.abs(e)>Math.abs(t)?e>0?"top":"bottom":t>0?"left":"right"}function h(t){return!t}function d(t){return"number"==typeof t}function p(t){return null!=t}function f(t,e,n){return{provide:t,deps:[[new i.FiY,new i.tp0,t]],useFactory:t=>Object.assign(Object.assign({},t||n),e)}}function g(t,e){return Array.from(t.reduce((t,n)=>t.has(n[e])?t:t.set(n[e],n),new Map).values())}},68192:function(t,e,n){"use strict";n.d(e,{N:function(){return r}});var i=n(11927);function r(t,e=function(){return Math.floor(Math.random()*Date.now())}(),n="rgba(0, 0, 0, 0.7)"){if((0,i.Aj)(t)){const i=function(t){var e;const n=(null!==(e=t.match(/url\(("?)('*)#(.*?)('*)\)/g))&&void 0!==e?e:[]).map(t=>t.slice(4,t.length-1).replace(/['"#]+/g,""));return Array.from(new Set(n))}(t).reduce((t,n)=>{const i=function(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(n),r=`id_${e}_${n}`;return t.replace(new RegExp(`"${i}"`,"g"),`"${r}"`).replace(new RegExp(`'${i}'`,"g"),`'${r}'`).replace(new RegExp(`url\\('#${i}'\\)`,"g"),`url('#${r}')`).replace(new RegExp(`url\\("#${i}"\\)`,"g"),`url("#${r}")`).replace(new RegExp(`url\\(#${i}\\)`,"g"),`url(#${r})`)},t);return function(t,e){try{const n=(new DOMParser).parseFromString(t,"text/html");return n.body.querySelectorAll("[fill^=url]").forEach(t=>t.setAttribute("fill",`${t.getAttribute("fill")} ${e}`.trim())),n.body.innerHTML.trim()}catch(n){return t}}(i,n)}return t}},43631:function(t,e,n){"use strict";n.d(e,{FP:function(){return f},D1:function(){return g},kk:function(){return u},uG:function(){return m},O4:function(){return y},c2:function(){return d},UK:function(){return h},P7:function(){return _},Ic:function(){return C},Fe:function(){return p},Sv:function(){return w},ei:function(){return v},Wk:function(){return b}});var i=n(74788),r=n(27103),o=n(76480),s=n(29856),a=n(66682),l=n(87519),c=n(46782);class u extends s.y{}function h(t){return{provide:u,multi:!0,useExisting:t}}class d{}function p(t){return{provide:d,multi:!0,useExisting:t}}let f=(()=>{class t{constructor(t,e,n){this.destroy$=t,this.drivers=e,this.vehicles=n}ngOnInit(){const t=this.vehicles.find(({type:t})=>t===this.type);(0,a.T)(...this.drivers.filter(({type:t})=>t===this.type)).pipe((0,l.x)(),(0,c.R)(this.destroy$)).subscribe(e=>{null==t||t.toggle(e)})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(r.a3,2),i.Y36(u),i.Y36(d))},t.\u0275dir=i.lG2({type:t}),t})(),g=(()=>{class t{constructor(t){this.host=t}get readOnly(){return this.host.readOnly}get disabled(){return this.host.computedDisabled}get invalid(){return this.host.computedInvalid}get focusable(){return this.host.computedFocusable}get inputMode(){return"text"}get value(){var t;return(null===(t=this.host.value)||void 0===t?void 0:t.toString())||""}process(t){}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(o.M$))},t.\u0275dir=i.lG2({type:t}),t})();class m{}function v(t){return{provide:m,deps:[[new i.tp0,m]],useFactory:e=>e.find(e=>e.type===t)}}function _(t){return{provide:m,multi:!0,useExisting:t}}class y{}function b(t,e){return{provide:y,deps:[[new i.tp0,y],e],useFactory:w(t)}}function w(t){return(e,n)=>e.find(e=>e!==n&&e.type===t)||n}function C(t){return{provide:y,multi:!0,useExisting:t}}},49941:function(t,e,n){"use strict";n.d(e,{i9:function(){return c},QF:function(){return l},eu:function(){return a},Gw:function(){return u},X9:function(){return h}});var i=n(56083);const r="{{duration}}ms ease-in-out",o={params:{duration:300}},s=300,a=(0,i.X$)("tuiHeightCollapse",[(0,i.eR)(":enter",[(0,i.oB)({height:0}),(0,i.jt)(r,(0,i.oB)({height:"*"}))],o),(0,i.eR)(":leave",[(0,i.oB)({height:"*"}),(0,i.jt)(r,(0,i.oB)({height:0}))],o)]),l=((0,i.X$)("tuiHeightCollapseList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({height:0}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({height:"*"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({height:"*"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({height:0}))])],{optional:!0})],o)]),(0,i.X$)("tuiWidthCollapse",[(0,i.eR)(":enter",[(0,i.oB)({width:0}),(0,i.jt)(r,(0,i.oB)({width:"*"}))],o),(0,i.eR)(":leave",[(0,i.oB)({width:"*"}),(0,i.jt)(r,(0,i.oB)({width:0}))],o)]),(0,i.X$)("tuiWidthCollapseList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({width:0}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({width:"*"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({width:"*"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({width:0}))])],{optional:!0})],o)]),(0,i.X$)("tuiFadeIn",[(0,i.eR)(":enter",[(0,i.oB)({opacity:0}),(0,i.jt)(r,(0,i.oB)({opacity:1}))],o),(0,i.eR)(":leave",[(0,i.oB)({opacity:1}),(0,i.jt)(r,(0,i.oB)({opacity:0}))],o)])),c=((0,i.X$)("tuiFadeInList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({opacity:0}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({opacity:1}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({opacity:1}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({opacity:0}))])],{optional:!0})],o)]),(0,i.X$)("tuiFadeInTop",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translateY(-10px)",opacity:0}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(0)",opacity:1}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"translateY(0)",opacity:1}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(-10px)",opacity:0}))],o)]),(0,i.X$)("tuiFadeInBottom",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translateY(10px)",opacity:0}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(0)",opacity:1}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"translateY(0)",opacity:1}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(10px)",opacity:0}))],o)]),(0,i.X$)("tuiDropdownAnimation",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translateY(-10px)",opacity:0}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(0)",opacity:1}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"translateY(0)",opacity:1}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(-10px)",opacity:0}))],o)])),u=((0,i.X$)("tuiScaleIn",[(0,i.eR)(":enter",[(0,i.oB)({transform:"scale(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"scale(1)"}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"scale(1)"}),(0,i.jt)(r,(0,i.oB)({transform:"scale(0)"}))],o)]),(0,i.X$)("tuiPop",[(0,i.eR)(":enter",[(0,i.oB)({transform:"scale(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"scale(1.1)"})),(0,i.jt)(r,(0,i.oB)({transform:"scale(1)"}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"scale(1)"}),(0,i.jt)(r,(0,i.oB)({transform:"scale(1.1)"})),(0,i.jt)(r,(0,i.oB)({transform:"scale(0)"}))],o)]),(0,i.X$)("tuiScaleInList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({transform:"scale(0)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"scale(1)"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({transform:"scale(1)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"scale(0)"}))])],{optional:!0})],o)]),(0,i.X$)("tuiSlideIn",[(0,i.eR)("* => left",[(0,i.oB)({transform:"translateX(-100%)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(0)"}))],o),(0,i.eR)("left => *",[(0,i.oB)({transform:"translateX(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(-100%)"}))],o),(0,i.eR)("* => right",[(0,i.oB)({transform:"translateX(100%)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(0)"}))],o),(0,i.eR)("right => *",[(0,i.oB)({transform:"translateX(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(100%)"}))],o)])),h=((0,i.X$)("tuiSlideInLeft",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translateX(-100%)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(0)"}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"translateX(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(-100%)"}))],o)]),(0,i.X$)("tuiSlideInLeftList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({transform:"translateX(-100%)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateX(0)"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({transform:"translateX(0)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateX(-100%)"}))])],{optional:!0})],o)]),(0,i.X$)("tuiSlideInRight",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translateX(100%)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(0)"}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"translateX(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(100%)"}))],o)]),(0,i.X$)("tuiSlideInRightList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({transform:"translateX(100%)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateX(0)"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({transform:"translateX(0)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateX(100%)"}))])],{optional:!0})],o)]),(0,i.X$)("tuiSlideInTop",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translate3d(0,{{start}},0)"}),(0,i.jt)(r,(0,i.oB)({transform:"translate3d(0,{{end}},0)"}))],{params:{end:0,start:"100%",duration:300}}),(0,i.eR)(":leave",[(0,i.oB)({transform:"translate3d(0,{{end}},0)"}),(0,i.jt)(r,(0,i.oB)({transform:"translate3d(0,{{start}},0)"}))],{params:{end:0,start:"100%",duration:300}})]));(0,i.X$)("tuiSlideInTopList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({transform:"translateY(100%)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateY(0)"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({transform:"translateY(0)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateY(100%)"}))])],{optional:!0})],o)]),(0,i.X$)("tuiSlideInBottom",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translateY(-100%)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(0)"}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"translateY(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(-100%)"}))],o)]),(0,i.X$)("tuiSlideInBottomList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({transform:"translateY(-100%)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateY(0)"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({transform:"translateY(0)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateY(-100%)"}))])],{optional:!0})],o)])},12628:function(t,e,n){"use strict";n.d(e,{v0:function(){return E},fN:function(){return T}});var i=n(74788),r=n(11927),o=n(76480),s=n(57179),a=n(99434),l=n(27103),c=n(75452),u=n(59193),h=n(39761),d=n(88002),p=n(87519),f=n(77320),g=n(54789),m=n(40719),v=n(12057),_=n(91489),y=n(89570);const b=["tuiButton",""];function w(t,e){1&t&&i.GkF(0)}function C(t,e){1&t&&i._UZ(0,"tui-svg",8),2&t&&i.Q6J("src",e.polymorpheusOutlet)}function x(t,e){if(1&t&&(i.TgZ(0,"span",6),i.YNc(1,C,1,1,"tui-svg",7),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",t.icon)}}function k(t,e){1&t&&i._UZ(0,"tui-svg",8),2&t&&i.Q6J("src",e.polymorpheusOutlet)}function O(t,e){if(1&t&&(i.TgZ(0,"span",9),i.YNc(1,k,1,1,"tui-svg",7),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",t.iconRight)}}function M(t,e){if(1&t&&i._UZ(0,"tui-loader",10),2&t){const t=i.oxw();i.Q6J("inheritColor",!0)("size",t.loaderSize)}}const S=["*"],P=(0,r.JN)({size:"l",shape:null,appearance:f.Nm.Primary});let E=(()=>{class t extends o.Xn{constructor(t,e,n){var i;super(),this.mode=t,this.el=e,this.options=n,this.mode$=(null===(i=this.mode)||void 0===i?void 0:i.change$)||u.E,this.appearance=null,this.disabled=!1,this.shape=this.options.shape,this.showLoader=!1,this.size=this.options.size,this.appearance$=this.mode$.pipe((0,h.O)(null),(0,d.U)(()=>this.computedAppearance),(0,p.x)())}get nativeFocusableElement(){return this.nativeDisabled?null:this.el.nativeElement}get focused(){return!this.showLoader&&(0,s.V8)(this.el.nativeElement)}get loaderSize(){return"l"===this.size||"xl"===this.size?"m":"s"}get computedAppearance(){var t;return null!==(t=this.appearance)&&void 0!==t?t:this.options.appearance||""}get nativeDisabled(){return this.computedDisabled||this.showLoader?"":null}get tabIndex(){return this.focusable?0:-1}onFocused(t){this.updateFocused(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(c.w,8),i.Y36(i.SBq),i.Y36(P))},t.\u0275cmp=i.Xpm({type:t,selectors:[["button","tuiButton",""],["button","tuiIconButton",""],["a","tuiButton",""],["a","tuiIconButton",""]],hostVars:7,hostBindings:function(t,e){1&t&&i.NdJ("focusin",function(){return e.onFocused(!0)})("focusout",function(){return e.onFocused(!1)}),2&t&&(i.Ikx("tabIndex",e.tabIndex),i.uIk("data-shape",e.shape)("data-size",e.size)("data-appearance",e.computedAppearance)("disabled",e.nativeDisabled),i.ekj("_loading",e.showLoader))},inputs:{appearance:"appearance",disabled:"disabled",icon:"icon",iconRight:"iconRight",shape:"shape",showLoader:"showLoader",size:"size"},features:[i._Bn([(0,a.FT)(t),l.a3]),i.qOj],attrs:b,ngContentSelectors:S,decls:8,vars:10,consts:[[4,"ngIf"],["tuiWrapper","",1,"t-wrapper",3,"active","appearance","disabled","hover"],[1,"t-content"],["class","t-left",4,"ngIf"],["class","t-right",4,"ngIf"],["class","t-loader",3,"inheritColor","size",4,"ngIf"],[1,"t-left"],["class","t-icon",3,"src",4,"polymorpheusOutlet"],[1,"t-icon",3,"src"],[1,"t-right"],[1,"t-loader",3,"inheritColor","size"]],template:function(t,e){1&t&&(i.F$t(),i.YNc(0,w,1,0,"ng-container",0),i.ALo(1,"async"),i.TgZ(2,"div",1),i.TgZ(3,"span",2),i.YNc(4,x,2,1,"span",3),i.Hsn(5),i.YNc(6,O,2,1,"span",4),i.qZA(),i.YNc(7,M,1,2,"tui-loader",5),i.qZA()),2&t&&(i.Q6J("ngIf",i.lcZ(1,8,e.appearance$)),i.xp6(2),i.Q6J("active",e.pseudoActive)("appearance",e.computedAppearance)("disabled",e.computedDisabled)("hover",e.pseudoHover),i.xp6(2),i.Q6J("ngIf",e.icon),i.xp6(2),i.Q6J("ngIf",e.iconRight),i.xp6(1),i.Q6J("ngIf",e.showLoader))},directives:[v.O5,_.o,y.Li,g.PN,m.kM],pipes:[v.Ov],styles:["[_nghost-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:inline-block;flex-shrink:0;vertical-align:top;border-radius:var(--tui-radius-m);-webkit-user-select:none;-moz-user-select:none;user-select:none;outline:none;color:inherit}[data-shape=rounded][_nghost-%COMP%]{border-radius:6.25rem}[data-size=xs][_nghost-%COMP%]{height:var(--tui-height-xs);font-weight:normal}[data-size=xs][data-shape=square][_nghost-%COMP%], [data-size=xs][tuiIconButton][_nghost-%COMP%]{width:var(--tui-height-xs)}[data-size=s][_nghost-%COMP%]{height:var(--tui-height-s);font-weight:normal}[data-size=s][data-shape=square][_nghost-%COMP%], [data-size=s][tuiIconButton][_nghost-%COMP%]{width:var(--tui-height-s)}[data-size=m][_nghost-%COMP%]{height:var(--tui-height-m);font:var(--tui-font-text-m);font-weight:bold}[data-size=m][data-shape=square][_nghost-%COMP%], [data-size=m][tuiIconButton][_nghost-%COMP%]{width:var(--tui-height-m)}[data-size=l][_nghost-%COMP%]{height:var(--tui-height-l);font:var(--tui-font-text-m);font-weight:bold}[data-size=l][data-shape=square][_nghost-%COMP%], [data-size=l][tuiIconButton][_nghost-%COMP%]{width:var(--tui-height-l)}[data-size=xl][_nghost-%COMP%]{height:3.75rem;font:var(--tui-font-text-m);font-weight:bold}[data-size=xl][data-shape=square][_nghost-%COMP%], [data-size=xl][tuiIconButton][_nghost-%COMP%]{width:3.75rem}[tuiIconButton][_nghost-%COMP%]{font-size:0!important}[tuiIconButton][_nghost-%COMP%] .t-left[_ngcontent-%COMP%], [tuiIconButton][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{margin:0!important}.t-loader[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;cursor:default}.t-left[_ngcontent-%COMP%]{margin-right:.5rem}[data-size=s][_nghost-%COMP%] .t-left[_ngcontent-%COMP%]{margin-right:.375rem}[data-size=xs][_nghost-%COMP%] .t-left[_ngcontent-%COMP%]{margin-right:.25rem}.t-right[_ngcontent-%COMP%]{margin:0 -.25rem 0 .25rem}[data-size=s][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{margin:0 -.25rem 0 .375rem}[data-size=xs][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{margin:0 -.125rem 0 .25rem}.t-icon[_ngcontent-%COMP%]{display:flex;max-width:100%;max-height:100%;align-items:center;justify-content:center}.t-left[_ngcontent-%COMP%], .t-right[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem}[data-size=s][_nghost-%COMP%] .t-left[_ngcontent-%COMP%], [data-size=s][_nghost-%COMP%] .t-right[_ngcontent-%COMP%], [data-size=xs][_nghost-%COMP%] .t-left[_ngcontent-%COMP%], [data-size=xs][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{width:1rem;height:1rem}[tuiIconButton][data-appearance=icon][data-size=s][_nghost-%COMP%] .t-left[_ngcontent-%COMP%], [tuiIconButton][data-appearance=icon][data-size=s][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem}.t-wrapper[_ngcontent-%COMP%]{box-sizing:border-box;cursor:pointer;isolation:isolate}[data-size=xs][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, .375rem)}[data-size=xs][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border-width:1px}[data-size=s][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, .75rem)}[data-size=m][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, 1.5rem)}[data-size=l][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, 2.25rem)}[data-size=xl][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, 2.5rem)}[data-shape=square][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%], [tuiIconButton][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0}.t-content[_ngcontent-%COMP%]{display:flex;height:100%;align-items:center;justify-content:center;text-align:center}._loading[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{opacity:0}"],changeDetection:0}),t})(),T=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[v.ez,y.wq,_.W,g.EI,m.dS]]}),t})()},75111:function(t,e,n){"use strict";n.d(e,{qi:function(){return E},gX:function(){return T},pc:function(){return I},Rs:function(){return A},vK:function(){return P}});var i=n(97582),r=n(74788),o=n(57179),s=n(33770),a=n(40946),l=n(11927),c=n(64493),u=n(44358),h=n(79588),d=n(79456),p=n(88002),f=n(98952),g=n(11557),m=n(54789),v=n(89570),_=n(12057);const y=["tuiOption",""];function b(t,e){if(1&t&&(r.ynx(0),r._uU(1),r.BQk()),2&t){const t=e.polymorpheusOutlet;r.xp6(1),r.hij(" ",t,"\n")}}function w(t,e){if(1&t&&r._UZ(0,"tui-svg",3),2&t){const t=r.oxw(2);r.Q6J("src",t.icons.more)}}function C(t,e){if(1&t&&(r.Hsn(0),r.YNc(1,w,1,1,"tui-svg",2)),2&t){const t=r.oxw();r.xp6(1),r.Q6J("ngIf",t.dropdown)}}const x=function(t){return{$implicit:t}},k=["*"];function O(t,e){if(1&t&&(r.ynx(0),r._uU(1),r.BQk()),2&t){const t=e.polymorpheusOutlet;r.xp6(1),r.hij(" ",t," ")}}function M(t,e){if(1&t&&(r.TgZ(0,"div",2),r.YNc(1,O,2,1,"ng-container",3),r.ALo(2,"async"),r.qZA()),2&t){const t=r.oxw();r.xp6(1),r.Q6J("polymorpheusOutlet",t.emptyContent||r.lcZ(2,1,t.defaultEmptyContent$))}}function S({currentTarget:t}){return!(0,o.V8)(t)}let P=(()=>{class t{constructor(t,e,n,i,r,o){this.content=t,this.dataList=e,this.el=n,this.host=i,this.dropdown=r,this.icons=o,this.size=null,this.role="option",this.disabled=!1}get active(){return!!this.dropdown&&!!this.dropdown.dropdownBoxRef}onClick(){this.host&&void 0!==this.value&&this.host.handleOption(this.value)}onMouseMove({currentTarget:t}){t.focus({preventScroll:!0})}ngOnDestroy(){var t;null===(t=this.dataList)||void 0===t||t.handleFocusLossIfNecessary(this.el.nativeElement)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(d.IQ,8),r.Y36((0,r.Gpc)(()=>E),8),r.Y36(r.SBq),r.Y36(d.N1,8),r.Y36(f.td,10),r.Y36(d.Gs))},t.\u0275cmp=r.Xpm({type:t,selectors:[["button","tuiOption",""],["a","tuiOption",""]],hostAttrs:["tabIndex","-1","type","button"],hostVars:5,hostBindings:function(t,e){1&t&&r.NdJ("click",function(){return e.onClick()})("mousemove.silent",function(t){return e.onMouseMove(t)}),2&t&&(r.uIk("disabled",e.disabled||null)("data-size",e.size)("role",e.role),r.ekj("_with-dropdown",e.active))},inputs:{size:"size",role:"role",disabled:"disabled",value:"value"},attrs:y,ngContentSelectors:k,decls:3,vars:4,consts:[[4,"polymorpheusOutlet","polymorpheusOutletContext"],["base",""],["class","t-arrow",3,"src",4,"ngIf"],[1,"t-arrow",3,"src"]],template:function(t,e){if(1&t&&(r.F$t(),r.YNc(0,b,2,1,"ng-container",0),r.YNc(1,C,2,1,"ng-template",null,1,r.W1O)),2&t){const t=r.MAs(2);r.Q6J("polymorpheusOutlet",e.content||t)("polymorpheusOutletContext",r.VKq(2,x,t))}},directives:[v.Li,_.O5,m.PN],styles:['[_nghost-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;justify-content:space-between;text-align:left;color:var(--tui-text-01);border-radius:var(--tui-radius-s);outline:none;cursor:pointer;background-clip:padding-box}[_nghost-%COMP%]:disabled{opacity:var(--tui-disabled-opacity);cursor:default}[_nghost-%COMP%]:focus, ._with-dropdown[_nghost-%COMP%]{background-color:var(--tui-clear)}[_nghost-%COMP%] [data-list-size="s"][_nghost-%COMP%], [data-list-size="s"] [_nghost-%COMP%], [_nghost-%COMP%] [data-list-size="xs"][_nghost-%COMP%], [data-list-size="xs"] [_nghost-%COMP%], [data-size=s][data-size=s][_nghost-%COMP%], [data-size=xs][data-size=xs][_nghost-%COMP%]{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-s);min-height:2rem;padding:.3125rem .5rem}[_nghost-%COMP%] [data-list-size="m"][_nghost-%COMP%], [data-list-size="m"] [_nghost-%COMP%], [data-size=m][data-size=m][_nghost-%COMP%]{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-s);min-height:2.5rem;padding:.375rem .5rem}[_nghost-%COMP%] [data-list-size="l"][_nghost-%COMP%], [data-list-size="l"] [_nghost-%COMP%], [data-size=l][data-size=l][_nghost-%COMP%]{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-m);min-height:2.75rem;padding:.375rem .625rem}.t-arrow[_ngcontent-%COMP%]{margin:0 -.5rem 0 .75rem}'],changeDetection:0}),(0,i.gn)([(0,g.uX)(S)],t.prototype,"onMouseMove",null),t})(),E=(()=>{class t{constructor(t,e,n){var i;this.controller=t,this.el=e,this.defaultEmptyContent$=n,this.options=s.Mm,this.role="listbox",this.size=(null===(i=this.controller)||void 0===i?void 0:i.size)||"m"}get empty$(){return(0,a.ll)(this.options).pipe((0,p.U)(({length:t})=>!t))}onFocusIn(t,e){!e.contains(t)&&!this.origin&&(this.origin=t)}noop(){}onKeyDownArrow(t,e){const{elements:n}=this;(0,o.VR)(n.indexOf(t),n,e)}handleFocusLossIfNecessary(t=this.el.nativeElement){this.origin&&(0,o.zb)(t)&&(0,o.Pg)(this.origin,!0,!0)}getOptions(t=!1){return this.options.filter(({disabled:e})=>t||!e).map(({value:t})=>t).filter(l.Pc)}onFocus({target:t},e){if(!(0,c.ve)(t))return;const{elements:n}=this;(0,o.VR)(e?-1:n.length,n,e?1:-1),this.handleFocusLossIfNecessary(t)}get elements(){return Array.from(this.el.nativeElement.querySelectorAll("[tuiOption]"))}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(h.Cs,8),r.Y36(r.SBq),r.Y36(d.PH))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-data-list"]],contentQueries:function(t,e,n){if(1&t&&r.Suo(n,P,5),2&t){let t;r.iGM(t=r.CRH())&&(e.options=t)}},hostVars:2,hostBindings:function(t,e){1&t&&r.NdJ("focusin",function(t){return e.onFocusIn(t.relatedTarget,t.currentTarget)})("mousedown.prevent",function(){return e.noop()})("keydown.arrowDown.prevent",function(t){return e.onKeyDownArrow(t.target,1)})("keydown.arrowUp.prevent",function(t){return e.onKeyDownArrow(t.target,-1)})("wheel.silent.passive",function(){return e.handleFocusLossIfNecessary()})("mouseleave",function(t){return e.handleFocusLossIfNecessary(t.target)}),2&t&&r.uIk("role",e.role)("data-list-size",e.size)},inputs:{role:"role",emptyContent:"emptyContent",size:"size"},features:[r._Bn([(0,d.RB)(t),h.Y0])],ngContentSelectors:k,decls:5,vars:3,consts:[["tabindex","0",1,"t-trap",3,"focusin"],["class","t-empty",4,"ngIf"],[1,"t-empty"],[4,"polymorpheusOutlet"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"div",0),r.NdJ("focusin",function(t){return e.onFocus(t,!0)}),r.qZA(),r.Hsn(1),r.YNc(2,M,3,3,"div",1),r.ALo(3,"async"),r.TgZ(4,"div",0),r.NdJ("focusin",function(t){return e.onFocus(t,!1)}),r.qZA()),2&t&&(r.xp6(2),r.Q6J("ngIf",r.lcZ(3,1,e.empty$)))},directives:[_.O5,v.Li],pipes:[_.Ov],styles:['tui-data-list{--tui-data-list-padding: .25rem;--tui-data-list-margin: .0625rem;display:flex;font:var(--tui-font-text-m);flex-direction:column;padding:calc(var(--tui-data-list-padding) - var(--tui-data-list-margin)) var(--tui-data-list-padding);color:var(--tui-text-03)}tui-data-list:focus-within .t-trap{display:none}tui-data-list:focus-within [tuiOption]._with-dropdown:not(:focus){background-color:transparent}tui-data-list[data-list-size=s]{--tui-data-list-margin: 0rem}tui-data-list[data-list-size=s]>.t-empty{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-s);min-height:2rem;padding:.3125rem .5rem}tui-data-list[data-list-size=m]>.t-empty{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-s);min-height:2.5rem;padding:.375rem .5rem}tui-data-list[data-list-size=l]{--tui-data-list-padding: .375rem;--tui-data-list-margin: .125rem}tui-data-list[data-list-size=l]>.t-empty{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-m);min-height:2.75rem;padding:.375rem .625rem}tui-opt-group{position:relative;display:flex;font:var(--tui-font-text-xs);color:var(--tui-text-02);flex-direction:column;line-height:1rem}tui-data-list[data-list-size=l] tui-opt-group{font:var(--tui-font-text-s);line-height:1.25rem}tui-data-list[data-list-size=l] tui-opt-group:before{padding-left:.625rem;padding-right:.625rem}tui-data-list[data-list-size=l] tui-opt-group:after{left:.625rem;right:.625rem}tui-opt-group:empty:before,tui-opt-group:empty:after{display:none}tui-opt-group:before{content:attr(data-label);padding:var(--tui-data-list-padding) .5rem var(--tui-data-list-padding);margin:var(--tui-data-list-margin) 0;white-space:normal;word-break:break-word}tui-opt-group:after{position:absolute;left:.5rem;right:.5rem;top:var(--tui-data-list-padding);height:1px;background:var(--tui-base-03)}tui-opt-group:not(:empty)~tui-opt-group:before{padding-top:calc(.75rem + var(--tui-data-list-padding))}tui-opt-group:not(:empty)~tui-opt-group[data-label=""]:before,tui-opt-group:not(:empty)~tui-opt-group:not([data-label]):before{padding:var(--tui-data-list-padding) 0}tui-opt-group:not(:empty)~tui-opt-group:after{content:""}tui-opt-group[data-label=""]:before,tui-opt-group:not([data-label]):before{padding:0;margin:0}\n'],encapsulation:2,changeDetection:0}),(0,i.gn)([u.UM],t.prototype,"empty$",null),t})(),T=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["ng-template","tuiDataList",""]]}),t})(),A=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["tui-opt-group"]],hostAttrs:["role","group"],hostVars:1,hostBindings:function(t,e){2&t&&r.uIk("data-label",e.label)},inputs:{label:"label"}}),t})(),I=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[_.ez,m.EI,v.wq]]}),t})()},95974:function(t,e,n){"use strict";n.d(e,{gZ:function(){return a},n6:function(){return l}});var i=n(74788),r=n(27103),o=n(12057);let s=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-group-styles"],decls:0,vars:0,template:function(t,e){},styles:[".tui-group{position:relative;display:flex;isolation:isolate}.tui-group>*{flex:1 1 0;min-width:0}.tui-group>*:not(:last-child){margin-right:.125rem}.tui-group.tui-group>*:nth-child(n){border-radius:0}.tui-group_collapsed>*{z-index:1}.tui-group_collapsed>*:not(:last-child){margin-right:-1px}.tui-group_collapsed>*._readonly,.tui-group_collapsed>*._disabled,.tui-group_collapsed>*._readonly:hover,.tui-group_collapsed>*._disabled:hover{z-index:0}.tui-group_collapsed>*:hover,.tui-group_collapsed>*._hovered,.tui-group_collapsed>*._pressed{z-index:3}.tui-group_collapsed>*._invalid{z-index:2}.tui-group_collapsed>*._invalid:hover,.tui-group_collapsed>*._invalid._hovered,.tui-group_collapsed>*._invalid._pressed{z-index:4}.tui-group_collapsed>*._hosted_dropdown_focused,.tui-group_collapsed>*._focus-visible,.tui-group_collapsed>*._focused.ng-touched,.tui-group_collapsed>*._focused.ng-untouched{z-index:5}.tui-group_collapsed>*._active,.tui-group_collapsed>*[data-appearance=whiteblock-active]{z-index:6}.tui-group_collapsed>*._focus-visible._focused,.tui-group_collapsed>*._focus-visible._active,.tui-group_collapsed>*._focus-visible[data-appearance=whiteblock-active]{z-index:7}.tui-group_orientation_vertical{display:inline-flex;flex-direction:column}.tui-group_orientation_vertical>*{min-height:auto;flex:0 0 auto}.tui-group_orientation_vertical>*:not(:last-child){margin-right:0;margin-bottom:.125rem}.tui-group_orientation_vertical.tui-group_collapsed>*:not(:last-child){margin-right:0;margin-bottom:-1px}.tui-group_rounded.tui-group_orientation_horizontal>*:first-child{border-top-left-radius:var(--tui-radius-m);border-bottom-left-radius:var(--tui-radius-m)}.tui-group_rounded.tui-group_orientation_horizontal>*:last-child{border-top-right-radius:var(--tui-radius-m);border-bottom-right-radius:var(--tui-radius-m)}.tui-group_rounded.tui-group_orientation_horizontal.tui-group_radius_large>*:first-child{border-top-left-radius:var(--tui-radius-l);border-bottom-left-radius:var(--tui-radius-l)}.tui-group_rounded.tui-group_orientation_horizontal.tui-group_radius_large>*:last-child{border-top-right-radius:var(--tui-radius-l);border-bottom-right-radius:var(--tui-radius-l)}.tui-group_rounded.tui-group_orientation_vertical>*:first-child{border-top-left-radius:var(--tui-radius-m);border-top-right-radius:var(--tui-radius-m)}.tui-group_rounded.tui-group_orientation_vertical>*:last-child{border-bottom-left-radius:var(--tui-radius-m);border-bottom-right-radius:var(--tui-radius-m)}.tui-group_rounded.tui-group_orientation_vertical.tui-group_radius_large>*:first-child{border-top-left-radius:var(--tui-radius-l);border-top-right-radius:var(--tui-radius-l)}.tui-group_rounded.tui-group_orientation_vertical.tui-group_radius_large>*:last-child{border-bottom-left-radius:var(--tui-radius-l);border-bottom-right-radius:var(--tui-radius-l)}@media screen and (max-width: 47.9625em){.tui-group_rounded.tui-group_adaptive.tui-group_orientation_vertical:not(.tui-group_collapsed)>*:first-child:not(:last-child),.tui-group_rounded.tui-group_adaptive.tui-group_orientation_horizontal>*:first-child:not(:last-child),.tui-group_rounded.tui-group_adaptive.tui-group_orientation_vertical:not(.tui-group_collapsed)>*:last-child:not(:first-child),.tui-group_rounded.tui-group_adaptive.tui-group_orientation_horizontal>*:last-child:not(:first-child){border-radius:var(--tui-radius-m)}}@media screen and (max-width: 47.9625em){.tui-group_rounded.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical:not(.tui-group_collapsed)>*:first-child:not(:last-child),.tui-group_rounded.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal>*:first-child:not(:last-child),.tui-group_rounded.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical:not(.tui-group_collapsed)>*:last-child:not(:first-child),.tui-group_rounded.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal>*:last-child:not(:first-child){border-radius:var(--tui-radius-l)}}@media screen and (max-width: 47.9625em){.tui-group_adaptive.tui-group_orientation_vertical{width:100%}.tui-group_adaptive.tui-group_orientation_vertical>*:nth-child(n):not(:only-child){border-radius:var(--tui-radius-m)}.tui-group_adaptive.tui-group_orientation_vertical>*:not(:last-child){margin-bottom:1rem}.tui-group_adaptive.tui-group_orientation_vertical.tui-group_collapsed>*:nth-child(n):not(:only-child){border-radius:0}.tui-group_adaptive.tui-group_orientation_vertical.tui-group_collapsed>*:first-child:not(:last-child){border-radius:var(--tui-radius-m) var(--tui-radius-m) 0 0}.tui-group_adaptive.tui-group_orientation_vertical.tui-group_collapsed>*:last-child:not(:first-child){border-radius:0 0 var(--tui-radius-m) var(--tui-radius-m)}.tui-group_adaptive.tui-group_orientation_vertical.tui-group_collapsed>*:not(:last-child){margin-bottom:-1px}}@media screen and (max-width: 47.9625em){.tui-group_adaptive.tui-group_orientation_horizontal{flex-direction:column;width:100%}.tui-group_adaptive.tui-group_orientation_horizontal>*:nth-child(n):not(:only-child){border-radius:var(--tui-radius-m)}.tui-group_adaptive.tui-group_orientation_horizontal>*:not(:last-child){margin-right:0;margin-bottom:1rem}.tui-group_adaptive.tui-group_orientation_horizontal.tui-group_collapsed>*:nth-child(n):not(:only-child){border-radius:0}.tui-group_adaptive.tui-group_orientation_horizontal.tui-group_collapsed>*:first-child:not(:last-child){border-radius:var(--tui-radius-m) var(--tui-radius-m) 0 0}.tui-group_adaptive.tui-group_orientation_horizontal.tui-group_collapsed>*:last-child:not(:first-child){border-radius:0 0 var(--tui-radius-m) var(--tui-radius-m)}.tui-group_adaptive.tui-group_orientation_horizontal.tui-group_collapsed>*:not(:last-child){margin-right:0;margin-bottom:-1px}}@media screen and (max-width: 47.9625em){.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical>*:nth-child(n):not(:only-child){border-radius:var(--tui-radius-l)}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical.tui-group_collapsed>*:nth-child(n):not(:only-child){border-radius:0}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical.tui-group_collapsed>*:first-child:not(:last-child){border-radius:var(--tui-radius-l) var(--tui-radius-l) 0 0}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical.tui-group_collapsed>*:last-child:not(:first-child){border-radius:0 0 var(--tui-radius-l) var(--tui-radius-l)}}@media screen and (max-width: 47.9625em){.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal>*:nth-child(n):not(:only-child){border-radius:var(--tui-radius-l)}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal.tui-group_collapsed>*:nth-child(n):not(:only-child){border-radius:0}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal.tui-group_collapsed>*:first-child:not(:last-child){border-radius:var(--tui-radius-l) var(--tui-radius-l) 0 0}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal.tui-group_collapsed>*:last-child:not(:first-child){border-radius:0 0 var(--tui-radius-l) var(--tui-radius-l)}}.tui-group__auto-width-item{min-width:auto;flex:0 0 auto}.tui-group .tui-group__inherit-item{border-radius:inherit}\n"],encapsulation:2,changeDetection:0}),t})(),a=(()=>{class t{constructor(t){this.orientation="horizontal",this.adaptive=!1,this.collapsed=!1,this.rounded=!0,this.size="m",t.addComponent(s)}get orientationHorizontal(){return"horizontal"===this.orientation}get orientationVertical(){return"vertical"===this.orientation}get sizeLarge(){return"l"===this.size}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(r.gH))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiGroup","",5,"ng-container"]],hostAttrs:["role","group",1,"tui-group"],hostVars:12,hostBindings:function(t,e){2&t&&i.ekj("tui-group_adaptive",e.adaptive)("tui-group_collapsed",e.collapsed)("tui-group_rounded",e.rounded)("tui-group_orientation_horizontal",e.orientationHorizontal)("tui-group_orientation_vertical",e.orientationVertical)("tui-group_radius_large",e.sizeLarge)},inputs:{orientation:"orientation",adaptive:"adaptive",collapsed:"collapsed",rounded:"rounded",size:"size"}}),t})(),l=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[o.ez]]}),t})()},23917:function(t,e,n){"use strict";n.d(e,{o1:function(){return q},jh:function(){return U}});var i=n(74788),r=n(43631),o=n(221),s=n(40946),a=n(27103),l=n(79765),c=n(88002);let u=(()=>{class t{constructor(t,e){this.enabled$=new l.xQ;const n=e.pipe((0,c.U)(e=>!!e&&(!t||!e.length||e.every(e=>!t.contains(e)))));this.tuiObscured=this.enabled$.pipe((0,s.Xd)(()=>n))}set tuiObscuredEnabled(t){this.enabled$.next(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(o.e,8),i.Y36(a.AQ,2))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiObscured",""]],inputs:{tuiObscuredEnabled:"tuiObscuredEnabled"},outputs:{tuiObscured:"tuiObscured"},features:[i._Bn([a.AQ,a.b0,a.a3])]}),t})(),h=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();var d=n(92668),p=n(64493),f=n(57179),g=n(99434),m=n(98952),v=n(45435),_=n(46782),y=n(43190),b=n(87874),w=n(13653),C=n(87519),x=n(9945),k=n(26215),O=n(9112),M=n(25917),S=n(59193),P=n(66682),E=n(97582),T=n(66640),A=n(11557),I=n(89570),D=n(12057);const N=["wrapper"];function L(t,e){if(1&t&&(i.TgZ(0,"div",8),i._uU(1),i.qZA()),2&t){const t=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",t," ")}}const z=function(t,e){return{$implicit:t,close:e}};function F(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"div",5,6),i.NdJ("keydown",function(e){return i.CHM(t),i.oxw(2).onKeydown(e)}),i.YNc(2,L,2,1,"div",7),i.qZA(),i._UZ(3,"div")}if(2&t){i.oxw();const t=i.MAs(1),e=i.oxw();i.xp6(2),i.Q6J("polymorpheusOutlet",e.content)("polymorpheusOutletContext",i.WLB(2,z,t,e.close))}}function R(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"div",1,2),i.NdJ("tuiActiveZoneChange",function(e){return i.CHM(t),i.oxw().onActiveZone(e)})("tuiObscured",function(e){return i.CHM(t),i.oxw().onHostObscured(e)}),i.Hsn(2),i.YNc(3,F,4,5,"ng-template",3,4,i.W1O),i.qZA()}if(2&t){const t=e.tuiLet,n=i.MAs(4),r=i.oxw();i.Q6J("tuiDropdown",n)("tuiDropdownManual",t&&r.canOpen)("tuiDropdownSided",r.sided)("tuiObscuredEnabled",t),i.xp6(3),i.Q6J("polymorpheus",r.context)}}const j=["*"];let B=(()=>{class t extends r.uG{constructor(){super(...arguments),this.type="dummy"}getPosition(){return[0,0]}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,selectors:[["","tuiAccessorProxy",""]],features:[i._Bn([{provide:r.uG,multi:!0,deps:[[new i.FiY,new i.tp0,t],t],useFactory:(t,e)=>t||e}]),i.qOj]}),t})();const V=new i.OlP("[TUI_HOSTED_DROPDOWN_COMPONENT]");let $=(()=>{class t{constructor(t,e,n,i){null==i||i.tuiDropdownOpenChange.pipe((0,v.h)(t=>t&&i.dropdown===n&&!e.focused),(0,_.R)(t)).subscribe(()=>{var t;null===(t=e.nativeFocusableElement)||void 0===t||t.focus(),e.updateOpen(!0)})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(a.a3,2),i.Y36(V),i.Y36(m.td,2),i.Y36(m.oH,8))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiDropdownOpenMonitor",""]],features:[i._Bn([a.a3])]}),t})(),Y=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiHostedDropdownHost",""]]}),t})();function Z(t){var e;return"key"in t&&"escape"===t.key.toLowerCase()&&this.canOpen&&this.open&&!(null===(e=this.dropdown)||void 0===e?void 0:e.nextElementSibling)}let q=(()=>{class t{constructor(t,e){this.hover$=t,this.el=e,this.openChange$=new k.X(!1),this.hostHover$=(0,O.aj)([(0,s.mL)(this.el.nativeElement,"mouseover").pipe((0,c.U)(t=>this.computedHost.contains((0,p.mA)(t))),(0,y.w)(t=>{var e,n;return(0,M.of)(t).pipe((0,b.g)((t?null===(e=this.hover$)||void 0===e?void 0:e.showDelay:null===(n=this.hover$)||void 0===n?void 0:n.hideDelay)||0))})),this.hover$||S.E]).pipe((0,c.U)(([t,e])=>t&&e)),this.sided=!1,this.canOpen=!0,this.open$=(0,P.T)(this.openChange$,this.hostHover$).pipe((0,w.T)(1),(0,C.x)(),(0,x.B)()),this.focusedChange=new i.vpe,this.focus$=new k.X(!1),this.openChange=this.openChange$,this.close=()=>this.updateOpen(!1)}set open(t){this.openChange.next(t)}get open(){return this.openChange.value}get host(){var t;return(null===(t=this.dropdownHost)||void 0===t?void 0:t.nativeElement)||this.el.nativeElement}get computedHost(){var t;return(null===(t=this.dropdownHost)||void 0===t?void 0:t.nativeElement)||this.nativeFocusableElement||this.el.nativeElement}get dropdown(){var t,e;return null===(e=null===(t=this.dropdownDirective)||void 0===t?void 0:t.dropdownBoxRef)||void 0===e?void 0:e.location.nativeElement}get nativeFocusableElement(){return(0,f.dT)(this.host)?this.host:(0,f.BW)({initial:this.host,root:this.el.nativeElement})}get focused(){return(0,f.zb)(this.host)||this.open&&!!this.wrapper&&(0,f.zb)(this.wrapper.nativeElement)}onFocusInOut(){this.focus$.next(this.focused)}onFocusIn(t){this.computedHost.contains(t)||this.updateOpen(!1)}onClick(t){var e;!this.hostEditable&&this.computedHost.contains(t)&&!(null===(e=this.hover$)||void 0===e?void 0:e.hovered)&&this.updateOpen(!this.open)}onKeyDownEsc(t){t.preventDefault(),this.closeDropdown()}onArrow(t,e){this.focusDropdown(t,e)}onKeydown({key:t,target:e,defaultPrevented:n}){!n&&(0,T.kL)(t)&&this.hostEditable&&(0,p.dW)(e)&&!(0,p.Hn)(e)&&this.focusHost()}onActiveZone(t){this.updateFocused(t),t||this.updateOpen(!1)}onHostObscured(t){t&&this.closeDropdown()}updateOpen(t){(!t||this.canOpen)&&(this.open=t)}get hostEditable(){return(0,p.Hn)(this.computedHost)}focusDropdown(t,e){const n=this.nativeFocusableElement;if(!(n&&(0,p.dW)(n)&&(0,p.ve)(t.target)&&n.contains(t.target)))return;if(!(this.wrapper&&this.open&&this.dropdown&&(0,p.dW)(this.wrapper.nativeElement.nextElementSibling)))return this.updateOpen(!0),void((0,p.Hn)(n)||t.preventDefault());const i=(0,f.BW)({initial:e?this.wrapper.nativeElement:this.wrapper.nativeElement.nextElementSibling,root:this.wrapper.nativeElement,previous:!e});!i||(i.focus(),t.preventDefault())}closeDropdown(){this.focused&&this.focusHost(),this.updateOpen(!1)}focusHost(){const t=this.nativeFocusableElement;t&&t.focus({preventScroll:!0})}updateFocused(t){this.focusedChange.emit(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(m.E$,10),i.Y36(i.SBq))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-hosted-dropdown"]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,Y,5,i.SBq),2&t){let t;i.iGM(t=i.CRH())&&(e.dropdownHost=t.first)}},viewQuery:function(t,e){if(1&t&&(i.Gf(N,5,i.SBq),i.Gf(m.td,5),i.Gf(o.e,5)),2&t){let t;i.iGM(t=i.CRH())&&(e.wrapper=t.first),i.iGM(t=i.CRH())&&(e.dropdownDirective=t.first),i.iGM(t=i.CRH())&&(e.activeZone=t.first)}},hostVars:1,hostBindings:function(t,e){1&t&&i.NdJ("$.class._hosted_dropdown_focused",function(){return e.focus$})("focusin.capture.silent",function(){return e.onFocusInOut()})("focusout.capture.silent",function(){return e.onFocusInOut()})("focusin",function(t){return e.onFocusIn(t.target)})("click",function(t){return e.onClick(t.target)})("keydown.silent.capture",function(t){return e.onKeyDownEsc(t)},!1,i.evT)("keydown.arrowDown",function(t){return e.onArrow(t,!0)})("keydown.arrowUp",function(t){return e.onArrow(t,!1)}),2&t&&i.Ikx("$.class._hosted_dropdown_focused",e.focus$)},inputs:{content:"content",sided:"sided",canOpen:"canOpen",open:"open"},outputs:{open$:"openChange",focusedChange:"focusedChange"},features:[i._Bn([(0,g.FT)(t),{provide:B,deps:[[new i.FiY,new i.PiD,r.uG]],useFactory:t=>null==t?void 0:t[0]},{provide:V,useExisting:t}])],ngContentSelectors:j,decls:2,vars:3,consts:[["tuiAccessorProxy","","tuiDropdownOpenMonitor","","class","t-wrapper",3,"tuiDropdown","tuiDropdownManual","tuiDropdownSided","tuiObscuredEnabled","tuiActiveZoneChange","tuiObscured",4,"tuiLet"],["tuiAccessorProxy","","tuiDropdownOpenMonitor","",1,"t-wrapper",3,"tuiDropdown","tuiDropdownManual","tuiDropdownSided","tuiObscuredEnabled","tuiActiveZoneChange","tuiObscured"],["activeZone","tuiActiveZone"],[3,"polymorpheus"],["dropdown","polymorpheus"],[1,"t-dropdown",3,"keydown"],["wrapper",""],["class","t-primitive",4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-primitive"]],template:function(t,e){if(1&t&&(i.F$t(),i.YNc(0,R,5,5,"div",0),i.ALo(1,"async")),2&t){let t;i.Q6J("tuiLet",null!==(t=i.lcZ(1,1,e.open$))&&void 0!==t?t:e.openChange.value)}},directives:[d.Ls,B,$,m.td,m.VC,m.Tp,m.Cw,o.e,u,I.GL,I.Li],pipes:[D.Ov],styles:["[_nghost-%COMP%]{display:inline-flex}.t-wrapper[_ngcontent-%COMP%]{border-radius:inherit;height:inherit;flex:1 1 auto;width:100%}.t-dropdown[_ngcontent-%COMP%]{height:100%}.t-primitive[_ngcontent-%COMP%]{padding:1rem}"],changeDetection:0}),(0,E.gn)([(0,A.uX)(Z)],t.prototype,"onKeyDownEsc",null),t})(),U=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[D.ez,I.wq,d.WD,h,o.A,m.dp]]}),t})()},82847:function(t,e,n){"use strict";n.d(e,{V:function(){return y},j:function(){return b}});var i=n(74788),r=n(40946),o=n(33770),s=n(57179),a=n(27103),l=n(99434),c=n(12130),u=n(79456),h=n(66682),d=n(88002),p=n(54789),f=n(12057);const g=["tuiLink",""];function m(t,e){if(1&t&&i._UZ(0,"tui-svg",3),2&t){const t=i.oxw();i.Q6J("src",t.icon||"")}}function v(t,e){if(1&t&&i._UZ(0,"tui-svg",4),2&t){const t=i.oxw();i.Q6J("src",t.icon||"")}}const _=["*"];let y=(()=>{class t{constructor(t,e,n){this.el=t,this.mode$=e,this.pseudo=!1,this.icon="",this.iconAlign="right",this.iconRotated=!1,this.mode=null,this.focusVisible=!1,this.focusedChange=(0,h.T)((0,r.mL)(this.el.nativeElement,"focusin").pipe((0,d.U)(o.Ye)),(0,r.mL)(this.el.nativeElement,"focusout").pipe((0,d.U)(o.Iy))),n.subscribe(t=>{this.focusVisible=t})}get nativeFocusableElement(){return this.el.nativeElement}get focused(){return(0,s.V8)(this.nativeFocusableElement)}get hasIcon(){return!!this.icon}get iconAlignLeft(){return this.hasIcon&&"left"===this.iconAlign}get iconAlignRight(){return this.hasIcon&&"right"===this.iconAlign}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(u.Au),i.Y36(a.ku))},t.\u0275cmp=i.Xpm({type:t,selectors:[["a","tuiLink",""],["button","tuiLink",""]],hostVars:7,hostBindings:function(t,e){1&t&&i.NdJ("$.data-mode.attr",function(){return e.mode$}),2&t&&(i.uIk("data-host-mode",e.mode),i.ekj("_pseudo",e.pseudo)("_icon-rotated",e.iconRotated)("_focus-visible",e.focusVisible))},inputs:{pseudo:"pseudo",icon:"icon",iconAlign:"iconAlign",iconRotated:"iconRotated",mode:"mode"},exportAs:["tuiLink"],features:[i._Bn([(0,l.FT)(t),a.ku,a.a3,c.CV])],attrs:g,ngContentSelectors:_,decls:4,vars:2,consts:[["class","t-icon t-icon_left",3,"src",4,"ngIf"],[1,"t-content"],["class","t-icon t-icon_right",3,"src",4,"ngIf"],[1,"t-icon","t-icon_left",3,"src"],[1,"t-icon","t-icon_right",3,"src"]],template:function(t,e){1&t&&(i.F$t(),i.YNc(0,m,1,1,"tui-svg",0),i.TgZ(1,"span",1),i.Hsn(2),i.qZA(),i.YNc(3,v,1,1,"tui-svg",2)),2&t&&(i.Q6J("ngIf",e.iconAlignLeft),i.xp6(3),i.Q6J("ngIf",e.iconAlignRight))},directives:[f.O5,p.PN],styles:["[_nghost-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;transition-property:color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;color:var(--tui-link);text-align:left;text-transform:inherit;font-weight:inherit;cursor:pointer;outline:none}[_nghost-%COMP%]:hover{color:var(--tui-link-hover)}[_nghost-%COMP%]:disabled{opacity:var(--tui-disabled-opacity);cursor:default}[data-mode=onLight][_nghost-%COMP%]{color:var(--tui-text-02)}[data-mode=onLight][_nghost-%COMP%]:hover, [data-mode=onLight]._active[_nghost-%COMP%]{color:var(--tui-text-01)}[data-mode=onLight]._pseudo[_nghost-%COMP%]{color:var(--tui-text-01)}[data-mode=onLight]._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{-webkit-text-decoration-color:rgba(0,0,0,.48);text-decoration-color:#0000007a}[data-mode=onLight]._pseudo[_nghost-%COMP%]:hover, [data-mode=onLight]._pseudo._active[_nghost-%COMP%]{color:var(--tui-text-03)}[data-mode=onLight][data-host-mode=negative][_nghost-%COMP%]{color:var(--tui-negative-night)}[data-mode=onLight][data-host-mode=negative][_nghost-%COMP%]:hover, [data-mode=onLight][data-host-mode=negative][_nghost-%COMP%]:active, [data-mode=onLight][data-host-mode=negative]._active[_nghost-%COMP%]{color:var(--tui-negative-night-hover)}[data-mode=onDark][_nghost-%COMP%]{color:var(--tui-text-03-night)}[data-mode=onDark][_nghost-%COMP%]:hover, [data-mode=onDark][_nghost-%COMP%]:active, [data-mode=onDark]._active[_nghost-%COMP%]{color:var(--tui-text-01-night)}[data-mode=onDark]._pseudo[_nghost-%COMP%]{color:var(--tui-text-01-night)}[data-mode=onDark]._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{-webkit-text-decoration-color:rgba(255,255,255,.48);text-decoration-color:#ffffff7a}[data-mode=onDark]._pseudo[_nghost-%COMP%]:hover, [data-mode=onDark]._pseudo[_nghost-%COMP%]:active, [data-mode=onDark]._pseudo._active[_nghost-%COMP%]{color:var(--tui-text-03-night)}[data-mode=onDark][data-host-mode=positive][_nghost-%COMP%]{color:var(--tui-positive-night)}[data-mode=onDark][data-host-mode=positive][_nghost-%COMP%]:hover, [data-mode=onDark][data-host-mode=positive][_nghost-%COMP%]:active, [data-mode=onDark][data-host-mode=positive]._active[_nghost-%COMP%]{color:var(--tui-positive-night-hover)}[data-host-mode=negative][_nghost-%COMP%]{color:var(--tui-negative)}[data-host-mode=negative][_nghost-%COMP%]:hover{color:var(--tui-negative-hover)}[data-host-mode=negative]._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{-webkit-text-decoration-color:rgba(222,76,30,.48);text-decoration-color:#de4c1e7a}[data-host-mode=positive][_nghost-%COMP%]{color:var(--tui-positive)}[data-host-mode=positive][_nghost-%COMP%]:hover{color:var(--tui-positive-hover)}[data-host-mode=positive]._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{-webkit-text-decoration-color:rgba(58,169,129,.48);text-decoration-color:#3aa9817a}._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-selection)}[data-mode=onLight]._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-clear);color:var(--tui-text-01)}[data-mode=onDark]._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-clear-inverse);color:var(--tui-text-01-night)}[data-host-mode=positive]._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-success-bg)}[data-host-mode=negative]._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-error-bg)}._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding-bottom:.15em;-webkit-text-decoration:underline dashed rgba(51,111,238,.48);text-decoration:underline dashed rgba(51,111,238,.48);text-underline-offset:.2em;text-decoration-thickness:.7px}.t-icon[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:var(--tui-link-icon-size, 1.5rem);height:var(--tui-link-icon-size, 1.5rem);margin-top:-.125rem}.t-icon_left[_ngcontent-%COMP%]{margin-right:.25rem}.t-icon_right[_ngcontent-%COMP%]{margin-left:.25rem}._icon-rotated[_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{transform:rotate(180deg)}"],changeDetection:0}),t})(),b=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[f.ez,p.EI]]}),t})()},40719:function(t,e,n){"use strict";n.d(e,{kM:function(){return m},dS:function(){return v}});var i=n(12057),r=n(74788),o=n(11927),s=n(41213),a=n(57179),l=n(99434),c=n(66640),u=n(89570);function h(t,e){if(1&t&&(r.ynx(0),r._uU(1),r.BQk()),2&t){const t=e.polymorpheusOutlet;r.xp6(1),r.hij(" ",t," ")}}function d(t,e){if(1&t&&(r.O4$(),r.kcU(),r.TgZ(0,"div",6),r.YNc(1,h,2,1,"ng-container",7),r.qZA()),2&t){const t=r.oxw(2);r.ekj("t-text_horizontal",t.isHorizontal),r.xp6(1),r.Q6J("polymorpheusOutlet",t.textContent)}}function p(t,e){if(1&t&&(r.TgZ(0,"div",2),r.O4$(),r.TgZ(1,"svg",3),r._UZ(2,"circle",4),r.qZA(),r.YNc(3,d,2,3,"div",5),r.qZA()),2&t){const t=r.oxw();r.ekj("t-loader_horizontal",t.isHorizontal)("t-loader_inherit-color",t.inheritColor),r.uIk("data-size",t.size),r.xp6(3),r.Q6J("ngIf",t.hasText)}}const f=["*"],g=(0,o.JN)({size:"m",inheritColor:!1,overlay:!1});let m=(()=>{class t{constructor(t,e,n,i){this.doc=t,this.el=e,this.isIos=n,this.options=i,this.size=this.options.size,this.inheritColor=this.options.inheritColor,this.overlay=this.options.overlay,this.loading=!0,this.isApple=(0,s.Ex)(this.el.nativeElement)||this.isIos}set showLoader(t){t&&this.focused&&(0,a.hp)(this.doc),this.loading=t}get hasOverlay(){return this.overlay&&this.loading}get hasText(){return!!this.textContent}get isHorizontal(){return!(0,c.R9)(this.size)}get focused(){return(0,a.zb)(this.el.nativeElement)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(i.K0),r.Y36(r.SBq),r.Y36(l.FA),r.Y36(g))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-loader"]],hostVars:2,hostBindings:function(t,e){2&t&&r.ekj("_loading",e.loading)},inputs:{size:"size",inheritColor:"inheritColor",overlay:"overlay",textContent:"textContent",showLoader:"showLoader"},ngContentSelectors:f,decls:3,vars:7,consts:[[1,"t-content",3,"disabled"],["class","t-loader",3,"t-loader_horizontal","t-loader_inherit-color",4,"ngIf"],[1,"t-loader"],["automation-id","tui-loader__loader","focusable","false","viewBox","0 0 100 100","xmlns","http://www.w3.org/2000/svg",1,"t-icon"],["cx","50","cy","50","r","50","stroke-dasharray","314",1,"t-circle"],["automation-id","tui-loader__text","class","t-text",3,"t-text_horizontal",4,"ngIf"],["automation-id","tui-loader__text",1,"t-text"],[4,"polymorpheusOutlet"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"fieldset",0),r.Hsn(1),r.qZA(),r.YNc(2,p,4,6,"div",1)),2&t&&(r.ekj("t-content_has-overlay",e.hasOverlay)("t-content_loading",e.loading),r.Q6J("disabled",e.loading&&!e.isApple),r.uIk("inert",e.loading||null),r.xp6(2),r.Q6J("ngIf",e.loading))},directives:[i.O5,u.Li],styles:["@keyframes tuiLoaderDashOffset{0%{stroke-dashoffset:-66}50%{stroke-dashoffset:-314}to{stroke-dashoffset:-66}}@keyframes tuiLoaderRotate{0%{transform:rotate(0)}50%{transform:rotate(1turn)}to{transform:rotate(3turn)}}[_nghost-%COMP%]{position:relative;display:flex;min-width:1.5rem}._loading[_nghost-%COMP%]{overflow:hidden}.t-content[_ngcontent-%COMP%]{z-index:0;min-width:100%;height:100%;padding:0;margin:0;border:none}.t-content_has-overlay[_ngcontent-%COMP%]{opacity:.3}.t-content_loading[_ngcontent-%COMP%]{pointer-events:none}.t-loader[_ngcontent-%COMP%]{position:relative;left:-100%;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:100%;flex-shrink:0;align-self:center;color:var(--tui-text-01);stroke:var(--tui-primary);animation:tuiFadeIn var(--tui-duration)}.t-loader.t-loader_horizontal[_ngcontent-%COMP%]{flex-direction:row}.t-loader.t-loader_inherit-color[_ngcontent-%COMP%]{color:inherit;stroke:currentColor}.t-loader[data-size=xs][_ngcontent-%COMP%]{font-size:.75rem;stroke-width:38}.t-loader[data-size=s][_ngcontent-%COMP%]{font-size:1rem;stroke-width:25}.t-loader[data-size=m][_ngcontent-%COMP%]{font-size:1.5rem;stroke-width:17}.t-loader[data-size=l][_ngcontent-%COMP%]{font-size:2.5rem;stroke-width:15}.t-loader[data-size=xl][_ngcontent-%COMP%]{font-size:3.5rem;stroke-width:14}.t-loader[data-size=xxl][_ngcontent-%COMP%]{font-size:5rem;stroke-width:10}.t-text[_ngcontent-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1rem;color:inherit;max-width:100%;text-align:center;stroke-width:0}.t-text_horizontal[_ngcontent-%COMP%]{margin:0 0 0 1rem}.t-icon[_ngcontent-%COMP%]{display:block;min-width:1em;max-width:1em;min-height:1em;max-height:1em;margin:.25rem -.5em;border-radius:100%;overflow:hidden;transform:scaleY(-1);animation:tuiLoaderRotate 3s linear infinite}@supports (-webkit-hyphens: none){.t-icon[_ngcontent-%COMP%]{overflow:visible}}.t-circle[_ngcontent-%COMP%]{fill:none;stroke:inherit;stroke-width:inherit;animation:tuiLoaderDashOffset 3s linear infinite}"],changeDetection:0}),t})(),v=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[i.ez,u.wq]]}),t})()},60885:function(t,e,n){"use strict";n.d(e,{L:function(){return g},H:function(){return m}});var i=n(74788),r=n(40946),o=n(79456),s=n(54789),a=n(12628),l=n(12057),c=n(89570);function u(t,e){1&t&&i._UZ(0,"tui-svg",4),2&t&&i.Q6J("src",e.polymorpheusOutlet)}const h=function(t){return{$implicit:t}};function d(t,e){if(1&t&&(i.ynx(0),i.YNc(1,u,1,1,"tui-svg",3),i.BQk()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",t.icon)("polymorpheusOutletContext",i.VKq(2,h,t.status))}}function p(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"button",5),i.NdJ("click",function(){return i.CHM(t),i.oxw().close.emit()}),i.ALo(1,"async"),i.qZA()}if(2&t){const t=i.oxw();i.Q6J("icon",t.icons.close)("title",i.lcZ(1,2,t.closeWord$))}}const f=["*"];let g=(()=>{class t{constructor(t,e,n){this.closeWord$=t,this.icons=e,this.options=n,this.hasIcon=this.options.hasIcon,this.icon=this.options.icon,this.status=this.options.status,this.size=this.options.size,this.hideClose=!1,this.close=new i.vpe}get hasClose(){return!this.hideClose&&(0,r.fw)(this.close)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(o.U0),i.Y36(o.Gs),i.Y36(o.Ln))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-notification"]],hostVars:2,hostBindings:function(t,e){2&t&&i.uIk("data-status",e.status)("data-size",e.size)},inputs:{hasIcon:"hasIcon",icon:"icon",status:"status",size:"size",hideClose:"hideClose"},outputs:{close:"close"},ngContentSelectors:f,decls:4,vars:2,consts:[[4,"ngIf"],[1,"t-content"],["appearance","icon","automation-id","tui-notification__close","size","xs","tuiIconButton","","type","button","class","t-close",3,"icon","title","click",4,"ngIf"],["automation-id","tui-notification__icon","class","t-icon",3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-notification__icon",1,"t-icon",3,"src"],["appearance","icon","automation-id","tui-notification__close","size","xs","tuiIconButton","","type","button",1,"t-close",3,"icon","title","click"]],template:function(t,e){1&t&&(i.F$t(),i.YNc(0,d,2,4,"ng-container",0),i.TgZ(1,"div",1),i.Hsn(2),i.qZA(),i.YNc(3,p,2,4,"button",2)),2&t&&(i.Q6J("ngIf",e.icon&&e.hasIcon),i.xp6(3),i.Q6J("ngIf",e.hasClose))},directives:[l.O5,c.Li,s.PN,a.v0],pipes:[l.Ov],styles:["[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:flex;padding:.75rem 1rem;border-radius:var(--tui-radius-m);background:#fff;background:var(--tui-base-01);box-sizing:border-box;overflow:hidden}[data-size=s][_nghost-%COMP%]{padding:.375rem .625rem}[data-size=s][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1rem;height:1.25rem;margin:0 .375rem 0 -.125rem}[data-size=s][_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{margin:-.125rem -.375rem -.125rem .75rem}[data-size=m][_nghost-%COMP%]{padding:.75rem}[data-size=m][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1.25rem;height:1.25rem;margin-right:.5rem}[data-size=m][_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{margin:-.125rem -.125rem -.125rem 1rem}[data-size=l][_nghost-%COMP%]{padding:1rem;font:var(--tui-font-text-m);border-radius:var(--tui-radius-l)}[data-size=l][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem;margin-right:.5rem}[data-status=info][_nghost-%COMP%]{color:var(--tui-info-fill);background:linear-gradient(var(--tui-info-bg),var(--tui-info-bg)),var(--tui-base-01)}[data-status=success][_nghost-%COMP%]{color:var(--tui-success-fill);background:linear-gradient(var(--tui-success-bg),var(--tui-success-bg)),var(--tui-base-01)}[data-status=error][_nghost-%COMP%]{color:var(--tui-error-fill);background:linear-gradient(var(--tui-error-bg),var(--tui-error-bg)),var(--tui-base-01)}[data-status=warning][_nghost-%COMP%]{color:var(--tui-warning-fill);background:linear-gradient(var(--tui-warning-bg),var(--tui-warning-bg)),var(--tui-base-01)}[data-status=neutral][_nghost-%COMP%]{color:var(--tui-neutral-fill);background:linear-gradient(var(--tui-neutral-bg),var(--tui-neutral-bg)),var(--tui-base-01)}.t-content[_ngcontent-%COMP%]{flex:1;word-wrap:break-word;overflow-wrap:anywhere;color:var(--tui-text-01)}"],changeDetection:0}),t})(),m=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[l.ez,s.EI,a.fN,c.wq]]}),t})()},94853:function(t,e,n){"use strict";n.d(e,{iQ:function(){return nt},yc:function(){return it},B1:function(){return rt},KW:function(){return st},MB:function(){return ot}});var i=n(97582),r=n(74788),o=n(27103);let s=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-autofilled-styles"],decls:0,vars:0,template:function(t,e){},styles:[".tui-autofill input,input.tui-autofill{transition:box-shadow .01s}\n"],encapsulation:2,changeDetection:0}),t})(),a=(()=>{class t{constructor(t){this.autofilled=!1,this.tuiAutofilledChange=new r.vpe,t.addComponent(s)}transitionStartHandler({propertyName:t,target:e}){var n;t.includes("box-shadow")&&(null===(n=e)||void 0===n?void 0:n.matches("input"))&&(this.autofilled=!this.autofilled,this.tuiAutofilledChange.emit(this.autofilled))}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(o.gH))},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiAutofilledChange",""]],hostAttrs:[1,"tui-autofill"],hostVars:2,hostBindings:function(t,e){1&t&&r.NdJ("transitionstart",function(t){return e.transitionStartHandler(t)}),2&t&&r.ekj("_autofilled",e.autofilled)},outputs:{tuiAutofilledChange:"tuiAutofilledChange"}}),t})(),l=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})();var c=n(13633),u=n(99434),h=n(76480),d=n(57179),p=n(64493),f=n(44358),g=n(90022),m=n(79588),v=n(66640),_=n(89570),y=n(26215),b=n(66682),w=n(22759),C=n(87874),x=n(45435),k=n(88002),O=n(87519),M=n(54789),S=n(77320),P=n(1515),E=n(12057),T=n(91489),A=n(87862),I=n(79456);let D=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["input","tuiMaskAccessor",""]],features:[r._Bn([{provide:A.JU,deps:[[new r.FiY,I.sE],A.Fj],multi:!0,useFactory:(t,e)=>t?t[0]:e}])]}),t})(),N=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})();var L=n(43631);const z=["pre"],F=["focusableElement"];function R(t,e){1&t&&r.GkF(0)}function j(t,e){1&t&&r.GkF(0)}function B(t,e){1&t&&(r.TgZ(0,"div",17),r.Hsn(1,2),r.qZA())}function V(t,e){1&t&&r._UZ(0,"tui-svg",20),2&t&&r.Q6J("src",e.polymorpheusOutlet)}const $=function(t){return{$implicit:t}};function Y(t,e){if(1&t&&(r.TgZ(0,"div",18),r.YNc(1,V,1,1,"tui-svg",19),r.qZA()),2&t){const t=r.oxw();r.xp6(1),r.Q6J("polymorpheusOutlet",t.iconLeftContent)("polymorpheusOutletContext",r.VKq(2,$,t.size))}}function Z(t,e){if(1&t&&(r.TgZ(0,"label",21),r.Hsn(1,3),r.qZA()),2&t){const t=r.oxw();r.ekj("t-placeholder_raised",t.placeholderRaised),r.Q6J("for",t.computedId)}}function q(t,e){1&t&&r._UZ(0,"tui-svg",24),2&t&&r.Q6J("src",e.polymorpheusOutlet)}function U(t,e){if(1&t&&(r.TgZ(0,"div",22),r.YNc(1,q,1,1,"tui-svg",23),r.qZA()),2&t){const t=r.oxw();r.xp6(1),r.Q6J("polymorpheusOutlet",t.controller.customContent)}}function H(t,e){1&t&&r._UZ(0,"tui-svg",27),2&t&&r.Q6J("src",e.polymorpheusOutlet)}function G(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"span",25),r.NdJ("click.stop",function(){return r.CHM(t),r.oxw().clear()}),r.YNc(1,H,1,1,"tui-svg",26),r.qZA()}if(2&t){const t=r.oxw();r.xp6(1),r.Q6J("polymorpheusOutlet",t.iconCleaner||t.controller.options.iconCleaner)("polymorpheusOutletContext",r.VKq(2,$,t.size))}}function J(t,e){if(1&t&&r._UZ(0,"tui-tooltip",28),2&t){const t=r.oxw();r.Q6J("content",null==t.hintOptions?null:t.hintOptions.content)("describeId",t.computedId)}}function X(t,e){1&t&&r._UZ(0,"tui-svg",20),2&t&&r.Q6J("src",e.polymorpheusOutlet)}function Q(t,e){if(1&t&&(r.TgZ(0,"div",29),r.YNc(1,X,1,1,"tui-svg",19),r.qZA()),2&t){const t=r.oxw();r.xp6(1),r.Q6J("polymorpheusOutlet",t.iconContent)("polymorpheusOutletContext",r.VKq(2,$,t.size))}}const W=[[["input"]],[["select"]],[["tuiContent"]],"*"],K=["input","select","tuiContent","*"],tt=["tuiTextfield",""];let et=(()=>{class t{constructor(t,e){this.textfield=t,this.fontsReady$=e,this.prefix$=new y.X(""),this.pre$=(0,b.T)(this.fontsReady$,this.prefix$).pipe((0,C.g)(0),(0,x.h)(()=>{var t;return!!(null===(t=this.pre)||void 0===t?void 0:t.nativeElement.isConnected)}),(0,k.U)(()=>{var t;return(null===(t=this.pre)||void 0===t?void 0:t.nativeElement.offsetWidth)||0}),(0,O.x)())}get isContextTable(){return this.textfield.appearance===S.Nm.Table}get value(){return this.textfield.value}get filler(){const{focused:t,placeholder:e,exampleText:n,value:i,textfield:r}=this;return e&&n?"":t?n||r.filler.slice(i.length):""}get prefix(){return this.decorationsVisible?this.textfield.prefix:""}get postfix(){return this.decorationsVisible?this.computedPostfix:""}ngDoCheck(){this.prefix$.next(this.prefix)}get placeholder(){var t;return(null===(t=this.textfield.nativeFocusableElement)||void 0===t?void 0:t.placeholder)||""}get exampleText(){return!this.value&&this.focused?this.placeholder:""}get decorationsVisible(){return!!this.value||this.focused&&!this.placeholder}get focused(){return this.textfield.computedFocused&&!this.textfield.readOnly}get computedPostfix(){return this.textfield.postfix&&(this.filler||this.value)?` ${this.textfield.postfix}`:this.textfield.postfix}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(u.KZ),r.Y36(u.tS))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-value-decoration"]],viewQuery:function(t,e){if(1&t&&r.Gf(z,7,r.SBq),2&t){let t;r.iGM(t=r.CRH())&&(e.pre=t.first)}},hostVars:4,hostBindings:function(t,e){1&t&&r.NdJ("animationstart",function(){return e.ngDoCheck()}),2&t&&r.ekj("_table",e.isContextTable)("_filler",e.filler)},decls:5,vars:4,consts:[[1,"t-prefix",3,"textContent"],["pre",""],[1,"t-ghost",3,"textContent"],[1,"t-filler",3,"textContent"],[1,"t-postfix",3,"textContent"]],template:function(t,e){1&t&&(r._UZ(0,"span",0,1),r._UZ(2,"span",2),r._UZ(3,"span",3),r._UZ(4,"span",4)),2&t&&(r.Q6J("textContent",e.prefix),r.xp6(2),r.Q6J("textContent",e.value),r.xp6(1),r.Q6J("textContent",e.filler),r.xp6(1),r.Q6J("textContent",e.postfix))},styles:['[_nghost-%COMP%]{position:absolute;display:block;width:100%;line-height:var(--tui-height);margin-top:calc(var(--tui-height) / -2);box-sizing:content-box;color:var(--tui-text-03);animation:tuiPresent 1s;white-space:nowrap}._table[_nghost-%COMP%]{position:static;margin-top:0}._filler[_nghost-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}tui-primitive-textfield [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]{color:var(--tui-text-03-night)}tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]{line-height:calc(var(--tui-height) - .25rem)}.t-ghost[_ngcontent-%COMP%]{visibility:hidden;white-space:pre;text-overflow:clip}.t-prefix[_ngcontent-%COMP%], .t-postfix[_ngcontent-%COMP%]{white-space:pre;color:var(--tui-text-01)}tui-primitive-textfield [tuiWrapper][data-mode="onDark"][_nghost-%COMP%] .t-prefix[_ngcontent-%COMP%], tui-primitive-textfield [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%] .t-prefix[_ngcontent-%COMP%], tui-primitive-textfield [tuiWrapper][data-mode="onDark"][_nghost-%COMP%] .t-postfix[_ngcontent-%COMP%], tui-primitive-textfield [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%] .t-postfix[_ngcontent-%COMP%]{color:var(--tui-text-01-night)}.t-filler[_ngcontent-%COMP%]{max-width:100%;white-space:nowrap}']}),t})();const nt={s:1.25,m:1.75,l:2.25};let it=(()=>{class t extends h.Xn{constructor(t,e,n,i){super(),this.controller=t,this.hintOptions=e,this.options=n,this.el=i,this.editable=!0,this.textfieldFiller="",this.iconCleaner=this.options.iconCleaner,this.readOnly=!1,this.invalid=!1,this.disabled=!1,this.textfieldPrefix="",this.textfieldPostfix="",this.value="",this.valueChange=new r.vpe,this.autofilled=!1}get prefix(){return this.textfieldPrefix||this.controller.prefix}get postfix(){return this.textfieldPostfix||this.controller.postfix}get filler(){return this.textfieldFiller||this.controller.filler}get nativeFocusableElement(){if(this.computedDisabled||!this.focusableElement)return null;const{nativeElement:t}=this.focusableElement;return t.previousElementSibling||t}get focused(){return(0,d.zb)(this.el.nativeElement)}get appearance(){return this.controller.appearance}get size(){return this.controller.size}get computedInvalid(){return!this.readOnly&&!this.disabled&&this.invalid}get inputHidden(){var t;return!!(null===(t=this.content)||void 0===t?void 0:t.length)}get hasValue(){return!!this.value}get hasCleaner(){return this.controller.cleaner&&this.hasValue&&!this.computedDisabled&&!this.readOnly}get hasTooltip(){var t;return!!(null===(t=this.hintOptions)||void 0===t?void 0:t.content)&&!this.computedDisabled}get hasCustomContent(){return!!this.controller.customContent}get placeholderVisible(){var t;const e=((null===(t=this.nativeFocusableElement)||void 0===t?void 0:t.placeholder)||this.prefix||this.postfix||this.filler)&&!this.readOnly&&this.computedFocused;return!this.hasValue&&!e}get hasPlaceholder(){return this.placeholderRaisable||this.placeholderVisible}get placeholderRaised(){return this.placeholderRaisable&&(this.computedFocused&&!this.readOnly||this.hasValue||this.autofilled)}get borderStart(){return this.iconLeftContent?this.iconPaddingLeft:0}get borderEnd(){return(0,v._X)(!!this.iconContent,this.hasCleaner,this.hasTooltip,this.hasCustomContent,this.size)}get iconContent(){return this.controller.icon}get iconLeftContent(){return this.controller.iconLeft}get showHint(){var t;return!!(null===(t=this.hintOptions)||void 0===t?void 0:t.content)&&(this.options.hintOnDisabled||!this.computedDisabled)}get name(){var t;return"cc-exp"===(null===(t=this.nativeFocusableElement)||void 0===t?void 0:t.autocomplete)?"ccexpiryyear":null}get computedId(){var t;return(null===(t=this.nativeFocusableElement)||void 0===t?void 0:t.id)||""}onFocused(t){this.updateFocused(t)}getIndent$(t){return(0,w.R)(t,"scroll").pipe((0,k.U)(()=>-1*Math.max(t.scrollLeft,0)))}clear(){this.nativeFocusableElement&&(this.nativeFocusableElement.value=""),this.updateValue("")}onMouseDown(t){const{nativeFocusableElement:e}=this;!e||t.target===e||(t.preventDefault(),e.focus())}onModelChange(t){this.updateValue(t)}onAutofilled(t){this.updateAutofilled(t)}detectRetargetFromLabel(t){(0,p.UP)(t)&&t.stopImmediatePropagation()}get iconPaddingLeft(){return nt[this.size]}get placeholderRaisable(){return"s"!==this.size&&!this.controller.labelOutside}updateAutofilled(t){this.autofilled!==t&&(this.autofilled=t)}updateValue(t){this.value=t,this.valueChange.emit(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(m.Cs),r.Y36(g.bZ,8),r.Y36(m.z1),r.Y36(r.SBq))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-primitive-textfield"]],contentQueries:function(t,e,n){if(1&t&&r.Suo(n,_.Li,5),2&t){let t;r.iGM(t=r.CRH())&&(e.content=t)}},viewQuery:function(t,e){if(1&t&&r.Gf(F,5),2&t){let t;r.iGM(t=r.CRH())&&(e.focusableElement=t.first)}},hostVars:15,hostBindings:function(t,e){1&t&&r.NdJ("focusin",function(){return e.onFocused(!0)})("focusout",function(){return e.onFocused(!1)}),2&t&&(r.uIk("data-size",e.size),r.Udp("--border-start",e.borderStart,"rem")("--border-end",e.borderEnd,"rem"),r.ekj("_autofilled",e.autofilled)("_label-outside",e.controller.labelOutside)("_readonly",e.readOnly)("_invalid",e.computedInvalid)("_hidden",e.inputHidden))},inputs:{editable:"editable",textfieldFiller:["filler","textfieldFiller"],iconCleaner:"iconCleaner",readOnly:"readOnly",invalid:"invalid",disabled:"disabled",textfieldPrefix:["prefix","textfieldPrefix"],textfieldPostfix:["postfix","textfieldPostfix"],value:"value"},outputs:{valueChange:"valueChange"},features:[r._Bn([(0,u.FT)(t),m.Y0]),r.qOj],ngContentSelectors:K,decls:24,vars:37,consts:[[4,"ngIf"],["automation-id","tui-primitive-textfield__wrapper","tuiWrapper","",3,"active","appearance","disabled","focus","hover","invalid","readOnly","click.prevent.silent","mousedown","tuiAutofilledChange"],["automation-id","tui-primitive-textfield__native-input","tuiMaskAccessor","",1,"t-input",3,"disabled","id","ngModel","readOnly","tuiFocusable","ngModelChange"],["focusableElement",""],["automation-id","tui-primitive-textfield__value","class","t-input t-input_template",4,"ngIf"],[1,"t-content"],["class","t-icon t-icon_left t-textfield-icon",4,"ngIf"],[1,"t-wrapper"],["automation-id","tui-primitive-textfield__placeholder","class","t-placeholder",3,"t-placeholder_raised","for",4,"ngIf"],[1,"t-wrapper-value-decoration"],["aria-hidden","true","automation-id","tui-primitive-textfield__value-decoration",1,"t-value-decoration"],["decor",""],[1,"t-icons"],["automation-id","tui-primitive-textfield__custom-content","class","t-custom-content",4,"ngIf"],["appearance","icon","automation-id","tui-primitive-textfield__cleaner","tuiWrapper","","class","t-cleaner",3,"click.stop",4,"ngIf"],["automation-id","tui-primitive-textfield__tooltip","class","t-tooltip",3,"content","describeId",4,"ngIf"],["class","t-icon t-textfield-icon",4,"ngIf"],["automation-id","tui-primitive-textfield__value",1,"t-input","t-input_template"],[1,"t-icon","t-icon_left","t-textfield-icon"],["appearance","icon","tuiWrapper","",3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],["appearance","icon","tuiWrapper","",3,"src"],["automation-id","tui-primitive-textfield__placeholder",1,"t-placeholder",3,"for"],["automation-id","tui-primitive-textfield__custom-content",1,"t-custom-content"],["class","t-custom-icon",3,"src",4,"polymorpheusOutlet"],[1,"t-custom-icon",3,"src"],["appearance","icon","automation-id","tui-primitive-textfield__cleaner","tuiWrapper","",1,"t-cleaner",3,"click.stop"],[3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],[3,"src"],["automation-id","tui-primitive-textfield__tooltip",1,"t-tooltip",3,"content","describeId"],[1,"t-icon","t-textfield-icon"]],template:function(t,e){if(1&t&&(r.F$t(W),r.YNc(0,R,1,0,"ng-container",0),r.ALo(1,"async"),r.YNc(2,j,1,0,"ng-container",0),r.ALo(3,"async"),r.TgZ(4,"div",1),r.NdJ("click.prevent.silent",function(t){return e.detectRetargetFromLabel(t)})("mousedown",function(t){return e.onMouseDown(t)})("tuiAutofilledChange",function(t){return e.onAutofilled(t)}),r.ALo(5,"async"),r.Hsn(6),r.Hsn(7,1),r.TgZ(8,"input",2,3),r.NdJ("ngModelChange",function(t){return e.onModelChange(t)}),r.qZA(),r.YNc(10,B,2,0,"div",4),r.TgZ(11,"div",5),r.YNc(12,Y,2,4,"div",6),r.TgZ(13,"div",7),r.YNc(14,Z,2,3,"label",8),r.TgZ(15,"div",9),r.TgZ(16,"tui-value-decoration",10,11),r.ALo(18,"async"),r.qZA(),r.qZA(),r.qZA(),r.TgZ(19,"div",12),r.YNc(20,U,2,1,"div",13),r.YNc(21,G,2,4,"span",14),r.YNc(22,J,1,2,"tui-tooltip",15),r.YNc(23,Q,2,4,"div",16),r.qZA(),r.qZA(),r.qZA()),2&t){const t=r.MAs(9),n=r.MAs(17);r.Q6J("ngIf",r.lcZ(1,29,null==e.content?null:e.content.changes)),r.xp6(2),r.Q6J("ngIf",r.lcZ(3,31,null==e.hintOptions?null:e.hintOptions.change$)),r.xp6(2),r.Udp("--text-indent",r.lcZ(5,33,n.pre$),"px"),r.Q6J("active",e.pseudoActive)("appearance",e.appearance)("disabled",e.disabled)("focus",e.computedFocused)("hover",e.pseudoHover)("invalid",e.computedInvalid)("readOnly",e.readOnly),r.xp6(4),r.Q6J("disabled",e.computedDisabled)("id",e.id)("ngModel",e.value)("readOnly",e.readOnly||!e.editable)("tuiFocusable",e.computedFocusable),r.uIk("aria-invalid",e.computedInvalid)("name",e.name),r.xp6(2),r.Q6J("ngIf",e.inputHidden),r.xp6(2),r.Q6J("ngIf",e.iconLeftContent),r.xp6(2),r.Q6J("ngIf",e.hasPlaceholder),r.xp6(2),r.Udp("text-indent",r.lcZ(18,35,e.getIndent$(t)),"px"),r.ekj("t-has-value",e.value),r.xp6(4),r.Q6J("ngIf",e.hasCustomContent),r.xp6(1),r.Q6J("ngIf",e.hasCleaner),r.xp6(1),r.Q6J("ngIf",e.showHint),r.xp6(1),r.Q6J("ngIf",e.iconContent)}},directives:[E.O5,T.o,a,D,A.Fj,A.JJ,A.On,c.t,et,_.Li,M.PN,P.w],pipes:[E.Ov],styles:['[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:block;text-align:left;border-radius:var(--tui-radius-m);height:var(--tui-height);min-height:var(--tui-height);max-height:var(--tui-height)}[data-size=s][_nghost-%COMP%]{--tui-height: var(--tui-height-s)}[data-size=m][_nghost-%COMP%]{--tui-height: var(--tui-height-m)}[data-size=l][_nghost-%COMP%]{--tui-height: var(--tui-height-l);font:var(--tui-font-text-m);line-height:1.25rem}.t-input[_ngcontent-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;border-style:solid;border-color:transparent;border-inline-start-width:var(--border-start, 0);border-inline-end-width:var(--border-end, 0);text-indent:var(--text-indent);text-align:inherit;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-transform:inherit;resize:none}.t-input[_ngcontent-%COMP%]:-webkit-autofill, .t-input[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-input[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}.t-input[_ngcontent-%COMP%]:-webkit-autofill, .t-input[_ngcontent-%COMP%]:-webkit-autofill:first-line{font-size:inherit;line-height:inherit}.t-input[_ngcontent-%COMP%]::-webkit-caps-lock-indicator, .t-input[_ngcontent-%COMP%]::-webkit-contacts-auto-fill-button, .t-input[_ngcontent-%COMP%]::-webkit-credit-card-auto-fill-button, .t-input[_ngcontent-%COMP%]::-webkit-credentials-auto-fill-button, .t-input[_ngcontent-%COMP%]::-webkit-strong-password-auto-fill-button{content:none!important;position:absolute;left:-62.4375rem;top:-62.4375rem;z-index:-999;display:none!important;background:transparent!important;pointer-events:none!important}.t-input[_ngcontent-%COMP%]::placeholder{color:var(--tui-text-03);opacity:0}._focused[_nghost-%COMP%]:not(._readonly) .t-input[_ngcontent-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-textarea._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-textarea._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-text-area._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-text-area._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder{opacity:1}[tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-input[_ngcontent-%COMP%]:-webkit-autofill, .t-input [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill, [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-input[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-input [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:hover, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:hover, [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-input[_ngcontent-%COMP%]:-webkit-autofill:focus, .t-input [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:focus, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01-night)!important;border-color:var(--tui-autofill-night);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill-night) inset!important}[tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, .t-input [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]::placeholder, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]::placeholder{color:var(--tui-text-03-night)}[data-size=s][_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="s"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="s"] [_nghost-%COMP%]:not(tui-primitive-textfield), .t-input tui-textarea[data-size="s"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="s"] [_nghost-%COMP%]:not(tui-textarea), .t-input tui-text-area[data-size="s"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="s"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-s)}[data-size=m][_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="m"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"] [_nghost-%COMP%]:not(tui-primitive-textfield), .t-input tui-textarea[data-size="m"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="m"] [_nghost-%COMP%]:not(tui-textarea), .t-input tui-text-area[data-size="m"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="m"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-m)}[data-size=l][_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="l"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="l"] [_nghost-%COMP%]:not(tui-primitive-textfield), .t-input tui-textarea[data-size="l"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="l"] [_nghost-%COMP%]:not(tui-textarea), .t-input tui-text-area[data-size="l"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="l"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-l)}._disabled[_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield._disabled[_nghost-%COMP%], tui-primitive-textfield._disabled [_nghost-%COMP%], .t-input tui-textarea._disabled[_nghost-%COMP%], tui-textarea._disabled [_nghost-%COMP%], .t-input tui-text-area._disabled[_nghost-%COMP%], tui-text-area._disabled [_nghost-%COMP%]{pointer-events:none}[data-size=l][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="l"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="l"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield){padding-top:1.25rem}[data-size=l][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="l"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], tui-primitive-textfield[data-size="l"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.8156rem;transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="m"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield){padding-top:1rem}[data-size=m][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="m"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.69rem;transform:translateY(-.5rem)}._hidden[_nghost-%COMP%] input.t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield._hidden[_nghost-%COMP%], tui-primitive-textfield._hidden [_nghost-%COMP%]{opacity:0;text-indent:-10em;-webkit-user-select:none}.t-content[_ngcontent-%COMP%]{display:flex;height:100%;width:100%;box-sizing:border-box;align-items:center;overflow:hidden}[data-size=s][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0 var(--tui-padding-s)}[data-size=m][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0 var(--tui-padding-m)}[data-size=l][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0 var(--tui-padding-l)}.t-wrapper[_ngcontent-%COMP%]{flex:1;min-width:0;-webkit-padding-end:.25rem;padding-inline-end:.25rem}.t-placeholder[_ngcontent-%COMP%]{transition-property:transform,font-size,color,letter-spacing;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;width:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;font:var(--tui-font-text-s);color:var(--tui-text-02);pointer-events:none;will-change:transform;transform:translateY(0)}@supports (-webkit-hyphens: none){.t-placeholder[_ngcontent-%COMP%]{will-change:unset;transition-property:transform,color,letter-spacing}}.t-placeholder_raised[_ngcontent-%COMP%]{transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%]{font:var(--tui-font-text-xs);line-height:1.25rem;transform:translateY(-.5rem);letter-spacing:.025rem}._invalid[_nghost-%COMP%]:not(._focused) .t-placeholder_raised[_ngcontent-%COMP%], ._invalid[_nghost-%COMP%]:not(._focused):hover .t-placeholder_raised[_ngcontent-%COMP%]{color:var(--tui-error-fill)}._invalid[_nghost-%COMP%]:not(._focused) [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%], ._invalid[_nghost-%COMP%]:not(._focused):hover [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%]{color:var(--tui-error-fill-night)}._focused[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=m]._focused._label-outside[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused._label-outside[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-03)}[data-size=l][_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font:var(--tui-font-text-m);line-height:1.25rem}[data-size=l][_nghost-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%]{font-size:.8156rem}[data-size=m]._focused[_nghost-%COMP%]:not(._label-outside) .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused[_nghost-%COMP%]:not(._label-outside) .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-01)}[tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-02-night)}[data-size=m]._focused[_nghost-%COMP%]:not(._label-outside) [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused[_nghost-%COMP%]:not(._label-outside) [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-01-night)}._focused[_nghost-%COMP%] [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=m]._focused._label-outside[_nghost-%COMP%] [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused._label-outside[_nghost-%COMP%] [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-02-night)}.t-cleaner[_ngcontent-%COMP%]{position:relative;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;pointer-events:none;pointer-events:auto}._readonly[_nghost-%COMP%] .t-cleaner[_ngcontent-%COMP%], ._disabled[_nghost-%COMP%] .t-cleaner[_ngcontent-%COMP%]{pointer-events:none}.t-icon[_ngcontent-%COMP%]{position:relative;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;pointer-events:none}[data-size=s][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{-webkit-margin-start:-.375rem;margin-inline-start:-.375rem}[data-size=m][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{-webkit-margin-start:-.125rem;margin-inline-start:-.125rem;-webkit-margin-end:.375rem;margin-inline-end:.375rem}[data-size=l][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{-webkit-margin-end:.75rem;margin-inline-end:.75rem}.t-icons[_ngcontent-%COMP%]{display:flex;align-items:center}[data-size=m][_nghost-%COMP%] .t-icons[_ngcontent-%COMP%]{-webkit-margin-end:-.125rem;margin-inline-end:-.125rem}[data-size=s][_nghost-%COMP%] .t-icons[_ngcontent-%COMP%]{-webkit-margin-end:-.375rem;margin-inline-end:-.375rem}[_nghost-%COMP%]:not([data-size="s"]) .t-icons[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not(:first-child){-webkit-margin-start:.25rem;margin-inline-start:.25rem}._autofilled[data-size=s][_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], ._autofilled._label-outside[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], ._autofilled[_nghost-%COMP%] .t-value-decoration[_ngcontent-%COMP%]:not(.t-has-value){visibility:hidden}.t-custom-content[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;justify-content:center;min-width:2rem;height:2rem;pointer-events:none}.t-custom-icon[_ngcontent-%COMP%]{width:2rem;height:100%}.t-input[_ngcontent-%COMP%]:not(:first-child){display:none}[data-size][_nghost-%COMP%] .t-input_template[_ngcontent-%COMP%]{display:flex;width:calc(100% - 1rem);max-width:calc(100% - 1rem);align-items:center;pointer-events:none;-webkit-padding-end:0;padding-inline-end:0}.t-text-template[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.t-wrapper-value-decoration[_ngcontent-%COMP%]{position:relative;pointer-events:none}'],changeDetection:0}),(0,i.gn)([f.UM],t.prototype,"getIndent$",null),t})(),rt=(()=>{class t extends L.D1{constructor(t){super(t),this.textfield=t}get readOnly(){return this.textfield.readOnly||!this.textfield.editable}onValueChange(t){this.textfield.onModelChange(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(it))},t.\u0275dir=r.lG2({type:t,selectors:[["tui-primitive-textfield"]],features:[r._Bn([(0,I.cp)(t)]),r.qOj]}),t})(),ot=(()=>{class t{constructor(t,e,n,i,r){this.host=t,this.controller=e,this.el=n,this.idService=i,this.legacyMask=r,this.host.process(this.el.nativeElement)}get id(){return this.el.nativeElement.id||this.idService.generate()}get inputMode(){return this.el.nativeElement.inputMode||this.host.inputMode}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(I.S0),r.Y36(m.Cs),r.Y36(r.SBq),r.Y36(o.ll),r.Y36(I.sf,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["input","tuiTextfield",""],["textarea","tuiTextfield",""]],hostAttrs:["type","text"],hostVars:7,hostBindings:function(t,e){1&t&&r.NdJ("input",function(t){return!e.legacyMask&&e.host.onValueChange(t.target.value)}),2&t&&(r.Ikx("tabIndex",e.host.focusable?0:-1)("readOnly",e.host.readOnly)("value",e.host.value),r.uIk("id",e.id)("inputMode",e.inputMode)("aria-invalid",e.host.invalid)("disabled",e.host.disabled||null))},features:[r._Bn([m.Y0])],attrs:tt,decls:0,vars:0,template:function(t,e){},styles:['[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;border-style:solid;border-color:transparent;border-inline-start-width:var(--border-start, 0);border-inline-end-width:var(--border-end, 0);text-indent:var(--text-indent);text-align:inherit;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-transform:inherit;resize:none}[_nghost-%COMP%]:-webkit-autofill, [_nghost-%COMP%]:-webkit-autofill:hover, [_nghost-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}[_nghost-%COMP%]:-webkit-autofill, [_nghost-%COMP%]:-webkit-autofill:first-line{font-size:inherit;line-height:inherit}[_nghost-%COMP%]::-webkit-caps-lock-indicator, [_nghost-%COMP%]::-webkit-contacts-auto-fill-button, [_nghost-%COMP%]::-webkit-credit-card-auto-fill-button, [_nghost-%COMP%]::-webkit-credentials-auto-fill-button, [_nghost-%COMP%]::-webkit-strong-password-auto-fill-button{content:none!important;position:absolute;left:-62.4375rem;top:-62.4375rem;z-index:-999;display:none!important;background:transparent!important;pointer-events:none!important}[_nghost-%COMP%]::placeholder{color:var(--tui-text-03);opacity:0}._focused[_nghost-%COMP%]:not(._readonly) [_ngcontent-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly) [_nghost-%COMP%]::placeholder, tui-textarea._focused:not(._readonly) [_nghost-%COMP%]::placeholder, tui-text-area._focused:not(._readonly) [_nghost-%COMP%]::placeholder{opacity:1}[tuiWrapper][data-mode=onDark] [_nghost-%COMP%]:-webkit-autofill, [_nghost-%COMP%] [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill, [tuiWrapper][data-mode=onDark] [_nghost-%COMP%]:-webkit-autofill:hover, [_nghost-%COMP%] [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:hover, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:hover, [tuiWrapper][data-mode=onDark] [_nghost-%COMP%]:-webkit-autofill:focus, [_nghost-%COMP%] [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:focus, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01-night)!important;border-color:var(--tui-autofill-night);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill-night) inset!important}[tuiWrapper][data-mode=onDark] [_nghost-%COMP%]::placeholder, [_nghost-%COMP%] [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]::placeholder, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]::placeholder{color:var(--tui-text-03-night)}[data-size=s][_nghost-%COMP%] -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="s"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="s"] [_nghost-%COMP%]:not(tui-primitive-textfield), [_nghost-%COMP%] tui-textarea[data-size="s"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="s"] [_nghost-%COMP%]:not(tui-textarea), [_nghost-%COMP%] tui-text-area[data-size="s"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="s"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-s)}[data-size=m][_nghost-%COMP%] -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="m"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"] [_nghost-%COMP%]:not(tui-primitive-textfield), [_nghost-%COMP%] tui-textarea[data-size="m"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="m"] [_nghost-%COMP%]:not(tui-textarea), [_nghost-%COMP%] tui-text-area[data-size="m"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="m"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-m)}[data-size=l][_nghost-%COMP%] -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="l"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="l"] [_nghost-%COMP%]:not(tui-primitive-textfield), [_nghost-%COMP%] tui-textarea[data-size="l"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="l"] [_nghost-%COMP%]:not(tui-textarea), [_nghost-%COMP%] tui-text-area[data-size="l"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="l"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-l)}._disabled[_nghost-%COMP%] -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield._disabled[_nghost-%COMP%], tui-primitive-textfield._disabled [_nghost-%COMP%], [_nghost-%COMP%] tui-textarea._disabled[_nghost-%COMP%], tui-textarea._disabled [_nghost-%COMP%], [_nghost-%COMP%] tui-text-area._disabled[_nghost-%COMP%], tui-text-area._disabled [_nghost-%COMP%]{pointer-events:none}[data-size=l][_nghost-%COMP%]:not(._label-outside) -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="l"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="l"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield){padding-top:1.25rem}[data-size=l][_nghost-%COMP%]:not(._label-outside) [_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [_nghost-%COMP%] tui-primitive-textfield[data-size="l"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], tui-primitive-textfield[data-size="l"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.8156rem;transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%]:not(._label-outside) -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="m"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield){padding-top:1rem}[data-size=m][_nghost-%COMP%]:not(._label-outside) [_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [_nghost-%COMP%] tui-primitive-textfield[data-size="m"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.69rem;transform:translateY(-.5rem)}._hidden[_nghost-%COMP%] input[_ngcontent-%COMP%], [_nghost-%COMP%] tui-primitive-textfield._hidden[_nghost-%COMP%], tui-primitive-textfield._hidden [_nghost-%COMP%]{opacity:0;text-indent:-10em;-webkit-user-select:none}textarea[_nghost-%COMP%]{white-space:pre-wrap}textarea[_nghost-%COMP%] tui-textarea._ios[_nghost-%COMP%], tui-textarea._ios [_nghost-%COMP%], textarea[_nghost-%COMP%] tui-text-area._ios[_nghost-%COMP%], tui-text-area._ios [_nghost-%COMP%]{padding-left:.8125rem}'],changeDetection:0}),t})(),st=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[E.ez,A.u5,_.wq,N,c.u,T.W,M.EI,P.Q,l]]}),t})()},80134:function(t,e,n){"use strict";n.d(e,{IB:function(){return d},Jy:function(){return p}});var i=n(74788),r=n(81359),o=n(41213),s=n(64493),a=n(99434),l=n(62579),c=n(12057);function u(t,e){1&t&&i._UZ(0,"tui-scroll-controls",2)}const h=["*"];let d=(()=>{class t{constructor(t,e,n,r){this.cssRef=t,this.el=e,this.userAgent=n,this.isIos=r,this.delegated=!1,this.isLegacy=!this.cssRef.supports("position","sticky")||(0,o.oK)(this.userAgent)&&!this.cssRef.supports("scrollbar-width","none"),this.hidden=!1,this.browserScrollRef=new i.SBq(this.el.nativeElement)}get showScrollbars(){return!this.hidden&&!this.isIos&&(!this.isLegacy||this.delegated)}get showNative(){return this.isLegacy&&!this.hidden&&!this.delegated}onScrollable(t){this.delegated=!0,this.browserScrollRef.nativeElement=t}scrollIntoView(t){var e;if(this.delegated)return;const{nativeElement:n}=this.browserScrollRef,{offsetTop:i,offsetLeft:r}=(0,s.YX)(n,t),{clientHeight:o,clientWidth:a}=n,{offsetHeight:l,offsetWidth:c}=t;null===(e=n.scrollTo)||void 0===e||e.call(n,r+c/2-a/2,i+l/2-o/2)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(l.ux),i.Y36(i.SBq),i.Y36(l.yZ),i.Y36(a.FA))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-scrollbar"]],hostVars:2,hostBindings:function(t,e){1&t&&i.NdJ("tui-scrollable.stop",function(t){return e.onScrollable(t.detail)})("tui-scroll-into-view.stop",function(t){return e.scrollIntoView(t.detail)}),2&t&&i.ekj("_legacy",e.showNative)},inputs:{hidden:"hidden"},features:[i._Bn([{provide:a.$_,deps:[t],useFactory:({browserScrollRef:t})=>t}])],ngContentSelectors:h,decls:3,vars:1,consts:[["class","t-bars",4,"ngIf"],[1,"t-content"],[1,"t-bars"]],template:function(t,e){1&t&&(i.F$t(),i.YNc(0,u,1,0,"tui-scroll-controls",0),i.TgZ(1,"div",1),i.Hsn(2),i.qZA()),2&t&&i.Q6J("ngIf",e.showScrollbars)},directives:[c.O5,r.tZ],styles:["[_nghost-%COMP%]{position:relative;display:flex;isolation:isolate;overflow:auto}[_nghost-%COMP%]:not(._legacy){scrollbar-width:none;-ms-overflow-style:none}[_nghost-%COMP%]:not(._legacy)::-webkit-scrollbar, [_nghost-%COMP%]:not(._legacy)::-webkit-scrollbar-thumb{background:transparent;width:0;height:0}._legacy[_nghost-%COMP%]{overflow:overlay}@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm){._legacy[_nghost-%COMP%]::-webkit-scrollbar, ._legacy[_nghost-%COMP%]::-webkit-scrollbar-thumb{width:1rem;height:1rem;border-radius:6.25rem;background-clip:padding-box;border:.375rem solid transparent}._legacy[_nghost-%COMP%]::-webkit-scrollbar{background-color:transparent}._legacy[_nghost-%COMP%]::-webkit-scrollbar-thumb{background-color:var(--tui-clear-hover)}._legacy[_nghost-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:var(--tui-clear-active)}._legacy[_nghost-%COMP%]::-webkit-scrollbar-thumb:active{background-color:var(--tui-text-03)}}.t-content[_ngcontent-%COMP%]{isolation:isolate;flex:1;flex-basis:auto;width:100%;height:-webkit-max-content;height:max-content}.t-bars[_ngcontent-%COMP%]{color:var(--tui-text-01)}"],changeDetection:0}),t})(),p=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[c.ez,r.eI]]}),t})()},54789:function(t,e,n){"use strict";n.d(e,{$E:function(){return A},PN:function(){return D},EI:function(){return N}});var i=n(97582),r=n(12057),o=n(74788),s=n(91211),a=n(62579),l=n(92668),c=n(68192),u=n(11927),h=(n(18939),n(64493)),d=n(27103),p=n(99434),f=n(44358),g=n(18269),m=n(87941),v=n(79456),_=n(66640),y=n(54487),b=n(74235),w=n(25917),C=n(43190),x=n(39761),k=n(5304),O=n(88002);function M(t,e){if(1&t&&o._UZ(0,"div",3),2&t){const t=o.oxw().tuiLet;o.Q6J("innerHTML",t,o.oJD)}}function S(t,e){if(1&t){const t=o.EpF();o.O4$(),o.TgZ(0,"svg",4),o.NdJ("error",function(){return o.CHM(t),o.oxw(2).onError()}),o._UZ(1,"use"),o.qZA()}if(2&t){const t=o.oxw(2);o.xp6(1),o.uIk("href",t.use,null,"xlink")}}function P(t,e){if(1&t&&(o.ynx(0),o.YNc(1,M,1,1,"div",1),o.YNc(2,S,2,1,"ng-template",null,2,o.W1O),o.BQk()),2&t){const t=o.MAs(3),e=o.oxw();o.xp6(1),o.Q6J("ngIf",e.isInnerHTML)("ngIfElse",t)}}const E={tuiIconAttach:"tuiIconPaperclip",tuiIconAttention:"tuiIconAlertCircle",tuiIconBackCircle:"tuiIconArrowLeftCircle",tuiIconCall:"tuiIconPhone",tuiIconCallIn:"tuiIconPhoneIncoming",tuiIconCallOut:"tuiIconPhoneOutgoing",tuiIconCallTransfer:"tuiIconPhoneForwarded",tuiIconCancel:"tuiIconXCircle",tuiIconCancelCircle:"tuiIconSlash",tuiIconCard:"tuiIconCreditCard",tuiIconCards:"tuiIconCreditCard",tuiIconChartBar:"tuiIconBarChart",tuiIconChart:"tuiIconBarChart",tuiIconCheckList:"tuiIconClipboard",tuiIconCloseCircle:"tuiIconXCircle",tuiIconCollapse:"tuiIconMinimize",tuiIconComment:"tuiIconMessageSquare",tuiIconCommentFw:"tuiIconMessageForward",tuiIconCompany:"tuiIconBriefcase",tuiIconDefaultDoc:"tuiIconFile",tuiIconDesktop:"tuiIconMonitor",tuiIconDesktopOff:"tuiIconMonitorOff",tuiIconDislike:"tuiIconThumbsDown",tuiIconDone:"tuiIconCheckCircle",tuiIconDraft:"tuiIconEdit2",tuiIconEyeOpen:"tuiIconEye",tuiIconEyeClosed:"tuiIconEyeOff",tuiIconExpand:"tuiIconMaximize",tuiIconExternal:"tuiIconExternalLink",tuiIconFrame:"tuiIconLayout",tuiIconGeo:"tuiIconMapPin",tuiIconHeartFilled:"tuiIconHeart",tuiIconHide:"tuiIconEyeOff",tuiIconImg:"tuiIconImage",tuiIconInfoCircle:"tuiIconInfo",tuiIconLike:"tuiIconThumbsUp",tuiIconLockOpen:"tuiIconUnlock",tuiIconMobile:"tuiIconSmartphone",tuiIconMoreHor:"tuiIconMoreHorizontal",tuiIconMoreVer:"tuiIconMoreVertical",tuiIconMoreVert:"tuiIconMoreVertical",tuiIconPicture:"tuiIconImage",tuiIconPin:"tuiIconMapPin",tuiIconPrint:"tuiIconPrinter",tuiIconRefresh:"tuiIconRefreshCw",tuiIconRemove:"tuiIconX",tuiIconShow:"tuiIconEye",tuiIconSound:"tuiIconVolume",tuiIconSoundOff:"tuiIconVolumeX",tuiIconStarFilled:"tuiIconStar",tuiIconStop:"tuiIconSquare",tuiIconStructure:"tuiIconGrid",tuiIconTime:"tuiIconClock",tuiIconTooltip:"tuiIconHelpCircle",tuiIconViewList:"tuiIconList",tuiIconWifiOn:"tuiIconWifi"},T={iconsPlace:v.xp,path:(0,_.ht)(v.xp),srcProcessor:y.y,contentProcessor:c.N,deprecated:t=>{const e=t.replace("Large","").replace("Outline",""),n=E[e];return n?`${e}/(Large|Outline) is deprecated, use ${n}/(Large|Outline) instead`:""}},A=(0,u.N1)(()=>({iconsPlace:(0,o.f3M)(v.AA),path:(0,o.f3M)(v.ki),deprecated:T.deprecated,srcProcessor:(0,o.f3M)(v.V5),contentProcessor:(0,o.f3M)(v.u_)})),I=new o.OlP("[TUI_SVG_SRC_INTERCEPTORS]");let D=(()=>{class t{constructor(t,e,n,i,r,o,s,a,l,c){this.doc=t,this.win=e,this.options=n,this.srcInterceptors=i,this.tuiSanitizer=r,this.svgService=o,this.staticRequestService=s,this.sanitizer=a,this.el=l,this.baseHref=c,this.src$=new b.t(1),this.icon="",this.innerHTML$=this.src$.pipe((0,C.w)(()=>(0,u.Aj)(this.icon)?this.isExternal?this.getExternalIcon(this.icon):(0,w.of)(this.getSafeHtml(this.icon)):(0,w.of)(this.icon)),(0,x.O)(""))}set src(t){var e;this.options.deprecated(String(t)),this.icon=(null!==(e=this.srcInterceptors)&&void 0!==e?e:[]).reduce((t,e)=>e(t,this.options),this.options.srcProcessor(t||"")),this.src$.next()}get src(){return this.icon}get use(){return(0,u.Aj)(this.icon)?this.icon.includes(".svg#")?this.icon:this.resolveName(this.icon,this.options.path):""}get isInnerHTML(){return!(0,u.Aj)(this.icon)||this.isSrc||this.isExternal||this.isName&&this.isShadowDOM}get isShadowDOM(){return(0,h.Wf)(this.el.nativeElement)!==this.doc}get isUse(){return this.use.replace(g.uJ,"").includes(".svg#")}get isExternal(){return this.isUrl||this.isCrossDomain}get isUrl(){return(0,u.Aj)(this.icon)&&this.icon.replace(g.uJ,"").endsWith(".svg")}get isSrc(){return(0,u.Aj)(this.icon)&&(0,_.jL)(this.icon)}get isName(){return!this.isUrl&&!this.isUse&&!this.isSrc}get isCrossDomain(){const{use:t,isUse:e,win:n}=this;return e&&t.startsWith("http")&&!!n.origin&&!t.startsWith(n.origin)}onError(t="External icon is missing on the given URL"){const{icon:e}=this,n=new CustomEvent(g.qT,{bubbles:!0,detail:{message:t,icon:e}});this.el.nativeElement.dispatchEvent(n)}resolveName(t,e){return e(t,this.baseHref)}getSafeHtml(t){return this.isSrc?this.sanitize(t):this.process(t)}process(t){const e=this.svgService.getOriginal(t);return this.isName&&!e&&!!t&&this.onError("Attempted to use undefined named icon"),this.isShadowDOM&&this.isName?this.sanitize(e||""):""}sanitize(t){return t=this.options.contentProcessor(t),this.tuiSanitizer&&(0,u.Aj)(t)?this.sanitizer.bypassSecurityTrustHtml(this.tuiSanitizer.sanitize(o.q3G.HTML,t)||""):t}getExternalIcon(t){const e=t.includes(".svg")?t:this.use;return this.staticRequestService.request(e).pipe((0,k.K)(()=>(this.onError("Failed to load external SVG"),(0,w.of)(""))),(0,O.U)(t=>this.sanitize(t.replace("{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[r.ez,l.WD]]}),t})()},1515:function(t,e,n){"use strict";n.d(e,{w:function(){return g},Q:function(){return m}});var i=n(74788),r=n(27103),o=n(99434),s=n(90022),a=n(12130),l=n(79456),c=n(46782),u=n(54789),h=n(91489),d=n(89570),p=n(12057);function f(t,e){1&t&&i._UZ(0,"tui-svg",3),2&t&&i.Q6J("src",e.polymorpheusOutlet)}let g=(()=>{class t extends s.bZ{constructor(t,e,n,i){super(n),this.isMobile=i,this.mode=null,this.describeId="",e.pipe((0,c.R)(t)).subscribe(t=>{this.mode=t})}get computedAppearance(){return this.appearance||this.mode||""}stopOnMobile(t){var e;this.isMobile&&(t.preventDefault(),t.stopPropagation()),null===(e=this.driver$)||void 0===e||e.toggle()}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(r.a3,2),i.Y36(l.Au),i.Y36(s.H3),i.Y36(o.fL))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-tooltip"]],viewQuery:function(t,e){if(1&t&&i.Gf(s.t6,5),2&t){let t;i.iGM(t=i.CRH())&&(e.driver$=t.first)}},hostVars:1,hostBindings:function(t,e){1&t&&i.NdJ("mousedown",function(t){return e.stopOnMobile(t)}),2&t&&i.uIk("data-appearance",e.computedAppearance)},inputs:{content:"content",direction:"direction",appearance:"appearance",showDelay:"showDelay",hideDelay:"hideDelay",describeId:"describeId",context:"context"},features:[i._Bn([r.a3,a.CV]),i.qOj],decls:4,vars:11,consts:[["appearance","icon","automation-id","tui-tooltip__icon","tuiWrapper","",1,"t-tooltip-icon",3,"hover","tuiHint","tuiHintAppearance","tuiHintContext","tuiHintDescribe","tuiHintDirection","tuiHintHideDelay","tuiHintShowDelay"],["driver","tuiHintHover"],[3,"src",4,"polymorpheusOutlet"],[3,"src"]],template:function(t,e){if(1&t&&(i.TgZ(0,"span",0,1),i.ALo(2,"async"),i.YNc(3,f,1,1,"tui-svg",2),i.qZA()),2&t){const t=i.MAs(1);i.Q6J("hover",i.lcZ(2,9,t)||null)("tuiHint",e.content)("tuiHintAppearance",e.computedAppearance)("tuiHintContext",e.context)("tuiHintDescribe",e.describeId)("tuiHintDirection",e.direction)("tuiHintHideDelay",e.hideDelay)("tuiHintShowDelay",e.showDelay),i.xp6(3),i.Q6J("polymorpheusOutlet",e.icon)}},directives:[h.o,s.D,s.xn,s.t6,s.DM,s.$o,d.Li,u.PN],pipes:[p.Ov],styles:['[_nghost-%COMP%]{transition-property:color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:relative;display:inline-block;width:1.5rem;height:1.5rem;vertical-align:middle;font-size:0;line-height:0;pointer-events:auto;cursor:pointer;color:var(--tui-text-01)}[data-appearance=error][_nghost-%COMP%]{color:var(--tui-error-fill)}.t-tooltip-icon[_ngcontent-%COMP%]{display:inline-block;width:100%;height:100%;color:inherit}[tuiWrapper][data-appearance="textfield"][data-state="disabled"][_nghost-%COMP%] .t-tooltip-icon[_ngcontent-%COMP%], [tuiWrapper][data-appearance="textfield"][data-state="disabled"] [_nghost-%COMP%] .t-tooltip-icon[_ngcontent-%COMP%]{opacity:1}'],changeDetection:0}),t})(),m=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[p.ez,h.W,u.EI,s.go,d.wq]]}),t})()},18269:function(t,e,n){"use strict";n.d(e,{oA:function(){return o},uJ:function(){return r},Jl:function(){return s},Fw:function(){return u},qT:function(){return c},fe:function(){return l},Nq:function(){return a}});var i=n(33770);const r=`?v=${i.Ml}`,o=t=>t.includes(".svg#")?t:`#${t}`,s={decimalLimit:1/0,decimalSeparator:",",thousandSeparator:i.f$,zeroPadding:!0,rounding:"truncate",decimal:"not-zero"},a=["Spacebar","Backspace","Delete","ArrowLeft","ArrowRight","Left","Right","End","Home"],l="tui-scroll-into-view",c="tui-icon-error",u=["bottom-left","bottom","bottom-right","top-left","top","top-right","left-top","left","left-bottom","right-top","right","right-bottom"]},98952:function(t,e,n){"use strict";n.d(e,{td:function(){return B},VC:function(){return G},E$:function(){return $},Tp:function(){return J},dp:function(){return W},oH:function(){return j},Ek:function(){return U},Cw:function(){return Q},fx:function(){return q}});var i=n(74788),r=n(62579),o=n(221),s=n(71486),a=n(96111),l=n(11927),c=n(27103),u=n(75122),h=n(44358),d=n(75675),p=n(57179),f=n(33770),g=n(43631),m=n(49941),v=n(12130),_=n(87941),y=n(79456),b=n(43219),w=n(46782),C=n(43190),x=n(87874),k=n(68307),O=n(9945),M=n(88002),S=n(97582),P=n(47766),E=n(66640),T=n(89570),A=n(79765),I=n(66682),D=n(25917),N=n(26215),L=n(80134);function z(t,e){if(1&t&&(i.TgZ(0,"div",4),i._uU(1),i.qZA()),2&t){const t=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",t," ")}}const F=function(t){return{$implicit:t}},R=(0,l.N1)(()=>H);let j=(()=>{class t{constructor(){this.tuiDropdownOpenChange=new i.vpe}set tuiDropdownOpen(t){var e;null===(e=this.dropdown)||void 0===e||e.toggle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiDropdownOpen",""],["","tuiDropdownOpenChange",""]],inputs:{tuiDropdownOpen:"tuiDropdownOpen"},outputs:{tuiDropdownOpenChange:"tuiDropdownOpenChange"}}),t})(),B=(()=>{class t{constructor(t,e,n,i,r,o){this.el=e,this.dropdown=n,this.injector=i,this.dropdownService=r,this.open=o,this.refresh$=new A.xQ,this.dropdownBoxRef=null,this.type="dropdown",this.component=new T.Al(this.dropdown,this.injector),this.open&&!this.open.dropdown?this.open.dropdown=this:this.open=null,this.refresh$.pipe((0,b.p)(0),(0,w.R)(t)).subscribe(()=>{var t,e;null===(t=this.dropdownBoxRef)||void 0===t||t.changeDetectorRef.detectChanges(),null===(e=this.dropdownBoxRef)||void 0===e||e.changeDetectorRef.markForCheck()})}get position(){return(0,P.qK)(this.el.nativeElement)?"fixed":"absolute"}ngAfterViewChecked(){this.refresh$.next()}ngOnChanges(){this.content||this.toggle(!1)}ngOnDestroy(){this.toggle(!1),this.open&&(this.open.dropdown=void 0)}getClientRect(){return this.el.nativeElement.getBoundingClientRect()}toggle(t){var e,n;t&&this.content&&!this.dropdownBoxRef?(this.dropdownBoxRef=this.dropdownService.add(this.component),null===(e=this.open)||void 0===e||e.tuiDropdownOpenChange.emit(!0)):!t&&this.dropdownBoxRef&&(this.dropdownService.remove(this.dropdownBoxRef),this.dropdownBoxRef=null,null===(n=this.open)||void 0===n||n.tuiDropdownOpenChange.emit(!1))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(c.a3,2),i.Y36(i.SBq),i.Y36(R),i.Y36(i.gxx),i.Y36(u.ae),i.Y36(j,8))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiDropdown","",5,"ng-container"]],inputs:{content:["tuiDropdown","content"]},exportAs:["tuiDropdown"],features:[i._Bn([c.a3,(0,g.Ic)(t),(0,g.Fe)(t)]),i.TTD]}),(0,S.gn)([h.UM],t.prototype,"position",null),t})();const V=(0,l.JN)({showDelay:200,hideDelay:500});let $=(()=>{class t extends g.kk{constructor(t,e,n){super(t=>this.stream$.subscribe(t)),this.hovered$=t,this.options=e,this.parentHover=n,this.toggle$=new A.xQ,this.stream$=(0,I.T)(this.toggle$,this.hovered$).pipe((0,C.w)(t=>(0,D.of)(t).pipe((0,x.g)(t?this.showDelay:this.hideDelay))),(0,k.b)(t=>{this.hovered=t}),(0,O.B)()),this.showDelay=this.options.showDelay,this.hideDelay=this.options.hideDelay,this.hovered=!1,this.type="dropdown"}toggle(t){var e;null===(e=this.parentHover)||void 0===e||e.toggle(t),this.toggle$.next(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(a.gs),i.Y36(V),i.Y36(t,12))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiDropdownHover","",5,"ng-container"]],inputs:{showDelay:["tuiDropdownShowDelay","showDelay"],hideDelay:["tuiDropdownHideDelay","hideDelay"]},features:[i._Bn([(0,g.UK)(t),a.gs]),i.qOj]}),t})();const Y={align:"left",direction:null,limitWidth:"auto",maxHeight:400,minHeight:80,offset:4,appearance:""},Z=(0,l.JN)(Y),q=t=>({provide:Z,deps:[[new i.FiY,U],[new i.FiY,new i.tp0,Z]],useFactory:(0,E.lp)(t,Y)});let U=(()=>{class t{constructor(t){this.options=t,this.align=this.options.align,this.appearance=this.options.appearance,this.direction=this.options.direction,this.limitWidth=this.options.limitWidth,this.minHeight=this.options.minHeight,this.maxHeight=this.options.maxHeight,this.offset=this.options.offset}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(Z,4))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiDropdownAlign",""],["","tuiDropdownAppearance",""],["","tuiDropdownDirection",""],["","tuiDropdownLimitWidth",""],["","tuiDropdownMinHeight",""],["","tuiDropdownMaxHeight",""],["","tuiDropdownOffset",""]],inputs:{align:["tuiDropdownAlign","align"],appearance:["tuiDropdownAppearance","appearance"],direction:["tuiDropdownDirection","direction"],limitWidth:["tuiDropdownLimitWidth","limitWidth"],minHeight:["tuiDropdownMinHeight","minHeight"],maxHeight:["tuiDropdownMaxHeight","maxHeight"],offset:["tuiDropdownOffset","offset"]},features:[i._Bn([{provide:Z,useExisting:(0,i.Gpc)(()=>t)}])]}),t})(),H=(()=>{class t{constructor(t,e,n,i,r,o,s,a,l,c,u){this.directive=i,this.animation=r,this.el=o,this.accessor=s,this.win=a,this.mode$=l,this.options=c,this.hoverDirective=u,e.pipe((0,M.U)(e=>"fixed"===this.directive.position?t.correct(e):e),(0,w.R)(n)).subscribe(([t,e])=>{this.update(t,e)}),this.updateWidth(this.accessor.getClientRect().width)}onHoveredChange(t){var e;null===(e=this.hoverDirective)||void 0===e||e.toggle(t)}onTopFocus(){this.moveFocusOutside(!0)}onBottomFocus(){this.moveFocusOutside(!1)}update(t,e){var n;const{style:i}=this.el.nativeElement,{right:r}=this.el.nativeElement.getBoundingClientRect(),{maxHeight:o,offset:s}=this.options,{innerHeight:a}=this.win,l=null===(n=this.el.nativeElement.offsetParent)||void 0===n?void 0:n.getBoundingClientRect(),{position:c}=this.directive,u=this.accessor.getClientRect(),h="fixed"===c?0:-((null==l?void 0:l.top)||0);t+=h;const p=(e+="fixed"===c?0:-((null==l?void 0:l.left)||0))u.left&&t{class t extends g.FP{constructor(t,e,n){super(t,e,n),this.type="dropdown"}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(c.a3,2),i.Y36(g.kk),i.Y36(g.c2))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiDropdown",""]],features:[i._Bn([c.a3]),i.qOj]}),t})(),J=(()=>{class t extends g.kk{constructor(){super(t=>this.stream$.subscribe(t)),this.stream$=new N.X(!1),this.tuiDropdownManual=!1,this.type="dropdown"}ngOnChanges(){this.stream$.next(this.tuiDropdownManual)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiDropdown","","tuiDropdownManual",""]],inputs:{tuiDropdownManual:"tuiDropdownManual"},features:[i._Bn([(0,g.UK)(t)]),i.qOj,i.TTD]}),t})(),X=(()=>{class t extends g.uG{constructor(t,e,n,i){super(),this.options=t,this.viewport=e,this.accessors=n,this.directive=i,this.type="dropdown"}getPosition({width:t,height:e}){var n,i;!t&&!e&&(this.previous=void 0);const r=null!==(i=null===(n=this.accessor)||void 0===n?void 0:n.getClientRect())&&void 0!==i?i:f.Jy,o=this.viewport.getClientRect(),{minHeight:s,align:a,direction:l,offset:c}=this.options,u={top:o.top-c,bottom:o.bottom+c,right:o.right-c,left:o.left+c},h=this.previous||l||"bottom",d={top:r.top-2*c-u.top,bottom:u.bottom-r.bottom-2*c},p=Math.max(r.right-t,c),g=r.left+td.bottom?"top":"bottom";return d[h]>s&&l||d[h]>e?[m[h],m[a]]:(this.previous=v,[m[v],m[a]])}get accessor(){return(0,g.Sv)("dropdown")(this.accessors,this.directive)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(Z),i.Y36(y.EO),i.Y36(g.O4),i.Y36(B))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiDropdown","",3,"tuiDropdownCustomPosition","",3,"tuiDropdownSided",""]],features:[i._Bn([(0,g.P7)(t)]),i.qOj]}),(0,S.gn)([h.UM],t.prototype,"accessor",null),t})(),Q=(()=>{class t extends g.uG{constructor(t,e,n){super(),this.options=t,this.viewport=e,this.vertical=n,this.previous=this.options.direction||"bottom",this.tuiDropdownSided="",this.tuiDropdownSidedOffset=4,this.type="dropdown"}getPosition(t){var e,n;if(!1===this.tuiDropdownSided)return this.vertical.getPosition(t);const{height:i,width:r}=t,o=null!==(n=null===(e=this.vertical.accessor)||void 0===e?void 0:e.getClientRect())&&void 0!==n?n:f.Jy,s=this.viewport.getClientRect(),{direction:a,minHeight:l,offset:c}=this.options,u="center"===this.options.align?"left":this.options.align,h={top:o.bottom-s.top,left:o.left-c-s.left,right:s.right-o.right-c,bottom:s.bottom-o.top},d={top:o.bottom-i+this.tuiDropdownSidedOffset+1,left:o.left-r-c,right:o.right+c,bottom:o.top-this.tuiDropdownSidedOffset-1},p=h.top>h.bottom?"top":"bottom",g=h[u]>r?d[u]:h.left>h.right?d.left:d.right;return h[this.previous]>l&&a||this.previous===p?[d[this.previous],g]:(this.previous=p,[d[p],g])}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(Z),i.Y36(y.EO),i.Y36(X))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiDropdownSided",""]],inputs:{tuiDropdownSided:"tuiDropdownSided",tuiDropdownSidedOffset:"tuiDropdownSidedOffset"},features:[i._Bn([X,(0,g.P7)(t)]),i.qOj]}),t})(),W=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[T.wq,o.A,s.e,L.Jy,a.VE]]}),t})()},90022:function(t,e,n){"use strict";n.d(e,{H3:function(){return U},$o:function(){return W},D:function(){return G},xn:function(){return K},t6:function(){return J},go:function(){return et},bZ:function(){return H},DM:function(){return tt}});var i=n(97582),r=n(74788),o=n(11927),s=n(76480),a=n(221),l=n(96111),c=n(33770),u=n(64493),h=n(85648),d=n(75675),p=n(27103),f=n(44358),g=n(40946),m=n(57179),v=n(43631),_=n(49941),y=n(75452),b=n(87941),w=n(79456),C=n(66640),x=n(89570),k=n(85345);class O{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new M(t,this.durationSelector))}}class M extends k.Ds{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){try{const e=this.durationSelector.call(this,t);e&&this._tryNext(t,e)}catch(e){this.destination.error(e)}}_complete(){this.emitValue(),this.destination.complete()}_tryNext(t,e){let n=this.durationSubscription;this.value=t,this.hasValue=!0,n&&(n.unsubscribe(),this.remove(n)),n=(0,k.ft)(e,new k.IY(this)),n&&!n.closed&&this.add(this.durationSubscription=n)}notifyNext(){this.emitValue()}notifyComplete(){this.emitValue()}emitValue(){if(this.hasValue){const t=this.value,e=this.durationSubscription;e&&(this.durationSubscription=void 0,e.unsubscribe(),this.remove(e)),this.value=void 0,this.hasValue=!1,super._next(t)}}}var S=n(43190),P=n(87874),E=n(46782),T=n(79196),A=n(45435),I=n(88002),D=n(68307),N=n(39761),L=n(87519),z=n(13653),F=n(79765),R=n(66682),j=n(25917),B=n(74235),V=n(41291),$=n(12057),Y=n(18269);function Z(t,e){1&t&&r._UZ(0,"span",1),2&t&&r.Q6J("innerHTML",e.polymorpheusOutlet,r.oJD)}const q=(0,o.N1)(()=>Q),U=(0,o.JN)({direction:"bottom-left",showDelay:500,hideDelay:200,appearance:"",icon:"tuiIconHelpCircle"});let H=(()=>{class t extends s.QJ{constructor(t){super(),this.options=t,this.direction=this.options.direction,this.appearance=this.options.appearance,this.showDelay=this.options.showDelay,this.hideDelay=this.options.hideDelay,this.icon=this.options.icon}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(U,4))},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiHintContent",""]],inputs:{content:["tuiHintContent","content"],direction:["tuiHintDirection","direction"],appearance:["tuiHintAppearance","appearance"],showDelay:["tuiHintShowDelay","showDelay"],hideDelay:["tuiHintHideDelay","hideDelay"]},features:[r._Bn([{provide:U,useExisting:(0,r.Gpc)(()=>t)}]),r.qOj]}),t})(),G=(()=>{class t{constructor(t,e,n,i,r){this.el=t,this.component=e,this.hintService=n,this.options=i,this.activeZone=r,this.tuiHintAppearance=null,this.type="hint"}get appearance(){var t;return null!==(t=this.tuiHintAppearance)&&void 0!==t?t:this.options.appearance}ngOnChanges(){this.content||this.toggle(!1)}ngOnDestroy(){this.toggle(!1)}getClientRect(){return this.el.nativeElement.getBoundingClientRect()}toggle(t){t&&this.content?this.hintService.add(this):this.hintService.remove(this)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(x.Al),r.Y36(b.BN),r.Y36(U),r.Y36(a.e,8))},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiHint","",5,"ng-container"]],inputs:{content:["tuiHint","content"],context:["tuiHintContext","context"],tuiHintAppearance:"tuiHintAppearance"},features:[r._Bn([(0,v.Ic)(t),(0,v.Fe)(t),{provide:x.Al,deps:[q,r.gxx],useClass:x.Al}]),r.TTD]}),t})(),J=(()=>{class t extends v.kk{constructor(t,e,n){super(t=>this.stream$.subscribe(t)),this.hovered$=t,this.options=e,this.el=n,this.visible=!1,this.toggle$=new F.xQ,this.stream$=(0,R.T)(this.toggle$.pipe((0,S.w)(t=>(0,j.of)(t).pipe((0,P.g)(t?0:this.hideDelay))),(0,E.R)(this.hovered$),(0,T.r)()),this.hovered$.pipe((0,S.w)(t=>(0,j.of)(t).pipe((0,P.g)(t?this.showDelay:this.hideDelay))),(0,E.R)(this.toggle$),(0,T.r)())).pipe((0,A.h)(()=>this.enabled),(0,I.U)(t=>t&&!(0,C.mn)(this.el.nativeElement)),(0,D.b)(t=>{this.visible=t})),this.showDelay=this.options.showDelay,this.hideDelay=this.options.hideDelay,this.type="hint",this.enabled=!0}toggle(t=!this.visible){this.toggle$.next(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(l.gs),r.Y36(U),r.Y36(r.SBq))},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiHint","",5,"ng-container"]],inputs:{showDelay:["tuiHintShowDelay","showDelay"],hideDelay:["tuiHintHideDelay","hideDelay"]},exportAs:["tuiHintHover"],features:[r._Bn([(0,v.UK)(t),l.gs]),r.qOj]}),t})(),X=(()=>{class t extends J{constructor(){super(...arguments),this.currentRect=c.Jy}onMove({clientX:t,clientY:e}){this.currentRect=(0,u.dD)(t,e)}getClientRect(){return this.currentRect}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,selectors:[["","tuiHint","","tuiHintPointer",""]],hostBindings:function(t,e){1&t&&r.NdJ("mousemove.silent",function(t){return e.onMove(t)})},features:[r._Bn([(0,v.Ic)(t),(0,v.UK)(t)]),r.qOj]}),t})(),Q=(()=>{class t{constructor(t,e,n,i,r,o,s,a,l,c,u,h){var d;this.animation=i,this.pointer=r,this.accessor=o,this.el=s,this.polymorpheus=a,this.hover=l,this.mode=c,this.visualViewportService=u,this.viewport=h,this.appearance=this.polymorpheus.$implicit.appearance||(null===(d=this.mode)||void 0===d?void 0:d.mode),e.pipe((0,I.U)(t=>this.visualViewportService.correct(t)),(0,E.R)(n)).subscribe(([t,e])=>{this.update(t,e)}),t.pipe((0,E.R)(n)).subscribe(t=>this.hover.toggle(t))}get content(){return this.polymorpheus.$implicit.content}get context(){return this.polymorpheus.$implicit.context}onClick(t){(!this.el.nativeElement.contains(t)&&!this.hover.el.nativeElement.contains(t)||(0,C.mn)(this.hover.el.nativeElement))&&this.hover.toggle(!1)}update(t,e){const{height:n,width:i}=this.el.nativeElement.getBoundingClientRect(),{style:r}=this.el.nativeElement,o=this.accessor.getClientRect(),s=this.viewport.getClientRect();if(o===c.Jy)return;const a=(0,h.Ki)(e,4,s.width-i-4),[l,u]=this.visualViewportService.correct([o.top+o.height/2-t,o.left+o.width/2-a]);r.top=(0,d.O)(t),r.left=(0,d.O)(a),r.setProperty("--top",(0,d.O)((0,h.Ki)(l,.5,n-1))),r.setProperty("--left",(0,d.O)((0,h.Ki)(u,.5,i-1)))}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(l.gs),r.Y36(b.KG),r.Y36(p.a3,2),r.Y36(w.Pw),r.Y36(X,8),r.Y36(v.O4),r.Y36(r.SBq),r.Y36(x.yf),r.Y36(J),r.Y36(y.w,8),r.Y36(b.Lp),r.Y36(w.EO))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-hint"]],hostVars:4,hostBindings:function(t,e){1&t&&r.NdJ("click",function(t){return e.onClick(t.target)},!1,r.evT),2&t&&(r.uIk("data-appearance",e.appearance),r.d8E("@tuiFadeIn",e.animation),r.ekj("_untouchable",e.pointer))},features:[r._Bn([p.a3,b.KG,l.gs,(0,v.ei)("hint"),(0,v.Wk)("hint",G)])],decls:1,vars:2,consts:[[3,"innerHTML",4,"polymorpheusOutlet","polymorpheusOutletContext"],[3,"innerHTML"]],template:function(t,e){1&t&&r.YNc(0,Z,1,1,"span",0),2&t&&r.Q6J("polymorpheusOutlet",e.content)("polymorpheusOutletContext",e.context)},directives:[x.Li],styles:['[_nghost-%COMP%]{position:absolute;max-width:18rem;min-height:var(--tui-height-m);padding:.75rem 1rem;background:var(--tui-primary);border-radius:var(--tui-radius-l);color:var(--tui-primary-text);box-sizing:border-box;font:var(--tui-font-text-s);white-space:pre-line;word-wrap:break-word}[_nghost-%COMP%]:before{content:"";position:absolute;top:var(--top);left:var(--left);width:.5rem;height:.5rem;border-radius:.125rem;box-sizing:border-box;background:inherit;transform:translate(-50%,-50%) rotate(45deg)}[data-appearance=error][_nghost-%COMP%]{background:var(--tui-error-fill)}[data-appearance=onDark][_nghost-%COMP%]{background:var(--tui-elevation-02);color:var(--tui-text-01);filter:drop-shadow(0 0 .125rem rgba(0,0,0,.16)) drop-shadow(0 1.5rem 1rem rgba(0,0,0,.03)) drop-shadow(0 .75rem .75rem rgba(0,0,0,.04)) drop-shadow(0 .25rem .375rem rgba(0,0,0,.05))}[_nghost-%COMP%]:not([style*="top"]){visibility:hidden}._untouchable[_nghost-%COMP%]{pointer-events:none}'],data:{animation:[_.QF]},changeDetection:0}),(0,i.gn)([f.UM],t.prototype,"update",null),t})(),W=(()=>{class t extends v.kk{constructor(t,e,n){super(t=>this.stream$.subscribe(t)),this.zone=t,this.doc=e,this.el=n,this.id$=new B.t(1),this.stream$=this.id$.pipe((0,g.Xd)(()=>(0,g.mL)(this.doc,"keydown",{capture:!0}),o.Pc),(0,S.w)(()=>this.focused?(0,j.of)(!1):(0,R.T)((0,g.mL)(this.doc,"keyup"),(0,g.mL)(this.element,"blur")).pipe((0,I.U)(()=>this.focused))),function(t){return e=>e.lift(new O(t))}(t=>t?(0,V.H)(1e3):(0,j.of)(null)),(0,N.O)(!1),(0,L.x)(),(0,z.T)(1),(0,g.Yr)(this.zone)),this.tuiHintDescribe="",this.type="hint"}ngOnChanges(){this.id$.next(this.tuiHintDescribe)}get focused(){return(0,m.V8)(this.element)}get element(){return this.doc.getElementById(this.tuiHintDescribe||"")||this.el.nativeElement}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.R0b),r.Y36($.K0),r.Y36(r.SBq))},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiHintDescribe",""]],inputs:{tuiHintDescribe:"tuiHintDescribe"},features:[r._Bn([(0,v.UK)(t)]),r.qOj,r.TTD]}),(0,i.gn)([f.UM],t.prototype,"element",null),t})(),K=(()=>{class t extends v.FP{constructor(t,e,n){super(t,e,n),this.type="hint"}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(p.a3,2),r.Y36(v.kk),r.Y36(v.c2))},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiHint",""]],features:[r._Bn([p.a3]),r.qOj]}),t})(),tt=(()=>{class t extends v.uG{constructor(t,e,n,i){super(),this.options=t,this.viewport=e,this.directive=n,this.accessors=i,this.points=Y.Fw.reduce((t,e)=>Object.assign(Object.assign({},t),{[e]:[0,0]}),{}),this.direction=this.options.direction,this.type="hint"}getPosition({width:t,height:e}){var n,i;const r=null!==(i=null===(n=this.accessor)||void 0===n?void 0:n.getClientRect())&&void 0!==i?i:c.Jy,o=r.left+r.width/2,s=r.top+r.height/2;if(this.points["top-left"][0]=r.top-e-8,this.points["top-left"][1]=o-t+22,this.points.top[0]=this.points["top-left"][0],this.points.top[1]=o-t/2,this.points["top-right"][0]=this.points["top-left"][0],this.points["top-right"][1]=o-22,this.points["bottom-left"][0]=r.bottom+8,this.points["bottom-left"][1]=this.points["top-left"][1],this.points.bottom[0]=this.points["bottom-left"][0],this.points.bottom[1]=this.points.top[1],this.points["bottom-right"][0]=this.points["bottom-left"][0],this.points["bottom-right"][1]=this.points["top-right"][1],this.points["left-top"][0]=s-e+22,this.points["left-top"][1]=r.left-t-8,this.points.left[0]=s-e/2,this.points.left[1]=this.points["left-top"][1],this.points["left-bottom"][0]=s-22,this.points["left-bottom"][1]=this.points["left-top"][1],this.points["right-top"][0]=this.points["left-top"][0],this.points["right-top"][1]=r.right+8,this.points.right[0]=this.points.left[0],this.points.right[1]=this.points["right-top"][1],this.points["right-bottom"][0]=this.points["left-bottom"][0],this.points["right-bottom"][1]=this.points["right-top"][1],this.checkPosition(this.points[this.direction],t,e))return this.points[this.direction];const a=Y.Fw.find(n=>this.checkPosition(this.points[n],t,e));return this.points[a||this.fallback]}get accessor(){return(0,v.Sv)("hint")(this.accessors,this.directive)}get fallback(){return this.points.top[0]>this.viewport.getClientRect().bottom-this.points.bottom[0]?"top":"bottom"}checkPosition([t,e],n,i){const r=this.viewport.getClientRect();return t>8&&e>8&&t+i{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[$.ez,x.wq]]}),t})()},75452:function(t,e,n){"use strict";n.d(e,{w:function(){return o},z:function(){return s}});var i=n(74788),r=n(76480);let o=(()=>{class t extends r.QJ{constructor(){super(...arguments),this.mode=null}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,selectors:[["","tuiMode",""]],inputs:{mode:["tuiMode","mode"]},features:[i.qOj]}),t})(),s=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},79588:function(t,e,n){"use strict";n.d(e,{Y0:function(){return R},Ym:function(){return _},z1:function(){return g},kI:function(){return N},Cs:function(){return F},be:function(){return y},cn:function(){return z},B7:function(){return w},kD:function(){return x},AW:function(){return O},aR:function(){return S},xT:function(){return E},Tq:function(){return A},A7:function(){return D},sz:function(){return L}});var i=n(11927),r=n(76480),o=n(27103),s=n(40946),a=n(74788),l=n(79456),c=n(29856),u=n(98640);const h=new c.y(u.Z);var d=n(66682),p=n(46782);class f{constructor(t,e,n,i,r,o,s,a,l,c,u,h,d){this.change$=t,this.options=e,this.legacyAppearance=n,this.appearanceDirective=i,this.cleanerDirective=r,this.customContentDirective=o,this.iconDirective=s,this.iconLeftDirective=a,this.labelOutsideDirective=l,this.sizeDirective=c,this.prefixDirective=u,this.postfixDirective=h,this.fillerDirective=d}get appearance(){return this.appearanceDirective.appearance||this.legacyAppearance}get cleaner(){return this.cleanerDirective.cleaner}get customContent(){return this.customContentDirective.customContent||""}get icon(){return this.iconDirective.icon}get iconLeft(){return this.iconLeftDirective.iconLeft}get labelOutside(){return this.labelOutsideDirective.labelOutside}get size(){return this.sizeDirective.size}get prefix(){return this.prefixDirective.prefix}get postfix(){return this.postfixDirective.postfix}get filler(){return this.fillerDirective.filler}}const g=(0,i.JN)({iconCleaner:"tuiIconClose",hintOnDisabled:!1}),m=(0,i.N1)(()=>new v);let v=(()=>{class t extends r.QJ{constructor(){super(...arguments),this.appearance=""}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=a.n5z(t)))(n||t)}}(),t.\u0275dir=a.lG2({type:t,selectors:[["","tuiTextfieldAppearance",""]],inputs:{appearance:["tuiTextfieldAppearance","appearance"]},features:[a._Bn([{provide:m,useExisting:(0,a.Gpc)(()=>t)}]),a.qOj]}),t})();const _=(0,i.N1)(()=>new y);let y=(()=>{class t extends r.QJ{constructor(){super(...arguments),this.cleaner=!1}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=a.n5z(t)))(n||t)}}(),t.\u0275dir=a.lG2({type:t,selectors:[["","tuiTextfieldCleaner",""]],inputs:{cleaner:["tuiTextfieldCleaner","cleaner"]},features:[a._Bn([{provide:_,useExisting:(0,a.Gpc)(()=>t)}]),a.qOj]}),t})();const b=(0,i.N1)(()=>new w);let w=(()=>{class t extends r.QJ{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=a.n5z(t)))(n||t)}}(),t.\u0275dir=a.lG2({type:t,selectors:[["","tuiTextfieldCustomContent",""]],inputs:{customContent:["tuiTextfieldCustomContent","customContent"]},features:[a._Bn([{provide:b,useExisting:(0,a.Gpc)(()=>t)}]),a.qOj]}),t})();const C=(0,i.N1)(()=>new x);let x=(()=>{class t extends r.QJ{constructor(){super(...arguments),this.filler=""}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=a.n5z(t)))(n||t)}}(),t.\u0275dir=a.lG2({type:t,selectors:[["","tuiTextfieldFiller",""]],inputs:{filler:["tuiTextfieldFiller","filler"]},features:[a._Bn([{provide:C,useExisting:(0,a.Gpc)(()=>t)}]),a.qOj]}),t})();const k=(0,i.N1)(()=>new O);let O=(()=>{class t extends r.QJ{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=a.n5z(t)))(n||t)}}(),t.\u0275dir=a.lG2({type:t,selectors:[["","tuiTextfieldIcon",""]],inputs:{icon:["tuiTextfieldIcon","icon"]},features:[a._Bn([{provide:k,useExisting:(0,a.Gpc)(()=>t)}]),a.qOj]}),t})();const M=(0,i.N1)(()=>new S);let S=(()=>{class t extends r.QJ{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=a.n5z(t)))(n||t)}}(),t.\u0275dir=a.lG2({type:t,selectors:[["","tuiTextfieldIconLeft",""]],inputs:{iconLeft:["tuiTextfieldIconLeft","iconLeft"]},features:[a._Bn([{provide:M,useExisting:(0,a.Gpc)(()=>t)}]),a.qOj]}),t})();const P=(0,i.N1)(()=>new E);let E=(()=>{class t extends r.QJ{constructor(){super(...arguments),this.labelOutside=!1}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=a.n5z(t)))(n||t)}}(),t.\u0275dir=a.lG2({type:t,selectors:[["","tuiTextfieldLabelOutside",""]],inputs:{labelOutside:["tuiTextfieldLabelOutside","labelOutside"]},features:[a._Bn([{provide:P,useExisting:(0,a.Gpc)(()=>t)}]),a.qOj]}),t})();const T=(0,i.N1)(()=>new A);let A=(()=>{class t extends r.QJ{constructor(){super(...arguments),this.postfix=""}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=a.n5z(t)))(n||t)}}(),t.\u0275dir=a.lG2({type:t,selectors:[["","tuiTextfieldPostfix",""]],inputs:{postfix:["tuiTextfieldPostfix","postfix"]},features:[a._Bn([{provide:T,useExisting:(0,a.Gpc)(()=>t)}]),a.qOj]}),t})();const I=(0,i.N1)(()=>new D);let D=(()=>{class t extends r.QJ{constructor(){super(...arguments),this.prefix=""}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=a.n5z(t)))(n||t)}}(),t.\u0275dir=a.lG2({type:t,selectors:[["","tuiTextfieldPrefix",""]],inputs:{prefix:["tuiTextfieldPrefix","prefix"]},features:[a._Bn([{provide:I,useExisting:(0,a.Gpc)(()=>t)}]),a.qOj]}),t})();const N=(0,i.N1)(()=>new L);let L=(()=>{class t extends r.QJ{constructor(){super(...arguments),this.size="l"}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=a.n5z(t)))(n||t)}}(),t.\u0275dir=a.lG2({type:t,selectors:[["","tuiTextfieldSize",""]],inputs:{size:["tuiTextfieldSize","size"]},features:[a._Bn([{provide:N,useExisting:(0,a.Gpc)(()=>t)}]),a.qOj]}),t})(),z=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({}),t})();const F=new a.OlP("[TUI_TEXTFIELD_WATCHED_CONTROLLER]"),R=[o.a3,{provide:F,deps:[a.sBO,o.a3,g,l.jt,m,_,b,k,M,P,N,I,T,C],useFactory:(t,e,n,i,...r)=>{const o=(0,d.T)(...r.map(({change$:t})=>t||h)).pipe((0,s.NA)(t),(0,p.R)(e));return o.subscribe(),new f(o,n,i,...r)}}]},91489:function(t,e,n){"use strict";n.d(e,{o:function(){return a},W:function(){return l}});var i=n(74788),r=n(77320),o=n(12130),s=n(79456);let a=(()=>{class t{constructor(t){this.mode$=t,this.disabled=!1,this.readOnly=!1,this.hover=null,this.active=null,this.focus=!1,this.invalid=!1,this.appearance=""}get computedInvalid(){return!this.disabled&&!this.readOnly&&this.invalid}get computedFocused(){return this.focus&&!this.disabled}get interactiveState(){return this.disabled?r.z3.Disabled:this.readOnly?r.z3.Readonly:this.active?r.z3.Active:this.hover?r.z3.Hover:null}get noHover(){return this.readOnly||!1===this.hover}get noActive(){return this.readOnly||!1===this.active}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(s.Au))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiWrapper",""]],hostVars:10,hostBindings:function(t,e){1&t&&i.NdJ("$.data-mode.attr",function(){return e.mode$}),2&t&&(i.uIk("data-appearance",e.appearance)("data-state",e.interactiveState),i.ekj("_invalid",e.computedInvalid)("_focused",e.computedFocused)("_no-hover",e.noHover)("_no-active",e.noActive))},inputs:{disabled:"disabled",readOnly:"readOnly",hover:"hover",active:"active",focus:"focus",invalid:"invalid",appearance:"appearance"},features:[i._Bn([o.CV])]}),t})(),l=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},77320:function(t,e,n){"use strict";n.d(e,{Nm:function(){return i},z3:function(){return r}});var i=(()=>{return(t=i||(i={})).Accent="accent",t.Flat="flat",t.Icon="icon",t.Outline="outline",t.Primary="primary",t.Secondary="secondary",t.SecondaryDestructive="secondary-destructive",t.Table="table",t.Textfield="textfield",t.Whiteblock="whiteblock",t.WhiteblockActive="whiteblock-active",i;var t})(),r=(()=>{return(t=r||(r={})).Active="active",t.Disabled="disabled",t.Hover="hover",t.Readonly="readonly",r;var t})()},12130:function(t,e,n){"use strict";n.d(e,{CV:function(){return c}});var i=n(74788),r=n(79456),o=n(75452),s=n(25917),a=n(39761),l=n(88002);new i.tp0;const c={provide:r.Au,deps:[[new i.FiY,o.w],i.SBq],useFactory:(t,{nativeElement:e})=>{const n=t?t.change$.pipe((0,a.O)(null),(0,l.U)(()=>t.mode)):(0,s.of)(null);return e["$.data-mode.attr"]=n,n}}},87941:function(t,e,n){"use strict";n.d(e,{zE:function(){return k},BN:function(){return O},KG:function(){return M},Ok:function(){return S},K5:function(){return P},Lp:function(){return E}});var i=n(74788),r=n(40946),o=n(99434),s=n(33770),a=n(27103),l=(n(18939),n(79456)),c=n(29856),u=n(26215),h=n(66682),d=n(41291),p=n(59193),f=n(88002),g=n(87519),m=n(47349),v=n(68939),_=n(46782),y=n(62579),b=n(43631),w=n(86561),C=n(91211),x=n(47766);let k=(()=>{class t extends c.y{constructor(t,e,n){super(t=>this.stream$.subscribe(t)),this.media=t,this.ngZone=e,this.size$=n,this.sorted=Object.values(this.media).sort((t,e)=>t-e),this.invert=Object.keys(this.media).reduce((t,e)=>Object.assign(Object.assign({},t),{[this.media[e]]:e}),{}),this.stream$=this.size$.pipe((0,f.U)(({width:t})=>this.sorted.find(e=>e>t)),(0,f.U)(t=>this.invert[t||this.sorted[this.sorted.length-1]]),(0,g.x)(),(0,r.Yr)(this.ngZone),(0,m.d)({bufferSize:1,refCount:!0}))}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(l.J_),i.LFG(i.R0b),i.LFG(o.fM))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),O=(()=>{class t extends u.X{constructor(){super([])}add(t){this.next(this.value.concat(t))}remove(t){this.value.includes(t)&&this.next(this.value.filter(e=>e!==t))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),M=(()=>{class t extends c.y{constructor(t,e,n,i){super(o=>e.pipe((0,f.U)(()=>t.nativeElement.getBoundingClientRect()),(0,f.U)(t=>i.getPosition(t)),(0,r.fL)(n),(0,v.x)(()=>i.getPosition(s.Jy))).subscribe(o))}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.SBq),i.LFG(y.L1),i.LFG(i.R0b),i.LFG(b.uG))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),S=(()=>{class t extends c.y{constructor(t,e,n,i){const o=t?(0,h.T)((0,d.H)(0),n).pipe((0,f.U)(()=>t.isActive),(0,g.x)(),(0,r.Yr)(e),(0,_.R)(i)):p.E;super(t=>o.subscribe(t))}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(w.Od,8),i.LFG(i.R0b),i.LFG(y.L1),i.LFG(a.a3,2))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),P=(()=>{class t{constructor(t,e,n){this.tuiSanitizer=t,this.sanitizer=e,this.originals={},this.items$=new u.X(new Map),this.define(n)}define(t){const{value:e}=this.items$;Object.keys(t).forEach(n=>{this.defineIcon(n,t[n],e)}),this.items$.next(e)}getOriginal(t){return this.originals[t]||null}defineIcon(t,e,n){if(n.has(t))return;const i=this.parseSrc(t,e);!i||(n.set(t,i),this.originals=Object.assign(Object.assign({},this.originals),{[t]:e}))}parseSrc(t,e){return this.sanitize((0,x.NK)(e,t))}sanitize(t){return this.sanitizer.bypassSecurityTrustHtml((this.tuiSanitizer?this.tuiSanitizer.sanitize(i.q3G.HTML,t):this.sanitizer.sanitize(i.q3G.HTML,t))||"")}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(l.hm,8),i.LFG(C.H7),i.LFG(l.It))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),E=(()=>{class t{constructor(t,e){this.win=t,this.isWebkit=e}correct(t){var e,n,i,r;return this.isWebkit?[t[0]+(null!==(n=null===(e=this.win.visualViewport)||void 0===e?void 0:e.offsetTop)&&void 0!==n?n:0),t[1]+(null!==(r=null===(i=this.win.visualViewport)||void 0===i?void 0:i.offsetLeft)&&void 0!==r?r:0)]:t}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(y.m9),i.LFG(o.jF))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},79456:function(t,e,n){"use strict";n.d(e,{dx:function(){return O},Pw:function(){return M},U0:function(){return L},Gs:function(){return P},N1:function(){return A},PL:function(){return F},xp:function(){return j},It:function(){return V},ki:function(){return $},AA:function(){return B},rL:function(){return Z},sf:function(){return q},J_:function(){return Y},Au:function(){return U},$R:function(){return N},PH:function(){return z},Ln:function(){return G},HO:function(){return J},IQ:function(){return X},TK:function(){return k},hm:function(){return K},u_:function(){return tt},V5:function(){return et},jt:function(){return nt},S0:function(){return it},r2:function(){return ot},sE:function(){return st},EO:function(){return at},RB:function(){return T},oE:function(){return I},P7:function(){return Q},cp:function(){return rt}});var i=n(74788),r=n(11927),o=n(36424),s=n(40946),a=n(68192),l=n(12057),c=n(47232),u=n(47766),h=n(66640),d=n(62579),p=n(9945),f=n(39761),g=n(88002),m=n(87519),v=n(43190),_=n(46782),y=n(18269),b=n(25917),w=n(66682),C=n(54487),x=n(77320);const k=(0,r.N1)(()=>{var t,e,n;return null!==(n=null===(e=null===(t=(0,i.f3M)(l.K0).defaultView)||void 0===t?void 0:t.matchMedia)||void 0===e?void 0:e.call(t,"(prefers-reduced-motion: reduce)").matches)&&void 0!==n&&n}),O=(0,r.N1)(()=>(0,i.f3M)(k)?0:300),M=(0,r.N1)(()=>({value:"",params:{duration:(0,i.f3M)(O)}})),S=((0,r.N1)(()=>(0,i.X6Q)()),{check:"tuiIconCheck",close:"tuiIconClose",error:"tuiIconAlertCircle",more:"tuiIconChevronRight"}),P=(0,r.JN)(S),E=new i.OlP("[TUI_DATA_LIST_ACCESSOR]");function T(t){return{provide:E,useExisting:t}}const A=new i.OlP("[TUI_DATA_LIST_HOST]");function I(t){return{provide:A,useExisting:t}}(0,r.JN)(t=>t.isWeekend?"weekend":"weekday"),new i.OlP("[TUI_DOCUMENT_OR_SHADOW_ROOT]"),new i.OlP("[TUI_ELEMENT_REF]");const D=(0,r.JN)(o.L.Monday),N=(0,r.N1)((0,c.v)("months")),L=(0,r.N1)((0,c.v)("close")),z=(0,r.N1)((0,c.v)("nothingFoundMessage")),F=(0,r.N1)((0,c.v)("defaultErrorMessage")),R=((0,r.N1)((0,c.v)("spinTexts")),(0,r.N1)((0,c.v)("shortWeekDays"))),j="assets/taiga-ui/icons",B=(0,r.JN)(j),V=(0,r.JN)({}),$=(0,r.N1)(()=>(0,h.ht)((0,i.f3M)(B))),Y=(0,r.JN)({mobile:768,desktopSmall:1024,desktopLarge:1280}),Z=(0,r.N1)(()=>{const t=(0,i.f3M)(d.m9),e=(0,i.f3M)(Y);return(0,s.mL)(t,"resize").pipe((0,p.B)(),(0,f.O)(null),(0,g.U)(()=>function(t,{mobile:e}){return(0,u.ic)(t)H[t],size:"m",hasIcon:!0,defaultAutoCloseTime:3e3}),J=(0,r.JN)(y.Jl);(0,r.JN)((0,b.of)(Object.assign(Object.assign({},y.Jl),{decimalLimit:NaN})));const X=new i.OlP("[TUI_OPTION_CONTENT]");function Q(t){return{provide:X,useValue:t}}const W=t=>{const e=t.length-1;return[t[e],...t.slice(0,e)]},K=((0,r.N1)(()=>{const t=(0,i.f3M)(D);return(0,i.f3M)(R).pipe((0,g.U)(W),(0,g.U)(e=>[...e.slice(t),...e.slice(0,t)]))}),new i.OlP("[TUI_SANITIZER]")),tt=((0,r.N1)(()=>{const t=(0,i.f3M)(l.K0);return(0,w.T)((0,s.mL)(t,"selectionchange"),(0,s.mL)(t,"mouseup"),(0,s.mL)(t,"mousedown").pipe((0,v.w)(()=>(0,s.mL)(t,"mousemove").pipe((0,_.R)((0,s.mL)(t,"mouseup"))))),(0,s.mL)(t,"keydown"),(0,s.mL)(t,"keyup")).pipe((0,p.B)())}),(0,r.JN)({decrement:"tuiIconChevronLeft",increment:"tuiIconChevronRight"}),(0,r.JN)(a.N)),et=(0,r.JN)(C.y),nt=(0,r.JN)(x.Nm.Textfield),it=new i.OlP("[TUI_TEXTFIELD_HOST]");function rt(t){return{provide:it,useExisting:t}}const ot=(0,r.JN)("Taiga"),st=new i.OlP("[TUI_VALUE_ACCESSOR]"),at=(0,r.N1)(()=>{const t=(0,i.f3M)(d.m9);return{type:"viewport",getClientRect:()=>({top:0,left:0,right:t.innerWidth,bottom:t.innerHeight,width:t.innerWidth,height:t.innerHeight})}})},47766:function(t,e,n){"use strict";function i(t){return!(!t||"undefined"==typeof getComputedStyle)&&("fixed"===getComputedStyle(t).getPropertyValue("position")||i(t.parentElement))}function r({document:t,innerWidth:e}){return Math.max(t.documentElement.clientWidth||0,e||0)}n.d(e,{qK:function(){return i},ic:function(){return r},NK:function(){return l}});const o='width="',s='height="',a="")));if(!(null==i?void 0:i.includes(o))||!i.includes(s))return`${n.replace(a,``;const r=i.indexOf(o),l=i.indexOf(s),c=r+o.length,u=l+s.length,h=i.slice(c,i.indexOf('"',c)),d=i.slice(u,i.indexOf('"',u));if(!d||!h||h.includes("%")||d.includes("%")||h.includes("em")||d.includes("em"))return n.replace(a,`${n}`}},66640:function(t,e,n){"use strict";n.d(e,{_X:function(){return o},ht:function(){return s},kL:function(){return a},mn:function(){return l},jL:function(){return c},lp:function(){return u},R9:function(){return d}});var i=n(18269),r=n(64493);function o(t,e=!1,n=!1,i=!1,r="m"){const o="s"===r?0:.25;let s=0;return t&&(s+=1.5+o),e&&(s+=1.5+o),n&&(s+=1.5+o),i&&(s+=2.5+o),s}function s(t){const e=t.endsWith("/")?t:`${t}/`;return t=>t.startsWith("tuiIcon")?`${e}${t}.svg${i.uJ}#${t}`:(0,i.oA)(t)}function a(t){return 1===t.length||i.Nq.includes(t)}function l(t,e="tui-hints-host"){var n;return!!(null===(n=(0,r.PU)(t))||void 0===n?void 0:n.some(t=>!t.closest(e)))}function c(t){const e=t.trim();return e.startsWith("<")&&e.endsWith(">")}function u(t,e){return(n,i)=>{const r=n||Object.assign({},i||e);return Object.keys(t).forEach(e=>{r[e]=t[e]}),r}}const h={xxs:0,xs:1,s:2,m:3,l:4,xl:5,xxl:6};function d(t,e="s"){return h[t]>h[e]}},31081:function(t,e,n){"use strict";n.d(e,{X:function(){return i}});var i=(()=>{return(t=i||(i={})).AD="AD",t.AE="AE",t.AF="AF",t.AG="AG",t.AI="AI",t.AL="AL",t.AM="AM",t.AO="AO",t.AR="AR",t.AT="AT",t.AU="AU",t.AW="AW",t.AZ="AZ",t.BA="BA",t.BB="BB",t.BD="BD",t.BE="BE",t.BF="BF",t.BG="BG",t.BH="BH",t.BI="BI",t.BJ="BJ",t.BL="BL",t.BM="BM",t.BN="BN",t.BO="BO",t.BQ="BQ",t.BR="BR",t.BS="BS",t.BT="BT",t.BW="BW",t.BY="BY",t.BZ="BZ",t.CA="CA",t.CD="CD",t.CF="CF",t.CG="CG",t.CH="CH",t.CI="CI",t.CL="CL",t.CM="CM",t.CN="CN",t.CO="CO",t.CR="CR",t.CU="CU",t.CV="CV",t.CW="CW",t.CY="CY",t.CZ="CZ",t.DE="DE",t.DJ="DJ",t.DK="DK",t.DM="DM",t.DO="DO",t.DZ="DZ",t.EC="EC",t.EE="EE",t.EG="EG",t.ER="ER",t.ES="ES",t.ET="ET",t.FI="FI",t.FJ="FJ",t.FK="FK",t.FM="FM",t.FR="FR",t.GA="GA",t.GB="GB",t.GD="GD",t.GE="GE",t.GF="GF",t.GH="GH",t.GI="GI",t.GL="GL",t.GM="GM",t.GN="GN",t.GP="GP",t.GQ="GQ",t.GR="GR",t.GT="GT",t.GW="GW",t.GY="GY",t.HK="HK",t.HN="HN",t.HR="HR",t.HT="HT",t.HU="HU",t.ID="ID",t.IE="IE",t.IL="IL",t.IN="IN",t.IQ="IQ",t.IR="IR",t.IS="IS",t.IT="IT",t.JM="JM",t.JO="JO",t.JP="JP",t.KE="KE",t.KG="KG",t.KH="KH",t.KM="KM",t.KN="KN",t.KP="KP",t.KR="KR",t.KW="KW",t.KY="KY",t.KZ="KZ",t.LA="LA",t.LB="LB",t.LC="LC",t.LI="LI",t.LK="LK",t.LR="LR",t.LS="LS",t.LT="LT",t.LU="LU",t.LV="LV",t.LY="LY",t.MA="MA",t.MC="MC",t.MD="MD",t.ME="ME",t.MF="MF",t.MG="MG",t.MK="MK",t.ML="ML",t.MM="MM",t.MN="MN",t.MO="MO",t.MQ="MQ",t.MR="MR",t.MS="MS",t.MT="MT",t.MU="MU",t.MV="MV",t.MW="MW",t.MX="MX",t.MY="MY",t.MZ="MZ",t.NA="NA",t.NC="NC",t.NE="NE",t.NG="NG",t.NI="NI",t.NL="NL",t.NO="NO",t.NP="NP",t.NZ="NZ",t.OM="OM",t.PA="PA",t.PE="PE",t.PF="PF",t.PG="PG",t.PH="PH",t.PK="PK",t.PL="PL",t.PT="PT",t.PW="PW",t.PY="PY",t.QA="QA",t.RE="RE",t.RO="RO",t.RS="RS",t.RU="RU",t.RW="RW",t.SA="SA",t.SB="SB",t.SC="SC",t.SD="SD",t.SE="SE",t.SG="SG",t.SH="SH",t.SI="SI",t.SK="SK",t.SL="SL",t.SM="SM",t.SN="SN",t.SO="SO",t.SR="SR",t.ST="ST",t.SV="SV",t.SX="SX",t.SY="SY",t.SZ="SZ",t.TC="TC",t.TD="TD",t.TG="TG",t.TH="TH",t.TJ="TJ",t.TL="TL",t.TM="TM",t.TN="TN",t.TO="TO",t.TR="TR",t.TT="TT",t.TW="TW",t.TZ="TZ",t.UA="UA",t.UG="UG",t.US="US",t.UY="UY",t.UZ="UZ",t.VC="VC",t.VE="VE",t.VG="VG",t.VN="VN",t.VU="VU",t.WS="WS",t.XK="XK",t.YE="YE",t.YT="YT",t.ZA="ZA",t.ZM="ZM",t.ZW="ZW",i;var t})()},47232:function(t,e,n){"use strict";n.d(e,{v:function(){return d}});var i=n(74788),r=n(31081);const o=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({name:"english"},{months:["January","February","March","April","May","June","July","August","September","October","November","December"],close:"Close",nothingFoundMessage:"Nothing found",defaultErrorMessage:"Value is invalid",spinTexts:["Previous","Next"],shortWeekDays:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],countries:{[r.X.AD]:"Andorra",[r.X.AE]:"United Arab Emirates",[r.X.AF]:"Afghanistan",[r.X.AG]:"Antigua and Barbuda",[r.X.BL]:"Saint Barth\xe9lemy",[r.X.AI]:"Anguilla",[r.X.AL]:"Albania",[r.X.AM]:"Armenia",[r.X.AO]:"Angola",[r.X.AR]:"Argentina",[r.X.AT]:"Austria",[r.X.AU]:"Australia",[r.X.AW]:"Aruba",[r.X.AZ]:"Azerbaijan",[r.X.BA]:"Bosnia and Herzegovina",[r.X.BB]:"Barbados",[r.X.BD]:"Bangladesh",[r.X.BE]:"Belgium",[r.X.BF]:"Burkina Faso",[r.X.BG]:"Bulgaria",[r.X.BH]:"Bahrain",[r.X.BI]:"Burundi",[r.X.BJ]:"Benin",[r.X.GF]:"Guyana",[r.X.BM]:"Bermuda",[r.X.BN]:"Brunei Darussalam",[r.X.BO]:"Bolivia",[r.X.BQ]:"Bonaire, Sint Eustatius and Saba",[r.X.BR]:"Brazil",[r.X.BS]:"Bahamas",[r.X.BT]:"Bhutan",[r.X.BW]:"Botswana",[r.X.BY]:"Belarus",[r.X.BZ]:"Belize",[r.X.CA]:"Canada",[r.X.CD]:"Dem. Rep. Congo (Kinshasa)",[r.X.CF]:"Central African Republic",[r.X.CG]:"Congo (Brazzaville)",[r.X.CH]:"Switzerland",[r.X.CI]:"Ivory Coast",[r.X.CL]:"Chile",[r.X.CM]:"Cameroon",[r.X.CN]:"China",[r.X.CO]:"Colombia",[r.X.CR]:"Costa Rica",[r.X.CU]:"Cuba",[r.X.CV]:"Cape Verde",[r.X.CW]:"Cura\xe7ao",[r.X.CY]:"Cyprus",[r.X.CZ]:"Czech Republic",[r.X.DE]:"Germany",[r.X.DJ]:"Djibouti",[r.X.DK]:"Denmark",[r.X.DM]:"Dominica",[r.X.DO]:"Dominican Republic",[r.X.DZ]:"Algeria",[r.X.EC]:"Ecuador",[r.X.EE]:"Estonia",[r.X.EG]:"Egypt",[r.X.ER]:"Eritrea",[r.X.ES]:"Spain",[r.X.ET]:"Ethiopia",[r.X.FI]:"Finland",[r.X.FJ]:"Fiji",[r.X.FK]:"Falkland Islands",[r.X.FM]:"F.S. of Micronesia",[r.X.FR]:"France",[r.X.GA]:"Gabon",[r.X.GB]:"United Kingdom",[r.X.GD]:"Grenada",[r.X.GE]:"Georgia",[r.X.GP]:"Guadeloupe",[r.X.GH]:"Ghana",[r.X.GI]:"Gibraltar",[r.X.GL]:"Greenland",[r.X.GM]:"Gambia",[r.X.GN]:"Guinea",[r.X.MF]:"Saint-Martin",[r.X.GQ]:"Equatorial Guinea",[r.X.GR]:"Greece",[r.X.GT]:"Guatemala",[r.X.GW]:"Guinea-Bissau",[r.X.GY]:"Guyana",[r.X.HK]:"Hong Kong",[r.X.HN]:"Honduras",[r.X.HR]:"Croatia",[r.X.HT]:"Haiti",[r.X.HU]:"Hungary",[r.X.ID]:"Indonesia",[r.X.IE]:"Ireland",[r.X.IL]:"Israel",[r.X.IN]:"India",[r.X.IQ]:"Iraq",[r.X.IR]:"Iran",[r.X.IS]:"Iceland",[r.X.IT]:"Italy",[r.X.JM]:"Jamaica",[r.X.JO]:"Jordan",[r.X.JP]:"Japan",[r.X.KE]:"Kenya",[r.X.KG]:"Kyrgyzstan",[r.X.KH]:"Cambodia",[r.X.KM]:"Comoros",[r.X.KN]:"Saint Kitts and Nevis",[r.X.KP]:"Korean PDR",[r.X.KR]:"Rep. Korea",[r.X.KW]:"Kuwait",[r.X.KY]:"Cayman Islands",[r.X.KZ]:"Kazakhstan",[r.X.LA]:"Laos",[r.X.LB]:"Lebanon",[r.X.LC]:"Saint Lucia",[r.X.LI]:"Liechtenstein",[r.X.LK]:"Sri Lanka",[r.X.LR]:"Liberia",[r.X.LS]:"Lesotho",[r.X.LT]:"Lithuania",[r.X.LU]:"Luxembourg",[r.X.LV]:"Latvia",[r.X.LY]:"Libya",[r.X.MA]:"Morocco",[r.X.MC]:"Monaco",[r.X.MD]:"Moldova",[r.X.ME]:"Montenegro",[r.X.MQ]:"Martinique",[r.X.MG]:"Madagascar",[r.X.MK]:"Rep. of North Macedonia",[r.X.ML]:"Mali",[r.X.MM]:"Burma (Myanmar)",[r.X.MN]:"Mongolia",[r.X.MO]:"Macau",[r.X.RE]:"R\xe9union",[r.X.MR]:"Mauritania",[r.X.MS]:"Montserrat",[r.X.MT]:"Malta",[r.X.MU]:"Mauritius",[r.X.MV]:"Maldives",[r.X.MW]:"Malawi",[r.X.MX]:"Mexico",[r.X.MY]:"Malaysia",[r.X.MZ]:"Mozambique",[r.X.NA]:"Namibia",[r.X.NC]:"New Caledonia",[r.X.NE]:"Niger",[r.X.NG]:"Nigeria",[r.X.NI]:"Nicaragua",[r.X.NL]:"Netherlands",[r.X.NO]:"Norway",[r.X.NP]:"Nepal",[r.X.NZ]:"New Zealand",[r.X.OM]:"Oman",[r.X.PA]:"Panama",[r.X.PE]:"Peru",[r.X.PF]:"French Polynesia (Tahiti)",[r.X.PG]:"Papua New Guinea",[r.X.PH]:"Philippines",[r.X.PK]:"Pakistan",[r.X.PL]:"Poland",[r.X.PT]:"Portugal",[r.X.PW]:"Palau",[r.X.PY]:"Paraguay",[r.X.QA]:"Qatar",[r.X.YT]:"Mayotte",[r.X.RO]:"Romania",[r.X.RS]:"Serbia",[r.X.RU]:"Russia",[r.X.RW]:"Rwanda",[r.X.SA]:"Saudi Arabia",[r.X.SB]:"Solomon Islands",[r.X.SC]:"Seychelles",[r.X.SD]:"Sudan",[r.X.SE]:"Sweden",[r.X.SG]:"Singapore",[r.X.SH]:"Saint Helena",[r.X.SI]:"Slovenia",[r.X.SK]:"Slovakia",[r.X.SL]:"Sierra Leone",[r.X.SM]:"San Marino",[r.X.SN]:"Senegal",[r.X.SO]:"Somalia",[r.X.SR]:"Suriname",[r.X.ST]:"Sao Tome and Principe",[r.X.SV]:"El Salvador",[r.X.SX]:"Sint Maarten",[r.X.SY]:"Syrian Arab Republic",[r.X.SZ]:"Swaziland",[r.X.TC]:"Turks and Caicos",[r.X.TD]:"Chad",[r.X.TG]:"Togo",[r.X.TH]:"Thailand",[r.X.TJ]:"Tajikistan",[r.X.TL]:"East Timor",[r.X.TM]:"Turkmenistan",[r.X.TN]:"Tunisia",[r.X.TO]:"Tonga",[r.X.TR]:"Turkey",[r.X.TT]:"Trinidad and Tobago",[r.X.TW]:"Taiwan",[r.X.TZ]:"Tanzania",[r.X.UA]:"Ukraine",[r.X.UG]:"Uganda",[r.X.US]:"USA",[r.X.UY]:"Uruguay",[r.X.UZ]:"Uzbekistan",[r.X.VC]:"Saint Vincent and the Grenadines",[r.X.VE]:"Venezuela",[r.X.VG]:"British Virgin Islands",[r.X.VN]:"Vietnam",[r.X.VU]:"Vanuatu",[r.X.WS]:"Samoa",[r.X.XK]:"Kosovo",[r.X.YE]:"Yemen",[r.X.ZA]:"South Africa",[r.X.ZM]:"Zambia",[r.X.ZW]:"Zimbabwe"}}),{cancel:"Cancel",done:"Done",more:"More",otherDate:"Other date...",showAll:"Show all",hide:"Hide",mobileCalendarTexts:["Choose day","Choose range"],range:["from","to"],countTexts:["Plus","Minus"],time:{"HH:MM":"HH:MM","HH:MM:SS":"HH:MM:SS","HH:MM:SS.MSS":"HH:MM:SS.MSS"},dateTexts:{DMY:"dd.mm.yyyy",MDY:"mm.dd.yyyy",YMD:"yyyy.mm.dd"},digitalInformationUnits:["B","KiB","MiB"],passwordTexts:["Show password","Hide password"],copyTexts:["Copy","Copied"],shortCalendarMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],pagination:["Previous page","Next page"],fileTexts:{loadingError:"Upload failed",preview:"Preview",remove:"Remove"},inputFileTexts:{defaultLabelSingle:"or drop\xa0it\xa0here",defaultLabelMultiple:"or drop\xa0them\xa0here",defaultLinkSingle:"Choose a file",defaultLinkMultiple:"Choose files",maxSizeRejectionReason:"File is too large ",formatRejectionReason:"Wrong file type",drop:"Drop file here",dropMultiple:"Drop files here"},multiSelectTexts:{all:"Select all",none:"Select none"},prompt:{yes:"Yes",no:"No"}}),{showHideText:"Show/Hide",paginationTexts:{pages:"Pages",linesPerPage:"Lines per page",of:"of"}}),{cardNumber:["Number","Card number"],cardExpiry:["Expires","Valid through"]}),{colorSelectorModeNames:["Solid color","Gradient"],toolbarTools:{undo:"Undo",redo:"Redo",font:"Font",fontStyle:"Font style",fontSize:"Font size",bold:"Bold",italic:"Italic",underline:"Underline",strikeThrough:"Strike through",justify:"Justify",justifyLeft:"Justify left",justifyCenter:"Justify center",justifyRight:"Justify right",justifyFull:"Justify full",list:"List",indent:"Indent",outdent:"Outdent",unorderedList:"Unordered list",orderedList:"Ordered list",quote:"Quote",foreColor:"Color",backColor:"Background color",hiliteColor:"Highlight color",clear:"Clear",link:"Link",attach:"Attach file",tex:"Insert TeX",code:"Code",image:"Insert image",insertHorizontalRule:"Insert horizontal rule",superscript:"Superscript",subscript:"Subscript",insertTable:"Insert table",insertGroup:"Insert group",hiliteGroup:"Hilite group",removeGroup:"Remove group",insertAnchor:"Insert anchor",mergeCells:"Merge cells",splitCells:"Split cells",rowsColumnsManaging:"Managing rows and columns",cellColor:"Cell color",setDetails:"Details",removeDetails:"Remove details"},editorEditLink:{urlExample:"example.com",anchorExample:"anchor"},editorTableCommands:[["Insert column before","Insert column after"],["Insert row before","Insert row after"],["Delete column","Delete row"]],editorCodeOptions:["Code in the text","Code in block"],editorFontOptions:{small:"Small",large:"Large",normal:"Normal",title:"Title",subtitle:"Subtitle"}}),{previewTexts:{rotate:"Rotate"},zoomTexts:{zoomOut:"Zoom out",zoomIn:"Zoom in",reset:"Reset"}});var s=n(25917);const a=new i.OlP("[TUI_DEFAULT_LANGUAGE]",{factory:()=>o}),l=new i.OlP("[TUI_LANGUAGE]",{factory:()=>(0,s.of)((0,i.f3M)(a))});new i.OlP("[TUI_LANGUAGE_LOADER]"),new i.OlP("[TUI_LANGUAGE_STORAGE_KEY]",{factory:()=>"tuiLanguage"});var c=n(95639),u=n(43190),h=n(88002);function d(t){return()=>(0,i.f3M)(l).pipe((0,u.w)(t=>(0,c.b)(t)?t:(0,s.of)(t)),(0,h.U)(e=>e[t]))}},44711:function(t,e,n){"use strict";n.d(e,{p:function(){return T},s:function(){return A}});var i=n(74788),r=n(87862),o=n(76480),s=n(57179),a=n(99434),l=n(11927),c=n(77320),u=n(54789),h=n(91489),d=n(89570);function p(t,e){if(1&t&&i._UZ(0,"tui-svg",2),2&t){const t=e.polymorpheusOutlet,n=i.oxw();i.ekj("t-mark_on",!n.empty),i.Q6J("src",t)}}const f=function(t){return{$implicit:t}},g=["*"],m=(0,l.JN)({size:"m",appearances:{unchecked:c.Nm.Outline,checked:c.Nm.Primary,indeterminate:c.Nm.Primary},icons:{checked:({$implicit:t})=>"m"===t?"tuiIconCheck":"tuiIconCheckLarge",indeterminate:({$implicit:t})=>"m"===t?"tuiIconMinus":"tuiIconMinusLarge"}});let v=(()=>{class t{constructor(t){this.options=t,this.size=this.options.size,this.disabled=!1,this.focused=!1,this.hovered=!1,this.pressed=!1,this.invalid=!1,this.icon=this.options.icons.checked,this.value=!1}set valueSetter(t){!1!==t&&this.setCurrentIcon(t),this.value=t}get appearance(){switch(this.value){case!1:return this.options.appearances.unchecked;case!0:return this.options.appearances.checked;default:return this.options.appearances.indeterminate}}get empty(){return!1===this.value}setCurrentIcon(t){this.icon=null===t?this.options.icons.indeterminate:this.options.icons.checked}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(m))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-primitive-checkbox"]],hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("data-size",e.size)},inputs:{size:"size",disabled:"disabled",focused:"focused",hovered:"hovered",pressed:"pressed",invalid:"invalid",valueSetter:["value","valueSetter"]},ngContentSelectors:g,decls:3,vars:10,consts:[["tuiWrapper","",3,"active","appearance","disabled","focus","hover","invalid"],["class","t-mark",3,"t-mark_on","src",4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-mark",3,"src"]],template:function(t,e){1&t&&(i.F$t(),i.TgZ(0,"div",0),i.YNc(1,p,1,3,"tui-svg",1),i.Hsn(2),i.qZA()),2&t&&(i.Q6J("active",e.pressed)("appearance",e.appearance)("disabled",e.disabled)("focus",e.focused)("hover",e.hovered)("invalid",e.invalid),i.xp6(1),i.Q6J("polymorpheusOutlet",e.icon)("polymorpheusOutletContext",i.VKq(8,f,e.size)))},directives:[h.o,d.Li,u.PN],styles:["[_nghost-%COMP%]{display:block;font-size:0;flex-shrink:0}[data-size=m][_nghost-%COMP%]{width:1rem;height:1rem;border-radius:var(--tui-radius-xs)}[data-size=l][_nghost-%COMP%]{width:1.5rem;height:1.5rem;border-radius:var(--tui-radius-s)}.t-mark[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:block;width:100%;height:100%;transform:scale(0)}.t-mark_on[_ngcontent-%COMP%]{transform:scale(1)}"],changeDetection:0}),t})(),_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[u.EI,h.W,d.wq]]}),t})();var y=n(79456),b=n(12130),w=n(44541),C=n(13633),x=n(75059),k=n(88491),O=n(12057);const M=["focusableElement"];let S=(()=>{class t extends o.F9{constructor(t,e,n){super(t,n),this.options=e,this.size=this.options.size}get nativeFocusableElement(){return!this.focusableElement||this.computedDisabled?null:this.focusableElement.nativeElement}get focused(){return(0,s.V8)(this.nativeFocusableElement)}get computedFocusable(){return this.interactive&&this.focusable}onChecked(t){this.value=t}onFocused(t){this.updateFocused(t)}onFocusVisible(t){this.updateFocusVisible(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(r.a5,10),i.Y36(m),i.Y36(i.sBO))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-checkbox"]],viewQuery:function(t,e){if(1&t&&i.Gf(M,5),2&t){let t;i.iGM(t=i.CRH())&&(e.focusableElement=t.first)}},hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("data-size",e.size)},inputs:{size:"size"},features:[i._Bn([(0,a.FT)(t),(0,o.wB)(t)]),i.qOj],decls:3,vars:11,consts:[[3,"disabled","focused","hovered","invalid","pressed","size","value"],["automation-id","tui-checkbox__native","type","checkbox",1,"t-native",3,"disabled","id","tuiFocusable","tuiChecked","tuiCheckedChange","tuiFocusedChange","tuiFocusVisibleChange"],["focusableElement",""]],template:function(t,e){1&t&&(i.TgZ(0,"tui-primitive-checkbox",0),i.TgZ(1,"input",1,2),i.NdJ("tuiCheckedChange",function(t){return e.value=t})("tuiFocusedChange",function(t){return e.onFocused(t)})("tuiFocusVisibleChange",function(t){return e.onFocusVisible(t)}),i.qZA(),i.qZA()),2&t&&(i.Q6J("disabled",e.disabled)("focused",e.computedFocusVisible)("hovered",e.pseudoHover)("invalid",e.computedInvalid)("pressed",e.pseudoActive)("size",e.size)("value",e.value),i.xp6(1),i.Q6J("disabled",e.disabled)("id",e.id)("tuiFocusable",e.computedFocusable)("tuiChecked",e.value))},directives:[v,w.t,C.t,x.U,k.q],styles:["[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:block;flex-shrink:0}[data-size=m][_nghost-%COMP%]{width:1rem;height:1rem}[data-size=l][_nghost-%COMP%]{width:1.5rem;height:1.5rem}._readonly[_nghost-%COMP%] tui-primitive-checkbox[_ngcontent-%COMP%]{pointer-events:none}.t-native[_ngcontent-%COMP%]{padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.t-native[_ngcontent-%COMP%]:-webkit-autofill, .t-native[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-native[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}"],changeDetection:0}),t})(),P=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[O.ez,w.S,C.u,x.F,k.c,_]]}),t})();const E=["*"];let T=(()=>{class t extends o.F9{constructor(t,e,n,i){super(t,e),this.mode$=n,this.options=i,this.size=this.options.size}get focused(){return(0,s.V8)(this.nativeFocusableElement)}get nativeFocusableElement(){var t,e;return null!==(e=null===(t=this.checkbox)||void 0===t?void 0:t.nativeFocusableElement)&&void 0!==e?e:null}onFocused(t){this.updateFocused(t)}onModelChange(t){this.value=t}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(r.a5,10),i.Y36(i.sBO),i.Y36(y.Au),i.Y36(m))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-checkbox-labeled"]],viewQuery:function(t,e){if(1&t&&i.Gf(S,5),2&t){let t;i.iGM(t=i.CRH())&&(e.checkbox=t.first)}},hostVars:1,hostBindings:function(t,e){1&t&&i.NdJ("$.data-mode.attr",function(){return e.mode$}),2&t&&i.uIk("data-size",e.size)},inputs:{size:"size"},features:[i._Bn([(0,a.FT)(t),(0,o.wB)(t),b.CV]),i.qOj],ngContentSelectors:E,decls:4,vars:12,consts:[[1,"t-wrapper"],[3,"disabled","focusable","nativeId","pseudoActive","pseudoFocus","pseudoHover","pseudoInvalid","readOnly","size","ngModel","ngModelChange","focusedChange"],[1,"t-content"]],template:function(t,e){1&t&&(i.F$t(),i.TgZ(0,"label",0),i.TgZ(1,"tui-checkbox",1),i.NdJ("ngModelChange",function(t){return e.value=t})("focusedChange",function(t){return e.onFocused(t)}),i.qZA(),i.TgZ(2,"div",2),i.Hsn(3),i.qZA(),i.qZA()),2&t&&(i.xp6(1),i.Q6J("disabled",e.computedDisabled)("focusable",e.focusable)("nativeId",e.nativeId)("pseudoActive",e.pseudoActive)("pseudoFocus",e.pseudoFocus)("pseudoHover",e.pseudoHover)("pseudoInvalid",e.computedInvalid)("readOnly",e.readOnly)("size",e.size)("ngModel",e.value),i.xp6(1),i.ekj("t-content_disabled",e.computedDisabled))},directives:[S,r.JJ,r.On],styles:["[_nghost-%COMP%]{position:relative;display:block;line-height:0}._disabled[_nghost-%COMP%], ._readonly[_nghost-%COMP%]{pointer-events:none}.t-wrapper[_ngcontent-%COMP%]{display:inline-flex;max-width:100%;cursor:pointer}._disabled[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{cursor:default}[data-mode=onDark][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{color:var(--tui-text-01-night)}.t-content[_ngcontent-%COMP%]{font:var(--tui-font-text-s);line-height:1rem;word-wrap:break-word;min-width:0}.t-content_disabled[_ngcontent-%COMP%]{opacity:var(--tui-disabled-opacity)}[data-size=m][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{margin-left:.5rem}[data-size=l][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{font:var(--tui-font-text-m);margin-left:.75rem}"],changeDetection:0}),t})(),A=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[O.ez,r.u5,P]]}),t})()},21673:function(t,e,n){"use strict";n.d(e,{K3:function(){return y},wU:function(){return b},Qf:function(){return w}});var i=n(74788),r=n(87862),o=n(221),s=n(76480),a=n(57179),l=n(99434),c=n(23917),u=n(94853),h=n(79588),d=n(75111),p=n(79456),f=n(43631),g=n(93213),m=n(12057);const v=["*",[["input"]]],_=["*","input"];let y=(()=>{class t extends s.M${constructor(t,e,n,i){super(t,e,i),this.textfieldSize=n,this.open=!1}get size(){return this.textfieldSize.size}get nativeFocusableElement(){return this.computedDisabled||!this.textfield?null:this.textfield.nativeFocusableElement}get focused(){return(0,a.V8)(this.nativeFocusableElement)||!!this.hostedDropdown&&this.hostedDropdown.focused}get canOpen(){return this.interactive&&!!this.datalist}onValueChange(t){this.value=t,this.open=!0}onActiveZone(t){this.updateFocused(t)}handleOption(t){this.setNativeValue(String(t)),this.focusInput(),this.value=String(t),this.open=!1}getFallbackValue(){return""}focusInput(t=!1){this.nativeFocusableElement&&this.nativeFocusableElement.focus({preventScroll:t})}setNativeValue(t){this.nativeFocusableElement&&(this.nativeFocusableElement.value=t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(r.a5,10),i.Y36(i.sBO),i.Y36(h.kI),i.Y36(s.FX,8))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-input"]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,d.gX,5,i.Rgc),2&t){let t;i.iGM(t=i.CRH())&&(e.datalist=t.first)}},viewQuery:function(t,e){if(1&t&&(i.Gf(c.o1,5),i.Gf(u.yc,5)),2&t){let t;i.iGM(t=i.CRH())&&(e.hostedDropdown=t.first),i.iGM(t=i.CRH())&&(e.textfield=t.first)}},hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("data-size",e.size)},features:[i._Bn([g.E2,(0,l.FT)(t),(0,p.oE)(t),(0,s.wB)(t)],[g.yn]),i.qOj],ngContentSelectors:_,decls:4,vars:11,consts:[[1,"t-hosted",3,"canOpen","content","open","openChange","tuiActiveZoneChange"],["automation-id","tui-input__textfield",1,"t-textfield",3,"disabled","focusable","invalid","nativeId","pseudoFocus","pseudoHover","readOnly","value","valueChange"]],template:function(t,e){1&t&&(i.F$t(v),i.TgZ(0,"tui-hosted-dropdown",0),i.NdJ("openChange",function(t){return e.open=t})("tuiActiveZoneChange",function(t){return e.onActiveZone(t)}),i.TgZ(1,"tui-primitive-textfield",1),i.NdJ("valueChange",function(t){return e.onValueChange(t)}),i.Hsn(2),i.Hsn(3,1,["ngProjectAs","input",5,["input"]]),i.qZA(),i.qZA()),2&t&&(i.Q6J("canOpen",e.canOpen)("content",e.datalist||"")("open",e.open),i.xp6(1),i.Q6J("disabled",e.computedDisabled)("focusable",e.computedFocusable)("invalid",e.computedInvalid)("nativeId",e.nativeId)("pseudoFocus",e.computedFocused)("pseudoHover",e.pseudoHover)("readOnly",e.readOnly)("value",e.value))},directives:[c.o1,o.e,u.yc,u.B1],styles:["[_nghost-%COMP%]{display:block;border-radius:var(--tui-radius-m);text-align:left}._disabled[_nghost-%COMP%]{pointer-events:none}.t-hosted[_ngcontent-%COMP%]{display:block;border-radius:inherit}.t-textfield[_ngcontent-%COMP%]{border-radius:inherit;text-align:inherit}"],changeDetection:0}),t})(),b=(()=>{class t extends f.D1{onValueChange(t){this.host.onValueChange(t)}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,selectors:[["tui-input"]],features:[i._Bn([(0,p.cp)(t)]),i.qOj]}),t})(),w=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[m.ez,o.A,u.KW,c.jh]]}),t})()},93213:function(t,e,n){"use strict";n.d(e,{yn:function(){return l},E2:function(){return c}});var i=n(74788),r=n(79456);n(88002);var o=n(98952),s=(n(75046),n(25917),n(54487)),a=n(87862);const l=(0,o.fx)({limitWidth:"fixed",align:"right"}),c={provide:r.sE,deps:[[new i.FiY,new i.PiD,a.JU]],useFactory:s.y}},75046:function(t,e,n){"use strict";n.d(e,{UV:function(){return _},Ys:function(){return b},RZ:function(){return w},ue:function(){return v},WO:function(){return C},Z4:function(){return x}});var i=n(74788),r=n(33770),o=n(11927),s=(n(18939),n(36424)),a=n(27788),l=n(85648);const c=12;(0,o.JN)("DMY"),(0,o.JN)(".");class u{constructor(t){this.year=t}static isValidYear(t){return Number.isInteger(t)&&(0,l.wf)(t,0,1e4)}static isLeapYear(t){return t%400==0||t%4==0&&t%100!=0}static getAbsoluteLeapYears(t){return Math.ceil(t/400)+(Math.ceil(t/4)-Math.ceil(t/100))}static lengthBetween(t,e){return e.year-t.year}static normalizeYearPart(t){return(0,l.G1)(t,0,9999)}get formattedYear(){return String(this.year).padStart(4,"0")}get isLeapYear(){return u.isLeapYear(this.year)}get absoluteLeapYears(){return u.getAbsoluteLeapYears(this.year)}yearBefore({year:t}){return this.year=t}yearAfter({year:t}){return this.year>t}append({year:t=0}){return new u(this.year+t)}toString(){return this.formattedYear}valueOf(){return this.year}[Symbol.toPrimitive](t){return Date.prototype[Symbol.toPrimitive].call(this,t)}toJSON(){return this.formattedYear}}class h extends u{constructor(t,e){super(t),this.month=e}static isValidMonth(t,e){return u.isValidYear(t)&&h.isValidMonthPart(e)}static getMonthDaysCount(t,e){switch(t){case s.B.February:return e?29:28;case s.B.April:case s.B.June:case s.B.September:case s.B.November:return 30;default:return 31}}static currentLocal(){const t=new Date;return new h(t.getFullYear(),t.getMonth())}static currentUtc(){const t=new Date;return new h(t.getUTCFullYear(),t.getUTCMonth())}static lengthBetween(t,e){return e.month+12*e.year-(t.month+12*t.year)}static normalizeMonthPart(t){return(0,l.G1)(t,0,11)}static isValidMonthPart(t){return Number.isInteger(t)&&(0,l.wf)(t,0,12)}get formattedMonthPart(){return String(this.month+1).padStart(2,"0")}get daysCount(){return h.getMonthDaysCount(this.month,this.isLeapYear)}monthBefore(t){return this.yearBefore(t)||this.yearSame(t)&&this.month=t.month}monthAfter(t){return this.yearAfter(t)||this.yearSame(t)&&this.month>t.month}append({year:t=0,month:e=0}){const n=(this.year+t)*c+this.month+e;return new h(Math.floor(n/c),n%c)}toString(){return`${this.formattedMonthPart}.${this.formattedYear}`}valueOf(){return this.toLocalNativeDate().valueOf()}toJSON(){return`${super.toJSON()}-${this.formattedMonthPart}`}toLocalNativeDate(){return new Date(this.year,this.month)}toUtcNativeDate(){return new Date(Date.UTC(this.year,this.month))}}class d extends h{constructor(t,e,n){super(t,e),this.day=n}static fromLocalNativeDate(t){return new d(t.getFullYear(),t.getMonth(),t.getDate())}static fromUtcNativeDate(t){return new d(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate())}static isValidDay(t,e,n){return h.isValidMonth(t,e)&&Number.isInteger(n)&&(0,l.wf)(n,1,h.getMonthDaysCount(e,u.isLeapYear(t))+1)}static currentLocal(){const t=new Date,e=t.getFullYear(),n=t.getMonth(),i=t.getDate();return new d(e,n,i)}static currentUtc(){const t=new Date,e=t.getUTCFullYear(),n=t.getUTCMonth(),i=t.getUTCDate();return new d(e,n,i)}static normalizeOf(t,e,n){const i=u.normalizeYearPart(t),r=h.normalizeMonthPart(e),o=d.normalizeDayPart(n,r,i);return new d(i,r,o)}static lengthBetween(t,e){return Math.round((e.toLocalNativeDate().getTime()-t.toLocalNativeDate().getTime())/864e5)}static parseRawDateString(t,e="DMY"){switch(e){case"YMD":return{day:parseInt(t.slice(8,10),10),month:parseInt(t.slice(5,7),10)-1,year:parseInt(t.slice(0,4),10)};case"MDY":return{day:parseInt(t.slice(3,5),10),month:parseInt(t.slice(0,2),10)-1,year:parseInt(t.slice(6,10),10)};default:return{day:parseInt(t.slice(0,2),10),month:parseInt(t.slice(3,5),10)-1,year:parseInt(t.slice(6,10),10)}}}static normalizeParse(t,e="DMY"){const{day:n,month:i,year:r}=this.parseRawDateString(t,e);return d.normalizeOf(r,i,n)}static jsonParse(t){const{day:e,month:n,year:i}=this.parseRawDateString(t,"YMD");if(!u.isValidYear(i))throw new a.JY(i);if(!h.isValidMonth(i,n))throw new a.AM(n);if(!Number.isInteger(e)||!(0,l.wf)(e,1,h.getMonthDaysCount(n,u.isLeapYear(i))+1))throw new a.I4(e);return new d(i,n,e)}static normalizeDayPart(t,e,n){const i=h.getMonthDaysCount(e,u.isLeapYear(n));return(0,l.G1)(t,1,i)}get formattedDayPart(){return String(this.day).padStart(2,"0")}get isWeekend(){const t=this.dayOfWeek(!1);return t===s.L.Saturday||t===s.L.Sunday}dayOfWeek(t=!0){const e=t?this.toLocalNativeDate().getDay()-1:this.toLocalNativeDate().getDay();return e<0?6:e}dayBefore(t){return this.monthBefore(t)||this.monthSame(t)&&this.day=t.day}dayAfter(t){return this.monthAfter(t)||this.monthSame(t)&&this.day>t.day}dayLimit(t,e){return null!==t&&this.dayBefore(t)?t:null!==e&&this.dayAfter(e)?e:this}append({year:t=0,month:e=0,day:n=0}){const i=(this.year+t)*c+this.month+e;let r=Math.floor(i/c),o=i%c,a=Math.min(this.day,h.getMonthDaysCount(o,u.isLeapYear(r)))+n;for(;a>h.getMonthDaysCount(o,u.isLeapYear(r));)a-=h.getMonthDaysCount(o,u.isLeapYear(r)),o===s.B.December?(r++,o=s.B.January):o++;for(;a<1;)o===s.B.January?(r--,o=s.B.December):o--,a+=h.getMonthDaysCount(o,u.isLeapYear(r));return new d(r,o,a)}getFormattedDay(t,e){const n=this.formattedDayPart,i=this.formattedMonthPart,r=this.formattedYear;switch(t){case"YMD":return`${r}${e}${i}${e}${n}`;case"MDY":return`${i}${e}${n}${e}${r}`;default:return`${n}${e}${i}${e}${r}`}}toString(t="DMY",e="."){return this.getFormattedDay(t,e)}toJSON(){return`${super.toJSON()}-${this.formattedDayPart}`}toLocalNativeDate(){return new Date(this.year,this.month,this.day)}toUtcNativeDate(){return new Date(Date.UTC(this.year,this.month,this.day))}}const p=new d(0,0,1),f=new d(9999,11,31);Symbol;var g=n(31081),m=n(47232);new i.OlP("[TUI_CALENDAR_DATE_STREAM]"),(0,o.JN)({[g.X.AD]:"+376###-###",[g.X.AE]:"+971-##-###-####",[g.X.AF]:"+93##-###-####",[g.X.AG]:"+1(268) ###-####",[g.X.AI]:"+1(264) ###-####",[g.X.AL]:"+355(###) ###-###",[g.X.AM]:"+374##-###-###",[g.X.AO]:"+244(###) ###-###",[g.X.AR]:"+54(###) ####-####",[g.X.AT]:"+43(###) ###-####",[g.X.AU]:"+61#-####-####",[g.X.AW]:"+297###-####",[g.X.AZ]:"+994##-###-##-##",[g.X.BA]:"+387 ###-####-##",[g.X.BB]:"+1(246) ###-####",[g.X.BD]:"+880##-###-###",[g.X.BE]:"+32(###) ###-###",[g.X.BF]:"+226##-##-####",[g.X.BG]:"+359(###) ###-###",[g.X.BH]:"+973####-####",[g.X.BI]:"+257##-##-####",[g.X.BJ]:"+229##-##-####",[g.X.BL]:"+590 ## ## ## ## ##",[g.X.BM]:"+1(441) ###-####",[g.X.BN]:"+673###-####",[g.X.BO]:"+591#-###-####",[g.X.BQ]:"+599-###-####",[g.X.BR]:"+55(##) ####-####",[g.X.BS]:"+1(242) ###-####",[g.X.BT]:"+975#-###-###",[g.X.BW]:"+267##-###-###",[g.X.BY]:"+375(##) ###-##-##",[g.X.BZ]:"+501###-####",[g.X.CA]:"+1(###) ###-####",[g.X.CD]:"+243(###) ###-###",[g.X.CF]:"+236-##-##-####",[g.X.CG]:"+242##-###-####",[g.X.CH]:"+41##-###-####",[g.X.CI]:"+225##-##-###-###",[g.X.CL]:"+56#-####-####",[g.X.CM]:"+237#####-####",[g.X.CN]:"+86(###) ####-####",[g.X.CO]:"+57(###) ###-####",[g.X.CR]:"+506####-####",[g.X.CU]:"+53#-###-####",[g.X.CV]:"+238(###) ##-##",[g.X.CW]:"+5999-###-####",[g.X.CY]:"+357##-###-###",[g.X.CZ]:"+420(###) ###-###",[g.X.DE]:"+49(###) ###-###-##",[g.X.DJ]:"+253##-##-##-##",[g.X.DK]:"+45##-##-##-##",[g.X.DM]:"+1(767) ###-####",[g.X.DO]:"+1(###) ###-####",[g.X.DZ]:"+213##-###-####",[g.X.EC]:"+593##-###-####",[g.X.EE]:"+372####-####",[g.X.EG]:"+20(###) ###-####",[g.X.ER]:"+291#-###-###",[g.X.ES]:"+34(###) ###-###",[g.X.ET]:"+251##-###-####",[g.X.FI]:"+358(###) ###-##-##",[g.X.FJ]:"+679##-#####",[g.X.FK]:"+500#####",[g.X.FM]:"+691###-####",[g.X.FR]:"+33 ## ## ## ## ##",[g.X.GA]:"+241##-##-##-##",[g.X.GB]:"+44##-####-####",[g.X.GD]:"+1(473) ###-####",[g.X.GE]:"+995(###) ###-###",[g.X.GF]:"+594 ## ## ## ## ##",[g.X.GH]:"+233(###) ###-###",[g.X.GI]:"+350###-#####",[g.X.GL]:"+299##-##-##",[g.X.GM]:"+220(###) ##-##",[g.X.GN]:"+224##-###-###",[g.X.GP]:"+590 ## ## ## ## ##",[g.X.GQ]:"+240##-###-####",[g.X.GR]:"+30(###) ###-####",[g.X.GT]:"+502#-###-####",[g.X.GW]:"+245#-######",[g.X.GY]:"+592###-####",[g.X.HK]:"+852####-####",[g.X.HN]:"+504####-####",[g.X.HR]:"+385##-###-####",[g.X.HT]:"+509##-##-####",[g.X.HU]:"+36(###) ###-###",[g.X.ID]:"+62(###) ###-##-###",[g.X.IE]:"+353(###) ###-###",[g.X.IL]:"+972##-###-####",[g.X.IN]:"+91(####) ###-###",[g.X.IQ]:"+964(###) ###-####",[g.X.IR]:"+98(###) ###-####",[g.X.IS]:"+354###-####",[g.X.IT]:"+39(###) ####-###",[g.X.JM]:"+1(876) ###-####",[g.X.JO]:"+962#-####-####",[g.X.JP]:"+81-##-####-####",[g.X.KE]:"+254###-######",[g.X.KG]:"+996(###) ###-###",[g.X.KH]:"+855##-###-###",[g.X.KM]:"+269##-#####",[g.X.KN]:"+1(869) ###-####",[g.X.KP]:"+850####-#############",[g.X.KR]:"+82##-###-####",[g.X.KW]:"+965####-####",[g.X.KY]:"+1(345) ###-####",[g.X.KZ]:"+7(###) ###-##-##",[g.X.LA]:"+856##-##-###-###",[g.X.LB]:"+961##-###-###",[g.X.LC]:"+1(758) ###-####",[g.X.LI]:"+423(###) ###-####",[g.X.LK]:"+94##-###-####",[g.X.LR]:"+231##-###-###",[g.X.LS]:"+266#-###-####",[g.X.LT]:"+370(###) ##-###",[g.X.LU]:"+352(###) ###-###",[g.X.LV]:"+371##-###-###",[g.X.LY]:"+218##-###-####",[g.X.MA]:"+212##-####-###",[g.X.MC]:"+377###-###-###",[g.X.MD]:"+373####-####",[g.X.ME]:"+382##-###-###",[g.X.MF]:"+590 ## ## ## ## ##",[g.X.MG]:"+261##-##-#####",[g.X.MK]:"+389##-###-###",[g.X.ML]:"+223##-##-####",[g.X.MM]:"+95##-###-###",[g.X.MN]:"+976##-##-####",[g.X.MO]:"+853####-####",[g.X.MQ]:"+596 ## ## ## ## ##",[g.X.MR]:"+222##-##-####",[g.X.MS]:"+1(664) ###-####",[g.X.MT]:"+356####-####",[g.X.MU]:"+230####-####",[g.X.MV]:"+960###-####",[g.X.MW]:"+265#-####-####",[g.X.MX]:"+52(###) ###-####",[g.X.MY]:"+60(###) ###-###",[g.X.MZ]:"+258##-###-###",[g.X.NA]:"+264##-###-####",[g.X.NC]:"+687 ### ###",[g.X.NE]:"+227##-##-####",[g.X.NG]:"+234(###) ###-####",[g.X.NI]:"+505####-####",[g.X.NL]:"+31##-###-####",[g.X.NO]:"+47(###) ##-###",[g.X.NP]:"+977##-###-###",[g.X.NZ]:"+64(###) ###-####",[g.X.OM]:"+968##-###-###",[g.X.PA]:"+507###-####",[g.X.PE]:"+51(###) ###-###",[g.X.PF]:"+689 ## ## ## ##",[g.X.PG]:"+675(###) ##-###",[g.X.PH]:"+63(###) ###-####",[g.X.PK]:"+92(###) ###-####",[g.X.PL]:"+48(###) ###-###",[g.X.PT]:"+351##-###-####",[g.X.PW]:"+680###-####",[g.X.PY]:"+595(###) ###-###",[g.X.QA]:"+974####-####",[g.X.RE]:"+262 ## ## ## ## ##",[g.X.RO]:"+40##-###-####",[g.X.RS]:"+381##-###-####",[g.X.RU]:"+7### ###-##-##",[g.X.RW]:"+250(###) ###-###",[g.X.SA]:"+966#-####-####",[g.X.SB]:"+677###-####",[g.X.SC]:"+248#-###-###",[g.X.SD]:"+249##-###-####",[g.X.SE]:"+46##-###-####",[g.X.SG]:"+65####-####",[g.X.SH]:"+290####",[g.X.SI]:"+386##-###-###",[g.X.SK]:"+421(###) ###-###",[g.X.SL]:"+232##-######",[g.X.SM]:"+378####-######",[g.X.SN]:"+221##-###-####",[g.X.SO]:"+252##-###-###",[g.X.SR]:"+597###-####",[g.X.ST]:"+239##-#####",[g.X.SV]:"+503##-##-####",[g.X.SX]:"+1(721) ###-####",[g.X.SY]:"+963##-####-###",[g.X.SZ]:"+268##-##-####",[g.X.TC]:"+1(649) ###-####",[g.X.TD]:"+235##-##-##-##",[g.X.TG]:"+228##-###-###",[g.X.TH]:"+66##-###-####",[g.X.TJ]:"+992##-###-####",[g.X.TL]:"+670###-#####",[g.X.TM]:"+993#-###-####",[g.X.TN]:"+216##-###-###",[g.X.TO]:"+676#####",[g.X.TR]:"+90(###) ###-####",[g.X.TT]:"+1(868) ###-####",[g.X.TW]:"+886#-####-####",[g.X.TZ]:"+255##-###-####",[g.X.UA]:"+380(##) ###-##-##",[g.X.UG]:"+256(###) ###-###",[g.X.US]:"+1(###) ###-####",[g.X.UY]:"+598#-###-##-##",[g.X.UZ]:"+998##-###-####",[g.X.VC]:"+1(784) ###-####",[g.X.VE]:"+58(###) ###-####",[g.X.VG]:"+1(284)###-####",[g.X.VN]:"+84(###) ####-###",[g.X.VU]:"+678##-#####",[g.X.WS]:"+685##-####",[g.X.XK]:"+383##-###-###",[g.X.YE]:"+967###-###-###",[g.X.YT]:"+262 ## ## ## ## ##",[g.X.ZA]:"+27##-###-####",[g.X.ZM]:"+260##-###-####",[g.X.ZW]:"+263#-######"}),new i.OlP("[TUI_DATE_VALUE_TRANSFORMER]"),new i.OlP("[TUI_DATE_RANGE_VALUE_TRANSFORMER]"),new i.OlP("[TUI_DATE_TIME_VALUE_TRANSFORMER]"),(0,o.N1)((0,m.v)("prompt")),(0,o.N1)((0,m.v)("cancel")),(0,o.N1)((0,m.v)("done"));const v=(0,o.N1)((0,m.v)("more")),_=((0,o.N1)((0,m.v)("hide")),(0,o.N1)((0,m.v)("showAll")),(0,o.N1)((0,m.v)("otherDate")),(0,o.N1)((0,m.v)("mobileCalendarTexts")),(0,o.N1)((0,m.v)("range")),(0,o.N1)((0,m.v)("countTexts")),(0,o.N1)((0,m.v)("time")),(0,o.N1)((0,m.v)("dateTexts")),(0,o.N1)((0,m.v)("digitalInformationUnits")),(0,o.N1)((0,m.v)("copyTexts"))),y=((0,o.N1)((0,m.v)("passwordTexts")),(0,o.N1)((0,m.v)("shortCalendarMonths")),(0,o.N1)((0,m.v)("fileTexts")),(0,o.N1)((0,m.v)("pagination")),(0,o.N1)((0,m.v)("inputFileTexts")),(0,o.N1)((0,m.v)("multiSelectTexts")),(0,o.N1)((0,m.v)("countries")),{icon:({$implicit:t})=>"s"===t?"tuiIconCalendar":"tuiIconCalendarLarge",min:p,max:f,nativePicker:!1});(0,o.JN)(y);const b=(0,o.JN)({stringify:r.yZ,identityMatcher:r.bg,disabledItemHandler:r.Iy});new i.OlP("[TUI_MOBILE_CALENDAR]");const w=new i.OlP("[TUI_MONTH_FORMATTER]"),C=(0,o.JN)(24),x=(0,o.JN)({})},11557:function(t,e,n){"use strict";n.d(e,{X1:function(){return C},Gt:function(){return w},uX:function(){return b}});var i=n(91211),r=n(74788),o=n(59193),s=n(22416),a=n(41439),l=n(77393);class c{constructor(t,e){this.predicate=t,this.inclusive=e}call(t,e){return e.subscribe(new u(t,this.predicate,this.inclusive))}}class u extends l.L{constructor(t,e,n){super(t),this.predicate=e,this.inclusive=n,this.index=0}_next(t){const e=this.destination;let n;try{n=this.predicate(t,this.index++)}catch(i){return void e.error(i)}this.nextOrComplete(t,n)}nextOrComplete(t,e){const n=this.destination;Boolean(e)?n.next(t):(this.inclusive&&n.next(t),n.complete())}}class h{supports(t){return t.includes(this.modifier)}addGlobalEventListener(){return()=>{}}unwrap(t){return t.split(".").filter(t=>!this.modifier.includes(t)).join(".")}}let d=(()=>{class t extends h{constructor(){super(...arguments),this.modifier="$"}addEventListener(t,e){t[e]=t[e]||o.E;const n=this.getMethod(t,e),i=this.manager.getZone().onStable,r=(0,s.z)(i.pipe(function(t,e=!1){return n=>n.lift(new c(t,e))}(()=>t[e]===o.E)),(0,a.P)(()=>t[e])).subscribe(n);return()=>r.unsubscribe()}getMethod(t,e){const[,n,i,r=""]=e.split(".");return e.endsWith(".attr")?e=>null===e?t.removeAttribute(n):t.setAttribute(n,String(e)):"class"===n?e=>t.classList.toggle(i,!!e):"style"===n?e=>t.style.setProperty(function(t){return t.replace(/[a-z][A-Z]/g,t=>`${t[0]}-${t[1].toLowerCase()}`)}(i),`${e}${r}`):e=>t[n]=e}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),p=(()=>{class t extends h{constructor(){super(...arguments),this.modifier="capture.once.passive"}supports(t){return t.includes(".")&&!this.unwrap(t).includes(".")}addEventListener(t,e,n){return t.addEventListener(this.unwrap(e),n,{once:e.includes(".once"),passive:e.includes(".passive"),capture:e.includes(".capture")}),()=>t.removeEventListener(this.unwrap(e),n)}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),f=(()=>{class t extends h{constructor(){super(...arguments),this.modifier=".prevent"}addEventListener(t,e,n){return this.manager.addEventListener(t,this.unwrap(e),t=>{t.preventDefault(),n(t)})}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),g=(()=>{class t extends h{constructor(){super(...arguments),this.modifier=".self"}addEventListener(t,e,n){return this.manager.addEventListener(t,this.unwrap(e),t=>{t.target===t.currentTarget&&n(t)})}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),m=(()=>{class t extends h{constructor(){super(...arguments),this.modifier=".silent"}addEventListener(e,n,i){return t.ngZone=this.manager.getZone(),t.ngZone.runOutsideAngular(()=>this.manager.addEventListener(e,this.unwrap(n),i))}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),v=(()=>{class t extends h{constructor(){super(...arguments),this.modifier=".stop"}addEventListener(t,e,n){return this.manager.addEventListener(t,this.unwrap(e),t=>{t.stopPropagation(),n(t)})}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),_=(()=>{class t extends h{constructor(){super(...arguments),this.modifier=".init"}addEventListener(){return console.warn(".init plugin is no longer necessary as of v3.1.0"),()=>{}}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();const y=[m,d,p,f,g,v,_].map(t=>({provide:i.s3,multi:!0,useClass:t}));function b(t){return(e,n,i)=>{const{value:r}=i;i.value=function(...e){!t.apply(this,e)||(m.ngZone?m.ngZone.run(()=>r.apply(this,e)):r.apply(this,e))}}}function w(t){return t}let C=(()=>{class t{constructor([e]){console.assert(!(e instanceof m)||t.initialized,"EventPluginsModule must come after BrowserModule in imports"),t.initialized=!0}}return t.initialized=!1,t.\u0275fac=function(e){return new(e||t)(r.LFG(i.s3))},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:y}),t})()},89570:function(t,e,n){"use strict";n.d(e,{yf:function(){return r},Al:function(){return o},wq:function(){return h},Li:function(){return l},GL:function(){return s}});var i=n(74788);const r=new i.OlP("POLYMORPHEUS_CONTEXT");class o{constructor(t,e){this.component=t,this.i=e}createInjector(t,e){return i.zs3.create({parent:this.i||t,providers:[{provide:r,useValue:e}]})}}let s=(()=>{class t{constructor(t,e){this.template=t,this.cdr=e,this.polymorpheus=""}check(){this.cdr.markForCheck()}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.Rgc,2),i.Y36(i.sBO))},t.\u0275dir=i.lG2({type:t,selectors:[["ng-template","polymorpheus",""]],inputs:{polymorpheus:"polymorpheus"},exportAs:["polymorpheus"]}),t})();class a{constructor(t){this.$implicit=t}get polymorpheusOutlet(){return this.$implicit}}let l=(()=>{class t{constructor(t,e,n){this.vcr=t,this.i=e,this.t=n,this.content=""}get template(){return c(this.content)?this.content.template:this.content instanceof i.Rgc?this.content:this.t}ngOnChanges({content:t}){var e;const n=this.getContext();if(null===(e=this.c)||void 0===e||e.injector.get(i.sBO).markForCheck(),!t)return;this.vcr.clear();const r=n&&new Proxy(n,{get:(t,e)=>{var n;return null===(n=this.getContext())||void 0===n?void 0:n[e]}});u(this.content)?this.process(this.content,r):null!=(n instanceof a&&n.$implicit)&&this.vcr.createEmbeddedView(this.template,r)}ngDoCheck(){c(this.content)&&this.content.check()}static ngTemplateContextGuard(t,e){return!0}getContext(){return function(t){return c(t)||t instanceof i.Rgc}(this.content)||u(this.content)?this.context:new a("function"==typeof this.content?this.content(this.context):this.content)}process(t,e){const n=t.createInjector(this.i,e);this.c=this.vcr.createComponent(n.get(i._Vd).resolveComponentFactory(t.component),0,n)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.zs3),i.Y36(i.Rgc))},t.\u0275dir=i.lG2({type:t,selectors:[["","polymorpheusOutlet",""]],inputs:{content:["polymorpheusOutlet","content"],context:["polymorpheusOutletContext","context"]},features:[i.TTD]}),t})();function c(t){return t instanceof s}function u(t){return t instanceof o}let h=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},23358:function(t){t.exports=function(){"use strict";const{entries:t,setPrototypeOf:e,isFrozen:n,getPrototypeOf:i,getOwnPropertyDescriptor:r}=Object;let{freeze:o,seal:s,create:a}=Object,{apply:l,construct:c}="undefined"!=typeof Reflect&&Reflect;o||(o=function(t){return t}),s||(s=function(t){return t}),l||(l=function(t,e,n){return t.apply(e,n)}),c||(c=function(t,e){return new t(...e)});const u=C(Array.prototype.forEach),h=C(Array.prototype.pop),d=C(Array.prototype.push),p=C(String.prototype.toLowerCase),f=C(String.prototype.toString),g=C(String.prototype.match),m=C(String.prototype.replace),v=C(String.prototype.indexOf),_=C(String.prototype.trim),y=C(RegExp.prototype.test),b=(w=TypeError,function(){for(var t=arguments.length,e=new Array(t),n=0;n1?n-1:0),r=1;r2&&void 0!==arguments[2]?arguments[2]:p;e&&e(t,null);let o=i.length;for(;o--;){let e=i[o];if("string"==typeof e){const t=r(e);t!==e&&(n(i)||(i[o]=t),e=t)}t[e]=!0}return t}function k(e){const n=a(null);for(const[i,o]of t(e))void 0!==r(e,i)&&(n[i]=o);return n}function O(t,e){for(;null!==t;){const n=r(t,e);if(n){if(n.get)return C(n.get);if("function"==typeof n.value)return C(n.value)}t=i(t)}return function(t){return console.warn("fallback value for",t),null}}const M=o(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),S=o(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),P=o(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),E=o(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),T=o(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),A=o(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),I=o(["#text"]),D=o(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),N=o(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),L=o(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),z=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),F=s(/\{\{[\w\W]*|[\w\W]*\}\}/gm),R=s(/<%[\w\W]*|[\w\W]*%>/gm),j=s(/\${[\w\W]*}/gm),B=s(/^data-[\-\w.\u00B7-\uFFFF]/),V=s(/^aria-[\-\w]+$/),$=s(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Y=s(/^(?:\w+script|data):/i),Z=s(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),q=s(/^html$/i);var U=Object.freeze({__proto__:null,MUSTACHE_EXPR:F,ERB_EXPR:R,TMPLIT_EXPR:j,DATA_ATTR:B,ARIA_ATTR:V,IS_ALLOWED_URI:$,IS_SCRIPT_OR_DATA:Y,ATTR_WHITESPACE:Z,DOCTYPE_NAME:q});const H=function(){return"undefined"==typeof window?null:window},G=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let n=null;const i="data-tt-policy-suffix";e&&e.hasAttribute(i)&&(n=e.getAttribute(i));const r="dompurify"+(n?"#"+n:"");try{return t.createPolicy(r,{createHTML:t=>t,createScriptURL:t=>t})}catch(o){return console.warn("TrustedTypes policy "+r+" could not be created."),null}};return function e(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:H();const i=t=>e(t);if(i.version="3.0.6",i.removed=[],!n||!n.document||9!==n.document.nodeType)return i.isSupported=!1,i;let{document:r}=n;const s=r,l=s.currentScript,{DocumentFragment:c,HTMLTemplateElement:w,Node:C,Element:F,NodeFilter:R,NamedNodeMap:j=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:B,DOMParser:V,trustedTypes:Y}=n,Z=F.prototype,J=O(Z,"cloneNode"),X=O(Z,"nextSibling"),Q=O(Z,"childNodes"),W=O(Z,"parentNode");if("function"==typeof w){const t=r.createElement("template");t.content&&t.content.ownerDocument&&(r=t.content.ownerDocument)}let K,tt="";const{implementation:et,createNodeIterator:nt,createDocumentFragment:it,getElementsByTagName:rt}=r,{importNode:ot}=s;let st={};i.isSupported="function"==typeof t&&"function"==typeof W&&et&&void 0!==et.createHTMLDocument;const{MUSTACHE_EXPR:at,ERB_EXPR:lt,TMPLIT_EXPR:ct,DATA_ATTR:ut,ARIA_ATTR:ht,IS_SCRIPT_OR_DATA:dt,ATTR_WHITESPACE:pt}=U;let{IS_ALLOWED_URI:ft}=U,gt=null;const mt=x({},[...M,...S,...P,...T,...I]);let vt=null;const _t=x({},[...D,...N,...L,...z]);let yt=Object.seal(a(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),bt=null,wt=null,Ct=!0,xt=!0,kt=!1,Ot=!0,Mt=!1,St=!1,Pt=!1,Et=!1,Tt=!1,At=!1,It=!1,Dt=!0,Nt=!1;const Lt="user-content-";let zt=!0,Ft=!1,Rt={},jt=null;const Bt=x({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Vt=null;const $t=x({},["audio","video","img","source","image","track"]);let Yt=null;const Zt=x({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),qt="http://www.w3.org/1998/Math/MathML",Ut="http://www.w3.org/2000/svg",Ht="http://www.w3.org/1999/xhtml";let Gt=Ht,Jt=!1,Xt=null;const Qt=x({},[qt,Ut,Ht],f);let Wt=null;const Kt=["application/xhtml+xml","text/html"],te="text/html";let ee=null,ne=null;const ie=r.createElement("form"),re=function(t){return t instanceof RegExp||t instanceof Function},oe=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ne||ne!==t){if((!t||"object"!=typeof t)&&(t={}),t=k(t),Wt=Wt=-1===Kt.indexOf(t.PARSER_MEDIA_TYPE)?te:t.PARSER_MEDIA_TYPE,ee="application/xhtml+xml"===Wt?f:p,gt="ALLOWED_TAGS"in t?x({},t.ALLOWED_TAGS,ee):mt,vt="ALLOWED_ATTR"in t?x({},t.ALLOWED_ATTR,ee):_t,Xt="ALLOWED_NAMESPACES"in t?x({},t.ALLOWED_NAMESPACES,f):Qt,Yt="ADD_URI_SAFE_ATTR"in t?x(k(Zt),t.ADD_URI_SAFE_ATTR,ee):Zt,Vt="ADD_DATA_URI_TAGS"in t?x(k($t),t.ADD_DATA_URI_TAGS,ee):$t,jt="FORBID_CONTENTS"in t?x({},t.FORBID_CONTENTS,ee):Bt,bt="FORBID_TAGS"in t?x({},t.FORBID_TAGS,ee):{},wt="FORBID_ATTR"in t?x({},t.FORBID_ATTR,ee):{},Rt="USE_PROFILES"in t&&t.USE_PROFILES,Ct=!1!==t.ALLOW_ARIA_ATTR,xt=!1!==t.ALLOW_DATA_ATTR,kt=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Ot=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,Mt=t.SAFE_FOR_TEMPLATES||!1,St=t.WHOLE_DOCUMENT||!1,Tt=t.RETURN_DOM||!1,At=t.RETURN_DOM_FRAGMENT||!1,It=t.RETURN_TRUSTED_TYPE||!1,Et=t.FORCE_BODY||!1,Dt=!1!==t.SANITIZE_DOM,Nt=t.SANITIZE_NAMED_PROPS||!1,zt=!1!==t.KEEP_CONTENT,Ft=t.IN_PLACE||!1,ft=t.ALLOWED_URI_REGEXP||$,Gt=t.NAMESPACE||Ht,yt=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&re(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(yt.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&re(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(yt.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(yt.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Mt&&(xt=!1),At&&(Tt=!0),Rt&&(gt=x({},[...I]),vt=[],!0===Rt.html&&(x(gt,M),x(vt,D)),!0===Rt.svg&&(x(gt,S),x(vt,N),x(vt,z)),!0===Rt.svgFilters&&(x(gt,P),x(vt,N),x(vt,z)),!0===Rt.mathMl&&(x(gt,T),x(vt,L),x(vt,z))),t.ADD_TAGS&&(gt===mt&&(gt=k(gt)),x(gt,t.ADD_TAGS,ee)),t.ADD_ATTR&&(vt===_t&&(vt=k(vt)),x(vt,t.ADD_ATTR,ee)),t.ADD_URI_SAFE_ATTR&&x(Yt,t.ADD_URI_SAFE_ATTR,ee),t.FORBID_CONTENTS&&(jt===Bt&&(jt=k(jt)),x(jt,t.FORBID_CONTENTS,ee)),zt&&(gt["#text"]=!0),St&&x(gt,["html","head","body"]),gt.table&&(x(gt,["tbody"]),delete bt.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw b('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw b('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');K=t.TRUSTED_TYPES_POLICY,tt=K.createHTML("")}else void 0===K&&(K=G(Y,l)),null!==K&&"string"==typeof tt&&(tt=K.createHTML(""));o&&o(t),ne=t}},se=x({},["mi","mo","mn","ms","mtext"]),ae=x({},["foreignobject","desc","title","annotation-xml"]),le=x({},["title","style","font","a","script"]),ce=x({},S);x(ce,P),x(ce,E);const ue=x({},T);x(ue,A);const he=function(t){let e=W(t);(!e||!e.tagName)&&(e={namespaceURI:Gt,tagName:"template"});const n=p(t.tagName),i=p(e.tagName);return!!Xt[t.namespaceURI]&&(t.namespaceURI===Ut?e.namespaceURI===Ht?"svg"===n:e.namespaceURI===qt?"svg"===n&&("annotation-xml"===i||se[i]):Boolean(ce[n]):t.namespaceURI===qt?e.namespaceURI===Ht?"math"===n:e.namespaceURI===Ut?"math"===n&&ae[i]:Boolean(ue[n]):t.namespaceURI===Ht?!(e.namespaceURI===Ut&&!ae[i]||e.namespaceURI===qt&&!se[i])&&!ue[n]&&(le[n]||!ce[n]):!("application/xhtml+xml"!==Wt||!Xt[t.namespaceURI]))},de=function(t){d(i.removed,{element:t});try{t.parentNode.removeChild(t)}catch(e){t.remove()}},pe=function(t,e){try{d(i.removed,{attribute:e.getAttributeNode(t),from:e})}catch(n){d(i.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!vt[t])if(Tt||At)try{de(e)}catch(n){}else try{e.setAttribute(t,"")}catch(n){}},fe=function(t){let e=null,n=null;if(Et)t=""+t;else{const e=g(t,/^[\r\n\t ]+/);n=e&&e[0]}"application/xhtml+xml"===Wt&&Gt===Ht&&(t=''+t+"");const i=K?K.createHTML(t):t;if(Gt===Ht)try{e=(new V).parseFromString(i,Wt)}catch(s){}if(!e||!e.documentElement){e=et.createDocument(Gt,"template",null);try{e.documentElement.innerHTML=Jt?tt:i}catch(s){}}const o=e.body||e.documentElement;return t&&n&&o.insertBefore(r.createTextNode(n),o.childNodes[0]||null),Gt===Ht?rt.call(e,St?"html":"body")[0]:St?e.documentElement:o},ge=function(t){return nt.call(t.ownerDocument||t,t,R.SHOW_ELEMENT|R.SHOW_COMMENT|R.SHOW_TEXT,null)},me=function(t){return t instanceof B&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof j)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},ve=function(t){return"function"==typeof C&&t instanceof C},_e=function(t,e,n){!st[t]||u(st[t],t=>{t.call(i,e,n,ne)})},ye=function(t){let e=null;if(_e("beforeSanitizeElements",t,null),me(t))return de(t),!0;const n=ee(t.nodeName);if(_e("uponSanitizeElement",t,{tagName:n,allowedTags:gt}),t.hasChildNodes()&&!ve(t.firstElementChild)&&y(/<[/\w]/g,t.innerHTML)&&y(/<[/\w]/g,t.textContent))return de(t),!0;if(!gt[n]||bt[n]){if(!bt[n]&&we(n)&&(yt.tagNameCheck instanceof RegExp&&y(yt.tagNameCheck,n)||yt.tagNameCheck instanceof Function&&yt.tagNameCheck(n)))return!1;if(zt&&!jt[n]){const e=W(t)||t.parentNode,n=Q(t)||t.childNodes;if(n&&e)for(let i=n.length-1;i>=0;--i)e.insertBefore(J(n[i],!0),X(t))}return de(t),!0}return t instanceof F&&!he(t)||("noscript"===n||"noembed"===n||"noframes"===n)&&y(/<\/no(script|embed|frames)/i,t.innerHTML)?(de(t),!0):(Mt&&3===t.nodeType&&(e=t.textContent,u([at,lt,ct],t=>{e=m(e,t," ")}),t.textContent!==e&&(d(i.removed,{element:t.cloneNode()}),t.textContent=e)),_e("afterSanitizeElements",t,null),!1)},be=function(t,e,n){if(Dt&&("id"===e||"name"===e)&&(n in r||n in ie))return!1;if((!xt||wt[e]||!y(ut,e))&&(!Ct||!y(ht,e)))if(!vt[e]||wt[e]){if(!(we(t)&&(yt.tagNameCheck instanceof RegExp&&y(yt.tagNameCheck,t)||yt.tagNameCheck instanceof Function&&yt.tagNameCheck(t))&&(yt.attributeNameCheck instanceof RegExp&&y(yt.attributeNameCheck,e)||yt.attributeNameCheck instanceof Function&&yt.attributeNameCheck(e))||"is"===e&&yt.allowCustomizedBuiltInElements&&(yt.tagNameCheck instanceof RegExp&&y(yt.tagNameCheck,n)||yt.tagNameCheck instanceof Function&&yt.tagNameCheck(n))))return!1}else if(!Yt[e]&&!y(ft,m(n,pt,""))&&("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==v(n,"data:")||!Vt[t])&&(!kt||y(dt,m(n,pt,"")))&&n)return!1;return!0},we=function(t){return t.indexOf("-")>0},Ce=function(t){_e("beforeSanitizeAttributes",t,null);const{attributes:e}=t;if(!e)return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:vt};let r=e.length;for(;r--;){const s=e[r],{name:a,namespaceURI:l,value:c}=s,d=ee(a);let p="value"===a?c:_(c);if(n.attrName=d,n.attrValue=p,n.keepAttr=!0,n.forceKeepAttr=void 0,_e("uponSanitizeAttribute",t,n),p=n.attrValue,n.forceKeepAttr||(pe(a,t),!n.keepAttr))continue;if(!Ot&&y(/\/>/i,p)){pe(a,t);continue}Mt&&u([at,lt,ct],t=>{p=m(p,t," ")});const f=ee(t.nodeName);if(be(f,d,p)){if(Nt&&("id"===d||"name"===d)&&(pe(a,t),p=Lt+p),K&&"object"==typeof Y&&"function"==typeof Y.getAttributeType&&!l)switch(Y.getAttributeType(f,d)){case"TrustedHTML":p=K.createHTML(p);break;case"TrustedScriptURL":p=K.createScriptURL(p)}try{l?t.setAttributeNS(l,a,p):t.setAttribute(a,p),h(i.removed)}catch(o){}}}_e("afterSanitizeAttributes",t,null)},xe=function t(e){let n=null;const i=ge(e);for(_e("beforeSanitizeShadowDOM",e,null);n=i.nextNode();)_e("uponSanitizeShadowNode",n,null),!ye(n)&&(n.content instanceof c&&t(n.content),Ce(n));_e("afterSanitizeShadowDOM",e,null)};return i.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,r=null,o=null,a=null;if(Jt=!t,Jt&&(t="\x3c!--\x3e"),"string"!=typeof t&&!ve(t)){if("function"!=typeof t.toString)throw b("toString is not a function");if("string"!=typeof(t=t.toString()))throw b("dirty is not a string, aborting")}if(!i.isSupported)return t;if(Pt||oe(e),i.removed=[],"string"==typeof t&&(Ft=!1),Ft){if(t.nodeName){const e=ee(t.nodeName);if(!gt[e]||bt[e])throw b("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof C)n=fe("\x3c!----\x3e"),r=n.ownerDocument.importNode(t,!0),1===r.nodeType&&"BODY"===r.nodeName||"HTML"===r.nodeName?n=r:n.appendChild(r);else{if(!Tt&&!Mt&&!St&&-1===t.indexOf("<"))return K&&It?K.createHTML(t):t;if(n=fe(t),!n)return Tt?null:It?tt:""}n&&Et&&de(n.firstChild);const l=ge(Ft?t:n);for(;o=l.nextNode();)ye(o)||(o.content instanceof c&&xe(o.content),Ce(o));if(Ft)return t;if(Tt){if(At)for(a=it.call(n.ownerDocument);n.firstChild;)a.appendChild(n.firstChild);else a=n;return(vt.shadowroot||vt.shadowrootmode)&&(a=ot.call(s,a,!0)),a}let h=St?n.outerHTML:n.innerHTML;return St&>["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&y(q,n.ownerDocument.doctype.name)&&(h="\n"+h),Mt&&u([at,lt,ct],t=>{h=m(h,t," ")}),K&&It?K.createHTML(h):h},i.setConfig=function(){oe(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Pt=!0},i.clearConfig=function(){ne=null,Pt=!1},i.isValidAttribute=function(t,e,n){ne||oe({});const i=ee(t),r=ee(e);return be(i,r,n)},i.addHook=function(t,e){"function"==typeof e&&(st[t]=st[t]||[],d(st[t],e))},i.removeHook=function(t){if(st[t])return h(st[t])},i.removeHooks=function(t){st[t]&&(st[t]=[])},i.removeAllHooks=function(){st={}},i}()}()},15622:function(t,e,n){"use strict";function i(t){var e=Array.prototype.slice.call(arguments,1);return e.forEach(function(e){!e||Object.keys(e).forEach(function(n){t[n]=e[n]})}),t}function r(t){return Object.prototype.toString.call(t)}function o(t){return"[object Function]"===r(t)}function s(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var a={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},l={"http:":{validate:function(t,e,n){var i=t.slice(e);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(i)?i.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,n){var i=t.slice(e);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(i)?e>=3&&":"===t[e-3]||e>=3&&"/"===t[e-3]?0:i.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,n){var i=t.slice(e);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(i)?i.match(n.re.mailto)[0].length:0}}},c="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");function u(t){var e=t.re=n(86249)(t.__opts__),i=t.__tlds__.slice();function a(t){return t.replace("%TLDS%",e.src_tlds)}t.onCompile(),t.__tlds_replaced__||i.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),i.push(e.src_xn),e.src_tlds=i.join("|"),e.email_fuzzy=RegExp(a(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(a(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(a(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(a(e.tpl_host_fuzzy_test),"i");var l=[];function c(t,e){throw new Error('(LinkifyIt) Invalid schema "'+t+'": '+e)}t.__compiled__={},Object.keys(t.__schemas__).forEach(function(e){var n=t.__schemas__[e];if(null!==n){var i={validate:null,link:null};if(t.__compiled__[e]=i,function(t){return"[object Object]"===r(t)}(n))return function(t){return"[object RegExp]"===r(t)}(n.validate)?i.validate=function(t){return function(e,n){var i=e.slice(n);return t.test(i)?i.match(t)[0].length:0}}(n.validate):o(n.validate)?i.validate=n.validate:c(e,n),void(o(n.normalize)?i.normalize=n.normalize:n.normalize?c(e,n):i.normalize=function(t,e){e.normalize(t)});if(function(t){return"[object String]"===r(t)}(n))return void l.push(e);c(e,n)}}),l.forEach(function(e){!t.__compiled__[t.__schemas__[e]]||(t.__compiled__[e].validate=t.__compiled__[t.__schemas__[e]].validate,t.__compiled__[e].normalize=t.__compiled__[t.__schemas__[e]].normalize)}),t.__compiled__[""]={validate:null,normalize:function(t,e){e.normalize(t)}};var u=Object.keys(t.__compiled__).filter(function(e){return e.length>0&&t.__compiled__[e]}).map(s).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><\uff5c]|"+e.src_ZPCc+"))("+u+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><\uff5c]|"+e.src_ZPCc+"))("+u+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),function(t){t.__index__=-1,t.__text_cache__=""}(t)}function h(t,e){var n=t.__index__,i=t.__last_index__,r=t.__text_cache__.slice(n,i);this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=i+e,this.raw=r,this.text=r,this.url=r}function d(t,e){var n=new h(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function p(t,e){if(!(this instanceof p))return new p(t,e);e||function(t){return Object.keys(t||{}).reduce(function(t,e){return t||a.hasOwnProperty(e)},!1)}(t)&&(e=t,t={}),this.__opts__=i({},a,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=i({},l,t),this.__compiled__={},this.__tlds__=c,this.__tlds_replaced__=!1,this.re={},u(this)}p.prototype.add=function(t,e){return this.__schemas__[t]=e,u(this),this},p.prototype.set=function(t){return this.__opts__=i(this.__opts__,t),this},p.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;var e,n,i,r,o,s,a,l;if(this.re.schema_test.test(t))for((a=this.re.schema_search).lastIndex=0;null!==(e=a.exec(t));)if(r=this.testSchemaAt(t,e[2],a.lastIndex)){this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+r;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=t.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l=0&&null!==(i=t.match(this.re.email_fuzzy))&&(o=i.index+i[1].length,s=i.index+i[0].length,(this.__index__<0||othis.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=s)),this.__index__>=0},p.prototype.pretest=function(t){return this.re.pretest.test(t)},p.prototype.testSchemaAt=function(t,e,n){return this.__compiled__[e.toLowerCase()]?this.__compiled__[e.toLowerCase()].validate(t,n,this):0},p.prototype.match=function(t){var e=0,n=[];this.__index__>=0&&this.__text_cache__===t&&(n.push(d(this,e)),e=this.__last_index__);for(var i=e?t.slice(e):t;this.test(i);)n.push(d(this,e)),i=i.slice(this.__last_index__),e+=this.__last_index__;return n.length?n:null},p.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;var e=this.re.schema_at_start.exec(t);if(!e)return null;var n=this.testSchemaAt(t,e[2],e[0].length);return n?(this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+n,d(this,0)):null},p.prototype.tlds=function(t,e){return t=Array.isArray(t)?t:[t],e?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(t,e,n){return t!==n[e-1]}).reverse(),u(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,u(this),this)},p.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),"mailto:"===t.schema&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)},p.prototype.onCompile=function(){},t.exports=p},86249:function(t,e,n){"use strict";t.exports=function(t){var e={};t=t||{},e.src_Any=n(93644).source,e.src_Cc=n(29756).source,e.src_Z=n(51905).source,e.src_P=n(54897).source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|");return e.src_pseudo_letter="(?:(?![><\uff5c]|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|[><\uff5c]|"+e.src_ZPCc+")(?!"+(t["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|[><\uff5c]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+e.src_ZCc+"|[.]|$)|"+(t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+e.src_ZCc+"|$)|;(?!"+e.src_ZCc+"|$)|\\!+(?!"+e.src_ZCc+"|[!]|$)|\\?(?!"+e.src_ZCc+"|[?]|$))+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy='(^|[><\uff5c]|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+e.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+e.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}},4841:function(t,e,n){"use strict";t.exports=n(35096)},21087:function(t,e,n){"use strict";t.exports=n(95485)},29204:function(t){"use strict";t.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},17110:function(t){"use strict";var e="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",n="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",i=new RegExp("^(?:"+e+"|"+n+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|]*>|)"),r=new RegExp("^(?:"+e+"|"+n+")");t.exports.n=i,t.exports.q=r},47504:function(t,e,n){"use strict";var i=Object.prototype.hasOwnProperty;function r(t,e){return i.call(t,e)}function o(t){return!(t>=55296&&t<=57343||t>=64976&&t<=65007||65535==(65535&t)||65534==(65535&t)||t>=0&&t<=8||11===t||t>=14&&t<=31||t>=127&&t<=159||t>1114111)}function s(t){return t>65535?(t-=65536,String.fromCharCode(55296+(t>>10),56320+(1023&t))):String.fromCharCode(t)}var a=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,l=new RegExp(a.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),c=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i,u=n(21087),h=/[&<>"]/,d=/[&<>"]/g,p={"&":"&","<":"<",">":">",'"':"""};function f(t){return p[t]}var g=/[.?*+^$[\]\\(){}|-]/g,m=n(54897);e.lib={},e.lib.mdurl=n(74149),e.lib.ucmicro=n(48363),e.assign=function(t){var e=Array.prototype.slice.call(arguments,1);return e.forEach(function(e){if(e){if("object"!=typeof e)throw new TypeError(e+"must be object");Object.keys(e).forEach(function(n){t[n]=e[n]})}}),t},e.isString=function(t){return"[object String]"===function(t){return Object.prototype.toString.call(t)}(t)},e.has=r,e.unescapeMd=function(t){return t.indexOf("\\")<0?t:t.replace(a,"$1")},e.unescapeAll=function(t){return t.indexOf("\\")<0&&t.indexOf("&")<0?t:t.replace(l,function(t,e,n){return e||function(t,e){var n;return r(u,e)?u[e]:35===e.charCodeAt(0)&&c.test(e)&&o(n="x"===e[1].toLowerCase()?parseInt(e.slice(2),16):parseInt(e.slice(1),10))?s(n):t}(t,n)})},e.isValidEntityCode=o,e.fromCodePoint=s,e.escapeHtml=function(t){return h.test(t)?t.replace(d,f):t},e.arrayReplaceAt=function(t,e,n){return[].concat(t.slice(0,e),n,t.slice(e+1))},e.isSpace=function(t){switch(t){case 9:case 32:return!0}return!1},e.isWhiteSpace=function(t){if(t>=8192&&t<=8202)return!0;switch(t){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},e.isMdAsciiPunct=function(t){switch(t){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},e.isPunctChar=function(t){return m.test(t)},e.escapeRE=function(t){return t.replace(g,"\\$&")},e.normalizeReference=function(t){return t=t.trim().replace(/\s+/g," "),"\u1e7e"==="\u1e9e".toLowerCase()&&(t=t.replace(/\u1e9e/g,"\xdf")),t.toLowerCase().toUpperCase()}},12869:function(t,e,n){"use strict";e.parseLinkLabel=n(8666),e.parseLinkDestination=n(44349),e.parseLinkTitle=n(55874)},44349:function(t,e,n){"use strict";var i=n(47504).unescapeAll;t.exports=function(t,e,n){var r,o,s=e,a={ok:!1,pos:0,lines:0,str:""};if(60===t.charCodeAt(s)){for(s++;s32)return a;if(41===r){if(0===o)break;o--}s++}return e===s||0!==o||(a.str=i(t.slice(e,s)),a.pos=s,a.ok=!0),a}},8666:function(t){"use strict";t.exports=function(t,e,n){var i,r,o,s,a=-1,l=t.posMax,c=t.pos;for(t.pos=e+1,i=1;t.pos=n||34!==(o=t.charCodeAt(a))&&39!==o&&40!==o)return l;for(a++,40===o&&(o=41);a=0))try{e.hostname=h.toASCII(e.hostname)}catch(n){}return u.encode(u.format(e))}function _(t){var e=u.parse(t,!0);if(e.hostname&&(!e.protocol||m.indexOf(e.protocol)>=0))try{e.hostname=h.toUnicode(e.hostname)}catch(n){}return u.decode(u.format(e),u.decode.defaultChars+"%")}function y(t,e){if(!(this instanceof y))return new y(t,e);e||i.isString(t)||(e=t||{},t="default"),this.inline=new l,this.block=new a,this.core=new s,this.renderer=new o,this.linkify=new c,this.validateLink=g,this.normalizeLink=v,this.normalizeLinkText=_,this.utils=i,this.helpers=i.assign({},r),this.options={},this.configure(t),e&&this.set(e)}y.prototype.set=function(t){return i.assign(this.options,t),this},y.prototype.configure=function(t){var e,n=this;if(i.isString(t)&&!(t=d[e=t]))throw new Error('Wrong `markdown-it` preset "'+e+'", check name');if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&n.set(t.options),t.components&&Object.keys(t.components).forEach(function(e){t.components[e].rules&&n[e].ruler.enableOnly(t.components[e].rules),t.components[e].rules2&&n[e].ruler2.enableOnly(t.components[e].rules2)}),this},y.prototype.enable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(e){n=n.concat(this[e].ruler.enable(t,!0))},this),n=n.concat(this.inline.ruler2.enable(t,!0));var i=t.filter(function(t){return n.indexOf(t)<0});if(i.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+i);return this},y.prototype.disable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(e){n=n.concat(this[e].ruler.disable(t,!0))},this),n=n.concat(this.inline.ruler2.disable(t,!0));var i=t.filter(function(t){return n.indexOf(t)<0});if(i.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+i);return this},y.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this},y.prototype.parse=function(t,e){if("string"!=typeof t)throw new Error("Input data should be a String");var n=new this.core.State(t,this,e);return this.core.process(n),n.tokens},y.prototype.render=function(t,e){return this.renderer.render(this.parse(t,e=e||{}),this.options,e)},y.prototype.parseInline=function(t,e){var n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens},y.prototype.renderInline=function(t,e){return this.renderer.render(this.parseInline(t,e=e||{}),this.options,e)},t.exports=y},51269:function(t,e,n){"use strict";var i=n(67869),r=[["table",n(46961),["paragraph","reference"]],["code",n(27636)],["fence",n(20785),["paragraph","reference","blockquote","list"]],["blockquote",n(48264),["paragraph","reference","blockquote","list"]],["hr",n(90622),["paragraph","reference","blockquote","list"]],["list",n(6483),["paragraph","reference","blockquote"]],["reference",n(69194)],["html_block",n(77607),["paragraph","reference","blockquote"]],["heading",n(15492),["paragraph","reference","blockquote"]],["lheading",n(6726)],["paragraph",n(13794)]];function o(){this.ruler=new i;for(var t=0;t=n||t.sCount[l]=u){t.line=n;break}for(o=t.line,r=0;r=t.line)throw new Error("block rule didn't increment state.line");break}if(!i)throw new Error("none of the block rules matched");t.tight=!c,t.isEmpty(t.line-1)&&(c=!0),(l=t.line)=t.pos)throw new Error("inline rule didn't increment state.pos");break}}else t.pos=t.posMax;e||t.pos++,s[i]=t.pos}else t.pos=s[i]},s.prototype.tokenize=function(t){for(var e,n,i,r=this.ruler.getRules(""),o=r.length,s=t.posMax,a=t.md.options.maxNesting;t.pos=t.pos)throw new Error("inline rule didn't increment state.pos");break}if(e){if(t.pos>=s)break}else t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()},s.prototype.parse=function(t,e,n,i){var r,o,s,a=new this.State(t,e,n,i);for(this.tokenize(a),s=(o=this.ruler2.getRules("")).length,r=0;r"+o(s.content)+""},s.code_block=function(t,e,n,i,r){return""+o(t[e].content)+"\n"},s.fence=function(t,e,n,i,s){var a,l,c,u,h=t[e],d=h.info?r(h.info).trim():"",p="",f="";return d&&(p=(c=d.split(/(\s+)/g))[0],f=c.slice(2).join("")),0===(a=n.highlight&&n.highlight(h.content,p,f)||o(h.content)).indexOf(""+a+"\n"):"
"+a+"
\n"},s.image=function(t,e,n,i,r){var o=t[e];return o.attrs[o.attrIndex("alt")][1]=r.renderInlineAsText(o.children,n,i),r.renderToken(t,e,n)},s.hardbreak=function(t,e,n){return n.xhtmlOut?"
\n":"
\n"},s.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?"
\n":"
\n":"\n"},s.text=function(t,e){return o(t[e].content)},s.html_block=function(t,e){return t[e].content},s.html_inline=function(t,e){return t[e].content},a.prototype.renderAttrs=function(t){var e,n,i;if(!t.attrs)return"";for(i="",e=0,n=t.attrs.length;e\n":">")},a.prototype.renderInline=function(t,e,n){for(var i,r="",o=this.rules,s=0,a=t.length;s=4||62!==t.src.charCodeAt(M))return!1;if(r)return!0;for(f=[],g=[],_=[],y=[],C=t.md.block.ruler.getRules("blockquote"),v=t.parentType,t.parentType="blockquote",d=e;d=(S=t.eMarks[d])));d++)if(62!==t.src.charCodeAt(M++)||k){if(u)break;for(w=!1,a=0,c=C.length;a=S,g.push(t.bsCount[d]),t.bsCount[d]=t.sCount[d]+1+(b?1:0),_.push(t.sCount[d]),t.sCount[d]=p-l,y.push(t.tShift[d]),t.tShift[d]=M-t.bMarks[d]}for(m=t.blkIndent,t.blkIndent=0,(x=t.push("blockquote_open","blockquote",1)).markup=">",x.map=h=[e,0],t.md.block.tokenize(t,e,d),(x=t.push("blockquote_close","blockquote",-1)).markup=">",t.lineMax=O,t.parentType=v,h[1]=t.line,a=0;a=4))break;r=++i}return t.line=r,(o=t.push("code_block","code",0)).content=t.getLines(e,r,4+t.blkIndent,!1)+"\n",o.map=[e,t.line],!0}},20785:function(t){"use strict";t.exports=function(t,e,n,i){var r,o,s,a,l,c,u,h=!1,d=t.bMarks[e]+t.tShift[e],p=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4||d+3>p||126!==(r=t.src.charCodeAt(d))&&96!==r||(l=d,(o=(d=t.skipChars(d,r))-l)<3)||(u=t.src.slice(l,d),s=t.src.slice(d,p),96===r&&s.indexOf(String.fromCharCode(r))>=0))return!1;if(i)return!0;for(a=e;!(++a>=n||(d=l=t.bMarks[a]+t.tShift[a],p=t.eMarks[a],d=4||(d=t.skipChars(d,r),d-l=4||35!==(o=t.src.charCodeAt(c))||c>=u)return!1;for(s=1,o=t.src.charCodeAt(++c);35===o&&c6||cc&&i(t.src.charCodeAt(a-1))&&(u=a),t.line=e+1,(l=t.push("heading_open","h"+String(s),1)).markup="########".slice(0,s),l.map=[e,t.line],(l=t.push("inline","",0)).content=t.src.slice(c,u).trim(),l.map=[e,t.line],l.children=[],(l=t.push("heading_close","h"+String(s),-1)).markup="########".slice(0,s)),0))}},90622:function(t,e,n){"use strict";var i=n(47504).isSpace;t.exports=function(t,e,n,r){var o,s,a,l,c=t.bMarks[e]+t.tShift[e],u=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4||42!==(o=t.src.charCodeAt(c++))&&45!==o&&95!==o)return!1;for(s=1;c|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(r.source+"\\s*$"),/^$/,!1]];t.exports=function(t,e,n,i){var r,s,a,l,c=t.bMarks[e]+t.tShift[e],u=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4||!t.md.options.html||60!==t.src.charCodeAt(c))return!1;for(l=t.src.slice(c,u),r=0;r=4)return!1;for(d=t.parentType,t.parentType="paragraph";p3)){if(t.sCount[p]>=t.blkIndent&&(l=t.bMarks[p]+t.tShift[p])<(c=t.eMarks[p])&&(45===(h=t.src.charCodeAt(l))||61===h)&&(l=t.skipChars(l,h),(l=t.skipSpaces(l))>=c)){u=61===h?1:2;break}if(!(t.sCount[p]<0)){for(r=!1,o=0,s=f.length;o=s||(n=t.src.charCodeAt(o++))<48||n>57)return-1;for(;;){if(o>=s)return-1;if(!((n=t.src.charCodeAt(o++))>=48&&n<=57)){if(41===n||46===n)break;return-1}if(o-r>=10)return-1}return o=4||t.listIndent>=0&&t.sCount[D]-t.listIndent>=4&&t.sCount[D]=t.blkIndent&&(N=!0),(S=o(t,D))>=0){if(d=!0,E=t.bMarks[D]+t.tShift[D],_=Number(t.src.slice(E,S-1)),N&&1!==_)return!1}else{if(!((S=r(t,D))>=0))return!1;d=!1}if(N&&t.skipSpaces(S)>=t.eMarks[D])return!1;if(i)return!0;for(v=t.src.charCodeAt(S-1),m=t.tokens.length,d?(I=t.push("ordered_list_open","ol",1),1!==_&&(I.attrs=[["start",_]])):I=t.push("bullet_list_open","ul",1),I.map=g=[D,0],I.markup=String.fromCharCode(v),P=!1,A=t.md.block.ruler.getRules("list"),C=t.parentType,t.parentType="list";D=y?1:b-h)>4&&(u=1),c=h+u,(I=t.push("list_item_open","li",1)).markup=String.fromCharCode(v),I.map=p=[D,0],d&&(I.info=t.src.slice(E,S-1)),O=t.tight,k=t.tShift[D],x=t.sCount[D],w=t.listIndent,t.listIndent=t.blkIndent,t.blkIndent=c,t.tight=!0,t.tShift[D]=a-t.bMarks[D],t.sCount[D]=b,a>=y&&t.isEmpty(D+1)?t.line=Math.min(t.line+2,n):t.md.block.tokenize(t,D,n,!0),(!t.tight||P)&&(L=!1),P=t.line-D>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=w,t.tShift[D]=k,t.sCount[D]=x,t.tight=O,(I=t.push("list_item_close","li",-1)).markup=String.fromCharCode(v),p[1]=D=t.line,D>=n||t.sCount[D]=4)break;for(T=!1,l=0,f=A.length;l3||t.sCount[c]<0)){for(r=!1,o=0,s=u.length;o=4||91!==t.src.charCodeAt(x))return!1;for(;++x3||t.sCount[O]<0)){for(y=!1,h=0,d=b.length;h0&&this.level++,this.tokens.push(r),r},o.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]},o.prototype.skipEmptyLines=function(t){for(var e=this.lineMax;te;)if(!r(this.src.charCodeAt(--t)))return t+1;return t},o.prototype.skipChars=function(t,e){for(var n=this.src.length;tn;)if(e!==this.src.charCodeAt(--t))return t+1;return t},o.prototype.getLines=function(t,e,n,i){var o,s,a,l,c,u,h,d=t;if(t>=e)return"";for(u=new Array(e-t),o=0;dn?new Array(s-n+1).join(" ")+this.src.slice(l,c):this.src.slice(l,c)}return u.join("")},o.prototype.Token=i,t.exports=o},46961:function(t,e,n){"use strict";var i=n(47504).isSpace;function r(t,e){return t.src.slice(t.bMarks[e]+t.tShift[e],t.eMarks[e])}function o(t){var e,n=[],i=0,r=t.length,o=!1,s=0,a="";for(e=t.charCodeAt(i);in||t.sCount[d=e+1]=4||(c=t.bMarks[d]+t.tShift[d])>=t.eMarks[d]||124!==(x=t.src.charCodeAt(c++))&&45!==x&&58!==x||c>=t.eMarks[d]||124!==(k=t.src.charCodeAt(c++))&&45!==k&&58!==k&&!i(k)||45===x&&i(k))return!1;for(;c=4||((p=o(l)).length&&""===p[0]&&p.shift(),p.length&&""===p[p.length-1]&&p.pop(),0===(f=p.length)||f!==m.length))return!1;if(s)return!0;for(b=t.parentType,t.parentType="table",C=t.md.block.ruler.getRules("blockquote"),(g=t.push("table_open","table",1)).map=_=[e,0],(g=t.push("thead_open","thead",1)).map=[e,e+1],(g=t.push("tr_open","tr",1)).map=[e,e+1],u=0;u=4)break;for((p=o(l)).length&&""===p[0]&&p.shift(),p.length&&""===p[p.length-1]&&p.pop(),d===e+2&&((g=t.push("tbody_open","tbody",1)).map=y=[e+2,0]),(g=t.push("tr_open","tr",1)).map=[d,d+1],u=0;u=0;e--)if("link_close"!==(a=o[e]).type){if("html_inline"===a.type&&(/^\s]/i.test(a.content)&&f>0&&f--,/^<\/a\s*>/i.test(a.content)&&f++),!(f>0)&&"text"===a.type&&t.md.linkify.test(a.content)){for(v=t.md.linkify.match(u=a.content),l=[],p=a.level,d=0,v.length>0&&0===v[0].index&&e>0&&"text_special"===o[e-1].type&&(v=v.slice(1)),c=0;cd&&((s=new t.Token("text","",0)).content=u.slice(d,h),s.level=p,l.push(s)),(s=new t.Token("link_open","a",1)).attrs=[["href",g]],s.level=p++,s.markup="linkify",s.info="auto",l.push(s),(s=new t.Token("text","",0)).content=m,s.level=p,l.push(s),(s=new t.Token("link_close","a",-1)).level=--p,s.markup="linkify",s.info="auto",l.push(s),d=v[c].lastIndex);d=0;e--)"text"===(n=t[e]).type&&!r&&(n.content=n.content.replace(i,o)),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}function a(t){var n,i,r=0;for(n=t.length-1;n>=0;n--)"text"===(i=t[n]).type&&!r&&e.test(i.content)&&(i.content=i.content.replace(/\+-/g,"\xb1").replace(/\.{2,}/g,"\u2026").replace(/([?!])\u2026/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1\u2014").replace(/(^|\s)--(?=\s|$)/gm,"$1\u2013").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1\u2013")),"link_open"===i.type&&"auto"===i.info&&r--,"link_close"===i.type&&"auto"===i.info&&r++}t.exports=function(t){var i;if(t.md.options.typographer)for(i=t.tokens.length-1;i>=0;i--)"inline"===t.tokens[i].type&&(n.test(t.tokens[i].content)&&s(t.tokens[i].children),e.test(t.tokens[i].content)&&a(t.tokens[i].children))}},87185:function(t,e,n){"use strict";var i=n(47504).isWhiteSpace,r=n(47504).isPunctChar,o=n(47504).isMdAsciiPunct,s=/['"]/,a=/['"]/g;function l(t,e,n){return t.slice(0,e)+n+t.slice(e+1)}function c(t,e){var n,s,c,u,h,d,p,f,g,m,v,_,y,b,w,C,x,k,O,M,S;for(O=[],n=0;n=0&&!(O[x].level<=p);x--);if(O.length=x+1,"text"===s.type){h=0,d=(c=s.content).length;t:for(;h=0)g=c.charCodeAt(u.index-1);else for(x=n-1;x>=0&&"softbreak"!==t[x].type&&"hardbreak"!==t[x].type;x--)if(t[x].content){g=t[x].content.charCodeAt(t[x].content.length-1);break}if(m=32,h=48&&g<=57&&(C=w=!1),w&&C&&(w=v,C=_),w||C){if(C)for(x=O.length-1;x>=0&&(f=O[x],!(O[x].level=0;e--)"inline"!==t.tokens[e].type||!s.test(t.tokens[e].content)||c(t.tokens[e].children,t)}},96546:function(t,e,n){"use strict";var i=n(68253);function r(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}r.prototype.Token=i,t.exports=r},91726:function(t){"use strict";t.exports=function(t){var e,n,i,r,o,s,a=t.tokens;for(e=0,n=a.length;e\x00-\x20]*)$/;t.exports=function(t,i){var r,o,s,a,l,c,u=t.pos;if(60!==t.src.charCodeAt(u))return!1;for(l=t.pos,c=t.posMax;;){if(++u>=c||60===(a=t.src.charCodeAt(u)))return!1;if(62===a)break}return r=t.src.slice(l+1,u),n.test(r)?(o=t.md.normalizeLink(r),!!t.md.validateLink(o)&&(i||((s=t.push("link_open","a",1)).attrs=[["href",o]],s.markup="autolink",s.info="auto",(s=t.push("text","",0)).content=t.md.normalizeLinkText(r),(s=t.push("link_close","a",-1)).markup="autolink",s.info="auto"),t.pos+=r.length+2,!0)):!!e.test(r)&&(o=t.md.normalizeLink("mailto:"+r),!!t.md.validateLink(o)&&(i||((s=t.push("link_open","a",1)).attrs=[["href",o]],s.markup="autolink",s.info="auto",(s=t.push("text","",0)).content=t.md.normalizeLinkText(r),(s=t.push("link_close","a",-1)).markup="autolink",s.info="auto"),t.pos+=r.length+2,!0))}},18326:function(t){"use strict";t.exports=function(t,e){var n,i,r,o,s,a,l,c,u=t.pos;if(96!==t.src.charCodeAt(u))return!1;for(n=u,u++,i=t.posMax;uo;n-=p[n]+1)if((r=t[n]).marker===i.marker&&r.open&&r.end<0&&(a=!1,(r.close||i.open)&&(r.length+i.length)%3==0&&(r.length%3!=0||i.length%3!=0)&&(a=!0),!a)){p[e]=e-n+(l=n>0&&!t[n-1].open?p[n-1]+1:0),p[n]=l,i.open=!1,r.end=e,r.close=!1,s=-1,d=-2;break}-1!==s&&(c[i.marker][(i.open?3:0)+(i.length||0)%3]=s)}}}t.exports=function(t){var n,i=t.tokens_meta,r=t.tokens_meta.length;for(e(t.delimiters),n=0;n=0;n--)(95===(i=e[n]).marker||42===i.marker)&&-1!==i.end&&(r=e[i.end],a=n>0&&e[n-1].end===i.end+1&&e[n-1].marker===i.marker&&e[n-1].token===i.token-1&&e[i.end+1].token===r.token+1,s=String.fromCharCode(i.marker),(o=t.tokens[i.token]).type=a?"strong_open":"em_open",o.tag=a?"strong":"em",o.nesting=1,o.markup=a?s+s:s,o.content="",(o=t.tokens[r.token]).type=a?"strong_close":"em_close",o.tag=a?"strong":"em",o.nesting=-1,o.markup=a?s+s:s,o.content="",a&&(t.tokens[e[n-1].token].content="",t.tokens[e[i.end+1].token].content="",n--))}t.exports.w=function(t,e){var n,i,r=t.src.charCodeAt(t.pos);if(e||95!==r&&42!==r)return!1;for(i=t.scanDelims(t.pos,42===r),n=0;n=d)return!1;if(35===t.src.charCodeAt(h+1)){if(c=t.src.slice(h).match(a))return e||(n="x"===c[1][0].toLowerCase()?parseInt(c[1].slice(1),16):parseInt(c[1],10),(u=t.push("text_special","",0)).content=o(n)?s(n):s(65533),u.markup=c[0],u.info="entity"),t.pos+=c[0].length,!0}else if((c=t.src.slice(h).match(l))&&r(i,c[1]))return e||((u=t.push("text_special","",0)).content=i[c[1]],u.markup=c[0],u.info="entity"),t.pos+=c[0].length,!0;return!1}},50340:function(t,e,n){"use strict";for(var i=n(47504).isSpace,r=[],o=0;o<256;o++)r.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t){r[t.charCodeAt(0)]=1}),t.exports=function(t,e){var n,o,s,a,l,c=t.pos,u=t.posMax;if(92!==t.src.charCodeAt(c)||++c>=u)return!1;if(10===(n=t.src.charCodeAt(c))){for(e||t.push("hardbreak","br",0),c++;c=55296&&n<=56319&&c+1=56320&&o<=57343&&(a+=t.src[c+1],c++),s="\\"+a,e||((l=t.push("text_special","",0)).content=n<256&&0!==r[n]?a:s,l.markup=s,l.info="escape"),t.pos=c+1,!0}},36109:function(t){"use strict";t.exports=function(t){var e,n,i=0,r=t.tokens,o=t.tokens.length;for(e=n=0;e0&&i++,"text"===r[e].type&&e+1=o)||(n=t.src.charCodeAt(l+1),33!==n&&63!==n&&47!==n&&!function(t){var e=32|t;return e>=97&&e<=122}(n))||(r=t.src.slice(l).match(i),!r)||(e||((s=t.push("html_inline","",0)).content=r[0],/^\s]/i.test(s.content)&&t.linkLevel++,a=s.content,/^<\/a\s*>/i.test(a)&&t.linkLevel--),t.pos+=r[0].length,0))}},10898:function(t,e,n){"use strict";var i=n(47504).normalizeReference,r=n(47504).isSpace;t.exports=function(t,e){var n,o,s,a,l,c,u,h,d,p,f,g,m,v="",_=t.pos,y=t.posMax;if(33!==t.src.charCodeAt(t.pos)||91!==t.src.charCodeAt(t.pos+1)||(c=t.pos+2,(l=t.md.helpers.parseLinkLabel(t,t.pos+1,!1))<0))return!1;if((u=l+1)=y)return!1;for(m=u,(d=t.md.helpers.parseLinkDestination(t.src,u,t.posMax)).ok&&(v=t.md.normalizeLink(d.str),t.md.validateLink(v)?u=d.pos:v=""),m=u;u=y||41!==t.src.charCodeAt(u))return t.pos=_,!1;u++}else{if(void 0===t.env.references)return!1;if(u=0?a=t.src.slice(m,u++):u=l+1):u=l+1,a||(a=t.src.slice(c,l)),!(h=t.env.references[i(a)]))return t.pos=_,!1;v=h.href,p=h.title}return e||(s=t.src.slice(c,l),t.md.inline.parse(s,t.md,t.env,g=[]),(f=t.push("image","img",0)).attrs=n=[["src",v],["alt",""]],f.children=g,f.content=s,p&&n.push(["title",p])),t.pos=u,t.posMax=y,!0}},1786:function(t,e,n){"use strict";var i=n(47504).normalizeReference,r=n(47504).isSpace;t.exports=function(t,e){var n,o,s,a,l,c,u,h,d="",p="",f=t.pos,g=t.posMax,m=t.pos,v=!0;if(91!==t.src.charCodeAt(t.pos)||(l=t.pos+1,(a=t.md.helpers.parseLinkLabel(t,t.pos,!0))<0))return!1;if((c=a+1)=g)return!1;if(m=c,(u=t.md.helpers.parseLinkDestination(t.src,c,t.posMax)).ok){for(d=t.md.normalizeLink(u.str),t.md.validateLink(d)?c=u.pos:d="",m=c;c=g||41!==t.src.charCodeAt(c))&&(v=!0),c++}if(v){if(void 0===t.env.references)return!1;if(c=0?s=t.src.slice(m,c++):c=a+1):c=a+1,s||(s=t.src.slice(l,a)),!(h=t.env.references[i(s)]))return t.pos=f,!1;d=h.href,p=h.title}return e||(t.pos=l,t.posMax=a,t.push("link_open","a",1).attrs=n=[["href",d]],p&&n.push(["title",p]),t.linkLevel++,t.md.inline.tokenize(t),t.linkLevel--,t.push("link_close","a",-1)),t.pos=c,t.posMax=g,!0}},79850:function(t){"use strict";var e=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;t.exports=function(t,n){var i,r,o,s,a,l,c,u;return!(!t.md.options.linkify||t.linkLevel>0||(i=t.pos,r=t.posMax,i+3>r)||58!==t.src.charCodeAt(i)||47!==t.src.charCodeAt(i+1)||47!==t.src.charCodeAt(i+2)||(o=t.pending.match(e),!o)||(s=o[1],a=t.md.linkify.matchAtStart(t.src.slice(i-s.length)),!a)||(l=a.url,l.length<=s.length)||(l=l.replace(/\*+$/,""),c=t.md.normalizeLink(l),!t.md.validateLink(c))||(n||(t.pending=t.pending.slice(0,-s.length),(u=t.push("link_open","a",1)).attrs=[["href",c]],u.markup="linkify",u.info="auto",(u=t.push("text","",0)).content=t.md.normalizeLinkText(l),(u=t.push("link_close","a",-1)).markup="linkify",u.info="auto"),t.pos+=l.length-s.length,0))}},58254:function(t,e,n){"use strict";var i=n(47504).isSpace;t.exports=function(t,e){var n,r,o,s=t.pos;if(10!==t.src.charCodeAt(s))return!1;if(n=t.pending.length-1,r=t.posMax,!e)if(n>=0&&32===t.pending.charCodeAt(n))if(n>=1&&32===t.pending.charCodeAt(n-1)){for(o=n-1;o>=1&&32===t.pending.charCodeAt(o-1);)o--;t.pending=t.pending.slice(0,o),t.push("hardbreak","br",0)}else t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0);else t.push("softbreak","br",0);for(s++;s0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(o),r},a.prototype.scanDelims=function(t,e){var n,i,a,l,c,u,h,d,p,f=t,g=!0,m=!0,v=this.posMax,_=this.src.charCodeAt(t);for(n=t>0?this.src.charCodeAt(t-1):32;f=0&&(n=this.attrs[e][1]),n},e.prototype.attrJoin=function(t,e){var n=this.attrIndex(t);n<0?this.attrPush([t,e]):this.attrs[n][1]=this.attrs[n][1]+" "+e},t.exports=e},5478:function(t){t.exports=function(){"use strict";function t(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,i=new Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(i=t[Symbol.iterator]()).next.bind(i)}var i,r,o=(i=function(t){function e(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}t.exports={defaults:{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1},getDefaults:e,changeDefaults:function(e){t.exports.defaults=e}}},i(r={exports:{}},r.exports),r.exports),s=/[&<>"']/,a=/[&<>"']/g,l=/[<>"']|&(?!#?\w+;)/,c=/[<>"']|&(?!#?\w+;)/g,u={"&":"&","<":"<",">":">",'"':""","'":"'"},h=function(t){return u[t]};var d=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function p(t){return t.replace(d,function(t,e){return"colon"===(e=e.toLowerCase())?":":"#"===e.charAt(0)?"x"===e.charAt(1)?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):""})}var f=/(^|[^\[])\^/g;var g=/[^\w:]/g,m=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;var v={},_=/^[^:]+:\/*[^/]*$/,y=/^([^:]+:)[\s\S]*$/,b=/^([^:]+:\/*[^/]*)[\s\S]*$/;function w(t,e){v[" "+t]||(v[" "+t]=_.test(t)?t+"/":C(t,"/",!0));var n=-1===(t=v[" "+t]).indexOf(":");return"//"===e.substring(0,2)?n?e:t.replace(y,"$1")+e:"/"===e.charAt(0)?n?e:t.replace(b,"$1")+e:t+e}function C(t,e,n){var i=t.length;if(0===i)return"";for(var r=0;r=0&&"\\"===n[r];)i=!i;return i?"|":" |"}).split(/ \|/),i=0;if(n.length>e)n.splice(e);else for(;n.length1;)1&e&&(n+=t),e>>=1,t+=t;return n+t},D=o.defaults,N=C,L=E,z=x,F=T;function R(t,e,n){var i=e.href,r=e.title?z(e.title):null,o=t[1].replace(/\\([\[\]])/g,"$1");return"!"!==t[0].charAt(0)?{type:"link",raw:n,href:i,title:r,text:o}:{type:"image",raw:n,href:i,title:r,text:z(o)}}var j=function(){function t(t){this.options=t||D}var e=t.prototype;return e.space=function(t){var e=this.rules.block.newline.exec(t);if(e)return e[0].length>1?{type:"space",raw:e[0]}:{raw:"\n"}},e.code=function(t,e){var n=this.rules.block.code.exec(t);if(n){var i=e[e.length-1];if(i&&"paragraph"===i.type)return{raw:n[0],text:n[0].trimRight()};var r=n[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?r:N(r,"\n")}}},e.fences=function(t){var e=this.rules.block.fences.exec(t);if(e){var n=e[0],i=function(t,e){var n=t.match(/^(\s+)(?:```)/);if(null===n)return e;var i=n[1];return e.split("\n").map(function(t){var e=t.match(/^\s+/);return null===e?t:e[0].length>=i.length?t.slice(i.length):t}).join("\n")}(n,e[3]||"");return{type:"code",raw:n,lang:e[2]?e[2].trim():e[2],text:i}}},e.heading=function(t){var e=this.rules.block.heading.exec(t);if(e){var n=e[2].trim();if(/#$/.test(n)){var i=N(n,"#");(this.options.pedantic||!i||/ $/.test(i))&&(n=i.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:n}}},e.nptable=function(t){var e=this.rules.block.nptable.exec(t);if(e){var n={type:"table",header:L(e[1].replace(/^ *| *\| *$/g,"")),align:e[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:e[3]?e[3].replace(/\n$/,"").split("\n"):[],raw:e[0]};if(n.header.length===n.align.length){var i,r=n.align.length;for(i=0;i ?/gm,"");return{type:"blockquote",raw:e[0],text:n}}},e.list=function(t){var e=this.rules.block.list.exec(t);if(e){var n,i,r,o,s,a,l,c,u=e[0],h=e[2],d=h.length>1,p={type:"list",raw:u,ordered:d,start:d?+h.slice(0,-1):"",loose:!1,items:[]},f=e[0].match(this.rules.block.item),g=!1,m=f.length;r=this.rules.block.listItemStart.exec(f[0]);for(var v=0;vr[1].length:o[1].length>r[0].length||o[1].length>3){f.splice(v,2,f[v]+"\n"+f[v+1]),v--,m--;continue}(!this.options.pedantic||this.options.smartLists?o[2][o[2].length-1]!==h[h.length-1]:d===(1===o[2].length))&&(s=f.slice(v+1).join("\n"),p.raw=p.raw.substring(0,p.raw.length-s.length),v=m-1),r=o}i=n.length,~(n=n.replace(/^ *([*+-]|\d+[.)]) ?/,"")).indexOf("\n ")&&(i-=n.length,n=n.replace(this.options.pedantic?/^ {1,4}/gm:new RegExp("^ {1,"+i+"}","gm"),"")),a=g||/\n\n(?!\s*$)/.test(n),v!==m-1&&(g="\n"===n.charAt(n.length-1),a||(a=g)),a&&(p.loose=!0),this.options.gfm&&(c=void 0,(l=/^\[[ xX]\] /.test(n))&&(c=" "!==n[1],n=n.replace(/^\[[ xX]\] +/,""))),p.items.push({type:"list_item",raw:u,task:l,checked:c,loose:a,text:n})}return p}},e.html=function(t){var e=this.rules.block.html.exec(t);if(e)return{type:this.options.sanitize?"paragraph":"html",raw:e[0],pre:!this.options.sanitizer&&("pre"===e[1]||"script"===e[1]||"style"===e[1]),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(e[0]):z(e[0]):e[0]}},e.def=function(t){var e=this.rules.block.def.exec(t);if(e)return e[3]&&(e[3]=e[3].substring(1,e[3].length-1)),{tag:e[1].toLowerCase().replace(/\s+/g," "),raw:e[0],href:e[2],title:e[3]}},e.table=function(t){var e=this.rules.block.table.exec(t);if(e){var n={type:"table",header:L(e[1].replace(/^ *| *\| *$/g,"")),align:e[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:e[3]?e[3].replace(/\n$/,"").split("\n"):[]};if(n.header.length===n.align.length){n.raw=e[0];var i,r=n.align.length;for(i=0;i/i.test(i[0])&&(e=!1),!n&&/^<(pre|code|kbd|script)(\s|>)/i.test(i[0])?n=!0:n&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(i[0])&&(n=!1),{type:this.options.sanitize?"text":"html",raw:i[0],inLink:e,inRawBlock:n,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):z(i[0]):i[0]}},e.link=function(t){var e=this.rules.inline.link.exec(t);if(e){var n=e[2].trim();if(!this.options.pedantic&&/^$/.test(n))return;var i=N(n.slice(0,-1),"\\");if((n.length-i.length)%2==0)return}else{var r=F(e[2],"()");if(r>-1){var o=(0===e[0].indexOf("!")?5:4)+e[1].length+r;e[2]=e[2].substring(0,r),e[0]=e[0].substring(0,o).trim(),e[3]=""}}var s=e[2],a="";if(this.options.pedantic){var l=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(s);l&&(s=l[1],a=l[3])}else a=e[3]?e[3].slice(1,-1):"";return s=s.trim(),/^$/.test(n)?s.slice(1):s.slice(1,-1)),R(e,{href:s&&s.replace(this.rules.inline._escapes,"$1"),title:a&&a.replace(this.rules.inline._escapes,"$1")},e[0])}},e.reflink=function(t,e){var n;if((n=this.rules.inline.reflink.exec(t))||(n=this.rules.inline.nolink.exec(t))){var i=(n[2]||n[1]).replace(/\s+/g," ");if(!(i=e[i.toLowerCase()])||!i.href){var r=n[0].charAt(0);return{type:"text",raw:r,text:r}}return R(n,i,n[0])}},e.strong=function(t,e,n){void 0===n&&(n="");var i=this.rules.inline.strong.start.exec(t);if(i&&(!i[1]||i[1]&&(""===n||this.rules.inline.punctuation.exec(n)))){e=e.slice(-1*t.length);var r,o="**"===i[0]?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;for(o.lastIndex=0;null!=(i=o.exec(e));)if(r=this.rules.inline.strong.middle.exec(e.slice(0,i.index+3)))return{type:"strong",raw:t.slice(0,r[0].length),text:t.slice(2,r[0].length-2)}}},e.em=function(t,e,n){void 0===n&&(n="");var i=this.rules.inline.em.start.exec(t);if(i&&(!i[1]||i[1]&&(""===n||this.rules.inline.punctuation.exec(n)))){e=e.slice(-1*t.length);var r,o="*"===i[0]?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;for(o.lastIndex=0;null!=(i=o.exec(e));)if(r=this.rules.inline.em.middle.exec(e.slice(0,i.index+2)))return{type:"em",raw:t.slice(0,r[0].length),text:t.slice(1,r[0].length-1)}}},e.codespan=function(t){var e=this.rules.inline.code.exec(t);if(e){var n=e[2].replace(/\n/g," "),i=/[^ ]/.test(n),r=/^ /.test(n)&&/ $/.test(n);return i&&r&&(n=n.substring(1,n.length-1)),n=z(n,!0),{type:"codespan",raw:e[0],text:n}}},e.br=function(t){var e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}},e.del=function(t){var e=this.rules.inline.del.exec(t);if(e)return{type:"del",raw:e[0],text:e[2]}},e.autolink=function(t,e){var n,i,r=this.rules.inline.autolink.exec(t);if(r)return i="@"===r[2]?"mailto:"+(n=z(this.options.mangle?e(r[1]):r[1])):n=z(r[1]),{type:"link",raw:r[0],text:n,href:i,tokens:[{type:"text",raw:n,text:n}]}},e.url=function(t,e){var n;if(n=this.rules.inline.url.exec(t)){var i,r;if("@"===n[2])r="mailto:"+(i=z(this.options.mangle?e(n[0]):n[0]));else{var o;do{o=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(o!==n[0]);i=z(n[0]),r="www."===n[1]?"http://"+i:i}return{type:"link",raw:n[0],text:i,href:r,tokens:[{type:"text",raw:i,text:i}]}}},e.inlineText=function(t,e,n){var i,r=this.rules.inline.text.exec(t);if(r)return i=e?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):z(r[0]):r[0]:z(this.options.smartypants?n(r[0]):r[0]),{type:"text",raw:r[0],text:i}},t}(),B=S,V=O,$=P,Y={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?! {0,3}bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:B,table:B,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};Y.def=V(Y.def).replace("label",Y._label).replace("title",Y._title).getRegex(),Y.bullet=/(?:[*+-]|\d{1,9}[.)])/,Y.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,Y.item=V(Y.item,"gm").replace(/bull/g,Y.bullet).getRegex(),Y.listItemStart=V(/^( *)(bull)/).replace("bull",Y.bullet).getRegex(),Y.list=V(Y.list).replace(/bull/g,Y.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+Y.def.source+")").getRegex(),Y._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Y._comment=/|$)/,Y.html=V(Y.html,"i").replace("comment",Y._comment).replace("tag",Y._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Y.paragraph=V(Y._paragraph).replace("hr",Y.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",Y._tag).getRegex(),Y.blockquote=V(Y.blockquote).replace("paragraph",Y.paragraph).getRegex(),Y.normal=$({},Y),Y.gfm=$({},Y.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n {0,3}([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n {0,3}\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),Y.gfm.nptable=V(Y.gfm.nptable).replace("hr",Y.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",Y._tag).getRegex(),Y.gfm.table=V(Y.gfm.table).replace("hr",Y.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",Y._tag).getRegex(),Y.pedantic=$({},Y.normal,{html:V("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",Y._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:B,paragraph:V(Y.normal._paragraph).replace("hr",Y.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",Y.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var Z={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:B,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",strong:{start:/^(?:(\*\*(?=[*punctuation]))|\*\*)(?![\s])|__/,middle:/^\*\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*\*$|^__(?![\s])((?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?)__$/,endAst:/[^punctuation\s]\*\*(?!\*)|[punctuation]\*\*(?!\*)(?:(?=[punctuation_\s]|$))/,endUnd:/[^\s]__(?!_)(?:(?=[punctuation*\s])|$)/},em:{start:/^(?:(\*(?=[punctuation]))|\*)(?![*\s])|_/,middle:/^\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*$|^_(?![_\s])(?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?_$/,endAst:/[^punctuation\s]\*(?!\*)|[punctuation]\*(?!\*)(?:(?=[punctuation_\s]|$))/,endUnd:/[^\s]_(?!_)(?:(?=[punctuation*\s])|$)/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:B,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~"};Z.punctuation=V(Z.punctuation).replace(/punctuation/g,Z._punctuation).getRegex(),Z._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",Z._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",Z._comment=V(Y._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),Z.em.start=V(Z.em.start).replace(/punctuation/g,Z._punctuation).getRegex(),Z.em.middle=V(Z.em.middle).replace(/punctuation/g,Z._punctuation).replace(/overlapSkip/g,Z._overlapSkip).getRegex(),Z.em.endAst=V(Z.em.endAst,"g").replace(/punctuation/g,Z._punctuation).getRegex(),Z.em.endUnd=V(Z.em.endUnd,"g").replace(/punctuation/g,Z._punctuation).getRegex(),Z.strong.start=V(Z.strong.start).replace(/punctuation/g,Z._punctuation).getRegex(),Z.strong.middle=V(Z.strong.middle).replace(/punctuation/g,Z._punctuation).replace(/overlapSkip/g,Z._overlapSkip).getRegex(),Z.strong.endAst=V(Z.strong.endAst,"g").replace(/punctuation/g,Z._punctuation).getRegex(),Z.strong.endUnd=V(Z.strong.endUnd,"g").replace(/punctuation/g,Z._punctuation).getRegex(),Z.blockSkip=V(Z._blockSkip,"g").getRegex(),Z.overlapSkip=V(Z._overlapSkip,"g").getRegex(),Z._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,Z._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,Z._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,Z.autolink=V(Z.autolink).replace("scheme",Z._scheme).replace("email",Z._email).getRegex(),Z._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,Z.tag=V(Z.tag).replace("comment",Z._comment).replace("attribute",Z._attribute).getRegex(),Z._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Z._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,Z._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,Z.link=V(Z.link).replace("label",Z._label).replace("href",Z._href).replace("title",Z._title).getRegex(),Z.reflink=V(Z.reflink).replace("label",Z._label).getRegex(),Z.reflinkSearch=V(Z.reflinkSearch,"g").replace("reflink",Z.reflink).replace("nolink",Z.nolink).getRegex(),Z.normal=$({},Z),Z.pedantic=$({},Z.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:V(/^!?\[(label)\]\((.*?)\)/).replace("label",Z._label).getRegex(),reflink:V(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Z._label).getRegex()}),Z.gfm=$({},Z.normal,{escape:V(Z.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\.5&&(n="x"+n.toString(16)),i+="&#"+n+";";return i}var W=function(){function e(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||U,this.options.tokenizer=this.options.tokenizer||new j,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var e={block:H.normal,inline:G.normal};this.options.pedantic?(e.block=H.pedantic,e.inline=G.pedantic):this.options.gfm&&(e.block=H.gfm,e.inline=this.options.breaks?G.breaks:G.gfm),this.tokenizer.rules=e}e.lex=function(t,n){return new e(n).lex(t)},e.lexInline=function(t,n){return new e(n).inlineTokens(t)};var n=e.prototype;return n.lex=function(t){return t=t.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(t,this.tokens,!0),this.inline(this.tokens),this.tokens},n.blockTokens=function(t,e,n){void 0===e&&(e=[]),void 0===n&&(n=!0),this.options.pedantic&&(t=t.replace(/^ +$/gm,""));for(var i,r,o,s;t;)if(i=this.tokenizer.space(t))t=t.substring(i.raw.length),i.type&&e.push(i);else if(i=this.tokenizer.code(t,e))t=t.substring(i.raw.length),i.type?e.push(i):((s=e[e.length-1]).raw+="\n"+i.raw,s.text+="\n"+i.text);else if(i=this.tokenizer.fences(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.heading(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.nptable(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.hr(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.blockquote(t))t=t.substring(i.raw.length),i.tokens=this.blockTokens(i.text,[],n),e.push(i);else if(i=this.tokenizer.list(t)){for(t=t.substring(i.raw.length),o=i.items.length,r=0;r0)for(;null!=(o=this.tokenizer.rules.inline.reflinkSearch.exec(l));)c.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,o.index)+"["+J("a",o[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(o=this.tokenizer.rules.inline.blockSkip.exec(l));)l=l.slice(0,o.index)+"["+J("a",o[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;t;)if(s||(a=""),s=!1,r=this.tokenizer.escape(t))t=t.substring(r.raw.length),e.push(r);else if(r=this.tokenizer.tag(t,n,i))t=t.substring(r.raw.length),n=r.inLink,i=r.inRawBlock,e.push(r);else if(r=this.tokenizer.link(t))t=t.substring(r.raw.length),"link"===r.type&&(r.tokens=this.inlineTokens(r.text,[],!0,i)),e.push(r);else if(r=this.tokenizer.reflink(t,this.tokens.links))t=t.substring(r.raw.length),"link"===r.type&&(r.tokens=this.inlineTokens(r.text,[],!0,i)),e.push(r);else if(r=this.tokenizer.strong(t,l,a))t=t.substring(r.raw.length),r.tokens=this.inlineTokens(r.text,[],n,i),e.push(r);else if(r=this.tokenizer.em(t,l,a))t=t.substring(r.raw.length),r.tokens=this.inlineTokens(r.text,[],n,i),e.push(r);else if(r=this.tokenizer.codespan(t))t=t.substring(r.raw.length),e.push(r);else if(r=this.tokenizer.br(t))t=t.substring(r.raw.length),e.push(r);else if(r=this.tokenizer.del(t))t=t.substring(r.raw.length),r.tokens=this.inlineTokens(r.text,[],n,i),e.push(r);else if(r=this.tokenizer.autolink(t,Q))t=t.substring(r.raw.length),e.push(r);else if(n||!(r=this.tokenizer.url(t,Q))){if(r=this.tokenizer.inlineText(t,i,X))t=t.substring(r.raw.length),a=r.raw.slice(-1),s=!0,e.push(r);else if(t){var u="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(u);break}throw new Error(u)}}else t=t.substring(r.raw.length),e.push(r);return e},function(e,n,i){n&&t(e.prototype,n),i&&t(e,i)}(e,null,[{key:"rules",get:function(){return{block:H,inline:G}}}]),e}(),K=o.defaults,tt=M,et=x,nt=function(){function t(t){this.options=t||K}var e=t.prototype;return e.code=function(t,e,n){var i=(e||"").match(/\S*/)[0];if(this.options.highlight){var r=this.options.highlight(t,i);null!=r&&r!==t&&(n=!0,t=r)}return t=t.replace(/\n$/,"")+"\n",i?'
'+(n?t:et(t,!0))+"
\n":"
"+(n?t:et(t,!0))+"
\n"},e.blockquote=function(t){return"
\n"+t+"
\n"},e.html=function(t){return t},e.heading=function(t,e,n,i){return this.options.headerIds?"'+t+"\n":""+t+"\n"},e.hr=function(){return this.options.xhtml?"
\n":"
\n"},e.list=function(t,e,n){var i=e?"ol":"ul";return"<"+i+(e&&1!==n?' start="'+n+'"':"")+">\n"+t+"\n"},e.listitem=function(t){return"
  • "+t+"
  • \n"},e.checkbox=function(t){return" "},e.paragraph=function(t){return"

    "+t+"

    \n"},e.table=function(t,e){return e&&(e=""+e+""),"\n\n"+t+"\n"+e+"
    \n"},e.tablerow=function(t){return"\n"+t+"\n"},e.tablecell=function(t,e){var n=e.header?"th":"td";return(e.align?"<"+n+' align="'+e.align+'">':"<"+n+">")+t+"\n"},e.strong=function(t){return""+t+""},e.em=function(t){return""+t+""},e.codespan=function(t){return""+t+""},e.br=function(){return this.options.xhtml?"
    ":"
    "},e.del=function(t){return""+t+""},e.link=function(t,e,n){if(null===(t=tt(this.options.sanitize,this.options.baseUrl,t)))return n;var i='"+n+""},e.image=function(t,e,n){if(null===(t=tt(this.options.sanitize,this.options.baseUrl,t)))return n;var i=''+n+'":">")},e.text=function(t){return t},t}(),it=function(){function t(){}var e=t.prototype;return e.strong=function(t){return t},e.em=function(t){return t},e.codespan=function(t){return t},e.del=function(t){return t},e.html=function(t){return t},e.text=function(t){return t},e.link=function(t,e,n){return""+n},e.image=function(t,e,n){return""+n},e.br=function(){return""},t}(),rt=function(){function t(){this.seen={}}var e=t.prototype;return e.serialize=function(t){return t.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},e.getNextSafeSlug=function(t,e){var n=t,i=0;if(this.seen.hasOwnProperty(n)){i=this.seen[t];do{n=t+"-"+ ++i}while(this.seen.hasOwnProperty(n))}return e||(this.seen[t]=i,this.seen[n]=0),n},e.slug=function(t,e){void 0===e&&(e={});var n=this.serialize(t);return this.getNextSafeSlug(n,e.dryrun)},t}(),ot=o.defaults,st=k,at=function(){function t(t){this.options=t||ot,this.options.renderer=this.options.renderer||new nt,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new it,this.slugger=new rt}t.parse=function(e,n){return new t(n).parse(e)},t.parseInline=function(e,n){return new t(n).parseInline(e)};var e=t.prototype;return e.parse=function(t,e){void 0===e&&(e=!0);var n,i,r,o,s,a,l,c,u,h,d,p,f,g,m,v,_,y,b="",w=t.length;for(n=0;n0&&"text"===m.tokens[0].type?(m.tokens[0].text=y+" "+m.tokens[0].text,m.tokens[0].tokens&&m.tokens[0].tokens.length>0&&"text"===m.tokens[0].tokens[0].type&&(m.tokens[0].tokens[0].text=y+" "+m.tokens[0].tokens[0].text)):m.tokens.unshift({type:"text",text:y}):g+=y),g+=this.parse(m.tokens,f),u+=this.renderer.listitem(g,_,v);b+=this.renderer.list(u,d,p);continue;case"html":b+=this.renderer.html(h.text);continue;case"paragraph":b+=this.renderer.paragraph(this.parseInline(h.tokens));continue;case"text":for(u=h.tokens?this.parseInline(h.tokens):h.text;n+1An error occurred:

    "+ut(l.message+"",!0)+"
    ";throw l}}return ft.options=ft.setOptions=function(t){return lt(ft.defaults,t),dt(ft.defaults),ft},ft.getDefaults=ht,ft.defaults=pt,ft.use=function(t){var e=lt({},t);if(t.renderer&&function(){var n=ft.defaults.renderer||new nt,i=function(e){var i=n[e];n[e]=function(){for(var r=arguments.length,o=new Array(r),s=0;sAn error occurred:

    "+ut(i.message+"",!0)+"
    ";throw i}},ft.Parser=at,ft.parser=at.parse,ft.Renderer=nt,ft.TextRenderer=it,ft.Lexer=W,ft.lexer=W.lex,ft.Tokenizer=j,ft.Slugger=rt,ft.parse=ft,ft}()},5325:function(t){"use strict";var e={};function n(t,i){var r;return"string"!=typeof i&&(i=n.defaultChars),r=function(t){var n,i,r=e[t];if(r)return r;for(r=e[t]=[],n=0;n<128;n++)i=String.fromCharCode(n),r.push(i);for(n=0;n=55296&&l<=57343?"\ufffd\ufffd\ufffd":String.fromCharCode(l),e+=6):240==(248&i)&&e+91114111?c+="\ufffd\ufffd\ufffd\ufffd":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),e+=9):c+="\ufffd";return c})}n.defaultChars=";/?:@&=+$,#",n.componentChars="",t.exports=n},79108:function(t){"use strict";var e={};function n(t,i,r){var o,s,a,l,c,u="";for("string"!=typeof i&&(r=i,i=n.defaultChars),void 0===r&&(r=!0),c=function(t){var n,i,r=e[t];if(r)return r;for(r=e[t]=[],n=0;n<128;n++)i=String.fromCharCode(n),/^[0-9a-z]$/i.test(i)?r.push(i):r.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2));for(n=0;n=55296&&a<=57343){if(a>=55296&&a<=56319&&o+1=56320&&l<=57343){u+=encodeURIComponent(t[o]+t[o+1]),o++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(t[o]);return u}n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",t.exports=n},33923:function(t){"use strict";t.exports=function(t){var e="";return e+=t.protocol||"",e+=t.slashes?"//":"",e+=t.auth?t.auth+"@":"",t.hostname&&-1!==t.hostname.indexOf(":")?e+="["+t.hostname+"]":e+=t.hostname||"",e+=t.port?":"+t.port:"",e+=t.pathname||"",(e+=t.search||"")+(t.hash||"")}},74149:function(t,e,n){"use strict";t.exports.encode=n(79108),t.exports.decode=n(5325),t.exports.format=n(33923),t.exports.parse=n(74652)},74652:function(t){"use strict";function e(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var n=/^([a-z0-9.+-]+:)/i,i=/:[0-9]*$/,r=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,o=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),s=["'"].concat(o),a=["%","/","?",";","#"].concat(s),l=["/","?","#"],c=/^[+a-z0-9A-Z_-]{0,63}$/,u=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,h={javascript:!0,"javascript:":!0},d={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};e.prototype.parse=function(t,e){var i,o,s,p,f,g=t;if(g=g.trim(),!e&&1===t.split("#").length){var m=r.exec(g);if(m)return this.pathname=m[1],m[2]&&(this.search=m[2]),this}var v=n.exec(g);if(v&&(s=(v=v[0]).toLowerCase(),this.protocol=v,g=g.substr(v.length)),(e||v||g.match(/^\/\/[^@\/]+@[^@\/]+/))&&(f="//"===g.substr(0,2))&&!(v&&h[v])&&(g=g.substr(2),this.slashes=!0),!h[v]&&(f||v&&!d[v])){var _,y,b=-1;for(i=0;i127?O+="x":O+=k[M];if(!O.match(c)){var P=x.slice(0,i),E=x.slice(i+1),T=k.match(u);T&&(P.push(T[1]),E.unshift(T[2])),E.length&&(g=E.join(".")+g),this.hostname=P.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),C&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var A=g.indexOf("#");-1!==A&&(this.hash=g.substr(A),g=g.slice(0,A));var I=g.indexOf("?");return-1!==I&&(this.search=g.substr(I),g=g.slice(0,I)),g&&(this.pathname=g),d[s]&&this.hostname&&!this.pathname&&(this.pathname=""),this},e.prototype.parseHost=function(t){var e=i.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)},t.exports=function(t,n){if(t&&t instanceof e)return t;var i=new e;return i.parse(t,n),i}},67545:function(t,e,n){"use strict";n.d(e,{rN:function(){return E},y$:function(){return D},_l:function(){return N}});var i=n(74788),r=n(56693),o=n(59796),s=n(77393),a=n(20377),l=n(85345);class c{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new u(t,this.resultSelector))}}class u extends s.L{constructor(t,e,n=Object.create(null)){super(t),this.resultSelector=e,this.iterators=[],this.active=0,this.resultSelector="function"==typeof e?e:void 0}_next(t){const e=this.iterators;(0,o.k)(t)?e.push(new d(t)):e.push("function"==typeof t[a.hZ]?new h(t[a.hZ]()):new p(this.destination,this,t))}_complete(){const t=this.iterators,e=t.length;if(this.unsubscribe(),0!==e){this.active=e;for(let n=0;nthis.index}hasCompleted(){return this.array.length===this.index}}class p extends l.Ds{constructor(t,e,n){super(t),this.parent=e,this.observable=n,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}[a.hZ](){return this}next(){const t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}}hasValue(){return this.buffer.length>0}hasCompleted(){return 0===this.buffer.length&&this.isComplete}notifyComplete(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}notifyNext(t){this.buffer.push(t),this.parent.checkIterators()}subscribe(){return(0,l.ft)(this.observable,new l.IY(this))}}var f=n(71023),g=n(69457);const m=new class extends g.v{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let n,i=-1,r=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++i0?super.requestAsyncId(t,e,n):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame(()=>t.flush(null))))}recycleAsyncId(t,e,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(t,e,n);0===t.actions.length&&(cancelAnimationFrame(e),t.scheduled=void 0)}});var v=n(26215),_=n(59193),y=n(40205),b=n(97968),w=n(45435),C=n(88002),x=n(15257),k=n(43190),O=n(68307),M=n(5304),S=n(12057),P=n(91211);const E=new i.OlP("HIGHLIGHT_OPTIONS");let T=(()=>{class t{constructor(t,e,n){this._options=n,this._ready=new v.X(null),this.ready=this._ready.asObservable().pipe((0,w.h)(t=>!!t),(0,C.U)(t=>t),(0,x.q)(1)),(0,S.NF)(e)&&t.defaultView.hljs?this._ready.next(t.defaultView.hljs):this._loadLibrary().pipe((0,k.w)(e=>this._options&&this._options.lineNumbersLoader?(t.defaultView.hljs=e,this.loadLineNumbers().pipe((0,O.b)(()=>this._ready.next(e)))):(this._ready.next(e),_.E)),(0,M.K)(t=>(console.error("[HLJS] ",t),_.E))).subscribe()}_loadLibrary(){if(this._options){if(this._options.fullLibraryLoader&&this._options.coreLibraryLoader)return(0,y._)("The full library and the core library were imported, only one of them should be imported!");if(this._options.fullLibraryLoader&&this._options.languages)return(0,y._)("The highlighting languages were imported they are not needed!");if(this._options.coreLibraryLoader&&!this._options.languages)return(0,y._)("The highlighting languages were not imported!");if(!this._options.coreLibraryLoader&&this._options.languages)return(0,y._)("The core library was not imported!");if(this._options.fullLibraryLoader)return this.loadFullLibrary();if(this._options.coreLibraryLoader&&this._options.languages&&Object.keys(this._options.languages).length)return this.loadCoreLibrary().pipe((0,k.w)(t=>this._loadLanguages(t)))}return(0,y._)("Highlight.js library was not imported!")}_loadLanguages(t){return function(...t){const e=t[t.length-1];return"function"==typeof e&&t.pop(),(0,r.n)(t,void 0).lift(new c(e))}(...Object.entries(this._options.languages).map(([e,n])=>A(n()).pipe((0,O.b)(n=>t.registerLanguage(e,n))))).pipe((0,C.U)(()=>t))}loadCoreLibrary(){return A(this._options.coreLibraryLoader())}loadFullLibrary(){return A(this._options.fullLibraryLoader())}loadLineNumbers(){return A(this._options.lineNumbersLoader())}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(S.K0),i.LFG(i.Lbi),i.LFG(E,8))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const A=t=>(0,b.D)(t).pipe((0,w.h)(t=>!!t&&!!t.default),(0,C.U)(t=>t.default));let I=(()=>{class t{constructor(t,e){this._loader=t,this._hljs=null,t.ready.subscribe(t=>{this._hljs=t,e&&e.config&&(t.configure(e.config),t.listLanguages().length<1&&console.error("[HighlightJS]: No languages were registered!"))})}get hljs(){return this._hljs}highlight(t,{language:e,ignoreIllegals:n}){return this._loader.ready.pipe((0,C.U)(i=>i.highlight(t,{language:e,ignoreIllegals:n})))}highlightAuto(t,e){return this._loader.ready.pipe((0,C.U)(n=>n.highlightAuto(t,e)))}highlightElement(t){return this._loader.ready.pipe((0,C.U)(e=>e.highlightElement(t)))}highlightAll(){return this._loader.ready.pipe((0,C.U)(t=>t.highlightAll()))}configure(t){return this._loader.ready.pipe((0,C.U)(e=>e.configure(t)))}registerLanguage(t,e){return this._loader.ready.pipe((0,O.b)(n=>n.registerLanguage(t,e)))}unregisterLanguage(t){return this._loader.ready.pipe((0,O.b)(e=>e.unregisterLanguage(t)))}registerAliases(t,{languageName:e}){return this._loader.ready.pipe((0,O.b)(n=>n.registerAliases(t,{languageName:e})))}listLanguages(){return this._loader.ready.pipe((0,C.U)(t=>t.listLanguages()))}getLanguage(t){return this._loader.ready.pipe((0,C.U)(e=>e.getLanguage(t)))}safeMode(){return this._loader.ready.pipe((0,C.U)(t=>t.safeMode()))}debugMode(){return this._loader.ready.pipe((0,C.U)(t=>t.debugMode()))}lineNumbersBlock(t){return this._loader.ready.pipe((0,w.h)(t=>!!t.lineNumbersBlock),(0,O.b)(e=>e.lineNumbersBlock(t)))}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(T),i.LFG(E,8))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),D=(()=>{class t{constructor(t,e,n,r){this._hljs=e,this._sanitizer=n,this._options=r,this.highlighted=new i.vpe,this._nativeElement=t.nativeElement}ngOnChanges(t){var e;this.code&&(null===(e=null==t?void 0:t.code)||void 0===e?void 0:e.currentValue)&&t.code.currentValue!==t.code.previousValue&&this.highlightElement(this.code,this.languages)}highlightElement(t,e){this.setTextContent(t),this._hljs.highlightAuto(t,e).subscribe(t=>{this.setInnerHTML(t.value||null),this.lineNumbers&&this._options&&this._options.lineNumbersLoader&&this.addLineNumbers(),this.highlighted.emit(t)})}addLineNumbers(){this.destroyLineNumbersObserver(),m.schedule(()=>{this._hljs.lineNumbersBlock(this._nativeElement).subscribe(),this._lineNumbersObs=new MutationObserver(()=>{this._nativeElement.firstElementChild&&"TABLE"===this._nativeElement.firstElementChild.tagName.toUpperCase()&&this._nativeElement.classList.add("hljs-line-numbers"),this.destroyLineNumbersObserver()}),this._lineNumbersObs.observe(this._nativeElement,{childList:!0})})}destroyLineNumbersObserver(){this._lineNumbersObs&&(this._lineNumbersObs.disconnect(),this._lineNumbersObs=null)}setTextContent(t){m.schedule(()=>this._nativeElement.textContent=t)}setInnerHTML(t){m.schedule(()=>this._nativeElement.innerHTML=this._sanitizer.sanitize(i.q3G.HTML,t)||"")}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(I),i.Y36(P.H7),i.Y36(E,8))},t.\u0275dir=i.lG2({type:t,selectors:[["","highlight",""]],hostVars:2,hostBindings:function(t,e){2&t&&i.ekj("hljs",!0)},inputs:{code:["highlight","code"],languages:"languages",lineNumbers:"lineNumbers"},outputs:{highlighted:"highlighted"},features:[i.TTD]}),t})(),N=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},76715:function(t,e,n){"use strict";n.d(e,{lF:function(){return f},JP:function(){return g}});var i=n(74788),r=n(12057),o=n(5478),s=n(58497),a=n(91211),l=n(88002);n(28049);const c=["*"];class u{}const h=new i.OlP("SECURITY_CONTEXT");let d=(()=>{class t{constructor(t,e,n,i,r){this.platform=t,this.securityContext=e,this.http=n,this.sanitizer=r,this.initialMarkedOptions={renderer:new o.Renderer},this.options=i}get options(){return this._options}set options(t){this._options=Object.assign(Object.assign({},this.initialMarkedOptions),t)}get renderer(){return this.options.renderer}set renderer(t){this.options.renderer=t}compile(t,e=!1,n=!1,i=this.options){const r=this.trimIndentation(t),s=e?this.decodeHtml(r):r,a=n?this.renderEmoji(s):s,l=(0,o.parse)(a,i);return this.sanitizer.sanitize(this.securityContext,l)||""}getSource(t){if(!this.http)throw new Error("[ngx-markdown] When using the `src` attribute you *have to* pass the `HttpClient` as a parameter of the `forRoot` method. See README for more information");return this.http.get(t,{responseType:"text"}).pipe((0,l.U)(e=>this.handleExtension(t,e)))}highlight(t){if((0,r.NF)(this.platform)&&"undefined"!=typeof Prism){t||(t=document);const e=t.querySelectorAll('pre code:not([class*="language-"])');Array.prototype.forEach.call(e,t=>t.classList.add("language-none")),Prism.highlightAllUnder(t)}}renderKatex(t,e){if("undefined"==typeof katex||void 0===katex.renderToString)throw new Error("[ngx-markdown] When using the `katex` attribute you *have to* include KaTeX files to `angular.json` or use imports. See README for more information");return t.replace(/\$([^\s][^$]*?[^\s])\$/gm,(t,n)=>katex.renderToString(n,e))}decodeHtml(t){if((0,r.NF)(this.platform)){const e=document.createElement("textarea");return e.innerHTML=t,e.value}return t}handleExtension(t,e){const n=t?t.split("?")[0].split(".").splice(-1).join():null;return"md"!==n?"```"+n+"\n"+e+"\n```":e}renderEmoji(t){if("undefined"==typeof joypixels||void 0===joypixels.shortnameToUnicode)throw new Error("[ngx-markdown] When using the `emoji` attribute you *have to* include Emoji-Toolkit files to `angular.json` or use imports. See README for more information");return joypixels.shortnameToUnicode(t)}trimIndentation(t){if(!t)return"";let e;return t.split("\n").map(t=>{let n=e;return t.length>0&&(n=isNaN(n)?t.search(/\S|$/):Math.min(t.search(/\S|$/),n)),isNaN(e)&&(e=n),n?t.substring(n):t}).join("\n")}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.Lbi),i.LFG(h),i.LFG(s.eN,8),i.LFG(u,8),i.LFG(a.H7))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();var p=(()=>{return(t=p||(p={})).LineHighlight="line-highlight",t.LineNumbers="line-numbers",p;var t})();let f=(()=>{class t{constructor(t,e){this.element=t,this.markdownService=e,this.error=new i.vpe,this.load=new i.vpe,this.ready=new i.vpe,this._emoji=!1,this._katex=!1,this._lineHighlight=!1,this._lineNumbers=!1}get emoji(){return this._emoji}set emoji(t){this._emoji=this.coerceBooleanProperty(t)}get katex(){return this._katex}set katex(t){this._katex=this.coerceBooleanProperty(t)}get lineHighlight(){return this._lineHighlight}set lineHighlight(t){this._lineHighlight=this.coerceBooleanProperty(t)}get lineNumbers(){return this._lineNumbers}set lineNumbers(t){this._lineNumbers=this.coerceBooleanProperty(t)}ngOnChanges(){null==this.data?null==this.src||this.handleSrc():this.handleData()}ngAfterViewInit(){!this.data&&!this.src&&this.handleTransclusion()}render(t,e=!1){let n=this.markdownService.compile(t,e,this.emoji);n=this.katex?this.markdownService.renderKatex(n,this.katexOptions):n,this.element.nativeElement.innerHTML=n,this.handlePlugins(),this.markdownService.highlight(this.element.nativeElement),this.ready.emit()}coerceBooleanProperty(t){return null!=t&&"false"!=`${t}`}handleData(){this.render(this.data)}handleSrc(){this.markdownService.getSource(this.src).subscribe(t=>{this.render(t),this.load.emit(t)},t=>this.error.emit(t))}handleTransclusion(){this.render(this.element.nativeElement.innerHTML,!0)}handlePlugins(){this.lineHighlight&&(this.setPluginClass(this.element.nativeElement,p.LineHighlight),this.setPluginOptions(this.element.nativeElement,{dataLine:this.line,dataLineOffset:this.lineOffset})),this.lineNumbers&&(this.setPluginClass(this.element.nativeElement,p.LineNumbers),this.setPluginOptions(this.element.nativeElement,{dataStart:this.start}))}setPluginClass(t,e){const n=t.querySelectorAll("pre");for(let i=0;i{const r=e[t];if(r){const e=this.toLispCase(t);n.item(i).setAttribute(e,r.toString())}})}toLispCase(t){const e=t.match(/([A-Z])/g);if(!e)return t;let n=t.toString();for(let i=0,r=e.length;i{class t{static forRoot(e){return{ngModule:t,providers:[d,e&&e.loader||[],e&&e.markedOptions||[],{provide:h,useValue:e&&null!=e.sanitize?e.sanitize:i.q3G.HTML}]}}static forChild(){return{ngModule:t}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},61911:function(t,e,n){"use strict";n.r(e),n.d(e,{ucs2decode:function(){return p},ucs2encode:function(){return f},decode:function(){return _},encode:function(){return y},toASCII:function(){return w},toUnicode:function(){return b}});const i=2147483647,r=36,o=/^xn--/,s=/[^\0-\x7F]/,a=/[\x2E\u3002\uFF0E\uFF61]/g,l={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},c=Math.floor,u=String.fromCharCode;function h(t){throw new RangeError(l[t])}function d(t,e){const n=t.split("@");let i="";n.length>1&&(i=n[0]+"@",t=n[1]);const r=function(t,e){const n=[];let i=t.length;for(;i--;)n[i]=e(t[i]);return n}((t=t.replace(a,".")).split("."),e).join(".");return i+r}function p(t){const e=[];let n=0;const i=t.length;for(;n=55296&&r<=56319&&nString.fromCodePoint(...t),g=function(t){return t>=48&&t<58?t-48+26:t>=65&&t<91?t-65:t>=97&&t<123?t-97:r},m=function(t,e){return t+22+75*(t<26)-((0!=e)<<5)},v=function(t,e,n){let i=0;for(t=n?c(t/700):t>>1,t+=c(t/e);t>455;i+=r)t=c(t/35);return c(i+36*t/(t+38))},_=function(t){const e=[],n=t.length;let o=0,s=128,a=72,l=t.lastIndexOf("-");l<0&&(l=0);for(let i=0;i=128&&h("not-basic"),e.push(t.charCodeAt(i));for(let u=l>0?l+1:0;u=n&&h("invalid-input");const l=g(t.charCodeAt(u++));l>=r&&h("invalid-input"),l>c((i-o)/e)&&h("overflow"),o+=l*e;const d=s<=a?1:s>=a+26?26:s-a;if(lc(i/p)&&h("overflow"),e*=p}const d=e.length+1;a=v(o-l,d,0==l),c(o/d)>i-s&&h("overflow"),s+=c(o/d),o%=d,e.splice(o++,0,s)}return String.fromCodePoint(...e)},y=function(t){const e=[],n=(t=p(t)).length;let o=128,s=0,a=72;for(const i of t)i<128&&e.push(u(i));const l=e.length;let d=l;for(l&&e.push("-");d=o&&ec((i-s)/p)&&h("overflow"),s+=(n-o)*p,o=n;for(const f of t)if(fi&&h("overflow"),f===o){let t=s;for(let n=r;;n+=r){const i=n<=a?1:n>=a+26?26:n-a;if(t{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:s}=this,a=function(t,e,n){if(t){if(t instanceof i.L)return t;if(t[r.b])return t[r.b]()}return t||e||n?new i.L(t,e,n):new i.L(o.c)}(t,e,n);if(a.add(s?s.call(a,this.source):this.source||l.v.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),l.v.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(t){try{return this._subscribe(t)}catch(e){l.v.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 i.L?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=u(e))((e,n)=>{let i;i=this.subscribe(e=>{try{t(e)}catch(r){n(r),i&&i.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[s.L](){return this}pipe(...t){return 0===t.length?this:(0,a.U)(t)(this)}toPromise(t){return new(t=u(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function u(t){if(t||(t=l.v.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},46490:function(t,e,n){"use strict";n.d(e,{c:function(){return o}});var i=n(82494),r=n(54449);const o={closed:!0,next(t){},error(t){if(i.v.useDeprecatedSynchronousErrorHandling)throw t;(0,r.z)(t)},complete(){}}},55197:function(t,e,n){"use strict";n.d(e,{L:function(){return r}});var i=n(77393);class r extends i.L{notifyNext(t,e,n,i,r){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}},74235:function(t,e,n){"use strict";n.d(e,{t:function(){return f}});var i=n(79765),r=n(71023),o=n(69457);const s=new class extends o.v{}(class extends r.o{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(t,e,n):t.flush(this)}});var a=n(59178),l=n(77393),c=n(23098);class u extends l.L{constructor(t,e,n=0){super(t),this.scheduler=e,this.delay=n}static dispatch(t){const{notification:e,destination:n}=t;e.observe(n),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(u.dispatch,this.delay,new h(t,this.destination)))}_next(t){this.scheduleMessage(c.P.createNext(t))}_error(t){this.scheduleMessage(c.P.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(c.P.createComplete()),this.unsubscribe()}}class h{constructor(t,e){this.notification=t,this.destination=e}}var d=n(77971),p=n(78858);class f extends i.xQ{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){if(!this.isStopped){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift()}super.next(t)}nextTimeWindow(t){this.isStopped||(this._events.push(new g(this._getNow(),t)),this._trimBufferThenGetEvents()),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,n=e?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,r=n.length;let o;if(this.closed)throw new d.N;if(this.isStopped||this.hasError?o=a.w.EMPTY:(this.observers.push(t),o=new p.W(this,t)),i&&t.add(t=new u(t,i)),e)for(let s=0;se&&(o=Math.max(o,r-e)),o>0&&i.splice(0,o),i}}class g{constructor(t,e){this.time=t,this.value=e}}},79765:function(t,e,n){"use strict";n.d(e,{Yc:function(){return c},xQ:function(){return u}});var i=n(29856),r=n(77393),o=n(59178),s=n(77971),a=n(78858),l=n(29181);class c extends r.L{constructor(t){super(t),this.destination=t}}let u=(()=>{class t extends i.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[l.b](){return new c(this)}lift(t){const e=new h(this,this);return e.operator=t,e}next(t){if(this.closed)throw new s.N;if(!this.isStopped){const{observers:e}=this,n=e.length,i=e.slice();for(let r=0;rnew h(t,e),t})();class h extends u{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):o.w.EMPTY}}},78858:function(t,e,n){"use strict";n.d(e,{W:function(){return r}});var i=n(59178);class r extends i.w{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)}}},77393:function(t,e,n){"use strict";n.d(e,{L:function(){return c}});var i=n(69105),r=n(46490),o=n(59178),s=n(29181),a=n(82494),l=n(54449);class c extends o.w{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=r.c;break;case 1:if(!t){this.destination=r.c;break}if("object"==typeof t){t instanceof c?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new u(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new u(this,t,e,n)}}[s.b](){return this}static create(t,e,n){const i=new c(t,e,n);return i.syncErrorThrowable=!1,i}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 u extends c{constructor(t,e,n,o){super(),this._parentSubscriber=t;let s,a=this;(0,i.m)(e)?s=e:e&&(s=e.next,n=e.error,o=e.complete,e!==r.c&&(a=Object.create(e),(0,i.m)(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=s,this._error=n,this._complete=o}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;a.v.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}=a.v;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):(0,l.z)(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;(0,l.z)(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);a.v.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(),a.v.useDeprecatedSynchronousErrorHandling)throw n;(0,l.z)(n)}}__tryOrSetError(t,e,n){if(!a.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(i){return a.v.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=i,t.syncErrorThrown=!0,!0):((0,l.z)(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}},59178:function(t,e,n){"use strict";n.d(e,{w:function(){return a}});var i=n(59796),r=n(81555),o=n(69105);const s=(()=>{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})();class a{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:e,_ctorUnsubscribe:n,_unsubscribe:l,_subscriptions:u}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,e instanceof a)e.remove(this);else if(null!==e)for(let i=0;it.concat(e instanceof s?e.errors:e),[])}a.EMPTY=((l=new a).closed=!0,l)},82494:function(t,e,n){"use strict";n.d(e,{v:function(){return r}});let i=!1;const r={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 i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=t},get useDeprecatedSynchronousErrorHandling(){return i}}},85345:function(t,e,n){"use strict";n.d(e,{IY:function(){return s},Ds:function(){return a},ft:function(){return l}});var i=n(77393),r=n(29856),o=n(98314);class s extends i.L{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 a extends i.L{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function l(t,e){if(e.closed)return;if(t instanceof r.y)return t.subscribe(e);let n;try{n=(0,o.s)(t)(e)}catch(i){e.error(i)}return n}},52441:function(t,e,n){"use strict";n.d(e,{c:function(){return a},N:function(){return l}});var i=n(79765),r=n(29856),o=n(59178),s=n(51307);class a extends r.y{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 o.w,t.add(this.source.subscribe(new c(this.getSubject(),this))),t.closed&&(this._connection=null,t=o.w.EMPTY)),t}refCount(){return(0,s.x)()(this)}}const l=(()=>{const t=a.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 c extends i.Yc{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()}}}},9112:function(t,e,n){"use strict";n.d(e,{aj:function(){return c}});var i=n(54869),r=n(59796),o=n(55197),s=n(96563),a=n(56693);const l={};function c(...t){let e,n;return(0,i.K)(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&(0,r.k)(t[0])&&(t=t[0]),(0,a.n)(t,n).lift(new u(e))}class u{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new h(t,this.resultSelector))}}class h extends o.L{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(l),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let n=0;n{let n;try{n=t()}catch(i){return void e.error(i)}return(n?(0,r.D)(n):(0,o.c)()).subscribe(e)})}},59193:function(t,e,n){"use strict";n.d(e,{E:function(){return r},c:function(){return o}});var i=n(29856);const r=new i.y(t=>t.complete());function o(t){return t?function(t){return new i.y(e=>t.schedule(()=>e.complete()))}(t):r}},97968:function(t,e,n){"use strict";n.d(e,{D:function(){return h}});var i=n(29856),r=n(98314),o=n(59178),s=n(16554),a=n(94087),l=n(20377),c=n(44072),u=n(69489);function h(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[s.L]}(t))return function(t,e){return new i.y(n=>{const i=new o.w;return i.add(e.schedule(()=>{const r=t[s.L]();i.add(r.subscribe({next(t){i.add(e.schedule(()=>n.next(t)))},error(t){i.add(e.schedule(()=>n.error(t)))},complete(){i.add(e.schedule(()=>n.complete()))}}))})),i})}(t,e);if((0,c.t)(t))return function(t,e){return new i.y(n=>{const i=new o.w;return i.add(e.schedule(()=>t.then(t=>{i.add(e.schedule(()=>{n.next(t),i.add(e.schedule(()=>n.complete()))}))},t=>{i.add(e.schedule(()=>n.error(t)))}))),i})}(t,e);if((0,u.z)(t))return(0,a.r)(t,e);if(function(t){return t&&"function"==typeof t[l.hZ]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new i.y(n=>{const i=new o.w;let r;return i.add(()=>{r&&"function"==typeof r.return&&r.return()}),i.add(e.schedule(()=>{r=t[l.hZ](),i.add(e.schedule(function(){if(n.closed)return;let t,e;try{const n=r.next();t=n.value,e=n.done}catch(i){return void n.error(i)}e?n.complete():(n.next(t),this.schedule())}))})),i})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof i.y?t:new i.y((0,r.s)(t))}},56693:function(t,e,n){"use strict";n.d(e,{n:function(){return s}});var i=n(29856),r=n(55015),o=n(94087);function s(t,e){return e?(0,o.r)(t,e):new i.y((0,r.V)(t))}},22759:function(t,e,n){"use strict";n.d(e,{R:function(){return a}});var i=n(29856),r=n(59796),o=n(69105),s=n(88002);function a(t,e,n,c){return(0,o.m)(n)&&(c=n,n=void 0),c?a(t,e,n).pipe((0,s.U)(t=>(0,r.k)(t)?c(...t):c(t))):new i.y(i=>{l(t,e,function(t){i.next(arguments.length>1?Array.prototype.slice.call(arguments):t)},i,n)})}function l(t,e,n,i,r){let o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){const i=t;t.addEventListener(e,n,r),o=()=>i.removeEventListener(e,n,r)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){const i=t;t.on(e,n),o=()=>i.off(e,n)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){const i=t;t.addListener(e,n),o=()=>i.removeListener(e,n)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let o=0,s=t.length;o1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof a&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof i.y?t[0]:(0,o.J)(e)((0,s.n)(t,n))}},25917:function(t,e,n){"use strict";n.d(e,{of:function(){return s}});var i=n(54869),r=n(56693),o=n(94087);function s(...t){let e=t[t.length-1];return(0,i.K)(e)?(t.pop(),(0,o.r)(t,e)):(0,r.n)(t)}},40205:function(t,e,n){"use strict";n.d(e,{_:function(){return r}});var i=n(29856);function r(t,e){return new i.y(e?n=>e.schedule(o,0,{error:t,subscriber:n}):e=>e.error(t))}function o({error:t,subscriber:e}){e.error(t)}},41291:function(t,e,n){"use strict";n.d(e,{H:function(){return l}});var i=n(29856),r=n(33637),o=n(59796);function s(t){return!(0,o.k)(t)&&t-parseFloat(t)+1>=0}var a=n(54869);function l(t=0,e,n){let o=-1;return s(e)?o=Number(e)<1?1:Number(e):(0,a.K)(e)&&(n=e),(0,a.K)(n)||(n=r.P),new i.y(e=>{const i=s(t)?t:+t-n.now();return n.schedule(c,i,{index:0,period:o,subscriber:e})})}function c(t){const{index:e,period:n,subscriber:i}=t;if(i.next(e),!i.closed){if(-1===n)return i.complete();t.index=e+1,this.schedule(t,n)}}},5304:function(t,e,n){"use strict";n.d(e,{K:function(){return r}});var i=n(85345);function r(t){return function(e){const n=new o(t),i=e.lift(n);return n.caught=i}}class o{constructor(t){this.selector=t}call(t,e){return e.subscribe(new s(t,this.selector,this.caught))}}class s extends i.Ds{constructor(t,e,n){super(t),this.selector=e,this.caught=n}error(t){if(!this.isStopped){let n;try{n=this.selector(t,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const r=new i.IY(this);this.add(r);const o=(0,i.ft)(n,r);o!==r&&this.add(o)}}}},94612:function(t,e,n){"use strict";n.d(e,{b:function(){return r}});var i=n(19773);function r(t,e){return(0,i.zg)(t,e,1)}},54395:function(t,e,n){"use strict";n.d(e,{b:function(){return o}});var i=n(77393),r=n(33637);function o(t,e=r.P){return n=>n.lift(new s(t,e))}class s{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 i.L{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(l,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 l(t){t.debouncedNext()}},95242:function(t,e,n){"use strict";n.d(e,{d:function(){return r}});var i=n(77393);function r(t=null){return e=>e.lift(new o(t))}class o{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new s(t,this.defaultValue))}}class s extends i.L{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},87874:function(t,e,n){"use strict";n.d(e,{g:function(){return s}});var i=n(33637),r=n(77393),o=n(23098);function s(t,e=i.P){const n=function(t){return t instanceof Date&&!isNaN(+t)}(t)?+t-e.now():Math.abs(t);return t=>t.lift(new a(n,e))}class a{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new l(t,this.delay,this.scheduler))}}class l extends r.L{constructor(t,e,n){super(t),this.delay=e,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(t){const e=t.source,n=e.queue,i=t.scheduler,r=t.destination;for(;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){const e=Math.max(0,n[0].time-i.now());this.schedule(t,e)}else this.unsubscribe(),e.active=!1}_schedule(t){this.active=!0,this.destination.add(t.schedule(l.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,n=new c(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(o.P.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(o.P.createComplete()),this.unsubscribe()}}class c{constructor(t,e){this.time=t,this.notification=e}}},87519:function(t,e,n){"use strict";n.d(e,{x:function(){return r}});var i=n(77393);function r(t,e){return n=>n.lift(new o(t,e))}class o{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new s(t,this.compare,this.keySelector))}}class s extends i.L{constructor(t,e,n){super(t),this.keySelector=n,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:n}=this;e=n?n(t):t}catch(i){return this.destination.error(i)}let n=!1;if(this.hasKey)try{const{compare:t}=this;n=t(this.key,e)}catch(i){return this.destination.error(i)}else this.hasKey=!0;n||(this.key=e,this.destination.next(t))}}},45435:function(t,e,n){"use strict";n.d(e,{h:function(){return r}});var i=n(77393);function r(t,e){return function(n){return n.lift(new o(t,e))}}class o{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new s(t,this.predicate,this.thisArg))}}class s extends i.L{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)}}},68939:function(t,e,n){"use strict";n.d(e,{x:function(){return o}});var i=n(77393),r=n(59178);function o(t){return e=>e.lift(new s(t))}class s{constructor(t){this.callback=t}call(t,e){return e.subscribe(new a(t,this.callback))}}class a extends i.L{constructor(t,e){super(t),this.add(new r.w(e))}}},28049:function(t,e,n){"use strict";n.d(e,{P:function(){return c}});var i=n(13410),r=n(45435),o=n(15257),s=n(95242),a=n(44635),l=n(54487);function c(t,e){const n=arguments.length>=2;return c=>c.pipe(t?(0,r.h)((e,n)=>t(e,n,c)):l.y,(0,o.q)(1),n?(0,s.d)(e):(0,a.T)(()=>new i.K))}},88002:function(t,e,n){"use strict";n.d(e,{U:function(){return r}});var i=n(77393);function r(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 o(t,e))}}class o{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 i.L{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)}}},63282:function(t,e,n){"use strict";n.d(e,{J:function(){return o}});var i=n(19773),r=n(54487);function o(t=Number.POSITIVE_INFINITY){return(0,i.zg)(r.y,t)}},19773:function(t,e,n){"use strict";n.d(e,{zg:function(){return s}});var i=n(88002),r=n(97968),o=n(85345);function s(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?o=>o.pipe(s((n,o)=>(0,r.D)(t(n,o)).pipe((0,i.U)((t,i)=>e(n,t,o,i))),n)):("number"==typeof e&&(n=e),e=>e.lift(new a(t,n)))}class a{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new l(t,this.project,this.concurrent))}}class l extends o.Ds{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()}}},59328:function(t,e,n){"use strict";n.d(e,{G:function(){return r}});var i=n(77393);function r(){return t=>t.lift(new o)}class o{call(t,e){return e.subscribe(new s(t))}}class s extends i.L{constructor(t){super(t),this.hasPrev=!1}_next(t){let e;this.hasPrev?e=[this.prev,t]:this.hasPrev=!0,this.prev=t,e&&this.destination.next(e)}}},51307:function(t,e,n){"use strict";n.d(e,{x:function(){return r}});var i=n(77393);function r(){return function(t){return t.lift(new o(t))}}class o{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const i=new s(t,n),r=e.subscribe(i);return i.closed||(i.connection=n.connect()),r}}class s extends i.L{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,i=t._connection;this.connection=null,i&&(!n||i===n)&&i.unsubscribe()}}},79196:function(t,e,n){"use strict";n.d(e,{r:function(){return o}});var i=n(77393),r=n(59193);function o(t=-1){return e=>0===t?(0,r.c)():e.lift(new s(t<0?-1:t-1,e))}class s{constructor(t,e){this.count=t,this.source=e}call(t,e){return e.subscribe(new a(t,this.count,this.source))}}class a extends i.L{constructor(t,e,n){super(t),this.count=e,this.source=n}complete(){if(!this.isStopped){const{source:t,count:e}=this;if(0===e)return super.complete();e>-1&&(this.count=e-1),t.subscribe(this._unsubscribeAndRecycle())}}}},72361:function(t,e,n){"use strict";n.d(e,{a:function(){return o}});var i=n(79765),r=n(85345);function o(t){return e=>e.lift(new s(t))}class s{constructor(t){this.notifier=t}call(t,e){return e.subscribe(new a(t,this.notifier,e))}}class a extends r.Ds{constructor(t,e,n){super(t),this.notifier=e,this.source=n,this.sourceIsBeingSubscribedTo=!0}notifyNext(){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)}notifyComplete(){if(!1===this.sourceIsBeingSubscribedTo)return super.complete()}complete(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return super.complete();this._unsubscribeAndRecycle(),this.notifications.next(void 0)}}_unsubscribe(){const{notifications:t,retriesSubscription:e}=this;t&&(t.unsubscribe(),this.notifications=void 0),e&&(e.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0}_unsubscribeAndRecycle(){const{_unsubscribe:t}=this;return this._unsubscribe=null,super._unsubscribeAndRecycle(),this._unsubscribe=t,this}subscribeToRetries(){let t;this.notifications=new i.xQ;try{const{notifier:e}=this;t=e(this.notifications)}catch(e){return super.complete()}this.retries=t,this.retriesSubscription=(0,r.ft)(t,new r.IY(this))}}},9945:function(t,e,n){"use strict";n.d(e,{B:function(){return a}});var i=n(52441);var r=n(51307),o=n(79765);function s(){return new o.xQ}function a(){return t=>(0,r.x)()(function(t,e){return function(e){let n;n="function"==typeof t?t:function(){return t};const r=Object.create(e,i.N);return r.source=e,r.subjectFactory=n,r}}(s)(t))}},47349:function(t,e,n){"use strict";n.d(e,{d:function(){return r}});var i=n(74235);function r(t,e,n){let r;return r=t&&"object"==typeof t?t:{bufferSize:t,windowTime:e,refCount:!1,scheduler:n},t=>t.lift(function({bufferSize:t=Number.POSITIVE_INFINITY,windowTime:e=Number.POSITIVE_INFINITY,refCount:n,scheduler:r}){let o,s,a=0,l=!1,c=!1;return function(u){let h;a++,!o||l?(l=!1,o=new i.t(t,e,r),h=o.subscribe(this),s=u.subscribe({next(t){o.next(t)},error(t){l=!0,o.error(t)},complete(){c=!0,s=void 0,o.complete()}}),c&&(s=void 0)):h=o.subscribe(this),this.add(()=>{a--,h.unsubscribe(),h=void 0,s&&!c&&n&&0===a&&(s.unsubscribe(),s=void 0,o=void 0)})}}(r))}},13653:function(t,e,n){"use strict";n.d(e,{T:function(){return r}});var i=n(77393);function r(t){return e=>e.lift(new o(t))}class o{constructor(t){this.total=t}call(t,e){return e.subscribe(new s(t,this.total))}}class s extends i.L{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}},39761:function(t,e,n){"use strict";n.d(e,{O:function(){return o}});var i=n(22416),r=n(54869);function o(...t){const e=t[t.length-1];return(0,r.K)(e)?(t.pop(),n=>(0,i.z)(t,n,e)):e=>(0,i.z)(t,e)}},43190:function(t,e,n){"use strict";n.d(e,{w:function(){return s}});var i=n(88002),r=n(97968),o=n(85345);function s(t,e){return"function"==typeof e?n=>n.pipe(s((n,o)=>(0,r.D)(t(n,o)).pipe((0,i.U)((t,i)=>e(n,t,o,i))))):e=>e.lift(new a(t))}class a{constructor(t){this.project=t}call(t,e){return e.subscribe(new l(t,this.project))}}class l extends o.Ds{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const n=new o.IY(this),i=this.destination;i.add(n),this.innerSubscription=(0,o.ft)(t,n),this.innerSubscription!==n&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;(!t||t.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}},15257:function(t,e,n){"use strict";n.d(e,{q:function(){return s}});var i=n(77393),r=n(7108),o=n(59193);function s(t){return e=>0===t?(0,o.c)():e.lift(new a(t))}class a{constructor(t){if(this.total=t,this.total<0)throw new r.W}call(t,e){return e.subscribe(new l(t,this.total))}}class l extends i.L{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}},46782:function(t,e,n){"use strict";n.d(e,{R:function(){return r}});var i=n(85345);function r(t){return e=>e.lift(new o(t))}class o{constructor(t){this.notifier=t}call(t,e){const n=new s(t),r=(0,i.ft)(this.notifier,new i.IY(n));return r&&!n.seenValue?(n.add(r),e.subscribe(n)):n}}class s extends i.Ds{constructor(t){super(t),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},68307:function(t,e,n){"use strict";n.d(e,{b:function(){return s}});var i=n(77393),r=n(98640),o=n(69105);function s(t,e,n){return function(i){return i.lift(new a(t,e,n))}}class a{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new l(t,this.nextOrObserver,this.error,this.complete))}}class l extends i.L{constructor(t,e,n,i){super(t),this._tapNext=r.Z,this._tapError=r.Z,this._tapComplete=r.Z,this._tapError=n||r.Z,this._tapComplete=i||r.Z,(0,o.m)(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||r.Z,this._tapError=e.error||r.Z,this._tapComplete=e.complete||r.Z)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}},43219:function(t,e,n){"use strict";n.d(e,{p:function(){return s}});var i=n(77393),r=n(33637);const o={leading:!0,trailing:!1};function s(t,e=r.P,n=o){return i=>i.lift(new a(t,e,n.leading,n.trailing))}class a{constructor(t,e,n,i){this.duration=t,this.scheduler=e,this.leading=n,this.trailing=i}call(t,e){return e.subscribe(new l(t,this.duration,this.scheduler,this.leading,this.trailing))}}class l extends i.L{constructor(t,e,n,i,r){super(t),this.duration=e,this.scheduler=n,this.leading=i,this.trailing=r,this._hasTrailingValue=!1,this._trailingValue=null}_next(t){this.throttled?this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(c,this.duration,{subscriber:this})),this.leading?this.destination.next(t):this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0))}_complete(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()}clearThrottle(){const t=this.throttled;t&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),t.unsubscribe(),this.remove(t),this.throttled=null)}}function c(t){const{subscriber:e}=t;e.clearThrottle()}},44635:function(t,e,n){"use strict";n.d(e,{T:function(){return o}});var i=n(13410),r=n(77393);function o(t=l){return e=>e.lift(new s(t))}class s{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new a(t,this.errorFactory))}}class a extends r.L{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function l(){return new i.K}},57057:function(t,e,n){"use strict";n.d(e,{M:function(){return o}});var i=n(55197),r=n(96563);function o(...t){return e=>{let n;return"function"==typeof t[t.length-1]&&(n=t.pop()),e.lift(new s(t,n))}}class s{constructor(t,e){this.observables=t,this.project=e}call(t,e){return e.subscribe(new a(t,this.observables,this.project))}}class a extends i.L{constructor(t,e,n){super(t),this.observables=e,this.project=n,this.toRespond=[];const i=e.length;this.values=new Array(i);for(let r=0;r0){const t=i.indexOf(n);-1!==t&&i.splice(t,1)}}notifyComplete(){}_next(t){if(0===this.toRespond.length){const e=[t,...this.values];this.project?this._tryProject(e):this.destination.next(e)}}_tryProject(t){let e;try{e=this.project.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},94087:function(t,e,n){"use strict";n.d(e,{r:function(){return o}});var i=n(29856),r=n(59178);function o(t,e){return new i.y(n=>{const i=new r.w;let o=0;return i.add(e.schedule(function(){o!==t.length?(n.next(t[o++]),n.closed||i.add(this.schedule())):n.complete()})),i})}},71023:function(t,e,n){"use strict";n.d(e,{o:function(){return o}});var i=n(59178);class r extends i.w{constructor(t,e){super()}schedule(t,e=0){return this}}class o extends r{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,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,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,i=!1;try{this.work(t)}catch(r){i=!0,n=!!r&&r||new Error(r)}if(i)return this.unsubscribe(),n}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}},69457:function(t,e,n){"use strict";n.d(e,{v:function(){return r}});let i=(()=>{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 r extends i{constructor(t,e=i.now){super(t,()=>r.delegate&&r.delegate!==this?r.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return r.delegate&&r.delegate!==this?r.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}}}},33637:function(t,e,n){"use strict";n.d(e,{P:function(){return r}});var i=n(71023);const r=new(n(69457).v)(i.o)},20377:function(t,e,n){"use strict";n.d(e,{hZ:function(){return i}});const i="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},16554:function(t,e,n){"use strict";n.d(e,{L:function(){return i}});const i="function"==typeof Symbol&&Symbol.observable||"@@observable"},29181:function(t,e,n){"use strict";n.d(e,{b:function(){return i}});const i="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},7108:function(t,e,n){"use strict";n.d(e,{W:function(){return i}});const i=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})()},13410:function(t,e,n){"use strict";n.d(e,{K:function(){return i}});const i=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})()},77971:function(t,e,n){"use strict";n.d(e,{N:function(){return i}});const i=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})()},54449:function(t,e,n){"use strict";function i(t){setTimeout(()=>{throw t},0)}n.d(e,{z:function(){return i}})},54487:function(t,e,n){"use strict";function i(t){return t}n.d(e,{y:function(){return i}})},59796:function(t,e,n){"use strict";n.d(e,{k:function(){return i}});const i=Array.isArray||(t=>t&&"number"==typeof t.length)},69489:function(t,e,n){"use strict";n.d(e,{z:function(){return i}});const i=t=>t&&"number"==typeof t.length&&"function"!=typeof t},69105:function(t,e,n){"use strict";function i(t){return"function"==typeof t}n.d(e,{m:function(){return i}})},81555:function(t,e,n){"use strict";function i(t){return null!==t&&"object"==typeof t}n.d(e,{K:function(){return i}})},95639:function(t,e,n){"use strict";n.d(e,{b:function(){return r}});var i=n(29856);function r(t){return!!t&&(t instanceof i.y||"function"==typeof t.lift&&"function"==typeof t.subscribe)}},44072:function(t,e,n){"use strict";function i(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,{t:function(){return i}})},54869:function(t,e,n){"use strict";function i(t){return t&&"function"==typeof t.schedule}n.d(e,{K:function(){return i}})},98640:function(t,e,n){"use strict";function i(){}n.d(e,{Z:function(){return i}})},34022:function(t,e,n){"use strict";n.d(e,{z:function(){return r},U:function(){return o}});var i=n(54487);function r(...t){return o(t)}function o(t){return 0===t.length?i.y:1===t.length?t[0]:function(e){return t.reduce((t,e)=>e(t),e)}}},98314:function(t,e,n){"use strict";n.d(e,{s:function(){return u}});var i=n(55015),r=n(54449),o=n(20377),s=n(16554),a=n(69489),l=n(44072),c=n(81555);const u=t=>{if(t&&"function"==typeof t[s.L])return(t=>e=>{const n=t[s.L]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)})(t);if((0,a.z)(t))return(0,i.V)(t);if((0,l.t)(t))return(t=>e=>(t.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,r.z),e))(t);if(t&&"function"==typeof t[o.hZ])return(t=>e=>{const n=t[o.hZ]();for(;;){let t;try{t=n.next()}catch(i){return e.error(i),e}if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof n.return&&e.add(()=>{n.return&&n.return()}),e})(t);{const e=`You provided ${(0,c.K)(t)?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(e)}}},55015:function(t,e,n){"use strict";n.d(e,{V:function(){return i}});const i=t=>e=>{for(let n=0,i=t.length;n{class e{constructor(t,e){this._parent=t,this._name=e?e.name||"unnamed":"",this._properties=e&&e.properties||{},this._zoneDelegate=new c(this,this._parent&&this._parent._zoneDelegate,e)}static assertZonePatched(){if(t.Promise!==T.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 t=e.current;for(;t.parent;)t=t.parent;return t}static get current(){return I.zone}static get currentTask(){return D}static __load_patch(r,o,a=!1){if(T.hasOwnProperty(r)){if(!a&&s)throw Error("Already loaded patch: "+r)}else if(!t["__Zone_disable_"+r]){const s="Zone:"+r;n(s),T[r]=o(t,e,A),i(s,s)}}get parent(){return this._parent}get name(){return this._name}get(t){const e=this.getZoneWith(t);if(e)return e._properties[t]}getZoneWith(t){let e=this;for(;e;){if(e._properties.hasOwnProperty(t))return e;e=e._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,e){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const n=this._zoneDelegate.intercept(this,t,e),i=this;return function(){return i.runGuarded(n,this,arguments,e)}}run(t,e,n,i){I={parent:I,zone:this};try{return this._zoneDelegate.invoke(this,t,e,n,i)}finally{I=I.parent}}runGuarded(t,e=null,n,i){I={parent:I,zone:this};try{try{return this._zoneDelegate.invoke(this,t,e,n,i)}catch(r){if(this._zoneDelegate.handleError(this,r))throw r}}finally{I=I.parent}}runTask(t,e,n){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||b).name+"; Execution: "+this.name+")");if(t.state===w&&(t.type===E||t.type===P))return;const i=t.state!=k;i&&t._transitionTo(k,x),t.runCount++;const r=D;D=t,I={parent:I,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,e,n)}catch(o){if(this._zoneDelegate.handleError(this,o))throw o}}finally{t.state!==w&&t.state!==M&&(t.type==E||t.data&&t.data.isPeriodic?i&&t._transitionTo(x,k):(t.runCount=0,this._updateTaskCount(t,-1),i&&t._transitionTo(w,k,w))),I=I.parent,D=r}}scheduleTask(t){if(t.zone&&t.zone!==this){let e=this;for(;e;){if(e===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);e=e.parent}}t._transitionTo(C,w);const e=[];t._zoneDelegates=e,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(n){throw t._transitionTo(M,C,w),this._zoneDelegate.handleError(this,n),n}return t._zoneDelegates===e&&this._updateTaskCount(t,1),t.state==C&&t._transitionTo(x,C),t}scheduleMicroTask(t,e,n,i){return this.scheduleTask(new u(S,t,e,n,i,void 0))}scheduleMacroTask(t,e,n,i,r){return this.scheduleTask(new u(P,t,e,n,i,r))}scheduleEventTask(t,e,n,i,r){return this.scheduleTask(new u(E,t,e,n,i,r))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||b).name+"; Execution: "+this.name+")");t._transitionTo(O,x,k);try{this._zoneDelegate.cancelTask(this,t)}catch(e){throw t._transitionTo(M,O),this._zoneDelegate.handleError(this,e),e}return this._updateTaskCount(t,-1),t._transitionTo(w,O),t.runCount=0,t}_updateTaskCount(t,e){const n=t._zoneDelegates;-1==e&&(t._zoneDelegates=null);for(let i=0;it.hasTask(n,i),onScheduleTask:(t,e,n,i)=>t.scheduleTask(n,i),onInvokeTask:(t,e,n,i,r,o)=>t.invokeTask(n,i,r,o),onCancelTask:(t,e,n,i)=>t.cancelTask(n,i)};class c{constructor(t,e,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=t,this._parentDelegate=e,this._forkZS=n&&(n&&n.onFork?n:e._forkZS),this._forkDlgt=n&&(n.onFork?e:e._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:e._forkCurrZone),this._interceptZS=n&&(n.onIntercept?n:e._interceptZS),this._interceptDlgt=n&&(n.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:e._interceptCurrZone),this._invokeZS=n&&(n.onInvoke?n:e._invokeZS),this._invokeDlgt=n&&(n.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:e._invokeCurrZone),this._handleErrorZS=n&&(n.onHandleError?n:e._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:e._handleErrorCurrZone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:e._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:e._scheduleTaskCurrZone),this._invokeTaskZS=n&&(n.onInvokeTask?n:e._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:e._invokeTaskCurrZone),this._cancelTaskZS=n&&(n.onCancelTask?n:e._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:e._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const i=n&&n.onHasTask;(i||e&&e._hasTaskZS)&&(this._hasTaskZS=i?n:l,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=t,n.onScheduleTask||(this._scheduleTaskZS=l,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=l,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=l,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this.zone))}fork(t,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,t,e):new a(t,e)}intercept(t,e,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,t,e,n):e}invoke(t,e,n,i,r){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,t,e,n,i,r):e.apply(n,i)}handleError(t,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,t,e)}scheduleTask(t,e){let n=e;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,t,e),n||(n=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=S)throw new Error("Task is missing scheduleFn.");_(e)}return n}invokeTask(t,e,n,i){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,t,e,n,i):e.callback.apply(n,i)}cancelTask(t,e){let n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,t,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");n=e.cancelFn(e)}return n}hasTask(t,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,t,e)}catch(n){this.handleError(t,n)}}_updateTaskCount(t,e){const n=this._taskCounts,i=n[t],r=n[t]=i+e;if(r<0)throw new Error("More tasks executed then were scheduled.");0!=i&&0!=r||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:t})}}class u{constructor(e,n,i,r,o,s){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=e,this.source=n,this.data=r,this.scheduleFn=o,this.cancelFn=s,!i)throw new Error("callback is not defined");this.callback=i;const a=this;this.invoke=e===E&&r&&r.useG?u.invokeTask:function(){return u.invokeTask.call(t,a,this,arguments)}}static invokeTask(t,e,n){t||(t=this),N++;try{return t.runCount++,t.zone.runTask(t,e,n)}finally{1==N&&y(),N--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(w,C)}_transitionTo(t,e,n){if(this._state!==e&&this._state!==n)throw new Error(`${this.type} '${this.source}': can not transition to '${t}', expecting state '${e}'${n?" or '"+n+"'":""}, was '${this._state}'.`);this._state=t,t==w&&(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=o("setTimeout"),d=o("Promise"),p=o("then");let f,g=[],m=!1;function v(e){if(f||t[d]&&(f=t[d].resolve(0)),f){let t=f[p];t||(t=f.then),t.call(f,e)}else t[h](e,0)}function _(t){0===N&&0===g.length&&v(y),t&&g.push(t)}function y(){if(!m){for(m=!0;g.length;){const e=g;g=[];for(let n=0;nI,onUnhandledError:L,microtaskDrainDone:L,scheduleMicroTask:_,showUncaughtError:()=>!a[o("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:L,patchMethod:()=>L,bindArguments:()=>[],patchThen:()=>L,patchMacroTask:()=>L,patchEventPrototype:()=>L,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>L,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>L,wrapWithCurrentZone:()=>L,filterProperties:()=>[],attachOriginToPatched:()=>L,_redefineProperty:()=>L,patchCallbacks:()=>L,nativeScheduleMicroTask:v};let I={parent:null,zone:new a(null,null)},D=null,N=0;function L(){}i("Zone","Zone"),t.Zone=a}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);const t=Object.getOwnPropertyDescriptor,e=Object.defineProperty,n=Object.getPrototypeOf,i=Object.create,r=Array.prototype.slice,o="addEventListener",s="removeEventListener",a=Zone.__symbol__(o),l=Zone.__symbol__(s),c="true",u="false",h=Zone.__symbol__("");function d(t,e){return Zone.current.wrap(t,e)}function p(t,e,n,i,r){return Zone.current.scheduleMacroTask(t,e,n,i,r)}const f=Zone.__symbol__,g="undefined"!=typeof window,m=g?window:void 0,v=g&&m||"object"==typeof self&&self||global;function _(t,e){for(let n=t.length-1;n>=0;n--)"function"==typeof t[n]&&(t[n]=d(t[n],e+"_"+n));return t}function y(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&void 0===t.set)}const b="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,w=!("nw"in v)&&void 0!==v.process&&"[object process]"==={}.toString.call(v.process),C=!w&&!b&&!(!g||!m.HTMLElement),x=void 0!==v.process&&"[object process]"==={}.toString.call(v.process)&&!b&&!(!g||!m.HTMLElement),k={},O=function(t){if(!(t=t||v.event))return;let e=k[t.type];e||(e=k[t.type]=f("ON_PROPERTY"+t.type));const n=this||t.target||v,i=n[e];let r;if(C&&n===m&&"error"===t.type){const e=t;r=i&&i.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===r&&t.preventDefault()}else r=i&&i.apply(this,arguments),null!=r&&!r&&t.preventDefault();return r};function M(n,i,r){let o=t(n,i);if(!o&&r&&t(r,i)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const s=f("on"+i+"patched");if(n.hasOwnProperty(s)&&n[s])return;delete o.writable,delete o.value;const a=o.get,l=o.set,c=i.slice(2);let u=k[c];u||(u=k[c]=f("ON_PROPERTY"+c)),o.set=function(t){let e=this;!e&&n===v&&(e=v),e&&("function"==typeof e[u]&&e.removeEventListener(c,O),l&&l.call(e,null),e[u]=t,"function"==typeof t&&e.addEventListener(c,O,!1))},o.get=function(){let t=this;if(!t&&n===v&&(t=v),!t)return null;const e=t[u];if(e)return e;if(a){let e=a.call(this);if(e)return o.set.call(this,e),"function"==typeof t.removeAttribute&&t.removeAttribute(i),e}return null},e(n,i,o),n[s]=!0}function S(t,e,n){if(e)for(let i=0;ifunction(e,i){const o=n(e,i);return o.cbIdx>=0&&"function"==typeof i[o.cbIdx]?p(o.name,i[o.cbIdx],o,r):t.apply(e,i)})}function I(t,e){t[f("OriginalDelegate")]=e}let D=!1,N=!1;function L(){if(D)return N;D=!0;try{const t=m.navigator.userAgent;(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/")||-1!==t.indexOf("Edge/"))&&(N=!0)}catch(t){}return N}Zone.__load_patch("ZoneAwarePromise",(t,e,n)=>{const i=Object.getOwnPropertyDescriptor,r=Object.defineProperty,o=n.symbol,s=[],a=!0===t[o("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],l=o("Promise"),c=o("then");n.onUnhandledError=t=>{if(n.showUncaughtError()){const e=t&&t.rejection;e?console.error("Unhandled Promise rejection:",e instanceof Error?e.message:e,"; Zone:",t.zone.name,"; Task:",t.task&&t.task.source,"; Value:",e,e instanceof Error?e.stack:void 0):console.error(t)}},n.microtaskDrainDone=()=>{for(;s.length;){const e=s.shift();try{e.zone.runGuarded(()=>{throw e.throwOriginal?e.rejection:e})}catch(t){h(t)}}};const u=o("unhandledPromiseRejectionHandler");function h(t){n.onUnhandledError(t);try{const n=e[u];"function"==typeof n&&n.call(this,t)}catch(i){}}function d(t){return t&&t.then}function p(t){return t}function f(t){return I.reject(t)}const g=o("state"),m=o("value"),v=o("finally"),_=o("parentPromiseValue"),y=o("parentPromiseState"),b=null,w=!1;function C(t,e){return n=>{try{O(t,e,n)}catch(i){O(t,!1,i)}}}const x=function(){let t=!1;return function(e){return function(){t||(t=!0,e.apply(null,arguments))}}},k=o("currentTaskTrace");function O(t,i,o){const l=x();if(t===o)throw new TypeError("Promise resolved with itself");if(t[g]===b){let h=null;try{("object"==typeof o||"function"==typeof o)&&(h=o&&o.then)}catch(c){return l(()=>{O(t,!1,c)})(),t}if(i!==w&&o instanceof I&&o.hasOwnProperty(g)&&o.hasOwnProperty(m)&&o[g]!==b)S(o),O(t,o[g],o[m]);else if(i!==w&&"function"==typeof h)try{h.call(o,l(C(t,i)),l(C(t,!1)))}catch(c){l(()=>{O(t,!1,c)})()}else{t[g]=i;const l=t[m];if(t[m]=o,t[v]===v&&!0===i&&(t[g]=t[y],t[m]=t[_]),i===w&&o instanceof Error){const t=e.currentTask&&e.currentTask.data&&e.currentTask.data.__creationTrace__;t&&r(o,k,{configurable:!0,enumerable:!1,writable:!0,value:t})}for(let e=0;e{try{const i=t[m],r=!!n&&v===n[v];r&&(n[_]=i,n[y]=o);const a=e.run(s,void 0,r&&s!==f&&s!==p?[]:[i]);O(n,!0,a)}catch(i){O(n,!1,i)}},n)}const E=function(){},A=t.AggregateError;class I{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(t){return O(new this(null),!0,t)}static reject(t){return O(new this(null),w,t)}static any(t){if(!t||"function"!=typeof t[Symbol.iterator])return Promise.reject(new A([],"All promises were rejected"));const e=[];let n=0;try{for(let i of t)n++,e.push(I.resolve(i))}catch(o){return Promise.reject(new A([],"All promises were rejected"))}if(0===n)return Promise.reject(new A([],"All promises were rejected"));let i=!1;const r=[];return new I((t,o)=>{for(let s=0;s{i||(i=!0,t(e))},t=>{r.push(t),n--,0===n&&(i=!0,o(new A(r,"All promises were rejected")))})})}static race(t){let e,n,i=new this((t,i)=>{e=t,n=i});function r(t){e(t)}function o(t){n(t)}for(let s of t)d(s)||(s=this.resolve(s)),s.then(r,o);return i}static all(t){return I.allWithCallback(t)}static allSettled(t){return(this&&this.prototype instanceof I?this:I).allWithCallback(t,{thenCallback:t=>({status:"fulfilled",value:t}),errorCallback:t=>({status:"rejected",reason:t})})}static allWithCallback(t,e){let n,i,r=new this((t,e)=>{n=t,i=e}),o=2,s=0;const a=[];for(let c of t){d(c)||(c=this.resolve(c));const t=s;try{c.then(i=>{a[t]=e?e.thenCallback(i):i,o--,0===o&&n(a)},r=>{e?(a[t]=e.errorCallback(r),o--,0===o&&n(a)):i(r)})}catch(l){i(l)}o++,s++}return o-=2,0===o&&n(a),r}constructor(t){const e=this;if(!(e instanceof I))throw new Error("Must be an instanceof Promise.");e[g]=b,e[m]=[];try{const n=x();t&&t(n(C(e,!0)),n(C(e,w)))}catch(n){O(e,!1,n)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return I}then(t,n){var i;let r=null===(i=this.constructor)||void 0===i?void 0:i[Symbol.species];(!r||"function"!=typeof r)&&(r=this.constructor||I);const o=new r(E),s=e.current;return this[g]==b?this[m].push(s,o,t,n):P(this,s,o,t,n),o}catch(t){return this.then(null,t)}finally(t){var n;let i=null===(n=this.constructor)||void 0===n?void 0:n[Symbol.species];(!i||"function"!=typeof i)&&(i=I);const r=new i(E);r[v]=v;const o=e.current;return this[g]==b?this[m].push(o,r,t,t):P(this,o,r,t,t),r}}I.resolve=I.resolve,I.reject=I.reject,I.race=I.race,I.all=I.all;const D=t[l]=t.Promise;t.Promise=I;const N=o("thenPatched");function L(t){const e=t.prototype,n=i(e,"then");if(n&&(!1===n.writable||!n.configurable))return;const r=e.then;e[c]=r,t.prototype.then=function(t,e){return new I((t,e)=>{r.call(this,t,e)}).then(t,e)},t[N]=!0}return n.patchThen=L,D&&(L(D),T(t,"fetch",t=>function(t){return function(e,n){let i=t.apply(e,n);if(i instanceof I)return i;let r=i.constructor;return r[N]||L(r),i}}(t))),Promise[e.__symbol__("uncaughtPromiseErrors")]=s,I}),Zone.__load_patch("toString",t=>{const e=Function.prototype.toString,n=f("OriginalDelegate"),i=f("Promise"),r=f("Error"),o=function(){if("function"==typeof this){const o=this[n];if(o)return"function"==typeof o?e.call(o):Object.prototype.toString.call(o);if(this===Promise){const n=t[i];if(n)return e.call(n)}if(this===Error){const n=t[r];if(n)return e.call(n)}}return e.call(this)};o[n]=e,Function.prototype.toString=o;const s=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":s.call(this)}});let z=!1;if("undefined"!=typeof window)try{const t=Object.defineProperty({},"passive",{get:function(){z=!0}});window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(W){z=!1}const F={useG:!0},R={},j={},B=new RegExp("^"+h+"(\\w+)(true|false)$"),V=f("propagationStopped");function $(t,e){const n=(e?e(t):t)+u,i=(e?e(t):t)+c,r=h+n,o=h+i;R[t]={},R[t][u]=r,R[t][c]=o}function Y(t,e,i,r){const a=r&&r.add||o,l=r&&r.rm||s,d=r&&r.listeners||"eventListeners",p=r&&r.rmAll||"removeAllListeners",g=f(a),m="."+a+":",v=function(t,e,n){if(t.isRemoved)return;const i=t.callback;let r;"object"==typeof i&&i.handleEvent&&(t.callback=t=>i.handleEvent(t),t.originalDelegate=i);try{t.invoke(t,e,[n])}catch(s){r=s}const o=t.options;return o&&"object"==typeof o&&o.once&&e[l].call(e,n.type,t.originalDelegate?t.originalDelegate:t.callback,o),r};function _(n,i,r){if(!(i=i||t.event))return;const o=n||i.target||t,s=o[R[i.type][r?c:u]];if(s){const t=[];if(1===s.length){const e=v(s[0],o,i);e&&t.push(e)}else{const e=s.slice();for(let n=0;n{throw i})}}}const y=function(t){return _(this,t,!1)},b=function(t){return _(this,t,!0)};function C(e,i){if(!e)return!1;let r=!0;i&&void 0!==i.useG&&(r=i.useG);const o=i&&i.vh;let s=!0;i&&void 0!==i.chkDup&&(s=i.chkDup);let v=!1;i&&void 0!==i.rt&&(v=i.rt);let _=e;for(;_&&!_.hasOwnProperty(a);)_=n(_);if(!_&&e[a]&&(_=e),!_||_[g])return!1;const C=i&&i.eventNameToString,x={},k=_[g]=_[a],O=_[f(l)]=_[l],M=_[f(d)]=_[d],S=_[f(p)]=_[p];let P;function E(t,e){return!z&&"object"==typeof t&&t?!!t.capture:z&&e?"boolean"==typeof t?{capture:t,passive:!0}:t?"object"==typeof t&&!1!==t.passive?Object.assign(Object.assign({},t),{passive:!0}):t:{passive:!0}:t}i&&i.prepend&&(P=_[f(i.prepend)]=_[i.prepend]);const T=r?function(t){if(!x.isExisting)return k.call(x.target,x.eventName,x.capture?b:y,x.options)}:function(t){return k.call(x.target,x.eventName,t.invoke,x.options)},A=r?function(t){if(!t.isRemoved){const e=R[t.eventName];let n;e&&(n=e[t.capture?c:u]);const i=n&&t.target[n];if(i)for(let r=0;rfunction(e,n){e[V]=!0,t&&t.apply(e,n)})}function U(t,e,n,i,r){const o=Zone.__symbol__(i);if(e[o])return;const s=e[o]=e[i];e[i]=function(o,a,l){return a&&a.prototype&&r.forEach(function(e){const r=`${n}.${i}::`+e,o=a.prototype;try{if(o.hasOwnProperty(e)){const n=t.ObjectGetOwnPropertyDescriptor(o,e);n&&n.value?(n.value=t.wrapWithCurrentZone(n.value,r),t._redefineProperty(a.prototype,e,n)):o[e]&&(o[e]=t.wrapWithCurrentZone(o[e],r))}else o[e]&&(o[e]=t.wrapWithCurrentZone(o[e],r))}catch(s){}}),s.call(e,o,a,l)},t.attachOriginToPatched(e[i],s)}function H(t,e,n){if(!n||0===n.length)return e;const i=n.filter(e=>e.target===t);if(!i||0===i.length)return e;const r=i[0].ignoreProperties;return e.filter(t=>-1===r.indexOf(t))}function G(t,e,n,i){t&&S(t,H(t,e,n),i)}function J(t){return Object.getOwnPropertyNames(t).filter(t=>t.startsWith("on")&&t.length>2).map(t=>t.substring(2))}Zone.__load_patch("util",(n,a,l)=>{const p=J(n);l.patchOnProperties=S,l.patchMethod=T,l.bindArguments=_,l.patchMacroTask=A;const f=a.__symbol__("BLACK_LISTED_EVENTS"),g=a.__symbol__("UNPATCHED_EVENTS");n[g]&&(n[f]=n[g]),n[f]&&(a[f]=a[g]=n[f]),l.patchEventPrototype=q,l.patchEventTarget=Y,l.isIEOrEdge=L,l.ObjectDefineProperty=e,l.ObjectGetOwnPropertyDescriptor=t,l.ObjectCreate=i,l.ArraySlice=r,l.patchClass=E,l.wrapWithCurrentZone=d,l.filterProperties=H,l.attachOriginToPatched=I,l._redefineProperty=Object.defineProperty,l.patchCallbacks=U,l.getGlobalObjects=()=>({globalSources:j,zoneSymbolEventNames:R,eventNames:p,isBrowser:C,isMix:x,isNode:w,TRUE_STR:c,FALSE_STR:u,ZONE_SYMBOL_PREFIX:h,ADD_EVENT_LISTENER_STR:o,REMOVE_EVENT_LISTENER_STR:s})});const X=f("zoneTask");function Q(t,e,n,i){let r=null,o=null;n+=i;const s={};function a(e){const n=e.data;return n.args[0]=function(){return e.invoke.apply(this,arguments)},n.handleId=r.apply(t,n.args),e}function l(e){return o.call(t,e.data.handleId)}r=T(t,e+=i,n=>function(r,o){if("function"==typeof o[0]){const t={isPeriodic:"Interval"===i,delay:"Timeout"===i||"Interval"===i?o[1]||0:void 0,args:o},n=o[0];o[0]=function(){try{return n.apply(this,arguments)}finally{t.isPeriodic||("number"==typeof t.handleId?delete s[t.handleId]:t.handleId&&(t.handleId[X]=null))}};const r=p(e,o[0],t,a,l);if(!r)return r;const c=r.data.handleId;return"number"==typeof c?s[c]=r:c&&(c[X]=r),c&&c.ref&&c.unref&&"function"==typeof c.ref&&"function"==typeof c.unref&&(r.ref=c.ref.bind(c),r.unref=c.unref.bind(c)),"number"==typeof c||c?c:r}return n.apply(t,o)}),o=T(t,n,e=>function(n,i){const r=i[0];let o;"number"==typeof r?o=s[r]:(o=r&&r[X],o||(o=r)),o&&"string"==typeof o.type?"notScheduled"!==o.state&&(o.cancelFn&&o.data.isPeriodic||0===o.runCount)&&("number"==typeof r?delete s[r]:r&&(r[X]=null),o.zone.cancelTask(o)):e.apply(t,i)})}Zone.__load_patch("legacy",t=>{const e=t[Zone.__symbol__("legacyPatch")];e&&e()}),Zone.__load_patch("queueMicrotask",(t,e,n)=>{n.patchMethod(t,"queueMicrotask",t=>function(t,n){e.current.scheduleMicroTask("queueMicrotask",n[0])})}),Zone.__load_patch("timers",t=>{const e="clear";Q(t,"set",e,"Timeout"),Q(t,"set",e,"Interval"),Q(t,"set",e,"Immediate")}),Zone.__load_patch("requestAnimationFrame",t=>{Q(t,"request","cancel","AnimationFrame"),Q(t,"mozRequest","mozCancel","AnimationFrame"),Q(t,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(t,e)=>{const n=["alert","prompt","confirm"];for(let i=0;ifunction(i,o){return e.current.run(n,t,o,r)})}),Zone.__load_patch("EventTarget",(t,e,n)=>{(function(t,e){e.patchEventPrototype(t,e)})(t,n),function(t,e){if(Zone[e.symbol("patchEventTarget")])return;const{eventNames:n,zoneSymbolEventNames:i,TRUE_STR:r,FALSE_STR:o,ZONE_SYMBOL_PREFIX:s}=e.getGlobalObjects();for(let l=0;l{E("MutationObserver"),E("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(t,e,n)=>{E("IntersectionObserver")}),Zone.__load_patch("FileReader",(t,e,n)=>{E("FileReader")}),Zone.__load_patch("on_property",(t,e,i)=>{!function(t,e){if(w&&!x||Zone[t.symbol("patchEvents")])return;const i=e.__Zone_ignore_on_properties;let r=[];if(C){const e=window;r=r.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const o=function(){try{const t=m.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch(t){}return!1}()?[{target:e,ignoreProperties:["error"]}]:[];G(e,J(e),i&&i.concat(o),n(e))}r=r.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let n=0;n{!function(t,e){const{isBrowser:n,isMix:i}=e.getGlobalObjects();(n||i)&&t.customElements&&"customElements"in t&&e.patchCallbacks(e,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(t,n)}),Zone.__load_patch("XHR",(t,e)=>{!function(t){const u=t.XMLHttpRequest;if(!u)return;const h=u.prototype;let d=h[a],g=h[l];if(!d){const e=t.XMLHttpRequestEventTarget;if(e){const t=e.prototype;d=t[a],g=t[l]}}const m="readystatechange",v="scheduled";function _(t){const i=t.data,s=i.target;s[o]=!1,s[c]=!1;const u=s[r];d||(d=s[a],g=s[l]),u&&g.call(s,m,u);const h=s[r]=()=>{if(s.readyState===s.DONE)if(!i.aborted&&s[o]&&t.state===v){const n=s[e.__symbol__("loadfalse")];if(0!==s.status&&n&&n.length>0){const r=t.invoke;t.invoke=function(){const n=s[e.__symbol__("loadfalse")];for(let e=0;efunction(t,e){return t[i]=0==e[2],t[s]=e[1],w.apply(t,e)}),C=f("fetchTaskAborting"),x=f("fetchTaskScheduling"),k=T(h,"send",()=>function(t,n){if(!0===e.current[x]||t[i])return k.apply(t,n);{const e={target:t,url:t[s],isPeriodic:!1,args:n,aborted:!1},i=p("XMLHttpRequest.send",y,e,_,b);t&&!0===t[c]&&!e.aborted&&i.state===v&&i.invoke()}}),O=T(h,"abort",()=>function(t,i){const r=function(t){return t[n]}(t);if(r&&"string"==typeof r.type){if(null==r.cancelFn||r.data&&r.data.aborted)return;r.zone.cancelTask(r)}else if(!0===e.current[C])return O.apply(t,i)})}(t);const n=f("xhrTask"),i=f("xhrSync"),r=f("xhrListener"),o=f("xhrScheduled"),s=f("xhrURL"),c=f("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function(e,n){const i=e.constructor.name;for(let r=0;r{const e=function(){return t.apply(this,_(arguments,i+"."+o))};return I(e,t),e})(s)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(t,e)=>{function n(e){return function(n){Z(t,e).forEach(i=>{const r=t.PromiseRejectionEvent;if(r){const t=new r(e,{promise:n.promise,reason:n.rejection});i.invoke(t)}})}}t.PromiseRejectionEvent&&(e[f("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),e[f("rejectionHandledHandler")]=n("rejectionhandled"))})},52494:function(t,e,n){"use strict";n.d(e,{ro:function(){return i.r},U5:function(){return o}}),n(49510);var i=n(47258),r=n(74788);let o=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})();n(40635)},49510:function(t,e,n){"use strict";n.d(e,{F:function(){return s}});var i=n(87862),r=n(76991),o=n(74788);let s=(()=>{class t{constructor(t){this.accessor=t,this.maskito=r.A_;const e=t.writeValue.bind(t);t.writeValue=t=>{var n;e((0,r.CV)(String(null!=t?t:""),null!==(n=this.maskito)&&void 0!==n?n:r.A_))}}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(i.Fj))},t.\u0275dir=o.lG2({type:t,selectors:[["input","maskito",""],["textarea","maskito",""]],hostBindings:function(t,e){1&t&&o.NdJ("input",function(t){return e.accessor._handleInput(t.target.value)})("blur",function(){return e.accessor.onTouched()})("compositionstart",function(){return e.accessor._compositionStart()})("compositionend",function(t){return e.accessor._compositionEnd(t.target.value)})},inputs:{maskito:"maskito"},features:[o._Bn([i.Fj,{provide:i.JU,multi:!0,useExisting:i.Fj}])]}),t})()},47258:function(t,e,n){"use strict";n.d(e,{r:function(){return s}});var i=n(97582),r=n(74788),o=n(76991);let s=(()=>{class t{constructor(t,e){this.ngZone=t,this.elementRef=e,this.maskedElement=null,this.maskito=o.A_,this.maskitoElement=o.gI}ngOnChanges(){var t;return(0,i.mG)(this,void 0,void 0,function*(){null===(t=this.maskedElement)||void 0===t||t.destroy();const e=this.maskitoElement,n=yield e(this.elementRef.nativeElement);this.maskitoElement===e&&this.ngZone.runOutsideAngular(()=>{var t;this.maskedElement=new o.C8(n,null!==(t=this.maskito)&&void 0!==t?t:o.A_)})})}ngOnDestroy(){var t;null===(t=this.maskedElement)||void 0===t||t.destroy()}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.R0b),r.Y36(r.SBq))},t.\u0275dir=r.lG2({type:t,selectors:[["","maskito",""]],inputs:{maskito:"maskito",maskitoElement:"maskitoElement"},features:[r.TTD]}),t})()},40635:function(t,e,n){"use strict";n.d(e,{c:function(){return o}});var i=n(76991),r=n(74788);let o=(()=>{class t{transform(t,e){return(0,i.CV)(String(null!=t?t:""),null!=e?e:i.A_)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Yjl({name:"maskito",type:t,pure:!0}),t})()},76991:function(t,e,n){"use strict";n.d(e,{gI:function(){return i},A_:function(){return r},C8:function(){return w},CV:function(){return b}});const i=t=>t.querySelector("input,textarea")||t,r={mask:/^.*$/,preprocessors:[],postprocessors:[],plugins:[],overwriteMode:"shift"};function o(t){return"string"==typeof t}function s(t,e,n,i){let r="";for(let s=e.length;s{const i=e[n];return o(i)?t===i:t.match(i)}):e.test(t)}function l(t,e,n=null){if(a(t.value,e))return t;const{value:i,selection:r}=Array.isArray(e)?function(t,e,n){let i=null,r=null;const l=Array.from(t.value).reduce((a,l,c)=>{const u=a+s(e,a,l,n),h=e[u.length];return o(h)?u+h:l.match(h)?(null===i&&c>=t.selection[0]&&(i=u.length),null===r&&c>=t.selection[1]&&(r=u.length),u+l):u},""),c=s(e,l,"",n);return{value:a(l+c,e)?l+c:l,selection:[null!=i?i:l.length,null!=r?r:l.length]}}(t,e,n):function({value:t,selection:e},n){const[i,r]=e;let o=i,s=r;return{value:Array.from(t).reduce((t,e,a)=>{const l=t+e;return i===a&&(o=t.length),r===a&&(s=t.length),l.match(n)?l:t},""),selection:[o,s]}}(t,e);return{selection:r,value:Array.isArray(e)?i.slice(0,e.length):i}}function c(t,e){if(!Array.isArray(e))return t;const[n,i]=t.selection,r=[],s=Array.from(t.value).reduce((t,s,a)=>{const l=e[a];return a===n&&r.push(t.length),a===i&&r.push(t.length),o(l)&&l===s?t:t+s},"");return r.length<2&&r.push(...new Array(2-r.length).fill(s.length)),{value:s,selection:[r[0],r[1]]}}class u{constructor(t,e){this.initialElementState=t,this.maskOptions=e,this.value="",this.selection=[0,0];const{value:n,selection:i}=l(t,this.getMaskExpression(t));this.value=n,this.selection=i}addCharacters([t,e],n){const{value:i}=this,r=this.getMaskExpression({value:i.slice(0,t)+n+i.slice(e),selection:[t+n.length,t+n.length]}),o={value:i,selection:[t,e]},s=c(o,r),[a,u]=function({value:t,selection:e},n,i){const[r,o]=e;return{value:t,selection:"replace"===("function"==typeof i?i({value:t,selection:e}):i)?[r,r+n.length]:[r,o]}}(s,n,this.maskOptions.overwriteMode).selection,h=s.value.slice(0,a)+n,d=h.length,p=l({value:h+s.value.slice(u),selection:[d,d]},r,o);if(i.slice(0,a)===l({value:h,selection:[d,d]},r,o).value||function(t,...e){return e.every(({value:e,selection:n})=>e===t.value&&n[0]===t.selection[0]&&n[1]===t.selection[1])}(this,p))throw new Error("Invalid mask value");this.value=p.value,this.selection=p.selection}deleteCharacters([t,e]){if(t===e||!e)return;const{value:n}=this,i=this.getMaskExpression({value:n.slice(0,t)+n.slice(e),selection:[t,t]}),r={value:n,selection:[t,e]},o=c(r,i),[s,a]=o.selection,u=l({value:o.value.slice(0,s)+o.value.slice(a),selection:[s,s]},i,r);this.value=u.value,this.selection=u.selection}getMaskExpression(t){const{mask:e}=this.maskOptions;return"function"==typeof e?e(t):e}}class h{constructor(t){this.element=t,this.listeners=[]}listen(t,e,n){const i=e;this.element.addEventListener(t,i,n),this.listeners.push(()=>this.element.removeEventListener(t,i))}destroy(){this.listeners.forEach(t=>t())}}function d(t,e,n){return t.ctrlKey===!!(1&e)&&t.altKey===!!(2&e)&&t.shiftKey===!!(4&e)&&t.metaKey===!!(8&e)&&t.keyCode===n}function p({value:t,selection:e},n){const[i,r]=e;if(i!==r)return[i,r];const o=n?t.slice(i).indexOf("\n")+1||t.length:t.slice(0,r).lastIndexOf("\n")+1;return[n?i:o,n?o:r]}function f({value:t,selection:e},n){const[i,r]=e;return i!==r?[i,r]:(n?[i,r+1]:[i-1,r]).map(e=>Math.min(Math.max(e,0),t.length))}const g=/\s+$/g,m=/^\s+/g,v=/\s/;function _({value:t,selection:e},n){const[i,r]=e;if(i!==r)return[i,r];if(n){const e=t.slice(i),[n]=e.match(m)||[""],r=e.replace(m,"").search(v);return[i,-1!==r?i+n.length+r:t.length]}const o=t.slice(0,r),[s]=o.match(g)||[""],a=o.replace(g,"").split("").reverse().findIndex(t=>t.match(v));return[-1!==a?r-s.length-a:0,r]}function y(t=[]){return(e,...n)=>t.reduce((t,e)=>Object.assign(Object.assign({},t),e(t,...n)),e)}function b(t,e){const n=Object.assign(Object.assign({},r),e),i=y(n.preprocessors),o=y(n.postprocessors),s="string"==typeof t?{value:t,selection:[0,0]}:t,{elementState:a}=i({elementState:s,data:""},"validation"),l=new u(a,n),{value:c,selection:h}=o(l,s);return"string"==typeof t?c:{value:c,selection:h}}class w extends class{constructor(){this.now=null,this.past=[],this.future=[]}undo(){const t=this.past.pop();t&&this.now&&(this.future.push(this.now),this.updateElement(t,"historyUndo"))}redo(){const t=this.future.pop();t&&this.now&&(this.past.push(this.now),this.updateElement(t,"historyRedo"))}updateHistory(t){if(!this.now)return void(this.now=t);const e=this.now.value!==t.value,n=this.now.selection.some((e,n)=>e!==t.selection[n]);!e&&!n||(e&&(this.past.push(this.now),this.future=[]),this.now=t)}updateElement(t,e){this.now=t,this.updateElementState(t,{inputType:e,data:null})}}{constructor(t,e){super(),this.element=t,this.maskitoOptions=e,this.isTextArea="TEXTAREA"===this.element.nodeName,this.eventListener=new h(this.element),this.options=Object.assign(Object.assign({},r),this.maskitoOptions),this.preprocessor=y(this.options.preprocessors),this.postprocessor=y(this.options.postprocessors),this.teardowns=this.options.plugins.map(t=>t(this.element,this.options)),this.ensureValueFitsMask(),this.updateHistory(this.elementState),this.eventListener.listen("keydown",t=>{return d(e=t,1,89)||d(e,5,90)||d(e,12,90)?(t.preventDefault(),this.redo()):function(t){return d(t,1,90)||d(t,8,90)}(t)?(t.preventDefault(),this.undo()):void 0;var e}),"onbeforeinput"in t?this.eventListener.listen("beforeinput",t=>{const e=t.inputType.includes("Forward");switch(this.updateHistory(this.elementState),t.inputType){case"historyUndo":return t.preventDefault(),this.undo();case"historyRedo":return t.preventDefault(),this.redo();case"deleteByCut":case"deleteContentBackward":case"deleteContentForward":return this.handleDelete({event:t,isForward:e,selection:f(this.elementState,e)});case"deleteWordForward":case"deleteWordBackward":return this.handleDelete({event:t,isForward:e,selection:_(this.elementState,e),force:!0});case"deleteSoftLineBackward":case"deleteSoftLineForward":case"deleteHardLineBackward":case"deleteHardLineForward":return this.handleDelete({event:t,isForward:e,selection:p(this.elementState,e),force:!0});case"insertCompositionText":return;case"insertLineBreak":return this.handleEnter(t);default:return this.handleInsert(t,t.data||"")}}):(this.eventListener.listen("keydown",t=>this.handleKeydown(t)),this.eventListener.listen("paste",t=>{var e;return this.handleInsert(t,(null===(e=t.clipboardData)||void 0===e?void 0:e.getData("text/plain"))||"")})),this.eventListener.listen("input",({inputType:t})=>{"insertCompositionText"!==t&&(this.ensureValueFitsMask(),this.updateHistory(this.elementState))}),this.eventListener.listen("compositionend",()=>{this.ensureValueFitsMask(),this.updateHistory(this.elementState)})}get elementState(){const{value:t,selectionStart:e,selectionEnd:n}=this.element;return{value:t,selection:[e||0,n||0]}}get maxLength(){const{maxLength:t}=this.element;return-1===t?1/0:t}destroy(){this.eventListener.destroy(),this.teardowns.forEach(t=>null==t?void 0:t())}updateElementState({value:t,selection:e},n={inputType:"insertText",data:null}){const i=this.elementState.value;this.updateValue(t),this.updateSelectionRange(e),i!==t&&this.dispatchInputEvent(n)}updateSelectionRange([t,e]){var n,i;(this.element.selectionStart!==t||this.element.selectionEnd!==e)&&(null===(i=(n=this.element).setSelectionRange)||void 0===i||i.call(n,t,e))}updateValue(t){this.element.value=t}ensureValueFitsMask(){this.updateElementState(b(this.elementState,this.options))}dispatchInputEvent(t={inputType:"insertText",data:null}){const e="undefined"!=typeof window?window:globalThis;(null==e?void 0:e.InputEvent)&&this.element.dispatchEvent(new InputEvent("input",Object.assign(Object.assign({},t),{bubbles:!0,cancelable:!1})))}handleKeydown(t){const e=t.key,n="Delete"===e;switch(e){case"Backspace":case"Delete":return this.handleDelete({event:t,isForward:n,selection:f(this.elementState,n)});case"Enter":return this.handleEnter(t)}!function({key:t,ctrlKey:e,metaKey:n,altKey:i}){const r=e||n||i,o=/^.$/u.test(t);return!r&&"Backspace"!==t&&o}(t)||this.handleInsert(t,e)}handleDelete({event:t,selection:e,isForward:n,force:i=!1}){const r={value:this.elementState.value,selection:e},[o,s]=r.selection,{elementState:a}=this.preprocessor({elementState:r,data:""},n?"deleteForward":"deleteBackward"),l=new u(a,this.options),[c,h]=a.selection;l.deleteCharacters([c,h]);const d=this.postprocessor(l,r);if(r.value.slice(0,o)+r.value.slice(s)!==d.value||i)return t.preventDefault(),function(t,...e){return e.every(({value:e})=>e===t.value)}(r,a,l,d)?this.updateSelectionRange(n?[h,h]:[c,c]):(this.updateElementState(d,{inputType:"inputType"in t?t.inputType:n?"deleteContentForward":"deleteContentBackward",data:null}),void this.updateHistory(d))}handleInsert(t,e){const n=this.elementState,{elementState:i,data:r=e}=this.preprocessor({data:e,elementState:n},"insert"),o=new u(i,this.options);try{o.addCharacters(i.selection,r)}catch(h){return t.preventDefault()}const[s,a]=i.selection,l=i.value.slice(0,s)+e+i.value.slice(a),c=this.postprocessor(o,n);if(c.value.length>this.maxLength)return t.preventDefault();l!==c.value&&(t.preventDefault(),this.updateElementState(c,{data:e,inputType:"inputType"in t?t.inputType:"insertText"}),this.updateHistory(c))}handleEnter(t){this.isTextArea&&this.handleInsert(t,"\n")}}},14707:function(t,e,n){"use strict";n.d(e,{C:function(){return i}});var i=(()=>{return(t=i||(i={})).MaskitoOptions="mask",t.JavaScript="JavaScript",t.Angular="Angular",t.React="React",t.Vue="Vue",i;var t})()},56791:function(t,e,n){"use strict";var i=n(91211),r=(n(7400),n(58497)),o=n(74788),s=n(56083),a=n(79221),l=n(12057);let c=(()=>{class t extends s._j{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:o.ifc.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?(0,s.vP)(t):t;return d(this._renderer,null,e,"register",[n]),new u(e,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(o.FYo),o.LFG(l.K0))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t})();class u extends s.LC{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new h(this._id,t,e||{},this._renderer)}}class h{constructor(t,e,n,i){this.id=t,this.element=e,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return d(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){var t,e;return null!==(e=null===(t=this._renderer.engine.players[+this.id])||void 0===t?void 0:t.getPosition())&&void 0!==e?e:0}}function d(t,e,n,i,r){return t.setProperty(e,`@@${n}:${i}`,r)}const p="@",f="@.disabled";let g=(()=>{class t{constructor(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=(t,e)=>{e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}createRenderer(t,e){const n=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(n);return t||(t=new m("",n,this.engine),this._rendererCache.set(n,t)),t}const i=e.id,r=e.id+"-"+this._currentId;this._currentId++,this.engine.register(r,t);const o=e=>{Array.isArray(e)?e.forEach(o):this.engine.registerTrigger(i,r,t,e.name,e)};return e.data.animation.forEach(o),new v(this,r,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,n){t>=0&&te(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(t=>{const[e,n]=t;e(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(o.FYo),o.LFG(a.Th),o.LFG(o.R0b))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t})();class m{constructor(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?t=>e.destroyNode(t):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,n,i=!0){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,i)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,i){this.delegate.setAttribute(t,e,n,i)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,i){this.delegate.setStyle(t,e,n,i)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){e.charAt(0)==p&&e==f?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n){return this.delegate.listen(t,e,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class v extends m{constructor(t,e,n,i){super(e,n,i),this.factory=t,this.namespaceId=e}setProperty(t,e,n){e.charAt(0)==p?"."==e.charAt(1)&&e==f?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if(e.charAt(0)==p){const i=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let r=e.substr(1),o="";return r.charAt(0)!=p&&([r,o]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(r)),this.engine.listen(this.namespaceId,i,r,o,t=>{this.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}let _=(()=>{class t extends a.Th{constructor(t,e,n){super(t.body,e,n)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(l.K0),o.LFG(a.Vi),o.LFG(a.NH))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t})();const y=new o.OlP("AnimationModuleType"),b=[{provide:s._j,useClass:c},{provide:a.NH,useFactory:function(){return new a.Ar}},{provide:a.Th,useClass:_},{provide:o.FYo,useFactory:function(t,e,n){return new g(t,e,n)},deps:[i.se,a.Th,o.R0b]}],w=[{provide:a.Vi,useFactory:function(){return(0,a.QN)()?new a.DT:new a.uL}},{provide:y,useValue:"BrowserAnimations"},...b],C=[{provide:a.Vi,useClass:a.nV},{provide:y,useValue:"NoopAnimations"},...b];let x=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?C:w}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({providers:w,imports:[i.b2]}),t})();var k=n(68159),O=n(82847),M=n(75452),S=n(76715),P=n(32960),E=n(79456),T=n(23358),A=n.n(T);const I=new o.OlP("Config for DOMPurify",{factory:()=>({}),providedIn:"root"}),D=new o.OlP("Hooks for DOMPurify",{factory:()=>[],providedIn:"root"}),N=new o.OlP("A function that sanitizes value for a CSS rule",{factory:()=>t=>t,providedIn:"root"}),L=A();let z=(()=>{class t{constructor(t,e,{defaultView:n},i){this.config=t,this.sanitizeStyle=e,this.domPurify=L(n),i.forEach(({name:t,hook:e})=>{this.domPurify.addHook(t,e)})}sanitize(t,e,n=this.config){if(t===o.q3G.SCRIPT)throw new Error("DOMPurify does not support SCRIPT context");return t===o.q3G.STYLE?this.sanitizeStyle(String(e)):this.domPurify.sanitize(String(e||""),n)}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(I),o.LFG(N),o.LFG(l.K0),o.LFG(D))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var F=n(86561);let R=(()=>{class t{constructor(){this.stackblitzStarterPath="/stackblitz"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["my-app"]],features:[o._Bn([{provide:E.hm,useClass:z}])],decls:5,vars:1,consts:[["ngProjectAs","tuiDocHeader",5,["tuiDocHeader"]],["href","https://github.com/taiga-family/maskito","icon","assets/icons/github.svg","iconAlign","left","rel","noreferrer","target","_blank","title","Maskito source code on GitHub","tuiLink","","tuiMode","onLight",1,"link"],["href","https://t.me/taiga_ui/10600","icon","assets/icons/telegram.svg","iconAlign","left","rel","noreferrer","target","_blank","title","Get help on Telegram","tuiLink","","tuiMode","onLight",1,"link"],["icon","assets/icons/stackblitz.svg","iconAlign","left","title","Maskito StackBlitz Starter","tuiLink","","tuiMode","onLight",1,"link",3,"routerLink"]],template:function(t,e){1&t&&(o.TgZ(0,"tui-doc-main"),o.ynx(1,0),o._UZ(2,"a",1),o._UZ(3,"a",2),o._UZ(4,"a",3),o.BQk(),o.qZA()),2&t&&(o.xp6(4),o.Q6J("routerLink",e.stackblitzStarterPath))},directives:[k.$5,O.V,M.w,F.yS],styles:["[_nghost-%COMP%]{font:var(--tui-font-text-m);color:var(--tui-text-01)}.link[_ngcontent-%COMP%]{margin-left:1rem}"],changeDetection:0}),t})();var j=n(97582),B=n(14707),V=n(64548),$=n(67545),Y=n(89570),Z=n(54789);const q=new Y.Al((()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["angular-logo"]],decls:1,vars:0,consts:[["src","assets/icons/angular.svg"]],template:function(t,e){1&t&&o._UZ(0,"tui-svg",0)},directives:[Z.PN],encapsulation:2,changeDetection:0}),t})());let U=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[Z.EI]]}),t})();const H=new Y.Al((()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["javascript-logo"]],decls:1,vars:0,consts:[["src","assets/icons/javascript.svg"]],template:function(t,e){1&t&&o._UZ(0,"tui-svg",0)},directives:[Z.PN],encapsulation:2,changeDetection:0}),t})()),G=new Y.Al((()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["react-logo"]],decls:1,vars:0,consts:[["src","assets/icons/react.svg"]],template:function(t,e){1&t&&o._UZ(0,"tui-svg",0)},directives:[Z.PN],encapsulation:2,changeDetection:0}),t})()),J=new Y.Al((()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["vue-logo"]],decls:1,vars:0,consts:[["src","assets/icons/vue.svg"]],template:function(t,e){1&t&&o._UZ(0,"tui-svg",0)},directives:[Z.PN],encapsulation:2,changeDetection:0}),t})()),X=new Y.Al((()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["logo"]],decls:5,vars:0,consts:[["routerLink","/","tuiLink","",1,"logo-link"],[1,"logo-name"],["alt","Maskito logo","src","assets/icons/maskito.svg",1,"logo"],["alt","by Tinkoff","src","assets/icons/by.svg",1,"by"]],template:function(t,e){1&t&&(o.TgZ(0,"a",0),o.TgZ(1,"span",1),o._UZ(2,"img",2),o._uU(3," Maskito "),o.qZA(),o.qZA(),o._UZ(4,"img",3))},directives:[F.yS,O.V],styles:["[_nghost-%COMP%]{display:flex;align-items:center}[_nghost-%COMP%] tui-root._mobile[_nghost-%COMP%], tui-root._mobile [_nghost-%COMP%]{font-size:0}.logo-link[_ngcontent-%COMP%]{display:flex}.logo-name[_ngcontent-%COMP%]{display:flex;color:var(--tui-text-01)}.logo[_ngcontent-%COMP%]{margin-right:.625rem}.by[_ngcontent-%COMP%]{margin-left:.875rem}tui-root._mobile[_nghost-%COMP%] .by[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .by[_ngcontent-%COMP%]{display:none}"],changeDetection:0}),t})()),Q=[{provide:l.S$,useClass:l.b0},{provide:V.Yx,useValue:"Maskito | "},{provide:V.Or,useValue:X},{provide:V.AC,useValue:["Description and examples","API"]},{provide:V.V5,useValue:[{section:"Getting started",title:"What is Maskito?",route:"getting-started/what-is-maskito",keywords:"getting, started, what, is, maskito"},{section:"Getting started",title:"Maskito libraries",route:"getting-started/maskito-libraries",keywords:"install, package, packages, maskito, npm, setup, explore, ecosystem"},{section:"Core concepts",title:"Overview",route:"core-concepts/overview",keywords:"core, concepts, overview"},{section:"Core concepts",title:"Mask expression",route:"core-concepts/mask-expression",keywords:"core, concepts, mask, expression, reg, exp, fixed"},{section:"Core concepts",title:"Element state",route:"core-concepts/element-state",keywords:"core, concepts, element, state"},{section:"Core concepts",title:"Processors",route:"core-concepts/processors",keywords:"core, concepts, preprocessor, postprocessor, processor, element, state, elementState"},{section:"Core concepts",title:"Plugins",route:"core-concepts/plugins",keywords:"core, concepts, extension, event, focus, blur"},{section:"Core concepts",title:"Overwrite mode",route:"core-concepts/overwrite-mode",keywords:"core, concepts, overwrite, mode, shift, replace"},{section:"Core concepts",title:"Transformer",route:"core-concepts/transformer",keywords:"core, concepts, programmatic, patch, set, update, value"},{section:"Frameworks",title:"Angular",route:"frameworks/angular",keywords:"ng, angular, framework, addon"},{section:"Frameworks",title:"React",route:"frameworks/react",keywords:"react, framework, addon"},{section:"Frameworks",title:"Vue",route:"frameworks/vue",keywords:"vue, framework, addon"},{section:"Kit",title:"Number",route:"kit/number",keywords:"digit, number, money, mask, kit, generator"},{section:"Kit",title:"Time",route:"kit/time",keywords:"time, hour, minute, second, mask, kit, generator"},{section:"Kit",title:"Date",route:"kit/date",keywords:"date, day, month, year, mask, kit, generator"},{section:"Kit",title:"DateRange",route:"kit/date-range",keywords:"date, day, month, year, mask, range, kit, generator"},{section:"Kit",title:"DateTime",route:"kit/date-time",keywords:"date, day, month, year, mask, time, date-time, hour, minute, second, kit, generator"},{section:"Addons",title:"@maskito/phone",route:"addons/phone",keywords:"phone, libphonenumber, international, generator"},{section:"Recipes",title:"Card",route:"recipes/card",keywords:"card, credit, cvv, debit, mask, recipe"},{section:"Recipes",title:"Phone",route:"recipes/phone",keywords:"phone, mobile, tel, telephone, mask, recipe"},{section:"Recipes",title:"Textarea",route:"recipes/textarea",keywords:"textarea, latin, mask, recipe"},{section:"Recipes",title:"With prefix",route:"recipes/prefix",keywords:"prefix, before, recipe"},{section:"Recipes",title:"With postfix",route:"recipes/postfix",keywords:"postfix, after, percent, am, pm, recipe"},{section:"Recipes",title:"With placeholder",route:"recipes/placeholder",keywords:"guide, placeholder, fill, recipe"},{section:"Other",title:"Browser support",route:"browser-support",keywords:"chrome, safari, ie, edge, firefox, browser, support"},{section:"Other",title:"Changelog",route:"changelog",keywords:"changelog, release, version, history"}]},{provide:V.yO,useValue:t=>{const e="https://github.com/taiga-family/maskito/tree/main/projects";return t.path?`${e}/${t.path}`:t.package&&"kit"===t.package.toLowerCase()?`${e}/${t.package.toLowerCase()}/src/lib/masks/${(t.header[0].toLowerCase()+t.header.slice(1)).replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}`:null}},{provide:V.lW,useClass:P.StackblitzService},{provide:V.$_,useValue:t=>{const e=Object.keys(t);return 1===e.length&&e[0]===B.C.MaskitoOptions?Object.assign(Object.assign({},t),{[B.C.JavaScript]:"import {Maskito, MaskitoOptions} from '@maskito/core';\nimport maskitoOptions from './mask';\n\nconst element = document.querySelector('input,textarea')!;\nconst maskedInput = new Maskito(element, maskitoOptions);\n\n// Call this function when the element is detached from DOM\nmaskedInput.destroy();",[B.C.Angular]:"import {Component} from '@angular/core';\nimport {MaskitoModule} from '@maskito/angular';\nimport type {MaskitoOptions} from '@maskito/core';\n\nimport mask from './mask';\n\n@Component({\n selector: 'my-app',\n standalone: true,\n imports: [MaskitoModule],\n template: '',\n})\nexport class App {\n readonly options: MaskitoOptions = mask;\n}",[B.C.React]:"import * as React from 'react';\nimport {useMaskito} from '@maskito/react';\n\nimport options from './mask';\n\nexport default function App() {\n const maskedInputRef = useMaskito({options});\n\n return ;\n}",[B.C.Vue]:"import {createApp} from 'vue';\nimport {maskito} from '@maskito/vue';\n\nimport options from './mask';\n\nconst app = createApp({\n template: '',\n directives: {maskito},\n data: () => ({ options }),\n});"}):t}},(0,k.hs)({codeEditorVisibilityHandler:t=>{const e=Object.keys(t);return e.includes(B.C.MaskitoOptions)&&e.includes(B.C.JavaScript)},tabTitles:new Map([[B.C.JavaScript,H],[B.C.Angular,q],[B.C.React,G],[B.C.Vue,J]])}),{provide:$.rN,useFactory:()=>{const t=(0,l.NF)((0,o.f3M)(o.Lbi));return{coreLibraryLoader:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return n.e(9358).then(n.bind(n,29358))}),lineNumbersLoader:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return t?n.e(9022).then(n.t.bind(n,89022,23)):Promise.resolve()}),languages:{typescript:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return n.e(3377).then(n.bind(n,63377))}),less:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return n.e(4249).then(n.bind(n,94249))}),xml:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return n.e(3088).then(n.bind(n,83088))})}}}}],W=[{path:"getting-started/what-is-maskito",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return Promise.all([n.e(8592),n.e(3820)]).then(n.bind(n,43820)).then(t=>t.WhatIsMaskitoDocPageModule)}),data:{title:"What is Maskito?"}},{path:"getting-started/maskito-libraries",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return n.e(439).then(n.bind(n,70439)).then(t=>t.MaskitoLibrariesDocPageModule)}),data:{title:"Maskito libraries"}},{path:"core-concepts/overview",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return Promise.all([n.e(8592),n.e(8642)]).then(n.bind(n,8642)).then(t=>t.CoreConceptsOverviewDocPageModule)}),data:{title:"Core concepts"}},{path:"core-concepts/mask-expression",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return Promise.all([n.e(8592),n.e(55)]).then(n.bind(n,30055)).then(t=>t.MaskExpressionDocPageModule)}),data:{title:"Mask expression"}},{path:"core-concepts/element-state",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return n.e(4533).then(n.bind(n,54533)).then(t=>t.ElementStateDocPageModule)}),data:{title:"Element state"}},{path:"core-concepts/processors",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return Promise.all([n.e(8592),n.e(9380)]).then(n.bind(n,19380)).then(t=>t.ProcessorsDocPageModule)}),data:{title:"Processors"}},{path:"core-concepts/plugins",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return Promise.all([n.e(8592),n.e(5115)]).then(n.bind(n,35115)).then(t=>t.PluginsDocPageModule)}),data:{title:"Plugins"}},{path:"core-concepts/overwrite-mode",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return Promise.all([n.e(3506),n.e(8592),n.e(7057)]).then(n.bind(n,7057)).then(t=>t.OverwriteModeDocPageModule)}),data:{title:"Overwrite mode"}},{path:"core-concepts/transformer",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return Promise.all([n.e(8592),n.e(2022)]).then(n.bind(n,72022)).then(t=>t.TransformerDocPageModule)}),data:{title:"Transformer"}},{path:"frameworks/angular",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return n.e(1434).then(n.bind(n,31434)).then(t=>t.AngularDocPageModule)}),data:{title:"Angular"}},{path:"frameworks/react",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return Promise.all([n.e(2473),n.e(9176)]).then(n.bind(n,9176)).then(t=>t.ReactDocPageModule)}),data:{title:"React"}},{path:"frameworks/vue",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return n.e(7027).then(n.bind(n,27027)).then(t=>t.VueDocPageModule)}),data:{title:"Vue"}},{path:"kit/number",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return n.e(5380).then(n.bind(n,45380)).then(t=>t.NumberMaskDocModule)}),data:{title:"Number"}},{path:"kit/time",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return n.e(2139).then(n.bind(n,42139)).then(t=>t.TimeMaskDocModule)}),data:{title:"Time"}},{path:"kit/date",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return n.e(5828).then(n.bind(n,95828)).then(t=>t.DateMaskDocModule)}),data:{title:"Date"}},{path:"kit/date-range",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return n.e(6180).then(n.bind(n,76180)).then(t=>t.DateRangeMaskDocModule)}),data:{title:"DateRange"}},{path:"kit/date-time",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return n.e(5439).then(n.bind(n,15439)).then(t=>t.DateTimeMaskDocModule)}),data:{title:"DateTime"}},{path:"recipes/card",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return n.e(6275).then(n.bind(n,16275)).then(t=>t.CardDocModule)}),data:{title:"Card"}},{path:"recipes/phone",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return Promise.all([n.e(8592),n.e(3355)]).then(n.bind(n,63355)).then(t=>t.PhoneDocModule)}),data:{title:"Phone"}},{path:"addons/phone",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return Promise.all([n.e(8592),n.e(1510)]).then(n.bind(n,21510)).then(t=>t.PhoneDocModule)}),data:{title:"Phone"}},{path:"recipes/textarea",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return Promise.all([n.e(3506),n.e(9544)]).then(n.bind(n,39544)).then(t=>t.TextareaDocModule)}),data:{title:"Textarea"}},{path:"recipes/prefix",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return n.e(4272).then(n.bind(n,24272)).then(t=>t.PrefixDocModule)}),data:{title:"With prefix"}},{path:"recipes/postfix",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return n.e(7989).then(n.bind(n,77989)).then(t=>t.PostfixDocModule)}),data:{title:"With postfix"}},{path:"recipes/placeholder",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return Promise.all([n.e(8592),n.e(1103)]).then(n.bind(n,81103)).then(t=>t.PlaceholderDocModule)}),data:{title:"With placeholder"}},{path:"browser-support",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return n.e(6549).then(n.bind(n,76549)).then(t=>t.BrowserSupportModule)}),data:{title:"Browser support"}},{path:"changelog",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return n.e(1326).then(n.bind(n,31326)).then(t=>t.ChangelogModule)}),data:{title:"Changelog"}},{path:"stackblitz",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return Promise.resolve().then(n.bind(n,32960)).then(t=>t.StackblitzStarterModule)}),data:{title:"Stackblitz Starter"}},{path:"cypress",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return Promise.all([n.e(2473),n.e(3276)]).then(n.bind(n,3276)).then(t=>t.CypressDocPageModule)}),data:{title:"Cypress tests \ud83e\udd2b"}},{path:"**",redirectTo:"getting-started/what-is-maskito"}];let K=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[F.Bz.forRoot(W,{initialNavigation:"enabledBlocking",relativeLinkResolution:"corrected",scrollPositionRestoration:"enabled"})],F.Bz]}),t})(),tt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[O.j,F.Bz]]}),t})(),et=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t,bootstrap:[R]}),t.\u0275inj=o.cJS({providers:Q,imports:[[i.b2.withServerTransition({appId:"demo"}),K,x,r.JF,tt,S.JP.forRoot({loader:r.eN,sanitize:o.q3G.NONE}),k.qn,O.j,M.z,P.StackblitzEditButtonModule,U]]}),t})();document.addEventListener("DOMContentLoaded",()=>{i.q6().bootstrapModule(et).then(t=>{const e=window;e.ngRef&&e.ngRef.destroy(),e.ngRef=t}).catch(console.error)})},32960:function(t,e,n){"use strict";n.r(e),n.d(e,{StackblitzEditButtonComponent:function(){return o},StackblitzEditButtonModule:function(){return s},StackblitzService:function(){return S},StackblitzStarterComponent:function(){return E},StackblitzStarterModule:function(){return A}});var i=n(74788),r=n(12628);let o=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Xpm({type:t,selectors:[["stackblitz-edit-button"]],decls:2,vars:0,consts:[["appearance","flat","icon","assets/icons/stackblitz.svg","size","s","title","Edit on StackBlitz","tuiButton","","type","button"]],template:function(t,e){1&t&&(i.TgZ(0,"button",0),i._uU(1," Edit "),i.qZA())},directives:[r.v0],styles:["@media screen and (max-width: 47.9625em){button[_ngcontent-%COMP%]{font-size:0;margin-right:-1rem}}"],changeDetection:0}),t})(),s=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[r.fN]]}),t})();var a=n(97582),l=n(12057),c=n(44427),u=n(14707);const h=["angular-cli","create-react-app","html","javascript","node","polymer","typescript","vue"],d=["project","search","ports","settings"],p=["light","dark"],f=["editor","preview"],g={clickToLoad:t=>v("ctl",t),devToolsHeight:t=>_("devtoolsheight",t),forceEmbedLayout:t=>v("embed",t),hideDevTools:t=>v("hidedevtools",t),hideExplorer:t=>v("hideExplorer",t),hideNavigation:t=>v("hideNavigation",t),openFile:t=>b("file",t),showSidebar:t=>{return e=t,"boolean"==typeof e?"showSidebar="+(e?"1":"0"):"";var e},sidebarView:t=>y("sidebarView",t,d),startScript:t=>b("startScript",t),terminalHeight:t=>_("terminalHeight",t),theme:t=>y("theme",t,p),view:t=>y("view",t,f),zenMode:t=>v("zenMode",t)};function m(t={}){const e=Object.entries(t).map(([t,e])=>null!=e&&g.hasOwnProperty(t)?g[t](e):"").filter(Boolean);return e.length?`?${e.join("&")}`:""}function v(t,e){return!0===e?`${t}=1`:""}function _(t,e){if("number"==typeof e&&!Number.isNaN(e)){const n=Math.min(100,Math.max(0,e));return`${t}=${encodeURIComponent(Math.round(n))}`}return""}function y(t,e="",n=[]){return n.includes(e)?`${t}=${encodeURIComponent(e)}`:""}function b(t,e){return(Array.isArray(e)?e:[e]).filter(t=>"string"==typeof t&&""!==t.trim()).map(e=>`${t}=${encodeURIComponent(e)}`).join("&")}function w(t,e){return`${C(e)}${t}${m(e)}`}function C(t={}){return("string"==typeof t.origin?t.origin:"https://stackblitz.com").replace(/\/$/,"")}function x(t){return t&&!1===t.newWindow?"_self":"_blank"}function k({template:t,title:e,description:n,dependencies:i,files:r,settings:o}){if(!h.includes(t)){const t=h.map(t=>`'${t}'`).join(", ");console.warn(`Unsupported project.template: must be one of ${t}`)}const s=[],a=(t,e,n="")=>{s.push(function(t,e){const n=document.createElement("input");return n.type="hidden",n.name=t,n.value=e,n}(t,"string"==typeof e?e:n))};a("project[title]",e),"string"==typeof n&&n.length>0&&a("project[description]",n),a("project[template]",t,"javascript"),i&&("node"===t?console.warn("Invalid project.dependencies: dependencies must be provided as a 'package.json' file when using the 'node' template."):a("project[dependencies]",JSON.stringify(i))),o&&a("project[settings]",JSON.stringify(o)),Object.entries(r).forEach(([t,e])=>{a(`project[files][${function(t){return t.replace(/\[/g,"%5B").replace(/\]/g,"%5D")}(t)}]`,e)});const l=document.createElement("form");return l.method="POST",l.setAttribute("style","display:none!important;"),l.append(...s),l}const O=function(t,e){!function(t,e){const n=k(t);n.action=w("/run",e),n.target=x(e),document.body.appendChild(n),n.submit(),document.body.removeChild(n)}(t,e)};var M=n(89570);let S=(()=>{class t{constructor(){this.baseProjectConfigs={template:"typescript",dependencies:{"@maskito/core":"*","@maskito/kit":"*"}},this.name="Stackblitz",this.content=new M.Al(o)}edit(t,e,i){return(0,a.mG)(this,void 0,void 0,function*(){const[r,o]=yield Promise.all([n.e(1223).then(n.t.bind(n,51223,17)),n.e(4930).then(n.t.bind(n,64930,17))].map(c.JQ));return O(Object.assign(Object.assign({},this.baseProjectConfigs),{title:`maskito/${t}/${e}`,description:`Maskito example of the component ${t}`,files:{"index.html":t.includes("textarea")?"":"","styles.css":o,"index.ts":(0,c.vi)(r)[0],"mask.ts":i[u.C.MaskitoOptions]}}),{openFile:"index.ts,mask.ts"})})}openStarter({title:t,description:e,files:n},i){return O(Object.assign(Object.assign({},this.baseProjectConfigs),{title:t,description:e,files:n}),i)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();var P=n(40719);let E=(()=>{class t{constructor(t,e){this.platformId=t,this.stackblitz=e}ngOnInit(){return(0,a.mG)(this,void 0,void 0,function*(){(0,l.NF)(this.platformId)&&(yield this.openStackblitz())})}openStackblitz(){return(0,a.mG)(this,void 0,void 0,function*(){const[t,e]=yield Promise.all([n.e(5097).then(n.t.bind(n,75097,17)),n.e(4930).then(n.t.bind(n,64930,17))].map(c.JQ));return this.stackblitz.openStarter({title:"Maskito Starter",description:"A starter with Maskito library\nDocumentation: https://maskito.dev",files:{"index.html":"","index.ts":t,"styles.css":e}},{newWindow:!1,openFile:"index.ts",hideExplorer:!0})})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.Lbi),i.Y36(S))},t.\u0275cmp=i.Xpm({type:t,selectors:[["stackblitz-starter"]],features:[i._Bn([S])],decls:1,vars:1,consts:[["size","xxl","textContent","Stackblitz loading...",1,"loader",3,"overlay"]],template:function(t,e){1&t&&i._UZ(0,"tui-loader",0),2&t&&i.Q6J("overlay",!0)},directives:[P.kM],styles:[".loader[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;background:var(--tui-base-01);z-index:1}"],changeDetection:0}),t})();var T=n(86561);let A=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[P.dS,T.Bz.forChild([{path:"",component:E}])]]}),t})()},7400:function(t,e,n){"use strict";n(7277)},55046:function(t,e,n){"use strict";n.d(e,{Q7:function(){return V},nQ:function(){return $},tr:function(){return U},n9:function(){return J},H$:function(){return rt},f8:function(){return wt},vZ:function(){return at},A7:function(){return F},jX:function(){return R},Bb:function(){return Y},hM:function(){return Z},rC:function(){return xt},Oe:function(){return q}});var i=n(76991);const r=[".",",","\u0431","\u044e"],o=new Date("0001-01-01"),s=new Date("9999-12-31"),a={hours:23,minutes:59,seconds:59,milliseconds:999},l="\u2013",c="\u2014",u="-",h=[u,l,c,"\u2212"],d=[","," "],p=[":","."],f={hours:2,minutes:2,seconds:2,milliseconds:3};function g(t,e,n){const i=Math.min(Number(n),Math.max(Number(e),Number(t)));return t instanceof Date?new Date(i):i}function m(t,{day:e,month:n,year:i}={}){const r=new Date(t);return e&&r.setDate(r.getDate()+e),n&&r.setMonth(r.getMonth()+n),i&&r.setFullYear(r.getFullYear()+i),r}function v(t){return{day:String(t.getDate()).padStart(2,"0"),month:String(t.getMonth()+1).padStart(2,"0"),year:String(t.getFullYear()).padStart(4,"0"),hours:String(t.getHours()).padStart(2,"0"),minutes:String(t.getMinutes()).padStart(2,"0"),seconds:String(t.getSeconds()).padStart(2,"0"),milliseconds:String(t.getMilliseconds()).padStart(3,"0")}}function _(t,e){return!(t.length!t.match(/^0+$/))}function y(t,e,n){const i=e.replace(/\W/g,"").length;return t.replace(n,"").match(new RegExp(`(\\D*\\d[^\\d\\s]*){1,${i}}`,"g"))||[]}function b(t){return t.reduce((t,[e,n])=>Object.assign(Object.assign({},t),{[e]:n}),{})}function w(t,e){const n=e.replace(/[^dmy]/g,""),i=t.replace(/\D+/g,""),r={day:i.slice(n.indexOf("d"),n.lastIndexOf("d")+1),month:i.slice(n.indexOf("m"),n.lastIndexOf("m")+1),year:i.slice(n.indexOf("y"),n.lastIndexOf("y")+1)};return b(Object.entries(r).filter(([t,e])=>Boolean(e)).sort(([t],[n])=>e.toLowerCase().indexOf(t[0])>e.toLowerCase().indexOf(n[0])?1:-1))}function C(t,e){var n,i,r,o,s,a,l;const c=2===(null===(n=t.year)||void 0===n?void 0:n.length)?`20${t.year}`:t.year,u=new Date(Number(null!=c?c:"0"),Number(null!==(i=t.month)&&void 0!==i?i:"1")-1,Number(null!==(r=t.day)&&void 0!==r?r:"1"),Number(null!==(o=null==e?void 0:e.hours)&&void 0!==o?o:"0"),Number(null!==(s=null==e?void 0:e.minutes)&&void 0!==s?s:"0"),Number(null!==(a=null==e?void 0:e.seconds)&&void 0!==a?a:"0"),Number(null!==(l=null==e?void 0:e.milliseconds)&&void 0!==l?l:"0"));return u.setFullYear(Number(null!=c?c:"0")),u}const x=", ";function k({day:t,month:e,year:n,hours:i,minutes:r,seconds:o,milliseconds:s},a,l){var c;const u=2===(null===(c=a.match(/y/g))||void 0===c?void 0:c.length)?null==n?void 0:n.slice(-2):n;return(a+(l?x+l:"")).replace(/d+/g,null!=t?t:"").replace(/m+/g,null!=e?e:"").replace(/y+/g,null!=u?u:"").replace(/H+/g,null!=i?i:"").replace(/MSS/g,null!=s?s:"").replace(/M+/g,null!=r?r:"").replace(/S+/g,null!=o?o:"").replace(/^\D+/g,"").replace(/\D+$/g,"")}function O(t,e,n=0){return Number(t.padEnd(e.length,"0"))<=Number(e)?{validatedSegmentValue:t,prefixedZeroesCount:n}:t.endsWith("0")?O(`0${t.slice(0,e.length-1)}`,e,n+1):O(`${t.slice(0,e.length-1)}0`,e,n)}const M=t=>{var e,n,i;return{day:(null===(e=t.match(/d/g))||void 0===e?void 0:e.length)||0,month:(null===(n=t.match(/m/g))||void 0===n?void 0:n.length)||0,year:(null===(i=t.match(/y/g))||void 0===i?void 0:i.length)||0}},S={day:31,month:12,year:9999};function P({dateString:t,dateModeTemplate:e,offset:n,selection:[i,r]}){const o=w(t,e),s=Object.entries(o),a={};let l=0;for(const[h,d]of s){const t=k(a,e),o=S[h],s=n+t.length+(t.length&&1)+M(e)[h],c=s>=i&&s===r;if(c&&Number(d)>Number(o))return{validatedDateString:"",updatedSelection:[i,r]};if(c&&Number(d)<1)return{validatedDateString:"",updatedSelection:[i,r]};const{validatedSegmentValue:u,prefixedZeroesCount:p}=O(d,`${o}`);l+=p,a[h]=u}const c=k(a,e),u=c.length-t.length;return{validatedDateString:c,updatedSelection:[i+l+u,r+l+u]}}const E=/[\\^$.*+?()[\]{}|]/g,T=new RegExp(E.source);function A(t){return t&&T.test(t)?t.replace(E,"\\$&"):t}function I(t){return t}function D(t){return!t||"object"==typeof t&&0===Object.keys(t).length}function N(t,e){const n=M(e);return b(Object.entries(t).map(([t,e])=>{const i=n[t];return[t,e.length===i&&e.match(/^0+$/)?"1".padStart(i,"0"):e]}))}function L({dateModeTemplate:t,min:e=o,max:n=s,rangeSeparator:i="",dateSegmentSeparator:r="."}){return({value:o,selection:s})=>{const a=i&&o.endsWith(i),l=y(o,t,i);let c="";for(const u of l){c+=c?i:"";const o=w(u,t);_(u,t)?c+=k(v(g(C(o),e,n)),t):c+=k(N(o,t),t)+(u.endsWith(r)?r:"")}return{selection:s,value:c+(a?i:"")}}}function z({dateModeTemplate:t,dateSegmentsSeparator:e,rangeSeparator:n=""}){return({elementState:i,data:r})=>{const o=n?new RegExp(`${n}|-`):x,s=r.split(o),a=r.includes(x)?[s[0]]:s;if(a.every(n=>n.trim().split(/\D/).length===t.split(e).length)){const o=a.map(n=>function(t,e,n){const i=t.split(/\D/),r=e.split(n);return i.map((t,e)=>e===r.length-1?t:t.padStart(r[e].length,"0")).join(n)}(n,t,e)).join(n);return{elementState:i,data:`${o}${r.includes(x)&&x+s[1]||""}`}}return{elementState:i,data:r}}}function F(t){const e=new RegExp(`${A(t)}$`);return t?({value:n,selection:i},r)=>{if(!n&&!r.value.endsWith(t))return{value:n,selection:i};if(!n.endsWith(t)&&!r.value.endsWith(t))return{selection:i,value:n+t};const o=r.value.replace(e,""),s=r.selection[1]>=o.length,a=function(t,e){let n="";for(let i=0;i{const i=t.length-1-n;return t[i]!==e||a[i]===e&&s?t.slice(0,i+1)+e+t.slice(i+1):t},n)}}:I}function R(t){return t?({value:e,selection:n},i)=>{if(e.startsWith(t)||!e&&!i.value.startsWith(t))return{value:e,selection:n};const[r,o]=n,s=Array.from(t).reduce((t,e,n)=>t[n]===e?t:t.slice(0,n)+e+t.slice(n),e),a=s.length-e.length;return{selection:[r+a,o+a],value:s}}:I}function j({dateModeTemplate:t,dateSegmentsSeparator:e,rangeSeparator:n=""}){return({elementState:i,data:r})=>{const{value:o,selection:s}=i;if(r===e)return{elementState:i,data:s[0]===o.length?r:""};if(h.includes(r))return{elementState:i,data:n};const a=r.replace(new RegExp(`[^\\d${A(e)}${n}]`,"g"),"");if(!a)return{elementState:i,data:""};const[l,c]=s;let u=c+r.length;const d=o.slice(0,l)+a+o.slice(u),p=y(d,t,n);let f="";const g=Boolean(n)&&d.includes(n);for(const e of p){const{validatedDateString:r,updatedSelection:o}=P({dateString:e,dateModeTemplate:t,offset:f?f.length+n.length:0,selection:[l,u]});if(e&&!r)return{elementState:i,data:""};u=o[1],f+=g&&f?n+r:r}const m=f.slice(l,u);return{elementState:{selection:s,value:f.slice(0,l)+m.split(e).map(t=>"0".repeat(t.length)).join(e)+f.slice(u)},data:m}}}function B(t,e,n){return(i,r)=>{const o=()=>e(i,r);return i.addEventListener(t,o,n),()=>i.removeEventListener(t,o,n)}}function V(t){return B("focus",e=>{e.value||(e.value=t,e.dispatchEvent(new Event("input")))})}function $(t){return e=>{const n=e.ownerDocument;let i=0;const r=()=>i++,o=()=>{i=Math.max(--i,0)},s=()=>{if(function({activeElement:t}){if(!(null==t?void 0:t.shadowRoot))return t;let e=t.shadowRoot.activeElement;for(;null==e?void 0:e.shadowRoot;)e=e.shadowRoot.activeElement;return e}(n)!==e)return;if(i)return n.addEventListener("mouseup",s,{once:!0,passive:!0});const r=e.selectionStart||0,o=e.selectionEnd||0,[a,l]=t(e.value,[r,o]);(a>r||l{n.removeEventListener("selectionchange",s),n.removeEventListener("mousedown",r),n.removeEventListener("mouseup",o)}}}function Y(t){const e=()=>{const e=t.value;t.addEventListener("beforeinput",n=>{n.defaultPrevented&&e===t.value&&t.dispatchEvent(new CustomEvent("maskitoReject",{bubbles:!0}))},{once:!0})};return t.addEventListener("beforeinput",e,!0),()=>t.removeEventListener("beforeinput",e,!0)}function Z(t){return B("blur",e=>{e.value===t&&(e.value="",e.dispatchEvent(new Event("input")))})}function q(t,e=!1){const n=e=>{for(let n=e.length-1;n>=0;n--)if(e[n]!==t[n])return e.slice(0,n+1);return""},i=[$(t=>[0,n(t).length])];let r=!1;if(e){const e=B("focus",e=>{r=!0,e.value+=t.slice(e.value.length),e.dispatchEvent(new Event("input"))},{capture:!0}),o=B("blur",t=>{r=!1,t.value=n(t.value),t.dispatchEvent(new Event("input"))},{capture:!0});i.push(e,o)}return{plugins:i,removePlaceholder:n,preprocessors:[({elementState:t,data:e})=>{const{value:i,selection:r}=t;return{elementState:{selection:r,value:n(i)},data:e}}],postprocessors:[({value:n,selection:i},o)=>!o.value||!r&&e?{value:n,selection:i}:{value:n+t.slice(n.length),selection:i}]}}function U({mode:t,separator:e=".",max:n,min:r}){const o=t.split("/").join(e);return Object.assign(Object.assign({},i.A_),{mask:Array.from(o).map(t=>t===e?t:/\d/),overwriteMode:"replace",preprocessors:[({elementState:t},e)=>{const{value:n,selection:i}=t;if(!n||function(t,[e,n]){return n===t.length}(n,i))return{elementState:t};const[r,o]=i,s=n.slice(r,o).replace(/\d/g,"0"),a=n.slice(0,r)+s+n.slice(o);return"validation"===e||"insert"===e&&r===o?{elementState:{selection:i,value:a}}:{elementState:{selection:"deleteBackward"===e||"insert"===e?[r,r]:[o,o],value:a}}},z({dateModeTemplate:o,dateSegmentsSeparator:e}),j({dateModeTemplate:o,dateSegmentsSeparator:e})],postprocessors:[L({min:r,max:n,dateModeTemplate:o,dateSegmentSeparator:e})]})}function H({dateModeTemplate:t,rangeSeparator:e,minLength:n,maxLength:i,max:r=s}){return D(n)&&D(i)?I:({value:o,selection:s})=>{const a=y(o,t,e);if(2!==a.length||a.some(e=>!_(e,t)))return{value:o,selection:s};const[l,c]=a.map(e=>C(w(e,t))),u=m(l,Object.assign(Object.assign({},n),{day:(null==n?void 0:n.day)&&n.day-1})),h=D(i)?r:m(l,Object.assign(Object.assign({},i),{day:(null==i?void 0:i.day)&&i.day-1})),d=g(c,u,r);return{selection:s,value:a[0]+e+k(v(d>h?h:d),t)}}}function G({dateModeTemplate:t,rangeSeparator:e}){return({value:n,selection:i})=>{const r=y(n,t,e),o=2===r.length&&r.every(e=>_(e,t)),[s,a]=i;if(!((s>=n.length||0===s&&a>=n.length)&&o))return{value:n,selection:i};const[l,c]=r.map(e=>C(w(e,t)));return{selection:i,value:l>c?r.reverse().join(e):n}}}function J({mode:t,separator:e=".",min:n,max:r,minLength:o,maxLength:s,dateSeparator:a=e,rangeSeparator:c=`\xa0${l}\xa0`}){const u=t.split("/").join(a),h=Array.from(u).map(t=>t===a?t:/\d/);return Object.assign(Object.assign({},i.A_),{mask:[...h,...Array.from(c),...h],overwriteMode:"replace",preprocessors:[({elementState:t},e)=>{const{value:n,selection:i}=t;if(!n||function(t,[e,n]){return n===t.length}(n,i))return{elementState:t};const[r,o]=i,s=n.slice(r,o).replace(/\d/g,"0"),a=n.slice(0,r)+s+n.slice(o);return"validation"===e||"insert"===e&&r===o?{elementState:{selection:i,value:a}}:{elementState:{selection:"deleteBackward"===e||"insert"===e?[r,r]:[o,o],value:a}}},z({dateModeTemplate:u,rangeSeparator:c,dateSegmentsSeparator:a}),j({dateModeTemplate:u,rangeSeparator:c,dateSegmentsSeparator:a})],postprocessors:[L({min:n,max:r,dateModeTemplate:u,rangeSeparator:c,dateSegmentSeparator:a}),H({dateModeTemplate:u,minLength:o,maxLength:s,max:r,rangeSeparator:c}),G({dateModeTemplate:u,rangeSeparator:c})]})}function X(t){return b(Object.entries(t).map(([t,e])=>[t,`${e}`.padEnd(f[t],"0")]))}function Q(t){const e=t.replace(/\D+/g,""),n={hours:e.slice(0,2),minutes:e.slice(2,4),seconds:e.slice(4,6),milliseconds:e.slice(6,9)};return b(Object.entries(n).filter(([t,e])=>Boolean(e)))}function W({hours:t="",minutes:e="",seconds:n="",milliseconds:i=""}){return`${t}${e&&`:${e}`}${n&&`:${n}`}${i&&`.${i}`}`}const K=new RegExp(`[${p.map(A).join("")}]$`);function tt({timeString:t,paddedMaxValues:e,offset:n,selection:[i,r]}){const o=Q(t),s=Object.entries(o),a={};let l=0;for(const[d,p]of s){const t=W(a),o=e[d],s=n+t.length+(t.length&&1)+f[d];if(s>=i&&s<=r&&Number(p)>Number(o))return{validatedTimeString:"",updatedTimeSelection:[i,r]};const{validatedSegmentValue:c,prefixedZeroesCount:u}=O(p,`${o}`);l+=u,a[d]=c}const[c=""]=t.match(K)||[],u=W(a)+c,h=Math.max(u.length-t.length,0);return{validatedTimeString:u,updatedTimeSelection:[i+l+h,r+l+h]}}function et(t,e){const n=t.includes(x);return[t.slice(0,e.length),t.slice(n?e.length+x.length:e.length)]}function nt({dateModeTemplate:t,timeMode:e,min:n=o,max:i=s}){return({value:r,selection:o})=>{const[s,a]=et(r,t),l=w(s,t),c=Q(a);if(!function(t,e,n){return t.length>=e.length+n.length+x.length&&t.split(x)[0].split(/\D/).every(t=>!t.match(/^0+$/))}(r,t,e)){const a=N(l,t),{year:u,month:h,day:d}=_(s,t)?v(g(C(a),n,i)):a,p=k(Object.assign({year:u,month:h,day:d},c),t,e);return{selection:o,value:p+r.slice(p.length)}}return{selection:o,value:k(v(g(C(l,c),n,i)),t,e)}}}function it({dateModeTemplate:t,dateSegmentsSeparator:e}){const n=new RegExp(`[^\\d${p.map(A).join("")}${A(e)}]+`);return({elementState:i,data:r})=>{const{value:o,selection:s}=i;if(r===e)return{elementState:i,data:s[0]===o.length?r:""};if(d.includes(r))return{elementState:i,data:x};const l=r.replace(n,"");if(!l)return{elementState:i,data:""};const[c,u]=s;let h=u+r.length;const p=o.slice(0,c)+l+o.slice(h),[f,g]=et(p,t);let m="";const v=p.includes(x),{validatedDateString:_,updatedSelection:y}=P({dateString:f,dateModeTemplate:t,offset:0,selection:[c,h]});if(f&&!_)return{elementState:i,data:""};h=y[1],m+=_;const b=X(a),{validatedTimeString:w,updatedTimeSelection:C}=tt({timeString:g,paddedMaxValues:b,offset:m.length+x.length,selection:[c,h]});if(g&&!w)return{elementState:i,data:""};h=C[1],m+=v?x+w:w;const k=m.slice(c,h);return{elementState:{selection:s,value:m.slice(0,c)+k.split(e).map(t=>"0".repeat(t.length)).join(e)+m.slice(h)},data:k}}}function rt({dateMode:t,timeMode:e,dateSeparator:n=".",min:r,max:o}){const s=t.split("/").join(n);return Object.assign(Object.assign({},i.A_),{mask:[...Array.from(s).map(t=>t===n?t:/\d/),...x.split(""),...Array.from(e).map(t=>p.includes(t)?t:/\d/)],overwriteMode:"replace",preprocessors:[({elementState:t},e)=>{const{value:n,selection:i}=t;if(!n||function(t,[e,n]){return n===t.length}(n,i))return{elementState:t};const[r,o]=i,s=n.slice(r,o).replace(/\d/g,"0"),a=n.slice(0,r)+s+n.slice(o);return"validation"===e||"insert"===e&&r===o?{elementState:{selection:i,value:a}}:{elementState:{selection:"deleteBackward"===e||"insert"===e?[r,r]:[o,o],value:a}}},z({dateModeTemplate:s,dateSegmentsSeparator:n}),it({dateModeTemplate:s,dateSegmentsSeparator:n})],postprocessors:[nt({min:r,max:o,dateModeTemplate:s,timeMode:e})]})}function ot({decimalSeparator:t,isNegativeAllowed:e,precision:n,thousandSeparator:i,prefix:r,postfix:o,decimalPseudoSeparators:s=[],pseudoMinuses:a=[]}){const l=st(r),c=e?`[\u2212${a.map(t=>`\\${t}`).join("")}]?`:"",u=i?`[\\d${A(i).replace(/\s/g,"\\s")}]*`:"[\\d]*",h=n>0?`([${A(t)}${s.map(A).join("")}]\\d{0,${Number.isFinite(n)?n:""}})?`:"",d=st(o);return new RegExp(`^${l}${c}${u}${h}${d}$`)}function st(t){return t?`${t.split("").map(t=>`${A(t)}?`).join("")}`:""}function at(t,e="."){const n=!!t.match(new RegExp(`^\\D*[\u2212\\${u}${l}${c}]`)),i=t.replace(new RegExp(`[^\\d${A(e)}]`,"g"),"").replace(e,".");return i?Number((n?u:"")+i):NaN}function lt({decimalSeparator:t,precision:e,decimalZeroPadding:n,postfix:i}){if(e<=0||!n)return I;const r=new RegExp(`${A(i)}$`);return({value:n,selection:o})=>{if(Number.isNaN(at(n,t)))return{value:n,selection:o};const[s,a=""]=n.replace(r,"").split(t);return{value:s+t+a.padEnd(e,"0")+i,selection:o}}}function ct({decimalSeparator:t,decimalPseudoSeparators:e,pseudoMinuses:n}){let r=!0;const o=ot({decimalSeparator:t,decimalPseudoSeparators:e,pseudoMinuses:n,prefix:"",postfix:"",thousandSeparator:"",precision:1/0,isNegativeAllowed:!0});return({elementState:t,data:e})=>r?(r=!1,{elementState:(0,i.CV)(t,{mask:o}),data:e}):{elementState:t,data:e}}function ut({min:t,max:e,decimalSeparator:n}){return({value:i,selection:r})=>{const o=at(i,n),s=o>0?Math.min(o,e):Math.max(o,t);if(!Number.isNaN(o)&&s!==o){const t=`${s}`.replace(".",n).replace(u,"\u2212");return{value:t,selection:[t.length,t.length]}}return{value:i,selection:r}}}function ht({decimalSeparator:t,thousandSeparator:e,decimalZeroPadding:n}){return({elementState:i,data:r},o)=>{const{value:s,selection:a}=i,[l,c]=a,u=s.slice(l,c),h=n?[t,e]:[e],d=n&&l>s.indexOf(t)&&Boolean(u.match(/^0+$/gi));return"deleteBackward"!==o&&"deleteForward"!==o||!h.includes(u)&&!d?{elementState:i,data:r}:{elementState:{value:s,selection:"deleteForward"===o?[c,c]:[l,l]},data:r}}}function dt({decimalSeparator:t,precision:e}){const n=new RegExp(`^\\D*${A(t)}`);return({elementState:i,data:r})=>{const{value:o,selection:s}=i,[a]=s;return e<=0||o.includes(t)||!r.match(n)?{elementState:i,data:r}:{elementState:i,data:o.slice(0,a).match(/\d+/)?r:`0${r}`}}}function pt(t,e){const n=new RegExp(`[${e.join("")}]`,"gi");return({elementState:e,data:i})=>{const{value:r,selection:o}=e;return{elementState:{selection:o,value:r.replace(n,t)},data:i.replace(n,t)}}}function ft(t){return({elementState:e,data:n})=>{const{value:i,selection:r}=e,[o,s]=r;return{elementState:e,data:!i.includes(t)||i.slice(o,s+1).includes(t)?n:n.replace(new RegExp(A(t),"gi"),"")}}}function gt({thousandSeparator:t,decimalSeparator:e,prefix:n,postfix:i}){if(!t)return I;const r=new RegExp(`^${A(n)}\u2212?`),o=new RegExp(`${A(i)}$`);return({value:n,selection:i})=>{const[s,a=""]=n.split(e),[l,c]=i;let[u,h]=i;const d=s.replace(r,"").replace(o,""),[p=""]=s.match(r)||[],[f=""]=s.match(o)||[],g=Array.from(d).reduceRight((e,n,i)=>{const r=!(!i&&n===t)&&e.length&&(e.length+1)%4==0;return r&&(n===t||((...t)=>t.every(t=>/\s/.test(t)))(n,t))?t+e:n!==t||r?r?(i<=l&&u++,i<=c&&h++,n+t+e):n+e:(i&&i<=l&&u--,i&&i<=c&&h--,e)},"");return{value:p+g+f+(n.includes(e)?e:"")+a,selection:[u,h]}}}function mt(t,e){if(t>0)return I;const n=new RegExp(`${A(e)}.*$`,"g");return({elementState:t,data:e})=>{const{value:i,selection:r}=t,[o,s]=r,a=i.replace(n,"");return{elementState:{selection:[Math.min(o,a.length),Math.min(s,a.length)],value:a},data:e.replace(n,"")}}}const vt=[0,0];function _t(t,e){const n=function(t,e){const n=t=>{const n=A(e);return t.replace(new RegExp(`^(\\D+)?[0${n}]+(?=0)`),"$1").replace(new RegExp(`^(\\D+)?[0${n}]+(?=[1-9])`),"$1")},i=(t,e)=>{const i=t.slice(0,e),r=t.slice(e).startsWith("0");return i.length-n(i).length+(r?1:0)};return({value:e,selection:r})=>{const[o,s]=r,a=e.includes(t),[l,c=""]=e.split(t),u=n(l);if(l===u)return{value:e,selection:r};const h=o-i(e,o),d=s-i(e,s);return{value:u+(a?t:"")+c,selection:[Math.max(h,0),Math.max(d,0)]}}}(t,e);return B("blur",t=>{const e=n({value:t.value,selection:vt},{value:"",selection:vt}).value;t.value!==e&&(t.value=e,t.dispatchEvent(new Event("input")))},{capture:!0})}function yt({min:t,max:e,decimalSeparator:n}){return B("blur",(r,o)=>{const s=at(r.value,n),a=g(s,t,e);!Number.isNaN(s)&&s!==a&&(r.value=(0,i.CV)(function(t){const e=String(t),[n,i]=e.split("e-");let r=e;if(i){const[,e]=n.split("."),o=Number(i)+((null==e?void 0:e.length)||0);r=t.toFixed(o)}return r}(a),o),r.dispatchEvent(new Event("input")))},{capture:!0})}function bt(t){return B("blur",e=>{const n=e.value.replace(new RegExp(`^(\\D+)?${A(t)}`),`$10${t}`);n!==e.value&&(e.value=n,e.dispatchEvent(new Event("input")))},{capture:!0})}function wt({max:t=Number.MAX_SAFE_INTEGER,min:e=Number.MIN_SAFE_INTEGER,precision:n=0,thousandSeparator:o="\xa0",decimalSeparator:s=".",decimalPseudoSeparators:a,decimalZeroPadding:h=!1,prefix:d="",postfix:p=""}={}){const f=[u,l,c].filter(t=>t!==o&&t!==s),g=function({decimalSeparator:t,thousandSeparator:e,decimalPseudoSeparators:n=r}){return n.filter(n=>n!==e&&n!==t)}({decimalSeparator:s,thousandSeparator:o,decimalPseudoSeparators:a});return Object.assign(Object.assign({},i.A_),{mask:ot({decimalSeparator:s,precision:n,thousandSeparator:o,prefix:d,postfix:p,isNegativeAllowed:e<0}),preprocessors:[ct({decimalSeparator:s,decimalPseudoSeparators:g,pseudoMinuses:f}),pt("\u2212",f),pt(s,g),dt({decimalSeparator:s,precision:n}),ht({decimalSeparator:s,decimalZeroPadding:h,thousandSeparator:o}),mt(n,s),ft(s)],postprocessors:[ut({decimalSeparator:s,min:e,max:t}),R(d),F(p),gt({decimalSeparator:s,thousandSeparator:o,prefix:d,postfix:p}),lt({decimalSeparator:s,decimalZeroPadding:h,precision:n,postfix:p})],plugins:[_t(s,o),bt(s),yt({min:e,max:t,decimalSeparator:s})],overwriteMode:h?({value:t,selection:[e]})=>e<=t.indexOf(s)?"shift":"replace":"shift"})}function Ct(t){const e=X(t),n=new RegExp(`[^\\d${p.map(A).join("")}]+`);return({elementState:t,data:i},r)=>{if("deleteBackward"===r||"deleteForward"===r)return{elementState:t,data:i};const{value:o,selection:s}=t;if("validation"===r){const{validatedTimeString:t,updatedTimeSelection:n}=tt({timeString:o,paddedMaxValues:e,offset:0,selection:s});return{elementState:{value:t,selection:n},data:i}}const a=i.replace(n,""),[l,c]=s;let u=c+a.length;const h=o.slice(0,l)+a+o.slice(u),{validatedTimeString:d,updatedTimeSelection:p}=tt({timeString:h,paddedMaxValues:e,offset:0,selection:[l,u]});if(h&&!d)return{elementState:t,data:""};u=p[1];const f=d.slice(l,u);return{elementState:{selection:s,value:d.slice(0,l)+"0".repeat(f.length)+d.slice(u)},data:f}}}function xt({mode:t,timeSegmentMaxValues:e={}}){const n=Object.assign(Object.assign({},a),e);return Object.assign(Object.assign({},i.A_),{mask:Array.from(t).map(t=>p.includes(t)?t:/\d/),preprocessors:[({elementState:t},e)=>{const{value:n,selection:i}=t;if(!n||function(t,[e,n]){return n===t.length}(n,i))return{elementState:t};const[r,o]=i,s=n.slice(r,o).replace(/\d/g,"0"),a=n.slice(0,r)+s+n.slice(o);return"validation"===e||"insert"===e&&r===o?{elementState:{selection:i,value:a}}:{elementState:{selection:"deleteBackward"===e||"insert"===e?[r,r]:[o,o],value:a}}},Ct(n)],overwriteMode:"replace"})}},69153:function(t){function e(t){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}e.keys=function(){return[]},e.resolve=e,e.id=69153,t.exports=e},97582:function(t,e,n){"use strict";function i(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,n,s):r(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s}function o(t,e,n,i){return new(n||(n=Promise))(function(r,o){function s(t){try{l(i.next(t))}catch(e){o(e)}}function a(t){try{l(i.throw(t))}catch(e){o(e)}}function l(t){t.done?r(t.value):function(t){return t instanceof n?t:new n(function(e){e(t)})}(t.value).then(s,a)}l((i=i.apply(t,e||[])).next())})}n.d(e,{_T:function(){return i},gn:function(){return r},mG:function(){return o}}),"function"==typeof SuppressedError&&SuppressedError},95485:function(t){"use strict";t.exports=JSON.parse('{"Aacute":"\xc1","aacute":"\xe1","Abreve":"\u0102","abreve":"\u0103","ac":"\u223e","acd":"\u223f","acE":"\u223e\u0333","Acirc":"\xc2","acirc":"\xe2","acute":"\xb4","Acy":"\u0410","acy":"\u0430","AElig":"\xc6","aelig":"\xe6","af":"\u2061","Afr":"\ud835\udd04","afr":"\ud835\udd1e","Agrave":"\xc0","agrave":"\xe0","alefsym":"\u2135","aleph":"\u2135","Alpha":"\u0391","alpha":"\u03b1","Amacr":"\u0100","amacr":"\u0101","amalg":"\u2a3f","amp":"&","AMP":"&","andand":"\u2a55","And":"\u2a53","and":"\u2227","andd":"\u2a5c","andslope":"\u2a58","andv":"\u2a5a","ang":"\u2220","ange":"\u29a4","angle":"\u2220","angmsdaa":"\u29a8","angmsdab":"\u29a9","angmsdac":"\u29aa","angmsdad":"\u29ab","angmsdae":"\u29ac","angmsdaf":"\u29ad","angmsdag":"\u29ae","angmsdah":"\u29af","angmsd":"\u2221","angrt":"\u221f","angrtvb":"\u22be","angrtvbd":"\u299d","angsph":"\u2222","angst":"\xc5","angzarr":"\u237c","Aogon":"\u0104","aogon":"\u0105","Aopf":"\ud835\udd38","aopf":"\ud835\udd52","apacir":"\u2a6f","ap":"\u2248","apE":"\u2a70","ape":"\u224a","apid":"\u224b","apos":"\'","ApplyFunction":"\u2061","approx":"\u2248","approxeq":"\u224a","Aring":"\xc5","aring":"\xe5","Ascr":"\ud835\udc9c","ascr":"\ud835\udcb6","Assign":"\u2254","ast":"*","asymp":"\u2248","asympeq":"\u224d","Atilde":"\xc3","atilde":"\xe3","Auml":"\xc4","auml":"\xe4","awconint":"\u2233","awint":"\u2a11","backcong":"\u224c","backepsilon":"\u03f6","backprime":"\u2035","backsim":"\u223d","backsimeq":"\u22cd","Backslash":"\u2216","Barv":"\u2ae7","barvee":"\u22bd","barwed":"\u2305","Barwed":"\u2306","barwedge":"\u2305","bbrk":"\u23b5","bbrktbrk":"\u23b6","bcong":"\u224c","Bcy":"\u0411","bcy":"\u0431","bdquo":"\u201e","becaus":"\u2235","because":"\u2235","Because":"\u2235","bemptyv":"\u29b0","bepsi":"\u03f6","bernou":"\u212c","Bernoullis":"\u212c","Beta":"\u0392","beta":"\u03b2","beth":"\u2136","between":"\u226c","Bfr":"\ud835\udd05","bfr":"\ud835\udd1f","bigcap":"\u22c2","bigcirc":"\u25ef","bigcup":"\u22c3","bigodot":"\u2a00","bigoplus":"\u2a01","bigotimes":"\u2a02","bigsqcup":"\u2a06","bigstar":"\u2605","bigtriangledown":"\u25bd","bigtriangleup":"\u25b3","biguplus":"\u2a04","bigvee":"\u22c1","bigwedge":"\u22c0","bkarow":"\u290d","blacklozenge":"\u29eb","blacksquare":"\u25aa","blacktriangle":"\u25b4","blacktriangledown":"\u25be","blacktriangleleft":"\u25c2","blacktriangleright":"\u25b8","blank":"\u2423","blk12":"\u2592","blk14":"\u2591","blk34":"\u2593","block":"\u2588","bne":"=\u20e5","bnequiv":"\u2261\u20e5","bNot":"\u2aed","bnot":"\u2310","Bopf":"\ud835\udd39","bopf":"\ud835\udd53","bot":"\u22a5","bottom":"\u22a5","bowtie":"\u22c8","boxbox":"\u29c9","boxdl":"\u2510","boxdL":"\u2555","boxDl":"\u2556","boxDL":"\u2557","boxdr":"\u250c","boxdR":"\u2552","boxDr":"\u2553","boxDR":"\u2554","boxh":"\u2500","boxH":"\u2550","boxhd":"\u252c","boxHd":"\u2564","boxhD":"\u2565","boxHD":"\u2566","boxhu":"\u2534","boxHu":"\u2567","boxhU":"\u2568","boxHU":"\u2569","boxminus":"\u229f","boxplus":"\u229e","boxtimes":"\u22a0","boxul":"\u2518","boxuL":"\u255b","boxUl":"\u255c","boxUL":"\u255d","boxur":"\u2514","boxuR":"\u2558","boxUr":"\u2559","boxUR":"\u255a","boxv":"\u2502","boxV":"\u2551","boxvh":"\u253c","boxvH":"\u256a","boxVh":"\u256b","boxVH":"\u256c","boxvl":"\u2524","boxvL":"\u2561","boxVl":"\u2562","boxVL":"\u2563","boxvr":"\u251c","boxvR":"\u255e","boxVr":"\u255f","boxVR":"\u2560","bprime":"\u2035","breve":"\u02d8","Breve":"\u02d8","brvbar":"\xa6","bscr":"\ud835\udcb7","Bscr":"\u212c","bsemi":"\u204f","bsim":"\u223d","bsime":"\u22cd","bsolb":"\u29c5","bsol":"\\\\","bsolhsub":"\u27c8","bull":"\u2022","bullet":"\u2022","bump":"\u224e","bumpE":"\u2aae","bumpe":"\u224f","Bumpeq":"\u224e","bumpeq":"\u224f","Cacute":"\u0106","cacute":"\u0107","capand":"\u2a44","capbrcup":"\u2a49","capcap":"\u2a4b","cap":"\u2229","Cap":"\u22d2","capcup":"\u2a47","capdot":"\u2a40","CapitalDifferentialD":"\u2145","caps":"\u2229\ufe00","caret":"\u2041","caron":"\u02c7","Cayleys":"\u212d","ccaps":"\u2a4d","Ccaron":"\u010c","ccaron":"\u010d","Ccedil":"\xc7","ccedil":"\xe7","Ccirc":"\u0108","ccirc":"\u0109","Cconint":"\u2230","ccups":"\u2a4c","ccupssm":"\u2a50","Cdot":"\u010a","cdot":"\u010b","cedil":"\xb8","Cedilla":"\xb8","cemptyv":"\u29b2","cent":"\xa2","centerdot":"\xb7","CenterDot":"\xb7","cfr":"\ud835\udd20","Cfr":"\u212d","CHcy":"\u0427","chcy":"\u0447","check":"\u2713","checkmark":"\u2713","Chi":"\u03a7","chi":"\u03c7","circ":"\u02c6","circeq":"\u2257","circlearrowleft":"\u21ba","circlearrowright":"\u21bb","circledast":"\u229b","circledcirc":"\u229a","circleddash":"\u229d","CircleDot":"\u2299","circledR":"\xae","circledS":"\u24c8","CircleMinus":"\u2296","CirclePlus":"\u2295","CircleTimes":"\u2297","cir":"\u25cb","cirE":"\u29c3","cire":"\u2257","cirfnint":"\u2a10","cirmid":"\u2aef","cirscir":"\u29c2","ClockwiseContourIntegral":"\u2232","CloseCurlyDoubleQuote":"\u201d","CloseCurlyQuote":"\u2019","clubs":"\u2663","clubsuit":"\u2663","colon":":","Colon":"\u2237","Colone":"\u2a74","colone":"\u2254","coloneq":"\u2254","comma":",","commat":"@","comp":"\u2201","compfn":"\u2218","complement":"\u2201","complexes":"\u2102","cong":"\u2245","congdot":"\u2a6d","Congruent":"\u2261","conint":"\u222e","Conint":"\u222f","ContourIntegral":"\u222e","copf":"\ud835\udd54","Copf":"\u2102","coprod":"\u2210","Coproduct":"\u2210","copy":"\xa9","COPY":"\xa9","copysr":"\u2117","CounterClockwiseContourIntegral":"\u2233","crarr":"\u21b5","cross":"\u2717","Cross":"\u2a2f","Cscr":"\ud835\udc9e","cscr":"\ud835\udcb8","csub":"\u2acf","csube":"\u2ad1","csup":"\u2ad0","csupe":"\u2ad2","ctdot":"\u22ef","cudarrl":"\u2938","cudarrr":"\u2935","cuepr":"\u22de","cuesc":"\u22df","cularr":"\u21b6","cularrp":"\u293d","cupbrcap":"\u2a48","cupcap":"\u2a46","CupCap":"\u224d","cup":"\u222a","Cup":"\u22d3","cupcup":"\u2a4a","cupdot":"\u228d","cupor":"\u2a45","cups":"\u222a\ufe00","curarr":"\u21b7","curarrm":"\u293c","curlyeqprec":"\u22de","curlyeqsucc":"\u22df","curlyvee":"\u22ce","curlywedge":"\u22cf","curren":"\xa4","curvearrowleft":"\u21b6","curvearrowright":"\u21b7","cuvee":"\u22ce","cuwed":"\u22cf","cwconint":"\u2232","cwint":"\u2231","cylcty":"\u232d","dagger":"\u2020","Dagger":"\u2021","daleth":"\u2138","darr":"\u2193","Darr":"\u21a1","dArr":"\u21d3","dash":"\u2010","Dashv":"\u2ae4","dashv":"\u22a3","dbkarow":"\u290f","dblac":"\u02dd","Dcaron":"\u010e","dcaron":"\u010f","Dcy":"\u0414","dcy":"\u0434","ddagger":"\u2021","ddarr":"\u21ca","DD":"\u2145","dd":"\u2146","DDotrahd":"\u2911","ddotseq":"\u2a77","deg":"\xb0","Del":"\u2207","Delta":"\u0394","delta":"\u03b4","demptyv":"\u29b1","dfisht":"\u297f","Dfr":"\ud835\udd07","dfr":"\ud835\udd21","dHar":"\u2965","dharl":"\u21c3","dharr":"\u21c2","DiacriticalAcute":"\xb4","DiacriticalDot":"\u02d9","DiacriticalDoubleAcute":"\u02dd","DiacriticalGrave":"`","DiacriticalTilde":"\u02dc","diam":"\u22c4","diamond":"\u22c4","Diamond":"\u22c4","diamondsuit":"\u2666","diams":"\u2666","die":"\xa8","DifferentialD":"\u2146","digamma":"\u03dd","disin":"\u22f2","div":"\xf7","divide":"\xf7","divideontimes":"\u22c7","divonx":"\u22c7","DJcy":"\u0402","djcy":"\u0452","dlcorn":"\u231e","dlcrop":"\u230d","dollar":"$","Dopf":"\ud835\udd3b","dopf":"\ud835\udd55","Dot":"\xa8","dot":"\u02d9","DotDot":"\u20dc","doteq":"\u2250","doteqdot":"\u2251","DotEqual":"\u2250","dotminus":"\u2238","dotplus":"\u2214","dotsquare":"\u22a1","doublebarwedge":"\u2306","DoubleContourIntegral":"\u222f","DoubleDot":"\xa8","DoubleDownArrow":"\u21d3","DoubleLeftArrow":"\u21d0","DoubleLeftRightArrow":"\u21d4","DoubleLeftTee":"\u2ae4","DoubleLongLeftArrow":"\u27f8","DoubleLongLeftRightArrow":"\u27fa","DoubleLongRightArrow":"\u27f9","DoubleRightArrow":"\u21d2","DoubleRightTee":"\u22a8","DoubleUpArrow":"\u21d1","DoubleUpDownArrow":"\u21d5","DoubleVerticalBar":"\u2225","DownArrowBar":"\u2913","downarrow":"\u2193","DownArrow":"\u2193","Downarrow":"\u21d3","DownArrowUpArrow":"\u21f5","DownBreve":"\u0311","downdownarrows":"\u21ca","downharpoonleft":"\u21c3","downharpoonright":"\u21c2","DownLeftRightVector":"\u2950","DownLeftTeeVector":"\u295e","DownLeftVectorBar":"\u2956","DownLeftVector":"\u21bd","DownRightTeeVector":"\u295f","DownRightVectorBar":"\u2957","DownRightVector":"\u21c1","DownTeeArrow":"\u21a7","DownTee":"\u22a4","drbkarow":"\u2910","drcorn":"\u231f","drcrop":"\u230c","Dscr":"\ud835\udc9f","dscr":"\ud835\udcb9","DScy":"\u0405","dscy":"\u0455","dsol":"\u29f6","Dstrok":"\u0110","dstrok":"\u0111","dtdot":"\u22f1","dtri":"\u25bf","dtrif":"\u25be","duarr":"\u21f5","duhar":"\u296f","dwangle":"\u29a6","DZcy":"\u040f","dzcy":"\u045f","dzigrarr":"\u27ff","Eacute":"\xc9","eacute":"\xe9","easter":"\u2a6e","Ecaron":"\u011a","ecaron":"\u011b","Ecirc":"\xca","ecirc":"\xea","ecir":"\u2256","ecolon":"\u2255","Ecy":"\u042d","ecy":"\u044d","eDDot":"\u2a77","Edot":"\u0116","edot":"\u0117","eDot":"\u2251","ee":"\u2147","efDot":"\u2252","Efr":"\ud835\udd08","efr":"\ud835\udd22","eg":"\u2a9a","Egrave":"\xc8","egrave":"\xe8","egs":"\u2a96","egsdot":"\u2a98","el":"\u2a99","Element":"\u2208","elinters":"\u23e7","ell":"\u2113","els":"\u2a95","elsdot":"\u2a97","Emacr":"\u0112","emacr":"\u0113","empty":"\u2205","emptyset":"\u2205","EmptySmallSquare":"\u25fb","emptyv":"\u2205","EmptyVerySmallSquare":"\u25ab","emsp13":"\u2004","emsp14":"\u2005","emsp":"\u2003","ENG":"\u014a","eng":"\u014b","ensp":"\u2002","Eogon":"\u0118","eogon":"\u0119","Eopf":"\ud835\udd3c","eopf":"\ud835\udd56","epar":"\u22d5","eparsl":"\u29e3","eplus":"\u2a71","epsi":"\u03b5","Epsilon":"\u0395","epsilon":"\u03b5","epsiv":"\u03f5","eqcirc":"\u2256","eqcolon":"\u2255","eqsim":"\u2242","eqslantgtr":"\u2a96","eqslantless":"\u2a95","Equal":"\u2a75","equals":"=","EqualTilde":"\u2242","equest":"\u225f","Equilibrium":"\u21cc","equiv":"\u2261","equivDD":"\u2a78","eqvparsl":"\u29e5","erarr":"\u2971","erDot":"\u2253","escr":"\u212f","Escr":"\u2130","esdot":"\u2250","Esim":"\u2a73","esim":"\u2242","Eta":"\u0397","eta":"\u03b7","ETH":"\xd0","eth":"\xf0","Euml":"\xcb","euml":"\xeb","euro":"\u20ac","excl":"!","exist":"\u2203","Exists":"\u2203","expectation":"\u2130","exponentiale":"\u2147","ExponentialE":"\u2147","fallingdotseq":"\u2252","Fcy":"\u0424","fcy":"\u0444","female":"\u2640","ffilig":"\ufb03","fflig":"\ufb00","ffllig":"\ufb04","Ffr":"\ud835\udd09","ffr":"\ud835\udd23","filig":"\ufb01","FilledSmallSquare":"\u25fc","FilledVerySmallSquare":"\u25aa","fjlig":"fj","flat":"\u266d","fllig":"\ufb02","fltns":"\u25b1","fnof":"\u0192","Fopf":"\ud835\udd3d","fopf":"\ud835\udd57","forall":"\u2200","ForAll":"\u2200","fork":"\u22d4","forkv":"\u2ad9","Fouriertrf":"\u2131","fpartint":"\u2a0d","frac12":"\xbd","frac13":"\u2153","frac14":"\xbc","frac15":"\u2155","frac16":"\u2159","frac18":"\u215b","frac23":"\u2154","frac25":"\u2156","frac34":"\xbe","frac35":"\u2157","frac38":"\u215c","frac45":"\u2158","frac56":"\u215a","frac58":"\u215d","frac78":"\u215e","frasl":"\u2044","frown":"\u2322","fscr":"\ud835\udcbb","Fscr":"\u2131","gacute":"\u01f5","Gamma":"\u0393","gamma":"\u03b3","Gammad":"\u03dc","gammad":"\u03dd","gap":"\u2a86","Gbreve":"\u011e","gbreve":"\u011f","Gcedil":"\u0122","Gcirc":"\u011c","gcirc":"\u011d","Gcy":"\u0413","gcy":"\u0433","Gdot":"\u0120","gdot":"\u0121","ge":"\u2265","gE":"\u2267","gEl":"\u2a8c","gel":"\u22db","geq":"\u2265","geqq":"\u2267","geqslant":"\u2a7e","gescc":"\u2aa9","ges":"\u2a7e","gesdot":"\u2a80","gesdoto":"\u2a82","gesdotol":"\u2a84","gesl":"\u22db\ufe00","gesles":"\u2a94","Gfr":"\ud835\udd0a","gfr":"\ud835\udd24","gg":"\u226b","Gg":"\u22d9","ggg":"\u22d9","gimel":"\u2137","GJcy":"\u0403","gjcy":"\u0453","gla":"\u2aa5","gl":"\u2277","glE":"\u2a92","glj":"\u2aa4","gnap":"\u2a8a","gnapprox":"\u2a8a","gne":"\u2a88","gnE":"\u2269","gneq":"\u2a88","gneqq":"\u2269","gnsim":"\u22e7","Gopf":"\ud835\udd3e","gopf":"\ud835\udd58","grave":"`","GreaterEqual":"\u2265","GreaterEqualLess":"\u22db","GreaterFullEqual":"\u2267","GreaterGreater":"\u2aa2","GreaterLess":"\u2277","GreaterSlantEqual":"\u2a7e","GreaterTilde":"\u2273","Gscr":"\ud835\udca2","gscr":"\u210a","gsim":"\u2273","gsime":"\u2a8e","gsiml":"\u2a90","gtcc":"\u2aa7","gtcir":"\u2a7a","gt":">","GT":">","Gt":"\u226b","gtdot":"\u22d7","gtlPar":"\u2995","gtquest":"\u2a7c","gtrapprox":"\u2a86","gtrarr":"\u2978","gtrdot":"\u22d7","gtreqless":"\u22db","gtreqqless":"\u2a8c","gtrless":"\u2277","gtrsim":"\u2273","gvertneqq":"\u2269\ufe00","gvnE":"\u2269\ufe00","Hacek":"\u02c7","hairsp":"\u200a","half":"\xbd","hamilt":"\u210b","HARDcy":"\u042a","hardcy":"\u044a","harrcir":"\u2948","harr":"\u2194","hArr":"\u21d4","harrw":"\u21ad","Hat":"^","hbar":"\u210f","Hcirc":"\u0124","hcirc":"\u0125","hearts":"\u2665","heartsuit":"\u2665","hellip":"\u2026","hercon":"\u22b9","hfr":"\ud835\udd25","Hfr":"\u210c","HilbertSpace":"\u210b","hksearow":"\u2925","hkswarow":"\u2926","hoarr":"\u21ff","homtht":"\u223b","hookleftarrow":"\u21a9","hookrightarrow":"\u21aa","hopf":"\ud835\udd59","Hopf":"\u210d","horbar":"\u2015","HorizontalLine":"\u2500","hscr":"\ud835\udcbd","Hscr":"\u210b","hslash":"\u210f","Hstrok":"\u0126","hstrok":"\u0127","HumpDownHump":"\u224e","HumpEqual":"\u224f","hybull":"\u2043","hyphen":"\u2010","Iacute":"\xcd","iacute":"\xed","ic":"\u2063","Icirc":"\xce","icirc":"\xee","Icy":"\u0418","icy":"\u0438","Idot":"\u0130","IEcy":"\u0415","iecy":"\u0435","iexcl":"\xa1","iff":"\u21d4","ifr":"\ud835\udd26","Ifr":"\u2111","Igrave":"\xcc","igrave":"\xec","ii":"\u2148","iiiint":"\u2a0c","iiint":"\u222d","iinfin":"\u29dc","iiota":"\u2129","IJlig":"\u0132","ijlig":"\u0133","Imacr":"\u012a","imacr":"\u012b","image":"\u2111","ImaginaryI":"\u2148","imagline":"\u2110","imagpart":"\u2111","imath":"\u0131","Im":"\u2111","imof":"\u22b7","imped":"\u01b5","Implies":"\u21d2","incare":"\u2105","in":"\u2208","infin":"\u221e","infintie":"\u29dd","inodot":"\u0131","intcal":"\u22ba","int":"\u222b","Int":"\u222c","integers":"\u2124","Integral":"\u222b","intercal":"\u22ba","Intersection":"\u22c2","intlarhk":"\u2a17","intprod":"\u2a3c","InvisibleComma":"\u2063","InvisibleTimes":"\u2062","IOcy":"\u0401","iocy":"\u0451","Iogon":"\u012e","iogon":"\u012f","Iopf":"\ud835\udd40","iopf":"\ud835\udd5a","Iota":"\u0399","iota":"\u03b9","iprod":"\u2a3c","iquest":"\xbf","iscr":"\ud835\udcbe","Iscr":"\u2110","isin":"\u2208","isindot":"\u22f5","isinE":"\u22f9","isins":"\u22f4","isinsv":"\u22f3","isinv":"\u2208","it":"\u2062","Itilde":"\u0128","itilde":"\u0129","Iukcy":"\u0406","iukcy":"\u0456","Iuml":"\xcf","iuml":"\xef","Jcirc":"\u0134","jcirc":"\u0135","Jcy":"\u0419","jcy":"\u0439","Jfr":"\ud835\udd0d","jfr":"\ud835\udd27","jmath":"\u0237","Jopf":"\ud835\udd41","jopf":"\ud835\udd5b","Jscr":"\ud835\udca5","jscr":"\ud835\udcbf","Jsercy":"\u0408","jsercy":"\u0458","Jukcy":"\u0404","jukcy":"\u0454","Kappa":"\u039a","kappa":"\u03ba","kappav":"\u03f0","Kcedil":"\u0136","kcedil":"\u0137","Kcy":"\u041a","kcy":"\u043a","Kfr":"\ud835\udd0e","kfr":"\ud835\udd28","kgreen":"\u0138","KHcy":"\u0425","khcy":"\u0445","KJcy":"\u040c","kjcy":"\u045c","Kopf":"\ud835\udd42","kopf":"\ud835\udd5c","Kscr":"\ud835\udca6","kscr":"\ud835\udcc0","lAarr":"\u21da","Lacute":"\u0139","lacute":"\u013a","laemptyv":"\u29b4","lagran":"\u2112","Lambda":"\u039b","lambda":"\u03bb","lang":"\u27e8","Lang":"\u27ea","langd":"\u2991","langle":"\u27e8","lap":"\u2a85","Laplacetrf":"\u2112","laquo":"\xab","larrb":"\u21e4","larrbfs":"\u291f","larr":"\u2190","Larr":"\u219e","lArr":"\u21d0","larrfs":"\u291d","larrhk":"\u21a9","larrlp":"\u21ab","larrpl":"\u2939","larrsim":"\u2973","larrtl":"\u21a2","latail":"\u2919","lAtail":"\u291b","lat":"\u2aab","late":"\u2aad","lates":"\u2aad\ufe00","lbarr":"\u290c","lBarr":"\u290e","lbbrk":"\u2772","lbrace":"{","lbrack":"[","lbrke":"\u298b","lbrksld":"\u298f","lbrkslu":"\u298d","Lcaron":"\u013d","lcaron":"\u013e","Lcedil":"\u013b","lcedil":"\u013c","lceil":"\u2308","lcub":"{","Lcy":"\u041b","lcy":"\u043b","ldca":"\u2936","ldquo":"\u201c","ldquor":"\u201e","ldrdhar":"\u2967","ldrushar":"\u294b","ldsh":"\u21b2","le":"\u2264","lE":"\u2266","LeftAngleBracket":"\u27e8","LeftArrowBar":"\u21e4","leftarrow":"\u2190","LeftArrow":"\u2190","Leftarrow":"\u21d0","LeftArrowRightArrow":"\u21c6","leftarrowtail":"\u21a2","LeftCeiling":"\u2308","LeftDoubleBracket":"\u27e6","LeftDownTeeVector":"\u2961","LeftDownVectorBar":"\u2959","LeftDownVector":"\u21c3","LeftFloor":"\u230a","leftharpoondown":"\u21bd","leftharpoonup":"\u21bc","leftleftarrows":"\u21c7","leftrightarrow":"\u2194","LeftRightArrow":"\u2194","Leftrightarrow":"\u21d4","leftrightarrows":"\u21c6","leftrightharpoons":"\u21cb","leftrightsquigarrow":"\u21ad","LeftRightVector":"\u294e","LeftTeeArrow":"\u21a4","LeftTee":"\u22a3","LeftTeeVector":"\u295a","leftthreetimes":"\u22cb","LeftTriangleBar":"\u29cf","LeftTriangle":"\u22b2","LeftTriangleEqual":"\u22b4","LeftUpDownVector":"\u2951","LeftUpTeeVector":"\u2960","LeftUpVectorBar":"\u2958","LeftUpVector":"\u21bf","LeftVectorBar":"\u2952","LeftVector":"\u21bc","lEg":"\u2a8b","leg":"\u22da","leq":"\u2264","leqq":"\u2266","leqslant":"\u2a7d","lescc":"\u2aa8","les":"\u2a7d","lesdot":"\u2a7f","lesdoto":"\u2a81","lesdotor":"\u2a83","lesg":"\u22da\ufe00","lesges":"\u2a93","lessapprox":"\u2a85","lessdot":"\u22d6","lesseqgtr":"\u22da","lesseqqgtr":"\u2a8b","LessEqualGreater":"\u22da","LessFullEqual":"\u2266","LessGreater":"\u2276","lessgtr":"\u2276","LessLess":"\u2aa1","lesssim":"\u2272","LessSlantEqual":"\u2a7d","LessTilde":"\u2272","lfisht":"\u297c","lfloor":"\u230a","Lfr":"\ud835\udd0f","lfr":"\ud835\udd29","lg":"\u2276","lgE":"\u2a91","lHar":"\u2962","lhard":"\u21bd","lharu":"\u21bc","lharul":"\u296a","lhblk":"\u2584","LJcy":"\u0409","ljcy":"\u0459","llarr":"\u21c7","ll":"\u226a","Ll":"\u22d8","llcorner":"\u231e","Lleftarrow":"\u21da","llhard":"\u296b","lltri":"\u25fa","Lmidot":"\u013f","lmidot":"\u0140","lmoustache":"\u23b0","lmoust":"\u23b0","lnap":"\u2a89","lnapprox":"\u2a89","lne":"\u2a87","lnE":"\u2268","lneq":"\u2a87","lneqq":"\u2268","lnsim":"\u22e6","loang":"\u27ec","loarr":"\u21fd","lobrk":"\u27e6","longleftarrow":"\u27f5","LongLeftArrow":"\u27f5","Longleftarrow":"\u27f8","longleftrightarrow":"\u27f7","LongLeftRightArrow":"\u27f7","Longleftrightarrow":"\u27fa","longmapsto":"\u27fc","longrightarrow":"\u27f6","LongRightArrow":"\u27f6","Longrightarrow":"\u27f9","looparrowleft":"\u21ab","looparrowright":"\u21ac","lopar":"\u2985","Lopf":"\ud835\udd43","lopf":"\ud835\udd5d","loplus":"\u2a2d","lotimes":"\u2a34","lowast":"\u2217","lowbar":"_","LowerLeftArrow":"\u2199","LowerRightArrow":"\u2198","loz":"\u25ca","lozenge":"\u25ca","lozf":"\u29eb","lpar":"(","lparlt":"\u2993","lrarr":"\u21c6","lrcorner":"\u231f","lrhar":"\u21cb","lrhard":"\u296d","lrm":"\u200e","lrtri":"\u22bf","lsaquo":"\u2039","lscr":"\ud835\udcc1","Lscr":"\u2112","lsh":"\u21b0","Lsh":"\u21b0","lsim":"\u2272","lsime":"\u2a8d","lsimg":"\u2a8f","lsqb":"[","lsquo":"\u2018","lsquor":"\u201a","Lstrok":"\u0141","lstrok":"\u0142","ltcc":"\u2aa6","ltcir":"\u2a79","lt":"<","LT":"<","Lt":"\u226a","ltdot":"\u22d6","lthree":"\u22cb","ltimes":"\u22c9","ltlarr":"\u2976","ltquest":"\u2a7b","ltri":"\u25c3","ltrie":"\u22b4","ltrif":"\u25c2","ltrPar":"\u2996","lurdshar":"\u294a","luruhar":"\u2966","lvertneqq":"\u2268\ufe00","lvnE":"\u2268\ufe00","macr":"\xaf","male":"\u2642","malt":"\u2720","maltese":"\u2720","Map":"\u2905","map":"\u21a6","mapsto":"\u21a6","mapstodown":"\u21a7","mapstoleft":"\u21a4","mapstoup":"\u21a5","marker":"\u25ae","mcomma":"\u2a29","Mcy":"\u041c","mcy":"\u043c","mdash":"\u2014","mDDot":"\u223a","measuredangle":"\u2221","MediumSpace":"\u205f","Mellintrf":"\u2133","Mfr":"\ud835\udd10","mfr":"\ud835\udd2a","mho":"\u2127","micro":"\xb5","midast":"*","midcir":"\u2af0","mid":"\u2223","middot":"\xb7","minusb":"\u229f","minus":"\u2212","minusd":"\u2238","minusdu":"\u2a2a","MinusPlus":"\u2213","mlcp":"\u2adb","mldr":"\u2026","mnplus":"\u2213","models":"\u22a7","Mopf":"\ud835\udd44","mopf":"\ud835\udd5e","mp":"\u2213","mscr":"\ud835\udcc2","Mscr":"\u2133","mstpos":"\u223e","Mu":"\u039c","mu":"\u03bc","multimap":"\u22b8","mumap":"\u22b8","nabla":"\u2207","Nacute":"\u0143","nacute":"\u0144","nang":"\u2220\u20d2","nap":"\u2249","napE":"\u2a70\u0338","napid":"\u224b\u0338","napos":"\u0149","napprox":"\u2249","natural":"\u266e","naturals":"\u2115","natur":"\u266e","nbsp":"\xa0","nbump":"\u224e\u0338","nbumpe":"\u224f\u0338","ncap":"\u2a43","Ncaron":"\u0147","ncaron":"\u0148","Ncedil":"\u0145","ncedil":"\u0146","ncong":"\u2247","ncongdot":"\u2a6d\u0338","ncup":"\u2a42","Ncy":"\u041d","ncy":"\u043d","ndash":"\u2013","nearhk":"\u2924","nearr":"\u2197","neArr":"\u21d7","nearrow":"\u2197","ne":"\u2260","nedot":"\u2250\u0338","NegativeMediumSpace":"\u200b","NegativeThickSpace":"\u200b","NegativeThinSpace":"\u200b","NegativeVeryThinSpace":"\u200b","nequiv":"\u2262","nesear":"\u2928","nesim":"\u2242\u0338","NestedGreaterGreater":"\u226b","NestedLessLess":"\u226a","NewLine":"\\n","nexist":"\u2204","nexists":"\u2204","Nfr":"\ud835\udd11","nfr":"\ud835\udd2b","ngE":"\u2267\u0338","nge":"\u2271","ngeq":"\u2271","ngeqq":"\u2267\u0338","ngeqslant":"\u2a7e\u0338","nges":"\u2a7e\u0338","nGg":"\u22d9\u0338","ngsim":"\u2275","nGt":"\u226b\u20d2","ngt":"\u226f","ngtr":"\u226f","nGtv":"\u226b\u0338","nharr":"\u21ae","nhArr":"\u21ce","nhpar":"\u2af2","ni":"\u220b","nis":"\u22fc","nisd":"\u22fa","niv":"\u220b","NJcy":"\u040a","njcy":"\u045a","nlarr":"\u219a","nlArr":"\u21cd","nldr":"\u2025","nlE":"\u2266\u0338","nle":"\u2270","nleftarrow":"\u219a","nLeftarrow":"\u21cd","nleftrightarrow":"\u21ae","nLeftrightarrow":"\u21ce","nleq":"\u2270","nleqq":"\u2266\u0338","nleqslant":"\u2a7d\u0338","nles":"\u2a7d\u0338","nless":"\u226e","nLl":"\u22d8\u0338","nlsim":"\u2274","nLt":"\u226a\u20d2","nlt":"\u226e","nltri":"\u22ea","nltrie":"\u22ec","nLtv":"\u226a\u0338","nmid":"\u2224","NoBreak":"\u2060","NonBreakingSpace":"\xa0","nopf":"\ud835\udd5f","Nopf":"\u2115","Not":"\u2aec","not":"\xac","NotCongruent":"\u2262","NotCupCap":"\u226d","NotDoubleVerticalBar":"\u2226","NotElement":"\u2209","NotEqual":"\u2260","NotEqualTilde":"\u2242\u0338","NotExists":"\u2204","NotGreater":"\u226f","NotGreaterEqual":"\u2271","NotGreaterFullEqual":"\u2267\u0338","NotGreaterGreater":"\u226b\u0338","NotGreaterLess":"\u2279","NotGreaterSlantEqual":"\u2a7e\u0338","NotGreaterTilde":"\u2275","NotHumpDownHump":"\u224e\u0338","NotHumpEqual":"\u224f\u0338","notin":"\u2209","notindot":"\u22f5\u0338","notinE":"\u22f9\u0338","notinva":"\u2209","notinvb":"\u22f7","notinvc":"\u22f6","NotLeftTriangleBar":"\u29cf\u0338","NotLeftTriangle":"\u22ea","NotLeftTriangleEqual":"\u22ec","NotLess":"\u226e","NotLessEqual":"\u2270","NotLessGreater":"\u2278","NotLessLess":"\u226a\u0338","NotLessSlantEqual":"\u2a7d\u0338","NotLessTilde":"\u2274","NotNestedGreaterGreater":"\u2aa2\u0338","NotNestedLessLess":"\u2aa1\u0338","notni":"\u220c","notniva":"\u220c","notnivb":"\u22fe","notnivc":"\u22fd","NotPrecedes":"\u2280","NotPrecedesEqual":"\u2aaf\u0338","NotPrecedesSlantEqual":"\u22e0","NotReverseElement":"\u220c","NotRightTriangleBar":"\u29d0\u0338","NotRightTriangle":"\u22eb","NotRightTriangleEqual":"\u22ed","NotSquareSubset":"\u228f\u0338","NotSquareSubsetEqual":"\u22e2","NotSquareSuperset":"\u2290\u0338","NotSquareSupersetEqual":"\u22e3","NotSubset":"\u2282\u20d2","NotSubsetEqual":"\u2288","NotSucceeds":"\u2281","NotSucceedsEqual":"\u2ab0\u0338","NotSucceedsSlantEqual":"\u22e1","NotSucceedsTilde":"\u227f\u0338","NotSuperset":"\u2283\u20d2","NotSupersetEqual":"\u2289","NotTilde":"\u2241","NotTildeEqual":"\u2244","NotTildeFullEqual":"\u2247","NotTildeTilde":"\u2249","NotVerticalBar":"\u2224","nparallel":"\u2226","npar":"\u2226","nparsl":"\u2afd\u20e5","npart":"\u2202\u0338","npolint":"\u2a14","npr":"\u2280","nprcue":"\u22e0","nprec":"\u2280","npreceq":"\u2aaf\u0338","npre":"\u2aaf\u0338","nrarrc":"\u2933\u0338","nrarr":"\u219b","nrArr":"\u21cf","nrarrw":"\u219d\u0338","nrightarrow":"\u219b","nRightarrow":"\u21cf","nrtri":"\u22eb","nrtrie":"\u22ed","nsc":"\u2281","nsccue":"\u22e1","nsce":"\u2ab0\u0338","Nscr":"\ud835\udca9","nscr":"\ud835\udcc3","nshortmid":"\u2224","nshortparallel":"\u2226","nsim":"\u2241","nsime":"\u2244","nsimeq":"\u2244","nsmid":"\u2224","nspar":"\u2226","nsqsube":"\u22e2","nsqsupe":"\u22e3","nsub":"\u2284","nsubE":"\u2ac5\u0338","nsube":"\u2288","nsubset":"\u2282\u20d2","nsubseteq":"\u2288","nsubseteqq":"\u2ac5\u0338","nsucc":"\u2281","nsucceq":"\u2ab0\u0338","nsup":"\u2285","nsupE":"\u2ac6\u0338","nsupe":"\u2289","nsupset":"\u2283\u20d2","nsupseteq":"\u2289","nsupseteqq":"\u2ac6\u0338","ntgl":"\u2279","Ntilde":"\xd1","ntilde":"\xf1","ntlg":"\u2278","ntriangleleft":"\u22ea","ntrianglelefteq":"\u22ec","ntriangleright":"\u22eb","ntrianglerighteq":"\u22ed","Nu":"\u039d","nu":"\u03bd","num":"#","numero":"\u2116","numsp":"\u2007","nvap":"\u224d\u20d2","nvdash":"\u22ac","nvDash":"\u22ad","nVdash":"\u22ae","nVDash":"\u22af","nvge":"\u2265\u20d2","nvgt":">\u20d2","nvHarr":"\u2904","nvinfin":"\u29de","nvlArr":"\u2902","nvle":"\u2264\u20d2","nvlt":"<\u20d2","nvltrie":"\u22b4\u20d2","nvrArr":"\u2903","nvrtrie":"\u22b5\u20d2","nvsim":"\u223c\u20d2","nwarhk":"\u2923","nwarr":"\u2196","nwArr":"\u21d6","nwarrow":"\u2196","nwnear":"\u2927","Oacute":"\xd3","oacute":"\xf3","oast":"\u229b","Ocirc":"\xd4","ocirc":"\xf4","ocir":"\u229a","Ocy":"\u041e","ocy":"\u043e","odash":"\u229d","Odblac":"\u0150","odblac":"\u0151","odiv":"\u2a38","odot":"\u2299","odsold":"\u29bc","OElig":"\u0152","oelig":"\u0153","ofcir":"\u29bf","Ofr":"\ud835\udd12","ofr":"\ud835\udd2c","ogon":"\u02db","Ograve":"\xd2","ograve":"\xf2","ogt":"\u29c1","ohbar":"\u29b5","ohm":"\u03a9","oint":"\u222e","olarr":"\u21ba","olcir":"\u29be","olcross":"\u29bb","oline":"\u203e","olt":"\u29c0","Omacr":"\u014c","omacr":"\u014d","Omega":"\u03a9","omega":"\u03c9","Omicron":"\u039f","omicron":"\u03bf","omid":"\u29b6","ominus":"\u2296","Oopf":"\ud835\udd46","oopf":"\ud835\udd60","opar":"\u29b7","OpenCurlyDoubleQuote":"\u201c","OpenCurlyQuote":"\u2018","operp":"\u29b9","oplus":"\u2295","orarr":"\u21bb","Or":"\u2a54","or":"\u2228","ord":"\u2a5d","order":"\u2134","orderof":"\u2134","ordf":"\xaa","ordm":"\xba","origof":"\u22b6","oror":"\u2a56","orslope":"\u2a57","orv":"\u2a5b","oS":"\u24c8","Oscr":"\ud835\udcaa","oscr":"\u2134","Oslash":"\xd8","oslash":"\xf8","osol":"\u2298","Otilde":"\xd5","otilde":"\xf5","otimesas":"\u2a36","Otimes":"\u2a37","otimes":"\u2297","Ouml":"\xd6","ouml":"\xf6","ovbar":"\u233d","OverBar":"\u203e","OverBrace":"\u23de","OverBracket":"\u23b4","OverParenthesis":"\u23dc","para":"\xb6","parallel":"\u2225","par":"\u2225","parsim":"\u2af3","parsl":"\u2afd","part":"\u2202","PartialD":"\u2202","Pcy":"\u041f","pcy":"\u043f","percnt":"%","period":".","permil":"\u2030","perp":"\u22a5","pertenk":"\u2031","Pfr":"\ud835\udd13","pfr":"\ud835\udd2d","Phi":"\u03a6","phi":"\u03c6","phiv":"\u03d5","phmmat":"\u2133","phone":"\u260e","Pi":"\u03a0","pi":"\u03c0","pitchfork":"\u22d4","piv":"\u03d6","planck":"\u210f","planckh":"\u210e","plankv":"\u210f","plusacir":"\u2a23","plusb":"\u229e","pluscir":"\u2a22","plus":"+","plusdo":"\u2214","plusdu":"\u2a25","pluse":"\u2a72","PlusMinus":"\xb1","plusmn":"\xb1","plussim":"\u2a26","plustwo":"\u2a27","pm":"\xb1","Poincareplane":"\u210c","pointint":"\u2a15","popf":"\ud835\udd61","Popf":"\u2119","pound":"\xa3","prap":"\u2ab7","Pr":"\u2abb","pr":"\u227a","prcue":"\u227c","precapprox":"\u2ab7","prec":"\u227a","preccurlyeq":"\u227c","Precedes":"\u227a","PrecedesEqual":"\u2aaf","PrecedesSlantEqual":"\u227c","PrecedesTilde":"\u227e","preceq":"\u2aaf","precnapprox":"\u2ab9","precneqq":"\u2ab5","precnsim":"\u22e8","pre":"\u2aaf","prE":"\u2ab3","precsim":"\u227e","prime":"\u2032","Prime":"\u2033","primes":"\u2119","prnap":"\u2ab9","prnE":"\u2ab5","prnsim":"\u22e8","prod":"\u220f","Product":"\u220f","profalar":"\u232e","profline":"\u2312","profsurf":"\u2313","prop":"\u221d","Proportional":"\u221d","Proportion":"\u2237","propto":"\u221d","prsim":"\u227e","prurel":"\u22b0","Pscr":"\ud835\udcab","pscr":"\ud835\udcc5","Psi":"\u03a8","psi":"\u03c8","puncsp":"\u2008","Qfr":"\ud835\udd14","qfr":"\ud835\udd2e","qint":"\u2a0c","qopf":"\ud835\udd62","Qopf":"\u211a","qprime":"\u2057","Qscr":"\ud835\udcac","qscr":"\ud835\udcc6","quaternions":"\u210d","quatint":"\u2a16","quest":"?","questeq":"\u225f","quot":"\\"","QUOT":"\\"","rAarr":"\u21db","race":"\u223d\u0331","Racute":"\u0154","racute":"\u0155","radic":"\u221a","raemptyv":"\u29b3","rang":"\u27e9","Rang":"\u27eb","rangd":"\u2992","range":"\u29a5","rangle":"\u27e9","raquo":"\xbb","rarrap":"\u2975","rarrb":"\u21e5","rarrbfs":"\u2920","rarrc":"\u2933","rarr":"\u2192","Rarr":"\u21a0","rArr":"\u21d2","rarrfs":"\u291e","rarrhk":"\u21aa","rarrlp":"\u21ac","rarrpl":"\u2945","rarrsim":"\u2974","Rarrtl":"\u2916","rarrtl":"\u21a3","rarrw":"\u219d","ratail":"\u291a","rAtail":"\u291c","ratio":"\u2236","rationals":"\u211a","rbarr":"\u290d","rBarr":"\u290f","RBarr":"\u2910","rbbrk":"\u2773","rbrace":"}","rbrack":"]","rbrke":"\u298c","rbrksld":"\u298e","rbrkslu":"\u2990","Rcaron":"\u0158","rcaron":"\u0159","Rcedil":"\u0156","rcedil":"\u0157","rceil":"\u2309","rcub":"}","Rcy":"\u0420","rcy":"\u0440","rdca":"\u2937","rdldhar":"\u2969","rdquo":"\u201d","rdquor":"\u201d","rdsh":"\u21b3","real":"\u211c","realine":"\u211b","realpart":"\u211c","reals":"\u211d","Re":"\u211c","rect":"\u25ad","reg":"\xae","REG":"\xae","ReverseElement":"\u220b","ReverseEquilibrium":"\u21cb","ReverseUpEquilibrium":"\u296f","rfisht":"\u297d","rfloor":"\u230b","rfr":"\ud835\udd2f","Rfr":"\u211c","rHar":"\u2964","rhard":"\u21c1","rharu":"\u21c0","rharul":"\u296c","Rho":"\u03a1","rho":"\u03c1","rhov":"\u03f1","RightAngleBracket":"\u27e9","RightArrowBar":"\u21e5","rightarrow":"\u2192","RightArrow":"\u2192","Rightarrow":"\u21d2","RightArrowLeftArrow":"\u21c4","rightarrowtail":"\u21a3","RightCeiling":"\u2309","RightDoubleBracket":"\u27e7","RightDownTeeVector":"\u295d","RightDownVectorBar":"\u2955","RightDownVector":"\u21c2","RightFloor":"\u230b","rightharpoondown":"\u21c1","rightharpoonup":"\u21c0","rightleftarrows":"\u21c4","rightleftharpoons":"\u21cc","rightrightarrows":"\u21c9","rightsquigarrow":"\u219d","RightTeeArrow":"\u21a6","RightTee":"\u22a2","RightTeeVector":"\u295b","rightthreetimes":"\u22cc","RightTriangleBar":"\u29d0","RightTriangle":"\u22b3","RightTriangleEqual":"\u22b5","RightUpDownVector":"\u294f","RightUpTeeVector":"\u295c","RightUpVectorBar":"\u2954","RightUpVector":"\u21be","RightVectorBar":"\u2953","RightVector":"\u21c0","ring":"\u02da","risingdotseq":"\u2253","rlarr":"\u21c4","rlhar":"\u21cc","rlm":"\u200f","rmoustache":"\u23b1","rmoust":"\u23b1","rnmid":"\u2aee","roang":"\u27ed","roarr":"\u21fe","robrk":"\u27e7","ropar":"\u2986","ropf":"\ud835\udd63","Ropf":"\u211d","roplus":"\u2a2e","rotimes":"\u2a35","RoundImplies":"\u2970","rpar":")","rpargt":"\u2994","rppolint":"\u2a12","rrarr":"\u21c9","Rrightarrow":"\u21db","rsaquo":"\u203a","rscr":"\ud835\udcc7","Rscr":"\u211b","rsh":"\u21b1","Rsh":"\u21b1","rsqb":"]","rsquo":"\u2019","rsquor":"\u2019","rthree":"\u22cc","rtimes":"\u22ca","rtri":"\u25b9","rtrie":"\u22b5","rtrif":"\u25b8","rtriltri":"\u29ce","RuleDelayed":"\u29f4","ruluhar":"\u2968","rx":"\u211e","Sacute":"\u015a","sacute":"\u015b","sbquo":"\u201a","scap":"\u2ab8","Scaron":"\u0160","scaron":"\u0161","Sc":"\u2abc","sc":"\u227b","sccue":"\u227d","sce":"\u2ab0","scE":"\u2ab4","Scedil":"\u015e","scedil":"\u015f","Scirc":"\u015c","scirc":"\u015d","scnap":"\u2aba","scnE":"\u2ab6","scnsim":"\u22e9","scpolint":"\u2a13","scsim":"\u227f","Scy":"\u0421","scy":"\u0441","sdotb":"\u22a1","sdot":"\u22c5","sdote":"\u2a66","searhk":"\u2925","searr":"\u2198","seArr":"\u21d8","searrow":"\u2198","sect":"\xa7","semi":";","seswar":"\u2929","setminus":"\u2216","setmn":"\u2216","sext":"\u2736","Sfr":"\ud835\udd16","sfr":"\ud835\udd30","sfrown":"\u2322","sharp":"\u266f","SHCHcy":"\u0429","shchcy":"\u0449","SHcy":"\u0428","shcy":"\u0448","ShortDownArrow":"\u2193","ShortLeftArrow":"\u2190","shortmid":"\u2223","shortparallel":"\u2225","ShortRightArrow":"\u2192","ShortUpArrow":"\u2191","shy":"\xad","Sigma":"\u03a3","sigma":"\u03c3","sigmaf":"\u03c2","sigmav":"\u03c2","sim":"\u223c","simdot":"\u2a6a","sime":"\u2243","simeq":"\u2243","simg":"\u2a9e","simgE":"\u2aa0","siml":"\u2a9d","simlE":"\u2a9f","simne":"\u2246","simplus":"\u2a24","simrarr":"\u2972","slarr":"\u2190","SmallCircle":"\u2218","smallsetminus":"\u2216","smashp":"\u2a33","smeparsl":"\u29e4","smid":"\u2223","smile":"\u2323","smt":"\u2aaa","smte":"\u2aac","smtes":"\u2aac\ufe00","SOFTcy":"\u042c","softcy":"\u044c","solbar":"\u233f","solb":"\u29c4","sol":"/","Sopf":"\ud835\udd4a","sopf":"\ud835\udd64","spades":"\u2660","spadesuit":"\u2660","spar":"\u2225","sqcap":"\u2293","sqcaps":"\u2293\ufe00","sqcup":"\u2294","sqcups":"\u2294\ufe00","Sqrt":"\u221a","sqsub":"\u228f","sqsube":"\u2291","sqsubset":"\u228f","sqsubseteq":"\u2291","sqsup":"\u2290","sqsupe":"\u2292","sqsupset":"\u2290","sqsupseteq":"\u2292","square":"\u25a1","Square":"\u25a1","SquareIntersection":"\u2293","SquareSubset":"\u228f","SquareSubsetEqual":"\u2291","SquareSuperset":"\u2290","SquareSupersetEqual":"\u2292","SquareUnion":"\u2294","squarf":"\u25aa","squ":"\u25a1","squf":"\u25aa","srarr":"\u2192","Sscr":"\ud835\udcae","sscr":"\ud835\udcc8","ssetmn":"\u2216","ssmile":"\u2323","sstarf":"\u22c6","Star":"\u22c6","star":"\u2606","starf":"\u2605","straightepsilon":"\u03f5","straightphi":"\u03d5","strns":"\xaf","sub":"\u2282","Sub":"\u22d0","subdot":"\u2abd","subE":"\u2ac5","sube":"\u2286","subedot":"\u2ac3","submult":"\u2ac1","subnE":"\u2acb","subne":"\u228a","subplus":"\u2abf","subrarr":"\u2979","subset":"\u2282","Subset":"\u22d0","subseteq":"\u2286","subseteqq":"\u2ac5","SubsetEqual":"\u2286","subsetneq":"\u228a","subsetneqq":"\u2acb","subsim":"\u2ac7","subsub":"\u2ad5","subsup":"\u2ad3","succapprox":"\u2ab8","succ":"\u227b","succcurlyeq":"\u227d","Succeeds":"\u227b","SucceedsEqual":"\u2ab0","SucceedsSlantEqual":"\u227d","SucceedsTilde":"\u227f","succeq":"\u2ab0","succnapprox":"\u2aba","succneqq":"\u2ab6","succnsim":"\u22e9","succsim":"\u227f","SuchThat":"\u220b","sum":"\u2211","Sum":"\u2211","sung":"\u266a","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","sup":"\u2283","Sup":"\u22d1","supdot":"\u2abe","supdsub":"\u2ad8","supE":"\u2ac6","supe":"\u2287","supedot":"\u2ac4","Superset":"\u2283","SupersetEqual":"\u2287","suphsol":"\u27c9","suphsub":"\u2ad7","suplarr":"\u297b","supmult":"\u2ac2","supnE":"\u2acc","supne":"\u228b","supplus":"\u2ac0","supset":"\u2283","Supset":"\u22d1","supseteq":"\u2287","supseteqq":"\u2ac6","supsetneq":"\u228b","supsetneqq":"\u2acc","supsim":"\u2ac8","supsub":"\u2ad4","supsup":"\u2ad6","swarhk":"\u2926","swarr":"\u2199","swArr":"\u21d9","swarrow":"\u2199","swnwar":"\u292a","szlig":"\xdf","Tab":"\\t","target":"\u2316","Tau":"\u03a4","tau":"\u03c4","tbrk":"\u23b4","Tcaron":"\u0164","tcaron":"\u0165","Tcedil":"\u0162","tcedil":"\u0163","Tcy":"\u0422","tcy":"\u0442","tdot":"\u20db","telrec":"\u2315","Tfr":"\ud835\udd17","tfr":"\ud835\udd31","there4":"\u2234","therefore":"\u2234","Therefore":"\u2234","Theta":"\u0398","theta":"\u03b8","thetasym":"\u03d1","thetav":"\u03d1","thickapprox":"\u2248","thicksim":"\u223c","ThickSpace":"\u205f\u200a","ThinSpace":"\u2009","thinsp":"\u2009","thkap":"\u2248","thksim":"\u223c","THORN":"\xde","thorn":"\xfe","tilde":"\u02dc","Tilde":"\u223c","TildeEqual":"\u2243","TildeFullEqual":"\u2245","TildeTilde":"\u2248","timesbar":"\u2a31","timesb":"\u22a0","times":"\xd7","timesd":"\u2a30","tint":"\u222d","toea":"\u2928","topbot":"\u2336","topcir":"\u2af1","top":"\u22a4","Topf":"\ud835\udd4b","topf":"\ud835\udd65","topfork":"\u2ada","tosa":"\u2929","tprime":"\u2034","trade":"\u2122","TRADE":"\u2122","triangle":"\u25b5","triangledown":"\u25bf","triangleleft":"\u25c3","trianglelefteq":"\u22b4","triangleq":"\u225c","triangleright":"\u25b9","trianglerighteq":"\u22b5","tridot":"\u25ec","trie":"\u225c","triminus":"\u2a3a","TripleDot":"\u20db","triplus":"\u2a39","trisb":"\u29cd","tritime":"\u2a3b","trpezium":"\u23e2","Tscr":"\ud835\udcaf","tscr":"\ud835\udcc9","TScy":"\u0426","tscy":"\u0446","TSHcy":"\u040b","tshcy":"\u045b","Tstrok":"\u0166","tstrok":"\u0167","twixt":"\u226c","twoheadleftarrow":"\u219e","twoheadrightarrow":"\u21a0","Uacute":"\xda","uacute":"\xfa","uarr":"\u2191","Uarr":"\u219f","uArr":"\u21d1","Uarrocir":"\u2949","Ubrcy":"\u040e","ubrcy":"\u045e","Ubreve":"\u016c","ubreve":"\u016d","Ucirc":"\xdb","ucirc":"\xfb","Ucy":"\u0423","ucy":"\u0443","udarr":"\u21c5","Udblac":"\u0170","udblac":"\u0171","udhar":"\u296e","ufisht":"\u297e","Ufr":"\ud835\udd18","ufr":"\ud835\udd32","Ugrave":"\xd9","ugrave":"\xf9","uHar":"\u2963","uharl":"\u21bf","uharr":"\u21be","uhblk":"\u2580","ulcorn":"\u231c","ulcorner":"\u231c","ulcrop":"\u230f","ultri":"\u25f8","Umacr":"\u016a","umacr":"\u016b","uml":"\xa8","UnderBar":"_","UnderBrace":"\u23df","UnderBracket":"\u23b5","UnderParenthesis":"\u23dd","Union":"\u22c3","UnionPlus":"\u228e","Uogon":"\u0172","uogon":"\u0173","Uopf":"\ud835\udd4c","uopf":"\ud835\udd66","UpArrowBar":"\u2912","uparrow":"\u2191","UpArrow":"\u2191","Uparrow":"\u21d1","UpArrowDownArrow":"\u21c5","updownarrow":"\u2195","UpDownArrow":"\u2195","Updownarrow":"\u21d5","UpEquilibrium":"\u296e","upharpoonleft":"\u21bf","upharpoonright":"\u21be","uplus":"\u228e","UpperLeftArrow":"\u2196","UpperRightArrow":"\u2197","upsi":"\u03c5","Upsi":"\u03d2","upsih":"\u03d2","Upsilon":"\u03a5","upsilon":"\u03c5","UpTeeArrow":"\u21a5","UpTee":"\u22a5","upuparrows":"\u21c8","urcorn":"\u231d","urcorner":"\u231d","urcrop":"\u230e","Uring":"\u016e","uring":"\u016f","urtri":"\u25f9","Uscr":"\ud835\udcb0","uscr":"\ud835\udcca","utdot":"\u22f0","Utilde":"\u0168","utilde":"\u0169","utri":"\u25b5","utrif":"\u25b4","uuarr":"\u21c8","Uuml":"\xdc","uuml":"\xfc","uwangle":"\u29a7","vangrt":"\u299c","varepsilon":"\u03f5","varkappa":"\u03f0","varnothing":"\u2205","varphi":"\u03d5","varpi":"\u03d6","varpropto":"\u221d","varr":"\u2195","vArr":"\u21d5","varrho":"\u03f1","varsigma":"\u03c2","varsubsetneq":"\u228a\ufe00","varsubsetneqq":"\u2acb\ufe00","varsupsetneq":"\u228b\ufe00","varsupsetneqq":"\u2acc\ufe00","vartheta":"\u03d1","vartriangleleft":"\u22b2","vartriangleright":"\u22b3","vBar":"\u2ae8","Vbar":"\u2aeb","vBarv":"\u2ae9","Vcy":"\u0412","vcy":"\u0432","vdash":"\u22a2","vDash":"\u22a8","Vdash":"\u22a9","VDash":"\u22ab","Vdashl":"\u2ae6","veebar":"\u22bb","vee":"\u2228","Vee":"\u22c1","veeeq":"\u225a","vellip":"\u22ee","verbar":"|","Verbar":"\u2016","vert":"|","Vert":"\u2016","VerticalBar":"\u2223","VerticalLine":"|","VerticalSeparator":"\u2758","VerticalTilde":"\u2240","VeryThinSpace":"\u200a","Vfr":"\ud835\udd19","vfr":"\ud835\udd33","vltri":"\u22b2","vnsub":"\u2282\u20d2","vnsup":"\u2283\u20d2","Vopf":"\ud835\udd4d","vopf":"\ud835\udd67","vprop":"\u221d","vrtri":"\u22b3","Vscr":"\ud835\udcb1","vscr":"\ud835\udccb","vsubnE":"\u2acb\ufe00","vsubne":"\u228a\ufe00","vsupnE":"\u2acc\ufe00","vsupne":"\u228b\ufe00","Vvdash":"\u22aa","vzigzag":"\u299a","Wcirc":"\u0174","wcirc":"\u0175","wedbar":"\u2a5f","wedge":"\u2227","Wedge":"\u22c0","wedgeq":"\u2259","weierp":"\u2118","Wfr":"\ud835\udd1a","wfr":"\ud835\udd34","Wopf":"\ud835\udd4e","wopf":"\ud835\udd68","wp":"\u2118","wr":"\u2240","wreath":"\u2240","Wscr":"\ud835\udcb2","wscr":"\ud835\udccc","xcap":"\u22c2","xcirc":"\u25ef","xcup":"\u22c3","xdtri":"\u25bd","Xfr":"\ud835\udd1b","xfr":"\ud835\udd35","xharr":"\u27f7","xhArr":"\u27fa","Xi":"\u039e","xi":"\u03be","xlarr":"\u27f5","xlArr":"\u27f8","xmap":"\u27fc","xnis":"\u22fb","xodot":"\u2a00","Xopf":"\ud835\udd4f","xopf":"\ud835\udd69","xoplus":"\u2a01","xotime":"\u2a02","xrarr":"\u27f6","xrArr":"\u27f9","Xscr":"\ud835\udcb3","xscr":"\ud835\udccd","xsqcup":"\u2a06","xuplus":"\u2a04","xutri":"\u25b3","xvee":"\u22c1","xwedge":"\u22c0","Yacute":"\xdd","yacute":"\xfd","YAcy":"\u042f","yacy":"\u044f","Ycirc":"\u0176","ycirc":"\u0177","Ycy":"\u042b","ycy":"\u044b","yen":"\xa5","Yfr":"\ud835\udd1c","yfr":"\ud835\udd36","YIcy":"\u0407","yicy":"\u0457","Yopf":"\ud835\udd50","yopf":"\ud835\udd6a","Yscr":"\ud835\udcb4","yscr":"\ud835\udcce","YUcy":"\u042e","yucy":"\u044e","yuml":"\xff","Yuml":"\u0178","Zacute":"\u0179","zacute":"\u017a","Zcaron":"\u017d","zcaron":"\u017e","Zcy":"\u0417","zcy":"\u0437","Zdot":"\u017b","zdot":"\u017c","zeetrf":"\u2128","ZeroWidthSpace":"\u200b","Zeta":"\u0396","zeta":"\u03b6","zfr":"\ud835\udd37","Zfr":"\u2128","ZHcy":"\u0416","zhcy":"\u0436","zigrarr":"\u21dd","zopf":"\ud835\udd6b","Zopf":"\u2124","Zscr":"\ud835\udcb5","zscr":"\ud835\udccf","zwj":"\u200d","zwnj":"\u200c"}')}},function(t){t(t.s=56791)}]); \ No newline at end of file diff --git a/main-es2015.728826181a286a68e2c3.js b/main-es2015.728826181a286a68e2c3.js deleted file mode 100644 index f338e6fd1..000000000 --- a/main-es2015.728826181a286a68e2c3.js +++ /dev/null @@ -1 +0,0 @@ -var zw=Object.defineProperty,$w=Object.defineProperties,Gw=Object.getOwnPropertyDescriptors,$y=Object.getOwnPropertySymbols,Ww=Object.prototype.hasOwnProperty,Yw=Object.prototype.propertyIsEnumerable,Gy=(t,e,n)=>e in t?zw(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Jp=(t,e)=>{for(var n in e||(e={}))Ww.call(e,n)&&Gy(t,n,e[n]);if($y)for(var n of $y(e))Yw.call(e,n)&&Gy(t,n,e[n]);return t},Wy=(t,e)=>$w(t,Gw(e));(self.webpackChunkmaskito=self.webpackChunkmaskito||[]).push([[179,6429],{56083:function(t,e,n){"use strict";n.d(e,{l3:function(){return o},_j:function(){return i},LC:function(){return r},ZN:function(){return g},jt:function(){return a},pV:function(){return h},IO:function(){return d},vP:function(){return l},EY:function(){return p},oB:function(){return c},eR:function(){return u},X$:function(){return s},ZE:function(){return m},k1:function(){return v}});class i{}class r{}const o="*";function s(t,e){return{type:7,name:t,definitions:e,options:{}}}function a(t,e=null){return{type:4,styles:e,timings:t}}function l(t,e=null){return{type:2,steps:t,options:e}}function c(t){return{type:6,styles:t,offset:null}}function u(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}function h(t=null){return{type:9,options:t}}function d(t,e,n=null){return{type:11,selector:t,animation:e,options:n}}function p(t,e){return{type:12,timings:t,animation:e}}function f(t){Promise.resolve(null).then(t)}class g{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){f(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class m{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,i=0;const r=this.players.length;0==r?f(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==r&&this._onFinish()}),t.onDestroy(()=>{++n==r&&this._onDestroy()}),t.onStart(()=>{++i==r&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(t=>{const n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}getPosition(){const t=this.players.reduce((t,e)=>null===t||e.totalTime>t.totalTime?e:t,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}const v="!"},79221:function(t,e,n){"use strict";n.d(e,{Vi:function(){return M},Th:function(){return ne},NH:function(){return Ct},uL:function(){return _e},nV:function(){return O},DT:function(){return be},Ar:function(){return xt},QN:function(){return we}});var i=n(56083),r=n(74788);function o(){return"undefined"!=typeof window&&void 0!==window.document}function s(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function a(t){switch(t.length){case 0:return new i.ZN;case 1:return t[0];default:return new i.ZE(t)}}function l(t,e,n,r,o={},s={}){const a=[],l=[];let c=-1,u=null;if(r.forEach(t=>{const n=t.offset,r=n==c,h=r&&u||{};Object.keys(t).forEach(n=>{let r=n,l=t[n];if("offset"!==n)switch(r=e.normalizePropertyName(r,a),l){case i.k1:l=o[n];break;case i.l3:l=s[n];break;default:l=e.normalizeStyleValue(n,r,l,a)}h[r]=l}),r||l.push(h),u=h,c=n}),a.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${a.join(t)}`)}return l}function c(t,e,n,i){switch(e){case"start":t.onStart(()=>i(n&&u(n,"start",t)));break;case"done":t.onDone(()=>i(n&&u(n,"done",t)));break;case"destroy":t.onDestroy(()=>i(n&&u(n,"destroy",t)))}}function u(t,e,n){const i=n.totalTime,r=h(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==i?t.totalTime:i,!!n.disabled),o=t._data;return null!=o&&(r._data=o),r}function h(t,e,n,i,r="",o=0,s){return{element:t,triggerName:e,fromState:n,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function d(t,e,n){let i;return t instanceof Map?(i=t.get(e),i||t.set(e,i=n)):(i=t[e],i||(i=t[e]=n)),i}function p(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let f=(t,e)=>!1,g=(t,e)=>!1,m=(t,e,n)=>[];const v=s();(v||"undefined"!=typeof Element)&&(f=o()?(t,e)=>{for(;e&&e!==document.documentElement;){if(e===t)return!0;e=e.parentNode||e.host}return!1}:(t,e)=>t.contains(e),g=(()=>{if(v||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]):g}})(),m=(t,e,n)=>{let i=[];if(n){const n=t.querySelectorAll(e);for(let t=0;t{const i=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[i]=t[n]}),e}let O=(()=>{class t{validateStyleProperty(t){return b(t)}matchesElement(t,e){return w(t,e)}containsElement(t,e){return C(t,e)}query(t,e,n){return x(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,r,o,s=[],a){return new i.ZN(n,r)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),M=(()=>{class t{}return t.NOOP=new O,t})();const S="ng-enter",P="ng-leave",E="ng-trigger",T=".ng-trigger",A="ng-animating",I=".ng-animating";function D(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:N(parseFloat(e[1]),e[2])}function N(t,e){return"s"===e?1e3*t:t}function L(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let i,r=0,o="";if("string"==typeof t){const n=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return e.push(`The provided timing value "${t}" is invalid.`),{duration:0,delay:0,easing:""};i=N(parseFloat(n[1]),n[2]);const s=n[3];null!=s&&(r=N(parseFloat(s),n[4]));const a=n[5];a&&(o=a)}else i=t;if(!n){let n=!1,o=e.length;i<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),r<0&&(e.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&e.splice(o,0,`The provided timing value "${t}" is invalid.`)}return{duration:i,delay:r,easing:o}}(t,e,n)}function z(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function F(t,e,n={}){if(e)for(let i in t)n[i]=t[i];else z(t,n);return n}function R(t,e,n){return n?e+":"+n+";":""}function j(t){let e="";for(let n=0;n{const r=G(i);n&&!n.hasOwnProperty(i)&&(n[i]=t.style[r]),t.style[r]=e[i]}),s()&&j(t))}function V(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=G(e);t.style[n]=""}),s()&&j(t))}function $(t){return Array.isArray(t)?1==t.length?t[0]:(0,i.vP)(t):t}const Y=new RegExp("{{\\s*(.+?)\\s*}}","g");function Z(t){let e=[];if("string"==typeof t){let n;for(;n=Y.exec(t);)e.push(n[1]);Y.lastIndex=0}return e}function q(t,e,n){const i=t.toString(),r=i.replace(Y,(t,i)=>{let r=e[i];return e.hasOwnProperty(i)||(n.push(`Please provide a value for the animation param ${i}`),r=""),r.toString()});return r==i?t:r}function U(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const H=/-+([a-z0-9])/g;function G(t){return t.replace(H,(...t)=>t[1].toUpperCase())}function J(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function X(t,e){return 0===t||0===e}function Q(t,e,n){const i=Object.keys(n);if(i.length&&e.length){let o=e[0],s=[];if(i.forEach(t=>{o.hasOwnProperty(t)||s.push(t),o[t]=n[t]}),s.length)for(var r=1;rfunction(t,e,n){if(":"==t[0]){const i=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,e)=>parseFloat(e)>parseFloat(t);case":decrement":return(t,e)=>parseFloat(e) *"}}(t,n);if("function"==typeof i)return void e.push(i);t=i}const i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const r=i[1],o=i[2],s=i[3];e.push(it(r,s));"<"==o[0]&&!("*"==r&&"*"==s)&&e.push(it(s,r))}(t,n,e)):n.push(t),n}const et=new Set(["true","1"]),nt=new Set(["false","0"]);function it(t,e){const n=et.has(t)||nt.has(t),i=et.has(e)||nt.has(e);return(r,o)=>{let s="*"==t||t==r,a="*"==e||e==o;return!s&&n&&"boolean"==typeof r&&(s=r?et.has(t):nt.has(t)),!a&&i&&"boolean"==typeof o&&(a=o?et.has(e):nt.has(e)),s&&a}}const rt=new RegExp("s*:selfs*,?","g");function ot(t,e,n){return new st(t).build(e,n)}class st{constructor(t){this._driver=t}build(t,e){const n=new at(e);return this._resetContextStyleTimingState(n),W(this,$(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,i=e.depCount=0;const r=[],o=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(t=>{if(this._resetContextStyleTimingState(e),0==t.type){const n=t,i=n.name;i.toString().split(/\s*,\s*/).forEach(t=>{n.name=t,r.push(this.visitState(n,e))}),n.name=i}else if(1==t.type){const r=this.visitTransition(t,e);n+=r.queryCount,i+=r.depCount,o.push(r)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:r,transitions:o,queryCount:n,depCount:i,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),i=t.options&&t.options.params||null;if(n.containsDynamicStyles){const r=new Set,o=i||{};if(n.styles.forEach(t=>{if(lt(t)){const e=t;Object.keys(e).forEach(t=>{Z(e[t]).forEach(t=>{o.hasOwnProperty(t)||r.add(t)})})}}),r.size){const n=U(r.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:t.name,style:n,options:i?{params:i}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=W(this,$(t.animation),e);return{type:1,matchers:tt(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:ct(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>W(this,t,e)),options:ct(t.options)}}visitGroup(t,e){const n=e.currentTime;let i=0;const r=t.steps.map(t=>{e.currentTime=n;const r=W(this,t,e);return i=Math.max(i,e.currentTime),r});return e.currentTime=i,{type:3,steps:r,options:ct(t.options)}}visitAnimate(t,e){const n=function(t,e){let n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return ut(L(t,e).duration,0,"");const i=t;if(i.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=ut(0,0,"");return t.dynamic=!0,t.strValue=i,t}return n=n||L(i,e),ut(n.duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=n;let r,o=t.styles?t.styles:(0,i.oB)({});if(5==o.type)r=this.visitKeyframes(o,e);else{let o=t.styles,s=!1;if(!o){s=!0;const t={};n.easing&&(t.easing=n.easing),o=(0,i.oB)(t)}e.currentTime+=n.duration+n.delay;const a=this.visitStyle(o,e);a.isEmptyStep=s,r=a}return e.currentAnimateTimings=null,{type:4,timings:n,style:r,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?t==i.l3?n.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):n.push(t)}):n.push(t.styles);let r=!1,o=null;return n.forEach(t=>{if(lt(t)){const e=t,n=e.easing;if(n&&(o=n,delete e.easing),!r)for(let t in e)if(e[t].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:n,easing:o,offset:t.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let i=e.currentTime,r=e.currentTime;n&&r>0&&(r-=n.duration+n.delay),t.styles.forEach(t=>{"string"!=typeof t&&Object.keys(t).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const o=e.collectedStyles[e.currentQuerySelector],s=o[n];let a=!0;s&&(r!=i&&r>=s.startTime&&i<=s.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${s.startTime}ms" and "${s.endTime}ms" is also being animated in a parallel animation between the times of "${r}ms" and "${i}ms"`),a=!1),r=s.startTime),a&&(o[n]={startTime:r,endTime:i}),e.options&&function(t,e,n){const i=e.params||{},r=Z(t);r.length&&r.forEach(t=>{i.hasOwnProperty(t)||n.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(t[n],e.options,e.errors)})})}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),n;let i=0;const r=[];let o=!1,s=!1,a=0;const l=t.steps.map(t=>{const n=this._makeStyleAst(t,e);let l=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(lt(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(lt(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),c=0;return null!=l&&(i++,c=n.offset=l),s=s||c<0||c>1,o=o||c0&&i{const o=u>0?i==h?1:u*i:r[i],s=o*f;e.currentTime=d+p.delay+s,p.duration=s,this._validateStyleAst(t,e),t.offset=o,n.styles.push(t)}),n}visitReference(t,e){return{type:8,animation:W(this,$(t.animation),e),options:ct(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:ct(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:ct(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,i=t.options||{};e.queryCount++,e.currentQuery=t;const[r,o]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(rt,"")),t=t.replace(/@\*/g,T).replace(/@\w+/g,t=>T+"-"+t.substr(1)).replace(/:animating/g,I),[t,e]}(t.selector);e.currentQuerySelector=n.length?n+" "+r:r,d(e.collectedStyles,e.currentQuerySelector,{});const s=W(this,$(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:o,animation:s,originalSelector:t.selector,options:ct(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const n="full"===t.timings?{duration:0,delay:0,easing:"full"}:L(t.timings,e.errors,!0);return{type:12,animation:W(this,$(t.animation),e),timings:n,options:null}}}class at{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function lt(t){return!Array.isArray(t)&&"object"==typeof t}function ct(t){return t?(t=z(t)).params&&(t.params=function(t){return t?z(t):null}(t.params)):t={},t}function ut(t,e,n){return{duration:t,delay:e,easing:n}}function ht(t,e,n,i,r,o,s=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}class dt{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const pt=new RegExp(":enter","g"),ft=new RegExp(":leave","g");function gt(t,e,n,i,r,o={},s={},a,l,c=[]){return(new mt).buildKeyframes(t,e,n,i,r,o,s,a,l,c)}class mt{buildKeyframes(t,e,n,i,r,o,s,a,l,c=[]){l=l||new dt;const u=new _t(t,e,l,i,r,c,[]);u.options=a,u.currentTimeline.setStyles([o],null,u.errors,a),W(this,n,u);const h=u.timelines.filter(t=>t.containsAnimation());if(h.length&&Object.keys(s).length){const t=h[h.length-1];t.allowOnlyTimelineStyles()||t.setStyles([s],null,u.errors,a)}return h.length?h.map(t=>t.buildKeyframes()):[ht(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const n=e.subInstructions.consume(e.element);if(n){const i=e.createSubContext(t.options),r=e.currentTimeline.currentTime,o=this._visitSubInstructions(n,i,i.options);r!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,n){let i=e.currentTimeline.currentTime;const r=null!=n.duration?D(n.duration):null,o=null!=n.delay?D(n.delay):null;return 0!==r&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,r,o);i=Math.max(i,n.duration+n.delay)}),i}visitReference(t,e){e.updateOptions(t.options,!0),W(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let i=e;const r=t.options;if(r&&(r.params||r.delay)&&(i=e.createSubContext(r),i.transformIntoNewTimeline(),null!=r.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=vt);const t=D(r.delay);i.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>W(this,t,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let i=e.currentTimeline.currentTime;const r=t.options&&t.options.delay?D(t.options.delay):0;t.steps.forEach(o=>{const s=e.createSubContext(t.options);r&&s.delayNextStep(r),W(this,o,s),i=Math.max(i,s.currentTimeline.currentTime),n.push(s.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(i),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return L(e.params?q(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const n=e.currentAnimateTimings=this._visitTiming(t.timings,e),i=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),i.snapshotCurrentStyles());const r=t.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(n.duration),this.visitStyle(r,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,i=e.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();const r=i&&i.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(r):n.setStyles(t.styles,r,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,i=e.currentTimeline.duration,r=n.duration,o=e.createSubContext().currentTimeline;o.easing=n.easing,t.styles.forEach(t=>{o.forwardTime((t.offset||0)*r),o.setStyles(t.styles,t.easing,e.errors,e.options),o.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(o),e.transformIntoNewTimeline(i+r),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,i=t.options||{},r=i.delay?D(i.delay):0;r&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=vt);let o=n;const s=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=s.length;let a=null;s.forEach((n,i)=>{e.currentQueryIndex=i;const s=e.createSubContext(t.options,n);r&&s.delayNextStep(r),n===e.element&&(a=s.currentTimeline),W(this,t.animation,s),s.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,s.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(o),a&&(e.currentTimeline.mergeTimelineCollectedStyles(a),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,i=e.currentTimeline,r=t.timings,o=Math.abs(r.duration),s=o*(e.currentQueryTotal-1);let a=o*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":a=s-a;break;case"full":a=n.currentStaggerTime}const l=e.currentTimeline;a&&l.delayNextStep(a);const c=l.currentTime;W(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-c+(i.startTime-n.currentTimeline.startTime)}}const vt={};class _t{constructor(t,e,n,i,r,o,s,a){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=r,this.errors=o,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=vt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new yt(this._driver,e,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let i=this.options;null!=n.duration&&(i.duration=D(n.duration)),null!=n.delay&&(i.delay=D(n.delay));const r=n.params;if(r){let t=i.params;t||(t=this.options.params={}),Object.keys(r).forEach(n=>{(!e||!t.hasOwnProperty(n))&&(t[n]=q(r[n],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach(t=>{n[t]=e[t]})}}return t}createSubContext(t=null,e,n){const i=e||this.element,r=new _t(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(t),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(t){return this.previousNode=vt,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const i={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},r=new bt(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,i,r,o){let s=[];if(i&&s.push(this.element),t.length>0){t=(t=t.replace(pt,"."+this._enterClassName)).replace(ft,"."+this._leaveClassName);let e=this._driver.query(this.element,t,1!=n);0!==n&&(e=n<0?e.slice(e.length+n,e.length):e.slice(0,n)),s.push(...e)}return!r&&0==s.length&&o.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),s}}class yt{constructor(t,e,n,i){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=i,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new yt(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(t=>{this._backFill[t]=this._globalTimelineStyles[t]||i.l3,this._currentKeyframe[t]=i.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,r){e&&(this._previousKeyframe.easing=e);const o=r&&r.params||{},s=function(t,e){const n={};let r;return t.forEach(t=>{"*"===t?(r=r||Object.keys(e),r.forEach(t=>{n[t]=i.l3})):F(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(s).forEach(t=>{const e=q(s[t],o,n);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:i.l3),this._updateStyle(t,e)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(e=>{this._currentKeyframe[e]=t[e]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach(e=>{const n=this._styleSummary[e],i=t._styleSummary[e];(!n||i.time>n.time)&&this._updateStyle(e,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((o,s)=>{const a=F(o,!0);Object.keys(a).forEach(n=>{const r=a[n];r==i.k1?t.add(n):r==i.l3&&e.add(n)}),n||(a.offset=s/this.duration),r.push(a)});const o=t.size?U(t.values()):[],s=e.size?U(e.values()):[];if(n){const t=r[0],e=z(t);t.offset=0,e.offset=1,r=[t,e]}return ht(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class bt extends yt{constructor(t,e,n,i,r,o,s=!1){super(t,e,o.delay),this.keyframes=n,this.preStyleProps=i,this.postStyleProps=r,this._stretchStartingKeyframe=s,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&e){const r=[],o=n+e,s=e/o,a=F(t[0],!1);a.offset=0,r.push(a);const l=F(t[0],!1);l.offset=wt(s),r.push(l);const c=t.length-1;for(let i=1;i<=c;i++){let s=F(t[i],!1);s.offset=wt((e+s.offset*n)/o),r.push(s)}n=o,e=0,i="",t=r}return ht(this.element,t,this.preStyleProps,this.postStyleProps,n,e,i,!0)}}function wt(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class Ct{}class xt extends Ct{normalizePropertyName(t,e){return G(t)}normalizeStyleValue(t,e,n,i){let r="";const o=n.toString().trim();if(kt[e]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&i.push(`Please provide a CSS unit value for ${t}:${n}`)}return o+r}}const kt=(()=>function(t){const e={};return t.forEach(t=>e[t]=!0),e}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function Ot(t,e,n,i,r,o,s,a,l,c,u,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:n,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:h,errors:d}}const Mt={};class St{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,i){return function(t,e,n,i,r){return t.some(t=>t(e,n,i,r))}(this.ast.matchers,t,e,n,i)}buildStyles(t,e,n){const i=this._stateStyles["*"],r=this._stateStyles[t],o=i?i.buildStyles(e,n):{};return r?r.buildStyles(e,n):o}build(t,e,n,i,r,o,s,a,l,c){const u=[],h=this.ast.options&&this.ast.options.params||Mt,p=this.buildStyles(n,s&&s.params||Mt,u),f=a&&a.params||Mt,g=this.buildStyles(i,f,u),m=new Set,v=new Map,_=new Map,y="void"===i,b={params:Object.assign(Object.assign({},h),f)},w=c?[]:gt(t,e,this.ast.animation,r,o,p,g,b,l,u);let C=0;if(w.forEach(t=>{C=Math.max(t.duration+t.delay,C)}),u.length)return Ot(e,this._triggerName,n,i,y,p,g,[],[],v,_,C,u);w.forEach(t=>{const n=t.element,i=d(v,n,{});t.preStyleProps.forEach(t=>i[t]=!0);const r=d(_,n,{});t.postStyleProps.forEach(t=>r[t]=!0),n!==e&&m.add(n)});const x=U(m.values());return Ot(e,this._triggerName,n,i,y,p,g,w,x,v,_,C)}}class Pt{constructor(t,e,n){this.styles=t,this.defaultParams=e,this.normalizer=n}buildStyles(t,e){const n={},i=z(this.defaultParams);return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(i[e]=n)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const r=t;Object.keys(r).forEach(t=>{let o=r[t];o.length>1&&(o=q(o,i,e));const s=this.normalizer.normalizePropertyName(t,e);o=this.normalizer.normalizeStyleValue(t,s,o,e),n[s]=o})}}),n}}class Et{constructor(t,e,n){this.name=t,this.ast=e,this._normalizer=n,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new Pt(t.style,t.options&&t.options.params||{},n)}),Tt(this.states,"true","1"),Tt(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new St(t,e,this.states))}),this.fallbackTransition=function(t,e,n){return new St(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},e)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,i){return this.transitionFactories.find(r=>r.match(t,e,n,i))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function Tt(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const At=new dt;class It{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],i=ot(this._driver,e,n);if(n.length)throw new Error(`Unable to build the animation due to the following errors: ${n.join("\n")}`);this._animations[t]=i}_buildPlayer(t,e,n){const i=t.element,r=l(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(i,r,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const r=[],o=this._animations[t];let s;const l=new Map;if(o?(s=gt(this._driver,e,o,S,P,{},{},n,At,r),s.forEach(t=>{const e=d(l,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(r.push("The requested animation doesn't exist or has already been destroyed"),s=[]),r.length)throw new Error(`Unable to create the animation due to the following errors: ${r.join("\n")}`);l.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,i.l3)})});const c=a(s.map(t=>{const e=l.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=c,c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error(`Unable to find the timeline player referenced by ${t}`);return e}listen(t,e,n,i){const r=h(e,"","","");return c(this._getPlayer(t),n,r,i),()=>{}}command(t,e,n,i){if("register"==n)return void this.register(t,i[0]);if("create"==n)return void this.create(t,e,i[0]||{});const r=this._getPlayer(t);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t)}}}const Dt="ng-animate-queued",Nt="ng-animate-disabled",Lt=".ng-animate-disabled",zt=[],Ft={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Rt={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},jt="__ng_removed";class Bt{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=null!=(i=n?t.value:t)?i:null,n){const e=z(t);delete e.value,this.options=e}else this.options={};var i;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach(n=>{null==t[n]&&(t[n]=e[n])})}}}const Vt="void",$t=new Bt(Vt);class Yt{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Qt(e,this._hostClassName)}listen(t,e,n,i){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${e}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if("start"!=(r=n)&&"done"!=r)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);var r;const o=d(this._elementListeners,t,[]),s={name:e,phase:n,callback:i};o.push(s);const a=d(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(Qt(t,E),Qt(t,E+"-"+e),a[e]=$t),()=>{this._engine.afterFlush(()=>{const t=o.indexOf(s);t>=0&&o.splice(t,1),this._triggers[e]||delete a[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger "${t}" has not been registered!`);return e}trigger(t,e,n,i=!0){const r=this._getTrigger(e),o=new qt(this.id,e,t);let s=this._engine.statesByElement.get(t);s||(Qt(t,E),Qt(t,E+"-"+e),this._engine.statesByElement.set(t,s={}));let a=s[e];const l=new Bt(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),s[e]=l,a||(a=$t),l.value!==Vt&&a.value===l.value){if(!function(t,e){const n=Object.keys(t),i=Object.keys(e);if(n.length!=i.length)return!1;for(let r=0;r{V(t,n),B(t,i)})}return}const c=d(this._engine.playersByElement,t,[]);c.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let u=r.matchTransition(a.value,l.value,t,l.params),h=!1;if(!u){if(!i)return;u=r.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:u,fromState:a,toState:l,player:o,isFallbackTransition:h}),h||(Qt(t,Dt),o.onStart(()=>{Wt(t,Dt)})),o.onDone(()=>{let e=this.players.indexOf(o);e>=0&&this.players.splice(e,1);const n=this._engine.playersByElement.get(t);if(n){let t=n.indexOf(o);t>=0&&n.splice(t,1)}}),this.players.push(o),c.push(o),o}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,n)=>{delete e[t]}),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(e=>e.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const n=this._engine.driver.query(t,T,!0);n.forEach(t=>{if(t[jt])return;const n=this._engine.fetchNamespacesByElement(t);n.size?n.forEach(n=>n.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(t=>this.clearElementCache(t)))}triggerLeaveAnimation(t,e,n,i){const r=this._engine.statesByElement.get(t);if(r){const o=[];if(Object.keys(r).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,Vt,i);n&&o.push(n)}}),o.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&a(o).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),n=this._engine.statesByElement.get(t);if(e&&n){const i=new Set;e.forEach(e=>{const r=e.name;if(i.has(r))return;i.add(r);const o=this._triggers[r].fallbackTransition,s=n[r]||$t,a=new Bt(Vt),l=new qt(this.id,r,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:r,transition:o,fromState:s,toState:a,player:l,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let i=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)i=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(t),i)n.markElementAsRemoved(this.id,t,!1,e);else{const i=t[jt];(!i||i===Ft)&&(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){Qt(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const i=n.player;if(i.destroyed)return;const r=n.element,o=this._elementListeners.get(r);o&&o.forEach(e=>{if(e.name==n.triggerName){const i=h(r,n.triggerName,n.fromState.value,n.toState.value);i._data=t,c(n.player,e.phase,i,e.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,i=e.transition.ast.depCount;return 0==n||0==i?n-i:this._engine.driver.containsElement(t.element,e.element)?1:-1})}destroy(t){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(e=>e.element===t)||e,e}}class Zt{constructor(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(e=>{e.queued&&t.push(e)})}),t}createNamespace(t,e){const n=new Yt(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){const n=this._namespaceList.length-1;if(n>=0){let i=!1;for(let r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,e)){this._namespaceList.splice(r+1,0,t),i=!0;break}i||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let i=this._namespaceLookup[t];i&&i.register(e,n)&&this.totalAnimations++}destroy(t,e){if(!t)return;const n=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(n);e>=0&&this._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(()=>n.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n){const t=Object.keys(n);for(let i=0;i=0&&this.collectedLeaveElements.splice(t,1)}if(t){const i=this._fetchNamespace(t);i&&i.insertNode(e,n)}i&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Qt(t,Nt)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Wt(t,Nt))}removeNode(t,e,n,i){if(Ut(e)){const r=t?this._fetchNamespace(t):null;if(r?r.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,i)}}else this._onRemovalComplete(e,i)}markElementAsRemoved(t,e,n,i){this.collectedLeaveElements.push(e),e[jt]={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,i,r){return Ut(e)?this._fetchNamespace(t).listen(e,n,i,r):()=>{}}_buildInstruction(t,e,n,i,r){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,i,t.fromState.options,t.toState.options,e,r)}destroyInnerAnimations(t){let e=this.driver.query(t,T,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,I,!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return a(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t[jt];if(e&&e.setForRemoval){if(t[jt]=Ft,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,Lt)&&this.markElementAsDisabled(t,!1),this.driver.query(t,Lt,!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,e)=>this._balanceNamespaceList(t,e)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;nt()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?a(e).onDone(()=>{t.forEach(t=>t())}):t.forEach(t=>t())}}reportError(t){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${t.join("\n")}`)}_flushAnimations(t,e){const n=new dt,r=[],o=new Map,s=[],l=new Map,c=new Map,u=new Map,h=new Set;this.disabledNodes.forEach(t=>{h.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let n=0;n{const n=S+v++;m.set(e,n),t.forEach(t=>Qt(t,n))});const _=[],y=new Set,b=new Set;for(let i=0;iy.add(t)):b.add(t))}const w=new Map,C=Jt(f,Array.from(y));C.forEach((t,e)=>{const n=P+v++;w.set(e,n),t.forEach(t=>Qt(t,n))}),t.push(()=>{g.forEach((t,e)=>{const n=m.get(e);t.forEach(t=>Wt(t,n))}),C.forEach((t,e)=>{const n=w.get(e);t.forEach(t=>Wt(t,n))}),_.forEach(t=>{this.processLeaveNode(t)})});const x=[],k=[];for(let i=this._namespaceList.length-1;i>=0;i--)this._namespaceList[i].drainQueuedTransitions(e).forEach(t=>{const e=t.player,i=t.element;if(x.push(e),this.collectedEnterElements.length){const t=i[jt];if(t&&t.setForMove)return void e.destroy()}const o=!p||!this.driver.containsElement(p,i),a=w.get(i),h=m.get(i),f=this._buildInstruction(t,n,h,a,o);if(f.errors&&f.errors.length)k.push(f);else{if(o)return e.onStart(()=>V(i,f.fromStyles)),e.onDestroy(()=>B(i,f.toStyles)),void r.push(e);if(t.isFallbackTransition)return e.onStart(()=>V(i,f.fromStyles)),e.onDestroy(()=>B(i,f.toStyles)),void r.push(e);f.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(i,f.timelines),s.push({instruction:f,player:e,element:i}),f.queriedElements.forEach(t=>d(l,t,[]).push(e)),f.preStyleProps.forEach((t,e)=>{const n=Object.keys(t);if(n.length){let t=c.get(e);t||c.set(e,t=new Set),n.forEach(e=>t.add(e))}}),f.postStyleProps.forEach((t,e)=>{const n=Object.keys(t);let i=u.get(e);i||u.set(e,i=new Set),n.forEach(t=>i.add(t))})}});if(k.length){const t=[];k.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),x.forEach(t=>t.destroy()),this.reportError(t)}const O=new Map,M=new Map;s.forEach(t=>{const e=t.element;n.has(e)&&(M.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,O))}),r.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{d(O,e,[]).push(t),t.destroy()})});const E=_.filter(t=>ee(t,c,u)),T=new Map;Gt(T,this.driver,b,u,i.l3).forEach(t=>{ee(t,c,u)&&E.push(t)});const A=new Map;g.forEach((t,e)=>{Gt(A,this.driver,new Set(t),c,i.k1)}),E.forEach(t=>{const e=T.get(t),n=A.get(t);T.set(t,Object.assign(Object.assign({},e),n))});const D=[],N=[],L={};s.forEach(t=>{const{element:e,player:i,instruction:s}=t;if(n.has(e)){if(h.has(e))return i.onDestroy(()=>B(e,s.toStyles)),i.disabled=!0,i.overrideTotalTime(s.totalTime),void r.push(i);let t=L;if(M.size>1){let n=e;const i=[];for(;n=n.parentNode;){const e=M.get(n);if(e){t=e;break}i.push(n)}i.forEach(e=>M.set(e,t))}const n=this._buildAnimation(i.namespaceId,s,O,o,A,T);if(i.setRealPlayer(n),t===L)D.push(i);else{const e=this.playersByElement.get(t);e&&e.length&&(i.parentPlayer=a(e)),r.push(i)}}else V(e,s.fromStyles),i.onDestroy(()=>B(e,s.toStyles)),N.push(i),h.has(e)&&r.push(i)}),N.forEach(t=>{const e=o.get(t.element);if(e&&e.length){const n=a(e);t.setRealPlayer(n)}}),r.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let i=0;i<_.length;i++){const t=_[i],e=t[jt];if(Wt(t,P),e&&e.hasAnimation)continue;let n=[];if(l.size){let e=l.get(t);e&&e.length&&n.push(...e);let i=this.driver.query(t,I,!0);for(let t=0;t!t.destroyed);r.length?Kt(this,t,r):this.processLeaveNode(t)}return _.length=0,D.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),D}elementContainsData(t,e){let n=!1;const i=e[jt];return i&&i.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,i,r){let o=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(o=e)}else{const e=this.playersByElement.get(t);if(e){const t=!r||r==Vt;e.forEach(e=>{e.queued||!t&&e.triggerName!=i||o.push(e)})}}return(n||i)&&(o=o.filter(t=>!(n&&n!=t.namespaceId||i&&i!=t.triggerName))),o}_beforeAnimationBuild(t,e,n){const i=e.element,r=e.isRemovalTransition?void 0:t,o=e.isRemovalTransition?void 0:e.triggerName;for(const s of e.timelines){const t=s.element,a=t!==i,l=d(n,t,[]);this._getPreviousPlayers(t,a,r,o,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)})}V(i,e.fromStyles)}_buildAnimation(t,e,n,r,o,s){const c=e.triggerName,u=e.element,h=[],p=new Set,f=new Set,g=e.timelines.map(e=>{const a=e.element;p.add(a);const d=a[jt];if(d&&d.removedBeforeQueried)return new i.ZN(e.duration,e.delay);const g=a!==u,m=function(t){const e=[];return te(t,e),e}((n.get(a)||zt).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===a),v=o.get(a),_=s.get(a),y=l(0,this._normalizer,0,e.keyframes,v,_),b=this._buildPlayer(e,y,m);if(e.subTimeline&&r&&f.add(a),g){const e=new qt(t,c,a);e.setRealPlayer(b),h.push(e)}return b});h.forEach(t=>{d(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,n){let i;if(t instanceof Map){if(i=t.get(e),i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&t.delete(e)}}else if(i=t[e],i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&delete t[e]}return i}(this.playersByQueriedElement,t.element,t))}),p.forEach(t=>Qt(t,A));const m=a(g);return m.onDestroy(()=>{p.forEach(t=>Wt(t,A)),B(u,e.toStyles)}),f.forEach(t=>{d(r,t,[]).push(m)}),m}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new i.ZN(t.duration,t.delay)}}class qt{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new i.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(n=>c(t,e,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){d(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function Ut(t){return t&&1===t.nodeType}function Ht(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function Gt(t,e,n,i,r){const o=[];n.forEach(t=>o.push(Ht(t)));const s=[];i.forEach((n,i)=>{const o={};n.forEach(t=>{const n=o[t]=e.computeStyle(i,t,r);(!n||0==n.length)&&(i[jt]=Rt,s.push(i))}),t.set(i,o)});let a=0;return n.forEach(t=>Ht(t,o[a++])),s}function Jt(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const i=new Set(e),r=new Map;function o(t){if(!t)return 1;let e=r.get(t);if(e)return e;const s=t.parentNode;return e=n.has(s)?s:i.has(s)?1:o(s),r.set(t,e),e}return e.forEach(t=>{const e=o(t);1!==e&&n.get(e).push(t)}),n}const Xt="$$classes";function Qt(t,e){if(t.classList)t.classList.add(e);else{let n=t[Xt];n||(n=t[Xt]={}),n[e]=!0}}function Wt(t,e){if(t.classList)t.classList.remove(e);else{let n=t[Xt];n&&delete n[e]}}function Kt(t,e,n){a(n).onDone(()=>t.processLeaveNode(e))}function te(t,e){for(let n=0;nr.add(t)):e.set(t,i),n.delete(t),!0}class ne{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new Zt(t,e,n),this._timelineEngine=new It(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,i,r){const o=t+"-"+i;let s=this._triggerCache[o];if(!s){const t=[],e=ot(this._driver,r,t);if(t.length)throw new Error(`The animation trigger "${i}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);s=function(t,e,n){return new Et(t,e,n)}(i,e,this._normalizer),this._triggerCache[o]=s}this._transitionEngine.registerTrigger(e,i,s)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,i){this._transitionEngine.insertNode(t,e,n,i)}onRemove(t,e,n,i){this._transitionEngine.removeNode(t,e,i||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,i){if("@"==n.charAt(0)){const[t,r]=p(n);this._timelineEngine.command(t,e,r,i)}else this._transitionEngine.trigger(t,e,n,i)}listen(t,e,n,i,r){if("@"==n.charAt(0)){const[t,i]=p(n);return this._timelineEngine.listen(t,e,i,r)}return this._transitionEngine.listen(t,e,n,i,r)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function ie(t,e){let n=null,i=null;return Array.isArray(e)&&e.length?(n=oe(e[0]),e.length>1&&(i=oe(e[e.length-1]))):e&&(n=oe(e)),n||i?new re(t,n,i):null}let re=(()=>{class t{constructor(e,n,i){this._element=e,this._startStyles=n,this._endStyles=i,this._state=0;let r=t.initialStylesByElement.get(e);r||t.initialStylesByElement.set(e,r={}),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&B(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(B(this._element,this._initialStyles),this._endStyles&&(B(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(V(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(V(this._element,this._endStyles),this._endStyles=null),B(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function oe(t){let e=null;const n=Object.keys(t);for(let i=0;ithis._handleCallback(t)}apply(){(function(t,e){const n=ge(t,"").trim();let i=0;n.length&&(function(t,e){let n=0;for(let i=0;i=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),pe(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const n=ge(t,"").split(","),i=de(n,e);i>=0&&(n.splice(i,1),fe(t,"",n.join(",")))}(this._element,this._name))}}function ue(t,e,n){fe(t,"PlayState",n,he(t,e))}function he(t,e){const n=ge(t,"");return n.indexOf(",")>0?de(n.split(","),e):de([n],e)}function de(t,e){for(let n=0;n=0)return n;return-1}function pe(t,e,n){n?t.removeEventListener(le,e):t.addEventListener(le,e)}function fe(t,e,n,i){const r=ae+e;if(null!=i){const e=t.style[r];if(e.length){const t=e.split(",");t[i]=n,n=t.join(",")}}t.style[r]=n}function ge(t,e){return t.style[ae+e]||""}class me{constructor(t,e,n,i,r,o,s,a){this.element=t,this.keyframes=e,this.animationName=n,this._duration=i,this._delay=r,this._finalStyles=s,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=o||"linear",this.totalTime=i+r,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),!(this._state>=4)&&(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),!(this._state>=3)&&(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new ce(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(t[n]=e?this._finalStyles[n]:K(this.element,n))})}this.currentSnapshot=t}}class ve extends i.ZN{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=k(e)}init(){this.__initialized||!this._startingStyles||(this.__initialized=!0,Object.keys(this._styles).forEach(t=>{this._startingStyles[t]=this.element.style[t]}),super.init())}play(){!this._startingStyles||(this.init(),Object.keys(this._styles).forEach(t=>this.element.style.setProperty(t,this._styles[t])),super.play())}destroy(){!this._startingStyles||(Object.keys(this._startingStyles).forEach(t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)}),this._startingStyles=null,super.destroy())}}class _e{constructor(){this._count=0}validateStyleProperty(t){return b(t)}matchesElement(t,e){return w(t,e)}containsElement(t,e){return C(t,e)}query(t,e,n){return x(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,n){n=n.map(t=>k(t));let i=`@keyframes ${e} {\n`,r="";n.forEach(t=>{r=" ";const e=parseFloat(t.offset);i+=`${r}${100*e}% {\n`,r+=" ",Object.keys(t).forEach(e=>{const n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(i+=`${r}animation-timing-function: ${n};\n`));default:return void(i+=`${r}${e}: ${n};\n`)}}),i+=`${r}}\n`}),i+="}\n";const o=document.createElement("style");return o.textContent=i,o}animate(t,e,n,i,r,o=[],s){const a=o.filter(t=>t instanceof me),l={};X(n,i)&&a.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const c=function(t){let e={};return t&&(Array.isArray(t)?t:[t]).forEach(t=>{Object.keys(t).forEach(n=>{"offset"==n||"easing"==n||(e[n]=t[n])})}),e}(e=Q(t,e,l));if(0==n)return new ve(t,c);const u="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,u,e);(function(t){var e;const n=null===(e=t.getRootNode)||void 0===e?void 0:e.call(t);return"undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot?n:document.head})(t).appendChild(h);const d=ie(t,e),p=new me(t,e,u,n,i,r,c,d);return p.onDestroy(()=>{var t;(t=h).parentNode.removeChild(t)}),p}}class ye{constructor(t,e,n,i){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,n){return t.animate(e,n)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(e=>{"offset"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:K(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class be{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Ce().toString()),this._cssKeyframesDriver=new _e}validateStyleProperty(t){return b(t)}matchesElement(t,e){return w(t,e)}containsElement(t,e){return C(t,e)}query(t,e,n){return x(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,n,i,r,o=[],s){if(!s&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,i,r,o);const a={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(a.easing=r);const l={},c=o.filter(t=>t instanceof ye);X(n,i)&&c.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const u=ie(t,e=Q(t,e=e.map(t=>F(t,!1)),l));return new ye(t,e,a,u)}}function we(){return"function"==typeof Ce()}function Ce(){return o()&&Element.prototype.animate||{}}},12057:function(t,e,n){"use strict";n.d(e,{mr:function(){return b},Ov:function(){return H},ez:function(){return Q},K0:function(){return l},Do:function(){return C},Gx:function(){return J},Ts:function(){return X},V_:function(){return h},Ye:function(){return x},S$:function(){return _},$G:function(){return A},sg:function(){return D},O5:function(){return L},RF:function(){return j},n9:function(){return B},tP:function(){return V},b0:function(){return w},lw:function(){return c},EM:function(){return et},JF:function(){return rt},NF:function(){return K},PM:function(){return tt},w_:function(){return a},bD:function(){return W},q:function(){return o},Mx:function(){return T},HT:function(){return s}});var i=n(74788);let r=null;function o(){return r}function s(t){r||(r=t)}class a{}const l=new i.OlP("DocumentToken");let c=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,i.Yz7)({factory:u,token:t,providedIn:"platform"}),t})();function u(){return(0,i.LFG)(d)}const h=new i.OlP("Location Initialized");let d=(()=>{class t extends c{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return o().getBaseHref(this._doc)}onPopState(t){const e=o().getGlobalEventTarget(this._doc,"window");return e.addEventListener("popstate",t,!1),()=>e.removeEventListener("popstate",t)}onHashChange(t){const e=o().getGlobalEventTarget(this._doc,"window");return e.addEventListener("hashchange",t,!1),()=>e.removeEventListener("hashchange",t)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(t){this.location.pathname=t}pushState(t,e,n){p()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){p()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(l))},t.\u0275prov=(0,i.Yz7)({factory:f,token:t,providedIn:"platform"}),t})();function p(){return!!window.history.pushState}function f(){return new d((0,i.LFG)(l))}function g(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function m(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function v(t){return t&&"?"!==t[0]?"?"+t:t}let _=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,i.Yz7)({factory:y,token:t,providedIn:"root"}),t})();function y(t){const e=(0,i.LFG)(l).location;return new w((0,i.LFG)(c),e&&e.origin||"")}const b=new i.OlP("appBaseHref");let w=(()=>{class t extends _{constructor(t,e){if(super(),this._platformLocation=t,this._removeListenerFns=[],null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=e}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return g(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+v(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,i){const r=this.prepareExternalUrl(n+v(i));this._platformLocation.pushState(t,e,r)}replaceState(t,e,n,i){const r=this.prepareExternalUrl(n+v(i));this._platformLocation.replaceState(t,e,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformLocation).historyGo)||void 0===n||n.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(c),i.LFG(b,8))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),C=(()=>{class t extends _{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=e&&(this._baseHref=e)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=g(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,i){let r=this.prepareExternalUrl(n+v(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(t,e,r)}replaceState(t,e,n,i){let r=this.prepareExternalUrl(n+v(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformLocation).historyGo)||void 0===n||n.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(c),i.LFG(b,8))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),x=(()=>{class t{constructor(t,e){this._subject=new i.vpe,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=m(O(n)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+v(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,O(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+v(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+v(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformStrategy).historyGo)||void 0===n||n.call(e,t)}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}))}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(_),i.LFG(c))},t.normalizeQueryParams=v,t.joinWithSlash=g,t.stripTrailingSlash=m,t.\u0275prov=(0,i.Yz7)({factory:k,token:t,providedIn:"root"}),t})();function k(){return new x((0,i.LFG)(_),(0,i.LFG)(c))}function O(t){return t.replace(/\/index.html$/,"")}var M=(()=>((M=M||{})[M.Zero=0]="Zero",M[M.One=1]="One",M[M.Two=2]="Two",M[M.Few=3]="Few",M[M.Many=4]="Many",M[M.Other=5]="Other",M))();const S=i.kL8;class P{}let E=(()=>{class t extends P{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(S(e||this.locale)(t)){case M.Zero:return"zero";case M.One:return"one";case M.Two:return"two";case M.Few:return"few";case M.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.soG))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();function T(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[i,r]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(i.trim()===e)return decodeURIComponent(r)}return null}let A=(()=>{class t{constructor(t){this._viewContainerRef=t,this._componentRef=null,this._moduleRef=null}ngOnChanges(t){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){const e=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(t.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){const t=e.get(i.h0i);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(t.injector)}else this._moduleRef=null;const n=(this._moduleRef?this._moduleRef.componentFactoryResolver:e.get(i._Vd)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(n,this._viewContainerRef.length,e,this.ngComponentOutletContent)}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[i.TTD]}),t})();class I{constructor(t,e,n,i){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=i}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 D=(()=>{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){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(t){throw new Error(`Cannot find a differ supporting object '${e}' of type '${function(t){return t.name||typeof t}(e)}'. NgFor only supports binding to Iterables such as Arrays.`)}}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,i)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new I(null,this._ngForOf,-1,-1),null===i?void 0:i),r=new N(t,n);e.push(r)}else if(null==i)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const r=this._viewContainer.get(n);this._viewContainer.move(r,i);const o=new N(t,r);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)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(i.ZZ4))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class N{constructor(t,e){this.record=t,this.view=e}}let L=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new z,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){F("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){F("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class z{constructor(){this.$implicit=null,this.ngIf=null}}function F(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${(0,i.AaK)(e)}'.`)}class R{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let j=(()=>{class t{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let e=0;e{class t{constructor(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new R(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(j,9))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t})(),V=(()=>{class t{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(t){if(t.ngTemplateOutlet){const t=this._viewContainerRef;this._viewRef&&t.remove(t.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?t.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&t.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[i.TTD]}),t})();function $(t,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${(0,i.AaK)(t)}'`)}class Y{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class Z{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const q=new Z,U=new Y;let H=(()=>{class t{constructor(t){this._ref=t,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue:(t&&this._subscribe(t),this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,e=>this._updateLatestValue(t,e))}_selectStrategy(e){if((0,i.QGY)(e))return q;if((0,i.F4k)(e))return U;throw $(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.sBO,16))},t.\u0275pipe=i.Yjl({name:"async",type:t,pure:!1}),t})();const G=/#/g;let J=(()=>{class t{constructor(t){this._localization=t}transform(e,n,i){if(null==e)return"";if("object"!=typeof n||null===n)throw $(t,n);return n[function(t,e,n,i){let r=`=${t}`;if(e.indexOf(r)>-1||(r=n.getPluralCategory(t,i),e.indexOf(r)>-1))return r;if(e.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${t}"`)}(e,Object.keys(n),this._localization,i)].replace(G,e.toString())}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(P,16))},t.\u0275pipe=i.Yjl({name:"i18nPlural",type:t,pure:!0}),t})(),X=(()=>{class t{transform(t){return JSON.stringify(t,null,2)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Yjl({name:"json",type:t,pure:!1}),t})(),Q=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[{provide:P,useClass:E}]}),t})();const W="browser";function K(t){return t===W}function tt(t){return"server"===t}let et=(()=>{class t{}return t.\u0275prov=(0,i.Yz7)({token:t,providedIn:"root",factory:()=>new nt((0,i.LFG)(l),window)}),t})();class nt{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const e=function(t,e){const n=t.getElementById(e)||t.getElementsByName(e)[0];if(n)return n;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow)){const n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let i=n.currentNode;for(;i;){const t=i.shadowRoot;if(t){const n=t.getElementById(e)||t.querySelector(`[name="${e}"]`);if(n)return n}i=n.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),this.attemptFocus(e))}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])}attemptFocus(t){return t.focus(),this.document.activeElement===t}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=it(this.window.history)||it(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}function it(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class rt{}},58497:function(t,e,n){"use strict";n.d(e,{eN:function(){return T},JF:function(){return Y}});var i=n(12057),r=n(74788),o=n(25917),s=n(29856),a=n(94612),l=n(45435),c=n(88002);class u{}class h{}class d{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const n=t.slice(0,e),i=n.toLowerCase(),r=t.slice(e+1).trim();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(r):this.headers.set(i,[r])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const i=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(i,n),this.maybeSetNormalizedName(e,i))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof d?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new d;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof d?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const i=("a"===t.op?this.headers.get(e):void 0)||[];i.push(...n),this.headers.set(e,i);break;case"d":const r=t.value;if(r){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===r.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class p{encodeKey(t){return m(t)}encodeValue(t){return m(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const f=/%(\d[a-f0-9])/gi,g={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function m(t){return encodeURIComponent(t).replace(f,(t,e)=>{var n;return null!==(n=g[e])&&void 0!==n?n:t})}function v(t){return`${t}`}class _{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new p,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const n=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(t=>{const i=t.indexOf("="),[r,o]=-1==i?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,i)),e.decodeValue(t.slice(i+1))],s=n.get(r)||[];s.push(o),n.set(r,s)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(n=>{const i=t[n];Array.isArray(i)?i.forEach(t=>{e.push({param:n,value:t,op:"a"})}):e.push({param:n,value:i,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new _({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(v(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const n=e.indexOf(v(t.value));-1!==n&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class y{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}keys(){return this.map.keys()}}function b(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function w(t){return"undefined"!=typeof Blob&&t instanceof Blob}function C(t){return"undefined"!=typeof FormData&&t instanceof FormData}class x{constructor(t,e,n,i){let r;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==n?n:null,r=i):r=n,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params)),this.headers||(this.headers=new d),this.context||(this.context=new y),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?");this.urlWithParams=e+(-1===n?"?":ne.set(n,t.setHeaders[n]),l)),t.setParams&&(c=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),c)),new x(n,i,o,{params:c,headers:l,context:u,reportProgress:a,responseType:r,withCredentials:s})}}var k=(()=>((k=k||{})[k.Sent=0]="Sent",k[k.UploadProgress=1]="UploadProgress",k[k.ResponseHeader=2]="ResponseHeader",k[k.DownloadProgress=3]="DownloadProgress",k[k.Response=4]="Response",k[k.User=5]="User",k))();class O{constructor(t,e=200,n="OK"){this.headers=t.headers||new d,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class M extends O{constructor(t={}){super(t),this.type=k.ResponseHeader}clone(t={}){return new M({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class S extends O{constructor(t={}){super(t),this.type=k.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new S({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class P extends O{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function E(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let T=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let i;if(t instanceof x)i=t;else{let r,o;r=n.headers instanceof d?n.headers:new d(n.headers),n.params&&(o=n.params instanceof _?n.params:new _({fromObject:n.params})),i=new x(t,e,void 0!==n.body?n.body:null,{headers:r,context:n.context,params:o,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const r=(0,o.of)(i).pipe((0,a.b)(t=>this.handler.handle(t)));if(t instanceof x||"events"===n.observe)return r;const s=r.pipe((0,l.h)(t=>t instanceof S));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return s.pipe((0,c.U)(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return s.pipe((0,c.U)(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return s.pipe((0,c.U)(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));default:return s.pipe((0,c.U)(t=>t.body))}case"response":return s;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new _).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,n={}){return this.request("PATCH",t,E(n,e))}post(t,e,n={}){return this.request("POST",t,E(n,e))}put(t,e,n={}){return this.request("PUT",t,E(n,e))}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(u))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();class A{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const I=new r.OlP("HTTP_INTERCEPTORS");let D=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();const N=/^\)\]\}',?\n/;let L=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new s.y(e=>{const n=this.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEach((t,e)=>n.setRequestHeader(t,e.join(","))),t.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&n.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();n.responseType="json"!==e?e:"text"}const i=t.serializeBody();let r=null;const o=()=>{if(null!==r)return r;const e=1223===n.status?204:n.status,i=n.statusText||"OK",o=new d(n.getAllResponseHeaders()),s=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(n)||t.url;return r=new M({headers:o,status:e,statusText:i,url:s}),r},s=()=>{let{headers:i,status:r,statusText:s,url:a}=o(),l=null;204!==r&&(l=void 0===n.response?n.responseText:n.response),0===r&&(r=l?200:0);let c=r>=200&&r<300;if("json"===t.responseType&&"string"==typeof l){const t=l;l=l.replace(N,"");try{l=""!==l?JSON.parse(l):null}catch(u){l=t,c&&(c=!1,l={error:u,text:l})}}c?(e.next(new S({body:l,headers:i,status:r,statusText:s,url:a||void 0})),e.complete()):e.error(new P({error:l,headers:i,status:r,statusText:s,url:a||void 0}))},a=t=>{const{url:i}=o(),r=new P({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:i||void 0});e.error(r)};let l=!1;const c=i=>{l||(e.next(o()),l=!0);let r={type:k.DownloadProgress,loaded:i.loaded};i.lengthComputable&&(r.total=i.total),"text"===t.responseType&&!!n.responseText&&(r.partialText=n.responseText),e.next(r)},u=t=>{let n={type:k.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",s),n.addEventListener("error",a),n.addEventListener("timeout",a),n.addEventListener("abort",a),t.reportProgress&&(n.addEventListener("progress",c),null!==i&&n.upload&&n.upload.addEventListener("progress",u)),n.send(i),e.next({type:k.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("abort",a),n.removeEventListener("load",s),n.removeEventListener("timeout",a),t.reportProgress&&(n.removeEventListener("progress",c),null!==i&&n.upload&&n.upload.removeEventListener("progress",u)),n.readyState!==n.DONE&&n.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(i.JF))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();const z=new r.OlP("XSRF_COOKIE_NAME"),F=new r.OlP("XSRF_HEADER_NAME");class R{}let j=(()=>{class t{constructor(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,i.Mx)(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(i.K0),r.LFG(r.Lbi),r.LFG(z))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),B=(()=>{class t{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);const i=this.tokenService.getToken();return null!==i&&!t.headers.has(this.headerName)&&(t=t.clone({headers:t.headers.set(this.headerName,i)})),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(R),r.LFG(F))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),V=(()=>{class t{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(I,[]);this.chain=t.reduceRight((t,e)=>new A(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(h),r.LFG(r.zs3))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),$=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:B,useClass:D}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:z,useValue:e.cookieName}:[],e.headerName?{provide:F,useValue:e.headerName}:[]]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[B,{provide:I,useExisting:B,multi:!0},{provide:R,useClass:j},{provide:z,useValue:"XSRF-TOKEN"},{provide:F,useValue:"X-XSRF-TOKEN"}]}),t})(),Y=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[T,{provide:u,useClass:V},L,{provide:h,useExisting:L}],imports:[[$.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})()},74788:function(t,e,n){"use strict";n.d(e,{deG:function(){return an},tb:function(){return ic},AFp:function(){return Wl},ip1:function(){return Xl},CZH:function(){return Ql},hGG:function(){return Gc},z2F:function(){return Rc},sBO:function(){return Ya},Sil:function(){return fc},_Vd:function(){return pa},EJc:function(){return sc},SBq:function(){return va},qLn:function(){return or},vpe:function(){return Tl},gxx:function(){return wo},tBr:function(){return In},XFs:function(){return T},OlP:function(){return sn},zs3:function(){return zo},ZZ4:function(){return za},aQg:function(){return Ra},soG:function(){return oc},YKP:function(){return Ka},v3s:function(){return Bc},h0i:function(){return Wa},PXZ:function(){return Dc},R0b:function(){return vc},FiY:function(){return Dn},Lbi:function(){return nc},g9A:function(){return ec},n_E:function(){return Il},Qsj:function(){return ba},FYo:function(){return ya},JOm:function(){return zn},Tiy:function(){return Ca},q3G:function(){return Ki},PiD:function(){return Nn},tp0:function(){return Ln},EAV:function(){return Yc},Rgc:function(){return Ga},dDg:function(){return kc},DyG:function(){return ln},GfV:function(){return xa},s_b:function(){return el},ifc:function(){return z},eFA:function(){return Nc},Gpc:function(){return p},f3M:function(){return Sn},X6Q:function(){return Tc},_c5:function(){return Uc},VLi:function(){return Sc},c2e:function(){return rc},zSh:function(){return xo},wAp:function(){return Ws},vHH:function(){return m},EiD:function(){return Qi},mCW:function(){return Li},qzn:function(){return ki},JVY:function(){return Mi},pB0:function(){return Ti},eBb:function(){return Pi},L6k:function(){return Si},LAX:function(){return Ei},cg1:function(){return Js},Tjo:function(){return qc},kL8:function(){return Xs},yhl:function(){return Oi},dqk:function(){return B},sIi:function(){return Uo},CqO:function(){return ps},QGY:function(){return hs},F4k:function(){return ds},RDi:function(){return Ot},AaK:function(){return u},z3N:function(){return xi},qOj:function(){return Ro},TTD:function(){return vt},_Bn:function(){return ca},xp6:function(){return xr},uIk:function(){return Qo},Tol:function(){return Es},ekj:function(){return Ps},Suo:function(){return Zl},Xpm:function(){return Q},lG2:function(){return rt},Yz7:function(){return w},cJS:function(){return C},oAB:function(){return et},Yjl:function(){return ot},Y36:function(){return ts},_UZ:function(){return ss},GkF:function(){return cs},BQk:function(){return ls},ynx:function(){return as},qZA:function(){return os},TgZ:function(){return rs},EpF:function(){return us},n5z:function(){return tn},Ikx:function(){return Zs},LFG:function(){return Mn},$8M:function(){return nn},$Z:function(){return es},NdJ:function(){return fs},CRH:function(){return ql},kcU:function(){return ye},O4$:function(){return _e},oxw:function(){return vs},ALo:function(){return xl},lcZ:function(){return kl},xi3:function(){return Ol},Dn7:function(){return Ml},Hsn:function(){return bs},F$t:function(){return ys},Q6J:function(){return ns},DdM:function(){return ml},VKq:function(){return vl},WLB:function(){return _l},iGM:function(){return $l},MAs:function(){return Ko},evT:function(){return lr},Jf7:function(){return ar},CHM:function(){return Zt},oJD:function(){return tr},LSH:function(){return er},kYT:function(){return nt},Udp:function(){return Ss},d8E:function(){return qs},YNc:function(){return Wo},W1O:function(){return Jl},_uU:function(){return Bs},Oqu:function(){return Vs},hij:function(){return $s},AsE:function(){return Ys},Gf:function(){return Yl}});var i=n(79765),r=n(59178),o=n(29856),s=n(66682),a=n(9945);function l(t){for(let e in t)if(t[e]===l)return e;throw Error("Could not find renamed property on target object.")}function c(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function u(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(u).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 h(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const d=l({__forward_ref__:l});function p(t){return t.__forward_ref__=p,t.toString=function(){return u(this())},t}function f(t){return g(t)?t():t}function g(t){return"function"==typeof t&&t.hasOwnProperty(d)&&t.__forward_ref__===p}class m extends Error{constructor(t,e){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(t,e)),this.code=t}}function v(t){return"string"==typeof t?t:null==t?"":String(t)}function _(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():v(t)}function y(t,e){const n=e?` in ${e}`:"";throw new m("201",`No provider for ${_(t)} found${n}`)}function b(t,e){null==t&&function(t,e,n,i){throw new Error(`ASSERTION ERROR: ${t}`+(null==i?"":` [Expected=> ${n} ${i} ${e} <=Actual]`))}(e,t,null,"!=")}function w(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function C(t){return{providers:t.providers||[],imports:t.imports||[]}}function x(t){return k(t,M)||k(t,P)}function k(t,e){return t.hasOwnProperty(e)?t[e]:null}function O(t){return t&&(t.hasOwnProperty(S)||t.hasOwnProperty(E))?t[S]:null}const M=l({"\u0275prov":l}),S=l({"\u0275inj":l}),P=l({ngInjectableDef:l}),E=l({ngInjectorDef:l});var T=(()=>((T=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))();let A;function I(t){const e=A;return A=t,e}function D(t,e,n){const i=x(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&T.Optional?null:void 0!==e?e:void y(u(t),"Injector")}function N(t){return{toString:t}.toString()}var L=(()=>((L=L||{})[L.OnPush=0]="OnPush",L[L.Default=1]="Default",L))(),z=(()=>((z=z||{})[z.Emulated=0]="Emulated",z[z.None=2]="None",z[z.ShadowDom=3]="ShadowDom",z))();const F="undefined"!=typeof globalThis&&globalThis,R="undefined"!=typeof window&&window,j="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,B=F||"undefined"!=typeof global&&global||R||j,V={},$=[],Y=l({"\u0275cmp":l}),Z=l({"\u0275dir":l}),q=l({"\u0275pipe":l}),U=l({"\u0275mod":l}),H=l({"\u0275loc":l}),G=l({"\u0275fac":l}),J=l({__NG_ELEMENT_ID__:l});let X=0;function Q(t){return N(()=>{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===L.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||$,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||z.Emulated,id:"c",styles:t.styles||$,_:null,setInput:null,schemas:t.schemas||null,tView:null},i=t.directives,r=t.features,o=t.pipes;return n.id+=X++,n.inputs=it(t.inputs,e),n.outputs=it(t.outputs),r&&r.forEach(t=>t(n)),n.directiveDefs=i?()=>("function"==typeof i?i():i).map(W):null,n.pipeDefs=o?()=>("function"==typeof o?o():o).map(K):null,n})}function W(t){return st(t)||function(t){return t[Z]||null}(t)}function K(t){return function(t){return t[q]||null}(t)}const tt={};function et(t){return N(()=>{const e={type:t.type,bootstrap:t.bootstrap||$,declarations:t.declarations||$,imports:t.imports||$,exports:t.exports||$,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(tt[t.id]=t.type),e})}function nt(t,e){return N(()=>{const n=at(t,!0);n.declarations=e.declarations||$,n.imports=e.imports||$,n.exports=e.exports||$})}function it(t,e){if(null==t)return V;const n={};for(const i in t)if(t.hasOwnProperty(i)){let r=t[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),n[r]=i,e&&(e[r]=o)}return n}const rt=Q;function ot(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function st(t){return t[Y]||null}function at(t,e){const n=t[U]||null;if(!n&&!0===e)throw new Error(`Type ${u(t)} does not have '\u0275mod' property.`);return n}function lt(t){return Array.isArray(t)&&"object"==typeof t[1]}function ct(t){return Array.isArray(t)&&!0===t[1]}function ut(t){return 0!=(8&t.flags)}function ht(t){return 2==(2&t.flags)}function dt(t){return 1==(1&t.flags)}function pt(t){return null!==t.template}function ft(t){return 0!=(512&t[2])}function gt(t,e){return t.hasOwnProperty(G)?t[G]:null}class mt{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function vt(){return _t}function _t(t){return t.type.prototype.ngOnChanges&&(t.setInput=bt),yt}function yt(){const t=Ct(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===V)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function bt(t,e,n,i){const r=Ct(t)||function(t,e){return t[wt]=e}(t,{previous:V,current:null}),o=r.current||(r.current={}),s=r.previous,a=this.declaredInputs[n],l=s[a];o[a]=new mt(l&&l.currentValue,e,s===V),t[i]=e}vt.ngInherit=!0;const wt="__ngSimpleChanges__";function Ct(t){return t[wt]||null}const xt="http://www.w3.org/2000/svg";let kt;function Ot(t){kt=t}function Mt(){return void 0!==kt?kt:"undefined"!=typeof document?document:void 0}function St(t){return!!t.listen}const Pt={createRenderer:(t,e)=>Mt()};function Et(t){for(;Array.isArray(t);)t=t[0];return t}function Tt(t,e){return Et(e[t])}function At(t,e){return Et(e[t.index])}function It(t,e){return t.data[e]}function Dt(t,e){return t[e]}function Nt(t,e){const n=e[t];return lt(n)?n:n[0]}function Lt(t){return 4==(4&t[2])}function zt(t){return 128==(128&t[2])}function Ft(t,e){return null==e?null:t[e]}function Rt(t){t[18]=0}function jt(t,e){t[5]+=e;let n=t,i=t[3];for(;null!==i&&(1===e&&1===n[5]||-1===e&&0===n[5]);)i[5]+=e,n=i,i=i[3]}const Bt={lFrame:he(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Vt(){return Bt.bindingsEnabled}function $t(){return Bt.lFrame.lView}function Yt(){return Bt.lFrame.tView}function Zt(t){return Bt.lFrame.contextLView=t,t[8]}function qt(){let t=Ut();for(;null!==t&&64===t.type;)t=t.parent;return t}function Ut(){return Bt.lFrame.currentTNode}function Ht(t,e){const n=Bt.lFrame;n.currentTNode=t,n.isParent=e}function Gt(){return Bt.lFrame.isParent}function Jt(){Bt.lFrame.isParent=!1}function Xt(){return Bt.isInCheckNoChangesMode}function Qt(t){Bt.isInCheckNoChangesMode=t}function Wt(){const t=Bt.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Kt(){return Bt.lFrame.bindingIndex}function te(){return Bt.lFrame.bindingIndex++}function ee(t){const e=Bt.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function ne(t,e){const n=Bt.lFrame;n.bindingIndex=n.bindingRootIndex=t,ie(e)}function ie(t){Bt.lFrame.currentDirectiveIndex=t}function re(t){const e=Bt.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function oe(){return Bt.lFrame.currentQueryIndex}function se(t){Bt.lFrame.currentQueryIndex=t}function ae(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function le(t,e,n){if(n&T.SkipSelf){let i=e,r=t;for(;!(i=i.parent,null!==i||n&T.Host||(i=ae(r),null===i||(r=r[15],10&i.type))););if(null===i)return!1;e=i,t=r}const i=Bt.lFrame=ue();return i.currentTNode=e,i.lView=t,!0}function ce(t){const e=ue(),n=t[1];Bt.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function ue(){const t=Bt.lFrame,e=null===t?null:t.child;return null===e?he(t):e}function he(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function de(){const t=Bt.lFrame;return Bt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const pe=de;function fe(){const t=de();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function ge(){return Bt.lFrame.selectedIndex}function me(t){Bt.lFrame.selectedIndex=t}function ve(){const t=Bt.lFrame;return It(t.tView,t.selectedIndex)}function _e(){Bt.lFrame.currentNamespace=xt}function ye(){Bt.lFrame.currentNamespace=null}function be(t,e){for(let n=e.directiveStart,i=e.directiveEnd;n=i)break}else e[a]<0&&(t[18]+=65536),(s>11>16&&(3&t[2])===e){t[2]+=2048;try{o.call(s)}finally{}}}else try{o.call(s)}finally{}}class Me{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function Se(t,e,n){const i=St(t);let r=0;for(;re){s=o-1;break}}}for(;o>16}(t),i=e;for(;n>0;)i=i[15],n--;return i}let Le=!0;function ze(t){const e=Le;return Le=t,e}let Fe=0;function Re(t,e){const n=Be(t,e);if(-1!==n)return n;const i=e[1];i.firstCreatePass&&(t.injectorIndex=e.length,je(i.data,t),je(e,null),je(i.blueprint,null));const r=Ve(t,e),o=t.injectorIndex;if(Ie(r)){const t=De(r),n=Ne(r,e),i=n[1].data;for(let r=0;r<8;r++)e[o+r]=n[t+r]|i[t+r]}return e[o+8]=r,o}function je(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Be(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Ve(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,i=null,r=e;for(;null!==r;){const t=r[1],e=t.type;if(i=2===e?t.declTNode:1===e?r[6]:null,null===i)return-1;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function $e(t,e,n){!function(t,e,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(J)&&(i=n[J]),null==i&&(i=n[J]=Fe++);const r=255&i;e.data[t+(r>>5)]|=1<=0?255&e:He:e}(n);if("function"==typeof o){if(!le(e,t,i))return i&T.Host?Ye(r,n,i):Ze(e,n,i,r);try{const t=o(i);if(null!=t||i&T.Optional)return t;y(n)}finally{pe()}}else if("number"==typeof o){let r=null,s=Be(t,e),a=-1,l=i&T.Host?e[16][6]:null;for((-1===s||i&T.SkipSelf)&&(a=-1===s?Ve(t,e):e[s+8],-1!==a&&We(i,!1)?(r=e[1],s=De(a),e=Ne(a,e)):s=-1);-1!==s;){const t=e[1];if(Qe(o,s,t.data)){const t=Ge(s,e,n,r,i,l);if(t!==Ue)return t}a=e[s+8],-1!==a&&We(i,e[1].data[s+8]===l)&&Qe(o,s,e)?(r=t,s=De(a),e=Ne(a,e)):s=-1}}}return Ze(e,n,i,r)}const Ue={};function He(){return new Ke(qt(),$t())}function Ge(t,e,n,i,r,o){const s=e[1],a=s.data[t+8],l=Je(a,s,n,null==i?ht(a)&&Le:i!=s&&0!=(3&a.type),r&T.Host&&o===a);return null!==l?Xe(e,s,l,a):Ue}function Je(t,e,n,i,r){const o=t.providerIndexes,s=e.data,a=1048575&o,l=t.directiveStart,c=o>>20,u=r?a+c:t.directiveEnd;for(let h=i?a:a+c;h=l&&t.type===n)return h}if(r){const t=s[l];if(t&&pt(t)&&t.type===n)return l}return null}function Xe(t,e,n,i){let r=t[n];const o=e.data;if(function(t){return t instanceof Me}(r)){const s=r;s.resolving&&function(t,e){throw new m("200",`Circular dependency in DI detected for ${t}`)}(_(o[n]));const a=ze(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?I(s.injectImpl):null;le(t,i,T.Default);try{r=t[n]=s.factory(void 0,o,t,i),e.firstCreatePass&&n>=i.directiveStart&&function(t,e,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=e.type.prototype;if(i){const i=_t(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,i)}r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,r),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,o))}(n,o[n],e)}finally{null!==l&&I(l),ze(a),s.resolving=!1,pe()}}return r}function Qe(t,e,n){return!!(n[e+(t>>5)]&1<{const e=t.prototype.constructor,n=e[G]||en(e),i=Object.prototype;let r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){const t=r[G]||en(r);if(t&&t!==n)return t;r=Object.getPrototypeOf(r)}return t=>new t})}function en(t){return g(t)?()=>{const e=en(f(t));return e&&e()}:gt(t)}function nn(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const n=t.attrs;if(n){const t=n.length;let i=0;for(;i{const i=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function r(...t){if(this instanceof r)return i.apply(this,t),this;const e=new r(...t);return n.annotation=e,n;function n(t,n,i){const r=t.hasOwnProperty(rn)?t[rn]:Object.defineProperty(t,rn,{value:[]})[rn];for(;r.length<=i;)r.push(null);return(r[i]=r[i]||[]).push(e),t}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}class sn{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=w({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const an=new sn("AnalyzeForEntryComponents"),ln=Function;function cn(t,e){void 0===e&&(e=t);for(let n=0;nArray.isArray(t)?un(t,e):e(t))}function hn(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function dn(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function pn(t,e){const n=[];for(let i=0;i=0?t[1|i]=n:(i=~i,function(t,e,n,i){let r=t.length;if(r==e)t.push(n,i);else if(1===r)t.push(i,t[0]),t[0]=n;else{for(r--,t.push(t[r-1],t[r]);r>e;)t[r]=t[r-2],r--;t[e]=n,t[e+1]=i}}(t,i,e,n)),i}function gn(t,e){const n=mn(t,e);if(n>=0)return t[1|n]}function mn(t,e){return function(t,e,n){let i=0,r=t.length>>n;for(;r!==i;){const o=i+(r-i>>1),s=t[o<e?r=o:i=o+1}return~(r< ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];t.push(n+":"+("string"==typeof i?JSON.stringify(i):u(i)))}r=`{${t.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${t.replace(bn,"\n ")}`}("\n"+t.message,r,n,i),t.ngTokenPath=r,t[yn]=null,t}const In=En(on("Inject",t=>({token:t})),-1),Dn=En(on("Optional"),8),Nn=En(on("Self"),2),Ln=En(on("SkipSelf"),4);var zn=(()=>((zn=zn||{})[zn.Important=1]="Important",zn[zn.DashCase=2]="DashCase",zn))();const Fn="__ngContext__";function Rn(t,e){t[Fn]=e}function jn(t){const e=function(t){return t[Fn]||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Bn(t,e){return undefined(t,e)}function Vn(t){const e=t[3];return ct(e)?e[3]:e}function $n(t){return Zn(t[13])}function Yn(t){return Zn(t[4])}function Zn(t){for(;null!==t&&!ct(t);)t=t[4];return t}function qn(t,e,n,i,r){if(null!=i){let o,s=!1;ct(i)?o=i:lt(i)&&(s=!0,i=i[0]);const a=Et(i);0===t&&null!==n?null==r?Kn(e,n,a):Wn(e,n,a,r||null,!0):1===t&&null!==n?Wn(e,n,a,r||null,!0):2===t?function(t,e,n){const i=ei(t,e);i&&function(t,e,n,i){St(t)?t.removeChild(e,n,i):e.removeChild(n)}(t,i,e,n)}(e,a,s):3===t&&e.destroyNode(a),null!=o&&function(t,e,n,i,r){const o=n[7];o!==Et(n)&&qn(e,t,i,o,r);for(let s=10;s0&&(t[n-1][4]=i[4]);const o=dn(t,10+e);!function(t,e){hi(t,e,e[11],2,null,null),e[0]=null,e[6]=null}(i[1],i);const s=o[19];null!==s&&s.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}function Jn(t,e){if(!(256&e[2])){const n=e[11];St(n)&&n.destroyNode&&hi(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return Xn(t[1],t);for(;e;){let n=null;if(lt(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)lt(e)&&Xn(e[1],e),e=e[3];null===e&&(e=t),lt(e)&&Xn(e[1],e),n=e&&e[4]}e=n}}(e)}}function Xn(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 i=0;i=0?i[r=l]():i[r=-l].unsubscribe(),o+=2}else{const t=i[r=n[o+1]];n[o].call(t)}if(null!==i){for(let t=r+1;tt,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return ii}())||void 0===e?void 0:e.createHTML(t))||t}function mi(t){var e;return(null===(e=function(){if(void 0===ri&&(ri=null,B.trustedTypes))try{ri=B.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return ri}())||void 0===e?void 0:e.createHTML(t))||t}class vi{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class _i extends vi{getTypeName(){return"HTML"}}class yi extends vi{getTypeName(){return"Style"}}class bi extends vi{getTypeName(){return"Script"}}class wi extends vi{getTypeName(){return"URL"}}class Ci extends vi{getTypeName(){return"ResourceURL"}}function xi(t){return t instanceof vi?t.changingThisBreaksApplicationSecurity:t}function ki(t,e){const n=Oi(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===e}function Oi(t){return t instanceof vi&&t.getTypeName()||null}function Mi(t){return new _i(t)}function Si(t){return new yi(t)}function Pi(t){return new bi(t)}function Ei(t){return new wi(t)}function Ti(t){return new Ci(t)}class Ai{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(gi(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch(e){return null}}}class Ii{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);const e=this.inertDocument.createElement("body");t.appendChild(e)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=gi(t),e;const n=this.inertDocument.createElement("body");return n.innerHTML=gi(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let i=e.length-1;0Li(t.trim())).join(", ")),this.buf.push(" ",e,'="',Ji(s),'"')}var i;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();Vi.hasOwnProperty(e)&&!Ri.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(Ji(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const Hi=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Gi=/([^\#-~ |!])/g;function Ji(t){return t.replace(/&/g,"&").replace(Hi,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Gi,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let Xi;function Qi(t,e){let n=null;try{Xi=Xi||function(t){const e=new Ii(t);return function(){try{return!!(new window.DOMParser).parseFromString(gi(""),"text/html")}catch(t){return!1}}()?new Ai(e):e}(t);let i=e?String(e):"";n=Xi.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=n.innerHTML,n=Xi.getInertBodyElement(i)}while(i!==o);return gi((new Ui).sanitizeChildren(Wi(n)||n))}finally{if(n){const t=Wi(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function Wi(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Ki=(()=>((Ki=Ki||{})[Ki.NONE=0]="NONE",Ki[Ki.HTML=1]="HTML",Ki[Ki.STYLE=2]="STYLE",Ki[Ki.SCRIPT=3]="SCRIPT",Ki[Ki.URL=4]="URL",Ki[Ki.RESOURCE_URL=5]="RESOURCE_URL",Ki))();function tr(t){const e=nr();return e?mi(e.sanitize(Ki.HTML,t)||""):ki(t,"HTML")?mi(xi(t)):Qi(Mt(),v(t))}function er(t){const e=nr();return e?e.sanitize(Ki.URL,t)||"":ki(t,"URL")?xi(t):Li(v(t))}function nr(){const t=$t();return t&&t[12]}function ir(t){return t.ngOriginalError}function rr(t,...e){t.error(...e)}class or{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),i=(r=t)&&r.ngErrorLogger||rr;var r;i(this._console,"ERROR",t),e&&i(this._console,"ORIGINAL ERROR",e),n&&i(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?t.ngDebugContext||this._findContext(ir(t)):null}_findOriginalError(t){let e=t&&ir(t);for(;e&&ir(e);)e=ir(e);return e||null}}const sr=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(B))();function ar(t){return t.ownerDocument.defaultView}function lr(t){return t.ownerDocument}function cr(t){return t instanceof Function?t():t}function ur(t,e,n){let i=t.length;for(;;){const r=t.indexOf(e,n);if(-1===r)return r;if(0===r||t.charCodeAt(r-1)<=32){const n=e.length;if(r+n===i||t.charCodeAt(r+n)<=32)return r}n=r+1}}const hr="ng-template";function dr(t,e,n){let i=0;for(;io?"":r[u+1].toLowerCase();const e=8&i?t:null;if(e&&-1!==ur(e,c,0)||2&i&&c!==t){if(mr(i))return!1;s=!0}}}}else{if(!s&&!mr(i)&&!mr(l))return!1;if(s&&mr(l))continue;s=!1,i=l|1&i}}return mr(i)||s}function mr(t){return 0==(1&t)}function vr(t,e,n,i){if(null===e)return-1;let r=0;if(i||!n){let n=!1;for(;r-1)for(n++;n0?'="'+e+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!mr(s)&&(e+=br(o,r),r=""),i=s,o=o||!mr(i);n++}return""!==r&&(e+=br(o,r)),e}const Cr={};function xr(t){kr(Yt(),$t(),ge()+t,Xt())}function kr(t,e,n,i){if(!i)if(3==(3&e[2])){const i=t.preOrderCheckHooks;null!==i&&we(e,i,n)}else{const i=t.preOrderHooks;null!==i&&Ce(e,i,0,n)}me(n)}function Or(t,e){return t<<17|e<<2}function Mr(t){return t>>17&32767}function Sr(t){return 2|t}function Pr(t){return(131068&t)>>2}function Er(t,e){return-131069&t|e<<2}function Tr(t){return 1|t}function Ar(t,e){const n=t.contentQueries;if(null!==n)for(let i=0;i20&&kr(t,e,20,Xt()),n(i,r)}finally{me(o)}}function jr(t,e,n){if(ut(e)){const i=e.directiveEnd;for(let r=e.directiveStart;r0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(n)!=o&&n.push(o),n.push(i,r,s)}}function Jr(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function Xr(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function Qr(t,e,n){if(n){if(e.exportAs)for(let i=0;i0&&so(n)}}function so(t){for(let n=$n(t);null!==n;n=Yn(n))for(let t=10;t0&&so(e)}const e=t[1].components;if(null!==e)for(let n=0;n0&&so(i)}}function ao(t,e){const n=Nt(e,t),i=n[1];(function(t,e){for(let n=e.length;nPromise.resolve(null))();function go(t){return t[7]||(t[7]=[])}function mo(t){return t.cleanup||(t.cleanup=[])}function vo(t,e){const n=t[9],i=n?n.get(or,null):null;i&&i.handleError(e)}function _o(t,e,n,i,r){for(let o=0;othis.processProvider(n,t,e)),un([t],t=>this.processInjectorType(t,[],r)),this.records.set(wo,Io(void 0,this));const o=this.records.get(xo);this.scope=null!=o?o.value:null,this.source=i||("object"==typeof t?null:u(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=vn,n=T.Default){this.assertNotDestroyed();const i=kn(this),r=I(void 0);try{if(!(n&T.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(o=t)||"object"==typeof o&&o instanceof sn)&&x(t);e=n&&this.injectableDefInScope(n)?Io(To(t),ko):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&T.Self?So():this.parent).get(t,e=n&T.Optional&&e===vn?null:e)}catch(s){if("NullInjectorError"===s.name){if((s[yn]=s[yn]||[]).unshift(u(t)),i)throw s;return An(s,t,"R3InjectorError",this.source)}throw s}finally{I(r),kn(i)}var o}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(u(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=f(t)))return!1;let i=O(t);const r=null==i&&t.ngModule||void 0,o=void 0===r?t:r,s=-1!==n.indexOf(o);if(void 0!==r&&(i=O(r)),null==i)return!1;if(null!=i.imports&&!s){let t;n.push(o);try{un(i.imports,i=>{this.processInjectorType(i,e,n)&&(void 0===t&&(t=[]),t.push(i))})}finally{}if(void 0!==t)for(let e=0;ethis.processProvider(t,n,i||$))}}this.injectorDefTypes.add(o);const a=gt(o)||(()=>new o);this.records.set(o,Io(a,ko));const l=i.providers;if(null!=l&&!s){const e=t;un(l,t=>this.processProvider(t,e,l))}return void 0!==r&&void 0!==t.providers}processProvider(t,e,n){let i=No(t=f(t))?t:f(t&&t.provide);const r=(o=t,Do(o)?Io(void 0,o.useValue):Io(Ao(o),ko));var o;if(No(t)||!0!==t.multi)this.records.get(i);else{let e=this.records.get(i);e||(e=Io(void 0,ko,!0),e.factory=()=>Pn(e.multi),this.records.set(i,e)),i=t,e.multi.push(t)}this.records.set(i,r)}hydrate(t,e){return e.value===ko&&(e.value=Oo,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;var n}injectableDefInScope(t){if(!t.providedIn)return!1;const e=f(t.providedIn);return"string"==typeof e?"any"===e||e===this.scope:this.injectorDefTypes.has(e)}}function To(t){const e=x(t),n=null!==e?e.factory:gt(t);if(null!==n)return n;if(t instanceof sn)throw new Error(`Token ${u(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=pn(e,"?");throw new Error(`Can't resolve all parameters for ${u(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[M]||t[P]);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 Ao(t,e,n){let i;if(No(t)){const e=f(t);return gt(e)||To(e)}if(Do(t))i=()=>f(t.useValue);else if(function(t){return!(!t||!t.useFactory)}(t))i=()=>t.useFactory(...Pn(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))i=()=>Mn(f(t.useExisting));else{const e=f(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return gt(e)||To(e);i=()=>new e(...Pn(t.deps))}return i}function Io(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Do(t){return null!==t&&"object"==typeof t&&Cn in t}function No(t){return"function"==typeof t}const Lo=function(t,e,n){return function(t,e=null,n=null,i){const r=Po(t,e,n,i);return r._resolveInjectorDefTypes(),r}({name:n},e,t,n)};let zo=(()=>{class t{static create(t,e){return Array.isArray(t)?Lo(t,e,""):Lo(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=vn,t.NULL=new Co,t.\u0275prov=w({token:t,providedIn:"any",factory:()=>Mn(wo)}),t.__NG_ELEMENT_ID__=-1,t})();function Fo(t,e){be(jn(t)[1],qt())}function Ro(t){let e=function(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),n=!0;const i=[t];for(;e;){let r;if(pt(t))r=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");r=e.\u0275dir}if(r){if(n){i.push(r);const e=t;e.inputs=jo(t.inputs),e.declaredInputs=jo(t.declaredInputs),e.outputs=jo(t.outputs);const n=r.hostBindings;n&&$o(t,n);const o=r.viewQuery,s=r.contentQueries;if(o&&Bo(t,o),s&&Vo(t,s),c(t.inputs,r.inputs),c(t.declaredInputs,r.declaredInputs),c(t.outputs,r.outputs),pt(r)&&r.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(r.data.animation)}}const e=r.features;if(e)for(let i=0;i=0;i--){const r=t[i];r.hostVars=e+=r.hostVars,r.hostAttrs=Te(r.hostAttrs,n=Te(n,r.hostAttrs))}}(i)}function jo(t){return t===V?{}:t===$?[]:t}function Bo(t,e){const n=t.viewQuery;t.viewQuery=n?(t,i)=>{e(t,i),n(t,i)}:e}function Vo(t,e){const n=t.contentQueries;t.contentQueries=n?(t,i,r)=>{e(t,i,r),n(t,i,r)}:e}function $o(t,e){const n=t.hostBindings;t.hostBindings=n?(t,i)=>{e(t,i),n(t,i)}:e}let Yo=null;function Zo(){if(!Yo){const t=B.Symbol;if(t&&t.iterator)Yo=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;ea(Et(t[i.index])):i.index;if(St(n)){let s=null;if(!a&&l&&(s=function(t,e,n,i){const r=t.cleanup;if(null!=r)for(let o=0;on?t[n]:null}"string"==typeof t&&(o+=2)}return null}(t,e,r,i.index)),null!==s)(s.__ngLastListenerFn__||s).__ngNextListenerFn__=o,s.__ngLastListenerFn__=o,d=!1;else{o=ms(i,e,u,o,!1);const t=n.listen(f,r,o);h.push(o,t),c&&c.push(r,m,g,g+1)}}else o=ms(i,e,u,o,!0),f.addEventListener(r,o,s),h.push(o),c&&c.push(r,m,g,s)}else o=ms(i,e,u,o,!1);const p=i.outputs;let f;if(d&&null!==p&&(f=p[r])){const t=f.length;if(t)for(let n=0;n0;)e=e[15],t--;return e}(t,Bt.lFrame.contextLView))[8]}(t)}function _s(t,e){let n=null;const i=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(t);for(let r=0;r=0}const xs={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ks(t){return t.substring(xs.key,xs.keyEnd)}function Os(t,e){const n=xs.textEnd;return n===e?-1:(e=xs.keyEnd=function(t,e,n){for(;e32;)e++;return e}(t,xs.key=e,n),Ms(t,e,n))}function Ms(t,e,n){for(;e=0;n=Os(e,n))fn(t,ks(e),!0)}function As(t,e,n,i){const r=$t(),o=Yt(),s=ee(2);o.firstUpdatePass&&Ds(o,t,s,i),e!==Cr&&Jo(r,s,e)&&zs(o,o.data[ge()],r,r[11],t,r[s+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=u(xi(t)))),t}(e,n),i,s)}function Is(t,e){return e>=t.expandoStartIndex}function Ds(t,e,n,i){const r=t.data;if(null===r[n+1]){const o=r[ge()],s=Is(t,n);js(o,i)&&null===e&&!s&&(e=!1),e=function(t,e,n,i){const r=re(t);let o=i?e.residualClasses:e.residualStyles;if(null===r)0===(i?e.classBindings:e.styleBindings)&&(n=Ls(n=Ns(null,t,e,n,i),e.attrs,i),o=null);else{const s=e.directiveStylingLast;if(-1===s||t[s]!==r)if(n=Ns(r,t,e,n,i),null===o){let n=function(t,e,n){const i=n?e.classBindings:e.styleBindings;if(0!==Pr(i))return t[Mr(i)]}(t,e,i);void 0!==n&&Array.isArray(n)&&(n=Ns(null,t,e,n[1],i),n=Ls(n,e.attrs,i),function(t,e,n,i){t[Mr(n?e.classBindings:e.styleBindings)]=i}(t,e,i,n))}else o=function(t,e,n){let i;const r=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0)&&(u=!0)}else c=n;if(r)if(0!==l){const e=Mr(t[a+1]);t[i+1]=Or(e,a),0!==e&&(t[e+1]=Er(t[e+1],i)),t[a+1]=function(t,e){return 131071&t|e<<17}(t[a+1],i)}else t[i+1]=Or(a,0),0!==a&&(t[a+1]=Er(t[a+1],i)),a=i;else t[i+1]=Or(l,0),0===a?a=i:t[l+1]=Er(t[l+1],i),l=i;u&&(t[i+1]=Sr(t[i+1])),ws(t,c,i,!0),ws(t,c,i,!1),function(t,e,n,i,r){const o=r?t.residualClasses:t.residualStyles;null!=o&&"string"==typeof e&&mn(o,e)>=0&&(n[i+1]=Tr(n[i+1]))}(e,c,t,i,o),s=Or(a,l),o?e.classBindings=s:e.styleBindings=s}(r,o,e,n,s,i)}}function Ns(t,e,n,i,r){let o=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const e=t[r],o=Array.isArray(e),l=o?e[1]:e,c=null===l;let u=n[r+1];u===Cr&&(u=c?$:void 0);let h=c?gn(u,i):l===i?u:void 0;if(o&&!Rs(h)&&(h=gn(e,i)),Rs(h)&&(a=h,s))return a;const d=t[r+1];r=s?Mr(d):Pr(d)}if(null!==e){let t=o?e.residualClasses:e.residualStyles;null!=t&&(a=gn(t,i))}return a}function Rs(t){return void 0!==t}function js(t,e){return 0!=(t.flags&(e?16:32))}function Bs(t,e=""){const n=$t(),i=Yt(),r=t+20,o=i.firstCreatePass?Dr(i,r,1,e,null):i.data[r],s=n[r]=function(t,e){return St(t)?t.createText(e):t.createTextNode(e)}(n[11],e);si(i,n,s,o),Ht(o,!1)}function Vs(t){return $s("",t,""),Vs}function $s(t,e,n){const i=$t(),r=function(t,e,n,i){return Jo(t,te(),n)?e+v(n)+i:Cr}(i,t,e,n);return r!==Cr&&yo(i,ge(),r),$s}function Ys(t,e,n,i,r){const o=$t(),s=function(t,e,n,i,r,o){const s=Xo(t,Kt(),n,r);return ee(2),s?e+v(n)+i+v(r)+o:Cr}(o,t,e,n,i,r);return s!==Cr&&yo(o,ge(),s),Ys}function Zs(t,e,n){const i=$t();return Jo(i,te(),e)&&Ur(Yt(),ve(),i,t,e,i[11],n,!0),Zs}function qs(t,e,n){const i=$t();if(Jo(i,te(),e)){const r=Yt(),o=ve();Ur(r,o,i,t,e,function(t,e,n){return(null===t||pt(t))&&(n=function(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[0]}return null}(n[e.index])),n[11]}(re(r.data),o,i),n,!0)}return qs}const Us=void 0;var Hs=["en",[["a","p"],["AM","PM"],Us],[["AM","PM"],Us,Us],[["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"]],Us,[["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"]],Us,[["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}",Us,"{1} 'at' {0}",Us],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){const e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let Gs={};function Js(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=Qs(e);if(n)return n;const i=e.split("-")[0];if(n=Qs(i),n)return n;if("en"===i)return Hs;throw new Error(`Missing locale data for the locale "${t}".`)}function Xs(t){return Js(t)[Ws.PluralCase]}function Qs(t){return t in Gs||(Gs[t]=B.ng&&B.ng.common&&B.ng.common.locales&&B.ng.common.locales[t]),Gs[t]}var Ws=(()=>((Ws=Ws||{})[Ws.LocaleId=0]="LocaleId",Ws[Ws.DayPeriodsFormat=1]="DayPeriodsFormat",Ws[Ws.DayPeriodsStandalone=2]="DayPeriodsStandalone",Ws[Ws.DaysFormat=3]="DaysFormat",Ws[Ws.DaysStandalone=4]="DaysStandalone",Ws[Ws.MonthsFormat=5]="MonthsFormat",Ws[Ws.MonthsStandalone=6]="MonthsStandalone",Ws[Ws.Eras=7]="Eras",Ws[Ws.FirstDayOfWeek=8]="FirstDayOfWeek",Ws[Ws.WeekendRange=9]="WeekendRange",Ws[Ws.DateFormat=10]="DateFormat",Ws[Ws.TimeFormat=11]="TimeFormat",Ws[Ws.DateTimeFormat=12]="DateTimeFormat",Ws[Ws.NumberSymbols=13]="NumberSymbols",Ws[Ws.NumberFormats=14]="NumberFormats",Ws[Ws.CurrencyCode=15]="CurrencyCode",Ws[Ws.CurrencySymbol=16]="CurrencySymbol",Ws[Ws.CurrencyName=17]="CurrencyName",Ws[Ws.Currencies=18]="Currencies",Ws[Ws.Directionality=19]="Directionality",Ws[Ws.PluralCase=20]="PluralCase",Ws[Ws.ExtraData=21]="ExtraData",Ws))();const Ks="en-US";let ta=Ks;function ea(t){b(t,"Expected localeId to be defined"),"string"==typeof t&&(ta=t.toLowerCase().replace(/_/g,"-"))}function na(t,e,n,i,r){if(t=f(t),Array.isArray(t))for(let o=0;o>20;if(No(t)||!t.multi){const i=new Me(l,r,ts),p=oa(a,e,r?u:u+d,h);-1===p?($e(Re(c,s),o,a),ia(o,t,e.length),e.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(i),s.push(i)):(n[p]=i,s[p]=i)}else{const p=oa(a,e,u+d,h),f=oa(a,e,u,u+d),g=p>=0&&n[p],m=f>=0&&n[f];if(r&&!m||!r&&!g){$e(Re(c,s),o,a);const u=function(t,e,n,i,r){const o=new Me(t,n,ts);return o.multi=[],o.index=e,o.componentProviders=0,ra(o,r,i&&!n),o}(r?aa:sa,n.length,r,i,l);!r&&m&&(n[f].providerFactory=u),ia(o,t,e.length,0),e.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(u),s.push(u)}else ia(o,t,p>-1?p:f,ra(n[r?f:p],l,!r&&i));!r&&i&&m&&n[f].componentProviders++}}}function ia(t,e,n,i){const r=No(e);if(r||function(t){return!!t.useClass}(e)){const o=(e.useClass||e).prototype.ngOnDestroy;if(o){const s=t.destroyHooks||(t.destroyHooks=[]);if(!r&&e.multi){const t=s.indexOf(n);-1===t?s.push(n,[i,o]):s[t+1].push(i,o)}else s.push(n,o)}}}function ra(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function oa(t,e,n,i){for(let r=n;r{n.providersResolver=(n,i)=>function(t,e,n){const i=Yt();if(i.firstCreatePass){const r=pt(t);na(n,i.data,i.blueprint,r,!0),na(e,i.data,i.blueprint,r,!1)}}(n,i?i(t):t,e)}}class ua{}const ha="ngComponent";class da{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${u(t)}. Did you add it to @NgModule.entryComponents?`);return e[ha]=t,e}(t)}}let pa=(()=>{class t{}return t.NULL=new da,t})();function fa(...t){}function ga(t,e){return new va(At(t,e))}const ma=function(){return ga(qt(),$t())};let va=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=ma,t})();function _a(t){return t instanceof va?t.nativeElement:t}class ya{}let ba=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>wa(),t})();const wa=function(){const t=$t(),e=Nt(qt().index,t);return function(t){return t[11]}(lt(e)?e:t)};let Ca=(()=>{class t{}return t.\u0275prov=w({token:t,providedIn:"root",factory:()=>null}),t})();class xa{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const ka=new xa("12.2.17");class Oa{constructor(){}supports(t){return Uo(t)}create(t){return new Sa(t)}}const Ma=(t,e)=>e;class Sa{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||Ma}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,i=0,r=null;for(;e||n;){const o=!n||e&&e.currentIndex{i=this._trackByFn(e,t),null!==r&&Object.is(r.trackById,i)?(o&&(r=this._verifyReinsertion(r,t,i,e)),Object.is(r.item,t)||this._addIdentityChange(r,t)):(r=this._mismatch(r,t,i,e),o=!0),r=r._next,e++}),this.length=e;return this._truncate(r),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,i){let r;return null===t?r=this._itTail:(r=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,r,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,r,i)):t=this._addAfter(new Pa(e,n),r,i),t}_verifyReinsertion(t,e,n,i){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?t=this._reinsertAfter(r,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),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 i=t._prevRemoved,r=t._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,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 i=null===e?this._itHead:e._next;return t._next=i,t._prev=e,null===i?this._itTail=t:i._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new Ta),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 Ta),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 Pa{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 Ea{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 Ta{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new Ea,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 Aa(t,e,n){const i=t.previousIndex;if(null===i)return i;let r=0;return n&&i{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const i=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,i)}}),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 i=n._prev,r=n._next;return i&&(i._next=r),r&&(r._prev=i),n._next=null,n._prev=null,n}const n=new Na(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 Na{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}}function La(){return new za([new Oa])}let za=(()=>{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=>t.create(e,n||La()),deps:[[t,new Ln,new Dn]]}}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 '${function(t){return t.name||typeof t}(t)}'`)}}return t.\u0275prov=w({token:t,providedIn:"root",factory:La}),t})();function Fa(){return new Ra([new Ia])}let Ra=(()=>{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=>t.create(e,n||Fa()),deps:[[t,new Ln,new Dn]]}}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=w({token:t,providedIn:"root",factory:Fa}),t})();function ja(t,e,n,i,r=!1){for(;null!==n;){const o=e[n.index];if(null!==o&&i.push(Et(o)),ct(o))for(let t=10;t-1&&(Gn(t,n),dn(e,n))}this._attachedToViewContainer=!1}Jn(this._lView[1],this._lView)}onDestroy(t){Zr(this._lView[1],this._lView,null,t)}markForCheck(){co(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){uo(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){Qt(!0);try{uo(t,e,n)}finally{Qt(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,hi(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class Va extends Ba{constructor(t){super(t),this._view=t}detectChanges(){ho(this._view)}checkNoChanges(){!function(t){Qt(!0);try{ho(t)}finally{Qt(!1)}}(this._view)}get context(){return null}}const $a=function(t){return function(t,e,n){if(ht(t)&&!n){const n=Nt(t.index,e);return new Ba(n,n)}return 47&t.type?new Ba(e[16],e):null}(qt(),$t(),16==(16&t))};let Ya=(()=>{class t{}return t.__NG_ELEMENT_ID__=$a,t})();const Za=[new Ia],qa=new za([new Oa]),Ua=new Ra(Za),Ha=function(){return Qa(qt(),$t())};let Ga=(()=>{class t{}return t.__NG_ELEMENT_ID__=Ha,t})();const Ja=Ga,Xa=class extends Ja{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=Ir(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const i=this._declarationLView[19];return null!==i&&(n[19]=i.createEmbeddedView(e)),Lr(e,n,t),new Ba(n)}};function Qa(t,e){return 4&t.type?new Xa(e,t,ga(t,e)):null}class Wa{}class Ka{}const tl=function(){return sl(qt(),$t())};let el=(()=>{class t{}return t.__NG_ELEMENT_ID__=tl,t})();const nl=el,il=class extends nl{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return ga(this._hostTNode,this._hostLView)}get injector(){return new Ke(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ve(this._hostTNode,this._hostLView);if(Ie(t)){const e=Ne(t,this._hostLView),n=De(t);return new Ke(e[1].data[n+8],e)}return new Ke(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=rl(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,n){const i=t.createEmbeddedView(e||{});return this.insert(i,n),i}createComponent(t,e,n,i,r){const o=n||this.parentInjector;if(!r&&null==t.ngModule&&o){const t=o.get(Wa,null);t&&(r=t)}const s=t.create(o,i,void 0,r);return this.insert(s.hostView,e),s}insert(t,e){const n=t._lView,i=n[1];if(ct(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],i=new il(e,e[6],e[3]);i.detach(i.indexOf(t))}}const r=this._adjustIndex(e),o=this._lContainer;!function(t,e,n,i){const r=10+i,o=n.length;i>0&&(n[r-1][4]=e),isr});class hl extends ua{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(wr).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return cl(this.componentDef.inputs)}get outputs(){return cl(this.componentDef.outputs)}create(t,e,n,i){const r=(i=i||this.ngModule)?function(t,e){return{get:(n,i,r)=>{const o=t.get(n,al,r);return o!==al||i===al?o:e.get(n,i,r)}}}(t,i.injector):t,o=r.get(ya,Pt),s=r.get(Ca,null),a=o.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(t,e,n){if(St(t))return t.selectRootElement(e,n===z.ShadowDom);let i="string"==typeof e?t.querySelector(e):e;return i.textContent="",i}(a,n,this.componentDef.encapsulation):Un(o.createRenderer(null,this.componentDef),l,function(t){const e=t.toLowerCase();return"svg"===e?xt:"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),u=this.componentDef.onPush?576:528,h=function(t,e){return{components:[],scheduler:t||sr,clean:fo,playerHandler:e||null,flags:0}}(),d=Yr(0,null,null,1,0,null,null,null,null,null),p=Ir(null,d,h,u,null,null,o,a,s,r);let f,g;ce(p);try{const t=function(t,e,n,i,r,o){const s=n[1];n[20]=t;const a=Dr(s,20,2,"#host",null),l=a.mergedAttrs=e.hostAttrs;null!==l&&(bo(a,l,!0),null!==t&&(Se(r,t,l),null!==a.classes&&fi(r,t,a.classes),null!==a.styles&&pi(r,t,a.styles)));const c=i.createRenderer(t,e),u=Ir(n,$r(e),null,e.onPush?64:16,n[20],a,i,c,o||null,null);return s.firstCreatePass&&($e(Re(a,n),s,e.type),Xr(s,a),Wr(a,n.length,1)),lo(n,u),n[20]=u}(c,this.componentDef,p,o,a);if(c)if(n)Se(a,c,["ng-version",ka.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let i=1,r=2;for(;i0&&fi(a,c,e.join(" "))}if(g=It(d,20),void 0!==e){const t=g.projection=[];for(let n=0;nt(s,e)),e.contentQueries){const t=qt();e.contentQueries(1,s,t.directiveStart)}const a=qt();return!o.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(me(a.index),Gr(n[1],a,0,a.directiveStart,a.directiveEnd,e),Jr(e,s)),s}(t,this.componentDef,p,h,[Fo]),Lr(d,p,null)}finally{fe()}return new dl(this.componentType,f,ga(g,p),p,g)}}class dl extends class{}{constructor(t,e,n,i,r){super(),this.location=n,this._rootLView=i,this._tNode=r,this.instance=e,this.hostView=this.changeDetectorRef=new Va(i),this.componentType=t}get injector(){return new Ke(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const pl=new Map;class fl extends Wa{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new ll(this);const n=at(t),i=t[H]||null;i&&ea(i),this._bootstrapComponents=cr(n.bootstrap),this._r3Injector=Po(t,e,[{provide:Wa,useValue:this},{provide:pa,useValue:this.componentFactoryResolver}],u(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=zo.THROW_IF_NOT_FOUND,n=T.Default){return t===zo||t===Wa||t===wo?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 gl extends Ka{constructor(t){super(),this.moduleType=t,null!==at(t)&&function(t){const e=new Set;!function t(n){const i=at(n,!0),r=i.id;null!==r&&(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${u(e)} vs ${u(e.name)}`)}(r,pl.get(r),n),pl.set(r,n));const o=cr(i.imports);for(const s of o)e.has(s)||(e.add(s),t(s))}(t)}(t)}create(t){return new fl(this.moduleType,t)}}function ml(t,e,n){const i=Wt()+t,r=$t();return r[i]===Cr?Go(r,i,n?e.call(n):e()):function(t,e){return t[e]}(r,i)}function vl(t,e,n,i){return bl($t(),Wt(),t,e,n,i)}function _l(t,e,n,i,r){return wl($t(),Wt(),t,e,n,i,r)}function yl(t,e){const n=t[e];return n===Cr?void 0:n}function bl(t,e,n,i,r,o){const s=e+n;return Jo(t,s,r)?Go(t,s+1,o?i.call(o,r):i(r)):yl(t,s+1)}function wl(t,e,n,i,r,o,s){const a=e+n;return Xo(t,a,r,o)?Go(t,a+2,s?i.call(s,r,o):i(r,o)):yl(t,a+2)}function Cl(t,e,n,i,r,o,s,a){const l=e+n;return function(t,e,n,i,r){const o=Xo(t,e,n,i);return Jo(t,e+2,r)||o}(t,l,r,o,s)?Go(t,l+3,a?i.call(a,r,o,s):i(r,o,s)):yl(t,l+3)}function xl(t,e){const n=Yt();let i;const r=t+20;n.firstCreatePass?(i=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const i=e[n];if(t===i.name)return i}throw new m("302",`The pipe '${t}' could not be found!`)}(e,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(r,i.onDestroy)):i=n.data[r];const o=i.factory||(i.factory=gt(i.type)),s=I(ts);try{const t=ze(!1),e=o();return ze(t),function(t,e,n,i){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=i}(n,$t(),r,e),e}finally{I(s)}}function kl(t,e,n){const i=t+20,r=$t(),o=Dt(r,i);return Pl(r,Sl(r,i)?bl(r,Wt(),e,o.transform,n,o):o.transform(n))}function Ol(t,e,n,i){const r=t+20,o=$t(),s=Dt(o,r);return Pl(o,Sl(o,r)?wl(o,Wt(),e,s.transform,n,i,s):s.transform(n,i))}function Ml(t,e,n,i,r){const o=t+20,s=$t(),a=Dt(s,o);return Pl(s,Sl(s,o)?Cl(s,Wt(),e,a.transform,n,i,r,a):a.transform(n,i,r))}function Sl(t,e){return t[1].data[e].pure}function Pl(t,e){return qo.isWrapped(e)&&(e=qo.unwrap(e),t[Kt()]=Cr),e}function El(t){return e=>{setTimeout(t,void 0,e)}}const Tl=class extends i.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){var i,o,s;let a=t,l=e||(()=>null),c=n;if(t&&"object"==typeof t){const e=t;a=null===(i=e.next)||void 0===i?void 0:i.bind(e),l=null===(o=e.error)||void 0===o?void 0:o.bind(e),c=null===(s=e.complete)||void 0===s?void 0:s.bind(e)}this.__isAsync&&(l=El(l),a&&(a=El(a)),c&&(c=El(c)));const u=super.subscribe({next:a,error:l,complete:c});return t instanceof r.w&&t.add(u),u}};function Al(){return this._results[Zo()]()}class Il{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Zo(),n=Il.prototype;n[e]||(n[e]=Al)}get changes(){return this._changes||(this._changes=new Tl)}get(t){return this._results[t]}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,e){const n=this;n.dirty=!1;const i=cn(t);(this._changesDetected=!function(t,e,n){if(t.length!==e.length)return!1;for(let i=0;i0)i.push(s[t/2]);else{const r=o[t+1],s=e[-n];for(let t=10;t{class t{constructor(t){this.appInits=t,this.resolve=fa,this.reject=fa,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.subscribe({complete:t,error:n})});t.push(n)}}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(Mn(Xl,8))},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})();const Wl=new sn("AppId"),Kl={provide:Wl,useFactory:function(){return`${tc()}${tc()}${tc()}`},deps:[]};function tc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const ec=new sn("Platform Initializer"),nc=new sn("Platform ID"),ic=new sn("appBootstrapListener");let rc=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})();const oc=new sn("LocaleId"),sc=new sn("DefaultCurrencyCode");class ac{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const lc=function(t){return new gl(t)},cc=lc,uc=function(t){return Promise.resolve(lc(t))},hc=function(t){const e=lc(t),n=cr(at(t).declarations).reduce((t,e)=>{const n=st(e);return n&&t.push(new hl(n)),t},[]);return new ac(e,n)},dc=hc,pc=function(t){return Promise.resolve(hc(t))};let fc=(()=>{class t{constructor(){this.compileModuleSync=cc,this.compileModuleAsync=uc,this.compileModuleAndAllComponentsSync=dc,this.compileModuleAndAllComponentsAsync=pc}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})();const gc=(()=>Promise.resolve(0))();function mc(t){"undefined"==typeof Zone?gc.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class vc{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Tl(!1),this.onMicrotaskEmpty=new Tl(!1),this.onStable=new Tl(!1),this.onError=new Tl(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!n&&e,i.shouldCoalesceRunChangeDetection=n,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function(){let t=B.requestAnimationFrame,e=B.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=()=>{!function(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(B,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,bc(t),t.isCheckStableRunning=!0,yc(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),bc(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,r,o,s,a)=>{try{return wc(t),n.invokeTask(r,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||t.shouldCoalesceRunChangeDetection)&&e(),Cc(t)}},onInvoke:(n,i,r,o,s,a,l)=>{try{return wc(t),n.invoke(r,o,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),Cc(t)}},onHasTask:(e,n,i,r)=>{e.hasTask(i,r),n===i&&("microTask"==r.change?(t._hasPendingMicrotasks=r.microTask,bc(t),yc(t)):"macroTask"==r.change&&(t.hasPendingMacrotasks=r.macroTask))},onHandleError:(e,n,i,r)=>(e.handleError(i,r),t.runOutsideAngular(()=>t.onError.emit(r)),!1)})}(i)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!vc.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(vc.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,i){const r=this._inner,o=r.scheduleEventTask("NgZoneEvent: "+i,t,_c,fa,fa);try{return r.runTask(o,e,n)}finally{r.cancelTask(o)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const _c={};function yc(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 bc(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function wc(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Cc(t){t._nesting--,yc(t)}class xc{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Tl,this.onMicrotaskEmpty=new Tl,this.onStable=new Tl,this.onError=new Tl}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,i){return t.apply(e,n)}}let kc=(()=>{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:()=>{vc.assertNotInAngularZone(),mc(()=>{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())mc(()=>{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 i=-1;e&&e>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==i),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:i,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/plugins/task-tracking" 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)(Mn(vc))},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})(),Oc=(()=>{class t{constructor(){this._applications=new Map,Pc.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 Pc.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})();class Mc{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}function Sc(t){Pc=t}let Pc=new Mc,Ec=!1;function Tc(){return Ec=!0,true}let Ac;const Ic=new sn("AllowMultipleToken");class Dc{constructor(t,e){this.name=t,this.token=e}}function Nc(t,e,n=[]){const i=`Platform: ${e}`,r=new sn(i);return(e=[])=>{let o=Lc();if(!o||o.injector.get(Ic,!1))if(t)t(n.concat(e).concat({provide:r,useValue:!0}));else{const t=n.concat(e).concat({provide:r,useValue:!0},{provide:xo,useValue:"platform"});!function(t){if(Ac&&!Ac.destroyed&&!Ac.injector.get(Ic,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Ac=t.get(zc);const e=t.get(ec,null);e&&e.forEach(t=>t())}(zo.create({providers:t,name:i}))}return function(t){const e=Lc();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}(r)}}function Lc(){return Ac&&!Ac.destroyed?Ac:null}let zc=(()=>{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 xc:("zone.js"===t?void 0:t)||new vc({enableLongStackTrace:Tc(),shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)}),n}(e?e.ngZone:void 0,{ngZoneEventCoalescing:e&&e.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:e&&e.ngZoneRunCoalescing||!1}),i=[{provide:vc,useValue:n}];return n.run(()=>{const r=zo.create({providers:i,parent:this.injector,name:t.moduleType.name}),o=t.create(r),s=o.injector.get(or,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const t=n.onError.subscribe({next:t=>{s.handleError(t)}});o.onDestroy(()=>{jc(this._modules,o),t.unsubscribe()})}),function(t,n,i){try{const e=i();return hs(e)?e.catch(e=>{throw n.runOutsideAngular(()=>t.handleError(e)),e}):e}catch(e){throw n.runOutsideAngular(()=>t.handleError(e)),e}}(s,n,()=>{const t=o.injector.get(Ql);return t.runInitializers(),t.donePromise.then(()=>(ea(o.injector.get(oc,Ks)||Ks),this._moduleDoBootstrap(o),o))})})}bootstrapModule(t,e=[]){const n=Fc({},e);return function(t,e,n){const i=new gl(n);return Promise.resolve(i)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(Rc);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${u(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)(Mn(zo))},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})();function Fc(t,e){return Array.isArray(e)?e.reduce(Fc,t):Object.assign(Object.assign({},t),e)}let Rc=(()=>{class t{constructor(t,e,n,i,r){this._zone=t,this._injector=e,this._exceptionHandler=n,this._componentFactoryResolver=i,this._initStatus=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const l=new o.y(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),c=new o.y(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{vc.assertNotInAngularZone(),mc(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{vc.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=(0,s.T)(l,c.pipe((0,a.B)()))}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 ua?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const i=function(t){return t.isBoundToModule}(n)?void 0:this._injector.get(Wa),r=n.create(zo.NULL,[],e||n.selector,i),o=r.location.nativeElement,s=r.injector.get(kc,null),a=s&&r.injector.get(Oc);return s&&a&&a.registerApplication(o,s),r.onDestroy(()=>{this.detachView(r.hostView),jc(this.components,r),a&&a.unregisterApplication(o)}),this._loadComponent(r),r}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}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;jc(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(ic,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(Mn(vc),Mn(zo),Mn(or),Mn(pa),Mn(Ql))},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})();function jc(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class Bc{}class Vc{}const $c={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let Yc=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||$c}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,i]=t.split("#");return void 0===i&&(i="default"),n(69153)(e).then(t=>t[i]).then(t=>Zc(t,e,i)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,i]=t.split("#"),r="NgFactory";return void 0===i&&(i="default",r=""),n(69153)(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[i+r]).then(t=>Zc(t,e,i))}}return t.\u0275fac=function(e){return new(e||t)(Mn(fc),Mn(Vc,8))},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})();function Zc(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}const qc=function(t){return null},Uc=Nc(null,"core",[{provide:nc,useValue:"unknown"},{provide:zc,deps:[zo]},{provide:Oc,deps:[]},{provide:rc,deps:[]}]),Hc=[{provide:Rc,useClass:Rc,deps:[vc,zo,or,pa,Ql]},{provide:ul,deps:[vc],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:Ql,useClass:Ql,deps:[[new Dn,Xl]]},{provide:fc,useClass:fc,deps:[]},Kl,{provide:za,useFactory:function(){return qa},deps:[]},{provide:Ra,useFactory:function(){return Ua},deps:[]},{provide:oc,useFactory:function(t){return ea(t=t||"undefined"!=typeof $localize&&$localize.locale||Ks),t},deps:[[new In(oc),new Dn,new Ln]]},{provide:sc,useValue:"USD"}];let Gc=(()=>{class t{constructor(t){}}return t.\u0275fac=function(e){return new(e||t)(Mn(Rc))},t.\u0275mod=et({type:t}),t.\u0275inj=C({providers:Hc}),t})()},87862:function(t,e,n){"use strict";n.d(e,{gN:function(){return N},Fj:function(){return m},NI:function(){return ot},oH:function(){return gt},u:function(){return yt},cw:function(){return st},sg:function(){return vt},u5:function(){return wt},JU:function(){return p},a5:function(){return L},JJ:function(){return F},JL:function(){return R},On:function(){return ut},UX:function(){return Ct},_Y:function(){return ht}});var i=n(74788),r=n(12057),o=n(29856),s=n(59796),a=n(88002),l=n(81555),c=n(97968);function u(t,e){return new o.y(n=>{const i=t.length;if(0===i)return void n.complete();const r=new Array(i);let o=0,s=0;for(let a=0;a{u||(u=!0,s++),r[a]=t},error:t=>n.error(t),complete:()=>{o++,(o===i||!u)&&(s===i&&n.next(e?e.reduce((t,e,n)=>(t[e]=r[n],t),{}):r),n.complete())}}))}})}let h=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}setProperty(t,e){this._renderer.setProperty(this._elementRef.nativeElement,t,e)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.Qsj),i.Y36(i.SBq))},t.\u0275dir=i.lG2({type:t}),t})(),d=(()=>{class t extends h{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,features:[i.qOj]}),t})();const p=new i.OlP("NgValueAccessor"),f={provide:p,useExisting:(0,i.Gpc)(()=>m),multi:!0},g=new i.OlP("CompositionEventMode");let m=(()=>{class t extends h{constructor(t,e,n){super(t,e),this._compositionMode=n,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=(0,r.q)()?(0,r.q)().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this.setProperty("value",null==t?"":t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(g,8))},t.\u0275dir=i.lG2({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,e){1&t&&i.NdJ("input",function(t){return e._handleInput(t.target.value)})("blur",function(){return e.onTouched()})("compositionstart",function(){return e._compositionStart()})("compositionend",function(t){return e._compositionEnd(t.target.value)})},features:[i._Bn([f]),i.qOj]}),t})();const v=new i.OlP("NgValidators"),_=new i.OlP("NgAsyncValidators");function y(t){return null!=t}function b(t){const e=(0,i.QGY)(t)?(0,c.D)(t):t;return(0,i.CqO)(e),e}function w(t){let e={};return t.forEach(t=>{e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function C(t,e){return e.map(e=>e(t))}function x(t){return t.map(t=>function(t){return!t.validate}(t)?t:e=>t.validate(e))}function k(t){return null!=t?function(t){if(!t)return null;const e=t.filter(y);return 0==e.length?null:function(t){return w(C(t,e))}}(x(t)):null}function O(t){return null!=t?function(t){if(!t)return null;const e=t.filter(y);return 0==e.length?null:function(t){return function(...t){if(1===t.length){const e=t[0];if((0,s.k)(e))return u(e,null);if((0,l.K)(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return u(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return u(t=1===t.length&&(0,s.k)(t[0])?t[0]:t,null).pipe((0,a.U)(t=>e(...t)))}return u(t,null)}(C(t,e).map(b)).pipe((0,a.U)(w))}}(x(t)):null}function M(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function S(t){return t._rawValidators}function P(t){return t._rawAsyncValidators}function E(t){return t?Array.isArray(t)?t:[t]:[]}function T(t,e){return Array.isArray(t)?t.includes(e):t===e}function A(t,e){const n=E(e);return E(t).forEach(t=>{T(n,t)||n.push(t)}),n}function I(t,e){return E(e).filter(e=>!T(t,e))}let D=(()=>{class t{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=k(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=O(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t}),t})(),N=(()=>{class t extends D{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,features:[i.qOj]}),t})();class L extends D{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class z{constructor(t){this._cd=t}is(t){var e,n,i;return"submitted"===t?!!(null===(e=this._cd)||void 0===e?void 0:e.submitted):!!(null===(i=null===(n=this._cd)||void 0===n?void 0:n.control)||void 0===i?void 0:i[t])}}let F=(()=>{class t extends z{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(L,2))},t.\u0275dir=i.lG2({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&i.ekj("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))},features:[i.qOj]}),t})(),R=(()=>{class t extends z{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(N,10))},t.\u0275dir=i.lG2({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,e){2&t&&i.ekj("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))("ng-submitted",e.is("submitted"))},features:[i.qOj]}),t})();function j(t,e){return[...e.path,t]}function B(t,e){Y(t,e),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&q(t,e)})}(t,e),function(t,e){const n=(t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&q(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function(t,e){if(e.valueAccessor.setDisabledState){const n=t=>{e.valueAccessor.setDisabledState(t)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}(t,e)}function V(t,e,n=!0){const i=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(i),e.valueAccessor.registerOnTouched(i)),Z(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function $(t,e){t.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function Y(t,e){const n=S(t);null!==e.validator?t.setValidators(M(n,e.validator)):"function"==typeof n&&t.setValidators([n]);const i=P(t);null!==e.asyncValidator?t.setAsyncValidators(M(i,e.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);const r=()=>t.updateValueAndValidity();$(e._rawValidators,r),$(e._rawAsyncValidators,r)}function Z(t,e){let n=!1;if(null!==t){if(null!==e.validator){const i=S(t);if(Array.isArray(i)&&i.length>0){const r=i.filter(t=>t!==e.validator);r.length!==i.length&&(n=!0,t.setValidators(r))}}if(null!==e.asyncValidator){const i=P(t);if(Array.isArray(i)&&i.length>0){const r=i.filter(t=>t!==e.asyncValidator);r.length!==i.length&&(n=!0,t.setAsyncValidators(r))}}}const i=()=>{};return $(e._rawValidators,i),$(e._rawAsyncValidators,i),n}function q(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function U(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}function H(t,e){if(!e)return null;let n,i,r;return Array.isArray(e),e.forEach(t=>{t.constructor===m?n=t:function(t){return Object.getPrototypeOf(t.constructor)===d}(t)?i=t:r=t}),r||i||n||null}function G(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const J="VALID",X="INVALID",Q="PENDING",W="DISABLED";function K(t){return(it(t)?t.validators:t)||null}function tt(t){return Array.isArray(t)?k(t):t||null}function et(t,e){return(it(e)?e.asyncValidators:t)||null}function nt(t){return Array.isArray(t)?O(t):t||null}function it(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class rt{constructor(t,e){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=tt(this._rawValidators),this._composedAsyncValidatorFn=nt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===J}get invalid(){return this.status===X}get pending(){return this.status==Q}get disabled(){return this.status===W}get enabled(){return this.status!==W}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=tt(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=nt(t)}addValidators(t){this.setValidators(A(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(A(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(I(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(I(t,this._rawAsyncValidators))}hasValidator(t){return T(this._rawValidators,t)}hasAsyncValidator(t){return T(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=Q,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=W,this.errors=null,this._forEachChild(e=>{e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=J,this._forEachChild(e=>{e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===J||this.status===Q)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?W:J}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Q,this._hasOwnPendingAsyncValidator=!0;const e=b(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,n){if(null==e||(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length))return null;let i=t;return e.forEach(t=>{i=i instanceof st?i.controls.hasOwnProperty(t)?i.controls[t]:null:i instanceof at&&i.at(t)||null}),i}(this,t)}getError(t,e){const n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new i.vpe,this.statusChanges=new i.vpe}_calculateStatus(){return this._allControlsDisabled()?W:this.errors?X:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Q)?Q:this._anyControlsHaveStatus(X)?X:J}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){it(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class ot extends rt{constructor(t=null,e,n){super(K(e),et(n,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){G(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){G(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class st extends rt{constructor(t,e,n){super(K(e),et(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,n={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,n)=>(t[n]=e instanceof ot?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(t,e)=>!!e._syncPendingControls()||t);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const n=this.controls[e];n&&t(n,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const e of Object.keys(this.controls)){const n=this.controls[e];if(this.contains(e)&&t(n))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,e,n)=>((e.enabled||this.disabled)&&(t[n]=e.value),t))}_reduceChildren(t,e){let n=t;return this._forEachChild((t,i)=>{n=e(n,t,i)}),n}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class at extends rt{constructor(t,e,n){super(K(e),et(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[t]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,n={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((t,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof ot?t.value:t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_syncPendingControls(){let t=this.controls.reduce((t,e)=>!!e._syncPendingControls()||t,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error(`Cannot find form control at index ${t}`)}_forEachChild(t){this.controls.forEach((e,n)=>{t(e,n)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const lt={provide:L,useExisting:(0,i.Gpc)(()=>ut)},ct=(()=>Promise.resolve(null))();let ut=(()=>{class t extends L{constructor(t,e,n,r){super(),this.control=new ot,this._registered=!1,this.update=new i.vpe,this._parent=t,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=H(0,r)}ngOnChanges(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),U(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?j(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){B(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){ct.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1})})}_updateDisabled(t){const e=t.isDisabled.currentValue,n=""===e||e&&"false"!==e;ct.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(N,9),i.Y36(v,10),i.Y36(_,10),i.Y36(p,10))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i._Bn([lt]),i.qOj,i.TTD]}),t})(),ht=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})(),dt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();const pt=new i.OlP("NgModelWithFormControlWarning"),ft={provide:L,useExisting:(0,i.Gpc)(()=>gt)};let gt=(()=>{class t extends L{constructor(t,e,n,r){super(),this._ngModelWarningConfig=r,this.update=new i.vpe,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(e),this.valueAccessor=H(0,n)}set isDisabled(t){}ngOnChanges(t){if(this._isControlChanged(t)){const e=t.form.previousValue;e&&V(e,this,!1),B(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}U(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&V(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(v,10),i.Y36(_,10),i.Y36(p,10),i.Y36(pt,8))},t.\u0275dir=i.lG2({type:t,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[i._Bn([ft]),i.qOj,i.TTD]}),t._ngModelWarningSentOnce=!1,t})();const mt={provide:N,useExisting:(0,i.Gpc)(()=>vt)};let vt=(()=>{class t extends N{constructor(t,e){super(),this.validators=t,this.asyncValidators=e,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new i.vpe,this._setValidators(t),this._setAsyncValidators(e)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Z(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return B(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){V(t.control||null,t,!1),G(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this.submitted=!0,function(t,e){t._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const e=t.control,n=this.form.get(t.path);e!==n&&(V(e||null,t),n instanceof ot&&(B(n,t),t.control=n))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const e=this.form.get(t.path);(function(t,e){Y(t,e)})(e,t),e.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const e=this.form.get(t.path);e&&function(t,e){return Z(t,e)}(e,t)&&e.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Y(this.form,this),this._oldForm&&Z(this._oldForm,this)}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(v,10),i.Y36(_,10))},t.\u0275dir=i.lG2({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&i.NdJ("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([mt]),i.qOj,i.TTD]}),t})();const _t={provide:L,useExisting:(0,i.Gpc)(()=>yt)};let yt=(()=>{class t extends L{constructor(t,e,n,r,o){super(),this._ngModelWarningConfig=o,this._added=!1,this.update=new i.vpe,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=H(0,r)}set isDisabled(t){}ngOnChanges(t){this._added||this._setUpControl(),U(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return j(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(N,13),i.Y36(v,10),i.Y36(_,10),i.Y36(p,10),i.Y36(pt,8))},t.\u0275dir=i.lG2({type:t,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[i._Bn([_t]),i.qOj,i.TTD]}),t._ngModelWarningSentOnce=!1,t})(),bt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[dt]]}),t})(),wt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[bt]}),t})(),Ct=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:pt,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[bt]}),t})()},91211:function(t,e,n){"use strict";n.d(e,{b2:function(){return F},H7:function(){return D},s3:function(){return p},Dx:function(){return j},q6:function(){return L},se:function(){return x}});var i=n(12057),r=n(74788);class o extends i.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class s extends o{static makeCurrent(){(0,i.HT)(new s)}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}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}getBaseHref(t){const e=(l=l||document.querySelector("base"),l?l.getAttribute("href"):null);return null==e?null:function(t){a=a||document.createElement("a"),a.setAttribute("href",t);const e=a.pathname;return"/"===e.charAt(0)?e:`/${e}`}(e)}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return(0,i.Mx)(document.cookie,t)}}let a,l=null;const c=new r.OlP("TRANSITION_ID"),u=[{provide:r.ip1,useFactory:function(t,e,n){return()=>{n.get(r.CZH).donePromise.then(()=>{const n=(0,i.q)(),r=e.querySelectorAll(`style[ng-transition="${t}"]`);for(let t=0;t{const i=t.findTestabilityInTree(e,n);if(null==i)throw new Error("Could not find testability for element.");return i},r.dqk.getAllAngularTestabilities=()=>t.getAllTestabilities(),r.dqk.getAllAngularRootElements=()=>t.getAllRootElements(),r.dqk.frameworkStabilizers||(r.dqk.frameworkStabilizers=[]),r.dqk.frameworkStabilizers.push(t=>{const e=r.dqk.getAllAngularTestabilities();let n=e.length,i=!1;const o=function(e){i=i||e,n--,0==n&&t(i)};e.forEach(function(t){t.whenStable(o)})})}findTestabilityInTree(t,e,n){if(null==e)return null;const r=t.getTestability(e);return null!=r?r:n?(0,i.q)().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}let d=(()=>{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();const p=new r.OlP("EventManagerPlugins");let f=(()=>{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 i=0;i{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=r.Yz7({token:t,factory:t.\u0275fac}),t})(),v=(()=>{class t extends m{constructor(t){super(),this._doc=t,this._hostNodes=new Map,this._hostNodes.set(t.head,[])}_addStylesToHost(t,e,n){t.forEach(t=>{const i=this._doc.createElement("style");i.textContent=t,n.push(e.appendChild(i))})}addHost(t){const e=[];this._addStylesToHost(this._stylesSet,t,e),this._hostNodes.set(t,e)}removeHost(t){const e=this._hostNodes.get(t);e&&e.forEach(_),this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach((e,n)=>{this._addStylesToHost(t,n,e)})}ngOnDestroy(){this._hostNodes.forEach(t=>t.forEach(_))}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(i.K0))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();function _(t){(0,i.q)().remove(t)}const y={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/"},b=/%COMP%/g;function w(t,e,n){for(let i=0;i{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let x=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new k(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case r.ifc.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new O(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case 1:case r.ifc.ShadowDom:return new M(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=w(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)(r.LFG(f),r.LFG(v),r.LFG(r.AFp))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();class k{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(y[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,i){if(i){e=i+":"+e;const r=y[i];r?t.setAttributeNS(r,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const i=y[n];i?t.removeAttributeNS(i,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,i){i&(r.JOm.DashCase|r.JOm.Important)?t.style.setProperty(e,n,i&r.JOm.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&r.JOm.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,C(n)):this.eventManager.addEventListener(t,e,C(n))}}class O extends k{constructor(t,e,n,i){super(t),this.component=n;const r=w(i+"-"+n.id,n.styles,[]);e.addStyles(r),this.contentAttr="_ngcontent-%COMP%".replace(b,i+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(b,i+"-"+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 M extends k{constructor(t,e,n,i){super(t),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const r=w(i.id,i.styles,[]);for(let o=0;o{class t extends g{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)(r.LFG(i.K0))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();const P=["alt","control","meta","shift"],E={"\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"},T={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"},A={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let I=(()=>{class t extends g{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,r){const o=t.parseEventName(n),s=t.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,i.q)().onAndCancel(e,o.domEventName,s))}static parseEventName(e){const n=e.toLowerCase().split("."),i=n.shift();if(0===n.length||"keydown"!==i&&"keyup"!==i)return null;const r=t._normalizeKey(n.pop());let o="";if(P.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),o+=t+".")}),o+=r,0!=n.length||0===r.length)return null;const s={};return s.domEventName=i,s.fullKey=o,s}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&&T.hasOwnProperty(e)&&(e=T[e]))}return E[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),P.forEach(i=>{i!=n&&A[i](t)&&(e+=i+".")}),e+=n,e}static eventCallback(e,n,i){return r=>{t.getEventFullKey(r)===e&&i.runGuarded(()=>n(r))}}static _normalizeKey(t){return"esc"===t?"escape":t}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(i.K0))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),D=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,r.Yz7)({factory:function(){return(0,r.LFG)(N)},token:t,providedIn:"root"}),t})(),N=(()=>{class t extends D{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case r.q3G.NONE:return e;case r.q3G.HTML:return(0,r.qzn)(e,"HTML")?(0,r.z3N)(e):(0,r.EiD)(this._doc,String(e)).toString();case r.q3G.STYLE:return(0,r.qzn)(e,"Style")?(0,r.z3N)(e):e;case r.q3G.SCRIPT:if((0,r.qzn)(e,"Script"))return(0,r.z3N)(e);throw new Error("unsafe value used in a script context");case r.q3G.URL:return(0,r.yhl)(e),(0,r.qzn)(e,"URL")?(0,r.z3N)(e):(0,r.mCW)(String(e));case r.q3G.RESOURCE_URL:if((0,r.qzn)(e,"ResourceURL"))return(0,r.z3N)(e);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return(0,r.JVY)(t)}bypassSecurityTrustStyle(t){return(0,r.L6k)(t)}bypassSecurityTrustScript(t){return(0,r.eBb)(t)}bypassSecurityTrustUrl(t){return(0,r.LAX)(t)}bypassSecurityTrustResourceUrl(t){return(0,r.pB0)(t)}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(i.K0))},t.\u0275prov=(0,r.Yz7)({factory:function(){return function(t){return new N(t.get(i.K0))}((0,r.LFG)(r.gxx))},token:t,providedIn:"root"}),t})();const L=(0,r.eFA)(r._c5,"browser",[{provide:r.Lbi,useValue:i.bD},{provide:r.g9A,useValue:function(){s.makeCurrent(),h.init()},multi:!0},{provide:i.K0,useFactory:function(){return(0,r.RDi)(document),document},deps:[]}]),z=[[],{provide:r.zSh,useValue:"root"},{provide:r.qLn,useFactory:function(){return new r.qLn},deps:[]},{provide:p,useClass:S,multi:!0,deps:[i.K0,r.R0b,r.Lbi]},{provide:p,useClass:I,multi:!0,deps:[i.K0]},[],{provide:x,useClass:x,deps:[f,v,r.AFp]},{provide:r.FYo,useExisting:x},{provide:m,useExisting:v},{provide:v,useClass:v,deps:[i.K0]},{provide:r.dDg,useClass:r.dDg,deps:[r.R0b]},{provide:f,useClass:f,deps:[p,r.R0b]},{provide:i.JF,useClass:d,deps:[]},[]];let F=(()=>{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:r.AFp,useValue:e.appId},{provide:c,useExisting:r.AFp},u]}}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(t,12))},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:z,imports:[i.ez,r.hGG]}),t})();function R(){return new j((0,r.LFG)(i.K0))}let j=(()=>{class t{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(i.K0))},t.\u0275prov=(0,r.Yz7)({factory:R,token:t,providedIn:"root"}),t})();"undefined"!=typeof window&&window},86561:function(t,e,n){"use strict";n.d(e,{gz:function(){return Gt},m2:function(){return $},F0:function(){return vn},Od:function(){return Cn},yS:function(){return bn},Bz:function(){return Dn},lC:function(){return xn},Hx:function(){return Ot}});var i=n(12057),r=n(74788),o=n(97968),s=n(25917),a=n(26215),l=n(9112),c=n(29856),u=n(13410),h=n(22416),d=n(41439),p=n(59193),f=n(52441),g=n(79765),m=n(77393);function v(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new _(t,e,n))}}class _{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new y(t,this.accumulator,this.seed,this.hasSeed))}}class y extends m.L{constructor(t,e,n,i){super(t),this.accumulator=e,this._seed=n,this.hasSeed=i,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let n;try{n=this.accumulator(this.seed,t,e)}catch(i){this.destination.error(i)}this.seed=n,this.destination.next(n)}}var b=n(45435),w=n(7108);function C(t){return function(e){return 0===t?(0,p.c)():e.lift(new x(t))}}class x{constructor(t){if(this.total=t,this.total<0)throw new w.W}call(t,e){return e.subscribe(new k(t,this.total))}}class k extends m.L{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,i=this.count++;e.length0){const n=this.count>=this.total?this.total:this.count,i=this.ring;for(let r=0;rt.length||"full"===n.pathMatch&&(e.hasChildren()||i.lengthi[e]===t)}return t===e}function ht(t){return Array.prototype.concat.apply([],t)}function dt(t){return t.length>0?t[t.length-1]:null}function pt(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function ft(t){return(0,r.CqO)(t)?t:(0,r.QGY)(t)?(0,o.D)(Promise.resolve(t)):(0,s.of)(t)}const gt={exact:function t(e,n,i){if(!kt(e.segments,n.segments)||!bt(e.segments,n.segments,i)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children)if(!e.children[r]||!t(e.children[r],n.children[r],i))return!1;return!0},subset:_t},mt={exact:function(t,e){return ct(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>ut(t[n],e[n]))},ignored:()=>!0};function vt(t,e,n){return gt[n.paths](t.root,e.root,n.matrixParams)&&mt[n.queryParams](t.queryParams,e.queryParams)&&!("exact"===n.fragment&&t.fragment!==e.fragment)}function _t(t,e,n){return yt(t,e,e.segments,n)}function yt(t,e,n,i){if(t.segments.length>n.length){const r=t.segments.slice(0,n.length);return!(!kt(r,n)||e.hasChildren()||!bt(r,n,i))}if(t.segments.length===n.length){if(!kt(t.segments,n)||!bt(t.segments,n,i))return!1;for(const n in e.children)if(!t.children[n]||!_t(t.children[n],e.children[n],i))return!1;return!0}{const r=n.slice(0,t.segments.length),o=n.slice(t.segments.length);return!!(kt(t.segments,r)&&bt(t.segments,r,i)&&t.children[it])&&yt(t.children[it],e,o,i)}}function bt(t,e,n){return e.every((e,i)=>mt[n](t[i].parameters,e.parameters))}class wt{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ot(this.queryParams)),this._queryParamMap}toString(){return St.serialize(this)}}class Ct{constructor(t,e){this.segments=t,this.children=e,this.parent=null,pt(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Pt(this)}}class xt{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=ot(this.parameters)),this._parameterMap}toString(){return Lt(this)}}function kt(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}class Ot{}class Mt{parse(t){const e=new Bt(t);return new wt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){const e=`/${Et(t.root,!0)}`,n=function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${At(e)}=${At(t)}`).join("&"):`${At(e)}=${At(n)}`}).filter(t=>!!t);return e.length?`?${e.join("&")}`:""}(t.queryParams);var i;return`${e}${n}${"string"==typeof t.fragment?`#${i=t.fragment,encodeURI(i)}`:""}`}}const St=new Mt;function Pt(t){return t.segments.map(t=>Lt(t)).join("/")}function Et(t,e){if(!t.hasChildren())return Pt(t);if(e){const e=t.children[it]?Et(t.children[it],!1):"",n=[];return pt(t.children,(t,e)=>{e!==it&&n.push(`${e}:${Et(t,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}{const e=function(t,e){let n=[];return pt(t.children,(t,i)=>{i===it&&(n=n.concat(e(t,i)))}),pt(t.children,(t,i)=>{i!==it&&(n=n.concat(e(t,i)))}),n}(t,(e,n)=>n===it?[Et(t.children[it],!1)]:[`${n}:${Et(e,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children[it]?`${Pt(t)}/${e[0]}`:`${Pt(t)}/(${e.join("//")})`}}function Tt(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function At(t){return Tt(t).replace(/%3B/gi,";")}function It(t){return Tt(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Dt(t){return decodeURIComponent(t)}function Nt(t){return Dt(t.replace(/\+/g,"%20"))}function Lt(t){return`${It(t.path)}${function(t){return Object.keys(t).map(e=>`;${It(e)}=${It(t[e])}`).join("")}(t.parameters)}`}const zt=/^[^\/()?;=#]+/;function Ft(t){const e=t.match(zt);return e?e[0]:""}const Rt=/^[^=?&#]+/,jt=/^[^?&#]+/;class Bt{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ct([],{}):new Ct([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[it]=new Ct(t,e)),n}parseSegment(){const t=Ft(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new xt(Dt(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Ft(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=Ft(this.remaining);t&&(n=t,this.capture(n))}t[Dt(e)]=Dt(n)}parseQueryParam(t){const e=function(t){const e=t.match(Rt);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(jt);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const i=Nt(e),r=Nt(n);if(t.hasOwnProperty(i)){let e=t[i];Array.isArray(e)||(e=[e],t[i]=e),e.push(r)}else t[i]=r}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Ft(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error(`Cannot parse url '${this.url}'`);let r;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):t&&(r=it);const o=this.parseChildren();e[r]=1===Object.keys(o).length?o[it]:new Ct([],o),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class Vt{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=$t(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=$t(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Yt(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Yt(t,this._root).map(t=>t.value)}}function $t(t,e){if(t===e.value)return e;for(const n of e.children){const e=$t(t,n);if(e)return e}return null}function Yt(t,e){if(t===e.value)return[e];for(const n of e.children){const i=Yt(t,n);if(i.length)return i.unshift(e),i}return[]}class Zt{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function qt(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class Ut extends Vt{constructor(t,e){super(t),this.snapshot=e,Wt(this,t)}toString(){return this.snapshot.toString()}}function Ht(t,e){const n=function(t,e){const n=new Xt([],{},{},"",{},it,e,null,t.root,-1,{});return new Qt("",new Zt(n,[]))}(t,e),i=new a.X([new xt("",{})]),r=new a.X({}),o=new a.X({}),s=new a.X({}),l=new a.X(""),c=new Gt(i,r,s,l,o,it,e,n.root);return c.snapshot=n.root,new Ut(new Zt(c,[]),n)}class Gt{constructor(t,e,n,i,r,o,s,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=o,this.component=s,this._futureSnapshot=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,P.U)(t=>ot(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,P.U)(t=>ot(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Jt(t,e="emptyOnly"){const n=t.pathFromRoot;let i=0;if("always"!==e)for(i=n.length-1;i>=1;){const t=n[i],e=n[i-1];if(t.routeConfig&&""===t.routeConfig.path)i--;else{if(e.component)break;i--}}return function(t){return t.reduce((t,e)=>({params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(i))}class Xt{constructor(t,e,n,i,r,o,s,a,l,c,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=o,this.component=s,this.routeConfig=a,this._urlSegment=l,this._lastPathIndex=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=ot(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ot(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Qt extends Vt{constructor(t,e){super(e),this.url=t,Wt(this,e)}toString(){return Kt(this._root)}}function Wt(t,e){e.value._routerState=t,e.children.forEach(e=>Wt(t,e))}function Kt(t){const e=t.children.length>0?` { ${t.children.map(Kt).join(", ")} } `:"";return`${t.value}${e}`}function te(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,ct(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),ct(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;nct(t.parameters,e[n].parameters))}(t.url,e.url);return n&&!(!t.parent!=!e.parent)&&(!t.parent||ee(t.parent,e.parent))}function ne(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const i=n.value;i._futureSnapshot=e.value;const r=function(t,e,n){return e.children.map(e=>{for(const i of n.children)if(t.shouldReuseRoute(e.value,i.value.snapshot))return ne(t,e,i);return ne(t,e)})}(t,e,n);return new Zt(i,r)}{if(t.shouldAttach(e.value)){const n=t.retrieve(e.value);if(null!==n){const t=n.route;return ie(e,t),t}}const n=function(t){return new Gt(new a.X(t.url),new a.X(t.params),new a.X(t.queryParams),new a.X(t.fragment),new a.X(t.data),t.outlet,t.component,t)}(e.value),i=e.children.map(e=>ne(t,e));return new Zt(n,i)}}function ie(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(let n=0;n{o[e]=Array.isArray(t)?t.map(t=>`${t}`):`${t}`}),new wt(n.root===t?e:ae(n.root,t,e),o,r)}function ae(t,e,n){const i={};return pt(t.children,(t,r)=>{i[r]=t===e?n:ae(t,e,n)}),new Ct(t.segments,i)}class le{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&re(n[0]))throw new Error("Root segment cannot have matrix parameters");const i=n.find(oe);if(i&&i!==dt(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ce{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function ue(t,e,n){if(t||(t=new Ct([],{})),0===t.segments.length&&t.hasChildren())return he(t,e,n);const i=function(t,e,n){let i=0,r=e;const o={match:!1,pathIndex:0,commandIndex:0};for(;r=n.length)return o;const e=t.segments[r],s=n[i];if(oe(s))break;const a=`${s}`,l=i0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!ge(a,l,e))return o;i+=2}else{if(!ge(a,{},e))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(t,e,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex{"string"==typeof n&&(n=[n]),null!==n&&(r[i]=ue(t.children[i],e,n))}),pt(t.children,(t,e)=>{void 0===i[e]&&(r[e]=t)}),new Ct(t.segments,r)}}function de(t,e,n){const i=t.segments.slice(0,e);let r=0;for(;r{"string"==typeof t&&(t=[t]),null!==t&&(e[n]=de(new Ct([],{}),0,t))}),e}function fe(t){const e={};return pt(t,(t,n)=>e[n]=`${t}`),e}function ge(t,e,n){return t==n.path&&ct(e,n.parameters)}class me{constructor(t,e,n,i){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=i}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),te(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const i=qt(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,i[e],n),delete i[e]}),pt(i,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const i=t.value,r=e?e.value:null;if(i===r)if(i.component){const r=n.getContext(i.outlet);r&&this.deactivateChildRoutes(t,e,r.children)}else this.deactivateChildRoutes(t,e,n);else r&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet);if(n&&n.outlet){const e=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:i})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet),i=n&&t.value.component?n.children:e,r=qt(t);for(const o of Object.keys(r))this.deactivateRouteAndItsChildren(r[o],i);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated(),n.attachRef=null,n.resolver=null,n.route=null)}activateChildRoutes(t,e,n){const i=qt(e);t.children.forEach(t=>{this.activateRoutes(t,i[t.value.outlet],n),this.forwardEvent(new et(t.value.snapshot))}),t.children.length&&this.forwardEvent(new K(t.value.snapshot))}activateRoutes(t,e,n){const i=t.value,r=e?e.value:null;if(te(i),i===r)if(i.component){const r=n.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,r.children)}else this.activateChildRoutes(t,e,n);else if(i.component){const e=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const t=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),ve(t.route)}else{const n=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(i.snapshot),r=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=i,e.resolver=r,e.outlet&&e.outlet.activateWith(i,r),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function ve(t){te(t.value),t.children.forEach(ve)}class _e{constructor(t,e){this.routes=t,this.module=e}}function ye(t){return"function"==typeof t}function be(t){return t instanceof wt}const we=Symbol("INITIAL_VALUE");function Ce(){return(0,E.w)(t=>(0,l.aj)(t.map(t=>t.pipe((0,T.q)(1),(0,A.O)(we)))).pipe(v((t,e)=>{let n=!1;return e.reduce((t,i,r)=>t!==we?t:(i===we&&(n=!0),n||!1!==i&&r!==e.length-1&&!be(i)?t:i),t)},we),(0,b.h)(t=>t!==we),(0,P.U)(t=>be(t)?t:!0===t),(0,T.q)(1)))}let xe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&r._UZ(0,"router-outlet")},directives:function(){return[xn]},encapsulation:2}),t})();function ke(t,e=""){for(let n=0;nPe(t)===e);return n.push(...t.filter(t=>Pe(t)!==e)),n}const Te={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Ae(t,e,n){var i;if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?Object.assign({},Te):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const r=(e.matcher||lt)(n,t,e);if(!r)return Object.assign({},Te);const o={};pt(r.posParams,(t,e)=>{o[e]=t.path});const s=r.consumed.length>0?Object.assign(Object.assign({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:s,positionalParamSegments:null!==(i=r.posParams)&&void 0!==i?i:{}}}function Ie(t,e,n,i,r="corrected"){if(n.length>0&&function(t,e,n){return n.some(n=>De(t,e,n)&&Pe(n)!==it)}(t,n,i)){const r=new Ct(e,function(t,e,n,i){const r={};r[it]=i,i._sourceSegment=t,i._segmentIndexShift=e.length;for(const o of n)if(""===o.path&&Pe(o)!==it){const n=new Ct([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,r[Pe(o)]=n}return r}(t,e,i,new Ct(n,t.children)));return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>De(t,e,n))}(t,n,i)){const o=new Ct(t.segments,function(t,e,n,i,r,o){const s={};for(const a of i)if(De(t,n,a)&&!r[Pe(a)]){const n=new Ct([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===o?t.segments.length:e.length,s[Pe(a)]=n}return Object.assign(Object.assign({},r),s)}(t,e,n,i,t.children,r));return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:n}}const o=new Ct(t.segments,t.children);return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:n}}function De(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}function Ne(t,e,n,i){return!!(Pe(t)===i||i!==it&&De(e,n,t))&&("**"===t.path||Ae(e,t,n).matched)}function Le(t,e,n){return 0===e.length&&!t.children[n]}class ze{constructor(t){this.segmentGroup=t||null}}class Fe{constructor(t){this.urlTree=t}}function Re(t){return new c.y(e=>e.error(new ze(t)))}function je(t){return new c.y(e=>e.error(new Fe(t)))}function Be(t){return new c.y(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class Ve{constructor(t,e,n,i,o){this.configLoader=e,this.urlSerializer=n,this.urlTree=i,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(r.h0i)}apply(){const t=Ie(this.urlTree.root,[],[],this.config).segmentGroup,e=new Ct(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,e,it).pipe((0,P.U)(t=>this.createUrlTree($e(t),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,I.K)(t=>{if(t instanceof Fe)return this.allowRedirects=!1,this.match(t.urlTree);throw t instanceof ze?this.noMatchError(t):t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,it).pipe((0,P.U)(e=>this.createUrlTree($e(e),t.queryParams,t.fragment))).pipe((0,I.K)(t=>{throw t instanceof ze?this.noMatchError(t):t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const i=t.segments.length>0?new Ct([],{[it]:t}):t;return new wt(i,e,n)}expandSegmentGroup(t,e,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe((0,P.U)(t=>new Ct([],t))):this.expandSegment(t,n,e,n.segments,i,!0)}expandChildren(t,e,n){const i=[];for(const r of Object.keys(n.children))"primary"===r?i.unshift(r):i.push(r);return(0,o.D)(i).pipe((0,D.b)(i=>{const r=n.children[i],o=Ee(e,i);return this.expandSegmentGroup(t,o,r,i).pipe((0,P.U)(t=>({segment:t,outlet:i})))}),v((t,e)=>(t[e.outlet]=e.segment,t),{}),function(t,e){const n=arguments.length>=2;return i=>i.pipe(t?(0,b.h)((e,n)=>t(e,n,i)):S.y,C(1),n?(0,M.d)(e):(0,O.T)(()=>new u.K))}())}expandSegment(t,e,n,i,r,a){return(0,o.D)(n).pipe((0,D.b)(o=>this.expandSegmentAgainstRoute(t,e,n,o,i,r,a).pipe((0,I.K)(t=>{if(t instanceof ze)return(0,s.of)(null);throw t}))),(0,N.P)(t=>!!t),(0,I.K)((t,n)=>{if(t instanceof u.K||"EmptyError"===t.name){if(Le(e,i,r))return(0,s.of)(new Ct([],{}));throw new ze(e)}throw t}))}expandSegmentAgainstRoute(t,e,n,i,r,o,s){return Ne(i,e,r,o)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,e,i,r,o):s&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,o):Re(e):Re(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,o){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,i,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,o)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,i){const r=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?je(r):this.lineralizeSegments(n,r).pipe((0,L.zg)(n=>{const r=new Ct(n,{});return this.expandSegment(t,r,e,n,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,o){const{matched:s,consumedSegments:a,lastChild:l,positionalParamSegments:c}=Ae(e,i,r);if(!s)return Re(e);const u=this.applyRedirectCommands(a,i.redirectTo,c);return i.redirectTo.startsWith("/")?je(u):this.lineralizeSegments(i,u).pipe((0,L.zg)(i=>this.expandSegment(t,e,n,i.concat(r.slice(l)),o,!1)))}matchSegmentAgainstRoute(t,e,n,i,r){if("**"===n.path)return n.loadChildren?(n._loadedConfig?(0,s.of)(n._loadedConfig):this.configLoader.load(t.injector,n)).pipe((0,P.U)(t=>(n._loadedConfig=t,new Ct(i,{})))):(0,s.of)(new Ct(i,{}));const{matched:o,consumedSegments:a,lastChild:l}=Ae(e,n,i);if(!o)return Re(e);const c=i.slice(l);return this.getChildConfig(t,n,i).pipe((0,L.zg)(t=>{const i=t.module,o=t.routes,{segmentGroup:l,slicedSegments:u}=Ie(e,a,c,o),h=new Ct(l.segments,l.children);if(0===u.length&&h.hasChildren())return this.expandChildren(i,o,h).pipe((0,P.U)(t=>new Ct(a,t)));if(0===o.length&&0===u.length)return(0,s.of)(new Ct(a,{}));const d=Pe(n)===r;return this.expandSegment(i,h,o,u,d?it:r,!0).pipe((0,P.U)(t=>new Ct(a.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?(0,s.of)(new _e(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?(0,s.of)(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe((0,L.zg)(n=>{return n?this.configLoader.load(t.injector,e).pipe((0,P.U)(t=>(e._loadedConfig=t,t))):(i=e,new c.y(t=>t.error(at(`Cannot load children because the guard of the route "path: '${i.path}'" returned false`))));var i})):(0,s.of)(new _e([],t))}runCanLoadGuards(t,e,n){const i=e.canLoad;if(!i||0===i.length)return(0,s.of)(!0);const r=i.map(i=>{const r=t.get(i);let o;if((s=r)&&ye(s.canLoad))o=r.canLoad(e,n);else{if(!ye(r))throw new Error("Invalid CanLoad guard");o=r(e,n)}var s;return ft(o)});return(0,s.of)(r).pipe(Ce(),(0,z.b)(t=>{if(!be(t))return;const e=at(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),(0,P.U)(t=>!0===t))}lineralizeSegments(t,e){let n=[],i=e.root;for(;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return(0,s.of)(n);if(i.numberOfChildren>1||!i.children[it])return Be(t.redirectTo);i=i.children[it]}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,i){const r=this.createSegmentGroup(t,e.root,n,i);return new wt(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return pt(t,(t,i)=>{if("string"==typeof t&&t.startsWith(":")){const r=t.substring(1);n[i]=e[r]}else n[i]=t}),n}createSegmentGroup(t,e,n,i){const r=this.createSegments(t,e.segments,n,i);let o={};return pt(e.children,(e,r)=>{o[r]=this.createSegmentGroup(t,e,n,i)}),new Ct(r,o)}createSegments(t,e,n,i){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,i):this.findOrReturn(e,n))}findPosParam(t,e,n){const i=n[e.path.substring(1)];if(!i)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return i}findOrReturn(t,e){let n=0;for(const i of e){if(i.path===t.path)return e.splice(n),i;n++}return t}}function $e(t){const e={};for(const n of Object.keys(t.children)){const i=$e(t.children[n]);(i.segments.length>0||i.hasChildren())&&(e[n]=i)}return function(t){if(1===t.numberOfChildren&&t.children[it]){const e=t.children[it];return new Ct(t.segments.concat(e.segments),e.children)}return t}(new Ct(t.segments,e))}class Ye{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Ze{constructor(t,e){this.component=t,this.route=e}}function qe(t,e,n){const i=t._root;return He(i,e?e._root:null,n,[i.value])}function Ue(t,e,n){const i=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(i?i.module.injector:n).get(t)}function He(t,e,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=qt(e);return t.children.forEach(t=>{(function(t,e,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=t.value,s=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const l=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!kt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!kt(t.url,e.url)||!ct(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ee(t,e)||!ct(t.queryParams,e.queryParams);default:return!ee(t,e)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new Ye(i)):(o.data=s.data,o._resolvedData=s._resolvedData),He(t,e,o.component?a?a.children:null:n,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new Ze(a.outlet.component,s))}else s&&Ge(e,a,r),r.canActivateChecks.push(new Ye(i)),He(t,null,o.component?a?a.children:null:n,i,r)})(t,o[t.value.outlet],n,i.concat([t.value]),r),delete o[t.value.outlet]}),pt(o,(t,e)=>Ge(t,n.getContext(e),r)),r}function Ge(t,e,n){const i=qt(t),r=t.value;pt(i,(t,i)=>{Ge(t,r.component?e?e.children.getContext(i):null:e,n)}),n.canDeactivateChecks.push(new Ze(r.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,r))}class Je{}function Xe(t){return new c.y(e=>e.error(t))}class Qe{constructor(t,e,n,i,r,o){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=i,this.paramsInheritanceStrategy=r,this.relativeLinkResolution=o}recognize(){const t=Ie(this.urlTree.root,[],[],this.config.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,it);if(null===e)return null;const n=new Xt([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},it,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new Zt(n,e),r=new Qt(this.url,i);return this.inheritParamsAndData(r._root),r}inheritParamsAndData(t){const e=t.value,n=Jt(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}processChildren(t,e){const n=[];for(const r of Object.keys(e.children)){const i=e.children[r],o=Ee(t,r),s=this.processSegmentGroup(o,i,r);if(null===s)return null;n.push(...s)}const i=Ke(n);return i.sort((t,e)=>t.value.outlet===it?-1:e.value.outlet===it?1:t.value.outlet.localeCompare(e.value.outlet)),i}processSegment(t,e,n,i){for(const r of t){const t=this.processSegmentAgainstRoute(r,e,n,i);if(null!==t)return t}return Le(e,n,i)?[]:null}processSegmentAgainstRoute(t,e,n,i){if(t.redirectTo||!Ne(t,e,n,i))return null;let r,o=[],s=[];if("**"===t.path){const i=n.length>0?dt(n).parameters:{};r=new Xt(n,i,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,nn(t),Pe(t),t.component,t,tn(e),en(e)+n.length,rn(t))}else{const i=Ae(e,t,n);if(!i.matched)return null;o=i.consumedSegments,s=n.slice(i.lastChild),r=new Xt(o,i.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,nn(t),Pe(t),t.component,t,tn(e),en(e)+o.length,rn(t))}const a=(u=t).children?u.children:u.loadChildren?u._loadedConfig.routes:[],{segmentGroup:l,slicedSegments:c}=Ie(e,o,s,a.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution);var u;if(0===c.length&&l.hasChildren()){const t=this.processChildren(a,l);return null===t?null:[new Zt(r,t)]}if(0===a.length&&0===c.length)return[new Zt(r,[])];const h=Pe(t)===i,d=this.processSegment(a,l,c,h?it:i);return null===d?null:[new Zt(r,d)]}}function We(t){const e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function Ke(t){const e=[],n=new Set;for(const i of t){if(!We(i)){e.push(i);continue}const t=e.find(t=>i.value.routeConfig===t.value.routeConfig);void 0!==t?(t.children.push(...i.children),n.add(t)):e.push(i)}for(const i of n){const t=Ke(i.children);e.push(new Zt(i.value,t))}return e.filter(t=>!n.has(t))}function tn(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function en(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function nn(t){return t.data||{}}function rn(t){return t.resolve||{}}function on(t){return(0,E.w)(e=>{const n=t(e);return n?(0,o.D)(n).pipe((0,P.U)(()=>e)):(0,s.of)(e)})}class sn extends class{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const an=new r.OlP("ROUTES");class ln{constructor(t,e,n,i){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=i}load(t,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const n=this.loadModuleFactory(e.loadChildren).pipe((0,P.U)(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const i=n.create(t);return new _e(ht(i.injector.get(an,void 0,r.XFs.Self|r.XFs.Optional)).map(Se),i)}),(0,I.K)(t=>{throw e._loader$=void 0,t}));return e._loader$=new f.c(n,()=>new g.xQ).pipe((0,F.x)()),e._loader$}loadModuleFactory(t){return"string"==typeof t?(0,o.D)(this.loader.load(t)):ft(t()).pipe((0,L.zg)(t=>t instanceof r.YKP?(0,s.of)(t):(0,o.D)(this.compiler.compileModuleAsync(t))))}}class cn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new un,this.attachRef=null}}class un{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new cn,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class hn{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function dn(t){throw t}function pn(t,e,n){return e.parse("/")}function fn(t,e){return(0,s.of)(null)}const gn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},mn={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let vn=(()=>{class t{constructor(t,e,n,i,o,s,l,c){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=i,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new g.xQ,this.errorHandler=dn,this.malformedUriErrorHandler=pn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:fn,afterPreactivation:fn},this.urlHandlingStrategy=new hn,this.routeReuseStrategy=new sn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=o.get(r.h0i),this.console=o.get(r.c2e);const u=o.get(r.R0b);this.isNgZoneEnabled=u instanceof r.R0b&&r.R0b.isInAngularZone(),this.resetConfig(c),this.currentUrlTree=new wt(new Ct([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new ln(s,l,t=>this.triggerEvent(new X(t)),t=>this.triggerEvent(new Q(t))),this.routerState=Ht(this.currentUrlTree,this.rootComponentType),this.transitions=new a.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var t;return null===(t=this.location.getState())||void 0===t?void 0:t.\u0275routerPageId}setupNavigations(t){const e=this.events;return t.pipe((0,b.h)(t=>0!==t.id),(0,P.U)(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),(0,E.w)(t=>{let n=!1,i=!1;return(0,s.of)(t).pipe((0,z.b)(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,E.w)(t=>{const n=this.browserUrlTree.toString(),r=!this.navigated||t.extractedUrl.toString()!==n||n!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||r)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return _n(t.source)&&(this.browserUrlTree=t.extractedUrl),(0,s.of)(t).pipe((0,E.w)(t=>{const n=this.transitions.getValue();return e.next(new V(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?p.E:Promise.resolve(t)}),function(t,e,n,i){return(0,E.w)(r=>function(t,e,n,i,r){return new Ve(t,e,n,i,r).apply()}(t,e,n,r.extractedUrl,i).pipe((0,P.U)(t=>Object.assign(Object.assign({},r),{urlAfterRedirects:t}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,z.b)(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,n,r,o){return(0,L.zg)(a=>function(t,e,n,r,o="emptyOnly",a="legacy"){try{const i=new Qe(t,e,n,r,o,a).recognize();return null===i?Xe(new Je):(0,s.of)(i)}catch(i){return Xe(i)}}(t,e,a.urlAfterRedirects,n(a.urlAfterRedirects),r,o).pipe((0,P.U)(t=>Object.assign(Object.assign({},a),{targetSnapshot:t}))))}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,z.b)(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,t),this.browserUrlTree=t.urlAfterRedirects);const n=new q(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));if(r&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:i,source:r,restoredState:o,extras:a}=t,l=new V(n,this.serializeUrl(i),r,o);e.next(l);const c=Ht(i,this.rootComponentType).snapshot;return(0,s.of)(Object.assign(Object.assign({},t),{targetSnapshot:c,urlAfterRedirects:i,extras:Object.assign(Object.assign({},a),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),p.E}),on(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:o,replaceUrl:s}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!o,replaceUrl:!!s})}),(0,z.b)(t=>{const e=new U(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(0,P.U)(t=>Object.assign(Object.assign({},t),{guards:qe(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return(0,L.zg)(n=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:a,canDeactivateChecks:l}}=n;return 0===l.length&&0===a.length?(0,s.of)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,i){return(0,o.D)(t).pipe((0,L.zg)(t=>function(t,e,n,i,r){const o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||0===o.length)return(0,s.of)(!0);const a=o.map(o=>{const s=Ue(o,e,r);let a;if(function(t){return t&&ye(t.canDeactivate)}(s))a=ft(s.canDeactivate(t,e,n,i));else{if(!ye(s))throw new Error("Invalid CanDeactivate guard");a=ft(s(t,e,n,i))}return a.pipe((0,N.P)())});return(0,s.of)(a).pipe(Ce())}(t.component,t.route,n,e,i)),(0,N.P)(t=>!0!==t,!0))}(l,i,r,t).pipe((0,L.zg)(n=>n&&function(t){return"boolean"==typeof t}(n)?function(t,e,n,i){return(0,o.D)(e).pipe((0,D.b)(e=>(0,h.z)(function(t,e){return null!==t&&e&&e(new W(t)),(0,s.of)(!0)}(e.route.parent,i),function(t,e){return null!==t&&e&&e(new tt(t)),(0,s.of)(!0)}(e.route,i),function(t,e,n){const i=e[e.length-1],r=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>(0,d.P)(()=>{const r=e.guards.map(r=>{const o=Ue(r,e.node,n);let s;if(function(t){return t&&ye(t.canActivateChild)}(o))s=ft(o.canActivateChild(i,t));else{if(!ye(o))throw new Error("Invalid CanActivateChild guard");s=ft(o(i,t))}return s.pipe((0,N.P)())});return(0,s.of)(r).pipe(Ce())}));return(0,s.of)(r).pipe(Ce())}(t,e.path,n),function(t,e,n){const i=e.routeConfig?e.routeConfig.canActivate:null;if(!i||0===i.length)return(0,s.of)(!0);const r=i.map(i=>(0,d.P)(()=>{const r=Ue(i,e,n);let o;if(function(t){return t&&ye(t.canActivate)}(r))o=ft(r.canActivate(e,t));else{if(!ye(r))throw new Error("Invalid CanActivate guard");o=ft(r(e,t))}return o.pipe((0,N.P)())}));return(0,s.of)(r).pipe(Ce())}(t,e.route,n))),(0,N.P)(t=>!0!==t,!0))}(i,a,t,e):(0,s.of)(n)),(0,P.U)(t=>Object.assign(Object.assign({},n),{guardsResult:t})))})}(this.ngModule.injector,t=>this.triggerEvent(t)),(0,z.b)(t=>{if(be(t.guardsResult)){const e=at(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}const e=new H(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),(0,b.h)(t=>!!t.guardsResult||(this.restoreHistory(t),this.cancelNavigationTransition(t,""),!1)),on(t=>{if(t.guards.canActivateChecks.length)return(0,s.of)(t).pipe((0,z.b)(t=>{const e=new G(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(0,E.w)(t=>{let e=!1;return(0,s.of)(t).pipe(function(t,e){return(0,L.zg)(n=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=n;if(!r.length)return(0,s.of)(n);let a=0;return(0,o.D)(r).pipe((0,D.b)(n=>function(t,e,n,i){return function(t,e,n,i){const r=Object.keys(t);if(0===r.length)return(0,s.of)({});const a={};return(0,o.D)(r).pipe((0,L.zg)(r=>function(t,e,n,i){const r=Ue(t,e,i);return ft(r.resolve?r.resolve(e,n):r(e,n))}(t[r],e,n,i).pipe((0,z.b)(t=>{a[r]=t}))),C(1),(0,L.zg)(()=>Object.keys(a).length===r.length?(0,s.of)(a):p.E))}(t._resolve,t,e,i).pipe((0,P.U)(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),Jt(t,n).resolve),null)))}(n.route,i,t,e)),(0,z.b)(()=>a++),C(1),(0,L.zg)(t=>a===r.length?(0,s.of)(n):p.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,z.b)({next:()=>e=!0,complete:()=>{e||(this.restoreHistory(t),this.cancelNavigationTransition(t,"At least one route resolver didn't emit any value."))}}))}),(0,z.b)(t=>{const e=new J(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),on(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:o,replaceUrl:s}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!o,replaceUrl:!!s})}),(0,P.U)(t=>{const e=function(t,e,n){const i=ne(t,e._root,n?n._root:void 0);return new Ut(i,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),(0,z.b)(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(t.urlAfterRedirects,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,t),this.browserUrlTree=t.urlAfterRedirects)}),((t,e,n)=>(0,P.U)(i=>(new me(e,i.targetRouterState,i.currentRouterState,n).activate(t),i)))(this.rootContexts,this.routeReuseStrategy,t=>this.triggerEvent(t)),(0,z.b)({next(){n=!0},complete(){n=!0}}),(0,R.x)(()=>{var e;if(!n&&!i){const e=`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`;"replace"===this.canceledNavigationResolution?(this.restoreHistory(t),this.cancelNavigationTransition(t,e)):this.cancelNavigationTransition(t,e)}(null===(e=this.currentNavigation)||void 0===e?void 0:e.id)===t.id&&(this.currentNavigation=null)}),(0,I.K)(n=>{if(i=!0,function(t){return t&&t[st]}(n)){const i=be(n.url);i||(this.navigated=!0,this.restoreHistory(t,!0));const r=new Y(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(r),i?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree),i={skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||_n(t.source)};this.scheduleNavigation(e,"imperative",null,i,{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.restoreHistory(t,!0);const i=new Z(t.id,this.serializeUrl(t.extractedUrl),n);e.next(i);try{t.resolve(this.errorHandler(n))}catch(r){t.reject(r)}}return p.E}))}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const e=this.extractLocationChangeInfoFromEvent(t);this.shouldScheduleNavigation(this.lastLocationChangeInfo,e)&&setTimeout(()=>{const{source:t,state:n,urlTree:i}=e,r={replaceUrl:!0};if(n){const t=Object.assign({},n);delete t.navigationId,delete t.\u0275routerPageId,0!==Object.keys(t).length&&(r.state=t)}this.scheduleNavigation(i,t,n,r)},0),this.lastLocationChangeInfo=e}))}extractLocationChangeInfoFromEvent(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(t,e){if(!t)return!0;const n=e.urlTree.toString()===t.urlTree.toString();return e.transitionId!==t.transitionId||!n||!("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){ke(t),this.config=t.map(Se),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(t,e={}){const{relativeTo:n,queryParams:i,fragment:r,queryParamsHandling:o,preserveFragment:s}=e,a=n||this.routerState.root,l=s?this.currentUrlTree.fragment:r;let c=null;switch(o){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}return null!==c&&(c=this.removeEmptyProps(c)),function(t,e,n,i,r){if(0===n.length)return se(e.root,e.root,e,i,r);const o=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new le(!0,0,t);let e=0,n=!1;const i=t.reduce((t,i,r)=>{if("object"==typeof i&&null!=i){if(i.outlets){const e={};return pt(i.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(i.segmentPath)return[...t,i.segmentPath]}return"string"!=typeof i?[...t,i]:0===r?(i.split("/").forEach((i,r)=>{0==r&&"."===i||(0==r&&""===i?n=!0:".."===i?e++:""!=i&&t.push(i))}),t):[...t,i]},[]);return new le(n,e,i)}(n);if(o.toRoot())return se(e.root,new Ct([],{}),e,i,r);const s=function(t,e,n){if(t.isAbsolute)return new ce(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){const t=n.snapshot._urlSegment;return new ce(t,t===e.root,0)}const i=re(t.commands[0])?0:1;return function(t,e,n){let i=t,r=e,o=n;for(;o>r;){if(o-=r,i=i.parent,!i)throw new Error("Invalid number of '../'");r=i.segments.length}return new ce(i,!1,r-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,t.numberOfDoubleDots)}(o,e,t),a=s.processChildren?he(s.segmentGroup,s.index,o.commands):ue(s.segmentGroup,s.index,o.commands);return se(s.segmentGroup,a,e,i,r)}(a,this.currentUrlTree,t,c,null!=l?l:null)}navigateByUrl(t,e={skipLocationChange:!1}){const n=be(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e{const i=t[n];return null!=i&&(e[n]=i),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.currentPageId=t.targetPageId,this.events.next(new $(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,t.resolve(!0)},t=>{this.console.warn(`Unhandled Navigation Error: ${t}`)})}scheduleNavigation(t,e,n,i,r){var o,s;if(this.disposed)return Promise.resolve(!1);const a=this.getTransition(),l=_n(e)&&a&&!_n(a.source),c=(this.lastSuccessfulId===a.id||this.currentNavigation?a.rawUrl:a.urlAfterRedirects).toString()===t.toString();if(l&&c)return Promise.resolve(!0);let u,h,d;r?(u=r.resolve,h=r.reject,d=r.promise):d=new Promise((t,e)=>{u=t,h=e});const p=++this.navigationId;let f;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(n=this.location.getState()),f=n&&n.\u0275routerPageId?n.\u0275routerPageId:i.replaceUrl||i.skipLocationChange?null!==(o=this.browserPageId)&&void 0!==o?o:0:(null!==(s=this.browserPageId)&&void 0!==s?s:0)+1):f=0,this.setTransition({id:p,targetPageId:f,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:i,resolve:u,reject:h,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(t=>Promise.reject(t))}setBrowserUrl(t,e){const n=this.urlSerializer.serialize(t),i=Object.assign(Object.assign({},e.extras.state),this.generateNgRouterState(e.id,e.targetPageId));this.location.isCurrentPathEqualTo(n)||e.extras.replaceUrl?this.location.replaceState(n,"",i):this.location.go(n,"",i)}restoreHistory(t,e=!1){var n,i;if("computed"===this.canceledNavigationResolution){const e=this.currentPageId-t.targetPageId;"popstate"!==t.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(n=this.currentNavigation)||void 0===n?void 0:n.finalUrl)||0===e?this.currentUrlTree===(null===(i=this.currentNavigation)||void 0===i?void 0:i.finalUrl)&&0===e&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(e)}else"replace"===this.canceledNavigationResolution&&(e&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=t.currentRouterState,this.currentUrlTree=t.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(t,e){const n=new Y(t.id,this.serializeUrl(t.extractedUrl),e);this.triggerEvent(n),t.resolve(!1)}generateNgRouterState(t,e){return"computed"===this.canceledNavigationResolution?{navigationId:t,"\u0275routerPageId":e}:{navigationId:t}}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(r.DyG),r.LFG(Ot),r.LFG(un),r.LFG(i.Ye),r.LFG(r.zs3),r.LFG(r.v3s),r.LFG(r.Sil),r.LFG(void 0))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();function _n(t){return"imperative"!==t}let yn=(()=>{class t{constructor(t,e,n,i,r){this.router=t,this.route=e,this.commands=[],this.onChanges=new g.xQ,null==n&&i.setAttribute(r.nativeElement,"tabindex","0")}ngOnChanges(t){this.onChanges.next(this)}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}onClick(){const t={skipLocationChange:wn(this.skipLocationChange),replaceUrl:wn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:wn(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(vn),r.Y36(Gt),r.$8M("tabindex"),r.Y36(r.Qsj),r.Y36(r.SBq))},t.\u0275dir=r.lG2({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&r.NdJ("click",function(){return e.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[r.TTD]}),t})(),bn=(()=>{class t{constructor(t,e,n){this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.onChanges=new g.xQ,this.subscription=t.events.subscribe(t=>{t instanceof $&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}ngOnChanges(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,n,i,r){if(0!==t||e||n||i||r||"string"==typeof this.target&&"_self"!=this.target)return!0;const o={skipLocationChange:wn(this.skipLocationChange),replaceUrl:wn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,o),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:wn(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(vn),r.Y36(Gt),r.Y36(i.S$))},t.\u0275dir=r.lG2({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&r.NdJ("click",function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)}),2&t&&(r.Ikx("href",e.href,r.LSH),r.uIk("target",e.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[r.TTD]}),t})();function wn(t){return""===t||!!t}let Cn=(()=>{class t{constructor(t,e,n,i,r,o){this.router=t,this.element=e,this.renderer=n,this.cdr=i,this.link=r,this.linkWithHref=o,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.routerEventsSubscription=t.events.subscribe(t=>{t instanceof $&&this.update()})}ngAfterContentInit(){(0,s.of)(this.links.changes,this.linksWithHrefs.changes,(0,s.of)(null)).pipe((0,j.J)()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var t;null===(t=this.linkInputChangesSubscription)||void 0===t||t.unsubscribe();const e=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(t=>!!t).map(t=>t.onChanges);this.linkInputChangesSubscription=(0,o.D)(e).pipe((0,j.J)()).subscribe(t=>{this.isActive!==this.isLinkActive(this.router)(t)&&this.update()})}set routerLinkActive(t){const e=Array.isArray(t)?t:t.split(" ");this.classes=e.filter(t=>!!t)}ngOnChanges(t){this.update()}ngOnDestroy(){var t;this.routerEventsSubscription.unsubscribe(),null===(t=this.linkInputChangesSubscription)||void 0===t||t.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const t=this.hasActiveLinks();this.isActive!==t&&(this.isActive=t,this.cdr.markForCheck(),this.classes.forEach(e=>{t?this.renderer.addClass(this.element.nativeElement,e):this.renderer.removeClass(this.element.nativeElement,e)}))})}isLinkActive(t){const e=function(t){return!!t.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return n=>t.isActive(n.urlTree,e)}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.linkWithHref&&t(this.linkWithHref)||this.links.some(t)||this.linksWithHrefs.some(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(vn),r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(r.sBO),r.Y36(yn,8),r.Y36(bn,8))},t.\u0275dir=r.lG2({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(t,e,n){if(1&t&&(r.Suo(n,yn,5),r.Suo(n,bn,5)),2&t){let t;r.iGM(t=r.CRH())&&(e.links=t),r.iGM(t=r.CRH())&&(e.linksWithHrefs=t)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[r.TTD]}),t})(),xn=(()=>{class t{constructor(t,e,n,i,o){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new r.vpe,this.deactivateEvents=new r.vpe,this.name=i||it,t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;const n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),i=this.parentContexts.getOrCreateContext(this.name).children,r=new kn(t,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(un),r.Y36(r.s_b),r.Y36(r._Vd),r.$8M("name"),r.Y36(r.sBO))},t.\u0275dir=r.lG2({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class kn{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===Gt?this.route:t===un?this.childContexts:this.parent.get(t,e)}}class On{}class Mn{preload(t,e){return(0,s.of)(null)}}let Sn=(()=>{class t{constructor(t,e,n,i,r){this.router=t,this.injector=i,this.preloadingStrategy=r,this.loader=new ln(e,n,e=>t.triggerEvent(new X(e)),e=>t.triggerEvent(new Q(e)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,b.h)(t=>t instanceof $),(0,D.b)(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(r.h0i);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const i of e)if(i.loadChildren&&!i.canLoad&&i._loadedConfig){const t=i._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else i.loadChildren&&!i.canLoad?n.push(this.preloadConfig(t,i)):i.children&&n.push(this.processRoutes(t,i.children));return(0,o.D)(n).pipe((0,j.J)(),(0,P.U)(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>(e._loadedConfig?(0,s.of)(e._loadedConfig):this.loader.load(t.injector,e)).pipe((0,L.zg)(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(vn),r.LFG(r.v3s),r.LFG(r.Sil),r.LFG(r.zs3),r.LFG(On))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),Pn=(()=>{class t{constructor(t,e,n={}){this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(t=>{t instanceof V?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof $&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof nt&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new nt(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(vn),r.LFG(i.EM),r.LFG(void 0))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();const En=new r.OlP("ROUTER_CONFIGURATION"),Tn=new r.OlP("ROUTER_FORROOT_GUARD"),An=[i.Ye,{provide:Ot,useClass:Mt},{provide:vn,useFactory:function(t,e,n,i,r,o,s,a={},l,c){const u=new vn(null,t,e,n,i,r,o,ht(s));return l&&(u.urlHandlingStrategy=l),c&&(u.routeReuseStrategy=c),function(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy)}(a,u),a.enableTracing&&u.events.subscribe(t=>{var e,n;null===(e=console.group)||void 0===e||e.call(console,`Router Event: ${t.constructor.name}`),console.log(t.toString()),console.log(t),null===(n=console.groupEnd)||void 0===n||n.call(console)}),u},deps:[Ot,un,i.Ye,r.zs3,r.v3s,r.Sil,an,En,[class{},new r.FiY],[class{},new r.FiY]]},un,{provide:Gt,useFactory:function(t){return t.routerState.root},deps:[vn]},{provide:r.v3s,useClass:r.EAV},Sn,Mn,class{preload(t,e){return e().pipe((0,I.K)(()=>(0,s.of)(null)))}},{provide:En,useValue:{enableTracing:!1}}];function In(){return new r.PXZ("Router",vn)}let Dn=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[An,Fn(e),{provide:Tn,useFactory:zn,deps:[[vn,new r.FiY,new r.tp0]]},{provide:En,useValue:n||{}},{provide:i.S$,useFactory:Ln,deps:[i.lw,[new r.tBr(i.mr),new r.FiY],En]},{provide:Pn,useFactory:Nn,deps:[vn,i.EM,En]},{provide:On,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Mn},{provide:r.PXZ,multi:!0,useFactory:In},[Rn,{provide:r.ip1,multi:!0,useFactory:jn,deps:[Rn]},{provide:Vn,useFactory:Bn,deps:[Rn]},{provide:r.tb,multi:!0,useExisting:Vn}]]}}static forChild(e){return{ngModule:t,providers:[Fn(e)]}}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(Tn,8),r.LFG(vn,8))},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})();function Nn(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new Pn(t,e,n)}function Ln(t,e,n={}){return n.useHash?new i.Do(t,e):new i.b0(t,e)}function zn(t){return"guarded"}function Fn(t){return[{provide:r.deG,multi:!0,useValue:t},{provide:an,multi:!0,useValue:t}]}let Rn=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new g.xQ}appInitializer(){return this.injector.get(i.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let t=null;const e=new Promise(e=>t=e),n=this.injector.get(vn),i=this.injector.get(En);return"disabled"===i.initialNavigation?(n.setUpLocationChangeListener(),t(!0)):"enabled"===i.initialNavigation||"enabledBlocking"===i.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?(0,s.of)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()):t(!0),e})}bootstrapListener(t){const e=this.injector.get(En),n=this.injector.get(Sn),i=this.injector.get(Pn),o=this.injector.get(vn),s=this.injector.get(r.z2F);t===s.components[0]&&(("enabledNonBlocking"===e.initialNavigation||void 0===e.initialNavigation)&&o.initialNavigation(),n.setUpPreloading(),i.init(),o.resetRootComponentType(s.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(r.zs3))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();function jn(t){return t.appInitializer.bind(t)}function Bn(t){return t.bootstrapListener.bind(t)}const Vn=new r.OlP("Router Initializer")},62579:function(t,e,n){"use strict";n.d(e,{L1:function(){return p},ux:function(){return f},UA:function(){return g},H3:function(){return m},Ct:function(){return v},s5:function(){return _},yZ:function(){return y},m9:function(){return d}});var i=n(74788),r=n(29856),o=n(22759),s=n(9945),a=n(39761),l=n(88002),c=n(87519),u=n(47349),h=n(12057);const d=new i.OlP("An abstraction over global window object",{factory:()=>{const{defaultView:t}=(0,i.f3M)(h.K0);if(!t)throw new Error("Window is not available");return t}}),p=new i.OlP("Shared Observable based on `window.requestAnimationFrame`",{factory:()=>{const{requestAnimationFrame:t,cancelAnimationFrame:e}=(0,i.f3M)(d);return new r.y(n=>{let i=NaN;const r=e=>{n.next(e),i=t(r)};return i=t(r),()=>{e(i)}}).pipe((0,s.B)())}}),f=(new i.OlP("An abstraction over window.caches object",{factory:()=>(0,i.f3M)(d).caches}),new i.OlP("An abstraction over window.crypto object",{factory:()=>(0,i.f3M)(d).crypto}),new i.OlP("An abstraction over window.CSS object",{factory:()=>(0,i.f3M)(d).CSS||{escape:t=>t,supports:()=>!1}})),g=new i.OlP("An abstraction over window.history object",{factory:()=>(0,i.f3M)(d).history}),m=new i.OlP("An abstraction over window.localStorage object",{factory:()=>(0,i.f3M)(d).localStorage}),v=new i.OlP("An abstraction over window.location object",{factory:()=>(0,i.f3M)(d).location}),_=new i.OlP("An abstraction over window.navigator object",{factory:()=>(0,i.f3M)(d).navigator}),y=(new i.OlP("An abstraction over window.navigator.mediaDevices object",{factory:()=>(0,i.f3M)(_).mediaDevices}),new i.OlP("An abstraction over window.navigator.connection object",{factory:()=>(0,i.f3M)(_).connection||null}),new i.OlP("Shared Observable based on `document visibility changed`",{factory:()=>{const t=(0,i.f3M)(h.K0);return(0,o.R)(t,"visibilitychange").pipe((0,a.O)(0),(0,l.U)(()=>"hidden"!==t.visibilityState),(0,c.x)(),(0,u.d)({refCount:!1,bufferSize:1}))}}),new i.OlP("An abstraction over window.performance object",{factory:()=>(0,i.f3M)(d).performance}),new i.OlP("An abstraction over window.screen object",{factory:()=>(0,i.f3M)(d).screen}),new i.OlP("An abstraction over window.sessionStorage object",{factory:()=>(0,i.f3M)(d).sessionStorage}),new i.OlP("An abstraction over SpeechRecognition class",{factory:()=>{const t=(0,i.f3M)(d);return t.speechRecognition||t.webkitSpeechRecognition||null}}),new i.OlP("An abstraction over window.speechSynthesis object",{factory:()=>(0,i.f3M)(d).speechSynthesis}),new i.OlP("An abstraction over window.navigator.userAgent object",{factory:()=>(0,i.f3M)(_).userAgent}))},68159:function(t,e,n){"use strict";n.d(e,{c0:function(){return Ks},JF:function(){return ta},FU:function(){return na},mG:function(){return ia},zb:function(){return fa},Lx:function(){return ma},B7:function(){return ra},f2:function(){return Ca},u4:function(){return xa},$5:function(){return Fa},qn:function(){return Ra},qo:function(){return $a},Lq:function(){return Ya},nj:function(){return Va},hs:function(){return ya}});var i=n(74788),r=n(64548),o=n(44427),s=n(26215),a=n(79765),l=n(41291),c=n(66682),u=n(43190),h=n(88002),d=n(39761),p=n(46782),f=n(45435),g=n(19773),m=n(15257),v=n(87519),_=n(9945),y=n(33770),b=n(40719),w=n(12057);const C=["wrapper"];function x(t,e){if(1&t&&(i.TgZ(0,"tui-loader",4),i.GkF(1,5),i.qZA()),2&t){const t=i.oxw(2);i.Q6J("overlay",!0)("showLoader",t.loading),i.xp6(1),i.Q6J("ngTemplateOutlet",t.content)}}function k(t,e){if(1&t&&(i.ynx(0),i.Hsn(1),i.YNc(2,x,2,3,"tui-loader",3),i.BQk()),2&t){const t=i.oxw();i.xp6(2),i.Q6J("ngIf",t.async)("ngIfElse",t.content)}}const O=["*"];let M=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiExpandContent",""]]}),t})();let S=(()=>{class t{constructor(t){this.cdr=t,this.state=0,this.async=!1,this.content=null,this.expanded=null}set expandedSetter(t){if(null!==this.expanded)return 0!==this.state?(this.expanded=t,void(this.state=3)):(this.expanded=t,void this.retrigger(this.async&&t?1:3));this.expanded=t}get overflow(){return 0!==this.state}get loading(){return!!this.expanded&&this.async&&1===this.state}get height(){const{expanded:t,state:e,contentWrapper:n}=this;return t&&2===e||!t&&3===e?0:n&&(!t&&2===e||t&&3===e)?n.nativeElement.offsetHeight:n&&t&&1===e?Math.max(n.nativeElement.offsetHeight,48):null}get contentVisible(){return this.expanded||0!==this.state}onTransitionEnd({propertyName:t}){"opacity"===t&&3===this.state&&(this.state=0)}onExpandLoaded(t){t.stopPropagation(),1===this.state&&this.retrigger(3)}retrigger(t){this.state=2,setTimeout(()=>{2===this.state&&(this.state=t,this.cdr.markForCheck())})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.sBO))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-expand"]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,M,5,i.Rgc),2&t){let t;i.iGM(t=i.CRH())&&(e.content=t.first)}},viewQuery:function(t,e){if(1&t&&i.Gf(C,5),2&t){let t;i.iGM(t=i.CRH())&&(e.contentWrapper=t.first)}},hostVars:9,hostBindings:function(t,e){1&t&&i.NdJ("transitionend.self",function(t){return e.onTransitionEnd(t)})("tui-expand-loaded",function(t){return e.onExpandLoaded(t)}),2&t&&(i.uIk("aria-expanded",e.expanded),i.Udp("height",e.height,"px"),i.ekj("_expanded",e.expanded)("_overflow",e.overflow)("_loading",e.loading))},inputs:{async:"async",expandedSetter:["expanded","expandedSetter"]},ngContentSelectors:O,decls:3,vars:3,consts:[[1,"t-wrapper"],["wrapper",""],[4,"ngIf"],["size","l",3,"overlay","showLoader",4,"ngIf","ngIfElse"],["size","l",3,"overlay","showLoader"],[3,"ngTemplateOutlet"]],template:function(t,e){1&t&&(i.F$t(),i.TgZ(0,"div",0,1),i.YNc(2,k,3,2,"ng-container",2),i.qZA()),2&t&&(i.Q6J("@tuiParentAnimation",void 0)("@.disabled",e.overflow),i.xp6(2),i.Q6J("ngIf",e.contentVisible))},directives:[w.O5,b.kM,w.tP],styles:['[_nghost-%COMP%]{display:block;transition-property:opacity,height,visibility;transition-duration:var(--tui-duration, .3s);opacity:0}._overflow[_nghost-%COMP%]{overflow:hidden}._expanded[_nghost-%COMP%]{opacity:1;transform:translate(0)}._loading[_nghost-%COMP%]{opacity:.99}.t-wrapper[_ngcontent-%COMP%]:before, .t-wrapper[_ngcontent-%COMP%]:after{content:"";display:table}'],data:{animation:[y.Kx]},changeDetection:0}),t})(),P=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,b.dS]]}),t})();var E=n(75122),T=n(56083),A=n(91211),I=n(62579),D=n(27103),N=n(99434),L=n(11927),z=n(25917),F=n(9112),R=n(81359),j=n(92668),B=n(64493),V=n(57179);let $=(()=>{class t{constructor(t,e,n){this.doc=t,this.el=e,this.renderer=n,this.activeElement=(0,V.ie)(this.doc),Promise.resolve().then(()=>this.el.nativeElement.focus())}onBlur(){this.renderer.removeAttribute(this.el.nativeElement,"tabIndex")}onFocusIn(t){const{nativeElement:e}=this.el;if((0,B.PP)(e,t))return;const n=(0,V.BW)({initial:e,root:e});n&&n.focus()}ngOnDestroy(){(0,V.hp)(this.doc),Promise.resolve().then(()=>{(0,B.dW)(this.activeElement)&&this.activeElement.focus()})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(w.K0),i.Y36(i.SBq),i.Y36(i.Qsj))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiFocusTrap",""]],hostAttrs:["tabIndex","0"],hostBindings:function(t,e){1&t&&i.NdJ("blur",function(){return e.onBlur()})("focusin.silent",function(t){return e.onFocusIn(t.target)},!1,i.Jf7)}}),t})(),Y=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();var Z=n(71486),q=n(89570);function U(t,e){1&t&&i.GkF(0)}function H(t,e){1&t&&i._UZ(0,"tui-scroll-controls",5)}function G(t,e){if(1&t&&(i.TgZ(0,"section",2),i.YNc(1,U,1,0,"ng-container",3),i.YNc(2,H,1,0,"tui-scroll-controls",4),i.qZA()),2&t){const t=e.$implicit,n=i.oxw();i.Q6J("@host",void 0),i.uIk("aria-labelledby",t.id),i.xp6(1),i.Q6J("polymorpheusOutlet",t.component)("polymorpheusOutletContext",t),i.xp6(1),i.Q6J("ngIf",!n.isMobile)}}function J(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"div",6),i.NdJ("transitionend",function(e){const n=i.CHM(t).tuiLet,r=i.oxw();return r.onDialog(e,!!r.dialogs.length,!!n)})("popstate",function(){const e=i.CHM(t).tuiLet,n=i.oxw();return n.closeLast(n.dialogs,!!e)},!1,i.Jf7),i.qZA()}if(2&t){const t=i.oxw();i.ekj("t-overlay_visible",t.dialogs.length)}}const X={label:"ignoreMe"},Q=(0,L.JN)((0,z.of)(!1));let W=(()=>{class t{constructor(t,e,n,i,r,o,s,a){this.isMobile=t,this.isDialogClosesOnBack$=e,this.dialogsByType=n,this.historyRef=i,this.titleService=r,this.destroy$=o,this.cdr=s,this.doc=a,this.dialogs=[]}ngOnInit(){(0,F.aj)(this.dialogsByType).pipe((0,h.U)(t=>[].concat(...t).sort((t,e)=>t.createdAt-e.createdAt)),(0,p.R)(this.destroy$)).subscribe(t=>{this.dialogs=t,this.cdr.markForCheck(),this.doc.documentElement.classList.toggle("t-overscroll-none",!!t.length)})}closeLast(t,e){if(!e)return;const[n]=t.slice(-1);!n||(t.length>1&&this.historyRef.pushState(X,this.titleService.getTitle()),n.$implicit.complete())}onDialog({propertyName:t},e,n){!n||"letter-spacing"!==t||(e?this.historyRef.pushState(X,this.titleService.getTitle()):(t=>(null==t?void 0:t.label)===X.label)(this.historyRef.state)&&this.historyRef.back())}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(N.fL),i.Y36(Q),i.Y36(N.qY),i.Y36(I.UA),i.Y36(A.Dx),i.Y36(D.a3,2),i.Y36(i.sBO),i.Y36(w.K0))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-dialog-host"]],features:[i._Bn([D.a3])],decls:3,vars:4,consts:[["aria-modal","true","role","dialog","tuiFocusTrap","","tuiOverscroll","all","tuiScrollRef","","class","t-dialog",4,"ngFor","ngForOf"],["class","t-overlay",3,"t-overlay_visible","transitionend","popstate",4,"tuiLet"],["aria-modal","true","role","dialog","tuiFocusTrap","","tuiOverscroll","all","tuiScrollRef","",1,"t-dialog"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],["class","t-scrollbars",4,"ngIf"],[1,"t-scrollbars"],[1,"t-overlay",3,"transitionend","popstate"]],template:function(t,e){1&t&&(i.YNc(0,G,3,5,"section",0),i.YNc(1,J,1,2,"div",1),i.ALo(2,"async")),2&t&&(i.Q6J("ngForOf",e.dialogs),i.xp6(1),i.Q6J("tuiLet",i.lcZ(2,2,e.isDialogClosesOnBack$)))},directives:[w.sg,j.Ls,$,Z.W,R.ex,q.Li,w.O5,R.tZ],pipes:[w.Ov],styles:["[_nghost-%COMP%]{position:fixed;left:0;bottom:0;width:100%;height:0}.t-overlay[_ngcontent-%COMP%], .t-dialog[_ngcontent-%COMP%]{position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:flex-start;outline:none;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.t-overlay.ng-animating[_ngcontent-%COMP%], .t-dialog.ng-animating[_ngcontent-%COMP%]{overflow:clip}.t-overlay[_ngcontent-%COMP%]::-webkit-scrollbar, .t-dialog[_ngcontent-%COMP%]::-webkit-scrollbar, .t-overlay[_ngcontent-%COMP%]::-webkit-scrollbar-thumb, .t-dialog[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:transparent;width:0;height:0}.t-dialog[_ngcontent-%COMP%]{bottom:auto;height:100%}.t-overlay[_ngcontent-%COMP%]{height:100%;pointer-events:none;touch-action:none;opacity:0;letter-spacing:normal;transition:opacity var(--tui-duration, .3s),letter-spacing .01s;background:rgba(0,0,0,.75);-webkit-backdrop-filter:var(--tui-backdrop, none);backdrop-filter:var(--tui-backdrop, none)}.t-overlay_visible[_ngcontent-%COMP%]{opacity:1;letter-spacing:1px}.t-dialog[_ngcontent-%COMP%]:last-of-type{z-index:1}.t-scrollbars[_ngcontent-%COMP%]{position:fixed;top:0;left:0;right:0;bottom:0;margin:0;color:#747474}"],data:{animation:[(0,T.X$)("host",[(0,T.eR)(":enter",[(0,T.oB)({overflow:"clip"}),(0,T.IO)(":scope > *",[(0,T.pV)()],{optional:!0})]),(0,T.eR)(":leave",[(0,T.oB)({overflow:"clip"}),(0,T.IO)(":scope > *",[(0,T.pV)()],{optional:!0})])])]}}),t})(),K=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,q.wq,Z.e,Y,j.WD,R.eI]]}),t})(),tt=(()=>{class t{transform(t,e,...n){return e(t,...n)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Yjl({name:"tuiMapper",type:t,pure:!0}),t})(),et=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();function nt(t,e){if(1&t&&(i.GkF(0,3),i.ALo(1,"tuiMapper")),2&t){const t=e.$implicit,n=i.oxw(2);i.Q6J("ngComponentOutlet",t.component.component)("ngComponentOutletInjector",i.xi3(1,2,t,n.mapper))}}function it(t,e){if(1&t&&(i.TgZ(0,"div",1),i.YNc(1,nt,2,5,"ng-container",2),i.qZA()),2&t){const t=e.$implicit;i.Q6J("@tuiParentAnimation",void 0),i.xp6(1),i.Q6J("ngForOf",t)}}let rt=(()=>{class t{constructor(t,e,n,r){this.allAlerts=t,this.injector=e,this.destroy$=n,this.cdr=r,this.alerts=[],this.trackBy=t=>t,this.mapper=t=>i.zs3.create({providers:[{provide:q.yf,useValue:t}],parent:this.injector})}ngOnInit(){(0,F.aj)(this.allAlerts).pipe((0,p.R)(this.destroy$)).subscribe(t=>{this.alerts=t,this.cdr.detectChanges()})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(N.bS),i.Y36(i.gxx),i.Y36(D.a3,2),i.Y36(i.sBO))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-alert-host"]],features:[i._Bn([D.a3])],decls:1,vars:2,consts:[["class","t-wrapper",4,"ngFor","ngForOf","ngForTrackBy"],[1,"t-wrapper"],[3,"ngComponentOutlet","ngComponentOutletInjector",4,"ngFor","ngForOf"],[3,"ngComponentOutlet","ngComponentOutletInjector"]],template:function(t,e){1&t&&i.YNc(0,it,2,2,"div",0),2&t&&i.Q6J("ngForOf",e.alerts)("ngForTrackBy",e.trackBy)},directives:[w.sg,w.$G],pipes:[tt],styles:["tui-alert-host>.t-wrapper{position:fixed;top:0;left:0;display:flex;width:100%;height:100%;flex-direction:column;pointer-events:none}tui-alert-host>.t-wrapper>*{pointer-events:auto}\n"],encapsulation:2,data:{animation:[y.Kx]}}),t})(),ot=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,et]]}),t})();var st=n(87941),at=n(79456),lt=n(54395);function ct(t,e){1&t&&(i.O4$(),i._UZ(0,"defs",4)),2&t&&i.Q6J("innerHTML",e.$implicit,i.oJD)}function ut(t,e){if(1&t&&(i.O4$(),i.ynx(0),i.YNc(1,ct,1,1,"defs",3),i.BQk()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("ngForOf",t.items)}}function ht(t,e){if(1&t&&(i.O4$(),i.TgZ(0,"defs"),i._UZ(1,"svg",6),i.qZA()),2&t){const t=e.$implicit;i.xp6(1),i.Q6J("outerHTML",t,i.oJD)}}function dt(t,e){if(1&t&&(i.O4$(),i.YNc(0,ht,2,1,"defs",5)),2&t){const t=i.oxw();i.Q6J("ngForOf",t.items)}}let pt=(()=>{class t{constructor(t,e,n,i){this.svgService=t,this.cdr=e,this.destroy$=n,this.isBrowser=!0,this.isBrowser=!(0,w.PM)(i)}ngOnInit(){this.svgService.items$.pipe((0,p.R)(this.destroy$)).subscribe(t=>{this.items=t.values(),this.cdr.detectChanges()})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(st.K5),i.Y36(i.sBO),i.Y36(D.a3,2),i.Y36(i.Lbi))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-svg-defs-host"]],features:[i._Bn([D.a3])],decls:4,vars:2,consts:[["version","1.1",0,"xmlns","xlink","http://www.w3.org/1999/xlink","xmlns","http://www.w3.org/2000/svg"],[4,"ngIf","ngIfElse"],["server",""],[3,"innerHTML",4,"ngFor","ngForOf"],[3,"innerHTML"],[4,"ngFor","ngForOf"],[3,"outerHTML"]],template:function(t,e){if(1&t&&(i.O4$(),i.TgZ(0,"svg",0),i.YNc(1,ut,2,1,"ng-container",1),i.YNc(2,dt,1,1,"ng-template",null,2,i.W1O),i.qZA()),2&t){const t=i.MAs(3);i.xp6(1),i.Q6J("ngIf",e.isBrowser)("ngIfElse",t)}},directives:[w.O5,w.sg],styles:["[_nghost-%COMP%]{display:none}"],changeDetection:0}),t})(),ft=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,j.WD]]}),t})();var gt=n(221);function mt(t,e){1&t&&i.GkF(0)}const vt=function(t){return{$implicit:t}};function _t(t,e){if(1&t&&(i.TgZ(0,"div",1),i.YNc(1,mt,1,0,"ng-container",2),i.qZA()),2&t){const t=e.$implicit;i.Q6J("@tuiParentAnimation",void 0)("tuiActiveZoneParent",t.activeZone||null),i.xp6(1),i.Q6J("polymorpheusOutlet",t.component)("polymorpheusOutletContext",i.VKq(4,vt,t))}}let yt=(()=>{class t{constructor(t,e,n){this.hints$=t,this.destroy$=e,this.cdr=n,this.hints=[]}ngOnInit(){this.hints$.pipe((0,p.R)(this.destroy$)).subscribe(t=>{this.hints=t,this.cdr.detectChanges()})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(st.BN),i.Y36(D.a3,2),i.Y36(i.sBO))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-hints-host"]],hostAttrs:["aria-live","polite"],features:[i._Bn([D.a3])],decls:1,vars:1,consts:[["role","tooltip",3,"tuiActiveZoneParent",4,"ngFor","ngForOf"],["role","tooltip",3,"tuiActiveZoneParent"],[4,"polymorpheusOutlet","polymorpheusOutletContext"]],template:function(t,e){1&t&&i.YNc(0,_t,2,6,"div",0),2&t&&i.Q6J("ngForOf",e.hints)},directives:[w.sg,gt.e,q.Li],styles:["[_nghost-%COMP%]{position:fixed;top:0;left:0;width:100%;height:0}"],data:{animation:[y.Kx]}}),t})(),bt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,q.wq,gt.A]]}),t})();var wt=n(11557);function Ct(t,e){1&t&&i._UZ(0,"tui-scroll-controls",2)}const xt=["*",[["tuiOverContent"]],[["tuiOverDialogs"]],[["tuiOverAlerts"]],[["tuiOverPortals"]],[["tuiOverHints"]]],kt=["*","tuiOverContent","tuiOverDialogs","tuiOverAlerts","tuiOverPortals","tuiOverHints"];let Ot=(()=>{class t{constructor(t,e,n,i,r,o,{body:s},a){this.duration=t,this.dialogs=e,this.isMobile=n,this.breakpoint=i,this.isIOS=r,this.isAndroid=o,this.isMobileRes$=this.breakpoint.pipe((0,h.U)(t=>"mobile"===t)),this.scrollbars$=this.dialogs.length&&!this.isMobile?(0,F.aj)([...this.dialogs]).pipe((0,h.U)(t=>!t.some(({length:t})=>t)),(0,lt.b)(0)):(0,z.of)(!this.isMobile),s.setAttribute("data-tui-theme",a.toLowerCase())}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(at.dx),i.Y36(N.qY),i.Y36(N.fL),i.Y36(st.zE),i.Y36(N.FA),i.Y36(N.XG),i.Y36(w.K0),i.Y36(at.r2))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-root"]],hostAttrs:["data-tui-version","3.55.0"],hostVars:7,hostBindings:function(t,e){1&t&&i.NdJ("$.class._mobile",function(){return e.isMobileRes$}),2&t&&(i.Ikx("$.class._mobile",e.isMobileRes$),i.Udp("--tui-duration",e.duration,"ms"),i.ekj("_ios",e.isIOS)("_android",e.isAndroid))},ngContentSelectors:kt,decls:14,vars:3,consts:[["class","t-root-scrollbar",4,"ngIf"],[1,"t-root-content"],[1,"t-root-scrollbar"]],template:function(t,e){1&t&&(i.F$t(xt),i.YNc(0,Ct,1,0,"tui-scroll-controls",0),i.ALo(1,"async"),i._UZ(2,"tui-svg-defs-host"),i.TgZ(3,"tui-dropdown-host"),i.TgZ(4,"div",1),i.Hsn(5),i.qZA(),i.Hsn(6,1),i._UZ(7,"tui-dialog-host"),i.Hsn(8,2),i._UZ(9,"tui-alert-host"),i.Hsn(10,3),i.qZA(),i.Hsn(11,4),i._UZ(12,"tui-hints-host"),i.Hsn(13,5)),2&t&&i.Q6J("ngIf",i.lcZ(1,1,e.scrollbars$))},directives:[w.O5,pt,E.qY,W,rt,yt,R.tZ],pipes:[w.Ov],styles:['@keyframes tuiPresent{to{content:"1"}}@keyframes tuiSkeletonVibe{to{opacity:.5}}html,.tui-zero-scrollbar{scrollbar-width:none;-ms-overflow-style:none}html::-webkit-scrollbar,.tui-zero-scrollbar::-webkit-scrollbar,html::-webkit-scrollbar-thumb,.tui-zero-scrollbar::-webkit-scrollbar-thumb{background:transparent;width:0;height:0}body{font:var(--tui-font-text-s);color:var(--tui-text-01);background:var(--tui-base-01);margin:0}tui-root{position:relative;display:block;flex:1;-webkit-tap-highlight-color:transparent}tui-root>.t-root-scrollbar{position:fixed;top:0;left:0;bottom:0;right:0;margin:0}.t-root-content{height:100%;isolation:isolate}.t-overscroll-none{overscroll-behavior:none;overflow:hidden}\n'],encapsulation:2}),t})(),Mt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,wt.X1,E.mL,ft,bt,K,ot,R.eI]]}),t})();var St=n(76480);let Pt=(()=>{class t extends St.GM{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-theme-night"]],features:[i.qOj],decls:0,vars:0,template:function(t,e){},styles:[":root{--tui-base-01: #222;--tui-base-02: #333;--tui-base-03: #808080;--tui-base-04: #959595;--tui-base-05: #b0b0b0;--tui-base-06: #d7d7d7;--tui-base-07: #ededed;--tui-base-08: #f6f6f6;--tui-base-09: #fff;--tui-focus: rgba(51, 51, 51, .64);--tui-secondary: rgba(255, 255, 255, .16);--tui-secondary-hover: rgba(255, 255, 255, .24);--tui-secondary-active: rgba(255, 255, 255, .4);--tui-clear: rgba(255, 255, 255, .16);--tui-clear-disabled: rgba(255, 255, 255, .08);--tui-clear-hover: rgba(255, 255, 255, .24);--tui-clear-active: rgba(255, 255, 255, .4);--tui-error-fill: #ff8c67;--tui-error-bg: rgba(244, 87, 37, .32);--tui-error-bg-hover: rgba(244, 87, 37, .4);--tui-success-fill: #4ac99b;--tui-success-bg: rgba(74, 201, 155, .32);--tui-success-bg-hover: rgba(74, 201, 155, .4);--tui-warning-fill: #ffc700;--tui-warning-bg: rgba(255, 199, 0, .32);--tui-warning-bg-hover: rgba(255, 199, 0, .4);--tui-info-fill: #70b6f6;--tui-info-bg: rgba(112, 182, 246, .32);--tui-info-bg-hover: rgba(112, 182, 246, .4);--tui-neutral-fill: #959ba4;--tui-neutral-bg: rgba(149, 155, 164, .32);--tui-neutral-bg-hover: rgba(149, 155, 164, .48);--tui-text-01: #ffffff;--tui-text-02: rgba(255, 255, 255, .72);--tui-text-03: rgba(255, 255, 255, .6);--tui-link: #6788ff;--tui-link-hover: #526ed3;--tui-positive: #44c596;--tui-positive-hover: #3aa981;--tui-negative: #ff8c67;--tui-negative-hover: #bb593a;--tui-autofill: var(--tui-autofill-night);--tui-elevation-01: #222;--tui-elevation-02: #222}tui-notification{--tui-base-01: #000}\n"],encapsulation:2,changeDetection:0}),t})(),Et=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();var Tt=n(12628),At=n(75452),It=n(82847),Dt=n(79588),Nt=n(90022),Lt=n(75111),zt=n(1515),Ft=n(95974),Rt=n(54789),jt=n(98952),Bt=n(94853),Vt=n(60885),$t=n(80134),Yt=n(85648),Zt=n(18269);function qt(t,e){const[,n=""]=function(t){const e=String(t),[n,i]=e.split("e-");let r=e;if(i){const[,e]=n.split("."),o=Number(i)+((null==e?void 0:e.length)||0);r=t.toFixed(o)}return r}(t).split(".");return(0,L.dt)(e)?n.slice(0,Math.max(0,e)):n}var Ut=n(49941),Ht=n(22759),Gt=n(72361);function Jt(t,e){if(1&t&&(i.ynx(0),i._uU(1),i.BQk()),2&t){const t=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",t," ")}}function Xt(t,e){if(1&t&&(i.TgZ(0,"label",4),i.YNc(1,Jt,2,1,"ng-container",5),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",t.item.label)("polymorpheusOutletContext",t.item)}}function Qt(t,e){1&t&&i._UZ(0,"div",6),2&t&&i.Q6J("innerHTML",e.polymorpheusOutlet,i.oJD)}const Wt=(0,L.N1)(()=>(0,i.f3M)(N.fL)?"1rem 1rem 0 auto":"2rem 3rem 0 auto");let Kt=(()=>{class t{constructor(t,e,n,i,r){this.el=t,this.destroy$=e,this.position=n,this.options=i,this.item=r,this.autoClose="function"==typeof this.item.autoClose?this.item.autoClose(this.item.status):this.item.autoClose,this.animation=this.position.endsWith("auto")?Object.assign(Object.assign({},this.options),{value:"right"}):Object.assign(Object.assign({},this.options),{value:"left"})}ngOnInit(){this.initAutoClose()}close(){this.item.$implicit.complete()}initAutoClose(){!this.autoClose||(0,l.H)((0,L.dt)(this.autoClose)?this.autoClose:3e3).pipe((0,p.R)((0,Ht.R)(this.el.nativeElement,"mouseenter")),(0,Gt.a)(()=>(0,Ht.R)(this.el.nativeElement,"mouseleave")),(0,p.R)(this.destroy$)).subscribe(()=>this.close())}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(D.a3,2),i.Y36(Wt),i.Y36(at.Pw),i.Y36(q.yf))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-alert"]],hostAttrs:["role","alert"],hostVars:5,hostBindings:function(t,e){2&t&&(i.d8E("@tuiFadeIn",e.options)("@tuiSlideIn",e.animation)("@tuiHeightCollapse",e.animation),i.Udp("margin",e.position))},features:[i._Bn([D.a3])],decls:4,vars:7,consts:[[3,"hasIcon","hideClose","icon","status","close"],["automation-id","tui-notification-alert__heading","class","t-heading",4,"ngIf"],["automation-id","tui-notification-alert__content",1,"t-content"],[3,"innerHTML",4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-notification-alert__heading",1,"t-heading"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],[3,"innerHTML"]],template:function(t,e){1&t&&(i.TgZ(0,"tui-notification",0),i.NdJ("close",function(){return e.close()}),i.YNc(1,Xt,2,2,"label",1),i.TgZ(2,"div",2),i.YNc(3,Qt,1,1,"div",3),i.qZA(),i.qZA()),2&t&&(i.Q6J("hasIcon",e.item.hasIcon)("hideClose",!e.item.hasCloseButton)("icon",e.item.icon)("status",e.item.status),i.xp6(1),i.Q6J("ngIf",e.item.label),i.xp6(2),i.Q6J("polymorpheusOutlet",e.item.content)("polymorpheusOutletContext",e.item))},directives:[Vt.L,w.O5,q.Li],styles:["[_nghost-%COMP%]{box-shadow:0 1.5rem 1rem #00000008,0 .75rem .75rem #0000000a,0 .25rem .375rem #0000000d;display:block;border-radius:var(--tui-radius-l);width:18rem}[_nghost-%COMP%]:not(:first-child){margin-top:.75rem!important}[_nghost-%COMP%]:not(:last-child){margin-bottom:0!important}.t-heading[_ngcontent-%COMP%]{margin:0}[data-size=s][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-s);font-weight:bold}[data-size=m][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-m);line-height:1.25rem;font-weight:bold}[data-size=l][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-l);line-height:1.5rem;font-weight:bold}.t-content[_ngcontent-%COMP%]{color:var(--tui-text-01);word-wrap:break-word;word-break:break-word}.t-content[_ngcontent-%COMP%]:empty{display:none}"],data:{animation:[Ut.QF,Ut.Gw,Ut.eu]},changeDetection:0}),t})(),te=(()=>{class t extends St.d5{constructor(t,e){super(e),this.defaultOptions=t,this.component=new q.Al(Kt)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(at.Ln),i.LFG(D.ll))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),ee=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[(0,N.XH)(te)],imports:[[w.ez,q.wq,Vt.H]]}),t})();var ne=n(59796),ie=n(56693),re=n(55197),oe=n(96563);class se{call(t,e){return e.subscribe(new ae(t))}}class ae extends re.L{constructor(t){super(t),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(t){this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{for(let n=0;n{class t{constructor(t,e){this.focusable=t,this.el=e}get element(){var t;return(null===(t=this.focusable)||void 0===t?void 0:t.nativeFocusableElement)||this.el.nativeElement}get isTextFieldElement(){return this.element.matches("input, textarea, [contenteditable]")}}return t.\u0275fac=function(t){i.$Z()},t.\u0275dir=i.lG2({type:t}),t})(),fe=(()=>{class t extends pe{constructor(t,e,n){super(t,e),this.animationFrame$=n}setFocus(){this.isTextFieldElement?function(...t){if(1===t.length){if(!(0,ne.k)(t[0]))return t[0];t=t[0]}return(0,ie.n)(t,void 0).lift(new se)}((0,l.H)(1e3),this.animationFrame$.pipe((0,le.p)(y.Yg),(0,h.U)(()=>this.element.closest(".ng-animating")),function(t){return e=>e.lift(new ue(t))}(Boolean),(0,m.q)(1))).subscribe(()=>this.element.focus({preventScroll:!0})):this.element.focus({preventScroll:!0})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(N.KZ,10),i.Y36(i.SBq),i.Y36(I.L1))},t.\u0275dir=i.lG2({type:t,features:[i.qOj]}),t})();const ge=["type","inputMode","autocomplete","accept","min","max","step","pattern","size","maxlength"];let me=(()=>{class t extends pe{constructor(t,e,n,i,r){super(t,e),this.renderer=n,this.zone=i,this.win=r,this.patchCssStyles()}setFocus(){this.isTextFieldElement?this.zone.runOutsideAngular(()=>this.iosWebkitAutofocus()):this.element.focus({preventScroll:!0})}iosWebkitAutofocus(){var t;const e=this.makeFakeInput(),n=this.getDurationTimeBeforeFocus();let i=0,r=0;const o=()=>e.focus({preventScroll:!0}),s=()=>{clearTimeout(i),i=this.win.setTimeout(()=>{clearTimeout(r),e.removeEventListener("blur",o),e.removeEventListener("focus",s),r=this.win.setTimeout(()=>{this.element.focus({preventScroll:!1}),e.remove()},n)})};e.addEventListener("blur",o,{once:!0}),e.addEventListener("focus",s),this.insideDialog()?this.win.document.body.appendChild(e):null===(t=this.element.parentElement)||void 0===t||t.appendChild(e),e.focus({preventScroll:!0})}makeFakeInput(){const t=this.renderer.createElement("input"),e=this.element.getBoundingClientRect();return this.patchFakeInputFromFocusableElement(t),t.style.height=(0,de.O)(e.height),t.style.width=(0,de.O)(e.width/2),t.style.position="fixed",t.style.zIndex="-99999999",t.style.caretColor="transparent",t.style.border="none",t.style.outline="none",t.style.color="transparent",t.style.background="transparent",t.style.cursor="none",t.style.fontSize=(0,de.O)(16),t.style.top=(0,de.O)(e.top),t.style.left=(0,de.O)(e.left),t}getDurationTimeBeforeFocus(){return parseFloat(this.win.getComputedStyle(this.element).getPropertyValue("--tui-duration"))||0}insideDialog(){return!!this.element.closest("tui-dialog")}patchCssStyles(){[this.win.document.documentElement,this.win.document.body].forEach(t=>{t.style.setProperty("overflow","auto"),t.style.setProperty("height","100%")})}patchFakeInputFromFocusableElement(t){ge.forEach(e=>{const n=this.element.getAttribute(e);(0,L.Pc)(n)&&t.setAttribute(e,n)})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(N.KZ,10),i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(i.R0b),i.Y36(I.m9))},t.\u0275dir=i.lG2({type:t,features:[i.qOj]}),t})();const ve=(0,L.JN)({delay:NaN}),_e=new i.OlP("[TUI_AUTOFOCUS_HANDLER]"),ye=[{provide:_e,useFactory:(t,e,n,i,r,o,s)=>s?new me(t,e,i,r,o):new fe(t,e,n),deps:[[new i.FiY,new i.PiD,N.KZ],i.SBq,I.L1,i.Qsj,i.R0b,I.m9,N.FA]},D.a3];let be=(()=>{class t{constructor(t,e,n){this.handler=t,this.options=e,this.destroy$=n,this.autoFocus=!0}ngAfterViewInit(){(function(t){return null!=t&&"false"!=`${t}`})(this.autoFocus)&&this.focus()}focus(){Number.isNaN(this.options.delay)?Promise.resolve().then(()=>this.handler.setFocus()):(0,l.H)(this.options.delay).pipe((0,p.R)(this.destroy$)).subscribe(()=>this.handler.setFocus())}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(_e),i.Y36(ve),i.Y36(D.a3,2))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiAutoFocus",""]],inputs:{autoFocus:["tuiAutoFocus","autoFocus"]},features:[i._Bn(ye)]}),t})(),we=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();var Ce=n(40946),xe=n(59193),ke=n(29856),Oe=n(95639),Me=n(47766);function Se(t,e){if(1&t&&(i.ynx(0),i._uU(1),i.BQk()),2&t){const t=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",t," ")}}function Pe(t,e){if(1&t&&(i.TgZ(0,"header",6),i.YNc(1,Se,2,1,"ng-container",3),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",t.header)("polymorpheusOutletContext",t.context)}}function Ee(t,e){if(1&t){const t=i.EpF();i.ynx(0),i._UZ(1,"div",7),i.TgZ(2,"div",8),i.TgZ(3,"button",9),i.NdJ("click",function(){return i.CHM(t),i.oxw().context.$implicit.complete()}),i._uU(4),i.qZA(),i.qZA(),i.BQk()}if(2&t){const t=e.polymorpheusOutlet,n=i.oxw();let r;i.xp6(1),i.Q6J("innerHTML",t,i.oJD),i.xp6(3),i.hij(" ",(null==(r=n.context.data)?null:r.button)||"OK"," ")}}function Te(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"div",10),i.TgZ(1,"button",11),i.NdJ("click",function(){return i.CHM(t),i.oxw().close$.next()})("mousedown.prevent.silent",function(){return 0}),i.ALo(2,"async"),i.qZA(),i.qZA()}if(2&t){const t=i.oxw();i.xp6(1),i.Q6J("appearance",t.fullscreen?"secondary":"")("icon",t.icons.close)("title",i.lcZ(2,3,t.closeWord$))}}const Ae=(0,L.JN)(xe.E),Ie=(0,L.JN)({size:"m",required:!1,closeable:!0,dismissible:!0,label:"",header:""});let De=(()=>{class t extends ke.y{constructor(t,e,n){super(t=>(0,c.T)(this.esc$,this.mousedown$).subscribe(t)),this.win=t,this.doc=e,this.el=n,this.esc$=(0,Ce.mL)(this.doc,"keydown").pipe((0,f.h)(t=>{const e=(0,B.mA)(t);return"Escape"===t.key&&!t.defaultPrevented&&(this.element.contains(e)||this.isOutside(e))})),this.mousedown$=(0,Ce.mL)(this.doc,"mousedown").pipe((0,f.h)(t=>(0,Me.ic)(this.win)-t.clientX>17&&this.isOutside((0,B.mA)(t))),(0,u.w)(()=>(0,Ce.mL)(this.doc,"mouseup").pipe((0,m.q)(1),(0,h.U)(B.mA),(0,f.h)(t=>this.isOutside(t)))))}get element(){return this.el.nativeElement}isOutside(t){return(0,B.ve)(t)&&(!(0,B.PP)(this.element,t)||t===this.element)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(I.m9),i.LFG(w.K0),i.LFG(i.SBq))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();const Ne=new Error("Required dialog was dismissed");function Le(t){return(0,Oe.b)(t)?t:(0,z.of)(t)}const ze=new q.Al((()=>{class t{constructor(t,e,n,i,r,o,s,l){this.duration=t,this.isMobile=e,this.context=n,this.closeWord$=s,this.icons=l,this.animation={value:"",params:{start:"40px",duration:this.duration}},this.fullscreenAnimation={value:"",params:{start:"100vh",duration:this.duration}},this.close$=new a.xQ,(0,c.T)(this.close$.pipe((0,u.w)(()=>Le(n.closeable))),r.pipe((0,u.w)(()=>Le(n.dismissible))),o.pipe((0,h.U)(y.Ye))).pipe((0,f.h)(Boolean),(0,p.R)(i)).subscribe(()=>{this.close()})}get size(){return this.context.size}get header(){return this.context.header}get slideInTop(){return this.fullscreen||this.isMobile?this.fullscreenAnimation:this.animation}get fullscreen(){return!this.isMobile&&("fullscreen"===this.size||"page"===this.size)}close(){this.context.required?this.context.$implicit.error(Ne):this.context.$implicit.complete()}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(at.dx),i.Y36(N.fL),i.Y36(q.yf),i.Y36(D.a3,2),i.Y36(De),i.Y36(Ae),i.Y36(at.U0),i.Y36(at.Gs))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-dialog"]],hostVars:6,hostBindings:function(t,e){2&t&&(i.uIk("data-appearance",e.context.appearance)("data-size",e.size),i.d8E("@tuiSlideInTop",e.slideInTop)("@tuiFadeIn",e.slideInTop),i.ekj("_centered",e.header))},features:[i._Bn([D.a3,De])],decls:7,vars:6,consts:[["class","t-header",4,"ngIf"],[1,"t-content"],[1,"t-heading",3,"id","textContent"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-filler"],["class","t-wrapper",4,"ngIf"],[1,"t-header"],[3,"innerHTML"],[1,"t-buttons"],["size","m","tuiAutoFocus","","tuiButton","","type","button",3,"click"],[1,"t-wrapper"],["automation-id","tui-dialog__close","shape","rounded","size","s","tuiIconButton","","type","button",1,"t-close",3,"appearance","icon","title","click","mousedown.prevent.silent"]],template:function(t,e){1&t&&(i.YNc(0,Pe,2,2,"header",0),i.TgZ(1,"div",1),i._UZ(2,"h2",2),i.TgZ(3,"section"),i.YNc(4,Ee,5,2,"ng-container",3),i.qZA(),i.qZA(),i._UZ(5,"div",4),i.YNc(6,Te,3,5,"div",5)),2&t&&(i.Q6J("ngIf",e.header),i.xp6(2),i.Q6J("id",e.context.id)("textContent",e.context.label),i.xp6(2),i.Q6J("polymorpheusOutlet",e.context.content)("polymorpheusOutletContext",e.context),i.xp6(2),i.Q6J("ngIf",e.context.closeable))},directives:[w.O5,q.Li,Tt.v0,be],pipes:[w.Ov],styles:['[_nghost-%COMP%]{position:relative;display:flex;font:var(--tui-font-text-m);flex-direction:column;box-sizing:border-box;margin:auto;border-radius:1rem;border:2.5rem solid transparent}[_nghost-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%;box-shadow:0 1.125rem 1.875rem #0000007a;content:"";border-radius:inherit;pointer-events:none}[data-size=auto][_nghost-%COMP%]{width:auto}[data-size=s][_nghost-%COMP%]{width:30rem}[data-size=s][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:1.5rem}[data-size=s][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:.5rem;font:var(--tui-font-heading-5)}[data-size=m][_nghost-%COMP%]{width:42.5rem}[data-size=m][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:.75rem;font:var(--tui-font-heading-4)}[data-size=l][_nghost-%COMP%]{width:55rem}[data-size=l][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:1rem}[data-size=fullscreen][_nghost-%COMP%], [data-size=page][_nghost-%COMP%]{min-width:100vw;min-height:100%;border-radius:0;border:none;background:var(--tui-elevation-01);box-shadow:0 4rem var(--tui-elevation-01)}[data-size=fullscreen][_nghost-%COMP%] .t-content[_ngcontent-%COMP%], [data-size=page][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:3rem calc(50vw - (45rem / 2))}[data-size=fullscreen][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%], [data-size=page][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:1rem}[data-size=page][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0}._centered[_nghost-%COMP%]{text-align:center}[_nghost-%COMP%] tui-root._mobile[data-size][_nghost-%COMP%], tui-root._mobile [data-size][_nghost-%COMP%]{min-width:100%;width:100%;max-width:100%;border-radius:0;border:none;margin:auto 0 0}[_nghost-%COMP%] tui-root._mobile[data-size][_nghost-%COMP%] .t-content[_ngcontent-%COMP%], tui-root._mobile [data-size][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:1.5rem}[_nghost-%COMP%] tui-root._mobile[data-size][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%], tui-root._mobile [data-size][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:.5rem;font:var(--tui-font-heading-5)}.t-heading[_ngcontent-%COMP%]{margin:0;word-wrap:break-word;font:var(--tui-font-heading-3)}.t-heading[_ngcontent-%COMP%]:empty{display:none}.t-header[_ngcontent-%COMP%]{display:flex;border-top-left-radius:inherit;border-top-right-radius:inherit;overflow:hidden}[data-size=fullscreen][_nghost-%COMP%] tui-root._mobile[_nghost-%COMP%] .t-header[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{flex:1}.t-content[_ngcontent-%COMP%]{border-radius:inherit;padding:2rem;background:var(--tui-elevation-01)}.t-content[_ngcontent-%COMP%]:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}.t-wrapper[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;top:0;z-index:1;order:-1}.t-filler[_ngcontent-%COMP%]{flex-grow:1}.t-close[_ngcontent-%COMP%]{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:fixed;top:1.5rem;right:1.5rem;display:none;color:var(--tui-base-01)}.t-dialog:last-of-type[_nghost-%COMP%] .t-close[_ngcontent-%COMP%], .t-dialog:last-of-type [_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{display:block}[_nghost-%COMP%]:not([data-size="fullscreen"]):not([data-size="page"]) .t-close[_ngcontent-%COMP%]{animation:tuiFadeIn var(--tui-duration);background:rgba(104,104,104,.96)}[_nghost-%COMP%]:not([data-size="fullscreen"]):not([data-size="page"]) .t-close[_ngcontent-%COMP%]:hover{background:rgba(159,159,159,.86)}[_nghost-%COMP%]:not([data-size="fullscreen"]).ng-animating .t-close[_ngcontent-%COMP%]{display:none}tui-root._mobile[_nghost-%COMP%] .t-close[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{position:absolute;top:0;right:0;background:transparent!important;color:var(--tui-text-01);opacity:.5}.t-buttons[_ngcontent-%COMP%]{margin-top:1.25rem;text-align:right}'],data:{animation:[Ut.X9,Ut.QF]}}),t})());let Fe=(()=>{class t extends St.d5{constructor(){super(...arguments),this.component=ze,this.defaultOptions=Object.assign(Object.assign({},(0,i.f3M)(Ie)),{data:void 0})}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Re=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[(0,N.Q)(Fe)],imports:[[q.wq,Tt.fN,w.ez,we]]}),t})();var je=n(23917),Be=n(67545);class Ve{constructor(t,e){this._document=e;const n=this._textarea=this._document.createElement("textarea"),i=n.style;i.position="fixed",i.top=i.opacity="0",i.left="-999em",n.setAttribute("aria-hidden","true"),n.value=t,this._document.body.appendChild(n)}copy(){const t=this._textarea;let e=!1;try{if(t){const n=this._document.activeElement;t.select(),t.setSelectionRange(0,t.value.length),e=this._document.execCommand("copy"),n&&n.focus()}}catch(n){}return e}destroy(){const t=this._textarea;t&&(t.parentNode&&t.parentNode.removeChild(t),this._textarea=void 0)}}let $e=(()=>{class t{constructor(t){this._document=t}copy(t){const e=this.beginCopy(t),n=e.copy();return e.destroy(),n}beginCopy(t){return new Ve(t,this._document)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(w.K0))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(w.K0))},token:t,providedIn:"root"}),t})();const Ye=new i.OlP("CDK_COPY_TO_CLIPBOARD_CONFIG");let Ze=(()=>{class t{constructor(t,e,n){this._clipboard=t,this._ngZone=e,this.text="",this.attempts=1,this.copied=new i.vpe,this._pending=new Set,n&&null!=n.attempts&&(this.attempts=n.attempts)}copy(t=this.attempts){if(t>1){let e=t;const n=this._clipboard.beginCopy(this.text);this._pending.add(n);const i=()=>{const t=n.copy();t||!--e||this._destroyed?(this._currentTimeout=null,this._pending.delete(n),n.destroy(),this.copied.emit(t)):this._currentTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(i,1))};i()}else this.copied.emit(this._clipboard.copy(this.text))}ngOnDestroy(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(t=>t.destroy()),this._pending.clear(),this._destroyed=!0}}return t.\u0275fac=function(e){return new(e||t)(i.Y36($e),i.Y36(i.R0b),i.Y36(Ye,8))},t.\u0275dir=i.lG2({type:t,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(t,e){1&t&&i.NdJ("click",function(){return e.copy()})},inputs:{text:["cdkCopyToClipboard","text"],attempts:["cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"}}),t})(),qe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();var Ue=n(97582);let He=(()=>{class t{constructor({nativeElement:t}){return new i.SBq(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiElement",""]],exportAs:["elementRef"]}),t})(),Ge=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})(),Je=(()=>{class t extends He{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,selectors:[["","tuiResizeable",""]],features:[i.qOj]}),t})(),Xe=(()=>{class t{constructor(t){this.resizeable=t,this.tuiResizer=[0,0],this.tuiSizeChange=new i.vpe,this.x=NaN,this.y=NaN,this.width=0,this.height=0}get cursor(){return this.tuiResizer[0]?this.tuiResizer[1]?this.tuiResizer[0]*this.tuiResizer[1]>0?"nwse-resize":"nesw-resize":"ew-resize":"ns-resize"}onTouchStart({touches:t}){this.onMouseDown(t[0].clientX,t[0].clientY)}onMouseDown(t,e){this.x=t,this.y=e,this.width=this.resizeable.nativeElement.clientWidth,this.height=this.resizeable.nativeElement.clientHeight}onMouseMove({x:t,y:e,buttons:n}){n?this.onMove(t,e):this.onMouseUp()}onTouchMove({touches:t}){this.onMove(t[0].clientX,t[0].clientY)}onMouseUp(){this.x=NaN}onMove(t,e){if(Number.isNaN(this.x))return;const{style:n}=this.resizeable.nativeElement,i=[this.width+this.tuiResizer[0]*(t-this.x),this.height+this.tuiResizer[1]*(e-this.y)];this.tuiResizer[0]&&(n.width=(0,de.O)(i[0])),this.tuiResizer[1]&&(n.height=(0,de.O)(i[1])),this.tuiSizeChange.emit(i)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(Je))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiResizer",""]],hostVars:4,hostBindings:function(t,e){1&t&&i.NdJ("touchstart.silent.passive",function(t){return e.onTouchStart(t)})("mousedown.silent.prevent",function(t){return e.onMouseDown(t.x,t.y)})("mousemove.silent",function(t){return e.onMouseMove(t)},!1,i.evT)("touchmove.silent",function(t){return e.onTouchMove(t)},!1,i.evT)("mouseup.silent",function(){return e.onMouseUp()},!1,i.evT)("touchend.silent",function(){return e.onMouseUp()},!1,i.evT),2&t&&i.Udp("touch-action","none")("cursor",e.cursor)},inputs:{tuiResizer:"tuiResizer"},outputs:{tuiSizeChange:"tuiSizeChange"}}),t})(),Qe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})(),We=(()=>{class t{transform(t,e,...n){return t.filter(t=>e(t,...n))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Yjl({name:"tuiFilter",type:t,pure:!0}),t})(),Ke=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})(),tn=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiItem",""]]}),t})(),en=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})(),nn=(()=>{class t{transform(t,e,n){var i;return null!==(i=null==t?void 0:t.replace(e,n))&&void 0!==i?i:""}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Yjl({name:"tuiReplace",type:t,pure:!0}),t})(),rn=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();function on(t){const e=t.replace("#","").split("").map((t,e,n)=>3===n.length?t+t:t).join("").match(/.{2}/g);return e?e.map(t=>Number.parseInt(t,16)):[0,0,0]}var sn=n(44358),an=n(91489),ln=n(43631),cn=n(75046);let un=(()=>{class t{constructor(t,e,n,i,r){this.host=t,this.control=e,this.el=n,this.idService=i,this.itemsHandlers=r,this.disabledItemHandler=null,this.datalist=null}get id(){return this.el.nativeElement.id||this.idService.generate()}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(at.S0),i.Y36(St.M$),i.Y36(i.SBq),i.Y36(D.ll),i.Y36(cn.Ys))},t.\u0275dir=i.lG2({type:t,viewQuery:function(t,e){if(1&t&&i.Gf(Lt.gX,7,i.Rgc),2&t){let t;i.iGM(t=i.CRH())&&(e.datalist=t.first)}},hostVars:1,hostBindings:function(t,e){2&t&&i.Ikx("id",e.id)},inputs:{disabledItemHandler:"disabledItemHandler"}}),t})();function hn(t,e){if(1&t&&(i.ynx(0),i._uU(1),i.BQk()),2&t){const t=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",t," ")}}function dn(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"button",4,5),i.NdJ("click",function(){const e=i.CHM(t).$implicit;return i.oxw(2).itemClick.emit(e)}),i.TgZ(2,"span",6),i.YNc(3,hn,2,1,"ng-container",7),i.qZA(),i.qZA()}if(2&t){const t=e.$implicit,n=i.MAs(1),r=i.oxw(2);i.Q6J("disabled",r.disabledItemHandler(t))("value",t),i.xp6(3),i.Q6J("polymorpheusOutlet",r.itemContent)("polymorpheusOutletContext",r.getContext(t,n))}}function pn(t,e){if(1&t&&(i.TgZ(0,"tui-data-list",2),i.YNc(1,dn,4,4,"button",3),i.qZA()),2&t){const t=i.oxw();i.Q6J("emptyContent",t.emptyContent)("size",t.size),i.xp6(1),i.Q6J("ngForOf",t.items)}}function fn(t,e){1&t&&i._UZ(0,"tui-loader",8)}let gn=(()=>{class t{constructor(t,e){this.itemsHandlers=t,this.defaultSize=e,this.optionsQuery=y.Mm,this.disabledItemHandler=this.itemsHandlers.disabledItemHandler,this.size=this.defaultSize,this.itemClick=new i.vpe,this.itemContent=({$implicit:t})=>this.itemsHandlers.stringify(t)}getContext(t,{nativeElement:e}){return{$implicit:t,active:(0,V.V8)(e)}}getOptions(t=!1){return this.optionsQuery.filter(({disabled:e})=>t||!e).map(({value:t})=>t).filter(L.Pc)}}return t.\u0275fac=function(t){i.$Z()},t.\u0275dir=i.lG2({type:t,viewQuery:function(t,e){if(1&t&&i.Gf(Lt.vK,5),2&t){let t;i.iGM(t=i.CRH())&&(e.optionsQuery=t)}},inputs:{disabledItemHandler:"disabledItemHandler",emptyContent:"emptyContent",size:"size",itemContent:"itemContent"},outputs:{itemClick:"itemClick"}}),t})(),mn=(()=>{class t extends gn{constructor(t,e){super(t,(null==e?void 0:e.size)||"m"),this.items=[]}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(cn.Ys),i.Y36(Dt.Cs,8))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-data-list-wrapper",3,"labels",""]],inputs:{items:"items"},features:[i._Bn([(0,at.RB)(t),Dt.Y0]),i.qOj],decls:3,vars:2,consts:[[3,"emptyContent","size",4,"ngIf","ngIfElse"],["loading",""],[3,"emptyContent","size"],["automation-id","tui-data-list-wrapper__option","tuiElement","","tuiOption","",3,"disabled","value","click",4,"ngFor","ngForOf"],["automation-id","tui-data-list-wrapper__option","tuiElement","","tuiOption","",3,"disabled","value","click"],["elementRef","elementRef"],[1,"t-content"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-data-list-wrapper__loader",1,"t-loader"]],template:function(t,e){if(1&t&&(i.YNc(0,pn,2,3,"tui-data-list",0),i.YNc(1,fn,1,0,"ng-template",null,1,i.W1O)),2&t){const t=i.MAs(2);i.Q6J("ngIf",e.items)("ngIfElse",t)}},directives:[w.O5,Lt.qi,w.sg,Lt.vK,He,q.Li,b.kM],styles:["[_nghost-%COMP%]{display:block}.t-content[_ngcontent-%COMP%]{flex:1}.t-loader[_ngcontent-%COMP%]{margin:.75rem 0}"],changeDetection:0}),t})(),vn=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,q.wq,Ge,Lt.pc,b.dS]]}),t})(),_n=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();var yn=n(87862),bn=n(66640);function wn(t,e){1&t&&i._UZ(0,"tui-svg",2),2&t&&i.Q6J("src",e.polymorpheusOutlet)}function Cn(t,e){1&t&&i.GkF(0)}const xn=(0,L.JN)({iconSmall:"tuiIconChevronDown",iconLarge:"tuiIconChevronDownLarge"}),kn=new q.Al((()=>{class t{constructor(t,e,n){this.dropdown=t,this.textfieldSize=e,this.options=n}get rotated(){return this.dropdown.open}get arrowIcon(){return(0,bn.R9)(this.textfieldSize.size)?this.options.iconLarge:this.options.iconSmall}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(je.o1),i.Y36(Dt.kI),i.Y36(xn))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-arrow"]],hostVars:2,hostBindings:function(t,e){2&t&&i.ekj("_rotated",e.rotated)},decls:3,vars:4,consts:[[3,"src",4,"polymorpheusOutlet"],[4,"ngIf"],[3,"src"]],template:function(t,e){1&t&&(i.YNc(0,wn,1,1,"tui-svg",0),i.YNc(1,Cn,1,0,"ng-container",1),i.ALo(2,"async")),2&t&&(i.Q6J("polymorpheusOutlet",e.arrowIcon),i.xp6(1),i.Q6J("ngIf",i.lcZ(2,2,e.dropdown.openChange)))},directives:[q.Li,w.O5,Rt.PN],pipes:[w.Ov],styles:["[_nghost-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:block;cursor:pointer;pointer-events:none}._rotated[_nghost-%COMP%]{transform:rotate(180deg)}"],changeDetection:0}),t})());let On=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,Rt.EI,q.wq]]}),t})();const Mn=(0,L.JN)({interactive:kn,disabled:kn});let Sn=(()=>{class t{constructor(t,e){this.el=t,this.destroy$=e}set tuiScrollIntoView(t){!t||(0,l.H)(0).pipe((0,p.R)(this.destroy$)).subscribe(()=>{this.el.nativeElement.dispatchEvent(new CustomEvent(Zt.fe,{bubbles:!0,detail:this.el.nativeElement}))})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(D.a3,2))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiScrollIntoView",""]],inputs:{tuiScrollIntoView:"tuiScrollIntoView"},features:[i._Bn([D.a3])]}),t})(),Pn=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();function En(t,e){if(1&t&&i._UZ(0,"tui-svg",3),2&t){const t=i.oxw();i.Q6J("src",t.icons.check)("tuiScrollIntoView",!0)}}function Tn(t,e){1&t&&i._UZ(0,"span",4)}const An=new q.Al((()=>{class t{constructor(t,e,n,i,r,o,s,l){this.icons=t,this.context=e,this.host=n,this.el=i,this.option=r,this.dataList=o,this.control=s,this.abstractControl=l,this.changeDetection$=new a.xQ,this.selected$=(0,c.T)(this.changeDetection$,this.control.valueChanges||xe.E,(0,Ce.mL)(this.el.nativeElement,"animationstart")).pipe((0,d.O)(null),(0,h.U)(()=>this.selected),(0,v.x)())}get matcher(){return this.host.identityMatcher||y.bg}ngOnInit(){Promise.resolve().then(()=>{var t,e;(0,L.Pc)(this.option.value)&&!this.option.disabled&&(null===(e=(t=this.host).checkOption)||void 0===e||e.call(t,this.option.value))})}ngDoCheck(){this.changeDetection$.next()}get value(){var t,e;return null!==(e=null===(t=this.abstractControl)||void 0===t?void 0:t.value)&&void 0!==e?e:this.control.value}get selected(){return(0,L.Pc)(this.option.value)&&(0,L.Pc)(this.value)&&this.matcher(this.value,this.option.value)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(at.Gs),i.Y36(q.yf),i.Y36(at.N1),i.Y36(i.SBq),i.Y36(Lt.vK),i.Y36(Lt.qi,8),i.Y36(yn.a5),i.Y36(St.M$,8))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-select-option"]],decls:5,vars:5,consts:[[3,"ngTemplateOutlet"],["automation-id","tui-select-option__checkmark","class","t-checkmark",3,"src","tuiScrollIntoView",4,"ngIf","ngIfElse"],["dummy",""],["automation-id","tui-select-option__checkmark",1,"t-checkmark",3,"src","tuiScrollIntoView"],[1,"t-dummy"]],template:function(t,e){if(1&t&&(i.GkF(0,0),i.YNc(1,En,1,2,"tui-svg",1),i.ALo(2,"async"),i.YNc(3,Tn,1,0,"ng-template",null,2,i.W1O)),2&t){const t=i.MAs(4);i.Q6J("ngTemplateOutlet",e.context.$implicit),i.xp6(1),i.Q6J("ngIf",i.lcZ(2,3,e.selected$))("ngIfElse",t)}},directives:[w.tP,w.O5,Rt.PN,Sn],pipes:[w.Ov],styles:['@keyframes retrigger{0%{left:1px}to{left:2px}}[_nghost-%COMP%]{display:flex;flex:1;align-items:center;max-width:100%;animation:retrigger 1s}.t-checkmark[_ngcontent-%COMP%]{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-border-start:.25rem solid transparent;border-inline-start:.25rem solid transparent}tui-data-list[data-list-size="s"][_nghost-%COMP%] .t-checkmark[_ngcontent-%COMP%], tui-data-list[data-list-size="s"] [_nghost-%COMP%] .t-checkmark[_ngcontent-%COMP%]{-webkit-margin-end:-.375rem;margin-inline-end:-.375rem}tui-data-list[data-list-size="m"][_nghost-%COMP%] .t-checkmark[_ngcontent-%COMP%], tui-data-list[data-list-size="m"] [_nghost-%COMP%] .t-checkmark[_ngcontent-%COMP%]{-webkit-margin-end:-.125rem;margin-inline-end:-.125rem}.t-dummy[_ngcontent-%COMP%]{width:1.75rem}'],changeDetection:0}),t})());let In=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,Rt.EI,Pn]]}),t})();var Dn=n(93213);function Nn(t,e){1&t&&i.Hsn(0,2,["*ngIf","isMobile"])}function Ln(t,e){if(1&t&&i.YNc(0,Nn,1,0,"ng-content",6),2&t){const t=i.oxw();i.Q6J("ngIf",t.isMobile)}}function zn(t,e){1&t&&i.GkF(0,7)}function Fn(t,e){1&t&&i._UZ(0,"div",10),2&t&&i.Q6J("textContent",e.polymorpheusOutlet)}const Rn=function(t,e){return{$implicit:t,active:e}};function jn(t,e){if(1&t&&(i.TgZ(0,"div",8),i.YNc(1,Fn,1,1,"div",9),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",t.computedContent)("polymorpheusOutletContext",i.WLB(2,Rn,t.value,t.computedFocused))}}function Bn(t,e){1&t&&i.GkF(0)}function Vn(t,e){if(1&t&&(i.TgZ(0,"div",11),i.YNc(1,Bn,1,0,"ng-container",12),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",t.arrow)}}const $n=["*",[["input"]],[["select"]]],Yn=["*","input","select"],Zn=(0,L.JN)({valueContent:""});let qn=(()=>{class t extends St.F9{constructor(t,e,n,i,r,o,s,a){super(t,e),this.textfieldCleaner=n,this.textfieldSize=i,this.arrowMode=r,this.itemsHandlers=o,this.options=s,this.isMobile=a,this.stringify=this.itemsHandlers.stringify,this.identityMatcher=this.itemsHandlers.identityMatcher,this.valueContent=this.options.valueContent}get size(){return this.textfieldSize.size}get arrow(){return this.interactive?this.arrowMode.interactive:this.arrowMode.disabled}get nativeFocusableElement(){var t,e;return null!==(e=null===(t=this.textfield)||void 0===t?void 0:t.nativeFocusableElement)&&void 0!==e?e:null}get focused(){return(0,V.V8)(this.nativeFocusableElement)||!!this.hostedDropdown&&this.hostedDropdown.focused}get nativeDropdownMode(){return!!this.nativeSelect&&this.isMobile}get computedValue(){return null===this.value?"":this.stringify(this.value)||" "}get computedContent(){return this.valueContent||this.computedValue}onValueChange(t){this.value=t||null}onActiveZone(t){this.updateFocused(t)}onKeyDownDelete(){this.textfieldCleaner.cleaner&&(this.value=null)}handleOption(t){var e;this.focusInput(),this.value=t,null===(e=this.hostedDropdown)||void 0===e||e.updateOpen(!1)}focusInput(t=!1){this.nativeFocusableElement&&this.nativeFocusableElement.focus({preventScroll:t})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(yn.a5,10),i.Y36(i.sBO),i.Y36(Dt.Ym),i.Y36(Dt.kI),i.Y36(Mn),i.Y36(cn.Ys),i.Y36(Zn),i.Y36(N.fL))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-select"]],contentQueries:function(t,e,n){if(1&t&&(i.Suo(n,un,7),i.Suo(n,Lt.gX,5,i.Rgc)),2&t){let t;i.iGM(t=i.CRH())&&(e.nativeSelect=t.first),i.iGM(t=i.CRH())&&(e.datalist=t.first)}},viewQuery:function(t,e){if(1&t&&(i.Gf(Bt.yc,5),i.Gf(je.o1,5)),2&t){let t;i.iGM(t=i.CRH())&&(e.textfield=t.first),i.iGM(t=i.CRH())&&(e.hostedDropdown=t.first)}},hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("data-size",e.size)},inputs:{stringify:"stringify",identityMatcher:"identityMatcher",valueContent:"valueContent"},features:[i._Bn([(0,N.FT)(t),(0,St.wB)(t),(0,at.oE)(t),(0,at.P7)(An)],[Dn.yn]),i.qOj],ngContentSelectors:Yn,decls:10,vars:15,consts:[[1,"t-hosted",3,"canOpen","content","tuiActiveZoneChange"],["automation-id","tui-select__textfield",1,"t-textfield",3,"disabled","editable","focusable","invalid","nativeId","pseudoActive","pseudoFocus","pseudoHover","readOnly","tuiTextfieldIcon","value","keydown.backspace.prevent","keydown.delete.prevent","valueChange"],["select",""],["ngProjectAs","select",5,["select"],4,"ngTemplateOutlet"],["automation-id","tui-select__value","ngProjectAs","tuiContent","class","t-value",5,["tuiContent"],4,"ngIf"],["icon",""],[4,"ngIf"],["ngProjectAs","select",5,["select"]],["automation-id","tui-select__value","ngProjectAs","tuiContent",5,["tuiContent"],1,"t-value"],["class","t-primitive-value",3,"textContent",4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-primitive-value",3,"textContent"],["appearance","icon","tuiWrapper","",1,"t-icon"],[4,"polymorpheusOutlet"]],template:function(t,e){if(1&t&&(i.F$t($n),i.TgZ(0,"tui-hosted-dropdown",0),i.NdJ("tuiActiveZoneChange",function(t){return e.onActiveZone(t)}),i.TgZ(1,"tui-primitive-textfield",1),i.NdJ("keydown.backspace.prevent",function(){return e.onKeyDownDelete()})("keydown.delete.prevent",function(){return e.onKeyDownDelete()})("valueChange",function(t){return e.onValueChange(t)}),i.Hsn(2),i.Hsn(3,1,["ngProjectAs","input",5,["input"]]),i.YNc(4,Ln,1,1,"ng-template",null,2,i.W1O),i.YNc(6,zn,1,0,"ng-container",3),i.YNc(7,jn,2,5,"div",4),i.qZA(),i.YNc(8,Vn,2,1,"ng-template",null,5,i.W1O),i.qZA()),2&t){const t=i.MAs(5),n=i.MAs(9);i.Q6J("canOpen",e.interactive&&!e.nativeDropdownMode)("content",e.datalist||""),i.xp6(1),i.Q6J("disabled",e.computedDisabled)("editable",!1)("focusable",e.computedFocusable)("invalid",e.computedInvalid)("nativeId",e.nativeId)("pseudoActive",e.pseudoActive)("pseudoFocus",e.computedFocused)("pseudoHover",e.pseudoHover)("readOnly",e.readOnly)("tuiTextfieldIcon",e.arrow?n:"")("value",e.computedValue),i.xp6(5),i.Q6J("ngTemplateOutlet",t),i.xp6(1),i.Q6J("ngIf",null!==e.value)}},directives:[je.o1,gt.e,Bt.yc,Bt.B1,Dt.AW,w.tP,w.O5,q.Li,an.o],styles:["[_nghost-%COMP%]{display:block;border-radius:var(--tui-radius-m);text-align:left}[_nghost-%COMP%]:not(._readonly) input:not(:disabled){cursor:pointer}._readonly[_nghost-%COMP%] input{cursor:default}.t-hosted[_ngcontent-%COMP%]{display:block;border-radius:inherit}.t-textfield[_ngcontent-%COMP%]{border-radius:inherit;text-align:inherit}.t-value[_ngcontent-%COMP%]{display:flex;width:100%;align-items:center}.t-primitive-value[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}"],changeDetection:0}),t})(),Un=(()=>{class t extends ln.D1{get readOnly(){return!0}get value(){return this.host.computedValue}get stringify(){return this.host.stringify}onValueChange(t){this.host.onValueChange(t)}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,selectors:[["tui-select"]],features:[i._Bn([(0,at.cp)(t)]),i.qOj]}),t})(),Hn=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,q.wq,gt.A,Bt.KW,je.jh,In,On,an.W,Dt.cn,vn,Lt.pc,_n]]}),t})();var Gn=n(77320),Jn=n(44541),Xn=n(13633),Qn=n(75059),Wn=n(88491);const Kn=["*"];let ti=(()=>{class t{constructor(){this.name="tui-radio-group-"+t.index++}}return t.index=0,t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-radio-group"]],inputs:{name:"name"},ngContentSelectors:Kn,decls:1,vars:0,template:function(t,e){1&t&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),t})();const ei=["focusableElement"];function ni(t,e){if(1&t&&i._UZ(0,"div",4),2&t){const t=i.oxw();i.Q6J("@tuiScaleIn",t.animation)}}const ii=(0,L.JN)({size:"m",appearances:{unchecked:Gn.Nm.Outline,checked:Gn.Nm.Primary}});let ri=(()=>{class t extends St.F9{constructor(t,e,n,i,r){super(t,e),this.animation=n,this.options=i,this.radioGroup=r,this.identityMatcher=y.bg,this.name=null,this.size=this.options.size,this.pseudoDisabled=!1}get appearance(){return this.checked?this.options.appearances.checked:this.options.appearances.unchecked}get computedDisabled(){return this.disabled||this.pseudoDisabled}get nativeFocusableElement(){return!this.focusableElement||this.computedDisabled?null:this.focusableElement.nativeElement}get focused(){return(0,V.V8)(this.nativeFocusableElement)}get checked(){return null===this.value?null===this.item:null!=this.item&&this.identityMatcher(this.value,this.item)}get computedName(){return this.name||this.radioGroupName||this.controlName||""}get isFocusable(){return!this.readOnly&&this.computedFocusable}onChecked(t){t&&(this.value=void 0!==this.item?this.item:this.fallbackValue)}onFocused(t){this.updateFocused(t)}onFocusVisible(t){this.updateFocusVisible(t)}get radioGroupName(){return null===this.radioGroup?null:this.radioGroup.name}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(yn.a5,10),i.Y36(i.sBO),i.Y36(at.Pw),i.Y36(ii),i.Y36(ti,8))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-radio"]],viewQuery:function(t,e){if(1&t&&i.Gf(ei,5),2&t){let t;i.iGM(t=i.CRH())&&(e.focusableElement=t.first)}},hostVars:3,hostBindings:function(t,e){2&t&&(i.uIk("data-size",e.size),i.ekj("_disabled",e.computedDisabled))},inputs:{item:"item",identityMatcher:"identityMatcher",name:"name",size:"size",pseudoDisabled:"pseudoDisabled"},features:[i._Bn([(0,N.FT)(t),(0,St.wB)(t)]),i.qOj],decls:4,vars:12,consts:[["tuiWrapper","",3,"active","appearance","disabled","focus","hover","invalid"],["class","t-mark",4,"ngIf"],["type","radio",1,"t-native",3,"disabled","id","tuiChecked","tuiFocusable","tuiCheckedChange","tuiFocusedChange","tuiFocusVisibleChange"],["focusableElement",""],[1,"t-mark"]],template:function(t,e){1&t&&(i.TgZ(0,"div",0),i.YNc(1,ni,1,1,"div",1),i.TgZ(2,"input",2,3),i.NdJ("tuiCheckedChange",function(t){return e.onChecked(t)})("tuiFocusedChange",function(t){return e.onFocused(t)})("tuiFocusVisibleChange",function(t){return e.onFocusVisible(t)}),i.qZA(),i.qZA()),2&t&&(i.Q6J("active",e.pseudoActive)("appearance",e.appearance)("disabled",e.computedDisabled)("focus",e.computedFocusVisible)("hover",e.pseudoHover)("invalid",e.computedInvalid),i.xp6(1),i.Q6J("ngIf",e.checked),i.xp6(1),i.Q6J("disabled",e.computedDisabled)("id",e.id)("tuiChecked",e.checked)("tuiFocusable",e.isFocusable),i.uIk("name",e.computedName))},directives:[an.o,w.O5,Jn.t,Xn.t,Qn.U,Wn.q],styles:["[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:block;flex-shrink:0;border-radius:100%}[data-size=m][_nghost-%COMP%]{width:1rem;height:1rem}[data-size=l][_nghost-%COMP%]{width:1.5rem;height:1.5rem}._readonly[_nghost-%COMP%]{pointer-events:none}.t-mark[_ngcontent-%COMP%]{position:absolute;background-color:currentColor;border-radius:100%}[data-size=m][_nghost-%COMP%] .t-mark[_ngcontent-%COMP%]{margin:.25rem;width:.5rem;height:.5rem}[data-size=l][_nghost-%COMP%] .t-mark[_ngcontent-%COMP%]{margin:.4375rem;width:.625rem;height:.625rem}.t-native[_ngcontent-%COMP%]{padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.t-native[_ngcontent-%COMP%]:-webkit-autofill, .t-native[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-native[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}._disabled[_nghost-%COMP%] .t-native[_ngcontent-%COMP%]{cursor:default}"],data:{animation:[Ut.gI]},changeDetection:0}),t})(),oi=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,Jn.S,Xn.u,Qn.F,Wn.c,an.W]]}),t})();function si(t,e){1&t&&i.GkF(0)}const ai=["*"];let li=(()=>{class t extends St.F9{constructor(t,e,n){super(t,e),this.modeDirective=n,this.identityMatcher=y.bg,this.contentAlign="right",this.size="l",this.hideRadio=!1,this.pseudoDisabled=!1}get nativeFocusableElement(){var t,e;return null!==(e=null===(t=this.radio)||void 0===t?void 0:t.nativeFocusableElement)&&void 0!==e?e:null}get focused(){return!!this.radio&&this.radio.focused}get computedDisabled(){return this.disabled||this.pseudoDisabled}get checked(){var t;return!!(null===(t=this.radio)||void 0===t?void 0:t.checked)&&this.hideRadio}get checkboxSize(){return"l"===this.size?"l":"m"}get appearance(){var t;return(null===(t=this.modeDirective)||void 0===t?void 0:t.mode)?this.checked?Gn.Nm.Primary:Gn.Nm.Secondary:this.checked?Gn.Nm.WhiteblockActive:Gn.Nm.Whiteblock}onFocused(t){this.updateFocused(t)}onFocusVisible(t){this.updateFocusVisible(t)}onModelChange(t){this.value=t}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(yn.a5,10),i.Y36(i.sBO),i.Y36(At.w,8))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-radio-block"]],viewQuery:function(t,e){if(1&t&&i.Gf(ri,5),2&t){let t;i.iGM(t=i.CRH())&&(e.radio=t.first)}},hostVars:8,hostBindings:function(t,e){2&t&&(i.uIk("data-align",e.contentAlign)("data-size",e.size),i.ekj("_hidden_input",e.hideRadio)("_disabled",e.computedDisabled)("_active",e.checked))},inputs:{item:"item",identityMatcher:"identityMatcher",contentAlign:"contentAlign",size:"size",hideRadio:"hideRadio",pseudoDisabled:"pseudoDisabled"},features:[i._Bn([(0,N.FT)(t),(0,St.wB)(t)]),i.qOj],ngContentSelectors:ai,decls:7,vars:22,consts:[[4,"ngIf"],["tuiWrapper","",1,"t-wrapper",3,"active","appearance","disabled","focus","hover","invalid"],[1,"t-view",3,"focusable","identityMatcher","item","name","nativeId","pseudoActive","pseudoDisabled","pseudoFocus","pseudoHover","pseudoInvalid","readOnly","size","ngModel","ngModelChange","focusedChange","focusVisibleChange"],[1,"t-label"],[1,"t-content"]],template:function(t,e){1&t&&(i.F$t(),i.YNc(0,si,1,0,"ng-container",0),i.ALo(1,"async"),i.TgZ(2,"label",1),i.TgZ(3,"tui-radio",2),i.NdJ("ngModelChange",function(t){return e.value=t})("focusedChange",function(t){return e.onFocused(t)})("focusVisibleChange",function(t){return e.onFocusVisible(t)}),i.qZA(),i.TgZ(4,"div",3),i.TgZ(5,"div",4),i.Hsn(6),i.qZA(),i.qZA(),i.qZA()),2&t&&(i.Q6J("ngIf",e.modeDirective&&i.lcZ(1,20,e.modeDirective.change$)),i.xp6(2),i.Q6J("active",e.pseudoActive)("appearance",e.appearance)("disabled",e.computedDisabled)("focus",e.computedFocusVisible)("hover",e.pseudoHover)("invalid",e.computedInvalid),i.xp6(1),i.Q6J("focusable",e.focusable)("identityMatcher",e.identityMatcher)("item",e.item)("name",e.computedName||"")("nativeId",e.nativeId)("pseudoActive",e.pseudoActive)("pseudoDisabled",e.computedDisabled)("pseudoFocus",!1)("pseudoHover",e.pseudoHover)("pseudoInvalid",e.computedInvalid)("readOnly",e.readOnly)("size",e.checkboxSize)("ngModel",e.value))},directives:[w.O5,an.o,ri,yn.JJ,yn.On],pipes:[w.Ov],styles:["[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);display:inline-block;vertical-align:top;align-items:flex-start;border-radius:var(--tui-radius-m)}[data-size=xs][_nghost-%COMP%]{font:var(--tui-font-text-xs)}[data-size=m][_nghost-%COMP%], [data-size=l][_nghost-%COMP%]{font:var(--tui-font-text-m)}._disabled[_nghost-%COMP%], ._readonly[_nghost-%COMP%]{pointer-events:none}.t-wrapper[_ngcontent-%COMP%]{position:relative;display:flex;align-items:inherit;box-sizing:border-box;border-radius:inherit;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:0 1rem 0 0}[data-size=xs][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding-right:.5rem}[data-align=right][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{flex-direction:row-reverse;padding:0 0 0 1rem}[data-align=right][data-size=xs][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding-left:.5rem}[data-size=xs]._hidden_input[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 .5rem}[data-size=xs]._hidden_input[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:not(._focused):after{border-width:1px}[data-size=s]._hidden_input[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 1rem}[data-size=m]._hidden_input[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 1.5rem}[data-size=l]._hidden_input[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 2.25rem}[data-size=xs][_nghost-%COMP%] .t-view[_ngcontent-%COMP%]{margin:calc(var(--tui-height-xs) / 2 - .5rem) .25rem;transform:scale(.75)}[data-size=s][_nghost-%COMP%] .t-view[_ngcontent-%COMP%]{margin:calc(var(--tui-height-s) / 2 - .5rem) .5rem}[data-size=m][_nghost-%COMP%] .t-view[_ngcontent-%COMP%]{margin:calc(var(--tui-height-m) / 2 - .5rem) .75rem}[data-size=l][_nghost-%COMP%] .t-view[_ngcontent-%COMP%]{margin:calc(var(--tui-height-l) / 2 - .75rem) 1rem}._hidden_input[_nghost-%COMP%] .t-view[_ngcontent-%COMP%]{position:absolute;height:1px;width:1px;margin:-1px;border:0;padding:0;overflow:hidden;clip:rect(0,0,0,0);-webkit-clip-path:inset(0);clip-path:inset(0)}.t-label[_ngcontent-%COMP%]{display:flex;flex-grow:1;align-self:flex-start;align-items:center;overflow:hidden}[data-size=xs][_nghost-%COMP%] .t-label[_ngcontent-%COMP%]{min-height:var(--tui-height-xs)}[data-size=s][_nghost-%COMP%] .t-label[_ngcontent-%COMP%]{min-height:var(--tui-height-s)}[data-size=m][_nghost-%COMP%] .t-label[_ngcontent-%COMP%]{min-height:var(--tui-height-m)}[data-size=l][_nghost-%COMP%] .t-label[_ngcontent-%COMP%]{min-height:var(--tui-height-l)}._hidden_input[_nghost-%COMP%] .t-label[_ngcontent-%COMP%]{text-align:center;justify-content:center}.t-content[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}"],changeDetection:0}),t})(),ci=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,yn.u5,oi,an.W]]}),t})();var ui=n(12130);const hi=["*"];let di=(()=>{class t{constructor(t){this.mode$=t,this.size="m",this.status="default",this.hoverable=!1}get padding(){var t;return this.isEmpty?"none":(0,L.dt)(null===(t=this.value)||void 0===t?void 0:t.valueOf())?"m":"l"}get outputValue(){var t;const e=null===(t=this.value)||void 0===t?void 0:t.valueOf();return(0,L.dt)(e)&&e>99?"99+":(0,L.Pc)(this.value)?String(this.value):""}get isEmpty(){return!this.value&&0!==this.value}titleText({offsetWidth:t,scrollWidth:e}){return t{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez]]}),t})(),fi=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();const gi=["focusableElement"];function mi(t,e){if(1&t&&i._UZ(0,"tui-loader",7),2&t){const t=i.oxw();i.Q6J("inheritColor",!0)("showLoader",t.value)("size",t.loaderSize)}}function vi(t,e){1&t&&i._UZ(0,"tui-svg",10),2&t&&i.Q6J("src",e.polymorpheusOutlet)}const _i=function(t){return{$implicit:t}};function yi(t,e){if(1&t&&(i.TgZ(0,"span",8),i.YNc(1,vi,1,1,"tui-svg",9),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",t.iconOn)("polymorpheusOutletContext",i.VKq(2,_i,t.size))}}function bi(t,e){if(1&t&&i._UZ(0,"tui-loader",7),2&t){const t=i.oxw();i.Q6J("inheritColor",!0)("showLoader",!t.value)("size",t.loaderSize)}}function wi(t,e){1&t&&i._UZ(0,"tui-svg",12),2&t&&i.Q6J("src",e.polymorpheusOutlet)}function Ci(t,e){if(1&t&&(i.TgZ(0,"span",8),i.YNc(1,wi,1,1,"tui-svg",11),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",t.iconOff)("polymorpheusOutletContext",i.VKq(2,_i,t.size))}}const xi=(0,L.JN)({icons:{toggleOff:({$implicit:t})=>"m"===t?"tuiIconToggleOff":"tuiIconToggleOffLarge",toggleOn:({$implicit:t})=>"m"===t?"tuiIconToggleOn":"tuiIconToggleOnLarge"},appearances:{checked:Gn.Nm.Primary,unchecked:Gn.Nm.Secondary},singleColor:!1,showIcons:!1,size:"m"});let ki=(()=>{class t extends St.M${constructor(t,e,n,i){super(t,e),this.modeDirective=n,this.options=i,this.singleColor=this.options.singleColor,this.showIcons=this.options.showIcons,this.showLoader=!1,this.size=this.options.size}get iconOn(){return this.options.icons.toggleOn}get iconOff(){return this.options.icons.toggleOff}get nativeFocusableElement(){var t,e;return null!==(e=null===(t=this.focusableElement)||void 0===t?void 0:t.nativeElement)&&void 0!==e?e:null}get focused(){return(0,V.V8)(this.nativeFocusableElement)}get appearance(){return this.singleColor||this.value?this.options.appearances.checked:this.options.appearances.unchecked}get sizeM(){return"m"===this.size}get loaderSize(){return this.sizeM?"xs":"s"}get hostMode(){var t,e;return null!==(e=null===(t=this.modeDirective)||void 0===t?void 0:t.mode)&&void 0!==e?e:null}onChecked(t){this.value=t}onFocused(t){this.updateFocused(t)}onFocusVisible(t){this.updateFocusVisible(t)}getFallbackValue(){return!1}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(yn.a5,10),i.Y36(i.sBO),i.Y36(At.w,8),i.Y36(xi))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-toggle"]],viewQuery:function(t,e){if(1&t&&i.Gf(gi,5),2&t){let t;i.iGM(t=i.CRH())&&(e.focusableElement=t.first)}},hostVars:4,hostBindings:function(t,e){2&t&&(i.uIk("data-size",e.size)("data-mode",e.hostMode),i.ekj("_checked",e.value))},inputs:{singleColor:"singleColor",showIcons:"showIcons",showLoader:"showLoader",size:"size"},features:[i._Bn([(0,N.FT)(t),(0,St.wB)(t)]),i.qOj],decls:9,vars:16,consts:[["tuiWrapper","",3,"active","appearance","disabled","focus","hover","invalid","readOnly"],[1,"t-toggle"],["class","t-loader",3,"inheritColor","showLoader","size",4,"ngIf"],["class","t-icon-wrapper",4,"ngIf"],[1,"t-circle"],["automation-id","tui-toggle__checkbox","role","switch","type","checkbox",1,"t-checkbox",3,"disabled","id","tuiFocusable","tuiChecked","tuiCheckedChange","tuiFocusedChange","tuiFocusVisibleChange"],["focusableElement",""],[1,"t-loader",3,"inheritColor","showLoader","size"],[1,"t-icon-wrapper"],["automation-id","tui-toggle__check-icon","class","t-icon",3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-toggle__check-icon",1,"t-icon",3,"src"],["automation-id","tui-toggle__cancel-icon","class","t-icon t-icon_off",3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-toggle__cancel-icon",1,"t-icon","t-icon_off",3,"src"]],template:function(t,e){1&t&&(i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.YNc(2,mi,1,3,"tui-loader",2),i.YNc(3,yi,2,4,"span",3),i._UZ(4,"div",4),i.YNc(5,bi,1,3,"tui-loader",2),i.YNc(6,Ci,2,4,"span",3),i.qZA(),i.TgZ(7,"input",5,6),i.NdJ("tuiCheckedChange",function(t){return e.value=t})("tuiFocusedChange",function(t){return e.onFocused(t)})("tuiFocusVisibleChange",function(t){return e.onFocusVisible(t)}),i.qZA(),i.qZA()),2&t&&(i.Q6J("active",e.pseudoActive)("appearance",e.appearance)("disabled",e.computedDisabled)("focus",e.computedFocusVisible)("hover",e.pseudoHover)("invalid",e.computedInvalid)("readOnly",e.readOnly),i.xp6(2),i.Q6J("ngIf",e.showLoader),i.xp6(1),i.Q6J("ngIf",e.showIcons&&!e.showLoader),i.xp6(2),i.Q6J("ngIf",e.showLoader),i.xp6(1),i.Q6J("ngIf",e.showIcons&&!e.showLoader),i.xp6(1),i.Q6J("disabled",e.disabled)("id",e.id)("tuiFocusable",e.focusable)("tuiChecked",e.value),i.uIk("aria-checked",e.value))},directives:[an.o,w.O5,Jn.t,Xn.t,Qn.U,Wn.q,b.kM,q.Li,Rt.PN],styles:["[_nghost-%COMP%]{position:relative;display:inline-block;vertical-align:middle;overflow:hidden;border-radius:6.25rem}[data-size=m][_nghost-%COMP%]{width:2rem;height:1rem}[data-size=l][_nghost-%COMP%]{width:3rem;height:1.5rem}.t-checkbox[_ngcontent-%COMP%]{padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;height:100%;width:100%;opacity:0;cursor:pointer}.t-checkbox[_ngcontent-%COMP%]:-webkit-autofill, .t-checkbox[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-checkbox[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}._disabled[_nghost-%COMP%] .t-checkbox[_ngcontent-%COMP%]{pointer-events:none;cursor:default}.t-toggle[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:flex;align-items:center;justify-content:center}[data-size=m][_nghost-%COMP%] .t-toggle[_ngcontent-%COMP%]{width:3rem;height:1rem;transform:translate(-1rem)}[data-size=l][_nghost-%COMP%] .t-toggle[_ngcontent-%COMP%]{width:4.5rem;height:1.5rem;transform:translate(-1.5rem)}._checked[_nghost-%COMP%] .t-toggle[_ngcontent-%COMP%]{transform:translate(0)}.t-circle[_ngcontent-%COMP%]{margin:.125rem 0;flex-shrink:0;border-radius:100%;background-color:var(--tui-base-01)}._disabled[_nghost-%COMP%] .t-circle_light[_ngcontent-%COMP%]{opacity:.24}[data-size=m][_nghost-%COMP%] .t-circle[_ngcontent-%COMP%]{width:.75rem;height:.75rem}[data-size=l][_nghost-%COMP%] .t-circle[_ngcontent-%COMP%]{width:1rem;height:1rem}._disabled[_nghost-%COMP%] .t-circle[_ngcontent-%COMP%]{background-color:var(--tui-base-01)}.t-loader[_ngcontent-%COMP%]{min-width:auto}[_nghost-%COMP%]:not(._checked) .t-loader[_ngcontent-%COMP%]{color:var(--tui-base-06)}[_nghost-%COMP%]:not(._checked)._disabled .t-loader[_ngcontent-%COMP%]{color:var(--tui-base-05)}[_nghost-%COMP%]:not(._checked)[data-mode=onDark] .t-loader[_ngcontent-%COMP%]{color:var(--tui-text-03-night)}[_nghost-%COMP%]:not(._checked)[data-mode=onDark]._disabled .t-loader[_ngcontent-%COMP%]{color:var(--tui-clear-inverse-active)}[_nghost-%COMP%]:not(._checked)[data-mode=onLight] .t-loader[_ngcontent-%COMP%]{color:var(--tui-text-03)}[_nghost-%COMP%]:not(._checked)[data-mode=onLight]._disabled .t-loader[_ngcontent-%COMP%]{color:var(--tui-clear-active)}[data-size=m][_nghost-%COMP%] .t-loader[_ngcontent-%COMP%]{width:.75rem;margin:0 .2rem;transform:scale(.75)}[data-size=l][_nghost-%COMP%] .t-loader[_ngcontent-%COMP%]{width:1rem;margin:0 .25rem}.t-icon-wrapper[_ngcontent-%COMP%]{display:flex}.t-icon[_ngcontent-%COMP%]{opacity:.8}.t-icon_off[_ngcontent-%COMP%]{color:var(--tui-base-06)}._disabled[_nghost-%COMP%] .t-icon_off[_ngcontent-%COMP%]{color:var(--tui-base-05)}[data-mode=onDark][_nghost-%COMP%] .t-icon_off[_ngcontent-%COMP%]{color:var(--tui-text-03-night)}[data-mode=onDark]._disabled[_nghost-%COMP%] .t-icon_off[_ngcontent-%COMP%]{color:var(--tui-clear-inverse-active)}[data-mode=onLight][_nghost-%COMP%] .t-icon_off[_ngcontent-%COMP%]{color:var(--tui-text-03)}[data-mode=onLight]._disabled[_nghost-%COMP%] .t-icon_off[_ngcontent-%COMP%]{color:var(--tui-clear-active)}[data-size=m][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1rem;height:1rem;transform:scale(.75)}[data-size=l][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{margin:0 .125rem;width:1.5rem;height:1.5rem}[_nghost-%COMP%]:hover .t-icon[_ngcontent-%COMP%]{opacity:1}"],changeDetection:0}),t})(),Oi=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,Qn.F,Xn.u,fi,Wn.c,Jn.S,an.W,Rt.EI,b.dS,q.wq]]}),t})();var Mi=n(55046);let Si=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiValueAccessor",""]],features:[i._Bn([Dn.E2])]}),t})(),Pi=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();var Ei=n(52494);function Ti(t,e){if(1&t&&(i.ynx(0),i._uU(1),i.BQk()),2&t){const t=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",t," ")}}function Ai(t,e){if(1&t&&(i.TgZ(0,"div",6),i.YNc(1,Ti,2,1,"ng-container",7),i.qZA()),2&t){i.oxw();const t=i.MAs(9);i.xp6(1),i.Q6J("polymorpheusOutlet",t)}}function Ii(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"section",8),i.TgZ(1,"button",9),i.NdJ("click.prevent",function(){i.CHM(t);const e=i.oxw();return e.onArrow(e.step)})("mousedown.prevent",function(){i.CHM(t);const e=i.oxw();return null==e.nativeFocusableElement?null:e.nativeFocusableElement.focus()}),i._uU(2," + "),i.qZA(),i.TgZ(3,"button",9),i.NdJ("click.prevent",function(){i.CHM(t);const e=i.oxw();return e.onArrow(-e.step)})("mousedown.prevent",function(){i.CHM(t);const e=i.oxw();return null==e.nativeFocusableElement?null:e.nativeFocusableElement.focus()}),i._uU(4," - "),i.qZA(),i.qZA()}if(2&t){const t=i.oxw(),e=i.MAs(1);i.xp6(1),i.Q6J("appearance",e.appearance)("disabled",!t.canIncrement)("focusable",!1)("icon",t.options.icons.up),i.xp6(2),i.Q6J("appearance",e.appearance)("disabled",!t.canDecrement)("focusable",!1)("icon",t.options.icons.down)}}function Di(t,e){1&t&&i.GkF(0)}function Ni(t,e){1&t&&i.Hsn(0,2)}const Li=["*",[["input"]],[["tuiContent"]]],zi=["*","input","tuiContent"],Fi=(0,L.JN)({icons:{up:"tuiIconPlus",down:"tuiIconMinus"},min:Number.MIN_SAFE_INTEGER,max:Number.MAX_SAFE_INTEGER,step:0,decimal:"not-zero",precision:2}),Ri=new i.OlP("");let ji=(()=>{class t extends St.F9{constructor(t,e,n,i,r,o,s,a){super(t,e,n),this.options=i,this.numberFormat=r,this.isIOS=o,this.textfieldSize=s,this.controller=a,this.unfinishedValue="",this.min=this.options.min,this.max=this.options.max,this.decimal=this.options.decimal,this.precision=this.options.precision,this.step=this.options.step,this.prefix="",this.postfix="",this.polymorpheusValueContent=y.Mm}get size(){return this.textfieldSize.size}get computedMin(){return this.computeMin(this.min,this.max)}get computedMax(){return this.computeMax(this.min,this.max)}get nativeFocusableElement(){return!this.textfield||this.computedDisabled?null:this.textfield.nativeFocusableElement}get focused(){var t;return!!(null===(t=this.textfield)||void 0===t?void 0:t.focused)}get isNegativeAllowed(){return this.computedMin<0}get inputMode(){return this.isIOS&&this.isNegativeAllowed?"text":"never"===this.decimal?"numeric":"decimal"}get calculatedMaxLength(){return 18+("never"!==this.decimal&&this.nativeValue.includes(this.numberFormat.decimalSeparator)?Math.min(this.precision+1,20):0)+this.numberFormat.thousandSeparator.repeat(5).length}get formattedValue(){return null!==this.value?this.getFormattedValue(this.value||0):""}get computedValue(){return this.focused?this.nativeValue:this.formattedValue}get canDecrement(){return this.interactive&&(this.value||0)>this.computedMin}get canIncrement(){return this.interactive&&(this.value||0)this.computedMax||(this.value=e)}onFocused(t){this.updateFocused(t);const e=this.unfinishedValue?(0,Mi.vZ)(this.unfinishedValue,this.numberFormat.decimalSeparator):this.nativeNumberValue;if(this.unfinishedValue=null,Number.isNaN(e))return this.nativeValue=t?this.computedPrefix+this.computedPostfix:"",void(this.value=null);t||(this.value=e,this.nativeValue=this.formattedValue)}getFormattedValue(t){const e=Math.abs(t)%1>0;let n="always"===this.decimal||e&&"never"!==this.decimal?this.precision:0;const i=e?qt(t,this.precision):"";return this.focused&&"always"!==this.decimal&&(n=i.length),this.computedPrefix+function(t,e={}){const{decimalLimit:n,decimalSeparator:i,thousandSeparator:r,zeroPadding:o,rounding:s}=Object.assign(Object.assign({},Zt.Jl),e),a=Number.isFinite(n)?(0,Yt.h0)({value:t,precision:n,method:s}):t,l=String(Math.floor(Math.abs(a)));let c=qt(a,n);if(Number.isFinite(n))if(o){const t=Math.max(n-c.length,0);c=`${c}${"0".repeat(t)}`}else c=c.replace(/0*$/,"");const u=l.length%3;let h=(t<0?y.fv:"")+l.charAt(0);for(let d=1;d3&&(h+=r),h+=l.charAt(d);return c?h+i+c:h}(t,Object.assign(Object.assign({},this.numberFormat),{decimalLimit:n})).replace(y.fv,y.em)+this.computedPostfix}get isNativeValueNotFinished(){const t=this.nativeNumberValue;return t<0?t>this.computedMax:t[s.length,t.length-a.length])]})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(yn.a5,10),i.Y36(i.sBO),i.Y36(Ri,8),i.Y36(Fi),i.Y36(at.HO),i.Y36(N.FA),i.Y36(Dt.kI),i.Y36(Dt.Cs))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-input-number"]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,q.Li,5),2&t){let t;i.iGM(t=i.CRH())&&(e.polymorpheusValueContent=t)}},viewQuery:function(t,e){if(1&t&&i.Gf(Bt.yc,5),2&t){let t;i.iGM(t=i.CRH())&&(e.textfield=t.first)}},hostVars:1,hostBindings:function(t,e){1&t&&i.NdJ("keydown.arrowDown",function(){return e.onArrow(-e.step)})("keydown.arrowUp",function(){return e.onArrow(e.step)}),2&t&&i.uIk("data-size",e.size)},inputs:{min:"min",max:"max",decimal:"decimal",precision:"precision",step:"step",prefix:"prefix",postfix:"postfix"},features:[i._Bn([(0,N.FT)(t),(0,St.wB)(t),Dt.Y0]),i.qOj],ngContentSelectors:zi,decls:10,vars:14,consts:[["tuiTextfieldPostfix","","tuiTextfieldPrefix","","tuiValueAccessor","",1,"t-textfield",3,"disabled","focusable","invalid","maskito","pseudoActive","pseudoFocus","pseudoHover","readOnly","value","focusedChange","valueChange"],["textfield",""],["ngProjectAs","tuiContent","class","t-value-content",5,["tuiContent"],4,"ngIf"],["class","t-buttons",4,"ngIf"],[4,"ngIf"],["valueContent",""],["ngProjectAs","tuiContent",5,["tuiContent"],1,"t-value-content"],[4,"polymorpheusOutlet"],[1,"t-buttons"],["size","s","tuiIconButton","","type","button",1,"t-button",3,"appearance","disabled","focusable","icon","click.prevent","mousedown.prevent"]],template:function(t,e){1&t&&(i.F$t(Li),i.TgZ(0,"tui-primitive-textfield",0,1),i.NdJ("focusedChange",function(t){return e.onFocused(t)})("valueChange",function(t){return e.onValueChange(t)}),i.Hsn(2),i.Hsn(3,1,["ngProjectAs","input",5,["input"]]),i.YNc(4,Ai,2,1,"div",2),i.qZA(),i.YNc(5,Ii,5,8,"section",3),i.YNc(6,Di,1,0,"ng-container",4),i.ALo(7,"async"),i.YNc(8,Ni,1,0,"ng-template",null,5,i.W1O)),2&t&&(i.Q6J("disabled",e.computedDisabled)("focusable",e.focusable)("invalid",e.computedInvalid)("maskito",e.mask)("pseudoActive",e.pseudoActive)("pseudoFocus",e.computedFocused)("pseudoHover",e.pseudoHover)("readOnly",e.readOnly)("value",e.computedValue),i.xp6(4),i.Q6J("ngIf",e.polymorpheusValueContent.length),i.xp6(1),i.Q6J("ngIf",e.step),i.xp6(1),i.Q6J("ngIf",i.lcZ(7,12,e.polymorpheusValueContent.changes)))},directives:[Bt.yc,Bt.B1,Dt.Tq,Dt.A7,Si,Ei.ro,w.O5,q.Li,Tt.v0],pipes:[w.Ov],styles:["[_nghost-%COMP%]{display:flex;border-radius:var(--tui-radius-m);text-align:left}.t-textfield[_ngcontent-%COMP%]{flex:1;max-width:100%;border-radius:inherit;text-align:inherit}.t-textfield[_ngcontent-%COMP%]:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.t-value-content[_ngcontent-%COMP%]{width:100%}.t-buttons[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:stretch;margin-left:.125rem;border-radius:inherit}[data-size=s][_ngcontent-%COMP%] + .t-buttons[_ngcontent-%COMP%]{flex-direction:row-reverse}[data-size=s][_ngcontent-%COMP%] + .t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]:first-child{margin:0 0 0 .125rem;border-top-right-radius:inherit;border-bottom-right-radius:inherit}[data-size=s][_ngcontent-%COMP%] + .t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]:last-child{border-radius:0}[data-size=m][_ngcontent-%COMP%] + .t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]{width:calc(var(--tui-height-m) * .75)}[data-size=l][_ngcontent-%COMP%] + .t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]{width:calc(var(--tui-height-l) * .75)}.t-button[_ngcontent-%COMP%]{display:flex;flex:1;height:auto;border-radius:0}.t-button[_ngcontent-%COMP%]:first-child{margin-bottom:.125rem;border-top-right-radius:inherit}.t-button[_ngcontent-%COMP%]:last-child{border-bottom-right-radius:inherit}"],changeDetection:0}),(0,Ue.gn)([sn.UM],t.prototype,"computeMin",null),(0,Ue.gn)([sn.UM],t.prototype,"computeMax",null),(0,Ue.gn)([sn.UM],t.prototype,"calculateMask",null),t})(),Bi=(()=>{class t extends ln.D1{get value(){return this.host.computedValue}onValueChange(t){this.host.onValueChange(t)}ngDoCheck(){!this.host.nativeFocusableElement||(this.host.nativeFocusableElement.inputMode=this.host.inputMode,this.host.nativeFocusableElement.maxLength=this.host.nativeFocusableElement.maxLength>0?this.host.nativeFocusableElement.maxLength:this.host.calculatedMaxLength)}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,selectors:[["tui-input-number"]],features:[i._Bn([(0,at.cp)(t)]),i.qOj]}),t})(),Vi=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,Ei.U5,Bt.KW,Dt.cn,Pi,q.wq,Tt.fN]]}),t})();var $i=n(86561);const Yi=new i.OlP("MutationObserver config");let Zi=(()=>{class t extends ke.y{constructor({nativeElement:t},e){super(n=>{const i=new MutationObserver(t=>{n.next(t)});return i.observe(t,e),()=>{i.disconnect()}})}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.SBq),i.LFG(Yi))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();var qi=n(54487),Ui=n(74235),Hi=n(68307);const Gi=["tuiTab",""];function Ji(t,e){1&t&&i.GkF(0)}const Xi=["*"];function Qi(t,e){1&t&&i.GkF(0)}function Wi(t,e){if(1&t&&i._UZ(0,"tui-underline",2),2&t){const t=i.oxw();i.Q6J("element",t.activeElement)}}function Ki(t,e){1&t&&i.GkF(0)}function tr(t,e){if(1&t&&i.GkF(0,12),2&t){const t=i.oxw().$implicit;i.Q6J("ngTemplateOutlet",t)}}function er(t,e){if(1&t&&(i.TgZ(0,"div"),i.GkF(1,12),i.qZA()),2&t){const t=i.oxw(),e=t.index,n=t.$implicit,r=i.oxw();i.ekj("t-overflown",r.isOverflown(e)),i.xp6(1),i.Q6J("ngTemplateOutlet",n)}}function nr(t,e){if(1&t&&(i.ynx(0),i.YNc(1,tr,1,1,"ng-container",10),i.YNc(2,er,2,3,"ng-template",null,11,i.W1O),i.BQk()),2&t){const t=e.index,n=i.MAs(3),r=i.oxw();i.xp6(1),i.Q6J("ngIf",t<=r.lastVisibleIndex)("ngIfElse",n)}}function ir(t,e){if(1&t&&(i.ynx(0),i._uU(1),i.BQk()),2&t){const t=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",t," ")}}function rr(t,e){if(1&t&&(i._uU(0),i.ALo(1,"async"),i._UZ(2,"tui-svg",13)),2&t){const t=i.oxw();i.hij(" ",i.lcZ(1,4,t.moreWord$)," "),i.xp6(2),i.ekj("t-icon_rotated",t.open),i.Q6J("src",t.arrowOptions.iconSmall)}}function or(t,e){if(1&t&&i.GkF(0,12),2&t){const t=i.oxw().$implicit;i.Q6J("ngTemplateOutlet",t)}}function sr(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"div",17),i.NdJ("tui-tab-activate",function(){const e=i.CHM(t).index;return i.oxw(2).onClick(e)}),i.YNc(1,or,1,1,"ng-container",18),i.qZA()}if(2&t){const t=e.index,n=i.oxw(2);i.xp6(1),i.Q6J("ngIf",n.shouldShow(t))}}function ar(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"div",14,15),i.NdJ("keydown.arrowDown.prevent",function(e){i.CHM(t);const n=i.MAs(1);return i.oxw().onWrapperArrow(e,n,!1)})("keydown.arrowUp.prevent",function(e){i.CHM(t);const n=i.MAs(1);return i.oxw().onWrapperArrow(e,n,!0)}),i.YNc(2,sr,2,1,"div",16),i.qZA()}if(2&t){const t=i.oxw();i.xp6(2),i.Q6J("ngForOf",t.items)}}function lr(t,e){if(1&t&&i._UZ(0,"tui-underline",19),2&t){const t=i.oxw();i.Q6J("element",t.activeElement)}}const cr=new i.OlP("[TUI_TAB_EVENT]"),ur=[D.a3,D.ku,st.Ok,{provide:cr,deps:[i.SBq,st.Ok,[new i.FiY,Zi],[new i.FiY,$i.Od]],useFactory:({nativeElement:t},e,n,i)=>{const r=i&&n?n.pipe((0,f.h)(()=>i.isActive)):xe.E;return(0,c.T)(r,e.pipe((0,f.h)(qi.y)),t.matches("button")?(0,Ce.mL)(t,"click"):xe.E).pipe((0,h.U)(()=>t.dispatchEvent(new CustomEvent("tui-tab-activate",{bubbles:!0}))))}},ui.CV];let hr=(()=>{class t{constructor(t,e,n,i,r,o){this.routerLinkActive=t,this.el=e,this.mode$=n,this.event$=i,this.margin=r,this.focusVisible=!1,o.subscribe(t=>{this.focusVisible=t})}get isActive(){return!!this.routerLinkActive&&this.routerLinkActive.isActive}ngOnDestroy(){(0,V.V8)(this.el.nativeElement)&&this.el.nativeElement.blur()}}return t.\u0275fac=function(e){return new(e||t)(i.Y36($i.Od,8),i.Y36(i.SBq),i.Y36(at.Au),i.Y36(cr),i.Y36(cn.WO),i.Y36(D.ku))},t.\u0275cmp=i.Xpm({type:t,selectors:[["a","tuiTab","",3,"routerLink",""],["a","tuiTab","","routerLink","","routerLinkActive",""],["button","tuiTab",""]],hostAttrs:["type","button"],hostVars:8,hostBindings:function(t,e){1&t&&i.NdJ("$.data-mode.attr",function(){return e.mode$}),2&t&&(i.Udp("cursor","pointer")("--tui-tab-margin",e.margin,"px"),i.ekj("_focus-visible",e.focusVisible)("_active",e.isActive))},features:[i._Bn(ur)],attrs:Gi,ngContentSelectors:Xi,decls:4,vars:3,consts:[[4,"ngIf"],[1,"t-highlight"]],template:function(t,e){1&t&&(i.F$t(),i.YNc(0,Ji,1,0,"ng-container",0),i.ALo(1,"async"),i.TgZ(2,"span",1),i.Hsn(3),i.qZA()),2&t&&i.Q6J("ngIf",i.lcZ(1,1,e.event$))},directives:[w.O5],pipes:[w.Ov],styles:['._underline[_nghost-%COMP%]:hover, ._underline [_nghost-%COMP%]:hover{box-shadow:inset 0 -2px var(--tui-base-03)}tui-tabs > [_nghost-%COMP%]:first-child, tui-tabs > [_nghost-%COMP%]:first-child, [tuiTabs] > [_nghost-%COMP%]:first-child, [tuiTabs] > [_nghost-%COMP%]:first-child, tui-tabs > :first-child[_nghost-%COMP%], tui-tabs > :first-child [_nghost-%COMP%], [tuiTabs] > :first-child[_nghost-%COMP%], [tuiTabs] > :first-child [_nghost-%COMP%]{margin-left:0}[_nghost-%COMP%]{transition-property:color,box-shadow,opacity,background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;position:relative;display:flex;flex-shrink:0;height:100%;box-sizing:border-box;justify-content:space-between;align-items:center;white-space:nowrap;cursor:pointer;outline:none;color:inherit;margin-left:var(--tui-tab-margin, 1.5rem)}[_nghost-%COMP%]:disabled{opacity:var(--tui-disabled-opacity);pointer-events:none}[_nghost-%COMP%]:not([data-mode])._active{opacity:1;color:var(--tui-text-01);box-shadow:none}[data-mode=onDark][_nghost-%COMP%]{color:#ffffffb8}[data-mode=onDark][_nghost-%COMP%]:hover, [data-mode=onDark]._active[_nghost-%COMP%]{color:#fff}[data-mode=onDark]._focus-visible[_nghost-%COMP%] .t-highlight[_ngcontent-%COMP%]{background:var(--tui-clear-inverse);color:var(--tui-text-01)}[data-mode=onLight][_nghost-%COMP%]{color:var(--tui-text-02)}[data-mode=onLight][_nghost-%COMP%]:hover, [data-mode=onLight]._active[_nghost-%COMP%]{color:var(--tui-text-01)}[data-mode=onLight]._focus-visible[_nghost-%COMP%] .t-highlight[_ngcontent-%COMP%]{background:var(--tui-text-01);color:#fff}._focus-visible[_nghost-%COMP%] .t-highlight[_ngcontent-%COMP%]{background:var(--tui-selection)}._android[_nghost-%COMP%]{transition-property:opacity;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;height:3rem;flex:1;flex-shrink:0;justify-content:center;margin:0;text-transform:uppercase;color:var(--tui-base-09);opacity:.5;font-size:.875rem;font-weight:500;letter-spacing:-.008125rem;font-family:-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif}._android[_nghost-%COMP%]:hover{box-shadow:none}._android._active[_nghost-%COMP%]{opacity:1;color:var(--tui-base-09)}._android[_nghost-%COMP%] .t-highlight[_ngcontent-%COMP%]{width:auto}._ios[_nghost-%COMP%]{height:1.75rem;flex:1;flex-shrink:0;justify-content:center;margin:0;color:var(--tui-base-01);opacity:1;font-size:.8125rem;font-weight:500;letter-spacing:-.005rem;font-family:-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif}._ios[_nghost-%COMP%]:hover{box-shadow:none}._ios._active[_nghost-%COMP%]{font-size:.875rem;font-weight:600;color:var(--tui-link)}._ios[_nghost-%COMP%] .t-highlight[_ngcontent-%COMP%]{width:auto}@media (hover: hover){[_nghost-%COMP%]:hover{color:var(--tui-text-01)}}.t-highlight[_ngcontent-%COMP%]{display:inline-flex;width:100%;align-items:center;justify-content:inherit}.t-highlight[_ngcontent-%COMP%] >*{flex-shrink:0}tui-tabs[data-vertical][_nghost-%COMP%], tui-tabs[data-vertical] [_nghost-%COMP%], [tuiTabs][data-vertical][_nghost-%COMP%], [tuiTabs][data-vertical] [_nghost-%COMP%]{min-height:2.75rem;height:auto;white-space:normal;margin:0;text-align:left;padding:.25rem 1.25rem .25rem 0}tui-tabs[data-vertical][_nghost-%COMP%]:after, tui-tabs[data-vertical] [_nghost-%COMP%]:after, [tuiTabs][data-vertical][_nghost-%COMP%]:after, [tuiTabs][data-vertical] [_nghost-%COMP%]:after{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:"";position:absolute;top:0;bottom:0;right:0;width:2px;background:var(--tui-primary);transform:scaleX(0);transform-origin:right}tui-tabs[data-vertical][_nghost-%COMP%]:hover, tui-tabs[data-vertical] [_nghost-%COMP%]:hover, [tuiTabs][data-vertical][_nghost-%COMP%]:hover, [tuiTabs][data-vertical] [_nghost-%COMP%]:hover{box-shadow:inset -2px 0 var(--tui-base-03)}tui-tabs[data-vertical]._active[_nghost-%COMP%]:after, tui-tabs[data-vertical] ._active[_nghost-%COMP%]:after, [tuiTabs][data-vertical]._active[_nghost-%COMP%]:after, [tuiTabs][data-vertical] ._active[_nghost-%COMP%]:after{transform:none}tui-tabs[data-vertical="right"][_nghost-%COMP%], tui-tabs[data-vertical="right"] [_nghost-%COMP%], [tuiTabs][data-vertical="right"][_nghost-%COMP%], [tuiTabs][data-vertical="right"] [_nghost-%COMP%]{text-align:right;padding:.25rem 0 .25rem 1.25rem}tui-tabs[data-vertical="right"][_nghost-%COMP%]:after, tui-tabs[data-vertical="right"] [_nghost-%COMP%]:after, [tuiTabs][data-vertical="right"][_nghost-%COMP%]:after, [tuiTabs][data-vertical="right"] [_nghost-%COMP%]:after{right:auto;left:0;transform-origin:left}tui-tabs[data-vertical="right"][_nghost-%COMP%]:hover, tui-tabs[data-vertical="right"] [_nghost-%COMP%]:hover, [tuiTabs][data-vertical="right"][_nghost-%COMP%]:hover, [tuiTabs][data-vertical="right"] [_nghost-%COMP%]:hover{box-shadow:inset 2px 0 var(--tui-base-03)}'],changeDetection:0}),t})(),dr=(()=>{class t{constructor(t){this.el=t,this.activeItemIndex=0,this.activeItemIndexChange=new i.vpe}get tabs(){return Array.from(this.el.nativeElement.querySelectorAll("[tuiTab]"))}get activeElement(){return this.tabs[this.activeItemIndex]||null}onActivate(t,e){const n=this.tabs.findIndex(t=>t===e);t.stopPropagation(),n!==this.activeItemIndex&&(this.activeItemIndexChange.emit(n),this.activeItemIndex=n)}moveFocus(t,e){const{tabs:n}=this;(0,V.VR)(n.indexOf(t),n,e)}ngAfterViewChecked(){const{tabs:t,activeElement:e}=this;t.forEach(t=>{const n=t===e;t.classList.toggle("_active",n),t.setAttribute("tabIndex",n?"0":"-1")})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq))},t.\u0275dir=i.lG2({type:t,selectors:[["tui-tabs"],["nav","tuiTabs",""]],hostBindings:function(t,e){1&t&&i.NdJ("tui-tab-activate",function(t){return e.onActivate(t,t.target)})},inputs:{activeItemIndex:"activeItemIndex"},outputs:{activeItemIndexChange:"activeItemIndexChange"}}),t})();const pr=(0,L.JN)({underline:!0,exposeActive:!0,itemsLimit:1/0,minMoreWidth:0});let fr=(()=>{class t{constructor({nativeElement:t},e,n,i){this.zone=e,this.animationFrame$=n,this.mode$=i,this.el$=new Ui.t(1),this.refresh$=this.el$.pipe((0,u.w)(t=>t?this.animationFrame$.pipe((0,h.U)(()=>t),(0,Ce.fL)(this.zone)):(0,z.of)(null)),(0,_.B)()),this.transition$=(0,wt.Gt)(this.el$.pipe((0,h.U)(t=>t&&"all"),(0,lt.b)(50))),this.transform$=(0,wt.Gt)(this.refresh$.pipe((0,h.U)(t=>t?`translate3d(${t.offsetLeft}px, 0, 0)`:null))),this.width$=(0,wt.Gt)(this.refresh$.pipe((0,h.U)(t=>(null==t?void 0:t.clientWidth)||0))),t["$.style.transitionProperty"]=this.transition$,t["$.style.transform"]=this.transform$,t["$.style.width.px"]=this.width$}set element(t){this.el$.next(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(I.L1),i.Y36(at.Au))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-underline"]],hostBindings:function(t,e){1&t&&i.NdJ("$.data-mode.attr",function(){return e.mode$})("$.style.transitionProperty",function(){return e.transition$()})("$.style.transform",function(){return e.transform$()})("$.style.width.px",function(){return e.width$()})},inputs:{element:"element"},features:[i._Bn([ui.CV])],decls:0,vars:0,template:function(t,e){},styles:["[_nghost-%COMP%]{transition-property:none;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;left:0;height:100%;color:var(--tui-primary);transform:scale(0);box-shadow:inset 0 -.1875rem 0 -.0625rem;pointer-events:none}[data-mode=onDark][_nghost-%COMP%]{color:var(--tui-text-01-night)}[data-mode=onLight][_nghost-%COMP%]{color:var(--tui-text-02)}"],changeDetection:0}),t})(),gr=(()=>{class t{constructor(t,e,n,i,r){this.options=t,this.el=e,this.tabs=n,this.children=y.Mm,this.underline=this.options.underline,r.pipe((0,f.h)(()=>this.underline)).subscribe(()=>{i.detectChanges()})}get activeItemIndex(){return this.tabs.activeItemIndex}set activeItemIndex(t){this.tabs.activeItemIndex=t}get activeElement(){return this.tabs.activeElement}onKeyDownArrow(t,e){this.tabs.moveFocus(t,e)}ngAfterViewChecked(){this.scrollTo(this.tabs.activeItemIndex)}scrollTo(t){const e=this.tabs.tabs[t];if(!e)return;const{offsetLeft:n,offsetWidth:i}=e,{nativeElement:r}=this.el;nr.scrollLeft+r.offsetWidth&&(r.scrollLeft=n+i-r.offsetWidth)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(pr),i.Y36(i.SBq),i.Y36(dr),i.Y36(i.sBO),i.Y36(D.tl))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-tabs",3,"vertical",""],["nav","tuiTabs","",3,"vertical",""]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,hr,4),2&t){let t;i.iGM(t=i.CRH())&&(e.children=t)}},hostVars:2,hostBindings:function(t,e){1&t&&i.NdJ("keydown.arrowRight.prevent",function(t){return e.onKeyDownArrow(t.target,1)})("keydown.arrowLeft.prevent",function(t){return e.onKeyDownArrow(t.target,-1)}),2&t&&i.ekj("_underline",e.underline)},inputs:{underline:"underline"},features:[i._Bn([D.a3,D.tl,Zi,{provide:Yi,useValue:{childList:!0}}])],ngContentSelectors:Xi,decls:4,vars:4,consts:[[4,"ngIf"],["class","t-underline",3,"element",4,"ngIf"],[1,"t-underline",3,"element"]],template:function(t,e){1&t&&(i.F$t(),i.YNc(0,Qi,1,0,"ng-container",0),i.ALo(1,"async"),i.Hsn(2),i.YNc(3,Wi,1,1,"tui-underline",1)),2&t&&(i.Q6J("ngIf",i.lcZ(1,2,e.children.changes)),i.xp6(3),i.Q6J("ngIf",e.underline))},directives:[w.O5,fr],pipes:[w.Ov],styles:["[_nghost-%COMP%]{scrollbar-width:none;-ms-overflow-style:none;position:relative;display:flex;font:var(--tui-font-text-m);height:var(--tui-height-l);color:var(--tui-text-02);box-shadow:inset 0 -1px var(--tui-base-03);overflow:auto;isolation:isolate}[_nghost-%COMP%]::-webkit-scrollbar, [_nghost-%COMP%]::-webkit-scrollbar-thumb{background:transparent;width:0;height:0}.t-underline[_ngcontent-%COMP%]{z-index:-1}"],changeDetection:0}),(0,Ue.gn)([sn.UM],t.prototype,"scrollTo",null),t})();const mr=new i.OlP("[TUI_TABS_REFRESH]"),vr=[D.tl,D.a3,Zi,(0,jt.fx)({align:"right"}),{provide:Yi,useValue:{childList:!0,subtree:!0,characterData:!0}},{provide:mr,deps:[D.tl,Zi,D.a3,w.K0,i.SBq,i.sBO],useFactory:(t,e,n,{body:i},{nativeElement:r},o)=>(0,c.T)(t,e.pipe((0,Hi.b)(()=>o.detectChanges()))).pipe((0,f.h)(()=>i.contains(r)),(0,lt.b)(0),(0,d.O)(null),(0,p.R)(n))}];let _r=(()=>{class t{constructor(t,e,n,r,o,s,a){this.options=t,this.margin=e,this.refresh$=n,this.el=r,this.cdr=o,this.moreWord$=s,this.arrowOptions=a,this.maxIndex=1/0,this.underline=this.options.underline,this.itemsLimit=this.options.itemsLimit,this.activeItemIndexChange=new i.vpe,this.items=y.Mm,this.activeItemIndex=0,this.open=!1}set itemIndex(t){this.activeItemIndex=t,this.maxIndex=this.getMaxIndex()}get tabs(){return Array.from(this.el.nativeElement.querySelectorAll("[tuiTab]"))}get activeElement(){var t;const{tabs:e}=this,n=(0,Yt.Ki)(this.activeItemIndex||0,0,e.length-2);return this.options.exposeActive||this.lastVisibleIndex>=n?e[n]||null:(null===(t=this.moreButton)||void 0===t?void 0:t.nativeElement)||null}get isMoreAlone(){return this.lastVisibleIndex<0&&!this.options.exposeActive}get isMoreVisible(){return this.lastVisibleIndex=this.items.length?this.maxIndex:Math.min(this.itemsLimit-(this.itemsLimit-1>this.activeItemIndex||!this.options.exposeActive?1:2),this.maxIndex)}ngAfterViewInit(){this.refresh$.pipe((0,h.U)(()=>this.getMaxIndex()),(0,f.h)(t=>this.maxIndex!==t)).subscribe(t=>{this.maxIndex=t,this.cdr.detectChanges()})}onActiveItemIndexChange(t){this.updateActiveItemIndex(t)}onClick(t){this.open=!1,this.focusMore(),this.updateActiveItemIndex(t)}onArrowRight(t){(0,B.ve)(t.target)&&(0,V.V8)(t.target)&&this.focusMore()}onArrowLeft(){const{tabs:t}=this;let e=t.length-2;for(;e>=0;){if(t[e].focus(),(0,V.V8)(t[e]))return;e--}}onWrapperArrow(t,e,n){const i=(0,V.BW)({initial:t.target,root:e,previous:n});i&&i.focus()}isOverflown(t){return t!==this.activeItemIndex||!this.options.exposeActive}shouldShow(t){return t>this.lastVisibleIndex&&this.isOverflown(t)}focusMore(){this.moreButton&&this.moreButton.nativeElement.focus()}getMaxIndex(){const{tabs:t,activeItemIndex:e,margin:n}=this;if(t.length<2)return 0;const{exposeActive:i,minMoreWidth:r}=this.options,{clientWidth:o}=this.el.nativeElement,s=t[e]?t[e].scrollWidth:0,a=Math.max(t[t.length-1].scrollWidth,r);let l=t.length-2,c=t.reduce((t,{scrollWidth:e})=>t+e,0)+l*n-t[t.length-1].scrollWidth;if(c<=o)return 1/0;for(;l;)if(c-=t[l].scrollWidth+n,l--,c+(i&&e>l?s+n:0)+a+n+(0,Yt.HW)(this.maxIndex===l-1){class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,q.wq,je.jh,Rt.EI,Xn.u,en]]}),t})();var br=n(59328);const wr=["focusableElement"];function Cr(t,e){if(1&t&&i._UZ(0,"tui-svg",9),2&t){const t=e.polymorpheusOutlet,n=i.oxw(2);i.ekj("t-icon_open",n.open),i.Q6J("src",t)}}function xr(t,e){if(1&t&&(i.ynx(0),i.YNc(1,Cr,1,3,"tui-svg",8),i.BQk()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",t.options.iconLarge)}}function kr(t,e){if(1&t&&(i.ynx(0),i._uU(1),i.BQk()),2&t){const t=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",t," ")}}function Or(t,e){if(1&t&&(i.TgZ(0,"div",11),i.YNc(1,kr,2,1,"ng-container",12),i.qZA()),2&t){const t=i.oxw(2);i.xp6(1),i.Q6J("polymorpheusOutlet",t.lazyContent)}}function Mr(t,e){if(1&t&&i.YNc(0,Or,2,1,"div",10),2&t){const t=i.oxw();i.Q6J("ngIf",t.lazyContent)}}function Sr(t,e){1&t&&(i.TgZ(0,"div",13),i.Hsn(1,1),i.qZA())}const Pr=["*",[["","tuiAccordionItemContent",""]]],Er=["*","[tuiAccordionItemContent]"],Tr=[[["tui-accordion-item"]]],Ar=["tui-accordion-item"];let Ir=(()=>{class t extends q.GL{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.Rgc,2),i.Y36(i.sBO))},t.\u0275dir=i.lG2({type:t,selectors:[["ng-template","tuiAccordionItemContent",""]],features:[i.qOj]}),t})(),Dr=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiAccordionItemContent","",5,"ng-template"]]}),t})(),Nr=(()=>{class t extends St.Xn{constructor(t,e,n){super(),this.cdr=t,this.mode$=e,this.options=n,this.noPadding=!1,this.showArrow=!0,this.borders="all",this.size="m",this.disabled=!1,this.disableHover=!1,this.open=!1,this.async=!1,this.openChange=new i.vpe}get nativeFocusableElement(){return this.disabled||!this.focusableElement?null:this.focusableElement.nativeElement}get focused(){return(0,V.V8)(this.nativeFocusableElement)}onFocused(t){this.updateFocused(t)}onFocusVisible(t){this.updateFocusVisible(t)}onRowToggle(){this.disabled||this.updateOpen(!this.open)}onItemKeyDownEsc(t){!this.open||(t.stopPropagation(),this.updateOpen(!1))}close(){this.updateOpen(!1),this.cdr.markForCheck()}updateOpen(t){this.open!==t&&(this.open=t,this.openChange.emit(t))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.sBO),i.Y36(at.Au),i.Y36(xn))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-accordion-item"]],contentQueries:function(t,e,n){if(1&t&&(i.Suo(n,Dr,5),i.Suo(n,Ir,5)),2&t){let t;i.iGM(t=i.CRH())&&(e.eagerContent=t.first),i.iGM(t=i.CRH())&&(e.lazyContent=t.first)}},viewQuery:function(t,e){if(1&t&&i.Gf(wr,5),2&t){let t;i.iGM(t=i.CRH())&&(e.focusableElement=t.first)}},hostVars:8,hostBindings:function(t,e){1&t&&i.NdJ("$.data-mode.attr",function(){return e.mode$}),2&t&&(i.uIk("data-borders",e.borders)("data-size",e.size),i.ekj("_no-padding",e.noPadding)("_has-arrow",e.showArrow)("_disabled",e.disabled))},inputs:{noPadding:"noPadding",showArrow:"showArrow",borders:"borders",size:"size",disabled:"disabled",disableHover:"disableHover",open:"open",async:"async"},outputs:{openChange:"openChange"},features:[i._Bn([(0,N.FT)(t),ui.CV]),i.qOj],ngContentSelectors:Er,decls:9,vars:10,consts:[["automation-id","tui-accordion__item-wrapper",1,"t-wrapper"],["automation-id","tui-accordion__item-header","type","button",1,"t-header",3,"disabled","tuiFocusable","click","keydown.esc","tuiFocusedChange","tuiFocusVisibleChange"],["focusableElement",""],["automation-id","tui-accordion__item-title",1,"t-title"],[4,"ngIf"],[3,"async","expanded"],["tuiExpandContent",""],["class","t-content",4,"ngIf"],["automation-id","tui-accordion__item-arrow","class","t-icon",3,"t-icon_open","src",4,"polymorpheusOutlet"],["automation-id","tui-accordion__item-arrow",1,"t-icon",3,"src"],["automation-id","tui-accordion__item-content","class","t-content",4,"ngIf"],["automation-id","tui-accordion__item-content",1,"t-content"],[4,"polymorpheusOutlet"],[1,"t-content"]],template:function(t,e){1&t&&(i.F$t(Pr),i.TgZ(0,"div",0),i.TgZ(1,"button",1,2),i.NdJ("click",function(){return e.onRowToggle()})("keydown.esc",function(t){return e.onItemKeyDownEsc(t)})("tuiFocusedChange",function(t){return e.onFocused(t)})("tuiFocusVisibleChange",function(t){return e.onFocusVisible(t)}),i.TgZ(3,"span",3),i.Hsn(4),i.qZA(),i.YNc(5,xr,2,1,"ng-container",4),i.qZA(),i.TgZ(6,"tui-expand",5),i.YNc(7,Mr,1,1,"ng-template",6),i.YNc(8,Sr,2,0,"div",7),i.qZA(),i.qZA()),2&t&&(i.xp6(1),i.ekj("t-header_hoverable",!e.disableHover)("t-header_open",e.open),i.Q6J("disabled",e.computedDisabled)("tuiFocusable",e.computedFocusable),i.xp6(4),i.Q6J("ngIf",e.showArrow),i.xp6(1),i.Q6J("async",e.async)("expanded",e.open),i.xp6(2),i.Q6J("ngIf",e.eagerContent))},directives:[Xn.t,Qn.U,Wn.q,w.O5,S,M,q.Li,Rt.PN],styles:['[_nghost-%COMP%]{position:relative;display:block;overflow:hidden;border-radius:var(--tui-radius-l)}[data-borders=top-bottom][_nghost-%COMP%]{border-radius:0!important}.t-wrapper[_ngcontent-%COMP%]{position:relative;border-radius:inherit}.t-wrapper[_ngcontent-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%;content:"";box-sizing:border-box;border-radius:inherit;border:1px solid var(--tui-base-04);pointer-events:none}[_nghost-%COMP%]:not([data-borders]) .t-wrapper[_ngcontent-%COMP%]:after{border-width:0}[data-borders=all][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border-width:1px}[data-borders=top-bottom][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border-left-width:0;border-right-width:0}[data-borders=top][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border-left-width:0;border-right-width:0;border-bottom-width:0}[data-borders=bottom][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border-left-width:0;border-right-width:0;border-top-width:0}[data-mode=onDark][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border-color:var(--tui-base-03)}[data-mode=onLight][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border-color:var(--tui-text-01)}._focus-visible[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border:2px solid var(--tui-focus)}[_nghost-%COMP%]:not([data-mode]) .t-wrapper[_ngcontent-%COMP%]{background:var(--tui-base-01)}.t-header[_ngcontent-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:flex;width:100%;font:var(--tui-font-text-l);align-items:center;box-sizing:border-box;border-bottom:1px solid var(--tui-base-04);min-height:var(--tui-height-l);padding:.75rem 1.25rem;color:var(--tui-text-01);cursor:pointer;text-align:left;outline:none}[data-mode=onDark][_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{color:var(--tui-text-01-night);border-color:var(--tui-base-03)}[data-mode=onLight][_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{border-color:var(--tui-text-01)}[_nghost-%COMP%]:not([data-borders]) .t-header[_ngcontent-%COMP%]{border-bottom-width:0;box-shadow:none}._has-arrow[_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{padding-right:.75rem}[data-mode=onDark][_nghost-%COMP%] .t-header_open[_ngcontent-%COMP%]{background:var(--tui-clear-inverse)}[data-mode=onLight][_nghost-%COMP%] .t-header_open[_ngcontent-%COMP%]{background:var(--tui-clear)}[data-size=s][_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{font:var(--tui-font-text-m);min-height:var(--tui-height-m);padding:.625rem .75rem .625rem 1rem}._no-padding[_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{padding-left:0;padding-right:0}._disabled[_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{cursor:default}.t-wrapper[_ngcontent-%COMP%]:hover:not([data-mode]) > .t-header_hoverable[_ngcontent-%COMP%]{background:var(--tui-base-02)}.t-wrapper[_ngcontent-%COMP%]:hover[data-mode=onDark] > .t-header_hoverable[_ngcontent-%COMP%]{background:var(--tui-clear-inverse)}.t-wrapper[_ngcontent-%COMP%]:hover[data-mode=onLight] > .t-header_hoverable[_ngcontent-%COMP%]{background:var(--tui-clear)}.t-title[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-right:0;flex-grow:1}._has-arrow[_nghost-%COMP%] .t-title[_ngcontent-%COMP%]{margin-right:.5rem}.t-icon[_ngcontent-%COMP%]{transition-property:transform,color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:1.5rem;height:1.5rem;margin-left:auto;color:var(--tui-base-06)}.t-icon_open[_ngcontent-%COMP%]{transform:rotate(180deg)}[data-mode][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{opacity:var(--tui-disabled-opacity)}[_nghost-%COMP%]:hover[data-mode] .t-icon[_ngcontent-%COMP%]{opacity:.8}[data-mode=onDark][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{color:var(--tui-text-01-night)}[data-mode=onLight][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{color:var(--tui-text-01)}[_nghost-%COMP%]:hover:not([data-mode]) .t-icon[_ngcontent-%COMP%]{color:var(--tui-base-07)}.t-content[_ngcontent-%COMP%]{font:var(--tui-font-text-m);padding:1.25rem;word-wrap:break-word}[data-size=s][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{font:var(--tui-font-text-s);padding:1rem}'],changeDetection:0}),t})(),Lr=(()=>{class t{constructor(t){this.destroy$=t,this.closeOthers=!0,this.rounded=!0,this.accordionItems=y.Mm}ngAfterContentInit(){const{accordionItems:t}=this,e=(0,Ce.ll)(t),n=e.pipe((0,br.G)(),(0,h.U)(([t,e])=>e.find(e=>!t.includes(e)&&e.open)),(0,f.h)(L.Pc));(0,c.T)(e.pipe((0,u.w)(t=>(0,c.T)(...t.map(t=>t.openChange.pipe((0,f.h)(qi.y),(0,h.U)(()=>t)))))),n).pipe((0,f.h)(()=>this.closeOthers),(0,p.R)(this.destroy$)).subscribe(e=>{t.forEach(t=>{e!==t&&t.close()})})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(D.a3,2))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-accordion"]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,Nr,4),2&t){let t;i.iGM(t=i.CRH())&&(e.accordionItems=t)}},inputs:{closeOthers:"closeOthers",rounded:"rounded"},features:[i._Bn([D.a3])],ngContentSelectors:Ar,decls:2,vars:2,consts:[["automation-id","tui-accordion__group","orientation","vertical","size","l","tuiGroup","",1,"t-group",3,"collapsed","rounded"]],template:function(t,e){1&t&&(i.F$t(Tr),i.TgZ(0,"div",0),i.Hsn(1),i.qZA()),2&t&&i.Q6J("collapsed",!0)("rounded",e.rounded)},directives:[Ft.gZ],styles:["[_nghost-%COMP%]{display:block}.t-group[_ngcontent-%COMP%]{display:flex}"],changeDetection:0}),t})(),zr=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,Qn.F,Wn.c,Xn.u,q.wq,Rt.EI,Ft.n6,P]]}),t})();const Fr=["input"];function Rr(t,e){if(1&t&&(i.ynx(0),i._uU(1),i.BQk()),2&t){const t=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",t," ")}}function jr(t,e){if(1&t&&(i.TgZ(0,"div",6),i.YNc(1,Rr,2,1,"ng-container",7),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",t.leftContent)}}function Br(t,e){if(1&t&&i._UZ(0,"tui-loader",8),2&t){const t=i.oxw();i.Q6J("inheritColor",!0)("size",t.loaderSize)}}function Vr(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"tui-svg",9),i.NdJ("click",function(e){return i.CHM(t),i.oxw().remove(e)})("mousedown.stop.prevent.silent",function(){return 0}),i.qZA()}if(2&t){const t=i.oxw();i.Q6J("src",t.icons.close)}}function $r(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"input",10,11),i.NdJ("blur",function(){return i.CHM(t),i.oxw().onBlur()})("keydown",function(e){return i.CHM(t),i.oxw().onKeyDown(e)})("ngModelChange",function(e){return i.CHM(t),i.oxw().onInput(e)}),i.qZA()}if(2&t){const t=i.oxw();i.Q6J("ngModel",t.editedText),i.uIk("maxLength",t.maxLength)}}const Yr=(0,L.JN)({size:"m",status:"default",autoColor:!1});let Zr=(()=>{class t{constructor(t,e,n,r){this.el=t,this.mode$=e,this.options=n,this.icons=r,this.value="",this.editable=!1,this.separator=",",this.maxLength=null,this.size=this.options.size,this.showLoader=!1,this.status=this.options.status,this.hoverable=!1,this.removable=!1,this.disabled=!1,this.autoColor=this.options.autoColor,this.edited=new i.vpe,this.editing=!1,this.editedText=null}set input(t){t&&t.nativeElement.focus()}get backgroundColor(){return this.autoColor?function(t){if(""===t)return"";let e=0;for(let n=0;n1?this.save(String(e)):this.editedText=t}onKeyDown(t){switch(t.stopPropagation(),t.key.toLowerCase()){case"enter":t.preventDefault(),this.save(this.editedText||"");break;case"escape":case"esc":t.preventDefault(),this.stopEditing(),this.el.nativeElement.focus()}}onBlur(){null!==this.editedText&&this.save(this.editedText)}get canEdit(){return this.editable&&!this.disabled&&!this.showLoader}stopEditing(){this.editing=!1,this.editedText=null}save(t){this.stopEditing(),this.edited.emit(t.trim())}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(at.Au),i.Y36(Yr),i.Y36(at.Gs))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-tag"],["a","tuiTag",""],["button","tuiTag",""]],viewQuery:function(t,e){if(1&t&&i.Gf(Fr,5,i.SBq),2&t){let t;i.iGM(t=i.CRH())&&(e.input=t.first)}},hostVars:10,hostBindings:function(t,e){1&t&&i.NdJ("$.data-mode.attr",function(){return e.mode$})("keydown.enter",function(t){return e.edit(t)})("keydown.delete",function(t){return e.remove(t)})("keydown.backspace",function(t){return e.remove(t)}),2&t&&(i.uIk("data-size",e.size)("data-status",e.status),i.ekj("_hoverable",e.hoverable)("_disabled",e.disabled)("_autocolor",e.autoColor)("_editing",e.editing))},inputs:{value:"value",editable:"editable",separator:"separator",maxLength:"maxLength",size:"size",showLoader:"showLoader",status:"status",hoverable:"hoverable",removable:"removable",disabled:"disabled",autoColor:"autoColor",leftContent:"leftContent"},outputs:{edited:"edited"},features:[i._Bn([ui.CV])],decls:6,vars:7,consts:[[1,"t-tag",3,"dblclick"],["class","t-content",4,"ngIf"],["automation-id","tui-tag__text",1,"t-text",3,"textContent"],["class","t-content",3,"inheritColor","size",4,"ngIf"],["automation-id","tui-tag__remove","class","t-icon",3,"src","click","mousedown.stop.prevent.silent",4,"ngIf"],["automation-id","tui-tag__edit","type","text","class","t-edit",3,"ngModel","blur","keydown","ngModelChange",4,"ngIf"],[1,"t-content"],[4,"polymorpheusOutlet"],[1,"t-content",3,"inheritColor","size"],["automation-id","tui-tag__remove",1,"t-icon",3,"src","click","mousedown.stop.prevent.silent"],["automation-id","tui-tag__edit","type","text",1,"t-edit",3,"ngModel","blur","keydown","ngModelChange"],["input",""]],template:function(t,e){1&t&&(i.TgZ(0,"div",0),i.NdJ("dblclick",function(t){return e.edit(t)}),i.YNc(1,jr,2,1,"div",1),i._UZ(2,"span",2),i.YNc(3,Br,1,2,"tui-loader",3),i.YNc(4,Vr,1,1,"tui-svg",4),i.qZA(),i.YNc(5,$r,2,2,"input",5)),2&t&&(i.Udp("background-color",e.backgroundColor),i.xp6(1),i.Q6J("ngIf",e.leftContent),i.xp6(1),i.Q6J("textContent",e.displayText),i.xp6(1),i.Q6J("ngIf",e.showLoader),i.xp6(1),i.Q6J("ngIf",e.canRemove),i.xp6(1),i.Q6J("ngIf",e.editing))},directives:[w.O5,q.Li,b.kM,Rt.PN,yn.Fj,yn.JJ,yn.On],styles:['[_nghost-%COMP%]{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:relative;display:inline-block;font:var(--tui-font-text-s);line-height:1.25rem;max-width:100%;cursor:default;outline:none;text-decoration:none;padding:0;border:0}[_nghost-%COMP%]:after{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;top:0;left:0;width:100%;height:100%;content:"";box-sizing:border-box;border-radius:inherit;pointer-events:none}._hoverable[_nghost-%COMP%]:hover[data-status=custom]:after, ._hoverable[_nghost-%COMP%]:active[data-status=custom]:after{background-color:var(--tui-clear)}[_nghost-%COMP%]:focus:after{border:2px solid var(--tui-focus)}[data-size=s][_nghost-%COMP%]{font:var(--tui-font-text-xs);line-height:1.25rem;border-radius:var(--tui-radius-xs)}[data-size=m][_nghost-%COMP%]{border-radius:var(--tui-radius-xs)}[data-size=l][_nghost-%COMP%]{border-radius:var(--tui-radius-s)}[data-status=primary][_nghost-%COMP%]{background-color:var(--tui-primary);color:var(--tui-primary-text)}[data-status=primary]._hoverable[_nghost-%COMP%]:hover{background-color:var(--tui-primary-hover)}[data-status=primary]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-primary-active)}[data-status=error][_nghost-%COMP%]{background-color:var(--tui-error-bg);color:var(--tui-text-01)}[data-status=error]._hoverable[_nghost-%COMP%]:hover, [data-status=error]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-error-bg-hover)}[data-status=error][data-mode=onDark][_nghost-%COMP%]{background-color:var(--tui-error-bg-night);color:var(--tui-text-01-night)}[data-status=error][data-mode=onDark]._hoverable[_nghost-%COMP%]:hover, [data-status=error][data-mode=onDark]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-error-bg-night-hover)}[data-status=success][_nghost-%COMP%]{background-color:var(--tui-success-bg);color:var(--tui-text-01)}[data-status=success]._hoverable[_nghost-%COMP%]:hover, [data-status=success]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-success-bg-hover)}[data-status=success][data-mode=onDark][_nghost-%COMP%]{background-color:var(--tui-success-bg-night);color:var(--tui-text-01-night)}[data-status=success][data-mode=onDark]._hoverable[_nghost-%COMP%]:hover, [data-status=success][data-mode=onDark]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-success-bg-night-hover)}[data-status=warning][_nghost-%COMP%]{background-color:var(--tui-warning-bg);color:var(--tui-text-01)}[data-status=warning]._hoverable[_nghost-%COMP%]:hover, [data-status=warning]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-warning-bg-hover)}[data-status=warning][data-mode=onDark][_nghost-%COMP%]{background-color:var(--tui-warning-bg-night);color:var(--tui-text-01-night)}[data-status=warning][data-mode=onDark]._hoverable[_nghost-%COMP%]:hover, [data-status=warning][data-mode=onDark]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-warning-bg-night-hover)}[data-status=default][_nghost-%COMP%]{color:var(--tui-text-01-night);background-color:var(--tui-base-06)}[data-status=default][_nghost-%COMP%]:not([data-mode])._hoverable:hover{background-color:var(--tui-base-07)}[data-status=default][_nghost-%COMP%]:not([data-mode])._hoverable:active{background-color:var(--tui-base-08)}[data-status=default][data-mode=onDark][_nghost-%COMP%]{color:var(--tui-text-01-night);background-color:var(--tui-clear-inverse)}[data-status=default][data-mode=onDark]._hoverable[_nghost-%COMP%]:hover{background-color:var(--tui-clear-inverse-hover)}[data-status=default][data-mode=onDark]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-clear-inverse-active)}[data-status=default][data-mode=onDark][_nghost-%COMP%]:focus:after{border:2px solid var(--tui-base-01)}[data-status=default][data-mode=onLight][_nghost-%COMP%]{background-color:var(--tui-clear);color:var(--tui-text-01)}[data-status=default][data-mode=onLight]._hoverable[_nghost-%COMP%]:hover{background-color:var(--tui-clear-hover)}[data-status=default][data-mode=onLight]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-clear-active)}._editing[_nghost-%COMP%]{background:transparent!important}._disabled[_nghost-%COMP%]{pointer-events:none;opacity:var(--tui-disabled-opacity)}._hoverable[_nghost-%COMP%]{cursor:pointer}._autocolor[_nghost-%COMP%]{color:#000c}.t-text[_ngcontent-%COMP%]{white-space:pre;overflow:hidden;text-overflow:ellipsis;padding-right:.02em}.t-tag[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative;display:flex;width:auto;align-items:center;font:inherit;border-radius:inherit}[data-size=s][_nghost-%COMP%] .t-tag[_ngcontent-%COMP%]{height:1.25rem;padding:0 .375rem}[data-size=m][_nghost-%COMP%] .t-tag[_ngcontent-%COMP%]{height:var(--tui-height-xs);padding:0 .5rem}[data-size=l][_nghost-%COMP%] .t-tag[_ngcontent-%COMP%]{height:var(--tui-height-s);padding:0 .75rem}._editing[_nghost-%COMP%] .t-tag[_ngcontent-%COMP%]{visibility:hidden}.t-edit[_ngcontent-%COMP%]{margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;font:inherit;color:var(--tui-text-01);width:100%;height:100%;box-sizing:border-box;padding:0 .5rem}.t-edit[_ngcontent-%COMP%]:-webkit-autofill, .t-edit[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-edit[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}[data-size=s][_nghost-%COMP%] .t-edit[_ngcontent-%COMP%]{padding:0 .375rem}[data-size=m][_nghost-%COMP%] .t-edit[_ngcontent-%COMP%]{padding:0 .5rem}[data-size=l][_nghost-%COMP%] .t-edit[_ngcontent-%COMP%]{padding:0 .75rem}.t-icon[_ngcontent-%COMP%]{width:1rem;height:100%;cursor:pointer;pointer-events:all;opacity:var(--tui-disabled-opacity);-webkit-margin-start:.25rem;margin-inline-start:.25rem;-webkit-margin-end:-.25rem;margin-inline-end:-.25rem}.t-icon[_ngcontent-%COMP%]:hover{opacity:1}[data-size=s][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{-webkit-margin-start:0;margin-inline-start:0}[data-size=s][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%] svg{transform:scale(.75)}.t-content[_ngcontent-%COMP%]{width:1rem;height:1rem;-webkit-margin-end:.25rem;margin-inline-end:.25rem}'],changeDetection:0}),t})(),qr=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,yn.u5,Rt.EI,b.dS,q.wq]]}),t})();var Ur=n(44711),Hr=n(21673);const Gr=["tuiSidebar",""];function Jr(t,e){if(1&t&&(i.ynx(0),i._uU(1),i.BQk()),2&t){const t=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",t," ")}}let Xr=(()=>{class t extends q.GL{constructor(t,e,n,i){super(t,i),this.content=t,this.injector=e,this.portalService=n,this.component=new q.Al(Qr,this.injector),this.sidebarRef=null,this.direction="left",this.autoWidth=!1}set tuiSidebar(t){t?this.show():this.hide()}ngOnDestroy(){this.hide()}show(){null===this.sidebarRef&&(this.sidebarRef=this.portalService.add(this.component),this.sidebarRef.changeDetectorRef.detectChanges())}hide(){null!==this.sidebarRef&&(this.portalService.remove(this.sidebarRef),this.sidebarRef=null)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.Rgc),i.Y36(i.zs3),i.Y36(E.ae),i.Y36(i.sBO))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiSidebar",""]],inputs:{direction:["tuiSidebarDirection","direction"],autoWidth:["tuiSidebarAutoWidth","autoWidth"],tuiSidebar:"tuiSidebar"},features:[i.qOj]}),t})(),Qr=(()=>{class t{constructor(t,e){this.options=t,this.directive=e,this.left=Object.assign(Object.assign({},this.options),{value:"left"}),this.right=Object.assign(Object.assign({},this.options),{value:"right"})}get animation(){return"left"===this.direction?this.left:this.right}get directionHostClass(){return`t-${this.directive.direction}`}get direction(){return this.directive.direction}get content(){return this.directive.content}get autoWidth(){return this.directive.autoWidth}ngDoCheck(){this.directive.check()}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(at.Pw),i.Y36(Xr))},t.\u0275cmp=i.Xpm({type:t,selectors:[["aside","tuiSidebar",""]],hostVars:3,hostBindings:function(t,e){2&t&&(i.d8E("@tuiSlideIn",e.animation),i.Tol(e.directionHostClass))},attrs:Gr,decls:2,vars:3,consts:[["tuiActiveZone","",1,"t-wrapper"],[4,"polymorpheusOutlet"]],template:function(t,e){1&t&&(i.TgZ(0,"div",0),i.YNc(1,Jr,2,1,"ng-container",1),i.qZA()),2&t&&(i.ekj("t-wrapper_auto-width",e.autoWidth),i.xp6(1),i.Q6J("polymorpheusOutlet",e.content))},directives:[gt.e,q.Li],styles:['[_nghost-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;display:flex}[_nghost-%COMP%]:before, [_nghost-%COMP%]:after{position:absolute;top:0;left:0;width:100%;content:"";height:100%;background:rgba(0,0,0,.38);animation:tuiFadeIn var(--tui-duration)}[_nghost-%COMP%]:before{left:-100%;width:200%}[_nghost-%COMP%]:after{left:100%}.ng-animating[_nghost-%COMP%]:before, .ng-animating[_nghost-%COMP%]:after{opacity:0;transition:opacity var(--tui-duration)}.t-right[_nghost-%COMP%]{justify-content:flex-end}.t-left[_nghost-%COMP%]{justify-content:flex-start}.t-wrapper[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:column;background:var(--tui-base-01);box-shadow:0 10rem var(--tui-base-01);width:17.25rem}.t-wrapper_auto-width[_ngcontent-%COMP%]{width:auto}'],data:{animation:[Ut.Gw]},changeDetection:0}),t})(),Wr=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[gt.A,q.wq]]}),t})(),Kr=(()=>{class t{constructor(t,{nativeElement:e},n){this.readyToScroll$=n,this.scroll$=new Ui.t(1),this.readyToScroll$.pipe((0,f.h)(Boolean),(0,u.w)(()=>this.scroll$),(0,lt.b)(750),(0,f.h)(t=>t&&!!(0,B.PU)(e)),(0,p.R)(t)).subscribe(()=>{e.scrollIntoView()})}set tuiScrollIntoViewLink(t){this.scroll$.next(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(D.a3,2),i.Y36(i.SBq),i.Y36(r.V1))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiScrollIntoViewLink",""]],inputs:{tuiScrollIntoViewLink:"tuiScrollIntoViewLink"},features:[i._Bn([D.a3])]}),t})(),to=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();const eo="Taiga UI",no=(0,L.JN)("tuiTheme"),io=(0,L.JN)(eo);let ro=(()=>{class t extends s.X{constructor(t,e,n){super(n.getItem(e)||t),this.initialTheme=t,this.key=e,this.storage=n}next(t){this.storage.setItem(this.key,t),super.next(t)}get isDefaultTheme(){return this.value===eo}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(io),i.LFG(no),i.LFG(I.H3))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const oo=(0,L.JN)("tuiNight"),so=(0,L.JN)(!0);let ao=(()=>{class t extends s.X{constructor(t,e,n,i){super("true"===e.getItem(n)||null===e.getItem(n)&&t.matchMedia("(prefers-color-scheme: dark)").matches),this.win=t,this.storage=e,this.key=n,this.useDefaultNightTheme=i}next(t){this.storage.setItem(this.key,String(t)),super.next(t)}toggle(){this.next(!this.value)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(I.m9),i.LFG(I.H3),i.LFG(oo),i.LFG(so))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function lo(t,e){if(1&t&&(i.TgZ(0,"p",2),i._uU(1),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.hij(" ",t.filename,"\n")}}function co(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"pre",3),i._uU(1," "),i._UZ(2,"code",4),i._uU(3,"\n "),i.TgZ(4,"div",5),i._uU(5,"\n "),i.TgZ(6,"button",6),i.NdJ("click",function(){return i.CHM(t),i.oxw().copy$.next()}),i.ALo(7,"async"),i._uU(8,"\n "),i.qZA(),i._uU(9,"\n "),i.Hsn(10),i._uU(11,"\n "),i.qZA(),i._uU(12,"\n"),i.qZA()}if(2&t){const t=e.$implicit,n=i.oxw();i.xp6(2),i.Q6J("lineNumbers",!0)("highlight",t),i.xp6(4),i.Q6J("icon",i.lcZ(7,4,n.icon$)||"tuiIconCopyLarge")("cdkCopyToClipboard",t)}}const uo=["*"],ho=["content"],po=["resizer"];function fo(t,e){if(1&t&&(i._uU(0),i.TgZ(1,"a",11),i.TgZ(2,"code"),i._uU(3,"tuiMode"),i.qZA(),i.qZA()),2&t){const t=i.oxw();i.hij(" ",t.texts[0]," ")}}function go(t,e){if(1&t&&i._UZ(0,"tui-data-list-wrapper",14),2&t){const t=i.oxw(2);i.Q6J("items",t.items)}}function mo(t,e){if(1&t){const t=i.EpF();i.ynx(0),i.TgZ(1,"tui-select",12),i.NdJ("ngModelChange",function(e){return i.CHM(t),i.oxw().onModeChange(e)}),i._uU(2," tuiMode "),i.YNc(3,go,1,1,"tui-data-list-wrapper",13),i.qZA(),i.BQk()}if(2&t){const t=i.oxw(),e=i.MAs(2);i.xp6(1),i.Q6J("ngModel",t.mode)("tuiHintContent",e)("tuiTextfieldCleaner",!0)}}function vo(t,e){if(1&t){const t=i.EpF();i._uU(0," tuiMode: "),i._UZ(1,"tui-tooltip",15),i.TgZ(2,"div",16),i.TgZ(3,"tui-radio-block",17),i.NdJ("ngModelChange",function(e){return i.CHM(t),i.oxw().onModeChange(e)}),i._uU(4," null "),i.qZA(),i.TgZ(5,"tui-radio-block",18),i.NdJ("ngModelChange",function(e){return i.CHM(t),i.oxw().onModeChange(e)}),i._uU(6," onDark "),i.qZA(),i.TgZ(7,"tui-radio-block",19),i.NdJ("ngModelChange",function(e){return i.CHM(t),i.oxw().onModeChange(e)}),i._uU(8," onLight "),i.qZA(),i.qZA()}if(2&t){const t=i.oxw(),e=i.MAs(2);i.xp6(1),i.Q6J("content",e),i.xp6(1),i.Q6J("collapsed",!0),i.xp6(1),i.Q6J("hideRadio",!0)("item",null)("ngModel",t.mode),i.xp6(2),i.Q6J("hideRadio",!0)("ngModel",t.mode),i.xp6(2),i.Q6J("hideRadio",!0)("ngModel",t.mode)}}function _o(t,e){if(1&t&&i._UZ(0,"tui-svg",27),2&t){const t=i.oxw(2);i.ekj("t-icon_rotated",t.expanded),i.Q6J("src",t.options.iconSmall)}}function yo(t,e){if(1&t&&i._UZ(0,"tui-data-list-wrapper",14),2&t){const t=i.oxw(3);i.Q6J("items",t.updateOnVariants)}}const bo=function(){return{standalone:!0}};function wo(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"pre",28),i._uU(1),i.ALo(2,"json"),i.qZA(),i.TgZ(3,"div",29),i.TgZ(4,"tui-select",30),i.NdJ("ngModelChange",function(e){return i.CHM(t),i.oxw(2).updateOnChange(e)}),i._uU(5," updateOn "),i.YNc(6,yo,1,1,"tui-data-list-wrapper",13),i.qZA(),i.TgZ(7,"button",31),i._uU(8," Reset "),i.qZA(),i.TgZ(9,"button",32),i._uU(10," Submit "),i.qZA(),i.qZA()}if(2&t){const t=i.oxw(2);i.xp6(1),i.hij("Form data: ",i.lcZ(2,3,t.testForm.value),""),i.xp6(3),i.Q6J("ngModel",t.updateOn)("ngModelOptions",i.DdM(5,bo))}}function Co(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"form",20),i.TgZ(1,"div",21),i.GkF(2,22),i.qZA(),i.TgZ(3,"button",23),i.NdJ("click",function(){return i.CHM(t),i.oxw().toggleDetails()}),i._uU(4),i.qZA(),i.YNc(5,_o,1,3,"ng-template",null,24,i.W1O),i.TgZ(7,"tui-expand",25),i.YNc(8,wo,11,6,"ng-template",26),i.qZA(),i.qZA()}if(2&t){const t=i.MAs(6),e=i.oxw();i.Q6J("formGroup",e.testForm),i.xp6(2),i.Q6J("ngTemplateOutlet",e.template),i.xp6(1),i.Q6J("iconRight",t),i.xp6(1),i.hij(" ",e.texts[2]," "),i.xp6(3),i.Q6J("expanded",e.expanded)}}const xo=function(){return[1,0]};function ko(t,e){if(1&t&&(i.TgZ(0,"h1",2),i._uU(1),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.hij(" ",t.heading,"\n")}}function Oo(t,e){if(1&t&&(i.TgZ(0,"th",10),i._uU(1),i.qZA()),2&t){const t=i.oxw(3);i.xp6(1),i.hij(" ",t.texts[3]," ")}}function Mo(t,e){1&t&&i._UZ(0,"tui-badge",20)}function So(t,e){1&t&&(i.TgZ(0,"span",21),i._uU(1," deprecated "),i.qZA())}function Po(t,e){if(1&t&&(i._uU(0),i.TgZ(1,"a",24),i.TgZ(2,"code"),i._uU(3,"ng-polymorpheus"),i.qZA(),i.qZA()),2&t){const t=i.oxw(5);i.hij(" ",t.texts[4]," ")}}function Eo(t,e){if(1&t&&(i.TgZ(0,"tui-tooltip",22),i.YNc(1,Po,4,1,"ng-template",null,23,i.W1O),i.qZA()),2&t){const t=i.MAs(2),e=i.oxw().$implicit;i.Q6J("content",t)("describeId",e.attrName)}}function To(t,e){if(1&t&&i._UZ(0,"tui-data-list-wrapper",34),2&t){i.oxw(2);const t=i.MAs(3),e=i.oxw(2).$implicit;i.Q6J("itemContent",t)("items",e.documentationPropertyValues)}}function Ao(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"tui-select",31),i.NdJ("ngModelChange",function(e){return i.CHM(t),i.oxw(3).$implicit.onValueChange(e)}),i.ALo(1,"tuiShowCleanerPipe"),i.TgZ(2,"code",32),i._uU(3,"null"),i.qZA(),i.YNc(4,To,1,2,"tui-data-list-wrapper",33),i.qZA()}if(2&t){i.oxw();const t=i.MAs(3),e=i.oxw(2).$implicit;i.Q6J("nativeId",e.attrName)("ngModel",e.documentationPropertyValue)("tuiTextfieldCleaner",i.lcZ(1,5,e.documentationPropertyType))("tuiTextfieldLabelOutside",!0)("valueContent",t)}}function Io(t,e){if(1&t&&(i.TgZ(0,"code"),i._uU(1),i.ALo(2,"tuiInspectAny"),i.qZA()),2&t){const t=e.$implicit;i.xp6(1),i.Oqu(i.lcZ(2,1,t))}}function Do(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"tui-toggle",41),i.NdJ("ngModelChange",function(e){return i.CHM(t),i.oxw(4).$implicit.onValueChange(e)}),i.qZA()}if(2&t){const t=i.oxw(4).$implicit;i.Q6J("nativeId",t.attrName)("ngModel",t.documentationPropertyValue)("showIcons",!0)}}function No(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"tui-primitive-textfield",42),i.NdJ("valueChange",function(e){return i.CHM(t),i.oxw(4).$implicit.onValueChange(e)}),i.qZA()}if(2&t){const t=i.oxw(4).$implicit;i.Q6J("nativeId",t.attrName)("tuiTextfieldCleaner",!0)("tuiTextfieldLabelOutside",!0)("value",t.documentationPropertyValue||"")}}function Lo(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"div",43),i.TgZ(1,"tui-primitive-textfield",44),i.NdJ("valueChange",function(e){i.CHM(t);const n=i.oxw(4).$implicit;return i.oxw(3).onColorChange(n,e)}),i.ALo(2,"tuiGetOpacity"),i.ALo(3,"tuiGetColorPipe"),i._UZ(4,"input",45),i.qZA(),i.TgZ(5,"tui-input-number",46),i.NdJ("ngModelChange",function(e){i.CHM(t);const n=i.oxw(4).$implicit;return i.oxw(3).onOpacityChange(n,e)}),i.ALo(6,"tuiGetOpacity"),i._uU(7," Opacity "),i.qZA(),i.qZA()}if(2&t){const t=i.oxw(4).$implicit;i.xp6(1),i.Q6J("tuiInputOpacity",i.lcZ(2,8,t.documentationPropertyValue))("tuiTextfieldLabelOutside",!0)("value",i.lcZ(3,10,t.documentationPropertyValue)),i.uIk("id",t.attrName),i.xp6(4),i.Q6J("max",100)("min",0)("ngModel",i.lcZ(6,12,t.documentationPropertyValue))("step",1)}}function zo(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"tui-input-number",47),i.NdJ("ngModelChange",function(e){return i.CHM(t),i.oxw(4).$implicit.onValueChange(e||0)}),i.qZA()}if(2&t){const t=i.oxw(4).$implicit;i.Q6J("nativeId",t.attrName)("ngModel",t.documentationPropertyValue)("step",1)("tuiTextfieldLabelOutside",!0)}}function Fo(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"tui-primitive-textfield",42),i.NdJ("valueChange",function(e){return i.CHM(t),i.oxw(5).$implicit.onValueChange(e)}),i._uU(1," Default content "),i.qZA()}if(2&t){const t=i.oxw(5).$implicit;i.Q6J("nativeId",t.attrName)("tuiTextfieldCleaner",!0)("tuiTextfieldLabelOutside",!0)("value",t.documentationPropertyValue.toString())}}function Ro(t,e){if(1&t&&(i.ynx(0),i.YNc(1,Fo,2,4,"tui-primitive-textfield",48),i.ALo(2,"tuiIsPrimitivePolymorpheusContentPipe"),i.BQk()),2&t){const t=i.oxw(4).$implicit;i.xp6(1),i.Q6J("ngIf",i.lcZ(2,1,t.documentationPropertyValue))}}function jo(t,e){if(1&t&&(i.ynx(0,35),i.YNc(1,Do,1,3,"tui-toggle",36),i.YNc(2,No,1,4,"tui-primitive-textfield",37),i.YNc(3,Lo,8,14,"div",38),i.YNc(4,zo,1,4,"tui-input-number",39),i.YNc(5,Ro,3,3,"ng-container",40),i.BQk()),2&t){const t=i.oxw(3).$implicit;i.Q6J("ngSwitch",t.documentationPropertyType),i.xp6(1),i.Q6J("ngSwitchCase","boolean"),i.xp6(1),i.Q6J("ngSwitchCase","string"),i.xp6(1),i.Q6J("ngSwitchCase","color"),i.xp6(1),i.Q6J("ngSwitchCase","number"),i.xp6(1),i.Q6J("ngSwitchCase","PolymorpheusContent")}}function Bo(t,e){if(1&t&&(i.ynx(0),i.YNc(1,Ao,5,7,"tui-select",28),i.YNc(2,Io,3,3,"ng-template",null,29,i.W1O),i.YNc(4,jo,6,6,"ng-template",null,30,i.W1O),i.BQk()),2&t){const t=i.MAs(5),e=i.oxw(2).$implicit;i.xp6(1),i.Q6J("ngIf",e.hasItems)("ngIfElse",t)}}function Vo(t,e){if(1&t&&(i.TgZ(0,"tui-notification",49),i.ALo(1,"async"),i._uU(2," Emit! "),i.qZA()),2&t){const t=i.oxw(2).$implicit;i.Q6J("@emitEvent",i.lcZ(1,1,t.emits$))}}function $o(t,e){if(1&t&&(i.TgZ(0,"td",25),i.YNc(1,Bo,6,2,"ng-container",26),i.YNc(2,Vo,3,3,"ng-template",null,27,i.W1O),i.qZA()),2&t){const t=i.MAs(3),e=i.oxw().$implicit;i.xp6(1),i.Q6J("ngIf",e.shouldShowValues)("ngIfElse",t)}}function Yo(t,e){if(1&t&&(i.TgZ(0,"tr",11),i.TgZ(1,"td",12),i.TgZ(2,"div",13),i._uU(3),i.ALo(4,"tuiStripOptionalPipe"),i.YNc(5,Mo,1,0,"tui-badge",14),i.ALo(6,"tuiIsOptionalPipe"),i.qZA(),i.YNc(7,So,2,0,"span",15),i.GkF(8,16),i.qZA(),i.TgZ(9,"td",12),i.TgZ(10,"span",17),i._uU(11),i.YNc(12,Eo,3,2,"tui-tooltip",18),i.ALo(13,"tuiShowContentTooltip"),i.qZA(),i.qZA(),i.YNc(14,$o,4,2,"td",19),i.qZA()),2&t){const t=e.$implicit,n=i.oxw(3);i.ekj("t-deprecated",t.documentationPropertyDeprecated),i.xp6(3),i.hij(" ",i.lcZ(4,9,t.attrName)," "),i.xp6(2),i.Q6J("ngIf",i.lcZ(6,11,t.attrName)),i.xp6(2),i.Q6J("ngIf",t.documentationPropertyDeprecated),i.xp6(1),i.Q6J("ngTemplateOutlet",t.template),i.xp6(3),i.hij(" ",t.documentationPropertyType," "),i.xp6(1),i.Q6J("ngIf",i.lcZ(13,13,t.documentationPropertyType)),i.xp6(2),i.Q6J("ngIf",n.showValues)}}function Zo(t,e){if(1&t&&(i.TgZ(0,"table",4),i.TgZ(1,"tr",5),i.TgZ(2,"th",6),i._uU(3),i.qZA(),i.TgZ(4,"th",7),i._uU(5),i.qZA(),i.YNc(6,Oo,2,1,"th",8),i.qZA(),i.YNc(7,Yo,15,15,"tr",9),i.qZA()),2&t){const t=i.oxw().ngIf,e=i.oxw();i.xp6(3),i.Oqu(e.texts[2]),i.xp6(2),i.Oqu(e.type),i.xp6(1),i.Q6J("ngIf",e.showValues&&!e.isAPI),i.xp6(1),i.Q6J("ngForOf",t)}}function qo(t,e){if(1&t&&(i.ynx(0),i.YNc(1,Zo,8,4,"table",3),i.BQk()),2&t){const t=e.ngIf;i.xp6(1),i.Q6J("ngIf",t.length)}}function Uo(t,e){1&t&&i._UZ(0,"span",8),2&t&&i.Q6J("textContent",e.polymorpheusOutlet)}function Ho(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"button",9),i.NdJ("click",function(){return i.CHM(t),i.oxw(2).copyExampleLink()}),i.ALo(1,"async"),i.qZA()}if(2&t){const t=i.oxw(2);i.Q6J("icon",t.options.linkIcon)("title",i.lcZ(1,2,t.copy$))}}function Go(t,e){if(1&t&&(i.TgZ(0,"h3",5),i.YNc(1,Uo,1,1,"span",6),i.ALo(2,"tuiDocExampleCapitalize"),i.YNc(3,Ho,2,4,"button",7),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",i.lcZ(2,2,t.heading)),i.xp6(2),i.Q6J("ngIf",t.id)}}function Jo(t,e){if(1&t&&(i.ynx(0),i._uU(1),i.BQk()),2&t){const t=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",t," ")}}function Xo(t,e){if(1&t&&(i.TgZ(0,"h4",10),i.YNc(1,Jo,2,1,"ng-container",11),i.ALo(2,"tuiDocExampleCapitalize"),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",i.lcZ(2,1,t.description))}}function Qo(t,e){if(1&t&&(i.ynx(0),i._uU(1),i.BQk()),2&t){const t=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",t," ")}}function Wo(t,e){if(1&t&&(i.TgZ(0,"button",21),i.YNc(1,Qo,2,1,"ng-container",11),i.qZA()),2&t){const t=i.oxw().$implicit,e=i.oxw(4);i.xp6(1),i.Q6J("polymorpheusOutlet",e.getTabTitle(t))}}function Ko(t,e){1&t&&(i.ynx(0),i.YNc(1,Wo,2,1,"button",20),i.BQk())}function ts(t,e){if(1&t&&(i.ynx(0),i._uU(1),i.BQk()),2&t){const t=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",t," ")}}function es(t,e){if(1&t&&(i.ynx(0),i.YNc(1,ts,2,1,"ng-container",11),i.BQk()),2&t){const t=e.ngIf;i.xp6(1),i.Q6J("polymorpheusOutlet",t)}}function ns(t,e){if(1&t&&(i.TgZ(0,"button",25),i._uU(1),i.qZA()),2&t){const t=i.oxw(5);i.xp6(1),i.hij(" Edit on ",t.codeEditor.name," ")}}function is(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"tui-loader",22),i.NdJ("click",function(){i.CHM(t);const e=i.oxw(3).ngIf;return i.oxw().edit(e)}),i.ALo(1,"async"),i.YNc(2,es,2,1,"ng-container",23),i.YNc(3,ns,2,1,"ng-template",null,24,i.W1O),i.qZA()}if(2&t){const t=i.MAs(4),e=i.oxw(4);i.Q6J("overlay",!0)("showLoader",!!i.lcZ(1,4,e.loading$)),i.xp6(2),i.Q6J("ngIf",null==e.codeEditor?null:e.codeEditor.content)("ngIfElse",t)}}function rs(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"div",16),i.TgZ(1,"tui-tabs-with-more",17),i.NdJ("activeItemIndexChange",function(e){return i.CHM(t),i.oxw(3).activeItemIndex=e}),i.YNc(2,Ko,2,0,"ng-container",18),i.qZA(),i.YNc(3,is,5,6,"tui-loader",19),i.ALo(4,"tuiMapper"),i.qZA()}if(2&t){const t=i.oxw().ngIf,e=i.oxw().ngIf,n=i.oxw();i.xp6(1),i.Q6J("activeItemIndex",n.activeItemIndex),i.xp6(1),i.Q6J("ngForOf",t),i.xp6(1),i.Q6J("ngIf",i.xi3(4,3,e,n.visible))}}function os(t,e){if(1&t&&i.GkF(0,29),2&t){i.oxw(4);const t=i.MAs(5);i.Q6J("ngTemplateOutlet",t)}}const ss=function(t){return{$implicit:t}};function as(t,e){if(1&t&&i.GkF(0,30),2&t){const t=i.oxw(2).ngIf,e=i.oxw().ngIf,n=i.oxw(),r=i.MAs(7);i.Q6J("ngTemplateOutlet",r)("ngTemplateOutletContext",i.VKq(2,ss,(null==e?null:e[t[n.activeItemIndex]])||""))}}function ls(t,e){if(1&t&&(i.TgZ(0,"div",26),i.YNc(1,os,1,1,"ng-container",27),i.YNc(2,as,1,4,"ng-template",null,28,i.W1O),i.qZA()),2&t){const t=e.index,n=i.MAs(3),r=i.oxw(3);i.ekj("t-content_animated",!r.isE2E)("t-content_visible",r.activeItemIndex===t),i.xp6(1),i.Q6J("ngIf",t===r.defaultTabIndex)("ngIfElse",n)}}function cs(t,e){if(1&t&&(i.ynx(0),i.YNc(1,rs,5,6,"div",14),i.YNc(2,ls,4,6,"div",15),i.BQk()),2&t){const t=e.ngIf;i.xp6(1),i.Q6J("ngIf",t.length>1),i.xp6(1),i.Q6J("ngForOf",t)}}function us(t,e){if(1&t&&(i.TgZ(0,"div",12),i.YNc(1,cs,3,2,"ng-container",13),i.ALo(2,"tuiDocExampleGetTabs"),i.qZA()),2&t){const t=e.ngIf,n=i.oxw();i.xp6(1),i.Q6J("ngIf",i.xi3(2,1,t,n.defaultTab))}}function hs(t,e){1&t&&(i.TgZ(0,"div",31),i.Hsn(1),i.qZA())}function ds(t,e){if(1&t&&(i.ynx(0),i._uU(1),i.BQk()),2&t){const t=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",t," ")}}function ps(t,e){if(1&t&&(i.ynx(0),i.YNc(1,ds,2,1,"ng-container",33),i.BQk()),2&t){const t=e.$implicit,n=i.oxw().$implicit;i.xp6(1),i.Q6J("polymorpheusOutlet",t)("polymorpheusOutletContext",i.VKq(2,ss,n))}}function fs(t,e){if(1&t&&(i.TgZ(0,"tui-doc-code",32),i.YNc(1,ps,2,4,"ng-container",18),i.qZA()),2&t){const t=e.$implicit,n=i.oxw();i.Q6J("code",t),i.xp6(1),i.Q6J("ngForOf",n.codeActions)}}function gs(t,e){1&t&&i._UZ(0,"tui-svg",16),2&t&&i.Q6J("src",e.polymorpheusOutlet)}function ms(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"a",14),i.NdJ("click",function(){i.CHM(t);const e=i.oxw(4),n=i.MAs(1);return e.onClick(n)}),i._uU(1),i.YNc(2,gs,1,1,"tui-svg",15),i.qZA()}if(2&t){const t=e.$implicit;i.Q6J("fragment",t.fragment)("routerLink",t.route),i.xp6(1),i.hij(" ",t.title," "),i.xp6(1),i.Q6J("polymorpheusOutlet",t.icon)}}function vs(t,e){if(1&t&&(i.TgZ(0,"tui-opt-group",12),i.YNc(1,ms,3,4,"a",13),i.qZA()),2&t){const t=e.$implicit,n=e.index,r=i.oxw(3);i.Q6J("label",r.labels[n]||""),i.xp6(1),i.Q6J("ngForOf",t)}}function _s(t,e){if(1&t&&(i.TgZ(0,"tui-data-list"),i.YNc(1,vs,2,2,"tui-opt-group",11),i.ALo(2,"async"),i.qZA()),2&t){const t=i.oxw(2);i.xp6(1),i.Q6J("ngForOf",i.lcZ(2,1,t.filtered$))}}function ys(t,e){1&t&&(i.ynx(0),i.YNc(1,_s,3,3,"tui-data-list",10),i.BQk())}const bs=function(t,e){return{item:t,index:e}};function ws(t,e){if(1&t&&i.GkF(0,21),2&t){const t=e.$implicit,n=e.index,r=i.oxw(2).index;i.oxw();const o=i.MAs(12);i.Q6J("ngTemplateOutlet",o)("ngTemplateOutletContext",i.WLB(2,bs,t,100*r+n))}}function Cs(t,e){if(1&t&&(i.TgZ(0,"div",20),i.YNc(1,ws,1,5,"ng-container",8),i.qZA()),2&t){const t=i.oxw().index,e=i.oxw();i.xp6(1),i.Q6J("ngForOf",e.items[t])}}function xs(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"tui-accordion-item",17),i.NdJ("openChange",function(e){const n=i.CHM(t).index;return!!(i.oxw().openPagesArr[n]=e)}),i.TgZ(1,"span",18),i.TgZ(2,"strong"),i._uU(3),i.qZA(),i.qZA(),i.YNc(4,Cs,2,1,"ng-template",19),i.qZA()}if(2&t){const t=e.$implicit,n=e.index,r=i.oxw();i.Q6J("borders",null)("open",!!r.openPagesArr[n]),i.xp6(3),i.Oqu(t)}}function ks(t,e){if(1&t&&i.GkF(0,21),2&t){const t=e.$implicit,n=e.index,r=i.oxw(),o=i.MAs(12);i.Q6J("ngTemplateOutlet",o)("ngTemplateOutletContext",i.WLB(2,bs,t,r.items.length-1+n))}}function Os(t,e){1&t&&i._UZ(0,"tui-svg",16),2&t&&i.Q6J("src",e.polymorpheusOutlet)}function Ms(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"a",24),i.NdJ("click",function(){return i.CHM(t),i.oxw(2).closeMenu()}),i._uU(1),i.YNc(2,Os,1,1,"tui-svg",15),i.qZA()}if(2&t){const t=i.oxw().item,e=i.oxw();i.Q6J("routerLink",t.route)("tuiScrollIntoViewLink",e.isActive(t.route)),i.xp6(1),i.hij(" ",t.title," "),i.xp6(1),i.Q6J("polymorpheusOutlet",t.icon)}}function Ss(t,e){1&t&&i._UZ(0,"tui-svg",16),2&t&&i.Q6J("src",e.polymorpheusOutlet)}function Ps(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"button",30),i.NdJ("click",function(){i.CHM(t);const e=i.oxw(2).index;return i.oxw().onGroupClick(e)}),i._UZ(1,"tui-svg",31),i._uU(2),i.YNc(3,Ss,1,1,"tui-svg",15),i.qZA()}if(2&t){const t=i.oxw(2),e=t.index,n=t.item,r=i.oxw();i.xp6(1),i.ekj("t-chevron_active",!!r.openPagesGroupsArr[e]),i.Q6J("src",r.icons.more),i.xp6(1),i.hij(" ",n.title," "),i.xp6(1),i.Q6J("polymorpheusOutlet",n.icon)}}function Es(t,e){1&t&&i._UZ(0,"tui-svg",16),2&t&&i.Q6J("src",e.polymorpheusOutlet)}function Ts(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"a",32),i.NdJ("click",function(){return i.CHM(t),i.oxw(3).closeMenu()}),i._uU(1),i.YNc(2,Es,1,1,"tui-svg",15),i.qZA()}if(2&t){const t=e.$implicit,n=i.oxw(3);i.Q6J("fragment",t.fragment)("routerLink",t.route)("tuiScrollIntoViewLink",n.isActive(t.route)),i.xp6(1),i.hij(" ",t.title," "),i.xp6(1),i.Q6J("polymorpheusOutlet",t.icon)}}const As=function(){return{exact:!1}};function Is(t,e){if(1&t&&(i.TgZ(0,"div",25),i.YNc(1,Ps,4,5,"button",26),i.TgZ(2,"tui-expand",27),i.TgZ(3,"div",28),i.YNc(4,Ts,3,5,"a",29),i.qZA(),i.qZA(),i.qZA()),2&t){const t=i.oxw(),e=t.item,n=t.index,r=i.oxw();i.Q6J("routerLinkActiveOptions",i.DdM(4,As)),i.xp6(1),i.Q6J("ngIf",e.subPages),i.xp6(1),i.Q6J("expanded",!!r.openPagesGroupsArr[n]),i.xp6(2),i.Q6J("ngForOf",r.$pages(e.subPages))}}function Ds(t,e){if(1&t&&(i.YNc(0,Ms,3,4,"a",22),i.YNc(1,Is,5,5,"ng-template",null,23,i.W1O)),2&t){const t=e.item,n=i.MAs(2);i.Q6J("ngIf",!t.subPages)("ngIfElse",n)}}const Ns=["tuiDocHeader",""];function Ls(t,e){1&t&&i._UZ(0,"tui-doc-navigation",4)}function zs(t,e){1&t&&i._UZ(0,"img",5),2&t&&i.Q6J("src",e.polymorpheusOutlet,i.LSH)}function Fs(t,e){1&t&&(i.ynx(0),i._uU(1),i.BQk()),2&t&&(i.xp6(1),i.Oqu(", "))}function Rs(t,e){if(1&t&&(i.ynx(0),i._UZ(1,"a",2),i.YNc(2,Fs,2,1,"ng-container",3),i.BQk()),2&t){const t=e.$implicit,n=e.last,r=i.oxw();i.xp6(1),i.Q6J("innerText",t)("routerLink",r.getRouterLink(t)),i.xp6(1),i.Q6J("ngIf",!n)}}function js(t,e){if(1&t&&i._UZ(0,"a",1),2&t){const t=e.polymorpheusOutlet,n=i.oxw();i.Q6J("href",t,i.LSH)("icon",n.icons.code)("title",n.text)}}function Bs(t,e){1&t&&i._UZ(0,"tui-theme-night")}const Vs=[[["tuiDocNavigation"]],[["tuiDocHeader"]],[["tuiOverContent"]],[["tuiOverDialogs"]],[["tuiOverAlerts"]],[["tuiOverPortals"]],[["tuiOverHints"]]],$s=["tuiDocNavigation","tuiDocHeader","tuiOverContent","tuiOverDialogs","tuiOverAlerts","tuiOverPortals","tuiOverHints"];function Ys(t,e){1&t&&i._UZ(0,"tui-tag",9)}function Zs(t,e){if(1&t&&i._UZ(0,"tui-tag",10),2&t){const t=i.oxw();i.Q6J("autoColor",!0)("value",t.package)}}const qs=function(t){return{exact:t}};function Us(t,e){if(1&t&&(i.TgZ(0,"a",14),i.ALo(1,"tuiReplace"),i._uU(2),i.qZA()),2&t){const t=i.oxw().ngIf,e=i.oxw().first,n=i.oxw(2);i.Q6J("routerLink",e?"./":i.Dn7(1,3,t,n.from,n.to))("routerLinkActiveOptions",i.VKq(7,qs,e)),i.xp6(2),i.hij(" ",t," ")}}function Hs(t,e){1&t&&(i.ynx(0),i.YNc(1,Us,3,9,"a",13),i.BQk())}function Gs(t,e){if(1&t&&(i.ynx(0),i.YNc(1,Hs,2,0,"ng-container",12),i.BQk()),2&t){const t=e.$implicit,n=e.index,r=i.oxw(2);i.xp6(1),i.Q6J("ngIf",t.pageTab||r.defaultTabs[n])}}function Js(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"tui-tabs-with-more",11),i.NdJ("activeItemIndexChange",function(e){return i.CHM(t),i.oxw().activeItemIndex=e}),i.YNc(1,Gs,2,1,"ng-container",8),i.qZA()}if(2&t){const t=i.oxw();i.Q6J("activeItemIndex",t.activeItemIndex),i.xp6(1),i.Q6J("ngForOf",t.tabConnectors)}}function Xs(t,e){if(1&t&&i._UZ(0,"tui-doc-see-also",15),2&t){const t=i.oxw();i.Q6J("seeAlso",t.seeAlso)}}function Qs(t,e){if(1&t&&i.GkF(0,17),2&t){const t=i.oxw().$implicit;i.Q6J("ngTemplateOutlet",t.template)}}function Ws(t,e){if(1&t&&(i.ynx(0),i.YNc(1,Qs,1,1,"ng-container",16),i.BQk()),2&t){const t=e.index,n=i.oxw();i.xp6(1),i.Q6J("ngIf",t===n.activeItemIndex)}}let Ks=(()=>{class t{constructor(t){this.markdownCodeProcessor=t,this.rawLoader$$=new s.X(""),this.filename="",this.copy$=new a.xQ,this.icon$=this.copy$.pipe((0,u.w)(()=>(0,l.H)(2e3).pipe((0,h.U)(()=>"tuiIconCopyLarge"),(0,d.O)("tuiIconCheckLarge")))),this.processor$=this.rawLoader$$.pipe((0,u.w)(o.JQ),(0,h.U)(t=>this.markdownCodeProcessor(t)))}set code(t){this.rawLoader$$.next(t)}get hasFilename(){return!!this.filename}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(r.Es))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-doc-code"]],hostVars:2,hostBindings:function(t,e){2&t&&i.ekj("_has-filename",e.hasFilename)},inputs:{filename:"filename",code:"code"},ngContentSelectors:uo,decls:3,vars:4,consts:[["class","t-header",4,"ngIf"],["class","t-code",4,"ngFor","ngForOf"],[1,"t-header"],[1,"t-code"],[3,"lineNumbers","highlight"],[1,"t-code-actions"],["tuiIconButton","","appearance","icon","size","xs",1,"t-copy-button",3,"icon","cdkCopyToClipboard","click"]],template:function(t,e){1&t&&(i.F$t(),i.YNc(0,lo,2,1,"p",0),i.YNc(1,co,13,6,"pre",1),i.ALo(2,"async")),2&t&&(i.Q6J("ngIf",e.filename),i.xp6(1),i.Q6J("ngForOf",i.lcZ(2,2,e.processor$)))},directives:[w.O5,w.sg,Be.y$,Tt.v0,Ze],pipes:[w.Ov],styles:["[_nghost-%COMP%]{display:block}.t-header[_ngcontent-%COMP%]{font:var(--tui-font-text-s);font-weight:bold}.t-header[_ngcontent-%COMP%] + .t-code[_ngcontent-%COMP%]{border-radius:.25rem}.t-code[_ngcontent-%COMP%]{position:relative;margin:0;white-space:normal;outline:1px solid var(--tui-base-03)}.t-code[_ngcontent-%COMP%] .hljs-ln{width:-webkit-max-content;width:max-content}.t-code[_ngcontent-%COMP%] + .t-code[_ngcontent-%COMP%]{margin-top:1rem}.t-code-actions[_ngcontent-%COMP%]{position:absolute;top:.75rem;right:.75rem;display:flex;justify-content:center;align-items:center;flex-direction:row-reverse}tui-root._mobile[_nghost-%COMP%] .t-code-actions[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-code-actions[_ngcontent-%COMP%]{padding:.3125rem;border-radius:.25rem;border:1px solid var(--tui-base-04)}.t-copy-button[_ngcontent-%COMP%] +*:not(:empty){margin-right:.375rem}.hljs[_ngcontent-%COMP%]:not(:empty){font:var(--tui-font-text-m);font-size:.875rem;padding:1.5rem 2rem;font-family:monospace;word-wrap:break-word;white-space:pre-wrap}@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm){.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar, .hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar-thumb{width:1rem;height:1rem;border-radius:6.25rem;background-clip:padding-box;border:.375rem solid transparent}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar{background-color:transparent}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar-thumb{background-color:var(--tui-clear-hover)}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar-thumb:hover{background-color:var(--tui-clear-active)}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar-thumb:active{background-color:var(--tui-text-03)}}tui-root._mobile[_nghost-%COMP%] .hljs[_ngcontent-%COMP%]:not(:empty), tui-root._mobile [_nghost-%COMP%] .hljs[_ngcontent-%COMP%]:not(:empty){padding:1rem}.t-code-actions[_ngcontent-%COMP%], .hljs[_ngcontent-%COMP%]:not(:empty){background:var(--tui-base-01)}@supports (background: color-mix(in srgb,var(--tui-base-01),#222 2%)){.t-code-actions[_ngcontent-%COMP%], .hljs[_ngcontent-%COMP%]:not(:empty){background:color-mix(in srgb,var(--tui-base-01),#222 2%)}}"],changeDetection:0}),t})(),ta=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,Rt.EI,Be._l,Tt.fN,qe]]}),t})(),ea=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,Tt.fN]]}),t})(),na=(()=>{class t{constructor(t,e,n,i,r,s,l){var c,u;this.options=t,this.isMobile=e,this.el=n,this.locationRef=i,this.urlSerializer=r,this.texts=s,this.urlStateHandler=l,this.control=null,this.sticky=!0,this.template=null,this.updateOnVariants=["change","blur","submit"],this.updateOn=this.params.updateOn||this.updateOnVariants[0],this.opaque=(0,o.cd)(null===(c=this.params.sandboxOpaque)||void 0===c||c),this.expanded=(0,o.cd)(null!==(u=this.params.sandboxExpanded)&&void 0!==u&&u),this.mode=this.params.tuiMode||null,this.sandboxWidth=(0,Yt.oY)(this.params.sandboxWidth),this.change$=new a.xQ,this.items=["onLight","onDark"]}onResize(){this.updateWidth(),this.onMouseUp()}onMouseUp(){this.updateUrl({sandboxWidth:this.sandboxWidth})}ngOnInit(){this.createForm(),this.updateWidth(this.sandboxWidth+this.delta)}onModeChange(t){this.mode=t,this.updateUrl({sandboxWidth:this.sandboxWidth}),this.change$.next()}toggleDetails(){this.expanded=!this.expanded,this.updateUrl({sandboxExpanded:this.expanded})}changeOpaque(t){this.opaque=t,this.updateUrl({sandboxOpaque:this.opaque})}updateOnChange(t){this.updateOn=t,this.updateUrl({updateOn:t}),this.createForm()}updateWidth(t=NaN){if(!this.resizer||!this.resizeable||!this.content)return;const e=t||this.resizeable.nativeElement.clientWidth,n=this.el.nativeElement.clientWidth,i=Math.round((0,Yt.Ki)(e,160,n))-this.delta,r=et)}])],ngContentSelectors:uo,decls:16,vars:14,consts:[[1,"t-bg-toggle",3,"tuiMode"],["tooltip",""],[4,"ngIf","ngIfElse"],["desktop",""],["size","m",1,"t-checkbox",3,"ngModel","ngModelChange"],["tuiResizeable","",1,"t-wrapper"],["id","demo-content",1,"t-content"],["content",""],["class","t-form",3,"formGroup",4,"ngIf"],[1,"t-resizer",3,"tuiResizer","tuiSizeChange"],["resizer",""],["routerLink","/directives/mode","tuiLink","","tuiMode","onDark"],["tuiTextfieldSize","s",1,"t-mode",3,"ngModel","tuiHintContent","tuiTextfieldCleaner","ngModelChange"],[3,"items",4,"tuiDataList"],[3,"items"],["describeId","form",3,"content"],["tuiGroup","",1,"t-group",3,"collapsed"],["nativeId","form","size","s",1,"tui-group__auto-width-item",3,"hideRadio","item","ngModel","ngModelChange"],["item","onDark","nativeId","form","size","s",1,"tui-group__auto-width-item",3,"hideRadio","ngModel","ngModelChange"],["item","onLight","nativeId","form","size","s",1,"tui-group__auto-width-item",3,"hideRadio","ngModel","ngModelChange"],[1,"t-form",3,"formGroup"],[1,"t-input-wrapper"],[3,"ngTemplateOutlet"],["automation-id","tui-demo-button__toggle-details","size","s","tuiButton","","type","button",1,"t-button",3,"iconRight","click"],["icon",""],[1,"t-expand",3,"expanded"],["tuiExpandContent",""],[1,"t-icon",3,"src"],[1,"t-value"],["tuiGroup","",1,"t-form-controls"],["automation-id","tui-demo-select__expand-update-on","tuiTextfieldSize","s",1,"t-select",3,"ngModel","ngModelOptions","ngModelChange"],["automation-id","tui-demo-button__reset-state","size","s","tuiButton","","type","reset",1,"tui-group__auto-width-item"],["automation-id","tui-demo-button__submit-state","size","s","tuiButton","","type","submit",1,"tui-group__auto-width-item"]],template:function(t,e){if(1&t&&(i.F$t(),i.TgZ(0,"div",0),i.YNc(1,fo,4,1,"ng-template",null,1,i.W1O),i.YNc(3,mo,4,3,"ng-container",2),i.YNc(4,vo,9,9,"ng-template",null,3,i.W1O),i.TgZ(6,"tui-checkbox-labeled",4),i.NdJ("ngModelChange",function(t){return e.changeOpaque(t)}),i._uU(7),i.qZA(),i.qZA(),i.TgZ(8,"div",5),i.TgZ(9,"div",6),i.TgZ(10,"div",null,7),i.YNc(12,Co,9,5,"form",8),i.Hsn(13),i.qZA(),i.qZA(),i.TgZ(14,"div",9,10),i.NdJ("tuiSizeChange",function(t){return e.updateWidth(t[0])}),i.qZA(),i.qZA()),2&t){const t=i.MAs(5);i.Q6J("tuiMode",null),i.xp6(3),i.Q6J("ngIf",e.isMobile)("ngIfElse",t),i.xp6(3),i.Q6J("ngModel",e.opaque),i.xp6(1),i.hij(" ",e.texts[1]," "),i.xp6(1),i.ekj("t-wrapper_dark","onDark"===e.mode)("t-wrapper_gray","onLight"===e.mode)("t-wrapper_transparent",!e.opaque),i.xp6(4),i.Q6J("ngIf",e.testForm),i.xp6(2),i.Q6J("tuiResizer",i.DdM(13,xo))}},directives:[At.w,w.O5,Ur.p,yn.JJ,yn.On,Je,Xe,$i.yS,It.V,qn,Un,Dt.sz,Nt.bZ,Dt.be,Lt.gX,mn,zt.w,Ft.gZ,li,yn._Y,yn.JL,yn.sg,w.tP,Tt.v0,S,M,Rt.PN],pipes:[w.Ts],styles:['[_nghost-%COMP%]{position:relative;display:block;min-width:100%;margin:1.5rem 0}.t-bg-toggle[_ngcontent-%COMP%]{position:absolute;bottom:calc(100% + .75rem);display:flex;align-items:center;justify-content:flex-end;pointer-events:none;width:100%}.t-bg-toggle[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{pointer-events:auto}.t-wrapper[_ngcontent-%COMP%]{box-shadow:0 1.5rem 1rem #00000008,0 .75rem .75rem #0000000a,0 .25rem .375rem #0000000d;display:flex;border:1px solid var(--tui-base-03);border-radius:var(--tui-radius-m);max-width:100%;min-height:6rem;width:100%;min-width:10rem;background-color:var(--tui-base-01);overflow:hidden}.t-wrapper.t-wrapper_transparent[_ngcontent-%COMP%]{background-image:linear-gradient(45deg,var(--tui-base-02) 25%,transparent 25%),linear-gradient(-45deg,var(--tui-base-02) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--tui-base-02) 75%),linear-gradient(-45deg,transparent 75%,var(--tui-base-02) 75%);background-size:1.25rem 1.25rem;background-position:0 0,0 .625rem,.625rem -.625rem,-.625rem 0}.t-wrapper.t-wrapper_dark[_ngcontent-%COMP%]{background-color:#454e58;color:var(--tui-base-01)}.t-wrapper.t-wrapper_gray[_ngcontent-%COMP%]{background-color:#e5e7ea}.t-wrapper.t-wrapper_dark.t-wrapper_transparent[_ngcontent-%COMP%]{background-image:linear-gradient(45deg,var(--tui-focus) 25%,transparent 25%),linear-gradient(-45deg,var(--tui-focus) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--tui-focus) 75%),linear-gradient(-45deg,transparent 75%,var(--tui-focus) 75%)}.t-wrapper.t-wrapper_gray.t-wrapper_transparent[_ngcontent-%COMP%]{background-image:linear-gradient(45deg,var(--tui-base-05) 25%,transparent 25%),linear-gradient(-45deg,var(--tui-base-05) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--tui-base-05) 75%),linear-gradient(-45deg,transparent 75%,var(--tui-base-05) 75%)}tui-root._mobile[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{min-height:auto}.t-content[_ngcontent-%COMP%]{flex:1 1 0;min-width:0;padding:1.5rem;box-sizing:border-box;overflow:hidden}tui-root._mobile[_nghost-%COMP%] .t-content[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:1rem}.t-form[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:flex-start}.t-input-wrapper[_ngcontent-%COMP%]{width:100%;margin-bottom:.5rem}.t-expand[_ngcontent-%COMP%]{width:100%}.t-icon[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out}.t-icon_rotated[_ngcontent-%COMP%]{transform:rotate(180deg)}.t-value[_ngcontent-%COMP%]{flex:1;background:var(--tui-clear-inverse);padding:.75rem;border-radius:.25rem}.t-mode[_ngcontent-%COMP%]{width:12.5rem}.t-select[_ngcontent-%COMP%]{max-width:15rem}.t-resizer[_ngcontent-%COMP%]{box-shadow:0 1.5rem 1rem #00000008,0 .75rem .75rem #0000000a,0 .25rem .375rem #0000000d;position:relative;width:3.5rem;min-height:inherit;display:flex;align-items:center;justify-content:center;flex-shrink:0;border-left:1px solid var(--tui-base-03);outline:none;background:var(--tui-base-01);color:var(--tui-text-01)}.t-resizer[_ngcontent-%COMP%]:before, .t-resizer[_ngcontent-%COMP%]:after{content:"";position:absolute;top:.75rem;left:50%;bottom:calc(50% + 1rem);width:1px;background:var(--tui-base-04);box-shadow:-.25rem 0 var(--tui-base-04);transform:translate(0)}.t-resizer[_ngcontent-%COMP%]:after{bottom:.75rem;top:calc(50% + 1rem)}tui-root._mobile[_nghost-%COMP%] .t-resizer[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-resizer[_ngcontent-%COMP%]{display:none}.t-resizer-text[_ngcontent-%COMP%]{font:var(--tui-font-text-s);position:relative;z-index:1;padding:.75rem;background:var(--tui-base-01)}.wrapper_light[_ngcontent-%COMP%] .t-resizer-text[_ngcontent-%COMP%]{background:#3e464e}.t-group[_ngcontent-%COMP%], .t-checkbox[_ngcontent-%COMP%]{margin-left:.75rem}.t-button[_ngcontent-%COMP%], .t-form-controls[_ngcontent-%COMP%]{margin-top:.75rem}@supports ((position: -webkit-sticky) or (position: sticky)){@media screen and (min-height: 37.5rem){._sticky[_nghost-%COMP%]{position:-webkit-sticky;position:sticky;top:4.625rem;z-index:2}}}'],changeDetection:0}),(0,Ue.gn)([sn.UM],t.prototype,"updateUrl",null),t})(),ia=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,yn.UX,yn.u5,$i.Bz,It.j,Tt.fN,Hn,P,Ft.n6,zt.Q,At.z,ci,Ur.s,Rt.EI,vn,Lt.pc,Dt.cn,Nt.go,Qe]]}),t})(),ra=(()=>{class t{constructor(t,e,n,r,o){this.template=t,this.locationRef=e,this.activatedRoute=n,this.urlSerializer=r,this.urlStateHandler=o,this.documentationPropertyName="",this.documentationPropertyMode=null,this.documentationPropertyType="",this.documentationPropertyDeprecated=!1,this.documentationPropertyValues=null,this.documentationPropertyValueChange=new i.vpe,this.changed$=new a.xQ,this.emits$=new s.X(1)}ngOnInit(){this.parseParams(this.activatedRoute.snapshot.queryParams)}get attrName(){switch(this.documentationPropertyMode){case"input":return`[${this.documentationPropertyName}]`;case"output":return`(${this.documentationPropertyName})`;case"input-output":return`[(${this.documentationPropertyName})]`;default:return this.documentationPropertyName}}get hasItems(){return!!this.documentationPropertyValues}get shouldShowValues(){return"output"!==this.documentationPropertyMode}ngOnChanges(){this.changed$.next()}onValueChange(t){this.documentationPropertyValue=t,this.documentationPropertyValueChange.emit(t),this.setQueryParam(t)}emitEvent(t){console.info(this.attrName,t),this.emits$.next(this.emits$.value+1)}parseParams(t){const e=t[this.documentationPropertyName],n=t[`${this.documentationPropertyName}$`];if(!e&&!n)return;let i=n&&this.documentationPropertyValues?this.documentationPropertyValues[n]:(0,o.p8)(e);"string"===this.documentationPropertyType&&(0,L.dt)(i)&&(i=i.toString()),this.onValueChange(i)}setQueryParam(t){const e=this.urlSerializer.parse(this.locationRef.path()),n=t instanceof Object,i=n&&this.documentationPropertyValues?this.documentationPropertyValues.indexOf(t):t,r=this.documentationPropertyName+(n?"$":"");e.queryParams=Object.assign(Object.assign({},e.queryParams),{[r]:i}),this.locationRef.go(this.urlStateHandler(e))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.Rgc),i.Y36(w.Ye),i.Y36($i.gz),i.Y36($i.Hx),i.Y36(r.Ii))},t.\u0275dir=i.lG2({type:t,selectors:[["ng-template","documentationPropertyName",""]],inputs:{documentationPropertyName:"documentationPropertyName",documentationPropertyMode:"documentationPropertyMode",documentationPropertyType:"documentationPropertyType",documentationPropertyValue:"documentationPropertyValue",documentationPropertyDeprecated:"documentationPropertyDeprecated",documentationPropertyValues:"documentationPropertyValues"},outputs:{documentationPropertyValueChange:"documentationPropertyValueChange"},exportAs:["documentationProperty"],features:[i.TTD]}),t})(),oa=(()=>{class t{transform(t){return 4===t.length?t.split("").reduce((t,e)=>[...t,e,e],[]).join("").replace("#",""):t.startsWith("#")?t:"transparent"===t?"#000000":function(t,e,n){return`#${[t,e,n].map(t=>t.toString(16).padStart(2,"0")).join("")}`}(...t.replace("rgb(","").replace("rgba(","").replace(")","").replace(" ","").split(",").map(t=>Number.parseInt(t,10)))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Yjl({name:"tuiGetColorPipe",type:t,pure:!0}),t})(),sa=(()=>{class t{transform(t){if(t.startsWith("#")||t.startsWith("rgb("))return 100;if("transparent"===t)return 0;const e=t.lastIndexOf(","),n=t.slice(e).replace(")","").replace(" ","").replace(",","");return Math.round(100*Number.parseFloat(n))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Yjl({name:"tuiGetOpacity",type:t,pure:!0}),t})(),aa=(()=>{class t{constructor(t,e){this.renderer=t,this.focusable=e}set tuiInputOpacity(t){const{nativeFocusableElement:e}=this.focusable;e&&this.renderer.setStyle(e,"opacity",t/100)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.Qsj),i.Y36(N.KZ))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiInputOpacity",""]],inputs:{tuiInputOpacity:"tuiInputOpacity"}}),t})(),la=(()=>{class t{transform(t){return t.replace("?","")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Yjl({name:"tuiStripOptionalPipe",type:t,pure:!0}),t})(),ca=(()=>{class t{transform(t){return t.includes("?")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Yjl({name:"tuiIsOptionalPipe",type:t,pure:!0}),t})(),ua=(()=>{class t{transform(t){return t.includes("PolymorpheusContent")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Yjl({name:"tuiShowContentTooltip",type:t,pure:!0}),t})(),ha=(()=>{class t{transform(t){return t.includes("null")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Yjl({name:"tuiShowCleanerPipe",type:t,pure:!0}),t})(),da=(()=>{class t{constructor(t){this.isE2E=t}transform(t,e=2){return this.isE2E&&"function"==typeof t?"\u03bb(x) => y":(0,o.sj)(t,e)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(N.oD,16))},t.\u0275pipe=i.Yjl({name:"tuiInspectAny",type:t,pure:!0}),t})(),pa=(()=>{class t{transform(t){return(0,L.Aj)(t)||(0,L.dt)(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Yjl({name:"tuiIsPrimitivePolymorpheusContentPipe",type:t,pure:!0}),t})(),fa=(()=>{class t{constructor(t,e,n,i,r,o){this.cdr=t,this.texts=e,this.excludedProperties=n,this.destroy$=i,this.getColor=r,this.getOpacity=o,this.heading="",this.showValues=!0,this.isAPI=!1,this.propertiesConnectors=y.Mm,this.activeItemIndex=0,this.matcher=(t,e)=>!e.has(t.documentationPropertyName)}ngAfterContentInit(){(0,Ce.ll)(this.propertiesConnectors).pipe((0,u.w)(t=>(0,c.T)(...t.map(({changed$:t})=>t))),(0,Ce.NA)(this.cdr),(0,p.R)(this.destroy$)).subscribe()}get type(){return this.isAPI?this.texts[0]:this.texts[1]}onColorChange(t,e){const n=this.getOpacity.transform(t.documentationPropertyValue||"");if(100===n)return void t.onValueChange(e);const i=`rgba(${on(e).join(", ")}, ${n/100})`;t.onValueChange(i)}onOpacityChange(t,e){const n=`rgba(${on(this.getColor.transform(t.documentationPropertyValue||""))}, ${(e||0)/100})`;t.onValueChange(n)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.sBO),i.Y36(r.IK),i.Y36(r.et),i.Y36(D.a3,2),i.Y36(oa),i.Y36(sa))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-doc-documentation"]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,ra,4),2&t){let t;i.iGM(t=i.CRH())&&(e.propertiesConnectors=t)}},inputs:{heading:"heading",showValues:"showValues",isAPI:"isAPI"},features:[i._Bn([oa,sa,D.a3])],ngContentSelectors:uo,decls:4,vars:6,consts:[["class","t-heading",4,"ngIf"],[4,"ngIf"],[1,"t-heading"],["class","t-table",4,"ngIf"],[1,"t-table"],[1,"t-row","t-row_header"],[1,"t-th","t-cell","t-cell_prop"],[1,"t-th"],["class","t-th t-cell t-th_value",4,"ngIf"],["class","t-row",3,"t-deprecated",4,"ngFor","ngForOf"],[1,"t-th","t-cell","t-th_value"],[1,"t-row"],[1,"t-cell"],["automation-id","tui-documentation__property-name",1,"t-property"],["size","s","value","Optional",4,"ngIf"],["class","t-deprecated-label",4,"ngIf"],[3,"ngTemplateOutlet"],[1,"type"],[3,"content","describeId",4,"ngIf"],["class","t-cell t-cell_value",4,"ngIf"],["size","s","value","Optional"],[1,"t-deprecated-label"],[3,"content","describeId"],["content",""],["href","https://github.com/taiga-family/ng-polymorpheus","rel","noreferrer","target","_blank","tuiLink","","tuiMode","onDark"],[1,"t-cell","t-cell_value"],[4,"ngIf","ngIfElse"],["elseEmitter",""],["tuiDropdownLimitWidth","min","tuiTextfieldSize","m",3,"nativeId","ngModel","tuiTextfieldCleaner","tuiTextfieldLabelOutside","valueContent","ngModelChange",4,"ngIf","ngIfElse"],["selectContent",""],["noItems",""],["tuiDropdownLimitWidth","min","tuiTextfieldSize","m",3,"nativeId","ngModel","tuiTextfieldCleaner","tuiTextfieldLabelOutside","valueContent","ngModelChange"],[1,"t-exception"],[3,"itemContent","items",4,"tuiDataList"],[3,"itemContent","items"],[3,"ngSwitch"],["size","l",3,"nativeId","ngModel","showIcons","ngModelChange",4,"ngSwitchCase"],["tuiTextfieldSize","m",3,"nativeId","tuiTextfieldCleaner","tuiTextfieldLabelOutside","value","valueChange",4,"ngSwitchCase"],["tuiGroup","",4,"ngSwitchCase"],["tuiTextfieldSize","m",3,"nativeId","ngModel","step","tuiTextfieldLabelOutside","ngModelChange",4,"ngSwitchCase"],[4,"ngSwitchCase"],["size","l",3,"nativeId","ngModel","showIcons","ngModelChange"],["tuiTextfieldSize","m",3,"nativeId","tuiTextfieldCleaner","tuiTextfieldLabelOutside","value","valueChange"],["tuiGroup",""],["tuiTextfieldSize","m",3,"tuiInputOpacity","tuiTextfieldLabelOutside","value","valueChange"],["tuiTextfield","","type","text"],["tuiTextfieldSize","m",3,"max","min","ngModel","step","ngModelChange"],["tuiTextfieldSize","m",3,"nativeId","ngModel","step","tuiTextfieldLabelOutside","ngModelChange"],["tuiTextfieldSize","m",3,"nativeId","tuiTextfieldCleaner","tuiTextfieldLabelOutside","value","valueChange",4,"ngIf"],[1,"t-output"]],template:function(t,e){1&t&&(i.F$t(),i.YNc(0,ko,2,1,"h1",0),i.Hsn(1),i.YNc(2,qo,2,1,"ng-container",1),i.ALo(3,"tuiFilter")),2&t&&(i.Q6J("ngIf",e.heading),i.xp6(2),i.Q6J("ngIf",i.Dn7(3,2,e.propertiesConnectors,e.matcher,e.excludedProperties)))},directives:[w.O5,w.sg,w.tP,di,zt.w,It.V,At.w,qn,Un,jt.Ek,Dt.sz,yn.JJ,yn.On,Dt.be,Dt.xT,Lt.gX,mn,w.RF,w.n9,ki,Bt.yc,Bt.B1,Ft.gZ,aa,Bt.MB,ji,Bi,Vt.L],pipes:[We,la,ca,ua,ha,da,sa,oa,pa,w.Ov],styles:["[_nghost-%COMP%]{display:block;min-width:100%}.t-table[_ngcontent-%COMP%]{width:100%;table-layout:fixed}.t-row[_ngcontent-%COMP%]:not(:last-child){border-bottom:1px solid var(--tui-base-03)}tui-root._mobile[_nghost-%COMP%] .t-row[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-row[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}tui-root._mobile[_nghost-%COMP%] .t-row_header[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-row_header[_ngcontent-%COMP%]{display:none}.t-cell[_ngcontent-%COMP%]{padding:1rem 1rem .875rem}.t-cell[_ngcontent-%COMP%]:first-child{padding-left:0}.t-cell[_ngcontent-%COMP%]:last-child{padding-right:0}.t-cell_prop[_ngcontent-%COMP%]{width:40%}.t-cell_value[_ngcontent-%COMP%]{text-align:right}tui-root._mobile[_nghost-%COMP%] .t-cell[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-cell[_ngcontent-%COMP%]{width:100%;height:auto;padding:.5rem 0;text-align:left}.t-th[_ngcontent-%COMP%]{padding:.5rem 1rem;color:var(--tui-text-02);font-weight:normal;text-align:left}.t-th_value[_ngcontent-%COMP%]{max-width:20rem;text-align:right}tui-root._mobile[_nghost-%COMP%] .t-th_value[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-th_value[_ngcontent-%COMP%]{width:9.375rem}.t-property[_ngcontent-%COMP%]{font:var(--tui-font-text-m);margin-bottom:.25rem;font-family:monospace;color:#8f75d1}tui-root._mobile[_nghost-%COMP%] .t-property[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-property[_ngcontent-%COMP%]{padding:.5rem 0}.t-type[_ngcontent-%COMP%]{font-family:monospace}.t-deprecated[_ngcontent-%COMP%]{background-color:var(--tui-error-bg);box-shadow:-1rem 0 var(--tui-error-bg),1rem 0 var(--tui-error-bg)}.t-deprecated-label[_ngcontent-%COMP%]{margin-right:.125rem;color:var(--tui-error-fill)}.t-exception[_ngcontent-%COMP%]{display:block;width:-webkit-max-content;width:max-content}.t-output[_ngcontent-%COMP%]{text-align:left;opacity:0}.t-heading[_ngcontent-%COMP%]{font:var(--tui-font-heading-4)}"],data:{animation:[(0,T.X$)("emitEvent",[(0,T.eR)(":increment",[(0,T.oB)({opacity:1}),(0,T.jt)("500ms ease-in")])])]},changeDetection:0}),t})(),ga=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})(),ma=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,yn.u5,$i.Bz,pi,Hn,Oi,zt.Q,It.j,Vi,At.z,Ft.n6,ga,Bt.KW,Dt.cn,jt.dp,Lt.pc,vn,Vt.H,Ke]]}),t})();const va={codeEditorVisibilityHandler:t=>Boolean(t.TypeScript&&t.HTML),tabTitles:new Map,fullsize:!0,linkIcon:"tuiIconLink"},_a=(0,L.JN)(va);function ya(t){return(0,L.vK)(_a,t,va)}let ba=(()=>{class t{transform(t){return(0,L.Aj)(t)?function(t){return`${t.charAt(0).toUpperCase()}${t.slice(1)}`}(t):t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Yjl({name:"tuiDocExampleCapitalize",type:t,pure:!0}),t})(),wa=(()=>{class t{transform(t,e){return[e,...Object.keys(t)]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Yjl({name:"tuiDocExampleGetTabs",type:t,pure:!0}),t})(),Ca=(()=>{class t{constructor(t,e,n,i,r,l,c,d,p,f,g,m,v){this.clipboard=t,this.alerts=e,this.location=n,this.copyTexts$=i,this.texts=r,this.codeEditor=l,this.processContent=c,this.isE2E=d,this.codeActions=p,this.router=f,this.route=g,this.ngLocation=m,this.options=v,this.rawLoader$$=new s.X({}),this.id=null,this.fullsize=this.options.fullsize,this.componentName=this.location.pathname.slice(1),this.defaultTabIndex=0,this.defaultTab=this.texts[this.defaultTabIndex],this.activeItemIndex=this.defaultTabIndex,this.copy$=this.copyTexts$.pipe((0,h.U)(([t])=>t)),this.processor$=this.rawLoader$$.pipe((0,u.w)(o.vP),(0,h.U)(t=>this.processContent(t))),this.loading$=new a.xQ,this.visible=t=>Boolean(this.codeEditor&&this.options.codeEditorVisibilityHandler(t))}set content(t){this.rawLoader$$.next(t)}getTabTitle(t){return this.options.tabTitles.get(t)||t}copyExampleLink(){const t=this.location.href.indexOf("#"),e=`${t>-1?this.location.href.slice(0,Math.max(0,t)):this.location.href}#${this.id}`;this.setFragmentWithoutRedirect(this.id),this.clipboard.copy(e),this.alerts.open(this.texts[1],{label:this.texts[2],status:"success"}).subscribe()}edit(t){var e;this.loading$.next(!0),null===(e=this.codeEditor)||void 0===e||e.edit(this.componentName,this.id||"",t).then(()=>this.loading$.next(!1)).catch(()=>this.loading$.next(!1))}setFragmentWithoutRedirect(t){const e=this.router.createUrlTree([],{relativeTo:this.route,fragment:t||""}).toString();this.ngLocation.go(e)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36($e),i.Y36(te),i.Y36(I.Ct),i.Y36(cn.UV),i.Y36(r.mv),i.Y36(r.lW,8),i.Y36(r.$_),i.Y36(N.oD),i.Y36(r.mT),i.Y36($i.F0),i.Y36($i.gz),i.Y36(w.Ye),i.Y36(_a))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-doc-example"]],hostVars:2,hostBindings:function(t,e){2&t&&i.ekj("_fullsize",e.fullsize)},inputs:{id:"id",heading:"heading",description:"description",content:"content",fullsize:"fullsize",componentName:"componentName"},ngContentSelectors:uo,decls:8,vars:5,consts:[["class","t-title",4,"ngIf"],["class","t-description",4,"ngIf"],["class","t-example",4,"ngIf"],["preview",""],["codeSection",""],[1,"t-title"],[3,"textContent",4,"polymorpheusOutlet"],["appearance","icon","size","xs","tuiIconButton","","type","button","class","t-link-icon",3,"icon","title","click",4,"ngIf"],[3,"textContent"],["appearance","icon","size","xs","tuiIconButton","","type","button",1,"t-link-icon",3,"icon","title","click"],[1,"t-description"],[4,"polymorpheusOutlet"],[1,"t-example"],[4,"ngIf"],["class","t-tabs-wrapper",4,"ngIf"],["class","t-content",3,"t-content_animated","t-content_visible",4,"ngFor","ngForOf"],[1,"t-tabs-wrapper"],[1,"t-tabs",3,"activeItemIndex","activeItemIndexChange"],[4,"ngFor","ngForOf"],["size","xs",3,"overlay","showLoader","click",4,"ngIf"],["tuiTab","",4,"tuiItem"],["tuiTab",""],["size","xs",3,"overlay","showLoader","click"],[4,"ngIf","ngIfElse"],["defaultEditContent",""],["appearance","flat","size","s","tuiButton","","type","button"],[1,"t-content"],[3,"ngTemplateOutlet",4,"ngIf","ngIfElse"],["anotherTab",""],[3,"ngTemplateOutlet"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["automation-id","tui-doc-example",1,"t-demo"],[3,"code"],[4,"polymorpheusOutlet","polymorpheusOutletContext"]],template:function(t,e){1&t&&(i.F$t(),i.YNc(0,Go,4,4,"h3",0),i.YNc(1,Xo,3,3,"h4",1),i.YNc(2,us,3,4,"div",2),i.ALo(3,"async"),i.YNc(4,hs,2,0,"ng-template",null,3,i.W1O),i.YNc(6,fs,2,2,"ng-template",null,4,i.W1O)),2&t&&(i.Q6J("ngIf",e.heading),i.xp6(1),i.Q6J("ngIf",e.description),i.xp6(1),i.Q6J("ngIf",i.lcZ(3,3,e.processor$)))},directives:[w.O5,q.Li,Tt.v0,w.sg,_r,tn,hr,b.kM,w.tP,Ks],pipes:[w.Ov,ba,wa,tt],styles:["[_nghost-%COMP%]{position:relative;display:block;padding-top:3.5rem;clear:right}[_nghost-%COMP%] tui-root._mobile[_nghost-%COMP%], tui-root._mobile [_nghost-%COMP%]{padding-top:2rem}.t-title[_ngcontent-%COMP%]{font:var(--tui-font-heading-5);margin:0 0 .5rem}tui-root._mobile[_nghost-%COMP%] .t-title[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-title[_ngcontent-%COMP%]{font:var(--tui-font-heading-6)}.t-description[_ngcontent-%COMP%]{font:var(--tui-font-text-m);font-weight:normal;margin:0}.t-example[_ngcontent-%COMP%]{position:relative;margin-top:1.5rem;border:1px solid var(--tui-base-03);border-radius:var(--tui-radius-m);box-shadow:0 .125rem .1875rem #0000001a;overflow:hidden}tui-root._mobile[_nghost-%COMP%] .t-example[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-example[_ngcontent-%COMP%]{margin-top:.75rem}.t-tabs-wrapper[_ngcontent-%COMP%]{display:flex;padding:0 .875rem 0 2rem;box-shadow:inset 0 -1px var(--tui-base-03);justify-content:space-between;align-items:center}tui-root._mobile[_nghost-%COMP%] .t-tabs-wrapper[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-tabs-wrapper[_ngcontent-%COMP%]{padding:0 .875rem 0 1rem}.t-tabs[_ngcontent-%COMP%]{flex-grow:1}.t-demo[_ngcontent-%COMP%]{padding:2rem;max-width:100%;box-sizing:border-box;overflow-x:auto}@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm){.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar, .t-demo[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{width:1rem;height:1rem;border-radius:6.25rem;background-clip:padding-box;border:.375rem solid transparent}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar{background-color:transparent}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:var(--tui-clear-hover)}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:var(--tui-clear-active)}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:active{background-color:var(--tui-text-03)}}tui-root._mobile[_nghost-%COMP%] .t-demo[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-demo[_ngcontent-%COMP%]{padding:1rem}[_nghost-%COMP%]:not(._fullsize) .t-demo[_ngcontent-%COMP%]{width:-webkit-min-content;width:min-content;min-width:20rem}.t-link-icon[_ngcontent-%COMP%]{margin-left:.3rem;vertical-align:baseline}.t-content[_ngcontent-%COMP%]{will-change:opacity;height:0;visibility:hidden;opacity:0}.t-content_animated[_ngcontent-%COMP%]{transition:opacity .3s ease-in-out}.t-content_visible[_ngcontent-%COMP%]{height:auto;visibility:visible;opacity:1}"],changeDetection:0}),t})(),xa=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,qe,yr,Tt.fN,ea,ta,q.wq,et,b.dS]]}),t})();function ka(t){return t.map(({section:t})=>t).filter(L.Pc).filter((t,e,n)=>n.indexOf(t)===e)}const Oa=new i.OlP("[NAVIGATION_TITLE]"),Ma=new i.OlP("[NAVIGATION_LABELS]"),Sa=new i.OlP("[NAVIGATION_ITEMS]"),Pa=[D.a3,{provide:Oa,deps:[$i.F0,$i.gz,r.Yx,D.a3],useFactory:(t,e,n,i)=>t.events.pipe((0,f.h)(t=>t instanceof $i.m2),(0,h.U)(()=>e.firstChild),(0,f.h)(L.Pc),(0,g.zg)(({data:t})=>t),(0,h.U)(({title:t})=>`${n}${t}`),(0,p.R)(i))},{provide:Ma,deps:[r.V5],useFactory:ka},{provide:Sa,deps:[r.V5],useFactory:t=>[...ka(t).map(e=>t.filter(({section:t})=>t===e)),t.filter(t=>!t.section)]}];let Ea=(()=>{class t{constructor(t,e,n,i,r,o,s,a,l,c,u,p,g,m,v,_){this.doc=i,this.mode=r,this.sidebar=o,this.labels=s,this.items=a,this.searchText=l,this.router=c,this.activatedRoute=u,this.destroy$=p,this.readyToScroll$=g,this.scrollBehavior=m,this.docIcons=v,this.icons=_,this.menuOpen=!1,this.openPagesArr=[],this.openPagesGroupsArr=[],this.active="",this.search=new yn.NI(""),this.filtered$=(0,Ce.EK)(this.search).pipe((0,f.h)(t=>t.trim().length>2),(0,h.U)(t=>this.filterItems(this.flattenSubPages(this.items),t))),this.mode$=this.mode.change$.pipe((0,d.O)(null),(0,h.U)(()=>this.mode.mode||"onLight")),n.subscribe(n=>{t.markForCheck(),e.setTitle(n),this.openActivePageGroup(),this.handleAnchorLink(this.activatedRoute.snapshot.fragment||"")})}get canOpen(){var t,e;return(null!==(e=null===(t=this.search.value)||void 0===t?void 0:t.length)&&void 0!==e?e:0)>2}get itemsWithoutSections(){return this.items[this.items.length-1]}$pages(t){return t}isActive(t){return t===this.active}onGroupClick(t){this.openPagesGroupsArr[t]=!this.openPagesGroupsArr[t]}closeMenu(){this.menuOpen=!1}onClick(t){t.open=!1,this.menuOpen=!1,this.search.setValue(""),this.openActivePageGroup()}filterItems(t,e){return t.map(t=>(0,L.pf)(t.filter(({title:t,keywords:n=""})=>(e=e.toLowerCase().trim(),n=n.toLowerCase(),(t=t.toLowerCase()).includes(e)||n.includes(e)||t.includes((0,o.OO)(e))||n.includes((0,o.OO)(e))||e.replace(/-/gi,"").includes(t)||t.includes(e.replace(/\s|tui/g,""))||n.includes(e.replace(/\s|tui/g,""))||e.split(/\s/).find(e=>t.includes(e)))),"title"))}flattenSubPages(t){return t.reduce((t,e)=>[...t,e.reduce((t,e)=>"subPages"in e?[...t,...e.subPages]:[...t,e],[])],[])}isActiveRoute(t){return this.router.isActive(t,{paths:"subset",queryParams:"subset",fragment:"ignored",matrixParams:"ignored"})}handleAnchorLink(t){this.readyToScroll$.pipe((0,f.h)(Boolean),(0,m.q)(1),(0,p.R)(this.destroy$)).subscribe(()=>this.navigateToAnchorLink(t))}openActivePageGroup(){this.items.forEach((t,e)=>{t.forEach((t,n)=>{"route"in t&&this.isActiveRoute(t.route)&&(this.openPagesArr[e]=!0,this.active=t.route),"subPages"in t&&t.subPages.forEach(t=>{this.isActiveRoute(t.route)&&(this.openPagesArr[e]=!0,this.openPagesGroupsArr[100*e+n]=!0,this.active=t.route)})})})}navigateToAnchorLink(t){const e=t?this.doc.querySelectorAll(`#${t}`):[],n=e.length&&e[e.length-1];!n||(n.classList.add("tui-doc-animated-example"),n.scrollIntoView({block:"start",inline:"nearest",behavior:this.scrollBehavior}))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.sBO),i.Y36(A.Dx),i.Y36(Oa),i.Y36(w.K0),i.Y36(At.w),i.Y36(Xr,8),i.Y36(Ma),i.Y36(Sa),i.Y36(r.EI),i.Y36($i.F0),i.Y36($i.gz),i.Y36(D.a3,2),i.Y36(r.V1),i.Y36(r.n1),i.Y36(r.oq),i.Y36(at.Gs))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-doc-navigation"]],hostVars:2,hostBindings:function(t,e){2&t&&i.ekj("_open",e.menuOpen)},features:[i._Bn(Pa)],ngContentSelectors:uo,decls:14,vars:14,consts:[["tuiTextfieldSize","m",1,"t-input",3,"formControl","tuiAutoFocus","tuiTextfieldCleaner","tuiTextfieldIconLeft","tuiTextfieldLabelOutside"],["input",""],[4,"ngIf"],[1,"t-navigation"],[1,"t-scrollbar",3,"tuiMode"],[3,"closeOthers","rounded"],["size","s",3,"borders","open","openChange",4,"ngFor","ngForOf"],[1,"t-items-container"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngFor","ngForOf"],["pages",""],[4,"tuiDataList"],[3,"label",4,"ngFor","ngForOf"],[3,"label"],["tuiOption","",3,"fragment","routerLink","click",4,"ngFor","ngForOf"],["tuiOption","",3,"fragment","routerLink","click"],["class","t-icon",3,"src",4,"polymorpheusOutlet"],[1,"t-icon",3,"src"],["size","s",3,"borders","open","openChange"],[1,"t-label"],["tuiAccordionItemContent",""],[1,"t-section"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["routerLinkActive","t-sublink_active","tuiLink","","class","t-sublink",3,"routerLink","tuiScrollIntoViewLink","click",4,"ngIf","ngIfElse"],["subPagesTemplate",""],["routerLinkActive","t-sublink_active","tuiLink","",1,"t-sublink",3,"routerLink","tuiScrollIntoViewLink","click"],["routerLinkActive","",1,"t-subsection",3,"routerLinkActiveOptions"],["tuiLink","","type","button","class","t-sublink t-sublink_subsection",3,"click",4,"ngIf"],[1,"t-expand",3,"expanded"],[1,"t-section","t-section_bordered"],["routerLinkActive","t-sublink_active","tuiLink","","class","t-sublink t-sublink_small",3,"fragment","routerLink","tuiScrollIntoViewLink","click",4,"ngFor","ngForOf"],["tuiLink","","type","button",1,"t-sublink","t-sublink_subsection",3,"click"],[1,"t-chevron",3,"src"],["routerLinkActive","t-sublink_active","tuiLink","",1,"t-sublink","t-sublink_small",3,"fragment","routerLink","tuiScrollIntoViewLink","click"]],template:function(t,e){1&t&&(i.F$t(),i.TgZ(0,"tui-input",0,1),i._uU(2),i.YNc(3,ys,2,0,"ng-container",2),i.qZA(),i.TgZ(4,"nav",3),i.TgZ(5,"tui-scrollbar",4),i.ALo(6,"async"),i.TgZ(7,"tui-accordion",5),i.YNc(8,xs,5,3,"tui-accordion-item",6),i.qZA(),i.TgZ(9,"div",7),i.YNc(10,ks,1,5,"ng-container",8),i.qZA(),i.YNc(11,Ds,3,2,"ng-template",null,9,i.W1O),i.qZA(),i.qZA(),i.Hsn(13)),2&t&&(i.Q6J("formControl",e.search)("tuiAutoFocus",!!e.sidebar)("tuiTextfieldCleaner",!0)("tuiTextfieldIconLeft",e.docIcons.search)("tuiTextfieldLabelOutside",!0),i.xp6(2),i.hij(" ",e.searchText," "),i.xp6(1),i.Q6J("ngIf",e.canOpen),i.xp6(2),i.Q6J("tuiMode",i.lcZ(6,12,e.mode$)),i.xp6(2),i.Q6J("closeOthers",!1)("rounded",!1),i.xp6(1),i.Q6J("ngForOf",e.labels),i.xp6(2),i.Q6J("ngForOf",e.itemsWithoutSections))},directives:[Hr.K3,Hr.wU,Dt.sz,yn.JJ,yn.oH,be,Dt.be,Dt.aR,Dt.xT,w.O5,$t.IB,At.w,Lr,w.sg,Lt.gX,Lt.qi,Lt.Rs,Lt.vK,$i.yS,q.Li,Rt.PN,Nr,Ir,w.tP,It.V,$i.Od,Kr,S],pipes:[w.Ov],styles:["[_nghost-%COMP%]{z-index:1;display:flex;flex-direction:column;text-align:center;background:var(--tui-base-01)}.t-input[_ngcontent-%COMP%]{margin:1.25rem}.t-navigation[_ngcontent-%COMP%]{display:flex;max-height:100%;min-height:0;flex:1 1 0;text-align:left}.t-scrollbar[_ngcontent-%COMP%]{scroll-behavior:smooth;width:100%}@media screen and (prefers-reduced-motion: reduce){.t-scrollbar[_ngcontent-%COMP%]{scroll-behavior:auto}}.t-items-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:0 1rem}.t-label[_ngcontent-%COMP%]{margin-left:.5rem}.t-expand[_ngcontent-%COMP%]{margin-left:.25rem}.t-section[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;margin:-1rem 0 -.5rem}.t-section_bordered[_ngcontent-%COMP%]{margin:.5rem 0;border-left:1px solid var(--tui-base-03)}.t-subsection[_ngcontent-%COMP%]{margin-left:.5rem}.t-sublink[_ngcontent-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:1rem 0 0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;font:var(--tui-font-text-m);margin-left:.5rem}.t-sublink_small[_ngcontent-%COMP%]{margin-left:1rem;line-height:1.5rem;padding-top:.5rem}.t-sublink_subsection[_ngcontent-%COMP%]{margin-left:0;line-height:1.6rem}.t-sublink.t-sublink.t-sublink_active[_ngcontent-%COMP%]{color:var(--tui-text-01)}.t-icon[_ngcontent-%COMP%]{margin-left:.5rem}.t-chevron[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:1rem;height:1rem;margin:-.25rem .25rem 0 -.1875rem}.t-chevron_active[_ngcontent-%COMP%]{transform:rotate(90deg)}"],changeDetection:0}),(0,Ue.gn)([sn.UM],t.prototype,"filterItems",null),(0,Ue.gn)([sn.UM],t.prototype,"flattenSubPages",null),t})(),Ta=(()=>{class t{constructor(t,e,n,i,r){this.icons=t,this.logo=e,this.menu=n,this.router=i,this.swipes$=r,this.stream$=new a.xQ,this.open$=(0,c.T)(this.router.events.pipe((0,h.U)(y.Iy)),this.stream$,this.swipes$.pipe((0,f.h)(t=>"left"===t.direction||"right"===t.direction),(0,h.U)(t=>"right"===t.direction))).pipe((0,d.O)(!1),(0,v.x)())}onClick(){this.stream$.next(!0)}onActiveZone(t){t||this.stream$.next(!1)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(r.oq),i.Y36(r.Or),i.Y36(r.gG),i.Y36($i.F0),i.Y36(D.$D))},t.\u0275cmp=i.Xpm({type:t,selectors:[["header","tuiDocHeader",""]],attrs:Ns,ngContentSelectors:uo,decls:6,vars:6,consts:[["appearance","icon","tuiIconButton","","type","button",1,"t-menu",3,"icon","title","click","tuiActiveZoneChange"],["class","t-navigation",4,"tuiSidebar"],[1,"t-logo"],["alt","Logo","class","t-img",3,"src",4,"polymorpheusOutlet"],[1,"t-navigation"],["alt","Logo",1,"t-img",3,"src"]],template:function(t,e){1&t&&(i.F$t(),i.TgZ(0,"button",0),i.NdJ("click",function(){return e.onClick()})("tuiActiveZoneChange",function(t){return e.onActiveZone(t)}),i.YNc(1,Ls,1,0,"tui-doc-navigation",1),i.ALo(2,"async"),i.qZA(),i.TgZ(3,"div",2),i.YNc(4,zs,1,1,"img",3),i.qZA(),i.Hsn(5)),2&t&&(i.Q6J("icon",e.icons.menu)("title",e.menu),i.xp6(1),i.Q6J("tuiSidebar",!!i.lcZ(2,4,e.open$)),i.xp6(3),i.Q6J("polymorpheusOutlet",e.logo))},directives:[Tt.v0,gt.e,Xr,q.Li,Ea],pipes:[w.Ov],styles:["[_nghost-%COMP%]{box-shadow:0 .125rem 1rem #00000014;position:fixed;top:0;left:0;right:0;z-index:1;display:flex;height:3.9375rem;align-items:center;padding:0 1.25rem;background:var(--tui-base-01);border-bottom:1px solid var(--tui-base-03)}.t-logo[_ngcontent-%COMP%]{margin-right:auto;font:var(--tui-font-heading-5)}.t-img[_ngcontent-%COMP%]{display:block}.t-menu[_ngcontent-%COMP%]{margin-left:-1.25rem}@media screen and (min-width: 48em){.t-menu[_ngcontent-%COMP%]{display:none}}.t-navigation[_ngcontent-%COMP%]{min-height:100%}"],changeDetection:0}),t})(),Aa=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,yn.UX,$i.Bz,q.wq,to,Tt.fN,Hr.Qf,Dt.cn,gt.A,j.WD,At.z,It.j,P,je.jh,jt.dp,zr,$t.Jy,Rt.EI,Lt.pc,we]]}),t})(),Ia=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,q.wq,Tt.fN,Wr,gt.A,Aa]]}),t})(),Da=(()=>{class t{constructor(t,e){this.text=t,this.pages=e,this.seeAlso=[]}getRouterLink(t){var e,n;return null!==(n=null===(e=this.pages.get(t))||void 0===e?void 0:e.route)&&void 0!==n?n:""}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(r.VX),i.Y36(r._Z))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-doc-see-also"]],inputs:{seeAlso:"seeAlso"},decls:3,vars:2,consts:[[1,"t-header"],[4,"ngFor","ngForOf"],["tuiLink","",3,"innerText","routerLink"],[4,"ngIf"]],template:function(t,e){1&t&&(i.TgZ(0,"h5",0),i._uU(1),i.qZA(),i.YNc(2,Rs,3,3,"ng-container",1)),2&t&&(i.xp6(1),i.Oqu(e.text),i.xp6(1),i.Q6J("ngForOf",e.seeAlso))},directives:[w.sg,It.V,$i.yS,w.O5],styles:["[_nghost-%COMP%]{display:block}.t-header[_ngcontent-%COMP%]{font-size:.6875rem;line-height:1rem;text-transform:uppercase;letter-spacing:.075em;color:var(--tui-text-02);margin:0 0 .5rem;white-space:nowrap}"],changeDetection:0}),t})(),Na=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,$i.Bz,It.j]]}),t})(),La=(()=>{class t{constructor(t,e,n){this.icons=t,this.sourceCode=e,this.text=n,this.header="",this.package="",this.type="",this.path=""}get pathOptions(){return this.getPathOptions(this.header,this.package,this.type,this.path)}pathIsUrl(t){return t.startsWith("http")}getPathOptions(t,e,n,i){return{header:t,package:e,type:n,path:i}}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(r.oq),i.Y36(r.yO),i.Y36(r.as))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-doc-source-code"]],inputs:{header:"header",package:"package",type:"type",path:"path"},decls:1,vars:2,consts:[["appearance","icon","size","s","target","_blank","tuiIconButton","","type","button",3,"href","icon","title",4,"polymorpheusOutlet","polymorpheusOutletContext"],["appearance","icon","size","s","target","_blank","tuiIconButton","","type","button",3,"href","icon","title"]],template:function(t,e){1&t&&i.YNc(0,js,1,3,"a",0),2&t&&i.Q6J("polymorpheusOutlet",e.pathIsUrl(e.path)?e.path:e.sourceCode)("polymorpheusOutletContext",e.pathOptions)},directives:[q.Li,Tt.v0],encapsulation:2,changeDetection:0}),(0,Ue.gn)([sn.UM],t.prototype,"pathIsUrl",null),(0,Ue.gn)([sn.UM],t.prototype,"getPathOptions",null),t})(),za=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,q.wq,Tt.fN]]}),t})(),Fa=(()=>{class t{constructor(t,e,n){this.icons=t,this.theme=e,this.night=n,this.change$=this.night,this.night$=this.change$.pipe((0,d.O)(null),(0,h.U)(()=>this.night.value),(0,v.x)(),(0,_.B)())}get mode(){return this.night.value?"onDark":null}get icon(){return this.night.value?this.icons.day:this.icons.night}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(r.oq),i.Y36(ro),i.Y36(ao))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-doc-main"]],hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("data-mode",e.mode)},features:[i._Bn([{provide:At.w,useExisting:(0,i.Gpc)(()=>t)},D.$D])],ngContentSelectors:$s,decls:21,vars:4,consts:[[4,"ngIf"],[1,"tui-doc-page"],[1,"tui-doc-navigation"],[1,"tui-doc-content"],[1,"tui-doc-outlet"],["tuiDocHeader",""],["appearance","secondary","shape","rounded","size","s","tuiIconButton","","tuiMode","onLight","type","button",1,"tui-doc-night-mode-switch",3,"icon","click"],["ngProjectAs","tuiOverContent",5,["tuiOverContent"]],["ngProjectAs","tuiOverDialogs",5,["tuiOverDialogs"]],["ngProjectAs","tuiOverAlerts",5,["tuiOverAlerts"]],["ngProjectAs","tuiOverPortals",5,["tuiOverPortals"]],["ngProjectAs","tuiOverHints",5,["tuiOverHints"]]],template:function(t,e){1&t&&(i.F$t(Vs),i.YNc(0,Bs,1,0,"tui-theme-night",0),i.ALo(1,"async"),i.TgZ(2,"tui-root"),i.TgZ(3,"div",1),i.TgZ(4,"tui-doc-navigation",2),i.Hsn(5),i.qZA(),i.TgZ(6,"div",3),i._UZ(7,"router-outlet",4),i.qZA(),i.qZA(),i.TgZ(8,"header",5),i.Hsn(9,1),i.TgZ(10,"button",6),i.NdJ("click",function(){return e.night.toggle()}),i.qZA(),i.qZA(),i.ynx(11,7),i.Hsn(12,2),i.BQk(),i.ynx(13,8),i.Hsn(14,3),i.BQk(),i.ynx(15,9),i.Hsn(16,4),i.BQk(),i.ynx(17,10),i.Hsn(18,5),i.BQk(),i.ynx(19,11),i.Hsn(20,6),i.BQk(),i.qZA()),2&t&&(i.Q6J("ngIf",e.theme.isDefaultTheme&&e.night.useDefaultNightTheme&&i.lcZ(1,2,e.night$)),i.xp6(10),i.Q6J("icon",e.icon))},directives:[w.O5,Ot,Ea,$i.lC,Ta,Tt.v0,At.w,Pt],pipes:[w.Ov],styles:['html{scroll-padding-top:4rem;height:auto}tui-root>tui-scroll-controls>.t-bar_vertical{top:4rem!important}@keyframes tuiShaking{0%,to{transform:translate(0)}10%,30%,50%,70%,90%{transform:translate(-.3125rem)}20%,40%,60%,80%{transform:translate(.3125rem)}}body{background:var(--tui-base-01);height:auto}tui-doc-main{display:block}code:not(pre code):not(.hljs):not([class*="language-"]){transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;background:var(--tui-base-02);color:var(--tui-text-02);vertical-align:middle;box-shadow:inset 0 -2px var(--tui-secondary);padding:.375rem .5rem;font-size:.875rem;border-radius:.5rem}tui-notification code:not(pre code):not(.hljs):not([class*="language-"]){background:var(--tui-clear);box-shadow:none}a code:not(pre code):not(.hljs):not([class*="language-"]){color:var(--tui-link)}button:focus code,a:focus code{background:var(--tui-base-01)}.tui-doc-page{isolation:isolate;padding-top:4rem}tui-doc-navigation.tui-doc-navigation{position:fixed;top:4rem;bottom:0;width:16.25rem;border-right:1px solid var(--tui-base-03)}@media screen and (max-width: 47.9625em){tui-doc-navigation.tui-doc-navigation{display:none}}.tui-doc-content{margin-left:16.25rem}@media screen and (max-width: 47.9625em){.tui-doc-content{margin-left:0}}.tui-doc-outlet+*{display:block}.tui-doc-animated-example{animation:1s .3s tuiShaking}.tui-doc-night-mode-switch{margin-left:1rem}.tui-doc-night-mode-switch tui-svg{color:var(--tui-text-02)}tui-doc-code .hljs-tag{background:none}tui-doc-code .hljs{display:block;overflow-x:auto;padding:.5em;color:var(--tui-text-01);background-color:var(--tui-clear)}tui-doc-code .hljs.hljs-line-numbers{background:transparent}tui-doc-code .hljs-subst,tui-doc-code .hljs-title{font-weight:normal;color:var(--tui-text-01)}tui-doc-code .hljs-comment,tui-doc-code .hljs-quote{color:var(--tui-text-02);font-style:italic}tui-doc-code .hljs-meta{color:#e38162}tui-doc-code .hljs-section,tui-doc-code .hljs-name,tui-doc-code .hljs-literal,tui-doc-code .hljs-keyword,tui-doc-code .hljs-selector-tag,tui-doc-code .hljs-type,tui-doc-code .hljs-selector-id,tui-doc-code .hljs-selector-class{font-weight:bold;color:var(--tui-link)}tui-doc-code .hljs-attribute,tui-doc-code .hljs-number,tui-doc-code .hljs-regexp,tui-doc-code .hljs-link{font-weight:bold;color:var(--tui-support-06)}tui-doc-code .hljs-number,tui-doc-code .hljs-regexp,tui-doc-code .hljs-link{font-weight:normal}tui-doc-code .hljs-string{color:var(--tui-positive);font-weight:bold}tui-doc-code .hljs-symbol,tui-doc-code .hljs-bullet,tui-doc-code .hljs-formula{color:var(--tui-text-01);background:var(--tui-base-02);font-style:italic}tui-doc-code .hljs-doctag{text-decoration:underline}tui-doc-code .hljs-variable,tui-doc-code .hljs-template-variable{color:var(--tui-link-hover)}tui-doc-code [data-mode=onDark] .hljs-variable,tui-doc-code [data-mode=onDark] .hljs-template-variable{color:var(--tui-warning-fill)}tui-doc-code .hljs-addition{background:var(--tui-success-bg)}tui-doc-code .hljs-deletion{background:var(--tui-error-bg)}tui-doc-code .hljs-emphasis{font-style:italic}tui-doc-code .hljs-strong{font-weight:bold}tui-doc-code .hljs .hljs-line-numbers{padding:0}tui-doc-code .hljs-ln-numbers{vertical-align:top;opacity:.3;text-align:right;padding-right:1em!important}\n'],encapsulation:2}),t})(),Ra=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,$i.Bz,Et,Ia,Mt,Re,ee,Tt.fN,At.z,Aa]]}),t})();const ja=new i.OlP("[PAGE_SEE_ALSO]"),Ba=[{provide:ja,deps:[i.SBq,r.UL],useFactory:({nativeElement:t},e)=>{const n=t.getAttribute("header"),i=e.filter(t=>t.includes(n))||[],r=new Set(i.join().split(",").filter(t=>t&&t!==n));return Array.from(r)}}];let Va=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.Rgc))},t.\u0275dir=i.lG2({type:t,selectors:[["","pageTab",""]],inputs:{pageTab:"pageTab"}}),t})(),$a=(()=>{class t{constructor(t,e){this.defaultTabs=t,this.seeAlso=e,this.header="",this.package="",this.type="",this.path="",this.deprecated=!1,this.tabConnectors=y.Mm,this.activeItemIndex=0,this.from=/ /g,this.to="_"}get showSeeAlso(){return!!this.seeAlso.length&&0===this.activeItemIndex}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(r.AC),i.Y36(ja))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-doc-page"]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,Va,4),2&t){let t;i.iGM(t=i.CRH())&&(e.tabConnectors=t)}},inputs:{header:"header",package:"package",type:"type",path:"path",deprecated:"deprecated"},features:[i._Bn(Ba)],ngContentSelectors:uo,decls:11,vars:10,consts:[[1,"t-header"],[1,"t-title"],["status","custom","value","deprecated","class","t-tag t-tag_deprecated",4,"ngIf"],["status","custom","class","t-tag t-tag_package",3,"autoColor","value",4,"ngIf"],["class","t-tabs",3,"activeItemIndex","activeItemIndexChange",4,"ngIf"],[1,"t-source-code",3,"header","package","path","type"],[1,"t-content"],["class","t-see-also",3,"seeAlso",4,"ngIf"],[4,"ngFor","ngForOf"],["status","custom","value","deprecated",1,"t-tag","t-tag_deprecated"],["status","custom",1,"t-tag","t-tag_package",3,"autoColor","value"],[1,"t-tabs",3,"activeItemIndex","activeItemIndexChange"],[4,"ngIf"],["routerLinkActive","","tuiTab","",3,"routerLink","routerLinkActiveOptions",4,"tuiItem"],["routerLinkActive","","tuiTab","",3,"routerLink","routerLinkActiveOptions"],[1,"t-see-also",3,"seeAlso"],[3,"ngTemplateOutlet",4,"ngIf"],[3,"ngTemplateOutlet"]],template:function(t,e){1&t&&(i.F$t(),i.TgZ(0,"header",0),i.TgZ(1,"h1",1),i._uU(2),i.YNc(3,Ys,1,0,"tui-tag",2),i.YNc(4,Zs,1,2,"tui-tag",3),i.qZA(),i.YNc(5,Js,2,2,"tui-tabs-with-more",4),i._UZ(6,"tui-doc-source-code",5),i.qZA(),i.TgZ(7,"div",6),i.Hsn(8),i.YNc(9,Xs,1,1,"tui-doc-see-also",7),i.YNc(10,Ws,2,1,"ng-container",8),i.qZA()),2&t&&(i.xp6(2),i.hij(" ",e.header," "),i.xp6(1),i.Q6J("ngIf",!!e.deprecated||""===e.deprecated),i.xp6(1),i.Q6J("ngIf",e.package),i.xp6(1),i.Q6J("ngIf",e.tabConnectors.length),i.xp6(1),i.Q6J("header",e.header)("package",e.package)("path",e.path)("type",e.type),i.xp6(3),i.Q6J("ngIf",e.showSeeAlso),i.xp6(1),i.Q6J("ngForOf",e.tabConnectors))},directives:[w.O5,La,w.sg,Zr,_r,tn,hr,$i.yS,$i.Od,Da,w.tP],pipes:[nn],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;min-height:0;flex-basis:0;flex-grow:1}.t-header[_ngcontent-%COMP%]{display:flex;font:var(--tui-font-heading-3);flex-wrap:wrap;min-height:7.25rem;color:var(--tui-text-01);box-shadow:inset 0 -1px 0 0 var(--tui-base-03);padding:3.75rem 0 0;box-sizing:border-box;flex-shrink:0;margin:0 min(10vw,8.75rem)}tui-root._mobile[_nghost-%COMP%] .t-header[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{font:var(--tui-font-heading-4);min-height:4.5rem;padding:1.25rem 1.25rem 0;margin:0}.t-title[_ngcontent-%COMP%]{min-width:100%;font-size:inherit;margin:0}.t-tag[_ngcontent-%COMP%]{vertical-align:middle;text-transform:uppercase;margin-right:.5rem}.t-tag_deprecated[_ngcontent-%COMP%]{background-color:var(--tui-error-fill)}.t-tag.t-tag_package[_ngcontent-%COMP%]{color:#000}.t-tabs[_ngcontent-%COMP%]{flex:1;margin:1.125rem .3125rem 0 0}tui-root._mobile[_nghost-%COMP%] .t-tabs[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-tabs[_ngcontent-%COMP%]{margin-top:.25rem}.t-content[_ngcontent-%COMP%]{padding:2rem 0;margin:0 min(10vw,8.75rem)}tui-root._mobile[_nghost-%COMP%] .t-content[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:2rem 1.25rem;margin:0}.t-see-also[_ngcontent-%COMP%]{min-width:18.75rem;width:30%;float:right;margin-left:1.5rem}tui-root._mobile[_nghost-%COMP%] .t-see-also[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-see-also[_ngcontent-%COMP%]{float:none;width:100%;margin:0 0 1.5rem}.t-source-code[_ngcontent-%COMP%]{align-self:flex-end;line-height:2.75rem;margin-left:auto}"],changeDetection:0}),t})(),Ya=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[w.ez,$i.Bz,Na,yr,qr,za,rn]]}),t})()},64548:function(t,e,n){"use strict";n.d(e,{mT:function(){return d},lW:function(){return p},AC:function(){return f},ru:function(){return y},IK:function(){return b},$_:function(){return m},Es:function(){return v},mv:function(){return w},et:function(){return _},oq:function(){return g},Or:function(){return M},_Z:function(){return E},gG:function(){return C},V5:function(){return P},V1:function(){return S},n1:function(){return T},EI:function(){return x},UL:function(){return A},VX:function(){return k},yO:function(){return I},as:function(){return O},Yx:function(){return D},Ii:function(){return N}});var i=n(11927),r=n(74788),o=n(44427),s=n(54487),a=n(41439),l=n(41291),c=n(25917),u=n(43190),h=n(79456);const d=(0,i.JN)(""),p=new r.OlP("[TUI_DOC_CODE_EDITOR]"),f=(0,i.JN)([]),g=(0,i.JN)({search:"tuiIconSearch",day:"tuiIconSun",night:"tuiIconMoon",code:"tuiIconCode",menu:"tuiIconMenuLarge"}),m=(0,i.JN)(s.y),v=(0,i.JN)(o.vi),_=(0,i.JN)(new Set([])),y=(0,i.JN)(["Read more more about modes: ","Background","Form value"]),b=(0,i.JN)(["Argument","Type","Name and description","Value","Learn about our dynamic templates from "]),w=(0,i.JN)(["Preview","Link to a sample was successfully copied","Done"]),C=(0,i.JN)("Menu"),x=(0,i.JN)("Search"),k=(0,i.JN)("See also"),O=(0,i.JN)("Source code"),M=(0,i.JN)(""),S=(0,i.JN)((0,a.P)(()=>(0,l.H)(200).pipe((0,u.w)(()=>(0,c.of)(!0))))),P=(0,i.JN)([]),E=(0,i.N1)(()=>(0,o.S4)((0,r.f3M)(P))),T=(0,i.N1)(()=>(0,r.f3M)(h.TK)?"auto":"smooth"),A=(0,i.JN)([]),I=(0,i.JN)(null),D=(0,i.JN)(""),N=(0,i.JN)(String)},44427:function(t,e,n){"use strict";n.d(e,{p8:function(){return a},cd:function(){return s},Ve:function(){return l},sj:function(){return c},JQ:function(){return h},vP:function(){return d},S4:function(){return p},OO:function(){return g},vi:function(){return u}});var i=n(4841),r=n.n(i),o=n(97582);function s(t){return"true"===(null==t?void 0:t.toString())}function a(t){const e=String(t).trim();if(function(t){return["undefined","null","NaN"].includes(t)}(e))return null;if(function(t){return"true"===t||"false"===t}(e))return"true"===String(e);if(function(t){return!!t.trim()&&!Number.isNaN(Number(t))&&!t.startsWith("+")}(e))return Number(e);const n=decodeURIComponent(e);try{return function(t){return t.startsWith("[")&&t.endsWith("]")}(n)||function(t){return t.startsWith("{")&&t.endsWith("}")}(n)?JSON.parse(n):n}catch(i){return n}}function l(t){return[{path:"",component:t,children:[{path:":tab",component:t}]}]}function c(t,e){if(null===t)return"null";switch(typeof t){case"string":return`'${t}'`;case"undefined":case"number":case"boolean":case"function":return String(t)}return t instanceof RegExp?String(t):Array.isArray(t)?function(t,e){if(0===e)return"[\u2026]";let n="",i=!0;for(let r=0;r"code"===t&&"fence"===e).map(({content:t})=>t.trim());return e.length?e:[t]}function h(t){return(0,o.mG)(this,void 0,void 0,function*(){return t instanceof Promise?(yield t).default:t})}function d(t){return(0,o.mG)(this,void 0,void 0,function*(){const e={};for(const[n,i]of Object.entries(t))i&&(e[n]=yield h(i));return e})}function p(t){const e=new Map;return t.forEach(t=>{"subPages"in t?t.subPages.forEach(t=>{e.set(t.title,t)}):e.set(t.title,t)}),e}const f={"\u0430":"f","\u0431":",","\u0432":"d","\u0433":"u","\u0434":"l","\u0435":"t","\u0451":"`","\u0436":";","\u0437":"p","\u0438":"b","\u0439":"q","\u043a":"r","\u043b":"k","\u043c":"v","\u043d":"y","\u043e":"j","\u043f":"g","\u0440":"h","\u0441":"c","\u0442":"n","\u0443":"e","\u0444":"a","\u0445":"[","\u0446":"w","\u0447":"x","\u0448":"i","\u0449":"o","\u044a":"]","\u044b":"s","\u044c":"m","\u044e":".","\u044f":"z"};function g(t){let e="";for(let n=0;n{class t{constructor(){this.pseudoHover=null,this.pseudoActive=null,this.pseudoFocus=null,this.focusable=!0,this.nativeId="",this.focusedChange=new i.vpe,this.focusVisibleChange=new i.vpe,this.focusVisible=!1,this.autoIdString=`tui_interactive_${t.autoId++}${Date.now()}`}get computedDisabled(){return this.disabled}get computedFocusable(){return!this.computedDisabled&&(this.focusable||this.focused)}get computedFocused(){var t;return!this.computedDisabled&&(null!==(t=this.pseudoFocus)&&void 0!==t?t:this.focused)}get computedFocusVisible(){var t;return!this.computedDisabled&&(null!==(t=this.pseudoFocus)&&void 0!==t?t:this.focusVisible)}get id(){return this.nativeId||this.autoIdString}updateFocused(t){this.focusedChange.emit(t)}updateFocusVisible(t){this.focusVisible!==t&&(this.focusVisible=t,this.focusVisibleChange.emit(t))}}return t.autoId=0,t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,hostVars:7,hostBindings:function(t,e){2&t&&(i.uIk("data-focused",e.pseudoFocus),i.ekj("_disabled",e.computedDisabled)("_focused",e.computedFocused)("_focus-visible",e.computedFocusVisible))},inputs:{pseudoHover:"pseudoHover",pseudoActive:"pseudoActive",pseudoFocus:"pseudoFocus",focusable:"focusable",nativeId:"nativeId"},outputs:{focusedChange:"focusedChange",focusVisibleChange:"focusVisibleChange"}}),t})();class x{}let k=(()=>{class t extends C{constructor(t,e,n){super(),this.ngControl=t,this.cdr=e,this.valueTransformer=n,this.refresh$=new a.xQ,this.onTouched=o.iD,this.onChange=o.iD,this.fallbackValue=this.getFallbackValue(),this.destroy$=new a.xQ,this.readOnly=!1,this.pseudoInvalid=null,this.ngControl&&(this.ngControl.valueAccessor=this)}get computedInvalid(){return this.interactive&&(null!==this.pseudoInvalid?this.pseudoInvalid:this.touched&&this.invalid)}get value(){var t;return null!==(t=this.previousInternalValue)&&void 0!==t?t:this.fallbackValue}set value(t){this.updateValue(t)}get safeCurrentValue(){var t;return null!==(t=this.rawValue)&&void 0!==t?t:this.fallbackValue}get invalid(){return this.safeNgControlData(({invalid:t})=>t,!1)}get valid(){return this.safeNgControlData(({valid:t})=>t,!1)}get touched(){return this.safeNgControlData(({touched:t})=>t,!1)}get disabled(){return this.safeNgControlData(({disabled:t})=>t,!1)}get interactive(){return!this.readOnly&&!this.computedDisabled}get control(){return this.safeNgControlData(({control:t})=>t,null)}get computedName(){var t,e;return null!==(e=null===(t=this.controlName)||void 0===t?void 0:t.toString())&&void 0!==e?e:null}get controlName(){var t,e,n;return null!==(n=null===(e=null===(t=this.ngControl)||void 0===t?void 0:t.name)||void 0===e?void 0:e.toString())&&void 0!==n?n:null}get rawValue(){const{ngControl:t}=this;if(null!==t)return this.fromControlValue(t instanceof r.On&&void 0===this.previousInternalValue?t.viewModel:t.value)}ngOnInit(){this.refresh$.pipe((0,h.g)(0),(0,d.O)(null),(0,p.U)(()=>{var t;return null===(t=this.ngControl)||void 0===t?void 0:t.control}),(0,f.h)(s.Pc),(0,g.x)(),(0,m.w)(t=>(0,l.T)(t.valueChanges,t.statusChanges)),(0,v.R)(this.destroy$)).subscribe(()=>{this.refreshLocalValue(this.safeCurrentValue)})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}checkControlUpdate(){this.cdr.markForCheck()}registerOnChange(t){this.onChange=e=>{t(this.toControlValue(e))},this.refresh$.next()}registerOnTouched(t){this.onTouched=t}setDisabledState(){this.checkControlUpdate()}writeValue(t){this.refreshLocalValue(this.fromControlValue(this.ngControl instanceof r.On&&void 0===this.previousInternalValue?this.ngControl.model:t))}updateFocused(t){t||this.controlMarkAsTouched(),super.updateFocused(t)}updateValue(t){this.disabled||this.valueIdenticalComparator(this.value,t)||(this.previousInternalValue=t,this.controlSetValue(t))}valueIdenticalComparator(t,e){return t===e}safeNgControlData(t,e){var n;return null!==(n=this.ngControl&&t(this.ngControl))&&void 0!==n?n:e}controlMarkAsTouched(){this.onTouched(),this.checkControlUpdate()}controlSetValue(t){this.onChange(t),this.checkControlUpdate()}refreshLocalValue(t){this.previousInternalValue=t,this.checkControlUpdate()}fromControlValue(t){return this.valueTransformer?this.valueTransformer.fromControlValue(t):t}toControlValue(t){return this.valueTransformer?this.valueTransformer.toControlValue(t):t}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(r.a5,8),i.Y36(i.sBO),i.Y36(x,8))},t.\u0275dir=i.lG2({type:t,hostVars:4,hostBindings:function(t,e){2&t&&i.ekj("_readonly",e.readOnly)("_invalid",e.computedInvalid)},inputs:{readOnly:"readOnly",pseudoInvalid:"pseudoInvalid"},features:[i.qOj]}),t})();function O(t){return{provide:k,useExisting:t}}let M=(()=>{class t{constructor(){this.change$=new a.xQ}ngOnChanges(){this.change$.next()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,features:[i.TTD]}),t})(),S=(()=>{class t extends c.y{constructor(t){super(t=>this.dialogs$.subscribe(t)),this.idService=t,this.dialogs$=new u.X([])}open(t,e={}){return new c.y(n=>{const i=Object.assign(Object.assign(Object.assign({},this.defaultOptions),e),{content:t,completeWith:t=>{n.next(t),n.complete()},$implicit:n,component:this.component,createdAt:Date.now(),id:this.idService.generate()});return this.dialogs$.next([...this.dialogs$.value,i]),()=>{this.dialogs$.next(this.dialogs$.value.filter(t=>t!==i))}})}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(_.ll))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),P=(()=>{class t extends k{getFallbackValue(){return null}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,features:[i.qOj]}),t})(),E=(()=>{class t{get safeHost(){if(!this.host)throw new y.ZB;return this.host}attach(t){this.host=t}add(t){return this.safeHost.addComponentChild(t)}remove({hostView:t}){t.destroy()}addTemplate(t,e){return this.safeHost.addTemplateChild(t,e)}removeTemplate(t){t.destroy()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),T=(()=>{class t{constructor(t,e,n){this.injector=t,this.el=e,n.attach(this)}get clientRect(){return this.el.nativeElement.getBoundingClientRect()}addComponentChild(e){const n=e.createInjector(this.injector),r=n.get(i._Vd).resolveComponentFactory(e.component),o=i.zs3.create({parent:n,providers:[{provide:t,useValue:this}]}),s=this.vcr.createComponent(r,void 0,o);return s.changeDetectorRef.detectChanges(),s}addTemplateChild(t,e){return this.vcr.createEmbeddedView(t,e)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.gxx),i.Y36(i.SBq),i.Y36(E))},t.\u0275dir=i.lG2({type:t,viewQuery:function(t,e){if(1&t&&i.Gf(w,5,i.s_b),2&t){let t;i.iGM(t=i.CRH())&&(e.vcr=t.first)}}}),t})(),A=(()=>{class t{constructor(t){if(this.doc=t,null!==this.style)return void this.addTheme();const e=this.doc.head.querySelectorAll("style");this.constructor.style=e[e.length-1]}get style(){return this.constructor.style}ngOnDestroy(){this.removeTheme()}addTheme(){this.style&&this.doc.head.appendChild(this.style)}removeTheme(){var t;null===(t=this.style)||void 0===t||t.remove()}}return t.style=null,t.\u0275fac=function(e){return new(e||t)(i.Y36(b.K0))},t.\u0275dir=i.lG2({type:t}),t})()},18939:function(t,e,n){"use strict";n.d(e,{T:function(){return o},z:function(){return r}});var i=n(33770);const r={enabled:!1,get assert(){return i.iD}};class o{constructor(t,e={}){this.message=t,this.context=e}}},75122:function(t,e,n){"use strict";n.d(e,{qY:function(){return a},mL:function(){return l},ae:function(){return s}});var i=n(74788),r=n(76480);const o=["*"];let s=(()=>{class t extends r.N9{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),a=(()=>{class t extends r.Er{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-dropdown-host"]],features:[i._Bn([{provide:r.N9,useExisting:s},{provide:r.Er,useExisting:t}]),i.qOj],ngContentSelectors:o,decls:3,vars:0,consts:[["viewContainer",""]],template:function(t,e){1&t&&(i.F$t(),i.Hsn(0),i.GkF(1,null,0))},styles:['[_nghost-%COMP%]{position:relative;z-index:0;display:block;height:100%}[_nghost-%COMP%]:before{content:"";display:block;overflow:hidden}.t-position-fixed-offset[_ngcontent-%COMP%]{position:fixed;left:0;top:0;pointer-events:none;visibility:hidden;width:100%;height:100%}'],changeDetection:0}),t})(),l=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},81359:function(t,e,n){"use strict";n.d(e,{tZ:function(){return w},eI:function(){return x},ex:function(){return C}});var i=n(74788),r=n(62579),o=n(40946),s=n(99434),a=n(88002),l=n(43190),c=n(46782),u=n(43219),h=n(39761),d=n(87519),p=n(12057),f=n(33770),g=n(27103),m=n(66682);function v(t,e){if(1&t&&(i.TgZ(0,"div",3),i._UZ(1,"div",4),i.qZA()),2&t){const t=i.oxw().ngIf;i.ekj("t-bar_has-horizontal",t[1])}}function _(t,e){if(1&t&&(i.TgZ(0,"div",5),i._UZ(1,"div",6),i.qZA()),2&t){const t=i.oxw().ngIf;i.ekj("t-bar_has-vertical",t[0])}}function y(t,e){if(1&t&&(i.ynx(0),i.YNc(1,v,2,2,"div",1),i.YNc(2,_,2,2,"div",2),i.BQk()),2&t){const t=e.ngIf;i.xp6(1),i.Q6J("ngIf",t[0]),i.xp6(1),i.Q6J("ngIf",t[1])}}let b=(()=>{class t{constructor(t,e,n,i,r,s){this.container=i,this.doc=r,this.el=s,this.tuiScrollbar="vertical";const{nativeElement:h}=this.el,d=(0,o.mL)(h,"mousedown"),p=(0,o.mL)(this.doc,"mousemove"),g=(0,o.mL)(this.doc,"mouseup"),v=(0,o.mL)(this.wrapper,"mousedown");(0,m.T)(v.pipe((0,a.U)(t=>this.getScrolled(t,.5,.5))),d.pipe((0,o.vm)(),(0,l.w)(t=>{const e=h.getBoundingClientRect(),n=function({clientY:t},{top:e,height:n}){return(t-e)/n}(t,e),i=function({clientX:t},{left:e,width:n}){return(t-e)/n}(t,e);return p.pipe((0,a.U)(t=>this.getScrolled(t,n,i)),(0,c.R)(g))}))).pipe((0,o.fL)(t),(0,c.R)(e)).subscribe(([t,e])=>{"vertical"===this.tuiScrollbar?this.element.scrollTop=t:this.element.scrollLeft=e}),(0,m.T)(n.pipe((0,u.p)(f.Yg)),(0,o.pt)(this.element)).pipe((0,o.fL)(t),(0,c.R)(e)).subscribe(()=>{"vertical"===this.tuiScrollbar?(h.style.top=100*this.thumb+"%",h.style.height=100*this.view+"%"):(h.style.left=100*this.thumb+"%",h.style.width=100*this.view+"%")})}get wrapper(){return this.el.nativeElement.parentElement}get scrolled(){const{scrollTop:t,scrollHeight:e,clientHeight:n,scrollLeft:i,scrollWidth:r,clientWidth:o}=this.element;return"vertical"===this.tuiScrollbar?t/(e-n):i/(r-o)}get compensation(){const{clientHeight:t,scrollHeight:e,clientWidth:n,scrollWidth:i}=this.element;return t*t/e>24&&"vertical"===this.tuiScrollbar||n*n/i>24&&"horizontal"===this.tuiScrollbar?0:"vertical"===this.tuiScrollbar?24/t:24/n}get thumb(){return this.scrolled*(1-(this.compensation||this.view))}get view(){const{clientHeight:t,scrollHeight:e,clientWidth:n,scrollWidth:i}=this.element;return"vertical"===this.tuiScrollbar?Math.ceil(t/e*100)/100:Math.ceil(n/i*100)/100}get element(){return this.container.nativeElement}getScrolled({clientY:t,clientX:e},n,i){const{offsetHeight:r,offsetWidth:o}=this.el.nativeElement,{top:s,left:a,width:l,height:c}=this.wrapper.getBoundingClientRect();return[(t-s-r*n)/(c-r)*(this.element.scrollHeight-c),(e-a-o*i)/(l-o)*(this.element.scrollWidth-l)]}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.R0b),i.Y36(g.a3,2),i.Y36(r.L1),i.Y36(s.$_),i.Y36(p.K0),i.Y36(i.SBq))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiScrollbar",""]],inputs:{tuiScrollbar:"tuiScrollbar"},features:[i._Bn([g.a3])]}),t})(),w=(()=>{class t{constructor(t,e,n){this.zone=t,this.scrollRef=e,this.animationFrame$=n,this.refresh$=this.animationFrame$.pipe((0,u.p)(300),(0,a.U)(()=>this.scrollbars),(0,h.O)([!1,!1]),(0,d.x)((t,e)=>t[0]===e[0]&&t[1]===e[1]),(0,o.Yr)(this.zone))}get scrollbars(){const{clientHeight:t,scrollHeight:e,clientWidth:n,scrollWidth:i}=this.scrollRef.nativeElement;return[Math.ceil(t/e*100)<100,Math.ceil(n/i*100)<100]}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.R0b),i.Y36(s.$_),i.Y36(r.L1))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-scroll-controls"]],decls:2,vars:3,consts:[[4,"ngIf"],["class","t-bar t-bar_vertical",3,"t-bar_has-horizontal",4,"ngIf"],["class","t-bar t-bar_horizontal",3,"t-bar_has-vertical",4,"ngIf"],[1,"t-bar","t-bar_vertical"],["tuiScrollbar","vertical",1,"t-thumb"],[1,"t-bar","t-bar_horizontal"],["tuiScrollbar","horizontal",1,"t-thumb"]],template:function(t,e){1&t&&(i.YNc(0,y,3,2,"ng-container",0),i.ALo(1,"async")),2&t&&i.Q6J("ngIf",i.lcZ(1,1,e.refresh$))},directives:[p.O5,b],pipes:[p.Ov],styles:["[_nghost-%COMP%]{position:-webkit-sticky;position:sticky;top:0;left:0;z-index:1;min-width:calc(100% - 1px);min-height:calc(100% - 1px);max-width:calc(100% - 1px);max-height:calc(100% - 1px);float:left;-webkit-margin-end:calc(-100% + 1px);margin-inline-end:calc(-100% + 1px);pointer-events:none}.t-bar[_ngcontent-%COMP%]{position:absolute;right:0;bottom:0;pointer-events:auto;animation:tuiFadeIn var(--tui-duration, .3s) ease-in-out}.t-bar_vertical[_ngcontent-%COMP%]{top:0;width:.875rem}.t-bar_horizontal[_ngcontent-%COMP%]{left:0;height:.875rem}.t-bar_has-horizontal[_ngcontent-%COMP%]{bottom:.5rem}.t-bar_has-vertical[_ngcontent-%COMP%]{right:.5rem}.t-thumb[_ngcontent-%COMP%]{position:absolute;border-radius:6.25rem;border:.25rem solid transparent;cursor:pointer;pointer-events:auto;-webkit-user-select:none;-moz-user-select:none;user-select:none;background:currentColor;background-clip:content-box;box-sizing:border-box;transition:all var(--tui-duration, .3s) ease-in-out;transition-property:width,height,opacity;opacity:.2}.t-thumb[_ngcontent-%COMP%]:hover{opacity:.24}.t-thumb[_ngcontent-%COMP%]:active{opacity:.48}.t-bar_vertical[_ngcontent-%COMP%] .t-thumb[_ngcontent-%COMP%]{right:0;width:.75rem;min-height:1.25rem}.t-bar_vertical[_ngcontent-%COMP%]:hover .t-thumb[_ngcontent-%COMP%], .t-bar_vertical[_ngcontent-%COMP%] .t-thumb[_ngcontent-%COMP%]:active{width:.875rem}.t-bar_horizontal[_ngcontent-%COMP%] .t-thumb[_ngcontent-%COMP%]{bottom:0;height:.75rem;min-width:1.25rem}.t-bar_horizontal[_ngcontent-%COMP%]:hover .t-thumb[_ngcontent-%COMP%], .t-bar_horizontal[_ngcontent-%COMP%] .t-thumb[_ngcontent-%COMP%]:active{height:.875rem}"],changeDetection:0}),t})(),C=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiScrollRef",""]],features:[i._Bn([{provide:s.$_,useExisting:i.SBq}])]}),t})(),x=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[p.ez]]}),t})()},33770:function(t,e,n){"use strict";n.d(e,{Iy:function(){return o},Ye:function(){return s},F:function(){return _},fv:function(){return y},em:function(){return b},f$:function(){return v},LZ:function(){return c},Jy:function(){return h},iD:function(){return u},Mm:function(){return l},Yg:function(){return g},bg:function(){return p},yZ:function(){return d},Kx:function(){return f},Ml:function(){return w},Lw:function(){return m}});var i=n(74788),r=n(56083);const o=()=>!1,s=()=>!0,a={bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0},l=new i.n_E,c=[],u=()=>{},h=Object.assign(Object.assign({},a),{toJSON:()=>a}),d=t=>String(t),p=(t,e)=>t===e||function(t,e){return Array.isArray(t)&&Array.isArray(e)&&!t.length&&!e.length}(t,e),f=(0,r.X$)("tuiParentAnimation",[(0,r.eR)(":leave",[(0,r.IO)(":scope > *",[(0,r.pV)()],{optional:!0})])]),g=((0,r.X$)("tuiParentStop",[(0,r.eR)(":enter",[])]),1e3/15),m=t=>"ownerSVGElement"in t?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,v="\xa0",_="\u2013",y="-",b="\u2212",w="3.55.0"},44358:function(t,e,n){"use strict";n.d(e,{UM:function(){return o}});var i=n(27788);function r(t,e,n=!0){return function(){const i=t.call(this);return Object.defineProperty(this,e,{enumerable:n,value:i}),i}}function o(t,e,n){if("function"==typeof t){const n=e;if("getter"===n.kind)return r(t,n.name);if("method"===n.kind)return function(t){let e,n=[],i=!1;return function(...r){return i&&n.length===r.length&&r.every((t,e)=>t===n[e])||(n=r,e=t.apply(this,r),i=!0),e}}(t);throw new i.jw}const{get:o,enumerable:s,value:a}=n,l=e;if(o)return{configurable:!0,enumerable:s,get:r(o,l,s)};if("function"!=typeof a)throw new i.jw;const c=a;return{configurable:!0,enumerable:s,get(){let t,e=[],n=!1;const i=(...i)=>(n&&e.length===i.length&&i.every((t,n)=>t===e[n])||(e=i,t=c.apply(this,i),n=!0),t);return Object.defineProperty(this,l,{configurable:!0,value:i}),i}}}},221:function(t,e,n){"use strict";n.d(e,{e:function(){return p},A:function(){return f}});var i=n(97582),r=n(74788),o=n(44358),s=n(40946),a=n(99434),l=n(11927),c=n(88002),u=n(39761),h=n(87519),d=n(13653);let p=(()=>{class t{constructor(t,e,n,i){var r;this.active$=t,this.zone=e,this.el=n,this.directParentActiveZone=i,this.subActiveZones=[],this.tuiActiveZoneParent=null,this.tuiActiveZoneChange=this.active$.pipe((0,c.U)(t=>!!t&&this.contains(t)),(0,u.O)(!1),(0,h.x)(),(0,d.T)(1),(0,s.Yr)(this.zone)),null===(r=this.directParentActiveZone)||void 0===r||r.addSubActiveZone(this)}set tuiActiveZoneParentSetter(t){this.setZone(t)}ngOnDestroy(){var t,e;null===(t=this.directParentActiveZone)||void 0===t||t.removeSubActiveZone(this),null===(e=this.tuiActiveZoneParent)||void 0===e||e.removeSubActiveZone(this)}contains(t){return this.el.nativeElement.contains(t)||this.subActiveZones.some((e,n,i)=>i.indexOf(e)===n&&e.contains(t))}setZone(t){var e;null===(e=this.tuiActiveZoneParent)||void 0===e||e.removeSubActiveZone(this),null==t||t.addSubActiveZone(this),this.tuiActiveZoneParent=t}addSubActiveZone(t){this.subActiveZones=[...this.subActiveZones,t]}removeSubActiveZone(t){this.subActiveZones=(0,l.WX)(this.subActiveZones,this.subActiveZones.indexOf(t))}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(a.wk),r.Y36(r.R0b),r.Y36(r.SBq),r.Y36(t,12))},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiActiveZone","",5,"ng-container"],["","tuiActiveZoneChange","",5,"ng-container"],["","tuiActiveZoneParent","",5,"ng-container"]],inputs:{tuiActiveZoneParentSetter:["tuiActiveZoneParent","tuiActiveZoneParentSetter"]},outputs:{tuiActiveZoneChange:"tuiActiveZoneChange"},exportAs:["tuiActiveZone"]}),(0,i.gn)([o.UM],t.prototype,"setZone",null),t})(),f=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})()},44541:function(t,e,n){"use strict";n.d(e,{t:function(){return r},S:function(){return o}});var i=n(74788);let r=(()=>{class t{constructor(){this.indeterminate=!1,this.checked=!1,this.tuiCheckedChange=new i.vpe}get isChecked(){return this.checked}get isIndeterminate(){return this.indeterminate}set tuiChecked(t){this.checked=t||!1,this.indeterminate=null===t}onChange({checked:t}){this.checked=t,this.indeterminate=!1,this.tuiCheckedChange.emit(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["input","tuiChecked",""],["input","tuiCheckedChange",""]],hostVars:2,hostBindings:function(t,e){1&t&&i.NdJ("change",function(t){return e.onChange(t.target)}),2&t&&i.Ikx("checked",e.isChecked)("indeterminate",e.isIndeterminate)},inputs:{tuiChecked:"tuiChecked"},outputs:{tuiCheckedChange:"tuiCheckedChange"}}),t})(),o=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},88491:function(t,e,n){"use strict";n.d(e,{q:function(){return o},c:function(){return s}});var i=n(74788),r=n(27103);let o=(()=>{class t{constructor(t){this.tuiFocusVisibleChange=t}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(r.ku))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiFocusVisibleChange",""]],outputs:{tuiFocusVisibleChange:"tuiFocusVisibleChange"},features:[i._Bn([r.a3,r.ku])]}),t})(),s=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},13633:function(t,e,n){"use strict";n.d(e,{t:function(){return r},u:function(){return o}});var i=n(74788);let r=(()=>{class t{constructor(){this.focusable=!0}get tabIndex(){return this.focusable?0:-1}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiFocusable",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.Ikx("tabIndex",e.tabIndex)},inputs:{focusable:["tuiFocusable","focusable"]}}),t})(),o=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},75059:function(t,e,n){"use strict";n.d(e,{U:function(){return h},F:function(){return d}});var i=n(74788),r=n(40946),o=n(57179),s=n(66682),a=n(88002),l=n(39761),c=n(87519),u=n(13653);let h=(()=>{class t{constructor({nativeElement:t},e){this.tuiFocusedChange=(0,s.T)((0,r.mL)(t,"focusin"),(0,r.mL)(t,"focusout")).pipe((0,a.U)(()=>(0,o.V8)(t)),(0,l.O)(!1),(0,c.x)(),(0,u.T)(1),(0,r.Yr)(e))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.R0b))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiFocusedChange",""]],outputs:{tuiFocusedChange:"tuiFocusedChange"}}),t})(),d=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},96111:function(t,e,n){"use strict";n.d(e,{co:function(){return f},VE:function(){return g},gs:function(){return p}});var i=n(74788),r=n(33770),o=n(40946),s=n(64493),a=n(29856),l=n(66682),c=n(88002),u=n(45435),h=n(87519);function d({currentTarget:t,relatedTarget:e}){return!(0,s.ve)(e)||!(0,s.ve)(t)||!t.contains(e)}let p=(()=>{class t extends a.y{constructor(t,e){super(t=>this.stream$.subscribe(t)),this.el=t,this.zone=e,this.stream$=(0,l.T)((0,o.mL)(this.el.nativeElement,"mouseenter").pipe((0,c.U)(r.Ye)),(0,o.mL)(this.el.nativeElement,"mouseleave").pipe((0,c.U)(r.Iy)),(0,o.mL)(this.el.nativeElement,"mouseout").pipe((0,u.h)(d),(0,c.U)(r.Iy))).pipe((0,h.x)(),(0,o.Yr)(this.zone))}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.SBq),i.LFG(i.R0b))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),f=(()=>{class t{constructor(t){this.tuiHoveredChange=t}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(p))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiHoveredChange",""]],outputs:{tuiHoveredChange:"tuiHoveredChange"},features:[i._Bn([p])]}),t})(),g=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},92668:function(t,e,n){"use strict";n.d(e,{Ls:function(){return o},WD:function(){return s}});var i=n(74788);class r{constructor(t){this.internalDirectiveInstance=t}get $implicit(){return this.internalDirectiveInstance.tuiLet}get tuiLet(){return this.internalDirectiveInstance.tuiLet}}let o=(()=>{class t{constructor(t,e){t.createEmbeddedView(e,new r(this))}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiLet",""]],inputs:{tuiLet:"tuiLet"}}),t})(),s=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},71486:function(t,e,n){"use strict";n.d(e,{W:function(){return h},e:function(){return d}});var i=n(74788),r=n(40946),o=n(27103),s=n(64493),a=n(45435),l=n(46782),c=n(43190),u=n(68307);let h=(()=>{class t{constructor({nativeElement:t},e,n){this.mode="scroll",(0,r.mL)(t,"wheel",{passive:!1}).pipe((0,a.h)(()=>this.enabled),(0,r.fL)(e),(0,l.R)(n)).subscribe(t=>{this.processEvent(t,!!t.deltaY,t.deltaY?t.deltaY<0:t.deltaX<0)}),(0,r.mL)(t,"touchstart",{passive:!0}).pipe((0,c.w)(({touches:e})=>{let n,{clientX:i,clientY:o}=e[0],s=0,l=0;return(0,r.mL)(t,"touchmove",{passive:!1}).pipe((0,a.h)(()=>this.enabled),(0,u.b)(t=>{const e=t.changedTouches[0];s=i-e.clientX,l=o-e.clientY,i=e.clientX,o=e.clientY,void 0===n&&(n=Math.abs(l)>Math.abs(s)),this.processEvent(t,n,n?l<0:s<0)}))}),(0,r.fL)(e),(0,l.R)(n)).subscribe()}get enabled(){return"none"!==this.mode}get overscrollBehavior(){return this.enabled?"contain":null}processEvent(t,e,n){var i;const{target:r,currentTarget:o,cancelable:a}=t;if(a&&(0,s.ve)(r)&&"range"!==(null===(i=r)||void 0===i?void 0:i.type)){if("all"===this.mode&&(e&&!o.contains((0,s.Hs)(r))||!e&&!o.contains((0,s.Hs)(r,!1))))return void t.preventDefault();if(e&&(n&&!(0,s.ty)(r,o,!0,!1)||!n&&!(0,s.ty)(r,o,!0,!0)))return void t.preventDefault();!e&&(n&&!(0,s.ty)(r,o,!1,!1)||!n&&!(0,s.ty)(r,o,!1,!0))&&t.preventDefault()}}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(o.a3,2))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiOverscroll",""]],hostVars:2,hostBindings:function(t,e){2&t&&i.Udp("overscroll-behavior",e.overscrollBehavior)},inputs:{mode:["tuiOverscroll","mode"]},features:[i._Bn([o.a3])]}),t})(),d=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},36424:function(t,e,n){"use strict";n.d(e,{L:function(){return i},B:function(){return r}});var i=(()=>{return(t=i||(i={}))[t.Sunday=0]="Sunday",t[t.Monday=1]="Monday",t[t.Tuesday=2]="Tuesday",t[t.Wednesday=3]="Wednesday",t[t.Thursday=4]="Thursday",t[t.Friday=5]="Friday",t[t.Saturday=6]="Saturday",i;var t})(),r=(()=>{return(t=r||(r={}))[t.January=0]="January",t[t.February=1]="February",t[t.March=2]="March",t[t.April=3]="April",t[t.May=4]="May",t[t.June=5]="June",t[t.July=6]="July",t[t.August=7]="August",t[t.September=8]="September",t[t.October=9]="October",t[t.November=10]="November",t[t.December=11]="December",r;var t})()},27788:function(t,e,n){"use strict";n.d(e,{I4:function(){return i},AM:function(){return r},JY:function(){return o},ZB:function(){return s},aq:function(){return a},jw:function(){return l},j2:function(){return c}}),Error,Error;class i extends Error{constructor(t){super("")}}class r extends Error{constructor(t){super("")}}class o extends Error{constructor(t){super("")}}class s extends Error{constructor(){super("")}}class a extends Error{constructor(){super("")}}class l extends Error{constructor(){super("")}}Error,Error;class c extends Error{constructor(){super("")}}Error,Error},40946:function(t,e,n){"use strict";n.d(e,{EK:function(){return S},ix:function(){return I},Xd:function(){return D},fw:function(){return N},ll:function(){return L},pt:function(){return z},vm:function(){return F},mL:function(){return P},NA:function(){return R},Yr:function(){return B},fL:function(){return j}});var i=n(27788),r=n(29856),o=n(22759),s=n(34022),a=n(41291),l=n(66682),c=n(22416),u=n(59193),h=n(77393);class d{call(t,e){return e.subscribe(new p(t))}}class p extends h.L{_next(t){}}var f=n(39761),g=n(43190),m=n(88002),v=n(87519),_=n(47349),y=n(15257),b=n(45435),w=n(79196),C=n(57057),x=n(68307),k=n(11927),O=n(33770),M=n(57179);function S(t){return new r.y(e=>{if(!t.valueChanges)throw new i.j2;t.valueChanges.pipe((0,f.O)(t.value)).subscribe(e)})}function P(t,e,n={}){return(0,o.R)(t,e,n)}function E(t=0){return(0,s.z)((0,g.w)(()=>(0,a.H)(t).pipe((0,m.U)(O.Iy),(0,f.O)(!0))),(0,v.x)())}let T,A;function I(t){const e=P(t,"blur"),{ownerDocument:n}=t;if(!n)throw new i.aq;return(!A||!T)&&(T=P(n,"mouseup",{capture:!0}).pipe(E(),(0,f.O)(!1),(0,_.d)({bufferSize:1,refCount:!0})),A=P(n,"mousedown",{capture:!0}).pipe(E(),(0,f.O)(!1),(0,_.d)({bufferSize:1,refCount:!0}))),(0,l.T)((0,c.z)(P(t,"focus").pipe((0,y.q)(1)),e.pipe((0,b.h)(()=>!(0,M.V8)(t)),(0,y.q)(1),function(t){return t.lift(new d)})).pipe((0,w.r)(),(0,C.M)(A,T,(t,e,n)=>e||n),(0,b.h)(k.Mv))).pipe((0,g.w)(()=>e.pipe((0,m.U)(O.Iy),(0,y.q)(1),(0,f.O)(!0))),(0,v.x)())}function D(t,e=Boolean){return(0,s.z)((0,g.w)(n=>e(n)?t(n):u.E))}function N(t){var e,n;return"observed"in t?t.observed:!!(null===(n=null===(e=t)||void 0===e?void 0:e.observers)||void 0===n?void 0:n.length)}function L(t){return t.changes.pipe((0,f.O)(null),(0,m.U)(()=>(0,k.gD)(t)))}function z(t){return P(t===t.ownerDocument.documentElement?t.ownerDocument:t,"scroll")}function F(){return(0,x.b)(t=>{t.stopPropagation()})}function R(t){return(0,x.b)(()=>{t.markForCheck()})}function j(t){return e=>new r.y(n=>t.runOutsideAngular(()=>e.subscribe(n)))}function B(t){return(0,s.z)(j(t),function(t){return e=>new r.y(n=>e.subscribe({next:e=>t.run(()=>n.next(e)),error:e=>t.run(()=>n.error(e)),complete:()=>t.run(()=>n.complete())}))}(t))}},27103:function(t,e,n){"use strict";n.d(e,{a3:function(){return L},gH:function(){return z},ku:function(){return F},ll:function(){return R},AQ:function(){return B},b0:function(){return j},tl:function(){return V},Fr:function(){return $},$D:function(){return Y}});var i=n(74788),r=n(74235),o=n(29856),s=n(41439),a=n(66682),l=n(22759),c=n(97968),u=n(40946),h=n(46782),d=n(87874),p=n(43219),f=n(88002),g=n(39761),m=n(87519),v=n(5304),_=n(54395),y=n(9945),b=n(43190),w=n(47349),C=n(59328),x=n(45435),k=n(62579),O=n(33770),M=n(64493),S=n(12057);const P=new i.OlP("Box model to observe changes",{providedIn:"root",factory:()=>"content-box"}),E=new i.OlP("Resize Observer API support",{providedIn:"root",factory:()=>!!(0,i.f3M)(k.m9).ResizeObserver});let T=(()=>{class t extends o.y{constructor({nativeElement:t},e,n,i){let r;return super(o=>{if(n)return r=new ResizeObserver(t=>{e.run(()=>{o.next(t)})}),r.observe(t,{box:i}),()=>{r.disconnect()};o.error("ResizeObserver is not supported in your browser")}),this.pipe((0,y.B)())}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.SBq),i.LFG(i.R0b),i.LFG(E),i.LFG(P))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();var A=n(11927),I=n(97582),D=n(59178);var N=n(99434);let L=(()=>{class t extends r.t{constructor(){super(1)}ngOnDestroy(){this.next(),this.complete()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),z=(()=>{class t{constructor(t,e){this.resolver=t,this.injector=e,this.map=new Map}addComponent(t){this.map.has(t)||this.map.set(t,this.resolver.resolveComponentFactory(t).create(this.injector))}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i._Vd),i.LFG(i.gxx))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),F=(()=>{class t extends o.y{constructor({nativeElement:t},e,n){super(t=>this.focusVisible$.subscribe(t)),this.focusVisible$=(0,u.ix)(t).pipe((0,u.NA)(e),(0,h.R)(n))}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.SBq),i.LFG(i.sBO),i.LFG(L,2))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),R=(()=>{class t{generate(){return`tui_${t.autoId++}${Date.now()}`}}return t.autoId=0,t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),j=(()=>{class t extends o.y{constructor(t,e){super(t=>this.callback$.subscribe(t)),this.callback$=(0,s.P)(()=>{let{nativeElement:n}=t;const i=[e,n];for(;n.parentElement;)n=n.parentElement,i.push(n);return(0,a.T)(...i.map(t=>(0,u.mL)(t,"scroll")))})}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.SBq),i.LFG(k.m9))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),B=(()=>{class t extends o.y{constructor(t,{nativeElement:e},n,i,r,o){super(t=>this.obscured$.subscribe(t)),this.obscured$=(0,a.T)((0,a.T)(t,(0,l.R)(i,"resize")).pipe((0,d.g)(0)),o.pipe((0,p.p)(O.Yg))).pipe((0,f.U)(()=>(0,M.PU)(e)),(0,g.O)(null),(0,m.x)(),(0,u.Yr)(n),(0,h.R)(r))}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(j,2),i.LFG(i.SBq),i.LFG(i.R0b),i.LFG(k.m9),i.LFG(L,2),i.LFG(k.L1))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),V=(()=>{class t extends T{constructor(t,e,n,i,r,o){return super(t,e,i,r),this.pipe((0,v.K)(()=>o.pipe((0,p.p)(O.Yg),(0,f.U)(()=>`${t.nativeElement.clientWidth} ${t.nativeElement.clientHeight}`),(0,m.x)(),(0,f.U)(()=>O.LZ))),(0,_.b)(0),(0,u.fL)(e),(0,y.B)(),(0,h.R)(n))}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.SBq),i.LFG(i.R0b),i.LFG(L,2),i.LFG(E),i.LFG(P),i.LFG(k.L1))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),$=(()=>{class t{constructor(t,e){this.win=t,this.platformId=e,this.cache=new Map}request(t){const e=this.cache.get(t);if(e)return e;const n=("AbortController"in this.win||(0,S.PM)(this.platformId)?function(t,e={}){const{selector:n}=e,i=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r{const r=new AbortController,o=r.signal;let s=!0,a=!1;const l=new D.w;let u;if(l.add(()=>{a=!0,s&&r.abort()}),i){if(i.signal)if(i.signal.aborted)r.abort();else{const t=i.signal,e=()=>{o.aborted||r.abort()};t.addEventListener("abort",e),l.add(()=>t.removeEventListener("abort",e))}u=Object.assign({},i,{signal:o})}else u={signal:o};return fetch(t,u).then(t=>{n?l.add((0,c.D)(n(t)).subscribe(t=>e.next(t),t=>{s=!1,a||e.error(t)},()=>{s=!1,e.complete()})):(s=!1,e.next(t),e.complete())}).catch(t=>{s=!1,a||e.error(t)}),l})}(t):(0,s.P)(()=>(0,c.D)(fetch(t)))).pipe((0,b.w)(e=>(0,I.mG)(this,void 0,void 0,function*(){if(e.ok)return e.text();throw new Error(`Failed to load ${t} (${e.statusText})`)})),(0,w.d)({bufferSize:1,refCount:!1}));return this.cache.set(t,n),n}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(k.m9),i.LFG(i.Lbi))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Y=(()=>{class t extends o.y{constructor({nativeElement:t},{timeout:e,threshold:n},i){super(r=>{(0,a.T)((0,u.mL)(t,"touchstart",{passive:!0}),(0,u.mL)(i,"touchend")).pipe((0,C.G)(),(0,x.h)(([t,e])=>!!t.touches.length&&t.touches[0].identifier===e.changedTouches[0].identifier),(0,f.U)(([t,i])=>{const r=t.touches[0].clientX-i.changedTouches[0].clientX,o=t.touches[0].clientY-i.changedTouches[0].clientY,s=i.timeStamp-t.timeStamp;return(Math.abs(r)>n||Math.abs(o)>n)&&s1}const c=/^((?!chrome|android).)*safari/i;var u=n(11927),h=n(64493),d=n(26215),p=n(41291),f=n(66682),g=n(25917),m=n(97968),v=n(59193),_=n(43190),y=n(88002),b=n(39761),w=n(9945),C=n(45435),x=n(46782),k=n(72361),O=n(57057),M=n(15257),S=n(87519),P=n(47349),E=n(79221),T=n(33770);const A=(0,u.N1)(()=>{const t={onRemovalComplete:()=>{}},e=new d.X(null),n=(0,r.f3M)(E.Th,r.XFs.Optional)||t,{onRemovalComplete:i=t.onRemovalComplete}=n;return n.onRemovalComplete=(t,r)=>{e.next(t),i.call(n,t,r)},e.pipe((0,_.w)(t=>(0,p.H)(0).pipe((0,y.U)(()=>null),(0,b.O)(t))),(0,w.B)())});function I(t,e=null){return(0,h.Wf)(t).activeElement!==t&&!t.matches(":disabled")&&!(null==e?void 0:e.contains(t))}const D=(0,u.N1)(()=>{const t=(0,r.f3M)(A),e=(0,r.f3M)(o.m9),n=(0,r.f3M)(i.K0),a=(0,s.mL)(e,"focusout"),l=(0,s.mL)(e,"focusin"),c=(0,s.mL)(e,"blur"),u=(0,s.mL)(e,"mousedown"),d=(0,s.mL)(e,"mouseup");return(0,f.T)(a.pipe((0,x.R)(u),(0,k.a)(()=>d),(0,O.M)(t),(0,C.h)(([t,e])=>I((0,h.mA)(t),e)),(0,y.U)(([{relatedTarget:t}])=>t)),c.pipe((0,y.U)(()=>n.activeElement),(0,C.h)(t=>!!(null==t?void 0:t.matches("iframe")))),l.pipe((0,_.w)(t=>{const e=(0,h.mA)(t),i=(0,h.Wf)(e);return i===n?(0,g.of)(e):function(t){return(0,f.T)((0,s.mL)(t,"focusin").pipe((0,y.U)(({target:t})=>t)),(0,s.mL)(t,"focusout").pipe((0,C.h)(({target:t,relatedTarget:e})=>!!e&&I(t)),(0,y.U)(({relatedTarget:t})=>t)))}(i).pipe((0,b.O)(e))})),u.pipe((0,_.w)(t=>{const e=(0,h.mA)(t);return n.activeElement&&n.activeElement!==n.body?a.pipe((0,M.q)(1),(0,y.U)(()=>e),(0,x.R)((0,p.H)(0))):(0,g.of)(e)}))).pipe((0,S.x)(),(0,w.B)())}),N=(0,u.JN)([]);function L(t){return{provide:N,multi:!0,useExisting:t}}const z=(0,u.N1)(()=>{var t,e;return null!==(e=null===(t=(0,r.f3M)(i.K0).querySelector("base"))||void 0===t?void 0:t.href)&&void 0!==e?e:""}),F=((0,u.N1)(()=>(0,r.f3M)(r.FYo).createRenderer(null,null)),(0,u.JN)([]));function R(t){return{provide:F,multi:!0,useExisting:t}}(0,u.N1)(()=>{var t;const e=null===(t=(0,r.f3M)(i.K0).querySelector("base"))||void 0===t?void 0:t.href;if(e)return e;const n=(0,r.f3M)(i.K0).createElement("a");return n.href="",n.pathname});const j=new r.OlP("[TUI_FOCUSABLE_ITEM_ACCESSOR]");function B(t){return{provide:j,useExisting:t}}const V=new r.OlP("[TUI_FONTS_READY]",{factory:()=>{var t;return(0,m.D)((null===(t=(0,r.f3M)(i.K0).fonts)||void 0===t?void 0:t.ready)||v.E).pipe((0,P.d)({bufferSize:1,refCount:!1}))}}),$=(0,u.N1)(()=>l((0,r.f3M)(o.s5))),Y=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/,Z=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/,q=(0,u.N1)(()=>Y.test((0,r.f3M)(o.yZ).toLowerCase())||Z.test((0,r.f3M)(o.yZ).slice(0,4).toLowerCase())),U=(0,u.N1)(()=>(0,r.f3M)(q)&&!(0,r.f3M)($)),H=(0,u.N1)(()=>{return l(t=(0,r.f3M)(o.s5))||c.test(t.userAgent.toLowerCase());var t}),G=((0,u.N1)(()=>!!(0,r.f3M)(o.m9).chrome),(0,u.N1)(()=>!!(0,r.f3M)(o.m9).Cypress)),J=(0,u.N1)(T.Iy),X=(0,u.N1)(()=>(0,r.f3M)(G)||(0,r.f3M)(J)),Q=((0,u.N1)(()=>{var t;return void 0!==(null===(t=(0,r.f3M)(o.m9))||void 0===t?void 0:t.mozCancelFullScreen)}),(0,u.N1)(()=>(0,r.f3M)(o.m9).location.host.endsWith("stackblitz.io")),(0,u.N1)(()=>{var t;return!!(null===(t=(0,r.f3M)(o.m9))||void 0===t?void 0:t.webkitConvertPointFromNodeToPage)}));(0,u.JN)("web"),(0,u.N1)(()=>(0,i.NF)((0,r.f3M)(r.Lbi))?new Range:{});const W=(0,u.N1)(()=>new r.SBq((0,r.f3M)(i.K0).documentElement)),K=(0,u.JN)({timeout:500,threshold:30}),tt=((0,u.N1)(T.Ye),(0,u.N1)(()=>(0,r.f3M)(o.m9).matchMedia("(any-pointer: coarse)").matches),new r.OlP("[TUI_WINDOW_SIZE]",{factory:()=>{const t=(0,r.f3M)(o.m9);return(0,s.mL)(t,"resize").pipe((0,b.O)(null),(0,y.U)(()=>{var e,n;const i=Math.max(t.innerWidth,(null===(e=t.visualViewport)||void 0===e?void 0:e.width)||0),r=Math.max(t.innerHeight,(null===(n=t.visualViewport)||void 0===n?void 0:n.height)||0);return{width:i,height:r,top:0,left:0,right:i,bottom:r}}),(0,P.d)({bufferSize:1,refCount:!0}))}}));(0,u.N1)(()=>(0,r.f3M)(tt).pipe((0,y.U)(({height:t})=>t))),(0,u.JN)({wheelSensitivity:.01})},41213:function(t,e,n){"use strict";function i(t){return t.toLowerCase().includes("firefox")}function r({ownerDocument:t}){var e,n,i,r,o,s,a,l;const c=null==t?void 0:t.defaultView,u=void 0!==c.safari&&"[object SafariRemoteNotification]"===(null===(n=null===(e=c.safari)||void 0===e?void 0:e.pushNotification)||void 0===n?void 0:n.toString()),h=!!(null===(r=null===(i=c.navigator)||void 0===i?void 0:i.vendor)||void 0===r?void 0:r.includes("Apple"))&&!(null===(s=null===(o=c.navigator)||void 0===o?void 0:o.userAgent)||void 0===s?void 0:s.includes("CriOS"))&&!(null===(l=null===(a=c.navigator)||void 0===a?void 0:a.userAgent)||void 0===l?void 0:l.includes("FxiOS"));return u||h}n.d(e,{oK:function(){return i},Ex:function(){return r}})},64493:function(t,e,n){"use strict";n.d(e,{ty:function(){return o},PP:function(){return s},mA:function(){return c},Wf:function(){return u},PU:function(){return h},YX:function(){return d},Hs:function(){return p},ve:function(){return a},Hn:function(){return f},dW:function(){return l},dD:function(){return g},UP:function(){return m}});var i=n(85648),r=n(11927);function o(t,e,n,i){return n?function(t,e,n){let i=t;for(;i!==e.parentElement;){if(Math.floor(i.scrollTop)>0&&!n||Math.ceil(i.scrollTop+i.clientHeight)0&&!n||Math.ceil(i.scrollLeft+i.clientWidth)!t.contains(e));return 4===m.length?m:null}function d(t,e){let{offsetTop:n,offsetLeft:i,offsetParent:r}=e;for(;l(r)&&r!==t;)n+=r.offsetTop,i+=r.offsetLeft,r=r.offsetParent;return{offsetTop:n,offsetLeft:i}}function p(t,e=!0){return null===t?null:e&&t.scrollHeight>t.clientHeight||!e&&t.scrollWidth>t.clientWidth?t:p(t.parentElement,e)}function f(t){return function(t){return function(t){return t.matches("input")}(t)||function(t){return t.matches("textarea")}(t)}(t)&&!t.readOnly||!!t.isContentEditable}function g(t=0,e=0){const n={x:t,y:e,left:t,right:t,top:e,bottom:e,width:0,height:0};return Object.assign(Object.assign({},n),{toJSON:()=>n})}function m(t){return"explicitOriginalTarget"in t?(null==t?void 0:t.explicitOriginalTarget)!==t.target:"pointerId"in t?-1===t.pointerId:"detail"in t&&"webkitForce"in t&&0===(null==t?void 0:t.detail)}n(18939)},57179:function(t,e,n){"use strict";n.d(e,{hp:function(){return s},BW:function(){return c},ie:function(){return o},V8:function(){return u},zb:function(){return h},dT:function(){return a},VR:function(){return d},Pg:function(){return p}});var i=n(64493),r=n(33770);function o({activeElement:t}){if(!(null==t?void 0:t.shadowRoot))return t;let e=t.shadowRoot.activeElement;for(;null==e?void 0:e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function s(t){const e=o(t);(0,i.dW)(e)&&e.blur()}function a(t){if(t.hasAttribute("disabled")||"-1"===t.getAttribute("tabIndex"))return!1;if((0,i.dW)(t)&&t.isContentEditable||"0"===t.getAttribute("tabIndex"))return!0;switch(t.tagName){case"BUTTON":case"SELECT":case"TEXTAREA":return!0;case"VIDEO":case"AUDIO":return t.hasAttribute("controls");case"INPUT":return"hidden"!==t.getAttribute("type");case"A":case"LINK":return t.hasAttribute("href");default:return!1}}function l(t){return!t.hasAttribute("disabled")&&("-1"===t.getAttribute("tabIndex")||a(t))}function c({initial:t,root:e,previous:n=!1,keyboard:o=!0}){if(!e.ownerDocument)return null;const s=o?a:l,c=e.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,r.Lw);for(c.currentNode=t;n?c.previousNode():c.nextNode();)if((0,i.dW)(c.currentNode)&&(t=c.currentNode),(0,i.dW)(t)&&s(t))return t;return null}function u(t){return!!(null==t?void 0:t.ownerDocument)&&o(t.ownerDocument)===t&&t.ownerDocument.hasFocus()}function h(t){if(!t.ownerDocument||!t.contains)return!1;const e=o(t.ownerDocument);return null!==e&&t.contains(e)&&t.ownerDocument.hasFocus()}function d(t,e,n){for(t+=n;t>=0&&t=e&&t=n?n:Math.round(t)}function s(t,e,n){if(t===1/0)return t;e=Math.min(e,292);const i=`${t}e`.split("e"),r=`${n(Number(`${i[0]}e${Number(i[1])+e}`))}e`.split("e");return Number(`${r[0]}e${Number(r[1])-e}`)}function a({value:t,precision:e,method:n}){switch(n){case"round":return function(t,e=0){return s(t,e,Math.round)}(t,e);case"ceil":return function(t,e=0){return s(t,e,Math.ceil)}(t,e);case"floor":return function(t,e=0){return s(t,e,Math.floor)}(t,e);default:return function(t,e=0){return s(t,e,Math.trunc)}(t,e)}}function l(t){return t?1:0}function c(t){return parseInt(t,10)}n.d(e,{Ki:function(){return i},wf:function(){return r},G1:function(){return o},h0:function(){return a},HW:function(){return l},oY:function(){return c}}),n(18939)},11927:function(t,e,n){"use strict";n.d(e,{WX:function(){return r},xT:function(){return s},JN:function(){return a},N1:function(){return l},gD:function(){return c},M8:function(){return u},Mv:function(){return h},dt:function(){return d},Pc:function(){return p},Aj:function(){return o},vK:function(){return f},pf:function(){return g}});var i=n(74788);function r(t,e){return t.slice(0,Math.max(e,0)).concat(t.slice(Math.max(e+1,0)))}function o(t){return"string"==typeof t}function s(t){return JSON.parse(JSON.stringify(t,(t,e)=>function(t){const e=o(t)?t.trim():t;return[void 0,null,NaN,""].includes(e)}(e)?void 0:e))}function a(t){return l(()=>t)}function l(t){return new i.OlP("",{factory:t})}function c(t){let e=[];return t.find((t,n,i)=>(e=i,!0)),e}function u(t,e){return Math.abs(e)>Math.abs(t)?e>0?"top":"bottom":t>0?"left":"right"}function h(t){return!t}function d(t){return"number"==typeof t}function p(t){return null!=t}function f(t,e,n){return{provide:t,deps:[[new i.FiY,new i.tp0,t]],useFactory:t=>Object.assign(Object.assign({},t||n),e)}}function g(t,e){return Array.from(t.reduce((t,n)=>t.has(n[e])?t:t.set(n[e],n),new Map).values())}},68192:function(t,e,n){"use strict";n.d(e,{N:function(){return r}});var i=n(11927);function r(t,e=function(){return Math.floor(Math.random()*Date.now())}(),n="rgba(0, 0, 0, 0.7)"){if((0,i.Aj)(t)){const i=function(t){var e;const n=(null!==(e=t.match(/url\(("?)('*)#(.*?)('*)\)/g))&&void 0!==e?e:[]).map(t=>t.slice(4,t.length-1).replace(/['"#]+/g,""));return Array.from(new Set(n))}(t).reduce((t,n)=>{const i=function(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(n),r=`id_${e}_${n}`;return t.replace(new RegExp(`"${i}"`,"g"),`"${r}"`).replace(new RegExp(`'${i}'`,"g"),`'${r}'`).replace(new RegExp(`url\\('#${i}'\\)`,"g"),`url('#${r}')`).replace(new RegExp(`url\\("#${i}"\\)`,"g"),`url("#${r}")`).replace(new RegExp(`url\\(#${i}\\)`,"g"),`url(#${r})`)},t);return function(t,e){try{const n=(new DOMParser).parseFromString(t,"text/html");return n.body.querySelectorAll("[fill^=url]").forEach(t=>t.setAttribute("fill",`${t.getAttribute("fill")} ${e}`.trim())),n.body.innerHTML.trim()}catch(n){return t}}(i,n)}return t}},43631:function(t,e,n){"use strict";n.d(e,{FP:function(){return f},D1:function(){return g},kk:function(){return u},uG:function(){return m},O4:function(){return y},c2:function(){return d},UK:function(){return h},P7:function(){return _},Ic:function(){return C},Fe:function(){return p},Sv:function(){return w},ei:function(){return v},Wk:function(){return b}});var i=n(74788),r=n(27103),o=n(76480),s=n(29856),a=n(66682),l=n(87519),c=n(46782);class u extends s.y{}function h(t){return{provide:u,multi:!0,useExisting:t}}class d{}function p(t){return{provide:d,multi:!0,useExisting:t}}let f=(()=>{class t{constructor(t,e,n){this.destroy$=t,this.drivers=e,this.vehicles=n}ngOnInit(){const t=this.vehicles.find(({type:t})=>t===this.type);(0,a.T)(...this.drivers.filter(({type:t})=>t===this.type)).pipe((0,l.x)(),(0,c.R)(this.destroy$)).subscribe(e=>{null==t||t.toggle(e)})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(r.a3,2),i.Y36(u),i.Y36(d))},t.\u0275dir=i.lG2({type:t}),t})(),g=(()=>{class t{constructor(t){this.host=t}get readOnly(){return this.host.readOnly}get disabled(){return this.host.computedDisabled}get invalid(){return this.host.computedInvalid}get focusable(){return this.host.computedFocusable}get inputMode(){return"text"}get value(){var t;return(null===(t=this.host.value)||void 0===t?void 0:t.toString())||""}process(t){}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(o.M$))},t.\u0275dir=i.lG2({type:t}),t})();class m{}function v(t){return{provide:m,deps:[[new i.tp0,m]],useFactory:e=>e.find(e=>e.type===t)}}function _(t){return{provide:m,multi:!0,useExisting:t}}class y{}function b(t,e){return{provide:y,deps:[[new i.tp0,y],e],useFactory:w(t)}}function w(t){return(e,n)=>e.find(e=>e!==n&&e.type===t)||n}function C(t){return{provide:y,multi:!0,useExisting:t}}},49941:function(t,e,n){"use strict";n.d(e,{i9:function(){return c},QF:function(){return l},eu:function(){return a},gI:function(){return u},Gw:function(){return h},X9:function(){return d}});var i=n(56083);const r="{{duration}}ms ease-in-out",o={params:{duration:300}},s=300,a=(0,i.X$)("tuiHeightCollapse",[(0,i.eR)(":enter",[(0,i.oB)({height:0}),(0,i.jt)(r,(0,i.oB)({height:"*"}))],o),(0,i.eR)(":leave",[(0,i.oB)({height:"*"}),(0,i.jt)(r,(0,i.oB)({height:0}))],o)]),l=((0,i.X$)("tuiHeightCollapseList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({height:0}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({height:"*"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({height:"*"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({height:0}))])],{optional:!0})],o)]),(0,i.X$)("tuiWidthCollapse",[(0,i.eR)(":enter",[(0,i.oB)({width:0}),(0,i.jt)(r,(0,i.oB)({width:"*"}))],o),(0,i.eR)(":leave",[(0,i.oB)({width:"*"}),(0,i.jt)(r,(0,i.oB)({width:0}))],o)]),(0,i.X$)("tuiWidthCollapseList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({width:0}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({width:"*"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({width:"*"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({width:0}))])],{optional:!0})],o)]),(0,i.X$)("tuiFadeIn",[(0,i.eR)(":enter",[(0,i.oB)({opacity:0}),(0,i.jt)(r,(0,i.oB)({opacity:1}))],o),(0,i.eR)(":leave",[(0,i.oB)({opacity:1}),(0,i.jt)(r,(0,i.oB)({opacity:0}))],o)])),c=((0,i.X$)("tuiFadeInList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({opacity:0}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({opacity:1}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({opacity:1}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({opacity:0}))])],{optional:!0})],o)]),(0,i.X$)("tuiFadeInTop",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translateY(-10px)",opacity:0}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(0)",opacity:1}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"translateY(0)",opacity:1}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(-10px)",opacity:0}))],o)]),(0,i.X$)("tuiFadeInBottom",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translateY(10px)",opacity:0}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(0)",opacity:1}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"translateY(0)",opacity:1}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(10px)",opacity:0}))],o)]),(0,i.X$)("tuiDropdownAnimation",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translateY(-10px)",opacity:0}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(0)",opacity:1}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"translateY(0)",opacity:1}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(-10px)",opacity:0}))],o)])),u=(0,i.X$)("tuiScaleIn",[(0,i.eR)(":enter",[(0,i.oB)({transform:"scale(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"scale(1)"}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"scale(1)"}),(0,i.jt)(r,(0,i.oB)({transform:"scale(0)"}))],o)]),h=((0,i.X$)("tuiPop",[(0,i.eR)(":enter",[(0,i.oB)({transform:"scale(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"scale(1.1)"})),(0,i.jt)(r,(0,i.oB)({transform:"scale(1)"}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"scale(1)"}),(0,i.jt)(r,(0,i.oB)({transform:"scale(1.1)"})),(0,i.jt)(r,(0,i.oB)({transform:"scale(0)"}))],o)]),(0,i.X$)("tuiScaleInList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({transform:"scale(0)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"scale(1)"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({transform:"scale(1)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"scale(0)"}))])],{optional:!0})],o)]),(0,i.X$)("tuiSlideIn",[(0,i.eR)("* => left",[(0,i.oB)({transform:"translateX(-100%)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(0)"}))],o),(0,i.eR)("left => *",[(0,i.oB)({transform:"translateX(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(-100%)"}))],o),(0,i.eR)("* => right",[(0,i.oB)({transform:"translateX(100%)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(0)"}))],o),(0,i.eR)("right => *",[(0,i.oB)({transform:"translateX(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(100%)"}))],o)])),d=((0,i.X$)("tuiSlideInLeft",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translateX(-100%)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(0)"}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"translateX(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(-100%)"}))],o)]),(0,i.X$)("tuiSlideInLeftList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({transform:"translateX(-100%)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateX(0)"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({transform:"translateX(0)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateX(-100%)"}))])],{optional:!0})],o)]),(0,i.X$)("tuiSlideInRight",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translateX(100%)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(0)"}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"translateX(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(100%)"}))],o)]),(0,i.X$)("tuiSlideInRightList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({transform:"translateX(100%)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateX(0)"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({transform:"translateX(0)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateX(100%)"}))])],{optional:!0})],o)]),(0,i.X$)("tuiSlideInTop",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translate3d(0,{{start}},0)"}),(0,i.jt)(r,(0,i.oB)({transform:"translate3d(0,{{end}},0)"}))],{params:{end:0,start:"100%",duration:300}}),(0,i.eR)(":leave",[(0,i.oB)({transform:"translate3d(0,{{end}},0)"}),(0,i.jt)(r,(0,i.oB)({transform:"translate3d(0,{{start}},0)"}))],{params:{end:0,start:"100%",duration:300}})]));(0,i.X$)("tuiSlideInTopList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({transform:"translateY(100%)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateY(0)"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({transform:"translateY(0)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateY(100%)"}))])],{optional:!0})],o)]),(0,i.X$)("tuiSlideInBottom",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translateY(-100%)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(0)"}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"translateY(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(-100%)"}))],o)]),(0,i.X$)("tuiSlideInBottomList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({transform:"translateY(-100%)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateY(0)"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({transform:"translateY(0)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateY(-100%)"}))])],{optional:!0})],o)])},12628:function(t,e,n){"use strict";n.d(e,{v0:function(){return E},fN:function(){return T}});var i=n(74788),r=n(11927),o=n(76480),s=n(57179),a=n(99434),l=n(27103),c=n(75452),u=n(59193),h=n(39761),d=n(88002),p=n(87519),f=n(77320),g=n(54789),m=n(40719),v=n(12057),_=n(91489),y=n(89570);const b=["tuiButton",""];function w(t,e){1&t&&i.GkF(0)}function C(t,e){1&t&&i._UZ(0,"tui-svg",8),2&t&&i.Q6J("src",e.polymorpheusOutlet)}function x(t,e){if(1&t&&(i.TgZ(0,"span",6),i.YNc(1,C,1,1,"tui-svg",7),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",t.icon)}}function k(t,e){1&t&&i._UZ(0,"tui-svg",8),2&t&&i.Q6J("src",e.polymorpheusOutlet)}function O(t,e){if(1&t&&(i.TgZ(0,"span",9),i.YNc(1,k,1,1,"tui-svg",7),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",t.iconRight)}}function M(t,e){if(1&t&&i._UZ(0,"tui-loader",10),2&t){const t=i.oxw();i.Q6J("inheritColor",!0)("size",t.loaderSize)}}const S=["*"],P=(0,r.JN)({size:"l",shape:null,appearance:f.Nm.Primary});let E=(()=>{class t extends o.Xn{constructor(t,e,n){var i;super(),this.mode=t,this.el=e,this.options=n,this.mode$=(null===(i=this.mode)||void 0===i?void 0:i.change$)||u.E,this.appearance=null,this.disabled=!1,this.shape=this.options.shape,this.showLoader=!1,this.size=this.options.size,this.appearance$=this.mode$.pipe((0,h.O)(null),(0,d.U)(()=>this.computedAppearance),(0,p.x)())}get nativeFocusableElement(){return this.nativeDisabled?null:this.el.nativeElement}get focused(){return!this.showLoader&&(0,s.V8)(this.el.nativeElement)}get loaderSize(){return"l"===this.size||"xl"===this.size?"m":"s"}get computedAppearance(){var t;return null!==(t=this.appearance)&&void 0!==t?t:this.options.appearance||""}get nativeDisabled(){return this.computedDisabled||this.showLoader?"":null}get tabIndex(){return this.focusable?0:-1}onFocused(t){this.updateFocused(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(c.w,8),i.Y36(i.SBq),i.Y36(P))},t.\u0275cmp=i.Xpm({type:t,selectors:[["button","tuiButton",""],["button","tuiIconButton",""],["a","tuiButton",""],["a","tuiIconButton",""]],hostVars:7,hostBindings:function(t,e){1&t&&i.NdJ("focusin",function(){return e.onFocused(!0)})("focusout",function(){return e.onFocused(!1)}),2&t&&(i.Ikx("tabIndex",e.tabIndex),i.uIk("data-shape",e.shape)("data-size",e.size)("data-appearance",e.computedAppearance)("disabled",e.nativeDisabled),i.ekj("_loading",e.showLoader))},inputs:{appearance:"appearance",disabled:"disabled",icon:"icon",iconRight:"iconRight",shape:"shape",showLoader:"showLoader",size:"size"},features:[i._Bn([(0,a.FT)(t),l.a3]),i.qOj],attrs:b,ngContentSelectors:S,decls:8,vars:10,consts:[[4,"ngIf"],["tuiWrapper","",1,"t-wrapper",3,"active","appearance","disabled","hover"],[1,"t-content"],["class","t-left",4,"ngIf"],["class","t-right",4,"ngIf"],["class","t-loader",3,"inheritColor","size",4,"ngIf"],[1,"t-left"],["class","t-icon",3,"src",4,"polymorpheusOutlet"],[1,"t-icon",3,"src"],[1,"t-right"],[1,"t-loader",3,"inheritColor","size"]],template:function(t,e){1&t&&(i.F$t(),i.YNc(0,w,1,0,"ng-container",0),i.ALo(1,"async"),i.TgZ(2,"div",1),i.TgZ(3,"span",2),i.YNc(4,x,2,1,"span",3),i.Hsn(5),i.YNc(6,O,2,1,"span",4),i.qZA(),i.YNc(7,M,1,2,"tui-loader",5),i.qZA()),2&t&&(i.Q6J("ngIf",i.lcZ(1,8,e.appearance$)),i.xp6(2),i.Q6J("active",e.pseudoActive)("appearance",e.computedAppearance)("disabled",e.computedDisabled)("hover",e.pseudoHover),i.xp6(2),i.Q6J("ngIf",e.icon),i.xp6(2),i.Q6J("ngIf",e.iconRight),i.xp6(1),i.Q6J("ngIf",e.showLoader))},directives:[v.O5,_.o,y.Li,g.PN,m.kM],pipes:[v.Ov],styles:["[_nghost-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:inline-block;flex-shrink:0;vertical-align:top;border-radius:var(--tui-radius-m);-webkit-user-select:none;-moz-user-select:none;user-select:none;outline:none;color:inherit}[data-shape=rounded][_nghost-%COMP%]{border-radius:6.25rem}[data-size=xs][_nghost-%COMP%]{height:var(--tui-height-xs);font-weight:normal}[data-size=xs][data-shape=square][_nghost-%COMP%], [data-size=xs][tuiIconButton][_nghost-%COMP%]{width:var(--tui-height-xs)}[data-size=s][_nghost-%COMP%]{height:var(--tui-height-s);font-weight:normal}[data-size=s][data-shape=square][_nghost-%COMP%], [data-size=s][tuiIconButton][_nghost-%COMP%]{width:var(--tui-height-s)}[data-size=m][_nghost-%COMP%]{height:var(--tui-height-m);font:var(--tui-font-text-m);font-weight:bold}[data-size=m][data-shape=square][_nghost-%COMP%], [data-size=m][tuiIconButton][_nghost-%COMP%]{width:var(--tui-height-m)}[data-size=l][_nghost-%COMP%]{height:var(--tui-height-l);font:var(--tui-font-text-m);font-weight:bold}[data-size=l][data-shape=square][_nghost-%COMP%], [data-size=l][tuiIconButton][_nghost-%COMP%]{width:var(--tui-height-l)}[data-size=xl][_nghost-%COMP%]{height:3.75rem;font:var(--tui-font-text-m);font-weight:bold}[data-size=xl][data-shape=square][_nghost-%COMP%], [data-size=xl][tuiIconButton][_nghost-%COMP%]{width:3.75rem}[tuiIconButton][_nghost-%COMP%]{font-size:0!important}[tuiIconButton][_nghost-%COMP%] .t-left[_ngcontent-%COMP%], [tuiIconButton][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{margin:0!important}.t-loader[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;cursor:default}.t-left[_ngcontent-%COMP%]{margin-right:.5rem}[data-size=s][_nghost-%COMP%] .t-left[_ngcontent-%COMP%]{margin-right:.375rem}[data-size=xs][_nghost-%COMP%] .t-left[_ngcontent-%COMP%]{margin-right:.25rem}.t-right[_ngcontent-%COMP%]{margin:0 -.25rem 0 .25rem}[data-size=s][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{margin:0 -.25rem 0 .375rem}[data-size=xs][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{margin:0 -.125rem 0 .25rem}.t-icon[_ngcontent-%COMP%]{display:flex;max-width:100%;max-height:100%;align-items:center;justify-content:center}.t-left[_ngcontent-%COMP%], .t-right[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem}[data-size=s][_nghost-%COMP%] .t-left[_ngcontent-%COMP%], [data-size=s][_nghost-%COMP%] .t-right[_ngcontent-%COMP%], [data-size=xs][_nghost-%COMP%] .t-left[_ngcontent-%COMP%], [data-size=xs][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{width:1rem;height:1rem}[tuiIconButton][data-appearance=icon][data-size=s][_nghost-%COMP%] .t-left[_ngcontent-%COMP%], [tuiIconButton][data-appearance=icon][data-size=s][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem}.t-wrapper[_ngcontent-%COMP%]{box-sizing:border-box;cursor:pointer;isolation:isolate}[data-size=xs][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, .375rem)}[data-size=xs][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border-width:1px}[data-size=s][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, .75rem)}[data-size=m][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, 1.5rem)}[data-size=l][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, 2.25rem)}[data-size=xl][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, 2.5rem)}[data-shape=square][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%], [tuiIconButton][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0}.t-content[_ngcontent-%COMP%]{display:flex;height:100%;align-items:center;justify-content:center;text-align:center}._loading[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{opacity:0}"],changeDetection:0}),t})(),T=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[v.ez,y.wq,_.W,g.EI,m.dS]]}),t})()},75111:function(t,e,n){"use strict";n.d(e,{qi:function(){return E},gX:function(){return T},pc:function(){return I},Rs:function(){return A},vK:function(){return P}});var i=n(97582),r=n(74788),o=n(57179),s=n(33770),a=n(40946),l=n(11927),c=n(64493),u=n(44358),h=n(79588),d=n(79456),p=n(88002),f=n(98952),g=n(11557),m=n(54789),v=n(89570),_=n(12057);const y=["tuiOption",""];function b(t,e){if(1&t&&(r.ynx(0),r._uU(1),r.BQk()),2&t){const t=e.polymorpheusOutlet;r.xp6(1),r.hij(" ",t,"\n")}}function w(t,e){if(1&t&&r._UZ(0,"tui-svg",3),2&t){const t=r.oxw(2);r.Q6J("src",t.icons.more)}}function C(t,e){if(1&t&&(r.Hsn(0),r.YNc(1,w,1,1,"tui-svg",2)),2&t){const t=r.oxw();r.xp6(1),r.Q6J("ngIf",t.dropdown)}}const x=function(t){return{$implicit:t}},k=["*"];function O(t,e){if(1&t&&(r.ynx(0),r._uU(1),r.BQk()),2&t){const t=e.polymorpheusOutlet;r.xp6(1),r.hij(" ",t," ")}}function M(t,e){if(1&t&&(r.TgZ(0,"div",2),r.YNc(1,O,2,1,"ng-container",3),r.ALo(2,"async"),r.qZA()),2&t){const t=r.oxw();r.xp6(1),r.Q6J("polymorpheusOutlet",t.emptyContent||r.lcZ(2,1,t.defaultEmptyContent$))}}function S({currentTarget:t}){return!(0,o.V8)(t)}let P=(()=>{class t{constructor(t,e,n,i,r,o){this.content=t,this.dataList=e,this.el=n,this.host=i,this.dropdown=r,this.icons=o,this.size=null,this.role="option",this.disabled=!1}get active(){return!!this.dropdown&&!!this.dropdown.dropdownBoxRef}onClick(){this.host&&void 0!==this.value&&this.host.handleOption(this.value)}onMouseMove({currentTarget:t}){t.focus({preventScroll:!0})}ngOnDestroy(){var t;null===(t=this.dataList)||void 0===t||t.handleFocusLossIfNecessary(this.el.nativeElement)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(d.IQ,8),r.Y36((0,r.Gpc)(()=>E),8),r.Y36(r.SBq),r.Y36(d.N1,8),r.Y36(f.td,10),r.Y36(d.Gs))},t.\u0275cmp=r.Xpm({type:t,selectors:[["button","tuiOption",""],["a","tuiOption",""]],hostAttrs:["tabIndex","-1","type","button"],hostVars:5,hostBindings:function(t,e){1&t&&r.NdJ("click",function(){return e.onClick()})("mousemove.silent",function(t){return e.onMouseMove(t)}),2&t&&(r.uIk("disabled",e.disabled||null)("data-size",e.size)("role",e.role),r.ekj("_with-dropdown",e.active))},inputs:{size:"size",role:"role",disabled:"disabled",value:"value"},attrs:y,ngContentSelectors:k,decls:3,vars:4,consts:[[4,"polymorpheusOutlet","polymorpheusOutletContext"],["base",""],["class","t-arrow",3,"src",4,"ngIf"],[1,"t-arrow",3,"src"]],template:function(t,e){if(1&t&&(r.F$t(),r.YNc(0,b,2,1,"ng-container",0),r.YNc(1,C,2,1,"ng-template",null,1,r.W1O)),2&t){const t=r.MAs(2);r.Q6J("polymorpheusOutlet",e.content||t)("polymorpheusOutletContext",r.VKq(2,x,t))}},directives:[v.Li,_.O5,m.PN],styles:['[_nghost-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;justify-content:space-between;text-align:left;color:var(--tui-text-01);border-radius:var(--tui-radius-s);outline:none;cursor:pointer;background-clip:padding-box}[_nghost-%COMP%]:disabled{opacity:var(--tui-disabled-opacity);cursor:default}[_nghost-%COMP%]:focus, ._with-dropdown[_nghost-%COMP%]{background-color:var(--tui-clear)}[_nghost-%COMP%] [data-list-size="s"][_nghost-%COMP%], [data-list-size="s"] [_nghost-%COMP%], [_nghost-%COMP%] [data-list-size="xs"][_nghost-%COMP%], [data-list-size="xs"] [_nghost-%COMP%], [data-size=s][data-size=s][_nghost-%COMP%], [data-size=xs][data-size=xs][_nghost-%COMP%]{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-s);min-height:2rem;padding:.3125rem .5rem}[_nghost-%COMP%] [data-list-size="m"][_nghost-%COMP%], [data-list-size="m"] [_nghost-%COMP%], [data-size=m][data-size=m][_nghost-%COMP%]{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-s);min-height:2.5rem;padding:.375rem .5rem}[_nghost-%COMP%] [data-list-size="l"][_nghost-%COMP%], [data-list-size="l"] [_nghost-%COMP%], [data-size=l][data-size=l][_nghost-%COMP%]{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-m);min-height:2.75rem;padding:.375rem .625rem}.t-arrow[_ngcontent-%COMP%]{margin:0 -.5rem 0 .75rem}'],changeDetection:0}),(0,i.gn)([(0,g.uX)(S)],t.prototype,"onMouseMove",null),t})(),E=(()=>{class t{constructor(t,e,n){var i;this.controller=t,this.el=e,this.defaultEmptyContent$=n,this.options=s.Mm,this.role="listbox",this.size=(null===(i=this.controller)||void 0===i?void 0:i.size)||"m"}get empty$(){return(0,a.ll)(this.options).pipe((0,p.U)(({length:t})=>!t))}onFocusIn(t,e){!e.contains(t)&&!this.origin&&(this.origin=t)}noop(){}onKeyDownArrow(t,e){const{elements:n}=this;(0,o.VR)(n.indexOf(t),n,e)}handleFocusLossIfNecessary(t=this.el.nativeElement){this.origin&&(0,o.zb)(t)&&(0,o.Pg)(this.origin,!0,!0)}getOptions(t=!1){return this.options.filter(({disabled:e})=>t||!e).map(({value:t})=>t).filter(l.Pc)}onFocus({target:t},e){if(!(0,c.ve)(t))return;const{elements:n}=this;(0,o.VR)(e?-1:n.length,n,e?1:-1),this.handleFocusLossIfNecessary(t)}get elements(){return Array.from(this.el.nativeElement.querySelectorAll("[tuiOption]"))}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(h.Cs,8),r.Y36(r.SBq),r.Y36(d.PH))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-data-list"]],contentQueries:function(t,e,n){if(1&t&&r.Suo(n,P,5),2&t){let t;r.iGM(t=r.CRH())&&(e.options=t)}},hostVars:2,hostBindings:function(t,e){1&t&&r.NdJ("focusin",function(t){return e.onFocusIn(t.relatedTarget,t.currentTarget)})("mousedown.prevent",function(){return e.noop()})("keydown.arrowDown.prevent",function(t){return e.onKeyDownArrow(t.target,1)})("keydown.arrowUp.prevent",function(t){return e.onKeyDownArrow(t.target,-1)})("wheel.silent.passive",function(){return e.handleFocusLossIfNecessary()})("mouseleave",function(t){return e.handleFocusLossIfNecessary(t.target)}),2&t&&r.uIk("role",e.role)("data-list-size",e.size)},inputs:{role:"role",emptyContent:"emptyContent",size:"size"},features:[r._Bn([(0,d.RB)(t),h.Y0])],ngContentSelectors:k,decls:5,vars:3,consts:[["tabindex","0",1,"t-trap",3,"focusin"],["class","t-empty",4,"ngIf"],[1,"t-empty"],[4,"polymorpheusOutlet"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"div",0),r.NdJ("focusin",function(t){return e.onFocus(t,!0)}),r.qZA(),r.Hsn(1),r.YNc(2,M,3,3,"div",1),r.ALo(3,"async"),r.TgZ(4,"div",0),r.NdJ("focusin",function(t){return e.onFocus(t,!1)}),r.qZA()),2&t&&(r.xp6(2),r.Q6J("ngIf",r.lcZ(3,1,e.empty$)))},directives:[_.O5,v.Li],pipes:[_.Ov],styles:['tui-data-list{--tui-data-list-padding: .25rem;--tui-data-list-margin: .0625rem;display:flex;font:var(--tui-font-text-m);flex-direction:column;padding:calc(var(--tui-data-list-padding) - var(--tui-data-list-margin)) var(--tui-data-list-padding);color:var(--tui-text-03)}tui-data-list:focus-within .t-trap{display:none}tui-data-list:focus-within [tuiOption]._with-dropdown:not(:focus){background-color:transparent}tui-data-list[data-list-size=s]{--tui-data-list-margin: 0rem}tui-data-list[data-list-size=s]>.t-empty{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-s);min-height:2rem;padding:.3125rem .5rem}tui-data-list[data-list-size=m]>.t-empty{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-s);min-height:2.5rem;padding:.375rem .5rem}tui-data-list[data-list-size=l]{--tui-data-list-padding: .375rem;--tui-data-list-margin: .125rem}tui-data-list[data-list-size=l]>.t-empty{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-m);min-height:2.75rem;padding:.375rem .625rem}tui-opt-group{position:relative;display:flex;font:var(--tui-font-text-xs);color:var(--tui-text-02);flex-direction:column;line-height:1rem}tui-data-list[data-list-size=l] tui-opt-group{font:var(--tui-font-text-s);line-height:1.25rem}tui-data-list[data-list-size=l] tui-opt-group:before{padding-left:.625rem;padding-right:.625rem}tui-data-list[data-list-size=l] tui-opt-group:after{left:.625rem;right:.625rem}tui-opt-group:empty:before,tui-opt-group:empty:after{display:none}tui-opt-group:before{content:attr(data-label);padding:var(--tui-data-list-padding) .5rem var(--tui-data-list-padding);margin:var(--tui-data-list-margin) 0;white-space:normal;word-break:break-word}tui-opt-group:after{position:absolute;left:.5rem;right:.5rem;top:var(--tui-data-list-padding);height:1px;background:var(--tui-base-03)}tui-opt-group:not(:empty)~tui-opt-group:before{padding-top:calc(.75rem + var(--tui-data-list-padding))}tui-opt-group:not(:empty)~tui-opt-group[data-label=""]:before,tui-opt-group:not(:empty)~tui-opt-group:not([data-label]):before{padding:var(--tui-data-list-padding) 0}tui-opt-group:not(:empty)~tui-opt-group:after{content:""}tui-opt-group[data-label=""]:before,tui-opt-group:not([data-label]):before{padding:0;margin:0}\n'],encapsulation:2,changeDetection:0}),(0,i.gn)([u.UM],t.prototype,"empty$",null),t})(),T=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["ng-template","tuiDataList",""]]}),t})(),A=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["tui-opt-group"]],hostAttrs:["role","group"],hostVars:1,hostBindings:function(t,e){2&t&&r.uIk("data-label",e.label)},inputs:{label:"label"}}),t})(),I=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[_.ez,m.EI,v.wq]]}),t})()},95974:function(t,e,n){"use strict";n.d(e,{gZ:function(){return a},n6:function(){return l}});var i=n(74788),r=n(27103),o=n(12057);let s=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-group-styles"],decls:0,vars:0,template:function(t,e){},styles:[".tui-group{position:relative;display:flex;isolation:isolate}.tui-group>*{flex:1 1 0;min-width:0}.tui-group>*:not(:last-child){margin-right:.125rem}.tui-group.tui-group>*:nth-child(n){border-radius:0}.tui-group_collapsed>*{z-index:1}.tui-group_collapsed>*:not(:last-child){margin-right:-1px}.tui-group_collapsed>*._readonly,.tui-group_collapsed>*._disabled,.tui-group_collapsed>*._readonly:hover,.tui-group_collapsed>*._disabled:hover{z-index:0}.tui-group_collapsed>*:hover,.tui-group_collapsed>*._hovered,.tui-group_collapsed>*._pressed{z-index:3}.tui-group_collapsed>*._invalid{z-index:2}.tui-group_collapsed>*._invalid:hover,.tui-group_collapsed>*._invalid._hovered,.tui-group_collapsed>*._invalid._pressed{z-index:4}.tui-group_collapsed>*._hosted_dropdown_focused,.tui-group_collapsed>*._focus-visible,.tui-group_collapsed>*._focused.ng-touched,.tui-group_collapsed>*._focused.ng-untouched{z-index:5}.tui-group_collapsed>*._active,.tui-group_collapsed>*[data-appearance=whiteblock-active]{z-index:6}.tui-group_collapsed>*._focus-visible._focused,.tui-group_collapsed>*._focus-visible._active,.tui-group_collapsed>*._focus-visible[data-appearance=whiteblock-active]{z-index:7}.tui-group_orientation_vertical{display:inline-flex;flex-direction:column}.tui-group_orientation_vertical>*{min-height:auto;flex:0 0 auto}.tui-group_orientation_vertical>*:not(:last-child){margin-right:0;margin-bottom:.125rem}.tui-group_orientation_vertical.tui-group_collapsed>*:not(:last-child){margin-right:0;margin-bottom:-1px}.tui-group_rounded.tui-group_orientation_horizontal>*:first-child{border-top-left-radius:var(--tui-radius-m);border-bottom-left-radius:var(--tui-radius-m)}.tui-group_rounded.tui-group_orientation_horizontal>*:last-child{border-top-right-radius:var(--tui-radius-m);border-bottom-right-radius:var(--tui-radius-m)}.tui-group_rounded.tui-group_orientation_horizontal.tui-group_radius_large>*:first-child{border-top-left-radius:var(--tui-radius-l);border-bottom-left-radius:var(--tui-radius-l)}.tui-group_rounded.tui-group_orientation_horizontal.tui-group_radius_large>*:last-child{border-top-right-radius:var(--tui-radius-l);border-bottom-right-radius:var(--tui-radius-l)}.tui-group_rounded.tui-group_orientation_vertical>*:first-child{border-top-left-radius:var(--tui-radius-m);border-top-right-radius:var(--tui-radius-m)}.tui-group_rounded.tui-group_orientation_vertical>*:last-child{border-bottom-left-radius:var(--tui-radius-m);border-bottom-right-radius:var(--tui-radius-m)}.tui-group_rounded.tui-group_orientation_vertical.tui-group_radius_large>*:first-child{border-top-left-radius:var(--tui-radius-l);border-top-right-radius:var(--tui-radius-l)}.tui-group_rounded.tui-group_orientation_vertical.tui-group_radius_large>*:last-child{border-bottom-left-radius:var(--tui-radius-l);border-bottom-right-radius:var(--tui-radius-l)}@media screen and (max-width: 47.9625em){.tui-group_rounded.tui-group_adaptive.tui-group_orientation_vertical:not(.tui-group_collapsed)>*:first-child:not(:last-child),.tui-group_rounded.tui-group_adaptive.tui-group_orientation_horizontal>*:first-child:not(:last-child),.tui-group_rounded.tui-group_adaptive.tui-group_orientation_vertical:not(.tui-group_collapsed)>*:last-child:not(:first-child),.tui-group_rounded.tui-group_adaptive.tui-group_orientation_horizontal>*:last-child:not(:first-child){border-radius:var(--tui-radius-m)}}@media screen and (max-width: 47.9625em){.tui-group_rounded.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical:not(.tui-group_collapsed)>*:first-child:not(:last-child),.tui-group_rounded.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal>*:first-child:not(:last-child),.tui-group_rounded.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical:not(.tui-group_collapsed)>*:last-child:not(:first-child),.tui-group_rounded.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal>*:last-child:not(:first-child){border-radius:var(--tui-radius-l)}}@media screen and (max-width: 47.9625em){.tui-group_adaptive.tui-group_orientation_vertical{width:100%}.tui-group_adaptive.tui-group_orientation_vertical>*:nth-child(n):not(:only-child){border-radius:var(--tui-radius-m)}.tui-group_adaptive.tui-group_orientation_vertical>*:not(:last-child){margin-bottom:1rem}.tui-group_adaptive.tui-group_orientation_vertical.tui-group_collapsed>*:nth-child(n):not(:only-child){border-radius:0}.tui-group_adaptive.tui-group_orientation_vertical.tui-group_collapsed>*:first-child:not(:last-child){border-radius:var(--tui-radius-m) var(--tui-radius-m) 0 0}.tui-group_adaptive.tui-group_orientation_vertical.tui-group_collapsed>*:last-child:not(:first-child){border-radius:0 0 var(--tui-radius-m) var(--tui-radius-m)}.tui-group_adaptive.tui-group_orientation_vertical.tui-group_collapsed>*:not(:last-child){margin-bottom:-1px}}@media screen and (max-width: 47.9625em){.tui-group_adaptive.tui-group_orientation_horizontal{flex-direction:column;width:100%}.tui-group_adaptive.tui-group_orientation_horizontal>*:nth-child(n):not(:only-child){border-radius:var(--tui-radius-m)}.tui-group_adaptive.tui-group_orientation_horizontal>*:not(:last-child){margin-right:0;margin-bottom:1rem}.tui-group_adaptive.tui-group_orientation_horizontal.tui-group_collapsed>*:nth-child(n):not(:only-child){border-radius:0}.tui-group_adaptive.tui-group_orientation_horizontal.tui-group_collapsed>*:first-child:not(:last-child){border-radius:var(--tui-radius-m) var(--tui-radius-m) 0 0}.tui-group_adaptive.tui-group_orientation_horizontal.tui-group_collapsed>*:last-child:not(:first-child){border-radius:0 0 var(--tui-radius-m) var(--tui-radius-m)}.tui-group_adaptive.tui-group_orientation_horizontal.tui-group_collapsed>*:not(:last-child){margin-right:0;margin-bottom:-1px}}@media screen and (max-width: 47.9625em){.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical>*:nth-child(n):not(:only-child){border-radius:var(--tui-radius-l)}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical.tui-group_collapsed>*:nth-child(n):not(:only-child){border-radius:0}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical.tui-group_collapsed>*:first-child:not(:last-child){border-radius:var(--tui-radius-l) var(--tui-radius-l) 0 0}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical.tui-group_collapsed>*:last-child:not(:first-child){border-radius:0 0 var(--tui-radius-l) var(--tui-radius-l)}}@media screen and (max-width: 47.9625em){.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal>*:nth-child(n):not(:only-child){border-radius:var(--tui-radius-l)}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal.tui-group_collapsed>*:nth-child(n):not(:only-child){border-radius:0}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal.tui-group_collapsed>*:first-child:not(:last-child){border-radius:var(--tui-radius-l) var(--tui-radius-l) 0 0}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal.tui-group_collapsed>*:last-child:not(:first-child){border-radius:0 0 var(--tui-radius-l) var(--tui-radius-l)}}.tui-group__auto-width-item{min-width:auto;flex:0 0 auto}.tui-group .tui-group__inherit-item{border-radius:inherit}\n"],encapsulation:2,changeDetection:0}),t})(),a=(()=>{class t{constructor(t){this.orientation="horizontal",this.adaptive=!1,this.collapsed=!1,this.rounded=!0,this.size="m",t.addComponent(s)}get orientationHorizontal(){return"horizontal"===this.orientation}get orientationVertical(){return"vertical"===this.orientation}get sizeLarge(){return"l"===this.size}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(r.gH))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiGroup","",5,"ng-container"]],hostAttrs:["role","group",1,"tui-group"],hostVars:12,hostBindings:function(t,e){2&t&&i.ekj("tui-group_adaptive",e.adaptive)("tui-group_collapsed",e.collapsed)("tui-group_rounded",e.rounded)("tui-group_orientation_horizontal",e.orientationHorizontal)("tui-group_orientation_vertical",e.orientationVertical)("tui-group_radius_large",e.sizeLarge)},inputs:{orientation:"orientation",adaptive:"adaptive",collapsed:"collapsed",rounded:"rounded",size:"size"}}),t})(),l=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[o.ez]]}),t})()},23917:function(t,e,n){"use strict";n.d(e,{o1:function(){return q},jh:function(){return U}});var i=n(74788),r=n(43631),o=n(221),s=n(40946),a=n(27103),l=n(79765),c=n(88002);let u=(()=>{class t{constructor(t,e){this.enabled$=new l.xQ;const n=e.pipe((0,c.U)(e=>!!e&&(!t||!e.length||e.every(e=>!t.contains(e)))));this.tuiObscured=this.enabled$.pipe((0,s.Xd)(()=>n))}set tuiObscuredEnabled(t){this.enabled$.next(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(o.e,8),i.Y36(a.AQ,2))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiObscured",""]],inputs:{tuiObscuredEnabled:"tuiObscuredEnabled"},outputs:{tuiObscured:"tuiObscured"},features:[i._Bn([a.AQ,a.b0,a.a3])]}),t})(),h=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();var d=n(92668),p=n(64493),f=n(57179),g=n(99434),m=n(98952),v=n(45435),_=n(46782),y=n(43190),b=n(87874),w=n(13653),C=n(87519),x=n(9945),k=n(26215),O=n(9112),M=n(25917),S=n(59193),P=n(66682),E=n(97582),T=n(66640),A=n(11557),I=n(89570),D=n(12057);const N=["wrapper"];function L(t,e){if(1&t&&(i.TgZ(0,"div",8),i._uU(1),i.qZA()),2&t){const t=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",t," ")}}const z=function(t,e){return{$implicit:t,close:e}};function F(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"div",5,6),i.NdJ("keydown",function(e){return i.CHM(t),i.oxw(2).onKeydown(e)}),i.YNc(2,L,2,1,"div",7),i.qZA(),i._UZ(3,"div")}if(2&t){i.oxw();const t=i.MAs(1),e=i.oxw();i.xp6(2),i.Q6J("polymorpheusOutlet",e.content)("polymorpheusOutletContext",i.WLB(2,z,t,e.close))}}function R(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"div",1,2),i.NdJ("tuiActiveZoneChange",function(e){return i.CHM(t),i.oxw().onActiveZone(e)})("tuiObscured",function(e){return i.CHM(t),i.oxw().onHostObscured(e)}),i.Hsn(2),i.YNc(3,F,4,5,"ng-template",3,4,i.W1O),i.qZA()}if(2&t){const t=e.tuiLet,n=i.MAs(4),r=i.oxw();i.Q6J("tuiDropdown",n)("tuiDropdownManual",t&&r.canOpen)("tuiDropdownSided",r.sided)("tuiObscuredEnabled",t),i.xp6(3),i.Q6J("polymorpheus",r.context)}}const j=["*"];let B=(()=>{class t extends r.uG{constructor(){super(...arguments),this.type="dummy"}getPosition(){return[0,0]}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,selectors:[["","tuiAccessorProxy",""]],features:[i._Bn([{provide:r.uG,multi:!0,deps:[[new i.FiY,new i.tp0,t],t],useFactory:(t,e)=>t||e}]),i.qOj]}),t})();const V=new i.OlP("[TUI_HOSTED_DROPDOWN_COMPONENT]");let $=(()=>{class t{constructor(t,e,n,i){null==i||i.tuiDropdownOpenChange.pipe((0,v.h)(t=>t&&i.dropdown===n&&!e.focused),(0,_.R)(t)).subscribe(()=>{var t;null===(t=e.nativeFocusableElement)||void 0===t||t.focus(),e.updateOpen(!0)})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(a.a3,2),i.Y36(V),i.Y36(m.td,2),i.Y36(m.oH,8))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiDropdownOpenMonitor",""]],features:[i._Bn([a.a3])]}),t})(),Y=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiHostedDropdownHost",""]]}),t})();function Z(t){var e;return"key"in t&&"escape"===t.key.toLowerCase()&&this.canOpen&&this.open&&!(null===(e=this.dropdown)||void 0===e?void 0:e.nextElementSibling)}let q=(()=>{class t{constructor(t,e){this.hover$=t,this.el=e,this.focus$=new k.X(!1),this.openChange=new k.X(!1),this.sided=!1,this.canOpen=!0,this.hostHover$=(0,O.aj)([(0,s.mL)(this.el.nativeElement,"mouseover").pipe((0,c.U)(t=>this.computedHost.contains((0,p.mA)(t))),(0,y.w)(t=>{var e,n;return(0,M.of)(t).pipe((0,b.g)((t?null===(e=this.hover$)||void 0===e?void 0:e.showDelay:null===(n=this.hover$)||void 0===n?void 0:n.hideDelay)||0))})),this.hover$||S.E]).pipe((0,c.U)(([t,e])=>t&&e)),this.open$=(0,P.T)(this.openChange,this.hostHover$).pipe((0,w.T)(1),(0,C.x)(),(0,x.B)()),this.focusedChange=new i.vpe,this.close=()=>this.updateOpen(!1)}set open(t){this.openChange.next(t)}get open(){return this.openChange.value}get host(){var t;return(null===(t=this.dropdownHost)||void 0===t?void 0:t.nativeElement)||this.el.nativeElement}get computedHost(){var t;return(null===(t=this.dropdownHost)||void 0===t?void 0:t.nativeElement)||this.nativeFocusableElement||this.el.nativeElement}get dropdown(){var t,e;return null===(e=null===(t=this.dropdownDirective)||void 0===t?void 0:t.dropdownBoxRef)||void 0===e?void 0:e.location.nativeElement}get nativeFocusableElement(){return(0,f.dT)(this.host)?this.host:(0,f.BW)({initial:this.host,root:this.el.nativeElement})}get focused(){return(0,f.zb)(this.host)||this.open&&!!this.wrapper&&(0,f.zb)(this.wrapper.nativeElement)}onFocusInOut(){this.focus$.next(this.focused)}onFocusIn(t){this.computedHost.contains(t)||this.updateOpen(!1)}onClick(t){var e;!this.hostEditable&&this.computedHost.contains(t)&&!(null===(e=this.hover$)||void 0===e?void 0:e.hovered)&&this.updateOpen(!this.open)}onKeyDownEsc(t){t.preventDefault(),this.closeDropdown()}onArrow(t,e){this.focusDropdown(t,e)}onKeydown({key:t,target:e,defaultPrevented:n}){!n&&(0,T.kL)(t)&&this.hostEditable&&(0,p.dW)(e)&&!(0,p.Hn)(e)&&this.focusHost()}onActiveZone(t){this.updateFocused(t),t||this.updateOpen(!1)}onHostObscured(t){t&&this.closeDropdown()}updateOpen(t){(!t||this.canOpen)&&(this.open=t)}get hostEditable(){return(0,p.Hn)(this.computedHost)}focusDropdown(t,e){const n=this.nativeFocusableElement;if(!(n&&(0,p.dW)(n)&&(0,p.ve)(t.target)&&n.contains(t.target)))return;if(!(this.wrapper&&this.open&&this.dropdown&&(0,p.dW)(this.wrapper.nativeElement.nextElementSibling)))return this.updateOpen(!0),void((0,p.Hn)(n)||t.preventDefault());const i=(0,f.BW)({initial:e?this.wrapper.nativeElement:this.wrapper.nativeElement.nextElementSibling,root:this.wrapper.nativeElement,previous:!e});!i||(i.focus(),t.preventDefault())}closeDropdown(){this.focused&&this.focusHost(),this.updateOpen(!1)}focusHost(){const t=this.nativeFocusableElement;t&&t.focus({preventScroll:!0})}updateFocused(t){this.focusedChange.emit(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(m.E$,10),i.Y36(i.SBq))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-hosted-dropdown"]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,Y,5,i.SBq),2&t){let t;i.iGM(t=i.CRH())&&(e.dropdownHost=t.first)}},viewQuery:function(t,e){if(1&t&&(i.Gf(N,5,i.SBq),i.Gf(m.td,5),i.Gf(o.e,5)),2&t){let t;i.iGM(t=i.CRH())&&(e.wrapper=t.first),i.iGM(t=i.CRH())&&(e.dropdownDirective=t.first),i.iGM(t=i.CRH())&&(e.activeZone=t.first)}},hostVars:1,hostBindings:function(t,e){1&t&&i.NdJ("$.class._hosted_dropdown_focused",function(){return e.focus$})("focusin.capture.silent",function(){return e.onFocusInOut()})("focusout.capture.silent",function(){return e.onFocusInOut()})("focusin",function(t){return e.onFocusIn(t.target)})("click",function(t){return e.onClick(t.target)})("keydown.silent.capture",function(t){return e.onKeyDownEsc(t)},!1,i.evT)("keydown.arrowDown",function(t){return e.onArrow(t,!0)})("keydown.arrowUp",function(t){return e.onArrow(t,!1)}),2&t&&i.Ikx("$.class._hosted_dropdown_focused",e.focus$)},inputs:{content:"content",sided:"sided",canOpen:"canOpen",open:"open"},outputs:{open$:"openChange",focusedChange:"focusedChange"},features:[i._Bn([(0,g.FT)(t),{provide:B,deps:[[new i.FiY,new i.PiD,r.uG]],useFactory:t=>null==t?void 0:t[0]},{provide:V,useExisting:t}])],ngContentSelectors:j,decls:2,vars:3,consts:[["tuiAccessorProxy","","tuiDropdownOpenMonitor","","class","t-wrapper",3,"tuiDropdown","tuiDropdownManual","tuiDropdownSided","tuiObscuredEnabled","tuiActiveZoneChange","tuiObscured",4,"tuiLet"],["tuiAccessorProxy","","tuiDropdownOpenMonitor","",1,"t-wrapper",3,"tuiDropdown","tuiDropdownManual","tuiDropdownSided","tuiObscuredEnabled","tuiActiveZoneChange","tuiObscured"],["activeZone","tuiActiveZone"],[3,"polymorpheus"],["dropdown","polymorpheus"],[1,"t-dropdown",3,"keydown"],["wrapper",""],["class","t-primitive",4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-primitive"]],template:function(t,e){if(1&t&&(i.F$t(),i.YNc(0,R,5,5,"div",0),i.ALo(1,"async")),2&t){let t;i.Q6J("tuiLet",null!==(t=i.lcZ(1,1,e.open$))&&void 0!==t?t:e.openChange.value)}},directives:[d.Ls,B,$,m.td,m.VC,m.Tp,m.Cw,o.e,u,I.GL,I.Li],pipes:[D.Ov],styles:["[_nghost-%COMP%]{display:inline-flex}.t-wrapper[_ngcontent-%COMP%]{border-radius:inherit;height:inherit;flex:1 1 auto;width:100%}.t-dropdown[_ngcontent-%COMP%]{height:100%}.t-primitive[_ngcontent-%COMP%]{padding:1rem}"],changeDetection:0}),(0,E.gn)([(0,A.uX)(Z)],t.prototype,"onKeyDownEsc",null),t})(),U=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[D.ez,I.wq,d.WD,h,o.A,m.dp]]}),t})()},82847:function(t,e,n){"use strict";n.d(e,{V:function(){return y},j:function(){return b}});var i=n(74788),r=n(40946),o=n(33770),s=n(57179),a=n(27103),l=n(99434),c=n(12130),u=n(79456),h=n(66682),d=n(88002),p=n(54789),f=n(12057);const g=["tuiLink",""];function m(t,e){if(1&t&&i._UZ(0,"tui-svg",3),2&t){const t=i.oxw();i.Q6J("src",t.icon||"")}}function v(t,e){if(1&t&&i._UZ(0,"tui-svg",4),2&t){const t=i.oxw();i.Q6J("src",t.icon||"")}}const _=["*"];let y=(()=>{class t{constructor(t,e,n){this.el=t,this.mode$=e,this.pseudo=!1,this.icon="",this.iconAlign="right",this.iconRotated=!1,this.mode=null,this.focusVisible=!1,this.focusedChange=(0,h.T)((0,r.mL)(this.el.nativeElement,"focusin").pipe((0,d.U)(o.Ye)),(0,r.mL)(this.el.nativeElement,"focusout").pipe((0,d.U)(o.Iy))),n.subscribe(t=>{this.focusVisible=t})}get nativeFocusableElement(){return this.el.nativeElement}get focused(){return(0,s.V8)(this.nativeFocusableElement)}get hasIcon(){return!!this.icon}get iconAlignLeft(){return this.hasIcon&&"left"===this.iconAlign}get iconAlignRight(){return this.hasIcon&&"right"===this.iconAlign}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(u.Au),i.Y36(a.ku))},t.\u0275cmp=i.Xpm({type:t,selectors:[["a","tuiLink",""],["button","tuiLink",""]],hostVars:7,hostBindings:function(t,e){1&t&&i.NdJ("$.data-mode.attr",function(){return e.mode$}),2&t&&(i.uIk("data-host-mode",e.mode),i.ekj("_pseudo",e.pseudo)("_icon-rotated",e.iconRotated)("_focus-visible",e.focusVisible))},inputs:{pseudo:"pseudo",icon:"icon",iconAlign:"iconAlign",iconRotated:"iconRotated",mode:"mode"},exportAs:["tuiLink"],features:[i._Bn([(0,l.FT)(t),a.ku,a.a3,c.CV])],attrs:g,ngContentSelectors:_,decls:4,vars:2,consts:[["class","t-icon t-icon_left",3,"src",4,"ngIf"],[1,"t-content"],["class","t-icon t-icon_right",3,"src",4,"ngIf"],[1,"t-icon","t-icon_left",3,"src"],[1,"t-icon","t-icon_right",3,"src"]],template:function(t,e){1&t&&(i.F$t(),i.YNc(0,m,1,1,"tui-svg",0),i.TgZ(1,"span",1),i.Hsn(2),i.qZA(),i.YNc(3,v,1,1,"tui-svg",2)),2&t&&(i.Q6J("ngIf",e.iconAlignLeft),i.xp6(3),i.Q6J("ngIf",e.iconAlignRight))},directives:[f.O5,p.PN],styles:["[_nghost-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;transition-property:color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;color:var(--tui-link);text-align:left;text-transform:inherit;font-weight:inherit;cursor:pointer;outline:none}[_nghost-%COMP%]:hover{color:var(--tui-link-hover)}[_nghost-%COMP%]:disabled{opacity:var(--tui-disabled-opacity);cursor:default}[data-mode=onLight][_nghost-%COMP%]{color:var(--tui-text-02)}[data-mode=onLight][_nghost-%COMP%]:hover, [data-mode=onLight]._active[_nghost-%COMP%]{color:var(--tui-text-01)}[data-mode=onLight]._pseudo[_nghost-%COMP%]{color:var(--tui-text-01)}[data-mode=onLight]._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{-webkit-text-decoration-color:rgba(0,0,0,.48);text-decoration-color:#0000007a}[data-mode=onLight]._pseudo[_nghost-%COMP%]:hover, [data-mode=onLight]._pseudo._active[_nghost-%COMP%]{color:var(--tui-text-03)}[data-mode=onLight][data-host-mode=negative][_nghost-%COMP%]{color:var(--tui-negative-night)}[data-mode=onLight][data-host-mode=negative][_nghost-%COMP%]:hover, [data-mode=onLight][data-host-mode=negative][_nghost-%COMP%]:active, [data-mode=onLight][data-host-mode=negative]._active[_nghost-%COMP%]{color:var(--tui-negative-night-hover)}[data-mode=onDark][_nghost-%COMP%]{color:var(--tui-text-03-night)}[data-mode=onDark][_nghost-%COMP%]:hover, [data-mode=onDark][_nghost-%COMP%]:active, [data-mode=onDark]._active[_nghost-%COMP%]{color:var(--tui-text-01-night)}[data-mode=onDark]._pseudo[_nghost-%COMP%]{color:var(--tui-text-01-night)}[data-mode=onDark]._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{-webkit-text-decoration-color:rgba(255,255,255,.48);text-decoration-color:#ffffff7a}[data-mode=onDark]._pseudo[_nghost-%COMP%]:hover, [data-mode=onDark]._pseudo[_nghost-%COMP%]:active, [data-mode=onDark]._pseudo._active[_nghost-%COMP%]{color:var(--tui-text-03-night)}[data-mode=onDark][data-host-mode=positive][_nghost-%COMP%]{color:var(--tui-positive-night)}[data-mode=onDark][data-host-mode=positive][_nghost-%COMP%]:hover, [data-mode=onDark][data-host-mode=positive][_nghost-%COMP%]:active, [data-mode=onDark][data-host-mode=positive]._active[_nghost-%COMP%]{color:var(--tui-positive-night-hover)}[data-host-mode=negative][_nghost-%COMP%]{color:var(--tui-negative)}[data-host-mode=negative][_nghost-%COMP%]:hover{color:var(--tui-negative-hover)}[data-host-mode=negative]._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{-webkit-text-decoration-color:rgba(222,76,30,.48);text-decoration-color:#de4c1e7a}[data-host-mode=positive][_nghost-%COMP%]{color:var(--tui-positive)}[data-host-mode=positive][_nghost-%COMP%]:hover{color:var(--tui-positive-hover)}[data-host-mode=positive]._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{-webkit-text-decoration-color:rgba(58,169,129,.48);text-decoration-color:#3aa9817a}._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-selection)}[data-mode=onLight]._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-clear);color:var(--tui-text-01)}[data-mode=onDark]._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-clear-inverse);color:var(--tui-text-01-night)}[data-host-mode=positive]._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-success-bg)}[data-host-mode=negative]._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-error-bg)}._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding-bottom:.15em;-webkit-text-decoration:underline dashed rgba(51,111,238,.48);text-decoration:underline dashed rgba(51,111,238,.48);text-underline-offset:.2em;text-decoration-thickness:.7px}.t-icon[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:var(--tui-link-icon-size, 1.5rem);height:var(--tui-link-icon-size, 1.5rem);margin-top:-.125rem}.t-icon_left[_ngcontent-%COMP%]{margin-right:.25rem}.t-icon_right[_ngcontent-%COMP%]{margin-left:.25rem}._icon-rotated[_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{transform:rotate(180deg)}"],changeDetection:0}),t})(),b=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[f.ez,p.EI]]}),t})()},40719:function(t,e,n){"use strict";n.d(e,{kM:function(){return m},dS:function(){return v}});var i=n(12057),r=n(74788),o=n(11927),s=n(41213),a=n(57179),l=n(99434),c=n(66640),u=n(89570);function h(t,e){if(1&t&&(r.ynx(0),r._uU(1),r.BQk()),2&t){const t=e.polymorpheusOutlet;r.xp6(1),r.hij(" ",t," ")}}function d(t,e){if(1&t&&(r.O4$(),r.kcU(),r.TgZ(0,"div",6),r.YNc(1,h,2,1,"ng-container",7),r.qZA()),2&t){const t=r.oxw(2);r.ekj("t-text_horizontal",t.isHorizontal),r.xp6(1),r.Q6J("polymorpheusOutlet",t.textContent)}}function p(t,e){if(1&t&&(r.TgZ(0,"div",2),r.O4$(),r.TgZ(1,"svg",3),r._UZ(2,"circle",4),r.qZA(),r.YNc(3,d,2,3,"div",5),r.qZA()),2&t){const t=r.oxw();r.ekj("t-loader_horizontal",t.isHorizontal)("t-loader_inherit-color",t.inheritColor),r.uIk("data-size",t.size),r.xp6(3),r.Q6J("ngIf",t.hasText)}}const f=["*"],g=(0,o.JN)({size:"m",inheritColor:!1,overlay:!1});let m=(()=>{class t{constructor(t,e,n,i){this.doc=t,this.el=e,this.isIos=n,this.options=i,this.size=this.options.size,this.inheritColor=this.options.inheritColor,this.overlay=this.options.overlay,this.loading=!0,this.isApple=(0,s.Ex)(this.el.nativeElement)||this.isIos}set showLoader(t){t&&this.focused&&(0,a.hp)(this.doc),this.loading=t}get hasOverlay(){return this.overlay&&this.loading}get hasText(){return!!this.textContent}get isHorizontal(){return!(0,c.R9)(this.size)}get focused(){return(0,a.zb)(this.el.nativeElement)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(i.K0),r.Y36(r.SBq),r.Y36(l.FA),r.Y36(g))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-loader"]],hostVars:2,hostBindings:function(t,e){2&t&&r.ekj("_loading",e.loading)},inputs:{size:"size",inheritColor:"inheritColor",overlay:"overlay",textContent:"textContent",showLoader:"showLoader"},ngContentSelectors:f,decls:3,vars:7,consts:[[1,"t-content",3,"disabled"],["class","t-loader",3,"t-loader_horizontal","t-loader_inherit-color",4,"ngIf"],[1,"t-loader"],["automation-id","tui-loader__loader","focusable","false","viewBox","0 0 100 100","xmlns","http://www.w3.org/2000/svg",1,"t-icon"],["cx","50","cy","50","r","50","stroke-dasharray","314",1,"t-circle"],["automation-id","tui-loader__text","class","t-text",3,"t-text_horizontal",4,"ngIf"],["automation-id","tui-loader__text",1,"t-text"],[4,"polymorpheusOutlet"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"fieldset",0),r.Hsn(1),r.qZA(),r.YNc(2,p,4,6,"div",1)),2&t&&(r.ekj("t-content_has-overlay",e.hasOverlay)("t-content_loading",e.loading),r.Q6J("disabled",e.loading&&!e.isApple),r.uIk("inert",e.loading||null),r.xp6(2),r.Q6J("ngIf",e.loading))},directives:[i.O5,u.Li],styles:["@keyframes tuiLoaderDashOffset{0%{stroke-dashoffset:-66}50%{stroke-dashoffset:-314}to{stroke-dashoffset:-66}}@keyframes tuiLoaderRotate{0%{transform:rotate(0)}50%{transform:rotate(1turn)}to{transform:rotate(3turn)}}[_nghost-%COMP%]{position:relative;display:flex;min-width:1.5rem}._loading[_nghost-%COMP%]{overflow:hidden}.t-content[_ngcontent-%COMP%]{z-index:0;min-width:100%;height:100%;padding:0;margin:0;border:none}.t-content_has-overlay[_ngcontent-%COMP%]{opacity:.3}.t-content_loading[_ngcontent-%COMP%]{pointer-events:none}.t-loader[_ngcontent-%COMP%]{position:relative;left:-100%;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:100%;flex-shrink:0;align-self:center;color:var(--tui-text-01);stroke:var(--tui-primary);animation:tuiFadeIn var(--tui-duration)}.t-loader.t-loader_horizontal[_ngcontent-%COMP%]{flex-direction:row}.t-loader.t-loader_inherit-color[_ngcontent-%COMP%]{color:inherit;stroke:currentColor}.t-loader[data-size=xs][_ngcontent-%COMP%]{font-size:.75rem;stroke-width:38}.t-loader[data-size=s][_ngcontent-%COMP%]{font-size:1rem;stroke-width:25}.t-loader[data-size=m][_ngcontent-%COMP%]{font-size:1.5rem;stroke-width:17}.t-loader[data-size=l][_ngcontent-%COMP%]{font-size:2.5rem;stroke-width:15}.t-loader[data-size=xl][_ngcontent-%COMP%]{font-size:3.5rem;stroke-width:14}.t-loader[data-size=xxl][_ngcontent-%COMP%]{font-size:5rem;stroke-width:10}.t-text[_ngcontent-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1rem;color:inherit;max-width:100%;text-align:center;stroke-width:0}.t-text_horizontal[_ngcontent-%COMP%]{margin:0 0 0 1rem}.t-icon[_ngcontent-%COMP%]{display:block;min-width:1em;max-width:1em;min-height:1em;max-height:1em;margin:.25rem -.5em;border-radius:100%;overflow:hidden;transform:scaleY(-1);animation:tuiLoaderRotate 3s linear infinite}@supports (-webkit-hyphens: none){.t-icon[_ngcontent-%COMP%]{overflow:visible}}.t-circle[_ngcontent-%COMP%]{fill:none;stroke:inherit;stroke-width:inherit;animation:tuiLoaderDashOffset 3s linear infinite}"],changeDetection:0}),t})(),v=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[i.ez,u.wq]]}),t})()},60885:function(t,e,n){"use strict";n.d(e,{L:function(){return g},H:function(){return m}});var i=n(74788),r=n(40946),o=n(79456),s=n(54789),a=n(12628),l=n(12057),c=n(89570);function u(t,e){1&t&&i._UZ(0,"tui-svg",4),2&t&&i.Q6J("src",e.polymorpheusOutlet)}const h=function(t){return{$implicit:t}};function d(t,e){if(1&t&&(i.ynx(0),i.YNc(1,u,1,1,"tui-svg",3),i.BQk()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",t.icon)("polymorpheusOutletContext",i.VKq(2,h,t.status))}}function p(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"button",5),i.NdJ("click",function(){return i.CHM(t),i.oxw().close.emit()}),i.ALo(1,"async"),i.qZA()}if(2&t){const t=i.oxw();i.Q6J("icon",t.icons.close)("title",i.lcZ(1,2,t.closeWord$))}}const f=["*"];let g=(()=>{class t{constructor(t,e,n){this.closeWord$=t,this.icons=e,this.options=n,this.hasIcon=this.options.hasIcon,this.icon=this.options.icon,this.status=this.options.status,this.size=this.options.size,this.hideClose=!1,this.close=new i.vpe}get hasClose(){return!this.hideClose&&(0,r.fw)(this.close)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(o.U0),i.Y36(o.Gs),i.Y36(o.Ln))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-notification"]],hostVars:2,hostBindings:function(t,e){2&t&&i.uIk("data-status",e.status)("data-size",e.size)},inputs:{hasIcon:"hasIcon",icon:"icon",status:"status",size:"size",hideClose:"hideClose"},outputs:{close:"close"},ngContentSelectors:f,decls:4,vars:2,consts:[[4,"ngIf"],[1,"t-content"],["appearance","icon","automation-id","tui-notification__close","size","xs","tuiIconButton","","type","button","class","t-close",3,"icon","title","click",4,"ngIf"],["automation-id","tui-notification__icon","class","t-icon",3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-notification__icon",1,"t-icon",3,"src"],["appearance","icon","automation-id","tui-notification__close","size","xs","tuiIconButton","","type","button",1,"t-close",3,"icon","title","click"]],template:function(t,e){1&t&&(i.F$t(),i.YNc(0,d,2,4,"ng-container",0),i.TgZ(1,"div",1),i.Hsn(2),i.qZA(),i.YNc(3,p,2,4,"button",2)),2&t&&(i.Q6J("ngIf",e.icon&&e.hasIcon),i.xp6(3),i.Q6J("ngIf",e.hasClose))},directives:[l.O5,c.Li,s.PN,a.v0],pipes:[l.Ov],styles:["[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:flex;padding:.75rem 1rem;border-radius:var(--tui-radius-m);background:#fff;background:var(--tui-base-01);box-sizing:border-box;overflow:hidden}[data-size=s][_nghost-%COMP%]{padding:.375rem .625rem}[data-size=s][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1rem;height:1.25rem;margin:0 .375rem 0 -.125rem}[data-size=s][_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{margin:-.125rem -.375rem -.125rem .75rem}[data-size=m][_nghost-%COMP%]{padding:.75rem}[data-size=m][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1.25rem;height:1.25rem;margin-right:.5rem}[data-size=m][_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{margin:-.125rem -.125rem -.125rem 1rem}[data-size=l][_nghost-%COMP%]{padding:1rem;font:var(--tui-font-text-m);border-radius:var(--tui-radius-l)}[data-size=l][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem;margin-right:.5rem}[data-status=info][_nghost-%COMP%]{color:var(--tui-info-fill);background:linear-gradient(var(--tui-info-bg),var(--tui-info-bg)),var(--tui-base-01)}[data-status=success][_nghost-%COMP%]{color:var(--tui-success-fill);background:linear-gradient(var(--tui-success-bg),var(--tui-success-bg)),var(--tui-base-01)}[data-status=error][_nghost-%COMP%]{color:var(--tui-error-fill);background:linear-gradient(var(--tui-error-bg),var(--tui-error-bg)),var(--tui-base-01)}[data-status=warning][_nghost-%COMP%]{color:var(--tui-warning-fill);background:linear-gradient(var(--tui-warning-bg),var(--tui-warning-bg)),var(--tui-base-01)}[data-status=neutral][_nghost-%COMP%]{color:var(--tui-neutral-fill);background:linear-gradient(var(--tui-neutral-bg),var(--tui-neutral-bg)),var(--tui-base-01)}.t-content[_ngcontent-%COMP%]{flex:1;word-wrap:break-word;overflow-wrap:anywhere;color:var(--tui-text-01)}"],changeDetection:0}),t})(),m=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[l.ez,s.EI,a.fN,c.wq]]}),t})()},94853:function(t,e,n){"use strict";n.d(e,{iQ:function(){return nt},yc:function(){return it},B1:function(){return rt},KW:function(){return st},MB:function(){return ot}});var i=n(97582),r=n(74788),o=n(27103);let s=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-autofilled-styles"],decls:0,vars:0,template:function(t,e){},styles:[".tui-autofill input,input.tui-autofill{transition:box-shadow .01s}\n"],encapsulation:2,changeDetection:0}),t})(),a=(()=>{class t{constructor(t){this.autofilled=!1,this.tuiAutofilledChange=new r.vpe,t.addComponent(s)}transitionStartHandler({propertyName:t,target:e}){var n;t.includes("box-shadow")&&(null===(n=e)||void 0===n?void 0:n.matches("input"))&&(this.autofilled=!this.autofilled,this.tuiAutofilledChange.emit(this.autofilled))}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(o.gH))},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiAutofilledChange",""]],hostAttrs:[1,"tui-autofill"],hostVars:2,hostBindings:function(t,e){1&t&&r.NdJ("transitionstart",function(t){return e.transitionStartHandler(t)}),2&t&&r.ekj("_autofilled",e.autofilled)},outputs:{tuiAutofilledChange:"tuiAutofilledChange"}}),t})(),l=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})();var c=n(13633),u=n(99434),h=n(76480),d=n(57179),p=n(64493),f=n(44358),g=n(90022),m=n(79588),v=n(66640),_=n(89570),y=n(26215),b=n(66682),w=n(22759),C=n(87874),x=n(45435),k=n(88002),O=n(87519),M=n(54789),S=n(77320),P=n(1515),E=n(12057),T=n(91489),A=n(87862),I=n(79456);let D=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["input","tuiMaskAccessor",""]],features:[r._Bn([{provide:A.JU,deps:[[new r.FiY,I.sE],A.Fj],multi:!0,useFactory:(t,e)=>t?t[0]:e}])]}),t})(),N=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})();var L=n(43631);const z=["pre"],F=["focusableElement"];function R(t,e){1&t&&r.GkF(0)}function j(t,e){1&t&&r.GkF(0)}function B(t,e){1&t&&(r.TgZ(0,"div",17),r.Hsn(1,2),r.qZA())}function V(t,e){1&t&&r._UZ(0,"tui-svg",20),2&t&&r.Q6J("src",e.polymorpheusOutlet)}const $=function(t){return{$implicit:t}};function Y(t,e){if(1&t&&(r.TgZ(0,"div",18),r.YNc(1,V,1,1,"tui-svg",19),r.qZA()),2&t){const t=r.oxw();r.xp6(1),r.Q6J("polymorpheusOutlet",t.iconLeftContent)("polymorpheusOutletContext",r.VKq(2,$,t.size))}}function Z(t,e){if(1&t&&(r.TgZ(0,"label",21),r.Hsn(1,3),r.qZA()),2&t){const t=r.oxw();r.ekj("t-placeholder_raised",t.placeholderRaised),r.Q6J("for",t.computedId)}}function q(t,e){1&t&&r._UZ(0,"tui-svg",24),2&t&&r.Q6J("src",e.polymorpheusOutlet)}function U(t,e){if(1&t&&(r.TgZ(0,"div",22),r.YNc(1,q,1,1,"tui-svg",23),r.qZA()),2&t){const t=r.oxw();r.xp6(1),r.Q6J("polymorpheusOutlet",t.controller.customContent)}}function H(t,e){1&t&&r._UZ(0,"tui-svg",27),2&t&&r.Q6J("src",e.polymorpheusOutlet)}function G(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"span",25),r.NdJ("click.stop",function(){return r.CHM(t),r.oxw().clear()}),r.YNc(1,H,1,1,"tui-svg",26),r.qZA()}if(2&t){const t=r.oxw();r.xp6(1),r.Q6J("polymorpheusOutlet",t.iconCleaner||t.controller.options.iconCleaner)("polymorpheusOutletContext",r.VKq(2,$,t.size))}}function J(t,e){if(1&t&&r._UZ(0,"tui-tooltip",28),2&t){const t=r.oxw();r.Q6J("content",null==t.hintOptions?null:t.hintOptions.content)("describeId",t.computedId)}}function X(t,e){1&t&&r._UZ(0,"tui-svg",20),2&t&&r.Q6J("src",e.polymorpheusOutlet)}function Q(t,e){if(1&t&&(r.TgZ(0,"div",29),r.YNc(1,X,1,1,"tui-svg",19),r.qZA()),2&t){const t=r.oxw();r.xp6(1),r.Q6J("polymorpheusOutlet",t.iconContent)("polymorpheusOutletContext",r.VKq(2,$,t.size))}}const W=[[["input"]],[["select"]],[["tuiContent"]],"*"],K=["input","select","tuiContent","*"],tt=["tuiTextfield",""];let et=(()=>{class t{constructor(t,e){this.textfield=t,this.fontsReady$=e,this.prefix$=new y.X(""),this.pre$=(0,b.T)(this.fontsReady$,this.prefix$).pipe((0,C.g)(0),(0,x.h)(()=>{var t;return!!(null===(t=this.pre)||void 0===t?void 0:t.nativeElement.isConnected)}),(0,k.U)(()=>{var t;return(null===(t=this.pre)||void 0===t?void 0:t.nativeElement.offsetWidth)||0}),(0,O.x)())}get isContextTable(){return this.textfield.appearance===S.Nm.Table}get value(){return this.textfield.value}get filler(){const{focused:t,placeholder:e,exampleText:n,value:i,textfield:r}=this;return e&&n?"":t?n||r.filler.slice(i.length):""}get prefix(){return this.decorationsVisible?this.textfield.prefix:""}get postfix(){return this.decorationsVisible?this.computedPostfix:""}ngDoCheck(){this.prefix$.next(this.prefix)}get placeholder(){var t;return(null===(t=this.textfield.nativeFocusableElement)||void 0===t?void 0:t.placeholder)||""}get exampleText(){return!this.value&&this.focused?this.placeholder:""}get decorationsVisible(){return!!this.value||this.focused&&!this.placeholder}get focused(){return this.textfield.computedFocused&&!this.textfield.readOnly}get computedPostfix(){return this.textfield.postfix&&(this.filler||this.value)?` ${this.textfield.postfix}`:this.textfield.postfix}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(u.KZ),r.Y36(u.tS))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-value-decoration"]],viewQuery:function(t,e){if(1&t&&r.Gf(z,7,r.SBq),2&t){let t;r.iGM(t=r.CRH())&&(e.pre=t.first)}},hostVars:4,hostBindings:function(t,e){1&t&&r.NdJ("animationstart",function(){return e.ngDoCheck()}),2&t&&r.ekj("_table",e.isContextTable)("_filler",e.filler)},decls:5,vars:4,consts:[[1,"t-prefix",3,"textContent"],["pre",""],[1,"t-ghost",3,"textContent"],[1,"t-filler",3,"textContent"],[1,"t-postfix",3,"textContent"]],template:function(t,e){1&t&&(r._UZ(0,"span",0,1),r._UZ(2,"span",2),r._UZ(3,"span",3),r._UZ(4,"span",4)),2&t&&(r.Q6J("textContent",e.prefix),r.xp6(2),r.Q6J("textContent",e.value),r.xp6(1),r.Q6J("textContent",e.filler),r.xp6(1),r.Q6J("textContent",e.postfix))},styles:['[_nghost-%COMP%]{position:absolute;display:block;width:100%;line-height:var(--tui-height);margin-top:calc(var(--tui-height) / -2);box-sizing:content-box;color:var(--tui-text-03);animation:tuiPresent 1s;white-space:nowrap}._table[_nghost-%COMP%]{position:static;margin-top:0}._filler[_nghost-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}tui-primitive-textfield [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]{color:var(--tui-text-03-night)}tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]{line-height:calc(var(--tui-height) - .25rem)}.t-ghost[_ngcontent-%COMP%]{visibility:hidden;white-space:pre;text-overflow:clip}.t-prefix[_ngcontent-%COMP%], .t-postfix[_ngcontent-%COMP%]{white-space:pre;color:var(--tui-text-01)}tui-primitive-textfield [tuiWrapper][data-mode="onDark"][_nghost-%COMP%] .t-prefix[_ngcontent-%COMP%], tui-primitive-textfield [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%] .t-prefix[_ngcontent-%COMP%], tui-primitive-textfield [tuiWrapper][data-mode="onDark"][_nghost-%COMP%] .t-postfix[_ngcontent-%COMP%], tui-primitive-textfield [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%] .t-postfix[_ngcontent-%COMP%]{color:var(--tui-text-01-night)}.t-filler[_ngcontent-%COMP%]{max-width:100%;white-space:nowrap}']}),t})();const nt={s:1.25,m:1.75,l:2.25};let it=(()=>{class t extends h.Xn{constructor(t,e,n,i){super(),this.controller=t,this.hintOptions=e,this.options=n,this.el=i,this.editable=!0,this.textfieldFiller="",this.iconCleaner=this.options.iconCleaner,this.readOnly=!1,this.invalid=!1,this.disabled=!1,this.textfieldPrefix="",this.textfieldPostfix="",this.value="",this.valueChange=new r.vpe,this.autofilled=!1}get prefix(){return this.textfieldPrefix||this.controller.prefix}get postfix(){return this.textfieldPostfix||this.controller.postfix}get filler(){return this.textfieldFiller||this.controller.filler}get nativeFocusableElement(){if(this.computedDisabled||!this.focusableElement)return null;const{nativeElement:t}=this.focusableElement;return t.previousElementSibling||t}get focused(){return(0,d.zb)(this.el.nativeElement)}get appearance(){return this.controller.appearance}get size(){return this.controller.size}get computedInvalid(){return!this.readOnly&&!this.disabled&&this.invalid}get inputHidden(){var t;return!!(null===(t=this.content)||void 0===t?void 0:t.length)}get hasValue(){return!!this.value}get hasCleaner(){return this.controller.cleaner&&this.hasValue&&!this.computedDisabled&&!this.readOnly}get hasTooltip(){var t;return!!(null===(t=this.hintOptions)||void 0===t?void 0:t.content)&&!this.computedDisabled}get hasCustomContent(){return!!this.controller.customContent}get placeholderVisible(){var t;const e=((null===(t=this.nativeFocusableElement)||void 0===t?void 0:t.placeholder)||this.prefix||this.postfix||this.filler)&&!this.readOnly&&this.computedFocused;return!this.hasValue&&!e}get hasPlaceholder(){return this.placeholderRaisable||this.placeholderVisible}get placeholderRaised(){return this.placeholderRaisable&&(this.computedFocused&&!this.readOnly||this.hasValue||this.autofilled)}get borderStart(){return this.iconLeftContent?this.iconPaddingLeft:0}get borderEnd(){return(0,v._X)(!!this.iconContent,this.hasCleaner,this.hasTooltip,this.hasCustomContent,this.size)}get iconContent(){return this.controller.icon}get iconLeftContent(){return this.controller.iconLeft}get showHint(){var t;return!!(null===(t=this.hintOptions)||void 0===t?void 0:t.content)&&(this.options.hintOnDisabled||!this.computedDisabled)}get name(){var t;return"cc-exp"===(null===(t=this.nativeFocusableElement)||void 0===t?void 0:t.autocomplete)?"ccexpiryyear":null}get computedId(){var t;return(null===(t=this.nativeFocusableElement)||void 0===t?void 0:t.id)||""}onFocused(t){this.updateFocused(t)}getIndent$(t){return(0,w.R)(t,"scroll").pipe((0,k.U)(()=>-1*Math.max(t.scrollLeft,0)))}clear(){this.nativeFocusableElement&&(this.nativeFocusableElement.value=""),this.updateValue("")}onMouseDown(t){const{nativeFocusableElement:e}=this;!e||t.target===e||(t.preventDefault(),e.focus())}onModelChange(t){this.updateValue(t)}onAutofilled(t){this.updateAutofilled(t)}detectRetargetFromLabel(t){(0,p.UP)(t)&&t.stopImmediatePropagation()}get iconPaddingLeft(){return nt[this.size]}get placeholderRaisable(){return"s"!==this.size&&!this.controller.labelOutside}updateAutofilled(t){this.autofilled!==t&&(this.autofilled=t)}updateValue(t){this.value=t,this.valueChange.emit(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(m.Cs),r.Y36(g.bZ,8),r.Y36(m.z1),r.Y36(r.SBq))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-primitive-textfield"]],contentQueries:function(t,e,n){if(1&t&&r.Suo(n,_.Li,5),2&t){let t;r.iGM(t=r.CRH())&&(e.content=t)}},viewQuery:function(t,e){if(1&t&&r.Gf(F,5),2&t){let t;r.iGM(t=r.CRH())&&(e.focusableElement=t.first)}},hostVars:15,hostBindings:function(t,e){1&t&&r.NdJ("focusin",function(){return e.onFocused(!0)})("focusout",function(){return e.onFocused(!1)}),2&t&&(r.uIk("data-size",e.size),r.Udp("--border-start",e.borderStart,"rem")("--border-end",e.borderEnd,"rem"),r.ekj("_autofilled",e.autofilled)("_label-outside",e.controller.labelOutside)("_readonly",e.readOnly)("_invalid",e.computedInvalid)("_hidden",e.inputHidden))},inputs:{editable:"editable",textfieldFiller:["filler","textfieldFiller"],iconCleaner:"iconCleaner",readOnly:"readOnly",invalid:"invalid",disabled:"disabled",textfieldPrefix:["prefix","textfieldPrefix"],textfieldPostfix:["postfix","textfieldPostfix"],value:"value"},outputs:{valueChange:"valueChange"},features:[r._Bn([(0,u.FT)(t),m.Y0]),r.qOj],ngContentSelectors:K,decls:24,vars:37,consts:[[4,"ngIf"],["automation-id","tui-primitive-textfield__wrapper","tuiWrapper","",3,"active","appearance","disabled","focus","hover","invalid","readOnly","click.prevent.silent","mousedown","tuiAutofilledChange"],["automation-id","tui-primitive-textfield__native-input","tuiMaskAccessor","",1,"t-input",3,"disabled","id","ngModel","readOnly","tuiFocusable","ngModelChange"],["focusableElement",""],["automation-id","tui-primitive-textfield__value","class","t-input t-input_template",4,"ngIf"],[1,"t-content"],["class","t-icon t-icon_left t-textfield-icon",4,"ngIf"],[1,"t-wrapper"],["automation-id","tui-primitive-textfield__placeholder","class","t-placeholder",3,"t-placeholder_raised","for",4,"ngIf"],[1,"t-wrapper-value-decoration"],["aria-hidden","true","automation-id","tui-primitive-textfield__value-decoration",1,"t-value-decoration"],["decor",""],[1,"t-icons"],["automation-id","tui-primitive-textfield__custom-content","class","t-custom-content",4,"ngIf"],["appearance","icon","automation-id","tui-primitive-textfield__cleaner","tuiWrapper","","class","t-cleaner",3,"click.stop",4,"ngIf"],["automation-id","tui-primitive-textfield__tooltip","class","t-tooltip",3,"content","describeId",4,"ngIf"],["class","t-icon t-textfield-icon",4,"ngIf"],["automation-id","tui-primitive-textfield__value",1,"t-input","t-input_template"],[1,"t-icon","t-icon_left","t-textfield-icon"],["appearance","icon","tuiWrapper","",3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],["appearance","icon","tuiWrapper","",3,"src"],["automation-id","tui-primitive-textfield__placeholder",1,"t-placeholder",3,"for"],["automation-id","tui-primitive-textfield__custom-content",1,"t-custom-content"],["class","t-custom-icon",3,"src",4,"polymorpheusOutlet"],[1,"t-custom-icon",3,"src"],["appearance","icon","automation-id","tui-primitive-textfield__cleaner","tuiWrapper","",1,"t-cleaner",3,"click.stop"],[3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],[3,"src"],["automation-id","tui-primitive-textfield__tooltip",1,"t-tooltip",3,"content","describeId"],[1,"t-icon","t-textfield-icon"]],template:function(t,e){if(1&t&&(r.F$t(W),r.YNc(0,R,1,0,"ng-container",0),r.ALo(1,"async"),r.YNc(2,j,1,0,"ng-container",0),r.ALo(3,"async"),r.TgZ(4,"div",1),r.NdJ("click.prevent.silent",function(t){return e.detectRetargetFromLabel(t)})("mousedown",function(t){return e.onMouseDown(t)})("tuiAutofilledChange",function(t){return e.onAutofilled(t)}),r.ALo(5,"async"),r.Hsn(6),r.Hsn(7,1),r.TgZ(8,"input",2,3),r.NdJ("ngModelChange",function(t){return e.onModelChange(t)}),r.qZA(),r.YNc(10,B,2,0,"div",4),r.TgZ(11,"div",5),r.YNc(12,Y,2,4,"div",6),r.TgZ(13,"div",7),r.YNc(14,Z,2,3,"label",8),r.TgZ(15,"div",9),r.TgZ(16,"tui-value-decoration",10,11),r.ALo(18,"async"),r.qZA(),r.qZA(),r.qZA(),r.TgZ(19,"div",12),r.YNc(20,U,2,1,"div",13),r.YNc(21,G,2,4,"span",14),r.YNc(22,J,1,2,"tui-tooltip",15),r.YNc(23,Q,2,4,"div",16),r.qZA(),r.qZA(),r.qZA()),2&t){const t=r.MAs(9),n=r.MAs(17);r.Q6J("ngIf",r.lcZ(1,29,null==e.content?null:e.content.changes)),r.xp6(2),r.Q6J("ngIf",r.lcZ(3,31,null==e.hintOptions?null:e.hintOptions.change$)),r.xp6(2),r.Udp("--text-indent",r.lcZ(5,33,n.pre$),"px"),r.Q6J("active",e.pseudoActive)("appearance",e.appearance)("disabled",e.disabled)("focus",e.computedFocused)("hover",e.pseudoHover)("invalid",e.computedInvalid)("readOnly",e.readOnly),r.xp6(4),r.Q6J("disabled",e.computedDisabled)("id",e.id)("ngModel",e.value)("readOnly",e.readOnly||!e.editable)("tuiFocusable",e.computedFocusable),r.uIk("aria-invalid",e.computedInvalid)("name",e.name),r.xp6(2),r.Q6J("ngIf",e.inputHidden),r.xp6(2),r.Q6J("ngIf",e.iconLeftContent),r.xp6(2),r.Q6J("ngIf",e.hasPlaceholder),r.xp6(2),r.Udp("text-indent",r.lcZ(18,35,e.getIndent$(t)),"px"),r.ekj("t-has-value",e.value),r.xp6(4),r.Q6J("ngIf",e.hasCustomContent),r.xp6(1),r.Q6J("ngIf",e.hasCleaner),r.xp6(1),r.Q6J("ngIf",e.showHint),r.xp6(1),r.Q6J("ngIf",e.iconContent)}},directives:[E.O5,T.o,a,D,A.Fj,A.JJ,A.On,c.t,et,_.Li,M.PN,P.w],pipes:[E.Ov],styles:['[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:block;text-align:left;border-radius:var(--tui-radius-m);height:var(--tui-height);min-height:var(--tui-height);max-height:var(--tui-height)}[data-size=s][_nghost-%COMP%]{--tui-height: var(--tui-height-s)}[data-size=m][_nghost-%COMP%]{--tui-height: var(--tui-height-m)}[data-size=l][_nghost-%COMP%]{--tui-height: var(--tui-height-l);font:var(--tui-font-text-m);line-height:1.25rem}.t-input[_ngcontent-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;border-style:solid;border-color:transparent;border-inline-start-width:var(--border-start, 0);border-inline-end-width:var(--border-end, 0);text-indent:var(--text-indent);text-align:inherit;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-transform:inherit;resize:none}.t-input[_ngcontent-%COMP%]:-webkit-autofill, .t-input[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-input[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}.t-input[_ngcontent-%COMP%]:-webkit-autofill, .t-input[_ngcontent-%COMP%]:-webkit-autofill:first-line{font-size:inherit;line-height:inherit}.t-input[_ngcontent-%COMP%]::-webkit-caps-lock-indicator, .t-input[_ngcontent-%COMP%]::-webkit-contacts-auto-fill-button, .t-input[_ngcontent-%COMP%]::-webkit-credit-card-auto-fill-button, .t-input[_ngcontent-%COMP%]::-webkit-credentials-auto-fill-button, .t-input[_ngcontent-%COMP%]::-webkit-strong-password-auto-fill-button{content:none!important;position:absolute;left:-62.4375rem;top:-62.4375rem;z-index:-999;display:none!important;background:transparent!important;pointer-events:none!important}.t-input[_ngcontent-%COMP%]::placeholder{color:var(--tui-text-03);opacity:0}._focused[_nghost-%COMP%]:not(._readonly) .t-input[_ngcontent-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-textarea._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-textarea._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-text-area._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-text-area._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder{opacity:1}[tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-input[_ngcontent-%COMP%]:-webkit-autofill, .t-input [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill, [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-input[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-input [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:hover, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:hover, [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-input[_ngcontent-%COMP%]:-webkit-autofill:focus, .t-input [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:focus, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01-night)!important;border-color:var(--tui-autofill-night);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill-night) inset!important}[tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, .t-input [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]::placeholder, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]::placeholder{color:var(--tui-text-03-night)}[data-size=s][_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="s"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="s"] [_nghost-%COMP%]:not(tui-primitive-textfield), .t-input tui-textarea[data-size="s"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="s"] [_nghost-%COMP%]:not(tui-textarea), .t-input tui-text-area[data-size="s"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="s"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-s)}[data-size=m][_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="m"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"] [_nghost-%COMP%]:not(tui-primitive-textfield), .t-input tui-textarea[data-size="m"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="m"] [_nghost-%COMP%]:not(tui-textarea), .t-input tui-text-area[data-size="m"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="m"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-m)}[data-size=l][_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="l"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="l"] [_nghost-%COMP%]:not(tui-primitive-textfield), .t-input tui-textarea[data-size="l"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="l"] [_nghost-%COMP%]:not(tui-textarea), .t-input tui-text-area[data-size="l"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="l"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-l)}._disabled[_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield._disabled[_nghost-%COMP%], tui-primitive-textfield._disabled [_nghost-%COMP%], .t-input tui-textarea._disabled[_nghost-%COMP%], tui-textarea._disabled [_nghost-%COMP%], .t-input tui-text-area._disabled[_nghost-%COMP%], tui-text-area._disabled [_nghost-%COMP%]{pointer-events:none}[data-size=l][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="l"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="l"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield){padding-top:1.25rem}[data-size=l][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="l"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], tui-primitive-textfield[data-size="l"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.8156rem;transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="m"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield){padding-top:1rem}[data-size=m][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="m"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.69rem;transform:translateY(-.5rem)}._hidden[_nghost-%COMP%] input.t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield._hidden[_nghost-%COMP%], tui-primitive-textfield._hidden [_nghost-%COMP%]{opacity:0;text-indent:-10em;-webkit-user-select:none}.t-content[_ngcontent-%COMP%]{display:flex;height:100%;width:100%;box-sizing:border-box;align-items:center;overflow:hidden}[data-size=s][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0 var(--tui-padding-s)}[data-size=m][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0 var(--tui-padding-m)}[data-size=l][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0 var(--tui-padding-l)}.t-wrapper[_ngcontent-%COMP%]{flex:1;min-width:0;-webkit-padding-end:.25rem;padding-inline-end:.25rem}.t-placeholder[_ngcontent-%COMP%]{transition-property:transform,font-size,color,letter-spacing;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;width:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;font:var(--tui-font-text-s);color:var(--tui-text-02);pointer-events:none;will-change:transform;transform:translateY(0)}@supports (-webkit-hyphens: none){.t-placeholder[_ngcontent-%COMP%]{will-change:unset;transition-property:transform,color,letter-spacing}}.t-placeholder_raised[_ngcontent-%COMP%]{transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%]{font:var(--tui-font-text-xs);line-height:1.25rem;transform:translateY(-.5rem);letter-spacing:.025rem}._invalid[_nghost-%COMP%]:not(._focused) .t-placeholder_raised[_ngcontent-%COMP%], ._invalid[_nghost-%COMP%]:not(._focused):hover .t-placeholder_raised[_ngcontent-%COMP%]{color:var(--tui-error-fill)}._invalid[_nghost-%COMP%]:not(._focused) [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%], ._invalid[_nghost-%COMP%]:not(._focused):hover [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%]{color:var(--tui-error-fill-night)}._focused[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=m]._focused._label-outside[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused._label-outside[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-03)}[data-size=l][_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font:var(--tui-font-text-m);line-height:1.25rem}[data-size=l][_nghost-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%]{font-size:.8156rem}[data-size=m]._focused[_nghost-%COMP%]:not(._label-outside) .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused[_nghost-%COMP%]:not(._label-outside) .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-01)}[tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-02-night)}[data-size=m]._focused[_nghost-%COMP%]:not(._label-outside) [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused[_nghost-%COMP%]:not(._label-outside) [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-01-night)}._focused[_nghost-%COMP%] [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=m]._focused._label-outside[_nghost-%COMP%] [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused._label-outside[_nghost-%COMP%] [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-02-night)}.t-cleaner[_ngcontent-%COMP%]{position:relative;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;pointer-events:none;pointer-events:auto}._readonly[_nghost-%COMP%] .t-cleaner[_ngcontent-%COMP%], ._disabled[_nghost-%COMP%] .t-cleaner[_ngcontent-%COMP%]{pointer-events:none}.t-icon[_ngcontent-%COMP%]{position:relative;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;pointer-events:none}[data-size=s][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{-webkit-margin-start:-.375rem;margin-inline-start:-.375rem}[data-size=m][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{-webkit-margin-start:-.125rem;margin-inline-start:-.125rem;-webkit-margin-end:.375rem;margin-inline-end:.375rem}[data-size=l][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{-webkit-margin-end:.75rem;margin-inline-end:.75rem}.t-icons[_ngcontent-%COMP%]{display:flex;align-items:center}[data-size=m][_nghost-%COMP%] .t-icons[_ngcontent-%COMP%]{-webkit-margin-end:-.125rem;margin-inline-end:-.125rem}[data-size=s][_nghost-%COMP%] .t-icons[_ngcontent-%COMP%]{-webkit-margin-end:-.375rem;margin-inline-end:-.375rem}[_nghost-%COMP%]:not([data-size="s"]) .t-icons[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not(:first-child){-webkit-margin-start:.25rem;margin-inline-start:.25rem}._autofilled[data-size=s][_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], ._autofilled._label-outside[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], ._autofilled[_nghost-%COMP%] .t-value-decoration[_ngcontent-%COMP%]:not(.t-has-value){visibility:hidden}.t-custom-content[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;justify-content:center;min-width:2rem;height:2rem;pointer-events:none}.t-custom-icon[_ngcontent-%COMP%]{width:2rem;height:100%}.t-input[_ngcontent-%COMP%]:not(:first-child){display:none}[data-size][_nghost-%COMP%] .t-input_template[_ngcontent-%COMP%]{display:flex;width:calc(100% - 1rem);max-width:calc(100% - 1rem);align-items:center;pointer-events:none;-webkit-padding-end:0;padding-inline-end:0}.t-text-template[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.t-wrapper-value-decoration[_ngcontent-%COMP%]{position:relative;pointer-events:none}'],changeDetection:0}),(0,i.gn)([f.UM],t.prototype,"getIndent$",null),t})(),rt=(()=>{class t extends L.D1{constructor(t){super(t),this.textfield=t}get readOnly(){return this.textfield.readOnly||!this.textfield.editable}onValueChange(t){this.textfield.onModelChange(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(it))},t.\u0275dir=r.lG2({type:t,selectors:[["tui-primitive-textfield"]],features:[r._Bn([(0,I.cp)(t)]),r.qOj]}),t})(),ot=(()=>{class t{constructor(t,e,n,i,r){this.host=t,this.controller=e,this.el=n,this.idService=i,this.legacyMask=r,this.host.process(this.el.nativeElement)}get id(){return this.el.nativeElement.id||this.idService.generate()}get inputMode(){return this.el.nativeElement.inputMode||this.host.inputMode}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(I.S0),r.Y36(m.Cs),r.Y36(r.SBq),r.Y36(o.ll),r.Y36(I.sf,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["input","tuiTextfield",""],["textarea","tuiTextfield",""]],hostAttrs:["type","text"],hostVars:7,hostBindings:function(t,e){1&t&&r.NdJ("input",function(t){return!e.legacyMask&&e.host.onValueChange(t.target.value)}),2&t&&(r.Ikx("tabIndex",e.host.focusable?0:-1)("readOnly",e.host.readOnly)("value",e.host.value),r.uIk("id",e.id)("inputMode",e.inputMode)("aria-invalid",e.host.invalid)("disabled",e.host.disabled||null))},features:[r._Bn([m.Y0])],attrs:tt,decls:0,vars:0,template:function(t,e){},styles:['[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;border-style:solid;border-color:transparent;border-inline-start-width:var(--border-start, 0);border-inline-end-width:var(--border-end, 0);text-indent:var(--text-indent);text-align:inherit;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-transform:inherit;resize:none}[_nghost-%COMP%]:-webkit-autofill, [_nghost-%COMP%]:-webkit-autofill:hover, [_nghost-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}[_nghost-%COMP%]:-webkit-autofill, [_nghost-%COMP%]:-webkit-autofill:first-line{font-size:inherit;line-height:inherit}[_nghost-%COMP%]::-webkit-caps-lock-indicator, [_nghost-%COMP%]::-webkit-contacts-auto-fill-button, [_nghost-%COMP%]::-webkit-credit-card-auto-fill-button, [_nghost-%COMP%]::-webkit-credentials-auto-fill-button, [_nghost-%COMP%]::-webkit-strong-password-auto-fill-button{content:none!important;position:absolute;left:-62.4375rem;top:-62.4375rem;z-index:-999;display:none!important;background:transparent!important;pointer-events:none!important}[_nghost-%COMP%]::placeholder{color:var(--tui-text-03);opacity:0}._focused[_nghost-%COMP%]:not(._readonly) [_ngcontent-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly) [_nghost-%COMP%]::placeholder, tui-textarea._focused:not(._readonly) [_nghost-%COMP%]::placeholder, tui-text-area._focused:not(._readonly) [_nghost-%COMP%]::placeholder{opacity:1}[tuiWrapper][data-mode=onDark] [_nghost-%COMP%]:-webkit-autofill, [_nghost-%COMP%] [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill, [tuiWrapper][data-mode=onDark] [_nghost-%COMP%]:-webkit-autofill:hover, [_nghost-%COMP%] [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:hover, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:hover, [tuiWrapper][data-mode=onDark] [_nghost-%COMP%]:-webkit-autofill:focus, [_nghost-%COMP%] [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:focus, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01-night)!important;border-color:var(--tui-autofill-night);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill-night) inset!important}[tuiWrapper][data-mode=onDark] [_nghost-%COMP%]::placeholder, [_nghost-%COMP%] [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]::placeholder, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]::placeholder{color:var(--tui-text-03-night)}[data-size=s][_nghost-%COMP%] -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="s"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="s"] [_nghost-%COMP%]:not(tui-primitive-textfield), [_nghost-%COMP%] tui-textarea[data-size="s"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="s"] [_nghost-%COMP%]:not(tui-textarea), [_nghost-%COMP%] tui-text-area[data-size="s"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="s"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-s)}[data-size=m][_nghost-%COMP%] -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="m"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"] [_nghost-%COMP%]:not(tui-primitive-textfield), [_nghost-%COMP%] tui-textarea[data-size="m"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="m"] [_nghost-%COMP%]:not(tui-textarea), [_nghost-%COMP%] tui-text-area[data-size="m"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="m"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-m)}[data-size=l][_nghost-%COMP%] -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="l"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="l"] [_nghost-%COMP%]:not(tui-primitive-textfield), [_nghost-%COMP%] tui-textarea[data-size="l"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="l"] [_nghost-%COMP%]:not(tui-textarea), [_nghost-%COMP%] tui-text-area[data-size="l"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="l"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-l)}._disabled[_nghost-%COMP%] -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield._disabled[_nghost-%COMP%], tui-primitive-textfield._disabled [_nghost-%COMP%], [_nghost-%COMP%] tui-textarea._disabled[_nghost-%COMP%], tui-textarea._disabled [_nghost-%COMP%], [_nghost-%COMP%] tui-text-area._disabled[_nghost-%COMP%], tui-text-area._disabled [_nghost-%COMP%]{pointer-events:none}[data-size=l][_nghost-%COMP%]:not(._label-outside) -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="l"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="l"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield){padding-top:1.25rem}[data-size=l][_nghost-%COMP%]:not(._label-outside) [_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [_nghost-%COMP%] tui-primitive-textfield[data-size="l"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], tui-primitive-textfield[data-size="l"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.8156rem;transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%]:not(._label-outside) -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="m"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield){padding-top:1rem}[data-size=m][_nghost-%COMP%]:not(._label-outside) [_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [_nghost-%COMP%] tui-primitive-textfield[data-size="m"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.69rem;transform:translateY(-.5rem)}._hidden[_nghost-%COMP%] input[_ngcontent-%COMP%], [_nghost-%COMP%] tui-primitive-textfield._hidden[_nghost-%COMP%], tui-primitive-textfield._hidden [_nghost-%COMP%]{opacity:0;text-indent:-10em;-webkit-user-select:none}textarea[_nghost-%COMP%]{white-space:pre-wrap}textarea[_nghost-%COMP%] tui-textarea._ios[_nghost-%COMP%], tui-textarea._ios [_nghost-%COMP%], textarea[_nghost-%COMP%] tui-text-area._ios[_nghost-%COMP%], tui-text-area._ios [_nghost-%COMP%]{padding-left:.8125rem}'],changeDetection:0}),t})(),st=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[E.ez,A.u5,_.wq,N,c.u,T.W,M.EI,P.Q,l]]}),t})()},80134:function(t,e,n){"use strict";n.d(e,{IB:function(){return d},Jy:function(){return p}});var i=n(74788),r=n(81359),o=n(41213),s=n(64493),a=n(99434),l=n(62579),c=n(12057);function u(t,e){1&t&&i._UZ(0,"tui-scroll-controls",2)}const h=["*"];let d=(()=>{class t{constructor(t,e,n,r){this.cssRef=t,this.el=e,this.userAgent=n,this.isIos=r,this.delegated=!1,this.isLegacy=!this.cssRef.supports("position","sticky")||(0,o.oK)(this.userAgent)&&!this.cssRef.supports("scrollbar-width","none"),this.hidden=!1,this.browserScrollRef=new i.SBq(this.el.nativeElement)}get showScrollbars(){return!this.hidden&&!this.isIos&&(!this.isLegacy||this.delegated)}get showNative(){return this.isLegacy&&!this.hidden&&!this.delegated}onScrollable(t){this.delegated=!0,this.browserScrollRef.nativeElement=t}scrollIntoView(t){var e;if(this.delegated)return;const{nativeElement:n}=this.browserScrollRef,{offsetTop:i,offsetLeft:r}=(0,s.YX)(n,t),{clientHeight:o,clientWidth:a}=n,{offsetHeight:l,offsetWidth:c}=t;null===(e=n.scrollTo)||void 0===e||e.call(n,r+c/2-a/2,i+l/2-o/2)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(l.ux),i.Y36(i.SBq),i.Y36(l.yZ),i.Y36(a.FA))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-scrollbar"]],hostVars:2,hostBindings:function(t,e){1&t&&i.NdJ("tui-scrollable.stop",function(t){return e.onScrollable(t.detail)})("tui-scroll-into-view.stop",function(t){return e.scrollIntoView(t.detail)}),2&t&&i.ekj("_legacy",e.showNative)},inputs:{hidden:"hidden"},features:[i._Bn([{provide:a.$_,deps:[t],useFactory:({browserScrollRef:t})=>t}])],ngContentSelectors:h,decls:3,vars:1,consts:[["class","t-bars",4,"ngIf"],[1,"t-content"],[1,"t-bars"]],template:function(t,e){1&t&&(i.F$t(),i.YNc(0,u,1,0,"tui-scroll-controls",0),i.TgZ(1,"div",1),i.Hsn(2),i.qZA()),2&t&&i.Q6J("ngIf",e.showScrollbars)},directives:[c.O5,r.tZ],styles:["[_nghost-%COMP%]{position:relative;display:flex;isolation:isolate;overflow:auto}[_nghost-%COMP%]:not(._legacy){scrollbar-width:none;-ms-overflow-style:none}[_nghost-%COMP%]:not(._legacy)::-webkit-scrollbar, [_nghost-%COMP%]:not(._legacy)::-webkit-scrollbar-thumb{background:transparent;width:0;height:0}._legacy[_nghost-%COMP%]{overflow:overlay}@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm){._legacy[_nghost-%COMP%]::-webkit-scrollbar, ._legacy[_nghost-%COMP%]::-webkit-scrollbar-thumb{width:1rem;height:1rem;border-radius:6.25rem;background-clip:padding-box;border:.375rem solid transparent}._legacy[_nghost-%COMP%]::-webkit-scrollbar{background-color:transparent}._legacy[_nghost-%COMP%]::-webkit-scrollbar-thumb{background-color:var(--tui-clear-hover)}._legacy[_nghost-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:var(--tui-clear-active)}._legacy[_nghost-%COMP%]::-webkit-scrollbar-thumb:active{background-color:var(--tui-text-03)}}.t-content[_ngcontent-%COMP%]{isolation:isolate;flex:1;flex-basis:auto;width:100%;height:-webkit-max-content;height:max-content}.t-bars[_ngcontent-%COMP%]{color:var(--tui-text-01)}"],changeDetection:0}),t})(),p=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[c.ez,r.eI]]}),t})()},54789:function(t,e,n){"use strict";n.d(e,{$E:function(){return A},PN:function(){return D},EI:function(){return N}});var i=n(97582),r=n(12057),o=n(74788),s=n(91211),a=n(62579),l=n(92668),c=n(68192),u=n(11927),h=(n(18939),n(64493)),d=n(27103),p=n(99434),f=n(44358),g=n(18269),m=n(87941),v=n(79456),_=n(66640),y=n(54487),b=n(74235),w=n(25917),C=n(43190),x=n(39761),k=n(5304),O=n(88002);function M(t,e){if(1&t&&o._UZ(0,"div",3),2&t){const t=o.oxw().tuiLet;o.Q6J("innerHTML",t,o.oJD)}}function S(t,e){if(1&t){const t=o.EpF();o.O4$(),o.TgZ(0,"svg",4),o.NdJ("error",function(){return o.CHM(t),o.oxw(2).onError()}),o._UZ(1,"use"),o.qZA()}if(2&t){const t=o.oxw(2);o.xp6(1),o.uIk("href",t.use,null,"xlink")}}function P(t,e){if(1&t&&(o.ynx(0),o.YNc(1,M,1,1,"div",1),o.YNc(2,S,2,1,"ng-template",null,2,o.W1O),o.BQk()),2&t){const t=o.MAs(3),e=o.oxw();o.xp6(1),o.Q6J("ngIf",e.isInnerHTML)("ngIfElse",t)}}const E={tuiIconAttach:"tuiIconPaperclip",tuiIconAttention:"tuiIconAlertCircle",tuiIconBackCircle:"tuiIconArrowLeftCircle",tuiIconCall:"tuiIconPhone",tuiIconCallIn:"tuiIconPhoneIncoming",tuiIconCallOut:"tuiIconPhoneOutgoing",tuiIconCallTransfer:"tuiIconPhoneForwarded",tuiIconCancel:"tuiIconXCircle",tuiIconCancelCircle:"tuiIconSlash",tuiIconCard:"tuiIconCreditCard",tuiIconCards:"tuiIconCreditCard",tuiIconChartBar:"tuiIconBarChart",tuiIconChart:"tuiIconBarChart",tuiIconCheckList:"tuiIconClipboard",tuiIconCloseCircle:"tuiIconXCircle",tuiIconCollapse:"tuiIconMinimize",tuiIconComment:"tuiIconMessageSquare",tuiIconCommentFw:"tuiIconMessageForward",tuiIconCompany:"tuiIconBriefcase",tuiIconDefaultDoc:"tuiIconFile",tuiIconDesktop:"tuiIconMonitor",tuiIconDesktopOff:"tuiIconMonitorOff",tuiIconDislike:"tuiIconThumbsDown",tuiIconDone:"tuiIconCheckCircle",tuiIconDraft:"tuiIconEdit2",tuiIconEyeOpen:"tuiIconEye",tuiIconEyeClosed:"tuiIconEyeOff",tuiIconExpand:"tuiIconMaximize",tuiIconExternal:"tuiIconExternalLink",tuiIconFrame:"tuiIconLayout",tuiIconGeo:"tuiIconMapPin",tuiIconHeartFilled:"tuiIconHeart",tuiIconHide:"tuiIconEyeOff",tuiIconImg:"tuiIconImage",tuiIconInfoCircle:"tuiIconInfo",tuiIconLike:"tuiIconThumbsUp",tuiIconLockOpen:"tuiIconUnlock",tuiIconMobile:"tuiIconSmartphone",tuiIconMoreHor:"tuiIconMoreHorizontal",tuiIconMoreVer:"tuiIconMoreVertical",tuiIconMoreVert:"tuiIconMoreVertical",tuiIconPicture:"tuiIconImage",tuiIconPin:"tuiIconMapPin",tuiIconPrint:"tuiIconPrinter",tuiIconRefresh:"tuiIconRefreshCw",tuiIconRemove:"tuiIconX",tuiIconShow:"tuiIconEye",tuiIconSound:"tuiIconVolume",tuiIconSoundOff:"tuiIconVolumeX",tuiIconStarFilled:"tuiIconStar",tuiIconStop:"tuiIconSquare",tuiIconStructure:"tuiIconGrid",tuiIconTime:"tuiIconClock",tuiIconTooltip:"tuiIconHelpCircle",tuiIconViewList:"tuiIconList",tuiIconWifiOn:"tuiIconWifi"},T={iconsPlace:v.xp,path:(0,_.ht)(v.xp),srcProcessor:y.y,contentProcessor:c.N,deprecated:t=>{const e=t.replace("Large","").replace("Outline",""),n=E[e];return n?`${e}/(Large|Outline) is deprecated, use ${n}/(Large|Outline) instead`:""}},A=(0,u.N1)(()=>({iconsPlace:(0,o.f3M)(v.AA),path:(0,o.f3M)(v.ki),deprecated:T.deprecated,srcProcessor:(0,o.f3M)(v.V5),contentProcessor:(0,o.f3M)(v.u_)})),I=new o.OlP("[TUI_SVG_SRC_INTERCEPTORS]");let D=(()=>{class t{constructor(t,e,n,i,r,o,s,a,l,c){this.doc=t,this.win=e,this.options=n,this.srcInterceptors=i,this.tuiSanitizer=r,this.svgService=o,this.staticRequestService=s,this.sanitizer=a,this.el=l,this.baseHref=c,this.src$=new b.t(1),this.icon="",this.innerHTML$=this.src$.pipe((0,C.w)(()=>(0,u.Aj)(this.icon)?this.isExternal?this.getExternalIcon(this.icon):(0,w.of)(this.getSafeHtml(this.icon)):(0,w.of)(this.icon)),(0,x.O)(""))}set src(t){var e;this.options.deprecated(String(t)),this.icon=(null!==(e=this.srcInterceptors)&&void 0!==e?e:[]).reduce((t,e)=>e(t,this.options),this.options.srcProcessor(t||"")),this.src$.next()}get src(){return this.icon}get use(){return(0,u.Aj)(this.icon)?this.icon.includes(".svg#")?this.icon:this.resolveName(this.icon,this.options.path):""}get isInnerHTML(){return!(0,u.Aj)(this.icon)||this.isSrc||this.isExternal||this.isName&&this.isShadowDOM}get isShadowDOM(){return(0,h.Wf)(this.el.nativeElement)!==this.doc}get isUse(){return this.use.replace(g.uJ,"").includes(".svg#")}get isExternal(){return this.isUrl||this.isCrossDomain}get isUrl(){return(0,u.Aj)(this.icon)&&this.icon.replace(g.uJ,"").endsWith(".svg")}get isSrc(){return(0,u.Aj)(this.icon)&&(0,_.jL)(this.icon)}get isName(){return!this.isUrl&&!this.isUse&&!this.isSrc}get isCrossDomain(){const{use:t,isUse:e,win:n}=this;return e&&t.startsWith("http")&&!!n.origin&&!t.startsWith(n.origin)}onError(t="External icon is missing on the given URL"){const{icon:e}=this,n=new CustomEvent(g.qT,{bubbles:!0,detail:{message:t,icon:e}});this.el.nativeElement.dispatchEvent(n)}resolveName(t,e){return e(t,this.baseHref)}getSafeHtml(t){return this.isSrc?this.sanitize(t):this.process(t)}process(t){const e=this.svgService.getOriginal(t);return this.isName&&!e&&!!t&&this.onError("Attempted to use undefined named icon"),this.isShadowDOM&&this.isName?this.sanitize(e||""):""}sanitize(t){return t=this.options.contentProcessor(t),this.tuiSanitizer&&(0,u.Aj)(t)?this.sanitizer.bypassSecurityTrustHtml(this.tuiSanitizer.sanitize(o.q3G.HTML,t)||""):t}getExternalIcon(t){const e=t.includes(".svg")?t:this.use;return this.staticRequestService.request(e).pipe((0,k.K)(()=>(this.onError("Failed to load external SVG"),(0,w.of)(""))),(0,O.U)(t=>this.sanitize(t.replace("{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[r.ez,l.WD]]}),t})()},1515:function(t,e,n){"use strict";n.d(e,{w:function(){return g},Q:function(){return m}});var i=n(74788),r=n(27103),o=n(99434),s=n(90022),a=n(12130),l=n(79456),c=n(46782),u=n(54789),h=n(91489),d=n(89570),p=n(12057);function f(t,e){1&t&&i._UZ(0,"tui-svg",3),2&t&&i.Q6J("src",e.polymorpheusOutlet)}let g=(()=>{class t extends s.bZ{constructor(t,e,n,i){super(n),this.isMobile=i,this.mode=null,this.describeId="",e.pipe((0,c.R)(t)).subscribe(t=>{this.mode=t})}get computedAppearance(){return this.appearance||this.mode||""}stopOnMobile(t){var e;this.isMobile&&(t.preventDefault(),t.stopPropagation()),null===(e=this.driver$)||void 0===e||e.toggle()}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(r.a3,2),i.Y36(l.Au),i.Y36(s.H3),i.Y36(o.fL))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-tooltip"]],viewQuery:function(t,e){if(1&t&&i.Gf(s.t6,5),2&t){let t;i.iGM(t=i.CRH())&&(e.driver$=t.first)}},hostVars:1,hostBindings:function(t,e){1&t&&i.NdJ("mousedown",function(t){return e.stopOnMobile(t)}),2&t&&i.uIk("data-appearance",e.computedAppearance)},inputs:{content:"content",direction:"direction",appearance:"appearance",showDelay:"showDelay",hideDelay:"hideDelay",describeId:"describeId",context:"context"},features:[i._Bn([r.a3,a.CV]),i.qOj],decls:4,vars:11,consts:[["appearance","icon","automation-id","tui-tooltip__icon","tuiWrapper","",1,"t-tooltip-icon",3,"hover","tuiHint","tuiHintAppearance","tuiHintContext","tuiHintDescribe","tuiHintDirection","tuiHintHideDelay","tuiHintShowDelay"],["driver","tuiHintHover"],[3,"src",4,"polymorpheusOutlet"],[3,"src"]],template:function(t,e){if(1&t&&(i.TgZ(0,"span",0,1),i.ALo(2,"async"),i.YNc(3,f,1,1,"tui-svg",2),i.qZA()),2&t){const t=i.MAs(1);i.Q6J("hover",i.lcZ(2,9,t)||null)("tuiHint",e.content)("tuiHintAppearance",e.computedAppearance)("tuiHintContext",e.context)("tuiHintDescribe",e.describeId)("tuiHintDirection",e.direction)("tuiHintHideDelay",e.hideDelay)("tuiHintShowDelay",e.showDelay),i.xp6(3),i.Q6J("polymorpheusOutlet",e.icon)}},directives:[h.o,s.D,s.xn,s.t6,s.DM,s.$o,d.Li,u.PN],pipes:[p.Ov],styles:['[_nghost-%COMP%]{transition-property:color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:relative;display:inline-block;width:1.5rem;height:1.5rem;vertical-align:middle;font-size:0;line-height:0;pointer-events:auto;cursor:pointer;color:var(--tui-text-01)}[data-appearance=error][_nghost-%COMP%]{color:var(--tui-error-fill)}.t-tooltip-icon[_ngcontent-%COMP%]{display:inline-block;width:100%;height:100%;color:inherit}[tuiWrapper][data-appearance="textfield"][data-state="disabled"][_nghost-%COMP%] .t-tooltip-icon[_ngcontent-%COMP%], [tuiWrapper][data-appearance="textfield"][data-state="disabled"] [_nghost-%COMP%] .t-tooltip-icon[_ngcontent-%COMP%]{opacity:1}'],changeDetection:0}),t})(),m=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[p.ez,h.W,u.EI,s.go,d.wq]]}),t})()},18269:function(t,e,n){"use strict";n.d(e,{oA:function(){return o},uJ:function(){return r},Jl:function(){return s},Fw:function(){return u},qT:function(){return c},fe:function(){return l},Nq:function(){return a}});var i=n(33770);const r=`?v=${i.Ml}`,o=t=>t.includes(".svg#")?t:`#${t}`,s={decimalLimit:1/0,decimalSeparator:",",thousandSeparator:i.f$,zeroPadding:!0,rounding:"truncate",decimal:"not-zero"},a=["Spacebar","Backspace","Delete","ArrowLeft","ArrowRight","Left","Right","End","Home"],l="tui-scroll-into-view",c="tui-icon-error",u=["bottom-left","bottom","bottom-right","top-left","top","top-right","left-top","left","left-bottom","right-top","right","right-bottom"]},98952:function(t,e,n){"use strict";n.d(e,{td:function(){return B},VC:function(){return G},E$:function(){return $},Tp:function(){return J},dp:function(){return W},oH:function(){return j},Ek:function(){return U},Cw:function(){return Q},fx:function(){return q}});var i=n(74788),r=n(62579),o=n(221),s=n(71486),a=n(96111),l=n(11927),c=n(27103),u=n(75122),h=n(44358),d=n(75675),p=n(57179),f=n(33770),g=n(43631),m=n(49941),v=n(12130),_=n(87941),y=n(79456),b=n(43219),w=n(46782),C=n(43190),x=n(87874),k=n(68307),O=n(9945),M=n(88002),S=n(97582),P=n(47766),E=n(66640),T=n(89570),A=n(79765),I=n(66682),D=n(25917),N=n(26215),L=n(80134);function z(t,e){if(1&t&&(i.TgZ(0,"div",4),i._uU(1),i.qZA()),2&t){const t=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",t," ")}}const F=function(t){return{$implicit:t}},R=(0,l.N1)(()=>H);let j=(()=>{class t{constructor(){this.tuiDropdownOpenChange=new i.vpe}set tuiDropdownOpen(t){var e;null===(e=this.dropdown)||void 0===e||e.toggle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiDropdownOpen",""],["","tuiDropdownOpenChange",""]],inputs:{tuiDropdownOpen:"tuiDropdownOpen"},outputs:{tuiDropdownOpenChange:"tuiDropdownOpenChange"}}),t})(),B=(()=>{class t{constructor(t,e,n,i,r,o){this.el=e,this.dropdown=n,this.injector=i,this.dropdownService=r,this.open=o,this.refresh$=new A.xQ,this.dropdownBoxRef=null,this.type="dropdown",this.component=new T.Al(this.dropdown,this.injector),this.open&&!this.open.dropdown?this.open.dropdown=this:this.open=null,this.refresh$.pipe((0,b.p)(0),(0,w.R)(t)).subscribe(()=>{var t,e;null===(t=this.dropdownBoxRef)||void 0===t||t.changeDetectorRef.detectChanges(),null===(e=this.dropdownBoxRef)||void 0===e||e.changeDetectorRef.markForCheck()})}get position(){return(0,P.qK)(this.el.nativeElement)?"fixed":"absolute"}ngAfterViewChecked(){this.refresh$.next()}ngOnChanges(){this.content||this.toggle(!1)}ngOnDestroy(){this.toggle(!1),this.open&&(this.open.dropdown=void 0)}getClientRect(){return this.el.nativeElement.getBoundingClientRect()}toggle(t){var e,n;t&&this.content&&!this.dropdownBoxRef?(this.dropdownBoxRef=this.dropdownService.add(this.component),null===(e=this.open)||void 0===e||e.tuiDropdownOpenChange.emit(!0)):!t&&this.dropdownBoxRef&&(this.dropdownService.remove(this.dropdownBoxRef),this.dropdownBoxRef=null,null===(n=this.open)||void 0===n||n.tuiDropdownOpenChange.emit(!1))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(c.a3,2),i.Y36(i.SBq),i.Y36(R),i.Y36(i.gxx),i.Y36(u.ae),i.Y36(j,8))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiDropdown","",5,"ng-container"]],inputs:{content:["tuiDropdown","content"]},exportAs:["tuiDropdown"],features:[i._Bn([c.a3,(0,g.Ic)(t),(0,g.Fe)(t)]),i.TTD]}),(0,S.gn)([h.UM],t.prototype,"position",null),t})();const V=(0,l.JN)({showDelay:200,hideDelay:500});let $=(()=>{class t extends g.kk{constructor(t,e,n){super(t=>this.stream$.subscribe(t)),this.hovered$=t,this.options=e,this.parentHover=n,this.toggle$=new A.xQ,this.stream$=(0,I.T)(this.toggle$,this.hovered$).pipe((0,C.w)(t=>(0,D.of)(t).pipe((0,x.g)(t?this.showDelay:this.hideDelay))),(0,k.b)(t=>{this.hovered=t}),(0,O.B)()),this.showDelay=this.options.showDelay,this.hideDelay=this.options.hideDelay,this.hovered=!1,this.type="dropdown"}toggle(t){var e;null===(e=this.parentHover)||void 0===e||e.toggle(t),this.toggle$.next(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(a.gs),i.Y36(V),i.Y36(t,12))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiDropdownHover","",5,"ng-container"]],inputs:{showDelay:["tuiDropdownShowDelay","showDelay"],hideDelay:["tuiDropdownHideDelay","hideDelay"]},features:[i._Bn([(0,g.UK)(t),a.gs]),i.qOj]}),t})();const Y={align:"left",direction:null,limitWidth:"auto",maxHeight:400,minHeight:80,offset:4,appearance:""},Z=(0,l.JN)(Y),q=t=>({provide:Z,deps:[[new i.FiY,U],[new i.FiY,new i.tp0,Z]],useFactory:(0,E.lp)(t,Y)});let U=(()=>{class t{constructor(t){this.options=t,this.align=this.options.align,this.appearance=this.options.appearance,this.direction=this.options.direction,this.limitWidth=this.options.limitWidth,this.minHeight=this.options.minHeight,this.maxHeight=this.options.maxHeight,this.offset=this.options.offset}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(Z,4))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiDropdownAlign",""],["","tuiDropdownAppearance",""],["","tuiDropdownDirection",""],["","tuiDropdownLimitWidth",""],["","tuiDropdownMinHeight",""],["","tuiDropdownMaxHeight",""],["","tuiDropdownOffset",""]],inputs:{align:["tuiDropdownAlign","align"],appearance:["tuiDropdownAppearance","appearance"],direction:["tuiDropdownDirection","direction"],limitWidth:["tuiDropdownLimitWidth","limitWidth"],minHeight:["tuiDropdownMinHeight","minHeight"],maxHeight:["tuiDropdownMaxHeight","maxHeight"],offset:["tuiDropdownOffset","offset"]},features:[i._Bn([{provide:Z,useExisting:(0,i.Gpc)(()=>t)}])]}),t})(),H=(()=>{class t{constructor(t,e,n,i,r,o,s,a,l,c,u){this.directive=i,this.animation=r,this.el=o,this.accessor=s,this.win=a,this.mode$=l,this.options=c,this.hoverDirective=u,e.pipe((0,M.U)(e=>"fixed"===this.directive.position?t.correct(e):e),(0,w.R)(n)).subscribe(([t,e])=>{this.update(t,e)}),this.updateWidth(this.accessor.getClientRect().width)}onHoveredChange(t){var e;null===(e=this.hoverDirective)||void 0===e||e.toggle(t)}onTopFocus(){this.moveFocusOutside(!0)}onBottomFocus(){this.moveFocusOutside(!1)}update(t,e){var n;const{style:i}=this.el.nativeElement,{right:r}=this.el.nativeElement.getBoundingClientRect(),{maxHeight:o,offset:s}=this.options,{innerHeight:a}=this.win,l=null===(n=this.el.nativeElement.offsetParent)||void 0===n?void 0:n.getBoundingClientRect(),{position:c}=this.directive,u=this.accessor.getClientRect(),h="fixed"===c?0:-((null==l?void 0:l.top)||0);t+=h;const p=(e+="fixed"===c?0:-((null==l?void 0:l.left)||0))u.left&&t{class t extends g.FP{constructor(t,e,n){super(t,e,n),this.type="dropdown"}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(c.a3,2),i.Y36(g.kk),i.Y36(g.c2))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiDropdown",""]],features:[i._Bn([c.a3]),i.qOj]}),t})(),J=(()=>{class t extends g.kk{constructor(){super(t=>this.stream$.subscribe(t)),this.stream$=new N.X(!1),this.tuiDropdownManual=!1,this.type="dropdown"}ngOnChanges(){this.stream$.next(this.tuiDropdownManual)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiDropdown","","tuiDropdownManual",""]],inputs:{tuiDropdownManual:"tuiDropdownManual"},features:[i._Bn([(0,g.UK)(t)]),i.qOj,i.TTD]}),t})(),X=(()=>{class t extends g.uG{constructor(t,e,n,i){super(),this.options=t,this.viewport=e,this.accessors=n,this.directive=i,this.type="dropdown"}getPosition({width:t,height:e}){var n,i;!t&&!e&&(this.previous=void 0);const r=null!==(i=null===(n=this.accessor)||void 0===n?void 0:n.getClientRect())&&void 0!==i?i:f.Jy,o=this.viewport.getClientRect(),{minHeight:s,align:a,direction:l,offset:c}=this.options,u={top:o.top-c,bottom:o.bottom+c,right:o.right-c,left:o.left+c},h=this.previous||l||"bottom",d={top:r.top-2*c-u.top,bottom:u.bottom-r.bottom-2*c},p=Math.max(r.right-t,c),g=r.left+td.bottom?"top":"bottom";return d[h]>s&&l||d[h]>e?[m[h],m[a]]:(this.previous=v,[m[v],m[a]])}get accessor(){return(0,g.Sv)("dropdown")(this.accessors,this.directive)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(Z),i.Y36(y.EO),i.Y36(g.O4),i.Y36(B))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiDropdown","",3,"tuiDropdownCustomPosition","",3,"tuiDropdownSided",""]],features:[i._Bn([(0,g.P7)(t)]),i.qOj]}),(0,S.gn)([h.UM],t.prototype,"accessor",null),t})(),Q=(()=>{class t extends g.uG{constructor(t,e,n){super(),this.options=t,this.viewport=e,this.vertical=n,this.previous=this.options.direction||"bottom",this.tuiDropdownSided="",this.tuiDropdownSidedOffset=4,this.type="dropdown"}getPosition(t){var e,n;if(!1===this.tuiDropdownSided)return this.vertical.getPosition(t);const{height:i,width:r}=t,o=null!==(n=null===(e=this.vertical.accessor)||void 0===e?void 0:e.getClientRect())&&void 0!==n?n:f.Jy,s=this.viewport.getClientRect(),{direction:a,minHeight:l,offset:c}=this.options,u="center"===this.options.align?"left":this.options.align,h={top:o.bottom-s.top,left:o.left-c-s.left,right:s.right-o.right-c,bottom:s.bottom-o.top},d={top:o.bottom-i+this.tuiDropdownSidedOffset+1,left:o.left-r-c,right:o.right+c,bottom:o.top-this.tuiDropdownSidedOffset-1},p=h.top>h.bottom?"top":"bottom",g=h[u]>r?d[u]:h.left>h.right?d.left:d.right;return h[this.previous]>l&&a||this.previous===p?[d[this.previous],g]:(this.previous=p,[d[p],g])}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(Z),i.Y36(y.EO),i.Y36(X))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiDropdownSided",""]],inputs:{tuiDropdownSided:"tuiDropdownSided",tuiDropdownSidedOffset:"tuiDropdownSidedOffset"},features:[i._Bn([X,(0,g.P7)(t)]),i.qOj]}),t})(),W=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[T.wq,o.A,s.e,L.Jy,a.VE]]}),t})()},90022:function(t,e,n){"use strict";n.d(e,{H3:function(){return U},$o:function(){return W},D:function(){return G},xn:function(){return K},t6:function(){return J},go:function(){return et},bZ:function(){return H},DM:function(){return tt}});var i=n(97582),r=n(74788),o=n(11927),s=n(76480),a=n(221),l=n(96111),c=n(33770),u=n(64493),h=n(85648),d=n(75675),p=n(27103),f=n(44358),g=n(40946),m=n(57179),v=n(43631),_=n(49941),y=n(75452),b=n(87941),w=n(79456),C=n(66640),x=n(89570),k=n(85345);class O{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new M(t,this.durationSelector))}}class M extends k.Ds{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){try{const e=this.durationSelector.call(this,t);e&&this._tryNext(t,e)}catch(e){this.destination.error(e)}}_complete(){this.emitValue(),this.destination.complete()}_tryNext(t,e){let n=this.durationSubscription;this.value=t,this.hasValue=!0,n&&(n.unsubscribe(),this.remove(n)),n=(0,k.ft)(e,new k.IY(this)),n&&!n.closed&&this.add(this.durationSubscription=n)}notifyNext(){this.emitValue()}notifyComplete(){this.emitValue()}emitValue(){if(this.hasValue){const t=this.value,e=this.durationSubscription;e&&(this.durationSubscription=void 0,e.unsubscribe(),this.remove(e)),this.value=void 0,this.hasValue=!1,super._next(t)}}}var S=n(43190),P=n(87874),E=n(46782),T=n(79196),A=n(45435),I=n(88002),D=n(68307),N=n(39761),L=n(87519),z=n(13653),F=n(79765),R=n(66682),j=n(25917),B=n(74235),V=n(41291),$=n(12057),Y=n(18269);function Z(t,e){1&t&&r._UZ(0,"span",1),2&t&&r.Q6J("innerHTML",e.polymorpheusOutlet,r.oJD)}const q=(0,o.N1)(()=>Q),U=(0,o.JN)({direction:"bottom-left",showDelay:500,hideDelay:200,appearance:"",icon:"tuiIconHelpCircle"});let H=(()=>{class t extends s.QJ{constructor(t){super(),this.options=t,this.direction=this.options.direction,this.appearance=this.options.appearance,this.showDelay=this.options.showDelay,this.hideDelay=this.options.hideDelay,this.icon=this.options.icon}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(U,4))},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiHintContent",""]],inputs:{content:["tuiHintContent","content"],direction:["tuiHintDirection","direction"],appearance:["tuiHintAppearance","appearance"],showDelay:["tuiHintShowDelay","showDelay"],hideDelay:["tuiHintHideDelay","hideDelay"]},features:[r._Bn([{provide:U,useExisting:(0,r.Gpc)(()=>t)}]),r.qOj]}),t})(),G=(()=>{class t{constructor(t,e,n,i,r){this.el=t,this.component=e,this.hintService=n,this.options=i,this.activeZone=r,this.tuiHintAppearance=null,this.type="hint"}get appearance(){var t;return null!==(t=this.tuiHintAppearance)&&void 0!==t?t:this.options.appearance}ngOnChanges(){this.content||this.toggle(!1)}ngOnDestroy(){this.toggle(!1)}getClientRect(){return this.el.nativeElement.getBoundingClientRect()}toggle(t){t&&this.content?this.hintService.add(this):this.hintService.remove(this)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(x.Al),r.Y36(b.BN),r.Y36(U),r.Y36(a.e,8))},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiHint","",5,"ng-container"]],inputs:{content:["tuiHint","content"],context:["tuiHintContext","context"],tuiHintAppearance:"tuiHintAppearance"},features:[r._Bn([(0,v.Ic)(t),(0,v.Fe)(t),{provide:x.Al,deps:[q,r.gxx],useClass:x.Al}]),r.TTD]}),t})(),J=(()=>{class t extends v.kk{constructor(t,e,n){super(t=>this.stream$.subscribe(t)),this.hovered$=t,this.options=e,this.el=n,this.visible=!1,this.toggle$=new F.xQ,this.stream$=(0,R.T)(this.toggle$.pipe((0,S.w)(t=>(0,j.of)(t).pipe((0,P.g)(t?0:this.hideDelay))),(0,E.R)(this.hovered$),(0,T.r)()),this.hovered$.pipe((0,S.w)(t=>(0,j.of)(t).pipe((0,P.g)(t?this.showDelay:this.hideDelay))),(0,E.R)(this.toggle$),(0,T.r)())).pipe((0,A.h)(()=>this.enabled),(0,I.U)(t=>t&&!(0,C.mn)(this.el.nativeElement)),(0,D.b)(t=>{this.visible=t})),this.showDelay=this.options.showDelay,this.hideDelay=this.options.hideDelay,this.type="hint",this.enabled=!0}toggle(t=!this.visible){this.toggle$.next(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(l.gs),r.Y36(U),r.Y36(r.SBq))},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiHint","",5,"ng-container"]],inputs:{showDelay:["tuiHintShowDelay","showDelay"],hideDelay:["tuiHintHideDelay","hideDelay"]},exportAs:["tuiHintHover"],features:[r._Bn([(0,v.UK)(t),l.gs]),r.qOj]}),t})(),X=(()=>{class t extends J{constructor(){super(...arguments),this.currentRect=c.Jy}onMove({clientX:t,clientY:e}){this.currentRect=(0,u.dD)(t,e)}getClientRect(){return this.currentRect}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,selectors:[["","tuiHint","","tuiHintPointer",""]],hostBindings:function(t,e){1&t&&r.NdJ("mousemove.silent",function(t){return e.onMove(t)})},features:[r._Bn([(0,v.Ic)(t),(0,v.UK)(t)]),r.qOj]}),t})(),Q=(()=>{class t{constructor(t,e,n,i,r,o,s,a,l,c,u,h){var d;this.animation=i,this.pointer=r,this.accessor=o,this.el=s,this.polymorpheus=a,this.hover=l,this.mode=c,this.visualViewportService=u,this.viewport=h,this.appearance=this.polymorpheus.$implicit.appearance||(null===(d=this.mode)||void 0===d?void 0:d.mode),e.pipe((0,I.U)(t=>this.visualViewportService.correct(t)),(0,E.R)(n)).subscribe(([t,e])=>{this.update(t,e)}),t.pipe((0,E.R)(n)).subscribe(t=>this.hover.toggle(t))}get content(){return this.polymorpheus.$implicit.content}get context(){return this.polymorpheus.$implicit.context}onClick(t){(!this.el.nativeElement.contains(t)&&!this.hover.el.nativeElement.contains(t)||(0,C.mn)(this.hover.el.nativeElement))&&this.hover.toggle(!1)}update(t,e){const{height:n,width:i}=this.el.nativeElement.getBoundingClientRect(),{style:r}=this.el.nativeElement,o=this.accessor.getClientRect(),s=this.viewport.getClientRect();if(o===c.Jy)return;const a=(0,h.Ki)(e,4,s.width-i-4),[l,u]=this.visualViewportService.correct([o.top+o.height/2-t,o.left+o.width/2-a]);r.top=(0,d.O)(t),r.left=(0,d.O)(a),r.setProperty("--top",(0,d.O)((0,h.Ki)(l,.5,n-1))),r.setProperty("--left",(0,d.O)((0,h.Ki)(u,.5,i-1)))}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(l.gs),r.Y36(b.KG),r.Y36(p.a3,2),r.Y36(w.Pw),r.Y36(X,8),r.Y36(v.O4),r.Y36(r.SBq),r.Y36(x.yf),r.Y36(J),r.Y36(y.w,8),r.Y36(b.Lp),r.Y36(w.EO))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-hint"]],hostVars:4,hostBindings:function(t,e){1&t&&r.NdJ("click",function(t){return e.onClick(t.target)},!1,r.evT),2&t&&(r.uIk("data-appearance",e.appearance),r.d8E("@tuiFadeIn",e.animation),r.ekj("_untouchable",e.pointer))},features:[r._Bn([p.a3,b.KG,l.gs,(0,v.ei)("hint"),(0,v.Wk)("hint",G)])],decls:1,vars:2,consts:[[3,"innerHTML",4,"polymorpheusOutlet","polymorpheusOutletContext"],[3,"innerHTML"]],template:function(t,e){1&t&&r.YNc(0,Z,1,1,"span",0),2&t&&r.Q6J("polymorpheusOutlet",e.content)("polymorpheusOutletContext",e.context)},directives:[x.Li],styles:['[_nghost-%COMP%]{position:absolute;max-width:18rem;min-height:var(--tui-height-m);padding:.75rem 1rem;background:var(--tui-primary);border-radius:var(--tui-radius-l);color:var(--tui-primary-text);box-sizing:border-box;font:var(--tui-font-text-s);white-space:pre-line;word-wrap:break-word}[_nghost-%COMP%]:before{content:"";position:absolute;top:var(--top);left:var(--left);width:.5rem;height:.5rem;border-radius:.125rem;box-sizing:border-box;background:inherit;transform:translate(-50%,-50%) rotate(45deg)}[data-appearance=error][_nghost-%COMP%]{background:var(--tui-error-fill)}[data-appearance=onDark][_nghost-%COMP%]{background:var(--tui-elevation-02);color:var(--tui-text-01);filter:drop-shadow(0 0 .125rem rgba(0,0,0,.16)) drop-shadow(0 1.5rem 1rem rgba(0,0,0,.03)) drop-shadow(0 .75rem .75rem rgba(0,0,0,.04)) drop-shadow(0 .25rem .375rem rgba(0,0,0,.05))}[_nghost-%COMP%]:not([style*="top"]){visibility:hidden}._untouchable[_nghost-%COMP%]{pointer-events:none}'],data:{animation:[_.QF]},changeDetection:0}),(0,i.gn)([f.UM],t.prototype,"update",null),t})(),W=(()=>{class t extends v.kk{constructor(t,e,n){super(t=>this.stream$.subscribe(t)),this.zone=t,this.doc=e,this.el=n,this.id$=new B.t(1),this.stream$=this.id$.pipe((0,g.Xd)(()=>(0,g.mL)(this.doc,"keydown",{capture:!0}),o.Pc),(0,S.w)(()=>this.focused?(0,j.of)(!1):(0,R.T)((0,g.mL)(this.doc,"keyup"),(0,g.mL)(this.element,"blur")).pipe((0,I.U)(()=>this.focused))),function(t){return e=>e.lift(new O(t))}(t=>t?(0,V.H)(1e3):(0,j.of)(null)),(0,N.O)(!1),(0,L.x)(),(0,z.T)(1),(0,g.Yr)(this.zone)),this.tuiHintDescribe="",this.type="hint"}ngOnChanges(){this.id$.next(this.tuiHintDescribe)}get focused(){return(0,m.V8)(this.element)}get element(){return this.doc.getElementById(this.tuiHintDescribe||"")||this.el.nativeElement}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.R0b),r.Y36($.K0),r.Y36(r.SBq))},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiHintDescribe",""]],inputs:{tuiHintDescribe:"tuiHintDescribe"},features:[r._Bn([(0,v.UK)(t)]),r.qOj,r.TTD]}),(0,i.gn)([f.UM],t.prototype,"element",null),t})(),K=(()=>{class t extends v.FP{constructor(t,e,n){super(t,e,n),this.type="hint"}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(p.a3,2),r.Y36(v.kk),r.Y36(v.c2))},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiHint",""]],features:[r._Bn([p.a3]),r.qOj]}),t})(),tt=(()=>{class t extends v.uG{constructor(t,e,n,i){super(),this.options=t,this.viewport=e,this.directive=n,this.accessors=i,this.points=Y.Fw.reduce((t,e)=>Object.assign(Object.assign({},t),{[e]:[0,0]}),{}),this.direction=this.options.direction,this.type="hint"}getPosition({width:t,height:e}){var n,i;const r=null!==(i=null===(n=this.accessor)||void 0===n?void 0:n.getClientRect())&&void 0!==i?i:c.Jy,o=r.left+r.width/2,s=r.top+r.height/2;if(this.points["top-left"][0]=r.top-e-8,this.points["top-left"][1]=o-t+22,this.points.top[0]=this.points["top-left"][0],this.points.top[1]=o-t/2,this.points["top-right"][0]=this.points["top-left"][0],this.points["top-right"][1]=o-22,this.points["bottom-left"][0]=r.bottom+8,this.points["bottom-left"][1]=this.points["top-left"][1],this.points.bottom[0]=this.points["bottom-left"][0],this.points.bottom[1]=this.points.top[1],this.points["bottom-right"][0]=this.points["bottom-left"][0],this.points["bottom-right"][1]=this.points["top-right"][1],this.points["left-top"][0]=s-e+22,this.points["left-top"][1]=r.left-t-8,this.points.left[0]=s-e/2,this.points.left[1]=this.points["left-top"][1],this.points["left-bottom"][0]=s-22,this.points["left-bottom"][1]=this.points["left-top"][1],this.points["right-top"][0]=this.points["left-top"][0],this.points["right-top"][1]=r.right+8,this.points.right[0]=this.points.left[0],this.points.right[1]=this.points["right-top"][1],this.points["right-bottom"][0]=this.points["left-bottom"][0],this.points["right-bottom"][1]=this.points["right-top"][1],this.checkPosition(this.points[this.direction],t,e))return this.points[this.direction];const a=Y.Fw.find(n=>this.checkPosition(this.points[n],t,e));return this.points[a||this.fallback]}get accessor(){return(0,v.Sv)("hint")(this.accessors,this.directive)}get fallback(){return this.points.top[0]>this.viewport.getClientRect().bottom-this.points.bottom[0]?"top":"bottom"}checkPosition([t,e],n,i){const r=this.viewport.getClientRect();return t>8&&e>8&&t+i{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[$.ez,x.wq]]}),t})()},75452:function(t,e,n){"use strict";n.d(e,{w:function(){return o},z:function(){return s}});var i=n(74788),r=n(76480);let o=(()=>{class t extends r.QJ{constructor(){super(...arguments),this.mode=null}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,selectors:[["","tuiMode",""]],inputs:{mode:["tuiMode","mode"]},features:[i.qOj]}),t})(),s=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},79588:function(t,e,n){"use strict";n.d(e,{Y0:function(){return R},Ym:function(){return _},z1:function(){return g},kI:function(){return N},Cs:function(){return F},be:function(){return y},cn:function(){return z},B7:function(){return w},kD:function(){return x},AW:function(){return O},aR:function(){return S},xT:function(){return E},Tq:function(){return A},A7:function(){return D},sz:function(){return L}});var i=n(11927),r=n(76480),o=n(27103),s=n(40946),a=n(74788),l=n(79456),c=n(29856),u=n(98640);const h=new c.y(u.Z);var d=n(66682),p=n(46782);class f{constructor(t,e,n,i,r,o,s,a,l,c,u,h,d){this.change$=t,this.options=e,this.legacyAppearance=n,this.appearanceDirective=i,this.cleanerDirective=r,this.customContentDirective=o,this.iconDirective=s,this.iconLeftDirective=a,this.labelOutsideDirective=l,this.sizeDirective=c,this.prefixDirective=u,this.postfixDirective=h,this.fillerDirective=d}get appearance(){return this.appearanceDirective.appearance||this.legacyAppearance}get cleaner(){return this.cleanerDirective.cleaner}get customContent(){return this.customContentDirective.customContent||""}get icon(){return this.iconDirective.icon}get iconLeft(){return this.iconLeftDirective.iconLeft}get labelOutside(){return this.labelOutsideDirective.labelOutside}get size(){return this.sizeDirective.size}get prefix(){return this.prefixDirective.prefix}get postfix(){return this.postfixDirective.postfix}get filler(){return this.fillerDirective.filler}}const g=(0,i.JN)({iconCleaner:"tuiIconClose",hintOnDisabled:!1}),m=(0,i.N1)(()=>new v);let v=(()=>{class t extends r.QJ{constructor(){super(...arguments),this.appearance=""}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=a.n5z(t)))(n||t)}}(),t.\u0275dir=a.lG2({type:t,selectors:[["","tuiTextfieldAppearance",""]],inputs:{appearance:["tuiTextfieldAppearance","appearance"]},features:[a._Bn([{provide:m,useExisting:(0,a.Gpc)(()=>t)}]),a.qOj]}),t})();const _=(0,i.N1)(()=>new y);let y=(()=>{class t extends r.QJ{constructor(){super(...arguments),this.cleaner=!1}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=a.n5z(t)))(n||t)}}(),t.\u0275dir=a.lG2({type:t,selectors:[["","tuiTextfieldCleaner",""]],inputs:{cleaner:["tuiTextfieldCleaner","cleaner"]},features:[a._Bn([{provide:_,useExisting:(0,a.Gpc)(()=>t)}]),a.qOj]}),t})();const b=(0,i.N1)(()=>new w);let w=(()=>{class t extends r.QJ{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=a.n5z(t)))(n||t)}}(),t.\u0275dir=a.lG2({type:t,selectors:[["","tuiTextfieldCustomContent",""]],inputs:{customContent:["tuiTextfieldCustomContent","customContent"]},features:[a._Bn([{provide:b,useExisting:(0,a.Gpc)(()=>t)}]),a.qOj]}),t})();const C=(0,i.N1)(()=>new x);let x=(()=>{class t extends r.QJ{constructor(){super(...arguments),this.filler=""}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=a.n5z(t)))(n||t)}}(),t.\u0275dir=a.lG2({type:t,selectors:[["","tuiTextfieldFiller",""]],inputs:{filler:["tuiTextfieldFiller","filler"]},features:[a._Bn([{provide:C,useExisting:(0,a.Gpc)(()=>t)}]),a.qOj]}),t})();const k=(0,i.N1)(()=>new O);let O=(()=>{class t extends r.QJ{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=a.n5z(t)))(n||t)}}(),t.\u0275dir=a.lG2({type:t,selectors:[["","tuiTextfieldIcon",""]],inputs:{icon:["tuiTextfieldIcon","icon"]},features:[a._Bn([{provide:k,useExisting:(0,a.Gpc)(()=>t)}]),a.qOj]}),t})();const M=(0,i.N1)(()=>new S);let S=(()=>{class t extends r.QJ{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=a.n5z(t)))(n||t)}}(),t.\u0275dir=a.lG2({type:t,selectors:[["","tuiTextfieldIconLeft",""]],inputs:{iconLeft:["tuiTextfieldIconLeft","iconLeft"]},features:[a._Bn([{provide:M,useExisting:(0,a.Gpc)(()=>t)}]),a.qOj]}),t})();const P=(0,i.N1)(()=>new E);let E=(()=>{class t extends r.QJ{constructor(){super(...arguments),this.labelOutside=!1}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=a.n5z(t)))(n||t)}}(),t.\u0275dir=a.lG2({type:t,selectors:[["","tuiTextfieldLabelOutside",""]],inputs:{labelOutside:["tuiTextfieldLabelOutside","labelOutside"]},features:[a._Bn([{provide:P,useExisting:(0,a.Gpc)(()=>t)}]),a.qOj]}),t})();const T=(0,i.N1)(()=>new A);let A=(()=>{class t extends r.QJ{constructor(){super(...arguments),this.postfix=""}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=a.n5z(t)))(n||t)}}(),t.\u0275dir=a.lG2({type:t,selectors:[["","tuiTextfieldPostfix",""]],inputs:{postfix:["tuiTextfieldPostfix","postfix"]},features:[a._Bn([{provide:T,useExisting:(0,a.Gpc)(()=>t)}]),a.qOj]}),t})();const I=(0,i.N1)(()=>new D);let D=(()=>{class t extends r.QJ{constructor(){super(...arguments),this.prefix=""}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=a.n5z(t)))(n||t)}}(),t.\u0275dir=a.lG2({type:t,selectors:[["","tuiTextfieldPrefix",""]],inputs:{prefix:["tuiTextfieldPrefix","prefix"]},features:[a._Bn([{provide:I,useExisting:(0,a.Gpc)(()=>t)}]),a.qOj]}),t})();const N=(0,i.N1)(()=>new L);let L=(()=>{class t extends r.QJ{constructor(){super(...arguments),this.size="l"}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=a.n5z(t)))(n||t)}}(),t.\u0275dir=a.lG2({type:t,selectors:[["","tuiTextfieldSize",""]],inputs:{size:["tuiTextfieldSize","size"]},features:[a._Bn([{provide:N,useExisting:(0,a.Gpc)(()=>t)}]),a.qOj]}),t})(),z=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({}),t})();const F=new a.OlP("[TUI_TEXTFIELD_WATCHED_CONTROLLER]"),R=[o.a3,{provide:F,deps:[a.sBO,o.a3,g,l.jt,m,_,b,k,M,P,N,I,T,C],useFactory:(t,e,n,i,...r)=>{const o=(0,d.T)(...r.map(({change$:t})=>t||h)).pipe((0,s.NA)(t),(0,p.R)(e));return o.subscribe(),new f(o,n,i,...r)}}]},91489:function(t,e,n){"use strict";n.d(e,{o:function(){return a},W:function(){return l}});var i=n(74788),r=n(77320),o=n(12130),s=n(79456);let a=(()=>{class t{constructor(t){this.mode$=t,this.disabled=!1,this.readOnly=!1,this.hover=null,this.active=null,this.focus=!1,this.invalid=!1,this.appearance=""}get computedInvalid(){return!this.disabled&&!this.readOnly&&this.invalid}get computedFocused(){return this.focus&&!this.disabled}get interactiveState(){return this.disabled?r.z3.Disabled:this.readOnly?r.z3.Readonly:this.active?r.z3.Active:this.hover?r.z3.Hover:null}get noHover(){return this.readOnly||!1===this.hover}get noActive(){return this.readOnly||!1===this.active}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(s.Au))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiWrapper",""]],hostVars:10,hostBindings:function(t,e){1&t&&i.NdJ("$.data-mode.attr",function(){return e.mode$}),2&t&&(i.uIk("data-appearance",e.appearance)("data-state",e.interactiveState),i.ekj("_invalid",e.computedInvalid)("_focused",e.computedFocused)("_no-hover",e.noHover)("_no-active",e.noActive))},inputs:{disabled:"disabled",readOnly:"readOnly",hover:"hover",active:"active",focus:"focus",invalid:"invalid",appearance:"appearance"},features:[i._Bn([o.CV])]}),t})(),l=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},77320:function(t,e,n){"use strict";n.d(e,{Nm:function(){return i},z3:function(){return r}});var i=(()=>{return(t=i||(i={})).Accent="accent",t.Flat="flat",t.Icon="icon",t.Outline="outline",t.Primary="primary",t.Secondary="secondary",t.SecondaryDestructive="secondary-destructive",t.Table="table",t.Textfield="textfield",t.Whiteblock="whiteblock",t.WhiteblockActive="whiteblock-active",i;var t})(),r=(()=>{return(t=r||(r={})).Active="active",t.Disabled="disabled",t.Hover="hover",t.Readonly="readonly",r;var t})()},12130:function(t,e,n){"use strict";n.d(e,{CV:function(){return c}});var i=n(74788),r=n(79456),o=n(75452),s=n(25917),a=n(39761),l=n(88002);new i.tp0;const c={provide:r.Au,deps:[[new i.FiY,o.w],i.SBq],useFactory:(t,{nativeElement:e})=>{const n=t?t.change$.pipe((0,a.O)(null),(0,l.U)(()=>t.mode)):(0,s.of)(null);return e["$.data-mode.attr"]=n,n}}},87941:function(t,e,n){"use strict";n.d(e,{zE:function(){return k},BN:function(){return O},KG:function(){return M},Ok:function(){return S},K5:function(){return P},Lp:function(){return E}});var i=n(74788),r=n(40946),o=n(99434),s=n(33770),a=n(27103),l=(n(18939),n(79456)),c=n(29856),u=n(26215),h=n(66682),d=n(41291),p=n(59193),f=n(88002),g=n(87519),m=n(47349),v=n(68939),_=n(46782),y=n(62579),b=n(43631),w=n(86561),C=n(91211),x=n(47766);let k=(()=>{class t extends c.y{constructor(t,e,n){super(t=>this.stream$.subscribe(t)),this.media=t,this.ngZone=e,this.size$=n,this.sorted=Object.values(this.media).sort((t,e)=>t-e),this.invert=Object.keys(this.media).reduce((t,e)=>Object.assign(Object.assign({},t),{[this.media[e]]:e}),{}),this.stream$=this.size$.pipe((0,f.U)(({width:t})=>this.sorted.find(e=>e>t)),(0,f.U)(t=>this.invert[t||this.sorted[this.sorted.length-1]]),(0,g.x)(),(0,r.Yr)(this.ngZone),(0,m.d)({bufferSize:1,refCount:!0}))}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(l.J_),i.LFG(i.R0b),i.LFG(o.fM))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),O=(()=>{class t extends u.X{constructor(){super([])}add(t){this.next(this.value.concat(t))}remove(t){this.value.includes(t)&&this.next(this.value.filter(e=>e!==t))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),M=(()=>{class t extends c.y{constructor(t,e,n,i){super(o=>e.pipe((0,f.U)(()=>t.nativeElement.getBoundingClientRect()),(0,f.U)(t=>i.getPosition(t)),(0,r.fL)(n),(0,v.x)(()=>i.getPosition(s.Jy))).subscribe(o))}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.SBq),i.LFG(y.L1),i.LFG(i.R0b),i.LFG(b.uG))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),S=(()=>{class t extends c.y{constructor(t,e,n,i){const o=t?(0,h.T)((0,d.H)(0),n).pipe((0,f.U)(()=>t.isActive),(0,g.x)(),(0,r.Yr)(e),(0,_.R)(i)):p.E;super(t=>o.subscribe(t))}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(w.Od,8),i.LFG(i.R0b),i.LFG(y.L1),i.LFG(a.a3,2))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),P=(()=>{class t{constructor(t,e,n){this.tuiSanitizer=t,this.sanitizer=e,this.originals={},this.items$=new u.X(new Map),this.define(n)}define(t){const{value:e}=this.items$;Object.keys(t).forEach(n=>{this.defineIcon(n,t[n],e)}),this.items$.next(e)}getOriginal(t){return this.originals[t]||null}defineIcon(t,e,n){if(n.has(t))return;const i=this.parseSrc(t,e);!i||(n.set(t,i),this.originals=Object.assign(Object.assign({},this.originals),{[t]:e}))}parseSrc(t,e){return this.sanitize((0,x.NK)(e,t))}sanitize(t){return this.sanitizer.bypassSecurityTrustHtml((this.tuiSanitizer?this.tuiSanitizer.sanitize(i.q3G.HTML,t):this.sanitizer.sanitize(i.q3G.HTML,t))||"")}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(l.hm,8),i.LFG(C.H7),i.LFG(l.It))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),E=(()=>{class t{constructor(t,e){this.win=t,this.isWebkit=e}correct(t){var e,n,i,r;return this.isWebkit?[t[0]+(null!==(n=null===(e=this.win.visualViewport)||void 0===e?void 0:e.offsetTop)&&void 0!==n?n:0),t[1]+(null!==(r=null===(i=this.win.visualViewport)||void 0===i?void 0:i.offsetLeft)&&void 0!==r?r:0)]:t}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(y.m9),i.LFG(o.jF))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},79456:function(t,e,n){"use strict";n.d(e,{dx:function(){return O},Pw:function(){return M},U0:function(){return L},Gs:function(){return P},N1:function(){return A},PL:function(){return F},xp:function(){return j},It:function(){return V},ki:function(){return $},AA:function(){return B},rL:function(){return Z},sf:function(){return q},J_:function(){return Y},Au:function(){return U},$R:function(){return N},PH:function(){return z},Ln:function(){return G},HO:function(){return J},IQ:function(){return X},TK:function(){return k},hm:function(){return K},u_:function(){return tt},V5:function(){return et},jt:function(){return nt},S0:function(){return it},r2:function(){return ot},sE:function(){return st},EO:function(){return at},RB:function(){return T},oE:function(){return I},P7:function(){return Q},cp:function(){return rt}});var i=n(74788),r=n(11927),o=n(36424),s=n(40946),a=n(68192),l=n(12057),c=n(47232),u=n(47766),h=n(66640),d=n(62579),p=n(9945),f=n(39761),g=n(88002),m=n(87519),v=n(43190),_=n(46782),y=n(18269),b=n(25917),w=n(66682),C=n(54487),x=n(77320);const k=(0,r.N1)(()=>{var t,e,n;return null!==(n=null===(e=null===(t=(0,i.f3M)(l.K0).defaultView)||void 0===t?void 0:t.matchMedia)||void 0===e?void 0:e.call(t,"(prefers-reduced-motion: reduce)").matches)&&void 0!==n&&n}),O=(0,r.N1)(()=>(0,i.f3M)(k)?0:300),M=(0,r.N1)(()=>({value:"",params:{duration:(0,i.f3M)(O)}})),S=((0,r.N1)(()=>(0,i.X6Q)()),{check:"tuiIconCheck",close:"tuiIconClose",error:"tuiIconAlertCircle",more:"tuiIconChevronRight"}),P=(0,r.JN)(S),E=new i.OlP("[TUI_DATA_LIST_ACCESSOR]");function T(t){return{provide:E,useExisting:t}}const A=new i.OlP("[TUI_DATA_LIST_HOST]");function I(t){return{provide:A,useExisting:t}}(0,r.JN)(t=>t.isWeekend?"weekend":"weekday"),new i.OlP("[TUI_DOCUMENT_OR_SHADOW_ROOT]"),new i.OlP("[TUI_ELEMENT_REF]");const D=(0,r.JN)(o.L.Monday),N=(0,r.N1)((0,c.v)("months")),L=(0,r.N1)((0,c.v)("close")),z=(0,r.N1)((0,c.v)("nothingFoundMessage")),F=(0,r.N1)((0,c.v)("defaultErrorMessage")),R=((0,r.N1)((0,c.v)("spinTexts")),(0,r.N1)((0,c.v)("shortWeekDays"))),j="assets/taiga-ui/icons",B=(0,r.JN)(j),V=(0,r.JN)({}),$=(0,r.N1)(()=>(0,h.ht)((0,i.f3M)(B))),Y=(0,r.JN)({mobile:768,desktopSmall:1024,desktopLarge:1280}),Z=(0,r.N1)(()=>{const t=(0,i.f3M)(d.m9),e=(0,i.f3M)(Y);return(0,s.mL)(t,"resize").pipe((0,p.B)(),(0,f.O)(null),(0,g.U)(()=>function(t,{mobile:e}){return(0,u.ic)(t)H[t],size:"m",hasIcon:!0,defaultAutoCloseTime:3e3}),J=(0,r.JN)(y.Jl);(0,r.JN)((0,b.of)(Object.assign(Object.assign({},y.Jl),{decimalLimit:NaN})));const X=new i.OlP("[TUI_OPTION_CONTENT]");function Q(t){return{provide:X,useValue:t}}const W=t=>{const e=t.length-1;return[t[e],...t.slice(0,e)]},K=((0,r.N1)(()=>{const t=(0,i.f3M)(D);return(0,i.f3M)(R).pipe((0,g.U)(W),(0,g.U)(e=>[...e.slice(t),...e.slice(0,t)]))}),new i.OlP("[TUI_SANITIZER]")),tt=((0,r.N1)(()=>{const t=(0,i.f3M)(l.K0);return(0,w.T)((0,s.mL)(t,"selectionchange"),(0,s.mL)(t,"mouseup"),(0,s.mL)(t,"mousedown").pipe((0,v.w)(()=>(0,s.mL)(t,"mousemove").pipe((0,_.R)((0,s.mL)(t,"mouseup"))))),(0,s.mL)(t,"keydown"),(0,s.mL)(t,"keyup")).pipe((0,p.B)())}),(0,r.JN)({decrement:"tuiIconChevronLeft",increment:"tuiIconChevronRight"}),(0,r.JN)(a.N)),et=(0,r.JN)(C.y),nt=(0,r.JN)(x.Nm.Textfield),it=new i.OlP("[TUI_TEXTFIELD_HOST]");function rt(t){return{provide:it,useExisting:t}}const ot=(0,r.JN)("Taiga"),st=new i.OlP("[TUI_VALUE_ACCESSOR]"),at=(0,r.N1)(()=>{const t=(0,i.f3M)(d.m9);return{type:"viewport",getClientRect:()=>({top:0,left:0,right:t.innerWidth,bottom:t.innerHeight,width:t.innerWidth,height:t.innerHeight})}})},47766:function(t,e,n){"use strict";function i(t){return!(!t||"undefined"==typeof getComputedStyle)&&("fixed"===getComputedStyle(t).getPropertyValue("position")||i(t.parentElement))}function r({document:t,innerWidth:e}){return Math.max(t.documentElement.clientWidth||0,e||0)}n.d(e,{qK:function(){return i},ic:function(){return r},NK:function(){return l}});const o='width="',s='height="',a="")));if(!(null==i?void 0:i.includes(o))||!i.includes(s))return`${n.replace(a,``;const r=i.indexOf(o),l=i.indexOf(s),c=r+o.length,u=l+s.length,h=i.slice(c,i.indexOf('"',c)),d=i.slice(u,i.indexOf('"',u));if(!d||!h||h.includes("%")||d.includes("%")||h.includes("em")||d.includes("em"))return n.replace(a,`${n}`}},66640:function(t,e,n){"use strict";n.d(e,{_X:function(){return o},ht:function(){return s},kL:function(){return a},mn:function(){return l},jL:function(){return c},lp:function(){return u},R9:function(){return d}});var i=n(18269),r=n(64493);function o(t,e=!1,n=!1,i=!1,r="m"){const o="s"===r?0:.25;let s=0;return t&&(s+=1.5+o),e&&(s+=1.5+o),n&&(s+=1.5+o),i&&(s+=2.5+o),s}function s(t){const e=t.endsWith("/")?t:`${t}/`;return t=>t.startsWith("tuiIcon")?`${e}${t}.svg${i.uJ}#${t}`:(0,i.oA)(t)}function a(t){return 1===t.length||i.Nq.includes(t)}function l(t,e="tui-hints-host"){var n;return!!(null===(n=(0,r.PU)(t))||void 0===n?void 0:n.some(t=>!t.closest(e)))}function c(t){const e=t.trim();return e.startsWith("<")&&e.endsWith(">")}function u(t,e){return(n,i)=>{const r=n||Object.assign({},i||e);return Object.keys(t).forEach(e=>{r[e]=t[e]}),r}}const h={xxs:0,xs:1,s:2,m:3,l:4,xl:5,xxl:6};function d(t,e="s"){return h[t]>h[e]}},31081:function(t,e,n){"use strict";n.d(e,{X:function(){return i}});var i=(()=>{return(t=i||(i={})).AD="AD",t.AE="AE",t.AF="AF",t.AG="AG",t.AI="AI",t.AL="AL",t.AM="AM",t.AO="AO",t.AR="AR",t.AT="AT",t.AU="AU",t.AW="AW",t.AZ="AZ",t.BA="BA",t.BB="BB",t.BD="BD",t.BE="BE",t.BF="BF",t.BG="BG",t.BH="BH",t.BI="BI",t.BJ="BJ",t.BL="BL",t.BM="BM",t.BN="BN",t.BO="BO",t.BQ="BQ",t.BR="BR",t.BS="BS",t.BT="BT",t.BW="BW",t.BY="BY",t.BZ="BZ",t.CA="CA",t.CD="CD",t.CF="CF",t.CG="CG",t.CH="CH",t.CI="CI",t.CL="CL",t.CM="CM",t.CN="CN",t.CO="CO",t.CR="CR",t.CU="CU",t.CV="CV",t.CW="CW",t.CY="CY",t.CZ="CZ",t.DE="DE",t.DJ="DJ",t.DK="DK",t.DM="DM",t.DO="DO",t.DZ="DZ",t.EC="EC",t.EE="EE",t.EG="EG",t.ER="ER",t.ES="ES",t.ET="ET",t.FI="FI",t.FJ="FJ",t.FK="FK",t.FM="FM",t.FR="FR",t.GA="GA",t.GB="GB",t.GD="GD",t.GE="GE",t.GF="GF",t.GH="GH",t.GI="GI",t.GL="GL",t.GM="GM",t.GN="GN",t.GP="GP",t.GQ="GQ",t.GR="GR",t.GT="GT",t.GW="GW",t.GY="GY",t.HK="HK",t.HN="HN",t.HR="HR",t.HT="HT",t.HU="HU",t.ID="ID",t.IE="IE",t.IL="IL",t.IN="IN",t.IQ="IQ",t.IR="IR",t.IS="IS",t.IT="IT",t.JM="JM",t.JO="JO",t.JP="JP",t.KE="KE",t.KG="KG",t.KH="KH",t.KM="KM",t.KN="KN",t.KP="KP",t.KR="KR",t.KW="KW",t.KY="KY",t.KZ="KZ",t.LA="LA",t.LB="LB",t.LC="LC",t.LI="LI",t.LK="LK",t.LR="LR",t.LS="LS",t.LT="LT",t.LU="LU",t.LV="LV",t.LY="LY",t.MA="MA",t.MC="MC",t.MD="MD",t.ME="ME",t.MF="MF",t.MG="MG",t.MK="MK",t.ML="ML",t.MM="MM",t.MN="MN",t.MO="MO",t.MQ="MQ",t.MR="MR",t.MS="MS",t.MT="MT",t.MU="MU",t.MV="MV",t.MW="MW",t.MX="MX",t.MY="MY",t.MZ="MZ",t.NA="NA",t.NC="NC",t.NE="NE",t.NG="NG",t.NI="NI",t.NL="NL",t.NO="NO",t.NP="NP",t.NZ="NZ",t.OM="OM",t.PA="PA",t.PE="PE",t.PF="PF",t.PG="PG",t.PH="PH",t.PK="PK",t.PL="PL",t.PT="PT",t.PW="PW",t.PY="PY",t.QA="QA",t.RE="RE",t.RO="RO",t.RS="RS",t.RU="RU",t.RW="RW",t.SA="SA",t.SB="SB",t.SC="SC",t.SD="SD",t.SE="SE",t.SG="SG",t.SH="SH",t.SI="SI",t.SK="SK",t.SL="SL",t.SM="SM",t.SN="SN",t.SO="SO",t.SR="SR",t.ST="ST",t.SV="SV",t.SX="SX",t.SY="SY",t.SZ="SZ",t.TC="TC",t.TD="TD",t.TG="TG",t.TH="TH",t.TJ="TJ",t.TL="TL",t.TM="TM",t.TN="TN",t.TO="TO",t.TR="TR",t.TT="TT",t.TW="TW",t.TZ="TZ",t.UA="UA",t.UG="UG",t.US="US",t.UY="UY",t.UZ="UZ",t.VC="VC",t.VE="VE",t.VG="VG",t.VN="VN",t.VU="VU",t.WS="WS",t.XK="XK",t.YE="YE",t.YT="YT",t.ZA="ZA",t.ZM="ZM",t.ZW="ZW",i;var t})()},47232:function(t,e,n){"use strict";n.d(e,{v:function(){return d}});var i=n(74788),r=n(31081);const o=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({name:"english"},{months:["January","February","March","April","May","June","July","August","September","October","November","December"],close:"Close",nothingFoundMessage:"Nothing found",defaultErrorMessage:"Value is invalid",spinTexts:["Previous","Next"],shortWeekDays:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],countries:{[r.X.AD]:"Andorra",[r.X.AE]:"United Arab Emirates",[r.X.AF]:"Afghanistan",[r.X.AG]:"Antigua and Barbuda",[r.X.BL]:"Saint Barth\xe9lemy",[r.X.AI]:"Anguilla",[r.X.AL]:"Albania",[r.X.AM]:"Armenia",[r.X.AO]:"Angola",[r.X.AR]:"Argentina",[r.X.AT]:"Austria",[r.X.AU]:"Australia",[r.X.AW]:"Aruba",[r.X.AZ]:"Azerbaijan",[r.X.BA]:"Bosnia and Herzegovina",[r.X.BB]:"Barbados",[r.X.BD]:"Bangladesh",[r.X.BE]:"Belgium",[r.X.BF]:"Burkina Faso",[r.X.BG]:"Bulgaria",[r.X.BH]:"Bahrain",[r.X.BI]:"Burundi",[r.X.BJ]:"Benin",[r.X.GF]:"Guyana",[r.X.BM]:"Bermuda",[r.X.BN]:"Brunei Darussalam",[r.X.BO]:"Bolivia",[r.X.BQ]:"Bonaire, Sint Eustatius and Saba",[r.X.BR]:"Brazil",[r.X.BS]:"Bahamas",[r.X.BT]:"Bhutan",[r.X.BW]:"Botswana",[r.X.BY]:"Belarus",[r.X.BZ]:"Belize",[r.X.CA]:"Canada",[r.X.CD]:"Dem. Rep. Congo (Kinshasa)",[r.X.CF]:"Central African Republic",[r.X.CG]:"Congo (Brazzaville)",[r.X.CH]:"Switzerland",[r.X.CI]:"Ivory Coast",[r.X.CL]:"Chile",[r.X.CM]:"Cameroon",[r.X.CN]:"China",[r.X.CO]:"Colombia",[r.X.CR]:"Costa Rica",[r.X.CU]:"Cuba",[r.X.CV]:"Cape Verde",[r.X.CW]:"Cura\xe7ao",[r.X.CY]:"Cyprus",[r.X.CZ]:"Czech Republic",[r.X.DE]:"Germany",[r.X.DJ]:"Djibouti",[r.X.DK]:"Denmark",[r.X.DM]:"Dominica",[r.X.DO]:"Dominican Republic",[r.X.DZ]:"Algeria",[r.X.EC]:"Ecuador",[r.X.EE]:"Estonia",[r.X.EG]:"Egypt",[r.X.ER]:"Eritrea",[r.X.ES]:"Spain",[r.X.ET]:"Ethiopia",[r.X.FI]:"Finland",[r.X.FJ]:"Fiji",[r.X.FK]:"Falkland Islands",[r.X.FM]:"F.S. of Micronesia",[r.X.FR]:"France",[r.X.GA]:"Gabon",[r.X.GB]:"United Kingdom",[r.X.GD]:"Grenada",[r.X.GE]:"Georgia",[r.X.GP]:"Guadeloupe",[r.X.GH]:"Ghana",[r.X.GI]:"Gibraltar",[r.X.GL]:"Greenland",[r.X.GM]:"Gambia",[r.X.GN]:"Guinea",[r.X.MF]:"Saint-Martin",[r.X.GQ]:"Equatorial Guinea",[r.X.GR]:"Greece",[r.X.GT]:"Guatemala",[r.X.GW]:"Guinea-Bissau",[r.X.GY]:"Guyana",[r.X.HK]:"Hong Kong",[r.X.HN]:"Honduras",[r.X.HR]:"Croatia",[r.X.HT]:"Haiti",[r.X.HU]:"Hungary",[r.X.ID]:"Indonesia",[r.X.IE]:"Ireland",[r.X.IL]:"Israel",[r.X.IN]:"India",[r.X.IQ]:"Iraq",[r.X.IR]:"Iran",[r.X.IS]:"Iceland",[r.X.IT]:"Italy",[r.X.JM]:"Jamaica",[r.X.JO]:"Jordan",[r.X.JP]:"Japan",[r.X.KE]:"Kenya",[r.X.KG]:"Kyrgyzstan",[r.X.KH]:"Cambodia",[r.X.KM]:"Comoros",[r.X.KN]:"Saint Kitts and Nevis",[r.X.KP]:"Korean PDR",[r.X.KR]:"Rep. Korea",[r.X.KW]:"Kuwait",[r.X.KY]:"Cayman Islands",[r.X.KZ]:"Kazakhstan",[r.X.LA]:"Laos",[r.X.LB]:"Lebanon",[r.X.LC]:"Saint Lucia",[r.X.LI]:"Liechtenstein",[r.X.LK]:"Sri Lanka",[r.X.LR]:"Liberia",[r.X.LS]:"Lesotho",[r.X.LT]:"Lithuania",[r.X.LU]:"Luxembourg",[r.X.LV]:"Latvia",[r.X.LY]:"Libya",[r.X.MA]:"Morocco",[r.X.MC]:"Monaco",[r.X.MD]:"Moldova",[r.X.ME]:"Montenegro",[r.X.MQ]:"Martinique",[r.X.MG]:"Madagascar",[r.X.MK]:"Rep. of North Macedonia",[r.X.ML]:"Mali",[r.X.MM]:"Burma (Myanmar)",[r.X.MN]:"Mongolia",[r.X.MO]:"Macau",[r.X.RE]:"R\xe9union",[r.X.MR]:"Mauritania",[r.X.MS]:"Montserrat",[r.X.MT]:"Malta",[r.X.MU]:"Mauritius",[r.X.MV]:"Maldives",[r.X.MW]:"Malawi",[r.X.MX]:"Mexico",[r.X.MY]:"Malaysia",[r.X.MZ]:"Mozambique",[r.X.NA]:"Namibia",[r.X.NC]:"New Caledonia",[r.X.NE]:"Niger",[r.X.NG]:"Nigeria",[r.X.NI]:"Nicaragua",[r.X.NL]:"Netherlands",[r.X.NO]:"Norway",[r.X.NP]:"Nepal",[r.X.NZ]:"New Zealand",[r.X.OM]:"Oman",[r.X.PA]:"Panama",[r.X.PE]:"Peru",[r.X.PF]:"French Polynesia (Tahiti)",[r.X.PG]:"Papua New Guinea",[r.X.PH]:"Philippines",[r.X.PK]:"Pakistan",[r.X.PL]:"Poland",[r.X.PT]:"Portugal",[r.X.PW]:"Palau",[r.X.PY]:"Paraguay",[r.X.QA]:"Qatar",[r.X.YT]:"Mayotte",[r.X.RO]:"Romania",[r.X.RS]:"Serbia",[r.X.RU]:"Russia",[r.X.RW]:"Rwanda",[r.X.SA]:"Saudi Arabia",[r.X.SB]:"Solomon Islands",[r.X.SC]:"Seychelles",[r.X.SD]:"Sudan",[r.X.SE]:"Sweden",[r.X.SG]:"Singapore",[r.X.SH]:"Saint Helena",[r.X.SI]:"Slovenia",[r.X.SK]:"Slovakia",[r.X.SL]:"Sierra Leone",[r.X.SM]:"San Marino",[r.X.SN]:"Senegal",[r.X.SO]:"Somalia",[r.X.SR]:"Suriname",[r.X.ST]:"Sao Tome and Principe",[r.X.SV]:"El Salvador",[r.X.SX]:"Sint Maarten",[r.X.SY]:"Syrian Arab Republic",[r.X.SZ]:"Swaziland",[r.X.TC]:"Turks and Caicos",[r.X.TD]:"Chad",[r.X.TG]:"Togo",[r.X.TH]:"Thailand",[r.X.TJ]:"Tajikistan",[r.X.TL]:"East Timor",[r.X.TM]:"Turkmenistan",[r.X.TN]:"Tunisia",[r.X.TO]:"Tonga",[r.X.TR]:"Turkey",[r.X.TT]:"Trinidad and Tobago",[r.X.TW]:"Taiwan",[r.X.TZ]:"Tanzania",[r.X.UA]:"Ukraine",[r.X.UG]:"Uganda",[r.X.US]:"USA",[r.X.UY]:"Uruguay",[r.X.UZ]:"Uzbekistan",[r.X.VC]:"Saint Vincent and the Grenadines",[r.X.VE]:"Venezuela",[r.X.VG]:"British Virgin Islands",[r.X.VN]:"Vietnam",[r.X.VU]:"Vanuatu",[r.X.WS]:"Samoa",[r.X.XK]:"Kosovo",[r.X.YE]:"Yemen",[r.X.ZA]:"South Africa",[r.X.ZM]:"Zambia",[r.X.ZW]:"Zimbabwe"}}),{cancel:"Cancel",done:"Done",more:"More",otherDate:"Other date...",showAll:"Show all",hide:"Hide",mobileCalendarTexts:["Choose day","Choose range"],range:["from","to"],countTexts:["Plus","Minus"],time:{"HH:MM":"HH:MM","HH:MM:SS":"HH:MM:SS","HH:MM:SS.MSS":"HH:MM:SS.MSS"},dateTexts:{DMY:"dd.mm.yyyy",MDY:"mm.dd.yyyy",YMD:"yyyy.mm.dd"},digitalInformationUnits:["B","KiB","MiB"],passwordTexts:["Show password","Hide password"],copyTexts:["Copy","Copied"],shortCalendarMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],pagination:["Previous page","Next page"],fileTexts:{loadingError:"Upload failed",preview:"Preview",remove:"Remove"},inputFileTexts:{defaultLabelSingle:"or drop\xa0it\xa0here",defaultLabelMultiple:"or drop\xa0them\xa0here",defaultLinkSingle:"Choose a file",defaultLinkMultiple:"Choose files",maxSizeRejectionReason:"File is too large ",formatRejectionReason:"Wrong file type",drop:"Drop file here",dropMultiple:"Drop files here"},multiSelectTexts:{all:"Select all",none:"Select none"},prompt:{yes:"Yes",no:"No"}}),{showHideText:"Show/Hide",paginationTexts:{pages:"Pages",linesPerPage:"Lines per page",of:"of"}}),{cardNumber:["Number","Card number"],cardExpiry:["Expires","Valid through"]}),{colorSelectorModeNames:["Solid color","Gradient"],toolbarTools:{undo:"Undo",redo:"Redo",font:"Font",fontStyle:"Font style",fontSize:"Font size",bold:"Bold",italic:"Italic",underline:"Underline",strikeThrough:"Strike through",justify:"Justify",justifyLeft:"Justify left",justifyCenter:"Justify center",justifyRight:"Justify right",justifyFull:"Justify full",list:"List",indent:"Indent",outdent:"Outdent",unorderedList:"Unordered list",orderedList:"Ordered list",quote:"Quote",foreColor:"Color",backColor:"Background color",hiliteColor:"Highlight color",clear:"Clear",link:"Link",attach:"Attach file",tex:"Insert TeX",code:"Code",image:"Insert image",insertHorizontalRule:"Insert horizontal rule",superscript:"Superscript",subscript:"Subscript",insertTable:"Insert table",insertGroup:"Insert group",hiliteGroup:"Hilite group",removeGroup:"Remove group",insertAnchor:"Insert anchor",mergeCells:"Merge cells",splitCells:"Split cells",rowsColumnsManaging:"Managing rows and columns",cellColor:"Cell color",setDetails:"Details",removeDetails:"Remove details"},editorEditLink:{urlExample:"example.com",anchorExample:"anchor"},editorTableCommands:[["Insert column before","Insert column after"],["Insert row before","Insert row after"],["Delete column","Delete row"]],editorCodeOptions:["Code in the text","Code in block"],editorFontOptions:{small:"Small",large:"Large",normal:"Normal",title:"Title",subtitle:"Subtitle"}}),{previewTexts:{rotate:"Rotate"},zoomTexts:{zoomOut:"Zoom out",zoomIn:"Zoom in",reset:"Reset"}});var s=n(25917);const a=new i.OlP("[TUI_DEFAULT_LANGUAGE]",{factory:()=>o}),l=new i.OlP("[TUI_LANGUAGE]",{factory:()=>(0,s.of)((0,i.f3M)(a))});new i.OlP("[TUI_LANGUAGE_LOADER]"),new i.OlP("[TUI_LANGUAGE_STORAGE_KEY]",{factory:()=>"tuiLanguage"});var c=n(95639),u=n(43190),h=n(88002);function d(t){return()=>(0,i.f3M)(l).pipe((0,u.w)(t=>(0,c.b)(t)?t:(0,s.of)(t)),(0,h.U)(e=>e[t]))}},44711:function(t,e,n){"use strict";n.d(e,{p:function(){return T},s:function(){return A}});var i=n(74788),r=n(87862),o=n(76480),s=n(57179),a=n(99434),l=n(11927),c=n(77320),u=n(54789),h=n(91489),d=n(89570);function p(t,e){if(1&t&&i._UZ(0,"tui-svg",2),2&t){const t=e.polymorpheusOutlet,n=i.oxw();i.ekj("t-mark_on",!n.empty),i.Q6J("src",t)}}const f=function(t){return{$implicit:t}},g=["*"],m=(0,l.JN)({size:"m",appearances:{unchecked:c.Nm.Outline,checked:c.Nm.Primary,indeterminate:c.Nm.Primary},icons:{checked:({$implicit:t})=>"m"===t?"tuiIconCheck":"tuiIconCheckLarge",indeterminate:({$implicit:t})=>"m"===t?"tuiIconMinus":"tuiIconMinusLarge"}});let v=(()=>{class t{constructor(t){this.options=t,this.size=this.options.size,this.disabled=!1,this.focused=!1,this.hovered=!1,this.pressed=!1,this.invalid=!1,this.icon=this.options.icons.checked,this.value=!1}set valueSetter(t){!1!==t&&this.setCurrentIcon(t),this.value=t}get appearance(){switch(this.value){case!1:return this.options.appearances.unchecked;case!0:return this.options.appearances.checked;default:return this.options.appearances.indeterminate}}get empty(){return!1===this.value}setCurrentIcon(t){this.icon=null===t?this.options.icons.indeterminate:this.options.icons.checked}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(m))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-primitive-checkbox"]],hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("data-size",e.size)},inputs:{size:"size",disabled:"disabled",focused:"focused",hovered:"hovered",pressed:"pressed",invalid:"invalid",valueSetter:["value","valueSetter"]},ngContentSelectors:g,decls:3,vars:10,consts:[["tuiWrapper","",3,"active","appearance","disabled","focus","hover","invalid"],["class","t-mark",3,"t-mark_on","src",4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-mark",3,"src"]],template:function(t,e){1&t&&(i.F$t(),i.TgZ(0,"div",0),i.YNc(1,p,1,3,"tui-svg",1),i.Hsn(2),i.qZA()),2&t&&(i.Q6J("active",e.pressed)("appearance",e.appearance)("disabled",e.disabled)("focus",e.focused)("hover",e.hovered)("invalid",e.invalid),i.xp6(1),i.Q6J("polymorpheusOutlet",e.icon)("polymorpheusOutletContext",i.VKq(8,f,e.size)))},directives:[h.o,d.Li,u.PN],styles:["[_nghost-%COMP%]{display:block;font-size:0;flex-shrink:0}[data-size=m][_nghost-%COMP%]{width:1rem;height:1rem;border-radius:var(--tui-radius-xs)}[data-size=l][_nghost-%COMP%]{width:1.5rem;height:1.5rem;border-radius:var(--tui-radius-s)}.t-mark[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:block;width:100%;height:100%;transform:scale(0)}.t-mark_on[_ngcontent-%COMP%]{transform:scale(1)}"],changeDetection:0}),t})(),_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[u.EI,h.W,d.wq]]}),t})();var y=n(79456),b=n(12130),w=n(44541),C=n(13633),x=n(75059),k=n(88491),O=n(12057);const M=["focusableElement"];let S=(()=>{class t extends o.F9{constructor(t,e,n){super(t,n),this.options=e,this.size=this.options.size}get nativeFocusableElement(){return!this.focusableElement||this.computedDisabled?null:this.focusableElement.nativeElement}get focused(){return(0,s.V8)(this.nativeFocusableElement)}get computedFocusable(){return this.interactive&&this.focusable}onChecked(t){this.value=t}onFocused(t){this.updateFocused(t)}onFocusVisible(t){this.updateFocusVisible(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(r.a5,10),i.Y36(m),i.Y36(i.sBO))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-checkbox"]],viewQuery:function(t,e){if(1&t&&i.Gf(M,5),2&t){let t;i.iGM(t=i.CRH())&&(e.focusableElement=t.first)}},hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("data-size",e.size)},inputs:{size:"size"},features:[i._Bn([(0,a.FT)(t),(0,o.wB)(t)]),i.qOj],decls:3,vars:11,consts:[[3,"disabled","focused","hovered","invalid","pressed","size","value"],["automation-id","tui-checkbox__native","type","checkbox",1,"t-native",3,"disabled","id","tuiFocusable","tuiChecked","tuiCheckedChange","tuiFocusedChange","tuiFocusVisibleChange"],["focusableElement",""]],template:function(t,e){1&t&&(i.TgZ(0,"tui-primitive-checkbox",0),i.TgZ(1,"input",1,2),i.NdJ("tuiCheckedChange",function(t){return e.value=t})("tuiFocusedChange",function(t){return e.onFocused(t)})("tuiFocusVisibleChange",function(t){return e.onFocusVisible(t)}),i.qZA(),i.qZA()),2&t&&(i.Q6J("disabled",e.disabled)("focused",e.computedFocusVisible)("hovered",e.pseudoHover)("invalid",e.computedInvalid)("pressed",e.pseudoActive)("size",e.size)("value",e.value),i.xp6(1),i.Q6J("disabled",e.disabled)("id",e.id)("tuiFocusable",e.computedFocusable)("tuiChecked",e.value))},directives:[v,w.t,C.t,x.U,k.q],styles:["[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:block;flex-shrink:0}[data-size=m][_nghost-%COMP%]{width:1rem;height:1rem}[data-size=l][_nghost-%COMP%]{width:1.5rem;height:1.5rem}._readonly[_nghost-%COMP%] tui-primitive-checkbox[_ngcontent-%COMP%]{pointer-events:none}.t-native[_ngcontent-%COMP%]{padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.t-native[_ngcontent-%COMP%]:-webkit-autofill, .t-native[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-native[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}"],changeDetection:0}),t})(),P=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[O.ez,w.S,C.u,x.F,k.c,_]]}),t})();const E=["*"];let T=(()=>{class t extends o.F9{constructor(t,e,n,i){super(t,e),this.mode$=n,this.options=i,this.size=this.options.size}get focused(){return(0,s.V8)(this.nativeFocusableElement)}get nativeFocusableElement(){var t,e;return null!==(e=null===(t=this.checkbox)||void 0===t?void 0:t.nativeFocusableElement)&&void 0!==e?e:null}onFocused(t){this.updateFocused(t)}onModelChange(t){this.value=t}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(r.a5,10),i.Y36(i.sBO),i.Y36(y.Au),i.Y36(m))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-checkbox-labeled"]],viewQuery:function(t,e){if(1&t&&i.Gf(S,5),2&t){let t;i.iGM(t=i.CRH())&&(e.checkbox=t.first)}},hostVars:1,hostBindings:function(t,e){1&t&&i.NdJ("$.data-mode.attr",function(){return e.mode$}),2&t&&i.uIk("data-size",e.size)},inputs:{size:"size"},features:[i._Bn([(0,a.FT)(t),(0,o.wB)(t),b.CV]),i.qOj],ngContentSelectors:E,decls:4,vars:12,consts:[[1,"t-wrapper"],[3,"disabled","focusable","nativeId","pseudoActive","pseudoFocus","pseudoHover","pseudoInvalid","readOnly","size","ngModel","ngModelChange","focusedChange"],[1,"t-content"]],template:function(t,e){1&t&&(i.F$t(),i.TgZ(0,"label",0),i.TgZ(1,"tui-checkbox",1),i.NdJ("ngModelChange",function(t){return e.value=t})("focusedChange",function(t){return e.onFocused(t)}),i.qZA(),i.TgZ(2,"div",2),i.Hsn(3),i.qZA(),i.qZA()),2&t&&(i.xp6(1),i.Q6J("disabled",e.computedDisabled)("focusable",e.focusable)("nativeId",e.nativeId)("pseudoActive",e.pseudoActive)("pseudoFocus",e.pseudoFocus)("pseudoHover",e.pseudoHover)("pseudoInvalid",e.computedInvalid)("readOnly",e.readOnly)("size",e.size)("ngModel",e.value),i.xp6(1),i.ekj("t-content_disabled",e.computedDisabled))},directives:[S,r.JJ,r.On],styles:["[_nghost-%COMP%]{position:relative;display:block;line-height:0}._disabled[_nghost-%COMP%], ._readonly[_nghost-%COMP%]{pointer-events:none}.t-wrapper[_ngcontent-%COMP%]{display:inline-flex;max-width:100%;cursor:pointer}._disabled[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{cursor:default}[data-mode=onDark][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{color:var(--tui-text-01-night)}.t-content[_ngcontent-%COMP%]{font:var(--tui-font-text-s);line-height:1rem;word-wrap:break-word;min-width:0}.t-content_disabled[_ngcontent-%COMP%]{opacity:var(--tui-disabled-opacity)}[data-size=m][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{margin-left:.5rem}[data-size=l][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{font:var(--tui-font-text-m);margin-left:.75rem}"],changeDetection:0}),t})(),A=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[O.ez,r.u5,P]]}),t})()},21673:function(t,e,n){"use strict";n.d(e,{K3:function(){return y},wU:function(){return b},Qf:function(){return w}});var i=n(74788),r=n(87862),o=n(221),s=n(76480),a=n(57179),l=n(99434),c=n(23917),u=n(94853),h=n(79588),d=n(75111),p=n(79456),f=n(43631),g=n(93213),m=n(12057);const v=["*",[["input"]]],_=["*","input"];let y=(()=>{class t extends s.M${constructor(t,e,n,i){super(t,e,i),this.textfieldSize=n,this.open=!1}get size(){return this.textfieldSize.size}get nativeFocusableElement(){return this.computedDisabled||!this.textfield?null:this.textfield.nativeFocusableElement}get focused(){return(0,a.V8)(this.nativeFocusableElement)||!!this.hostedDropdown&&this.hostedDropdown.focused}get canOpen(){return this.interactive&&!!this.datalist}onValueChange(t){this.value=t,this.open=!0}onActiveZone(t){this.updateFocused(t)}handleOption(t){this.setNativeValue(String(t)),this.focusInput(),this.value=String(t),this.open=!1}getFallbackValue(){return""}focusInput(t=!1){this.nativeFocusableElement&&this.nativeFocusableElement.focus({preventScroll:t})}setNativeValue(t){this.nativeFocusableElement&&(this.nativeFocusableElement.value=t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(r.a5,10),i.Y36(i.sBO),i.Y36(h.kI),i.Y36(s.FX,8))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-input"]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,d.gX,5,i.Rgc),2&t){let t;i.iGM(t=i.CRH())&&(e.datalist=t.first)}},viewQuery:function(t,e){if(1&t&&(i.Gf(c.o1,5),i.Gf(u.yc,5)),2&t){let t;i.iGM(t=i.CRH())&&(e.hostedDropdown=t.first),i.iGM(t=i.CRH())&&(e.textfield=t.first)}},hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("data-size",e.size)},features:[i._Bn([g.E2,(0,l.FT)(t),(0,p.oE)(t),(0,s.wB)(t)],[g.yn]),i.qOj],ngContentSelectors:_,decls:4,vars:11,consts:[[1,"t-hosted",3,"canOpen","content","open","openChange","tuiActiveZoneChange"],["automation-id","tui-input__textfield",1,"t-textfield",3,"disabled","focusable","invalid","nativeId","pseudoFocus","pseudoHover","readOnly","value","valueChange"]],template:function(t,e){1&t&&(i.F$t(v),i.TgZ(0,"tui-hosted-dropdown",0),i.NdJ("openChange",function(t){return e.open=t})("tuiActiveZoneChange",function(t){return e.onActiveZone(t)}),i.TgZ(1,"tui-primitive-textfield",1),i.NdJ("valueChange",function(t){return e.onValueChange(t)}),i.Hsn(2),i.Hsn(3,1,["ngProjectAs","input",5,["input"]]),i.qZA(),i.qZA()),2&t&&(i.Q6J("canOpen",e.canOpen)("content",e.datalist||"")("open",e.open),i.xp6(1),i.Q6J("disabled",e.computedDisabled)("focusable",e.computedFocusable)("invalid",e.computedInvalid)("nativeId",e.nativeId)("pseudoFocus",e.computedFocused)("pseudoHover",e.pseudoHover)("readOnly",e.readOnly)("value",e.value))},directives:[c.o1,o.e,u.yc,u.B1],styles:["[_nghost-%COMP%]{display:block;border-radius:var(--tui-radius-m);text-align:left}._disabled[_nghost-%COMP%]{pointer-events:none}.t-hosted[_ngcontent-%COMP%]{display:block;border-radius:inherit}.t-textfield[_ngcontent-%COMP%]{border-radius:inherit;text-align:inherit}"],changeDetection:0}),t})(),b=(()=>{class t extends f.D1{onValueChange(t){this.host.onValueChange(t)}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,selectors:[["tui-input"]],features:[i._Bn([(0,p.cp)(t)]),i.qOj]}),t})(),w=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[m.ez,o.A,u.KW,c.jh]]}),t})()},93213:function(t,e,n){"use strict";n.d(e,{yn:function(){return l},E2:function(){return c}});var i=n(74788),r=n(79456);n(88002);var o=n(98952),s=(n(75046),n(25917),n(54487)),a=n(87862);const l=(0,o.fx)({limitWidth:"fixed",align:"right"}),c={provide:r.sE,deps:[[new i.FiY,new i.PiD,a.JU]],useFactory:s.y}},75046:function(t,e,n){"use strict";n.d(e,{UV:function(){return _},Ys:function(){return b},RZ:function(){return w},ue:function(){return v},WO:function(){return C},Z4:function(){return x}});var i=n(74788),r=n(33770),o=n(11927),s=(n(18939),n(36424)),a=n(27788),l=n(85648);const c=12;(0,o.JN)("DMY"),(0,o.JN)(".");class u{constructor(t){this.year=t}static isValidYear(t){return Number.isInteger(t)&&(0,l.wf)(t,0,1e4)}static isLeapYear(t){return t%400==0||t%4==0&&t%100!=0}static getAbsoluteLeapYears(t){return Math.ceil(t/400)+(Math.ceil(t/4)-Math.ceil(t/100))}static lengthBetween(t,e){return e.year-t.year}static normalizeYearPart(t){return(0,l.G1)(t,0,9999)}get formattedYear(){return String(this.year).padStart(4,"0")}get isLeapYear(){return u.isLeapYear(this.year)}get absoluteLeapYears(){return u.getAbsoluteLeapYears(this.year)}yearBefore({year:t}){return this.year=t}yearAfter({year:t}){return this.year>t}append({year:t=0}){return new u(this.year+t)}toString(){return this.formattedYear}valueOf(){return this.year}[Symbol.toPrimitive](t){return Date.prototype[Symbol.toPrimitive].call(this,t)}toJSON(){return this.formattedYear}}class h extends u{constructor(t,e){super(t),this.month=e}static isValidMonth(t,e){return u.isValidYear(t)&&h.isValidMonthPart(e)}static getMonthDaysCount(t,e){switch(t){case s.B.February:return e?29:28;case s.B.April:case s.B.June:case s.B.September:case s.B.November:return 30;default:return 31}}static currentLocal(){const t=new Date;return new h(t.getFullYear(),t.getMonth())}static currentUtc(){const t=new Date;return new h(t.getUTCFullYear(),t.getUTCMonth())}static lengthBetween(t,e){return e.month+12*e.year-(t.month+12*t.year)}static normalizeMonthPart(t){return(0,l.G1)(t,0,11)}static isValidMonthPart(t){return Number.isInteger(t)&&(0,l.wf)(t,0,12)}get formattedMonthPart(){return String(this.month+1).padStart(2,"0")}get daysCount(){return h.getMonthDaysCount(this.month,this.isLeapYear)}monthBefore(t){return this.yearBefore(t)||this.yearSame(t)&&this.month=t.month}monthAfter(t){return this.yearAfter(t)||this.yearSame(t)&&this.month>t.month}append({year:t=0,month:e=0}){const n=(this.year+t)*c+this.month+e;return new h(Math.floor(n/c),n%c)}toString(){return`${this.formattedMonthPart}.${this.formattedYear}`}valueOf(){return this.toLocalNativeDate().valueOf()}toJSON(){return`${super.toJSON()}-${this.formattedMonthPart}`}toLocalNativeDate(){return new Date(this.year,this.month)}toUtcNativeDate(){return new Date(Date.UTC(this.year,this.month))}}class d extends h{constructor(t,e,n){super(t,e),this.day=n}static fromLocalNativeDate(t){return new d(t.getFullYear(),t.getMonth(),t.getDate())}static fromUtcNativeDate(t){return new d(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate())}static isValidDay(t,e,n){return h.isValidMonth(t,e)&&Number.isInteger(n)&&(0,l.wf)(n,1,h.getMonthDaysCount(e,u.isLeapYear(t))+1)}static currentLocal(){const t=new Date,e=t.getFullYear(),n=t.getMonth(),i=t.getDate();return new d(e,n,i)}static currentUtc(){const t=new Date,e=t.getUTCFullYear(),n=t.getUTCMonth(),i=t.getUTCDate();return new d(e,n,i)}static normalizeOf(t,e,n){const i=u.normalizeYearPart(t),r=h.normalizeMonthPart(e),o=d.normalizeDayPart(n,r,i);return new d(i,r,o)}static lengthBetween(t,e){return Math.round((e.toLocalNativeDate().getTime()-t.toLocalNativeDate().getTime())/864e5)}static parseRawDateString(t,e="DMY"){switch(e){case"YMD":return{day:parseInt(t.slice(8,10),10),month:parseInt(t.slice(5,7),10)-1,year:parseInt(t.slice(0,4),10)};case"MDY":return{day:parseInt(t.slice(3,5),10),month:parseInt(t.slice(0,2),10)-1,year:parseInt(t.slice(6,10),10)};default:return{day:parseInt(t.slice(0,2),10),month:parseInt(t.slice(3,5),10)-1,year:parseInt(t.slice(6,10),10)}}}static normalizeParse(t,e="DMY"){const{day:n,month:i,year:r}=this.parseRawDateString(t,e);return d.normalizeOf(r,i,n)}static jsonParse(t){const{day:e,month:n,year:i}=this.parseRawDateString(t,"YMD");if(!u.isValidYear(i))throw new a.JY(i);if(!h.isValidMonth(i,n))throw new a.AM(n);if(!Number.isInteger(e)||!(0,l.wf)(e,1,h.getMonthDaysCount(n,u.isLeapYear(i))+1))throw new a.I4(e);return new d(i,n,e)}static normalizeDayPart(t,e,n){const i=h.getMonthDaysCount(e,u.isLeapYear(n));return(0,l.G1)(t,1,i)}get formattedDayPart(){return String(this.day).padStart(2,"0")}get isWeekend(){const t=this.dayOfWeek(!1);return t===s.L.Saturday||t===s.L.Sunday}dayOfWeek(t=!0){const e=t?this.toLocalNativeDate().getDay()-1:this.toLocalNativeDate().getDay();return e<0?6:e}dayBefore(t){return this.monthBefore(t)||this.monthSame(t)&&this.day=t.day}dayAfter(t){return this.monthAfter(t)||this.monthSame(t)&&this.day>t.day}dayLimit(t,e){return null!==t&&this.dayBefore(t)?t:null!==e&&this.dayAfter(e)?e:this}append({year:t=0,month:e=0,day:n=0}){const i=(this.year+t)*c+this.month+e;let r=Math.floor(i/c),o=i%c,a=Math.min(this.day,h.getMonthDaysCount(o,u.isLeapYear(r)))+n;for(;a>h.getMonthDaysCount(o,u.isLeapYear(r));)a-=h.getMonthDaysCount(o,u.isLeapYear(r)),o===s.B.December?(r++,o=s.B.January):o++;for(;a<1;)o===s.B.January?(r--,o=s.B.December):o--,a+=h.getMonthDaysCount(o,u.isLeapYear(r));return new d(r,o,a)}getFormattedDay(t,e){const n=this.formattedDayPart,i=this.formattedMonthPart,r=this.formattedYear;switch(t){case"YMD":return`${r}${e}${i}${e}${n}`;case"MDY":return`${i}${e}${n}${e}${r}`;default:return`${n}${e}${i}${e}${r}`}}toString(t="DMY",e="."){return this.getFormattedDay(t,e)}toJSON(){return`${super.toJSON()}-${this.formattedDayPart}`}toLocalNativeDate(){return new Date(this.year,this.month,this.day)}toUtcNativeDate(){return new Date(Date.UTC(this.year,this.month,this.day))}}const p=new d(0,0,1),f=new d(9999,11,31);Symbol;var g=n(31081),m=n(47232);new i.OlP("[TUI_CALENDAR_DATE_STREAM]"),(0,o.JN)({[g.X.AD]:"+376###-###",[g.X.AE]:"+971-##-###-####",[g.X.AF]:"+93##-###-####",[g.X.AG]:"+1(268) ###-####",[g.X.AI]:"+1(264) ###-####",[g.X.AL]:"+355(###) ###-###",[g.X.AM]:"+374##-###-###",[g.X.AO]:"+244(###) ###-###",[g.X.AR]:"+54(###) ####-####",[g.X.AT]:"+43(###) ###-####",[g.X.AU]:"+61#-####-####",[g.X.AW]:"+297###-####",[g.X.AZ]:"+994##-###-##-##",[g.X.BA]:"+387 ###-####-##",[g.X.BB]:"+1(246) ###-####",[g.X.BD]:"+880##-###-###",[g.X.BE]:"+32(###) ###-###",[g.X.BF]:"+226##-##-####",[g.X.BG]:"+359(###) ###-###",[g.X.BH]:"+973####-####",[g.X.BI]:"+257##-##-####",[g.X.BJ]:"+229##-##-####",[g.X.BL]:"+590 ## ## ## ## ##",[g.X.BM]:"+1(441) ###-####",[g.X.BN]:"+673###-####",[g.X.BO]:"+591#-###-####",[g.X.BQ]:"+599-###-####",[g.X.BR]:"+55(##) ####-####",[g.X.BS]:"+1(242) ###-####",[g.X.BT]:"+975#-###-###",[g.X.BW]:"+267##-###-###",[g.X.BY]:"+375(##) ###-##-##",[g.X.BZ]:"+501###-####",[g.X.CA]:"+1(###) ###-####",[g.X.CD]:"+243(###) ###-###",[g.X.CF]:"+236-##-##-####",[g.X.CG]:"+242##-###-####",[g.X.CH]:"+41##-###-####",[g.X.CI]:"+225##-##-###-###",[g.X.CL]:"+56#-####-####",[g.X.CM]:"+237#####-####",[g.X.CN]:"+86(###) ####-####",[g.X.CO]:"+57(###) ###-####",[g.X.CR]:"+506####-####",[g.X.CU]:"+53#-###-####",[g.X.CV]:"+238(###) ##-##",[g.X.CW]:"+5999-###-####",[g.X.CY]:"+357##-###-###",[g.X.CZ]:"+420(###) ###-###",[g.X.DE]:"+49(###) ###-###-##",[g.X.DJ]:"+253##-##-##-##",[g.X.DK]:"+45##-##-##-##",[g.X.DM]:"+1(767) ###-####",[g.X.DO]:"+1(###) ###-####",[g.X.DZ]:"+213##-###-####",[g.X.EC]:"+593##-###-####",[g.X.EE]:"+372####-####",[g.X.EG]:"+20(###) ###-####",[g.X.ER]:"+291#-###-###",[g.X.ES]:"+34(###) ###-###",[g.X.ET]:"+251##-###-####",[g.X.FI]:"+358(###) ###-##-##",[g.X.FJ]:"+679##-#####",[g.X.FK]:"+500#####",[g.X.FM]:"+691###-####",[g.X.FR]:"+33 ## ## ## ## ##",[g.X.GA]:"+241##-##-##-##",[g.X.GB]:"+44##-####-####",[g.X.GD]:"+1(473) ###-####",[g.X.GE]:"+995(###) ###-###",[g.X.GF]:"+594 ## ## ## ## ##",[g.X.GH]:"+233(###) ###-###",[g.X.GI]:"+350###-#####",[g.X.GL]:"+299##-##-##",[g.X.GM]:"+220(###) ##-##",[g.X.GN]:"+224##-###-###",[g.X.GP]:"+590 ## ## ## ## ##",[g.X.GQ]:"+240##-###-####",[g.X.GR]:"+30(###) ###-####",[g.X.GT]:"+502#-###-####",[g.X.GW]:"+245#-######",[g.X.GY]:"+592###-####",[g.X.HK]:"+852####-####",[g.X.HN]:"+504####-####",[g.X.HR]:"+385##-###-####",[g.X.HT]:"+509##-##-####",[g.X.HU]:"+36(###) ###-###",[g.X.ID]:"+62(###) ###-##-###",[g.X.IE]:"+353(###) ###-###",[g.X.IL]:"+972##-###-####",[g.X.IN]:"+91(####) ###-###",[g.X.IQ]:"+964(###) ###-####",[g.X.IR]:"+98(###) ###-####",[g.X.IS]:"+354###-####",[g.X.IT]:"+39(###) ####-###",[g.X.JM]:"+1(876) ###-####",[g.X.JO]:"+962#-####-####",[g.X.JP]:"+81-##-####-####",[g.X.KE]:"+254###-######",[g.X.KG]:"+996(###) ###-###",[g.X.KH]:"+855##-###-###",[g.X.KM]:"+269##-#####",[g.X.KN]:"+1(869) ###-####",[g.X.KP]:"+850####-#############",[g.X.KR]:"+82##-###-####",[g.X.KW]:"+965####-####",[g.X.KY]:"+1(345) ###-####",[g.X.KZ]:"+7(###) ###-##-##",[g.X.LA]:"+856##-##-###-###",[g.X.LB]:"+961##-###-###",[g.X.LC]:"+1(758) ###-####",[g.X.LI]:"+423(###) ###-####",[g.X.LK]:"+94##-###-####",[g.X.LR]:"+231##-###-###",[g.X.LS]:"+266#-###-####",[g.X.LT]:"+370(###) ##-###",[g.X.LU]:"+352(###) ###-###",[g.X.LV]:"+371##-###-###",[g.X.LY]:"+218##-###-####",[g.X.MA]:"+212##-####-###",[g.X.MC]:"+377###-###-###",[g.X.MD]:"+373####-####",[g.X.ME]:"+382##-###-###",[g.X.MF]:"+590 ## ## ## ## ##",[g.X.MG]:"+261##-##-#####",[g.X.MK]:"+389##-###-###",[g.X.ML]:"+223##-##-####",[g.X.MM]:"+95##-###-###",[g.X.MN]:"+976##-##-####",[g.X.MO]:"+853####-####",[g.X.MQ]:"+596 ## ## ## ## ##",[g.X.MR]:"+222##-##-####",[g.X.MS]:"+1(664) ###-####",[g.X.MT]:"+356####-####",[g.X.MU]:"+230####-####",[g.X.MV]:"+960###-####",[g.X.MW]:"+265#-####-####",[g.X.MX]:"+52(###) ###-####",[g.X.MY]:"+60(###) ###-###",[g.X.MZ]:"+258##-###-###",[g.X.NA]:"+264##-###-####",[g.X.NC]:"+687 ### ###",[g.X.NE]:"+227##-##-####",[g.X.NG]:"+234(###) ###-####",[g.X.NI]:"+505####-####",[g.X.NL]:"+31##-###-####",[g.X.NO]:"+47(###) ##-###",[g.X.NP]:"+977##-###-###",[g.X.NZ]:"+64(###) ###-####",[g.X.OM]:"+968##-###-###",[g.X.PA]:"+507###-####",[g.X.PE]:"+51(###) ###-###",[g.X.PF]:"+689 ## ## ## ##",[g.X.PG]:"+675(###) ##-###",[g.X.PH]:"+63(###) ###-####",[g.X.PK]:"+92(###) ###-####",[g.X.PL]:"+48(###) ###-###",[g.X.PT]:"+351##-###-####",[g.X.PW]:"+680###-####",[g.X.PY]:"+595(###) ###-###",[g.X.QA]:"+974####-####",[g.X.RE]:"+262 ## ## ## ## ##",[g.X.RO]:"+40##-###-####",[g.X.RS]:"+381##-###-####",[g.X.RU]:"+7### ###-##-##",[g.X.RW]:"+250(###) ###-###",[g.X.SA]:"+966#-####-####",[g.X.SB]:"+677###-####",[g.X.SC]:"+248#-###-###",[g.X.SD]:"+249##-###-####",[g.X.SE]:"+46##-###-####",[g.X.SG]:"+65####-####",[g.X.SH]:"+290####",[g.X.SI]:"+386##-###-###",[g.X.SK]:"+421(###) ###-###",[g.X.SL]:"+232##-######",[g.X.SM]:"+378####-######",[g.X.SN]:"+221##-###-####",[g.X.SO]:"+252##-###-###",[g.X.SR]:"+597###-####",[g.X.ST]:"+239##-#####",[g.X.SV]:"+503##-##-####",[g.X.SX]:"+1(721) ###-####",[g.X.SY]:"+963##-####-###",[g.X.SZ]:"+268##-##-####",[g.X.TC]:"+1(649) ###-####",[g.X.TD]:"+235##-##-##-##",[g.X.TG]:"+228##-###-###",[g.X.TH]:"+66##-###-####",[g.X.TJ]:"+992##-###-####",[g.X.TL]:"+670###-#####",[g.X.TM]:"+993#-###-####",[g.X.TN]:"+216##-###-###",[g.X.TO]:"+676#####",[g.X.TR]:"+90(###) ###-####",[g.X.TT]:"+1(868) ###-####",[g.X.TW]:"+886#-####-####",[g.X.TZ]:"+255##-###-####",[g.X.UA]:"+380(##) ###-##-##",[g.X.UG]:"+256(###) ###-###",[g.X.US]:"+1(###) ###-####",[g.X.UY]:"+598#-###-##-##",[g.X.UZ]:"+998##-###-####",[g.X.VC]:"+1(784) ###-####",[g.X.VE]:"+58(###) ###-####",[g.X.VG]:"+1(284)###-####",[g.X.VN]:"+84(###) ####-###",[g.X.VU]:"+678##-#####",[g.X.WS]:"+685##-####",[g.X.XK]:"+383##-###-###",[g.X.YE]:"+967###-###-###",[g.X.YT]:"+262 ## ## ## ## ##",[g.X.ZA]:"+27##-###-####",[g.X.ZM]:"+260##-###-####",[g.X.ZW]:"+263#-######"}),new i.OlP("[TUI_DATE_VALUE_TRANSFORMER]"),new i.OlP("[TUI_DATE_RANGE_VALUE_TRANSFORMER]"),new i.OlP("[TUI_DATE_TIME_VALUE_TRANSFORMER]"),(0,o.N1)((0,m.v)("prompt")),(0,o.N1)((0,m.v)("cancel")),(0,o.N1)((0,m.v)("done"));const v=(0,o.N1)((0,m.v)("more")),_=((0,o.N1)((0,m.v)("hide")),(0,o.N1)((0,m.v)("showAll")),(0,o.N1)((0,m.v)("otherDate")),(0,o.N1)((0,m.v)("mobileCalendarTexts")),(0,o.N1)((0,m.v)("range")),(0,o.N1)((0,m.v)("countTexts")),(0,o.N1)((0,m.v)("time")),(0,o.N1)((0,m.v)("dateTexts")),(0,o.N1)((0,m.v)("digitalInformationUnits")),(0,o.N1)((0,m.v)("copyTexts"))),y=((0,o.N1)((0,m.v)("passwordTexts")),(0,o.N1)((0,m.v)("shortCalendarMonths")),(0,o.N1)((0,m.v)("fileTexts")),(0,o.N1)((0,m.v)("pagination")),(0,o.N1)((0,m.v)("inputFileTexts")),(0,o.N1)((0,m.v)("multiSelectTexts")),(0,o.N1)((0,m.v)("countries")),{icon:({$implicit:t})=>"s"===t?"tuiIconCalendar":"tuiIconCalendarLarge",min:p,max:f,nativePicker:!1});(0,o.JN)(y);const b=(0,o.JN)({stringify:r.yZ,identityMatcher:r.bg,disabledItemHandler:r.Iy});new i.OlP("[TUI_MOBILE_CALENDAR]");const w=new i.OlP("[TUI_MONTH_FORMATTER]"),C=(0,o.JN)(24),x=(0,o.JN)({})},11557:function(t,e,n){"use strict";n.d(e,{X1:function(){return C},Gt:function(){return w},uX:function(){return b}});var i=n(91211),r=n(74788),o=n(59193),s=n(22416),a=n(41439),l=n(77393);class c{constructor(t,e){this.predicate=t,this.inclusive=e}call(t,e){return e.subscribe(new u(t,this.predicate,this.inclusive))}}class u extends l.L{constructor(t,e,n){super(t),this.predicate=e,this.inclusive=n,this.index=0}_next(t){const e=this.destination;let n;try{n=this.predicate(t,this.index++)}catch(i){return void e.error(i)}this.nextOrComplete(t,n)}nextOrComplete(t,e){const n=this.destination;Boolean(e)?n.next(t):(this.inclusive&&n.next(t),n.complete())}}class h{supports(t){return t.includes(this.modifier)}addGlobalEventListener(){return()=>{}}unwrap(t){return t.split(".").filter(t=>!this.modifier.includes(t)).join(".")}}let d=(()=>{class t extends h{constructor(){super(...arguments),this.modifier="$"}addEventListener(t,e){t[e]=t[e]||o.E;const n=this.getMethod(t,e),i=this.manager.getZone().onStable,r=(0,s.z)(i.pipe(function(t,e=!1){return n=>n.lift(new c(t,e))}(()=>t[e]===o.E)),(0,a.P)(()=>t[e])).subscribe(n);return()=>r.unsubscribe()}getMethod(t,e){const[,n,i,r=""]=e.split(".");return e.endsWith(".attr")?e=>null===e?t.removeAttribute(n):t.setAttribute(n,String(e)):"class"===n?e=>t.classList.toggle(i,!!e):"style"===n?e=>t.style.setProperty(function(t){return t.replace(/[a-z][A-Z]/g,t=>`${t[0]}-${t[1].toLowerCase()}`)}(i),`${e}${r}`):e=>t[n]=e}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),p=(()=>{class t extends h{constructor(){super(...arguments),this.modifier="capture.once.passive"}supports(t){return t.includes(".")&&!this.unwrap(t).includes(".")}addEventListener(t,e,n){return t.addEventListener(this.unwrap(e),n,{once:e.includes(".once"),passive:e.includes(".passive"),capture:e.includes(".capture")}),()=>t.removeEventListener(this.unwrap(e),n)}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),f=(()=>{class t extends h{constructor(){super(...arguments),this.modifier=".prevent"}addEventListener(t,e,n){return this.manager.addEventListener(t,this.unwrap(e),t=>{t.preventDefault(),n(t)})}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),g=(()=>{class t extends h{constructor(){super(...arguments),this.modifier=".self"}addEventListener(t,e,n){return this.manager.addEventListener(t,this.unwrap(e),t=>{t.target===t.currentTarget&&n(t)})}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),m=(()=>{class t extends h{constructor(){super(...arguments),this.modifier=".silent"}addEventListener(e,n,i){return t.ngZone=this.manager.getZone(),t.ngZone.runOutsideAngular(()=>this.manager.addEventListener(e,this.unwrap(n),i))}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),v=(()=>{class t extends h{constructor(){super(...arguments),this.modifier=".stop"}addEventListener(t,e,n){return this.manager.addEventListener(t,this.unwrap(e),t=>{t.stopPropagation(),n(t)})}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),_=(()=>{class t extends h{constructor(){super(...arguments),this.modifier=".init"}addEventListener(){return console.warn(".init plugin is no longer necessary as of v3.1.0"),()=>{}}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();const y=[m,d,p,f,g,v,_].map(t=>({provide:i.s3,multi:!0,useClass:t}));function b(t){return(e,n,i)=>{const{value:r}=i;i.value=function(...e){!t.apply(this,e)||(m.ngZone?m.ngZone.run(()=>r.apply(this,e)):r.apply(this,e))}}}function w(t){return t}let C=(()=>{class t{constructor([e]){console.assert(!(e instanceof m)||t.initialized,"EventPluginsModule must come after BrowserModule in imports"),t.initialized=!0}}return t.initialized=!1,t.\u0275fac=function(e){return new(e||t)(r.LFG(i.s3))},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:y}),t})()},89570:function(t,e,n){"use strict";n.d(e,{yf:function(){return r},Al:function(){return o},wq:function(){return h},Li:function(){return l},GL:function(){return s}});var i=n(74788);const r=new i.OlP("POLYMORPHEUS_CONTEXT");class o{constructor(t,e){this.component=t,this.i=e}createInjector(t,e){return i.zs3.create({parent:this.i||t,providers:[{provide:r,useValue:e}]})}}let s=(()=>{class t{constructor(t,e){this.template=t,this.cdr=e,this.polymorpheus=""}check(){this.cdr.markForCheck()}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.Rgc,2),i.Y36(i.sBO))},t.\u0275dir=i.lG2({type:t,selectors:[["ng-template","polymorpheus",""]],inputs:{polymorpheus:"polymorpheus"},exportAs:["polymorpheus"]}),t})();class a{constructor(t){this.$implicit=t}get polymorpheusOutlet(){return this.$implicit}}let l=(()=>{class t{constructor(t,e,n){this.vcr=t,this.i=e,this.t=n,this.content=""}get template(){return c(this.content)?this.content.template:this.content instanceof i.Rgc?this.content:this.t}ngOnChanges({content:t}){var e;const n=this.getContext();this.v&&(this.v.context=n),null===(e=this.c)||void 0===e||e.injector.get(i.sBO).markForCheck(),t&&(this.vcr.clear(),u(this.content)?this.process(this.content):null!=(n instanceof a&&n.$implicit)&&(this.v=this.vcr.createEmbeddedView(this.template,n)))}ngDoCheck(){c(this.content)&&this.content.check()}static ngTemplateContextGuard(t,e){return!0}getContext(){return function(t){return c(t)||t instanceof i.Rgc}(this.content)||u(this.content)?this.context:new a("function"==typeof this.content?this.content(this.context):this.content)}process(t){const e=t.createInjector(this.i,this.context&&new Proxy(this.context,{get:(t,e)=>{var n;return null===(n=this.context)||void 0===n?void 0:n[e]}}));this.c=this.vcr.createComponent(e.get(i._Vd).resolveComponentFactory(t.component),0,e)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.zs3),i.Y36(i.Rgc))},t.\u0275dir=i.lG2({type:t,selectors:[["","polymorpheusOutlet",""]],inputs:{content:["polymorpheusOutlet","content"],context:["polymorpheusOutletContext","context"]},features:[i.TTD]}),t})();function c(t){return t instanceof s}function u(t){return t instanceof o}let h=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},23358:function(t){t.exports=function(){"use strict";const{entries:t,setPrototypeOf:e,isFrozen:n,getPrototypeOf:i,getOwnPropertyDescriptor:r}=Object;let{freeze:o,seal:s,create:a}=Object,{apply:l,construct:c}="undefined"!=typeof Reflect&&Reflect;o||(o=function(t){return t}),s||(s=function(t){return t}),l||(l=function(t,e,n){return t.apply(e,n)}),c||(c=function(t,e){return new t(...e)});const u=C(Array.prototype.forEach),h=C(Array.prototype.pop),d=C(Array.prototype.push),p=C(String.prototype.toLowerCase),f=C(String.prototype.toString),g=C(String.prototype.match),m=C(String.prototype.replace),v=C(String.prototype.indexOf),_=C(String.prototype.trim),y=C(RegExp.prototype.test),b=(w=TypeError,function(){for(var t=arguments.length,e=new Array(t),n=0;n1?n-1:0),r=1;r2&&void 0!==arguments[2]?arguments[2]:p;e&&e(t,null);let o=i.length;for(;o--;){let e=i[o];if("string"==typeof e){const t=r(e);t!==e&&(n(i)||(i[o]=t),e=t)}t[e]=!0}return t}function k(e){const n=a(null);for(const[i,o]of t(e))void 0!==r(e,i)&&(n[i]=o);return n}function O(t,e){for(;null!==t;){const n=r(t,e);if(n){if(n.get)return C(n.get);if("function"==typeof n.value)return C(n.value)}t=i(t)}return function(t){return console.warn("fallback value for",t),null}}const M=o(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),S=o(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),P=o(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),E=o(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),T=o(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),A=o(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),I=o(["#text"]),D=o(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),N=o(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),L=o(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),z=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),F=s(/\{\{[\w\W]*|[\w\W]*\}\}/gm),R=s(/<%[\w\W]*|[\w\W]*%>/gm),j=s(/\${[\w\W]*}/gm),B=s(/^data-[\-\w.\u00B7-\uFFFF]/),V=s(/^aria-[\-\w]+$/),$=s(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Y=s(/^(?:\w+script|data):/i),Z=s(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),q=s(/^html$/i);var U=Object.freeze({__proto__:null,MUSTACHE_EXPR:F,ERB_EXPR:R,TMPLIT_EXPR:j,DATA_ATTR:B,ARIA_ATTR:V,IS_ALLOWED_URI:$,IS_SCRIPT_OR_DATA:Y,ATTR_WHITESPACE:Z,DOCTYPE_NAME:q});const H=function(){return"undefined"==typeof window?null:window},G=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let n=null;const i="data-tt-policy-suffix";e&&e.hasAttribute(i)&&(n=e.getAttribute(i));const r="dompurify"+(n?"#"+n:"");try{return t.createPolicy(r,{createHTML:t=>t,createScriptURL:t=>t})}catch(o){return console.warn("TrustedTypes policy "+r+" could not be created."),null}};return function e(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:H();const i=t=>e(t);if(i.version="3.0.6",i.removed=[],!n||!n.document||9!==n.document.nodeType)return i.isSupported=!1,i;let{document:r}=n;const s=r,l=s.currentScript,{DocumentFragment:c,HTMLTemplateElement:w,Node:C,Element:F,NodeFilter:R,NamedNodeMap:j=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:B,DOMParser:V,trustedTypes:Y}=n,Z=F.prototype,J=O(Z,"cloneNode"),X=O(Z,"nextSibling"),Q=O(Z,"childNodes"),W=O(Z,"parentNode");if("function"==typeof w){const t=r.createElement("template");t.content&&t.content.ownerDocument&&(r=t.content.ownerDocument)}let K,tt="";const{implementation:et,createNodeIterator:nt,createDocumentFragment:it,getElementsByTagName:rt}=r,{importNode:ot}=s;let st={};i.isSupported="function"==typeof t&&"function"==typeof W&&et&&void 0!==et.createHTMLDocument;const{MUSTACHE_EXPR:at,ERB_EXPR:lt,TMPLIT_EXPR:ct,DATA_ATTR:ut,ARIA_ATTR:ht,IS_SCRIPT_OR_DATA:dt,ATTR_WHITESPACE:pt}=U;let{IS_ALLOWED_URI:ft}=U,gt=null;const mt=x({},[...M,...S,...P,...T,...I]);let vt=null;const _t=x({},[...D,...N,...L,...z]);let yt=Object.seal(a(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),bt=null,wt=null,Ct=!0,xt=!0,kt=!1,Ot=!0,Mt=!1,St=!1,Pt=!1,Et=!1,Tt=!1,At=!1,It=!1,Dt=!0,Nt=!1;const Lt="user-content-";let zt=!0,Ft=!1,Rt={},jt=null;const Bt=x({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Vt=null;const $t=x({},["audio","video","img","source","image","track"]);let Yt=null;const Zt=x({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),qt="http://www.w3.org/1998/Math/MathML",Ut="http://www.w3.org/2000/svg",Ht="http://www.w3.org/1999/xhtml";let Gt=Ht,Jt=!1,Xt=null;const Qt=x({},[qt,Ut,Ht],f);let Wt=null;const Kt=["application/xhtml+xml","text/html"],te="text/html";let ee=null,ne=null;const ie=r.createElement("form"),re=function(t){return t instanceof RegExp||t instanceof Function},oe=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ne||ne!==t){if((!t||"object"!=typeof t)&&(t={}),t=k(t),Wt=Wt=-1===Kt.indexOf(t.PARSER_MEDIA_TYPE)?te:t.PARSER_MEDIA_TYPE,ee="application/xhtml+xml"===Wt?f:p,gt="ALLOWED_TAGS"in t?x({},t.ALLOWED_TAGS,ee):mt,vt="ALLOWED_ATTR"in t?x({},t.ALLOWED_ATTR,ee):_t,Xt="ALLOWED_NAMESPACES"in t?x({},t.ALLOWED_NAMESPACES,f):Qt,Yt="ADD_URI_SAFE_ATTR"in t?x(k(Zt),t.ADD_URI_SAFE_ATTR,ee):Zt,Vt="ADD_DATA_URI_TAGS"in t?x(k($t),t.ADD_DATA_URI_TAGS,ee):$t,jt="FORBID_CONTENTS"in t?x({},t.FORBID_CONTENTS,ee):Bt,bt="FORBID_TAGS"in t?x({},t.FORBID_TAGS,ee):{},wt="FORBID_ATTR"in t?x({},t.FORBID_ATTR,ee):{},Rt="USE_PROFILES"in t&&t.USE_PROFILES,Ct=!1!==t.ALLOW_ARIA_ATTR,xt=!1!==t.ALLOW_DATA_ATTR,kt=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Ot=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,Mt=t.SAFE_FOR_TEMPLATES||!1,St=t.WHOLE_DOCUMENT||!1,Tt=t.RETURN_DOM||!1,At=t.RETURN_DOM_FRAGMENT||!1,It=t.RETURN_TRUSTED_TYPE||!1,Et=t.FORCE_BODY||!1,Dt=!1!==t.SANITIZE_DOM,Nt=t.SANITIZE_NAMED_PROPS||!1,zt=!1!==t.KEEP_CONTENT,Ft=t.IN_PLACE||!1,ft=t.ALLOWED_URI_REGEXP||$,Gt=t.NAMESPACE||Ht,yt=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&re(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(yt.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&re(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(yt.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(yt.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Mt&&(xt=!1),At&&(Tt=!0),Rt&&(gt=x({},[...I]),vt=[],!0===Rt.html&&(x(gt,M),x(vt,D)),!0===Rt.svg&&(x(gt,S),x(vt,N),x(vt,z)),!0===Rt.svgFilters&&(x(gt,P),x(vt,N),x(vt,z)),!0===Rt.mathMl&&(x(gt,T),x(vt,L),x(vt,z))),t.ADD_TAGS&&(gt===mt&&(gt=k(gt)),x(gt,t.ADD_TAGS,ee)),t.ADD_ATTR&&(vt===_t&&(vt=k(vt)),x(vt,t.ADD_ATTR,ee)),t.ADD_URI_SAFE_ATTR&&x(Yt,t.ADD_URI_SAFE_ATTR,ee),t.FORBID_CONTENTS&&(jt===Bt&&(jt=k(jt)),x(jt,t.FORBID_CONTENTS,ee)),zt&&(gt["#text"]=!0),St&&x(gt,["html","head","body"]),gt.table&&(x(gt,["tbody"]),delete bt.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw b('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw b('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');K=t.TRUSTED_TYPES_POLICY,tt=K.createHTML("")}else void 0===K&&(K=G(Y,l)),null!==K&&"string"==typeof tt&&(tt=K.createHTML(""));o&&o(t),ne=t}},se=x({},["mi","mo","mn","ms","mtext"]),ae=x({},["foreignobject","desc","title","annotation-xml"]),le=x({},["title","style","font","a","script"]),ce=x({},S);x(ce,P),x(ce,E);const ue=x({},T);x(ue,A);const he=function(t){let e=W(t);(!e||!e.tagName)&&(e={namespaceURI:Gt,tagName:"template"});const n=p(t.tagName),i=p(e.tagName);return!!Xt[t.namespaceURI]&&(t.namespaceURI===Ut?e.namespaceURI===Ht?"svg"===n:e.namespaceURI===qt?"svg"===n&&("annotation-xml"===i||se[i]):Boolean(ce[n]):t.namespaceURI===qt?e.namespaceURI===Ht?"math"===n:e.namespaceURI===Ut?"math"===n&&ae[i]:Boolean(ue[n]):t.namespaceURI===Ht?!(e.namespaceURI===Ut&&!ae[i]||e.namespaceURI===qt&&!se[i])&&!ue[n]&&(le[n]||!ce[n]):!("application/xhtml+xml"!==Wt||!Xt[t.namespaceURI]))},de=function(t){d(i.removed,{element:t});try{t.parentNode.removeChild(t)}catch(e){t.remove()}},pe=function(t,e){try{d(i.removed,{attribute:e.getAttributeNode(t),from:e})}catch(n){d(i.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!vt[t])if(Tt||At)try{de(e)}catch(n){}else try{e.setAttribute(t,"")}catch(n){}},fe=function(t){let e=null,n=null;if(Et)t=""+t;else{const e=g(t,/^[\r\n\t ]+/);n=e&&e[0]}"application/xhtml+xml"===Wt&&Gt===Ht&&(t=''+t+"");const i=K?K.createHTML(t):t;if(Gt===Ht)try{e=(new V).parseFromString(i,Wt)}catch(s){}if(!e||!e.documentElement){e=et.createDocument(Gt,"template",null);try{e.documentElement.innerHTML=Jt?tt:i}catch(s){}}const o=e.body||e.documentElement;return t&&n&&o.insertBefore(r.createTextNode(n),o.childNodes[0]||null),Gt===Ht?rt.call(e,St?"html":"body")[0]:St?e.documentElement:o},ge=function(t){return nt.call(t.ownerDocument||t,t,R.SHOW_ELEMENT|R.SHOW_COMMENT|R.SHOW_TEXT,null)},me=function(t){return t instanceof B&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof j)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},ve=function(t){return"function"==typeof C&&t instanceof C},_e=function(t,e,n){!st[t]||u(st[t],t=>{t.call(i,e,n,ne)})},ye=function(t){let e=null;if(_e("beforeSanitizeElements",t,null),me(t))return de(t),!0;const n=ee(t.nodeName);if(_e("uponSanitizeElement",t,{tagName:n,allowedTags:gt}),t.hasChildNodes()&&!ve(t.firstElementChild)&&y(/<[/\w]/g,t.innerHTML)&&y(/<[/\w]/g,t.textContent))return de(t),!0;if(!gt[n]||bt[n]){if(!bt[n]&&we(n)&&(yt.tagNameCheck instanceof RegExp&&y(yt.tagNameCheck,n)||yt.tagNameCheck instanceof Function&&yt.tagNameCheck(n)))return!1;if(zt&&!jt[n]){const e=W(t)||t.parentNode,n=Q(t)||t.childNodes;if(n&&e)for(let i=n.length-1;i>=0;--i)e.insertBefore(J(n[i],!0),X(t))}return de(t),!0}return t instanceof F&&!he(t)||("noscript"===n||"noembed"===n||"noframes"===n)&&y(/<\/no(script|embed|frames)/i,t.innerHTML)?(de(t),!0):(Mt&&3===t.nodeType&&(e=t.textContent,u([at,lt,ct],t=>{e=m(e,t," ")}),t.textContent!==e&&(d(i.removed,{element:t.cloneNode()}),t.textContent=e)),_e("afterSanitizeElements",t,null),!1)},be=function(t,e,n){if(Dt&&("id"===e||"name"===e)&&(n in r||n in ie))return!1;if((!xt||wt[e]||!y(ut,e))&&(!Ct||!y(ht,e)))if(!vt[e]||wt[e]){if(!(we(t)&&(yt.tagNameCheck instanceof RegExp&&y(yt.tagNameCheck,t)||yt.tagNameCheck instanceof Function&&yt.tagNameCheck(t))&&(yt.attributeNameCheck instanceof RegExp&&y(yt.attributeNameCheck,e)||yt.attributeNameCheck instanceof Function&&yt.attributeNameCheck(e))||"is"===e&&yt.allowCustomizedBuiltInElements&&(yt.tagNameCheck instanceof RegExp&&y(yt.tagNameCheck,n)||yt.tagNameCheck instanceof Function&&yt.tagNameCheck(n))))return!1}else if(!Yt[e]&&!y(ft,m(n,pt,""))&&("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==v(n,"data:")||!Vt[t])&&(!kt||y(dt,m(n,pt,"")))&&n)return!1;return!0},we=function(t){return t.indexOf("-")>0},Ce=function(t){_e("beforeSanitizeAttributes",t,null);const{attributes:e}=t;if(!e)return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:vt};let r=e.length;for(;r--;){const s=e[r],{name:a,namespaceURI:l,value:c}=s,d=ee(a);let p="value"===a?c:_(c);if(n.attrName=d,n.attrValue=p,n.keepAttr=!0,n.forceKeepAttr=void 0,_e("uponSanitizeAttribute",t,n),p=n.attrValue,n.forceKeepAttr||(pe(a,t),!n.keepAttr))continue;if(!Ot&&y(/\/>/i,p)){pe(a,t);continue}Mt&&u([at,lt,ct],t=>{p=m(p,t," ")});const f=ee(t.nodeName);if(be(f,d,p)){if(Nt&&("id"===d||"name"===d)&&(pe(a,t),p=Lt+p),K&&"object"==typeof Y&&"function"==typeof Y.getAttributeType&&!l)switch(Y.getAttributeType(f,d)){case"TrustedHTML":p=K.createHTML(p);break;case"TrustedScriptURL":p=K.createScriptURL(p)}try{l?t.setAttributeNS(l,a,p):t.setAttribute(a,p),h(i.removed)}catch(o){}}}_e("afterSanitizeAttributes",t,null)},xe=function t(e){let n=null;const i=ge(e);for(_e("beforeSanitizeShadowDOM",e,null);n=i.nextNode();)_e("uponSanitizeShadowNode",n,null),!ye(n)&&(n.content instanceof c&&t(n.content),Ce(n));_e("afterSanitizeShadowDOM",e,null)};return i.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,r=null,o=null,a=null;if(Jt=!t,Jt&&(t="\x3c!--\x3e"),"string"!=typeof t&&!ve(t)){if("function"!=typeof t.toString)throw b("toString is not a function");if("string"!=typeof(t=t.toString()))throw b("dirty is not a string, aborting")}if(!i.isSupported)return t;if(Pt||oe(e),i.removed=[],"string"==typeof t&&(Ft=!1),Ft){if(t.nodeName){const e=ee(t.nodeName);if(!gt[e]||bt[e])throw b("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof C)n=fe("\x3c!----\x3e"),r=n.ownerDocument.importNode(t,!0),1===r.nodeType&&"BODY"===r.nodeName||"HTML"===r.nodeName?n=r:n.appendChild(r);else{if(!Tt&&!Mt&&!St&&-1===t.indexOf("<"))return K&&It?K.createHTML(t):t;if(n=fe(t),!n)return Tt?null:It?tt:""}n&&Et&&de(n.firstChild);const l=ge(Ft?t:n);for(;o=l.nextNode();)ye(o)||(o.content instanceof c&&xe(o.content),Ce(o));if(Ft)return t;if(Tt){if(At)for(a=it.call(n.ownerDocument);n.firstChild;)a.appendChild(n.firstChild);else a=n;return(vt.shadowroot||vt.shadowrootmode)&&(a=ot.call(s,a,!0)),a}let h=St?n.outerHTML:n.innerHTML;return St&>["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&y(q,n.ownerDocument.doctype.name)&&(h="\n"+h),Mt&&u([at,lt,ct],t=>{h=m(h,t," ")}),K&&It?K.createHTML(h):h},i.setConfig=function(){oe(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Pt=!0},i.clearConfig=function(){ne=null,Pt=!1},i.isValidAttribute=function(t,e,n){ne||oe({});const i=ee(t),r=ee(e);return be(i,r,n)},i.addHook=function(t,e){"function"==typeof e&&(st[t]=st[t]||[],d(st[t],e))},i.removeHook=function(t){if(st[t])return h(st[t])},i.removeHooks=function(t){st[t]&&(st[t]=[])},i.removeAllHooks=function(){st={}},i}()}()},15622:function(t,e,n){"use strict";function i(t){var e=Array.prototype.slice.call(arguments,1);return e.forEach(function(e){!e||Object.keys(e).forEach(function(n){t[n]=e[n]})}),t}function r(t){return Object.prototype.toString.call(t)}function o(t){return"[object Function]"===r(t)}function s(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var a={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},l={"http:":{validate:function(t,e,n){var i=t.slice(e);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(i)?i.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,n){var i=t.slice(e);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(i)?e>=3&&":"===t[e-3]||e>=3&&"/"===t[e-3]?0:i.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,n){var i=t.slice(e);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(i)?i.match(n.re.mailto)[0].length:0}}},c="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");function u(t){var e=t.re=n(86249)(t.__opts__),i=t.__tlds__.slice();function a(t){return t.replace("%TLDS%",e.src_tlds)}t.onCompile(),t.__tlds_replaced__||i.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),i.push(e.src_xn),e.src_tlds=i.join("|"),e.email_fuzzy=RegExp(a(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(a(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(a(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(a(e.tpl_host_fuzzy_test),"i");var l=[];function c(t,e){throw new Error('(LinkifyIt) Invalid schema "'+t+'": '+e)}t.__compiled__={},Object.keys(t.__schemas__).forEach(function(e){var n=t.__schemas__[e];if(null!==n){var i={validate:null,link:null};if(t.__compiled__[e]=i,function(t){return"[object Object]"===r(t)}(n))return function(t){return"[object RegExp]"===r(t)}(n.validate)?i.validate=function(t){return function(e,n){var i=e.slice(n);return t.test(i)?i.match(t)[0].length:0}}(n.validate):o(n.validate)?i.validate=n.validate:c(e,n),void(o(n.normalize)?i.normalize=n.normalize:n.normalize?c(e,n):i.normalize=function(t,e){e.normalize(t)});if(function(t){return"[object String]"===r(t)}(n))return void l.push(e);c(e,n)}}),l.forEach(function(e){!t.__compiled__[t.__schemas__[e]]||(t.__compiled__[e].validate=t.__compiled__[t.__schemas__[e]].validate,t.__compiled__[e].normalize=t.__compiled__[t.__schemas__[e]].normalize)}),t.__compiled__[""]={validate:null,normalize:function(t,e){e.normalize(t)}};var u=Object.keys(t.__compiled__).filter(function(e){return e.length>0&&t.__compiled__[e]}).map(s).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><\uff5c]|"+e.src_ZPCc+"))("+u+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><\uff5c]|"+e.src_ZPCc+"))("+u+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),function(t){t.__index__=-1,t.__text_cache__=""}(t)}function h(t,e){var n=t.__index__,i=t.__last_index__,r=t.__text_cache__.slice(n,i);this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=i+e,this.raw=r,this.text=r,this.url=r}function d(t,e){var n=new h(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function p(t,e){if(!(this instanceof p))return new p(t,e);e||function(t){return Object.keys(t||{}).reduce(function(t,e){return t||a.hasOwnProperty(e)},!1)}(t)&&(e=t,t={}),this.__opts__=i({},a,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=i({},l,t),this.__compiled__={},this.__tlds__=c,this.__tlds_replaced__=!1,this.re={},u(this)}p.prototype.add=function(t,e){return this.__schemas__[t]=e,u(this),this},p.prototype.set=function(t){return this.__opts__=i(this.__opts__,t),this},p.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;var e,n,i,r,o,s,a,l;if(this.re.schema_test.test(t))for((a=this.re.schema_search).lastIndex=0;null!==(e=a.exec(t));)if(r=this.testSchemaAt(t,e[2],a.lastIndex)){this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+r;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=t.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l=0&&null!==(i=t.match(this.re.email_fuzzy))&&(o=i.index+i[1].length,s=i.index+i[0].length,(this.__index__<0||othis.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=s)),this.__index__>=0},p.prototype.pretest=function(t){return this.re.pretest.test(t)},p.prototype.testSchemaAt=function(t,e,n){return this.__compiled__[e.toLowerCase()]?this.__compiled__[e.toLowerCase()].validate(t,n,this):0},p.prototype.match=function(t){var e=0,n=[];this.__index__>=0&&this.__text_cache__===t&&(n.push(d(this,e)),e=this.__last_index__);for(var i=e?t.slice(e):t;this.test(i);)n.push(d(this,e)),i=i.slice(this.__last_index__),e+=this.__last_index__;return n.length?n:null},p.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;var e=this.re.schema_at_start.exec(t);if(!e)return null;var n=this.testSchemaAt(t,e[2],e[0].length);return n?(this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+n,d(this,0)):null},p.prototype.tlds=function(t,e){return t=Array.isArray(t)?t:[t],e?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(t,e,n){return t!==n[e-1]}).reverse(),u(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,u(this),this)},p.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),"mailto:"===t.schema&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)},p.prototype.onCompile=function(){},t.exports=p},86249:function(t,e,n){"use strict";t.exports=function(t){var e={};t=t||{},e.src_Any=n(93644).source,e.src_Cc=n(29756).source,e.src_Z=n(51905).source,e.src_P=n(54897).source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|");return e.src_pseudo_letter="(?:(?![><\uff5c]|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|[><\uff5c]|"+e.src_ZPCc+")(?!"+(t["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|[><\uff5c]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+e.src_ZCc+"|[.]|$)|"+(t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+e.src_ZCc+"|$)|;(?!"+e.src_ZCc+"|$)|\\!+(?!"+e.src_ZCc+"|[!]|$)|\\?(?!"+e.src_ZCc+"|[?]|$))+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy='(^|[><\uff5c]|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+e.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+e.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}},4841:function(t,e,n){"use strict";t.exports=n(35096)},21087:function(t,e,n){"use strict";t.exports=n(95485)},29204:function(t){"use strict";t.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},17110:function(t){"use strict";var e="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",n="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",i=new RegExp("^(?:"+e+"|"+n+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|]*>|)"),r=new RegExp("^(?:"+e+"|"+n+")");t.exports.n=i,t.exports.q=r},47504:function(t,e,n){"use strict";var i=Object.prototype.hasOwnProperty;function r(t,e){return i.call(t,e)}function o(t){return!(t>=55296&&t<=57343||t>=64976&&t<=65007||65535==(65535&t)||65534==(65535&t)||t>=0&&t<=8||11===t||t>=14&&t<=31||t>=127&&t<=159||t>1114111)}function s(t){return t>65535?(t-=65536,String.fromCharCode(55296+(t>>10),56320+(1023&t))):String.fromCharCode(t)}var a=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,l=new RegExp(a.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),c=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i,u=n(21087),h=/[&<>"]/,d=/[&<>"]/g,p={"&":"&","<":"<",">":">",'"':"""};function f(t){return p[t]}var g=/[.?*+^$[\]\\(){}|-]/g,m=n(54897);e.lib={},e.lib.mdurl=n(74149),e.lib.ucmicro=n(48363),e.assign=function(t){var e=Array.prototype.slice.call(arguments,1);return e.forEach(function(e){if(e){if("object"!=typeof e)throw new TypeError(e+"must be object");Object.keys(e).forEach(function(n){t[n]=e[n]})}}),t},e.isString=function(t){return"[object String]"===function(t){return Object.prototype.toString.call(t)}(t)},e.has=r,e.unescapeMd=function(t){return t.indexOf("\\")<0?t:t.replace(a,"$1")},e.unescapeAll=function(t){return t.indexOf("\\")<0&&t.indexOf("&")<0?t:t.replace(l,function(t,e,n){return e||function(t,e){var n;return r(u,e)?u[e]:35===e.charCodeAt(0)&&c.test(e)&&o(n="x"===e[1].toLowerCase()?parseInt(e.slice(2),16):parseInt(e.slice(1),10))?s(n):t}(t,n)})},e.isValidEntityCode=o,e.fromCodePoint=s,e.escapeHtml=function(t){return h.test(t)?t.replace(d,f):t},e.arrayReplaceAt=function(t,e,n){return[].concat(t.slice(0,e),n,t.slice(e+1))},e.isSpace=function(t){switch(t){case 9:case 32:return!0}return!1},e.isWhiteSpace=function(t){if(t>=8192&&t<=8202)return!0;switch(t){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},e.isMdAsciiPunct=function(t){switch(t){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},e.isPunctChar=function(t){return m.test(t)},e.escapeRE=function(t){return t.replace(g,"\\$&")},e.normalizeReference=function(t){return t=t.trim().replace(/\s+/g," "),"\u1e7e"==="\u1e9e".toLowerCase()&&(t=t.replace(/\u1e9e/g,"\xdf")),t.toLowerCase().toUpperCase()}},12869:function(t,e,n){"use strict";e.parseLinkLabel=n(8666),e.parseLinkDestination=n(44349),e.parseLinkTitle=n(55874)},44349:function(t,e,n){"use strict";var i=n(47504).unescapeAll;t.exports=function(t,e,n){var r,o,s=e,a={ok:!1,pos:0,lines:0,str:""};if(60===t.charCodeAt(s)){for(s++;s32)return a;if(41===r){if(0===o)break;o--}s++}return e===s||0!==o||(a.str=i(t.slice(e,s)),a.pos=s,a.ok=!0),a}},8666:function(t){"use strict";t.exports=function(t,e,n){var i,r,o,s,a=-1,l=t.posMax,c=t.pos;for(t.pos=e+1,i=1;t.pos=n||34!==(o=t.charCodeAt(a))&&39!==o&&40!==o)return l;for(a++,40===o&&(o=41);a=0))try{e.hostname=h.toASCII(e.hostname)}catch(n){}return u.encode(u.format(e))}function _(t){var e=u.parse(t,!0);if(e.hostname&&(!e.protocol||m.indexOf(e.protocol)>=0))try{e.hostname=h.toUnicode(e.hostname)}catch(n){}return u.decode(u.format(e),u.decode.defaultChars+"%")}function y(t,e){if(!(this instanceof y))return new y(t,e);e||i.isString(t)||(e=t||{},t="default"),this.inline=new l,this.block=new a,this.core=new s,this.renderer=new o,this.linkify=new c,this.validateLink=g,this.normalizeLink=v,this.normalizeLinkText=_,this.utils=i,this.helpers=i.assign({},r),this.options={},this.configure(t),e&&this.set(e)}y.prototype.set=function(t){return i.assign(this.options,t),this},y.prototype.configure=function(t){var e,n=this;if(i.isString(t)&&!(t=d[e=t]))throw new Error('Wrong `markdown-it` preset "'+e+'", check name');if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&n.set(t.options),t.components&&Object.keys(t.components).forEach(function(e){t.components[e].rules&&n[e].ruler.enableOnly(t.components[e].rules),t.components[e].rules2&&n[e].ruler2.enableOnly(t.components[e].rules2)}),this},y.prototype.enable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(e){n=n.concat(this[e].ruler.enable(t,!0))},this),n=n.concat(this.inline.ruler2.enable(t,!0));var i=t.filter(function(t){return n.indexOf(t)<0});if(i.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+i);return this},y.prototype.disable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(e){n=n.concat(this[e].ruler.disable(t,!0))},this),n=n.concat(this.inline.ruler2.disable(t,!0));var i=t.filter(function(t){return n.indexOf(t)<0});if(i.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+i);return this},y.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this},y.prototype.parse=function(t,e){if("string"!=typeof t)throw new Error("Input data should be a String");var n=new this.core.State(t,this,e);return this.core.process(n),n.tokens},y.prototype.render=function(t,e){return this.renderer.render(this.parse(t,e=e||{}),this.options,e)},y.prototype.parseInline=function(t,e){var n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens},y.prototype.renderInline=function(t,e){return this.renderer.render(this.parseInline(t,e=e||{}),this.options,e)},t.exports=y},51269:function(t,e,n){"use strict";var i=n(67869),r=[["table",n(46961),["paragraph","reference"]],["code",n(27636)],["fence",n(20785),["paragraph","reference","blockquote","list"]],["blockquote",n(48264),["paragraph","reference","blockquote","list"]],["hr",n(90622),["paragraph","reference","blockquote","list"]],["list",n(6483),["paragraph","reference","blockquote"]],["reference",n(69194)],["html_block",n(77607),["paragraph","reference","blockquote"]],["heading",n(15492),["paragraph","reference","blockquote"]],["lheading",n(6726)],["paragraph",n(13794)]];function o(){this.ruler=new i;for(var t=0;t=n||t.sCount[l]=u){t.line=n;break}for(o=t.line,r=0;r=t.line)throw new Error("block rule didn't increment state.line");break}if(!i)throw new Error("none of the block rules matched");t.tight=!c,t.isEmpty(t.line-1)&&(c=!0),(l=t.line)=t.pos)throw new Error("inline rule didn't increment state.pos");break}}else t.pos=t.posMax;e||t.pos++,s[i]=t.pos}else t.pos=s[i]},s.prototype.tokenize=function(t){for(var e,n,i,r=this.ruler.getRules(""),o=r.length,s=t.posMax,a=t.md.options.maxNesting;t.pos=t.pos)throw new Error("inline rule didn't increment state.pos");break}if(e){if(t.pos>=s)break}else t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()},s.prototype.parse=function(t,e,n,i){var r,o,s,a=new this.State(t,e,n,i);for(this.tokenize(a),s=(o=this.ruler2.getRules("")).length,r=0;r"+o(s.content)+""},s.code_block=function(t,e,n,i,r){return""+o(t[e].content)+"\n"},s.fence=function(t,e,n,i,s){var a,l,c,u,h=t[e],d=h.info?r(h.info).trim():"",p="",f="";return d&&(p=(c=d.split(/(\s+)/g))[0],f=c.slice(2).join("")),0===(a=n.highlight&&n.highlight(h.content,p,f)||o(h.content)).indexOf(""+a+"\n"):"
    "+a+"
    \n"},s.image=function(t,e,n,i,r){var o=t[e];return o.attrs[o.attrIndex("alt")][1]=r.renderInlineAsText(o.children,n,i),r.renderToken(t,e,n)},s.hardbreak=function(t,e,n){return n.xhtmlOut?"
    \n":"
    \n"},s.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?"
    \n":"
    \n":"\n"},s.text=function(t,e){return o(t[e].content)},s.html_block=function(t,e){return t[e].content},s.html_inline=function(t,e){return t[e].content},a.prototype.renderAttrs=function(t){var e,n,i;if(!t.attrs)return"";for(i="",e=0,n=t.attrs.length;e\n":">")},a.prototype.renderInline=function(t,e,n){for(var i,r="",o=this.rules,s=0,a=t.length;s=4||62!==t.src.charCodeAt(M))return!1;if(r)return!0;for(f=[],g=[],_=[],y=[],C=t.md.block.ruler.getRules("blockquote"),v=t.parentType,t.parentType="blockquote",d=e;d=(S=t.eMarks[d])));d++)if(62!==t.src.charCodeAt(M++)||k){if(u)break;for(w=!1,a=0,c=C.length;a=S,g.push(t.bsCount[d]),t.bsCount[d]=t.sCount[d]+1+(b?1:0),_.push(t.sCount[d]),t.sCount[d]=p-l,y.push(t.tShift[d]),t.tShift[d]=M-t.bMarks[d]}for(m=t.blkIndent,t.blkIndent=0,(x=t.push("blockquote_open","blockquote",1)).markup=">",x.map=h=[e,0],t.md.block.tokenize(t,e,d),(x=t.push("blockquote_close","blockquote",-1)).markup=">",t.lineMax=O,t.parentType=v,h[1]=t.line,a=0;a=4))break;r=++i}return t.line=r,(o=t.push("code_block","code",0)).content=t.getLines(e,r,4+t.blkIndent,!1)+"\n",o.map=[e,t.line],!0}},20785:function(t){"use strict";t.exports=function(t,e,n,i){var r,o,s,a,l,c,u,h=!1,d=t.bMarks[e]+t.tShift[e],p=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4||d+3>p||126!==(r=t.src.charCodeAt(d))&&96!==r||(l=d,(o=(d=t.skipChars(d,r))-l)<3)||(u=t.src.slice(l,d),s=t.src.slice(d,p),96===r&&s.indexOf(String.fromCharCode(r))>=0))return!1;if(i)return!0;for(a=e;!(++a>=n||(d=l=t.bMarks[a]+t.tShift[a],p=t.eMarks[a],d=4||(d=t.skipChars(d,r),d-l=4||35!==(o=t.src.charCodeAt(c))||c>=u)return!1;for(s=1,o=t.src.charCodeAt(++c);35===o&&c6||cc&&i(t.src.charCodeAt(a-1))&&(u=a),t.line=e+1,(l=t.push("heading_open","h"+String(s),1)).markup="########".slice(0,s),l.map=[e,t.line],(l=t.push("inline","",0)).content=t.src.slice(c,u).trim(),l.map=[e,t.line],l.children=[],(l=t.push("heading_close","h"+String(s),-1)).markup="########".slice(0,s)),0))}},90622:function(t,e,n){"use strict";var i=n(47504).isSpace;t.exports=function(t,e,n,r){var o,s,a,l,c=t.bMarks[e]+t.tShift[e],u=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4||42!==(o=t.src.charCodeAt(c++))&&45!==o&&95!==o)return!1;for(s=1;c|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(r.source+"\\s*$"),/^$/,!1]];t.exports=function(t,e,n,i){var r,s,a,l,c=t.bMarks[e]+t.tShift[e],u=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4||!t.md.options.html||60!==t.src.charCodeAt(c))return!1;for(l=t.src.slice(c,u),r=0;r=4)return!1;for(d=t.parentType,t.parentType="paragraph";p3)){if(t.sCount[p]>=t.blkIndent&&(l=t.bMarks[p]+t.tShift[p])<(c=t.eMarks[p])&&(45===(h=t.src.charCodeAt(l))||61===h)&&(l=t.skipChars(l,h),(l=t.skipSpaces(l))>=c)){u=61===h?1:2;break}if(!(t.sCount[p]<0)){for(r=!1,o=0,s=f.length;o=s||(n=t.src.charCodeAt(o++))<48||n>57)return-1;for(;;){if(o>=s)return-1;if(!((n=t.src.charCodeAt(o++))>=48&&n<=57)){if(41===n||46===n)break;return-1}if(o-r>=10)return-1}return o=4||t.listIndent>=0&&t.sCount[D]-t.listIndent>=4&&t.sCount[D]=t.blkIndent&&(N=!0),(S=o(t,D))>=0){if(d=!0,E=t.bMarks[D]+t.tShift[D],_=Number(t.src.slice(E,S-1)),N&&1!==_)return!1}else{if(!((S=r(t,D))>=0))return!1;d=!1}if(N&&t.skipSpaces(S)>=t.eMarks[D])return!1;if(i)return!0;for(v=t.src.charCodeAt(S-1),m=t.tokens.length,d?(I=t.push("ordered_list_open","ol",1),1!==_&&(I.attrs=[["start",_]])):I=t.push("bullet_list_open","ul",1),I.map=g=[D,0],I.markup=String.fromCharCode(v),P=!1,A=t.md.block.ruler.getRules("list"),C=t.parentType,t.parentType="list";D=y?1:b-h)>4&&(u=1),c=h+u,(I=t.push("list_item_open","li",1)).markup=String.fromCharCode(v),I.map=p=[D,0],d&&(I.info=t.src.slice(E,S-1)),O=t.tight,k=t.tShift[D],x=t.sCount[D],w=t.listIndent,t.listIndent=t.blkIndent,t.blkIndent=c,t.tight=!0,t.tShift[D]=a-t.bMarks[D],t.sCount[D]=b,a>=y&&t.isEmpty(D+1)?t.line=Math.min(t.line+2,n):t.md.block.tokenize(t,D,n,!0),(!t.tight||P)&&(L=!1),P=t.line-D>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=w,t.tShift[D]=k,t.sCount[D]=x,t.tight=O,(I=t.push("list_item_close","li",-1)).markup=String.fromCharCode(v),p[1]=D=t.line,D>=n||t.sCount[D]=4)break;for(T=!1,l=0,f=A.length;l3||t.sCount[c]<0)){for(r=!1,o=0,s=u.length;o=4||91!==t.src.charCodeAt(x))return!1;for(;++x3||t.sCount[O]<0)){for(y=!1,h=0,d=b.length;h0&&this.level++,this.tokens.push(r),r},o.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]},o.prototype.skipEmptyLines=function(t){for(var e=this.lineMax;te;)if(!r(this.src.charCodeAt(--t)))return t+1;return t},o.prototype.skipChars=function(t,e){for(var n=this.src.length;tn;)if(e!==this.src.charCodeAt(--t))return t+1;return t},o.prototype.getLines=function(t,e,n,i){var o,s,a,l,c,u,h,d=t;if(t>=e)return"";for(u=new Array(e-t),o=0;dn?new Array(s-n+1).join(" ")+this.src.slice(l,c):this.src.slice(l,c)}return u.join("")},o.prototype.Token=i,t.exports=o},46961:function(t,e,n){"use strict";var i=n(47504).isSpace;function r(t,e){return t.src.slice(t.bMarks[e]+t.tShift[e],t.eMarks[e])}function o(t){var e,n=[],i=0,r=t.length,o=!1,s=0,a="";for(e=t.charCodeAt(i);in||t.sCount[d=e+1]=4||(c=t.bMarks[d]+t.tShift[d])>=t.eMarks[d]||124!==(x=t.src.charCodeAt(c++))&&45!==x&&58!==x||c>=t.eMarks[d]||124!==(k=t.src.charCodeAt(c++))&&45!==k&&58!==k&&!i(k)||45===x&&i(k))return!1;for(;c=4||((p=o(l)).length&&""===p[0]&&p.shift(),p.length&&""===p[p.length-1]&&p.pop(),0===(f=p.length)||f!==m.length))return!1;if(s)return!0;for(b=t.parentType,t.parentType="table",C=t.md.block.ruler.getRules("blockquote"),(g=t.push("table_open","table",1)).map=_=[e,0],(g=t.push("thead_open","thead",1)).map=[e,e+1],(g=t.push("tr_open","tr",1)).map=[e,e+1],u=0;u=4)break;for((p=o(l)).length&&""===p[0]&&p.shift(),p.length&&""===p[p.length-1]&&p.pop(),d===e+2&&((g=t.push("tbody_open","tbody",1)).map=y=[e+2,0]),(g=t.push("tr_open","tr",1)).map=[d,d+1],u=0;u=0;e--)if("link_close"!==(a=o[e]).type){if("html_inline"===a.type&&(/^\s]/i.test(a.content)&&f>0&&f--,/^<\/a\s*>/i.test(a.content)&&f++),!(f>0)&&"text"===a.type&&t.md.linkify.test(a.content)){for(v=t.md.linkify.match(u=a.content),l=[],p=a.level,d=0,v.length>0&&0===v[0].index&&e>0&&"text_special"===o[e-1].type&&(v=v.slice(1)),c=0;cd&&((s=new t.Token("text","",0)).content=u.slice(d,h),s.level=p,l.push(s)),(s=new t.Token("link_open","a",1)).attrs=[["href",g]],s.level=p++,s.markup="linkify",s.info="auto",l.push(s),(s=new t.Token("text","",0)).content=m,s.level=p,l.push(s),(s=new t.Token("link_close","a",-1)).level=--p,s.markup="linkify",s.info="auto",l.push(s),d=v[c].lastIndex);d=0;e--)"text"===(n=t[e]).type&&!r&&(n.content=n.content.replace(i,o)),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}function a(t){var n,i,r=0;for(n=t.length-1;n>=0;n--)"text"===(i=t[n]).type&&!r&&e.test(i.content)&&(i.content=i.content.replace(/\+-/g,"\xb1").replace(/\.{2,}/g,"\u2026").replace(/([?!])\u2026/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1\u2014").replace(/(^|\s)--(?=\s|$)/gm,"$1\u2013").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1\u2013")),"link_open"===i.type&&"auto"===i.info&&r--,"link_close"===i.type&&"auto"===i.info&&r++}t.exports=function(t){var i;if(t.md.options.typographer)for(i=t.tokens.length-1;i>=0;i--)"inline"===t.tokens[i].type&&(n.test(t.tokens[i].content)&&s(t.tokens[i].children),e.test(t.tokens[i].content)&&a(t.tokens[i].children))}},87185:function(t,e,n){"use strict";var i=n(47504).isWhiteSpace,r=n(47504).isPunctChar,o=n(47504).isMdAsciiPunct,s=/['"]/,a=/['"]/g;function l(t,e,n){return t.slice(0,e)+n+t.slice(e+1)}function c(t,e){var n,s,c,u,h,d,p,f,g,m,v,_,y,b,w,C,x,k,O,M,S;for(O=[],n=0;n=0&&!(O[x].level<=p);x--);if(O.length=x+1,"text"===s.type){h=0,d=(c=s.content).length;t:for(;h=0)g=c.charCodeAt(u.index-1);else for(x=n-1;x>=0&&"softbreak"!==t[x].type&&"hardbreak"!==t[x].type;x--)if(t[x].content){g=t[x].content.charCodeAt(t[x].content.length-1);break}if(m=32,h=48&&g<=57&&(C=w=!1),w&&C&&(w=v,C=_),w||C){if(C)for(x=O.length-1;x>=0&&(f=O[x],!(O[x].level=0;e--)"inline"!==t.tokens[e].type||!s.test(t.tokens[e].content)||c(t.tokens[e].children,t)}},96546:function(t,e,n){"use strict";var i=n(68253);function r(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}r.prototype.Token=i,t.exports=r},91726:function(t){"use strict";t.exports=function(t){var e,n,i,r,o,s,a=t.tokens;for(e=0,n=a.length;e\x00-\x20]*)$/;t.exports=function(t,i){var r,o,s,a,l,c,u=t.pos;if(60!==t.src.charCodeAt(u))return!1;for(l=t.pos,c=t.posMax;;){if(++u>=c||60===(a=t.src.charCodeAt(u)))return!1;if(62===a)break}return r=t.src.slice(l+1,u),n.test(r)?(o=t.md.normalizeLink(r),!!t.md.validateLink(o)&&(i||((s=t.push("link_open","a",1)).attrs=[["href",o]],s.markup="autolink",s.info="auto",(s=t.push("text","",0)).content=t.md.normalizeLinkText(r),(s=t.push("link_close","a",-1)).markup="autolink",s.info="auto"),t.pos+=r.length+2,!0)):!!e.test(r)&&(o=t.md.normalizeLink("mailto:"+r),!!t.md.validateLink(o)&&(i||((s=t.push("link_open","a",1)).attrs=[["href",o]],s.markup="autolink",s.info="auto",(s=t.push("text","",0)).content=t.md.normalizeLinkText(r),(s=t.push("link_close","a",-1)).markup="autolink",s.info="auto"),t.pos+=r.length+2,!0))}},18326:function(t){"use strict";t.exports=function(t,e){var n,i,r,o,s,a,l,c,u=t.pos;if(96!==t.src.charCodeAt(u))return!1;for(n=u,u++,i=t.posMax;uo;n-=p[n]+1)if((r=t[n]).marker===i.marker&&r.open&&r.end<0&&(a=!1,(r.close||i.open)&&(r.length+i.length)%3==0&&(r.length%3!=0||i.length%3!=0)&&(a=!0),!a)){p[e]=e-n+(l=n>0&&!t[n-1].open?p[n-1]+1:0),p[n]=l,i.open=!1,r.end=e,r.close=!1,s=-1,d=-2;break}-1!==s&&(c[i.marker][(i.open?3:0)+(i.length||0)%3]=s)}}}t.exports=function(t){var n,i=t.tokens_meta,r=t.tokens_meta.length;for(e(t.delimiters),n=0;n=0;n--)(95===(i=e[n]).marker||42===i.marker)&&-1!==i.end&&(r=e[i.end],a=n>0&&e[n-1].end===i.end+1&&e[n-1].marker===i.marker&&e[n-1].token===i.token-1&&e[i.end+1].token===r.token+1,s=String.fromCharCode(i.marker),(o=t.tokens[i.token]).type=a?"strong_open":"em_open",o.tag=a?"strong":"em",o.nesting=1,o.markup=a?s+s:s,o.content="",(o=t.tokens[r.token]).type=a?"strong_close":"em_close",o.tag=a?"strong":"em",o.nesting=-1,o.markup=a?s+s:s,o.content="",a&&(t.tokens[e[n-1].token].content="",t.tokens[e[i.end+1].token].content="",n--))}t.exports.w=function(t,e){var n,i,r=t.src.charCodeAt(t.pos);if(e||95!==r&&42!==r)return!1;for(i=t.scanDelims(t.pos,42===r),n=0;n=d)return!1;if(35===t.src.charCodeAt(h+1)){if(c=t.src.slice(h).match(a))return e||(n="x"===c[1][0].toLowerCase()?parseInt(c[1].slice(1),16):parseInt(c[1],10),(u=t.push("text_special","",0)).content=o(n)?s(n):s(65533),u.markup=c[0],u.info="entity"),t.pos+=c[0].length,!0}else if((c=t.src.slice(h).match(l))&&r(i,c[1]))return e||((u=t.push("text_special","",0)).content=i[c[1]],u.markup=c[0],u.info="entity"),t.pos+=c[0].length,!0;return!1}},50340:function(t,e,n){"use strict";for(var i=n(47504).isSpace,r=[],o=0;o<256;o++)r.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t){r[t.charCodeAt(0)]=1}),t.exports=function(t,e){var n,o,s,a,l,c=t.pos,u=t.posMax;if(92!==t.src.charCodeAt(c)||++c>=u)return!1;if(10===(n=t.src.charCodeAt(c))){for(e||t.push("hardbreak","br",0),c++;c=55296&&n<=56319&&c+1=56320&&o<=57343&&(a+=t.src[c+1],c++),s="\\"+a,e||((l=t.push("text_special","",0)).content=n<256&&0!==r[n]?a:s,l.markup=s,l.info="escape"),t.pos=c+1,!0}},36109:function(t){"use strict";t.exports=function(t){var e,n,i=0,r=t.tokens,o=t.tokens.length;for(e=n=0;e0&&i++,"text"===r[e].type&&e+1=o)||(n=t.src.charCodeAt(l+1),33!==n&&63!==n&&47!==n&&!function(t){var e=32|t;return e>=97&&e<=122}(n))||(r=t.src.slice(l).match(i),!r)||(e||((s=t.push("html_inline","",0)).content=r[0],/^\s]/i.test(s.content)&&t.linkLevel++,a=s.content,/^<\/a\s*>/i.test(a)&&t.linkLevel--),t.pos+=r[0].length,0))}},10898:function(t,e,n){"use strict";var i=n(47504).normalizeReference,r=n(47504).isSpace;t.exports=function(t,e){var n,o,s,a,l,c,u,h,d,p,f,g,m,v="",_=t.pos,y=t.posMax;if(33!==t.src.charCodeAt(t.pos)||91!==t.src.charCodeAt(t.pos+1)||(c=t.pos+2,(l=t.md.helpers.parseLinkLabel(t,t.pos+1,!1))<0))return!1;if((u=l+1)=y)return!1;for(m=u,(d=t.md.helpers.parseLinkDestination(t.src,u,t.posMax)).ok&&(v=t.md.normalizeLink(d.str),t.md.validateLink(v)?u=d.pos:v=""),m=u;u=y||41!==t.src.charCodeAt(u))return t.pos=_,!1;u++}else{if(void 0===t.env.references)return!1;if(u=0?a=t.src.slice(m,u++):u=l+1):u=l+1,a||(a=t.src.slice(c,l)),!(h=t.env.references[i(a)]))return t.pos=_,!1;v=h.href,p=h.title}return e||(s=t.src.slice(c,l),t.md.inline.parse(s,t.md,t.env,g=[]),(f=t.push("image","img",0)).attrs=n=[["src",v],["alt",""]],f.children=g,f.content=s,p&&n.push(["title",p])),t.pos=u,t.posMax=y,!0}},1786:function(t,e,n){"use strict";var i=n(47504).normalizeReference,r=n(47504).isSpace;t.exports=function(t,e){var n,o,s,a,l,c,u,h,d="",p="",f=t.pos,g=t.posMax,m=t.pos,v=!0;if(91!==t.src.charCodeAt(t.pos)||(l=t.pos+1,(a=t.md.helpers.parseLinkLabel(t,t.pos,!0))<0))return!1;if((c=a+1)=g)return!1;if(m=c,(u=t.md.helpers.parseLinkDestination(t.src,c,t.posMax)).ok){for(d=t.md.normalizeLink(u.str),t.md.validateLink(d)?c=u.pos:d="",m=c;c=g||41!==t.src.charCodeAt(c))&&(v=!0),c++}if(v){if(void 0===t.env.references)return!1;if(c=0?s=t.src.slice(m,c++):c=a+1):c=a+1,s||(s=t.src.slice(l,a)),!(h=t.env.references[i(s)]))return t.pos=f,!1;d=h.href,p=h.title}return e||(t.pos=l,t.posMax=a,t.push("link_open","a",1).attrs=n=[["href",d]],p&&n.push(["title",p]),t.linkLevel++,t.md.inline.tokenize(t),t.linkLevel--,t.push("link_close","a",-1)),t.pos=c,t.posMax=g,!0}},79850:function(t){"use strict";var e=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;t.exports=function(t,n){var i,r,o,s,a,l,c,u;return!(!t.md.options.linkify||t.linkLevel>0||(i=t.pos,r=t.posMax,i+3>r)||58!==t.src.charCodeAt(i)||47!==t.src.charCodeAt(i+1)||47!==t.src.charCodeAt(i+2)||(o=t.pending.match(e),!o)||(s=o[1],a=t.md.linkify.matchAtStart(t.src.slice(i-s.length)),!a)||(l=a.url,l.length<=s.length)||(l=l.replace(/\*+$/,""),c=t.md.normalizeLink(l),!t.md.validateLink(c))||(n||(t.pending=t.pending.slice(0,-s.length),(u=t.push("link_open","a",1)).attrs=[["href",c]],u.markup="linkify",u.info="auto",(u=t.push("text","",0)).content=t.md.normalizeLinkText(l),(u=t.push("link_close","a",-1)).markup="linkify",u.info="auto"),t.pos+=l.length-s.length,0))}},58254:function(t,e,n){"use strict";var i=n(47504).isSpace;t.exports=function(t,e){var n,r,o,s=t.pos;if(10!==t.src.charCodeAt(s))return!1;if(n=t.pending.length-1,r=t.posMax,!e)if(n>=0&&32===t.pending.charCodeAt(n))if(n>=1&&32===t.pending.charCodeAt(n-1)){for(o=n-1;o>=1&&32===t.pending.charCodeAt(o-1);)o--;t.pending=t.pending.slice(0,o),t.push("hardbreak","br",0)}else t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0);else t.push("softbreak","br",0);for(s++;s0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(o),r},a.prototype.scanDelims=function(t,e){var n,i,a,l,c,u,h,d,p,f=t,g=!0,m=!0,v=this.posMax,_=this.src.charCodeAt(t);for(n=t>0?this.src.charCodeAt(t-1):32;f=0&&(n=this.attrs[e][1]),n},e.prototype.attrJoin=function(t,e){var n=this.attrIndex(t);n<0?this.attrPush([t,e]):this.attrs[n][1]=this.attrs[n][1]+" "+e},t.exports=e},5478:function(t){t.exports=function(){"use strict";function t(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,i=new Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(i=t[Symbol.iterator]()).next.bind(i)}var i,r,o=(i=function(t){function e(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}t.exports={defaults:{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1},getDefaults:e,changeDefaults:function(e){t.exports.defaults=e}}},i(r={exports:{}},r.exports),r.exports),s=/[&<>"']/,a=/[&<>"']/g,l=/[<>"']|&(?!#?\w+;)/,c=/[<>"']|&(?!#?\w+;)/g,u={"&":"&","<":"<",">":">",'"':""","'":"'"},h=function(t){return u[t]};var d=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function p(t){return t.replace(d,function(t,e){return"colon"===(e=e.toLowerCase())?":":"#"===e.charAt(0)?"x"===e.charAt(1)?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):""})}var f=/(^|[^\[])\^/g;var g=/[^\w:]/g,m=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;var v={},_=/^[^:]+:\/*[^/]*$/,y=/^([^:]+:)[\s\S]*$/,b=/^([^:]+:\/*[^/]*)[\s\S]*$/;function w(t,e){v[" "+t]||(v[" "+t]=_.test(t)?t+"/":C(t,"/",!0));var n=-1===(t=v[" "+t]).indexOf(":");return"//"===e.substring(0,2)?n?e:t.replace(y,"$1")+e:"/"===e.charAt(0)?n?e:t.replace(b,"$1")+e:t+e}function C(t,e,n){var i=t.length;if(0===i)return"";for(var r=0;r=0&&"\\"===n[r];)i=!i;return i?"|":" |"}).split(/ \|/),i=0;if(n.length>e)n.splice(e);else for(;n.length1;)1&e&&(n+=t),e>>=1,t+=t;return n+t},D=o.defaults,N=C,L=E,z=x,F=T;function R(t,e,n){var i=e.href,r=e.title?z(e.title):null,o=t[1].replace(/\\([\[\]])/g,"$1");return"!"!==t[0].charAt(0)?{type:"link",raw:n,href:i,title:r,text:o}:{type:"image",raw:n,href:i,title:r,text:z(o)}}var j=function(){function t(t){this.options=t||D}var e=t.prototype;return e.space=function(t){var e=this.rules.block.newline.exec(t);if(e)return e[0].length>1?{type:"space",raw:e[0]}:{raw:"\n"}},e.code=function(t,e){var n=this.rules.block.code.exec(t);if(n){var i=e[e.length-1];if(i&&"paragraph"===i.type)return{raw:n[0],text:n[0].trimRight()};var r=n[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?r:N(r,"\n")}}},e.fences=function(t){var e=this.rules.block.fences.exec(t);if(e){var n=e[0],i=function(t,e){var n=t.match(/^(\s+)(?:```)/);if(null===n)return e;var i=n[1];return e.split("\n").map(function(t){var e=t.match(/^\s+/);return null===e?t:e[0].length>=i.length?t.slice(i.length):t}).join("\n")}(n,e[3]||"");return{type:"code",raw:n,lang:e[2]?e[2].trim():e[2],text:i}}},e.heading=function(t){var e=this.rules.block.heading.exec(t);if(e){var n=e[2].trim();if(/#$/.test(n)){var i=N(n,"#");(this.options.pedantic||!i||/ $/.test(i))&&(n=i.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:n}}},e.nptable=function(t){var e=this.rules.block.nptable.exec(t);if(e){var n={type:"table",header:L(e[1].replace(/^ *| *\| *$/g,"")),align:e[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:e[3]?e[3].replace(/\n$/,"").split("\n"):[],raw:e[0]};if(n.header.length===n.align.length){var i,r=n.align.length;for(i=0;i ?/gm,"");return{type:"blockquote",raw:e[0],text:n}}},e.list=function(t){var e=this.rules.block.list.exec(t);if(e){var n,i,r,o,s,a,l,c,u=e[0],h=e[2],d=h.length>1,p={type:"list",raw:u,ordered:d,start:d?+h.slice(0,-1):"",loose:!1,items:[]},f=e[0].match(this.rules.block.item),g=!1,m=f.length;r=this.rules.block.listItemStart.exec(f[0]);for(var v=0;vr[1].length:o[1].length>r[0].length||o[1].length>3){f.splice(v,2,f[v]+"\n"+f[v+1]),v--,m--;continue}(!this.options.pedantic||this.options.smartLists?o[2][o[2].length-1]!==h[h.length-1]:d===(1===o[2].length))&&(s=f.slice(v+1).join("\n"),p.raw=p.raw.substring(0,p.raw.length-s.length),v=m-1),r=o}i=n.length,~(n=n.replace(/^ *([*+-]|\d+[.)]) ?/,"")).indexOf("\n ")&&(i-=n.length,n=n.replace(this.options.pedantic?/^ {1,4}/gm:new RegExp("^ {1,"+i+"}","gm"),"")),a=g||/\n\n(?!\s*$)/.test(n),v!==m-1&&(g="\n"===n.charAt(n.length-1),a||(a=g)),a&&(p.loose=!0),this.options.gfm&&(c=void 0,(l=/^\[[ xX]\] /.test(n))&&(c=" "!==n[1],n=n.replace(/^\[[ xX]\] +/,""))),p.items.push({type:"list_item",raw:u,task:l,checked:c,loose:a,text:n})}return p}},e.html=function(t){var e=this.rules.block.html.exec(t);if(e)return{type:this.options.sanitize?"paragraph":"html",raw:e[0],pre:!this.options.sanitizer&&("pre"===e[1]||"script"===e[1]||"style"===e[1]),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(e[0]):z(e[0]):e[0]}},e.def=function(t){var e=this.rules.block.def.exec(t);if(e)return e[3]&&(e[3]=e[3].substring(1,e[3].length-1)),{tag:e[1].toLowerCase().replace(/\s+/g," "),raw:e[0],href:e[2],title:e[3]}},e.table=function(t){var e=this.rules.block.table.exec(t);if(e){var n={type:"table",header:L(e[1].replace(/^ *| *\| *$/g,"")),align:e[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:e[3]?e[3].replace(/\n$/,"").split("\n"):[]};if(n.header.length===n.align.length){n.raw=e[0];var i,r=n.align.length;for(i=0;i/i.test(i[0])&&(e=!1),!n&&/^<(pre|code|kbd|script)(\s|>)/i.test(i[0])?n=!0:n&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(i[0])&&(n=!1),{type:this.options.sanitize?"text":"html",raw:i[0],inLink:e,inRawBlock:n,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):z(i[0]):i[0]}},e.link=function(t){var e=this.rules.inline.link.exec(t);if(e){var n=e[2].trim();if(!this.options.pedantic&&/^$/.test(n))return;var i=N(n.slice(0,-1),"\\");if((n.length-i.length)%2==0)return}else{var r=F(e[2],"()");if(r>-1){var o=(0===e[0].indexOf("!")?5:4)+e[1].length+r;e[2]=e[2].substring(0,r),e[0]=e[0].substring(0,o).trim(),e[3]=""}}var s=e[2],a="";if(this.options.pedantic){var l=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(s);l&&(s=l[1],a=l[3])}else a=e[3]?e[3].slice(1,-1):"";return s=s.trim(),/^$/.test(n)?s.slice(1):s.slice(1,-1)),R(e,{href:s&&s.replace(this.rules.inline._escapes,"$1"),title:a&&a.replace(this.rules.inline._escapes,"$1")},e[0])}},e.reflink=function(t,e){var n;if((n=this.rules.inline.reflink.exec(t))||(n=this.rules.inline.nolink.exec(t))){var i=(n[2]||n[1]).replace(/\s+/g," ");if(!(i=e[i.toLowerCase()])||!i.href){var r=n[0].charAt(0);return{type:"text",raw:r,text:r}}return R(n,i,n[0])}},e.strong=function(t,e,n){void 0===n&&(n="");var i=this.rules.inline.strong.start.exec(t);if(i&&(!i[1]||i[1]&&(""===n||this.rules.inline.punctuation.exec(n)))){e=e.slice(-1*t.length);var r,o="**"===i[0]?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;for(o.lastIndex=0;null!=(i=o.exec(e));)if(r=this.rules.inline.strong.middle.exec(e.slice(0,i.index+3)))return{type:"strong",raw:t.slice(0,r[0].length),text:t.slice(2,r[0].length-2)}}},e.em=function(t,e,n){void 0===n&&(n="");var i=this.rules.inline.em.start.exec(t);if(i&&(!i[1]||i[1]&&(""===n||this.rules.inline.punctuation.exec(n)))){e=e.slice(-1*t.length);var r,o="*"===i[0]?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;for(o.lastIndex=0;null!=(i=o.exec(e));)if(r=this.rules.inline.em.middle.exec(e.slice(0,i.index+2)))return{type:"em",raw:t.slice(0,r[0].length),text:t.slice(1,r[0].length-1)}}},e.codespan=function(t){var e=this.rules.inline.code.exec(t);if(e){var n=e[2].replace(/\n/g," "),i=/[^ ]/.test(n),r=/^ /.test(n)&&/ $/.test(n);return i&&r&&(n=n.substring(1,n.length-1)),n=z(n,!0),{type:"codespan",raw:e[0],text:n}}},e.br=function(t){var e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}},e.del=function(t){var e=this.rules.inline.del.exec(t);if(e)return{type:"del",raw:e[0],text:e[2]}},e.autolink=function(t,e){var n,i,r=this.rules.inline.autolink.exec(t);if(r)return i="@"===r[2]?"mailto:"+(n=z(this.options.mangle?e(r[1]):r[1])):n=z(r[1]),{type:"link",raw:r[0],text:n,href:i,tokens:[{type:"text",raw:n,text:n}]}},e.url=function(t,e){var n;if(n=this.rules.inline.url.exec(t)){var i,r;if("@"===n[2])r="mailto:"+(i=z(this.options.mangle?e(n[0]):n[0]));else{var o;do{o=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(o!==n[0]);i=z(n[0]),r="www."===n[1]?"http://"+i:i}return{type:"link",raw:n[0],text:i,href:r,tokens:[{type:"text",raw:i,text:i}]}}},e.inlineText=function(t,e,n){var i,r=this.rules.inline.text.exec(t);if(r)return i=e?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):z(r[0]):r[0]:z(this.options.smartypants?n(r[0]):r[0]),{type:"text",raw:r[0],text:i}},t}(),B=S,V=O,$=P,Y={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?! {0,3}bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:B,table:B,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};Y.def=V(Y.def).replace("label",Y._label).replace("title",Y._title).getRegex(),Y.bullet=/(?:[*+-]|\d{1,9}[.)])/,Y.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,Y.item=V(Y.item,"gm").replace(/bull/g,Y.bullet).getRegex(),Y.listItemStart=V(/^( *)(bull)/).replace("bull",Y.bullet).getRegex(),Y.list=V(Y.list).replace(/bull/g,Y.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+Y.def.source+")").getRegex(),Y._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Y._comment=/|$)/,Y.html=V(Y.html,"i").replace("comment",Y._comment).replace("tag",Y._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Y.paragraph=V(Y._paragraph).replace("hr",Y.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",Y._tag).getRegex(),Y.blockquote=V(Y.blockquote).replace("paragraph",Y.paragraph).getRegex(),Y.normal=$({},Y),Y.gfm=$({},Y.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n {0,3}([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n {0,3}\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),Y.gfm.nptable=V(Y.gfm.nptable).replace("hr",Y.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",Y._tag).getRegex(),Y.gfm.table=V(Y.gfm.table).replace("hr",Y.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",Y._tag).getRegex(),Y.pedantic=$({},Y.normal,{html:V("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",Y._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:B,paragraph:V(Y.normal._paragraph).replace("hr",Y.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",Y.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var Z={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:B,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",strong:{start:/^(?:(\*\*(?=[*punctuation]))|\*\*)(?![\s])|__/,middle:/^\*\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*\*$|^__(?![\s])((?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?)__$/,endAst:/[^punctuation\s]\*\*(?!\*)|[punctuation]\*\*(?!\*)(?:(?=[punctuation_\s]|$))/,endUnd:/[^\s]__(?!_)(?:(?=[punctuation*\s])|$)/},em:{start:/^(?:(\*(?=[punctuation]))|\*)(?![*\s])|_/,middle:/^\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*$|^_(?![_\s])(?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?_$/,endAst:/[^punctuation\s]\*(?!\*)|[punctuation]\*(?!\*)(?:(?=[punctuation_\s]|$))/,endUnd:/[^\s]_(?!_)(?:(?=[punctuation*\s])|$)/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:B,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~"};Z.punctuation=V(Z.punctuation).replace(/punctuation/g,Z._punctuation).getRegex(),Z._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",Z._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",Z._comment=V(Y._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),Z.em.start=V(Z.em.start).replace(/punctuation/g,Z._punctuation).getRegex(),Z.em.middle=V(Z.em.middle).replace(/punctuation/g,Z._punctuation).replace(/overlapSkip/g,Z._overlapSkip).getRegex(),Z.em.endAst=V(Z.em.endAst,"g").replace(/punctuation/g,Z._punctuation).getRegex(),Z.em.endUnd=V(Z.em.endUnd,"g").replace(/punctuation/g,Z._punctuation).getRegex(),Z.strong.start=V(Z.strong.start).replace(/punctuation/g,Z._punctuation).getRegex(),Z.strong.middle=V(Z.strong.middle).replace(/punctuation/g,Z._punctuation).replace(/overlapSkip/g,Z._overlapSkip).getRegex(),Z.strong.endAst=V(Z.strong.endAst,"g").replace(/punctuation/g,Z._punctuation).getRegex(),Z.strong.endUnd=V(Z.strong.endUnd,"g").replace(/punctuation/g,Z._punctuation).getRegex(),Z.blockSkip=V(Z._blockSkip,"g").getRegex(),Z.overlapSkip=V(Z._overlapSkip,"g").getRegex(),Z._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,Z._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,Z._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,Z.autolink=V(Z.autolink).replace("scheme",Z._scheme).replace("email",Z._email).getRegex(),Z._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,Z.tag=V(Z.tag).replace("comment",Z._comment).replace("attribute",Z._attribute).getRegex(),Z._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Z._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,Z._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,Z.link=V(Z.link).replace("label",Z._label).replace("href",Z._href).replace("title",Z._title).getRegex(),Z.reflink=V(Z.reflink).replace("label",Z._label).getRegex(),Z.reflinkSearch=V(Z.reflinkSearch,"g").replace("reflink",Z.reflink).replace("nolink",Z.nolink).getRegex(),Z.normal=$({},Z),Z.pedantic=$({},Z.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:V(/^!?\[(label)\]\((.*?)\)/).replace("label",Z._label).getRegex(),reflink:V(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Z._label).getRegex()}),Z.gfm=$({},Z.normal,{escape:V(Z.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\.5&&(n="x"+n.toString(16)),i+="&#"+n+";";return i}var W=function(){function e(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||U,this.options.tokenizer=this.options.tokenizer||new j,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var e={block:H.normal,inline:G.normal};this.options.pedantic?(e.block=H.pedantic,e.inline=G.pedantic):this.options.gfm&&(e.block=H.gfm,e.inline=this.options.breaks?G.breaks:G.gfm),this.tokenizer.rules=e}e.lex=function(t,n){return new e(n).lex(t)},e.lexInline=function(t,n){return new e(n).inlineTokens(t)};var n=e.prototype;return n.lex=function(t){return t=t.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(t,this.tokens,!0),this.inline(this.tokens),this.tokens},n.blockTokens=function(t,e,n){void 0===e&&(e=[]),void 0===n&&(n=!0),this.options.pedantic&&(t=t.replace(/^ +$/gm,""));for(var i,r,o,s;t;)if(i=this.tokenizer.space(t))t=t.substring(i.raw.length),i.type&&e.push(i);else if(i=this.tokenizer.code(t,e))t=t.substring(i.raw.length),i.type?e.push(i):((s=e[e.length-1]).raw+="\n"+i.raw,s.text+="\n"+i.text);else if(i=this.tokenizer.fences(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.heading(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.nptable(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.hr(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.blockquote(t))t=t.substring(i.raw.length),i.tokens=this.blockTokens(i.text,[],n),e.push(i);else if(i=this.tokenizer.list(t)){for(t=t.substring(i.raw.length),o=i.items.length,r=0;r0)for(;null!=(o=this.tokenizer.rules.inline.reflinkSearch.exec(l));)c.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,o.index)+"["+J("a",o[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(o=this.tokenizer.rules.inline.blockSkip.exec(l));)l=l.slice(0,o.index)+"["+J("a",o[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;t;)if(s||(a=""),s=!1,r=this.tokenizer.escape(t))t=t.substring(r.raw.length),e.push(r);else if(r=this.tokenizer.tag(t,n,i))t=t.substring(r.raw.length),n=r.inLink,i=r.inRawBlock,e.push(r);else if(r=this.tokenizer.link(t))t=t.substring(r.raw.length),"link"===r.type&&(r.tokens=this.inlineTokens(r.text,[],!0,i)),e.push(r);else if(r=this.tokenizer.reflink(t,this.tokens.links))t=t.substring(r.raw.length),"link"===r.type&&(r.tokens=this.inlineTokens(r.text,[],!0,i)),e.push(r);else if(r=this.tokenizer.strong(t,l,a))t=t.substring(r.raw.length),r.tokens=this.inlineTokens(r.text,[],n,i),e.push(r);else if(r=this.tokenizer.em(t,l,a))t=t.substring(r.raw.length),r.tokens=this.inlineTokens(r.text,[],n,i),e.push(r);else if(r=this.tokenizer.codespan(t))t=t.substring(r.raw.length),e.push(r);else if(r=this.tokenizer.br(t))t=t.substring(r.raw.length),e.push(r);else if(r=this.tokenizer.del(t))t=t.substring(r.raw.length),r.tokens=this.inlineTokens(r.text,[],n,i),e.push(r);else if(r=this.tokenizer.autolink(t,Q))t=t.substring(r.raw.length),e.push(r);else if(n||!(r=this.tokenizer.url(t,Q))){if(r=this.tokenizer.inlineText(t,i,X))t=t.substring(r.raw.length),a=r.raw.slice(-1),s=!0,e.push(r);else if(t){var u="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(u);break}throw new Error(u)}}else t=t.substring(r.raw.length),e.push(r);return e},function(e,n,i){n&&t(e.prototype,n),i&&t(e,i)}(e,null,[{key:"rules",get:function(){return{block:H,inline:G}}}]),e}(),K=o.defaults,tt=M,et=x,nt=function(){function t(t){this.options=t||K}var e=t.prototype;return e.code=function(t,e,n){var i=(e||"").match(/\S*/)[0];if(this.options.highlight){var r=this.options.highlight(t,i);null!=r&&r!==t&&(n=!0,t=r)}return t=t.replace(/\n$/,"")+"\n",i?'
    '+(n?t:et(t,!0))+"
    \n":"
    "+(n?t:et(t,!0))+"
    \n"},e.blockquote=function(t){return"
    \n"+t+"
    \n"},e.html=function(t){return t},e.heading=function(t,e,n,i){return this.options.headerIds?"'+t+"\n":""+t+"\n"},e.hr=function(){return this.options.xhtml?"
    \n":"
    \n"},e.list=function(t,e,n){var i=e?"ol":"ul";return"<"+i+(e&&1!==n?' start="'+n+'"':"")+">\n"+t+"\n"},e.listitem=function(t){return"
  • "+t+"
  • \n"},e.checkbox=function(t){return" "},e.paragraph=function(t){return"

    "+t+"

    \n"},e.table=function(t,e){return e&&(e=""+e+""),"\n\n"+t+"\n"+e+"
    \n"},e.tablerow=function(t){return"\n"+t+"\n"},e.tablecell=function(t,e){var n=e.header?"th":"td";return(e.align?"<"+n+' align="'+e.align+'">':"<"+n+">")+t+"\n"},e.strong=function(t){return""+t+""},e.em=function(t){return""+t+""},e.codespan=function(t){return""+t+""},e.br=function(){return this.options.xhtml?"
    ":"
    "},e.del=function(t){return""+t+""},e.link=function(t,e,n){if(null===(t=tt(this.options.sanitize,this.options.baseUrl,t)))return n;var i='"+n+""},e.image=function(t,e,n){if(null===(t=tt(this.options.sanitize,this.options.baseUrl,t)))return n;var i=''+n+'":">")},e.text=function(t){return t},t}(),it=function(){function t(){}var e=t.prototype;return e.strong=function(t){return t},e.em=function(t){return t},e.codespan=function(t){return t},e.del=function(t){return t},e.html=function(t){return t},e.text=function(t){return t},e.link=function(t,e,n){return""+n},e.image=function(t,e,n){return""+n},e.br=function(){return""},t}(),rt=function(){function t(){this.seen={}}var e=t.prototype;return e.serialize=function(t){return t.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},e.getNextSafeSlug=function(t,e){var n=t,i=0;if(this.seen.hasOwnProperty(n)){i=this.seen[t];do{n=t+"-"+ ++i}while(this.seen.hasOwnProperty(n))}return e||(this.seen[t]=i,this.seen[n]=0),n},e.slug=function(t,e){void 0===e&&(e={});var n=this.serialize(t);return this.getNextSafeSlug(n,e.dryrun)},t}(),ot=o.defaults,st=k,at=function(){function t(t){this.options=t||ot,this.options.renderer=this.options.renderer||new nt,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new it,this.slugger=new rt}t.parse=function(e,n){return new t(n).parse(e)},t.parseInline=function(e,n){return new t(n).parseInline(e)};var e=t.prototype;return e.parse=function(t,e){void 0===e&&(e=!0);var n,i,r,o,s,a,l,c,u,h,d,p,f,g,m,v,_,y,b="",w=t.length;for(n=0;n0&&"text"===m.tokens[0].type?(m.tokens[0].text=y+" "+m.tokens[0].text,m.tokens[0].tokens&&m.tokens[0].tokens.length>0&&"text"===m.tokens[0].tokens[0].type&&(m.tokens[0].tokens[0].text=y+" "+m.tokens[0].tokens[0].text)):m.tokens.unshift({type:"text",text:y}):g+=y),g+=this.parse(m.tokens,f),u+=this.renderer.listitem(g,_,v);b+=this.renderer.list(u,d,p);continue;case"html":b+=this.renderer.html(h.text);continue;case"paragraph":b+=this.renderer.paragraph(this.parseInline(h.tokens));continue;case"text":for(u=h.tokens?this.parseInline(h.tokens):h.text;n+1An error occurred:

    "+ut(l.message+"",!0)+"
    ";throw l}}return ft.options=ft.setOptions=function(t){return lt(ft.defaults,t),dt(ft.defaults),ft},ft.getDefaults=ht,ft.defaults=pt,ft.use=function(t){var e=lt({},t);if(t.renderer&&function(){var n=ft.defaults.renderer||new nt,i=function(e){var i=n[e];n[e]=function(){for(var r=arguments.length,o=new Array(r),s=0;sAn error occurred:

    "+ut(i.message+"",!0)+"
    ";throw i}},ft.Parser=at,ft.parser=at.parse,ft.Renderer=nt,ft.TextRenderer=it,ft.Lexer=W,ft.lexer=W.lex,ft.Tokenizer=j,ft.Slugger=rt,ft.parse=ft,ft}()},5325:function(t){"use strict";var e={};function n(t,i){var r;return"string"!=typeof i&&(i=n.defaultChars),r=function(t){var n,i,r=e[t];if(r)return r;for(r=e[t]=[],n=0;n<128;n++)i=String.fromCharCode(n),r.push(i);for(n=0;n=55296&&l<=57343?"\ufffd\ufffd\ufffd":String.fromCharCode(l),e+=6):240==(248&i)&&e+91114111?c+="\ufffd\ufffd\ufffd\ufffd":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),e+=9):c+="\ufffd";return c})}n.defaultChars=";/?:@&=+$,#",n.componentChars="",t.exports=n},79108:function(t){"use strict";var e={};function n(t,i,r){var o,s,a,l,c,u="";for("string"!=typeof i&&(r=i,i=n.defaultChars),void 0===r&&(r=!0),c=function(t){var n,i,r=e[t];if(r)return r;for(r=e[t]=[],n=0;n<128;n++)i=String.fromCharCode(n),/^[0-9a-z]$/i.test(i)?r.push(i):r.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2));for(n=0;n=55296&&a<=57343){if(a>=55296&&a<=56319&&o+1=56320&&l<=57343){u+=encodeURIComponent(t[o]+t[o+1]),o++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(t[o]);return u}n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",t.exports=n},33923:function(t){"use strict";t.exports=function(t){var e="";return e+=t.protocol||"",e+=t.slashes?"//":"",e+=t.auth?t.auth+"@":"",t.hostname&&-1!==t.hostname.indexOf(":")?e+="["+t.hostname+"]":e+=t.hostname||"",e+=t.port?":"+t.port:"",e+=t.pathname||"",(e+=t.search||"")+(t.hash||"")}},74149:function(t,e,n){"use strict";t.exports.encode=n(79108),t.exports.decode=n(5325),t.exports.format=n(33923),t.exports.parse=n(74652)},74652:function(t){"use strict";function e(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var n=/^([a-z0-9.+-]+:)/i,i=/:[0-9]*$/,r=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,o=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),s=["'"].concat(o),a=["%","/","?",";","#"].concat(s),l=["/","?","#"],c=/^[+a-z0-9A-Z_-]{0,63}$/,u=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,h={javascript:!0,"javascript:":!0},d={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};e.prototype.parse=function(t,e){var i,o,s,p,f,g=t;if(g=g.trim(),!e&&1===t.split("#").length){var m=r.exec(g);if(m)return this.pathname=m[1],m[2]&&(this.search=m[2]),this}var v=n.exec(g);if(v&&(s=(v=v[0]).toLowerCase(),this.protocol=v,g=g.substr(v.length)),(e||v||g.match(/^\/\/[^@\/]+@[^@\/]+/))&&(f="//"===g.substr(0,2))&&!(v&&h[v])&&(g=g.substr(2),this.slashes=!0),!h[v]&&(f||v&&!d[v])){var _,y,b=-1;for(i=0;i127?O+="x":O+=k[M];if(!O.match(c)){var P=x.slice(0,i),E=x.slice(i+1),T=k.match(u);T&&(P.push(T[1]),E.unshift(T[2])),E.length&&(g=E.join(".")+g),this.hostname=P.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),C&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var A=g.indexOf("#");-1!==A&&(this.hash=g.substr(A),g=g.slice(0,A));var I=g.indexOf("?");return-1!==I&&(this.search=g.substr(I),g=g.slice(0,I)),g&&(this.pathname=g),d[s]&&this.hostname&&!this.pathname&&(this.pathname=""),this},e.prototype.parseHost=function(t){var e=i.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)},t.exports=function(t,n){if(t&&t instanceof e)return t;var i=new e;return i.parse(t,n),i}},67545:function(t,e,n){"use strict";n.d(e,{rN:function(){return E},y$:function(){return D},_l:function(){return N}});var i=n(74788),r=n(56693),o=n(59796),s=n(77393),a=n(20377),l=n(85345);class c{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new u(t,this.resultSelector))}}class u extends s.L{constructor(t,e,n=Object.create(null)){super(t),this.resultSelector=e,this.iterators=[],this.active=0,this.resultSelector="function"==typeof e?e:void 0}_next(t){const e=this.iterators;(0,o.k)(t)?e.push(new d(t)):e.push("function"==typeof t[a.hZ]?new h(t[a.hZ]()):new p(this.destination,this,t))}_complete(){const t=this.iterators,e=t.length;if(this.unsubscribe(),0!==e){this.active=e;for(let n=0;nthis.index}hasCompleted(){return this.array.length===this.index}}class p extends l.Ds{constructor(t,e,n){super(t),this.parent=e,this.observable=n,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}[a.hZ](){return this}next(){const t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}}hasValue(){return this.buffer.length>0}hasCompleted(){return 0===this.buffer.length&&this.isComplete}notifyComplete(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}notifyNext(t){this.buffer.push(t),this.parent.checkIterators()}subscribe(){return(0,l.ft)(this.observable,new l.IY(this))}}var f=n(71023),g=n(69457);const m=new class extends g.v{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let n,i=-1,r=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++i0?super.requestAsyncId(t,e,n):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame(()=>t.flush(null))))}recycleAsyncId(t,e,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(t,e,n);0===t.actions.length&&(cancelAnimationFrame(e),t.scheduled=void 0)}});var v=n(26215),_=n(59193),y=n(40205),b=n(97968),w=n(45435),C=n(88002),x=n(15257),k=n(43190),O=n(68307),M=n(5304),S=n(12057),P=n(91211);const E=new i.OlP("HIGHLIGHT_OPTIONS");let T=(()=>{class t{constructor(t,e,n){this._options=n,this._ready=new v.X(null),this.ready=this._ready.asObservable().pipe((0,w.h)(t=>!!t),(0,C.U)(t=>t),(0,x.q)(1)),(0,S.NF)(e)&&t.defaultView.hljs?this._ready.next(t.defaultView.hljs):this._loadLibrary().pipe((0,k.w)(e=>this._options&&this._options.lineNumbersLoader?(t.defaultView.hljs=e,this.loadLineNumbers().pipe((0,O.b)(()=>this._ready.next(e)))):(this._ready.next(e),_.E)),(0,M.K)(t=>(console.error("[HLJS] ",t),_.E))).subscribe()}_loadLibrary(){if(this._options){if(this._options.fullLibraryLoader&&this._options.coreLibraryLoader)return(0,y._)("The full library and the core library were imported, only one of them should be imported!");if(this._options.fullLibraryLoader&&this._options.languages)return(0,y._)("The highlighting languages were imported they are not needed!");if(this._options.coreLibraryLoader&&!this._options.languages)return(0,y._)("The highlighting languages were not imported!");if(!this._options.coreLibraryLoader&&this._options.languages)return(0,y._)("The core library was not imported!");if(this._options.fullLibraryLoader)return this.loadFullLibrary();if(this._options.coreLibraryLoader&&this._options.languages&&Object.keys(this._options.languages).length)return this.loadCoreLibrary().pipe((0,k.w)(t=>this._loadLanguages(t)))}return(0,y._)("Highlight.js library was not imported!")}_loadLanguages(t){return function(...t){const e=t[t.length-1];return"function"==typeof e&&t.pop(),(0,r.n)(t,void 0).lift(new c(e))}(...Object.entries(this._options.languages).map(([e,n])=>A(n()).pipe((0,O.b)(n=>t.registerLanguage(e,n))))).pipe((0,C.U)(()=>t))}loadCoreLibrary(){return A(this._options.coreLibraryLoader())}loadFullLibrary(){return A(this._options.fullLibraryLoader())}loadLineNumbers(){return A(this._options.lineNumbersLoader())}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(S.K0),i.LFG(i.Lbi),i.LFG(E,8))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const A=t=>(0,b.D)(t).pipe((0,w.h)(t=>!!t&&!!t.default),(0,C.U)(t=>t.default));let I=(()=>{class t{constructor(t,e){this._loader=t,this._hljs=null,t.ready.subscribe(t=>{this._hljs=t,e&&e.config&&(t.configure(e.config),t.listLanguages().length<1&&console.error("[HighlightJS]: No languages were registered!"))})}get hljs(){return this._hljs}highlight(t,{language:e,ignoreIllegals:n}){return this._loader.ready.pipe((0,C.U)(i=>i.highlight(t,{language:e,ignoreIllegals:n})))}highlightAuto(t,e){return this._loader.ready.pipe((0,C.U)(n=>n.highlightAuto(t,e)))}highlightElement(t){return this._loader.ready.pipe((0,C.U)(e=>e.highlightElement(t)))}highlightAll(){return this._loader.ready.pipe((0,C.U)(t=>t.highlightAll()))}configure(t){return this._loader.ready.pipe((0,C.U)(e=>e.configure(t)))}registerLanguage(t,e){return this._loader.ready.pipe((0,O.b)(n=>n.registerLanguage(t,e)))}unregisterLanguage(t){return this._loader.ready.pipe((0,O.b)(e=>e.unregisterLanguage(t)))}registerAliases(t,{languageName:e}){return this._loader.ready.pipe((0,O.b)(n=>n.registerAliases(t,{languageName:e})))}listLanguages(){return this._loader.ready.pipe((0,C.U)(t=>t.listLanguages()))}getLanguage(t){return this._loader.ready.pipe((0,C.U)(e=>e.getLanguage(t)))}safeMode(){return this._loader.ready.pipe((0,C.U)(t=>t.safeMode()))}debugMode(){return this._loader.ready.pipe((0,C.U)(t=>t.debugMode()))}lineNumbersBlock(t){return this._loader.ready.pipe((0,w.h)(t=>!!t.lineNumbersBlock),(0,O.b)(e=>e.lineNumbersBlock(t)))}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(T),i.LFG(E,8))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),D=(()=>{class t{constructor(t,e,n,r){this._hljs=e,this._sanitizer=n,this._options=r,this.highlighted=new i.vpe,this._nativeElement=t.nativeElement}ngOnChanges(t){var e;this.code&&(null===(e=null==t?void 0:t.code)||void 0===e?void 0:e.currentValue)&&t.code.currentValue!==t.code.previousValue&&this.highlightElement(this.code,this.languages)}highlightElement(t,e){this.setTextContent(t),this._hljs.highlightAuto(t,e).subscribe(t=>{this.setInnerHTML(t.value||null),this.lineNumbers&&this._options&&this._options.lineNumbersLoader&&this.addLineNumbers(),this.highlighted.emit(t)})}addLineNumbers(){this.destroyLineNumbersObserver(),m.schedule(()=>{this._hljs.lineNumbersBlock(this._nativeElement).subscribe(),this._lineNumbersObs=new MutationObserver(()=>{this._nativeElement.firstElementChild&&"TABLE"===this._nativeElement.firstElementChild.tagName.toUpperCase()&&this._nativeElement.classList.add("hljs-line-numbers"),this.destroyLineNumbersObserver()}),this._lineNumbersObs.observe(this._nativeElement,{childList:!0})})}destroyLineNumbersObserver(){this._lineNumbersObs&&(this._lineNumbersObs.disconnect(),this._lineNumbersObs=null)}setTextContent(t){m.schedule(()=>this._nativeElement.textContent=t)}setInnerHTML(t){m.schedule(()=>this._nativeElement.innerHTML=this._sanitizer.sanitize(i.q3G.HTML,t)||"")}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(I),i.Y36(P.H7),i.Y36(E,8))},t.\u0275dir=i.lG2({type:t,selectors:[["","highlight",""]],hostVars:2,hostBindings:function(t,e){2&t&&i.ekj("hljs",!0)},inputs:{code:["highlight","code"],languages:"languages",lineNumbers:"lineNumbers"},outputs:{highlighted:"highlighted"},features:[i.TTD]}),t})(),N=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},76715:function(t,e,n){"use strict";n.d(e,{lF:function(){return f},JP:function(){return g}});var i=n(74788),r=n(12057),o=n(5478),s=n(58497),a=n(91211),l=n(88002);n(28049);const c=["*"];class u{}const h=new i.OlP("SECURITY_CONTEXT");let d=(()=>{class t{constructor(t,e,n,i,r){this.platform=t,this.securityContext=e,this.http=n,this.sanitizer=r,this.initialMarkedOptions={renderer:new o.Renderer},this.options=i}get options(){return this._options}set options(t){this._options=Object.assign(Object.assign({},this.initialMarkedOptions),t)}get renderer(){return this.options.renderer}set renderer(t){this.options.renderer=t}compile(t,e=!1,n=!1,i=this.options){const r=this.trimIndentation(t),s=e?this.decodeHtml(r):r,a=n?this.renderEmoji(s):s,l=(0,o.parse)(a,i);return this.sanitizer.sanitize(this.securityContext,l)||""}getSource(t){if(!this.http)throw new Error("[ngx-markdown] When using the `src` attribute you *have to* pass the `HttpClient` as a parameter of the `forRoot` method. See README for more information");return this.http.get(t,{responseType:"text"}).pipe((0,l.U)(e=>this.handleExtension(t,e)))}highlight(t){if((0,r.NF)(this.platform)&&"undefined"!=typeof Prism){t||(t=document);const e=t.querySelectorAll('pre code:not([class*="language-"])');Array.prototype.forEach.call(e,t=>t.classList.add("language-none")),Prism.highlightAllUnder(t)}}renderKatex(t,e){if("undefined"==typeof katex||void 0===katex.renderToString)throw new Error("[ngx-markdown] When using the `katex` attribute you *have to* include KaTeX files to `angular.json` or use imports. See README for more information");return t.replace(/\$([^\s][^$]*?[^\s])\$/gm,(t,n)=>katex.renderToString(n,e))}decodeHtml(t){if((0,r.NF)(this.platform)){const e=document.createElement("textarea");return e.innerHTML=t,e.value}return t}handleExtension(t,e){const n=t?t.split("?")[0].split(".").splice(-1).join():null;return"md"!==n?"```"+n+"\n"+e+"\n```":e}renderEmoji(t){if("undefined"==typeof joypixels||void 0===joypixels.shortnameToUnicode)throw new Error("[ngx-markdown] When using the `emoji` attribute you *have to* include Emoji-Toolkit files to `angular.json` or use imports. See README for more information");return joypixels.shortnameToUnicode(t)}trimIndentation(t){if(!t)return"";let e;return t.split("\n").map(t=>{let n=e;return t.length>0&&(n=isNaN(n)?t.search(/\S|$/):Math.min(t.search(/\S|$/),n)),isNaN(e)&&(e=n),n?t.substring(n):t}).join("\n")}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.Lbi),i.LFG(h),i.LFG(s.eN,8),i.LFG(u,8),i.LFG(a.H7))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();var p=(()=>{return(t=p||(p={})).LineHighlight="line-highlight",t.LineNumbers="line-numbers",p;var t})();let f=(()=>{class t{constructor(t,e){this.element=t,this.markdownService=e,this.error=new i.vpe,this.load=new i.vpe,this.ready=new i.vpe,this._emoji=!1,this._katex=!1,this._lineHighlight=!1,this._lineNumbers=!1}get emoji(){return this._emoji}set emoji(t){this._emoji=this.coerceBooleanProperty(t)}get katex(){return this._katex}set katex(t){this._katex=this.coerceBooleanProperty(t)}get lineHighlight(){return this._lineHighlight}set lineHighlight(t){this._lineHighlight=this.coerceBooleanProperty(t)}get lineNumbers(){return this._lineNumbers}set lineNumbers(t){this._lineNumbers=this.coerceBooleanProperty(t)}ngOnChanges(){null==this.data?null==this.src||this.handleSrc():this.handleData()}ngAfterViewInit(){!this.data&&!this.src&&this.handleTransclusion()}render(t,e=!1){let n=this.markdownService.compile(t,e,this.emoji);n=this.katex?this.markdownService.renderKatex(n,this.katexOptions):n,this.element.nativeElement.innerHTML=n,this.handlePlugins(),this.markdownService.highlight(this.element.nativeElement),this.ready.emit()}coerceBooleanProperty(t){return null!=t&&"false"!=`${t}`}handleData(){this.render(this.data)}handleSrc(){this.markdownService.getSource(this.src).subscribe(t=>{this.render(t),this.load.emit(t)},t=>this.error.emit(t))}handleTransclusion(){this.render(this.element.nativeElement.innerHTML,!0)}handlePlugins(){this.lineHighlight&&(this.setPluginClass(this.element.nativeElement,p.LineHighlight),this.setPluginOptions(this.element.nativeElement,{dataLine:this.line,dataLineOffset:this.lineOffset})),this.lineNumbers&&(this.setPluginClass(this.element.nativeElement,p.LineNumbers),this.setPluginOptions(this.element.nativeElement,{dataStart:this.start}))}setPluginClass(t,e){const n=t.querySelectorAll("pre");for(let i=0;i{const r=e[t];if(r){const e=this.toLispCase(t);n.item(i).setAttribute(e,r.toString())}})}toLispCase(t){const e=t.match(/([A-Z])/g);if(!e)return t;let n=t.toString();for(let i=0,r=e.length;i{class t{static forRoot(e){return{ngModule:t,providers:[d,e&&e.loader||[],e&&e.markedOptions||[],{provide:h,useValue:e&&null!=e.sanitize?e.sanitize:i.q3G.HTML}]}}static forChild(){return{ngModule:t}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},61911:function(t,e,n){"use strict";n.r(e),n.d(e,{ucs2decode:function(){return p},ucs2encode:function(){return f},decode:function(){return _},encode:function(){return y},toASCII:function(){return w},toUnicode:function(){return b}});const i=2147483647,r=36,o=/^xn--/,s=/[^\0-\x7F]/,a=/[\x2E\u3002\uFF0E\uFF61]/g,l={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},c=Math.floor,u=String.fromCharCode;function h(t){throw new RangeError(l[t])}function d(t,e){const n=t.split("@");let i="";n.length>1&&(i=n[0]+"@",t=n[1]);const r=function(t,e){const n=[];let i=t.length;for(;i--;)n[i]=e(t[i]);return n}((t=t.replace(a,".")).split("."),e).join(".");return i+r}function p(t){const e=[];let n=0;const i=t.length;for(;n=55296&&r<=56319&&nString.fromCodePoint(...t),g=function(t){return t>=48&&t<58?t-48+26:t>=65&&t<91?t-65:t>=97&&t<123?t-97:r},m=function(t,e){return t+22+75*(t<26)-((0!=e)<<5)},v=function(t,e,n){let i=0;for(t=n?c(t/700):t>>1,t+=c(t/e);t>455;i+=r)t=c(t/35);return c(i+36*t/(t+38))},_=function(t){const e=[],n=t.length;let o=0,s=128,a=72,l=t.lastIndexOf("-");l<0&&(l=0);for(let i=0;i=128&&h("not-basic"),e.push(t.charCodeAt(i));for(let u=l>0?l+1:0;u=n&&h("invalid-input");const l=g(t.charCodeAt(u++));l>=r&&h("invalid-input"),l>c((i-o)/e)&&h("overflow"),o+=l*e;const d=s<=a?1:s>=a+26?26:s-a;if(lc(i/p)&&h("overflow"),e*=p}const d=e.length+1;a=v(o-l,d,0==l),c(o/d)>i-s&&h("overflow"),s+=c(o/d),o%=d,e.splice(o++,0,s)}return String.fromCodePoint(...e)},y=function(t){const e=[],n=(t=p(t)).length;let o=128,s=0,a=72;for(const i of t)i<128&&e.push(u(i));const l=e.length;let d=l;for(l&&e.push("-");d=o&&ec((i-s)/p)&&h("overflow"),s+=(n-o)*p,o=n;for(const f of t)if(fi&&h("overflow"),f===o){let t=s;for(let n=r;;n+=r){const i=n<=a?1:n>=a+26?26:n-a;if(t{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:s}=this,a=function(t,e,n){if(t){if(t instanceof i.L)return t;if(t[r.b])return t[r.b]()}return t||e||n?new i.L(t,e,n):new i.L(o.c)}(t,e,n);if(a.add(s?s.call(a,this.source):this.source||l.v.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),l.v.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(t){try{return this._subscribe(t)}catch(e){l.v.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 i.L?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=u(e))((e,n)=>{let i;i=this.subscribe(e=>{try{t(e)}catch(r){n(r),i&&i.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[s.L](){return this}pipe(...t){return 0===t.length?this:(0,a.U)(t)(this)}toPromise(t){return new(t=u(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function u(t){if(t||(t=l.v.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},46490:function(t,e,n){"use strict";n.d(e,{c:function(){return o}});var i=n(82494),r=n(54449);const o={closed:!0,next(t){},error(t){if(i.v.useDeprecatedSynchronousErrorHandling)throw t;(0,r.z)(t)},complete(){}}},55197:function(t,e,n){"use strict";n.d(e,{L:function(){return r}});var i=n(77393);class r extends i.L{notifyNext(t,e,n,i,r){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}},74235:function(t,e,n){"use strict";n.d(e,{t:function(){return f}});var i=n(79765),r=n(71023),o=n(69457);const s=new class extends o.v{}(class extends r.o{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(t,e,n):t.flush(this)}});var a=n(59178),l=n(77393),c=n(23098);class u extends l.L{constructor(t,e,n=0){super(t),this.scheduler=e,this.delay=n}static dispatch(t){const{notification:e,destination:n}=t;e.observe(n),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(u.dispatch,this.delay,new h(t,this.destination)))}_next(t){this.scheduleMessage(c.P.createNext(t))}_error(t){this.scheduleMessage(c.P.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(c.P.createComplete()),this.unsubscribe()}}class h{constructor(t,e){this.notification=t,this.destination=e}}var d=n(77971),p=n(78858);class f extends i.xQ{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){if(!this.isStopped){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift()}super.next(t)}nextTimeWindow(t){this.isStopped||(this._events.push(new g(this._getNow(),t)),this._trimBufferThenGetEvents()),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,n=e?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,r=n.length;let o;if(this.closed)throw new d.N;if(this.isStopped||this.hasError?o=a.w.EMPTY:(this.observers.push(t),o=new p.W(this,t)),i&&t.add(t=new u(t,i)),e)for(let s=0;se&&(o=Math.max(o,r-e)),o>0&&i.splice(0,o),i}}class g{constructor(t,e){this.time=t,this.value=e}}},79765:function(t,e,n){"use strict";n.d(e,{Yc:function(){return c},xQ:function(){return u}});var i=n(29856),r=n(77393),o=n(59178),s=n(77971),a=n(78858),l=n(29181);class c extends r.L{constructor(t){super(t),this.destination=t}}let u=(()=>{class t extends i.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[l.b](){return new c(this)}lift(t){const e=new h(this,this);return e.operator=t,e}next(t){if(this.closed)throw new s.N;if(!this.isStopped){const{observers:e}=this,n=e.length,i=e.slice();for(let r=0;rnew h(t,e),t})();class h extends u{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):o.w.EMPTY}}},78858:function(t,e,n){"use strict";n.d(e,{W:function(){return r}});var i=n(59178);class r extends i.w{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)}}},77393:function(t,e,n){"use strict";n.d(e,{L:function(){return c}});var i=n(69105),r=n(46490),o=n(59178),s=n(29181),a=n(82494),l=n(54449);class c extends o.w{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=r.c;break;case 1:if(!t){this.destination=r.c;break}if("object"==typeof t){t instanceof c?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new u(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new u(this,t,e,n)}}[s.b](){return this}static create(t,e,n){const i=new c(t,e,n);return i.syncErrorThrowable=!1,i}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 u extends c{constructor(t,e,n,o){super(),this._parentSubscriber=t;let s,a=this;(0,i.m)(e)?s=e:e&&(s=e.next,n=e.error,o=e.complete,e!==r.c&&(a=Object.create(e),(0,i.m)(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=s,this._error=n,this._complete=o}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;a.v.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}=a.v;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):(0,l.z)(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;(0,l.z)(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);a.v.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(),a.v.useDeprecatedSynchronousErrorHandling)throw n;(0,l.z)(n)}}__tryOrSetError(t,e,n){if(!a.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(i){return a.v.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=i,t.syncErrorThrown=!0,!0):((0,l.z)(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}},59178:function(t,e,n){"use strict";n.d(e,{w:function(){return a}});var i=n(59796),r=n(81555),o=n(69105);const s=(()=>{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})();class a{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:e,_ctorUnsubscribe:n,_unsubscribe:l,_subscriptions:u}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,e instanceof a)e.remove(this);else if(null!==e)for(let i=0;it.concat(e instanceof s?e.errors:e),[])}a.EMPTY=((l=new a).closed=!0,l)},82494:function(t,e,n){"use strict";n.d(e,{v:function(){return r}});let i=!1;const r={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 i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=t},get useDeprecatedSynchronousErrorHandling(){return i}}},85345:function(t,e,n){"use strict";n.d(e,{IY:function(){return s},Ds:function(){return a},ft:function(){return l}});var i=n(77393),r=n(29856),o=n(98314);class s extends i.L{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 a extends i.L{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function l(t,e){if(e.closed)return;if(t instanceof r.y)return t.subscribe(e);let n;try{n=(0,o.s)(t)(e)}catch(i){e.error(i)}return n}},52441:function(t,e,n){"use strict";n.d(e,{c:function(){return a},N:function(){return l}});var i=n(79765),r=n(29856),o=n(59178),s=n(51307);class a extends r.y{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 o.w,t.add(this.source.subscribe(new c(this.getSubject(),this))),t.closed&&(this._connection=null,t=o.w.EMPTY)),t}refCount(){return(0,s.x)()(this)}}const l=(()=>{const t=a.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 c extends i.Yc{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()}}}},9112:function(t,e,n){"use strict";n.d(e,{aj:function(){return c}});var i=n(54869),r=n(59796),o=n(55197),s=n(96563),a=n(56693);const l={};function c(...t){let e,n;return(0,i.K)(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&(0,r.k)(t[0])&&(t=t[0]),(0,a.n)(t,n).lift(new u(e))}class u{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new h(t,this.resultSelector))}}class h extends o.L{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(l),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let n=0;n{let n;try{n=t()}catch(i){return void e.error(i)}return(n?(0,r.D)(n):(0,o.c)()).subscribe(e)})}},59193:function(t,e,n){"use strict";n.d(e,{E:function(){return r},c:function(){return o}});var i=n(29856);const r=new i.y(t=>t.complete());function o(t){return t?function(t){return new i.y(e=>t.schedule(()=>e.complete()))}(t):r}},97968:function(t,e,n){"use strict";n.d(e,{D:function(){return h}});var i=n(29856),r=n(98314),o=n(59178),s=n(16554),a=n(94087),l=n(20377),c=n(44072),u=n(69489);function h(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[s.L]}(t))return function(t,e){return new i.y(n=>{const i=new o.w;return i.add(e.schedule(()=>{const r=t[s.L]();i.add(r.subscribe({next(t){i.add(e.schedule(()=>n.next(t)))},error(t){i.add(e.schedule(()=>n.error(t)))},complete(){i.add(e.schedule(()=>n.complete()))}}))})),i})}(t,e);if((0,c.t)(t))return function(t,e){return new i.y(n=>{const i=new o.w;return i.add(e.schedule(()=>t.then(t=>{i.add(e.schedule(()=>{n.next(t),i.add(e.schedule(()=>n.complete()))}))},t=>{i.add(e.schedule(()=>n.error(t)))}))),i})}(t,e);if((0,u.z)(t))return(0,a.r)(t,e);if(function(t){return t&&"function"==typeof t[l.hZ]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new i.y(n=>{const i=new o.w;let r;return i.add(()=>{r&&"function"==typeof r.return&&r.return()}),i.add(e.schedule(()=>{r=t[l.hZ](),i.add(e.schedule(function(){if(n.closed)return;let t,e;try{const n=r.next();t=n.value,e=n.done}catch(i){return void n.error(i)}e?n.complete():(n.next(t),this.schedule())}))})),i})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof i.y?t:new i.y((0,r.s)(t))}},56693:function(t,e,n){"use strict";n.d(e,{n:function(){return s}});var i=n(29856),r=n(55015),o=n(94087);function s(t,e){return e?(0,o.r)(t,e):new i.y((0,r.V)(t))}},22759:function(t,e,n){"use strict";n.d(e,{R:function(){return a}});var i=n(29856),r=n(59796),o=n(69105),s=n(88002);function a(t,e,n,c){return(0,o.m)(n)&&(c=n,n=void 0),c?a(t,e,n).pipe((0,s.U)(t=>(0,r.k)(t)?c(...t):c(t))):new i.y(i=>{l(t,e,function(t){i.next(arguments.length>1?Array.prototype.slice.call(arguments):t)},i,n)})}function l(t,e,n,i,r){let o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){const i=t;t.addEventListener(e,n,r),o=()=>i.removeEventListener(e,n,r)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){const i=t;t.on(e,n),o=()=>i.off(e,n)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){const i=t;t.addListener(e,n),o=()=>i.removeListener(e,n)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let o=0,s=t.length;o1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof a&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof i.y?t[0]:(0,o.J)(e)((0,s.n)(t,n))}},25917:function(t,e,n){"use strict";n.d(e,{of:function(){return s}});var i=n(54869),r=n(56693),o=n(94087);function s(...t){let e=t[t.length-1];return(0,i.K)(e)?(t.pop(),(0,o.r)(t,e)):(0,r.n)(t)}},40205:function(t,e,n){"use strict";n.d(e,{_:function(){return r}});var i=n(29856);function r(t,e){return new i.y(e?n=>e.schedule(o,0,{error:t,subscriber:n}):e=>e.error(t))}function o({error:t,subscriber:e}){e.error(t)}},41291:function(t,e,n){"use strict";n.d(e,{H:function(){return l}});var i=n(29856),r=n(33637),o=n(59796);function s(t){return!(0,o.k)(t)&&t-parseFloat(t)+1>=0}var a=n(54869);function l(t=0,e,n){let o=-1;return s(e)?o=Number(e)<1?1:Number(e):(0,a.K)(e)&&(n=e),(0,a.K)(n)||(n=r.P),new i.y(e=>{const i=s(t)?t:+t-n.now();return n.schedule(c,i,{index:0,period:o,subscriber:e})})}function c(t){const{index:e,period:n,subscriber:i}=t;if(i.next(e),!i.closed){if(-1===n)return i.complete();t.index=e+1,this.schedule(t,n)}}},5304:function(t,e,n){"use strict";n.d(e,{K:function(){return r}});var i=n(85345);function r(t){return function(e){const n=new o(t),i=e.lift(n);return n.caught=i}}class o{constructor(t){this.selector=t}call(t,e){return e.subscribe(new s(t,this.selector,this.caught))}}class s extends i.Ds{constructor(t,e,n){super(t),this.selector=e,this.caught=n}error(t){if(!this.isStopped){let n;try{n=this.selector(t,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const r=new i.IY(this);this.add(r);const o=(0,i.ft)(n,r);o!==r&&this.add(o)}}}},94612:function(t,e,n){"use strict";n.d(e,{b:function(){return r}});var i=n(19773);function r(t,e){return(0,i.zg)(t,e,1)}},54395:function(t,e,n){"use strict";n.d(e,{b:function(){return o}});var i=n(77393),r=n(33637);function o(t,e=r.P){return n=>n.lift(new s(t,e))}class s{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 i.L{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(l,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 l(t){t.debouncedNext()}},95242:function(t,e,n){"use strict";n.d(e,{d:function(){return r}});var i=n(77393);function r(t=null){return e=>e.lift(new o(t))}class o{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new s(t,this.defaultValue))}}class s extends i.L{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},87874:function(t,e,n){"use strict";n.d(e,{g:function(){return s}});var i=n(33637),r=n(77393),o=n(23098);function s(t,e=i.P){const n=function(t){return t instanceof Date&&!isNaN(+t)}(t)?+t-e.now():Math.abs(t);return t=>t.lift(new a(n,e))}class a{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new l(t,this.delay,this.scheduler))}}class l extends r.L{constructor(t,e,n){super(t),this.delay=e,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(t){const e=t.source,n=e.queue,i=t.scheduler,r=t.destination;for(;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){const e=Math.max(0,n[0].time-i.now());this.schedule(t,e)}else this.unsubscribe(),e.active=!1}_schedule(t){this.active=!0,this.destination.add(t.schedule(l.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,n=new c(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(o.P.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(o.P.createComplete()),this.unsubscribe()}}class c{constructor(t,e){this.time=t,this.notification=e}}},87519:function(t,e,n){"use strict";n.d(e,{x:function(){return r}});var i=n(77393);function r(t,e){return n=>n.lift(new o(t,e))}class o{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new s(t,this.compare,this.keySelector))}}class s extends i.L{constructor(t,e,n){super(t),this.keySelector=n,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:n}=this;e=n?n(t):t}catch(i){return this.destination.error(i)}let n=!1;if(this.hasKey)try{const{compare:t}=this;n=t(this.key,e)}catch(i){return this.destination.error(i)}else this.hasKey=!0;n||(this.key=e,this.destination.next(t))}}},45435:function(t,e,n){"use strict";n.d(e,{h:function(){return r}});var i=n(77393);function r(t,e){return function(n){return n.lift(new o(t,e))}}class o{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new s(t,this.predicate,this.thisArg))}}class s extends i.L{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)}}},68939:function(t,e,n){"use strict";n.d(e,{x:function(){return o}});var i=n(77393),r=n(59178);function o(t){return e=>e.lift(new s(t))}class s{constructor(t){this.callback=t}call(t,e){return e.subscribe(new a(t,this.callback))}}class a extends i.L{constructor(t,e){super(t),this.add(new r.w(e))}}},28049:function(t,e,n){"use strict";n.d(e,{P:function(){return c}});var i=n(13410),r=n(45435),o=n(15257),s=n(95242),a=n(44635),l=n(54487);function c(t,e){const n=arguments.length>=2;return c=>c.pipe(t?(0,r.h)((e,n)=>t(e,n,c)):l.y,(0,o.q)(1),n?(0,s.d)(e):(0,a.T)(()=>new i.K))}},88002:function(t,e,n){"use strict";n.d(e,{U:function(){return r}});var i=n(77393);function r(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 o(t,e))}}class o{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 i.L{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)}}},63282:function(t,e,n){"use strict";n.d(e,{J:function(){return o}});var i=n(19773),r=n(54487);function o(t=Number.POSITIVE_INFINITY){return(0,i.zg)(r.y,t)}},19773:function(t,e,n){"use strict";n.d(e,{zg:function(){return s}});var i=n(88002),r=n(97968),o=n(85345);function s(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?o=>o.pipe(s((n,o)=>(0,r.D)(t(n,o)).pipe((0,i.U)((t,i)=>e(n,t,o,i))),n)):("number"==typeof e&&(n=e),e=>e.lift(new a(t,n)))}class a{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new l(t,this.project,this.concurrent))}}class l extends o.Ds{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()}}},59328:function(t,e,n){"use strict";n.d(e,{G:function(){return r}});var i=n(77393);function r(){return t=>t.lift(new o)}class o{call(t,e){return e.subscribe(new s(t))}}class s extends i.L{constructor(t){super(t),this.hasPrev=!1}_next(t){let e;this.hasPrev?e=[this.prev,t]:this.hasPrev=!0,this.prev=t,e&&this.destination.next(e)}}},51307:function(t,e,n){"use strict";n.d(e,{x:function(){return r}});var i=n(77393);function r(){return function(t){return t.lift(new o(t))}}class o{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const i=new s(t,n),r=e.subscribe(i);return i.closed||(i.connection=n.connect()),r}}class s extends i.L{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,i=t._connection;this.connection=null,i&&(!n||i===n)&&i.unsubscribe()}}},79196:function(t,e,n){"use strict";n.d(e,{r:function(){return o}});var i=n(77393),r=n(59193);function o(t=-1){return e=>0===t?(0,r.c)():e.lift(new s(t<0?-1:t-1,e))}class s{constructor(t,e){this.count=t,this.source=e}call(t,e){return e.subscribe(new a(t,this.count,this.source))}}class a extends i.L{constructor(t,e,n){super(t),this.count=e,this.source=n}complete(){if(!this.isStopped){const{source:t,count:e}=this;if(0===e)return super.complete();e>-1&&(this.count=e-1),t.subscribe(this._unsubscribeAndRecycle())}}}},72361:function(t,e,n){"use strict";n.d(e,{a:function(){return o}});var i=n(79765),r=n(85345);function o(t){return e=>e.lift(new s(t))}class s{constructor(t){this.notifier=t}call(t,e){return e.subscribe(new a(t,this.notifier,e))}}class a extends r.Ds{constructor(t,e,n){super(t),this.notifier=e,this.source=n,this.sourceIsBeingSubscribedTo=!0}notifyNext(){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)}notifyComplete(){if(!1===this.sourceIsBeingSubscribedTo)return super.complete()}complete(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return super.complete();this._unsubscribeAndRecycle(),this.notifications.next(void 0)}}_unsubscribe(){const{notifications:t,retriesSubscription:e}=this;t&&(t.unsubscribe(),this.notifications=void 0),e&&(e.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0}_unsubscribeAndRecycle(){const{_unsubscribe:t}=this;return this._unsubscribe=null,super._unsubscribeAndRecycle(),this._unsubscribe=t,this}subscribeToRetries(){let t;this.notifications=new i.xQ;try{const{notifier:e}=this;t=e(this.notifications)}catch(e){return super.complete()}this.retries=t,this.retriesSubscription=(0,r.ft)(t,new r.IY(this))}}},9945:function(t,e,n){"use strict";n.d(e,{B:function(){return a}});var i=n(52441);var r=n(51307),o=n(79765);function s(){return new o.xQ}function a(){return t=>(0,r.x)()(function(t,e){return function(e){let n;n="function"==typeof t?t:function(){return t};const r=Object.create(e,i.N);return r.source=e,r.subjectFactory=n,r}}(s)(t))}},47349:function(t,e,n){"use strict";n.d(e,{d:function(){return r}});var i=n(74235);function r(t,e,n){let r;return r=t&&"object"==typeof t?t:{bufferSize:t,windowTime:e,refCount:!1,scheduler:n},t=>t.lift(function({bufferSize:t=Number.POSITIVE_INFINITY,windowTime:e=Number.POSITIVE_INFINITY,refCount:n,scheduler:r}){let o,s,a=0,l=!1,c=!1;return function(u){let h;a++,!o||l?(l=!1,o=new i.t(t,e,r),h=o.subscribe(this),s=u.subscribe({next(t){o.next(t)},error(t){l=!0,o.error(t)},complete(){c=!0,s=void 0,o.complete()}}),c&&(s=void 0)):h=o.subscribe(this),this.add(()=>{a--,h.unsubscribe(),h=void 0,s&&!c&&n&&0===a&&(s.unsubscribe(),s=void 0,o=void 0)})}}(r))}},13653:function(t,e,n){"use strict";n.d(e,{T:function(){return r}});var i=n(77393);function r(t){return e=>e.lift(new o(t))}class o{constructor(t){this.total=t}call(t,e){return e.subscribe(new s(t,this.total))}}class s extends i.L{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}},39761:function(t,e,n){"use strict";n.d(e,{O:function(){return o}});var i=n(22416),r=n(54869);function o(...t){const e=t[t.length-1];return(0,r.K)(e)?(t.pop(),n=>(0,i.z)(t,n,e)):e=>(0,i.z)(t,e)}},43190:function(t,e,n){"use strict";n.d(e,{w:function(){return s}});var i=n(88002),r=n(97968),o=n(85345);function s(t,e){return"function"==typeof e?n=>n.pipe(s((n,o)=>(0,r.D)(t(n,o)).pipe((0,i.U)((t,i)=>e(n,t,o,i))))):e=>e.lift(new a(t))}class a{constructor(t){this.project=t}call(t,e){return e.subscribe(new l(t,this.project))}}class l extends o.Ds{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const n=new o.IY(this),i=this.destination;i.add(n),this.innerSubscription=(0,o.ft)(t,n),this.innerSubscription!==n&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;(!t||t.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}},15257:function(t,e,n){"use strict";n.d(e,{q:function(){return s}});var i=n(77393),r=n(7108),o=n(59193);function s(t){return e=>0===t?(0,o.c)():e.lift(new a(t))}class a{constructor(t){if(this.total=t,this.total<0)throw new r.W}call(t,e){return e.subscribe(new l(t,this.total))}}class l extends i.L{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}},46782:function(t,e,n){"use strict";n.d(e,{R:function(){return r}});var i=n(85345);function r(t){return e=>e.lift(new o(t))}class o{constructor(t){this.notifier=t}call(t,e){const n=new s(t),r=(0,i.ft)(this.notifier,new i.IY(n));return r&&!n.seenValue?(n.add(r),e.subscribe(n)):n}}class s extends i.Ds{constructor(t){super(t),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},68307:function(t,e,n){"use strict";n.d(e,{b:function(){return s}});var i=n(77393),r=n(98640),o=n(69105);function s(t,e,n){return function(i){return i.lift(new a(t,e,n))}}class a{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new l(t,this.nextOrObserver,this.error,this.complete))}}class l extends i.L{constructor(t,e,n,i){super(t),this._tapNext=r.Z,this._tapError=r.Z,this._tapComplete=r.Z,this._tapError=n||r.Z,this._tapComplete=i||r.Z,(0,o.m)(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||r.Z,this._tapError=e.error||r.Z,this._tapComplete=e.complete||r.Z)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}},43219:function(t,e,n){"use strict";n.d(e,{p:function(){return s}});var i=n(77393),r=n(33637);const o={leading:!0,trailing:!1};function s(t,e=r.P,n=o){return i=>i.lift(new a(t,e,n.leading,n.trailing))}class a{constructor(t,e,n,i){this.duration=t,this.scheduler=e,this.leading=n,this.trailing=i}call(t,e){return e.subscribe(new l(t,this.duration,this.scheduler,this.leading,this.trailing))}}class l extends i.L{constructor(t,e,n,i,r){super(t),this.duration=e,this.scheduler=n,this.leading=i,this.trailing=r,this._hasTrailingValue=!1,this._trailingValue=null}_next(t){this.throttled?this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(c,this.duration,{subscriber:this})),this.leading?this.destination.next(t):this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0))}_complete(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()}clearThrottle(){const t=this.throttled;t&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),t.unsubscribe(),this.remove(t),this.throttled=null)}}function c(t){const{subscriber:e}=t;e.clearThrottle()}},44635:function(t,e,n){"use strict";n.d(e,{T:function(){return o}});var i=n(13410),r=n(77393);function o(t=l){return e=>e.lift(new s(t))}class s{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new a(t,this.errorFactory))}}class a extends r.L{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function l(){return new i.K}},57057:function(t,e,n){"use strict";n.d(e,{M:function(){return o}});var i=n(55197),r=n(96563);function o(...t){return e=>{let n;return"function"==typeof t[t.length-1]&&(n=t.pop()),e.lift(new s(t,n))}}class s{constructor(t,e){this.observables=t,this.project=e}call(t,e){return e.subscribe(new a(t,this.observables,this.project))}}class a extends i.L{constructor(t,e,n){super(t),this.observables=e,this.project=n,this.toRespond=[];const i=e.length;this.values=new Array(i);for(let r=0;r0){const t=i.indexOf(n);-1!==t&&i.splice(t,1)}}notifyComplete(){}_next(t){if(0===this.toRespond.length){const e=[t,...this.values];this.project?this._tryProject(e):this.destination.next(e)}}_tryProject(t){let e;try{e=this.project.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},94087:function(t,e,n){"use strict";n.d(e,{r:function(){return o}});var i=n(29856),r=n(59178);function o(t,e){return new i.y(n=>{const i=new r.w;let o=0;return i.add(e.schedule(function(){o!==t.length?(n.next(t[o++]),n.closed||i.add(this.schedule())):n.complete()})),i})}},71023:function(t,e,n){"use strict";n.d(e,{o:function(){return o}});var i=n(59178);class r extends i.w{constructor(t,e){super()}schedule(t,e=0){return this}}class o extends r{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,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,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,i=!1;try{this.work(t)}catch(r){i=!0,n=!!r&&r||new Error(r)}if(i)return this.unsubscribe(),n}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}},69457:function(t,e,n){"use strict";n.d(e,{v:function(){return r}});let i=(()=>{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 r extends i{constructor(t,e=i.now){super(t,()=>r.delegate&&r.delegate!==this?r.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return r.delegate&&r.delegate!==this?r.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}}}},33637:function(t,e,n){"use strict";n.d(e,{P:function(){return r}});var i=n(71023);const r=new(n(69457).v)(i.o)},20377:function(t,e,n){"use strict";n.d(e,{hZ:function(){return i}});const i="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},16554:function(t,e,n){"use strict";n.d(e,{L:function(){return i}});const i="function"==typeof Symbol&&Symbol.observable||"@@observable"},29181:function(t,e,n){"use strict";n.d(e,{b:function(){return i}});const i="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},7108:function(t,e,n){"use strict";n.d(e,{W:function(){return i}});const i=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})()},13410:function(t,e,n){"use strict";n.d(e,{K:function(){return i}});const i=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})()},77971:function(t,e,n){"use strict";n.d(e,{N:function(){return i}});const i=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})()},54449:function(t,e,n){"use strict";function i(t){setTimeout(()=>{throw t},0)}n.d(e,{z:function(){return i}})},54487:function(t,e,n){"use strict";function i(t){return t}n.d(e,{y:function(){return i}})},59796:function(t,e,n){"use strict";n.d(e,{k:function(){return i}});const i=Array.isArray||(t=>t&&"number"==typeof t.length)},69489:function(t,e,n){"use strict";n.d(e,{z:function(){return i}});const i=t=>t&&"number"==typeof t.length&&"function"!=typeof t},69105:function(t,e,n){"use strict";function i(t){return"function"==typeof t}n.d(e,{m:function(){return i}})},81555:function(t,e,n){"use strict";function i(t){return null!==t&&"object"==typeof t}n.d(e,{K:function(){return i}})},95639:function(t,e,n){"use strict";n.d(e,{b:function(){return r}});var i=n(29856);function r(t){return!!t&&(t instanceof i.y||"function"==typeof t.lift&&"function"==typeof t.subscribe)}},44072:function(t,e,n){"use strict";function i(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,{t:function(){return i}})},54869:function(t,e,n){"use strict";function i(t){return t&&"function"==typeof t.schedule}n.d(e,{K:function(){return i}})},98640:function(t,e,n){"use strict";function i(){}n.d(e,{Z:function(){return i}})},34022:function(t,e,n){"use strict";n.d(e,{z:function(){return r},U:function(){return o}});var i=n(54487);function r(...t){return o(t)}function o(t){return 0===t.length?i.y:1===t.length?t[0]:function(e){return t.reduce((t,e)=>e(t),e)}}},98314:function(t,e,n){"use strict";n.d(e,{s:function(){return u}});var i=n(55015),r=n(54449),o=n(20377),s=n(16554),a=n(69489),l=n(44072),c=n(81555);const u=t=>{if(t&&"function"==typeof t[s.L])return(t=>e=>{const n=t[s.L]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)})(t);if((0,a.z)(t))return(0,i.V)(t);if((0,l.t)(t))return(t=>e=>(t.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,r.z),e))(t);if(t&&"function"==typeof t[o.hZ])return(t=>e=>{const n=t[o.hZ]();for(;;){let t;try{t=n.next()}catch(i){return e.error(i),e}if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof n.return&&e.add(()=>{n.return&&n.return()}),e})(t);{const e=`You provided ${(0,c.K)(t)?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(e)}}},55015:function(t,e,n){"use strict";n.d(e,{V:function(){return i}});const i=t=>e=>{for(let n=0,i=t.length;n{class e{constructor(t,e){this._parent=t,this._name=e?e.name||"unnamed":"",this._properties=e&&e.properties||{},this._zoneDelegate=new c(this,this._parent&&this._parent._zoneDelegate,e)}static assertZonePatched(){if(t.Promise!==T.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 t=e.current;for(;t.parent;)t=t.parent;return t}static get current(){return I.zone}static get currentTask(){return D}static __load_patch(r,o,a=!1){if(T.hasOwnProperty(r)){if(!a&&s)throw Error("Already loaded patch: "+r)}else if(!t["__Zone_disable_"+r]){const s="Zone:"+r;n(s),T[r]=o(t,e,A),i(s,s)}}get parent(){return this._parent}get name(){return this._name}get(t){const e=this.getZoneWith(t);if(e)return e._properties[t]}getZoneWith(t){let e=this;for(;e;){if(e._properties.hasOwnProperty(t))return e;e=e._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,e){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const n=this._zoneDelegate.intercept(this,t,e),i=this;return function(){return i.runGuarded(n,this,arguments,e)}}run(t,e,n,i){I={parent:I,zone:this};try{return this._zoneDelegate.invoke(this,t,e,n,i)}finally{I=I.parent}}runGuarded(t,e=null,n,i){I={parent:I,zone:this};try{try{return this._zoneDelegate.invoke(this,t,e,n,i)}catch(r){if(this._zoneDelegate.handleError(this,r))throw r}}finally{I=I.parent}}runTask(t,e,n){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||b).name+"; Execution: "+this.name+")");if(t.state===w&&(t.type===E||t.type===P))return;const i=t.state!=k;i&&t._transitionTo(k,x),t.runCount++;const r=D;D=t,I={parent:I,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,e,n)}catch(o){if(this._zoneDelegate.handleError(this,o))throw o}}finally{t.state!==w&&t.state!==M&&(t.type==E||t.data&&t.data.isPeriodic?i&&t._transitionTo(x,k):(t.runCount=0,this._updateTaskCount(t,-1),i&&t._transitionTo(w,k,w))),I=I.parent,D=r}}scheduleTask(t){if(t.zone&&t.zone!==this){let e=this;for(;e;){if(e===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);e=e.parent}}t._transitionTo(C,w);const e=[];t._zoneDelegates=e,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(n){throw t._transitionTo(M,C,w),this._zoneDelegate.handleError(this,n),n}return t._zoneDelegates===e&&this._updateTaskCount(t,1),t.state==C&&t._transitionTo(x,C),t}scheduleMicroTask(t,e,n,i){return this.scheduleTask(new u(S,t,e,n,i,void 0))}scheduleMacroTask(t,e,n,i,r){return this.scheduleTask(new u(P,t,e,n,i,r))}scheduleEventTask(t,e,n,i,r){return this.scheduleTask(new u(E,t,e,n,i,r))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||b).name+"; Execution: "+this.name+")");t._transitionTo(O,x,k);try{this._zoneDelegate.cancelTask(this,t)}catch(e){throw t._transitionTo(M,O),this._zoneDelegate.handleError(this,e),e}return this._updateTaskCount(t,-1),t._transitionTo(w,O),t.runCount=0,t}_updateTaskCount(t,e){const n=t._zoneDelegates;-1==e&&(t._zoneDelegates=null);for(let i=0;it.hasTask(n,i),onScheduleTask:(t,e,n,i)=>t.scheduleTask(n,i),onInvokeTask:(t,e,n,i,r,o)=>t.invokeTask(n,i,r,o),onCancelTask:(t,e,n,i)=>t.cancelTask(n,i)};class c{constructor(t,e,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=t,this._parentDelegate=e,this._forkZS=n&&(n&&n.onFork?n:e._forkZS),this._forkDlgt=n&&(n.onFork?e:e._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:e._forkCurrZone),this._interceptZS=n&&(n.onIntercept?n:e._interceptZS),this._interceptDlgt=n&&(n.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:e._interceptCurrZone),this._invokeZS=n&&(n.onInvoke?n:e._invokeZS),this._invokeDlgt=n&&(n.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:e._invokeCurrZone),this._handleErrorZS=n&&(n.onHandleError?n:e._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:e._handleErrorCurrZone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:e._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:e._scheduleTaskCurrZone),this._invokeTaskZS=n&&(n.onInvokeTask?n:e._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:e._invokeTaskCurrZone),this._cancelTaskZS=n&&(n.onCancelTask?n:e._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:e._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const i=n&&n.onHasTask;(i||e&&e._hasTaskZS)&&(this._hasTaskZS=i?n:l,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=t,n.onScheduleTask||(this._scheduleTaskZS=l,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=l,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=l,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this.zone))}fork(t,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,t,e):new a(t,e)}intercept(t,e,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,t,e,n):e}invoke(t,e,n,i,r){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,t,e,n,i,r):e.apply(n,i)}handleError(t,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,t,e)}scheduleTask(t,e){let n=e;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,t,e),n||(n=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=S)throw new Error("Task is missing scheduleFn.");_(e)}return n}invokeTask(t,e,n,i){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,t,e,n,i):e.callback.apply(n,i)}cancelTask(t,e){let n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,t,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");n=e.cancelFn(e)}return n}hasTask(t,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,t,e)}catch(n){this.handleError(t,n)}}_updateTaskCount(t,e){const n=this._taskCounts,i=n[t],r=n[t]=i+e;if(r<0)throw new Error("More tasks executed then were scheduled.");0!=i&&0!=r||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:t})}}class u{constructor(e,n,i,r,o,s){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=e,this.source=n,this.data=r,this.scheduleFn=o,this.cancelFn=s,!i)throw new Error("callback is not defined");this.callback=i;const a=this;this.invoke=e===E&&r&&r.useG?u.invokeTask:function(){return u.invokeTask.call(t,a,this,arguments)}}static invokeTask(t,e,n){t||(t=this),N++;try{return t.runCount++,t.zone.runTask(t,e,n)}finally{1==N&&y(),N--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(w,C)}_transitionTo(t,e,n){if(this._state!==e&&this._state!==n)throw new Error(`${this.type} '${this.source}': can not transition to '${t}', expecting state '${e}'${n?" or '"+n+"'":""}, was '${this._state}'.`);this._state=t,t==w&&(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=o("setTimeout"),d=o("Promise"),p=o("then");let f,g=[],m=!1;function v(e){if(f||t[d]&&(f=t[d].resolve(0)),f){let t=f[p];t||(t=f.then),t.call(f,e)}else t[h](e,0)}function _(t){0===N&&0===g.length&&v(y),t&&g.push(t)}function y(){if(!m){for(m=!0;g.length;){const e=g;g=[];for(let n=0;nI,onUnhandledError:L,microtaskDrainDone:L,scheduleMicroTask:_,showUncaughtError:()=>!a[o("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:L,patchMethod:()=>L,bindArguments:()=>[],patchThen:()=>L,patchMacroTask:()=>L,patchEventPrototype:()=>L,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>L,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>L,wrapWithCurrentZone:()=>L,filterProperties:()=>[],attachOriginToPatched:()=>L,_redefineProperty:()=>L,patchCallbacks:()=>L,nativeScheduleMicroTask:v};let I={parent:null,zone:new a(null,null)},D=null,N=0;function L(){}i("Zone","Zone"),t.Zone=a}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);const t=Object.getOwnPropertyDescriptor,e=Object.defineProperty,n=Object.getPrototypeOf,i=Object.create,r=Array.prototype.slice,o="addEventListener",s="removeEventListener",a=Zone.__symbol__(o),l=Zone.__symbol__(s),c="true",u="false",h=Zone.__symbol__("");function d(t,e){return Zone.current.wrap(t,e)}function p(t,e,n,i,r){return Zone.current.scheduleMacroTask(t,e,n,i,r)}const f=Zone.__symbol__,g="undefined"!=typeof window,m=g?window:void 0,v=g&&m||"object"==typeof self&&self||global;function _(t,e){for(let n=t.length-1;n>=0;n--)"function"==typeof t[n]&&(t[n]=d(t[n],e+"_"+n));return t}function y(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&void 0===t.set)}const b="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,w=!("nw"in v)&&void 0!==v.process&&"[object process]"==={}.toString.call(v.process),C=!w&&!b&&!(!g||!m.HTMLElement),x=void 0!==v.process&&"[object process]"==={}.toString.call(v.process)&&!b&&!(!g||!m.HTMLElement),k={},O=function(t){if(!(t=t||v.event))return;let e=k[t.type];e||(e=k[t.type]=f("ON_PROPERTY"+t.type));const n=this||t.target||v,i=n[e];let r;if(C&&n===m&&"error"===t.type){const e=t;r=i&&i.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===r&&t.preventDefault()}else r=i&&i.apply(this,arguments),null!=r&&!r&&t.preventDefault();return r};function M(n,i,r){let o=t(n,i);if(!o&&r&&t(r,i)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const s=f("on"+i+"patched");if(n.hasOwnProperty(s)&&n[s])return;delete o.writable,delete o.value;const a=o.get,l=o.set,c=i.slice(2);let u=k[c];u||(u=k[c]=f("ON_PROPERTY"+c)),o.set=function(t){let e=this;!e&&n===v&&(e=v),e&&("function"==typeof e[u]&&e.removeEventListener(c,O),l&&l.call(e,null),e[u]=t,"function"==typeof t&&e.addEventListener(c,O,!1))},o.get=function(){let t=this;if(!t&&n===v&&(t=v),!t)return null;const e=t[u];if(e)return e;if(a){let e=a.call(this);if(e)return o.set.call(this,e),"function"==typeof t.removeAttribute&&t.removeAttribute(i),e}return null},e(n,i,o),n[s]=!0}function S(t,e,n){if(e)for(let i=0;ifunction(e,i){const o=n(e,i);return o.cbIdx>=0&&"function"==typeof i[o.cbIdx]?p(o.name,i[o.cbIdx],o,r):t.apply(e,i)})}function I(t,e){t[f("OriginalDelegate")]=e}let D=!1,N=!1;function L(){if(D)return N;D=!0;try{const t=m.navigator.userAgent;(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/")||-1!==t.indexOf("Edge/"))&&(N=!0)}catch(t){}return N}Zone.__load_patch("ZoneAwarePromise",(t,e,n)=>{const i=Object.getOwnPropertyDescriptor,r=Object.defineProperty,o=n.symbol,s=[],a=!0===t[o("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],l=o("Promise"),c=o("then");n.onUnhandledError=t=>{if(n.showUncaughtError()){const e=t&&t.rejection;e?console.error("Unhandled Promise rejection:",e instanceof Error?e.message:e,"; Zone:",t.zone.name,"; Task:",t.task&&t.task.source,"; Value:",e,e instanceof Error?e.stack:void 0):console.error(t)}},n.microtaskDrainDone=()=>{for(;s.length;){const e=s.shift();try{e.zone.runGuarded(()=>{throw e.throwOriginal?e.rejection:e})}catch(t){h(t)}}};const u=o("unhandledPromiseRejectionHandler");function h(t){n.onUnhandledError(t);try{const n=e[u];"function"==typeof n&&n.call(this,t)}catch(i){}}function d(t){return t&&t.then}function p(t){return t}function f(t){return I.reject(t)}const g=o("state"),m=o("value"),v=o("finally"),_=o("parentPromiseValue"),y=o("parentPromiseState"),b=null,w=!1;function C(t,e){return n=>{try{O(t,e,n)}catch(i){O(t,!1,i)}}}const x=function(){let t=!1;return function(e){return function(){t||(t=!0,e.apply(null,arguments))}}},k=o("currentTaskTrace");function O(t,i,o){const l=x();if(t===o)throw new TypeError("Promise resolved with itself");if(t[g]===b){let h=null;try{("object"==typeof o||"function"==typeof o)&&(h=o&&o.then)}catch(c){return l(()=>{O(t,!1,c)})(),t}if(i!==w&&o instanceof I&&o.hasOwnProperty(g)&&o.hasOwnProperty(m)&&o[g]!==b)S(o),O(t,o[g],o[m]);else if(i!==w&&"function"==typeof h)try{h.call(o,l(C(t,i)),l(C(t,!1)))}catch(c){l(()=>{O(t,!1,c)})()}else{t[g]=i;const l=t[m];if(t[m]=o,t[v]===v&&!0===i&&(t[g]=t[y],t[m]=t[_]),i===w&&o instanceof Error){const t=e.currentTask&&e.currentTask.data&&e.currentTask.data.__creationTrace__;t&&r(o,k,{configurable:!0,enumerable:!1,writable:!0,value:t})}for(let e=0;e{try{const i=t[m],r=!!n&&v===n[v];r&&(n[_]=i,n[y]=o);const a=e.run(s,void 0,r&&s!==f&&s!==p?[]:[i]);O(n,!0,a)}catch(i){O(n,!1,i)}},n)}const E=function(){},A=t.AggregateError;class I{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(t){return O(new this(null),!0,t)}static reject(t){return O(new this(null),w,t)}static any(t){if(!t||"function"!=typeof t[Symbol.iterator])return Promise.reject(new A([],"All promises were rejected"));const e=[];let n=0;try{for(let i of t)n++,e.push(I.resolve(i))}catch(o){return Promise.reject(new A([],"All promises were rejected"))}if(0===n)return Promise.reject(new A([],"All promises were rejected"));let i=!1;const r=[];return new I((t,o)=>{for(let s=0;s{i||(i=!0,t(e))},t=>{r.push(t),n--,0===n&&(i=!0,o(new A(r,"All promises were rejected")))})})}static race(t){let e,n,i=new this((t,i)=>{e=t,n=i});function r(t){e(t)}function o(t){n(t)}for(let s of t)d(s)||(s=this.resolve(s)),s.then(r,o);return i}static all(t){return I.allWithCallback(t)}static allSettled(t){return(this&&this.prototype instanceof I?this:I).allWithCallback(t,{thenCallback:t=>({status:"fulfilled",value:t}),errorCallback:t=>({status:"rejected",reason:t})})}static allWithCallback(t,e){let n,i,r=new this((t,e)=>{n=t,i=e}),o=2,s=0;const a=[];for(let c of t){d(c)||(c=this.resolve(c));const t=s;try{c.then(i=>{a[t]=e?e.thenCallback(i):i,o--,0===o&&n(a)},r=>{e?(a[t]=e.errorCallback(r),o--,0===o&&n(a)):i(r)})}catch(l){i(l)}o++,s++}return o-=2,0===o&&n(a),r}constructor(t){const e=this;if(!(e instanceof I))throw new Error("Must be an instanceof Promise.");e[g]=b,e[m]=[];try{const n=x();t&&t(n(C(e,!0)),n(C(e,w)))}catch(n){O(e,!1,n)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return I}then(t,n){var i;let r=null===(i=this.constructor)||void 0===i?void 0:i[Symbol.species];(!r||"function"!=typeof r)&&(r=this.constructor||I);const o=new r(E),s=e.current;return this[g]==b?this[m].push(s,o,t,n):P(this,s,o,t,n),o}catch(t){return this.then(null,t)}finally(t){var n;let i=null===(n=this.constructor)||void 0===n?void 0:n[Symbol.species];(!i||"function"!=typeof i)&&(i=I);const r=new i(E);r[v]=v;const o=e.current;return this[g]==b?this[m].push(o,r,t,t):P(this,o,r,t,t),r}}I.resolve=I.resolve,I.reject=I.reject,I.race=I.race,I.all=I.all;const D=t[l]=t.Promise;t.Promise=I;const N=o("thenPatched");function L(t){const e=t.prototype,n=i(e,"then");if(n&&(!1===n.writable||!n.configurable))return;const r=e.then;e[c]=r,t.prototype.then=function(t,e){return new I((t,e)=>{r.call(this,t,e)}).then(t,e)},t[N]=!0}return n.patchThen=L,D&&(L(D),T(t,"fetch",t=>function(t){return function(e,n){let i=t.apply(e,n);if(i instanceof I)return i;let r=i.constructor;return r[N]||L(r),i}}(t))),Promise[e.__symbol__("uncaughtPromiseErrors")]=s,I}),Zone.__load_patch("toString",t=>{const e=Function.prototype.toString,n=f("OriginalDelegate"),i=f("Promise"),r=f("Error"),o=function(){if("function"==typeof this){const o=this[n];if(o)return"function"==typeof o?e.call(o):Object.prototype.toString.call(o);if(this===Promise){const n=t[i];if(n)return e.call(n)}if(this===Error){const n=t[r];if(n)return e.call(n)}}return e.call(this)};o[n]=e,Function.prototype.toString=o;const s=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":s.call(this)}});let z=!1;if("undefined"!=typeof window)try{const t=Object.defineProperty({},"passive",{get:function(){z=!0}});window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(W){z=!1}const F={useG:!0},R={},j={},B=new RegExp("^"+h+"(\\w+)(true|false)$"),V=f("propagationStopped");function $(t,e){const n=(e?e(t):t)+u,i=(e?e(t):t)+c,r=h+n,o=h+i;R[t]={},R[t][u]=r,R[t][c]=o}function Y(t,e,i,r){const a=r&&r.add||o,l=r&&r.rm||s,d=r&&r.listeners||"eventListeners",p=r&&r.rmAll||"removeAllListeners",g=f(a),m="."+a+":",v=function(t,e,n){if(t.isRemoved)return;const i=t.callback;let r;"object"==typeof i&&i.handleEvent&&(t.callback=t=>i.handleEvent(t),t.originalDelegate=i);try{t.invoke(t,e,[n])}catch(s){r=s}const o=t.options;return o&&"object"==typeof o&&o.once&&e[l].call(e,n.type,t.originalDelegate?t.originalDelegate:t.callback,o),r};function _(n,i,r){if(!(i=i||t.event))return;const o=n||i.target||t,s=o[R[i.type][r?c:u]];if(s){const t=[];if(1===s.length){const e=v(s[0],o,i);e&&t.push(e)}else{const e=s.slice();for(let n=0;n{throw i})}}}const y=function(t){return _(this,t,!1)},b=function(t){return _(this,t,!0)};function C(e,i){if(!e)return!1;let r=!0;i&&void 0!==i.useG&&(r=i.useG);const o=i&&i.vh;let s=!0;i&&void 0!==i.chkDup&&(s=i.chkDup);let v=!1;i&&void 0!==i.rt&&(v=i.rt);let _=e;for(;_&&!_.hasOwnProperty(a);)_=n(_);if(!_&&e[a]&&(_=e),!_||_[g])return!1;const C=i&&i.eventNameToString,x={},k=_[g]=_[a],O=_[f(l)]=_[l],M=_[f(d)]=_[d],S=_[f(p)]=_[p];let P;function E(t,e){return!z&&"object"==typeof t&&t?!!t.capture:z&&e?"boolean"==typeof t?{capture:t,passive:!0}:t?"object"==typeof t&&!1!==t.passive?Object.assign(Object.assign({},t),{passive:!0}):t:{passive:!0}:t}i&&i.prepend&&(P=_[f(i.prepend)]=_[i.prepend]);const T=r?function(t){if(!x.isExisting)return k.call(x.target,x.eventName,x.capture?b:y,x.options)}:function(t){return k.call(x.target,x.eventName,t.invoke,x.options)},A=r?function(t){if(!t.isRemoved){const e=R[t.eventName];let n;e&&(n=e[t.capture?c:u]);const i=n&&t.target[n];if(i)for(let r=0;rfunction(e,n){e[V]=!0,t&&t.apply(e,n)})}function U(t,e,n,i,r){const o=Zone.__symbol__(i);if(e[o])return;const s=e[o]=e[i];e[i]=function(o,a,l){return a&&a.prototype&&r.forEach(function(e){const r=`${n}.${i}::`+e,o=a.prototype;try{if(o.hasOwnProperty(e)){const n=t.ObjectGetOwnPropertyDescriptor(o,e);n&&n.value?(n.value=t.wrapWithCurrentZone(n.value,r),t._redefineProperty(a.prototype,e,n)):o[e]&&(o[e]=t.wrapWithCurrentZone(o[e],r))}else o[e]&&(o[e]=t.wrapWithCurrentZone(o[e],r))}catch(s){}}),s.call(e,o,a,l)},t.attachOriginToPatched(e[i],s)}function H(t,e,n){if(!n||0===n.length)return e;const i=n.filter(e=>e.target===t);if(!i||0===i.length)return e;const r=i[0].ignoreProperties;return e.filter(t=>-1===r.indexOf(t))}function G(t,e,n,i){t&&S(t,H(t,e,n),i)}function J(t){return Object.getOwnPropertyNames(t).filter(t=>t.startsWith("on")&&t.length>2).map(t=>t.substring(2))}Zone.__load_patch("util",(n,a,l)=>{const p=J(n);l.patchOnProperties=S,l.patchMethod=T,l.bindArguments=_,l.patchMacroTask=A;const f=a.__symbol__("BLACK_LISTED_EVENTS"),g=a.__symbol__("UNPATCHED_EVENTS");n[g]&&(n[f]=n[g]),n[f]&&(a[f]=a[g]=n[f]),l.patchEventPrototype=q,l.patchEventTarget=Y,l.isIEOrEdge=L,l.ObjectDefineProperty=e,l.ObjectGetOwnPropertyDescriptor=t,l.ObjectCreate=i,l.ArraySlice=r,l.patchClass=E,l.wrapWithCurrentZone=d,l.filterProperties=H,l.attachOriginToPatched=I,l._redefineProperty=Object.defineProperty,l.patchCallbacks=U,l.getGlobalObjects=()=>({globalSources:j,zoneSymbolEventNames:R,eventNames:p,isBrowser:C,isMix:x,isNode:w,TRUE_STR:c,FALSE_STR:u,ZONE_SYMBOL_PREFIX:h,ADD_EVENT_LISTENER_STR:o,REMOVE_EVENT_LISTENER_STR:s})});const X=f("zoneTask");function Q(t,e,n,i){let r=null,o=null;n+=i;const s={};function a(e){const n=e.data;return n.args[0]=function(){return e.invoke.apply(this,arguments)},n.handleId=r.apply(t,n.args),e}function l(e){return o.call(t,e.data.handleId)}r=T(t,e+=i,n=>function(r,o){if("function"==typeof o[0]){const t={isPeriodic:"Interval"===i,delay:"Timeout"===i||"Interval"===i?o[1]||0:void 0,args:o},n=o[0];o[0]=function(){try{return n.apply(this,arguments)}finally{t.isPeriodic||("number"==typeof t.handleId?delete s[t.handleId]:t.handleId&&(t.handleId[X]=null))}};const r=p(e,o[0],t,a,l);if(!r)return r;const c=r.data.handleId;return"number"==typeof c?s[c]=r:c&&(c[X]=r),c&&c.ref&&c.unref&&"function"==typeof c.ref&&"function"==typeof c.unref&&(r.ref=c.ref.bind(c),r.unref=c.unref.bind(c)),"number"==typeof c||c?c:r}return n.apply(t,o)}),o=T(t,n,e=>function(n,i){const r=i[0];let o;"number"==typeof r?o=s[r]:(o=r&&r[X],o||(o=r)),o&&"string"==typeof o.type?"notScheduled"!==o.state&&(o.cancelFn&&o.data.isPeriodic||0===o.runCount)&&("number"==typeof r?delete s[r]:r&&(r[X]=null),o.zone.cancelTask(o)):e.apply(t,i)})}Zone.__load_patch("legacy",t=>{const e=t[Zone.__symbol__("legacyPatch")];e&&e()}),Zone.__load_patch("queueMicrotask",(t,e,n)=>{n.patchMethod(t,"queueMicrotask",t=>function(t,n){e.current.scheduleMicroTask("queueMicrotask",n[0])})}),Zone.__load_patch("timers",t=>{const e="clear";Q(t,"set",e,"Timeout"),Q(t,"set",e,"Interval"),Q(t,"set",e,"Immediate")}),Zone.__load_patch("requestAnimationFrame",t=>{Q(t,"request","cancel","AnimationFrame"),Q(t,"mozRequest","mozCancel","AnimationFrame"),Q(t,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(t,e)=>{const n=["alert","prompt","confirm"];for(let i=0;ifunction(i,o){return e.current.run(n,t,o,r)})}),Zone.__load_patch("EventTarget",(t,e,n)=>{(function(t,e){e.patchEventPrototype(t,e)})(t,n),function(t,e){if(Zone[e.symbol("patchEventTarget")])return;const{eventNames:n,zoneSymbolEventNames:i,TRUE_STR:r,FALSE_STR:o,ZONE_SYMBOL_PREFIX:s}=e.getGlobalObjects();for(let l=0;l{E("MutationObserver"),E("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(t,e,n)=>{E("IntersectionObserver")}),Zone.__load_patch("FileReader",(t,e,n)=>{E("FileReader")}),Zone.__load_patch("on_property",(t,e,i)=>{!function(t,e){if(w&&!x||Zone[t.symbol("patchEvents")])return;const i=e.__Zone_ignore_on_properties;let r=[];if(C){const e=window;r=r.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const o=function(){try{const t=m.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch(t){}return!1}()?[{target:e,ignoreProperties:["error"]}]:[];G(e,J(e),i&&i.concat(o),n(e))}r=r.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let n=0;n{!function(t,e){const{isBrowser:n,isMix:i}=e.getGlobalObjects();(n||i)&&t.customElements&&"customElements"in t&&e.patchCallbacks(e,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(t,n)}),Zone.__load_patch("XHR",(t,e)=>{!function(t){const u=t.XMLHttpRequest;if(!u)return;const h=u.prototype;let d=h[a],g=h[l];if(!d){const e=t.XMLHttpRequestEventTarget;if(e){const t=e.prototype;d=t[a],g=t[l]}}const m="readystatechange",v="scheduled";function _(t){const i=t.data,s=i.target;s[o]=!1,s[c]=!1;const u=s[r];d||(d=s[a],g=s[l]),u&&g.call(s,m,u);const h=s[r]=()=>{if(s.readyState===s.DONE)if(!i.aborted&&s[o]&&t.state===v){const n=s[e.__symbol__("loadfalse")];if(0!==s.status&&n&&n.length>0){const r=t.invoke;t.invoke=function(){const n=s[e.__symbol__("loadfalse")];for(let e=0;efunction(t,e){return t[i]=0==e[2],t[s]=e[1],w.apply(t,e)}),C=f("fetchTaskAborting"),x=f("fetchTaskScheduling"),k=T(h,"send",()=>function(t,n){if(!0===e.current[x]||t[i])return k.apply(t,n);{const e={target:t,url:t[s],isPeriodic:!1,args:n,aborted:!1},i=p("XMLHttpRequest.send",y,e,_,b);t&&!0===t[c]&&!e.aborted&&i.state===v&&i.invoke()}}),O=T(h,"abort",()=>function(t,i){const r=function(t){return t[n]}(t);if(r&&"string"==typeof r.type){if(null==r.cancelFn||r.data&&r.data.aborted)return;r.zone.cancelTask(r)}else if(!0===e.current[C])return O.apply(t,i)})}(t);const n=f("xhrTask"),i=f("xhrSync"),r=f("xhrListener"),o=f("xhrScheduled"),s=f("xhrURL"),c=f("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function(e,n){const i=e.constructor.name;for(let r=0;r{const e=function(){return t.apply(this,_(arguments,i+"."+o))};return I(e,t),e})(s)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(t,e)=>{function n(e){return function(n){Z(t,e).forEach(i=>{const r=t.PromiseRejectionEvent;if(r){const t=new r(e,{promise:n.promise,reason:n.rejection});i.invoke(t)}})}}t.PromiseRejectionEvent&&(e[f("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),e[f("rejectionHandledHandler")]=n("rejectionhandled"))})},52494:function(t,e,n){"use strict";n.d(e,{ro:function(){return i.r},U5:function(){return o}}),n(49510);var i=n(47258),r=n(74788);let o=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})();n(40635)},49510:function(t,e,n){"use strict";n.d(e,{F:function(){return s}});var i=n(87862),r=n(76991),o=n(74788);let s=(()=>{class t{constructor(t){this.accessor=t,this.maskito=r.A_;const e=t.writeValue.bind(t);t.writeValue=t=>{var n;e((0,r.CV)(String(null!=t?t:""),null!==(n=this.maskito)&&void 0!==n?n:r.A_))}}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(i.Fj))},t.\u0275dir=o.lG2({type:t,selectors:[["input","maskito",""],["textarea","maskito",""]],hostBindings:function(t,e){1&t&&o.NdJ("input",function(t){return e.accessor._handleInput(t.target.value)})("blur",function(){return e.accessor.onTouched()})("compositionstart",function(){return e.accessor._compositionStart()})("compositionend",function(t){return e.accessor._compositionEnd(t.target.value)})},inputs:{maskito:"maskito"},features:[o._Bn([i.Fj,{provide:i.JU,multi:!0,useExisting:i.Fj}])]}),t})()},47258:function(t,e,n){"use strict";n.d(e,{r:function(){return s}});var i=n(97582),r=n(74788),o=n(76991);let s=(()=>{class t{constructor(t,e){this.ngZone=t,this.elementRef=e,this.maskedElement=null,this.maskito=o.A_,this.maskitoElement=o.gI}ngOnChanges(){var t;return(0,i.mG)(this,void 0,void 0,function*(){null===(t=this.maskedElement)||void 0===t||t.destroy();const e=this.maskitoElement,n=yield e(this.elementRef.nativeElement);this.maskitoElement===e&&this.ngZone.runOutsideAngular(()=>{var t;this.maskedElement=new o.C8(n,null!==(t=this.maskito)&&void 0!==t?t:o.A_)})})}ngOnDestroy(){var t;null===(t=this.maskedElement)||void 0===t||t.destroy()}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.R0b),r.Y36(r.SBq))},t.\u0275dir=r.lG2({type:t,selectors:[["","maskito",""]],inputs:{maskito:"maskito",maskitoElement:"maskitoElement"},features:[r.TTD]}),t})()},40635:function(t,e,n){"use strict";n.d(e,{c:function(){return o}});var i=n(76991),r=n(74788);let o=(()=>{class t{transform(t,e){return(0,i.CV)(String(null!=t?t:""),null!=e?e:i.A_)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Yjl({name:"maskito",type:t,pure:!0}),t})()},76991:function(t,e,n){"use strict";n.d(e,{gI:function(){return i},A_:function(){return r},C8:function(){return w},CV:function(){return b}});const i=t=>t.querySelector("input,textarea")||t,r={mask:/^.*$/,preprocessors:[],postprocessors:[],plugins:[],overwriteMode:"shift"};function o(t){return"string"==typeof t}function s(t,e,n,i){let r="";for(let s=e.length;s{const i=e[n];return o(i)?t===i:t.match(i)}):e.test(t)}function l(t,e,n=null){if(a(t.value,e))return t;const{value:i,selection:r}=Array.isArray(e)?function(t,e,n){let i=null,r=null;const l=Array.from(t.value).reduce((a,l,c)=>{const u=a+s(e,a,l,n),h=e[u.length];return o(h)?u+h:l.match(h)?(null===i&&c>=t.selection[0]&&(i=u.length),null===r&&c>=t.selection[1]&&(r=u.length),u+l):u},""),c=s(e,l,"",n);return{value:a(l+c,e)?l+c:l,selection:[null!=i?i:l.length,null!=r?r:l.length]}}(t,e,n):function({value:t,selection:e},n){const[i,r]=e;let o=i,s=r;return{value:Array.from(t).reduce((t,e,a)=>{const l=t+e;return i===a&&(o=t.length),r===a&&(s=t.length),l.match(n)?l:t},""),selection:[o,s]}}(t,e);return{selection:r,value:Array.isArray(e)?i.slice(0,e.length):i}}function c(t,e){if(!Array.isArray(e))return t;const[n,i]=t.selection,r=[],s=Array.from(t.value).reduce((t,s,a)=>{const l=e[a];return a===n&&r.push(t.length),a===i&&r.push(t.length),o(l)&&l===s?t:t+s},"");return r.length<2&&r.push(...new Array(2-r.length).fill(s.length)),{value:s,selection:[r[0],r[1]]}}class u{constructor(t,e){this.initialElementState=t,this.maskOptions=e,this.value="",this.selection=[0,0];const{value:n,selection:i}=l(t,this.getMaskExpression(t));this.value=n,this.selection=i}addCharacters([t,e],n){const{value:i}=this,r=this.getMaskExpression({value:i.slice(0,t)+n+i.slice(e),selection:[t+n.length,t+n.length]}),o={value:i,selection:[t,e]},s=c(o,r),[a,u]=function({value:t,selection:e},n,i){const[r,o]=e;return{value:t,selection:"replace"===("function"==typeof i?i({value:t,selection:e}):i)?[r,r+n.length]:[r,o]}}(s,n,this.maskOptions.overwriteMode).selection,h=s.value.slice(0,a)+n,d=h.length,p=l({value:h+s.value.slice(u),selection:[d,d]},r,o);if(i.slice(0,a)===l({value:h,selection:[d,d]},r,o).value||function(t,...e){return e.every(({value:e,selection:n})=>e===t.value&&n[0]===t.selection[0]&&n[1]===t.selection[1])}(this,p))throw new Error("Invalid mask value");this.value=p.value,this.selection=p.selection}deleteCharacters([t,e]){if(t===e||!e)return;const{value:n}=this,i=this.getMaskExpression({value:n.slice(0,t)+n.slice(e),selection:[t,t]}),r={value:n,selection:[t,e]},o=c(r,i),[s,a]=o.selection,u=l({value:o.value.slice(0,s)+o.value.slice(a),selection:[s,s]},i,r);this.value=u.value,this.selection=u.selection}getMaskExpression(t){const{mask:e}=this.maskOptions;return"function"==typeof e?e(t):e}}class h{constructor(t){this.element=t,this.listeners=[]}listen(t,e,n){const i=e;this.element.addEventListener(t,i,n),this.listeners.push(()=>this.element.removeEventListener(t,i))}destroy(){this.listeners.forEach(t=>t())}}function d(t,e,n){return t.ctrlKey===!!(1&e)&&t.altKey===!!(2&e)&&t.shiftKey===!!(4&e)&&t.metaKey===!!(8&e)&&t.keyCode===n}function p({value:t,selection:e},n){const[i,r]=e;if(i!==r)return[i,r];const o=n?t.slice(i).indexOf("\n")+1||t.length:t.slice(0,r).lastIndexOf("\n")+1;return[n?i:o,n?o:r]}function f({value:t,selection:e},n){const[i,r]=e;return i!==r?[i,r]:(n?[i,r+1]:[i-1,r]).map(e=>Math.min(Math.max(e,0),t.length))}const g=/\s+$/g,m=/^\s+/g,v=/\s/;function _({value:t,selection:e},n){const[i,r]=e;if(i!==r)return[i,r];if(n){const e=t.slice(i),[n]=e.match(m)||[""],r=e.replace(m,"").search(v);return[i,-1!==r?i+n.length+r:t.length]}const o=t.slice(0,r),[s]=o.match(g)||[""],a=o.replace(g,"").split("").reverse().findIndex(t=>t.match(v));return[-1!==a?r-s.length-a:0,r]}function y(t=[]){return(e,...n)=>t.reduce((t,e)=>Object.assign(Object.assign({},t),e(t,...n)),e)}function b(t,e){const n=Object.assign(Object.assign({},r),e),i=y(n.preprocessors),o=y(n.postprocessors),s="string"==typeof t?{value:t,selection:[0,0]}:t,{elementState:a}=i({elementState:s,data:""},"validation"),l=new u(a,n),{value:c,selection:h}=o(l,s);return"string"==typeof t?c:{value:c,selection:h}}class w extends class{constructor(){this.now=null,this.past=[],this.future=[]}undo(){const t=this.past.pop();t&&this.now&&(this.future.push(this.now),this.updateElement(t,"historyUndo"))}redo(){const t=this.future.pop();t&&this.now&&(this.past.push(this.now),this.updateElement(t,"historyRedo"))}updateHistory(t){if(!this.now)return void(this.now=t);const e=this.now.value!==t.value,n=this.now.selection.some((e,n)=>e!==t.selection[n]);!e&&!n||(e&&(this.past.push(this.now),this.future=[]),this.now=t)}updateElement(t,e){this.now=t,this.updateElementState(t,{inputType:e,data:null})}}{constructor(t,e){super(),this.element=t,this.maskitoOptions=e,this.isTextArea="TEXTAREA"===this.element.nodeName,this.eventListener=new h(this.element),this.options=Object.assign(Object.assign({},r),this.maskitoOptions),this.preprocessor=y(this.options.preprocessors),this.postprocessor=y(this.options.postprocessors),this.teardowns=this.options.plugins.map(t=>t(this.element,this.options)),this.ensureValueFitsMask(),this.updateHistory(this.elementState),this.eventListener.listen("keydown",t=>{return d(e=t,1,89)||d(e,5,90)||d(e,12,90)?(t.preventDefault(),this.redo()):function(t){return d(t,1,90)||d(t,8,90)}(t)?(t.preventDefault(),this.undo()):void 0;var e}),"onbeforeinput"in t?this.eventListener.listen("beforeinput",t=>{const e=t.inputType.includes("Forward");switch(this.updateHistory(this.elementState),t.inputType){case"historyUndo":return t.preventDefault(),this.undo();case"historyRedo":return t.preventDefault(),this.redo();case"deleteByCut":case"deleteContentBackward":case"deleteContentForward":return this.handleDelete({event:t,isForward:e,selection:f(this.elementState,e)});case"deleteWordForward":case"deleteWordBackward":return this.handleDelete({event:t,isForward:e,selection:_(this.elementState,e),force:!0});case"deleteSoftLineBackward":case"deleteSoftLineForward":case"deleteHardLineBackward":case"deleteHardLineForward":return this.handleDelete({event:t,isForward:e,selection:p(this.elementState,e),force:!0});case"insertCompositionText":return;case"insertLineBreak":return this.handleEnter(t);default:return this.handleInsert(t,t.data||"")}}):(this.eventListener.listen("keydown",t=>this.handleKeydown(t)),this.eventListener.listen("paste",t=>{var e;return this.handleInsert(t,(null===(e=t.clipboardData)||void 0===e?void 0:e.getData("text/plain"))||"")})),this.eventListener.listen("input",({inputType:t})=>{"insertCompositionText"!==t&&(this.ensureValueFitsMask(),this.updateHistory(this.elementState))}),this.eventListener.listen("compositionend",()=>{this.ensureValueFitsMask(),this.updateHistory(this.elementState)})}get elementState(){const{value:t,selectionStart:e,selectionEnd:n}=this.element;return{value:t,selection:[e||0,n||0]}}get maxLength(){const{maxLength:t}=this.element;return-1===t?1/0:t}destroy(){this.eventListener.destroy(),this.teardowns.forEach(t=>null==t?void 0:t())}updateElementState({value:t,selection:e},n={inputType:"insertText",data:null}){const i=this.elementState.value;this.updateValue(t),this.updateSelectionRange(e),i!==t&&this.dispatchInputEvent(n)}updateSelectionRange([t,e]){var n,i;(this.element.selectionStart!==t||this.element.selectionEnd!==e)&&(null===(i=(n=this.element).setSelectionRange)||void 0===i||i.call(n,t,e))}updateValue(t){this.element.value=t}ensureValueFitsMask(){this.updateElementState(b(this.elementState,this.options))}dispatchInputEvent(t={inputType:"insertText",data:null}){const e="undefined"!=typeof window?window:globalThis;(null==e?void 0:e.InputEvent)&&this.element.dispatchEvent(new InputEvent("input",Object.assign(Object.assign({},t),{bubbles:!0,cancelable:!1})))}handleKeydown(t){const e=t.key,n="Delete"===e;switch(e){case"Backspace":case"Delete":return this.handleDelete({event:t,isForward:n,selection:f(this.elementState,n)});case"Enter":return this.handleEnter(t)}!function({key:t,ctrlKey:e,metaKey:n,altKey:i}){const r=e||n||i,o=/^.$/u.test(t);return!r&&"Backspace"!==t&&o}(t)||this.handleInsert(t,e)}handleDelete({event:t,selection:e,isForward:n,force:i=!1}){const r={value:this.elementState.value,selection:e},[o,s]=r.selection,{elementState:a}=this.preprocessor({elementState:r,data:""},n?"deleteForward":"deleteBackward"),l=new u(a,this.options),[c,h]=a.selection;l.deleteCharacters([c,h]);const d=this.postprocessor(l,r);if(r.value.slice(0,o)+r.value.slice(s)!==d.value||i)return t.preventDefault(),function(t,...e){return e.every(({value:e})=>e===t.value)}(r,a,l,d)?this.updateSelectionRange(n?[h,h]:[c,c]):(this.updateElementState(d,{inputType:"inputType"in t?t.inputType:n?"deleteContentForward":"deleteContentBackward",data:null}),void this.updateHistory(d))}handleInsert(t,e){const n=this.elementState,{elementState:i,data:r=e}=this.preprocessor({data:e,elementState:n},"insert"),o=new u(i,this.options);try{o.addCharacters(i.selection,r)}catch(h){return t.preventDefault()}const[s,a]=i.selection,l=i.value.slice(0,s)+e+i.value.slice(a),c=this.postprocessor(o,n);if(c.value.length>this.maxLength)return t.preventDefault();l!==c.value&&(t.preventDefault(),this.updateElementState(c,{data:e,inputType:"inputType"in t?t.inputType:"insertText"}),this.updateHistory(c))}handleEnter(t){this.isTextArea&&this.handleInsert(t,"\n")}}},14707:function(t,e,n){"use strict";n.d(e,{C:function(){return i}});var i=(()=>{return(t=i||(i={})).MaskitoOptions="mask",t.JavaScript="JavaScript",t.Angular="Angular",t.React="React",t.Vue="Vue",i;var t})()},56791:function(t,e,n){"use strict";var i=n(91211),r=(n(7400),n(58497)),o=n(74788),s=n(56083),a=n(79221),l=n(12057);let c=(()=>{class t extends s._j{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:o.ifc.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?(0,s.vP)(t):t;return d(this._renderer,null,e,"register",[n]),new u(e,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(o.FYo),o.LFG(l.K0))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t})();class u extends s.LC{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new h(this._id,t,e||{},this._renderer)}}class h{constructor(t,e,n,i){this.id=t,this.element=e,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return d(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){var t,e;return null!==(e=null===(t=this._renderer.engine.players[+this.id])||void 0===t?void 0:t.getPosition())&&void 0!==e?e:0}}function d(t,e,n,i,r){return t.setProperty(e,`@@${n}:${i}`,r)}const p="@",f="@.disabled";let g=(()=>{class t{constructor(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=(t,e)=>{e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}createRenderer(t,e){const n=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(n);return t||(t=new m("",n,this.engine),this._rendererCache.set(n,t)),t}const i=e.id,r=e.id+"-"+this._currentId;this._currentId++,this.engine.register(r,t);const o=e=>{Array.isArray(e)?e.forEach(o):this.engine.registerTrigger(i,r,t,e.name,e)};return e.data.animation.forEach(o),new v(this,r,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,n){t>=0&&te(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(t=>{const[e,n]=t;e(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(o.FYo),o.LFG(a.Th),o.LFG(o.R0b))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t})();class m{constructor(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?t=>e.destroyNode(t):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,n,i=!0){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,i)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,i){this.delegate.setAttribute(t,e,n,i)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,i){this.delegate.setStyle(t,e,n,i)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){e.charAt(0)==p&&e==f?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n){return this.delegate.listen(t,e,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class v extends m{constructor(t,e,n,i){super(e,n,i),this.factory=t,this.namespaceId=e}setProperty(t,e,n){e.charAt(0)==p?"."==e.charAt(1)&&e==f?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if(e.charAt(0)==p){const i=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let r=e.substr(1),o="";return r.charAt(0)!=p&&([r,o]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(r)),this.engine.listen(this.namespaceId,i,r,o,t=>{this.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}let _=(()=>{class t extends a.Th{constructor(t,e,n){super(t.body,e,n)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(l.K0),o.LFG(a.Vi),o.LFG(a.NH))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t})();const y=new o.OlP("AnimationModuleType"),b=[{provide:s._j,useClass:c},{provide:a.NH,useFactory:function(){return new a.Ar}},{provide:a.Th,useClass:_},{provide:o.FYo,useFactory:function(t,e,n){return new g(t,e,n)},deps:[i.se,a.Th,o.R0b]}],w=[{provide:a.Vi,useFactory:function(){return(0,a.QN)()?new a.DT:new a.uL}},{provide:y,useValue:"BrowserAnimations"},...b],C=[{provide:a.Vi,useClass:a.nV},{provide:y,useValue:"NoopAnimations"},...b];let x=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?C:w}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({providers:w,imports:[i.b2]}),t})();var k=n(68159),O=n(82847),M=n(75452),S=n(76715),P=n(32960),E=n(79456),T=n(23358),A=n.n(T);const I=new o.OlP("Config for DOMPurify",{factory:()=>({}),providedIn:"root"}),D=new o.OlP("Hooks for DOMPurify",{factory:()=>[],providedIn:"root"}),N=new o.OlP("A function that sanitizes value for a CSS rule",{factory:()=>t=>t,providedIn:"root"}),L=A();let z=(()=>{class t{constructor(t,e,{defaultView:n},i){this.config=t,this.sanitizeStyle=e,this.domPurify=L(n),i.forEach(({name:t,hook:e})=>{this.domPurify.addHook(t,e)})}sanitize(t,e,n=this.config){if(t===o.q3G.SCRIPT)throw new Error("DOMPurify does not support SCRIPT context");return t===o.q3G.STYLE?this.sanitizeStyle(String(e)):this.domPurify.sanitize(String(e||""),n)}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(I),o.LFG(N),o.LFG(l.K0),o.LFG(D))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var F=n(86561);let R=(()=>{class t{constructor(){this.stackblitzStarterPath="/stackblitz"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["my-app"]],features:[o._Bn([{provide:E.hm,useClass:z}])],decls:5,vars:1,consts:[["ngProjectAs","tuiDocHeader",5,["tuiDocHeader"]],["href","https://github.com/taiga-family/maskito","icon","assets/icons/github.svg","iconAlign","left","rel","noreferrer","target","_blank","title","Maskito source code on GitHub","tuiLink","","tuiMode","onLight",1,"link"],["href","https://t.me/taiga_ui/10600","icon","assets/icons/telegram.svg","iconAlign","left","rel","noreferrer","target","_blank","title","Get help on Telegram","tuiLink","","tuiMode","onLight",1,"link"],["icon","assets/icons/stackblitz.svg","iconAlign","left","title","Maskito StackBlitz Starter","tuiLink","","tuiMode","onLight",1,"link",3,"routerLink"]],template:function(t,e){1&t&&(o.TgZ(0,"tui-doc-main"),o.ynx(1,0),o._UZ(2,"a",1),o._UZ(3,"a",2),o._UZ(4,"a",3),o.BQk(),o.qZA()),2&t&&(o.xp6(4),o.Q6J("routerLink",e.stackblitzStarterPath))},directives:[k.$5,O.V,M.w,F.yS],styles:["[_nghost-%COMP%]{font:var(--tui-font-text-m);color:var(--tui-text-01)}.link[_ngcontent-%COMP%]{margin-left:1rem}"],changeDetection:0}),t})();var j=n(97582),B=n(14707),V=n(64548),$=n(67545),Y=n(89570),Z=n(54789);const q=new Y.Al((()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["angular-logo"]],decls:1,vars:0,consts:[["src","assets/icons/angular.svg"]],template:function(t,e){1&t&&o._UZ(0,"tui-svg",0)},directives:[Z.PN],encapsulation:2,changeDetection:0}),t})());let U=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[Z.EI]]}),t})();const H=new Y.Al((()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["javascript-logo"]],decls:1,vars:0,consts:[["src","assets/icons/javascript.svg"]],template:function(t,e){1&t&&o._UZ(0,"tui-svg",0)},directives:[Z.PN],encapsulation:2,changeDetection:0}),t})()),G=new Y.Al((()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["react-logo"]],decls:1,vars:0,consts:[["src","assets/icons/react.svg"]],template:function(t,e){1&t&&o._UZ(0,"tui-svg",0)},directives:[Z.PN],encapsulation:2,changeDetection:0}),t})()),J=new Y.Al((()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["vue-logo"]],decls:1,vars:0,consts:[["src","assets/icons/vue.svg"]],template:function(t,e){1&t&&o._UZ(0,"tui-svg",0)},directives:[Z.PN],encapsulation:2,changeDetection:0}),t})()),X=new Y.Al((()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["logo"]],decls:5,vars:0,consts:[["routerLink","/","tuiLink","",1,"logo-link"],[1,"logo-name"],["alt","Maskito logo","src","assets/icons/maskito.svg",1,"logo"],["alt","by Tinkoff","src","assets/icons/by.svg",1,"by"]],template:function(t,e){1&t&&(o.TgZ(0,"a",0),o.TgZ(1,"span",1),o._UZ(2,"img",2),o._uU(3," Maskito "),o.qZA(),o.qZA(),o._UZ(4,"img",3))},directives:[F.yS,O.V],styles:["[_nghost-%COMP%]{display:flex;align-items:center}[_nghost-%COMP%] tui-root._mobile[_nghost-%COMP%], tui-root._mobile [_nghost-%COMP%]{font-size:0}.logo-link[_ngcontent-%COMP%]{display:flex}.logo-name[_ngcontent-%COMP%]{display:flex;color:var(--tui-text-01)}.logo[_ngcontent-%COMP%]{margin-right:.625rem}.by[_ngcontent-%COMP%]{margin-left:.875rem}tui-root._mobile[_nghost-%COMP%] .by[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .by[_ngcontent-%COMP%]{display:none}"],changeDetection:0}),t})()),Q=[{provide:l.S$,useClass:l.b0},{provide:V.Yx,useValue:"Maskito | "},{provide:V.Or,useValue:X},{provide:V.AC,useValue:["Description and examples","API"]},{provide:V.V5,useValue:[{section:"Getting started",title:"What is Maskito?",route:"getting-started/what-is-maskito",keywords:"getting, started, what, is, maskito"},{section:"Getting started",title:"Maskito libraries",route:"getting-started/maskito-libraries",keywords:"install, package, packages, maskito, npm, setup, explore, ecosystem"},{section:"Core concepts",title:"Overview",route:"core-concepts/overview",keywords:"core, concepts, overview"},{section:"Core concepts",title:"Mask expression",route:"core-concepts/mask-expression",keywords:"core, concepts, mask, expression, reg, exp, fixed"},{section:"Core concepts",title:"Element state",route:"core-concepts/element-state",keywords:"core, concepts, element, state"},{section:"Core concepts",title:"Processors",route:"core-concepts/processors",keywords:"core, concepts, preprocessor, postprocessor, processor, element, state, elementState"},{section:"Core concepts",title:"Plugins",route:"core-concepts/plugins",keywords:"core, concepts, extension, event, focus, blur"},{section:"Core concepts",title:"Overwrite mode",route:"core-concepts/overwrite-mode",keywords:"core, concepts, overwrite, mode, shift, replace"},{section:"Core concepts",title:"Transformer",route:"core-concepts/transformer",keywords:"core, concepts, programmatic, patch, set, update, value"},{section:"Frameworks",title:"Angular",route:"frameworks/angular",keywords:"ng, angular, framework, addon"},{section:"Frameworks",title:"React",route:"frameworks/react",keywords:"react, framework, addon"},{section:"Frameworks",title:"Vue",route:"frameworks/vue",keywords:"vue, framework, addon"},{section:"Kit",title:"Number",route:"kit/number",keywords:"digit, number, money, mask, kit, generator"},{section:"Kit",title:"Time",route:"kit/time",keywords:"time, hour, minute, second, mask, kit, generator"},{section:"Kit",title:"Date",route:"kit/date",keywords:"date, day, month, year, mask, kit, generator"},{section:"Kit",title:"DateRange",route:"kit/date-range",keywords:"date, day, month, year, mask, range, kit, generator"},{section:"Kit",title:"DateTime",route:"kit/date-time",keywords:"date, day, month, year, mask, time, date-time, hour, minute, second, kit, generator"},{section:"Addons",title:"@maskito/phone",route:"addons/phone",keywords:"phone, libphonenumber, international, generator"},{section:"Recipes",title:"Card",route:"recipes/card",keywords:"card, credit, cvv, debit, mask, recipe"},{section:"Recipes",title:"Phone",route:"recipes/phone",keywords:"phone, mobile, tel, telephone, mask, recipe"},{section:"Recipes",title:"Textarea",route:"recipes/textarea",keywords:"textarea, latin, mask, recipe"},{section:"Recipes",title:"With prefix",route:"recipes/prefix",keywords:"prefix, before, recipe"},{section:"Recipes",title:"With postfix",route:"recipes/postfix",keywords:"postfix, after, percent, am, pm, recipe"},{section:"Recipes",title:"With placeholder",route:"recipes/placeholder",keywords:"guide, placeholder, fill, recipe"},{section:"Other",title:"Browser support",route:"browser-support",keywords:"chrome, safari, ie, edge, firefox, browser, support"},{section:"Other",title:"Changelog",route:"changelog",keywords:"changelog, release, version, history"}]},{provide:V.yO,useValue:t=>{const e="https://github.com/taiga-family/maskito/tree/main/projects";return t.path?`${e}/${t.path}`:t.package&&"kit"===t.package.toLowerCase()?`${e}/${t.package.toLowerCase()}/src/lib/masks/${(t.header[0].toLowerCase()+t.header.slice(1)).replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}`:null}},{provide:V.lW,useClass:P.StackblitzService},{provide:V.$_,useValue:t=>{const e=Object.keys(t);return 1===e.length&&e[0]===B.C.MaskitoOptions?Object.assign(Object.assign({},t),{[B.C.JavaScript]:"import {Maskito, MaskitoOptions} from '@maskito/core';\nimport maskitoOptions from './mask';\n\nconst element = document.querySelector('input,textarea')!;\nconst maskedInput = new Maskito(element, maskitoOptions);\n\n// Call this function when the element is detached from DOM\nmaskedInput.destroy();",[B.C.Angular]:"import {Component} from '@angular/core';\nimport {MaskitoModule} from '@maskito/angular';\nimport type {MaskitoOptions} from '@maskito/core';\n\nimport mask from './mask';\n\n@Component({\n selector: 'my-app',\n standalone: true,\n imports: [MaskitoModule],\n template: '',\n})\nexport class App {\n readonly options: MaskitoOptions = mask;\n}",[B.C.React]:"import * as React from 'react';\nimport {useMaskito} from '@maskito/react';\n\nimport options from './mask';\n\nexport default function App() {\n const maskedInputRef = useMaskito({options});\n\n return ;\n}",[B.C.Vue]:"import {createApp} from 'vue';\nimport {maskito} from '@maskito/vue';\n\nimport options from './mask';\n\nconst app = createApp({\n template: '',\n directives: {maskito},\n data: () => ({ options }),\n});"}):t}},(0,k.hs)({codeEditorVisibilityHandler:t=>{const e=Object.keys(t);return e.includes(B.C.MaskitoOptions)&&e.includes(B.C.JavaScript)},tabTitles:new Map([[B.C.JavaScript,H],[B.C.Angular,q],[B.C.React,G],[B.C.Vue,J]])}),{provide:$.rN,useFactory:()=>{const t=(0,l.NF)((0,o.f3M)(o.Lbi));return{coreLibraryLoader:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return n.e(9358).then(n.bind(n,29358))}),lineNumbersLoader:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return t?n.e(9022).then(n.t.bind(n,89022,23)):Promise.resolve()}),languages:{typescript:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return n.e(3377).then(n.bind(n,63377))}),less:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return n.e(4249).then(n.bind(n,94249))}),xml:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return n.e(3088).then(n.bind(n,83088))})}}}}],W=[{path:"getting-started/what-is-maskito",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return Promise.all([n.e(8592),n.e(3820)]).then(n.bind(n,43820)).then(t=>t.WhatIsMaskitoDocPageModule)}),data:{title:"What is Maskito?"}},{path:"getting-started/maskito-libraries",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return n.e(439).then(n.bind(n,70439)).then(t=>t.MaskitoLibrariesDocPageModule)}),data:{title:"Maskito libraries"}},{path:"core-concepts/overview",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return Promise.all([n.e(8592),n.e(8642)]).then(n.bind(n,8642)).then(t=>t.CoreConceptsOverviewDocPageModule)}),data:{title:"Core concepts"}},{path:"core-concepts/mask-expression",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return Promise.all([n.e(8592),n.e(55)]).then(n.bind(n,30055)).then(t=>t.MaskExpressionDocPageModule)}),data:{title:"Mask expression"}},{path:"core-concepts/element-state",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return n.e(4533).then(n.bind(n,54533)).then(t=>t.ElementStateDocPageModule)}),data:{title:"Element state"}},{path:"core-concepts/processors",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return Promise.all([n.e(8592),n.e(9380)]).then(n.bind(n,19380)).then(t=>t.ProcessorsDocPageModule)}),data:{title:"Processors"}},{path:"core-concepts/plugins",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return Promise.all([n.e(8592),n.e(5115)]).then(n.bind(n,35115)).then(t=>t.PluginsDocPageModule)}),data:{title:"Plugins"}},{path:"core-concepts/overwrite-mode",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return Promise.all([n.e(3506),n.e(8592),n.e(7057)]).then(n.bind(n,7057)).then(t=>t.OverwriteModeDocPageModule)}),data:{title:"Overwrite mode"}},{path:"core-concepts/transformer",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return Promise.all([n.e(8592),n.e(2022)]).then(n.bind(n,72022)).then(t=>t.TransformerDocPageModule)}),data:{title:"Transformer"}},{path:"frameworks/angular",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return n.e(1434).then(n.bind(n,31434)).then(t=>t.AngularDocPageModule)}),data:{title:"Angular"}},{path:"frameworks/react",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return Promise.all([n.e(2473),n.e(9176)]).then(n.bind(n,9176)).then(t=>t.ReactDocPageModule)}),data:{title:"React"}},{path:"frameworks/vue",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return n.e(7027).then(n.bind(n,27027)).then(t=>t.VueDocPageModule)}),data:{title:"Vue"}},{path:"kit/number",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return n.e(5380).then(n.bind(n,45380)).then(t=>t.NumberMaskDocModule)}),data:{title:"Number"}},{path:"kit/time",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return n.e(2139).then(n.bind(n,42139)).then(t=>t.TimeMaskDocModule)}),data:{title:"Time"}},{path:"kit/date",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return n.e(5828).then(n.bind(n,95828)).then(t=>t.DateMaskDocModule)}),data:{title:"Date"}},{path:"kit/date-range",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return n.e(6180).then(n.bind(n,76180)).then(t=>t.DateRangeMaskDocModule)}),data:{title:"DateRange"}},{path:"kit/date-time",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return n.e(5439).then(n.bind(n,15439)).then(t=>t.DateTimeMaskDocModule)}),data:{title:"DateTime"}},{path:"recipes/card",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return n.e(6275).then(n.bind(n,16275)).then(t=>t.CardDocModule)}),data:{title:"Card"}},{path:"recipes/phone",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return Promise.all([n.e(8592),n.e(3355)]).then(n.bind(n,63355)).then(t=>t.PhoneDocModule)}),data:{title:"Phone"}},{path:"addons/phone",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return Promise.all([n.e(8592),n.e(1510)]).then(n.bind(n,21510)).then(t=>t.PhoneDocModule)}),data:{title:"Phone"}},{path:"recipes/textarea",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return Promise.all([n.e(3506),n.e(9544)]).then(n.bind(n,39544)).then(t=>t.TextareaDocModule)}),data:{title:"Textarea"}},{path:"recipes/prefix",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return n.e(4272).then(n.bind(n,24272)).then(t=>t.PrefixDocModule)}),data:{title:"With prefix"}},{path:"recipes/postfix",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return n.e(7989).then(n.bind(n,77989)).then(t=>t.PostfixDocModule)}),data:{title:"With postfix"}},{path:"recipes/placeholder",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return Promise.all([n.e(8592),n.e(1103)]).then(n.bind(n,81103)).then(t=>t.PlaceholderDocModule)}),data:{title:"With placeholder"}},{path:"browser-support",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return n.e(6549).then(n.bind(n,76549)).then(t=>t.BrowserSupportModule)}),data:{title:"Browser support"}},{path:"changelog",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return n.e(1326).then(n.bind(n,31326)).then(t=>t.ChangelogModule)}),data:{title:"Changelog"}},{path:"stackblitz",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return Promise.resolve().then(n.bind(n,32960)).then(t=>t.StackblitzStarterModule)}),data:{title:"Stackblitz Starter"}},{path:"cypress",loadChildren:()=>(0,j.mG)(void 0,void 0,void 0,function*(){return Promise.all([n.e(2473),n.e(3276)]).then(n.bind(n,3276)).then(t=>t.CypressDocPageModule)}),data:{title:"Cypress tests \ud83e\udd2b"}},{path:"**",redirectTo:"getting-started/what-is-maskito"}];let K=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[F.Bz.forRoot(W,{initialNavigation:"enabledBlocking",relativeLinkResolution:"corrected",scrollPositionRestoration:"enabled"})],F.Bz]}),t})(),tt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[O.j,F.Bz]]}),t})(),et=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t,bootstrap:[R]}),t.\u0275inj=o.cJS({providers:Q,imports:[[i.b2.withServerTransition({appId:"demo"}),K,x,r.JF,tt,S.JP.forRoot({loader:r.eN,sanitize:o.q3G.NONE}),k.qn,O.j,M.z,P.StackblitzEditButtonModule,U]]}),t})();document.addEventListener("DOMContentLoaded",()=>{i.q6().bootstrapModule(et).then(t=>{const e=window;e.ngRef&&e.ngRef.destroy(),e.ngRef=t}).catch(console.error)})},32960:function(t,e,n){"use strict";n.r(e),n.d(e,{StackblitzEditButtonComponent:function(){return o},StackblitzEditButtonModule:function(){return s},StackblitzService:function(){return S},StackblitzStarterComponent:function(){return E},StackblitzStarterModule:function(){return A}});var i=n(74788),r=n(12628);let o=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Xpm({type:t,selectors:[["stackblitz-edit-button"]],decls:2,vars:0,consts:[["appearance","flat","icon","assets/icons/stackblitz.svg","size","s","title","Edit on StackBlitz","tuiButton","","type","button"]],template:function(t,e){1&t&&(i.TgZ(0,"button",0),i._uU(1," Edit "),i.qZA())},directives:[r.v0],styles:["@media screen and (max-width: 47.9625em){button[_ngcontent-%COMP%]{font-size:0;margin-right:-1rem}}"],changeDetection:0}),t})(),s=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[r.fN]]}),t})();var a=n(97582),l=n(12057),c=n(44427),u=n(14707);const h=["angular-cli","create-react-app","html","javascript","node","polymer","typescript","vue"],d=["project","search","ports","settings"],p=["light","dark"],f=["editor","preview"],g={clickToLoad:t=>v("ctl",t),devToolsHeight:t=>_("devtoolsheight",t),forceEmbedLayout:t=>v("embed",t),hideDevTools:t=>v("hidedevtools",t),hideExplorer:t=>v("hideExplorer",t),hideNavigation:t=>v("hideNavigation",t),openFile:t=>b("file",t),showSidebar:t=>{return e=t,"boolean"==typeof e?"showSidebar="+(e?"1":"0"):"";var e},sidebarView:t=>y("sidebarView",t,d),startScript:t=>b("startScript",t),terminalHeight:t=>_("terminalHeight",t),theme:t=>y("theme",t,p),view:t=>y("view",t,f),zenMode:t=>v("zenMode",t)};function m(t={}){const e=Object.entries(t).map(([t,e])=>null!=e&&g.hasOwnProperty(t)?g[t](e):"").filter(Boolean);return e.length?`?${e.join("&")}`:""}function v(t,e){return!0===e?`${t}=1`:""}function _(t,e){if("number"==typeof e&&!Number.isNaN(e)){const n=Math.min(100,Math.max(0,e));return`${t}=${encodeURIComponent(Math.round(n))}`}return""}function y(t,e="",n=[]){return n.includes(e)?`${t}=${encodeURIComponent(e)}`:""}function b(t,e){return(Array.isArray(e)?e:[e]).filter(t=>"string"==typeof t&&""!==t.trim()).map(e=>`${t}=${encodeURIComponent(e)}`).join("&")}function w(t,e){return`${C(e)}${t}${m(e)}`}function C(t={}){return("string"==typeof t.origin?t.origin:"https://stackblitz.com").replace(/\/$/,"")}function x(t){return t&&!1===t.newWindow?"_self":"_blank"}function k({template:t,title:e,description:n,dependencies:i,files:r,settings:o}){if(!h.includes(t)){const t=h.map(t=>`'${t}'`).join(", ");console.warn(`Unsupported project.template: must be one of ${t}`)}const s=[],a=(t,e,n="")=>{s.push(function(t,e){const n=document.createElement("input");return n.type="hidden",n.name=t,n.value=e,n}(t,"string"==typeof e?e:n))};a("project[title]",e),"string"==typeof n&&n.length>0&&a("project[description]",n),a("project[template]",t,"javascript"),i&&("node"===t?console.warn("Invalid project.dependencies: dependencies must be provided as a 'package.json' file when using the 'node' template."):a("project[dependencies]",JSON.stringify(i))),o&&a("project[settings]",JSON.stringify(o)),Object.entries(r).forEach(([t,e])=>{a(`project[files][${function(t){return t.replace(/\[/g,"%5B").replace(/\]/g,"%5D")}(t)}]`,e)});const l=document.createElement("form");return l.method="POST",l.setAttribute("style","display:none!important;"),l.append(...s),l}const O=function(t,e){!function(t,e){const n=k(t);n.action=w("/run",e),n.target=x(e),document.body.appendChild(n),n.submit(),document.body.removeChild(n)}(t,e)};var M=n(89570);let S=(()=>{class t{constructor(){this.baseProjectConfigs={template:"typescript",dependencies:{"@maskito/core":"*","@maskito/kit":"*"}},this.name="Stackblitz",this.content=new M.Al(o)}edit(t,e,i){return(0,a.mG)(this,void 0,void 0,function*(){const[r,o]=yield Promise.all([n.e(1223).then(n.t.bind(n,51223,17)),n.e(4930).then(n.t.bind(n,64930,17))].map(c.JQ));return O(Object.assign(Object.assign({},this.baseProjectConfigs),{title:`maskito/${t}/${e}`,description:`Maskito example of the component ${t}`,files:{"index.html":t.includes("textarea")?"":"","styles.css":o,"index.ts":(0,c.vi)(r)[0],"mask.ts":i[u.C.MaskitoOptions]}}),{openFile:"index.ts,mask.ts"})})}openStarter({title:t,description:e,files:n},i){return O(Object.assign(Object.assign({},this.baseProjectConfigs),{title:t,description:e,files:n}),i)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();var P=n(40719);let E=(()=>{class t{constructor(t,e){this.platformId=t,this.stackblitz=e}ngOnInit(){return(0,a.mG)(this,void 0,void 0,function*(){(0,l.NF)(this.platformId)&&(yield this.openStackblitz())})}openStackblitz(){return(0,a.mG)(this,void 0,void 0,function*(){const[t,e]=yield Promise.all([n.e(5097).then(n.t.bind(n,75097,17)),n.e(4930).then(n.t.bind(n,64930,17))].map(c.JQ));return this.stackblitz.openStarter({title:"Maskito Starter",description:"A starter with Maskito library\nDocumentation: https://maskito.dev",files:{"index.html":"","index.ts":t,"styles.css":e}},{newWindow:!1,openFile:"index.ts",hideExplorer:!0})})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.Lbi),i.Y36(S))},t.\u0275cmp=i.Xpm({type:t,selectors:[["stackblitz-starter"]],features:[i._Bn([S])],decls:1,vars:1,consts:[["size","xxl","textContent","Stackblitz loading...",1,"loader",3,"overlay"]],template:function(t,e){1&t&&i._UZ(0,"tui-loader",0),2&t&&i.Q6J("overlay",!0)},directives:[P.kM],styles:[".loader[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;background:var(--tui-base-01);z-index:1}"],changeDetection:0}),t})();var T=n(86561);let A=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[P.dS,T.Bz.forChild([{path:"",component:E}])]]}),t})()},7400:function(t,e,n){"use strict";n(7277)},55046:function(t,e,n){"use strict";n.d(e,{Q7:function(){return V},nQ:function(){return $},tr:function(){return U},n9:function(){return J},H$:function(){return rt},f8:function(){return wt},vZ:function(){return at},A7:function(){return F},jX:function(){return R},Bb:function(){return Y},hM:function(){return Z},rC:function(){return xt},Oe:function(){return q}});var i=n(76991);const r=[".",",","\u0431","\u044e"],o=new Date("0001-01-01"),s=new Date("9999-12-31"),a={hours:23,minutes:59,seconds:59,milliseconds:999},l="\u2013",c="\u2014",u="-",h=[u,l,c,"\u2212"],d=[","," "],p=[":","."],f={hours:2,minutes:2,seconds:2,milliseconds:3};function g(t,e,n){const i=Math.min(Number(n),Math.max(Number(e),Number(t)));return t instanceof Date?new Date(i):i}function m(t,{day:e,month:n,year:i}={}){const r=new Date(t);return e&&r.setDate(r.getDate()+e),n&&r.setMonth(r.getMonth()+n),i&&r.setFullYear(r.getFullYear()+i),r}function v(t){return{day:String(t.getDate()).padStart(2,"0"),month:String(t.getMonth()+1).padStart(2,"0"),year:String(t.getFullYear()).padStart(4,"0"),hours:String(t.getHours()).padStart(2,"0"),minutes:String(t.getMinutes()).padStart(2,"0"),seconds:String(t.getSeconds()).padStart(2,"0"),milliseconds:String(t.getMilliseconds()).padStart(3,"0")}}function _(t,e){return!(t.length!t.match(/^0+$/))}function y(t,e,n){const i=e.replace(/\W/g,"").length;return t.replace(n,"").match(new RegExp(`(\\D*\\d[^\\d\\s]*){1,${i}}`,"g"))||[]}function b(t){return t.reduce((t,[e,n])=>Object.assign(Object.assign({},t),{[e]:n}),{})}function w(t,e){const n=e.replace(/[^dmy]/g,""),i=t.replace(/\D+/g,""),r={day:i.slice(n.indexOf("d"),n.lastIndexOf("d")+1),month:i.slice(n.indexOf("m"),n.lastIndexOf("m")+1),year:i.slice(n.indexOf("y"),n.lastIndexOf("y")+1)};return b(Object.entries(r).filter(([t,e])=>Boolean(e)).sort(([t],[n])=>e.toLowerCase().indexOf(t[0])>e.toLowerCase().indexOf(n[0])?1:-1))}function C(t,e){var n,i,r,o,s,a,l;const c=2===(null===(n=t.year)||void 0===n?void 0:n.length)?`20${t.year}`:t.year,u=new Date(Number(null!=c?c:"0"),Number(null!==(i=t.month)&&void 0!==i?i:"1")-1,Number(null!==(r=t.day)&&void 0!==r?r:"1"),Number(null!==(o=null==e?void 0:e.hours)&&void 0!==o?o:"0"),Number(null!==(s=null==e?void 0:e.minutes)&&void 0!==s?s:"0"),Number(null!==(a=null==e?void 0:e.seconds)&&void 0!==a?a:"0"),Number(null!==(l=null==e?void 0:e.milliseconds)&&void 0!==l?l:"0"));return u.setFullYear(Number(null!=c?c:"0")),u}const x=", ";function k({day:t,month:e,year:n,hours:i,minutes:r,seconds:o,milliseconds:s},a,l){var c;const u=2===(null===(c=a.match(/y/g))||void 0===c?void 0:c.length)?null==n?void 0:n.slice(-2):n;return(a+(l?x+l:"")).replace(/d+/g,null!=t?t:"").replace(/m+/g,null!=e?e:"").replace(/y+/g,null!=u?u:"").replace(/H+/g,null!=i?i:"").replace(/MSS/g,null!=s?s:"").replace(/M+/g,null!=r?r:"").replace(/S+/g,null!=o?o:"").replace(/^\D+/g,"").replace(/\D+$/g,"")}function O(t,e,n=0){return Number(t.padEnd(e.length,"0"))<=Number(e)?{validatedSegmentValue:t,prefixedZeroesCount:n}:t.endsWith("0")?O(`0${t.slice(0,e.length-1)}`,e,n+1):O(`${t.slice(0,e.length-1)}0`,e,n)}const M=t=>{var e,n,i;return{day:(null===(e=t.match(/d/g))||void 0===e?void 0:e.length)||0,month:(null===(n=t.match(/m/g))||void 0===n?void 0:n.length)||0,year:(null===(i=t.match(/y/g))||void 0===i?void 0:i.length)||0}},S={day:31,month:12,year:9999};function P({dateString:t,dateModeTemplate:e,offset:n,selection:[i,r]}){const o=w(t,e),s=Object.entries(o),a={};let l=0;for(const[h,d]of s){const t=k(a,e),o=S[h],s=n+t.length+(t.length&&1)+M(e)[h],c=s>=i&&s===r;if(c&&Number(d)>Number(o))return{validatedDateString:"",updatedSelection:[i,r]};if(c&&Number(d)<1)return{validatedDateString:"",updatedSelection:[i,r]};const{validatedSegmentValue:u,prefixedZeroesCount:p}=O(d,`${o}`);l+=p,a[h]=u}const c=k(a,e),u=c.length-t.length;return{validatedDateString:c,updatedSelection:[i+l+u,r+l+u]}}const E=/[\\^$.*+?()[\]{}|]/g,T=new RegExp(E.source);function A(t){return t&&T.test(t)?t.replace(E,"\\$&"):t}function I(t){return t}function D(t){return!t||"object"==typeof t&&0===Object.keys(t).length}function N(t,e){const n=M(e);return b(Object.entries(t).map(([t,e])=>{const i=n[t];return[t,e.length===i&&e.match(/^0+$/)?"1".padStart(i,"0"):e]}))}function L({dateModeTemplate:t,min:e=o,max:n=s,rangeSeparator:i="",dateSegmentSeparator:r="."}){return({value:o,selection:s})=>{const a=i&&o.endsWith(i),l=y(o,t,i);let c="";for(const u of l){c+=c?i:"";const o=w(u,t);_(u,t)?c+=k(v(g(C(o),e,n)),t):c+=k(N(o,t),t)+(u.endsWith(r)?r:"")}return{selection:s,value:c+(a?i:"")}}}function z({dateModeTemplate:t,dateSegmentsSeparator:e,rangeSeparator:n=""}){return({elementState:i,data:r})=>{const o=n?new RegExp(`${n}|-`):x,s=r.split(o),a=r.includes(x)?[s[0]]:s;if(a.every(n=>n.trim().split(/\D/).length===t.split(e).length)){const o=a.map(n=>function(t,e,n){const i=t.split(/\D/),r=e.split(n);return i.map((t,e)=>e===r.length-1?t:t.padStart(r[e].length,"0")).join(n)}(n,t,e)).join(n);return{elementState:i,data:`${o}${r.includes(x)&&x+s[1]||""}`}}return{elementState:i,data:r}}}function F(t){const e=new RegExp(`${A(t)}$`);return t?({value:n,selection:i},r)=>{if(!n&&!r.value.endsWith(t))return{value:n,selection:i};if(!n.endsWith(t)&&!r.value.endsWith(t))return{selection:i,value:n+t};const o=r.value.replace(e,""),s=r.selection[1]>=o.length,a=function(t,e){let n="";for(let i=0;i{const i=t.length-1-n;return t[i]!==e||a[i]===e&&s?t.slice(0,i+1)+e+t.slice(i+1):t},n)}}:I}function R(t){return t?({value:e,selection:n},i)=>{if(e.startsWith(t)||!e&&!i.value.startsWith(t))return{value:e,selection:n};const[r,o]=n,s=Array.from(t).reduce((t,e,n)=>t[n]===e?t:t.slice(0,n)+e+t.slice(n),e),a=s.length-e.length;return{selection:[r+a,o+a],value:s}}:I}function j({dateModeTemplate:t,dateSegmentsSeparator:e,rangeSeparator:n=""}){return({elementState:i,data:r})=>{const{value:o,selection:s}=i;if(r===e)return{elementState:i,data:s[0]===o.length?r:""};if(h.includes(r))return{elementState:i,data:n};const a=r.replace(new RegExp(`[^\\d${A(e)}${n}]`,"g"),"");if(!a)return{elementState:i,data:""};const[l,c]=s;let u=c+r.length;const d=o.slice(0,l)+a+o.slice(u),p=y(d,t,n);let f="";const g=Boolean(n)&&d.includes(n);for(const e of p){const{validatedDateString:r,updatedSelection:o}=P({dateString:e,dateModeTemplate:t,offset:f?f.length+n.length:0,selection:[l,u]});if(e&&!r)return{elementState:i,data:""};u=o[1],f+=g&&f?n+r:r}const m=f.slice(l,u);return{elementState:{selection:s,value:f.slice(0,l)+m.split(e).map(t=>"0".repeat(t.length)).join(e)+f.slice(u)},data:m}}}function B(t,e,n){return(i,r)=>{const o=()=>e(i,r);return i.addEventListener(t,o,n),()=>i.removeEventListener(t,o,n)}}function V(t){return B("focus",e=>{e.value||(e.value=t,e.dispatchEvent(new Event("input")))})}function $(t){return e=>{const n=e.ownerDocument;let i=0;const r=()=>i++,o=()=>{i=Math.max(--i,0)},s=()=>{if(function({activeElement:t}){if(!(null==t?void 0:t.shadowRoot))return t;let e=t.shadowRoot.activeElement;for(;null==e?void 0:e.shadowRoot;)e=e.shadowRoot.activeElement;return e}(n)!==e)return;if(i)return n.addEventListener("mouseup",s,{once:!0,passive:!0});const r=e.selectionStart||0,o=e.selectionEnd||0,[a,l]=t(e.value,[r,o]);(a>r||l{n.removeEventListener("selectionchange",s),n.removeEventListener("mousedown",r),n.removeEventListener("mouseup",o)}}}function Y(t){const e=()=>{const e=t.value;t.addEventListener("beforeinput",n=>{n.defaultPrevented&&e===t.value&&t.dispatchEvent(new CustomEvent("maskitoReject",{bubbles:!0}))},{once:!0})};return t.addEventListener("beforeinput",e,!0),()=>t.removeEventListener("beforeinput",e,!0)}function Z(t){return B("blur",e=>{e.value===t&&(e.value="",e.dispatchEvent(new Event("input")))})}function q(t,e=!1){const n=e=>{for(let n=e.length-1;n>=0;n--)if(e[n]!==t[n])return e.slice(0,n+1);return""},i=[$(t=>[0,n(t).length])];let r=!1;if(e){const e=B("focus",e=>{r=!0,e.value+=t.slice(e.value.length),e.dispatchEvent(new Event("input"))},{capture:!0}),o=B("blur",t=>{r=!1,t.value=n(t.value),t.dispatchEvent(new Event("input"))},{capture:!0});i.push(e,o)}return{plugins:i,removePlaceholder:n,preprocessors:[({elementState:t,data:e})=>{const{value:i,selection:r}=t;return{elementState:{selection:r,value:n(i)},data:e}}],postprocessors:[({value:n,selection:i},o)=>!o.value||!r&&e?{value:n,selection:i}:{value:n+t.slice(n.length),selection:i}]}}function U({mode:t,separator:e=".",max:n,min:r}){const o=t.split("/").join(e);return Object.assign(Object.assign({},i.A_),{mask:Array.from(o).map(t=>t===e?t:/\d/),overwriteMode:"replace",preprocessors:[({elementState:t},e)=>{const{value:n,selection:i}=t;if(!n||function(t,[e,n]){return n===t.length}(n,i))return{elementState:t};const[r,o]=i,s=n.slice(r,o).replace(/\d/g,"0"),a=n.slice(0,r)+s+n.slice(o);return"validation"===e||"insert"===e&&r===o?{elementState:{selection:i,value:a}}:{elementState:{selection:"deleteBackward"===e||"insert"===e?[r,r]:[o,o],value:a}}},z({dateModeTemplate:o,dateSegmentsSeparator:e}),j({dateModeTemplate:o,dateSegmentsSeparator:e})],postprocessors:[L({min:r,max:n,dateModeTemplate:o,dateSegmentSeparator:e})]})}function H({dateModeTemplate:t,rangeSeparator:e,minLength:n,maxLength:i,max:r=s}){return D(n)&&D(i)?I:({value:o,selection:s})=>{const a=y(o,t,e);if(2!==a.length||a.some(e=>!_(e,t)))return{value:o,selection:s};const[l,c]=a.map(e=>C(w(e,t))),u=m(l,Object.assign(Object.assign({},n),{day:(null==n?void 0:n.day)&&n.day-1})),h=D(i)?r:m(l,Object.assign(Object.assign({},i),{day:(null==i?void 0:i.day)&&i.day-1})),d=g(c,u,r);return{selection:s,value:a[0]+e+k(v(d>h?h:d),t)}}}function G({dateModeTemplate:t,rangeSeparator:e}){return({value:n,selection:i})=>{const r=y(n,t,e),o=2===r.length&&r.every(e=>_(e,t)),[s,a]=i;if(!((s>=n.length||0===s&&a>=n.length)&&o))return{value:n,selection:i};const[l,c]=r.map(e=>C(w(e,t)));return{selection:i,value:l>c?r.reverse().join(e):n}}}function J({mode:t,separator:e=".",min:n,max:r,minLength:o,maxLength:s,dateSeparator:a=e,rangeSeparator:c=`\xa0${l}\xa0`}){const u=t.split("/").join(a),h=Array.from(u).map(t=>t===a?t:/\d/);return Object.assign(Object.assign({},i.A_),{mask:[...h,...Array.from(c),...h],overwriteMode:"replace",preprocessors:[({elementState:t},e)=>{const{value:n,selection:i}=t;if(!n||function(t,[e,n]){return n===t.length}(n,i))return{elementState:t};const[r,o]=i,s=n.slice(r,o).replace(/\d/g,"0"),a=n.slice(0,r)+s+n.slice(o);return"validation"===e||"insert"===e&&r===o?{elementState:{selection:i,value:a}}:{elementState:{selection:"deleteBackward"===e||"insert"===e?[r,r]:[o,o],value:a}}},z({dateModeTemplate:u,rangeSeparator:c,dateSegmentsSeparator:a}),j({dateModeTemplate:u,rangeSeparator:c,dateSegmentsSeparator:a})],postprocessors:[L({min:n,max:r,dateModeTemplate:u,rangeSeparator:c,dateSegmentSeparator:a}),H({dateModeTemplate:u,minLength:o,maxLength:s,max:r,rangeSeparator:c}),G({dateModeTemplate:u,rangeSeparator:c})]})}function X(t){return b(Object.entries(t).map(([t,e])=>[t,`${e}`.padEnd(f[t],"0")]))}function Q(t){const e=t.replace(/\D+/g,""),n={hours:e.slice(0,2),minutes:e.slice(2,4),seconds:e.slice(4,6),milliseconds:e.slice(6,9)};return b(Object.entries(n).filter(([t,e])=>Boolean(e)))}function W({hours:t="",minutes:e="",seconds:n="",milliseconds:i=""}){return`${t}${e&&`:${e}`}${n&&`:${n}`}${i&&`.${i}`}`}const K=new RegExp(`[${p.map(A).join("")}]$`);function tt({timeString:t,paddedMaxValues:e,offset:n,selection:[i,r]}){const o=Q(t),s=Object.entries(o),a={};let l=0;for(const[d,p]of s){const t=W(a),o=e[d],s=n+t.length+(t.length&&1)+f[d];if(s>=i&&s<=r&&Number(p)>Number(o))return{validatedTimeString:"",updatedTimeSelection:[i,r]};const{validatedSegmentValue:c,prefixedZeroesCount:u}=O(p,`${o}`);l+=u,a[d]=c}const[c=""]=t.match(K)||[],u=W(a)+c,h=Math.max(u.length-t.length,0);return{validatedTimeString:u,updatedTimeSelection:[i+l+h,r+l+h]}}function et(t,e){const n=t.includes(x);return[t.slice(0,e.length),t.slice(n?e.length+x.length:e.length)]}function nt({dateModeTemplate:t,timeMode:e,min:n=o,max:i=s}){return({value:r,selection:o})=>{const[s,a]=et(r,t),l=w(s,t),c=Q(a);if(!function(t,e,n){return t.length>=e.length+n.length+x.length&&t.split(x)[0].split(/\D/).every(t=>!t.match(/^0+$/))}(r,t,e)){const a=N(l,t),{year:u,month:h,day:d}=_(s,t)?v(g(C(a),n,i)):a,p=k(Object.assign({year:u,month:h,day:d},c),t,e);return{selection:o,value:p+r.slice(p.length)}}return{selection:o,value:k(v(g(C(l,c),n,i)),t,e)}}}function it({dateModeTemplate:t,dateSegmentsSeparator:e}){const n=new RegExp(`[^\\d${p.map(A).join("")}${A(e)}]+`);return({elementState:i,data:r})=>{const{value:o,selection:s}=i;if(r===e)return{elementState:i,data:s[0]===o.length?r:""};if(d.includes(r))return{elementState:i,data:x};const l=r.replace(n,"");if(!l)return{elementState:i,data:""};const[c,u]=s;let h=u+r.length;const p=o.slice(0,c)+l+o.slice(h),[f,g]=et(p,t);let m="";const v=p.includes(x),{validatedDateString:_,updatedSelection:y}=P({dateString:f,dateModeTemplate:t,offset:0,selection:[c,h]});if(f&&!_)return{elementState:i,data:""};h=y[1],m+=_;const b=X(a),{validatedTimeString:w,updatedTimeSelection:C}=tt({timeString:g,paddedMaxValues:b,offset:m.length+x.length,selection:[c,h]});if(g&&!w)return{elementState:i,data:""};h=C[1],m+=v?x+w:w;const k=m.slice(c,h);return{elementState:{selection:s,value:m.slice(0,c)+k.split(e).map(t=>"0".repeat(t.length)).join(e)+m.slice(h)},data:k}}}function rt({dateMode:t,timeMode:e,dateSeparator:n=".",min:r,max:o}){const s=t.split("/").join(n);return Object.assign(Object.assign({},i.A_),{mask:[...Array.from(s).map(t=>t===n?t:/\d/),...x.split(""),...Array.from(e).map(t=>p.includes(t)?t:/\d/)],overwriteMode:"replace",preprocessors:[({elementState:t},e)=>{const{value:n,selection:i}=t;if(!n||function(t,[e,n]){return n===t.length}(n,i))return{elementState:t};const[r,o]=i,s=n.slice(r,o).replace(/\d/g,"0"),a=n.slice(0,r)+s+n.slice(o);return"validation"===e||"insert"===e&&r===o?{elementState:{selection:i,value:a}}:{elementState:{selection:"deleteBackward"===e||"insert"===e?[r,r]:[o,o],value:a}}},z({dateModeTemplate:s,dateSegmentsSeparator:n}),it({dateModeTemplate:s,dateSegmentsSeparator:n})],postprocessors:[nt({min:r,max:o,dateModeTemplate:s,timeMode:e})]})}function ot({decimalSeparator:t,isNegativeAllowed:e,precision:n,thousandSeparator:i,prefix:r,postfix:o,decimalPseudoSeparators:s=[],pseudoMinuses:a=[]}){const l=st(r),c=e?`[\u2212${a.map(t=>`\\${t}`).join("")}]?`:"",u=i?`[\\d${A(i).replace(/\s/g,"\\s")}]*`:"[\\d]*",h=n>0?`([${A(t)}${s.map(A).join("")}]\\d{0,${Number.isFinite(n)?n:""}})?`:"",d=st(o);return new RegExp(`^${l}${c}${u}${h}${d}$`)}function st(t){return t?`${t.split("").map(t=>`${A(t)}?`).join("")}`:""}function at(t,e="."){const n=!!t.match(new RegExp(`^\\D*[\u2212\\${u}${l}${c}]`)),i=t.replace(new RegExp(`[^\\d${A(e)}]`,"g"),"").replace(e,".");return i?Number((n?u:"")+i):NaN}function lt({decimalSeparator:t,precision:e,decimalZeroPadding:n,postfix:i}){if(e<=0||!n)return I;const r=new RegExp(`${A(i)}$`);return({value:n,selection:o})=>{if(Number.isNaN(at(n,t)))return{value:n,selection:o};const[s,a=""]=n.replace(r,"").split(t);return{value:s+t+a.padEnd(e,"0")+i,selection:o}}}function ct({decimalSeparator:t,decimalPseudoSeparators:e,pseudoMinuses:n}){let r=!0;const o=ot({decimalSeparator:t,decimalPseudoSeparators:e,pseudoMinuses:n,prefix:"",postfix:"",thousandSeparator:"",precision:1/0,isNegativeAllowed:!0});return({elementState:t,data:e})=>r?(r=!1,{elementState:(0,i.CV)(t,{mask:o}),data:e}):{elementState:t,data:e}}function ut({min:t,max:e,decimalSeparator:n}){return({value:i,selection:r})=>{const o=at(i,n),s=o>0?Math.min(o,e):Math.max(o,t);if(!Number.isNaN(o)&&s!==o){const t=`${s}`.replace(".",n).replace(u,"\u2212");return{value:t,selection:[t.length,t.length]}}return{value:i,selection:r}}}function ht({decimalSeparator:t,thousandSeparator:e,decimalZeroPadding:n}){return({elementState:i,data:r},o)=>{const{value:s,selection:a}=i,[l,c]=a,u=s.slice(l,c),h=n?[t,e]:[e],d=n&&l>s.indexOf(t)&&Boolean(u.match(/^0+$/gi));return"deleteBackward"!==o&&"deleteForward"!==o||!h.includes(u)&&!d?{elementState:i,data:r}:{elementState:{value:s,selection:"deleteForward"===o?[c,c]:[l,l]},data:r}}}function dt({decimalSeparator:t,precision:e}){const n=new RegExp(`^\\D*${A(t)}`);return({elementState:i,data:r})=>{const{value:o,selection:s}=i,[a]=s;return e<=0||o.includes(t)||!r.match(n)?{elementState:i,data:r}:{elementState:i,data:o.slice(0,a).match(/\d+/)?r:`0${r}`}}}function pt(t,e){const n=new RegExp(`[${e.join("")}]`,"gi");return({elementState:e,data:i})=>{const{value:r,selection:o}=e;return{elementState:{selection:o,value:r.replace(n,t)},data:i.replace(n,t)}}}function ft(t){return({elementState:e,data:n})=>{const{value:i,selection:r}=e,[o,s]=r;return{elementState:e,data:!i.includes(t)||i.slice(o,s+1).includes(t)?n:n.replace(new RegExp(A(t),"gi"),"")}}}function gt({thousandSeparator:t,decimalSeparator:e,prefix:n,postfix:i}){if(!t)return I;const r=new RegExp(`^${A(n)}\u2212?`),o=new RegExp(`${A(i)}$`);return({value:n,selection:i})=>{const[s,a=""]=n.split(e),[l,c]=i;let[u,h]=i;const d=s.replace(r,"").replace(o,""),[p=""]=s.match(r)||[],[f=""]=s.match(o)||[],g=Array.from(d).reduceRight((e,n,i)=>{const r=!(!i&&n===t)&&e.length&&(e.length+1)%4==0;return r&&(n===t||((...t)=>t.every(t=>/\s/.test(t)))(n,t))?t+e:n!==t||r?r?(i<=l&&u++,i<=c&&h++,n+t+e):n+e:(i&&i<=l&&u--,i&&i<=c&&h--,e)},"");return{value:p+g+f+(n.includes(e)?e:"")+a,selection:[u,h]}}}function mt(t,e){if(t>0)return I;const n=new RegExp(`${A(e)}.*$`,"g");return({elementState:t,data:e})=>{const{value:i,selection:r}=t,[o,s]=r,a=i.replace(n,"");return{elementState:{selection:[Math.min(o,a.length),Math.min(s,a.length)],value:a},data:e.replace(n,"")}}}const vt=[0,0];function _t(t,e){const n=function(t,e){const n=t=>{const n=A(e);return t.replace(new RegExp(`^(\\D+)?[0${n}]+(?=0)`),"$1").replace(new RegExp(`^(\\D+)?[0${n}]+(?=[1-9])`),"$1")},i=(t,e)=>{const i=t.slice(0,e),r=t.slice(e).startsWith("0");return i.length-n(i).length+(r?1:0)};return({value:e,selection:r})=>{const[o,s]=r,a=e.includes(t),[l,c=""]=e.split(t),u=n(l);if(l===u)return{value:e,selection:r};const h=o-i(e,o),d=s-i(e,s);return{value:u+(a?t:"")+c,selection:[Math.max(h,0),Math.max(d,0)]}}}(t,e);return B("blur",t=>{const e=n({value:t.value,selection:vt},{value:"",selection:vt}).value;t.value!==e&&(t.value=e,t.dispatchEvent(new Event("input")))},{capture:!0})}function yt({min:t,max:e,decimalSeparator:n}){return B("blur",(r,o)=>{const s=at(r.value,n),a=g(s,t,e);!Number.isNaN(s)&&s!==a&&(r.value=(0,i.CV)(function(t){const e=String(t),[n,i]=e.split("e-");let r=e;if(i){const[,e]=n.split("."),o=Number(i)+((null==e?void 0:e.length)||0);r=t.toFixed(o)}return r}(a),o),r.dispatchEvent(new Event("input")))},{capture:!0})}function bt(t){return B("blur",e=>{const n=e.value.replace(new RegExp(`^(\\D+)?${A(t)}`),`$10${t}`);n!==e.value&&(e.value=n,e.dispatchEvent(new Event("input")))},{capture:!0})}function wt({max:t=Number.MAX_SAFE_INTEGER,min:e=Number.MIN_SAFE_INTEGER,precision:n=0,thousandSeparator:o="\xa0",decimalSeparator:s=".",decimalPseudoSeparators:a,decimalZeroPadding:h=!1,prefix:d="",postfix:p=""}={}){const f=[u,l,c].filter(t=>t!==o&&t!==s),g=function({decimalSeparator:t,thousandSeparator:e,decimalPseudoSeparators:n=r}){return n.filter(n=>n!==e&&n!==t)}({decimalSeparator:s,thousandSeparator:o,decimalPseudoSeparators:a});return Object.assign(Object.assign({},i.A_),{mask:ot({decimalSeparator:s,precision:n,thousandSeparator:o,prefix:d,postfix:p,isNegativeAllowed:e<0}),preprocessors:[ct({decimalSeparator:s,decimalPseudoSeparators:g,pseudoMinuses:f}),pt("\u2212",f),pt(s,g),dt({decimalSeparator:s,precision:n}),ht({decimalSeparator:s,decimalZeroPadding:h,thousandSeparator:o}),mt(n,s),ft(s)],postprocessors:[ut({decimalSeparator:s,min:e,max:t}),R(d),F(p),gt({decimalSeparator:s,thousandSeparator:o,prefix:d,postfix:p}),lt({decimalSeparator:s,decimalZeroPadding:h,precision:n,postfix:p})],plugins:[_t(s,o),bt(s),yt({min:e,max:t,decimalSeparator:s})],overwriteMode:h?({value:t,selection:[e]})=>e<=t.indexOf(s)?"shift":"replace":"shift"})}function Ct(t){const e=X(t),n=new RegExp(`[^\\d${p.map(A).join("")}]+`);return({elementState:t,data:i},r)=>{if("deleteBackward"===r||"deleteForward"===r)return{elementState:t,data:i};const{value:o,selection:s}=t;if("validation"===r){const{validatedTimeString:t,updatedTimeSelection:n}=tt({timeString:o,paddedMaxValues:e,offset:0,selection:s});return{elementState:{value:t,selection:n},data:i}}const a=i.replace(n,""),[l,c]=s;let u=c+a.length;const h=o.slice(0,l)+a+o.slice(u),{validatedTimeString:d,updatedTimeSelection:p}=tt({timeString:h,paddedMaxValues:e,offset:0,selection:[l,u]});if(h&&!d)return{elementState:t,data:""};u=p[1];const f=d.slice(l,u);return{elementState:{selection:s,value:d.slice(0,l)+"0".repeat(f.length)+d.slice(u)},data:f}}}function xt({mode:t,timeSegmentMaxValues:e={}}){const n=Object.assign(Object.assign({},a),e);return Object.assign(Object.assign({},i.A_),{mask:Array.from(t).map(t=>p.includes(t)?t:/\d/),preprocessors:[({elementState:t},e)=>{const{value:n,selection:i}=t;if(!n||function(t,[e,n]){return n===t.length}(n,i))return{elementState:t};const[r,o]=i,s=n.slice(r,o).replace(/\d/g,"0"),a=n.slice(0,r)+s+n.slice(o);return"validation"===e||"insert"===e&&r===o?{elementState:{selection:i,value:a}}:{elementState:{selection:"deleteBackward"===e||"insert"===e?[r,r]:[o,o],value:a}}},Ct(n)],overwriteMode:"replace"})}},69153:function(t){function e(t){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}e.keys=function(){return[]},e.resolve=e,e.id=69153,t.exports=e},97582:function(t,e,n){"use strict";function i(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,n,s):r(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s}function o(t,e,n,i){return new(n||(n=Promise))(function(r,o){function s(t){try{l(i.next(t))}catch(e){o(e)}}function a(t){try{l(i.throw(t))}catch(e){o(e)}}function l(t){t.done?r(t.value):function(t){return t instanceof n?t:new n(function(e){e(t)})}(t.value).then(s,a)}l((i=i.apply(t,e||[])).next())})}n.d(e,{_T:function(){return i},gn:function(){return r},mG:function(){return o}}),"function"==typeof SuppressedError&&SuppressedError},95485:function(t){"use strict";t.exports=JSON.parse('{"Aacute":"\xc1","aacute":"\xe1","Abreve":"\u0102","abreve":"\u0103","ac":"\u223e","acd":"\u223f","acE":"\u223e\u0333","Acirc":"\xc2","acirc":"\xe2","acute":"\xb4","Acy":"\u0410","acy":"\u0430","AElig":"\xc6","aelig":"\xe6","af":"\u2061","Afr":"\ud835\udd04","afr":"\ud835\udd1e","Agrave":"\xc0","agrave":"\xe0","alefsym":"\u2135","aleph":"\u2135","Alpha":"\u0391","alpha":"\u03b1","Amacr":"\u0100","amacr":"\u0101","amalg":"\u2a3f","amp":"&","AMP":"&","andand":"\u2a55","And":"\u2a53","and":"\u2227","andd":"\u2a5c","andslope":"\u2a58","andv":"\u2a5a","ang":"\u2220","ange":"\u29a4","angle":"\u2220","angmsdaa":"\u29a8","angmsdab":"\u29a9","angmsdac":"\u29aa","angmsdad":"\u29ab","angmsdae":"\u29ac","angmsdaf":"\u29ad","angmsdag":"\u29ae","angmsdah":"\u29af","angmsd":"\u2221","angrt":"\u221f","angrtvb":"\u22be","angrtvbd":"\u299d","angsph":"\u2222","angst":"\xc5","angzarr":"\u237c","Aogon":"\u0104","aogon":"\u0105","Aopf":"\ud835\udd38","aopf":"\ud835\udd52","apacir":"\u2a6f","ap":"\u2248","apE":"\u2a70","ape":"\u224a","apid":"\u224b","apos":"\'","ApplyFunction":"\u2061","approx":"\u2248","approxeq":"\u224a","Aring":"\xc5","aring":"\xe5","Ascr":"\ud835\udc9c","ascr":"\ud835\udcb6","Assign":"\u2254","ast":"*","asymp":"\u2248","asympeq":"\u224d","Atilde":"\xc3","atilde":"\xe3","Auml":"\xc4","auml":"\xe4","awconint":"\u2233","awint":"\u2a11","backcong":"\u224c","backepsilon":"\u03f6","backprime":"\u2035","backsim":"\u223d","backsimeq":"\u22cd","Backslash":"\u2216","Barv":"\u2ae7","barvee":"\u22bd","barwed":"\u2305","Barwed":"\u2306","barwedge":"\u2305","bbrk":"\u23b5","bbrktbrk":"\u23b6","bcong":"\u224c","Bcy":"\u0411","bcy":"\u0431","bdquo":"\u201e","becaus":"\u2235","because":"\u2235","Because":"\u2235","bemptyv":"\u29b0","bepsi":"\u03f6","bernou":"\u212c","Bernoullis":"\u212c","Beta":"\u0392","beta":"\u03b2","beth":"\u2136","between":"\u226c","Bfr":"\ud835\udd05","bfr":"\ud835\udd1f","bigcap":"\u22c2","bigcirc":"\u25ef","bigcup":"\u22c3","bigodot":"\u2a00","bigoplus":"\u2a01","bigotimes":"\u2a02","bigsqcup":"\u2a06","bigstar":"\u2605","bigtriangledown":"\u25bd","bigtriangleup":"\u25b3","biguplus":"\u2a04","bigvee":"\u22c1","bigwedge":"\u22c0","bkarow":"\u290d","blacklozenge":"\u29eb","blacksquare":"\u25aa","blacktriangle":"\u25b4","blacktriangledown":"\u25be","blacktriangleleft":"\u25c2","blacktriangleright":"\u25b8","blank":"\u2423","blk12":"\u2592","blk14":"\u2591","blk34":"\u2593","block":"\u2588","bne":"=\u20e5","bnequiv":"\u2261\u20e5","bNot":"\u2aed","bnot":"\u2310","Bopf":"\ud835\udd39","bopf":"\ud835\udd53","bot":"\u22a5","bottom":"\u22a5","bowtie":"\u22c8","boxbox":"\u29c9","boxdl":"\u2510","boxdL":"\u2555","boxDl":"\u2556","boxDL":"\u2557","boxdr":"\u250c","boxdR":"\u2552","boxDr":"\u2553","boxDR":"\u2554","boxh":"\u2500","boxH":"\u2550","boxhd":"\u252c","boxHd":"\u2564","boxhD":"\u2565","boxHD":"\u2566","boxhu":"\u2534","boxHu":"\u2567","boxhU":"\u2568","boxHU":"\u2569","boxminus":"\u229f","boxplus":"\u229e","boxtimes":"\u22a0","boxul":"\u2518","boxuL":"\u255b","boxUl":"\u255c","boxUL":"\u255d","boxur":"\u2514","boxuR":"\u2558","boxUr":"\u2559","boxUR":"\u255a","boxv":"\u2502","boxV":"\u2551","boxvh":"\u253c","boxvH":"\u256a","boxVh":"\u256b","boxVH":"\u256c","boxvl":"\u2524","boxvL":"\u2561","boxVl":"\u2562","boxVL":"\u2563","boxvr":"\u251c","boxvR":"\u255e","boxVr":"\u255f","boxVR":"\u2560","bprime":"\u2035","breve":"\u02d8","Breve":"\u02d8","brvbar":"\xa6","bscr":"\ud835\udcb7","Bscr":"\u212c","bsemi":"\u204f","bsim":"\u223d","bsime":"\u22cd","bsolb":"\u29c5","bsol":"\\\\","bsolhsub":"\u27c8","bull":"\u2022","bullet":"\u2022","bump":"\u224e","bumpE":"\u2aae","bumpe":"\u224f","Bumpeq":"\u224e","bumpeq":"\u224f","Cacute":"\u0106","cacute":"\u0107","capand":"\u2a44","capbrcup":"\u2a49","capcap":"\u2a4b","cap":"\u2229","Cap":"\u22d2","capcup":"\u2a47","capdot":"\u2a40","CapitalDifferentialD":"\u2145","caps":"\u2229\ufe00","caret":"\u2041","caron":"\u02c7","Cayleys":"\u212d","ccaps":"\u2a4d","Ccaron":"\u010c","ccaron":"\u010d","Ccedil":"\xc7","ccedil":"\xe7","Ccirc":"\u0108","ccirc":"\u0109","Cconint":"\u2230","ccups":"\u2a4c","ccupssm":"\u2a50","Cdot":"\u010a","cdot":"\u010b","cedil":"\xb8","Cedilla":"\xb8","cemptyv":"\u29b2","cent":"\xa2","centerdot":"\xb7","CenterDot":"\xb7","cfr":"\ud835\udd20","Cfr":"\u212d","CHcy":"\u0427","chcy":"\u0447","check":"\u2713","checkmark":"\u2713","Chi":"\u03a7","chi":"\u03c7","circ":"\u02c6","circeq":"\u2257","circlearrowleft":"\u21ba","circlearrowright":"\u21bb","circledast":"\u229b","circledcirc":"\u229a","circleddash":"\u229d","CircleDot":"\u2299","circledR":"\xae","circledS":"\u24c8","CircleMinus":"\u2296","CirclePlus":"\u2295","CircleTimes":"\u2297","cir":"\u25cb","cirE":"\u29c3","cire":"\u2257","cirfnint":"\u2a10","cirmid":"\u2aef","cirscir":"\u29c2","ClockwiseContourIntegral":"\u2232","CloseCurlyDoubleQuote":"\u201d","CloseCurlyQuote":"\u2019","clubs":"\u2663","clubsuit":"\u2663","colon":":","Colon":"\u2237","Colone":"\u2a74","colone":"\u2254","coloneq":"\u2254","comma":",","commat":"@","comp":"\u2201","compfn":"\u2218","complement":"\u2201","complexes":"\u2102","cong":"\u2245","congdot":"\u2a6d","Congruent":"\u2261","conint":"\u222e","Conint":"\u222f","ContourIntegral":"\u222e","copf":"\ud835\udd54","Copf":"\u2102","coprod":"\u2210","Coproduct":"\u2210","copy":"\xa9","COPY":"\xa9","copysr":"\u2117","CounterClockwiseContourIntegral":"\u2233","crarr":"\u21b5","cross":"\u2717","Cross":"\u2a2f","Cscr":"\ud835\udc9e","cscr":"\ud835\udcb8","csub":"\u2acf","csube":"\u2ad1","csup":"\u2ad0","csupe":"\u2ad2","ctdot":"\u22ef","cudarrl":"\u2938","cudarrr":"\u2935","cuepr":"\u22de","cuesc":"\u22df","cularr":"\u21b6","cularrp":"\u293d","cupbrcap":"\u2a48","cupcap":"\u2a46","CupCap":"\u224d","cup":"\u222a","Cup":"\u22d3","cupcup":"\u2a4a","cupdot":"\u228d","cupor":"\u2a45","cups":"\u222a\ufe00","curarr":"\u21b7","curarrm":"\u293c","curlyeqprec":"\u22de","curlyeqsucc":"\u22df","curlyvee":"\u22ce","curlywedge":"\u22cf","curren":"\xa4","curvearrowleft":"\u21b6","curvearrowright":"\u21b7","cuvee":"\u22ce","cuwed":"\u22cf","cwconint":"\u2232","cwint":"\u2231","cylcty":"\u232d","dagger":"\u2020","Dagger":"\u2021","daleth":"\u2138","darr":"\u2193","Darr":"\u21a1","dArr":"\u21d3","dash":"\u2010","Dashv":"\u2ae4","dashv":"\u22a3","dbkarow":"\u290f","dblac":"\u02dd","Dcaron":"\u010e","dcaron":"\u010f","Dcy":"\u0414","dcy":"\u0434","ddagger":"\u2021","ddarr":"\u21ca","DD":"\u2145","dd":"\u2146","DDotrahd":"\u2911","ddotseq":"\u2a77","deg":"\xb0","Del":"\u2207","Delta":"\u0394","delta":"\u03b4","demptyv":"\u29b1","dfisht":"\u297f","Dfr":"\ud835\udd07","dfr":"\ud835\udd21","dHar":"\u2965","dharl":"\u21c3","dharr":"\u21c2","DiacriticalAcute":"\xb4","DiacriticalDot":"\u02d9","DiacriticalDoubleAcute":"\u02dd","DiacriticalGrave":"`","DiacriticalTilde":"\u02dc","diam":"\u22c4","diamond":"\u22c4","Diamond":"\u22c4","diamondsuit":"\u2666","diams":"\u2666","die":"\xa8","DifferentialD":"\u2146","digamma":"\u03dd","disin":"\u22f2","div":"\xf7","divide":"\xf7","divideontimes":"\u22c7","divonx":"\u22c7","DJcy":"\u0402","djcy":"\u0452","dlcorn":"\u231e","dlcrop":"\u230d","dollar":"$","Dopf":"\ud835\udd3b","dopf":"\ud835\udd55","Dot":"\xa8","dot":"\u02d9","DotDot":"\u20dc","doteq":"\u2250","doteqdot":"\u2251","DotEqual":"\u2250","dotminus":"\u2238","dotplus":"\u2214","dotsquare":"\u22a1","doublebarwedge":"\u2306","DoubleContourIntegral":"\u222f","DoubleDot":"\xa8","DoubleDownArrow":"\u21d3","DoubleLeftArrow":"\u21d0","DoubleLeftRightArrow":"\u21d4","DoubleLeftTee":"\u2ae4","DoubleLongLeftArrow":"\u27f8","DoubleLongLeftRightArrow":"\u27fa","DoubleLongRightArrow":"\u27f9","DoubleRightArrow":"\u21d2","DoubleRightTee":"\u22a8","DoubleUpArrow":"\u21d1","DoubleUpDownArrow":"\u21d5","DoubleVerticalBar":"\u2225","DownArrowBar":"\u2913","downarrow":"\u2193","DownArrow":"\u2193","Downarrow":"\u21d3","DownArrowUpArrow":"\u21f5","DownBreve":"\u0311","downdownarrows":"\u21ca","downharpoonleft":"\u21c3","downharpoonright":"\u21c2","DownLeftRightVector":"\u2950","DownLeftTeeVector":"\u295e","DownLeftVectorBar":"\u2956","DownLeftVector":"\u21bd","DownRightTeeVector":"\u295f","DownRightVectorBar":"\u2957","DownRightVector":"\u21c1","DownTeeArrow":"\u21a7","DownTee":"\u22a4","drbkarow":"\u2910","drcorn":"\u231f","drcrop":"\u230c","Dscr":"\ud835\udc9f","dscr":"\ud835\udcb9","DScy":"\u0405","dscy":"\u0455","dsol":"\u29f6","Dstrok":"\u0110","dstrok":"\u0111","dtdot":"\u22f1","dtri":"\u25bf","dtrif":"\u25be","duarr":"\u21f5","duhar":"\u296f","dwangle":"\u29a6","DZcy":"\u040f","dzcy":"\u045f","dzigrarr":"\u27ff","Eacute":"\xc9","eacute":"\xe9","easter":"\u2a6e","Ecaron":"\u011a","ecaron":"\u011b","Ecirc":"\xca","ecirc":"\xea","ecir":"\u2256","ecolon":"\u2255","Ecy":"\u042d","ecy":"\u044d","eDDot":"\u2a77","Edot":"\u0116","edot":"\u0117","eDot":"\u2251","ee":"\u2147","efDot":"\u2252","Efr":"\ud835\udd08","efr":"\ud835\udd22","eg":"\u2a9a","Egrave":"\xc8","egrave":"\xe8","egs":"\u2a96","egsdot":"\u2a98","el":"\u2a99","Element":"\u2208","elinters":"\u23e7","ell":"\u2113","els":"\u2a95","elsdot":"\u2a97","Emacr":"\u0112","emacr":"\u0113","empty":"\u2205","emptyset":"\u2205","EmptySmallSquare":"\u25fb","emptyv":"\u2205","EmptyVerySmallSquare":"\u25ab","emsp13":"\u2004","emsp14":"\u2005","emsp":"\u2003","ENG":"\u014a","eng":"\u014b","ensp":"\u2002","Eogon":"\u0118","eogon":"\u0119","Eopf":"\ud835\udd3c","eopf":"\ud835\udd56","epar":"\u22d5","eparsl":"\u29e3","eplus":"\u2a71","epsi":"\u03b5","Epsilon":"\u0395","epsilon":"\u03b5","epsiv":"\u03f5","eqcirc":"\u2256","eqcolon":"\u2255","eqsim":"\u2242","eqslantgtr":"\u2a96","eqslantless":"\u2a95","Equal":"\u2a75","equals":"=","EqualTilde":"\u2242","equest":"\u225f","Equilibrium":"\u21cc","equiv":"\u2261","equivDD":"\u2a78","eqvparsl":"\u29e5","erarr":"\u2971","erDot":"\u2253","escr":"\u212f","Escr":"\u2130","esdot":"\u2250","Esim":"\u2a73","esim":"\u2242","Eta":"\u0397","eta":"\u03b7","ETH":"\xd0","eth":"\xf0","Euml":"\xcb","euml":"\xeb","euro":"\u20ac","excl":"!","exist":"\u2203","Exists":"\u2203","expectation":"\u2130","exponentiale":"\u2147","ExponentialE":"\u2147","fallingdotseq":"\u2252","Fcy":"\u0424","fcy":"\u0444","female":"\u2640","ffilig":"\ufb03","fflig":"\ufb00","ffllig":"\ufb04","Ffr":"\ud835\udd09","ffr":"\ud835\udd23","filig":"\ufb01","FilledSmallSquare":"\u25fc","FilledVerySmallSquare":"\u25aa","fjlig":"fj","flat":"\u266d","fllig":"\ufb02","fltns":"\u25b1","fnof":"\u0192","Fopf":"\ud835\udd3d","fopf":"\ud835\udd57","forall":"\u2200","ForAll":"\u2200","fork":"\u22d4","forkv":"\u2ad9","Fouriertrf":"\u2131","fpartint":"\u2a0d","frac12":"\xbd","frac13":"\u2153","frac14":"\xbc","frac15":"\u2155","frac16":"\u2159","frac18":"\u215b","frac23":"\u2154","frac25":"\u2156","frac34":"\xbe","frac35":"\u2157","frac38":"\u215c","frac45":"\u2158","frac56":"\u215a","frac58":"\u215d","frac78":"\u215e","frasl":"\u2044","frown":"\u2322","fscr":"\ud835\udcbb","Fscr":"\u2131","gacute":"\u01f5","Gamma":"\u0393","gamma":"\u03b3","Gammad":"\u03dc","gammad":"\u03dd","gap":"\u2a86","Gbreve":"\u011e","gbreve":"\u011f","Gcedil":"\u0122","Gcirc":"\u011c","gcirc":"\u011d","Gcy":"\u0413","gcy":"\u0433","Gdot":"\u0120","gdot":"\u0121","ge":"\u2265","gE":"\u2267","gEl":"\u2a8c","gel":"\u22db","geq":"\u2265","geqq":"\u2267","geqslant":"\u2a7e","gescc":"\u2aa9","ges":"\u2a7e","gesdot":"\u2a80","gesdoto":"\u2a82","gesdotol":"\u2a84","gesl":"\u22db\ufe00","gesles":"\u2a94","Gfr":"\ud835\udd0a","gfr":"\ud835\udd24","gg":"\u226b","Gg":"\u22d9","ggg":"\u22d9","gimel":"\u2137","GJcy":"\u0403","gjcy":"\u0453","gla":"\u2aa5","gl":"\u2277","glE":"\u2a92","glj":"\u2aa4","gnap":"\u2a8a","gnapprox":"\u2a8a","gne":"\u2a88","gnE":"\u2269","gneq":"\u2a88","gneqq":"\u2269","gnsim":"\u22e7","Gopf":"\ud835\udd3e","gopf":"\ud835\udd58","grave":"`","GreaterEqual":"\u2265","GreaterEqualLess":"\u22db","GreaterFullEqual":"\u2267","GreaterGreater":"\u2aa2","GreaterLess":"\u2277","GreaterSlantEqual":"\u2a7e","GreaterTilde":"\u2273","Gscr":"\ud835\udca2","gscr":"\u210a","gsim":"\u2273","gsime":"\u2a8e","gsiml":"\u2a90","gtcc":"\u2aa7","gtcir":"\u2a7a","gt":">","GT":">","Gt":"\u226b","gtdot":"\u22d7","gtlPar":"\u2995","gtquest":"\u2a7c","gtrapprox":"\u2a86","gtrarr":"\u2978","gtrdot":"\u22d7","gtreqless":"\u22db","gtreqqless":"\u2a8c","gtrless":"\u2277","gtrsim":"\u2273","gvertneqq":"\u2269\ufe00","gvnE":"\u2269\ufe00","Hacek":"\u02c7","hairsp":"\u200a","half":"\xbd","hamilt":"\u210b","HARDcy":"\u042a","hardcy":"\u044a","harrcir":"\u2948","harr":"\u2194","hArr":"\u21d4","harrw":"\u21ad","Hat":"^","hbar":"\u210f","Hcirc":"\u0124","hcirc":"\u0125","hearts":"\u2665","heartsuit":"\u2665","hellip":"\u2026","hercon":"\u22b9","hfr":"\ud835\udd25","Hfr":"\u210c","HilbertSpace":"\u210b","hksearow":"\u2925","hkswarow":"\u2926","hoarr":"\u21ff","homtht":"\u223b","hookleftarrow":"\u21a9","hookrightarrow":"\u21aa","hopf":"\ud835\udd59","Hopf":"\u210d","horbar":"\u2015","HorizontalLine":"\u2500","hscr":"\ud835\udcbd","Hscr":"\u210b","hslash":"\u210f","Hstrok":"\u0126","hstrok":"\u0127","HumpDownHump":"\u224e","HumpEqual":"\u224f","hybull":"\u2043","hyphen":"\u2010","Iacute":"\xcd","iacute":"\xed","ic":"\u2063","Icirc":"\xce","icirc":"\xee","Icy":"\u0418","icy":"\u0438","Idot":"\u0130","IEcy":"\u0415","iecy":"\u0435","iexcl":"\xa1","iff":"\u21d4","ifr":"\ud835\udd26","Ifr":"\u2111","Igrave":"\xcc","igrave":"\xec","ii":"\u2148","iiiint":"\u2a0c","iiint":"\u222d","iinfin":"\u29dc","iiota":"\u2129","IJlig":"\u0132","ijlig":"\u0133","Imacr":"\u012a","imacr":"\u012b","image":"\u2111","ImaginaryI":"\u2148","imagline":"\u2110","imagpart":"\u2111","imath":"\u0131","Im":"\u2111","imof":"\u22b7","imped":"\u01b5","Implies":"\u21d2","incare":"\u2105","in":"\u2208","infin":"\u221e","infintie":"\u29dd","inodot":"\u0131","intcal":"\u22ba","int":"\u222b","Int":"\u222c","integers":"\u2124","Integral":"\u222b","intercal":"\u22ba","Intersection":"\u22c2","intlarhk":"\u2a17","intprod":"\u2a3c","InvisibleComma":"\u2063","InvisibleTimes":"\u2062","IOcy":"\u0401","iocy":"\u0451","Iogon":"\u012e","iogon":"\u012f","Iopf":"\ud835\udd40","iopf":"\ud835\udd5a","Iota":"\u0399","iota":"\u03b9","iprod":"\u2a3c","iquest":"\xbf","iscr":"\ud835\udcbe","Iscr":"\u2110","isin":"\u2208","isindot":"\u22f5","isinE":"\u22f9","isins":"\u22f4","isinsv":"\u22f3","isinv":"\u2208","it":"\u2062","Itilde":"\u0128","itilde":"\u0129","Iukcy":"\u0406","iukcy":"\u0456","Iuml":"\xcf","iuml":"\xef","Jcirc":"\u0134","jcirc":"\u0135","Jcy":"\u0419","jcy":"\u0439","Jfr":"\ud835\udd0d","jfr":"\ud835\udd27","jmath":"\u0237","Jopf":"\ud835\udd41","jopf":"\ud835\udd5b","Jscr":"\ud835\udca5","jscr":"\ud835\udcbf","Jsercy":"\u0408","jsercy":"\u0458","Jukcy":"\u0404","jukcy":"\u0454","Kappa":"\u039a","kappa":"\u03ba","kappav":"\u03f0","Kcedil":"\u0136","kcedil":"\u0137","Kcy":"\u041a","kcy":"\u043a","Kfr":"\ud835\udd0e","kfr":"\ud835\udd28","kgreen":"\u0138","KHcy":"\u0425","khcy":"\u0445","KJcy":"\u040c","kjcy":"\u045c","Kopf":"\ud835\udd42","kopf":"\ud835\udd5c","Kscr":"\ud835\udca6","kscr":"\ud835\udcc0","lAarr":"\u21da","Lacute":"\u0139","lacute":"\u013a","laemptyv":"\u29b4","lagran":"\u2112","Lambda":"\u039b","lambda":"\u03bb","lang":"\u27e8","Lang":"\u27ea","langd":"\u2991","langle":"\u27e8","lap":"\u2a85","Laplacetrf":"\u2112","laquo":"\xab","larrb":"\u21e4","larrbfs":"\u291f","larr":"\u2190","Larr":"\u219e","lArr":"\u21d0","larrfs":"\u291d","larrhk":"\u21a9","larrlp":"\u21ab","larrpl":"\u2939","larrsim":"\u2973","larrtl":"\u21a2","latail":"\u2919","lAtail":"\u291b","lat":"\u2aab","late":"\u2aad","lates":"\u2aad\ufe00","lbarr":"\u290c","lBarr":"\u290e","lbbrk":"\u2772","lbrace":"{","lbrack":"[","lbrke":"\u298b","lbrksld":"\u298f","lbrkslu":"\u298d","Lcaron":"\u013d","lcaron":"\u013e","Lcedil":"\u013b","lcedil":"\u013c","lceil":"\u2308","lcub":"{","Lcy":"\u041b","lcy":"\u043b","ldca":"\u2936","ldquo":"\u201c","ldquor":"\u201e","ldrdhar":"\u2967","ldrushar":"\u294b","ldsh":"\u21b2","le":"\u2264","lE":"\u2266","LeftAngleBracket":"\u27e8","LeftArrowBar":"\u21e4","leftarrow":"\u2190","LeftArrow":"\u2190","Leftarrow":"\u21d0","LeftArrowRightArrow":"\u21c6","leftarrowtail":"\u21a2","LeftCeiling":"\u2308","LeftDoubleBracket":"\u27e6","LeftDownTeeVector":"\u2961","LeftDownVectorBar":"\u2959","LeftDownVector":"\u21c3","LeftFloor":"\u230a","leftharpoondown":"\u21bd","leftharpoonup":"\u21bc","leftleftarrows":"\u21c7","leftrightarrow":"\u2194","LeftRightArrow":"\u2194","Leftrightarrow":"\u21d4","leftrightarrows":"\u21c6","leftrightharpoons":"\u21cb","leftrightsquigarrow":"\u21ad","LeftRightVector":"\u294e","LeftTeeArrow":"\u21a4","LeftTee":"\u22a3","LeftTeeVector":"\u295a","leftthreetimes":"\u22cb","LeftTriangleBar":"\u29cf","LeftTriangle":"\u22b2","LeftTriangleEqual":"\u22b4","LeftUpDownVector":"\u2951","LeftUpTeeVector":"\u2960","LeftUpVectorBar":"\u2958","LeftUpVector":"\u21bf","LeftVectorBar":"\u2952","LeftVector":"\u21bc","lEg":"\u2a8b","leg":"\u22da","leq":"\u2264","leqq":"\u2266","leqslant":"\u2a7d","lescc":"\u2aa8","les":"\u2a7d","lesdot":"\u2a7f","lesdoto":"\u2a81","lesdotor":"\u2a83","lesg":"\u22da\ufe00","lesges":"\u2a93","lessapprox":"\u2a85","lessdot":"\u22d6","lesseqgtr":"\u22da","lesseqqgtr":"\u2a8b","LessEqualGreater":"\u22da","LessFullEqual":"\u2266","LessGreater":"\u2276","lessgtr":"\u2276","LessLess":"\u2aa1","lesssim":"\u2272","LessSlantEqual":"\u2a7d","LessTilde":"\u2272","lfisht":"\u297c","lfloor":"\u230a","Lfr":"\ud835\udd0f","lfr":"\ud835\udd29","lg":"\u2276","lgE":"\u2a91","lHar":"\u2962","lhard":"\u21bd","lharu":"\u21bc","lharul":"\u296a","lhblk":"\u2584","LJcy":"\u0409","ljcy":"\u0459","llarr":"\u21c7","ll":"\u226a","Ll":"\u22d8","llcorner":"\u231e","Lleftarrow":"\u21da","llhard":"\u296b","lltri":"\u25fa","Lmidot":"\u013f","lmidot":"\u0140","lmoustache":"\u23b0","lmoust":"\u23b0","lnap":"\u2a89","lnapprox":"\u2a89","lne":"\u2a87","lnE":"\u2268","lneq":"\u2a87","lneqq":"\u2268","lnsim":"\u22e6","loang":"\u27ec","loarr":"\u21fd","lobrk":"\u27e6","longleftarrow":"\u27f5","LongLeftArrow":"\u27f5","Longleftarrow":"\u27f8","longleftrightarrow":"\u27f7","LongLeftRightArrow":"\u27f7","Longleftrightarrow":"\u27fa","longmapsto":"\u27fc","longrightarrow":"\u27f6","LongRightArrow":"\u27f6","Longrightarrow":"\u27f9","looparrowleft":"\u21ab","looparrowright":"\u21ac","lopar":"\u2985","Lopf":"\ud835\udd43","lopf":"\ud835\udd5d","loplus":"\u2a2d","lotimes":"\u2a34","lowast":"\u2217","lowbar":"_","LowerLeftArrow":"\u2199","LowerRightArrow":"\u2198","loz":"\u25ca","lozenge":"\u25ca","lozf":"\u29eb","lpar":"(","lparlt":"\u2993","lrarr":"\u21c6","lrcorner":"\u231f","lrhar":"\u21cb","lrhard":"\u296d","lrm":"\u200e","lrtri":"\u22bf","lsaquo":"\u2039","lscr":"\ud835\udcc1","Lscr":"\u2112","lsh":"\u21b0","Lsh":"\u21b0","lsim":"\u2272","lsime":"\u2a8d","lsimg":"\u2a8f","lsqb":"[","lsquo":"\u2018","lsquor":"\u201a","Lstrok":"\u0141","lstrok":"\u0142","ltcc":"\u2aa6","ltcir":"\u2a79","lt":"<","LT":"<","Lt":"\u226a","ltdot":"\u22d6","lthree":"\u22cb","ltimes":"\u22c9","ltlarr":"\u2976","ltquest":"\u2a7b","ltri":"\u25c3","ltrie":"\u22b4","ltrif":"\u25c2","ltrPar":"\u2996","lurdshar":"\u294a","luruhar":"\u2966","lvertneqq":"\u2268\ufe00","lvnE":"\u2268\ufe00","macr":"\xaf","male":"\u2642","malt":"\u2720","maltese":"\u2720","Map":"\u2905","map":"\u21a6","mapsto":"\u21a6","mapstodown":"\u21a7","mapstoleft":"\u21a4","mapstoup":"\u21a5","marker":"\u25ae","mcomma":"\u2a29","Mcy":"\u041c","mcy":"\u043c","mdash":"\u2014","mDDot":"\u223a","measuredangle":"\u2221","MediumSpace":"\u205f","Mellintrf":"\u2133","Mfr":"\ud835\udd10","mfr":"\ud835\udd2a","mho":"\u2127","micro":"\xb5","midast":"*","midcir":"\u2af0","mid":"\u2223","middot":"\xb7","minusb":"\u229f","minus":"\u2212","minusd":"\u2238","minusdu":"\u2a2a","MinusPlus":"\u2213","mlcp":"\u2adb","mldr":"\u2026","mnplus":"\u2213","models":"\u22a7","Mopf":"\ud835\udd44","mopf":"\ud835\udd5e","mp":"\u2213","mscr":"\ud835\udcc2","Mscr":"\u2133","mstpos":"\u223e","Mu":"\u039c","mu":"\u03bc","multimap":"\u22b8","mumap":"\u22b8","nabla":"\u2207","Nacute":"\u0143","nacute":"\u0144","nang":"\u2220\u20d2","nap":"\u2249","napE":"\u2a70\u0338","napid":"\u224b\u0338","napos":"\u0149","napprox":"\u2249","natural":"\u266e","naturals":"\u2115","natur":"\u266e","nbsp":"\xa0","nbump":"\u224e\u0338","nbumpe":"\u224f\u0338","ncap":"\u2a43","Ncaron":"\u0147","ncaron":"\u0148","Ncedil":"\u0145","ncedil":"\u0146","ncong":"\u2247","ncongdot":"\u2a6d\u0338","ncup":"\u2a42","Ncy":"\u041d","ncy":"\u043d","ndash":"\u2013","nearhk":"\u2924","nearr":"\u2197","neArr":"\u21d7","nearrow":"\u2197","ne":"\u2260","nedot":"\u2250\u0338","NegativeMediumSpace":"\u200b","NegativeThickSpace":"\u200b","NegativeThinSpace":"\u200b","NegativeVeryThinSpace":"\u200b","nequiv":"\u2262","nesear":"\u2928","nesim":"\u2242\u0338","NestedGreaterGreater":"\u226b","NestedLessLess":"\u226a","NewLine":"\\n","nexist":"\u2204","nexists":"\u2204","Nfr":"\ud835\udd11","nfr":"\ud835\udd2b","ngE":"\u2267\u0338","nge":"\u2271","ngeq":"\u2271","ngeqq":"\u2267\u0338","ngeqslant":"\u2a7e\u0338","nges":"\u2a7e\u0338","nGg":"\u22d9\u0338","ngsim":"\u2275","nGt":"\u226b\u20d2","ngt":"\u226f","ngtr":"\u226f","nGtv":"\u226b\u0338","nharr":"\u21ae","nhArr":"\u21ce","nhpar":"\u2af2","ni":"\u220b","nis":"\u22fc","nisd":"\u22fa","niv":"\u220b","NJcy":"\u040a","njcy":"\u045a","nlarr":"\u219a","nlArr":"\u21cd","nldr":"\u2025","nlE":"\u2266\u0338","nle":"\u2270","nleftarrow":"\u219a","nLeftarrow":"\u21cd","nleftrightarrow":"\u21ae","nLeftrightarrow":"\u21ce","nleq":"\u2270","nleqq":"\u2266\u0338","nleqslant":"\u2a7d\u0338","nles":"\u2a7d\u0338","nless":"\u226e","nLl":"\u22d8\u0338","nlsim":"\u2274","nLt":"\u226a\u20d2","nlt":"\u226e","nltri":"\u22ea","nltrie":"\u22ec","nLtv":"\u226a\u0338","nmid":"\u2224","NoBreak":"\u2060","NonBreakingSpace":"\xa0","nopf":"\ud835\udd5f","Nopf":"\u2115","Not":"\u2aec","not":"\xac","NotCongruent":"\u2262","NotCupCap":"\u226d","NotDoubleVerticalBar":"\u2226","NotElement":"\u2209","NotEqual":"\u2260","NotEqualTilde":"\u2242\u0338","NotExists":"\u2204","NotGreater":"\u226f","NotGreaterEqual":"\u2271","NotGreaterFullEqual":"\u2267\u0338","NotGreaterGreater":"\u226b\u0338","NotGreaterLess":"\u2279","NotGreaterSlantEqual":"\u2a7e\u0338","NotGreaterTilde":"\u2275","NotHumpDownHump":"\u224e\u0338","NotHumpEqual":"\u224f\u0338","notin":"\u2209","notindot":"\u22f5\u0338","notinE":"\u22f9\u0338","notinva":"\u2209","notinvb":"\u22f7","notinvc":"\u22f6","NotLeftTriangleBar":"\u29cf\u0338","NotLeftTriangle":"\u22ea","NotLeftTriangleEqual":"\u22ec","NotLess":"\u226e","NotLessEqual":"\u2270","NotLessGreater":"\u2278","NotLessLess":"\u226a\u0338","NotLessSlantEqual":"\u2a7d\u0338","NotLessTilde":"\u2274","NotNestedGreaterGreater":"\u2aa2\u0338","NotNestedLessLess":"\u2aa1\u0338","notni":"\u220c","notniva":"\u220c","notnivb":"\u22fe","notnivc":"\u22fd","NotPrecedes":"\u2280","NotPrecedesEqual":"\u2aaf\u0338","NotPrecedesSlantEqual":"\u22e0","NotReverseElement":"\u220c","NotRightTriangleBar":"\u29d0\u0338","NotRightTriangle":"\u22eb","NotRightTriangleEqual":"\u22ed","NotSquareSubset":"\u228f\u0338","NotSquareSubsetEqual":"\u22e2","NotSquareSuperset":"\u2290\u0338","NotSquareSupersetEqual":"\u22e3","NotSubset":"\u2282\u20d2","NotSubsetEqual":"\u2288","NotSucceeds":"\u2281","NotSucceedsEqual":"\u2ab0\u0338","NotSucceedsSlantEqual":"\u22e1","NotSucceedsTilde":"\u227f\u0338","NotSuperset":"\u2283\u20d2","NotSupersetEqual":"\u2289","NotTilde":"\u2241","NotTildeEqual":"\u2244","NotTildeFullEqual":"\u2247","NotTildeTilde":"\u2249","NotVerticalBar":"\u2224","nparallel":"\u2226","npar":"\u2226","nparsl":"\u2afd\u20e5","npart":"\u2202\u0338","npolint":"\u2a14","npr":"\u2280","nprcue":"\u22e0","nprec":"\u2280","npreceq":"\u2aaf\u0338","npre":"\u2aaf\u0338","nrarrc":"\u2933\u0338","nrarr":"\u219b","nrArr":"\u21cf","nrarrw":"\u219d\u0338","nrightarrow":"\u219b","nRightarrow":"\u21cf","nrtri":"\u22eb","nrtrie":"\u22ed","nsc":"\u2281","nsccue":"\u22e1","nsce":"\u2ab0\u0338","Nscr":"\ud835\udca9","nscr":"\ud835\udcc3","nshortmid":"\u2224","nshortparallel":"\u2226","nsim":"\u2241","nsime":"\u2244","nsimeq":"\u2244","nsmid":"\u2224","nspar":"\u2226","nsqsube":"\u22e2","nsqsupe":"\u22e3","nsub":"\u2284","nsubE":"\u2ac5\u0338","nsube":"\u2288","nsubset":"\u2282\u20d2","nsubseteq":"\u2288","nsubseteqq":"\u2ac5\u0338","nsucc":"\u2281","nsucceq":"\u2ab0\u0338","nsup":"\u2285","nsupE":"\u2ac6\u0338","nsupe":"\u2289","nsupset":"\u2283\u20d2","nsupseteq":"\u2289","nsupseteqq":"\u2ac6\u0338","ntgl":"\u2279","Ntilde":"\xd1","ntilde":"\xf1","ntlg":"\u2278","ntriangleleft":"\u22ea","ntrianglelefteq":"\u22ec","ntriangleright":"\u22eb","ntrianglerighteq":"\u22ed","Nu":"\u039d","nu":"\u03bd","num":"#","numero":"\u2116","numsp":"\u2007","nvap":"\u224d\u20d2","nvdash":"\u22ac","nvDash":"\u22ad","nVdash":"\u22ae","nVDash":"\u22af","nvge":"\u2265\u20d2","nvgt":">\u20d2","nvHarr":"\u2904","nvinfin":"\u29de","nvlArr":"\u2902","nvle":"\u2264\u20d2","nvlt":"<\u20d2","nvltrie":"\u22b4\u20d2","nvrArr":"\u2903","nvrtrie":"\u22b5\u20d2","nvsim":"\u223c\u20d2","nwarhk":"\u2923","nwarr":"\u2196","nwArr":"\u21d6","nwarrow":"\u2196","nwnear":"\u2927","Oacute":"\xd3","oacute":"\xf3","oast":"\u229b","Ocirc":"\xd4","ocirc":"\xf4","ocir":"\u229a","Ocy":"\u041e","ocy":"\u043e","odash":"\u229d","Odblac":"\u0150","odblac":"\u0151","odiv":"\u2a38","odot":"\u2299","odsold":"\u29bc","OElig":"\u0152","oelig":"\u0153","ofcir":"\u29bf","Ofr":"\ud835\udd12","ofr":"\ud835\udd2c","ogon":"\u02db","Ograve":"\xd2","ograve":"\xf2","ogt":"\u29c1","ohbar":"\u29b5","ohm":"\u03a9","oint":"\u222e","olarr":"\u21ba","olcir":"\u29be","olcross":"\u29bb","oline":"\u203e","olt":"\u29c0","Omacr":"\u014c","omacr":"\u014d","Omega":"\u03a9","omega":"\u03c9","Omicron":"\u039f","omicron":"\u03bf","omid":"\u29b6","ominus":"\u2296","Oopf":"\ud835\udd46","oopf":"\ud835\udd60","opar":"\u29b7","OpenCurlyDoubleQuote":"\u201c","OpenCurlyQuote":"\u2018","operp":"\u29b9","oplus":"\u2295","orarr":"\u21bb","Or":"\u2a54","or":"\u2228","ord":"\u2a5d","order":"\u2134","orderof":"\u2134","ordf":"\xaa","ordm":"\xba","origof":"\u22b6","oror":"\u2a56","orslope":"\u2a57","orv":"\u2a5b","oS":"\u24c8","Oscr":"\ud835\udcaa","oscr":"\u2134","Oslash":"\xd8","oslash":"\xf8","osol":"\u2298","Otilde":"\xd5","otilde":"\xf5","otimesas":"\u2a36","Otimes":"\u2a37","otimes":"\u2297","Ouml":"\xd6","ouml":"\xf6","ovbar":"\u233d","OverBar":"\u203e","OverBrace":"\u23de","OverBracket":"\u23b4","OverParenthesis":"\u23dc","para":"\xb6","parallel":"\u2225","par":"\u2225","parsim":"\u2af3","parsl":"\u2afd","part":"\u2202","PartialD":"\u2202","Pcy":"\u041f","pcy":"\u043f","percnt":"%","period":".","permil":"\u2030","perp":"\u22a5","pertenk":"\u2031","Pfr":"\ud835\udd13","pfr":"\ud835\udd2d","Phi":"\u03a6","phi":"\u03c6","phiv":"\u03d5","phmmat":"\u2133","phone":"\u260e","Pi":"\u03a0","pi":"\u03c0","pitchfork":"\u22d4","piv":"\u03d6","planck":"\u210f","planckh":"\u210e","plankv":"\u210f","plusacir":"\u2a23","plusb":"\u229e","pluscir":"\u2a22","plus":"+","plusdo":"\u2214","plusdu":"\u2a25","pluse":"\u2a72","PlusMinus":"\xb1","plusmn":"\xb1","plussim":"\u2a26","plustwo":"\u2a27","pm":"\xb1","Poincareplane":"\u210c","pointint":"\u2a15","popf":"\ud835\udd61","Popf":"\u2119","pound":"\xa3","prap":"\u2ab7","Pr":"\u2abb","pr":"\u227a","prcue":"\u227c","precapprox":"\u2ab7","prec":"\u227a","preccurlyeq":"\u227c","Precedes":"\u227a","PrecedesEqual":"\u2aaf","PrecedesSlantEqual":"\u227c","PrecedesTilde":"\u227e","preceq":"\u2aaf","precnapprox":"\u2ab9","precneqq":"\u2ab5","precnsim":"\u22e8","pre":"\u2aaf","prE":"\u2ab3","precsim":"\u227e","prime":"\u2032","Prime":"\u2033","primes":"\u2119","prnap":"\u2ab9","prnE":"\u2ab5","prnsim":"\u22e8","prod":"\u220f","Product":"\u220f","profalar":"\u232e","profline":"\u2312","profsurf":"\u2313","prop":"\u221d","Proportional":"\u221d","Proportion":"\u2237","propto":"\u221d","prsim":"\u227e","prurel":"\u22b0","Pscr":"\ud835\udcab","pscr":"\ud835\udcc5","Psi":"\u03a8","psi":"\u03c8","puncsp":"\u2008","Qfr":"\ud835\udd14","qfr":"\ud835\udd2e","qint":"\u2a0c","qopf":"\ud835\udd62","Qopf":"\u211a","qprime":"\u2057","Qscr":"\ud835\udcac","qscr":"\ud835\udcc6","quaternions":"\u210d","quatint":"\u2a16","quest":"?","questeq":"\u225f","quot":"\\"","QUOT":"\\"","rAarr":"\u21db","race":"\u223d\u0331","Racute":"\u0154","racute":"\u0155","radic":"\u221a","raemptyv":"\u29b3","rang":"\u27e9","Rang":"\u27eb","rangd":"\u2992","range":"\u29a5","rangle":"\u27e9","raquo":"\xbb","rarrap":"\u2975","rarrb":"\u21e5","rarrbfs":"\u2920","rarrc":"\u2933","rarr":"\u2192","Rarr":"\u21a0","rArr":"\u21d2","rarrfs":"\u291e","rarrhk":"\u21aa","rarrlp":"\u21ac","rarrpl":"\u2945","rarrsim":"\u2974","Rarrtl":"\u2916","rarrtl":"\u21a3","rarrw":"\u219d","ratail":"\u291a","rAtail":"\u291c","ratio":"\u2236","rationals":"\u211a","rbarr":"\u290d","rBarr":"\u290f","RBarr":"\u2910","rbbrk":"\u2773","rbrace":"}","rbrack":"]","rbrke":"\u298c","rbrksld":"\u298e","rbrkslu":"\u2990","Rcaron":"\u0158","rcaron":"\u0159","Rcedil":"\u0156","rcedil":"\u0157","rceil":"\u2309","rcub":"}","Rcy":"\u0420","rcy":"\u0440","rdca":"\u2937","rdldhar":"\u2969","rdquo":"\u201d","rdquor":"\u201d","rdsh":"\u21b3","real":"\u211c","realine":"\u211b","realpart":"\u211c","reals":"\u211d","Re":"\u211c","rect":"\u25ad","reg":"\xae","REG":"\xae","ReverseElement":"\u220b","ReverseEquilibrium":"\u21cb","ReverseUpEquilibrium":"\u296f","rfisht":"\u297d","rfloor":"\u230b","rfr":"\ud835\udd2f","Rfr":"\u211c","rHar":"\u2964","rhard":"\u21c1","rharu":"\u21c0","rharul":"\u296c","Rho":"\u03a1","rho":"\u03c1","rhov":"\u03f1","RightAngleBracket":"\u27e9","RightArrowBar":"\u21e5","rightarrow":"\u2192","RightArrow":"\u2192","Rightarrow":"\u21d2","RightArrowLeftArrow":"\u21c4","rightarrowtail":"\u21a3","RightCeiling":"\u2309","RightDoubleBracket":"\u27e7","RightDownTeeVector":"\u295d","RightDownVectorBar":"\u2955","RightDownVector":"\u21c2","RightFloor":"\u230b","rightharpoondown":"\u21c1","rightharpoonup":"\u21c0","rightleftarrows":"\u21c4","rightleftharpoons":"\u21cc","rightrightarrows":"\u21c9","rightsquigarrow":"\u219d","RightTeeArrow":"\u21a6","RightTee":"\u22a2","RightTeeVector":"\u295b","rightthreetimes":"\u22cc","RightTriangleBar":"\u29d0","RightTriangle":"\u22b3","RightTriangleEqual":"\u22b5","RightUpDownVector":"\u294f","RightUpTeeVector":"\u295c","RightUpVectorBar":"\u2954","RightUpVector":"\u21be","RightVectorBar":"\u2953","RightVector":"\u21c0","ring":"\u02da","risingdotseq":"\u2253","rlarr":"\u21c4","rlhar":"\u21cc","rlm":"\u200f","rmoustache":"\u23b1","rmoust":"\u23b1","rnmid":"\u2aee","roang":"\u27ed","roarr":"\u21fe","robrk":"\u27e7","ropar":"\u2986","ropf":"\ud835\udd63","Ropf":"\u211d","roplus":"\u2a2e","rotimes":"\u2a35","RoundImplies":"\u2970","rpar":")","rpargt":"\u2994","rppolint":"\u2a12","rrarr":"\u21c9","Rrightarrow":"\u21db","rsaquo":"\u203a","rscr":"\ud835\udcc7","Rscr":"\u211b","rsh":"\u21b1","Rsh":"\u21b1","rsqb":"]","rsquo":"\u2019","rsquor":"\u2019","rthree":"\u22cc","rtimes":"\u22ca","rtri":"\u25b9","rtrie":"\u22b5","rtrif":"\u25b8","rtriltri":"\u29ce","RuleDelayed":"\u29f4","ruluhar":"\u2968","rx":"\u211e","Sacute":"\u015a","sacute":"\u015b","sbquo":"\u201a","scap":"\u2ab8","Scaron":"\u0160","scaron":"\u0161","Sc":"\u2abc","sc":"\u227b","sccue":"\u227d","sce":"\u2ab0","scE":"\u2ab4","Scedil":"\u015e","scedil":"\u015f","Scirc":"\u015c","scirc":"\u015d","scnap":"\u2aba","scnE":"\u2ab6","scnsim":"\u22e9","scpolint":"\u2a13","scsim":"\u227f","Scy":"\u0421","scy":"\u0441","sdotb":"\u22a1","sdot":"\u22c5","sdote":"\u2a66","searhk":"\u2925","searr":"\u2198","seArr":"\u21d8","searrow":"\u2198","sect":"\xa7","semi":";","seswar":"\u2929","setminus":"\u2216","setmn":"\u2216","sext":"\u2736","Sfr":"\ud835\udd16","sfr":"\ud835\udd30","sfrown":"\u2322","sharp":"\u266f","SHCHcy":"\u0429","shchcy":"\u0449","SHcy":"\u0428","shcy":"\u0448","ShortDownArrow":"\u2193","ShortLeftArrow":"\u2190","shortmid":"\u2223","shortparallel":"\u2225","ShortRightArrow":"\u2192","ShortUpArrow":"\u2191","shy":"\xad","Sigma":"\u03a3","sigma":"\u03c3","sigmaf":"\u03c2","sigmav":"\u03c2","sim":"\u223c","simdot":"\u2a6a","sime":"\u2243","simeq":"\u2243","simg":"\u2a9e","simgE":"\u2aa0","siml":"\u2a9d","simlE":"\u2a9f","simne":"\u2246","simplus":"\u2a24","simrarr":"\u2972","slarr":"\u2190","SmallCircle":"\u2218","smallsetminus":"\u2216","smashp":"\u2a33","smeparsl":"\u29e4","smid":"\u2223","smile":"\u2323","smt":"\u2aaa","smte":"\u2aac","smtes":"\u2aac\ufe00","SOFTcy":"\u042c","softcy":"\u044c","solbar":"\u233f","solb":"\u29c4","sol":"/","Sopf":"\ud835\udd4a","sopf":"\ud835\udd64","spades":"\u2660","spadesuit":"\u2660","spar":"\u2225","sqcap":"\u2293","sqcaps":"\u2293\ufe00","sqcup":"\u2294","sqcups":"\u2294\ufe00","Sqrt":"\u221a","sqsub":"\u228f","sqsube":"\u2291","sqsubset":"\u228f","sqsubseteq":"\u2291","sqsup":"\u2290","sqsupe":"\u2292","sqsupset":"\u2290","sqsupseteq":"\u2292","square":"\u25a1","Square":"\u25a1","SquareIntersection":"\u2293","SquareSubset":"\u228f","SquareSubsetEqual":"\u2291","SquareSuperset":"\u2290","SquareSupersetEqual":"\u2292","SquareUnion":"\u2294","squarf":"\u25aa","squ":"\u25a1","squf":"\u25aa","srarr":"\u2192","Sscr":"\ud835\udcae","sscr":"\ud835\udcc8","ssetmn":"\u2216","ssmile":"\u2323","sstarf":"\u22c6","Star":"\u22c6","star":"\u2606","starf":"\u2605","straightepsilon":"\u03f5","straightphi":"\u03d5","strns":"\xaf","sub":"\u2282","Sub":"\u22d0","subdot":"\u2abd","subE":"\u2ac5","sube":"\u2286","subedot":"\u2ac3","submult":"\u2ac1","subnE":"\u2acb","subne":"\u228a","subplus":"\u2abf","subrarr":"\u2979","subset":"\u2282","Subset":"\u22d0","subseteq":"\u2286","subseteqq":"\u2ac5","SubsetEqual":"\u2286","subsetneq":"\u228a","subsetneqq":"\u2acb","subsim":"\u2ac7","subsub":"\u2ad5","subsup":"\u2ad3","succapprox":"\u2ab8","succ":"\u227b","succcurlyeq":"\u227d","Succeeds":"\u227b","SucceedsEqual":"\u2ab0","SucceedsSlantEqual":"\u227d","SucceedsTilde":"\u227f","succeq":"\u2ab0","succnapprox":"\u2aba","succneqq":"\u2ab6","succnsim":"\u22e9","succsim":"\u227f","SuchThat":"\u220b","sum":"\u2211","Sum":"\u2211","sung":"\u266a","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","sup":"\u2283","Sup":"\u22d1","supdot":"\u2abe","supdsub":"\u2ad8","supE":"\u2ac6","supe":"\u2287","supedot":"\u2ac4","Superset":"\u2283","SupersetEqual":"\u2287","suphsol":"\u27c9","suphsub":"\u2ad7","suplarr":"\u297b","supmult":"\u2ac2","supnE":"\u2acc","supne":"\u228b","supplus":"\u2ac0","supset":"\u2283","Supset":"\u22d1","supseteq":"\u2287","supseteqq":"\u2ac6","supsetneq":"\u228b","supsetneqq":"\u2acc","supsim":"\u2ac8","supsub":"\u2ad4","supsup":"\u2ad6","swarhk":"\u2926","swarr":"\u2199","swArr":"\u21d9","swarrow":"\u2199","swnwar":"\u292a","szlig":"\xdf","Tab":"\\t","target":"\u2316","Tau":"\u03a4","tau":"\u03c4","tbrk":"\u23b4","Tcaron":"\u0164","tcaron":"\u0165","Tcedil":"\u0162","tcedil":"\u0163","Tcy":"\u0422","tcy":"\u0442","tdot":"\u20db","telrec":"\u2315","Tfr":"\ud835\udd17","tfr":"\ud835\udd31","there4":"\u2234","therefore":"\u2234","Therefore":"\u2234","Theta":"\u0398","theta":"\u03b8","thetasym":"\u03d1","thetav":"\u03d1","thickapprox":"\u2248","thicksim":"\u223c","ThickSpace":"\u205f\u200a","ThinSpace":"\u2009","thinsp":"\u2009","thkap":"\u2248","thksim":"\u223c","THORN":"\xde","thorn":"\xfe","tilde":"\u02dc","Tilde":"\u223c","TildeEqual":"\u2243","TildeFullEqual":"\u2245","TildeTilde":"\u2248","timesbar":"\u2a31","timesb":"\u22a0","times":"\xd7","timesd":"\u2a30","tint":"\u222d","toea":"\u2928","topbot":"\u2336","topcir":"\u2af1","top":"\u22a4","Topf":"\ud835\udd4b","topf":"\ud835\udd65","topfork":"\u2ada","tosa":"\u2929","tprime":"\u2034","trade":"\u2122","TRADE":"\u2122","triangle":"\u25b5","triangledown":"\u25bf","triangleleft":"\u25c3","trianglelefteq":"\u22b4","triangleq":"\u225c","triangleright":"\u25b9","trianglerighteq":"\u22b5","tridot":"\u25ec","trie":"\u225c","triminus":"\u2a3a","TripleDot":"\u20db","triplus":"\u2a39","trisb":"\u29cd","tritime":"\u2a3b","trpezium":"\u23e2","Tscr":"\ud835\udcaf","tscr":"\ud835\udcc9","TScy":"\u0426","tscy":"\u0446","TSHcy":"\u040b","tshcy":"\u045b","Tstrok":"\u0166","tstrok":"\u0167","twixt":"\u226c","twoheadleftarrow":"\u219e","twoheadrightarrow":"\u21a0","Uacute":"\xda","uacute":"\xfa","uarr":"\u2191","Uarr":"\u219f","uArr":"\u21d1","Uarrocir":"\u2949","Ubrcy":"\u040e","ubrcy":"\u045e","Ubreve":"\u016c","ubreve":"\u016d","Ucirc":"\xdb","ucirc":"\xfb","Ucy":"\u0423","ucy":"\u0443","udarr":"\u21c5","Udblac":"\u0170","udblac":"\u0171","udhar":"\u296e","ufisht":"\u297e","Ufr":"\ud835\udd18","ufr":"\ud835\udd32","Ugrave":"\xd9","ugrave":"\xf9","uHar":"\u2963","uharl":"\u21bf","uharr":"\u21be","uhblk":"\u2580","ulcorn":"\u231c","ulcorner":"\u231c","ulcrop":"\u230f","ultri":"\u25f8","Umacr":"\u016a","umacr":"\u016b","uml":"\xa8","UnderBar":"_","UnderBrace":"\u23df","UnderBracket":"\u23b5","UnderParenthesis":"\u23dd","Union":"\u22c3","UnionPlus":"\u228e","Uogon":"\u0172","uogon":"\u0173","Uopf":"\ud835\udd4c","uopf":"\ud835\udd66","UpArrowBar":"\u2912","uparrow":"\u2191","UpArrow":"\u2191","Uparrow":"\u21d1","UpArrowDownArrow":"\u21c5","updownarrow":"\u2195","UpDownArrow":"\u2195","Updownarrow":"\u21d5","UpEquilibrium":"\u296e","upharpoonleft":"\u21bf","upharpoonright":"\u21be","uplus":"\u228e","UpperLeftArrow":"\u2196","UpperRightArrow":"\u2197","upsi":"\u03c5","Upsi":"\u03d2","upsih":"\u03d2","Upsilon":"\u03a5","upsilon":"\u03c5","UpTeeArrow":"\u21a5","UpTee":"\u22a5","upuparrows":"\u21c8","urcorn":"\u231d","urcorner":"\u231d","urcrop":"\u230e","Uring":"\u016e","uring":"\u016f","urtri":"\u25f9","Uscr":"\ud835\udcb0","uscr":"\ud835\udcca","utdot":"\u22f0","Utilde":"\u0168","utilde":"\u0169","utri":"\u25b5","utrif":"\u25b4","uuarr":"\u21c8","Uuml":"\xdc","uuml":"\xfc","uwangle":"\u29a7","vangrt":"\u299c","varepsilon":"\u03f5","varkappa":"\u03f0","varnothing":"\u2205","varphi":"\u03d5","varpi":"\u03d6","varpropto":"\u221d","varr":"\u2195","vArr":"\u21d5","varrho":"\u03f1","varsigma":"\u03c2","varsubsetneq":"\u228a\ufe00","varsubsetneqq":"\u2acb\ufe00","varsupsetneq":"\u228b\ufe00","varsupsetneqq":"\u2acc\ufe00","vartheta":"\u03d1","vartriangleleft":"\u22b2","vartriangleright":"\u22b3","vBar":"\u2ae8","Vbar":"\u2aeb","vBarv":"\u2ae9","Vcy":"\u0412","vcy":"\u0432","vdash":"\u22a2","vDash":"\u22a8","Vdash":"\u22a9","VDash":"\u22ab","Vdashl":"\u2ae6","veebar":"\u22bb","vee":"\u2228","Vee":"\u22c1","veeeq":"\u225a","vellip":"\u22ee","verbar":"|","Verbar":"\u2016","vert":"|","Vert":"\u2016","VerticalBar":"\u2223","VerticalLine":"|","VerticalSeparator":"\u2758","VerticalTilde":"\u2240","VeryThinSpace":"\u200a","Vfr":"\ud835\udd19","vfr":"\ud835\udd33","vltri":"\u22b2","vnsub":"\u2282\u20d2","vnsup":"\u2283\u20d2","Vopf":"\ud835\udd4d","vopf":"\ud835\udd67","vprop":"\u221d","vrtri":"\u22b3","Vscr":"\ud835\udcb1","vscr":"\ud835\udccb","vsubnE":"\u2acb\ufe00","vsubne":"\u228a\ufe00","vsupnE":"\u2acc\ufe00","vsupne":"\u228b\ufe00","Vvdash":"\u22aa","vzigzag":"\u299a","Wcirc":"\u0174","wcirc":"\u0175","wedbar":"\u2a5f","wedge":"\u2227","Wedge":"\u22c0","wedgeq":"\u2259","weierp":"\u2118","Wfr":"\ud835\udd1a","wfr":"\ud835\udd34","Wopf":"\ud835\udd4e","wopf":"\ud835\udd68","wp":"\u2118","wr":"\u2240","wreath":"\u2240","Wscr":"\ud835\udcb2","wscr":"\ud835\udccc","xcap":"\u22c2","xcirc":"\u25ef","xcup":"\u22c3","xdtri":"\u25bd","Xfr":"\ud835\udd1b","xfr":"\ud835\udd35","xharr":"\u27f7","xhArr":"\u27fa","Xi":"\u039e","xi":"\u03be","xlarr":"\u27f5","xlArr":"\u27f8","xmap":"\u27fc","xnis":"\u22fb","xodot":"\u2a00","Xopf":"\ud835\udd4f","xopf":"\ud835\udd69","xoplus":"\u2a01","xotime":"\u2a02","xrarr":"\u27f6","xrArr":"\u27f9","Xscr":"\ud835\udcb3","xscr":"\ud835\udccd","xsqcup":"\u2a06","xuplus":"\u2a04","xutri":"\u25b3","xvee":"\u22c1","xwedge":"\u22c0","Yacute":"\xdd","yacute":"\xfd","YAcy":"\u042f","yacy":"\u044f","Ycirc":"\u0176","ycirc":"\u0177","Ycy":"\u042b","ycy":"\u044b","yen":"\xa5","Yfr":"\ud835\udd1c","yfr":"\ud835\udd36","YIcy":"\u0407","yicy":"\u0457","Yopf":"\ud835\udd50","yopf":"\ud835\udd6a","Yscr":"\ud835\udcb4","yscr":"\ud835\udcce","YUcy":"\u042e","yucy":"\u044e","yuml":"\xff","Yuml":"\u0178","Zacute":"\u0179","zacute":"\u017a","Zcaron":"\u017d","zcaron":"\u017e","Zcy":"\u0417","zcy":"\u0437","Zdot":"\u017b","zdot":"\u017c","zeetrf":"\u2128","ZeroWidthSpace":"\u200b","Zeta":"\u0396","zeta":"\u03b6","zfr":"\ud835\udd37","Zfr":"\u2128","ZHcy":"\u0416","zhcy":"\u0436","zigrarr":"\u21dd","zopf":"\ud835\udd6b","Zopf":"\u2124","Zscr":"\ud835\udcb5","zscr":"\ud835\udccf","zwj":"\u200d","zwnj":"\u200c"}')}},function(t){t(t.s=56791)}]); \ No newline at end of file diff --git a/main-es5.20c2dd3bb2d182f44365.js b/main-es5.20c2dd3bb2d182f44365.js new file mode 100644 index 000000000..b4d30caf0 --- /dev/null +++ b/main-es5.20c2dd3bb2d182f44365.js @@ -0,0 +1 @@ +!function(){function t(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t=function(){return n};var e,n={},r=Object.prototype,i=r.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},a="function"==typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(e){l=function(t,e,n){return t[e]=n}}function h(t,e,n,r){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),s=new A(r||[]);return o(a,"_invoke",{value:M(t,n,s)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}n.wrap=h;var d="suspendedStart",p="executing",v="completed",g={};function m(){}function y(){}function _(){}var b={};l(b,s,function(){return this});var k=Object.getPrototypeOf,w=k&&k(k(T([])));w&&w!==r&&i.call(w,s)&&(b=w);var C=_.prototype=m.prototype=Object.create(b);function x(t){["next","throw","return"].forEach(function(e){l(t,e,function(t){return this._invoke(e,t)})})}function O(t,e){function n(r,o,a,s){var u=f(t[r],t,o);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&i.call(l,"__await")?e.resolve(l.__await).then(function(t){n("next",t,a,s)},function(t){n("throw",t,a,s)}):e.resolve(l).then(function(t){c.value=t,a(c)},function(t){return n("throw",t,a,s)})}s(u.arg)}var r;o(this,"_invoke",{value:function(t,i){function o(){return new e(function(e,r){n(t,i,e,r)})}return r=r?r.then(o,o):o()}})}function M(t,n,r){var i=d;return function(o,a){if(i===p)throw new Error("Generator is already running");if(i===v){if("throw"===o)throw a;return{value:e,done:!0}}for(r.method=o,r.arg=a;;){var s=r.delegate;if(s){var u=S(s,r);if(u){if(u===g)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===d)throw i=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=p;var c=f(t,n,r);if("normal"===c.type){if(i=r.done?v:"suspendedYield",c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(i=v,r.method="throw",r.arg=c.arg)}}}function S(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,S(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=f(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var a=o.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function P(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 E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function T(t){if(t||""===t){var n=t[s];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function n(){for(;++r=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),c=i.call(a,"finallyLoc");if(u&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),E(n),g}},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 i=r.arg;E(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:T(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},n}function e(t,e,n){return(e=m(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function n(t){var e="function"==typeof Map?new Map:void 0;return n=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,i)}function i(){return r(t,arguments,f(this).constructor)}return i.prototype=Object.create(t.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),s(i,t)},n(t)}function r(t,e,n){return r=h()?Reflect.construct.bind():function(t,e,n){var r=[null];r.push.apply(r,e);var i=new(Function.bind.apply(t,r));return n&&s(i,n.prototype),i},r.apply(null,arguments)}function i(){return i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=o(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(arguments.length<3?t:n):i.value}},i.apply(this,arguments)}function o(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=f(t)););return t}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&s(t,e)}function s(t,e){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},s(t,e)}function u(t){var e=h();return function(){var n,r=f(t);if(e){var i=f(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return l(t)}function l(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function f(t){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},f(t)}function d(t){return function(t){if(Array.isArray(t))return k(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||b(t)||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 p(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,s=[],u=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=o.call(n)).done)&&(s.push(r.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(t,e)||b(t,e)||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 v(t,e){for(var n=0;n=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}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 o,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function b(t,e){if(t){if("string"==typeof t)return k(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?k(t,e):void 0}}function k(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:e,timings:t}}function u(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:t,options:e}}function c(t){return{type:6,styles:t,offset:null}}function l(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:t,animation:e,options:n}}function h(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return{type:9,options:t}}function f(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:11,selector:t,animation:e,options:n}}function d(t,e){return{type:12,timings:t,animation:e}}function p(t){Promise.resolve(null).then(t)}var v=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;y(this,t),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+n}return g(t,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"hasStarted",value:function(){return this._started}},{key:"init",value:function(){}},{key:"play",value:function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}},{key:"triggerMicrotask",value:function(){var t=this;p(function(){return t._onFinish()})}},{key:"_onStart",value:function(){this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[]}},{key:"pause",value:function(){}},{key:"restart",value:function(){}},{key:"finish",value:function(){this._onFinish()}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this._started=!1}},{key:"setPosition",value:function(t){this._position=this.totalTime?t*this.totalTime:1}},{key:"getPosition",value:function(){return this.totalTime?this._position/this.totalTime:1}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0}}]),t}(),m=function(){function t(e){var n=this;y(this,t),this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;var r=0,i=0,o=0,a=this.players.length;0==a?p(function(){return n._onFinish()}):this.players.forEach(function(t){t.onDone(function(){++r==a&&n._onFinish()}),t.onDestroy(function(){++i==a&&n._onDestroy()}),t.onStart(function(){++o==a&&n._onStart()})}),this.totalTime=this.players.reduce(function(t,e){return Math.max(t,e.totalTime)},0)}return g(t,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach(function(t){return t.init()})}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[])}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(t){return t.play()})}},{key:"pause",value:function(){this.players.forEach(function(t){return t.pause()})}},{key:"restart",value:function(){this.players.forEach(function(t){return t.restart()})}},{key:"finish",value:function(){this._onFinish(),this.players.forEach(function(t){return t.finish()})}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(t){return t.destroy()}),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach(function(t){return t.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(t){var e=t*this.totalTime;this.players.forEach(function(t){var n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}},{key:"getPosition",value:function(){var t=this.players.reduce(function(t,e){return null===t||e.totalTime>t.totalTime?e:t},null);return null!=t?t.getPosition():0}},{key:"beforeDestroy",value:function(){this.players.forEach(function(t){t.beforeDestroy&&t.beforeDestroy()})}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0}}]),t}(),_="!"},79221:function(t,e,n){"use strict";n.d(e,{Vi:function(){return z},Th:function(){return fe},NH:function(){return It},uL:function(){return Pe},nV:function(){return N},DT:function(){return Ae},Ar:function(){return Dt},QN:function(){return Te}});var r=n(56083),o=n(74788);function s(){return"undefined"!=typeof window&&void 0!==window.document}function c(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function l(t){switch(t.length){case 0:return new r.ZN;case 1:return t[0];default:return new r.ZE(t)}}function h(t,e,n,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=[],u=[],c=-1,l=null;if(i.forEach(function(t){var n=t.offset,i=n==c,h=i&&l||{};Object.keys(t).forEach(function(n){var i=n,u=t[n];if("offset"!==n)switch(i=e.normalizePropertyName(i,s),u){case r.k1:u=o[n];break;case r.l3:u=a[n];break;default:u=e.normalizeStyleValue(n,i,u,s)}h[i]=u}),i||u.push(h),l=h,c=n}),s.length){var h="\n - ";throw new Error("Unable to animate due to the following errors:".concat(h).concat(s.join(h)))}return u}function v(t,e,n,r){switch(e){case"start":t.onStart(function(){return r(n&&m(n,"start",t))});break;case"done":t.onDone(function(){return r(n&&m(n,"done",t))});break;case"destroy":t.onDestroy(function(){return r(n&&m(n,"destroy",t))})}}function m(t,e,n){var r=n.totalTime,i=b(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==r?t.totalTime:r,!!n.disabled),o=t._data;return null!=o&&(i._data=o),i}function b(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,a=arguments.length>6?arguments[6]:void 0;return{element:t,triggerName:e,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!a}}function k(t,e,n){var r;return t instanceof Map?(r=t.get(e))||t.set(e,r=n):(r=t[e])||(r=t[e]=n),r}function w(t){var e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}var C=function(t,e){return!1},x=function(t,e){return!1},O=function(t,e,n){return[]},M=c();(M||"undefined"!=typeof Element)&&(C=s()?function(t,e){for(;e&&e!==document.documentElement;){if(e===t)return!0;e=e.parentNode||e.host}return!1}:function(t,e){return t.contains(e)},x=function(){if(M||Element.prototype.matches)return function(t,e){return t.matches(e)};var t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?function(t,n){return e.apply(t,[n])}:x}(),O=function(t,e,n){var r=[];if(n)for(var i=t.querySelectorAll(e),o=0;o1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).forEach(function(n){e[n]=t[n]}),e}function G(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e)for(var r in t)n[r]=t[r];else H(t,n);return n}function J(t,e,n){return n?e+":"+n+";":""}function X(t){for(var e="",n=0;n *";case":leave":return"* => void";case":increment":return function(t,e){return parseFloat(e)>parseFloat(t)};case":decrement":return function(t,e){return parseFloat(e) *"}}(t,n);if("function"==typeof r)return void e.push(r);t=r}var i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push('The provided transition expression "'.concat(t,'" is not supported')),e;var o=i[1],a=i[2],s=i[3];e.push(dt(o,s)),"<"==a[0]&&("*"!=o||"*"!=s)&&e.push(dt(s,o))}(t,n,e)}):n.push(t),n}var ht=new Set(["true","1"]),ft=new Set(["false","0"]);function dt(t,e){var n=ht.has(t)||ft.has(t),r=ht.has(e)||ft.has(e);return function(i,o){var a="*"==t||t==i,s="*"==e||e==o;return!a&&n&&"boolean"==typeof i&&(a=i?ht.has(t):ft.has(t)),!s&&r&&"boolean"==typeof o&&(s=o?ht.has(e):ft.has(e)),a&&s}}var pt=new RegExp("s*:selfs*,?","g");function vt(t,e,n){return new gt(t).build(e,n)}var gt=function(){function t(e){y(this,t),this._driver=e}return g(t,[{key:"build",value:function(t,e){var n=new mt(e);return this._resetContextStyleTimingState(n),ut(this,W(t),n)}},{key:"_resetContextStyleTimingState",value:function(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}},{key:"visitTrigger",value:function(t,e){var n=this,r=e.queryCount=0,i=e.depCount=0,o=[],a=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(function(t){if(n._resetContextStyleTimingState(e),0==t.type){var s=t,u=s.name;u.toString().split(/\s*,\s*/).forEach(function(t){s.name=t,o.push(n.visitState(s,e))}),s.name=u}else if(1==t.type){var c=n.visitTransition(t,e);r+=c.queryCount,i+=c.depCount,a.push(c)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:o,transitions:a,queryCount:r,depCount:i,options:null}}},{key:"visitState",value:function(t,e){var n=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(n.containsDynamicStyles){var i=new Set,o=r||{};if(n.styles.forEach(function(t){if(yt(t)){var e=t;Object.keys(e).forEach(function(t){tt(e[t]).forEach(function(t){o.hasOwnProperty(t)||i.add(t)})})}}),i.size){var a=nt(i.values());e.errors.push('state("'.concat(t.name,'", ...) must define default values for all the following style substitutions: ').concat(a.join(", ")))}}return{type:0,name:t.name,style:n,options:r?{params:r}:null}}},{key:"visitTransition",value:function(t,e){e.queryCount=0,e.depCount=0;var n=ut(this,W(t.animation),e);return{type:1,matchers:lt(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:_t(t.options)}}},{key:"visitSequence",value:function(t,e){var n=this;return{type:2,steps:t.steps.map(function(t){return ut(n,t,e)}),options:_t(t.options)}}},{key:"visitGroup",value:function(t,e){var n=this,r=e.currentTime,i=0,o=t.steps.map(function(t){e.currentTime=r;var o=ut(n,t,e);return i=Math.max(i,e.currentTime),o});return e.currentTime=i,{type:3,steps:o,options:_t(t.options)}}},{key:"visitAnimate",value:function(t,e){var n=function(t,e){var n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return bt(U(t,e).duration,0,"");var r=t;if(r.split(/\s+/).some(function(t){return"{"==t.charAt(0)&&"{"==t.charAt(1)})){var i=bt(0,0,"");return i.dynamic=!0,i.strValue=r,i}return bt((n=n||U(r,e)).duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=n;var i,o=t.styles?t.styles:(0,r.oB)({});if(5==o.type)i=this.visitKeyframes(o,e);else{var a=t.styles,s=!1;if(!a){s=!0;var u={};n.easing&&(u.easing=n.easing),a=(0,r.oB)(u)}e.currentTime+=n.duration+n.delay;var c=this.visitStyle(a,e);c.isEmptyStep=s,i=c}return e.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}},{key:"visitStyle",value:function(t,e){var n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}},{key:"_makeStyleAst",value:function(t,e){var n=[];Array.isArray(t.styles)?t.styles.forEach(function(t){"string"==typeof t?t==r.l3?n.push(t):e.errors.push("The provided style string value ".concat(t," is not allowed.")):n.push(t)}):n.push(t.styles);var i=!1,o=null;return n.forEach(function(t){if(yt(t)){var e=t,n=e.easing;if(n&&(o=n,delete e.easing),!i)for(var r in e)if(e[r].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:o,offset:t.offset,containsDynamicStyles:i,options:null}}},{key:"_validateStyleAst",value:function(t,e){var n=this,r=e.currentAnimateTimings,i=e.currentTime,o=e.currentTime;r&&o>0&&(o-=r.duration+r.delay),t.styles.forEach(function(t){"string"!=typeof t&&Object.keys(t).forEach(function(r){if(n._driver.validateStyleProperty(r)){var a=e.collectedStyles[e.currentQuerySelector],s=a[r],u=!0;s&&(o!=i&&o>=s.startTime&&i<=s.endTime&&(e.errors.push('The CSS property "'.concat(r,'" that exists between the times of "').concat(s.startTime,'ms" and "').concat(s.endTime,'ms" is also being animated in a parallel animation between the times of "').concat(o,'ms" and "').concat(i,'ms"')),u=!1),o=s.startTime),u&&(a[r]={startTime:o,endTime:i}),e.options&&function(t,e,n){var r=e.params||{},i=tt(t);i.length&&i.forEach(function(t){r.hasOwnProperty(t)||n.push("Unable to resolve the local animation param ".concat(t," in the given list of values"))})}(t[r],e.options,e.errors)}else e.errors.push('The provided animation property "'.concat(r,'" is not a supported CSS property for animations'))})})}},{key:"visitKeyframes",value:function(t,e){var n=this,r={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),r;var i=0,o=[],a=!1,s=!1,u=0,c=t.steps.map(function(t){var r=n._makeStyleAst(t,e),c=null!=r.offset?r.offset:function(t){if("string"==typeof t)return null;var e=null;if(Array.isArray(t))t.forEach(function(t){if(yt(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}});else if(yt(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}return e}(r.styles),l=0;return null!=c&&(i++,l=r.offset=c),s=s||l<0||l>1,a=a||l0&&i0?i==f?1:h*i:o[i],s=a*v;e.currentTime=d+p.delay+s,p.duration=s,n._validateStyleAst(t,e),t.offset=a,r.styles.push(t)}),r}},{key:"visitReference",value:function(t,e){return{type:8,animation:ut(this,W(t.animation),e),options:_t(t.options)}}},{key:"visitAnimateChild",value:function(t,e){return e.depCount++,{type:9,options:_t(t.options)}}},{key:"visitAnimateRef",value:function(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:_t(t.options)}}},{key:"visitQuery",value:function(t,e){var n=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;var i=function(t){var e=!!t.split(/\s*,\s*/).find(function(t){return":self"==t});return e&&(t=t.replace(pt,"")),t=t.replace(/@\*/g,B).replace(/@\w+/g,function(t){return B+"-"+t.substr(1)}).replace(/:animating/g,Y),[t,e]}(t.selector),o=p(i,2),a=o[0],s=o[1];e.currentQuerySelector=n.length?n+" "+a:a,k(e.collectedStyles,e.currentQuerySelector,{});var u=ut(this,W(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:a,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:u,originalSelector:t.selector,options:_t(t.options)}}},{key:"visitStagger",value:function(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");var n="full"===t.timings?{duration:0,delay:0,easing:"full"}:U(t.timings,e.errors,!0);return{type:12,animation:ut(this,W(t.animation),e),timings:n,options:null}}}]),t}(),mt=g(function t(e){y(this,t),this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null});function yt(t){return!Array.isArray(t)&&"object"==typeof t}function _t(t){return t?(t=H(t)).params&&(t.params=function(t){return t?H(t):null}(t.params)):t={},t}function bt(t,e,n){return{duration:t,delay:e,easing:n}}function kt(t,e,n,r,i,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,s=arguments.length>7&&void 0!==arguments[7]&&arguments[7];return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:a,subTimeline:s}}var wt=function(){function t(){y(this,t),this._map=new Map}return g(t,[{key:"consume",value:function(t){var e=this._map.get(t);return e?this._map.delete(t):e=[],e}},{key:"append",value:function(t,e){var n,r=this._map.get(t);r||this._map.set(t,r=[]),(n=r).push.apply(n,d(e))}},{key:"has",value:function(t){return this._map.has(t)}},{key:"clear",value:function(){this._map.clear()}}]),t}(),Ct=new RegExp(":enter","g"),xt=new RegExp(":leave","g");function Ot(t,e,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},s=arguments.length>7?arguments[7]:void 0,u=arguments.length>8?arguments[8]:void 0,c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new Mt).buildKeyframes(t,e,n,r,i,o,a,s,u,c)}var Mt=function(){function t(){y(this,t)}return g(t,[{key:"buildKeyframes",value:function(t,e,n,r,i,o,a,s,u){var c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];u=u||new wt;var l=new Pt(t,e,u,r,i,c,[]);l.options=s,l.currentTimeline.setStyles([o],null,l.errors,s),ut(this,n,l);var h=l.timelines.filter(function(t){return t.containsAnimation()});if(h.length&&Object.keys(a).length){var f=h[h.length-1];f.allowOnlyTimelineStyles()||f.setStyles([a],null,l.errors,s)}return h.length?h.map(function(t){return t.buildKeyframes()}):[kt(e,[],[],[],0,0,"",!1)]}},{key:"visitTrigger",value:function(t,e){}},{key:"visitState",value:function(t,e){}},{key:"visitTransition",value:function(t,e){}},{key:"visitAnimateChild",value:function(t,e){var n=e.subInstructions.consume(e.element);if(n){var r=e.createSubContext(t.options),i=e.currentTimeline.currentTime,o=this._visitSubInstructions(n,r,r.options);i!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t}},{key:"visitAnimateRef",value:function(t,e){var n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}},{key:"_visitSubInstructions",value:function(t,e,n){var r=e.currentTimeline.currentTime,i=null!=n.duration?Z(n.duration):null,o=null!=n.delay?Z(n.delay):null;return 0!==i&&t.forEach(function(t){var n=e.appendInstructionToTimeline(t,i,o);r=Math.max(r,n.duration+n.delay)}),r}},{key:"visitReference",value:function(t,e){e.updateOptions(t.options,!0),ut(this,t.animation,e),e.previousNode=t}},{key:"visitSequence",value:function(t,e){var n=this,r=e.subContextCount,i=e,o=t.options;if(o&&(o.params||o.delay)&&((i=e.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=St);var a=Z(o.delay);i.delayNextStep(a)}t.steps.length&&(t.steps.forEach(function(t){return ut(n,t,i)}),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),e.previousNode=t}},{key:"visitGroup",value:function(t,e){var n=this,r=[],i=e.currentTimeline.currentTime,o=t.options&&t.options.delay?Z(t.options.delay):0;t.steps.forEach(function(a){var s=e.createSubContext(t.options);o&&s.delayNextStep(o),ut(n,a,s),i=Math.max(i,s.currentTimeline.currentTime),r.push(s.currentTimeline)}),r.forEach(function(t){return e.currentTimeline.mergeTimelineCollectedStyles(t)}),e.transformIntoNewTimeline(i),e.previousNode=t}},{key:"_visitTiming",value:function(t,e){if(t.dynamic){var n=t.strValue;return U(e.params?et(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}},{key:"visitAnimate",value:function(t,e){var n=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),r.snapshotCurrentStyles());var i=t.style;5==i.type?this.visitKeyframes(i,e):(e.incrementTime(n.duration),this.visitStyle(i,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}},{key:"visitStyle",value:function(t,e){var n=e.currentTimeline,r=e.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();var i=r&&r.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(i):n.setStyles(t.styles,i,e.errors,e.options),e.previousNode=t}},{key:"visitKeyframes",value:function(t,e){var n=e.currentAnimateTimings,r=e.currentTimeline.duration,i=n.duration,o=e.createSubContext().currentTimeline;o.easing=n.easing,t.styles.forEach(function(t){o.forwardTime((t.offset||0)*i),o.setStyles(t.styles,t.easing,e.errors,e.options),o.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(o),e.transformIntoNewTimeline(r+i),e.previousNode=t}},{key:"visitQuery",value:function(t,e){var n=this,r=e.currentTimeline.currentTime,i=t.options||{},o=i.delay?Z(i.delay):0;o&&(6===e.previousNode.type||0==r&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=St);var a=r,s=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=s.length;var u=null;s.forEach(function(r,i){e.currentQueryIndex=i;var s=e.createSubContext(t.options,r);o&&s.delayNextStep(o),r===e.element&&(u=s.currentTimeline),ut(n,t.animation,s),s.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,s.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),u&&(e.currentTimeline.mergeTimelineCollectedStyles(u),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}},{key:"visitStagger",value:function(t,e){var n=e.parentContext,r=e.currentTimeline,i=t.timings,o=Math.abs(i.duration),a=o*(e.currentQueryTotal-1),s=o*e.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":s=a-s;break;case"full":s=n.currentStaggerTime}var u=e.currentTimeline;s&&u.delayNextStep(s);var c=u.currentTime;ut(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=r.currentTime-c+(r.startTime-n.currentTimeline.startTime)}}]),t}(),St={},Pt=function(){function t(e,n,r,i,o,a,s,u){y(this,t),this._driver=e,this.element=n,this.subInstructions=r,this._enterClassName=i,this._leaveClassName=o,this.errors=a,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=St,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=u||new Et(this._driver,n,0),s.push(this.currentTimeline)}return g(t,[{key:"params",get:function(){return this.options.params}},{key:"updateOptions",value:function(t,e){var n=this;if(t){var r=t,i=this.options;null!=r.duration&&(i.duration=Z(r.duration)),null!=r.delay&&(i.delay=Z(r.delay));var o=r.params;if(o){var a=i.params;a||(a=this.options.params={}),Object.keys(o).forEach(function(t){(!e||!a.hasOwnProperty(t))&&(a[t]=et(o[t],a,n.errors))})}}}},{key:"_copyOptions",value:function(){var t={};if(this.options){var e=this.options.params;if(e){var n=t.params={};Object.keys(e).forEach(function(t){n[t]=e[t]})}}return t}},{key:"createSubContext",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,i=n||this.element,o=new t(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}},{key:"transformIntoNewTimeline",value:function(t){return this.previousNode=St,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(t,e,n){var r={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},i=new At(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(i),r}},{key:"incrementTime",value:function(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}},{key:"delayNextStep",value:function(t){t>0&&this.currentTimeline.delayNextStep(t)}},{key:"invokeQuery",value:function(t,e,n,r,i,o){var a=[];if(r&&a.push(this.element),t.length>0){t=(t=t.replace(Ct,"."+this._enterClassName)).replace(xt,"."+this._leaveClassName);var s=this._driver.query(this.element,t,1!=n);0!==n&&(s=n<0?s.slice(s.length+n,s.length):s.slice(0,n)),a.push.apply(a,d(s))}return!i&&0==a.length&&o.push('`query("'.concat(e,'")` returned zero elements. (Use `query("').concat(e,'", { optional: true })` if you wish to allow this.)')),a}}]),t}(),Et=function(){function t(e,n,r,i){y(this,t),this._driver=e,this.element=n,this.startTime=r,this._elementTimelineStylesLookup=i,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}return g(t,[{key:"containsAnimation",value:function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}},{key:"getCurrentStyleProperties",value:function(){return Object.keys(this._currentKeyframe)}},{key:"currentTime",get:function(){return this.startTime+this.duration}},{key:"delayNextStep",value:function(t){var e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}},{key:"fork",value:function(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,n||this.currentTime,this._elementTimelineStylesLookup)}},{key:"_loadKeyframe",value:function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}},{key:"forwardFrame",value:function(){this.duration+=1,this._loadKeyframe()}},{key:"forwardTime",value:function(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}},{key:"_updateStyle",value:function(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}},{key:"allowOnlyTimelineStyles",value:function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}},{key:"applyEmptyStep",value:function(t){var e=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(function(t){e._backFill[t]=e._globalTimelineStyles[t]||r.l3,e._currentKeyframe[t]=r.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(t,e,n,i){var o=this;e&&(this._previousKeyframe.easing=e);var a=i&&i.params||{},s=function(t,e){var n,i={};return t.forEach(function(t){"*"===t?(n=n||Object.keys(e)).forEach(function(t){i[t]=r.l3}):G(t,!1,i)}),i}(t,this._globalTimelineStyles);Object.keys(s).forEach(function(t){var e=et(s[t],a,n);o._pendingStyles[t]=e,o._localTimelineStyles.hasOwnProperty(t)||(o._backFill[t]=o._globalTimelineStyles.hasOwnProperty(t)?o._globalTimelineStyles[t]:r.l3),o._updateStyle(t,e)})}},{key:"applyStylesToKeyframe",value:function(){var t=this,e=this._pendingStyles,n=Object.keys(e);0!=n.length&&(this._pendingStyles={},n.forEach(function(n){t._currentKeyframe[n]=e[n]}),Object.keys(this._localTimelineStyles).forEach(function(e){t._currentKeyframe.hasOwnProperty(e)||(t._currentKeyframe[e]=t._localTimelineStyles[e])}))}},{key:"snapshotCurrentStyles",value:function(){var t=this;Object.keys(this._localTimelineStyles).forEach(function(e){var n=t._localTimelineStyles[e];t._pendingStyles[e]=n,t._updateStyle(e,n)})}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"properties",get:function(){var t=[];for(var e in this._currentKeyframe)t.push(e);return t}},{key:"mergeTimelineCollectedStyles",value:function(t){var e=this;Object.keys(t._styleSummary).forEach(function(n){var r=e._styleSummary[n],i=t._styleSummary[n];(!r||i.time>r.time)&&e._updateStyle(n,i.value)})}},{key:"buildKeyframes",value:function(){var t=this;this.applyStylesToKeyframe();var e=new Set,n=new Set,i=1===this._keyframes.size&&0===this.duration,o=[];this._keyframes.forEach(function(a,s){var u=G(a,!0);Object.keys(u).forEach(function(t){var i=u[t];i==r.k1?e.add(t):i==r.l3&&n.add(t)}),i||(u.offset=s/t.duration),o.push(u)});var a=e.size?nt(e.values()):[],s=n.size?nt(n.values()):[];if(i){var u=o[0],c=H(u);u.offset=0,c.offset=1,o=[u,c]}return kt(this.element,o,a,s,this.duration,this.startTime,this.easing,!1)}}]),t}(),At=function(t){a(n,t);var e=u(n);function n(t,r,i,o,a,s){var u,c=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return y(this,n),(u=e.call(this,t,r,s.delay)).keyframes=i,u.preStyleProps=o,u.postStyleProps=a,u._stretchStartingKeyframe=c,u.timings={duration:s.duration,delay:s.delay,easing:s.easing},u}return g(n,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var t=this.keyframes,e=this.timings,n=e.delay,r=e.duration,i=e.easing;if(this._stretchStartingKeyframe&&n){var o=[],a=r+n,s=n/a,u=G(t[0],!1);u.offset=0,o.push(u);var c=G(t[0],!1);c.offset=Tt(s),o.push(c);for(var l=t.length-1,h=1;h<=l;h++){var f=G(t[h],!1);f.offset=Tt((n+f.offset*r)/a),o.push(f)}r=a,n=0,i="",t=o}return kt(this.element,t,this.preStyleProps,this.postStyleProps,r,n,i,!0)}}]),n}(Et);function Tt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=Math.pow(10,e-1);return Math.round(t*n)/n}var It=g(function t(){y(this,t)}),Dt=function(t){a(n,t);var e=u(n);function n(){return y(this,n),e.apply(this,arguments)}return g(n,[{key:"normalizePropertyName",value:function(t,e){return it(t)}},{key:"normalizeStyleValue",value:function(t,e,n,r){var i="",o=n.toString().trim();if(Lt[e]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{var a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push("Please provide a CSS unit value for ".concat(t,":").concat(n))}return o+i}}]),n}(It),Lt=function(t){var e={};return t.forEach(function(t){return e[t]=!0}),e}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","));function Nt(t,e,n,r,i,o,a,s,u,c,l,h,f){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:a,timelines:s,queriedElements:u,preStyleProps:c,postStyleProps:l,totalTime:h,errors:f}}var zt={},Ft=function(){function t(e,n,r){y(this,t),this._triggerName=e,this.ast=n,this._stateStyles=r}return g(t,[{key:"match",value:function(t,e,n,r){return function(t,e,n,r,i){return t.some(function(t){return t(e,n,r,i)})}(this.ast.matchers,t,e,n,r)}},{key:"buildStyles",value:function(t,e,n){var r=this._stateStyles["*"],i=this._stateStyles[t],o=r?r.buildStyles(e,n):{};return i?i.buildStyles(e,n):o}},{key:"build",value:function(t,e,n,r,i,o,a,s,u,c){var l=[],h=this.ast.options&&this.ast.options.params||zt,f=this.buildStyles(n,a&&a.params||zt,l),d=s&&s.params||zt,p=this.buildStyles(r,d,l),v=new Set,g=new Map,m=new Map,y="void"===r,_={params:Object.assign(Object.assign({},h),d)},b=c?[]:Ot(t,e,this.ast.animation,i,o,f,p,_,u,l),w=0;if(b.forEach(function(t){w=Math.max(t.duration+t.delay,w)}),l.length)return Nt(e,this._triggerName,n,r,y,f,p,[],[],g,m,w,l);b.forEach(function(t){var n=t.element,r=k(g,n,{});t.preStyleProps.forEach(function(t){return r[t]=!0});var i=k(m,n,{});t.postStyleProps.forEach(function(t){return i[t]=!0}),n!==e&&v.add(n)});var C=nt(v.values());return Nt(e,this._triggerName,n,r,y,f,p,b,C,g,m,w)}}]),t}(),Rt=function(){function t(e,n,r){y(this,t),this.styles=e,this.defaultParams=n,this.normalizer=r}return g(t,[{key:"buildStyles",value:function(t,e){var n=this,r={},i=H(this.defaultParams);return Object.keys(t).forEach(function(e){var n=t[e];null!=n&&(i[e]=n)}),this.styles.styles.forEach(function(t){if("string"!=typeof t){var o=t;Object.keys(o).forEach(function(t){var a=o[t];a.length>1&&(a=et(a,i,e));var s=n.normalizer.normalizePropertyName(t,e);a=n.normalizer.normalizeStyleValue(t,s,a,e),r[s]=a})}}),r}}]),t}(),jt=function(){function t(e,n,r){var i=this;y(this,t),this.name=e,this.ast=n,this._normalizer=r,this.transitionFactories=[],this.states={},n.states.forEach(function(t){i.states[t.name]=new Rt(t.style,t.options&&t.options.params||{},r)}),Bt(this.states,"true","1"),Bt(this.states,"false","0"),n.transitions.forEach(function(t){i.transitionFactories.push(new Ft(e,t,i.states))}),this.fallbackTransition=function(t,e,n){return new Ft(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(t,e){return!0}],options:null,queryCount:0,depCount:0},e)}(e,this.states)}return g(t,[{key:"containsQueries",get:function(){return this.ast.queryCount>0}},{key:"matchTransition",value:function(t,e,n,r){return this.transitionFactories.find(function(i){return i.match(t,e,n,r)})||null}},{key:"matchStyles",value:function(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}]),t}();function Bt(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}var Vt=new wt,Yt=function(){function t(e,n,r){y(this,t),this.bodyNode=e,this._driver=n,this._normalizer=r,this._animations={},this._playersById={},this.players=[]}return g(t,[{key:"register",value:function(t,e){var n=[],r=vt(this._driver,e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: ".concat(n.join("\n")));this._animations[t]=r}},{key:"_buildPlayer",value:function(t,e,n){var r=t.element,i=h(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(r,i,t.duration,t.delay,t.easing,[],!0)}},{key:"create",value:function(t,e){var n,i=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=[],s=this._animations[t],u=new Map;if(s?(n=Ot(this._driver,e,s,F,R,{},{},o,Vt,a)).forEach(function(t){var e=k(u,t.element,{});t.postStyleProps.forEach(function(t){return e[t]=null})}):(a.push("The requested animation doesn't exist or has already been destroyed"),n=[]),a.length)throw new Error("Unable to create the animation due to the following errors: ".concat(a.join("\n")));u.forEach(function(t,e){Object.keys(t).forEach(function(n){t[n]=i._driver.computeStyle(e,n,r.l3)})});var c=l(n.map(function(t){var e=u.get(t.element);return i._buildPlayer(t,{},e)}));return this._playersById[t]=c,c.onDestroy(function(){return i.destroy(t)}),this.players.push(c),c}},{key:"destroy",value:function(t){var e=this._getPlayer(t);e.destroy(),delete this._playersById[t];var n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}},{key:"_getPlayer",value:function(t){var e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by ".concat(t));return e}},{key:"listen",value:function(t,e,n,r){var i=b(e,"","","");return v(this._getPlayer(t),n,i,r),function(){}}},{key:"command",value:function(t,e,n,r){if("register"!=n)if("create"!=n){var i=this._getPlayer(t);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}else this.create(t,e,r[0]||{});else this.register(t,r[0])}}]),t}(),Zt="ng-animate-queued",qt="ng-animate-disabled",Ut=".ng-animate-disabled",Ht=[],Gt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Jt={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Xt="__ng_removed",$t=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";y(this,t),this.namespaceId=n;var r,i=e&&e.hasOwnProperty("value");if(this.value=null!=(r=i?e.value:e)?r:null,i){var o=H(e);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}return g(t,[{key:"params",get:function(){return this.options.params}},{key:"absorbOptions",value:function(t){var e=t.params;if(e){var n=this.options.params;Object.keys(e).forEach(function(t){null==n[t]&&(n[t]=e[t])})}}}]),t}(),Qt="void",Wt=new $t(Qt),Kt=function(){function t(e,n,r){y(this,t),this.id=e,this.hostElement=n,this._engine=r,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,se(n,this._hostClassName)}return g(t,[{key:"listen",value:function(t,e,n,r){var i,o=this;if(!this._triggers.hasOwnProperty(e))throw new Error('Unable to listen on the animation trigger event "'.concat(n,'" because the animation trigger "').concat(e,"\" doesn't exist!"));if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'.concat(e,'" because the provided event is undefined!'));if("start"!=(i=n)&&"done"!=i)throw new Error('The provided animation trigger event "'.concat(n,'" for the animation trigger "').concat(e,'" is not supported!'));var a=k(this._elementListeners,t,[]),s={name:e,phase:n,callback:r};a.push(s);var u=k(this._engine.statesByElement,t,{});return u.hasOwnProperty(e)||(se(t,j),se(t,j+"-"+e),u[e]=Wt),function(){o._engine.afterFlush(function(){var t=a.indexOf(s);t>=0&&a.splice(t,1),o._triggers[e]||delete u[e]})}}},{key:"register",value:function(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}},{key:"_getTrigger",value:function(t){var e=this._triggers[t];if(!e)throw new Error('The provided animation trigger "'.concat(t,'" has not been registered!'));return e}},{key:"trigger",value:function(t,e,n){var r=this,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=this._getTrigger(e),a=new ee(this.id,e,t),s=this._engine.statesByElement.get(t);s||(se(t,j),se(t,j+"-"+e),this._engine.statesByElement.set(t,s={}));var u=s[e],c=new $t(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&u&&c.absorbOptions(u.options),s[e]=c,u||(u=Wt),c.value===Qt||u.value!==c.value){var l=k(this._engine.playersByElement,t,[]);l.forEach(function(t){t.namespaceId==r.id&&t.triggerName==e&&t.queued&&t.destroy()});var h=o.matchTransition(u.value,c.value,t,c.params),f=!1;if(!h){if(!i)return;h=o.fallbackTransition,f=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:h,fromState:u,toState:c,player:a,isFallbackTransition:f}),f||(se(t,Zt),a.onStart(function(){ue(t,Zt)})),a.onDone(function(){var e=r.players.indexOf(a);e>=0&&r.players.splice(e,1);var n=r._engine.playersByElement.get(t);if(n){var i=n.indexOf(a);i>=0&&n.splice(i,1)}}),this.players.push(a),l.push(a),a}if(!function(t,e){var n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(var i=0;i=0){for(var r=!1,i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,e)){this._namespaceList.splice(i+1,0,t),r=!0;break}r||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}},{key:"register",value:function(t,e){var n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}},{key:"registerTrigger",value:function(t,e,n){var r=this._namespaceLookup[t];r&&r.register(e,n)&&this.totalAnimations++}},{key:"destroy",value:function(t,e){var n=this;if(t){var r=this._fetchNamespace(t);this.afterFlush(function(){n.namespacesByHostElement.delete(r.hostElement),delete n._namespaceLookup[t];var e=n._namespaceList.indexOf(r);e>=0&&n._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(function(){return r.destroy(e)})}}},{key:"_fetchNamespace",value:function(t){return this._namespaceLookup[t]}},{key:"fetchNamespacesByElement",value:function(t){var e=new Set,n=this.statesByElement.get(t);if(n)for(var r=Object.keys(n),i=0;i=0&&this.collectedLeaveElements.splice(o,1)}if(t){var a=this._fetchNamespace(t);a&&a.insertNode(e,n)}r&&this.collectEnterElement(e)}}},{key:"collectEnterElement",value:function(t){this.collectedEnterElements.push(t)}},{key:"markElementAsDisabled",value:function(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),se(t,qt)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),ue(t,qt))}},{key:"removeNode",value:function(t,e,n,r){if(ne(e)){var i=t?this._fetchNamespace(t):null;if(i?i.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),n){var o=this.namespacesByHostElement.get(e);o&&o.id!==t&&o.removeNode(e,r)}}else this._onRemovalComplete(e,r)}},{key:"markElementAsRemoved",value:function(t,e,n,r){this.collectedLeaveElements.push(e),e[Xt]={namespaceId:t,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}}},{key:"listen",value:function(t,e,n,r,i){return ne(e)?this._fetchNamespace(t).listen(e,n,r,i):function(){}}},{key:"_buildInstruction",value:function(t,e,n,r,i){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,r,t.fromState.options,t.toState.options,e,i)}},{key:"destroyInnerAnimations",value:function(t){var e=this,n=this.driver.query(t,B,!0);n.forEach(function(t){return e.destroyActiveAnimationsForElement(t)}),0!=this.playersByQueriedElement.size&&(n=this.driver.query(t,Y,!0)).forEach(function(t){return e.finishActiveQueriedAnimationOnElement(t)})}},{key:"destroyActiveAnimationsForElement",value:function(t){var e=this.playersByElement.get(t);e&&e.forEach(function(t){t.queued?t.markedForDestroy=!0:t.destroy()})}},{key:"finishActiveQueriedAnimationOnElement",value:function(t){var e=this.playersByQueriedElement.get(t);e&&e.forEach(function(t){return t.finish()})}},{key:"whenRenderingDone",value:function(){var t=this;return new Promise(function(e){if(t.players.length)return l(t.players).onDone(function(){return e()});e()})}},{key:"processLeaveNode",value:function(t){var e=this,n=t[Xt];if(n&&n.setForRemoval){if(t[Xt]=Gt,n.namespaceId){this.destroyInnerAnimations(t);var r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(t)}this._onRemovalComplete(t,n.setForRemoval)}this.driver.matchesElement(t,Ut)&&this.markElementAsDisabled(t,!1),this.driver.query(t,Ut,!0).forEach(function(t){e.markElementAsDisabled(t,!1)})}},{key:"flush",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,n=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(e,n){return t._balanceNamespaceList(e,n)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var r=0;r=0;A--)this._namespaceList[A].drainQueuedTransitions(e).forEach(function(t){var e=t.player,r=t.element;if(P.push(e),n.collectedEnterElements.length){var a=r[Xt];if(a&&a.setForMove)return void e.destroy()}var l=!p||!n.driver.containsElement(p,r),f=M.get(r),d=m.get(r),v=n._buildInstruction(t,i,d,f,l);if(v.errors&&v.errors.length)E.push(v);else{if(l)return e.onStart(function(){return Q(r,v.fromStyles)}),e.onDestroy(function(){return $(r,v.toStyles)}),void o.push(e);if(t.isFallbackTransition)return e.onStart(function(){return Q(r,v.fromStyles)}),e.onDestroy(function(){return $(r,v.toStyles)}),void o.push(e);v.timelines.forEach(function(t){return t.stretchStartingKeyframe=!0}),i.append(r,v.timelines),s.push({instruction:v,player:e,element:r}),v.queriedElements.forEach(function(t){return k(u,t,[]).push(e)}),v.preStyleProps.forEach(function(t,e){var n=Object.keys(t);if(n.length){var r=c.get(e);r||c.set(e,r=new Set),n.forEach(function(t){return r.add(t)})}}),v.postStyleProps.forEach(function(t,e){var n=Object.keys(t),r=h.get(e);r||h.set(e,r=new Set),n.forEach(function(t){return r.add(t)})})}});if(E.length){var T=[];E.forEach(function(t){T.push("@".concat(t.triggerName," has failed due to:\n")),t.errors.forEach(function(t){return T.push("- ".concat(t,"\n"))})}),P.forEach(function(t){return t.destroy()}),this.reportError(T)}var I=new Map,D=new Map;s.forEach(function(t){var e=t.element;i.has(e)&&(D.set(e,e),n._beforeAnimationBuild(t.player.namespaceId,t.instruction,I))}),o.forEach(function(t){var e=t.element;n._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(function(t){k(I,e,[]).push(t),t.destroy()})});var L=_.filter(function(t){return he(t,c,h)}),N=new Map;ie(N,this.driver,w,h,r.l3).forEach(function(t){he(t,c,h)&&L.push(t)});var z=new Map;g.forEach(function(t,e){ie(z,n.driver,new Set(t),c,r.k1)}),L.forEach(function(t){var e=N.get(t),n=z.get(t);N.set(t,Object.assign(Object.assign({},e),n))});var j=[],B=[],V={};s.forEach(function(t){var e=t.element,r=t.player,s=t.instruction;if(i.has(e)){if(f.has(e))return r.onDestroy(function(){return $(e,s.toStyles)}),r.disabled=!0,r.overrideTotalTime(s.totalTime),void o.push(r);var u=V;if(D.size>1){for(var c=e,h=[];c=c.parentNode;){var d=D.get(c);if(d){u=d;break}h.push(c)}h.forEach(function(t){return D.set(t,u)})}var p=n._buildAnimation(r.namespaceId,s,I,a,z,N);if(r.setRealPlayer(p),u===V)j.push(r);else{var v=n.playersByElement.get(u);v&&v.length&&(r.parentPlayer=l(v)),o.push(r)}}else Q(e,s.fromStyles),r.onDestroy(function(){return $(e,s.toStyles)}),B.push(r),f.has(e)&&o.push(r)}),B.forEach(function(t){var e=a.get(t.element);if(e&&e.length){var n=l(e);t.setRealPlayer(n)}}),o.forEach(function(t){t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(var Z=0;Z<_.length;Z++){var q=_[Z],U=q[Xt];if(ue(q,R),!U||!U.hasAnimation){var H=[];if(u.size){var G=u.get(q);G&&G.length&&H.push.apply(H,d(G));for(var J=this.driver.query(q,Y,!0),X=0;X0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new r.ZN(t.duration,t.delay)}}]),t}(),ee=function(){function t(e,n,i){y(this,t),this.namespaceId=e,this.triggerName=n,this.element=i,this._player=new r.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return g(t,[{key:"setRealPlayer",value:function(t){var e=this;this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(function(n){e._queuedCallbacks[n].forEach(function(e){return v(t,n,void 0,e)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}},{key:"getRealPlayer",value:function(){return this._player}},{key:"overrideTotalTime",value:function(t){this.totalTime=t}},{key:"syncPlayerEvents",value:function(t){var e=this,n=this._player;n.triggerCallback&&t.onStart(function(){return n.triggerCallback("start")}),t.onDone(function(){return e.finish()}),t.onDestroy(function(){return e.destroy()})}},{key:"_queueEvent",value:function(t,e){k(this._queuedCallbacks,t,[]).push(e)}},{key:"onDone",value:function(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}},{key:"onStart",value:function(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}},{key:"onDestroy",value:function(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}},{key:"init",value:function(){this._player.init()}},{key:"hasStarted",value:function(){return!this.queued&&this._player.hasStarted()}},{key:"play",value:function(){!this.queued&&this._player.play()}},{key:"pause",value:function(){!this.queued&&this._player.pause()}},{key:"restart",value:function(){!this.queued&&this._player.restart()}},{key:"finish",value:function(){this._player.finish()}},{key:"destroy",value:function(){this.destroyed=!0,this._player.destroy()}},{key:"reset",value:function(){!this.queued&&this._player.reset()}},{key:"setPosition",value:function(t){this.queued||this._player.setPosition(t)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(t){var e=this._player;e.triggerCallback&&e.triggerCallback(t)}}]),t}();function ne(t){return t&&1===t.nodeType}function re(t,e){var n=t.style.display;return t.style.display=null!=e?e:"none",n}function ie(t,e,n,r,i){var o=[];n.forEach(function(t){return o.push(re(t))});var a=[];r.forEach(function(n,r){var o={};n.forEach(function(t){var n=o[t]=e.computeStyle(r,t,i);(!n||0==n.length)&&(r[Xt]=Jt,a.push(r))}),t.set(r,o)});var s=0;return n.forEach(function(t){return re(t,o[s++])}),a}function oe(t,e){var n=new Map;if(t.forEach(function(t){return n.set(t,[])}),0==e.length)return n;var r=new Set(e),i=new Map;function o(t){if(!t)return 1;var e=i.get(t);if(e)return e;var a=t.parentNode;return e=n.has(a)?a:r.has(a)?1:o(a),i.set(t,e),e}return e.forEach(function(t){var e=o(t);1!==e&&n.get(e).push(t)}),n}var ae="$$classes";function se(t,e){if(t.classList)t.classList.add(e);else{var n=t[ae];n||(n=t[ae]={}),n[e]=!0}}function ue(t,e){if(t.classList)t.classList.remove(e);else{var n=t[ae];n&&delete n[e]}}function ce(t,e,n){l(n).onDone(function(){return t.processLeaveNode(e)})}function le(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(t)}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}}]),t}();function de(t,e){var n=null,r=null;return Array.isArray(e)&&e.length?(n=ve(e[0]),e.length>1&&(r=ve(e[e.length-1]))):e&&(n=ve(e)),n||r?new pe(t,n,r):null}var pe=function(){var t=function(){function t(e,n,r){y(this,t),this._element=e,this._startStyles=n,this._endStyles=r,this._state=0;var i=t.initialStylesByElement.get(e);i||t.initialStylesByElement.set(e,i={}),this._initialStyles=i}return g(t,[{key:"start",value:function(){this._state<1&&(this._startStyles&&$(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&($(this._element,this._initialStyles),this._endStyles&&($(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Q(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Q(this._element,this._endStyles),this._endStyles=null),$(this._element,this._initialStyles),this._state=3)}}]),t}();return t.initialStylesByElement=new WeakMap,t}();function ve(t){for(var e=null,n=Object.keys(t),r=0;r=this._delay&&n>=this._duration&&this.finish()}},{key:"finish",value:function(){this._finished||(this._finished=!0,this._onDoneFn(),Ce(this._element,this._eventFn,!0))}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){var n=Oe(t,"").split(","),r=we(n,e);r>=0&&(n.splice(r,1),xe(t,"",n.join(",")))}(this._element,this._name))}}]),t}();function be(t,e,n){xe(t,"PlayState",n,ke(t,e))}function ke(t,e){var n=Oe(t,"");return n.indexOf(",")>0?we(n.split(","),e):we([n],e)}function we(t,e){for(var n=0;n=0)return n;return-1}function Ce(t,e,n){n?t.removeEventListener(ye,e):t.addEventListener(ye,e)}function xe(t,e,n,r){var i=me+e;if(null!=r){var o=t.style[i];if(o.length){var a=o.split(",");a[r]=n,n=a.join(",")}}t.style[i]=n}function Oe(t,e){return t.style[me+e]||""}var Me=function(){function t(e,n,r,i,o,a,s,u){y(this,t),this.element=e,this.keyframes=n,this.animationName=r,this._duration=i,this._delay=o,this._finalStyles=s,this._specialStyles=u,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=a||"linear",this.totalTime=i+o,this._buildStyler()}return g(t,[{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"destroy",value:function(){this.init(),!(this._state>=4)&&(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])}},{key:"_flushDoneFns",value:function(){this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[]}},{key:"_flushStartFns",value:function(){this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[]}},{key:"finish",value:function(){this.init(),!(this._state>=3)&&(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}},{key:"setPosition",value:function(t){this._styler.setPosition(t)}},{key:"getPosition",value:function(){return this._styler.getPosition()}},{key:"hasStarted",value:function(){return this._state>=2}},{key:"init",value:function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}},{key:"play",value:function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}},{key:"pause",value:function(){this.init(),this._styler.pause()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"reset",value:function(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}},{key:"_buildStyler",value:function(){var t=this;this._styler=new _e(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return t.finish()})}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0}},{key:"beforeDestroy",value:function(){var t=this;this.init();var e={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach(function(r){"offset"!=r&&(e[r]=n?t._finalStyles[r]:ct(t.element,r))})}this.currentSnapshot=e}}]),t}(),Se=function(t){a(n,t);var e=u(n);function n(t,r){var i;return y(this,n),(i=e.call(this)).element=t,i._startingStyles={},i.__initialized=!1,i._styles=D(r),i}return g(n,[{key:"init",value:function(){var t=this;this.__initialized||!this._startingStyles||(this.__initialized=!0,Object.keys(this._styles).forEach(function(e){t._startingStyles[e]=t.element.style[e]}),i(f(n.prototype),"init",this).call(this))}},{key:"play",value:function(){var t=this;!this._startingStyles||(this.init(),Object.keys(this._styles).forEach(function(e){return t.element.style.setProperty(e,t._styles[e])}),i(f(n.prototype),"play",this).call(this))}},{key:"destroy",value:function(){var t=this;!this._startingStyles||(Object.keys(this._startingStyles).forEach(function(e){var n=t._startingStyles[e];n?t.element.style.setProperty(e,n):t.element.style.removeProperty(e)}),this._startingStyles=null,i(f(n.prototype),"destroy",this).call(this))}}]),n}(r.ZN),Pe=function(){function t(){y(this,t),this._count=0}return g(t,[{key:"validateStyleProperty",value:function(t){return E(t)}},{key:"matchesElement",value:function(t,e){return A(t,e)}},{key:"containsElement",value:function(t,e){return T(t,e)}},{key:"query",value:function(t,e,n){return I(t,e,n)}},{key:"computeStyle",value:function(t,e,n){return window.getComputedStyle(t)[e]}},{key:"buildKeyframeElement",value:function(t,e,n){n=n.map(function(t){return D(t)});var r="@keyframes ".concat(e," {\n"),i="";n.forEach(function(t){i=" ";var e=parseFloat(t.offset);r+="".concat(i).concat(100*e,"% {\n"),i+=" ",Object.keys(t).forEach(function(e){var n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(r+="".concat(i,"animation-timing-function: ").concat(n,";\n")));default:return void(r+="".concat(i).concat(e,": ").concat(n,";\n"))}}),r+="".concat(i,"}\n")}),r+="}\n";var o=document.createElement("style");return o.textContent=r,o}},{key:"animate",value:function(t,e,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],a=o.filter(function(t){return t instanceof Me}),s={};at(n,r)&&a.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return s[t]=e[t]})});var u=function(t){var e={};return t&&(Array.isArray(t)?t:[t]).forEach(function(t){Object.keys(t).forEach(function(n){"offset"==n||"easing"==n||(e[n]=t[n])})}),e}(e=st(t,e,s));if(0==n)return new Se(t,u);var c="gen_css_kf_"+this._count++,l=this.buildKeyframeElement(t,c,e);(function(t){var e,n=null===(e=t.getRootNode)||void 0===e?void 0:e.call(t);return"undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot?n:document.head})(t).appendChild(l);var h=de(t,e),f=new Me(t,e,c,n,r,i,u,h);return f.onDestroy(function(){var t;(t=l).parentNode.removeChild(t)}),f}}]),t}(),Ee=function(){function t(e,n,r,i){y(this,t),this.element=e,this.keyframes=n,this.options=r,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}return g(t,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])}},{key:"init",value:function(){this._buildPlayer(),this._preparePlayerBeforeStart()}},{key:"_buildPlayer",value:function(){var t=this;if(!this._initialized){this._initialized=!0;var e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",function(){return t._onFinish()})}}},{key:"_preparePlayerBeforeStart",value:function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}},{key:"_triggerWebAnimation",value:function(t,e,n){return t.animate(e,n)}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"play",value:function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}},{key:"pause",value:function(){this.init(),this.domPlayer.pause()}},{key:"finish",value:function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}},{key:"reset",value:function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"_resetDomPlayerState",value:function(){this.domPlayer&&this.domPlayer.cancel()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"hasStarted",value:function(){return this._started}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])}},{key:"setPosition",value:function(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}},{key:"getPosition",value:function(){return this.domPlayer.currentTime/this.time}},{key:"totalTime",get:function(){return this._delay+this._duration}},{key:"beforeDestroy",value:function(){var t=this,e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(n){"offset"!=n&&(e[n]=t._finished?t._finalKeyframe[n]:ct(t.element,n))}),this.currentSnapshot=e}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0}}]),t}(),Ae=function(){function t(){y(this,t),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Ie().toString()),this._cssKeyframesDriver=new Pe}return g(t,[{key:"validateStyleProperty",value:function(t){return E(t)}},{key:"matchesElement",value:function(t,e){return A(t,e)}},{key:"containsElement",value:function(t,e){return T(t,e)}},{key:"query",value:function(t,e,n){return I(t,e,n)}},{key:"computeStyle",value:function(t,e,n){return window.getComputedStyle(t)[e]}},{key:"overrideWebAnimationsSupport",value:function(t){this._isNativeImpl=t}},{key:"animate",value:function(t,e,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],a=arguments.length>6?arguments[6]:void 0;if(!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,r,i,o);var s={duration:n,delay:r,fill:0==r?"both":"forwards"};i&&(s.easing=i);var u={},c=o.filter(function(t){return t instanceof Ee});at(n,r)&&c.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return u[t]=e[t]})});var l=de(t,e=st(t,e=e.map(function(t){return G(t,!1)}),u));return new Ee(t,e,s,l)}}]),t}();function Te(){return"function"==typeof Ie()}function Ie(){return s()&&Element.prototype.animate||{}}},12057:function(t,e,n){"use strict";n.d(e,{mr:function(){return P},Ov:function(){return tt},ez:function(){return it},K0:function(){return f},Do:function(){return A},Gx:function(){return nt},Ts:function(){return rt},V_:function(){return m},Ye:function(){return T},S$:function(){return M},$G:function(){return j},sg:function(){return V},O5:function(){return Z},RF:function(){return G},n9:function(){return J},tP:function(){return X},b0:function(){return E},lw:function(){return d},EM:function(){return ut},JF:function(){return ht},NF:function(){return at},PM:function(){return st},w_:function(){return h},bD:function(){return ot},q:function(){return o},Mx:function(){return R},HT:function(){return s}});var r=n(74788),i=null;function o(){return i}function s(t){i||(i=t)}var l,h=g(function t(){y(this,t)}),f=new r.OlP("DocumentToken"),d=((l=function(){function t(){y(this,t)}return g(t,[{key:"historyGo",value:function(t){throw new Error("Not implemented")}}]),t}()).\u0275fac=function(t){return new(t||l)},l.\u0275prov=(0,r.Yz7)({factory:v,token:l,providedIn:"platform"}),l);function v(){return(0,r.LFG)(b)}var m=new r.OlP("Location Initialized"),b=function(){var t=function(t){a(n,t);var e=u(n);function n(t){var r;return y(this,n),(r=e.call(this))._doc=t,r._init(),r}return g(n,[{key:"_init",value:function(){this.location=window.location,this._history=window.history}},{key:"getBaseHrefFromDOM",value:function(){return o().getBaseHref(this._doc)}},{key:"onPopState",value:function(t){var e=o().getGlobalEventTarget(this._doc,"window");return e.addEventListener("popstate",t,!1),function(){return e.removeEventListener("popstate",t)}}},{key:"onHashChange",value:function(t){var e=o().getGlobalEventTarget(this._doc,"window");return e.addEventListener("hashchange",t,!1),function(){return e.removeEventListener("hashchange",t)}}},{key:"href",get:function(){return this.location.href}},{key:"protocol",get:function(){return this.location.protocol}},{key:"hostname",get:function(){return this.location.hostname}},{key:"port",get:function(){return this.location.port}},{key:"pathname",get:function(){return this.location.pathname},set:function(t){this.location.pathname=t}},{key:"search",get:function(){return this.location.search}},{key:"hash",get:function(){return this.location.hash}},{key:"pushState",value:function(t,e,n){k()?this._history.pushState(t,e,n):this.location.hash=n}},{key:"replaceState",value:function(t,e,n){k()?this._history.replaceState(t,e,n):this.location.hash=n}},{key:"forward",value:function(){this._history.forward()}},{key:"back",value:function(){this._history.back()}},{key:"historyGo",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this._history.go(t)}},{key:"getState",value:function(){return this._history.state}}]),n}(d);return t.\u0275fac=function(e){return new(e||t)(r.LFG(f))},t.\u0275prov=(0,r.Yz7)({factory:w,token:t,providedIn:"platform"}),t}();function k(){return!!window.history.pushState}function w(){return new b((0,r.LFG)(f))}function C(t,e){if(0==t.length)return e;if(0==e.length)return t;var n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function x(t){var e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function O(t){return t&&"?"!==t[0]?"?"+t:t}var M=function(){var t=function(){function t(){y(this,t)}return g(t,[{key:"historyGo",value:function(t){throw new Error("Not implemented")}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,r.Yz7)({factory:S,token:t,providedIn:"root"}),t}();function S(t){var e=(0,r.LFG)(f).location;return new E((0,r.LFG)(d),e&&e.origin||"")}var P=new r.OlP("appBaseHref"),E=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r){var i;if(y(this,n),(i=e.call(this))._platformLocation=t,i._removeListenerFns=[],null==r&&(r=i._platformLocation.getBaseHrefFromDOM()),null==r)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return i._baseHref=r,c(i)}return g(n,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(t){return C(this._baseHref,t)}},{key:"path",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this._platformLocation.pathname+O(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?"".concat(e).concat(n):e}},{key:"pushState",value:function(t,e,n,r){var i=this.prepareExternalUrl(n+O(r));this._platformLocation.pushState(t,e,i)}},{key:"replaceState",value:function(t,e,n,r){var i=this.prepareExternalUrl(n+O(r));this._platformLocation.replaceState(t,e,i)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(e=(t=this._platformLocation).historyGo)||void 0===e||e.call(t,n)}}]),n}(M);return t.\u0275fac=function(e){return new(e||t)(r.LFG(d),r.LFG(P,8))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}(),A=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r){var i;return y(this,n),(i=e.call(this))._platformLocation=t,i._baseHref="",i._removeListenerFns=[],null!=r&&(i._baseHref=r),i}return g(n,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){var t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}},{key:"prepareExternalUrl",value:function(t){var e=C(this._baseHref,t);return e.length>0?"#"+e:e}},{key:"pushState",value:function(t,e,n,r){var i=this.prepareExternalUrl(n+O(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(t,e,i)}},{key:"replaceState",value:function(t,e,n,r){var i=this.prepareExternalUrl(n+O(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,i)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(e=(t=this._platformLocation).historyGo)||void 0===e||e.call(t,n)}}]),n}(M);return t.\u0275fac=function(e){return new(e||t)(r.LFG(d),r.LFG(P,8))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}(),T=function(){var t=function(){function t(e,n){var i=this;y(this,t),this._subject=new r.vpe,this._urlChangeListeners=[],this._platformStrategy=e;var o=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=x(D(o)),this._platformStrategy.onPopState(function(t){i._subject.emit({url:i.path(!0),pop:!0,state:t.state,type:t.type})})}return g(t,[{key:"path",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(t))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(t+O(e))}},{key:"normalize",value:function(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,D(e)))}},{key:"prepareExternalUrl",value:function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}},{key:"go",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+O(e)),n)}},{key:"replaceState",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+O(e)),n)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"historyGo",value:function(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(e=(t=this._platformStrategy).historyGo)||void 0===e||e.call(t,n)}},{key:"onUrlChange",value:function(t){var e=this;this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(function(t){e._notifyUrlChangeListeners(t.url,t.state)}))}},{key:"_notifyUrlChangeListeners",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach(function(n){return n(t,e)})}},{key:"subscribe",value:function(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(M),r.LFG(d))},t.normalizeQueryParams=O,t.joinWithSlash=C,t.stripTrailingSlash=x,t.\u0275prov=(0,r.Yz7)({factory:I,token:t,providedIn:"root"}),t}();function I(){return new T((0,r.LFG)(M),(0,r.LFG)(d))}function D(t){return t.replace(/\/index.html$/,"")}var L=((L=L||{})[L.Zero=0]="Zero",L[L.One=1]="One",L[L.Two=2]="Two",L[L.Few=3]="Few",L[L.Many=4]="Many",L[L.Other=5]="Other",L),N=r.kL8,z=g(function t(){y(this,t)}),F=function(){var t=function(t){a(n,t);var e=u(n);function n(t){var r;return y(this,n),(r=e.call(this)).locale=t,r}return g(n,[{key:"getPluralCategory",value:function(t,e){switch(N(e||this.locale)(t)){case L.Zero:return"zero";case L.One:return"one";case L.Two:return"two";case L.Few:return"few";case L.Many:return"many";default:return"other"}}}]),n}(z);return t.\u0275fac=function(e){return new(e||t)(r.LFG(r.soG))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}();function R(t,e){e=encodeURIComponent(e);var n,r=_(t.split(";"));try{for(r.s();!(n=r.n()).done;){var i=n.value,o=i.indexOf("="),a=p(-1==o?[i,""]:[i.slice(0,o),i.slice(o+1)],2),s=a[0],u=a[1];if(s.trim()===e)return decodeURIComponent(u)}}catch(c){r.e(c)}finally{r.f()}return null}var j=function(){var t=function(){function t(e){y(this,t),this._viewContainerRef=e,this._componentRef=null,this._moduleRef=null}return g(t,[{key:"ngOnChanges",value:function(t){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){var e=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(t.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){var n=e.get(r.h0i);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(n.injector)}else this._moduleRef=null;var i=(this._moduleRef?this._moduleRef.componentFactoryResolver:e.get(r._Vd)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(i,this._viewContainerRef.length,e,this.ngComponentOutletContent)}}},{key:"ngOnDestroy",value:function(){this._moduleRef&&this._moduleRef.destroy()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.s_b))},t.\u0275dir=r.lG2({type:t,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[r.TTD]}),t}(),B=function(){function t(e,n,r,i){y(this,t),this.$implicit=e,this.ngForOf=n,this.index=r,this.count=i}return g(t,[{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}}]),t}(),V=function(){var t=function(){function t(e,n,r){y(this,t),this._viewContainer=e,this._template=n,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return g(t,[{key:"ngForOf",set:function(t){this._ngForOf=t,this._ngForOfDirty=!0}},{key:"ngForTrackBy",get:function(){return this._trackByFn},set:function(t){this._trackByFn=t}},{key:"ngForTemplate",set:function(t){t&&(this._template=t)}},{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var t=this._ngForOf;if(!this._differ&&t)try{this._differ=this._differs.find(t).create(this.ngForTrackBy)}catch(n){throw new Error("Cannot find a differ supporting object '".concat(t,"' of type '").concat(function(t){return t.name||typeof t}(t),"'. NgFor only supports binding to Iterables such as Arrays."))}}if(this._differ){var e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}},{key:"_applyChanges",value:function(t){var e=this,n=[];t.forEachOperation(function(t,r,i){if(null==t.previousIndex){var o=e._viewContainer.createEmbeddedView(e._template,new B(null,e._ngForOf,-1,-1),null===i?void 0:i),a=new Y(t,o);n.push(a)}else if(null==i)e._viewContainer.remove(null===r?void 0:r);else if(null!==r){var s=e._viewContainer.get(r);e._viewContainer.move(s,i);var u=new Y(t,s);n.push(u)}});for(var r=0;r-1||(i=n.getPluralCategory(t,r),e.indexOf(i)>-1))return i;if(e.indexOf("other")>-1)return"other";throw new Error('No plural message found for value "'.concat(t,'"'))}(e,Object.keys(n),this._localization,r)].replace(et,e.toString())}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(z,16))},t.\u0275pipe=r.Yjl({name:"i18nPlural",type:t,pure:!0}),t}(),rt=function(){var t=function(){function t(){y(this,t)}return g(t,[{key:"transform",value:function(t){return JSON.stringify(t,null,2)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Yjl({name:"json",type:t,pure:!1}),t}(),it=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[{provide:z,useClass:F}]}),t}(),ot="browser";function at(t){return t===ot}function st(t){return"server"===t}var ut=function(){var t=g(function t(){y(this,t)});return t.\u0275prov=(0,r.Yz7)({token:t,providedIn:"root",factory:function(){return new ct((0,r.LFG)(f),window)}}),t}(),ct=function(){function t(e,n){y(this,t),this.document=e,this.window=n,this.offset=function(){return[0,0]}}return g(t,[{key:"setOffset",value:function(t){this.offset=Array.isArray(t)?function(){return t}:t}},{key:"getScrollPosition",value:function(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}},{key:"scrollToPosition",value:function(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}},{key:"scrollToAnchor",value:function(t){if(this.supportsScrolling()){var e=function(t,e){var n=t.getElementById(e)||t.getElementsByName(e)[0];if(n)return n;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow))for(var r=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),i=r.currentNode;i;){var o=i.shadowRoot;if(o){var a=o.getElementById(e)||o.querySelector('[name="'.concat(e,'"]'));if(a)return a}i=r.nextNode()}return null}(this.document,t);e&&(this.scrollToElement(e),this.attemptFocus(e))}}},{key:"setHistoryScrollRestoration",value:function(t){if(this.supportScrollRestoration()){var e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}},{key:"scrollToElement",value:function(t){var e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],r-i[1])}},{key:"attemptFocus",value:function(t){return t.focus(),this.document.activeElement===t}},{key:"supportScrollRestoration",value:function(){try{if(!this.supportsScrolling())return!1;var t=lt(this.window.history)||lt(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}},{key:"supportsScrolling",value:function(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}]),t}();function lt(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}var ht=g(function t(){y(this,t)})},58497:function(t,e,n){"use strict";n.d(e,{eN:function(){return F},JF:function(){return $}});var r=n(12057),i=n(74788),o=n(25917),s=n(29856),c=n(94612),l=n(45435),h=n(88002),f=g(function t(){y(this,t)}),v=g(function t(){y(this,t)}),m=function(){function t(e){var n=this;y(this,t),this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?function(){n.headers=new Map,e.split("\n").forEach(function(t){var e=t.indexOf(":");if(e>0){var r=t.slice(0,e),i=r.toLowerCase(),o=t.slice(e+1).trim();n.maybeSetNormalizedName(r,i),n.headers.has(i)?n.headers.get(i).push(o):n.headers.set(i,[o])}})}:function(){n.headers=new Map,Object.keys(e).forEach(function(t){var r=e[t],i=t.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(n.headers.set(i,r),n.maybeSetNormalizedName(t,i))})}:this.headers=new Map}return g(t,[{key:"has",value:function(t){return this.init(),this.headers.has(t.toLowerCase())}},{key:"get",value:function(t){this.init();var e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(t){return this.init(),this.headers.get(t.toLowerCase())||null}},{key:"append",value:function(t,e){return this.clone({name:t,value:e,op:"a"})}},{key:"set",value:function(t,e){return this.clone({name:t,value:e,op:"s"})}},{key:"delete",value:function(t,e){return this.clone({name:t,value:e,op:"d"})}},{key:"maybeSetNormalizedName",value:function(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}},{key:"init",value:function(){var e=this;this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(t){return e.applyUpdate(t)}),this.lazyUpdate=null))}},{key:"copyFrom",value:function(t){var e=this;t.init(),Array.from(t.headers.keys()).forEach(function(n){e.headers.set(n,t.headers.get(n)),e.normalizedNames.set(n,t.normalizedNames.get(n))})}},{key:"clone",value:function(e){var n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n}},{key:"applyUpdate",value:function(t){var e=t.name.toLowerCase();switch(t.op){case"a":case"s":var n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);var r=("a"===t.op?this.headers.get(e):void 0)||[];r.push.apply(r,d(n)),this.headers.set(e,r);break;case"d":var i=t.value;if(i){var o=this.headers.get(e);if(!o)return;0===(o=o.filter(function(t){return-1===i.indexOf(t)})).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}else this.headers.delete(e),this.normalizedNames.delete(e)}}},{key:"forEach",value:function(t){var e=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return t(e.normalizedNames.get(n),e.headers.get(n))})}}]),t}(),_=function(){function t(){y(this,t)}return g(t,[{key:"encodeKey",value:function(t){return w(t)}},{key:"encodeValue",value:function(t){return w(t)}},{key:"decodeKey",value:function(t){return decodeURIComponent(t)}},{key:"decodeValue",value:function(t){return decodeURIComponent(t)}}]),t}(),b=/%(\d[a-f0-9])/gi,k={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function w(t){return encodeURIComponent(t).replace(b,function(t,e){var n;return null!==(n=k[e])&&void 0!==n?n:t})}function C(t){return"".concat(t)}var x=function(){function t(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(y(this,t),this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new _,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){var n=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(function(t){var r=t.indexOf("="),i=p(-1==r?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,r)),e.decodeValue(t.slice(r+1))],2),o=i[0],a=i[1],s=n.get(o)||[];s.push(a),n.set(o,s)}),n}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(function(t){var r=n.fromObject[t];e.map.set(t,Array.isArray(r)?r:[r])})):this.map=null}return g(t,[{key:"has",value:function(t){return this.init(),this.map.has(t)}},{key:"get",value:function(t){this.init();var e=this.map.get(t);return e?e[0]:null}},{key:"getAll",value:function(t){return this.init(),this.map.get(t)||null}},{key:"keys",value:function(){return this.init(),Array.from(this.map.keys())}},{key:"append",value:function(t,e){return this.clone({param:t,value:e,op:"a"})}},{key:"appendAll",value:function(t){var e=[];return Object.keys(t).forEach(function(n){var r=t[n];Array.isArray(r)?r.forEach(function(t){e.push({param:n,value:t,op:"a"})}):e.push({param:n,value:r,op:"a"})}),this.clone(e)}},{key:"set",value:function(t,e){return this.clone({param:t,value:e,op:"s"})}},{key:"delete",value:function(t,e){return this.clone({param:t,value:e,op:"d"})}},{key:"toString",value:function(){var t=this;return this.init(),this.keys().map(function(e){var n=t.encoder.encodeKey(e);return t.map.get(e).map(function(e){return n+"="+t.encoder.encodeValue(e)}).join("&")}).filter(function(t){return""!==t}).join("&")}},{key:"clone",value:function(e){var n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(e),n}},{key:"init",value:function(){var t=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(e){return t.map.set(e,t.cloneFrom.map.get(e))}),this.updates.forEach(function(e){switch(e.op){case"a":case"s":var n=("a"===e.op?t.map.get(e.param):void 0)||[];n.push(C(e.value)),t.map.set(e.param,n);break;case"d":if(void 0===e.value){t.map.delete(e.param);break}var r=t.map.get(e.param)||[],i=r.indexOf(C(e.value));-1!==i&&r.splice(i,1),r.length>0?t.map.set(e.param,r):t.map.delete(e.param)}}),this.cloneFrom=this.updates=null)}}]),t}(),O=function(){function t(){y(this,t),this.map=new Map}return g(t,[{key:"set",value:function(t,e){return this.map.set(t,e),this}},{key:"get",value:function(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}},{key:"delete",value:function(t){return this.map.delete(t),this}},{key:"keys",value:function(){return this.map.keys()}}]),t}();function M(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function S(t){return"undefined"!=typeof Blob&&t instanceof Blob}function P(t){return"undefined"!=typeof FormData&&t instanceof FormData}var E=function(){function t(e,n,r,i){var o;if(y(this,t),this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==r?r:null,o=i):o=r,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new m),this.context||(this.context=new O),this.params){var a=this.params.toString();if(0===a.length)this.urlWithParams=n;else{var s=n.indexOf("?");this.urlWithParams=n+(-1===s?"?":s0&&void 0!==arguments[0]?arguments[0]:{},r=n.method||this.method,i=n.url||this.url,o=n.responseType||this.responseType,a=void 0!==n.body?n.body:this.body,s=void 0!==n.withCredentials?n.withCredentials:this.withCredentials,u=void 0!==n.reportProgress?n.reportProgress:this.reportProgress,c=n.headers||this.headers,l=n.params||this.params,h=null!==(e=n.context)&&void 0!==e?e:this.context;return void 0!==n.setHeaders&&(c=Object.keys(n.setHeaders).reduce(function(t,e){return t.set(e,n.setHeaders[e])},c)),n.setParams&&(l=Object.keys(n.setParams).reduce(function(t,e){return t.set(e,n.setParams[e])},l)),new t(r,i,a,{params:l,headers:c,context:h,reportProgress:u,responseType:o,withCredentials:s})}}]),t}(),A=((A=A||{})[A.Sent=0]="Sent",A[A.UploadProgress=1]="UploadProgress",A[A.ResponseHeader=2]="ResponseHeader",A[A.DownloadProgress=3]="DownloadProgress",A[A.Response=4]="Response",A[A.User=5]="User",A),T=g(function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";y(this,t),this.headers=e.headers||new m,this.status=void 0!==e.status?e.status:n,this.statusText=e.statusText||r,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}),I=function(t){a(n,t);var e=u(n);function n(){var t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return y(this,n),(t=e.call(this,r)).type=A.ResponseHeader,t}return g(n,[{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}]),n}(T),D=function(t){a(n,t);var e=u(n);function n(){var t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return y(this,n),(t=e.call(this,r)).type=A.Response,t.body=void 0!==r.body?r.body:null,t}return g(n,[{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}]),n}(T),L=function(t){a(n,t);var e=u(n);function n(t){var r;return y(this,n),(r=e.call(this,t,0,"Unknown Error")).name="HttpErrorResponse",r.ok=!1,r.message=r.status>=200&&r.status<300?"Http failure during parsing for ".concat(t.url||"(unknown url)"):"Http failure response for ".concat(t.url||"(unknown url)",": ").concat(t.status," ").concat(t.statusText),r.error=t.error||null,r}return g(n)}(T);function N(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}var z,F=(z=function(){function t(e){y(this,t),this.handler=e}return g(t,[{key:"request",value:function(t,e){var n,r,i,a=this,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};t instanceof E?n=t:(r=s.headers instanceof m?s.headers:new m(s.headers),s.params&&(i=s.params instanceof x?s.params:new x({fromObject:s.params})),n=new E(t,e,void 0!==s.body?s.body:null,{headers:r,context:s.context,params:i,reportProgress:s.reportProgress,responseType:s.responseType||"json",withCredentials:s.withCredentials}));var u=(0,o.of)(n).pipe((0,c.b)(function(t){return a.handler.handle(t)}));if(t instanceof E||"events"===s.observe)return u;var f=u.pipe((0,l.h)(function(t){return t instanceof D}));switch(s.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return f.pipe((0,h.U)(function(t){if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return f.pipe((0,h.U)(function(t){if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return f.pipe((0,h.U)(function(t){if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));default:return f.pipe((0,h.U)(function(t){return t.body}))}case"response":return f;default:throw new Error("Unreachable: unhandled observe type ".concat(s.observe,"}"))}}},{key:"delete",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("DELETE",t,e)}},{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("GET",t,e)}},{key:"head",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("HEAD",t,e)}},{key:"jsonp",value:function(t,e){return this.request("JSONP",t,{params:(new x).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("OPTIONS",t,e)}},{key:"patch",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PATCH",t,N(n,e))}},{key:"post",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",t,N(n,e))}},{key:"put",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",t,N(n,e))}}]),t}(),z.\u0275fac=function(t){return new(t||z)(i.LFG(f))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac}),z),R=function(){function t(e,n){y(this,t),this.next=e,this.interceptor=n}return g(t,[{key:"handle",value:function(t){return this.interceptor.intercept(t,this.next)}}]),t}(),j=new i.OlP("HTTP_INTERCEPTORS"),B=function(){var t=function(){function t(){y(this,t)}return g(t,[{key:"intercept",value:function(t,e){return e.handle(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t}(),V=/^\)\]\}',?\n/,Y=function(){var t=function(){function t(e){y(this,t),this.xhrFactory=e}return g(t,[{key:"handle",value:function(t){var e=this;if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new s.y(function(n){var r=e.xhrFactory.build();if(r.open(t.method,t.urlWithParams),t.withCredentials&&(r.withCredentials=!0),t.headers.forEach(function(t,e){return r.setRequestHeader(t,e.join(","))}),t.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){var i=t.detectContentTypeHeader();null!==i&&r.setRequestHeader("Content-Type",i)}if(t.responseType){var o=t.responseType.toLowerCase();r.responseType="json"!==o?o:"text"}var a=t.serializeBody(),s=null,u=function(){if(null!==s)return s;var e=1223===r.status?204:r.status,n=r.statusText||"OK",i=new m(r.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(r)||t.url;return s=new I({headers:i,status:e,statusText:n,url:o})},c=function(){var e=u(),i=e.headers,o=e.status,a=e.statusText,s=e.url,c=null;204!==o&&(c=void 0===r.response?r.responseText:r.response),0===o&&(o=c?200:0);var l=o>=200&&o<300;if("json"===t.responseType&&"string"==typeof c){var h=c;c=c.replace(V,"");try{c=""!==c?JSON.parse(c):null}catch(f){c=h,l&&(l=!1,c={error:f,text:c})}}l?(n.next(new D({body:c,headers:i,status:o,statusText:a,url:s||void 0})),n.complete()):n.error(new L({error:c,headers:i,status:o,statusText:a,url:s||void 0}))},l=function(t){var e=u().url,i=new L({error:t,status:r.status||0,statusText:r.statusText||"Unknown Error",url:e||void 0});n.error(i)},h=!1,f=function(e){h||(n.next(u()),h=!0);var i={type:A.DownloadProgress,loaded:e.loaded};e.lengthComputable&&(i.total=e.total),"text"===t.responseType&&!!r.responseText&&(i.partialText=r.responseText),n.next(i)},d=function(t){var e={type:A.UploadProgress,loaded:t.loaded};t.lengthComputable&&(e.total=t.total),n.next(e)};return r.addEventListener("load",c),r.addEventListener("error",l),r.addEventListener("timeout",l),r.addEventListener("abort",l),t.reportProgress&&(r.addEventListener("progress",f),null!==a&&r.upload&&r.upload.addEventListener("progress",d)),r.send(a),n.next({type:A.Sent}),function(){r.removeEventListener("error",l),r.removeEventListener("abort",l),r.removeEventListener("load",c),r.removeEventListener("timeout",l),t.reportProgress&&(r.removeEventListener("progress",f),null!==a&&r.upload&&r.upload.removeEventListener("progress",d)),r.readyState!==r.DONE&&r.abort()}})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.LFG(r.JF))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t}(),Z=new i.OlP("XSRF_COOKIE_NAME"),q=new i.OlP("XSRF_HEADER_NAME"),U=g(function t(){y(this,t)}),H=function(){var t=function(){function t(e,n,r){y(this,t),this.doc=e,this.platform=n,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return g(t,[{key:"getToken",value:function(){if("server"===this.platform)return null;var t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,r.Mx)(t,this.cookieName),this.lastCookieString=t),this.lastToken}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.LFG(r.K0),i.LFG(i.Lbi),i.LFG(Z))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t}(),G=function(){var t=function(){function t(e,n){y(this,t),this.tokenService=e,this.headerName=n}return g(t,[{key:"intercept",value:function(t,e){var n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);var r=this.tokenService.getToken();return null!==r&&!t.headers.has(this.headerName)&&(t=t.clone({headers:t.headers.set(this.headerName,r)})),e.handle(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.LFG(U),i.LFG(q))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t}(),J=function(){var t=function(){function t(e,n){y(this,t),this.backend=e,this.injector=n,this.chain=null}return g(t,[{key:"handle",value:function(t){if(null===this.chain){var e=this.injector.get(j,[]);this.chain=e.reduceRight(function(t,e){return new R(t,e)},this.backend)}return this.chain.handle(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.LFG(v),i.LFG(i.zs3))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t}(),X=function(){var t=function(){function t(){y(this,t)}return g(t,null,[{key:"disable",value:function(){return{ngModule:t,providers:[{provide:G,useClass:B}]}}},{key:"withOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:t,providers:[e.cookieName?{provide:Z,useValue:e.cookieName}:[],e.headerName?{provide:q,useValue:e.headerName}:[]]}}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[G,{provide:j,useExisting:G,multi:!0},{provide:U,useClass:H},{provide:Z,useValue:"XSRF-TOKEN"},{provide:q,useValue:"X-XSRF-TOKEN"}]}),t}(),$=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[F,{provide:f,useClass:J},Y,{provide:v,useExisting:Y}],imports:[[X.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t}()},74788:function(t,e,o){"use strict";o.d(e,{deG:function(){return yn},tb:function(){return cc},AFp:function(){return ic},ip1:function(){return nc},CZH:function(){return rc},hGG:function(){return Wc},z2F:function(){return Yc},sBO:function(){return Ws},Sil:function(){return bc},_Vd:function(){return ws},EJc:function(){return fc},SBq:function(){return Ms},qLn:function(){return gi},vpe:function(){return zu},gxx:function(){return Io},tBr:function(){return Zn},XFs:function(){return Y},OlP:function(){return mn},zs3:function(){return Go},ZZ4:function(){return Us},aQg:function(){return Gs},soG:function(){return hc},YKP:function(){return su},v3s:function(){return qc},h0i:function(){return au},PXZ:function(){return Fc},R0b:function(){return Cc},FiY:function(){return qn},Lbi:function(){return uc},g9A:function(){return sc},n_E:function(){return Ru},Qsj:function(){return Es},FYo:function(){return Ps},JOm:function(){return Gn},Tiy:function(){return Ts},q3G:function(){return li},PiD:function(){return Un},tp0:function(){return Hn},EAV:function(){return Gc},Rgc:function(){return ru},dDg:function(){return Ac},DyG:function(){return _n},GfV:function(){return Is},s_b:function(){return cu},ifc:function(){return G},eFA:function(){return Rc},Gpc:function(){return O},f3M:function(){return Rn},X6Q:function(){return Nc},_c5:function(){return $c},VLi:function(){return Ic},c2e:function(){return lc},zSh:function(){return Lo},wAp:function(){return cs},vHH:function(){return P},EiD:function(){return ui},mCW:function(){return Hr},qzn:function(){return Nr},JVY:function(){return Fr},pB0:function(){return Vr},eBb:function(){return jr},L6k:function(){return Rr},LAX:function(){return Br},cg1:function(){return as},Tjo:function(){return Xc},kL8:function(){return ss},yhl:function(){return zr},dqk:function(){return Q},sIi:function(){return ra},CqO:function(){return xa},QGY:function(){return wa},F4k:function(){return Ca},RDi:function(){return zt},AaK:function(){return w},z3N:function(){return Lr},qOj:function(){return Xo},TTD:function(){return Pt},_Bn:function(){return _s},xp6:function(){return Li},uIk:function(){return ua},Tol:function(){return Ba},ekj:function(){return ja},Suo:function(){return $u},Xpm:function(){return ut},lG2:function(){return vt},Yz7:function(){return I},cJS:function(){return D},oAB:function(){return ft},Yjl:function(){return gt},Y36:function(){return ha},_UZ:function(){return ma},GkF:function(){return ba},BQk:function(){return _a},ynx:function(){return ya},qZA:function(){return ga},TgZ:function(){return va},EpF:function(){return ka},n5z:function(){return fn},Ikx:function(){return es},LFG:function(){return Fn},$8M:function(){return pn},$Z:function(){return fa},NdJ:function(){return Oa},CRH:function(){return Qu},kcU:function(){return Ae},O4$:function(){return Ee},oxw:function(){return Pa},ALo:function(){return Eu},lcZ:function(){return Au},xi3:function(){return Tu},Dn7:function(){return Iu},Hsn:function(){return Ta},F$t:function(){return Aa},Q6J:function(){return da},DdM:function(){return Cu},VKq:function(){return xu},WLB:function(){return Ou},iGM:function(){return Ju},MAs:function(){return la},evT:function(){return _i},Jf7:function(){return yi},CHM:function(){return ee},oJD:function(){return hi},LSH:function(){return fi},kYT:function(){return dt},Udp:function(){return Ra},d8E:function(){return ns},YNc:function(){return ca},W1O:function(){return ec},_uU:function(){return Qa},Oqu:function(){return Wa},hij:function(){return Ka},AsE:function(){return ts},Gf:function(){return Xu}});var s=o(79765),c=o(59178),h=o(29856),v=o(66682),m=o(9945);function b(t){for(var e in t)if(t[e]===b)return e;throw Error("Could not find renamed property on target object.")}function k(t,e){for(var n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function w(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(w).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return"".concat(t.overriddenName);if(t.name)return"".concat(t.name);var e=t.toString();if(null==e)return""+e;var n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function C(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}var x=b({__forward_ref__:b});function O(t){return t.__forward_ref__=O,t.toString=function(){return w(this())},t}function M(t){return S(t)?t():t}function S(t){return"function"==typeof t&&t.hasOwnProperty(x)&&t.__forward_ref__===O}var P=function(t){a(n,t);var e=u(n);function n(t,r){var i;return y(this,n),i=e.call(this,function(t,e){return"".concat(t?"NG0".concat(t,": "):"").concat(e)}(t,r)),i.code=t,i}return g(n)}(n(Error));function E(t){return"string"==typeof t?t:null==t?"":String(t)}function A(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():E(t)}function T(t,e){var n=e?" in ".concat(e):"";throw new P("201","No provider for ".concat(A(t)," found").concat(n))}function I(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function D(t){return{providers:t.providers||[],imports:t.imports||[]}}function L(t){return N(t,R)||N(t,B)}function N(t,e){return t.hasOwnProperty(e)?t[e]:null}function z(t){return t&&(t.hasOwnProperty(j)||t.hasOwnProperty(V))?t[j]:null}var F,R=b({"\u0275prov":b}),j=b({"\u0275inj":b}),B=b({ngInjectableDef:b}),V=b({ngInjectorDef:b}),Y=((Y=Y||{})[Y.Default=0]="Default",Y[Y.Host=1]="Host",Y[Y.Self=2]="Self",Y[Y.SkipSelf=4]="SkipSelf",Y[Y.Optional=8]="Optional",Y);function Z(t){var e=F;return F=t,e}function q(t,e,n){var r=L(t);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Y.Optional?null:void 0!==e?e:void T(w(t),"Injector")}function U(t){return{toString:t}.toString()}var H=((H=H||{})[H.OnPush=0]="OnPush",H[H.Default=1]="Default",H),G=((G=G||{})[G.Emulated=0]="Emulated",G[G.None=2]="None",G[G.ShadowDom=3]="ShadowDom",G),J="undefined"!=typeof globalThis&&globalThis,X="undefined"!=typeof window&&window,$="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Q=J||"undefined"!=typeof global&&global||X||$,W={},K=[],tt=b({"\u0275cmp":b}),et=b({"\u0275dir":b}),nt=b({"\u0275pipe":b}),rt=b({"\u0275mod":b}),it=b({"\u0275loc":b}),ot=b({"\u0275fac":b}),at=b({__NG_ELEMENT_ID__:b}),st=0;function ut(t){return U(function(){var 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===H.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||K,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||G.Emulated,id:"c",styles:t.styles||K,_:null,setInput:null,schemas:t.schemas||null,tView:null},r=t.directives,i=t.features,o=t.pipes;return n.id+=st++,n.inputs=pt(t.inputs,e),n.outputs=pt(t.outputs),i&&i.forEach(function(t){return t(n)}),n.directiveDefs=r?function(){return("function"==typeof r?r():r).map(ct)}:null,n.pipeDefs=o?function(){return("function"==typeof o?o():o).map(lt)}:null,n})}function ct(t){return mt(t)||function(t){return t[et]||null}(t)}function lt(t){return function(t){return t[nt]||null}(t)}var ht={};function ft(t){return U(function(){var e={type:t.type,bootstrap:t.bootstrap||K,declarations:t.declarations||K,imports:t.imports||K,exports:t.exports||K,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(ht[t.id]=t.type),e})}function dt(t,e){return U(function(){var n=yt(t,!0);n.declarations=e.declarations||K,n.imports=e.imports||K,n.exports=e.exports||K})}function pt(t,e){if(null==t)return W;var n={};for(var r in t)if(t.hasOwnProperty(r)){var i=t[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,e&&(e[i]=o)}return n}var vt=ut;function gt(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function mt(t){return t[tt]||null}function yt(t,e){var n=t[rt]||null;if(!n&&!0===e)throw new Error("Type ".concat(w(t)," does not have '\u0275mod' property."));return n}function _t(t){return Array.isArray(t)&&"object"==typeof t[1]}function bt(t){return Array.isArray(t)&&!0===t[1]}function kt(t){return 0!=(8&t.flags)}function wt(t){return 2==(2&t.flags)}function Ct(t){return 1==(1&t.flags)}function xt(t){return null!==t.template}function Ot(t){return 0!=(512&t[2])}function Mt(t,e){return t.hasOwnProperty(ot)?t[ot]:null}var St=function(){function t(e,n,r){y(this,t),this.previousValue=e,this.currentValue=n,this.firstChange=r}return g(t,[{key:"isFirstChange",value:function(){return this.firstChange}}]),t}();function Pt(){return Et}function Et(t){return t.type.prototype.ngOnChanges&&(t.setInput=Tt),At}function At(){var t=Dt(this),e=null==t?void 0:t.current;if(e){var n=t.previous;if(n===W)t.previous=e;else for(var r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function Tt(t,e,n,r){var i=Dt(t)||function(t,e){return t[It]=e}(t,{previous:W,current:null}),o=i.current||(i.current={}),a=i.previous,s=this.declaredInputs[n],u=a[s];o[s]=new St(u&&u.currentValue,e,a===W),t[r]=e}Pt.ngInherit=!0;var It="__ngSimpleChanges__";function Dt(t){return t[It]||null}var Lt,Nt="http://www.w3.org/2000/svg";function zt(t){Lt=t}function Ft(){return void 0!==Lt?Lt:"undefined"!=typeof document?document:void 0}function Rt(t){return!!t.listen}var jt={createRenderer:function(t,e){return Ft()}};function Bt(t){for(;Array.isArray(t);)t=t[0];return t}function Vt(t,e){return Bt(e[t])}function Yt(t,e){return Bt(e[t.index])}function Zt(t,e){return t.data[e]}function qt(t,e){return t[e]}function Ut(t,e){var n=e[t];return _t(n)?n:n[0]}function Ht(t){return 4==(4&t[2])}function Gt(t){return 128==(128&t[2])}function Jt(t,e){return null==e?null:t[e]}function Xt(t){t[18]=0}function $t(t,e){t[5]+=e;for(var n=t,r=t[3];null!==r&&(1===e&&1===n[5]||-1===e&&0===n[5]);)r[5]+=e,n=r,r=r[3]}var Qt={lFrame:we(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Wt(){return Qt.bindingsEnabled}function Kt(){return Qt.lFrame.lView}function te(){return Qt.lFrame.tView}function ee(t){return Qt.lFrame.contextLView=t,t[8]}function ne(){for(var t=re();null!==t&&64===t.type;)t=t.parent;return t}function re(){return Qt.lFrame.currentTNode}function ie(t,e){var n=Qt.lFrame;n.currentTNode=t,n.isParent=e}function oe(){return Qt.lFrame.isParent}function ae(){Qt.lFrame.isParent=!1}function se(){return Qt.isInCheckNoChangesMode}function ue(t){Qt.isInCheckNoChangesMode=t}function ce(){var t=Qt.lFrame,e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function le(){return Qt.lFrame.bindingIndex}function he(){return Qt.lFrame.bindingIndex++}function fe(t){var e=Qt.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function de(t,e){var n=Qt.lFrame;n.bindingIndex=n.bindingRootIndex=t,pe(e)}function pe(t){Qt.lFrame.currentDirectiveIndex=t}function ve(t){var e=Qt.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function ge(){return Qt.lFrame.currentQueryIndex}function me(t){Qt.lFrame.currentQueryIndex=t}function ye(t){var e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function _e(t,e,n){if(n&Y.SkipSelf){for(var r=e,i=t;!(null!==(r=r.parent)||n&Y.Host||(r=ye(i),null===r||(i=i[15],10&r.type))););if(null===r)return!1;e=r,t=i}var o=Qt.lFrame=ke();return o.currentTNode=e,o.lView=t,!0}function be(t){var e=ke(),n=t[1];Qt.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function ke(){var t=Qt.lFrame,e=null===t?null:t.child;return null===e?we(t):e}function we(t){var e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function Ce(){var t=Qt.lFrame;return Qt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var xe=Ce;function Oe(){var t=Ce();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Me(){return Qt.lFrame.selectedIndex}function Se(t){Qt.lFrame.selectedIndex=t}function Pe(){var t=Qt.lFrame;return Zt(t.tView,t.selectedIndex)}function Ee(){Qt.lFrame.currentNamespace=Nt}function Ae(){Qt.lFrame.currentNamespace=null}function Te(t,e){for(var n=e.directiveStart,r=e.directiveEnd;n=r)break}else e[s]<0&&(t[18]+=65536),(a>11>16&&(3&t[2])===e){t[2]+=2048;try{o.call(a)}finally{}}}else try{o.call(a)}finally{}}var Fe=g(function t(e,n,r){y(this,t),this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r});function Re(t,e,n){for(var r=Rt(t),i=0;ie){a=o-1;break}}}for(;o>16}(t),r=e;n>0;)r=r[15],n--;return r}var He=!0;function Ge(t){var e=He;return He=t,e}var Je=0;function Xe(t,e){var n=Qe(t,e);if(-1!==n)return n;var r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,$e(r.data,t),$e(e,null),$e(r.blueprint,null));var i=We(t,e),o=t.injectorIndex;if(Ze(i))for(var a=qe(i),s=Ue(i,e),u=s[1].data,c=0;c<8;c++)e[o+c]=s[a+c]|u[a+c];return e[o+8]=i,o}function $e(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Qe(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function We(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;for(var n=0,r=null,i=e;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 Ke(t,e,n){!function(t,e,n){var r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(at)&&(r=n[at]),null==r&&(r=n[at]=Je++);var i=255&r;e.data[t+(i>>5)]|=1<3&&void 0!==arguments[3]?arguments[3]:Y.Default,i=arguments.length>4?arguments[4]:void 0;if(null!==t){var o=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;var e=t.hasOwnProperty(at)?t[at]:void 0;return"number"==typeof e?e>=0?255&e:on:e}(n);if("function"==typeof o){if(!_e(e,t,r))return r&Y.Host?tn(i,n,r):en(e,n,r,i);try{var a=o(r);if(null!=a||r&Y.Optional)return a;T(n)}finally{xe()}}else if("number"==typeof o){var s=null,u=Qe(t,e),c=-1,l=r&Y.Host?e[16][6]:null;for((-1===u||r&Y.SkipSelf)&&(-1!==(c=-1===u?We(t,e):e[u+8])&&ln(r,!1)?(s=e[1],u=qe(c),e=Ue(c,e)):u=-1);-1!==u;){var h=e[1];if(cn(o,u,h.data)){var f=an(u,e,n,s,r,l);if(f!==rn)return f}-1!==(c=e[u+8])&&ln(r,e[1].data[u+8]===l)&&cn(o,u,e)?(s=h,u=qe(c),e=Ue(c,e)):u=-1}}}return en(e,n,r,i)}var rn={};function on(){return new hn(ne(),Kt())}function an(t,e,n,r,i,o){var a=e[1],s=a.data[t+8],u=sn(s,a,n,null==r?wt(s)&&He:r!=a&&0!=(3&s.type),i&Y.Host&&o===s);return null!==u?un(e,a,u,s):rn}function sn(t,e,n,r,i){for(var o=t.providerIndexes,a=e.data,s=1048575&o,u=t.directiveStart,c=o>>20,l=i?s+c:t.directiveEnd,h=r?s:s+c;h=u&&f.type===n)return h}if(i){var d=a[u];if(d&&xt(d)&&d.type===n)return u}return null}function un(t,e,n,r){var i=t[n],o=e.data;if(function(t){return t instanceof Fe}(i)){var a=i;a.resolving&&function(t,e){throw new P("200","Circular dependency in DI detected for ".concat(t))}(A(o[n]));var s=Ge(a.canSeeViewProviders);a.resolving=!0;var u=a.injectImpl?Z(a.injectImpl):null;_e(t,r,Y.Default);try{i=t[n]=a.factory(void 0,o,t,r),e.firstCreatePass&&n>=r.directiveStart&&function(t,e,n){var r=e.type.prototype,i=r.ngOnChanges,o=r.ngOnInit,a=r.ngDoCheck;if(i){var s=Et(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,o),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,a))}(n,o[n],e)}finally{null!==u&&Z(u),Ge(s),a.resolving=!1,xe()}}return i}function cn(t,e,n){return!!(n[e+(t>>5)]&1<=t.length?t.push(n):t.splice(e,0,n)}function Cn(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function xn(t,e){for(var n=[],r=0;r=0?t[1|r]=n:function(t,e,n,r){var i=t.length;if(i==e)t.push(n,r);else if(1===i)t.push(r,t[0]),t[0]=n;else{for(i--,t.push(t[i-1],t[i]);i>e;)t[i]=t[i-2],i--;t[e]=n,t[e+1]=r}}(t,r=~r,e,n),r}function Mn(t,e){var n=Sn(t,e);if(n>=0)return t[1|n]}function Sn(t,e){return function(t,e,n){for(var r=0,i=t.length>>1;i!==r;){var o=r+(i-r>>1),a=t[o<<1];if(e===a)return o<<1;a>e?i=o:r=o+1}return~(i<<1)}(t,e)}var Pn,En={},An="__NG_DI_FLAG__",Tn="ngTempTokenPath",In=/\n/gm,Dn="__source",Ln=b({provide:String,useValue:b});function Nn(t){var e=Pn;return Pn=t,e}function zn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Y.Default;if(void 0===Pn)throw new Error("inject() must be called from an injection context");return null===Pn?q(t,void 0,e):Pn.get(t,e&Y.Optional?null:void 0,e)}function Fn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Y.Default;return(F||zn)(M(t),e)}var Rn=Fn;function jn(t){for(var e=[],n=0;n3&&void 0!==arguments[3]?arguments[3]:null;t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;var i=w(e);if(Array.isArray(e))i=e.map(w).join(" -> ");else if("object"==typeof e){var o=[];for(var a in e)if(e.hasOwnProperty(a)){var s=e[a];o.push(a+":"+("string"==typeof s?JSON.stringify(s):w(s)))}i="{".concat(o.join(", "),"}")}return"".concat(n).concat(r?"("+r+")":"","[").concat(i,"]: ").concat(t.replace(In,"\n "))}("\n"+t.message,i,n,r),t.ngTokenPath=i,t[Tn]=null,t}var Zn=Bn(gn("Inject",function(t){return{token:t}}),-1),qn=Bn(gn("Optional"),8),Un=Bn(gn("Self"),2),Hn=Bn(gn("SkipSelf"),4),Gn=((Gn=Gn||{})[Gn.Important=1]="Important",Gn[Gn.DashCase=2]="DashCase",Gn),Jn="__ngContext__";function Xn(t,e){t[Jn]=e}function $n(t){var e=function(t){return t[Jn]||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Qn(t,e){return(void 0)(t,e)}function Wn(t){var e=t[3];return bt(e)?e[3]:e}function Kn(t){return er(t[13])}function tr(t){return er(t[4])}function er(t){for(;null!==t&&!bt(t);)t=t[4];return t}function nr(t,e,n,r,i){if(null!=r){var o,a=!1;bt(r)?o=r:_t(r)&&(a=!0,r=r[0]);var s=Bt(r);0===t&&null!==n?null==i?lr(e,n,s):cr(e,n,s,i||null,!0):1===t&&null!==n?cr(e,n,s,i||null,!0):2===t?function(t,e,n){var r=fr(t,e);r&&function(t,e,n,r){Rt(t)?t.removeChild(e,n,r):e.removeChild(n)}(t,r,e,n)}(e,s,a):3===t&&e.destroyNode(s),null!=o&&function(t,e,n,r,i){var o=n[7];o!==Bt(n)&&nr(e,t,r,o,i);for(var a=10;a0&&(t[n-1][4]=r[4]);var o=Cn(t,10+e);!function(t,e){wr(t,e,e[11],2,null,null),e[0]=null,e[6]=null}(r[1],r);var a=o[19];null!==a&&a.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}}function ar(t,e){if(!(256&e[2])){var n=e[11];Rt(n)&&n.destroyNode&&wr(t,e,n,3,null,null),function(t){var e=t[13];if(!e)return sr(t[1],t);for(;e;){var n=null;if(_t(e))n=e[13];else{var r=e[10];r&&(n=r)}if(!n){for(;e&&!e[4]&&e!==t;)_t(e)&&sr(e[1],e),e=e[3];null===e&&(e=t),_t(e)&&sr(e[1],e),n=e&&e[4]}e=n}}(e)}}function sr(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){var n;if(null!=t&&null!=(n=t.destroyHooks))for(var r=0;r=0?r[i=c]():r[i=-c].unsubscribe(),o+=2}else{var l=r[i=n[o+1]];n[o].call(l)}if(null!==r){for(var h=i+1;h"),!0}},{key:"endElement",value:function(t){var e=t.nodeName.toLowerCase();Kr.hasOwnProperty(e)&&!$r.hasOwnProperty(e)&&(this.buf.push(""))}},{key:"chars",value:function(t){this.buf.push(si(t))}},{key:"checkClobberedElement",value:function(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: ".concat(t.outerHTML));return e}}]),t}(),oi=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ai=/([^\#-~ |!])/g;function si(t){return t.replace(/&/g,"&").replace(oi,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(ai,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}function ui(t,e){var n=null;try{Xr=Xr||function(t){var e=new Zr(t);return function(){try{return!!(new window.DOMParser).parseFromString(Mr(""),"text/html")}catch(t){return!1}}()?new Yr(e):e}(t);var r=e?String(e):"";n=Xr.getInertBodyElement(r);var i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=Xr.getInertBodyElement(r)}while(r!==o);return Mr((new ii).sanitizeChildren(ci(n)||n))}finally{if(n)for(var a=ci(n)||n;a.firstChild;)a.removeChild(a.firstChild)}}function ci(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var li=((li=li||{})[li.NONE=0]="NONE",li[li.HTML=1]="HTML",li[li.STYLE=2]="STYLE",li[li.SCRIPT=3]="SCRIPT",li[li.URL=4]="URL",li[li.RESOURCE_URL=5]="RESOURCE_URL",li);function hi(t){var e=di();return e?Sr(e.sanitize(li.HTML,t)||""):Nr(t,"HTML")?Sr(Lr(t)):ui(Ft(),E(t))}function fi(t){var e=di();return e?e.sanitize(li.URL,t)||"":Nr(t,"URL")?Lr(t):Hr(E(t))}function di(){var t=Kt();return t&&t[12]}function pi(t){return t.ngOriginalError}function vi(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;ro?"":i[l+1].toLowerCase();var f=8&r?h:null;if(f&&-1!==ki(f,c,0)||2&r&&c!==h){if(Si(r))return!1;a=!0}}}}else{if(!a&&!Si(r)&&!Si(u))return!1;if(a&&Si(u))continue;a=!1,r=u|1&r}}return Si(r)||a}function Si(t){return 0==(1&t)}function Pi(t,e,n,r){if(null===e)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&&!Si(a)&&(e+=Ti(o,i),i=""),r=a,o=o||!Si(r);n++}return""!==i&&(e+=Ti(o,i)),e}var Di={};function Li(t){Ni(te(),Kt(),Me()+t,se())}function Ni(t,e,n,r){if(!r)if(3==(3&e[2])){var i=t.preOrderCheckHooks;null!==i&&Ie(e,i,n)}else{var o=t.preOrderHooks;null!==o&&De(e,o,0,n)}Se(n)}function zi(t,e){return t<<17|e<<2}function Fi(t){return t>>17&32767}function Ri(t){return 2|t}function ji(t){return(131068&t)>>2}function Bi(t,e){return-131069&t|e<<2}function Vi(t){return 1|t}function Yi(t,e){var n=t.contentQueries;if(null!==n)for(var r=0;r20&&Ni(t,e,20,se()),n(r,i)}finally{Se(o)}}function $i(t,e,n){if(kt(e))for(var r=e.directiveEnd,i=e.directiveStart;i2&&void 0!==arguments[2]?arguments[2]:Yt,r=e.localNames;if(null!==r)for(var i=e.index+1,o=0;o0;){var n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(s)!=u&&s.push(u),s.push(r,i,a)}}function ao(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function so(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function uo(t,e,n){if(n){if(e.exportAs)for(var r=0;r0&&mo(n)}}function mo(t){for(var e=Kn(t);null!==e;e=tr(e))for(var n=10;n0&&mo(r)}var o=t[1].components;if(null!==o)for(var a=0;a0&&mo(s)}}function yo(t,e){var n=Ut(e,t),r=n[1];(function(t,e){for(var n=e.length;n1&&void 0!==arguments[1]?arguments[1]:En;if(e===En){var n=new Error("NullInjectorError: No provider for ".concat(w(t),"!"));throw n.name="NullInjectorError",n}return e}}]),t}(),Lo=new mn("Set Injector scope."),No={},zo={};function Fo(){return void 0===To&&(To=new Do),To}function Ro(t){var e=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 jo(t,n,e||Fo(),r)}var jo=function(){function t(e,n,r){var i=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;y(this,t),this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var a=[];n&&kn(n,function(t){return i.processProvider(t,e,n)}),kn([e],function(t){return i.processInjectorType(t,[],a)}),this.records.set(Io,Yo(void 0,this));var s=this.records.get(Lo);this.scope=null!=s?s.value:null,this.source=o||("object"==typeof e?null:w(e))}return g(t,[{key:"destroyed",get:function(){return this._destroyed}},{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(function(t){return t.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:En,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Y.Default;this.assertNotDestroyed();var r,i=Nn(this),o=Z(void 0);try{if(!(n&Y.SkipSelf)){var a=this.records.get(t);if(void 0===a){var s=("function"==typeof(r=t)||"object"==typeof r&&r instanceof mn)&&L(t);a=s&&this.injectableDefInScope(s)?Yo(Bo(t),No):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(n&Y.Self?Fo():this.parent).get(t,e=n&Y.Optional&&e===En?null:e)}catch(u){if("NullInjectorError"===u.name){if((u[Tn]=u[Tn]||[]).unshift(w(t)),i)throw u;return Yn(u,t,"R3InjectorError",this.source)}throw u}finally{Z(o),Nn(i)}}},{key:"_resolveInjectorDefTypes",value:function(){var t=this;this.injectorDefTypes.forEach(function(e){return t.get(e)})}},{key:"toString",value:function(){var t=[];return this.records.forEach(function(e,n){return t.push(w(n))}),"R3Injector[".concat(t.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(t,e,n){var r=this;if(!(t=M(t)))return!1;var i=z(t),o=null==i&&t.ngModule||void 0,a=void 0===o?t:o,s=-1!==n.indexOf(a);if(void 0!==o&&(i=z(o)),null==i)return!1;if(null!=i.imports&&!s){var u;n.push(a);try{kn(i.imports,function(t){r.processInjectorType(t,e,n)&&(void 0===u&&(u=[]),u.push(t))})}finally{}if(void 0!==u)for(var c=function(){var t=u[l],e=t.ngModule,n=t.providers;kn(n,function(t){return r.processProvider(t,e,n||K)})},l=0;l0){var n=xn(e,"?");throw new Error("Can't resolve all parameters for ".concat(w(t),": (").concat(n.join(", "),")."))}var r=function(t){var e=t&&(t[R]||t[B]);if(e){var n=function(t){if(t.hasOwnProperty("name"))return t.name;var e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);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.')),e}return null}(t);return null!==r?function(){return r.factory(t)}:function(){return new t}}(t);throw new Error("unreachable")}function Vo(t,e,n){var i;if(qo(t)){var o=M(t);return Mt(o)||Bo(o)}if(Zo(t))i=function(){return M(t.useValue)};else if(function(t){return!(!t||!t.useFactory)}(t))i=function(){return t.useFactory.apply(t,d(jn(t.deps||[])))};else if(function(t){return!(!t||!t.useExisting)}(t))i=function(){return Fn(M(t.useExisting))};else{var a=M(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return Mt(a)||Bo(a);i=function(){return r(a,d(jn(t.deps)))}}return i}function Yo(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:t,value:e,multi:n?[]:void 0}}function Zo(t){return null!==t&&"object"==typeof t&&Ln in t}function qo(t){return"function"==typeof t}var Uo,Ho=function(t,e,n){return function(t){var e=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=Ro(t,e,n,r);return i._resolveInjectorDefTypes(),i}({name:n},e,t,n)},Go=((Uo=function(){function t(){y(this,t)}return g(t,null,[{key:"create",value:function(t,e){return Array.isArray(t)?Ho(t,e,""):Ho(t.providers,t.parent,t.name||"")}}]),t}()).THROW_IF_NOT_FOUND=En,Uo.NULL=new Do,Uo.\u0275prov=I({token:Uo,providedIn:"any",factory:function(){return Fn(Io)}}),Uo.__NG_ELEMENT_ID__=-1,Uo);function Jo(t,e){Te($n(t)[1],ne())}function Xo(t){for(var e=function(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),n=!0,r=[t];e;){var i=void 0;if(xt(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");i=e.\u0275dir}if(i){if(n){r.push(i);var o=t;o.inputs=$o(t.inputs),o.declaredInputs=$o(t.declaredInputs),o.outputs=$o(t.outputs);var a=i.hostBindings;a&&Ko(t,a);var s=i.viewQuery,u=i.contentQueries;if(s&&Qo(t,s),u&&Wo(t,u),k(t.inputs,i.inputs),k(t.declaredInputs,i.declaredInputs),k(t.outputs,i.outputs),xt(i)&&i.data.animation){var c=t.data;c.animation=(c.animation||[]).concat(i.data.animation)}}var l=i.features;if(l)for(var h=0;h=0;r--){var i=t[r];i.hostVars=e+=i.hostVars,i.hostAttrs=Ve(i.hostAttrs,n=Ve(n,i.hostAttrs))}}(r)}function $o(t){return t===W?{}:t===K?[]:t}function Qo(t,e){var n=t.viewQuery;t.viewQuery=n?function(t,r){e(t,r),n(t,r)}:e}function Wo(t,e){var n=t.contentQueries;t.contentQueries=n?function(t,r,i){e(t,r,i),n(t,r,i)}:e}function Ko(t,e){var n=t.hostBindings;t.hostBindings=n?function(t,r){e(t,r),n(t,r)}:e}var ta=null;function ea(){if(!ta){var t=Q.Symbol;if(t&&t.iterator)ta=t.iterator;else for(var e=Object.getOwnPropertyNames(Map.prototype),n=0;n1&&void 0!==arguments[1]?arguments[1]:Y.Default,n=Kt();return null===n?Fn(t,e):nn(ne(),n,M(t),e)}function fa(){throw new Error("invalid")}function da(t,e,n){var r=Kt();return aa(r,he(),e)&&ro(te(),Pe(),r,t,e,r[11],n,!1),da}function pa(t,e,n,r,i){var o=i?"class":"style";Po(t,n,e.inputs[o],o,r)}function va(t,e,n,r){var i=Kt(),o=te(),a=20+t,s=i[11],u=i[a]=rr(s,e,Qt.lFrame.currentNamespace),c=o.firstCreatePass?function(t,e,n,r,i,o,a){var s=e.consts,u=qi(e,t,2,i,Jt(s,o));return io(e,n,u,Jt(s,a)),null!==u.attrs&&Ao(u,u.attrs,!1),null!==u.mergedAttrs&&Ao(u,u.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,u),u}(a,o,i,0,e,n,r):o.data[a];ie(c,!0);var l=c.mergedAttrs;null!==l&&Re(s,u,l);var h=c.classes;null!==h&&Or(s,u,h);var f=c.styles;null!==f&&xr(s,u,f),64!=(64&c.flags)&&mr(o,i,u,c),0===Qt.lFrame.elementDepthCount&&Xn(u,i),Qt.lFrame.elementDepthCount++,Ct(c)&&(Qi(o,i,c),$i(o,c,i)),null!==r&&Wi(i,c)}function ga(){var t=ne();oe()?ae():ie(t=t.parent,!1);var e=t;Qt.lFrame.elementDepthCount--;var n=te();n.firstCreatePass&&(Te(n,t),kt(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function(t){return 0!=(16&t.flags)}(e)&&pa(n,e,Kt(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return 0!=(32&t.flags)}(e)&&pa(n,e,Kt(),e.stylesWithoutHost,!1)}function ma(t,e,n,r){va(t,e,n,r),ga()}function ya(t,e,n){var r=Kt(),i=te(),o=t+20,a=i.firstCreatePass?function(t,e,n,r,i){var o=e.consts,a=Jt(o,r),s=qi(e,t,8,"ng-container",a);return null!==a&&Ao(s,a,!0),io(e,n,s,Jt(o,i)),null!==e.queries&&e.queries.elementStart(e,s),s}(o,i,r,e,n):i.data[o];ie(a,!0);var s=r[o]=r[11].createComment("");mr(i,r,s,a),Xn(s,r),Ct(a)&&(Qi(i,r,a),$i(i,a,r)),null!=n&&Wi(r,a)}function _a(){var t=ne(),e=te();oe()?ae():ie(t=t.parent,!1),e.firstCreatePass&&(Te(e,t),kt(t)&&e.queries.elementEnd(t))}function ba(t,e,n){ya(t,e,n),_a()}function ka(){return Kt()}function wa(t){return!!t&&"function"==typeof t.then}function Ca(t){return!!t&&"function"==typeof t.subscribe}var xa=Ca;function Oa(t,e,n,r){var i=Kt(),o=te(),a=ne();return function(t,e,n,r,i,o,a,s){var u=Ct(r),c=t.firstCreatePass&&Mo(t),l=e[8],h=Oo(e),f=!0;if(3&r.type||s){var d=Yt(r,e),p=s?s(d):d,v=h.length,g=s?function(t){return s(Bt(t[r.index]))}:r.index;if(Rt(n)){var m=null;if(!s&&u&&(m=function(t,e,n,r){var i=t.cleanup;if(null!=i)for(var o=0;ou?s[u]:null}"string"==typeof a&&(o+=2)}return null}(t,e,i,r.index)),null!==m)(m.__ngLastListenerFn__||m).__ngNextListenerFn__=o,m.__ngLastListenerFn__=o,f=!1;else{o=Sa(r,e,l,o,!1);var y=n.listen(p,i,o);h.push(o,y),c&&c.push(i,g,v,v+1)}}else o=Sa(r,e,l,o,!0),p.addEventListener(i,o,a),h.push(o),c&&c.push(i,g,v,a)}else o=Sa(r,e,l,o,!1);var _,b=r.outputs;if(f&&null!==b&&(_=b[i])){var k=_.length;if(k)for(var w=0;w0&&void 0!==arguments[0]?arguments[0]:1;return function(t){return(Qt.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,Qt.lFrame.contextLView))[8]}(t)}function Ea(t,e){for(var n=null,r=function(t){var e=t.attrs;if(null!=e){var n=e.indexOf(5);if(0==(1&n))return e[n+1]}return null}(t),i=0;i1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,r=Kt(),i=te(),o=qi(i,20+t,16,null,n||null);null===o.projection&&(o.projection=e),ae(),64!=(64&o.flags)&&function(t,e,n){Cr(e[11],0,e,n,ur(t,n,e),dr(n.parent||e[6],n,e))}(i,r,o)}function Ia(t,e,n,r,i){for(var o=t[n+1],a=null===e,s=r?Fi(o):ji(o),u=!1;0!==s&&(!1===u||a);){var c=t[s+1];Da(t[s],e)&&(u=!0,t[s+1]=r?Vi(c):Ri(c)),s=r?Fi(c):ji(c)}u&&(t[n+1]=r?Ri(o):Vi(o))}function Da(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&Sn(t,e)>=0}var La={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Na(t){return t.substring(La.key,La.keyEnd)}function za(t,e){var n=La.textEnd;return n===e?-1:(e=La.keyEnd=function(t,e,n){for(;e32;)e++;return e}(t,La.key=e,n),Fa(t,e,n))}function Fa(t,e,n){for(;e=0;n=za(e,n))On(t,Na(e),!0)}function Ya(t,e,n,r){var i=Kt(),o=te(),a=fe(2);o.firstUpdatePass&&qa(o,t,a,r),e!==Di&&aa(i,a,e)&&Ga(o,o.data[Me()],i,i[11],t,i[a+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=w(Lr(t)))),t}(e,n),r,a)}function Za(t,e){return e>=t.expandoStartIndex}function qa(t,e,n,r){var i=t.data;if(null===i[n+1]){var o=i[Me()],a=Za(t,n);$a(o,r)&&null===e&&!a&&(e=!1),e=function(t,e,n,r){var i=ve(t),o=r?e.residualClasses:e.residualStyles;if(null===i)0===(r?e.classBindings:e.styleBindings)&&(n=Ha(n=Ua(null,t,e,n,r),e.attrs,r),o=null);else{var a=e.directiveStylingLast;if(-1===a||t[a]!==i)if(n=Ua(i,t,e,n,r),null===o){var s=function(t,e,n){var r=n?e.classBindings:e.styleBindings;if(0!==ji(r))return t[Fi(r)]}(t,e,r);void 0!==s&&Array.isArray(s)&&function(t,e,n,r){t[Fi(n?e.classBindings:e.styleBindings)]=r}(t,e,r,s=Ha(s=Ua(null,t,e,s[1],r),e.attrs,r))}else o=function(t,e,n){for(var r,i=e.directiveEnd,o=1+e.directiveStylingLast;o0)&&(l=!0)}else c=n;if(i)if(0!==u){var f=Fi(t[s+1]);t[r+1]=zi(f,s),0!==f&&(t[f+1]=Bi(t[f+1],r)),t[s+1]=function(t,e){return 131071&t|e<<17}(t[s+1],r)}else t[r+1]=zi(s,0),0!==s&&(t[s+1]=Bi(t[s+1],r)),s=r;else t[r+1]=zi(u,0),0===s?s=r:t[u+1]=Bi(t[u+1],r),u=r;l&&(t[r+1]=Ri(t[r+1])),Ia(t,c,r,!0),Ia(t,c,r,!1),function(t,e,n,r,i){var o=i?t.residualClasses:t.residualStyles;null!=o&&"string"==typeof e&&Sn(o,e)>=0&&(n[r+1]=Vi(n[r+1]))}(e,c,t,r,o),a=zi(s,u),o?e.classBindings=a:e.styleBindings=a}(i,o,e,n,a,r)}}function Ua(t,e,n,r,i){var o=null,a=n.directiveEnd,s=n.directiveStylingLast;for(-1===s?s=n.directiveStart:s++;s0;){var u=t[i],c=Array.isArray(u),l=c?u[1]:u,h=null===l,f=n[i+1];f===Di&&(f=h?K:void 0);var d=h?Mn(f,r):l===r?f:void 0;if(c&&!Xa(d)&&(d=Mn(u,r)),Xa(d)&&(a=d,s))return a;var p=t[i+1];i=s?Fi(p):ji(p)}if(null!==e){var v=o?e.residualClasses:e.residualStyles;null!=v&&(a=Mn(v,r))}return a}function Xa(t){return void 0!==t}function $a(t,e){return 0!=(t.flags&(e?16:32))}function Qa(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Kt(),r=te(),i=t+20,o=r.firstCreatePass?qi(r,i,1,e,null):r.data[i],a=n[i]=function(t,e){return Rt(t)?t.createText(e):t.createTextNode(e)}(n[11],e);mr(r,n,a,o),ie(o,!1)}function Wa(t){return Ka("",t,""),Wa}function Ka(t,e,n){var r=Kt(),i=function(t,e,n,r){return aa(t,he(),n)?e+E(n)+r:Di}(r,t,e,n);return i!==Di&&Eo(r,Me(),i),Ka}function ts(t,e,n,r,i){var o=Kt(),a=function(t,e,n,r,i,o){var a=sa(t,le(),n,i);return fe(2),a?e+E(n)+r+E(i)+o:Di}(o,t,e,n,r,i);return a!==Di&&Eo(o,Me(),a),ts}function es(t,e,n){var r=Kt();return aa(r,he(),e)&&ro(te(),Pe(),r,t,e,r[11],n,!0),es}function ns(t,e,n){var r=Kt();if(aa(r,he(),e)){var i=te(),o=Pe();ro(i,o,r,t,e,function(t,e,n){return(null===t||xt(t))&&(n=function(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[0]}return null}(n[e.index])),n[11]}(ve(i.data),o,r),n,!0)}return ns}var rs=void 0,is=["en",[["a","p"],["AM","PM"],rs],[["AM","PM"],rs,rs],[["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"]],rs,[["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"]],rs,[["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}",rs,"{1} 'at' {0}",rs],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}],os={};function as(t){var e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t),n=us(e);if(n)return n;var r=e.split("-")[0];if(n=us(r))return n;if("en"===r)return is;throw new Error('Missing locale data for the locale "'.concat(t,'".'))}function ss(t){return as(t)[cs.PluralCase]}function us(t){return t in os||(os[t]=Q.ng&&Q.ng.common&&Q.ng.common.locales&&Q.ng.common.locales[t]),os[t]}var cs=((cs=cs||{})[cs.LocaleId=0]="LocaleId",cs[cs.DayPeriodsFormat=1]="DayPeriodsFormat",cs[cs.DayPeriodsStandalone=2]="DayPeriodsStandalone",cs[cs.DaysFormat=3]="DaysFormat",cs[cs.DaysStandalone=4]="DaysStandalone",cs[cs.MonthsFormat=5]="MonthsFormat",cs[cs.MonthsStandalone=6]="MonthsStandalone",cs[cs.Eras=7]="Eras",cs[cs.FirstDayOfWeek=8]="FirstDayOfWeek",cs[cs.WeekendRange=9]="WeekendRange",cs[cs.DateFormat=10]="DateFormat",cs[cs.TimeFormat=11]="TimeFormat",cs[cs.DateTimeFormat=12]="DateTimeFormat",cs[cs.NumberSymbols=13]="NumberSymbols",cs[cs.NumberFormats=14]="NumberFormats",cs[cs.CurrencyCode=15]="CurrencyCode",cs[cs.CurrencySymbol=16]="CurrencySymbol",cs[cs.CurrencyName=17]="CurrencyName",cs[cs.Currencies=18]="Currencies",cs[cs.Directionality=19]="Directionality",cs[cs.PluralCase=20]="PluralCase",cs[cs.ExtraData=21]="ExtraData",cs),ls="en-US";function hs(t){(function(t,e){null==t&&function(t,e,n,r){throw new Error("ASSERTION ERROR: ".concat(t)+" [Expected=> ".concat(null," ").concat("!="," ").concat(e," <=Actual]"))}(e,t)})(t,"Expected localeId to be defined"),"string"==typeof t&&t.toLowerCase().replace(/_/g,"-")}function fs(t,e,n,r,i){if(t=M(t),Array.isArray(t))for(var o=0;o>20;if(qo(t)||!t.multi){var p=new Fe(c,i,ha),v=vs(u,e,i?h:h+d,f);-1===v?(Ke(Xe(l,s),a,u),ds(a,t,e.length),e.push(u),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),n.push(p),s.push(p)):(n[v]=p,s[v]=p)}else{var g=vs(u,e,h+d,f),m=vs(u,e,h,h+d),y=g>=0&&n[g],_=m>=0&&n[m];if(i&&!_||!i&&!y){Ke(Xe(l,s),a,u);var b=function(t,e,n,r,i){var o=new Fe(t,n,ha);return o.multi=[],o.index=e,o.componentProviders=0,ps(o,i,r&&!n),o}(i?ms:gs,n.length,i,r,c);!i&&_&&(n[m].providerFactory=b),ds(a,t,e.length,0),e.push(u),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),n.push(b),s.push(b)}else ds(a,t,g>-1?g:m,ps(n[i?m:g],c,!i&&r));!i&&r&&_&&n[m].componentProviders++}}}function ds(t,e,n,r){var i=qo(e);if(i||function(t){return!!t.useClass}(e)){var o=(e.useClass||e).prototype.ngOnDestroy;if(o){var a=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){var s=a.indexOf(n);-1===s?a.push(n,[r,o]):a[s+1].push(r,o)}else a.push(n,o)}}}function ps(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function vs(t,e,n,r){for(var i=n;i1&&void 0!==arguments[1]?arguments[1]:[];return function(n){n.providersResolver=function(n,r){return function(t,e,n){var r=te();if(r.firstCreatePass){var i=xt(t);fs(n,r.data,r.blueprint,i,!0),fs(e,r.data,r.blueprint,i,!1)}}(n,r?r(t):t,e)}}}var bs=g(function t(){y(this,t)}),ks=function(){function t(){y(this,t)}return g(t,[{key:"resolveComponentFactory",value:function(t){throw function(t){var e=Error("No component factory found for ".concat(w(t),". Did you add it to @NgModule.entryComponents?"));return e.ngComponent=t,e}(t)}}]),t}(),ws=function(){var t=g(function t(){y(this,t)});return t.NULL=new ks,t}();function Cs(){}function xs(t,e){return new Ms(Yt(t,e))}var Os=function(){return xs(ne(),Kt())},Ms=function(){var t=g(function t(e){y(this,t),this.nativeElement=e});return t.__NG_ELEMENT_ID__=Os,t}();function Ss(t){return t instanceof Ms?t.nativeElement:t}var Ps=g(function t(){y(this,t)}),Es=function(){var t=g(function t(){y(this,t)});return t.__NG_ELEMENT_ID__=function(){return As()},t}(),As=function(){var t=Kt(),e=Ut(ne().index,t);return function(t){return t[11]}(_t(e)?e:t)},Ts=function(){var t=g(function t(){y(this,t)});return t.\u0275prov=I({token:t,providedIn:"root",factory:function(){return null}}),t}(),Is=g(function t(e){y(this,t),this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}),Ds=new Is("12.2.17"),Ls=function(){function t(){y(this,t)}return g(t,[{key:"supports",value:function(t){return ra(t)}},{key:"create",value:function(t){return new zs(t)}}]),t}(),Ns=function(t,e){return e},zs=function(){function t(e){y(this,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=e||Ns}return g(t,[{key:"forEachItem",value:function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)}},{key:"forEachOperation",value:function(t){for(var e=this._itHead,n=this._removalsHead,r=0,i=null;e||n;){var o=!n||e&&e.currentIndex4&&void 0!==arguments[4]&&arguments[4];null!==n;){var o=e[n.index];if(null!==o&&r.push(Bt(o)),bt(o))for(var a=10;a-1&&(or(t,n),Cn(e,n))}this._attachedToViewContainer=!1}ar(this._lView[1],this._lView)}},{key:"onDestroy",value:function(t){eo(this._lView[1],this._lView,null,t)}},{key:"markForCheck",value:function(){bo(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){ko(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(t,e,n){ue(!0);try{ko(t,e,n)}finally{ue(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}},{key:"detachFromAppRef",value:function(){var t;this._appRef=null,wr(this._lView[1],t=this._lView,t[11],2,null,null)}},{key:"attachToAppRef",value:function(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}]),t}(),$s=function(t){a(n,t);var e=u(n);function n(t){var r;return y(this,n),(r=e.call(this,t))._view=t,r}return g(n,[{key:"detectChanges",value:function(){wo(this._view)}},{key:"checkNoChanges",value:function(){!function(t){ue(!0);try{wo(t)}finally{ue(!1)}}(this._view)}},{key:"context",get:function(){return null}}]),n}(Xs),Qs=function(t){return function(t,e,n){if(wt(t)&&!n){var r=Ut(t.index,e);return new Xs(r,r)}return 47&t.type?new Xs(e[16],e):null}(ne(),Kt(),16==(16&t))},Ws=function(){var t=g(function t(){y(this,t)});return t.__NG_ELEMENT_ID__=Qs,t}(),Ks=[new Vs],tu=new Us([new Ls]),eu=new Gs(Ks),nu=function(){return ou(ne(),Kt())},ru=function(){var t=g(function t(){y(this,t)});return t.__NG_ELEMENT_ID__=nu,t}(),iu=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this))._declarationLView=t,o._declarationTContainer=r,o.elementRef=i,o}return g(n,[{key:"createEmbeddedView",value:function(t){var e=this._declarationTContainer.tViews,n=Zi(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];var r=this._declarationLView[19];return null!==r&&(n[19]=r.createEmbeddedView(e)),Hi(e,n,t),new Xs(n)}}]),n}(ru);function ou(t,e){return 4&t.type?new iu(e,t,xs(t,e)):null}var au=g(function t(){y(this,t)}),su=g(function t(){y(this,t)}),uu=function(){return du(ne(),Kt())},cu=function(){var t=g(function t(){y(this,t)});return t.__NG_ELEMENT_ID__=uu,t}(),lu=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this))._lContainer=t,o._hostTNode=r,o._hostLView=i,o}return g(n,[{key:"element",get:function(){return xs(this._hostTNode,this._hostLView)}},{key:"injector",get:function(){return new hn(this._hostTNode,this._hostLView)}},{key:"parentInjector",get:function(){var t=We(this._hostTNode,this._hostLView);if(Ze(t)){var e=Ue(t,this._hostLView),n=qe(t);return new hn(e[1].data[n+8],e)}return new hn(null,this._hostLView)}},{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(t){var e=hu(this._lContainer);return null!==e&&e[t]||null}},{key:"length",get:function(){return this._lContainer.length-10}},{key:"createEmbeddedView",value:function(t,e,n){var r=t.createEmbeddedView(e||{});return this.insert(r,n),r}},{key:"createComponent",value:function(t,e,n,r,i){var o=n||this.parentInjector;if(!i&&null==t.ngModule&&o){var a=o.get(au,null);a&&(i=a)}var s=t.create(o,r,void 0,i);return this.insert(s.hostView,e),s}},{key:"insert",value:function(t,e){var r=t._lView,i=r[1];if(bt(r[3])){var o=this.indexOf(t);if(-1!==o)this.detach(o);else{var a=r[3],s=new n(a,a[6],a[3]);s.detach(s.indexOf(t))}}var u=this._adjustIndex(e),c=this._lContainer;!function(t,e,n,r){var i=10+r,o=n.length;r>0&&(n[i-1][4]=e),r1&&void 0!==arguments[1]?arguments[1]:0;return null==t?this.length+e:t}}]),n}(cu);function hu(t){return t[8]}function fu(t){return t[8]||(t[8]=[])}function du(t,e){var n,r=e[t.index];if(bt(r))n=r;else{var i;if(8&t.type)i=Bt(r);else{var o=e[11];i=o.createComment("");var a=Yt(t,e);cr(o,fr(o,a),i,function(t,e){return Rt(t)?t.nextSibling(e):e.nextSibling}(o,a),!1)}e[t.index]=n=vo(r,e,i,t),_o(e,n)}return new lu(n,t,e)}var pu={},vu=function(t){a(n,t);var e=u(n);function n(t){var r;return y(this,n),(r=e.call(this)).ngModule=t,r}return g(n,[{key:"resolveComponentFactory",value:function(t){var e=mt(t);return new yu(e,this.ngModule)}}]),n}(ws);function gu(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}var mu=new mn("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return mi}}),yu=function(t){a(n,t);var e=u(n);function n(t,r){var i;return y(this,n),(i=e.call(this)).componentDef=t,i.ngModule=r,i.componentType=t.type,i.selector=t.selectors.map(Ii).join(","),i.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],i.isBoundToModule=!!r,i}return g(n,[{key:"inputs",get:function(){return gu(this.componentDef.inputs)}},{key:"outputs",get:function(){return gu(this.componentDef.outputs)}},{key:"create",value:function(t,e,n,r){var i,o,a=(r=r||this.ngModule)?function(t,e){return{get:function(n,r,i){var o=t.get(n,pu,i);return o!==pu||r===pu?o:e.get(n,r,i)}}}(t,r.injector):t,s=a.get(Ps,jt),u=a.get(Ts,null),c=s.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",h=n?function(t,e,n){if(Rt(t))return t.selectRootElement(e,n===G.ShadowDom);var r="string"==typeof e?t.querySelector(e):e;return r.textContent="",r}(c,n,this.componentDef.encapsulation):rr(s.createRenderer(null,this.componentDef),l,function(t){var e=t.toLowerCase();return"svg"===e?Nt:"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),f=this.componentDef.onPush?576:528,d={components:[],scheduler:mi,clean:xo,playerHandler:null,flags:0},p=to(0,null,null,1,0,null,null,null,null,null),v=Zi(null,p,d,f,null,null,s,c,u,a);be(v);try{var g=function(t,e,n,r,i,o){var a=n[1];n[20]=t;var s=qi(a,20,2,"#host",null),u=s.mergedAttrs=e.hostAttrs;null!==u&&(Ao(s,u,!0),null!==t&&(Re(i,t,u),null!==s.classes&&Or(i,t,s.classes),null!==s.styles&&xr(i,t,s.styles)));var c=r.createRenderer(t,e),l=Zi(n,Ki(e),null,e.onPush?64:16,n[20],s,r,c,null,null);return a.firstCreatePass&&(Ke(Xe(s,n),a,e.type),so(a,s),co(s,n.length,1)),_o(n,l),n[20]=l}(h,this.componentDef,v,s,c);if(h)if(n)Re(c,h,["ng-version",Ds.full]);else{var m=function(t){for(var e=[],n=[],r=1,i=2;r0&&Or(c,h,_.join(" "))}if(o=Zt(p,20),void 0!==e)for(var b=o.projection=[],k=0;k1&&void 0!==arguments[1]?arguments[1]:Go.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Y.Default;return t===Go||t===au||t===Io?this:this._r3Injector.get(t,e,n)}},{key:"destroy",value:function(){var t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(function(t){return t()}),this.destroyCbs=null}},{key:"onDestroy",value:function(t){this.destroyCbs.push(t)}}]),n}(au),wu=function(t){a(n,t);var e=u(n);function n(t){var r;return y(this,n),(r=e.call(this)).moduleType=t,null!==yt(t)&&function(t){var e=new Set;!function t(n){var r=yt(n,!0),i=r.id;null!==i&&(function(t,e,n){if(e&&e!==n)throw new Error("Duplicate module registered for ".concat(t," - ").concat(w(e)," vs ").concat(w(e.name)))}(i,bu.get(i),n),bu.set(i,n));var o,a=_(bi(r.imports));try{for(a.s();!(o=a.n()).done;){var s=o.value;e.has(s)||(e.add(s),t(s))}}catch(u){a.e(u)}finally{a.f()}}(t)}(t),r}return g(n,[{key:"create",value:function(t){return new ku(this.moduleType,t)}}]),n}(su);function Cu(t,e,n){var r=ce()+t,i=Kt();return i[r]===Di?oa(i,r,n?e.call(n):e()):function(t,e){return t[e]}(i,r)}function xu(t,e,n,r){return Su(Kt(),ce(),t,e,n,r)}function Ou(t,e,n,r,i){return Pu(Kt(),ce(),t,e,n,r,i)}function Mu(t,e){var n=t[e];return n===Di?void 0:n}function Su(t,e,n,r,i,o){var a=e+n;return aa(t,a,i)?oa(t,a+1,o?r.call(o,i):r(i)):Mu(t,a+1)}function Pu(t,e,n,r,i,o,a){var s=e+n;return sa(t,s,i,o)?oa(t,s+2,a?r.call(a,i,o):r(i,o)):Mu(t,s+2)}function Eu(t,e){var n,r=te(),i=t+20;r.firstCreatePass?(n=function(t,e){if(e)for(var n=e.length-1;n>=0;n--){var r=e[n];if(t===r.name)return r}throw new P("302","The pipe '".concat(t,"' could not be found!"))}(e,r.pipeRegistry),r.data[i]=n,n.onDestroy&&(r.destroyHooks||(r.destroyHooks=[])).push(i,n.onDestroy)):n=r.data[i];var o=n.factory||(n.factory=Mt(n.type)),a=Z(ha);try{var s=Ge(!1),u=o();return Ge(s),function(t,e,n,r){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=r}(r,Kt(),i,u),u}finally{Z(a)}}function Au(t,e,n){var r=t+20,i=Kt(),o=qt(i,r);return Lu(i,Du(i,r)?Su(i,ce(),e,o.transform,n,o):o.transform(n))}function Tu(t,e,n,r){var i=t+20,o=Kt(),a=qt(o,i);return Lu(o,Du(o,i)?Pu(o,ce(),e,a.transform,n,r,a):a.transform(n,r))}function Iu(t,e,n,r,i){var o=t+20,a=Kt(),s=qt(a,o);return Lu(a,Du(a,o)?function(t,e,n,r,i,o,a,s){var u=e+n;return function(t,e,n,r,i){var o=sa(t,e,n,r);return aa(t,e+2,i)||o}(t,u,i,o,a)?oa(t,u+3,s?r.call(s,i,o,a):r(i,o,a)):Mu(t,u+3)}(a,ce(),e,s.transform,n,r,i,s):s.transform(n,r,i))}function Du(t,e){return t[1].data[e].pure}function Lu(t,e){return na.isWrapped(e)&&(e=na.unwrap(e),t[le()]=Di),e}function Nu(t){return function(e){setTimeout(t,void 0,e)}}var zu=function(t){a(n,t);var e=u(n);function n(){var t,r=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return y(this,n),(t=e.call(this)).__isAsync=r,t}return g(n,[{key:"emit",value:function(t){i(f(n.prototype),"next",this).call(this,t)}},{key:"subscribe",value:function(t,e,r){var o,a,s,u=t,l=e||function(){return null},h=r;if(t&&"object"==typeof t){var d=t;u=null===(o=d.next)||void 0===o?void 0:o.bind(d),l=null===(a=d.error)||void 0===a?void 0:a.bind(d),h=null===(s=d.complete)||void 0===s?void 0:s.bind(d)}this.__isAsync&&(l=Nu(l),u&&(u=Nu(u)),h&&(h=Nu(h)));var p=i(f(n.prototype),"subscribe",this).call(this,{next:u,error:l,complete:h});return t instanceof c.w&&t.add(p),p}}]),n}(s.xQ);function Fu(){return this._results[ea()]()}var Ru=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];y(this,t),this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;var n=ea(),r=t.prototype;r[n]||(r[n]=Fu)}return g(t,[{key:"changes",get:function(){return this._changes||(this._changes=new zu)}},{key:"get",value:function(t){return this._results[t]}},{key:"map",value:function(t){return this._results.map(t)}},{key:"filter",value:function(t){return this._results.filter(t)}},{key:"find",value:function(t){return this._results.find(t)}},{key:"reduce",value:function(t,e){return this._results.reduce(t,e)}},{key:"forEach",value:function(t){this._results.forEach(t)}},{key:"some",value:function(t){return this._results.some(t)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(t,e){var n=this;n.dirty=!1;var r=bn(t);(this._changesDetected=!function(t,e,n){if(t.length!==e.length)return!1;for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:[];y(this,t),this.queries=e}return g(t,[{key:"createEmbeddedView",value:function(e){var n=e.queries;if(null!==n){for(var r=null!==e.contentQueries?e.contentQueries[0]:n.length,i=[],o=0;o2&&void 0!==arguments[2]?arguments[2]:null;y(this,t),this.predicate=e,this.flags=n,this.read=r}),Yu=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];y(this,t),this.queries=e}return g(t,[{key:"elementStart",value:function(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:-1;y(this,t),this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}return g(t,[{key:"elementStart",value:function(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}},{key:"elementEnd",value:function(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(t,e){this.elementStart(t,e)}},{key:"embeddedTView",value:function(e,n){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,n),new t(this.metadata)):null}},{key:"isApplyingToNode",value:function(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){for(var e=this._declarationNodeIndex,n=t.parent;null!==n&&8&n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(t,e){var n=this.metadata.predicate;if(Array.isArray(n))for(var r=0;r0)r.push(a[s/2]);else{for(var c=o[s+1],l=e[-u],h=10;h0&&(i=setTimeout(function(){r._callbacks=r._callbacks.filter(function(t){return t.timeoutId!==i}),t(r._didWork,r.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:n})}},{key:"whenStable",value:function(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/plugins/task-tracking" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(t,e,n){return[]}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Fn(Cc))},t.\u0275prov=I({token:t,factory:t.\u0275fac}),t}(),Tc=function(){var t=function(){function t(){y(this,t),this._applications=new Map,Lc.addToWindow(this)}return g(t,[{key:"registerApplication",value:function(t,e){this._applications.set(t,e)}},{key:"unregisterApplication",value:function(t){this._applications.delete(t)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(t){return this._applications.get(t)||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(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Lc.findTestabilityInTree(this,t,e)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=I({token:t,factory:t.\u0275fac}),t}();function Ic(t){Lc=t}var Dc,Lc=new(function(){function t(){y(this,t)}return g(t,[{key:"addToWindow",value:function(t){}},{key:"findTestabilityInTree",value:function(t,e,n){return null}}]),t}());function Nc(){return!0,!0}var zc=new mn("AllowMultipleToken"),Fc=g(function t(e,n){y(this,t),this.name=e,this.token=n});function Rc(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r="Platform: ".concat(e),i=new mn(r);return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=jc();if(!o||o.injector.get(zc,!1))if(t)t(n.concat(e).concat({provide:i,useValue:!0}));else{var a=n.concat(e).concat({provide:i,useValue:!0},{provide:Lo,useValue:"platform"});!function(t){if(Dc&&!Dc.destroyed&&!Dc.injector.get(zc,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Dc=t.get(Bc);var e=t.get(sc,null);e&&e.forEach(function(t){return t()})}(Go.create({providers:a,name:r}))}return function(t){var e=jc();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}(i)}}function jc(){return Dc&&!Dc.destroyed?Dc:null}var Bc=function(){var t=function(){function t(e){y(this,t),this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return g(t,[{key:"bootstrapModuleFactory",value:function(t,e){var n=this,r=function(t,e){return"noop"===t?new Ec:("zone.js"===t?void 0:t)||new Cc({enableLongStackTrace:Nc(),shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)})}(e?e.ngZone:void 0,{ngZoneEventCoalescing:e&&e.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:e&&e.ngZoneRunCoalescing||!1}),i=[{provide:Cc,useValue:r}];return r.run(function(){var o=Go.create({providers:i,parent:n.injector,name:t.moduleType.name}),a=t.create(o),s=a.injector.get(gi,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return r.runOutsideAngular(function(){var t=r.onError.subscribe({next:function(t){s.handleError(t)}});a.onDestroy(function(){Zc(n._modules,a),t.unsubscribe()})}),function(t,r,i){try{var o=((s=a.injector.get(rc)).runInitializers(),s.donePromise.then(function(){return hs(a.injector.get(hc,ls)||ls),n._moduleDoBootstrap(a),a}));return wa(o)?o.catch(function(e){throw r.runOutsideAngular(function(){return t.handleError(e)}),e}):o}catch(e){throw r.runOutsideAngular(function(){return t.handleError(e)}),e}var s}(s,r)})}},{key:"bootstrapModule",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Vc({},n);return function(t,e,n){var r=new wu(n);return Promise.resolve(r)}(0,0,t).then(function(t){return e.bootstrapModuleFactory(t,r)})}},{key:"_moduleDoBootstrap",value:function(t){var e=t.injector.get(Yc);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module ".concat(w(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)}},{key:"onDestroy",value:function(t){this._destroyListeners.push(t)}},{key:"injector",get:function(){return this._injector}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(t){return t.destroy()}),this._destroyListeners.forEach(function(t){return t()}),this._destroyed=!0}},{key:"destroyed",get:function(){return this._destroyed}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Fn(Go))},t.\u0275prov=I({token:t,factory:t.\u0275fac}),t}();function Vc(t,e){return Array.isArray(e)?e.reduce(Vc,t):Object.assign(Object.assign({},t),e)}var Yc=function(){var t=function(){function t(e,n,r,i,o){var a=this;y(this,t),this._zone=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:function(){a._zone.run(function(){a.tick()})}});var s=new h.y(function(t){a._stable=a._zone.isStable&&!a._zone.hasPendingMacrotasks&&!a._zone.hasPendingMicrotasks,a._zone.runOutsideAngular(function(){t.next(a._stable),t.complete()})}),u=new h.y(function(t){var e;a._zone.runOutsideAngular(function(){e=a._zone.onStable.subscribe(function(){Cc.assertNotInAngularZone(),wc(function(){!a._stable&&!a._zone.hasPendingMacrotasks&&!a._zone.hasPendingMicrotasks&&(a._stable=!0,t.next(!0))})})});var n=a._zone.onUnstable.subscribe(function(){Cc.assertInAngularZone(),a._stable&&(a._stable=!1,a._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});this.isStable=(0,v.T)(s,u.pipe((0,m.B)()))}return g(t,[{key:"bootstrap",value:function(t,e){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=t instanceof bs?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var i=function(t){return t.isBoundToModule}(n)?void 0:this._injector.get(au),o=n.create(Go.NULL,[],e||n.selector,i),a=o.location.nativeElement,s=o.injector.get(Ac,null),u=s&&o.injector.get(Tc);return s&&u&&u.registerApplication(a,s),o.onDestroy(function(){r.detachView(o.hostView),Zc(r.components,o),u&&u.unregisterApplication(a)}),this._loadComponent(o),o}},{key:"tick",value:function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var e,n=_(this._views);try{for(n.s();!(e=n.n()).done;){var r;e.value.detectChanges()}}catch(i){n.e(i)}finally{n.f()}}catch(r){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(r)})}finally{this._runningTick=!1}}},{key:"attachView",value:function(t){var e=t;this._views.push(e),e.attachToAppRef(this)}},{key:"detachView",value:function(t){var e=t;Zc(this._views,e),e.detachFromAppRef()}},{key:"_loadComponent",value:function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(cc,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach(function(t){return t.destroy()}),this._onMicrotaskEmptySubscription.unsubscribe()}},{key:"viewCount",get:function(){return this._views.length}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Fn(Cc),Fn(Go),Fn(gi),Fn(ws),Fn(rc))},t.\u0275prov=I({token:t,factory:t.\u0275fac}),t}();function Zc(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var qc=g(function t(){y(this,t)}),Uc=g(function t(){y(this,t)}),Hc={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Gc=function(){var t=function(){function t(e,n){y(this,t),this._compiler=e,this._config=n||Hc}return g(t,[{key:"load",value:function(t){return this.loadAndCompile(t)}},{key:"loadAndCompile",value:function(t){var e=this,n=p(t.split("#"),2),r=n[0],i=n[1];return void 0===i&&(i="default"),o(69153)(r).then(function(t){return t[i]}).then(function(t){return Jc(t,r,i)}).then(function(t){return e._compiler.compileModuleAsync(t)})}},{key:"loadFactory",value:function(t){var e=p(t.split("#"),2),n=e[0],r=e[1],i="NgFactory";return void 0===r&&(r="default",i=""),o(69153)(this._config.factoryPathPrefix+n+this._config.factoryPathSuffix).then(function(t){return t[r+i]}).then(function(t){return Jc(t,n,r)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Fn(bc),Fn(Uc,8))},t.\u0275prov=I({token:t,factory:t.\u0275fac}),t}();function Jc(t,e,n){if(!t)throw new Error("Cannot find '".concat(n,"' in '").concat(e,"'"));return t}var Xc=function(t){return null},$c=Rc(null,"core",[{provide:uc,useValue:"unknown"},{provide:Bc,deps:[Go]},{provide:Tc,deps:[]},{provide:lc,deps:[]}]),Qc=[{provide:Yc,useClass:Yc,deps:[Cc,Go,gi,ws,rc]},{provide:mu,deps:[Cc],useFactory:function(t){var e=[];return t.onStable.subscribe(function(){for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:rc,useClass:rc,deps:[[new qn,nc]]},{provide:bc,useClass:bc,deps:[]},oc,{provide:Us,useFactory:function(){return tu},deps:[]},{provide:Gs,useFactory:function(){return eu},deps:[]},{provide:hc,useFactory:function(t){return hs(t=t||"undefined"!=typeof $localize&&$localize.locale||ls),t},deps:[[new Zn(hc),new qn,new Hn]]},{provide:fc,useValue:"USD"}],Wc=function(){var t=g(function t(e){y(this,t)});return t.\u0275fac=function(e){return new(e||t)(Fn(Yc))},t.\u0275mod=ft({type:t}),t.\u0275inj=D({providers:Qc}),t}()},87862:function(t,e,n){"use strict";n.d(e,{gN:function(){return V},Fj:function(){return C},NI:function(){return ft},oH:function(){return wt},u:function(){return Mt},cw:function(){return dt},sg:function(){return xt},u5:function(){return Pt},JU:function(){return b},a5:function(){return Y},JJ:function(){return q},JL:function(){return U},On:function(){return mt},UX:function(){return Et},_Y:function(){return yt}});var r=n(74788),i=n(12057),o=n(29856),s=n(59796),c=n(88002),l=n(81555),h=n(97968);function f(t,e){return new o.y(function(n){var r=t.length;if(0!==r)for(var i=new Array(r),o=0,a=0,s=function(s){var u=(0,h.D)(t[s]),c=!1;n.add(u.subscribe({next:function(t){c||(c=!0,a++),i[s]=t},error:function(t){return n.error(t)},complete:function(){(++o===r||!c)&&(a===r&&n.next(e?e.reduce(function(t,e,n){return t[e]=i[n],t},{}):i),n.complete())}}))},u=0;u0){var i=r.filter(function(t){return t!==e.validator});i.length!==r.length&&(n=!0,t.setValidators(i))}}if(null!==e.asyncValidator){var o=N(t);if(Array.isArray(o)&&o.length>0){var a=o.filter(function(t){return t!==e.asyncValidator});a.length!==o.length&&(n=!0,t.setAsyncValidators(a))}}}var s=function(){};return X(e._rawValidators,s),X(e._rawAsyncValidators,s),n}function W(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function K(t,e){if(!t.hasOwnProperty("model"))return!1;var n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}function tt(t,e){return e?(Array.isArray(e),e.forEach(function(t){t.constructor===C?n=t:function(t){return Object.getPrototypeOf(t.constructor)===m}(t)?r=t:i=t}),i||r||n||null):null;var n,r,i}function et(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var nt="VALID",rt="INVALID",it="PENDING",ot="DISABLED";function at(t){return(lt(t)?t.validators:t)||null}function st(t){return Array.isArray(t)?T(t):t||null}function ut(t,e){return(lt(e)?e.asyncValidators:t)||null}function ct(t){return Array.isArray(t)?I(t):t||null}function lt(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}var ht=function(){function t(e,n){y(this,t),this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=function(){},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=e,this._rawAsyncValidators=n,this._composedValidatorFn=st(this._rawValidators),this._composedAsyncValidatorFn=ct(this._rawAsyncValidators)}return g(t,[{key:"validator",get:function(){return this._composedValidatorFn},set:function(t){this._rawValidators=this._composedValidatorFn=t}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn},set:function(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}},{key:"parent",get:function(){return this._parent}},{key:"valid",get:function(){return this.status===nt}},{key:"invalid",get:function(){return this.status===rt}},{key:"pending",get:function(){return this.status==it}},{key:"disabled",get:function(){return this.status===ot}},{key:"enabled",get:function(){return this.status!==ot}},{key:"dirty",get:function(){return!this.pristine}},{key:"untouched",get:function(){return!this.touched}},{key:"updateOn",get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}},{key:"setValidators",value:function(t){this._rawValidators=t,this._composedValidatorFn=st(t)}},{key:"setAsyncValidators",value:function(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=ct(t)}},{key:"addValidators",value:function(t){this.setValidators(R(t,this._rawValidators))}},{key:"addAsyncValidators",value:function(t){this.setAsyncValidators(R(t,this._rawAsyncValidators))}},{key:"removeValidators",value:function(t){this.setValidators(j(t,this._rawValidators))}},{key:"removeAsyncValidators",value:function(t){this.setAsyncValidators(j(t,this._rawAsyncValidators))}},{key:"hasValidator",value:function(t){return F(this._rawValidators,t)}},{key:"hasAsyncValidator",value:function(t){return F(this._rawAsyncValidators,t)}},{key:"clearValidators",value:function(){this.validator=null}},{key:"clearAsyncValidators",value:function(){this.asyncValidator=null}},{key:"markAsTouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}},{key:"markAllAsTouched",value:function(){this.markAsTouched({onlySelf:!0}),this._forEachChild(function(t){return t.markAllAsTouched()})}},{key:"markAsUntouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(t){t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}},{key:"markAsDirty",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}},{key:"markAsPristine",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(t){t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}},{key:"markAsPending",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.status=it,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}},{key:"disable",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this._parentMarkedDirty(t.onlySelf);this.status=ot,this.errors=null,this._forEachChild(function(e){e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(function(t){return t(!0)})}},{key:"enable",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this._parentMarkedDirty(t.onlySelf);this.status=nt,this._forEachChild(function(e){e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(function(t){return t(!1)})}},{key:"_updateAncestors",value:function(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}},{key:"setParent",value:function(t){this._parent=t}},{key:"updateValueAndValidity",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===nt||this.status===it)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}},{key:"_updateTreeValidity",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!0};this._forEachChild(function(e){return e._updateTreeValidity(t)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}},{key:"_setInitialStatus",value:function(){this.status=this._allControlsDisabled()?ot:nt}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(t){var e=this;if(this.asyncValidator){this.status=it,this._hasOwnPendingAsyncValidator=!0;var n=S(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(function(n){e._hasOwnPendingAsyncValidator=!1,e.setErrors(n,{emitEvent:t})})}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}},{key:"setErrors",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}},{key:"get",value:function(t){return function(t,e,n){if(null==e||(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length))return null;var r=t;return e.forEach(function(t){r=r instanceof dt?r.controls.hasOwnProperty(t)?r.controls[t]:null:r instanceof pt&&r.at(t)||null}),r}(this,t)}},{key:"getError",value:function(t,e){var n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}},{key:"hasError",value:function(t,e){return!!this.getError(t,e)}},{key:"root",get:function(){for(var t=this;t._parent;)t=t._parent;return t}},{key:"_updateControlsErrors",value:function(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}},{key:"_initObservables",value:function(){this.valueChanges=new r.vpe,this.statusChanges=new r.vpe}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?ot:this.errors?rt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(it)?it:this._anyControlsHaveStatus(rt)?rt:nt}},{key:"_anyControlsHaveStatus",value:function(t){return this._anyControls(function(e){return e.status===t})}},{key:"_anyControlsDirty",value:function(){return this._anyControls(function(t){return t.dirty})}},{key:"_anyControlsTouched",value:function(){return this._anyControls(function(t){return t.touched})}},{key:"_updatePristine",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}},{key:"_updateTouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}},{key:"_isBoxedValue",value:function(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}},{key:"_registerOnCollectionChange",value:function(t){this._onCollectionChange=t}},{key:"_setUpdateStrategy",value:function(t){lt(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}},{key:"_parentMarkedDirty",value:function(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}]),t}(),ft=function(t){a(n,t);var e=u(n);function n(){var t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0;return y(this,n),(t=e.call(this,at(i),ut(o,i)))._onChange=[],t._applyFormState(r),t._setUpdateStrategy(i),t._initObservables(),t.updateValueAndValidity({onlySelf:!0,emitEvent:!!t.asyncValidator}),t}return g(n,[{key:"setValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(function(t){return t(e.value,!1!==n.emitViewToModelChange)}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(t,e)}},{key:"reset",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(t){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(t){this._onChange.push(t)}},{key:"_unregisterOnChange",value:function(t){et(this._onChange,t)}},{key:"registerOnDisabledChange",value:function(t){this._onDisabledChange.push(t)}},{key:"_unregisterOnDisabledChange",value:function(t){et(this._onDisabledChange,t)}},{key:"_forEachChild",value:function(t){}},{key:"_syncPendingControls",value:function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}},{key:"_applyFormState",value:function(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}]),n}(ht),dt=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,at(r),ut(i,r))).controls=t,o._initObservables(),o._setUpdateStrategy(r),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!!o.asyncValidator}),o}return g(n,[{key:"registerControl",value:function(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}},{key:"addControl",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}},{key:"removeControl",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}},{key:"setControl",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}},{key:"contains",value:function(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}},{key:"setValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(t),Object.keys(t).forEach(function(r){e._throwIfControlMissing(r),e.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=t&&(Object.keys(t).forEach(function(r){e.controls[r]&&e.controls[r].patchValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}},{key:"reset",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}},{key:"getRawValue",value:function(){return this._reduceChildren({},function(t,e,n){return t[n]=e instanceof ft?e.value:e.getRawValue(),t})}},{key:"_syncPendingControls",value:function(){var t=this._reduceChildren(!1,function(t,e){return!!e._syncPendingControls()||t});return t&&this.updateValueAndValidity({onlySelf:!0}),t}},{key:"_throwIfControlMissing",value:function(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error("Cannot find form control with name: ".concat(t,"."))}},{key:"_forEachChild",value:function(t){var e=this;Object.keys(this.controls).forEach(function(n){var r=e.controls[n];r&&t(r,n)})}},{key:"_setUpControls",value:function(){var t=this;this._forEachChild(function(e){e.setParent(t),e._registerOnCollectionChange(t._onCollectionChange)})}},{key:"_updateValue",value:function(){this.value=this._reduceValue()}},{key:"_anyControls",value:function(t){for(var e=0,n=Object.keys(this.controls);e0||this.disabled}},{key:"_checkAllValuesPresent",value:function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control with name: '".concat(n,"'."))})}}]),n}(ht),pt=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,at(r),ut(i,r))).controls=t,o._initObservables(),o._setUpdateStrategy(r),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!!o.asyncValidator}),o}return g(n,[{key:"at",value:function(t){return this.controls[t]}},{key:"push",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}},{key:"insert",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent})}},{key:"removeAt",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}},{key:"setControl",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}},{key:"length",get:function(){return this.controls.length}},{key:"setValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(t),t.forEach(function(t,r){e._throwIfControlMissing(r),e.at(r).setValue(t,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=t&&(t.forEach(function(t,r){e.at(r)&&e.at(r).patchValue(t,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}},{key:"reset",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}},{key:"getRawValue",value:function(){return this.controls.map(function(t){return t instanceof ft?t.value:t.getRawValue()})}},{key:"clear",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.controls.length<1||(this._forEachChild(function(t){return t._registerOnCollectionChange(function(){})}),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}},{key:"_syncPendingControls",value:function(){var t=this.controls.reduce(function(t,e){return!!e._syncPendingControls()||t},!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}},{key:"_throwIfControlMissing",value:function(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error("Cannot find form control at index ".concat(t))}},{key:"_forEachChild",value:function(t){this.controls.forEach(function(e,n){t(e,n)})}},{key:"_updateValue",value:function(){var t=this;this.value=this.controls.filter(function(e){return e.enabled||t.disabled}).map(function(t){return t.value})}},{key:"_anyControls",value:function(t){return this.controls.some(function(e){return e.enabled&&t(e)})}},{key:"_setUpControls",value:function(){var t=this;this._forEachChild(function(e){return t._registerControl(e)})}},{key:"_checkAllValuesPresent",value:function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control at index: ".concat(n,"."))})}},{key:"_allControlsDisabled",value:function(){var t,e=_(this.controls);try{for(e.s();!(t=e.n()).done;){if(t.value.enabled)return!1}}catch(n){e.e(n)}finally{e.f()}return this.controls.length>0||this.disabled}},{key:"_registerControl",value:function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}]),n}(ht),vt={provide:Y,useExisting:(0,r.Gpc)(function(){return mt})},gt=Promise.resolve(null),mt=function(){var t=function(t){a(n,t);var e=u(n);function n(t,i,o,a){var s;return y(this,n),(s=e.call(this)).control=new ft,s._registered=!1,s.update=new r.vpe,s._parent=t,s._setValidators(i),s._setAsyncValidators(o),s.valueAccessor=tt(0,a),s}return g(n,[{key:"ngOnChanges",value:function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),K(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"path",get:function(){return this._parent?H(this.name,this._parent):[this.name]}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"viewToModelUpdate",value:function(t){this.viewModel=t,this.update.emit(t)}},{key:"_setUpControl",value:function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}},{key:"_isStandalone",value:function(){return!this._parent||!(!this.options||!this.options.standalone)}},{key:"_setUpStandalone",value:function(){G(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}},{key:"_checkForErrors",value:function(){this._isStandalone()||this._checkParentType(),this._checkName()}},{key:"_checkParentType",value:function(){}},{key:"_checkName",value:function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}},{key:"_updateValue",value:function(t){var e=this;gt.then(function(){e.control.setValue(t,{emitViewToModelChange:!1})})}},{key:"_updateDisabled",value:function(t){var e=this,n=t.isDisabled.currentValue,r=""===n||n&&"false"!==n;gt.then(function(){r&&!e.control.disabled?e.control.disable():!r&&e.control.disabled&&e.control.enable()})}}]),n}(Y);return t.\u0275fac=function(e){return new(e||t)(r.Y36(V,9),r.Y36(x,10),r.Y36(O,10),r.Y36(b,10))},t.\u0275dir=r.lG2({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[r._Bn([vt]),r.qOj,r.TTD]}),t}(),yt=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t}(),_t=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t}(),bt=new r.OlP("NgModelWithFormControlWarning"),kt={provide:Y,useExisting:(0,r.Gpc)(function(){return wt})},wt=function(){var t=function(t){a(n,t);var e=u(n);function n(t,i,o,a){var s;return y(this,n),(s=e.call(this))._ngModelWarningConfig=a,s.update=new r.vpe,s._ngModelWarningSent=!1,s._setValidators(t),s._setAsyncValidators(i),s.valueAccessor=tt(0,o),s}return g(n,[{key:"isDisabled",set:function(t){}},{key:"ngOnChanges",value:function(t){if(this._isControlChanged(t)){var e=t.form.previousValue;e&&J(e,this,!1),G(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}K(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.form&&J(this.form,this,!1)}},{key:"path",get:function(){return[]}},{key:"control",get:function(){return this.form}},{key:"viewToModelUpdate",value:function(t){this.viewModel=t,this.update.emit(t)}},{key:"_isControlChanged",value:function(t){return t.hasOwnProperty("form")}}]),n}(Y);return t.\u0275fac=function(e){return new(e||t)(r.Y36(x,10),r.Y36(O,10),r.Y36(b,10),r.Y36(bt,8))},t.\u0275dir=r.lG2({type:t,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[r._Bn([kt]),r.qOj,r.TTD]}),t._ngModelWarningSentOnce=!1,t}(),Ct={provide:V,useExisting:(0,r.Gpc)(function(){return xt})},xt=function(){var t=function(t){a(n,t);var e=u(n);function n(t,i){var o;return y(this,n),(o=e.call(this)).validators=t,o.asyncValidators=i,o.submitted=!1,o._onCollectionChange=function(){return o._updateDomValue()},o.directives=[],o.form=null,o.ngSubmit=new r.vpe,o._setValidators(t),o._setAsyncValidators(i),o}return g(n,[{key:"ngOnChanges",value:function(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}},{key:"ngOnDestroy",value:function(){this.form&&(Q(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(function(){}))}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"addControl",value:function(t){var e=this.form.get(t.path);return G(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}},{key:"getControl",value:function(t){return this.form.get(t.path)}},{key:"removeControl",value:function(t){J(t.control||null,t,!1),et(this.directives,t)}},{key:"addFormGroup",value:function(t){this._setUpFormContainer(t)}},{key:"removeFormGroup",value:function(t){this._cleanUpFormContainer(t)}},{key:"getFormGroup",value:function(t){return this.form.get(t.path)}},{key:"addFormArray",value:function(t){this._setUpFormContainer(t)}},{key:"removeFormArray",value:function(t){this._cleanUpFormContainer(t)}},{key:"getFormArray",value:function(t){return this.form.get(t.path)}},{key:"updateModel",value:function(t,e){this.form.get(t.path).setValue(e)}},{key:"onSubmit",value:function(t){return this.submitted=!0,function(t,e){t._syncPendingControls(),e.forEach(function(t){var e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(t),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(t){this.form.reset(t),this.submitted=!1}},{key:"_updateDomValue",value:function(){var t=this;this.directives.forEach(function(e){var n=e.control,r=t.form.get(e.path);n!==r&&(J(n||null,e),r instanceof ft&&(G(r,e),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}},{key:"_setUpFormContainer",value:function(t){var e=this.form.get(t.path);(function(t,e){$(t,e)})(e,t),e.updateValueAndValidity({emitEvent:!1})}},{key:"_cleanUpFormContainer",value:function(t){if(this.form){var e=this.form.get(t.path);e&&function(t,e){return Q(t,e)}(e,t)&&e.updateValueAndValidity({emitEvent:!1})}}},{key:"_updateRegistrations",value:function(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){})}},{key:"_updateValidators",value:function(){$(this.form,this),this._oldForm&&Q(this._oldForm,this)}},{key:"_checkFormPresent",value:function(){}}]),n}(V);return t.\u0275fac=function(e){return new(e||t)(r.Y36(x,10),r.Y36(O,10))},t.\u0275dir=r.lG2({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&r.NdJ("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r._Bn([Ct]),r.qOj,r.TTD]}),t}(),Ot={provide:Y,useExisting:(0,r.Gpc)(function(){return Mt})},Mt=function(){var t=function(t){a(n,t);var e=u(n);function n(t,i,o,a,s){var u;return y(this,n),(u=e.call(this))._ngModelWarningConfig=s,u._added=!1,u.update=new r.vpe,u._ngModelWarningSent=!1,u._parent=t,u._setValidators(i),u._setAsyncValidators(o),u.valueAccessor=tt(0,a),u}return g(n,[{key:"isDisabled",set:function(t){}},{key:"ngOnChanges",value:function(t){this._added||this._setUpControl(),K(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"viewToModelUpdate",value:function(t){this.viewModel=t,this.update.emit(t)}},{key:"path",get:function(){return H(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"_checkParentType",value:function(){}},{key:"_setUpControl",value:function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}]),n}(Y);return t.\u0275fac=function(e){return new(e||t)(r.Y36(V,13),r.Y36(x,10),r.Y36(O,10),r.Y36(b,10),r.Y36(bt,8))},t.\u0275dir=r.lG2({type:t,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[r._Bn([Ot]),r.qOj,r.TTD]}),t._ngModelWarningSentOnce=!1,t}(),St=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[_t]]}),t}(),Pt=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[St]}),t}(),Et=function(){var t=function(){function t(){y(this,t)}return g(t,null,[{key:"withConfig",value:function(e){return{ngModule:t,providers:[{provide:bt,useValue:e.warnOnNgModelWithFormControl}]}}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[St]}),t}()},91211:function(t,e,n){"use strict";n.d(e,{b2:function(){return q},H7:function(){return B},s3:function(){return b},Dx:function(){return H},q6:function(){return Y},se:function(){return A}});var r,o,s=n(12057),c=n(74788),l=function(t){a(n,t);var e=u(n);function n(){var t;return y(this,n),(t=e.apply(this,arguments)).supportsDOMEvents=!0,t}return g(n)}(s.w_),h=function(t){a(n,t);var e=u(n);function n(){return y(this,n),e.apply(this,arguments)}return g(n,[{key:"onAndCancel",value:function(t,e,n){return t.addEventListener(e,n,!1),function(){t.removeEventListener(e,n,!1)}}},{key:"dispatchEvent",value:function(t,e){t.dispatchEvent(e)}},{key:"remove",value:function(t){t.parentNode&&t.parentNode.removeChild(t)}},{key:"createElement",value:function(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(t){return t.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(t){return t instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}},{key:"getBaseHref",value:function(t){var e=(d=d||document.querySelector("base"))?d.getAttribute("href"):null;return null==e?null:function(t){(r=r||document.createElement("a")).setAttribute("href",t);var e=r.pathname;return"/"===e.charAt(0)?e:"/".concat(e)}(e)}},{key:"resetBaseElement",value:function(){d=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"getCookie",value:function(t){return(0,s.Mx)(document.cookie,t)}}],[{key:"makeCurrent",value:function(){(0,s.HT)(new n)}}]),n}(l),d=null,p=new c.OlP("TRANSITION_ID"),v=[{provide:c.ip1,useFactory:function(t,e,n){return function(){n.get(c.CZH).donePromise.then(function(){for(var n=(0,s.q)(),r=e.querySelectorAll('style[ng-transition="'.concat(t,'"]')),i=0;i1&&void 0!==arguments[1])||arguments[1],r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},c.dqk.getAllAngularTestabilities=function(){return t.getAllTestabilities()},c.dqk.getAllAngularRootElements=function(){return t.getAllRootElements()},c.dqk.frameworkStabilizers||(c.dqk.frameworkStabilizers=[]),c.dqk.frameworkStabilizers.push(function(t){var e=c.dqk.getAllAngularTestabilities(),n=e.length,r=!1,i=function(e){r=r||e,0==--n&&t(r)};e.forEach(function(t){t.whenStable(i)})})}},{key:"findTestabilityInTree",value:function(t,e,n){if(null==e)return null;var r=t.getTestability(e);return null!=r?r:n?(0,s.q)().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}],[{key:"init",value:function(){(0,c.VLi)(new t)}}]),t}(),_=((o=function(){function t(){y(this,t)}return g(t,[{key:"build",value:function(){return new XMLHttpRequest}}]),t}()).\u0275fac=function(t){return new(t||o)},o.\u0275prov=c.Yz7({token:o,factory:o.\u0275fac}),o),b=new c.OlP("EventManagerPlugins"),k=function(){var t=function(){function t(e,n){var r=this;y(this,t),this._zone=n,this._eventNameToPlugin=new Map,e.forEach(function(t){return t.manager=r}),this._plugins=e.slice().reverse()}return g(t,[{key:"addEventListener",value:function(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}},{key:"addGlobalEventListener",value:function(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(t){var e=this._eventNameToPlugin.get(t);if(e)return e;for(var n=this._plugins,r=0;r-1&&(e.splice(n,1),o+=t+".")}),o+=i,0!=e.length||0===i.length)return null;var a={};return a.domEventName=r,a.fullKey=o,a}},{key:"getEventFullKey",value:function(t){var e="",n=function(t){var e=t.key;if(null==e){if(null==(e=t.keyIdentifier))return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&F.hasOwnProperty(e)&&(e=F[e]))}return z[e]||e}(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),N.forEach(function(r){r!=n&&R[r](t)&&(e+=r+".")}),e+=n}},{key:"eventCallback",value:function(t,e,r){return function(i){n.getEventFullKey(i)===t&&r.runGuarded(function(){return e(i)})}}},{key:"_normalizeKey",value:function(t){return"esc"===t?"escape":t}}]),n}(w);return t.\u0275fac=function(e){return new(e||t)(c.LFG(s.K0))},t.\u0275prov=c.Yz7({token:t,factory:t.\u0275fac}),t}(),B=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,c.Yz7)({factory:function(){return(0,c.LFG)(V)},token:t,providedIn:"root"}),t}(),V=function(){var t=function(t){a(n,t);var e=u(n);function n(t){var r;return y(this,n),(r=e.call(this))._doc=t,r}return g(n,[{key:"sanitize",value:function(t,e){if(null==e)return null;switch(t){case c.q3G.NONE:return e;case c.q3G.HTML:return(0,c.qzn)(e,"HTML")?(0,c.z3N)(e):(0,c.EiD)(this._doc,String(e)).toString();case c.q3G.STYLE:return(0,c.qzn)(e,"Style")?(0,c.z3N)(e):e;case c.q3G.SCRIPT:if((0,c.qzn)(e,"Script"))return(0,c.z3N)(e);throw new Error("unsafe value used in a script context");case c.q3G.URL:return(0,c.yhl)(e),(0,c.qzn)(e,"URL")?(0,c.z3N)(e):(0,c.mCW)(String(e));case c.q3G.RESOURCE_URL:if((0,c.qzn)(e,"ResourceURL"))return(0,c.z3N)(e);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext ".concat(t," (see https://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(t){return(0,c.JVY)(t)}},{key:"bypassSecurityTrustStyle",value:function(t){return(0,c.L6k)(t)}},{key:"bypassSecurityTrustScript",value:function(t){return(0,c.eBb)(t)}},{key:"bypassSecurityTrustUrl",value:function(t){return(0,c.LAX)(t)}},{key:"bypassSecurityTrustResourceUrl",value:function(t){return(0,c.pB0)(t)}}]),n}(B);return t.\u0275fac=function(e){return new(e||t)(c.LFG(s.K0))},t.\u0275prov=(0,c.Yz7)({factory:function(){return function(t){return new V(t.get(s.K0))}((0,c.LFG)(c.gxx))},token:t,providedIn:"root"}),t}(),Y=(0,c.eFA)(c._c5,"browser",[{provide:c.Lbi,useValue:s.bD},{provide:c.g9A,useValue:function(){h.makeCurrent(),m.init()},multi:!0},{provide:s.K0,useFactory:function(){return(0,c.RDi)(document),document},deps:[]}]),Z=[[],{provide:c.zSh,useValue:"root"},{provide:c.qLn,useFactory:function(){return new c.qLn},deps:[]},{provide:b,useClass:L,multi:!0,deps:[s.K0,c.R0b,c.Lbi]},{provide:b,useClass:j,multi:!0,deps:[s.K0]},[],{provide:A,useClass:A,deps:[k,x,c.AFp]},{provide:c.FYo,useExisting:A},{provide:C,useExisting:x},{provide:x,useClass:x,deps:[s.K0]},{provide:c.dDg,useClass:c.dDg,deps:[c.R0b]},{provide:k,useClass:k,deps:[b,c.R0b]},{provide:s.JF,useClass:_,deps:[]},[]],q=function(){var t=function(){function t(e){if(y(this,t),e)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 g(t,null,[{key:"withServerTransition",value:function(e){return{ngModule:t,providers:[{provide:c.AFp,useValue:e.appId},{provide:p,useExisting:c.AFp},v]}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(c.LFG(t,12))},t.\u0275mod=c.oAB({type:t}),t.\u0275inj=c.cJS({providers:Z,imports:[s.ez,c.hGG]}),t}();function U(){return new H((0,c.LFG)(s.K0))}var H=function(){var t=function(){function t(e){y(this,t),this._doc=e}return g(t,[{key:"getTitle",value:function(){return this._doc.title}},{key:"setTitle",value:function(t){this._doc.title=t||""}}]),t}();return t.\u0275fac=function(e){return new(e||t)(c.LFG(s.K0))},t.\u0275prov=(0,c.Yz7)({factory:U,token:t,providedIn:"root"}),t}();"undefined"!=typeof window&&window},86561:function(t,n,r){"use strict";r.d(n,{gz:function(){return ne},m2:function(){return $},F0:function(){return On},Od:function(){return An},yS:function(){return Pn},Bz:function(){return Vn},lC:function(){return Tn},Hx:function(){return Dt}});var i=r(12057),o=r(74788),s=r(97968),c=r(25917),h=r(26215),f=r(9112),p=r(29856),v=r(13410),m=r(22416),b=r(41439),k=r(59193),w=r(52441),C=r(79765),x=r(77393);function O(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new M(t,e,n))}}var M=function(){function t(e,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];y(this,t),this.accumulator=e,this.seed=n,this.hasSeed=r}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new S(t,this.accumulator,this.seed,this.hasSeed))}}]),t}(),S=function(t){a(n,t);var e=u(n);function n(t,r,i,o){var a;return y(this,n),(a=e.call(this,t)).accumulator=r,a._seed=i,a.hasSeed=o,a.index=0,a}return g(n,[{key:"seed",get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t}},{key:"_next",value:function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}},{key:"_tryNext",value:function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(r){this.destination.error(r)}this.seed=e,this.destination.next(e)}}]),n}(x.L),P=r(45435),E=r(7108);function A(t){return function(e){return 0===t?(0,k.c)():e.lift(new T(t))}}var T=function(){function t(e){if(y(this,t),this.total=e,this.total<0)throw new E.W}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new I(t,this.total))}}]),t}(),I=function(t){a(n,t);var e=u(n);function n(t,r){var i;return y(this,n),(i=e.call(this,t)).total=r,i.ring=new Array,i.count=0,i}return g(n,[{key:"_next",value:function(t){var e=this.ring,n=this.total,r=this.count++;e.length0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i2&&void 0!==arguments[2]?arguments[2]:"imperative",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return y(this,n),(i=e.call(this,t,r)).navigationTrigger=o,i.restoredState=a,i}return g(n,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(J),$=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,t,r)).urlAfterRedirects=i,o}return g(n,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),n}(J),Q=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,t,r)).reason=i,o}return g(n,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(J),W=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,t,r)).error=i,o}return g(n,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),n}(J),K=function(t){a(n,t);var e=u(n);function n(t,r,i,o){var a;return y(this,n),(a=e.call(this,t,r)).urlAfterRedirects=i,a.state=o,a}return g(n,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(J),tt=function(t){a(n,t);var e=u(n);function n(t,r,i,o){var a;return y(this,n),(a=e.call(this,t,r)).urlAfterRedirects=i,a.state=o,a}return g(n,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(J),et=function(t){a(n,t);var e=u(n);function n(t,r,i,o,a){var s;return y(this,n),(s=e.call(this,t,r)).urlAfterRedirects=i,s.state=o,s.shouldActivate=a,s}return g(n,[{key:"toString",value:function(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}]),n}(J),nt=function(t){a(n,t);var e=u(n);function n(t,r,i,o){var a;return y(this,n),(a=e.call(this,t,r)).urlAfterRedirects=i,a.state=o,a}return g(n,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(J),rt=function(t){a(n,t);var e=u(n);function n(t,r,i,o){var a;return y(this,n),(a=e.call(this,t,r)).urlAfterRedirects=i,a.state=o,a}return g(n,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(J),it=function(){function t(e){y(this,t),this.route=e}return g(t,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),t}(),ot=function(){function t(e){y(this,t),this.route=e}return g(t,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),t}(),at=function(){function t(e){y(this,t),this.snapshot=e}return g(t,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),st=function(){function t(e){y(this,t),this.snapshot=e}return g(t,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),ut=function(){function t(e){y(this,t),this.snapshot=e}return g(t,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),ct=function(){function t(e){y(this,t),this.snapshot=e}return g(t,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),lt=function(){function t(e,n,r){y(this,t),this.routerEvent=e,this.position=n,this.anchor=r}return g(t,[{key:"toString",value:function(){return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(this.position?"".concat(this.position[0],", ").concat(this.position[1]):null,"')")}}]),t}(),ht="primary",ft=function(){function t(e){y(this,t),this.params=e||{}}return g(t,[{key:"has",value:function(t){return Object.prototype.hasOwnProperty.call(this.params,t)}},{key:"get",value:function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e[0]:e}return null}},{key:"getAll",value:function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e:[e]}return[]}},{key:"keys",get:function(){return Object.keys(this.params)}}]),t}();function dt(t){return new ft(t)}var pt="ngNavigationCancelingError";function vt(t){var e=Error("NavigationCancelingError: "+t);return e[pt]=!0,e}function gt(t,e,n){var r=n.path.split("/");if(r.length>t.length||"full"===n.pathMatch&&(e.hasChildren()||r.length0?t[t.length-1]:null}function kt(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function wt(t){return(0,o.CqO)(t)?t:(0,o.QGY)(t)?(0,s.D)(Promise.resolve(t)):(0,c.of)(t)}var Ct={exact:function t(e,n,r){if(!It(e.segments,n.segments)||!Pt(e.segments,n.segments,r)||e.numberOfChildren!==n.numberOfChildren)return!1;for(var i in n.children)if(!e.children[i]||!t(e.children[i],n.children[i],r))return!1;return!0},subset:Mt},xt={exact:function(t,e){return mt(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(function(n){return yt(t[n],e[n])})},ignored:function(){return!0}};function Ot(t,e,n){return Ct[n.paths](t.root,e.root,n.matrixParams)&&xt[n.queryParams](t.queryParams,e.queryParams)&&!("exact"===n.fragment&&t.fragment!==e.fragment)}function Mt(t,e,n){return St(t,e,e.segments,n)}function St(t,e,n,r){if(t.segments.length>n.length){var i=t.segments.slice(0,n.length);return!(!It(i,n)||e.hasChildren()||!Pt(i,n,r))}if(t.segments.length===n.length){if(!It(t.segments,n)||!Pt(t.segments,n,r))return!1;for(var o in e.children)if(!t.children[o]||!Mt(t.children[o],e.children[o],r))return!1;return!0}var a=n.slice(0,t.segments.length),s=n.slice(t.segments.length);return!!(It(t.segments,a)&&Pt(t.segments,a,r)&&t.children[ht])&&St(t.children[ht],e,s,r)}function Pt(t,e,n){return e.every(function(e,r){return xt[n](t[r].parameters,e.parameters)})}var Et=function(){function t(e,n,r){y(this,t),this.root=e,this.queryParams=n,this.fragment=r}return g(t,[{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=dt(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return Nt.serialize(this)}}]),t}(),At=function(){function t(e,n){var r=this;y(this,t),this.segments=e,this.children=n,this.parent=null,kt(n,function(t,e){return t.parent=r})}return g(t,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}},{key:"toString",value:function(){return zt(this)}}]),t}(),Tt=function(){function t(e,n){y(this,t),this.path=e,this.parameters=n}return g(t,[{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=dt(this.parameters)),this._parameterMap}},{key:"toString",value:function(){return Zt(this)}}]),t}();function It(t,e){return t.length===e.length&&t.every(function(t,n){return t.path===e[n].path})}var Dt=g(function t(){y(this,t)}),Lt=function(){function t(){y(this,t)}return g(t,[{key:"parse",value:function(t){var e=new Jt(t);return new Et(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}},{key:"serialize",value:function(t){var e,n="/".concat(Ft(t.root,!0)),r=function(t){var e=Object.keys(t).map(function(e){var n=t[e];return Array.isArray(n)?n.map(function(t){return"".concat(jt(e),"=").concat(jt(t))}).join("&"):"".concat(jt(e),"=").concat(jt(n))}).filter(function(t){return!!t});return e.length?"?".concat(e.join("&")):""}(t.queryParams);return"".concat(n).concat(r).concat("string"==typeof t.fragment?"#".concat((e=t.fragment,encodeURI(e))):"")}}]),t}(),Nt=new Lt;function zt(t){return t.segments.map(function(t){return Zt(t)}).join("/")}function Ft(t,e){if(!t.hasChildren())return zt(t);if(e){var n=t.children[ht]?Ft(t.children[ht],!1):"",r=[];return kt(t.children,function(t,e){e!==ht&&r.push("".concat(e,":").concat(Ft(t,!1)))}),r.length>0?"".concat(n,"(").concat(r.join("//"),")"):n}var i=function(t,e){var n=[];return kt(t.children,function(t,r){r===ht&&(n=n.concat(e(t,r)))}),kt(t.children,function(t,r){r!==ht&&(n=n.concat(e(t,r)))}),n}(t,function(e,n){return n===ht?[Ft(t.children[ht],!1)]:["".concat(n,":").concat(Ft(e,!1))]});return 1===Object.keys(t.children).length&&null!=t.children[ht]?"".concat(zt(t),"/").concat(i[0]):"".concat(zt(t),"/(").concat(i.join("//"),")")}function Rt(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function jt(t){return Rt(t).replace(/%3B/gi,";")}function Bt(t){return Rt(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Vt(t){return decodeURIComponent(t)}function Yt(t){return Vt(t.replace(/\+/g,"%20"))}function Zt(t){return"".concat(Bt(t.path)).concat(function(t){return Object.keys(t).map(function(e){return";".concat(Bt(e),"=").concat(Bt(t[e]))}).join("")}(t.parameters))}var qt=/^[^\/()?;=#]+/;function Ut(t){var e=t.match(qt);return e?e[0]:""}var Ht=/^[^=?&#]+/,Gt=/^[^?&#]+/,Jt=function(){function t(e){y(this,t),this.url=e,this.remaining=e}return g(t,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new At([],{}):new At([],this.parseChildren())}},{key:"parseQueryParams",value:function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}},{key:"parseFragment",value:function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}},{key:"parseChildren",value:function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[ht]=new At(t,e)),n}},{key:"parseSegment",value:function(){var t=Ut(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(t),new Tt(Vt(t),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t}},{key:"parseParam",value:function(t){var e=Ut(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=Ut(this.remaining);r&&(n=r,this.capture(n))}t[Vt(e)]=Vt(n)}}},{key:"parseQueryParam",value:function(t){var e=function(t){var e=t.match(Ht);return e?e[0]:""}(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=function(t){var e=t.match(Gt);return e?e[0]:""}(this.remaining);r&&(n=r,this.capture(n))}var i=Yt(e),o=Yt(n);if(t.hasOwnProperty(i)){var a=t[i];Array.isArray(a)||(a=[a],t[i]=a),a.push(o)}else t[i]=o}}},{key:"parseParens",value:function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=Ut(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '".concat(this.url,"'"));var i=void 0;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=ht);var o=this.parseChildren();e[i]=1===Object.keys(o).length?o[ht]:new At([],o),this.consumeOptional("//")}return e}},{key:"peekStartsWith",value:function(t){return this.remaining.startsWith(t)}},{key:"consumeOptional",value:function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}},{key:"capture",value:function(t){if(!this.consumeOptional(t))throw new Error('Expected "'.concat(t,'".'))}}]),t}(),Xt=function(){function t(e){y(this,t),this._root=e}return g(t,[{key:"root",get:function(){return this._root.value}},{key:"parent",value:function(t){var e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}},{key:"children",value:function(t){var e=$t(t,this._root);return e?e.children.map(function(t){return t.value}):[]}},{key:"firstChild",value:function(t){var e=$t(t,this._root);return e&&e.children.length>0?e.children[0].value:null}},{key:"siblings",value:function(t){var e=Qt(t,this._root);return e.length<2?[]:e[e.length-2].children.map(function(t){return t.value}).filter(function(e){return e!==t})}},{key:"pathFromRoot",value:function(t){return Qt(t,this._root).map(function(t){return t.value})}}]),t}();function $t(t,e){if(t===e.value)return e;var n,r=_(e.children);try{for(r.s();!(n=r.n()).done;){var i=$t(t,n.value);if(i)return i}}catch(o){r.e(o)}finally{r.f()}return null}function Qt(t,e){if(t===e.value)return[e];var n,r=_(e.children);try{for(r.s();!(n=r.n()).done;){var i=Qt(t,n.value);if(i.length)return i.unshift(e),i}}catch(o){r.e(o)}finally{r.f()}return[]}var Wt=function(){function t(e,n){y(this,t),this.value=e,this.children=n}return g(t,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),t}();function Kt(t){var e={};return t&&t.children.forEach(function(t){return e[t.value.outlet]=t}),e}var te=function(t){a(n,t);var e=u(n);function n(t,r){var i;return y(this,n),(i=e.call(this,t)).snapshot=r,ae(l(i),t),i}return g(n,[{key:"toString",value:function(){return this.snapshot.toString()}}]),n}(Xt);function ee(t,e){var n=function(t,e){var n=new ie([],{},{},"",{},ht,e,null,t.root,-1,{});return new oe("",new Wt(n,[]))}(t,e),r=new h.X([new Tt("",{})]),i=new h.X({}),o=new h.X({}),a=new h.X({}),s=new h.X(""),u=new ne(r,i,a,s,o,ht,e,n.root);return u.snapshot=n.root,new te(new Wt(u,[]),n)}var ne=function(){function t(e,n,r,i,o,a,s,u){y(this,t),this.url=e,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=a,this.component=s,this._futureSnapshot=u}return g(t,[{key:"routeConfig",get:function(){return this._futureSnapshot.routeConfig}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=this.params.pipe((0,z.U)(function(t){return dt(t)}))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,z.U)(function(t){return dt(t)}))),this._queryParamMap}},{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}}]),t}();function re(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly",n=t.pathFromRoot,r=0;if("always"!==e)for(r=n.length-1;r>=1;){var i=n[r],o=n[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(o.component)break;r--}}return function(t){return t.reduce(function(t,e){return{params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}},{params:{},data:{},resolve:{}})}(n.slice(r))}var ie=function(){function t(e,n,r,i,o,a,s,u,c,l,h){y(this,t),this.url=e,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=a,this.component=s,this.routeConfig=u,this._urlSegment=c,this._lastPathIndex=l,this._resolve=h}return g(t,[{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=dt(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=dt(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return"Route(url:'".concat(this.url.map(function(t){return t.toString()}).join("/"),"', path:'").concat(this.routeConfig?this.routeConfig.path:"","')")}}]),t}(),oe=function(t){a(n,t);var e=u(n);function n(t,r){var i;return y(this,n),(i=e.call(this,r)).url=t,ae(l(i),r),i}return g(n,[{key:"toString",value:function(){return se(this._root)}}]),n}(Xt);function ae(t,e){e.value._routerState=t,e.children.forEach(function(e){return ae(t,e)})}function se(t){var e=t.children.length>0?" { ".concat(t.children.map(se).join(", ")," } "):"";return"".concat(t.value).concat(e)}function ue(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,mt(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),mt(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(var n=0;n0&&fe(r[0]))throw new Error("Root segment cannot have matrix parameters");var i=r.find(de);if(i&&i!==bt(r))throw new Error("{outlets:{}} has to be the last command")}return g(t,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),t}(),me=g(function t(e,n,r){y(this,t),this.segmentGroup=e,this.processChildren=n,this.index=r});function ye(t,e,n){if(t||(t=new At([],{})),0===t.segments.length&&t.hasChildren())return _e(t,e,n);var r=function(t,e,n){for(var r=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};i=n.length)return o;var a=t.segments[i],s=n[r];if(de(s))break;var u="".concat(s),c=r0&&void 0===u)break;if(u&&c&&"object"==typeof c&&void 0===c.outlets){if(!Ce(u,c,a))return o;r+=2}else{if(!Ce(u,{},a))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(t,e,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex1&&void 0!==arguments[1]?arguments[1]:"",n=0;n0)?Object.assign({},je):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};var i=(e.matcher||gt)(n,t,e);if(!i)return Object.assign({},je);var o={};kt(i.posParams,function(t,e){o[e]=t.path});var a=i.consumed.length>0?Object.assign(Object.assign({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,lastChild:i.consumed.length,parameters:a,positionalParamSegments:null!==(r=i.posParams)&&void 0!==r?r:{}}}function Ve(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"corrected";if(n.length>0&&function(t,e,n){return n.some(function(n){return Ye(t,e,n)&&Fe(n)!==ht})}(t,n,r)){var o=new At(e,function(t,e,n,r){var i={};i[ht]=r,r._sourceSegment=t,r._segmentIndexShift=e.length;var o,a=_(n);try{for(a.s();!(o=a.n()).done;){var s=o.value;if(""===s.path&&Fe(s)!==ht){var u=new At([],{});u._sourceSegment=t,u._segmentIndexShift=e.length,i[Fe(s)]=u}}}catch(c){a.e(c)}finally{a.f()}return i}(t,e,r,new At(n,t.children)));return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(function(n){return Ye(t,e,n)})}(t,n,r)){var a=new At(t.segments,function(t,e,n,r,i,o){var a,s={},u=_(r);try{for(u.s();!(a=u.n()).done;){var c=a.value;if(Ye(t,n,c)&&!i[Fe(c)]){var l=new At([],{});l._sourceSegment=t,l._segmentIndexShift="legacy"===o?t.segments.length:e.length,s[Fe(c)]=l}}}catch(h){u.e(h)}finally{u.f()}return Object.assign(Object.assign({},i),s)}(t,e,n,r,t.children,i));return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:n}}var s=new At(t.segments,t.children);return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}function Ye(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}function Ze(t,e,n,r){return!!(Fe(t)===r||r!==ht&&Ye(e,n,t))&&("**"===t.path||Be(e,t,n).matched)}function qe(t,e,n){return 0===e.length&&!t.children[n]}var Ue=g(function t(e){y(this,t),this.segmentGroup=e||null}),He=g(function t(e){y(this,t),this.urlTree=e});function Ge(t){return new p.y(function(e){return e.error(new Ue(t))})}function Je(t){return new p.y(function(e){return e.error(new He(t))})}function Xe(t){return new p.y(function(e){return e.error(new Error("Only absolute redirects can have named outlets. redirectTo: '".concat(t,"'")))})}var $e=function(){function t(e,n,r,i,a){y(this,t),this.configLoader=n,this.urlSerializer=r,this.urlTree=i,this.config=a,this.allowRedirects=!0,this.ngModule=e.get(o.h0i)}return g(t,[{key:"apply",value:function(){var t=this,e=Ve(this.urlTree.root,[],[],this.config).segmentGroup,n=new At(e.segments,e.children);return this.expandSegmentGroup(this.ngModule,this.config,n,ht).pipe((0,z.U)(function(e){return t.createUrlTree(Qe(e),t.urlTree.queryParams,t.urlTree.fragment)})).pipe((0,B.K)(function(e){if(e instanceof He)return t.allowRedirects=!1,t.match(e.urlTree);throw e instanceof Ue?t.noMatchError(e):e}))}},{key:"match",value:function(t){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,t.root,ht).pipe((0,z.U)(function(n){return e.createUrlTree(Qe(n),t.queryParams,t.fragment)})).pipe((0,B.K)(function(t){throw t instanceof Ue?e.noMatchError(t):t}))}},{key:"noMatchError",value:function(t){return new Error("Cannot match any routes. URL Segment: '".concat(t.segmentGroup,"'"))}},{key:"createUrlTree",value:function(t,n,r){var i=t.segments.length>0?new At([],e({},ht,t)):t;return new Et(i,n,r)}},{key:"expandSegmentGroup",value:function(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe((0,z.U)(function(t){return new At([],t)})):this.expandSegment(t,n,e,n.segments,r,!0)}},{key:"expandChildren",value:function(t,e,n){for(var r=this,i=[],o=0,a=Object.keys(n.children);o=2;return function(r){return r.pipe(t?(0,P.h)(function(e,n){return t(e,n,r)}):N.y,A(1),n?(0,L.d)(e):(0,D.T)(function(){return new v.K}))}}())}},{key:"expandSegment",value:function(t,e,n,r,i,o){var a=this;return(0,s.D)(n).pipe((0,V.b)(function(s){return a.expandSegmentAgainstRoute(t,e,n,s,r,i,o).pipe((0,B.K)(function(t){if(t instanceof Ue)return(0,c.of)(null);throw t}))}),(0,Y.P)(function(t){return!!t}),(0,B.K)(function(t,n){if(t instanceof v.K||"EmptyError"===t.name){if(qe(e,r,i))return(0,c.of)(new At([],{}));throw new Ue(e)}throw t}))}},{key:"expandSegmentAgainstRoute",value:function(t,e,n,r,i,o,a){return Ze(r,e,i,o)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,i,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,i,o):Ge(e):Ge(e)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(t,e,n,r,i,o){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,i,o)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(t,e,n,r){var i=this,o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Je(o):this.lineralizeSegments(n,o).pipe((0,Z.zg)(function(n){var o=new At(n,{});return i.expandSegment(t,o,e,n,r,!1)}))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(t,e,n,r,i,o){var a=this,s=Be(e,r,i),u=s.matched,c=s.consumedSegments,l=s.lastChild,h=s.positionalParamSegments;if(!u)return Ge(e);var f=this.applyRedirectCommands(c,r.redirectTo,h);return r.redirectTo.startsWith("/")?Je(f):this.lineralizeSegments(r,f).pipe((0,Z.zg)(function(r){return a.expandSegment(t,e,n,r.concat(i.slice(l)),o,!1)}))}},{key:"matchSegmentAgainstRoute",value:function(t,e,n,r,i){var o=this;if("**"===n.path)return n.loadChildren?(n._loadedConfig?(0,c.of)(n._loadedConfig):this.configLoader.load(t.injector,n)).pipe((0,z.U)(function(t){return n._loadedConfig=t,new At(r,{})})):(0,c.of)(new At(r,{}));var a=Be(e,n,r),s=a.matched,u=a.consumedSegments,l=a.lastChild;if(!s)return Ge(e);var h=r.slice(l);return this.getChildConfig(t,n,r).pipe((0,Z.zg)(function(t){var r=t.module,a=t.routes,s=Ve(e,u,h,a),l=s.segmentGroup,f=s.slicedSegments,d=new At(l.segments,l.children);if(0===f.length&&d.hasChildren())return o.expandChildren(r,a,d).pipe((0,z.U)(function(t){return new At(u,t)}));if(0===a.length&&0===f.length)return(0,c.of)(new At(u,{}));var p=Fe(n)===i;return o.expandSegment(r,d,a,f,p?ht:i,!0).pipe((0,z.U)(function(t){return new At(u.concat(t.segments),t.children)}))}))}},{key:"getChildConfig",value:function(t,e,n){var r=this;return e.children?(0,c.of)(new Me(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?(0,c.of)(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe((0,Z.zg)(function(n){return n?r.configLoader.load(t.injector,e).pipe((0,z.U)(function(t){return e._loadedConfig=t,t})):(i=e,new p.y(function(t){return t.error(vt("Cannot load children because the guard of the route \"path: '".concat(i.path,"'\" returned false")))}));var i})):(0,c.of)(new Me([],t))}},{key:"runCanLoadGuards",value:function(t,e,n){var r=this,i=e.canLoad;if(!i||0===i.length)return(0,c.of)(!0);var o=i.map(function(r){var i,o,a=t.get(r);if((o=a)&&Se(o.canLoad))i=a.canLoad(e,n);else{if(!Se(a))throw new Error("Invalid CanLoad guard");i=a(e,n)}return wt(i)});return(0,c.of)(o).pipe(Ae(),(0,q.b)(function(t){if(Pe(t)){var e=vt('Redirecting to "'.concat(r.urlSerializer.serialize(t),'"'));throw e.url=t,e}}),(0,z.U)(function(t){return!0===t}))}},{key:"lineralizeSegments",value:function(t,e){for(var n=[],r=e.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return(0,c.of)(n);if(r.numberOfChildren>1||!r.children[ht])return Xe(t.redirectTo);r=r.children[ht]}}},{key:"applyRedirectCommands",value:function(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}},{key:"applyRedirectCreatreUrlTree",value:function(t,e,n,r){var i=this.createSegmentGroup(t,e.root,n,r);return new Et(i,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}},{key:"createQueryParams",value:function(t,e){var n={};return kt(t,function(t,r){if("string"==typeof t&&t.startsWith(":")){var i=t.substring(1);n[r]=e[i]}else n[r]=t}),n}},{key:"createSegmentGroup",value:function(t,e,n,r){var i=this,o=this.createSegments(t,e.segments,n,r),a={};return kt(e.children,function(e,o){a[o]=i.createSegmentGroup(t,e,n,r)}),new At(o,a)}},{key:"createSegments",value:function(t,e,n,r){var i=this;return e.map(function(e){return e.path.startsWith(":")?i.findPosParam(t,e,r):i.findOrReturn(e,n)})}},{key:"findPosParam",value:function(t,e,n){var r=n[e.path.substring(1)];if(!r)throw new Error("Cannot redirect to '".concat(t,"'. Cannot find '").concat(e.path,"'."));return r}},{key:"findOrReturn",value:function(t,e){var n,r=0,i=_(e);try{for(i.s();!(n=i.n()).done;){var o=n.value;if(o.path===t.path)return e.splice(r),o;r++}}catch(a){i.e(a)}finally{i.f()}return t}}]),t}();function Qe(t){for(var e={},n=0,r=Object.keys(t.children);n0||o.hasChildren())&&(e[i]=o)}return function(t){if(1===t.numberOfChildren&&t.children[ht]){var e=t.children[ht];return new At(t.segments.concat(e.segments),e.children)}return t}(new At(t.segments,e))}var We=g(function t(e){y(this,t),this.path=e,this.route=this.path[this.path.length-1]}),Ke=g(function t(e,n){y(this,t),this.component=e,this.route=n});function tn(t,e,n){var r=t._root;return nn(r,e?e._root:null,n,[r.value])}function en(t,e,n){var r=function(t){if(!t)return null;for(var e=t.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(e);return(r?r.module.injector:n).get(t)}function nn(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=Kt(e);return t.children.forEach(function(t){(function(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=t.value,a=e?e.value:null,s=n?n.getContext(t.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){var u=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!It(t.url,e.url);case"pathParamsOrQueryParamsChange":return!It(t.url,e.url)||!mt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ce(t,e)||!mt(t.queryParams,e.queryParams);default:return!ce(t,e)}}(a,o,o.routeConfig.runGuardsAndResolvers);u?i.canActivateChecks.push(new We(r)):(o.data=a.data,o._resolvedData=a._resolvedData),nn(t,e,o.component?s?s.children:null:n,r,i),u&&s&&s.outlet&&s.outlet.isActivated&&i.canDeactivateChecks.push(new Ke(s.outlet.component,a))}else a&&rn(e,s,i),i.canActivateChecks.push(new We(r)),nn(t,null,o.component?s?s.children:null:n,r,i)})(t,o[t.value.outlet],n,r.concat([t.value]),i),delete o[t.value.outlet]}),kt(o,function(t,e){return rn(t,n.getContext(e),i)}),i}function rn(t,e,n){var r=Kt(t),i=t.value;kt(r,function(t,r){rn(t,i.component?e?e.children.getContext(r):null:e,n)}),n.canDeactivateChecks.push(new Ke(i.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,i))}var on=g(function t(){y(this,t)});function an(t){return new p.y(function(e){return e.error(t)})}var sn=function(){function t(e,n,r,i,o,a){y(this,t),this.rootComponentType=e,this.config=n,this.urlTree=r,this.url=i,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=a}return g(t,[{key:"recognize",value:function(){var t=Ve(this.urlTree.root,[],[],this.config.filter(function(t){return void 0===t.redirectTo}),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,ht);if(null===e)return null;var n=new ie([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},ht,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Wt(n,e),i=new oe(this.url,r);return this.inheritParamsAndData(i._root),i}},{key:"inheritParamsAndData",value:function(t){var e=this,n=t.value,r=re(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(function(t){return e.inheritParamsAndData(t)})}},{key:"processSegmentGroup",value:function(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}},{key:"processChildren",value:function(t,e){for(var n=[],r=0,i=Object.keys(e.children);r0?bt(n).parameters:{};i=new ie(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,hn(t),Fe(t),t.component,t,cn(e),ln(e)+n.length,fn(t))}else{var u=Be(e,t,n);if(!u.matched)return null;o=u.consumedSegments,a=n.slice(u.lastChild),i=new ie(o,u.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,hn(t),Fe(t),t.component,t,cn(e),ln(e)+o.length,fn(t))}var c,l=(c=t).children?c.children:c.loadChildren?c._loadedConfig.routes:[],h=Ve(e,o,a,l.filter(function(t){return void 0===t.redirectTo}),this.relativeLinkResolution),f=h.segmentGroup,d=h.slicedSegments;if(0===d.length&&f.hasChildren()){var p=this.processChildren(l,f);return null===p?null:[new Wt(i,p)]}if(0===l.length&&0===d.length)return[new Wt(i,[])];var v=Fe(t)===r,g=this.processSegment(l,f,d,v?ht:r);return null===g?null:[new Wt(i,g)]}}]),t}();function un(t){var e,n=[],r=new Set,i=_(t);try{var o=function(){var t,i=e.value;if(!function(t){var e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}(i))return n.push(i),1;var o=n.find(function(t){return i.value.routeConfig===t.value.routeConfig});void 0!==o?((t=o.children).push.apply(t,d(i.children)),r.add(o)):n.push(i)};for(i.s();!(e=i.n()).done;)o()}catch(l){i.e(l)}finally{i.f()}var a,s=_(r);try{for(s.s();!(a=s.n()).done;){var u=a.value,c=un(u.children);n.push(new Wt(u.value,c))}}catch(l){s.e(l)}finally{s.f()}return n.filter(function(t){return!r.has(t)})}function cn(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function ln(t){for(var e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;e._sourceSegment;)n+=(e=e._sourceSegment)._segmentIndexShift?e._segmentIndexShift:0;return n-1}function hn(t){return t.data||{}}function fn(t){return t.resolve||{}}function dn(t){return(0,F.w)(function(e){var n=t(e);return n?(0,s.D)(n).pipe((0,z.U)(function(){return e})):(0,c.of)(e)})}var pn=function(t){a(n,t);var e=u(n);function n(){return y(this,n),e.apply(this,arguments)}return g(n)}(function(){function t(){y(this,t)}return g(t,[{key:"shouldDetach",value:function(t){return!1}},{key:"store",value:function(t,e){}},{key:"shouldAttach",value:function(t){return!1}},{key:"retrieve",value:function(t){return null}},{key:"shouldReuseRoute",value:function(t,e){return t.routeConfig===e.routeConfig}}]),t}()),vn=new o.OlP("ROUTES"),gn=function(){function t(e,n,r,i){y(this,t),this.loader=e,this.compiler=n,this.onLoadStartListener=r,this.onLoadEndListener=i}return g(t,[{key:"load",value:function(t,e){var n=this;if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);var r=this.loadModuleFactory(e.loadChildren).pipe((0,z.U)(function(r){n.onLoadEndListener&&n.onLoadEndListener(e);var i=r.create(t);return new Me(_t(i.injector.get(vn,void 0,o.XFs.Self|o.XFs.Optional)).map(ze),i)}),(0,B.K)(function(t){throw e._loader$=void 0,t}));return e._loader$=new w.c(r,function(){return new C.xQ}).pipe((0,U.x)()),e._loader$}},{key:"loadModuleFactory",value:function(t){var e=this;return"string"==typeof t?(0,s.D)(this.loader.load(t)):wt(t()).pipe((0,Z.zg)(function(t){return t instanceof o.YKP?(0,c.of)(t):(0,s.D)(e.compiler.compileModuleAsync(t))}))}}]),t}(),mn=g(function t(){y(this,t),this.outlet=null,this.route=null,this.resolver=null,this.children=new yn,this.attachRef=null}),yn=function(){function t(){y(this,t),this.contexts=new Map}return g(t,[{key:"onChildOutletCreated",value:function(t,e){var n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}},{key:"onChildOutletDestroyed",value:function(t){var e=this.getContext(t);e&&(e.outlet=null,e.attachRef=null)}},{key:"onOutletDeactivated",value:function(){var t=this.contexts;return this.contexts=new Map,t}},{key:"onOutletReAttached",value:function(t){this.contexts=t}},{key:"getOrCreateContext",value:function(t){var e=this.getContext(t);return e||(e=new mn,this.contexts.set(t,e)),e}},{key:"getContext",value:function(t){return this.contexts.get(t)||null}}]),t}(),_n=function(){function t(){y(this,t)}return g(t,[{key:"shouldProcessUrl",value:function(t){return!0}},{key:"extract",value:function(t){return t}},{key:"merge",value:function(t,e){return t}}]),t}();function bn(t){throw t}function kn(t,e,n){return e.parse("/")}function wn(t,e){return(0,c.of)(null)}var Cn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},xn={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},On=function(){var t=function(){function t(e,n,r,i,a,s,u,c){var l=this;y(this,t),this.rootComponentType=e,this.urlSerializer=n,this.rootContexts=r,this.location=i,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new C.xQ,this.errorHandler=bn,this.malformedUriErrorHandler=kn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:wn,afterPreactivation:wn},this.urlHandlingStrategy=new _n,this.routeReuseStrategy=new pn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=a.get(o.h0i),this.console=a.get(o.c2e);var f=a.get(o.R0b);this.isNgZoneEnabled=f instanceof o.R0b&&o.R0b.isInAngularZone(),this.resetConfig(c),this.currentUrlTree=new Et(new At([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new gn(s,u,function(t){return l.triggerEvent(new it(t))},function(t){return l.triggerEvent(new ot(t))}),this.routerState=ee(this.currentUrlTree,this.rootComponentType),this.transitions=new h.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return g(t,[{key:"browserPageId",get:function(){var t;return null===(t=this.location.getState())||void 0===t?void 0:t.\u0275routerPageId}},{key:"setupNavigations",value:function(t){var e=this,n=this.events;return t.pipe((0,P.h)(function(t){return 0!==t.id}),(0,z.U)(function(t){return Object.assign(Object.assign({},t),{extractedUrl:e.urlHandlingStrategy.extract(t.rawUrl)})}),(0,F.w)(function(t){var r=!1,i=!1;return(0,c.of)(t).pipe((0,q.b)(function(t){e.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:e.lastSuccessfulNavigation?Object.assign(Object.assign({},e.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,F.w)(function(t){var r=e.browserUrlTree.toString(),o=!e.navigated||t.extractedUrl.toString()!==r||r!==e.currentUrlTree.toString();if(("reload"===e.onSameUrlNavigation||o)&&e.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Mn(t.source)&&(e.browserUrlTree=t.extractedUrl),(0,c.of)(t).pipe((0,F.w)(function(t){var r=e.transitions.getValue();return n.next(new X(t.id,e.serializeUrl(t.extractedUrl),t.source,t.restoredState)),r!==e.transitions.getValue()?k.E:Promise.resolve(t)}),function(t,e,n,r){return(0,F.w)(function(i){return function(t,e,n,r,i){return new $e(t,e,n,r,i).apply()}(t,e,n,i.extractedUrl,r).pipe((0,z.U)(function(t){return Object.assign(Object.assign({},i),{urlAfterRedirects:t})}))})}(e.ngModule.injector,e.configLoader,e.urlSerializer,e.config),(0,q.b)(function(t){e.currentNavigation=Object.assign(Object.assign({},e.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,n,r,o,a){return(0,Z.zg)(function(r){return function(t,e,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";try{var s=new sn(t,e,n,r,o,a).recognize();return null===s?an(new on):(0,c.of)(s)}catch(i){return an(i)}}(t,n,r.urlAfterRedirects,(s=r.urlAfterRedirects,e.serializeUrl(s)),o,a).pipe((0,z.U)(function(t){return Object.assign(Object.assign({},r),{targetSnapshot:t})}));var s})}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy,e.relativeLinkResolution),(0,q.b)(function(t){"eager"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(t.urlAfterRedirects,t),e.browserUrlTree=t.urlAfterRedirects);var r=new K(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);n.next(r)}));if(o&&e.rawUrlTree&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){var a=t.id,s=t.extractedUrl,u=t.source,l=t.restoredState,h=t.extras,f=new X(a,e.serializeUrl(s),u,l);n.next(f);var d=ee(s,e.rootComponentType).snapshot;return(0,c.of)(Object.assign(Object.assign({},t),{targetSnapshot:d,urlAfterRedirects:s,extras:Object.assign(Object.assign({},h),{skipLocationChange:!1,replaceUrl:!1})}))}return e.rawUrlTree=t.rawUrl,e.browserUrlTree=t.urlAfterRedirects,t.resolve(null),k.E}),dn(function(t){var n=t.targetSnapshot,r=t.id,i=t.extractedUrl,o=t.rawUrl,a=t.extras,s=a.skipLocationChange,u=a.replaceUrl;return e.hooks.beforePreactivation(n,{navigationId:r,appliedUrlTree:i,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!u})}),(0,q.b)(function(t){var n=new tt(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),(0,z.U)(function(t){return Object.assign(Object.assign({},t),{guards:tn(t.targetSnapshot,t.currentSnapshot,e.rootContexts)})}),function(t,e){return(0,Z.zg)(function(n){var r=n.targetSnapshot,i=n.currentSnapshot,o=n.guards,a=o.canActivateChecks,u=o.canDeactivateChecks;return 0===u.length&&0===a.length?(0,c.of)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,r){return(0,s.D)(t).pipe((0,Z.zg)(function(t){return function(t,e,n,r,i){var o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||0===o.length)return(0,c.of)(!0);var a=o.map(function(o){var a,s=en(o,e,i);if(function(t){return t&&Se(t.canDeactivate)}(s))a=wt(s.canDeactivate(t,e,n,r));else{if(!Se(s))throw new Error("Invalid CanDeactivate guard");a=wt(s(t,e,n,r))}return a.pipe((0,Y.P)())});return(0,c.of)(a).pipe(Ae())}(t.component,t.route,n,e,r)}),(0,Y.P)(function(t){return!0!==t},!0))}(u,r,i,t).pipe((0,Z.zg)(function(n){return n&&function(t){return"boolean"==typeof t}(n)?function(t,e,n,r){return(0,s.D)(e).pipe((0,V.b)(function(e){return(0,m.z)(function(t,e){return null!==t&&e&&e(new at(t)),(0,c.of)(!0)}(e.route.parent,r),function(t,e){return null!==t&&e&&e(new ut(t)),(0,c.of)(!0)}(e.route,r),function(t,e,n){var r=e[e.length-1],i=e.slice(0,e.length-1).reverse().map(function(t){return function(t){var e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)}).filter(function(t){return null!==t}).map(function(e){return(0,b.P)(function(){var i=e.guards.map(function(i){var o,a=en(i,e.node,n);if(function(t){return t&&Se(t.canActivateChild)}(a))o=wt(a.canActivateChild(r,t));else{if(!Se(a))throw new Error("Invalid CanActivateChild guard");o=wt(a(r,t))}return o.pipe((0,Y.P)())});return(0,c.of)(i).pipe(Ae())})});return(0,c.of)(i).pipe(Ae())}(t,e.path,n),function(t,e,n){var r=e.routeConfig?e.routeConfig.canActivate:null;if(!r||0===r.length)return(0,c.of)(!0);var i=r.map(function(r){return(0,b.P)(function(){var i,o=en(r,e,n);if(function(t){return t&&Se(t.canActivate)}(o))i=wt(o.canActivate(e,t));else{if(!Se(o))throw new Error("Invalid CanActivate guard");i=wt(o(e,t))}return i.pipe((0,Y.P)())})});return(0,c.of)(i).pipe(Ae())}(t,e.route,n))}),(0,Y.P)(function(t){return!0!==t},!0))}(r,a,t,e):(0,c.of)(n)}),(0,z.U)(function(t){return Object.assign(Object.assign({},n),{guardsResult:t})}))})}(e.ngModule.injector,function(t){return e.triggerEvent(t)}),(0,q.b)(function(t){if(Pe(t.guardsResult)){var n=vt('Redirecting to "'.concat(e.serializeUrl(t.guardsResult),'"'));throw n.url=t.guardsResult,n}var r=new et(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);e.triggerEvent(r)}),(0,P.h)(function(t){return!!t.guardsResult||(e.restoreHistory(t),e.cancelNavigationTransition(t,""),!1)}),dn(function(t){if(t.guards.canActivateChecks.length)return(0,c.of)(t).pipe((0,q.b)(function(t){var n=new nt(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),(0,F.w)(function(t){var n=!1;return(0,c.of)(t).pipe(function(t,e){return(0,Z.zg)(function(n){var r=n.targetSnapshot,i=n.guards.canActivateChecks;if(!i.length)return(0,c.of)(n);var o=0;return(0,s.D)(i).pipe((0,V.b)(function(n){return function(t,e,n,r){return function(t,e,n,r){var i=Object.keys(t);if(0===i.length)return(0,c.of)({});var o={};return(0,s.D)(i).pipe((0,Z.zg)(function(i){return function(t,e,n,r){var i=en(t,e,r);return wt(i.resolve?i.resolve(e,n):i(e,n))}(t[i],e,n,r).pipe((0,q.b)(function(t){o[i]=t}))}),A(1),(0,Z.zg)(function(){return Object.keys(o).length===i.length?(0,c.of)(o):k.E}))}(t._resolve,t,e,r).pipe((0,z.U)(function(e){return t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),re(t,n).resolve),null}))}(n.route,r,t,e)}),(0,q.b)(function(){return o++}),A(1),(0,Z.zg)(function(t){return o===i.length?(0,c.of)(n):k.E}))})}(e.paramsInheritanceStrategy,e.ngModule.injector),(0,q.b)({next:function(){return n=!0},complete:function(){n||(e.restoreHistory(t),e.cancelNavigationTransition(t,"At least one route resolver didn't emit any value."))}}))}),(0,q.b)(function(t){var n=new rt(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}))}),dn(function(t){var n=t.targetSnapshot,r=t.id,i=t.extractedUrl,o=t.rawUrl,a=t.extras,s=a.skipLocationChange,u=a.replaceUrl;return e.hooks.afterPreactivation(n,{navigationId:r,appliedUrlTree:i,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!u})}),(0,z.U)(function(t){var n=function(t,e,n){var r=le(t,e._root,n?n._root:void 0);return new te(r,e)}(e.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:n})}),(0,q.b)(function(t){e.currentUrlTree=t.urlAfterRedirects,e.rawUrlTree=e.urlHandlingStrategy.merge(t.urlAfterRedirects,t.rawUrl),e.routerState=t.targetRouterState,"deferred"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(e.rawUrlTree,t),e.browserUrlTree=t.urlAfterRedirects)}),function(t,e,n){return(0,z.U)(function(r){return new xe(e,r.targetRouterState,r.currentRouterState,n).activate(t),r})}(e.rootContexts,e.routeReuseStrategy,function(t){return e.triggerEvent(t)}),(0,q.b)({next:function(){r=!0},complete:function(){r=!0}}),(0,H.x)(function(){var n;if(!r&&!i){var o="Navigation ID ".concat(t.id," is not equal to the current navigation id ").concat(e.navigationId);"replace"===e.canceledNavigationResolution?(e.restoreHistory(t),e.cancelNavigationTransition(t,o)):e.cancelNavigationTransition(t,o)}(null===(n=e.currentNavigation)||void 0===n?void 0:n.id)===t.id&&(e.currentNavigation=null)}),(0,B.K)(function(r){if(i=!0,function(t){return t&&t[pt]}(r)){var o=Pe(r.url);o||(e.navigated=!0,e.restoreHistory(t,!0));var a=new Q(t.id,e.serializeUrl(t.extractedUrl),r.message);n.next(a),o?setTimeout(function(){var n=e.urlHandlingStrategy.merge(r.url,e.rawUrlTree),i={skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===e.urlUpdateStrategy||Mn(t.source)};e.scheduleNavigation(n,"imperative",null,i,{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{e.restoreHistory(t,!0);var s=new W(t.id,e.serializeUrl(t.extractedUrl),r);n.next(s);try{t.resolve(e.errorHandler(r))}catch(a){t.reject(a)}}return k.E}))}))}},{key:"resetRootComponentType",value:function(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}},{key:"getTransition",value:function(){var t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}},{key:"setTransition",value:function(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}},{key:"initialNavigation",value:function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}},{key:"setUpLocationChangeListener",value:function(){var t=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(e){var n=t.extractLocationChangeInfoFromEvent(e);t.shouldScheduleNavigation(t.lastLocationChangeInfo,n)&&setTimeout(function(){var e=n.source,r=n.state,i=n.urlTree,o={replaceUrl:!0};if(r){var a=Object.assign({},r);delete a.navigationId,delete a.\u0275routerPageId,0!==Object.keys(a).length&&(o.state=a)}t.scheduleNavigation(i,e,r,o)},0),t.lastLocationChangeInfo=n}))}},{key:"extractLocationChangeInfoFromEvent",value:function(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}},{key:"shouldScheduleNavigation",value:function(t,e){if(!t)return!0;var n=e.urlTree.toString()===t.urlTree.toString();return e.transitionId!==t.transitionId||!n||!("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source)}},{key:"url",get:function(){return this.serializeUrl(this.currentUrlTree)}},{key:"getCurrentNavigation",value:function(){return this.currentNavigation}},{key:"triggerEvent",value:function(t){this.events.next(t)}},{key:"resetConfig",value:function(t){De(t),this.config=t.map(ze),this.navigated=!1,this.lastSuccessfulId=-1}},{key:"ngOnDestroy",value:function(){this.dispose()}},{key:"dispose",value:function(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}},{key:"createUrlTree",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.relativeTo,r=e.queryParams,i=e.fragment,o=e.queryParamsHandling,a=e.preserveFragment,s=n||this.routerState.root,u=a?this.currentUrlTree.fragment:i,c=null;switch(o){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=r||null}return null!==c&&(c=this.removeEmptyProps(c)),function(t,e,n,r,i){if(0===n.length)return pe(e.root,e.root,e,r,i);var o=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new ge(!0,0,t);var e=0,n=!1,r=t.reduce(function(t,r,i){if("object"==typeof r&&null!=r){if(r.outlets){var o={};return kt(r.outlets,function(t,e){o[e]="string"==typeof t?t.split("/"):t}),[].concat(d(t),[{outlets:o}])}if(r.segmentPath)return[].concat(d(t),[r.segmentPath])}return"string"!=typeof r?[].concat(d(t),[r]):0===i?(r.split("/").forEach(function(r,i){0==i&&"."===r||(0==i&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))}),t):[].concat(d(t),[r])},[]);return new ge(n,e,r)}(n);if(o.toRoot())return pe(e.root,new At([],{}),e,r,i);var a=function(t,e,n){if(t.isAbsolute)return new me(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){var r=n.snapshot._urlSegment;return new me(r,r===e.root,0)}var i=fe(t.commands[0])?0:1;return function(t,e,n){for(var r=t,i=e,o=n;o>i;){if(o-=i,!(r=r.parent))throw new Error("Invalid number of '../'");i=r.segments.length}return new me(r,!1,i-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,t.numberOfDoubleDots)}(o,e,t),s=a.processChildren?_e(a.segmentGroup,a.index,o.commands):ye(a.segmentGroup,a.index,o.commands);return pe(a.segmentGroup,s,e,r,i)}(s,this.currentUrlTree,t,c,null!=u?u:null)}},{key:"navigateByUrl",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1},n=Pe(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,e)}},{key:"navigate",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};return function(t){for(var e=0;e1&&void 0!==arguments[1]&&arguments[1];if("computed"===this.canceledNavigationResolution){var i=this.currentPageId-t.targetPageId;"popstate"!==t.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(e=this.currentNavigation)||void 0===e?void 0:e.finalUrl)||0===i?this.currentUrlTree===(null===(n=this.currentNavigation)||void 0===n?void 0:n.finalUrl)&&0===i&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(i)}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(t),this.resetUrlToCurrentUrlTree())}},{key:"resetState",value:function(t){this.routerState=t.currentRouterState,this.currentUrlTree=t.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl)}},{key:"resetUrlToCurrentUrlTree",value:function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}},{key:"cancelNavigationTransition",value:function(t,e){var n=new Q(t.id,this.serializeUrl(t.extractedUrl),e);this.triggerEvent(n),t.resolve(!1)}},{key:"generateNgRouterState",value:function(t,e){return"computed"===this.canceledNavigationResolution?{navigationId:t,"\u0275routerPageId":e}:{navigationId:t}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.LFG(o.DyG),o.LFG(Dt),o.LFG(yn),o.LFG(i.Ye),o.LFG(o.zs3),o.LFG(o.v3s),o.LFG(o.Sil),o.LFG(void 0))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t}();function Mn(t){return"imperative"!==t}var Sn=function(){var t=function(){function t(e,n,r,i,o){y(this,t),this.router=e,this.route=n,this.commands=[],this.onChanges=new C.xQ,null==r&&i.setAttribute(o.nativeElement,"tabindex","0")}return g(t,[{key:"ngOnChanges",value:function(t){this.onChanges.next(this)}},{key:"routerLink",set:function(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}},{key:"onClick",value:function(){var t={skipLocationChange:En(this.skipLocationChange),replaceUrl:En(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,t),!0}},{key:"urlTree",get:function(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:En(this.preserveFragment)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(On),o.Y36(ne),o.$8M("tabindex"),o.Y36(o.Qsj),o.Y36(o.SBq))},t.\u0275dir=o.lG2({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&o.NdJ("click",function(){return e.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[o.TTD]}),t}(),Pn=function(){var t=function(){function t(e,n,r){var i=this;y(this,t),this.router=e,this.route=n,this.locationStrategy=r,this.commands=[],this.onChanges=new C.xQ,this.subscription=e.events.subscribe(function(t){t instanceof $&&i.updateTargetUrlAndHref()})}return g(t,[{key:"routerLink",set:function(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}},{key:"ngOnChanges",value:function(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"onClick",value:function(t,e,n,r,i){if(0!==t||e||n||r||i||"string"==typeof this.target&&"_self"!=this.target)return!0;var o={skipLocationChange:En(this.skipLocationChange),replaceUrl:En(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,o),!1}},{key:"updateTargetUrlAndHref",value:function(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}},{key:"urlTree",get:function(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:En(this.preserveFragment)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(On),o.Y36(ne),o.Y36(i.S$))},t.\u0275dir=o.lG2({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&o.NdJ("click",function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)}),2&t&&(o.Ikx("href",e.href,o.LSH),o.uIk("target",e.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[o.TTD]}),t}();function En(t){return""===t||!!t}var An=function(){var t=function(){function t(e,n,r,i,o,a){var s=this;y(this,t),this.router=e,this.element=n,this.renderer=r,this.cdr=i,this.link=o,this.linkWithHref=a,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.routerEventsSubscription=e.events.subscribe(function(t){t instanceof $&&s.update()})}return g(t,[{key:"ngAfterContentInit",value:function(){var t=this;(0,c.of)(this.links.changes,this.linksWithHrefs.changes,(0,c.of)(null)).pipe((0,G.J)()).subscribe(function(e){t.update(),t.subscribeToEachLinkOnChanges()})}},{key:"subscribeToEachLinkOnChanges",value:function(){var t,e=this;null===(t=this.linkInputChangesSubscription)||void 0===t||t.unsubscribe();var n=[].concat(d(this.links.toArray()),d(this.linksWithHrefs.toArray()),[this.link,this.linkWithHref]).filter(function(t){return!!t}).map(function(t){return t.onChanges});this.linkInputChangesSubscription=(0,s.D)(n).pipe((0,G.J)()).subscribe(function(t){e.isActive!==e.isLinkActive(e.router)(t)&&e.update()})}},{key:"routerLinkActive",set:function(t){var e=Array.isArray(t)?t:t.split(" ");this.classes=e.filter(function(t){return!!t})}},{key:"ngOnChanges",value:function(t){this.update()}},{key:"ngOnDestroy",value:function(){var t;this.routerEventsSubscription.unsubscribe(),null===(t=this.linkInputChangesSubscription)||void 0===t||t.unsubscribe()}},{key:"update",value:function(){var t=this;!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(function(){var e=t.hasActiveLinks();t.isActive!==e&&(t.isActive=e,t.cdr.markForCheck(),t.classes.forEach(function(n){e?t.renderer.addClass(t.element.nativeElement,n):t.renderer.removeClass(t.element.nativeElement,n)}))})}},{key:"isLinkActive",value:function(t){var e=function(t){return!!t.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return function(n){return t.isActive(n.urlTree,e)}}},{key:"hasActiveLinks",value:function(){var t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.linkWithHref&&t(this.linkWithHref)||this.links.some(t)||this.linksWithHrefs.some(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(On),o.Y36(o.SBq),o.Y36(o.Qsj),o.Y36(o.sBO),o.Y36(Sn,8),o.Y36(Pn,8))},t.\u0275dir=o.lG2({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(t,e,n){var r;(1&t&&(o.Suo(n,Sn,5),o.Suo(n,Pn,5)),2&t)&&(o.iGM(r=o.CRH())&&(e.links=r),o.iGM(r=o.CRH())&&(e.linksWithHrefs=r))},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[o.TTD]}),t}(),Tn=function(){var t=function(){function t(e,n,r,i,a){y(this,t),this.parentContexts=e,this.location=n,this.resolver=r,this.changeDetector=a,this.activated=null,this._activatedRoute=null,this.activateEvents=new o.vpe,this.deactivateEvents=new o.vpe,this.name=i||ht,e.onChildOutletCreated(this.name,this)}return g(t,[{key:"ngOnDestroy",value:function(){this.parentContexts.onChildOutletDestroyed(this.name)}},{key:"ngOnInit",value:function(){if(!this.activated){var t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}},{key:"isActivated",get:function(){return!!this.activated}},{key:"component",get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}},{key:"activatedRoute",get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}},{key:"activatedRouteData",get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}},{key:"detach",value:function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var t=this.activated;return this.activated=null,this._activatedRoute=null,t}},{key:"attach",value:function(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}},{key:"deactivate",value:function(){if(this.activated){var t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}},{key:"activateWith",value:function(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;var n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,i=new In(t,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(yn),o.Y36(o.s_b),o.Y36(o._Vd),o.$8M("name"),o.Y36(o.sBO))},t.\u0275dir=o.lG2({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t}(),In=function(){function t(e,n,r){y(this,t),this.route=e,this.childContexts=n,this.parent=r}return g(t,[{key:"get",value:function(t,e){return t===ne?this.route:t===yn?this.childContexts:this.parent.get(t,e)}}]),t}(),Dn=g(function t(){y(this,t)}),Ln=function(){function t(){y(this,t)}return g(t,[{key:"preload",value:function(t,e){return(0,c.of)(null)}}]),t}(),Nn=function(){var t=function(){function t(e,n,r,i,o){y(this,t),this.router=e,this.injector=i,this.preloadingStrategy=o,this.loader=new gn(n,r,function(t){return e.triggerEvent(new it(t))},function(t){return e.triggerEvent(new ot(t))})}return g(t,[{key:"setUpPreloading",value:function(){var t=this;this.subscription=this.router.events.pipe((0,P.h)(function(t){return t instanceof $}),(0,V.b)(function(){return t.preload()})).subscribe(function(){})}},{key:"preload",value:function(){var t=this.injector.get(o.h0i);return this.processRoutes(t,this.router.config)}},{key:"ngOnDestroy",value:function(){this.subscription&&this.subscription.unsubscribe()}},{key:"processRoutes",value:function(t,e){var n,r=[],i=_(e);try{for(i.s();!(n=i.n()).done;){var o=n.value;if(o.loadChildren&&!o.canLoad&&o._loadedConfig){var a=o._loadedConfig;r.push(this.processRoutes(a.module,a.routes))}else o.loadChildren&&!o.canLoad?r.push(this.preloadConfig(t,o)):o.children&&r.push(this.processRoutes(t,o.children))}}catch(u){i.e(u)}finally{i.f()}return(0,s.D)(r).pipe((0,G.J)(),(0,z.U)(function(t){}))}},{key:"preloadConfig",value:function(t,e){var n=this;return this.preloadingStrategy.preload(e,function(){return(e._loadedConfig?(0,c.of)(e._loadedConfig):n.loader.load(t.injector,e)).pipe((0,Z.zg)(function(t){return e._loadedConfig=t,n.processRoutes(t.module,t.routes)}))})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.LFG(On),o.LFG(o.v3s),o.LFG(o.Sil),o.LFG(o.zs3),o.LFG(Dn))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t}(),zn=function(){var t=function(){function t(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};y(this,t),this.router=e,this.viewportScroller=n,this.options=r,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},r.scrollPositionRestoration=r.scrollPositionRestoration||"disabled",r.anchorScrolling=r.anchorScrolling||"disabled"}return g(t,[{key:"init",value:function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}},{key:"createScrollEvents",value:function(){var t=this;return this.router.events.subscribe(function(e){e instanceof X?(t.store[t.lastId]=t.viewportScroller.getScrollPosition(),t.lastSource=e.navigationTrigger,t.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof $&&(t.lastId=e.id,t.scheduleScrollEvent(e,t.router.parseUrl(e.urlAfterRedirects).fragment))})}},{key:"consumeScrollEvents",value:function(){var t=this;return this.router.events.subscribe(function(e){e instanceof lt&&(e.position?"top"===t.options.scrollPositionRestoration?t.viewportScroller.scrollToPosition([0,0]):"enabled"===t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===t.options.anchorScrolling?t.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition([0,0]))})}},{key:"scheduleScrollEvent",value:function(t,e){this.router.triggerEvent(new lt(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.LFG(On),o.LFG(i.EM),o.LFG(void 0))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t}(),Fn=new o.OlP("ROUTER_CONFIGURATION"),Rn=new o.OlP("ROUTER_FORROOT_GUARD"),jn=[i.Ye,{provide:Dt,useClass:Lt},{provide:On,useFactory:function(t,e,n,r,i,o,a){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},u=arguments.length>8?arguments[8]:void 0,c=arguments.length>9?arguments[9]:void 0,l=new On(null,t,e,n,r,i,o,_t(a));return u&&(l.urlHandlingStrategy=u),c&&(l.routeReuseStrategy=c),function(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy)}(s,l),s.enableTracing&&l.events.subscribe(function(t){var e,n;null===(e=console.group)||void 0===e||e.call(console,"Router Event: ".concat(t.constructor.name)),console.log(t.toString()),console.log(t),null===(n=console.groupEnd)||void 0===n||n.call(console)}),l},deps:[Dt,yn,i.Ye,o.zs3,o.v3s,o.Sil,vn,Fn,[function(){return g(function t(){y(this,t)})}(),new o.FiY],[function(){return g(function t(){y(this,t)})}(),new o.FiY]]},yn,{provide:ne,useFactory:function(t){return t.routerState.root},deps:[On]},{provide:o.v3s,useClass:o.EAV},Nn,Ln,function(){function t(){y(this,t)}return g(t,[{key:"preload",value:function(t,e){return e().pipe((0,B.K)(function(){return(0,c.of)(null)}))}}]),t}(),{provide:Fn,useValue:{enableTracing:!1}}];function Bn(){return new o.PXZ("Router",On)}var Vn=function(){var t=function(){function t(e,n){y(this,t)}return g(t,null,[{key:"forRoot",value:function(e,n){return{ngModule:t,providers:[jn,Un(e),{provide:Rn,useFactory:qn,deps:[[On,new o.FiY,new o.tp0]]},{provide:Fn,useValue:n||{}},{provide:i.S$,useFactory:Zn,deps:[i.lw,[new o.tBr(i.mr),new o.FiY],Fn]},{provide:zn,useFactory:Yn,deps:[On,i.EM,Fn]},{provide:Dn,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Ln},{provide:o.PXZ,multi:!0,useFactory:Bn},[Hn,{provide:o.ip1,multi:!0,useFactory:Gn,deps:[Hn]},{provide:Xn,useFactory:Jn,deps:[Hn]},{provide:o.tb,multi:!0,useExisting:Xn}]]}}},{key:"forChild",value:function(e){return{ngModule:t,providers:[Un(e)]}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.LFG(Rn,8),o.LFG(On,8))},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({}),t}();function Yn(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new zn(t,e,n)}function Zn(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.useHash?new i.Do(t,e):new i.b0(t,e)}function qn(t){return"guarded"}function Un(t){return[{provide:o.deG,multi:!0,useValue:t},{provide:vn,multi:!0,useValue:t}]}var Hn=function(){var t=function(){function t(e){y(this,t),this.injector=e,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new C.xQ}return g(t,[{key:"appInitializer",value:function(){var t=this;return this.injector.get(i.V_,Promise.resolve(null)).then(function(){if(t.destroyed)return Promise.resolve(!0);var e=null,n=new Promise(function(t){return e=t}),r=t.injector.get(On),i=t.injector.get(Fn);return"disabled"===i.initialNavigation?(r.setUpLocationChangeListener(),e(!0)):"enabled"===i.initialNavigation||"enabledBlocking"===i.initialNavigation?(r.hooks.afterPreactivation=function(){return t.initNavigation?(0,c.of)(null):(t.initNavigation=!0,e(!0),t.resultOfPreactivationDone)},r.initialNavigation()):e(!0),n})}},{key:"bootstrapListener",value:function(t){var e=this.injector.get(Fn),n=this.injector.get(Nn),r=this.injector.get(zn),i=this.injector.get(On),a=this.injector.get(o.z2F);t===a.components[0]&&(("enabledNonBlocking"===e.initialNavigation||void 0===e.initialNavigation)&&i.initialNavigation(),n.setUpPreloading(),r.init(),i.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}},{key:"ngOnDestroy",value:function(){this.destroyed=!0}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.LFG(o.zs3))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t}();function Gn(t){return t.appInitializer.bind(t)}function Jn(t){return t.bootstrapListener.bind(t)}var Xn=new o.OlP("Router Initializer")},62579:function(t,e,n){"use strict";n.d(e,{L1:function(){return d},ux:function(){return p},UA:function(){return v},H3:function(){return g},Ct:function(){return m},s5:function(){return y},yZ:function(){return _},m9:function(){return f}});var r=n(74788),i=n(29856),o=n(22759),a=n(9945),s=n(39761),u=n(88002),c=n(87519),l=n(47349),h=n(12057),f=new r.OlP("An abstraction over global window object",{factory:function(){var t=(0,r.f3M)(h.K0).defaultView;if(!t)throw new Error("Window is not available");return t}}),d=new r.OlP("Shared Observable based on `window.requestAnimationFrame`",{factory:function(){var t=(0,r.f3M)(f),e=t.requestAnimationFrame,n=t.cancelAnimationFrame;return new i.y(function(t){var r=NaN;return r=e(function n(i){t.next(i),r=e(n)}),function(){n(r)}}).pipe((0,a.B)())}}),p=(new r.OlP("An abstraction over window.caches object",{factory:function(){return(0,r.f3M)(f).caches}}),new r.OlP("An abstraction over window.crypto object",{factory:function(){return(0,r.f3M)(f).crypto}}),new r.OlP("An abstraction over window.CSS object",{factory:function(){return(0,r.f3M)(f).CSS||{escape:function(t){return t},supports:function(){return!1}}}})),v=new r.OlP("An abstraction over window.history object",{factory:function(){return(0,r.f3M)(f).history}}),g=new r.OlP("An abstraction over window.localStorage object",{factory:function(){return(0,r.f3M)(f).localStorage}}),m=new r.OlP("An abstraction over window.location object",{factory:function(){return(0,r.f3M)(f).location}}),y=new r.OlP("An abstraction over window.navigator object",{factory:function(){return(0,r.f3M)(f).navigator}}),_=(new r.OlP("An abstraction over window.navigator.mediaDevices object",{factory:function(){return(0,r.f3M)(y).mediaDevices}}),new r.OlP("An abstraction over window.navigator.connection object",{factory:function(){return(0,r.f3M)(y).connection||null}}),new r.OlP("Shared Observable based on `document visibility changed`",{factory:function(){var t=(0,r.f3M)(h.K0);return(0,o.R)(t,"visibilitychange").pipe((0,s.O)(0),(0,u.U)(function(){return"hidden"!==t.visibilityState}),(0,c.x)(),(0,l.d)({refCount:!1,bufferSize:1}))}}),new r.OlP("An abstraction over window.performance object",{factory:function(){return(0,r.f3M)(f).performance}}),new r.OlP("An abstraction over window.screen object",{factory:function(){return(0,r.f3M)(f).screen}}),new r.OlP("An abstraction over window.sessionStorage object",{factory:function(){return(0,r.f3M)(f).sessionStorage}}),new r.OlP("An abstraction over SpeechRecognition class",{factory:function(){var t=(0,r.f3M)(f);return t.speechRecognition||t.webkitSpeechRecognition||null}}),new r.OlP("An abstraction over window.speechSynthesis object",{factory:function(){return(0,r.f3M)(f).speechSynthesis}}),new r.OlP("An abstraction over window.navigator.userAgent object",{factory:function(){return(0,r.f3M)(y).userAgent}}))},68159:function(t,n,r){"use strict";r.d(n,{c0:function(){return us},JF:function(){return cs},FU:function(){return hs},mG:function(){return fs},zb:function(){return Cs},Lx:function(){return Os},B7:function(){return ds},f2:function(){return As},u4:function(){return Ts},$5:function(){return Us},qn:function(){return Hs},qo:function(){return $s},Lq:function(){return Qs},nj:function(){return Xs},hs:function(){return Ps}});var o=r(74788),s=r(64548),c=r(44427),l=r(26215),h=r(79765),v=r(41291),m=r(66682),_=r(43190),b=r(88002),k=r(39761),w=r(46782),C=r(45435),x=r(19773),O=r(15257),M=r(87519),S=r(9945),P=r(33770),E=r(40719),A=r(12057),T=["wrapper"];function I(t,e){if(1&t&&(o.TgZ(0,"tui-loader",4),o.GkF(1,5),o.qZA()),2&t){var n=o.oxw(2);o.Q6J("overlay",!0)("showLoader",n.loading),o.xp6(1),o.Q6J("ngTemplateOutlet",n.content)}}function D(t,e){if(1&t&&(o.ynx(0),o.Hsn(1),o.YNc(2,I,2,3,"tui-loader",3),o.BQk()),2&t){var n=o.oxw();o.xp6(2),o.Q6J("ngIf",n.async)("ngIfElse",n.content)}}var L,N=["*"],z=((L=g(function t(){y(this,t)})).\u0275fac=function(t){return new(t||L)},L.\u0275dir=o.lG2({type:L,selectors:[["","tuiExpandContent",""]]}),L),F=function(){var t=function(){function t(e){y(this,t),this.cdr=e,this.state=0,this.async=!1,this.content=null,this.expanded=null}return g(t,[{key:"expandedSetter",set:function(t){if(null!==this.expanded)return 0!==this.state?(this.expanded=t,void(this.state=3)):(this.expanded=t,void this.retrigger(this.async&&t?1:3));this.expanded=t}},{key:"overflow",get:function(){return 0!==this.state}},{key:"loading",get:function(){return!!this.expanded&&this.async&&1===this.state}},{key:"height",get:function(){var t=this.expanded,e=this.state,n=this.contentWrapper;return t&&2===e||!t&&3===e?0:n&&(!t&&2===e||t&&3===e)?n.nativeElement.offsetHeight:n&&t&&1===e?Math.max(n.nativeElement.offsetHeight,48):null}},{key:"contentVisible",get:function(){return this.expanded||0!==this.state}},{key:"onTransitionEnd",value:function(t){"opacity"===t.propertyName&&3===this.state&&(this.state=0)}},{key:"onExpandLoaded",value:function(t){t.stopPropagation(),1===this.state&&this.retrigger(3)}},{key:"retrigger",value:function(t){var e=this;this.state=2,setTimeout(function(){2===e.state&&(e.state=t,e.cdr.markForCheck())})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.sBO))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-expand"]],contentQueries:function(t,e,n){var r;(1&t&&o.Suo(n,z,5,o.Rgc),2&t)&&(o.iGM(r=o.CRH())&&(e.content=r.first))},viewQuery:function(t,e){var n;(1&t&&o.Gf(T,5),2&t)&&(o.iGM(n=o.CRH())&&(e.contentWrapper=n.first))},hostVars:9,hostBindings:function(t,e){1&t&&o.NdJ("transitionend.self",function(t){return e.onTransitionEnd(t)})("tui-expand-loaded",function(t){return e.onExpandLoaded(t)}),2&t&&(o.uIk("aria-expanded",e.expanded),o.Udp("height",e.height,"px"),o.ekj("_expanded",e.expanded)("_overflow",e.overflow)("_loading",e.loading))},inputs:{async:"async",expandedSetter:["expanded","expandedSetter"]},ngContentSelectors:N,decls:3,vars:3,consts:[[1,"t-wrapper"],["wrapper",""],[4,"ngIf"],["size","l",3,"overlay","showLoader",4,"ngIf","ngIfElse"],["size","l",3,"overlay","showLoader"],[3,"ngTemplateOutlet"]],template:function(t,e){1&t&&(o.F$t(),o.TgZ(0,"div",0,1),o.YNc(2,D,3,2,"ng-container",2),o.qZA()),2&t&&(o.Q6J("@tuiParentAnimation",void 0)("@.disabled",e.overflow),o.xp6(2),o.Q6J("ngIf",e.contentVisible))},directives:[A.O5,E.kM,A.tP],styles:['[_nghost-%COMP%]{display:block;transition-property:opacity,height,visibility;transition-duration:var(--tui-duration, .3s);opacity:0}._overflow[_nghost-%COMP%]{overflow:hidden}._expanded[_nghost-%COMP%]{opacity:1;transform:translate(0)}._loading[_nghost-%COMP%]{opacity:.99}.t-wrapper[_ngcontent-%COMP%]:before, .t-wrapper[_ngcontent-%COMP%]:after{content:"";display:table}'],data:{animation:[P.Kx]},changeDetection:0}),t}(),R=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,E.dS]]}),t}(),j=r(75122),B=r(56083),V=r(91211),Y=r(62579),Z=r(27103),q=r(99434),U=r(11927),H=r(25917),G=r(9112),J=r(81359),X=r(92668),$=r(64493),Q=r(57179),W=function(){var t=function(){function t(e,n,r){var i=this;y(this,t),this.doc=e,this.el=n,this.renderer=r,this.activeElement=(0,Q.ie)(this.doc),Promise.resolve().then(function(){return i.el.nativeElement.focus()})}return g(t,[{key:"onBlur",value:function(){this.renderer.removeAttribute(this.el.nativeElement,"tabIndex")}},{key:"onFocusIn",value:function(t){var e=this.el.nativeElement;if(!(0,$.PP)(e,t)){var n=(0,Q.BW)({initial:e,root:e});n&&n.focus()}}},{key:"ngOnDestroy",value:function(){var t=this;(0,Q.hp)(this.doc),Promise.resolve().then(function(){(0,$.dW)(t.activeElement)&&t.activeElement.focus()})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(A.K0),o.Y36(o.SBq),o.Y36(o.Qsj))},t.\u0275dir=o.lG2({type:t,selectors:[["","tuiFocusTrap",""]],hostAttrs:["tabIndex","0"],hostBindings:function(t,e){1&t&&o.NdJ("blur",function(){return e.onBlur()})("focusin.silent",function(t){return e.onFocusIn(t.target)},!1,o.Jf7)}}),t}(),K=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({}),t}(),tt=r(71486),et=r(89570);function nt(t,e){1&t&&o.GkF(0)}function rt(t,e){1&t&&o._UZ(0,"tui-scroll-controls",5)}function it(t,e){if(1&t&&(o.TgZ(0,"section",2),o.YNc(1,nt,1,0,"ng-container",3),o.YNc(2,rt,1,0,"tui-scroll-controls",4),o.qZA()),2&t){var n=e.$implicit,r=o.oxw();o.Q6J("@host",void 0),o.uIk("aria-labelledby",n.id),o.xp6(1),o.Q6J("polymorpheusOutlet",n.component)("polymorpheusOutletContext",n),o.xp6(1),o.Q6J("ngIf",!r.isMobile)}}function ot(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"div",6),o.NdJ("transitionend",function(t){var e=o.CHM(n).tuiLet,r=o.oxw();return r.onDialog(t,!!r.dialogs.length,!!e)})("popstate",function(){var t=o.CHM(n).tuiLet,e=o.oxw();return e.closeLast(e.dialogs,!!t)},!1,o.Jf7),o.qZA()}if(2&t){var r=o.oxw();o.ekj("t-overlay_visible",r.dialogs.length)}}var at={label:"ignoreMe"},st=(0,U.JN)((0,H.of)(!1)),ut=function(){var t=function(){function t(e,n,r,i,o,a,s,u){y(this,t),this.isMobile=e,this.isDialogClosesOnBack$=n,this.dialogsByType=r,this.historyRef=i,this.titleService=o,this.destroy$=a,this.cdr=s,this.doc=u,this.dialogs=[]}return g(t,[{key:"ngOnInit",value:function(){var t=this;(0,G.aj)(this.dialogsByType).pipe((0,b.U)(function(t){var e;return(e=[]).concat.apply(e,d(t)).sort(function(t,e){return t.createdAt-e.createdAt})}),(0,w.R)(this.destroy$)).subscribe(function(e){t.dialogs=e,t.cdr.markForCheck(),t.doc.documentElement.classList.toggle("t-overscroll-none",!!e.length)})}},{key:"closeLast",value:function(t,e){if(e){var n=p(t.slice(-1),1)[0];!n||(t.length>1&&this.historyRef.pushState(at,this.titleService.getTitle()),n.$implicit.complete())}}},{key:"onDialog",value:function(t,e,n){var r,i=t.propertyName;!n||"letter-spacing"!==i||(e?this.historyRef.pushState(at,this.titleService.getTitle()):(null==(r=this.historyRef.state)?void 0:r.label)===at.label&&this.historyRef.back())}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(q.fL),o.Y36(st),o.Y36(q.qY),o.Y36(Y.UA),o.Y36(V.Dx),o.Y36(Z.a3,2),o.Y36(o.sBO),o.Y36(A.K0))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-dialog-host"]],features:[o._Bn([Z.a3])],decls:3,vars:4,consts:[["aria-modal","true","role","dialog","tuiFocusTrap","","tuiOverscroll","all","tuiScrollRef","","class","t-dialog",4,"ngFor","ngForOf"],["class","t-overlay",3,"t-overlay_visible","transitionend","popstate",4,"tuiLet"],["aria-modal","true","role","dialog","tuiFocusTrap","","tuiOverscroll","all","tuiScrollRef","",1,"t-dialog"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],["class","t-scrollbars",4,"ngIf"],[1,"t-scrollbars"],[1,"t-overlay",3,"transitionend","popstate"]],template:function(t,e){1&t&&(o.YNc(0,it,3,5,"section",0),o.YNc(1,ot,1,2,"div",1),o.ALo(2,"async")),2&t&&(o.Q6J("ngForOf",e.dialogs),o.xp6(1),o.Q6J("tuiLet",o.lcZ(2,2,e.isDialogClosesOnBack$)))},directives:[A.sg,X.Ls,W,tt.W,J.ex,et.Li,A.O5,J.tZ],pipes:[A.Ov],styles:["[_nghost-%COMP%]{position:fixed;left:0;bottom:0;width:100%;height:0}.t-overlay[_ngcontent-%COMP%], .t-dialog[_ngcontent-%COMP%]{position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:flex-start;outline:none;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.t-overlay.ng-animating[_ngcontent-%COMP%], .t-dialog.ng-animating[_ngcontent-%COMP%]{overflow:clip}.t-overlay[_ngcontent-%COMP%]::-webkit-scrollbar, .t-dialog[_ngcontent-%COMP%]::-webkit-scrollbar, .t-overlay[_ngcontent-%COMP%]::-webkit-scrollbar-thumb, .t-dialog[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:transparent;width:0;height:0}.t-dialog[_ngcontent-%COMP%]{bottom:auto;height:100%}.t-overlay[_ngcontent-%COMP%]{height:100%;pointer-events:none;touch-action:none;opacity:0;letter-spacing:normal;transition:opacity var(--tui-duration, .3s),letter-spacing .01s;background:rgba(0,0,0,.75);-webkit-backdrop-filter:var(--tui-backdrop, none);backdrop-filter:var(--tui-backdrop, none)}.t-overlay_visible[_ngcontent-%COMP%]{opacity:1;letter-spacing:1px}.t-dialog[_ngcontent-%COMP%]:last-of-type{z-index:1}.t-scrollbars[_ngcontent-%COMP%]{position:fixed;top:0;left:0;right:0;bottom:0;margin:0;color:#747474}"],data:{animation:[(0,B.X$)("host",[(0,B.eR)(":enter",[(0,B.oB)({overflow:"clip"}),(0,B.IO)(":scope > *",[(0,B.pV)()],{optional:!0})]),(0,B.eR)(":leave",[(0,B.oB)({overflow:"clip"}),(0,B.IO)(":scope > *",[(0,B.pV)()],{optional:!0})])])]}}),t}(),ct=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,et.wq,tt.e,K,X.WD,J.eI]]}),t}(),lt=function(){var t=function(){function t(){y(this,t)}return g(t,[{key:"transform",value:function(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i.t-wrapper{position:fixed;top:0;left:0;display:flex;width:100%;height:100%;flex-direction:column;pointer-events:none}tui-alert-host>.t-wrapper>*{pointer-events:auto}\n"],encapsulation:2,data:{animation:[P.Kx]}}),t}(),vt=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,ht]]}),t}(),gt=r(87941),mt=r(79456),yt=r(54395);function _t(t,e){1&t&&(o.O4$(),o._UZ(0,"defs",4)),2&t&&o.Q6J("innerHTML",e.$implicit,o.oJD)}function bt(t,e){if(1&t&&(o.O4$(),o.ynx(0),o.YNc(1,_t,1,1,"defs",3),o.BQk()),2&t){var n=o.oxw();o.xp6(1),o.Q6J("ngForOf",n.items)}}function kt(t,e){if(1&t&&(o.O4$(),o.TgZ(0,"defs"),o._UZ(1,"svg",6),o.qZA()),2&t){var n=e.$implicit;o.xp6(1),o.Q6J("outerHTML",n,o.oJD)}}function wt(t,e){if(1&t&&(o.O4$(),o.YNc(0,kt,2,1,"defs",5)),2&t){var n=o.oxw();o.Q6J("ngForOf",n.items)}}var Ct=function(){var t=function(){function t(e,n,r,i){y(this,t),this.svgService=e,this.cdr=n,this.destroy$=r,this.isBrowser=!0,this.isBrowser=!(0,A.PM)(i)}return g(t,[{key:"ngOnInit",value:function(){var t=this;this.svgService.items$.pipe((0,w.R)(this.destroy$)).subscribe(function(e){t.items=e.values(),t.cdr.detectChanges()})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(gt.K5),o.Y36(o.sBO),o.Y36(Z.a3,2),o.Y36(o.Lbi))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-svg-defs-host"]],features:[o._Bn([Z.a3])],decls:4,vars:2,consts:[["version","1.1",0,"xmlns","xlink","http://www.w3.org/1999/xlink","xmlns","http://www.w3.org/2000/svg"],[4,"ngIf","ngIfElse"],["server",""],[3,"innerHTML",4,"ngFor","ngForOf"],[3,"innerHTML"],[4,"ngFor","ngForOf"],[3,"outerHTML"]],template:function(t,e){if(1&t&&(o.O4$(),o.TgZ(0,"svg",0),o.YNc(1,bt,2,1,"ng-container",1),o.YNc(2,wt,1,1,"ng-template",null,2,o.W1O),o.qZA()),2&t){var n=o.MAs(3);o.xp6(1),o.Q6J("ngIf",e.isBrowser)("ngIfElse",n)}},directives:[A.O5,A.sg],styles:["[_nghost-%COMP%]{display:none}"],changeDetection:0}),t}(),xt=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,X.WD]]}),t}(),Ot=r(221);function Mt(t,e){1&t&&o.GkF(0)}var St=function(t){return{$implicit:t}};function Pt(t,e){if(1&t&&(o.TgZ(0,"div",1),o.YNc(1,Mt,1,0,"ng-container",2),o.qZA()),2&t){var n=e.$implicit;o.Q6J("@tuiParentAnimation",void 0)("tuiActiveZoneParent",n.activeZone||null),o.xp6(1),o.Q6J("polymorpheusOutlet",n.component)("polymorpheusOutletContext",o.VKq(4,St,n))}}var Et=function(){var t=function(){function t(e,n,r){y(this,t),this.hints$=e,this.destroy$=n,this.cdr=r,this.hints=[]}return g(t,[{key:"ngOnInit",value:function(){var t=this;this.hints$.pipe((0,w.R)(this.destroy$)).subscribe(function(e){t.hints=e,t.cdr.detectChanges()})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(gt.BN),o.Y36(Z.a3,2),o.Y36(o.sBO))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-hints-host"]],hostAttrs:["aria-live","polite"],features:[o._Bn([Z.a3])],decls:1,vars:1,consts:[["role","tooltip",3,"tuiActiveZoneParent",4,"ngFor","ngForOf"],["role","tooltip",3,"tuiActiveZoneParent"],[4,"polymorpheusOutlet","polymorpheusOutletContext"]],template:function(t,e){1&t&&o.YNc(0,Pt,2,6,"div",0),2&t&&o.Q6J("ngForOf",e.hints)},directives:[A.sg,Ot.e,et.Li],styles:["[_nghost-%COMP%]{position:fixed;top:0;left:0;width:100%;height:0}"],data:{animation:[P.Kx]}}),t}(),At=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,et.wq,Ot.A]]}),t}(),Tt=r(11557);function It(t,e){1&t&&o._UZ(0,"tui-scroll-controls",2)}var Dt=["*",[["tuiOverContent"]],[["tuiOverDialogs"]],[["tuiOverAlerts"]],[["tuiOverPortals"]],[["tuiOverHints"]]],Lt=["*","tuiOverContent","tuiOverDialogs","tuiOverAlerts","tuiOverPortals","tuiOverHints"],Nt=function(){var t=g(function t(e,n,r,i,o,a,s,u){var c=s.body;y(this,t),this.duration=e,this.dialogs=n,this.isMobile=r,this.breakpoint=i,this.isIOS=o,this.isAndroid=a,this.isMobileRes$=this.breakpoint.pipe((0,b.U)(function(t){return"mobile"===t})),this.scrollbars$=this.dialogs.length&&!this.isMobile?(0,G.aj)(d(this.dialogs)).pipe((0,b.U)(function(t){return!t.some(function(t){return t.length})}),(0,yt.b)(0)):(0,H.of)(!this.isMobile),c.setAttribute("data-tui-theme",u.toLowerCase())});return t.\u0275fac=function(e){return new(e||t)(o.Y36(mt.dx),o.Y36(q.qY),o.Y36(q.fL),o.Y36(gt.zE),o.Y36(q.FA),o.Y36(q.XG),o.Y36(A.K0),o.Y36(mt.r2))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-root"]],hostAttrs:["data-tui-version","3.56.0"],hostVars:7,hostBindings:function(t,e){1&t&&o.NdJ("$.class._mobile",function(){return e.isMobileRes$}),2&t&&(o.Ikx("$.class._mobile",e.isMobileRes$),o.Udp("--tui-duration",e.duration,"ms"),o.ekj("_ios",e.isIOS)("_android",e.isAndroid))},ngContentSelectors:Lt,decls:14,vars:3,consts:[["class","t-root-scrollbar",4,"ngIf"],[1,"t-root-content"],[1,"t-root-scrollbar"]],template:function(t,e){1&t&&(o.F$t(Dt),o.YNc(0,It,1,0,"tui-scroll-controls",0),o.ALo(1,"async"),o._UZ(2,"tui-svg-defs-host"),o.TgZ(3,"tui-dropdown-host"),o.TgZ(4,"div",1),o.Hsn(5),o.qZA(),o.Hsn(6,1),o._UZ(7,"tui-dialog-host"),o.Hsn(8,2),o._UZ(9,"tui-alert-host"),o.Hsn(10,3),o.qZA(),o.Hsn(11,4),o._UZ(12,"tui-hints-host"),o.Hsn(13,5)),2&t&&o.Q6J("ngIf",o.lcZ(1,1,e.scrollbars$))},directives:[A.O5,Ct,j.qY,ut,pt,Et,J.tZ],pipes:[A.Ov],styles:['@keyframes tuiPresent{to{content:"1"}}@keyframes tuiSkeletonVibe{to{opacity:.5}}html,.tui-zero-scrollbar{scrollbar-width:none;-ms-overflow-style:none}html::-webkit-scrollbar,.tui-zero-scrollbar::-webkit-scrollbar,html::-webkit-scrollbar-thumb,.tui-zero-scrollbar::-webkit-scrollbar-thumb{background:transparent;width:0;height:0}body{font:var(--tui-font-text-s);color:var(--tui-text-01);background:var(--tui-base-01);margin:0}tui-root{position:relative;display:block;flex:1;-webkit-tap-highlight-color:transparent}tui-root>.t-root-scrollbar{position:fixed;top:0;left:0;bottom:0;right:0;margin:0}.t-root-content{height:100%;isolation:isolate}.t-overscroll-none{overscroll-behavior:none;overflow:hidden}\n'],encapsulation:2}),t}(),zt=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,Tt.X1,j.mL,xt,At,ct,vt,J.eI]]}),t}(),Ft=r(76480),Rt=function(){var t,e=function(t){a(n,t);var e=u(n);function n(){return y(this,n),e.apply(this,arguments)}return g(n)}(Ft.GM);return e.\u0275fac=function(n){return(t||(t=o.n5z(e)))(n||e)},e.\u0275cmp=o.Xpm({type:e,selectors:[["tui-theme-night"]],features:[o.qOj],decls:0,vars:0,template:function(t,e){},styles:[":root{--tui-base-01: #222;--tui-base-02: #333;--tui-base-03: #808080;--tui-base-04: #959595;--tui-base-05: #b0b0b0;--tui-base-06: #d7d7d7;--tui-base-07: #ededed;--tui-base-08: #f6f6f6;--tui-base-09: #fff;--tui-focus: rgba(51, 51, 51, .64);--tui-secondary: rgba(255, 255, 255, .16);--tui-secondary-hover: rgba(255, 255, 255, .24);--tui-secondary-active: rgba(255, 255, 255, .4);--tui-clear: rgba(255, 255, 255, .16);--tui-clear-disabled: rgba(255, 255, 255, .08);--tui-clear-hover: rgba(255, 255, 255, .24);--tui-clear-active: rgba(255, 255, 255, .4);--tui-error-fill: #ff8c67;--tui-error-bg: rgba(244, 87, 37, .32);--tui-error-bg-hover: rgba(244, 87, 37, .4);--tui-success-fill: #4ac99b;--tui-success-bg: rgba(74, 201, 155, .32);--tui-success-bg-hover: rgba(74, 201, 155, .4);--tui-warning-fill: #ffc700;--tui-warning-bg: rgba(255, 199, 0, .32);--tui-warning-bg-hover: rgba(255, 199, 0, .4);--tui-info-fill: #70b6f6;--tui-info-bg: rgba(112, 182, 246, .32);--tui-info-bg-hover: rgba(112, 182, 246, .4);--tui-neutral-fill: #959ba4;--tui-neutral-bg: rgba(149, 155, 164, .32);--tui-neutral-bg-hover: rgba(149, 155, 164, .48);--tui-text-01: #ffffff;--tui-text-02: rgba(255, 255, 255, .72);--tui-text-03: rgba(255, 255, 255, .6);--tui-link: #6788ff;--tui-link-hover: #526ed3;--tui-positive: #44c596;--tui-positive-hover: #3aa981;--tui-negative: #ff8c67;--tui-negative-hover: #bb593a;--tui-autofill: var(--tui-autofill-night);--tui-elevation-01: #222;--tui-elevation-02: #222;--tui-shadow: 0 .25rem 1.5rem rgba(0, 0, 0, .12);--tui-shadow-hover: 0 .75rem 2.25rem rgba(0, 0, 0, .2);--tui-shadow-dropdown: 0 1.5rem 1rem rgba(0, 0, 0, .03), 0 .75rem .75rem rgba(0, 0, 0, .04), 0 .25rem .375rem rgba(0, 0, 0, .05);--tui-shadow-modal: 0 1.125rem 1.875rem rgba(0, 0, 0, .48);--tui-shadow-sidebar: .25rem 0 1.5rem rgba(0, 0, 0, .12);--tui-shadow-navigation: 0 .125rem 1rem rgba(0, 0, 0, .08);--tui-shadow-sheet: 0 -1rem 1.75rem rgba(0, 0, 0, .24)}tui-notification{--tui-base-01: #000}\n"],encapsulation:2,changeDetection:0}),e}(),jt=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({}),t}(),Bt=r(12628),Vt=r(75452),Yt=r(82847),Zt=r(79588),qt=r(90022),Ut=r(75111),Ht=r(1515),Gt=r(95974),Jt=r(54789),Xt=r(98952),$t=r(94853),Qt=r(60885),Wt=r(80134),Kt=r(49941),te=r(22759),ee=r(72361);function ne(t,e){if(1&t&&(o.ynx(0),o._uU(1),o.BQk()),2&t){var n=e.polymorpheusOutlet;o.xp6(1),o.hij(" ",n," ")}}function re(t,e){if(1&t&&(o.TgZ(0,"label",4),o.YNc(1,ne,2,1,"ng-container",5),o.qZA()),2&t){var n=o.oxw();o.xp6(1),o.Q6J("polymorpheusOutlet",n.item.label)("polymorpheusOutletContext",n.item)}}function ie(t,e){1&t&&o._UZ(0,"div",6),2&t&&o.Q6J("innerHTML",e.polymorpheusOutlet,o.oJD)}var oe=(0,U.N1)(function(){return(0,o.f3M)(q.fL)?"1rem 1rem 0 auto":"2rem 3rem 0 auto"}),ae=function(){var t=function(){function t(e,n,r,i,o){y(this,t),this.el=e,this.destroy$=n,this.position=r,this.options=i,this.item=o,this.autoClose="function"==typeof this.item.autoClose?this.item.autoClose(this.item.status):this.item.autoClose,this.animation=this.position.endsWith("auto")?Object.assign(Object.assign({},this.options),{value:"right"}):Object.assign(Object.assign({},this.options),{value:"left"})}return g(t,[{key:"ngOnInit",value:function(){this.initAutoClose()}},{key:"close",value:function(){this.item.$implicit.complete()}},{key:"initAutoClose",value:function(){var t=this;!this.autoClose||(0,v.H)((0,U.dt)(this.autoClose)?this.autoClose:3e3).pipe((0,w.R)((0,te.R)(this.el.nativeElement,"mouseenter")),(0,ee.a)(function(){return(0,te.R)(t.el.nativeElement,"mouseleave")}),(0,w.R)(this.destroy$)).subscribe(function(){return t.close()})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.SBq),o.Y36(Z.a3,2),o.Y36(oe),o.Y36(mt.Pw),o.Y36(et.yf))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-alert"]],hostAttrs:["role","alert"],hostVars:5,hostBindings:function(t,e){2&t&&(o.d8E("@tuiFadeIn",e.options)("@tuiSlideIn",e.animation)("@tuiHeightCollapse",e.animation),o.Udp("margin",e.position))},features:[o._Bn([Z.a3])],decls:4,vars:7,consts:[[3,"hasIcon","hideClose","icon","status","close"],["automation-id","tui-notification-alert__heading","class","t-heading",4,"ngIf"],["automation-id","tui-notification-alert__content",1,"t-content"],[3,"innerHTML",4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-notification-alert__heading",1,"t-heading"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],[3,"innerHTML"]],template:function(t,e){1&t&&(o.TgZ(0,"tui-notification",0),o.NdJ("close",function(){return e.close()}),o.YNc(1,re,2,2,"label",1),o.TgZ(2,"div",2),o.YNc(3,ie,1,1,"div",3),o.qZA(),o.qZA()),2&t&&(o.Q6J("hasIcon",e.item.hasIcon)("hideClose",!e.item.hasCloseButton)("icon",e.item.icon)("status",e.item.status),o.xp6(1),o.Q6J("ngIf",e.item.label),o.xp6(2),o.Q6J("polymorpheusOutlet",e.item.content)("polymorpheusOutletContext",e.item))},directives:[Qt.L,A.O5,et.Li],styles:["[_nghost-%COMP%]{box-shadow:var(--tui-shadow-dropdown);display:block;border-radius:var(--tui-radius-l);width:18rem}[_nghost-%COMP%]:not(:first-child){margin-top:.75rem!important}[_nghost-%COMP%]:not(:last-child){margin-bottom:0!important}.t-heading[_ngcontent-%COMP%]{margin:0}[data-size=s][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-s);font-weight:bold}[data-size=m][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-m);line-height:1.25rem;font-weight:bold}[data-size=l][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-l);line-height:1.5rem;font-weight:bold}.t-content[_ngcontent-%COMP%]{color:var(--tui-text-01);word-wrap:break-word;word-break:break-word}.t-content[_ngcontent-%COMP%]:empty{display:none}"],data:{animation:[Kt.QF,Kt.Gw,Kt.eu]},changeDetection:0}),t}(),se=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r){var i;return y(this,n),(i=e.call(this,r)).defaultOptions=t,i.component=new et.Al(ae),i}return g(n)}(Ft.d5);return t.\u0275fac=function(e){return new(e||t)(o.LFG(mt.Ln),o.LFG(Z.ll))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),ue=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({providers:[(0,q.XH)(se)],imports:[[A.ez,et.wq,Qt.H]]}),t}(),ce=r(59796),le=r(56693),he=r(55197),fe=r(96563),de=function(){function t(){y(this,t)}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new pe(t))}}]),t}(),pe=function(t){a(n,t);var e=u(n);function n(t){var r;return y(this,n),(r=e.call(this,t)).hasFirst=!1,r.observables=[],r.subscriptions=[],r}return g(n,[{key:"_next",value:function(t){this.observables.push(t)}},{key:"_complete",value:function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{for(var n=0;n17&&o.isOutside((0,$.mA)(t))}),(0,_.w)(function(){return(0,Ee.mL)(o.doc,"mouseup").pipe((0,O.q)(1),(0,b.U)($.mA),(0,C.h)(function(t){return o.isOutside(t)}))})),o}return g(n,[{key:"element",get:function(){return this.el.nativeElement}},{key:"isOutside",value:function(t){return(0,$.ve)(t)&&(!(0,$.PP)(this.element,t)||t===this.element)}}]),n}(Te.y);return t.\u0275fac=function(e){return new(e||t)(o.LFG(Y.m9),o.LFG(A.K0),o.LFG(o.SBq))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t}(),Ve=new Error("Required dialog was dismissed");function Ye(t){return(0,Ie.b)(t)?t:(0,H.of)(t)}var Ze=new et.Al(function(){var t=function(){function t(e,n,r,i,o,a,s,u){var c=this;y(this,t),this.duration=e,this.isMobile=n,this.context=r,this.closeWord$=s,this.icons=u,this.animation={value:"",params:{start:"40px",duration:this.duration}},this.fullscreenAnimation={value:"",params:{start:"100vh",duration:this.duration}},this.close$=new h.xQ,(0,m.T)(this.close$.pipe((0,_.w)(function(){return Ye(r.closeable)})),o.pipe((0,_.w)(function(){return Ye(r.dismissible)})),a.pipe((0,b.U)(P.Ye))).pipe((0,C.h)(Boolean),(0,w.R)(i)).subscribe(function(){c.close()})}return g(t,[{key:"size",get:function(){return this.context.size}},{key:"header",get:function(){return this.context.header}},{key:"slideInTop",get:function(){return this.fullscreen||this.isMobile?this.fullscreenAnimation:this.animation}},{key:"fullscreen",get:function(){return!this.isMobile&&("fullscreen"===this.size||"page"===this.size)}},{key:"close",value:function(){this.context.required?this.context.$implicit.error(Ve):this.context.$implicit.complete()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(mt.dx),o.Y36(q.fL),o.Y36(et.yf),o.Y36(Z.a3,2),o.Y36(Be),o.Y36(Re),o.Y36(mt.U0),o.Y36(mt.Gs))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-dialog"]],hostVars:6,hostBindings:function(t,e){2&t&&(o.uIk("data-appearance",e.context.appearance)("data-size",e.size),o.d8E("@tuiSlideInTop",e.slideInTop)("@tuiFadeIn",e.slideInTop),o.ekj("_centered",e.header))},features:[o._Bn([Z.a3,Be])],decls:7,vars:6,consts:[["class","t-header",4,"ngIf"],[1,"t-content"],[1,"t-heading",3,"id","textContent"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-filler"],["class","t-wrapper",4,"ngIf"],[1,"t-header"],[3,"innerHTML"],[1,"t-buttons"],["size","m","tuiAutoFocus","","tuiButton","","type","button",3,"click"],[1,"t-wrapper"],["automation-id","tui-dialog__close","shape","rounded","size","s","tuiIconButton","","type","button",1,"t-close",3,"appearance","icon","title","click","mousedown.prevent.silent"]],template:function(t,e){1&t&&(o.YNc(0,Ne,2,2,"header",0),o.TgZ(1,"div",1),o._UZ(2,"h2",2),o.TgZ(3,"section"),o.YNc(4,ze,5,2,"ng-container",3),o.qZA(),o.qZA(),o._UZ(5,"div",4),o.YNc(6,Fe,3,5,"div",5)),2&t&&(o.Q6J("ngIf",e.header),o.xp6(2),o.Q6J("id",e.context.id)("textContent",e.context.label),o.xp6(2),o.Q6J("polymorpheusOutlet",e.context.content)("polymorpheusOutletContext",e.context),o.xp6(2),o.Q6J("ngIf",e.context.closeable))},directives:[A.O5,et.Li,Bt.v0,Se],pipes:[A.Ov],styles:['[_nghost-%COMP%]{position:relative;display:flex;font:var(--tui-font-text-m);flex-direction:column;box-sizing:border-box;margin:auto;border-radius:1rem;border:2.5rem solid transparent}[_nghost-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%;box-shadow:var(--tui-shadow-modal);content:"";border-radius:inherit;pointer-events:none}[data-size=auto][_nghost-%COMP%]{width:auto}[data-size=s][_nghost-%COMP%]{width:30rem}[data-size=s][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:1.5rem}[data-size=s][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:.5rem;font:var(--tui-font-heading-5)}[data-size=m][_nghost-%COMP%]{width:42.5rem}[data-size=m][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:.75rem;font:var(--tui-font-heading-4)}[data-size=l][_nghost-%COMP%]{width:55rem}[data-size=l][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:1rem}[data-size=fullscreen][_nghost-%COMP%], [data-size=page][_nghost-%COMP%]{min-width:100vw;min-height:100%;border-radius:0;border:none;background:var(--tui-elevation-01);box-shadow:0 4rem var(--tui-elevation-01)}[data-size=fullscreen][_nghost-%COMP%] .t-content[_ngcontent-%COMP%], [data-size=page][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:3rem calc(50vw - (45rem / 2))}[data-size=fullscreen][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%], [data-size=page][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:1rem}[data-size=page][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0}._centered[_nghost-%COMP%]{text-align:center}[_nghost-%COMP%] tui-root._mobile[data-size][_nghost-%COMP%], tui-root._mobile [data-size][_nghost-%COMP%]{min-width:100%;width:100%;max-width:100%;border-radius:0;border:none;margin:auto 0 0}[_nghost-%COMP%] tui-root._mobile[data-size][_nghost-%COMP%] .t-content[_ngcontent-%COMP%], tui-root._mobile [data-size][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:1.5rem}[_nghost-%COMP%] tui-root._mobile[data-size][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%], tui-root._mobile [data-size][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:.5rem;font:var(--tui-font-heading-5)}.t-heading[_ngcontent-%COMP%]{margin:0;word-wrap:break-word;font:var(--tui-font-heading-3)}.t-heading[_ngcontent-%COMP%]:empty{display:none}.t-header[_ngcontent-%COMP%]{display:flex;border-top-left-radius:inherit;border-top-right-radius:inherit;overflow:hidden}[data-size=fullscreen][_nghost-%COMP%] tui-root._mobile[_nghost-%COMP%] .t-header[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{flex:1}.t-content[_ngcontent-%COMP%]{border-radius:inherit;padding:2rem;background:var(--tui-elevation-01)}.t-content[_ngcontent-%COMP%]:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}.t-wrapper[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;top:0;z-index:1;order:-1}.t-filler[_ngcontent-%COMP%]{flex-grow:1}.t-close[_ngcontent-%COMP%]{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:fixed;top:1.5rem;right:1.5rem;display:none;color:var(--tui-base-01)}.t-dialog:last-of-type[_nghost-%COMP%] .t-close[_ngcontent-%COMP%], .t-dialog:last-of-type [_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{display:block}[_nghost-%COMP%]:not([data-size="fullscreen"]):not([data-size="page"]) .t-close[_ngcontent-%COMP%]{animation:tuiFadeIn var(--tui-duration);background:rgba(104,104,104,.96)}[_nghost-%COMP%]:not([data-size="fullscreen"]):not([data-size="page"]) .t-close[_ngcontent-%COMP%]:hover{background:rgba(159,159,159,.86)}[_nghost-%COMP%]:not([data-size="fullscreen"]).ng-animating .t-close[_ngcontent-%COMP%]{display:none}tui-root._mobile[_nghost-%COMP%] .t-close[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{position:absolute;top:0;right:0;background:transparent!important;color:var(--tui-text-01);opacity:.5}.t-buttons[_ngcontent-%COMP%]{margin-top:1.25rem;text-align:right}'],data:{animation:[Kt.X9,Kt.QF]}}),t}()),qe=function(){var t,e=function(t){a(n,t);var e=u(n);function n(){var t;return y(this,n),(t=e.apply(this,arguments)).component=Ze,t.defaultOptions=Object.assign(Object.assign({},(0,o.f3M)(je)),{data:void 0}),t}return g(n)}(Ft.d5);return e.\u0275fac=function(n){return(t||(t=o.n5z(e)))(n||e)},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),Ue=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({providers:[(0,q.Q)(qe)],imports:[[et.wq,Bt.fN,A.ez,Pe]]}),t}(),He=r(23917),Ge=r(67545),Je=function(){function t(e,n){y(this,t),this._document=n;var r=this._textarea=this._document.createElement("textarea"),i=r.style;i.position="fixed",i.top=i.opacity="0",i.left="-999em",r.setAttribute("aria-hidden","true"),r.value=e,this._document.body.appendChild(r)}return g(t,[{key:"copy",value:function(){var t=this._textarea,e=!1;try{if(t){var n=this._document.activeElement;t.select(),t.setSelectionRange(0,t.value.length),e=this._document.execCommand("copy"),n&&n.focus()}}catch(n){}return e}},{key:"destroy",value:function(){var t=this._textarea;t&&(t.parentNode&&t.parentNode.removeChild(t),this._textarea=void 0)}}]),t}(),Xe=function(){var t=function(){function t(e){y(this,t),this._document=e}return g(t,[{key:"copy",value:function(t){var e=this.beginCopy(t),n=e.copy();return e.destroy(),n}},{key:"beginCopy",value:function(t){return new Je(t,this._document)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.LFG(A.K0))},t.\u0275prov=o.Yz7({factory:function(){return new t(o.LFG(A.K0))},token:t,providedIn:"root"}),t}(),$e=new o.OlP("CDK_COPY_TO_CLIPBOARD_CONFIG"),Qe=function(){var t=function(){function t(e,n,r){y(this,t),this._clipboard=e,this._ngZone=n,this.text="",this.attempts=1,this.copied=new o.vpe,this._pending=new Set,r&&null!=r.attempts&&(this.attempts=r.attempts)}return g(t,[{key:"copy",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.attempts;if(e>1){var n=e,r=this._clipboard.beginCopy(this.text);this._pending.add(r);var i=function e(){var i=r.copy();i||!--n||t._destroyed?(t._currentTimeout=null,t._pending.delete(r),r.destroy(),t.copied.emit(i)):t._currentTimeout=t._ngZone.runOutsideAngular(function(){return setTimeout(e,1)})};i()}else this.copied.emit(this._clipboard.copy(this.text))}},{key:"ngOnDestroy",value:function(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(function(t){return t.destroy()}),this._pending.clear(),this._destroyed=!0}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(Xe),o.Y36(o.R0b),o.Y36($e,8))},t.\u0275dir=o.lG2({type:t,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(t,e){1&t&&o.NdJ("click",function(){return e.copy()})},inputs:{text:["cdkCopyToClipboard","text"],attempts:["cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"}}),t}(),We=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({}),t}(),Ke=r(97582),tn=function(){var t=g(function t(e){var n=e.nativeElement;return y(this,t),new o.SBq(n)});return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.SBq))},t.\u0275dir=o.lG2({type:t,selectors:[["","tuiElement",""]],exportAs:["elementRef"]}),t}(),en=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({}),t}(),nn=function(){var t,e=function(t){a(n,t);var e=u(n);function n(){return y(this,n),e.apply(this,arguments)}return g(n)}(tn);return e.\u0275fac=function(n){return(t||(t=o.n5z(e)))(n||e)},e.\u0275dir=o.lG2({type:e,selectors:[["","tuiResizeable",""]],features:[o.qOj]}),e}(),rn=function(){var t=function(){function t(e){y(this,t),this.resizeable=e,this.tuiResizer=[0,0],this.tuiSizeChange=new o.vpe,this.x=NaN,this.y=NaN,this.width=0,this.height=0}return g(t,[{key:"cursor",get:function(){return this.tuiResizer[0]?this.tuiResizer[1]?this.tuiResizer[0]*this.tuiResizer[1]>0?"nwse-resize":"nesw-resize":"ew-resize":"ns-resize"}},{key:"onTouchStart",value:function(t){var e=t.touches;this.onMouseDown(e[0].clientX,e[0].clientY)}},{key:"onMouseDown",value:function(t,e){this.x=t,this.y=e,this.width=this.resizeable.nativeElement.clientWidth,this.height=this.resizeable.nativeElement.clientHeight}},{key:"onMouseMove",value:function(t){var e=t.x,n=t.y;t.buttons?this.onMove(e,n):this.onMouseUp()}},{key:"onTouchMove",value:function(t){var e=t.touches;this.onMove(e[0].clientX,e[0].clientY)}},{key:"onMouseUp",value:function(){this.x=NaN}},{key:"onMove",value:function(t,e){if(!Number.isNaN(this.x)){var n=this.resizeable.nativeElement.style,r=[this.width+this.tuiResizer[0]*(t-this.x),this.height+this.tuiResizer[1]*(e-this.y)];this.tuiResizer[0]&&(n.width=(0,_e.O)(r[0])),this.tuiResizer[1]&&(n.height=(0,_e.O)(r[1])),this.tuiSizeChange.emit(r)}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(nn))},t.\u0275dir=o.lG2({type:t,selectors:[["","tuiResizer",""]],hostVars:4,hostBindings:function(t,e){1&t&&o.NdJ("touchstart.silent.passive",function(t){return e.onTouchStart(t)})("mousedown.silent.prevent",function(t){return e.onMouseDown(t.x,t.y)})("mousemove.silent",function(t){return e.onMouseMove(t)},!1,o.evT)("touchmove.silent",function(t){return e.onTouchMove(t)},!1,o.evT)("mouseup.silent",function(){return e.onMouseUp()},!1,o.evT)("touchend.silent",function(){return e.onMouseUp()},!1,o.evT),2&t&&o.Udp("touch-action","none")("cursor",e.cursor)},inputs:{tuiResizer:"tuiResizer"},outputs:{tuiSizeChange:"tuiSizeChange"}}),t}(),on=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({}),t}(),an=function(){var t=function(){function t(){y(this,t)}return g(t,[{key:"transform",value:function(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i0&&void 0!==arguments[0]&&arguments[0];return this.optionsQuery.filter(function(e){var n=e.disabled;return t||!n}).map(function(t){return t.value}).filter(U.Pc)}}]),t}();return t.\u0275fac=function(t){o.$Z()},t.\u0275dir=o.lG2({type:t,viewQuery:function(t,e){var n;(1&t&&o.Gf(Ut.vK,5),2&t)&&(o.iGM(n=o.CRH())&&(e.optionsQuery=n))},inputs:{disabledItemHandler:"disabledItemHandler",emptyContent:"emptyContent",size:"size",itemContent:"itemContent"},outputs:{itemClick:"itemClick"}}),t}(),xn=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r){var i;return y(this,n),(i=e.call(this,t,(null==r?void 0:r.size)||"m")).items=[],i}return g(n)}(Cn);return t.\u0275fac=function(e){return new(e||t)(o.Y36(mn.Ys),o.Y36(Zt.Cs,8))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-data-list-wrapper",3,"labels",""]],inputs:{items:"items"},features:[o._Bn([(0,mt.RB)(t),Zt.Y0]),o.qOj],decls:3,vars:2,consts:[[3,"emptyContent","size",4,"ngIf","ngIfElse"],["loading",""],[3,"emptyContent","size"],["automation-id","tui-data-list-wrapper__option","tuiElement","","tuiOption","",3,"disabled","value","click",4,"ngFor","ngForOf"],["automation-id","tui-data-list-wrapper__option","tuiElement","","tuiOption","",3,"disabled","value","click"],["elementRef","elementRef"],[1,"t-content"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-data-list-wrapper__loader",1,"t-loader"]],template:function(t,e){if(1&t&&(o.YNc(0,kn,2,3,"tui-data-list",0),o.YNc(1,wn,1,0,"ng-template",null,1,o.W1O)),2&t){var n=o.MAs(2);o.Q6J("ngIf",e.items)("ngIfElse",n)}},directives:[A.O5,Ut.qi,A.sg,Ut.vK,tn,et.Li,E.kM],styles:["[_nghost-%COMP%]{display:block}.t-content[_ngcontent-%COMP%]{flex:1}.t-loader[_ngcontent-%COMP%]{margin:.75rem 0}"],changeDetection:0}),t}(),On=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,et.wq,en,Ut.pc,E.dS]]}),t}(),Mn=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({}),t}(),Sn=r(87862),Pn=r(66640);function En(t,e){1&t&&o._UZ(0,"tui-svg",2),2&t&&o.Q6J("src",e.polymorpheusOutlet)}function An(t,e){1&t&&o.GkF(0)}var Tn=(0,U.JN)({iconSmall:"tuiIconChevronDown",iconLarge:"tuiIconChevronDownLarge"}),In=new et.Al(function(){var t=function(){function t(e,n,r){y(this,t),this.dropdown=e,this.textfieldSize=n,this.options=r}return g(t,[{key:"rotated",get:function(){return this.dropdown.open}},{key:"arrowIcon",get:function(){return(0,Pn.R9)(this.textfieldSize.size)?this.options.iconLarge:this.options.iconSmall}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(He.o1),o.Y36(Zt.kI),o.Y36(Tn))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-arrow"]],hostVars:2,hostBindings:function(t,e){2&t&&o.ekj("_rotated",e.rotated)},decls:3,vars:4,consts:[[3,"src",4,"polymorpheusOutlet"],[4,"ngIf"],[3,"src"]],template:function(t,e){1&t&&(o.YNc(0,En,1,1,"tui-svg",0),o.YNc(1,An,1,0,"ng-container",1),o.ALo(2,"async")),2&t&&(o.Q6J("polymorpheusOutlet",e.arrowIcon),o.xp6(1),o.Q6J("ngIf",o.lcZ(2,2,e.dropdown.openChange)))},directives:[et.Li,A.O5,Jt.PN],pipes:[A.Ov],styles:["[_nghost-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:block;cursor:pointer;pointer-events:none}._rotated[_nghost-%COMP%]{transform:rotate(180deg)}"],changeDetection:0}),t}()),Dn=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,Jt.EI,et.wq]]}),t}(),Ln=(0,U.JN)({interactive:In,disabled:In}),Nn=r(18269),zn=function(){var t=function(){function t(e,n){y(this,t),this.el=e,this.destroy$=n}return g(t,[{key:"tuiScrollIntoView",set:function(t){var e=this;!t||(0,v.H)(0).pipe((0,w.R)(this.destroy$)).subscribe(function(){e.el.nativeElement.dispatchEvent(new CustomEvent(Nn.fe,{bubbles:!0,detail:e.el.nativeElement}))})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.SBq),o.Y36(Z.a3,2))},t.\u0275dir=o.lG2({type:t,selectors:[["","tuiScrollIntoView",""]],inputs:{tuiScrollIntoView:"tuiScrollIntoView"},features:[o._Bn([Z.a3])]}),t}(),Fn=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({}),t}();function Rn(t,e){if(1&t&&o._UZ(0,"tui-svg",3),2&t){var n=o.oxw();o.Q6J("src",n.icons.check)("tuiScrollIntoView",!0)}}function jn(t,e){1&t&&o._UZ(0,"span",4)}var Bn=new et.Al(function(){var t=function(){function t(e,n,r,i,o,a,s,u){var c=this;y(this,t),this.icons=e,this.context=n,this.host=r,this.el=i,this.option=o,this.dataList=a,this.control=s,this.abstractControl=u,this.changeDetection$=new h.xQ,this.selected$=(0,m.T)(this.changeDetection$,this.control.valueChanges||Ae.E,(0,Ee.mL)(this.el.nativeElement,"animationstart")).pipe((0,k.O)(null),(0,b.U)(function(){return c.selected}),(0,M.x)())}return g(t,[{key:"matcher",get:function(){return this.host.identityMatcher||P.bg}},{key:"ngOnInit",value:function(){var t=this;Promise.resolve().then(function(){var e,n;(0,U.Pc)(t.option.value)&&!t.option.disabled&&(null===(n=(e=t.host).checkOption)||void 0===n||n.call(e,t.option.value))})}},{key:"ngDoCheck",value:function(){this.changeDetection$.next()}},{key:"value",get:function(){var t,e;return null!==(e=null===(t=this.abstractControl)||void 0===t?void 0:t.value)&&void 0!==e?e:this.control.value}},{key:"selected",get:function(){return(0,U.Pc)(this.option.value)&&(0,U.Pc)(this.value)&&this.matcher(this.value,this.option.value)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(mt.Gs),o.Y36(et.yf),o.Y36(mt.N1),o.Y36(o.SBq),o.Y36(Ut.vK),o.Y36(Ut.qi,8),o.Y36(Sn.a5),o.Y36(Ft.M$,8))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-select-option"]],decls:5,vars:5,consts:[[3,"ngTemplateOutlet"],["automation-id","tui-select-option__checkmark","class","t-checkmark",3,"src","tuiScrollIntoView",4,"ngIf","ngIfElse"],["dummy",""],["automation-id","tui-select-option__checkmark",1,"t-checkmark",3,"src","tuiScrollIntoView"],[1,"t-dummy"]],template:function(t,e){if(1&t&&(o.GkF(0,0),o.YNc(1,Rn,1,2,"tui-svg",1),o.ALo(2,"async"),o.YNc(3,jn,1,0,"ng-template",null,2,o.W1O)),2&t){var n=o.MAs(4);o.Q6J("ngTemplateOutlet",e.context.$implicit),o.xp6(1),o.Q6J("ngIf",o.lcZ(2,3,e.selected$))("ngIfElse",n)}},directives:[A.tP,A.O5,Jt.PN,zn],pipes:[A.Ov],styles:['@keyframes retrigger{0%{left:1px}to{left:2px}}[_nghost-%COMP%]{display:flex;flex:1;align-items:center;max-width:100%;animation:retrigger 1s}.t-checkmark[_ngcontent-%COMP%]{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-border-start:.25rem solid transparent;border-inline-start:.25rem solid transparent}tui-data-list[data-list-size="s"][_nghost-%COMP%] .t-checkmark[_ngcontent-%COMP%], tui-data-list[data-list-size="s"] [_nghost-%COMP%] .t-checkmark[_ngcontent-%COMP%]{-webkit-margin-end:-.375rem;margin-inline-end:-.375rem}tui-data-list[data-list-size="m"][_nghost-%COMP%] .t-checkmark[_ngcontent-%COMP%], tui-data-list[data-list-size="m"] [_nghost-%COMP%] .t-checkmark[_ngcontent-%COMP%]{-webkit-margin-end:-.125rem;margin-inline-end:-.125rem}.t-dummy[_ngcontent-%COMP%]{width:1.75rem}'],changeDetection:0}),t}()),Vn=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,Jt.EI,Fn]]}),t}(),Yn=r(93213);function Zn(t,e){1&t&&o.Hsn(0,2,["*ngIf","isMobile"])}function qn(t,e){if(1&t&&o.YNc(0,Zn,1,0,"ng-content",6),2&t){var n=o.oxw();o.Q6J("ngIf",n.isMobile)}}function Un(t,e){1&t&&o.GkF(0,7)}function Hn(t,e){1&t&&o._UZ(0,"div",10),2&t&&o.Q6J("textContent",e.polymorpheusOutlet)}var Gn=function(t,e){return{$implicit:t,active:e}};function Jn(t,e){if(1&t&&(o.TgZ(0,"div",8),o.YNc(1,Hn,1,1,"div",9),o.qZA()),2&t){var n=o.oxw();o.xp6(1),o.Q6J("polymorpheusOutlet",n.computedContent)("polymorpheusOutletContext",o.WLB(2,Gn,n.value,n.computedFocused))}}function Xn(t,e){1&t&&o.GkF(0)}function $n(t,e){if(1&t&&(o.TgZ(0,"div",11),o.YNc(1,Xn,1,0,"ng-container",12),o.qZA()),2&t){var n=o.oxw();o.xp6(1),o.Q6J("polymorpheusOutlet",n.arrow)}}var Qn=["*",[["input"]],[["select"]]],Wn=["*","input","select"],Kn=(0,U.JN)({valueContent:""}),tr=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r,i,o,a,s,u,c){var l;return y(this,n),(l=e.call(this,t,r)).textfieldCleaner=i,l.textfieldSize=o,l.arrowMode=a,l.itemsHandlers=s,l.options=u,l.isMobile=c,l.stringify=l.itemsHandlers.stringify,l.identityMatcher=l.itemsHandlers.identityMatcher,l.valueContent=l.options.valueContent,l}return g(n,[{key:"size",get:function(){return this.textfieldSize.size}},{key:"arrow",get:function(){return this.interactive?this.arrowMode.interactive:this.arrowMode.disabled}},{key:"nativeFocusableElement",get:function(){var t,e;return null!==(e=null===(t=this.textfield)||void 0===t?void 0:t.nativeFocusableElement)&&void 0!==e?e:null}},{key:"focused",get:function(){return(0,Q.V8)(this.nativeFocusableElement)||!!this.hostedDropdown&&this.hostedDropdown.focused}},{key:"nativeDropdownMode",get:function(){return!!this.nativeSelect&&this.isMobile}},{key:"computedValue",get:function(){return null===this.value?"":this.stringify(this.value)||" "}},{key:"computedContent",get:function(){return this.valueContent||this.computedValue}},{key:"onValueChange",value:function(t){this.value=t||null}},{key:"onActiveZone",value:function(t){this.updateFocused(t)}},{key:"onKeyDownDelete",value:function(){this.textfieldCleaner.cleaner&&(this.value=null)}},{key:"handleOption",value:function(t){var e;this.focusInput(),this.value=t,null===(e=this.hostedDropdown)||void 0===e||e.updateOpen(!1)}},{key:"focusInput",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.nativeFocusableElement&&this.nativeFocusableElement.focus({preventScroll:t})}}]),n}(Ft.F9);return t.\u0275fac=function(e){return new(e||t)(o.Y36(Sn.a5,10),o.Y36(o.sBO),o.Y36(Zt.Ym),o.Y36(Zt.kI),o.Y36(Ln),o.Y36(mn.Ys),o.Y36(Kn),o.Y36(q.fL))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-select"]],contentQueries:function(t,e,n){var r;(1&t&&(o.Suo(n,yn,7),o.Suo(n,Ut.gX,5,o.Rgc)),2&t)&&(o.iGM(r=o.CRH())&&(e.nativeSelect=r.first),o.iGM(r=o.CRH())&&(e.datalist=r.first))},viewQuery:function(t,e){var n;(1&t&&(o.Gf($t.yc,5),o.Gf(He.o1,5)),2&t)&&(o.iGM(n=o.CRH())&&(e.textfield=n.first),o.iGM(n=o.CRH())&&(e.hostedDropdown=n.first))},hostVars:1,hostBindings:function(t,e){2&t&&o.uIk("data-size",e.size)},inputs:{stringify:"stringify",identityMatcher:"identityMatcher",valueContent:"valueContent"},features:[o._Bn([(0,q.FT)(t),(0,Ft.wB)(t),(0,mt.oE)(t),(0,mt.P7)(Bn)],[Yn.yn]),o.qOj],ngContentSelectors:Wn,decls:10,vars:15,consts:[[1,"t-hosted",3,"canOpen","content","tuiActiveZoneChange"],["automation-id","tui-select__textfield",1,"t-textfield",3,"disabled","editable","focusable","invalid","nativeId","pseudoActive","pseudoFocus","pseudoHover","readOnly","tuiTextfieldIcon","value","keydown.backspace.prevent","keydown.delete.prevent","valueChange"],["select",""],["ngProjectAs","select",5,["select"],4,"ngTemplateOutlet"],["automation-id","tui-select__value","ngProjectAs","tuiContent","class","t-value",5,["tuiContent"],4,"ngIf"],["icon",""],[4,"ngIf"],["ngProjectAs","select",5,["select"]],["automation-id","tui-select__value","ngProjectAs","tuiContent",5,["tuiContent"],1,"t-value"],["class","t-primitive-value",3,"textContent",4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-primitive-value",3,"textContent"],["appearance","icon","tuiWrapper","",1,"t-icon"],[4,"polymorpheusOutlet"]],template:function(t,e){if(1&t&&(o.F$t(Qn),o.TgZ(0,"tui-hosted-dropdown",0),o.NdJ("tuiActiveZoneChange",function(t){return e.onActiveZone(t)}),o.TgZ(1,"tui-primitive-textfield",1),o.NdJ("keydown.backspace.prevent",function(){return e.onKeyDownDelete()})("keydown.delete.prevent",function(){return e.onKeyDownDelete()})("valueChange",function(t){return e.onValueChange(t)}),o.Hsn(2),o.Hsn(3,1,["ngProjectAs","input",5,["input"]]),o.YNc(4,qn,1,1,"ng-template",null,2,o.W1O),o.YNc(6,Un,1,0,"ng-container",3),o.YNc(7,Jn,2,5,"div",4),o.qZA(),o.YNc(8,$n,2,1,"ng-template",null,5,o.W1O),o.qZA()),2&t){var n=o.MAs(5),r=o.MAs(9);o.Q6J("canOpen",e.interactive&&!e.nativeDropdownMode)("content",e.datalist||""),o.xp6(1),o.Q6J("disabled",e.computedDisabled)("editable",!1)("focusable",e.computedFocusable)("invalid",e.computedInvalid)("nativeId",e.nativeId)("pseudoActive",e.pseudoActive)("pseudoFocus",e.computedFocused)("pseudoHover",e.pseudoHover)("readOnly",e.readOnly)("tuiTextfieldIcon",e.arrow?r:"")("value",e.computedValue),o.xp6(5),o.Q6J("ngTemplateOutlet",n),o.xp6(1),o.Q6J("ngIf",null!==e.value)}},directives:[He.o1,Ot.e,$t.yc,$t.B1,Zt.AW,A.tP,A.O5,et.Li,vn.o],styles:["[_nghost-%COMP%]{display:block;border-radius:var(--tui-radius-m);text-align:left}[_nghost-%COMP%]:not(._readonly) input:not(:disabled){cursor:pointer}._readonly[_nghost-%COMP%] input{cursor:default}.t-hosted[_ngcontent-%COMP%]{display:block;border-radius:inherit}.t-textfield[_ngcontent-%COMP%]{border-radius:inherit;text-align:inherit}.t-value[_ngcontent-%COMP%]{display:flex;width:100%;align-items:center}.t-primitive-value[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}"],changeDetection:0}),t}(),er=function(){var t,e=function(t){a(n,t);var e=u(n);function n(){return y(this,n),e.apply(this,arguments)}return g(n,[{key:"readOnly",get:function(){return!0}},{key:"value",get:function(){return this.host.computedValue}},{key:"stringify",get:function(){return this.host.stringify}},{key:"onValueChange",value:function(t){this.host.onValueChange(t)}}]),n}(gn.D1);return e.\u0275fac=function(n){return(t||(t=o.n5z(e)))(n||e)},e.\u0275dir=o.lG2({type:e,selectors:[["tui-select"]],features:[o._Bn([(0,mt.cp)(e)]),o.qOj]}),e}(),nr=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,et.wq,Ot.A,$t.KW,He.jh,Vn,Dn,vn.W,Zt.cn,On,Ut.pc,Mn]]}),t}(),rr=r(77320),ir=r(44541),or=r(13633),ar=r(75059),sr=r(88491),ur=["*"],cr=function(){var t=g(function t(){y(this,t),this.name="tui-radio-group-"+t.index++});return t.index=0,t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-radio-group"]],inputs:{name:"name"},ngContentSelectors:ur,decls:1,vars:0,template:function(t,e){1&t&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),t}(),lr=["focusableElement"],hr=(0,U.JN)({size:"m",appearances:{unchecked:rr.Nm.Outline,checked:rr.Nm.Primary}}),fr=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r,i,o){var a;return y(this,n),(a=e.call(this,t,r)).options=i,a.radioGroup=o,a.identityMatcher=P.bg,a.name=null,a.size=a.options.size,a.pseudoDisabled=!1,a}return g(n,[{key:"appearance",get:function(){return this.checked?this.options.appearances.checked:this.options.appearances.unchecked}},{key:"computedDisabled",get:function(){return this.disabled||this.pseudoDisabled}},{key:"nativeFocusableElement",get:function(){return!this.focusableElement||this.computedDisabled?null:this.focusableElement.nativeElement}},{key:"focused",get:function(){return(0,Q.V8)(this.nativeFocusableElement)}},{key:"checked",get:function(){return null===this.value?null===this.item:null!=this.item&&this.identityMatcher(this.value,this.item)}},{key:"computedName",get:function(){return this.name||this.radioGroupName||this.controlName||""}},{key:"isFocusable",get:function(){return!this.readOnly&&this.computedFocusable}},{key:"onChecked",value:function(t){t&&(this.value=void 0!==this.item?this.item:this.fallbackValue)}},{key:"onFocused",value:function(t){this.updateFocused(t)}},{key:"onFocusVisible",value:function(t){this.updateFocusVisible(t)}},{key:"radioGroupName",get:function(){return null===this.radioGroup?null:this.radioGroup.name}}]),n}(Ft.F9);return t.\u0275fac=function(e){return new(e||t)(o.Y36(Sn.a5,10),o.Y36(o.sBO),o.Y36(hr),o.Y36(cr,8))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-radio"]],viewQuery:function(t,e){var n;(1&t&&o.Gf(lr,5),2&t)&&(o.iGM(n=o.CRH())&&(e.focusableElement=n.first))},hostVars:3,hostBindings:function(t,e){2&t&&(o.uIk("data-size",e.size),o.ekj("_disabled",e.computedDisabled))},inputs:{item:"item",identityMatcher:"identityMatcher",name:"name",size:"size",pseudoDisabled:"pseudoDisabled"},features:[o._Bn([(0,q.FT)(t),(0,Ft.wB)(t)]),o.qOj],decls:4,vars:13,consts:[["tuiWrapper","",3,"active","appearance","disabled","focus","hover","invalid"],[1,"t-mark"],["type","radio",1,"t-native",3,"disabled","id","tuiChecked","tuiFocusable","tuiCheckedChange","tuiFocusedChange","tuiFocusVisibleChange"],["focusableElement",""]],template:function(t,e){1&t&&(o.TgZ(0,"div",0),o._UZ(1,"div",1),o.TgZ(2,"input",2,3),o.NdJ("tuiCheckedChange",function(t){return e.onChecked(t)})("tuiFocusedChange",function(t){return e.onFocused(t)})("tuiFocusVisibleChange",function(t){return e.onFocusVisible(t)}),o.qZA(),o.qZA()),2&t&&(o.Q6J("active",e.pseudoActive)("appearance",e.appearance)("disabled",e.computedDisabled)("focus",e.computedFocusVisible)("hover",e.pseudoHover)("invalid",e.computedInvalid),o.xp6(1),o.ekj("t-mark_visible",e.checked),o.xp6(1),o.Q6J("disabled",e.computedDisabled)("id",e.id)("tuiChecked",e.checked)("tuiFocusable",e.isFocusable),o.uIk("name",e.computedName))},directives:[vn.o,ir.t,or.t,ar.U,sr.q],styles:["[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:block;flex-shrink:0;border-radius:100%}[data-size=m][_nghost-%COMP%]{width:1rem;height:1rem}[data-size=l][_nghost-%COMP%]{width:1.5rem;height:1.5rem}._readonly[_nghost-%COMP%]{pointer-events:none}.t-mark[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;background-color:currentColor;border-radius:100%;transform:scale(0)}.t-mark_visible[_ngcontent-%COMP%]{transform:scale(1)}[data-size=m][_nghost-%COMP%] .t-mark[_ngcontent-%COMP%]{margin:.25rem;width:.5rem;height:.5rem}[data-size=l][_nghost-%COMP%] .t-mark[_ngcontent-%COMP%]{margin:.4375rem;width:.625rem;height:.625rem}.t-native[_ngcontent-%COMP%]{padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.t-native[_ngcontent-%COMP%]:-webkit-autofill, .t-native[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-native[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}._disabled[_nghost-%COMP%] .t-native[_ngcontent-%COMP%]{cursor:default}"],changeDetection:0}),t}(),dr=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,ir.S,or.u,ar.F,sr.c,vn.W]]}),t}();function pr(t,e){1&t&&o.GkF(0)}var vr=["*"],gr=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,t,r)).modeDirective=i,o.identityMatcher=P.bg,o.contentAlign="right",o.size="l",o.hideRadio=!1,o.pseudoDisabled=!1,o}return g(n,[{key:"nativeFocusableElement",get:function(){var t,e;return null!==(e=null===(t=this.radio)||void 0===t?void 0:t.nativeFocusableElement)&&void 0!==e?e:null}},{key:"focused",get:function(){return!!this.radio&&this.radio.focused}},{key:"computedDisabled",get:function(){return this.disabled||this.pseudoDisabled}},{key:"checked",get:function(){var t;return!!(null===(t=this.radio)||void 0===t?void 0:t.checked)&&this.hideRadio}},{key:"checkboxSize",get:function(){return"l"===this.size?"l":"m"}},{key:"appearance",get:function(){var t;return(null===(t=this.modeDirective)||void 0===t?void 0:t.mode)?this.checked?rr.Nm.Primary:rr.Nm.Secondary:this.checked?rr.Nm.WhiteblockActive:rr.Nm.Whiteblock}},{key:"onFocused",value:function(t){this.updateFocused(t)}},{key:"onFocusVisible",value:function(t){this.updateFocusVisible(t)}},{key:"onModelChange",value:function(t){this.value=t}}]),n}(Ft.F9);return t.\u0275fac=function(e){return new(e||t)(o.Y36(Sn.a5,10),o.Y36(o.sBO),o.Y36(Vt.w,8))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-radio-block"]],viewQuery:function(t,e){var n;(1&t&&o.Gf(fr,5),2&t)&&(o.iGM(n=o.CRH())&&(e.radio=n.first))},hostVars:8,hostBindings:function(t,e){2&t&&(o.uIk("data-align",e.contentAlign)("data-size",e.size),o.ekj("_hidden_input",e.hideRadio)("_disabled",e.computedDisabled)("_active",e.checked))},inputs:{item:"item",identityMatcher:"identityMatcher",contentAlign:"contentAlign",size:"size",hideRadio:"hideRadio",pseudoDisabled:"pseudoDisabled"},features:[o._Bn([(0,q.FT)(t),(0,Ft.wB)(t)]),o.qOj],ngContentSelectors:vr,decls:7,vars:22,consts:[[4,"ngIf"],["tuiWrapper","",1,"t-wrapper",3,"active","appearance","disabled","focus","hover","invalid"],[1,"t-view",3,"focusable","identityMatcher","item","name","nativeId","pseudoActive","pseudoDisabled","pseudoFocus","pseudoHover","pseudoInvalid","readOnly","size","ngModel","ngModelChange","focusedChange","focusVisibleChange"],[1,"t-label"],[1,"t-content"]],template:function(t,e){1&t&&(o.F$t(),o.YNc(0,pr,1,0,"ng-container",0),o.ALo(1,"async"),o.TgZ(2,"label",1),o.TgZ(3,"tui-radio",2),o.NdJ("ngModelChange",function(t){return e.value=t})("focusedChange",function(t){return e.onFocused(t)})("focusVisibleChange",function(t){return e.onFocusVisible(t)}),o.qZA(),o.TgZ(4,"div",3),o.TgZ(5,"div",4),o.Hsn(6),o.qZA(),o.qZA(),o.qZA()),2&t&&(o.Q6J("ngIf",e.modeDirective&&o.lcZ(1,20,e.modeDirective.change$)),o.xp6(2),o.Q6J("active",e.pseudoActive)("appearance",e.appearance)("disabled",e.computedDisabled)("focus",e.computedFocusVisible)("hover",e.pseudoHover)("invalid",e.computedInvalid),o.xp6(1),o.Q6J("focusable",e.focusable)("identityMatcher",e.identityMatcher)("item",e.item)("name",e.computedName||"")("nativeId",e.nativeId)("pseudoActive",e.pseudoActive)("pseudoDisabled",e.computedDisabled)("pseudoFocus",!1)("pseudoHover",e.pseudoHover)("pseudoInvalid",e.computedInvalid)("readOnly",e.readOnly)("size",e.checkboxSize)("ngModel",e.value))},directives:[A.O5,vn.o,fr,Sn.JJ,Sn.On],pipes:[A.Ov],styles:["[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);display:inline-block;vertical-align:top;align-items:flex-start;border-radius:var(--tui-radius-m)}[data-size=xs][_nghost-%COMP%]{font:var(--tui-font-text-xs)}[data-size=m][_nghost-%COMP%], [data-size=l][_nghost-%COMP%]{font:var(--tui-font-text-m)}._disabled[_nghost-%COMP%], ._readonly[_nghost-%COMP%]{pointer-events:none}.t-wrapper[_ngcontent-%COMP%]{position:relative;display:flex;align-items:inherit;box-sizing:border-box;border-radius:inherit;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:0 1rem 0 0}[data-size=xs][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding-right:.5rem}[data-align=right][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{flex-direction:row-reverse;padding:0 0 0 1rem}[data-align=right][data-size=xs][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding-left:.5rem}[data-size=xs]._hidden_input[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 .5rem}[data-size=xs]._hidden_input[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:not(._focused):after{border-width:1px}[data-size=s]._hidden_input[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 1rem}[data-size=m]._hidden_input[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 1.5rem}[data-size=l]._hidden_input[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 2.25rem}[data-size=xs][_nghost-%COMP%] .t-view[_ngcontent-%COMP%]{margin:calc(var(--tui-height-xs) / 2 - .5rem) .25rem;transform:scale(.75)}[data-size=s][_nghost-%COMP%] .t-view[_ngcontent-%COMP%]{margin:calc(var(--tui-height-s) / 2 - .5rem) .5rem}[data-size=m][_nghost-%COMP%] .t-view[_ngcontent-%COMP%]{margin:calc(var(--tui-height-m) / 2 - .5rem) .75rem}[data-size=l][_nghost-%COMP%] .t-view[_ngcontent-%COMP%]{margin:calc(var(--tui-height-l) / 2 - .75rem) 1rem}._hidden_input[_nghost-%COMP%] .t-view[_ngcontent-%COMP%]{position:absolute;height:1px;width:1px;margin:-1px;border:0;padding:0;overflow:hidden;clip:rect(0,0,0,0);-webkit-clip-path:inset(0);clip-path:inset(0)}.t-label[_ngcontent-%COMP%]{display:flex;flex-grow:1;align-self:flex-start;align-items:center;overflow:hidden}[data-size=xs][_nghost-%COMP%] .t-label[_ngcontent-%COMP%]{min-height:var(--tui-height-xs)}[data-size=s][_nghost-%COMP%] .t-label[_ngcontent-%COMP%]{min-height:var(--tui-height-s)}[data-size=m][_nghost-%COMP%] .t-label[_ngcontent-%COMP%]{min-height:var(--tui-height-m)}[data-size=l][_nghost-%COMP%] .t-label[_ngcontent-%COMP%]{min-height:var(--tui-height-l)}._hidden_input[_nghost-%COMP%] .t-label[_ngcontent-%COMP%]{text-align:center;justify-content:center}.t-content[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}"],changeDetection:0}),t}(),mr=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,Sn.u5,dr,vn.W]]}),t}(),yr=r(12130),_r=["*"],br=function(){var t=function(){function t(e){y(this,t),this.mode$=e,this.size="m",this.status="default",this.hoverable=!1}return g(t,[{key:"padding",get:function(){var t;return this.isEmpty?"none":(0,U.dt)(null===(t=this.value)||void 0===t?void 0:t.valueOf())?"m":"l"}},{key:"outputValue",get:function(){var t,e=null===(t=this.value)||void 0===t?void 0:t.valueOf();return(0,U.dt)(e)&&e>99?"99+":(0,U.Pc)(this.value)?String(this.value):""}},{key:"isEmpty",get:function(){return!this.value&&0!==this.value}},{key:"titleText",value:function(t){return t.offsetWidththis.computedMin}},{key:"canIncrement",get:function(){return this.interactive&&(this.value||0)this.computedMax||(this.value=e)}},{key:"onFocused",value:function(t){this.updateFocused(t);var e=this.unfinishedValue?(0,Lr.vZ)(this.unfinishedValue,this.numberFormat.decimalSeparator):this.nativeNumberValue;if(this.unfinishedValue=null,Number.isNaN(e))return this.nativeValue=t?this.computedPrefix+this.computedPostfix:"",void(this.value=null);t||(this.value=e,this.nativeValue=this.formattedValue)}},{key:"getFormattedValue",value:function(t){var e=Math.abs(t)%1>0,n="always"===this.decimal||e&&"never"!==this.decimal?this.precision:0,r=e?Nr(t,this.precision):"";return this.focused&&"always"!==this.decimal&&(n=r.length),this.computedPrefix+function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object.assign(Object.assign({},Nn.Jl),e),r=n.decimalLimit,i=n.decimalSeparator,o=n.thousandSeparator,a=n.zeroPadding,s=n.rounding,u=Number.isFinite(r)?(0,dn.h0)({value:t,precision:r,method:s}):t,c=String(Math.floor(Math.abs(u))),l=Nr(u,r);if(Number.isFinite(r))if(a){var h=Math.max(r-l.length,0);l="".concat(l).concat("0".repeat(h))}else l=l.replace(/0*$/,"");for(var f=c.length%3,d=(t<0?P.fv:"")+c.charAt(0),p=1;p3&&(d+=o),d+=c.charAt(p);return l?d+i+l:d}(t,Object.assign(Object.assign({},this.numberFormat),{decimalLimit:n})).replace(P.fv,P.em)+this.computedPostfix}},{key:"isNativeValueNotFinished",get:function(){var t=this.nativeNumberValue;return t<0?t>this.computedMax:t0?this.host.nativeFocusableElement.maxLength:this.host.calculatedMaxLength)}}]),n}(gn.D1);return e.\u0275fac=function(n){return(t||(t=o.n5z(e)))(n||e)},e.\u0275dir=o.lG2({type:e,selectors:[["tui-input-number"]],features:[o._Bn([(0,mt.cp)(e)]),o.qOj]}),e}(),$r=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,Rr.U5,$t.KW,Zt.cn,Fr,et.wq,Bt.fN]]}),t}(),Qr=r(86561),Wr=new o.OlP("MutationObserver config"),Kr=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r){var i=t.nativeElement;return y(this,n),e.call(this,function(t){var e=new MutationObserver(function(e){t.next(e)});return e.observe(i,r),function(){e.disconnect()}})}return g(n)}(Te.y);return t.\u0275fac=function(e){return new(e||t)(o.LFG(o.SBq),o.LFG(Wr))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t}(),ti=r(54487),ei=r(74235),ni=r(68307),ri=["tuiTab",""];function ii(t,e){1&t&&o.GkF(0)}var oi=["*"];function ai(t,e){1&t&&o.GkF(0)}function si(t,e){if(1&t&&o._UZ(0,"tui-underline",2),2&t){var n=o.oxw();o.Q6J("element",n.activeElement)}}function ui(t,e){1&t&&o.GkF(0)}function ci(t,e){if(1&t&&o.GkF(0,12),2&t){var n=o.oxw().$implicit;o.Q6J("ngTemplateOutlet",n)}}function li(t,e){if(1&t&&(o.TgZ(0,"div"),o.GkF(1,12),o.qZA()),2&t){var n=o.oxw(),r=n.index,i=n.$implicit,a=o.oxw();o.ekj("t-overflown",a.isOverflown(r)),o.xp6(1),o.Q6J("ngTemplateOutlet",i)}}function hi(t,e){if(1&t&&(o.ynx(0),o.YNc(1,ci,1,1,"ng-container",10),o.YNc(2,li,2,3,"ng-template",null,11,o.W1O),o.BQk()),2&t){var n=e.index,r=o.MAs(3),i=o.oxw();o.xp6(1),o.Q6J("ngIf",n<=i.lastVisibleIndex)("ngIfElse",r)}}function fi(t,e){if(1&t&&(o.ynx(0),o._uU(1),o.BQk()),2&t){var n=e.polymorpheusOutlet;o.xp6(1),o.hij(" ",n," ")}}function di(t,e){if(1&t&&(o._uU(0),o.ALo(1,"async"),o._UZ(2,"tui-svg",13)),2&t){var n=o.oxw();o.hij(" ",o.lcZ(1,4,n.moreWord$)," "),o.xp6(2),o.ekj("t-icon_rotated",n.open),o.Q6J("src",n.arrowOptions.iconSmall)}}function pi(t,e){if(1&t&&o.GkF(0,12),2&t){var n=o.oxw().$implicit;o.Q6J("ngTemplateOutlet",n)}}function vi(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"div",17),o.NdJ("tui-tab-activate",function(){var t=o.CHM(n).index;return o.oxw(2).onClick(t)}),o.YNc(1,pi,1,1,"ng-container",18),o.qZA()}if(2&t){var r=e.index,i=o.oxw(2);o.xp6(1),o.Q6J("ngIf",i.shouldShow(r))}}function gi(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"div",14,15),o.NdJ("keydown.arrowDown.prevent",function(t){o.CHM(n);var e=o.MAs(1);return o.oxw().onWrapperArrow(t,e,!1)})("keydown.arrowUp.prevent",function(t){o.CHM(n);var e=o.MAs(1);return o.oxw().onWrapperArrow(t,e,!0)}),o.YNc(2,vi,2,1,"div",16),o.qZA()}if(2&t){var r=o.oxw();o.xp6(2),o.Q6J("ngForOf",r.items)}}function mi(t,e){if(1&t&&o._UZ(0,"tui-underline",19),2&t){var n=o.oxw();o.Q6J("element",n.activeElement)}}var yi=new o.OlP("[TUI_TAB_EVENT]"),_i=[Z.a3,Z.ku,gt.Ok,{provide:yi,deps:[o.SBq,gt.Ok,[new o.FiY,Kr],[new o.FiY,Qr.Od]],useFactory:function(t,e,n,r){var i=t.nativeElement,o=r&&n?n.pipe((0,C.h)(function(){return r.isActive})):Ae.E;return(0,m.T)(o,e.pipe((0,C.h)(ti.y)),i.matches("button")?(0,Ee.mL)(i,"click"):Ae.E).pipe((0,b.U)(function(){return i.dispatchEvent(new CustomEvent("tui-tab-activate",{bubbles:!0}))}))}},yr.CV],bi=function(){var t=function(){function t(e,n,r,i,o,a){var s=this;y(this,t),this.routerLinkActive=e,this.el=n,this.mode$=r,this.event$=i,this.margin=o,this.focusVisible=!1,a.subscribe(function(t){s.focusVisible=t})}return g(t,[{key:"isActive",get:function(){return!!this.routerLinkActive&&this.routerLinkActive.isActive}},{key:"ngOnDestroy",value:function(){(0,Q.V8)(this.el.nativeElement)&&this.el.nativeElement.blur()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(Qr.Od,8),o.Y36(o.SBq),o.Y36(mt.Au),o.Y36(yi),o.Y36(mn.WO),o.Y36(Z.ku))},t.\u0275cmp=o.Xpm({type:t,selectors:[["a","tuiTab","",3,"routerLink",""],["a","tuiTab","","routerLink","","routerLinkActive",""],["button","tuiTab",""]],hostAttrs:["type","button"],hostVars:8,hostBindings:function(t,e){1&t&&o.NdJ("$.data-mode.attr",function(){return e.mode$}),2&t&&(o.Udp("cursor","pointer")("--tui-tab-margin",e.margin,"px"),o.ekj("_focus-visible",e.focusVisible)("_active",e.isActive))},features:[o._Bn(_i)],attrs:ri,ngContentSelectors:oi,decls:4,vars:3,consts:[[4,"ngIf"],[1,"t-highlight"]],template:function(t,e){1&t&&(o.F$t(),o.YNc(0,ii,1,0,"ng-container",0),o.ALo(1,"async"),o.TgZ(2,"span",1),o.Hsn(3),o.qZA()),2&t&&o.Q6J("ngIf",o.lcZ(1,1,e.event$))},directives:[A.O5],pipes:[A.Ov],styles:['._underline[_nghost-%COMP%]:hover, ._underline [_nghost-%COMP%]:hover{box-shadow:inset 0 -2px var(--tui-base-03)}tui-tabs > [_nghost-%COMP%]:first-child, tui-tabs > [_nghost-%COMP%]:first-child, [tuiTabs] > [_nghost-%COMP%]:first-child, [tuiTabs] > [_nghost-%COMP%]:first-child, tui-tabs > :first-child[_nghost-%COMP%], tui-tabs > :first-child [_nghost-%COMP%], [tuiTabs] > :first-child[_nghost-%COMP%], [tuiTabs] > :first-child [_nghost-%COMP%]{margin-left:0}[_nghost-%COMP%]{transition-property:color,box-shadow,opacity,background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;position:relative;display:flex;flex-shrink:0;height:100%;box-sizing:border-box;justify-content:space-between;align-items:center;white-space:nowrap;cursor:pointer;outline:none;color:inherit;margin-left:var(--tui-tab-margin, 1.5rem)}[_nghost-%COMP%]:disabled{opacity:var(--tui-disabled-opacity);pointer-events:none}[_nghost-%COMP%]:not([data-mode])._active{opacity:1;color:var(--tui-text-01);box-shadow:none}[data-mode=onDark][_nghost-%COMP%]{color:#ffffffb8}[data-mode=onDark][_nghost-%COMP%]:hover, [data-mode=onDark]._active[_nghost-%COMP%]{color:#fff}[data-mode=onDark]._focus-visible[_nghost-%COMP%] .t-highlight[_ngcontent-%COMP%]{background:var(--tui-clear-inverse);color:var(--tui-text-01)}[data-mode=onLight][_nghost-%COMP%]{color:var(--tui-text-02)}[data-mode=onLight][_nghost-%COMP%]:hover, [data-mode=onLight]._active[_nghost-%COMP%]{color:var(--tui-text-01)}[data-mode=onLight]._focus-visible[_nghost-%COMP%] .t-highlight[_ngcontent-%COMP%]{background:var(--tui-text-01);color:#fff}._focus-visible[_nghost-%COMP%] .t-highlight[_ngcontent-%COMP%]{background:var(--tui-selection)}._android[_nghost-%COMP%]{transition-property:opacity;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;height:3rem;flex:1;flex-shrink:0;justify-content:center;margin:0;text-transform:uppercase;color:var(--tui-base-09);opacity:.5;font-size:.875rem;font-weight:500;letter-spacing:-.008125rem;font-family:-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif}._android[_nghost-%COMP%]:hover{box-shadow:none}._android._active[_nghost-%COMP%]{opacity:1;color:var(--tui-base-09)}._android[_nghost-%COMP%] .t-highlight[_ngcontent-%COMP%]{width:auto}._ios[_nghost-%COMP%]{height:1.75rem;flex:1;flex-shrink:0;justify-content:center;margin:0;color:var(--tui-base-01);opacity:1;font-size:.8125rem;font-weight:500;letter-spacing:-.005rem;font-family:-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif}._ios[_nghost-%COMP%]:hover{box-shadow:none}._ios._active[_nghost-%COMP%]{font-size:.875rem;font-weight:600;color:var(--tui-link)}._ios[_nghost-%COMP%] .t-highlight[_ngcontent-%COMP%]{width:auto}@media (hover: hover){[_nghost-%COMP%]:hover{color:var(--tui-text-01)}}.t-highlight[_ngcontent-%COMP%]{display:inline-flex;width:100%;align-items:center;justify-content:inherit}.t-highlight[_ngcontent-%COMP%] >*{flex-shrink:0}tui-tabs[data-vertical][_nghost-%COMP%], tui-tabs[data-vertical] [_nghost-%COMP%], [tuiTabs][data-vertical][_nghost-%COMP%], [tuiTabs][data-vertical] [_nghost-%COMP%]{min-height:2.75rem;height:auto;white-space:normal;margin:0;text-align:left;padding:.25rem 1.25rem .25rem 0}tui-tabs[data-vertical][_nghost-%COMP%]:after, tui-tabs[data-vertical] [_nghost-%COMP%]:after, [tuiTabs][data-vertical][_nghost-%COMP%]:after, [tuiTabs][data-vertical] [_nghost-%COMP%]:after{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:"";position:absolute;top:0;bottom:0;right:0;width:2px;background:var(--tui-primary);transform:scaleX(0);transform-origin:right}tui-tabs[data-vertical][_nghost-%COMP%]:hover, tui-tabs[data-vertical] [_nghost-%COMP%]:hover, [tuiTabs][data-vertical][_nghost-%COMP%]:hover, [tuiTabs][data-vertical] [_nghost-%COMP%]:hover{box-shadow:inset -2px 0 var(--tui-base-03)}tui-tabs[data-vertical]._active[_nghost-%COMP%]:after, tui-tabs[data-vertical] ._active[_nghost-%COMP%]:after, [tuiTabs][data-vertical]._active[_nghost-%COMP%]:after, [tuiTabs][data-vertical] ._active[_nghost-%COMP%]:after{transform:none}tui-tabs[data-vertical="right"][_nghost-%COMP%], tui-tabs[data-vertical="right"] [_nghost-%COMP%], [tuiTabs][data-vertical="right"][_nghost-%COMP%], [tuiTabs][data-vertical="right"] [_nghost-%COMP%]{text-align:right;padding:.25rem 0 .25rem 1.25rem}tui-tabs[data-vertical="right"][_nghost-%COMP%]:after, tui-tabs[data-vertical="right"] [_nghost-%COMP%]:after, [tuiTabs][data-vertical="right"][_nghost-%COMP%]:after, [tuiTabs][data-vertical="right"] [_nghost-%COMP%]:after{right:auto;left:0;transform-origin:left}tui-tabs[data-vertical="right"][_nghost-%COMP%]:hover, tui-tabs[data-vertical="right"] [_nghost-%COMP%]:hover, [tuiTabs][data-vertical="right"][_nghost-%COMP%]:hover, [tuiTabs][data-vertical="right"] [_nghost-%COMP%]:hover{box-shadow:inset 2px 0 var(--tui-base-03)}'],changeDetection:0}),t}(),ki=function(){var t=function(){function t(e){y(this,t),this.el=e,this.activeItemIndex=0,this.activeItemIndexChange=new o.vpe}return g(t,[{key:"tabs",get:function(){return Array.from(this.el.nativeElement.querySelectorAll("[tuiTab]"))}},{key:"activeElement",get:function(){return this.tabs[this.activeItemIndex]||null}},{key:"onActivate",value:function(t,e){var n=this.tabs.findIndex(function(t){return t===e});t.stopPropagation(),n!==this.activeItemIndex&&(this.activeItemIndexChange.emit(n),this.activeItemIndex=n)}},{key:"moveFocus",value:function(t,e){var n=this.tabs;(0,Q.VR)(n.indexOf(t),n,e)}},{key:"ngAfterViewChecked",value:function(){var t=this.tabs,e=this.activeElement;t.forEach(function(t){var n=t===e;t.classList.toggle("_active",n),t.setAttribute("tabIndex",n?"0":"-1")})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.SBq))},t.\u0275dir=o.lG2({type:t,selectors:[["tui-tabs"],["nav","tuiTabs",""]],hostBindings:function(t,e){1&t&&o.NdJ("tui-tab-activate",function(t){return e.onActivate(t,t.target)})},inputs:{activeItemIndex:"activeItemIndex"},outputs:{activeItemIndexChange:"activeItemIndexChange"}}),t}(),wi=(0,U.JN)({underline:!0,exposeActive:!0,itemsLimit:1/0,minMoreWidth:0}),Ci=function(){var t=function(){function t(e,n,r,i){var o=this,a=e.nativeElement;y(this,t),this.zone=n,this.animationFrame$=r,this.mode$=i,this.el$=new ei.t(1),this.refresh$=this.el$.pipe((0,_.w)(function(t){return t?o.animationFrame$.pipe((0,b.U)(function(){return t}),(0,Ee.fL)(o.zone)):(0,H.of)(null)}),(0,S.B)()),this.transition$=(0,Tt.Gt)(this.el$.pipe((0,b.U)(function(t){return t&&"all"}),(0,yt.b)(50))),this.transform$=(0,Tt.Gt)(this.refresh$.pipe((0,b.U)(function(t){return t?"translate3d(".concat(t.offsetLeft,"px, 0, 0)"):null}))),this.width$=(0,Tt.Gt)(this.refresh$.pipe((0,b.U)(function(t){return(null==t?void 0:t.clientWidth)||0}))),a["$.style.transitionProperty"]=this.transition$,a["$.style.transform"]=this.transform$,a["$.style.width.px"]=this.width$}return g(t,[{key:"element",set:function(t){this.el$.next(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.SBq),o.Y36(o.R0b),o.Y36(Y.L1),o.Y36(mt.Au))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-underline"]],hostBindings:function(t,e){1&t&&o.NdJ("$.data-mode.attr",function(){return e.mode$})("$.style.transitionProperty",function(){return e.transition$()})("$.style.transform",function(){return e.transform$()})("$.style.width.px",function(){return e.width$()})},inputs:{element:"element"},features:[o._Bn([yr.CV])],decls:0,vars:0,template:function(t,e){},styles:["[_nghost-%COMP%]{transition-property:none;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;left:0;height:100%;color:var(--tui-primary);transform:scale(0);box-shadow:inset 0 -.1875rem 0 -.0625rem;pointer-events:none}[data-mode=onDark][_nghost-%COMP%]{color:var(--tui-text-01-night)}[data-mode=onLight][_nghost-%COMP%]{color:var(--tui-text-02)}"],changeDetection:0}),t}(),xi=function(){var t=function(){function t(e,n,r,i,o){var a=this;y(this,t),this.options=e,this.el=n,this.tabs=r,this.children=P.Mm,this.underline=this.options.underline,o.pipe((0,C.h)(function(){return a.underline})).subscribe(function(){i.detectChanges()})}return g(t,[{key:"activeItemIndex",get:function(){return this.tabs.activeItemIndex},set:function(t){this.tabs.activeItemIndex=t}},{key:"activeElement",get:function(){return this.tabs.activeElement}},{key:"onKeyDownArrow",value:function(t,e){this.tabs.moveFocus(t,e)}},{key:"ngAfterViewChecked",value:function(){this.scrollTo(this.tabs.activeItemIndex)}},{key:"scrollTo",value:function(t){var e=this.tabs.tabs[t];if(e){var n=e.offsetLeft,r=e.offsetWidth,i=this.el.nativeElement;ni.scrollLeft+i.offsetWidth&&(i.scrollLeft=n+r-i.offsetWidth)}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(wi),o.Y36(o.SBq),o.Y36(ki),o.Y36(o.sBO),o.Y36(Z.tl))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-tabs",3,"vertical",""],["nav","tuiTabs","",3,"vertical",""]],contentQueries:function(t,e,n){var r;(1&t&&o.Suo(n,bi,4),2&t)&&(o.iGM(r=o.CRH())&&(e.children=r))},hostVars:2,hostBindings:function(t,e){1&t&&o.NdJ("keydown.arrowRight.prevent",function(t){return e.onKeyDownArrow(t.target,1)})("keydown.arrowLeft.prevent",function(t){return e.onKeyDownArrow(t.target,-1)}),2&t&&o.ekj("_underline",e.underline)},inputs:{underline:"underline"},features:[o._Bn([Z.a3,Z.tl,Kr,{provide:Wr,useValue:{childList:!0}}])],ngContentSelectors:oi,decls:4,vars:4,consts:[[4,"ngIf"],["class","t-underline",3,"element",4,"ngIf"],[1,"t-underline",3,"element"]],template:function(t,e){1&t&&(o.F$t(),o.YNc(0,ai,1,0,"ng-container",0),o.ALo(1,"async"),o.Hsn(2),o.YNc(3,si,1,1,"tui-underline",1)),2&t&&(o.Q6J("ngIf",o.lcZ(1,2,e.children.changes)),o.xp6(3),o.Q6J("ngIf",e.underline))},directives:[A.O5,Ci],pipes:[A.Ov],styles:["[_nghost-%COMP%]{scrollbar-width:none;-ms-overflow-style:none;position:relative;display:flex;font:var(--tui-font-text-m);height:var(--tui-height-l);color:var(--tui-text-02);box-shadow:inset 0 -1px var(--tui-base-03);overflow:auto;isolation:isolate}[_nghost-%COMP%]::-webkit-scrollbar, [_nghost-%COMP%]::-webkit-scrollbar-thumb{background:transparent;width:0;height:0}.t-underline[_ngcontent-%COMP%]{z-index:-1}"],changeDetection:0}),(0,Ke.gn)([pn.UM],t.prototype,"scrollTo",null),t}(),Oi=new o.OlP("[TUI_TABS_REFRESH]"),Mi=[Z.tl,Z.a3,Kr,(0,Xt.fx)({align:"right"}),{provide:Wr,useValue:{childList:!0,subtree:!0,characterData:!0}},{provide:Oi,deps:[Z.tl,Kr,Z.a3,A.K0,o.SBq,o.sBO],useFactory:function(t,e,n,r,i,o){var a=r.body,s=i.nativeElement;return(0,m.T)(t,e.pipe((0,ni.b)(function(){return o.detectChanges()}))).pipe((0,C.h)(function(){return a.contains(s)}),(0,yt.b)(0),(0,k.O)(null),(0,w.R)(n))}}],Si=function(){var t=function(){function t(e,n,r,i,a,s,u){y(this,t),this.options=e,this.margin=n,this.refresh$=r,this.el=i,this.cdr=a,this.moreWord$=s,this.arrowOptions=u,this.maxIndex=1/0,this.underline=this.options.underline,this.itemsLimit=this.options.itemsLimit,this.activeItemIndexChange=new o.vpe,this.items=P.Mm,this.activeItemIndex=0,this.open=!1}return g(t,[{key:"itemIndex",set:function(t){this.activeItemIndex=t,this.maxIndex=this.getMaxIndex()}},{key:"tabs",get:function(){return Array.from(this.el.nativeElement.querySelectorAll("[tuiTab]"))}},{key:"activeElement",get:function(){var t,e=this.tabs,n=(0,dn.Ki)(this.activeItemIndex||0,0,e.length-2);return this.options.exposeActive||this.lastVisibleIndex>=n?e[n]||null:(null===(t=this.moreButton)||void 0===t?void 0:t.nativeElement)||null}},{key:"isMoreAlone",get:function(){return this.lastVisibleIndex<0&&!this.options.exposeActive}},{key:"isMoreVisible",get:function(){return this.lastVisibleIndex=this.items.length?this.maxIndex:Math.min(this.itemsLimit-(this.itemsLimit-1>this.activeItemIndex||!this.options.exposeActive?1:2),this.maxIndex)}},{key:"ngAfterViewInit",value:function(){var t=this;this.refresh$.pipe((0,b.U)(function(){return t.getMaxIndex()}),(0,C.h)(function(e){return t.maxIndex!==e})).subscribe(function(e){t.maxIndex=e,t.cdr.detectChanges()})}},{key:"onActiveItemIndexChange",value:function(t){this.updateActiveItemIndex(t)}},{key:"onClick",value:function(t){this.open=!1,this.focusMore(),this.updateActiveItemIndex(t)}},{key:"onArrowRight",value:function(t){(0,$.ve)(t.target)&&(0,Q.V8)(t.target)&&this.focusMore()}},{key:"onArrowLeft",value:function(){for(var t=this.tabs,e=t.length-2;e>=0;){if(t[e].focus(),(0,Q.V8)(t[e]))return;e--}}},{key:"onWrapperArrow",value:function(t,e,n){var r=(0,Q.BW)({initial:t.target,root:e,previous:n});r&&r.focus()}},{key:"isOverflown",value:function(t){return t!==this.activeItemIndex||!this.options.exposeActive}},{key:"shouldShow",value:function(t){return t>this.lastVisibleIndex&&this.isOverflown(t)}},{key:"focusMore",value:function(){this.moreButton&&this.moreButton.nativeElement.focus()}},{key:"getMaxIndex",value:function(){var t=this.tabs,e=this.activeItemIndex,n=this.margin;if(t.length<2)return 0;var r=this.options,i=r.exposeActive,o=r.minMoreWidth,a=this.el.nativeElement.clientWidth,s=t[e]?t[e].scrollWidth:0,u=Math.max(t[t.length-1].scrollWidth,o),c=t.length-2,l=t.reduce(function(t,e){return t+e.scrollWidth},0)+c*n-t[t.length-1].scrollWidth;if(l<=a)return 1/0;for(;c;)if(l-=t[c].scrollWidth+n,c--,l+(i&&e>c?s+n:0)+u+n+(0,dn.HW)(this.maxIndex===c-1) .t-header_hoverable[_ngcontent-%COMP%]{background:var(--tui-base-02)}.t-wrapper[_ngcontent-%COMP%]:hover[data-mode=onDark] > .t-header_hoverable[_ngcontent-%COMP%]{background:var(--tui-clear-inverse)}.t-wrapper[_ngcontent-%COMP%]:hover[data-mode=onLight] > .t-header_hoverable[_ngcontent-%COMP%]{background:var(--tui-clear)}.t-title[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-right:0;flex-grow:1}._has-arrow[_nghost-%COMP%] .t-title[_ngcontent-%COMP%]{margin-right:.5rem}.t-icon[_ngcontent-%COMP%]{transition-property:transform,color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:1.5rem;height:1.5rem;margin-left:auto;color:var(--tui-base-06)}.t-icon_open[_ngcontent-%COMP%]{transform:rotate(180deg)}[data-mode][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{opacity:var(--tui-disabled-opacity)}[_nghost-%COMP%]:hover[data-mode] .t-icon[_ngcontent-%COMP%]{opacity:.8}[data-mode=onDark][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{color:var(--tui-text-01-night)}[data-mode=onLight][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{color:var(--tui-text-01)}[_nghost-%COMP%]:hover:not([data-mode]) .t-icon[_ngcontent-%COMP%]{color:var(--tui-base-07)}.t-content[_ngcontent-%COMP%]{font:var(--tui-font-text-m);padding:1.25rem;word-wrap:break-word}[data-size=s][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{font:var(--tui-font-text-s);padding:1rem}'],changeDetection:0}),t}(),qi=function(){var t=function(){function t(e){y(this,t),this.destroy$=e,this.closeOthers=!0,this.rounded=!0,this.accordionItems=P.Mm}return g(t,[{key:"ngAfterContentInit",value:function(){var t=this,e=this.accordionItems,n=(0,Ee.ll)(e),r=n.pipe((0,Ei.G)(),(0,b.U)(function(t){var e=p(t,2),n=e[0];return e[1].find(function(t){return!n.includes(t)&&t.open})}),(0,C.h)(U.Pc));(0,m.T)(n.pipe((0,_.w)(function(t){return m.T.apply(void 0,d(t.map(function(t){return t.openChange.pipe((0,C.h)(ti.y),(0,b.U)(function(){return t}))})))})),r).pipe((0,C.h)(function(){return t.closeOthers}),(0,w.R)(this.destroy$)).subscribe(function(t){e.forEach(function(e){t!==e&&e.close()})})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(Z.a3,2))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-accordion"]],contentQueries:function(t,e,n){var r;(1&t&&o.Suo(n,Zi,4),2&t)&&(o.iGM(r=o.CRH())&&(e.accordionItems=r))},inputs:{closeOthers:"closeOthers",rounded:"rounded"},features:[o._Bn([Z.a3])],ngContentSelectors:Bi,decls:2,vars:2,consts:[["automation-id","tui-accordion__group","orientation","vertical","size","l","tuiGroup","",1,"t-group",3,"collapsed","rounded"]],template:function(t,e){1&t&&(o.F$t(ji),o.TgZ(0,"div",0),o.Hsn(1),o.qZA()),2&t&&o.Q6J("collapsed",!0)("rounded",e.rounded)},directives:[Gt.gZ],styles:["[_nghost-%COMP%]{display:block}.t-group[_ngcontent-%COMP%]{display:flex}"],changeDetection:0}),t}(),Ui=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,ar.F,sr.c,or.u,et.wq,Jt.EI,Gt.n6,R]]}),t}(),Hi=["input"];function Gi(t,e){if(1&t&&(o.ynx(0),o._uU(1),o.BQk()),2&t){var n=e.polymorpheusOutlet;o.xp6(1),o.hij(" ",n," ")}}function Ji(t,e){if(1&t&&(o.TgZ(0,"div",6),o.YNc(1,Gi,2,1,"ng-container",7),o.qZA()),2&t){var n=o.oxw();o.xp6(1),o.Q6J("polymorpheusOutlet",n.leftContent)}}function Xi(t,e){if(1&t&&o._UZ(0,"tui-loader",8),2&t){var n=o.oxw();o.Q6J("inheritColor",!0)("size",n.loaderSize)}}function $i(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"tui-svg",9),o.NdJ("click",function(t){return o.CHM(n),o.oxw().remove(t)})("mousedown.stop.prevent.silent",function(){return 0}),o.qZA()}if(2&t){var r=o.oxw();o.Q6J("src",r.icons.close)}}function Qi(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"input",10,11),o.NdJ("blur",function(){return o.CHM(n),o.oxw().onBlur()})("keydown",function(t){return o.CHM(n),o.oxw().onKeyDown(t)})("ngModelChange",function(t){return o.CHM(n),o.oxw().onInput(t)}),o.qZA()}if(2&t){var r=o.oxw();o.Q6J("ngModel",r.editedText),o.uIk("maxLength",r.maxLength)}}var Wi=(0,U.JN)({size:"m",status:"default",autoColor:!1}),Ki=function(){var t=function(){function t(e,n,r,i){y(this,t),this.el=e,this.mode$=n,this.options=r,this.icons=i,this.value="",this.editable=!1,this.separator=",",this.maxLength=null,this.size=this.options.size,this.showLoader=!1,this.status=this.options.status,this.hoverable=!1,this.removable=!1,this.disabled=!1,this.autoColor=this.options.autoColor,this.edited=new o.vpe,this.editing=!1,this.editedText=null}return g(t,[{key:"input",set:function(t){t&&t.nativeElement.focus()}},{key:"backgroundColor",get:function(){return this.autoColor?function(t){if(""===t)return"";for(var e=0,n=0;n1?this.save(String(e)):this.editedText=t}},{key:"onKeyDown",value:function(t){switch(t.stopPropagation(),t.key.toLowerCase()){case"enter":t.preventDefault(),this.save(this.editedText||"");break;case"escape":case"esc":t.preventDefault(),this.stopEditing(),this.el.nativeElement.focus()}}},{key:"onBlur",value:function(){null!==this.editedText&&this.save(this.editedText)}},{key:"canEdit",get:function(){return this.editable&&!this.disabled&&!this.showLoader}},{key:"stopEditing",value:function(){this.editing=!1,this.editedText=null}},{key:"save",value:function(t){this.stopEditing(),this.edited.emit(t.trim())}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.SBq),o.Y36(mt.Au),o.Y36(Wi),o.Y36(mt.Gs))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-tag"],["a","tuiTag",""],["button","tuiTag",""]],viewQuery:function(t,e){var n;(1&t&&o.Gf(Hi,5,o.SBq),2&t)&&(o.iGM(n=o.CRH())&&(e.input=n.first))},hostVars:10,hostBindings:function(t,e){1&t&&o.NdJ("$.data-mode.attr",function(){return e.mode$})("keydown.enter",function(t){return e.edit(t)})("keydown.delete",function(t){return e.remove(t)})("keydown.backspace",function(t){return e.remove(t)}),2&t&&(o.uIk("data-size",e.size)("data-status",e.status),o.ekj("_hoverable",e.hoverable)("_disabled",e.disabled)("_autocolor",e.autoColor)("_editing",e.editing))},inputs:{value:"value",editable:"editable",separator:"separator",maxLength:"maxLength",size:"size",showLoader:"showLoader",status:"status",hoverable:"hoverable",removable:"removable",disabled:"disabled",autoColor:"autoColor",leftContent:"leftContent"},outputs:{edited:"edited"},features:[o._Bn([yr.CV])],decls:6,vars:7,consts:[[1,"t-tag",3,"dblclick"],["class","t-content",4,"ngIf"],["automation-id","tui-tag__text",1,"t-text",3,"textContent"],["class","t-content",3,"inheritColor","size",4,"ngIf"],["automation-id","tui-tag__remove","class","t-icon",3,"src","click","mousedown.stop.prevent.silent",4,"ngIf"],["automation-id","tui-tag__edit","type","text","class","t-edit",3,"ngModel","blur","keydown","ngModelChange",4,"ngIf"],[1,"t-content"],[4,"polymorpheusOutlet"],[1,"t-content",3,"inheritColor","size"],["automation-id","tui-tag__remove",1,"t-icon",3,"src","click","mousedown.stop.prevent.silent"],["automation-id","tui-tag__edit","type","text",1,"t-edit",3,"ngModel","blur","keydown","ngModelChange"],["input",""]],template:function(t,e){1&t&&(o.TgZ(0,"div",0),o.NdJ("dblclick",function(t){return e.edit(t)}),o.YNc(1,Ji,2,1,"div",1),o._UZ(2,"span",2),o.YNc(3,Xi,1,2,"tui-loader",3),o.YNc(4,$i,1,1,"tui-svg",4),o.qZA(),o.YNc(5,Qi,2,2,"input",5)),2&t&&(o.Udp("background-color",e.backgroundColor),o.xp6(1),o.Q6J("ngIf",e.leftContent),o.xp6(1),o.Q6J("textContent",e.displayText),o.xp6(1),o.Q6J("ngIf",e.showLoader),o.xp6(1),o.Q6J("ngIf",e.canRemove),o.xp6(1),o.Q6J("ngIf",e.editing))},directives:[A.O5,et.Li,E.kM,Jt.PN,Sn.Fj,Sn.JJ,Sn.On],styles:['[_nghost-%COMP%]{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:relative;display:inline-block;font:var(--tui-font-text-s);line-height:1.25rem;max-width:100%;cursor:default;outline:none;text-decoration:none;padding:0;border:0}[_nghost-%COMP%]:after{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;top:0;left:0;width:100%;height:100%;content:"";box-sizing:border-box;border-radius:inherit;pointer-events:none}._hoverable[_nghost-%COMP%]:hover[data-status=custom]:after, ._hoverable[_nghost-%COMP%]:active[data-status=custom]:after{background-color:var(--tui-clear)}[_nghost-%COMP%]:focus:after{border:2px solid var(--tui-focus)}[data-size=s][_nghost-%COMP%]{font:var(--tui-font-text-xs);line-height:1.25rem;border-radius:var(--tui-radius-xs)}[data-size=m][_nghost-%COMP%]{border-radius:var(--tui-radius-xs)}[data-size=l][_nghost-%COMP%]{border-radius:var(--tui-radius-s)}[data-status=primary][_nghost-%COMP%]{background-color:var(--tui-primary);color:var(--tui-primary-text)}[data-status=primary]._hoverable[_nghost-%COMP%]:hover{background-color:var(--tui-primary-hover)}[data-status=primary]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-primary-active)}[data-status=error][_nghost-%COMP%]{background-color:var(--tui-error-bg);color:var(--tui-text-01)}[data-status=error]._hoverable[_nghost-%COMP%]:hover, [data-status=error]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-error-bg-hover)}[data-status=error][data-mode=onDark][_nghost-%COMP%]{background-color:var(--tui-error-bg-night);color:var(--tui-text-01-night)}[data-status=error][data-mode=onDark]._hoverable[_nghost-%COMP%]:hover, [data-status=error][data-mode=onDark]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-error-bg-night-hover)}[data-status=success][_nghost-%COMP%]{background-color:var(--tui-success-bg);color:var(--tui-text-01)}[data-status=success]._hoverable[_nghost-%COMP%]:hover, [data-status=success]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-success-bg-hover)}[data-status=success][data-mode=onDark][_nghost-%COMP%]{background-color:var(--tui-success-bg-night);color:var(--tui-text-01-night)}[data-status=success][data-mode=onDark]._hoverable[_nghost-%COMP%]:hover, [data-status=success][data-mode=onDark]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-success-bg-night-hover)}[data-status=warning][_nghost-%COMP%]{background-color:var(--tui-warning-bg);color:var(--tui-text-01)}[data-status=warning]._hoverable[_nghost-%COMP%]:hover, [data-status=warning]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-warning-bg-hover)}[data-status=warning][data-mode=onDark][_nghost-%COMP%]{background-color:var(--tui-warning-bg-night);color:var(--tui-text-01-night)}[data-status=warning][data-mode=onDark]._hoverable[_nghost-%COMP%]:hover, [data-status=warning][data-mode=onDark]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-warning-bg-night-hover)}[data-status=default][_nghost-%COMP%]{color:var(--tui-text-01-night);background-color:var(--tui-base-06)}[data-status=default][_nghost-%COMP%]:not([data-mode])._hoverable:hover{background-color:var(--tui-base-07)}[data-status=default][_nghost-%COMP%]:not([data-mode])._hoverable:active{background-color:var(--tui-base-08)}[data-status=default][data-mode=onDark][_nghost-%COMP%]{color:var(--tui-text-01-night);background-color:var(--tui-clear-inverse)}[data-status=default][data-mode=onDark]._hoverable[_nghost-%COMP%]:hover{background-color:var(--tui-clear-inverse-hover)}[data-status=default][data-mode=onDark]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-clear-inverse-active)}[data-status=default][data-mode=onDark][_nghost-%COMP%]:focus:after{border:2px solid var(--tui-base-01)}[data-status=default][data-mode=onLight][_nghost-%COMP%]{background-color:var(--tui-clear);color:var(--tui-text-01)}[data-status=default][data-mode=onLight]._hoverable[_nghost-%COMP%]:hover{background-color:var(--tui-clear-hover)}[data-status=default][data-mode=onLight]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-clear-active)}._editing[_nghost-%COMP%]{background:transparent!important}._disabled[_nghost-%COMP%]{pointer-events:none;opacity:var(--tui-disabled-opacity)}._hoverable[_nghost-%COMP%]{cursor:pointer}._autocolor[_nghost-%COMP%]{color:#000c}.t-text[_ngcontent-%COMP%]{white-space:pre;overflow:hidden;text-overflow:ellipsis;padding-right:.02em}.t-tag[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative;display:flex;width:auto;align-items:center;font:inherit;border-radius:inherit}[data-size=s][_nghost-%COMP%] .t-tag[_ngcontent-%COMP%]{height:1.25rem;padding:0 .375rem}[data-size=m][_nghost-%COMP%] .t-tag[_ngcontent-%COMP%]{height:var(--tui-height-xs);padding:0 .5rem}[data-size=l][_nghost-%COMP%] .t-tag[_ngcontent-%COMP%]{height:var(--tui-height-s);padding:0 .75rem}._editing[_nghost-%COMP%] .t-tag[_ngcontent-%COMP%]{visibility:hidden}.t-edit[_ngcontent-%COMP%]{margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;font:inherit;color:var(--tui-text-01);width:100%;height:100%;box-sizing:border-box;padding:0 .5rem}.t-edit[_ngcontent-%COMP%]:-webkit-autofill, .t-edit[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-edit[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}[data-size=s][_nghost-%COMP%] .t-edit[_ngcontent-%COMP%]{padding:0 .375rem}[data-size=m][_nghost-%COMP%] .t-edit[_ngcontent-%COMP%]{padding:0 .5rem}[data-size=l][_nghost-%COMP%] .t-edit[_ngcontent-%COMP%]{padding:0 .75rem}.t-icon[_ngcontent-%COMP%]{width:1rem;height:100%;cursor:pointer;pointer-events:all;opacity:var(--tui-disabled-opacity);-webkit-margin-start:.25rem;margin-inline-start:.25rem;-webkit-margin-end:-.25rem;margin-inline-end:-.25rem}.t-icon[_ngcontent-%COMP%]:hover{opacity:1}[data-size=s][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{-webkit-margin-start:0;margin-inline-start:0}[data-size=s][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%] svg{transform:scale(.75)}.t-content[_ngcontent-%COMP%]{width:1rem;height:1rem;-webkit-margin-end:.25rem;margin-inline-end:.25rem}'],changeDetection:0}),t}(),to=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,Sn.u5,Jt.EI,E.dS,et.wq]]}),t}(),eo=r(44711),no=r(21673),ro=["tuiSidebar",""];function io(t,e){if(1&t&&(o.ynx(0),o._uU(1),o.BQk()),2&t){var n=e.polymorpheusOutlet;o.xp6(1),o.hij(" ",n," ")}}var oo=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r,i,o){var a;return y(this,n),(a=e.call(this,t,o)).content=t,a.injector=r,a.portalService=i,a.component=new et.Al(ao,a.injector),a.sidebarRef=null,a.direction="left",a.autoWidth=!1,a}return g(n,[{key:"tuiSidebar",set:function(t){t?this.show():this.hide()}},{key:"ngOnDestroy",value:function(){this.hide()}},{key:"show",value:function(){null===this.sidebarRef&&(this.sidebarRef=this.portalService.add(this.component),this.sidebarRef.changeDetectorRef.detectChanges())}},{key:"hide",value:function(){null!==this.sidebarRef&&(this.portalService.remove(this.sidebarRef),this.sidebarRef=null)}}]),n}(et.GL);return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.Rgc),o.Y36(o.zs3),o.Y36(j.ae),o.Y36(o.sBO))},t.\u0275dir=o.lG2({type:t,selectors:[["","tuiSidebar",""]],inputs:{direction:["tuiSidebarDirection","direction"],autoWidth:["tuiSidebarAutoWidth","autoWidth"],tuiSidebar:"tuiSidebar"},features:[o.qOj]}),t}(),ao=function(){var t=function(){function t(e,n){y(this,t),this.options=e,this.directive=n,this.left=Object.assign(Object.assign({},this.options),{value:"left"}),this.right=Object.assign(Object.assign({},this.options),{value:"right"})}return g(t,[{key:"animation",get:function(){return"left"===this.direction?this.left:this.right}},{key:"directionHostClass",get:function(){return"t-".concat(this.directive.direction)}},{key:"direction",get:function(){return this.directive.direction}},{key:"content",get:function(){return this.directive.content}},{key:"autoWidth",get:function(){return this.directive.autoWidth}},{key:"ngDoCheck",value:function(){this.directive.check()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(mt.Pw),o.Y36(oo))},t.\u0275cmp=o.Xpm({type:t,selectors:[["aside","tuiSidebar",""]],hostVars:3,hostBindings:function(t,e){2&t&&(o.d8E("@tuiSlideIn",e.animation),o.Tol(e.directionHostClass))},attrs:ro,decls:2,vars:3,consts:[["tuiActiveZone","",1,"t-wrapper"],[4,"polymorpheusOutlet"]],template:function(t,e){1&t&&(o.TgZ(0,"div",0),o.YNc(1,io,2,1,"ng-container",1),o.qZA()),2&t&&(o.ekj("t-wrapper_auto-width",e.autoWidth),o.xp6(1),o.Q6J("polymorpheusOutlet",e.content))},directives:[Ot.e,et.Li],styles:['[_nghost-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;display:flex}[_nghost-%COMP%]:before, [_nghost-%COMP%]:after{position:absolute;top:0;left:0;width:100%;content:"";height:100%;background:rgba(0,0,0,.38);animation:tuiFadeIn var(--tui-duration)}[_nghost-%COMP%]:before{left:-100%;width:200%}[_nghost-%COMP%]:after{left:100%}.ng-animating[_nghost-%COMP%]:before, .ng-animating[_nghost-%COMP%]:after{opacity:0;transition:opacity var(--tui-duration)}.t-right[_nghost-%COMP%]{justify-content:flex-end}.t-left[_nghost-%COMP%]{justify-content:flex-start}.t-wrapper[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:column;background:var(--tui-base-01);box-shadow:0 10rem var(--tui-base-01);width:17.25rem}.t-wrapper_auto-width[_ngcontent-%COMP%]{width:auto}'],data:{animation:[Kt.Gw]},changeDetection:0}),t}(),so=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[Ot.A,et.wq]]}),t}(),uo=function(){var t=function(){function t(e,n,r){var i=this,o=n.nativeElement;y(this,t),this.readyToScroll$=r,this.scroll$=new ei.t(1),this.readyToScroll$.pipe((0,C.h)(Boolean),(0,_.w)(function(){return i.scroll$}),(0,yt.b)(750),(0,C.h)(function(t){return t&&!!(0,$.PU)(o)}),(0,w.R)(e)).subscribe(function(){o.scrollIntoView()})}return g(t,[{key:"tuiScrollIntoViewLink",set:function(t){this.scroll$.next(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(Z.a3,2),o.Y36(o.SBq),o.Y36(s.V1))},t.\u0275dir=o.lG2({type:t,selectors:[["","tuiScrollIntoViewLink",""]],inputs:{tuiScrollIntoViewLink:"tuiScrollIntoViewLink"},features:[o._Bn([Z.a3])]}),t}(),co=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({}),t}(),lo="Taiga UI",ho=(0,U.JN)("tuiTheme"),fo=(0,U.JN)(lo),po=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,i.getItem(r)||t)).initialTheme=t,o.key=r,o.storage=i,o}return g(n,[{key:"next",value:function(t){this.storage.setItem(this.key,t),i(f(n.prototype),"next",this).call(this,t)}},{key:"isDefaultTheme",get:function(){return this.value===lo}}]),n}(l.X);return t.\u0275fac=function(e){return new(e||t)(o.LFG(fo),o.LFG(ho),o.LFG(Y.H3))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),vo=(0,U.JN)("tuiNight"),go=(0,U.JN)(!0),mo=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r,i,o){var a;return y(this,n),(a=e.call(this,"true"===r.getItem(i)||null===r.getItem(i)&&t.matchMedia("(prefers-color-scheme: dark)").matches)).win=t,a.storage=r,a.key=i,a.useDefaultNightTheme=o,a}return g(n,[{key:"next",value:function(t){this.storage.setItem(this.key,String(t)),i(f(n.prototype),"next",this).call(this,t)}},{key:"toggle",value:function(){this.next(!this.value)}}]),n}(l.X);return t.\u0275fac=function(e){return new(e||t)(o.LFG(Y.m9),o.LFG(Y.H3),o.LFG(vo),o.LFG(go))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}();function yo(t,e){if(1&t&&(o.TgZ(0,"p",2),o._uU(1),o.qZA()),2&t){var n=o.oxw();o.xp6(1),o.hij(" ",n.filename,"\n")}}function _o(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"pre",3),o._uU(1," "),o._UZ(2,"code",4),o._uU(3,"\n "),o.TgZ(4,"div",5),o._uU(5,"\n "),o.TgZ(6,"button",6),o.NdJ("click",function(){return o.CHM(n),o.oxw().copy$.next()}),o.ALo(7,"async"),o._uU(8,"\n "),o.qZA(),o._uU(9,"\n "),o.Hsn(10),o._uU(11,"\n "),o.qZA(),o._uU(12,"\n"),o.qZA()}if(2&t){var r=e.$implicit,i=o.oxw();o.xp6(2),o.Q6J("lineNumbers",!0)("highlight",r),o.xp6(4),o.Q6J("icon",o.lcZ(7,4,i.icon$)||"tuiIconCopyLarge")("cdkCopyToClipboard",r)}}var bo=["*"],ko=["content"],wo=["resizer"];function Co(t,e){if(1&t&&(o._uU(0),o.TgZ(1,"a",11),o.TgZ(2,"code"),o._uU(3,"tuiMode"),o.qZA(),o.qZA()),2&t){var n=o.oxw();o.hij(" ",n.texts[0]," ")}}function xo(t,e){if(1&t&&o._UZ(0,"tui-data-list-wrapper",14),2&t){var n=o.oxw(2);o.Q6J("items",n.items)}}function Oo(t,e){if(1&t){var n=o.EpF();o.ynx(0),o.TgZ(1,"tui-select",12),o.NdJ("ngModelChange",function(t){return o.CHM(n),o.oxw().onModeChange(t)}),o._uU(2," tuiMode "),o.YNc(3,xo,1,1,"tui-data-list-wrapper",13),o.qZA(),o.BQk()}if(2&t){var r=o.oxw(),i=o.MAs(2);o.xp6(1),o.Q6J("ngModel",r.mode)("tuiHintContent",i)("tuiTextfieldCleaner",!0)}}function Mo(t,e){if(1&t){var n=o.EpF();o._uU(0," tuiMode: "),o._UZ(1,"tui-tooltip",15),o.TgZ(2,"div",16),o.TgZ(3,"tui-radio-block",17),o.NdJ("ngModelChange",function(t){return o.CHM(n),o.oxw().onModeChange(t)}),o._uU(4," null "),o.qZA(),o.TgZ(5,"tui-radio-block",18),o.NdJ("ngModelChange",function(t){return o.CHM(n),o.oxw().onModeChange(t)}),o._uU(6," onDark "),o.qZA(),o.TgZ(7,"tui-radio-block",19),o.NdJ("ngModelChange",function(t){return o.CHM(n),o.oxw().onModeChange(t)}),o._uU(8," onLight "),o.qZA(),o.qZA()}if(2&t){var r=o.oxw(),i=o.MAs(2);o.xp6(1),o.Q6J("content",i),o.xp6(1),o.Q6J("collapsed",!0),o.xp6(1),o.Q6J("hideRadio",!0)("item",null)("ngModel",r.mode),o.xp6(2),o.Q6J("hideRadio",!0)("ngModel",r.mode),o.xp6(2),o.Q6J("hideRadio",!0)("ngModel",r.mode)}}function So(t,e){if(1&t&&o._UZ(0,"tui-svg",27),2&t){var n=o.oxw(2);o.ekj("t-icon_rotated",n.expanded),o.Q6J("src",n.options.iconSmall)}}function Po(t,e){if(1&t&&o._UZ(0,"tui-data-list-wrapper",14),2&t){var n=o.oxw(3);o.Q6J("items",n.updateOnVariants)}}var Eo=function(){return{standalone:!0}};function Ao(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"pre",28),o._uU(1),o.ALo(2,"json"),o.qZA(),o.TgZ(3,"div",29),o.TgZ(4,"tui-select",30),o.NdJ("ngModelChange",function(t){return o.CHM(n),o.oxw(2).updateOnChange(t)}),o._uU(5," updateOn "),o.YNc(6,Po,1,1,"tui-data-list-wrapper",13),o.qZA(),o.TgZ(7,"button",31),o._uU(8," Reset "),o.qZA(),o.TgZ(9,"button",32),o._uU(10," Submit "),o.qZA(),o.qZA()}if(2&t){var r=o.oxw(2);o.xp6(1),o.hij("Form data: ",o.lcZ(2,3,r.testForm.value),""),o.xp6(3),o.Q6J("ngModel",r.updateOn)("ngModelOptions",o.DdM(5,Eo))}}function To(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"form",20),o.TgZ(1,"div",21),o.GkF(2,22),o.qZA(),o.TgZ(3,"button",23),o.NdJ("click",function(){return o.CHM(n),o.oxw().toggleDetails()}),o._uU(4),o.qZA(),o.YNc(5,So,1,3,"ng-template",null,24,o.W1O),o.TgZ(7,"tui-expand",25),o.YNc(8,Ao,11,6,"ng-template",26),o.qZA(),o.qZA()}if(2&t){var r=o.MAs(6),i=o.oxw();o.Q6J("formGroup",i.testForm),o.xp6(2),o.Q6J("ngTemplateOutlet",i.template),o.xp6(1),o.Q6J("iconRight",r),o.xp6(1),o.hij(" ",i.texts[2]," "),o.xp6(3),o.Q6J("expanded",i.expanded)}}var Io=function(){return[1,0]};function Do(t,e){if(1&t&&(o.TgZ(0,"h1",2),o._uU(1),o.qZA()),2&t){var n=o.oxw();o.xp6(1),o.hij(" ",n.heading,"\n")}}function Lo(t,e){if(1&t&&(o.TgZ(0,"th",10),o._uU(1),o.qZA()),2&t){var n=o.oxw(3);o.xp6(1),o.hij(" ",n.texts[3]," ")}}function No(t,e){1&t&&o._UZ(0,"tui-badge",20)}function zo(t,e){1&t&&(o.TgZ(0,"span",21),o._uU(1," deprecated "),o.qZA())}function Fo(t,e){if(1&t&&(o._uU(0),o.TgZ(1,"a",24),o.TgZ(2,"code"),o._uU(3,"ng-polymorpheus"),o.qZA(),o.qZA()),2&t){var n=o.oxw(5);o.hij(" ",n.texts[4]," ")}}function Ro(t,e){if(1&t&&(o.TgZ(0,"tui-tooltip",22),o.YNc(1,Fo,4,1,"ng-template",null,23,o.W1O),o.qZA()),2&t){var n=o.MAs(2),r=o.oxw().$implicit;o.Q6J("content",n)("describeId",r.attrName)}}function jo(t,e){if(1&t&&o._UZ(0,"tui-data-list-wrapper",34),2&t){o.oxw(2);var n=o.MAs(3),r=o.oxw(2).$implicit;o.Q6J("itemContent",n)("items",r.documentationPropertyValues)}}function Bo(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"tui-select",31),o.NdJ("ngModelChange",function(t){return o.CHM(n),o.oxw(3).$implicit.onValueChange(t)}),o.ALo(1,"tuiShowCleanerPipe"),o.TgZ(2,"code",32),o._uU(3,"null"),o.qZA(),o.YNc(4,jo,1,2,"tui-data-list-wrapper",33),o.qZA()}if(2&t){o.oxw();var r=o.MAs(3),i=o.oxw(2).$implicit;o.Q6J("nativeId",i.attrName)("ngModel",i.documentationPropertyValue)("tuiTextfieldCleaner",o.lcZ(1,5,i.documentationPropertyType))("tuiTextfieldLabelOutside",!0)("valueContent",r)}}function Vo(t,e){if(1&t&&(o.TgZ(0,"code"),o._uU(1),o.ALo(2,"tuiInspectAny"),o.qZA()),2&t){var n=e.$implicit;o.xp6(1),o.Oqu(o.lcZ(2,1,n))}}function Yo(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"tui-toggle",41),o.NdJ("ngModelChange",function(t){return o.CHM(n),o.oxw(4).$implicit.onValueChange(t)}),o.qZA()}if(2&t){var r=o.oxw(4).$implicit;o.Q6J("nativeId",r.attrName)("ngModel",r.documentationPropertyValue)("showIcons",!0)}}function Zo(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"tui-primitive-textfield",42),o.NdJ("valueChange",function(t){return o.CHM(n),o.oxw(4).$implicit.onValueChange(t)}),o.qZA()}if(2&t){var r=o.oxw(4).$implicit;o.Q6J("nativeId",r.attrName)("tuiTextfieldCleaner",!0)("tuiTextfieldLabelOutside",!0)("value",r.documentationPropertyValue||"")}}function qo(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"div",43),o.TgZ(1,"tui-primitive-textfield",44),o.NdJ("valueChange",function(t){o.CHM(n);var e=o.oxw(4).$implicit;return o.oxw(3).onColorChange(e,t)}),o.ALo(2,"tuiGetOpacity"),o.ALo(3,"tuiGetColorPipe"),o._UZ(4,"input",45),o.qZA(),o.TgZ(5,"tui-input-number",46),o.NdJ("ngModelChange",function(t){o.CHM(n);var e=o.oxw(4).$implicit;return o.oxw(3).onOpacityChange(e,t)}),o.ALo(6,"tuiGetOpacity"),o._uU(7," Opacity "),o.qZA(),o.qZA()}if(2&t){var r=o.oxw(4).$implicit;o.xp6(1),o.Q6J("tuiInputOpacity",o.lcZ(2,8,r.documentationPropertyValue))("tuiTextfieldLabelOutside",!0)("value",o.lcZ(3,10,r.documentationPropertyValue)),o.uIk("id",r.attrName),o.xp6(4),o.Q6J("max",100)("min",0)("ngModel",o.lcZ(6,12,r.documentationPropertyValue))("step",1)}}function Uo(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"tui-input-number",47),o.NdJ("ngModelChange",function(t){return o.CHM(n),o.oxw(4).$implicit.onValueChange(t||0)}),o.qZA()}if(2&t){var r=o.oxw(4).$implicit;o.Q6J("nativeId",r.attrName)("ngModel",r.documentationPropertyValue)("step",1)("tuiTextfieldLabelOutside",!0)}}function Ho(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"tui-primitive-textfield",42),o.NdJ("valueChange",function(t){return o.CHM(n),o.oxw(5).$implicit.onValueChange(t)}),o._uU(1," Default content "),o.qZA()}if(2&t){var r=o.oxw(5).$implicit;o.Q6J("nativeId",r.attrName)("tuiTextfieldCleaner",!0)("tuiTextfieldLabelOutside",!0)("value",r.documentationPropertyValue.toString())}}function Go(t,e){if(1&t&&(o.ynx(0),o.YNc(1,Ho,2,4,"tui-primitive-textfield",48),o.ALo(2,"tuiIsPrimitivePolymorpheusContentPipe"),o.BQk()),2&t){var n=o.oxw(4).$implicit;o.xp6(1),o.Q6J("ngIf",o.lcZ(2,1,n.documentationPropertyValue))}}function Jo(t,e){if(1&t&&(o.ynx(0,35),o.YNc(1,Yo,1,3,"tui-toggle",36),o.YNc(2,Zo,1,4,"tui-primitive-textfield",37),o.YNc(3,qo,8,14,"div",38),o.YNc(4,Uo,1,4,"tui-input-number",39),o.YNc(5,Go,3,3,"ng-container",40),o.BQk()),2&t){var n=o.oxw(3).$implicit;o.Q6J("ngSwitch",n.documentationPropertyType),o.xp6(1),o.Q6J("ngSwitchCase","boolean"),o.xp6(1),o.Q6J("ngSwitchCase","string"),o.xp6(1),o.Q6J("ngSwitchCase","color"),o.xp6(1),o.Q6J("ngSwitchCase","number"),o.xp6(1),o.Q6J("ngSwitchCase","PolymorpheusContent")}}function Xo(t,e){if(1&t&&(o.ynx(0),o.YNc(1,Bo,5,7,"tui-select",28),o.YNc(2,Vo,3,3,"ng-template",null,29,o.W1O),o.YNc(4,Jo,6,6,"ng-template",null,30,o.W1O),o.BQk()),2&t){var n=o.MAs(5),r=o.oxw(2).$implicit;o.xp6(1),o.Q6J("ngIf",r.hasItems)("ngIfElse",n)}}function $o(t,e){if(1&t&&(o.TgZ(0,"tui-notification",49),o.ALo(1,"async"),o._uU(2," Emit! "),o.qZA()),2&t){var n=o.oxw(2).$implicit;o.Q6J("@emitEvent",o.lcZ(1,1,n.emits$))}}function Qo(t,e){if(1&t&&(o.TgZ(0,"td",25),o.YNc(1,Xo,6,2,"ng-container",26),o.YNc(2,$o,3,3,"ng-template",null,27,o.W1O),o.qZA()),2&t){var n=o.MAs(3),r=o.oxw().$implicit;o.xp6(1),o.Q6J("ngIf",r.shouldShowValues)("ngIfElse",n)}}function Wo(t,e){if(1&t&&(o.TgZ(0,"tr",11),o.TgZ(1,"td",12),o.TgZ(2,"div",13),o.TgZ(3,"code"),o._uU(4),o.ALo(5,"tuiStripOptionalPipe"),o.qZA(),o.YNc(6,No,1,0,"tui-badge",14),o.ALo(7,"tuiIsOptionalPipe"),o.qZA(),o.YNc(8,zo,2,0,"span",15),o.GkF(9,16),o.qZA(),o.TgZ(10,"td",12),o.TgZ(11,"span",17),o.TgZ(12,"code"),o._uU(13),o.qZA(),o.YNc(14,Ro,3,2,"tui-tooltip",18),o.ALo(15,"tuiShowContentTooltip"),o.qZA(),o.qZA(),o.YNc(16,Qo,4,2,"td",19),o.qZA()),2&t){var n=e.$implicit,r=o.oxw(3);o.ekj("t-deprecated",n.documentationPropertyDeprecated),o.xp6(3),o.Udp("color","var(--tui-accent-active)"),o.xp6(1),o.hij(" ",o.lcZ(5,11,n.attrName)," "),o.xp6(2),o.Q6J("ngIf",o.lcZ(7,13,n.attrName)),o.xp6(2),o.Q6J("ngIf",n.documentationPropertyDeprecated),o.xp6(1),o.Q6J("ngTemplateOutlet",n.template),o.xp6(4),o.Oqu(n.documentationPropertyType),o.xp6(1),o.Q6J("ngIf",o.lcZ(15,15,n.documentationPropertyType)),o.xp6(2),o.Q6J("ngIf",r.showValues)}}function Ko(t,e){if(1&t&&(o.TgZ(0,"table",4),o.TgZ(1,"tr",5),o.TgZ(2,"th",6),o._uU(3),o.qZA(),o.TgZ(4,"th",7),o._uU(5),o.qZA(),o.YNc(6,Lo,2,1,"th",8),o.qZA(),o.YNc(7,Wo,17,17,"tr",9),o.qZA()),2&t){var n=o.oxw().ngIf,r=o.oxw();o.xp6(3),o.Oqu(r.texts[2]),o.xp6(2),o.Oqu(r.type),o.xp6(1),o.Q6J("ngIf",r.showValues&&!r.isAPI),o.xp6(1),o.Q6J("ngForOf",n)}}function ta(t,e){if(1&t&&(o.ynx(0),o.YNc(1,Ko,8,4,"table",3),o.BQk()),2&t){var n=e.ngIf;o.xp6(1),o.Q6J("ngIf",n.length)}}function ea(t,e){1&t&&o._UZ(0,"span",8),2&t&&o.Q6J("textContent",e.polymorpheusOutlet)}function na(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"button",9),o.NdJ("click",function(){return o.CHM(n),o.oxw(2).copyExampleLink()}),o.ALo(1,"async"),o.qZA()}if(2&t){var r=o.oxw(2);o.Q6J("icon",r.options.linkIcon)("title",o.lcZ(1,2,r.copy$))}}function ra(t,e){if(1&t&&(o.TgZ(0,"h3",5),o.YNc(1,ea,1,1,"span",6),o.YNc(2,na,2,4,"button",7),o.qZA()),2&t){var n=o.oxw();o.xp6(1),o.Q6J("polymorpheusOutlet",n.heading),o.xp6(1),o.Q6J("ngIf",n.id)}}function ia(t,e){if(1&t&&(o.ynx(0),o._uU(1),o.BQk()),2&t){var n=e.polymorpheusOutlet;o.xp6(1),o.hij(" ",n," ")}}function oa(t,e){if(1&t&&(o.TgZ(0,"h4",10),o.YNc(1,ia,2,1,"ng-container",11),o.qZA()),2&t){var n=o.oxw();o.xp6(1),o.Q6J("polymorpheusOutlet",n.description)}}function aa(t,e){if(1&t&&(o.ynx(0),o._uU(1),o.BQk()),2&t){var n=e.polymorpheusOutlet;o.xp6(1),o.hij(" ",n," ")}}function sa(t,e){if(1&t&&(o.TgZ(0,"button",21),o.YNc(1,aa,2,1,"ng-container",11),o.qZA()),2&t){var n=o.oxw().$implicit,r=o.oxw(4);o.xp6(1),o.Q6J("polymorpheusOutlet",r.getTabTitle(n))}}function ua(t,e){1&t&&(o.ynx(0),o.YNc(1,sa,2,1,"button",20),o.BQk())}function ca(t,e){if(1&t&&(o.ynx(0),o._uU(1),o.BQk()),2&t){var n=e.polymorpheusOutlet;o.xp6(1),o.hij(" ",n," ")}}function la(t,e){if(1&t&&(o.ynx(0),o.YNc(1,ca,2,1,"ng-container",11),o.BQk()),2&t){var n=e.ngIf;o.xp6(1),o.Q6J("polymorpheusOutlet",n)}}function ha(t,e){if(1&t&&(o.TgZ(0,"button",25),o._uU(1),o.qZA()),2&t){var n=o.oxw(5);o.xp6(1),o.hij(" Edit on ",n.codeEditor.name," ")}}function fa(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"tui-loader",22),o.NdJ("click",function(){o.CHM(n);var t=o.oxw(3).ngIf;return o.oxw().edit(t)}),o.ALo(1,"async"),o.YNc(2,la,2,1,"ng-container",23),o.YNc(3,ha,2,1,"ng-template",null,24,o.W1O),o.qZA()}if(2&t){var r=o.MAs(4),i=o.oxw(4);o.Q6J("overlay",!0)("showLoader",!!o.lcZ(1,4,i.loading$)),o.xp6(2),o.Q6J("ngIf",null==i.codeEditor?null:i.codeEditor.content)("ngIfElse",r)}}function da(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"div",16),o.TgZ(1,"tui-tabs-with-more",17),o.NdJ("activeItemIndexChange",function(t){return o.CHM(n),o.oxw(3).activeItemIndex=t}),o.YNc(2,ua,2,0,"ng-container",18),o.qZA(),o.YNc(3,fa,5,6,"tui-loader",19),o.ALo(4,"tuiMapper"),o.qZA()}if(2&t){var r=o.oxw().ngIf,i=o.oxw().ngIf,a=o.oxw();o.xp6(1),o.Q6J("activeItemIndex",a.activeItemIndex),o.xp6(1),o.Q6J("ngForOf",r),o.xp6(1),o.Q6J("ngIf",o.xi3(4,3,i,a.visible))}}function pa(t,e){if(1&t&&o.GkF(0,29),2&t){o.oxw(4);var n=o.MAs(5);o.Q6J("ngTemplateOutlet",n)}}var va=function(t){return{$implicit:t}};function ga(t,e){if(1&t&&o.GkF(0,30),2&t){var n=o.oxw(2).ngIf,r=o.oxw().ngIf,i=o.oxw(),a=o.MAs(7);o.Q6J("ngTemplateOutlet",a)("ngTemplateOutletContext",o.VKq(2,va,(null==r?null:r[n[i.activeItemIndex]])||""))}}function ma(t,e){if(1&t&&(o.TgZ(0,"div",26),o.YNc(1,pa,1,1,"ng-container",27),o.YNc(2,ga,1,4,"ng-template",null,28,o.W1O),o.qZA()),2&t){var n=e.index,r=o.MAs(3),i=o.oxw(3);o.ekj("t-content_animated",!i.isE2E)("t-content_visible",i.activeItemIndex===n),o.xp6(1),o.Q6J("ngIf",n===i.defaultTabIndex)("ngIfElse",r)}}function ya(t,e){if(1&t&&(o.ynx(0),o.YNc(1,da,5,6,"div",14),o.YNc(2,ma,4,6,"div",15),o.BQk()),2&t){var n=e.ngIf;o.xp6(1),o.Q6J("ngIf",n.length>1),o.xp6(1),o.Q6J("ngForOf",n)}}function _a(t,e){if(1&t&&(o.TgZ(0,"div",12),o.YNc(1,ya,3,2,"ng-container",13),o.ALo(2,"tuiDocExampleGetTabs"),o.qZA()),2&t){var n=e.ngIf,r=o.oxw();o.xp6(1),o.Q6J("ngIf",o.xi3(2,1,n,r.defaultTab))}}function ba(t,e){1&t&&(o.TgZ(0,"div",31),o.Hsn(1),o.qZA())}function ka(t,e){if(1&t&&(o.ynx(0),o._uU(1),o.BQk()),2&t){var n=e.polymorpheusOutlet;o.xp6(1),o.hij(" ",n," ")}}function wa(t,e){if(1&t&&(o.ynx(0),o.YNc(1,ka,2,1,"ng-container",33),o.BQk()),2&t){var n=e.$implicit,r=o.oxw().$implicit;o.xp6(1),o.Q6J("polymorpheusOutlet",n)("polymorpheusOutletContext",o.VKq(2,va,r))}}function Ca(t,e){if(1&t&&(o.TgZ(0,"tui-doc-code",32),o.YNc(1,wa,2,4,"ng-container",18),o.qZA()),2&t){var n=e.$implicit,r=o.oxw();o.Q6J("code",n),o.xp6(1),o.Q6J("ngForOf",r.codeActions)}}function xa(t,e){1&t&&o._UZ(0,"tui-svg",16),2&t&&o.Q6J("src",e.polymorpheusOutlet)}function Oa(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"a",14),o.NdJ("click",function(){o.CHM(n);var t=o.oxw(4),e=o.MAs(1);return t.onClick(e)}),o._uU(1),o.YNc(2,xa,1,1,"tui-svg",15),o.qZA()}if(2&t){var r=e.$implicit;o.Q6J("fragment",r.fragment)("routerLink",r.route),o.xp6(1),o.hij(" ",r.title," "),o.xp6(1),o.Q6J("polymorpheusOutlet",r.icon)}}function Ma(t,e){if(1&t&&(o.TgZ(0,"tui-opt-group",12),o.YNc(1,Oa,3,4,"a",13),o.qZA()),2&t){var n=e.$implicit,r=e.index,i=o.oxw(3);o.Q6J("label",i.labels[r]||""),o.xp6(1),o.Q6J("ngForOf",n)}}function Sa(t,e){if(1&t&&(o.TgZ(0,"tui-data-list"),o.YNc(1,Ma,2,2,"tui-opt-group",11),o.ALo(2,"async"),o.qZA()),2&t){var n=o.oxw(2);o.xp6(1),o.Q6J("ngForOf",o.lcZ(2,1,n.filtered$))}}function Pa(t,e){1&t&&(o.ynx(0),o.YNc(1,Sa,3,3,"tui-data-list",10),o.BQk())}var Ea=function(t,e){return{item:t,index:e}};function Aa(t,e){if(1&t&&o.GkF(0,21),2&t){var n=e.$implicit,r=e.index,i=o.oxw(2).index;o.oxw();var a=o.MAs(12);o.Q6J("ngTemplateOutlet",a)("ngTemplateOutletContext",o.WLB(2,Ea,n,100*i+r))}}function Ta(t,e){if(1&t&&(o.TgZ(0,"div",20),o.YNc(1,Aa,1,5,"ng-container",8),o.qZA()),2&t){var n=o.oxw().index,r=o.oxw();o.xp6(1),o.Q6J("ngForOf",r.items[n])}}function Ia(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"tui-accordion-item",17),o.NdJ("openChange",function(t){var e=o.CHM(n).index;return!!(o.oxw().openPagesArr[e]=t)}),o.TgZ(1,"span",18),o.TgZ(2,"strong"),o._uU(3),o.qZA(),o.qZA(),o.YNc(4,Ta,2,1,"ng-template",19),o.qZA()}if(2&t){var r=e.$implicit,i=e.index,a=o.oxw();o.Q6J("borders",null)("open",!!a.openPagesArr[i]),o.xp6(3),o.Oqu(r)}}function Da(t,e){if(1&t&&o.GkF(0,21),2&t){var n=e.$implicit,r=e.index,i=o.oxw(),a=o.MAs(12);o.Q6J("ngTemplateOutlet",a)("ngTemplateOutletContext",o.WLB(2,Ea,n,i.items.length-1+r))}}function La(t,e){1&t&&o._UZ(0,"tui-svg",16),2&t&&o.Q6J("src",e.polymorpheusOutlet)}function Na(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"a",24),o.NdJ("click",function(){return o.CHM(n),o.oxw(2).closeMenu()}),o._uU(1),o.YNc(2,La,1,1,"tui-svg",15),o.qZA()}if(2&t){var r=o.oxw().item,i=o.oxw();o.Q6J("routerLink",r.route)("tuiScrollIntoViewLink",i.isActive(r.route)),o.xp6(1),o.hij(" ",r.title," "),o.xp6(1),o.Q6J("polymorpheusOutlet",r.icon)}}function za(t,e){1&t&&o._UZ(0,"tui-svg",16),2&t&&o.Q6J("src",e.polymorpheusOutlet)}function Fa(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"button",30),o.NdJ("click",function(){o.CHM(n);var t=o.oxw(2).index;return o.oxw().onGroupClick(t)}),o._UZ(1,"tui-svg",31),o._uU(2),o.YNc(3,za,1,1,"tui-svg",15),o.qZA()}if(2&t){var r=o.oxw(2),i=r.index,a=r.item,s=o.oxw();o.xp6(1),o.ekj("t-chevron_active",!!s.openPagesGroupsArr[i]),o.Q6J("src",s.icons.more),o.xp6(1),o.hij(" ",a.title," "),o.xp6(1),o.Q6J("polymorpheusOutlet",a.icon)}}function Ra(t,e){1&t&&o._UZ(0,"tui-svg",16),2&t&&o.Q6J("src",e.polymorpheusOutlet)}function ja(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"a",32),o.NdJ("click",function(){return o.CHM(n),o.oxw(3).closeMenu()}),o._uU(1),o.YNc(2,Ra,1,1,"tui-svg",15),o.qZA()}if(2&t){var r=e.$implicit,i=o.oxw(3);o.Q6J("fragment",r.fragment)("routerLink",r.route)("tuiScrollIntoViewLink",i.isActive(r.route)),o.xp6(1),o.hij(" ",r.title," "),o.xp6(1),o.Q6J("polymorpheusOutlet",r.icon)}}var Ba=function(){return{exact:!1}};function Va(t,e){if(1&t&&(o.TgZ(0,"div",25),o.YNc(1,Fa,4,5,"button",26),o.TgZ(2,"tui-expand",27),o.TgZ(3,"div",28),o.YNc(4,ja,3,5,"a",29),o.qZA(),o.qZA(),o.qZA()),2&t){var n=o.oxw(),r=n.item,i=n.index,a=o.oxw();o.Q6J("routerLinkActiveOptions",o.DdM(4,Ba)),o.xp6(1),o.Q6J("ngIf",r.subPages),o.xp6(1),o.Q6J("expanded",!!a.openPagesGroupsArr[i]),o.xp6(2),o.Q6J("ngForOf",a.$pages(r.subPages))}}function Ya(t,e){if(1&t&&(o.YNc(0,Na,3,4,"a",22),o.YNc(1,Va,5,5,"ng-template",null,23,o.W1O)),2&t){var n=e.item,r=o.MAs(2);o.Q6J("ngIf",!n.subPages)("ngIfElse",r)}}var Za=["tuiDocHeader",""];function qa(t,e){1&t&&o._UZ(0,"tui-doc-navigation",4)}function Ua(t,e){1&t&&o._UZ(0,"img",5),2&t&&o.Q6J("src",e.polymorpheusOutlet,o.LSH)}function Ha(t,e){1&t&&(o.ynx(0),o._uU(1),o.BQk()),2&t&&(o.xp6(1),o.Oqu(", "))}function Ga(t,e){if(1&t&&(o.ynx(0),o._UZ(1,"a",2),o.YNc(2,Ha,2,1,"ng-container",3),o.BQk()),2&t){var n=e.$implicit,r=e.last,i=o.oxw();o.xp6(1),o.Q6J("innerText",n)("routerLink",i.getRouterLink(n)),o.xp6(1),o.Q6J("ngIf",!r)}}function Ja(t,e){if(1&t&&o._UZ(0,"a",1),2&t){var n=e.polymorpheusOutlet,r=o.oxw();o.Q6J("href",n,o.LSH)("icon",r.icons.code)("title",r.text)}}function Xa(t,e){1&t&&o._UZ(0,"tui-theme-night")}var $a=[[["tuiDocNavigation"]],[["tuiDocHeader"]],[["tuiOverContent"]],[["tuiOverDialogs"]],[["tuiOverAlerts"]],[["tuiOverPortals"]],[["tuiOverHints"]]],Qa=["tuiDocNavigation","tuiDocHeader","tuiOverContent","tuiOverDialogs","tuiOverAlerts","tuiOverPortals","tuiOverHints"];function Wa(t,e){1&t&&o._UZ(0,"tui-tag",9)}function Ka(t,e){if(1&t&&o._UZ(0,"tui-tag",10),2&t){var n=o.oxw();o.Q6J("autoColor",!0)("value",n.package)}}var ts=function(t){return{exact:t}};function es(t,e){if(1&t&&(o.TgZ(0,"a",14),o.ALo(1,"tuiReplace"),o._uU(2),o.qZA()),2&t){var n=o.oxw().ngIf,r=o.oxw().first,i=o.oxw(2);o.Q6J("routerLink",r?"./":o.Dn7(1,3,n,i.from,i.to))("routerLinkActiveOptions",o.VKq(7,ts,r)),o.xp6(2),o.hij(" ",n," ")}}function ns(t,e){1&t&&(o.ynx(0),o.YNc(1,es,3,9,"a",13),o.BQk())}function rs(t,e){if(1&t&&(o.ynx(0),o.YNc(1,ns,2,0,"ng-container",12),o.BQk()),2&t){var n=e.$implicit,r=e.index,i=o.oxw(2);o.xp6(1),o.Q6J("ngIf",n.pageTab||i.defaultTabs[r])}}function is(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"tui-tabs-with-more",11),o.NdJ("activeItemIndexChange",function(t){return o.CHM(n),o.oxw().activeItemIndex=t}),o.YNc(1,rs,2,1,"ng-container",8),o.qZA()}if(2&t){var r=o.oxw();o.Q6J("activeItemIndex",r.activeItemIndex),o.xp6(1),o.Q6J("ngForOf",r.tabConnectors)}}function os(t,e){if(1&t&&o._UZ(0,"tui-doc-see-also",15),2&t){var n=o.oxw();o.Q6J("seeAlso",n.seeAlso)}}function as(t,e){if(1&t&&o.GkF(0,17),2&t){var n=o.oxw().$implicit;o.Q6J("ngTemplateOutlet",n.template)}}function ss(t,e){if(1&t&&(o.ynx(0),o.YNc(1,as,1,1,"ng-container",16),o.BQk()),2&t){var n=e.index,r=o.oxw();o.xp6(1),o.Q6J("ngIf",n===r.activeItemIndex)}}var us=function(){var t=function(){function t(e){var n=this;y(this,t),this.markdownCodeProcessor=e,this.rawLoader$$=new l.X(""),this.filename="",this.copy$=new h.xQ,this.icon$=this.copy$.pipe((0,_.w)(function(){return(0,v.H)(2e3).pipe((0,b.U)(function(){return"tuiIconCopyLarge"}),(0,k.O)("tuiIconCheckLarge"))})),this.processor$=this.rawLoader$$.pipe((0,_.w)(c.JQ),(0,b.U)(function(t){return n.markdownCodeProcessor(t)}))}return g(t,[{key:"code",set:function(t){this.rawLoader$$.next(t)}},{key:"hasFilename",get:function(){return!!this.filename}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(s.Es))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-doc-code"]],hostVars:2,hostBindings:function(t,e){2&t&&o.ekj("_has-filename",e.hasFilename)},inputs:{filename:"filename",code:"code"},ngContentSelectors:bo,decls:3,vars:4,consts:[["class","t-header",4,"ngIf"],["class","t-code",4,"ngFor","ngForOf"],[1,"t-header"],[1,"t-code"],[3,"lineNumbers","highlight"],[1,"t-code-actions"],["tuiIconButton","","appearance","icon","size","xs",1,"t-copy-button",3,"icon","cdkCopyToClipboard","click"]],template:function(t,e){1&t&&(o.F$t(),o.YNc(0,yo,2,1,"p",0),o.YNc(1,_o,13,6,"pre",1),o.ALo(2,"async")),2&t&&(o.Q6J("ngIf",e.filename),o.xp6(1),o.Q6J("ngForOf",o.lcZ(2,2,e.processor$)))},directives:[A.O5,A.sg,Ge.y$,Bt.v0,Qe],pipes:[A.Ov],styles:["[_nghost-%COMP%]{display:block}.t-header[_ngcontent-%COMP%]{font:var(--tui-font-text-s);font-weight:bold}.t-header[_ngcontent-%COMP%] + .t-code[_ngcontent-%COMP%]{border-radius:.25rem}.t-code[_ngcontent-%COMP%]{position:relative;margin:0;white-space:normal;outline:1px solid var(--tui-base-03)}.t-code[_ngcontent-%COMP%] .hljs-ln{width:-webkit-max-content;width:max-content}.t-code[_ngcontent-%COMP%] + .t-code[_ngcontent-%COMP%]{margin-top:1rem}.t-code-actions[_ngcontent-%COMP%]{position:absolute;top:.75rem;right:.75rem;display:flex;justify-content:center;align-items:center;flex-direction:row-reverse}tui-root._mobile[_nghost-%COMP%] .t-code-actions[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-code-actions[_ngcontent-%COMP%]{padding:.3125rem;border-radius:.25rem;border:1px solid var(--tui-base-04)}.t-copy-button[_ngcontent-%COMP%] +*:not(:empty){margin-right:.375rem}.hljs[_ngcontent-%COMP%]:not(:empty){font:var(--tui-font-text-m);font-size:.875rem;padding:1.5rem 2rem;font-family:monospace;word-wrap:break-word;white-space:pre-wrap}@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm){.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar, .hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar-thumb{width:1rem;height:1rem;border-radius:6.25rem;background-clip:padding-box;border:.375rem solid transparent}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar{background-color:transparent}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar-thumb{background-color:var(--tui-clear-hover)}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar-thumb:hover{background-color:var(--tui-clear-active)}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar-thumb:active{background-color:var(--tui-text-03)}}tui-root._mobile[_nghost-%COMP%] .hljs[_ngcontent-%COMP%]:not(:empty), tui-root._mobile [_nghost-%COMP%] .hljs[_ngcontent-%COMP%]:not(:empty){padding:1rem}.t-code-actions[_ngcontent-%COMP%], .hljs[_ngcontent-%COMP%]:not(:empty){background:var(--tui-base-01)}@supports (background: color-mix(in srgb,var(--tui-base-01),#222 2%)){.t-code-actions[_ngcontent-%COMP%], .hljs[_ngcontent-%COMP%]:not(:empty){background:color-mix(in srgb,var(--tui-base-01),#222 2%)}}"],changeDetection:0}),t}(),cs=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,Jt.EI,Ge._l,Bt.fN,We]]}),t}(),ls=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,Bt.fN]]}),t}(),hs=function(){var t=function(){function t(e,n,r,i,o,a,s){var u,l;y(this,t),this.options=e,this.isMobile=n,this.el=r,this.locationRef=i,this.urlSerializer=o,this.texts=a,this.urlStateHandler=s,this.control=null,this.sticky=!0,this.template=null,this.updateOnVariants=["change","blur","submit"],this.updateOn=this.params.updateOn||this.updateOnVariants[0],this.opaque=(0,c.cd)(null===(u=this.params.sandboxOpaque)||void 0===u||u),this.expanded=(0,c.cd)(null!==(l=this.params.sandboxExpanded)&&void 0!==l&&l),this.mode=this.params.tuiMode||null,this.sandboxWidth=(0,dn.oY)(this.params.sandboxWidth),this.change$=new h.xQ,this.items=["onLight","onDark"]}return g(t,[{key:"onResize",value:function(){this.updateWidth(),this.onMouseUp()}},{key:"onMouseUp",value:function(){this.updateUrl({sandboxWidth:this.sandboxWidth})}},{key:"ngOnInit",value:function(){this.createForm(),this.updateWidth(this.sandboxWidth+this.delta)}},{key:"onModeChange",value:function(t){this.mode=t,this.updateUrl({sandboxWidth:this.sandboxWidth}),this.change$.next()}},{key:"toggleDetails",value:function(){this.expanded=!this.expanded,this.updateUrl({sandboxExpanded:this.expanded})}},{key:"changeOpaque",value:function(t){this.opaque=t,this.updateUrl({sandboxOpaque:this.opaque})}},{key:"updateOnChange",value:function(t){this.updateOn=t,this.updateUrl({updateOn:t}),this.createForm()}},{key:"updateWidth",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:NaN;if(this.resizer&&this.resizeable&&this.content){var e=t||this.resizeable.nativeElement.clientWidth,n=this.el.nativeElement.clientWidth,r=Math.round((0,dn.Ki)(e,160,n))-this.delta,i=e *[_ngcontent-%COMP%]{pointer-events:auto}.t-wrapper[_ngcontent-%COMP%]{box-shadow:var(--tui-shadow-dropdown);display:flex;border:1px solid var(--tui-base-03);border-radius:var(--tui-radius-m);max-width:100%;min-height:6rem;width:100%;min-width:10rem;background-color:var(--tui-base-01);overflow:hidden}.t-wrapper.t-wrapper_transparent[_ngcontent-%COMP%]{background-image:linear-gradient(45deg,var(--tui-base-02) 25%,transparent 25%),linear-gradient(-45deg,var(--tui-base-02) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--tui-base-02) 75%),linear-gradient(-45deg,transparent 75%,var(--tui-base-02) 75%);background-size:1.25rem 1.25rem;background-position:0 0,0 .625rem,.625rem -.625rem,-.625rem 0}.t-wrapper.t-wrapper_dark[_ngcontent-%COMP%]{background-color:#454e58;color:var(--tui-base-01)}.t-wrapper.t-wrapper_gray[_ngcontent-%COMP%]{background-color:#e5e7ea}.t-wrapper.t-wrapper_dark.t-wrapper_transparent[_ngcontent-%COMP%]{background-image:linear-gradient(45deg,var(--tui-focus) 25%,transparent 25%),linear-gradient(-45deg,var(--tui-focus) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--tui-focus) 75%),linear-gradient(-45deg,transparent 75%,var(--tui-focus) 75%)}.t-wrapper.t-wrapper_gray.t-wrapper_transparent[_ngcontent-%COMP%]{background-image:linear-gradient(45deg,var(--tui-base-05) 25%,transparent 25%),linear-gradient(-45deg,var(--tui-base-05) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--tui-base-05) 75%),linear-gradient(-45deg,transparent 75%,var(--tui-base-05) 75%)}tui-root._mobile[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{min-height:auto}.t-content[_ngcontent-%COMP%]{flex:1 1 0;min-width:0;padding:1.5rem;box-sizing:border-box;overflow:hidden}tui-root._mobile[_nghost-%COMP%] .t-content[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:1rem}.t-form[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:flex-start}.t-input-wrapper[_ngcontent-%COMP%]{width:100%;margin-bottom:.5rem}.t-expand[_ngcontent-%COMP%]{width:100%}.t-icon[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out}.t-icon_rotated[_ngcontent-%COMP%]{transform:rotate(180deg)}.t-value[_ngcontent-%COMP%]{flex:1;background:var(--tui-clear-inverse);padding:.75rem;border-radius:.25rem}.t-mode[_ngcontent-%COMP%]{width:12.5rem}.t-select[_ngcontent-%COMP%]{max-width:15rem}.t-resizer[_ngcontent-%COMP%]{box-shadow:var(--tui-shadow-dropdown);position:relative;width:3.5rem;min-height:inherit;display:flex;align-items:center;justify-content:center;flex-shrink:0;border-left:1px solid var(--tui-base-03);outline:none;background:var(--tui-base-01);color:var(--tui-text-01)}.t-resizer[_ngcontent-%COMP%]:before, .t-resizer[_ngcontent-%COMP%]:after{content:"";position:absolute;top:.75rem;left:50%;bottom:calc(50% + 1rem);width:1px;background:var(--tui-base-04);box-shadow:-.25rem 0 var(--tui-base-04);transform:translate(0)}.t-resizer[_ngcontent-%COMP%]:after{bottom:.75rem;top:calc(50% + 1rem)}tui-root._mobile[_nghost-%COMP%] .t-resizer[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-resizer[_ngcontent-%COMP%]{display:none}.t-resizer-text[_ngcontent-%COMP%]{font:var(--tui-font-text-s);position:relative;z-index:1;padding:.75rem;background:var(--tui-base-01)}.wrapper_light[_ngcontent-%COMP%] .t-resizer-text[_ngcontent-%COMP%]{background:#3e464e}.t-group[_ngcontent-%COMP%], .t-checkbox[_ngcontent-%COMP%]{margin-left:.75rem}.t-button[_ngcontent-%COMP%], .t-form-controls[_ngcontent-%COMP%]{margin-top:.75rem}@supports ((position: -webkit-sticky) or (position: sticky)){@media screen and (min-height: 37.5rem){._sticky[_nghost-%COMP%]{position:-webkit-sticky;position:sticky;top:4.625rem;z-index:2}}}'],changeDetection:0}),(0,Ke.gn)([pn.UM],t.prototype,"updateUrl",null),t}(),fs=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,Sn.UX,Sn.u5,Qr.Bz,Yt.j,Bt.fN,nr,R,Gt.n6,Ht.Q,Vt.z,mr,eo.s,Jt.EI,On,Ut.pc,Zt.cn,qt.go,on]]}),t}(),ds=function(){var t=function(){function t(e,n,r,i,a){y(this,t),this.template=e,this.locationRef=n,this.activatedRoute=r,this.urlSerializer=i,this.urlStateHandler=a,this.documentationPropertyName="",this.documentationPropertyMode=null,this.documentationPropertyType="",this.documentationPropertyDeprecated=!1,this.documentationPropertyValues=null,this.documentationPropertyValueChange=new o.vpe,this.changed$=new h.xQ,this.emits$=new l.X(1)}return g(t,[{key:"ngOnInit",value:function(){this.parseParams(this.activatedRoute.snapshot.queryParams)}},{key:"attrName",get:function(){switch(this.documentationPropertyMode){case"input":return"[".concat(this.documentationPropertyName,"]");case"output":return"(".concat(this.documentationPropertyName,")");case"input-output":return"[(".concat(this.documentationPropertyName,")]");default:return this.documentationPropertyName}}},{key:"hasItems",get:function(){return!!this.documentationPropertyValues}},{key:"shouldShowValues",get:function(){return"output"!==this.documentationPropertyMode}},{key:"ngOnChanges",value:function(){this.changed$.next()}},{key:"onValueChange",value:function(t){this.documentationPropertyValue=t,this.documentationPropertyValueChange.emit(t),this.setQueryParam(t)}},{key:"emitEvent",value:function(t){console.info(this.attrName,t),this.emits$.next(this.emits$.value+1)}},{key:"parseParams",value:function(t){var e=t[this.documentationPropertyName],n=t["".concat(this.documentationPropertyName,"$")];if(e||n){var r=n&&this.documentationPropertyValues?this.documentationPropertyValues[n]:(0,c.p8)(e);"string"===this.documentationPropertyType&&(0,U.dt)(r)&&(r=r.toString()),this.onValueChange(r)}}},{key:"setQueryParam",value:function(t){var n=this.urlSerializer.parse(this.locationRef.path()),r=t instanceof Object,i=r&&this.documentationPropertyValues?this.documentationPropertyValues.indexOf(t):t,o=this.documentationPropertyName+(r?"$":"");n.queryParams=Object.assign(Object.assign({},n.queryParams),e({},o,i)),this.locationRef.go(this.urlStateHandler(n))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.Rgc),o.Y36(A.Ye),o.Y36(Qr.gz),o.Y36(Qr.Hx),o.Y36(s.Ii))},t.\u0275dir=o.lG2({type:t,selectors:[["ng-template","documentationPropertyName",""]],inputs:{documentationPropertyName:"documentationPropertyName",documentationPropertyMode:"documentationPropertyMode",documentationPropertyType:"documentationPropertyType",documentationPropertyValue:"documentationPropertyValue",documentationPropertyDeprecated:"documentationPropertyDeprecated",documentationPropertyValues:"documentationPropertyValues"},outputs:{documentationPropertyValueChange:"documentationPropertyValueChange"},exportAs:["documentationProperty"],features:[o.TTD]}),t}(),ps=function(){var t=function(){function t(){y(this,t)}return g(t,[{key:"transform",value:function(t){return 4===t.length?t.split("").reduce(function(t,e){return[].concat(d(t),[e,e])},[]).join("").replace("#",""):t.startsWith("#")?t:"transparent"===t?"#000000":(function(t,e,n){return"#".concat([t,e,n].map(function(t){return t.toString(16).padStart(2,"0")}).join(""))}).apply(void 0,d(t.replace("rgb(","").replace("rgba(","").replace(")","").replace(" ","").split(",").map(function(t){return Number.parseInt(t,10)})))}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=o.Yjl({name:"tuiGetColorPipe",type:t,pure:!0}),t}(),vs=function(){var t=function(){function t(){y(this,t)}return g(t,[{key:"transform",value:function(t){if(t.startsWith("#")||t.startsWith("rgb("))return 100;if("transparent"===t)return 0;var e=t.lastIndexOf(","),n=t.slice(e).replace(")","").replace(" ","").replace(",","");return Math.round(100*Number.parseFloat(n))}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=o.Yjl({name:"tuiGetOpacity",type:t,pure:!0}),t}(),gs=function(){var t=function(){function t(e,n){y(this,t),this.renderer=e,this.focusable=n}return g(t,[{key:"tuiInputOpacity",set:function(t){var e=this.focusable.nativeFocusableElement;e&&this.renderer.setStyle(e,"opacity",t/100)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.Qsj),o.Y36(q.KZ))},t.\u0275dir=o.lG2({type:t,selectors:[["","tuiInputOpacity",""]],inputs:{tuiInputOpacity:"tuiInputOpacity"}}),t}(),ms=function(){var t=function(){function t(){y(this,t)}return g(t,[{key:"transform",value:function(t){return t.replace("?","")}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=o.Yjl({name:"tuiStripOptionalPipe",type:t,pure:!0}),t}(),ys=function(){var t=function(){function t(){y(this,t)}return g(t,[{key:"transform",value:function(t){return t.includes("?")}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=o.Yjl({name:"tuiIsOptionalPipe",type:t,pure:!0}),t}(),_s=function(){var t=function(){function t(){y(this,t)}return g(t,[{key:"transform",value:function(t){return t.includes("PolymorpheusContent")}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=o.Yjl({name:"tuiShowContentTooltip",type:t,pure:!0}),t}(),bs=function(){var t=function(){function t(){y(this,t)}return g(t,[{key:"transform",value:function(t){return t.includes("null")}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=o.Yjl({name:"tuiShowCleanerPipe",type:t,pure:!0}),t}(),ks=function(){var t=function(){function t(e){y(this,t),this.isE2E=e}return g(t,[{key:"transform",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return this.isE2E&&"function"==typeof t?"\u03bb(x) => y":(0,c.sj)(t,e)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(q.oD,16))},t.\u0275pipe=o.Yjl({name:"tuiInspectAny",type:t,pure:!0}),t}(),ws=function(){var t=function(){function t(){y(this,t)}return g(t,[{key:"transform",value:function(t){return(0,U.Aj)(t)||(0,U.dt)(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=o.Yjl({name:"tuiIsPrimitivePolymorpheusContentPipe",type:t,pure:!0}),t}(),Cs=function(){var t=function(){function t(e,n,r,i,o,a){y(this,t),this.cdr=e,this.texts=n,this.excludedProperties=r,this.destroy$=i,this.getColor=o,this.getOpacity=a,this.heading="",this.showValues=!0,this.isAPI=!1,this.propertiesConnectors=P.Mm,this.activeItemIndex=0,this.matcher=function(t,e){return!e.has(t.documentationPropertyName)}}return g(t,[{key:"ngAfterContentInit",value:function(){(0,Ee.ll)(this.propertiesConnectors).pipe((0,_.w)(function(t){return m.T.apply(void 0,d(t.map(function(t){return t.changed$})))}),(0,Ee.NA)(this.cdr),(0,w.R)(this.destroy$)).subscribe()}},{key:"type",get:function(){return this.isAPI?this.texts[0]:this.texts[1]}},{key:"onColorChange",value:function(t,e){var n=this.getOpacity.transform(t.documentationPropertyValue||"");if(100!==n){var r="rgba(".concat(fn(e).join(", "),", ").concat(n/100,")");t.onValueChange(r)}else t.onValueChange(e)}},{key:"onOpacityChange",value:function(t,e){var n="rgba(".concat(fn(this.getColor.transform(t.documentationPropertyValue||"")),", ").concat((e||0)/100,")");t.onValueChange(n)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.sBO),o.Y36(s.IK),o.Y36(s.et),o.Y36(Z.a3,2),o.Y36(ps),o.Y36(vs))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-doc-documentation"]],contentQueries:function(t,e,n){var r;(1&t&&o.Suo(n,ds,4),2&t)&&(o.iGM(r=o.CRH())&&(e.propertiesConnectors=r))},inputs:{heading:"heading",showValues:"showValues",isAPI:"isAPI"},features:[o._Bn([ps,vs,Z.a3])],ngContentSelectors:bo,decls:4,vars:6,consts:[["class","t-heading",4,"ngIf"],[4,"ngIf"],[1,"t-heading"],["class","t-table",4,"ngIf"],[1,"t-table"],[1,"t-row","t-row_header"],[1,"t-th","t-cell","t-cell_prop"],[1,"t-th"],["class","t-th t-cell t-th_value",4,"ngIf"],["class","t-row",3,"t-deprecated",4,"ngFor","ngForOf"],[1,"t-th","t-cell","t-th_value"],[1,"t-row"],[1,"t-cell"],["automation-id","tui-documentation__property-name",1,"t-property"],["size","s","value","Optional",4,"ngIf"],["class","t-deprecated-label",4,"ngIf"],[3,"ngTemplateOutlet"],[1,"type"],[3,"content","describeId",4,"ngIf"],["class","t-cell t-cell_value",4,"ngIf"],["size","s","value","Optional"],[1,"t-deprecated-label"],[3,"content","describeId"],["content",""],["href","https://github.com/taiga-family/ng-polymorpheus","rel","noreferrer","target","_blank","tuiLink","","tuiMode","onDark"],[1,"t-cell","t-cell_value"],[4,"ngIf","ngIfElse"],["elseEmitter",""],["tuiDropdownLimitWidth","min","tuiTextfieldSize","m",3,"nativeId","ngModel","tuiTextfieldCleaner","tuiTextfieldLabelOutside","valueContent","ngModelChange",4,"ngIf","ngIfElse"],["selectContent",""],["noItems",""],["tuiDropdownLimitWidth","min","tuiTextfieldSize","m",3,"nativeId","ngModel","tuiTextfieldCleaner","tuiTextfieldLabelOutside","valueContent","ngModelChange"],[1,"t-exception"],[3,"itemContent","items",4,"tuiDataList"],[3,"itemContent","items"],[3,"ngSwitch"],["size","l",3,"nativeId","ngModel","showIcons","ngModelChange",4,"ngSwitchCase"],["tuiTextfieldSize","m",3,"nativeId","tuiTextfieldCleaner","tuiTextfieldLabelOutside","value","valueChange",4,"ngSwitchCase"],["tuiGroup","",4,"ngSwitchCase"],["tuiTextfieldSize","m",3,"nativeId","ngModel","step","tuiTextfieldLabelOutside","ngModelChange",4,"ngSwitchCase"],[4,"ngSwitchCase"],["size","l",3,"nativeId","ngModel","showIcons","ngModelChange"],["tuiTextfieldSize","m",3,"nativeId","tuiTextfieldCleaner","tuiTextfieldLabelOutside","value","valueChange"],["tuiGroup",""],["tuiTextfieldSize","m",3,"tuiInputOpacity","tuiTextfieldLabelOutside","value","valueChange"],["tuiTextfield","","type","text"],["tuiTextfieldSize","m",3,"max","min","ngModel","step","ngModelChange"],["tuiTextfieldSize","m",3,"nativeId","ngModel","step","tuiTextfieldLabelOutside","ngModelChange"],["tuiTextfieldSize","m",3,"nativeId","tuiTextfieldCleaner","tuiTextfieldLabelOutside","value","valueChange",4,"ngIf"],[1,"t-output"]],template:function(t,e){1&t&&(o.F$t(),o.YNc(0,Do,2,1,"h1",0),o.Hsn(1),o.YNc(2,ta,2,1,"ng-container",1),o.ALo(3,"tuiFilter")),2&t&&(o.Q6J("ngIf",e.heading),o.xp6(2),o.Q6J("ngIf",o.Dn7(3,2,e.propertiesConnectors,e.matcher,e.excludedProperties)))},directives:[A.O5,A.sg,A.tP,br,Ht.w,Yt.V,Vt.w,tr,er,Xt.Ek,Zt.sz,Sn.JJ,Sn.On,Zt.be,Zt.xT,Ut.gX,xn,A.RF,A.n9,Ir,$t.yc,$t.B1,Gt.gZ,gs,$t.MB,Jr,Xr,Qt.L],pipes:[an,ms,ys,_s,bs,ks,vs,ps,ws,A.Ov],styles:["[_nghost-%COMP%]{display:block;min-width:100%}.t-table[_ngcontent-%COMP%]{width:100%;table-layout:fixed}.t-row[_ngcontent-%COMP%]:not(:last-child){border-bottom:1px solid var(--tui-base-03)}tui-root._mobile[_nghost-%COMP%] .t-row[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-row[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}tui-root._mobile[_nghost-%COMP%] .t-row_header[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-row_header[_ngcontent-%COMP%]{display:none}.t-cell[_ngcontent-%COMP%]{padding:1rem 1rem .875rem}.t-cell[_ngcontent-%COMP%]:first-child{padding-left:0}.t-cell[_ngcontent-%COMP%]:last-child{padding-right:0}.t-cell_prop[_ngcontent-%COMP%]{width:40%}.t-cell_value[_ngcontent-%COMP%]{text-align:right}tui-root._mobile[_nghost-%COMP%] .t-cell[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-cell[_ngcontent-%COMP%]{width:100%;height:auto;padding:.5rem 0;text-align:left}.t-th[_ngcontent-%COMP%]{padding:.5rem 1rem;color:var(--tui-text-02);font-weight:normal;text-align:left}.t-th_value[_ngcontent-%COMP%]{max-width:20rem;text-align:right}tui-root._mobile[_nghost-%COMP%] .t-th_value[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-th_value[_ngcontent-%COMP%]{width:9.375rem}.t-property[_ngcontent-%COMP%]{font:var(--tui-font-text-m);margin-bottom:.25rem;font-family:monospace;color:#8f75d1}tui-root._mobile[_nghost-%COMP%] .t-property[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-property[_ngcontent-%COMP%]{padding:.5rem 0}.t-type[_ngcontent-%COMP%]{font-family:monospace}.t-deprecated[_ngcontent-%COMP%]{background-color:var(--tui-error-bg);box-shadow:-1rem 0 var(--tui-error-bg),1rem 0 var(--tui-error-bg)}.t-deprecated-label[_ngcontent-%COMP%]{margin-right:.125rem;color:var(--tui-error-fill)}.t-exception[_ngcontent-%COMP%]{display:block;width:-webkit-max-content;width:max-content}.t-output[_ngcontent-%COMP%]{text-align:left;opacity:0}.t-heading[_ngcontent-%COMP%]{font:var(--tui-font-heading-4)}"],data:{animation:[(0,B.X$)("emitEvent",[(0,B.eR)(":increment",[(0,B.oB)({opacity:1}),(0,B.jt)("500ms ease-in")])])]},changeDetection:0}),t}(),xs=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({}),t}(),Os=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,Sn.u5,Qr.Bz,kr,nr,Dr,Ht.Q,Yt.j,$r,Vt.z,Gt.n6,xs,$t.KW,Zt.cn,Xt.dp,Ut.pc,On,Qt.H,sn]]}),t}(),Ms={codeEditorVisibilityHandler:function(t){return Boolean(t.TypeScript&&t.HTML)},tabTitles:new Map,fullsize:!0,linkIcon:"tuiIconLink"},Ss=(0,U.JN)(Ms);function Ps(t){return(0,U.vK)(Ss,t,Ms)}var Es=function(){var t=function(){function t(){y(this,t)}return g(t,[{key:"transform",value:function(t,e){return[e].concat(d(Object.keys(t)))}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=o.Yjl({name:"tuiDocExampleGetTabs",type:t,pure:!0}),t}(),As=function(){var t=function(){function t(e,n,r,i,o,a,s,u,f,d,v,g,m){var k=this;y(this,t),this.clipboard=e,this.alerts=n,this.location=r,this.copyTexts$=i,this.texts=o,this.codeEditor=a,this.processContent=s,this.isE2E=u,this.codeActions=f,this.router=d,this.route=v,this.ngLocation=g,this.options=m,this.rawLoader$$=new l.X({}),this.id=null,this.fullsize=this.options.fullsize,this.componentName=this.location.pathname.slice(1),this.defaultTabIndex=0,this.defaultTab=this.texts[this.defaultTabIndex],this.activeItemIndex=this.defaultTabIndex,this.copy$=this.copyTexts$.pipe((0,b.U)(function(t){return p(t,1)[0]})),this.processor$=this.rawLoader$$.pipe((0,_.w)(c.vP),(0,b.U)(function(t){return k.processContent(t)})),this.loading$=new h.xQ,this.visible=function(t){return Boolean(k.codeEditor&&k.options.codeEditorVisibilityHandler(t))}}return g(t,[{key:"content",set:function(t){this.rawLoader$$.next(t)}},{key:"getTabTitle",value:function(t){return this.options.tabTitles.get(t)||t}},{key:"copyExampleLink",value:function(){var t=this.location.href.indexOf("#"),e="".concat(t>-1?this.location.href.slice(0,Math.max(0,t)):this.location.href,"#").concat(this.id);this.setFragmentWithoutRedirect(this.id),this.clipboard.copy(e),this.alerts.open(this.texts[1],{label:this.texts[2],status:"success"}).subscribe()}},{key:"edit",value:function(t){var e,n=this;this.loading$.next(!0),null===(e=this.codeEditor)||void 0===e||e.edit(this.componentName,this.id||"",t).then(function(){return n.loading$.next(!1)}).catch(function(){return n.loading$.next(!1)})}},{key:"setFragmentWithoutRedirect",value:function(t){var e=this.router.createUrlTree([],{relativeTo:this.route,fragment:t||""}).toString();this.ngLocation.go(e)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(Xe),o.Y36(se),o.Y36(Y.Ct),o.Y36(mn.UV),o.Y36(s.mv),o.Y36(s.lW,8),o.Y36(s.$_),o.Y36(q.oD),o.Y36(s.mT),o.Y36(Qr.F0),o.Y36(Qr.gz),o.Y36(A.Ye),o.Y36(Ss))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-doc-example"]],hostVars:2,hostBindings:function(t,e){2&t&&o.ekj("_fullsize",e.fullsize)},inputs:{id:"id",heading:"heading",description:"description",content:"content",fullsize:"fullsize",componentName:"componentName"},ngContentSelectors:bo,decls:8,vars:5,consts:[["class","t-title",4,"ngIf"],["class","t-description",4,"ngIf"],["class","t-example",4,"ngIf"],["preview",""],["codeSection",""],[1,"t-title"],[3,"textContent",4,"polymorpheusOutlet"],["appearance","icon","size","xs","tuiIconButton","","type","button","class","t-link-icon",3,"icon","title","click",4,"ngIf"],[3,"textContent"],["appearance","icon","size","xs","tuiIconButton","","type","button",1,"t-link-icon",3,"icon","title","click"],[1,"t-description"],[4,"polymorpheusOutlet"],[1,"t-example"],[4,"ngIf"],["class","t-tabs-wrapper",4,"ngIf"],["class","t-content",3,"t-content_animated","t-content_visible",4,"ngFor","ngForOf"],[1,"t-tabs-wrapper"],[1,"t-tabs",3,"activeItemIndex","activeItemIndexChange"],[4,"ngFor","ngForOf"],["size","xs",3,"overlay","showLoader","click",4,"ngIf"],["tuiTab","",4,"tuiItem"],["tuiTab",""],["size","xs",3,"overlay","showLoader","click"],[4,"ngIf","ngIfElse"],["defaultEditContent",""],["appearance","flat","size","s","tuiButton","","type","button"],[1,"t-content"],[3,"ngTemplateOutlet",4,"ngIf","ngIfElse"],["anotherTab",""],[3,"ngTemplateOutlet"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["automation-id","tui-doc-example",1,"t-demo"],[3,"code"],[4,"polymorpheusOutlet","polymorpheusOutletContext"]],template:function(t,e){1&t&&(o.F$t(),o.YNc(0,ra,3,2,"h3",0),o.YNc(1,oa,2,1,"h4",1),o.YNc(2,_a,3,4,"div",2),o.ALo(3,"async"),o.YNc(4,ba,2,0,"ng-template",null,3,o.W1O),o.YNc(6,Ca,2,2,"ng-template",null,4,o.W1O)),2&t&&(o.Q6J("ngIf",e.heading),o.xp6(1),o.Q6J("ngIf",e.description),o.xp6(1),o.Q6J("ngIf",o.lcZ(3,3,e.processor$)))},directives:[A.O5,et.Li,Bt.v0,A.sg,Si,un,bi,E.kM,A.tP,us],pipes:[A.Ov,Es,lt],styles:["[_nghost-%COMP%]{position:relative;display:block;padding-top:3.5rem;clear:right}[_nghost-%COMP%] tui-root._mobile[_nghost-%COMP%], tui-root._mobile [_nghost-%COMP%]{padding-top:2rem}.t-title[_ngcontent-%COMP%]{font:var(--tui-font-heading-5);margin:0 0 .5rem}tui-root._mobile[_nghost-%COMP%] .t-title[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-title[_ngcontent-%COMP%]{font:var(--tui-font-heading-6)}.t-description[_ngcontent-%COMP%]{font:var(--tui-font-text-m);font-weight:normal;margin:0}.t-title[_ngcontent-%COMP%]:first-letter, .t-description[_ngcontent-%COMP%]:first-letter{text-transform:capitalize}.t-example[_ngcontent-%COMP%]{position:relative;margin-top:1.5rem;border:1px solid var(--tui-base-03);border-radius:var(--tui-radius-m);box-shadow:0 .125rem .1875rem #0000001a;overflow:hidden}tui-root._mobile[_nghost-%COMP%] .t-example[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-example[_ngcontent-%COMP%]{margin-top:.75rem}.t-tabs-wrapper[_ngcontent-%COMP%]{display:flex;padding:0 .875rem 0 2rem;box-shadow:inset 0 -1px var(--tui-base-03);justify-content:space-between;align-items:center}tui-root._mobile[_nghost-%COMP%] .t-tabs-wrapper[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-tabs-wrapper[_ngcontent-%COMP%]{padding:0 .875rem 0 1rem}.t-tabs[_ngcontent-%COMP%]{flex-grow:1}.t-demo[_ngcontent-%COMP%]{padding:2rem;max-width:100%;box-sizing:border-box;overflow-x:auto}@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm){.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar, .t-demo[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{width:1rem;height:1rem;border-radius:6.25rem;background-clip:padding-box;border:.375rem solid transparent}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar{background-color:transparent}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:var(--tui-clear-hover)}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:var(--tui-clear-active)}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:active{background-color:var(--tui-text-03)}}tui-root._mobile[_nghost-%COMP%] .t-demo[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-demo[_ngcontent-%COMP%]{padding:1rem}[_nghost-%COMP%]:not(._fullsize) .t-demo[_ngcontent-%COMP%]{width:-webkit-min-content;width:min-content;min-width:20rem}.t-link-icon[_ngcontent-%COMP%]{margin-left:.3rem;vertical-align:baseline}.t-content[_ngcontent-%COMP%]{will-change:opacity;height:0;visibility:hidden;opacity:0}.t-content_animated[_ngcontent-%COMP%]{transition:opacity .3s ease-in-out}.t-content_visible[_ngcontent-%COMP%]{height:auto;visibility:visible;opacity:1}"],changeDetection:0}),t}(),Ts=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,We,Pi,Bt.fN,ls,cs,et.wq,ht,E.dS]]}),t}();function Is(t){return t.map(function(t){return t.section}).filter(U.Pc).filter(function(t,e,n){return n.indexOf(t)===e})}var Ds=new o.OlP("[NAVIGATION_TITLE]"),Ls=new o.OlP("[NAVIGATION_LABELS]"),Ns=new o.OlP("[NAVIGATION_ITEMS]"),zs=[Z.a3,{provide:Ds,deps:[Qr.F0,Qr.gz,s.Yx,Z.a3],useFactory:function(t,e,n,r){return t.events.pipe((0,C.h)(function(t){return t instanceof Qr.m2}),(0,b.U)(function(){return e.firstChild}),(0,C.h)(U.Pc),(0,x.zg)(function(t){return t.data}),(0,b.U)(function(t){var e=t.title;return"".concat(n).concat(e)}),(0,w.R)(r))}},{provide:Ls,deps:[s.V5],useFactory:Is},{provide:Ns,deps:[s.V5],useFactory:function(t){return[].concat(d(Is(t).map(function(e){return t.filter(function(t){return t.section===e})})),[t.filter(function(t){return!t.section})])}}],Fs=function(){var t=function(){function t(e,n,r,i,o,a,s,u,c,l,h,f,d,p,v,g){var m=this;y(this,t),this.doc=i,this.mode=o,this.sidebar=a,this.labels=s,this.items=u,this.searchText=c,this.router=l,this.activatedRoute=h,this.destroy$=f,this.readyToScroll$=d,this.scrollBehavior=p,this.docIcons=v,this.icons=g,this.menuOpen=!1,this.openPagesArr=[],this.openPagesGroupsArr=[],this.active="",this.search=new Sn.NI(""),this.filtered$=(0,Ee.EK)(this.search).pipe((0,C.h)(function(t){return t.trim().length>2}),(0,b.U)(function(t){return m.filterItems(m.flattenSubPages(m.items),t)})),this.mode$=this.mode.change$.pipe((0,k.O)(null),(0,b.U)(function(){return m.mode.mode||"onLight"})),r.subscribe(function(t){e.markForCheck(),n.setTitle(t),m.openActivePageGroup(),m.handleAnchorLink(m.activatedRoute.snapshot.fragment||"")})}return g(t,[{key:"canOpen",get:function(){var t,e;return(null!==(e=null===(t=this.search.value)||void 0===t?void 0:t.length)&&void 0!==e?e:0)>2}},{key:"itemsWithoutSections",get:function(){return this.items[this.items.length-1]}},{key:"$pages",value:function(t){return t}},{key:"isActive",value:function(t){return t===this.active}},{key:"onGroupClick",value:function(t){this.openPagesGroupsArr[t]=!this.openPagesGroupsArr[t]}},{key:"closeMenu",value:function(){this.menuOpen=!1}},{key:"onClick",value:function(t){t.open=!1,this.menuOpen=!1,this.search.setValue(""),this.openActivePageGroup()}},{key:"filterItems",value:function(t,e){return t.map(function(t){return(0,U.pf)(t.filter(function(t){var n=t.title,r=t.keywords,i=void 0===r?"":r;return e=e.toLowerCase().trim(),i=i.toLowerCase(),(n=n.toLowerCase()).includes(e)||i.includes(e)||n.includes((0,c.OO)(e))||i.includes((0,c.OO)(e))||e.replace(/-/gi,"").includes(n)||n.includes(e.replace(/\s|tui/g,""))||i.includes(e.replace(/\s|tui/g,""))||e.split(/\s/).find(function(t){return n.includes(t)})}),"title")})}},{key:"flattenSubPages",value:function(t){return t.reduce(function(t,e){return[].concat(d(t),[e.reduce(function(t,e){return[].concat(d(t),"subPages"in e?d(e.subPages):[e])},[])])},[])}},{key:"isActiveRoute",value:function(t){return this.router.isActive(t,{paths:"subset",queryParams:"subset",fragment:"ignored",matrixParams:"ignored"})}},{key:"handleAnchorLink",value:function(t){var e=this;this.readyToScroll$.pipe((0,C.h)(Boolean),(0,O.q)(1),(0,w.R)(this.destroy$)).subscribe(function(){return e.navigateToAnchorLink(t)})}},{key:"openActivePageGroup",value:function(){var t=this;this.items.forEach(function(e,n){e.forEach(function(e,r){"route"in e&&t.isActiveRoute(e.route)&&(t.openPagesArr[n]=!0,t.active=e.route),"subPages"in e&&e.subPages.forEach(function(e){t.isActiveRoute(e.route)&&(t.openPagesArr[n]=!0,t.openPagesGroupsArr[100*n+r]=!0,t.active=e.route)})})})}},{key:"navigateToAnchorLink",value:function(t){var e=t?this.doc.querySelectorAll("#".concat(t)):[],n=e.length&&e[e.length-1];!n||(n.classList.add("tui-doc-animated-example"),n.scrollIntoView({block:"start",inline:"nearest",behavior:this.scrollBehavior}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.sBO),o.Y36(V.Dx),o.Y36(Ds),o.Y36(A.K0),o.Y36(Vt.w),o.Y36(oo,8),o.Y36(Ls),o.Y36(Ns),o.Y36(s.EI),o.Y36(Qr.F0),o.Y36(Qr.gz),o.Y36(Z.a3,2),o.Y36(s.V1),o.Y36(s.n1),o.Y36(s.oq),o.Y36(mt.Gs))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-doc-navigation"]],hostVars:2,hostBindings:function(t,e){2&t&&o.ekj("_open",e.menuOpen)},features:[o._Bn(zs)],ngContentSelectors:bo,decls:14,vars:14,consts:[["tuiTextfieldSize","m",1,"t-input",3,"formControl","tuiAutoFocus","tuiTextfieldCleaner","tuiTextfieldIconLeft","tuiTextfieldLabelOutside"],["input",""],[4,"ngIf"],[1,"t-navigation"],[1,"t-scrollbar",3,"tuiMode"],[3,"closeOthers","rounded"],["size","s",3,"borders","open","openChange",4,"ngFor","ngForOf"],[1,"t-items-container"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngFor","ngForOf"],["pages",""],[4,"tuiDataList"],[3,"label",4,"ngFor","ngForOf"],[3,"label"],["tuiOption","",3,"fragment","routerLink","click",4,"ngFor","ngForOf"],["tuiOption","",3,"fragment","routerLink","click"],["class","t-icon",3,"src",4,"polymorpheusOutlet"],[1,"t-icon",3,"src"],["size","s",3,"borders","open","openChange"],[1,"t-label"],["tuiAccordionItemContent",""],[1,"t-section"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["routerLinkActive","t-sublink_active","tuiLink","","class","t-sublink",3,"routerLink","tuiScrollIntoViewLink","click",4,"ngIf","ngIfElse"],["subPagesTemplate",""],["routerLinkActive","t-sublink_active","tuiLink","",1,"t-sublink",3,"routerLink","tuiScrollIntoViewLink","click"],["routerLinkActive","",1,"t-subsection",3,"routerLinkActiveOptions"],["tuiLink","","type","button","class","t-sublink t-sublink_subsection",3,"click",4,"ngIf"],[1,"t-expand",3,"expanded"],[1,"t-section","t-section_bordered"],["routerLinkActive","t-sublink_active","tuiLink","","class","t-sublink t-sublink_small",3,"fragment","routerLink","tuiScrollIntoViewLink","click",4,"ngFor","ngForOf"],["tuiLink","","type","button",1,"t-sublink","t-sublink_subsection",3,"click"],[1,"t-chevron",3,"src"],["routerLinkActive","t-sublink_active","tuiLink","",1,"t-sublink","t-sublink_small",3,"fragment","routerLink","tuiScrollIntoViewLink","click"]],template:function(t,e){1&t&&(o.F$t(),o.TgZ(0,"tui-input",0,1),o._uU(2),o.YNc(3,Pa,2,0,"ng-container",2),o.qZA(),o.TgZ(4,"nav",3),o.TgZ(5,"tui-scrollbar",4),o.ALo(6,"async"),o.TgZ(7,"tui-accordion",5),o.YNc(8,Ia,5,3,"tui-accordion-item",6),o.qZA(),o.TgZ(9,"div",7),o.YNc(10,Da,1,5,"ng-container",8),o.qZA(),o.YNc(11,Ya,3,2,"ng-template",null,9,o.W1O),o.qZA(),o.qZA(),o.Hsn(13)),2&t&&(o.Q6J("formControl",e.search)("tuiAutoFocus",!!e.sidebar)("tuiTextfieldCleaner",!0)("tuiTextfieldIconLeft",e.docIcons.search)("tuiTextfieldLabelOutside",!0),o.xp6(2),o.hij(" ",e.searchText," "),o.xp6(1),o.Q6J("ngIf",e.canOpen),o.xp6(2),o.Q6J("tuiMode",o.lcZ(6,12,e.mode$)),o.xp6(2),o.Q6J("closeOthers",!1)("rounded",!1),o.xp6(1),o.Q6J("ngForOf",e.labels),o.xp6(2),o.Q6J("ngForOf",e.itemsWithoutSections))},directives:[no.K3,no.wU,Zt.sz,Sn.JJ,Sn.oH,Se,Zt.be,Zt.aR,Zt.xT,A.O5,Wt.IB,Vt.w,qi,A.sg,Ut.gX,Ut.qi,Ut.Rs,Ut.vK,Qr.yS,et.Li,Jt.PN,Zi,Vi,A.tP,Yt.V,Qr.Od,uo,F],pipes:[A.Ov],styles:["[_nghost-%COMP%]{z-index:1;display:flex;flex-direction:column;text-align:center;background:var(--tui-base-01)}.t-input[_ngcontent-%COMP%]{margin:1.25rem}.t-navigation[_ngcontent-%COMP%]{display:flex;max-height:100%;min-height:0;flex:1 1 0;text-align:left}.t-scrollbar[_ngcontent-%COMP%]{scroll-behavior:smooth;width:100%}@media screen and (prefers-reduced-motion: reduce){.t-scrollbar[_ngcontent-%COMP%]{scroll-behavior:auto}}.t-items-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:0 1rem}.t-label[_ngcontent-%COMP%]{margin-left:.5rem}.t-expand[_ngcontent-%COMP%]{margin-left:.25rem}.t-section[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;margin:-1rem 0 -.5rem}.t-section_bordered[_ngcontent-%COMP%]{margin:.5rem 0;border-left:1px solid var(--tui-base-03)}.t-subsection[_ngcontent-%COMP%]{margin-left:.5rem}.t-sublink[_ngcontent-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:1rem 0 0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;font:var(--tui-font-text-m);margin-left:.5rem}.t-sublink_small[_ngcontent-%COMP%]{margin-left:1rem;line-height:1.5rem;padding-top:.5rem}.t-sublink_subsection[_ngcontent-%COMP%]{margin-left:0;line-height:1.6rem}.t-sublink.t-sublink.t-sublink_active[_ngcontent-%COMP%]{color:var(--tui-text-01)}.t-icon[_ngcontent-%COMP%]{margin-left:.5rem}.t-chevron[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:1rem;height:1rem;margin:-.25rem .25rem 0 -.1875rem}.t-chevron_active[_ngcontent-%COMP%]{transform:rotate(90deg)}"],changeDetection:0}),(0,Ke.gn)([pn.UM],t.prototype,"filterItems",null),(0,Ke.gn)([pn.UM],t.prototype,"flattenSubPages",null),t}(),Rs=function(){var t=function(){function t(e,n,r,i,o){y(this,t),this.icons=e,this.logo=n,this.menu=r,this.router=i,this.swipes$=o,this.stream$=new h.xQ,this.open$=(0,m.T)(this.router.events.pipe((0,b.U)(P.Iy)),this.stream$,this.swipes$.pipe((0,C.h)(function(t){return"left"===t.direction||"right"===t.direction}),(0,b.U)(function(t){return"right"===t.direction}))).pipe((0,k.O)(!1),(0,M.x)())}return g(t,[{key:"onClick",value:function(){this.stream$.next(!0)}},{key:"onActiveZone",value:function(t){t||this.stream$.next(!1)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(s.oq),o.Y36(s.Or),o.Y36(s.gG),o.Y36(Qr.F0),o.Y36(Z.$D))},t.\u0275cmp=o.Xpm({type:t,selectors:[["header","tuiDocHeader",""]],attrs:Za,ngContentSelectors:bo,decls:6,vars:6,consts:[["appearance","icon","tuiIconButton","","type","button",1,"t-menu",3,"icon","title","click","tuiActiveZoneChange"],["class","t-navigation",4,"tuiSidebar"],[1,"t-logo"],["alt","Logo","class","t-img",3,"src",4,"polymorpheusOutlet"],[1,"t-navigation"],["alt","Logo",1,"t-img",3,"src"]],template:function(t,e){1&t&&(o.F$t(),o.TgZ(0,"button",0),o.NdJ("click",function(){return e.onClick()})("tuiActiveZoneChange",function(t){return e.onActiveZone(t)}),o.YNc(1,qa,1,0,"tui-doc-navigation",1),o.ALo(2,"async"),o.qZA(),o.TgZ(3,"div",2),o.YNc(4,Ua,1,1,"img",3),o.qZA(),o.Hsn(5)),2&t&&(o.Q6J("icon",e.icons.menu)("title",e.menu),o.xp6(1),o.Q6J("tuiSidebar",!!o.lcZ(2,4,e.open$)),o.xp6(3),o.Q6J("polymorpheusOutlet",e.logo))},directives:[Bt.v0,Ot.e,oo,et.Li,Fs],pipes:[A.Ov],styles:["[_nghost-%COMP%]{box-shadow:var(--tui-shadow-basic-navigation);position:fixed;top:0;left:0;right:0;z-index:1;display:flex;height:3.9375rem;align-items:center;padding:0 1.25rem;background:var(--tui-base-01);border-bottom:1px solid var(--tui-base-03)}@supports (background: color-mix(in srgb,var(--tui-base-01),transparent 50%)){[_nghost-%COMP%]{background:color-mix(in srgb,var(--tui-base-01),transparent 50%);-webkit-backdrop-filter:blur(1.25rem);backdrop-filter:blur(1.25rem)}}.t-logo[_ngcontent-%COMP%]{margin-right:auto;font:var(--tui-font-heading-5)}.t-img[_ngcontent-%COMP%]{display:block}.t-menu[_ngcontent-%COMP%]{margin-left:-1.25rem}@media screen and (min-width: 48em){.t-menu[_ngcontent-%COMP%]{display:none}}.t-navigation[_ngcontent-%COMP%]{min-height:100%}"],changeDetection:0}),t}(),js=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,Sn.UX,Qr.Bz,et.wq,co,Bt.fN,no.Qf,Zt.cn,Ot.A,X.WD,Vt.z,Yt.j,R,He.jh,Xt.dp,Ui,Wt.Jy,Jt.EI,Ut.pc,Pe]]}),t}(),Bs=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,et.wq,Bt.fN,so,Ot.A,js]]}),t}(),Vs=function(){var t=function(){function t(e,n){y(this,t),this.text=e,this.pages=n,this.seeAlso=[]}return g(t,[{key:"getRouterLink",value:function(t){var e,n;return null!==(n=null===(e=this.pages.get(t))||void 0===e?void 0:e.route)&&void 0!==n?n:""}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(s.VX),o.Y36(s._Z))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-doc-see-also"]],inputs:{seeAlso:"seeAlso"},decls:3,vars:2,consts:[[1,"t-header"],[4,"ngFor","ngForOf"],["tuiLink","",3,"innerText","routerLink"],[4,"ngIf"]],template:function(t,e){1&t&&(o.TgZ(0,"h5",0),o._uU(1),o.qZA(),o.YNc(2,Ga,3,3,"ng-container",1)),2&t&&(o.xp6(1),o.Oqu(e.text),o.xp6(1),o.Q6J("ngForOf",e.seeAlso))},directives:[A.sg,Yt.V,Qr.yS,A.O5],styles:["[_nghost-%COMP%]{display:block}.t-header[_ngcontent-%COMP%]{font-size:.6875rem;line-height:1rem;text-transform:uppercase;letter-spacing:.075em;color:var(--tui-text-02);margin:0 0 .5rem;white-space:nowrap}"],changeDetection:0}),t}(),Ys=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,Qr.Bz,Yt.j]]}),t}(),Zs=function(){var t=function(){function t(e,n,r){y(this,t),this.icons=e,this.sourceCode=n,this.text=r,this.header="",this.package="",this.type="",this.path=""}return g(t,[{key:"pathOptions",get:function(){return this.getPathOptions(this.header,this.package,this.type,this.path)}},{key:"pathIsUrl",value:function(t){return t.startsWith("http")}},{key:"getPathOptions",value:function(t,e,n,r){return{header:t,package:e,type:n,path:r}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(s.oq),o.Y36(s.yO),o.Y36(s.as))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-doc-source-code"]],inputs:{header:"header",package:"package",type:"type",path:"path"},decls:1,vars:2,consts:[["appearance","icon","size","s","target","_blank","tuiIconButton","","type","button",3,"href","icon","title",4,"polymorpheusOutlet","polymorpheusOutletContext"],["appearance","icon","size","s","target","_blank","tuiIconButton","","type","button",3,"href","icon","title"]],template:function(t,e){1&t&&o.YNc(0,Ja,1,3,"a",0),2&t&&o.Q6J("polymorpheusOutlet",e.pathIsUrl(e.path)?e.path:e.sourceCode)("polymorpheusOutletContext",e.pathOptions)},directives:[et.Li,Bt.v0],encapsulation:2,changeDetection:0}),(0,Ke.gn)([pn.UM],t.prototype,"pathIsUrl",null),(0,Ke.gn)([pn.UM],t.prototype,"getPathOptions",null),t}(),qs=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,et.wq,Bt.fN]]}),t}(),Us=function(){var t=function(){function t(e,n,r){var i=this;y(this,t),this.icons=e,this.theme=n,this.night=r,this.change$=this.night,this.night$=this.change$.pipe((0,k.O)(null),(0,b.U)(function(){return i.night.value}),(0,M.x)(),(0,S.B)())}return g(t,[{key:"mode",get:function(){return this.night.value?"onDark":null}},{key:"icon",get:function(){return this.night.value?this.icons.day:this.icons.night}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(s.oq),o.Y36(po),o.Y36(mo))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-doc-main"]],hostVars:1,hostBindings:function(t,e){2&t&&o.uIk("data-mode",e.mode)},features:[o._Bn([{provide:Vt.w,useExisting:(0,o.Gpc)(function(){return t})},Z.$D])],ngContentSelectors:Qa,decls:21,vars:4,consts:[[4,"ngIf"],[1,"tui-doc-page"],[1,"tui-doc-navigation"],[1,"tui-doc-content"],[1,"tui-doc-outlet"],["tuiDocHeader",""],["appearance","secondary","shape","rounded","size","s","tuiIconButton","","tuiMode","onLight","type","button",1,"tui-doc-night-mode-switch",3,"icon","click"],["ngProjectAs","tuiOverContent",5,["tuiOverContent"]],["ngProjectAs","tuiOverDialogs",5,["tuiOverDialogs"]],["ngProjectAs","tuiOverAlerts",5,["tuiOverAlerts"]],["ngProjectAs","tuiOverPortals",5,["tuiOverPortals"]],["ngProjectAs","tuiOverHints",5,["tuiOverHints"]]],template:function(t,e){1&t&&(o.F$t($a),o.YNc(0,Xa,1,0,"tui-theme-night",0),o.ALo(1,"async"),o.TgZ(2,"tui-root"),o.TgZ(3,"div",1),o.TgZ(4,"tui-doc-navigation",2),o.Hsn(5),o.qZA(),o.TgZ(6,"div",3),o._UZ(7,"router-outlet",4),o.qZA(),o.qZA(),o.TgZ(8,"header",5),o.Hsn(9,1),o.TgZ(10,"button",6),o.NdJ("click",function(){return e.night.toggle()}),o.qZA(),o.qZA(),o.ynx(11,7),o.Hsn(12,2),o.BQk(),o.ynx(13,8),o.Hsn(14,3),o.BQk(),o.ynx(15,9),o.Hsn(16,4),o.BQk(),o.ynx(17,10),o.Hsn(18,5),o.BQk(),o.ynx(19,11),o.Hsn(20,6),o.BQk(),o.qZA()),2&t&&(o.Q6J("ngIf",e.theme.isDefaultTheme&&e.night.useDefaultNightTheme&&o.lcZ(1,2,e.night$)),o.xp6(10),o.Q6J("icon",e.icon))},directives:[A.O5,Nt,Fs,Qr.lC,Rs,Bt.v0,Vt.w,Rt],pipes:[A.Ov],styles:['html{scroll-padding-top:4rem;height:auto}tui-root>tui-scroll-controls>.t-bar_vertical{top:4rem!important}@keyframes tuiShaking{0%,to{transform:translate(0)}10%,30%,50%,70%,90%{transform:translate(-.3125rem)}20%,40%,60%,80%{transform:translate(.3125rem)}}body{background:var(--tui-base-01);height:auto}tui-doc-main{display:block}code:not(pre code):not(.hljs):not([class*="language-"]){transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:inline-flex;background:var(--tui-base-02);color:var(--tui-text-02);vertical-align:middle;align-items:center;border-radius:.25rem;font-weight:500;border:1px solid var(--tui-base-04);font-size:.75rem;padding:0 .125rem;text-wrap:wrap}tui-notification code:not(pre code):not(.hljs):not([class*="language-"]){background:var(--tui-clear);box-shadow:none}a code:not(pre code):not(.hljs):not([class*="language-"]){color:var(--tui-link)}button:focus code,a:focus code{background:var(--tui-base-01)}.tui-doc-page{isolation:isolate;padding-top:4rem}tui-doc-navigation.tui-doc-navigation{position:fixed;top:4rem;bottom:0;width:16.25rem;border-right:1px solid var(--tui-base-03)}@media screen and (max-width: 47.9625em){tui-doc-navigation.tui-doc-navigation{display:none}}.tui-doc-content{margin-left:16.25rem}@media screen and (max-width: 47.9625em){.tui-doc-content{margin-left:0}}.tui-doc-outlet+*{display:block}.tui-doc-animated-example{animation:1s .3s tuiShaking}.tui-doc-night-mode-switch{margin-left:1rem}.tui-doc-night-mode-switch tui-svg{color:var(--tui-text-02)}tui-doc-code .hljs-tag{background:none}tui-doc-code .hljs{display:block;overflow-x:auto;padding:.5em;color:var(--tui-text-01);background-color:var(--tui-clear)}tui-doc-code .hljs.hljs-line-numbers{background:transparent}tui-doc-code .hljs-subst,tui-doc-code .hljs-title{font-weight:normal;color:var(--tui-text-01)}tui-doc-code .hljs-comment,tui-doc-code .hljs-quote{color:var(--tui-text-02);font-style:italic}tui-doc-code .hljs-meta{color:#e38162}tui-doc-code .hljs-section,tui-doc-code .hljs-name,tui-doc-code .hljs-literal,tui-doc-code .hljs-keyword,tui-doc-code .hljs-selector-tag,tui-doc-code .hljs-type,tui-doc-code .hljs-selector-id,tui-doc-code .hljs-selector-class{font-weight:bold;color:var(--tui-link)}tui-doc-code .hljs-attr{color:var(--tui-link)}tui-doc-code .hljs-attribute,tui-doc-code .hljs-number,tui-doc-code .hljs-regexp,tui-doc-code .hljs-link,tui-doc-code .hljs-built_in{font-weight:bold;color:var(--tui-support-06)}tui-doc-code .hljs-number,tui-doc-code .hljs-regexp,tui-doc-code .hljs-link{font-weight:normal}tui-doc-code .hljs-string{color:var(--tui-positive);font-weight:bold}tui-doc-code .hljs-symbol,tui-doc-code .hljs-bullet,tui-doc-code .hljs-formula{color:var(--tui-text-01);background:var(--tui-base-02);font-style:italic}tui-doc-code .hljs-doctag{text-decoration:underline}tui-doc-code .hljs-variable,tui-doc-code .hljs-template-variable{color:var(--tui-link-hover)}tui-doc-code [data-mode=onDark] .hljs-variable,tui-doc-code [data-mode=onDark] .hljs-template-variable{color:var(--tui-warning-fill)}tui-doc-code .hljs-addition{background:var(--tui-success-bg)}tui-doc-code .hljs-deletion{background:var(--tui-error-bg)}tui-doc-code .hljs-emphasis{font-style:italic}tui-doc-code .hljs-strong{font-weight:bold}tui-doc-code .hljs .hljs-line-numbers{padding:0}tui-doc-code .hljs-ln-numbers{vertical-align:top;opacity:.3;text-align:right;padding-right:1em!important}\n'],encapsulation:2}),t}(),Hs=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,Qr.Bz,jt,Bs,zt,Ue,ue,Bt.fN,Vt.z,js]]}),t}(),Gs=new o.OlP("[PAGE_SEE_ALSO]"),Js=[{provide:Gs,deps:[o.SBq,s.UL],useFactory:function(t,e){var n=t.nativeElement.getAttribute("header"),r=e.filter(function(t){return t.includes(n)})||[],i=new Set(r.join().split(",").filter(function(t){return t&&t!==n}));return Array.from(i)}}],Xs=function(){var t=g(function t(e){y(this,t),this.template=e});return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.Rgc))},t.\u0275dir=o.lG2({type:t,selectors:[["","pageTab",""]],inputs:{pageTab:"pageTab"}}),t}(),$s=function(){var t=function(){function t(e,n){y(this,t),this.defaultTabs=e,this.seeAlso=n,this.header="",this.package="",this.type="",this.path="",this.deprecated=!1,this.tabConnectors=P.Mm,this.activeItemIndex=0,this.from=/ /g,this.to="_"}return g(t,[{key:"showSeeAlso",get:function(){return!!this.seeAlso.length&&0===this.activeItemIndex}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(s.AC),o.Y36(Gs))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-doc-page"]],contentQueries:function(t,e,n){var r;(1&t&&o.Suo(n,Xs,4),2&t)&&(o.iGM(r=o.CRH())&&(e.tabConnectors=r))},inputs:{header:"header",package:"package",type:"type",path:"path",deprecated:"deprecated"},features:[o._Bn(Js)],ngContentSelectors:bo,decls:11,vars:10,consts:[[1,"t-header"],[1,"t-title"],["status","custom","value","deprecated","class","t-tag t-tag_deprecated",4,"ngIf"],["status","custom","class","t-tag t-tag_package",3,"autoColor","value",4,"ngIf"],["class","t-tabs",3,"activeItemIndex","activeItemIndexChange",4,"ngIf"],[1,"t-source-code",3,"header","package","path","type"],[1,"t-content"],["class","t-see-also",3,"seeAlso",4,"ngIf"],[4,"ngFor","ngForOf"],["status","custom","value","deprecated",1,"t-tag","t-tag_deprecated"],["status","custom",1,"t-tag","t-tag_package",3,"autoColor","value"],[1,"t-tabs",3,"activeItemIndex","activeItemIndexChange"],[4,"ngIf"],["routerLinkActive","","tuiTab","",3,"routerLink","routerLinkActiveOptions",4,"tuiItem"],["routerLinkActive","","tuiTab","",3,"routerLink","routerLinkActiveOptions"],[1,"t-see-also",3,"seeAlso"],[3,"ngTemplateOutlet",4,"ngIf"],[3,"ngTemplateOutlet"]],template:function(t,e){1&t&&(o.F$t(),o.TgZ(0,"header",0),o.TgZ(1,"h1",1),o._uU(2),o.YNc(3,Wa,1,0,"tui-tag",2),o.YNc(4,Ka,1,2,"tui-tag",3),o.qZA(),o.YNc(5,is,2,2,"tui-tabs-with-more",4),o._UZ(6,"tui-doc-source-code",5),o.qZA(),o.TgZ(7,"div",6),o.Hsn(8),o.YNc(9,os,1,1,"tui-doc-see-also",7),o.YNc(10,ss,2,1,"ng-container",8),o.qZA()),2&t&&(o.xp6(2),o.hij(" ",e.header," "),o.xp6(1),o.Q6J("ngIf",!!e.deprecated||""===e.deprecated),o.xp6(1),o.Q6J("ngIf",e.package),o.xp6(1),o.Q6J("ngIf",e.tabConnectors.length),o.xp6(1),o.Q6J("header",e.header)("package",e.package)("path",e.path)("type",e.type),o.xp6(3),o.Q6J("ngIf",e.showSeeAlso),o.xp6(1),o.Q6J("ngForOf",e.tabConnectors))},directives:[A.O5,Zs,A.sg,Ki,Si,un,bi,Qr.yS,Qr.Od,Vs,A.tP],pipes:[ln],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;min-height:0;flex-basis:0;flex-grow:1}.t-header[_ngcontent-%COMP%]{display:flex;font:var(--tui-font-heading-3);flex-wrap:wrap;min-height:7.25rem;color:var(--tui-text-01);box-shadow:inset 0 -1px 0 0 var(--tui-base-03);padding:3.75rem 0 0;box-sizing:border-box;flex-shrink:0;margin:0 min(10vw,8.75rem)}tui-root._mobile[_nghost-%COMP%] .t-header[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{font:var(--tui-font-heading-4);min-height:4.5rem;padding:1.25rem 1.25rem 0;margin:0}.t-title[_ngcontent-%COMP%]{min-width:100%;font-size:inherit;margin:0}.t-tag[_ngcontent-%COMP%]{vertical-align:middle;text-transform:uppercase;margin-right:.5rem}.t-tag_deprecated[_ngcontent-%COMP%]{background-color:var(--tui-error-fill)}.t-tag.t-tag_package[_ngcontent-%COMP%]{color:#000}.t-tabs[_ngcontent-%COMP%]{flex:1;margin:1.125rem .3125rem 0 0}tui-root._mobile[_nghost-%COMP%] .t-tabs[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-tabs[_ngcontent-%COMP%]{margin-top:.25rem}.t-content[_ngcontent-%COMP%]{padding:2rem 0;margin:0 min(10vw,8.75rem)}tui-root._mobile[_nghost-%COMP%] .t-content[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:2rem 1.25rem;margin:0}.t-see-also[_ngcontent-%COMP%]{min-width:18.75rem;width:30%;float:right;margin-left:1.5rem}tui-root._mobile[_nghost-%COMP%] .t-see-also[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-see-also[_ngcontent-%COMP%]{float:none;width:100%;margin:0 0 1.5rem}.t-source-code[_ngcontent-%COMP%]{align-self:flex-end;line-height:2.75rem;margin-left:auto}"],changeDetection:0}),t}(),Qs=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,Qr.Bz,Ys,Pi,to,qs,hn]]}),t}()},64548:function(t,e,n){"use strict";n.d(e,{mT:function(){return f},lW:function(){return d},AC:function(){return p},ru:function(){return _},IK:function(){return b},$_:function(){return g},Es:function(){return m},mv:function(){return k},et:function(){return y},oq:function(){return v},Or:function(){return M},_Z:function(){return E},gG:function(){return w},V5:function(){return P},V1:function(){return S},n1:function(){return A},EI:function(){return C},UL:function(){return T},VX:function(){return x},yO:function(){return I},as:function(){return O},Yx:function(){return D},Ii:function(){return L}});var r=n(11927),i=n(74788),o=n(44427),a=n(54487),s=n(41439),u=n(41291),c=n(25917),l=n(43190),h=n(79456),f=(0,r.JN)(""),d=new i.OlP("[TUI_DOC_CODE_EDITOR]"),p=(0,r.JN)([]),v=(0,r.JN)({search:"tuiIconSearch",day:"tuiIconSun",night:"tuiIconMoon",code:"tuiIconCode",menu:"tuiIconMenuLarge"}),g=(0,r.JN)(a.y),m=(0,r.JN)(o.vi),y=(0,r.JN)(new Set([])),_=(0,r.JN)(["Read more more about modes: ","Background","Form value"]),b=(0,r.JN)(["Argument","Type","Name and description","Value","Learn about our dynamic templates from "]),k=(0,r.JN)(["Preview","Link to a sample was successfully copied","Done"]),w=(0,r.JN)("Menu"),C=(0,r.JN)("Search"),x=(0,r.JN)("See also"),O=(0,r.JN)("Source code"),M=(0,r.JN)(""),S=(0,r.JN)((0,s.P)(function(){return(0,u.H)(200).pipe((0,l.w)(function(){return(0,c.of)(!0)}))})),P=(0,r.JN)([]),E=(0,r.N1)(function(){return(0,o.S4)((0,i.f3M)(P))}),A=(0,r.N1)(function(){return(0,i.f3M)(h.TK)?"auto":"smooth"}),T=(0,r.JN)([]),I=(0,r.JN)(null),D=(0,r.JN)(""),L=(0,r.JN)(String)},44427:function(e,n,r){"use strict";r.d(n,{p8:function(){return u},cd:function(){return s},Ve:function(){return c},sj:function(){return l},JQ:function(){return f},vP:function(){return d},S4:function(){return v},OO:function(){return m},vi:function(){return h}});var i=r(4841),o=r.n(i),a=r(97582);function s(t){return"true"===(null==t?void 0:t.toString())}function u(t){var e=String(t).trim();if(function(t){return["undefined","null","NaN"].includes(t)}(e))return null;if(function(t){return"true"===t||"false"===t}(e))return"true"===String(e);if(function(t){return!!t.trim()&&!Number.isNaN(Number(t))&&!t.startsWith("+")}(e))return Number(e);var n=decodeURIComponent(e);try{return function(t){return t.startsWith("[")&&t.endsWith("]")}(n)||function(t){return t.startsWith("{")&&t.endsWith("}")}(n)?JSON.parse(n):n}catch(r){return n}}function c(t){return[{path:"",component:t,children:[{path:":tab",component:t}]}]}function l(t,e){if(null===t)return"null";switch(typeof t){case"string":return"'".concat(t,"'");case"undefined":case"number":case"boolean":case"function":return String(t)}return t instanceof RegExp?String(t):Array.isArray(t)?function(t,e){if(0===e)return"[\u2026]";for(var n="",r=!0,i=0;i0&&void 0!==arguments[0]?arguments[0]:"",e=(new(o())).parse(t,{}).filter(function(t){var e=t.tag,n=t.type;return"code"===e&&"fence"===n}).map(function(t){return t.content.trim()});return e.length?e:[t]}function f(e){return(0,a.mG)(this,void 0,void 0,t().mark(function n(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(e instanceof Promise)){t.next=6;break}return t.next=3,e;case 3:t.t0=t.sent.default,t.next=7;break;case 6:t.t0=e;case 7:return t.abrupt("return",t.t0);case 8:case"end":return t.stop()}},n)}))}function d(e){return(0,a.mG)(this,void 0,void 0,t().mark(function n(){var r,i,o,a,s,u;return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:r={},i=0,o=Object.entries(e);case 2:if(!(i1&&void 0!==arguments[1]?arguments[1]:{};return new m.y(function(r){var i=Object.assign(Object.assign(Object.assign({},e.defaultOptions),n),{content:t,completeWith:function(t){r.next(t),r.complete()},$implicit:r,component:e.component,createdAt:Date.now(),id:e.idService.generate()});return e.dialogs$.next([].concat(d(e.dialogs$.value),[i])),function(){e.dialogs$.next(e.dialogs$.value.filter(function(t){return t!==i}))}})}}]),n}(m.y);return t.\u0275fac=function(e){return new(e||t)(o.LFG(S.ll))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t}(),F=function(){var t,e=function(t){a(n,t);var e=u(n);function n(){return y(this,n),e.apply(this,arguments)}return g(n,[{key:"getFallbackValue",value:function(){return null}}]),n}(D);return e.\u0275fac=function(n){return(t||(t=o.n5z(e)))(n||e)},e.\u0275dir=o.lG2({type:e,features:[o.qOj]}),e}(),R=function(){var t=function(){function t(){y(this,t)}return g(t,[{key:"safeHost",get:function(){if(!this.host)throw new P.ZB;return this.host}},{key:"attach",value:function(t){this.host=t}},{key:"add",value:function(t){return this.safeHost.addComponentChild(t)}},{key:"remove",value:function(t){var e=t.hostView;e.destroyed||e.destroy()}},{key:"addTemplate",value:function(t,e){return this.safeHost.addTemplateChild(t,e)}},{key:"removeTemplate",value:function(t){t.destroyed||t.destroy()}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t}(),j=function(){var t=function(){function t(e,n,r){y(this,t),this.injector=e,this.el=n,r.attach(this)}return g(t,[{key:"clientRect",get:function(){return this.el.nativeElement.getBoundingClientRect()}},{key:"addComponentChild",value:function(e){var n=e.createInjector(this.injector),r=n.get(o._Vd).resolveComponentFactory(e.component),i=o.zs3.create({parent:n,providers:[{provide:t,useValue:this}]}),a=this.vcr.createComponent(r,void 0,i);return a.changeDetectorRef.detectChanges(),a}},{key:"addTemplateChild",value:function(t,e){return this.vcr.createEmbeddedView(t,e)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.gxx),o.Y36(o.SBq),o.Y36(R))},t.\u0275dir=o.lG2({type:t,viewQuery:function(t,e){var n;(1&t&&o.Gf(A,5,o.s_b),2&t)&&(o.iGM(n=o.CRH())&&(e.vcr=n.first))}}),t}(),B=function(){var t=function(){function t(e){if(y(this,t),this.doc=e,null===this.style){var n=this.doc.head.querySelectorAll("style");this.constructor.style=n[n.length-1]}else this.addTheme()}return g(t,[{key:"style",get:function(){return this.constructor.style}},{key:"ngOnDestroy",value:function(){this.removeTheme()}},{key:"addTheme",value:function(){this.style&&this.doc.head.appendChild(this.style)}},{key:"removeTheme",value:function(){var t;null===(t=this.style)||void 0===t||t.remove()}}]),t}();return t.style=null,t.\u0275fac=function(e){return new(e||t)(o.Y36(E.K0))},t.\u0275dir=o.lG2({type:t}),t}()},18939:function(t,e,n){"use strict";n.d(e,{T:function(){return o},z:function(){return i}});var r=n(33770),i={enabled:!1,get assert(){return r.iD}},o=g(function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};y(this,t),this.message=e,this.context=n})},75122:function(t,e,n){"use strict";n.d(e,{qY:function(){return h},mL:function(){return f},ae:function(){return l}});var r,i,o=n(74788),s=n(76480),c=["*"],l=(i=function(t){a(n,t);var e=u(n);function n(){return y(this,n),e.apply(this,arguments)}return g(n)}(s.N9),i.\u0275fac=function(t){return(r||(r=o.n5z(i)))(t||i)},i.\u0275prov=o.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i),h=function(){var t=function(t){a(n,t);var e=u(n);function n(){return y(this,n),e.apply(this,arguments)}return g(n)}(s.Er);return t.\u0275fac=function(){var e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-dropdown-host"]],features:[o._Bn([{provide:s.N9,useExisting:l},{provide:s.Er,useExisting:t}]),o.qOj],ngContentSelectors:c,decls:3,vars:0,consts:[["viewContainer",""]],template:function(t,e){1&t&&(o.F$t(),o.Hsn(0),o.GkF(1,null,0))},styles:['[_nghost-%COMP%]{position:relative;z-index:0;display:block;height:100%}[_nghost-%COMP%]:before{content:"";display:block;overflow:hidden}.t-position-fixed-offset[_ngcontent-%COMP%]{position:fixed;left:0;top:0;pointer-events:none;visibility:hidden;width:100%;height:100%}'],changeDetection:0}),t}(),f=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({}),t}()},81359:function(t,e,n){"use strict";n.d(e,{tZ:function(){return O},eI:function(){return S},ex:function(){return M}});var r=n(74788),i=n(62579),o=n(40946),a=n(99434),s=n(88002),u=n(43190),c=n(46782),l=n(43219),h=n(39761),f=n(87519),d=n(12057),v=n(33770),m=n(27103),_=n(66682);function b(t,e){if(1&t&&(r.TgZ(0,"div",3),r._UZ(1,"div",4),r.qZA()),2&t){var n=r.oxw().ngIf;r.ekj("t-bar_has-horizontal",n[1])}}function k(t,e){if(1&t&&(r.TgZ(0,"div",5),r._UZ(1,"div",6),r.qZA()),2&t){var n=r.oxw().ngIf;r.ekj("t-bar_has-vertical",n[0])}}function w(t,e){if(1&t&&(r.ynx(0),r.YNc(1,b,2,2,"div",1),r.YNc(2,k,2,2,"div",2),r.BQk()),2&t){var n=e.ngIf;r.xp6(1),r.Q6J("ngIf",n[0]),r.xp6(1),r.Q6J("ngIf",n[1])}}var C,x=((C=function(){function t(e,n,r,i,a,h){var f=this;y(this,t),this.container=i,this.doc=a,this.el=h,this.tuiScrollbar="vertical";var d=this.el.nativeElement,g=(0,o.mL)(d,"mousedown"),m=(0,o.mL)(this.doc,"mousemove"),b=(0,o.mL)(this.doc,"mouseup"),k=(0,o.mL)(this.wrapper,"mousedown");(0,_.T)(k.pipe((0,s.U)(function(t){return f.getScrolled(t,.5,.5)})),g.pipe((0,o.vm)(),(0,u.w)(function(t){var e,n,r=d.getBoundingClientRect(),i=(n=r,(t.clientY-n.top)/n.height),o=(e=r,(t.clientX-e.left)/e.width);return m.pipe((0,s.U)(function(t){return f.getScrolled(t,i,o)}),(0,c.R)(b))}))).pipe((0,o.fL)(e),(0,c.R)(n)).subscribe(function(t){var e=p(t,2),n=e[0],r=e[1];"vertical"===f.tuiScrollbar?f.element.scrollTop=n:f.element.scrollLeft=r}),(0,_.T)(r.pipe((0,l.p)(v.Yg)),(0,o.pt)(this.element)).pipe((0,o.fL)(e),(0,c.R)(n)).subscribe(function(){"vertical"===f.tuiScrollbar?(d.style.top=100*f.thumb+"%",d.style.height=100*f.view+"%"):(d.style.left=100*f.thumb+"%",d.style.width=100*f.view+"%")})}return g(t,[{key:"wrapper",get:function(){return this.el.nativeElement.parentElement}},{key:"scrolled",get:function(){var t=this.element,e=t.scrollTop,n=t.scrollHeight,r=t.clientHeight,i=t.scrollLeft,o=t.scrollWidth,a=t.clientWidth;return"vertical"===this.tuiScrollbar?e/(n-r):i/(o-a)}},{key:"compensation",get:function(){var t=this.element,e=t.clientHeight,n=t.scrollHeight,r=t.clientWidth,i=t.scrollWidth;return e*e/n>24&&"vertical"===this.tuiScrollbar||r*r/i>24&&"horizontal"===this.tuiScrollbar?0:"vertical"===this.tuiScrollbar?24/e:24/r}},{key:"thumb",get:function(){return this.scrolled*(1-(this.compensation||this.view))}},{key:"view",get:function(){var t=this.element,e=t.clientHeight,n=t.scrollHeight,r=t.clientWidth,i=t.scrollWidth;return"vertical"===this.tuiScrollbar?Math.ceil(e/n*100)/100:Math.ceil(r/i*100)/100}},{key:"element",get:function(){return this.container.nativeElement}},{key:"getScrolled",value:function(t,e,n){var r=t.clientY,i=t.clientX,o=this.el.nativeElement,a=o.offsetHeight,s=o.offsetWidth,u=this.wrapper.getBoundingClientRect(),c=u.top,l=u.left,h=u.width,f=u.height;return[(r-c-a*e)/(f-a)*(this.element.scrollHeight-f),(i-l-s*n)/(h-s)*(this.element.scrollWidth-h)]}}]),t}()).\u0275fac=function(t){return new(t||C)(r.Y36(r.R0b),r.Y36(m.a3,2),r.Y36(i.L1),r.Y36(a.$_),r.Y36(d.K0),r.Y36(r.SBq))},C.\u0275dir=r.lG2({type:C,selectors:[["","tuiScrollbar",""]],inputs:{tuiScrollbar:"tuiScrollbar"},features:[r._Bn([m.a3])]}),C),O=function(){var t=function(){function t(e,n,r){var i=this;y(this,t),this.zone=e,this.scrollRef=n,this.animationFrame$=r,this.refresh$=this.animationFrame$.pipe((0,l.p)(300),(0,s.U)(function(){return i.scrollbars}),(0,h.O)([!1,!1]),(0,f.x)(function(t,e){return t[0]===e[0]&&t[1]===e[1]}),(0,o.Yr)(this.zone))}return g(t,[{key:"scrollbars",get:function(){var t=this.scrollRef.nativeElement,e=t.clientHeight,n=t.scrollHeight,r=t.clientWidth,i=t.scrollWidth;return[Math.ceil(e/n*100)<100,Math.ceil(r/i*100)<100]}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.R0b),r.Y36(a.$_),r.Y36(i.L1))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-scroll-controls"]],decls:2,vars:3,consts:[[4,"ngIf"],["class","t-bar t-bar_vertical",3,"t-bar_has-horizontal",4,"ngIf"],["class","t-bar t-bar_horizontal",3,"t-bar_has-vertical",4,"ngIf"],[1,"t-bar","t-bar_vertical"],["tuiScrollbar","vertical",1,"t-thumb"],[1,"t-bar","t-bar_horizontal"],["tuiScrollbar","horizontal",1,"t-thumb"]],template:function(t,e){1&t&&(r.YNc(0,w,3,2,"ng-container",0),r.ALo(1,"async")),2&t&&r.Q6J("ngIf",r.lcZ(1,1,e.refresh$))},directives:[d.O5,x],pipes:[d.Ov],styles:["[_nghost-%COMP%]{position:-webkit-sticky;position:sticky;top:0;left:0;z-index:1;min-width:calc(100% - 1px);min-height:calc(100% - 1px);max-width:calc(100% - 1px);max-height:calc(100% - 1px);float:left;-webkit-margin-end:calc(-100% + 1px);margin-inline-end:calc(-100% + 1px);pointer-events:none}.t-bar[_ngcontent-%COMP%]{position:absolute;right:0;bottom:0;pointer-events:auto;animation:tuiFadeIn var(--tui-duration, .3s) ease-in-out}.t-bar_vertical[_ngcontent-%COMP%]{top:0;width:.875rem}.t-bar_horizontal[_ngcontent-%COMP%]{left:0;height:.875rem}.t-bar_has-horizontal[_ngcontent-%COMP%]{bottom:.5rem}.t-bar_has-vertical[_ngcontent-%COMP%]{right:.5rem}.t-thumb[_ngcontent-%COMP%]{position:absolute;border-radius:6.25rem;border:.25rem solid transparent;cursor:pointer;pointer-events:auto;-webkit-user-select:none;-moz-user-select:none;user-select:none;background:currentColor;background-clip:content-box;box-sizing:border-box;transition:all var(--tui-duration, .3s) ease-in-out;transition-property:width,height,opacity;opacity:.2}.t-thumb[_ngcontent-%COMP%]:hover{opacity:.24}.t-thumb[_ngcontent-%COMP%]:active{opacity:.48}.t-bar_vertical[_ngcontent-%COMP%] .t-thumb[_ngcontent-%COMP%]{right:0;width:.75rem;min-height:1.25rem}.t-bar_vertical[_ngcontent-%COMP%]:hover .t-thumb[_ngcontent-%COMP%], .t-bar_vertical[_ngcontent-%COMP%] .t-thumb[_ngcontent-%COMP%]:active{width:.875rem}.t-bar_horizontal[_ngcontent-%COMP%] .t-thumb[_ngcontent-%COMP%]{bottom:0;height:.75rem;min-width:1.25rem}.t-bar_horizontal[_ngcontent-%COMP%]:hover .t-thumb[_ngcontent-%COMP%], .t-bar_horizontal[_ngcontent-%COMP%] .t-thumb[_ngcontent-%COMP%]:active{height:.875rem}"],changeDetection:0}),t}(),M=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiScrollRef",""]],features:[r._Bn([{provide:a.$_,useExisting:r.SBq}])]}),t}(),S=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[d.ez]]}),t}()},33770:function(t,e,n){"use strict";n.d(e,{Iy:function(){return o},Ye:function(){return a},F:function(){return y},fv:function(){return _},em:function(){return b},f$:function(){return m},LZ:function(){return c},Jy:function(){return h},iD:function(){return l},Mm:function(){return u},Yg:function(){return v},bg:function(){return d},yZ:function(){return f},Kx:function(){return p},Ml:function(){return k},Lw:function(){return g}});var r=n(74788),i=n(56083),o=function(){return!1},a=function(){return!0},s={bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0},u=new r.n_E,c=[],l=function(){},h=Object.assign(Object.assign({},s),{toJSON:function(){return s}}),f=function(t){return String(t)},d=function(t,e){return t===e||function(t,e){return Array.isArray(t)&&Array.isArray(e)&&!t.length&&!e.length}(t,e)},p=(0,i.X$)("tuiParentAnimation",[(0,i.eR)(":leave",[(0,i.IO)(":scope > *",[(0,i.pV)()],{optional:!0})])]),v=((0,i.X$)("tuiParentStop",[(0,i.eR)(":enter",[])]),1e3/15),g=function(t){return"ownerSVGElement"in t?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},m="\xa0",y="\u2013",_="-",b="\u2212",k="3.56.0"},44358:function(t,e,n){"use strict";n.d(e,{UM:function(){return o}});var r=n(27788);function i(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return function(){var r=t.call(this);return Object.defineProperty(this,e,{enumerable:n,value:r}),r}}function o(t,e,n){if("function"==typeof t){var o=e;if("getter"===o.kind)return i(t,o.name);if("method"===o.kind)return function(t){var e,n=[],r=!1;return function(){for(var i=arguments.length,o=new Array(i),a=0;aMath.abs(c)),i.processEvent(t,e,e?l<0:c<0)}))}),(0,o.fL)(n),(0,c.R)(r)).subscribe()}return g(t,[{key:"enabled",get:function(){return"none"!==this.mode}},{key:"overscrollBehavior",get:function(){return this.enabled?"contain":null}},{key:"processEvent",value:function(t,e,n){var r,i=t.target,o=t.currentTarget;if(t.cancelable&&(0,s.ve)(i)&&"range"!==(null===(r=i)||void 0===r?void 0:r.type)){if("all"===this.mode&&(e&&!o.contains((0,s.Hs)(i))||!e&&!o.contains((0,s.Hs)(i,!1))))return void t.preventDefault();if(e&&(n&&!(0,s.ty)(i,o,!0,!1)||!n&&!(0,s.ty)(i,o,!0,!0)))return void t.preventDefault();!e&&(n&&!(0,s.ty)(i,o,!1,!1)||!n&&!(0,s.ty)(i,o,!1,!0))&&t.preventDefault()}}}]),t}()).\u0275fac=function(t){return new(t||r)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(a.a3,2))},r.\u0275dir=i.lG2({type:r,selectors:[["","tuiOverscroll",""]],hostVars:2,hostBindings:function(t,e){2&t&&i.Udp("overscroll-behavior",e.overscrollBehavior)},inputs:{mode:["tuiOverscroll","mode"]},features:[i._Bn([a.a3])]}),r),d=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t}()},36424:function(t,e,n){"use strict";n.d(e,{L:function(){return i},B:function(){return o}});var r,i=((r=i||(i={}))[r.Sunday=0]="Sunday",r[r.Monday=1]="Monday",r[r.Tuesday=2]="Tuesday",r[r.Wednesday=3]="Wednesday",r[r.Thursday=4]="Thursday",r[r.Friday=5]="Friday",r[r.Saturday=6]="Saturday",i),o=function(){return(t=o||(o={}))[t.January=0]="January",t[t.February=1]="February",t[t.March=2]="March",t[t.April=3]="April",t[t.May=4]="May",t[t.June=5]="June",t[t.July=6]="July",t[t.August=7]="August",t[t.September=8]="September",t[t.October=9]="October",t[t.November=10]="November",t[t.December=11]="December",o;var t}()},27788:function(t,e,r){"use strict";r.d(e,{I4:function(){return i},AM:function(){return o},JY:function(){return s},ZB:function(){return c},aq:function(){return l},jw:function(){return h},j2:function(){return f}}),Error,Error;var i=function(t){a(n,t);var e=u(n);function n(t){return y(this,n),e.call(this,"")}return g(n)}(n(Error)),o=function(t){a(n,t);var e=u(n);function n(t){return y(this,n),e.call(this,"")}return g(n)}(n(Error)),s=function(t){a(n,t);var e=u(n);function n(t){return y(this,n),e.call(this,"")}return g(n)}(n(Error)),c=function(t){a(n,t);var e=u(n);function n(){return y(this,n),e.call(this,"")}return g(n)}(n(Error)),l=function(t){a(n,t);var e=u(n);function n(){return y(this,n),e.call(this,"")}return g(n)}(n(Error)),h=function(t){a(n,t);var e=u(n);function n(){return y(this,n),e.call(this,"")}return g(n)}(n(Error));Error,Error;var f=function(t){a(n,t);var e=u(n);function n(){return y(this,n),e.call(this,"")}return g(n)}(n(Error));Error,Error},40946:function(t,e,n){"use strict";n.d(e,{EK:function(){return D},ix:function(){return z},Xd:function(){return F},fw:function(){return R},ll:function(){return j},pt:function(){return B},vm:function(){return V},mL:function(){return L},NA:function(){return Y},Yr:function(){return q},fL:function(){return Z}});var r,i,o=n(27788),s=n(29856),c=n(22759),l=n(34022),h=n(41291),f=n(66682),d=n(22416),p=n(59193),v=n(77393),m=function(){function t(){y(this,t)}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new _(t))}}]),t}(),_=function(t){a(n,t);var e=u(n);function n(){return y(this,n),e.apply(this,arguments)}return g(n,[{key:"_next",value:function(t){}}]),n}(v.L),b=n(39761),k=n(43190),w=n(88002),C=n(87519),x=n(47349),O=n(15257),M=n(45435),S=n(79196),P=n(57057),E=n(68307),A=n(11927),T=n(33770),I=n(57179);function D(t){return new s.y(function(e){if(!t.valueChanges)throw new o.j2;t.valueChanges.pipe((0,b.O)(t.value)).subscribe(e)})}function L(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(0,c.R)(t,e,n)}function N(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return(0,l.z)((0,k.w)(function(){return(0,h.H)(t).pipe((0,w.U)(T.Iy),(0,b.O)(!0))}),(0,C.x)())}function z(t){var e=L(t,"blur"),n=t.ownerDocument;if(!n)throw new o.aq;return(!i||!r)&&(r=L(n,"mouseup",{capture:!0}).pipe(N(),(0,b.O)(!1),(0,x.d)({bufferSize:1,refCount:!0})),i=L(n,"mousedown",{capture:!0}).pipe(N(),(0,b.O)(!1),(0,x.d)({bufferSize:1,refCount:!0}))),(0,f.T)((0,d.z)(L(t,"focus").pipe((0,O.q)(1)),e.pipe((0,M.h)(function(){return!(0,I.V8)(t)}),(0,O.q)(1),function(t){return t.lift(new m)})).pipe((0,S.r)(),(0,P.M)(i,r,function(t,e,n){return e||n}),(0,M.h)(A.Mv))).pipe((0,k.w)(function(){return e.pipe((0,w.U)(T.Iy),(0,O.q)(1),(0,b.O)(!0))}),(0,C.x)())}function F(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Boolean;return(0,l.z)((0,k.w)(function(n){return e(n)?t(n):p.E}))}function R(t){var e,n;return"observed"in t?t.observed:!!(null===(n=null===(e=t)||void 0===e?void 0:e.observers)||void 0===n?void 0:n.length)}function j(t){return t.changes.pipe((0,b.O)(null),(0,w.U)(function(){return(0,A.gD)(t)}))}function B(t){return L(t===t.ownerDocument.documentElement?t.ownerDocument:t,"scroll")}function V(){return(0,E.b)(function(t){t.stopPropagation()})}function Y(t){return(0,E.b)(function(){t.markForCheck()})}function Z(t){return function(e){return new s.y(function(n){return t.runOutsideAngular(function(){return e.subscribe(n)})})}}function q(t){return(0,l.z)(Z(t),function(t){return function(e){return new s.y(function(n){return e.subscribe({next:function(e){return t.run(function(){return n.next(e)})},error:function(e){return t.run(function(){return n.error(e)})},complete:function(){return t.run(function(){return n.complete()})}})})}}(t))}},27103:function(e,n,r){"use strict";r.d(n,{a3:function(){return q},gH:function(){return U},ku:function(){return H},ll:function(){return G},AQ:function(){return X},b0:function(){return J},tl:function(){return $},Fr:function(){return Q},$D:function(){return W}});var i,o=r(74788),s=r(74235),l=r(29856),h=r(41439),f=r(66682),v=r(22759),m=r(97968),_=r(40946),b=r(46782),k=r(87874),w=r(43219),C=r(88002),x=r(39761),O=r(87519),M=r(5304),S=r(54395),P=r(9945),E=r(43190),A=r(47349),T=r(59328),I=r(45435),D=r(62579),L=r(33770),N=r(64493),z=r(12057),F=new o.OlP("Box model to observe changes",{providedIn:"root",factory:function(){return"content-box"}}),R=new o.OlP("Resize Observer API support",{providedIn:"root",factory:function(){return!!(0,o.f3M)(D.m9).ResizeObserver}}),j=((i=function(t){a(n,t);var e=u(n);function n(t,r,i,o){var a,s,u=t.nativeElement;return y(this,n),c(a,(a=e.call(this,function(t){if(i)return(s=new ResizeObserver(function(e){r.run(function(){t.next(e)})})).observe(u,{box:o}),function(){s.disconnect()};t.error("ResizeObserver is not supported in your browser")})).pipe((0,P.B)()))}return g(n)}(l.y)).\u0275fac=function(t){return new(t||i)(o.LFG(o.SBq),o.LFG(o.R0b),o.LFG(R),o.LFG(F))},i.\u0275prov=o.Yz7({token:i,factory:i.\u0275fac}),i),B=r(11927),V=r(97582),Y=r(59178),Z=r(99434),q=function(){var t=function(t){a(n,t);var e=u(n);function n(){return y(this,n),e.call(this,1)}return g(n,[{key:"ngOnDestroy",value:function(){this.next(),this.complete()}}]),n}(s.t);return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t}(),U=function(){var t=function(){function t(e,n){y(this,t),this.resolver=e,this.injector=n,this.map=new Map}return g(t,[{key:"addComponent",value:function(t){this.map.has(t)||this.map.set(t,this.resolver.resolveComponentFactory(t).create(this.injector))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.LFG(o._Vd),o.LFG(o.gxx))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),H=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r,i){var o,a=t.nativeElement;return y(this,n),(o=e.call(this,function(t){return o.focusVisible$.subscribe(t)})).focusVisible$=(0,_.ix)(a).pipe((0,_.NA)(r),(0,b.R)(i)),o}return g(n)}(l.y);return t.\u0275fac=function(e){return new(e||t)(o.LFG(o.SBq),o.LFG(o.sBO),o.LFG(q,2))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t}(),G=function(){var t=function(){function t(){y(this,t)}return g(t,[{key:"generate",value:function(){return"tui_".concat(t.autoId++).concat(Date.now())}}]),t}();return t.autoId=0,t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),J=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r){var i;return y(this,n),(i=e.call(this,function(t){return i.callback$.subscribe(t)})).callback$=(0,h.P)(function(){for(var e=t.nativeElement,n=[r,e];e.parentElement;)e=e.parentElement,n.push(e);return f.T.apply(void 0,d(n.map(function(t){return(0,_.mL)(t,"scroll")})))}),i}return g(n)}(l.y);return t.\u0275fac=function(e){return new(e||t)(o.LFG(o.SBq),o.LFG(D.m9))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t}(),X=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r,i,o,a,s){var u,c=r.nativeElement;return y(this,n),(u=e.call(this,function(t){return u.obscured$.subscribe(t)})).obscured$=(0,f.T)((0,f.T)(t,(0,v.R)(o,"resize")).pipe((0,k.g)(0)),s.pipe((0,w.p)(L.Yg))).pipe((0,C.U)(function(){return(0,N.PU)(c)}),(0,x.O)(null),(0,O.x)(),(0,_.Yr)(i),(0,b.R)(a)),u}return g(n)}(l.y);return t.\u0275fac=function(e){return new(e||t)(o.LFG(J,2),o.LFG(o.SBq),o.LFG(o.R0b),o.LFG(D.m9),o.LFG(q,2),o.LFG(D.L1))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t}(),$=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r,i,o,a,s){var u;return y(this,n),c(u,(u=e.call(this,t,r,o,a)).pipe((0,M.K)(function(){return s.pipe((0,w.p)(L.Yg),(0,C.U)(function(){return"".concat(t.nativeElement.clientWidth," ").concat(t.nativeElement.clientHeight)}),(0,O.x)(),(0,C.U)(function(){return L.LZ}))}),(0,S.b)(0),(0,_.fL)(r),(0,P.B)(),(0,b.R)(i)))}return g(n)}(j);return t.\u0275fac=function(e){return new(e||t)(o.LFG(o.SBq),o.LFG(o.R0b),o.LFG(q,2),o.LFG(R),o.LFG(F),o.LFG(D.L1))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t}(),Q=function(){var e=function(){function e(t,n){y(this,e),this.win=t,this.platformId=n,this.cache=new Map}return g(e,[{key:"request",value:function(e){var n=this,r=this.cache.get(e);if(r)return r;var i=("AbortController"in this.win||(0,z.PM)(this.platformId)?function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.selector,r=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);is||Math.abs(o)>s)&&u1}var c=/^((?!chrome|android).)*safari/i,l=n(11927),h=n(64493),f=n(26215),d=n(41291),v=n(66682),g=n(25917),m=n(97968),y=n(59193),_=n(43190),b=n(88002),k=n(39761),w=n(9945),C=n(45435),x=n(46782),O=n(72361),M=n(57057),S=n(15257),P=n(87519),E=n(47349),A=n(79221),T=n(33770),I=(0,l.N1)(function(){var t={onRemovalComplete:function(){}},e=new f.X(null),n=(0,i.f3M)(A.Th,i.XFs.Optional)||t,r=n.onRemovalComplete,o=void 0===r?t.onRemovalComplete:r;return n.onRemovalComplete=function(t,r){e.next(t),o.call(n,t,r)},e.pipe((0,_.w)(function(t){return(0,d.H)(0).pipe((0,b.U)(function(){return null}),(0,k.O)(t))}),(0,w.B)())});function D(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,h.Wf)(t).activeElement!==t&&!t.matches(":disabled")&&!(null==e?void 0:e.contains(t))}var L=(0,l.N1)(function(){var t=(0,i.f3M)(I),e=(0,i.f3M)(o.m9),n=(0,i.f3M)(r.K0),s=(0,a.mL)(e,"focusout"),u=(0,a.mL)(e,"focusin"),c=(0,a.mL)(e,"blur"),l=(0,a.mL)(e,"mousedown"),f=(0,a.mL)(e,"mouseup");return(0,v.T)(s.pipe((0,x.R)(l),(0,O.a)(function(){return f}),(0,M.M)(t),(0,C.h)(function(t){var e=p(t,2),n=e[0],r=e[1];return D((0,h.mA)(n),r)}),(0,b.U)(function(t){return p(t,1)[0].relatedTarget})),c.pipe((0,b.U)(function(){return n.activeElement}),(0,C.h)(function(t){return!!(null==t?void 0:t.matches("iframe"))})),u.pipe((0,_.w)(function(t){var e=(0,h.mA)(t),r=(0,h.Wf)(e);return r===n?(0,g.of)(e):function(t){return(0,v.T)((0,a.mL)(t,"focusin").pipe((0,b.U)(function(t){return t.target})),(0,a.mL)(t,"focusout").pipe((0,C.h)(function(t){var e=t.target;return!!t.relatedTarget&&D(e)}),(0,b.U)(function(t){return t.relatedTarget})))}(r).pipe((0,k.O)(e))})),l.pipe((0,_.w)(function(t){var e=(0,h.mA)(t);return n.activeElement&&n.activeElement!==n.body?s.pipe((0,S.q)(1),(0,b.U)(function(){return e}),(0,x.R)((0,d.H)(0))):(0,g.of)(e)}))).pipe((0,P.x)(),(0,w.B)())}),N=(0,l.JN)([]);function z(t){return{provide:N,multi:!0,useExisting:t}}var F=(0,l.N1)(function(){var t,e;return null!==(e=null===(t=(0,i.f3M)(r.K0).querySelector("base"))||void 0===t?void 0:t.href)&&void 0!==e?e:""}),R=((0,l.N1)(function(){return(0,i.f3M)(i.FYo).createRenderer(null,null)}),(0,l.JN)([]));function j(t){return{provide:R,multi:!0,useExisting:t}}(0,l.N1)(function(){var t,e=null===(t=(0,i.f3M)(r.K0).querySelector("base"))||void 0===t?void 0:t.href;if(e)return e;var n=(0,i.f3M)(r.K0).createElement("a");return n.href="",n.pathname});var B=new i.OlP("[TUI_FOCUSABLE_ITEM_ACCESSOR]");function V(t){return{provide:B,useExisting:t}}var Y=new i.OlP("[TUI_FONTS_READY]",{factory:function(){var t;return(0,m.D)((null===(t=(0,i.f3M)(r.K0).fonts)||void 0===t?void 0:t.ready)||y.E).pipe((0,E.d)({bufferSize:1,refCount:!1}))}}),Z=(0,l.N1)(function(){return u((0,i.f3M)(o.s5))}),q=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/,U=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/,H=(0,l.N1)(function(){return q.test((0,i.f3M)(o.yZ).toLowerCase())||U.test((0,i.f3M)(o.yZ).slice(0,4).toLowerCase())}),G=(0,l.N1)(function(){return(0,i.f3M)(H)&&!(0,i.f3M)(Z)}),J=(0,l.N1)(function(){return u(t=(0,i.f3M)(o.s5))||c.test(t.userAgent.toLowerCase());var t}),X=((0,l.N1)(function(){return!!(0,i.f3M)(o.m9).chrome}),(0,l.N1)(function(){return!!(0,i.f3M)(o.m9).Cypress})),$=(0,l.N1)(T.Iy),Q=(0,l.N1)(function(){return(0,i.f3M)(X)||(0,i.f3M)($)}),W=((0,l.N1)(function(){var t;return void 0!==(null===(t=(0,i.f3M)(o.m9))||void 0===t?void 0:t.mozCancelFullScreen)}),(0,l.N1)(function(){return(0,i.f3M)(o.m9).location.host.endsWith("stackblitz.io")}),(0,l.N1)(function(){var t;return!!(null===(t=(0,i.f3M)(o.m9))||void 0===t?void 0:t.webkitConvertPointFromNodeToPage)}));(0,l.JN)("web"),(0,l.N1)(function(){return(0,r.NF)((0,i.f3M)(i.Lbi))?new Range:{}});var K=(0,l.N1)(function(){return new i.SBq((0,i.f3M)(r.K0).documentElement)}),tt=(0,l.JN)({timeout:500,threshold:30}),et=((0,l.N1)(T.Ye),(0,l.N1)(function(){return(0,i.f3M)(o.m9).matchMedia("(any-pointer: coarse)").matches}),new i.OlP("[TUI_WINDOW_SIZE]",{factory:function(){var t=(0,i.f3M)(o.m9);return(0,a.mL)(t,"resize").pipe((0,k.O)(null),(0,b.U)(function(){var e,n,r=Math.max(t.innerWidth,(null===(e=t.visualViewport)||void 0===e?void 0:e.width)||0),i=Math.max(t.innerHeight,(null===(n=t.visualViewport)||void 0===n?void 0:n.height)||0);return{width:r,height:i,top:0,left:0,right:r,bottom:i}}),(0,E.d)({bufferSize:1,refCount:!0}))}}));(0,l.N1)(function(){return(0,i.f3M)(et).pipe((0,b.U)(function(t){return t.height}))}),(0,l.JN)({wheelSensitivity:.01})},41213:function(t,e,n){"use strict";function r(t){return t.toLowerCase().includes("firefox")}function i(t){var e,n,r,i,o,a,s,u,c=t.ownerDocument,l=null==c?void 0:c.defaultView,h=void 0!==l.safari&&"[object SafariRemoteNotification]"===(null===(n=null===(e=l.safari)||void 0===e?void 0:e.pushNotification)||void 0===n?void 0:n.toString()),f=!!(null===(i=null===(r=l.navigator)||void 0===r?void 0:r.vendor)||void 0===i?void 0:i.includes("Apple"))&&!(null===(a=null===(o=l.navigator)||void 0===o?void 0:o.userAgent)||void 0===a?void 0:a.includes("CriOS"))&&!(null===(u=null===(s=l.navigator)||void 0===s?void 0:s.userAgent)||void 0===u?void 0:u.includes("FxiOS"));return h||f}n.d(e,{oK:function(){return r},Ex:function(){return i}})},64493:function(t,e,n){"use strict";n.d(e,{ty:function(){return o},PP:function(){return a},mA:function(){return c},Wf:function(){return l},PU:function(){return h},YX:function(){return f},Hs:function(){return d},ve:function(){return s},Hn:function(){return p},dW:function(){return u},dD:function(){return v},UP:function(){return g}});var r=n(85648),i=n(11927);function o(t,e,n,r){return n?function(t,e,n){for(var r=t;r!==e.parentElement;){if(Math.floor(r.scrollTop)>0&&!n||Math.ceil(r.scrollTop+r.clientHeight)0&&!n||Math.ceil(r.scrollLeft+r.clientWidth)1&&void 0!==arguments[1])||arguments[1];return null===t?null:e&&t.scrollHeight>t.clientHeight||!e&&t.scrollWidth>t.clientWidth?t:d(t.parentElement,e)}function p(t){return function(t){return function(t){return t.matches("input")}(t)||function(t){return t.matches("textarea")}(t)}(t)&&!t.readOnly||!!t.isContentEditable}function v(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n={x:t,y:e,left:t,right:t,top:e,bottom:e,width:0,height:0};return Object.assign(Object.assign({},n),{toJSON:function(){return n}})}function g(t){return"explicitOriginalTarget"in t?(null==t?void 0:t.explicitOriginalTarget)!==t.target:"pointerId"in t?-1===t.pointerId:"detail"in t&&"webkitForce"in t&&0===(null==t?void 0:t.detail)}n(18939)},57179:function(t,e,n){"use strict";n.d(e,{hp:function(){return a},BW:function(){return c},ie:function(){return o},V8:function(){return l},zb:function(){return h},dT:function(){return s},VR:function(){return f},Pg:function(){return d}});var r=n(64493),i=n(33770);function o(t){var e=t.activeElement;if(!(null==e?void 0:e.shadowRoot))return e;for(var n=e.shadowRoot.activeElement;null==n?void 0:n.shadowRoot;)n=n.shadowRoot.activeElement;return n}function a(t){var e=o(t);(0,r.dW)(e)&&e.blur()}function s(t){if(t.hasAttribute("disabled")||"-1"===t.getAttribute("tabIndex"))return!1;if((0,r.dW)(t)&&t.isContentEditable||"0"===t.getAttribute("tabIndex"))return!0;switch(t.tagName){case"BUTTON":case"SELECT":case"TEXTAREA":return!0;case"VIDEO":case"AUDIO":return t.hasAttribute("controls");case"INPUT":return"hidden"!==t.getAttribute("type");case"A":case"LINK":return t.hasAttribute("href");default:return!1}}function u(t){return!t.hasAttribute("disabled")&&("-1"===t.getAttribute("tabIndex")||s(t))}function c(t){var e=t.initial,n=t.root,o=t.previous,a=void 0!==o&&o,c=t.keyboard,l=void 0===c||c;if(!n.ownerDocument)return null;var h=l?s:u,f=n.ownerDocument.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,i.Lw);for(f.currentNode=e;a?f.previousNode():f.nextNode();)if((0,r.dW)(f.currentNode)&&(e=f.currentNode),(0,r.dW)(e)&&h(e))return e;return null}function l(t){return!!(null==t?void 0:t.ownerDocument)&&o(t.ownerDocument)===t&&t.ownerDocument.hasFocus()}function h(t){if(!t.ownerDocument||!t.contains)return!1;var e=o(t.ownerDocument);return null!==e&&t.contains(e)&&t.ownerDocument.hasFocus()}function f(t,e,n){for(t+=n;t>=0&&t1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(t.ownerDocument){if("function"==typeof Event)t.dispatchEvent(new Event("mousedown",{bubbles:!0,cancelable:!0}));else{var r=t.ownerDocument.createEvent("Event");r.initEvent("mousedown",!0,!0),t.dispatchEvent(r)}e?t.focus({preventScroll:n}):t.blur()}}},75675:function(t,e,n){"use strict";function r(t){return"".concat(t,"px")}n.d(e,{O:function(){return r}}),n(18939)},85648:function(t,e,n){"use strict";function r(t,e,n){return Math.min(n,Math.max(e,t))}function i(t,e,n){return t>=e&&t=n?n:Math.round(t)}function a(t,e,n){if(t===1/0)return t;e=Math.min(e,292);var r="".concat(t,"e").split("e"),i="".concat(n(Number("".concat(r[0],"e").concat(Number(r[1])+e))),"e").split("e");return Number("".concat(i[0],"e").concat(Number(i[1])-e))}function s(t){var e=t.value,n=t.precision;switch(t.method){case"round":return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return a(t,e,Math.round)}(e,n);case"ceil":return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return a(t,e,Math.ceil)}(e,n);case"floor":return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return a(t,e,Math.floor)}(e,n);default:return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return a(t,e,Math.trunc)}(e,n)}}function u(t){return t?1:0}function c(t){return parseInt(t,10)}n.d(e,{Ki:function(){return r},wf:function(){return i},G1:function(){return o},h0:function(){return s},HW:function(){return u},oY:function(){return c}}),n(18939)},11927:function(t,e,n){"use strict";n.d(e,{WX:function(){return i},xT:function(){return a},JN:function(){return s},N1:function(){return u},gD:function(){return c},M8:function(){return l},Mv:function(){return h},dt:function(){return f},Pc:function(){return d},Aj:function(){return o},vK:function(){return p},pf:function(){return v}});var r=n(74788);function i(t,e){return t.slice(0,Math.max(e,0)).concat(t.slice(Math.max(e+1,0)))}function o(t){return"string"==typeof t}function a(t){return JSON.parse(JSON.stringify(t,function(t,e){return function(t){var e=o(t)?t.trim():t;return[void 0,null,NaN,""].includes(e)}(e)?void 0:e}))}function s(t){return u(function(){return t})}function u(t){return new r.OlP("",{factory:t})}function c(t){var e=[];return t.find(function(t,n,r){return e=r,!0}),e}function l(t,e){return Math.abs(e)>Math.abs(t)?e>0?"top":"bottom":t>0?"left":"right"}function h(t){return!t}function f(t){return"number"==typeof t}function d(t){return null!=t}function p(t,e,n){return{provide:t,deps:[[new r.FiY,new r.tp0,t]],useFactory:function(t){return Object.assign(Object.assign({},t||n),e)}}}function v(t,e){return Array.from(t.reduce(function(t,n){return t.has(n[e])?t:t.set(n[e],n)},new Map).values())}},68192:function(t,e,n){"use strict";n.d(e,{N:function(){return i}});var r=n(11927);function i(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Math.floor(Math.random()*Date.now()),n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"rgba(0, 0, 0, 0.7)";if((0,r.Aj)(t)){var i=function(t){var e,n=(null!==(e=t.match(/url\(("?)('*)#(.*?)('*)\)/g))&&void 0!==e?e:[]).map(function(t){return t.slice(4,t.length-1).replace(/['"#]+/g,"")});return Array.from(new Set(n))}(t).reduce(function(t,n){var r=function(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(n),i="id_".concat(e,"_").concat(n);return t.replace(new RegExp('"'.concat(r,'"'),"g"),'"'.concat(i,'"')).replace(new RegExp("'".concat(r,"'"),"g"),"'".concat(i,"'")).replace(new RegExp("url\\('#".concat(r,"'\\)"),"g"),"url('#".concat(i,"')")).replace(new RegExp('url\\("#'.concat(r,'"\\)'),"g"),'url("#'.concat(i,'")')).replace(new RegExp("url\\(#".concat(r,"\\)"),"g"),"url(#".concat(i,")"))},t);return function(t,e){try{var r=(new DOMParser).parseFromString(t,"text/html");return r.body.querySelectorAll("[fill^=url]").forEach(function(t){return t.setAttribute("fill","".concat(t.getAttribute("fill")," ").concat(e).trim())}),r.body.innerHTML.trim()}catch(n){return t}}(i,n)}return t}},43631:function(t,e,n){"use strict";n.d(e,{FP:function(){return b},D1:function(){return k},kk:function(){return f},uG:function(){return w},O4:function(){return O},c2:function(){return v},UK:function(){return p},P7:function(){return x},Ic:function(){return P},Fe:function(){return m},Sv:function(){return S},ei:function(){return C},Wk:function(){return M}});var r=n(74788),i=n(27103),o=n(76480),s=n(29856),c=n(66682),l=n(87519),h=n(46782),f=function(t){a(n,t);var e=u(n);function n(){return y(this,n),e.apply(this,arguments)}return g(n)}(s.y);function p(t){return{provide:f,multi:!0,useExisting:t}}var v=g(function t(){y(this,t)});function m(t){return{provide:v,multi:!0,useExisting:t}}var _,b=((_=function(){function t(e,n,r){y(this,t),this.destroy$=e,this.drivers=n,this.vehicles=r}return g(t,[{key:"ngOnInit",value:function(){var t=this,e=this.vehicles.find(function(e){return e.type===t.type});c.T.apply(void 0,d(this.drivers.filter(function(e){return e.type===t.type}))).pipe((0,l.x)(),(0,h.R)(this.destroy$)).subscribe(function(t){null==e||e.toggle(t)})}}]),t}()).\u0275fac=function(t){return new(t||_)(r.Y36(i.a3,2),r.Y36(f),r.Y36(v))},_.\u0275dir=r.lG2({type:_}),_),k=function(){var t=function(){function t(e){y(this,t),this.host=e}return g(t,[{key:"readOnly",get:function(){return this.host.readOnly}},{key:"disabled",get:function(){return this.host.computedDisabled}},{key:"invalid",get:function(){return this.host.computedInvalid}},{key:"focusable",get:function(){return this.host.computedFocusable}},{key:"inputMode",get:function(){return"text"}},{key:"value",get:function(){var t;return(null===(t=this.host.value)||void 0===t?void 0:t.toString())||""}},{key:"process",value:function(t){}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(o.M$))},t.\u0275dir=r.lG2({type:t}),t}(),w=g(function t(){y(this,t)});function C(t){return{provide:w,deps:[[new r.tp0,w]],useFactory:function(e){return e.find(function(e){return e.type===t})}}}function x(t){return{provide:w,multi:!0,useExisting:t}}var O=g(function t(){y(this,t)});function M(t,e){return{provide:O,deps:[[new r.tp0,O],e],useFactory:S(t)}}function S(t){return function(e,n){return e.find(function(e){return e!==n&&e.type===t})||n}}function P(t){return{provide:O,multi:!0,useExisting:t}}},49941:function(t,e,n){"use strict";n.d(e,{i9:function(){return c},QF:function(){return u},eu:function(){return s},Gw:function(){return l},X9:function(){return h}});var r=n(56083),i="{{duration}}ms ease-in-out",o={params:{duration:300}},a=300,s=(0,r.X$)("tuiHeightCollapse",[(0,r.eR)(":enter",[(0,r.oB)({height:0}),(0,r.jt)(i,(0,r.oB)({height:"*"}))],o),(0,r.eR)(":leave",[(0,r.oB)({height:"*"}),(0,r.jt)(i,(0,r.oB)({height:0}))],o)]),u=((0,r.X$)("tuiHeightCollapseList",[(0,r.eR)("* => *",[(0,r.IO)(":enter",[(0,r.oB)({height:0}),(0,r.EY)(a,[(0,r.jt)(i,(0,r.oB)({height:"*"}))])],{optional:!0}),(0,r.IO)(":leave",[(0,r.oB)({height:"*"}),(0,r.EY)(a,[(0,r.jt)(i,(0,r.oB)({height:0}))])],{optional:!0})],o)]),(0,r.X$)("tuiWidthCollapse",[(0,r.eR)(":enter",[(0,r.oB)({width:0}),(0,r.jt)(i,(0,r.oB)({width:"*"}))],o),(0,r.eR)(":leave",[(0,r.oB)({width:"*"}),(0,r.jt)(i,(0,r.oB)({width:0}))],o)]),(0,r.X$)("tuiWidthCollapseList",[(0,r.eR)("* => *",[(0,r.IO)(":enter",[(0,r.oB)({width:0}),(0,r.EY)(a,[(0,r.jt)(i,(0,r.oB)({width:"*"}))])],{optional:!0}),(0,r.IO)(":leave",[(0,r.oB)({width:"*"}),(0,r.EY)(a,[(0,r.jt)(i,(0,r.oB)({width:0}))])],{optional:!0})],o)]),(0,r.X$)("tuiFadeIn",[(0,r.eR)(":enter",[(0,r.oB)({opacity:0}),(0,r.jt)(i,(0,r.oB)({opacity:1}))],o),(0,r.eR)(":leave",[(0,r.oB)({opacity:1}),(0,r.jt)(i,(0,r.oB)({opacity:0}))],o)])),c=((0,r.X$)("tuiFadeInList",[(0,r.eR)("* => *",[(0,r.IO)(":enter",[(0,r.oB)({opacity:0}),(0,r.EY)(a,[(0,r.jt)(i,(0,r.oB)({opacity:1}))])],{optional:!0}),(0,r.IO)(":leave",[(0,r.oB)({opacity:1}),(0,r.EY)(a,[(0,r.jt)(i,(0,r.oB)({opacity:0}))])],{optional:!0})],o)]),(0,r.X$)("tuiFadeInTop",[(0,r.eR)(":enter",[(0,r.oB)({transform:"translateY(-10px)",opacity:0}),(0,r.jt)(i,(0,r.oB)({transform:"translateY(0)",opacity:1}))],o),(0,r.eR)(":leave",[(0,r.oB)({transform:"translateY(0)",opacity:1}),(0,r.jt)(i,(0,r.oB)({transform:"translateY(-10px)",opacity:0}))],o)]),(0,r.X$)("tuiFadeInBottom",[(0,r.eR)(":enter",[(0,r.oB)({transform:"translateY(10px)",opacity:0}),(0,r.jt)(i,(0,r.oB)({transform:"translateY(0)",opacity:1}))],o),(0,r.eR)(":leave",[(0,r.oB)({transform:"translateY(0)",opacity:1}),(0,r.jt)(i,(0,r.oB)({transform:"translateY(10px)",opacity:0}))],o)]),(0,r.X$)("tuiDropdownAnimation",[(0,r.eR)(":enter",[(0,r.oB)({transform:"translateY(-10px)",opacity:0}),(0,r.jt)(i,(0,r.oB)({transform:"translateY(0)",opacity:1}))],o),(0,r.eR)(":leave",[(0,r.oB)({transform:"translateY(0)",opacity:1}),(0,r.jt)(i,(0,r.oB)({transform:"translateY(-10px)",opacity:0}))],o)])),l=((0,r.X$)("tuiScaleIn",[(0,r.eR)(":enter",[(0,r.oB)({transform:"scale(0)"}),(0,r.jt)(i,(0,r.oB)({transform:"scale(1)"}))],o),(0,r.eR)(":leave",[(0,r.oB)({transform:"scale(1)"}),(0,r.jt)(i,(0,r.oB)({transform:"scale(0)"}))],o)]),(0,r.X$)("tuiPop",[(0,r.eR)(":enter",[(0,r.oB)({transform:"scale(0)"}),(0,r.jt)(i,(0,r.oB)({transform:"scale(1.1)"})),(0,r.jt)(i,(0,r.oB)({transform:"scale(1)"}))],o),(0,r.eR)(":leave",[(0,r.oB)({transform:"scale(1)"}),(0,r.jt)(i,(0,r.oB)({transform:"scale(1.1)"})),(0,r.jt)(i,(0,r.oB)({transform:"scale(0)"}))],o)]),(0,r.X$)("tuiScaleInList",[(0,r.eR)("* => *",[(0,r.IO)(":enter",[(0,r.oB)({transform:"scale(0)"}),(0,r.EY)(a,[(0,r.jt)(i,(0,r.oB)({transform:"scale(1)"}))])],{optional:!0}),(0,r.IO)(":leave",[(0,r.oB)({transform:"scale(1)"}),(0,r.EY)(a,[(0,r.jt)(i,(0,r.oB)({transform:"scale(0)"}))])],{optional:!0})],o)]),(0,r.X$)("tuiSlideIn",[(0,r.eR)("* => left",[(0,r.oB)({transform:"translateX(-100%)"}),(0,r.jt)(i,(0,r.oB)({transform:"translateX(0)"}))],o),(0,r.eR)("left => *",[(0,r.oB)({transform:"translateX(0)"}),(0,r.jt)(i,(0,r.oB)({transform:"translateX(-100%)"}))],o),(0,r.eR)("* => right",[(0,r.oB)({transform:"translateX(100%)"}),(0,r.jt)(i,(0,r.oB)({transform:"translateX(0)"}))],o),(0,r.eR)("right => *",[(0,r.oB)({transform:"translateX(0)"}),(0,r.jt)(i,(0,r.oB)({transform:"translateX(100%)"}))],o)])),h=((0,r.X$)("tuiSlideInLeft",[(0,r.eR)(":enter",[(0,r.oB)({transform:"translateX(-100%)"}),(0,r.jt)(i,(0,r.oB)({transform:"translateX(0)"}))],o),(0,r.eR)(":leave",[(0,r.oB)({transform:"translateX(0)"}),(0,r.jt)(i,(0,r.oB)({transform:"translateX(-100%)"}))],o)]),(0,r.X$)("tuiSlideInLeftList",[(0,r.eR)("* => *",[(0,r.IO)(":enter",[(0,r.oB)({transform:"translateX(-100%)"}),(0,r.EY)(a,[(0,r.jt)(i,(0,r.oB)({transform:"translateX(0)"}))])],{optional:!0}),(0,r.IO)(":leave",[(0,r.oB)({transform:"translateX(0)"}),(0,r.EY)(a,[(0,r.jt)(i,(0,r.oB)({transform:"translateX(-100%)"}))])],{optional:!0})],o)]),(0,r.X$)("tuiSlideInRight",[(0,r.eR)(":enter",[(0,r.oB)({transform:"translateX(100%)"}),(0,r.jt)(i,(0,r.oB)({transform:"translateX(0)"}))],o),(0,r.eR)(":leave",[(0,r.oB)({transform:"translateX(0)"}),(0,r.jt)(i,(0,r.oB)({transform:"translateX(100%)"}))],o)]),(0,r.X$)("tuiSlideInRightList",[(0,r.eR)("* => *",[(0,r.IO)(":enter",[(0,r.oB)({transform:"translateX(100%)"}),(0,r.EY)(a,[(0,r.jt)(i,(0,r.oB)({transform:"translateX(0)"}))])],{optional:!0}),(0,r.IO)(":leave",[(0,r.oB)({transform:"translateX(0)"}),(0,r.EY)(a,[(0,r.jt)(i,(0,r.oB)({transform:"translateX(100%)"}))])],{optional:!0})],o)]),(0,r.X$)("tuiSlideInTop",[(0,r.eR)(":enter",[(0,r.oB)({transform:"translate3d(0,{{start}},0)"}),(0,r.jt)(i,(0,r.oB)({transform:"translate3d(0,{{end}},0)"}))],{params:{end:0,start:"100%",duration:300}}),(0,r.eR)(":leave",[(0,r.oB)({transform:"translate3d(0,{{end}},0)"}),(0,r.jt)(i,(0,r.oB)({transform:"translate3d(0,{{start}},0)"}))],{params:{end:0,start:"100%",duration:300}})]));(0,r.X$)("tuiSlideInTopList",[(0,r.eR)("* => *",[(0,r.IO)(":enter",[(0,r.oB)({transform:"translateY(100%)"}),(0,r.EY)(a,[(0,r.jt)(i,(0,r.oB)({transform:"translateY(0)"}))])],{optional:!0}),(0,r.IO)(":leave",[(0,r.oB)({transform:"translateY(0)"}),(0,r.EY)(a,[(0,r.jt)(i,(0,r.oB)({transform:"translateY(100%)"}))])],{optional:!0})],o)]),(0,r.X$)("tuiSlideInBottom",[(0,r.eR)(":enter",[(0,r.oB)({transform:"translateY(-100%)"}),(0,r.jt)(i,(0,r.oB)({transform:"translateY(0)"}))],o),(0,r.eR)(":leave",[(0,r.oB)({transform:"translateY(0)"}),(0,r.jt)(i,(0,r.oB)({transform:"translateY(-100%)"}))],o)]),(0,r.X$)("tuiSlideInBottomList",[(0,r.eR)("* => *",[(0,r.IO)(":enter",[(0,r.oB)({transform:"translateY(-100%)"}),(0,r.EY)(a,[(0,r.jt)(i,(0,r.oB)({transform:"translateY(0)"}))])],{optional:!0}),(0,r.IO)(":leave",[(0,r.oB)({transform:"translateY(0)"}),(0,r.EY)(a,[(0,r.jt)(i,(0,r.oB)({transform:"translateY(-100%)"}))])],{optional:!0})],o)])},12628:function(t,e,n){"use strict";n.d(e,{v0:function(){return L},fN:function(){return N}});var r=n(74788),i=n(11927),o=n(76480),s=n(57179),c=n(99434),l=n(27103),h=n(75452),f=n(59193),d=n(39761),p=n(88002),v=n(87519),m=n(77320),_=n(54789),b=n(40719),k=n(12057),w=n(91489),C=n(89570),x=["tuiButton",""];function O(t,e){1&t&&r.GkF(0)}function M(t,e){1&t&&r._UZ(0,"tui-svg",8),2&t&&r.Q6J("src",e.polymorpheusOutlet)}function S(t,e){if(1&t&&(r.TgZ(0,"span",6),r.YNc(1,M,1,1,"tui-svg",7),r.qZA()),2&t){var n=r.oxw();r.xp6(1),r.Q6J("polymorpheusOutlet",n.icon)}}function P(t,e){1&t&&r._UZ(0,"tui-svg",8),2&t&&r.Q6J("src",e.polymorpheusOutlet)}function E(t,e){if(1&t&&(r.TgZ(0,"span",9),r.YNc(1,P,1,1,"tui-svg",7),r.qZA()),2&t){var n=r.oxw();r.xp6(1),r.Q6J("polymorpheusOutlet",n.iconRight)}}function A(t,e){if(1&t&&r._UZ(0,"tui-loader",10),2&t){var n=r.oxw();r.Q6J("inheritColor",!0)("size",n.loaderSize)}}var T,I=["*"],D=(0,i.JN)({size:"l",shape:null,appearance:m.Nm.Primary}),L=((T=function(t){a(n,t);var e=u(n);function n(t,r,i){var o,a;return y(this,n),(o=e.call(this)).mode=t,o.el=r,o.options=i,o.mode$=(null===(a=o.mode)||void 0===a?void 0:a.change$)||f.E,o.appearance=null,o.disabled=!1,o.shape=o.options.shape,o.showLoader=!1,o.size=o.options.size,o.appearance$=o.mode$.pipe((0,d.O)(null),(0,p.U)(function(){return o.computedAppearance}),(0,v.x)()),o}return g(n,[{key:"nativeFocusableElement",get:function(){return this.nativeDisabled?null:this.el.nativeElement}},{key:"focused",get:function(){return!this.showLoader&&(0,s.V8)(this.el.nativeElement)}},{key:"loaderSize",get:function(){return"l"===this.size||"xl"===this.size?"m":"s"}},{key:"computedAppearance",get:function(){var t;return null!==(t=this.appearance)&&void 0!==t?t:this.options.appearance||""}},{key:"nativeDisabled",get:function(){return this.computedDisabled||this.showLoader?"":null}},{key:"tabIndex",get:function(){return this.focusable?0:-1}},{key:"onFocused",value:function(t){this.updateFocused(t)}}]),n}(o.Xn)).\u0275fac=function(t){return new(t||T)(r.Y36(h.w,8),r.Y36(r.SBq),r.Y36(D))},T.\u0275cmp=r.Xpm({type:T,selectors:[["button","tuiButton",""],["button","tuiIconButton",""],["a","tuiButton",""],["a","tuiIconButton",""]],hostVars:7,hostBindings:function(t,e){1&t&&r.NdJ("focusin",function(){return e.onFocused(!0)})("focusout",function(){return e.onFocused(!1)}),2&t&&(r.Ikx("tabIndex",e.tabIndex),r.uIk("data-shape",e.shape)("data-size",e.size)("data-appearance",e.computedAppearance)("disabled",e.nativeDisabled),r.ekj("_loading",e.showLoader))},inputs:{appearance:"appearance",disabled:"disabled",icon:"icon",iconRight:"iconRight",shape:"shape",showLoader:"showLoader",size:"size"},features:[r._Bn([(0,c.FT)(T),l.a3]),r.qOj],attrs:x,ngContentSelectors:I,decls:8,vars:10,consts:[[4,"ngIf"],["tuiWrapper","",1,"t-wrapper",3,"active","appearance","disabled","hover"],[1,"t-content"],["class","t-left",4,"ngIf"],["class","t-right",4,"ngIf"],["class","t-loader",3,"inheritColor","size",4,"ngIf"],[1,"t-left"],["class","t-icon",3,"src",4,"polymorpheusOutlet"],[1,"t-icon",3,"src"],[1,"t-right"],[1,"t-loader",3,"inheritColor","size"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,O,1,0,"ng-container",0),r.ALo(1,"async"),r.TgZ(2,"div",1),r.TgZ(3,"span",2),r.YNc(4,S,2,1,"span",3),r.Hsn(5),r.YNc(6,E,2,1,"span",4),r.qZA(),r.YNc(7,A,1,2,"tui-loader",5),r.qZA()),2&t&&(r.Q6J("ngIf",r.lcZ(1,8,e.appearance$)),r.xp6(2),r.Q6J("active",e.pseudoActive)("appearance",e.computedAppearance)("disabled",e.computedDisabled)("hover",e.pseudoHover),r.xp6(2),r.Q6J("ngIf",e.icon),r.xp6(2),r.Q6J("ngIf",e.iconRight),r.xp6(1),r.Q6J("ngIf",e.showLoader))},directives:[k.O5,w.o,C.Li,_.PN,b.kM],pipes:[k.Ov],styles:["[_nghost-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:inline-block;flex-shrink:0;vertical-align:top;border-radius:var(--tui-radius-m);-webkit-user-select:none;-moz-user-select:none;user-select:none;outline:none;color:inherit}[data-shape=rounded][_nghost-%COMP%]{border-radius:6.25rem}[data-size=xs][_nghost-%COMP%]{height:var(--tui-height-xs);font-weight:normal}[data-size=xs][data-shape=square][_nghost-%COMP%], [data-size=xs][tuiIconButton][_nghost-%COMP%]{width:var(--tui-height-xs)}[data-size=s][_nghost-%COMP%]{height:var(--tui-height-s);font-weight:normal}[data-size=s][data-shape=square][_nghost-%COMP%], [data-size=s][tuiIconButton][_nghost-%COMP%]{width:var(--tui-height-s)}[data-size=m][_nghost-%COMP%]{height:var(--tui-height-m);font:var(--tui-font-text-m);font-weight:bold}[data-size=m][data-shape=square][_nghost-%COMP%], [data-size=m][tuiIconButton][_nghost-%COMP%]{width:var(--tui-height-m)}[data-size=l][_nghost-%COMP%]{height:var(--tui-height-l);font:var(--tui-font-text-m);font-weight:bold}[data-size=l][data-shape=square][_nghost-%COMP%], [data-size=l][tuiIconButton][_nghost-%COMP%]{width:var(--tui-height-l)}[data-size=xl][_nghost-%COMP%]{height:3.75rem;font:var(--tui-font-text-m);font-weight:bold}[data-size=xl][data-shape=square][_nghost-%COMP%], [data-size=xl][tuiIconButton][_nghost-%COMP%]{width:3.75rem}[tuiIconButton][_nghost-%COMP%]{font-size:0!important}[tuiIconButton][_nghost-%COMP%] .t-left[_ngcontent-%COMP%], [tuiIconButton][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{margin:0!important}.t-loader[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;cursor:default}.t-left[_ngcontent-%COMP%]{margin-right:.5rem}[data-size=s][_nghost-%COMP%] .t-left[_ngcontent-%COMP%]{margin-right:.375rem}[data-size=xs][_nghost-%COMP%] .t-left[_ngcontent-%COMP%]{margin-right:.25rem}.t-right[_ngcontent-%COMP%]{margin:0 -.25rem 0 .25rem}[data-size=s][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{margin:0 -.25rem 0 .375rem}[data-size=xs][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{margin:0 -.125rem 0 .25rem}.t-icon[_ngcontent-%COMP%]{display:flex;max-width:100%;max-height:100%;align-items:center;justify-content:center}.t-left[_ngcontent-%COMP%], .t-right[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem}[data-size=s][_nghost-%COMP%] .t-left[_ngcontent-%COMP%], [data-size=s][_nghost-%COMP%] .t-right[_ngcontent-%COMP%], [data-size=xs][_nghost-%COMP%] .t-left[_ngcontent-%COMP%], [data-size=xs][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{width:1rem;height:1rem}[tuiIconButton][data-appearance=icon][data-size=s][_nghost-%COMP%] .t-left[_ngcontent-%COMP%], [tuiIconButton][data-appearance=icon][data-size=s][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem}.t-wrapper[_ngcontent-%COMP%]{box-sizing:border-box;cursor:pointer;isolation:isolate}[data-size=xs][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, .375rem)}[data-size=xs][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border-width:1px}[data-size=s][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, .75rem)}[data-size=m][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, 1.5rem)}[data-size=l][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, 2.25rem)}[data-size=xl][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, 2.5rem)}[data-shape=square][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%], [tuiIconButton][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0}.t-content[_ngcontent-%COMP%]{display:flex;height:100%;align-items:center;justify-content:center;text-align:center}._loading[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{opacity:0}"],changeDetection:0}),T),N=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[k.ez,C.wq,w.W,_.EI,b.dS]]}),t}()},75111:function(t,e,n){"use strict";n.d(e,{qi:function(){return I},gX:function(){return D},pc:function(){return N},Rs:function(){return L},vK:function(){return T}});var r=n(97582),i=n(74788),o=n(57179),a=n(33770),s=n(40946),u=n(11927),c=n(64493),l=n(44358),h=n(79588),f=n(79456),d=n(88002),p=n(98952),v=n(11557),m=n(54789),_=n(89570),b=n(12057),k=["tuiOption",""];function w(t,e){if(1&t&&(i.ynx(0),i._uU(1),i.BQk()),2&t){var n=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",n,"\n")}}function C(t,e){if(1&t&&i._UZ(0,"tui-svg",3),2&t){var n=i.oxw(2);i.Q6J("src",n.icons.more)}}function x(t,e){if(1&t&&(i.Hsn(0),i.YNc(1,C,1,1,"tui-svg",2)),2&t){var n=i.oxw();i.xp6(1),i.Q6J("ngIf",n.dropdown)}}var O=function(t){return{$implicit:t}},M=["*"];function S(t,e){if(1&t&&(i.ynx(0),i._uU(1),i.BQk()),2&t){var n=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",n," ")}}function P(t,e){if(1&t&&(i.TgZ(0,"div",2),i.YNc(1,S,2,1,"ng-container",3),i.ALo(2,"async"),i.qZA()),2&t){var n=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",n.emptyContent||i.lcZ(2,1,n.defaultEmptyContent$))}}function E(t){var e=t.currentTarget;return!(0,o.V8)(e)}var A,T=((A=function(){function t(e,n,r,i,o,a){y(this,t),this.content=e,this.dataList=n,this.el=r,this.host=i,this.dropdown=o,this.icons=a,this.size=null,this.role="option",this.disabled=!1}return g(t,[{key:"active",get:function(){return!!this.dropdown&&!!this.dropdown.dropdownBoxRef}},{key:"onClick",value:function(){this.host&&void 0!==this.value&&this.host.handleOption(this.value)}},{key:"onMouseMove",value:function(t){t.currentTarget.focus({preventScroll:!0})}},{key:"ngOnDestroy",value:function(){var t;null===(t=this.dataList)||void 0===t||t.handleFocusLossIfNecessary(this.el.nativeElement)}}]),t}()).\u0275fac=function(t){return new(t||A)(i.Y36(f.IQ,8),i.Y36((0,i.Gpc)(function(){return I}),8),i.Y36(i.SBq),i.Y36(f.N1,8),i.Y36(p.td,10),i.Y36(f.Gs))},A.\u0275cmp=i.Xpm({type:A,selectors:[["button","tuiOption",""],["a","tuiOption",""]],hostAttrs:["tabIndex","-1","type","button"],hostVars:5,hostBindings:function(t,e){1&t&&i.NdJ("click",function(){return e.onClick()})("mousemove.silent",function(t){return e.onMouseMove(t)}),2&t&&(i.uIk("disabled",e.disabled||null)("data-size",e.size)("role",e.role),i.ekj("_with-dropdown",e.active))},inputs:{size:"size",role:"role",disabled:"disabled",value:"value"},attrs:k,ngContentSelectors:M,decls:3,vars:4,consts:[[4,"polymorpheusOutlet","polymorpheusOutletContext"],["base",""],["class","t-arrow",3,"src",4,"ngIf"],[1,"t-arrow",3,"src"]],template:function(t,e){if(1&t&&(i.F$t(),i.YNc(0,w,2,1,"ng-container",0),i.YNc(1,x,2,1,"ng-template",null,1,i.W1O)),2&t){var n=i.MAs(2);i.Q6J("polymorpheusOutlet",e.content||n)("polymorpheusOutletContext",i.VKq(2,O,n))}},directives:[_.Li,b.O5,m.PN],styles:['[_nghost-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;justify-content:space-between;text-align:left;color:var(--tui-text-01);border-radius:var(--tui-radius-s);outline:none;cursor:pointer;background-clip:padding-box}[_nghost-%COMP%]:disabled{opacity:var(--tui-disabled-opacity);cursor:default}[_nghost-%COMP%]:focus, ._with-dropdown[_nghost-%COMP%]{background-color:var(--tui-clear)}[_nghost-%COMP%] [data-list-size="s"][_nghost-%COMP%], [data-list-size="s"] [_nghost-%COMP%], [_nghost-%COMP%] [data-list-size="xs"][_nghost-%COMP%], [data-list-size="xs"] [_nghost-%COMP%], [data-size=s][data-size=s][_nghost-%COMP%], [data-size=xs][data-size=xs][_nghost-%COMP%]{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-s);min-height:2rem;padding:.3125rem .5rem}[_nghost-%COMP%] [data-list-size="m"][_nghost-%COMP%], [data-list-size="m"] [_nghost-%COMP%], [data-size=m][data-size=m][_nghost-%COMP%]{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-s);min-height:2.5rem;padding:.375rem .5rem}[_nghost-%COMP%] [data-list-size="l"][_nghost-%COMP%], [data-list-size="l"] [_nghost-%COMP%], [data-size=l][data-size=l][_nghost-%COMP%]{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-m);min-height:2.75rem;padding:.375rem .625rem}.t-arrow[_ngcontent-%COMP%]{margin:0 -.5rem 0 .75rem}'],changeDetection:0}),(0,r.gn)([(0,v.uX)(E)],A.prototype,"onMouseMove",null),A),I=function(){var t=function(){function t(e,n,r){var i;y(this,t),this.controller=e,this.el=n,this.defaultEmptyContent$=r,this.options=a.Mm,this.role="listbox",this.size=(null===(i=this.controller)||void 0===i?void 0:i.size)||"m"}return g(t,[{key:"empty$",get:function(){return(0,s.ll)(this.options).pipe((0,d.U)(function(t){return!t.length}))}},{key:"onFocusIn",value:function(t,e){!e.contains(t)&&!this.origin&&(this.origin=t)}},{key:"noop",value:function(){}},{key:"onKeyDownArrow",value:function(t,e){var n=this.elements;(0,o.VR)(n.indexOf(t),n,e)}},{key:"handleFocusLossIfNecessary",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.el.nativeElement;this.origin&&(0,o.zb)(t)&&(0,o.Pg)(this.origin,!0,!0)}},{key:"getOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.options.filter(function(e){var n=e.disabled;return t||!n}).map(function(t){return t.value}).filter(u.Pc)}},{key:"onFocus",value:function(t,e){var n=t.target;if((0,c.ve)(n)){var r=this.elements;(0,o.VR)(e?-1:r.length,r,e?1:-1),this.handleFocusLossIfNecessary(n)}}},{key:"elements",get:function(){return Array.from(this.el.nativeElement.querySelectorAll("[tuiOption]"))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Y36(h.Cs,8),i.Y36(i.SBq),i.Y36(f.PH))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-data-list"]],contentQueries:function(t,e,n){var r;(1&t&&i.Suo(n,T,5),2&t)&&(i.iGM(r=i.CRH())&&(e.options=r))},hostVars:2,hostBindings:function(t,e){1&t&&i.NdJ("focusin",function(t){return e.onFocusIn(t.relatedTarget,t.currentTarget)})("mousedown.prevent",function(){return e.noop()})("keydown.arrowDown.prevent",function(t){return e.onKeyDownArrow(t.target,1)})("keydown.arrowUp.prevent",function(t){return e.onKeyDownArrow(t.target,-1)})("wheel.silent.passive",function(){return e.handleFocusLossIfNecessary()})("mouseleave",function(t){return e.handleFocusLossIfNecessary(t.target)}),2&t&&i.uIk("role",e.role)("data-list-size",e.size)},inputs:{role:"role",emptyContent:"emptyContent",size:"size"},features:[i._Bn([(0,f.RB)(t),h.Y0])],ngContentSelectors:M,decls:5,vars:3,consts:[["tabindex","0",1,"t-trap",3,"focusin"],["class","t-empty",4,"ngIf"],[1,"t-empty"],[4,"polymorpheusOutlet"]],template:function(t,e){1&t&&(i.F$t(),i.TgZ(0,"div",0),i.NdJ("focusin",function(t){return e.onFocus(t,!0)}),i.qZA(),i.Hsn(1),i.YNc(2,P,3,3,"div",1),i.ALo(3,"async"),i.TgZ(4,"div",0),i.NdJ("focusin",function(t){return e.onFocus(t,!1)}),i.qZA()),2&t&&(i.xp6(2),i.Q6J("ngIf",i.lcZ(3,1,e.empty$)))},directives:[b.O5,_.Li],pipes:[b.Ov],styles:['tui-data-list{--tui-data-list-padding: .25rem;--tui-data-list-margin: .0625rem;display:flex;font:var(--tui-font-text-m);flex-direction:column;padding:calc(var(--tui-data-list-padding) - var(--tui-data-list-margin)) var(--tui-data-list-padding);color:var(--tui-text-03)}tui-data-list:focus-within .t-trap{display:none}tui-data-list:focus-within [tuiOption]._with-dropdown:not(:focus){background-color:transparent}tui-data-list[data-list-size=s]{--tui-data-list-margin: 0rem}tui-data-list[data-list-size=s]>.t-empty{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-s);min-height:2rem;padding:.3125rem .5rem}tui-data-list[data-list-size=m]>.t-empty{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-s);min-height:2.5rem;padding:.375rem .5rem}tui-data-list[data-list-size=l]{--tui-data-list-padding: .375rem;--tui-data-list-margin: .125rem}tui-data-list[data-list-size=l]>.t-empty{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-m);min-height:2.75rem;padding:.375rem .625rem}tui-opt-group{position:relative;display:flex;font:var(--tui-font-text-xs);color:var(--tui-text-02);flex-direction:column;line-height:1rem}tui-data-list[data-list-size=l] tui-opt-group{font:var(--tui-font-text-s);line-height:1.25rem}tui-data-list[data-list-size=l] tui-opt-group:before{padding-left:.625rem;padding-right:.625rem}tui-data-list[data-list-size=l] tui-opt-group:after{left:.625rem;right:.625rem}tui-opt-group:empty:before,tui-opt-group:empty:after{display:none}tui-opt-group:before{content:attr(data-label);padding:var(--tui-data-list-padding) .5rem var(--tui-data-list-padding);margin:var(--tui-data-list-margin) 0;white-space:normal;word-break:break-word}tui-opt-group:after{position:absolute;left:.5rem;right:.5rem;top:var(--tui-data-list-padding);height:1px;background:var(--tui-base-03)}tui-opt-group:not(:empty)~tui-opt-group:before{padding-top:calc(.75rem + var(--tui-data-list-padding))}tui-opt-group:not(:empty)~tui-opt-group[data-label=""]:before,tui-opt-group:not(:empty)~tui-opt-group:not([data-label]):before{padding:var(--tui-data-list-padding) 0}tui-opt-group:not(:empty)~tui-opt-group:after{content:""}tui-opt-group[data-label=""]:before,tui-opt-group:not([data-label]):before{padding:0;margin:0}\n'],encapsulation:2,changeDetection:0}),(0,r.gn)([l.UM],t.prototype,"empty$",null),t}(),D=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["ng-template","tuiDataList",""]]}),t}(),L=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["tui-opt-group"]],hostAttrs:["role","group"],hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("data-label",e.label)},inputs:{label:"label"}}),t}(),N=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[b.ez,m.EI,_.wq]]}),t}()},95974:function(t,e,n){"use strict";n.d(e,{gZ:function(){return u},n6:function(){return c}});var r,i=n(74788),o=n(27103),a=n(12057),s=((r=g(function t(){y(this,t)})).\u0275fac=function(t){return new(t||r)},r.\u0275cmp=i.Xpm({type:r,selectors:[["ng-component"]],hostAttrs:[1,"tui-group-styles"],decls:0,vars:0,template:function(t,e){},styles:[".tui-group{position:relative;display:flex;isolation:isolate}.tui-group>*{flex:1 1 0;min-width:0}.tui-group>*:not(:last-child){margin-right:.125rem}.tui-group.tui-group>*:nth-child(n){border-radius:0}.tui-group_collapsed>*{z-index:1}.tui-group_collapsed>*:not(:last-child){margin-right:-1px}.tui-group_collapsed>*._readonly,.tui-group_collapsed>*._disabled,.tui-group_collapsed>*._readonly:hover,.tui-group_collapsed>*._disabled:hover{z-index:0}.tui-group_collapsed>*:hover,.tui-group_collapsed>*._hovered,.tui-group_collapsed>*._pressed{z-index:3}.tui-group_collapsed>*._invalid{z-index:2}.tui-group_collapsed>*._invalid:hover,.tui-group_collapsed>*._invalid._hovered,.tui-group_collapsed>*._invalid._pressed{z-index:4}.tui-group_collapsed>*._hosted_dropdown_focused,.tui-group_collapsed>*._focus-visible,.tui-group_collapsed>*._focused.ng-touched,.tui-group_collapsed>*._focused.ng-untouched{z-index:5}.tui-group_collapsed>*._active,.tui-group_collapsed>*[data-appearance=whiteblock-active]{z-index:6}.tui-group_collapsed>*._focus-visible._focused,.tui-group_collapsed>*._focus-visible._active,.tui-group_collapsed>*._focus-visible[data-appearance=whiteblock-active]{z-index:7}.tui-group_orientation_vertical{display:inline-flex;flex-direction:column}.tui-group_orientation_vertical>*{min-height:auto;flex:0 0 auto}.tui-group_orientation_vertical>*:not(:last-child){margin-right:0;margin-bottom:.125rem}.tui-group_orientation_vertical.tui-group_collapsed>*:not(:last-child){margin-right:0;margin-bottom:-1px}.tui-group_rounded.tui-group_orientation_horizontal>*:first-child{border-top-left-radius:var(--tui-radius-m);border-bottom-left-radius:var(--tui-radius-m)}.tui-group_rounded.tui-group_orientation_horizontal>*:last-child{border-top-right-radius:var(--tui-radius-m);border-bottom-right-radius:var(--tui-radius-m)}.tui-group_rounded.tui-group_orientation_horizontal.tui-group_radius_large>*:first-child{border-top-left-radius:var(--tui-radius-l);border-bottom-left-radius:var(--tui-radius-l)}.tui-group_rounded.tui-group_orientation_horizontal.tui-group_radius_large>*:last-child{border-top-right-radius:var(--tui-radius-l);border-bottom-right-radius:var(--tui-radius-l)}.tui-group_rounded.tui-group_orientation_vertical>*:first-child{border-top-left-radius:var(--tui-radius-m);border-top-right-radius:var(--tui-radius-m)}.tui-group_rounded.tui-group_orientation_vertical>*:last-child{border-bottom-left-radius:var(--tui-radius-m);border-bottom-right-radius:var(--tui-radius-m)}.tui-group_rounded.tui-group_orientation_vertical.tui-group_radius_large>*:first-child{border-top-left-radius:var(--tui-radius-l);border-top-right-radius:var(--tui-radius-l)}.tui-group_rounded.tui-group_orientation_vertical.tui-group_radius_large>*:last-child{border-bottom-left-radius:var(--tui-radius-l);border-bottom-right-radius:var(--tui-radius-l)}@media screen and (max-width: 47.9625em){.tui-group_rounded.tui-group_adaptive.tui-group_orientation_vertical:not(.tui-group_collapsed)>*:first-child:not(:last-child),.tui-group_rounded.tui-group_adaptive.tui-group_orientation_horizontal>*:first-child:not(:last-child),.tui-group_rounded.tui-group_adaptive.tui-group_orientation_vertical:not(.tui-group_collapsed)>*:last-child:not(:first-child),.tui-group_rounded.tui-group_adaptive.tui-group_orientation_horizontal>*:last-child:not(:first-child){border-radius:var(--tui-radius-m)}}@media screen and (max-width: 47.9625em){.tui-group_rounded.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical:not(.tui-group_collapsed)>*:first-child:not(:last-child),.tui-group_rounded.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal>*:first-child:not(:last-child),.tui-group_rounded.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical:not(.tui-group_collapsed)>*:last-child:not(:first-child),.tui-group_rounded.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal>*:last-child:not(:first-child){border-radius:var(--tui-radius-l)}}@media screen and (max-width: 47.9625em){.tui-group_adaptive.tui-group_orientation_vertical{width:100%}.tui-group_adaptive.tui-group_orientation_vertical>*:nth-child(n):not(:only-child){border-radius:var(--tui-radius-m)}.tui-group_adaptive.tui-group_orientation_vertical>*:not(:last-child){margin-bottom:1rem}.tui-group_adaptive.tui-group_orientation_vertical.tui-group_collapsed>*:nth-child(n):not(:only-child){border-radius:0}.tui-group_adaptive.tui-group_orientation_vertical.tui-group_collapsed>*:first-child:not(:last-child){border-radius:var(--tui-radius-m) var(--tui-radius-m) 0 0}.tui-group_adaptive.tui-group_orientation_vertical.tui-group_collapsed>*:last-child:not(:first-child){border-radius:0 0 var(--tui-radius-m) var(--tui-radius-m)}.tui-group_adaptive.tui-group_orientation_vertical.tui-group_collapsed>*:not(:last-child){margin-bottom:-1px}}@media screen and (max-width: 47.9625em){.tui-group_adaptive.tui-group_orientation_horizontal{flex-direction:column;width:100%}.tui-group_adaptive.tui-group_orientation_horizontal>*:nth-child(n):not(:only-child){border-radius:var(--tui-radius-m)}.tui-group_adaptive.tui-group_orientation_horizontal>*:not(:last-child){margin-right:0;margin-bottom:1rem}.tui-group_adaptive.tui-group_orientation_horizontal.tui-group_collapsed>*:nth-child(n):not(:only-child){border-radius:0}.tui-group_adaptive.tui-group_orientation_horizontal.tui-group_collapsed>*:first-child:not(:last-child){border-radius:var(--tui-radius-m) var(--tui-radius-m) 0 0}.tui-group_adaptive.tui-group_orientation_horizontal.tui-group_collapsed>*:last-child:not(:first-child){border-radius:0 0 var(--tui-radius-m) var(--tui-radius-m)}.tui-group_adaptive.tui-group_orientation_horizontal.tui-group_collapsed>*:not(:last-child){margin-right:0;margin-bottom:-1px}}@media screen and (max-width: 47.9625em){.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical>*:nth-child(n):not(:only-child){border-radius:var(--tui-radius-l)}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical.tui-group_collapsed>*:nth-child(n):not(:only-child){border-radius:0}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical.tui-group_collapsed>*:first-child:not(:last-child){border-radius:var(--tui-radius-l) var(--tui-radius-l) 0 0}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical.tui-group_collapsed>*:last-child:not(:first-child){border-radius:0 0 var(--tui-radius-l) var(--tui-radius-l)}}@media screen and (max-width: 47.9625em){.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal>*:nth-child(n):not(:only-child){border-radius:var(--tui-radius-l)}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal.tui-group_collapsed>*:nth-child(n):not(:only-child){border-radius:0}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal.tui-group_collapsed>*:first-child:not(:last-child){border-radius:var(--tui-radius-l) var(--tui-radius-l) 0 0}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal.tui-group_collapsed>*:last-child:not(:first-child){border-radius:0 0 var(--tui-radius-l) var(--tui-radius-l)}}.tui-group__auto-width-item{min-width:auto;flex:0 0 auto}.tui-group .tui-group__inherit-item{border-radius:inherit}\n"],encapsulation:2,changeDetection:0}),r),u=function(){var t=function(){function t(e){y(this,t),this.orientation="horizontal",this.adaptive=!1,this.collapsed=!1,this.rounded=!0,this.size="m",e.addComponent(s)}return g(t,[{key:"orientationHorizontal",get:function(){return"horizontal"===this.orientation}},{key:"orientationVertical",get:function(){return"vertical"===this.orientation}},{key:"sizeLarge",get:function(){return"l"===this.size}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Y36(o.gH))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiGroup","",5,"ng-container"]],hostAttrs:["role","group",1,"tui-group"],hostVars:12,hostBindings:function(t,e){2&t&&i.ekj("tui-group_adaptive",e.adaptive)("tui-group_collapsed",e.collapsed)("tui-group_rounded",e.rounded)("tui-group_orientation_horizontal",e.orientationHorizontal)("tui-group_orientation_vertical",e.orientationVertical)("tui-group_radius_large",e.sizeLarge)},inputs:{orientation:"orientation",adaptive:"adaptive",collapsed:"collapsed",rounded:"rounded",size:"size"}}),t}(),c=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[a.ez]]}),t}()},23917:function(t,e,n){"use strict";n.d(e,{o1:function(){return Q},jh:function(){return W}});var r,i=n(74788),o=n(43631),s=n(221),c=n(40946),l=n(27103),h=n(79765),f=n(88002),d=((r=function(){function t(e,n){y(this,t),this.enabled$=new h.xQ;var r=n.pipe((0,f.U)(function(t){return!!t&&(!e||!t.length||t.every(function(t){return!e.contains(t)}))}));this.tuiObscured=this.enabled$.pipe((0,c.Xd)(function(){return r}))}return g(t,[{key:"tuiObscuredEnabled",set:function(t){this.enabled$.next(t)}}]),t}()).\u0275fac=function(t){return new(t||r)(i.Y36(s.e,8),i.Y36(l.AQ,2))},r.\u0275dir=i.lG2({type:r,selectors:[["","tuiObscured",""]],inputs:{tuiObscuredEnabled:"tuiObscuredEnabled"},outputs:{tuiObscured:"tuiObscured"},features:[i._Bn([l.AQ,l.b0,l.a3])]}),r),v=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t}(),m=n(92668),_=n(64493),b=n(57179),k=n(99434),w=n(98952),C=n(45435),x=n(46782),O=n(43190),M=n(87874),S=n(13653),P=n(87519),E=n(9945),A=n(26215),T=n(9112),I=n(25917),D=n(59193),L=n(66682),N=n(97582),z=n(66640),F=n(11557),R=n(89570),j=n(12057),B=["wrapper"];function V(t,e){if(1&t&&(i.TgZ(0,"div",8),i._uU(1),i.qZA()),2&t){var n=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",n," ")}}var Y=function(t,e){return{$implicit:t,close:e}};function Z(t,e){if(1&t){var n=i.EpF();i.TgZ(0,"div",5,6),i.NdJ("keydown",function(t){return i.CHM(n),i.oxw(2).onKeydown(t)}),i.YNc(2,V,2,1,"div",7),i.qZA(),i._UZ(3,"div")}if(2&t){i.oxw();var r=i.MAs(1),o=i.oxw();i.xp6(2),i.Q6J("polymorpheusOutlet",o.content)("polymorpheusOutletContext",i.WLB(2,Y,r,o.close))}}function q(t,e){if(1&t){var n=i.EpF();i.TgZ(0,"div",1,2),i.NdJ("tuiActiveZoneChange",function(t){return i.CHM(n),i.oxw().onActiveZone(t)})("tuiObscured",function(t){return i.CHM(n),i.oxw().onHostObscured(t)}),i.Hsn(2),i.YNc(3,Z,4,5,"ng-template",3,4,i.W1O),i.qZA()}if(2&t){var r=e.tuiLet,o=i.MAs(4),a=i.oxw();i.Q6J("tuiDropdown",o)("tuiDropdownManual",r&&a.canOpen)("tuiDropdownSided",a.sided)("tuiObscuredEnabled",r),i.xp6(3),i.Q6J("polymorpheus",a.context)}}var U=["*"],H=function(){var t,e=function(t){a(n,t);var e=u(n);function n(){var t;return y(this,n),(t=e.apply(this,arguments)).type="dummy",t}return g(n,[{key:"getPosition",value:function(){return[0,0]}}]),n}(o.uG);return e.\u0275fac=function(n){return(t||(t=i.n5z(e)))(n||e)},e.\u0275dir=i.lG2({type:e,selectors:[["","tuiAccessorProxy",""]],features:[i._Bn([{provide:o.uG,multi:!0,deps:[[new i.FiY,new i.tp0,e],e],useFactory:function(t,e){return t||e}}]),i.qOj]}),e}(),G=new i.OlP("[TUI_HOSTED_DROPDOWN_COMPONENT]"),J=function(){var t=g(function t(e,n,r,i){y(this,t),null==i||i.tuiDropdownOpenChange.pipe((0,C.h)(function(t){return t&&i.dropdown===r&&!n.focused}),(0,x.R)(e)).subscribe(function(){var t;null===(t=n.nativeFocusableElement)||void 0===t||t.focus(),n.updateOpen(!0)})});return t.\u0275fac=function(e){return new(e||t)(i.Y36(l.a3,2),i.Y36(G),i.Y36(w.td,2),i.Y36(w.oH,8))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiDropdownOpenMonitor",""]],features:[i._Bn([l.a3])]}),t}(),X=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiHostedDropdownHost",""]]}),t}();function $(t){var e;return"key"in t&&"escape"===t.key.toLowerCase()&&this.canOpen&&this.open&&!(null===(e=this.dropdown)||void 0===e?void 0:e.nextElementSibling)}var Q=function(){var t=function(){function t(e,n){var r=this;y(this,t),this.hover$=e,this.el=n,this.openChange$=new A.X(!1),this.hostHover$=(0,T.aj)([(0,c.mL)(this.el.nativeElement,"mouseover").pipe((0,f.U)(function(t){return r.computedHost.contains((0,_.mA)(t))}),(0,O.w)(function(t){var e,n;return(0,I.of)(t).pipe((0,M.g)((t?null===(e=r.hover$)||void 0===e?void 0:e.showDelay:null===(n=r.hover$)||void 0===n?void 0:n.hideDelay)||0))})),this.hover$||D.E]).pipe((0,f.U)(function(t){var e=p(t,2),n=e[0],r=e[1];return n&&r})),this.sided=!1,this.canOpen=!0,this.open$=(0,L.T)(this.openChange$,this.hostHover$).pipe((0,S.T)(1),(0,P.x)(),(0,E.B)()),this.focusedChange=new i.vpe,this.focus$=new A.X(!1),this.openChange=this.openChange$,this.close=function(){return r.updateOpen(!1)}}return g(t,[{key:"open",get:function(){return this.openChange.value},set:function(t){this.openChange.next(t)}},{key:"host",get:function(){var t;return(null===(t=this.dropdownHost)||void 0===t?void 0:t.nativeElement)||this.el.nativeElement}},{key:"computedHost",get:function(){var t;return(null===(t=this.dropdownHost)||void 0===t?void 0:t.nativeElement)||this.nativeFocusableElement||this.el.nativeElement}},{key:"dropdown",get:function(){var t,e;return null===(e=null===(t=this.dropdownDirective)||void 0===t?void 0:t.dropdownBoxRef)||void 0===e?void 0:e.location.nativeElement}},{key:"nativeFocusableElement",get:function(){return(0,b.dT)(this.host)?this.host:(0,b.BW)({initial:this.host,root:this.el.nativeElement})}},{key:"focused",get:function(){return(0,b.zb)(this.host)||this.open&&!!this.wrapper&&(0,b.zb)(this.wrapper.nativeElement)}},{key:"onFocusInOut",value:function(){this.focus$.next(this.focused)}},{key:"onFocusIn",value:function(t){this.computedHost.contains(t)||this.updateOpen(!1)}},{key:"onClick",value:function(t){var e;!this.hostEditable&&this.computedHost.contains(t)&&!(null===(e=this.hover$)||void 0===e?void 0:e.hovered)&&this.updateOpen(!this.open)}},{key:"onKeyDownEsc",value:function(t){t.preventDefault(),this.closeDropdown()}},{key:"onArrow",value:function(t,e){this.focusDropdown(t,e)}},{key:"onKeydown",value:function(t){var e=t.key,n=t.target;!t.defaultPrevented&&(0,z.kL)(e)&&this.hostEditable&&(0,_.dW)(n)&&!(0,_.Hn)(n)&&this.focusHost()}},{key:"onActiveZone",value:function(t){this.updateFocused(t),t||this.updateOpen(!1)}},{key:"onHostObscured",value:function(t){t&&this.closeDropdown()}},{key:"updateOpen",value:function(t){(!t||this.canOpen)&&(this.open=t)}},{key:"hostEditable",get:function(){return(0,_.Hn)(this.computedHost)}},{key:"focusDropdown",value:function(t,e){var n=this.nativeFocusableElement;if(n&&(0,_.dW)(n)&&(0,_.ve)(t.target)&&n.contains(t.target)){if(!(this.wrapper&&this.open&&this.dropdown&&(0,_.dW)(this.wrapper.nativeElement.nextElementSibling)))return this.updateOpen(!0),void((0,_.Hn)(n)||t.preventDefault());var r=(0,b.BW)({initial:e?this.wrapper.nativeElement:this.wrapper.nativeElement.nextElementSibling,root:this.wrapper.nativeElement,previous:!e});!r||(r.focus(),t.preventDefault())}}},{key:"closeDropdown",value:function(){this.focused&&this.focusHost(),this.updateOpen(!1)}},{key:"focusHost",value:function(){var t=this.nativeFocusableElement;t&&t.focus({preventScroll:!0})}},{key:"updateFocused",value:function(t){this.focusedChange.emit(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Y36(w.E$,10),i.Y36(i.SBq))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-hosted-dropdown"]],contentQueries:function(t,e,n){var r;(1&t&&i.Suo(n,X,5,i.SBq),2&t)&&(i.iGM(r=i.CRH())&&(e.dropdownHost=r.first))},viewQuery:function(t,e){var n;(1&t&&(i.Gf(B,5,i.SBq),i.Gf(w.td,5),i.Gf(s.e,5)),2&t)&&(i.iGM(n=i.CRH())&&(e.wrapper=n.first),i.iGM(n=i.CRH())&&(e.dropdownDirective=n.first),i.iGM(n=i.CRH())&&(e.activeZone=n.first))},hostVars:1,hostBindings:function(t,e){1&t&&i.NdJ("$.class._hosted_dropdown_focused",function(){return e.focus$})("focusin.capture.silent",function(){return e.onFocusInOut()})("focusout.capture.silent",function(){return e.onFocusInOut()})("focusin",function(t){return e.onFocusIn(t.target)})("click",function(t){return e.onClick(t.target)})("keydown.silent.capture",function(t){return e.onKeyDownEsc(t)},!1,i.evT)("keydown.arrowDown",function(t){return e.onArrow(t,!0)})("keydown.arrowUp",function(t){return e.onArrow(t,!1)}),2&t&&i.Ikx("$.class._hosted_dropdown_focused",e.focus$)},inputs:{content:"content",sided:"sided",canOpen:"canOpen",open:"open"},outputs:{open$:"openChange",focusedChange:"focusedChange"},features:[i._Bn([(0,k.FT)(t),{provide:H,deps:[[new i.FiY,new i.PiD,o.uG]],useFactory:function(t){return null==t?void 0:t[0]}},{provide:G,useExisting:t}])],ngContentSelectors:U,decls:2,vars:3,consts:[["tuiAccessorProxy","","tuiDropdownOpenMonitor","","class","t-wrapper",3,"tuiDropdown","tuiDropdownManual","tuiDropdownSided","tuiObscuredEnabled","tuiActiveZoneChange","tuiObscured",4,"tuiLet"],["tuiAccessorProxy","","tuiDropdownOpenMonitor","",1,"t-wrapper",3,"tuiDropdown","tuiDropdownManual","tuiDropdownSided","tuiObscuredEnabled","tuiActiveZoneChange","tuiObscured"],["activeZone","tuiActiveZone"],[3,"polymorpheus"],["dropdown","polymorpheus"],[1,"t-dropdown",3,"keydown"],["wrapper",""],["class","t-primitive",4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-primitive"]],template:function(t,e){var n;(1&t&&(i.F$t(),i.YNc(0,q,5,5,"div",0),i.ALo(1,"async")),2&t)&&i.Q6J("tuiLet",null!==(n=i.lcZ(1,1,e.open$))&&void 0!==n?n:e.openChange.value)},directives:[m.Ls,H,J,w.td,w.VC,w.Tp,w.Cw,s.e,d,R.GL,R.Li],pipes:[j.Ov],styles:["[_nghost-%COMP%]{display:inline-flex}.t-wrapper[_ngcontent-%COMP%]{border-radius:inherit;height:inherit;flex:1 1 auto;width:100%}.t-dropdown[_ngcontent-%COMP%]{height:100%}.t-primitive[_ngcontent-%COMP%]{padding:1rem}"],changeDetection:0}),(0,N.gn)([(0,F.uX)($)],t.prototype,"onKeyDownEsc",null),t}(),W=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[j.ez,R.wq,m.WD,v,s.A,w.dp]]}),t}()},82847:function(t,e,n){"use strict";n.d(e,{V:function(){return w},j:function(){return C}});var r=n(74788),i=n(40946),o=n(33770),a=n(57179),s=n(27103),u=n(99434),c=n(12130),l=n(79456),h=n(66682),f=n(88002),d=n(54789),p=n(12057),v=["tuiLink",""];function m(t,e){if(1&t&&r._UZ(0,"tui-svg",3),2&t){var n=r.oxw();r.Q6J("src",n.icon||"")}}function _(t,e){if(1&t&&r._UZ(0,"tui-svg",4),2&t){var n=r.oxw();r.Q6J("src",n.icon||"")}}var b,k=["*"],w=((b=function(){function t(e,n,r){var a=this;y(this,t),this.el=e,this.mode$=n,this.pseudo=!1,this.icon="",this.iconAlign="right",this.iconRotated=!1,this.mode=null,this.focusVisible=!1,this.focusedChange=(0,h.T)((0,i.mL)(this.el.nativeElement,"focusin").pipe((0,f.U)(o.Ye)),(0,i.mL)(this.el.nativeElement,"focusout").pipe((0,f.U)(o.Iy))),r.subscribe(function(t){a.focusVisible=t})}return g(t,[{key:"nativeFocusableElement",get:function(){return this.el.nativeElement}},{key:"focused",get:function(){return(0,a.V8)(this.nativeFocusableElement)}},{key:"hasIcon",get:function(){return!!this.icon}},{key:"iconAlignLeft",get:function(){return this.hasIcon&&"left"===this.iconAlign}},{key:"iconAlignRight",get:function(){return this.hasIcon&&"right"===this.iconAlign}}]),t}()).\u0275fac=function(t){return new(t||b)(r.Y36(r.SBq),r.Y36(l.Au),r.Y36(s.ku))},b.\u0275cmp=r.Xpm({type:b,selectors:[["a","tuiLink",""],["button","tuiLink",""]],hostVars:7,hostBindings:function(t,e){1&t&&r.NdJ("$.data-mode.attr",function(){return e.mode$}),2&t&&(r.uIk("data-host-mode",e.mode),r.ekj("_pseudo",e.pseudo)("_icon-rotated",e.iconRotated)("_focus-visible",e.focusVisible))},inputs:{pseudo:"pseudo",icon:"icon",iconAlign:"iconAlign",iconRotated:"iconRotated",mode:"mode"},exportAs:["tuiLink"],features:[r._Bn([(0,u.FT)(b),s.ku,s.a3,c.CV])],attrs:v,ngContentSelectors:k,decls:4,vars:2,consts:[["class","t-icon t-icon_left",3,"src",4,"ngIf"],[1,"t-content"],["class","t-icon t-icon_right",3,"src",4,"ngIf"],[1,"t-icon","t-icon_left",3,"src"],[1,"t-icon","t-icon_right",3,"src"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,m,1,1,"tui-svg",0),r.TgZ(1,"span",1),r.Hsn(2),r.qZA(),r.YNc(3,_,1,1,"tui-svg",2)),2&t&&(r.Q6J("ngIf",e.iconAlignLeft),r.xp6(3),r.Q6J("ngIf",e.iconAlignRight))},directives:[p.O5,d.PN],styles:["[_nghost-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;transition-property:color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;color:var(--tui-link);text-align:left;text-transform:inherit;font-weight:inherit;cursor:pointer;outline:none}[_nghost-%COMP%]:hover{color:var(--tui-link-hover)}[_nghost-%COMP%]:disabled{opacity:var(--tui-disabled-opacity);cursor:default}[data-mode=onLight][_nghost-%COMP%]{color:var(--tui-text-02)}[data-mode=onLight][_nghost-%COMP%]:hover, [data-mode=onLight]._active[_nghost-%COMP%]{color:var(--tui-text-01)}[data-mode=onLight]._pseudo[_nghost-%COMP%]{color:var(--tui-text-01)}[data-mode=onLight]._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{-webkit-text-decoration-color:rgba(0,0,0,.48);text-decoration-color:#0000007a}[data-mode=onLight]._pseudo[_nghost-%COMP%]:hover, [data-mode=onLight]._pseudo._active[_nghost-%COMP%]{color:var(--tui-text-03)}[data-mode=onLight][data-host-mode=negative][_nghost-%COMP%]{color:var(--tui-negative-night)}[data-mode=onLight][data-host-mode=negative][_nghost-%COMP%]:hover, [data-mode=onLight][data-host-mode=negative][_nghost-%COMP%]:active, [data-mode=onLight][data-host-mode=negative]._active[_nghost-%COMP%]{color:var(--tui-negative-night-hover)}[data-mode=onDark][_nghost-%COMP%]{color:var(--tui-text-03-night)}[data-mode=onDark][_nghost-%COMP%]:hover, [data-mode=onDark][_nghost-%COMP%]:active, [data-mode=onDark]._active[_nghost-%COMP%]{color:var(--tui-text-01-night)}[data-mode=onDark]._pseudo[_nghost-%COMP%]{color:var(--tui-text-01-night)}[data-mode=onDark]._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{-webkit-text-decoration-color:rgba(255,255,255,.48);text-decoration-color:#ffffff7a}[data-mode=onDark]._pseudo[_nghost-%COMP%]:hover, [data-mode=onDark]._pseudo[_nghost-%COMP%]:active, [data-mode=onDark]._pseudo._active[_nghost-%COMP%]{color:var(--tui-text-03-night)}[data-mode=onDark][data-host-mode=positive][_nghost-%COMP%]{color:var(--tui-positive-night)}[data-mode=onDark][data-host-mode=positive][_nghost-%COMP%]:hover, [data-mode=onDark][data-host-mode=positive][_nghost-%COMP%]:active, [data-mode=onDark][data-host-mode=positive]._active[_nghost-%COMP%]{color:var(--tui-positive-night-hover)}[data-host-mode=negative][_nghost-%COMP%]{color:var(--tui-negative)}[data-host-mode=negative][_nghost-%COMP%]:hover{color:var(--tui-negative-hover)}[data-host-mode=negative]._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{-webkit-text-decoration-color:rgba(222,76,30,.48);text-decoration-color:#de4c1e7a}[data-host-mode=positive][_nghost-%COMP%]{color:var(--tui-positive)}[data-host-mode=positive][_nghost-%COMP%]:hover{color:var(--tui-positive-hover)}[data-host-mode=positive]._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{-webkit-text-decoration-color:rgba(58,169,129,.48);text-decoration-color:#3aa9817a}._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-selection)}[data-mode=onLight]._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-clear);color:var(--tui-text-01)}[data-mode=onDark]._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-clear-inverse);color:var(--tui-text-01-night)}[data-host-mode=positive]._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-success-bg)}[data-host-mode=negative]._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-error-bg)}._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding-bottom:.15em;-webkit-text-decoration:underline dashed rgba(51,111,238,.48);text-decoration:underline dashed rgba(51,111,238,.48);text-underline-offset:.2em;text-decoration-thickness:.7px}.t-icon[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:var(--tui-link-icon-size, 1.5rem);height:var(--tui-link-icon-size, 1.5rem);margin-top:-.125rem}.t-icon_left[_ngcontent-%COMP%]{margin-right:.25rem}.t-icon_right[_ngcontent-%COMP%]{margin-left:.25rem}._icon-rotated[_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{transform:rotate(180deg)}"],changeDetection:0}),b),C=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[p.ez,d.EI]]}),t}()},40719:function(t,e,n){"use strict";n.d(e,{kM:function(){return _},dS:function(){return b}});var r=n(12057),i=n(74788),o=n(11927),a=n(41213),s=n(57179),u=n(99434),c=n(66640),l=n(89570);function h(t,e){if(1&t&&(i.ynx(0),i._uU(1),i.BQk()),2&t){var n=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",n," ")}}function f(t,e){if(1&t&&(i.O4$(),i.kcU(),i.TgZ(0,"div",6),i.YNc(1,h,2,1,"ng-container",7),i.qZA()),2&t){var n=i.oxw(2);i.ekj("t-text_horizontal",n.isHorizontal),i.xp6(1),i.Q6J("polymorpheusOutlet",n.textContent)}}function d(t,e){if(1&t&&(i.TgZ(0,"div",2),i.O4$(),i.TgZ(1,"svg",3),i._UZ(2,"circle",4),i.qZA(),i.YNc(3,f,2,3,"div",5),i.qZA()),2&t){var n=i.oxw();i.ekj("t-loader_horizontal",n.isHorizontal)("t-loader_inherit-color",n.inheritColor),i.uIk("data-size",n.size),i.xp6(3),i.Q6J("ngIf",n.hasText)}}var p,v=["*"],m=(0,o.JN)({size:"m",inheritColor:!1,overlay:!1}),_=((p=function(){function t(e,n,r,i){y(this,t),this.doc=e,this.el=n,this.isIos=r,this.options=i,this.size=this.options.size,this.inheritColor=this.options.inheritColor,this.overlay=this.options.overlay,this.loading=!0,this.isApple=(0,a.Ex)(this.el.nativeElement)||this.isIos}return g(t,[{key:"showLoader",set:function(t){t&&this.focused&&(0,s.hp)(this.doc),this.loading=t}},{key:"hasOverlay",get:function(){return this.overlay&&this.loading}},{key:"hasText",get:function(){return!!this.textContent}},{key:"isHorizontal",get:function(){return!(0,c.R9)(this.size)}},{key:"focused",get:function(){return(0,s.zb)(this.el.nativeElement)}}]),t}()).\u0275fac=function(t){return new(t||p)(i.Y36(r.K0),i.Y36(i.SBq),i.Y36(u.FA),i.Y36(m))},p.\u0275cmp=i.Xpm({type:p,selectors:[["tui-loader"]],hostVars:2,hostBindings:function(t,e){2&t&&i.ekj("_loading",e.loading)},inputs:{size:"size",inheritColor:"inheritColor",overlay:"overlay",textContent:"textContent",showLoader:"showLoader"},ngContentSelectors:v,decls:3,vars:7,consts:[[1,"t-content",3,"disabled"],["class","t-loader",3,"t-loader_horizontal","t-loader_inherit-color",4,"ngIf"],[1,"t-loader"],["automation-id","tui-loader__loader","focusable","false","viewBox","0 0 100 100","xmlns","http://www.w3.org/2000/svg",1,"t-icon"],["cx","50","cy","50","r","50","stroke-dasharray","314",1,"t-circle"],["automation-id","tui-loader__text","class","t-text",3,"t-text_horizontal",4,"ngIf"],["automation-id","tui-loader__text",1,"t-text"],[4,"polymorpheusOutlet"]],template:function(t,e){1&t&&(i.F$t(),i.TgZ(0,"fieldset",0),i.Hsn(1),i.qZA(),i.YNc(2,d,4,6,"div",1)),2&t&&(i.ekj("t-content_has-overlay",e.hasOverlay)("t-content_loading",e.loading),i.Q6J("disabled",e.loading&&!e.isApple),i.uIk("inert",e.loading||null),i.xp6(2),i.Q6J("ngIf",e.loading))},directives:[r.O5,l.Li],styles:["@keyframes tuiLoaderDashOffset{0%{stroke-dashoffset:-66}50%{stroke-dashoffset:-314}to{stroke-dashoffset:-66}}@keyframes tuiLoaderRotate{0%{transform:rotate(0)}50%{transform:rotate(1turn)}to{transform:rotate(3turn)}}[_nghost-%COMP%]{position:relative;display:flex;min-width:1.5rem}._loading[_nghost-%COMP%]{overflow:hidden}.t-content[_ngcontent-%COMP%]{z-index:0;min-width:100%;height:100%;padding:0;margin:0;border:none}.t-content_has-overlay[_ngcontent-%COMP%]{opacity:.3}.t-content_loading[_ngcontent-%COMP%]{pointer-events:none}.t-loader[_ngcontent-%COMP%]{position:relative;left:-100%;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:100%;flex-shrink:0;align-self:center;color:var(--tui-text-01);stroke:var(--tui-primary);animation:tuiFadeIn var(--tui-duration)}.t-loader.t-loader_horizontal[_ngcontent-%COMP%]{flex-direction:row}.t-loader.t-loader_inherit-color[_ngcontent-%COMP%]{color:inherit;stroke:currentColor}.t-loader[data-size=xs][_ngcontent-%COMP%]{font-size:.75rem;stroke-width:38}.t-loader[data-size=s][_ngcontent-%COMP%]{font-size:1rem;stroke-width:25}.t-loader[data-size=m][_ngcontent-%COMP%]{font-size:1.5rem;stroke-width:17}.t-loader[data-size=l][_ngcontent-%COMP%]{font-size:2.5rem;stroke-width:15}.t-loader[data-size=xl][_ngcontent-%COMP%]{font-size:3.5rem;stroke-width:14}.t-loader[data-size=xxl][_ngcontent-%COMP%]{font-size:5rem;stroke-width:10}.t-text[_ngcontent-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1rem;color:inherit;max-width:100%;text-align:center;stroke-width:0}.t-text_horizontal[_ngcontent-%COMP%]{margin:0 0 0 1rem}.t-icon[_ngcontent-%COMP%]{display:block;min-width:1em;max-width:1em;min-height:1em;max-height:1em;margin:.25rem -.5em;border-radius:100%;overflow:hidden;transform:scaleY(-1);animation:tuiLoaderRotate 3s linear infinite}@supports (-webkit-hyphens: none){.t-icon[_ngcontent-%COMP%]{overflow:visible}}.t-circle[_ngcontent-%COMP%]{fill:none;stroke:inherit;stroke-width:inherit;animation:tuiLoaderDashOffset 3s linear infinite}"],changeDetection:0}),p),b=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[r.ez,l.wq]]}),t}()},60885:function(t,e,n){"use strict";n.d(e,{L:function(){return m},H:function(){return _}});var r=n(74788),i=n(40946),o=n(79456),a=n(54789),s=n(12628),u=n(12057),c=n(89570);function l(t,e){1&t&&r._UZ(0,"tui-svg",4),2&t&&r.Q6J("src",e.polymorpheusOutlet)}var h=function(t){return{$implicit:t}};function f(t,e){if(1&t&&(r.ynx(0),r.YNc(1,l,1,1,"tui-svg",3),r.BQk()),2&t){var n=r.oxw();r.xp6(1),r.Q6J("polymorpheusOutlet",n.icon)("polymorpheusOutletContext",r.VKq(2,h,n.status))}}function d(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"button",5),r.NdJ("click",function(){return r.CHM(n),r.oxw().close.emit()}),r.ALo(1,"async"),r.qZA()}if(2&t){var i=r.oxw();r.Q6J("icon",i.icons.close)("title",r.lcZ(1,2,i.closeWord$))}}var p,v=["*"],m=((p=function(){function t(e,n,i){y(this,t),this.closeWord$=e,this.icons=n,this.options=i,this.hasIcon=this.options.hasIcon,this.icon=this.options.icon,this.status=this.options.status,this.size=this.options.size,this.hideClose=!1,this.close=new r.vpe}return g(t,[{key:"hasClose",get:function(){return!this.hideClose&&(0,i.fw)(this.close)}}]),t}()).\u0275fac=function(t){return new(t||p)(r.Y36(o.U0),r.Y36(o.Gs),r.Y36(o.Ln))},p.\u0275cmp=r.Xpm({type:p,selectors:[["tui-notification"]],hostVars:2,hostBindings:function(t,e){2&t&&r.uIk("data-status",e.status)("data-size",e.size)},inputs:{hasIcon:"hasIcon",icon:"icon",status:"status",size:"size",hideClose:"hideClose"},outputs:{close:"close"},ngContentSelectors:v,decls:4,vars:2,consts:[[4,"ngIf"],[1,"t-content"],["appearance","icon","automation-id","tui-notification__close","size","xs","tuiIconButton","","type","button","class","t-close",3,"icon","title","click",4,"ngIf"],["automation-id","tui-notification__icon","class","t-icon",3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-notification__icon",1,"t-icon",3,"src"],["appearance","icon","automation-id","tui-notification__close","size","xs","tuiIconButton","","type","button",1,"t-close",3,"icon","title","click"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,f,2,4,"ng-container",0),r.TgZ(1,"div",1),r.Hsn(2),r.qZA(),r.YNc(3,d,2,4,"button",2)),2&t&&(r.Q6J("ngIf",e.icon&&e.hasIcon),r.xp6(3),r.Q6J("ngIf",e.hasClose))},directives:[u.O5,c.Li,a.PN,s.v0],pipes:[u.Ov],styles:["[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:flex;padding:.75rem 1rem;border-radius:var(--tui-radius-m);background:#fff;background:var(--tui-base-01);box-sizing:border-box;overflow:hidden}[data-size=s][_nghost-%COMP%]{padding:.375rem .625rem}[data-size=s][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1rem;height:1.25rem;margin:0 .375rem 0 -.125rem}[data-size=s][_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{margin:-.125rem -.375rem -.125rem .75rem}[data-size=m][_nghost-%COMP%]{padding:.75rem}[data-size=m][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1.25rem;height:1.25rem;margin-right:.5rem}[data-size=m][_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{margin:-.125rem -.125rem -.125rem 1rem}[data-size=l][_nghost-%COMP%]{padding:1rem;font:var(--tui-font-text-m);border-radius:var(--tui-radius-l)}[data-size=l][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem;margin-right:.5rem}[data-status=info][_nghost-%COMP%]{color:var(--tui-info-fill);background:linear-gradient(var(--tui-info-bg),var(--tui-info-bg)),var(--tui-base-01)}[data-status=success][_nghost-%COMP%]{color:var(--tui-success-fill);background:linear-gradient(var(--tui-success-bg),var(--tui-success-bg)),var(--tui-base-01)}[data-status=error][_nghost-%COMP%]{color:var(--tui-error-fill);background:linear-gradient(var(--tui-error-bg),var(--tui-error-bg)),var(--tui-base-01)}[data-status=warning][_nghost-%COMP%]{color:var(--tui-warning-fill);background:linear-gradient(var(--tui-warning-bg),var(--tui-warning-bg)),var(--tui-base-01)}[data-status=neutral][_nghost-%COMP%]{color:var(--tui-neutral-fill);background:linear-gradient(var(--tui-neutral-bg),var(--tui-neutral-bg)),var(--tui-base-01)}.t-content[_ngcontent-%COMP%]{flex:1;word-wrap:break-word;overflow-wrap:anywhere;color:var(--tui-text-01)}"],changeDetection:0}),p),_=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[u.ez,a.EI,s.fN,c.wq]]}),t}()},94853:function(t,e,n){"use strict";n.d(e,{iQ:function(){return st},yc:function(){return ut},B1:function(){return ct},KW:function(){return ht},MB:function(){return lt}});var r,i=n(97582),o=n(74788),s=n(27103),c=((r=g(function t(){y(this,t)})).\u0275fac=function(t){return new(t||r)},r.\u0275cmp=o.Xpm({type:r,selectors:[["ng-component"]],hostAttrs:[1,"tui-autofilled-styles"],decls:0,vars:0,template:function(t,e){},styles:[".tui-autofill input,input.tui-autofill{transition:box-shadow .01s}\n"],encapsulation:2,changeDetection:0}),r),l=function(){var t=function(){function t(e){y(this,t),this.autofilled=!1,this.tuiAutofilledChange=new o.vpe,e.addComponent(c)}return g(t,[{key:"transitionStartHandler",value:function(t){var e,n=t.propertyName,r=t.target;n.includes("box-shadow")&&(null===(e=r)||void 0===e?void 0:e.matches("input"))&&(this.autofilled=!this.autofilled,this.tuiAutofilledChange.emit(this.autofilled))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(s.gH))},t.\u0275dir=o.lG2({type:t,selectors:[["","tuiAutofilledChange",""]],hostAttrs:[1,"tui-autofill"],hostVars:2,hostBindings:function(t,e){1&t&&o.NdJ("transitionstart",function(t){return e.transitionStartHandler(t)}),2&t&&o.ekj("_autofilled",e.autofilled)},outputs:{tuiAutofilledChange:"tuiAutofilledChange"}}),t}(),h=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({}),t}(),f=n(13633),d=n(99434),p=n(76480),v=n(57179),m=n(64493),_=n(44358),b=n(90022),k=n(79588),w=n(66640),C=n(89570),x=n(26215),O=n(66682),M=n(22759),S=n(87874),P=n(45435),E=n(88002),A=n(87519),T=n(54789),I=n(77320),D=n(1515),L=n(12057),N=n(91489),z=n(87862),F=n(79456),R=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.lG2({type:t,selectors:[["input","tuiMaskAccessor",""]],features:[o._Bn([{provide:z.JU,deps:[[new o.FiY,F.sE],z.Fj],multi:!0,useFactory:function(t,e){return t?t[0]:e}}])]}),t}(),j=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({}),t}(),B=n(43631),V=["pre"],Y=["focusableElement"];function Z(t,e){1&t&&o.GkF(0)}function q(t,e){1&t&&o.GkF(0)}function U(t,e){1&t&&(o.TgZ(0,"div",17),o.Hsn(1,2),o.qZA())}function H(t,e){1&t&&o._UZ(0,"tui-svg",20),2&t&&o.Q6J("src",e.polymorpheusOutlet)}var G=function(t){return{$implicit:t}};function J(t,e){if(1&t&&(o.TgZ(0,"div",18),o.YNc(1,H,1,1,"tui-svg",19),o.qZA()),2&t){var n=o.oxw();o.xp6(1),o.Q6J("polymorpheusOutlet",n.iconLeftContent)("polymorpheusOutletContext",o.VKq(2,G,n.size))}}function X(t,e){if(1&t&&(o.TgZ(0,"label",21),o.Hsn(1,3),o.qZA()),2&t){var n=o.oxw();o.ekj("t-placeholder_raised",n.placeholderRaised),o.Q6J("for",n.computedId)}}function $(t,e){1&t&&o._UZ(0,"tui-svg",24),2&t&&o.Q6J("src",e.polymorpheusOutlet)}function Q(t,e){if(1&t&&(o.TgZ(0,"div",22),o.YNc(1,$,1,1,"tui-svg",23),o.qZA()),2&t){var n=o.oxw();o.xp6(1),o.Q6J("polymorpheusOutlet",n.controller.customContent)}}function W(t,e){1&t&&o._UZ(0,"tui-svg",27),2&t&&o.Q6J("src",e.polymorpheusOutlet)}function K(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"span",25),o.NdJ("click.stop",function(){return o.CHM(n),o.oxw().clear()}),o.YNc(1,W,1,1,"tui-svg",26),o.qZA()}if(2&t){var r=o.oxw();o.xp6(1),o.Q6J("polymorpheusOutlet",r.iconCleaner||r.controller.options.iconCleaner)("polymorpheusOutletContext",o.VKq(2,G,r.size))}}function tt(t,e){if(1&t&&o._UZ(0,"tui-tooltip",28),2&t){var n=o.oxw();o.Q6J("content",null==n.hintOptions?null:n.hintOptions.content)("describeId",n.computedId)}}function et(t,e){1&t&&o._UZ(0,"tui-svg",20),2&t&&o.Q6J("src",e.polymorpheusOutlet)}function nt(t,e){if(1&t&&(o.TgZ(0,"div",29),o.YNc(1,et,1,1,"tui-svg",19),o.qZA()),2&t){var n=o.oxw();o.xp6(1),o.Q6J("polymorpheusOutlet",n.iconContent)("polymorpheusOutletContext",o.VKq(2,G,n.size))}}var rt=[[["input"]],[["select"]],[["tuiContent"]],"*"],it=["input","select","tuiContent","*"],ot=["tuiTextfield",""],at=function(){var t=function(){function t(e,n){var r=this;y(this,t),this.textfield=e,this.fontsReady$=n,this.prefix$=new x.X(""),this.pre$=(0,O.T)(this.fontsReady$,this.prefix$).pipe((0,S.g)(0),(0,P.h)(function(){var t;return!!(null===(t=r.pre)||void 0===t?void 0:t.nativeElement.isConnected)}),(0,E.U)(function(){var t;return(null===(t=r.pre)||void 0===t?void 0:t.nativeElement.offsetWidth)||0}),(0,A.x)())}return g(t,[{key:"isContextTable",get:function(){return this.textfield.appearance===I.Nm.Table}},{key:"value",get:function(){return this.textfield.value}},{key:"filler",get:function(){var t=this.focused,e=this.placeholder,n=this.exampleText,r=this.value,i=this.textfield;return e&&n?"":t?n||i.filler.slice(r.length):""}},{key:"prefix",get:function(){return this.decorationsVisible?this.textfield.prefix:""}},{key:"postfix",get:function(){return this.decorationsVisible?this.computedPostfix:""}},{key:"ngDoCheck",value:function(){this.prefix$.next(this.prefix)}},{key:"placeholder",get:function(){var t;return(null===(t=this.textfield.nativeFocusableElement)||void 0===t?void 0:t.placeholder)||""}},{key:"exampleText",get:function(){return!this.value&&this.focused?this.placeholder:""}},{key:"decorationsVisible",get:function(){return!!this.value||this.focused&&!this.placeholder}},{key:"focused",get:function(){return this.textfield.computedFocused&&!this.textfield.readOnly}},{key:"computedPostfix",get:function(){return this.textfield.postfix&&(this.filler||this.value)?" ".concat(this.textfield.postfix):this.textfield.postfix}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(d.KZ),o.Y36(d.tS))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-value-decoration"]],viewQuery:function(t,e){var n;(1&t&&o.Gf(V,7,o.SBq),2&t)&&(o.iGM(n=o.CRH())&&(e.pre=n.first))},hostVars:4,hostBindings:function(t,e){1&t&&o.NdJ("animationstart",function(){return e.ngDoCheck()}),2&t&&o.ekj("_table",e.isContextTable)("_filler",e.filler)},decls:5,vars:4,consts:[[1,"t-prefix",3,"textContent"],["pre",""],[1,"t-ghost",3,"textContent"],[1,"t-filler",3,"textContent"],[1,"t-postfix",3,"textContent"]],template:function(t,e){1&t&&(o._UZ(0,"span",0,1),o._UZ(2,"span",2),o._UZ(3,"span",3),o._UZ(4,"span",4)),2&t&&(o.Q6J("textContent",e.prefix),o.xp6(2),o.Q6J("textContent",e.value),o.xp6(1),o.Q6J("textContent",e.filler),o.xp6(1),o.Q6J("textContent",e.postfix))},styles:['[_nghost-%COMP%]{position:absolute;display:block;width:100%;line-height:var(--tui-height);margin-top:calc(var(--tui-height) / -2);box-sizing:content-box;color:var(--tui-text-03);animation:tuiPresent 1s;white-space:nowrap}._table[_nghost-%COMP%]{position:static;margin-top:0}._filler[_nghost-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}tui-primitive-textfield [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]{color:var(--tui-text-03-night)}tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]{line-height:calc(var(--tui-height) - .25rem)}.t-ghost[_ngcontent-%COMP%]{visibility:hidden;white-space:pre;text-overflow:clip}.t-prefix[_ngcontent-%COMP%], .t-postfix[_ngcontent-%COMP%]{white-space:pre;color:var(--tui-text-01)}tui-primitive-textfield [tuiWrapper][data-mode="onDark"][_nghost-%COMP%] .t-prefix[_ngcontent-%COMP%], tui-primitive-textfield [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%] .t-prefix[_ngcontent-%COMP%], tui-primitive-textfield [tuiWrapper][data-mode="onDark"][_nghost-%COMP%] .t-postfix[_ngcontent-%COMP%], tui-primitive-textfield [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%] .t-postfix[_ngcontent-%COMP%]{color:var(--tui-text-01-night)}.t-filler[_ngcontent-%COMP%]{max-width:100%;white-space:nowrap}']}),t}(),st={s:1.25,m:1.75,l:2.25},ut=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r,i,a){var s;return y(this,n),(s=e.call(this)).controller=t,s.hintOptions=r,s.options=i,s.el=a,s.editable=!0,s.textfieldFiller="",s.iconCleaner=s.options.iconCleaner,s.readOnly=!1,s.invalid=!1,s.disabled=!1,s.textfieldPrefix="",s.textfieldPostfix="",s.value="",s.valueChange=new o.vpe,s.autofilled=!1,s}return g(n,[{key:"prefix",get:function(){return this.textfieldPrefix||this.controller.prefix}},{key:"postfix",get:function(){return this.textfieldPostfix||this.controller.postfix}},{key:"filler",get:function(){return this.textfieldFiller||this.controller.filler}},{key:"nativeFocusableElement",get:function(){if(this.computedDisabled||!this.focusableElement)return null;var t=this.focusableElement.nativeElement;return t.previousElementSibling||t}},{key:"focused",get:function(){return(0,v.zb)(this.el.nativeElement)}},{key:"appearance",get:function(){return this.controller.appearance}},{key:"size",get:function(){return this.controller.size}},{key:"computedInvalid",get:function(){return!this.readOnly&&!this.disabled&&this.invalid}},{key:"inputHidden",get:function(){var t;return!!(null===(t=this.content)||void 0===t?void 0:t.length)}},{key:"hasValue",get:function(){return!!this.value}},{key:"hasCleaner",get:function(){return this.controller.cleaner&&this.hasValue&&!this.computedDisabled&&!this.readOnly}},{key:"hasTooltip",get:function(){var t;return!!(null===(t=this.hintOptions)||void 0===t?void 0:t.content)&&!this.computedDisabled}},{key:"hasCustomContent",get:function(){return!!this.controller.customContent}},{key:"placeholderVisible",get:function(){var t,e=((null===(t=this.nativeFocusableElement)||void 0===t?void 0:t.placeholder)||this.prefix||this.postfix||this.filler)&&!this.readOnly&&this.computedFocused;return!this.hasValue&&!e}},{key:"hasPlaceholder",get:function(){return this.placeholderRaisable||this.placeholderVisible}},{key:"placeholderRaised",get:function(){return this.placeholderRaisable&&(this.computedFocused&&!this.readOnly||this.hasValue||this.autofilled)}},{key:"borderStart",get:function(){return this.iconLeftContent?this.iconPaddingLeft:0}},{key:"borderEnd",get:function(){return(0,w._X)(!!this.iconContent,this.hasCleaner,this.hasTooltip,this.hasCustomContent,this.size)}},{key:"iconContent",get:function(){return this.controller.icon}},{key:"iconLeftContent",get:function(){return this.controller.iconLeft}},{key:"showHint",get:function(){var t;return!!(null===(t=this.hintOptions)||void 0===t?void 0:t.content)&&(this.options.hintOnDisabled||!this.computedDisabled)}},{key:"name",get:function(){var t;return"cc-exp"===(null===(t=this.nativeFocusableElement)||void 0===t?void 0:t.autocomplete)?"ccexpiryyear":null}},{key:"computedId",get:function(){var t;return(null===(t=this.nativeFocusableElement)||void 0===t?void 0:t.id)||""}},{key:"onFocused",value:function(t){this.updateFocused(t)}},{key:"getIndent$",value:function(t){return(0,M.R)(t,"scroll").pipe((0,E.U)(function(){return-1*Math.max(t.scrollLeft,0)}))}},{key:"clear",value:function(){this.nativeFocusableElement&&(this.nativeFocusableElement.value=""),this.updateValue("")}},{key:"onMouseDown",value:function(t){var e=this.nativeFocusableElement;!e||t.target===e||(t.preventDefault(),e.focus())}},{key:"onModelChange",value:function(t){this.updateValue(t)}},{key:"onAutofilled",value:function(t){this.updateAutofilled(t)}},{key:"detectRetargetFromLabel",value:function(t){(0,m.UP)(t)&&t.stopImmediatePropagation()}},{key:"iconPaddingLeft",get:function(){return st[this.size]}},{key:"placeholderRaisable",get:function(){return"s"!==this.size&&!this.controller.labelOutside}},{key:"updateAutofilled",value:function(t){this.autofilled!==t&&(this.autofilled=t)}},{key:"updateValue",value:function(t){this.value=t,this.valueChange.emit(t)}}]),n}(p.Xn);return t.\u0275fac=function(e){return new(e||t)(o.Y36(k.Cs),o.Y36(b.bZ,8),o.Y36(k.z1),o.Y36(o.SBq))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-primitive-textfield"]],contentQueries:function(t,e,n){var r;(1&t&&o.Suo(n,C.Li,5),2&t)&&(o.iGM(r=o.CRH())&&(e.content=r))},viewQuery:function(t,e){var n;(1&t&&o.Gf(Y,5),2&t)&&(o.iGM(n=o.CRH())&&(e.focusableElement=n.first))},hostVars:15,hostBindings:function(t,e){1&t&&o.NdJ("focusin",function(){return e.onFocused(!0)})("focusout",function(){return e.onFocused(!1)}),2&t&&(o.uIk("data-size",e.size),o.Udp("--border-start",e.borderStart,"rem")("--border-end",e.borderEnd,"rem"),o.ekj("_autofilled",e.autofilled)("_label-outside",e.controller.labelOutside)("_readonly",e.readOnly)("_invalid",e.computedInvalid)("_hidden",e.inputHidden))},inputs:{editable:"editable",textfieldFiller:["filler","textfieldFiller"],iconCleaner:"iconCleaner",readOnly:"readOnly",invalid:"invalid",disabled:"disabled",textfieldPrefix:["prefix","textfieldPrefix"],textfieldPostfix:["postfix","textfieldPostfix"],value:"value"},outputs:{valueChange:"valueChange"},features:[o._Bn([(0,d.FT)(t),k.Y0]),o.qOj],ngContentSelectors:it,decls:24,vars:37,consts:[[4,"ngIf"],["automation-id","tui-primitive-textfield__wrapper","tuiWrapper","",3,"active","appearance","disabled","focus","hover","invalid","readOnly","click.prevent.silent","mousedown","tuiAutofilledChange"],["automation-id","tui-primitive-textfield__native-input","tuiMaskAccessor","",1,"t-input",3,"disabled","id","ngModel","readOnly","tuiFocusable","ngModelChange"],["focusableElement",""],["automation-id","tui-primitive-textfield__value","class","t-input t-input_template",4,"ngIf"],[1,"t-content"],["class","t-icon t-icon_left t-textfield-icon",4,"ngIf"],[1,"t-wrapper"],["automation-id","tui-primitive-textfield__placeholder","class","t-placeholder",3,"t-placeholder_raised","for",4,"ngIf"],[1,"t-wrapper-value-decoration"],["aria-hidden","true","automation-id","tui-primitive-textfield__value-decoration",1,"t-value-decoration"],["decor",""],[1,"t-icons"],["automation-id","tui-primitive-textfield__custom-content","class","t-custom-content",4,"ngIf"],["appearance","icon","automation-id","tui-primitive-textfield__cleaner","tuiWrapper","","class","t-cleaner",3,"click.stop",4,"ngIf"],["automation-id","tui-primitive-textfield__tooltip","class","t-tooltip",3,"content","describeId",4,"ngIf"],["class","t-icon t-textfield-icon",4,"ngIf"],["automation-id","tui-primitive-textfield__value",1,"t-input","t-input_template"],[1,"t-icon","t-icon_left","t-textfield-icon"],["appearance","icon","tuiWrapper","",3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],["appearance","icon","tuiWrapper","",3,"src"],["automation-id","tui-primitive-textfield__placeholder",1,"t-placeholder",3,"for"],["automation-id","tui-primitive-textfield__custom-content",1,"t-custom-content"],["class","t-custom-icon",3,"src",4,"polymorpheusOutlet"],[1,"t-custom-icon",3,"src"],["appearance","icon","automation-id","tui-primitive-textfield__cleaner","tuiWrapper","",1,"t-cleaner",3,"click.stop"],[3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],[3,"src"],["automation-id","tui-primitive-textfield__tooltip",1,"t-tooltip",3,"content","describeId"],[1,"t-icon","t-textfield-icon"]],template:function(t,e){if(1&t&&(o.F$t(rt),o.YNc(0,Z,1,0,"ng-container",0),o.ALo(1,"async"),o.YNc(2,q,1,0,"ng-container",0),o.ALo(3,"async"),o.TgZ(4,"div",1),o.NdJ("click.prevent.silent",function(t){return e.detectRetargetFromLabel(t)})("mousedown",function(t){return e.onMouseDown(t)})("tuiAutofilledChange",function(t){return e.onAutofilled(t)}),o.ALo(5,"async"),o.Hsn(6),o.Hsn(7,1),o.TgZ(8,"input",2,3),o.NdJ("ngModelChange",function(t){return e.onModelChange(t)}),o.qZA(),o.YNc(10,U,2,0,"div",4),o.TgZ(11,"div",5),o.YNc(12,J,2,4,"div",6),o.TgZ(13,"div",7),o.YNc(14,X,2,3,"label",8),o.TgZ(15,"div",9),o.TgZ(16,"tui-value-decoration",10,11),o.ALo(18,"async"),o.qZA(),o.qZA(),o.qZA(),o.TgZ(19,"div",12),o.YNc(20,Q,2,1,"div",13),o.YNc(21,K,2,4,"span",14),o.YNc(22,tt,1,2,"tui-tooltip",15),o.YNc(23,nt,2,4,"div",16),o.qZA(),o.qZA(),o.qZA()),2&t){var n=o.MAs(9),r=o.MAs(17);o.Q6J("ngIf",o.lcZ(1,29,null==e.content?null:e.content.changes)),o.xp6(2),o.Q6J("ngIf",o.lcZ(3,31,null==e.hintOptions?null:e.hintOptions.change$)),o.xp6(2),o.Udp("--text-indent",o.lcZ(5,33,r.pre$),"px"),o.Q6J("active",e.pseudoActive)("appearance",e.appearance)("disabled",e.disabled)("focus",e.computedFocused)("hover",e.pseudoHover)("invalid",e.computedInvalid)("readOnly",e.readOnly),o.xp6(4),o.Q6J("disabled",e.computedDisabled)("id",e.id)("ngModel",e.value)("readOnly",e.readOnly||!e.editable)("tuiFocusable",e.computedFocusable),o.uIk("aria-invalid",e.computedInvalid)("name",e.name),o.xp6(2),o.Q6J("ngIf",e.inputHidden),o.xp6(2),o.Q6J("ngIf",e.iconLeftContent),o.xp6(2),o.Q6J("ngIf",e.hasPlaceholder),o.xp6(2),o.Udp("text-indent",o.lcZ(18,35,e.getIndent$(n)),"px"),o.ekj("t-has-value",e.value),o.xp6(4),o.Q6J("ngIf",e.hasCustomContent),o.xp6(1),o.Q6J("ngIf",e.hasCleaner),o.xp6(1),o.Q6J("ngIf",e.showHint),o.xp6(1),o.Q6J("ngIf",e.iconContent)}},directives:[L.O5,N.o,l,R,z.Fj,z.JJ,z.On,f.t,at,C.Li,T.PN,D.w],pipes:[L.Ov],styles:['[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:block;text-align:left;border-radius:var(--tui-radius-m);height:var(--tui-height);min-height:var(--tui-height);max-height:var(--tui-height)}[data-size=s][_nghost-%COMP%]{--tui-height: var(--tui-height-s)}[data-size=m][_nghost-%COMP%]{--tui-height: var(--tui-height-m)}[data-size=l][_nghost-%COMP%]{--tui-height: var(--tui-height-l);font:var(--tui-font-text-m);line-height:1.25rem}.t-input[_ngcontent-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;border-style:solid;border-color:transparent;border-inline-start-width:var(--border-start, 0);border-inline-end-width:var(--border-end, 0);text-indent:var(--text-indent);text-align:inherit;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-transform:inherit;resize:none}.t-input[_ngcontent-%COMP%]:-webkit-autofill, .t-input[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-input[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}.t-input[_ngcontent-%COMP%]:-webkit-autofill, .t-input[_ngcontent-%COMP%]:-webkit-autofill:first-line{font-size:inherit;line-height:inherit}.t-input[_ngcontent-%COMP%]::-webkit-caps-lock-indicator, .t-input[_ngcontent-%COMP%]::-webkit-contacts-auto-fill-button, .t-input[_ngcontent-%COMP%]::-webkit-credit-card-auto-fill-button, .t-input[_ngcontent-%COMP%]::-webkit-credentials-auto-fill-button, .t-input[_ngcontent-%COMP%]::-webkit-strong-password-auto-fill-button{content:none!important;position:absolute;left:-62.4375rem;top:-62.4375rem;z-index:-999;display:none!important;background:transparent!important;pointer-events:none!important}.t-input[_ngcontent-%COMP%]::placeholder{color:var(--tui-text-03);opacity:0}._focused[_nghost-%COMP%]:not(._readonly) .t-input[_ngcontent-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-textarea._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-textarea._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-text-area._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-text-area._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder{opacity:1}[tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-input[_ngcontent-%COMP%]:-webkit-autofill, .t-input [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill, [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-input[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-input [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:hover, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:hover, [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-input[_ngcontent-%COMP%]:-webkit-autofill:focus, .t-input [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:focus, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01-night)!important;border-color:var(--tui-autofill-night);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill-night) inset!important}[tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, .t-input [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]::placeholder, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]::placeholder{color:var(--tui-text-03-night)}[data-size=s][_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="s"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="s"] [_nghost-%COMP%]:not(tui-primitive-textfield), .t-input tui-textarea[data-size="s"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="s"] [_nghost-%COMP%]:not(tui-textarea), .t-input tui-text-area[data-size="s"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="s"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-s)}[data-size=m][_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="m"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"] [_nghost-%COMP%]:not(tui-primitive-textfield), .t-input tui-textarea[data-size="m"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="m"] [_nghost-%COMP%]:not(tui-textarea), .t-input tui-text-area[data-size="m"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="m"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-m)}[data-size=l][_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="l"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="l"] [_nghost-%COMP%]:not(tui-primitive-textfield), .t-input tui-textarea[data-size="l"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="l"] [_nghost-%COMP%]:not(tui-textarea), .t-input tui-text-area[data-size="l"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="l"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-l)}._disabled[_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield._disabled[_nghost-%COMP%], tui-primitive-textfield._disabled [_nghost-%COMP%], .t-input tui-textarea._disabled[_nghost-%COMP%], tui-textarea._disabled [_nghost-%COMP%], .t-input tui-text-area._disabled[_nghost-%COMP%], tui-text-area._disabled [_nghost-%COMP%]{pointer-events:none}[data-size=l][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="l"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="l"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield){padding-top:1.25rem}[data-size=l][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="l"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], tui-primitive-textfield[data-size="l"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.8156rem;transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="m"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield){padding-top:1rem}[data-size=m][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="m"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.69rem;transform:translateY(-.5rem)}._hidden[_nghost-%COMP%] input.t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield._hidden[_nghost-%COMP%], tui-primitive-textfield._hidden [_nghost-%COMP%]{opacity:0;text-indent:-10em;-webkit-user-select:none}.t-content[_ngcontent-%COMP%]{display:flex;height:100%;width:100%;box-sizing:border-box;align-items:center;overflow:hidden}[data-size=s][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0 var(--tui-padding-s)}[data-size=m][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0 var(--tui-padding-m)}[data-size=l][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0 var(--tui-padding-l)}.t-wrapper[_ngcontent-%COMP%]{flex:1;min-width:0;-webkit-padding-end:.25rem;padding-inline-end:.25rem}.t-placeholder[_ngcontent-%COMP%]{transition-property:transform,font-size,color,letter-spacing;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;width:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;font:var(--tui-font-text-s);color:var(--tui-text-02);pointer-events:none;will-change:transform;transform:translateY(0)}@supports (-webkit-hyphens: none){.t-placeholder[_ngcontent-%COMP%]{will-change:unset;transition-property:transform,color,letter-spacing}}.t-placeholder_raised[_ngcontent-%COMP%]{transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%]{font:var(--tui-font-text-xs);line-height:1.25rem;transform:translateY(-.5rem);letter-spacing:.025rem}._invalid[_nghost-%COMP%]:not(._focused) .t-placeholder_raised[_ngcontent-%COMP%], ._invalid[_nghost-%COMP%]:not(._focused):hover .t-placeholder_raised[_ngcontent-%COMP%]{color:var(--tui-error-fill)}._invalid[_nghost-%COMP%]:not(._focused) [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%], ._invalid[_nghost-%COMP%]:not(._focused):hover [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%]{color:var(--tui-error-fill-night)}._focused[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=m]._focused._label-outside[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused._label-outside[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-03)}[data-size=l][_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font:var(--tui-font-text-m);line-height:1.25rem}[data-size=l][_nghost-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%]{font-size:.8156rem}[data-size=m]._focused[_nghost-%COMP%]:not(._label-outside) .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused[_nghost-%COMP%]:not(._label-outside) .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-01)}[tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-02-night)}[data-size=m]._focused[_nghost-%COMP%]:not(._label-outside) [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused[_nghost-%COMP%]:not(._label-outside) [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-01-night)}._focused[_nghost-%COMP%] [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=m]._focused._label-outside[_nghost-%COMP%] [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused._label-outside[_nghost-%COMP%] [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-02-night)}.t-cleaner[_ngcontent-%COMP%]{position:relative;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;pointer-events:none;pointer-events:auto}._readonly[_nghost-%COMP%] .t-cleaner[_ngcontent-%COMP%], ._disabled[_nghost-%COMP%] .t-cleaner[_ngcontent-%COMP%]{pointer-events:none}.t-icon[_ngcontent-%COMP%]{position:relative;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;pointer-events:none}[data-size=s][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{-webkit-margin-start:-.375rem;margin-inline-start:-.375rem}[data-size=m][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{-webkit-margin-start:-.125rem;margin-inline-start:-.125rem;-webkit-margin-end:.375rem;margin-inline-end:.375rem}[data-size=l][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{-webkit-margin-end:.75rem;margin-inline-end:.75rem}.t-icons[_ngcontent-%COMP%]{display:flex;align-items:center}[data-size=m][_nghost-%COMP%] .t-icons[_ngcontent-%COMP%]{-webkit-margin-end:-.125rem;margin-inline-end:-.125rem}[data-size=s][_nghost-%COMP%] .t-icons[_ngcontent-%COMP%]{-webkit-margin-end:-.375rem;margin-inline-end:-.375rem}[_nghost-%COMP%]:not([data-size="s"]) .t-icons[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not(:first-child){-webkit-margin-start:.25rem;margin-inline-start:.25rem}._autofilled[data-size=s][_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], ._autofilled._label-outside[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], ._autofilled[_nghost-%COMP%] .t-value-decoration[_ngcontent-%COMP%]:not(.t-has-value){visibility:hidden}.t-custom-content[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;justify-content:center;min-width:2rem;height:2rem;pointer-events:none}.t-custom-icon[_ngcontent-%COMP%]{width:2rem;height:100%}.t-input[_ngcontent-%COMP%]:not(:first-child){display:none}[data-size][_nghost-%COMP%] .t-input_template[_ngcontent-%COMP%]{display:flex;width:calc(100% - 1rem);max-width:calc(100% - 1rem);align-items:center;pointer-events:none;-webkit-padding-end:0;padding-inline-end:0}.t-text-template[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.t-wrapper-value-decoration[_ngcontent-%COMP%]{position:relative;pointer-events:none}'],changeDetection:0}),(0,i.gn)([_.UM],t.prototype,"getIndent$",null),t}(),ct=function(){var t=function(t){a(n,t);var e=u(n);function n(t){var r;return y(this,n),(r=e.call(this,t)).textfield=t,r}return g(n,[{key:"readOnly",get:function(){return this.textfield.readOnly||!this.textfield.editable}},{key:"onValueChange",value:function(t){this.textfield.onModelChange(t)}}]),n}(B.D1);return t.\u0275fac=function(e){return new(e||t)(o.Y36(ut))},t.\u0275dir=o.lG2({type:t,selectors:[["tui-primitive-textfield"]],features:[o._Bn([(0,F.cp)(t)]),o.qOj]}),t}(),lt=function(){var t=function(){function t(e,n,r,i,o){y(this,t),this.host=e,this.controller=n,this.el=r,this.idService=i,this.legacyMask=o,this.host.process(this.el.nativeElement)}return g(t,[{key:"id",get:function(){return this.el.nativeElement.id||this.idService.generate()}},{key:"inputMode",get:function(){return this.el.nativeElement.inputMode||this.host.inputMode}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(F.S0),o.Y36(k.Cs),o.Y36(o.SBq),o.Y36(s.ll),o.Y36(F.sf,8))},t.\u0275cmp=o.Xpm({type:t,selectors:[["input","tuiTextfield",""],["textarea","tuiTextfield",""]],hostAttrs:["type","text"],hostVars:7,hostBindings:function(t,e){1&t&&o.NdJ("input",function(t){return!e.legacyMask&&e.host.onValueChange(t.target.value)}),2&t&&(o.Ikx("tabIndex",e.host.focusable?0:-1)("readOnly",e.host.readOnly)("value",e.host.value),o.uIk("id",e.id)("inputMode",e.inputMode)("aria-invalid",e.host.invalid)("disabled",e.host.disabled||null))},features:[o._Bn([k.Y0])],attrs:ot,decls:0,vars:0,template:function(t,e){},styles:['[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;border-style:solid;border-color:transparent;border-inline-start-width:var(--border-start, 0);border-inline-end-width:var(--border-end, 0);text-indent:var(--text-indent);text-align:inherit;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-transform:inherit;resize:none}[_nghost-%COMP%]:-webkit-autofill, [_nghost-%COMP%]:-webkit-autofill:hover, [_nghost-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}[_nghost-%COMP%]:-webkit-autofill, [_nghost-%COMP%]:-webkit-autofill:first-line{font-size:inherit;line-height:inherit}[_nghost-%COMP%]::-webkit-caps-lock-indicator, [_nghost-%COMP%]::-webkit-contacts-auto-fill-button, [_nghost-%COMP%]::-webkit-credit-card-auto-fill-button, [_nghost-%COMP%]::-webkit-credentials-auto-fill-button, [_nghost-%COMP%]::-webkit-strong-password-auto-fill-button{content:none!important;position:absolute;left:-62.4375rem;top:-62.4375rem;z-index:-999;display:none!important;background:transparent!important;pointer-events:none!important}[_nghost-%COMP%]::placeholder{color:var(--tui-text-03);opacity:0}._focused[_nghost-%COMP%]:not(._readonly) [_ngcontent-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly) [_nghost-%COMP%]::placeholder, tui-textarea._focused:not(._readonly) [_nghost-%COMP%]::placeholder, tui-text-area._focused:not(._readonly) [_nghost-%COMP%]::placeholder{opacity:1}[tuiWrapper][data-mode=onDark] [_nghost-%COMP%]:-webkit-autofill, [_nghost-%COMP%] [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill, [tuiWrapper][data-mode=onDark] [_nghost-%COMP%]:-webkit-autofill:hover, [_nghost-%COMP%] [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:hover, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:hover, [tuiWrapper][data-mode=onDark] [_nghost-%COMP%]:-webkit-autofill:focus, [_nghost-%COMP%] [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:focus, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01-night)!important;border-color:var(--tui-autofill-night);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill-night) inset!important}[tuiWrapper][data-mode=onDark] [_nghost-%COMP%]::placeholder, [_nghost-%COMP%] [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]::placeholder, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]::placeholder{color:var(--tui-text-03-night)}[data-size=s][_nghost-%COMP%] -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="s"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="s"] [_nghost-%COMP%]:not(tui-primitive-textfield), [_nghost-%COMP%] tui-textarea[data-size="s"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="s"] [_nghost-%COMP%]:not(tui-textarea), [_nghost-%COMP%] tui-text-area[data-size="s"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="s"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-s)}[data-size=m][_nghost-%COMP%] -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="m"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"] [_nghost-%COMP%]:not(tui-primitive-textfield), [_nghost-%COMP%] tui-textarea[data-size="m"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="m"] [_nghost-%COMP%]:not(tui-textarea), [_nghost-%COMP%] tui-text-area[data-size="m"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="m"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-m)}[data-size=l][_nghost-%COMP%] -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="l"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="l"] [_nghost-%COMP%]:not(tui-primitive-textfield), [_nghost-%COMP%] tui-textarea[data-size="l"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="l"] [_nghost-%COMP%]:not(tui-textarea), [_nghost-%COMP%] tui-text-area[data-size="l"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="l"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-l)}._disabled[_nghost-%COMP%] -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield._disabled[_nghost-%COMP%], tui-primitive-textfield._disabled [_nghost-%COMP%], [_nghost-%COMP%] tui-textarea._disabled[_nghost-%COMP%], tui-textarea._disabled [_nghost-%COMP%], [_nghost-%COMP%] tui-text-area._disabled[_nghost-%COMP%], tui-text-area._disabled [_nghost-%COMP%]{pointer-events:none}[data-size=l][_nghost-%COMP%]:not(._label-outside) -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="l"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="l"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield){padding-top:1.25rem}[data-size=l][_nghost-%COMP%]:not(._label-outside) [_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [_nghost-%COMP%] tui-primitive-textfield[data-size="l"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], tui-primitive-textfield[data-size="l"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.8156rem;transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%]:not(._label-outside) -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="m"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield){padding-top:1rem}[data-size=m][_nghost-%COMP%]:not(._label-outside) [_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [_nghost-%COMP%] tui-primitive-textfield[data-size="m"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.69rem;transform:translateY(-.5rem)}._hidden[_nghost-%COMP%] input[_ngcontent-%COMP%], [_nghost-%COMP%] tui-primitive-textfield._hidden[_nghost-%COMP%], tui-primitive-textfield._hidden [_nghost-%COMP%]{opacity:0;text-indent:-10em;-webkit-user-select:none}textarea[_nghost-%COMP%]{white-space:pre-wrap}textarea[_nghost-%COMP%] tui-textarea._ios[_nghost-%COMP%], tui-textarea._ios [_nghost-%COMP%], textarea[_nghost-%COMP%] tui-text-area._ios[_nghost-%COMP%], tui-text-area._ios [_nghost-%COMP%]{padding-left:.8125rem}'],changeDetection:0}),t}(),ht=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[L.ez,z.u5,C.wq,j,f.u,N.W,T.EI,D.Q,h]]}),t}()},80134:function(t,e,n){"use strict";n.d(e,{IB:function(){return d},Jy:function(){return p}});var r=n(74788),i=n(81359),o=n(41213),a=n(64493),s=n(99434),u=n(62579),c=n(12057);function l(t,e){1&t&&r._UZ(0,"tui-scroll-controls",2)}var h,f=["*"],d=((h=function(){function t(e,n,i,a){y(this,t),this.cssRef=e,this.el=n,this.userAgent=i,this.isIos=a,this.delegated=!1,this.isLegacy=!this.cssRef.supports("position","sticky")||(0,o.oK)(this.userAgent)&&!this.cssRef.supports("scrollbar-width","none"),this.hidden=!1,this.browserScrollRef=new r.SBq(this.el.nativeElement)}return g(t,[{key:"showScrollbars",get:function(){return!this.hidden&&!this.isIos&&(!this.isLegacy||this.delegated)}},{key:"showNative",get:function(){return this.isLegacy&&!this.hidden&&!this.delegated}},{key:"onScrollable",value:function(t){this.delegated=!0,this.browserScrollRef.nativeElement=t}},{key:"scrollIntoView",value:function(t){var e;if(!this.delegated){var n=this.browserScrollRef.nativeElement,r=(0,a.YX)(n,t),i=r.offsetTop,o=r.offsetLeft,s=n.clientHeight,u=n.clientWidth,c=t.offsetHeight,l=t.offsetWidth;null===(e=n.scrollTo)||void 0===e||e.call(n,o+l/2-u/2,i+c/2-s/2)}}}]),t}()).\u0275fac=function(t){return new(t||h)(r.Y36(u.ux),r.Y36(r.SBq),r.Y36(u.yZ),r.Y36(s.FA))},h.\u0275cmp=r.Xpm({type:h,selectors:[["tui-scrollbar"]],hostVars:2,hostBindings:function(t,e){1&t&&r.NdJ("tui-scrollable.stop",function(t){return e.onScrollable(t.detail)})("tui-scroll-into-view.stop",function(t){return e.scrollIntoView(t.detail)}),2&t&&r.ekj("_legacy",e.showNative)},inputs:{hidden:"hidden"},features:[r._Bn([{provide:s.$_,deps:[h],useFactory:function(t){return t.browserScrollRef}}])],ngContentSelectors:f,decls:3,vars:1,consts:[["class","t-bars",4,"ngIf"],[1,"t-content"],[1,"t-bars"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,l,1,0,"tui-scroll-controls",0),r.TgZ(1,"div",1),r.Hsn(2),r.qZA()),2&t&&r.Q6J("ngIf",e.showScrollbars)},directives:[c.O5,i.tZ],styles:["[_nghost-%COMP%]{position:relative;display:flex;isolation:isolate;overflow:auto}[_nghost-%COMP%]:not(._legacy){scrollbar-width:none;-ms-overflow-style:none}[_nghost-%COMP%]:not(._legacy)::-webkit-scrollbar, [_nghost-%COMP%]:not(._legacy)::-webkit-scrollbar-thumb{background:transparent;width:0;height:0}._legacy[_nghost-%COMP%]{overflow:overlay}@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm){._legacy[_nghost-%COMP%]::-webkit-scrollbar, ._legacy[_nghost-%COMP%]::-webkit-scrollbar-thumb{width:1rem;height:1rem;border-radius:6.25rem;background-clip:padding-box;border:.375rem solid transparent}._legacy[_nghost-%COMP%]::-webkit-scrollbar{background-color:transparent}._legacy[_nghost-%COMP%]::-webkit-scrollbar-thumb{background-color:var(--tui-clear-hover)}._legacy[_nghost-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:var(--tui-clear-active)}._legacy[_nghost-%COMP%]::-webkit-scrollbar-thumb:active{background-color:var(--tui-text-03)}}.t-content[_ngcontent-%COMP%]{isolation:isolate;flex:1;flex-basis:auto;width:100%;height:-webkit-max-content;height:max-content}.t-bars[_ngcontent-%COMP%]{color:var(--tui-text-01)}"],changeDetection:0}),h),p=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[c.ez,i.eI]]}),t}()},54789:function(t,e,n){"use strict";n.d(e,{$E:function(){return L},PN:function(){return z},EI:function(){return F}});var r=n(97582),i=n(12057),o=n(74788),a=n(91211),s=n(62579),u=n(92668),c=n(68192),l=n(11927),h=(n(18939),n(64493)),f=n(27103),d=n(99434),p=n(44358),v=n(18269),m=n(87941),_=n(79456),b=n(66640),k=n(54487),w=n(74235),C=n(25917),x=n(43190),O=n(39761),M=n(5304),S=n(88002);function P(t,e){if(1&t&&o._UZ(0,"div",3),2&t){var n=o.oxw().tuiLet;o.Q6J("innerHTML",n,o.oJD)}}function E(t,e){if(1&t){var n=o.EpF();o.O4$(),o.TgZ(0,"svg",4),o.NdJ("error",function(){return o.CHM(n),o.oxw(2).onError()}),o._UZ(1,"use"),o.qZA()}if(2&t){var r=o.oxw(2);o.xp6(1),o.uIk("href",r.use,null,"xlink")}}function A(t,e){if(1&t&&(o.ynx(0),o.YNc(1,P,1,1,"div",1),o.YNc(2,E,2,1,"ng-template",null,2,o.W1O),o.BQk()),2&t){var n=o.MAs(3),r=o.oxw();o.xp6(1),o.Q6J("ngIf",r.isInnerHTML)("ngIfElse",n)}}var T,I={tuiIconAttach:"tuiIconPaperclip",tuiIconAttention:"tuiIconAlertCircle",tuiIconBackCircle:"tuiIconArrowLeftCircle",tuiIconCall:"tuiIconPhone",tuiIconCallIn:"tuiIconPhoneIncoming",tuiIconCallOut:"tuiIconPhoneOutgoing",tuiIconCallTransfer:"tuiIconPhoneForwarded",tuiIconCancel:"tuiIconXCircle",tuiIconCancelCircle:"tuiIconSlash",tuiIconCard:"tuiIconCreditCard",tuiIconCards:"tuiIconCreditCard",tuiIconChartBar:"tuiIconBarChart",tuiIconChart:"tuiIconBarChart",tuiIconCheckList:"tuiIconClipboard",tuiIconCloseCircle:"tuiIconXCircle",tuiIconCollapse:"tuiIconMinimize",tuiIconComment:"tuiIconMessageSquare",tuiIconCommentFw:"tuiIconMessageForward",tuiIconCompany:"tuiIconBriefcase",tuiIconDefaultDoc:"tuiIconFile",tuiIconDesktop:"tuiIconMonitor",tuiIconDesktopOff:"tuiIconMonitorOff",tuiIconDislike:"tuiIconThumbsDown",tuiIconDone:"tuiIconCheckCircle",tuiIconDraft:"tuiIconEdit2",tuiIconEyeOpen:"tuiIconEye",tuiIconEyeClosed:"tuiIconEyeOff",tuiIconExpand:"tuiIconMaximize",tuiIconExternal:"tuiIconExternalLink",tuiIconFrame:"tuiIconLayout",tuiIconGeo:"tuiIconMapPin",tuiIconHeartFilled:"tuiIconHeart",tuiIconHide:"tuiIconEyeOff",tuiIconImg:"tuiIconImage",tuiIconInfoCircle:"tuiIconInfo",tuiIconLike:"tuiIconThumbsUp",tuiIconLockOpen:"tuiIconUnlock",tuiIconMobile:"tuiIconSmartphone",tuiIconMoreHor:"tuiIconMoreHorizontal",tuiIconMoreVer:"tuiIconMoreVertical",tuiIconMoreVert:"tuiIconMoreVertical",tuiIconPicture:"tuiIconImage",tuiIconPin:"tuiIconMapPin",tuiIconPrint:"tuiIconPrinter",tuiIconRefresh:"tuiIconRefreshCw",tuiIconRemove:"tuiIconX",tuiIconShow:"tuiIconEye",tuiIconSound:"tuiIconVolume",tuiIconSoundOff:"tuiIconVolumeX",tuiIconStarFilled:"tuiIconStar",tuiIconStop:"tuiIconSquare",tuiIconStructure:"tuiIconGrid",tuiIconTime:"tuiIconClock",tuiIconTooltip:"tuiIconHelpCircle",tuiIconViewList:"tuiIconList",tuiIconWifiOn:"tuiIconWifi"},D={iconsPlace:_.xp,path:(0,b.ht)(_.xp),srcProcessor:k.y,contentProcessor:c.N,deprecated:function(t){var e=t.replace("Large","").replace("Outline",""),n=I[e];return n?"".concat(e,"/(Large|Outline) is deprecated, use ").concat(n,"/(Large|Outline) instead"):""}},L=(0,l.N1)(function(){return{iconsPlace:(0,o.f3M)(_.AA),path:(0,o.f3M)(_.ki),deprecated:D.deprecated,srcProcessor:(0,o.f3M)(_.V5),contentProcessor:(0,o.f3M)(_.u_)}}),N=new o.OlP("[TUI_SVG_SRC_INTERCEPTORS]"),z=(T=function(){function t(e,n,r,i,o,a,s,u,c,h){var f=this;y(this,t),this.doc=e,this.win=n,this.options=r,this.srcInterceptors=i,this.tuiSanitizer=o,this.svgService=a,this.staticRequestService=s,this.sanitizer=u,this.el=c,this.baseHref=h,this.src$=new w.t(1),this.icon="",this.innerHTML$=this.src$.pipe((0,x.w)(function(){return(0,l.Aj)(f.icon)?f.isExternal?f.getExternalIcon(f.icon):(0,C.of)(f.getSafeHtml(f.icon)):(0,C.of)(f.icon)}),(0,O.O)(""))}return g(t,[{key:"src",get:function(){return this.icon},set:function(t){var e,n=this;this.options.deprecated(String(t)),this.icon=(null!==(e=this.srcInterceptors)&&void 0!==e?e:[]).reduce(function(t,e){return e(t,n.options)},this.options.srcProcessor(t||"")),this.src$.next()}},{key:"use",get:function(){return(0,l.Aj)(this.icon)?this.icon.includes(".svg#")?this.icon:this.resolveName(this.icon,this.options.path):""}},{key:"isInnerHTML",get:function(){return!(0,l.Aj)(this.icon)||this.isSrc||this.isExternal||this.isName&&this.isShadowDOM}},{key:"isShadowDOM",get:function(){return(0,h.Wf)(this.el.nativeElement)!==this.doc}},{key:"isUse",get:function(){return this.use.replace(v.uJ,"").includes(".svg#")}},{key:"isExternal",get:function(){return this.isUrl||this.isCrossDomain}},{key:"isUrl",get:function(){return(0,l.Aj)(this.icon)&&this.icon.replace(v.uJ,"").endsWith(".svg")}},{key:"isSrc",get:function(){return(0,l.Aj)(this.icon)&&(0,b.jL)(this.icon)}},{key:"isName",get:function(){return!this.isUrl&&!this.isUse&&!this.isSrc}},{key:"isCrossDomain",get:function(){var t=this.use,e=this.isUse,n=this.win;return e&&t.startsWith("http")&&!!n.origin&&!t.startsWith(n.origin)}},{key:"onError",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"External icon is missing on the given URL",e=this.icon,n=new CustomEvent(v.qT,{bubbles:!0,detail:{message:t,icon:e}});this.el.nativeElement.dispatchEvent(n)}},{key:"resolveName",value:function(t,e){return e(t,this.baseHref)}},{key:"getSafeHtml",value:function(t){return this.isSrc?this.sanitize(t):this.process(t)}},{key:"process",value:function(t){var e=this.svgService.getOriginal(t);return this.isName&&!e&&!!t&&this.onError("Attempted to use undefined named icon"),this.isShadowDOM&&this.isName?this.sanitize(e||""):""}},{key:"sanitize",value:function(t){return t=this.options.contentProcessor(t),this.tuiSanitizer&&(0,l.Aj)(t)?this.sanitizer.bypassSecurityTrustHtml(this.tuiSanitizer.sanitize(o.q3G.HTML,t)||""):t}},{key:"getExternalIcon",value:function(t){var e=this,n=t.includes(".svg")?t:this.use;return this.staticRequestService.request(n).pipe((0,M.K)(function(){return e.onError("Failed to load external SVG"),(0,C.of)("")}),(0,S.U)(function(t){return e.sanitize(t.replace("h.left&&tp.bottom?"top":"bottom";return p[d]>u&&l||p[d]>i?[m[d],m[c]]:(this.previous=y,[m[y],m[c]])}},{key:"accessor",get:function(){return(0,b.Sv)("dropdown")(this.accessors,this.directive)}}]),n}(b.uG);return t.\u0275fac=function(e){return new(e||t)(r.Y36($),r.Y36(x.EO),r.Y36(b.O4),r.Y36(H))},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiDropdown","",3,"tuiDropdownCustomPosition","",3,"tuiDropdownSided",""]],features:[r._Bn([(0,b.P7)(t)]),r.qOj]}),(0,I.gn)([d.UM],t.prototype,"accessor",null),t}(),rt=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this)).options=t,o.viewport=r,o.vertical=i,o.previous=o.options.direction||"bottom",o.tuiDropdownSided="",o.tuiDropdownSidedOffset=4,o.type="dropdown",o}return g(n,[{key:"getPosition",value:function(t){var e,n;if(!1===this.tuiDropdownSided)return this.vertical.getPosition(t);var r=t.height,i=t.width,o=null!==(n=null===(e=this.vertical.accessor)||void 0===e?void 0:e.getClientRect())&&void 0!==n?n:_.Jy,a=this.viewport.getClientRect(),s=this.options,u=s.direction,c=s.minHeight,l=s.offset,h="center"===this.options.align?"left":this.options.align,f={top:o.bottom-a.top,left:o.left-l-a.left,right:a.right-o.right-l,bottom:a.bottom-o.top},d={top:o.bottom-r+this.tuiDropdownSidedOffset+1,left:o.left-i-l,right:o.right+l,bottom:o.top-this.tuiDropdownSidedOffset-1},p=f.top>f.bottom?"top":"bottom",v=f[h]>i?d[h]:f.left>f.right?d.left:d.right;return f[this.previous]>c&&u||this.previous===p?[d[this.previous],v]:(this.previous=p,[d[p],v])}}]),n}(b.uG);return t.\u0275fac=function(e){return new(e||t)(r.Y36($),r.Y36(x.EO),r.Y36(nt))},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiDropdownSided",""]],inputs:{tuiDropdownSided:"tuiDropdownSided",tuiDropdownSidedOffset:"tuiDropdownSidedOffset"},features:[r._Bn([nt,(0,b.P7)(t)]),r.qOj]}),t}(),it=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[N.wq,o.A,s.e,B.Jy,c.VE]]}),t}()},90022:function(t,n,r){"use strict";r.d(n,{H3:function(){return et},$o:function(){return st},D:function(){return rt},xn:function(){return ut},t6:function(){return it},go:function(){return lt},bZ:function(){return nt},DM:function(){return ct}});var o=r(97582),s=r(74788),c=r(11927),l=r(76480),h=r(221),d=r(96111),v=r(33770),m=r(64493),_=r(85648),b=r(75675),k=r(27103),w=r(44358),C=r(40946),x=r(57179),O=r(43631),M=r(49941),S=r(75452),P=r(87941),E=r(79456),A=r(66640),T=r(89570),I=r(85345),D=function(){function t(e){y(this,t),this.durationSelector=e}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new L(t,this.durationSelector))}}]),t}(),L=function(t){a(n,t);var e=u(n);function n(t,r){var i;return y(this,n),(i=e.call(this,t)).durationSelector=r,i.hasValue=!1,i}return g(n,[{key:"_next",value:function(t){try{var e=this.durationSelector.call(this,t);e&&this._tryNext(t,e)}catch(e){this.destination.error(e)}}},{key:"_complete",value:function(){this.emitValue(),this.destination.complete()}},{key:"_tryNext",value:function(t,e){var n=this.durationSubscription;this.value=t,this.hasValue=!0,n&&(n.unsubscribe(),this.remove(n)),(n=(0,I.ft)(e,new I.IY(this)))&&!n.closed&&this.add(this.durationSubscription=n)}},{key:"notifyNext",value:function(){this.emitValue()}},{key:"notifyComplete",value:function(){this.emitValue()}},{key:"emitValue",value:function(){if(this.hasValue){var t=this.value,e=this.durationSubscription;e&&(this.durationSubscription=void 0,e.unsubscribe(),this.remove(e)),this.value=void 0,this.hasValue=!1,i(f(n.prototype),"_next",this).call(this,t)}}}]),n}(I.Ds),N=r(43190),z=r(87874),F=r(46782),R=r(79196),j=r(45435),B=r(88002),V=r(68307),Y=r(39761),Z=r(87519),q=r(13653),U=r(79765),H=r(66682),G=r(25917),J=r(74235),X=r(41291),$=r(12057),Q=r(18269);function W(t,e){1&t&&s._UZ(0,"span",1),2&t&&s.Q6J("innerHTML",e.polymorpheusOutlet,s.oJD)}var K,tt=(0,c.N1)(function(){return at}),et=(0,c.JN)({direction:"bottom-left",showDelay:500,hideDelay:200,appearance:"",icon:"tuiIconHelpCircle"}),nt=((K=function(t){a(n,t);var e=u(n);function n(t){var r;return y(this,n),(r=e.call(this)).options=t,r.direction=r.options.direction,r.appearance=r.options.appearance,r.showDelay=r.options.showDelay,r.hideDelay=r.options.hideDelay,r.icon=r.options.icon,r}return g(n)}(l.QJ)).\u0275fac=function(t){return new(t||K)(s.Y36(et,4))},K.\u0275dir=s.lG2({type:K,selectors:[["","tuiHintContent",""]],inputs:{content:["tuiHintContent","content"],direction:["tuiHintDirection","direction"],appearance:["tuiHintAppearance","appearance"],showDelay:["tuiHintShowDelay","showDelay"],hideDelay:["tuiHintHideDelay","hideDelay"]},features:[s._Bn([{provide:et,useExisting:(0,s.Gpc)(function(){return K})}]),s.qOj]}),K),rt=function(){var t=function(){function t(e,n,r,i,o){y(this,t),this.el=e,this.component=n,this.hintService=r,this.options=i,this.activeZone=o,this.tuiHintAppearance=null,this.type="hint"}return g(t,[{key:"appearance",get:function(){var t;return null!==(t=this.tuiHintAppearance)&&void 0!==t?t:this.options.appearance}},{key:"ngOnChanges",value:function(){this.content||this.toggle(!1)}},{key:"ngOnDestroy",value:function(){this.toggle(!1)}},{key:"getClientRect",value:function(){return this.el.nativeElement.getBoundingClientRect()}},{key:"toggle",value:function(t){t&&this.content?this.hintService.add(this):this.hintService.remove(this)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(T.Al),s.Y36(P.BN),s.Y36(et),s.Y36(h.e,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","tuiHint","",5,"ng-container"]],inputs:{content:["tuiHint","content"],context:["tuiHintContext","context"],tuiHintAppearance:"tuiHintAppearance"},features:[s._Bn([(0,O.Ic)(t),(0,O.Fe)(t),{provide:T.Al,deps:[tt,s.gxx],useClass:T.Al}]),s.TTD]}),t}(),it=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,function(t){return o.stream$.subscribe(t)})).hovered$=t,o.options=r,o.el=i,o.visible=!1,o.toggle$=new U.xQ,o.stream$=(0,H.T)(o.toggle$.pipe((0,N.w)(function(t){return(0,G.of)(t).pipe((0,z.g)(t?0:o.hideDelay))}),(0,F.R)(o.hovered$),(0,R.r)()),o.hovered$.pipe((0,N.w)(function(t){return(0,G.of)(t).pipe((0,z.g)(t?o.showDelay:o.hideDelay))}),(0,F.R)(o.toggle$),(0,R.r)())).pipe((0,j.h)(function(){return o.enabled}),(0,B.U)(function(t){return t&&!(0,A.mn)(o.el.nativeElement)}),(0,V.b)(function(t){o.visible=t})),o.showDelay=o.options.showDelay,o.hideDelay=o.options.hideDelay,o.type="hint",o.enabled=!0,o}return g(n,[{key:"toggle",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:!this.visible;this.toggle$.next(t)}}]),n}(O.kk);return t.\u0275fac=function(e){return new(e||t)(s.Y36(d.gs),s.Y36(et),s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t,selectors:[["","tuiHint","",5,"ng-container"]],inputs:{showDelay:["tuiHintShowDelay","showDelay"],hideDelay:["tuiHintHideDelay","hideDelay"]},exportAs:["tuiHintHover"],features:[s._Bn([(0,O.UK)(t),d.gs]),s.qOj]}),t}(),ot=function(){var t,e=function(t){a(n,t);var e=u(n);function n(){var t;return y(this,n),(t=e.apply(this,arguments)).currentRect=v.Jy,t}return g(n,[{key:"onMove",value:function(t){var e=t.clientX,n=t.clientY;this.currentRect=(0,m.dD)(e,n)}},{key:"getClientRect",value:function(){return this.currentRect}}]),n}(it);return e.\u0275fac=function(n){return(t||(t=s.n5z(e)))(n||e)},e.\u0275dir=s.lG2({type:e,selectors:[["","tuiHint","","tuiHintPointer",""]],hostBindings:function(t,e){1&t&&s.NdJ("mousemove.silent",function(t){return e.onMove(t)})},features:[s._Bn([(0,O.Ic)(e),(0,O.UK)(e)]),s.qOj]}),e}(),at=function(){var t=function(){function t(e,n,r,i,o,a,s,u,c,l,h,f){var d,v=this;y(this,t),this.animation=i,this.pointer=o,this.accessor=a,this.el=s,this.polymorpheus=u,this.hover=c,this.mode=l,this.visualViewportService=h,this.viewport=f,this.appearance=this.polymorpheus.$implicit.appearance||(null===(d=this.mode)||void 0===d?void 0:d.mode),n.pipe((0,B.U)(function(t){return v.visualViewportService.correct(t)}),(0,F.R)(r)).subscribe(function(t){var e=p(t,2),n=e[0],r=e[1];v.update(n,r)}),e.pipe((0,F.R)(r)).subscribe(function(t){return v.hover.toggle(t)})}return g(t,[{key:"content",get:function(){return this.polymorpheus.$implicit.content}},{key:"context",get:function(){return this.polymorpheus.$implicit.context}},{key:"onClick",value:function(t){(!this.el.nativeElement.contains(t)&&!this.hover.el.nativeElement.contains(t)||(0,A.mn)(this.hover.el.nativeElement))&&this.hover.toggle(!1)}},{key:"update",value:function(t,e){var n=this.el.nativeElement.getBoundingClientRect(),r=n.height,i=n.width,o=this.el.nativeElement.style,a=this.accessor.getClientRect(),s=this.viewport.getClientRect();if(a!==v.Jy){var u=(0,_.Ki)(e,4,s.width-i-4),c=p(this.visualViewportService.correct([a.top+a.height/2-t,a.left+a.width/2-u]),2),l=c[0],h=c[1];o.top=(0,b.O)(t),o.left=(0,b.O)(u),o.setProperty("--top",(0,b.O)((0,_.Ki)(l,.5,r-1))),o.setProperty("--left",(0,b.O)((0,_.Ki)(h,.5,i-1)))}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.Y36(d.gs),s.Y36(P.KG),s.Y36(k.a3,2),s.Y36(E.Pw),s.Y36(ot,8),s.Y36(O.O4),s.Y36(s.SBq),s.Y36(T.yf),s.Y36(it),s.Y36(S.w,8),s.Y36(P.Lp),s.Y36(E.EO))},t.\u0275cmp=s.Xpm({type:t,selectors:[["tui-hint"]],hostVars:4,hostBindings:function(t,e){1&t&&s.NdJ("click",function(t){return e.onClick(t.target)},!1,s.evT),2&t&&(s.uIk("data-appearance",e.appearance),s.d8E("@tuiFadeIn",e.animation),s.ekj("_untouchable",e.pointer))},features:[s._Bn([k.a3,P.KG,d.gs,(0,O.ei)("hint"),(0,O.Wk)("hint",rt)])],decls:1,vars:2,consts:[[3,"innerHTML",4,"polymorpheusOutlet","polymorpheusOutletContext"],[3,"innerHTML"]],template:function(t,e){1&t&&s.YNc(0,W,1,1,"span",0),2&t&&s.Q6J("polymorpheusOutlet",e.content)("polymorpheusOutletContext",e.context)},directives:[T.Li],styles:['[_nghost-%COMP%]{position:absolute;max-width:18rem;min-height:var(--tui-height-m);padding:.75rem 1rem;background:var(--tui-primary);border-radius:var(--tui-radius-l);color:var(--tui-primary-text);box-sizing:border-box;font:var(--tui-font-text-s);white-space:pre-line;word-wrap:break-word}[_nghost-%COMP%]:before{content:"";position:absolute;top:var(--top);left:var(--left);width:.5rem;height:.5rem;border-radius:.125rem;box-sizing:border-box;background:inherit;transform:translate(-50%,-50%) rotate(45deg)}[data-appearance=error][_nghost-%COMP%]{background:var(--tui-error-fill)}[data-appearance=onDark][_nghost-%COMP%]{background:var(--tui-elevation-02);color:var(--tui-text-01);filter:drop-shadow(0 0 .125rem rgba(0,0,0,.16)) drop-shadow(0 1.5rem 1rem rgba(0,0,0,.03)) drop-shadow(0 .75rem .75rem rgba(0,0,0,.04)) drop-shadow(0 .25rem .375rem rgba(0,0,0,.05))}[_nghost-%COMP%]:not([style*="top"]){visibility:hidden}._untouchable[_nghost-%COMP%]{pointer-events:none}'],data:{animation:[M.QF]},changeDetection:0}),(0,o.gn)([w.UM],t.prototype,"update",null),t}(),st=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,function(t){return o.stream$.subscribe(t)})).zone=t,o.doc=r,o.el=i,o.id$=new J.t(1),o.stream$=o.id$.pipe((0,C.Xd)(function(){return(0,C.mL)(o.doc,"keydown",{capture:!0})},c.Pc),(0,N.w)(function(){return o.focused?(0,G.of)(!1):(0,H.T)((0,C.mL)(o.doc,"keyup"),(0,C.mL)(o.element,"blur")).pipe((0,B.U)(function(){return o.focused}))}),function(t){return function(e){return e.lift(new D(t))}}(function(t){return t?(0,X.H)(1e3):(0,G.of)(null)}),(0,Y.O)(!1),(0,Z.x)(),(0,q.T)(1),(0,C.Yr)(o.zone)),o.tuiHintDescribe="",o.type="hint",o}return g(n,[{key:"ngOnChanges",value:function(){this.id$.next(this.tuiHintDescribe)}},{key:"focused",get:function(){return(0,x.V8)(this.element)}},{key:"element",get:function(){return this.doc.getElementById(this.tuiHintDescribe||"")||this.el.nativeElement}}]),n}(O.kk);return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.R0b),s.Y36($.K0),s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t,selectors:[["","tuiHintDescribe",""]],inputs:{tuiHintDescribe:"tuiHintDescribe"},features:[s._Bn([(0,O.UK)(t)]),s.qOj,s.TTD]}),(0,o.gn)([w.UM],t.prototype,"element",null),t}(),ut=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,t,r,i)).type="hint",o}return g(n)}(O.FP);return t.\u0275fac=function(e){return new(e||t)(s.Y36(k.a3,2),s.Y36(O.kk),s.Y36(O.c2))},t.\u0275dir=s.lG2({type:t,selectors:[["","tuiHint",""]],features:[s._Bn([k.a3]),s.qOj]}),t}(),ct=function(){var t=function(t){a(r,t);var n=u(r);function r(t,i,o,a){var s;return y(this,r),(s=n.call(this)).options=t,s.viewport=i,s.directive=o,s.accessors=a,s.points=Q.Fw.reduce(function(t,n){return Object.assign(Object.assign({},t),e({},n,[0,0]))},{}),s.direction=s.options.direction,s.type="hint",s}return g(r,[{key:"getPosition",value:function(t){var e,n,r=this,i=t.width,o=t.height,a=null!==(n=null===(e=this.accessor)||void 0===e?void 0:e.getClientRect())&&void 0!==n?n:v.Jy,s=a.left+a.width/2,u=a.top+a.height/2;if(this.points["top-left"][0]=a.top-o-8,this.points["top-left"][1]=s-i+22,this.points.top[0]=this.points["top-left"][0],this.points.top[1]=s-i/2,this.points["top-right"][0]=this.points["top-left"][0],this.points["top-right"][1]=s-22,this.points["bottom-left"][0]=a.bottom+8,this.points["bottom-left"][1]=this.points["top-left"][1],this.points.bottom[0]=this.points["bottom-left"][0],this.points.bottom[1]=this.points.top[1],this.points["bottom-right"][0]=this.points["bottom-left"][0],this.points["bottom-right"][1]=this.points["top-right"][1],this.points["left-top"][0]=u-o+22,this.points["left-top"][1]=a.left-i-8,this.points.left[0]=u-o/2,this.points.left[1]=this.points["left-top"][1],this.points["left-bottom"][0]=u-22,this.points["left-bottom"][1]=this.points["left-top"][1],this.points["right-top"][0]=this.points["left-top"][0],this.points["right-top"][1]=a.right+8,this.points.right[0]=this.points.left[0],this.points.right[1]=this.points["right-top"][1],this.points["right-bottom"][0]=this.points["left-bottom"][0],this.points["right-bottom"][1]=this.points["right-top"][1],this.checkPosition(this.points[this.direction],i,o))return this.points[this.direction];var c=Q.Fw.find(function(t){return r.checkPosition(r.points[t],i,o)});return this.points[c||this.fallback]}},{key:"accessor",get:function(){return(0,O.Sv)("hint")(this.accessors,this.directive)}},{key:"fallback",get:function(){return this.points.top[0]>this.viewport.getClientRect().bottom-this.points.bottom[0]?"top":"bottom"}},{key:"checkPosition",value:function(t,e,n){var r=p(t,2),i=r[0],o=r[1],a=this.viewport.getClientRect();return i>8&&o>8&&i+n4?o-4:0),s=4;se})}),(0,b.U)(function(t){return a.invert[t||a.sorted[a.sorted.length-1]]}),(0,k.x)(),(0,s.Yr)(a.ngZone),(0,w.d)({bufferSize:1,refCount:!0})),a}return g(r)}(d.y)).\u0275fac=function(t){return new(t||i)(o.LFG(f.J_),o.LFG(o.R0b),o.LFG(c.fM))},i.\u0275prov=o.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i),T=function(){var t=function(t){a(n,t);var e=u(n);function n(){return y(this,n),e.call(this,[])}return g(n,[{key:"add",value:function(t){this.next(this.value.concat(t))}},{key:"remove",value:function(t){this.value.includes(t)&&this.next(this.value.filter(function(e){return e!==t}))}}]),n}(p.X);return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),I=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r,i,o){return y(this,n),e.call(this,function(e){return r.pipe((0,b.U)(function(){return t.nativeElement.getBoundingClientRect()}),(0,b.U)(function(t){return o.getPosition(t)}),(0,s.fL)(i),(0,C.x)(function(){return o.getPosition(l.Jy)})).subscribe(e)})}return g(n)}(d.y);return t.\u0275fac=function(e){return new(e||t)(o.LFG(o.SBq),o.LFG(O.L1),o.LFG(o.R0b),o.LFG(M.uG))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t}(),D=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r,i,o){y(this,n);var a=t?(0,v.T)((0,m.H)(0),i).pipe((0,b.U)(function(){return t.isActive}),(0,k.x)(),(0,s.Yr)(r),(0,x.R)(o)):_.E;return e.call(this,function(t){return a.subscribe(t)})}return g(n)}(d.y);return t.\u0275fac=function(e){return new(e||t)(o.LFG(S.Od,8),o.LFG(o.R0b),o.LFG(O.L1),o.LFG(h.a3,2))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t}(),L=function(){var t=function(){function t(e,n,r){y(this,t),this.tuiSanitizer=e,this.sanitizer=n,this.originals={},this.items$=new p.X(new Map),this.define(r)}return g(t,[{key:"define",value:function(t){var e=this,n=this.items$.value;Object.keys(t).forEach(function(r){e.defineIcon(r,t[r],n)}),this.items$.next(n)}},{key:"getOriginal",value:function(t){return this.originals[t]||null}},{key:"defineIcon",value:function(t,n,r){if(!r.has(t)){var i=this.parseSrc(t,n);!i||(r.set(t,i),this.originals=Object.assign(Object.assign({},this.originals),e({},t,n)))}}},{key:"parseSrc",value:function(t,e){return this.sanitize((0,E.NK)(e,t))}},{key:"sanitize",value:function(t){return this.sanitizer.bypassSecurityTrustHtml((this.tuiSanitizer?this.tuiSanitizer.sanitize(o.q3G.HTML,t):this.sanitizer.sanitize(o.q3G.HTML,t))||"")}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.LFG(f.hm,8),o.LFG(P.H7),o.LFG(f.It))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),N=function(){var t=function(){function t(e,n){y(this,t),this.win=e,this.isWebkit=n}return g(t,[{key:"correct",value:function(t){var e,n,r,i;return this.isWebkit?[t[0]+(null!==(n=null===(e=this.win.visualViewport)||void 0===e?void 0:e.offsetTop)&&void 0!==n?n:0),t[1]+(null!==(i=null===(r=this.win.visualViewport)||void 0===r?void 0:r.offsetLeft)&&void 0!==i?i:0)]:t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.LFG(O.m9),o.LFG(c.jF))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}()},79456:function(t,e,n){"use strict";n.d(e,{dx:function(){return M},Pw:function(){return S},U0:function(){return z},Gs:function(){return E},N1:function(){return I},PL:function(){return R},xp:function(){return B},It:function(){return Y},ki:function(){return Z},AA:function(){return V},rL:function(){return U},sf:function(){return H},J_:function(){return q},Au:function(){return G},$R:function(){return N},PH:function(){return F},Ln:function(){return X},HO:function(){return $},IQ:function(){return Q},TK:function(){return O},hm:function(){return tt},u_:function(){return et},V5:function(){return nt},jt:function(){return rt},S0:function(){return it},r2:function(){return at},sE:function(){return st},EO:function(){return ut},RB:function(){return T},oE:function(){return D},P7:function(){return W},cp:function(){return ot}});var r=n(74788),i=n(11927),o=n(36424),a=n(40946),s=n(68192),u=n(12057),c=n(47232),l=n(47766),h=n(66640),f=n(62579),p=n(9945),v=n(39761),g=n(88002),m=n(87519),y=n(43190),_=n(46782),b=n(18269),k=n(25917),w=n(66682),C=n(54487),x=n(77320),O=(0,i.N1)(function(){var t,e,n;return null!==(n=null===(e=null===(t=(0,r.f3M)(u.K0).defaultView)||void 0===t?void 0:t.matchMedia)||void 0===e?void 0:e.call(t,"(prefers-reduced-motion: reduce)").matches)&&void 0!==n&&n}),M=(0,i.N1)(function(){return(0,r.f3M)(O)?0:300}),S=(0,i.N1)(function(){return{value:"",params:{duration:(0,r.f3M)(M)}}}),P=((0,i.N1)(function(){return(0,r.X6Q)()}),{check:"tuiIconCheck",close:"tuiIconClose",error:"tuiIconAlertCircle",more:"tuiIconChevronRight"}),E=(0,i.JN)(P),A=new r.OlP("[TUI_DATA_LIST_ACCESSOR]");function T(t){return{provide:A,useExisting:t}}var I=new r.OlP("[TUI_DATA_LIST_HOST]");function D(t){return{provide:I,useExisting:t}}(0,i.JN)(function(t){return t.isWeekend?"weekend":"weekday"}),new r.OlP("[TUI_DOCUMENT_OR_SHADOW_ROOT]"),new r.OlP("[TUI_ELEMENT_REF]");var L=(0,i.JN)(o.L.Monday),N=(0,i.N1)((0,c.v)("months")),z=(0,i.N1)((0,c.v)("close")),F=(0,i.N1)((0,c.v)("nothingFoundMessage")),R=(0,i.N1)((0,c.v)("defaultErrorMessage")),j=((0,i.N1)((0,c.v)("spinTexts")),(0,i.N1)((0,c.v)("shortWeekDays"))),B="assets/taiga-ui/icons",V=(0,i.JN)(B),Y=(0,i.JN)({}),Z=(0,i.N1)(function(){return(0,h.ht)((0,r.f3M)(V))}),q=(0,i.JN)({mobile:768,desktopSmall:1024,desktopLarge:1280}),U=(0,i.N1)(function(){var t=(0,r.f3M)(f.m9),e=(0,r.f3M)(q);return(0,a.mL)(t,"resize").pipe((0,p.B)(),(0,v.O)(null),(0,g.U)(function(){return function(t,e){var n=e.mobile;return(0,l.ic)(t)")));if(!(null==r?void 0:r.includes(o))||!r.includes(a))return"".concat(n.replace(s,'");var i=r.indexOf(o),u=r.indexOf(a),c=i+o.length,l=u+a.length,h=r.slice(c,r.indexOf('"',c)),f=r.slice(l,r.indexOf('"',l));if(!f||!h||h.includes("%")||f.includes("%")||h.includes("em")||f.includes("em"))return n.replace(s,'').concat(n,"")}},66640:function(t,e,n){"use strict";n.d(e,{_X:function(){return o},ht:function(){return a},kL:function(){return s},mn:function(){return u},jL:function(){return c},lp:function(){return l},R9:function(){return f}});var r=n(18269),i=n(64493);function o(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"m",o="s"===i?0:.25,a=0;return t&&(a+=1.5+o),e&&(a+=1.5+o),n&&(a+=1.5+o),r&&(a+=2.5+o),a}function a(t){var e=t.endsWith("/")?t:"".concat(t,"/");return function(t){return t.startsWith("tuiIcon")?"".concat(e).concat(t,".svg").concat(r.uJ,"#").concat(t):(0,r.oA)(t)}}function s(t){return 1===t.length||r.Nq.includes(t)}function u(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"tui-hints-host";return!!(null===(e=(0,i.PU)(t))||void 0===e?void 0:e.some(function(t){return!t.closest(n)}))}function c(t){var e=t.trim();return e.startsWith("<")&&e.endsWith(">")}function l(t,e){return function(n,r){var i=n||Object.assign({},r||e);return Object.keys(t).forEach(function(e){i[e]=t[e]}),i}}var h={xxs:0,xs:1,s:2,m:3,l:4,xl:5,xxl:6};function f(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"s";return h[t]>h[e]}},31081:function(t,e,n){"use strict";n.d(e,{X:function(){return i}});var r,i=((r=i||(i={})).AD="AD",r.AE="AE",r.AF="AF",r.AG="AG",r.AI="AI",r.AL="AL",r.AM="AM",r.AO="AO",r.AR="AR",r.AT="AT",r.AU="AU",r.AW="AW",r.AZ="AZ",r.BA="BA",r.BB="BB",r.BD="BD",r.BE="BE",r.BF="BF",r.BG="BG",r.BH="BH",r.BI="BI",r.BJ="BJ",r.BL="BL",r.BM="BM",r.BN="BN",r.BO="BO",r.BQ="BQ",r.BR="BR",r.BS="BS",r.BT="BT",r.BW="BW",r.BY="BY",r.BZ="BZ",r.CA="CA",r.CD="CD",r.CF="CF",r.CG="CG",r.CH="CH",r.CI="CI",r.CL="CL",r.CM="CM",r.CN="CN",r.CO="CO",r.CR="CR",r.CU="CU",r.CV="CV",r.CW="CW",r.CY="CY",r.CZ="CZ",r.DE="DE",r.DJ="DJ",r.DK="DK",r.DM="DM",r.DO="DO",r.DZ="DZ",r.EC="EC",r.EE="EE",r.EG="EG",r.ER="ER",r.ES="ES",r.ET="ET",r.FI="FI",r.FJ="FJ",r.FK="FK",r.FM="FM",r.FR="FR",r.GA="GA",r.GB="GB",r.GD="GD",r.GE="GE",r.GF="GF",r.GH="GH",r.GI="GI",r.GL="GL",r.GM="GM",r.GN="GN",r.GP="GP",r.GQ="GQ",r.GR="GR",r.GT="GT",r.GW="GW",r.GY="GY",r.HK="HK",r.HN="HN",r.HR="HR",r.HT="HT",r.HU="HU",r.ID="ID",r.IE="IE",r.IL="IL",r.IN="IN",r.IQ="IQ",r.IR="IR",r.IS="IS",r.IT="IT",r.JM="JM",r.JO="JO",r.JP="JP",r.KE="KE",r.KG="KG",r.KH="KH",r.KM="KM",r.KN="KN",r.KP="KP",r.KR="KR",r.KW="KW",r.KY="KY",r.KZ="KZ",r.LA="LA",r.LB="LB",r.LC="LC",r.LI="LI",r.LK="LK",r.LR="LR",r.LS="LS",r.LT="LT",r.LU="LU",r.LV="LV",r.LY="LY",r.MA="MA",r.MC="MC",r.MD="MD",r.ME="ME",r.MF="MF",r.MG="MG",r.MK="MK",r.ML="ML",r.MM="MM",r.MN="MN",r.MO="MO",r.MQ="MQ",r.MR="MR",r.MS="MS",r.MT="MT",r.MU="MU",r.MV="MV",r.MW="MW",r.MX="MX",r.MY="MY",r.MZ="MZ",r.NA="NA",r.NC="NC",r.NE="NE",r.NG="NG",r.NI="NI",r.NL="NL",r.NO="NO",r.NP="NP",r.NZ="NZ",r.OM="OM",r.PA="PA",r.PE="PE",r.PF="PF",r.PG="PG",r.PH="PH",r.PK="PK",r.PL="PL",r.PT="PT",r.PW="PW",r.PY="PY",r.QA="QA",r.RE="RE",r.RO="RO",r.RS="RS",r.RU="RU",r.RW="RW",r.SA="SA",r.SB="SB",r.SC="SC",r.SD="SD",r.SE="SE",r.SG="SG",r.SH="SH",r.SI="SI",r.SK="SK",r.SL="SL",r.SM="SM",r.SN="SN",r.SO="SO",r.SR="SR",r.ST="ST",r.SV="SV",r.SX="SX",r.SY="SY",r.SZ="SZ",r.TC="TC",r.TD="TD",r.TG="TG",r.TH="TH",r.TJ="TJ",r.TL="TL",r.TM="TM",r.TN="TN",r.TO="TO",r.TR="TR",r.TT="TT",r.TW="TW",r.TZ="TZ",r.UA="UA",r.UG="UG",r.US="US",r.UY="UY",r.UZ="UZ",r.VC="VC",r.VE="VE",r.VG="VG",r.VN="VN",r.VU="VU",r.WS="WS",r.XK="XK",r.YE="YE",r.YT="YT",r.ZA="ZA",r.ZM="ZM",r.ZW="ZW",i)},47232:function(t,n,r){"use strict";var i;r.d(n,{v:function(){return p}});var o=r(74788),a=r(31081),s=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({name:"english"},{months:["January","February","March","April","May","June","July","August","September","October","November","December"],close:"Close",nothingFoundMessage:"Nothing found",defaultErrorMessage:"Value is invalid",spinTexts:["Previous","Next"],shortWeekDays:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],countries:(i={},e(i,a.X.AD,"Andorra"),e(i,a.X.AE,"United Arab Emirates"),e(i,a.X.AF,"Afghanistan"),e(i,a.X.AG,"Antigua and Barbuda"),e(i,a.X.BL,"Saint Barth\xe9lemy"),e(i,a.X.AI,"Anguilla"),e(i,a.X.AL,"Albania"),e(i,a.X.AM,"Armenia"),e(i,a.X.AO,"Angola"),e(i,a.X.AR,"Argentina"),e(i,a.X.AT,"Austria"),e(i,a.X.AU,"Australia"),e(i,a.X.AW,"Aruba"),e(i,a.X.AZ,"Azerbaijan"),e(i,a.X.BA,"Bosnia and Herzegovina"),e(i,a.X.BB,"Barbados"),e(i,a.X.BD,"Bangladesh"),e(i,a.X.BE,"Belgium"),e(i,a.X.BF,"Burkina Faso"),e(i,a.X.BG,"Bulgaria"),e(i,a.X.BH,"Bahrain"),e(i,a.X.BI,"Burundi"),e(i,a.X.BJ,"Benin"),e(i,a.X.GF,"Guyana"),e(i,a.X.BM,"Bermuda"),e(i,a.X.BN,"Brunei Darussalam"),e(i,a.X.BO,"Bolivia"),e(i,a.X.BQ,"Bonaire, Sint Eustatius and Saba"),e(i,a.X.BR,"Brazil"),e(i,a.X.BS,"Bahamas"),e(i,a.X.BT,"Bhutan"),e(i,a.X.BW,"Botswana"),e(i,a.X.BY,"Belarus"),e(i,a.X.BZ,"Belize"),e(i,a.X.CA,"Canada"),e(i,a.X.CD,"Dem. Rep. Congo (Kinshasa)"),e(i,a.X.CF,"Central African Republic"),e(i,a.X.CG,"Congo (Brazzaville)"),e(i,a.X.CH,"Switzerland"),e(i,a.X.CI,"Ivory Coast"),e(i,a.X.CL,"Chile"),e(i,a.X.CM,"Cameroon"),e(i,a.X.CN,"China"),e(i,a.X.CO,"Colombia"),e(i,a.X.CR,"Costa Rica"),e(i,a.X.CU,"Cuba"),e(i,a.X.CV,"Cape Verde"),e(i,a.X.CW,"Cura\xe7ao"),e(i,a.X.CY,"Cyprus"),e(i,a.X.CZ,"Czech Republic"),e(i,a.X.DE,"Germany"),e(i,a.X.DJ,"Djibouti"),e(i,a.X.DK,"Denmark"),e(i,a.X.DM,"Dominica"),e(i,a.X.DO,"Dominican Republic"),e(i,a.X.DZ,"Algeria"),e(i,a.X.EC,"Ecuador"),e(i,a.X.EE,"Estonia"),e(i,a.X.EG,"Egypt"),e(i,a.X.ER,"Eritrea"),e(i,a.X.ES,"Spain"),e(i,a.X.ET,"Ethiopia"),e(i,a.X.FI,"Finland"),e(i,a.X.FJ,"Fiji"),e(i,a.X.FK,"Falkland Islands"),e(i,a.X.FM,"F.S. of Micronesia"),e(i,a.X.FR,"France"),e(i,a.X.GA,"Gabon"),e(i,a.X.GB,"United Kingdom"),e(i,a.X.GD,"Grenada"),e(i,a.X.GE,"Georgia"),e(i,a.X.GP,"Guadeloupe"),e(i,a.X.GH,"Ghana"),e(i,a.X.GI,"Gibraltar"),e(i,a.X.GL,"Greenland"),e(i,a.X.GM,"Gambia"),e(i,a.X.GN,"Guinea"),e(i,a.X.MF,"Saint-Martin"),e(i,a.X.GQ,"Equatorial Guinea"),e(i,a.X.GR,"Greece"),e(i,a.X.GT,"Guatemala"),e(i,a.X.GW,"Guinea-Bissau"),e(i,a.X.GY,"Guyana"),e(i,a.X.HK,"Hong Kong"),e(i,a.X.HN,"Honduras"),e(i,a.X.HR,"Croatia"),e(i,a.X.HT,"Haiti"),e(i,a.X.HU,"Hungary"),e(i,a.X.ID,"Indonesia"),e(i,a.X.IE,"Ireland"),e(i,a.X.IL,"Israel"),e(i,a.X.IN,"India"),e(i,a.X.IQ,"Iraq"),e(i,a.X.IR,"Iran"),e(i,a.X.IS,"Iceland"),e(i,a.X.IT,"Italy"),e(i,a.X.JM,"Jamaica"),e(i,a.X.JO,"Jordan"),e(i,a.X.JP,"Japan"),e(i,a.X.KE,"Kenya"),e(i,a.X.KG,"Kyrgyzstan"),e(i,a.X.KH,"Cambodia"),e(i,a.X.KM,"Comoros"),e(i,a.X.KN,"Saint Kitts and Nevis"),e(i,a.X.KP,"Korean PDR"),e(i,a.X.KR,"Rep. Korea"),e(i,a.X.KW,"Kuwait"),e(i,a.X.KY,"Cayman Islands"),e(i,a.X.KZ,"Kazakhstan"),e(i,a.X.LA,"Laos"),e(i,a.X.LB,"Lebanon"),e(i,a.X.LC,"Saint Lucia"),e(i,a.X.LI,"Liechtenstein"),e(i,a.X.LK,"Sri Lanka"),e(i,a.X.LR,"Liberia"),e(i,a.X.LS,"Lesotho"),e(i,a.X.LT,"Lithuania"),e(i,a.X.LU,"Luxembourg"),e(i,a.X.LV,"Latvia"),e(i,a.X.LY,"Libya"),e(i,a.X.MA,"Morocco"),e(i,a.X.MC,"Monaco"),e(i,a.X.MD,"Moldova"),e(i,a.X.ME,"Montenegro"),e(i,a.X.MQ,"Martinique"),e(i,a.X.MG,"Madagascar"),e(i,a.X.MK,"Rep. of North Macedonia"),e(i,a.X.ML,"Mali"),e(i,a.X.MM,"Burma (Myanmar)"),e(i,a.X.MN,"Mongolia"),e(i,a.X.MO,"Macau"),e(i,a.X.RE,"R\xe9union"),e(i,a.X.MR,"Mauritania"),e(i,a.X.MS,"Montserrat"),e(i,a.X.MT,"Malta"),e(i,a.X.MU,"Mauritius"),e(i,a.X.MV,"Maldives"),e(i,a.X.MW,"Malawi"),e(i,a.X.MX,"Mexico"),e(i,a.X.MY,"Malaysia"),e(i,a.X.MZ,"Mozambique"),e(i,a.X.NA,"Namibia"),e(i,a.X.NC,"New Caledonia"),e(i,a.X.NE,"Niger"),e(i,a.X.NG,"Nigeria"),e(i,a.X.NI,"Nicaragua"),e(i,a.X.NL,"Netherlands"),e(i,a.X.NO,"Norway"),e(i,a.X.NP,"Nepal"),e(i,a.X.NZ,"New Zealand"),e(i,a.X.OM,"Oman"),e(i,a.X.PA,"Panama"),e(i,a.X.PE,"Peru"),e(i,a.X.PF,"French Polynesia (Tahiti)"),e(i,a.X.PG,"Papua New Guinea"),e(i,a.X.PH,"Philippines"),e(i,a.X.PK,"Pakistan"),e(i,a.X.PL,"Poland"),e(i,a.X.PT,"Portugal"),e(i,a.X.PW,"Palau"),e(i,a.X.PY,"Paraguay"),e(i,a.X.QA,"Qatar"),e(i,a.X.YT,"Mayotte"),e(i,a.X.RO,"Romania"),e(i,a.X.RS,"Serbia"),e(i,a.X.RU,"Russia"),e(i,a.X.RW,"Rwanda"),e(i,a.X.SA,"Saudi Arabia"),e(i,a.X.SB,"Solomon Islands"),e(i,a.X.SC,"Seychelles"),e(i,a.X.SD,"Sudan"),e(i,a.X.SE,"Sweden"),e(i,a.X.SG,"Singapore"),e(i,a.X.SH,"Saint Helena"),e(i,a.X.SI,"Slovenia"),e(i,a.X.SK,"Slovakia"),e(i,a.X.SL,"Sierra Leone"),e(i,a.X.SM,"San Marino"),e(i,a.X.SN,"Senegal"),e(i,a.X.SO,"Somalia"),e(i,a.X.SR,"Suriname"),e(i,a.X.ST,"Sao Tome and Principe"),e(i,a.X.SV,"El Salvador"),e(i,a.X.SX,"Sint Maarten"),e(i,a.X.SY,"Syrian Arab Republic"),e(i,a.X.SZ,"Swaziland"),e(i,a.X.TC,"Turks and Caicos"),e(i,a.X.TD,"Chad"),e(i,a.X.TG,"Togo"),e(i,a.X.TH,"Thailand"),e(i,a.X.TJ,"Tajikistan"),e(i,a.X.TL,"East Timor"),e(i,a.X.TM,"Turkmenistan"),e(i,a.X.TN,"Tunisia"),e(i,a.X.TO,"Tonga"),e(i,a.X.TR,"Turkey"),e(i,a.X.TT,"Trinidad and Tobago"),e(i,a.X.TW,"Taiwan"),e(i,a.X.TZ,"Tanzania"),e(i,a.X.UA,"Ukraine"),e(i,a.X.UG,"Uganda"),e(i,a.X.US,"USA"),e(i,a.X.UY,"Uruguay"),e(i,a.X.UZ,"Uzbekistan"),e(i,a.X.VC,"Saint Vincent and the Grenadines"),e(i,a.X.VE,"Venezuela"),e(i,a.X.VG,"British Virgin Islands"),e(i,a.X.VN,"Vietnam"),e(i,a.X.VU,"Vanuatu"),e(i,a.X.WS,"Samoa"),e(i,a.X.XK,"Kosovo"),e(i,a.X.YE,"Yemen"),e(i,a.X.ZA,"South Africa"),e(i,a.X.ZM,"Zambia"),e(i,a.X.ZW,"Zimbabwe"),i)}),{cancel:"Cancel",done:"Done",more:"More",otherDate:"Other date...",showAll:"Show all",hide:"Hide",mobileCalendarTexts:["Choose day","Choose range"],range:["from","to"],countTexts:["Plus","Minus"],time:{"HH:MM":"HH:MM","HH:MM:SS":"HH:MM:SS","HH:MM:SS.MSS":"HH:MM:SS.MSS"},dateTexts:{DMY:"dd.mm.yyyy",MDY:"mm.dd.yyyy",YMD:"yyyy.mm.dd"},digitalInformationUnits:["B","KiB","MiB"],passwordTexts:["Show password","Hide password"],copyTexts:["Copy","Copied"],shortCalendarMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],pagination:["Previous page","Next page"],fileTexts:{loadingError:"Upload failed",preview:"Preview",remove:"Remove"},inputFileTexts:{defaultLabelSingle:"or drop\xa0it\xa0here",defaultLabelMultiple:"or drop\xa0them\xa0here",defaultLinkSingle:"Choose a file",defaultLinkMultiple:"Choose files",maxSizeRejectionReason:"File is too large ",formatRejectionReason:"Wrong file type",drop:"Drop file here",dropMultiple:"Drop files here"},multiSelectTexts:{all:"Select all",none:"Select none"},prompt:{yes:"Yes",no:"No"}}),{showHideText:"Show/Hide",paginationTexts:{pages:"Pages",linesPerPage:"Lines per page",of:"of"}}),{cardNumber:["Number","Card number"],cardExpiry:["Expires","Valid through"]}),{colorSelectorModeNames:["Solid color","Gradient"],toolbarTools:{undo:"Undo",redo:"Redo",font:"Font",fontStyle:"Font style",fontSize:"Font size",bold:"Bold",italic:"Italic",underline:"Underline",strikeThrough:"Strike through",justify:"Justify",justifyLeft:"Justify left",justifyCenter:"Justify center",justifyRight:"Justify right",justifyFull:"Justify full",list:"List",indent:"Indent",outdent:"Outdent",unorderedList:"Unordered list",orderedList:"Ordered list",quote:"Quote",foreColor:"Color",backColor:"Background color",hiliteColor:"Highlight color",clear:"Clear",link:"Link",attach:"Attach file",tex:"Insert TeX",code:"Code",image:"Insert image",insertHorizontalRule:"Insert horizontal rule",superscript:"Superscript",subscript:"Subscript",insertTable:"Insert table",insertGroup:"Insert group",hiliteGroup:"Hilite group",removeGroup:"Remove group",insertAnchor:"Insert anchor",mergeCells:"Merge cells",splitCells:"Split cells",rowsColumnsManaging:"Managing rows and columns",cellColor:"Cell color",setDetails:"Details",removeDetails:"Remove details"},editorEditLink:{urlExample:"example.com",anchorExample:"anchor"},editorTableCommands:[["Insert column before","Insert column after"],["Insert row before","Insert row after"],["Delete column","Delete row"]],editorCodeOptions:["Code in the text","Code in block"],editorFontOptions:{small:"Small",large:"Large",normal:"Normal",title:"Title",subtitle:"Subtitle"}}),{previewTexts:{rotate:"Rotate"},zoomTexts:{zoomOut:"Zoom out",zoomIn:"Zoom in",reset:"Reset"}}),u=r(25917),c=new o.OlP("[TUI_DEFAULT_LANGUAGE]",{factory:function(){return s}}),l=new o.OlP("[TUI_LANGUAGE]",{factory:function(){return(0,u.of)((0,o.f3M)(c))}});new o.OlP("[TUI_LANGUAGE_LOADER]"),new o.OlP("[TUI_LANGUAGE_STORAGE_KEY]",{factory:function(){return"tuiLanguage"}});var h=r(95639),f=r(43190),d=r(88002);function p(t){return function(){return(0,o.f3M)(l).pipe((0,f.w)(function(t){return(0,h.b)(t)?t:(0,u.of)(t)}),(0,d.U)(function(e){return e[t]}))}}},44711:function(t,e,n){"use strict";n.d(e,{p:function(){return N},s:function(){return z}});var r=n(74788),i=n(87862),o=n(76480),s=n(57179),c=n(99434),l=n(11927),h=n(77320),f=n(54789),d=n(91489),p=n(89570);function v(t,e){if(1&t&&r._UZ(0,"tui-svg",2),2&t){var n=e.polymorpheusOutlet,i=r.oxw();r.ekj("t-mark_on",!i.empty),r.Q6J("src",n)}}var m,_=function(t){return{$implicit:t}},b=["*"],k=(0,l.JN)({size:"m",appearances:{unchecked:h.Nm.Outline,checked:h.Nm.Primary,indeterminate:h.Nm.Primary},icons:{checked:function(t){return"m"===t.$implicit?"tuiIconCheck":"tuiIconCheckLarge"},indeterminate:function(t){return"m"===t.$implicit?"tuiIconMinus":"tuiIconMinusLarge"}}}),w=((m=function(){function t(e){y(this,t),this.options=e,this.size=this.options.size,this.disabled=!1,this.focused=!1,this.hovered=!1,this.pressed=!1,this.invalid=!1,this.icon=this.options.icons.checked,this.value=!1}return g(t,[{key:"valueSetter",set:function(t){!1!==t&&this.setCurrentIcon(t),this.value=t}},{key:"appearance",get:function(){switch(this.value){case!1:return this.options.appearances.unchecked;case!0:return this.options.appearances.checked;default:return this.options.appearances.indeterminate}}},{key:"empty",get:function(){return!1===this.value}},{key:"setCurrentIcon",value:function(t){this.icon=null===t?this.options.icons.indeterminate:this.options.icons.checked}}]),t}()).\u0275fac=function(t){return new(t||m)(r.Y36(k))},m.\u0275cmp=r.Xpm({type:m,selectors:[["tui-primitive-checkbox"]],hostVars:1,hostBindings:function(t,e){2&t&&r.uIk("data-size",e.size)},inputs:{size:"size",disabled:"disabled",focused:"focused",hovered:"hovered",pressed:"pressed",invalid:"invalid",valueSetter:["value","valueSetter"]},ngContentSelectors:b,decls:3,vars:10,consts:[["tuiWrapper","",3,"active","appearance","disabled","focus","hover","invalid"],["class","t-mark",3,"t-mark_on","src",4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-mark",3,"src"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"div",0),r.YNc(1,v,1,3,"tui-svg",1),r.Hsn(2),r.qZA()),2&t&&(r.Q6J("active",e.pressed)("appearance",e.appearance)("disabled",e.disabled)("focus",e.focused)("hover",e.hovered)("invalid",e.invalid),r.xp6(1),r.Q6J("polymorpheusOutlet",e.icon)("polymorpheusOutletContext",r.VKq(8,_,e.size)))},directives:[d.o,p.Li,f.PN],styles:["[_nghost-%COMP%]{display:block;font-size:0;flex-shrink:0}[data-size=m][_nghost-%COMP%]{width:1rem;height:1rem;border-radius:var(--tui-radius-xs)}[data-size=l][_nghost-%COMP%]{width:1.5rem;height:1.5rem;border-radius:var(--tui-radius-s)}.t-mark[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:block;width:100%;height:100%;transform:scale(0)}.t-mark_on[_ngcontent-%COMP%]{transform:scale(1)}"],changeDetection:0}),m),C=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[f.EI,d.W,p.wq]]}),t}(),x=n(79456),O=n(12130),M=n(44541),S=n(13633),P=n(75059),E=n(88491),A=n(12057),T=["focusableElement"],I=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,t,i)).options=r,o.size=o.options.size,o}return g(n,[{key:"nativeFocusableElement",get:function(){return!this.focusableElement||this.computedDisabled?null:this.focusableElement.nativeElement}},{key:"focused",get:function(){return(0,s.V8)(this.nativeFocusableElement)}},{key:"computedFocusable",get:function(){return this.interactive&&this.focusable}},{key:"onChecked",value:function(t){this.value=t}},{key:"onFocused",value:function(t){this.updateFocused(t)}},{key:"onFocusVisible",value:function(t){this.updateFocusVisible(t)}}]),n}(o.F9);return t.\u0275fac=function(e){return new(e||t)(r.Y36(i.a5,10),r.Y36(k),r.Y36(r.sBO))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-checkbox"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(T,5),2&t)&&(r.iGM(n=r.CRH())&&(e.focusableElement=n.first))},hostVars:1,hostBindings:function(t,e){2&t&&r.uIk("data-size",e.size)},inputs:{size:"size"},features:[r._Bn([(0,c.FT)(t),(0,o.wB)(t)]),r.qOj],decls:3,vars:11,consts:[[3,"disabled","focused","hovered","invalid","pressed","size","value"],["automation-id","tui-checkbox__native","type","checkbox",1,"t-native",3,"disabled","id","tuiFocusable","tuiChecked","tuiCheckedChange","tuiFocusedChange","tuiFocusVisibleChange"],["focusableElement",""]],template:function(t,e){1&t&&(r.TgZ(0,"tui-primitive-checkbox",0),r.TgZ(1,"input",1,2),r.NdJ("tuiCheckedChange",function(t){return e.value=t})("tuiFocusedChange",function(t){return e.onFocused(t)})("tuiFocusVisibleChange",function(t){return e.onFocusVisible(t)}),r.qZA(),r.qZA()),2&t&&(r.Q6J("disabled",e.disabled)("focused",e.computedFocusVisible)("hovered",e.pseudoHover)("invalid",e.computedInvalid)("pressed",e.pseudoActive)("size",e.size)("value",e.value),r.xp6(1),r.Q6J("disabled",e.disabled)("id",e.id)("tuiFocusable",e.computedFocusable)("tuiChecked",e.value))},directives:[w,M.t,S.t,P.U,E.q],styles:["[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:block;flex-shrink:0}[data-size=m][_nghost-%COMP%]{width:1rem;height:1rem}[data-size=l][_nghost-%COMP%]{width:1.5rem;height:1.5rem}._readonly[_nghost-%COMP%] tui-primitive-checkbox[_ngcontent-%COMP%]{pointer-events:none}.t-native[_ngcontent-%COMP%]{padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.t-native[_ngcontent-%COMP%]:-webkit-autofill, .t-native[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-native[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}"],changeDetection:0}),t}(),D=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[A.ez,M.S,S.u,P.F,E.c,C]]}),t}(),L=["*"],N=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r,i,o){var a;return y(this,n),(a=e.call(this,t,r)).mode$=i,a.options=o,a.size=a.options.size,a}return g(n,[{key:"focused",get:function(){return(0,s.V8)(this.nativeFocusableElement)}},{key:"nativeFocusableElement",get:function(){var t,e;return null!==(e=null===(t=this.checkbox)||void 0===t?void 0:t.nativeFocusableElement)&&void 0!==e?e:null}},{key:"onFocused",value:function(t){this.updateFocused(t)}},{key:"onModelChange",value:function(t){this.value=t}}]),n}(o.F9);return t.\u0275fac=function(e){return new(e||t)(r.Y36(i.a5,10),r.Y36(r.sBO),r.Y36(x.Au),r.Y36(k))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-checkbox-labeled"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(I,5),2&t)&&(r.iGM(n=r.CRH())&&(e.checkbox=n.first))},hostVars:1,hostBindings:function(t,e){1&t&&r.NdJ("$.data-mode.attr",function(){return e.mode$}),2&t&&r.uIk("data-size",e.size)},inputs:{size:"size"},features:[r._Bn([(0,c.FT)(t),(0,o.wB)(t),O.CV]),r.qOj],ngContentSelectors:L,decls:4,vars:12,consts:[[1,"t-wrapper"],[3,"disabled","focusable","nativeId","pseudoActive","pseudoFocus","pseudoHover","pseudoInvalid","readOnly","size","ngModel","ngModelChange","focusedChange"],[1,"t-content"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"label",0),r.TgZ(1,"tui-checkbox",1),r.NdJ("ngModelChange",function(t){return e.value=t})("focusedChange",function(t){return e.onFocused(t)}),r.qZA(),r.TgZ(2,"div",2),r.Hsn(3),r.qZA(),r.qZA()),2&t&&(r.xp6(1),r.Q6J("disabled",e.computedDisabled)("focusable",e.focusable)("nativeId",e.nativeId)("pseudoActive",e.pseudoActive)("pseudoFocus",e.pseudoFocus)("pseudoHover",e.pseudoHover)("pseudoInvalid",e.computedInvalid)("readOnly",e.readOnly)("size",e.size)("ngModel",e.value),r.xp6(1),r.ekj("t-content_disabled",e.computedDisabled))},directives:[I,i.JJ,i.On],styles:["[_nghost-%COMP%]{position:relative;display:block;line-height:0}._disabled[_nghost-%COMP%], ._readonly[_nghost-%COMP%]{pointer-events:none}.t-wrapper[_ngcontent-%COMP%]{display:inline-flex;max-width:100%;cursor:pointer}._disabled[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{cursor:default}[data-mode=onDark][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{color:var(--tui-text-01-night)}.t-content[_ngcontent-%COMP%]{font:var(--tui-font-text-s);line-height:1rem;word-wrap:break-word;min-width:0}.t-content_disabled[_ngcontent-%COMP%]{opacity:var(--tui-disabled-opacity)}[data-size=m][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{margin-left:.5rem}[data-size=l][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{font:var(--tui-font-text-m);margin-left:.75rem}"],changeDetection:0}),t}(),z=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[A.ez,i.u5,D]]}),t}()},21673:function(t,e,n){"use strict";n.d(e,{K3:function(){return x},wU:function(){return O},Qf:function(){return M}});var r,i=n(74788),o=n(87862),s=n(221),c=n(76480),l=n(57179),h=n(99434),f=n(23917),d=n(94853),p=n(79588),v=n(75111),m=n(79456),_=n(43631),b=n(93213),k=n(12057),w=["*",[["input"]]],C=["*","input"],x=(r=function(t){a(n,t);var e=u(n);function n(t,r,i,o){var a;return y(this,n),(a=e.call(this,t,r,o)).textfieldSize=i,a.open=!1,a}return g(n,[{key:"size",get:function(){return this.textfieldSize.size}},{key:"nativeFocusableElement",get:function(){return this.computedDisabled||!this.textfield?null:this.textfield.nativeFocusableElement}},{key:"focused",get:function(){return(0,l.V8)(this.nativeFocusableElement)||!!this.hostedDropdown&&this.hostedDropdown.focused}},{key:"canOpen",get:function(){return this.interactive&&!!this.datalist}},{key:"onValueChange",value:function(t){this.value=t,this.open=!0}},{key:"onActiveZone",value:function(t){this.updateFocused(t)}},{key:"handleOption",value:function(t){this.setNativeValue(String(t)),this.focusInput(),this.value=String(t),this.open=!1}},{key:"getFallbackValue",value:function(){return""}},{key:"focusInput",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.nativeFocusableElement&&this.nativeFocusableElement.focus({preventScroll:t})}},{key:"setNativeValue",value:function(t){this.nativeFocusableElement&&(this.nativeFocusableElement.value=t)}}]),n}(c.M$),r.\u0275fac=function(t){return new(t||r)(i.Y36(o.a5,10),i.Y36(i.sBO),i.Y36(p.kI),i.Y36(c.FX,8))},r.\u0275cmp=i.Xpm({type:r,selectors:[["tui-input"]],contentQueries:function(t,e,n){var r;1&t&&i.Suo(n,v.gX,5,i.Rgc),2&t&&i.iGM(r=i.CRH())&&(e.datalist=r.first)},viewQuery:function(t,e){var n;1&t&&(i.Gf(f.o1,5),i.Gf(d.yc,5)),2&t&&(i.iGM(n=i.CRH())&&(e.hostedDropdown=n.first),i.iGM(n=i.CRH())&&(e.textfield=n.first))},hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("data-size",e.size)},features:[i._Bn([b.E2,(0,h.FT)(r),(0,m.oE)(r),(0,c.wB)(r)],[b.yn]),i.qOj],ngContentSelectors:C,decls:4,vars:11,consts:[[1,"t-hosted",3,"canOpen","content","open","openChange","tuiActiveZoneChange"],["automation-id","tui-input__textfield",1,"t-textfield",3,"disabled","focusable","invalid","nativeId","pseudoFocus","pseudoHover","readOnly","value","valueChange"]],template:function(t,e){1&t&&(i.F$t(w),i.TgZ(0,"tui-hosted-dropdown",0),i.NdJ("openChange",function(t){return e.open=t})("tuiActiveZoneChange",function(t){return e.onActiveZone(t)}),i.TgZ(1,"tui-primitive-textfield",1),i.NdJ("valueChange",function(t){return e.onValueChange(t)}),i.Hsn(2),i.Hsn(3,1,["ngProjectAs","input",5,["input"]]),i.qZA(),i.qZA()),2&t&&(i.Q6J("canOpen",e.canOpen)("content",e.datalist||"")("open",e.open),i.xp6(1),i.Q6J("disabled",e.computedDisabled)("focusable",e.computedFocusable)("invalid",e.computedInvalid)("nativeId",e.nativeId)("pseudoFocus",e.computedFocused)("pseudoHover",e.pseudoHover)("readOnly",e.readOnly)("value",e.value))},directives:[f.o1,s.e,d.yc,d.B1],styles:["[_nghost-%COMP%]{display:block;border-radius:var(--tui-radius-m);text-align:left}._disabled[_nghost-%COMP%]{pointer-events:none}.t-hosted[_ngcontent-%COMP%]{display:block;border-radius:inherit}.t-textfield[_ngcontent-%COMP%]{border-radius:inherit;text-align:inherit}"],changeDetection:0}),r),O=function(){var t,e=function(t){a(n,t);var e=u(n);function n(){return y(this,n),e.apply(this,arguments)}return g(n,[{key:"onValueChange",value:function(t){this.host.onValueChange(t)}}]),n}(_.D1);return e.\u0275fac=function(n){return(t||(t=i.n5z(e)))(n||e)},e.\u0275dir=i.lG2({type:e,selectors:[["tui-input"]],features:[i._Bn([(0,m.cp)(e)]),i.qOj]}),e}(),M=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[k.ez,s.A,d.KW,f.jh]]}),t}()},93213:function(t,e,n){"use strict";n.d(e,{yn:function(){return u},E2:function(){return c}});var r=n(74788),i=n(79456);n(88002);var o=n(98952),a=(n(75046),n(25917),n(54487)),s=n(87862),u=(0,o.fx)({limitWidth:"fixed",align:"right"}),c={provide:i.sE,deps:[[new r.FiY,new r.PiD,s.JU]],useFactory:a.y}},75046:function(t,n,r){"use strict";var o;r.d(n,{UV:function(){return M},Ys:function(){return P},RZ:function(){return E},ue:function(){return O},WO:function(){return A},Z4:function(){return T}});var s=r(74788),c=r(33770),l=r(11927),h=(r(18939),r(36424)),d=r(27788),p=r(85648),v=12;(0,l.JN)("DMY"),(0,l.JN)(".");var m=function(t){function e(t){y(this,e),this.year=t}return g(e,[{key:"formattedYear",get:function(){return String(this.year).padStart(4,"0")}},{key:"isLeapYear",get:function(){return e.isLeapYear(this.year)}},{key:"absoluteLeapYears",get:function(){return e.getAbsoluteLeapYears(this.year)}},{key:"yearBefore",value:function(t){var e=t.year;return this.year=e}},{key:"yearAfter",value:function(t){var e=t.year;return this.year>e}},{key:"append",value:function(t){var n=t.year,r=void 0===n?0:n;return new e(this.year+r)}},{key:"toString",value:function(){return this.formattedYear}},{key:"valueOf",value:function(){return this.year}},{key:Symbol.toPrimitive,value:function(t){return Date.prototype[Symbol.toPrimitive].call(this,t)}},{key:"toJSON",value:function(){return this.formattedYear}}],[{key:"isValidYear",value:function(t){return Number.isInteger(t)&&(0,p.wf)(t,0,1e4)}},{key:"isLeapYear",value:function(t){return t%400==0||t%4==0&&t%100!=0}},{key:"getAbsoluteLeapYears",value:function(t){return Math.ceil(t/400)+(Math.ceil(t/4)-Math.ceil(t/100))}},{key:"lengthBetween",value:function(t,e){return e.year-t.year}},{key:"normalizeYearPart",value:function(t){return(0,p.G1)(t,0,9999)}}]),e}(),_=function(t){a(n,t);var e=u(n);function n(t,r){var i;return y(this,n),(i=e.call(this,t)).month=r,i}return g(n,[{key:"formattedMonthPart",get:function(){return String(this.month+1).padStart(2,"0")}},{key:"daysCount",get:function(){return n.getMonthDaysCount(this.month,this.isLeapYear)}},{key:"monthBefore",value:function(t){return this.yearBefore(t)||this.yearSame(t)&&this.month=t.month}},{key:"monthAfter",value:function(t){return this.yearAfter(t)||this.yearSame(t)&&this.month>t.month}},{key:"append",value:function(t){var e=t.year,r=void 0===e?0:e,i=t.month,o=void 0===i?0:i,a=(this.year+r)*v+this.month+o;return new n(Math.floor(a/v),a%v)}},{key:"toString",value:function(){return"".concat(this.formattedMonthPart,".").concat(this.formattedYear)}},{key:"valueOf",value:function(){return this.toLocalNativeDate().valueOf()}},{key:"toJSON",value:function(){return"".concat(i(f(n.prototype),"toJSON",this).call(this),"-").concat(this.formattedMonthPart)}},{key:"toLocalNativeDate",value:function(){return new Date(this.year,this.month)}},{key:"toUtcNativeDate",value:function(){return new Date(Date.UTC(this.year,this.month))}}],[{key:"isValidMonth",value:function(t,e){return m.isValidYear(t)&&n.isValidMonthPart(e)}},{key:"getMonthDaysCount",value:function(t,e){switch(t){case h.B.February:return e?29:28;case h.B.April:case h.B.June:case h.B.September:case h.B.November:return 30;default:return 31}}},{key:"currentLocal",value:function(){var t=new Date;return new n(t.getFullYear(),t.getMonth())}},{key:"currentUtc",value:function(){var t=new Date;return new n(t.getUTCFullYear(),t.getUTCMonth())}},{key:"lengthBetween",value:function(t,e){return e.month+12*e.year-(t.month+12*t.year)}},{key:"normalizeMonthPart",value:function(t){return(0,p.G1)(t,0,11)}},{key:"isValidMonthPart",value:function(t){return Number.isInteger(t)&&(0,p.wf)(t,0,12)}}]),n}(m),b=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,t,r)).day=i,o}return g(n,[{key:"formattedDayPart",get:function(){return String(this.day).padStart(2,"0")}},{key:"isWeekend",get:function(){var t=this.dayOfWeek(!1);return t===h.L.Saturday||t===h.L.Sunday}},{key:"dayOfWeek",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=t?this.toLocalNativeDate().getDay()-1:this.toLocalNativeDate().getDay();return e<0?6:e}},{key:"dayBefore",value:function(t){return this.monthBefore(t)||this.monthSame(t)&&this.day=t.day}},{key:"dayAfter",value:function(t){return this.monthAfter(t)||this.monthSame(t)&&this.day>t.day}},{key:"dayLimit",value:function(t,e){return null!==t&&this.dayBefore(t)?t:null!==e&&this.dayAfter(e)?e:this}},{key:"append",value:function(t){for(var e=t.year,r=void 0===e?0:e,i=t.month,o=void 0===i?0:i,a=t.day,s=void 0===a?0:a,u=(this.year+r)*v+this.month+o,c=Math.floor(u/v),l=u%v,f=Math.min(this.day,_.getMonthDaysCount(l,m.isLeapYear(c)))+s;f>_.getMonthDaysCount(l,m.isLeapYear(c));)f-=_.getMonthDaysCount(l,m.isLeapYear(c)),l===h.B.December?(c++,l=h.B.January):l++;for(;f<1;)l===h.B.January?(c--,l=h.B.December):l--,f+=_.getMonthDaysCount(l,m.isLeapYear(c));return new n(c,l,f)}},{key:"getFormattedDay",value:function(t,e){var n=this.formattedDayPart,r=this.formattedMonthPart,i=this.formattedYear;switch(t){case"YMD":return"".concat(i).concat(e).concat(r).concat(e).concat(n);case"MDY":return"".concat(r).concat(e).concat(n).concat(e).concat(i);default:return"".concat(n).concat(e).concat(r).concat(e).concat(i)}}},{key:"toString",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"DMY",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:".";return this.getFormattedDay(t,e)}},{key:"toJSON",value:function(){return"".concat(i(f(n.prototype),"toJSON",this).call(this),"-").concat(this.formattedDayPart)}},{key:"toLocalNativeDate",value:function(){return new Date(this.year,this.month,this.day)}},{key:"toUtcNativeDate",value:function(){return new Date(Date.UTC(this.year,this.month,this.day))}}],[{key:"fromLocalNativeDate",value:function(t){return new n(t.getFullYear(),t.getMonth(),t.getDate())}},{key:"fromUtcNativeDate",value:function(t){return new n(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate())}},{key:"isValidDay",value:function(t,e,n){return _.isValidMonth(t,e)&&Number.isInteger(n)&&(0,p.wf)(n,1,_.getMonthDaysCount(e,m.isLeapYear(t))+1)}},{key:"currentLocal",value:function(){var t=new Date;return new n(t.getFullYear(),t.getMonth(),t.getDate())}},{key:"currentUtc",value:function(){var t=new Date;return new n(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate())}},{key:"normalizeOf",value:function(t,e,r){var i=m.normalizeYearPart(t),o=_.normalizeMonthPart(e),a=n.normalizeDayPart(r,o,i);return new n(i,o,a)}},{key:"lengthBetween",value:function(t,e){return Math.round((e.toLocalNativeDate().getTime()-t.toLocalNativeDate().getTime())/864e5)}},{key:"parseRawDateString",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"DMY";switch(e){case"YMD":return{day:parseInt(t.slice(8,10),10),month:parseInt(t.slice(5,7),10)-1,year:parseInt(t.slice(0,4),10)};case"MDY":return{day:parseInt(t.slice(3,5),10),month:parseInt(t.slice(0,2),10)-1,year:parseInt(t.slice(6,10),10)};default:return{day:parseInt(t.slice(0,2),10),month:parseInt(t.slice(3,5),10)-1,year:parseInt(t.slice(6,10),10)}}}},{key:"normalizeParse",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"DMY",r=this.parseRawDateString(t,e),i=r.day,o=r.month,a=r.year;return n.normalizeOf(a,o,i)}},{key:"jsonParse",value:function(t){var e=this.parseRawDateString(t,"YMD"),r=e.day,i=e.month,o=e.year;if(!m.isValidYear(o))throw new d.JY(o);if(!_.isValidMonth(o,i))throw new d.AM(i);if(!Number.isInteger(r)||!(0,p.wf)(r,1,_.getMonthDaysCount(i,m.isLeapYear(o))+1))throw new d.I4(r);return new n(o,i,r)}},{key:"normalizeDayPart",value:function(t,e,n){var r=_.getMonthDaysCount(e,m.isLeapYear(n));return(0,p.G1)(t,1,r)}}]),n}(_),k=new b(0,0,1),w=new b(9999,11,31);Symbol;var C=r(31081),x=r(47232);new s.OlP("[TUI_CALENDAR_DATE_STREAM]"),(0,l.JN)((e(o={},C.X.AD,"+376###-###"),e(o,C.X.AE,"+971-##-###-####"),e(o,C.X.AF,"+93##-###-####"),e(o,C.X.AG,"+1(268) ###-####"),e(o,C.X.AI,"+1(264) ###-####"),e(o,C.X.AL,"+355(###) ###-###"),e(o,C.X.AM,"+374##-###-###"),e(o,C.X.AO,"+244(###) ###-###"),e(o,C.X.AR,"+54(###) ####-####"),e(o,C.X.AT,"+43(###) ###-####"),e(o,C.X.AU,"+61#-####-####"),e(o,C.X.AW,"+297###-####"),e(o,C.X.AZ,"+994##-###-##-##"),e(o,C.X.BA,"+387 ###-####-##"),e(o,C.X.BB,"+1(246) ###-####"),e(o,C.X.BD,"+880##-###-###"),e(o,C.X.BE,"+32(###) ###-###"),e(o,C.X.BF,"+226##-##-####"),e(o,C.X.BG,"+359(###) ###-###"),e(o,C.X.BH,"+973####-####"),e(o,C.X.BI,"+257##-##-####"),e(o,C.X.BJ,"+229##-##-####"),e(o,C.X.BL,"+590 ## ## ## ## ##"),e(o,C.X.BM,"+1(441) ###-####"),e(o,C.X.BN,"+673###-####"),e(o,C.X.BO,"+591#-###-####"),e(o,C.X.BQ,"+599-###-####"),e(o,C.X.BR,"+55(##) ####-####"),e(o,C.X.BS,"+1(242) ###-####"),e(o,C.X.BT,"+975#-###-###"),e(o,C.X.BW,"+267##-###-###"),e(o,C.X.BY,"+375(##) ###-##-##"),e(o,C.X.BZ,"+501###-####"),e(o,C.X.CA,"+1(###) ###-####"),e(o,C.X.CD,"+243(###) ###-###"),e(o,C.X.CF,"+236-##-##-####"),e(o,C.X.CG,"+242##-###-####"),e(o,C.X.CH,"+41##-###-####"),e(o,C.X.CI,"+225##-##-###-###"),e(o,C.X.CL,"+56#-####-####"),e(o,C.X.CM,"+237#####-####"),e(o,C.X.CN,"+86(###) ####-####"),e(o,C.X.CO,"+57(###) ###-####"),e(o,C.X.CR,"+506####-####"),e(o,C.X.CU,"+53#-###-####"),e(o,C.X.CV,"+238(###) ##-##"),e(o,C.X.CW,"+5999-###-####"),e(o,C.X.CY,"+357##-###-###"),e(o,C.X.CZ,"+420(###) ###-###"),e(o,C.X.DE,"+49(###) ###-###-##"),e(o,C.X.DJ,"+253##-##-##-##"),e(o,C.X.DK,"+45##-##-##-##"),e(o,C.X.DM,"+1(767) ###-####"),e(o,C.X.DO,"+1(###) ###-####"),e(o,C.X.DZ,"+213##-###-####"),e(o,C.X.EC,"+593##-###-####"),e(o,C.X.EE,"+372####-####"),e(o,C.X.EG,"+20(###) ###-####"),e(o,C.X.ER,"+291#-###-###"),e(o,C.X.ES,"+34(###) ###-###"),e(o,C.X.ET,"+251##-###-####"),e(o,C.X.FI,"+358(###) ###-##-##"),e(o,C.X.FJ,"+679##-#####"),e(o,C.X.FK,"+500#####"),e(o,C.X.FM,"+691###-####"),e(o,C.X.FR,"+33 ## ## ## ## ##"),e(o,C.X.GA,"+241##-##-##-##"),e(o,C.X.GB,"+44##-####-####"),e(o,C.X.GD,"+1(473) ###-####"),e(o,C.X.GE,"+995(###) ###-###"),e(o,C.X.GF,"+594 ## ## ## ## ##"),e(o,C.X.GH,"+233(###) ###-###"),e(o,C.X.GI,"+350###-#####"),e(o,C.X.GL,"+299##-##-##"),e(o,C.X.GM,"+220(###) ##-##"),e(o,C.X.GN,"+224##-###-###"),e(o,C.X.GP,"+590 ## ## ## ## ##"),e(o,C.X.GQ,"+240##-###-####"),e(o,C.X.GR,"+30(###) ###-####"),e(o,C.X.GT,"+502#-###-####"),e(o,C.X.GW,"+245#-######"),e(o,C.X.GY,"+592###-####"),e(o,C.X.HK,"+852####-####"),e(o,C.X.HN,"+504####-####"),e(o,C.X.HR,"+385##-###-####"),e(o,C.X.HT,"+509##-##-####"),e(o,C.X.HU,"+36(###) ###-###"),e(o,C.X.ID,"+62(###) ###-##-###"),e(o,C.X.IE,"+353(###) ###-###"),e(o,C.X.IL,"+972##-###-####"),e(o,C.X.IN,"+91(####) ###-###"),e(o,C.X.IQ,"+964(###) ###-####"),e(o,C.X.IR,"+98(###) ###-####"),e(o,C.X.IS,"+354###-####"),e(o,C.X.IT,"+39(###) ####-###"),e(o,C.X.JM,"+1(876) ###-####"),e(o,C.X.JO,"+962#-####-####"),e(o,C.X.JP,"+81-##-####-####"),e(o,C.X.KE,"+254###-######"),e(o,C.X.KG,"+996(###) ###-###"),e(o,C.X.KH,"+855##-###-###"),e(o,C.X.KM,"+269##-#####"),e(o,C.X.KN,"+1(869) ###-####"),e(o,C.X.KP,"+850####-#############"),e(o,C.X.KR,"+82##-###-####"),e(o,C.X.KW,"+965####-####"),e(o,C.X.KY,"+1(345) ###-####"),e(o,C.X.KZ,"+7(###) ###-##-##"),e(o,C.X.LA,"+856##-##-###-###"),e(o,C.X.LB,"+961##-###-###"),e(o,C.X.LC,"+1(758) ###-####"),e(o,C.X.LI,"+423(###) ###-####"),e(o,C.X.LK,"+94##-###-####"),e(o,C.X.LR,"+231##-###-###"),e(o,C.X.LS,"+266#-###-####"),e(o,C.X.LT,"+370(###) ##-###"),e(o,C.X.LU,"+352(###) ###-###"),e(o,C.X.LV,"+371##-###-###"),e(o,C.X.LY,"+218##-###-####"),e(o,C.X.MA,"+212##-####-###"),e(o,C.X.MC,"+377###-###-###"),e(o,C.X.MD,"+373####-####"),e(o,C.X.ME,"+382##-###-###"),e(o,C.X.MF,"+590 ## ## ## ## ##"),e(o,C.X.MG,"+261##-##-#####"),e(o,C.X.MK,"+389##-###-###"),e(o,C.X.ML,"+223##-##-####"),e(o,C.X.MM,"+95##-###-###"),e(o,C.X.MN,"+976##-##-####"),e(o,C.X.MO,"+853####-####"),e(o,C.X.MQ,"+596 ## ## ## ## ##"),e(o,C.X.MR,"+222##-##-####"),e(o,C.X.MS,"+1(664) ###-####"),e(o,C.X.MT,"+356####-####"),e(o,C.X.MU,"+230####-####"),e(o,C.X.MV,"+960###-####"),e(o,C.X.MW,"+265#-####-####"),e(o,C.X.MX,"+52(###) ###-####"),e(o,C.X.MY,"+60(###) ###-###"),e(o,C.X.MZ,"+258##-###-###"),e(o,C.X.NA,"+264##-###-####"),e(o,C.X.NC,"+687 ### ###"),e(o,C.X.NE,"+227##-##-####"),e(o,C.X.NG,"+234(###) ###-####"),e(o,C.X.NI,"+505####-####"),e(o,C.X.NL,"+31##-###-####"),e(o,C.X.NO,"+47(###) ##-###"),e(o,C.X.NP,"+977##-###-###"),e(o,C.X.NZ,"+64(###) ###-####"),e(o,C.X.OM,"+968##-###-###"),e(o,C.X.PA,"+507###-####"),e(o,C.X.PE,"+51(###) ###-###"),e(o,C.X.PF,"+689 ## ## ## ##"),e(o,C.X.PG,"+675(###) ##-###"),e(o,C.X.PH,"+63(###) ###-####"),e(o,C.X.PK,"+92(###) ###-####"),e(o,C.X.PL,"+48(###) ###-###"),e(o,C.X.PT,"+351##-###-####"),e(o,C.X.PW,"+680###-####"),e(o,C.X.PY,"+595(###) ###-###"),e(o,C.X.QA,"+974####-####"),e(o,C.X.RE,"+262 ## ## ## ## ##"),e(o,C.X.RO,"+40##-###-####"),e(o,C.X.RS,"+381##-###-####"),e(o,C.X.RU,"+7### ###-##-##"),e(o,C.X.RW,"+250(###) ###-###"),e(o,C.X.SA,"+966#-####-####"),e(o,C.X.SB,"+677###-####"),e(o,C.X.SC,"+248#-###-###"),e(o,C.X.SD,"+249##-###-####"),e(o,C.X.SE,"+46##-###-####"),e(o,C.X.SG,"+65####-####"),e(o,C.X.SH,"+290####"),e(o,C.X.SI,"+386##-###-###"),e(o,C.X.SK,"+421(###) ###-###"),e(o,C.X.SL,"+232##-######"),e(o,C.X.SM,"+378####-######"),e(o,C.X.SN,"+221##-###-####"),e(o,C.X.SO,"+252##-###-###"),e(o,C.X.SR,"+597###-####"),e(o,C.X.ST,"+239##-#####"),e(o,C.X.SV,"+503##-##-####"),e(o,C.X.SX,"+1(721) ###-####"),e(o,C.X.SY,"+963##-####-###"),e(o,C.X.SZ,"+268##-##-####"),e(o,C.X.TC,"+1(649) ###-####"),e(o,C.X.TD,"+235##-##-##-##"),e(o,C.X.TG,"+228##-###-###"),e(o,C.X.TH,"+66##-###-####"),e(o,C.X.TJ,"+992##-###-####"),e(o,C.X.TL,"+670###-#####"),e(o,C.X.TM,"+993#-###-####"),e(o,C.X.TN,"+216##-###-###"),e(o,C.X.TO,"+676#####"),e(o,C.X.TR,"+90(###) ###-####"),e(o,C.X.TT,"+1(868) ###-####"),e(o,C.X.TW,"+886#-####-####"),e(o,C.X.TZ,"+255##-###-####"),e(o,C.X.UA,"+380(##) ###-##-##"),e(o,C.X.UG,"+256(###) ###-###"),e(o,C.X.US,"+1(###) ###-####"),e(o,C.X.UY,"+598#-###-##-##"),e(o,C.X.UZ,"+998##-###-####"),e(o,C.X.VC,"+1(784) ###-####"),e(o,C.X.VE,"+58(###) ###-####"),e(o,C.X.VG,"+1(284)###-####"),e(o,C.X.VN,"+84(###) ####-###"),e(o,C.X.VU,"+678##-#####"),e(o,C.X.WS,"+685##-####"),e(o,C.X.XK,"+383##-###-###"),e(o,C.X.YE,"+967###-###-###"),e(o,C.X.YT,"+262 ## ## ## ## ##"),e(o,C.X.ZA,"+27##-###-####"),e(o,C.X.ZM,"+260##-###-####"),e(o,C.X.ZW,"+263#-######"),o)),new s.OlP("[TUI_DATE_VALUE_TRANSFORMER]"),new s.OlP("[TUI_DATE_RANGE_VALUE_TRANSFORMER]"),new s.OlP("[TUI_DATE_TIME_VALUE_TRANSFORMER]"),(0,l.N1)((0,x.v)("prompt")),(0,l.N1)((0,x.v)("cancel")),(0,l.N1)((0,x.v)("done"));var O=(0,l.N1)((0,x.v)("more")),M=((0,l.N1)((0,x.v)("hide")),(0,l.N1)((0,x.v)("showAll")),(0,l.N1)((0,x.v)("otherDate")),(0,l.N1)((0,x.v)("mobileCalendarTexts")),(0,l.N1)((0,x.v)("range")),(0,l.N1)((0,x.v)("countTexts")),(0,l.N1)((0,x.v)("time")),(0,l.N1)((0,x.v)("dateTexts")),(0,l.N1)((0,x.v)("digitalInformationUnits")),(0,l.N1)((0,x.v)("copyTexts"))),S=((0,l.N1)((0,x.v)("passwordTexts")),(0,l.N1)((0,x.v)("shortCalendarMonths")),(0,l.N1)((0,x.v)("fileTexts")),(0,l.N1)((0,x.v)("pagination")),(0,l.N1)((0,x.v)("inputFileTexts")),(0,l.N1)((0,x.v)("multiSelectTexts")),(0,l.N1)((0,x.v)("countries")),{icon:function(t){return"s"===t.$implicit?"tuiIconCalendar":"tuiIconCalendarLarge"},min:k,max:w,nativePicker:!1});(0,l.JN)(S);var P=(0,l.JN)({stringify:c.yZ,identityMatcher:c.bg,disabledItemHandler:c.Iy});new s.OlP("[TUI_MOBILE_CALENDAR]");var E=new s.OlP("[TUI_MONTH_FORMATTER]"),A=(0,l.JN)(24),T=(0,l.JN)({})},11557:function(t,e,n){"use strict";n.d(e,{X1:function(){return E},Gt:function(){return P},uX:function(){return S}});var r,i,o=n(91211),s=n(74788),c=n(59193),l=n(22416),h=n(41439),f=n(77393),d=function(){function t(e,n){y(this,t),this.predicate=e,this.inclusive=n}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new v(t,this.predicate,this.inclusive))}}]),t}(),v=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,t)).predicate=r,o.inclusive=i,o.index=0,o}return g(n,[{key:"_next",value:function(t){var e,n=this.destination;try{e=this.predicate(t,this.index++)}catch(r){return void n.error(r)}this.nextOrComplete(t,e)}},{key:"nextOrComplete",value:function(t,e){var n=this.destination;Boolean(e)?n.next(t):(this.inclusive&&n.next(t),n.complete())}}]),n}(f.L),m=function(){function t(){y(this,t)}return g(t,[{key:"supports",value:function(t){return t.includes(this.modifier)}},{key:"addGlobalEventListener",value:function(){return function(){}}},{key:"unwrap",value:function(t){var e=this;return t.split(".").filter(function(t){return!e.modifier.includes(t)}).join(".")}}]),t}(),_=(i=function(t){a(n,t);var e=u(n);function n(){var t;return y(this,n),(t=e.apply(this,arguments)).modifier="$",t}return g(n,[{key:"addEventListener",value:function(t,e){t[e]=t[e]||c.E;var n=this.getMethod(t,e),r=this.manager.getZone().onStable,i=(0,l.z)(r.pipe(function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n){return n.lift(new d(t,e))}}(function(){return t[e]===c.E})),(0,h.P)(function(){return t[e]})).subscribe(n);return function(){return i.unsubscribe()}}},{key:"getMethod",value:function(t,e){var n=p(e.split("."),4),r=n[1],i=n[2],o=n[3],a=void 0===o?"":o;return e.endsWith(".attr")?function(e){return null===e?t.removeAttribute(r):t.setAttribute(r,String(e))}:"class"===r?function(e){return t.classList.toggle(i,!!e)}:"style"===r?function(e){return t.style.setProperty(function(t){return t.replace(/[a-z][A-Z]/g,function(t){return"".concat(t[0],"-").concat(t[1].toLowerCase())})}(i),"".concat(e).concat(a))}:function(e){return t[r]=e}}}]),n}(m),i.\u0275fac=function(t){return(r||(r=s.n5z(i)))(t||i)},i.\u0275prov=s.Yz7({token:i,factory:i.\u0275fac}),i),b=function(){var t=function(t){a(n,t);var e=u(n);function n(){var t;return y(this,n),(t=e.apply(this,arguments)).modifier="capture.once.passive",t}return g(n,[{key:"supports",value:function(t){return t.includes(".")&&!this.unwrap(t).includes(".")}},{key:"addEventListener",value:function(t,e,n){var r=this;return t.addEventListener(this.unwrap(e),n,{once:e.includes(".once"),passive:e.includes(".passive"),capture:e.includes(".capture")}),function(){return t.removeEventListener(r.unwrap(e),n)}}}]),n}(m);return t.\u0275fac=function(){var e;return function(n){return(e||(e=s.n5z(t)))(n||t)}}(),t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t}(),k=function(){var t=function(t){a(n,t);var e=u(n);function n(){var t;return y(this,n),(t=e.apply(this,arguments)).modifier=".prevent",t}return g(n,[{key:"addEventListener",value:function(t,e,n){return this.manager.addEventListener(t,this.unwrap(e),function(t){t.preventDefault(),n(t)})}}]),n}(m);return t.\u0275fac=function(){var e;return function(n){return(e||(e=s.n5z(t)))(n||t)}}(),t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t}(),w=function(){var t=function(t){a(n,t);var e=u(n);function n(){var t;return y(this,n),(t=e.apply(this,arguments)).modifier=".self",t}return g(n,[{key:"addEventListener",value:function(t,e,n){return this.manager.addEventListener(t,this.unwrap(e),function(t){t.target===t.currentTarget&&n(t)})}}]),n}(m);return t.\u0275fac=function(){var e;return function(n){return(e||(e=s.n5z(t)))(n||t)}}(),t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t}(),C=function(){var t=function(t){a(n,t);var e=u(n);function n(){var t;return y(this,n),(t=e.apply(this,arguments)).modifier=".silent",t}return g(n,[{key:"addEventListener",value:function(t,e,r){var i=this;return n.ngZone=this.manager.getZone(),n.ngZone.runOutsideAngular(function(){return i.manager.addEventListener(t,i.unwrap(e),r)})}}]),n}(m);return t.\u0275fac=function(){var e;return function(n){return(e||(e=s.n5z(t)))(n||t)}}(),t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t}(),x=function(){var t=function(t){a(n,t);var e=u(n);function n(){var t;return y(this,n),(t=e.apply(this,arguments)).modifier=".stop",t}return g(n,[{key:"addEventListener",value:function(t,e,n){return this.manager.addEventListener(t,this.unwrap(e),function(t){t.stopPropagation(),n(t)})}}]),n}(m);return t.\u0275fac=function(){var e;return function(n){return(e||(e=s.n5z(t)))(n||t)}}(),t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t}(),O=function(){var t=function(t){a(n,t);var e=u(n);function n(){var t;return y(this,n),(t=e.apply(this,arguments)).modifier=".init",t}return g(n,[{key:"addEventListener",value:function(){return console.warn(".init plugin is no longer necessary as of v3.1.0"),function(){}}}]),n}(m);return t.\u0275fac=function(){var e;return function(n){return(e||(e=s.n5z(t)))(n||t)}}(),t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t}(),M=[C,_,b,k,w,x,O].map(function(t){return{provide:o.s3,multi:!0,useClass:t}});function S(t){return function(e,n,r){var i=r.value;r.value=function(){for(var e=this,n=arguments.length,r=new Array(n),o=0;o1?n-1:0),i=1;i2&&void 0!==arguments[2]?arguments[2]:y;e&&e(t,null);for(var o=r.length;o--;){var a=r[o];if("string"==typeof a){var s=i(a);s!==a&&(n(r)||(r[o]=s),a=s)}t[a]=!0}return t}function E(e){var n,r=u(null),i=_(t(e));try{for(i.s();!(n=i.n()).done;){var a=p(n.value,2),s=a[0],c=a[1];void 0!==o(e,s)&&(r[s]=c)}}catch(l){i.e(l)}finally{i.f()}return r}function A(t,e){for(;null!==t;){var n=o(t,e);if(n){if(n.get)return S(n.get);if("function"==typeof n.value)return S(n.value)}t=i(t)}return function(t){return console.warn("fallback value for",t),null}}var T=a(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),I=a(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),D=a(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),L=a(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),N=a(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),z=a(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),F=a(["#text"]),R=a(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),j=a(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),B=a(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),V=a(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Y=s(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Z=s(/<%[\w\W]*|[\w\W]*%>/gm),q=s(/\${[\w\W]*}/gm),U=s(/^data-[\-\w.\u00B7-\uFFFF]/),H=s(/^aria-[\-\w]+$/),G=s(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),J=s(/^(?:\w+script|data):/i),X=s(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),$=s(/^html$/i),Q=Object.freeze({__proto__:null,MUSTACHE_EXPR:Y,ERB_EXPR:Z,TMPLIT_EXPR:q,DATA_ATTR:U,ARIA_ATTR:H,IS_ALLOWED_URI:G,IS_SCRIPT_OR_DATA:J,ATTR_WHITESPACE:X,DOCTYPE_NAME:$}),W=function(){return"undefined"==typeof window?null:window},K=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;var n=null,r="data-tt-policy-suffix";e&&e.hasAttribute(r)&&(n=e.getAttribute(r));var i="dompurify"+(n?"#"+n:"");try{return t.createPolicy(i,{createHTML:function(t){return t},createScriptURL:function(t){return t}})}catch(o){return console.warn("TrustedTypes policy "+i+" could not be created."),null}};return function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:W(),r=function(t){return e(t)};if(r.version="3.0.6",r.removed=[],!n||!n.document||9!==n.document.nodeType)return r.isSupported=!1,r;var i=n.document,o=i,s=o.currentScript,c=n.DocumentFragment,l=n.HTMLTemplateElement,h=n.Node,f=n.Element,p=n.NodeFilter,_=n.NamedNodeMap,S=void 0===_?n.NamedNodeMap||n.MozNamedAttrMap:_,Y=n.HTMLFormElement,Z=n.DOMParser,q=n.trustedTypes,U=f.prototype,H=A(U,"cloneNode"),J=A(U,"nextSibling"),X=A(U,"childNodes"),tt=A(U,"parentNode");if("function"==typeof l){var et=i.createElement("template");et.content&&et.content.ownerDocument&&(i=et.content.ownerDocument)}var nt,rt="",it=i,ot=it.implementation,at=it.createNodeIterator,st=it.createDocumentFragment,ut=it.getElementsByTagName,ct=o.importNode,lt={};r.isSupported="function"==typeof t&&"function"==typeof tt&&ot&&void 0!==ot.createHTMLDocument;var ht=Q.MUSTACHE_EXPR,ft=Q.ERB_EXPR,dt=Q.TMPLIT_EXPR,pt=Q.DATA_ATTR,vt=Q.ARIA_ATTR,gt=Q.IS_SCRIPT_OR_DATA,mt=Q.ATTR_WHITESPACE,yt=Q.IS_ALLOWED_URI,_t=null,bt=P({},[].concat(d(T),d(I),d(D),d(N),d(F))),kt=null,wt=P({},[].concat(d(R),d(j),d(B),d(V))),Ct=Object.seal(u(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),xt=null,Ot=null,Mt=!0,St=!0,Pt=!1,Et=!0,At=!1,Tt=!1,It=!1,Dt=!1,Lt=!1,Nt=!1,zt=!1,Ft=!0,Rt=!1,jt="user-content-",Bt=!0,Vt=!1,Yt={},Zt=null,qt=P({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ut=null,Ht=P({},["audio","video","img","source","image","track"]),Gt=null,Jt=P({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Xt="http://www.w3.org/1998/Math/MathML",$t="http://www.w3.org/2000/svg",Qt="http://www.w3.org/1999/xhtml",Wt=Qt,Kt=!1,te=null,ee=P({},[Xt,$t,Qt],b),ne=null,re=["application/xhtml+xml","text/html"],ie="text/html",oe=null,ae=null,se=i.createElement("form"),ue=function(t){return t instanceof RegExp||t instanceof Function},ce=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ae||ae!==t){if((!t||"object"!=typeof t)&&(t={}),t=E(t),ne=ne=-1===re.indexOf(t.PARSER_MEDIA_TYPE)?ie:t.PARSER_MEDIA_TYPE,oe="application/xhtml+xml"===ne?b:y,_t="ALLOWED_TAGS"in t?P({},t.ALLOWED_TAGS,oe):bt,kt="ALLOWED_ATTR"in t?P({},t.ALLOWED_ATTR,oe):wt,te="ALLOWED_NAMESPACES"in t?P({},t.ALLOWED_NAMESPACES,b):ee,Gt="ADD_URI_SAFE_ATTR"in t?P(E(Jt),t.ADD_URI_SAFE_ATTR,oe):Jt,Ut="ADD_DATA_URI_TAGS"in t?P(E(Ht),t.ADD_DATA_URI_TAGS,oe):Ht,Zt="FORBID_CONTENTS"in t?P({},t.FORBID_CONTENTS,oe):qt,xt="FORBID_TAGS"in t?P({},t.FORBID_TAGS,oe):{},Ot="FORBID_ATTR"in t?P({},t.FORBID_ATTR,oe):{},Yt="USE_PROFILES"in t&&t.USE_PROFILES,Mt=!1!==t.ALLOW_ARIA_ATTR,St=!1!==t.ALLOW_DATA_ATTR,Pt=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Et=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,At=t.SAFE_FOR_TEMPLATES||!1,Tt=t.WHOLE_DOCUMENT||!1,Lt=t.RETURN_DOM||!1,Nt=t.RETURN_DOM_FRAGMENT||!1,zt=t.RETURN_TRUSTED_TYPE||!1,Dt=t.FORCE_BODY||!1,Ft=!1!==t.SANITIZE_DOM,Rt=t.SANITIZE_NAMED_PROPS||!1,Bt=!1!==t.KEEP_CONTENT,Vt=t.IN_PLACE||!1,yt=t.ALLOWED_URI_REGEXP||G,Wt=t.NAMESPACE||Qt,Ct=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&ue(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ct.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&ue(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Ct.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Ct.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),At&&(St=!1),Nt&&(Lt=!0),Yt&&(_t=P({},d(F)),kt=[],!0===Yt.html&&(P(_t,T),P(kt,R)),!0===Yt.svg&&(P(_t,I),P(kt,j),P(kt,V)),!0===Yt.svgFilters&&(P(_t,D),P(kt,j),P(kt,V)),!0===Yt.mathMl&&(P(_t,N),P(kt,B),P(kt,V))),t.ADD_TAGS&&(_t===bt&&(_t=E(_t)),P(_t,t.ADD_TAGS,oe)),t.ADD_ATTR&&(kt===wt&&(kt=E(kt)),P(kt,t.ADD_ATTR,oe)),t.ADD_URI_SAFE_ATTR&&P(Gt,t.ADD_URI_SAFE_ATTR,oe),t.FORBID_CONTENTS&&(Zt===qt&&(Zt=E(Zt)),P(Zt,t.FORBID_CONTENTS,oe)),Bt&&(_t["#text"]=!0),Tt&&P(_t,["html","head","body"]),_t.table&&(P(_t,["tbody"]),delete xt.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw M('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw M('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');nt=t.TRUSTED_TYPES_POLICY,rt=nt.createHTML("")}else void 0===nt&&(nt=K(q,s)),null!==nt&&"string"==typeof rt&&(rt=nt.createHTML(""));a&&a(t),ae=t}},le=P({},["mi","mo","mn","ms","mtext"]),he=P({},["foreignobject","desc","title","annotation-xml"]),fe=P({},["title","style","font","a","script"]),de=P({},I);P(de,D),P(de,L);var pe=P({},N);P(pe,z);var ve=function(t){var e=tt(t);(!e||!e.tagName)&&(e={namespaceURI:Wt,tagName:"template"});var n=y(t.tagName),r=y(e.tagName);return!!te[t.namespaceURI]&&(t.namespaceURI===$t?e.namespaceURI===Qt?"svg"===n:e.namespaceURI===Xt?"svg"===n&&("annotation-xml"===r||le[r]):Boolean(de[n]):t.namespaceURI===Xt?e.namespaceURI===Qt?"math"===n:e.namespaceURI===$t?"math"===n&&he[r]:Boolean(pe[n]):t.namespaceURI===Qt?!(e.namespaceURI===$t&&!he[r]||e.namespaceURI===Xt&&!le[r])&&!pe[n]&&(fe[n]||!de[n]):!("application/xhtml+xml"!==ne||!te[t.namespaceURI]))},ge=function(t){m(r.removed,{element:t});try{t.parentNode.removeChild(t)}catch(e){t.remove()}},me=function(t,e){try{m(r.removed,{attribute:e.getAttributeNode(t),from:e})}catch(n){m(r.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!kt[t])if(Lt||Nt)try{ge(e)}catch(n){}else try{e.setAttribute(t,"")}catch(n){}},ye=function(t){var e=null,n=null;if(Dt)t=""+t;else{var r=k(t,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===ne&&Wt===Qt&&(t=''+t+"");var o=nt?nt.createHTML(t):t;if(Wt===Qt)try{e=(new Z).parseFromString(o,ne)}catch(r){}if(!e||!e.documentElement){e=ot.createDocument(Wt,"template",null);try{e.documentElement.innerHTML=Kt?rt:o}catch(r){}}var a=e.body||e.documentElement;return t&&n&&a.insertBefore(i.createTextNode(n),a.childNodes[0]||null),Wt===Qt?ut.call(e,Tt?"html":"body")[0]:Tt?e.documentElement:a},_e=function(t){return at.call(t.ownerDocument||t,t,p.SHOW_ELEMENT|p.SHOW_COMMENT|p.SHOW_TEXT,null)},be=function(t){return t instanceof Y&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof S)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},ke=function(t){return"function"==typeof h&&t instanceof h},we=function(t,e,n){!lt[t]||v(lt[t],function(t){t.call(r,e,n,ae)})},Ce=function(t){var e=null;if(we("beforeSanitizeElements",t,null),be(t))return ge(t),!0;var n=oe(t.nodeName);if(we("uponSanitizeElement",t,{tagName:n,allowedTags:_t}),t.hasChildNodes()&&!ke(t.firstElementChild)&&O(/<[/\w]/g,t.innerHTML)&&O(/<[/\w]/g,t.textContent))return ge(t),!0;if(!_t[n]||xt[n]){if(!xt[n]&&Oe(n)&&(Ct.tagNameCheck instanceof RegExp&&O(Ct.tagNameCheck,n)||Ct.tagNameCheck instanceof Function&&Ct.tagNameCheck(n)))return!1;if(Bt&&!Zt[n]){var i=tt(t)||t.parentNode,o=X(t)||t.childNodes;if(o&&i)for(var a=o.length-1;a>=0;--a)i.insertBefore(H(o[a],!0),J(t))}return ge(t),!0}return t instanceof f&&!ve(t)||("noscript"===n||"noembed"===n||"noframes"===n)&&O(/<\/no(script|embed|frames)/i,t.innerHTML)?(ge(t),!0):(At&&3===t.nodeType&&(e=t.textContent,v([ht,ft,dt],function(t){e=w(e,t," ")}),t.textContent!==e&&(m(r.removed,{element:t.cloneNode()}),t.textContent=e)),we("afterSanitizeElements",t,null),!1)},xe=function(t,e,n){if(Ft&&("id"===e||"name"===e)&&(n in i||n in se))return!1;if((!St||Ot[e]||!O(pt,e))&&(!Mt||!O(vt,e)))if(!kt[e]||Ot[e]){if(!(Oe(t)&&(Ct.tagNameCheck instanceof RegExp&&O(Ct.tagNameCheck,t)||Ct.tagNameCheck instanceof Function&&Ct.tagNameCheck(t))&&(Ct.attributeNameCheck instanceof RegExp&&O(Ct.attributeNameCheck,e)||Ct.attributeNameCheck instanceof Function&&Ct.attributeNameCheck(e))||"is"===e&&Ct.allowCustomizedBuiltInElements&&(Ct.tagNameCheck instanceof RegExp&&O(Ct.tagNameCheck,n)||Ct.tagNameCheck instanceof Function&&Ct.tagNameCheck(n))))return!1}else if(!Gt[e]&&!O(yt,w(n,mt,""))&&("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==C(n,"data:")||!Ut[t])&&(!Pt||O(gt,w(n,mt,"")))&&n)return!1;return!0},Oe=function(t){return t.indexOf("-")>0},Me=function(t){we("beforeSanitizeAttributes",t,null);var e=t.attributes;if(e){for(var n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:kt},i=e.length,o=function(){var o=e[i],a=o.name,s=o.namespaceURI,u=o.value,c=oe(a),l="value"===a?u:x(u);if(n.attrName=c,n.attrValue=l,n.keepAttr=!0,n.forceKeepAttr=void 0,we("uponSanitizeAttribute",t,n),l=n.attrValue,n.forceKeepAttr||(me(a,t),!n.keepAttr))return 0;if(!Et&&O(/\/>/i,l))return me(a,t),0;At&&v([ht,ft,dt],function(t){l=w(l,t," ")});var h=oe(t.nodeName);if(xe(h,c,l)){if(Rt&&("id"===c||"name"===c)&&(me(a,t),l=jt+l),nt&&"object"==typeof q&&"function"==typeof q.getAttributeType&&!s)switch(q.getAttributeType(h,c)){case"TrustedHTML":l=nt.createHTML(l);break;case"TrustedScriptURL":l=nt.createScriptURL(l)}try{s?t.setAttributeNS(s,a,l):t.setAttribute(a,l),g(r.removed)}catch(f){}}};i--;)o();we("afterSanitizeAttributes",t,null)}},Se=function t(e){var n=null,r=_e(e);for(we("beforeSanitizeShadowDOM",e,null);n=r.nextNode();)we("uponSanitizeShadowNode",n,null),!Ce(n)&&(n.content instanceof c&&t(n.content),Me(n));we("afterSanitizeShadowDOM",e,null)};return r.sanitize=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,i=null,a=null,s=null;if((Kt=!t)&&(t="\x3c!--\x3e"),"string"!=typeof t&&!ke(t)){if("function"!=typeof t.toString)throw M("toString is not a function");if("string"!=typeof(t=t.toString()))throw M("dirty is not a string, aborting")}if(!r.isSupported)return t;if(It||ce(e),r.removed=[],"string"==typeof t&&(Vt=!1),Vt){if(t.nodeName){var u=oe(t.nodeName);if(!_t[u]||xt[u])throw M("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof h)1===(i=(n=ye("\x3c!----\x3e")).ownerDocument.importNode(t,!0)).nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?n=i:n.appendChild(i);else{if(!Lt&&!At&&!Tt&&-1===t.indexOf("<"))return nt&&zt?nt.createHTML(t):t;if(!(n=ye(t)))return Lt?null:zt?rt:""}n&&Dt&&ge(n.firstChild);for(var l=_e(Vt?t:n);a=l.nextNode();)Ce(a)||(a.content instanceof c&&Se(a.content),Me(a));if(Vt)return t;if(Lt){if(Nt)for(s=st.call(n.ownerDocument);n.firstChild;)s.appendChild(n.firstChild);else s=n;return(kt.shadowroot||kt.shadowrootmode)&&(s=ct.call(o,s,!0)),s}var f=Tt?n.outerHTML:n.innerHTML;return Tt&&_t["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&O($,n.ownerDocument.doctype.name)&&(f="\n"+f),At&&v([ht,ft,dt],function(t){f=w(f,t," ")}),nt&&zt?nt.createHTML(f):f},r.setConfig=function(){ce(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),It=!0},r.clearConfig=function(){ae=null,It=!1},r.isValidAttribute=function(t,e,n){ae||ce({});var r=oe(t),i=oe(e);return xe(r,i,n)},r.addHook=function(t,e){"function"==typeof e&&(lt[t]=lt[t]||[],m(lt[t],e))},r.removeHook=function(t){if(lt[t])return g(lt[t])},r.removeHooks=function(t){lt[t]&&(lt[t]=[])},r.removeAllHooks=function(){lt={}},r}()}()},15622:function(t,e,n){"use strict";function r(t){var e=Array.prototype.slice.call(arguments,1);return e.forEach(function(e){!e||Object.keys(e).forEach(function(n){t[n]=e[n]})}),t}function i(t){return Object.prototype.toString.call(t)}function o(t){return"[object Function]"===i(t)}function a(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},u={"http:":{validate:function(t,e,n){var r=t.slice(e);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,n){var r=t.slice(e);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?e>=3&&":"===t[e-3]||e>=3&&"/"===t[e-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,n){var r=t.slice(e);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},c="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");function l(t){var e=t.re=n(86249)(t.__opts__),r=t.__tlds__.slice();function s(t){return t.replace("%TLDS%",e.src_tlds)}t.onCompile(),t.__tlds_replaced__||r.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),r.push(e.src_xn),e.src_tlds=r.join("|"),e.email_fuzzy=RegExp(s(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(s(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(s(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(s(e.tpl_host_fuzzy_test),"i");var u=[];function c(t,e){throw new Error('(LinkifyIt) Invalid schema "'+t+'": '+e)}t.__compiled__={},Object.keys(t.__schemas__).forEach(function(e){var n=t.__schemas__[e];if(null!==n){var r={validate:null,link:null};if(t.__compiled__[e]=r,function(t){return"[object Object]"===i(t)}(n))return function(t){return"[object RegExp]"===i(t)}(n.validate)?r.validate=function(t){return function(e,n){var r=e.slice(n);return t.test(r)?r.match(t)[0].length:0}}(n.validate):o(n.validate)?r.validate=n.validate:c(e,n),void(o(n.normalize)?r.normalize=n.normalize:n.normalize?c(e,n):r.normalize=function(t,e){e.normalize(t)});if(function(t){return"[object String]"===i(t)}(n))return void u.push(e);c(e,n)}}),u.forEach(function(e){!t.__compiled__[t.__schemas__[e]]||(t.__compiled__[e].validate=t.__compiled__[t.__schemas__[e]].validate,t.__compiled__[e].normalize=t.__compiled__[t.__schemas__[e]].normalize)}),t.__compiled__[""]={validate:null,normalize:function(t,e){e.normalize(t)}};var l=Object.keys(t.__compiled__).filter(function(e){return e.length>0&&t.__compiled__[e]}).map(a).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><\uff5c]|"+e.src_ZPCc+"))("+l+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><\uff5c]|"+e.src_ZPCc+"))("+l+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),function(t){t.__index__=-1,t.__text_cache__=""}(t)}function h(t,e){var n=t.__index__,r=t.__last_index__,i=t.__text_cache__.slice(n,r);this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=r+e,this.raw=i,this.text=i,this.url=i}function f(t,e){var n=new h(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function d(t,e){if(!(this instanceof d))return new d(t,e);e||function(t){return Object.keys(t||{}).reduce(function(t,e){return t||s.hasOwnProperty(e)},!1)}(t)&&(e=t,t={}),this.__opts__=r({},s,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},u,t),this.__compiled__={},this.__tlds__=c,this.__tlds_replaced__=!1,this.re={},l(this)}d.prototype.add=function(t,e){return this.__schemas__[t]=e,l(this),this},d.prototype.set=function(t){return this.__opts__=r(this.__opts__,t),this},d.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;var e,n,r,i,o,a,s,u;if(this.re.schema_test.test(t))for((s=this.re.schema_search).lastIndex=0;null!==(e=s.exec(t));)if(i=this.testSchemaAt(t,e[2],s.lastIndex)){this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+i;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(u=t.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||u=0&&null!==(r=t.match(this.re.email_fuzzy))&&(o=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||othis.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a)),this.__index__>=0},d.prototype.pretest=function(t){return this.re.pretest.test(t)},d.prototype.testSchemaAt=function(t,e,n){return this.__compiled__[e.toLowerCase()]?this.__compiled__[e.toLowerCase()].validate(t,n,this):0},d.prototype.match=function(t){var e=0,n=[];this.__index__>=0&&this.__text_cache__===t&&(n.push(f(this,e)),e=this.__last_index__);for(var r=e?t.slice(e):t;this.test(r);)n.push(f(this,e)),r=r.slice(this.__last_index__),e+=this.__last_index__;return n.length?n:null},d.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;var e=this.re.schema_at_start.exec(t);if(!e)return null;var n=this.testSchemaAt(t,e[2],e[0].length);return n?(this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+n,f(this,0)):null},d.prototype.tlds=function(t,e){return t=Array.isArray(t)?t:[t],e?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(t,e,n){return t!==n[e-1]}).reverse(),l(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,l(this),this)},d.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),"mailto:"===t.schema&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)},d.prototype.onCompile=function(){},t.exports=d},86249:function(t,e,n){"use strict";t.exports=function(t){var e={};return t=t||{},e.src_Any=n(93644).source,e.src_Cc=n(29756).source,e.src_Z=n(51905).source,e.src_P=n(54897).source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|"),e.src_pseudo_letter="(?:(?![><\uff5c]|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|[><\uff5c]|"+e.src_ZPCc+")(?!"+(t["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|[><\uff5c]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+e.src_ZCc+"|[.]|$)|"+(t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+e.src_ZCc+"|$)|;(?!"+e.src_ZCc+"|$)|\\!+(?!"+e.src_ZCc+"|[!]|$)|\\?(?!"+e.src_ZCc+"|[?]|$))+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy='(^|[><\uff5c]|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+e.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+e.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}},4841:function(t,e,n){"use strict";t.exports=n(35096)},21087:function(t,e,n){"use strict";t.exports=n(95485)},29204:function(t){"use strict";t.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},17110:function(t){"use strict";var e="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",n="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",r=new RegExp("^(?:"+e+"|"+n+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|]*>|)"),i=new RegExp("^(?:"+e+"|"+n+")");t.exports.n=r,t.exports.q=i},47504:function(t,e,n){"use strict";var r=Object.prototype.hasOwnProperty;function i(t,e){return r.call(t,e)}function o(t){return!(t>=55296&&t<=57343||t>=64976&&t<=65007||65535==(65535&t)||65534==(65535&t)||t>=0&&t<=8||11===t||t>=14&&t<=31||t>=127&&t<=159||t>1114111)}function a(t){return t>65535?(t-=65536,String.fromCharCode(55296+(t>>10),56320+(1023&t))):String.fromCharCode(t)}var s=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,u=new RegExp(s.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),c=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i,l=n(21087),h=/[&<>"]/,f=/[&<>"]/g,d={"&":"&","<":"<",">":">",'"':"""};function p(t){return d[t]}var v=/[.?*+^$[\]\\(){}|-]/g,g=n(54897);e.lib={},e.lib.mdurl=n(74149),e.lib.ucmicro=n(48363),e.assign=function(t){var e=Array.prototype.slice.call(arguments,1);return e.forEach(function(e){if(e){if("object"!=typeof e)throw new TypeError(e+"must be object");Object.keys(e).forEach(function(n){t[n]=e[n]})}}),t},e.isString=function(t){return"[object String]"===function(t){return Object.prototype.toString.call(t)}(t)},e.has=i,e.unescapeMd=function(t){return t.indexOf("\\")<0?t:t.replace(s,"$1")},e.unescapeAll=function(t){return t.indexOf("\\")<0&&t.indexOf("&")<0?t:t.replace(u,function(t,e,n){return e||function(t,e){var n;return i(l,e)?l[e]:35===e.charCodeAt(0)&&c.test(e)&&o(n="x"===e[1].toLowerCase()?parseInt(e.slice(2),16):parseInt(e.slice(1),10))?a(n):t}(t,n)})},e.isValidEntityCode=o,e.fromCodePoint=a,e.escapeHtml=function(t){return h.test(t)?t.replace(f,p):t},e.arrayReplaceAt=function(t,e,n){return[].concat(t.slice(0,e),n,t.slice(e+1))},e.isSpace=function(t){switch(t){case 9:case 32:return!0}return!1},e.isWhiteSpace=function(t){if(t>=8192&&t<=8202)return!0;switch(t){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},e.isMdAsciiPunct=function(t){switch(t){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},e.isPunctChar=function(t){return g.test(t)},e.escapeRE=function(t){return t.replace(v,"\\$&")},e.normalizeReference=function(t){return t=t.trim().replace(/\s+/g," "),"\u1e7e"==="\u1e9e".toLowerCase()&&(t=t.replace(/\u1e9e/g,"\xdf")),t.toLowerCase().toUpperCase()}},12869:function(t,e,n){"use strict";e.parseLinkLabel=n(8666),e.parseLinkDestination=n(44349),e.parseLinkTitle=n(55874)},44349:function(t,e,n){"use strict";var r=n(47504).unescapeAll;t.exports=function(t,e,n){var i,o,a=e,s={ok:!1,pos:0,lines:0,str:""};if(60===t.charCodeAt(a)){for(a++;a32)return s;if(41===i){if(0===o)break;o--}a++}return e===a||0!==o||(s.str=r(t.slice(e,a)),s.pos=a,s.ok=!0),s}},8666:function(t){"use strict";t.exports=function(t,e,n){var r,i,o,a,s=-1,u=t.posMax,c=t.pos;for(t.pos=e+1,r=1;t.pos=n||34!==(o=t.charCodeAt(s))&&39!==o&&40!==o)return u;for(s++,40===o&&(o=41);s=0))try{e.hostname=h.toASCII(e.hostname)}catch(n){}return l.encode(l.format(e))}function y(t){var e=l.parse(t,!0);if(e.hostname&&(!e.protocol||g.indexOf(e.protocol)>=0))try{e.hostname=h.toUnicode(e.hostname)}catch(n){}return l.decode(l.format(e),l.decode.defaultChars+"%")}function _(t,e){if(!(this instanceof _))return new _(t,e);e||r.isString(t)||(e=t||{},t="default"),this.inline=new u,this.block=new s,this.core=new a,this.renderer=new o,this.linkify=new c,this.validateLink=v,this.normalizeLink=m,this.normalizeLinkText=y,this.utils=r,this.helpers=r.assign({},i),this.options={},this.configure(t),e&&this.set(e)}_.prototype.set=function(t){return r.assign(this.options,t),this},_.prototype.configure=function(t){var e,n=this;if(r.isString(t)&&!(t=f[e=t]))throw new Error('Wrong `markdown-it` preset "'+e+'", check name');if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&n.set(t.options),t.components&&Object.keys(t.components).forEach(function(e){t.components[e].rules&&n[e].ruler.enableOnly(t.components[e].rules),t.components[e].rules2&&n[e].ruler2.enableOnly(t.components[e].rules2)}),this},_.prototype.enable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(e){n=n.concat(this[e].ruler.enable(t,!0))},this),n=n.concat(this.inline.ruler2.enable(t,!0));var r=t.filter(function(t){return n.indexOf(t)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},_.prototype.disable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(e){n=n.concat(this[e].ruler.disable(t,!0))},this),n=n.concat(this.inline.ruler2.disable(t,!0));var r=t.filter(function(t){return n.indexOf(t)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},_.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this},_.prototype.parse=function(t,e){if("string"!=typeof t)throw new Error("Input data should be a String");var n=new this.core.State(t,this,e);return this.core.process(n),n.tokens},_.prototype.render=function(t,e){return this.renderer.render(this.parse(t,e=e||{}),this.options,e)},_.prototype.parseInline=function(t,e){var n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens},_.prototype.renderInline=function(t,e){return this.renderer.render(this.parseInline(t,e=e||{}),this.options,e)},t.exports=_},51269:function(t,e,n){"use strict";var r=n(67869),i=[["table",n(46961),["paragraph","reference"]],["code",n(27636)],["fence",n(20785),["paragraph","reference","blockquote","list"]],["blockquote",n(48264),["paragraph","reference","blockquote","list"]],["hr",n(90622),["paragraph","reference","blockquote","list"]],["list",n(6483),["paragraph","reference","blockquote"]],["reference",n(69194)],["html_block",n(77607),["paragraph","reference","blockquote"]],["heading",n(15492),["paragraph","reference","blockquote"]],["lheading",n(6726)],["paragraph",n(13794)]];function o(){this.ruler=new r;for(var t=0;t=n||t.sCount[u]=l){t.line=n;break}for(o=t.line,i=0;i=t.line)throw new Error("block rule didn't increment state.line");break}if(!r)throw new Error("none of the block rules matched");t.tight=!c,t.isEmpty(t.line-1)&&(c=!0),(u=t.line)=t.pos)throw new Error("inline rule didn't increment state.pos");break}}else t.pos=t.posMax;e||t.pos++,a[r]=t.pos}else t.pos=a[r]},a.prototype.tokenize=function(t){for(var e,n,r,i=this.ruler.getRules(""),o=i.length,a=t.posMax,s=t.md.options.maxNesting;t.pos=t.pos)throw new Error("inline rule didn't increment state.pos");break}if(e){if(t.pos>=a)break}else t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()},a.prototype.parse=function(t,e,n,r){var i,o,a,s=new this.State(t,e,n,r);for(this.tokenize(s),a=(o=this.ruler2.getRules("")).length,i=0;i"+o(a.content)+""},a.code_block=function(t,e,n,r,i){return""+o(t[e].content)+"\n"},a.fence=function(t,e,n,r,a){var s,u,c,l,h=t[e],f=h.info?i(h.info).trim():"",d="",p="";return f&&(d=(c=f.split(/(\s+)/g))[0],p=c.slice(2).join("")),0===(s=n.highlight&&n.highlight(h.content,d,p)||o(h.content)).indexOf(""+s+"\n"):"
    "+s+"
    \n"},a.image=function(t,e,n,r,i){var o=t[e];return o.attrs[o.attrIndex("alt")][1]=i.renderInlineAsText(o.children,n,r),i.renderToken(t,e,n)},a.hardbreak=function(t,e,n){return n.xhtmlOut?"
    \n":"
    \n"},a.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?"
    \n":"
    \n":"\n"},a.text=function(t,e){return o(t[e].content)},a.html_block=function(t,e){return t[e].content},a.html_inline=function(t,e){return t[e].content},s.prototype.renderAttrs=function(t){var e,n,r;if(!t.attrs)return"";for(r="",e=0,n=t.attrs.length;e\n":">")},s.prototype.renderInline=function(t,e,n){for(var r,i="",o=this.rules,a=0,s=t.length;a=4||62!==t.src.charCodeAt(M))return!1;if(i)return!0;for(p=[],v=[],y=[],_=[],w=t.md.block.ruler.getRules("blockquote"),m=t.parentType,t.parentType="blockquote",f=e;f=(S=t.eMarks[f])));f++)if(62!==t.src.charCodeAt(M++)||x){if(l)break;for(k=!1,s=0,c=w.length;s=S,v.push(t.bsCount[f]),t.bsCount[f]=t.sCount[f]+1+(b?1:0),y.push(t.sCount[f]),t.sCount[f]=d-u,_.push(t.tShift[f]),t.tShift[f]=M-t.bMarks[f]}for(g=t.blkIndent,t.blkIndent=0,(C=t.push("blockquote_open","blockquote",1)).markup=">",C.map=h=[e,0],t.md.block.tokenize(t,e,f),(C=t.push("blockquote_close","blockquote",-1)).markup=">",t.lineMax=O,t.parentType=m,h[1]=t.line,s=0;s<_.length;s++)t.bMarks[s+e]=p[s],t.tShift[s+e]=_[s],t.sCount[s+e]=y[s],t.bsCount[s+e]=v[s];return t.blkIndent=g,!0}},27636:function(t){"use strict";t.exports=function(t,e,n){var r,i,o;if(t.sCount[e]-t.blkIndent<4)return!1;for(i=r=e+1;r=4))break;i=++r}return t.line=i,(o=t.push("code_block","code",0)).content=t.getLines(e,i,4+t.blkIndent,!1)+"\n",o.map=[e,t.line],!0}},20785:function(t){"use strict";t.exports=function(t,e,n,r){var i,o,a,s,u,c,l,h=!1,f=t.bMarks[e]+t.tShift[e],d=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4||f+3>d||126!==(i=t.src.charCodeAt(f))&&96!==i||(u=f,(o=(f=t.skipChars(f,i))-u)<3)||(l=t.src.slice(u,f),a=t.src.slice(f,d),96===i&&a.indexOf(String.fromCharCode(i))>=0))return!1;if(r)return!0;for(s=e;!(++s>=n||(f=u=t.bMarks[s]+t.tShift[s],d=t.eMarks[s],f=4||(f=t.skipChars(f,i),f-u=4||35!==(o=t.src.charCodeAt(c))||c>=l)return!1;for(a=1,o=t.src.charCodeAt(++c);35===o&&c6||cc&&r(t.src.charCodeAt(s-1))&&(l=s),t.line=e+1,(u=t.push("heading_open","h"+String(a),1)).markup="########".slice(0,a),u.map=[e,t.line],(u=t.push("inline","",0)).content=t.src.slice(c,l).trim(),u.map=[e,t.line],u.children=[],(u=t.push("heading_close","h"+String(a),-1)).markup="########".slice(0,a)),0))}},90622:function(t,e,n){"use strict";var r=n(47504).isSpace;t.exports=function(t,e,n,i){var o,a,s,u,c=t.bMarks[e]+t.tShift[e],l=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4||42!==(o=t.src.charCodeAt(c++))&&45!==o&&95!==o)return!1;for(a=1;c|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];t.exports=function(t,e,n,r){var i,a,s,u,c=t.bMarks[e]+t.tShift[e],l=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4||!t.md.options.html||60!==t.src.charCodeAt(c))return!1;for(u=t.src.slice(c,l),i=0;i=4)return!1;for(f=t.parentType,t.parentType="paragraph";d3)){if(t.sCount[d]>=t.blkIndent&&(u=t.bMarks[d]+t.tShift[d])<(c=t.eMarks[d])&&(45===(h=t.src.charCodeAt(u))||61===h)&&(u=t.skipChars(u,h),(u=t.skipSpaces(u))>=c)){l=61===h?1:2;break}if(!(t.sCount[d]<0)){for(i=!1,o=0,a=p.length;o=a||(n=t.src.charCodeAt(o++))<48||n>57)return-1;for(;;){if(o>=a)return-1;if(!((n=t.src.charCodeAt(o++))>=48&&n<=57)){if(41===n||46===n)break;return-1}if(o-i>=10)return-1}return o=4||t.listIndent>=0&&t.sCount[D]-t.listIndent>=4&&t.sCount[D]=t.blkIndent&&(L=!0),(S=o(t,D))>=0){if(f=!0,E=t.bMarks[D]+t.tShift[D],y=Number(t.src.slice(E,S-1)),L&&1!==y)return!1}else{if(!((S=i(t,D))>=0))return!1;f=!1}if(L&&t.skipSpaces(S)>=t.eMarks[D])return!1;if(r)return!0;for(m=t.src.charCodeAt(S-1),g=t.tokens.length,f?(I=t.push("ordered_list_open","ol",1),1!==y&&(I.attrs=[["start",y]])):I=t.push("bullet_list_open","ul",1),I.map=v=[D,0],I.markup=String.fromCharCode(m),P=!1,T=t.md.block.ruler.getRules("list"),w=t.parentType,t.parentType="list";D=_?1:b-h)>4&&(l=1),c=h+l,(I=t.push("list_item_open","li",1)).markup=String.fromCharCode(m),I.map=d=[D,0],f&&(I.info=t.src.slice(E,S-1)),O=t.tight,x=t.tShift[D],C=t.sCount[D],k=t.listIndent,t.listIndent=t.blkIndent,t.blkIndent=c,t.tight=!0,t.tShift[D]=s-t.bMarks[D],t.sCount[D]=b,s>=_&&t.isEmpty(D+1)?t.line=Math.min(t.line+2,n):t.md.block.tokenize(t,D,n,!0),(!t.tight||P)&&(N=!1),P=t.line-D>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=k,t.tShift[D]=x,t.sCount[D]=C,t.tight=O,(I=t.push("list_item_close","li",-1)).markup=String.fromCharCode(m),d[1]=D=t.line,D>=n||t.sCount[D]=4)break;for(A=!1,u=0,p=T.length;u3||t.sCount[c]<0)){for(i=!1,o=0,a=l.length;o=4||91!==t.src.charCodeAt(C))return!1;for(;++C3||t.sCount[O]<0)){for(_=!1,h=0,f=b.length;h0&&this.level++,this.tokens.push(i),i},o.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]},o.prototype.skipEmptyLines=function(t){for(var e=this.lineMax;te;)if(!i(this.src.charCodeAt(--t)))return t+1;return t},o.prototype.skipChars=function(t,e){for(var n=this.src.length;tn;)if(e!==this.src.charCodeAt(--t))return t+1;return t},o.prototype.getLines=function(t,e,n,r){var o,a,s,u,c,l,h,f=t;if(t>=e)return"";for(l=new Array(e-t),o=0;fn?new Array(a-n+1).join(" ")+this.src.slice(u,c):this.src.slice(u,c)}return l.join("")},o.prototype.Token=r,t.exports=o},46961:function(t,e,n){"use strict";var r=n(47504).isSpace;function i(t,e){return t.src.slice(t.bMarks[e]+t.tShift[e],t.eMarks[e])}function o(t){var e,n=[],r=0,i=t.length,o=!1,a=0,s="";for(e=t.charCodeAt(r);rn||t.sCount[f=e+1]=4||(c=t.bMarks[f]+t.tShift[f])>=t.eMarks[f]||124!==(C=t.src.charCodeAt(c++))&&45!==C&&58!==C||c>=t.eMarks[f]||124!==(x=t.src.charCodeAt(c++))&&45!==x&&58!==x&&!r(x)||45===C&&r(x))return!1;for(;c=4||((d=o(u)).length&&""===d[0]&&d.shift(),d.length&&""===d[d.length-1]&&d.pop(),0===(p=d.length)||p!==g.length))return!1;if(a)return!0;for(b=t.parentType,t.parentType="table",w=t.md.block.ruler.getRules("blockquote"),(v=t.push("table_open","table",1)).map=y=[e,0],(v=t.push("thead_open","thead",1)).map=[e,e+1],(v=t.push("tr_open","tr",1)).map=[e,e+1],l=0;l=4)break;for((d=o(u)).length&&""===d[0]&&d.shift(),d.length&&""===d[d.length-1]&&d.pop(),f===e+2&&((v=t.push("tbody_open","tbody",1)).map=_=[e+2,0]),(v=t.push("tr_open","tr",1)).map=[f,f+1],l=0;l=0;e--)if("link_close"!==(s=o[e]).type){if("html_inline"===s.type&&(/^\s]/i.test(s.content)&&p>0&&p--,/^<\/a\s*>/i.test(s.content)&&p++),!(p>0)&&"text"===s.type&&t.md.linkify.test(s.content)){for(m=t.md.linkify.match(l=s.content),u=[],d=s.level,f=0,m.length>0&&0===m[0].index&&e>0&&"text_special"===o[e-1].type&&(m=m.slice(1)),c=0;cf&&((a=new t.Token("text","",0)).content=l.slice(f,h),a.level=d,u.push(a)),(a=new t.Token("link_open","a",1)).attrs=[["href",v]],a.level=d++,a.markup="linkify",a.info="auto",u.push(a),(a=new t.Token("text","",0)).content=g,a.level=d,u.push(a),(a=new t.Token("link_close","a",-1)).level=--d,a.markup="linkify",a.info="auto",u.push(a),f=m[c].lastIndex);f=0;e--)"text"===(n=t[e]).type&&!i&&(n.content=n.content.replace(r,o)),"link_open"===n.type&&"auto"===n.info&&i--,"link_close"===n.type&&"auto"===n.info&&i++}function s(t){var n,r,i=0;for(n=t.length-1;n>=0;n--)"text"===(r=t[n]).type&&!i&&e.test(r.content)&&(r.content=r.content.replace(/\+-/g,"\xb1").replace(/\.{2,}/g,"\u2026").replace(/([?!])\u2026/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1\u2014").replace(/(^|\s)--(?=\s|$)/gm,"$1\u2013").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1\u2013")),"link_open"===r.type&&"auto"===r.info&&i--,"link_close"===r.type&&"auto"===r.info&&i++}t.exports=function(t){var r;if(t.md.options.typographer)for(r=t.tokens.length-1;r>=0;r--)"inline"===t.tokens[r].type&&(n.test(t.tokens[r].content)&&a(t.tokens[r].children),e.test(t.tokens[r].content)&&s(t.tokens[r].children))}},87185:function(t,e,n){"use strict";var r=n(47504).isWhiteSpace,i=n(47504).isPunctChar,o=n(47504).isMdAsciiPunct,a=/['"]/,s=/['"]/g;function u(t,e,n){return t.slice(0,e)+n+t.slice(e+1)}function c(t,e){var n,a,c,l,h,f,d,p,v,g,m,y,_,b,k,w,C,x,O,M,S;for(O=[],n=0;n=0&&!(O[C].level<=d);C--);if(O.length=C+1,"text"===a.type){h=0,f=(c=a.content).length;t:for(;h=0)v=c.charCodeAt(l.index-1);else for(C=n-1;C>=0&&"softbreak"!==t[C].type&&"hardbreak"!==t[C].type;C--)if(t[C].content){v=t[C].content.charCodeAt(t[C].content.length-1);break}if(g=32,h=48&&v<=57&&(w=k=!1),k&&w&&(k=m,w=y),k||w){if(w)for(C=O.length-1;C>=0&&(p=O[C],!(O[C].level=0;e--)"inline"!==t.tokens[e].type||!a.test(t.tokens[e].content)||c(t.tokens[e].children,t)}},96546:function(t,e,n){"use strict";var r=n(68253);function i(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}i.prototype.Token=r,t.exports=i},91726:function(t){"use strict";t.exports=function(t){var e,n,r,i,o,a,s=t.tokens;for(e=0,n=s.length;e\x00-\x20]*)$/;t.exports=function(t,r){var i,o,a,s,u,c,l=t.pos;if(60!==t.src.charCodeAt(l))return!1;for(u=t.pos,c=t.posMax;;){if(++l>=c||60===(s=t.src.charCodeAt(l)))return!1;if(62===s)break}return i=t.src.slice(u+1,l),n.test(i)?(o=t.md.normalizeLink(i),!!t.md.validateLink(o)&&(r||((a=t.push("link_open","a",1)).attrs=[["href",o]],a.markup="autolink",a.info="auto",(a=t.push("text","",0)).content=t.md.normalizeLinkText(i),(a=t.push("link_close","a",-1)).markup="autolink",a.info="auto"),t.pos+=i.length+2,!0)):!!e.test(i)&&(o=t.md.normalizeLink("mailto:"+i),!!t.md.validateLink(o)&&(r||((a=t.push("link_open","a",1)).attrs=[["href",o]],a.markup="autolink",a.info="auto",(a=t.push("text","",0)).content=t.md.normalizeLinkText(i),(a=t.push("link_close","a",-1)).markup="autolink",a.info="auto"),t.pos+=i.length+2,!0))}},18326:function(t){"use strict";t.exports=function(t,e){var n,r,i,o,a,s,u,c,l=t.pos;if(96!==t.src.charCodeAt(l))return!1;for(n=l,l++,r=t.posMax;lo;n-=d[n]+1)if((i=t[n]).marker===r.marker&&i.open&&i.end<0&&(s=!1,(i.close||r.open)&&(i.length+r.length)%3==0&&(i.length%3!=0||r.length%3!=0)&&(s=!0),!s)){d[e]=e-n+(u=n>0&&!t[n-1].open?d[n-1]+1:0),d[n]=u,r.open=!1,i.end=e,i.close=!1,a=-1,f=-2;break}-1!==a&&(c[r.marker][(r.open?3:0)+(r.length||0)%3]=a)}}}t.exports=function(t){var n,r=t.tokens_meta,i=t.tokens_meta.length;for(e(t.delimiters),n=0;n=0;n--)(95===(r=e[n]).marker||42===r.marker)&&-1!==r.end&&(i=e[r.end],s=n>0&&e[n-1].end===r.end+1&&e[n-1].marker===r.marker&&e[n-1].token===r.token-1&&e[r.end+1].token===i.token+1,a=String.fromCharCode(r.marker),(o=t.tokens[r.token]).type=s?"strong_open":"em_open",o.tag=s?"strong":"em",o.nesting=1,o.markup=s?a+a:a,o.content="",(o=t.tokens[i.token]).type=s?"strong_close":"em_close",o.tag=s?"strong":"em",o.nesting=-1,o.markup=s?a+a:a,o.content="",s&&(t.tokens[e[n-1].token].content="",t.tokens[e[r.end+1].token].content="",n--))}t.exports.w=function(t,e){var n,r,i=t.src.charCodeAt(t.pos);if(e||95!==i&&42!==i)return!1;for(r=t.scanDelims(t.pos,42===i),n=0;n=f)return!1;if(35===t.src.charCodeAt(h+1)){if(c=t.src.slice(h).match(s))return e||(n="x"===c[1][0].toLowerCase()?parseInt(c[1].slice(1),16):parseInt(c[1],10),(l=t.push("text_special","",0)).content=o(n)?a(n):a(65533),l.markup=c[0],l.info="entity"),t.pos+=c[0].length,!0}else if((c=t.src.slice(h).match(u))&&i(r,c[1]))return e||((l=t.push("text_special","",0)).content=r[c[1]],l.markup=c[0],l.info="entity"),t.pos+=c[0].length,!0;return!1}},50340:function(t,e,n){"use strict";for(var r=n(47504).isSpace,i=[],o=0;o<256;o++)i.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t){i[t.charCodeAt(0)]=1}),t.exports=function(t,e){var n,o,a,s,u,c=t.pos,l=t.posMax;if(92!==t.src.charCodeAt(c)||++c>=l)return!1;if(10===(n=t.src.charCodeAt(c))){for(e||t.push("hardbreak","br",0),c++;c=55296&&n<=56319&&c+1=56320&&o<=57343&&(s+=t.src[c+1],c++),a="\\"+s,e||((u=t.push("text_special","",0)).content=n<256&&0!==i[n]?s:a,u.markup=a,u.info="escape"),t.pos=c+1,!0}},36109:function(t){"use strict";t.exports=function(t){var e,n,r=0,i=t.tokens,o=t.tokens.length;for(e=n=0;e0&&r++,"text"===i[e].type&&e+1=o)||(n=t.src.charCodeAt(u+1),33!==n&&63!==n&&47!==n&&!function(t){var e=32|t;return e>=97&&e<=122}(n))||(i=t.src.slice(u).match(r),!i)||(e||((a=t.push("html_inline","",0)).content=i[0],/^\s]/i.test(a.content)&&t.linkLevel++,s=a.content,/^<\/a\s*>/i.test(s)&&t.linkLevel--),t.pos+=i[0].length,0))}},10898:function(t,e,n){"use strict";var r=n(47504).normalizeReference,i=n(47504).isSpace;t.exports=function(t,e){var n,o,a,s,u,c,l,h,f,d,p,v,g,m="",y=t.pos,_=t.posMax;if(33!==t.src.charCodeAt(t.pos)||91!==t.src.charCodeAt(t.pos+1)||(c=t.pos+2,(u=t.md.helpers.parseLinkLabel(t,t.pos+1,!1))<0))return!1;if((l=u+1)<_&&40===t.src.charCodeAt(l)){for(l++;l<_&&(o=t.src.charCodeAt(l),i(o)||10===o);l++);if(l>=_)return!1;for(g=l,(f=t.md.helpers.parseLinkDestination(t.src,l,t.posMax)).ok&&(m=t.md.normalizeLink(f.str),t.md.validateLink(m)?l=f.pos:m=""),g=l;l<_&&(o=t.src.charCodeAt(l),i(o)||10===o);l++);if(f=t.md.helpers.parseLinkTitle(t.src,l,t.posMax),l<_&&g!==l&&f.ok)for(d=f.str,l=f.pos;l<_&&(o=t.src.charCodeAt(l),i(o)||10===o);l++);else d="";if(l>=_||41!==t.src.charCodeAt(l))return t.pos=y,!1;l++}else{if(void 0===t.env.references)return!1;if(l<_&&91===t.src.charCodeAt(l)?(g=l+1,(l=t.md.helpers.parseLinkLabel(t,l))>=0?s=t.src.slice(g,l++):l=u+1):l=u+1,s||(s=t.src.slice(c,u)),!(h=t.env.references[r(s)]))return t.pos=y,!1;m=h.href,d=h.title}return e||(a=t.src.slice(c,u),t.md.inline.parse(a,t.md,t.env,v=[]),(p=t.push("image","img",0)).attrs=n=[["src",m],["alt",""]],p.children=v,p.content=a,d&&n.push(["title",d])),t.pos=l,t.posMax=_,!0}},1786:function(t,e,n){"use strict";var r=n(47504).normalizeReference,i=n(47504).isSpace;t.exports=function(t,e){var n,o,a,s,u,c,l,h,f="",d="",p=t.pos,v=t.posMax,g=t.pos,m=!0;if(91!==t.src.charCodeAt(t.pos)||(u=t.pos+1,(s=t.md.helpers.parseLinkLabel(t,t.pos,!0))<0))return!1;if((c=s+1)=v)return!1;if(g=c,(l=t.md.helpers.parseLinkDestination(t.src,c,t.posMax)).ok){for(f=t.md.normalizeLink(l.str),t.md.validateLink(f)?c=l.pos:f="",g=c;c=v||41!==t.src.charCodeAt(c))&&(m=!0),c++}if(m){if(void 0===t.env.references)return!1;if(c=0?a=t.src.slice(g,c++):c=s+1):c=s+1,a||(a=t.src.slice(u,s)),!(h=t.env.references[r(a)]))return t.pos=p,!1;f=h.href,d=h.title}return e||(t.pos=u,t.posMax=s,t.push("link_open","a",1).attrs=n=[["href",f]],d&&n.push(["title",d]),t.linkLevel++,t.md.inline.tokenize(t),t.linkLevel--,t.push("link_close","a",-1)),t.pos=c,t.posMax=v,!0}},79850:function(t){"use strict";var e=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;t.exports=function(t,n){var r,i,o,a,s,u,c,l;return!(!t.md.options.linkify||t.linkLevel>0||(r=t.pos,i=t.posMax,r+3>i)||58!==t.src.charCodeAt(r)||47!==t.src.charCodeAt(r+1)||47!==t.src.charCodeAt(r+2)||(o=t.pending.match(e),!o)||(a=o[1],s=t.md.linkify.matchAtStart(t.src.slice(r-a.length)),!s)||(u=s.url,u.length<=a.length)||(u=u.replace(/\*+$/,""),c=t.md.normalizeLink(u),!t.md.validateLink(c))||(n||(t.pending=t.pending.slice(0,-a.length),(l=t.push("link_open","a",1)).attrs=[["href",c]],l.markup="linkify",l.info="auto",(l=t.push("text","",0)).content=t.md.normalizeLinkText(u),(l=t.push("link_close","a",-1)).markup="linkify",l.info="auto"),t.pos+=u.length-a.length,0))}},58254:function(t,e,n){"use strict";var r=n(47504).isSpace;t.exports=function(t,e){var n,i,o,a=t.pos;if(10!==t.src.charCodeAt(a))return!1;if(n=t.pending.length-1,i=t.posMax,!e)if(n>=0&&32===t.pending.charCodeAt(n))if(n>=1&&32===t.pending.charCodeAt(n-1)){for(o=n-1;o>=1&&32===t.pending.charCodeAt(o-1);)o--;t.pending=t.pending.slice(0,o),t.push("hardbreak","br",0)}else t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0);else t.push("softbreak","br",0);for(a++;a0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(i),this.tokens_meta.push(o),i},s.prototype.scanDelims=function(t,e){var n,r,s,u,c,l,h,f,d,p=t,v=!0,g=!0,m=this.posMax,y=this.src.charCodeAt(t);for(n=t>0?this.src.charCodeAt(t-1):32;p=0&&(n=this.attrs[e][1]),n},e.prototype.attrJoin=function(t,e){var n=this.attrIndex(t);n<0?this.attrPush([t,e]):this.attrs[n][1]=this.attrs[n][1]+" "+e},t.exports=e},5478:function(t){t.exports=function(){"use strict";function t(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(r=t[Symbol.iterator]()).next.bind(r)}var r,i=(function(t){t.exports={defaults:{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1},getDefaults:function(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}},changeDefaults:function(e){t.exports.defaults=e}}}(r={exports:{}}),r.exports),o=/[&<>"']/,a=/[&<>"']/g,s=/[<>"']|&(?!#?\w+;)/,u=/[<>"']|&(?!#?\w+;)/g,c={"&":"&","<":"<",">":">",'"':""","'":"'"},l=function(t){return c[t]},h=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function f(t){return t.replace(h,function(t,e){return"colon"===(e=e.toLowerCase())?":":"#"===e.charAt(0)?"x"===e.charAt(1)?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):""})}var d=/(^|[^\[])\^/g,p=/[^\w:]/g,v=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i,g={},m=/^[^:]+:\/*[^/]*$/,y=/^([^:]+:)[\s\S]*$/,_=/^([^:]+:\/*[^/]*)[\s\S]*$/;function b(t,e,n){var r=t.length;if(0===r)return"";for(var i=0;i=0&&"\\"===n[i];)r=!r;return r?"|":" |"}).split(/ \|/),r=0;if(n.length>e)n.splice(e);else for(;n.length1?{type:"space",raw:e[0]}:{raw:"\n"}},e.code=function(t,e){var n=this.rules.block.code.exec(t);if(n){var r=e[e.length-1];if(r&&"paragraph"===r.type)return{raw:n[0],text:n[0].trimRight()};var i=n[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?i:O(i,"\n")}}},e.fences=function(t){var e=this.rules.block.fences.exec(t);if(e){var n=e[0],r=function(t,e){var n=t.match(/^(\s+)(?:```)/);if(null===n)return e;var r=n[1];return e.split("\n").map(function(t){var e=t.match(/^\s+/);return null===e?t:e[0].length>=r.length?t.slice(r.length):t}).join("\n")}(n,e[3]||"");return{type:"code",raw:n,lang:e[2]?e[2].trim():e[2],text:r}}},e.heading=function(t){var e=this.rules.block.heading.exec(t);if(e){var n=e[2].trim();if(/#$/.test(n)){var r=O(n,"#");(this.options.pedantic||!r||/ $/.test(r))&&(n=r.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:n}}},e.nptable=function(t){var e=this.rules.block.nptable.exec(t);if(e){var n={type:"table",header:M(e[1].replace(/^ *| *\| *$/g,"")),align:e[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:e[3]?e[3].replace(/\n$/,"").split("\n"):[],raw:e[0]};if(n.header.length===n.align.length){var r,i=n.align.length;for(r=0;r ?/gm,"");return{type:"blockquote",raw:e[0],text:n}}},e.list=function(t){var e=this.rules.block.list.exec(t);if(e){var n,r,i,o,a,s,u,c,l=e[0],h=e[2],f=h.length>1,d={type:"list",raw:l,ordered:f,start:f?+h.slice(0,-1):"",loose:!1,items:[]},p=e[0].match(this.rules.block.item),v=!1,g=p.length;i=this.rules.block.listItemStart.exec(p[0]);for(var m=0;mi[1].length:o[1].length>i[0].length||o[1].length>3){p.splice(m,2,p[m]+"\n"+p[m+1]),m--,g--;continue}(!this.options.pedantic||this.options.smartLists?o[2][o[2].length-1]!==h[h.length-1]:f===(1===o[2].length))&&(a=p.slice(m+1).join("\n"),d.raw=d.raw.substring(0,d.raw.length-a.length),m=g-1),i=o}r=n.length,~(n=n.replace(/^ *([*+-]|\d+[.)]) ?/,"")).indexOf("\n ")&&(r-=n.length,n=n.replace(this.options.pedantic?/^ {1,4}/gm:new RegExp("^ {1,"+r+"}","gm"),"")),s=v||/\n\n(?!\s*$)/.test(n),m!==g-1&&(v="\n"===n.charAt(n.length-1),s||(s=v)),s&&(d.loose=!0),this.options.gfm&&(c=void 0,(u=/^\[[ xX]\] /.test(n))&&(c=" "!==n[1],n=n.replace(/^\[[ xX]\] +/,""))),d.items.push({type:"list_item",raw:l,task:u,checked:c,loose:s,text:n})}return d}},e.html=function(t){var e=this.rules.block.html.exec(t);if(e)return{type:this.options.sanitize?"paragraph":"html",raw:e[0],pre:!this.options.sanitizer&&("pre"===e[1]||"script"===e[1]||"style"===e[1]),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(e[0]):S(e[0]):e[0]}},e.def=function(t){var e=this.rules.block.def.exec(t);if(e)return e[3]&&(e[3]=e[3].substring(1,e[3].length-1)),{tag:e[1].toLowerCase().replace(/\s+/g," "),raw:e[0],href:e[2],title:e[3]}},e.table=function(t){var e=this.rules.block.table.exec(t);if(e){var n={type:"table",header:M(e[1].replace(/^ *| *\| *$/g,"")),align:e[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:e[3]?e[3].replace(/\n$/,"").split("\n"):[]};if(n.header.length===n.align.length){n.raw=e[0];var r,i=n.align.length;for(r=0;r/i.test(r[0])&&(e=!1),!n&&/^<(pre|code|kbd|script)(\s|>)/i.test(r[0])?n=!0:n&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(r[0])&&(n=!1),{type:this.options.sanitize?"text":"html",raw:r[0],inLink:e,inRawBlock:n,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):S(r[0]):r[0]}},e.link=function(t){var e=this.rules.inline.link.exec(t);if(e){var n=e[2].trim();if(!this.options.pedantic&&/^$/.test(n))return;var r=O(n.slice(0,-1),"\\");if((n.length-r.length)%2==0)return}else{var i=P(e[2],"()");if(i>-1){var o=(0===e[0].indexOf("!")?5:4)+e[1].length+i;e[2]=e[2].substring(0,i),e[0]=e[0].substring(0,o).trim(),e[3]=""}}var a=e[2],s="";if(this.options.pedantic){var u=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(a);u&&(a=u[1],s=u[3])}else s=e[3]?e[3].slice(1,-1):"";return a=a.trim(),/^$/.test(n)?a.slice(1):a.slice(1,-1)),E(e,{href:a&&a.replace(this.rules.inline._escapes,"$1"),title:s&&s.replace(this.rules.inline._escapes,"$1")},e[0])}},e.reflink=function(t,e){var n;if((n=this.rules.inline.reflink.exec(t))||(n=this.rules.inline.nolink.exec(t))){var r=(n[2]||n[1]).replace(/\s+/g," ");if(!(r=e[r.toLowerCase()])||!r.href){var i=n[0].charAt(0);return{type:"text",raw:i,text:i}}return E(n,r,n[0])}},e.strong=function(t,e,n){void 0===n&&(n="");var r=this.rules.inline.strong.start.exec(t);if(r&&(!r[1]||r[1]&&(""===n||this.rules.inline.punctuation.exec(n)))){e=e.slice(-1*t.length);var i,o="**"===r[0]?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;for(o.lastIndex=0;null!=(r=o.exec(e));)if(i=this.rules.inline.strong.middle.exec(e.slice(0,r.index+3)))return{type:"strong",raw:t.slice(0,i[0].length),text:t.slice(2,i[0].length-2)}}},e.em=function(t,e,n){void 0===n&&(n="");var r=this.rules.inline.em.start.exec(t);if(r&&(!r[1]||r[1]&&(""===n||this.rules.inline.punctuation.exec(n)))){e=e.slice(-1*t.length);var i,o="*"===r[0]?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;for(o.lastIndex=0;null!=(r=o.exec(e));)if(i=this.rules.inline.em.middle.exec(e.slice(0,r.index+2)))return{type:"em",raw:t.slice(0,i[0].length),text:t.slice(1,i[0].length-1)}}},e.codespan=function(t){var e=this.rules.inline.code.exec(t);if(e){var n=e[2].replace(/\n/g," "),r=/[^ ]/.test(n),i=/^ /.test(n)&&/ $/.test(n);return r&&i&&(n=n.substring(1,n.length-1)),n=S(n,!0),{type:"codespan",raw:e[0],text:n}}},e.br=function(t){var e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}},e.del=function(t){var e=this.rules.inline.del.exec(t);if(e)return{type:"del",raw:e[0],text:e[2]}},e.autolink=function(t,e){var n,r,i=this.rules.inline.autolink.exec(t);if(i)return r="@"===i[2]?"mailto:"+(n=S(this.options.mangle?e(i[1]):i[1])):n=S(i[1]),{type:"link",raw:i[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}},e.url=function(t,e){var n;if(n=this.rules.inline.url.exec(t)){var r,i;if("@"===n[2])i="mailto:"+(r=S(this.options.mangle?e(n[0]):n[0]));else{var o;do{o=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(o!==n[0]);r=S(n[0]),i="www."===n[1]?"http://"+r:r}return{type:"link",raw:n[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}},e.inlineText=function(t,e,n){var r,i=this.rules.inline.text.exec(t);if(i)return r=e?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):S(i[0]):i[0]:S(this.options.smartypants?n(i[0]):i[0]),{type:"text",raw:i[0],text:r}},t}(),T={exec:function(){}},I=function(t,e){t=t.source||t,e=e||"";var n={replace:function(e,r){return r=(r=r.source||r).replace(d,"$1"),t=t.replace(e,r),n},getRegex:function(){return new RegExp(t,e)}};return n},D=C,L={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?! {0,3}bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:T,table:T,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};L.def=I(L.def).replace("label",L._label).replace("title",L._title).getRegex(),L.bullet=/(?:[*+-]|\d{1,9}[.)])/,L.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,L.item=I(L.item,"gm").replace(/bull/g,L.bullet).getRegex(),L.listItemStart=I(/^( *)(bull)/).replace("bull",L.bullet).getRegex(),L.list=I(L.list).replace(/bull/g,L.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+L.def.source+")").getRegex(),L._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",L._comment=/|$)/,L.html=I(L.html,"i").replace("comment",L._comment).replace("tag",L._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),L.paragraph=I(L._paragraph).replace("hr",L.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",L._tag).getRegex(),L.blockquote=I(L.blockquote).replace("paragraph",L.paragraph).getRegex(),L.normal=D({},L),L.gfm=D({},L.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n {0,3}([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n {0,3}\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),L.gfm.nptable=I(L.gfm.nptable).replace("hr",L.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",L._tag).getRegex(),L.gfm.table=I(L.gfm.table).replace("hr",L.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",L._tag).getRegex(),L.pedantic=D({},L.normal,{html:I("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",L._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:T,paragraph:I(L.normal._paragraph).replace("hr",L.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",L.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var N={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:T,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",strong:{start:/^(?:(\*\*(?=[*punctuation]))|\*\*)(?![\s])|__/,middle:/^\*\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*\*$|^__(?![\s])((?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?)__$/,endAst:/[^punctuation\s]\*\*(?!\*)|[punctuation]\*\*(?!\*)(?:(?=[punctuation_\s]|$))/,endUnd:/[^\s]__(?!_)(?:(?=[punctuation*\s])|$)/},em:{start:/^(?:(\*(?=[punctuation]))|\*)(?![*\s])|_/,middle:/^\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*$|^_(?![_\s])(?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?_$/,endAst:/[^punctuation\s]\*(?!\*)|[punctuation]\*(?!\*)(?:(?=[punctuation_\s]|$))/,endUnd:/[^\s]_(?!_)(?:(?=[punctuation*\s])|$)/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:T,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~"};N.punctuation=I(N.punctuation).replace(/punctuation/g,N._punctuation).getRegex(),N._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",N._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",N._comment=I(L._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),N.em.start=I(N.em.start).replace(/punctuation/g,N._punctuation).getRegex(),N.em.middle=I(N.em.middle).replace(/punctuation/g,N._punctuation).replace(/overlapSkip/g,N._overlapSkip).getRegex(),N.em.endAst=I(N.em.endAst,"g").replace(/punctuation/g,N._punctuation).getRegex(),N.em.endUnd=I(N.em.endUnd,"g").replace(/punctuation/g,N._punctuation).getRegex(),N.strong.start=I(N.strong.start).replace(/punctuation/g,N._punctuation).getRegex(),N.strong.middle=I(N.strong.middle).replace(/punctuation/g,N._punctuation).replace(/overlapSkip/g,N._overlapSkip).getRegex(),N.strong.endAst=I(N.strong.endAst,"g").replace(/punctuation/g,N._punctuation).getRegex(),N.strong.endUnd=I(N.strong.endUnd,"g").replace(/punctuation/g,N._punctuation).getRegex(),N.blockSkip=I(N._blockSkip,"g").getRegex(),N.overlapSkip=I(N._overlapSkip,"g").getRegex(),N._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,N._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,N._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,N.autolink=I(N.autolink).replace("scheme",N._scheme).replace("email",N._email).getRegex(),N._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,N.tag=I(N.tag).replace("comment",N._comment).replace("attribute",N._attribute).getRegex(),N._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,N._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,N._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,N.link=I(N.link).replace("label",N._label).replace("href",N._href).replace("title",N._title).getRegex(),N.reflink=I(N.reflink).replace("label",N._label).getRegex(),N.reflinkSearch=I(N.reflinkSearch,"g").replace("reflink",N.reflink).replace("nolink",N.nolink).getRegex(),N.normal=D({},N),N.pedantic=D({},N.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:I(/^!?\[(label)\]\((.*?)\)/).replace("label",N._label).getRegex(),reflink:I(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",N._label).getRegex()}),N.gfm=D({},N.normal,{escape:I(N.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\1;)1&e&&(n+=t),e>>=1,t+=t;return n+t};function V(t){return t.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201c").replace(/"/g,"\u201d").replace(/\.{3}/g,"\u2026")}function Y(t){var e,n,r="",i=t.length;for(e=0;e.5&&(n="x"+n.toString(16)),r+="&#"+n+";";return r}var Z=function(){function e(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||F,this.options.tokenizer=this.options.tokenizer||new A,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var e={block:R.normal,inline:j.normal};this.options.pedantic?(e.block=R.pedantic,e.inline=j.pedantic):this.options.gfm&&(e.block=R.gfm,e.inline=this.options.breaks?j.breaks:j.gfm),this.tokenizer.rules=e}e.lex=function(t,n){return new e(n).lex(t)},e.lexInline=function(t,n){return new e(n).inlineTokens(t)};var n=e.prototype;return n.lex=function(t){return t=t.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(t,this.tokens,!0),this.inline(this.tokens),this.tokens},n.blockTokens=function(t,e,n){void 0===e&&(e=[]),void 0===n&&(n=!0),this.options.pedantic&&(t=t.replace(/^ +$/gm,""));for(var r,i,o,a;t;)if(r=this.tokenizer.space(t))t=t.substring(r.raw.length),r.type&&e.push(r);else if(r=this.tokenizer.code(t,e))t=t.substring(r.raw.length),r.type?e.push(r):((a=e[e.length-1]).raw+="\n"+r.raw,a.text+="\n"+r.text);else if(r=this.tokenizer.fences(t))t=t.substring(r.raw.length),e.push(r);else if(r=this.tokenizer.heading(t))t=t.substring(r.raw.length),e.push(r);else if(r=this.tokenizer.nptable(t))t=t.substring(r.raw.length),e.push(r);else if(r=this.tokenizer.hr(t))t=t.substring(r.raw.length),e.push(r);else if(r=this.tokenizer.blockquote(t))t=t.substring(r.raw.length),r.tokens=this.blockTokens(r.text,[],n),e.push(r);else if(r=this.tokenizer.list(t)){for(t=t.substring(r.raw.length),o=r.items.length,i=0;i0)for(;null!=(o=this.tokenizer.rules.inline.reflinkSearch.exec(u));)c.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(u=u.slice(0,o.index)+"["+B("a",o[0].length-2)+"]"+u.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(o=this.tokenizer.rules.inline.blockSkip.exec(u));)u=u.slice(0,o.index)+"["+B("a",o[0].length-2)+"]"+u.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;t;)if(a||(s=""),a=!1,i=this.tokenizer.escape(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.tag(t,n,r))t=t.substring(i.raw.length),n=i.inLink,r=i.inRawBlock,e.push(i);else if(i=this.tokenizer.link(t))t=t.substring(i.raw.length),"link"===i.type&&(i.tokens=this.inlineTokens(i.text,[],!0,r)),e.push(i);else if(i=this.tokenizer.reflink(t,this.tokens.links))t=t.substring(i.raw.length),"link"===i.type&&(i.tokens=this.inlineTokens(i.text,[],!0,r)),e.push(i);else if(i=this.tokenizer.strong(t,u,s))t=t.substring(i.raw.length),i.tokens=this.inlineTokens(i.text,[],n,r),e.push(i);else if(i=this.tokenizer.em(t,u,s))t=t.substring(i.raw.length),i.tokens=this.inlineTokens(i.text,[],n,r),e.push(i);else if(i=this.tokenizer.codespan(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.br(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.del(t))t=t.substring(i.raw.length),i.tokens=this.inlineTokens(i.text,[],n,r),e.push(i);else if(i=this.tokenizer.autolink(t,Y))t=t.substring(i.raw.length),e.push(i);else if(n||!(i=this.tokenizer.url(t,Y))){if(i=this.tokenizer.inlineText(t,r,V))t=t.substring(i.raw.length),s=i.raw.slice(-1),a=!0,e.push(i);else if(t){var l="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(l);break}throw new Error(l)}}else t=t.substring(i.raw.length),e.push(i);return e},function(e,n,r){r&&t(e,r)}(e,0,[{key:"rules",get:function(){return{block:R,inline:j}}}]),e}(),q=i.defaults,U=function(t,e,n){if(t){var r;try{r=decodeURIComponent(f(n)).replace(p,"").toLowerCase()}catch(i){return null}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return null}e&&!v.test(n)&&(n=function(t,e){g[" "+t]||(g[" "+t]=m.test(t)?t+"/":b(t,"/",!0));var n=-1===(t=g[" "+t]).indexOf(":");return"//"===e.substring(0,2)?n?e:t.replace(y,"$1")+e:"/"===e.charAt(0)?n?e:t.replace(_,"$1")+e:t+e}(e,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(i){return null}return n},H=k,G=function(){function t(t){this.options=t||q}var e=t.prototype;return e.code=function(t,e,n){var r=(e||"").match(/\S*/)[0];if(this.options.highlight){var i=this.options.highlight(t,r);null!=i&&i!==t&&(n=!0,t=i)}return t=t.replace(/\n$/,"")+"\n",r?'
    '+(n?t:H(t,!0))+"
    \n":"
    "+(n?t:H(t,!0))+"
    \n"},e.blockquote=function(t){return"
    \n"+t+"
    \n"},e.html=function(t){return t},e.heading=function(t,e,n,r){return this.options.headerIds?"'+t+"\n":""+t+"\n"},e.hr=function(){return this.options.xhtml?"
    \n":"
    \n"},e.list=function(t,e,n){var r=e?"ol":"ul";return"<"+r+(e&&1!==n?' start="'+n+'"':"")+">\n"+t+"\n"},e.listitem=function(t){return"
  • "+t+"
  • \n"},e.checkbox=function(t){return" "},e.paragraph=function(t){return"

    "+t+"

    \n"},e.table=function(t,e){return e&&(e=""+e+""),"\n\n"+t+"\n"+e+"
    \n"},e.tablerow=function(t){return"\n"+t+"\n"},e.tablecell=function(t,e){var n=e.header?"th":"td";return(e.align?"<"+n+' align="'+e.align+'">':"<"+n+">")+t+"\n"},e.strong=function(t){return""+t+""},e.em=function(t){return""+t+""},e.codespan=function(t){return""+t+""},e.br=function(){return this.options.xhtml?"
    ":"
    "},e.del=function(t){return""+t+""},e.link=function(t,e,n){if(null===(t=U(this.options.sanitize,this.options.baseUrl,t)))return n;var r='"+n+""},e.image=function(t,e,n){if(null===(t=U(this.options.sanitize,this.options.baseUrl,t)))return n;var r=''+n+'":">")},e.text=function(t){return t},t}(),J=function(){function t(){}var e=t.prototype;return e.strong=function(t){return t},e.em=function(t){return t},e.codespan=function(t){return t},e.del=function(t){return t},e.html=function(t){return t},e.text=function(t){return t},e.link=function(t,e,n){return""+n},e.image=function(t,e,n){return""+n},e.br=function(){return""},t}(),X=function(){function t(){this.seen={}}var e=t.prototype;return e.serialize=function(t){return t.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},e.getNextSafeSlug=function(t,e){var n=t,r=0;if(this.seen.hasOwnProperty(n)){r=this.seen[t];do{n=t+"-"+ ++r}while(this.seen.hasOwnProperty(n))}return e||(this.seen[t]=r,this.seen[n]=0),n},e.slug=function(t,e){void 0===e&&(e={});var n=this.serialize(t);return this.getNextSafeSlug(n,e.dryrun)},t}(),$=i.defaults,Q=w,W=function(){function t(t){this.options=t||$,this.options.renderer=this.options.renderer||new G,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new J,this.slugger=new X}t.parse=function(e,n){return new t(n).parse(e)},t.parseInline=function(e,n){return new t(n).parseInline(e)};var e=t.prototype;return e.parse=function(t,e){void 0===e&&(e=!0);var n,r,i,o,a,s,u,c,l,h,f,d,p,v,g,m,y,_,b="",k=t.length;for(n=0;n0&&"text"===g.tokens[0].type?(g.tokens[0].text=_+" "+g.tokens[0].text,g.tokens[0].tokens&&g.tokens[0].tokens.length>0&&"text"===g.tokens[0].tokens[0].type&&(g.tokens[0].tokens[0].text=_+" "+g.tokens[0].tokens[0].text)):g.tokens.unshift({type:"text",text:_}):v+=_),v+=this.parse(g.tokens,p),l+=this.renderer.listitem(v,y,m);b+=this.renderer.list(l,f,d);continue;case"html":b+=this.renderer.html(h.text);continue;case"paragraph":b+=this.renderer.paragraph(this.parseInline(h.tokens));continue;case"text":for(l=h.tokens?this.parseInline(h.tokens):h.text;n+1An error occurred:

    "+et(u.message+"",!0)+"
    ";throw u}}return ot.options=ot.setOptions=function(t){return K(ot.defaults,t),rt(ot.defaults),ot},ot.getDefaults=nt,ot.defaults=it,ot.use=function(t){var e=K({},t);if(t.renderer&&function(){var n=ot.defaults.renderer||new G,r=function(e){var r=n[e];n[e]=function(){for(var i=arguments.length,o=new Array(i),a=0;aAn error occurred:

    "+et(r.message+"",!0)+"
    ";throw r}},ot.Parser=W,ot.parser=W.parse,ot.Renderer=G,ot.TextRenderer=J,ot.Lexer=Z,ot.lexer=Z.lex,ot.Tokenizer=A,ot.Slugger=X,ot.parse=ot,ot}()},5325:function(t){"use strict";var e={};function n(t,r){var i;return"string"!=typeof r&&(r=n.defaultChars),i=function(t){var n,r,i=e[t];if(i)return i;for(i=e[t]=[],n=0;n<128;n++)r=String.fromCharCode(n),i.push(r);for(n=0;n=55296&&u<=57343?"\ufffd\ufffd\ufffd":String.fromCharCode(u),e+=6):240==(248&r)&&e+91114111?c+="\ufffd\ufffd\ufffd\ufffd":(u-=65536,c+=String.fromCharCode(55296+(u>>10),56320+(1023&u))),e+=9):c+="\ufffd";return c})}n.defaultChars=";/?:@&=+$,#",n.componentChars="",t.exports=n},79108:function(t){"use strict";var e={};function n(t,r,i){var o,a,s,u,c,l="";for("string"!=typeof r&&(i=r,r=n.defaultChars),void 0===i&&(i=!0),c=function(t){var n,r,i=e[t];if(i)return i;for(i=e[t]=[],n=0;n<128;n++)r=String.fromCharCode(n),/^[0-9a-z]$/i.test(r)?i.push(r):i.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2));for(n=0;n=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1=56320&&u<=57343){l+=encodeURIComponent(t[o]+t[o+1]),o++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(t[o]);return l}n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",t.exports=n},33923:function(t){"use strict";t.exports=function(t){var e="";return e+=t.protocol||"",e+=t.slashes?"//":"",e+=t.auth?t.auth+"@":"",t.hostname&&-1!==t.hostname.indexOf(":")?e+="["+t.hostname+"]":e+=t.hostname||"",e+=t.port?":"+t.port:"",e+=t.pathname||"",(e+=t.search||"")+(t.hash||"")}},74149:function(t,e,n){"use strict";t.exports.encode=n(79108),t.exports.decode=n(5325),t.exports.format=n(33923),t.exports.parse=n(74652)},74652:function(t){"use strict";function e(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var n=/^([a-z0-9.+-]+:)/i,r=/:[0-9]*$/,i=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,o=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),a=["'"].concat(o),s=["%","/","?",";","#"].concat(a),u=["/","?","#"],c=/^[+a-z0-9A-Z_-]{0,63}$/,l=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,h={javascript:!0,"javascript:":!0},f={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};e.prototype.parse=function(t,e){var r,o,a,d,p,v=t;if(v=v.trim(),!e&&1===t.split("#").length){var g=i.exec(v);if(g)return this.pathname=g[1],g[2]&&(this.search=g[2]),this}var m=n.exec(v);if(m&&(a=(m=m[0]).toLowerCase(),this.protocol=m,v=v.substr(m.length)),(e||m||v.match(/^\/\/[^@\/]+@[^@\/]+/))&&(p="//"===v.substr(0,2))&&!(m&&h[m])&&(v=v.substr(2),this.slashes=!0),!h[m]&&(p||m&&!f[m])){var y,_,b=-1;for(r=0;r127?O+="x":O+=x[M];if(!O.match(c)){var P=C.slice(0,r),E=C.slice(r+1),A=x.match(l);A&&(P.push(A[1]),E.unshift(A[2])),E.length&&(v=E.join(".")+v),this.hostname=P.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),w&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var T=v.indexOf("#");-1!==T&&(this.hash=v.substr(T),v=v.slice(0,T));var I=v.indexOf("?");return-1!==I&&(this.search=v.substr(I),v=v.slice(0,I)),v&&(this.pathname=v),f[a]&&this.hostname&&!this.pathname&&(this.pathname=""),this},e.prototype.parseHost=function(t){var e=r.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)},t.exports=function(t,n){if(t&&t instanceof e)return t;var r=new e;return r.parse(t,n),r}},67545:function(t,e,n){"use strict";n.d(e,{rN:function(){return F},y$:function(){return V},_l:function(){return Y}});var r,o=n(74788),s=n(56693),c=n(59796),l=n(77393),h=n(20377),v=n(85345),m=function(){function t(e){y(this,t),this.resultSelector=e}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new _(t,this.resultSelector))}}]),t}(),_=function(t){a(n,t);var e=u(n);function n(t,r){var i;arguments.length>2&&void 0!==arguments[2]||Object.create(null);return y(this,n),(i=e.call(this,t)).resultSelector=r,i.iterators=[],i.active=0,i.resultSelector="function"==typeof r?r:void 0,i}return g(n,[{key:"_next",value:function(t){var e=this.iterators;(0,c.k)(t)?e.push(new k(t)):e.push("function"==typeof t[h.hZ]?new b(t[h.hZ]()):new w(this.destination,this,t))}},{key:"_complete",value:function(){var t=this.iterators,e=t.length;if(this.unsubscribe(),0!==e){this.active=e;for(var n=0;nthis.index}},{key:"hasCompleted",value:function(){return this.array.length===this.index}}]),e}(h.hZ),w=function(t,e){a(r,t);var n=u(r);function r(t,e,i){var o;return y(this,r),(o=n.call(this,t)).parent=e,o.observable=i,o.stillUnsubscribed=!0,o.buffer=[],o.isComplete=!1,o}return g(r,[{key:e,value:function(){return this}},{key:"next",value:function(){var t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}}},{key:"hasValue",value:function(){return this.buffer.length>0}},{key:"hasCompleted",value:function(){return 0===this.buffer.length&&this.isComplete}},{key:"notifyComplete",value:function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}},{key:"notifyNext",value:function(t){this.buffer.push(t),this.parent.checkIterators()}},{key:"subscribe",value:function(){return(0,v.ft)(this.observable,new v.IY(this))}}]),r}(v.Ds,h.hZ),C=n(71023),x=new(function(t){a(n,t);var e=u(n);function n(){return y(this,n),e.apply(this,arguments)}return g(n,[{key:"flush",value:function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,r=-1,i=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++r2&&void 0!==arguments[2]?arguments[2]:0;return null!==r&&r>0?i(f(n.prototype),"requestAsyncId",this).call(this,t,e,r):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame(function(){return t.flush(null)})))}},{key:"recycleAsyncId",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==r&&r>0||null===r&&this.delay>0)return i(f(n.prototype),"recycleAsyncId",this).call(this,t,e,r);0===t.actions.length&&(cancelAnimationFrame(e),t.scheduled=void 0)}}]),n}(C.o)),O=n(26215),M=n(59193),S=n(40205),P=n(97968),E=n(45435),A=n(88002),T=n(15257),I=n(43190),D=n(68307),L=n(5304),N=n(12057),z=n(91211),F=new o.OlP("HIGHLIGHT_OPTIONS"),R=(r=function(){function t(e,n,r){var i=this;y(this,t),this._options=r,this._ready=new O.X(null),this.ready=this._ready.asObservable().pipe((0,E.h)(function(t){return!!t}),(0,A.U)(function(t){return t}),(0,T.q)(1)),(0,N.NF)(n)&&e.defaultView.hljs?this._ready.next(e.defaultView.hljs):this._loadLibrary().pipe((0,I.w)(function(t){return i._options&&i._options.lineNumbersLoader?(e.defaultView.hljs=t,i.loadLineNumbers().pipe((0,D.b)(function(){return i._ready.next(t)}))):(i._ready.next(t),M.E)}),(0,L.K)(function(t){return console.error("[HLJS] ",t),M.E})).subscribe()}return g(t,[{key:"_loadLibrary",value:function(){var t=this;if(this._options){if(this._options.fullLibraryLoader&&this._options.coreLibraryLoader)return(0,S._)("The full library and the core library were imported, only one of them should be imported!");if(this._options.fullLibraryLoader&&this._options.languages)return(0,S._)("The highlighting languages were imported they are not needed!");if(this._options.coreLibraryLoader&&!this._options.languages)return(0,S._)("The highlighting languages were not imported!");if(!this._options.coreLibraryLoader&&this._options.languages)return(0,S._)("The core library was not imported!");if(this._options.fullLibraryLoader)return this.loadFullLibrary();if(this._options.coreLibraryLoader&&this._options.languages&&Object.keys(this._options.languages).length)return this.loadCoreLibrary().pipe((0,I.w)(function(e){return t._loadLanguages(e)}))}return(0,S._)("Highlight.js library was not imported!")}},{key:"_loadLanguages",value:function(t){return(function(){for(var t=arguments.length,e=new Array(t),n=0;n1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.options,i=this.trimIndentation(t),a=e?this.decodeHtml(i):i,s=n?this.renderEmoji(a):a,u=(0,o.parse)(s,r);return this.sanitizer.sanitize(this.securityContext,u)||""}},{key:"getSource",value:function(t){var e=this;if(!this.http)throw new Error("[ngx-markdown] When using the `src` attribute you *have to* pass the `HttpClient` as a parameter of the `forRoot` method. See README for more information");return this.http.get(t,{responseType:"text"}).pipe((0,u.U)(function(n){return e.handleExtension(t,n)}))}},{key:"highlight",value:function(t){if((0,i.NF)(this.platform)&&"undefined"!=typeof Prism){t||(t=document);var e=t.querySelectorAll('pre code:not([class*="language-"])');Array.prototype.forEach.call(e,function(t){return t.classList.add("language-none")}),Prism.highlightAllUnder(t)}}},{key:"renderKatex",value:function(t,e){if("undefined"==typeof katex||void 0===katex.renderToString)throw new Error("[ngx-markdown] When using the `katex` attribute you *have to* include KaTeX files to `angular.json` or use imports. See README for more information");return t.replace(/\$([^\s][^$]*?[^\s])\$/gm,function(t,n){return katex.renderToString(n,e)})}},{key:"decodeHtml",value:function(t){if((0,i.NF)(this.platform)){var e=document.createElement("textarea");return e.innerHTML=t,e.value}return t}},{key:"handleExtension",value:function(t,e){var n=t?t.split("?")[0].split(".").splice(-1).join():null;return"md"!==n?"```"+n+"\n"+e+"\n```":e}},{key:"renderEmoji",value:function(t){if("undefined"==typeof joypixels||void 0===joypixels.shortnameToUnicode)throw new Error("[ngx-markdown] When using the `emoji` attribute you *have to* include Emoji-Toolkit files to `angular.json` or use imports. See README for more information");return joypixels.shortnameToUnicode(t)}},{key:"trimIndentation",value:function(t){return t?t.split("\n").map(function(t){var n=e;return t.length>0&&(n=isNaN(n)?t.search(/\S|$/):Math.min(t.search(/\S|$/),n)),isNaN(e)&&(e=n),n?t.substring(n):t}).join("\n"):"";var e}}]),t}(),c.\u0275fac=function(t){return new(t||c)(r.LFG(r.Lbi),r.LFG(f),r.LFG(a.eN,8),r.LFG(h,8),r.LFG(s.H7))},c.\u0275prov=r.Yz7({token:c,factory:c.\u0275fac}),c),v=function(){return(t=v||(v={})).LineHighlight="line-highlight",t.LineNumbers="line-numbers",v;var t}(),m=function(){var t=function(){function t(e,n){y(this,t),this.element=e,this.markdownService=n,this.error=new r.vpe,this.load=new r.vpe,this.ready=new r.vpe,this._emoji=!1,this._katex=!1,this._lineHighlight=!1,this._lineNumbers=!1}return g(t,[{key:"emoji",get:function(){return this._emoji},set:function(t){this._emoji=this.coerceBooleanProperty(t)}},{key:"katex",get:function(){return this._katex},set:function(t){this._katex=this.coerceBooleanProperty(t)}},{key:"lineHighlight",get:function(){return this._lineHighlight},set:function(t){this._lineHighlight=this.coerceBooleanProperty(t)}},{key:"lineNumbers",get:function(){return this._lineNumbers},set:function(t){this._lineNumbers=this.coerceBooleanProperty(t)}},{key:"ngOnChanges",value:function(){null==this.data?null==this.src||this.handleSrc():this.handleData()}},{key:"ngAfterViewInit",value:function(){!this.data&&!this.src&&this.handleTransclusion()}},{key:"render",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.markdownService.compile(t,e,this.emoji);n=this.katex?this.markdownService.renderKatex(n,this.katexOptions):n,this.element.nativeElement.innerHTML=n,this.handlePlugins(),this.markdownService.highlight(this.element.nativeElement),this.ready.emit()}},{key:"coerceBooleanProperty",value:function(t){return null!=t&&"false"!="".concat(t)}},{key:"handleData",value:function(){this.render(this.data)}},{key:"handleSrc",value:function(){var t=this;this.markdownService.getSource(this.src).subscribe(function(e){t.render(e),t.load.emit(e)},function(e){return t.error.emit(e)})}},{key:"handleTransclusion",value:function(){this.render(this.element.nativeElement.innerHTML,!0)}},{key:"handlePlugins",value:function(){this.lineHighlight&&(this.setPluginClass(this.element.nativeElement,v.LineHighlight),this.setPluginOptions(this.element.nativeElement,{dataLine:this.line,dataLineOffset:this.lineOffset})),this.lineNumbers&&(this.setPluginClass(this.element.nativeElement,v.LineNumbers),this.setPluginOptions(this.element.nativeElement,{dataStart:this.start}))}},{key:"setPluginClass",value:function(t,e){for(var n=t.querySelectorAll("pre"),r=0;r= 0x80 (not a basic code point)","invalid-input":"Invalid input"},c=Math.floor,l=String.fromCharCode;function h(t){throw new RangeError(u[t])}function f(t,e){var n=t.split("@"),r="";n.length>1&&(r=n[0]+"@",t=n[1]);var i=function(t,e){for(var n=[],r=t.length;r--;)n[r]=e(t[r]);return n}((t=t.replace(s,".")).split("."),e).join(".");return r+i}function p(t){for(var e=[],n=0,r=t.length;n=55296&&i<=56319&&n=48&&t<58?t-48+26:t>=65&&t<91?t-65:t>=97&&t<123?t-97:i},m=function(t,e){return t+22+75*(t<26)-((0!=e)<<5)},y=function(t,e,n){var r=0;for(t=n?c(t/700):t>>1,t+=c(t/e);t>455;r+=i)t=c(t/35);return c(r+36*t/(t+38))},b=function(t){var e=[],n=t.length,o=0,a=128,s=72,u=t.lastIndexOf("-");u<0&&(u=0);for(var l=0;l=128&&h("not-basic"),e.push(t.charCodeAt(l));for(var f=u>0?u+1:0;f=n&&h("invalid-input");var m=g(t.charCodeAt(f++));m>=i&&h("invalid-input"),m>c((r-o)/p)&&h("overflow"),o+=m*p;var _=v<=s?1:v>=s+26?26:v-s;if(m<_)break;var b=i-_;p>c(r/b)&&h("overflow"),p*=b}var k=e.length+1;s=y(o-d,k,0==d),c(o/k)>r-a&&h("overflow"),a+=c(o/k),o%=k,e.splice(o++,0,a)}return String.fromCodePoint.apply(String,e)},k=function(t){var e,n=[],o=(t=p(t)).length,a=128,s=0,u=72,f=_(t);try{for(f.s();!(e=f.n()).done;){var d=e.value;d<128&&n.push(l(d))}}catch(D){f.e(D)}finally{f.f()}var v=n.length,g=v;for(v&&n.push("-");g=a&&Cc((r-s)/x)&&h("overflow"),s+=(k-a)*x,a=k;var O,M=_(t);try{for(M.s();!(O=M.n()).done;){var S=O.value;if(Sr&&h("overflow"),S===a){for(var P=s,E=i;;E+=i){var A=E<=u?1:E>=u+26?26:E-u;if(P1&&void 0!==arguments[1]?arguments[1]:0;return e>0?i(f(n.prototype),"schedule",this).call(this,t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}},{key:"execute",value:function(t,e){return e>0||this.closed?i(f(n.prototype),"execute",this).call(this,t,e):this._execute(t,e)}},{key:"requestAsyncId",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==r&&r>0||null===r&&this.delay>0?i(f(n.prototype),"requestAsyncId",this).call(this,t,e,r):t.flush(this)}}]),n}(o.o)),c=n(59178),l=n(77393),h=n(23098),d=function(t){a(n,t);var e=u(n);function n(t,r){var i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return y(this,n),(i=e.call(this,t)).scheduler=r,i.delay=o,i}return g(n,[{key:"scheduleMessage",value:function(t){this.destination.add(this.scheduler.schedule(n.dispatch,this.delay,new p(t,this.destination)))}},{key:"_next",value:function(t){this.scheduleMessage(h.P.createNext(t))}},{key:"_error",value:function(t){this.scheduleMessage(h.P.createError(t)),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleMessage(h.P.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(t){var e=t.notification,n=t.destination;e.observe(n),this.unsubscribe()}}]),n}(l.L),p=g(function t(e,n){y(this,t),this.notification=e,this.destination=n}),v=n(77971),m=n(78858),_=function(t){a(n,t);var e=u(n);function n(){var t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY,o=arguments.length>2?arguments[2]:void 0;return y(this,n),(t=e.call(this)).scheduler=o,t._events=[],t._infiniteTimeWindow=!1,t._bufferSize=r<1?1:r,t._windowTime=i<1?1:i,i===Number.POSITIVE_INFINITY?(t._infiniteTimeWindow=!0,t.next=t.nextInfiniteTimeWindow):t.next=t.nextTimeWindow,t}return g(n,[{key:"nextInfiniteTimeWindow",value:function(t){if(!this.isStopped){var e=this._events;e.push(t),e.length>this._bufferSize&&e.shift()}i(f(n.prototype),"next",this).call(this,t)}},{key:"nextTimeWindow",value:function(t){this.isStopped||(this._events.push(new b(this._getNow(),t)),this._trimBufferThenGetEvents()),i(f(n.prototype),"next",this).call(this,t)}},{key:"_subscribe",value:function(t){var e,n=this._infiniteTimeWindow,r=n?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,o=r.length;if(this.closed)throw new v.N;if(this.isStopped||this.hasError?e=c.w.EMPTY:(this.observers.push(t),e=new m.W(this,t)),i&&t.add(t=new d(t,i)),n)for(var a=0;ae&&(o=Math.max(o,i-e)),o>0&&r.splice(0,o),r}}]),n}(r.xQ),b=g(function t(e,n){y(this,t),this.time=e,this.value=n})},79765:function(t,e,n){"use strict";n.d(e,{Yc:function(){return p},xQ:function(){return v}});var r,o=n(29856),s=n(77393),c=n(59178),l=n(77971),h=n(78858),d=n(29181),p=function(t){a(n,t);var e=u(n);function n(t){var r;return y(this,n),(r=e.call(this,t)).destination=t,r}return g(n)}(s.L),v=((r=function(t,e){a(r,t);var n=u(r);function r(){var t;return y(this,r),(t=n.call(this)).observers=[],t.closed=!1,t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return g(r,[{key:e,value:function(){return new p(this)}},{key:"lift",value:function(t){var e=new m(this,this);return e.operator=t,e}},{key:"next",value:function(t){if(this.closed)throw new l.N;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),i=0;i1?Array.prototype.slice.call(arguments):t)},r,n)})}function u(t,e,n,r,i){var o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){var a=t;t.addEventListener(e,n,i),o=function(){return a.removeEventListener(e,n,i)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){var s=t;t.on(e,n),o=function(){return s.off(e,n)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){var c=t;t.addListener(e,n),o=function(){return c.removeListener(e,n)}}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(var l=0,h=t.length;l1&&"number"==typeof e[e.length-1]&&(s=e.pop())):"number"==typeof c&&(s=e.pop()),null===u&&1===e.length&&e[0]instanceof r.y?e[0]:(0,o.J)(s)((0,a.n)(e,u))}},25917:function(t,e,n){"use strict";n.d(e,{of:function(){return a}});var r=n(54869),i=n(56693),o=n(94087);function a(){for(var t=arguments.length,e=new Array(t),n=0;n=0}var s=n(54869);function u(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,o=-1;return a(e)?o=Number(e)<1?1:Number(e):(0,s.K)(e)&&(n=e),(0,s.K)(n)||(n=i.P),new r.y(function(e){var r=a(t)?t:+t-n.now();return n.schedule(c,r,{index:0,period:o,subscriber:e})})}function c(t){var e=t.index,n=t.period,r=t.subscriber;if(r.next(e),!r.closed){if(-1===n)return r.complete();t.index=e+1,this.schedule(t,n)}}},5304:function(t,e,n){"use strict";n.d(e,{K:function(){return o}});var r=n(85345);function o(t){return function(e){var n=new s(t),r=e.lift(n);return n.caught=r}}var s=function(){function t(e){y(this,t),this.selector=e}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new c(t,this.selector,this.caught))}}]),t}(),c=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,t)).selector=r,o.caught=i,o}return g(n,[{key:"error",value:function(t){if(!this.isStopped){var e;try{e=this.selector(t,this.caught)}catch(s){return void i(f(n.prototype),"error",this).call(this,s)}this._unsubscribeAndRecycle();var o=new r.IY(this);this.add(o);var a=(0,r.ft)(e,o);a!==o&&this.add(a)}}}]),n}(r.Ds)},94612:function(t,e,n){"use strict";n.d(e,{b:function(){return i}});var r=n(19773);function i(t,e){return(0,r.zg)(t,e,1)}},54395:function(t,e,n){"use strict";n.d(e,{b:function(){return o}});var r=n(77393),i=n(33637);function o(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.P;return function(n){return n.lift(new s(t,e))}}var s=function(){function t(e,n){y(this,t),this.dueTime=e,this.scheduler=n}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new c(t,this.dueTime,this.scheduler))}}]),t}(),c=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,t)).dueTime=r,o.scheduler=i,o.debouncedSubscription=null,o.lastValue=null,o.hasValue=!1,o}return g(n,[{key:"_next",value:function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(l,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var t=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}},{key:"clearDebounce",value:function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}]),n}(r.L);function l(t){t.debouncedNext()}},95242:function(t,e,n){"use strict";n.d(e,{d:function(){return i}});var r=n(77393);function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(e){return e.lift(new o(t))}}var o=function(){function t(e){y(this,t),this.defaultValue=e}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new s(t,this.defaultValue))}}]),t}(),s=function(t){a(n,t);var e=u(n);function n(t,r){var i;return y(this,n),(i=e.call(this,t)).defaultValue=r,i.isEmpty=!0,i}return g(n,[{key:"_next",value:function(t){this.isEmpty=!1,this.destination.next(t)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),n}(r.L)},87874:function(t,e,n){"use strict";n.d(e,{g:function(){return s}});var r=n(33637),i=n(77393),o=n(23098);function s(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.P,n=function(t){return t instanceof Date&&!isNaN(+t)}(t)?+t-e.now():Math.abs(t);return function(t){return t.lift(new c(n,e))}}var c=function(){function t(e,n){y(this,t),this.delay=e,this.scheduler=n}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new l(t,this.delay,this.scheduler))}}]),t}(),l=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,t)).delay=r,o.scheduler=i,o.queue=[],o.active=!1,o.errored=!1,o}return g(n,[{key:"_schedule",value:function(t){this.active=!0,this.destination.add(t.schedule(n.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}},{key:"scheduleNotification",value:function(t){if(!0!==this.errored){var e=this.scheduler,n=new h(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}}},{key:"_next",value:function(t){this.scheduleNotification(o.P.createNext(t))}},{key:"_error",value:function(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleNotification(o.P.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(t){for(var e=t.source,n=e.queue,r=t.scheduler,i=t.destination;n.length>0&&n[0].time-r.now()<=0;)n.shift().notification.observe(i);if(n.length>0){var o=Math.max(0,n[0].time-r.now());this.schedule(t,o)}else this.unsubscribe(),e.active=!1}}]),n}(i.L),h=g(function t(e,n){y(this,t),this.time=e,this.notification=n})},87519:function(t,e,n){"use strict";n.d(e,{x:function(){return i}});var r=n(77393);function i(t,e){return function(n){return n.lift(new o(t,e))}}var o=function(){function t(e,n){y(this,t),this.compare=e,this.keySelector=n}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new s(t,this.compare,this.keySelector))}}]),t}(),s=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,t)).keySelector=i,o.hasKey=!1,"function"==typeof r&&(o.compare=r),o}return g(n,[{key:"compare",value:function(t,e){return t===e}},{key:"_next",value:function(t){var e;try{var n=this.keySelector;e=n?n(t):t}catch(n){return this.destination.error(n)}var r=!1;if(this.hasKey)try{r=(0,this.compare)(this.key,e)}catch(n){return this.destination.error(n)}else this.hasKey=!0;r||(this.key=e,this.destination.next(t))}}]),n}(r.L)},45435:function(t,e,n){"use strict";n.d(e,{h:function(){return i}});var r=n(77393);function i(t,e){return function(n){return n.lift(new o(t,e))}}var o=function(){function t(e,n){y(this,t),this.predicate=e,this.thisArg=n}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new s(t,this.predicate,this.thisArg))}}]),t}(),s=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,t)).predicate=r,o.thisArg=i,o.count=0,o}return g(n,[{key:"_next",value:function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}]),n}(r.L)},68939:function(t,e,n){"use strict";n.d(e,{x:function(){return o}});var r=n(77393),i=n(59178);function o(t){return function(e){return e.lift(new s(t))}}var s=function(){function t(e){y(this,t),this.callback=e}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new c(t,this.callback))}}]),t}(),c=function(t){a(n,t);var e=u(n);function n(t,r){var o;return y(this,n),(o=e.call(this,t)).add(new i.w(r)),o}return g(n)}(r.L)},28049:function(t,e,n){"use strict";n.d(e,{P:function(){return c}});var r=n(13410),i=n(45435),o=n(15257),a=n(95242),s=n(44635),u=n(54487);function c(t,e){var n=arguments.length>=2;return function(c){return c.pipe(t?(0,i.h)(function(e,n){return t(e,n,c)}):u.y,(0,o.q)(1),n?(0,a.d)(e):(0,s.T)(function(){return new r.K}))}}},88002:function(t,e,n){"use strict";n.d(e,{U:function(){return i}});var r=n(77393);function i(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 o(t,e))}}var o=function(){function t(e,n){y(this,t),this.project=e,this.thisArg=n}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new s(t,this.project,this.thisArg))}}]),t}(),s=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,t)).project=r,o.count=0,o.thisArg=i||l(o),o}return g(n,[{key:"_next",value:function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}]),n}(r.L)},63282:function(t,e,n){"use strict";n.d(e,{J:function(){return o}});var r=n(19773),i=n(54487);function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return(0,r.zg)(i.y,t)}},19773:function(t,e,n){"use strict";n.d(e,{zg:function(){return s}});var r=n(88002),i=n(97968),o=n(85345);function s(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof e?function(o){return o.pipe(s(function(n,o){return(0,i.D)(t(n,o)).pipe((0,r.U)(function(t,r){return e(n,t,o,r)}))},n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new c(t,n))})}var c=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;y(this,t),this.project=e,this.concurrent=n}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new l(t,this.project,this.concurrent))}}]),t}(),l=function(t){a(n,t);var e=u(n);function n(t,r){var i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return y(this,n),(i=e.call(this,t)).project=r,i.concurrent=o,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return g(n,[{key:"_next",value:function(t){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),n}(o.Ds)},59328:function(t,e,n){"use strict";n.d(e,{G:function(){return i}});var r=n(77393);function i(){return function(t){return t.lift(new o)}}var o=function(){function t(){y(this,t)}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new s(t))}}]),t}(),s=function(t){a(n,t);var e=u(n);function n(t){var r;return y(this,n),(r=e.call(this,t)).hasPrev=!1,r}return g(n,[{key:"_next",value:function(t){var e;this.hasPrev?e=[this.prev,t]:this.hasPrev=!0,this.prev=t,e&&this.destination.next(e)}}]),n}(r.L)},51307:function(t,e,n){"use strict";n.d(e,{x:function(){return i}});var r=n(77393);function i(){return function(t){return t.lift(new o(t))}}var o=function(){function t(e){y(this,t),this.connectable=e}return g(t,[{key:"call",value:function(t,e){var n=this.connectable;n._refCount++;var r=new s(t,n),i=e.subscribe(r);return r.closed||(r.connection=n.connect()),i}}]),t}(),s=function(t){a(n,t);var e=u(n);function n(t,r){var i;return y(this,n),(i=e.call(this,t)).connectable=r,i}return g(n,[{key:"_unsubscribe",value:function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,r&&(!n||r===n)&&r.unsubscribe()}}else this.connection=null}}]),n}(r.L)},79196:function(t,e,n){"use strict";n.d(e,{r:function(){return s}});var r=n(77393),o=n(59193);function s(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;return function(e){return 0===t?(0,o.c)():e.lift(new c(t<0?-1:t-1,e))}}var c=function(){function t(e,n){y(this,t),this.count=e,this.source=n}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new l(t,this.count,this.source))}}]),t}(),l=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,t)).count=r,o.source=i,o}return g(n,[{key:"complete",value:function(){if(!this.isStopped){var t=this.source,e=this.count;if(0===e)return i(f(n.prototype),"complete",this).call(this);e>-1&&(this.count=e-1),t.subscribe(this._unsubscribeAndRecycle())}}}]),n}(r.L)},72361:function(t,e,n){"use strict";n.d(e,{a:function(){return s}});var r=n(79765),o=n(85345);function s(t){return function(e){return e.lift(new c(t))}}var c=function(){function t(e){y(this,t),this.notifier=e}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new l(t,this.notifier,e))}}]),t}(),l=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,t)).notifier=r,o.source=i,o.sourceIsBeingSubscribedTo=!0,o}return g(n,[{key:"notifyNext",value:function(){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)}},{key:"notifyComplete",value:function(){if(!1===this.sourceIsBeingSubscribedTo)return i(f(n.prototype),"complete",this).call(this)}},{key:"complete",value:function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return i(f(n.prototype),"complete",this).call(this);this._unsubscribeAndRecycle(),this.notifications.next(void 0)}}},{key:"_unsubscribe",value:function(){var t=this.notifications,e=this.retriesSubscription;t&&(t.unsubscribe(),this.notifications=void 0),e&&(e.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0}},{key:"_unsubscribeAndRecycle",value:function(){var t=this._unsubscribe;return this._unsubscribe=null,i(f(n.prototype),"_unsubscribeAndRecycle",this).call(this),this._unsubscribe=t,this}},{key:"subscribeToRetries",value:function(){var t;this.notifications=new r.xQ;try{t=(0,this.notifier)(this.notifications)}catch(e){return i(f(n.prototype),"complete",this).call(this)}this.retries=t,this.retriesSubscription=(0,o.ft)(t,new o.IY(this))}}]),n}(o.Ds)},9945:function(t,e,n){"use strict";n.d(e,{B:function(){return s}});var r=n(52441),i=n(51307),o=n(79765);function a(){return new o.xQ}function s(){return function(t){return(0,i.x)()(function(t,e){return function(e){var n;n="function"==typeof t?t:function(){return t};var i=Object.create(e,r.N);return i.source=e,i.subjectFactory=n,i}}(a)(t))}}},47349:function(t,e,n){"use strict";n.d(e,{d:function(){return i}});var r=n(74235);function i(t,e,n){var i;return i=t&&"object"==typeof t?t:{bufferSize:t,windowTime:e,refCount:!1,scheduler:n},function(t){return t.lift(function(t){var e,n,i=t.bufferSize,o=void 0===i?Number.POSITIVE_INFINITY:i,a=t.windowTime,s=void 0===a?Number.POSITIVE_INFINITY:a,u=t.refCount,c=t.scheduler,l=0,h=!1,f=!1;return function(t){var i;l++,!e||h?(h=!1,e=new r.t(o,s,c),i=e.subscribe(this),n=t.subscribe({next:function(t){e.next(t)},error:function(t){h=!0,e.error(t)},complete:function(){f=!0,n=void 0,e.complete()}}),f&&(n=void 0)):i=e.subscribe(this),this.add(function(){l--,i.unsubscribe(),i=void 0,n&&!f&&u&&0===l&&(n.unsubscribe(),n=void 0,e=void 0)})}}(i))}}},13653:function(t,e,n){"use strict";n.d(e,{T:function(){return i}});var r=n(77393);function i(t){return function(e){return e.lift(new o(t))}}var o=function(){function t(e){y(this,t),this.total=e}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new s(t,this.total))}}]),t}(),s=function(t){a(n,t);var e=u(n);function n(t,r){var i;return y(this,n),(i=e.call(this,t)).total=r,i.count=0,i}return g(n,[{key:"_next",value:function(t){++this.count>this.total&&this.destination.next(t)}}]),n}(r.L)},39761:function(t,e,n){"use strict";n.d(e,{O:function(){return o}});var r=n(22416),i=n(54869);function o(){for(var t=arguments.length,e=new Array(t),n=0;n1&&void 0!==arguments[1]?arguments[1]:i.P,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o;return function(r){return r.lift(new c(t,e,n.leading,n.trailing))}}var c=function(){function t(e,n,r,i){y(this,t),this.duration=e,this.scheduler=n,this.leading=r,this.trailing=i}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new l(t,this.duration,this.scheduler,this.leading,this.trailing))}}]),t}(),l=function(t){a(n,t);var e=u(n);function n(t,r,i,o,a){var s;return y(this,n),(s=e.call(this,t)).duration=r,s.scheduler=i,s.leading=o,s.trailing=a,s._hasTrailingValue=!1,s._trailingValue=null,s}return g(n,[{key:"_next",value:function(t){this.throttled?this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(h,this.duration,{subscriber:this})),this.leading?this.destination.next(t):this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0))}},{key:"_complete",value:function(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()}},{key:"clearThrottle",value:function(){var t=this.throttled;t&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),t.unsubscribe(),this.remove(t),this.throttled=null)}}]),n}(r.L);function h(t){t.subscriber.clearThrottle()}},44635:function(t,e,n){"use strict";n.d(e,{T:function(){return o}});var r=n(13410),i=n(77393);function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l;return function(e){return e.lift(new s(t))}}var s=function(){function t(e){y(this,t),this.errorFactory=e}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new c(t,this.errorFactory))}}]),t}(),c=function(t){a(n,t);var e=u(n);function n(t,r){var i;return y(this,n),(i=e.call(this,t)).errorFactory=r,i.hasValue=!1,i}return g(n,[{key:"_next",value:function(t){this.hasValue=!0,this.destination.next(t)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}]),n}(i.L);function l(){return new r.K}},57057:function(t,e,n){"use strict";n.d(e,{M:function(){return o}});var r=n(55197),i=n(96563);function o(){for(var t=arguments.length,e=new Array(t),n=0;n0){var i=r.indexOf(n);-1!==i&&r.splice(i,1)}}},{key:"notifyComplete",value:function(){}},{key:"_next",value:function(t){if(0===this.toRespond.length){var e=[t].concat(d(this.values));this.project?this._tryProject(e):this.destination.next(e)}}},{key:"_tryProject",value:function(t){var e;try{e=this.project.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}]),n}(r.L)},94087:function(t,e,n){"use strict";n.d(e,{r:function(){return o}});var r=n(29856),i=n(59178);function o(t,e){return new r.y(function(n){var r=new i.w,o=0;return r.add(e.schedule(function(){o!==t.length?(n.next(t[o++]),n.closed||r.add(this.schedule())):n.complete()})),r})}},71023:function(t,e,n){"use strict";n.d(e,{o:function(){return r}});var r=function(t){a(n,t);var e=u(n);function n(t,r){var i;return y(this,n),(i=e.call(this,t,r)).scheduler=t,i.work=r,i.pending=!1,i}return g(n,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=t;var 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}},{key:"requestAsyncId",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(t.flush.bind(t,this),n)}},{key:"recycleAsyncId",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}},{key:"execute",value:function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(t,e){var n,r=!1;try{this.work(t)}catch(i){r=!0,n=!!i&&i||new Error(i)}if(r)return this.unsubscribe(),n}},{key:"_unsubscribe",value:function(){var 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}}]),n}(function(t){a(n,t);var e=u(n);function n(t,r){return y(this,n),e.call(this)}return g(n,[{key:"schedule",value:function(t){return this}}]),n}(n(59178).w))},69457:function(t,e,n){"use strict";n.d(e,{v:function(){return s}});var r,o=(r=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.now;y(this,t),this.SchedulerAction=e,this.now=n}return g(t,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,t).schedule(n,e)}}]),t}(),r.now=function(){return Date.now()},r),s=function(t){a(n,t);var e=u(n);function n(t){var r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.now;return y(this,n),(r=e.call(this,t,function(){return n.delegate&&n.delegate!==l(r)?n.delegate.now():i()})).actions=[],r.active=!1,r.scheduled=void 0,r}return g(n,[{key:"schedule",value:function(t){var e=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(t,e,r):i(f(n.prototype),"schedule",this).call(this,t,e,r)}},{key:"flush",value:function(t){var e=this.actions;if(this.active)e.push(t);else{var 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}}}}]),n}(o)},33637:function(t,e,n){"use strict";n.d(e,{P:function(){return i}});var r=n(71023),i=new(n(69457).v)(r.o)},20377:function(t,e,n){"use strict";n.d(e,{hZ:function(){return r}});var r="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},16554:function(t,e,n){"use strict";n.d(e,{L:function(){return r}});var r="function"==typeof Symbol&&Symbol.observable||"@@observable"},29181:function(t,e,n){"use strict";n.d(e,{b:function(){return r}});var r="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},7108:function(t,e,n){"use strict";n.d(e,{W:function(){return r}});var r=function(){function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t}()},13410:function(t,e,n){"use strict";n.d(e,{K:function(){return r}});var r=function(){function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t}()},77971:function(t,e,n){"use strict";n.d(e,{N:function(){return r}});var r=function(){function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t}()},54449:function(t,e,n){"use strict";function r(t){setTimeout(function(){throw t},0)}n.d(e,{z:function(){return r}})},54487:function(t,e,n){"use strict";function r(t){return t}n.d(e,{y:function(){return r}})},59796:function(t,e,n){"use strict";n.d(e,{k:function(){return r}});var r=Array.isArray||function(t){return t&&"number"==typeof t.length}},69489:function(t,e,n){"use strict";n.d(e,{z:function(){return r}});var r=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t}},69105:function(t,e,n){"use strict";function r(t){return"function"==typeof t}n.d(e,{m:function(){return r}})},81555:function(t,e,n){"use strict";function r(t){return null!==t&&"object"==typeof t}n.d(e,{K:function(){return r}})},95639:function(t,e,n){"use strict";n.d(e,{b:function(){return i}});var r=n(29856);function i(t){return!!t&&(t instanceof r.y||"function"==typeof t.lift&&"function"==typeof t.subscribe)}},44072:function(t,e,n){"use strict";function r(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,{t:function(){return r}})},54869:function(t,e,n){"use strict";function r(t){return t&&"function"==typeof t.schedule}n.d(e,{K:function(){return r}})},98640:function(t,e,n){"use strict";function r(){}n.d(e,{Z:function(){return r}})},34022:function(t,e,n){"use strict";n.d(e,{z:function(){return i},U:function(){return o}});var r=n(54487);function i(){for(var t=arguments.length,e=new Array(t),n=0;n4&&void 0!==arguments[4]?arguments[4]:new r(t,n,a);if(!s.closed)return e instanceof o.y?e.subscribe(s):(0,i.s)(e)(s)}},29756:function(t){t.exports=/[\0-\x1F\x7F-\x9F]/},87713:function(t){t.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},54897:function(t){t.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},51905:function(t){t.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},48363:function(t,e,n){"use strict";e.Any=n(93644),e.Cc=n(29756),e.Cf=n(87713),e.P=n(54897),e.Z=n(51905)},93644:function(t){t.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},7277:function(){"use strict";!function(t){var e=t.performance;function n(t){e&&e.mark&&e.mark(t)}function r(t,n){e&&e.measure&&e.measure(t,n)}n("Zone");var i=t.__Zone_symbol_prefix||"__zone_symbol__";function o(t){return i+t}var a=!0===t[o("forceDuplicateZoneCheck")];if(t.Zone){if(a||"function"!=typeof t.Zone.__symbol__)throw new Error("Zone already loaded.");return t.Zone}var s,u,c=(s=function(){function e(t,n){y(this,e),this._parent=t,this._name=n?n.name||"unnamed":"",this._properties=n&&n.properties||{},this._zoneDelegate=new h(this,this._parent&&this._parent._zoneDelegate,n)}return g(e,[{key:"parent",get:function(){return this._parent}},{key:"name",get:function(){return this._name}},{key:"get",value:function(t){var e=this.getZoneWith(t);if(e)return e._properties[t]}},{key:"getZoneWith",value:function(t){for(var e=this;e;){if(e._properties.hasOwnProperty(t))return e;e=e._parent}return null}},{key:"fork",value:function(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}},{key:"wrap",value:function(t,e){if("function"!=typeof t)throw new Error("Expecting function got: "+t);var n=this._zoneDelegate.intercept(this,t,e),r=this;return function(){return r.runGuarded(n,this,arguments,e)}}},{key:"run",value:function(t,e,n,r){N={parent:N,zone:this};try{return this._zoneDelegate.invoke(this,t,e,n,r)}finally{N=N.parent}}},{key:"runGuarded",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;N={parent:N,zone:this};try{try{return this._zoneDelegate.invoke(this,t,e,n,r)}catch(i){if(this._zoneDelegate.handleError(this,i))throw i}}finally{N=N.parent}}},{key:"runTask",value:function(t,e,n){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||C).name+"; Execution: "+this.name+")");if(t.state!==x||t.type!==I&&t.type!==T){var r=t.state!=S;r&&t._transitionTo(S,M),t.runCount++;var i=z;z=t,N={parent:N,zone:this};try{t.type==T&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,e,n)}catch(o){if(this._zoneDelegate.handleError(this,o))throw o}}finally{t.state!==x&&t.state!==E&&(t.type==I||t.data&&t.data.isPeriodic?r&&t._transitionTo(M,S):(t.runCount=0,this._updateTaskCount(t,-1),r&&t._transitionTo(x,S,x))),N=N.parent,z=i}}}},{key:"scheduleTask",value:function(t){if(t.zone&&t.zone!==this)for(var e=this;e;){if(e===t.zone)throw Error("can not reschedule task to ".concat(this.name," which is descendants of the original zone ").concat(t.zone.name));e=e.parent}t._transitionTo(O,x);var n=[];t._zoneDelegates=n,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(e){throw t._transitionTo(E,O,x),this._zoneDelegate.handleError(this,e),e}return t._zoneDelegates===n&&this._updateTaskCount(t,1),t.state==O&&t._transitionTo(M,O),t}},{key:"scheduleMicroTask",value:function(t,e,n,r){return this.scheduleTask(new f(A,t,e,n,r,void 0))}},{key:"scheduleMacroTask",value:function(t,e,n,r,i){return this.scheduleTask(new f(T,t,e,n,r,i))}},{key:"scheduleEventTask",value:function(t,e,n,r,i){return this.scheduleTask(new f(I,t,e,n,r,i))}},{key:"cancelTask",value:function(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||C).name+"; Execution: "+this.name+")");t._transitionTo(P,M,S);try{this._zoneDelegate.cancelTask(this,t)}catch(e){throw t._transitionTo(E,P),this._zoneDelegate.handleError(this,e),e}return this._updateTaskCount(t,-1),t._transitionTo(x,P),t.runCount=0,t}},{key:"_updateTaskCount",value:function(t,e){var n=t._zoneDelegates;-1==e&&(t._zoneDelegates=null);for(var r=0;r2&&void 0!==arguments[2]&&arguments[2];if(D.hasOwnProperty(i)){if(!s&&a)throw Error("Already loaded patch: "+i)}else if(!t["__Zone_disable_"+i]){var u="Zone:"+i;n(u),D[i]=o(t,e,L),r(u,u)}}}]),e}(),s.__symbol__=o,s),l={name:"",onHasTask:function(t,e,n,r){return t.hasTask(n,r)},onScheduleTask:function(t,e,n,r){return t.scheduleTask(n,r)},onInvokeTask:function(t,e,n,r,i,o){return t.invokeTask(n,r,i,o)},onCancelTask:function(t,e,n,r){return t.cancelTask(n,r)}},h=function(){function t(e,n,r){y(this,t),this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=e,this._parentDelegate=n,this._forkZS=r&&(r&&r.onFork?r:n._forkZS),this._forkDlgt=r&&(r.onFork?n:n._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:n._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:n._interceptZS),this._interceptDlgt=r&&(r.onIntercept?n:n._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:n._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:n._invokeZS),this._invokeDlgt=r&&(r.onInvoke?n:n._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:n._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:n._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?n:n._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:n._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:n._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?n:n._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:n._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:n._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?n:n._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:n._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:n._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?n:n._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:n._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;var i=r&&r.onHasTask;(i||n&&n._hasTaskZS)&&(this._hasTaskZS=i?r:l,this._hasTaskDlgt=n,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=e,r.onScheduleTask||(this._scheduleTaskZS=l,this._scheduleTaskDlgt=n,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=l,this._invokeTaskDlgt=n,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=l,this._cancelTaskDlgt=n,this._cancelTaskCurrZone=this.zone))}return g(t,[{key:"fork",value:function(t,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,t,e):new c(t,e)}},{key:"intercept",value:function(t,e,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,t,e,n):e}},{key:"invoke",value:function(t,e,n,r,i){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,t,e,n,r,i):e.apply(n,r)}},{key:"handleError",value:function(t,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,t,e)}},{key:"scheduleTask",value:function(t,e){var n=e;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),(n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,t,e))||(n=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=A)throw new Error("Task is missing scheduleFn.");k(e)}return n}},{key:"invokeTask",value:function(t,e,n,r){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,t,e,n,r):e.callback.apply(n,r)}},{key:"cancelTask",value:function(t,e){var n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,t,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");n=e.cancelFn(e)}return n}},{key:"hasTask",value:function(t,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,t,e)}catch(n){this.handleError(t,n)}}},{key:"_updateTaskCount",value:function(t,e){var n=this._taskCounts,r=n[t],i=n[t]=r+e;if(i<0)throw new Error("More tasks executed then were scheduled.");0!=r&&0!=i||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:t})}}]),t}(),f=function(){function e(n,r,i,o,a,s){if(y(this,e),this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=n,this.source=r,this.data=o,this.scheduleFn=a,this.cancelFn=s,!i)throw new Error("callback is not defined");this.callback=i;var u=this;this.invoke=n===I&&o&&o.useG?e.invokeTask:function(){return e.invokeTask.call(t,u,this,arguments)}}return g(e,[{key:"zone",get:function(){return this._zone}},{key:"state",get:function(){return this._state}},{key:"cancelScheduleRequest",value:function(){this._transitionTo(x,O)}},{key:"_transitionTo",value:function(t,e,n){if(this._state!==e&&this._state!==n)throw new Error("".concat(this.type," '").concat(this.source,"': can not transition to '").concat(t,"', expecting state '").concat(e,"'").concat(n?" or '"+n+"'":"",", was '").concat(this._state,"'."));this._state=t,t==x&&(this._zoneDelegates=null)}},{key:"toString",value:function(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}},{key:"toJSON",value:function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}],[{key:"invokeTask",value:function(t,e,n){t||(t=this),F++;try{return t.runCount++,t.zone.runTask(t,e,n)}finally{1==F&&w(),F--}}}]),e}(),d=o("setTimeout"),p=o("Promise"),v=o("then"),m=[],_=!1;function b(e){if(u||t[p]&&(u=t[p].resolve(0)),u){var n=u[v];n||(n=u.then),n.call(u,e)}else t[d](e,0)}function k(t){0===F&&0===m.length&&b(w),t&&m.push(t)}function w(){if(!_){for(_=!0;m.length;){var t=m;m=[];for(var e=0;e=0;n--)"function"==typeof t[n]&&(t[n]=f(t[n],e+"_"+n));return t}function w(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&void 0===t.set)}var C="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,x=!("nw"in b)&&void 0!==b.process&&"[object process]"==={}.toString.call(b.process),O=!x&&!C&&!(!v||!m.HTMLElement),M=void 0!==b.process&&"[object process]"==={}.toString.call(b.process)&&!C&&!(!v||!m.HTMLElement),S={},P=function(t){if(t=t||b.event){var e=S[t.type];e||(e=S[t.type]=p("ON_PROPERTY"+t.type));var n,r=this||t.target||b,i=r[e];if(O&&r===m&&"error"===t.type){var o=t;!0===(n=i&&i.call(this,o.message,o.filename,o.lineno,o.colno,o.error))&&t.preventDefault()}else null!=(n=i&&i.apply(this,arguments))&&!n&&t.preventDefault();return n}};function E(n,r,i){var o=t(n,r);if(!o&&i&&t(i,r)&&(o={enumerable:!0,configurable:!0}),o&&o.configurable){var a=p("on"+r+"patched");if(!n.hasOwnProperty(a)||!n[a]){delete o.writable,delete o.value;var s=o.get,u=o.set,c=r.slice(2),l=S[c];l||(l=S[c]=p("ON_PROPERTY"+c)),o.set=function(t){var e=this;!e&&n===b&&(e=b),e&&("function"==typeof e[l]&&e.removeEventListener(c,P),u&&u.call(e,null),e[l]=t,"function"==typeof t&&e.addEventListener(c,P,!1))},o.get=function(){var t=this;if(!t&&n===b&&(t=b),!t)return null;var e=t[l];if(e)return e;if(s){var i=s.call(this);if(i)return o.set.call(this,i),"function"==typeof t.removeAttribute&&t.removeAttribute(r),i}return null},e(n,r,o),n[a]=!0}}}function A(t,e,n){if(e)for(var r=0;r=0&&"function"==typeof r[o.cbIdx]?d(o.name,r[o.cbIdx],o,i):t.apply(e,r)}})}function N(t,e){t[p("OriginalDelegate")]=e}var z=!1,F=!1;function R(){if(z)return F;z=!0;try{var t=m.navigator.userAgent;(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/")||-1!==t.indexOf("Edge/"))&&(F=!0)}catch(t){}return F}Zone.__load_patch("ZoneAwarePromise",function(t,e,n){var r=Object.getOwnPropertyDescriptor,i=Object.defineProperty,o=n.symbol,a=[],s=!0===t[o("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],u=o("Promise"),c=o("then");n.onUnhandledError=function(t){if(n.showUncaughtError()){var e=t&&t.rejection;e?console.error("Unhandled Promise rejection:",e instanceof Error?e.message:e,"; Zone:",t.zone.name,"; Task:",t.task&&t.task.source,"; Value:",e,e instanceof Error?e.stack:void 0):console.error(t)}},n.microtaskDrainDone=function(){for(var t=function(){var t=a.shift();try{t.zone.runGuarded(function(){throw t.throwOriginal?t.rejection:t})}catch(r){!function(t){n.onUnhandledError(t);try{var r=e[l];"function"==typeof r&&r.call(this,t)}catch(r){}}(r)}};a.length;)t()};var l=o("unhandledPromiseRejectionHandler");function h(t){return t&&t.then}function f(t){return t}function d(t){return L.reject(t)}var p=o("state"),v=o("value"),m=o("finally"),b=o("parentPromiseValue"),k=o("parentPromiseState"),w=null,C=!1;function x(t,e){return function(n){try{S(t,e,n)}catch(r){S(t,!1,r)}}}var O=function(){var t=!1;return function(e){return function(){t||(t=!0,e.apply(null,arguments))}}},M=o("currentTaskTrace");function S(t,r,o){var u=O();if(t===o)throw new TypeError("Promise resolved with itself");if(t[p]===w){var c=null;try{("object"==typeof o||"function"==typeof o)&&(c=o&&o.then)}catch(l){return u(function(){S(t,!1,l)})(),t}if(r!==C&&o instanceof L&&o.hasOwnProperty(p)&&o.hasOwnProperty(v)&&o[p]!==w)E(o),S(t,o[p],o[v]);else if(r!==C&&"function"==typeof c)try{c.call(o,u(x(t,r)),u(x(t,!1)))}catch(l){u(function(){S(t,!1,l)})()}else{t[p]=r;var l=t[v];if(t[v]=o,t[m]===m&&!0===r&&(t[p]=t[k],t[v]=t[b]),r===C&&o instanceof Error){var h=e.currentTask&&e.currentTask.data&&e.currentTask.data.__creationTrace__;h&&i(o,M,{configurable:!0,enumerable:!1,writable:!0,value:h})}for(var f=0;f4&&void 0!==arguments[4]&&arguments[4],f=arguments.length>5&&void 0!==arguments[5]&&arguments[5];return function(){var d=this||t,p=arguments[0];r&&r.transferEventName&&(p=r.transferEventName(p));var v=arguments[1];if(!v)return e.apply(this,arguments);if(x&&"uncaughtException"===p)return e.apply(this,arguments);var g=!1;if("function"!=typeof v){if(!v.handleEvent)return e.apply(this,arguments);g=!0}if(!o||o(e,v,d,arguments)){var m=j&&!!L&&-1!==L.indexOf(p),y=E(arguments[2],m);if(D)for(var _=0;_2}).map(function(t){return t.substring(2)})}Zone.__load_patch("util",function(n,s,u){var d=K(n);u.patchOnProperties=A,u.patchMethod=D,u.bindArguments=k,u.patchMacroTask=L;var p=s.__symbol__("BLACK_LISTED_EVENTS"),v=s.__symbol__("UNPATCHED_EVENTS");n[v]&&(n[p]=n[v]),n[p]&&(s[p]=s[v]=n[p]),u.patchEventPrototype=X,u.patchEventTarget=G,u.isIEOrEdge=R,u.ObjectDefineProperty=e,u.ObjectGetOwnPropertyDescriptor=t,u.ObjectCreate=r,u.ArraySlice=i,u.patchClass=I,u.wrapWithCurrentZone=f,u.filterProperties=Q,u.attachOriginToPatched=N,u._redefineProperty=Object.defineProperty,u.patchCallbacks=$,u.getGlobalObjects=function(){return{globalSources:Z,zoneSymbolEventNames:Y,eventNames:d,isBrowser:O,isMix:M,isNode:x,TRUE_STR:c,FALSE_STR:l,ZONE_SYMBOL_PREFIX:h,ADD_EVENT_LISTENER_STR:o,REMOVE_EVENT_LISTENER_STR:a}}});var tt=p("zoneTask");function et(t,e,n,r){var i=null,o=null;n+=r;var a={};function s(e){var n=e.data;return n.args[0]=function(){return e.invoke.apply(this,arguments)},n.handleId=i.apply(t,n.args),e}function u(e){return o.call(t,e.data.handleId)}i=D(t,e+=r,function(n){return function(i,o){if("function"==typeof o[0]){var c={isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?o[1]||0:void 0,args:o},l=o[0];o[0]=function(){try{return l.apply(this,arguments)}finally{c.isPeriodic||("number"==typeof c.handleId?delete a[c.handleId]:c.handleId&&(c.handleId[tt]=null))}};var h=d(e,o[0],c,s,u);if(!h)return h;var f=h.data.handleId;return"number"==typeof f?a[f]=h:f&&(f[tt]=h),f&&f.ref&&f.unref&&"function"==typeof f.ref&&"function"==typeof f.unref&&(h.ref=f.ref.bind(f),h.unref=f.unref.bind(f)),"number"==typeof f||f?f:h}return n.apply(t,o)}}),o=D(t,n,function(e){return function(n,r){var i,o=r[0];"number"==typeof o?i=a[o]:(i=o&&o[tt])||(i=o),i&&"string"==typeof i.type?"notScheduled"!==i.state&&(i.cancelFn&&i.data.isPeriodic||0===i.runCount)&&("number"==typeof o?delete a[o]:o&&(o[tt]=null),i.zone.cancelTask(i)):e.apply(t,r)}})}Zone.__load_patch("legacy",function(t){var e=t[Zone.__symbol__("legacyPatch")];e&&e()}),Zone.__load_patch("queueMicrotask",function(t,e,n){n.patchMethod(t,"queueMicrotask",function(t){return function(t,n){e.current.scheduleMicroTask("queueMicrotask",n[0])}})}),Zone.__load_patch("timers",function(t){var e="clear";et(t,"set",e,"Timeout"),et(t,"set",e,"Interval"),et(t,"set",e,"Immediate")}),Zone.__load_patch("requestAnimationFrame",function(t){et(t,"request","cancel","AnimationFrame"),et(t,"mozRequest","mozCancel","AnimationFrame"),et(t,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",function(t,e){for(var n=["alert","prompt","confirm"],r=0;r0){var i=t.invoke;t.invoke=function(){for(var n=a[e.__symbol__("loadfalse")],o=0;o2&&void 0!==arguments[2]?arguments[2]:null;if(c(t.value,e))return t;var r=Array.isArray(e)?function(t,e,n){var r=null,i=null,a=Array.from(t.value).reduce(function(a,u,c){var l=a+s(e,a,u,n),h=e[l.length];return o(h)?l+h:u.match(h)?(null===r&&c>=t.selection[0]&&(r=l.length),null===i&&c>=t.selection[1]&&(i=l.length),l+u):l},""),u=s(e,a,"",n);return{value:c(a+u,e)?a+u:a,selection:[null!=r?r:a.length,null!=i?i:a.length]}}(t,e,n):function(t,e){var n=t.value,r=p(t.selection,2),i=r[0],o=r[1],a=i,s=o;return{value:Array.from(n).reduce(function(t,n,r){var u=t+n;return i===r&&(a=t.length),o===r&&(s=t.length),u.match(e)?u:t},""),selection:[a,s]}}(t,e),i=r.value,a=r.selection;return{selection:a,value:Array.isArray(e)?i.slice(0,e.length):i}}function h(t,e){if(!Array.isArray(e))return t;var n=p(t.selection,2),r=n[0],i=n[1],a=[],s=Array.from(t.value).reduce(function(t,n,s){var u=e[s];return s===r&&a.push(t.length),s===i&&a.push(t.length),o(u)&&u===n?t:t+n},"");return a.length<2&&a.push.apply(a,d(new Array(2-a.length).fill(s.length))),{value:s,selection:[a[0],a[1]]}}var f=function(){function t(e,n){y(this,t),this.initialElementState=e,this.maskOptions=n,this.value="",this.selection=[0,0];var r=l(e,this.getMaskExpression(e)),i=r.value,o=r.selection;this.value=i,this.selection=o}return g(t,[{key:"addCharacters",value:function(t,e){var n=p(t,2),r=n[0],i=n[1],o=this.value,a=this.getMaskExpression({value:o.slice(0,r)+e+o.slice(i),selection:[r+e.length,r+e.length]}),s={value:o,selection:[r,i]},u=h(s,a),c=p(function(t,e,n){var r=t.value,i=t.selection,o=p(i,2),a=o[0],s=o[1];return{value:r,selection:"replace"===("function"==typeof n?n({value:r,selection:i}):n)?[a,a+e.length]:[a,s]}}(u,e,this.maskOptions.overwriteMode).selection,2),f=c[0],d=c[1],v=u.value.slice(0,f)+e,g=v.length,m=l({value:v+u.value.slice(d),selection:[g,g]},a,s);if(o.slice(0,f)===l({value:v,selection:[g,g]},a,s).value||function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r0&&void 0!==arguments[0]?arguments[0]:[];return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:{inputType:"insertText",data:null},i=this.elementState.value;this.updateValue(e),this.updateSelectionRange(n),i!==e&&this.dispatchInputEvent(r)}},{key:"updateSelectionRange",value:function(t){var e,n,r=p(t,2),i=r[0],o=r[1];(this.element.selectionStart!==i||this.element.selectionEnd!==o)&&(null===(n=(e=this.element).setSelectionRange)||void 0===n||n.call(e,i,o))}},{key:"updateValue",value:function(t){this.element.value=t}},{key:"ensureValueFitsMask",value:function(){this.updateElementState(M(this.elementState,this.options))}},{key:"dispatchInputEvent",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{inputType:"insertText",data:null},e="undefined"!=typeof window?window:globalThis;(null==e?void 0:e.InputEvent)&&this.element.dispatchEvent(new InputEvent("input",Object.assign(Object.assign({},t),{bubbles:!0,cancelable:!1})))}},{key:"handleKeydown",value:function(t){var e=t.key,n="Delete"===e;switch(e){case"Backspace":case"Delete":return this.handleDelete({event:t,isForward:n,selection:b(this.elementState,n)});case"Enter":return this.handleEnter(t)}!function(t){var e=t.key,n=t.ctrlKey,r=t.metaKey,i=t.altKey,o=n||r||i,a=/^(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])$/.test(e);return!o&&"Backspace"!==e&&a}(t)||this.handleInsert(t,e)}},{key:"handleDelete",value:function(t){var e=t.event,n=t.selection,r=t.isForward,i=t.force,o=void 0!==i&&i,a={value:this.elementState.value,selection:n},s=p(a.selection,2),u=s[0],c=s[1],l=this.preprocessor({elementState:a,data:""},r?"deleteForward":"deleteBackward").elementState,h=new f(l,this.options),d=p(l.selection,2),v=d[0],g=d[1];h.deleteCharacters([v,g]);var m=this.postprocessor(h,a);if(a.value.slice(0,u)+a.value.slice(c)!==m.value||o)return e.preventDefault(),function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;rthis.maxLength)return t.preventDefault();h!==d.value&&(t.preventDefault(),this.updateElementState(d,{data:e,inputType:"inputType"in t?t.inputType:"insertText"}),this.updateHistory(d))}},{key:"handleEnter",value:function(t){this.isTextArea&&this.handleInsert(t,"\n")}}]),n}(function(){function t(){y(this,t),this.now=null,this.past=[],this.future=[]}return g(t,[{key:"undo",value:function(){var t=this.past.pop();t&&this.now&&(this.future.push(this.now),this.updateElement(t,"historyUndo"))}},{key:"redo",value:function(){var t=this.future.pop();t&&this.now&&(this.past.push(this.now),this.updateElement(t,"historyRedo"))}},{key:"updateHistory",value:function(t){if(this.now){var e=this.now.value!==t.value,n=this.now.selection.some(function(e,n){return e!==t.selection[n]});!e&&!n||(e&&(this.past.push(this.now),this.future=[]),this.now=t)}else this.now=t}},{key:"updateElement",value:function(t,e){this.now=t,this.updateElementState(t,{inputType:e,data:null})}}]),t}())},14707:function(t,e,n){"use strict";n.d(e,{C:function(){return i}});var r,i=((r=i||(i={})).MaskitoOptions="mask",r.JavaScript="JavaScript",r.Angular="Angular",r.React="React",r.Vue="Vue",i)},56791:function(n,r,i){"use strict";var o,s=i(91211),c=(i(7400),i(58497)),l=i(74788),h=i(56083),f=i(79221),d=i(12057),v=((o=function(t){a(n,t);var e=u(n);function n(t,r){var i;return y(this,n),(i=e.call(this))._nextAnimationId=0,i._renderer=t.createRenderer(r.body,{id:"0",encapsulation:l.ifc.None,styles:[],data:{animation:[]}}),i}return g(n,[{key:"build",value:function(t){var e=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(t)?(0,h.vP)(t):t;return b(this._renderer,null,e,"register",[n]),new m(e,this._renderer)}}]),n}(h._j)).\u0275fac=function(t){return new(t||o)(l.LFG(l.FYo),l.LFG(d.K0))},o.\u0275prov=l.Yz7({token:o,factory:o.\u0275fac}),o),m=function(t){a(n,t);var e=u(n);function n(t,r){var i;return y(this,n),(i=e.call(this))._id=t,i._renderer=r,i}return g(n,[{key:"create",value:function(t,e){return new _(this._id,t,e||{},this._renderer)}}]),n}(h.LC),_=function(){function t(e,n,r,i){y(this,t),this.id=e,this.element=n,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",r)}return g(t,[{key:"_listen",value:function(t,e){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(t),e)}},{key:"_command",value:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r=0&&t3&&void 0!==arguments[3])||arguments[3];this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,r)}},{key:"removeChild",value:function(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}},{key:"selectRootElement",value:function(t,e){return this.delegate.selectRootElement(t,e)}},{key:"parentNode",value:function(t){return this.delegate.parentNode(t)}},{key:"nextSibling",value:function(t){return this.delegate.nextSibling(t)}},{key:"setAttribute",value:function(t,e,n,r){this.delegate.setAttribute(t,e,n,r)}},{key:"removeAttribute",value:function(t,e,n){this.delegate.removeAttribute(t,e,n)}},{key:"addClass",value:function(t,e){this.delegate.addClass(t,e)}},{key:"removeClass",value:function(t,e){this.delegate.removeClass(t,e)}},{key:"setStyle",value:function(t,e,n,r){this.delegate.setStyle(t,e,n,r)}},{key:"removeStyle",value:function(t,e,n){this.delegate.removeStyle(t,e,n)}},{key:"setProperty",value:function(t,e,n){e.charAt(0)==k&&e==w?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}},{key:"setValue",value:function(t,e){this.delegate.setValue(t,e)}},{key:"listen",value:function(t,e,n){return this.delegate.listen(t,e,n)}},{key:"disableAnimations",value:function(t,e){this.engine.disableAnimations(t,e)}}]),t}(),O=function(t){a(n,t);var e=u(n);function n(t,r,i,o){var a;return y(this,n),(a=e.call(this,r,i,o)).factory=t,a.namespaceId=r,a}return g(n,[{key:"setProperty",value:function(t,e,n){e.charAt(0)==k?"."==e.charAt(1)&&e==w?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)}},{key:"listen",value:function(t,e,n){var r=this;if(e.charAt(0)==k){var i,o,a=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t),s=e.substr(1),u="";return s.charAt(0)!=k&&(i=function(t){var e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(s),s=(o=p(i,2))[0],u=o[1]),this.engine.listen(this.namespaceId,a,s,u,function(t){r.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}]),n}(x),M=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r,i){return y(this,n),e.call(this,t.body,r,i)}return g(n,[{key:"ngOnDestroy",value:function(){this.flush()}}]),n}(f.Th);return t.\u0275fac=function(e){return new(e||t)(l.LFG(d.K0),l.LFG(f.Vi),l.LFG(f.NH))},t.\u0275prov=l.Yz7({token:t,factory:t.\u0275fac}),t}(),S=new l.OlP("AnimationModuleType"),P=[{provide:h._j,useClass:v},{provide:f.NH,useFactory:function(){return new f.Ar}},{provide:f.Th,useClass:M},{provide:l.FYo,useFactory:function(t,e,n){return new C(t,e,n)},deps:[s.se,f.Th,l.R0b]}],E=[{provide:f.Vi,useFactory:function(){return(0,f.QN)()?new f.DT:new f.uL}},{provide:S,useValue:"BrowserAnimations"}].concat(P),A=[{provide:f.Vi,useClass:f.nV},{provide:S,useValue:"NoopAnimations"}].concat(P),T=function(){var t=function(){function t(){y(this,t)}return g(t,null,[{key:"withConfig",value:function(e){return{ngModule:t,providers:e.disableAnimations?A:E}}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=l.oAB({type:t}),t.\u0275inj=l.cJS({providers:E,imports:[s.b2]}),t}(),I=i(68159),D=i(82847),L=i(75452),N=i(76715),z=i(32960),F=i(79456),R=i(23358),j=i.n(R),B=new l.OlP("Config for DOMPurify",{factory:function(){return{}},providedIn:"root"}),V=new l.OlP("Hooks for DOMPurify",{factory:function(){return[]},providedIn:"root"}),Y=new l.OlP("A function that sanitizes value for a CSS rule",{factory:function(){return function(t){return t}},providedIn:"root"}),Z=j(),q=function(){var t=function(){function t(e,n,r,i){var o=this,a=r.defaultView;y(this,t),this.config=e,this.sanitizeStyle=n,this.domPurify=Z(a),i.forEach(function(t){var e=t.name,n=t.hook;o.domPurify.addHook(e,n)})}return g(t,[{key:"sanitize",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.config;if(t===l.q3G.SCRIPT)throw new Error("DOMPurify does not support SCRIPT context");return t===l.q3G.STYLE?this.sanitizeStyle(String(e)):this.domPurify.sanitize(String(e||""),n)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(l.LFG(B),l.LFG(Y),l.LFG(d.K0),l.LFG(V))},t.\u0275prov=l.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),U=i(86561),H=function(){var t=g(function t(){y(this,t),this.stackblitzStarterPath="/stackblitz"});return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=l.Xpm({type:t,selectors:[["my-app"]],features:[l._Bn([{provide:F.hm,useClass:q}])],decls:5,vars:1,consts:[["ngProjectAs","tuiDocHeader",5,["tuiDocHeader"]],["href","https://github.com/taiga-family/maskito","icon","assets/icons/github.svg","iconAlign","left","rel","noreferrer","target","_blank","title","Maskito source code on GitHub","tuiLink","","tuiMode","onLight",1,"link"],["href","https://t.me/taiga_ui/10600","icon","assets/icons/telegram.svg","iconAlign","left","rel","noreferrer","target","_blank","title","Get help on Telegram","tuiLink","","tuiMode","onLight",1,"link"],["icon","assets/icons/stackblitz.svg","iconAlign","left","title","Maskito StackBlitz Starter","tuiLink","","tuiMode","onLight",1,"link",3,"routerLink"]],template:function(t,e){1&t&&(l.TgZ(0,"tui-doc-main"),l.ynx(1,0),l._UZ(2,"a",1),l._UZ(3,"a",2),l._UZ(4,"a",3),l.BQk(),l.qZA()),2&t&&(l.xp6(4),l.Q6J("routerLink",e.stackblitzStarterPath))},directives:[I.$5,D.V,L.w,U.yS],styles:["[_nghost-%COMP%]{font:var(--tui-font-text-m);color:var(--tui-text-01)}.link[_ngcontent-%COMP%]{margin-left:1rem}"],changeDetection:0}),t}(),G=i(97582),J=i(14707),X=i(64548),$=i(67545),Q=i(89570),W=i(54789),K=new Q.Al(function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=l.Xpm({type:t,selectors:[["angular-logo"]],decls:1,vars:0,consts:[["src","assets/icons/angular.svg"]],template:function(t,e){1&t&&l._UZ(0,"tui-svg",0)},directives:[W.PN],encapsulation:2,changeDetection:0}),t}()),tt=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=l.oAB({type:t}),t.\u0275inj=l.cJS({imports:[[W.EI]]}),t}(),et=new Q.Al(function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=l.Xpm({type:t,selectors:[["javascript-logo"]],decls:1,vars:0,consts:[["src","assets/icons/javascript.svg"]],template:function(t,e){1&t&&l._UZ(0,"tui-svg",0)},directives:[W.PN],encapsulation:2,changeDetection:0}),t}()),nt=new Q.Al(function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=l.Xpm({type:t,selectors:[["react-logo"]],decls:1,vars:0,consts:[["src","assets/icons/react.svg"]],template:function(t,e){1&t&&l._UZ(0,"tui-svg",0)},directives:[W.PN],encapsulation:2,changeDetection:0}),t}()),rt=new Q.Al(function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=l.Xpm({type:t,selectors:[["vue-logo"]],decls:1,vars:0,consts:[["src","assets/icons/vue.svg"]],template:function(t,e){1&t&&l._UZ(0,"tui-svg",0)},directives:[W.PN],encapsulation:2,changeDetection:0}),t}()),it=new Q.Al(function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=l.Xpm({type:t,selectors:[["logo"]],decls:5,vars:0,consts:[["routerLink","/","tuiLink","",1,"logo-link"],[1,"logo-name"],["alt","Maskito logo","src","assets/icons/maskito.svg",1,"logo"],["alt","by Tinkoff","src","assets/icons/by.svg",1,"by"]],template:function(t,e){1&t&&(l.TgZ(0,"a",0),l.TgZ(1,"span",1),l._UZ(2,"img",2),l._uU(3," Maskito "),l.qZA(),l.qZA(),l._UZ(4,"img",3))},directives:[U.yS,D.V],styles:["[_nghost-%COMP%]{display:flex;align-items:center}[_nghost-%COMP%] tui-root._mobile[_nghost-%COMP%], tui-root._mobile [_nghost-%COMP%]{font-size:0}.logo-link[_ngcontent-%COMP%]{display:flex}.logo-name[_ngcontent-%COMP%]{display:flex;color:var(--tui-text-01)}.logo[_ngcontent-%COMP%]{margin-right:.625rem}.by[_ngcontent-%COMP%]{margin-left:.875rem}tui-root._mobile[_nghost-%COMP%] .by[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .by[_ngcontent-%COMP%]{display:none}"],changeDetection:0}),t}()),ot=[{provide:d.S$,useClass:d.b0},{provide:X.Yx,useValue:"Maskito | "},{provide:X.Or,useValue:it},{provide:X.AC,useValue:["Description and examples","API"]},{provide:X.V5,useValue:[{section:"Getting started",title:"What is Maskito?",route:"getting-started/what-is-maskito",keywords:"getting, started, what, is, maskito"},{section:"Getting started",title:"Maskito libraries",route:"getting-started/maskito-libraries",keywords:"install, package, packages, maskito, npm, setup, explore, ecosystem"},{section:"Core concepts",title:"Overview",route:"core-concepts/overview",keywords:"core, concepts, overview"},{section:"Core concepts",title:"Mask expression",route:"core-concepts/mask-expression",keywords:"core, concepts, mask, expression, reg, exp, fixed"},{section:"Core concepts",title:"Element state",route:"core-concepts/element-state",keywords:"core, concepts, element, state"},{section:"Core concepts",title:"Processors",route:"core-concepts/processors",keywords:"core, concepts, preprocessor, postprocessor, processor, element, state, elementState"},{section:"Core concepts",title:"Plugins",route:"core-concepts/plugins",keywords:"core, concepts, extension, event, focus, blur"},{section:"Core concepts",title:"Overwrite mode",route:"core-concepts/overwrite-mode",keywords:"core, concepts, overwrite, mode, shift, replace"},{section:"Core concepts",title:"Transformer",route:"core-concepts/transformer",keywords:"core, concepts, programmatic, patch, set, update, value"},{section:"Frameworks",title:"Angular",route:"frameworks/angular",keywords:"ng, angular, framework, addon"},{section:"Frameworks",title:"React",route:"frameworks/react",keywords:"react, framework, addon"},{section:"Frameworks",title:"Vue",route:"frameworks/vue",keywords:"vue, framework, addon"},{section:"Kit",title:"Number",route:"kit/number",keywords:"digit, number, money, mask, kit, generator"},{section:"Kit",title:"Time",route:"kit/time",keywords:"time, hour, minute, second, mask, kit, generator"},{section:"Kit",title:"Date",route:"kit/date",keywords:"date, day, month, year, mask, kit, generator"},{section:"Kit",title:"DateRange",route:"kit/date-range",keywords:"date, day, month, year, mask, range, kit, generator"},{section:"Kit",title:"DateTime",route:"kit/date-time",keywords:"date, day, month, year, mask, time, date-time, hour, minute, second, kit, generator"},{section:"Addons",title:"@maskito/phone",route:"addons/phone",keywords:"phone, libphonenumber, international, generator"},{section:"Recipes",title:"Card",route:"recipes/card",keywords:"card, credit, cvv, debit, mask, recipe"},{section:"Recipes",title:"Phone",route:"recipes/phone",keywords:"phone, mobile, tel, telephone, mask, recipe"},{section:"Recipes",title:"Textarea",route:"recipes/textarea",keywords:"textarea, latin, mask, recipe"},{section:"Recipes",title:"With prefix",route:"recipes/prefix",keywords:"prefix, before, recipe"},{section:"Recipes",title:"With postfix",route:"recipes/postfix",keywords:"postfix, after, percent, am, pm, recipe"},{section:"Recipes",title:"With placeholder",route:"recipes/placeholder",keywords:"guide, placeholder, fill, recipe"},{section:"Other",title:"Browser support",route:"browser-support",keywords:"chrome, safari, ie, edge, firefox, browser, support"},{section:"Other",title:"Changelog",route:"changelog",keywords:"changelog, release, version, history"}]},{provide:X.yO,useValue:function(t){var e="https://github.com/taiga-family/maskito/tree/main/projects";return t.path?"".concat(e,"/").concat(t.path):t.package&&"kit"===t.package.toLowerCase()?"".concat(e,"/").concat(t.package.toLowerCase(),"/src/lib/masks/").concat((t.header[0].toLowerCase()+t.header.slice(1)).replace(/[A-Z]/g,function(t){return"-".concat(t.toLowerCase())})):null}},{provide:X.lW,useClass:z.StackblitzService},{provide:X.$_,useValue:function(t){var n,r=Object.keys(t);return 1===r.length&&r[0]===J.C.MaskitoOptions?Object.assign(Object.assign({},t),(e(n={},J.C.JavaScript,"import {Maskito, MaskitoOptions} from '@maskito/core';\nimport maskitoOptions from './mask';\n\nconst element = document.querySelector('input,textarea')!;\nconst maskedInput = new Maskito(element, maskitoOptions);\n\n// Call this function when the element is detached from DOM\nmaskedInput.destroy();"),e(n,J.C.Angular,"import {Component} from '@angular/core';\nimport {MaskitoModule} from '@maskito/angular';\nimport type {MaskitoOptions} from '@maskito/core';\n\nimport mask from './mask';\n\n@Component({\n selector: 'my-app',\n standalone: true,\n imports: [MaskitoModule],\n template: '',\n})\nexport class App {\n readonly options: MaskitoOptions = mask;\n}"),e(n,J.C.React,"import * as React from 'react';\nimport {useMaskito} from '@maskito/react';\n\nimport options from './mask';\n\nexport default function App() {\n const maskedInputRef = useMaskito({options});\n\n return ;\n}"),e(n,J.C.Vue,"import {createApp} from 'vue';\nimport {maskito} from '@maskito/vue';\n\nimport options from './mask';\n\nconst app = createApp({\n template: '',\n directives: {maskito},\n data: () => ({ options }),\n});"),n)):t}},(0,I.hs)({codeEditorVisibilityHandler:function(t){var e=Object.keys(t);return e.includes(J.C.MaskitoOptions)&&e.includes(J.C.JavaScript)},tabTitles:new Map([[J.C.JavaScript,et],[J.C.Angular,K],[J.C.React,nt],[J.C.Vue,rt]])}),{provide:$.rN,useFactory:function(){var e=(0,d.NF)((0,l.f3M)(l.Lbi));return{coreLibraryLoader:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i.e(9358).then(i.bind(i,29358)));case 1:case"end":return t.stop()}},e)}))},lineNumbersLoader:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function n(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",e?i.e(9022).then(i.t.bind(i,89022,23)):Promise.resolve());case 1:case"end":return t.stop()}},n)}))},languages:{typescript:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i.e(3377).then(i.bind(i,63377)));case 1:case"end":return t.stop()}},e)}))},less:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i.e(4249).then(i.bind(i,94249)));case 1:case"end":return t.stop()}},e)}))},xml:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i.e(3088).then(i.bind(i,83088)));case 1:case"end":return t.stop()}},e)}))}}}}}],at=[{path:"getting-started/what-is-maskito",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Promise.all([i.e(8592),i.e(3820)]).then(i.bind(i,43820)).then(function(t){return t.WhatIsMaskitoDocPageModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"What is Maskito?"}},{path:"getting-started/maskito-libraries",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i.e(439).then(i.bind(i,70439)).then(function(t){return t.MaskitoLibrariesDocPageModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Maskito libraries"}},{path:"core-concepts/overview",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Promise.all([i.e(8592),i.e(8642)]).then(i.bind(i,8642)).then(function(t){return t.CoreConceptsOverviewDocPageModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Core concepts"}},{path:"core-concepts/mask-expression",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Promise.all([i.e(8592),i.e(55)]).then(i.bind(i,30055)).then(function(t){return t.MaskExpressionDocPageModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Mask expression"}},{path:"core-concepts/element-state",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i.e(4533).then(i.bind(i,54533)).then(function(t){return t.ElementStateDocPageModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Element state"}},{path:"core-concepts/processors",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Promise.all([i.e(8592),i.e(9380)]).then(i.bind(i,19380)).then(function(t){return t.ProcessorsDocPageModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Processors"}},{path:"core-concepts/plugins",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Promise.all([i.e(8592),i.e(5115)]).then(i.bind(i,35115)).then(function(t){return t.PluginsDocPageModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Plugins"}},{path:"core-concepts/overwrite-mode",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Promise.all([i.e(3506),i.e(8592),i.e(7057)]).then(i.bind(i,7057)).then(function(t){return t.OverwriteModeDocPageModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Overwrite mode"}},{path:"core-concepts/transformer",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Promise.all([i.e(8592),i.e(2022)]).then(i.bind(i,72022)).then(function(t){return t.TransformerDocPageModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Transformer"}},{path:"frameworks/angular",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i.e(1434).then(i.bind(i,31434)).then(function(t){return t.AngularDocPageModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Angular"}},{path:"frameworks/react",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Promise.all([i.e(2473),i.e(9176)]).then(i.bind(i,9176)).then(function(t){return t.ReactDocPageModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"React"}},{path:"frameworks/vue",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i.e(7027).then(i.bind(i,27027)).then(function(t){return t.VueDocPageModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Vue"}},{path:"kit/number",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i.e(5380).then(i.bind(i,45380)).then(function(t){return t.NumberMaskDocModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Number"}},{path:"kit/time",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i.e(2139).then(i.bind(i,42139)).then(function(t){return t.TimeMaskDocModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Time"}},{path:"kit/date",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i.e(5828).then(i.bind(i,95828)).then(function(t){return t.DateMaskDocModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Date"}},{path:"kit/date-range",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i.e(6180).then(i.bind(i,76180)).then(function(t){return t.DateRangeMaskDocModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"DateRange"}},{path:"kit/date-time",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i.e(5439).then(i.bind(i,15439)).then(function(t){return t.DateTimeMaskDocModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"DateTime"}},{path:"recipes/card",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i.e(6275).then(i.bind(i,16275)).then(function(t){return t.CardDocModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Card"}},{path:"recipes/phone",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Promise.all([i.e(8592),i.e(3355)]).then(i.bind(i,63355)).then(function(t){return t.PhoneDocModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Phone"}},{path:"addons/phone",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Promise.all([i.e(8592),i.e(1510)]).then(i.bind(i,21510)).then(function(t){return t.PhoneDocModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Phone"}},{path:"recipes/textarea",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Promise.all([i.e(3506),i.e(9544)]).then(i.bind(i,39544)).then(function(t){return t.TextareaDocModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Textarea"}},{path:"recipes/prefix",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i.e(4272).then(i.bind(i,24272)).then(function(t){return t.PrefixDocModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"With prefix"}},{path:"recipes/postfix",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i.e(7989).then(i.bind(i,77989)).then(function(t){return t.PostfixDocModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"With postfix"}},{path:"recipes/placeholder",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Promise.all([i.e(8592),i.e(1103)]).then(i.bind(i,81103)).then(function(t){return t.PlaceholderDocModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"With placeholder"}},{path:"browser-support",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i.e(6549).then(i.bind(i,76549)).then(function(t){return t.BrowserSupportModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Browser support"}},{path:"changelog",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i.e(1326).then(i.bind(i,31326)).then(function(t){return t.ChangelogModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Changelog"}},{path:"stackblitz",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Promise.resolve().then(i.bind(i,32960)).then(function(t){return t.StackblitzStarterModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Stackblitz Starter"}},{path:"cypress",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Promise.all([i.e(2473),i.e(3276)]).then(i.bind(i,3276)).then(function(t){return t.CypressDocPageModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Cypress tests \ud83e\udd2b"}},{path:"**",redirectTo:"getting-started/what-is-maskito"}],st=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=l.oAB({type:t}),t.\u0275inj=l.cJS({imports:[[U.Bz.forRoot(at,{initialNavigation:"enabledBlocking",relativeLinkResolution:"corrected",scrollPositionRestoration:"enabled"})],U.Bz]}),t}(),ut=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=l.oAB({type:t}),t.\u0275inj=l.cJS({imports:[[D.j,U.Bz]]}),t}(),ct=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=l.oAB({type:t,bootstrap:[H]}),t.\u0275inj=l.cJS({providers:ot,imports:[[s.b2.withServerTransition({appId:"demo"}),st,T,c.JF,ut,N.JP.forRoot({loader:c.eN,sanitize:l.q3G.NONE}),I.qn,D.j,L.z,z.StackblitzEditButtonModule,tt]]}),t}();document.addEventListener("DOMContentLoaded",function(){s.q6().bootstrapModule(ct).then(function(t){var e=window;e.ngRef&&e.ngRef.destroy(),e.ngRef=t}).catch(console.error)})},32960:function(e,n,r){"use strict";r.r(n),r.d(n,{StackblitzEditButtonComponent:function(){return s},StackblitzEditButtonModule:function(){return u},StackblitzService:function(){return P},StackblitzStarterComponent:function(){return A},StackblitzStarterModule:function(){return I}});var i,o=r(74788),a=r(12628),s=((i=g(function t(){y(this,t)})).\u0275fac=function(t){return new(t||i)},i.\u0275cmp=o.Xpm({type:i,selectors:[["stackblitz-edit-button"]],decls:2,vars:0,consts:[["appearance","flat","icon","assets/icons/stackblitz.svg","size","s","title","Edit on StackBlitz","tuiButton","","type","button"]],template:function(t,e){1&t&&(o.TgZ(0,"button",0),o._uU(1," Edit "),o.qZA())},directives:[a.v0],styles:["@media screen and (max-width: 47.9625em){button[_ngcontent-%COMP%]{font-size:0;margin-right:-1rem}}"],changeDetection:0}),i),u=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[a.fN]]}),t}(),c=r(97582),l=r(12057),h=r(44427),f=r(14707),d=["angular-cli","create-react-app","html","javascript","node","polymer","typescript","vue"],v=["project","search","ports","settings"],m=["light","dark"],_=["editor","preview"],b={clickToLoad:function(t){return k("ctl",t)},devToolsHeight:function(t){return w("devtoolsheight",t)},forceEmbedLayout:function(t){return k("embed",t)},hideDevTools:function(t){return k("hidedevtools",t)},hideExplorer:function(t){return k("hideExplorer",t)},hideNavigation:function(t){return k("hideNavigation",t)},openFile:function(t){return x("file",t)},showSidebar:function(t){return"boolean"==typeof(e=t)?"showSidebar="+(e?"1":"0"):"";var e},sidebarView:function(t){return C("sidebarView",t,v)},startScript:function(t){return x("startScript",t)},terminalHeight:function(t){return w("terminalHeight",t)},theme:function(t){return C("theme",t,m)},view:function(t){return C("view",t,_)},zenMode:function(t){return k("zenMode",t)}};function k(t,e){return!0===e?"".concat(t,"=1"):""}function w(t,e){if("number"==typeof e&&!Number.isNaN(e)){var n=Math.min(100,Math.max(0,e));return"".concat(t,"=").concat(encodeURIComponent(Math.round(n)))}return""}function C(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return n.includes(e)?"".concat(t,"=").concat(encodeURIComponent(e)):""}function x(t,e){return(Array.isArray(e)?e:[e]).filter(function(t){return"string"==typeof t&&""!==t.trim()}).map(function(e){return"".concat(t,"=").concat(encodeURIComponent(e))}).join("&")}function O(t,e){return"".concat(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return("string"==typeof t.origin?t.origin:"https://stackblitz.com").replace(/\/$/,"")}(e)).concat(t).concat(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=Object.entries(t).map(function(t){var e=p(t,2),n=e[0],r=e[1];return null!=r&&b.hasOwnProperty(n)?b[n](r):""}).filter(Boolean);return e.length?"?".concat(e.join("&")):""}(e))}var M=function(t,e){!function(t,e){var n=function(t){var e=t.template,n=t.title,r=t.description,i=t.dependencies,o=t.files,a=t.settings;if(!d.includes(e)){var s=d.map(function(t){return"'".concat(t,"'")}).join(", ");console.warn("Unsupported project.template: must be one of ".concat(s))}var u=[],c=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";u.push(function(t,e){var n=document.createElement("input");return n.type="hidden",n.name=t,n.value=e,n}(t,"string"==typeof e?e:n))};c("project[title]",n),"string"==typeof r&&r.length>0&&c("project[description]",r),c("project[template]",e,"javascript"),i&&("node"===e?console.warn("Invalid project.dependencies: dependencies must be provided as a 'package.json' file when using the 'node' template."):c("project[dependencies]",JSON.stringify(i))),a&&c("project[settings]",JSON.stringify(a)),Object.entries(o).forEach(function(t){var e=p(t,2),n=e[0],r=e[1];c("project[files][".concat(function(t){return t.replace(/\[/g,"%5B").replace(/\]/g,"%5D")}(n),"]"),r)});var l=document.createElement("form");return l.method="POST",l.setAttribute("style","display:none!important;"),l.append.apply(l,u),l}(t);n.action=O("/run",e),n.target=function(t){return t&&!1===t.newWindow?"_self":"_blank"}(e),document.body.appendChild(n),n.submit(),document.body.removeChild(n)}(t,e)},S=r(89570),P=function(){var e=function(){function e(){y(this,e),this.baseProjectConfigs={template:"typescript",dependencies:{"@maskito/core":"*","@maskito/kit":"*"}},this.name="Stackblitz",this.content=new S.Al(s)}return g(e,[{key:"edit",value:function(e,n,i){return(0,c.mG)(this,void 0,void 0,t().mark(function o(){var a,s,u,c;return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([r.e(1223).then(r.t.bind(r,51223,17)),r.e(4930).then(r.t.bind(r,64930,17))].map(h.JQ));case 2:return a=t.sent,s=p(a,2),u=s[0],c=s[1],t.abrupt("return",M(Object.assign(Object.assign({},this.baseProjectConfigs),{title:"maskito/".concat(e,"/").concat(n),description:"Maskito example of the component ".concat(e),files:{"index.html":e.includes("textarea")?"":"","styles.css":c,"index.ts":(0,h.vi)(u)[0],"mask.ts":i[f.C.MaskitoOptions]}}),{openFile:"index.ts,mask.ts"}));case 7:case"end":return t.stop()}},o,this)}))}},{key:"openStarter",value:function(t,e){var n=t.title,r=t.description,i=t.files;return M(Object.assign(Object.assign({},this.baseProjectConfigs),{title:n,description:r,files:i}),e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac}),e}(),E=r(40719),A=function(){var e=function(){function e(t,n){y(this,e),this.platformId=t,this.stackblitz=n}return g(e,[{key:"ngOnInit",value:function(){return(0,c.mG)(this,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(t.t0=(0,l.NF)(this.platformId),!t.t0){t.next=4;break}return t.next=4,this.openStackblitz();case 4:case"end":return t.stop()}},e,this)}))}},{key:"openStackblitz",value:function(){return(0,c.mG)(this,void 0,void 0,t().mark(function e(){var n,i,o,a;return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([r.e(5097).then(r.t.bind(r,75097,17)),r.e(4930).then(r.t.bind(r,64930,17))].map(h.JQ));case 2:return n=t.sent,i=p(n,2),o=i[0],a=i[1],t.abrupt("return",this.stackblitz.openStarter({title:"Maskito Starter",description:"A starter with Maskito library\nDocumentation: https://maskito.dev",files:{"index.html":"","index.ts":o,"styles.css":a}},{newWindow:!1,openFile:"index.ts",hideExplorer:!0}));case 7:case"end":return t.stop()}},e,this)}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.Lbi),o.Y36(P))},e.\u0275cmp=o.Xpm({type:e,selectors:[["stackblitz-starter"]],features:[o._Bn([P])],decls:1,vars:1,consts:[["size","xxl","textContent","Stackblitz loading...",1,"loader",3,"overlay"]],template:function(t,e){1&t&&o._UZ(0,"tui-loader",0),2&t&&o.Q6J("overlay",!0)},directives:[E.kM],styles:[".loader[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;background:var(--tui-base-01);z-index:1}"],changeDetection:0}),e}(),T=r(86561),I=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[E.dS,T.Bz.forChild([{path:"",component:A}])]]}),t}()},7400:function(t,e,n){"use strict";n(7277)},55046:function(t,n,r){"use strict";r.d(n,{Q7:function(){return U},nQ:function(){return H},tr:function(){return $},n9:function(){return K},H$:function(){return ut},f8:function(){return Ot},vZ:function(){return ht},A7:function(){return V},jX:function(){return Y},Bb:function(){return G},hM:function(){return J},rC:function(){return St},Oe:function(){return X}});var i=r(76991),o=[".",",","\u0431","\u044e"],a=new Date("0001-01-01"),s=new Date("9999-12-31"),u={hours:23,minutes:59,seconds:59,milliseconds:999},c="\u2013",l="\u2014",h="-",f=[h,c,l,"\u2212"],v=[","," "],g=[":","."],m={hours:2,minutes:2,seconds:2,milliseconds:3};function y(t,e,n){var r=Math.min(Number(n),Math.max(Number(e),Number(t)));return t instanceof Date?new Date(r):r}function b(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.day,r=e.month,i=e.year,o=new Date(t);return n&&o.setDate(o.getDate()+n),r&&o.setMonth(o.getMonth()+r),i&&o.setFullYear(o.getFullYear()+i),o}function k(t){return{day:String(t.getDate()).padStart(2,"0"),month:String(t.getMonth()+1).padStart(2,"0"),year:String(t.getFullYear()).padStart(4,"0"),hours:String(t.getHours()).padStart(2,"0"),minutes:String(t.getMinutes()).padStart(2,"0"),seconds:String(t.getSeconds()).padStart(2,"0"),milliseconds:String(t.getMilliseconds()).padStart(3,"0")}}function w(t,e){return!(t.lengthe.toLowerCase().indexOf(i[0])?1:-1}))}function M(t,e){var n,r,i,o,a,s,u,c=2===(null===(n=t.year)||void 0===n?void 0:n.length)?"20".concat(t.year):t.year,l=new Date(Number(null!=c?c:"0"),Number(null!==(r=t.month)&&void 0!==r?r:"1")-1,Number(null!==(i=t.day)&&void 0!==i?i:"1"),Number(null!==(o=null==e?void 0:e.hours)&&void 0!==o?o:"0"),Number(null!==(a=null==e?void 0:e.minutes)&&void 0!==a?a:"0"),Number(null!==(s=null==e?void 0:e.seconds)&&void 0!==s?s:"0"),Number(null!==(u=null==e?void 0:e.milliseconds)&&void 0!==u?u:"0"));return l.setFullYear(Number(null!=c?c:"0")),l}var S=", ";function P(t,e,n){var r,i=t.day,o=t.month,a=t.year,s=t.hours,u=t.minutes,c=t.seconds,l=t.milliseconds,h=2===(null===(r=e.match(/y/g))||void 0===r?void 0:r.length)?null==a?void 0:a.slice(-2):a;return(e+(n?S+n:"")).replace(/d+/g,null!=i?i:"").replace(/m+/g,null!=o?o:"").replace(/y+/g,null!=h?h:"").replace(/H+/g,null!=s?s:"").replace(/MSS/g,null!=l?l:"").replace(/M+/g,null!=u?u:"").replace(/S+/g,null!=c?c:"").replace(/^\D+/g,"").replace(/\D+$/g,"")}function E(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Number(t.padEnd(e.length,"0"))<=Number(e)?{validatedSegmentValue:t,prefixedZeroesCount:n}:t.endsWith("0")?E("0".concat(t.slice(0,e.length-1)),e,n+1):E("".concat(t.slice(0,e.length-1),"0"),e,n)}var A=function(t){var e,n,r;return{day:(null===(e=t.match(/d/g))||void 0===e?void 0:e.length)||0,month:(null===(n=t.match(/m/g))||void 0===n?void 0:n.length)||0,year:(null===(r=t.match(/y/g))||void 0===r?void 0:r.length)||0}},T={day:31,month:12,year:9999};function I(t){for(var e=t.dateString,n=t.dateModeTemplate,r=t.offset,i=p(t.selection,2),o=i[0],a=i[1],s=O(e,n),u={},c=0,l=0,h=Object.entries(s);l=o&&y===a;if(_&&Number(v)>Number(m))return{validatedDateString:"",updatedSelection:[o,a]};if(_&&Number(v)<1)return{validatedDateString:"",updatedSelection:[o,a]};var b=E(v,"".concat(m)),k=b.validatedSegmentValue;c+=b.prefixedZeroesCount,u[d]=k}var w=P(u,n),C=w.length-e.length;return{validatedDateString:w,updatedSelection:[o+c+C,a+c+C]}}var D=/[\\^$.*+?()[\]{}|]/g,L=new RegExp(D.source);function N(t){return t&&L.test(t)?t.replace(D,"\\$&"):t}function z(t){return t}function F(t){return!t||"object"==typeof t&&0===Object.keys(t).length}function R(t,e){var n=A(e);return x(Object.entries(t).map(function(t){var e=p(t,2),r=e[0],i=e[1],o=n[r];return[r,i.length===o&&i.match(/^0+$/)?"1".padStart(o,"0"):i]}))}function j(t){var e=t.dateModeTemplate,n=t.min,r=void 0===n?a:n,i=t.max,o=void 0===i?s:i,u=t.rangeSeparator,c=void 0===u?"":u,l=t.dateSegmentSeparator,h=void 0===l?".":l;return function(t){var n,i=t.value,a=t.selection,s=c&&i.endsWith(c),u="",l=_(C(i,e,c));try{for(l.s();!(n=l.n()).done;){var f=n.value;u+=u?c:"";var d=O(f,e);w(f,e)?u+=P(k(y(M(d),r,o)),e):u+=P(R(d,e),e)+(f.endsWith(h)?h:"")}}catch(p){l.e(p)}finally{l.f()}return{selection:a,value:u+(s?c:"")}}}function B(t){var e=t.dateModeTemplate,n=t.dateSegmentsSeparator,r=t.rangeSeparator,i=void 0===r?"":r;return function(t){var r=t.elementState,o=t.data,a=i?new RegExp("".concat(i,"|-")):S,s=o.split(a),u=o.includes(S)?[s[0]]:s;if(u.every(function(t){return t.trim().split(/\D/).length===e.split(n).length})){var c=u.map(function(t){return function(t,e,n){var r=t.split(/\D/),i=e.split(n);return r.map(function(t,e){return e===i.length-1?t:t.padStart(i[e].length,"0")}).join(n)}(t,e,n)}).join(i);return{elementState:r,data:"".concat(c).concat(o.includes(S)&&S+s[1]||"")}}return{elementState:r,data:o}}}function V(t){var e=new RegExp("".concat(N(t),"$"));return t?function(n,r){var i=n.value,o=n.selection;if(!i&&!r.value.endsWith(t))return{value:i,selection:o};if(!i.endsWith(t)&&!r.value.endsWith(t))return{selection:o,value:i+t};var a=r.value.replace(e,""),s=r.selection[1]>=a.length,u=function(t,e){for(var n="",r=0;ro||c1&&void 0!==arguments[1]&&arguments[1],n=function(e){for(var n=e.length-1;n>=0;n--)if(e[n]!==t[n])return e.slice(0,n+1);return""},r=[H(function(t){return[0,n(t).length]})],i=!1;if(e){var o=q("focus",function(e){i=!0,e.value+=t.slice(e.value.length),e.dispatchEvent(new Event("input"))},{capture:!0}),a=q("blur",function(t){i=!1,t.value=n(t.value),t.dispatchEvent(new Event("input"))},{capture:!0});r.push(o,a)}return{plugins:r,removePlaceholder:n,preprocessors:[function(t){var e=t.elementState,r=t.data,i=e.value;return{elementState:{selection:e.selection,value:n(i)},data:r}}],postprocessors:[function(n,r){var o=n.value,a=n.selection;return!r.value||!i&&e?{value:o,selection:a}:{value:o+t.slice(o.length),selection:a}}]}}function $(t){var e=t.mode,n=t.separator,r=void 0===n?".":n,o=t.max,a=t.min,s=e.split("/").join(r);return Object.assign(Object.assign({},i.A_),{mask:Array.from(s).map(function(t){return t===r?t:/\d/}),overwriteMode:"replace",preprocessors:[function(t,e){var n=t.elementState,r=n.value,i=n.selection;if(!r||function(t,e){var n=p(e,2);n[0];return n[1]===t.length}(r,i))return{elementState:n};var o=p(i,2),a=o[0],s=o[1],u=r.slice(a,s).replace(/\d/g,"0"),c=r.slice(0,a)+u+r.slice(s);return"validation"===e||"insert"===e&&a===s?{elementState:{selection:i,value:c}}:{elementState:{selection:"deleteBackward"===e||"insert"===e?[a,a]:[s,s],value:c}}},B({dateModeTemplate:s,dateSegmentsSeparator:r}),Z({dateModeTemplate:s,dateSegmentsSeparator:r})],postprocessors:[j({min:a,max:o,dateModeTemplate:s,dateSegmentSeparator:r})]})}function Q(t){var e=t.dateModeTemplate,n=t.rangeSeparator,r=t.minLength,i=t.maxLength,o=t.max,a=void 0===o?s:o;return F(r)&&F(i)?z:function(t){var o=t.value,s=t.selection,u=C(o,e,n);if(2!==u.length||u.some(function(t){return!w(t,e)}))return{value:o,selection:s};var c=p(u.map(function(t){return M(O(t,e))}),2),l=c[0],h=c[1],f=b(l,Object.assign(Object.assign({},r),{day:(null==r?void 0:r.day)&&r.day-1})),d=F(i)?a:b(l,Object.assign(Object.assign({},i),{day:(null==i?void 0:i.day)&&i.day-1})),v=y(h,f,a);return{selection:s,value:u[0]+n+P(k(v>d?d:v),e)}}}function W(t){var e=t.dateModeTemplate,n=t.rangeSeparator;return function(t){var r=t.value,i=t.selection,o=C(r,e,n),a=2===o.length&&o.every(function(t){return w(t,e)}),s=p(i,2),u=s[0],c=s[1];if(!(u>=r.length||0===u&&c>=r.length)||!a)return{value:r,selection:i};var l=p(o.map(function(t){return M(O(t,e))}),2);return{selection:i,value:l[0]>l[1]?o.reverse().join(n):r}}}function K(t){var e=t.mode,n=t.separator,r=void 0===n?".":n,o=t.min,a=t.max,s=t.minLength,u=t.maxLength,l=t.dateSeparator,h=void 0===l?r:l,f=t.rangeSeparator,v=void 0===f?"\xa0".concat(c,"\xa0"):f,g=e.split("/").join(h),m=Array.from(g).map(function(t){return t===h?t:/\d/});return Object.assign(Object.assign({},i.A_),{mask:[].concat(d(m),d(Array.from(v)),d(m)),overwriteMode:"replace",preprocessors:[function(t,e){var n=t.elementState,r=n.value,i=n.selection;if(!r||function(t,e){var n=p(e,2);n[0];return n[1]===t.length}(r,i))return{elementState:n};var o=p(i,2),a=o[0],s=o[1],u=r.slice(a,s).replace(/\d/g,"0"),c=r.slice(0,a)+u+r.slice(s);return"validation"===e||"insert"===e&&a===s?{elementState:{selection:i,value:c}}:{elementState:{selection:"deleteBackward"===e||"insert"===e?[a,a]:[s,s],value:c}}},B({dateModeTemplate:g,rangeSeparator:v,dateSegmentsSeparator:h}),Z({dateModeTemplate:g,rangeSeparator:v,dateSegmentsSeparator:h})],postprocessors:[j({min:o,max:a,dateModeTemplate:g,rangeSeparator:v,dateSegmentSeparator:h}),Q({dateModeTemplate:g,minLength:s,maxLength:u,max:a,rangeSeparator:v}),W({dateModeTemplate:g,rangeSeparator:v})]})}function tt(t){return x(Object.entries(t).map(function(t){var e=p(t,2),n=e[0],r=e[1];return[n,"".concat(r).padEnd(m[n],"0")]}))}function et(t){var e=t.replace(/\D+/g,""),n={hours:e.slice(0,2),minutes:e.slice(2,4),seconds:e.slice(4,6),milliseconds:e.slice(6,9)};return x(Object.entries(n).filter(function(t){var e=p(t,2),n=(e[0],e[1]);return Boolean(n)}))}function nt(t){var e=t.hours,n=void 0===e?"":e,r=t.minutes,i=void 0===r?"":r,o=t.seconds,a=void 0===o?"":o,s=t.milliseconds,u=void 0===s?"":s;return"".concat(n).concat(i&&":".concat(i)).concat(a&&":".concat(a)).concat(u&&".".concat(u))}var rt=new RegExp("[".concat(g.map(N).join(""),"]$"));function it(t){for(var e=t.timeString,n=t.paddedMaxValues,r=t.offset,i=p(t.selection,2),o=i[0],a=i[1],s=et(e),u={},c=0,l=0,h=Object.entries(s);l=o&&_<=a&&Number(v)>Number(y))return{validatedTimeString:"",updatedTimeSelection:[o,a]};var b=E(v,"".concat(y)),k=b.validatedSegmentValue;c+=b.prefixedZeroesCount,u[d]=k}var w=p(e.match(rt)||[],1)[0],C=void 0===w?"":w,x=nt(u)+C,O=Math.max(x.length-e.length,0);return{validatedTimeString:x,updatedTimeSelection:[o+c+O,a+c+O]}}function ot(t,e){var n=t.includes(S);return[t.slice(0,e.length),t.slice(n?e.length+S.length:e.length)]}function at(t){var e=t.dateModeTemplate,n=t.timeMode,r=t.min,i=void 0===r?a:r,o=t.max,u=void 0===o?s:o;return function(t){var r=t.value,o=t.selection,a=p(ot(r,e),2),s=a[0],c=a[1],l=O(s,e),h=et(c);if(!function(t,e,n){return t.length>=e.length+n.length+S.length&&t.split(S)[0].split(/\D/).every(function(t){return!t.match(/^0+$/)})}(r,e,n)){var f=R(l,e),d=w(s,e)?k(y(M(f),i,u)):f,v=d.year,g=d.month,m=d.day,_=P(Object.assign({year:v,month:g,day:m},h),e,n);return{selection:o,value:_+r.slice(_.length)}}return{selection:o,value:P(k(y(M(l,h),i,u)),e,n)}}}function st(t){var e=t.dateModeTemplate,n=t.dateSegmentsSeparator,r=new RegExp("[^\\d".concat(g.map(N).join("")).concat(N(n),"]+"));return function(t){var i=t.elementState,o=t.data,a=i.value,s=i.selection;if(o===n)return{elementState:i,data:s[0]===a.length?o:""};if(v.includes(o))return{elementState:i,data:S};var c=o.replace(r,"");if(!c)return{elementState:i,data:""};var l=p(s,2),h=l[0],f=l[1]+o.length,d=a.slice(0,h)+c+a.slice(f),g=p(ot(d,e),2),m=g[0],y=g[1],_="",b=d.includes(S),k=I({dateString:m,dateModeTemplate:e,offset:0,selection:[h,f]}),w=k.validatedDateString,C=k.updatedSelection;if(m&&!w)return{elementState:i,data:""};f=C[1],_+=w;var x=it({timeString:y,paddedMaxValues:tt(u),offset:_.length+S.length,selection:[h,f]}),O=x.validatedTimeString,M=x.updatedTimeSelection;if(y&&!O)return{elementState:i,data:""};f=M[1];var P=(_+=b?S+O:O).slice(h,f);return{elementState:{selection:s,value:_.slice(0,h)+P.split(n).map(function(t){return"0".repeat(t.length)}).join(n)+_.slice(f)},data:P}}}function ut(t){var e=t.dateMode,n=t.timeMode,r=t.dateSeparator,o=void 0===r?".":r,a=t.min,s=t.max,u=e.split("/").join(o);return Object.assign(Object.assign({},i.A_),{mask:[].concat(d(Array.from(u).map(function(t){return t===o?t:/\d/})),d(S.split("")),d(Array.from(n).map(function(t){return g.includes(t)?t:/\d/}))),overwriteMode:"replace",preprocessors:[function(t,e){var n=t.elementState,r=n.value,i=n.selection;if(!r||function(t,e){var n=p(e,2);n[0];return n[1]===t.length}(r,i))return{elementState:n};var o=p(i,2),a=o[0],s=o[1],u=r.slice(a,s).replace(/\d/g,"0"),c=r.slice(0,a)+u+r.slice(s);return"validation"===e||"insert"===e&&a===s?{elementState:{selection:i,value:c}}:{elementState:{selection:"deleteBackward"===e||"insert"===e?[a,a]:[s,s],value:c}}},B({dateModeTemplate:u,dateSegmentsSeparator:o}),st({dateModeTemplate:u,dateSegmentsSeparator:o})],postprocessors:[at({min:a,max:s,dateModeTemplate:u,timeMode:n})]})}function ct(t){var e=t.decimalSeparator,n=t.isNegativeAllowed,r=t.precision,i=t.thousandSeparator,o=t.prefix,a=t.postfix,s=t.decimalPseudoSeparators,u=void 0===s?[]:s,c=t.pseudoMinuses,l=void 0===c?[]:c,h=lt(o),f=n?"[\u2212".concat(l.map(function(t){return"\\".concat(t)}).join(""),"]?"):"",d=i?"[\\d".concat(N(i).replace(/\s/g,"\\s"),"]*"):"[\\d]*",p=r>0?"([".concat(N(e)).concat(u.map(N).join(""),"]\\d{0,").concat(Number.isFinite(r)?r:"","})?"):"",v=lt(a);return new RegExp("^".concat(h).concat(f).concat(d).concat(p).concat(v,"$"))}function lt(t){return t?"".concat(t.split("").map(function(t){return"".concat(N(t),"?")}).join("")):""}function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:".",n=!!t.match(new RegExp("^\\D*[\u2212\\".concat(h).concat(c).concat(l,"]"))),r=t.replace(new RegExp("[^\\d".concat(N(e),"]"),"g"),"").replace(e,".");return r?Number((n?h:"")+r):NaN}function ft(t){var e=t.decimalSeparator,n=t.precision,r=t.decimalZeroPadding,i=t.postfix;if(n<=0||!r)return z;var o=new RegExp("".concat(N(i),"$"));return function(t){var r=t.value,a=t.selection;if(Number.isNaN(ht(r,e)))return{value:r,selection:a};var s=p(r.replace(o,"").split(e),2),u=s[0],c=s[1];return{value:u+e+(void 0===c?"":c).padEnd(n,"0")+i,selection:a}}}function dt(t){var e=t.decimalSeparator,n=t.decimalPseudoSeparators,r=t.pseudoMinuses,o=!0,a=ct({decimalSeparator:e,decimalPseudoSeparators:n,pseudoMinuses:r,prefix:"",postfix:"",thousandSeparator:"",precision:1/0,isNegativeAllowed:!0});return function(t){var e=t.elementState,n=t.data;return o?(o=!1,{elementState:(0,i.CV)(e,{mask:a}),data:n}):{elementState:e,data:n}}}function pt(t){var e=t.min,n=t.max,r=t.decimalSeparator;return function(t){var i=t.value,o=t.selection,a=ht(i,r),s=a>0?Math.min(a,n):Math.max(a,e);if(!Number.isNaN(a)&&s!==a){var u="".concat(s).replace(".",r).replace(h,"\u2212");return{value:u,selection:[u.length,u.length]}}return{value:i,selection:o}}}function vt(t){var e=t.decimalSeparator,n=t.thousandSeparator,r=t.decimalZeroPadding;return function(t,i){var o=t.elementState,a=t.data,s=o.value,u=p(o.selection,2),c=u[0],l=u[1],h=s.slice(c,l),f=r?[e,n]:[n],d=r&&c>s.indexOf(e)&&Boolean(h.match(/^0+$/gi));return"deleteBackward"!==i&&"deleteForward"!==i||!f.includes(h)&&!d?{elementState:o,data:a}:{elementState:{value:s,selection:"deleteForward"===i?[l,l]:[c,c]},data:a}}}function gt(t){var e=t.decimalSeparator,n=t.precision,r=new RegExp("^\\D*".concat(N(e)));return function(t){var i=t.elementState,o=t.data,a=i.value,s=p(i.selection,1)[0];return n<=0||a.includes(e)||!o.match(r)?{elementState:i,data:o}:{elementState:i,data:a.slice(0,s).match(/\d+/)?o:"0".concat(o)}}}function mt(t,e){var n=new RegExp("[".concat(e.join(""),"]"),"gi");return function(e){var r=e.elementState,i=e.data,o=r.value;return{elementState:{selection:r.selection,value:o.replace(n,t)},data:i.replace(n,t)}}}function yt(t){return function(e){var n=e.elementState,r=e.data,i=n.value,o=p(n.selection,2),a=o[0],s=o[1];return{elementState:n,data:!i.includes(t)||i.slice(a,s+1).includes(t)?r:r.replace(new RegExp(N(t),"gi"),"")}}}function _t(t){var e=t.thousandSeparator,n=t.decimalSeparator,r=t.prefix,i=t.postfix;if(!e)return z;var o=new RegExp("^".concat(N(r),"\u2212?")),a=new RegExp("".concat(N(i),"$"));return function(t){var r=t.value,i=t.selection,s=p(r.split(n),2),u=s[0],c=s[1],l=void 0===c?"":c,h=p(i,2),f=h[0],d=h[1],v=p(i,2),g=v[0],m=v[1],y=u.replace(o,"").replace(a,""),_=p(u.match(o)||[],1)[0],b=void 0===_?"":_,k=p(u.match(a)||[],1)[0],w=void 0===k?"":k,C=Array.from(y).reduceRight(function(t,n,r){var i=!(!r&&n===e)&&t.length&&(t.length+1)%4==0;return i&&(n===e||function(){for(var t=arguments.length,e=new Array(t),n=0;n0)return z;var n=new RegExp("".concat(N(e),".*$"),"g");return function(t){var e=t.elementState,r=t.data,i=e.value,o=p(e.selection,2),a=o[0],s=o[1],u=i.replace(n,"");return{elementState:{selection:[Math.min(a,u.length),Math.min(s,u.length)],value:u},data:r.replace(n,"")}}}var kt=[0,0];function wt(t,e){var n=function(t,e){var n=function(t){var n=N(e);return t.replace(new RegExp("^(\\D+)?[0".concat(n,"]+(?=0)")),"$1").replace(new RegExp("^(\\D+)?[0".concat(n,"]+(?=[1-9])")),"$1")},r=function(t,e){var r=t.slice(0,e),i=t.slice(e).startsWith("0");return r.length-n(r).length+(i?1:0)};return function(e){var i=e.value,o=e.selection,a=p(o,2),s=a[0],u=a[1],c=i.includes(t),l=p(i.split(t),2),h=l[0],f=l[1],d=void 0===f?"":f,v=n(h);if(h===v)return{value:i,selection:o};var g=s-r(i,s),m=u-r(i,u);return{value:v+(c?t:"")+d,selection:[Math.max(g,0),Math.max(m,0)]}}}(t,e);return q("blur",function(t){var e=n({value:t.value,selection:kt},{value:"",selection:kt}).value;t.value!==e&&(t.value=e,t.dispatchEvent(new Event("input")))},{capture:!0})}function Ct(t){var e=t.min,n=t.max,r=t.decimalSeparator;return q("blur",function(t,o){var a=ht(t.value,r),s=y(a,e,n);!Number.isNaN(a)&&a!==s&&(t.value=(0,i.CV)(function(t){var e=String(t),n=p(e.split("e-"),2),r=n[0],i=n[1],o=e;if(i){var a=p(r.split("."),2)[1],s=Number(i)+((null==a?void 0:a.length)||0);o=t.toFixed(s)}return o}(s),o),t.dispatchEvent(new Event("input")))},{capture:!0})}function xt(t){return q("blur",function(e){var n=e.value.replace(new RegExp("^(\\D+)?".concat(N(t))),"$10".concat(t));n!==e.value&&(e.value=n,e.dispatchEvent(new Event("input")))},{capture:!0})}function Ot(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.max,n=void 0===e?Number.MAX_SAFE_INTEGER:e,r=t.min,a=void 0===r?Number.MIN_SAFE_INTEGER:r,s=t.precision,u=void 0===s?0:s,f=t.thousandSeparator,d=void 0===f?"\xa0":f,v=t.decimalSeparator,g=void 0===v?".":v,m=t.decimalPseudoSeparators,y=t.decimalZeroPadding,_=void 0!==y&&y,b=t.prefix,k=void 0===b?"":b,w=t.postfix,C=void 0===w?"":w,x=[h,c,l].filter(function(t){return t!==d&&t!==g}),O=function(t){var e=t.decimalSeparator,n=t.thousandSeparator,r=t.decimalPseudoSeparators;return(void 0===r?o:r).filter(function(t){return t!==n&&t!==e})}({decimalSeparator:g,thousandSeparator:d,decimalPseudoSeparators:m});return Object.assign(Object.assign({},i.A_),{mask:ct({decimalSeparator:g,precision:u,thousandSeparator:d,prefix:k,postfix:C,isNegativeAllowed:a<0}),preprocessors:[dt({decimalSeparator:g,decimalPseudoSeparators:O,pseudoMinuses:x}),mt("\u2212",x),mt(g,O),gt({decimalSeparator:g,precision:u}),vt({decimalSeparator:g,decimalZeroPadding:_,thousandSeparator:d}),bt(u,g),yt(g)],postprocessors:[pt({decimalSeparator:g,min:a,max:n}),Y(k),V(C),_t({decimalSeparator:g,thousandSeparator:d,prefix:k,postfix:C}),ft({decimalSeparator:g,decimalZeroPadding:_,precision:u,postfix:C})],plugins:[wt(g,d),xt(g),Ct({min:a,max:n,decimalSeparator:g})],overwriteMode:_?function(t){var e=t.value;return p(t.selection,1)[0]<=e.indexOf(g)?"shift":"replace"}:"shift"})}function Mt(t){var e=tt(t),n=new RegExp("[^\\d".concat(g.map(N).join(""),"]+"));return function(t,r){var i=t.elementState,o=t.data;if("deleteBackward"===r||"deleteForward"===r)return{elementState:i,data:o};var a=i.value,s=i.selection;if("validation"===r){var u=it({timeString:a,paddedMaxValues:e,offset:0,selection:s});return{elementState:{value:u.validatedTimeString,selection:u.updatedTimeSelection},data:o}}var c=o.replace(n,""),l=p(s,2),h=l[0],f=l[1]+c.length,d=a.slice(0,h)+c+a.slice(f),v=it({timeString:d,paddedMaxValues:e,offset:0,selection:[h,f]}),g=v.validatedTimeString,m=v.updatedTimeSelection;if(d&&!g)return{elementState:i,data:""};f=m[1];var y=g.slice(h,f);return{elementState:{selection:s,value:g.slice(0,h)+"0".repeat(y.length)+g.slice(f)},data:y}}}function St(t){var e=t.mode,n=t.timeSegmentMaxValues,r=void 0===n?{}:n,o=Object.assign(Object.assign({},u),r);return Object.assign(Object.assign({},i.A_),{mask:Array.from(e).map(function(t){return g.includes(t)?t:/\d/}),preprocessors:[function(t,e){var n=t.elementState,r=n.value,i=n.selection;if(!r||function(t,e){var n=p(e,2);n[0];return n[1]===t.length}(r,i))return{elementState:n};var o=p(i,2),a=o[0],s=o[1],u=r.slice(a,s).replace(/\d/g,"0"),c=r.slice(0,a)+u+r.slice(s);return"validation"===e||"insert"===e&&a===s?{elementState:{selection:i,value:c}}:{elementState:{selection:"deleteBackward"===e||"insert"===e?[a,a]:[s,s],value:c}}},Mt(o)],overwriteMode:"replace"})}},69153:function(t){function e(t){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}e.keys=function(){return[]},e.resolve=e,e.id=69153,t.exports=e},97582:function(t,e,n){"use strict";function r(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i=0;s--)(i=t[s])&&(a=(o<3?i(a):o>3?i(e,n,a):i(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a}function o(t,e,n,r){return new(n||(n=Promise))(function(i,o){function a(t){try{u(r.next(t))}catch(e){o(e)}}function s(t){try{u(r.throw(t))}catch(e){o(e)}}function u(t){t.done?i(t.value):function(t){return t instanceof n?t:new n(function(e){e(t)})}(t.value).then(a,s)}u((r=r.apply(t,e||[])).next())})}n.d(e,{_T:function(){return r},gn:function(){return i},mG:function(){return o}}),"function"==typeof SuppressedError&&SuppressedError},95485:function(t){"use strict";t.exports=JSON.parse('{"Aacute":"\xc1","aacute":"\xe1","Abreve":"\u0102","abreve":"\u0103","ac":"\u223e","acd":"\u223f","acE":"\u223e\u0333","Acirc":"\xc2","acirc":"\xe2","acute":"\xb4","Acy":"\u0410","acy":"\u0430","AElig":"\xc6","aelig":"\xe6","af":"\u2061","Afr":"\ud835\udd04","afr":"\ud835\udd1e","Agrave":"\xc0","agrave":"\xe0","alefsym":"\u2135","aleph":"\u2135","Alpha":"\u0391","alpha":"\u03b1","Amacr":"\u0100","amacr":"\u0101","amalg":"\u2a3f","amp":"&","AMP":"&","andand":"\u2a55","And":"\u2a53","and":"\u2227","andd":"\u2a5c","andslope":"\u2a58","andv":"\u2a5a","ang":"\u2220","ange":"\u29a4","angle":"\u2220","angmsdaa":"\u29a8","angmsdab":"\u29a9","angmsdac":"\u29aa","angmsdad":"\u29ab","angmsdae":"\u29ac","angmsdaf":"\u29ad","angmsdag":"\u29ae","angmsdah":"\u29af","angmsd":"\u2221","angrt":"\u221f","angrtvb":"\u22be","angrtvbd":"\u299d","angsph":"\u2222","angst":"\xc5","angzarr":"\u237c","Aogon":"\u0104","aogon":"\u0105","Aopf":"\ud835\udd38","aopf":"\ud835\udd52","apacir":"\u2a6f","ap":"\u2248","apE":"\u2a70","ape":"\u224a","apid":"\u224b","apos":"\'","ApplyFunction":"\u2061","approx":"\u2248","approxeq":"\u224a","Aring":"\xc5","aring":"\xe5","Ascr":"\ud835\udc9c","ascr":"\ud835\udcb6","Assign":"\u2254","ast":"*","asymp":"\u2248","asympeq":"\u224d","Atilde":"\xc3","atilde":"\xe3","Auml":"\xc4","auml":"\xe4","awconint":"\u2233","awint":"\u2a11","backcong":"\u224c","backepsilon":"\u03f6","backprime":"\u2035","backsim":"\u223d","backsimeq":"\u22cd","Backslash":"\u2216","Barv":"\u2ae7","barvee":"\u22bd","barwed":"\u2305","Barwed":"\u2306","barwedge":"\u2305","bbrk":"\u23b5","bbrktbrk":"\u23b6","bcong":"\u224c","Bcy":"\u0411","bcy":"\u0431","bdquo":"\u201e","becaus":"\u2235","because":"\u2235","Because":"\u2235","bemptyv":"\u29b0","bepsi":"\u03f6","bernou":"\u212c","Bernoullis":"\u212c","Beta":"\u0392","beta":"\u03b2","beth":"\u2136","between":"\u226c","Bfr":"\ud835\udd05","bfr":"\ud835\udd1f","bigcap":"\u22c2","bigcirc":"\u25ef","bigcup":"\u22c3","bigodot":"\u2a00","bigoplus":"\u2a01","bigotimes":"\u2a02","bigsqcup":"\u2a06","bigstar":"\u2605","bigtriangledown":"\u25bd","bigtriangleup":"\u25b3","biguplus":"\u2a04","bigvee":"\u22c1","bigwedge":"\u22c0","bkarow":"\u290d","blacklozenge":"\u29eb","blacksquare":"\u25aa","blacktriangle":"\u25b4","blacktriangledown":"\u25be","blacktriangleleft":"\u25c2","blacktriangleright":"\u25b8","blank":"\u2423","blk12":"\u2592","blk14":"\u2591","blk34":"\u2593","block":"\u2588","bne":"=\u20e5","bnequiv":"\u2261\u20e5","bNot":"\u2aed","bnot":"\u2310","Bopf":"\ud835\udd39","bopf":"\ud835\udd53","bot":"\u22a5","bottom":"\u22a5","bowtie":"\u22c8","boxbox":"\u29c9","boxdl":"\u2510","boxdL":"\u2555","boxDl":"\u2556","boxDL":"\u2557","boxdr":"\u250c","boxdR":"\u2552","boxDr":"\u2553","boxDR":"\u2554","boxh":"\u2500","boxH":"\u2550","boxhd":"\u252c","boxHd":"\u2564","boxhD":"\u2565","boxHD":"\u2566","boxhu":"\u2534","boxHu":"\u2567","boxhU":"\u2568","boxHU":"\u2569","boxminus":"\u229f","boxplus":"\u229e","boxtimes":"\u22a0","boxul":"\u2518","boxuL":"\u255b","boxUl":"\u255c","boxUL":"\u255d","boxur":"\u2514","boxuR":"\u2558","boxUr":"\u2559","boxUR":"\u255a","boxv":"\u2502","boxV":"\u2551","boxvh":"\u253c","boxvH":"\u256a","boxVh":"\u256b","boxVH":"\u256c","boxvl":"\u2524","boxvL":"\u2561","boxVl":"\u2562","boxVL":"\u2563","boxvr":"\u251c","boxvR":"\u255e","boxVr":"\u255f","boxVR":"\u2560","bprime":"\u2035","breve":"\u02d8","Breve":"\u02d8","brvbar":"\xa6","bscr":"\ud835\udcb7","Bscr":"\u212c","bsemi":"\u204f","bsim":"\u223d","bsime":"\u22cd","bsolb":"\u29c5","bsol":"\\\\","bsolhsub":"\u27c8","bull":"\u2022","bullet":"\u2022","bump":"\u224e","bumpE":"\u2aae","bumpe":"\u224f","Bumpeq":"\u224e","bumpeq":"\u224f","Cacute":"\u0106","cacute":"\u0107","capand":"\u2a44","capbrcup":"\u2a49","capcap":"\u2a4b","cap":"\u2229","Cap":"\u22d2","capcup":"\u2a47","capdot":"\u2a40","CapitalDifferentialD":"\u2145","caps":"\u2229\ufe00","caret":"\u2041","caron":"\u02c7","Cayleys":"\u212d","ccaps":"\u2a4d","Ccaron":"\u010c","ccaron":"\u010d","Ccedil":"\xc7","ccedil":"\xe7","Ccirc":"\u0108","ccirc":"\u0109","Cconint":"\u2230","ccups":"\u2a4c","ccupssm":"\u2a50","Cdot":"\u010a","cdot":"\u010b","cedil":"\xb8","Cedilla":"\xb8","cemptyv":"\u29b2","cent":"\xa2","centerdot":"\xb7","CenterDot":"\xb7","cfr":"\ud835\udd20","Cfr":"\u212d","CHcy":"\u0427","chcy":"\u0447","check":"\u2713","checkmark":"\u2713","Chi":"\u03a7","chi":"\u03c7","circ":"\u02c6","circeq":"\u2257","circlearrowleft":"\u21ba","circlearrowright":"\u21bb","circledast":"\u229b","circledcirc":"\u229a","circleddash":"\u229d","CircleDot":"\u2299","circledR":"\xae","circledS":"\u24c8","CircleMinus":"\u2296","CirclePlus":"\u2295","CircleTimes":"\u2297","cir":"\u25cb","cirE":"\u29c3","cire":"\u2257","cirfnint":"\u2a10","cirmid":"\u2aef","cirscir":"\u29c2","ClockwiseContourIntegral":"\u2232","CloseCurlyDoubleQuote":"\u201d","CloseCurlyQuote":"\u2019","clubs":"\u2663","clubsuit":"\u2663","colon":":","Colon":"\u2237","Colone":"\u2a74","colone":"\u2254","coloneq":"\u2254","comma":",","commat":"@","comp":"\u2201","compfn":"\u2218","complement":"\u2201","complexes":"\u2102","cong":"\u2245","congdot":"\u2a6d","Congruent":"\u2261","conint":"\u222e","Conint":"\u222f","ContourIntegral":"\u222e","copf":"\ud835\udd54","Copf":"\u2102","coprod":"\u2210","Coproduct":"\u2210","copy":"\xa9","COPY":"\xa9","copysr":"\u2117","CounterClockwiseContourIntegral":"\u2233","crarr":"\u21b5","cross":"\u2717","Cross":"\u2a2f","Cscr":"\ud835\udc9e","cscr":"\ud835\udcb8","csub":"\u2acf","csube":"\u2ad1","csup":"\u2ad0","csupe":"\u2ad2","ctdot":"\u22ef","cudarrl":"\u2938","cudarrr":"\u2935","cuepr":"\u22de","cuesc":"\u22df","cularr":"\u21b6","cularrp":"\u293d","cupbrcap":"\u2a48","cupcap":"\u2a46","CupCap":"\u224d","cup":"\u222a","Cup":"\u22d3","cupcup":"\u2a4a","cupdot":"\u228d","cupor":"\u2a45","cups":"\u222a\ufe00","curarr":"\u21b7","curarrm":"\u293c","curlyeqprec":"\u22de","curlyeqsucc":"\u22df","curlyvee":"\u22ce","curlywedge":"\u22cf","curren":"\xa4","curvearrowleft":"\u21b6","curvearrowright":"\u21b7","cuvee":"\u22ce","cuwed":"\u22cf","cwconint":"\u2232","cwint":"\u2231","cylcty":"\u232d","dagger":"\u2020","Dagger":"\u2021","daleth":"\u2138","darr":"\u2193","Darr":"\u21a1","dArr":"\u21d3","dash":"\u2010","Dashv":"\u2ae4","dashv":"\u22a3","dbkarow":"\u290f","dblac":"\u02dd","Dcaron":"\u010e","dcaron":"\u010f","Dcy":"\u0414","dcy":"\u0434","ddagger":"\u2021","ddarr":"\u21ca","DD":"\u2145","dd":"\u2146","DDotrahd":"\u2911","ddotseq":"\u2a77","deg":"\xb0","Del":"\u2207","Delta":"\u0394","delta":"\u03b4","demptyv":"\u29b1","dfisht":"\u297f","Dfr":"\ud835\udd07","dfr":"\ud835\udd21","dHar":"\u2965","dharl":"\u21c3","dharr":"\u21c2","DiacriticalAcute":"\xb4","DiacriticalDot":"\u02d9","DiacriticalDoubleAcute":"\u02dd","DiacriticalGrave":"`","DiacriticalTilde":"\u02dc","diam":"\u22c4","diamond":"\u22c4","Diamond":"\u22c4","diamondsuit":"\u2666","diams":"\u2666","die":"\xa8","DifferentialD":"\u2146","digamma":"\u03dd","disin":"\u22f2","div":"\xf7","divide":"\xf7","divideontimes":"\u22c7","divonx":"\u22c7","DJcy":"\u0402","djcy":"\u0452","dlcorn":"\u231e","dlcrop":"\u230d","dollar":"$","Dopf":"\ud835\udd3b","dopf":"\ud835\udd55","Dot":"\xa8","dot":"\u02d9","DotDot":"\u20dc","doteq":"\u2250","doteqdot":"\u2251","DotEqual":"\u2250","dotminus":"\u2238","dotplus":"\u2214","dotsquare":"\u22a1","doublebarwedge":"\u2306","DoubleContourIntegral":"\u222f","DoubleDot":"\xa8","DoubleDownArrow":"\u21d3","DoubleLeftArrow":"\u21d0","DoubleLeftRightArrow":"\u21d4","DoubleLeftTee":"\u2ae4","DoubleLongLeftArrow":"\u27f8","DoubleLongLeftRightArrow":"\u27fa","DoubleLongRightArrow":"\u27f9","DoubleRightArrow":"\u21d2","DoubleRightTee":"\u22a8","DoubleUpArrow":"\u21d1","DoubleUpDownArrow":"\u21d5","DoubleVerticalBar":"\u2225","DownArrowBar":"\u2913","downarrow":"\u2193","DownArrow":"\u2193","Downarrow":"\u21d3","DownArrowUpArrow":"\u21f5","DownBreve":"\u0311","downdownarrows":"\u21ca","downharpoonleft":"\u21c3","downharpoonright":"\u21c2","DownLeftRightVector":"\u2950","DownLeftTeeVector":"\u295e","DownLeftVectorBar":"\u2956","DownLeftVector":"\u21bd","DownRightTeeVector":"\u295f","DownRightVectorBar":"\u2957","DownRightVector":"\u21c1","DownTeeArrow":"\u21a7","DownTee":"\u22a4","drbkarow":"\u2910","drcorn":"\u231f","drcrop":"\u230c","Dscr":"\ud835\udc9f","dscr":"\ud835\udcb9","DScy":"\u0405","dscy":"\u0455","dsol":"\u29f6","Dstrok":"\u0110","dstrok":"\u0111","dtdot":"\u22f1","dtri":"\u25bf","dtrif":"\u25be","duarr":"\u21f5","duhar":"\u296f","dwangle":"\u29a6","DZcy":"\u040f","dzcy":"\u045f","dzigrarr":"\u27ff","Eacute":"\xc9","eacute":"\xe9","easter":"\u2a6e","Ecaron":"\u011a","ecaron":"\u011b","Ecirc":"\xca","ecirc":"\xea","ecir":"\u2256","ecolon":"\u2255","Ecy":"\u042d","ecy":"\u044d","eDDot":"\u2a77","Edot":"\u0116","edot":"\u0117","eDot":"\u2251","ee":"\u2147","efDot":"\u2252","Efr":"\ud835\udd08","efr":"\ud835\udd22","eg":"\u2a9a","Egrave":"\xc8","egrave":"\xe8","egs":"\u2a96","egsdot":"\u2a98","el":"\u2a99","Element":"\u2208","elinters":"\u23e7","ell":"\u2113","els":"\u2a95","elsdot":"\u2a97","Emacr":"\u0112","emacr":"\u0113","empty":"\u2205","emptyset":"\u2205","EmptySmallSquare":"\u25fb","emptyv":"\u2205","EmptyVerySmallSquare":"\u25ab","emsp13":"\u2004","emsp14":"\u2005","emsp":"\u2003","ENG":"\u014a","eng":"\u014b","ensp":"\u2002","Eogon":"\u0118","eogon":"\u0119","Eopf":"\ud835\udd3c","eopf":"\ud835\udd56","epar":"\u22d5","eparsl":"\u29e3","eplus":"\u2a71","epsi":"\u03b5","Epsilon":"\u0395","epsilon":"\u03b5","epsiv":"\u03f5","eqcirc":"\u2256","eqcolon":"\u2255","eqsim":"\u2242","eqslantgtr":"\u2a96","eqslantless":"\u2a95","Equal":"\u2a75","equals":"=","EqualTilde":"\u2242","equest":"\u225f","Equilibrium":"\u21cc","equiv":"\u2261","equivDD":"\u2a78","eqvparsl":"\u29e5","erarr":"\u2971","erDot":"\u2253","escr":"\u212f","Escr":"\u2130","esdot":"\u2250","Esim":"\u2a73","esim":"\u2242","Eta":"\u0397","eta":"\u03b7","ETH":"\xd0","eth":"\xf0","Euml":"\xcb","euml":"\xeb","euro":"\u20ac","excl":"!","exist":"\u2203","Exists":"\u2203","expectation":"\u2130","exponentiale":"\u2147","ExponentialE":"\u2147","fallingdotseq":"\u2252","Fcy":"\u0424","fcy":"\u0444","female":"\u2640","ffilig":"\ufb03","fflig":"\ufb00","ffllig":"\ufb04","Ffr":"\ud835\udd09","ffr":"\ud835\udd23","filig":"\ufb01","FilledSmallSquare":"\u25fc","FilledVerySmallSquare":"\u25aa","fjlig":"fj","flat":"\u266d","fllig":"\ufb02","fltns":"\u25b1","fnof":"\u0192","Fopf":"\ud835\udd3d","fopf":"\ud835\udd57","forall":"\u2200","ForAll":"\u2200","fork":"\u22d4","forkv":"\u2ad9","Fouriertrf":"\u2131","fpartint":"\u2a0d","frac12":"\xbd","frac13":"\u2153","frac14":"\xbc","frac15":"\u2155","frac16":"\u2159","frac18":"\u215b","frac23":"\u2154","frac25":"\u2156","frac34":"\xbe","frac35":"\u2157","frac38":"\u215c","frac45":"\u2158","frac56":"\u215a","frac58":"\u215d","frac78":"\u215e","frasl":"\u2044","frown":"\u2322","fscr":"\ud835\udcbb","Fscr":"\u2131","gacute":"\u01f5","Gamma":"\u0393","gamma":"\u03b3","Gammad":"\u03dc","gammad":"\u03dd","gap":"\u2a86","Gbreve":"\u011e","gbreve":"\u011f","Gcedil":"\u0122","Gcirc":"\u011c","gcirc":"\u011d","Gcy":"\u0413","gcy":"\u0433","Gdot":"\u0120","gdot":"\u0121","ge":"\u2265","gE":"\u2267","gEl":"\u2a8c","gel":"\u22db","geq":"\u2265","geqq":"\u2267","geqslant":"\u2a7e","gescc":"\u2aa9","ges":"\u2a7e","gesdot":"\u2a80","gesdoto":"\u2a82","gesdotol":"\u2a84","gesl":"\u22db\ufe00","gesles":"\u2a94","Gfr":"\ud835\udd0a","gfr":"\ud835\udd24","gg":"\u226b","Gg":"\u22d9","ggg":"\u22d9","gimel":"\u2137","GJcy":"\u0403","gjcy":"\u0453","gla":"\u2aa5","gl":"\u2277","glE":"\u2a92","glj":"\u2aa4","gnap":"\u2a8a","gnapprox":"\u2a8a","gne":"\u2a88","gnE":"\u2269","gneq":"\u2a88","gneqq":"\u2269","gnsim":"\u22e7","Gopf":"\ud835\udd3e","gopf":"\ud835\udd58","grave":"`","GreaterEqual":"\u2265","GreaterEqualLess":"\u22db","GreaterFullEqual":"\u2267","GreaterGreater":"\u2aa2","GreaterLess":"\u2277","GreaterSlantEqual":"\u2a7e","GreaterTilde":"\u2273","Gscr":"\ud835\udca2","gscr":"\u210a","gsim":"\u2273","gsime":"\u2a8e","gsiml":"\u2a90","gtcc":"\u2aa7","gtcir":"\u2a7a","gt":">","GT":">","Gt":"\u226b","gtdot":"\u22d7","gtlPar":"\u2995","gtquest":"\u2a7c","gtrapprox":"\u2a86","gtrarr":"\u2978","gtrdot":"\u22d7","gtreqless":"\u22db","gtreqqless":"\u2a8c","gtrless":"\u2277","gtrsim":"\u2273","gvertneqq":"\u2269\ufe00","gvnE":"\u2269\ufe00","Hacek":"\u02c7","hairsp":"\u200a","half":"\xbd","hamilt":"\u210b","HARDcy":"\u042a","hardcy":"\u044a","harrcir":"\u2948","harr":"\u2194","hArr":"\u21d4","harrw":"\u21ad","Hat":"^","hbar":"\u210f","Hcirc":"\u0124","hcirc":"\u0125","hearts":"\u2665","heartsuit":"\u2665","hellip":"\u2026","hercon":"\u22b9","hfr":"\ud835\udd25","Hfr":"\u210c","HilbertSpace":"\u210b","hksearow":"\u2925","hkswarow":"\u2926","hoarr":"\u21ff","homtht":"\u223b","hookleftarrow":"\u21a9","hookrightarrow":"\u21aa","hopf":"\ud835\udd59","Hopf":"\u210d","horbar":"\u2015","HorizontalLine":"\u2500","hscr":"\ud835\udcbd","Hscr":"\u210b","hslash":"\u210f","Hstrok":"\u0126","hstrok":"\u0127","HumpDownHump":"\u224e","HumpEqual":"\u224f","hybull":"\u2043","hyphen":"\u2010","Iacute":"\xcd","iacute":"\xed","ic":"\u2063","Icirc":"\xce","icirc":"\xee","Icy":"\u0418","icy":"\u0438","Idot":"\u0130","IEcy":"\u0415","iecy":"\u0435","iexcl":"\xa1","iff":"\u21d4","ifr":"\ud835\udd26","Ifr":"\u2111","Igrave":"\xcc","igrave":"\xec","ii":"\u2148","iiiint":"\u2a0c","iiint":"\u222d","iinfin":"\u29dc","iiota":"\u2129","IJlig":"\u0132","ijlig":"\u0133","Imacr":"\u012a","imacr":"\u012b","image":"\u2111","ImaginaryI":"\u2148","imagline":"\u2110","imagpart":"\u2111","imath":"\u0131","Im":"\u2111","imof":"\u22b7","imped":"\u01b5","Implies":"\u21d2","incare":"\u2105","in":"\u2208","infin":"\u221e","infintie":"\u29dd","inodot":"\u0131","intcal":"\u22ba","int":"\u222b","Int":"\u222c","integers":"\u2124","Integral":"\u222b","intercal":"\u22ba","Intersection":"\u22c2","intlarhk":"\u2a17","intprod":"\u2a3c","InvisibleComma":"\u2063","InvisibleTimes":"\u2062","IOcy":"\u0401","iocy":"\u0451","Iogon":"\u012e","iogon":"\u012f","Iopf":"\ud835\udd40","iopf":"\ud835\udd5a","Iota":"\u0399","iota":"\u03b9","iprod":"\u2a3c","iquest":"\xbf","iscr":"\ud835\udcbe","Iscr":"\u2110","isin":"\u2208","isindot":"\u22f5","isinE":"\u22f9","isins":"\u22f4","isinsv":"\u22f3","isinv":"\u2208","it":"\u2062","Itilde":"\u0128","itilde":"\u0129","Iukcy":"\u0406","iukcy":"\u0456","Iuml":"\xcf","iuml":"\xef","Jcirc":"\u0134","jcirc":"\u0135","Jcy":"\u0419","jcy":"\u0439","Jfr":"\ud835\udd0d","jfr":"\ud835\udd27","jmath":"\u0237","Jopf":"\ud835\udd41","jopf":"\ud835\udd5b","Jscr":"\ud835\udca5","jscr":"\ud835\udcbf","Jsercy":"\u0408","jsercy":"\u0458","Jukcy":"\u0404","jukcy":"\u0454","Kappa":"\u039a","kappa":"\u03ba","kappav":"\u03f0","Kcedil":"\u0136","kcedil":"\u0137","Kcy":"\u041a","kcy":"\u043a","Kfr":"\ud835\udd0e","kfr":"\ud835\udd28","kgreen":"\u0138","KHcy":"\u0425","khcy":"\u0445","KJcy":"\u040c","kjcy":"\u045c","Kopf":"\ud835\udd42","kopf":"\ud835\udd5c","Kscr":"\ud835\udca6","kscr":"\ud835\udcc0","lAarr":"\u21da","Lacute":"\u0139","lacute":"\u013a","laemptyv":"\u29b4","lagran":"\u2112","Lambda":"\u039b","lambda":"\u03bb","lang":"\u27e8","Lang":"\u27ea","langd":"\u2991","langle":"\u27e8","lap":"\u2a85","Laplacetrf":"\u2112","laquo":"\xab","larrb":"\u21e4","larrbfs":"\u291f","larr":"\u2190","Larr":"\u219e","lArr":"\u21d0","larrfs":"\u291d","larrhk":"\u21a9","larrlp":"\u21ab","larrpl":"\u2939","larrsim":"\u2973","larrtl":"\u21a2","latail":"\u2919","lAtail":"\u291b","lat":"\u2aab","late":"\u2aad","lates":"\u2aad\ufe00","lbarr":"\u290c","lBarr":"\u290e","lbbrk":"\u2772","lbrace":"{","lbrack":"[","lbrke":"\u298b","lbrksld":"\u298f","lbrkslu":"\u298d","Lcaron":"\u013d","lcaron":"\u013e","Lcedil":"\u013b","lcedil":"\u013c","lceil":"\u2308","lcub":"{","Lcy":"\u041b","lcy":"\u043b","ldca":"\u2936","ldquo":"\u201c","ldquor":"\u201e","ldrdhar":"\u2967","ldrushar":"\u294b","ldsh":"\u21b2","le":"\u2264","lE":"\u2266","LeftAngleBracket":"\u27e8","LeftArrowBar":"\u21e4","leftarrow":"\u2190","LeftArrow":"\u2190","Leftarrow":"\u21d0","LeftArrowRightArrow":"\u21c6","leftarrowtail":"\u21a2","LeftCeiling":"\u2308","LeftDoubleBracket":"\u27e6","LeftDownTeeVector":"\u2961","LeftDownVectorBar":"\u2959","LeftDownVector":"\u21c3","LeftFloor":"\u230a","leftharpoondown":"\u21bd","leftharpoonup":"\u21bc","leftleftarrows":"\u21c7","leftrightarrow":"\u2194","LeftRightArrow":"\u2194","Leftrightarrow":"\u21d4","leftrightarrows":"\u21c6","leftrightharpoons":"\u21cb","leftrightsquigarrow":"\u21ad","LeftRightVector":"\u294e","LeftTeeArrow":"\u21a4","LeftTee":"\u22a3","LeftTeeVector":"\u295a","leftthreetimes":"\u22cb","LeftTriangleBar":"\u29cf","LeftTriangle":"\u22b2","LeftTriangleEqual":"\u22b4","LeftUpDownVector":"\u2951","LeftUpTeeVector":"\u2960","LeftUpVectorBar":"\u2958","LeftUpVector":"\u21bf","LeftVectorBar":"\u2952","LeftVector":"\u21bc","lEg":"\u2a8b","leg":"\u22da","leq":"\u2264","leqq":"\u2266","leqslant":"\u2a7d","lescc":"\u2aa8","les":"\u2a7d","lesdot":"\u2a7f","lesdoto":"\u2a81","lesdotor":"\u2a83","lesg":"\u22da\ufe00","lesges":"\u2a93","lessapprox":"\u2a85","lessdot":"\u22d6","lesseqgtr":"\u22da","lesseqqgtr":"\u2a8b","LessEqualGreater":"\u22da","LessFullEqual":"\u2266","LessGreater":"\u2276","lessgtr":"\u2276","LessLess":"\u2aa1","lesssim":"\u2272","LessSlantEqual":"\u2a7d","LessTilde":"\u2272","lfisht":"\u297c","lfloor":"\u230a","Lfr":"\ud835\udd0f","lfr":"\ud835\udd29","lg":"\u2276","lgE":"\u2a91","lHar":"\u2962","lhard":"\u21bd","lharu":"\u21bc","lharul":"\u296a","lhblk":"\u2584","LJcy":"\u0409","ljcy":"\u0459","llarr":"\u21c7","ll":"\u226a","Ll":"\u22d8","llcorner":"\u231e","Lleftarrow":"\u21da","llhard":"\u296b","lltri":"\u25fa","Lmidot":"\u013f","lmidot":"\u0140","lmoustache":"\u23b0","lmoust":"\u23b0","lnap":"\u2a89","lnapprox":"\u2a89","lne":"\u2a87","lnE":"\u2268","lneq":"\u2a87","lneqq":"\u2268","lnsim":"\u22e6","loang":"\u27ec","loarr":"\u21fd","lobrk":"\u27e6","longleftarrow":"\u27f5","LongLeftArrow":"\u27f5","Longleftarrow":"\u27f8","longleftrightarrow":"\u27f7","LongLeftRightArrow":"\u27f7","Longleftrightarrow":"\u27fa","longmapsto":"\u27fc","longrightarrow":"\u27f6","LongRightArrow":"\u27f6","Longrightarrow":"\u27f9","looparrowleft":"\u21ab","looparrowright":"\u21ac","lopar":"\u2985","Lopf":"\ud835\udd43","lopf":"\ud835\udd5d","loplus":"\u2a2d","lotimes":"\u2a34","lowast":"\u2217","lowbar":"_","LowerLeftArrow":"\u2199","LowerRightArrow":"\u2198","loz":"\u25ca","lozenge":"\u25ca","lozf":"\u29eb","lpar":"(","lparlt":"\u2993","lrarr":"\u21c6","lrcorner":"\u231f","lrhar":"\u21cb","lrhard":"\u296d","lrm":"\u200e","lrtri":"\u22bf","lsaquo":"\u2039","lscr":"\ud835\udcc1","Lscr":"\u2112","lsh":"\u21b0","Lsh":"\u21b0","lsim":"\u2272","lsime":"\u2a8d","lsimg":"\u2a8f","lsqb":"[","lsquo":"\u2018","lsquor":"\u201a","Lstrok":"\u0141","lstrok":"\u0142","ltcc":"\u2aa6","ltcir":"\u2a79","lt":"<","LT":"<","Lt":"\u226a","ltdot":"\u22d6","lthree":"\u22cb","ltimes":"\u22c9","ltlarr":"\u2976","ltquest":"\u2a7b","ltri":"\u25c3","ltrie":"\u22b4","ltrif":"\u25c2","ltrPar":"\u2996","lurdshar":"\u294a","luruhar":"\u2966","lvertneqq":"\u2268\ufe00","lvnE":"\u2268\ufe00","macr":"\xaf","male":"\u2642","malt":"\u2720","maltese":"\u2720","Map":"\u2905","map":"\u21a6","mapsto":"\u21a6","mapstodown":"\u21a7","mapstoleft":"\u21a4","mapstoup":"\u21a5","marker":"\u25ae","mcomma":"\u2a29","Mcy":"\u041c","mcy":"\u043c","mdash":"\u2014","mDDot":"\u223a","measuredangle":"\u2221","MediumSpace":"\u205f","Mellintrf":"\u2133","Mfr":"\ud835\udd10","mfr":"\ud835\udd2a","mho":"\u2127","micro":"\xb5","midast":"*","midcir":"\u2af0","mid":"\u2223","middot":"\xb7","minusb":"\u229f","minus":"\u2212","minusd":"\u2238","minusdu":"\u2a2a","MinusPlus":"\u2213","mlcp":"\u2adb","mldr":"\u2026","mnplus":"\u2213","models":"\u22a7","Mopf":"\ud835\udd44","mopf":"\ud835\udd5e","mp":"\u2213","mscr":"\ud835\udcc2","Mscr":"\u2133","mstpos":"\u223e","Mu":"\u039c","mu":"\u03bc","multimap":"\u22b8","mumap":"\u22b8","nabla":"\u2207","Nacute":"\u0143","nacute":"\u0144","nang":"\u2220\u20d2","nap":"\u2249","napE":"\u2a70\u0338","napid":"\u224b\u0338","napos":"\u0149","napprox":"\u2249","natural":"\u266e","naturals":"\u2115","natur":"\u266e","nbsp":"\xa0","nbump":"\u224e\u0338","nbumpe":"\u224f\u0338","ncap":"\u2a43","Ncaron":"\u0147","ncaron":"\u0148","Ncedil":"\u0145","ncedil":"\u0146","ncong":"\u2247","ncongdot":"\u2a6d\u0338","ncup":"\u2a42","Ncy":"\u041d","ncy":"\u043d","ndash":"\u2013","nearhk":"\u2924","nearr":"\u2197","neArr":"\u21d7","nearrow":"\u2197","ne":"\u2260","nedot":"\u2250\u0338","NegativeMediumSpace":"\u200b","NegativeThickSpace":"\u200b","NegativeThinSpace":"\u200b","NegativeVeryThinSpace":"\u200b","nequiv":"\u2262","nesear":"\u2928","nesim":"\u2242\u0338","NestedGreaterGreater":"\u226b","NestedLessLess":"\u226a","NewLine":"\\n","nexist":"\u2204","nexists":"\u2204","Nfr":"\ud835\udd11","nfr":"\ud835\udd2b","ngE":"\u2267\u0338","nge":"\u2271","ngeq":"\u2271","ngeqq":"\u2267\u0338","ngeqslant":"\u2a7e\u0338","nges":"\u2a7e\u0338","nGg":"\u22d9\u0338","ngsim":"\u2275","nGt":"\u226b\u20d2","ngt":"\u226f","ngtr":"\u226f","nGtv":"\u226b\u0338","nharr":"\u21ae","nhArr":"\u21ce","nhpar":"\u2af2","ni":"\u220b","nis":"\u22fc","nisd":"\u22fa","niv":"\u220b","NJcy":"\u040a","njcy":"\u045a","nlarr":"\u219a","nlArr":"\u21cd","nldr":"\u2025","nlE":"\u2266\u0338","nle":"\u2270","nleftarrow":"\u219a","nLeftarrow":"\u21cd","nleftrightarrow":"\u21ae","nLeftrightarrow":"\u21ce","nleq":"\u2270","nleqq":"\u2266\u0338","nleqslant":"\u2a7d\u0338","nles":"\u2a7d\u0338","nless":"\u226e","nLl":"\u22d8\u0338","nlsim":"\u2274","nLt":"\u226a\u20d2","nlt":"\u226e","nltri":"\u22ea","nltrie":"\u22ec","nLtv":"\u226a\u0338","nmid":"\u2224","NoBreak":"\u2060","NonBreakingSpace":"\xa0","nopf":"\ud835\udd5f","Nopf":"\u2115","Not":"\u2aec","not":"\xac","NotCongruent":"\u2262","NotCupCap":"\u226d","NotDoubleVerticalBar":"\u2226","NotElement":"\u2209","NotEqual":"\u2260","NotEqualTilde":"\u2242\u0338","NotExists":"\u2204","NotGreater":"\u226f","NotGreaterEqual":"\u2271","NotGreaterFullEqual":"\u2267\u0338","NotGreaterGreater":"\u226b\u0338","NotGreaterLess":"\u2279","NotGreaterSlantEqual":"\u2a7e\u0338","NotGreaterTilde":"\u2275","NotHumpDownHump":"\u224e\u0338","NotHumpEqual":"\u224f\u0338","notin":"\u2209","notindot":"\u22f5\u0338","notinE":"\u22f9\u0338","notinva":"\u2209","notinvb":"\u22f7","notinvc":"\u22f6","NotLeftTriangleBar":"\u29cf\u0338","NotLeftTriangle":"\u22ea","NotLeftTriangleEqual":"\u22ec","NotLess":"\u226e","NotLessEqual":"\u2270","NotLessGreater":"\u2278","NotLessLess":"\u226a\u0338","NotLessSlantEqual":"\u2a7d\u0338","NotLessTilde":"\u2274","NotNestedGreaterGreater":"\u2aa2\u0338","NotNestedLessLess":"\u2aa1\u0338","notni":"\u220c","notniva":"\u220c","notnivb":"\u22fe","notnivc":"\u22fd","NotPrecedes":"\u2280","NotPrecedesEqual":"\u2aaf\u0338","NotPrecedesSlantEqual":"\u22e0","NotReverseElement":"\u220c","NotRightTriangleBar":"\u29d0\u0338","NotRightTriangle":"\u22eb","NotRightTriangleEqual":"\u22ed","NotSquareSubset":"\u228f\u0338","NotSquareSubsetEqual":"\u22e2","NotSquareSuperset":"\u2290\u0338","NotSquareSupersetEqual":"\u22e3","NotSubset":"\u2282\u20d2","NotSubsetEqual":"\u2288","NotSucceeds":"\u2281","NotSucceedsEqual":"\u2ab0\u0338","NotSucceedsSlantEqual":"\u22e1","NotSucceedsTilde":"\u227f\u0338","NotSuperset":"\u2283\u20d2","NotSupersetEqual":"\u2289","NotTilde":"\u2241","NotTildeEqual":"\u2244","NotTildeFullEqual":"\u2247","NotTildeTilde":"\u2249","NotVerticalBar":"\u2224","nparallel":"\u2226","npar":"\u2226","nparsl":"\u2afd\u20e5","npart":"\u2202\u0338","npolint":"\u2a14","npr":"\u2280","nprcue":"\u22e0","nprec":"\u2280","npreceq":"\u2aaf\u0338","npre":"\u2aaf\u0338","nrarrc":"\u2933\u0338","nrarr":"\u219b","nrArr":"\u21cf","nrarrw":"\u219d\u0338","nrightarrow":"\u219b","nRightarrow":"\u21cf","nrtri":"\u22eb","nrtrie":"\u22ed","nsc":"\u2281","nsccue":"\u22e1","nsce":"\u2ab0\u0338","Nscr":"\ud835\udca9","nscr":"\ud835\udcc3","nshortmid":"\u2224","nshortparallel":"\u2226","nsim":"\u2241","nsime":"\u2244","nsimeq":"\u2244","nsmid":"\u2224","nspar":"\u2226","nsqsube":"\u22e2","nsqsupe":"\u22e3","nsub":"\u2284","nsubE":"\u2ac5\u0338","nsube":"\u2288","nsubset":"\u2282\u20d2","nsubseteq":"\u2288","nsubseteqq":"\u2ac5\u0338","nsucc":"\u2281","nsucceq":"\u2ab0\u0338","nsup":"\u2285","nsupE":"\u2ac6\u0338","nsupe":"\u2289","nsupset":"\u2283\u20d2","nsupseteq":"\u2289","nsupseteqq":"\u2ac6\u0338","ntgl":"\u2279","Ntilde":"\xd1","ntilde":"\xf1","ntlg":"\u2278","ntriangleleft":"\u22ea","ntrianglelefteq":"\u22ec","ntriangleright":"\u22eb","ntrianglerighteq":"\u22ed","Nu":"\u039d","nu":"\u03bd","num":"#","numero":"\u2116","numsp":"\u2007","nvap":"\u224d\u20d2","nvdash":"\u22ac","nvDash":"\u22ad","nVdash":"\u22ae","nVDash":"\u22af","nvge":"\u2265\u20d2","nvgt":">\u20d2","nvHarr":"\u2904","nvinfin":"\u29de","nvlArr":"\u2902","nvle":"\u2264\u20d2","nvlt":"<\u20d2","nvltrie":"\u22b4\u20d2","nvrArr":"\u2903","nvrtrie":"\u22b5\u20d2","nvsim":"\u223c\u20d2","nwarhk":"\u2923","nwarr":"\u2196","nwArr":"\u21d6","nwarrow":"\u2196","nwnear":"\u2927","Oacute":"\xd3","oacute":"\xf3","oast":"\u229b","Ocirc":"\xd4","ocirc":"\xf4","ocir":"\u229a","Ocy":"\u041e","ocy":"\u043e","odash":"\u229d","Odblac":"\u0150","odblac":"\u0151","odiv":"\u2a38","odot":"\u2299","odsold":"\u29bc","OElig":"\u0152","oelig":"\u0153","ofcir":"\u29bf","Ofr":"\ud835\udd12","ofr":"\ud835\udd2c","ogon":"\u02db","Ograve":"\xd2","ograve":"\xf2","ogt":"\u29c1","ohbar":"\u29b5","ohm":"\u03a9","oint":"\u222e","olarr":"\u21ba","olcir":"\u29be","olcross":"\u29bb","oline":"\u203e","olt":"\u29c0","Omacr":"\u014c","omacr":"\u014d","Omega":"\u03a9","omega":"\u03c9","Omicron":"\u039f","omicron":"\u03bf","omid":"\u29b6","ominus":"\u2296","Oopf":"\ud835\udd46","oopf":"\ud835\udd60","opar":"\u29b7","OpenCurlyDoubleQuote":"\u201c","OpenCurlyQuote":"\u2018","operp":"\u29b9","oplus":"\u2295","orarr":"\u21bb","Or":"\u2a54","or":"\u2228","ord":"\u2a5d","order":"\u2134","orderof":"\u2134","ordf":"\xaa","ordm":"\xba","origof":"\u22b6","oror":"\u2a56","orslope":"\u2a57","orv":"\u2a5b","oS":"\u24c8","Oscr":"\ud835\udcaa","oscr":"\u2134","Oslash":"\xd8","oslash":"\xf8","osol":"\u2298","Otilde":"\xd5","otilde":"\xf5","otimesas":"\u2a36","Otimes":"\u2a37","otimes":"\u2297","Ouml":"\xd6","ouml":"\xf6","ovbar":"\u233d","OverBar":"\u203e","OverBrace":"\u23de","OverBracket":"\u23b4","OverParenthesis":"\u23dc","para":"\xb6","parallel":"\u2225","par":"\u2225","parsim":"\u2af3","parsl":"\u2afd","part":"\u2202","PartialD":"\u2202","Pcy":"\u041f","pcy":"\u043f","percnt":"%","period":".","permil":"\u2030","perp":"\u22a5","pertenk":"\u2031","Pfr":"\ud835\udd13","pfr":"\ud835\udd2d","Phi":"\u03a6","phi":"\u03c6","phiv":"\u03d5","phmmat":"\u2133","phone":"\u260e","Pi":"\u03a0","pi":"\u03c0","pitchfork":"\u22d4","piv":"\u03d6","planck":"\u210f","planckh":"\u210e","plankv":"\u210f","plusacir":"\u2a23","plusb":"\u229e","pluscir":"\u2a22","plus":"+","plusdo":"\u2214","plusdu":"\u2a25","pluse":"\u2a72","PlusMinus":"\xb1","plusmn":"\xb1","plussim":"\u2a26","plustwo":"\u2a27","pm":"\xb1","Poincareplane":"\u210c","pointint":"\u2a15","popf":"\ud835\udd61","Popf":"\u2119","pound":"\xa3","prap":"\u2ab7","Pr":"\u2abb","pr":"\u227a","prcue":"\u227c","precapprox":"\u2ab7","prec":"\u227a","preccurlyeq":"\u227c","Precedes":"\u227a","PrecedesEqual":"\u2aaf","PrecedesSlantEqual":"\u227c","PrecedesTilde":"\u227e","preceq":"\u2aaf","precnapprox":"\u2ab9","precneqq":"\u2ab5","precnsim":"\u22e8","pre":"\u2aaf","prE":"\u2ab3","precsim":"\u227e","prime":"\u2032","Prime":"\u2033","primes":"\u2119","prnap":"\u2ab9","prnE":"\u2ab5","prnsim":"\u22e8","prod":"\u220f","Product":"\u220f","profalar":"\u232e","profline":"\u2312","profsurf":"\u2313","prop":"\u221d","Proportional":"\u221d","Proportion":"\u2237","propto":"\u221d","prsim":"\u227e","prurel":"\u22b0","Pscr":"\ud835\udcab","pscr":"\ud835\udcc5","Psi":"\u03a8","psi":"\u03c8","puncsp":"\u2008","Qfr":"\ud835\udd14","qfr":"\ud835\udd2e","qint":"\u2a0c","qopf":"\ud835\udd62","Qopf":"\u211a","qprime":"\u2057","Qscr":"\ud835\udcac","qscr":"\ud835\udcc6","quaternions":"\u210d","quatint":"\u2a16","quest":"?","questeq":"\u225f","quot":"\\"","QUOT":"\\"","rAarr":"\u21db","race":"\u223d\u0331","Racute":"\u0154","racute":"\u0155","radic":"\u221a","raemptyv":"\u29b3","rang":"\u27e9","Rang":"\u27eb","rangd":"\u2992","range":"\u29a5","rangle":"\u27e9","raquo":"\xbb","rarrap":"\u2975","rarrb":"\u21e5","rarrbfs":"\u2920","rarrc":"\u2933","rarr":"\u2192","Rarr":"\u21a0","rArr":"\u21d2","rarrfs":"\u291e","rarrhk":"\u21aa","rarrlp":"\u21ac","rarrpl":"\u2945","rarrsim":"\u2974","Rarrtl":"\u2916","rarrtl":"\u21a3","rarrw":"\u219d","ratail":"\u291a","rAtail":"\u291c","ratio":"\u2236","rationals":"\u211a","rbarr":"\u290d","rBarr":"\u290f","RBarr":"\u2910","rbbrk":"\u2773","rbrace":"}","rbrack":"]","rbrke":"\u298c","rbrksld":"\u298e","rbrkslu":"\u2990","Rcaron":"\u0158","rcaron":"\u0159","Rcedil":"\u0156","rcedil":"\u0157","rceil":"\u2309","rcub":"}","Rcy":"\u0420","rcy":"\u0440","rdca":"\u2937","rdldhar":"\u2969","rdquo":"\u201d","rdquor":"\u201d","rdsh":"\u21b3","real":"\u211c","realine":"\u211b","realpart":"\u211c","reals":"\u211d","Re":"\u211c","rect":"\u25ad","reg":"\xae","REG":"\xae","ReverseElement":"\u220b","ReverseEquilibrium":"\u21cb","ReverseUpEquilibrium":"\u296f","rfisht":"\u297d","rfloor":"\u230b","rfr":"\ud835\udd2f","Rfr":"\u211c","rHar":"\u2964","rhard":"\u21c1","rharu":"\u21c0","rharul":"\u296c","Rho":"\u03a1","rho":"\u03c1","rhov":"\u03f1","RightAngleBracket":"\u27e9","RightArrowBar":"\u21e5","rightarrow":"\u2192","RightArrow":"\u2192","Rightarrow":"\u21d2","RightArrowLeftArrow":"\u21c4","rightarrowtail":"\u21a3","RightCeiling":"\u2309","RightDoubleBracket":"\u27e7","RightDownTeeVector":"\u295d","RightDownVectorBar":"\u2955","RightDownVector":"\u21c2","RightFloor":"\u230b","rightharpoondown":"\u21c1","rightharpoonup":"\u21c0","rightleftarrows":"\u21c4","rightleftharpoons":"\u21cc","rightrightarrows":"\u21c9","rightsquigarrow":"\u219d","RightTeeArrow":"\u21a6","RightTee":"\u22a2","RightTeeVector":"\u295b","rightthreetimes":"\u22cc","RightTriangleBar":"\u29d0","RightTriangle":"\u22b3","RightTriangleEqual":"\u22b5","RightUpDownVector":"\u294f","RightUpTeeVector":"\u295c","RightUpVectorBar":"\u2954","RightUpVector":"\u21be","RightVectorBar":"\u2953","RightVector":"\u21c0","ring":"\u02da","risingdotseq":"\u2253","rlarr":"\u21c4","rlhar":"\u21cc","rlm":"\u200f","rmoustache":"\u23b1","rmoust":"\u23b1","rnmid":"\u2aee","roang":"\u27ed","roarr":"\u21fe","robrk":"\u27e7","ropar":"\u2986","ropf":"\ud835\udd63","Ropf":"\u211d","roplus":"\u2a2e","rotimes":"\u2a35","RoundImplies":"\u2970","rpar":")","rpargt":"\u2994","rppolint":"\u2a12","rrarr":"\u21c9","Rrightarrow":"\u21db","rsaquo":"\u203a","rscr":"\ud835\udcc7","Rscr":"\u211b","rsh":"\u21b1","Rsh":"\u21b1","rsqb":"]","rsquo":"\u2019","rsquor":"\u2019","rthree":"\u22cc","rtimes":"\u22ca","rtri":"\u25b9","rtrie":"\u22b5","rtrif":"\u25b8","rtriltri":"\u29ce","RuleDelayed":"\u29f4","ruluhar":"\u2968","rx":"\u211e","Sacute":"\u015a","sacute":"\u015b","sbquo":"\u201a","scap":"\u2ab8","Scaron":"\u0160","scaron":"\u0161","Sc":"\u2abc","sc":"\u227b","sccue":"\u227d","sce":"\u2ab0","scE":"\u2ab4","Scedil":"\u015e","scedil":"\u015f","Scirc":"\u015c","scirc":"\u015d","scnap":"\u2aba","scnE":"\u2ab6","scnsim":"\u22e9","scpolint":"\u2a13","scsim":"\u227f","Scy":"\u0421","scy":"\u0441","sdotb":"\u22a1","sdot":"\u22c5","sdote":"\u2a66","searhk":"\u2925","searr":"\u2198","seArr":"\u21d8","searrow":"\u2198","sect":"\xa7","semi":";","seswar":"\u2929","setminus":"\u2216","setmn":"\u2216","sext":"\u2736","Sfr":"\ud835\udd16","sfr":"\ud835\udd30","sfrown":"\u2322","sharp":"\u266f","SHCHcy":"\u0429","shchcy":"\u0449","SHcy":"\u0428","shcy":"\u0448","ShortDownArrow":"\u2193","ShortLeftArrow":"\u2190","shortmid":"\u2223","shortparallel":"\u2225","ShortRightArrow":"\u2192","ShortUpArrow":"\u2191","shy":"\xad","Sigma":"\u03a3","sigma":"\u03c3","sigmaf":"\u03c2","sigmav":"\u03c2","sim":"\u223c","simdot":"\u2a6a","sime":"\u2243","simeq":"\u2243","simg":"\u2a9e","simgE":"\u2aa0","siml":"\u2a9d","simlE":"\u2a9f","simne":"\u2246","simplus":"\u2a24","simrarr":"\u2972","slarr":"\u2190","SmallCircle":"\u2218","smallsetminus":"\u2216","smashp":"\u2a33","smeparsl":"\u29e4","smid":"\u2223","smile":"\u2323","smt":"\u2aaa","smte":"\u2aac","smtes":"\u2aac\ufe00","SOFTcy":"\u042c","softcy":"\u044c","solbar":"\u233f","solb":"\u29c4","sol":"/","Sopf":"\ud835\udd4a","sopf":"\ud835\udd64","spades":"\u2660","spadesuit":"\u2660","spar":"\u2225","sqcap":"\u2293","sqcaps":"\u2293\ufe00","sqcup":"\u2294","sqcups":"\u2294\ufe00","Sqrt":"\u221a","sqsub":"\u228f","sqsube":"\u2291","sqsubset":"\u228f","sqsubseteq":"\u2291","sqsup":"\u2290","sqsupe":"\u2292","sqsupset":"\u2290","sqsupseteq":"\u2292","square":"\u25a1","Square":"\u25a1","SquareIntersection":"\u2293","SquareSubset":"\u228f","SquareSubsetEqual":"\u2291","SquareSuperset":"\u2290","SquareSupersetEqual":"\u2292","SquareUnion":"\u2294","squarf":"\u25aa","squ":"\u25a1","squf":"\u25aa","srarr":"\u2192","Sscr":"\ud835\udcae","sscr":"\ud835\udcc8","ssetmn":"\u2216","ssmile":"\u2323","sstarf":"\u22c6","Star":"\u22c6","star":"\u2606","starf":"\u2605","straightepsilon":"\u03f5","straightphi":"\u03d5","strns":"\xaf","sub":"\u2282","Sub":"\u22d0","subdot":"\u2abd","subE":"\u2ac5","sube":"\u2286","subedot":"\u2ac3","submult":"\u2ac1","subnE":"\u2acb","subne":"\u228a","subplus":"\u2abf","subrarr":"\u2979","subset":"\u2282","Subset":"\u22d0","subseteq":"\u2286","subseteqq":"\u2ac5","SubsetEqual":"\u2286","subsetneq":"\u228a","subsetneqq":"\u2acb","subsim":"\u2ac7","subsub":"\u2ad5","subsup":"\u2ad3","succapprox":"\u2ab8","succ":"\u227b","succcurlyeq":"\u227d","Succeeds":"\u227b","SucceedsEqual":"\u2ab0","SucceedsSlantEqual":"\u227d","SucceedsTilde":"\u227f","succeq":"\u2ab0","succnapprox":"\u2aba","succneqq":"\u2ab6","succnsim":"\u22e9","succsim":"\u227f","SuchThat":"\u220b","sum":"\u2211","Sum":"\u2211","sung":"\u266a","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","sup":"\u2283","Sup":"\u22d1","supdot":"\u2abe","supdsub":"\u2ad8","supE":"\u2ac6","supe":"\u2287","supedot":"\u2ac4","Superset":"\u2283","SupersetEqual":"\u2287","suphsol":"\u27c9","suphsub":"\u2ad7","suplarr":"\u297b","supmult":"\u2ac2","supnE":"\u2acc","supne":"\u228b","supplus":"\u2ac0","supset":"\u2283","Supset":"\u22d1","supseteq":"\u2287","supseteqq":"\u2ac6","supsetneq":"\u228b","supsetneqq":"\u2acc","supsim":"\u2ac8","supsub":"\u2ad4","supsup":"\u2ad6","swarhk":"\u2926","swarr":"\u2199","swArr":"\u21d9","swarrow":"\u2199","swnwar":"\u292a","szlig":"\xdf","Tab":"\\t","target":"\u2316","Tau":"\u03a4","tau":"\u03c4","tbrk":"\u23b4","Tcaron":"\u0164","tcaron":"\u0165","Tcedil":"\u0162","tcedil":"\u0163","Tcy":"\u0422","tcy":"\u0442","tdot":"\u20db","telrec":"\u2315","Tfr":"\ud835\udd17","tfr":"\ud835\udd31","there4":"\u2234","therefore":"\u2234","Therefore":"\u2234","Theta":"\u0398","theta":"\u03b8","thetasym":"\u03d1","thetav":"\u03d1","thickapprox":"\u2248","thicksim":"\u223c","ThickSpace":"\u205f\u200a","ThinSpace":"\u2009","thinsp":"\u2009","thkap":"\u2248","thksim":"\u223c","THORN":"\xde","thorn":"\xfe","tilde":"\u02dc","Tilde":"\u223c","TildeEqual":"\u2243","TildeFullEqual":"\u2245","TildeTilde":"\u2248","timesbar":"\u2a31","timesb":"\u22a0","times":"\xd7","timesd":"\u2a30","tint":"\u222d","toea":"\u2928","topbot":"\u2336","topcir":"\u2af1","top":"\u22a4","Topf":"\ud835\udd4b","topf":"\ud835\udd65","topfork":"\u2ada","tosa":"\u2929","tprime":"\u2034","trade":"\u2122","TRADE":"\u2122","triangle":"\u25b5","triangledown":"\u25bf","triangleleft":"\u25c3","trianglelefteq":"\u22b4","triangleq":"\u225c","triangleright":"\u25b9","trianglerighteq":"\u22b5","tridot":"\u25ec","trie":"\u225c","triminus":"\u2a3a","TripleDot":"\u20db","triplus":"\u2a39","trisb":"\u29cd","tritime":"\u2a3b","trpezium":"\u23e2","Tscr":"\ud835\udcaf","tscr":"\ud835\udcc9","TScy":"\u0426","tscy":"\u0446","TSHcy":"\u040b","tshcy":"\u045b","Tstrok":"\u0166","tstrok":"\u0167","twixt":"\u226c","twoheadleftarrow":"\u219e","twoheadrightarrow":"\u21a0","Uacute":"\xda","uacute":"\xfa","uarr":"\u2191","Uarr":"\u219f","uArr":"\u21d1","Uarrocir":"\u2949","Ubrcy":"\u040e","ubrcy":"\u045e","Ubreve":"\u016c","ubreve":"\u016d","Ucirc":"\xdb","ucirc":"\xfb","Ucy":"\u0423","ucy":"\u0443","udarr":"\u21c5","Udblac":"\u0170","udblac":"\u0171","udhar":"\u296e","ufisht":"\u297e","Ufr":"\ud835\udd18","ufr":"\ud835\udd32","Ugrave":"\xd9","ugrave":"\xf9","uHar":"\u2963","uharl":"\u21bf","uharr":"\u21be","uhblk":"\u2580","ulcorn":"\u231c","ulcorner":"\u231c","ulcrop":"\u230f","ultri":"\u25f8","Umacr":"\u016a","umacr":"\u016b","uml":"\xa8","UnderBar":"_","UnderBrace":"\u23df","UnderBracket":"\u23b5","UnderParenthesis":"\u23dd","Union":"\u22c3","UnionPlus":"\u228e","Uogon":"\u0172","uogon":"\u0173","Uopf":"\ud835\udd4c","uopf":"\ud835\udd66","UpArrowBar":"\u2912","uparrow":"\u2191","UpArrow":"\u2191","Uparrow":"\u21d1","UpArrowDownArrow":"\u21c5","updownarrow":"\u2195","UpDownArrow":"\u2195","Updownarrow":"\u21d5","UpEquilibrium":"\u296e","upharpoonleft":"\u21bf","upharpoonright":"\u21be","uplus":"\u228e","UpperLeftArrow":"\u2196","UpperRightArrow":"\u2197","upsi":"\u03c5","Upsi":"\u03d2","upsih":"\u03d2","Upsilon":"\u03a5","upsilon":"\u03c5","UpTeeArrow":"\u21a5","UpTee":"\u22a5","upuparrows":"\u21c8","urcorn":"\u231d","urcorner":"\u231d","urcrop":"\u230e","Uring":"\u016e","uring":"\u016f","urtri":"\u25f9","Uscr":"\ud835\udcb0","uscr":"\ud835\udcca","utdot":"\u22f0","Utilde":"\u0168","utilde":"\u0169","utri":"\u25b5","utrif":"\u25b4","uuarr":"\u21c8","Uuml":"\xdc","uuml":"\xfc","uwangle":"\u29a7","vangrt":"\u299c","varepsilon":"\u03f5","varkappa":"\u03f0","varnothing":"\u2205","varphi":"\u03d5","varpi":"\u03d6","varpropto":"\u221d","varr":"\u2195","vArr":"\u21d5","varrho":"\u03f1","varsigma":"\u03c2","varsubsetneq":"\u228a\ufe00","varsubsetneqq":"\u2acb\ufe00","varsupsetneq":"\u228b\ufe00","varsupsetneqq":"\u2acc\ufe00","vartheta":"\u03d1","vartriangleleft":"\u22b2","vartriangleright":"\u22b3","vBar":"\u2ae8","Vbar":"\u2aeb","vBarv":"\u2ae9","Vcy":"\u0412","vcy":"\u0432","vdash":"\u22a2","vDash":"\u22a8","Vdash":"\u22a9","VDash":"\u22ab","Vdashl":"\u2ae6","veebar":"\u22bb","vee":"\u2228","Vee":"\u22c1","veeeq":"\u225a","vellip":"\u22ee","verbar":"|","Verbar":"\u2016","vert":"|","Vert":"\u2016","VerticalBar":"\u2223","VerticalLine":"|","VerticalSeparator":"\u2758","VerticalTilde":"\u2240","VeryThinSpace":"\u200a","Vfr":"\ud835\udd19","vfr":"\ud835\udd33","vltri":"\u22b2","vnsub":"\u2282\u20d2","vnsup":"\u2283\u20d2","Vopf":"\ud835\udd4d","vopf":"\ud835\udd67","vprop":"\u221d","vrtri":"\u22b3","Vscr":"\ud835\udcb1","vscr":"\ud835\udccb","vsubnE":"\u2acb\ufe00","vsubne":"\u228a\ufe00","vsupnE":"\u2acc\ufe00","vsupne":"\u228b\ufe00","Vvdash":"\u22aa","vzigzag":"\u299a","Wcirc":"\u0174","wcirc":"\u0175","wedbar":"\u2a5f","wedge":"\u2227","Wedge":"\u22c0","wedgeq":"\u2259","weierp":"\u2118","Wfr":"\ud835\udd1a","wfr":"\ud835\udd34","Wopf":"\ud835\udd4e","wopf":"\ud835\udd68","wp":"\u2118","wr":"\u2240","wreath":"\u2240","Wscr":"\ud835\udcb2","wscr":"\ud835\udccc","xcap":"\u22c2","xcirc":"\u25ef","xcup":"\u22c3","xdtri":"\u25bd","Xfr":"\ud835\udd1b","xfr":"\ud835\udd35","xharr":"\u27f7","xhArr":"\u27fa","Xi":"\u039e","xi":"\u03be","xlarr":"\u27f5","xlArr":"\u27f8","xmap":"\u27fc","xnis":"\u22fb","xodot":"\u2a00","Xopf":"\ud835\udd4f","xopf":"\ud835\udd69","xoplus":"\u2a01","xotime":"\u2a02","xrarr":"\u27f6","xrArr":"\u27f9","Xscr":"\ud835\udcb3","xscr":"\ud835\udccd","xsqcup":"\u2a06","xuplus":"\u2a04","xutri":"\u25b3","xvee":"\u22c1","xwedge":"\u22c0","Yacute":"\xdd","yacute":"\xfd","YAcy":"\u042f","yacy":"\u044f","Ycirc":"\u0176","ycirc":"\u0177","Ycy":"\u042b","ycy":"\u044b","yen":"\xa5","Yfr":"\ud835\udd1c","yfr":"\ud835\udd36","YIcy":"\u0407","yicy":"\u0457","Yopf":"\ud835\udd50","yopf":"\ud835\udd6a","Yscr":"\ud835\udcb4","yscr":"\ud835\udcce","YUcy":"\u042e","yucy":"\u044e","yuml":"\xff","Yuml":"\u0178","Zacute":"\u0179","zacute":"\u017a","Zcaron":"\u017d","zcaron":"\u017e","Zcy":"\u0417","zcy":"\u0437","Zdot":"\u017b","zdot":"\u017c","zeetrf":"\u2128","ZeroWidthSpace":"\u200b","Zeta":"\u0396","zeta":"\u03b6","zfr":"\ud835\udd37","Zfr":"\u2128","ZHcy":"\u0416","zhcy":"\u0436","zigrarr":"\u21dd","zopf":"\ud835\udd6b","Zopf":"\u2124","Zscr":"\ud835\udcb5","zscr":"\ud835\udccf","zwj":"\u200d","zwnj":"\u200c"}')}},function(t){t(t.s=56791)}])}(); \ No newline at end of file diff --git a/main-es5.728826181a286a68e2c3.js b/main-es5.728826181a286a68e2c3.js deleted file mode 100644 index 7c4d0be83..000000000 --- a/main-es5.728826181a286a68e2c3.js +++ /dev/null @@ -1 +0,0 @@ -!function(){function t(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t=function(){return n};var e,n={},r=Object.prototype,i=r.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},a="function"==typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(e){l=function(t,e,n){return t[e]=n}}function h(t,e,n,r){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),s=new A(r||[]);return o(a,"_invoke",{value:M(t,n,s)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}n.wrap=h;var d="suspendedStart",p="executing",v="completed",g={};function m(){}function y(){}function _(){}var b={};l(b,s,function(){return this});var k=Object.getPrototypeOf,w=k&&k(k(T([])));w&&w!==r&&i.call(w,s)&&(b=w);var C=_.prototype=m.prototype=Object.create(b);function x(t){["next","throw","return"].forEach(function(e){l(t,e,function(t){return this._invoke(e,t)})})}function O(t,e){function n(r,o,a,s){var u=f(t[r],t,o);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&i.call(l,"__await")?e.resolve(l.__await).then(function(t){n("next",t,a,s)},function(t){n("throw",t,a,s)}):e.resolve(l).then(function(t){c.value=t,a(c)},function(t){return n("throw",t,a,s)})}s(u.arg)}var r;o(this,"_invoke",{value:function(t,i){function o(){return new e(function(e,r){n(t,i,e,r)})}return r=r?r.then(o,o):o()}})}function M(t,n,r){var i=d;return function(o,a){if(i===p)throw new Error("Generator is already running");if(i===v){if("throw"===o)throw a;return{value:e,done:!0}}for(r.method=o,r.arg=a;;){var s=r.delegate;if(s){var u=S(s,r);if(u){if(u===g)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===d)throw i=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=p;var c=f(t,n,r);if("normal"===c.type){if(i=r.done?v:"suspendedYield",c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(i=v,r.method="throw",r.arg=c.arg)}}}function S(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,S(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=f(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var a=o.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function P(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 E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function T(t){if(t||""===t){var n=t[s];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function n(){for(;++r=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),c=i.call(a,"finallyLoc");if(u&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),E(n),g}},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 i=r.arg;E(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:T(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},n}function e(t,e,n){return(e=m(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function n(t){var e="function"==typeof Map?new Map:void 0;return n=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,i)}function i(){return r(t,arguments,f(this).constructor)}return i.prototype=Object.create(t.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),s(i,t)},n(t)}function r(t,e,n){return r=h()?Reflect.construct.bind():function(t,e,n){var r=[null];r.push.apply(r,e);var i=new(Function.bind.apply(t,r));return n&&s(i,n.prototype),i},r.apply(null,arguments)}function i(){return i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=o(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(arguments.length<3?t:n):i.value}},i.apply(this,arguments)}function o(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=f(t)););return t}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&s(t,e)}function s(t,e){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},s(t,e)}function u(t){var e=h();return function(){var n,r=f(t);if(e){var i=f(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return l(t)}function l(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function f(t){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},f(t)}function d(t){return function(t){if(Array.isArray(t))return k(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||b(t)||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 p(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,s=[],u=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=o.call(n)).done)&&(s.push(r.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(t,e)||b(t,e)||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 v(t,e){for(var n=0;n=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}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 o,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function b(t,e){if(t){if("string"==typeof t)return k(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?k(t,e):void 0}}function k(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:e,timings:t}}function u(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:t,options:e}}function c(t){return{type:6,styles:t,offset:null}}function l(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:t,animation:e,options:n}}function h(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return{type:9,options:t}}function f(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:11,selector:t,animation:e,options:n}}function d(t,e){return{type:12,timings:t,animation:e}}function p(t){Promise.resolve(null).then(t)}var v=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;y(this,t),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+n}return g(t,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"hasStarted",value:function(){return this._started}},{key:"init",value:function(){}},{key:"play",value:function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}},{key:"triggerMicrotask",value:function(){var t=this;p(function(){return t._onFinish()})}},{key:"_onStart",value:function(){this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[]}},{key:"pause",value:function(){}},{key:"restart",value:function(){}},{key:"finish",value:function(){this._onFinish()}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this._started=!1}},{key:"setPosition",value:function(t){this._position=this.totalTime?t*this.totalTime:1}},{key:"getPosition",value:function(){return this.totalTime?this._position/this.totalTime:1}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0}}]),t}(),m=function(){function t(e){var n=this;y(this,t),this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;var r=0,i=0,o=0,a=this.players.length;0==a?p(function(){return n._onFinish()}):this.players.forEach(function(t){t.onDone(function(){++r==a&&n._onFinish()}),t.onDestroy(function(){++i==a&&n._onDestroy()}),t.onStart(function(){++o==a&&n._onStart()})}),this.totalTime=this.players.reduce(function(t,e){return Math.max(t,e.totalTime)},0)}return g(t,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach(function(t){return t.init()})}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[])}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(t){return t.play()})}},{key:"pause",value:function(){this.players.forEach(function(t){return t.pause()})}},{key:"restart",value:function(){this.players.forEach(function(t){return t.restart()})}},{key:"finish",value:function(){this._onFinish(),this.players.forEach(function(t){return t.finish()})}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(t){return t.destroy()}),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach(function(t){return t.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(t){var e=t*this.totalTime;this.players.forEach(function(t){var n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}},{key:"getPosition",value:function(){var t=this.players.reduce(function(t,e){return null===t||e.totalTime>t.totalTime?e:t},null);return null!=t?t.getPosition():0}},{key:"beforeDestroy",value:function(){this.players.forEach(function(t){t.beforeDestroy&&t.beforeDestroy()})}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0}}]),t}(),_="!"},79221:function(t,e,n){"use strict";n.d(e,{Vi:function(){return z},Th:function(){return fe},NH:function(){return It},uL:function(){return Pe},nV:function(){return N},DT:function(){return Ae},Ar:function(){return Dt},QN:function(){return Te}});var r=n(56083),o=n(74788);function s(){return"undefined"!=typeof window&&void 0!==window.document}function c(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function l(t){switch(t.length){case 0:return new r.ZN;case 1:return t[0];default:return new r.ZE(t)}}function h(t,e,n,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=[],u=[],c=-1,l=null;if(i.forEach(function(t){var n=t.offset,i=n==c,h=i&&l||{};Object.keys(t).forEach(function(n){var i=n,u=t[n];if("offset"!==n)switch(i=e.normalizePropertyName(i,s),u){case r.k1:u=o[n];break;case r.l3:u=a[n];break;default:u=e.normalizeStyleValue(n,i,u,s)}h[i]=u}),i||u.push(h),l=h,c=n}),s.length){var h="\n - ";throw new Error("Unable to animate due to the following errors:".concat(h).concat(s.join(h)))}return u}function v(t,e,n,r){switch(e){case"start":t.onStart(function(){return r(n&&m(n,"start",t))});break;case"done":t.onDone(function(){return r(n&&m(n,"done",t))});break;case"destroy":t.onDestroy(function(){return r(n&&m(n,"destroy",t))})}}function m(t,e,n){var r=n.totalTime,i=b(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==r?t.totalTime:r,!!n.disabled),o=t._data;return null!=o&&(i._data=o),i}function b(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,a=arguments.length>6?arguments[6]:void 0;return{element:t,triggerName:e,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!a}}function k(t,e,n){var r;return t instanceof Map?(r=t.get(e))||t.set(e,r=n):(r=t[e])||(r=t[e]=n),r}function w(t){var e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}var C=function(t,e){return!1},x=function(t,e){return!1},O=function(t,e,n){return[]},M=c();(M||"undefined"!=typeof Element)&&(C=s()?function(t,e){for(;e&&e!==document.documentElement;){if(e===t)return!0;e=e.parentNode||e.host}return!1}:function(t,e){return t.contains(e)},x=function(){if(M||Element.prototype.matches)return function(t,e){return t.matches(e)};var t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?function(t,n){return e.apply(t,[n])}:x}(),O=function(t,e,n){var r=[];if(n)for(var i=t.querySelectorAll(e),o=0;o1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).forEach(function(n){e[n]=t[n]}),e}function G(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e)for(var r in t)n[r]=t[r];else H(t,n);return n}function J(t,e,n){return n?e+":"+n+";":""}function X(t){for(var e="",n=0;n *";case":leave":return"* => void";case":increment":return function(t,e){return parseFloat(e)>parseFloat(t)};case":decrement":return function(t,e){return parseFloat(e) *"}}(t,n);if("function"==typeof r)return void e.push(r);t=r}var i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push('The provided transition expression "'.concat(t,'" is not supported')),e;var o=i[1],a=i[2],s=i[3];e.push(dt(o,s)),"<"==a[0]&&("*"!=o||"*"!=s)&&e.push(dt(s,o))}(t,n,e)}):n.push(t),n}var ht=new Set(["true","1"]),ft=new Set(["false","0"]);function dt(t,e){var n=ht.has(t)||ft.has(t),r=ht.has(e)||ft.has(e);return function(i,o){var a="*"==t||t==i,s="*"==e||e==o;return!a&&n&&"boolean"==typeof i&&(a=i?ht.has(t):ft.has(t)),!s&&r&&"boolean"==typeof o&&(s=o?ht.has(e):ft.has(e)),a&&s}}var pt=new RegExp("s*:selfs*,?","g");function vt(t,e,n){return new gt(t).build(e,n)}var gt=function(){function t(e){y(this,t),this._driver=e}return g(t,[{key:"build",value:function(t,e){var n=new mt(e);return this._resetContextStyleTimingState(n),ut(this,W(t),n)}},{key:"_resetContextStyleTimingState",value:function(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}},{key:"visitTrigger",value:function(t,e){var n=this,r=e.queryCount=0,i=e.depCount=0,o=[],a=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(function(t){if(n._resetContextStyleTimingState(e),0==t.type){var s=t,u=s.name;u.toString().split(/\s*,\s*/).forEach(function(t){s.name=t,o.push(n.visitState(s,e))}),s.name=u}else if(1==t.type){var c=n.visitTransition(t,e);r+=c.queryCount,i+=c.depCount,a.push(c)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:o,transitions:a,queryCount:r,depCount:i,options:null}}},{key:"visitState",value:function(t,e){var n=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(n.containsDynamicStyles){var i=new Set,o=r||{};if(n.styles.forEach(function(t){if(yt(t)){var e=t;Object.keys(e).forEach(function(t){tt(e[t]).forEach(function(t){o.hasOwnProperty(t)||i.add(t)})})}}),i.size){var a=nt(i.values());e.errors.push('state("'.concat(t.name,'", ...) must define default values for all the following style substitutions: ').concat(a.join(", ")))}}return{type:0,name:t.name,style:n,options:r?{params:r}:null}}},{key:"visitTransition",value:function(t,e){e.queryCount=0,e.depCount=0;var n=ut(this,W(t.animation),e);return{type:1,matchers:lt(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:_t(t.options)}}},{key:"visitSequence",value:function(t,e){var n=this;return{type:2,steps:t.steps.map(function(t){return ut(n,t,e)}),options:_t(t.options)}}},{key:"visitGroup",value:function(t,e){var n=this,r=e.currentTime,i=0,o=t.steps.map(function(t){e.currentTime=r;var o=ut(n,t,e);return i=Math.max(i,e.currentTime),o});return e.currentTime=i,{type:3,steps:o,options:_t(t.options)}}},{key:"visitAnimate",value:function(t,e){var n=function(t,e){var n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return bt(U(t,e).duration,0,"");var r=t;if(r.split(/\s+/).some(function(t){return"{"==t.charAt(0)&&"{"==t.charAt(1)})){var i=bt(0,0,"");return i.dynamic=!0,i.strValue=r,i}return bt((n=n||U(r,e)).duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=n;var i,o=t.styles?t.styles:(0,r.oB)({});if(5==o.type)i=this.visitKeyframes(o,e);else{var a=t.styles,s=!1;if(!a){s=!0;var u={};n.easing&&(u.easing=n.easing),a=(0,r.oB)(u)}e.currentTime+=n.duration+n.delay;var c=this.visitStyle(a,e);c.isEmptyStep=s,i=c}return e.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}},{key:"visitStyle",value:function(t,e){var n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}},{key:"_makeStyleAst",value:function(t,e){var n=[];Array.isArray(t.styles)?t.styles.forEach(function(t){"string"==typeof t?t==r.l3?n.push(t):e.errors.push("The provided style string value ".concat(t," is not allowed.")):n.push(t)}):n.push(t.styles);var i=!1,o=null;return n.forEach(function(t){if(yt(t)){var e=t,n=e.easing;if(n&&(o=n,delete e.easing),!i)for(var r in e)if(e[r].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:o,offset:t.offset,containsDynamicStyles:i,options:null}}},{key:"_validateStyleAst",value:function(t,e){var n=this,r=e.currentAnimateTimings,i=e.currentTime,o=e.currentTime;r&&o>0&&(o-=r.duration+r.delay),t.styles.forEach(function(t){"string"!=typeof t&&Object.keys(t).forEach(function(r){if(n._driver.validateStyleProperty(r)){var a=e.collectedStyles[e.currentQuerySelector],s=a[r],u=!0;s&&(o!=i&&o>=s.startTime&&i<=s.endTime&&(e.errors.push('The CSS property "'.concat(r,'" that exists between the times of "').concat(s.startTime,'ms" and "').concat(s.endTime,'ms" is also being animated in a parallel animation between the times of "').concat(o,'ms" and "').concat(i,'ms"')),u=!1),o=s.startTime),u&&(a[r]={startTime:o,endTime:i}),e.options&&function(t,e,n){var r=e.params||{},i=tt(t);i.length&&i.forEach(function(t){r.hasOwnProperty(t)||n.push("Unable to resolve the local animation param ".concat(t," in the given list of values"))})}(t[r],e.options,e.errors)}else e.errors.push('The provided animation property "'.concat(r,'" is not a supported CSS property for animations'))})})}},{key:"visitKeyframes",value:function(t,e){var n=this,r={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),r;var i=0,o=[],a=!1,s=!1,u=0,c=t.steps.map(function(t){var r=n._makeStyleAst(t,e),c=null!=r.offset?r.offset:function(t){if("string"==typeof t)return null;var e=null;if(Array.isArray(t))t.forEach(function(t){if(yt(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}});else if(yt(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}return e}(r.styles),l=0;return null!=c&&(i++,l=r.offset=c),s=s||l<0||l>1,a=a||l0&&i0?i==f?1:h*i:o[i],s=a*v;e.currentTime=d+p.delay+s,p.duration=s,n._validateStyleAst(t,e),t.offset=a,r.styles.push(t)}),r}},{key:"visitReference",value:function(t,e){return{type:8,animation:ut(this,W(t.animation),e),options:_t(t.options)}}},{key:"visitAnimateChild",value:function(t,e){return e.depCount++,{type:9,options:_t(t.options)}}},{key:"visitAnimateRef",value:function(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:_t(t.options)}}},{key:"visitQuery",value:function(t,e){var n=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;var i=function(t){var e=!!t.split(/\s*,\s*/).find(function(t){return":self"==t});return e&&(t=t.replace(pt,"")),t=t.replace(/@\*/g,B).replace(/@\w+/g,function(t){return B+"-"+t.substr(1)}).replace(/:animating/g,Y),[t,e]}(t.selector),o=p(i,2),a=o[0],s=o[1];e.currentQuerySelector=n.length?n+" "+a:a,k(e.collectedStyles,e.currentQuerySelector,{});var u=ut(this,W(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:a,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:u,originalSelector:t.selector,options:_t(t.options)}}},{key:"visitStagger",value:function(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");var n="full"===t.timings?{duration:0,delay:0,easing:"full"}:U(t.timings,e.errors,!0);return{type:12,animation:ut(this,W(t.animation),e),timings:n,options:null}}}]),t}(),mt=g(function t(e){y(this,t),this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null});function yt(t){return!Array.isArray(t)&&"object"==typeof t}function _t(t){return t?(t=H(t)).params&&(t.params=function(t){return t?H(t):null}(t.params)):t={},t}function bt(t,e,n){return{duration:t,delay:e,easing:n}}function kt(t,e,n,r,i,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,s=arguments.length>7&&void 0!==arguments[7]&&arguments[7];return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:a,subTimeline:s}}var wt=function(){function t(){y(this,t),this._map=new Map}return g(t,[{key:"consume",value:function(t){var e=this._map.get(t);return e?this._map.delete(t):e=[],e}},{key:"append",value:function(t,e){var n,r=this._map.get(t);r||this._map.set(t,r=[]),(n=r).push.apply(n,d(e))}},{key:"has",value:function(t){return this._map.has(t)}},{key:"clear",value:function(){this._map.clear()}}]),t}(),Ct=new RegExp(":enter","g"),xt=new RegExp(":leave","g");function Ot(t,e,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},s=arguments.length>7?arguments[7]:void 0,u=arguments.length>8?arguments[8]:void 0,c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new Mt).buildKeyframes(t,e,n,r,i,o,a,s,u,c)}var Mt=function(){function t(){y(this,t)}return g(t,[{key:"buildKeyframes",value:function(t,e,n,r,i,o,a,s,u){var c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];u=u||new wt;var l=new Pt(t,e,u,r,i,c,[]);l.options=s,l.currentTimeline.setStyles([o],null,l.errors,s),ut(this,n,l);var h=l.timelines.filter(function(t){return t.containsAnimation()});if(h.length&&Object.keys(a).length){var f=h[h.length-1];f.allowOnlyTimelineStyles()||f.setStyles([a],null,l.errors,s)}return h.length?h.map(function(t){return t.buildKeyframes()}):[kt(e,[],[],[],0,0,"",!1)]}},{key:"visitTrigger",value:function(t,e){}},{key:"visitState",value:function(t,e){}},{key:"visitTransition",value:function(t,e){}},{key:"visitAnimateChild",value:function(t,e){var n=e.subInstructions.consume(e.element);if(n){var r=e.createSubContext(t.options),i=e.currentTimeline.currentTime,o=this._visitSubInstructions(n,r,r.options);i!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t}},{key:"visitAnimateRef",value:function(t,e){var n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}},{key:"_visitSubInstructions",value:function(t,e,n){var r=e.currentTimeline.currentTime,i=null!=n.duration?Z(n.duration):null,o=null!=n.delay?Z(n.delay):null;return 0!==i&&t.forEach(function(t){var n=e.appendInstructionToTimeline(t,i,o);r=Math.max(r,n.duration+n.delay)}),r}},{key:"visitReference",value:function(t,e){e.updateOptions(t.options,!0),ut(this,t.animation,e),e.previousNode=t}},{key:"visitSequence",value:function(t,e){var n=this,r=e.subContextCount,i=e,o=t.options;if(o&&(o.params||o.delay)&&((i=e.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=St);var a=Z(o.delay);i.delayNextStep(a)}t.steps.length&&(t.steps.forEach(function(t){return ut(n,t,i)}),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),e.previousNode=t}},{key:"visitGroup",value:function(t,e){var n=this,r=[],i=e.currentTimeline.currentTime,o=t.options&&t.options.delay?Z(t.options.delay):0;t.steps.forEach(function(a){var s=e.createSubContext(t.options);o&&s.delayNextStep(o),ut(n,a,s),i=Math.max(i,s.currentTimeline.currentTime),r.push(s.currentTimeline)}),r.forEach(function(t){return e.currentTimeline.mergeTimelineCollectedStyles(t)}),e.transformIntoNewTimeline(i),e.previousNode=t}},{key:"_visitTiming",value:function(t,e){if(t.dynamic){var n=t.strValue;return U(e.params?et(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}},{key:"visitAnimate",value:function(t,e){var n=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),r.snapshotCurrentStyles());var i=t.style;5==i.type?this.visitKeyframes(i,e):(e.incrementTime(n.duration),this.visitStyle(i,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}},{key:"visitStyle",value:function(t,e){var n=e.currentTimeline,r=e.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();var i=r&&r.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(i):n.setStyles(t.styles,i,e.errors,e.options),e.previousNode=t}},{key:"visitKeyframes",value:function(t,e){var n=e.currentAnimateTimings,r=e.currentTimeline.duration,i=n.duration,o=e.createSubContext().currentTimeline;o.easing=n.easing,t.styles.forEach(function(t){o.forwardTime((t.offset||0)*i),o.setStyles(t.styles,t.easing,e.errors,e.options),o.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(o),e.transformIntoNewTimeline(r+i),e.previousNode=t}},{key:"visitQuery",value:function(t,e){var n=this,r=e.currentTimeline.currentTime,i=t.options||{},o=i.delay?Z(i.delay):0;o&&(6===e.previousNode.type||0==r&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=St);var a=r,s=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=s.length;var u=null;s.forEach(function(r,i){e.currentQueryIndex=i;var s=e.createSubContext(t.options,r);o&&s.delayNextStep(o),r===e.element&&(u=s.currentTimeline),ut(n,t.animation,s),s.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,s.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),u&&(e.currentTimeline.mergeTimelineCollectedStyles(u),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}},{key:"visitStagger",value:function(t,e){var n=e.parentContext,r=e.currentTimeline,i=t.timings,o=Math.abs(i.duration),a=o*(e.currentQueryTotal-1),s=o*e.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":s=a-s;break;case"full":s=n.currentStaggerTime}var u=e.currentTimeline;s&&u.delayNextStep(s);var c=u.currentTime;ut(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=r.currentTime-c+(r.startTime-n.currentTimeline.startTime)}}]),t}(),St={},Pt=function(){function t(e,n,r,i,o,a,s,u){y(this,t),this._driver=e,this.element=n,this.subInstructions=r,this._enterClassName=i,this._leaveClassName=o,this.errors=a,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=St,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=u||new Et(this._driver,n,0),s.push(this.currentTimeline)}return g(t,[{key:"params",get:function(){return this.options.params}},{key:"updateOptions",value:function(t,e){var n=this;if(t){var r=t,i=this.options;null!=r.duration&&(i.duration=Z(r.duration)),null!=r.delay&&(i.delay=Z(r.delay));var o=r.params;if(o){var a=i.params;a||(a=this.options.params={}),Object.keys(o).forEach(function(t){(!e||!a.hasOwnProperty(t))&&(a[t]=et(o[t],a,n.errors))})}}}},{key:"_copyOptions",value:function(){var t={};if(this.options){var e=this.options.params;if(e){var n=t.params={};Object.keys(e).forEach(function(t){n[t]=e[t]})}}return t}},{key:"createSubContext",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,i=n||this.element,o=new t(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}},{key:"transformIntoNewTimeline",value:function(t){return this.previousNode=St,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(t,e,n){var r={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},i=new At(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(i),r}},{key:"incrementTime",value:function(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}},{key:"delayNextStep",value:function(t){t>0&&this.currentTimeline.delayNextStep(t)}},{key:"invokeQuery",value:function(t,e,n,r,i,o){var a=[];if(r&&a.push(this.element),t.length>0){t=(t=t.replace(Ct,"."+this._enterClassName)).replace(xt,"."+this._leaveClassName);var s=this._driver.query(this.element,t,1!=n);0!==n&&(s=n<0?s.slice(s.length+n,s.length):s.slice(0,n)),a.push.apply(a,d(s))}return!i&&0==a.length&&o.push('`query("'.concat(e,'")` returned zero elements. (Use `query("').concat(e,'", { optional: true })` if you wish to allow this.)')),a}}]),t}(),Et=function(){function t(e,n,r,i){y(this,t),this._driver=e,this.element=n,this.startTime=r,this._elementTimelineStylesLookup=i,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}return g(t,[{key:"containsAnimation",value:function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}},{key:"getCurrentStyleProperties",value:function(){return Object.keys(this._currentKeyframe)}},{key:"currentTime",get:function(){return this.startTime+this.duration}},{key:"delayNextStep",value:function(t){var e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}},{key:"fork",value:function(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,n||this.currentTime,this._elementTimelineStylesLookup)}},{key:"_loadKeyframe",value:function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}},{key:"forwardFrame",value:function(){this.duration+=1,this._loadKeyframe()}},{key:"forwardTime",value:function(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}},{key:"_updateStyle",value:function(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}},{key:"allowOnlyTimelineStyles",value:function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}},{key:"applyEmptyStep",value:function(t){var e=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(function(t){e._backFill[t]=e._globalTimelineStyles[t]||r.l3,e._currentKeyframe[t]=r.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(t,e,n,i){var o=this;e&&(this._previousKeyframe.easing=e);var a=i&&i.params||{},s=function(t,e){var n,i={};return t.forEach(function(t){"*"===t?(n=n||Object.keys(e)).forEach(function(t){i[t]=r.l3}):G(t,!1,i)}),i}(t,this._globalTimelineStyles);Object.keys(s).forEach(function(t){var e=et(s[t],a,n);o._pendingStyles[t]=e,o._localTimelineStyles.hasOwnProperty(t)||(o._backFill[t]=o._globalTimelineStyles.hasOwnProperty(t)?o._globalTimelineStyles[t]:r.l3),o._updateStyle(t,e)})}},{key:"applyStylesToKeyframe",value:function(){var t=this,e=this._pendingStyles,n=Object.keys(e);0!=n.length&&(this._pendingStyles={},n.forEach(function(n){t._currentKeyframe[n]=e[n]}),Object.keys(this._localTimelineStyles).forEach(function(e){t._currentKeyframe.hasOwnProperty(e)||(t._currentKeyframe[e]=t._localTimelineStyles[e])}))}},{key:"snapshotCurrentStyles",value:function(){var t=this;Object.keys(this._localTimelineStyles).forEach(function(e){var n=t._localTimelineStyles[e];t._pendingStyles[e]=n,t._updateStyle(e,n)})}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"properties",get:function(){var t=[];for(var e in this._currentKeyframe)t.push(e);return t}},{key:"mergeTimelineCollectedStyles",value:function(t){var e=this;Object.keys(t._styleSummary).forEach(function(n){var r=e._styleSummary[n],i=t._styleSummary[n];(!r||i.time>r.time)&&e._updateStyle(n,i.value)})}},{key:"buildKeyframes",value:function(){var t=this;this.applyStylesToKeyframe();var e=new Set,n=new Set,i=1===this._keyframes.size&&0===this.duration,o=[];this._keyframes.forEach(function(a,s){var u=G(a,!0);Object.keys(u).forEach(function(t){var i=u[t];i==r.k1?e.add(t):i==r.l3&&n.add(t)}),i||(u.offset=s/t.duration),o.push(u)});var a=e.size?nt(e.values()):[],s=n.size?nt(n.values()):[];if(i){var u=o[0],c=H(u);u.offset=0,c.offset=1,o=[u,c]}return kt(this.element,o,a,s,this.duration,this.startTime,this.easing,!1)}}]),t}(),At=function(t){a(n,t);var e=u(n);function n(t,r,i,o,a,s){var u,c=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return y(this,n),(u=e.call(this,t,r,s.delay)).keyframes=i,u.preStyleProps=o,u.postStyleProps=a,u._stretchStartingKeyframe=c,u.timings={duration:s.duration,delay:s.delay,easing:s.easing},u}return g(n,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var t=this.keyframes,e=this.timings,n=e.delay,r=e.duration,i=e.easing;if(this._stretchStartingKeyframe&&n){var o=[],a=r+n,s=n/a,u=G(t[0],!1);u.offset=0,o.push(u);var c=G(t[0],!1);c.offset=Tt(s),o.push(c);for(var l=t.length-1,h=1;h<=l;h++){var f=G(t[h],!1);f.offset=Tt((n+f.offset*r)/a),o.push(f)}r=a,n=0,i="",t=o}return kt(this.element,t,this.preStyleProps,this.postStyleProps,r,n,i,!0)}}]),n}(Et);function Tt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=Math.pow(10,e-1);return Math.round(t*n)/n}var It=g(function t(){y(this,t)}),Dt=function(t){a(n,t);var e=u(n);function n(){return y(this,n),e.apply(this,arguments)}return g(n,[{key:"normalizePropertyName",value:function(t,e){return it(t)}},{key:"normalizeStyleValue",value:function(t,e,n,r){var i="",o=n.toString().trim();if(Lt[e]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{var a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push("Please provide a CSS unit value for ".concat(t,":").concat(n))}return o+i}}]),n}(It),Lt=function(t){var e={};return t.forEach(function(t){return e[t]=!0}),e}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","));function Nt(t,e,n,r,i,o,a,s,u,c,l,h,f){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:a,timelines:s,queriedElements:u,preStyleProps:c,postStyleProps:l,totalTime:h,errors:f}}var zt={},Ft=function(){function t(e,n,r){y(this,t),this._triggerName=e,this.ast=n,this._stateStyles=r}return g(t,[{key:"match",value:function(t,e,n,r){return function(t,e,n,r,i){return t.some(function(t){return t(e,n,r,i)})}(this.ast.matchers,t,e,n,r)}},{key:"buildStyles",value:function(t,e,n){var r=this._stateStyles["*"],i=this._stateStyles[t],o=r?r.buildStyles(e,n):{};return i?i.buildStyles(e,n):o}},{key:"build",value:function(t,e,n,r,i,o,a,s,u,c){var l=[],h=this.ast.options&&this.ast.options.params||zt,f=this.buildStyles(n,a&&a.params||zt,l),d=s&&s.params||zt,p=this.buildStyles(r,d,l),v=new Set,g=new Map,m=new Map,y="void"===r,_={params:Object.assign(Object.assign({},h),d)},b=c?[]:Ot(t,e,this.ast.animation,i,o,f,p,_,u,l),w=0;if(b.forEach(function(t){w=Math.max(t.duration+t.delay,w)}),l.length)return Nt(e,this._triggerName,n,r,y,f,p,[],[],g,m,w,l);b.forEach(function(t){var n=t.element,r=k(g,n,{});t.preStyleProps.forEach(function(t){return r[t]=!0});var i=k(m,n,{});t.postStyleProps.forEach(function(t){return i[t]=!0}),n!==e&&v.add(n)});var C=nt(v.values());return Nt(e,this._triggerName,n,r,y,f,p,b,C,g,m,w)}}]),t}(),Rt=function(){function t(e,n,r){y(this,t),this.styles=e,this.defaultParams=n,this.normalizer=r}return g(t,[{key:"buildStyles",value:function(t,e){var n=this,r={},i=H(this.defaultParams);return Object.keys(t).forEach(function(e){var n=t[e];null!=n&&(i[e]=n)}),this.styles.styles.forEach(function(t){if("string"!=typeof t){var o=t;Object.keys(o).forEach(function(t){var a=o[t];a.length>1&&(a=et(a,i,e));var s=n.normalizer.normalizePropertyName(t,e);a=n.normalizer.normalizeStyleValue(t,s,a,e),r[s]=a})}}),r}}]),t}(),jt=function(){function t(e,n,r){var i=this;y(this,t),this.name=e,this.ast=n,this._normalizer=r,this.transitionFactories=[],this.states={},n.states.forEach(function(t){i.states[t.name]=new Rt(t.style,t.options&&t.options.params||{},r)}),Bt(this.states,"true","1"),Bt(this.states,"false","0"),n.transitions.forEach(function(t){i.transitionFactories.push(new Ft(e,t,i.states))}),this.fallbackTransition=function(t,e,n){return new Ft(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(t,e){return!0}],options:null,queryCount:0,depCount:0},e)}(e,this.states)}return g(t,[{key:"containsQueries",get:function(){return this.ast.queryCount>0}},{key:"matchTransition",value:function(t,e,n,r){return this.transitionFactories.find(function(i){return i.match(t,e,n,r)})||null}},{key:"matchStyles",value:function(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}]),t}();function Bt(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}var Vt=new wt,Yt=function(){function t(e,n,r){y(this,t),this.bodyNode=e,this._driver=n,this._normalizer=r,this._animations={},this._playersById={},this.players=[]}return g(t,[{key:"register",value:function(t,e){var n=[],r=vt(this._driver,e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: ".concat(n.join("\n")));this._animations[t]=r}},{key:"_buildPlayer",value:function(t,e,n){var r=t.element,i=h(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(r,i,t.duration,t.delay,t.easing,[],!0)}},{key:"create",value:function(t,e){var n,i=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=[],s=this._animations[t],u=new Map;if(s?(n=Ot(this._driver,e,s,F,R,{},{},o,Vt,a)).forEach(function(t){var e=k(u,t.element,{});t.postStyleProps.forEach(function(t){return e[t]=null})}):(a.push("The requested animation doesn't exist or has already been destroyed"),n=[]),a.length)throw new Error("Unable to create the animation due to the following errors: ".concat(a.join("\n")));u.forEach(function(t,e){Object.keys(t).forEach(function(n){t[n]=i._driver.computeStyle(e,n,r.l3)})});var c=l(n.map(function(t){var e=u.get(t.element);return i._buildPlayer(t,{},e)}));return this._playersById[t]=c,c.onDestroy(function(){return i.destroy(t)}),this.players.push(c),c}},{key:"destroy",value:function(t){var e=this._getPlayer(t);e.destroy(),delete this._playersById[t];var n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}},{key:"_getPlayer",value:function(t){var e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by ".concat(t));return e}},{key:"listen",value:function(t,e,n,r){var i=b(e,"","","");return v(this._getPlayer(t),n,i,r),function(){}}},{key:"command",value:function(t,e,n,r){if("register"!=n)if("create"!=n){var i=this._getPlayer(t);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}else this.create(t,e,r[0]||{});else this.register(t,r[0])}}]),t}(),Zt="ng-animate-queued",qt="ng-animate-disabled",Ut=".ng-animate-disabled",Ht=[],Gt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Jt={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Xt="__ng_removed",$t=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";y(this,t),this.namespaceId=n;var r,i=e&&e.hasOwnProperty("value");if(this.value=null!=(r=i?e.value:e)?r:null,i){var o=H(e);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}return g(t,[{key:"params",get:function(){return this.options.params}},{key:"absorbOptions",value:function(t){var e=t.params;if(e){var n=this.options.params;Object.keys(e).forEach(function(t){null==n[t]&&(n[t]=e[t])})}}}]),t}(),Qt="void",Wt=new $t(Qt),Kt=function(){function t(e,n,r){y(this,t),this.id=e,this.hostElement=n,this._engine=r,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,se(n,this._hostClassName)}return g(t,[{key:"listen",value:function(t,e,n,r){var i,o=this;if(!this._triggers.hasOwnProperty(e))throw new Error('Unable to listen on the animation trigger event "'.concat(n,'" because the animation trigger "').concat(e,"\" doesn't exist!"));if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'.concat(e,'" because the provided event is undefined!'));if("start"!=(i=n)&&"done"!=i)throw new Error('The provided animation trigger event "'.concat(n,'" for the animation trigger "').concat(e,'" is not supported!'));var a=k(this._elementListeners,t,[]),s={name:e,phase:n,callback:r};a.push(s);var u=k(this._engine.statesByElement,t,{});return u.hasOwnProperty(e)||(se(t,j),se(t,j+"-"+e),u[e]=Wt),function(){o._engine.afterFlush(function(){var t=a.indexOf(s);t>=0&&a.splice(t,1),o._triggers[e]||delete u[e]})}}},{key:"register",value:function(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}},{key:"_getTrigger",value:function(t){var e=this._triggers[t];if(!e)throw new Error('The provided animation trigger "'.concat(t,'" has not been registered!'));return e}},{key:"trigger",value:function(t,e,n){var r=this,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=this._getTrigger(e),a=new ee(this.id,e,t),s=this._engine.statesByElement.get(t);s||(se(t,j),se(t,j+"-"+e),this._engine.statesByElement.set(t,s={}));var u=s[e],c=new $t(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&u&&c.absorbOptions(u.options),s[e]=c,u||(u=Wt),c.value===Qt||u.value!==c.value){var l=k(this._engine.playersByElement,t,[]);l.forEach(function(t){t.namespaceId==r.id&&t.triggerName==e&&t.queued&&t.destroy()});var h=o.matchTransition(u.value,c.value,t,c.params),f=!1;if(!h){if(!i)return;h=o.fallbackTransition,f=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:h,fromState:u,toState:c,player:a,isFallbackTransition:f}),f||(se(t,Zt),a.onStart(function(){ue(t,Zt)})),a.onDone(function(){var e=r.players.indexOf(a);e>=0&&r.players.splice(e,1);var n=r._engine.playersByElement.get(t);if(n){var i=n.indexOf(a);i>=0&&n.splice(i,1)}}),this.players.push(a),l.push(a),a}if(!function(t,e){var n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(var i=0;i=0){for(var r=!1,i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,e)){this._namespaceList.splice(i+1,0,t),r=!0;break}r||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}},{key:"register",value:function(t,e){var n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}},{key:"registerTrigger",value:function(t,e,n){var r=this._namespaceLookup[t];r&&r.register(e,n)&&this.totalAnimations++}},{key:"destroy",value:function(t,e){var n=this;if(t){var r=this._fetchNamespace(t);this.afterFlush(function(){n.namespacesByHostElement.delete(r.hostElement),delete n._namespaceLookup[t];var e=n._namespaceList.indexOf(r);e>=0&&n._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(function(){return r.destroy(e)})}}},{key:"_fetchNamespace",value:function(t){return this._namespaceLookup[t]}},{key:"fetchNamespacesByElement",value:function(t){var e=new Set,n=this.statesByElement.get(t);if(n)for(var r=Object.keys(n),i=0;i=0&&this.collectedLeaveElements.splice(o,1)}if(t){var a=this._fetchNamespace(t);a&&a.insertNode(e,n)}r&&this.collectEnterElement(e)}}},{key:"collectEnterElement",value:function(t){this.collectedEnterElements.push(t)}},{key:"markElementAsDisabled",value:function(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),se(t,qt)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),ue(t,qt))}},{key:"removeNode",value:function(t,e,n,r){if(ne(e)){var i=t?this._fetchNamespace(t):null;if(i?i.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),n){var o=this.namespacesByHostElement.get(e);o&&o.id!==t&&o.removeNode(e,r)}}else this._onRemovalComplete(e,r)}},{key:"markElementAsRemoved",value:function(t,e,n,r){this.collectedLeaveElements.push(e),e[Xt]={namespaceId:t,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}}},{key:"listen",value:function(t,e,n,r,i){return ne(e)?this._fetchNamespace(t).listen(e,n,r,i):function(){}}},{key:"_buildInstruction",value:function(t,e,n,r,i){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,r,t.fromState.options,t.toState.options,e,i)}},{key:"destroyInnerAnimations",value:function(t){var e=this,n=this.driver.query(t,B,!0);n.forEach(function(t){return e.destroyActiveAnimationsForElement(t)}),0!=this.playersByQueriedElement.size&&(n=this.driver.query(t,Y,!0)).forEach(function(t){return e.finishActiveQueriedAnimationOnElement(t)})}},{key:"destroyActiveAnimationsForElement",value:function(t){var e=this.playersByElement.get(t);e&&e.forEach(function(t){t.queued?t.markedForDestroy=!0:t.destroy()})}},{key:"finishActiveQueriedAnimationOnElement",value:function(t){var e=this.playersByQueriedElement.get(t);e&&e.forEach(function(t){return t.finish()})}},{key:"whenRenderingDone",value:function(){var t=this;return new Promise(function(e){if(t.players.length)return l(t.players).onDone(function(){return e()});e()})}},{key:"processLeaveNode",value:function(t){var e=this,n=t[Xt];if(n&&n.setForRemoval){if(t[Xt]=Gt,n.namespaceId){this.destroyInnerAnimations(t);var r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(t)}this._onRemovalComplete(t,n.setForRemoval)}this.driver.matchesElement(t,Ut)&&this.markElementAsDisabled(t,!1),this.driver.query(t,Ut,!0).forEach(function(t){e.markElementAsDisabled(t,!1)})}},{key:"flush",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,n=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(e,n){return t._balanceNamespaceList(e,n)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var r=0;r=0;A--)this._namespaceList[A].drainQueuedTransitions(e).forEach(function(t){var e=t.player,r=t.element;if(P.push(e),n.collectedEnterElements.length){var a=r[Xt];if(a&&a.setForMove)return void e.destroy()}var l=!p||!n.driver.containsElement(p,r),f=M.get(r),d=m.get(r),v=n._buildInstruction(t,i,d,f,l);if(v.errors&&v.errors.length)E.push(v);else{if(l)return e.onStart(function(){return Q(r,v.fromStyles)}),e.onDestroy(function(){return $(r,v.toStyles)}),void o.push(e);if(t.isFallbackTransition)return e.onStart(function(){return Q(r,v.fromStyles)}),e.onDestroy(function(){return $(r,v.toStyles)}),void o.push(e);v.timelines.forEach(function(t){return t.stretchStartingKeyframe=!0}),i.append(r,v.timelines),s.push({instruction:v,player:e,element:r}),v.queriedElements.forEach(function(t){return k(u,t,[]).push(e)}),v.preStyleProps.forEach(function(t,e){var n=Object.keys(t);if(n.length){var r=c.get(e);r||c.set(e,r=new Set),n.forEach(function(t){return r.add(t)})}}),v.postStyleProps.forEach(function(t,e){var n=Object.keys(t),r=h.get(e);r||h.set(e,r=new Set),n.forEach(function(t){return r.add(t)})})}});if(E.length){var T=[];E.forEach(function(t){T.push("@".concat(t.triggerName," has failed due to:\n")),t.errors.forEach(function(t){return T.push("- ".concat(t,"\n"))})}),P.forEach(function(t){return t.destroy()}),this.reportError(T)}var I=new Map,D=new Map;s.forEach(function(t){var e=t.element;i.has(e)&&(D.set(e,e),n._beforeAnimationBuild(t.player.namespaceId,t.instruction,I))}),o.forEach(function(t){var e=t.element;n._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(function(t){k(I,e,[]).push(t),t.destroy()})});var L=_.filter(function(t){return he(t,c,h)}),N=new Map;ie(N,this.driver,w,h,r.l3).forEach(function(t){he(t,c,h)&&L.push(t)});var z=new Map;g.forEach(function(t,e){ie(z,n.driver,new Set(t),c,r.k1)}),L.forEach(function(t){var e=N.get(t),n=z.get(t);N.set(t,Object.assign(Object.assign({},e),n))});var j=[],B=[],V={};s.forEach(function(t){var e=t.element,r=t.player,s=t.instruction;if(i.has(e)){if(f.has(e))return r.onDestroy(function(){return $(e,s.toStyles)}),r.disabled=!0,r.overrideTotalTime(s.totalTime),void o.push(r);var u=V;if(D.size>1){for(var c=e,h=[];c=c.parentNode;){var d=D.get(c);if(d){u=d;break}h.push(c)}h.forEach(function(t){return D.set(t,u)})}var p=n._buildAnimation(r.namespaceId,s,I,a,z,N);if(r.setRealPlayer(p),u===V)j.push(r);else{var v=n.playersByElement.get(u);v&&v.length&&(r.parentPlayer=l(v)),o.push(r)}}else Q(e,s.fromStyles),r.onDestroy(function(){return $(e,s.toStyles)}),B.push(r),f.has(e)&&o.push(r)}),B.forEach(function(t){var e=a.get(t.element);if(e&&e.length){var n=l(e);t.setRealPlayer(n)}}),o.forEach(function(t){t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(var Z=0;Z<_.length;Z++){var q=_[Z],U=q[Xt];if(ue(q,R),!U||!U.hasAnimation){var H=[];if(u.size){var G=u.get(q);G&&G.length&&H.push.apply(H,d(G));for(var J=this.driver.query(q,Y,!0),X=0;X0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new r.ZN(t.duration,t.delay)}}]),t}(),ee=function(){function t(e,n,i){y(this,t),this.namespaceId=e,this.triggerName=n,this.element=i,this._player=new r.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return g(t,[{key:"setRealPlayer",value:function(t){var e=this;this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(function(n){e._queuedCallbacks[n].forEach(function(e){return v(t,n,void 0,e)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}},{key:"getRealPlayer",value:function(){return this._player}},{key:"overrideTotalTime",value:function(t){this.totalTime=t}},{key:"syncPlayerEvents",value:function(t){var e=this,n=this._player;n.triggerCallback&&t.onStart(function(){return n.triggerCallback("start")}),t.onDone(function(){return e.finish()}),t.onDestroy(function(){return e.destroy()})}},{key:"_queueEvent",value:function(t,e){k(this._queuedCallbacks,t,[]).push(e)}},{key:"onDone",value:function(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}},{key:"onStart",value:function(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}},{key:"onDestroy",value:function(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}},{key:"init",value:function(){this._player.init()}},{key:"hasStarted",value:function(){return!this.queued&&this._player.hasStarted()}},{key:"play",value:function(){!this.queued&&this._player.play()}},{key:"pause",value:function(){!this.queued&&this._player.pause()}},{key:"restart",value:function(){!this.queued&&this._player.restart()}},{key:"finish",value:function(){this._player.finish()}},{key:"destroy",value:function(){this.destroyed=!0,this._player.destroy()}},{key:"reset",value:function(){!this.queued&&this._player.reset()}},{key:"setPosition",value:function(t){this.queued||this._player.setPosition(t)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(t){var e=this._player;e.triggerCallback&&e.triggerCallback(t)}}]),t}();function ne(t){return t&&1===t.nodeType}function re(t,e){var n=t.style.display;return t.style.display=null!=e?e:"none",n}function ie(t,e,n,r,i){var o=[];n.forEach(function(t){return o.push(re(t))});var a=[];r.forEach(function(n,r){var o={};n.forEach(function(t){var n=o[t]=e.computeStyle(r,t,i);(!n||0==n.length)&&(r[Xt]=Jt,a.push(r))}),t.set(r,o)});var s=0;return n.forEach(function(t){return re(t,o[s++])}),a}function oe(t,e){var n=new Map;if(t.forEach(function(t){return n.set(t,[])}),0==e.length)return n;var r=new Set(e),i=new Map;function o(t){if(!t)return 1;var e=i.get(t);if(e)return e;var a=t.parentNode;return e=n.has(a)?a:r.has(a)?1:o(a),i.set(t,e),e}return e.forEach(function(t){var e=o(t);1!==e&&n.get(e).push(t)}),n}var ae="$$classes";function se(t,e){if(t.classList)t.classList.add(e);else{var n=t[ae];n||(n=t[ae]={}),n[e]=!0}}function ue(t,e){if(t.classList)t.classList.remove(e);else{var n=t[ae];n&&delete n[e]}}function ce(t,e,n){l(n).onDone(function(){return t.processLeaveNode(e)})}function le(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(t)}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}}]),t}();function de(t,e){var n=null,r=null;return Array.isArray(e)&&e.length?(n=ve(e[0]),e.length>1&&(r=ve(e[e.length-1]))):e&&(n=ve(e)),n||r?new pe(t,n,r):null}var pe=function(){var t=function(){function t(e,n,r){y(this,t),this._element=e,this._startStyles=n,this._endStyles=r,this._state=0;var i=t.initialStylesByElement.get(e);i||t.initialStylesByElement.set(e,i={}),this._initialStyles=i}return g(t,[{key:"start",value:function(){this._state<1&&(this._startStyles&&$(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&($(this._element,this._initialStyles),this._endStyles&&($(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Q(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Q(this._element,this._endStyles),this._endStyles=null),$(this._element,this._initialStyles),this._state=3)}}]),t}();return t.initialStylesByElement=new WeakMap,t}();function ve(t){for(var e=null,n=Object.keys(t),r=0;r=this._delay&&n>=this._duration&&this.finish()}},{key:"finish",value:function(){this._finished||(this._finished=!0,this._onDoneFn(),Ce(this._element,this._eventFn,!0))}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){var n=Oe(t,"").split(","),r=we(n,e);r>=0&&(n.splice(r,1),xe(t,"",n.join(",")))}(this._element,this._name))}}]),t}();function be(t,e,n){xe(t,"PlayState",n,ke(t,e))}function ke(t,e){var n=Oe(t,"");return n.indexOf(",")>0?we(n.split(","),e):we([n],e)}function we(t,e){for(var n=0;n=0)return n;return-1}function Ce(t,e,n){n?t.removeEventListener(ye,e):t.addEventListener(ye,e)}function xe(t,e,n,r){var i=me+e;if(null!=r){var o=t.style[i];if(o.length){var a=o.split(",");a[r]=n,n=a.join(",")}}t.style[i]=n}function Oe(t,e){return t.style[me+e]||""}var Me=function(){function t(e,n,r,i,o,a,s,u){y(this,t),this.element=e,this.keyframes=n,this.animationName=r,this._duration=i,this._delay=o,this._finalStyles=s,this._specialStyles=u,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=a||"linear",this.totalTime=i+o,this._buildStyler()}return g(t,[{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"destroy",value:function(){this.init(),!(this._state>=4)&&(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])}},{key:"_flushDoneFns",value:function(){this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[]}},{key:"_flushStartFns",value:function(){this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[]}},{key:"finish",value:function(){this.init(),!(this._state>=3)&&(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}},{key:"setPosition",value:function(t){this._styler.setPosition(t)}},{key:"getPosition",value:function(){return this._styler.getPosition()}},{key:"hasStarted",value:function(){return this._state>=2}},{key:"init",value:function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}},{key:"play",value:function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}},{key:"pause",value:function(){this.init(),this._styler.pause()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"reset",value:function(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}},{key:"_buildStyler",value:function(){var t=this;this._styler=new _e(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return t.finish()})}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0}},{key:"beforeDestroy",value:function(){var t=this;this.init();var e={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach(function(r){"offset"!=r&&(e[r]=n?t._finalStyles[r]:ct(t.element,r))})}this.currentSnapshot=e}}]),t}(),Se=function(t){a(n,t);var e=u(n);function n(t,r){var i;return y(this,n),(i=e.call(this)).element=t,i._startingStyles={},i.__initialized=!1,i._styles=D(r),i}return g(n,[{key:"init",value:function(){var t=this;this.__initialized||!this._startingStyles||(this.__initialized=!0,Object.keys(this._styles).forEach(function(e){t._startingStyles[e]=t.element.style[e]}),i(f(n.prototype),"init",this).call(this))}},{key:"play",value:function(){var t=this;!this._startingStyles||(this.init(),Object.keys(this._styles).forEach(function(e){return t.element.style.setProperty(e,t._styles[e])}),i(f(n.prototype),"play",this).call(this))}},{key:"destroy",value:function(){var t=this;!this._startingStyles||(Object.keys(this._startingStyles).forEach(function(e){var n=t._startingStyles[e];n?t.element.style.setProperty(e,n):t.element.style.removeProperty(e)}),this._startingStyles=null,i(f(n.prototype),"destroy",this).call(this))}}]),n}(r.ZN),Pe=function(){function t(){y(this,t),this._count=0}return g(t,[{key:"validateStyleProperty",value:function(t){return E(t)}},{key:"matchesElement",value:function(t,e){return A(t,e)}},{key:"containsElement",value:function(t,e){return T(t,e)}},{key:"query",value:function(t,e,n){return I(t,e,n)}},{key:"computeStyle",value:function(t,e,n){return window.getComputedStyle(t)[e]}},{key:"buildKeyframeElement",value:function(t,e,n){n=n.map(function(t){return D(t)});var r="@keyframes ".concat(e," {\n"),i="";n.forEach(function(t){i=" ";var e=parseFloat(t.offset);r+="".concat(i).concat(100*e,"% {\n"),i+=" ",Object.keys(t).forEach(function(e){var n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(r+="".concat(i,"animation-timing-function: ").concat(n,";\n")));default:return void(r+="".concat(i).concat(e,": ").concat(n,";\n"))}}),r+="".concat(i,"}\n")}),r+="}\n";var o=document.createElement("style");return o.textContent=r,o}},{key:"animate",value:function(t,e,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],a=o.filter(function(t){return t instanceof Me}),s={};at(n,r)&&a.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return s[t]=e[t]})});var u=function(t){var e={};return t&&(Array.isArray(t)?t:[t]).forEach(function(t){Object.keys(t).forEach(function(n){"offset"==n||"easing"==n||(e[n]=t[n])})}),e}(e=st(t,e,s));if(0==n)return new Se(t,u);var c="gen_css_kf_"+this._count++,l=this.buildKeyframeElement(t,c,e);(function(t){var e,n=null===(e=t.getRootNode)||void 0===e?void 0:e.call(t);return"undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot?n:document.head})(t).appendChild(l);var h=de(t,e),f=new Me(t,e,c,n,r,i,u,h);return f.onDestroy(function(){var t;(t=l).parentNode.removeChild(t)}),f}}]),t}(),Ee=function(){function t(e,n,r,i){y(this,t),this.element=e,this.keyframes=n,this.options=r,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}return g(t,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])}},{key:"init",value:function(){this._buildPlayer(),this._preparePlayerBeforeStart()}},{key:"_buildPlayer",value:function(){var t=this;if(!this._initialized){this._initialized=!0;var e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",function(){return t._onFinish()})}}},{key:"_preparePlayerBeforeStart",value:function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}},{key:"_triggerWebAnimation",value:function(t,e,n){return t.animate(e,n)}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"play",value:function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}},{key:"pause",value:function(){this.init(),this.domPlayer.pause()}},{key:"finish",value:function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}},{key:"reset",value:function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"_resetDomPlayerState",value:function(){this.domPlayer&&this.domPlayer.cancel()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"hasStarted",value:function(){return this._started}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])}},{key:"setPosition",value:function(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}},{key:"getPosition",value:function(){return this.domPlayer.currentTime/this.time}},{key:"totalTime",get:function(){return this._delay+this._duration}},{key:"beforeDestroy",value:function(){var t=this,e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(n){"offset"!=n&&(e[n]=t._finished?t._finalKeyframe[n]:ct(t.element,n))}),this.currentSnapshot=e}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0}}]),t}(),Ae=function(){function t(){y(this,t),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Ie().toString()),this._cssKeyframesDriver=new Pe}return g(t,[{key:"validateStyleProperty",value:function(t){return E(t)}},{key:"matchesElement",value:function(t,e){return A(t,e)}},{key:"containsElement",value:function(t,e){return T(t,e)}},{key:"query",value:function(t,e,n){return I(t,e,n)}},{key:"computeStyle",value:function(t,e,n){return window.getComputedStyle(t)[e]}},{key:"overrideWebAnimationsSupport",value:function(t){this._isNativeImpl=t}},{key:"animate",value:function(t,e,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],a=arguments.length>6?arguments[6]:void 0;if(!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,r,i,o);var s={duration:n,delay:r,fill:0==r?"both":"forwards"};i&&(s.easing=i);var u={},c=o.filter(function(t){return t instanceof Ee});at(n,r)&&c.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return u[t]=e[t]})});var l=de(t,e=st(t,e=e.map(function(t){return G(t,!1)}),u));return new Ee(t,e,s,l)}}]),t}();function Te(){return"function"==typeof Ie()}function Ie(){return s()&&Element.prototype.animate||{}}},12057:function(t,e,n){"use strict";n.d(e,{mr:function(){return P},Ov:function(){return tt},ez:function(){return it},K0:function(){return f},Do:function(){return A},Gx:function(){return nt},Ts:function(){return rt},V_:function(){return m},Ye:function(){return T},S$:function(){return M},$G:function(){return j},sg:function(){return V},O5:function(){return Z},RF:function(){return G},n9:function(){return J},tP:function(){return X},b0:function(){return E},lw:function(){return d},EM:function(){return ut},JF:function(){return ht},NF:function(){return at},PM:function(){return st},w_:function(){return h},bD:function(){return ot},q:function(){return o},Mx:function(){return R},HT:function(){return s}});var r=n(74788),i=null;function o(){return i}function s(t){i||(i=t)}var l,h=g(function t(){y(this,t)}),f=new r.OlP("DocumentToken"),d=((l=function(){function t(){y(this,t)}return g(t,[{key:"historyGo",value:function(t){throw new Error("Not implemented")}}]),t}()).\u0275fac=function(t){return new(t||l)},l.\u0275prov=(0,r.Yz7)({factory:v,token:l,providedIn:"platform"}),l);function v(){return(0,r.LFG)(b)}var m=new r.OlP("Location Initialized"),b=function(){var t=function(t){a(n,t);var e=u(n);function n(t){var r;return y(this,n),(r=e.call(this))._doc=t,r._init(),r}return g(n,[{key:"_init",value:function(){this.location=window.location,this._history=window.history}},{key:"getBaseHrefFromDOM",value:function(){return o().getBaseHref(this._doc)}},{key:"onPopState",value:function(t){var e=o().getGlobalEventTarget(this._doc,"window");return e.addEventListener("popstate",t,!1),function(){return e.removeEventListener("popstate",t)}}},{key:"onHashChange",value:function(t){var e=o().getGlobalEventTarget(this._doc,"window");return e.addEventListener("hashchange",t,!1),function(){return e.removeEventListener("hashchange",t)}}},{key:"href",get:function(){return this.location.href}},{key:"protocol",get:function(){return this.location.protocol}},{key:"hostname",get:function(){return this.location.hostname}},{key:"port",get:function(){return this.location.port}},{key:"pathname",get:function(){return this.location.pathname},set:function(t){this.location.pathname=t}},{key:"search",get:function(){return this.location.search}},{key:"hash",get:function(){return this.location.hash}},{key:"pushState",value:function(t,e,n){k()?this._history.pushState(t,e,n):this.location.hash=n}},{key:"replaceState",value:function(t,e,n){k()?this._history.replaceState(t,e,n):this.location.hash=n}},{key:"forward",value:function(){this._history.forward()}},{key:"back",value:function(){this._history.back()}},{key:"historyGo",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this._history.go(t)}},{key:"getState",value:function(){return this._history.state}}]),n}(d);return t.\u0275fac=function(e){return new(e||t)(r.LFG(f))},t.\u0275prov=(0,r.Yz7)({factory:w,token:t,providedIn:"platform"}),t}();function k(){return!!window.history.pushState}function w(){return new b((0,r.LFG)(f))}function C(t,e){if(0==t.length)return e;if(0==e.length)return t;var n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function x(t){var e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function O(t){return t&&"?"!==t[0]?"?"+t:t}var M=function(){var t=function(){function t(){y(this,t)}return g(t,[{key:"historyGo",value:function(t){throw new Error("Not implemented")}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,r.Yz7)({factory:S,token:t,providedIn:"root"}),t}();function S(t){var e=(0,r.LFG)(f).location;return new E((0,r.LFG)(d),e&&e.origin||"")}var P=new r.OlP("appBaseHref"),E=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r){var i;if(y(this,n),(i=e.call(this))._platformLocation=t,i._removeListenerFns=[],null==r&&(r=i._platformLocation.getBaseHrefFromDOM()),null==r)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return i._baseHref=r,c(i)}return g(n,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(t){return C(this._baseHref,t)}},{key:"path",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this._platformLocation.pathname+O(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?"".concat(e).concat(n):e}},{key:"pushState",value:function(t,e,n,r){var i=this.prepareExternalUrl(n+O(r));this._platformLocation.pushState(t,e,i)}},{key:"replaceState",value:function(t,e,n,r){var i=this.prepareExternalUrl(n+O(r));this._platformLocation.replaceState(t,e,i)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(e=(t=this._platformLocation).historyGo)||void 0===e||e.call(t,n)}}]),n}(M);return t.\u0275fac=function(e){return new(e||t)(r.LFG(d),r.LFG(P,8))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}(),A=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r){var i;return y(this,n),(i=e.call(this))._platformLocation=t,i._baseHref="",i._removeListenerFns=[],null!=r&&(i._baseHref=r),i}return g(n,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){var t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}},{key:"prepareExternalUrl",value:function(t){var e=C(this._baseHref,t);return e.length>0?"#"+e:e}},{key:"pushState",value:function(t,e,n,r){var i=this.prepareExternalUrl(n+O(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(t,e,i)}},{key:"replaceState",value:function(t,e,n,r){var i=this.prepareExternalUrl(n+O(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,i)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(e=(t=this._platformLocation).historyGo)||void 0===e||e.call(t,n)}}]),n}(M);return t.\u0275fac=function(e){return new(e||t)(r.LFG(d),r.LFG(P,8))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}(),T=function(){var t=function(){function t(e,n){var i=this;y(this,t),this._subject=new r.vpe,this._urlChangeListeners=[],this._platformStrategy=e;var o=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=x(D(o)),this._platformStrategy.onPopState(function(t){i._subject.emit({url:i.path(!0),pop:!0,state:t.state,type:t.type})})}return g(t,[{key:"path",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(t))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(t+O(e))}},{key:"normalize",value:function(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,D(e)))}},{key:"prepareExternalUrl",value:function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}},{key:"go",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+O(e)),n)}},{key:"replaceState",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+O(e)),n)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"historyGo",value:function(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(e=(t=this._platformStrategy).historyGo)||void 0===e||e.call(t,n)}},{key:"onUrlChange",value:function(t){var e=this;this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(function(t){e._notifyUrlChangeListeners(t.url,t.state)}))}},{key:"_notifyUrlChangeListeners",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach(function(n){return n(t,e)})}},{key:"subscribe",value:function(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(M),r.LFG(d))},t.normalizeQueryParams=O,t.joinWithSlash=C,t.stripTrailingSlash=x,t.\u0275prov=(0,r.Yz7)({factory:I,token:t,providedIn:"root"}),t}();function I(){return new T((0,r.LFG)(M),(0,r.LFG)(d))}function D(t){return t.replace(/\/index.html$/,"")}var L=((L=L||{})[L.Zero=0]="Zero",L[L.One=1]="One",L[L.Two=2]="Two",L[L.Few=3]="Few",L[L.Many=4]="Many",L[L.Other=5]="Other",L),N=r.kL8,z=g(function t(){y(this,t)}),F=function(){var t=function(t){a(n,t);var e=u(n);function n(t){var r;return y(this,n),(r=e.call(this)).locale=t,r}return g(n,[{key:"getPluralCategory",value:function(t,e){switch(N(e||this.locale)(t)){case L.Zero:return"zero";case L.One:return"one";case L.Two:return"two";case L.Few:return"few";case L.Many:return"many";default:return"other"}}}]),n}(z);return t.\u0275fac=function(e){return new(e||t)(r.LFG(r.soG))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}();function R(t,e){e=encodeURIComponent(e);var n,r=_(t.split(";"));try{for(r.s();!(n=r.n()).done;){var i=n.value,o=i.indexOf("="),a=p(-1==o?[i,""]:[i.slice(0,o),i.slice(o+1)],2),s=a[0],u=a[1];if(s.trim()===e)return decodeURIComponent(u)}}catch(c){r.e(c)}finally{r.f()}return null}var j=function(){var t=function(){function t(e){y(this,t),this._viewContainerRef=e,this._componentRef=null,this._moduleRef=null}return g(t,[{key:"ngOnChanges",value:function(t){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){var e=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(t.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){var n=e.get(r.h0i);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(n.injector)}else this._moduleRef=null;var i=(this._moduleRef?this._moduleRef.componentFactoryResolver:e.get(r._Vd)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(i,this._viewContainerRef.length,e,this.ngComponentOutletContent)}}},{key:"ngOnDestroy",value:function(){this._moduleRef&&this._moduleRef.destroy()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.s_b))},t.\u0275dir=r.lG2({type:t,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[r.TTD]}),t}(),B=function(){function t(e,n,r,i){y(this,t),this.$implicit=e,this.ngForOf=n,this.index=r,this.count=i}return g(t,[{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}}]),t}(),V=function(){var t=function(){function t(e,n,r){y(this,t),this._viewContainer=e,this._template=n,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return g(t,[{key:"ngForOf",set:function(t){this._ngForOf=t,this._ngForOfDirty=!0}},{key:"ngForTrackBy",get:function(){return this._trackByFn},set:function(t){this._trackByFn=t}},{key:"ngForTemplate",set:function(t){t&&(this._template=t)}},{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var t=this._ngForOf;if(!this._differ&&t)try{this._differ=this._differs.find(t).create(this.ngForTrackBy)}catch(n){throw new Error("Cannot find a differ supporting object '".concat(t,"' of type '").concat(function(t){return t.name||typeof t}(t),"'. NgFor only supports binding to Iterables such as Arrays."))}}if(this._differ){var e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}},{key:"_applyChanges",value:function(t){var e=this,n=[];t.forEachOperation(function(t,r,i){if(null==t.previousIndex){var o=e._viewContainer.createEmbeddedView(e._template,new B(null,e._ngForOf,-1,-1),null===i?void 0:i),a=new Y(t,o);n.push(a)}else if(null==i)e._viewContainer.remove(null===r?void 0:r);else if(null!==r){var s=e._viewContainer.get(r);e._viewContainer.move(s,i);var u=new Y(t,s);n.push(u)}});for(var r=0;r-1||(i=n.getPluralCategory(t,r),e.indexOf(i)>-1))return i;if(e.indexOf("other")>-1)return"other";throw new Error('No plural message found for value "'.concat(t,'"'))}(e,Object.keys(n),this._localization,r)].replace(et,e.toString())}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(z,16))},t.\u0275pipe=r.Yjl({name:"i18nPlural",type:t,pure:!0}),t}(),rt=function(){var t=function(){function t(){y(this,t)}return g(t,[{key:"transform",value:function(t){return JSON.stringify(t,null,2)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Yjl({name:"json",type:t,pure:!1}),t}(),it=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[{provide:z,useClass:F}]}),t}(),ot="browser";function at(t){return t===ot}function st(t){return"server"===t}var ut=function(){var t=g(function t(){y(this,t)});return t.\u0275prov=(0,r.Yz7)({token:t,providedIn:"root",factory:function(){return new ct((0,r.LFG)(f),window)}}),t}(),ct=function(){function t(e,n){y(this,t),this.document=e,this.window=n,this.offset=function(){return[0,0]}}return g(t,[{key:"setOffset",value:function(t){this.offset=Array.isArray(t)?function(){return t}:t}},{key:"getScrollPosition",value:function(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}},{key:"scrollToPosition",value:function(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}},{key:"scrollToAnchor",value:function(t){if(this.supportsScrolling()){var e=function(t,e){var n=t.getElementById(e)||t.getElementsByName(e)[0];if(n)return n;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow))for(var r=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),i=r.currentNode;i;){var o=i.shadowRoot;if(o){var a=o.getElementById(e)||o.querySelector('[name="'.concat(e,'"]'));if(a)return a}i=r.nextNode()}return null}(this.document,t);e&&(this.scrollToElement(e),this.attemptFocus(e))}}},{key:"setHistoryScrollRestoration",value:function(t){if(this.supportScrollRestoration()){var e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}},{key:"scrollToElement",value:function(t){var e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],r-i[1])}},{key:"attemptFocus",value:function(t){return t.focus(),this.document.activeElement===t}},{key:"supportScrollRestoration",value:function(){try{if(!this.supportsScrolling())return!1;var t=lt(this.window.history)||lt(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}},{key:"supportsScrolling",value:function(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}]),t}();function lt(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}var ht=g(function t(){y(this,t)})},58497:function(t,e,n){"use strict";n.d(e,{eN:function(){return F},JF:function(){return $}});var r=n(12057),i=n(74788),o=n(25917),s=n(29856),c=n(94612),l=n(45435),h=n(88002),f=g(function t(){y(this,t)}),v=g(function t(){y(this,t)}),m=function(){function t(e){var n=this;y(this,t),this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?function(){n.headers=new Map,e.split("\n").forEach(function(t){var e=t.indexOf(":");if(e>0){var r=t.slice(0,e),i=r.toLowerCase(),o=t.slice(e+1).trim();n.maybeSetNormalizedName(r,i),n.headers.has(i)?n.headers.get(i).push(o):n.headers.set(i,[o])}})}:function(){n.headers=new Map,Object.keys(e).forEach(function(t){var r=e[t],i=t.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(n.headers.set(i,r),n.maybeSetNormalizedName(t,i))})}:this.headers=new Map}return g(t,[{key:"has",value:function(t){return this.init(),this.headers.has(t.toLowerCase())}},{key:"get",value:function(t){this.init();var e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(t){return this.init(),this.headers.get(t.toLowerCase())||null}},{key:"append",value:function(t,e){return this.clone({name:t,value:e,op:"a"})}},{key:"set",value:function(t,e){return this.clone({name:t,value:e,op:"s"})}},{key:"delete",value:function(t,e){return this.clone({name:t,value:e,op:"d"})}},{key:"maybeSetNormalizedName",value:function(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}},{key:"init",value:function(){var e=this;this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(t){return e.applyUpdate(t)}),this.lazyUpdate=null))}},{key:"copyFrom",value:function(t){var e=this;t.init(),Array.from(t.headers.keys()).forEach(function(n){e.headers.set(n,t.headers.get(n)),e.normalizedNames.set(n,t.normalizedNames.get(n))})}},{key:"clone",value:function(e){var n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n}},{key:"applyUpdate",value:function(t){var e=t.name.toLowerCase();switch(t.op){case"a":case"s":var n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);var r=("a"===t.op?this.headers.get(e):void 0)||[];r.push.apply(r,d(n)),this.headers.set(e,r);break;case"d":var i=t.value;if(i){var o=this.headers.get(e);if(!o)return;0===(o=o.filter(function(t){return-1===i.indexOf(t)})).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}else this.headers.delete(e),this.normalizedNames.delete(e)}}},{key:"forEach",value:function(t){var e=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return t(e.normalizedNames.get(n),e.headers.get(n))})}}]),t}(),_=function(){function t(){y(this,t)}return g(t,[{key:"encodeKey",value:function(t){return w(t)}},{key:"encodeValue",value:function(t){return w(t)}},{key:"decodeKey",value:function(t){return decodeURIComponent(t)}},{key:"decodeValue",value:function(t){return decodeURIComponent(t)}}]),t}(),b=/%(\d[a-f0-9])/gi,k={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function w(t){return encodeURIComponent(t).replace(b,function(t,e){var n;return null!==(n=k[e])&&void 0!==n?n:t})}function C(t){return"".concat(t)}var x=function(){function t(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(y(this,t),this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new _,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){var n=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(function(t){var r=t.indexOf("="),i=p(-1==r?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,r)),e.decodeValue(t.slice(r+1))],2),o=i[0],a=i[1],s=n.get(o)||[];s.push(a),n.set(o,s)}),n}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(function(t){var r=n.fromObject[t];e.map.set(t,Array.isArray(r)?r:[r])})):this.map=null}return g(t,[{key:"has",value:function(t){return this.init(),this.map.has(t)}},{key:"get",value:function(t){this.init();var e=this.map.get(t);return e?e[0]:null}},{key:"getAll",value:function(t){return this.init(),this.map.get(t)||null}},{key:"keys",value:function(){return this.init(),Array.from(this.map.keys())}},{key:"append",value:function(t,e){return this.clone({param:t,value:e,op:"a"})}},{key:"appendAll",value:function(t){var e=[];return Object.keys(t).forEach(function(n){var r=t[n];Array.isArray(r)?r.forEach(function(t){e.push({param:n,value:t,op:"a"})}):e.push({param:n,value:r,op:"a"})}),this.clone(e)}},{key:"set",value:function(t,e){return this.clone({param:t,value:e,op:"s"})}},{key:"delete",value:function(t,e){return this.clone({param:t,value:e,op:"d"})}},{key:"toString",value:function(){var t=this;return this.init(),this.keys().map(function(e){var n=t.encoder.encodeKey(e);return t.map.get(e).map(function(e){return n+"="+t.encoder.encodeValue(e)}).join("&")}).filter(function(t){return""!==t}).join("&")}},{key:"clone",value:function(e){var n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(e),n}},{key:"init",value:function(){var t=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(e){return t.map.set(e,t.cloneFrom.map.get(e))}),this.updates.forEach(function(e){switch(e.op){case"a":case"s":var n=("a"===e.op?t.map.get(e.param):void 0)||[];n.push(C(e.value)),t.map.set(e.param,n);break;case"d":if(void 0===e.value){t.map.delete(e.param);break}var r=t.map.get(e.param)||[],i=r.indexOf(C(e.value));-1!==i&&r.splice(i,1),r.length>0?t.map.set(e.param,r):t.map.delete(e.param)}}),this.cloneFrom=this.updates=null)}}]),t}(),O=function(){function t(){y(this,t),this.map=new Map}return g(t,[{key:"set",value:function(t,e){return this.map.set(t,e),this}},{key:"get",value:function(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}},{key:"delete",value:function(t){return this.map.delete(t),this}},{key:"keys",value:function(){return this.map.keys()}}]),t}();function M(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function S(t){return"undefined"!=typeof Blob&&t instanceof Blob}function P(t){return"undefined"!=typeof FormData&&t instanceof FormData}var E=function(){function t(e,n,r,i){var o;if(y(this,t),this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==r?r:null,o=i):o=r,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new m),this.context||(this.context=new O),this.params){var a=this.params.toString();if(0===a.length)this.urlWithParams=n;else{var s=n.indexOf("?");this.urlWithParams=n+(-1===s?"?":s0&&void 0!==arguments[0]?arguments[0]:{},r=n.method||this.method,i=n.url||this.url,o=n.responseType||this.responseType,a=void 0!==n.body?n.body:this.body,s=void 0!==n.withCredentials?n.withCredentials:this.withCredentials,u=void 0!==n.reportProgress?n.reportProgress:this.reportProgress,c=n.headers||this.headers,l=n.params||this.params,h=null!==(e=n.context)&&void 0!==e?e:this.context;return void 0!==n.setHeaders&&(c=Object.keys(n.setHeaders).reduce(function(t,e){return t.set(e,n.setHeaders[e])},c)),n.setParams&&(l=Object.keys(n.setParams).reduce(function(t,e){return t.set(e,n.setParams[e])},l)),new t(r,i,a,{params:l,headers:c,context:h,reportProgress:u,responseType:o,withCredentials:s})}}]),t}(),A=((A=A||{})[A.Sent=0]="Sent",A[A.UploadProgress=1]="UploadProgress",A[A.ResponseHeader=2]="ResponseHeader",A[A.DownloadProgress=3]="DownloadProgress",A[A.Response=4]="Response",A[A.User=5]="User",A),T=g(function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";y(this,t),this.headers=e.headers||new m,this.status=void 0!==e.status?e.status:n,this.statusText=e.statusText||r,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}),I=function(t){a(n,t);var e=u(n);function n(){var t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return y(this,n),(t=e.call(this,r)).type=A.ResponseHeader,t}return g(n,[{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}]),n}(T),D=function(t){a(n,t);var e=u(n);function n(){var t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return y(this,n),(t=e.call(this,r)).type=A.Response,t.body=void 0!==r.body?r.body:null,t}return g(n,[{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}]),n}(T),L=function(t){a(n,t);var e=u(n);function n(t){var r;return y(this,n),(r=e.call(this,t,0,"Unknown Error")).name="HttpErrorResponse",r.ok=!1,r.message=r.status>=200&&r.status<300?"Http failure during parsing for ".concat(t.url||"(unknown url)"):"Http failure response for ".concat(t.url||"(unknown url)",": ").concat(t.status," ").concat(t.statusText),r.error=t.error||null,r}return g(n)}(T);function N(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}var z,F=(z=function(){function t(e){y(this,t),this.handler=e}return g(t,[{key:"request",value:function(t,e){var n,r,i,a=this,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};t instanceof E?n=t:(r=s.headers instanceof m?s.headers:new m(s.headers),s.params&&(i=s.params instanceof x?s.params:new x({fromObject:s.params})),n=new E(t,e,void 0!==s.body?s.body:null,{headers:r,context:s.context,params:i,reportProgress:s.reportProgress,responseType:s.responseType||"json",withCredentials:s.withCredentials}));var u=(0,o.of)(n).pipe((0,c.b)(function(t){return a.handler.handle(t)}));if(t instanceof E||"events"===s.observe)return u;var f=u.pipe((0,l.h)(function(t){return t instanceof D}));switch(s.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return f.pipe((0,h.U)(function(t){if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return f.pipe((0,h.U)(function(t){if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return f.pipe((0,h.U)(function(t){if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));default:return f.pipe((0,h.U)(function(t){return t.body}))}case"response":return f;default:throw new Error("Unreachable: unhandled observe type ".concat(s.observe,"}"))}}},{key:"delete",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("DELETE",t,e)}},{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("GET",t,e)}},{key:"head",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("HEAD",t,e)}},{key:"jsonp",value:function(t,e){return this.request("JSONP",t,{params:(new x).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("OPTIONS",t,e)}},{key:"patch",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PATCH",t,N(n,e))}},{key:"post",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",t,N(n,e))}},{key:"put",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",t,N(n,e))}}]),t}(),z.\u0275fac=function(t){return new(t||z)(i.LFG(f))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac}),z),R=function(){function t(e,n){y(this,t),this.next=e,this.interceptor=n}return g(t,[{key:"handle",value:function(t){return this.interceptor.intercept(t,this.next)}}]),t}(),j=new i.OlP("HTTP_INTERCEPTORS"),B=function(){var t=function(){function t(){y(this,t)}return g(t,[{key:"intercept",value:function(t,e){return e.handle(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t}(),V=/^\)\]\}',?\n/,Y=function(){var t=function(){function t(e){y(this,t),this.xhrFactory=e}return g(t,[{key:"handle",value:function(t){var e=this;if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new s.y(function(n){var r=e.xhrFactory.build();if(r.open(t.method,t.urlWithParams),t.withCredentials&&(r.withCredentials=!0),t.headers.forEach(function(t,e){return r.setRequestHeader(t,e.join(","))}),t.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){var i=t.detectContentTypeHeader();null!==i&&r.setRequestHeader("Content-Type",i)}if(t.responseType){var o=t.responseType.toLowerCase();r.responseType="json"!==o?o:"text"}var a=t.serializeBody(),s=null,u=function(){if(null!==s)return s;var e=1223===r.status?204:r.status,n=r.statusText||"OK",i=new m(r.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(r)||t.url;return s=new I({headers:i,status:e,statusText:n,url:o})},c=function(){var e=u(),i=e.headers,o=e.status,a=e.statusText,s=e.url,c=null;204!==o&&(c=void 0===r.response?r.responseText:r.response),0===o&&(o=c?200:0);var l=o>=200&&o<300;if("json"===t.responseType&&"string"==typeof c){var h=c;c=c.replace(V,"");try{c=""!==c?JSON.parse(c):null}catch(f){c=h,l&&(l=!1,c={error:f,text:c})}}l?(n.next(new D({body:c,headers:i,status:o,statusText:a,url:s||void 0})),n.complete()):n.error(new L({error:c,headers:i,status:o,statusText:a,url:s||void 0}))},l=function(t){var e=u().url,i=new L({error:t,status:r.status||0,statusText:r.statusText||"Unknown Error",url:e||void 0});n.error(i)},h=!1,f=function(e){h||(n.next(u()),h=!0);var i={type:A.DownloadProgress,loaded:e.loaded};e.lengthComputable&&(i.total=e.total),"text"===t.responseType&&!!r.responseText&&(i.partialText=r.responseText),n.next(i)},d=function(t){var e={type:A.UploadProgress,loaded:t.loaded};t.lengthComputable&&(e.total=t.total),n.next(e)};return r.addEventListener("load",c),r.addEventListener("error",l),r.addEventListener("timeout",l),r.addEventListener("abort",l),t.reportProgress&&(r.addEventListener("progress",f),null!==a&&r.upload&&r.upload.addEventListener("progress",d)),r.send(a),n.next({type:A.Sent}),function(){r.removeEventListener("error",l),r.removeEventListener("abort",l),r.removeEventListener("load",c),r.removeEventListener("timeout",l),t.reportProgress&&(r.removeEventListener("progress",f),null!==a&&r.upload&&r.upload.removeEventListener("progress",d)),r.readyState!==r.DONE&&r.abort()}})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.LFG(r.JF))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t}(),Z=new i.OlP("XSRF_COOKIE_NAME"),q=new i.OlP("XSRF_HEADER_NAME"),U=g(function t(){y(this,t)}),H=function(){var t=function(){function t(e,n,r){y(this,t),this.doc=e,this.platform=n,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return g(t,[{key:"getToken",value:function(){if("server"===this.platform)return null;var t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,r.Mx)(t,this.cookieName),this.lastCookieString=t),this.lastToken}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.LFG(r.K0),i.LFG(i.Lbi),i.LFG(Z))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t}(),G=function(){var t=function(){function t(e,n){y(this,t),this.tokenService=e,this.headerName=n}return g(t,[{key:"intercept",value:function(t,e){var n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);var r=this.tokenService.getToken();return null!==r&&!t.headers.has(this.headerName)&&(t=t.clone({headers:t.headers.set(this.headerName,r)})),e.handle(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.LFG(U),i.LFG(q))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t}(),J=function(){var t=function(){function t(e,n){y(this,t),this.backend=e,this.injector=n,this.chain=null}return g(t,[{key:"handle",value:function(t){if(null===this.chain){var e=this.injector.get(j,[]);this.chain=e.reduceRight(function(t,e){return new R(t,e)},this.backend)}return this.chain.handle(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.LFG(v),i.LFG(i.zs3))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t}(),X=function(){var t=function(){function t(){y(this,t)}return g(t,null,[{key:"disable",value:function(){return{ngModule:t,providers:[{provide:G,useClass:B}]}}},{key:"withOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:t,providers:[e.cookieName?{provide:Z,useValue:e.cookieName}:[],e.headerName?{provide:q,useValue:e.headerName}:[]]}}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[G,{provide:j,useExisting:G,multi:!0},{provide:U,useClass:H},{provide:Z,useValue:"XSRF-TOKEN"},{provide:q,useValue:"X-XSRF-TOKEN"}]}),t}(),$=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[F,{provide:f,useClass:J},Y,{provide:v,useExisting:Y}],imports:[[X.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t}()},74788:function(t,e,o){"use strict";o.d(e,{deG:function(){return yn},tb:function(){return cc},AFp:function(){return ic},ip1:function(){return nc},CZH:function(){return rc},hGG:function(){return Wc},z2F:function(){return Yc},sBO:function(){return Ws},Sil:function(){return bc},_Vd:function(){return ws},EJc:function(){return fc},SBq:function(){return Ms},qLn:function(){return gi},vpe:function(){return zu},gxx:function(){return Io},tBr:function(){return Zn},XFs:function(){return Y},OlP:function(){return mn},zs3:function(){return Go},ZZ4:function(){return Us},aQg:function(){return Gs},soG:function(){return hc},YKP:function(){return su},v3s:function(){return qc},h0i:function(){return au},PXZ:function(){return Fc},R0b:function(){return Cc},FiY:function(){return qn},Lbi:function(){return uc},g9A:function(){return sc},n_E:function(){return Ru},Qsj:function(){return Es},FYo:function(){return Ps},JOm:function(){return Gn},Tiy:function(){return Ts},q3G:function(){return li},PiD:function(){return Un},tp0:function(){return Hn},EAV:function(){return Gc},Rgc:function(){return ru},dDg:function(){return Ac},DyG:function(){return _n},GfV:function(){return Is},s_b:function(){return cu},ifc:function(){return G},eFA:function(){return Rc},Gpc:function(){return O},f3M:function(){return Rn},X6Q:function(){return Nc},_c5:function(){return $c},VLi:function(){return Ic},c2e:function(){return lc},zSh:function(){return Lo},wAp:function(){return cs},vHH:function(){return P},EiD:function(){return ui},mCW:function(){return Hr},qzn:function(){return Nr},JVY:function(){return Fr},pB0:function(){return Vr},eBb:function(){return jr},L6k:function(){return Rr},LAX:function(){return Br},cg1:function(){return as},Tjo:function(){return Xc},kL8:function(){return ss},yhl:function(){return zr},dqk:function(){return Q},sIi:function(){return ra},CqO:function(){return xa},QGY:function(){return wa},F4k:function(){return Ca},RDi:function(){return zt},AaK:function(){return w},z3N:function(){return Lr},qOj:function(){return Xo},TTD:function(){return Pt},_Bn:function(){return _s},xp6:function(){return Li},uIk:function(){return ua},Tol:function(){return Ba},ekj:function(){return ja},Suo:function(){return $u},Xpm:function(){return ut},lG2:function(){return vt},Yz7:function(){return I},cJS:function(){return D},oAB:function(){return ft},Yjl:function(){return gt},Y36:function(){return ha},_UZ:function(){return ma},GkF:function(){return ba},BQk:function(){return _a},ynx:function(){return ya},qZA:function(){return ga},TgZ:function(){return va},EpF:function(){return ka},n5z:function(){return fn},Ikx:function(){return es},LFG:function(){return Fn},$8M:function(){return pn},$Z:function(){return fa},NdJ:function(){return Oa},CRH:function(){return Qu},kcU:function(){return Ae},O4$:function(){return Ee},oxw:function(){return Pa},ALo:function(){return Eu},lcZ:function(){return Au},xi3:function(){return Tu},Dn7:function(){return Iu},Hsn:function(){return Ta},F$t:function(){return Aa},Q6J:function(){return da},DdM:function(){return Cu},VKq:function(){return xu},WLB:function(){return Ou},iGM:function(){return Ju},MAs:function(){return la},evT:function(){return _i},Jf7:function(){return yi},CHM:function(){return ee},oJD:function(){return hi},LSH:function(){return fi},kYT:function(){return dt},Udp:function(){return Ra},d8E:function(){return ns},YNc:function(){return ca},W1O:function(){return ec},_uU:function(){return Qa},Oqu:function(){return Wa},hij:function(){return Ka},AsE:function(){return ts},Gf:function(){return Xu}});var s=o(79765),c=o(59178),h=o(29856),v=o(66682),m=o(9945);function b(t){for(var e in t)if(t[e]===b)return e;throw Error("Could not find renamed property on target object.")}function k(t,e){for(var n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function w(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(w).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return"".concat(t.overriddenName);if(t.name)return"".concat(t.name);var e=t.toString();if(null==e)return""+e;var n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function C(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}var x=b({__forward_ref__:b});function O(t){return t.__forward_ref__=O,t.toString=function(){return w(this())},t}function M(t){return S(t)?t():t}function S(t){return"function"==typeof t&&t.hasOwnProperty(x)&&t.__forward_ref__===O}var P=function(t){a(n,t);var e=u(n);function n(t,r){var i;return y(this,n),i=e.call(this,function(t,e){return"".concat(t?"NG0".concat(t,": "):"").concat(e)}(t,r)),i.code=t,i}return g(n)}(n(Error));function E(t){return"string"==typeof t?t:null==t?"":String(t)}function A(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():E(t)}function T(t,e){var n=e?" in ".concat(e):"";throw new P("201","No provider for ".concat(A(t)," found").concat(n))}function I(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function D(t){return{providers:t.providers||[],imports:t.imports||[]}}function L(t){return N(t,R)||N(t,B)}function N(t,e){return t.hasOwnProperty(e)?t[e]:null}function z(t){return t&&(t.hasOwnProperty(j)||t.hasOwnProperty(V))?t[j]:null}var F,R=b({"\u0275prov":b}),j=b({"\u0275inj":b}),B=b({ngInjectableDef:b}),V=b({ngInjectorDef:b}),Y=((Y=Y||{})[Y.Default=0]="Default",Y[Y.Host=1]="Host",Y[Y.Self=2]="Self",Y[Y.SkipSelf=4]="SkipSelf",Y[Y.Optional=8]="Optional",Y);function Z(t){var e=F;return F=t,e}function q(t,e,n){var r=L(t);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Y.Optional?null:void 0!==e?e:void T(w(t),"Injector")}function U(t){return{toString:t}.toString()}var H=((H=H||{})[H.OnPush=0]="OnPush",H[H.Default=1]="Default",H),G=((G=G||{})[G.Emulated=0]="Emulated",G[G.None=2]="None",G[G.ShadowDom=3]="ShadowDom",G),J="undefined"!=typeof globalThis&&globalThis,X="undefined"!=typeof window&&window,$="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Q=J||"undefined"!=typeof global&&global||X||$,W={},K=[],tt=b({"\u0275cmp":b}),et=b({"\u0275dir":b}),nt=b({"\u0275pipe":b}),rt=b({"\u0275mod":b}),it=b({"\u0275loc":b}),ot=b({"\u0275fac":b}),at=b({__NG_ELEMENT_ID__:b}),st=0;function ut(t){return U(function(){var 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===H.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||K,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||G.Emulated,id:"c",styles:t.styles||K,_:null,setInput:null,schemas:t.schemas||null,tView:null},r=t.directives,i=t.features,o=t.pipes;return n.id+=st++,n.inputs=pt(t.inputs,e),n.outputs=pt(t.outputs),i&&i.forEach(function(t){return t(n)}),n.directiveDefs=r?function(){return("function"==typeof r?r():r).map(ct)}:null,n.pipeDefs=o?function(){return("function"==typeof o?o():o).map(lt)}:null,n})}function ct(t){return mt(t)||function(t){return t[et]||null}(t)}function lt(t){return function(t){return t[nt]||null}(t)}var ht={};function ft(t){return U(function(){var e={type:t.type,bootstrap:t.bootstrap||K,declarations:t.declarations||K,imports:t.imports||K,exports:t.exports||K,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(ht[t.id]=t.type),e})}function dt(t,e){return U(function(){var n=yt(t,!0);n.declarations=e.declarations||K,n.imports=e.imports||K,n.exports=e.exports||K})}function pt(t,e){if(null==t)return W;var n={};for(var r in t)if(t.hasOwnProperty(r)){var i=t[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,e&&(e[i]=o)}return n}var vt=ut;function gt(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function mt(t){return t[tt]||null}function yt(t,e){var n=t[rt]||null;if(!n&&!0===e)throw new Error("Type ".concat(w(t)," does not have '\u0275mod' property."));return n}function _t(t){return Array.isArray(t)&&"object"==typeof t[1]}function bt(t){return Array.isArray(t)&&!0===t[1]}function kt(t){return 0!=(8&t.flags)}function wt(t){return 2==(2&t.flags)}function Ct(t){return 1==(1&t.flags)}function xt(t){return null!==t.template}function Ot(t){return 0!=(512&t[2])}function Mt(t,e){return t.hasOwnProperty(ot)?t[ot]:null}var St=function(){function t(e,n,r){y(this,t),this.previousValue=e,this.currentValue=n,this.firstChange=r}return g(t,[{key:"isFirstChange",value:function(){return this.firstChange}}]),t}();function Pt(){return Et}function Et(t){return t.type.prototype.ngOnChanges&&(t.setInput=Tt),At}function At(){var t=Dt(this),e=null==t?void 0:t.current;if(e){var n=t.previous;if(n===W)t.previous=e;else for(var r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function Tt(t,e,n,r){var i=Dt(t)||function(t,e){return t[It]=e}(t,{previous:W,current:null}),o=i.current||(i.current={}),a=i.previous,s=this.declaredInputs[n],u=a[s];o[s]=new St(u&&u.currentValue,e,a===W),t[r]=e}Pt.ngInherit=!0;var It="__ngSimpleChanges__";function Dt(t){return t[It]||null}var Lt,Nt="http://www.w3.org/2000/svg";function zt(t){Lt=t}function Ft(){return void 0!==Lt?Lt:"undefined"!=typeof document?document:void 0}function Rt(t){return!!t.listen}var jt={createRenderer:function(t,e){return Ft()}};function Bt(t){for(;Array.isArray(t);)t=t[0];return t}function Vt(t,e){return Bt(e[t])}function Yt(t,e){return Bt(e[t.index])}function Zt(t,e){return t.data[e]}function qt(t,e){return t[e]}function Ut(t,e){var n=e[t];return _t(n)?n:n[0]}function Ht(t){return 4==(4&t[2])}function Gt(t){return 128==(128&t[2])}function Jt(t,e){return null==e?null:t[e]}function Xt(t){t[18]=0}function $t(t,e){t[5]+=e;for(var n=t,r=t[3];null!==r&&(1===e&&1===n[5]||-1===e&&0===n[5]);)r[5]+=e,n=r,r=r[3]}var Qt={lFrame:we(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Wt(){return Qt.bindingsEnabled}function Kt(){return Qt.lFrame.lView}function te(){return Qt.lFrame.tView}function ee(t){return Qt.lFrame.contextLView=t,t[8]}function ne(){for(var t=re();null!==t&&64===t.type;)t=t.parent;return t}function re(){return Qt.lFrame.currentTNode}function ie(t,e){var n=Qt.lFrame;n.currentTNode=t,n.isParent=e}function oe(){return Qt.lFrame.isParent}function ae(){Qt.lFrame.isParent=!1}function se(){return Qt.isInCheckNoChangesMode}function ue(t){Qt.isInCheckNoChangesMode=t}function ce(){var t=Qt.lFrame,e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function le(){return Qt.lFrame.bindingIndex}function he(){return Qt.lFrame.bindingIndex++}function fe(t){var e=Qt.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function de(t,e){var n=Qt.lFrame;n.bindingIndex=n.bindingRootIndex=t,pe(e)}function pe(t){Qt.lFrame.currentDirectiveIndex=t}function ve(t){var e=Qt.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function ge(){return Qt.lFrame.currentQueryIndex}function me(t){Qt.lFrame.currentQueryIndex=t}function ye(t){var e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function _e(t,e,n){if(n&Y.SkipSelf){for(var r=e,i=t;!(null!==(r=r.parent)||n&Y.Host||(r=ye(i),null===r||(i=i[15],10&r.type))););if(null===r)return!1;e=r,t=i}var o=Qt.lFrame=ke();return o.currentTNode=e,o.lView=t,!0}function be(t){var e=ke(),n=t[1];Qt.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function ke(){var t=Qt.lFrame,e=null===t?null:t.child;return null===e?we(t):e}function we(t){var e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function Ce(){var t=Qt.lFrame;return Qt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var xe=Ce;function Oe(){var t=Ce();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Me(){return Qt.lFrame.selectedIndex}function Se(t){Qt.lFrame.selectedIndex=t}function Pe(){var t=Qt.lFrame;return Zt(t.tView,t.selectedIndex)}function Ee(){Qt.lFrame.currentNamespace=Nt}function Ae(){Qt.lFrame.currentNamespace=null}function Te(t,e){for(var n=e.directiveStart,r=e.directiveEnd;n=r)break}else e[s]<0&&(t[18]+=65536),(a>11>16&&(3&t[2])===e){t[2]+=2048;try{o.call(a)}finally{}}}else try{o.call(a)}finally{}}var Fe=g(function t(e,n,r){y(this,t),this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r});function Re(t,e,n){for(var r=Rt(t),i=0;ie){a=o-1;break}}}for(;o>16}(t),r=e;n>0;)r=r[15],n--;return r}var He=!0;function Ge(t){var e=He;return He=t,e}var Je=0;function Xe(t,e){var n=Qe(t,e);if(-1!==n)return n;var r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,$e(r.data,t),$e(e,null),$e(r.blueprint,null));var i=We(t,e),o=t.injectorIndex;if(Ze(i))for(var a=qe(i),s=Ue(i,e),u=s[1].data,c=0;c<8;c++)e[o+c]=s[a+c]|u[a+c];return e[o+8]=i,o}function $e(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Qe(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function We(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;for(var n=0,r=null,i=e;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 Ke(t,e,n){!function(t,e,n){var r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(at)&&(r=n[at]),null==r&&(r=n[at]=Je++);var i=255&r;e.data[t+(i>>5)]|=1<3&&void 0!==arguments[3]?arguments[3]:Y.Default,i=arguments.length>4?arguments[4]:void 0;if(null!==t){var o=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;var e=t.hasOwnProperty(at)?t[at]:void 0;return"number"==typeof e?e>=0?255&e:on:e}(n);if("function"==typeof o){if(!_e(e,t,r))return r&Y.Host?tn(i,n,r):en(e,n,r,i);try{var a=o(r);if(null!=a||r&Y.Optional)return a;T(n)}finally{xe()}}else if("number"==typeof o){var s=null,u=Qe(t,e),c=-1,l=r&Y.Host?e[16][6]:null;for((-1===u||r&Y.SkipSelf)&&(-1!==(c=-1===u?We(t,e):e[u+8])&&ln(r,!1)?(s=e[1],u=qe(c),e=Ue(c,e)):u=-1);-1!==u;){var h=e[1];if(cn(o,u,h.data)){var f=an(u,e,n,s,r,l);if(f!==rn)return f}-1!==(c=e[u+8])&&ln(r,e[1].data[u+8]===l)&&cn(o,u,e)?(s=h,u=qe(c),e=Ue(c,e)):u=-1}}}return en(e,n,r,i)}var rn={};function on(){return new hn(ne(),Kt())}function an(t,e,n,r,i,o){var a=e[1],s=a.data[t+8],u=sn(s,a,n,null==r?wt(s)&&He:r!=a&&0!=(3&s.type),i&Y.Host&&o===s);return null!==u?un(e,a,u,s):rn}function sn(t,e,n,r,i){for(var o=t.providerIndexes,a=e.data,s=1048575&o,u=t.directiveStart,c=o>>20,l=i?s+c:t.directiveEnd,h=r?s:s+c;h=u&&f.type===n)return h}if(i){var d=a[u];if(d&&xt(d)&&d.type===n)return u}return null}function un(t,e,n,r){var i=t[n],o=e.data;if(function(t){return t instanceof Fe}(i)){var a=i;a.resolving&&function(t,e){throw new P("200","Circular dependency in DI detected for ".concat(t))}(A(o[n]));var s=Ge(a.canSeeViewProviders);a.resolving=!0;var u=a.injectImpl?Z(a.injectImpl):null;_e(t,r,Y.Default);try{i=t[n]=a.factory(void 0,o,t,r),e.firstCreatePass&&n>=r.directiveStart&&function(t,e,n){var r=e.type.prototype,i=r.ngOnChanges,o=r.ngOnInit,a=r.ngDoCheck;if(i){var s=Et(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,o),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,a))}(n,o[n],e)}finally{null!==u&&Z(u),Ge(s),a.resolving=!1,xe()}}return i}function cn(t,e,n){return!!(n[e+(t>>5)]&1<=t.length?t.push(n):t.splice(e,0,n)}function Cn(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function xn(t,e){for(var n=[],r=0;r=0?t[1|r]=n:function(t,e,n,r){var i=t.length;if(i==e)t.push(n,r);else if(1===i)t.push(r,t[0]),t[0]=n;else{for(i--,t.push(t[i-1],t[i]);i>e;)t[i]=t[i-2],i--;t[e]=n,t[e+1]=r}}(t,r=~r,e,n),r}function Mn(t,e){var n=Sn(t,e);if(n>=0)return t[1|n]}function Sn(t,e){return function(t,e,n){for(var r=0,i=t.length>>1;i!==r;){var o=r+(i-r>>1),a=t[o<<1];if(e===a)return o<<1;a>e?i=o:r=o+1}return~(i<<1)}(t,e)}var Pn,En={},An="__NG_DI_FLAG__",Tn="ngTempTokenPath",In=/\n/gm,Dn="__source",Ln=b({provide:String,useValue:b});function Nn(t){var e=Pn;return Pn=t,e}function zn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Y.Default;if(void 0===Pn)throw new Error("inject() must be called from an injection context");return null===Pn?q(t,void 0,e):Pn.get(t,e&Y.Optional?null:void 0,e)}function Fn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Y.Default;return(F||zn)(M(t),e)}var Rn=Fn;function jn(t){for(var e=[],n=0;n3&&void 0!==arguments[3]?arguments[3]:null;t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;var i=w(e);if(Array.isArray(e))i=e.map(w).join(" -> ");else if("object"==typeof e){var o=[];for(var a in e)if(e.hasOwnProperty(a)){var s=e[a];o.push(a+":"+("string"==typeof s?JSON.stringify(s):w(s)))}i="{".concat(o.join(", "),"}")}return"".concat(n).concat(r?"("+r+")":"","[").concat(i,"]: ").concat(t.replace(In,"\n "))}("\n"+t.message,i,n,r),t.ngTokenPath=i,t[Tn]=null,t}var Zn=Bn(gn("Inject",function(t){return{token:t}}),-1),qn=Bn(gn("Optional"),8),Un=Bn(gn("Self"),2),Hn=Bn(gn("SkipSelf"),4),Gn=((Gn=Gn||{})[Gn.Important=1]="Important",Gn[Gn.DashCase=2]="DashCase",Gn),Jn="__ngContext__";function Xn(t,e){t[Jn]=e}function $n(t){var e=function(t){return t[Jn]||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Qn(t,e){return(void 0)(t,e)}function Wn(t){var e=t[3];return bt(e)?e[3]:e}function Kn(t){return er(t[13])}function tr(t){return er(t[4])}function er(t){for(;null!==t&&!bt(t);)t=t[4];return t}function nr(t,e,n,r,i){if(null!=r){var o,a=!1;bt(r)?o=r:_t(r)&&(a=!0,r=r[0]);var s=Bt(r);0===t&&null!==n?null==i?lr(e,n,s):cr(e,n,s,i||null,!0):1===t&&null!==n?cr(e,n,s,i||null,!0):2===t?function(t,e,n){var r=fr(t,e);r&&function(t,e,n,r){Rt(t)?t.removeChild(e,n,r):e.removeChild(n)}(t,r,e,n)}(e,s,a):3===t&&e.destroyNode(s),null!=o&&function(t,e,n,r,i){var o=n[7];o!==Bt(n)&&nr(e,t,r,o,i);for(var a=10;a0&&(t[n-1][4]=r[4]);var o=Cn(t,10+e);!function(t,e){wr(t,e,e[11],2,null,null),e[0]=null,e[6]=null}(r[1],r);var a=o[19];null!==a&&a.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}}function ar(t,e){if(!(256&e[2])){var n=e[11];Rt(n)&&n.destroyNode&&wr(t,e,n,3,null,null),function(t){var e=t[13];if(!e)return sr(t[1],t);for(;e;){var n=null;if(_t(e))n=e[13];else{var r=e[10];r&&(n=r)}if(!n){for(;e&&!e[4]&&e!==t;)_t(e)&&sr(e[1],e),e=e[3];null===e&&(e=t),_t(e)&&sr(e[1],e),n=e&&e[4]}e=n}}(e)}}function sr(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){var n;if(null!=t&&null!=(n=t.destroyHooks))for(var r=0;r=0?r[i=c]():r[i=-c].unsubscribe(),o+=2}else{var l=r[i=n[o+1]];n[o].call(l)}if(null!==r){for(var h=i+1;h"),!0}},{key:"endElement",value:function(t){var e=t.nodeName.toLowerCase();Kr.hasOwnProperty(e)&&!$r.hasOwnProperty(e)&&(this.buf.push(""))}},{key:"chars",value:function(t){this.buf.push(si(t))}},{key:"checkClobberedElement",value:function(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: ".concat(t.outerHTML));return e}}]),t}(),oi=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ai=/([^\#-~ |!])/g;function si(t){return t.replace(/&/g,"&").replace(oi,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(ai,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}function ui(t,e){var n=null;try{Xr=Xr||function(t){var e=new Zr(t);return function(){try{return!!(new window.DOMParser).parseFromString(Mr(""),"text/html")}catch(t){return!1}}()?new Yr(e):e}(t);var r=e?String(e):"";n=Xr.getInertBodyElement(r);var i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=Xr.getInertBodyElement(r)}while(r!==o);return Mr((new ii).sanitizeChildren(ci(n)||n))}finally{if(n)for(var a=ci(n)||n;a.firstChild;)a.removeChild(a.firstChild)}}function ci(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var li=((li=li||{})[li.NONE=0]="NONE",li[li.HTML=1]="HTML",li[li.STYLE=2]="STYLE",li[li.SCRIPT=3]="SCRIPT",li[li.URL=4]="URL",li[li.RESOURCE_URL=5]="RESOURCE_URL",li);function hi(t){var e=di();return e?Sr(e.sanitize(li.HTML,t)||""):Nr(t,"HTML")?Sr(Lr(t)):ui(Ft(),E(t))}function fi(t){var e=di();return e?e.sanitize(li.URL,t)||"":Nr(t,"URL")?Lr(t):Hr(E(t))}function di(){var t=Kt();return t&&t[12]}function pi(t){return t.ngOriginalError}function vi(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;ro?"":i[l+1].toLowerCase();var f=8&r?h:null;if(f&&-1!==ki(f,c,0)||2&r&&c!==h){if(Si(r))return!1;a=!0}}}}else{if(!a&&!Si(r)&&!Si(u))return!1;if(a&&Si(u))continue;a=!1,r=u|1&r}}return Si(r)||a}function Si(t){return 0==(1&t)}function Pi(t,e,n,r){if(null===e)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&&!Si(a)&&(e+=Ti(o,i),i=""),r=a,o=o||!Si(r);n++}return""!==i&&(e+=Ti(o,i)),e}var Di={};function Li(t){Ni(te(),Kt(),Me()+t,se())}function Ni(t,e,n,r){if(!r)if(3==(3&e[2])){var i=t.preOrderCheckHooks;null!==i&&Ie(e,i,n)}else{var o=t.preOrderHooks;null!==o&&De(e,o,0,n)}Se(n)}function zi(t,e){return t<<17|e<<2}function Fi(t){return t>>17&32767}function Ri(t){return 2|t}function ji(t){return(131068&t)>>2}function Bi(t,e){return-131069&t|e<<2}function Vi(t){return 1|t}function Yi(t,e){var n=t.contentQueries;if(null!==n)for(var r=0;r20&&Ni(t,e,20,se()),n(r,i)}finally{Se(o)}}function $i(t,e,n){if(kt(e))for(var r=e.directiveEnd,i=e.directiveStart;i2&&void 0!==arguments[2]?arguments[2]:Yt,r=e.localNames;if(null!==r)for(var i=e.index+1,o=0;o0;){var n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(s)!=u&&s.push(u),s.push(r,i,a)}}function ao(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function so(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function uo(t,e,n){if(n){if(e.exportAs)for(var r=0;r0&&mo(n)}}function mo(t){for(var e=Kn(t);null!==e;e=tr(e))for(var n=10;n0&&mo(r)}var o=t[1].components;if(null!==o)for(var a=0;a0&&mo(s)}}function yo(t,e){var n=Ut(e,t),r=n[1];(function(t,e){for(var n=e.length;n1&&void 0!==arguments[1]?arguments[1]:En;if(e===En){var n=new Error("NullInjectorError: No provider for ".concat(w(t),"!"));throw n.name="NullInjectorError",n}return e}}]),t}(),Lo=new mn("Set Injector scope."),No={},zo={};function Fo(){return void 0===To&&(To=new Do),To}function Ro(t){var e=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 jo(t,n,e||Fo(),r)}var jo=function(){function t(e,n,r){var i=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;y(this,t),this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var a=[];n&&kn(n,function(t){return i.processProvider(t,e,n)}),kn([e],function(t){return i.processInjectorType(t,[],a)}),this.records.set(Io,Yo(void 0,this));var s=this.records.get(Lo);this.scope=null!=s?s.value:null,this.source=o||("object"==typeof e?null:w(e))}return g(t,[{key:"destroyed",get:function(){return this._destroyed}},{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(function(t){return t.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:En,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Y.Default;this.assertNotDestroyed();var r,i=Nn(this),o=Z(void 0);try{if(!(n&Y.SkipSelf)){var a=this.records.get(t);if(void 0===a){var s=("function"==typeof(r=t)||"object"==typeof r&&r instanceof mn)&&L(t);a=s&&this.injectableDefInScope(s)?Yo(Bo(t),No):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(n&Y.Self?Fo():this.parent).get(t,e=n&Y.Optional&&e===En?null:e)}catch(u){if("NullInjectorError"===u.name){if((u[Tn]=u[Tn]||[]).unshift(w(t)),i)throw u;return Yn(u,t,"R3InjectorError",this.source)}throw u}finally{Z(o),Nn(i)}}},{key:"_resolveInjectorDefTypes",value:function(){var t=this;this.injectorDefTypes.forEach(function(e){return t.get(e)})}},{key:"toString",value:function(){var t=[];return this.records.forEach(function(e,n){return t.push(w(n))}),"R3Injector[".concat(t.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(t,e,n){var r=this;if(!(t=M(t)))return!1;var i=z(t),o=null==i&&t.ngModule||void 0,a=void 0===o?t:o,s=-1!==n.indexOf(a);if(void 0!==o&&(i=z(o)),null==i)return!1;if(null!=i.imports&&!s){var u;n.push(a);try{kn(i.imports,function(t){r.processInjectorType(t,e,n)&&(void 0===u&&(u=[]),u.push(t))})}finally{}if(void 0!==u)for(var c=function(){var t=u[l],e=t.ngModule,n=t.providers;kn(n,function(t){return r.processProvider(t,e,n||K)})},l=0;l0){var n=xn(e,"?");throw new Error("Can't resolve all parameters for ".concat(w(t),": (").concat(n.join(", "),")."))}var r=function(t){var e=t&&(t[R]||t[B]);if(e){var n=function(t){if(t.hasOwnProperty("name"))return t.name;var e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);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.')),e}return null}(t);return null!==r?function(){return r.factory(t)}:function(){return new t}}(t);throw new Error("unreachable")}function Vo(t,e,n){var i;if(qo(t)){var o=M(t);return Mt(o)||Bo(o)}if(Zo(t))i=function(){return M(t.useValue)};else if(function(t){return!(!t||!t.useFactory)}(t))i=function(){return t.useFactory.apply(t,d(jn(t.deps||[])))};else if(function(t){return!(!t||!t.useExisting)}(t))i=function(){return Fn(M(t.useExisting))};else{var a=M(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return Mt(a)||Bo(a);i=function(){return r(a,d(jn(t.deps)))}}return i}function Yo(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:t,value:e,multi:n?[]:void 0}}function Zo(t){return null!==t&&"object"==typeof t&&Ln in t}function qo(t){return"function"==typeof t}var Uo,Ho=function(t,e,n){return function(t){var e=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=Ro(t,e,n,r);return i._resolveInjectorDefTypes(),i}({name:n},e,t,n)},Go=((Uo=function(){function t(){y(this,t)}return g(t,null,[{key:"create",value:function(t,e){return Array.isArray(t)?Ho(t,e,""):Ho(t.providers,t.parent,t.name||"")}}]),t}()).THROW_IF_NOT_FOUND=En,Uo.NULL=new Do,Uo.\u0275prov=I({token:Uo,providedIn:"any",factory:function(){return Fn(Io)}}),Uo.__NG_ELEMENT_ID__=-1,Uo);function Jo(t,e){Te($n(t)[1],ne())}function Xo(t){for(var e=function(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),n=!0,r=[t];e;){var i=void 0;if(xt(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");i=e.\u0275dir}if(i){if(n){r.push(i);var o=t;o.inputs=$o(t.inputs),o.declaredInputs=$o(t.declaredInputs),o.outputs=$o(t.outputs);var a=i.hostBindings;a&&Ko(t,a);var s=i.viewQuery,u=i.contentQueries;if(s&&Qo(t,s),u&&Wo(t,u),k(t.inputs,i.inputs),k(t.declaredInputs,i.declaredInputs),k(t.outputs,i.outputs),xt(i)&&i.data.animation){var c=t.data;c.animation=(c.animation||[]).concat(i.data.animation)}}var l=i.features;if(l)for(var h=0;h=0;r--){var i=t[r];i.hostVars=e+=i.hostVars,i.hostAttrs=Ve(i.hostAttrs,n=Ve(n,i.hostAttrs))}}(r)}function $o(t){return t===W?{}:t===K?[]:t}function Qo(t,e){var n=t.viewQuery;t.viewQuery=n?function(t,r){e(t,r),n(t,r)}:e}function Wo(t,e){var n=t.contentQueries;t.contentQueries=n?function(t,r,i){e(t,r,i),n(t,r,i)}:e}function Ko(t,e){var n=t.hostBindings;t.hostBindings=n?function(t,r){e(t,r),n(t,r)}:e}var ta=null;function ea(){if(!ta){var t=Q.Symbol;if(t&&t.iterator)ta=t.iterator;else for(var e=Object.getOwnPropertyNames(Map.prototype),n=0;n1&&void 0!==arguments[1]?arguments[1]:Y.Default,n=Kt();return null===n?Fn(t,e):nn(ne(),n,M(t),e)}function fa(){throw new Error("invalid")}function da(t,e,n){var r=Kt();return aa(r,he(),e)&&ro(te(),Pe(),r,t,e,r[11],n,!1),da}function pa(t,e,n,r,i){var o=i?"class":"style";Po(t,n,e.inputs[o],o,r)}function va(t,e,n,r){var i=Kt(),o=te(),a=20+t,s=i[11],u=i[a]=rr(s,e,Qt.lFrame.currentNamespace),c=o.firstCreatePass?function(t,e,n,r,i,o,a){var s=e.consts,u=qi(e,t,2,i,Jt(s,o));return io(e,n,u,Jt(s,a)),null!==u.attrs&&Ao(u,u.attrs,!1),null!==u.mergedAttrs&&Ao(u,u.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,u),u}(a,o,i,0,e,n,r):o.data[a];ie(c,!0);var l=c.mergedAttrs;null!==l&&Re(s,u,l);var h=c.classes;null!==h&&Or(s,u,h);var f=c.styles;null!==f&&xr(s,u,f),64!=(64&c.flags)&&mr(o,i,u,c),0===Qt.lFrame.elementDepthCount&&Xn(u,i),Qt.lFrame.elementDepthCount++,Ct(c)&&(Qi(o,i,c),$i(o,c,i)),null!==r&&Wi(i,c)}function ga(){var t=ne();oe()?ae():ie(t=t.parent,!1);var e=t;Qt.lFrame.elementDepthCount--;var n=te();n.firstCreatePass&&(Te(n,t),kt(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function(t){return 0!=(16&t.flags)}(e)&&pa(n,e,Kt(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return 0!=(32&t.flags)}(e)&&pa(n,e,Kt(),e.stylesWithoutHost,!1)}function ma(t,e,n,r){va(t,e,n,r),ga()}function ya(t,e,n){var r=Kt(),i=te(),o=t+20,a=i.firstCreatePass?function(t,e,n,r,i){var o=e.consts,a=Jt(o,r),s=qi(e,t,8,"ng-container",a);return null!==a&&Ao(s,a,!0),io(e,n,s,Jt(o,i)),null!==e.queries&&e.queries.elementStart(e,s),s}(o,i,r,e,n):i.data[o];ie(a,!0);var s=r[o]=r[11].createComment("");mr(i,r,s,a),Xn(s,r),Ct(a)&&(Qi(i,r,a),$i(i,a,r)),null!=n&&Wi(r,a)}function _a(){var t=ne(),e=te();oe()?ae():ie(t=t.parent,!1),e.firstCreatePass&&(Te(e,t),kt(t)&&e.queries.elementEnd(t))}function ba(t,e,n){ya(t,e,n),_a()}function ka(){return Kt()}function wa(t){return!!t&&"function"==typeof t.then}function Ca(t){return!!t&&"function"==typeof t.subscribe}var xa=Ca;function Oa(t,e,n,r){var i=Kt(),o=te(),a=ne();return function(t,e,n,r,i,o,a,s){var u=Ct(r),c=t.firstCreatePass&&Mo(t),l=e[8],h=Oo(e),f=!0;if(3&r.type||s){var d=Yt(r,e),p=s?s(d):d,v=h.length,g=s?function(t){return s(Bt(t[r.index]))}:r.index;if(Rt(n)){var m=null;if(!s&&u&&(m=function(t,e,n,r){var i=t.cleanup;if(null!=i)for(var o=0;ou?s[u]:null}"string"==typeof a&&(o+=2)}return null}(t,e,i,r.index)),null!==m)(m.__ngLastListenerFn__||m).__ngNextListenerFn__=o,m.__ngLastListenerFn__=o,f=!1;else{o=Sa(r,e,l,o,!1);var y=n.listen(p,i,o);h.push(o,y),c&&c.push(i,g,v,v+1)}}else o=Sa(r,e,l,o,!0),p.addEventListener(i,o,a),h.push(o),c&&c.push(i,g,v,a)}else o=Sa(r,e,l,o,!1);var _,b=r.outputs;if(f&&null!==b&&(_=b[i])){var k=_.length;if(k)for(var w=0;w0&&void 0!==arguments[0]?arguments[0]:1;return function(t){return(Qt.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,Qt.lFrame.contextLView))[8]}(t)}function Ea(t,e){for(var n=null,r=function(t){var e=t.attrs;if(null!=e){var n=e.indexOf(5);if(0==(1&n))return e[n+1]}return null}(t),i=0;i1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,r=Kt(),i=te(),o=qi(i,20+t,16,null,n||null);null===o.projection&&(o.projection=e),ae(),64!=(64&o.flags)&&function(t,e,n){Cr(e[11],0,e,n,ur(t,n,e),dr(n.parent||e[6],n,e))}(i,r,o)}function Ia(t,e,n,r,i){for(var o=t[n+1],a=null===e,s=r?Fi(o):ji(o),u=!1;0!==s&&(!1===u||a);){var c=t[s+1];Da(t[s],e)&&(u=!0,t[s+1]=r?Vi(c):Ri(c)),s=r?Fi(c):ji(c)}u&&(t[n+1]=r?Ri(o):Vi(o))}function Da(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&Sn(t,e)>=0}var La={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Na(t){return t.substring(La.key,La.keyEnd)}function za(t,e){var n=La.textEnd;return n===e?-1:(e=La.keyEnd=function(t,e,n){for(;e32;)e++;return e}(t,La.key=e,n),Fa(t,e,n))}function Fa(t,e,n){for(;e=0;n=za(e,n))On(t,Na(e),!0)}function Ya(t,e,n,r){var i=Kt(),o=te(),a=fe(2);o.firstUpdatePass&&qa(o,t,a,r),e!==Di&&aa(i,a,e)&&Ga(o,o.data[Me()],i,i[11],t,i[a+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=w(Lr(t)))),t}(e,n),r,a)}function Za(t,e){return e>=t.expandoStartIndex}function qa(t,e,n,r){var i=t.data;if(null===i[n+1]){var o=i[Me()],a=Za(t,n);$a(o,r)&&null===e&&!a&&(e=!1),e=function(t,e,n,r){var i=ve(t),o=r?e.residualClasses:e.residualStyles;if(null===i)0===(r?e.classBindings:e.styleBindings)&&(n=Ha(n=Ua(null,t,e,n,r),e.attrs,r),o=null);else{var a=e.directiveStylingLast;if(-1===a||t[a]!==i)if(n=Ua(i,t,e,n,r),null===o){var s=function(t,e,n){var r=n?e.classBindings:e.styleBindings;if(0!==ji(r))return t[Fi(r)]}(t,e,r);void 0!==s&&Array.isArray(s)&&function(t,e,n,r){t[Fi(n?e.classBindings:e.styleBindings)]=r}(t,e,r,s=Ha(s=Ua(null,t,e,s[1],r),e.attrs,r))}else o=function(t,e,n){for(var r,i=e.directiveEnd,o=1+e.directiveStylingLast;o0)&&(l=!0)}else c=n;if(i)if(0!==u){var f=Fi(t[s+1]);t[r+1]=zi(f,s),0!==f&&(t[f+1]=Bi(t[f+1],r)),t[s+1]=function(t,e){return 131071&t|e<<17}(t[s+1],r)}else t[r+1]=zi(s,0),0!==s&&(t[s+1]=Bi(t[s+1],r)),s=r;else t[r+1]=zi(u,0),0===s?s=r:t[u+1]=Bi(t[u+1],r),u=r;l&&(t[r+1]=Ri(t[r+1])),Ia(t,c,r,!0),Ia(t,c,r,!1),function(t,e,n,r,i){var o=i?t.residualClasses:t.residualStyles;null!=o&&"string"==typeof e&&Sn(o,e)>=0&&(n[r+1]=Vi(n[r+1]))}(e,c,t,r,o),a=zi(s,u),o?e.classBindings=a:e.styleBindings=a}(i,o,e,n,a,r)}}function Ua(t,e,n,r,i){var o=null,a=n.directiveEnd,s=n.directiveStylingLast;for(-1===s?s=n.directiveStart:s++;s0;){var u=t[i],c=Array.isArray(u),l=c?u[1]:u,h=null===l,f=n[i+1];f===Di&&(f=h?K:void 0);var d=h?Mn(f,r):l===r?f:void 0;if(c&&!Xa(d)&&(d=Mn(u,r)),Xa(d)&&(a=d,s))return a;var p=t[i+1];i=s?Fi(p):ji(p)}if(null!==e){var v=o?e.residualClasses:e.residualStyles;null!=v&&(a=Mn(v,r))}return a}function Xa(t){return void 0!==t}function $a(t,e){return 0!=(t.flags&(e?16:32))}function Qa(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Kt(),r=te(),i=t+20,o=r.firstCreatePass?qi(r,i,1,e,null):r.data[i],a=n[i]=function(t,e){return Rt(t)?t.createText(e):t.createTextNode(e)}(n[11],e);mr(r,n,a,o),ie(o,!1)}function Wa(t){return Ka("",t,""),Wa}function Ka(t,e,n){var r=Kt(),i=function(t,e,n,r){return aa(t,he(),n)?e+E(n)+r:Di}(r,t,e,n);return i!==Di&&Eo(r,Me(),i),Ka}function ts(t,e,n,r,i){var o=Kt(),a=function(t,e,n,r,i,o){var a=sa(t,le(),n,i);return fe(2),a?e+E(n)+r+E(i)+o:Di}(o,t,e,n,r,i);return a!==Di&&Eo(o,Me(),a),ts}function es(t,e,n){var r=Kt();return aa(r,he(),e)&&ro(te(),Pe(),r,t,e,r[11],n,!0),es}function ns(t,e,n){var r=Kt();if(aa(r,he(),e)){var i=te(),o=Pe();ro(i,o,r,t,e,function(t,e,n){return(null===t||xt(t))&&(n=function(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[0]}return null}(n[e.index])),n[11]}(ve(i.data),o,r),n,!0)}return ns}var rs=void 0,is=["en",[["a","p"],["AM","PM"],rs],[["AM","PM"],rs,rs],[["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"]],rs,[["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"]],rs,[["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}",rs,"{1} 'at' {0}",rs],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}],os={};function as(t){var e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t),n=us(e);if(n)return n;var r=e.split("-")[0];if(n=us(r))return n;if("en"===r)return is;throw new Error('Missing locale data for the locale "'.concat(t,'".'))}function ss(t){return as(t)[cs.PluralCase]}function us(t){return t in os||(os[t]=Q.ng&&Q.ng.common&&Q.ng.common.locales&&Q.ng.common.locales[t]),os[t]}var cs=((cs=cs||{})[cs.LocaleId=0]="LocaleId",cs[cs.DayPeriodsFormat=1]="DayPeriodsFormat",cs[cs.DayPeriodsStandalone=2]="DayPeriodsStandalone",cs[cs.DaysFormat=3]="DaysFormat",cs[cs.DaysStandalone=4]="DaysStandalone",cs[cs.MonthsFormat=5]="MonthsFormat",cs[cs.MonthsStandalone=6]="MonthsStandalone",cs[cs.Eras=7]="Eras",cs[cs.FirstDayOfWeek=8]="FirstDayOfWeek",cs[cs.WeekendRange=9]="WeekendRange",cs[cs.DateFormat=10]="DateFormat",cs[cs.TimeFormat=11]="TimeFormat",cs[cs.DateTimeFormat=12]="DateTimeFormat",cs[cs.NumberSymbols=13]="NumberSymbols",cs[cs.NumberFormats=14]="NumberFormats",cs[cs.CurrencyCode=15]="CurrencyCode",cs[cs.CurrencySymbol=16]="CurrencySymbol",cs[cs.CurrencyName=17]="CurrencyName",cs[cs.Currencies=18]="Currencies",cs[cs.Directionality=19]="Directionality",cs[cs.PluralCase=20]="PluralCase",cs[cs.ExtraData=21]="ExtraData",cs),ls="en-US";function hs(t){(function(t,e){null==t&&function(t,e,n,r){throw new Error("ASSERTION ERROR: ".concat(t)+" [Expected=> ".concat(null," ").concat("!="," ").concat(e," <=Actual]"))}(e,t)})(t,"Expected localeId to be defined"),"string"==typeof t&&t.toLowerCase().replace(/_/g,"-")}function fs(t,e,n,r,i){if(t=M(t),Array.isArray(t))for(var o=0;o>20;if(qo(t)||!t.multi){var p=new Fe(c,i,ha),v=vs(u,e,i?h:h+d,f);-1===v?(Ke(Xe(l,s),a,u),ds(a,t,e.length),e.push(u),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),n.push(p),s.push(p)):(n[v]=p,s[v]=p)}else{var g=vs(u,e,h+d,f),m=vs(u,e,h,h+d),y=g>=0&&n[g],_=m>=0&&n[m];if(i&&!_||!i&&!y){Ke(Xe(l,s),a,u);var b=function(t,e,n,r,i){var o=new Fe(t,n,ha);return o.multi=[],o.index=e,o.componentProviders=0,ps(o,i,r&&!n),o}(i?ms:gs,n.length,i,r,c);!i&&_&&(n[m].providerFactory=b),ds(a,t,e.length,0),e.push(u),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),n.push(b),s.push(b)}else ds(a,t,g>-1?g:m,ps(n[i?m:g],c,!i&&r));!i&&r&&_&&n[m].componentProviders++}}}function ds(t,e,n,r){var i=qo(e);if(i||function(t){return!!t.useClass}(e)){var o=(e.useClass||e).prototype.ngOnDestroy;if(o){var a=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){var s=a.indexOf(n);-1===s?a.push(n,[r,o]):a[s+1].push(r,o)}else a.push(n,o)}}}function ps(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function vs(t,e,n,r){for(var i=n;i1&&void 0!==arguments[1]?arguments[1]:[];return function(n){n.providersResolver=function(n,r){return function(t,e,n){var r=te();if(r.firstCreatePass){var i=xt(t);fs(n,r.data,r.blueprint,i,!0),fs(e,r.data,r.blueprint,i,!1)}}(n,r?r(t):t,e)}}}var bs=g(function t(){y(this,t)}),ks=function(){function t(){y(this,t)}return g(t,[{key:"resolveComponentFactory",value:function(t){throw function(t){var e=Error("No component factory found for ".concat(w(t),". Did you add it to @NgModule.entryComponents?"));return e.ngComponent=t,e}(t)}}]),t}(),ws=function(){var t=g(function t(){y(this,t)});return t.NULL=new ks,t}();function Cs(){}function xs(t,e){return new Ms(Yt(t,e))}var Os=function(){return xs(ne(),Kt())},Ms=function(){var t=g(function t(e){y(this,t),this.nativeElement=e});return t.__NG_ELEMENT_ID__=Os,t}();function Ss(t){return t instanceof Ms?t.nativeElement:t}var Ps=g(function t(){y(this,t)}),Es=function(){var t=g(function t(){y(this,t)});return t.__NG_ELEMENT_ID__=function(){return As()},t}(),As=function(){var t=Kt(),e=Ut(ne().index,t);return function(t){return t[11]}(_t(e)?e:t)},Ts=function(){var t=g(function t(){y(this,t)});return t.\u0275prov=I({token:t,providedIn:"root",factory:function(){return null}}),t}(),Is=g(function t(e){y(this,t),this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}),Ds=new Is("12.2.17"),Ls=function(){function t(){y(this,t)}return g(t,[{key:"supports",value:function(t){return ra(t)}},{key:"create",value:function(t){return new zs(t)}}]),t}(),Ns=function(t,e){return e},zs=function(){function t(e){y(this,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=e||Ns}return g(t,[{key:"forEachItem",value:function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)}},{key:"forEachOperation",value:function(t){for(var e=this._itHead,n=this._removalsHead,r=0,i=null;e||n;){var o=!n||e&&e.currentIndex4&&void 0!==arguments[4]&&arguments[4];null!==n;){var o=e[n.index];if(null!==o&&r.push(Bt(o)),bt(o))for(var a=10;a-1&&(or(t,n),Cn(e,n))}this._attachedToViewContainer=!1}ar(this._lView[1],this._lView)}},{key:"onDestroy",value:function(t){eo(this._lView[1],this._lView,null,t)}},{key:"markForCheck",value:function(){bo(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){ko(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(t,e,n){ue(!0);try{ko(t,e,n)}finally{ue(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}},{key:"detachFromAppRef",value:function(){var t;this._appRef=null,wr(this._lView[1],t=this._lView,t[11],2,null,null)}},{key:"attachToAppRef",value:function(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}]),t}(),$s=function(t){a(n,t);var e=u(n);function n(t){var r;return y(this,n),(r=e.call(this,t))._view=t,r}return g(n,[{key:"detectChanges",value:function(){wo(this._view)}},{key:"checkNoChanges",value:function(){!function(t){ue(!0);try{wo(t)}finally{ue(!1)}}(this._view)}},{key:"context",get:function(){return null}}]),n}(Xs),Qs=function(t){return function(t,e,n){if(wt(t)&&!n){var r=Ut(t.index,e);return new Xs(r,r)}return 47&t.type?new Xs(e[16],e):null}(ne(),Kt(),16==(16&t))},Ws=function(){var t=g(function t(){y(this,t)});return t.__NG_ELEMENT_ID__=Qs,t}(),Ks=[new Vs],tu=new Us([new Ls]),eu=new Gs(Ks),nu=function(){return ou(ne(),Kt())},ru=function(){var t=g(function t(){y(this,t)});return t.__NG_ELEMENT_ID__=nu,t}(),iu=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this))._declarationLView=t,o._declarationTContainer=r,o.elementRef=i,o}return g(n,[{key:"createEmbeddedView",value:function(t){var e=this._declarationTContainer.tViews,n=Zi(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];var r=this._declarationLView[19];return null!==r&&(n[19]=r.createEmbeddedView(e)),Hi(e,n,t),new Xs(n)}}]),n}(ru);function ou(t,e){return 4&t.type?new iu(e,t,xs(t,e)):null}var au=g(function t(){y(this,t)}),su=g(function t(){y(this,t)}),uu=function(){return du(ne(),Kt())},cu=function(){var t=g(function t(){y(this,t)});return t.__NG_ELEMENT_ID__=uu,t}(),lu=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this))._lContainer=t,o._hostTNode=r,o._hostLView=i,o}return g(n,[{key:"element",get:function(){return xs(this._hostTNode,this._hostLView)}},{key:"injector",get:function(){return new hn(this._hostTNode,this._hostLView)}},{key:"parentInjector",get:function(){var t=We(this._hostTNode,this._hostLView);if(Ze(t)){var e=Ue(t,this._hostLView),n=qe(t);return new hn(e[1].data[n+8],e)}return new hn(null,this._hostLView)}},{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(t){var e=hu(this._lContainer);return null!==e&&e[t]||null}},{key:"length",get:function(){return this._lContainer.length-10}},{key:"createEmbeddedView",value:function(t,e,n){var r=t.createEmbeddedView(e||{});return this.insert(r,n),r}},{key:"createComponent",value:function(t,e,n,r,i){var o=n||this.parentInjector;if(!i&&null==t.ngModule&&o){var a=o.get(au,null);a&&(i=a)}var s=t.create(o,r,void 0,i);return this.insert(s.hostView,e),s}},{key:"insert",value:function(t,e){var r=t._lView,i=r[1];if(bt(r[3])){var o=this.indexOf(t);if(-1!==o)this.detach(o);else{var a=r[3],s=new n(a,a[6],a[3]);s.detach(s.indexOf(t))}}var u=this._adjustIndex(e),c=this._lContainer;!function(t,e,n,r){var i=10+r,o=n.length;r>0&&(n[i-1][4]=e),r1&&void 0!==arguments[1]?arguments[1]:0;return null==t?this.length+e:t}}]),n}(cu);function hu(t){return t[8]}function fu(t){return t[8]||(t[8]=[])}function du(t,e){var n,r=e[t.index];if(bt(r))n=r;else{var i;if(8&t.type)i=Bt(r);else{var o=e[11];i=o.createComment("");var a=Yt(t,e);cr(o,fr(o,a),i,function(t,e){return Rt(t)?t.nextSibling(e):e.nextSibling}(o,a),!1)}e[t.index]=n=vo(r,e,i,t),_o(e,n)}return new lu(n,t,e)}var pu={},vu=function(t){a(n,t);var e=u(n);function n(t){var r;return y(this,n),(r=e.call(this)).ngModule=t,r}return g(n,[{key:"resolveComponentFactory",value:function(t){var e=mt(t);return new yu(e,this.ngModule)}}]),n}(ws);function gu(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}var mu=new mn("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return mi}}),yu=function(t){a(n,t);var e=u(n);function n(t,r){var i;return y(this,n),(i=e.call(this)).componentDef=t,i.ngModule=r,i.componentType=t.type,i.selector=t.selectors.map(Ii).join(","),i.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],i.isBoundToModule=!!r,i}return g(n,[{key:"inputs",get:function(){return gu(this.componentDef.inputs)}},{key:"outputs",get:function(){return gu(this.componentDef.outputs)}},{key:"create",value:function(t,e,n,r){var i,o,a=(r=r||this.ngModule)?function(t,e){return{get:function(n,r,i){var o=t.get(n,pu,i);return o!==pu||r===pu?o:e.get(n,r,i)}}}(t,r.injector):t,s=a.get(Ps,jt),u=a.get(Ts,null),c=s.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",h=n?function(t,e,n){if(Rt(t))return t.selectRootElement(e,n===G.ShadowDom);var r="string"==typeof e?t.querySelector(e):e;return r.textContent="",r}(c,n,this.componentDef.encapsulation):rr(s.createRenderer(null,this.componentDef),l,function(t){var e=t.toLowerCase();return"svg"===e?Nt:"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),f=this.componentDef.onPush?576:528,d={components:[],scheduler:mi,clean:xo,playerHandler:null,flags:0},p=to(0,null,null,1,0,null,null,null,null,null),v=Zi(null,p,d,f,null,null,s,c,u,a);be(v);try{var g=function(t,e,n,r,i,o){var a=n[1];n[20]=t;var s=qi(a,20,2,"#host",null),u=s.mergedAttrs=e.hostAttrs;null!==u&&(Ao(s,u,!0),null!==t&&(Re(i,t,u),null!==s.classes&&Or(i,t,s.classes),null!==s.styles&&xr(i,t,s.styles)));var c=r.createRenderer(t,e),l=Zi(n,Ki(e),null,e.onPush?64:16,n[20],s,r,c,null,null);return a.firstCreatePass&&(Ke(Xe(s,n),a,e.type),so(a,s),co(s,n.length,1)),_o(n,l),n[20]=l}(h,this.componentDef,v,s,c);if(h)if(n)Re(c,h,["ng-version",Ds.full]);else{var m=function(t){for(var e=[],n=[],r=1,i=2;r0&&Or(c,h,_.join(" "))}if(o=Zt(p,20),void 0!==e)for(var b=o.projection=[],k=0;k1&&void 0!==arguments[1]?arguments[1]:Go.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Y.Default;return t===Go||t===au||t===Io?this:this._r3Injector.get(t,e,n)}},{key:"destroy",value:function(){var t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(function(t){return t()}),this.destroyCbs=null}},{key:"onDestroy",value:function(t){this.destroyCbs.push(t)}}]),n}(au),wu=function(t){a(n,t);var e=u(n);function n(t){var r;return y(this,n),(r=e.call(this)).moduleType=t,null!==yt(t)&&function(t){var e=new Set;!function t(n){var r=yt(n,!0),i=r.id;null!==i&&(function(t,e,n){if(e&&e!==n)throw new Error("Duplicate module registered for ".concat(t," - ").concat(w(e)," vs ").concat(w(e.name)))}(i,bu.get(i),n),bu.set(i,n));var o,a=_(bi(r.imports));try{for(a.s();!(o=a.n()).done;){var s=o.value;e.has(s)||(e.add(s),t(s))}}catch(u){a.e(u)}finally{a.f()}}(t)}(t),r}return g(n,[{key:"create",value:function(t){return new ku(this.moduleType,t)}}]),n}(su);function Cu(t,e,n){var r=ce()+t,i=Kt();return i[r]===Di?oa(i,r,n?e.call(n):e()):function(t,e){return t[e]}(i,r)}function xu(t,e,n,r){return Su(Kt(),ce(),t,e,n,r)}function Ou(t,e,n,r,i){return Pu(Kt(),ce(),t,e,n,r,i)}function Mu(t,e){var n=t[e];return n===Di?void 0:n}function Su(t,e,n,r,i,o){var a=e+n;return aa(t,a,i)?oa(t,a+1,o?r.call(o,i):r(i)):Mu(t,a+1)}function Pu(t,e,n,r,i,o,a){var s=e+n;return sa(t,s,i,o)?oa(t,s+2,a?r.call(a,i,o):r(i,o)):Mu(t,s+2)}function Eu(t,e){var n,r=te(),i=t+20;r.firstCreatePass?(n=function(t,e){if(e)for(var n=e.length-1;n>=0;n--){var r=e[n];if(t===r.name)return r}throw new P("302","The pipe '".concat(t,"' could not be found!"))}(e,r.pipeRegistry),r.data[i]=n,n.onDestroy&&(r.destroyHooks||(r.destroyHooks=[])).push(i,n.onDestroy)):n=r.data[i];var o=n.factory||(n.factory=Mt(n.type)),a=Z(ha);try{var s=Ge(!1),u=o();return Ge(s),function(t,e,n,r){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=r}(r,Kt(),i,u),u}finally{Z(a)}}function Au(t,e,n){var r=t+20,i=Kt(),o=qt(i,r);return Lu(i,Du(i,r)?Su(i,ce(),e,o.transform,n,o):o.transform(n))}function Tu(t,e,n,r){var i=t+20,o=Kt(),a=qt(o,i);return Lu(o,Du(o,i)?Pu(o,ce(),e,a.transform,n,r,a):a.transform(n,r))}function Iu(t,e,n,r,i){var o=t+20,a=Kt(),s=qt(a,o);return Lu(a,Du(a,o)?function(t,e,n,r,i,o,a,s){var u=e+n;return function(t,e,n,r,i){var o=sa(t,e,n,r);return aa(t,e+2,i)||o}(t,u,i,o,a)?oa(t,u+3,s?r.call(s,i,o,a):r(i,o,a)):Mu(t,u+3)}(a,ce(),e,s.transform,n,r,i,s):s.transform(n,r,i))}function Du(t,e){return t[1].data[e].pure}function Lu(t,e){return na.isWrapped(e)&&(e=na.unwrap(e),t[le()]=Di),e}function Nu(t){return function(e){setTimeout(t,void 0,e)}}var zu=function(t){a(n,t);var e=u(n);function n(){var t,r=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return y(this,n),(t=e.call(this)).__isAsync=r,t}return g(n,[{key:"emit",value:function(t){i(f(n.prototype),"next",this).call(this,t)}},{key:"subscribe",value:function(t,e,r){var o,a,s,u=t,l=e||function(){return null},h=r;if(t&&"object"==typeof t){var d=t;u=null===(o=d.next)||void 0===o?void 0:o.bind(d),l=null===(a=d.error)||void 0===a?void 0:a.bind(d),h=null===(s=d.complete)||void 0===s?void 0:s.bind(d)}this.__isAsync&&(l=Nu(l),u&&(u=Nu(u)),h&&(h=Nu(h)));var p=i(f(n.prototype),"subscribe",this).call(this,{next:u,error:l,complete:h});return t instanceof c.w&&t.add(p),p}}]),n}(s.xQ);function Fu(){return this._results[ea()]()}var Ru=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];y(this,t),this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;var n=ea(),r=t.prototype;r[n]||(r[n]=Fu)}return g(t,[{key:"changes",get:function(){return this._changes||(this._changes=new zu)}},{key:"get",value:function(t){return this._results[t]}},{key:"map",value:function(t){return this._results.map(t)}},{key:"filter",value:function(t){return this._results.filter(t)}},{key:"find",value:function(t){return this._results.find(t)}},{key:"reduce",value:function(t,e){return this._results.reduce(t,e)}},{key:"forEach",value:function(t){this._results.forEach(t)}},{key:"some",value:function(t){return this._results.some(t)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(t,e){var n=this;n.dirty=!1;var r=bn(t);(this._changesDetected=!function(t,e,n){if(t.length!==e.length)return!1;for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:[];y(this,t),this.queries=e}return g(t,[{key:"createEmbeddedView",value:function(e){var n=e.queries;if(null!==n){for(var r=null!==e.contentQueries?e.contentQueries[0]:n.length,i=[],o=0;o2&&void 0!==arguments[2]?arguments[2]:null;y(this,t),this.predicate=e,this.flags=n,this.read=r}),Yu=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];y(this,t),this.queries=e}return g(t,[{key:"elementStart",value:function(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:-1;y(this,t),this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}return g(t,[{key:"elementStart",value:function(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}},{key:"elementEnd",value:function(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(t,e){this.elementStart(t,e)}},{key:"embeddedTView",value:function(e,n){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,n),new t(this.metadata)):null}},{key:"isApplyingToNode",value:function(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){for(var e=this._declarationNodeIndex,n=t.parent;null!==n&&8&n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(t,e){var n=this.metadata.predicate;if(Array.isArray(n))for(var r=0;r0)r.push(a[s/2]);else{for(var c=o[s+1],l=e[-u],h=10;h0&&(i=setTimeout(function(){r._callbacks=r._callbacks.filter(function(t){return t.timeoutId!==i}),t(r._didWork,r.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:n})}},{key:"whenStable",value:function(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/plugins/task-tracking" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(t,e,n){return[]}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Fn(Cc))},t.\u0275prov=I({token:t,factory:t.\u0275fac}),t}(),Tc=function(){var t=function(){function t(){y(this,t),this._applications=new Map,Lc.addToWindow(this)}return g(t,[{key:"registerApplication",value:function(t,e){this._applications.set(t,e)}},{key:"unregisterApplication",value:function(t){this._applications.delete(t)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(t){return this._applications.get(t)||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(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Lc.findTestabilityInTree(this,t,e)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=I({token:t,factory:t.\u0275fac}),t}();function Ic(t){Lc=t}var Dc,Lc=new(function(){function t(){y(this,t)}return g(t,[{key:"addToWindow",value:function(t){}},{key:"findTestabilityInTree",value:function(t,e,n){return null}}]),t}());function Nc(){return!0,!0}var zc=new mn("AllowMultipleToken"),Fc=g(function t(e,n){y(this,t),this.name=e,this.token=n});function Rc(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r="Platform: ".concat(e),i=new mn(r);return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=jc();if(!o||o.injector.get(zc,!1))if(t)t(n.concat(e).concat({provide:i,useValue:!0}));else{var a=n.concat(e).concat({provide:i,useValue:!0},{provide:Lo,useValue:"platform"});!function(t){if(Dc&&!Dc.destroyed&&!Dc.injector.get(zc,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Dc=t.get(Bc);var e=t.get(sc,null);e&&e.forEach(function(t){return t()})}(Go.create({providers:a,name:r}))}return function(t){var e=jc();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}(i)}}function jc(){return Dc&&!Dc.destroyed?Dc:null}var Bc=function(){var t=function(){function t(e){y(this,t),this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return g(t,[{key:"bootstrapModuleFactory",value:function(t,e){var n=this,r=function(t,e){return"noop"===t?new Ec:("zone.js"===t?void 0:t)||new Cc({enableLongStackTrace:Nc(),shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)})}(e?e.ngZone:void 0,{ngZoneEventCoalescing:e&&e.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:e&&e.ngZoneRunCoalescing||!1}),i=[{provide:Cc,useValue:r}];return r.run(function(){var o=Go.create({providers:i,parent:n.injector,name:t.moduleType.name}),a=t.create(o),s=a.injector.get(gi,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return r.runOutsideAngular(function(){var t=r.onError.subscribe({next:function(t){s.handleError(t)}});a.onDestroy(function(){Zc(n._modules,a),t.unsubscribe()})}),function(t,r,i){try{var o=((s=a.injector.get(rc)).runInitializers(),s.donePromise.then(function(){return hs(a.injector.get(hc,ls)||ls),n._moduleDoBootstrap(a),a}));return wa(o)?o.catch(function(e){throw r.runOutsideAngular(function(){return t.handleError(e)}),e}):o}catch(e){throw r.runOutsideAngular(function(){return t.handleError(e)}),e}var s}(s,r)})}},{key:"bootstrapModule",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Vc({},n);return function(t,e,n){var r=new wu(n);return Promise.resolve(r)}(0,0,t).then(function(t){return e.bootstrapModuleFactory(t,r)})}},{key:"_moduleDoBootstrap",value:function(t){var e=t.injector.get(Yc);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module ".concat(w(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)}},{key:"onDestroy",value:function(t){this._destroyListeners.push(t)}},{key:"injector",get:function(){return this._injector}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(t){return t.destroy()}),this._destroyListeners.forEach(function(t){return t()}),this._destroyed=!0}},{key:"destroyed",get:function(){return this._destroyed}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Fn(Go))},t.\u0275prov=I({token:t,factory:t.\u0275fac}),t}();function Vc(t,e){return Array.isArray(e)?e.reduce(Vc,t):Object.assign(Object.assign({},t),e)}var Yc=function(){var t=function(){function t(e,n,r,i,o){var a=this;y(this,t),this._zone=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:function(){a._zone.run(function(){a.tick()})}});var s=new h.y(function(t){a._stable=a._zone.isStable&&!a._zone.hasPendingMacrotasks&&!a._zone.hasPendingMicrotasks,a._zone.runOutsideAngular(function(){t.next(a._stable),t.complete()})}),u=new h.y(function(t){var e;a._zone.runOutsideAngular(function(){e=a._zone.onStable.subscribe(function(){Cc.assertNotInAngularZone(),wc(function(){!a._stable&&!a._zone.hasPendingMacrotasks&&!a._zone.hasPendingMicrotasks&&(a._stable=!0,t.next(!0))})})});var n=a._zone.onUnstable.subscribe(function(){Cc.assertInAngularZone(),a._stable&&(a._stable=!1,a._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});this.isStable=(0,v.T)(s,u.pipe((0,m.B)()))}return g(t,[{key:"bootstrap",value:function(t,e){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=t instanceof bs?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var i=function(t){return t.isBoundToModule}(n)?void 0:this._injector.get(au),o=n.create(Go.NULL,[],e||n.selector,i),a=o.location.nativeElement,s=o.injector.get(Ac,null),u=s&&o.injector.get(Tc);return s&&u&&u.registerApplication(a,s),o.onDestroy(function(){r.detachView(o.hostView),Zc(r.components,o),u&&u.unregisterApplication(a)}),this._loadComponent(o),o}},{key:"tick",value:function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var e,n=_(this._views);try{for(n.s();!(e=n.n()).done;){var r;e.value.detectChanges()}}catch(i){n.e(i)}finally{n.f()}}catch(r){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(r)})}finally{this._runningTick=!1}}},{key:"attachView",value:function(t){var e=t;this._views.push(e),e.attachToAppRef(this)}},{key:"detachView",value:function(t){var e=t;Zc(this._views,e),e.detachFromAppRef()}},{key:"_loadComponent",value:function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(cc,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach(function(t){return t.destroy()}),this._onMicrotaskEmptySubscription.unsubscribe()}},{key:"viewCount",get:function(){return this._views.length}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Fn(Cc),Fn(Go),Fn(gi),Fn(ws),Fn(rc))},t.\u0275prov=I({token:t,factory:t.\u0275fac}),t}();function Zc(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var qc=g(function t(){y(this,t)}),Uc=g(function t(){y(this,t)}),Hc={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Gc=function(){var t=function(){function t(e,n){y(this,t),this._compiler=e,this._config=n||Hc}return g(t,[{key:"load",value:function(t){return this.loadAndCompile(t)}},{key:"loadAndCompile",value:function(t){var e=this,n=p(t.split("#"),2),r=n[0],i=n[1];return void 0===i&&(i="default"),o(69153)(r).then(function(t){return t[i]}).then(function(t){return Jc(t,r,i)}).then(function(t){return e._compiler.compileModuleAsync(t)})}},{key:"loadFactory",value:function(t){var e=p(t.split("#"),2),n=e[0],r=e[1],i="NgFactory";return void 0===r&&(r="default",i=""),o(69153)(this._config.factoryPathPrefix+n+this._config.factoryPathSuffix).then(function(t){return t[r+i]}).then(function(t){return Jc(t,n,r)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Fn(bc),Fn(Uc,8))},t.\u0275prov=I({token:t,factory:t.\u0275fac}),t}();function Jc(t,e,n){if(!t)throw new Error("Cannot find '".concat(n,"' in '").concat(e,"'"));return t}var Xc=function(t){return null},$c=Rc(null,"core",[{provide:uc,useValue:"unknown"},{provide:Bc,deps:[Go]},{provide:Tc,deps:[]},{provide:lc,deps:[]}]),Qc=[{provide:Yc,useClass:Yc,deps:[Cc,Go,gi,ws,rc]},{provide:mu,deps:[Cc],useFactory:function(t){var e=[];return t.onStable.subscribe(function(){for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:rc,useClass:rc,deps:[[new qn,nc]]},{provide:bc,useClass:bc,deps:[]},oc,{provide:Us,useFactory:function(){return tu},deps:[]},{provide:Gs,useFactory:function(){return eu},deps:[]},{provide:hc,useFactory:function(t){return hs(t=t||"undefined"!=typeof $localize&&$localize.locale||ls),t},deps:[[new Zn(hc),new qn,new Hn]]},{provide:fc,useValue:"USD"}],Wc=function(){var t=g(function t(e){y(this,t)});return t.\u0275fac=function(e){return new(e||t)(Fn(Yc))},t.\u0275mod=ft({type:t}),t.\u0275inj=D({providers:Qc}),t}()},87862:function(t,e,n){"use strict";n.d(e,{gN:function(){return V},Fj:function(){return C},NI:function(){return ft},oH:function(){return wt},u:function(){return Mt},cw:function(){return dt},sg:function(){return xt},u5:function(){return Pt},JU:function(){return b},a5:function(){return Y},JJ:function(){return q},JL:function(){return U},On:function(){return mt},UX:function(){return Et},_Y:function(){return yt}});var r=n(74788),i=n(12057),o=n(29856),s=n(59796),c=n(88002),l=n(81555),h=n(97968);function f(t,e){return new o.y(function(n){var r=t.length;if(0!==r)for(var i=new Array(r),o=0,a=0,s=function(s){var u=(0,h.D)(t[s]),c=!1;n.add(u.subscribe({next:function(t){c||(c=!0,a++),i[s]=t},error:function(t){return n.error(t)},complete:function(){(++o===r||!c)&&(a===r&&n.next(e?e.reduce(function(t,e,n){return t[e]=i[n],t},{}):i),n.complete())}}))},u=0;u0){var i=r.filter(function(t){return t!==e.validator});i.length!==r.length&&(n=!0,t.setValidators(i))}}if(null!==e.asyncValidator){var o=N(t);if(Array.isArray(o)&&o.length>0){var a=o.filter(function(t){return t!==e.asyncValidator});a.length!==o.length&&(n=!0,t.setAsyncValidators(a))}}}var s=function(){};return X(e._rawValidators,s),X(e._rawAsyncValidators,s),n}function W(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function K(t,e){if(!t.hasOwnProperty("model"))return!1;var n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}function tt(t,e){return e?(Array.isArray(e),e.forEach(function(t){t.constructor===C?n=t:function(t){return Object.getPrototypeOf(t.constructor)===m}(t)?r=t:i=t}),i||r||n||null):null;var n,r,i}function et(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var nt="VALID",rt="INVALID",it="PENDING",ot="DISABLED";function at(t){return(lt(t)?t.validators:t)||null}function st(t){return Array.isArray(t)?T(t):t||null}function ut(t,e){return(lt(e)?e.asyncValidators:t)||null}function ct(t){return Array.isArray(t)?I(t):t||null}function lt(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}var ht=function(){function t(e,n){y(this,t),this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=function(){},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=e,this._rawAsyncValidators=n,this._composedValidatorFn=st(this._rawValidators),this._composedAsyncValidatorFn=ct(this._rawAsyncValidators)}return g(t,[{key:"validator",get:function(){return this._composedValidatorFn},set:function(t){this._rawValidators=this._composedValidatorFn=t}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn},set:function(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}},{key:"parent",get:function(){return this._parent}},{key:"valid",get:function(){return this.status===nt}},{key:"invalid",get:function(){return this.status===rt}},{key:"pending",get:function(){return this.status==it}},{key:"disabled",get:function(){return this.status===ot}},{key:"enabled",get:function(){return this.status!==ot}},{key:"dirty",get:function(){return!this.pristine}},{key:"untouched",get:function(){return!this.touched}},{key:"updateOn",get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}},{key:"setValidators",value:function(t){this._rawValidators=t,this._composedValidatorFn=st(t)}},{key:"setAsyncValidators",value:function(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=ct(t)}},{key:"addValidators",value:function(t){this.setValidators(R(t,this._rawValidators))}},{key:"addAsyncValidators",value:function(t){this.setAsyncValidators(R(t,this._rawAsyncValidators))}},{key:"removeValidators",value:function(t){this.setValidators(j(t,this._rawValidators))}},{key:"removeAsyncValidators",value:function(t){this.setAsyncValidators(j(t,this._rawAsyncValidators))}},{key:"hasValidator",value:function(t){return F(this._rawValidators,t)}},{key:"hasAsyncValidator",value:function(t){return F(this._rawAsyncValidators,t)}},{key:"clearValidators",value:function(){this.validator=null}},{key:"clearAsyncValidators",value:function(){this.asyncValidator=null}},{key:"markAsTouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}},{key:"markAllAsTouched",value:function(){this.markAsTouched({onlySelf:!0}),this._forEachChild(function(t){return t.markAllAsTouched()})}},{key:"markAsUntouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(t){t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}},{key:"markAsDirty",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}},{key:"markAsPristine",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(t){t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}},{key:"markAsPending",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.status=it,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}},{key:"disable",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this._parentMarkedDirty(t.onlySelf);this.status=ot,this.errors=null,this._forEachChild(function(e){e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(function(t){return t(!0)})}},{key:"enable",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this._parentMarkedDirty(t.onlySelf);this.status=nt,this._forEachChild(function(e){e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(function(t){return t(!1)})}},{key:"_updateAncestors",value:function(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}},{key:"setParent",value:function(t){this._parent=t}},{key:"updateValueAndValidity",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===nt||this.status===it)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}},{key:"_updateTreeValidity",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!0};this._forEachChild(function(e){return e._updateTreeValidity(t)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}},{key:"_setInitialStatus",value:function(){this.status=this._allControlsDisabled()?ot:nt}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(t){var e=this;if(this.asyncValidator){this.status=it,this._hasOwnPendingAsyncValidator=!0;var n=S(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(function(n){e._hasOwnPendingAsyncValidator=!1,e.setErrors(n,{emitEvent:t})})}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}},{key:"setErrors",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}},{key:"get",value:function(t){return function(t,e,n){if(null==e||(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length))return null;var r=t;return e.forEach(function(t){r=r instanceof dt?r.controls.hasOwnProperty(t)?r.controls[t]:null:r instanceof pt&&r.at(t)||null}),r}(this,t)}},{key:"getError",value:function(t,e){var n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}},{key:"hasError",value:function(t,e){return!!this.getError(t,e)}},{key:"root",get:function(){for(var t=this;t._parent;)t=t._parent;return t}},{key:"_updateControlsErrors",value:function(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}},{key:"_initObservables",value:function(){this.valueChanges=new r.vpe,this.statusChanges=new r.vpe}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?ot:this.errors?rt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(it)?it:this._anyControlsHaveStatus(rt)?rt:nt}},{key:"_anyControlsHaveStatus",value:function(t){return this._anyControls(function(e){return e.status===t})}},{key:"_anyControlsDirty",value:function(){return this._anyControls(function(t){return t.dirty})}},{key:"_anyControlsTouched",value:function(){return this._anyControls(function(t){return t.touched})}},{key:"_updatePristine",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}},{key:"_updateTouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}},{key:"_isBoxedValue",value:function(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}},{key:"_registerOnCollectionChange",value:function(t){this._onCollectionChange=t}},{key:"_setUpdateStrategy",value:function(t){lt(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}},{key:"_parentMarkedDirty",value:function(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}]),t}(),ft=function(t){a(n,t);var e=u(n);function n(){var t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0;return y(this,n),(t=e.call(this,at(i),ut(o,i)))._onChange=[],t._applyFormState(r),t._setUpdateStrategy(i),t._initObservables(),t.updateValueAndValidity({onlySelf:!0,emitEvent:!!t.asyncValidator}),t}return g(n,[{key:"setValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(function(t){return t(e.value,!1!==n.emitViewToModelChange)}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(t,e)}},{key:"reset",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(t){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(t){this._onChange.push(t)}},{key:"_unregisterOnChange",value:function(t){et(this._onChange,t)}},{key:"registerOnDisabledChange",value:function(t){this._onDisabledChange.push(t)}},{key:"_unregisterOnDisabledChange",value:function(t){et(this._onDisabledChange,t)}},{key:"_forEachChild",value:function(t){}},{key:"_syncPendingControls",value:function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}},{key:"_applyFormState",value:function(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}]),n}(ht),dt=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,at(r),ut(i,r))).controls=t,o._initObservables(),o._setUpdateStrategy(r),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!!o.asyncValidator}),o}return g(n,[{key:"registerControl",value:function(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}},{key:"addControl",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}},{key:"removeControl",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}},{key:"setControl",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}},{key:"contains",value:function(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}},{key:"setValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(t),Object.keys(t).forEach(function(r){e._throwIfControlMissing(r),e.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=t&&(Object.keys(t).forEach(function(r){e.controls[r]&&e.controls[r].patchValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}},{key:"reset",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}},{key:"getRawValue",value:function(){return this._reduceChildren({},function(t,e,n){return t[n]=e instanceof ft?e.value:e.getRawValue(),t})}},{key:"_syncPendingControls",value:function(){var t=this._reduceChildren(!1,function(t,e){return!!e._syncPendingControls()||t});return t&&this.updateValueAndValidity({onlySelf:!0}),t}},{key:"_throwIfControlMissing",value:function(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error("Cannot find form control with name: ".concat(t,"."))}},{key:"_forEachChild",value:function(t){var e=this;Object.keys(this.controls).forEach(function(n){var r=e.controls[n];r&&t(r,n)})}},{key:"_setUpControls",value:function(){var t=this;this._forEachChild(function(e){e.setParent(t),e._registerOnCollectionChange(t._onCollectionChange)})}},{key:"_updateValue",value:function(){this.value=this._reduceValue()}},{key:"_anyControls",value:function(t){for(var e=0,n=Object.keys(this.controls);e0||this.disabled}},{key:"_checkAllValuesPresent",value:function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control with name: '".concat(n,"'."))})}}]),n}(ht),pt=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,at(r),ut(i,r))).controls=t,o._initObservables(),o._setUpdateStrategy(r),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!!o.asyncValidator}),o}return g(n,[{key:"at",value:function(t){return this.controls[t]}},{key:"push",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}},{key:"insert",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent})}},{key:"removeAt",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}},{key:"setControl",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}},{key:"length",get:function(){return this.controls.length}},{key:"setValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(t),t.forEach(function(t,r){e._throwIfControlMissing(r),e.at(r).setValue(t,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=t&&(t.forEach(function(t,r){e.at(r)&&e.at(r).patchValue(t,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}},{key:"reset",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}},{key:"getRawValue",value:function(){return this.controls.map(function(t){return t instanceof ft?t.value:t.getRawValue()})}},{key:"clear",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.controls.length<1||(this._forEachChild(function(t){return t._registerOnCollectionChange(function(){})}),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}},{key:"_syncPendingControls",value:function(){var t=this.controls.reduce(function(t,e){return!!e._syncPendingControls()||t},!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}},{key:"_throwIfControlMissing",value:function(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error("Cannot find form control at index ".concat(t))}},{key:"_forEachChild",value:function(t){this.controls.forEach(function(e,n){t(e,n)})}},{key:"_updateValue",value:function(){var t=this;this.value=this.controls.filter(function(e){return e.enabled||t.disabled}).map(function(t){return t.value})}},{key:"_anyControls",value:function(t){return this.controls.some(function(e){return e.enabled&&t(e)})}},{key:"_setUpControls",value:function(){var t=this;this._forEachChild(function(e){return t._registerControl(e)})}},{key:"_checkAllValuesPresent",value:function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control at index: ".concat(n,"."))})}},{key:"_allControlsDisabled",value:function(){var t,e=_(this.controls);try{for(e.s();!(t=e.n()).done;){if(t.value.enabled)return!1}}catch(n){e.e(n)}finally{e.f()}return this.controls.length>0||this.disabled}},{key:"_registerControl",value:function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}]),n}(ht),vt={provide:Y,useExisting:(0,r.Gpc)(function(){return mt})},gt=Promise.resolve(null),mt=function(){var t=function(t){a(n,t);var e=u(n);function n(t,i,o,a){var s;return y(this,n),(s=e.call(this)).control=new ft,s._registered=!1,s.update=new r.vpe,s._parent=t,s._setValidators(i),s._setAsyncValidators(o),s.valueAccessor=tt(0,a),s}return g(n,[{key:"ngOnChanges",value:function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),K(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"path",get:function(){return this._parent?H(this.name,this._parent):[this.name]}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"viewToModelUpdate",value:function(t){this.viewModel=t,this.update.emit(t)}},{key:"_setUpControl",value:function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}},{key:"_isStandalone",value:function(){return!this._parent||!(!this.options||!this.options.standalone)}},{key:"_setUpStandalone",value:function(){G(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}},{key:"_checkForErrors",value:function(){this._isStandalone()||this._checkParentType(),this._checkName()}},{key:"_checkParentType",value:function(){}},{key:"_checkName",value:function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}},{key:"_updateValue",value:function(t){var e=this;gt.then(function(){e.control.setValue(t,{emitViewToModelChange:!1})})}},{key:"_updateDisabled",value:function(t){var e=this,n=t.isDisabled.currentValue,r=""===n||n&&"false"!==n;gt.then(function(){r&&!e.control.disabled?e.control.disable():!r&&e.control.disabled&&e.control.enable()})}}]),n}(Y);return t.\u0275fac=function(e){return new(e||t)(r.Y36(V,9),r.Y36(x,10),r.Y36(O,10),r.Y36(b,10))},t.\u0275dir=r.lG2({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[r._Bn([vt]),r.qOj,r.TTD]}),t}(),yt=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t}(),_t=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t}(),bt=new r.OlP("NgModelWithFormControlWarning"),kt={provide:Y,useExisting:(0,r.Gpc)(function(){return wt})},wt=function(){var t=function(t){a(n,t);var e=u(n);function n(t,i,o,a){var s;return y(this,n),(s=e.call(this))._ngModelWarningConfig=a,s.update=new r.vpe,s._ngModelWarningSent=!1,s._setValidators(t),s._setAsyncValidators(i),s.valueAccessor=tt(0,o),s}return g(n,[{key:"isDisabled",set:function(t){}},{key:"ngOnChanges",value:function(t){if(this._isControlChanged(t)){var e=t.form.previousValue;e&&J(e,this,!1),G(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}K(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.form&&J(this.form,this,!1)}},{key:"path",get:function(){return[]}},{key:"control",get:function(){return this.form}},{key:"viewToModelUpdate",value:function(t){this.viewModel=t,this.update.emit(t)}},{key:"_isControlChanged",value:function(t){return t.hasOwnProperty("form")}}]),n}(Y);return t.\u0275fac=function(e){return new(e||t)(r.Y36(x,10),r.Y36(O,10),r.Y36(b,10),r.Y36(bt,8))},t.\u0275dir=r.lG2({type:t,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[r._Bn([kt]),r.qOj,r.TTD]}),t._ngModelWarningSentOnce=!1,t}(),Ct={provide:V,useExisting:(0,r.Gpc)(function(){return xt})},xt=function(){var t=function(t){a(n,t);var e=u(n);function n(t,i){var o;return y(this,n),(o=e.call(this)).validators=t,o.asyncValidators=i,o.submitted=!1,o._onCollectionChange=function(){return o._updateDomValue()},o.directives=[],o.form=null,o.ngSubmit=new r.vpe,o._setValidators(t),o._setAsyncValidators(i),o}return g(n,[{key:"ngOnChanges",value:function(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}},{key:"ngOnDestroy",value:function(){this.form&&(Q(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(function(){}))}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"addControl",value:function(t){var e=this.form.get(t.path);return G(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}},{key:"getControl",value:function(t){return this.form.get(t.path)}},{key:"removeControl",value:function(t){J(t.control||null,t,!1),et(this.directives,t)}},{key:"addFormGroup",value:function(t){this._setUpFormContainer(t)}},{key:"removeFormGroup",value:function(t){this._cleanUpFormContainer(t)}},{key:"getFormGroup",value:function(t){return this.form.get(t.path)}},{key:"addFormArray",value:function(t){this._setUpFormContainer(t)}},{key:"removeFormArray",value:function(t){this._cleanUpFormContainer(t)}},{key:"getFormArray",value:function(t){return this.form.get(t.path)}},{key:"updateModel",value:function(t,e){this.form.get(t.path).setValue(e)}},{key:"onSubmit",value:function(t){return this.submitted=!0,function(t,e){t._syncPendingControls(),e.forEach(function(t){var e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(t),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(t){this.form.reset(t),this.submitted=!1}},{key:"_updateDomValue",value:function(){var t=this;this.directives.forEach(function(e){var n=e.control,r=t.form.get(e.path);n!==r&&(J(n||null,e),r instanceof ft&&(G(r,e),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}},{key:"_setUpFormContainer",value:function(t){var e=this.form.get(t.path);(function(t,e){$(t,e)})(e,t),e.updateValueAndValidity({emitEvent:!1})}},{key:"_cleanUpFormContainer",value:function(t){if(this.form){var e=this.form.get(t.path);e&&function(t,e){return Q(t,e)}(e,t)&&e.updateValueAndValidity({emitEvent:!1})}}},{key:"_updateRegistrations",value:function(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){})}},{key:"_updateValidators",value:function(){$(this.form,this),this._oldForm&&Q(this._oldForm,this)}},{key:"_checkFormPresent",value:function(){}}]),n}(V);return t.\u0275fac=function(e){return new(e||t)(r.Y36(x,10),r.Y36(O,10))},t.\u0275dir=r.lG2({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&r.NdJ("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r._Bn([Ct]),r.qOj,r.TTD]}),t}(),Ot={provide:Y,useExisting:(0,r.Gpc)(function(){return Mt})},Mt=function(){var t=function(t){a(n,t);var e=u(n);function n(t,i,o,a,s){var u;return y(this,n),(u=e.call(this))._ngModelWarningConfig=s,u._added=!1,u.update=new r.vpe,u._ngModelWarningSent=!1,u._parent=t,u._setValidators(i),u._setAsyncValidators(o),u.valueAccessor=tt(0,a),u}return g(n,[{key:"isDisabled",set:function(t){}},{key:"ngOnChanges",value:function(t){this._added||this._setUpControl(),K(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"viewToModelUpdate",value:function(t){this.viewModel=t,this.update.emit(t)}},{key:"path",get:function(){return H(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"_checkParentType",value:function(){}},{key:"_setUpControl",value:function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}]),n}(Y);return t.\u0275fac=function(e){return new(e||t)(r.Y36(V,13),r.Y36(x,10),r.Y36(O,10),r.Y36(b,10),r.Y36(bt,8))},t.\u0275dir=r.lG2({type:t,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[r._Bn([Ot]),r.qOj,r.TTD]}),t._ngModelWarningSentOnce=!1,t}(),St=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[_t]]}),t}(),Pt=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[St]}),t}(),Et=function(){var t=function(){function t(){y(this,t)}return g(t,null,[{key:"withConfig",value:function(e){return{ngModule:t,providers:[{provide:bt,useValue:e.warnOnNgModelWithFormControl}]}}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[St]}),t}()},91211:function(t,e,n){"use strict";n.d(e,{b2:function(){return q},H7:function(){return B},s3:function(){return b},Dx:function(){return H},q6:function(){return Y},se:function(){return A}});var r,o,s=n(12057),c=n(74788),l=function(t){a(n,t);var e=u(n);function n(){var t;return y(this,n),(t=e.apply(this,arguments)).supportsDOMEvents=!0,t}return g(n)}(s.w_),h=function(t){a(n,t);var e=u(n);function n(){return y(this,n),e.apply(this,arguments)}return g(n,[{key:"onAndCancel",value:function(t,e,n){return t.addEventListener(e,n,!1),function(){t.removeEventListener(e,n,!1)}}},{key:"dispatchEvent",value:function(t,e){t.dispatchEvent(e)}},{key:"remove",value:function(t){t.parentNode&&t.parentNode.removeChild(t)}},{key:"createElement",value:function(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(t){return t.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(t){return t instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}},{key:"getBaseHref",value:function(t){var e=(d=d||document.querySelector("base"),d?d.getAttribute("href"):null);return null==e?null:function(t){(r=r||document.createElement("a")).setAttribute("href",t);var e=r.pathname;return"/"===e.charAt(0)?e:"/".concat(e)}(e)}},{key:"resetBaseElement",value:function(){d=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"getCookie",value:function(t){return(0,s.Mx)(document.cookie,t)}}],[{key:"makeCurrent",value:function(){(0,s.HT)(new n)}}]),n}(l),d=null,p=new c.OlP("TRANSITION_ID"),v=[{provide:c.ip1,useFactory:function(t,e,n){return function(){n.get(c.CZH).donePromise.then(function(){for(var n=(0,s.q)(),r=e.querySelectorAll('style[ng-transition="'.concat(t,'"]')),i=0;i1&&void 0!==arguments[1])||arguments[1],r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},c.dqk.getAllAngularTestabilities=function(){return t.getAllTestabilities()},c.dqk.getAllAngularRootElements=function(){return t.getAllRootElements()},c.dqk.frameworkStabilizers||(c.dqk.frameworkStabilizers=[]),c.dqk.frameworkStabilizers.push(function(t){var e=c.dqk.getAllAngularTestabilities(),n=e.length,r=!1,i=function(e){r=r||e,0==--n&&t(r)};e.forEach(function(t){t.whenStable(i)})})}},{key:"findTestabilityInTree",value:function(t,e,n){if(null==e)return null;var r=t.getTestability(e);return null!=r?r:n?(0,s.q)().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}],[{key:"init",value:function(){(0,c.VLi)(new t)}}]),t}(),_=((o=function(){function t(){y(this,t)}return g(t,[{key:"build",value:function(){return new XMLHttpRequest}}]),t}()).\u0275fac=function(t){return new(t||o)},o.\u0275prov=c.Yz7({token:o,factory:o.\u0275fac}),o),b=new c.OlP("EventManagerPlugins"),k=function(){var t=function(){function t(e,n){var r=this;y(this,t),this._zone=n,this._eventNameToPlugin=new Map,e.forEach(function(t){return t.manager=r}),this._plugins=e.slice().reverse()}return g(t,[{key:"addEventListener",value:function(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}},{key:"addGlobalEventListener",value:function(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(t){var e=this._eventNameToPlugin.get(t);if(e)return e;for(var n=this._plugins,r=0;r-1&&(e.splice(n,1),o+=t+".")}),o+=i,0!=e.length||0===i.length)return null;var a={};return a.domEventName=r,a.fullKey=o,a}},{key:"getEventFullKey",value:function(t){var e="",n=function(t){var e=t.key;if(null==e){if(null==(e=t.keyIdentifier))return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&F.hasOwnProperty(e)&&(e=F[e]))}return z[e]||e}(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),N.forEach(function(r){r!=n&&R[r](t)&&(e+=r+".")}),e+=n}},{key:"eventCallback",value:function(t,e,r){return function(i){n.getEventFullKey(i)===t&&r.runGuarded(function(){return e(i)})}}},{key:"_normalizeKey",value:function(t){return"esc"===t?"escape":t}}]),n}(w);return t.\u0275fac=function(e){return new(e||t)(c.LFG(s.K0))},t.\u0275prov=c.Yz7({token:t,factory:t.\u0275fac}),t}(),B=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,c.Yz7)({factory:function(){return(0,c.LFG)(V)},token:t,providedIn:"root"}),t}(),V=function(){var t=function(t){a(n,t);var e=u(n);function n(t){var r;return y(this,n),(r=e.call(this))._doc=t,r}return g(n,[{key:"sanitize",value:function(t,e){if(null==e)return null;switch(t){case c.q3G.NONE:return e;case c.q3G.HTML:return(0,c.qzn)(e,"HTML")?(0,c.z3N)(e):(0,c.EiD)(this._doc,String(e)).toString();case c.q3G.STYLE:return(0,c.qzn)(e,"Style")?(0,c.z3N)(e):e;case c.q3G.SCRIPT:if((0,c.qzn)(e,"Script"))return(0,c.z3N)(e);throw new Error("unsafe value used in a script context");case c.q3G.URL:return(0,c.yhl)(e),(0,c.qzn)(e,"URL")?(0,c.z3N)(e):(0,c.mCW)(String(e));case c.q3G.RESOURCE_URL:if((0,c.qzn)(e,"ResourceURL"))return(0,c.z3N)(e);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext ".concat(t," (see https://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(t){return(0,c.JVY)(t)}},{key:"bypassSecurityTrustStyle",value:function(t){return(0,c.L6k)(t)}},{key:"bypassSecurityTrustScript",value:function(t){return(0,c.eBb)(t)}},{key:"bypassSecurityTrustUrl",value:function(t){return(0,c.LAX)(t)}},{key:"bypassSecurityTrustResourceUrl",value:function(t){return(0,c.pB0)(t)}}]),n}(B);return t.\u0275fac=function(e){return new(e||t)(c.LFG(s.K0))},t.\u0275prov=(0,c.Yz7)({factory:function(){return function(t){return new V(t.get(s.K0))}((0,c.LFG)(c.gxx))},token:t,providedIn:"root"}),t}(),Y=(0,c.eFA)(c._c5,"browser",[{provide:c.Lbi,useValue:s.bD},{provide:c.g9A,useValue:function(){h.makeCurrent(),m.init()},multi:!0},{provide:s.K0,useFactory:function(){return(0,c.RDi)(document),document},deps:[]}]),Z=[[],{provide:c.zSh,useValue:"root"},{provide:c.qLn,useFactory:function(){return new c.qLn},deps:[]},{provide:b,useClass:L,multi:!0,deps:[s.K0,c.R0b,c.Lbi]},{provide:b,useClass:j,multi:!0,deps:[s.K0]},[],{provide:A,useClass:A,deps:[k,x,c.AFp]},{provide:c.FYo,useExisting:A},{provide:C,useExisting:x},{provide:x,useClass:x,deps:[s.K0]},{provide:c.dDg,useClass:c.dDg,deps:[c.R0b]},{provide:k,useClass:k,deps:[b,c.R0b]},{provide:s.JF,useClass:_,deps:[]},[]],q=function(){var t=function(){function t(e){if(y(this,t),e)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 g(t,null,[{key:"withServerTransition",value:function(e){return{ngModule:t,providers:[{provide:c.AFp,useValue:e.appId},{provide:p,useExisting:c.AFp},v]}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(c.LFG(t,12))},t.\u0275mod=c.oAB({type:t}),t.\u0275inj=c.cJS({providers:Z,imports:[s.ez,c.hGG]}),t}();function U(){return new H((0,c.LFG)(s.K0))}var H=function(){var t=function(){function t(e){y(this,t),this._doc=e}return g(t,[{key:"getTitle",value:function(){return this._doc.title}},{key:"setTitle",value:function(t){this._doc.title=t||""}}]),t}();return t.\u0275fac=function(e){return new(e||t)(c.LFG(s.K0))},t.\u0275prov=(0,c.Yz7)({factory:U,token:t,providedIn:"root"}),t}();"undefined"!=typeof window&&window},86561:function(t,n,r){"use strict";r.d(n,{gz:function(){return ne},m2:function(){return $},F0:function(){return On},Od:function(){return An},yS:function(){return Pn},Bz:function(){return Vn},lC:function(){return Tn},Hx:function(){return Dt}});var i=r(12057),o=r(74788),s=r(97968),c=r(25917),h=r(26215),f=r(9112),p=r(29856),v=r(13410),m=r(22416),b=r(41439),k=r(59193),w=r(52441),C=r(79765),x=r(77393);function O(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new M(t,e,n))}}var M=function(){function t(e,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];y(this,t),this.accumulator=e,this.seed=n,this.hasSeed=r}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new S(t,this.accumulator,this.seed,this.hasSeed))}}]),t}(),S=function(t){a(n,t);var e=u(n);function n(t,r,i,o){var a;return y(this,n),(a=e.call(this,t)).accumulator=r,a._seed=i,a.hasSeed=o,a.index=0,a}return g(n,[{key:"seed",get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t}},{key:"_next",value:function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}},{key:"_tryNext",value:function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(r){this.destination.error(r)}this.seed=e,this.destination.next(e)}}]),n}(x.L),P=r(45435),E=r(7108);function A(t){return function(e){return 0===t?(0,k.c)():e.lift(new T(t))}}var T=function(){function t(e){if(y(this,t),this.total=e,this.total<0)throw new E.W}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new I(t,this.total))}}]),t}(),I=function(t){a(n,t);var e=u(n);function n(t,r){var i;return y(this,n),(i=e.call(this,t)).total=r,i.ring=new Array,i.count=0,i}return g(n,[{key:"_next",value:function(t){var e=this.ring,n=this.total,r=this.count++;e.length0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i2&&void 0!==arguments[2]?arguments[2]:"imperative",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return y(this,n),(i=e.call(this,t,r)).navigationTrigger=o,i.restoredState=a,i}return g(n,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(J),$=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,t,r)).urlAfterRedirects=i,o}return g(n,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),n}(J),Q=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,t,r)).reason=i,o}return g(n,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(J),W=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,t,r)).error=i,o}return g(n,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),n}(J),K=function(t){a(n,t);var e=u(n);function n(t,r,i,o){var a;return y(this,n),(a=e.call(this,t,r)).urlAfterRedirects=i,a.state=o,a}return g(n,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(J),tt=function(t){a(n,t);var e=u(n);function n(t,r,i,o){var a;return y(this,n),(a=e.call(this,t,r)).urlAfterRedirects=i,a.state=o,a}return g(n,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(J),et=function(t){a(n,t);var e=u(n);function n(t,r,i,o,a){var s;return y(this,n),(s=e.call(this,t,r)).urlAfterRedirects=i,s.state=o,s.shouldActivate=a,s}return g(n,[{key:"toString",value:function(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}]),n}(J),nt=function(t){a(n,t);var e=u(n);function n(t,r,i,o){var a;return y(this,n),(a=e.call(this,t,r)).urlAfterRedirects=i,a.state=o,a}return g(n,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(J),rt=function(t){a(n,t);var e=u(n);function n(t,r,i,o){var a;return y(this,n),(a=e.call(this,t,r)).urlAfterRedirects=i,a.state=o,a}return g(n,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(J),it=function(){function t(e){y(this,t),this.route=e}return g(t,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),t}(),ot=function(){function t(e){y(this,t),this.route=e}return g(t,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),t}(),at=function(){function t(e){y(this,t),this.snapshot=e}return g(t,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),st=function(){function t(e){y(this,t),this.snapshot=e}return g(t,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),ut=function(){function t(e){y(this,t),this.snapshot=e}return g(t,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),ct=function(){function t(e){y(this,t),this.snapshot=e}return g(t,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),lt=function(){function t(e,n,r){y(this,t),this.routerEvent=e,this.position=n,this.anchor=r}return g(t,[{key:"toString",value:function(){return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(this.position?"".concat(this.position[0],", ").concat(this.position[1]):null,"')")}}]),t}(),ht="primary",ft=function(){function t(e){y(this,t),this.params=e||{}}return g(t,[{key:"has",value:function(t){return Object.prototype.hasOwnProperty.call(this.params,t)}},{key:"get",value:function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e[0]:e}return null}},{key:"getAll",value:function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e:[e]}return[]}},{key:"keys",get:function(){return Object.keys(this.params)}}]),t}();function dt(t){return new ft(t)}var pt="ngNavigationCancelingError";function vt(t){var e=Error("NavigationCancelingError: "+t);return e[pt]=!0,e}function gt(t,e,n){var r=n.path.split("/");if(r.length>t.length||"full"===n.pathMatch&&(e.hasChildren()||r.length0?t[t.length-1]:null}function kt(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function wt(t){return(0,o.CqO)(t)?t:(0,o.QGY)(t)?(0,s.D)(Promise.resolve(t)):(0,c.of)(t)}var Ct={exact:function t(e,n,r){if(!It(e.segments,n.segments)||!Pt(e.segments,n.segments,r)||e.numberOfChildren!==n.numberOfChildren)return!1;for(var i in n.children)if(!e.children[i]||!t(e.children[i],n.children[i],r))return!1;return!0},subset:Mt},xt={exact:function(t,e){return mt(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(function(n){return yt(t[n],e[n])})},ignored:function(){return!0}};function Ot(t,e,n){return Ct[n.paths](t.root,e.root,n.matrixParams)&&xt[n.queryParams](t.queryParams,e.queryParams)&&!("exact"===n.fragment&&t.fragment!==e.fragment)}function Mt(t,e,n){return St(t,e,e.segments,n)}function St(t,e,n,r){if(t.segments.length>n.length){var i=t.segments.slice(0,n.length);return!(!It(i,n)||e.hasChildren()||!Pt(i,n,r))}if(t.segments.length===n.length){if(!It(t.segments,n)||!Pt(t.segments,n,r))return!1;for(var o in e.children)if(!t.children[o]||!Mt(t.children[o],e.children[o],r))return!1;return!0}var a=n.slice(0,t.segments.length),s=n.slice(t.segments.length);return!!(It(t.segments,a)&&Pt(t.segments,a,r)&&t.children[ht])&&St(t.children[ht],e,s,r)}function Pt(t,e,n){return e.every(function(e,r){return xt[n](t[r].parameters,e.parameters)})}var Et=function(){function t(e,n,r){y(this,t),this.root=e,this.queryParams=n,this.fragment=r}return g(t,[{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=dt(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return Nt.serialize(this)}}]),t}(),At=function(){function t(e,n){var r=this;y(this,t),this.segments=e,this.children=n,this.parent=null,kt(n,function(t,e){return t.parent=r})}return g(t,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}},{key:"toString",value:function(){return zt(this)}}]),t}(),Tt=function(){function t(e,n){y(this,t),this.path=e,this.parameters=n}return g(t,[{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=dt(this.parameters)),this._parameterMap}},{key:"toString",value:function(){return Zt(this)}}]),t}();function It(t,e){return t.length===e.length&&t.every(function(t,n){return t.path===e[n].path})}var Dt=g(function t(){y(this,t)}),Lt=function(){function t(){y(this,t)}return g(t,[{key:"parse",value:function(t){var e=new Jt(t);return new Et(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}},{key:"serialize",value:function(t){var e,n="/".concat(Ft(t.root,!0)),r=function(t){var e=Object.keys(t).map(function(e){var n=t[e];return Array.isArray(n)?n.map(function(t){return"".concat(jt(e),"=").concat(jt(t))}).join("&"):"".concat(jt(e),"=").concat(jt(n))}).filter(function(t){return!!t});return e.length?"?".concat(e.join("&")):""}(t.queryParams);return"".concat(n).concat(r).concat("string"==typeof t.fragment?"#".concat((e=t.fragment,encodeURI(e))):"")}}]),t}(),Nt=new Lt;function zt(t){return t.segments.map(function(t){return Zt(t)}).join("/")}function Ft(t,e){if(!t.hasChildren())return zt(t);if(e){var n=t.children[ht]?Ft(t.children[ht],!1):"",r=[];return kt(t.children,function(t,e){e!==ht&&r.push("".concat(e,":").concat(Ft(t,!1)))}),r.length>0?"".concat(n,"(").concat(r.join("//"),")"):n}var i=function(t,e){var n=[];return kt(t.children,function(t,r){r===ht&&(n=n.concat(e(t,r)))}),kt(t.children,function(t,r){r!==ht&&(n=n.concat(e(t,r)))}),n}(t,function(e,n){return n===ht?[Ft(t.children[ht],!1)]:["".concat(n,":").concat(Ft(e,!1))]});return 1===Object.keys(t.children).length&&null!=t.children[ht]?"".concat(zt(t),"/").concat(i[0]):"".concat(zt(t),"/(").concat(i.join("//"),")")}function Rt(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function jt(t){return Rt(t).replace(/%3B/gi,";")}function Bt(t){return Rt(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Vt(t){return decodeURIComponent(t)}function Yt(t){return Vt(t.replace(/\+/g,"%20"))}function Zt(t){return"".concat(Bt(t.path)).concat(function(t){return Object.keys(t).map(function(e){return";".concat(Bt(e),"=").concat(Bt(t[e]))}).join("")}(t.parameters))}var qt=/^[^\/()?;=#]+/;function Ut(t){var e=t.match(qt);return e?e[0]:""}var Ht=/^[^=?&#]+/,Gt=/^[^?&#]+/,Jt=function(){function t(e){y(this,t),this.url=e,this.remaining=e}return g(t,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new At([],{}):new At([],this.parseChildren())}},{key:"parseQueryParams",value:function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}},{key:"parseFragment",value:function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}},{key:"parseChildren",value:function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[ht]=new At(t,e)),n}},{key:"parseSegment",value:function(){var t=Ut(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(t),new Tt(Vt(t),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t}},{key:"parseParam",value:function(t){var e=Ut(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=Ut(this.remaining);r&&(n=r,this.capture(n))}t[Vt(e)]=Vt(n)}}},{key:"parseQueryParam",value:function(t){var e=function(t){var e=t.match(Ht);return e?e[0]:""}(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=function(t){var e=t.match(Gt);return e?e[0]:""}(this.remaining);r&&(n=r,this.capture(n))}var i=Yt(e),o=Yt(n);if(t.hasOwnProperty(i)){var a=t[i];Array.isArray(a)||(a=[a],t[i]=a),a.push(o)}else t[i]=o}}},{key:"parseParens",value:function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=Ut(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '".concat(this.url,"'"));var i=void 0;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=ht);var o=this.parseChildren();e[i]=1===Object.keys(o).length?o[ht]:new At([],o),this.consumeOptional("//")}return e}},{key:"peekStartsWith",value:function(t){return this.remaining.startsWith(t)}},{key:"consumeOptional",value:function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}},{key:"capture",value:function(t){if(!this.consumeOptional(t))throw new Error('Expected "'.concat(t,'".'))}}]),t}(),Xt=function(){function t(e){y(this,t),this._root=e}return g(t,[{key:"root",get:function(){return this._root.value}},{key:"parent",value:function(t){var e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}},{key:"children",value:function(t){var e=$t(t,this._root);return e?e.children.map(function(t){return t.value}):[]}},{key:"firstChild",value:function(t){var e=$t(t,this._root);return e&&e.children.length>0?e.children[0].value:null}},{key:"siblings",value:function(t){var e=Qt(t,this._root);return e.length<2?[]:e[e.length-2].children.map(function(t){return t.value}).filter(function(e){return e!==t})}},{key:"pathFromRoot",value:function(t){return Qt(t,this._root).map(function(t){return t.value})}}]),t}();function $t(t,e){if(t===e.value)return e;var n,r=_(e.children);try{for(r.s();!(n=r.n()).done;){var i=$t(t,n.value);if(i)return i}}catch(o){r.e(o)}finally{r.f()}return null}function Qt(t,e){if(t===e.value)return[e];var n,r=_(e.children);try{for(r.s();!(n=r.n()).done;){var i=Qt(t,n.value);if(i.length)return i.unshift(e),i}}catch(o){r.e(o)}finally{r.f()}return[]}var Wt=function(){function t(e,n){y(this,t),this.value=e,this.children=n}return g(t,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),t}();function Kt(t){var e={};return t&&t.children.forEach(function(t){return e[t.value.outlet]=t}),e}var te=function(t){a(n,t);var e=u(n);function n(t,r){var i;return y(this,n),(i=e.call(this,t)).snapshot=r,ae(l(i),t),i}return g(n,[{key:"toString",value:function(){return this.snapshot.toString()}}]),n}(Xt);function ee(t,e){var n=function(t,e){var n=new ie([],{},{},"",{},ht,e,null,t.root,-1,{});return new oe("",new Wt(n,[]))}(t,e),r=new h.X([new Tt("",{})]),i=new h.X({}),o=new h.X({}),a=new h.X({}),s=new h.X(""),u=new ne(r,i,a,s,o,ht,e,n.root);return u.snapshot=n.root,new te(new Wt(u,[]),n)}var ne=function(){function t(e,n,r,i,o,a,s,u){y(this,t),this.url=e,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=a,this.component=s,this._futureSnapshot=u}return g(t,[{key:"routeConfig",get:function(){return this._futureSnapshot.routeConfig}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=this.params.pipe((0,z.U)(function(t){return dt(t)}))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,z.U)(function(t){return dt(t)}))),this._queryParamMap}},{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}}]),t}();function re(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly",n=t.pathFromRoot,r=0;if("always"!==e)for(r=n.length-1;r>=1;){var i=n[r],o=n[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(o.component)break;r--}}return function(t){return t.reduce(function(t,e){return{params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}},{params:{},data:{},resolve:{}})}(n.slice(r))}var ie=function(){function t(e,n,r,i,o,a,s,u,c,l,h){y(this,t),this.url=e,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=a,this.component=s,this.routeConfig=u,this._urlSegment=c,this._lastPathIndex=l,this._resolve=h}return g(t,[{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=dt(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=dt(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return"Route(url:'".concat(this.url.map(function(t){return t.toString()}).join("/"),"', path:'").concat(this.routeConfig?this.routeConfig.path:"","')")}}]),t}(),oe=function(t){a(n,t);var e=u(n);function n(t,r){var i;return y(this,n),(i=e.call(this,r)).url=t,ae(l(i),r),i}return g(n,[{key:"toString",value:function(){return se(this._root)}}]),n}(Xt);function ae(t,e){e.value._routerState=t,e.children.forEach(function(e){return ae(t,e)})}function se(t){var e=t.children.length>0?" { ".concat(t.children.map(se).join(", ")," } "):"";return"".concat(t.value).concat(e)}function ue(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,mt(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),mt(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(var n=0;n0&&fe(r[0]))throw new Error("Root segment cannot have matrix parameters");var i=r.find(de);if(i&&i!==bt(r))throw new Error("{outlets:{}} has to be the last command")}return g(t,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),t}(),me=g(function t(e,n,r){y(this,t),this.segmentGroup=e,this.processChildren=n,this.index=r});function ye(t,e,n){if(t||(t=new At([],{})),0===t.segments.length&&t.hasChildren())return _e(t,e,n);var r=function(t,e,n){for(var r=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};i=n.length)return o;var a=t.segments[i],s=n[r];if(de(s))break;var u="".concat(s),c=r0&&void 0===u)break;if(u&&c&&"object"==typeof c&&void 0===c.outlets){if(!Ce(u,c,a))return o;r+=2}else{if(!Ce(u,{},a))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(t,e,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex1&&void 0!==arguments[1]?arguments[1]:"",n=0;n0)?Object.assign({},je):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};var i=(e.matcher||gt)(n,t,e);if(!i)return Object.assign({},je);var o={};kt(i.posParams,function(t,e){o[e]=t.path});var a=i.consumed.length>0?Object.assign(Object.assign({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,lastChild:i.consumed.length,parameters:a,positionalParamSegments:null!==(r=i.posParams)&&void 0!==r?r:{}}}function Ve(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"corrected";if(n.length>0&&function(t,e,n){return n.some(function(n){return Ye(t,e,n)&&Fe(n)!==ht})}(t,n,r)){var o=new At(e,function(t,e,n,r){var i={};i[ht]=r,r._sourceSegment=t,r._segmentIndexShift=e.length;var o,a=_(n);try{for(a.s();!(o=a.n()).done;){var s=o.value;if(""===s.path&&Fe(s)!==ht){var u=new At([],{});u._sourceSegment=t,u._segmentIndexShift=e.length,i[Fe(s)]=u}}}catch(c){a.e(c)}finally{a.f()}return i}(t,e,r,new At(n,t.children)));return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(function(n){return Ye(t,e,n)})}(t,n,r)){var a=new At(t.segments,function(t,e,n,r,i,o){var a,s={},u=_(r);try{for(u.s();!(a=u.n()).done;){var c=a.value;if(Ye(t,n,c)&&!i[Fe(c)]){var l=new At([],{});l._sourceSegment=t,l._segmentIndexShift="legacy"===o?t.segments.length:e.length,s[Fe(c)]=l}}}catch(h){u.e(h)}finally{u.f()}return Object.assign(Object.assign({},i),s)}(t,e,n,r,t.children,i));return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:n}}var s=new At(t.segments,t.children);return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}function Ye(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}function Ze(t,e,n,r){return!!(Fe(t)===r||r!==ht&&Ye(e,n,t))&&("**"===t.path||Be(e,t,n).matched)}function qe(t,e,n){return 0===e.length&&!t.children[n]}var Ue=g(function t(e){y(this,t),this.segmentGroup=e||null}),He=g(function t(e){y(this,t),this.urlTree=e});function Ge(t){return new p.y(function(e){return e.error(new Ue(t))})}function Je(t){return new p.y(function(e){return e.error(new He(t))})}function Xe(t){return new p.y(function(e){return e.error(new Error("Only absolute redirects can have named outlets. redirectTo: '".concat(t,"'")))})}var $e=function(){function t(e,n,r,i,a){y(this,t),this.configLoader=n,this.urlSerializer=r,this.urlTree=i,this.config=a,this.allowRedirects=!0,this.ngModule=e.get(o.h0i)}return g(t,[{key:"apply",value:function(){var t=this,e=Ve(this.urlTree.root,[],[],this.config).segmentGroup,n=new At(e.segments,e.children);return this.expandSegmentGroup(this.ngModule,this.config,n,ht).pipe((0,z.U)(function(e){return t.createUrlTree(Qe(e),t.urlTree.queryParams,t.urlTree.fragment)})).pipe((0,B.K)(function(e){if(e instanceof He)return t.allowRedirects=!1,t.match(e.urlTree);throw e instanceof Ue?t.noMatchError(e):e}))}},{key:"match",value:function(t){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,t.root,ht).pipe((0,z.U)(function(n){return e.createUrlTree(Qe(n),t.queryParams,t.fragment)})).pipe((0,B.K)(function(t){throw t instanceof Ue?e.noMatchError(t):t}))}},{key:"noMatchError",value:function(t){return new Error("Cannot match any routes. URL Segment: '".concat(t.segmentGroup,"'"))}},{key:"createUrlTree",value:function(t,n,r){var i=t.segments.length>0?new At([],e({},ht,t)):t;return new Et(i,n,r)}},{key:"expandSegmentGroup",value:function(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe((0,z.U)(function(t){return new At([],t)})):this.expandSegment(t,n,e,n.segments,r,!0)}},{key:"expandChildren",value:function(t,e,n){for(var r=this,i=[],o=0,a=Object.keys(n.children);o=2;return function(r){return r.pipe(t?(0,P.h)(function(e,n){return t(e,n,r)}):N.y,A(1),n?(0,L.d)(e):(0,D.T)(function(){return new v.K}))}}())}},{key:"expandSegment",value:function(t,e,n,r,i,o){var a=this;return(0,s.D)(n).pipe((0,V.b)(function(s){return a.expandSegmentAgainstRoute(t,e,n,s,r,i,o).pipe((0,B.K)(function(t){if(t instanceof Ue)return(0,c.of)(null);throw t}))}),(0,Y.P)(function(t){return!!t}),(0,B.K)(function(t,n){if(t instanceof v.K||"EmptyError"===t.name){if(qe(e,r,i))return(0,c.of)(new At([],{}));throw new Ue(e)}throw t}))}},{key:"expandSegmentAgainstRoute",value:function(t,e,n,r,i,o,a){return Ze(r,e,i,o)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,i,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,i,o):Ge(e):Ge(e)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(t,e,n,r,i,o){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,i,o)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(t,e,n,r){var i=this,o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Je(o):this.lineralizeSegments(n,o).pipe((0,Z.zg)(function(n){var o=new At(n,{});return i.expandSegment(t,o,e,n,r,!1)}))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(t,e,n,r,i,o){var a=this,s=Be(e,r,i),u=s.matched,c=s.consumedSegments,l=s.lastChild,h=s.positionalParamSegments;if(!u)return Ge(e);var f=this.applyRedirectCommands(c,r.redirectTo,h);return r.redirectTo.startsWith("/")?Je(f):this.lineralizeSegments(r,f).pipe((0,Z.zg)(function(r){return a.expandSegment(t,e,n,r.concat(i.slice(l)),o,!1)}))}},{key:"matchSegmentAgainstRoute",value:function(t,e,n,r,i){var o=this;if("**"===n.path)return n.loadChildren?(n._loadedConfig?(0,c.of)(n._loadedConfig):this.configLoader.load(t.injector,n)).pipe((0,z.U)(function(t){return n._loadedConfig=t,new At(r,{})})):(0,c.of)(new At(r,{}));var a=Be(e,n,r),s=a.matched,u=a.consumedSegments,l=a.lastChild;if(!s)return Ge(e);var h=r.slice(l);return this.getChildConfig(t,n,r).pipe((0,Z.zg)(function(t){var r=t.module,a=t.routes,s=Ve(e,u,h,a),l=s.segmentGroup,f=s.slicedSegments,d=new At(l.segments,l.children);if(0===f.length&&d.hasChildren())return o.expandChildren(r,a,d).pipe((0,z.U)(function(t){return new At(u,t)}));if(0===a.length&&0===f.length)return(0,c.of)(new At(u,{}));var p=Fe(n)===i;return o.expandSegment(r,d,a,f,p?ht:i,!0).pipe((0,z.U)(function(t){return new At(u.concat(t.segments),t.children)}))}))}},{key:"getChildConfig",value:function(t,e,n){var r=this;return e.children?(0,c.of)(new Me(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?(0,c.of)(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe((0,Z.zg)(function(n){return n?r.configLoader.load(t.injector,e).pipe((0,z.U)(function(t){return e._loadedConfig=t,t})):(i=e,new p.y(function(t){return t.error(vt("Cannot load children because the guard of the route \"path: '".concat(i.path,"'\" returned false")))}));var i})):(0,c.of)(new Me([],t))}},{key:"runCanLoadGuards",value:function(t,e,n){var r=this,i=e.canLoad;if(!i||0===i.length)return(0,c.of)(!0);var o=i.map(function(r){var i,o,a=t.get(r);if((o=a)&&Se(o.canLoad))i=a.canLoad(e,n);else{if(!Se(a))throw new Error("Invalid CanLoad guard");i=a(e,n)}return wt(i)});return(0,c.of)(o).pipe(Ae(),(0,q.b)(function(t){if(Pe(t)){var e=vt('Redirecting to "'.concat(r.urlSerializer.serialize(t),'"'));throw e.url=t,e}}),(0,z.U)(function(t){return!0===t}))}},{key:"lineralizeSegments",value:function(t,e){for(var n=[],r=e.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return(0,c.of)(n);if(r.numberOfChildren>1||!r.children[ht])return Xe(t.redirectTo);r=r.children[ht]}}},{key:"applyRedirectCommands",value:function(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}},{key:"applyRedirectCreatreUrlTree",value:function(t,e,n,r){var i=this.createSegmentGroup(t,e.root,n,r);return new Et(i,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}},{key:"createQueryParams",value:function(t,e){var n={};return kt(t,function(t,r){if("string"==typeof t&&t.startsWith(":")){var i=t.substring(1);n[r]=e[i]}else n[r]=t}),n}},{key:"createSegmentGroup",value:function(t,e,n,r){var i=this,o=this.createSegments(t,e.segments,n,r),a={};return kt(e.children,function(e,o){a[o]=i.createSegmentGroup(t,e,n,r)}),new At(o,a)}},{key:"createSegments",value:function(t,e,n,r){var i=this;return e.map(function(e){return e.path.startsWith(":")?i.findPosParam(t,e,r):i.findOrReturn(e,n)})}},{key:"findPosParam",value:function(t,e,n){var r=n[e.path.substring(1)];if(!r)throw new Error("Cannot redirect to '".concat(t,"'. Cannot find '").concat(e.path,"'."));return r}},{key:"findOrReturn",value:function(t,e){var n,r=0,i=_(e);try{for(i.s();!(n=i.n()).done;){var o=n.value;if(o.path===t.path)return e.splice(r),o;r++}}catch(a){i.e(a)}finally{i.f()}return t}}]),t}();function Qe(t){for(var e={},n=0,r=Object.keys(t.children);n0||o.hasChildren())&&(e[i]=o)}return function(t){if(1===t.numberOfChildren&&t.children[ht]){var e=t.children[ht];return new At(t.segments.concat(e.segments),e.children)}return t}(new At(t.segments,e))}var We=g(function t(e){y(this,t),this.path=e,this.route=this.path[this.path.length-1]}),Ke=g(function t(e,n){y(this,t),this.component=e,this.route=n});function tn(t,e,n){var r=t._root;return nn(r,e?e._root:null,n,[r.value])}function en(t,e,n){var r=function(t){if(!t)return null;for(var e=t.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(e);return(r?r.module.injector:n).get(t)}function nn(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=Kt(e);return t.children.forEach(function(t){(function(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=t.value,a=e?e.value:null,s=n?n.getContext(t.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){var u=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!It(t.url,e.url);case"pathParamsOrQueryParamsChange":return!It(t.url,e.url)||!mt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ce(t,e)||!mt(t.queryParams,e.queryParams);default:return!ce(t,e)}}(a,o,o.routeConfig.runGuardsAndResolvers);u?i.canActivateChecks.push(new We(r)):(o.data=a.data,o._resolvedData=a._resolvedData),nn(t,e,o.component?s?s.children:null:n,r,i),u&&s&&s.outlet&&s.outlet.isActivated&&i.canDeactivateChecks.push(new Ke(s.outlet.component,a))}else a&&rn(e,s,i),i.canActivateChecks.push(new We(r)),nn(t,null,o.component?s?s.children:null:n,r,i)})(t,o[t.value.outlet],n,r.concat([t.value]),i),delete o[t.value.outlet]}),kt(o,function(t,e){return rn(t,n.getContext(e),i)}),i}function rn(t,e,n){var r=Kt(t),i=t.value;kt(r,function(t,r){rn(t,i.component?e?e.children.getContext(r):null:e,n)}),n.canDeactivateChecks.push(new Ke(i.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,i))}var on=g(function t(){y(this,t)});function an(t){return new p.y(function(e){return e.error(t)})}var sn=function(){function t(e,n,r,i,o,a){y(this,t),this.rootComponentType=e,this.config=n,this.urlTree=r,this.url=i,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=a}return g(t,[{key:"recognize",value:function(){var t=Ve(this.urlTree.root,[],[],this.config.filter(function(t){return void 0===t.redirectTo}),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,ht);if(null===e)return null;var n=new ie([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},ht,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Wt(n,e),i=new oe(this.url,r);return this.inheritParamsAndData(i._root),i}},{key:"inheritParamsAndData",value:function(t){var e=this,n=t.value,r=re(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(function(t){return e.inheritParamsAndData(t)})}},{key:"processSegmentGroup",value:function(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}},{key:"processChildren",value:function(t,e){for(var n=[],r=0,i=Object.keys(e.children);r0?bt(n).parameters:{};i=new ie(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,hn(t),Fe(t),t.component,t,cn(e),ln(e)+n.length,fn(t))}else{var u=Be(e,t,n);if(!u.matched)return null;o=u.consumedSegments,a=n.slice(u.lastChild),i=new ie(o,u.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,hn(t),Fe(t),t.component,t,cn(e),ln(e)+o.length,fn(t))}var c,l=(c=t).children?c.children:c.loadChildren?c._loadedConfig.routes:[],h=Ve(e,o,a,l.filter(function(t){return void 0===t.redirectTo}),this.relativeLinkResolution),f=h.segmentGroup,d=h.slicedSegments;if(0===d.length&&f.hasChildren()){var p=this.processChildren(l,f);return null===p?null:[new Wt(i,p)]}if(0===l.length&&0===d.length)return[new Wt(i,[])];var v=Fe(t)===r,g=this.processSegment(l,f,d,v?ht:r);return null===g?null:[new Wt(i,g)]}}]),t}();function un(t){var e,n=[],r=new Set,i=_(t);try{var o=function(){var t,i=e.value;if(!function(t){var e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}(i))return n.push(i),1;var o=n.find(function(t){return i.value.routeConfig===t.value.routeConfig});void 0!==o?((t=o.children).push.apply(t,d(i.children)),r.add(o)):n.push(i)};for(i.s();!(e=i.n()).done;)o()}catch(l){i.e(l)}finally{i.f()}var a,s=_(r);try{for(s.s();!(a=s.n()).done;){var u=a.value,c=un(u.children);n.push(new Wt(u.value,c))}}catch(l){s.e(l)}finally{s.f()}return n.filter(function(t){return!r.has(t)})}function cn(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function ln(t){for(var e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;e._sourceSegment;)n+=(e=e._sourceSegment)._segmentIndexShift?e._segmentIndexShift:0;return n-1}function hn(t){return t.data||{}}function fn(t){return t.resolve||{}}function dn(t){return(0,F.w)(function(e){var n=t(e);return n?(0,s.D)(n).pipe((0,z.U)(function(){return e})):(0,c.of)(e)})}var pn=function(t){a(n,t);var e=u(n);function n(){return y(this,n),e.apply(this,arguments)}return g(n)}(function(){function t(){y(this,t)}return g(t,[{key:"shouldDetach",value:function(t){return!1}},{key:"store",value:function(t,e){}},{key:"shouldAttach",value:function(t){return!1}},{key:"retrieve",value:function(t){return null}},{key:"shouldReuseRoute",value:function(t,e){return t.routeConfig===e.routeConfig}}]),t}()),vn=new o.OlP("ROUTES"),gn=function(){function t(e,n,r,i){y(this,t),this.loader=e,this.compiler=n,this.onLoadStartListener=r,this.onLoadEndListener=i}return g(t,[{key:"load",value:function(t,e){var n=this;if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);var r=this.loadModuleFactory(e.loadChildren).pipe((0,z.U)(function(r){n.onLoadEndListener&&n.onLoadEndListener(e);var i=r.create(t);return new Me(_t(i.injector.get(vn,void 0,o.XFs.Self|o.XFs.Optional)).map(ze),i)}),(0,B.K)(function(t){throw e._loader$=void 0,t}));return e._loader$=new w.c(r,function(){return new C.xQ}).pipe((0,U.x)()),e._loader$}},{key:"loadModuleFactory",value:function(t){var e=this;return"string"==typeof t?(0,s.D)(this.loader.load(t)):wt(t()).pipe((0,Z.zg)(function(t){return t instanceof o.YKP?(0,c.of)(t):(0,s.D)(e.compiler.compileModuleAsync(t))}))}}]),t}(),mn=g(function t(){y(this,t),this.outlet=null,this.route=null,this.resolver=null,this.children=new yn,this.attachRef=null}),yn=function(){function t(){y(this,t),this.contexts=new Map}return g(t,[{key:"onChildOutletCreated",value:function(t,e){var n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}},{key:"onChildOutletDestroyed",value:function(t){var e=this.getContext(t);e&&(e.outlet=null,e.attachRef=null)}},{key:"onOutletDeactivated",value:function(){var t=this.contexts;return this.contexts=new Map,t}},{key:"onOutletReAttached",value:function(t){this.contexts=t}},{key:"getOrCreateContext",value:function(t){var e=this.getContext(t);return e||(e=new mn,this.contexts.set(t,e)),e}},{key:"getContext",value:function(t){return this.contexts.get(t)||null}}]),t}(),_n=function(){function t(){y(this,t)}return g(t,[{key:"shouldProcessUrl",value:function(t){return!0}},{key:"extract",value:function(t){return t}},{key:"merge",value:function(t,e){return t}}]),t}();function bn(t){throw t}function kn(t,e,n){return e.parse("/")}function wn(t,e){return(0,c.of)(null)}var Cn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},xn={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},On=function(){var t=function(){function t(e,n,r,i,a,s,u,c){var l=this;y(this,t),this.rootComponentType=e,this.urlSerializer=n,this.rootContexts=r,this.location=i,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new C.xQ,this.errorHandler=bn,this.malformedUriErrorHandler=kn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:wn,afterPreactivation:wn},this.urlHandlingStrategy=new _n,this.routeReuseStrategy=new pn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=a.get(o.h0i),this.console=a.get(o.c2e);var f=a.get(o.R0b);this.isNgZoneEnabled=f instanceof o.R0b&&o.R0b.isInAngularZone(),this.resetConfig(c),this.currentUrlTree=new Et(new At([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new gn(s,u,function(t){return l.triggerEvent(new it(t))},function(t){return l.triggerEvent(new ot(t))}),this.routerState=ee(this.currentUrlTree,this.rootComponentType),this.transitions=new h.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return g(t,[{key:"browserPageId",get:function(){var t;return null===(t=this.location.getState())||void 0===t?void 0:t.\u0275routerPageId}},{key:"setupNavigations",value:function(t){var e=this,n=this.events;return t.pipe((0,P.h)(function(t){return 0!==t.id}),(0,z.U)(function(t){return Object.assign(Object.assign({},t),{extractedUrl:e.urlHandlingStrategy.extract(t.rawUrl)})}),(0,F.w)(function(t){var r=!1,i=!1;return(0,c.of)(t).pipe((0,q.b)(function(t){e.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:e.lastSuccessfulNavigation?Object.assign(Object.assign({},e.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,F.w)(function(t){var r=e.browserUrlTree.toString(),o=!e.navigated||t.extractedUrl.toString()!==r||r!==e.currentUrlTree.toString();if(("reload"===e.onSameUrlNavigation||o)&&e.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Mn(t.source)&&(e.browserUrlTree=t.extractedUrl),(0,c.of)(t).pipe((0,F.w)(function(t){var r=e.transitions.getValue();return n.next(new X(t.id,e.serializeUrl(t.extractedUrl),t.source,t.restoredState)),r!==e.transitions.getValue()?k.E:Promise.resolve(t)}),function(t,e,n,r){return(0,F.w)(function(i){return function(t,e,n,r,i){return new $e(t,e,n,r,i).apply()}(t,e,n,i.extractedUrl,r).pipe((0,z.U)(function(t){return Object.assign(Object.assign({},i),{urlAfterRedirects:t})}))})}(e.ngModule.injector,e.configLoader,e.urlSerializer,e.config),(0,q.b)(function(t){e.currentNavigation=Object.assign(Object.assign({},e.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,n,r,o,a){return(0,Z.zg)(function(r){return function(t,e,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";try{var s=new sn(t,e,n,r,o,a).recognize();return null===s?an(new on):(0,c.of)(s)}catch(i){return an(i)}}(t,n,r.urlAfterRedirects,(s=r.urlAfterRedirects,e.serializeUrl(s)),o,a).pipe((0,z.U)(function(t){return Object.assign(Object.assign({},r),{targetSnapshot:t})}));var s})}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy,e.relativeLinkResolution),(0,q.b)(function(t){"eager"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(t.urlAfterRedirects,t),e.browserUrlTree=t.urlAfterRedirects);var r=new K(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);n.next(r)}));if(o&&e.rawUrlTree&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){var a=t.id,s=t.extractedUrl,u=t.source,l=t.restoredState,h=t.extras,f=new X(a,e.serializeUrl(s),u,l);n.next(f);var d=ee(s,e.rootComponentType).snapshot;return(0,c.of)(Object.assign(Object.assign({},t),{targetSnapshot:d,urlAfterRedirects:s,extras:Object.assign(Object.assign({},h),{skipLocationChange:!1,replaceUrl:!1})}))}return e.rawUrlTree=t.rawUrl,e.browserUrlTree=t.urlAfterRedirects,t.resolve(null),k.E}),dn(function(t){var n=t.targetSnapshot,r=t.id,i=t.extractedUrl,o=t.rawUrl,a=t.extras,s=a.skipLocationChange,u=a.replaceUrl;return e.hooks.beforePreactivation(n,{navigationId:r,appliedUrlTree:i,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!u})}),(0,q.b)(function(t){var n=new tt(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),(0,z.U)(function(t){return Object.assign(Object.assign({},t),{guards:tn(t.targetSnapshot,t.currentSnapshot,e.rootContexts)})}),function(t,e){return(0,Z.zg)(function(n){var r=n.targetSnapshot,i=n.currentSnapshot,o=n.guards,a=o.canActivateChecks,u=o.canDeactivateChecks;return 0===u.length&&0===a.length?(0,c.of)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,r){return(0,s.D)(t).pipe((0,Z.zg)(function(t){return function(t,e,n,r,i){var o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||0===o.length)return(0,c.of)(!0);var a=o.map(function(o){var a,s=en(o,e,i);if(function(t){return t&&Se(t.canDeactivate)}(s))a=wt(s.canDeactivate(t,e,n,r));else{if(!Se(s))throw new Error("Invalid CanDeactivate guard");a=wt(s(t,e,n,r))}return a.pipe((0,Y.P)())});return(0,c.of)(a).pipe(Ae())}(t.component,t.route,n,e,r)}),(0,Y.P)(function(t){return!0!==t},!0))}(u,r,i,t).pipe((0,Z.zg)(function(n){return n&&function(t){return"boolean"==typeof t}(n)?function(t,e,n,r){return(0,s.D)(e).pipe((0,V.b)(function(e){return(0,m.z)(function(t,e){return null!==t&&e&&e(new at(t)),(0,c.of)(!0)}(e.route.parent,r),function(t,e){return null!==t&&e&&e(new ut(t)),(0,c.of)(!0)}(e.route,r),function(t,e,n){var r=e[e.length-1],i=e.slice(0,e.length-1).reverse().map(function(t){return function(t){var e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)}).filter(function(t){return null!==t}).map(function(e){return(0,b.P)(function(){var i=e.guards.map(function(i){var o,a=en(i,e.node,n);if(function(t){return t&&Se(t.canActivateChild)}(a))o=wt(a.canActivateChild(r,t));else{if(!Se(a))throw new Error("Invalid CanActivateChild guard");o=wt(a(r,t))}return o.pipe((0,Y.P)())});return(0,c.of)(i).pipe(Ae())})});return(0,c.of)(i).pipe(Ae())}(t,e.path,n),function(t,e,n){var r=e.routeConfig?e.routeConfig.canActivate:null;if(!r||0===r.length)return(0,c.of)(!0);var i=r.map(function(r){return(0,b.P)(function(){var i,o=en(r,e,n);if(function(t){return t&&Se(t.canActivate)}(o))i=wt(o.canActivate(e,t));else{if(!Se(o))throw new Error("Invalid CanActivate guard");i=wt(o(e,t))}return i.pipe((0,Y.P)())})});return(0,c.of)(i).pipe(Ae())}(t,e.route,n))}),(0,Y.P)(function(t){return!0!==t},!0))}(r,a,t,e):(0,c.of)(n)}),(0,z.U)(function(t){return Object.assign(Object.assign({},n),{guardsResult:t})}))})}(e.ngModule.injector,function(t){return e.triggerEvent(t)}),(0,q.b)(function(t){if(Pe(t.guardsResult)){var n=vt('Redirecting to "'.concat(e.serializeUrl(t.guardsResult),'"'));throw n.url=t.guardsResult,n}var r=new et(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);e.triggerEvent(r)}),(0,P.h)(function(t){return!!t.guardsResult||(e.restoreHistory(t),e.cancelNavigationTransition(t,""),!1)}),dn(function(t){if(t.guards.canActivateChecks.length)return(0,c.of)(t).pipe((0,q.b)(function(t){var n=new nt(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),(0,F.w)(function(t){var n=!1;return(0,c.of)(t).pipe(function(t,e){return(0,Z.zg)(function(n){var r=n.targetSnapshot,i=n.guards.canActivateChecks;if(!i.length)return(0,c.of)(n);var o=0;return(0,s.D)(i).pipe((0,V.b)(function(n){return function(t,e,n,r){return function(t,e,n,r){var i=Object.keys(t);if(0===i.length)return(0,c.of)({});var o={};return(0,s.D)(i).pipe((0,Z.zg)(function(i){return function(t,e,n,r){var i=en(t,e,r);return wt(i.resolve?i.resolve(e,n):i(e,n))}(t[i],e,n,r).pipe((0,q.b)(function(t){o[i]=t}))}),A(1),(0,Z.zg)(function(){return Object.keys(o).length===i.length?(0,c.of)(o):k.E}))}(t._resolve,t,e,r).pipe((0,z.U)(function(e){return t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),re(t,n).resolve),null}))}(n.route,r,t,e)}),(0,q.b)(function(){return o++}),A(1),(0,Z.zg)(function(t){return o===i.length?(0,c.of)(n):k.E}))})}(e.paramsInheritanceStrategy,e.ngModule.injector),(0,q.b)({next:function(){return n=!0},complete:function(){n||(e.restoreHistory(t),e.cancelNavigationTransition(t,"At least one route resolver didn't emit any value."))}}))}),(0,q.b)(function(t){var n=new rt(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}))}),dn(function(t){var n=t.targetSnapshot,r=t.id,i=t.extractedUrl,o=t.rawUrl,a=t.extras,s=a.skipLocationChange,u=a.replaceUrl;return e.hooks.afterPreactivation(n,{navigationId:r,appliedUrlTree:i,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!u})}),(0,z.U)(function(t){var n=function(t,e,n){var r=le(t,e._root,n?n._root:void 0);return new te(r,e)}(e.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:n})}),(0,q.b)(function(t){e.currentUrlTree=t.urlAfterRedirects,e.rawUrlTree=e.urlHandlingStrategy.merge(t.urlAfterRedirects,t.rawUrl),e.routerState=t.targetRouterState,"deferred"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(e.rawUrlTree,t),e.browserUrlTree=t.urlAfterRedirects)}),function(t,e,n){return(0,z.U)(function(r){return new xe(e,r.targetRouterState,r.currentRouterState,n).activate(t),r})}(e.rootContexts,e.routeReuseStrategy,function(t){return e.triggerEvent(t)}),(0,q.b)({next:function(){r=!0},complete:function(){r=!0}}),(0,H.x)(function(){var n;if(!r&&!i){var o="Navigation ID ".concat(t.id," is not equal to the current navigation id ").concat(e.navigationId);"replace"===e.canceledNavigationResolution?(e.restoreHistory(t),e.cancelNavigationTransition(t,o)):e.cancelNavigationTransition(t,o)}(null===(n=e.currentNavigation)||void 0===n?void 0:n.id)===t.id&&(e.currentNavigation=null)}),(0,B.K)(function(r){if(i=!0,function(t){return t&&t[pt]}(r)){var o=Pe(r.url);o||(e.navigated=!0,e.restoreHistory(t,!0));var a=new Q(t.id,e.serializeUrl(t.extractedUrl),r.message);n.next(a),o?setTimeout(function(){var n=e.urlHandlingStrategy.merge(r.url,e.rawUrlTree),i={skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===e.urlUpdateStrategy||Mn(t.source)};e.scheduleNavigation(n,"imperative",null,i,{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{e.restoreHistory(t,!0);var s=new W(t.id,e.serializeUrl(t.extractedUrl),r);n.next(s);try{t.resolve(e.errorHandler(r))}catch(a){t.reject(a)}}return k.E}))}))}},{key:"resetRootComponentType",value:function(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}},{key:"getTransition",value:function(){var t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}},{key:"setTransition",value:function(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}},{key:"initialNavigation",value:function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}},{key:"setUpLocationChangeListener",value:function(){var t=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(e){var n=t.extractLocationChangeInfoFromEvent(e);t.shouldScheduleNavigation(t.lastLocationChangeInfo,n)&&setTimeout(function(){var e=n.source,r=n.state,i=n.urlTree,o={replaceUrl:!0};if(r){var a=Object.assign({},r);delete a.navigationId,delete a.\u0275routerPageId,0!==Object.keys(a).length&&(o.state=a)}t.scheduleNavigation(i,e,r,o)},0),t.lastLocationChangeInfo=n}))}},{key:"extractLocationChangeInfoFromEvent",value:function(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}},{key:"shouldScheduleNavigation",value:function(t,e){if(!t)return!0;var n=e.urlTree.toString()===t.urlTree.toString();return e.transitionId!==t.transitionId||!n||!("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source)}},{key:"url",get:function(){return this.serializeUrl(this.currentUrlTree)}},{key:"getCurrentNavigation",value:function(){return this.currentNavigation}},{key:"triggerEvent",value:function(t){this.events.next(t)}},{key:"resetConfig",value:function(t){De(t),this.config=t.map(ze),this.navigated=!1,this.lastSuccessfulId=-1}},{key:"ngOnDestroy",value:function(){this.dispose()}},{key:"dispose",value:function(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}},{key:"createUrlTree",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.relativeTo,r=e.queryParams,i=e.fragment,o=e.queryParamsHandling,a=e.preserveFragment,s=n||this.routerState.root,u=a?this.currentUrlTree.fragment:i,c=null;switch(o){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=r||null}return null!==c&&(c=this.removeEmptyProps(c)),function(t,e,n,r,i){if(0===n.length)return pe(e.root,e.root,e,r,i);var o=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new ge(!0,0,t);var e=0,n=!1,r=t.reduce(function(t,r,i){if("object"==typeof r&&null!=r){if(r.outlets){var o={};return kt(r.outlets,function(t,e){o[e]="string"==typeof t?t.split("/"):t}),[].concat(d(t),[{outlets:o}])}if(r.segmentPath)return[].concat(d(t),[r.segmentPath])}return"string"!=typeof r?[].concat(d(t),[r]):0===i?(r.split("/").forEach(function(r,i){0==i&&"."===r||(0==i&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))}),t):[].concat(d(t),[r])},[]);return new ge(n,e,r)}(n);if(o.toRoot())return pe(e.root,new At([],{}),e,r,i);var a=function(t,e,n){if(t.isAbsolute)return new me(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){var r=n.snapshot._urlSegment;return new me(r,r===e.root,0)}var i=fe(t.commands[0])?0:1;return function(t,e,n){for(var r=t,i=e,o=n;o>i;){if(o-=i,!(r=r.parent))throw new Error("Invalid number of '../'");i=r.segments.length}return new me(r,!1,i-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,t.numberOfDoubleDots)}(o,e,t),s=a.processChildren?_e(a.segmentGroup,a.index,o.commands):ye(a.segmentGroup,a.index,o.commands);return pe(a.segmentGroup,s,e,r,i)}(s,this.currentUrlTree,t,c,null!=u?u:null)}},{key:"navigateByUrl",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1},n=Pe(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,e)}},{key:"navigate",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};return function(t){for(var e=0;e1&&void 0!==arguments[1]&&arguments[1];if("computed"===this.canceledNavigationResolution){var i=this.currentPageId-t.targetPageId;"popstate"!==t.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(e=this.currentNavigation)||void 0===e?void 0:e.finalUrl)||0===i?this.currentUrlTree===(null===(n=this.currentNavigation)||void 0===n?void 0:n.finalUrl)&&0===i&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(i)}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(t),this.resetUrlToCurrentUrlTree())}},{key:"resetState",value:function(t){this.routerState=t.currentRouterState,this.currentUrlTree=t.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl)}},{key:"resetUrlToCurrentUrlTree",value:function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}},{key:"cancelNavigationTransition",value:function(t,e){var n=new Q(t.id,this.serializeUrl(t.extractedUrl),e);this.triggerEvent(n),t.resolve(!1)}},{key:"generateNgRouterState",value:function(t,e){return"computed"===this.canceledNavigationResolution?{navigationId:t,"\u0275routerPageId":e}:{navigationId:t}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.LFG(o.DyG),o.LFG(Dt),o.LFG(yn),o.LFG(i.Ye),o.LFG(o.zs3),o.LFG(o.v3s),o.LFG(o.Sil),o.LFG(void 0))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t}();function Mn(t){return"imperative"!==t}var Sn=function(){var t=function(){function t(e,n,r,i,o){y(this,t),this.router=e,this.route=n,this.commands=[],this.onChanges=new C.xQ,null==r&&i.setAttribute(o.nativeElement,"tabindex","0")}return g(t,[{key:"ngOnChanges",value:function(t){this.onChanges.next(this)}},{key:"routerLink",set:function(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}},{key:"onClick",value:function(){var t={skipLocationChange:En(this.skipLocationChange),replaceUrl:En(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,t),!0}},{key:"urlTree",get:function(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:En(this.preserveFragment)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(On),o.Y36(ne),o.$8M("tabindex"),o.Y36(o.Qsj),o.Y36(o.SBq))},t.\u0275dir=o.lG2({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&o.NdJ("click",function(){return e.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[o.TTD]}),t}(),Pn=function(){var t=function(){function t(e,n,r){var i=this;y(this,t),this.router=e,this.route=n,this.locationStrategy=r,this.commands=[],this.onChanges=new C.xQ,this.subscription=e.events.subscribe(function(t){t instanceof $&&i.updateTargetUrlAndHref()})}return g(t,[{key:"routerLink",set:function(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}},{key:"ngOnChanges",value:function(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"onClick",value:function(t,e,n,r,i){if(0!==t||e||n||r||i||"string"==typeof this.target&&"_self"!=this.target)return!0;var o={skipLocationChange:En(this.skipLocationChange),replaceUrl:En(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,o),!1}},{key:"updateTargetUrlAndHref",value:function(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}},{key:"urlTree",get:function(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:En(this.preserveFragment)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(On),o.Y36(ne),o.Y36(i.S$))},t.\u0275dir=o.lG2({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&o.NdJ("click",function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)}),2&t&&(o.Ikx("href",e.href,o.LSH),o.uIk("target",e.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[o.TTD]}),t}();function En(t){return""===t||!!t}var An=function(){var t=function(){function t(e,n,r,i,o,a){var s=this;y(this,t),this.router=e,this.element=n,this.renderer=r,this.cdr=i,this.link=o,this.linkWithHref=a,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.routerEventsSubscription=e.events.subscribe(function(t){t instanceof $&&s.update()})}return g(t,[{key:"ngAfterContentInit",value:function(){var t=this;(0,c.of)(this.links.changes,this.linksWithHrefs.changes,(0,c.of)(null)).pipe((0,G.J)()).subscribe(function(e){t.update(),t.subscribeToEachLinkOnChanges()})}},{key:"subscribeToEachLinkOnChanges",value:function(){var t,e=this;null===(t=this.linkInputChangesSubscription)||void 0===t||t.unsubscribe();var n=[].concat(d(this.links.toArray()),d(this.linksWithHrefs.toArray()),[this.link,this.linkWithHref]).filter(function(t){return!!t}).map(function(t){return t.onChanges});this.linkInputChangesSubscription=(0,s.D)(n).pipe((0,G.J)()).subscribe(function(t){e.isActive!==e.isLinkActive(e.router)(t)&&e.update()})}},{key:"routerLinkActive",set:function(t){var e=Array.isArray(t)?t:t.split(" ");this.classes=e.filter(function(t){return!!t})}},{key:"ngOnChanges",value:function(t){this.update()}},{key:"ngOnDestroy",value:function(){var t;this.routerEventsSubscription.unsubscribe(),null===(t=this.linkInputChangesSubscription)||void 0===t||t.unsubscribe()}},{key:"update",value:function(){var t=this;!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(function(){var e=t.hasActiveLinks();t.isActive!==e&&(t.isActive=e,t.cdr.markForCheck(),t.classes.forEach(function(n){e?t.renderer.addClass(t.element.nativeElement,n):t.renderer.removeClass(t.element.nativeElement,n)}))})}},{key:"isLinkActive",value:function(t){var e=function(t){return!!t.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return function(n){return t.isActive(n.urlTree,e)}}},{key:"hasActiveLinks",value:function(){var t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.linkWithHref&&t(this.linkWithHref)||this.links.some(t)||this.linksWithHrefs.some(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(On),o.Y36(o.SBq),o.Y36(o.Qsj),o.Y36(o.sBO),o.Y36(Sn,8),o.Y36(Pn,8))},t.\u0275dir=o.lG2({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(t,e,n){var r;(1&t&&(o.Suo(n,Sn,5),o.Suo(n,Pn,5)),2&t)&&(o.iGM(r=o.CRH())&&(e.links=r),o.iGM(r=o.CRH())&&(e.linksWithHrefs=r))},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[o.TTD]}),t}(),Tn=function(){var t=function(){function t(e,n,r,i,a){y(this,t),this.parentContexts=e,this.location=n,this.resolver=r,this.changeDetector=a,this.activated=null,this._activatedRoute=null,this.activateEvents=new o.vpe,this.deactivateEvents=new o.vpe,this.name=i||ht,e.onChildOutletCreated(this.name,this)}return g(t,[{key:"ngOnDestroy",value:function(){this.parentContexts.onChildOutletDestroyed(this.name)}},{key:"ngOnInit",value:function(){if(!this.activated){var t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}},{key:"isActivated",get:function(){return!!this.activated}},{key:"component",get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}},{key:"activatedRoute",get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}},{key:"activatedRouteData",get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}},{key:"detach",value:function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var t=this.activated;return this.activated=null,this._activatedRoute=null,t}},{key:"attach",value:function(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}},{key:"deactivate",value:function(){if(this.activated){var t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}},{key:"activateWith",value:function(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;var n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,i=new In(t,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(yn),o.Y36(o.s_b),o.Y36(o._Vd),o.$8M("name"),o.Y36(o.sBO))},t.\u0275dir=o.lG2({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t}(),In=function(){function t(e,n,r){y(this,t),this.route=e,this.childContexts=n,this.parent=r}return g(t,[{key:"get",value:function(t,e){return t===ne?this.route:t===yn?this.childContexts:this.parent.get(t,e)}}]),t}(),Dn=g(function t(){y(this,t)}),Ln=function(){function t(){y(this,t)}return g(t,[{key:"preload",value:function(t,e){return(0,c.of)(null)}}]),t}(),Nn=function(){var t=function(){function t(e,n,r,i,o){y(this,t),this.router=e,this.injector=i,this.preloadingStrategy=o,this.loader=new gn(n,r,function(t){return e.triggerEvent(new it(t))},function(t){return e.triggerEvent(new ot(t))})}return g(t,[{key:"setUpPreloading",value:function(){var t=this;this.subscription=this.router.events.pipe((0,P.h)(function(t){return t instanceof $}),(0,V.b)(function(){return t.preload()})).subscribe(function(){})}},{key:"preload",value:function(){var t=this.injector.get(o.h0i);return this.processRoutes(t,this.router.config)}},{key:"ngOnDestroy",value:function(){this.subscription&&this.subscription.unsubscribe()}},{key:"processRoutes",value:function(t,e){var n,r=[],i=_(e);try{for(i.s();!(n=i.n()).done;){var o=n.value;if(o.loadChildren&&!o.canLoad&&o._loadedConfig){var a=o._loadedConfig;r.push(this.processRoutes(a.module,a.routes))}else o.loadChildren&&!o.canLoad?r.push(this.preloadConfig(t,o)):o.children&&r.push(this.processRoutes(t,o.children))}}catch(u){i.e(u)}finally{i.f()}return(0,s.D)(r).pipe((0,G.J)(),(0,z.U)(function(t){}))}},{key:"preloadConfig",value:function(t,e){var n=this;return this.preloadingStrategy.preload(e,function(){return(e._loadedConfig?(0,c.of)(e._loadedConfig):n.loader.load(t.injector,e)).pipe((0,Z.zg)(function(t){return e._loadedConfig=t,n.processRoutes(t.module,t.routes)}))})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.LFG(On),o.LFG(o.v3s),o.LFG(o.Sil),o.LFG(o.zs3),o.LFG(Dn))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t}(),zn=function(){var t=function(){function t(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};y(this,t),this.router=e,this.viewportScroller=n,this.options=r,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},r.scrollPositionRestoration=r.scrollPositionRestoration||"disabled",r.anchorScrolling=r.anchorScrolling||"disabled"}return g(t,[{key:"init",value:function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}},{key:"createScrollEvents",value:function(){var t=this;return this.router.events.subscribe(function(e){e instanceof X?(t.store[t.lastId]=t.viewportScroller.getScrollPosition(),t.lastSource=e.navigationTrigger,t.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof $&&(t.lastId=e.id,t.scheduleScrollEvent(e,t.router.parseUrl(e.urlAfterRedirects).fragment))})}},{key:"consumeScrollEvents",value:function(){var t=this;return this.router.events.subscribe(function(e){e instanceof lt&&(e.position?"top"===t.options.scrollPositionRestoration?t.viewportScroller.scrollToPosition([0,0]):"enabled"===t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===t.options.anchorScrolling?t.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition([0,0]))})}},{key:"scheduleScrollEvent",value:function(t,e){this.router.triggerEvent(new lt(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.LFG(On),o.LFG(i.EM),o.LFG(void 0))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t}(),Fn=new o.OlP("ROUTER_CONFIGURATION"),Rn=new o.OlP("ROUTER_FORROOT_GUARD"),jn=[i.Ye,{provide:Dt,useClass:Lt},{provide:On,useFactory:function(t,e,n,r,i,o,a){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},u=arguments.length>8?arguments[8]:void 0,c=arguments.length>9?arguments[9]:void 0,l=new On(null,t,e,n,r,i,o,_t(a));return u&&(l.urlHandlingStrategy=u),c&&(l.routeReuseStrategy=c),function(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy)}(s,l),s.enableTracing&&l.events.subscribe(function(t){var e,n;null===(e=console.group)||void 0===e||e.call(console,"Router Event: ".concat(t.constructor.name)),console.log(t.toString()),console.log(t),null===(n=console.groupEnd)||void 0===n||n.call(console)}),l},deps:[Dt,yn,i.Ye,o.zs3,o.v3s,o.Sil,vn,Fn,[function(){return g(function t(){y(this,t)})}(),new o.FiY],[function(){return g(function t(){y(this,t)})}(),new o.FiY]]},yn,{provide:ne,useFactory:function(t){return t.routerState.root},deps:[On]},{provide:o.v3s,useClass:o.EAV},Nn,Ln,function(){function t(){y(this,t)}return g(t,[{key:"preload",value:function(t,e){return e().pipe((0,B.K)(function(){return(0,c.of)(null)}))}}]),t}(),{provide:Fn,useValue:{enableTracing:!1}}];function Bn(){return new o.PXZ("Router",On)}var Vn=function(){var t=function(){function t(e,n){y(this,t)}return g(t,null,[{key:"forRoot",value:function(e,n){return{ngModule:t,providers:[jn,Un(e),{provide:Rn,useFactory:qn,deps:[[On,new o.FiY,new o.tp0]]},{provide:Fn,useValue:n||{}},{provide:i.S$,useFactory:Zn,deps:[i.lw,[new o.tBr(i.mr),new o.FiY],Fn]},{provide:zn,useFactory:Yn,deps:[On,i.EM,Fn]},{provide:Dn,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Ln},{provide:o.PXZ,multi:!0,useFactory:Bn},[Hn,{provide:o.ip1,multi:!0,useFactory:Gn,deps:[Hn]},{provide:Xn,useFactory:Jn,deps:[Hn]},{provide:o.tb,multi:!0,useExisting:Xn}]]}}},{key:"forChild",value:function(e){return{ngModule:t,providers:[Un(e)]}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.LFG(Rn,8),o.LFG(On,8))},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({}),t}();function Yn(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new zn(t,e,n)}function Zn(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.useHash?new i.Do(t,e):new i.b0(t,e)}function qn(t){return"guarded"}function Un(t){return[{provide:o.deG,multi:!0,useValue:t},{provide:vn,multi:!0,useValue:t}]}var Hn=function(){var t=function(){function t(e){y(this,t),this.injector=e,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new C.xQ}return g(t,[{key:"appInitializer",value:function(){var t=this;return this.injector.get(i.V_,Promise.resolve(null)).then(function(){if(t.destroyed)return Promise.resolve(!0);var e=null,n=new Promise(function(t){return e=t}),r=t.injector.get(On),i=t.injector.get(Fn);return"disabled"===i.initialNavigation?(r.setUpLocationChangeListener(),e(!0)):"enabled"===i.initialNavigation||"enabledBlocking"===i.initialNavigation?(r.hooks.afterPreactivation=function(){return t.initNavigation?(0,c.of)(null):(t.initNavigation=!0,e(!0),t.resultOfPreactivationDone)},r.initialNavigation()):e(!0),n})}},{key:"bootstrapListener",value:function(t){var e=this.injector.get(Fn),n=this.injector.get(Nn),r=this.injector.get(zn),i=this.injector.get(On),a=this.injector.get(o.z2F);t===a.components[0]&&(("enabledNonBlocking"===e.initialNavigation||void 0===e.initialNavigation)&&i.initialNavigation(),n.setUpPreloading(),r.init(),i.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}},{key:"ngOnDestroy",value:function(){this.destroyed=!0}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.LFG(o.zs3))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t}();function Gn(t){return t.appInitializer.bind(t)}function Jn(t){return t.bootstrapListener.bind(t)}var Xn=new o.OlP("Router Initializer")},62579:function(t,e,n){"use strict";n.d(e,{L1:function(){return d},ux:function(){return p},UA:function(){return v},H3:function(){return g},Ct:function(){return m},s5:function(){return y},yZ:function(){return _},m9:function(){return f}});var r=n(74788),i=n(29856),o=n(22759),a=n(9945),s=n(39761),u=n(88002),c=n(87519),l=n(47349),h=n(12057),f=new r.OlP("An abstraction over global window object",{factory:function(){var t=(0,r.f3M)(h.K0).defaultView;if(!t)throw new Error("Window is not available");return t}}),d=new r.OlP("Shared Observable based on `window.requestAnimationFrame`",{factory:function(){var t=(0,r.f3M)(f),e=t.requestAnimationFrame,n=t.cancelAnimationFrame;return new i.y(function(t){var r=NaN;return r=e(function n(i){t.next(i),r=e(n)}),function(){n(r)}}).pipe((0,a.B)())}}),p=(new r.OlP("An abstraction over window.caches object",{factory:function(){return(0,r.f3M)(f).caches}}),new r.OlP("An abstraction over window.crypto object",{factory:function(){return(0,r.f3M)(f).crypto}}),new r.OlP("An abstraction over window.CSS object",{factory:function(){return(0,r.f3M)(f).CSS||{escape:function(t){return t},supports:function(){return!1}}}})),v=new r.OlP("An abstraction over window.history object",{factory:function(){return(0,r.f3M)(f).history}}),g=new r.OlP("An abstraction over window.localStorage object",{factory:function(){return(0,r.f3M)(f).localStorage}}),m=new r.OlP("An abstraction over window.location object",{factory:function(){return(0,r.f3M)(f).location}}),y=new r.OlP("An abstraction over window.navigator object",{factory:function(){return(0,r.f3M)(f).navigator}}),_=(new r.OlP("An abstraction over window.navigator.mediaDevices object",{factory:function(){return(0,r.f3M)(y).mediaDevices}}),new r.OlP("An abstraction over window.navigator.connection object",{factory:function(){return(0,r.f3M)(y).connection||null}}),new r.OlP("Shared Observable based on `document visibility changed`",{factory:function(){var t=(0,r.f3M)(h.K0);return(0,o.R)(t,"visibilitychange").pipe((0,s.O)(0),(0,u.U)(function(){return"hidden"!==t.visibilityState}),(0,c.x)(),(0,l.d)({refCount:!1,bufferSize:1}))}}),new r.OlP("An abstraction over window.performance object",{factory:function(){return(0,r.f3M)(f).performance}}),new r.OlP("An abstraction over window.screen object",{factory:function(){return(0,r.f3M)(f).screen}}),new r.OlP("An abstraction over window.sessionStorage object",{factory:function(){return(0,r.f3M)(f).sessionStorage}}),new r.OlP("An abstraction over SpeechRecognition class",{factory:function(){var t=(0,r.f3M)(f);return t.speechRecognition||t.webkitSpeechRecognition||null}}),new r.OlP("An abstraction over window.speechSynthesis object",{factory:function(){return(0,r.f3M)(f).speechSynthesis}}),new r.OlP("An abstraction over window.navigator.userAgent object",{factory:function(){return(0,r.f3M)(y).userAgent}}))},68159:function(t,n,r){"use strict";r.d(n,{c0:function(){return cs},JF:function(){return ls},FU:function(){return fs},mG:function(){return ds},zb:function(){return xs},Lx:function(){return Ms},B7:function(){return ps},f2:function(){return Is},u4:function(){return Ds},$5:function(){return Gs},qn:function(){return Js},qo:function(){return Ws},Lq:function(){return Ks},nj:function(){return Qs},hs:function(){return Es}});var o=r(74788),s=r(64548),c=r(44427),l=r(26215),h=r(79765),v=r(41291),m=r(66682),_=r(43190),b=r(88002),k=r(39761),w=r(46782),C=r(45435),x=r(19773),O=r(15257),M=r(87519),S=r(9945),P=r(33770),E=r(40719),A=r(12057),T=["wrapper"];function I(t,e){if(1&t&&(o.TgZ(0,"tui-loader",4),o.GkF(1,5),o.qZA()),2&t){var n=o.oxw(2);o.Q6J("overlay",!0)("showLoader",n.loading),o.xp6(1),o.Q6J("ngTemplateOutlet",n.content)}}function D(t,e){if(1&t&&(o.ynx(0),o.Hsn(1),o.YNc(2,I,2,3,"tui-loader",3),o.BQk()),2&t){var n=o.oxw();o.xp6(2),o.Q6J("ngIf",n.async)("ngIfElse",n.content)}}var L,N=["*"],z=((L=g(function t(){y(this,t)})).\u0275fac=function(t){return new(t||L)},L.\u0275dir=o.lG2({type:L,selectors:[["","tuiExpandContent",""]]}),L),F=function(){var t=function(){function t(e){y(this,t),this.cdr=e,this.state=0,this.async=!1,this.content=null,this.expanded=null}return g(t,[{key:"expandedSetter",set:function(t){if(null!==this.expanded)return 0!==this.state?(this.expanded=t,void(this.state=3)):(this.expanded=t,void this.retrigger(this.async&&t?1:3));this.expanded=t}},{key:"overflow",get:function(){return 0!==this.state}},{key:"loading",get:function(){return!!this.expanded&&this.async&&1===this.state}},{key:"height",get:function(){var t=this.expanded,e=this.state,n=this.contentWrapper;return t&&2===e||!t&&3===e?0:n&&(!t&&2===e||t&&3===e)?n.nativeElement.offsetHeight:n&&t&&1===e?Math.max(n.nativeElement.offsetHeight,48):null}},{key:"contentVisible",get:function(){return this.expanded||0!==this.state}},{key:"onTransitionEnd",value:function(t){"opacity"===t.propertyName&&3===this.state&&(this.state=0)}},{key:"onExpandLoaded",value:function(t){t.stopPropagation(),1===this.state&&this.retrigger(3)}},{key:"retrigger",value:function(t){var e=this;this.state=2,setTimeout(function(){2===e.state&&(e.state=t,e.cdr.markForCheck())})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.sBO))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-expand"]],contentQueries:function(t,e,n){var r;(1&t&&o.Suo(n,z,5,o.Rgc),2&t)&&(o.iGM(r=o.CRH())&&(e.content=r.first))},viewQuery:function(t,e){var n;(1&t&&o.Gf(T,5),2&t)&&(o.iGM(n=o.CRH())&&(e.contentWrapper=n.first))},hostVars:9,hostBindings:function(t,e){1&t&&o.NdJ("transitionend.self",function(t){return e.onTransitionEnd(t)})("tui-expand-loaded",function(t){return e.onExpandLoaded(t)}),2&t&&(o.uIk("aria-expanded",e.expanded),o.Udp("height",e.height,"px"),o.ekj("_expanded",e.expanded)("_overflow",e.overflow)("_loading",e.loading))},inputs:{async:"async",expandedSetter:["expanded","expandedSetter"]},ngContentSelectors:N,decls:3,vars:3,consts:[[1,"t-wrapper"],["wrapper",""],[4,"ngIf"],["size","l",3,"overlay","showLoader",4,"ngIf","ngIfElse"],["size","l",3,"overlay","showLoader"],[3,"ngTemplateOutlet"]],template:function(t,e){1&t&&(o.F$t(),o.TgZ(0,"div",0,1),o.YNc(2,D,3,2,"ng-container",2),o.qZA()),2&t&&(o.Q6J("@tuiParentAnimation",void 0)("@.disabled",e.overflow),o.xp6(2),o.Q6J("ngIf",e.contentVisible))},directives:[A.O5,E.kM,A.tP],styles:['[_nghost-%COMP%]{display:block;transition-property:opacity,height,visibility;transition-duration:var(--tui-duration, .3s);opacity:0}._overflow[_nghost-%COMP%]{overflow:hidden}._expanded[_nghost-%COMP%]{opacity:1;transform:translate(0)}._loading[_nghost-%COMP%]{opacity:.99}.t-wrapper[_ngcontent-%COMP%]:before, .t-wrapper[_ngcontent-%COMP%]:after{content:"";display:table}'],data:{animation:[P.Kx]},changeDetection:0}),t}(),R=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,E.dS]]}),t}(),j=r(75122),B=r(56083),V=r(91211),Y=r(62579),Z=r(27103),q=r(99434),U=r(11927),H=r(25917),G=r(9112),J=r(81359),X=r(92668),$=r(64493),Q=r(57179),W=function(){var t=function(){function t(e,n,r){var i=this;y(this,t),this.doc=e,this.el=n,this.renderer=r,this.activeElement=(0,Q.ie)(this.doc),Promise.resolve().then(function(){return i.el.nativeElement.focus()})}return g(t,[{key:"onBlur",value:function(){this.renderer.removeAttribute(this.el.nativeElement,"tabIndex")}},{key:"onFocusIn",value:function(t){var e=this.el.nativeElement;if(!(0,$.PP)(e,t)){var n=(0,Q.BW)({initial:e,root:e});n&&n.focus()}}},{key:"ngOnDestroy",value:function(){var t=this;(0,Q.hp)(this.doc),Promise.resolve().then(function(){(0,$.dW)(t.activeElement)&&t.activeElement.focus()})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(A.K0),o.Y36(o.SBq),o.Y36(o.Qsj))},t.\u0275dir=o.lG2({type:t,selectors:[["","tuiFocusTrap",""]],hostAttrs:["tabIndex","0"],hostBindings:function(t,e){1&t&&o.NdJ("blur",function(){return e.onBlur()})("focusin.silent",function(t){return e.onFocusIn(t.target)},!1,o.Jf7)}}),t}(),K=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({}),t}(),tt=r(71486),et=r(89570);function nt(t,e){1&t&&o.GkF(0)}function rt(t,e){1&t&&o._UZ(0,"tui-scroll-controls",5)}function it(t,e){if(1&t&&(o.TgZ(0,"section",2),o.YNc(1,nt,1,0,"ng-container",3),o.YNc(2,rt,1,0,"tui-scroll-controls",4),o.qZA()),2&t){var n=e.$implicit,r=o.oxw();o.Q6J("@host",void 0),o.uIk("aria-labelledby",n.id),o.xp6(1),o.Q6J("polymorpheusOutlet",n.component)("polymorpheusOutletContext",n),o.xp6(1),o.Q6J("ngIf",!r.isMobile)}}function ot(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"div",6),o.NdJ("transitionend",function(t){var e=o.CHM(n).tuiLet,r=o.oxw();return r.onDialog(t,!!r.dialogs.length,!!e)})("popstate",function(){var t=o.CHM(n).tuiLet,e=o.oxw();return e.closeLast(e.dialogs,!!t)},!1,o.Jf7),o.qZA()}if(2&t){var r=o.oxw();o.ekj("t-overlay_visible",r.dialogs.length)}}var at={label:"ignoreMe"},st=(0,U.JN)((0,H.of)(!1)),ut=function(){var t=function(){function t(e,n,r,i,o,a,s,u){y(this,t),this.isMobile=e,this.isDialogClosesOnBack$=n,this.dialogsByType=r,this.historyRef=i,this.titleService=o,this.destroy$=a,this.cdr=s,this.doc=u,this.dialogs=[]}return g(t,[{key:"ngOnInit",value:function(){var t=this;(0,G.aj)(this.dialogsByType).pipe((0,b.U)(function(t){var e;return(e=[]).concat.apply(e,d(t)).sort(function(t,e){return t.createdAt-e.createdAt})}),(0,w.R)(this.destroy$)).subscribe(function(e){t.dialogs=e,t.cdr.markForCheck(),t.doc.documentElement.classList.toggle("t-overscroll-none",!!e.length)})}},{key:"closeLast",value:function(t,e){if(e){var n=p(t.slice(-1),1)[0];!n||(t.length>1&&this.historyRef.pushState(at,this.titleService.getTitle()),n.$implicit.complete())}}},{key:"onDialog",value:function(t,e,n){var r,i=t.propertyName;!n||"letter-spacing"!==i||(e?this.historyRef.pushState(at,this.titleService.getTitle()):(null==(r=this.historyRef.state)?void 0:r.label)===at.label&&this.historyRef.back())}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(q.fL),o.Y36(st),o.Y36(q.qY),o.Y36(Y.UA),o.Y36(V.Dx),o.Y36(Z.a3,2),o.Y36(o.sBO),o.Y36(A.K0))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-dialog-host"]],features:[o._Bn([Z.a3])],decls:3,vars:4,consts:[["aria-modal","true","role","dialog","tuiFocusTrap","","tuiOverscroll","all","tuiScrollRef","","class","t-dialog",4,"ngFor","ngForOf"],["class","t-overlay",3,"t-overlay_visible","transitionend","popstate",4,"tuiLet"],["aria-modal","true","role","dialog","tuiFocusTrap","","tuiOverscroll","all","tuiScrollRef","",1,"t-dialog"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],["class","t-scrollbars",4,"ngIf"],[1,"t-scrollbars"],[1,"t-overlay",3,"transitionend","popstate"]],template:function(t,e){1&t&&(o.YNc(0,it,3,5,"section",0),o.YNc(1,ot,1,2,"div",1),o.ALo(2,"async")),2&t&&(o.Q6J("ngForOf",e.dialogs),o.xp6(1),o.Q6J("tuiLet",o.lcZ(2,2,e.isDialogClosesOnBack$)))},directives:[A.sg,X.Ls,W,tt.W,J.ex,et.Li,A.O5,J.tZ],pipes:[A.Ov],styles:["[_nghost-%COMP%]{position:fixed;left:0;bottom:0;width:100%;height:0}.t-overlay[_ngcontent-%COMP%], .t-dialog[_ngcontent-%COMP%]{position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:flex-start;outline:none;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.t-overlay.ng-animating[_ngcontent-%COMP%], .t-dialog.ng-animating[_ngcontent-%COMP%]{overflow:clip}.t-overlay[_ngcontent-%COMP%]::-webkit-scrollbar, .t-dialog[_ngcontent-%COMP%]::-webkit-scrollbar, .t-overlay[_ngcontent-%COMP%]::-webkit-scrollbar-thumb, .t-dialog[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:transparent;width:0;height:0}.t-dialog[_ngcontent-%COMP%]{bottom:auto;height:100%}.t-overlay[_ngcontent-%COMP%]{height:100%;pointer-events:none;touch-action:none;opacity:0;letter-spacing:normal;transition:opacity var(--tui-duration, .3s),letter-spacing .01s;background:rgba(0,0,0,.75);-webkit-backdrop-filter:var(--tui-backdrop, none);backdrop-filter:var(--tui-backdrop, none)}.t-overlay_visible[_ngcontent-%COMP%]{opacity:1;letter-spacing:1px}.t-dialog[_ngcontent-%COMP%]:last-of-type{z-index:1}.t-scrollbars[_ngcontent-%COMP%]{position:fixed;top:0;left:0;right:0;bottom:0;margin:0;color:#747474}"],data:{animation:[(0,B.X$)("host",[(0,B.eR)(":enter",[(0,B.oB)({overflow:"clip"}),(0,B.IO)(":scope > *",[(0,B.pV)()],{optional:!0})]),(0,B.eR)(":leave",[(0,B.oB)({overflow:"clip"}),(0,B.IO)(":scope > *",[(0,B.pV)()],{optional:!0})])])]}}),t}(),ct=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,et.wq,tt.e,K,X.WD,J.eI]]}),t}(),lt=function(){var t=function(){function t(){y(this,t)}return g(t,[{key:"transform",value:function(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i.t-wrapper{position:fixed;top:0;left:0;display:flex;width:100%;height:100%;flex-direction:column;pointer-events:none}tui-alert-host>.t-wrapper>*{pointer-events:auto}\n"],encapsulation:2,data:{animation:[P.Kx]}}),t}(),vt=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,ht]]}),t}(),gt=r(87941),mt=r(79456),yt=r(54395);function _t(t,e){1&t&&(o.O4$(),o._UZ(0,"defs",4)),2&t&&o.Q6J("innerHTML",e.$implicit,o.oJD)}function bt(t,e){if(1&t&&(o.O4$(),o.ynx(0),o.YNc(1,_t,1,1,"defs",3),o.BQk()),2&t){var n=o.oxw();o.xp6(1),o.Q6J("ngForOf",n.items)}}function kt(t,e){if(1&t&&(o.O4$(),o.TgZ(0,"defs"),o._UZ(1,"svg",6),o.qZA()),2&t){var n=e.$implicit;o.xp6(1),o.Q6J("outerHTML",n,o.oJD)}}function wt(t,e){if(1&t&&(o.O4$(),o.YNc(0,kt,2,1,"defs",5)),2&t){var n=o.oxw();o.Q6J("ngForOf",n.items)}}var Ct=function(){var t=function(){function t(e,n,r,i){y(this,t),this.svgService=e,this.cdr=n,this.destroy$=r,this.isBrowser=!0,this.isBrowser=!(0,A.PM)(i)}return g(t,[{key:"ngOnInit",value:function(){var t=this;this.svgService.items$.pipe((0,w.R)(this.destroy$)).subscribe(function(e){t.items=e.values(),t.cdr.detectChanges()})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(gt.K5),o.Y36(o.sBO),o.Y36(Z.a3,2),o.Y36(o.Lbi))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-svg-defs-host"]],features:[o._Bn([Z.a3])],decls:4,vars:2,consts:[["version","1.1",0,"xmlns","xlink","http://www.w3.org/1999/xlink","xmlns","http://www.w3.org/2000/svg"],[4,"ngIf","ngIfElse"],["server",""],[3,"innerHTML",4,"ngFor","ngForOf"],[3,"innerHTML"],[4,"ngFor","ngForOf"],[3,"outerHTML"]],template:function(t,e){if(1&t&&(o.O4$(),o.TgZ(0,"svg",0),o.YNc(1,bt,2,1,"ng-container",1),o.YNc(2,wt,1,1,"ng-template",null,2,o.W1O),o.qZA()),2&t){var n=o.MAs(3);o.xp6(1),o.Q6J("ngIf",e.isBrowser)("ngIfElse",n)}},directives:[A.O5,A.sg],styles:["[_nghost-%COMP%]{display:none}"],changeDetection:0}),t}(),xt=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,X.WD]]}),t}(),Ot=r(221);function Mt(t,e){1&t&&o.GkF(0)}var St=function(t){return{$implicit:t}};function Pt(t,e){if(1&t&&(o.TgZ(0,"div",1),o.YNc(1,Mt,1,0,"ng-container",2),o.qZA()),2&t){var n=e.$implicit;o.Q6J("@tuiParentAnimation",void 0)("tuiActiveZoneParent",n.activeZone||null),o.xp6(1),o.Q6J("polymorpheusOutlet",n.component)("polymorpheusOutletContext",o.VKq(4,St,n))}}var Et=function(){var t=function(){function t(e,n,r){y(this,t),this.hints$=e,this.destroy$=n,this.cdr=r,this.hints=[]}return g(t,[{key:"ngOnInit",value:function(){var t=this;this.hints$.pipe((0,w.R)(this.destroy$)).subscribe(function(e){t.hints=e,t.cdr.detectChanges()})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(gt.BN),o.Y36(Z.a3,2),o.Y36(o.sBO))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-hints-host"]],hostAttrs:["aria-live","polite"],features:[o._Bn([Z.a3])],decls:1,vars:1,consts:[["role","tooltip",3,"tuiActiveZoneParent",4,"ngFor","ngForOf"],["role","tooltip",3,"tuiActiveZoneParent"],[4,"polymorpheusOutlet","polymorpheusOutletContext"]],template:function(t,e){1&t&&o.YNc(0,Pt,2,6,"div",0),2&t&&o.Q6J("ngForOf",e.hints)},directives:[A.sg,Ot.e,et.Li],styles:["[_nghost-%COMP%]{position:fixed;top:0;left:0;width:100%;height:0}"],data:{animation:[P.Kx]}}),t}(),At=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,et.wq,Ot.A]]}),t}(),Tt=r(11557);function It(t,e){1&t&&o._UZ(0,"tui-scroll-controls",2)}var Dt=["*",[["tuiOverContent"]],[["tuiOverDialogs"]],[["tuiOverAlerts"]],[["tuiOverPortals"]],[["tuiOverHints"]]],Lt=["*","tuiOverContent","tuiOverDialogs","tuiOverAlerts","tuiOverPortals","tuiOverHints"],Nt=function(){var t=g(function t(e,n,r,i,o,a,s,u){var c=s.body;y(this,t),this.duration=e,this.dialogs=n,this.isMobile=r,this.breakpoint=i,this.isIOS=o,this.isAndroid=a,this.isMobileRes$=this.breakpoint.pipe((0,b.U)(function(t){return"mobile"===t})),this.scrollbars$=this.dialogs.length&&!this.isMobile?(0,G.aj)(d(this.dialogs)).pipe((0,b.U)(function(t){return!t.some(function(t){return t.length})}),(0,yt.b)(0)):(0,H.of)(!this.isMobile),c.setAttribute("data-tui-theme",u.toLowerCase())});return t.\u0275fac=function(e){return new(e||t)(o.Y36(mt.dx),o.Y36(q.qY),o.Y36(q.fL),o.Y36(gt.zE),o.Y36(q.FA),o.Y36(q.XG),o.Y36(A.K0),o.Y36(mt.r2))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-root"]],hostAttrs:["data-tui-version","3.55.0"],hostVars:7,hostBindings:function(t,e){1&t&&o.NdJ("$.class._mobile",function(){return e.isMobileRes$}),2&t&&(o.Ikx("$.class._mobile",e.isMobileRes$),o.Udp("--tui-duration",e.duration,"ms"),o.ekj("_ios",e.isIOS)("_android",e.isAndroid))},ngContentSelectors:Lt,decls:14,vars:3,consts:[["class","t-root-scrollbar",4,"ngIf"],[1,"t-root-content"],[1,"t-root-scrollbar"]],template:function(t,e){1&t&&(o.F$t(Dt),o.YNc(0,It,1,0,"tui-scroll-controls",0),o.ALo(1,"async"),o._UZ(2,"tui-svg-defs-host"),o.TgZ(3,"tui-dropdown-host"),o.TgZ(4,"div",1),o.Hsn(5),o.qZA(),o.Hsn(6,1),o._UZ(7,"tui-dialog-host"),o.Hsn(8,2),o._UZ(9,"tui-alert-host"),o.Hsn(10,3),o.qZA(),o.Hsn(11,4),o._UZ(12,"tui-hints-host"),o.Hsn(13,5)),2&t&&o.Q6J("ngIf",o.lcZ(1,1,e.scrollbars$))},directives:[A.O5,Ct,j.qY,ut,pt,Et,J.tZ],pipes:[A.Ov],styles:['@keyframes tuiPresent{to{content:"1"}}@keyframes tuiSkeletonVibe{to{opacity:.5}}html,.tui-zero-scrollbar{scrollbar-width:none;-ms-overflow-style:none}html::-webkit-scrollbar,.tui-zero-scrollbar::-webkit-scrollbar,html::-webkit-scrollbar-thumb,.tui-zero-scrollbar::-webkit-scrollbar-thumb{background:transparent;width:0;height:0}body{font:var(--tui-font-text-s);color:var(--tui-text-01);background:var(--tui-base-01);margin:0}tui-root{position:relative;display:block;flex:1;-webkit-tap-highlight-color:transparent}tui-root>.t-root-scrollbar{position:fixed;top:0;left:0;bottom:0;right:0;margin:0}.t-root-content{height:100%;isolation:isolate}.t-overscroll-none{overscroll-behavior:none;overflow:hidden}\n'],encapsulation:2}),t}(),zt=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,Tt.X1,j.mL,xt,At,ct,vt,J.eI]]}),t}(),Ft=r(76480),Rt=function(){var t,e=function(t){a(n,t);var e=u(n);function n(){return y(this,n),e.apply(this,arguments)}return g(n)}(Ft.GM);return e.\u0275fac=function(n){return(t||(t=o.n5z(e)))(n||e)},e.\u0275cmp=o.Xpm({type:e,selectors:[["tui-theme-night"]],features:[o.qOj],decls:0,vars:0,template:function(t,e){},styles:[":root{--tui-base-01: #222;--tui-base-02: #333;--tui-base-03: #808080;--tui-base-04: #959595;--tui-base-05: #b0b0b0;--tui-base-06: #d7d7d7;--tui-base-07: #ededed;--tui-base-08: #f6f6f6;--tui-base-09: #fff;--tui-focus: rgba(51, 51, 51, .64);--tui-secondary: rgba(255, 255, 255, .16);--tui-secondary-hover: rgba(255, 255, 255, .24);--tui-secondary-active: rgba(255, 255, 255, .4);--tui-clear: rgba(255, 255, 255, .16);--tui-clear-disabled: rgba(255, 255, 255, .08);--tui-clear-hover: rgba(255, 255, 255, .24);--tui-clear-active: rgba(255, 255, 255, .4);--tui-error-fill: #ff8c67;--tui-error-bg: rgba(244, 87, 37, .32);--tui-error-bg-hover: rgba(244, 87, 37, .4);--tui-success-fill: #4ac99b;--tui-success-bg: rgba(74, 201, 155, .32);--tui-success-bg-hover: rgba(74, 201, 155, .4);--tui-warning-fill: #ffc700;--tui-warning-bg: rgba(255, 199, 0, .32);--tui-warning-bg-hover: rgba(255, 199, 0, .4);--tui-info-fill: #70b6f6;--tui-info-bg: rgba(112, 182, 246, .32);--tui-info-bg-hover: rgba(112, 182, 246, .4);--tui-neutral-fill: #959ba4;--tui-neutral-bg: rgba(149, 155, 164, .32);--tui-neutral-bg-hover: rgba(149, 155, 164, .48);--tui-text-01: #ffffff;--tui-text-02: rgba(255, 255, 255, .72);--tui-text-03: rgba(255, 255, 255, .6);--tui-link: #6788ff;--tui-link-hover: #526ed3;--tui-positive: #44c596;--tui-positive-hover: #3aa981;--tui-negative: #ff8c67;--tui-negative-hover: #bb593a;--tui-autofill: var(--tui-autofill-night);--tui-elevation-01: #222;--tui-elevation-02: #222}tui-notification{--tui-base-01: #000}\n"],encapsulation:2,changeDetection:0}),e}(),jt=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({}),t}(),Bt=r(12628),Vt=r(75452),Yt=r(82847),Zt=r(79588),qt=r(90022),Ut=r(75111),Ht=r(1515),Gt=r(95974),Jt=r(54789),Xt=r(98952),$t=r(94853),Qt=r(60885),Wt=r(80134),Kt=r(85648),te=r(18269);function ee(t,e){var n=function(t){var e=String(t),n=p(e.split("e-"),2),r=n[0],i=n[1],o=e;if(i){var a=p(r.split("."),2)[1],s=Number(i)+((null==a?void 0:a.length)||0);o=t.toFixed(s)}return o}(t).split("."),r=p(n,2)[1],i=void 0===r?"":r;return(0,U.dt)(e)?i.slice(0,Math.max(0,e)):i}var ne=r(49941),re=r(22759),ie=r(72361);function oe(t,e){if(1&t&&(o.ynx(0),o._uU(1),o.BQk()),2&t){var n=e.polymorpheusOutlet;o.xp6(1),o.hij(" ",n," ")}}function ae(t,e){if(1&t&&(o.TgZ(0,"label",4),o.YNc(1,oe,2,1,"ng-container",5),o.qZA()),2&t){var n=o.oxw();o.xp6(1),o.Q6J("polymorpheusOutlet",n.item.label)("polymorpheusOutletContext",n.item)}}function se(t,e){1&t&&o._UZ(0,"div",6),2&t&&o.Q6J("innerHTML",e.polymorpheusOutlet,o.oJD)}var ue=(0,U.N1)(function(){return(0,o.f3M)(q.fL)?"1rem 1rem 0 auto":"2rem 3rem 0 auto"}),ce=function(){var t=function(){function t(e,n,r,i,o){y(this,t),this.el=e,this.destroy$=n,this.position=r,this.options=i,this.item=o,this.autoClose="function"==typeof this.item.autoClose?this.item.autoClose(this.item.status):this.item.autoClose,this.animation=this.position.endsWith("auto")?Object.assign(Object.assign({},this.options),{value:"right"}):Object.assign(Object.assign({},this.options),{value:"left"})}return g(t,[{key:"ngOnInit",value:function(){this.initAutoClose()}},{key:"close",value:function(){this.item.$implicit.complete()}},{key:"initAutoClose",value:function(){var t=this;!this.autoClose||(0,v.H)((0,U.dt)(this.autoClose)?this.autoClose:3e3).pipe((0,w.R)((0,re.R)(this.el.nativeElement,"mouseenter")),(0,ie.a)(function(){return(0,re.R)(t.el.nativeElement,"mouseleave")}),(0,w.R)(this.destroy$)).subscribe(function(){return t.close()})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.SBq),o.Y36(Z.a3,2),o.Y36(ue),o.Y36(mt.Pw),o.Y36(et.yf))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-alert"]],hostAttrs:["role","alert"],hostVars:5,hostBindings:function(t,e){2&t&&(o.d8E("@tuiFadeIn",e.options)("@tuiSlideIn",e.animation)("@tuiHeightCollapse",e.animation),o.Udp("margin",e.position))},features:[o._Bn([Z.a3])],decls:4,vars:7,consts:[[3,"hasIcon","hideClose","icon","status","close"],["automation-id","tui-notification-alert__heading","class","t-heading",4,"ngIf"],["automation-id","tui-notification-alert__content",1,"t-content"],[3,"innerHTML",4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-notification-alert__heading",1,"t-heading"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],[3,"innerHTML"]],template:function(t,e){1&t&&(o.TgZ(0,"tui-notification",0),o.NdJ("close",function(){return e.close()}),o.YNc(1,ae,2,2,"label",1),o.TgZ(2,"div",2),o.YNc(3,se,1,1,"div",3),o.qZA(),o.qZA()),2&t&&(o.Q6J("hasIcon",e.item.hasIcon)("hideClose",!e.item.hasCloseButton)("icon",e.item.icon)("status",e.item.status),o.xp6(1),o.Q6J("ngIf",e.item.label),o.xp6(2),o.Q6J("polymorpheusOutlet",e.item.content)("polymorpheusOutletContext",e.item))},directives:[Qt.L,A.O5,et.Li],styles:["[_nghost-%COMP%]{box-shadow:0 1.5rem 1rem #00000008,0 .75rem .75rem #0000000a,0 .25rem .375rem #0000000d;display:block;border-radius:var(--tui-radius-l);width:18rem}[_nghost-%COMP%]:not(:first-child){margin-top:.75rem!important}[_nghost-%COMP%]:not(:last-child){margin-bottom:0!important}.t-heading[_ngcontent-%COMP%]{margin:0}[data-size=s][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-s);font-weight:bold}[data-size=m][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-m);line-height:1.25rem;font-weight:bold}[data-size=l][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-l);line-height:1.5rem;font-weight:bold}.t-content[_ngcontent-%COMP%]{color:var(--tui-text-01);word-wrap:break-word;word-break:break-word}.t-content[_ngcontent-%COMP%]:empty{display:none}"],data:{animation:[ne.QF,ne.Gw,ne.eu]},changeDetection:0}),t}(),le=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r){var i;return y(this,n),(i=e.call(this,r)).defaultOptions=t,i.component=new et.Al(ce),i}return g(n)}(Ft.d5);return t.\u0275fac=function(e){return new(e||t)(o.LFG(mt.Ln),o.LFG(Z.ll))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),he=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({providers:[(0,q.XH)(le)],imports:[[A.ez,et.wq,Qt.H]]}),t}(),fe=r(59796),de=r(56693),pe=r(55197),ve=r(96563),ge=function(){function t(){y(this,t)}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new me(t))}}]),t}(),me=function(t){a(n,t);var e=u(n);function n(t){var r;return y(this,n),(r=e.call(this,t)).hasFirst=!1,r.observables=[],r.subscriptions=[],r}return g(n,[{key:"_next",value:function(t){this.observables.push(t)}},{key:"_complete",value:function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{for(var n=0;n17&&o.isOutside((0,$.mA)(t))}),(0,_.w)(function(){return(0,Ie.mL)(o.doc,"mouseup").pipe((0,O.q)(1),(0,b.U)($.mA),(0,C.h)(function(t){return o.isOutside(t)}))})),o}return g(n,[{key:"element",get:function(){return this.el.nativeElement}},{key:"isOutside",value:function(t){return(0,$.ve)(t)&&(!(0,$.PP)(this.element,t)||t===this.element)}}]),n}(Le.y);return t.\u0275fac=function(e){return new(e||t)(o.LFG(Y.m9),o.LFG(A.K0),o.LFG(o.SBq))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t}(),qe=new Error("Required dialog was dismissed");function Ue(t){return(0,Ne.b)(t)?t:(0,H.of)(t)}var He=new et.Al(function(){var t=function(){function t(e,n,r,i,o,a,s,u){var c=this;y(this,t),this.duration=e,this.isMobile=n,this.context=r,this.closeWord$=s,this.icons=u,this.animation={value:"",params:{start:"40px",duration:this.duration}},this.fullscreenAnimation={value:"",params:{start:"100vh",duration:this.duration}},this.close$=new h.xQ,(0,m.T)(this.close$.pipe((0,_.w)(function(){return Ue(r.closeable)})),o.pipe((0,_.w)(function(){return Ue(r.dismissible)})),a.pipe((0,b.U)(P.Ye))).pipe((0,C.h)(Boolean),(0,w.R)(i)).subscribe(function(){c.close()})}return g(t,[{key:"size",get:function(){return this.context.size}},{key:"header",get:function(){return this.context.header}},{key:"slideInTop",get:function(){return this.fullscreen||this.isMobile?this.fullscreenAnimation:this.animation}},{key:"fullscreen",get:function(){return!this.isMobile&&("fullscreen"===this.size||"page"===this.size)}},{key:"close",value:function(){this.context.required?this.context.$implicit.error(qe):this.context.$implicit.complete()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(mt.dx),o.Y36(q.fL),o.Y36(et.yf),o.Y36(Z.a3,2),o.Y36(Ze),o.Y36(Ve),o.Y36(mt.U0),o.Y36(mt.Gs))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-dialog"]],hostVars:6,hostBindings:function(t,e){2&t&&(o.uIk("data-appearance",e.context.appearance)("data-size",e.size),o.d8E("@tuiSlideInTop",e.slideInTop)("@tuiFadeIn",e.slideInTop),o.ekj("_centered",e.header))},features:[o._Bn([Z.a3,Ze])],decls:7,vars:6,consts:[["class","t-header",4,"ngIf"],[1,"t-content"],[1,"t-heading",3,"id","textContent"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-filler"],["class","t-wrapper",4,"ngIf"],[1,"t-header"],[3,"innerHTML"],[1,"t-buttons"],["size","m","tuiAutoFocus","","tuiButton","","type","button",3,"click"],[1,"t-wrapper"],["automation-id","tui-dialog__close","shape","rounded","size","s","tuiIconButton","","type","button",1,"t-close",3,"appearance","icon","title","click","mousedown.prevent.silent"]],template:function(t,e){1&t&&(o.YNc(0,Re,2,2,"header",0),o.TgZ(1,"div",1),o._UZ(2,"h2",2),o.TgZ(3,"section"),o.YNc(4,je,5,2,"ng-container",3),o.qZA(),o.qZA(),o._UZ(5,"div",4),o.YNc(6,Be,3,5,"div",5)),2&t&&(o.Q6J("ngIf",e.header),o.xp6(2),o.Q6J("id",e.context.id)("textContent",e.context.label),o.xp6(2),o.Q6J("polymorpheusOutlet",e.context.content)("polymorpheusOutletContext",e.context),o.xp6(2),o.Q6J("ngIf",e.context.closeable))},directives:[A.O5,et.Li,Bt.v0,Ae],pipes:[A.Ov],styles:['[_nghost-%COMP%]{position:relative;display:flex;font:var(--tui-font-text-m);flex-direction:column;box-sizing:border-box;margin:auto;border-radius:1rem;border:2.5rem solid transparent}[_nghost-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%;box-shadow:0 1.125rem 1.875rem #0000007a;content:"";border-radius:inherit;pointer-events:none}[data-size=auto][_nghost-%COMP%]{width:auto}[data-size=s][_nghost-%COMP%]{width:30rem}[data-size=s][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:1.5rem}[data-size=s][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:.5rem;font:var(--tui-font-heading-5)}[data-size=m][_nghost-%COMP%]{width:42.5rem}[data-size=m][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:.75rem;font:var(--tui-font-heading-4)}[data-size=l][_nghost-%COMP%]{width:55rem}[data-size=l][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:1rem}[data-size=fullscreen][_nghost-%COMP%], [data-size=page][_nghost-%COMP%]{min-width:100vw;min-height:100%;border-radius:0;border:none;background:var(--tui-elevation-01);box-shadow:0 4rem var(--tui-elevation-01)}[data-size=fullscreen][_nghost-%COMP%] .t-content[_ngcontent-%COMP%], [data-size=page][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:3rem calc(50vw - (45rem / 2))}[data-size=fullscreen][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%], [data-size=page][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:1rem}[data-size=page][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0}._centered[_nghost-%COMP%]{text-align:center}[_nghost-%COMP%] tui-root._mobile[data-size][_nghost-%COMP%], tui-root._mobile [data-size][_nghost-%COMP%]{min-width:100%;width:100%;max-width:100%;border-radius:0;border:none;margin:auto 0 0}[_nghost-%COMP%] tui-root._mobile[data-size][_nghost-%COMP%] .t-content[_ngcontent-%COMP%], tui-root._mobile [data-size][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:1.5rem}[_nghost-%COMP%] tui-root._mobile[data-size][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%], tui-root._mobile [data-size][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:.5rem;font:var(--tui-font-heading-5)}.t-heading[_ngcontent-%COMP%]{margin:0;word-wrap:break-word;font:var(--tui-font-heading-3)}.t-heading[_ngcontent-%COMP%]:empty{display:none}.t-header[_ngcontent-%COMP%]{display:flex;border-top-left-radius:inherit;border-top-right-radius:inherit;overflow:hidden}[data-size=fullscreen][_nghost-%COMP%] tui-root._mobile[_nghost-%COMP%] .t-header[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{flex:1}.t-content[_ngcontent-%COMP%]{border-radius:inherit;padding:2rem;background:var(--tui-elevation-01)}.t-content[_ngcontent-%COMP%]:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}.t-wrapper[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;top:0;z-index:1;order:-1}.t-filler[_ngcontent-%COMP%]{flex-grow:1}.t-close[_ngcontent-%COMP%]{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:fixed;top:1.5rem;right:1.5rem;display:none;color:var(--tui-base-01)}.t-dialog:last-of-type[_nghost-%COMP%] .t-close[_ngcontent-%COMP%], .t-dialog:last-of-type [_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{display:block}[_nghost-%COMP%]:not([data-size="fullscreen"]):not([data-size="page"]) .t-close[_ngcontent-%COMP%]{animation:tuiFadeIn var(--tui-duration);background:rgba(104,104,104,.96)}[_nghost-%COMP%]:not([data-size="fullscreen"]):not([data-size="page"]) .t-close[_ngcontent-%COMP%]:hover{background:rgba(159,159,159,.86)}[_nghost-%COMP%]:not([data-size="fullscreen"]).ng-animating .t-close[_ngcontent-%COMP%]{display:none}tui-root._mobile[_nghost-%COMP%] .t-close[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{position:absolute;top:0;right:0;background:transparent!important;color:var(--tui-text-01);opacity:.5}.t-buttons[_ngcontent-%COMP%]{margin-top:1.25rem;text-align:right}'],data:{animation:[ne.X9,ne.QF]}}),t}()),Ge=function(){var t,e=function(t){a(n,t);var e=u(n);function n(){var t;return y(this,n),(t=e.apply(this,arguments)).component=He,t.defaultOptions=Object.assign(Object.assign({},(0,o.f3M)(Ye)),{data:void 0}),t}return g(n)}(Ft.d5);return e.\u0275fac=function(n){return(t||(t=o.n5z(e)))(n||e)},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),Je=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({providers:[(0,q.Q)(Ge)],imports:[[et.wq,Bt.fN,A.ez,Te]]}),t}(),Xe=r(23917),$e=r(67545),Qe=function(){function t(e,n){y(this,t),this._document=n;var r=this._textarea=this._document.createElement("textarea"),i=r.style;i.position="fixed",i.top=i.opacity="0",i.left="-999em",r.setAttribute("aria-hidden","true"),r.value=e,this._document.body.appendChild(r)}return g(t,[{key:"copy",value:function(){var t=this._textarea,e=!1;try{if(t){var n=this._document.activeElement;t.select(),t.setSelectionRange(0,t.value.length),e=this._document.execCommand("copy"),n&&n.focus()}}catch(n){}return e}},{key:"destroy",value:function(){var t=this._textarea;t&&(t.parentNode&&t.parentNode.removeChild(t),this._textarea=void 0)}}]),t}(),We=function(){var t=function(){function t(e){y(this,t),this._document=e}return g(t,[{key:"copy",value:function(t){var e=this.beginCopy(t),n=e.copy();return e.destroy(),n}},{key:"beginCopy",value:function(t){return new Qe(t,this._document)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.LFG(A.K0))},t.\u0275prov=o.Yz7({factory:function(){return new t(o.LFG(A.K0))},token:t,providedIn:"root"}),t}(),Ke=new o.OlP("CDK_COPY_TO_CLIPBOARD_CONFIG"),tn=function(){var t=function(){function t(e,n,r){y(this,t),this._clipboard=e,this._ngZone=n,this.text="",this.attempts=1,this.copied=new o.vpe,this._pending=new Set,r&&null!=r.attempts&&(this.attempts=r.attempts)}return g(t,[{key:"copy",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.attempts;if(e>1){var n=e,r=this._clipboard.beginCopy(this.text);this._pending.add(r);var i=function e(){var i=r.copy();i||!--n||t._destroyed?(t._currentTimeout=null,t._pending.delete(r),r.destroy(),t.copied.emit(i)):t._currentTimeout=t._ngZone.runOutsideAngular(function(){return setTimeout(e,1)})};i()}else this.copied.emit(this._clipboard.copy(this.text))}},{key:"ngOnDestroy",value:function(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(function(t){return t.destroy()}),this._pending.clear(),this._destroyed=!0}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(We),o.Y36(o.R0b),o.Y36(Ke,8))},t.\u0275dir=o.lG2({type:t,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(t,e){1&t&&o.NdJ("click",function(){return e.copy()})},inputs:{text:["cdkCopyToClipboard","text"],attempts:["cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"}}),t}(),en=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({}),t}(),nn=r(97582),rn=function(){var t=g(function t(e){var n=e.nativeElement;return y(this,t),new o.SBq(n)});return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.SBq))},t.\u0275dir=o.lG2({type:t,selectors:[["","tuiElement",""]],exportAs:["elementRef"]}),t}(),on=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({}),t}(),an=function(){var t,e=function(t){a(n,t);var e=u(n);function n(){return y(this,n),e.apply(this,arguments)}return g(n)}(rn);return e.\u0275fac=function(n){return(t||(t=o.n5z(e)))(n||e)},e.\u0275dir=o.lG2({type:e,selectors:[["","tuiResizeable",""]],features:[o.qOj]}),e}(),sn=function(){var t=function(){function t(e){y(this,t),this.resizeable=e,this.tuiResizer=[0,0],this.tuiSizeChange=new o.vpe,this.x=NaN,this.y=NaN,this.width=0,this.height=0}return g(t,[{key:"cursor",get:function(){return this.tuiResizer[0]?this.tuiResizer[1]?this.tuiResizer[0]*this.tuiResizer[1]>0?"nwse-resize":"nesw-resize":"ew-resize":"ns-resize"}},{key:"onTouchStart",value:function(t){var e=t.touches;this.onMouseDown(e[0].clientX,e[0].clientY)}},{key:"onMouseDown",value:function(t,e){this.x=t,this.y=e,this.width=this.resizeable.nativeElement.clientWidth,this.height=this.resizeable.nativeElement.clientHeight}},{key:"onMouseMove",value:function(t){var e=t.x,n=t.y;t.buttons?this.onMove(e,n):this.onMouseUp()}},{key:"onTouchMove",value:function(t){var e=t.touches;this.onMove(e[0].clientX,e[0].clientY)}},{key:"onMouseUp",value:function(){this.x=NaN}},{key:"onMove",value:function(t,e){if(!Number.isNaN(this.x)){var n=this.resizeable.nativeElement.style,r=[this.width+this.tuiResizer[0]*(t-this.x),this.height+this.tuiResizer[1]*(e-this.y)];this.tuiResizer[0]&&(n.width=(0,we.O)(r[0])),this.tuiResizer[1]&&(n.height=(0,we.O)(r[1])),this.tuiSizeChange.emit(r)}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(an))},t.\u0275dir=o.lG2({type:t,selectors:[["","tuiResizer",""]],hostVars:4,hostBindings:function(t,e){1&t&&o.NdJ("touchstart.silent.passive",function(t){return e.onTouchStart(t)})("mousedown.silent.prevent",function(t){return e.onMouseDown(t.x,t.y)})("mousemove.silent",function(t){return e.onMouseMove(t)},!1,o.evT)("touchmove.silent",function(t){return e.onTouchMove(t)},!1,o.evT)("mouseup.silent",function(){return e.onMouseUp()},!1,o.evT)("touchend.silent",function(){return e.onMouseUp()},!1,o.evT),2&t&&o.Udp("touch-action","none")("cursor",e.cursor)},inputs:{tuiResizer:"tuiResizer"},outputs:{tuiSizeChange:"tuiSizeChange"}}),t}(),un=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({}),t}(),cn=function(){var t=function(){function t(){y(this,t)}return g(t,[{key:"transform",value:function(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i0&&void 0!==arguments[0]&&arguments[0];return this.optionsQuery.filter(function(e){var n=e.disabled;return t||!n}).map(function(t){return t.value}).filter(U.Pc)}}]),t}();return t.\u0275fac=function(t){o.$Z()},t.\u0275dir=o.lG2({type:t,viewQuery:function(t,e){var n;(1&t&&o.Gf(Ut.vK,5),2&t)&&(o.iGM(n=o.CRH())&&(e.optionsQuery=n))},inputs:{disabledItemHandler:"disabledItemHandler",emptyContent:"emptyContent",size:"size",itemContent:"itemContent"},outputs:{itemClick:"itemClick"}}),t}(),Mn=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r){var i;return y(this,n),(i=e.call(this,t,(null==r?void 0:r.size)||"m")).items=[],i}return g(n)}(On);return t.\u0275fac=function(e){return new(e||t)(o.Y36(_n.Ys),o.Y36(Zt.Cs,8))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-data-list-wrapper",3,"labels",""]],inputs:{items:"items"},features:[o._Bn([(0,mt.RB)(t),Zt.Y0]),o.qOj],decls:3,vars:2,consts:[[3,"emptyContent","size",4,"ngIf","ngIfElse"],["loading",""],[3,"emptyContent","size"],["automation-id","tui-data-list-wrapper__option","tuiElement","","tuiOption","",3,"disabled","value","click",4,"ngFor","ngForOf"],["automation-id","tui-data-list-wrapper__option","tuiElement","","tuiOption","",3,"disabled","value","click"],["elementRef","elementRef"],[1,"t-content"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-data-list-wrapper__loader",1,"t-loader"]],template:function(t,e){if(1&t&&(o.YNc(0,Cn,2,3,"tui-data-list",0),o.YNc(1,xn,1,0,"ng-template",null,1,o.W1O)),2&t){var n=o.MAs(2);o.Q6J("ngIf",e.items)("ngIfElse",n)}},directives:[A.O5,Ut.qi,A.sg,Ut.vK,rn,et.Li,E.kM],styles:["[_nghost-%COMP%]{display:block}.t-content[_ngcontent-%COMP%]{flex:1}.t-loader[_ngcontent-%COMP%]{margin:.75rem 0}"],changeDetection:0}),t}(),Sn=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,et.wq,on,Ut.pc,E.dS]]}),t}(),Pn=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({}),t}(),En=r(87862),An=r(66640);function Tn(t,e){1&t&&o._UZ(0,"tui-svg",2),2&t&&o.Q6J("src",e.polymorpheusOutlet)}function In(t,e){1&t&&o.GkF(0)}var Dn=(0,U.JN)({iconSmall:"tuiIconChevronDown",iconLarge:"tuiIconChevronDownLarge"}),Ln=new et.Al(function(){var t=function(){function t(e,n,r){y(this,t),this.dropdown=e,this.textfieldSize=n,this.options=r}return g(t,[{key:"rotated",get:function(){return this.dropdown.open}},{key:"arrowIcon",get:function(){return(0,An.R9)(this.textfieldSize.size)?this.options.iconLarge:this.options.iconSmall}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(Xe.o1),o.Y36(Zt.kI),o.Y36(Dn))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-arrow"]],hostVars:2,hostBindings:function(t,e){2&t&&o.ekj("_rotated",e.rotated)},decls:3,vars:4,consts:[[3,"src",4,"polymorpheusOutlet"],[4,"ngIf"],[3,"src"]],template:function(t,e){1&t&&(o.YNc(0,Tn,1,1,"tui-svg",0),o.YNc(1,In,1,0,"ng-container",1),o.ALo(2,"async")),2&t&&(o.Q6J("polymorpheusOutlet",e.arrowIcon),o.xp6(1),o.Q6J("ngIf",o.lcZ(2,2,e.dropdown.openChange)))},directives:[et.Li,A.O5,Jt.PN],pipes:[A.Ov],styles:["[_nghost-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:block;cursor:pointer;pointer-events:none}._rotated[_nghost-%COMP%]{transform:rotate(180deg)}"],changeDetection:0}),t}()),Nn=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,Jt.EI,et.wq]]}),t}(),zn=(0,U.JN)({interactive:Ln,disabled:Ln}),Fn=function(){var t=function(){function t(e,n){y(this,t),this.el=e,this.destroy$=n}return g(t,[{key:"tuiScrollIntoView",set:function(t){var e=this;!t||(0,v.H)(0).pipe((0,w.R)(this.destroy$)).subscribe(function(){e.el.nativeElement.dispatchEvent(new CustomEvent(te.fe,{bubbles:!0,detail:e.el.nativeElement}))})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.SBq),o.Y36(Z.a3,2))},t.\u0275dir=o.lG2({type:t,selectors:[["","tuiScrollIntoView",""]],inputs:{tuiScrollIntoView:"tuiScrollIntoView"},features:[o._Bn([Z.a3])]}),t}(),Rn=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({}),t}();function jn(t,e){if(1&t&&o._UZ(0,"tui-svg",3),2&t){var n=o.oxw();o.Q6J("src",n.icons.check)("tuiScrollIntoView",!0)}}function Bn(t,e){1&t&&o._UZ(0,"span",4)}var Vn=new et.Al(function(){var t=function(){function t(e,n,r,i,o,a,s,u){var c=this;y(this,t),this.icons=e,this.context=n,this.host=r,this.el=i,this.option=o,this.dataList=a,this.control=s,this.abstractControl=u,this.changeDetection$=new h.xQ,this.selected$=(0,m.T)(this.changeDetection$,this.control.valueChanges||De.E,(0,Ie.mL)(this.el.nativeElement,"animationstart")).pipe((0,k.O)(null),(0,b.U)(function(){return c.selected}),(0,M.x)())}return g(t,[{key:"matcher",get:function(){return this.host.identityMatcher||P.bg}},{key:"ngOnInit",value:function(){var t=this;Promise.resolve().then(function(){var e,n;(0,U.Pc)(t.option.value)&&!t.option.disabled&&(null===(n=(e=t.host).checkOption)||void 0===n||n.call(e,t.option.value))})}},{key:"ngDoCheck",value:function(){this.changeDetection$.next()}},{key:"value",get:function(){var t,e;return null!==(e=null===(t=this.abstractControl)||void 0===t?void 0:t.value)&&void 0!==e?e:this.control.value}},{key:"selected",get:function(){return(0,U.Pc)(this.option.value)&&(0,U.Pc)(this.value)&&this.matcher(this.value,this.option.value)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(mt.Gs),o.Y36(et.yf),o.Y36(mt.N1),o.Y36(o.SBq),o.Y36(Ut.vK),o.Y36(Ut.qi,8),o.Y36(En.a5),o.Y36(Ft.M$,8))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-select-option"]],decls:5,vars:5,consts:[[3,"ngTemplateOutlet"],["automation-id","tui-select-option__checkmark","class","t-checkmark",3,"src","tuiScrollIntoView",4,"ngIf","ngIfElse"],["dummy",""],["automation-id","tui-select-option__checkmark",1,"t-checkmark",3,"src","tuiScrollIntoView"],[1,"t-dummy"]],template:function(t,e){if(1&t&&(o.GkF(0,0),o.YNc(1,jn,1,2,"tui-svg",1),o.ALo(2,"async"),o.YNc(3,Bn,1,0,"ng-template",null,2,o.W1O)),2&t){var n=o.MAs(4);o.Q6J("ngTemplateOutlet",e.context.$implicit),o.xp6(1),o.Q6J("ngIf",o.lcZ(2,3,e.selected$))("ngIfElse",n)}},directives:[A.tP,A.O5,Jt.PN,Fn],pipes:[A.Ov],styles:['@keyframes retrigger{0%{left:1px}to{left:2px}}[_nghost-%COMP%]{display:flex;flex:1;align-items:center;max-width:100%;animation:retrigger 1s}.t-checkmark[_ngcontent-%COMP%]{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-border-start:.25rem solid transparent;border-inline-start:.25rem solid transparent}tui-data-list[data-list-size="s"][_nghost-%COMP%] .t-checkmark[_ngcontent-%COMP%], tui-data-list[data-list-size="s"] [_nghost-%COMP%] .t-checkmark[_ngcontent-%COMP%]{-webkit-margin-end:-.375rem;margin-inline-end:-.375rem}tui-data-list[data-list-size="m"][_nghost-%COMP%] .t-checkmark[_ngcontent-%COMP%], tui-data-list[data-list-size="m"] [_nghost-%COMP%] .t-checkmark[_ngcontent-%COMP%]{-webkit-margin-end:-.125rem;margin-inline-end:-.125rem}.t-dummy[_ngcontent-%COMP%]{width:1.75rem}'],changeDetection:0}),t}()),Yn=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,Jt.EI,Rn]]}),t}(),Zn=r(93213);function qn(t,e){1&t&&o.Hsn(0,2,["*ngIf","isMobile"])}function Un(t,e){if(1&t&&o.YNc(0,qn,1,0,"ng-content",6),2&t){var n=o.oxw();o.Q6J("ngIf",n.isMobile)}}function Hn(t,e){1&t&&o.GkF(0,7)}function Gn(t,e){1&t&&o._UZ(0,"div",10),2&t&&o.Q6J("textContent",e.polymorpheusOutlet)}var Jn=function(t,e){return{$implicit:t,active:e}};function Xn(t,e){if(1&t&&(o.TgZ(0,"div",8),o.YNc(1,Gn,1,1,"div",9),o.qZA()),2&t){var n=o.oxw();o.xp6(1),o.Q6J("polymorpheusOutlet",n.computedContent)("polymorpheusOutletContext",o.WLB(2,Jn,n.value,n.computedFocused))}}function $n(t,e){1&t&&o.GkF(0)}function Qn(t,e){if(1&t&&(o.TgZ(0,"div",11),o.YNc(1,$n,1,0,"ng-container",12),o.qZA()),2&t){var n=o.oxw();o.xp6(1),o.Q6J("polymorpheusOutlet",n.arrow)}}var Wn=["*",[["input"]],[["select"]]],Kn=["*","input","select"],tr=(0,U.JN)({valueContent:""}),er=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r,i,o,a,s,u,c){var l;return y(this,n),(l=e.call(this,t,r)).textfieldCleaner=i,l.textfieldSize=o,l.arrowMode=a,l.itemsHandlers=s,l.options=u,l.isMobile=c,l.stringify=l.itemsHandlers.stringify,l.identityMatcher=l.itemsHandlers.identityMatcher,l.valueContent=l.options.valueContent,l}return g(n,[{key:"size",get:function(){return this.textfieldSize.size}},{key:"arrow",get:function(){return this.interactive?this.arrowMode.interactive:this.arrowMode.disabled}},{key:"nativeFocusableElement",get:function(){var t,e;return null!==(e=null===(t=this.textfield)||void 0===t?void 0:t.nativeFocusableElement)&&void 0!==e?e:null}},{key:"focused",get:function(){return(0,Q.V8)(this.nativeFocusableElement)||!!this.hostedDropdown&&this.hostedDropdown.focused}},{key:"nativeDropdownMode",get:function(){return!!this.nativeSelect&&this.isMobile}},{key:"computedValue",get:function(){return null===this.value?"":this.stringify(this.value)||" "}},{key:"computedContent",get:function(){return this.valueContent||this.computedValue}},{key:"onValueChange",value:function(t){this.value=t||null}},{key:"onActiveZone",value:function(t){this.updateFocused(t)}},{key:"onKeyDownDelete",value:function(){this.textfieldCleaner.cleaner&&(this.value=null)}},{key:"handleOption",value:function(t){var e;this.focusInput(),this.value=t,null===(e=this.hostedDropdown)||void 0===e||e.updateOpen(!1)}},{key:"focusInput",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.nativeFocusableElement&&this.nativeFocusableElement.focus({preventScroll:t})}}]),n}(Ft.F9);return t.\u0275fac=function(e){return new(e||t)(o.Y36(En.a5,10),o.Y36(o.sBO),o.Y36(Zt.Ym),o.Y36(Zt.kI),o.Y36(zn),o.Y36(_n.Ys),o.Y36(tr),o.Y36(q.fL))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-select"]],contentQueries:function(t,e,n){var r;(1&t&&(o.Suo(n,bn,7),o.Suo(n,Ut.gX,5,o.Rgc)),2&t)&&(o.iGM(r=o.CRH())&&(e.nativeSelect=r.first),o.iGM(r=o.CRH())&&(e.datalist=r.first))},viewQuery:function(t,e){var n;(1&t&&(o.Gf($t.yc,5),o.Gf(Xe.o1,5)),2&t)&&(o.iGM(n=o.CRH())&&(e.textfield=n.first),o.iGM(n=o.CRH())&&(e.hostedDropdown=n.first))},hostVars:1,hostBindings:function(t,e){2&t&&o.uIk("data-size",e.size)},inputs:{stringify:"stringify",identityMatcher:"identityMatcher",valueContent:"valueContent"},features:[o._Bn([(0,q.FT)(t),(0,Ft.wB)(t),(0,mt.oE)(t),(0,mt.P7)(Vn)],[Zn.yn]),o.qOj],ngContentSelectors:Kn,decls:10,vars:15,consts:[[1,"t-hosted",3,"canOpen","content","tuiActiveZoneChange"],["automation-id","tui-select__textfield",1,"t-textfield",3,"disabled","editable","focusable","invalid","nativeId","pseudoActive","pseudoFocus","pseudoHover","readOnly","tuiTextfieldIcon","value","keydown.backspace.prevent","keydown.delete.prevent","valueChange"],["select",""],["ngProjectAs","select",5,["select"],4,"ngTemplateOutlet"],["automation-id","tui-select__value","ngProjectAs","tuiContent","class","t-value",5,["tuiContent"],4,"ngIf"],["icon",""],[4,"ngIf"],["ngProjectAs","select",5,["select"]],["automation-id","tui-select__value","ngProjectAs","tuiContent",5,["tuiContent"],1,"t-value"],["class","t-primitive-value",3,"textContent",4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-primitive-value",3,"textContent"],["appearance","icon","tuiWrapper","",1,"t-icon"],[4,"polymorpheusOutlet"]],template:function(t,e){if(1&t&&(o.F$t(Wn),o.TgZ(0,"tui-hosted-dropdown",0),o.NdJ("tuiActiveZoneChange",function(t){return e.onActiveZone(t)}),o.TgZ(1,"tui-primitive-textfield",1),o.NdJ("keydown.backspace.prevent",function(){return e.onKeyDownDelete()})("keydown.delete.prevent",function(){return e.onKeyDownDelete()})("valueChange",function(t){return e.onValueChange(t)}),o.Hsn(2),o.Hsn(3,1,["ngProjectAs","input",5,["input"]]),o.YNc(4,Un,1,1,"ng-template",null,2,o.W1O),o.YNc(6,Hn,1,0,"ng-container",3),o.YNc(7,Xn,2,5,"div",4),o.qZA(),o.YNc(8,Qn,2,1,"ng-template",null,5,o.W1O),o.qZA()),2&t){var n=o.MAs(5),r=o.MAs(9);o.Q6J("canOpen",e.interactive&&!e.nativeDropdownMode)("content",e.datalist||""),o.xp6(1),o.Q6J("disabled",e.computedDisabled)("editable",!1)("focusable",e.computedFocusable)("invalid",e.computedInvalid)("nativeId",e.nativeId)("pseudoActive",e.pseudoActive)("pseudoFocus",e.computedFocused)("pseudoHover",e.pseudoHover)("readOnly",e.readOnly)("tuiTextfieldIcon",e.arrow?r:"")("value",e.computedValue),o.xp6(5),o.Q6J("ngTemplateOutlet",n),o.xp6(1),o.Q6J("ngIf",null!==e.value)}},directives:[Xe.o1,Ot.e,$t.yc,$t.B1,Zt.AW,A.tP,A.O5,et.Li,mn.o],styles:["[_nghost-%COMP%]{display:block;border-radius:var(--tui-radius-m);text-align:left}[_nghost-%COMP%]:not(._readonly) input:not(:disabled){cursor:pointer}._readonly[_nghost-%COMP%] input{cursor:default}.t-hosted[_ngcontent-%COMP%]{display:block;border-radius:inherit}.t-textfield[_ngcontent-%COMP%]{border-radius:inherit;text-align:inherit}.t-value[_ngcontent-%COMP%]{display:flex;width:100%;align-items:center}.t-primitive-value[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}"],changeDetection:0}),t}(),nr=function(){var t,e=function(t){a(n,t);var e=u(n);function n(){return y(this,n),e.apply(this,arguments)}return g(n,[{key:"readOnly",get:function(){return!0}},{key:"value",get:function(){return this.host.computedValue}},{key:"stringify",get:function(){return this.host.stringify}},{key:"onValueChange",value:function(t){this.host.onValueChange(t)}}]),n}(yn.D1);return e.\u0275fac=function(n){return(t||(t=o.n5z(e)))(n||e)},e.\u0275dir=o.lG2({type:e,selectors:[["tui-select"]],features:[o._Bn([(0,mt.cp)(e)]),o.qOj]}),e}(),rr=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,et.wq,Ot.A,$t.KW,Xe.jh,Yn,Nn,mn.W,Zt.cn,Sn,Ut.pc,Pn]]}),t}(),ir=r(77320),or=r(44541),ar=r(13633),sr=r(75059),ur=r(88491),cr=["*"],lr=function(){var t=g(function t(){y(this,t),this.name="tui-radio-group-"+t.index++});return t.index=0,t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-radio-group"]],inputs:{name:"name"},ngContentSelectors:cr,decls:1,vars:0,template:function(t,e){1&t&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),t}(),hr=["focusableElement"];function fr(t,e){if(1&t&&o._UZ(0,"div",4),2&t){var n=o.oxw();o.Q6J("@tuiScaleIn",n.animation)}}var dr=(0,U.JN)({size:"m",appearances:{unchecked:ir.Nm.Outline,checked:ir.Nm.Primary}}),pr=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r,i,o,a){var s;return y(this,n),(s=e.call(this,t,r)).animation=i,s.options=o,s.radioGroup=a,s.identityMatcher=P.bg,s.name=null,s.size=s.options.size,s.pseudoDisabled=!1,s}return g(n,[{key:"appearance",get:function(){return this.checked?this.options.appearances.checked:this.options.appearances.unchecked}},{key:"computedDisabled",get:function(){return this.disabled||this.pseudoDisabled}},{key:"nativeFocusableElement",get:function(){return!this.focusableElement||this.computedDisabled?null:this.focusableElement.nativeElement}},{key:"focused",get:function(){return(0,Q.V8)(this.nativeFocusableElement)}},{key:"checked",get:function(){return null===this.value?null===this.item:null!=this.item&&this.identityMatcher(this.value,this.item)}},{key:"computedName",get:function(){return this.name||this.radioGroupName||this.controlName||""}},{key:"isFocusable",get:function(){return!this.readOnly&&this.computedFocusable}},{key:"onChecked",value:function(t){t&&(this.value=void 0!==this.item?this.item:this.fallbackValue)}},{key:"onFocused",value:function(t){this.updateFocused(t)}},{key:"onFocusVisible",value:function(t){this.updateFocusVisible(t)}},{key:"radioGroupName",get:function(){return null===this.radioGroup?null:this.radioGroup.name}}]),n}(Ft.F9);return t.\u0275fac=function(e){return new(e||t)(o.Y36(En.a5,10),o.Y36(o.sBO),o.Y36(mt.Pw),o.Y36(dr),o.Y36(lr,8))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-radio"]],viewQuery:function(t,e){var n;(1&t&&o.Gf(hr,5),2&t)&&(o.iGM(n=o.CRH())&&(e.focusableElement=n.first))},hostVars:3,hostBindings:function(t,e){2&t&&(o.uIk("data-size",e.size),o.ekj("_disabled",e.computedDisabled))},inputs:{item:"item",identityMatcher:"identityMatcher",name:"name",size:"size",pseudoDisabled:"pseudoDisabled"},features:[o._Bn([(0,q.FT)(t),(0,Ft.wB)(t)]),o.qOj],decls:4,vars:12,consts:[["tuiWrapper","",3,"active","appearance","disabled","focus","hover","invalid"],["class","t-mark",4,"ngIf"],["type","radio",1,"t-native",3,"disabled","id","tuiChecked","tuiFocusable","tuiCheckedChange","tuiFocusedChange","tuiFocusVisibleChange"],["focusableElement",""],[1,"t-mark"]],template:function(t,e){1&t&&(o.TgZ(0,"div",0),o.YNc(1,fr,1,1,"div",1),o.TgZ(2,"input",2,3),o.NdJ("tuiCheckedChange",function(t){return e.onChecked(t)})("tuiFocusedChange",function(t){return e.onFocused(t)})("tuiFocusVisibleChange",function(t){return e.onFocusVisible(t)}),o.qZA(),o.qZA()),2&t&&(o.Q6J("active",e.pseudoActive)("appearance",e.appearance)("disabled",e.computedDisabled)("focus",e.computedFocusVisible)("hover",e.pseudoHover)("invalid",e.computedInvalid),o.xp6(1),o.Q6J("ngIf",e.checked),o.xp6(1),o.Q6J("disabled",e.computedDisabled)("id",e.id)("tuiChecked",e.checked)("tuiFocusable",e.isFocusable),o.uIk("name",e.computedName))},directives:[mn.o,A.O5,or.t,ar.t,sr.U,ur.q],styles:["[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:block;flex-shrink:0;border-radius:100%}[data-size=m][_nghost-%COMP%]{width:1rem;height:1rem}[data-size=l][_nghost-%COMP%]{width:1.5rem;height:1.5rem}._readonly[_nghost-%COMP%]{pointer-events:none}.t-mark[_ngcontent-%COMP%]{position:absolute;background-color:currentColor;border-radius:100%}[data-size=m][_nghost-%COMP%] .t-mark[_ngcontent-%COMP%]{margin:.25rem;width:.5rem;height:.5rem}[data-size=l][_nghost-%COMP%] .t-mark[_ngcontent-%COMP%]{margin:.4375rem;width:.625rem;height:.625rem}.t-native[_ngcontent-%COMP%]{padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.t-native[_ngcontent-%COMP%]:-webkit-autofill, .t-native[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-native[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}._disabled[_nghost-%COMP%] .t-native[_ngcontent-%COMP%]{cursor:default}"],data:{animation:[ne.gI]},changeDetection:0}),t}(),vr=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,or.S,ar.u,sr.F,ur.c,mn.W]]}),t}();function gr(t,e){1&t&&o.GkF(0)}var mr=["*"],yr=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,t,r)).modeDirective=i,o.identityMatcher=P.bg,o.contentAlign="right",o.size="l",o.hideRadio=!1,o.pseudoDisabled=!1,o}return g(n,[{key:"nativeFocusableElement",get:function(){var t,e;return null!==(e=null===(t=this.radio)||void 0===t?void 0:t.nativeFocusableElement)&&void 0!==e?e:null}},{key:"focused",get:function(){return!!this.radio&&this.radio.focused}},{key:"computedDisabled",get:function(){return this.disabled||this.pseudoDisabled}},{key:"checked",get:function(){var t;return!!(null===(t=this.radio)||void 0===t?void 0:t.checked)&&this.hideRadio}},{key:"checkboxSize",get:function(){return"l"===this.size?"l":"m"}},{key:"appearance",get:function(){var t;return(null===(t=this.modeDirective)||void 0===t?void 0:t.mode)?this.checked?ir.Nm.Primary:ir.Nm.Secondary:this.checked?ir.Nm.WhiteblockActive:ir.Nm.Whiteblock}},{key:"onFocused",value:function(t){this.updateFocused(t)}},{key:"onFocusVisible",value:function(t){this.updateFocusVisible(t)}},{key:"onModelChange",value:function(t){this.value=t}}]),n}(Ft.F9);return t.\u0275fac=function(e){return new(e||t)(o.Y36(En.a5,10),o.Y36(o.sBO),o.Y36(Vt.w,8))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-radio-block"]],viewQuery:function(t,e){var n;(1&t&&o.Gf(pr,5),2&t)&&(o.iGM(n=o.CRH())&&(e.radio=n.first))},hostVars:8,hostBindings:function(t,e){2&t&&(o.uIk("data-align",e.contentAlign)("data-size",e.size),o.ekj("_hidden_input",e.hideRadio)("_disabled",e.computedDisabled)("_active",e.checked))},inputs:{item:"item",identityMatcher:"identityMatcher",contentAlign:"contentAlign",size:"size",hideRadio:"hideRadio",pseudoDisabled:"pseudoDisabled"},features:[o._Bn([(0,q.FT)(t),(0,Ft.wB)(t)]),o.qOj],ngContentSelectors:mr,decls:7,vars:22,consts:[[4,"ngIf"],["tuiWrapper","",1,"t-wrapper",3,"active","appearance","disabled","focus","hover","invalid"],[1,"t-view",3,"focusable","identityMatcher","item","name","nativeId","pseudoActive","pseudoDisabled","pseudoFocus","pseudoHover","pseudoInvalid","readOnly","size","ngModel","ngModelChange","focusedChange","focusVisibleChange"],[1,"t-label"],[1,"t-content"]],template:function(t,e){1&t&&(o.F$t(),o.YNc(0,gr,1,0,"ng-container",0),o.ALo(1,"async"),o.TgZ(2,"label",1),o.TgZ(3,"tui-radio",2),o.NdJ("ngModelChange",function(t){return e.value=t})("focusedChange",function(t){return e.onFocused(t)})("focusVisibleChange",function(t){return e.onFocusVisible(t)}),o.qZA(),o.TgZ(4,"div",3),o.TgZ(5,"div",4),o.Hsn(6),o.qZA(),o.qZA(),o.qZA()),2&t&&(o.Q6J("ngIf",e.modeDirective&&o.lcZ(1,20,e.modeDirective.change$)),o.xp6(2),o.Q6J("active",e.pseudoActive)("appearance",e.appearance)("disabled",e.computedDisabled)("focus",e.computedFocusVisible)("hover",e.pseudoHover)("invalid",e.computedInvalid),o.xp6(1),o.Q6J("focusable",e.focusable)("identityMatcher",e.identityMatcher)("item",e.item)("name",e.computedName||"")("nativeId",e.nativeId)("pseudoActive",e.pseudoActive)("pseudoDisabled",e.computedDisabled)("pseudoFocus",!1)("pseudoHover",e.pseudoHover)("pseudoInvalid",e.computedInvalid)("readOnly",e.readOnly)("size",e.checkboxSize)("ngModel",e.value))},directives:[A.O5,mn.o,pr,En.JJ,En.On],pipes:[A.Ov],styles:["[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);display:inline-block;vertical-align:top;align-items:flex-start;border-radius:var(--tui-radius-m)}[data-size=xs][_nghost-%COMP%]{font:var(--tui-font-text-xs)}[data-size=m][_nghost-%COMP%], [data-size=l][_nghost-%COMP%]{font:var(--tui-font-text-m)}._disabled[_nghost-%COMP%], ._readonly[_nghost-%COMP%]{pointer-events:none}.t-wrapper[_ngcontent-%COMP%]{position:relative;display:flex;align-items:inherit;box-sizing:border-box;border-radius:inherit;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:0 1rem 0 0}[data-size=xs][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding-right:.5rem}[data-align=right][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{flex-direction:row-reverse;padding:0 0 0 1rem}[data-align=right][data-size=xs][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding-left:.5rem}[data-size=xs]._hidden_input[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 .5rem}[data-size=xs]._hidden_input[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:not(._focused):after{border-width:1px}[data-size=s]._hidden_input[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 1rem}[data-size=m]._hidden_input[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 1.5rem}[data-size=l]._hidden_input[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 2.25rem}[data-size=xs][_nghost-%COMP%] .t-view[_ngcontent-%COMP%]{margin:calc(var(--tui-height-xs) / 2 - .5rem) .25rem;transform:scale(.75)}[data-size=s][_nghost-%COMP%] .t-view[_ngcontent-%COMP%]{margin:calc(var(--tui-height-s) / 2 - .5rem) .5rem}[data-size=m][_nghost-%COMP%] .t-view[_ngcontent-%COMP%]{margin:calc(var(--tui-height-m) / 2 - .5rem) .75rem}[data-size=l][_nghost-%COMP%] .t-view[_ngcontent-%COMP%]{margin:calc(var(--tui-height-l) / 2 - .75rem) 1rem}._hidden_input[_nghost-%COMP%] .t-view[_ngcontent-%COMP%]{position:absolute;height:1px;width:1px;margin:-1px;border:0;padding:0;overflow:hidden;clip:rect(0,0,0,0);-webkit-clip-path:inset(0);clip-path:inset(0)}.t-label[_ngcontent-%COMP%]{display:flex;flex-grow:1;align-self:flex-start;align-items:center;overflow:hidden}[data-size=xs][_nghost-%COMP%] .t-label[_ngcontent-%COMP%]{min-height:var(--tui-height-xs)}[data-size=s][_nghost-%COMP%] .t-label[_ngcontent-%COMP%]{min-height:var(--tui-height-s)}[data-size=m][_nghost-%COMP%] .t-label[_ngcontent-%COMP%]{min-height:var(--tui-height-m)}[data-size=l][_nghost-%COMP%] .t-label[_ngcontent-%COMP%]{min-height:var(--tui-height-l)}._hidden_input[_nghost-%COMP%] .t-label[_ngcontent-%COMP%]{text-align:center;justify-content:center}.t-content[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}"],changeDetection:0}),t}(),_r=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,En.u5,vr,mn.W]]}),t}(),br=r(12130),kr=["*"],wr=function(){var t=function(){function t(e){y(this,t),this.mode$=e,this.size="m",this.status="default",this.hoverable=!1}return g(t,[{key:"padding",get:function(){var t;return this.isEmpty?"none":(0,U.dt)(null===(t=this.value)||void 0===t?void 0:t.valueOf())?"m":"l"}},{key:"outputValue",get:function(){var t,e=null===(t=this.value)||void 0===t?void 0:t.valueOf();return(0,U.dt)(e)&&e>99?"99+":(0,U.Pc)(this.value)?String(this.value):""}},{key:"isEmpty",get:function(){return!this.value&&0!==this.value}},{key:"titleText",value:function(t){return t.offsetWidththis.computedMin}},{key:"canIncrement",get:function(){return this.interactive&&(this.value||0)this.computedMax||(this.value=e)}},{key:"onFocused",value:function(t){this.updateFocused(t);var e=this.unfinishedValue?(0,zr.vZ)(this.unfinishedValue,this.numberFormat.decimalSeparator):this.nativeNumberValue;if(this.unfinishedValue=null,Number.isNaN(e))return this.nativeValue=t?this.computedPrefix+this.computedPostfix:"",void(this.value=null);t||(this.value=e,this.nativeValue=this.formattedValue)}},{key:"getFormattedValue",value:function(t){var e=Math.abs(t)%1>0,n="always"===this.decimal||e&&"never"!==this.decimal?this.precision:0,r=e?ee(t,this.precision):"";return this.focused&&"always"!==this.decimal&&(n=r.length),this.computedPrefix+function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object.assign(Object.assign({},te.Jl),e),r=n.decimalLimit,i=n.decimalSeparator,o=n.thousandSeparator,a=n.zeroPadding,s=n.rounding,u=Number.isFinite(r)?(0,Kt.h0)({value:t,precision:r,method:s}):t,c=String(Math.floor(Math.abs(u))),l=ee(u,r);if(Number.isFinite(r))if(a){var h=Math.max(r-l.length,0);l="".concat(l).concat("0".repeat(h))}else l=l.replace(/0*$/,"");for(var f=c.length%3,d=(t<0?P.fv:"")+c.charAt(0),p=1;p3&&(d+=o),d+=c.charAt(p);return l?d+i+l:d}(t,Object.assign(Object.assign({},this.numberFormat),{decimalLimit:n})).replace(P.fv,P.em)+this.computedPostfix}},{key:"isNativeValueNotFinished",get:function(){var t=this.nativeNumberValue;return t<0?t>this.computedMax:t0?this.host.nativeFocusableElement.maxLength:this.host.calculatedMaxLength)}}]),n}(yn.D1);return e.\u0275fac=function(n){return(t||(t=o.n5z(e)))(n||e)},e.\u0275dir=o.lG2({type:e,selectors:[["tui-input-number"]],features:[o._Bn([(0,mt.cp)(e)]),o.qOj]}),e}(),Qr=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,jr.U5,$t.KW,Zt.cn,Rr,et.wq,Bt.fN]]}),t}(),Wr=r(86561),Kr=new o.OlP("MutationObserver config"),ti=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r){var i=t.nativeElement;return y(this,n),e.call(this,function(t){var e=new MutationObserver(function(e){t.next(e)});return e.observe(i,r),function(){e.disconnect()}})}return g(n)}(Le.y);return t.\u0275fac=function(e){return new(e||t)(o.LFG(o.SBq),o.LFG(Kr))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t}(),ei=r(54487),ni=r(74235),ri=r(68307),ii=["tuiTab",""];function oi(t,e){1&t&&o.GkF(0)}var ai=["*"];function si(t,e){1&t&&o.GkF(0)}function ui(t,e){if(1&t&&o._UZ(0,"tui-underline",2),2&t){var n=o.oxw();o.Q6J("element",n.activeElement)}}function ci(t,e){1&t&&o.GkF(0)}function li(t,e){if(1&t&&o.GkF(0,12),2&t){var n=o.oxw().$implicit;o.Q6J("ngTemplateOutlet",n)}}function hi(t,e){if(1&t&&(o.TgZ(0,"div"),o.GkF(1,12),o.qZA()),2&t){var n=o.oxw(),r=n.index,i=n.$implicit,a=o.oxw();o.ekj("t-overflown",a.isOverflown(r)),o.xp6(1),o.Q6J("ngTemplateOutlet",i)}}function fi(t,e){if(1&t&&(o.ynx(0),o.YNc(1,li,1,1,"ng-container",10),o.YNc(2,hi,2,3,"ng-template",null,11,o.W1O),o.BQk()),2&t){var n=e.index,r=o.MAs(3),i=o.oxw();o.xp6(1),o.Q6J("ngIf",n<=i.lastVisibleIndex)("ngIfElse",r)}}function di(t,e){if(1&t&&(o.ynx(0),o._uU(1),o.BQk()),2&t){var n=e.polymorpheusOutlet;o.xp6(1),o.hij(" ",n," ")}}function pi(t,e){if(1&t&&(o._uU(0),o.ALo(1,"async"),o._UZ(2,"tui-svg",13)),2&t){var n=o.oxw();o.hij(" ",o.lcZ(1,4,n.moreWord$)," "),o.xp6(2),o.ekj("t-icon_rotated",n.open),o.Q6J("src",n.arrowOptions.iconSmall)}}function vi(t,e){if(1&t&&o.GkF(0,12),2&t){var n=o.oxw().$implicit;o.Q6J("ngTemplateOutlet",n)}}function gi(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"div",17),o.NdJ("tui-tab-activate",function(){var t=o.CHM(n).index;return o.oxw(2).onClick(t)}),o.YNc(1,vi,1,1,"ng-container",18),o.qZA()}if(2&t){var r=e.index,i=o.oxw(2);o.xp6(1),o.Q6J("ngIf",i.shouldShow(r))}}function mi(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"div",14,15),o.NdJ("keydown.arrowDown.prevent",function(t){o.CHM(n);var e=o.MAs(1);return o.oxw().onWrapperArrow(t,e,!1)})("keydown.arrowUp.prevent",function(t){o.CHM(n);var e=o.MAs(1);return o.oxw().onWrapperArrow(t,e,!0)}),o.YNc(2,gi,2,1,"div",16),o.qZA()}if(2&t){var r=o.oxw();o.xp6(2),o.Q6J("ngForOf",r.items)}}function yi(t,e){if(1&t&&o._UZ(0,"tui-underline",19),2&t){var n=o.oxw();o.Q6J("element",n.activeElement)}}var _i=new o.OlP("[TUI_TAB_EVENT]"),bi=[Z.a3,Z.ku,gt.Ok,{provide:_i,deps:[o.SBq,gt.Ok,[new o.FiY,ti],[new o.FiY,Wr.Od]],useFactory:function(t,e,n,r){var i=t.nativeElement,o=r&&n?n.pipe((0,C.h)(function(){return r.isActive})):De.E;return(0,m.T)(o,e.pipe((0,C.h)(ei.y)),i.matches("button")?(0,Ie.mL)(i,"click"):De.E).pipe((0,b.U)(function(){return i.dispatchEvent(new CustomEvent("tui-tab-activate",{bubbles:!0}))}))}},br.CV],ki=function(){var t=function(){function t(e,n,r,i,o,a){var s=this;y(this,t),this.routerLinkActive=e,this.el=n,this.mode$=r,this.event$=i,this.margin=o,this.focusVisible=!1,a.subscribe(function(t){s.focusVisible=t})}return g(t,[{key:"isActive",get:function(){return!!this.routerLinkActive&&this.routerLinkActive.isActive}},{key:"ngOnDestroy",value:function(){(0,Q.V8)(this.el.nativeElement)&&this.el.nativeElement.blur()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(Wr.Od,8),o.Y36(o.SBq),o.Y36(mt.Au),o.Y36(_i),o.Y36(_n.WO),o.Y36(Z.ku))},t.\u0275cmp=o.Xpm({type:t,selectors:[["a","tuiTab","",3,"routerLink",""],["a","tuiTab","","routerLink","","routerLinkActive",""],["button","tuiTab",""]],hostAttrs:["type","button"],hostVars:8,hostBindings:function(t,e){1&t&&o.NdJ("$.data-mode.attr",function(){return e.mode$}),2&t&&(o.Udp("cursor","pointer")("--tui-tab-margin",e.margin,"px"),o.ekj("_focus-visible",e.focusVisible)("_active",e.isActive))},features:[o._Bn(bi)],attrs:ii,ngContentSelectors:ai,decls:4,vars:3,consts:[[4,"ngIf"],[1,"t-highlight"]],template:function(t,e){1&t&&(o.F$t(),o.YNc(0,oi,1,0,"ng-container",0),o.ALo(1,"async"),o.TgZ(2,"span",1),o.Hsn(3),o.qZA()),2&t&&o.Q6J("ngIf",o.lcZ(1,1,e.event$))},directives:[A.O5],pipes:[A.Ov],styles:['._underline[_nghost-%COMP%]:hover, ._underline [_nghost-%COMP%]:hover{box-shadow:inset 0 -2px var(--tui-base-03)}tui-tabs > [_nghost-%COMP%]:first-child, tui-tabs > [_nghost-%COMP%]:first-child, [tuiTabs] > [_nghost-%COMP%]:first-child, [tuiTabs] > [_nghost-%COMP%]:first-child, tui-tabs > :first-child[_nghost-%COMP%], tui-tabs > :first-child [_nghost-%COMP%], [tuiTabs] > :first-child[_nghost-%COMP%], [tuiTabs] > :first-child [_nghost-%COMP%]{margin-left:0}[_nghost-%COMP%]{transition-property:color,box-shadow,opacity,background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;position:relative;display:flex;flex-shrink:0;height:100%;box-sizing:border-box;justify-content:space-between;align-items:center;white-space:nowrap;cursor:pointer;outline:none;color:inherit;margin-left:var(--tui-tab-margin, 1.5rem)}[_nghost-%COMP%]:disabled{opacity:var(--tui-disabled-opacity);pointer-events:none}[_nghost-%COMP%]:not([data-mode])._active{opacity:1;color:var(--tui-text-01);box-shadow:none}[data-mode=onDark][_nghost-%COMP%]{color:#ffffffb8}[data-mode=onDark][_nghost-%COMP%]:hover, [data-mode=onDark]._active[_nghost-%COMP%]{color:#fff}[data-mode=onDark]._focus-visible[_nghost-%COMP%] .t-highlight[_ngcontent-%COMP%]{background:var(--tui-clear-inverse);color:var(--tui-text-01)}[data-mode=onLight][_nghost-%COMP%]{color:var(--tui-text-02)}[data-mode=onLight][_nghost-%COMP%]:hover, [data-mode=onLight]._active[_nghost-%COMP%]{color:var(--tui-text-01)}[data-mode=onLight]._focus-visible[_nghost-%COMP%] .t-highlight[_ngcontent-%COMP%]{background:var(--tui-text-01);color:#fff}._focus-visible[_nghost-%COMP%] .t-highlight[_ngcontent-%COMP%]{background:var(--tui-selection)}._android[_nghost-%COMP%]{transition-property:opacity;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;height:3rem;flex:1;flex-shrink:0;justify-content:center;margin:0;text-transform:uppercase;color:var(--tui-base-09);opacity:.5;font-size:.875rem;font-weight:500;letter-spacing:-.008125rem;font-family:-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif}._android[_nghost-%COMP%]:hover{box-shadow:none}._android._active[_nghost-%COMP%]{opacity:1;color:var(--tui-base-09)}._android[_nghost-%COMP%] .t-highlight[_ngcontent-%COMP%]{width:auto}._ios[_nghost-%COMP%]{height:1.75rem;flex:1;flex-shrink:0;justify-content:center;margin:0;color:var(--tui-base-01);opacity:1;font-size:.8125rem;font-weight:500;letter-spacing:-.005rem;font-family:-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif}._ios[_nghost-%COMP%]:hover{box-shadow:none}._ios._active[_nghost-%COMP%]{font-size:.875rem;font-weight:600;color:var(--tui-link)}._ios[_nghost-%COMP%] .t-highlight[_ngcontent-%COMP%]{width:auto}@media (hover: hover){[_nghost-%COMP%]:hover{color:var(--tui-text-01)}}.t-highlight[_ngcontent-%COMP%]{display:inline-flex;width:100%;align-items:center;justify-content:inherit}.t-highlight[_ngcontent-%COMP%] >*{flex-shrink:0}tui-tabs[data-vertical][_nghost-%COMP%], tui-tabs[data-vertical] [_nghost-%COMP%], [tuiTabs][data-vertical][_nghost-%COMP%], [tuiTabs][data-vertical] [_nghost-%COMP%]{min-height:2.75rem;height:auto;white-space:normal;margin:0;text-align:left;padding:.25rem 1.25rem .25rem 0}tui-tabs[data-vertical][_nghost-%COMP%]:after, tui-tabs[data-vertical] [_nghost-%COMP%]:after, [tuiTabs][data-vertical][_nghost-%COMP%]:after, [tuiTabs][data-vertical] [_nghost-%COMP%]:after{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:"";position:absolute;top:0;bottom:0;right:0;width:2px;background:var(--tui-primary);transform:scaleX(0);transform-origin:right}tui-tabs[data-vertical][_nghost-%COMP%]:hover, tui-tabs[data-vertical] [_nghost-%COMP%]:hover, [tuiTabs][data-vertical][_nghost-%COMP%]:hover, [tuiTabs][data-vertical] [_nghost-%COMP%]:hover{box-shadow:inset -2px 0 var(--tui-base-03)}tui-tabs[data-vertical]._active[_nghost-%COMP%]:after, tui-tabs[data-vertical] ._active[_nghost-%COMP%]:after, [tuiTabs][data-vertical]._active[_nghost-%COMP%]:after, [tuiTabs][data-vertical] ._active[_nghost-%COMP%]:after{transform:none}tui-tabs[data-vertical="right"][_nghost-%COMP%], tui-tabs[data-vertical="right"] [_nghost-%COMP%], [tuiTabs][data-vertical="right"][_nghost-%COMP%], [tuiTabs][data-vertical="right"] [_nghost-%COMP%]{text-align:right;padding:.25rem 0 .25rem 1.25rem}tui-tabs[data-vertical="right"][_nghost-%COMP%]:after, tui-tabs[data-vertical="right"] [_nghost-%COMP%]:after, [tuiTabs][data-vertical="right"][_nghost-%COMP%]:after, [tuiTabs][data-vertical="right"] [_nghost-%COMP%]:after{right:auto;left:0;transform-origin:left}tui-tabs[data-vertical="right"][_nghost-%COMP%]:hover, tui-tabs[data-vertical="right"] [_nghost-%COMP%]:hover, [tuiTabs][data-vertical="right"][_nghost-%COMP%]:hover, [tuiTabs][data-vertical="right"] [_nghost-%COMP%]:hover{box-shadow:inset 2px 0 var(--tui-base-03)}'],changeDetection:0}),t}(),wi=function(){var t=function(){function t(e){y(this,t),this.el=e,this.activeItemIndex=0,this.activeItemIndexChange=new o.vpe}return g(t,[{key:"tabs",get:function(){return Array.from(this.el.nativeElement.querySelectorAll("[tuiTab]"))}},{key:"activeElement",get:function(){return this.tabs[this.activeItemIndex]||null}},{key:"onActivate",value:function(t,e){var n=this.tabs.findIndex(function(t){return t===e});t.stopPropagation(),n!==this.activeItemIndex&&(this.activeItemIndexChange.emit(n),this.activeItemIndex=n)}},{key:"moveFocus",value:function(t,e){var n=this.tabs;(0,Q.VR)(n.indexOf(t),n,e)}},{key:"ngAfterViewChecked",value:function(){var t=this.tabs,e=this.activeElement;t.forEach(function(t){var n=t===e;t.classList.toggle("_active",n),t.setAttribute("tabIndex",n?"0":"-1")})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.SBq))},t.\u0275dir=o.lG2({type:t,selectors:[["tui-tabs"],["nav","tuiTabs",""]],hostBindings:function(t,e){1&t&&o.NdJ("tui-tab-activate",function(t){return e.onActivate(t,t.target)})},inputs:{activeItemIndex:"activeItemIndex"},outputs:{activeItemIndexChange:"activeItemIndexChange"}}),t}(),Ci=(0,U.JN)({underline:!0,exposeActive:!0,itemsLimit:1/0,minMoreWidth:0}),xi=function(){var t=function(){function t(e,n,r,i){var o=this,a=e.nativeElement;y(this,t),this.zone=n,this.animationFrame$=r,this.mode$=i,this.el$=new ni.t(1),this.refresh$=this.el$.pipe((0,_.w)(function(t){return t?o.animationFrame$.pipe((0,b.U)(function(){return t}),(0,Ie.fL)(o.zone)):(0,H.of)(null)}),(0,S.B)()),this.transition$=(0,Tt.Gt)(this.el$.pipe((0,b.U)(function(t){return t&&"all"}),(0,yt.b)(50))),this.transform$=(0,Tt.Gt)(this.refresh$.pipe((0,b.U)(function(t){return t?"translate3d(".concat(t.offsetLeft,"px, 0, 0)"):null}))),this.width$=(0,Tt.Gt)(this.refresh$.pipe((0,b.U)(function(t){return(null==t?void 0:t.clientWidth)||0}))),a["$.style.transitionProperty"]=this.transition$,a["$.style.transform"]=this.transform$,a["$.style.width.px"]=this.width$}return g(t,[{key:"element",set:function(t){this.el$.next(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.SBq),o.Y36(o.R0b),o.Y36(Y.L1),o.Y36(mt.Au))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-underline"]],hostBindings:function(t,e){1&t&&o.NdJ("$.data-mode.attr",function(){return e.mode$})("$.style.transitionProperty",function(){return e.transition$()})("$.style.transform",function(){return e.transform$()})("$.style.width.px",function(){return e.width$()})},inputs:{element:"element"},features:[o._Bn([br.CV])],decls:0,vars:0,template:function(t,e){},styles:["[_nghost-%COMP%]{transition-property:none;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;left:0;height:100%;color:var(--tui-primary);transform:scale(0);box-shadow:inset 0 -.1875rem 0 -.0625rem;pointer-events:none}[data-mode=onDark][_nghost-%COMP%]{color:var(--tui-text-01-night)}[data-mode=onLight][_nghost-%COMP%]{color:var(--tui-text-02)}"],changeDetection:0}),t}(),Oi=function(){var t=function(){function t(e,n,r,i,o){var a=this;y(this,t),this.options=e,this.el=n,this.tabs=r,this.children=P.Mm,this.underline=this.options.underline,o.pipe((0,C.h)(function(){return a.underline})).subscribe(function(){i.detectChanges()})}return g(t,[{key:"activeItemIndex",get:function(){return this.tabs.activeItemIndex},set:function(t){this.tabs.activeItemIndex=t}},{key:"activeElement",get:function(){return this.tabs.activeElement}},{key:"onKeyDownArrow",value:function(t,e){this.tabs.moveFocus(t,e)}},{key:"ngAfterViewChecked",value:function(){this.scrollTo(this.tabs.activeItemIndex)}},{key:"scrollTo",value:function(t){var e=this.tabs.tabs[t];if(e){var n=e.offsetLeft,r=e.offsetWidth,i=this.el.nativeElement;ni.scrollLeft+i.offsetWidth&&(i.scrollLeft=n+r-i.offsetWidth)}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(Ci),o.Y36(o.SBq),o.Y36(wi),o.Y36(o.sBO),o.Y36(Z.tl))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-tabs",3,"vertical",""],["nav","tuiTabs","",3,"vertical",""]],contentQueries:function(t,e,n){var r;(1&t&&o.Suo(n,ki,4),2&t)&&(o.iGM(r=o.CRH())&&(e.children=r))},hostVars:2,hostBindings:function(t,e){1&t&&o.NdJ("keydown.arrowRight.prevent",function(t){return e.onKeyDownArrow(t.target,1)})("keydown.arrowLeft.prevent",function(t){return e.onKeyDownArrow(t.target,-1)}),2&t&&o.ekj("_underline",e.underline)},inputs:{underline:"underline"},features:[o._Bn([Z.a3,Z.tl,ti,{provide:Kr,useValue:{childList:!0}}])],ngContentSelectors:ai,decls:4,vars:4,consts:[[4,"ngIf"],["class","t-underline",3,"element",4,"ngIf"],[1,"t-underline",3,"element"]],template:function(t,e){1&t&&(o.F$t(),o.YNc(0,si,1,0,"ng-container",0),o.ALo(1,"async"),o.Hsn(2),o.YNc(3,ui,1,1,"tui-underline",1)),2&t&&(o.Q6J("ngIf",o.lcZ(1,2,e.children.changes)),o.xp6(3),o.Q6J("ngIf",e.underline))},directives:[A.O5,xi],pipes:[A.Ov],styles:["[_nghost-%COMP%]{scrollbar-width:none;-ms-overflow-style:none;position:relative;display:flex;font:var(--tui-font-text-m);height:var(--tui-height-l);color:var(--tui-text-02);box-shadow:inset 0 -1px var(--tui-base-03);overflow:auto;isolation:isolate}[_nghost-%COMP%]::-webkit-scrollbar, [_nghost-%COMP%]::-webkit-scrollbar-thumb{background:transparent;width:0;height:0}.t-underline[_ngcontent-%COMP%]{z-index:-1}"],changeDetection:0}),(0,nn.gn)([gn.UM],t.prototype,"scrollTo",null),t}(),Mi=new o.OlP("[TUI_TABS_REFRESH]"),Si=[Z.tl,Z.a3,ti,(0,Xt.fx)({align:"right"}),{provide:Kr,useValue:{childList:!0,subtree:!0,characterData:!0}},{provide:Mi,deps:[Z.tl,ti,Z.a3,A.K0,o.SBq,o.sBO],useFactory:function(t,e,n,r,i,o){var a=r.body,s=i.nativeElement;return(0,m.T)(t,e.pipe((0,ri.b)(function(){return o.detectChanges()}))).pipe((0,C.h)(function(){return a.contains(s)}),(0,yt.b)(0),(0,k.O)(null),(0,w.R)(n))}}],Pi=function(){var t=function(){function t(e,n,r,i,a,s,u){y(this,t),this.options=e,this.margin=n,this.refresh$=r,this.el=i,this.cdr=a,this.moreWord$=s,this.arrowOptions=u,this.maxIndex=1/0,this.underline=this.options.underline,this.itemsLimit=this.options.itemsLimit,this.activeItemIndexChange=new o.vpe,this.items=P.Mm,this.activeItemIndex=0,this.open=!1}return g(t,[{key:"itemIndex",set:function(t){this.activeItemIndex=t,this.maxIndex=this.getMaxIndex()}},{key:"tabs",get:function(){return Array.from(this.el.nativeElement.querySelectorAll("[tuiTab]"))}},{key:"activeElement",get:function(){var t,e=this.tabs,n=(0,Kt.Ki)(this.activeItemIndex||0,0,e.length-2);return this.options.exposeActive||this.lastVisibleIndex>=n?e[n]||null:(null===(t=this.moreButton)||void 0===t?void 0:t.nativeElement)||null}},{key:"isMoreAlone",get:function(){return this.lastVisibleIndex<0&&!this.options.exposeActive}},{key:"isMoreVisible",get:function(){return this.lastVisibleIndex=this.items.length?this.maxIndex:Math.min(this.itemsLimit-(this.itemsLimit-1>this.activeItemIndex||!this.options.exposeActive?1:2),this.maxIndex)}},{key:"ngAfterViewInit",value:function(){var t=this;this.refresh$.pipe((0,b.U)(function(){return t.getMaxIndex()}),(0,C.h)(function(e){return t.maxIndex!==e})).subscribe(function(e){t.maxIndex=e,t.cdr.detectChanges()})}},{key:"onActiveItemIndexChange",value:function(t){this.updateActiveItemIndex(t)}},{key:"onClick",value:function(t){this.open=!1,this.focusMore(),this.updateActiveItemIndex(t)}},{key:"onArrowRight",value:function(t){(0,$.ve)(t.target)&&(0,Q.V8)(t.target)&&this.focusMore()}},{key:"onArrowLeft",value:function(){for(var t=this.tabs,e=t.length-2;e>=0;){if(t[e].focus(),(0,Q.V8)(t[e]))return;e--}}},{key:"onWrapperArrow",value:function(t,e,n){var r=(0,Q.BW)({initial:t.target,root:e,previous:n});r&&r.focus()}},{key:"isOverflown",value:function(t){return t!==this.activeItemIndex||!this.options.exposeActive}},{key:"shouldShow",value:function(t){return t>this.lastVisibleIndex&&this.isOverflown(t)}},{key:"focusMore",value:function(){this.moreButton&&this.moreButton.nativeElement.focus()}},{key:"getMaxIndex",value:function(){var t=this.tabs,e=this.activeItemIndex,n=this.margin;if(t.length<2)return 0;var r=this.options,i=r.exposeActive,o=r.minMoreWidth,a=this.el.nativeElement.clientWidth,s=t[e]?t[e].scrollWidth:0,u=Math.max(t[t.length-1].scrollWidth,o),c=t.length-2,l=t.reduce(function(t,e){return t+e.scrollWidth},0)+c*n-t[t.length-1].scrollWidth;if(l<=a)return 1/0;for(;c;)if(l-=t[c].scrollWidth+n,c--,l+(i&&e>c?s+n:0)+u+n+(0,Kt.HW)(this.maxIndex===c-1) .t-header_hoverable[_ngcontent-%COMP%]{background:var(--tui-base-02)}.t-wrapper[_ngcontent-%COMP%]:hover[data-mode=onDark] > .t-header_hoverable[_ngcontent-%COMP%]{background:var(--tui-clear-inverse)}.t-wrapper[_ngcontent-%COMP%]:hover[data-mode=onLight] > .t-header_hoverable[_ngcontent-%COMP%]{background:var(--tui-clear)}.t-title[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-right:0;flex-grow:1}._has-arrow[_nghost-%COMP%] .t-title[_ngcontent-%COMP%]{margin-right:.5rem}.t-icon[_ngcontent-%COMP%]{transition-property:transform,color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:1.5rem;height:1.5rem;margin-left:auto;color:var(--tui-base-06)}.t-icon_open[_ngcontent-%COMP%]{transform:rotate(180deg)}[data-mode][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{opacity:var(--tui-disabled-opacity)}[_nghost-%COMP%]:hover[data-mode] .t-icon[_ngcontent-%COMP%]{opacity:.8}[data-mode=onDark][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{color:var(--tui-text-01-night)}[data-mode=onLight][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{color:var(--tui-text-01)}[_nghost-%COMP%]:hover:not([data-mode]) .t-icon[_ngcontent-%COMP%]{color:var(--tui-base-07)}.t-content[_ngcontent-%COMP%]{font:var(--tui-font-text-m);padding:1.25rem;word-wrap:break-word}[data-size=s][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{font:var(--tui-font-text-s);padding:1rem}'],changeDetection:0}),t}(),Ui=function(){var t=function(){function t(e){y(this,t),this.destroy$=e,this.closeOthers=!0,this.rounded=!0,this.accordionItems=P.Mm}return g(t,[{key:"ngAfterContentInit",value:function(){var t=this,e=this.accordionItems,n=(0,Ie.ll)(e),r=n.pipe((0,Ai.G)(),(0,b.U)(function(t){var e=p(t,2),n=e[0];return e[1].find(function(t){return!n.includes(t)&&t.open})}),(0,C.h)(U.Pc));(0,m.T)(n.pipe((0,_.w)(function(t){return m.T.apply(void 0,d(t.map(function(t){return t.openChange.pipe((0,C.h)(ei.y),(0,b.U)(function(){return t}))})))})),r).pipe((0,C.h)(function(){return t.closeOthers}),(0,w.R)(this.destroy$)).subscribe(function(t){e.forEach(function(e){t!==e&&e.close()})})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(Z.a3,2))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-accordion"]],contentQueries:function(t,e,n){var r;(1&t&&o.Suo(n,qi,4),2&t)&&(o.iGM(r=o.CRH())&&(e.accordionItems=r))},inputs:{closeOthers:"closeOthers",rounded:"rounded"},features:[o._Bn([Z.a3])],ngContentSelectors:Vi,decls:2,vars:2,consts:[["automation-id","tui-accordion__group","orientation","vertical","size","l","tuiGroup","",1,"t-group",3,"collapsed","rounded"]],template:function(t,e){1&t&&(o.F$t(Bi),o.TgZ(0,"div",0),o.Hsn(1),o.qZA()),2&t&&o.Q6J("collapsed",!0)("rounded",e.rounded)},directives:[Gt.gZ],styles:["[_nghost-%COMP%]{display:block}.t-group[_ngcontent-%COMP%]{display:flex}"],changeDetection:0}),t}(),Hi=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,sr.F,ur.c,ar.u,et.wq,Jt.EI,Gt.n6,R]]}),t}(),Gi=["input"];function Ji(t,e){if(1&t&&(o.ynx(0),o._uU(1),o.BQk()),2&t){var n=e.polymorpheusOutlet;o.xp6(1),o.hij(" ",n," ")}}function Xi(t,e){if(1&t&&(o.TgZ(0,"div",6),o.YNc(1,Ji,2,1,"ng-container",7),o.qZA()),2&t){var n=o.oxw();o.xp6(1),o.Q6J("polymorpheusOutlet",n.leftContent)}}function $i(t,e){if(1&t&&o._UZ(0,"tui-loader",8),2&t){var n=o.oxw();o.Q6J("inheritColor",!0)("size",n.loaderSize)}}function Qi(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"tui-svg",9),o.NdJ("click",function(t){return o.CHM(n),o.oxw().remove(t)})("mousedown.stop.prevent.silent",function(){return 0}),o.qZA()}if(2&t){var r=o.oxw();o.Q6J("src",r.icons.close)}}function Wi(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"input",10,11),o.NdJ("blur",function(){return o.CHM(n),o.oxw().onBlur()})("keydown",function(t){return o.CHM(n),o.oxw().onKeyDown(t)})("ngModelChange",function(t){return o.CHM(n),o.oxw().onInput(t)}),o.qZA()}if(2&t){var r=o.oxw();o.Q6J("ngModel",r.editedText),o.uIk("maxLength",r.maxLength)}}var Ki=(0,U.JN)({size:"m",status:"default",autoColor:!1}),to=function(){var t=function(){function t(e,n,r,i){y(this,t),this.el=e,this.mode$=n,this.options=r,this.icons=i,this.value="",this.editable=!1,this.separator=",",this.maxLength=null,this.size=this.options.size,this.showLoader=!1,this.status=this.options.status,this.hoverable=!1,this.removable=!1,this.disabled=!1,this.autoColor=this.options.autoColor,this.edited=new o.vpe,this.editing=!1,this.editedText=null}return g(t,[{key:"input",set:function(t){t&&t.nativeElement.focus()}},{key:"backgroundColor",get:function(){return this.autoColor?function(t){if(""===t)return"";for(var e=0,n=0;n1?this.save(String(e)):this.editedText=t}},{key:"onKeyDown",value:function(t){switch(t.stopPropagation(),t.key.toLowerCase()){case"enter":t.preventDefault(),this.save(this.editedText||"");break;case"escape":case"esc":t.preventDefault(),this.stopEditing(),this.el.nativeElement.focus()}}},{key:"onBlur",value:function(){null!==this.editedText&&this.save(this.editedText)}},{key:"canEdit",get:function(){return this.editable&&!this.disabled&&!this.showLoader}},{key:"stopEditing",value:function(){this.editing=!1,this.editedText=null}},{key:"save",value:function(t){this.stopEditing(),this.edited.emit(t.trim())}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.SBq),o.Y36(mt.Au),o.Y36(Ki),o.Y36(mt.Gs))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-tag"],["a","tuiTag",""],["button","tuiTag",""]],viewQuery:function(t,e){var n;(1&t&&o.Gf(Gi,5,o.SBq),2&t)&&(o.iGM(n=o.CRH())&&(e.input=n.first))},hostVars:10,hostBindings:function(t,e){1&t&&o.NdJ("$.data-mode.attr",function(){return e.mode$})("keydown.enter",function(t){return e.edit(t)})("keydown.delete",function(t){return e.remove(t)})("keydown.backspace",function(t){return e.remove(t)}),2&t&&(o.uIk("data-size",e.size)("data-status",e.status),o.ekj("_hoverable",e.hoverable)("_disabled",e.disabled)("_autocolor",e.autoColor)("_editing",e.editing))},inputs:{value:"value",editable:"editable",separator:"separator",maxLength:"maxLength",size:"size",showLoader:"showLoader",status:"status",hoverable:"hoverable",removable:"removable",disabled:"disabled",autoColor:"autoColor",leftContent:"leftContent"},outputs:{edited:"edited"},features:[o._Bn([br.CV])],decls:6,vars:7,consts:[[1,"t-tag",3,"dblclick"],["class","t-content",4,"ngIf"],["automation-id","tui-tag__text",1,"t-text",3,"textContent"],["class","t-content",3,"inheritColor","size",4,"ngIf"],["automation-id","tui-tag__remove","class","t-icon",3,"src","click","mousedown.stop.prevent.silent",4,"ngIf"],["automation-id","tui-tag__edit","type","text","class","t-edit",3,"ngModel","blur","keydown","ngModelChange",4,"ngIf"],[1,"t-content"],[4,"polymorpheusOutlet"],[1,"t-content",3,"inheritColor","size"],["automation-id","tui-tag__remove",1,"t-icon",3,"src","click","mousedown.stop.prevent.silent"],["automation-id","tui-tag__edit","type","text",1,"t-edit",3,"ngModel","blur","keydown","ngModelChange"],["input",""]],template:function(t,e){1&t&&(o.TgZ(0,"div",0),o.NdJ("dblclick",function(t){return e.edit(t)}),o.YNc(1,Xi,2,1,"div",1),o._UZ(2,"span",2),o.YNc(3,$i,1,2,"tui-loader",3),o.YNc(4,Qi,1,1,"tui-svg",4),o.qZA(),o.YNc(5,Wi,2,2,"input",5)),2&t&&(o.Udp("background-color",e.backgroundColor),o.xp6(1),o.Q6J("ngIf",e.leftContent),o.xp6(1),o.Q6J("textContent",e.displayText),o.xp6(1),o.Q6J("ngIf",e.showLoader),o.xp6(1),o.Q6J("ngIf",e.canRemove),o.xp6(1),o.Q6J("ngIf",e.editing))},directives:[A.O5,et.Li,E.kM,Jt.PN,En.Fj,En.JJ,En.On],styles:['[_nghost-%COMP%]{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:relative;display:inline-block;font:var(--tui-font-text-s);line-height:1.25rem;max-width:100%;cursor:default;outline:none;text-decoration:none;padding:0;border:0}[_nghost-%COMP%]:after{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;top:0;left:0;width:100%;height:100%;content:"";box-sizing:border-box;border-radius:inherit;pointer-events:none}._hoverable[_nghost-%COMP%]:hover[data-status=custom]:after, ._hoverable[_nghost-%COMP%]:active[data-status=custom]:after{background-color:var(--tui-clear)}[_nghost-%COMP%]:focus:after{border:2px solid var(--tui-focus)}[data-size=s][_nghost-%COMP%]{font:var(--tui-font-text-xs);line-height:1.25rem;border-radius:var(--tui-radius-xs)}[data-size=m][_nghost-%COMP%]{border-radius:var(--tui-radius-xs)}[data-size=l][_nghost-%COMP%]{border-radius:var(--tui-radius-s)}[data-status=primary][_nghost-%COMP%]{background-color:var(--tui-primary);color:var(--tui-primary-text)}[data-status=primary]._hoverable[_nghost-%COMP%]:hover{background-color:var(--tui-primary-hover)}[data-status=primary]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-primary-active)}[data-status=error][_nghost-%COMP%]{background-color:var(--tui-error-bg);color:var(--tui-text-01)}[data-status=error]._hoverable[_nghost-%COMP%]:hover, [data-status=error]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-error-bg-hover)}[data-status=error][data-mode=onDark][_nghost-%COMP%]{background-color:var(--tui-error-bg-night);color:var(--tui-text-01-night)}[data-status=error][data-mode=onDark]._hoverable[_nghost-%COMP%]:hover, [data-status=error][data-mode=onDark]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-error-bg-night-hover)}[data-status=success][_nghost-%COMP%]{background-color:var(--tui-success-bg);color:var(--tui-text-01)}[data-status=success]._hoverable[_nghost-%COMP%]:hover, [data-status=success]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-success-bg-hover)}[data-status=success][data-mode=onDark][_nghost-%COMP%]{background-color:var(--tui-success-bg-night);color:var(--tui-text-01-night)}[data-status=success][data-mode=onDark]._hoverable[_nghost-%COMP%]:hover, [data-status=success][data-mode=onDark]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-success-bg-night-hover)}[data-status=warning][_nghost-%COMP%]{background-color:var(--tui-warning-bg);color:var(--tui-text-01)}[data-status=warning]._hoverable[_nghost-%COMP%]:hover, [data-status=warning]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-warning-bg-hover)}[data-status=warning][data-mode=onDark][_nghost-%COMP%]{background-color:var(--tui-warning-bg-night);color:var(--tui-text-01-night)}[data-status=warning][data-mode=onDark]._hoverable[_nghost-%COMP%]:hover, [data-status=warning][data-mode=onDark]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-warning-bg-night-hover)}[data-status=default][_nghost-%COMP%]{color:var(--tui-text-01-night);background-color:var(--tui-base-06)}[data-status=default][_nghost-%COMP%]:not([data-mode])._hoverable:hover{background-color:var(--tui-base-07)}[data-status=default][_nghost-%COMP%]:not([data-mode])._hoverable:active{background-color:var(--tui-base-08)}[data-status=default][data-mode=onDark][_nghost-%COMP%]{color:var(--tui-text-01-night);background-color:var(--tui-clear-inverse)}[data-status=default][data-mode=onDark]._hoverable[_nghost-%COMP%]:hover{background-color:var(--tui-clear-inverse-hover)}[data-status=default][data-mode=onDark]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-clear-inverse-active)}[data-status=default][data-mode=onDark][_nghost-%COMP%]:focus:after{border:2px solid var(--tui-base-01)}[data-status=default][data-mode=onLight][_nghost-%COMP%]{background-color:var(--tui-clear);color:var(--tui-text-01)}[data-status=default][data-mode=onLight]._hoverable[_nghost-%COMP%]:hover{background-color:var(--tui-clear-hover)}[data-status=default][data-mode=onLight]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-clear-active)}._editing[_nghost-%COMP%]{background:transparent!important}._disabled[_nghost-%COMP%]{pointer-events:none;opacity:var(--tui-disabled-opacity)}._hoverable[_nghost-%COMP%]{cursor:pointer}._autocolor[_nghost-%COMP%]{color:#000c}.t-text[_ngcontent-%COMP%]{white-space:pre;overflow:hidden;text-overflow:ellipsis;padding-right:.02em}.t-tag[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative;display:flex;width:auto;align-items:center;font:inherit;border-radius:inherit}[data-size=s][_nghost-%COMP%] .t-tag[_ngcontent-%COMP%]{height:1.25rem;padding:0 .375rem}[data-size=m][_nghost-%COMP%] .t-tag[_ngcontent-%COMP%]{height:var(--tui-height-xs);padding:0 .5rem}[data-size=l][_nghost-%COMP%] .t-tag[_ngcontent-%COMP%]{height:var(--tui-height-s);padding:0 .75rem}._editing[_nghost-%COMP%] .t-tag[_ngcontent-%COMP%]{visibility:hidden}.t-edit[_ngcontent-%COMP%]{margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;font:inherit;color:var(--tui-text-01);width:100%;height:100%;box-sizing:border-box;padding:0 .5rem}.t-edit[_ngcontent-%COMP%]:-webkit-autofill, .t-edit[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-edit[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}[data-size=s][_nghost-%COMP%] .t-edit[_ngcontent-%COMP%]{padding:0 .375rem}[data-size=m][_nghost-%COMP%] .t-edit[_ngcontent-%COMP%]{padding:0 .5rem}[data-size=l][_nghost-%COMP%] .t-edit[_ngcontent-%COMP%]{padding:0 .75rem}.t-icon[_ngcontent-%COMP%]{width:1rem;height:100%;cursor:pointer;pointer-events:all;opacity:var(--tui-disabled-opacity);-webkit-margin-start:.25rem;margin-inline-start:.25rem;-webkit-margin-end:-.25rem;margin-inline-end:-.25rem}.t-icon[_ngcontent-%COMP%]:hover{opacity:1}[data-size=s][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{-webkit-margin-start:0;margin-inline-start:0}[data-size=s][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%] svg{transform:scale(.75)}.t-content[_ngcontent-%COMP%]{width:1rem;height:1rem;-webkit-margin-end:.25rem;margin-inline-end:.25rem}'],changeDetection:0}),t}(),eo=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,En.u5,Jt.EI,E.dS,et.wq]]}),t}(),no=r(44711),ro=r(21673),io=["tuiSidebar",""];function oo(t,e){if(1&t&&(o.ynx(0),o._uU(1),o.BQk()),2&t){var n=e.polymorpheusOutlet;o.xp6(1),o.hij(" ",n," ")}}var ao=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r,i,o){var a;return y(this,n),(a=e.call(this,t,o)).content=t,a.injector=r,a.portalService=i,a.component=new et.Al(so,a.injector),a.sidebarRef=null,a.direction="left",a.autoWidth=!1,a}return g(n,[{key:"tuiSidebar",set:function(t){t?this.show():this.hide()}},{key:"ngOnDestroy",value:function(){this.hide()}},{key:"show",value:function(){null===this.sidebarRef&&(this.sidebarRef=this.portalService.add(this.component),this.sidebarRef.changeDetectorRef.detectChanges())}},{key:"hide",value:function(){null!==this.sidebarRef&&(this.portalService.remove(this.sidebarRef),this.sidebarRef=null)}}]),n}(et.GL);return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.Rgc),o.Y36(o.zs3),o.Y36(j.ae),o.Y36(o.sBO))},t.\u0275dir=o.lG2({type:t,selectors:[["","tuiSidebar",""]],inputs:{direction:["tuiSidebarDirection","direction"],autoWidth:["tuiSidebarAutoWidth","autoWidth"],tuiSidebar:"tuiSidebar"},features:[o.qOj]}),t}(),so=function(){var t=function(){function t(e,n){y(this,t),this.options=e,this.directive=n,this.left=Object.assign(Object.assign({},this.options),{value:"left"}),this.right=Object.assign(Object.assign({},this.options),{value:"right"})}return g(t,[{key:"animation",get:function(){return"left"===this.direction?this.left:this.right}},{key:"directionHostClass",get:function(){return"t-".concat(this.directive.direction)}},{key:"direction",get:function(){return this.directive.direction}},{key:"content",get:function(){return this.directive.content}},{key:"autoWidth",get:function(){return this.directive.autoWidth}},{key:"ngDoCheck",value:function(){this.directive.check()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(mt.Pw),o.Y36(ao))},t.\u0275cmp=o.Xpm({type:t,selectors:[["aside","tuiSidebar",""]],hostVars:3,hostBindings:function(t,e){2&t&&(o.d8E("@tuiSlideIn",e.animation),o.Tol(e.directionHostClass))},attrs:io,decls:2,vars:3,consts:[["tuiActiveZone","",1,"t-wrapper"],[4,"polymorpheusOutlet"]],template:function(t,e){1&t&&(o.TgZ(0,"div",0),o.YNc(1,oo,2,1,"ng-container",1),o.qZA()),2&t&&(o.ekj("t-wrapper_auto-width",e.autoWidth),o.xp6(1),o.Q6J("polymorpheusOutlet",e.content))},directives:[Ot.e,et.Li],styles:['[_nghost-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;display:flex}[_nghost-%COMP%]:before, [_nghost-%COMP%]:after{position:absolute;top:0;left:0;width:100%;content:"";height:100%;background:rgba(0,0,0,.38);animation:tuiFadeIn var(--tui-duration)}[_nghost-%COMP%]:before{left:-100%;width:200%}[_nghost-%COMP%]:after{left:100%}.ng-animating[_nghost-%COMP%]:before, .ng-animating[_nghost-%COMP%]:after{opacity:0;transition:opacity var(--tui-duration)}.t-right[_nghost-%COMP%]{justify-content:flex-end}.t-left[_nghost-%COMP%]{justify-content:flex-start}.t-wrapper[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:column;background:var(--tui-base-01);box-shadow:0 10rem var(--tui-base-01);width:17.25rem}.t-wrapper_auto-width[_ngcontent-%COMP%]{width:auto}'],data:{animation:[ne.Gw]},changeDetection:0}),t}(),uo=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[Ot.A,et.wq]]}),t}(),co=function(){var t=function(){function t(e,n,r){var i=this,o=n.nativeElement;y(this,t),this.readyToScroll$=r,this.scroll$=new ni.t(1),this.readyToScroll$.pipe((0,C.h)(Boolean),(0,_.w)(function(){return i.scroll$}),(0,yt.b)(750),(0,C.h)(function(t){return t&&!!(0,$.PU)(o)}),(0,w.R)(e)).subscribe(function(){o.scrollIntoView()})}return g(t,[{key:"tuiScrollIntoViewLink",set:function(t){this.scroll$.next(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(Z.a3,2),o.Y36(o.SBq),o.Y36(s.V1))},t.\u0275dir=o.lG2({type:t,selectors:[["","tuiScrollIntoViewLink",""]],inputs:{tuiScrollIntoViewLink:"tuiScrollIntoViewLink"},features:[o._Bn([Z.a3])]}),t}(),lo=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({}),t}(),ho="Taiga UI",fo=(0,U.JN)("tuiTheme"),po=(0,U.JN)(ho),vo=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,i.getItem(r)||t)).initialTheme=t,o.key=r,o.storage=i,o}return g(n,[{key:"next",value:function(t){this.storage.setItem(this.key,t),i(f(n.prototype),"next",this).call(this,t)}},{key:"isDefaultTheme",get:function(){return this.value===ho}}]),n}(l.X);return t.\u0275fac=function(e){return new(e||t)(o.LFG(po),o.LFG(fo),o.LFG(Y.H3))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),go=(0,U.JN)("tuiNight"),mo=(0,U.JN)(!0),yo=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r,i,o){var a;return y(this,n),(a=e.call(this,"true"===r.getItem(i)||null===r.getItem(i)&&t.matchMedia("(prefers-color-scheme: dark)").matches)).win=t,a.storage=r,a.key=i,a.useDefaultNightTheme=o,a}return g(n,[{key:"next",value:function(t){this.storage.setItem(this.key,String(t)),i(f(n.prototype),"next",this).call(this,t)}},{key:"toggle",value:function(){this.next(!this.value)}}]),n}(l.X);return t.\u0275fac=function(e){return new(e||t)(o.LFG(Y.m9),o.LFG(Y.H3),o.LFG(go),o.LFG(mo))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}();function _o(t,e){if(1&t&&(o.TgZ(0,"p",2),o._uU(1),o.qZA()),2&t){var n=o.oxw();o.xp6(1),o.hij(" ",n.filename,"\n")}}function bo(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"pre",3),o._uU(1," "),o._UZ(2,"code",4),o._uU(3,"\n "),o.TgZ(4,"div",5),o._uU(5,"\n "),o.TgZ(6,"button",6),o.NdJ("click",function(){return o.CHM(n),o.oxw().copy$.next()}),o.ALo(7,"async"),o._uU(8,"\n "),o.qZA(),o._uU(9,"\n "),o.Hsn(10),o._uU(11,"\n "),o.qZA(),o._uU(12,"\n"),o.qZA()}if(2&t){var r=e.$implicit,i=o.oxw();o.xp6(2),o.Q6J("lineNumbers",!0)("highlight",r),o.xp6(4),o.Q6J("icon",o.lcZ(7,4,i.icon$)||"tuiIconCopyLarge")("cdkCopyToClipboard",r)}}var ko=["*"],wo=["content"],Co=["resizer"];function xo(t,e){if(1&t&&(o._uU(0),o.TgZ(1,"a",11),o.TgZ(2,"code"),o._uU(3,"tuiMode"),o.qZA(),o.qZA()),2&t){var n=o.oxw();o.hij(" ",n.texts[0]," ")}}function Oo(t,e){if(1&t&&o._UZ(0,"tui-data-list-wrapper",14),2&t){var n=o.oxw(2);o.Q6J("items",n.items)}}function Mo(t,e){if(1&t){var n=o.EpF();o.ynx(0),o.TgZ(1,"tui-select",12),o.NdJ("ngModelChange",function(t){return o.CHM(n),o.oxw().onModeChange(t)}),o._uU(2," tuiMode "),o.YNc(3,Oo,1,1,"tui-data-list-wrapper",13),o.qZA(),o.BQk()}if(2&t){var r=o.oxw(),i=o.MAs(2);o.xp6(1),o.Q6J("ngModel",r.mode)("tuiHintContent",i)("tuiTextfieldCleaner",!0)}}function So(t,e){if(1&t){var n=o.EpF();o._uU(0," tuiMode: "),o._UZ(1,"tui-tooltip",15),o.TgZ(2,"div",16),o.TgZ(3,"tui-radio-block",17),o.NdJ("ngModelChange",function(t){return o.CHM(n),o.oxw().onModeChange(t)}),o._uU(4," null "),o.qZA(),o.TgZ(5,"tui-radio-block",18),o.NdJ("ngModelChange",function(t){return o.CHM(n),o.oxw().onModeChange(t)}),o._uU(6," onDark "),o.qZA(),o.TgZ(7,"tui-radio-block",19),o.NdJ("ngModelChange",function(t){return o.CHM(n),o.oxw().onModeChange(t)}),o._uU(8," onLight "),o.qZA(),o.qZA()}if(2&t){var r=o.oxw(),i=o.MAs(2);o.xp6(1),o.Q6J("content",i),o.xp6(1),o.Q6J("collapsed",!0),o.xp6(1),o.Q6J("hideRadio",!0)("item",null)("ngModel",r.mode),o.xp6(2),o.Q6J("hideRadio",!0)("ngModel",r.mode),o.xp6(2),o.Q6J("hideRadio",!0)("ngModel",r.mode)}}function Po(t,e){if(1&t&&o._UZ(0,"tui-svg",27),2&t){var n=o.oxw(2);o.ekj("t-icon_rotated",n.expanded),o.Q6J("src",n.options.iconSmall)}}function Eo(t,e){if(1&t&&o._UZ(0,"tui-data-list-wrapper",14),2&t){var n=o.oxw(3);o.Q6J("items",n.updateOnVariants)}}var Ao=function(){return{standalone:!0}};function To(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"pre",28),o._uU(1),o.ALo(2,"json"),o.qZA(),o.TgZ(3,"div",29),o.TgZ(4,"tui-select",30),o.NdJ("ngModelChange",function(t){return o.CHM(n),o.oxw(2).updateOnChange(t)}),o._uU(5," updateOn "),o.YNc(6,Eo,1,1,"tui-data-list-wrapper",13),o.qZA(),o.TgZ(7,"button",31),o._uU(8," Reset "),o.qZA(),o.TgZ(9,"button",32),o._uU(10," Submit "),o.qZA(),o.qZA()}if(2&t){var r=o.oxw(2);o.xp6(1),o.hij("Form data: ",o.lcZ(2,3,r.testForm.value),""),o.xp6(3),o.Q6J("ngModel",r.updateOn)("ngModelOptions",o.DdM(5,Ao))}}function Io(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"form",20),o.TgZ(1,"div",21),o.GkF(2,22),o.qZA(),o.TgZ(3,"button",23),o.NdJ("click",function(){return o.CHM(n),o.oxw().toggleDetails()}),o._uU(4),o.qZA(),o.YNc(5,Po,1,3,"ng-template",null,24,o.W1O),o.TgZ(7,"tui-expand",25),o.YNc(8,To,11,6,"ng-template",26),o.qZA(),o.qZA()}if(2&t){var r=o.MAs(6),i=o.oxw();o.Q6J("formGroup",i.testForm),o.xp6(2),o.Q6J("ngTemplateOutlet",i.template),o.xp6(1),o.Q6J("iconRight",r),o.xp6(1),o.hij(" ",i.texts[2]," "),o.xp6(3),o.Q6J("expanded",i.expanded)}}var Do=function(){return[1,0]};function Lo(t,e){if(1&t&&(o.TgZ(0,"h1",2),o._uU(1),o.qZA()),2&t){var n=o.oxw();o.xp6(1),o.hij(" ",n.heading,"\n")}}function No(t,e){if(1&t&&(o.TgZ(0,"th",10),o._uU(1),o.qZA()),2&t){var n=o.oxw(3);o.xp6(1),o.hij(" ",n.texts[3]," ")}}function zo(t,e){1&t&&o._UZ(0,"tui-badge",20)}function Fo(t,e){1&t&&(o.TgZ(0,"span",21),o._uU(1," deprecated "),o.qZA())}function Ro(t,e){if(1&t&&(o._uU(0),o.TgZ(1,"a",24),o.TgZ(2,"code"),o._uU(3,"ng-polymorpheus"),o.qZA(),o.qZA()),2&t){var n=o.oxw(5);o.hij(" ",n.texts[4]," ")}}function jo(t,e){if(1&t&&(o.TgZ(0,"tui-tooltip",22),o.YNc(1,Ro,4,1,"ng-template",null,23,o.W1O),o.qZA()),2&t){var n=o.MAs(2),r=o.oxw().$implicit;o.Q6J("content",n)("describeId",r.attrName)}}function Bo(t,e){if(1&t&&o._UZ(0,"tui-data-list-wrapper",34),2&t){o.oxw(2);var n=o.MAs(3),r=o.oxw(2).$implicit;o.Q6J("itemContent",n)("items",r.documentationPropertyValues)}}function Vo(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"tui-select",31),o.NdJ("ngModelChange",function(t){return o.CHM(n),o.oxw(3).$implicit.onValueChange(t)}),o.ALo(1,"tuiShowCleanerPipe"),o.TgZ(2,"code",32),o._uU(3,"null"),o.qZA(),o.YNc(4,Bo,1,2,"tui-data-list-wrapper",33),o.qZA()}if(2&t){o.oxw();var r=o.MAs(3),i=o.oxw(2).$implicit;o.Q6J("nativeId",i.attrName)("ngModel",i.documentationPropertyValue)("tuiTextfieldCleaner",o.lcZ(1,5,i.documentationPropertyType))("tuiTextfieldLabelOutside",!0)("valueContent",r)}}function Yo(t,e){if(1&t&&(o.TgZ(0,"code"),o._uU(1),o.ALo(2,"tuiInspectAny"),o.qZA()),2&t){var n=e.$implicit;o.xp6(1),o.Oqu(o.lcZ(2,1,n))}}function Zo(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"tui-toggle",41),o.NdJ("ngModelChange",function(t){return o.CHM(n),o.oxw(4).$implicit.onValueChange(t)}),o.qZA()}if(2&t){var r=o.oxw(4).$implicit;o.Q6J("nativeId",r.attrName)("ngModel",r.documentationPropertyValue)("showIcons",!0)}}function qo(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"tui-primitive-textfield",42),o.NdJ("valueChange",function(t){return o.CHM(n),o.oxw(4).$implicit.onValueChange(t)}),o.qZA()}if(2&t){var r=o.oxw(4).$implicit;o.Q6J("nativeId",r.attrName)("tuiTextfieldCleaner",!0)("tuiTextfieldLabelOutside",!0)("value",r.documentationPropertyValue||"")}}function Uo(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"div",43),o.TgZ(1,"tui-primitive-textfield",44),o.NdJ("valueChange",function(t){o.CHM(n);var e=o.oxw(4).$implicit;return o.oxw(3).onColorChange(e,t)}),o.ALo(2,"tuiGetOpacity"),o.ALo(3,"tuiGetColorPipe"),o._UZ(4,"input",45),o.qZA(),o.TgZ(5,"tui-input-number",46),o.NdJ("ngModelChange",function(t){o.CHM(n);var e=o.oxw(4).$implicit;return o.oxw(3).onOpacityChange(e,t)}),o.ALo(6,"tuiGetOpacity"),o._uU(7," Opacity "),o.qZA(),o.qZA()}if(2&t){var r=o.oxw(4).$implicit;o.xp6(1),o.Q6J("tuiInputOpacity",o.lcZ(2,8,r.documentationPropertyValue))("tuiTextfieldLabelOutside",!0)("value",o.lcZ(3,10,r.documentationPropertyValue)),o.uIk("id",r.attrName),o.xp6(4),o.Q6J("max",100)("min",0)("ngModel",o.lcZ(6,12,r.documentationPropertyValue))("step",1)}}function Ho(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"tui-input-number",47),o.NdJ("ngModelChange",function(t){return o.CHM(n),o.oxw(4).$implicit.onValueChange(t||0)}),o.qZA()}if(2&t){var r=o.oxw(4).$implicit;o.Q6J("nativeId",r.attrName)("ngModel",r.documentationPropertyValue)("step",1)("tuiTextfieldLabelOutside",!0)}}function Go(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"tui-primitive-textfield",42),o.NdJ("valueChange",function(t){return o.CHM(n),o.oxw(5).$implicit.onValueChange(t)}),o._uU(1," Default content "),o.qZA()}if(2&t){var r=o.oxw(5).$implicit;o.Q6J("nativeId",r.attrName)("tuiTextfieldCleaner",!0)("tuiTextfieldLabelOutside",!0)("value",r.documentationPropertyValue.toString())}}function Jo(t,e){if(1&t&&(o.ynx(0),o.YNc(1,Go,2,4,"tui-primitive-textfield",48),o.ALo(2,"tuiIsPrimitivePolymorpheusContentPipe"),o.BQk()),2&t){var n=o.oxw(4).$implicit;o.xp6(1),o.Q6J("ngIf",o.lcZ(2,1,n.documentationPropertyValue))}}function Xo(t,e){if(1&t&&(o.ynx(0,35),o.YNc(1,Zo,1,3,"tui-toggle",36),o.YNc(2,qo,1,4,"tui-primitive-textfield",37),o.YNc(3,Uo,8,14,"div",38),o.YNc(4,Ho,1,4,"tui-input-number",39),o.YNc(5,Jo,3,3,"ng-container",40),o.BQk()),2&t){var n=o.oxw(3).$implicit;o.Q6J("ngSwitch",n.documentationPropertyType),o.xp6(1),o.Q6J("ngSwitchCase","boolean"),o.xp6(1),o.Q6J("ngSwitchCase","string"),o.xp6(1),o.Q6J("ngSwitchCase","color"),o.xp6(1),o.Q6J("ngSwitchCase","number"),o.xp6(1),o.Q6J("ngSwitchCase","PolymorpheusContent")}}function $o(t,e){if(1&t&&(o.ynx(0),o.YNc(1,Vo,5,7,"tui-select",28),o.YNc(2,Yo,3,3,"ng-template",null,29,o.W1O),o.YNc(4,Xo,6,6,"ng-template",null,30,o.W1O),o.BQk()),2&t){var n=o.MAs(5),r=o.oxw(2).$implicit;o.xp6(1),o.Q6J("ngIf",r.hasItems)("ngIfElse",n)}}function Qo(t,e){if(1&t&&(o.TgZ(0,"tui-notification",49),o.ALo(1,"async"),o._uU(2," Emit! "),o.qZA()),2&t){var n=o.oxw(2).$implicit;o.Q6J("@emitEvent",o.lcZ(1,1,n.emits$))}}function Wo(t,e){if(1&t&&(o.TgZ(0,"td",25),o.YNc(1,$o,6,2,"ng-container",26),o.YNc(2,Qo,3,3,"ng-template",null,27,o.W1O),o.qZA()),2&t){var n=o.MAs(3),r=o.oxw().$implicit;o.xp6(1),o.Q6J("ngIf",r.shouldShowValues)("ngIfElse",n)}}function Ko(t,e){if(1&t&&(o.TgZ(0,"tr",11),o.TgZ(1,"td",12),o.TgZ(2,"div",13),o._uU(3),o.ALo(4,"tuiStripOptionalPipe"),o.YNc(5,zo,1,0,"tui-badge",14),o.ALo(6,"tuiIsOptionalPipe"),o.qZA(),o.YNc(7,Fo,2,0,"span",15),o.GkF(8,16),o.qZA(),o.TgZ(9,"td",12),o.TgZ(10,"span",17),o._uU(11),o.YNc(12,jo,3,2,"tui-tooltip",18),o.ALo(13,"tuiShowContentTooltip"),o.qZA(),o.qZA(),o.YNc(14,Wo,4,2,"td",19),o.qZA()),2&t){var n=e.$implicit,r=o.oxw(3);o.ekj("t-deprecated",n.documentationPropertyDeprecated),o.xp6(3),o.hij(" ",o.lcZ(4,9,n.attrName)," "),o.xp6(2),o.Q6J("ngIf",o.lcZ(6,11,n.attrName)),o.xp6(2),o.Q6J("ngIf",n.documentationPropertyDeprecated),o.xp6(1),o.Q6J("ngTemplateOutlet",n.template),o.xp6(3),o.hij(" ",n.documentationPropertyType," "),o.xp6(1),o.Q6J("ngIf",o.lcZ(13,13,n.documentationPropertyType)),o.xp6(2),o.Q6J("ngIf",r.showValues)}}function ta(t,e){if(1&t&&(o.TgZ(0,"table",4),o.TgZ(1,"tr",5),o.TgZ(2,"th",6),o._uU(3),o.qZA(),o.TgZ(4,"th",7),o._uU(5),o.qZA(),o.YNc(6,No,2,1,"th",8),o.qZA(),o.YNc(7,Ko,15,15,"tr",9),o.qZA()),2&t){var n=o.oxw().ngIf,r=o.oxw();o.xp6(3),o.Oqu(r.texts[2]),o.xp6(2),o.Oqu(r.type),o.xp6(1),o.Q6J("ngIf",r.showValues&&!r.isAPI),o.xp6(1),o.Q6J("ngForOf",n)}}function ea(t,e){if(1&t&&(o.ynx(0),o.YNc(1,ta,8,4,"table",3),o.BQk()),2&t){var n=e.ngIf;o.xp6(1),o.Q6J("ngIf",n.length)}}function na(t,e){1&t&&o._UZ(0,"span",8),2&t&&o.Q6J("textContent",e.polymorpheusOutlet)}function ra(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"button",9),o.NdJ("click",function(){return o.CHM(n),o.oxw(2).copyExampleLink()}),o.ALo(1,"async"),o.qZA()}if(2&t){var r=o.oxw(2);o.Q6J("icon",r.options.linkIcon)("title",o.lcZ(1,2,r.copy$))}}function ia(t,e){if(1&t&&(o.TgZ(0,"h3",5),o.YNc(1,na,1,1,"span",6),o.ALo(2,"tuiDocExampleCapitalize"),o.YNc(3,ra,2,4,"button",7),o.qZA()),2&t){var n=o.oxw();o.xp6(1),o.Q6J("polymorpheusOutlet",o.lcZ(2,2,n.heading)),o.xp6(2),o.Q6J("ngIf",n.id)}}function oa(t,e){if(1&t&&(o.ynx(0),o._uU(1),o.BQk()),2&t){var n=e.polymorpheusOutlet;o.xp6(1),o.hij(" ",n," ")}}function aa(t,e){if(1&t&&(o.TgZ(0,"h4",10),o.YNc(1,oa,2,1,"ng-container",11),o.ALo(2,"tuiDocExampleCapitalize"),o.qZA()),2&t){var n=o.oxw();o.xp6(1),o.Q6J("polymorpheusOutlet",o.lcZ(2,1,n.description))}}function sa(t,e){if(1&t&&(o.ynx(0),o._uU(1),o.BQk()),2&t){var n=e.polymorpheusOutlet;o.xp6(1),o.hij(" ",n," ")}}function ua(t,e){if(1&t&&(o.TgZ(0,"button",21),o.YNc(1,sa,2,1,"ng-container",11),o.qZA()),2&t){var n=o.oxw().$implicit,r=o.oxw(4);o.xp6(1),o.Q6J("polymorpheusOutlet",r.getTabTitle(n))}}function ca(t,e){1&t&&(o.ynx(0),o.YNc(1,ua,2,1,"button",20),o.BQk())}function la(t,e){if(1&t&&(o.ynx(0),o._uU(1),o.BQk()),2&t){var n=e.polymorpheusOutlet;o.xp6(1),o.hij(" ",n," ")}}function ha(t,e){if(1&t&&(o.ynx(0),o.YNc(1,la,2,1,"ng-container",11),o.BQk()),2&t){var n=e.ngIf;o.xp6(1),o.Q6J("polymorpheusOutlet",n)}}function fa(t,e){if(1&t&&(o.TgZ(0,"button",25),o._uU(1),o.qZA()),2&t){var n=o.oxw(5);o.xp6(1),o.hij(" Edit on ",n.codeEditor.name," ")}}function da(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"tui-loader",22),o.NdJ("click",function(){o.CHM(n);var t=o.oxw(3).ngIf;return o.oxw().edit(t)}),o.ALo(1,"async"),o.YNc(2,ha,2,1,"ng-container",23),o.YNc(3,fa,2,1,"ng-template",null,24,o.W1O),o.qZA()}if(2&t){var r=o.MAs(4),i=o.oxw(4);o.Q6J("overlay",!0)("showLoader",!!o.lcZ(1,4,i.loading$)),o.xp6(2),o.Q6J("ngIf",null==i.codeEditor?null:i.codeEditor.content)("ngIfElse",r)}}function pa(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"div",16),o.TgZ(1,"tui-tabs-with-more",17),o.NdJ("activeItemIndexChange",function(t){return o.CHM(n),o.oxw(3).activeItemIndex=t}),o.YNc(2,ca,2,0,"ng-container",18),o.qZA(),o.YNc(3,da,5,6,"tui-loader",19),o.ALo(4,"tuiMapper"),o.qZA()}if(2&t){var r=o.oxw().ngIf,i=o.oxw().ngIf,a=o.oxw();o.xp6(1),o.Q6J("activeItemIndex",a.activeItemIndex),o.xp6(1),o.Q6J("ngForOf",r),o.xp6(1),o.Q6J("ngIf",o.xi3(4,3,i,a.visible))}}function va(t,e){if(1&t&&o.GkF(0,29),2&t){o.oxw(4);var n=o.MAs(5);o.Q6J("ngTemplateOutlet",n)}}var ga=function(t){return{$implicit:t}};function ma(t,e){if(1&t&&o.GkF(0,30),2&t){var n=o.oxw(2).ngIf,r=o.oxw().ngIf,i=o.oxw(),a=o.MAs(7);o.Q6J("ngTemplateOutlet",a)("ngTemplateOutletContext",o.VKq(2,ga,(null==r?null:r[n[i.activeItemIndex]])||""))}}function ya(t,e){if(1&t&&(o.TgZ(0,"div",26),o.YNc(1,va,1,1,"ng-container",27),o.YNc(2,ma,1,4,"ng-template",null,28,o.W1O),o.qZA()),2&t){var n=e.index,r=o.MAs(3),i=o.oxw(3);o.ekj("t-content_animated",!i.isE2E)("t-content_visible",i.activeItemIndex===n),o.xp6(1),o.Q6J("ngIf",n===i.defaultTabIndex)("ngIfElse",r)}}function _a(t,e){if(1&t&&(o.ynx(0),o.YNc(1,pa,5,6,"div",14),o.YNc(2,ya,4,6,"div",15),o.BQk()),2&t){var n=e.ngIf;o.xp6(1),o.Q6J("ngIf",n.length>1),o.xp6(1),o.Q6J("ngForOf",n)}}function ba(t,e){if(1&t&&(o.TgZ(0,"div",12),o.YNc(1,_a,3,2,"ng-container",13),o.ALo(2,"tuiDocExampleGetTabs"),o.qZA()),2&t){var n=e.ngIf,r=o.oxw();o.xp6(1),o.Q6J("ngIf",o.xi3(2,1,n,r.defaultTab))}}function ka(t,e){1&t&&(o.TgZ(0,"div",31),o.Hsn(1),o.qZA())}function wa(t,e){if(1&t&&(o.ynx(0),o._uU(1),o.BQk()),2&t){var n=e.polymorpheusOutlet;o.xp6(1),o.hij(" ",n," ")}}function Ca(t,e){if(1&t&&(o.ynx(0),o.YNc(1,wa,2,1,"ng-container",33),o.BQk()),2&t){var n=e.$implicit,r=o.oxw().$implicit;o.xp6(1),o.Q6J("polymorpheusOutlet",n)("polymorpheusOutletContext",o.VKq(2,ga,r))}}function xa(t,e){if(1&t&&(o.TgZ(0,"tui-doc-code",32),o.YNc(1,Ca,2,4,"ng-container",18),o.qZA()),2&t){var n=e.$implicit,r=o.oxw();o.Q6J("code",n),o.xp6(1),o.Q6J("ngForOf",r.codeActions)}}function Oa(t,e){1&t&&o._UZ(0,"tui-svg",16),2&t&&o.Q6J("src",e.polymorpheusOutlet)}function Ma(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"a",14),o.NdJ("click",function(){o.CHM(n);var t=o.oxw(4),e=o.MAs(1);return t.onClick(e)}),o._uU(1),o.YNc(2,Oa,1,1,"tui-svg",15),o.qZA()}if(2&t){var r=e.$implicit;o.Q6J("fragment",r.fragment)("routerLink",r.route),o.xp6(1),o.hij(" ",r.title," "),o.xp6(1),o.Q6J("polymorpheusOutlet",r.icon)}}function Sa(t,e){if(1&t&&(o.TgZ(0,"tui-opt-group",12),o.YNc(1,Ma,3,4,"a",13),o.qZA()),2&t){var n=e.$implicit,r=e.index,i=o.oxw(3);o.Q6J("label",i.labels[r]||""),o.xp6(1),o.Q6J("ngForOf",n)}}function Pa(t,e){if(1&t&&(o.TgZ(0,"tui-data-list"),o.YNc(1,Sa,2,2,"tui-opt-group",11),o.ALo(2,"async"),o.qZA()),2&t){var n=o.oxw(2);o.xp6(1),o.Q6J("ngForOf",o.lcZ(2,1,n.filtered$))}}function Ea(t,e){1&t&&(o.ynx(0),o.YNc(1,Pa,3,3,"tui-data-list",10),o.BQk())}var Aa=function(t,e){return{item:t,index:e}};function Ta(t,e){if(1&t&&o.GkF(0,21),2&t){var n=e.$implicit,r=e.index,i=o.oxw(2).index;o.oxw();var a=o.MAs(12);o.Q6J("ngTemplateOutlet",a)("ngTemplateOutletContext",o.WLB(2,Aa,n,100*i+r))}}function Ia(t,e){if(1&t&&(o.TgZ(0,"div",20),o.YNc(1,Ta,1,5,"ng-container",8),o.qZA()),2&t){var n=o.oxw().index,r=o.oxw();o.xp6(1),o.Q6J("ngForOf",r.items[n])}}function Da(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"tui-accordion-item",17),o.NdJ("openChange",function(t){var e=o.CHM(n).index;return!!(o.oxw().openPagesArr[e]=t)}),o.TgZ(1,"span",18),o.TgZ(2,"strong"),o._uU(3),o.qZA(),o.qZA(),o.YNc(4,Ia,2,1,"ng-template",19),o.qZA()}if(2&t){var r=e.$implicit,i=e.index,a=o.oxw();o.Q6J("borders",null)("open",!!a.openPagesArr[i]),o.xp6(3),o.Oqu(r)}}function La(t,e){if(1&t&&o.GkF(0,21),2&t){var n=e.$implicit,r=e.index,i=o.oxw(),a=o.MAs(12);o.Q6J("ngTemplateOutlet",a)("ngTemplateOutletContext",o.WLB(2,Aa,n,i.items.length-1+r))}}function Na(t,e){1&t&&o._UZ(0,"tui-svg",16),2&t&&o.Q6J("src",e.polymorpheusOutlet)}function za(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"a",24),o.NdJ("click",function(){return o.CHM(n),o.oxw(2).closeMenu()}),o._uU(1),o.YNc(2,Na,1,1,"tui-svg",15),o.qZA()}if(2&t){var r=o.oxw().item,i=o.oxw();o.Q6J("routerLink",r.route)("tuiScrollIntoViewLink",i.isActive(r.route)),o.xp6(1),o.hij(" ",r.title," "),o.xp6(1),o.Q6J("polymorpheusOutlet",r.icon)}}function Fa(t,e){1&t&&o._UZ(0,"tui-svg",16),2&t&&o.Q6J("src",e.polymorpheusOutlet)}function Ra(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"button",30),o.NdJ("click",function(){o.CHM(n);var t=o.oxw(2).index;return o.oxw().onGroupClick(t)}),o._UZ(1,"tui-svg",31),o._uU(2),o.YNc(3,Fa,1,1,"tui-svg",15),o.qZA()}if(2&t){var r=o.oxw(2),i=r.index,a=r.item,s=o.oxw();o.xp6(1),o.ekj("t-chevron_active",!!s.openPagesGroupsArr[i]),o.Q6J("src",s.icons.more),o.xp6(1),o.hij(" ",a.title," "),o.xp6(1),o.Q6J("polymorpheusOutlet",a.icon)}}function ja(t,e){1&t&&o._UZ(0,"tui-svg",16),2&t&&o.Q6J("src",e.polymorpheusOutlet)}function Ba(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"a",32),o.NdJ("click",function(){return o.CHM(n),o.oxw(3).closeMenu()}),o._uU(1),o.YNc(2,ja,1,1,"tui-svg",15),o.qZA()}if(2&t){var r=e.$implicit,i=o.oxw(3);o.Q6J("fragment",r.fragment)("routerLink",r.route)("tuiScrollIntoViewLink",i.isActive(r.route)),o.xp6(1),o.hij(" ",r.title," "),o.xp6(1),o.Q6J("polymorpheusOutlet",r.icon)}}var Va=function(){return{exact:!1}};function Ya(t,e){if(1&t&&(o.TgZ(0,"div",25),o.YNc(1,Ra,4,5,"button",26),o.TgZ(2,"tui-expand",27),o.TgZ(3,"div",28),o.YNc(4,Ba,3,5,"a",29),o.qZA(),o.qZA(),o.qZA()),2&t){var n=o.oxw(),r=n.item,i=n.index,a=o.oxw();o.Q6J("routerLinkActiveOptions",o.DdM(4,Va)),o.xp6(1),o.Q6J("ngIf",r.subPages),o.xp6(1),o.Q6J("expanded",!!a.openPagesGroupsArr[i]),o.xp6(2),o.Q6J("ngForOf",a.$pages(r.subPages))}}function Za(t,e){if(1&t&&(o.YNc(0,za,3,4,"a",22),o.YNc(1,Ya,5,5,"ng-template",null,23,o.W1O)),2&t){var n=e.item,r=o.MAs(2);o.Q6J("ngIf",!n.subPages)("ngIfElse",r)}}var qa=["tuiDocHeader",""];function Ua(t,e){1&t&&o._UZ(0,"tui-doc-navigation",4)}function Ha(t,e){1&t&&o._UZ(0,"img",5),2&t&&o.Q6J("src",e.polymorpheusOutlet,o.LSH)}function Ga(t,e){1&t&&(o.ynx(0),o._uU(1),o.BQk()),2&t&&(o.xp6(1),o.Oqu(", "))}function Ja(t,e){if(1&t&&(o.ynx(0),o._UZ(1,"a",2),o.YNc(2,Ga,2,1,"ng-container",3),o.BQk()),2&t){var n=e.$implicit,r=e.last,i=o.oxw();o.xp6(1),o.Q6J("innerText",n)("routerLink",i.getRouterLink(n)),o.xp6(1),o.Q6J("ngIf",!r)}}function Xa(t,e){if(1&t&&o._UZ(0,"a",1),2&t){var n=e.polymorpheusOutlet,r=o.oxw();o.Q6J("href",n,o.LSH)("icon",r.icons.code)("title",r.text)}}function $a(t,e){1&t&&o._UZ(0,"tui-theme-night")}var Qa=[[["tuiDocNavigation"]],[["tuiDocHeader"]],[["tuiOverContent"]],[["tuiOverDialogs"]],[["tuiOverAlerts"]],[["tuiOverPortals"]],[["tuiOverHints"]]],Wa=["tuiDocNavigation","tuiDocHeader","tuiOverContent","tuiOverDialogs","tuiOverAlerts","tuiOverPortals","tuiOverHints"];function Ka(t,e){1&t&&o._UZ(0,"tui-tag",9)}function ts(t,e){if(1&t&&o._UZ(0,"tui-tag",10),2&t){var n=o.oxw();o.Q6J("autoColor",!0)("value",n.package)}}var es=function(t){return{exact:t}};function ns(t,e){if(1&t&&(o.TgZ(0,"a",14),o.ALo(1,"tuiReplace"),o._uU(2),o.qZA()),2&t){var n=o.oxw().ngIf,r=o.oxw().first,i=o.oxw(2);o.Q6J("routerLink",r?"./":o.Dn7(1,3,n,i.from,i.to))("routerLinkActiveOptions",o.VKq(7,es,r)),o.xp6(2),o.hij(" ",n," ")}}function rs(t,e){1&t&&(o.ynx(0),o.YNc(1,ns,3,9,"a",13),o.BQk())}function is(t,e){if(1&t&&(o.ynx(0),o.YNc(1,rs,2,0,"ng-container",12),o.BQk()),2&t){var n=e.$implicit,r=e.index,i=o.oxw(2);o.xp6(1),o.Q6J("ngIf",n.pageTab||i.defaultTabs[r])}}function os(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"tui-tabs-with-more",11),o.NdJ("activeItemIndexChange",function(t){return o.CHM(n),o.oxw().activeItemIndex=t}),o.YNc(1,is,2,1,"ng-container",8),o.qZA()}if(2&t){var r=o.oxw();o.Q6J("activeItemIndex",r.activeItemIndex),o.xp6(1),o.Q6J("ngForOf",r.tabConnectors)}}function as(t,e){if(1&t&&o._UZ(0,"tui-doc-see-also",15),2&t){var n=o.oxw();o.Q6J("seeAlso",n.seeAlso)}}function ss(t,e){if(1&t&&o.GkF(0,17),2&t){var n=o.oxw().$implicit;o.Q6J("ngTemplateOutlet",n.template)}}function us(t,e){if(1&t&&(o.ynx(0),o.YNc(1,ss,1,1,"ng-container",16),o.BQk()),2&t){var n=e.index,r=o.oxw();o.xp6(1),o.Q6J("ngIf",n===r.activeItemIndex)}}var cs=function(){var t=function(){function t(e){var n=this;y(this,t),this.markdownCodeProcessor=e,this.rawLoader$$=new l.X(""),this.filename="",this.copy$=new h.xQ,this.icon$=this.copy$.pipe((0,_.w)(function(){return(0,v.H)(2e3).pipe((0,b.U)(function(){return"tuiIconCopyLarge"}),(0,k.O)("tuiIconCheckLarge"))})),this.processor$=this.rawLoader$$.pipe((0,_.w)(c.JQ),(0,b.U)(function(t){return n.markdownCodeProcessor(t)}))}return g(t,[{key:"code",set:function(t){this.rawLoader$$.next(t)}},{key:"hasFilename",get:function(){return!!this.filename}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(s.Es))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-doc-code"]],hostVars:2,hostBindings:function(t,e){2&t&&o.ekj("_has-filename",e.hasFilename)},inputs:{filename:"filename",code:"code"},ngContentSelectors:ko,decls:3,vars:4,consts:[["class","t-header",4,"ngIf"],["class","t-code",4,"ngFor","ngForOf"],[1,"t-header"],[1,"t-code"],[3,"lineNumbers","highlight"],[1,"t-code-actions"],["tuiIconButton","","appearance","icon","size","xs",1,"t-copy-button",3,"icon","cdkCopyToClipboard","click"]],template:function(t,e){1&t&&(o.F$t(),o.YNc(0,_o,2,1,"p",0),o.YNc(1,bo,13,6,"pre",1),o.ALo(2,"async")),2&t&&(o.Q6J("ngIf",e.filename),o.xp6(1),o.Q6J("ngForOf",o.lcZ(2,2,e.processor$)))},directives:[A.O5,A.sg,$e.y$,Bt.v0,tn],pipes:[A.Ov],styles:["[_nghost-%COMP%]{display:block}.t-header[_ngcontent-%COMP%]{font:var(--tui-font-text-s);font-weight:bold}.t-header[_ngcontent-%COMP%] + .t-code[_ngcontent-%COMP%]{border-radius:.25rem}.t-code[_ngcontent-%COMP%]{position:relative;margin:0;white-space:normal;outline:1px solid var(--tui-base-03)}.t-code[_ngcontent-%COMP%] .hljs-ln{width:-webkit-max-content;width:max-content}.t-code[_ngcontent-%COMP%] + .t-code[_ngcontent-%COMP%]{margin-top:1rem}.t-code-actions[_ngcontent-%COMP%]{position:absolute;top:.75rem;right:.75rem;display:flex;justify-content:center;align-items:center;flex-direction:row-reverse}tui-root._mobile[_nghost-%COMP%] .t-code-actions[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-code-actions[_ngcontent-%COMP%]{padding:.3125rem;border-radius:.25rem;border:1px solid var(--tui-base-04)}.t-copy-button[_ngcontent-%COMP%] +*:not(:empty){margin-right:.375rem}.hljs[_ngcontent-%COMP%]:not(:empty){font:var(--tui-font-text-m);font-size:.875rem;padding:1.5rem 2rem;font-family:monospace;word-wrap:break-word;white-space:pre-wrap}@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm){.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar, .hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar-thumb{width:1rem;height:1rem;border-radius:6.25rem;background-clip:padding-box;border:.375rem solid transparent}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar{background-color:transparent}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar-thumb{background-color:var(--tui-clear-hover)}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar-thumb:hover{background-color:var(--tui-clear-active)}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar-thumb:active{background-color:var(--tui-text-03)}}tui-root._mobile[_nghost-%COMP%] .hljs[_ngcontent-%COMP%]:not(:empty), tui-root._mobile [_nghost-%COMP%] .hljs[_ngcontent-%COMP%]:not(:empty){padding:1rem}.t-code-actions[_ngcontent-%COMP%], .hljs[_ngcontent-%COMP%]:not(:empty){background:var(--tui-base-01)}@supports (background: color-mix(in srgb,var(--tui-base-01),#222 2%)){.t-code-actions[_ngcontent-%COMP%], .hljs[_ngcontent-%COMP%]:not(:empty){background:color-mix(in srgb,var(--tui-base-01),#222 2%)}}"],changeDetection:0}),t}(),ls=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,Jt.EI,$e._l,Bt.fN,en]]}),t}(),hs=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,Bt.fN]]}),t}(),fs=function(){var t=function(){function t(e,n,r,i,o,a,s){var u,l;y(this,t),this.options=e,this.isMobile=n,this.el=r,this.locationRef=i,this.urlSerializer=o,this.texts=a,this.urlStateHandler=s,this.control=null,this.sticky=!0,this.template=null,this.updateOnVariants=["change","blur","submit"],this.updateOn=this.params.updateOn||this.updateOnVariants[0],this.opaque=(0,c.cd)(null===(u=this.params.sandboxOpaque)||void 0===u||u),this.expanded=(0,c.cd)(null!==(l=this.params.sandboxExpanded)&&void 0!==l&&l),this.mode=this.params.tuiMode||null,this.sandboxWidth=(0,Kt.oY)(this.params.sandboxWidth),this.change$=new h.xQ,this.items=["onLight","onDark"]}return g(t,[{key:"onResize",value:function(){this.updateWidth(),this.onMouseUp()}},{key:"onMouseUp",value:function(){this.updateUrl({sandboxWidth:this.sandboxWidth})}},{key:"ngOnInit",value:function(){this.createForm(),this.updateWidth(this.sandboxWidth+this.delta)}},{key:"onModeChange",value:function(t){this.mode=t,this.updateUrl({sandboxWidth:this.sandboxWidth}),this.change$.next()}},{key:"toggleDetails",value:function(){this.expanded=!this.expanded,this.updateUrl({sandboxExpanded:this.expanded})}},{key:"changeOpaque",value:function(t){this.opaque=t,this.updateUrl({sandboxOpaque:this.opaque})}},{key:"updateOnChange",value:function(t){this.updateOn=t,this.updateUrl({updateOn:t}),this.createForm()}},{key:"updateWidth",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:NaN;if(this.resizer&&this.resizeable&&this.content){var e=t||this.resizeable.nativeElement.clientWidth,n=this.el.nativeElement.clientWidth,r=Math.round((0,Kt.Ki)(e,160,n))-this.delta,i=e *[_ngcontent-%COMP%]{pointer-events:auto}.t-wrapper[_ngcontent-%COMP%]{box-shadow:0 1.5rem 1rem #00000008,0 .75rem .75rem #0000000a,0 .25rem .375rem #0000000d;display:flex;border:1px solid var(--tui-base-03);border-radius:var(--tui-radius-m);max-width:100%;min-height:6rem;width:100%;min-width:10rem;background-color:var(--tui-base-01);overflow:hidden}.t-wrapper.t-wrapper_transparent[_ngcontent-%COMP%]{background-image:linear-gradient(45deg,var(--tui-base-02) 25%,transparent 25%),linear-gradient(-45deg,var(--tui-base-02) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--tui-base-02) 75%),linear-gradient(-45deg,transparent 75%,var(--tui-base-02) 75%);background-size:1.25rem 1.25rem;background-position:0 0,0 .625rem,.625rem -.625rem,-.625rem 0}.t-wrapper.t-wrapper_dark[_ngcontent-%COMP%]{background-color:#454e58;color:var(--tui-base-01)}.t-wrapper.t-wrapper_gray[_ngcontent-%COMP%]{background-color:#e5e7ea}.t-wrapper.t-wrapper_dark.t-wrapper_transparent[_ngcontent-%COMP%]{background-image:linear-gradient(45deg,var(--tui-focus) 25%,transparent 25%),linear-gradient(-45deg,var(--tui-focus) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--tui-focus) 75%),linear-gradient(-45deg,transparent 75%,var(--tui-focus) 75%)}.t-wrapper.t-wrapper_gray.t-wrapper_transparent[_ngcontent-%COMP%]{background-image:linear-gradient(45deg,var(--tui-base-05) 25%,transparent 25%),linear-gradient(-45deg,var(--tui-base-05) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--tui-base-05) 75%),linear-gradient(-45deg,transparent 75%,var(--tui-base-05) 75%)}tui-root._mobile[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{min-height:auto}.t-content[_ngcontent-%COMP%]{flex:1 1 0;min-width:0;padding:1.5rem;box-sizing:border-box;overflow:hidden}tui-root._mobile[_nghost-%COMP%] .t-content[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:1rem}.t-form[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:flex-start}.t-input-wrapper[_ngcontent-%COMP%]{width:100%;margin-bottom:.5rem}.t-expand[_ngcontent-%COMP%]{width:100%}.t-icon[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out}.t-icon_rotated[_ngcontent-%COMP%]{transform:rotate(180deg)}.t-value[_ngcontent-%COMP%]{flex:1;background:var(--tui-clear-inverse);padding:.75rem;border-radius:.25rem}.t-mode[_ngcontent-%COMP%]{width:12.5rem}.t-select[_ngcontent-%COMP%]{max-width:15rem}.t-resizer[_ngcontent-%COMP%]{box-shadow:0 1.5rem 1rem #00000008,0 .75rem .75rem #0000000a,0 .25rem .375rem #0000000d;position:relative;width:3.5rem;min-height:inherit;display:flex;align-items:center;justify-content:center;flex-shrink:0;border-left:1px solid var(--tui-base-03);outline:none;background:var(--tui-base-01);color:var(--tui-text-01)}.t-resizer[_ngcontent-%COMP%]:before, .t-resizer[_ngcontent-%COMP%]:after{content:"";position:absolute;top:.75rem;left:50%;bottom:calc(50% + 1rem);width:1px;background:var(--tui-base-04);box-shadow:-.25rem 0 var(--tui-base-04);transform:translate(0)}.t-resizer[_ngcontent-%COMP%]:after{bottom:.75rem;top:calc(50% + 1rem)}tui-root._mobile[_nghost-%COMP%] .t-resizer[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-resizer[_ngcontent-%COMP%]{display:none}.t-resizer-text[_ngcontent-%COMP%]{font:var(--tui-font-text-s);position:relative;z-index:1;padding:.75rem;background:var(--tui-base-01)}.wrapper_light[_ngcontent-%COMP%] .t-resizer-text[_ngcontent-%COMP%]{background:#3e464e}.t-group[_ngcontent-%COMP%], .t-checkbox[_ngcontent-%COMP%]{margin-left:.75rem}.t-button[_ngcontent-%COMP%], .t-form-controls[_ngcontent-%COMP%]{margin-top:.75rem}@supports ((position: -webkit-sticky) or (position: sticky)){@media screen and (min-height: 37.5rem){._sticky[_nghost-%COMP%]{position:-webkit-sticky;position:sticky;top:4.625rem;z-index:2}}}'],changeDetection:0}),(0,nn.gn)([gn.UM],t.prototype,"updateUrl",null),t}(),ds=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,En.UX,En.u5,Wr.Bz,Yt.j,Bt.fN,rr,R,Gt.n6,Ht.Q,Vt.z,_r,no.s,Jt.EI,Sn,Ut.pc,Zt.cn,qt.go,un]]}),t}(),ps=function(){var t=function(){function t(e,n,r,i,a){y(this,t),this.template=e,this.locationRef=n,this.activatedRoute=r,this.urlSerializer=i,this.urlStateHandler=a,this.documentationPropertyName="",this.documentationPropertyMode=null,this.documentationPropertyType="",this.documentationPropertyDeprecated=!1,this.documentationPropertyValues=null,this.documentationPropertyValueChange=new o.vpe,this.changed$=new h.xQ,this.emits$=new l.X(1)}return g(t,[{key:"ngOnInit",value:function(){this.parseParams(this.activatedRoute.snapshot.queryParams)}},{key:"attrName",get:function(){switch(this.documentationPropertyMode){case"input":return"[".concat(this.documentationPropertyName,"]");case"output":return"(".concat(this.documentationPropertyName,")");case"input-output":return"[(".concat(this.documentationPropertyName,")]");default:return this.documentationPropertyName}}},{key:"hasItems",get:function(){return!!this.documentationPropertyValues}},{key:"shouldShowValues",get:function(){return"output"!==this.documentationPropertyMode}},{key:"ngOnChanges",value:function(){this.changed$.next()}},{key:"onValueChange",value:function(t){this.documentationPropertyValue=t,this.documentationPropertyValueChange.emit(t),this.setQueryParam(t)}},{key:"emitEvent",value:function(t){console.info(this.attrName,t),this.emits$.next(this.emits$.value+1)}},{key:"parseParams",value:function(t){var e=t[this.documentationPropertyName],n=t["".concat(this.documentationPropertyName,"$")];if(e||n){var r=n&&this.documentationPropertyValues?this.documentationPropertyValues[n]:(0,c.p8)(e);"string"===this.documentationPropertyType&&(0,U.dt)(r)&&(r=r.toString()),this.onValueChange(r)}}},{key:"setQueryParam",value:function(t){var n=this.urlSerializer.parse(this.locationRef.path()),r=t instanceof Object,i=r&&this.documentationPropertyValues?this.documentationPropertyValues.indexOf(t):t,o=this.documentationPropertyName+(r?"$":"");n.queryParams=Object.assign(Object.assign({},n.queryParams),e({},o,i)),this.locationRef.go(this.urlStateHandler(n))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.Rgc),o.Y36(A.Ye),o.Y36(Wr.gz),o.Y36(Wr.Hx),o.Y36(s.Ii))},t.\u0275dir=o.lG2({type:t,selectors:[["ng-template","documentationPropertyName",""]],inputs:{documentationPropertyName:"documentationPropertyName",documentationPropertyMode:"documentationPropertyMode",documentationPropertyType:"documentationPropertyType",documentationPropertyValue:"documentationPropertyValue",documentationPropertyDeprecated:"documentationPropertyDeprecated",documentationPropertyValues:"documentationPropertyValues"},outputs:{documentationPropertyValueChange:"documentationPropertyValueChange"},exportAs:["documentationProperty"],features:[o.TTD]}),t}(),vs=function(){var t=function(){function t(){y(this,t)}return g(t,[{key:"transform",value:function(t){return 4===t.length?t.split("").reduce(function(t,e){return[].concat(d(t),[e,e])},[]).join("").replace("#",""):t.startsWith("#")?t:"transparent"===t?"#000000":(function(t,e,n){return"#".concat([t,e,n].map(function(t){return t.toString(16).padStart(2,"0")}).join(""))}).apply(void 0,d(t.replace("rgb(","").replace("rgba(","").replace(")","").replace(" ","").split(",").map(function(t){return Number.parseInt(t,10)})))}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=o.Yjl({name:"tuiGetColorPipe",type:t,pure:!0}),t}(),gs=function(){var t=function(){function t(){y(this,t)}return g(t,[{key:"transform",value:function(t){if(t.startsWith("#")||t.startsWith("rgb("))return 100;if("transparent"===t)return 0;var e=t.lastIndexOf(","),n=t.slice(e).replace(")","").replace(" ","").replace(",","");return Math.round(100*Number.parseFloat(n))}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=o.Yjl({name:"tuiGetOpacity",type:t,pure:!0}),t}(),ms=function(){var t=function(){function t(e,n){y(this,t),this.renderer=e,this.focusable=n}return g(t,[{key:"tuiInputOpacity",set:function(t){var e=this.focusable.nativeFocusableElement;e&&this.renderer.setStyle(e,"opacity",t/100)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.Qsj),o.Y36(q.KZ))},t.\u0275dir=o.lG2({type:t,selectors:[["","tuiInputOpacity",""]],inputs:{tuiInputOpacity:"tuiInputOpacity"}}),t}(),ys=function(){var t=function(){function t(){y(this,t)}return g(t,[{key:"transform",value:function(t){return t.replace("?","")}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=o.Yjl({name:"tuiStripOptionalPipe",type:t,pure:!0}),t}(),_s=function(){var t=function(){function t(){y(this,t)}return g(t,[{key:"transform",value:function(t){return t.includes("?")}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=o.Yjl({name:"tuiIsOptionalPipe",type:t,pure:!0}),t}(),bs=function(){var t=function(){function t(){y(this,t)}return g(t,[{key:"transform",value:function(t){return t.includes("PolymorpheusContent")}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=o.Yjl({name:"tuiShowContentTooltip",type:t,pure:!0}),t}(),ks=function(){var t=function(){function t(){y(this,t)}return g(t,[{key:"transform",value:function(t){return t.includes("null")}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=o.Yjl({name:"tuiShowCleanerPipe",type:t,pure:!0}),t}(),ws=function(){var t=function(){function t(e){y(this,t),this.isE2E=e}return g(t,[{key:"transform",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return this.isE2E&&"function"==typeof t?"\u03bb(x) => y":(0,c.sj)(t,e)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(q.oD,16))},t.\u0275pipe=o.Yjl({name:"tuiInspectAny",type:t,pure:!0}),t}(),Cs=function(){var t=function(){function t(){y(this,t)}return g(t,[{key:"transform",value:function(t){return(0,U.Aj)(t)||(0,U.dt)(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=o.Yjl({name:"tuiIsPrimitivePolymorpheusContentPipe",type:t,pure:!0}),t}(),xs=function(){var t=function(){function t(e,n,r,i,o,a){y(this,t),this.cdr=e,this.texts=n,this.excludedProperties=r,this.destroy$=i,this.getColor=o,this.getOpacity=a,this.heading="",this.showValues=!0,this.isAPI=!1,this.propertiesConnectors=P.Mm,this.activeItemIndex=0,this.matcher=function(t,e){return!e.has(t.documentationPropertyName)}}return g(t,[{key:"ngAfterContentInit",value:function(){(0,Ie.ll)(this.propertiesConnectors).pipe((0,_.w)(function(t){return m.T.apply(void 0,d(t.map(function(t){return t.changed$})))}),(0,Ie.NA)(this.cdr),(0,w.R)(this.destroy$)).subscribe()}},{key:"type",get:function(){return this.isAPI?this.texts[0]:this.texts[1]}},{key:"onColorChange",value:function(t,e){var n=this.getOpacity.transform(t.documentationPropertyValue||"");if(100!==n){var r="rgba(".concat(vn(e).join(", "),", ").concat(n/100,")");t.onValueChange(r)}else t.onValueChange(e)}},{key:"onOpacityChange",value:function(t,e){var n="rgba(".concat(vn(this.getColor.transform(t.documentationPropertyValue||"")),", ").concat((e||0)/100,")");t.onValueChange(n)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.sBO),o.Y36(s.IK),o.Y36(s.et),o.Y36(Z.a3,2),o.Y36(vs),o.Y36(gs))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-doc-documentation"]],contentQueries:function(t,e,n){var r;(1&t&&o.Suo(n,ps,4),2&t)&&(o.iGM(r=o.CRH())&&(e.propertiesConnectors=r))},inputs:{heading:"heading",showValues:"showValues",isAPI:"isAPI"},features:[o._Bn([vs,gs,Z.a3])],ngContentSelectors:ko,decls:4,vars:6,consts:[["class","t-heading",4,"ngIf"],[4,"ngIf"],[1,"t-heading"],["class","t-table",4,"ngIf"],[1,"t-table"],[1,"t-row","t-row_header"],[1,"t-th","t-cell","t-cell_prop"],[1,"t-th"],["class","t-th t-cell t-th_value",4,"ngIf"],["class","t-row",3,"t-deprecated",4,"ngFor","ngForOf"],[1,"t-th","t-cell","t-th_value"],[1,"t-row"],[1,"t-cell"],["automation-id","tui-documentation__property-name",1,"t-property"],["size","s","value","Optional",4,"ngIf"],["class","t-deprecated-label",4,"ngIf"],[3,"ngTemplateOutlet"],[1,"type"],[3,"content","describeId",4,"ngIf"],["class","t-cell t-cell_value",4,"ngIf"],["size","s","value","Optional"],[1,"t-deprecated-label"],[3,"content","describeId"],["content",""],["href","https://github.com/taiga-family/ng-polymorpheus","rel","noreferrer","target","_blank","tuiLink","","tuiMode","onDark"],[1,"t-cell","t-cell_value"],[4,"ngIf","ngIfElse"],["elseEmitter",""],["tuiDropdownLimitWidth","min","tuiTextfieldSize","m",3,"nativeId","ngModel","tuiTextfieldCleaner","tuiTextfieldLabelOutside","valueContent","ngModelChange",4,"ngIf","ngIfElse"],["selectContent",""],["noItems",""],["tuiDropdownLimitWidth","min","tuiTextfieldSize","m",3,"nativeId","ngModel","tuiTextfieldCleaner","tuiTextfieldLabelOutside","valueContent","ngModelChange"],[1,"t-exception"],[3,"itemContent","items",4,"tuiDataList"],[3,"itemContent","items"],[3,"ngSwitch"],["size","l",3,"nativeId","ngModel","showIcons","ngModelChange",4,"ngSwitchCase"],["tuiTextfieldSize","m",3,"nativeId","tuiTextfieldCleaner","tuiTextfieldLabelOutside","value","valueChange",4,"ngSwitchCase"],["tuiGroup","",4,"ngSwitchCase"],["tuiTextfieldSize","m",3,"nativeId","ngModel","step","tuiTextfieldLabelOutside","ngModelChange",4,"ngSwitchCase"],[4,"ngSwitchCase"],["size","l",3,"nativeId","ngModel","showIcons","ngModelChange"],["tuiTextfieldSize","m",3,"nativeId","tuiTextfieldCleaner","tuiTextfieldLabelOutside","value","valueChange"],["tuiGroup",""],["tuiTextfieldSize","m",3,"tuiInputOpacity","tuiTextfieldLabelOutside","value","valueChange"],["tuiTextfield","","type","text"],["tuiTextfieldSize","m",3,"max","min","ngModel","step","ngModelChange"],["tuiTextfieldSize","m",3,"nativeId","ngModel","step","tuiTextfieldLabelOutside","ngModelChange"],["tuiTextfieldSize","m",3,"nativeId","tuiTextfieldCleaner","tuiTextfieldLabelOutside","value","valueChange",4,"ngIf"],[1,"t-output"]],template:function(t,e){1&t&&(o.F$t(),o.YNc(0,Lo,2,1,"h1",0),o.Hsn(1),o.YNc(2,ea,2,1,"ng-container",1),o.ALo(3,"tuiFilter")),2&t&&(o.Q6J("ngIf",e.heading),o.xp6(2),o.Q6J("ngIf",o.Dn7(3,2,e.propertiesConnectors,e.matcher,e.excludedProperties)))},directives:[A.O5,A.sg,A.tP,wr,Ht.w,Yt.V,Vt.w,er,nr,Xt.Ek,Zt.sz,En.JJ,En.On,Zt.be,Zt.xT,Ut.gX,Mn,A.RF,A.n9,Lr,$t.yc,$t.B1,Gt.gZ,ms,$t.MB,Xr,$r,Qt.L],pipes:[cn,ys,_s,bs,ks,ws,gs,vs,Cs,A.Ov],styles:["[_nghost-%COMP%]{display:block;min-width:100%}.t-table[_ngcontent-%COMP%]{width:100%;table-layout:fixed}.t-row[_ngcontent-%COMP%]:not(:last-child){border-bottom:1px solid var(--tui-base-03)}tui-root._mobile[_nghost-%COMP%] .t-row[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-row[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}tui-root._mobile[_nghost-%COMP%] .t-row_header[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-row_header[_ngcontent-%COMP%]{display:none}.t-cell[_ngcontent-%COMP%]{padding:1rem 1rem .875rem}.t-cell[_ngcontent-%COMP%]:first-child{padding-left:0}.t-cell[_ngcontent-%COMP%]:last-child{padding-right:0}.t-cell_prop[_ngcontent-%COMP%]{width:40%}.t-cell_value[_ngcontent-%COMP%]{text-align:right}tui-root._mobile[_nghost-%COMP%] .t-cell[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-cell[_ngcontent-%COMP%]{width:100%;height:auto;padding:.5rem 0;text-align:left}.t-th[_ngcontent-%COMP%]{padding:.5rem 1rem;color:var(--tui-text-02);font-weight:normal;text-align:left}.t-th_value[_ngcontent-%COMP%]{max-width:20rem;text-align:right}tui-root._mobile[_nghost-%COMP%] .t-th_value[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-th_value[_ngcontent-%COMP%]{width:9.375rem}.t-property[_ngcontent-%COMP%]{font:var(--tui-font-text-m);margin-bottom:.25rem;font-family:monospace;color:#8f75d1}tui-root._mobile[_nghost-%COMP%] .t-property[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-property[_ngcontent-%COMP%]{padding:.5rem 0}.t-type[_ngcontent-%COMP%]{font-family:monospace}.t-deprecated[_ngcontent-%COMP%]{background-color:var(--tui-error-bg);box-shadow:-1rem 0 var(--tui-error-bg),1rem 0 var(--tui-error-bg)}.t-deprecated-label[_ngcontent-%COMP%]{margin-right:.125rem;color:var(--tui-error-fill)}.t-exception[_ngcontent-%COMP%]{display:block;width:-webkit-max-content;width:max-content}.t-output[_ngcontent-%COMP%]{text-align:left;opacity:0}.t-heading[_ngcontent-%COMP%]{font:var(--tui-font-heading-4)}"],data:{animation:[(0,B.X$)("emitEvent",[(0,B.eR)(":increment",[(0,B.oB)({opacity:1}),(0,B.jt)("500ms ease-in")])])]},changeDetection:0}),t}(),Os=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({}),t}(),Ms=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,En.u5,Wr.Bz,Cr,rr,Nr,Ht.Q,Yt.j,Qr,Vt.z,Gt.n6,Os,$t.KW,Zt.cn,Xt.dp,Ut.pc,Sn,Qt.H,ln]]}),t}(),Ss={codeEditorVisibilityHandler:function(t){return Boolean(t.TypeScript&&t.HTML)},tabTitles:new Map,fullsize:!0,linkIcon:"tuiIconLink"},Ps=(0,U.JN)(Ss);function Es(t){return(0,U.vK)(Ps,t,Ss)}var As=function(){var t=function(){function t(){y(this,t)}return g(t,[{key:"transform",value:function(t){return(0,U.Aj)(t)?function(t){return"".concat(t.charAt(0).toUpperCase()).concat(t.slice(1))}(t):t}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=o.Yjl({name:"tuiDocExampleCapitalize",type:t,pure:!0}),t}(),Ts=function(){var t=function(){function t(){y(this,t)}return g(t,[{key:"transform",value:function(t,e){return[e].concat(d(Object.keys(t)))}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=o.Yjl({name:"tuiDocExampleGetTabs",type:t,pure:!0}),t}(),Is=function(){var t=function(){function t(e,n,r,i,o,a,s,u,f,d,v,g,m){var k=this;y(this,t),this.clipboard=e,this.alerts=n,this.location=r,this.copyTexts$=i,this.texts=o,this.codeEditor=a,this.processContent=s,this.isE2E=u,this.codeActions=f,this.router=d,this.route=v,this.ngLocation=g,this.options=m,this.rawLoader$$=new l.X({}),this.id=null,this.fullsize=this.options.fullsize,this.componentName=this.location.pathname.slice(1),this.defaultTabIndex=0,this.defaultTab=this.texts[this.defaultTabIndex],this.activeItemIndex=this.defaultTabIndex,this.copy$=this.copyTexts$.pipe((0,b.U)(function(t){return p(t,1)[0]})),this.processor$=this.rawLoader$$.pipe((0,_.w)(c.vP),(0,b.U)(function(t){return k.processContent(t)})),this.loading$=new h.xQ,this.visible=function(t){return Boolean(k.codeEditor&&k.options.codeEditorVisibilityHandler(t))}}return g(t,[{key:"content",set:function(t){this.rawLoader$$.next(t)}},{key:"getTabTitle",value:function(t){return this.options.tabTitles.get(t)||t}},{key:"copyExampleLink",value:function(){var t=this.location.href.indexOf("#"),e="".concat(t>-1?this.location.href.slice(0,Math.max(0,t)):this.location.href,"#").concat(this.id);this.setFragmentWithoutRedirect(this.id),this.clipboard.copy(e),this.alerts.open(this.texts[1],{label:this.texts[2],status:"success"}).subscribe()}},{key:"edit",value:function(t){var e,n=this;this.loading$.next(!0),null===(e=this.codeEditor)||void 0===e||e.edit(this.componentName,this.id||"",t).then(function(){return n.loading$.next(!1)}).catch(function(){return n.loading$.next(!1)})}},{key:"setFragmentWithoutRedirect",value:function(t){var e=this.router.createUrlTree([],{relativeTo:this.route,fragment:t||""}).toString();this.ngLocation.go(e)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(We),o.Y36(le),o.Y36(Y.Ct),o.Y36(_n.UV),o.Y36(s.mv),o.Y36(s.lW,8),o.Y36(s.$_),o.Y36(q.oD),o.Y36(s.mT),o.Y36(Wr.F0),o.Y36(Wr.gz),o.Y36(A.Ye),o.Y36(Ps))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-doc-example"]],hostVars:2,hostBindings:function(t,e){2&t&&o.ekj("_fullsize",e.fullsize)},inputs:{id:"id",heading:"heading",description:"description",content:"content",fullsize:"fullsize",componentName:"componentName"},ngContentSelectors:ko,decls:8,vars:5,consts:[["class","t-title",4,"ngIf"],["class","t-description",4,"ngIf"],["class","t-example",4,"ngIf"],["preview",""],["codeSection",""],[1,"t-title"],[3,"textContent",4,"polymorpheusOutlet"],["appearance","icon","size","xs","tuiIconButton","","type","button","class","t-link-icon",3,"icon","title","click",4,"ngIf"],[3,"textContent"],["appearance","icon","size","xs","tuiIconButton","","type","button",1,"t-link-icon",3,"icon","title","click"],[1,"t-description"],[4,"polymorpheusOutlet"],[1,"t-example"],[4,"ngIf"],["class","t-tabs-wrapper",4,"ngIf"],["class","t-content",3,"t-content_animated","t-content_visible",4,"ngFor","ngForOf"],[1,"t-tabs-wrapper"],[1,"t-tabs",3,"activeItemIndex","activeItemIndexChange"],[4,"ngFor","ngForOf"],["size","xs",3,"overlay","showLoader","click",4,"ngIf"],["tuiTab","",4,"tuiItem"],["tuiTab",""],["size","xs",3,"overlay","showLoader","click"],[4,"ngIf","ngIfElse"],["defaultEditContent",""],["appearance","flat","size","s","tuiButton","","type","button"],[1,"t-content"],[3,"ngTemplateOutlet",4,"ngIf","ngIfElse"],["anotherTab",""],[3,"ngTemplateOutlet"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["automation-id","tui-doc-example",1,"t-demo"],[3,"code"],[4,"polymorpheusOutlet","polymorpheusOutletContext"]],template:function(t,e){1&t&&(o.F$t(),o.YNc(0,ia,4,4,"h3",0),o.YNc(1,aa,3,3,"h4",1),o.YNc(2,ba,3,4,"div",2),o.ALo(3,"async"),o.YNc(4,ka,2,0,"ng-template",null,3,o.W1O),o.YNc(6,xa,2,2,"ng-template",null,4,o.W1O)),2&t&&(o.Q6J("ngIf",e.heading),o.xp6(1),o.Q6J("ngIf",e.description),o.xp6(1),o.Q6J("ngIf",o.lcZ(3,3,e.processor$)))},directives:[A.O5,et.Li,Bt.v0,A.sg,Pi,hn,ki,E.kM,A.tP,cs],pipes:[A.Ov,As,Ts,lt],styles:["[_nghost-%COMP%]{position:relative;display:block;padding-top:3.5rem;clear:right}[_nghost-%COMP%] tui-root._mobile[_nghost-%COMP%], tui-root._mobile [_nghost-%COMP%]{padding-top:2rem}.t-title[_ngcontent-%COMP%]{font:var(--tui-font-heading-5);margin:0 0 .5rem}tui-root._mobile[_nghost-%COMP%] .t-title[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-title[_ngcontent-%COMP%]{font:var(--tui-font-heading-6)}.t-description[_ngcontent-%COMP%]{font:var(--tui-font-text-m);font-weight:normal;margin:0}.t-example[_ngcontent-%COMP%]{position:relative;margin-top:1.5rem;border:1px solid var(--tui-base-03);border-radius:var(--tui-radius-m);box-shadow:0 .125rem .1875rem #0000001a;overflow:hidden}tui-root._mobile[_nghost-%COMP%] .t-example[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-example[_ngcontent-%COMP%]{margin-top:.75rem}.t-tabs-wrapper[_ngcontent-%COMP%]{display:flex;padding:0 .875rem 0 2rem;box-shadow:inset 0 -1px var(--tui-base-03);justify-content:space-between;align-items:center}tui-root._mobile[_nghost-%COMP%] .t-tabs-wrapper[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-tabs-wrapper[_ngcontent-%COMP%]{padding:0 .875rem 0 1rem}.t-tabs[_ngcontent-%COMP%]{flex-grow:1}.t-demo[_ngcontent-%COMP%]{padding:2rem;max-width:100%;box-sizing:border-box;overflow-x:auto}@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm){.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar, .t-demo[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{width:1rem;height:1rem;border-radius:6.25rem;background-clip:padding-box;border:.375rem solid transparent}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar{background-color:transparent}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:var(--tui-clear-hover)}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:var(--tui-clear-active)}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:active{background-color:var(--tui-text-03)}}tui-root._mobile[_nghost-%COMP%] .t-demo[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-demo[_ngcontent-%COMP%]{padding:1rem}[_nghost-%COMP%]:not(._fullsize) .t-demo[_ngcontent-%COMP%]{width:-webkit-min-content;width:min-content;min-width:20rem}.t-link-icon[_ngcontent-%COMP%]{margin-left:.3rem;vertical-align:baseline}.t-content[_ngcontent-%COMP%]{will-change:opacity;height:0;visibility:hidden;opacity:0}.t-content_animated[_ngcontent-%COMP%]{transition:opacity .3s ease-in-out}.t-content_visible[_ngcontent-%COMP%]{height:auto;visibility:visible;opacity:1}"],changeDetection:0}),t}(),Ds=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,en,Ei,Bt.fN,hs,ls,et.wq,ht,E.dS]]}),t}();function Ls(t){return t.map(function(t){return t.section}).filter(U.Pc).filter(function(t,e,n){return n.indexOf(t)===e})}var Ns=new o.OlP("[NAVIGATION_TITLE]"),zs=new o.OlP("[NAVIGATION_LABELS]"),Fs=new o.OlP("[NAVIGATION_ITEMS]"),Rs=[Z.a3,{provide:Ns,deps:[Wr.F0,Wr.gz,s.Yx,Z.a3],useFactory:function(t,e,n,r){return t.events.pipe((0,C.h)(function(t){return t instanceof Wr.m2}),(0,b.U)(function(){return e.firstChild}),(0,C.h)(U.Pc),(0,x.zg)(function(t){return t.data}),(0,b.U)(function(t){var e=t.title;return"".concat(n).concat(e)}),(0,w.R)(r))}},{provide:zs,deps:[s.V5],useFactory:Ls},{provide:Fs,deps:[s.V5],useFactory:function(t){return[].concat(d(Ls(t).map(function(e){return t.filter(function(t){return t.section===e})})),[t.filter(function(t){return!t.section})])}}],js=function(){var t=function(){function t(e,n,r,i,o,a,s,u,c,l,h,f,d,p,v,g){var m=this;y(this,t),this.doc=i,this.mode=o,this.sidebar=a,this.labels=s,this.items=u,this.searchText=c,this.router=l,this.activatedRoute=h,this.destroy$=f,this.readyToScroll$=d,this.scrollBehavior=p,this.docIcons=v,this.icons=g,this.menuOpen=!1,this.openPagesArr=[],this.openPagesGroupsArr=[],this.active="",this.search=new En.NI(""),this.filtered$=(0,Ie.EK)(this.search).pipe((0,C.h)(function(t){return t.trim().length>2}),(0,b.U)(function(t){return m.filterItems(m.flattenSubPages(m.items),t)})),this.mode$=this.mode.change$.pipe((0,k.O)(null),(0,b.U)(function(){return m.mode.mode||"onLight"})),r.subscribe(function(t){e.markForCheck(),n.setTitle(t),m.openActivePageGroup(),m.handleAnchorLink(m.activatedRoute.snapshot.fragment||"")})}return g(t,[{key:"canOpen",get:function(){var t,e;return(null!==(e=null===(t=this.search.value)||void 0===t?void 0:t.length)&&void 0!==e?e:0)>2}},{key:"itemsWithoutSections",get:function(){return this.items[this.items.length-1]}},{key:"$pages",value:function(t){return t}},{key:"isActive",value:function(t){return t===this.active}},{key:"onGroupClick",value:function(t){this.openPagesGroupsArr[t]=!this.openPagesGroupsArr[t]}},{key:"closeMenu",value:function(){this.menuOpen=!1}},{key:"onClick",value:function(t){t.open=!1,this.menuOpen=!1,this.search.setValue(""),this.openActivePageGroup()}},{key:"filterItems",value:function(t,e){return t.map(function(t){return(0,U.pf)(t.filter(function(t){var n=t.title,r=t.keywords,i=void 0===r?"":r;return e=e.toLowerCase().trim(),i=i.toLowerCase(),(n=n.toLowerCase()).includes(e)||i.includes(e)||n.includes((0,c.OO)(e))||i.includes((0,c.OO)(e))||e.replace(/-/gi,"").includes(n)||n.includes(e.replace(/\s|tui/g,""))||i.includes(e.replace(/\s|tui/g,""))||e.split(/\s/).find(function(t){return n.includes(t)})}),"title")})}},{key:"flattenSubPages",value:function(t){return t.reduce(function(t,e){return[].concat(d(t),[e.reduce(function(t,e){return[].concat(d(t),"subPages"in e?d(e.subPages):[e])},[])])},[])}},{key:"isActiveRoute",value:function(t){return this.router.isActive(t,{paths:"subset",queryParams:"subset",fragment:"ignored",matrixParams:"ignored"})}},{key:"handleAnchorLink",value:function(t){var e=this;this.readyToScroll$.pipe((0,C.h)(Boolean),(0,O.q)(1),(0,w.R)(this.destroy$)).subscribe(function(){return e.navigateToAnchorLink(t)})}},{key:"openActivePageGroup",value:function(){var t=this;this.items.forEach(function(e,n){e.forEach(function(e,r){"route"in e&&t.isActiveRoute(e.route)&&(t.openPagesArr[n]=!0,t.active=e.route),"subPages"in e&&e.subPages.forEach(function(e){t.isActiveRoute(e.route)&&(t.openPagesArr[n]=!0,t.openPagesGroupsArr[100*n+r]=!0,t.active=e.route)})})})}},{key:"navigateToAnchorLink",value:function(t){var e=t?this.doc.querySelectorAll("#".concat(t)):[],n=e.length&&e[e.length-1];!n||(n.classList.add("tui-doc-animated-example"),n.scrollIntoView({block:"start",inline:"nearest",behavior:this.scrollBehavior}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.sBO),o.Y36(V.Dx),o.Y36(Ns),o.Y36(A.K0),o.Y36(Vt.w),o.Y36(ao,8),o.Y36(zs),o.Y36(Fs),o.Y36(s.EI),o.Y36(Wr.F0),o.Y36(Wr.gz),o.Y36(Z.a3,2),o.Y36(s.V1),o.Y36(s.n1),o.Y36(s.oq),o.Y36(mt.Gs))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-doc-navigation"]],hostVars:2,hostBindings:function(t,e){2&t&&o.ekj("_open",e.menuOpen)},features:[o._Bn(Rs)],ngContentSelectors:ko,decls:14,vars:14,consts:[["tuiTextfieldSize","m",1,"t-input",3,"formControl","tuiAutoFocus","tuiTextfieldCleaner","tuiTextfieldIconLeft","tuiTextfieldLabelOutside"],["input",""],[4,"ngIf"],[1,"t-navigation"],[1,"t-scrollbar",3,"tuiMode"],[3,"closeOthers","rounded"],["size","s",3,"borders","open","openChange",4,"ngFor","ngForOf"],[1,"t-items-container"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngFor","ngForOf"],["pages",""],[4,"tuiDataList"],[3,"label",4,"ngFor","ngForOf"],[3,"label"],["tuiOption","",3,"fragment","routerLink","click",4,"ngFor","ngForOf"],["tuiOption","",3,"fragment","routerLink","click"],["class","t-icon",3,"src",4,"polymorpheusOutlet"],[1,"t-icon",3,"src"],["size","s",3,"borders","open","openChange"],[1,"t-label"],["tuiAccordionItemContent",""],[1,"t-section"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["routerLinkActive","t-sublink_active","tuiLink","","class","t-sublink",3,"routerLink","tuiScrollIntoViewLink","click",4,"ngIf","ngIfElse"],["subPagesTemplate",""],["routerLinkActive","t-sublink_active","tuiLink","",1,"t-sublink",3,"routerLink","tuiScrollIntoViewLink","click"],["routerLinkActive","",1,"t-subsection",3,"routerLinkActiveOptions"],["tuiLink","","type","button","class","t-sublink t-sublink_subsection",3,"click",4,"ngIf"],[1,"t-expand",3,"expanded"],[1,"t-section","t-section_bordered"],["routerLinkActive","t-sublink_active","tuiLink","","class","t-sublink t-sublink_small",3,"fragment","routerLink","tuiScrollIntoViewLink","click",4,"ngFor","ngForOf"],["tuiLink","","type","button",1,"t-sublink","t-sublink_subsection",3,"click"],[1,"t-chevron",3,"src"],["routerLinkActive","t-sublink_active","tuiLink","",1,"t-sublink","t-sublink_small",3,"fragment","routerLink","tuiScrollIntoViewLink","click"]],template:function(t,e){1&t&&(o.F$t(),o.TgZ(0,"tui-input",0,1),o._uU(2),o.YNc(3,Ea,2,0,"ng-container",2),o.qZA(),o.TgZ(4,"nav",3),o.TgZ(5,"tui-scrollbar",4),o.ALo(6,"async"),o.TgZ(7,"tui-accordion",5),o.YNc(8,Da,5,3,"tui-accordion-item",6),o.qZA(),o.TgZ(9,"div",7),o.YNc(10,La,1,5,"ng-container",8),o.qZA(),o.YNc(11,Za,3,2,"ng-template",null,9,o.W1O),o.qZA(),o.qZA(),o.Hsn(13)),2&t&&(o.Q6J("formControl",e.search)("tuiAutoFocus",!!e.sidebar)("tuiTextfieldCleaner",!0)("tuiTextfieldIconLeft",e.docIcons.search)("tuiTextfieldLabelOutside",!0),o.xp6(2),o.hij(" ",e.searchText," "),o.xp6(1),o.Q6J("ngIf",e.canOpen),o.xp6(2),o.Q6J("tuiMode",o.lcZ(6,12,e.mode$)),o.xp6(2),o.Q6J("closeOthers",!1)("rounded",!1),o.xp6(1),o.Q6J("ngForOf",e.labels),o.xp6(2),o.Q6J("ngForOf",e.itemsWithoutSections))},directives:[ro.K3,ro.wU,Zt.sz,En.JJ,En.oH,Ae,Zt.be,Zt.aR,Zt.xT,A.O5,Wt.IB,Vt.w,Ui,A.sg,Ut.gX,Ut.qi,Ut.Rs,Ut.vK,Wr.yS,et.Li,Jt.PN,qi,Yi,A.tP,Yt.V,Wr.Od,co,F],pipes:[A.Ov],styles:["[_nghost-%COMP%]{z-index:1;display:flex;flex-direction:column;text-align:center;background:var(--tui-base-01)}.t-input[_ngcontent-%COMP%]{margin:1.25rem}.t-navigation[_ngcontent-%COMP%]{display:flex;max-height:100%;min-height:0;flex:1 1 0;text-align:left}.t-scrollbar[_ngcontent-%COMP%]{scroll-behavior:smooth;width:100%}@media screen and (prefers-reduced-motion: reduce){.t-scrollbar[_ngcontent-%COMP%]{scroll-behavior:auto}}.t-items-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:0 1rem}.t-label[_ngcontent-%COMP%]{margin-left:.5rem}.t-expand[_ngcontent-%COMP%]{margin-left:.25rem}.t-section[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;margin:-1rem 0 -.5rem}.t-section_bordered[_ngcontent-%COMP%]{margin:.5rem 0;border-left:1px solid var(--tui-base-03)}.t-subsection[_ngcontent-%COMP%]{margin-left:.5rem}.t-sublink[_ngcontent-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:1rem 0 0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;font:var(--tui-font-text-m);margin-left:.5rem}.t-sublink_small[_ngcontent-%COMP%]{margin-left:1rem;line-height:1.5rem;padding-top:.5rem}.t-sublink_subsection[_ngcontent-%COMP%]{margin-left:0;line-height:1.6rem}.t-sublink.t-sublink.t-sublink_active[_ngcontent-%COMP%]{color:var(--tui-text-01)}.t-icon[_ngcontent-%COMP%]{margin-left:.5rem}.t-chevron[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:1rem;height:1rem;margin:-.25rem .25rem 0 -.1875rem}.t-chevron_active[_ngcontent-%COMP%]{transform:rotate(90deg)}"],changeDetection:0}),(0,nn.gn)([gn.UM],t.prototype,"filterItems",null),(0,nn.gn)([gn.UM],t.prototype,"flattenSubPages",null),t}(),Bs=function(){var t=function(){function t(e,n,r,i,o){y(this,t),this.icons=e,this.logo=n,this.menu=r,this.router=i,this.swipes$=o,this.stream$=new h.xQ,this.open$=(0,m.T)(this.router.events.pipe((0,b.U)(P.Iy)),this.stream$,this.swipes$.pipe((0,C.h)(function(t){return"left"===t.direction||"right"===t.direction}),(0,b.U)(function(t){return"right"===t.direction}))).pipe((0,k.O)(!1),(0,M.x)())}return g(t,[{key:"onClick",value:function(){this.stream$.next(!0)}},{key:"onActiveZone",value:function(t){t||this.stream$.next(!1)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(s.oq),o.Y36(s.Or),o.Y36(s.gG),o.Y36(Wr.F0),o.Y36(Z.$D))},t.\u0275cmp=o.Xpm({type:t,selectors:[["header","tuiDocHeader",""]],attrs:qa,ngContentSelectors:ko,decls:6,vars:6,consts:[["appearance","icon","tuiIconButton","","type","button",1,"t-menu",3,"icon","title","click","tuiActiveZoneChange"],["class","t-navigation",4,"tuiSidebar"],[1,"t-logo"],["alt","Logo","class","t-img",3,"src",4,"polymorpheusOutlet"],[1,"t-navigation"],["alt","Logo",1,"t-img",3,"src"]],template:function(t,e){1&t&&(o.F$t(),o.TgZ(0,"button",0),o.NdJ("click",function(){return e.onClick()})("tuiActiveZoneChange",function(t){return e.onActiveZone(t)}),o.YNc(1,Ua,1,0,"tui-doc-navigation",1),o.ALo(2,"async"),o.qZA(),o.TgZ(3,"div",2),o.YNc(4,Ha,1,1,"img",3),o.qZA(),o.Hsn(5)),2&t&&(o.Q6J("icon",e.icons.menu)("title",e.menu),o.xp6(1),o.Q6J("tuiSidebar",!!o.lcZ(2,4,e.open$)),o.xp6(3),o.Q6J("polymorpheusOutlet",e.logo))},directives:[Bt.v0,Ot.e,ao,et.Li,js],pipes:[A.Ov],styles:["[_nghost-%COMP%]{box-shadow:0 .125rem 1rem #00000014;position:fixed;top:0;left:0;right:0;z-index:1;display:flex;height:3.9375rem;align-items:center;padding:0 1.25rem;background:var(--tui-base-01);border-bottom:1px solid var(--tui-base-03)}.t-logo[_ngcontent-%COMP%]{margin-right:auto;font:var(--tui-font-heading-5)}.t-img[_ngcontent-%COMP%]{display:block}.t-menu[_ngcontent-%COMP%]{margin-left:-1.25rem}@media screen and (min-width: 48em){.t-menu[_ngcontent-%COMP%]{display:none}}.t-navigation[_ngcontent-%COMP%]{min-height:100%}"],changeDetection:0}),t}(),Vs=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,En.UX,Wr.Bz,et.wq,lo,Bt.fN,ro.Qf,Zt.cn,Ot.A,X.WD,Vt.z,Yt.j,R,Xe.jh,Xt.dp,Hi,Wt.Jy,Jt.EI,Ut.pc,Te]]}),t}(),Ys=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,et.wq,Bt.fN,uo,Ot.A,Vs]]}),t}(),Zs=function(){var t=function(){function t(e,n){y(this,t),this.text=e,this.pages=n,this.seeAlso=[]}return g(t,[{key:"getRouterLink",value:function(t){var e,n;return null!==(n=null===(e=this.pages.get(t))||void 0===e?void 0:e.route)&&void 0!==n?n:""}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(s.VX),o.Y36(s._Z))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-doc-see-also"]],inputs:{seeAlso:"seeAlso"},decls:3,vars:2,consts:[[1,"t-header"],[4,"ngFor","ngForOf"],["tuiLink","",3,"innerText","routerLink"],[4,"ngIf"]],template:function(t,e){1&t&&(o.TgZ(0,"h5",0),o._uU(1),o.qZA(),o.YNc(2,Ja,3,3,"ng-container",1)),2&t&&(o.xp6(1),o.Oqu(e.text),o.xp6(1),o.Q6J("ngForOf",e.seeAlso))},directives:[A.sg,Yt.V,Wr.yS,A.O5],styles:["[_nghost-%COMP%]{display:block}.t-header[_ngcontent-%COMP%]{font-size:.6875rem;line-height:1rem;text-transform:uppercase;letter-spacing:.075em;color:var(--tui-text-02);margin:0 0 .5rem;white-space:nowrap}"],changeDetection:0}),t}(),qs=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,Wr.Bz,Yt.j]]}),t}(),Us=function(){var t=function(){function t(e,n,r){y(this,t),this.icons=e,this.sourceCode=n,this.text=r,this.header="",this.package="",this.type="",this.path=""}return g(t,[{key:"pathOptions",get:function(){return this.getPathOptions(this.header,this.package,this.type,this.path)}},{key:"pathIsUrl",value:function(t){return t.startsWith("http")}},{key:"getPathOptions",value:function(t,e,n,r){return{header:t,package:e,type:n,path:r}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(s.oq),o.Y36(s.yO),o.Y36(s.as))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-doc-source-code"]],inputs:{header:"header",package:"package",type:"type",path:"path"},decls:1,vars:2,consts:[["appearance","icon","size","s","target","_blank","tuiIconButton","","type","button",3,"href","icon","title",4,"polymorpheusOutlet","polymorpheusOutletContext"],["appearance","icon","size","s","target","_blank","tuiIconButton","","type","button",3,"href","icon","title"]],template:function(t,e){1&t&&o.YNc(0,Xa,1,3,"a",0),2&t&&o.Q6J("polymorpheusOutlet",e.pathIsUrl(e.path)?e.path:e.sourceCode)("polymorpheusOutletContext",e.pathOptions)},directives:[et.Li,Bt.v0],encapsulation:2,changeDetection:0}),(0,nn.gn)([gn.UM],t.prototype,"pathIsUrl",null),(0,nn.gn)([gn.UM],t.prototype,"getPathOptions",null),t}(),Hs=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,et.wq,Bt.fN]]}),t}(),Gs=function(){var t=function(){function t(e,n,r){var i=this;y(this,t),this.icons=e,this.theme=n,this.night=r,this.change$=this.night,this.night$=this.change$.pipe((0,k.O)(null),(0,b.U)(function(){return i.night.value}),(0,M.x)(),(0,S.B)())}return g(t,[{key:"mode",get:function(){return this.night.value?"onDark":null}},{key:"icon",get:function(){return this.night.value?this.icons.day:this.icons.night}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(s.oq),o.Y36(vo),o.Y36(yo))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-doc-main"]],hostVars:1,hostBindings:function(t,e){2&t&&o.uIk("data-mode",e.mode)},features:[o._Bn([{provide:Vt.w,useExisting:(0,o.Gpc)(function(){return t})},Z.$D])],ngContentSelectors:Wa,decls:21,vars:4,consts:[[4,"ngIf"],[1,"tui-doc-page"],[1,"tui-doc-navigation"],[1,"tui-doc-content"],[1,"tui-doc-outlet"],["tuiDocHeader",""],["appearance","secondary","shape","rounded","size","s","tuiIconButton","","tuiMode","onLight","type","button",1,"tui-doc-night-mode-switch",3,"icon","click"],["ngProjectAs","tuiOverContent",5,["tuiOverContent"]],["ngProjectAs","tuiOverDialogs",5,["tuiOverDialogs"]],["ngProjectAs","tuiOverAlerts",5,["tuiOverAlerts"]],["ngProjectAs","tuiOverPortals",5,["tuiOverPortals"]],["ngProjectAs","tuiOverHints",5,["tuiOverHints"]]],template:function(t,e){1&t&&(o.F$t(Qa),o.YNc(0,$a,1,0,"tui-theme-night",0),o.ALo(1,"async"),o.TgZ(2,"tui-root"),o.TgZ(3,"div",1),o.TgZ(4,"tui-doc-navigation",2),o.Hsn(5),o.qZA(),o.TgZ(6,"div",3),o._UZ(7,"router-outlet",4),o.qZA(),o.qZA(),o.TgZ(8,"header",5),o.Hsn(9,1),o.TgZ(10,"button",6),o.NdJ("click",function(){return e.night.toggle()}),o.qZA(),o.qZA(),o.ynx(11,7),o.Hsn(12,2),o.BQk(),o.ynx(13,8),o.Hsn(14,3),o.BQk(),o.ynx(15,9),o.Hsn(16,4),o.BQk(),o.ynx(17,10),o.Hsn(18,5),o.BQk(),o.ynx(19,11),o.Hsn(20,6),o.BQk(),o.qZA()),2&t&&(o.Q6J("ngIf",e.theme.isDefaultTheme&&e.night.useDefaultNightTheme&&o.lcZ(1,2,e.night$)),o.xp6(10),o.Q6J("icon",e.icon))},directives:[A.O5,Nt,js,Wr.lC,Bs,Bt.v0,Vt.w,Rt],pipes:[A.Ov],styles:['html{scroll-padding-top:4rem;height:auto}tui-root>tui-scroll-controls>.t-bar_vertical{top:4rem!important}@keyframes tuiShaking{0%,to{transform:translate(0)}10%,30%,50%,70%,90%{transform:translate(-.3125rem)}20%,40%,60%,80%{transform:translate(.3125rem)}}body{background:var(--tui-base-01);height:auto}tui-doc-main{display:block}code:not(pre code):not(.hljs):not([class*="language-"]){transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;background:var(--tui-base-02);color:var(--tui-text-02);vertical-align:middle;box-shadow:inset 0 -2px var(--tui-secondary);padding:.375rem .5rem;font-size:.875rem;border-radius:.5rem}tui-notification code:not(pre code):not(.hljs):not([class*="language-"]){background:var(--tui-clear);box-shadow:none}a code:not(pre code):not(.hljs):not([class*="language-"]){color:var(--tui-link)}button:focus code,a:focus code{background:var(--tui-base-01)}.tui-doc-page{isolation:isolate;padding-top:4rem}tui-doc-navigation.tui-doc-navigation{position:fixed;top:4rem;bottom:0;width:16.25rem;border-right:1px solid var(--tui-base-03)}@media screen and (max-width: 47.9625em){tui-doc-navigation.tui-doc-navigation{display:none}}.tui-doc-content{margin-left:16.25rem}@media screen and (max-width: 47.9625em){.tui-doc-content{margin-left:0}}.tui-doc-outlet+*{display:block}.tui-doc-animated-example{animation:1s .3s tuiShaking}.tui-doc-night-mode-switch{margin-left:1rem}.tui-doc-night-mode-switch tui-svg{color:var(--tui-text-02)}tui-doc-code .hljs-tag{background:none}tui-doc-code .hljs{display:block;overflow-x:auto;padding:.5em;color:var(--tui-text-01);background-color:var(--tui-clear)}tui-doc-code .hljs.hljs-line-numbers{background:transparent}tui-doc-code .hljs-subst,tui-doc-code .hljs-title{font-weight:normal;color:var(--tui-text-01)}tui-doc-code .hljs-comment,tui-doc-code .hljs-quote{color:var(--tui-text-02);font-style:italic}tui-doc-code .hljs-meta{color:#e38162}tui-doc-code .hljs-section,tui-doc-code .hljs-name,tui-doc-code .hljs-literal,tui-doc-code .hljs-keyword,tui-doc-code .hljs-selector-tag,tui-doc-code .hljs-type,tui-doc-code .hljs-selector-id,tui-doc-code .hljs-selector-class{font-weight:bold;color:var(--tui-link)}tui-doc-code .hljs-attribute,tui-doc-code .hljs-number,tui-doc-code .hljs-regexp,tui-doc-code .hljs-link{font-weight:bold;color:var(--tui-support-06)}tui-doc-code .hljs-number,tui-doc-code .hljs-regexp,tui-doc-code .hljs-link{font-weight:normal}tui-doc-code .hljs-string{color:var(--tui-positive);font-weight:bold}tui-doc-code .hljs-symbol,tui-doc-code .hljs-bullet,tui-doc-code .hljs-formula{color:var(--tui-text-01);background:var(--tui-base-02);font-style:italic}tui-doc-code .hljs-doctag{text-decoration:underline}tui-doc-code .hljs-variable,tui-doc-code .hljs-template-variable{color:var(--tui-link-hover)}tui-doc-code [data-mode=onDark] .hljs-variable,tui-doc-code [data-mode=onDark] .hljs-template-variable{color:var(--tui-warning-fill)}tui-doc-code .hljs-addition{background:var(--tui-success-bg)}tui-doc-code .hljs-deletion{background:var(--tui-error-bg)}tui-doc-code .hljs-emphasis{font-style:italic}tui-doc-code .hljs-strong{font-weight:bold}tui-doc-code .hljs .hljs-line-numbers{padding:0}tui-doc-code .hljs-ln-numbers{vertical-align:top;opacity:.3;text-align:right;padding-right:1em!important}\n'],encapsulation:2}),t}(),Js=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,Wr.Bz,jt,Ys,zt,Je,he,Bt.fN,Vt.z,Vs]]}),t}(),Xs=new o.OlP("[PAGE_SEE_ALSO]"),$s=[{provide:Xs,deps:[o.SBq,s.UL],useFactory:function(t,e){var n=t.nativeElement.getAttribute("header"),r=e.filter(function(t){return t.includes(n)})||[],i=new Set(r.join().split(",").filter(function(t){return t&&t!==n}));return Array.from(i)}}],Qs=function(){var t=g(function t(e){y(this,t),this.template=e});return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.Rgc))},t.\u0275dir=o.lG2({type:t,selectors:[["","pageTab",""]],inputs:{pageTab:"pageTab"}}),t}(),Ws=function(){var t=function(){function t(e,n){y(this,t),this.defaultTabs=e,this.seeAlso=n,this.header="",this.package="",this.type="",this.path="",this.deprecated=!1,this.tabConnectors=P.Mm,this.activeItemIndex=0,this.from=/ /g,this.to="_"}return g(t,[{key:"showSeeAlso",get:function(){return!!this.seeAlso.length&&0===this.activeItemIndex}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(s.AC),o.Y36(Xs))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-doc-page"]],contentQueries:function(t,e,n){var r;(1&t&&o.Suo(n,Qs,4),2&t)&&(o.iGM(r=o.CRH())&&(e.tabConnectors=r))},inputs:{header:"header",package:"package",type:"type",path:"path",deprecated:"deprecated"},features:[o._Bn($s)],ngContentSelectors:ko,decls:11,vars:10,consts:[[1,"t-header"],[1,"t-title"],["status","custom","value","deprecated","class","t-tag t-tag_deprecated",4,"ngIf"],["status","custom","class","t-tag t-tag_package",3,"autoColor","value",4,"ngIf"],["class","t-tabs",3,"activeItemIndex","activeItemIndexChange",4,"ngIf"],[1,"t-source-code",3,"header","package","path","type"],[1,"t-content"],["class","t-see-also",3,"seeAlso",4,"ngIf"],[4,"ngFor","ngForOf"],["status","custom","value","deprecated",1,"t-tag","t-tag_deprecated"],["status","custom",1,"t-tag","t-tag_package",3,"autoColor","value"],[1,"t-tabs",3,"activeItemIndex","activeItemIndexChange"],[4,"ngIf"],["routerLinkActive","","tuiTab","",3,"routerLink","routerLinkActiveOptions",4,"tuiItem"],["routerLinkActive","","tuiTab","",3,"routerLink","routerLinkActiveOptions"],[1,"t-see-also",3,"seeAlso"],[3,"ngTemplateOutlet",4,"ngIf"],[3,"ngTemplateOutlet"]],template:function(t,e){1&t&&(o.F$t(),o.TgZ(0,"header",0),o.TgZ(1,"h1",1),o._uU(2),o.YNc(3,Ka,1,0,"tui-tag",2),o.YNc(4,ts,1,2,"tui-tag",3),o.qZA(),o.YNc(5,os,2,2,"tui-tabs-with-more",4),o._UZ(6,"tui-doc-source-code",5),o.qZA(),o.TgZ(7,"div",6),o.Hsn(8),o.YNc(9,as,1,1,"tui-doc-see-also",7),o.YNc(10,us,2,1,"ng-container",8),o.qZA()),2&t&&(o.xp6(2),o.hij(" ",e.header," "),o.xp6(1),o.Q6J("ngIf",!!e.deprecated||""===e.deprecated),o.xp6(1),o.Q6J("ngIf",e.package),o.xp6(1),o.Q6J("ngIf",e.tabConnectors.length),o.xp6(1),o.Q6J("header",e.header)("package",e.package)("path",e.path)("type",e.type),o.xp6(3),o.Q6J("ngIf",e.showSeeAlso),o.xp6(1),o.Q6J("ngForOf",e.tabConnectors))},directives:[A.O5,Us,A.sg,to,Pi,hn,ki,Wr.yS,Wr.Od,Zs,A.tP],pipes:[dn],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;min-height:0;flex-basis:0;flex-grow:1}.t-header[_ngcontent-%COMP%]{display:flex;font:var(--tui-font-heading-3);flex-wrap:wrap;min-height:7.25rem;color:var(--tui-text-01);box-shadow:inset 0 -1px 0 0 var(--tui-base-03);padding:3.75rem 0 0;box-sizing:border-box;flex-shrink:0;margin:0 min(10vw,8.75rem)}tui-root._mobile[_nghost-%COMP%] .t-header[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{font:var(--tui-font-heading-4);min-height:4.5rem;padding:1.25rem 1.25rem 0;margin:0}.t-title[_ngcontent-%COMP%]{min-width:100%;font-size:inherit;margin:0}.t-tag[_ngcontent-%COMP%]{vertical-align:middle;text-transform:uppercase;margin-right:.5rem}.t-tag_deprecated[_ngcontent-%COMP%]{background-color:var(--tui-error-fill)}.t-tag.t-tag_package[_ngcontent-%COMP%]{color:#000}.t-tabs[_ngcontent-%COMP%]{flex:1;margin:1.125rem .3125rem 0 0}tui-root._mobile[_nghost-%COMP%] .t-tabs[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-tabs[_ngcontent-%COMP%]{margin-top:.25rem}.t-content[_ngcontent-%COMP%]{padding:2rem 0;margin:0 min(10vw,8.75rem)}tui-root._mobile[_nghost-%COMP%] .t-content[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:2rem 1.25rem;margin:0}.t-see-also[_ngcontent-%COMP%]{min-width:18.75rem;width:30%;float:right;margin-left:1.5rem}tui-root._mobile[_nghost-%COMP%] .t-see-also[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-see-also[_ngcontent-%COMP%]{float:none;width:100%;margin:0 0 1.5rem}.t-source-code[_ngcontent-%COMP%]{align-self:flex-end;line-height:2.75rem;margin-left:auto}"],changeDetection:0}),t}(),Ks=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[A.ez,Wr.Bz,qs,Ei,eo,Hs,pn]]}),t}()},64548:function(t,e,n){"use strict";n.d(e,{mT:function(){return f},lW:function(){return d},AC:function(){return p},ru:function(){return _},IK:function(){return b},$_:function(){return g},Es:function(){return m},mv:function(){return k},et:function(){return y},oq:function(){return v},Or:function(){return M},_Z:function(){return E},gG:function(){return w},V5:function(){return P},V1:function(){return S},n1:function(){return A},EI:function(){return C},UL:function(){return T},VX:function(){return x},yO:function(){return I},as:function(){return O},Yx:function(){return D},Ii:function(){return L}});var r=n(11927),i=n(74788),o=n(44427),a=n(54487),s=n(41439),u=n(41291),c=n(25917),l=n(43190),h=n(79456),f=(0,r.JN)(""),d=new i.OlP("[TUI_DOC_CODE_EDITOR]"),p=(0,r.JN)([]),v=(0,r.JN)({search:"tuiIconSearch",day:"tuiIconSun",night:"tuiIconMoon",code:"tuiIconCode",menu:"tuiIconMenuLarge"}),g=(0,r.JN)(a.y),m=(0,r.JN)(o.vi),y=(0,r.JN)(new Set([])),_=(0,r.JN)(["Read more more about modes: ","Background","Form value"]),b=(0,r.JN)(["Argument","Type","Name and description","Value","Learn about our dynamic templates from "]),k=(0,r.JN)(["Preview","Link to a sample was successfully copied","Done"]),w=(0,r.JN)("Menu"),C=(0,r.JN)("Search"),x=(0,r.JN)("See also"),O=(0,r.JN)("Source code"),M=(0,r.JN)(""),S=(0,r.JN)((0,s.P)(function(){return(0,u.H)(200).pipe((0,l.w)(function(){return(0,c.of)(!0)}))})),P=(0,r.JN)([]),E=(0,r.N1)(function(){return(0,o.S4)((0,i.f3M)(P))}),A=(0,r.N1)(function(){return(0,i.f3M)(h.TK)?"auto":"smooth"}),T=(0,r.JN)([]),I=(0,r.JN)(null),D=(0,r.JN)(""),L=(0,r.JN)(String)},44427:function(e,n,r){"use strict";r.d(n,{p8:function(){return u},cd:function(){return s},Ve:function(){return c},sj:function(){return l},JQ:function(){return f},vP:function(){return d},S4:function(){return v},OO:function(){return m},vi:function(){return h}});var i=r(4841),o=r.n(i),a=r(97582);function s(t){return"true"===(null==t?void 0:t.toString())}function u(t){var e=String(t).trim();if(function(t){return["undefined","null","NaN"].includes(t)}(e))return null;if(function(t){return"true"===t||"false"===t}(e))return"true"===String(e);if(function(t){return!!t.trim()&&!Number.isNaN(Number(t))&&!t.startsWith("+")}(e))return Number(e);var n=decodeURIComponent(e);try{return function(t){return t.startsWith("[")&&t.endsWith("]")}(n)||function(t){return t.startsWith("{")&&t.endsWith("}")}(n)?JSON.parse(n):n}catch(r){return n}}function c(t){return[{path:"",component:t,children:[{path:":tab",component:t}]}]}function l(t,e){if(null===t)return"null";switch(typeof t){case"string":return"'".concat(t,"'");case"undefined":case"number":case"boolean":case"function":return String(t)}return t instanceof RegExp?String(t):Array.isArray(t)?function(t,e){if(0===e)return"[\u2026]";for(var n="",r=!0,i=0;i0&&void 0!==arguments[0]?arguments[0]:"",e=(new(o())).parse(t,{}).filter(function(t){var e=t.tag,n=t.type;return"code"===e&&"fence"===n}).map(function(t){return t.content.trim()});return e.length?e:[t]}function f(e){return(0,a.mG)(this,void 0,void 0,t().mark(function n(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(e instanceof Promise)){t.next=6;break}return t.next=3,e;case 3:t.t0=t.sent.default,t.next=7;break;case 6:t.t0=e;case 7:return t.abrupt("return",t.t0);case 8:case"end":return t.stop()}},n)}))}function d(e){return(0,a.mG)(this,void 0,void 0,t().mark(function n(){var r,i,o,a,s,u;return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:r={},i=0,o=Object.entries(e);case 2:if(!(i1&&void 0!==arguments[1]?arguments[1]:{};return new m.y(function(r){var i=Object.assign(Object.assign(Object.assign({},e.defaultOptions),n),{content:t,completeWith:function(t){r.next(t),r.complete()},$implicit:r,component:e.component,createdAt:Date.now(),id:e.idService.generate()});return e.dialogs$.next([].concat(d(e.dialogs$.value),[i])),function(){e.dialogs$.next(e.dialogs$.value.filter(function(t){return t!==i}))}})}}]),n}(m.y);return t.\u0275fac=function(e){return new(e||t)(o.LFG(S.ll))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t}(),F=function(){var t,e=function(t){a(n,t);var e=u(n);function n(){return y(this,n),e.apply(this,arguments)}return g(n,[{key:"getFallbackValue",value:function(){return null}}]),n}(D);return e.\u0275fac=function(n){return(t||(t=o.n5z(e)))(n||e)},e.\u0275dir=o.lG2({type:e,features:[o.qOj]}),e}(),R=function(){var t=function(){function t(){y(this,t)}return g(t,[{key:"safeHost",get:function(){if(!this.host)throw new P.ZB;return this.host}},{key:"attach",value:function(t){this.host=t}},{key:"add",value:function(t){return this.safeHost.addComponentChild(t)}},{key:"remove",value:function(t){t.hostView.destroy()}},{key:"addTemplate",value:function(t,e){return this.safeHost.addTemplateChild(t,e)}},{key:"removeTemplate",value:function(t){t.destroy()}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t}(),j=function(){var t=function(){function t(e,n,r){y(this,t),this.injector=e,this.el=n,r.attach(this)}return g(t,[{key:"clientRect",get:function(){return this.el.nativeElement.getBoundingClientRect()}},{key:"addComponentChild",value:function(e){var n=e.createInjector(this.injector),r=n.get(o._Vd).resolveComponentFactory(e.component),i=o.zs3.create({parent:n,providers:[{provide:t,useValue:this}]}),a=this.vcr.createComponent(r,void 0,i);return a.changeDetectorRef.detectChanges(),a}},{key:"addTemplateChild",value:function(t,e){return this.vcr.createEmbeddedView(t,e)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.gxx),o.Y36(o.SBq),o.Y36(R))},t.\u0275dir=o.lG2({type:t,viewQuery:function(t,e){var n;(1&t&&o.Gf(A,5,o.s_b),2&t)&&(o.iGM(n=o.CRH())&&(e.vcr=n.first))}}),t}(),B=function(){var t=function(){function t(e){if(y(this,t),this.doc=e,null===this.style){var n=this.doc.head.querySelectorAll("style");this.constructor.style=n[n.length-1]}else this.addTheme()}return g(t,[{key:"style",get:function(){return this.constructor.style}},{key:"ngOnDestroy",value:function(){this.removeTheme()}},{key:"addTheme",value:function(){this.style&&this.doc.head.appendChild(this.style)}},{key:"removeTheme",value:function(){var t;null===(t=this.style)||void 0===t||t.remove()}}]),t}();return t.style=null,t.\u0275fac=function(e){return new(e||t)(o.Y36(E.K0))},t.\u0275dir=o.lG2({type:t}),t}()},18939:function(t,e,n){"use strict";n.d(e,{T:function(){return o},z:function(){return i}});var r=n(33770),i={enabled:!1,get assert(){return r.iD}},o=g(function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};y(this,t),this.message=e,this.context=n})},75122:function(t,e,n){"use strict";n.d(e,{qY:function(){return h},mL:function(){return f},ae:function(){return l}});var r,i,o=n(74788),s=n(76480),c=["*"],l=(i=function(t){a(n,t);var e=u(n);function n(){return y(this,n),e.apply(this,arguments)}return g(n)}(s.N9),i.\u0275fac=function(t){return(r||(r=o.n5z(i)))(t||i)},i.\u0275prov=o.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i),h=function(){var t=function(t){a(n,t);var e=u(n);function n(){return y(this,n),e.apply(this,arguments)}return g(n)}(s.Er);return t.\u0275fac=function(){var e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-dropdown-host"]],features:[o._Bn([{provide:s.N9,useExisting:l},{provide:s.Er,useExisting:t}]),o.qOj],ngContentSelectors:c,decls:3,vars:0,consts:[["viewContainer",""]],template:function(t,e){1&t&&(o.F$t(),o.Hsn(0),o.GkF(1,null,0))},styles:['[_nghost-%COMP%]{position:relative;z-index:0;display:block;height:100%}[_nghost-%COMP%]:before{content:"";display:block;overflow:hidden}.t-position-fixed-offset[_ngcontent-%COMP%]{position:fixed;left:0;top:0;pointer-events:none;visibility:hidden;width:100%;height:100%}'],changeDetection:0}),t}(),f=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({}),t}()},81359:function(t,e,n){"use strict";n.d(e,{tZ:function(){return O},eI:function(){return S},ex:function(){return M}});var r=n(74788),i=n(62579),o=n(40946),a=n(99434),s=n(88002),u=n(43190),c=n(46782),l=n(43219),h=n(39761),f=n(87519),d=n(12057),v=n(33770),m=n(27103),_=n(66682);function b(t,e){if(1&t&&(r.TgZ(0,"div",3),r._UZ(1,"div",4),r.qZA()),2&t){var n=r.oxw().ngIf;r.ekj("t-bar_has-horizontal",n[1])}}function k(t,e){if(1&t&&(r.TgZ(0,"div",5),r._UZ(1,"div",6),r.qZA()),2&t){var n=r.oxw().ngIf;r.ekj("t-bar_has-vertical",n[0])}}function w(t,e){if(1&t&&(r.ynx(0),r.YNc(1,b,2,2,"div",1),r.YNc(2,k,2,2,"div",2),r.BQk()),2&t){var n=e.ngIf;r.xp6(1),r.Q6J("ngIf",n[0]),r.xp6(1),r.Q6J("ngIf",n[1])}}var C,x=((C=function(){function t(e,n,r,i,a,h){var f=this;y(this,t),this.container=i,this.doc=a,this.el=h,this.tuiScrollbar="vertical";var d=this.el.nativeElement,g=(0,o.mL)(d,"mousedown"),m=(0,o.mL)(this.doc,"mousemove"),b=(0,o.mL)(this.doc,"mouseup"),k=(0,o.mL)(this.wrapper,"mousedown");(0,_.T)(k.pipe((0,s.U)(function(t){return f.getScrolled(t,.5,.5)})),g.pipe((0,o.vm)(),(0,u.w)(function(t){var e,n,r=d.getBoundingClientRect(),i=(n=r,(t.clientY-n.top)/n.height),o=(e=r,(t.clientX-e.left)/e.width);return m.pipe((0,s.U)(function(t){return f.getScrolled(t,i,o)}),(0,c.R)(b))}))).pipe((0,o.fL)(e),(0,c.R)(n)).subscribe(function(t){var e=p(t,2),n=e[0],r=e[1];"vertical"===f.tuiScrollbar?f.element.scrollTop=n:f.element.scrollLeft=r}),(0,_.T)(r.pipe((0,l.p)(v.Yg)),(0,o.pt)(this.element)).pipe((0,o.fL)(e),(0,c.R)(n)).subscribe(function(){"vertical"===f.tuiScrollbar?(d.style.top=100*f.thumb+"%",d.style.height=100*f.view+"%"):(d.style.left=100*f.thumb+"%",d.style.width=100*f.view+"%")})}return g(t,[{key:"wrapper",get:function(){return this.el.nativeElement.parentElement}},{key:"scrolled",get:function(){var t=this.element,e=t.scrollTop,n=t.scrollHeight,r=t.clientHeight,i=t.scrollLeft,o=t.scrollWidth,a=t.clientWidth;return"vertical"===this.tuiScrollbar?e/(n-r):i/(o-a)}},{key:"compensation",get:function(){var t=this.element,e=t.clientHeight,n=t.scrollHeight,r=t.clientWidth,i=t.scrollWidth;return e*e/n>24&&"vertical"===this.tuiScrollbar||r*r/i>24&&"horizontal"===this.tuiScrollbar?0:"vertical"===this.tuiScrollbar?24/e:24/r}},{key:"thumb",get:function(){return this.scrolled*(1-(this.compensation||this.view))}},{key:"view",get:function(){var t=this.element,e=t.clientHeight,n=t.scrollHeight,r=t.clientWidth,i=t.scrollWidth;return"vertical"===this.tuiScrollbar?Math.ceil(e/n*100)/100:Math.ceil(r/i*100)/100}},{key:"element",get:function(){return this.container.nativeElement}},{key:"getScrolled",value:function(t,e,n){var r=t.clientY,i=t.clientX,o=this.el.nativeElement,a=o.offsetHeight,s=o.offsetWidth,u=this.wrapper.getBoundingClientRect(),c=u.top,l=u.left,h=u.width,f=u.height;return[(r-c-a*e)/(f-a)*(this.element.scrollHeight-f),(i-l-s*n)/(h-s)*(this.element.scrollWidth-h)]}}]),t}()).\u0275fac=function(t){return new(t||C)(r.Y36(r.R0b),r.Y36(m.a3,2),r.Y36(i.L1),r.Y36(a.$_),r.Y36(d.K0),r.Y36(r.SBq))},C.\u0275dir=r.lG2({type:C,selectors:[["","tuiScrollbar",""]],inputs:{tuiScrollbar:"tuiScrollbar"},features:[r._Bn([m.a3])]}),C),O=function(){var t=function(){function t(e,n,r){var i=this;y(this,t),this.zone=e,this.scrollRef=n,this.animationFrame$=r,this.refresh$=this.animationFrame$.pipe((0,l.p)(300),(0,s.U)(function(){return i.scrollbars}),(0,h.O)([!1,!1]),(0,f.x)(function(t,e){return t[0]===e[0]&&t[1]===e[1]}),(0,o.Yr)(this.zone))}return g(t,[{key:"scrollbars",get:function(){var t=this.scrollRef.nativeElement,e=t.clientHeight,n=t.scrollHeight,r=t.clientWidth,i=t.scrollWidth;return[Math.ceil(e/n*100)<100,Math.ceil(r/i*100)<100]}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.R0b),r.Y36(a.$_),r.Y36(i.L1))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-scroll-controls"]],decls:2,vars:3,consts:[[4,"ngIf"],["class","t-bar t-bar_vertical",3,"t-bar_has-horizontal",4,"ngIf"],["class","t-bar t-bar_horizontal",3,"t-bar_has-vertical",4,"ngIf"],[1,"t-bar","t-bar_vertical"],["tuiScrollbar","vertical",1,"t-thumb"],[1,"t-bar","t-bar_horizontal"],["tuiScrollbar","horizontal",1,"t-thumb"]],template:function(t,e){1&t&&(r.YNc(0,w,3,2,"ng-container",0),r.ALo(1,"async")),2&t&&r.Q6J("ngIf",r.lcZ(1,1,e.refresh$))},directives:[d.O5,x],pipes:[d.Ov],styles:["[_nghost-%COMP%]{position:-webkit-sticky;position:sticky;top:0;left:0;z-index:1;min-width:calc(100% - 1px);min-height:calc(100% - 1px);max-width:calc(100% - 1px);max-height:calc(100% - 1px);float:left;-webkit-margin-end:calc(-100% + 1px);margin-inline-end:calc(-100% + 1px);pointer-events:none}.t-bar[_ngcontent-%COMP%]{position:absolute;right:0;bottom:0;pointer-events:auto;animation:tuiFadeIn var(--tui-duration, .3s) ease-in-out}.t-bar_vertical[_ngcontent-%COMP%]{top:0;width:.875rem}.t-bar_horizontal[_ngcontent-%COMP%]{left:0;height:.875rem}.t-bar_has-horizontal[_ngcontent-%COMP%]{bottom:.5rem}.t-bar_has-vertical[_ngcontent-%COMP%]{right:.5rem}.t-thumb[_ngcontent-%COMP%]{position:absolute;border-radius:6.25rem;border:.25rem solid transparent;cursor:pointer;pointer-events:auto;-webkit-user-select:none;-moz-user-select:none;user-select:none;background:currentColor;background-clip:content-box;box-sizing:border-box;transition:all var(--tui-duration, .3s) ease-in-out;transition-property:width,height,opacity;opacity:.2}.t-thumb[_ngcontent-%COMP%]:hover{opacity:.24}.t-thumb[_ngcontent-%COMP%]:active{opacity:.48}.t-bar_vertical[_ngcontent-%COMP%] .t-thumb[_ngcontent-%COMP%]{right:0;width:.75rem;min-height:1.25rem}.t-bar_vertical[_ngcontent-%COMP%]:hover .t-thumb[_ngcontent-%COMP%], .t-bar_vertical[_ngcontent-%COMP%] .t-thumb[_ngcontent-%COMP%]:active{width:.875rem}.t-bar_horizontal[_ngcontent-%COMP%] .t-thumb[_ngcontent-%COMP%]{bottom:0;height:.75rem;min-width:1.25rem}.t-bar_horizontal[_ngcontent-%COMP%]:hover .t-thumb[_ngcontent-%COMP%], .t-bar_horizontal[_ngcontent-%COMP%] .t-thumb[_ngcontent-%COMP%]:active{height:.875rem}"],changeDetection:0}),t}(),M=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiScrollRef",""]],features:[r._Bn([{provide:a.$_,useExisting:r.SBq}])]}),t}(),S=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[d.ez]]}),t}()},33770:function(t,e,n){"use strict";n.d(e,{Iy:function(){return o},Ye:function(){return a},F:function(){return y},fv:function(){return _},em:function(){return b},f$:function(){return m},LZ:function(){return c},Jy:function(){return h},iD:function(){return l},Mm:function(){return u},Yg:function(){return v},bg:function(){return d},yZ:function(){return f},Kx:function(){return p},Ml:function(){return k},Lw:function(){return g}});var r=n(74788),i=n(56083),o=function(){return!1},a=function(){return!0},s={bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0},u=new r.n_E,c=[],l=function(){},h=Object.assign(Object.assign({},s),{toJSON:function(){return s}}),f=function(t){return String(t)},d=function(t,e){return t===e||function(t,e){return Array.isArray(t)&&Array.isArray(e)&&!t.length&&!e.length}(t,e)},p=(0,i.X$)("tuiParentAnimation",[(0,i.eR)(":leave",[(0,i.IO)(":scope > *",[(0,i.pV)()],{optional:!0})])]),v=((0,i.X$)("tuiParentStop",[(0,i.eR)(":enter",[])]),1e3/15),g=function(t){return"ownerSVGElement"in t?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},m="\xa0",y="\u2013",_="-",b="\u2212",k="3.55.0"},44358:function(t,e,n){"use strict";n.d(e,{UM:function(){return o}});var r=n(27788);function i(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return function(){var r=t.call(this);return Object.defineProperty(this,e,{enumerable:n,value:r}),r}}function o(t,e,n){if("function"==typeof t){var o=e;if("getter"===o.kind)return i(t,o.name);if("method"===o.kind)return function(t){var e,n=[],r=!1;return function(){for(var i=arguments.length,o=new Array(i),a=0;aMath.abs(c)),i.processEvent(t,e,e?l<0:c<0)}))}),(0,o.fL)(n),(0,c.R)(r)).subscribe()}return g(t,[{key:"enabled",get:function(){return"none"!==this.mode}},{key:"overscrollBehavior",get:function(){return this.enabled?"contain":null}},{key:"processEvent",value:function(t,e,n){var r,i=t.target,o=t.currentTarget;if(t.cancelable&&(0,s.ve)(i)&&"range"!==(null===(r=i)||void 0===r?void 0:r.type)){if("all"===this.mode&&(e&&!o.contains((0,s.Hs)(i))||!e&&!o.contains((0,s.Hs)(i,!1))))return void t.preventDefault();if(e&&(n&&!(0,s.ty)(i,o,!0,!1)||!n&&!(0,s.ty)(i,o,!0,!0)))return void t.preventDefault();!e&&(n&&!(0,s.ty)(i,o,!1,!1)||!n&&!(0,s.ty)(i,o,!1,!0))&&t.preventDefault()}}}]),t}()).\u0275fac=function(t){return new(t||r)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(a.a3,2))},r.\u0275dir=i.lG2({type:r,selectors:[["","tuiOverscroll",""]],hostVars:2,hostBindings:function(t,e){2&t&&i.Udp("overscroll-behavior",e.overscrollBehavior)},inputs:{mode:["tuiOverscroll","mode"]},features:[i._Bn([a.a3])]}),r),d=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t}()},36424:function(t,e,n){"use strict";n.d(e,{L:function(){return i},B:function(){return o}});var r,i=((r=i||(i={}))[r.Sunday=0]="Sunday",r[r.Monday=1]="Monday",r[r.Tuesday=2]="Tuesday",r[r.Wednesday=3]="Wednesday",r[r.Thursday=4]="Thursday",r[r.Friday=5]="Friday",r[r.Saturday=6]="Saturday",i),o=function(){return(t=o||(o={}))[t.January=0]="January",t[t.February=1]="February",t[t.March=2]="March",t[t.April=3]="April",t[t.May=4]="May",t[t.June=5]="June",t[t.July=6]="July",t[t.August=7]="August",t[t.September=8]="September",t[t.October=9]="October",t[t.November=10]="November",t[t.December=11]="December",o;var t}()},27788:function(t,e,r){"use strict";r.d(e,{I4:function(){return i},AM:function(){return o},JY:function(){return s},ZB:function(){return c},aq:function(){return l},jw:function(){return h},j2:function(){return f}}),Error,Error;var i=function(t){a(n,t);var e=u(n);function n(t){return y(this,n),e.call(this,"")}return g(n)}(n(Error)),o=function(t){a(n,t);var e=u(n);function n(t){return y(this,n),e.call(this,"")}return g(n)}(n(Error)),s=function(t){a(n,t);var e=u(n);function n(t){return y(this,n),e.call(this,"")}return g(n)}(n(Error)),c=function(t){a(n,t);var e=u(n);function n(){return y(this,n),e.call(this,"")}return g(n)}(n(Error)),l=function(t){a(n,t);var e=u(n);function n(){return y(this,n),e.call(this,"")}return g(n)}(n(Error)),h=function(t){a(n,t);var e=u(n);function n(){return y(this,n),e.call(this,"")}return g(n)}(n(Error));Error,Error;var f=function(t){a(n,t);var e=u(n);function n(){return y(this,n),e.call(this,"")}return g(n)}(n(Error));Error,Error},40946:function(t,e,n){"use strict";n.d(e,{EK:function(){return D},ix:function(){return z},Xd:function(){return F},fw:function(){return R},ll:function(){return j},pt:function(){return B},vm:function(){return V},mL:function(){return L},NA:function(){return Y},Yr:function(){return q},fL:function(){return Z}});var r,i,o=n(27788),s=n(29856),c=n(22759),l=n(34022),h=n(41291),f=n(66682),d=n(22416),p=n(59193),v=n(77393),m=function(){function t(){y(this,t)}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new _(t))}}]),t}(),_=function(t){a(n,t);var e=u(n);function n(){return y(this,n),e.apply(this,arguments)}return g(n,[{key:"_next",value:function(t){}}]),n}(v.L),b=n(39761),k=n(43190),w=n(88002),C=n(87519),x=n(47349),O=n(15257),M=n(45435),S=n(79196),P=n(57057),E=n(68307),A=n(11927),T=n(33770),I=n(57179);function D(t){return new s.y(function(e){if(!t.valueChanges)throw new o.j2;t.valueChanges.pipe((0,b.O)(t.value)).subscribe(e)})}function L(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(0,c.R)(t,e,n)}function N(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return(0,l.z)((0,k.w)(function(){return(0,h.H)(t).pipe((0,w.U)(T.Iy),(0,b.O)(!0))}),(0,C.x)())}function z(t){var e=L(t,"blur"),n=t.ownerDocument;if(!n)throw new o.aq;return(!i||!r)&&(r=L(n,"mouseup",{capture:!0}).pipe(N(),(0,b.O)(!1),(0,x.d)({bufferSize:1,refCount:!0})),i=L(n,"mousedown",{capture:!0}).pipe(N(),(0,b.O)(!1),(0,x.d)({bufferSize:1,refCount:!0}))),(0,f.T)((0,d.z)(L(t,"focus").pipe((0,O.q)(1)),e.pipe((0,M.h)(function(){return!(0,I.V8)(t)}),(0,O.q)(1),function(t){return t.lift(new m)})).pipe((0,S.r)(),(0,P.M)(i,r,function(t,e,n){return e||n}),(0,M.h)(A.Mv))).pipe((0,k.w)(function(){return e.pipe((0,w.U)(T.Iy),(0,O.q)(1),(0,b.O)(!0))}),(0,C.x)())}function F(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Boolean;return(0,l.z)((0,k.w)(function(n){return e(n)?t(n):p.E}))}function R(t){var e,n;return"observed"in t?t.observed:!!(null===(n=null===(e=t)||void 0===e?void 0:e.observers)||void 0===n?void 0:n.length)}function j(t){return t.changes.pipe((0,b.O)(null),(0,w.U)(function(){return(0,A.gD)(t)}))}function B(t){return L(t===t.ownerDocument.documentElement?t.ownerDocument:t,"scroll")}function V(){return(0,E.b)(function(t){t.stopPropagation()})}function Y(t){return(0,E.b)(function(){t.markForCheck()})}function Z(t){return function(e){return new s.y(function(n){return t.runOutsideAngular(function(){return e.subscribe(n)})})}}function q(t){return(0,l.z)(Z(t),function(t){return function(e){return new s.y(function(n){return e.subscribe({next:function(e){return t.run(function(){return n.next(e)})},error:function(e){return t.run(function(){return n.error(e)})},complete:function(){return t.run(function(){return n.complete()})}})})}}(t))}},27103:function(e,n,r){"use strict";r.d(n,{a3:function(){return q},gH:function(){return U},ku:function(){return H},ll:function(){return G},AQ:function(){return X},b0:function(){return J},tl:function(){return $},Fr:function(){return Q},$D:function(){return W}});var i,o=r(74788),s=r(74235),l=r(29856),h=r(41439),f=r(66682),v=r(22759),m=r(97968),_=r(40946),b=r(46782),k=r(87874),w=r(43219),C=r(88002),x=r(39761),O=r(87519),M=r(5304),S=r(54395),P=r(9945),E=r(43190),A=r(47349),T=r(59328),I=r(45435),D=r(62579),L=r(33770),N=r(64493),z=r(12057),F=new o.OlP("Box model to observe changes",{providedIn:"root",factory:function(){return"content-box"}}),R=new o.OlP("Resize Observer API support",{providedIn:"root",factory:function(){return!!(0,o.f3M)(D.m9).ResizeObserver}}),j=((i=function(t){a(n,t);var e=u(n);function n(t,r,i,o){var a,s,u=t.nativeElement;return y(this,n),c(a,(a=e.call(this,function(t){if(i)return(s=new ResizeObserver(function(e){r.run(function(){t.next(e)})})).observe(u,{box:o}),function(){s.disconnect()};t.error("ResizeObserver is not supported in your browser")})).pipe((0,P.B)()))}return g(n)}(l.y)).\u0275fac=function(t){return new(t||i)(o.LFG(o.SBq),o.LFG(o.R0b),o.LFG(R),o.LFG(F))},i.\u0275prov=o.Yz7({token:i,factory:i.\u0275fac}),i),B=r(11927),V=r(97582),Y=r(59178),Z=r(99434),q=function(){var t=function(t){a(n,t);var e=u(n);function n(){return y(this,n),e.call(this,1)}return g(n,[{key:"ngOnDestroy",value:function(){this.next(),this.complete()}}]),n}(s.t);return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t}(),U=function(){var t=function(){function t(e,n){y(this,t),this.resolver=e,this.injector=n,this.map=new Map}return g(t,[{key:"addComponent",value:function(t){this.map.has(t)||this.map.set(t,this.resolver.resolveComponentFactory(t).create(this.injector))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.LFG(o._Vd),o.LFG(o.gxx))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),H=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r,i){var o,a=t.nativeElement;return y(this,n),(o=e.call(this,function(t){return o.focusVisible$.subscribe(t)})).focusVisible$=(0,_.ix)(a).pipe((0,_.NA)(r),(0,b.R)(i)),o}return g(n)}(l.y);return t.\u0275fac=function(e){return new(e||t)(o.LFG(o.SBq),o.LFG(o.sBO),o.LFG(q,2))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t}(),G=function(){var t=function(){function t(){y(this,t)}return g(t,[{key:"generate",value:function(){return"tui_".concat(t.autoId++).concat(Date.now())}}]),t}();return t.autoId=0,t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),J=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r){var i;return y(this,n),(i=e.call(this,function(t){return i.callback$.subscribe(t)})).callback$=(0,h.P)(function(){for(var e=t.nativeElement,n=[r,e];e.parentElement;)e=e.parentElement,n.push(e);return f.T.apply(void 0,d(n.map(function(t){return(0,_.mL)(t,"scroll")})))}),i}return g(n)}(l.y);return t.\u0275fac=function(e){return new(e||t)(o.LFG(o.SBq),o.LFG(D.m9))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t}(),X=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r,i,o,a,s){var u,c=r.nativeElement;return y(this,n),(u=e.call(this,function(t){return u.obscured$.subscribe(t)})).obscured$=(0,f.T)((0,f.T)(t,(0,v.R)(o,"resize")).pipe((0,k.g)(0)),s.pipe((0,w.p)(L.Yg))).pipe((0,C.U)(function(){return(0,N.PU)(c)}),(0,x.O)(null),(0,O.x)(),(0,_.Yr)(i),(0,b.R)(a)),u}return g(n)}(l.y);return t.\u0275fac=function(e){return new(e||t)(o.LFG(J,2),o.LFG(o.SBq),o.LFG(o.R0b),o.LFG(D.m9),o.LFG(q,2),o.LFG(D.L1))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t}(),$=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r,i,o,a,s){var u;return y(this,n),c(u,(u=e.call(this,t,r,o,a)).pipe((0,M.K)(function(){return s.pipe((0,w.p)(L.Yg),(0,C.U)(function(){return"".concat(t.nativeElement.clientWidth," ").concat(t.nativeElement.clientHeight)}),(0,O.x)(),(0,C.U)(function(){return L.LZ}))}),(0,S.b)(0),(0,_.fL)(r),(0,P.B)(),(0,b.R)(i)))}return g(n)}(j);return t.\u0275fac=function(e){return new(e||t)(o.LFG(o.SBq),o.LFG(o.R0b),o.LFG(q,2),o.LFG(R),o.LFG(F),o.LFG(D.L1))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t}(),Q=function(){var e=function(){function e(t,n){y(this,e),this.win=t,this.platformId=n,this.cache=new Map}return g(e,[{key:"request",value:function(e){var n=this,r=this.cache.get(e);if(r)return r;var i=("AbortController"in this.win||(0,z.PM)(this.platformId)?function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.selector,r=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);is||Math.abs(o)>s)&&u1}var c=/^((?!chrome|android).)*safari/i,l=n(11927),h=n(64493),f=n(26215),d=n(41291),v=n(66682),g=n(25917),m=n(97968),y=n(59193),_=n(43190),b=n(88002),k=n(39761),w=n(9945),C=n(45435),x=n(46782),O=n(72361),M=n(57057),S=n(15257),P=n(87519),E=n(47349),A=n(79221),T=n(33770),I=(0,l.N1)(function(){var t={onRemovalComplete:function(){}},e=new f.X(null),n=(0,i.f3M)(A.Th,i.XFs.Optional)||t,r=n.onRemovalComplete,o=void 0===r?t.onRemovalComplete:r;return n.onRemovalComplete=function(t,r){e.next(t),o.call(n,t,r)},e.pipe((0,_.w)(function(t){return(0,d.H)(0).pipe((0,b.U)(function(){return null}),(0,k.O)(t))}),(0,w.B)())});function D(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,h.Wf)(t).activeElement!==t&&!t.matches(":disabled")&&!(null==e?void 0:e.contains(t))}var L=(0,l.N1)(function(){var t=(0,i.f3M)(I),e=(0,i.f3M)(o.m9),n=(0,i.f3M)(r.K0),s=(0,a.mL)(e,"focusout"),u=(0,a.mL)(e,"focusin"),c=(0,a.mL)(e,"blur"),l=(0,a.mL)(e,"mousedown"),f=(0,a.mL)(e,"mouseup");return(0,v.T)(s.pipe((0,x.R)(l),(0,O.a)(function(){return f}),(0,M.M)(t),(0,C.h)(function(t){var e=p(t,2),n=e[0],r=e[1];return D((0,h.mA)(n),r)}),(0,b.U)(function(t){return p(t,1)[0].relatedTarget})),c.pipe((0,b.U)(function(){return n.activeElement}),(0,C.h)(function(t){return!!(null==t?void 0:t.matches("iframe"))})),u.pipe((0,_.w)(function(t){var e=(0,h.mA)(t),r=(0,h.Wf)(e);return r===n?(0,g.of)(e):function(t){return(0,v.T)((0,a.mL)(t,"focusin").pipe((0,b.U)(function(t){return t.target})),(0,a.mL)(t,"focusout").pipe((0,C.h)(function(t){var e=t.target;return!!t.relatedTarget&&D(e)}),(0,b.U)(function(t){return t.relatedTarget})))}(r).pipe((0,k.O)(e))})),l.pipe((0,_.w)(function(t){var e=(0,h.mA)(t);return n.activeElement&&n.activeElement!==n.body?s.pipe((0,S.q)(1),(0,b.U)(function(){return e}),(0,x.R)((0,d.H)(0))):(0,g.of)(e)}))).pipe((0,P.x)(),(0,w.B)())}),N=(0,l.JN)([]);function z(t){return{provide:N,multi:!0,useExisting:t}}var F=(0,l.N1)(function(){var t,e;return null!==(e=null===(t=(0,i.f3M)(r.K0).querySelector("base"))||void 0===t?void 0:t.href)&&void 0!==e?e:""}),R=((0,l.N1)(function(){return(0,i.f3M)(i.FYo).createRenderer(null,null)}),(0,l.JN)([]));function j(t){return{provide:R,multi:!0,useExisting:t}}(0,l.N1)(function(){var t,e=null===(t=(0,i.f3M)(r.K0).querySelector("base"))||void 0===t?void 0:t.href;if(e)return e;var n=(0,i.f3M)(r.K0).createElement("a");return n.href="",n.pathname});var B=new i.OlP("[TUI_FOCUSABLE_ITEM_ACCESSOR]");function V(t){return{provide:B,useExisting:t}}var Y=new i.OlP("[TUI_FONTS_READY]",{factory:function(){var t;return(0,m.D)((null===(t=(0,i.f3M)(r.K0).fonts)||void 0===t?void 0:t.ready)||y.E).pipe((0,E.d)({bufferSize:1,refCount:!1}))}}),Z=(0,l.N1)(function(){return u((0,i.f3M)(o.s5))}),q=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/,U=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/,H=(0,l.N1)(function(){return q.test((0,i.f3M)(o.yZ).toLowerCase())||U.test((0,i.f3M)(o.yZ).slice(0,4).toLowerCase())}),G=(0,l.N1)(function(){return(0,i.f3M)(H)&&!(0,i.f3M)(Z)}),J=(0,l.N1)(function(){return u(t=(0,i.f3M)(o.s5))||c.test(t.userAgent.toLowerCase());var t}),X=((0,l.N1)(function(){return!!(0,i.f3M)(o.m9).chrome}),(0,l.N1)(function(){return!!(0,i.f3M)(o.m9).Cypress})),$=(0,l.N1)(T.Iy),Q=(0,l.N1)(function(){return(0,i.f3M)(X)||(0,i.f3M)($)}),W=((0,l.N1)(function(){var t;return void 0!==(null===(t=(0,i.f3M)(o.m9))||void 0===t?void 0:t.mozCancelFullScreen)}),(0,l.N1)(function(){return(0,i.f3M)(o.m9).location.host.endsWith("stackblitz.io")}),(0,l.N1)(function(){var t;return!!(null===(t=(0,i.f3M)(o.m9))||void 0===t?void 0:t.webkitConvertPointFromNodeToPage)}));(0,l.JN)("web"),(0,l.N1)(function(){return(0,r.NF)((0,i.f3M)(i.Lbi))?new Range:{}});var K=(0,l.N1)(function(){return new i.SBq((0,i.f3M)(r.K0).documentElement)}),tt=(0,l.JN)({timeout:500,threshold:30}),et=((0,l.N1)(T.Ye),(0,l.N1)(function(){return(0,i.f3M)(o.m9).matchMedia("(any-pointer: coarse)").matches}),new i.OlP("[TUI_WINDOW_SIZE]",{factory:function(){var t=(0,i.f3M)(o.m9);return(0,a.mL)(t,"resize").pipe((0,k.O)(null),(0,b.U)(function(){var e,n,r=Math.max(t.innerWidth,(null===(e=t.visualViewport)||void 0===e?void 0:e.width)||0),i=Math.max(t.innerHeight,(null===(n=t.visualViewport)||void 0===n?void 0:n.height)||0);return{width:r,height:i,top:0,left:0,right:r,bottom:i}}),(0,E.d)({bufferSize:1,refCount:!0}))}}));(0,l.N1)(function(){return(0,i.f3M)(et).pipe((0,b.U)(function(t){return t.height}))}),(0,l.JN)({wheelSensitivity:.01})},41213:function(t,e,n){"use strict";function r(t){return t.toLowerCase().includes("firefox")}function i(t){var e,n,r,i,o,a,s,u,c=t.ownerDocument,l=null==c?void 0:c.defaultView,h=void 0!==l.safari&&"[object SafariRemoteNotification]"===(null===(n=null===(e=l.safari)||void 0===e?void 0:e.pushNotification)||void 0===n?void 0:n.toString()),f=!!(null===(i=null===(r=l.navigator)||void 0===r?void 0:r.vendor)||void 0===i?void 0:i.includes("Apple"))&&!(null===(a=null===(o=l.navigator)||void 0===o?void 0:o.userAgent)||void 0===a?void 0:a.includes("CriOS"))&&!(null===(u=null===(s=l.navigator)||void 0===s?void 0:s.userAgent)||void 0===u?void 0:u.includes("FxiOS"));return h||f}n.d(e,{oK:function(){return r},Ex:function(){return i}})},64493:function(t,e,n){"use strict";n.d(e,{ty:function(){return o},PP:function(){return a},mA:function(){return c},Wf:function(){return l},PU:function(){return h},YX:function(){return f},Hs:function(){return d},ve:function(){return s},Hn:function(){return p},dW:function(){return u},dD:function(){return v},UP:function(){return g}});var r=n(85648),i=n(11927);function o(t,e,n,r){return n?function(t,e,n){for(var r=t;r!==e.parentElement;){if(Math.floor(r.scrollTop)>0&&!n||Math.ceil(r.scrollTop+r.clientHeight)0&&!n||Math.ceil(r.scrollLeft+r.clientWidth)1&&void 0!==arguments[1])||arguments[1];return null===t?null:e&&t.scrollHeight>t.clientHeight||!e&&t.scrollWidth>t.clientWidth?t:d(t.parentElement,e)}function p(t){return function(t){return function(t){return t.matches("input")}(t)||function(t){return t.matches("textarea")}(t)}(t)&&!t.readOnly||!!t.isContentEditable}function v(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n={x:t,y:e,left:t,right:t,top:e,bottom:e,width:0,height:0};return Object.assign(Object.assign({},n),{toJSON:function(){return n}})}function g(t){return"explicitOriginalTarget"in t?(null==t?void 0:t.explicitOriginalTarget)!==t.target:"pointerId"in t?-1===t.pointerId:"detail"in t&&"webkitForce"in t&&0===(null==t?void 0:t.detail)}n(18939)},57179:function(t,e,n){"use strict";n.d(e,{hp:function(){return a},BW:function(){return c},ie:function(){return o},V8:function(){return l},zb:function(){return h},dT:function(){return s},VR:function(){return f},Pg:function(){return d}});var r=n(64493),i=n(33770);function o(t){var e=t.activeElement;if(!(null==e?void 0:e.shadowRoot))return e;for(var n=e.shadowRoot.activeElement;null==n?void 0:n.shadowRoot;)n=n.shadowRoot.activeElement;return n}function a(t){var e=o(t);(0,r.dW)(e)&&e.blur()}function s(t){if(t.hasAttribute("disabled")||"-1"===t.getAttribute("tabIndex"))return!1;if((0,r.dW)(t)&&t.isContentEditable||"0"===t.getAttribute("tabIndex"))return!0;switch(t.tagName){case"BUTTON":case"SELECT":case"TEXTAREA":return!0;case"VIDEO":case"AUDIO":return t.hasAttribute("controls");case"INPUT":return"hidden"!==t.getAttribute("type");case"A":case"LINK":return t.hasAttribute("href");default:return!1}}function u(t){return!t.hasAttribute("disabled")&&("-1"===t.getAttribute("tabIndex")||s(t))}function c(t){var e=t.initial,n=t.root,o=t.previous,a=void 0!==o&&o,c=t.keyboard,l=void 0===c||c;if(!n.ownerDocument)return null;var h=l?s:u,f=n.ownerDocument.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,i.Lw);for(f.currentNode=e;a?f.previousNode():f.nextNode();)if((0,r.dW)(f.currentNode)&&(e=f.currentNode),(0,r.dW)(e)&&h(e))return e;return null}function l(t){return!!(null==t?void 0:t.ownerDocument)&&o(t.ownerDocument)===t&&t.ownerDocument.hasFocus()}function h(t){if(!t.ownerDocument||!t.contains)return!1;var e=o(t.ownerDocument);return null!==e&&t.contains(e)&&t.ownerDocument.hasFocus()}function f(t,e,n){for(t+=n;t>=0&&t1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(t.ownerDocument){if("function"==typeof Event)t.dispatchEvent(new Event("mousedown",{bubbles:!0,cancelable:!0}));else{var r=t.ownerDocument.createEvent("Event");r.initEvent("mousedown",!0,!0),t.dispatchEvent(r)}e?t.focus({preventScroll:n}):t.blur()}}},75675:function(t,e,n){"use strict";function r(t){return"".concat(t,"px")}n.d(e,{O:function(){return r}}),n(18939)},85648:function(t,e,n){"use strict";function r(t,e,n){return Math.min(n,Math.max(e,t))}function i(t,e,n){return t>=e&&t=n?n:Math.round(t)}function a(t,e,n){if(t===1/0)return t;e=Math.min(e,292);var r="".concat(t,"e").split("e"),i="".concat(n(Number("".concat(r[0],"e").concat(Number(r[1])+e))),"e").split("e");return Number("".concat(i[0],"e").concat(Number(i[1])-e))}function s(t){var e=t.value,n=t.precision;switch(t.method){case"round":return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return a(t,e,Math.round)}(e,n);case"ceil":return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return a(t,e,Math.ceil)}(e,n);case"floor":return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return a(t,e,Math.floor)}(e,n);default:return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return a(t,e,Math.trunc)}(e,n)}}function u(t){return t?1:0}function c(t){return parseInt(t,10)}n.d(e,{Ki:function(){return r},wf:function(){return i},G1:function(){return o},h0:function(){return s},HW:function(){return u},oY:function(){return c}}),n(18939)},11927:function(t,e,n){"use strict";n.d(e,{WX:function(){return i},xT:function(){return a},JN:function(){return s},N1:function(){return u},gD:function(){return c},M8:function(){return l},Mv:function(){return h},dt:function(){return f},Pc:function(){return d},Aj:function(){return o},vK:function(){return p},pf:function(){return v}});var r=n(74788);function i(t,e){return t.slice(0,Math.max(e,0)).concat(t.slice(Math.max(e+1,0)))}function o(t){return"string"==typeof t}function a(t){return JSON.parse(JSON.stringify(t,function(t,e){return function(t){var e=o(t)?t.trim():t;return[void 0,null,NaN,""].includes(e)}(e)?void 0:e}))}function s(t){return u(function(){return t})}function u(t){return new r.OlP("",{factory:t})}function c(t){var e=[];return t.find(function(t,n,r){return e=r,!0}),e}function l(t,e){return Math.abs(e)>Math.abs(t)?e>0?"top":"bottom":t>0?"left":"right"}function h(t){return!t}function f(t){return"number"==typeof t}function d(t){return null!=t}function p(t,e,n){return{provide:t,deps:[[new r.FiY,new r.tp0,t]],useFactory:function(t){return Object.assign(Object.assign({},t||n),e)}}}function v(t,e){return Array.from(t.reduce(function(t,n){return t.has(n[e])?t:t.set(n[e],n)},new Map).values())}},68192:function(t,e,n){"use strict";n.d(e,{N:function(){return i}});var r=n(11927);function i(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Math.floor(Math.random()*Date.now()),n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"rgba(0, 0, 0, 0.7)";if((0,r.Aj)(t)){var i=function(t){var e,n=(null!==(e=t.match(/url\(("?)('*)#(.*?)('*)\)/g))&&void 0!==e?e:[]).map(function(t){return t.slice(4,t.length-1).replace(/['"#]+/g,"")});return Array.from(new Set(n))}(t).reduce(function(t,n){var r=function(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(n),i="id_".concat(e,"_").concat(n);return t.replace(new RegExp('"'.concat(r,'"'),"g"),'"'.concat(i,'"')).replace(new RegExp("'".concat(r,"'"),"g"),"'".concat(i,"'")).replace(new RegExp("url\\('#".concat(r,"'\\)"),"g"),"url('#".concat(i,"')")).replace(new RegExp('url\\("#'.concat(r,'"\\)'),"g"),'url("#'.concat(i,'")')).replace(new RegExp("url\\(#".concat(r,"\\)"),"g"),"url(#".concat(i,")"))},t);return function(t,e){try{var r=(new DOMParser).parseFromString(t,"text/html");return r.body.querySelectorAll("[fill^=url]").forEach(function(t){return t.setAttribute("fill","".concat(t.getAttribute("fill")," ").concat(e).trim())}),r.body.innerHTML.trim()}catch(n){return t}}(i,n)}return t}},43631:function(t,e,n){"use strict";n.d(e,{FP:function(){return b},D1:function(){return k},kk:function(){return f},uG:function(){return w},O4:function(){return O},c2:function(){return v},UK:function(){return p},P7:function(){return x},Ic:function(){return P},Fe:function(){return m},Sv:function(){return S},ei:function(){return C},Wk:function(){return M}});var r=n(74788),i=n(27103),o=n(76480),s=n(29856),c=n(66682),l=n(87519),h=n(46782),f=function(t){a(n,t);var e=u(n);function n(){return y(this,n),e.apply(this,arguments)}return g(n)}(s.y);function p(t){return{provide:f,multi:!0,useExisting:t}}var v=g(function t(){y(this,t)});function m(t){return{provide:v,multi:!0,useExisting:t}}var _,b=((_=function(){function t(e,n,r){y(this,t),this.destroy$=e,this.drivers=n,this.vehicles=r}return g(t,[{key:"ngOnInit",value:function(){var t=this,e=this.vehicles.find(function(e){return e.type===t.type});c.T.apply(void 0,d(this.drivers.filter(function(e){return e.type===t.type}))).pipe((0,l.x)(),(0,h.R)(this.destroy$)).subscribe(function(t){null==e||e.toggle(t)})}}]),t}()).\u0275fac=function(t){return new(t||_)(r.Y36(i.a3,2),r.Y36(f),r.Y36(v))},_.\u0275dir=r.lG2({type:_}),_),k=function(){var t=function(){function t(e){y(this,t),this.host=e}return g(t,[{key:"readOnly",get:function(){return this.host.readOnly}},{key:"disabled",get:function(){return this.host.computedDisabled}},{key:"invalid",get:function(){return this.host.computedInvalid}},{key:"focusable",get:function(){return this.host.computedFocusable}},{key:"inputMode",get:function(){return"text"}},{key:"value",get:function(){var t;return(null===(t=this.host.value)||void 0===t?void 0:t.toString())||""}},{key:"process",value:function(t){}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(o.M$))},t.\u0275dir=r.lG2({type:t}),t}(),w=g(function t(){y(this,t)});function C(t){return{provide:w,deps:[[new r.tp0,w]],useFactory:function(e){return e.find(function(e){return e.type===t})}}}function x(t){return{provide:w,multi:!0,useExisting:t}}var O=g(function t(){y(this,t)});function M(t,e){return{provide:O,deps:[[new r.tp0,O],e],useFactory:S(t)}}function S(t){return function(e,n){return e.find(function(e){return e!==n&&e.type===t})||n}}function P(t){return{provide:O,multi:!0,useExisting:t}}},49941:function(t,e,n){"use strict";n.d(e,{i9:function(){return c},QF:function(){return u},eu:function(){return s},gI:function(){return l},Gw:function(){return h},X9:function(){return f}});var r=n(56083),i="{{duration}}ms ease-in-out",o={params:{duration:300}},a=300,s=(0,r.X$)("tuiHeightCollapse",[(0,r.eR)(":enter",[(0,r.oB)({height:0}),(0,r.jt)(i,(0,r.oB)({height:"*"}))],o),(0,r.eR)(":leave",[(0,r.oB)({height:"*"}),(0,r.jt)(i,(0,r.oB)({height:0}))],o)]),u=((0,r.X$)("tuiHeightCollapseList",[(0,r.eR)("* => *",[(0,r.IO)(":enter",[(0,r.oB)({height:0}),(0,r.EY)(a,[(0,r.jt)(i,(0,r.oB)({height:"*"}))])],{optional:!0}),(0,r.IO)(":leave",[(0,r.oB)({height:"*"}),(0,r.EY)(a,[(0,r.jt)(i,(0,r.oB)({height:0}))])],{optional:!0})],o)]),(0,r.X$)("tuiWidthCollapse",[(0,r.eR)(":enter",[(0,r.oB)({width:0}),(0,r.jt)(i,(0,r.oB)({width:"*"}))],o),(0,r.eR)(":leave",[(0,r.oB)({width:"*"}),(0,r.jt)(i,(0,r.oB)({width:0}))],o)]),(0,r.X$)("tuiWidthCollapseList",[(0,r.eR)("* => *",[(0,r.IO)(":enter",[(0,r.oB)({width:0}),(0,r.EY)(a,[(0,r.jt)(i,(0,r.oB)({width:"*"}))])],{optional:!0}),(0,r.IO)(":leave",[(0,r.oB)({width:"*"}),(0,r.EY)(a,[(0,r.jt)(i,(0,r.oB)({width:0}))])],{optional:!0})],o)]),(0,r.X$)("tuiFadeIn",[(0,r.eR)(":enter",[(0,r.oB)({opacity:0}),(0,r.jt)(i,(0,r.oB)({opacity:1}))],o),(0,r.eR)(":leave",[(0,r.oB)({opacity:1}),(0,r.jt)(i,(0,r.oB)({opacity:0}))],o)])),c=((0,r.X$)("tuiFadeInList",[(0,r.eR)("* => *",[(0,r.IO)(":enter",[(0,r.oB)({opacity:0}),(0,r.EY)(a,[(0,r.jt)(i,(0,r.oB)({opacity:1}))])],{optional:!0}),(0,r.IO)(":leave",[(0,r.oB)({opacity:1}),(0,r.EY)(a,[(0,r.jt)(i,(0,r.oB)({opacity:0}))])],{optional:!0})],o)]),(0,r.X$)("tuiFadeInTop",[(0,r.eR)(":enter",[(0,r.oB)({transform:"translateY(-10px)",opacity:0}),(0,r.jt)(i,(0,r.oB)({transform:"translateY(0)",opacity:1}))],o),(0,r.eR)(":leave",[(0,r.oB)({transform:"translateY(0)",opacity:1}),(0,r.jt)(i,(0,r.oB)({transform:"translateY(-10px)",opacity:0}))],o)]),(0,r.X$)("tuiFadeInBottom",[(0,r.eR)(":enter",[(0,r.oB)({transform:"translateY(10px)",opacity:0}),(0,r.jt)(i,(0,r.oB)({transform:"translateY(0)",opacity:1}))],o),(0,r.eR)(":leave",[(0,r.oB)({transform:"translateY(0)",opacity:1}),(0,r.jt)(i,(0,r.oB)({transform:"translateY(10px)",opacity:0}))],o)]),(0,r.X$)("tuiDropdownAnimation",[(0,r.eR)(":enter",[(0,r.oB)({transform:"translateY(-10px)",opacity:0}),(0,r.jt)(i,(0,r.oB)({transform:"translateY(0)",opacity:1}))],o),(0,r.eR)(":leave",[(0,r.oB)({transform:"translateY(0)",opacity:1}),(0,r.jt)(i,(0,r.oB)({transform:"translateY(-10px)",opacity:0}))],o)])),l=(0,r.X$)("tuiScaleIn",[(0,r.eR)(":enter",[(0,r.oB)({transform:"scale(0)"}),(0,r.jt)(i,(0,r.oB)({transform:"scale(1)"}))],o),(0,r.eR)(":leave",[(0,r.oB)({transform:"scale(1)"}),(0,r.jt)(i,(0,r.oB)({transform:"scale(0)"}))],o)]),h=((0,r.X$)("tuiPop",[(0,r.eR)(":enter",[(0,r.oB)({transform:"scale(0)"}),(0,r.jt)(i,(0,r.oB)({transform:"scale(1.1)"})),(0,r.jt)(i,(0,r.oB)({transform:"scale(1)"}))],o),(0,r.eR)(":leave",[(0,r.oB)({transform:"scale(1)"}),(0,r.jt)(i,(0,r.oB)({transform:"scale(1.1)"})),(0,r.jt)(i,(0,r.oB)({transform:"scale(0)"}))],o)]),(0,r.X$)("tuiScaleInList",[(0,r.eR)("* => *",[(0,r.IO)(":enter",[(0,r.oB)({transform:"scale(0)"}),(0,r.EY)(a,[(0,r.jt)(i,(0,r.oB)({transform:"scale(1)"}))])],{optional:!0}),(0,r.IO)(":leave",[(0,r.oB)({transform:"scale(1)"}),(0,r.EY)(a,[(0,r.jt)(i,(0,r.oB)({transform:"scale(0)"}))])],{optional:!0})],o)]),(0,r.X$)("tuiSlideIn",[(0,r.eR)("* => left",[(0,r.oB)({transform:"translateX(-100%)"}),(0,r.jt)(i,(0,r.oB)({transform:"translateX(0)"}))],o),(0,r.eR)("left => *",[(0,r.oB)({transform:"translateX(0)"}),(0,r.jt)(i,(0,r.oB)({transform:"translateX(-100%)"}))],o),(0,r.eR)("* => right",[(0,r.oB)({transform:"translateX(100%)"}),(0,r.jt)(i,(0,r.oB)({transform:"translateX(0)"}))],o),(0,r.eR)("right => *",[(0,r.oB)({transform:"translateX(0)"}),(0,r.jt)(i,(0,r.oB)({transform:"translateX(100%)"}))],o)])),f=((0,r.X$)("tuiSlideInLeft",[(0,r.eR)(":enter",[(0,r.oB)({transform:"translateX(-100%)"}),(0,r.jt)(i,(0,r.oB)({transform:"translateX(0)"}))],o),(0,r.eR)(":leave",[(0,r.oB)({transform:"translateX(0)"}),(0,r.jt)(i,(0,r.oB)({transform:"translateX(-100%)"}))],o)]),(0,r.X$)("tuiSlideInLeftList",[(0,r.eR)("* => *",[(0,r.IO)(":enter",[(0,r.oB)({transform:"translateX(-100%)"}),(0,r.EY)(a,[(0,r.jt)(i,(0,r.oB)({transform:"translateX(0)"}))])],{optional:!0}),(0,r.IO)(":leave",[(0,r.oB)({transform:"translateX(0)"}),(0,r.EY)(a,[(0,r.jt)(i,(0,r.oB)({transform:"translateX(-100%)"}))])],{optional:!0})],o)]),(0,r.X$)("tuiSlideInRight",[(0,r.eR)(":enter",[(0,r.oB)({transform:"translateX(100%)"}),(0,r.jt)(i,(0,r.oB)({transform:"translateX(0)"}))],o),(0,r.eR)(":leave",[(0,r.oB)({transform:"translateX(0)"}),(0,r.jt)(i,(0,r.oB)({transform:"translateX(100%)"}))],o)]),(0,r.X$)("tuiSlideInRightList",[(0,r.eR)("* => *",[(0,r.IO)(":enter",[(0,r.oB)({transform:"translateX(100%)"}),(0,r.EY)(a,[(0,r.jt)(i,(0,r.oB)({transform:"translateX(0)"}))])],{optional:!0}),(0,r.IO)(":leave",[(0,r.oB)({transform:"translateX(0)"}),(0,r.EY)(a,[(0,r.jt)(i,(0,r.oB)({transform:"translateX(100%)"}))])],{optional:!0})],o)]),(0,r.X$)("tuiSlideInTop",[(0,r.eR)(":enter",[(0,r.oB)({transform:"translate3d(0,{{start}},0)"}),(0,r.jt)(i,(0,r.oB)({transform:"translate3d(0,{{end}},0)"}))],{params:{end:0,start:"100%",duration:300}}),(0,r.eR)(":leave",[(0,r.oB)({transform:"translate3d(0,{{end}},0)"}),(0,r.jt)(i,(0,r.oB)({transform:"translate3d(0,{{start}},0)"}))],{params:{end:0,start:"100%",duration:300}})]));(0,r.X$)("tuiSlideInTopList",[(0,r.eR)("* => *",[(0,r.IO)(":enter",[(0,r.oB)({transform:"translateY(100%)"}),(0,r.EY)(a,[(0,r.jt)(i,(0,r.oB)({transform:"translateY(0)"}))])],{optional:!0}),(0,r.IO)(":leave",[(0,r.oB)({transform:"translateY(0)"}),(0,r.EY)(a,[(0,r.jt)(i,(0,r.oB)({transform:"translateY(100%)"}))])],{optional:!0})],o)]),(0,r.X$)("tuiSlideInBottom",[(0,r.eR)(":enter",[(0,r.oB)({transform:"translateY(-100%)"}),(0,r.jt)(i,(0,r.oB)({transform:"translateY(0)"}))],o),(0,r.eR)(":leave",[(0,r.oB)({transform:"translateY(0)"}),(0,r.jt)(i,(0,r.oB)({transform:"translateY(-100%)"}))],o)]),(0,r.X$)("tuiSlideInBottomList",[(0,r.eR)("* => *",[(0,r.IO)(":enter",[(0,r.oB)({transform:"translateY(-100%)"}),(0,r.EY)(a,[(0,r.jt)(i,(0,r.oB)({transform:"translateY(0)"}))])],{optional:!0}),(0,r.IO)(":leave",[(0,r.oB)({transform:"translateY(0)"}),(0,r.EY)(a,[(0,r.jt)(i,(0,r.oB)({transform:"translateY(-100%)"}))])],{optional:!0})],o)])},12628:function(t,e,n){"use strict";n.d(e,{v0:function(){return L},fN:function(){return N}});var r=n(74788),i=n(11927),o=n(76480),s=n(57179),c=n(99434),l=n(27103),h=n(75452),f=n(59193),d=n(39761),p=n(88002),v=n(87519),m=n(77320),_=n(54789),b=n(40719),k=n(12057),w=n(91489),C=n(89570),x=["tuiButton",""];function O(t,e){1&t&&r.GkF(0)}function M(t,e){1&t&&r._UZ(0,"tui-svg",8),2&t&&r.Q6J("src",e.polymorpheusOutlet)}function S(t,e){if(1&t&&(r.TgZ(0,"span",6),r.YNc(1,M,1,1,"tui-svg",7),r.qZA()),2&t){var n=r.oxw();r.xp6(1),r.Q6J("polymorpheusOutlet",n.icon)}}function P(t,e){1&t&&r._UZ(0,"tui-svg",8),2&t&&r.Q6J("src",e.polymorpheusOutlet)}function E(t,e){if(1&t&&(r.TgZ(0,"span",9),r.YNc(1,P,1,1,"tui-svg",7),r.qZA()),2&t){var n=r.oxw();r.xp6(1),r.Q6J("polymorpheusOutlet",n.iconRight)}}function A(t,e){if(1&t&&r._UZ(0,"tui-loader",10),2&t){var n=r.oxw();r.Q6J("inheritColor",!0)("size",n.loaderSize)}}var T,I=["*"],D=(0,i.JN)({size:"l",shape:null,appearance:m.Nm.Primary}),L=((T=function(t){a(n,t);var e=u(n);function n(t,r,i){var o,a;return y(this,n),(o=e.call(this)).mode=t,o.el=r,o.options=i,o.mode$=(null===(a=o.mode)||void 0===a?void 0:a.change$)||f.E,o.appearance=null,o.disabled=!1,o.shape=o.options.shape,o.showLoader=!1,o.size=o.options.size,o.appearance$=o.mode$.pipe((0,d.O)(null),(0,p.U)(function(){return o.computedAppearance}),(0,v.x)()),o}return g(n,[{key:"nativeFocusableElement",get:function(){return this.nativeDisabled?null:this.el.nativeElement}},{key:"focused",get:function(){return!this.showLoader&&(0,s.V8)(this.el.nativeElement)}},{key:"loaderSize",get:function(){return"l"===this.size||"xl"===this.size?"m":"s"}},{key:"computedAppearance",get:function(){var t;return null!==(t=this.appearance)&&void 0!==t?t:this.options.appearance||""}},{key:"nativeDisabled",get:function(){return this.computedDisabled||this.showLoader?"":null}},{key:"tabIndex",get:function(){return this.focusable?0:-1}},{key:"onFocused",value:function(t){this.updateFocused(t)}}]),n}(o.Xn)).\u0275fac=function(t){return new(t||T)(r.Y36(h.w,8),r.Y36(r.SBq),r.Y36(D))},T.\u0275cmp=r.Xpm({type:T,selectors:[["button","tuiButton",""],["button","tuiIconButton",""],["a","tuiButton",""],["a","tuiIconButton",""]],hostVars:7,hostBindings:function(t,e){1&t&&r.NdJ("focusin",function(){return e.onFocused(!0)})("focusout",function(){return e.onFocused(!1)}),2&t&&(r.Ikx("tabIndex",e.tabIndex),r.uIk("data-shape",e.shape)("data-size",e.size)("data-appearance",e.computedAppearance)("disabled",e.nativeDisabled),r.ekj("_loading",e.showLoader))},inputs:{appearance:"appearance",disabled:"disabled",icon:"icon",iconRight:"iconRight",shape:"shape",showLoader:"showLoader",size:"size"},features:[r._Bn([(0,c.FT)(T),l.a3]),r.qOj],attrs:x,ngContentSelectors:I,decls:8,vars:10,consts:[[4,"ngIf"],["tuiWrapper","",1,"t-wrapper",3,"active","appearance","disabled","hover"],[1,"t-content"],["class","t-left",4,"ngIf"],["class","t-right",4,"ngIf"],["class","t-loader",3,"inheritColor","size",4,"ngIf"],[1,"t-left"],["class","t-icon",3,"src",4,"polymorpheusOutlet"],[1,"t-icon",3,"src"],[1,"t-right"],[1,"t-loader",3,"inheritColor","size"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,O,1,0,"ng-container",0),r.ALo(1,"async"),r.TgZ(2,"div",1),r.TgZ(3,"span",2),r.YNc(4,S,2,1,"span",3),r.Hsn(5),r.YNc(6,E,2,1,"span",4),r.qZA(),r.YNc(7,A,1,2,"tui-loader",5),r.qZA()),2&t&&(r.Q6J("ngIf",r.lcZ(1,8,e.appearance$)),r.xp6(2),r.Q6J("active",e.pseudoActive)("appearance",e.computedAppearance)("disabled",e.computedDisabled)("hover",e.pseudoHover),r.xp6(2),r.Q6J("ngIf",e.icon),r.xp6(2),r.Q6J("ngIf",e.iconRight),r.xp6(1),r.Q6J("ngIf",e.showLoader))},directives:[k.O5,w.o,C.Li,_.PN,b.kM],pipes:[k.Ov],styles:["[_nghost-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:inline-block;flex-shrink:0;vertical-align:top;border-radius:var(--tui-radius-m);-webkit-user-select:none;-moz-user-select:none;user-select:none;outline:none;color:inherit}[data-shape=rounded][_nghost-%COMP%]{border-radius:6.25rem}[data-size=xs][_nghost-%COMP%]{height:var(--tui-height-xs);font-weight:normal}[data-size=xs][data-shape=square][_nghost-%COMP%], [data-size=xs][tuiIconButton][_nghost-%COMP%]{width:var(--tui-height-xs)}[data-size=s][_nghost-%COMP%]{height:var(--tui-height-s);font-weight:normal}[data-size=s][data-shape=square][_nghost-%COMP%], [data-size=s][tuiIconButton][_nghost-%COMP%]{width:var(--tui-height-s)}[data-size=m][_nghost-%COMP%]{height:var(--tui-height-m);font:var(--tui-font-text-m);font-weight:bold}[data-size=m][data-shape=square][_nghost-%COMP%], [data-size=m][tuiIconButton][_nghost-%COMP%]{width:var(--tui-height-m)}[data-size=l][_nghost-%COMP%]{height:var(--tui-height-l);font:var(--tui-font-text-m);font-weight:bold}[data-size=l][data-shape=square][_nghost-%COMP%], [data-size=l][tuiIconButton][_nghost-%COMP%]{width:var(--tui-height-l)}[data-size=xl][_nghost-%COMP%]{height:3.75rem;font:var(--tui-font-text-m);font-weight:bold}[data-size=xl][data-shape=square][_nghost-%COMP%], [data-size=xl][tuiIconButton][_nghost-%COMP%]{width:3.75rem}[tuiIconButton][_nghost-%COMP%]{font-size:0!important}[tuiIconButton][_nghost-%COMP%] .t-left[_ngcontent-%COMP%], [tuiIconButton][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{margin:0!important}.t-loader[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;cursor:default}.t-left[_ngcontent-%COMP%]{margin-right:.5rem}[data-size=s][_nghost-%COMP%] .t-left[_ngcontent-%COMP%]{margin-right:.375rem}[data-size=xs][_nghost-%COMP%] .t-left[_ngcontent-%COMP%]{margin-right:.25rem}.t-right[_ngcontent-%COMP%]{margin:0 -.25rem 0 .25rem}[data-size=s][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{margin:0 -.25rem 0 .375rem}[data-size=xs][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{margin:0 -.125rem 0 .25rem}.t-icon[_ngcontent-%COMP%]{display:flex;max-width:100%;max-height:100%;align-items:center;justify-content:center}.t-left[_ngcontent-%COMP%], .t-right[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem}[data-size=s][_nghost-%COMP%] .t-left[_ngcontent-%COMP%], [data-size=s][_nghost-%COMP%] .t-right[_ngcontent-%COMP%], [data-size=xs][_nghost-%COMP%] .t-left[_ngcontent-%COMP%], [data-size=xs][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{width:1rem;height:1rem}[tuiIconButton][data-appearance=icon][data-size=s][_nghost-%COMP%] .t-left[_ngcontent-%COMP%], [tuiIconButton][data-appearance=icon][data-size=s][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem}.t-wrapper[_ngcontent-%COMP%]{box-sizing:border-box;cursor:pointer;isolation:isolate}[data-size=xs][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, .375rem)}[data-size=xs][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border-width:1px}[data-size=s][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, .75rem)}[data-size=m][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, 1.5rem)}[data-size=l][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, 2.25rem)}[data-size=xl][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, 2.5rem)}[data-shape=square][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%], [tuiIconButton][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0}.t-content[_ngcontent-%COMP%]{display:flex;height:100%;align-items:center;justify-content:center;text-align:center}._loading[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{opacity:0}"],changeDetection:0}),T),N=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[k.ez,C.wq,w.W,_.EI,b.dS]]}),t}()},75111:function(t,e,n){"use strict";n.d(e,{qi:function(){return I},gX:function(){return D},pc:function(){return N},Rs:function(){return L},vK:function(){return T}});var r=n(97582),i=n(74788),o=n(57179),a=n(33770),s=n(40946),u=n(11927),c=n(64493),l=n(44358),h=n(79588),f=n(79456),d=n(88002),p=n(98952),v=n(11557),m=n(54789),_=n(89570),b=n(12057),k=["tuiOption",""];function w(t,e){if(1&t&&(i.ynx(0),i._uU(1),i.BQk()),2&t){var n=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",n,"\n")}}function C(t,e){if(1&t&&i._UZ(0,"tui-svg",3),2&t){var n=i.oxw(2);i.Q6J("src",n.icons.more)}}function x(t,e){if(1&t&&(i.Hsn(0),i.YNc(1,C,1,1,"tui-svg",2)),2&t){var n=i.oxw();i.xp6(1),i.Q6J("ngIf",n.dropdown)}}var O=function(t){return{$implicit:t}},M=["*"];function S(t,e){if(1&t&&(i.ynx(0),i._uU(1),i.BQk()),2&t){var n=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",n," ")}}function P(t,e){if(1&t&&(i.TgZ(0,"div",2),i.YNc(1,S,2,1,"ng-container",3),i.ALo(2,"async"),i.qZA()),2&t){var n=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",n.emptyContent||i.lcZ(2,1,n.defaultEmptyContent$))}}function E(t){var e=t.currentTarget;return!(0,o.V8)(e)}var A,T=((A=function(){function t(e,n,r,i,o,a){y(this,t),this.content=e,this.dataList=n,this.el=r,this.host=i,this.dropdown=o,this.icons=a,this.size=null,this.role="option",this.disabled=!1}return g(t,[{key:"active",get:function(){return!!this.dropdown&&!!this.dropdown.dropdownBoxRef}},{key:"onClick",value:function(){this.host&&void 0!==this.value&&this.host.handleOption(this.value)}},{key:"onMouseMove",value:function(t){t.currentTarget.focus({preventScroll:!0})}},{key:"ngOnDestroy",value:function(){var t;null===(t=this.dataList)||void 0===t||t.handleFocusLossIfNecessary(this.el.nativeElement)}}]),t}()).\u0275fac=function(t){return new(t||A)(i.Y36(f.IQ,8),i.Y36((0,i.Gpc)(function(){return I}),8),i.Y36(i.SBq),i.Y36(f.N1,8),i.Y36(p.td,10),i.Y36(f.Gs))},A.\u0275cmp=i.Xpm({type:A,selectors:[["button","tuiOption",""],["a","tuiOption",""]],hostAttrs:["tabIndex","-1","type","button"],hostVars:5,hostBindings:function(t,e){1&t&&i.NdJ("click",function(){return e.onClick()})("mousemove.silent",function(t){return e.onMouseMove(t)}),2&t&&(i.uIk("disabled",e.disabled||null)("data-size",e.size)("role",e.role),i.ekj("_with-dropdown",e.active))},inputs:{size:"size",role:"role",disabled:"disabled",value:"value"},attrs:k,ngContentSelectors:M,decls:3,vars:4,consts:[[4,"polymorpheusOutlet","polymorpheusOutletContext"],["base",""],["class","t-arrow",3,"src",4,"ngIf"],[1,"t-arrow",3,"src"]],template:function(t,e){if(1&t&&(i.F$t(),i.YNc(0,w,2,1,"ng-container",0),i.YNc(1,x,2,1,"ng-template",null,1,i.W1O)),2&t){var n=i.MAs(2);i.Q6J("polymorpheusOutlet",e.content||n)("polymorpheusOutletContext",i.VKq(2,O,n))}},directives:[_.Li,b.O5,m.PN],styles:['[_nghost-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;justify-content:space-between;text-align:left;color:var(--tui-text-01);border-radius:var(--tui-radius-s);outline:none;cursor:pointer;background-clip:padding-box}[_nghost-%COMP%]:disabled{opacity:var(--tui-disabled-opacity);cursor:default}[_nghost-%COMP%]:focus, ._with-dropdown[_nghost-%COMP%]{background-color:var(--tui-clear)}[_nghost-%COMP%] [data-list-size="s"][_nghost-%COMP%], [data-list-size="s"] [_nghost-%COMP%], [_nghost-%COMP%] [data-list-size="xs"][_nghost-%COMP%], [data-list-size="xs"] [_nghost-%COMP%], [data-size=s][data-size=s][_nghost-%COMP%], [data-size=xs][data-size=xs][_nghost-%COMP%]{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-s);min-height:2rem;padding:.3125rem .5rem}[_nghost-%COMP%] [data-list-size="m"][_nghost-%COMP%], [data-list-size="m"] [_nghost-%COMP%], [data-size=m][data-size=m][_nghost-%COMP%]{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-s);min-height:2.5rem;padding:.375rem .5rem}[_nghost-%COMP%] [data-list-size="l"][_nghost-%COMP%], [data-list-size="l"] [_nghost-%COMP%], [data-size=l][data-size=l][_nghost-%COMP%]{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-m);min-height:2.75rem;padding:.375rem .625rem}.t-arrow[_ngcontent-%COMP%]{margin:0 -.5rem 0 .75rem}'],changeDetection:0}),(0,r.gn)([(0,v.uX)(E)],A.prototype,"onMouseMove",null),A),I=function(){var t=function(){function t(e,n,r){var i;y(this,t),this.controller=e,this.el=n,this.defaultEmptyContent$=r,this.options=a.Mm,this.role="listbox",this.size=(null===(i=this.controller)||void 0===i?void 0:i.size)||"m"}return g(t,[{key:"empty$",get:function(){return(0,s.ll)(this.options).pipe((0,d.U)(function(t){return!t.length}))}},{key:"onFocusIn",value:function(t,e){!e.contains(t)&&!this.origin&&(this.origin=t)}},{key:"noop",value:function(){}},{key:"onKeyDownArrow",value:function(t,e){var n=this.elements;(0,o.VR)(n.indexOf(t),n,e)}},{key:"handleFocusLossIfNecessary",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.el.nativeElement;this.origin&&(0,o.zb)(t)&&(0,o.Pg)(this.origin,!0,!0)}},{key:"getOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.options.filter(function(e){var n=e.disabled;return t||!n}).map(function(t){return t.value}).filter(u.Pc)}},{key:"onFocus",value:function(t,e){var n=t.target;if((0,c.ve)(n)){var r=this.elements;(0,o.VR)(e?-1:r.length,r,e?1:-1),this.handleFocusLossIfNecessary(n)}}},{key:"elements",get:function(){return Array.from(this.el.nativeElement.querySelectorAll("[tuiOption]"))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Y36(h.Cs,8),i.Y36(i.SBq),i.Y36(f.PH))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-data-list"]],contentQueries:function(t,e,n){var r;(1&t&&i.Suo(n,T,5),2&t)&&(i.iGM(r=i.CRH())&&(e.options=r))},hostVars:2,hostBindings:function(t,e){1&t&&i.NdJ("focusin",function(t){return e.onFocusIn(t.relatedTarget,t.currentTarget)})("mousedown.prevent",function(){return e.noop()})("keydown.arrowDown.prevent",function(t){return e.onKeyDownArrow(t.target,1)})("keydown.arrowUp.prevent",function(t){return e.onKeyDownArrow(t.target,-1)})("wheel.silent.passive",function(){return e.handleFocusLossIfNecessary()})("mouseleave",function(t){return e.handleFocusLossIfNecessary(t.target)}),2&t&&i.uIk("role",e.role)("data-list-size",e.size)},inputs:{role:"role",emptyContent:"emptyContent",size:"size"},features:[i._Bn([(0,f.RB)(t),h.Y0])],ngContentSelectors:M,decls:5,vars:3,consts:[["tabindex","0",1,"t-trap",3,"focusin"],["class","t-empty",4,"ngIf"],[1,"t-empty"],[4,"polymorpheusOutlet"]],template:function(t,e){1&t&&(i.F$t(),i.TgZ(0,"div",0),i.NdJ("focusin",function(t){return e.onFocus(t,!0)}),i.qZA(),i.Hsn(1),i.YNc(2,P,3,3,"div",1),i.ALo(3,"async"),i.TgZ(4,"div",0),i.NdJ("focusin",function(t){return e.onFocus(t,!1)}),i.qZA()),2&t&&(i.xp6(2),i.Q6J("ngIf",i.lcZ(3,1,e.empty$)))},directives:[b.O5,_.Li],pipes:[b.Ov],styles:['tui-data-list{--tui-data-list-padding: .25rem;--tui-data-list-margin: .0625rem;display:flex;font:var(--tui-font-text-m);flex-direction:column;padding:calc(var(--tui-data-list-padding) - var(--tui-data-list-margin)) var(--tui-data-list-padding);color:var(--tui-text-03)}tui-data-list:focus-within .t-trap{display:none}tui-data-list:focus-within [tuiOption]._with-dropdown:not(:focus){background-color:transparent}tui-data-list[data-list-size=s]{--tui-data-list-margin: 0rem}tui-data-list[data-list-size=s]>.t-empty{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-s);min-height:2rem;padding:.3125rem .5rem}tui-data-list[data-list-size=m]>.t-empty{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-s);min-height:2.5rem;padding:.375rem .5rem}tui-data-list[data-list-size=l]{--tui-data-list-padding: .375rem;--tui-data-list-margin: .125rem}tui-data-list[data-list-size=l]>.t-empty{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-m);min-height:2.75rem;padding:.375rem .625rem}tui-opt-group{position:relative;display:flex;font:var(--tui-font-text-xs);color:var(--tui-text-02);flex-direction:column;line-height:1rem}tui-data-list[data-list-size=l] tui-opt-group{font:var(--tui-font-text-s);line-height:1.25rem}tui-data-list[data-list-size=l] tui-opt-group:before{padding-left:.625rem;padding-right:.625rem}tui-data-list[data-list-size=l] tui-opt-group:after{left:.625rem;right:.625rem}tui-opt-group:empty:before,tui-opt-group:empty:after{display:none}tui-opt-group:before{content:attr(data-label);padding:var(--tui-data-list-padding) .5rem var(--tui-data-list-padding);margin:var(--tui-data-list-margin) 0;white-space:normal;word-break:break-word}tui-opt-group:after{position:absolute;left:.5rem;right:.5rem;top:var(--tui-data-list-padding);height:1px;background:var(--tui-base-03)}tui-opt-group:not(:empty)~tui-opt-group:before{padding-top:calc(.75rem + var(--tui-data-list-padding))}tui-opt-group:not(:empty)~tui-opt-group[data-label=""]:before,tui-opt-group:not(:empty)~tui-opt-group:not([data-label]):before{padding:var(--tui-data-list-padding) 0}tui-opt-group:not(:empty)~tui-opt-group:after{content:""}tui-opt-group[data-label=""]:before,tui-opt-group:not([data-label]):before{padding:0;margin:0}\n'],encapsulation:2,changeDetection:0}),(0,r.gn)([l.UM],t.prototype,"empty$",null),t}(),D=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["ng-template","tuiDataList",""]]}),t}(),L=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["tui-opt-group"]],hostAttrs:["role","group"],hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("data-label",e.label)},inputs:{label:"label"}}),t}(),N=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[b.ez,m.EI,_.wq]]}),t}()},95974:function(t,e,n){"use strict";n.d(e,{gZ:function(){return u},n6:function(){return c}});var r,i=n(74788),o=n(27103),a=n(12057),s=((r=g(function t(){y(this,t)})).\u0275fac=function(t){return new(t||r)},r.\u0275cmp=i.Xpm({type:r,selectors:[["ng-component"]],hostAttrs:[1,"tui-group-styles"],decls:0,vars:0,template:function(t,e){},styles:[".tui-group{position:relative;display:flex;isolation:isolate}.tui-group>*{flex:1 1 0;min-width:0}.tui-group>*:not(:last-child){margin-right:.125rem}.tui-group.tui-group>*:nth-child(n){border-radius:0}.tui-group_collapsed>*{z-index:1}.tui-group_collapsed>*:not(:last-child){margin-right:-1px}.tui-group_collapsed>*._readonly,.tui-group_collapsed>*._disabled,.tui-group_collapsed>*._readonly:hover,.tui-group_collapsed>*._disabled:hover{z-index:0}.tui-group_collapsed>*:hover,.tui-group_collapsed>*._hovered,.tui-group_collapsed>*._pressed{z-index:3}.tui-group_collapsed>*._invalid{z-index:2}.tui-group_collapsed>*._invalid:hover,.tui-group_collapsed>*._invalid._hovered,.tui-group_collapsed>*._invalid._pressed{z-index:4}.tui-group_collapsed>*._hosted_dropdown_focused,.tui-group_collapsed>*._focus-visible,.tui-group_collapsed>*._focused.ng-touched,.tui-group_collapsed>*._focused.ng-untouched{z-index:5}.tui-group_collapsed>*._active,.tui-group_collapsed>*[data-appearance=whiteblock-active]{z-index:6}.tui-group_collapsed>*._focus-visible._focused,.tui-group_collapsed>*._focus-visible._active,.tui-group_collapsed>*._focus-visible[data-appearance=whiteblock-active]{z-index:7}.tui-group_orientation_vertical{display:inline-flex;flex-direction:column}.tui-group_orientation_vertical>*{min-height:auto;flex:0 0 auto}.tui-group_orientation_vertical>*:not(:last-child){margin-right:0;margin-bottom:.125rem}.tui-group_orientation_vertical.tui-group_collapsed>*:not(:last-child){margin-right:0;margin-bottom:-1px}.tui-group_rounded.tui-group_orientation_horizontal>*:first-child{border-top-left-radius:var(--tui-radius-m);border-bottom-left-radius:var(--tui-radius-m)}.tui-group_rounded.tui-group_orientation_horizontal>*:last-child{border-top-right-radius:var(--tui-radius-m);border-bottom-right-radius:var(--tui-radius-m)}.tui-group_rounded.tui-group_orientation_horizontal.tui-group_radius_large>*:first-child{border-top-left-radius:var(--tui-radius-l);border-bottom-left-radius:var(--tui-radius-l)}.tui-group_rounded.tui-group_orientation_horizontal.tui-group_radius_large>*:last-child{border-top-right-radius:var(--tui-radius-l);border-bottom-right-radius:var(--tui-radius-l)}.tui-group_rounded.tui-group_orientation_vertical>*:first-child{border-top-left-radius:var(--tui-radius-m);border-top-right-radius:var(--tui-radius-m)}.tui-group_rounded.tui-group_orientation_vertical>*:last-child{border-bottom-left-radius:var(--tui-radius-m);border-bottom-right-radius:var(--tui-radius-m)}.tui-group_rounded.tui-group_orientation_vertical.tui-group_radius_large>*:first-child{border-top-left-radius:var(--tui-radius-l);border-top-right-radius:var(--tui-radius-l)}.tui-group_rounded.tui-group_orientation_vertical.tui-group_radius_large>*:last-child{border-bottom-left-radius:var(--tui-radius-l);border-bottom-right-radius:var(--tui-radius-l)}@media screen and (max-width: 47.9625em){.tui-group_rounded.tui-group_adaptive.tui-group_orientation_vertical:not(.tui-group_collapsed)>*:first-child:not(:last-child),.tui-group_rounded.tui-group_adaptive.tui-group_orientation_horizontal>*:first-child:not(:last-child),.tui-group_rounded.tui-group_adaptive.tui-group_orientation_vertical:not(.tui-group_collapsed)>*:last-child:not(:first-child),.tui-group_rounded.tui-group_adaptive.tui-group_orientation_horizontal>*:last-child:not(:first-child){border-radius:var(--tui-radius-m)}}@media screen and (max-width: 47.9625em){.tui-group_rounded.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical:not(.tui-group_collapsed)>*:first-child:not(:last-child),.tui-group_rounded.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal>*:first-child:not(:last-child),.tui-group_rounded.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical:not(.tui-group_collapsed)>*:last-child:not(:first-child),.tui-group_rounded.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal>*:last-child:not(:first-child){border-radius:var(--tui-radius-l)}}@media screen and (max-width: 47.9625em){.tui-group_adaptive.tui-group_orientation_vertical{width:100%}.tui-group_adaptive.tui-group_orientation_vertical>*:nth-child(n):not(:only-child){border-radius:var(--tui-radius-m)}.tui-group_adaptive.tui-group_orientation_vertical>*:not(:last-child){margin-bottom:1rem}.tui-group_adaptive.tui-group_orientation_vertical.tui-group_collapsed>*:nth-child(n):not(:only-child){border-radius:0}.tui-group_adaptive.tui-group_orientation_vertical.tui-group_collapsed>*:first-child:not(:last-child){border-radius:var(--tui-radius-m) var(--tui-radius-m) 0 0}.tui-group_adaptive.tui-group_orientation_vertical.tui-group_collapsed>*:last-child:not(:first-child){border-radius:0 0 var(--tui-radius-m) var(--tui-radius-m)}.tui-group_adaptive.tui-group_orientation_vertical.tui-group_collapsed>*:not(:last-child){margin-bottom:-1px}}@media screen and (max-width: 47.9625em){.tui-group_adaptive.tui-group_orientation_horizontal{flex-direction:column;width:100%}.tui-group_adaptive.tui-group_orientation_horizontal>*:nth-child(n):not(:only-child){border-radius:var(--tui-radius-m)}.tui-group_adaptive.tui-group_orientation_horizontal>*:not(:last-child){margin-right:0;margin-bottom:1rem}.tui-group_adaptive.tui-group_orientation_horizontal.tui-group_collapsed>*:nth-child(n):not(:only-child){border-radius:0}.tui-group_adaptive.tui-group_orientation_horizontal.tui-group_collapsed>*:first-child:not(:last-child){border-radius:var(--tui-radius-m) var(--tui-radius-m) 0 0}.tui-group_adaptive.tui-group_orientation_horizontal.tui-group_collapsed>*:last-child:not(:first-child){border-radius:0 0 var(--tui-radius-m) var(--tui-radius-m)}.tui-group_adaptive.tui-group_orientation_horizontal.tui-group_collapsed>*:not(:last-child){margin-right:0;margin-bottom:-1px}}@media screen and (max-width: 47.9625em){.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical>*:nth-child(n):not(:only-child){border-radius:var(--tui-radius-l)}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical.tui-group_collapsed>*:nth-child(n):not(:only-child){border-radius:0}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical.tui-group_collapsed>*:first-child:not(:last-child){border-radius:var(--tui-radius-l) var(--tui-radius-l) 0 0}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical.tui-group_collapsed>*:last-child:not(:first-child){border-radius:0 0 var(--tui-radius-l) var(--tui-radius-l)}}@media screen and (max-width: 47.9625em){.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal>*:nth-child(n):not(:only-child){border-radius:var(--tui-radius-l)}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal.tui-group_collapsed>*:nth-child(n):not(:only-child){border-radius:0}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal.tui-group_collapsed>*:first-child:not(:last-child){border-radius:var(--tui-radius-l) var(--tui-radius-l) 0 0}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal.tui-group_collapsed>*:last-child:not(:first-child){border-radius:0 0 var(--tui-radius-l) var(--tui-radius-l)}}.tui-group__auto-width-item{min-width:auto;flex:0 0 auto}.tui-group .tui-group__inherit-item{border-radius:inherit}\n"],encapsulation:2,changeDetection:0}),r),u=function(){var t=function(){function t(e){y(this,t),this.orientation="horizontal",this.adaptive=!1,this.collapsed=!1,this.rounded=!0,this.size="m",e.addComponent(s)}return g(t,[{key:"orientationHorizontal",get:function(){return"horizontal"===this.orientation}},{key:"orientationVertical",get:function(){return"vertical"===this.orientation}},{key:"sizeLarge",get:function(){return"l"===this.size}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Y36(o.gH))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiGroup","",5,"ng-container"]],hostAttrs:["role","group",1,"tui-group"],hostVars:12,hostBindings:function(t,e){2&t&&i.ekj("tui-group_adaptive",e.adaptive)("tui-group_collapsed",e.collapsed)("tui-group_rounded",e.rounded)("tui-group_orientation_horizontal",e.orientationHorizontal)("tui-group_orientation_vertical",e.orientationVertical)("tui-group_radius_large",e.sizeLarge)},inputs:{orientation:"orientation",adaptive:"adaptive",collapsed:"collapsed",rounded:"rounded",size:"size"}}),t}(),c=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[a.ez]]}),t}()},23917:function(t,e,n){"use strict";n.d(e,{o1:function(){return Q},jh:function(){return W}});var r,i=n(74788),o=n(43631),s=n(221),c=n(40946),l=n(27103),h=n(79765),f=n(88002),d=((r=function(){function t(e,n){y(this,t),this.enabled$=new h.xQ;var r=n.pipe((0,f.U)(function(t){return!!t&&(!e||!t.length||t.every(function(t){return!e.contains(t)}))}));this.tuiObscured=this.enabled$.pipe((0,c.Xd)(function(){return r}))}return g(t,[{key:"tuiObscuredEnabled",set:function(t){this.enabled$.next(t)}}]),t}()).\u0275fac=function(t){return new(t||r)(i.Y36(s.e,8),i.Y36(l.AQ,2))},r.\u0275dir=i.lG2({type:r,selectors:[["","tuiObscured",""]],inputs:{tuiObscuredEnabled:"tuiObscuredEnabled"},outputs:{tuiObscured:"tuiObscured"},features:[i._Bn([l.AQ,l.b0,l.a3])]}),r),v=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t}(),m=n(92668),_=n(64493),b=n(57179),k=n(99434),w=n(98952),C=n(45435),x=n(46782),O=n(43190),M=n(87874),S=n(13653),P=n(87519),E=n(9945),A=n(26215),T=n(9112),I=n(25917),D=n(59193),L=n(66682),N=n(97582),z=n(66640),F=n(11557),R=n(89570),j=n(12057),B=["wrapper"];function V(t,e){if(1&t&&(i.TgZ(0,"div",8),i._uU(1),i.qZA()),2&t){var n=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",n," ")}}var Y=function(t,e){return{$implicit:t,close:e}};function Z(t,e){if(1&t){var n=i.EpF();i.TgZ(0,"div",5,6),i.NdJ("keydown",function(t){return i.CHM(n),i.oxw(2).onKeydown(t)}),i.YNc(2,V,2,1,"div",7),i.qZA(),i._UZ(3,"div")}if(2&t){i.oxw();var r=i.MAs(1),o=i.oxw();i.xp6(2),i.Q6J("polymorpheusOutlet",o.content)("polymorpheusOutletContext",i.WLB(2,Y,r,o.close))}}function q(t,e){if(1&t){var n=i.EpF();i.TgZ(0,"div",1,2),i.NdJ("tuiActiveZoneChange",function(t){return i.CHM(n),i.oxw().onActiveZone(t)})("tuiObscured",function(t){return i.CHM(n),i.oxw().onHostObscured(t)}),i.Hsn(2),i.YNc(3,Z,4,5,"ng-template",3,4,i.W1O),i.qZA()}if(2&t){var r=e.tuiLet,o=i.MAs(4),a=i.oxw();i.Q6J("tuiDropdown",o)("tuiDropdownManual",r&&a.canOpen)("tuiDropdownSided",a.sided)("tuiObscuredEnabled",r),i.xp6(3),i.Q6J("polymorpheus",a.context)}}var U=["*"],H=function(){var t,e=function(t){a(n,t);var e=u(n);function n(){var t;return y(this,n),(t=e.apply(this,arguments)).type="dummy",t}return g(n,[{key:"getPosition",value:function(){return[0,0]}}]),n}(o.uG);return e.\u0275fac=function(n){return(t||(t=i.n5z(e)))(n||e)},e.\u0275dir=i.lG2({type:e,selectors:[["","tuiAccessorProxy",""]],features:[i._Bn([{provide:o.uG,multi:!0,deps:[[new i.FiY,new i.tp0,e],e],useFactory:function(t,e){return t||e}}]),i.qOj]}),e}(),G=new i.OlP("[TUI_HOSTED_DROPDOWN_COMPONENT]"),J=function(){var t=g(function t(e,n,r,i){y(this,t),null==i||i.tuiDropdownOpenChange.pipe((0,C.h)(function(t){return t&&i.dropdown===r&&!n.focused}),(0,x.R)(e)).subscribe(function(){var t;null===(t=n.nativeFocusableElement)||void 0===t||t.focus(),n.updateOpen(!0)})});return t.\u0275fac=function(e){return new(e||t)(i.Y36(l.a3,2),i.Y36(G),i.Y36(w.td,2),i.Y36(w.oH,8))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiDropdownOpenMonitor",""]],features:[i._Bn([l.a3])]}),t}(),X=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiHostedDropdownHost",""]]}),t}();function $(t){var e;return"key"in t&&"escape"===t.key.toLowerCase()&&this.canOpen&&this.open&&!(null===(e=this.dropdown)||void 0===e?void 0:e.nextElementSibling)}var Q=function(){var t=function(){function t(e,n){var r=this;y(this,t),this.hover$=e,this.el=n,this.focus$=new A.X(!1),this.openChange=new A.X(!1),this.sided=!1,this.canOpen=!0,this.hostHover$=(0,T.aj)([(0,c.mL)(this.el.nativeElement,"mouseover").pipe((0,f.U)(function(t){return r.computedHost.contains((0,_.mA)(t))}),(0,O.w)(function(t){var e,n;return(0,I.of)(t).pipe((0,M.g)((t?null===(e=r.hover$)||void 0===e?void 0:e.showDelay:null===(n=r.hover$)||void 0===n?void 0:n.hideDelay)||0))})),this.hover$||D.E]).pipe((0,f.U)(function(t){var e=p(t,2),n=e[0],r=e[1];return n&&r})),this.open$=(0,L.T)(this.openChange,this.hostHover$).pipe((0,S.T)(1),(0,P.x)(),(0,E.B)()),this.focusedChange=new i.vpe,this.close=function(){return r.updateOpen(!1)}}return g(t,[{key:"open",get:function(){return this.openChange.value},set:function(t){this.openChange.next(t)}},{key:"host",get:function(){var t;return(null===(t=this.dropdownHost)||void 0===t?void 0:t.nativeElement)||this.el.nativeElement}},{key:"computedHost",get:function(){var t;return(null===(t=this.dropdownHost)||void 0===t?void 0:t.nativeElement)||this.nativeFocusableElement||this.el.nativeElement}},{key:"dropdown",get:function(){var t,e;return null===(e=null===(t=this.dropdownDirective)||void 0===t?void 0:t.dropdownBoxRef)||void 0===e?void 0:e.location.nativeElement}},{key:"nativeFocusableElement",get:function(){return(0,b.dT)(this.host)?this.host:(0,b.BW)({initial:this.host,root:this.el.nativeElement})}},{key:"focused",get:function(){return(0,b.zb)(this.host)||this.open&&!!this.wrapper&&(0,b.zb)(this.wrapper.nativeElement)}},{key:"onFocusInOut",value:function(){this.focus$.next(this.focused)}},{key:"onFocusIn",value:function(t){this.computedHost.contains(t)||this.updateOpen(!1)}},{key:"onClick",value:function(t){var e;!this.hostEditable&&this.computedHost.contains(t)&&!(null===(e=this.hover$)||void 0===e?void 0:e.hovered)&&this.updateOpen(!this.open)}},{key:"onKeyDownEsc",value:function(t){t.preventDefault(),this.closeDropdown()}},{key:"onArrow",value:function(t,e){this.focusDropdown(t,e)}},{key:"onKeydown",value:function(t){var e=t.key,n=t.target;!t.defaultPrevented&&(0,z.kL)(e)&&this.hostEditable&&(0,_.dW)(n)&&!(0,_.Hn)(n)&&this.focusHost()}},{key:"onActiveZone",value:function(t){this.updateFocused(t),t||this.updateOpen(!1)}},{key:"onHostObscured",value:function(t){t&&this.closeDropdown()}},{key:"updateOpen",value:function(t){(!t||this.canOpen)&&(this.open=t)}},{key:"hostEditable",get:function(){return(0,_.Hn)(this.computedHost)}},{key:"focusDropdown",value:function(t,e){var n=this.nativeFocusableElement;if(n&&(0,_.dW)(n)&&(0,_.ve)(t.target)&&n.contains(t.target)){if(!(this.wrapper&&this.open&&this.dropdown&&(0,_.dW)(this.wrapper.nativeElement.nextElementSibling)))return this.updateOpen(!0),void((0,_.Hn)(n)||t.preventDefault());var r=(0,b.BW)({initial:e?this.wrapper.nativeElement:this.wrapper.nativeElement.nextElementSibling,root:this.wrapper.nativeElement,previous:!e});!r||(r.focus(),t.preventDefault())}}},{key:"closeDropdown",value:function(){this.focused&&this.focusHost(),this.updateOpen(!1)}},{key:"focusHost",value:function(){var t=this.nativeFocusableElement;t&&t.focus({preventScroll:!0})}},{key:"updateFocused",value:function(t){this.focusedChange.emit(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Y36(w.E$,10),i.Y36(i.SBq))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-hosted-dropdown"]],contentQueries:function(t,e,n){var r;(1&t&&i.Suo(n,X,5,i.SBq),2&t)&&(i.iGM(r=i.CRH())&&(e.dropdownHost=r.first))},viewQuery:function(t,e){var n;(1&t&&(i.Gf(B,5,i.SBq),i.Gf(w.td,5),i.Gf(s.e,5)),2&t)&&(i.iGM(n=i.CRH())&&(e.wrapper=n.first),i.iGM(n=i.CRH())&&(e.dropdownDirective=n.first),i.iGM(n=i.CRH())&&(e.activeZone=n.first))},hostVars:1,hostBindings:function(t,e){1&t&&i.NdJ("$.class._hosted_dropdown_focused",function(){return e.focus$})("focusin.capture.silent",function(){return e.onFocusInOut()})("focusout.capture.silent",function(){return e.onFocusInOut()})("focusin",function(t){return e.onFocusIn(t.target)})("click",function(t){return e.onClick(t.target)})("keydown.silent.capture",function(t){return e.onKeyDownEsc(t)},!1,i.evT)("keydown.arrowDown",function(t){return e.onArrow(t,!0)})("keydown.arrowUp",function(t){return e.onArrow(t,!1)}),2&t&&i.Ikx("$.class._hosted_dropdown_focused",e.focus$)},inputs:{content:"content",sided:"sided",canOpen:"canOpen",open:"open"},outputs:{open$:"openChange",focusedChange:"focusedChange"},features:[i._Bn([(0,k.FT)(t),{provide:H,deps:[[new i.FiY,new i.PiD,o.uG]],useFactory:function(t){return null==t?void 0:t[0]}},{provide:G,useExisting:t}])],ngContentSelectors:U,decls:2,vars:3,consts:[["tuiAccessorProxy","","tuiDropdownOpenMonitor","","class","t-wrapper",3,"tuiDropdown","tuiDropdownManual","tuiDropdownSided","tuiObscuredEnabled","tuiActiveZoneChange","tuiObscured",4,"tuiLet"],["tuiAccessorProxy","","tuiDropdownOpenMonitor","",1,"t-wrapper",3,"tuiDropdown","tuiDropdownManual","tuiDropdownSided","tuiObscuredEnabled","tuiActiveZoneChange","tuiObscured"],["activeZone","tuiActiveZone"],[3,"polymorpheus"],["dropdown","polymorpheus"],[1,"t-dropdown",3,"keydown"],["wrapper",""],["class","t-primitive",4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-primitive"]],template:function(t,e){var n;(1&t&&(i.F$t(),i.YNc(0,q,5,5,"div",0),i.ALo(1,"async")),2&t)&&i.Q6J("tuiLet",null!==(n=i.lcZ(1,1,e.open$))&&void 0!==n?n:e.openChange.value)},directives:[m.Ls,H,J,w.td,w.VC,w.Tp,w.Cw,s.e,d,R.GL,R.Li],pipes:[j.Ov],styles:["[_nghost-%COMP%]{display:inline-flex}.t-wrapper[_ngcontent-%COMP%]{border-radius:inherit;height:inherit;flex:1 1 auto;width:100%}.t-dropdown[_ngcontent-%COMP%]{height:100%}.t-primitive[_ngcontent-%COMP%]{padding:1rem}"],changeDetection:0}),(0,N.gn)([(0,F.uX)($)],t.prototype,"onKeyDownEsc",null),t}(),W=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[j.ez,R.wq,m.WD,v,s.A,w.dp]]}),t}()},82847:function(t,e,n){"use strict";n.d(e,{V:function(){return w},j:function(){return C}});var r=n(74788),i=n(40946),o=n(33770),a=n(57179),s=n(27103),u=n(99434),c=n(12130),l=n(79456),h=n(66682),f=n(88002),d=n(54789),p=n(12057),v=["tuiLink",""];function m(t,e){if(1&t&&r._UZ(0,"tui-svg",3),2&t){var n=r.oxw();r.Q6J("src",n.icon||"")}}function _(t,e){if(1&t&&r._UZ(0,"tui-svg",4),2&t){var n=r.oxw();r.Q6J("src",n.icon||"")}}var b,k=["*"],w=((b=function(){function t(e,n,r){var a=this;y(this,t),this.el=e,this.mode$=n,this.pseudo=!1,this.icon="",this.iconAlign="right",this.iconRotated=!1,this.mode=null,this.focusVisible=!1,this.focusedChange=(0,h.T)((0,i.mL)(this.el.nativeElement,"focusin").pipe((0,f.U)(o.Ye)),(0,i.mL)(this.el.nativeElement,"focusout").pipe((0,f.U)(o.Iy))),r.subscribe(function(t){a.focusVisible=t})}return g(t,[{key:"nativeFocusableElement",get:function(){return this.el.nativeElement}},{key:"focused",get:function(){return(0,a.V8)(this.nativeFocusableElement)}},{key:"hasIcon",get:function(){return!!this.icon}},{key:"iconAlignLeft",get:function(){return this.hasIcon&&"left"===this.iconAlign}},{key:"iconAlignRight",get:function(){return this.hasIcon&&"right"===this.iconAlign}}]),t}()).\u0275fac=function(t){return new(t||b)(r.Y36(r.SBq),r.Y36(l.Au),r.Y36(s.ku))},b.\u0275cmp=r.Xpm({type:b,selectors:[["a","tuiLink",""],["button","tuiLink",""]],hostVars:7,hostBindings:function(t,e){1&t&&r.NdJ("$.data-mode.attr",function(){return e.mode$}),2&t&&(r.uIk("data-host-mode",e.mode),r.ekj("_pseudo",e.pseudo)("_icon-rotated",e.iconRotated)("_focus-visible",e.focusVisible))},inputs:{pseudo:"pseudo",icon:"icon",iconAlign:"iconAlign",iconRotated:"iconRotated",mode:"mode"},exportAs:["tuiLink"],features:[r._Bn([(0,u.FT)(b),s.ku,s.a3,c.CV])],attrs:v,ngContentSelectors:k,decls:4,vars:2,consts:[["class","t-icon t-icon_left",3,"src",4,"ngIf"],[1,"t-content"],["class","t-icon t-icon_right",3,"src",4,"ngIf"],[1,"t-icon","t-icon_left",3,"src"],[1,"t-icon","t-icon_right",3,"src"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,m,1,1,"tui-svg",0),r.TgZ(1,"span",1),r.Hsn(2),r.qZA(),r.YNc(3,_,1,1,"tui-svg",2)),2&t&&(r.Q6J("ngIf",e.iconAlignLeft),r.xp6(3),r.Q6J("ngIf",e.iconAlignRight))},directives:[p.O5,d.PN],styles:["[_nghost-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;transition-property:color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;color:var(--tui-link);text-align:left;text-transform:inherit;font-weight:inherit;cursor:pointer;outline:none}[_nghost-%COMP%]:hover{color:var(--tui-link-hover)}[_nghost-%COMP%]:disabled{opacity:var(--tui-disabled-opacity);cursor:default}[data-mode=onLight][_nghost-%COMP%]{color:var(--tui-text-02)}[data-mode=onLight][_nghost-%COMP%]:hover, [data-mode=onLight]._active[_nghost-%COMP%]{color:var(--tui-text-01)}[data-mode=onLight]._pseudo[_nghost-%COMP%]{color:var(--tui-text-01)}[data-mode=onLight]._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{-webkit-text-decoration-color:rgba(0,0,0,.48);text-decoration-color:#0000007a}[data-mode=onLight]._pseudo[_nghost-%COMP%]:hover, [data-mode=onLight]._pseudo._active[_nghost-%COMP%]{color:var(--tui-text-03)}[data-mode=onLight][data-host-mode=negative][_nghost-%COMP%]{color:var(--tui-negative-night)}[data-mode=onLight][data-host-mode=negative][_nghost-%COMP%]:hover, [data-mode=onLight][data-host-mode=negative][_nghost-%COMP%]:active, [data-mode=onLight][data-host-mode=negative]._active[_nghost-%COMP%]{color:var(--tui-negative-night-hover)}[data-mode=onDark][_nghost-%COMP%]{color:var(--tui-text-03-night)}[data-mode=onDark][_nghost-%COMP%]:hover, [data-mode=onDark][_nghost-%COMP%]:active, [data-mode=onDark]._active[_nghost-%COMP%]{color:var(--tui-text-01-night)}[data-mode=onDark]._pseudo[_nghost-%COMP%]{color:var(--tui-text-01-night)}[data-mode=onDark]._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{-webkit-text-decoration-color:rgba(255,255,255,.48);text-decoration-color:#ffffff7a}[data-mode=onDark]._pseudo[_nghost-%COMP%]:hover, [data-mode=onDark]._pseudo[_nghost-%COMP%]:active, [data-mode=onDark]._pseudo._active[_nghost-%COMP%]{color:var(--tui-text-03-night)}[data-mode=onDark][data-host-mode=positive][_nghost-%COMP%]{color:var(--tui-positive-night)}[data-mode=onDark][data-host-mode=positive][_nghost-%COMP%]:hover, [data-mode=onDark][data-host-mode=positive][_nghost-%COMP%]:active, [data-mode=onDark][data-host-mode=positive]._active[_nghost-%COMP%]{color:var(--tui-positive-night-hover)}[data-host-mode=negative][_nghost-%COMP%]{color:var(--tui-negative)}[data-host-mode=negative][_nghost-%COMP%]:hover{color:var(--tui-negative-hover)}[data-host-mode=negative]._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{-webkit-text-decoration-color:rgba(222,76,30,.48);text-decoration-color:#de4c1e7a}[data-host-mode=positive][_nghost-%COMP%]{color:var(--tui-positive)}[data-host-mode=positive][_nghost-%COMP%]:hover{color:var(--tui-positive-hover)}[data-host-mode=positive]._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{-webkit-text-decoration-color:rgba(58,169,129,.48);text-decoration-color:#3aa9817a}._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-selection)}[data-mode=onLight]._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-clear);color:var(--tui-text-01)}[data-mode=onDark]._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-clear-inverse);color:var(--tui-text-01-night)}[data-host-mode=positive]._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-success-bg)}[data-host-mode=negative]._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-error-bg)}._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding-bottom:.15em;-webkit-text-decoration:underline dashed rgba(51,111,238,.48);text-decoration:underline dashed rgba(51,111,238,.48);text-underline-offset:.2em;text-decoration-thickness:.7px}.t-icon[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:var(--tui-link-icon-size, 1.5rem);height:var(--tui-link-icon-size, 1.5rem);margin-top:-.125rem}.t-icon_left[_ngcontent-%COMP%]{margin-right:.25rem}.t-icon_right[_ngcontent-%COMP%]{margin-left:.25rem}._icon-rotated[_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{transform:rotate(180deg)}"],changeDetection:0}),b),C=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[p.ez,d.EI]]}),t}()},40719:function(t,e,n){"use strict";n.d(e,{kM:function(){return _},dS:function(){return b}});var r=n(12057),i=n(74788),o=n(11927),a=n(41213),s=n(57179),u=n(99434),c=n(66640),l=n(89570);function h(t,e){if(1&t&&(i.ynx(0),i._uU(1),i.BQk()),2&t){var n=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",n," ")}}function f(t,e){if(1&t&&(i.O4$(),i.kcU(),i.TgZ(0,"div",6),i.YNc(1,h,2,1,"ng-container",7),i.qZA()),2&t){var n=i.oxw(2);i.ekj("t-text_horizontal",n.isHorizontal),i.xp6(1),i.Q6J("polymorpheusOutlet",n.textContent)}}function d(t,e){if(1&t&&(i.TgZ(0,"div",2),i.O4$(),i.TgZ(1,"svg",3),i._UZ(2,"circle",4),i.qZA(),i.YNc(3,f,2,3,"div",5),i.qZA()),2&t){var n=i.oxw();i.ekj("t-loader_horizontal",n.isHorizontal)("t-loader_inherit-color",n.inheritColor),i.uIk("data-size",n.size),i.xp6(3),i.Q6J("ngIf",n.hasText)}}var p,v=["*"],m=(0,o.JN)({size:"m",inheritColor:!1,overlay:!1}),_=((p=function(){function t(e,n,r,i){y(this,t),this.doc=e,this.el=n,this.isIos=r,this.options=i,this.size=this.options.size,this.inheritColor=this.options.inheritColor,this.overlay=this.options.overlay,this.loading=!0,this.isApple=(0,a.Ex)(this.el.nativeElement)||this.isIos}return g(t,[{key:"showLoader",set:function(t){t&&this.focused&&(0,s.hp)(this.doc),this.loading=t}},{key:"hasOverlay",get:function(){return this.overlay&&this.loading}},{key:"hasText",get:function(){return!!this.textContent}},{key:"isHorizontal",get:function(){return!(0,c.R9)(this.size)}},{key:"focused",get:function(){return(0,s.zb)(this.el.nativeElement)}}]),t}()).\u0275fac=function(t){return new(t||p)(i.Y36(r.K0),i.Y36(i.SBq),i.Y36(u.FA),i.Y36(m))},p.\u0275cmp=i.Xpm({type:p,selectors:[["tui-loader"]],hostVars:2,hostBindings:function(t,e){2&t&&i.ekj("_loading",e.loading)},inputs:{size:"size",inheritColor:"inheritColor",overlay:"overlay",textContent:"textContent",showLoader:"showLoader"},ngContentSelectors:v,decls:3,vars:7,consts:[[1,"t-content",3,"disabled"],["class","t-loader",3,"t-loader_horizontal","t-loader_inherit-color",4,"ngIf"],[1,"t-loader"],["automation-id","tui-loader__loader","focusable","false","viewBox","0 0 100 100","xmlns","http://www.w3.org/2000/svg",1,"t-icon"],["cx","50","cy","50","r","50","stroke-dasharray","314",1,"t-circle"],["automation-id","tui-loader__text","class","t-text",3,"t-text_horizontal",4,"ngIf"],["automation-id","tui-loader__text",1,"t-text"],[4,"polymorpheusOutlet"]],template:function(t,e){1&t&&(i.F$t(),i.TgZ(0,"fieldset",0),i.Hsn(1),i.qZA(),i.YNc(2,d,4,6,"div",1)),2&t&&(i.ekj("t-content_has-overlay",e.hasOverlay)("t-content_loading",e.loading),i.Q6J("disabled",e.loading&&!e.isApple),i.uIk("inert",e.loading||null),i.xp6(2),i.Q6J("ngIf",e.loading))},directives:[r.O5,l.Li],styles:["@keyframes tuiLoaderDashOffset{0%{stroke-dashoffset:-66}50%{stroke-dashoffset:-314}to{stroke-dashoffset:-66}}@keyframes tuiLoaderRotate{0%{transform:rotate(0)}50%{transform:rotate(1turn)}to{transform:rotate(3turn)}}[_nghost-%COMP%]{position:relative;display:flex;min-width:1.5rem}._loading[_nghost-%COMP%]{overflow:hidden}.t-content[_ngcontent-%COMP%]{z-index:0;min-width:100%;height:100%;padding:0;margin:0;border:none}.t-content_has-overlay[_ngcontent-%COMP%]{opacity:.3}.t-content_loading[_ngcontent-%COMP%]{pointer-events:none}.t-loader[_ngcontent-%COMP%]{position:relative;left:-100%;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:100%;flex-shrink:0;align-self:center;color:var(--tui-text-01);stroke:var(--tui-primary);animation:tuiFadeIn var(--tui-duration)}.t-loader.t-loader_horizontal[_ngcontent-%COMP%]{flex-direction:row}.t-loader.t-loader_inherit-color[_ngcontent-%COMP%]{color:inherit;stroke:currentColor}.t-loader[data-size=xs][_ngcontent-%COMP%]{font-size:.75rem;stroke-width:38}.t-loader[data-size=s][_ngcontent-%COMP%]{font-size:1rem;stroke-width:25}.t-loader[data-size=m][_ngcontent-%COMP%]{font-size:1.5rem;stroke-width:17}.t-loader[data-size=l][_ngcontent-%COMP%]{font-size:2.5rem;stroke-width:15}.t-loader[data-size=xl][_ngcontent-%COMP%]{font-size:3.5rem;stroke-width:14}.t-loader[data-size=xxl][_ngcontent-%COMP%]{font-size:5rem;stroke-width:10}.t-text[_ngcontent-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1rem;color:inherit;max-width:100%;text-align:center;stroke-width:0}.t-text_horizontal[_ngcontent-%COMP%]{margin:0 0 0 1rem}.t-icon[_ngcontent-%COMP%]{display:block;min-width:1em;max-width:1em;min-height:1em;max-height:1em;margin:.25rem -.5em;border-radius:100%;overflow:hidden;transform:scaleY(-1);animation:tuiLoaderRotate 3s linear infinite}@supports (-webkit-hyphens: none){.t-icon[_ngcontent-%COMP%]{overflow:visible}}.t-circle[_ngcontent-%COMP%]{fill:none;stroke:inherit;stroke-width:inherit;animation:tuiLoaderDashOffset 3s linear infinite}"],changeDetection:0}),p),b=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[r.ez,l.wq]]}),t}()},60885:function(t,e,n){"use strict";n.d(e,{L:function(){return m},H:function(){return _}});var r=n(74788),i=n(40946),o=n(79456),a=n(54789),s=n(12628),u=n(12057),c=n(89570);function l(t,e){1&t&&r._UZ(0,"tui-svg",4),2&t&&r.Q6J("src",e.polymorpheusOutlet)}var h=function(t){return{$implicit:t}};function f(t,e){if(1&t&&(r.ynx(0),r.YNc(1,l,1,1,"tui-svg",3),r.BQk()),2&t){var n=r.oxw();r.xp6(1),r.Q6J("polymorpheusOutlet",n.icon)("polymorpheusOutletContext",r.VKq(2,h,n.status))}}function d(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"button",5),r.NdJ("click",function(){return r.CHM(n),r.oxw().close.emit()}),r.ALo(1,"async"),r.qZA()}if(2&t){var i=r.oxw();r.Q6J("icon",i.icons.close)("title",r.lcZ(1,2,i.closeWord$))}}var p,v=["*"],m=((p=function(){function t(e,n,i){y(this,t),this.closeWord$=e,this.icons=n,this.options=i,this.hasIcon=this.options.hasIcon,this.icon=this.options.icon,this.status=this.options.status,this.size=this.options.size,this.hideClose=!1,this.close=new r.vpe}return g(t,[{key:"hasClose",get:function(){return!this.hideClose&&(0,i.fw)(this.close)}}]),t}()).\u0275fac=function(t){return new(t||p)(r.Y36(o.U0),r.Y36(o.Gs),r.Y36(o.Ln))},p.\u0275cmp=r.Xpm({type:p,selectors:[["tui-notification"]],hostVars:2,hostBindings:function(t,e){2&t&&r.uIk("data-status",e.status)("data-size",e.size)},inputs:{hasIcon:"hasIcon",icon:"icon",status:"status",size:"size",hideClose:"hideClose"},outputs:{close:"close"},ngContentSelectors:v,decls:4,vars:2,consts:[[4,"ngIf"],[1,"t-content"],["appearance","icon","automation-id","tui-notification__close","size","xs","tuiIconButton","","type","button","class","t-close",3,"icon","title","click",4,"ngIf"],["automation-id","tui-notification__icon","class","t-icon",3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-notification__icon",1,"t-icon",3,"src"],["appearance","icon","automation-id","tui-notification__close","size","xs","tuiIconButton","","type","button",1,"t-close",3,"icon","title","click"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,f,2,4,"ng-container",0),r.TgZ(1,"div",1),r.Hsn(2),r.qZA(),r.YNc(3,d,2,4,"button",2)),2&t&&(r.Q6J("ngIf",e.icon&&e.hasIcon),r.xp6(3),r.Q6J("ngIf",e.hasClose))},directives:[u.O5,c.Li,a.PN,s.v0],pipes:[u.Ov],styles:["[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:flex;padding:.75rem 1rem;border-radius:var(--tui-radius-m);background:#fff;background:var(--tui-base-01);box-sizing:border-box;overflow:hidden}[data-size=s][_nghost-%COMP%]{padding:.375rem .625rem}[data-size=s][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1rem;height:1.25rem;margin:0 .375rem 0 -.125rem}[data-size=s][_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{margin:-.125rem -.375rem -.125rem .75rem}[data-size=m][_nghost-%COMP%]{padding:.75rem}[data-size=m][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1.25rem;height:1.25rem;margin-right:.5rem}[data-size=m][_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{margin:-.125rem -.125rem -.125rem 1rem}[data-size=l][_nghost-%COMP%]{padding:1rem;font:var(--tui-font-text-m);border-radius:var(--tui-radius-l)}[data-size=l][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem;margin-right:.5rem}[data-status=info][_nghost-%COMP%]{color:var(--tui-info-fill);background:linear-gradient(var(--tui-info-bg),var(--tui-info-bg)),var(--tui-base-01)}[data-status=success][_nghost-%COMP%]{color:var(--tui-success-fill);background:linear-gradient(var(--tui-success-bg),var(--tui-success-bg)),var(--tui-base-01)}[data-status=error][_nghost-%COMP%]{color:var(--tui-error-fill);background:linear-gradient(var(--tui-error-bg),var(--tui-error-bg)),var(--tui-base-01)}[data-status=warning][_nghost-%COMP%]{color:var(--tui-warning-fill);background:linear-gradient(var(--tui-warning-bg),var(--tui-warning-bg)),var(--tui-base-01)}[data-status=neutral][_nghost-%COMP%]{color:var(--tui-neutral-fill);background:linear-gradient(var(--tui-neutral-bg),var(--tui-neutral-bg)),var(--tui-base-01)}.t-content[_ngcontent-%COMP%]{flex:1;word-wrap:break-word;overflow-wrap:anywhere;color:var(--tui-text-01)}"],changeDetection:0}),p),_=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[u.ez,a.EI,s.fN,c.wq]]}),t}()},94853:function(t,e,n){"use strict";n.d(e,{iQ:function(){return st},yc:function(){return ut},B1:function(){return ct},KW:function(){return ht},MB:function(){return lt}});var r,i=n(97582),o=n(74788),s=n(27103),c=((r=g(function t(){y(this,t)})).\u0275fac=function(t){return new(t||r)},r.\u0275cmp=o.Xpm({type:r,selectors:[["ng-component"]],hostAttrs:[1,"tui-autofilled-styles"],decls:0,vars:0,template:function(t,e){},styles:[".tui-autofill input,input.tui-autofill{transition:box-shadow .01s}\n"],encapsulation:2,changeDetection:0}),r),l=function(){var t=function(){function t(e){y(this,t),this.autofilled=!1,this.tuiAutofilledChange=new o.vpe,e.addComponent(c)}return g(t,[{key:"transitionStartHandler",value:function(t){var e,n=t.propertyName,r=t.target;n.includes("box-shadow")&&(null===(e=r)||void 0===e?void 0:e.matches("input"))&&(this.autofilled=!this.autofilled,this.tuiAutofilledChange.emit(this.autofilled))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(s.gH))},t.\u0275dir=o.lG2({type:t,selectors:[["","tuiAutofilledChange",""]],hostAttrs:[1,"tui-autofill"],hostVars:2,hostBindings:function(t,e){1&t&&o.NdJ("transitionstart",function(t){return e.transitionStartHandler(t)}),2&t&&o.ekj("_autofilled",e.autofilled)},outputs:{tuiAutofilledChange:"tuiAutofilledChange"}}),t}(),h=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({}),t}(),f=n(13633),d=n(99434),p=n(76480),v=n(57179),m=n(64493),_=n(44358),b=n(90022),k=n(79588),w=n(66640),C=n(89570),x=n(26215),O=n(66682),M=n(22759),S=n(87874),P=n(45435),E=n(88002),A=n(87519),T=n(54789),I=n(77320),D=n(1515),L=n(12057),N=n(91489),z=n(87862),F=n(79456),R=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.lG2({type:t,selectors:[["input","tuiMaskAccessor",""]],features:[o._Bn([{provide:z.JU,deps:[[new o.FiY,F.sE],z.Fj],multi:!0,useFactory:function(t,e){return t?t[0]:e}}])]}),t}(),j=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({}),t}(),B=n(43631),V=["pre"],Y=["focusableElement"];function Z(t,e){1&t&&o.GkF(0)}function q(t,e){1&t&&o.GkF(0)}function U(t,e){1&t&&(o.TgZ(0,"div",17),o.Hsn(1,2),o.qZA())}function H(t,e){1&t&&o._UZ(0,"tui-svg",20),2&t&&o.Q6J("src",e.polymorpheusOutlet)}var G=function(t){return{$implicit:t}};function J(t,e){if(1&t&&(o.TgZ(0,"div",18),o.YNc(1,H,1,1,"tui-svg",19),o.qZA()),2&t){var n=o.oxw();o.xp6(1),o.Q6J("polymorpheusOutlet",n.iconLeftContent)("polymorpheusOutletContext",o.VKq(2,G,n.size))}}function X(t,e){if(1&t&&(o.TgZ(0,"label",21),o.Hsn(1,3),o.qZA()),2&t){var n=o.oxw();o.ekj("t-placeholder_raised",n.placeholderRaised),o.Q6J("for",n.computedId)}}function $(t,e){1&t&&o._UZ(0,"tui-svg",24),2&t&&o.Q6J("src",e.polymorpheusOutlet)}function Q(t,e){if(1&t&&(o.TgZ(0,"div",22),o.YNc(1,$,1,1,"tui-svg",23),o.qZA()),2&t){var n=o.oxw();o.xp6(1),o.Q6J("polymorpheusOutlet",n.controller.customContent)}}function W(t,e){1&t&&o._UZ(0,"tui-svg",27),2&t&&o.Q6J("src",e.polymorpheusOutlet)}function K(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"span",25),o.NdJ("click.stop",function(){return o.CHM(n),o.oxw().clear()}),o.YNc(1,W,1,1,"tui-svg",26),o.qZA()}if(2&t){var r=o.oxw();o.xp6(1),o.Q6J("polymorpheusOutlet",r.iconCleaner||r.controller.options.iconCleaner)("polymorpheusOutletContext",o.VKq(2,G,r.size))}}function tt(t,e){if(1&t&&o._UZ(0,"tui-tooltip",28),2&t){var n=o.oxw();o.Q6J("content",null==n.hintOptions?null:n.hintOptions.content)("describeId",n.computedId)}}function et(t,e){1&t&&o._UZ(0,"tui-svg",20),2&t&&o.Q6J("src",e.polymorpheusOutlet)}function nt(t,e){if(1&t&&(o.TgZ(0,"div",29),o.YNc(1,et,1,1,"tui-svg",19),o.qZA()),2&t){var n=o.oxw();o.xp6(1),o.Q6J("polymorpheusOutlet",n.iconContent)("polymorpheusOutletContext",o.VKq(2,G,n.size))}}var rt=[[["input"]],[["select"]],[["tuiContent"]],"*"],it=["input","select","tuiContent","*"],ot=["tuiTextfield",""],at=function(){var t=function(){function t(e,n){var r=this;y(this,t),this.textfield=e,this.fontsReady$=n,this.prefix$=new x.X(""),this.pre$=(0,O.T)(this.fontsReady$,this.prefix$).pipe((0,S.g)(0),(0,P.h)(function(){var t;return!!(null===(t=r.pre)||void 0===t?void 0:t.nativeElement.isConnected)}),(0,E.U)(function(){var t;return(null===(t=r.pre)||void 0===t?void 0:t.nativeElement.offsetWidth)||0}),(0,A.x)())}return g(t,[{key:"isContextTable",get:function(){return this.textfield.appearance===I.Nm.Table}},{key:"value",get:function(){return this.textfield.value}},{key:"filler",get:function(){var t=this.focused,e=this.placeholder,n=this.exampleText,r=this.value,i=this.textfield;return e&&n?"":t?n||i.filler.slice(r.length):""}},{key:"prefix",get:function(){return this.decorationsVisible?this.textfield.prefix:""}},{key:"postfix",get:function(){return this.decorationsVisible?this.computedPostfix:""}},{key:"ngDoCheck",value:function(){this.prefix$.next(this.prefix)}},{key:"placeholder",get:function(){var t;return(null===(t=this.textfield.nativeFocusableElement)||void 0===t?void 0:t.placeholder)||""}},{key:"exampleText",get:function(){return!this.value&&this.focused?this.placeholder:""}},{key:"decorationsVisible",get:function(){return!!this.value||this.focused&&!this.placeholder}},{key:"focused",get:function(){return this.textfield.computedFocused&&!this.textfield.readOnly}},{key:"computedPostfix",get:function(){return this.textfield.postfix&&(this.filler||this.value)?" ".concat(this.textfield.postfix):this.textfield.postfix}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(d.KZ),o.Y36(d.tS))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-value-decoration"]],viewQuery:function(t,e){var n;(1&t&&o.Gf(V,7,o.SBq),2&t)&&(o.iGM(n=o.CRH())&&(e.pre=n.first))},hostVars:4,hostBindings:function(t,e){1&t&&o.NdJ("animationstart",function(){return e.ngDoCheck()}),2&t&&o.ekj("_table",e.isContextTable)("_filler",e.filler)},decls:5,vars:4,consts:[[1,"t-prefix",3,"textContent"],["pre",""],[1,"t-ghost",3,"textContent"],[1,"t-filler",3,"textContent"],[1,"t-postfix",3,"textContent"]],template:function(t,e){1&t&&(o._UZ(0,"span",0,1),o._UZ(2,"span",2),o._UZ(3,"span",3),o._UZ(4,"span",4)),2&t&&(o.Q6J("textContent",e.prefix),o.xp6(2),o.Q6J("textContent",e.value),o.xp6(1),o.Q6J("textContent",e.filler),o.xp6(1),o.Q6J("textContent",e.postfix))},styles:['[_nghost-%COMP%]{position:absolute;display:block;width:100%;line-height:var(--tui-height);margin-top:calc(var(--tui-height) / -2);box-sizing:content-box;color:var(--tui-text-03);animation:tuiPresent 1s;white-space:nowrap}._table[_nghost-%COMP%]{position:static;margin-top:0}._filler[_nghost-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}tui-primitive-textfield [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]{color:var(--tui-text-03-night)}tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]{line-height:calc(var(--tui-height) - .25rem)}.t-ghost[_ngcontent-%COMP%]{visibility:hidden;white-space:pre;text-overflow:clip}.t-prefix[_ngcontent-%COMP%], .t-postfix[_ngcontent-%COMP%]{white-space:pre;color:var(--tui-text-01)}tui-primitive-textfield [tuiWrapper][data-mode="onDark"][_nghost-%COMP%] .t-prefix[_ngcontent-%COMP%], tui-primitive-textfield [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%] .t-prefix[_ngcontent-%COMP%], tui-primitive-textfield [tuiWrapper][data-mode="onDark"][_nghost-%COMP%] .t-postfix[_ngcontent-%COMP%], tui-primitive-textfield [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%] .t-postfix[_ngcontent-%COMP%]{color:var(--tui-text-01-night)}.t-filler[_ngcontent-%COMP%]{max-width:100%;white-space:nowrap}']}),t}(),st={s:1.25,m:1.75,l:2.25},ut=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r,i,a){var s;return y(this,n),(s=e.call(this)).controller=t,s.hintOptions=r,s.options=i,s.el=a,s.editable=!0,s.textfieldFiller="",s.iconCleaner=s.options.iconCleaner,s.readOnly=!1,s.invalid=!1,s.disabled=!1,s.textfieldPrefix="",s.textfieldPostfix="",s.value="",s.valueChange=new o.vpe,s.autofilled=!1,s}return g(n,[{key:"prefix",get:function(){return this.textfieldPrefix||this.controller.prefix}},{key:"postfix",get:function(){return this.textfieldPostfix||this.controller.postfix}},{key:"filler",get:function(){return this.textfieldFiller||this.controller.filler}},{key:"nativeFocusableElement",get:function(){if(this.computedDisabled||!this.focusableElement)return null;var t=this.focusableElement.nativeElement;return t.previousElementSibling||t}},{key:"focused",get:function(){return(0,v.zb)(this.el.nativeElement)}},{key:"appearance",get:function(){return this.controller.appearance}},{key:"size",get:function(){return this.controller.size}},{key:"computedInvalid",get:function(){return!this.readOnly&&!this.disabled&&this.invalid}},{key:"inputHidden",get:function(){var t;return!!(null===(t=this.content)||void 0===t?void 0:t.length)}},{key:"hasValue",get:function(){return!!this.value}},{key:"hasCleaner",get:function(){return this.controller.cleaner&&this.hasValue&&!this.computedDisabled&&!this.readOnly}},{key:"hasTooltip",get:function(){var t;return!!(null===(t=this.hintOptions)||void 0===t?void 0:t.content)&&!this.computedDisabled}},{key:"hasCustomContent",get:function(){return!!this.controller.customContent}},{key:"placeholderVisible",get:function(){var t,e=((null===(t=this.nativeFocusableElement)||void 0===t?void 0:t.placeholder)||this.prefix||this.postfix||this.filler)&&!this.readOnly&&this.computedFocused;return!this.hasValue&&!e}},{key:"hasPlaceholder",get:function(){return this.placeholderRaisable||this.placeholderVisible}},{key:"placeholderRaised",get:function(){return this.placeholderRaisable&&(this.computedFocused&&!this.readOnly||this.hasValue||this.autofilled)}},{key:"borderStart",get:function(){return this.iconLeftContent?this.iconPaddingLeft:0}},{key:"borderEnd",get:function(){return(0,w._X)(!!this.iconContent,this.hasCleaner,this.hasTooltip,this.hasCustomContent,this.size)}},{key:"iconContent",get:function(){return this.controller.icon}},{key:"iconLeftContent",get:function(){return this.controller.iconLeft}},{key:"showHint",get:function(){var t;return!!(null===(t=this.hintOptions)||void 0===t?void 0:t.content)&&(this.options.hintOnDisabled||!this.computedDisabled)}},{key:"name",get:function(){var t;return"cc-exp"===(null===(t=this.nativeFocusableElement)||void 0===t?void 0:t.autocomplete)?"ccexpiryyear":null}},{key:"computedId",get:function(){var t;return(null===(t=this.nativeFocusableElement)||void 0===t?void 0:t.id)||""}},{key:"onFocused",value:function(t){this.updateFocused(t)}},{key:"getIndent$",value:function(t){return(0,M.R)(t,"scroll").pipe((0,E.U)(function(){return-1*Math.max(t.scrollLeft,0)}))}},{key:"clear",value:function(){this.nativeFocusableElement&&(this.nativeFocusableElement.value=""),this.updateValue("")}},{key:"onMouseDown",value:function(t){var e=this.nativeFocusableElement;!e||t.target===e||(t.preventDefault(),e.focus())}},{key:"onModelChange",value:function(t){this.updateValue(t)}},{key:"onAutofilled",value:function(t){this.updateAutofilled(t)}},{key:"detectRetargetFromLabel",value:function(t){(0,m.UP)(t)&&t.stopImmediatePropagation()}},{key:"iconPaddingLeft",get:function(){return st[this.size]}},{key:"placeholderRaisable",get:function(){return"s"!==this.size&&!this.controller.labelOutside}},{key:"updateAutofilled",value:function(t){this.autofilled!==t&&(this.autofilled=t)}},{key:"updateValue",value:function(t){this.value=t,this.valueChange.emit(t)}}]),n}(p.Xn);return t.\u0275fac=function(e){return new(e||t)(o.Y36(k.Cs),o.Y36(b.bZ,8),o.Y36(k.z1),o.Y36(o.SBq))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-primitive-textfield"]],contentQueries:function(t,e,n){var r;(1&t&&o.Suo(n,C.Li,5),2&t)&&(o.iGM(r=o.CRH())&&(e.content=r))},viewQuery:function(t,e){var n;(1&t&&o.Gf(Y,5),2&t)&&(o.iGM(n=o.CRH())&&(e.focusableElement=n.first))},hostVars:15,hostBindings:function(t,e){1&t&&o.NdJ("focusin",function(){return e.onFocused(!0)})("focusout",function(){return e.onFocused(!1)}),2&t&&(o.uIk("data-size",e.size),o.Udp("--border-start",e.borderStart,"rem")("--border-end",e.borderEnd,"rem"),o.ekj("_autofilled",e.autofilled)("_label-outside",e.controller.labelOutside)("_readonly",e.readOnly)("_invalid",e.computedInvalid)("_hidden",e.inputHidden))},inputs:{editable:"editable",textfieldFiller:["filler","textfieldFiller"],iconCleaner:"iconCleaner",readOnly:"readOnly",invalid:"invalid",disabled:"disabled",textfieldPrefix:["prefix","textfieldPrefix"],textfieldPostfix:["postfix","textfieldPostfix"],value:"value"},outputs:{valueChange:"valueChange"},features:[o._Bn([(0,d.FT)(t),k.Y0]),o.qOj],ngContentSelectors:it,decls:24,vars:37,consts:[[4,"ngIf"],["automation-id","tui-primitive-textfield__wrapper","tuiWrapper","",3,"active","appearance","disabled","focus","hover","invalid","readOnly","click.prevent.silent","mousedown","tuiAutofilledChange"],["automation-id","tui-primitive-textfield__native-input","tuiMaskAccessor","",1,"t-input",3,"disabled","id","ngModel","readOnly","tuiFocusable","ngModelChange"],["focusableElement",""],["automation-id","tui-primitive-textfield__value","class","t-input t-input_template",4,"ngIf"],[1,"t-content"],["class","t-icon t-icon_left t-textfield-icon",4,"ngIf"],[1,"t-wrapper"],["automation-id","tui-primitive-textfield__placeholder","class","t-placeholder",3,"t-placeholder_raised","for",4,"ngIf"],[1,"t-wrapper-value-decoration"],["aria-hidden","true","automation-id","tui-primitive-textfield__value-decoration",1,"t-value-decoration"],["decor",""],[1,"t-icons"],["automation-id","tui-primitive-textfield__custom-content","class","t-custom-content",4,"ngIf"],["appearance","icon","automation-id","tui-primitive-textfield__cleaner","tuiWrapper","","class","t-cleaner",3,"click.stop",4,"ngIf"],["automation-id","tui-primitive-textfield__tooltip","class","t-tooltip",3,"content","describeId",4,"ngIf"],["class","t-icon t-textfield-icon",4,"ngIf"],["automation-id","tui-primitive-textfield__value",1,"t-input","t-input_template"],[1,"t-icon","t-icon_left","t-textfield-icon"],["appearance","icon","tuiWrapper","",3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],["appearance","icon","tuiWrapper","",3,"src"],["automation-id","tui-primitive-textfield__placeholder",1,"t-placeholder",3,"for"],["automation-id","tui-primitive-textfield__custom-content",1,"t-custom-content"],["class","t-custom-icon",3,"src",4,"polymorpheusOutlet"],[1,"t-custom-icon",3,"src"],["appearance","icon","automation-id","tui-primitive-textfield__cleaner","tuiWrapper","",1,"t-cleaner",3,"click.stop"],[3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],[3,"src"],["automation-id","tui-primitive-textfield__tooltip",1,"t-tooltip",3,"content","describeId"],[1,"t-icon","t-textfield-icon"]],template:function(t,e){if(1&t&&(o.F$t(rt),o.YNc(0,Z,1,0,"ng-container",0),o.ALo(1,"async"),o.YNc(2,q,1,0,"ng-container",0),o.ALo(3,"async"),o.TgZ(4,"div",1),o.NdJ("click.prevent.silent",function(t){return e.detectRetargetFromLabel(t)})("mousedown",function(t){return e.onMouseDown(t)})("tuiAutofilledChange",function(t){return e.onAutofilled(t)}),o.ALo(5,"async"),o.Hsn(6),o.Hsn(7,1),o.TgZ(8,"input",2,3),o.NdJ("ngModelChange",function(t){return e.onModelChange(t)}),o.qZA(),o.YNc(10,U,2,0,"div",4),o.TgZ(11,"div",5),o.YNc(12,J,2,4,"div",6),o.TgZ(13,"div",7),o.YNc(14,X,2,3,"label",8),o.TgZ(15,"div",9),o.TgZ(16,"tui-value-decoration",10,11),o.ALo(18,"async"),o.qZA(),o.qZA(),o.qZA(),o.TgZ(19,"div",12),o.YNc(20,Q,2,1,"div",13),o.YNc(21,K,2,4,"span",14),o.YNc(22,tt,1,2,"tui-tooltip",15),o.YNc(23,nt,2,4,"div",16),o.qZA(),o.qZA(),o.qZA()),2&t){var n=o.MAs(9),r=o.MAs(17);o.Q6J("ngIf",o.lcZ(1,29,null==e.content?null:e.content.changes)),o.xp6(2),o.Q6J("ngIf",o.lcZ(3,31,null==e.hintOptions?null:e.hintOptions.change$)),o.xp6(2),o.Udp("--text-indent",o.lcZ(5,33,r.pre$),"px"),o.Q6J("active",e.pseudoActive)("appearance",e.appearance)("disabled",e.disabled)("focus",e.computedFocused)("hover",e.pseudoHover)("invalid",e.computedInvalid)("readOnly",e.readOnly),o.xp6(4),o.Q6J("disabled",e.computedDisabled)("id",e.id)("ngModel",e.value)("readOnly",e.readOnly||!e.editable)("tuiFocusable",e.computedFocusable),o.uIk("aria-invalid",e.computedInvalid)("name",e.name),o.xp6(2),o.Q6J("ngIf",e.inputHidden),o.xp6(2),o.Q6J("ngIf",e.iconLeftContent),o.xp6(2),o.Q6J("ngIf",e.hasPlaceholder),o.xp6(2),o.Udp("text-indent",o.lcZ(18,35,e.getIndent$(n)),"px"),o.ekj("t-has-value",e.value),o.xp6(4),o.Q6J("ngIf",e.hasCustomContent),o.xp6(1),o.Q6J("ngIf",e.hasCleaner),o.xp6(1),o.Q6J("ngIf",e.showHint),o.xp6(1),o.Q6J("ngIf",e.iconContent)}},directives:[L.O5,N.o,l,R,z.Fj,z.JJ,z.On,f.t,at,C.Li,T.PN,D.w],pipes:[L.Ov],styles:['[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:block;text-align:left;border-radius:var(--tui-radius-m);height:var(--tui-height);min-height:var(--tui-height);max-height:var(--tui-height)}[data-size=s][_nghost-%COMP%]{--tui-height: var(--tui-height-s)}[data-size=m][_nghost-%COMP%]{--tui-height: var(--tui-height-m)}[data-size=l][_nghost-%COMP%]{--tui-height: var(--tui-height-l);font:var(--tui-font-text-m);line-height:1.25rem}.t-input[_ngcontent-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;border-style:solid;border-color:transparent;border-inline-start-width:var(--border-start, 0);border-inline-end-width:var(--border-end, 0);text-indent:var(--text-indent);text-align:inherit;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-transform:inherit;resize:none}.t-input[_ngcontent-%COMP%]:-webkit-autofill, .t-input[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-input[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}.t-input[_ngcontent-%COMP%]:-webkit-autofill, .t-input[_ngcontent-%COMP%]:-webkit-autofill:first-line{font-size:inherit;line-height:inherit}.t-input[_ngcontent-%COMP%]::-webkit-caps-lock-indicator, .t-input[_ngcontent-%COMP%]::-webkit-contacts-auto-fill-button, .t-input[_ngcontent-%COMP%]::-webkit-credit-card-auto-fill-button, .t-input[_ngcontent-%COMP%]::-webkit-credentials-auto-fill-button, .t-input[_ngcontent-%COMP%]::-webkit-strong-password-auto-fill-button{content:none!important;position:absolute;left:-62.4375rem;top:-62.4375rem;z-index:-999;display:none!important;background:transparent!important;pointer-events:none!important}.t-input[_ngcontent-%COMP%]::placeholder{color:var(--tui-text-03);opacity:0}._focused[_nghost-%COMP%]:not(._readonly) .t-input[_ngcontent-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-textarea._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-textarea._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-text-area._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-text-area._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder{opacity:1}[tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-input[_ngcontent-%COMP%]:-webkit-autofill, .t-input [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill, [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-input[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-input [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:hover, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:hover, [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-input[_ngcontent-%COMP%]:-webkit-autofill:focus, .t-input [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:focus, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01-night)!important;border-color:var(--tui-autofill-night);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill-night) inset!important}[tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, .t-input [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]::placeholder, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]::placeholder{color:var(--tui-text-03-night)}[data-size=s][_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="s"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="s"] [_nghost-%COMP%]:not(tui-primitive-textfield), .t-input tui-textarea[data-size="s"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="s"] [_nghost-%COMP%]:not(tui-textarea), .t-input tui-text-area[data-size="s"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="s"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-s)}[data-size=m][_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="m"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"] [_nghost-%COMP%]:not(tui-primitive-textfield), .t-input tui-textarea[data-size="m"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="m"] [_nghost-%COMP%]:not(tui-textarea), .t-input tui-text-area[data-size="m"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="m"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-m)}[data-size=l][_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="l"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="l"] [_nghost-%COMP%]:not(tui-primitive-textfield), .t-input tui-textarea[data-size="l"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="l"] [_nghost-%COMP%]:not(tui-textarea), .t-input tui-text-area[data-size="l"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="l"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-l)}._disabled[_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield._disabled[_nghost-%COMP%], tui-primitive-textfield._disabled [_nghost-%COMP%], .t-input tui-textarea._disabled[_nghost-%COMP%], tui-textarea._disabled [_nghost-%COMP%], .t-input tui-text-area._disabled[_nghost-%COMP%], tui-text-area._disabled [_nghost-%COMP%]{pointer-events:none}[data-size=l][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="l"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="l"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield){padding-top:1.25rem}[data-size=l][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="l"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], tui-primitive-textfield[data-size="l"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.8156rem;transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="m"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield){padding-top:1rem}[data-size=m][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="m"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.69rem;transform:translateY(-.5rem)}._hidden[_nghost-%COMP%] input.t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield._hidden[_nghost-%COMP%], tui-primitive-textfield._hidden [_nghost-%COMP%]{opacity:0;text-indent:-10em;-webkit-user-select:none}.t-content[_ngcontent-%COMP%]{display:flex;height:100%;width:100%;box-sizing:border-box;align-items:center;overflow:hidden}[data-size=s][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0 var(--tui-padding-s)}[data-size=m][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0 var(--tui-padding-m)}[data-size=l][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0 var(--tui-padding-l)}.t-wrapper[_ngcontent-%COMP%]{flex:1;min-width:0;-webkit-padding-end:.25rem;padding-inline-end:.25rem}.t-placeholder[_ngcontent-%COMP%]{transition-property:transform,font-size,color,letter-spacing;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;width:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;font:var(--tui-font-text-s);color:var(--tui-text-02);pointer-events:none;will-change:transform;transform:translateY(0)}@supports (-webkit-hyphens: none){.t-placeholder[_ngcontent-%COMP%]{will-change:unset;transition-property:transform,color,letter-spacing}}.t-placeholder_raised[_ngcontent-%COMP%]{transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%]{font:var(--tui-font-text-xs);line-height:1.25rem;transform:translateY(-.5rem);letter-spacing:.025rem}._invalid[_nghost-%COMP%]:not(._focused) .t-placeholder_raised[_ngcontent-%COMP%], ._invalid[_nghost-%COMP%]:not(._focused):hover .t-placeholder_raised[_ngcontent-%COMP%]{color:var(--tui-error-fill)}._invalid[_nghost-%COMP%]:not(._focused) [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%], ._invalid[_nghost-%COMP%]:not(._focused):hover [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%]{color:var(--tui-error-fill-night)}._focused[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=m]._focused._label-outside[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused._label-outside[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-03)}[data-size=l][_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font:var(--tui-font-text-m);line-height:1.25rem}[data-size=l][_nghost-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%]{font-size:.8156rem}[data-size=m]._focused[_nghost-%COMP%]:not(._label-outside) .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused[_nghost-%COMP%]:not(._label-outside) .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-01)}[tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-02-night)}[data-size=m]._focused[_nghost-%COMP%]:not(._label-outside) [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused[_nghost-%COMP%]:not(._label-outside) [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-01-night)}._focused[_nghost-%COMP%] [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=m]._focused._label-outside[_nghost-%COMP%] [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused._label-outside[_nghost-%COMP%] [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-02-night)}.t-cleaner[_ngcontent-%COMP%]{position:relative;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;pointer-events:none;pointer-events:auto}._readonly[_nghost-%COMP%] .t-cleaner[_ngcontent-%COMP%], ._disabled[_nghost-%COMP%] .t-cleaner[_ngcontent-%COMP%]{pointer-events:none}.t-icon[_ngcontent-%COMP%]{position:relative;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;pointer-events:none}[data-size=s][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{-webkit-margin-start:-.375rem;margin-inline-start:-.375rem}[data-size=m][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{-webkit-margin-start:-.125rem;margin-inline-start:-.125rem;-webkit-margin-end:.375rem;margin-inline-end:.375rem}[data-size=l][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{-webkit-margin-end:.75rem;margin-inline-end:.75rem}.t-icons[_ngcontent-%COMP%]{display:flex;align-items:center}[data-size=m][_nghost-%COMP%] .t-icons[_ngcontent-%COMP%]{-webkit-margin-end:-.125rem;margin-inline-end:-.125rem}[data-size=s][_nghost-%COMP%] .t-icons[_ngcontent-%COMP%]{-webkit-margin-end:-.375rem;margin-inline-end:-.375rem}[_nghost-%COMP%]:not([data-size="s"]) .t-icons[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not(:first-child){-webkit-margin-start:.25rem;margin-inline-start:.25rem}._autofilled[data-size=s][_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], ._autofilled._label-outside[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], ._autofilled[_nghost-%COMP%] .t-value-decoration[_ngcontent-%COMP%]:not(.t-has-value){visibility:hidden}.t-custom-content[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;justify-content:center;min-width:2rem;height:2rem;pointer-events:none}.t-custom-icon[_ngcontent-%COMP%]{width:2rem;height:100%}.t-input[_ngcontent-%COMP%]:not(:first-child){display:none}[data-size][_nghost-%COMP%] .t-input_template[_ngcontent-%COMP%]{display:flex;width:calc(100% - 1rem);max-width:calc(100% - 1rem);align-items:center;pointer-events:none;-webkit-padding-end:0;padding-inline-end:0}.t-text-template[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.t-wrapper-value-decoration[_ngcontent-%COMP%]{position:relative;pointer-events:none}'],changeDetection:0}),(0,i.gn)([_.UM],t.prototype,"getIndent$",null),t}(),ct=function(){var t=function(t){a(n,t);var e=u(n);function n(t){var r;return y(this,n),(r=e.call(this,t)).textfield=t,r}return g(n,[{key:"readOnly",get:function(){return this.textfield.readOnly||!this.textfield.editable}},{key:"onValueChange",value:function(t){this.textfield.onModelChange(t)}}]),n}(B.D1);return t.\u0275fac=function(e){return new(e||t)(o.Y36(ut))},t.\u0275dir=o.lG2({type:t,selectors:[["tui-primitive-textfield"]],features:[o._Bn([(0,F.cp)(t)]),o.qOj]}),t}(),lt=function(){var t=function(){function t(e,n,r,i,o){y(this,t),this.host=e,this.controller=n,this.el=r,this.idService=i,this.legacyMask=o,this.host.process(this.el.nativeElement)}return g(t,[{key:"id",get:function(){return this.el.nativeElement.id||this.idService.generate()}},{key:"inputMode",get:function(){return this.el.nativeElement.inputMode||this.host.inputMode}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(F.S0),o.Y36(k.Cs),o.Y36(o.SBq),o.Y36(s.ll),o.Y36(F.sf,8))},t.\u0275cmp=o.Xpm({type:t,selectors:[["input","tuiTextfield",""],["textarea","tuiTextfield",""]],hostAttrs:["type","text"],hostVars:7,hostBindings:function(t,e){1&t&&o.NdJ("input",function(t){return!e.legacyMask&&e.host.onValueChange(t.target.value)}),2&t&&(o.Ikx("tabIndex",e.host.focusable?0:-1)("readOnly",e.host.readOnly)("value",e.host.value),o.uIk("id",e.id)("inputMode",e.inputMode)("aria-invalid",e.host.invalid)("disabled",e.host.disabled||null))},features:[o._Bn([k.Y0])],attrs:ot,decls:0,vars:0,template:function(t,e){},styles:['[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;border-style:solid;border-color:transparent;border-inline-start-width:var(--border-start, 0);border-inline-end-width:var(--border-end, 0);text-indent:var(--text-indent);text-align:inherit;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-transform:inherit;resize:none}[_nghost-%COMP%]:-webkit-autofill, [_nghost-%COMP%]:-webkit-autofill:hover, [_nghost-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}[_nghost-%COMP%]:-webkit-autofill, [_nghost-%COMP%]:-webkit-autofill:first-line{font-size:inherit;line-height:inherit}[_nghost-%COMP%]::-webkit-caps-lock-indicator, [_nghost-%COMP%]::-webkit-contacts-auto-fill-button, [_nghost-%COMP%]::-webkit-credit-card-auto-fill-button, [_nghost-%COMP%]::-webkit-credentials-auto-fill-button, [_nghost-%COMP%]::-webkit-strong-password-auto-fill-button{content:none!important;position:absolute;left:-62.4375rem;top:-62.4375rem;z-index:-999;display:none!important;background:transparent!important;pointer-events:none!important}[_nghost-%COMP%]::placeholder{color:var(--tui-text-03);opacity:0}._focused[_nghost-%COMP%]:not(._readonly) [_ngcontent-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly) [_nghost-%COMP%]::placeholder, tui-textarea._focused:not(._readonly) [_nghost-%COMP%]::placeholder, tui-text-area._focused:not(._readonly) [_nghost-%COMP%]::placeholder{opacity:1}[tuiWrapper][data-mode=onDark] [_nghost-%COMP%]:-webkit-autofill, [_nghost-%COMP%] [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill, [tuiWrapper][data-mode=onDark] [_nghost-%COMP%]:-webkit-autofill:hover, [_nghost-%COMP%] [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:hover, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:hover, [tuiWrapper][data-mode=onDark] [_nghost-%COMP%]:-webkit-autofill:focus, [_nghost-%COMP%] [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:focus, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01-night)!important;border-color:var(--tui-autofill-night);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill-night) inset!important}[tuiWrapper][data-mode=onDark] [_nghost-%COMP%]::placeholder, [_nghost-%COMP%] [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]::placeholder, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]::placeholder{color:var(--tui-text-03-night)}[data-size=s][_nghost-%COMP%] -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="s"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="s"] [_nghost-%COMP%]:not(tui-primitive-textfield), [_nghost-%COMP%] tui-textarea[data-size="s"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="s"] [_nghost-%COMP%]:not(tui-textarea), [_nghost-%COMP%] tui-text-area[data-size="s"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="s"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-s)}[data-size=m][_nghost-%COMP%] -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="m"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"] [_nghost-%COMP%]:not(tui-primitive-textfield), [_nghost-%COMP%] tui-textarea[data-size="m"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="m"] [_nghost-%COMP%]:not(tui-textarea), [_nghost-%COMP%] tui-text-area[data-size="m"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="m"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-m)}[data-size=l][_nghost-%COMP%] -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="l"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="l"] [_nghost-%COMP%]:not(tui-primitive-textfield), [_nghost-%COMP%] tui-textarea[data-size="l"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="l"] [_nghost-%COMP%]:not(tui-textarea), [_nghost-%COMP%] tui-text-area[data-size="l"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="l"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-l)}._disabled[_nghost-%COMP%] -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield._disabled[_nghost-%COMP%], tui-primitive-textfield._disabled [_nghost-%COMP%], [_nghost-%COMP%] tui-textarea._disabled[_nghost-%COMP%], tui-textarea._disabled [_nghost-%COMP%], [_nghost-%COMP%] tui-text-area._disabled[_nghost-%COMP%], tui-text-area._disabled [_nghost-%COMP%]{pointer-events:none}[data-size=l][_nghost-%COMP%]:not(._label-outside) -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="l"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="l"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield){padding-top:1.25rem}[data-size=l][_nghost-%COMP%]:not(._label-outside) [_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [_nghost-%COMP%] tui-primitive-textfield[data-size="l"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], tui-primitive-textfield[data-size="l"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.8156rem;transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%]:not(._label-outside) -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="m"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield){padding-top:1rem}[data-size=m][_nghost-%COMP%]:not(._label-outside) [_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [_nghost-%COMP%] tui-primitive-textfield[data-size="m"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.69rem;transform:translateY(-.5rem)}._hidden[_nghost-%COMP%] input[_ngcontent-%COMP%], [_nghost-%COMP%] tui-primitive-textfield._hidden[_nghost-%COMP%], tui-primitive-textfield._hidden [_nghost-%COMP%]{opacity:0;text-indent:-10em;-webkit-user-select:none}textarea[_nghost-%COMP%]{white-space:pre-wrap}textarea[_nghost-%COMP%] tui-textarea._ios[_nghost-%COMP%], tui-textarea._ios [_nghost-%COMP%], textarea[_nghost-%COMP%] tui-text-area._ios[_nghost-%COMP%], tui-text-area._ios [_nghost-%COMP%]{padding-left:.8125rem}'],changeDetection:0}),t}(),ht=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[L.ez,z.u5,C.wq,j,f.u,N.W,T.EI,D.Q,h]]}),t}()},80134:function(t,e,n){"use strict";n.d(e,{IB:function(){return d},Jy:function(){return p}});var r=n(74788),i=n(81359),o=n(41213),a=n(64493),s=n(99434),u=n(62579),c=n(12057);function l(t,e){1&t&&r._UZ(0,"tui-scroll-controls",2)}var h,f=["*"],d=((h=function(){function t(e,n,i,a){y(this,t),this.cssRef=e,this.el=n,this.userAgent=i,this.isIos=a,this.delegated=!1,this.isLegacy=!this.cssRef.supports("position","sticky")||(0,o.oK)(this.userAgent)&&!this.cssRef.supports("scrollbar-width","none"),this.hidden=!1,this.browserScrollRef=new r.SBq(this.el.nativeElement)}return g(t,[{key:"showScrollbars",get:function(){return!this.hidden&&!this.isIos&&(!this.isLegacy||this.delegated)}},{key:"showNative",get:function(){return this.isLegacy&&!this.hidden&&!this.delegated}},{key:"onScrollable",value:function(t){this.delegated=!0,this.browserScrollRef.nativeElement=t}},{key:"scrollIntoView",value:function(t){var e;if(!this.delegated){var n=this.browserScrollRef.nativeElement,r=(0,a.YX)(n,t),i=r.offsetTop,o=r.offsetLeft,s=n.clientHeight,u=n.clientWidth,c=t.offsetHeight,l=t.offsetWidth;null===(e=n.scrollTo)||void 0===e||e.call(n,o+l/2-u/2,i+c/2-s/2)}}}]),t}()).\u0275fac=function(t){return new(t||h)(r.Y36(u.ux),r.Y36(r.SBq),r.Y36(u.yZ),r.Y36(s.FA))},h.\u0275cmp=r.Xpm({type:h,selectors:[["tui-scrollbar"]],hostVars:2,hostBindings:function(t,e){1&t&&r.NdJ("tui-scrollable.stop",function(t){return e.onScrollable(t.detail)})("tui-scroll-into-view.stop",function(t){return e.scrollIntoView(t.detail)}),2&t&&r.ekj("_legacy",e.showNative)},inputs:{hidden:"hidden"},features:[r._Bn([{provide:s.$_,deps:[h],useFactory:function(t){return t.browserScrollRef}}])],ngContentSelectors:f,decls:3,vars:1,consts:[["class","t-bars",4,"ngIf"],[1,"t-content"],[1,"t-bars"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,l,1,0,"tui-scroll-controls",0),r.TgZ(1,"div",1),r.Hsn(2),r.qZA()),2&t&&r.Q6J("ngIf",e.showScrollbars)},directives:[c.O5,i.tZ],styles:["[_nghost-%COMP%]{position:relative;display:flex;isolation:isolate;overflow:auto}[_nghost-%COMP%]:not(._legacy){scrollbar-width:none;-ms-overflow-style:none}[_nghost-%COMP%]:not(._legacy)::-webkit-scrollbar, [_nghost-%COMP%]:not(._legacy)::-webkit-scrollbar-thumb{background:transparent;width:0;height:0}._legacy[_nghost-%COMP%]{overflow:overlay}@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm){._legacy[_nghost-%COMP%]::-webkit-scrollbar, ._legacy[_nghost-%COMP%]::-webkit-scrollbar-thumb{width:1rem;height:1rem;border-radius:6.25rem;background-clip:padding-box;border:.375rem solid transparent}._legacy[_nghost-%COMP%]::-webkit-scrollbar{background-color:transparent}._legacy[_nghost-%COMP%]::-webkit-scrollbar-thumb{background-color:var(--tui-clear-hover)}._legacy[_nghost-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:var(--tui-clear-active)}._legacy[_nghost-%COMP%]::-webkit-scrollbar-thumb:active{background-color:var(--tui-text-03)}}.t-content[_ngcontent-%COMP%]{isolation:isolate;flex:1;flex-basis:auto;width:100%;height:-webkit-max-content;height:max-content}.t-bars[_ngcontent-%COMP%]{color:var(--tui-text-01)}"],changeDetection:0}),h),p=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[c.ez,i.eI]]}),t}()},54789:function(t,e,n){"use strict";n.d(e,{$E:function(){return L},PN:function(){return z},EI:function(){return F}});var r=n(97582),i=n(12057),o=n(74788),a=n(91211),s=n(62579),u=n(92668),c=n(68192),l=n(11927),h=(n(18939),n(64493)),f=n(27103),d=n(99434),p=n(44358),v=n(18269),m=n(87941),_=n(79456),b=n(66640),k=n(54487),w=n(74235),C=n(25917),x=n(43190),O=n(39761),M=n(5304),S=n(88002);function P(t,e){if(1&t&&o._UZ(0,"div",3),2&t){var n=o.oxw().tuiLet;o.Q6J("innerHTML",n,o.oJD)}}function E(t,e){if(1&t){var n=o.EpF();o.O4$(),o.TgZ(0,"svg",4),o.NdJ("error",function(){return o.CHM(n),o.oxw(2).onError()}),o._UZ(1,"use"),o.qZA()}if(2&t){var r=o.oxw(2);o.xp6(1),o.uIk("href",r.use,null,"xlink")}}function A(t,e){if(1&t&&(o.ynx(0),o.YNc(1,P,1,1,"div",1),o.YNc(2,E,2,1,"ng-template",null,2,o.W1O),o.BQk()),2&t){var n=o.MAs(3),r=o.oxw();o.xp6(1),o.Q6J("ngIf",r.isInnerHTML)("ngIfElse",n)}}var T,I={tuiIconAttach:"tuiIconPaperclip",tuiIconAttention:"tuiIconAlertCircle",tuiIconBackCircle:"tuiIconArrowLeftCircle",tuiIconCall:"tuiIconPhone",tuiIconCallIn:"tuiIconPhoneIncoming",tuiIconCallOut:"tuiIconPhoneOutgoing",tuiIconCallTransfer:"tuiIconPhoneForwarded",tuiIconCancel:"tuiIconXCircle",tuiIconCancelCircle:"tuiIconSlash",tuiIconCard:"tuiIconCreditCard",tuiIconCards:"tuiIconCreditCard",tuiIconChartBar:"tuiIconBarChart",tuiIconChart:"tuiIconBarChart",tuiIconCheckList:"tuiIconClipboard",tuiIconCloseCircle:"tuiIconXCircle",tuiIconCollapse:"tuiIconMinimize",tuiIconComment:"tuiIconMessageSquare",tuiIconCommentFw:"tuiIconMessageForward",tuiIconCompany:"tuiIconBriefcase",tuiIconDefaultDoc:"tuiIconFile",tuiIconDesktop:"tuiIconMonitor",tuiIconDesktopOff:"tuiIconMonitorOff",tuiIconDislike:"tuiIconThumbsDown",tuiIconDone:"tuiIconCheckCircle",tuiIconDraft:"tuiIconEdit2",tuiIconEyeOpen:"tuiIconEye",tuiIconEyeClosed:"tuiIconEyeOff",tuiIconExpand:"tuiIconMaximize",tuiIconExternal:"tuiIconExternalLink",tuiIconFrame:"tuiIconLayout",tuiIconGeo:"tuiIconMapPin",tuiIconHeartFilled:"tuiIconHeart",tuiIconHide:"tuiIconEyeOff",tuiIconImg:"tuiIconImage",tuiIconInfoCircle:"tuiIconInfo",tuiIconLike:"tuiIconThumbsUp",tuiIconLockOpen:"tuiIconUnlock",tuiIconMobile:"tuiIconSmartphone",tuiIconMoreHor:"tuiIconMoreHorizontal",tuiIconMoreVer:"tuiIconMoreVertical",tuiIconMoreVert:"tuiIconMoreVertical",tuiIconPicture:"tuiIconImage",tuiIconPin:"tuiIconMapPin",tuiIconPrint:"tuiIconPrinter",tuiIconRefresh:"tuiIconRefreshCw",tuiIconRemove:"tuiIconX",tuiIconShow:"tuiIconEye",tuiIconSound:"tuiIconVolume",tuiIconSoundOff:"tuiIconVolumeX",tuiIconStarFilled:"tuiIconStar",tuiIconStop:"tuiIconSquare",tuiIconStructure:"tuiIconGrid",tuiIconTime:"tuiIconClock",tuiIconTooltip:"tuiIconHelpCircle",tuiIconViewList:"tuiIconList",tuiIconWifiOn:"tuiIconWifi"},D={iconsPlace:_.xp,path:(0,b.ht)(_.xp),srcProcessor:k.y,contentProcessor:c.N,deprecated:function(t){var e=t.replace("Large","").replace("Outline",""),n=I[e];return n?"".concat(e,"/(Large|Outline) is deprecated, use ").concat(n,"/(Large|Outline) instead"):""}},L=(0,l.N1)(function(){return{iconsPlace:(0,o.f3M)(_.AA),path:(0,o.f3M)(_.ki),deprecated:D.deprecated,srcProcessor:(0,o.f3M)(_.V5),contentProcessor:(0,o.f3M)(_.u_)}}),N=new o.OlP("[TUI_SVG_SRC_INTERCEPTORS]"),z=(T=function(){function t(e,n,r,i,o,a,s,u,c,h){var f=this;y(this,t),this.doc=e,this.win=n,this.options=r,this.srcInterceptors=i,this.tuiSanitizer=o,this.svgService=a,this.staticRequestService=s,this.sanitizer=u,this.el=c,this.baseHref=h,this.src$=new w.t(1),this.icon="",this.innerHTML$=this.src$.pipe((0,x.w)(function(){return(0,l.Aj)(f.icon)?f.isExternal?f.getExternalIcon(f.icon):(0,C.of)(f.getSafeHtml(f.icon)):(0,C.of)(f.icon)}),(0,O.O)(""))}return g(t,[{key:"src",get:function(){return this.icon},set:function(t){var e,n=this;this.options.deprecated(String(t)),this.icon=(null!==(e=this.srcInterceptors)&&void 0!==e?e:[]).reduce(function(t,e){return e(t,n.options)},this.options.srcProcessor(t||"")),this.src$.next()}},{key:"use",get:function(){return(0,l.Aj)(this.icon)?this.icon.includes(".svg#")?this.icon:this.resolveName(this.icon,this.options.path):""}},{key:"isInnerHTML",get:function(){return!(0,l.Aj)(this.icon)||this.isSrc||this.isExternal||this.isName&&this.isShadowDOM}},{key:"isShadowDOM",get:function(){return(0,h.Wf)(this.el.nativeElement)!==this.doc}},{key:"isUse",get:function(){return this.use.replace(v.uJ,"").includes(".svg#")}},{key:"isExternal",get:function(){return this.isUrl||this.isCrossDomain}},{key:"isUrl",get:function(){return(0,l.Aj)(this.icon)&&this.icon.replace(v.uJ,"").endsWith(".svg")}},{key:"isSrc",get:function(){return(0,l.Aj)(this.icon)&&(0,b.jL)(this.icon)}},{key:"isName",get:function(){return!this.isUrl&&!this.isUse&&!this.isSrc}},{key:"isCrossDomain",get:function(){var t=this.use,e=this.isUse,n=this.win;return e&&t.startsWith("http")&&!!n.origin&&!t.startsWith(n.origin)}},{key:"onError",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"External icon is missing on the given URL",e=this.icon,n=new CustomEvent(v.qT,{bubbles:!0,detail:{message:t,icon:e}});this.el.nativeElement.dispatchEvent(n)}},{key:"resolveName",value:function(t,e){return e(t,this.baseHref)}},{key:"getSafeHtml",value:function(t){return this.isSrc?this.sanitize(t):this.process(t)}},{key:"process",value:function(t){var e=this.svgService.getOriginal(t);return this.isName&&!e&&!!t&&this.onError("Attempted to use undefined named icon"),this.isShadowDOM&&this.isName?this.sanitize(e||""):""}},{key:"sanitize",value:function(t){return t=this.options.contentProcessor(t),this.tuiSanitizer&&(0,l.Aj)(t)?this.sanitizer.bypassSecurityTrustHtml(this.tuiSanitizer.sanitize(o.q3G.HTML,t)||""):t}},{key:"getExternalIcon",value:function(t){var e=this,n=t.includes(".svg")?t:this.use;return this.staticRequestService.request(n).pipe((0,M.K)(function(){return e.onError("Failed to load external SVG"),(0,C.of)("")}),(0,S.U)(function(t){return e.sanitize(t.replace("h.left&&tp.bottom?"top":"bottom";return p[d]>u&&l||p[d]>i?[m[d],m[c]]:(this.previous=y,[m[y],m[c]])}},{key:"accessor",get:function(){return(0,b.Sv)("dropdown")(this.accessors,this.directive)}}]),n}(b.uG);return t.\u0275fac=function(e){return new(e||t)(r.Y36($),r.Y36(x.EO),r.Y36(b.O4),r.Y36(H))},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiDropdown","",3,"tuiDropdownCustomPosition","",3,"tuiDropdownSided",""]],features:[r._Bn([(0,b.P7)(t)]),r.qOj]}),(0,I.gn)([d.UM],t.prototype,"accessor",null),t}(),rt=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this)).options=t,o.viewport=r,o.vertical=i,o.previous=o.options.direction||"bottom",o.tuiDropdownSided="",o.tuiDropdownSidedOffset=4,o.type="dropdown",o}return g(n,[{key:"getPosition",value:function(t){var e,n;if(!1===this.tuiDropdownSided)return this.vertical.getPosition(t);var r=t.height,i=t.width,o=null!==(n=null===(e=this.vertical.accessor)||void 0===e?void 0:e.getClientRect())&&void 0!==n?n:_.Jy,a=this.viewport.getClientRect(),s=this.options,u=s.direction,c=s.minHeight,l=s.offset,h="center"===this.options.align?"left":this.options.align,f={top:o.bottom-a.top,left:o.left-l-a.left,right:a.right-o.right-l,bottom:a.bottom-o.top},d={top:o.bottom-r+this.tuiDropdownSidedOffset+1,left:o.left-i-l,right:o.right+l,bottom:o.top-this.tuiDropdownSidedOffset-1},p=f.top>f.bottom?"top":"bottom",v=f[h]>i?d[h]:f.left>f.right?d.left:d.right;return f[this.previous]>c&&u||this.previous===p?[d[this.previous],v]:(this.previous=p,[d[p],v])}}]),n}(b.uG);return t.\u0275fac=function(e){return new(e||t)(r.Y36($),r.Y36(x.EO),r.Y36(nt))},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiDropdownSided",""]],inputs:{tuiDropdownSided:"tuiDropdownSided",tuiDropdownSidedOffset:"tuiDropdownSidedOffset"},features:[r._Bn([nt,(0,b.P7)(t)]),r.qOj]}),t}(),it=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[N.wq,o.A,s.e,B.Jy,c.VE]]}),t}()},90022:function(t,n,r){"use strict";r.d(n,{H3:function(){return et},$o:function(){return st},D:function(){return rt},xn:function(){return ut},t6:function(){return it},go:function(){return lt},bZ:function(){return nt},DM:function(){return ct}});var o=r(97582),s=r(74788),c=r(11927),l=r(76480),h=r(221),d=r(96111),v=r(33770),m=r(64493),_=r(85648),b=r(75675),k=r(27103),w=r(44358),C=r(40946),x=r(57179),O=r(43631),M=r(49941),S=r(75452),P=r(87941),E=r(79456),A=r(66640),T=r(89570),I=r(85345),D=function(){function t(e){y(this,t),this.durationSelector=e}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new L(t,this.durationSelector))}}]),t}(),L=function(t){a(n,t);var e=u(n);function n(t,r){var i;return y(this,n),(i=e.call(this,t)).durationSelector=r,i.hasValue=!1,i}return g(n,[{key:"_next",value:function(t){try{var e=this.durationSelector.call(this,t);e&&this._tryNext(t,e)}catch(e){this.destination.error(e)}}},{key:"_complete",value:function(){this.emitValue(),this.destination.complete()}},{key:"_tryNext",value:function(t,e){var n=this.durationSubscription;this.value=t,this.hasValue=!0,n&&(n.unsubscribe(),this.remove(n)),(n=(0,I.ft)(e,new I.IY(this)))&&!n.closed&&this.add(this.durationSubscription=n)}},{key:"notifyNext",value:function(){this.emitValue()}},{key:"notifyComplete",value:function(){this.emitValue()}},{key:"emitValue",value:function(){if(this.hasValue){var t=this.value,e=this.durationSubscription;e&&(this.durationSubscription=void 0,e.unsubscribe(),this.remove(e)),this.value=void 0,this.hasValue=!1,i(f(n.prototype),"_next",this).call(this,t)}}}]),n}(I.Ds),N=r(43190),z=r(87874),F=r(46782),R=r(79196),j=r(45435),B=r(88002),V=r(68307),Y=r(39761),Z=r(87519),q=r(13653),U=r(79765),H=r(66682),G=r(25917),J=r(74235),X=r(41291),$=r(12057),Q=r(18269);function W(t,e){1&t&&s._UZ(0,"span",1),2&t&&s.Q6J("innerHTML",e.polymorpheusOutlet,s.oJD)}var K,tt=(0,c.N1)(function(){return at}),et=(0,c.JN)({direction:"bottom-left",showDelay:500,hideDelay:200,appearance:"",icon:"tuiIconHelpCircle"}),nt=((K=function(t){a(n,t);var e=u(n);function n(t){var r;return y(this,n),(r=e.call(this)).options=t,r.direction=r.options.direction,r.appearance=r.options.appearance,r.showDelay=r.options.showDelay,r.hideDelay=r.options.hideDelay,r.icon=r.options.icon,r}return g(n)}(l.QJ)).\u0275fac=function(t){return new(t||K)(s.Y36(et,4))},K.\u0275dir=s.lG2({type:K,selectors:[["","tuiHintContent",""]],inputs:{content:["tuiHintContent","content"],direction:["tuiHintDirection","direction"],appearance:["tuiHintAppearance","appearance"],showDelay:["tuiHintShowDelay","showDelay"],hideDelay:["tuiHintHideDelay","hideDelay"]},features:[s._Bn([{provide:et,useExisting:(0,s.Gpc)(function(){return K})}]),s.qOj]}),K),rt=function(){var t=function(){function t(e,n,r,i,o){y(this,t),this.el=e,this.component=n,this.hintService=r,this.options=i,this.activeZone=o,this.tuiHintAppearance=null,this.type="hint"}return g(t,[{key:"appearance",get:function(){var t;return null!==(t=this.tuiHintAppearance)&&void 0!==t?t:this.options.appearance}},{key:"ngOnChanges",value:function(){this.content||this.toggle(!1)}},{key:"ngOnDestroy",value:function(){this.toggle(!1)}},{key:"getClientRect",value:function(){return this.el.nativeElement.getBoundingClientRect()}},{key:"toggle",value:function(t){t&&this.content?this.hintService.add(this):this.hintService.remove(this)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(T.Al),s.Y36(P.BN),s.Y36(et),s.Y36(h.e,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","tuiHint","",5,"ng-container"]],inputs:{content:["tuiHint","content"],context:["tuiHintContext","context"],tuiHintAppearance:"tuiHintAppearance"},features:[s._Bn([(0,O.Ic)(t),(0,O.Fe)(t),{provide:T.Al,deps:[tt,s.gxx],useClass:T.Al}]),s.TTD]}),t}(),it=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,function(t){return o.stream$.subscribe(t)})).hovered$=t,o.options=r,o.el=i,o.visible=!1,o.toggle$=new U.xQ,o.stream$=(0,H.T)(o.toggle$.pipe((0,N.w)(function(t){return(0,G.of)(t).pipe((0,z.g)(t?0:o.hideDelay))}),(0,F.R)(o.hovered$),(0,R.r)()),o.hovered$.pipe((0,N.w)(function(t){return(0,G.of)(t).pipe((0,z.g)(t?o.showDelay:o.hideDelay))}),(0,F.R)(o.toggle$),(0,R.r)())).pipe((0,j.h)(function(){return o.enabled}),(0,B.U)(function(t){return t&&!(0,A.mn)(o.el.nativeElement)}),(0,V.b)(function(t){o.visible=t})),o.showDelay=o.options.showDelay,o.hideDelay=o.options.hideDelay,o.type="hint",o.enabled=!0,o}return g(n,[{key:"toggle",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:!this.visible;this.toggle$.next(t)}}]),n}(O.kk);return t.\u0275fac=function(e){return new(e||t)(s.Y36(d.gs),s.Y36(et),s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t,selectors:[["","tuiHint","",5,"ng-container"]],inputs:{showDelay:["tuiHintShowDelay","showDelay"],hideDelay:["tuiHintHideDelay","hideDelay"]},exportAs:["tuiHintHover"],features:[s._Bn([(0,O.UK)(t),d.gs]),s.qOj]}),t}(),ot=function(){var t,e=function(t){a(n,t);var e=u(n);function n(){var t;return y(this,n),(t=e.apply(this,arguments)).currentRect=v.Jy,t}return g(n,[{key:"onMove",value:function(t){var e=t.clientX,n=t.clientY;this.currentRect=(0,m.dD)(e,n)}},{key:"getClientRect",value:function(){return this.currentRect}}]),n}(it);return e.\u0275fac=function(n){return(t||(t=s.n5z(e)))(n||e)},e.\u0275dir=s.lG2({type:e,selectors:[["","tuiHint","","tuiHintPointer",""]],hostBindings:function(t,e){1&t&&s.NdJ("mousemove.silent",function(t){return e.onMove(t)})},features:[s._Bn([(0,O.Ic)(e),(0,O.UK)(e)]),s.qOj]}),e}(),at=function(){var t=function(){function t(e,n,r,i,o,a,s,u,c,l,h,f){var d,v=this;y(this,t),this.animation=i,this.pointer=o,this.accessor=a,this.el=s,this.polymorpheus=u,this.hover=c,this.mode=l,this.visualViewportService=h,this.viewport=f,this.appearance=this.polymorpheus.$implicit.appearance||(null===(d=this.mode)||void 0===d?void 0:d.mode),n.pipe((0,B.U)(function(t){return v.visualViewportService.correct(t)}),(0,F.R)(r)).subscribe(function(t){var e=p(t,2),n=e[0],r=e[1];v.update(n,r)}),e.pipe((0,F.R)(r)).subscribe(function(t){return v.hover.toggle(t)})}return g(t,[{key:"content",get:function(){return this.polymorpheus.$implicit.content}},{key:"context",get:function(){return this.polymorpheus.$implicit.context}},{key:"onClick",value:function(t){(!this.el.nativeElement.contains(t)&&!this.hover.el.nativeElement.contains(t)||(0,A.mn)(this.hover.el.nativeElement))&&this.hover.toggle(!1)}},{key:"update",value:function(t,e){var n=this.el.nativeElement.getBoundingClientRect(),r=n.height,i=n.width,o=this.el.nativeElement.style,a=this.accessor.getClientRect(),s=this.viewport.getClientRect();if(a!==v.Jy){var u=(0,_.Ki)(e,4,s.width-i-4),c=p(this.visualViewportService.correct([a.top+a.height/2-t,a.left+a.width/2-u]),2),l=c[0],h=c[1];o.top=(0,b.O)(t),o.left=(0,b.O)(u),o.setProperty("--top",(0,b.O)((0,_.Ki)(l,.5,r-1))),o.setProperty("--left",(0,b.O)((0,_.Ki)(h,.5,i-1)))}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.Y36(d.gs),s.Y36(P.KG),s.Y36(k.a3,2),s.Y36(E.Pw),s.Y36(ot,8),s.Y36(O.O4),s.Y36(s.SBq),s.Y36(T.yf),s.Y36(it),s.Y36(S.w,8),s.Y36(P.Lp),s.Y36(E.EO))},t.\u0275cmp=s.Xpm({type:t,selectors:[["tui-hint"]],hostVars:4,hostBindings:function(t,e){1&t&&s.NdJ("click",function(t){return e.onClick(t.target)},!1,s.evT),2&t&&(s.uIk("data-appearance",e.appearance),s.d8E("@tuiFadeIn",e.animation),s.ekj("_untouchable",e.pointer))},features:[s._Bn([k.a3,P.KG,d.gs,(0,O.ei)("hint"),(0,O.Wk)("hint",rt)])],decls:1,vars:2,consts:[[3,"innerHTML",4,"polymorpheusOutlet","polymorpheusOutletContext"],[3,"innerHTML"]],template:function(t,e){1&t&&s.YNc(0,W,1,1,"span",0),2&t&&s.Q6J("polymorpheusOutlet",e.content)("polymorpheusOutletContext",e.context)},directives:[T.Li],styles:['[_nghost-%COMP%]{position:absolute;max-width:18rem;min-height:var(--tui-height-m);padding:.75rem 1rem;background:var(--tui-primary);border-radius:var(--tui-radius-l);color:var(--tui-primary-text);box-sizing:border-box;font:var(--tui-font-text-s);white-space:pre-line;word-wrap:break-word}[_nghost-%COMP%]:before{content:"";position:absolute;top:var(--top);left:var(--left);width:.5rem;height:.5rem;border-radius:.125rem;box-sizing:border-box;background:inherit;transform:translate(-50%,-50%) rotate(45deg)}[data-appearance=error][_nghost-%COMP%]{background:var(--tui-error-fill)}[data-appearance=onDark][_nghost-%COMP%]{background:var(--tui-elevation-02);color:var(--tui-text-01);filter:drop-shadow(0 0 .125rem rgba(0,0,0,.16)) drop-shadow(0 1.5rem 1rem rgba(0,0,0,.03)) drop-shadow(0 .75rem .75rem rgba(0,0,0,.04)) drop-shadow(0 .25rem .375rem rgba(0,0,0,.05))}[_nghost-%COMP%]:not([style*="top"]){visibility:hidden}._untouchable[_nghost-%COMP%]{pointer-events:none}'],data:{animation:[M.QF]},changeDetection:0}),(0,o.gn)([w.UM],t.prototype,"update",null),t}(),st=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,function(t){return o.stream$.subscribe(t)})).zone=t,o.doc=r,o.el=i,o.id$=new J.t(1),o.stream$=o.id$.pipe((0,C.Xd)(function(){return(0,C.mL)(o.doc,"keydown",{capture:!0})},c.Pc),(0,N.w)(function(){return o.focused?(0,G.of)(!1):(0,H.T)((0,C.mL)(o.doc,"keyup"),(0,C.mL)(o.element,"blur")).pipe((0,B.U)(function(){return o.focused}))}),function(t){return function(e){return e.lift(new D(t))}}(function(t){return t?(0,X.H)(1e3):(0,G.of)(null)}),(0,Y.O)(!1),(0,Z.x)(),(0,q.T)(1),(0,C.Yr)(o.zone)),o.tuiHintDescribe="",o.type="hint",o}return g(n,[{key:"ngOnChanges",value:function(){this.id$.next(this.tuiHintDescribe)}},{key:"focused",get:function(){return(0,x.V8)(this.element)}},{key:"element",get:function(){return this.doc.getElementById(this.tuiHintDescribe||"")||this.el.nativeElement}}]),n}(O.kk);return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.R0b),s.Y36($.K0),s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t,selectors:[["","tuiHintDescribe",""]],inputs:{tuiHintDescribe:"tuiHintDescribe"},features:[s._Bn([(0,O.UK)(t)]),s.qOj,s.TTD]}),(0,o.gn)([w.UM],t.prototype,"element",null),t}(),ut=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,t,r,i)).type="hint",o}return g(n)}(O.FP);return t.\u0275fac=function(e){return new(e||t)(s.Y36(k.a3,2),s.Y36(O.kk),s.Y36(O.c2))},t.\u0275dir=s.lG2({type:t,selectors:[["","tuiHint",""]],features:[s._Bn([k.a3]),s.qOj]}),t}(),ct=function(){var t=function(t){a(r,t);var n=u(r);function r(t,i,o,a){var s;return y(this,r),(s=n.call(this)).options=t,s.viewport=i,s.directive=o,s.accessors=a,s.points=Q.Fw.reduce(function(t,n){return Object.assign(Object.assign({},t),e({},n,[0,0]))},{}),s.direction=s.options.direction,s.type="hint",s}return g(r,[{key:"getPosition",value:function(t){var e,n,r=this,i=t.width,o=t.height,a=null!==(n=null===(e=this.accessor)||void 0===e?void 0:e.getClientRect())&&void 0!==n?n:v.Jy,s=a.left+a.width/2,u=a.top+a.height/2;if(this.points["top-left"][0]=a.top-o-8,this.points["top-left"][1]=s-i+22,this.points.top[0]=this.points["top-left"][0],this.points.top[1]=s-i/2,this.points["top-right"][0]=this.points["top-left"][0],this.points["top-right"][1]=s-22,this.points["bottom-left"][0]=a.bottom+8,this.points["bottom-left"][1]=this.points["top-left"][1],this.points.bottom[0]=this.points["bottom-left"][0],this.points.bottom[1]=this.points.top[1],this.points["bottom-right"][0]=this.points["bottom-left"][0],this.points["bottom-right"][1]=this.points["top-right"][1],this.points["left-top"][0]=u-o+22,this.points["left-top"][1]=a.left-i-8,this.points.left[0]=u-o/2,this.points.left[1]=this.points["left-top"][1],this.points["left-bottom"][0]=u-22,this.points["left-bottom"][1]=this.points["left-top"][1],this.points["right-top"][0]=this.points["left-top"][0],this.points["right-top"][1]=a.right+8,this.points.right[0]=this.points.left[0],this.points.right[1]=this.points["right-top"][1],this.points["right-bottom"][0]=this.points["left-bottom"][0],this.points["right-bottom"][1]=this.points["right-top"][1],this.checkPosition(this.points[this.direction],i,o))return this.points[this.direction];var c=Q.Fw.find(function(t){return r.checkPosition(r.points[t],i,o)});return this.points[c||this.fallback]}},{key:"accessor",get:function(){return(0,O.Sv)("hint")(this.accessors,this.directive)}},{key:"fallback",get:function(){return this.points.top[0]>this.viewport.getClientRect().bottom-this.points.bottom[0]?"top":"bottom"}},{key:"checkPosition",value:function(t,e,n){var r=p(t,2),i=r[0],o=r[1],a=this.viewport.getClientRect();return i>8&&o>8&&i+n4?o-4:0),s=4;se})}),(0,b.U)(function(t){return a.invert[t||a.sorted[a.sorted.length-1]]}),(0,k.x)(),(0,s.Yr)(a.ngZone),(0,w.d)({bufferSize:1,refCount:!0})),a}return g(r)}(d.y)).\u0275fac=function(t){return new(t||i)(o.LFG(f.J_),o.LFG(o.R0b),o.LFG(c.fM))},i.\u0275prov=o.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i),T=function(){var t=function(t){a(n,t);var e=u(n);function n(){return y(this,n),e.call(this,[])}return g(n,[{key:"add",value:function(t){this.next(this.value.concat(t))}},{key:"remove",value:function(t){this.value.includes(t)&&this.next(this.value.filter(function(e){return e!==t}))}}]),n}(p.X);return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),I=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r,i,o){return y(this,n),e.call(this,function(e){return r.pipe((0,b.U)(function(){return t.nativeElement.getBoundingClientRect()}),(0,b.U)(function(t){return o.getPosition(t)}),(0,s.fL)(i),(0,C.x)(function(){return o.getPosition(l.Jy)})).subscribe(e)})}return g(n)}(d.y);return t.\u0275fac=function(e){return new(e||t)(o.LFG(o.SBq),o.LFG(O.L1),o.LFG(o.R0b),o.LFG(M.uG))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t}(),D=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r,i,o){y(this,n);var a=t?(0,v.T)((0,m.H)(0),i).pipe((0,b.U)(function(){return t.isActive}),(0,k.x)(),(0,s.Yr)(r),(0,x.R)(o)):_.E;return e.call(this,function(t){return a.subscribe(t)})}return g(n)}(d.y);return t.\u0275fac=function(e){return new(e||t)(o.LFG(S.Od,8),o.LFG(o.R0b),o.LFG(O.L1),o.LFG(h.a3,2))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t}(),L=function(){var t=function(){function t(e,n,r){y(this,t),this.tuiSanitizer=e,this.sanitizer=n,this.originals={},this.items$=new p.X(new Map),this.define(r)}return g(t,[{key:"define",value:function(t){var e=this,n=this.items$.value;Object.keys(t).forEach(function(r){e.defineIcon(r,t[r],n)}),this.items$.next(n)}},{key:"getOriginal",value:function(t){return this.originals[t]||null}},{key:"defineIcon",value:function(t,n,r){if(!r.has(t)){var i=this.parseSrc(t,n);!i||(r.set(t,i),this.originals=Object.assign(Object.assign({},this.originals),e({},t,n)))}}},{key:"parseSrc",value:function(t,e){return this.sanitize((0,E.NK)(e,t))}},{key:"sanitize",value:function(t){return this.sanitizer.bypassSecurityTrustHtml((this.tuiSanitizer?this.tuiSanitizer.sanitize(o.q3G.HTML,t):this.sanitizer.sanitize(o.q3G.HTML,t))||"")}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.LFG(f.hm,8),o.LFG(P.H7),o.LFG(f.It))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),N=function(){var t=function(){function t(e,n){y(this,t),this.win=e,this.isWebkit=n}return g(t,[{key:"correct",value:function(t){var e,n,r,i;return this.isWebkit?[t[0]+(null!==(n=null===(e=this.win.visualViewport)||void 0===e?void 0:e.offsetTop)&&void 0!==n?n:0),t[1]+(null!==(i=null===(r=this.win.visualViewport)||void 0===r?void 0:r.offsetLeft)&&void 0!==i?i:0)]:t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.LFG(O.m9),o.LFG(c.jF))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}()},79456:function(t,e,n){"use strict";n.d(e,{dx:function(){return M},Pw:function(){return S},U0:function(){return z},Gs:function(){return E},N1:function(){return I},PL:function(){return R},xp:function(){return B},It:function(){return Y},ki:function(){return Z},AA:function(){return V},rL:function(){return U},sf:function(){return H},J_:function(){return q},Au:function(){return G},$R:function(){return N},PH:function(){return F},Ln:function(){return X},HO:function(){return $},IQ:function(){return Q},TK:function(){return O},hm:function(){return tt},u_:function(){return et},V5:function(){return nt},jt:function(){return rt},S0:function(){return it},r2:function(){return at},sE:function(){return st},EO:function(){return ut},RB:function(){return T},oE:function(){return D},P7:function(){return W},cp:function(){return ot}});var r=n(74788),i=n(11927),o=n(36424),a=n(40946),s=n(68192),u=n(12057),c=n(47232),l=n(47766),h=n(66640),f=n(62579),p=n(9945),v=n(39761),g=n(88002),m=n(87519),y=n(43190),_=n(46782),b=n(18269),k=n(25917),w=n(66682),C=n(54487),x=n(77320),O=(0,i.N1)(function(){var t,e,n;return null!==(n=null===(e=null===(t=(0,r.f3M)(u.K0).defaultView)||void 0===t?void 0:t.matchMedia)||void 0===e?void 0:e.call(t,"(prefers-reduced-motion: reduce)").matches)&&void 0!==n&&n}),M=(0,i.N1)(function(){return(0,r.f3M)(O)?0:300}),S=(0,i.N1)(function(){return{value:"",params:{duration:(0,r.f3M)(M)}}}),P=((0,i.N1)(function(){return(0,r.X6Q)()}),{check:"tuiIconCheck",close:"tuiIconClose",error:"tuiIconAlertCircle",more:"tuiIconChevronRight"}),E=(0,i.JN)(P),A=new r.OlP("[TUI_DATA_LIST_ACCESSOR]");function T(t){return{provide:A,useExisting:t}}var I=new r.OlP("[TUI_DATA_LIST_HOST]");function D(t){return{provide:I,useExisting:t}}(0,i.JN)(function(t){return t.isWeekend?"weekend":"weekday"}),new r.OlP("[TUI_DOCUMENT_OR_SHADOW_ROOT]"),new r.OlP("[TUI_ELEMENT_REF]");var L=(0,i.JN)(o.L.Monday),N=(0,i.N1)((0,c.v)("months")),z=(0,i.N1)((0,c.v)("close")),F=(0,i.N1)((0,c.v)("nothingFoundMessage")),R=(0,i.N1)((0,c.v)("defaultErrorMessage")),j=((0,i.N1)((0,c.v)("spinTexts")),(0,i.N1)((0,c.v)("shortWeekDays"))),B="assets/taiga-ui/icons",V=(0,i.JN)(B),Y=(0,i.JN)({}),Z=(0,i.N1)(function(){return(0,h.ht)((0,r.f3M)(V))}),q=(0,i.JN)({mobile:768,desktopSmall:1024,desktopLarge:1280}),U=(0,i.N1)(function(){var t=(0,r.f3M)(f.m9),e=(0,r.f3M)(q);return(0,a.mL)(t,"resize").pipe((0,p.B)(),(0,v.O)(null),(0,g.U)(function(){return function(t,e){var n=e.mobile;return(0,l.ic)(t)")));if(!(null==r?void 0:r.includes(o))||!r.includes(a))return"".concat(n.replace(s,'");var i=r.indexOf(o),u=r.indexOf(a),c=i+o.length,l=u+a.length,h=r.slice(c,r.indexOf('"',c)),f=r.slice(l,r.indexOf('"',l));if(!f||!h||h.includes("%")||f.includes("%")||h.includes("em")||f.includes("em"))return n.replace(s,'').concat(n,"")}},66640:function(t,e,n){"use strict";n.d(e,{_X:function(){return o},ht:function(){return a},kL:function(){return s},mn:function(){return u},jL:function(){return c},lp:function(){return l},R9:function(){return f}});var r=n(18269),i=n(64493);function o(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"m",o="s"===i?0:.25,a=0;return t&&(a+=1.5+o),e&&(a+=1.5+o),n&&(a+=1.5+o),r&&(a+=2.5+o),a}function a(t){var e=t.endsWith("/")?t:"".concat(t,"/");return function(t){return t.startsWith("tuiIcon")?"".concat(e).concat(t,".svg").concat(r.uJ,"#").concat(t):(0,r.oA)(t)}}function s(t){return 1===t.length||r.Nq.includes(t)}function u(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"tui-hints-host";return!!(null===(e=(0,i.PU)(t))||void 0===e?void 0:e.some(function(t){return!t.closest(n)}))}function c(t){var e=t.trim();return e.startsWith("<")&&e.endsWith(">")}function l(t,e){return function(n,r){var i=n||Object.assign({},r||e);return Object.keys(t).forEach(function(e){i[e]=t[e]}),i}}var h={xxs:0,xs:1,s:2,m:3,l:4,xl:5,xxl:6};function f(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"s";return h[t]>h[e]}},31081:function(t,e,n){"use strict";n.d(e,{X:function(){return i}});var r,i=((r=i||(i={})).AD="AD",r.AE="AE",r.AF="AF",r.AG="AG",r.AI="AI",r.AL="AL",r.AM="AM",r.AO="AO",r.AR="AR",r.AT="AT",r.AU="AU",r.AW="AW",r.AZ="AZ",r.BA="BA",r.BB="BB",r.BD="BD",r.BE="BE",r.BF="BF",r.BG="BG",r.BH="BH",r.BI="BI",r.BJ="BJ",r.BL="BL",r.BM="BM",r.BN="BN",r.BO="BO",r.BQ="BQ",r.BR="BR",r.BS="BS",r.BT="BT",r.BW="BW",r.BY="BY",r.BZ="BZ",r.CA="CA",r.CD="CD",r.CF="CF",r.CG="CG",r.CH="CH",r.CI="CI",r.CL="CL",r.CM="CM",r.CN="CN",r.CO="CO",r.CR="CR",r.CU="CU",r.CV="CV",r.CW="CW",r.CY="CY",r.CZ="CZ",r.DE="DE",r.DJ="DJ",r.DK="DK",r.DM="DM",r.DO="DO",r.DZ="DZ",r.EC="EC",r.EE="EE",r.EG="EG",r.ER="ER",r.ES="ES",r.ET="ET",r.FI="FI",r.FJ="FJ",r.FK="FK",r.FM="FM",r.FR="FR",r.GA="GA",r.GB="GB",r.GD="GD",r.GE="GE",r.GF="GF",r.GH="GH",r.GI="GI",r.GL="GL",r.GM="GM",r.GN="GN",r.GP="GP",r.GQ="GQ",r.GR="GR",r.GT="GT",r.GW="GW",r.GY="GY",r.HK="HK",r.HN="HN",r.HR="HR",r.HT="HT",r.HU="HU",r.ID="ID",r.IE="IE",r.IL="IL",r.IN="IN",r.IQ="IQ",r.IR="IR",r.IS="IS",r.IT="IT",r.JM="JM",r.JO="JO",r.JP="JP",r.KE="KE",r.KG="KG",r.KH="KH",r.KM="KM",r.KN="KN",r.KP="KP",r.KR="KR",r.KW="KW",r.KY="KY",r.KZ="KZ",r.LA="LA",r.LB="LB",r.LC="LC",r.LI="LI",r.LK="LK",r.LR="LR",r.LS="LS",r.LT="LT",r.LU="LU",r.LV="LV",r.LY="LY",r.MA="MA",r.MC="MC",r.MD="MD",r.ME="ME",r.MF="MF",r.MG="MG",r.MK="MK",r.ML="ML",r.MM="MM",r.MN="MN",r.MO="MO",r.MQ="MQ",r.MR="MR",r.MS="MS",r.MT="MT",r.MU="MU",r.MV="MV",r.MW="MW",r.MX="MX",r.MY="MY",r.MZ="MZ",r.NA="NA",r.NC="NC",r.NE="NE",r.NG="NG",r.NI="NI",r.NL="NL",r.NO="NO",r.NP="NP",r.NZ="NZ",r.OM="OM",r.PA="PA",r.PE="PE",r.PF="PF",r.PG="PG",r.PH="PH",r.PK="PK",r.PL="PL",r.PT="PT",r.PW="PW",r.PY="PY",r.QA="QA",r.RE="RE",r.RO="RO",r.RS="RS",r.RU="RU",r.RW="RW",r.SA="SA",r.SB="SB",r.SC="SC",r.SD="SD",r.SE="SE",r.SG="SG",r.SH="SH",r.SI="SI",r.SK="SK",r.SL="SL",r.SM="SM",r.SN="SN",r.SO="SO",r.SR="SR",r.ST="ST",r.SV="SV",r.SX="SX",r.SY="SY",r.SZ="SZ",r.TC="TC",r.TD="TD",r.TG="TG",r.TH="TH",r.TJ="TJ",r.TL="TL",r.TM="TM",r.TN="TN",r.TO="TO",r.TR="TR",r.TT="TT",r.TW="TW",r.TZ="TZ",r.UA="UA",r.UG="UG",r.US="US",r.UY="UY",r.UZ="UZ",r.VC="VC",r.VE="VE",r.VG="VG",r.VN="VN",r.VU="VU",r.WS="WS",r.XK="XK",r.YE="YE",r.YT="YT",r.ZA="ZA",r.ZM="ZM",r.ZW="ZW",i)},47232:function(t,n,r){"use strict";var i;r.d(n,{v:function(){return p}});var o=r(74788),a=r(31081),s=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({name:"english"},{months:["January","February","March","April","May","June","July","August","September","October","November","December"],close:"Close",nothingFoundMessage:"Nothing found",defaultErrorMessage:"Value is invalid",spinTexts:["Previous","Next"],shortWeekDays:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],countries:(i={},e(i,a.X.AD,"Andorra"),e(i,a.X.AE,"United Arab Emirates"),e(i,a.X.AF,"Afghanistan"),e(i,a.X.AG,"Antigua and Barbuda"),e(i,a.X.BL,"Saint Barth\xe9lemy"),e(i,a.X.AI,"Anguilla"),e(i,a.X.AL,"Albania"),e(i,a.X.AM,"Armenia"),e(i,a.X.AO,"Angola"),e(i,a.X.AR,"Argentina"),e(i,a.X.AT,"Austria"),e(i,a.X.AU,"Australia"),e(i,a.X.AW,"Aruba"),e(i,a.X.AZ,"Azerbaijan"),e(i,a.X.BA,"Bosnia and Herzegovina"),e(i,a.X.BB,"Barbados"),e(i,a.X.BD,"Bangladesh"),e(i,a.X.BE,"Belgium"),e(i,a.X.BF,"Burkina Faso"),e(i,a.X.BG,"Bulgaria"),e(i,a.X.BH,"Bahrain"),e(i,a.X.BI,"Burundi"),e(i,a.X.BJ,"Benin"),e(i,a.X.GF,"Guyana"),e(i,a.X.BM,"Bermuda"),e(i,a.X.BN,"Brunei Darussalam"),e(i,a.X.BO,"Bolivia"),e(i,a.X.BQ,"Bonaire, Sint Eustatius and Saba"),e(i,a.X.BR,"Brazil"),e(i,a.X.BS,"Bahamas"),e(i,a.X.BT,"Bhutan"),e(i,a.X.BW,"Botswana"),e(i,a.X.BY,"Belarus"),e(i,a.X.BZ,"Belize"),e(i,a.X.CA,"Canada"),e(i,a.X.CD,"Dem. Rep. Congo (Kinshasa)"),e(i,a.X.CF,"Central African Republic"),e(i,a.X.CG,"Congo (Brazzaville)"),e(i,a.X.CH,"Switzerland"),e(i,a.X.CI,"Ivory Coast"),e(i,a.X.CL,"Chile"),e(i,a.X.CM,"Cameroon"),e(i,a.X.CN,"China"),e(i,a.X.CO,"Colombia"),e(i,a.X.CR,"Costa Rica"),e(i,a.X.CU,"Cuba"),e(i,a.X.CV,"Cape Verde"),e(i,a.X.CW,"Cura\xe7ao"),e(i,a.X.CY,"Cyprus"),e(i,a.X.CZ,"Czech Republic"),e(i,a.X.DE,"Germany"),e(i,a.X.DJ,"Djibouti"),e(i,a.X.DK,"Denmark"),e(i,a.X.DM,"Dominica"),e(i,a.X.DO,"Dominican Republic"),e(i,a.X.DZ,"Algeria"),e(i,a.X.EC,"Ecuador"),e(i,a.X.EE,"Estonia"),e(i,a.X.EG,"Egypt"),e(i,a.X.ER,"Eritrea"),e(i,a.X.ES,"Spain"),e(i,a.X.ET,"Ethiopia"),e(i,a.X.FI,"Finland"),e(i,a.X.FJ,"Fiji"),e(i,a.X.FK,"Falkland Islands"),e(i,a.X.FM,"F.S. of Micronesia"),e(i,a.X.FR,"France"),e(i,a.X.GA,"Gabon"),e(i,a.X.GB,"United Kingdom"),e(i,a.X.GD,"Grenada"),e(i,a.X.GE,"Georgia"),e(i,a.X.GP,"Guadeloupe"),e(i,a.X.GH,"Ghana"),e(i,a.X.GI,"Gibraltar"),e(i,a.X.GL,"Greenland"),e(i,a.X.GM,"Gambia"),e(i,a.X.GN,"Guinea"),e(i,a.X.MF,"Saint-Martin"),e(i,a.X.GQ,"Equatorial Guinea"),e(i,a.X.GR,"Greece"),e(i,a.X.GT,"Guatemala"),e(i,a.X.GW,"Guinea-Bissau"),e(i,a.X.GY,"Guyana"),e(i,a.X.HK,"Hong Kong"),e(i,a.X.HN,"Honduras"),e(i,a.X.HR,"Croatia"),e(i,a.X.HT,"Haiti"),e(i,a.X.HU,"Hungary"),e(i,a.X.ID,"Indonesia"),e(i,a.X.IE,"Ireland"),e(i,a.X.IL,"Israel"),e(i,a.X.IN,"India"),e(i,a.X.IQ,"Iraq"),e(i,a.X.IR,"Iran"),e(i,a.X.IS,"Iceland"),e(i,a.X.IT,"Italy"),e(i,a.X.JM,"Jamaica"),e(i,a.X.JO,"Jordan"),e(i,a.X.JP,"Japan"),e(i,a.X.KE,"Kenya"),e(i,a.X.KG,"Kyrgyzstan"),e(i,a.X.KH,"Cambodia"),e(i,a.X.KM,"Comoros"),e(i,a.X.KN,"Saint Kitts and Nevis"),e(i,a.X.KP,"Korean PDR"),e(i,a.X.KR,"Rep. Korea"),e(i,a.X.KW,"Kuwait"),e(i,a.X.KY,"Cayman Islands"),e(i,a.X.KZ,"Kazakhstan"),e(i,a.X.LA,"Laos"),e(i,a.X.LB,"Lebanon"),e(i,a.X.LC,"Saint Lucia"),e(i,a.X.LI,"Liechtenstein"),e(i,a.X.LK,"Sri Lanka"),e(i,a.X.LR,"Liberia"),e(i,a.X.LS,"Lesotho"),e(i,a.X.LT,"Lithuania"),e(i,a.X.LU,"Luxembourg"),e(i,a.X.LV,"Latvia"),e(i,a.X.LY,"Libya"),e(i,a.X.MA,"Morocco"),e(i,a.X.MC,"Monaco"),e(i,a.X.MD,"Moldova"),e(i,a.X.ME,"Montenegro"),e(i,a.X.MQ,"Martinique"),e(i,a.X.MG,"Madagascar"),e(i,a.X.MK,"Rep. of North Macedonia"),e(i,a.X.ML,"Mali"),e(i,a.X.MM,"Burma (Myanmar)"),e(i,a.X.MN,"Mongolia"),e(i,a.X.MO,"Macau"),e(i,a.X.RE,"R\xe9union"),e(i,a.X.MR,"Mauritania"),e(i,a.X.MS,"Montserrat"),e(i,a.X.MT,"Malta"),e(i,a.X.MU,"Mauritius"),e(i,a.X.MV,"Maldives"),e(i,a.X.MW,"Malawi"),e(i,a.X.MX,"Mexico"),e(i,a.X.MY,"Malaysia"),e(i,a.X.MZ,"Mozambique"),e(i,a.X.NA,"Namibia"),e(i,a.X.NC,"New Caledonia"),e(i,a.X.NE,"Niger"),e(i,a.X.NG,"Nigeria"),e(i,a.X.NI,"Nicaragua"),e(i,a.X.NL,"Netherlands"),e(i,a.X.NO,"Norway"),e(i,a.X.NP,"Nepal"),e(i,a.X.NZ,"New Zealand"),e(i,a.X.OM,"Oman"),e(i,a.X.PA,"Panama"),e(i,a.X.PE,"Peru"),e(i,a.X.PF,"French Polynesia (Tahiti)"),e(i,a.X.PG,"Papua New Guinea"),e(i,a.X.PH,"Philippines"),e(i,a.X.PK,"Pakistan"),e(i,a.X.PL,"Poland"),e(i,a.X.PT,"Portugal"),e(i,a.X.PW,"Palau"),e(i,a.X.PY,"Paraguay"),e(i,a.X.QA,"Qatar"),e(i,a.X.YT,"Mayotte"),e(i,a.X.RO,"Romania"),e(i,a.X.RS,"Serbia"),e(i,a.X.RU,"Russia"),e(i,a.X.RW,"Rwanda"),e(i,a.X.SA,"Saudi Arabia"),e(i,a.X.SB,"Solomon Islands"),e(i,a.X.SC,"Seychelles"),e(i,a.X.SD,"Sudan"),e(i,a.X.SE,"Sweden"),e(i,a.X.SG,"Singapore"),e(i,a.X.SH,"Saint Helena"),e(i,a.X.SI,"Slovenia"),e(i,a.X.SK,"Slovakia"),e(i,a.X.SL,"Sierra Leone"),e(i,a.X.SM,"San Marino"),e(i,a.X.SN,"Senegal"),e(i,a.X.SO,"Somalia"),e(i,a.X.SR,"Suriname"),e(i,a.X.ST,"Sao Tome and Principe"),e(i,a.X.SV,"El Salvador"),e(i,a.X.SX,"Sint Maarten"),e(i,a.X.SY,"Syrian Arab Republic"),e(i,a.X.SZ,"Swaziland"),e(i,a.X.TC,"Turks and Caicos"),e(i,a.X.TD,"Chad"),e(i,a.X.TG,"Togo"),e(i,a.X.TH,"Thailand"),e(i,a.X.TJ,"Tajikistan"),e(i,a.X.TL,"East Timor"),e(i,a.X.TM,"Turkmenistan"),e(i,a.X.TN,"Tunisia"),e(i,a.X.TO,"Tonga"),e(i,a.X.TR,"Turkey"),e(i,a.X.TT,"Trinidad and Tobago"),e(i,a.X.TW,"Taiwan"),e(i,a.X.TZ,"Tanzania"),e(i,a.X.UA,"Ukraine"),e(i,a.X.UG,"Uganda"),e(i,a.X.US,"USA"),e(i,a.X.UY,"Uruguay"),e(i,a.X.UZ,"Uzbekistan"),e(i,a.X.VC,"Saint Vincent and the Grenadines"),e(i,a.X.VE,"Venezuela"),e(i,a.X.VG,"British Virgin Islands"),e(i,a.X.VN,"Vietnam"),e(i,a.X.VU,"Vanuatu"),e(i,a.X.WS,"Samoa"),e(i,a.X.XK,"Kosovo"),e(i,a.X.YE,"Yemen"),e(i,a.X.ZA,"South Africa"),e(i,a.X.ZM,"Zambia"),e(i,a.X.ZW,"Zimbabwe"),i)}),{cancel:"Cancel",done:"Done",more:"More",otherDate:"Other date...",showAll:"Show all",hide:"Hide",mobileCalendarTexts:["Choose day","Choose range"],range:["from","to"],countTexts:["Plus","Minus"],time:{"HH:MM":"HH:MM","HH:MM:SS":"HH:MM:SS","HH:MM:SS.MSS":"HH:MM:SS.MSS"},dateTexts:{DMY:"dd.mm.yyyy",MDY:"mm.dd.yyyy",YMD:"yyyy.mm.dd"},digitalInformationUnits:["B","KiB","MiB"],passwordTexts:["Show password","Hide password"],copyTexts:["Copy","Copied"],shortCalendarMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],pagination:["Previous page","Next page"],fileTexts:{loadingError:"Upload failed",preview:"Preview",remove:"Remove"},inputFileTexts:{defaultLabelSingle:"or drop\xa0it\xa0here",defaultLabelMultiple:"or drop\xa0them\xa0here",defaultLinkSingle:"Choose a file",defaultLinkMultiple:"Choose files",maxSizeRejectionReason:"File is too large ",formatRejectionReason:"Wrong file type",drop:"Drop file here",dropMultiple:"Drop files here"},multiSelectTexts:{all:"Select all",none:"Select none"},prompt:{yes:"Yes",no:"No"}}),{showHideText:"Show/Hide",paginationTexts:{pages:"Pages",linesPerPage:"Lines per page",of:"of"}}),{cardNumber:["Number","Card number"],cardExpiry:["Expires","Valid through"]}),{colorSelectorModeNames:["Solid color","Gradient"],toolbarTools:{undo:"Undo",redo:"Redo",font:"Font",fontStyle:"Font style",fontSize:"Font size",bold:"Bold",italic:"Italic",underline:"Underline",strikeThrough:"Strike through",justify:"Justify",justifyLeft:"Justify left",justifyCenter:"Justify center",justifyRight:"Justify right",justifyFull:"Justify full",list:"List",indent:"Indent",outdent:"Outdent",unorderedList:"Unordered list",orderedList:"Ordered list",quote:"Quote",foreColor:"Color",backColor:"Background color",hiliteColor:"Highlight color",clear:"Clear",link:"Link",attach:"Attach file",tex:"Insert TeX",code:"Code",image:"Insert image",insertHorizontalRule:"Insert horizontal rule",superscript:"Superscript",subscript:"Subscript",insertTable:"Insert table",insertGroup:"Insert group",hiliteGroup:"Hilite group",removeGroup:"Remove group",insertAnchor:"Insert anchor",mergeCells:"Merge cells",splitCells:"Split cells",rowsColumnsManaging:"Managing rows and columns",cellColor:"Cell color",setDetails:"Details",removeDetails:"Remove details"},editorEditLink:{urlExample:"example.com",anchorExample:"anchor"},editorTableCommands:[["Insert column before","Insert column after"],["Insert row before","Insert row after"],["Delete column","Delete row"]],editorCodeOptions:["Code in the text","Code in block"],editorFontOptions:{small:"Small",large:"Large",normal:"Normal",title:"Title",subtitle:"Subtitle"}}),{previewTexts:{rotate:"Rotate"},zoomTexts:{zoomOut:"Zoom out",zoomIn:"Zoom in",reset:"Reset"}}),u=r(25917),c=new o.OlP("[TUI_DEFAULT_LANGUAGE]",{factory:function(){return s}}),l=new o.OlP("[TUI_LANGUAGE]",{factory:function(){return(0,u.of)((0,o.f3M)(c))}});new o.OlP("[TUI_LANGUAGE_LOADER]"),new o.OlP("[TUI_LANGUAGE_STORAGE_KEY]",{factory:function(){return"tuiLanguage"}});var h=r(95639),f=r(43190),d=r(88002);function p(t){return function(){return(0,o.f3M)(l).pipe((0,f.w)(function(t){return(0,h.b)(t)?t:(0,u.of)(t)}),(0,d.U)(function(e){return e[t]}))}}},44711:function(t,e,n){"use strict";n.d(e,{p:function(){return N},s:function(){return z}});var r=n(74788),i=n(87862),o=n(76480),s=n(57179),c=n(99434),l=n(11927),h=n(77320),f=n(54789),d=n(91489),p=n(89570);function v(t,e){if(1&t&&r._UZ(0,"tui-svg",2),2&t){var n=e.polymorpheusOutlet,i=r.oxw();r.ekj("t-mark_on",!i.empty),r.Q6J("src",n)}}var m,_=function(t){return{$implicit:t}},b=["*"],k=(0,l.JN)({size:"m",appearances:{unchecked:h.Nm.Outline,checked:h.Nm.Primary,indeterminate:h.Nm.Primary},icons:{checked:function(t){return"m"===t.$implicit?"tuiIconCheck":"tuiIconCheckLarge"},indeterminate:function(t){return"m"===t.$implicit?"tuiIconMinus":"tuiIconMinusLarge"}}}),w=((m=function(){function t(e){y(this,t),this.options=e,this.size=this.options.size,this.disabled=!1,this.focused=!1,this.hovered=!1,this.pressed=!1,this.invalid=!1,this.icon=this.options.icons.checked,this.value=!1}return g(t,[{key:"valueSetter",set:function(t){!1!==t&&this.setCurrentIcon(t),this.value=t}},{key:"appearance",get:function(){switch(this.value){case!1:return this.options.appearances.unchecked;case!0:return this.options.appearances.checked;default:return this.options.appearances.indeterminate}}},{key:"empty",get:function(){return!1===this.value}},{key:"setCurrentIcon",value:function(t){this.icon=null===t?this.options.icons.indeterminate:this.options.icons.checked}}]),t}()).\u0275fac=function(t){return new(t||m)(r.Y36(k))},m.\u0275cmp=r.Xpm({type:m,selectors:[["tui-primitive-checkbox"]],hostVars:1,hostBindings:function(t,e){2&t&&r.uIk("data-size",e.size)},inputs:{size:"size",disabled:"disabled",focused:"focused",hovered:"hovered",pressed:"pressed",invalid:"invalid",valueSetter:["value","valueSetter"]},ngContentSelectors:b,decls:3,vars:10,consts:[["tuiWrapper","",3,"active","appearance","disabled","focus","hover","invalid"],["class","t-mark",3,"t-mark_on","src",4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-mark",3,"src"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"div",0),r.YNc(1,v,1,3,"tui-svg",1),r.Hsn(2),r.qZA()),2&t&&(r.Q6J("active",e.pressed)("appearance",e.appearance)("disabled",e.disabled)("focus",e.focused)("hover",e.hovered)("invalid",e.invalid),r.xp6(1),r.Q6J("polymorpheusOutlet",e.icon)("polymorpheusOutletContext",r.VKq(8,_,e.size)))},directives:[d.o,p.Li,f.PN],styles:["[_nghost-%COMP%]{display:block;font-size:0;flex-shrink:0}[data-size=m][_nghost-%COMP%]{width:1rem;height:1rem;border-radius:var(--tui-radius-xs)}[data-size=l][_nghost-%COMP%]{width:1.5rem;height:1.5rem;border-radius:var(--tui-radius-s)}.t-mark[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:block;width:100%;height:100%;transform:scale(0)}.t-mark_on[_ngcontent-%COMP%]{transform:scale(1)}"],changeDetection:0}),m),C=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[f.EI,d.W,p.wq]]}),t}(),x=n(79456),O=n(12130),M=n(44541),S=n(13633),P=n(75059),E=n(88491),A=n(12057),T=["focusableElement"],I=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,t,i)).options=r,o.size=o.options.size,o}return g(n,[{key:"nativeFocusableElement",get:function(){return!this.focusableElement||this.computedDisabled?null:this.focusableElement.nativeElement}},{key:"focused",get:function(){return(0,s.V8)(this.nativeFocusableElement)}},{key:"computedFocusable",get:function(){return this.interactive&&this.focusable}},{key:"onChecked",value:function(t){this.value=t}},{key:"onFocused",value:function(t){this.updateFocused(t)}},{key:"onFocusVisible",value:function(t){this.updateFocusVisible(t)}}]),n}(o.F9);return t.\u0275fac=function(e){return new(e||t)(r.Y36(i.a5,10),r.Y36(k),r.Y36(r.sBO))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-checkbox"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(T,5),2&t)&&(r.iGM(n=r.CRH())&&(e.focusableElement=n.first))},hostVars:1,hostBindings:function(t,e){2&t&&r.uIk("data-size",e.size)},inputs:{size:"size"},features:[r._Bn([(0,c.FT)(t),(0,o.wB)(t)]),r.qOj],decls:3,vars:11,consts:[[3,"disabled","focused","hovered","invalid","pressed","size","value"],["automation-id","tui-checkbox__native","type","checkbox",1,"t-native",3,"disabled","id","tuiFocusable","tuiChecked","tuiCheckedChange","tuiFocusedChange","tuiFocusVisibleChange"],["focusableElement",""]],template:function(t,e){1&t&&(r.TgZ(0,"tui-primitive-checkbox",0),r.TgZ(1,"input",1,2),r.NdJ("tuiCheckedChange",function(t){return e.value=t})("tuiFocusedChange",function(t){return e.onFocused(t)})("tuiFocusVisibleChange",function(t){return e.onFocusVisible(t)}),r.qZA(),r.qZA()),2&t&&(r.Q6J("disabled",e.disabled)("focused",e.computedFocusVisible)("hovered",e.pseudoHover)("invalid",e.computedInvalid)("pressed",e.pseudoActive)("size",e.size)("value",e.value),r.xp6(1),r.Q6J("disabled",e.disabled)("id",e.id)("tuiFocusable",e.computedFocusable)("tuiChecked",e.value))},directives:[w,M.t,S.t,P.U,E.q],styles:["[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:block;flex-shrink:0}[data-size=m][_nghost-%COMP%]{width:1rem;height:1rem}[data-size=l][_nghost-%COMP%]{width:1.5rem;height:1.5rem}._readonly[_nghost-%COMP%] tui-primitive-checkbox[_ngcontent-%COMP%]{pointer-events:none}.t-native[_ngcontent-%COMP%]{padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.t-native[_ngcontent-%COMP%]:-webkit-autofill, .t-native[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-native[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}"],changeDetection:0}),t}(),D=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[A.ez,M.S,S.u,P.F,E.c,C]]}),t}(),L=["*"],N=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r,i,o){var a;return y(this,n),(a=e.call(this,t,r)).mode$=i,a.options=o,a.size=a.options.size,a}return g(n,[{key:"focused",get:function(){return(0,s.V8)(this.nativeFocusableElement)}},{key:"nativeFocusableElement",get:function(){var t,e;return null!==(e=null===(t=this.checkbox)||void 0===t?void 0:t.nativeFocusableElement)&&void 0!==e?e:null}},{key:"onFocused",value:function(t){this.updateFocused(t)}},{key:"onModelChange",value:function(t){this.value=t}}]),n}(o.F9);return t.\u0275fac=function(e){return new(e||t)(r.Y36(i.a5,10),r.Y36(r.sBO),r.Y36(x.Au),r.Y36(k))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-checkbox-labeled"]],viewQuery:function(t,e){var n;(1&t&&r.Gf(I,5),2&t)&&(r.iGM(n=r.CRH())&&(e.checkbox=n.first))},hostVars:1,hostBindings:function(t,e){1&t&&r.NdJ("$.data-mode.attr",function(){return e.mode$}),2&t&&r.uIk("data-size",e.size)},inputs:{size:"size"},features:[r._Bn([(0,c.FT)(t),(0,o.wB)(t),O.CV]),r.qOj],ngContentSelectors:L,decls:4,vars:12,consts:[[1,"t-wrapper"],[3,"disabled","focusable","nativeId","pseudoActive","pseudoFocus","pseudoHover","pseudoInvalid","readOnly","size","ngModel","ngModelChange","focusedChange"],[1,"t-content"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"label",0),r.TgZ(1,"tui-checkbox",1),r.NdJ("ngModelChange",function(t){return e.value=t})("focusedChange",function(t){return e.onFocused(t)}),r.qZA(),r.TgZ(2,"div",2),r.Hsn(3),r.qZA(),r.qZA()),2&t&&(r.xp6(1),r.Q6J("disabled",e.computedDisabled)("focusable",e.focusable)("nativeId",e.nativeId)("pseudoActive",e.pseudoActive)("pseudoFocus",e.pseudoFocus)("pseudoHover",e.pseudoHover)("pseudoInvalid",e.computedInvalid)("readOnly",e.readOnly)("size",e.size)("ngModel",e.value),r.xp6(1),r.ekj("t-content_disabled",e.computedDisabled))},directives:[I,i.JJ,i.On],styles:["[_nghost-%COMP%]{position:relative;display:block;line-height:0}._disabled[_nghost-%COMP%], ._readonly[_nghost-%COMP%]{pointer-events:none}.t-wrapper[_ngcontent-%COMP%]{display:inline-flex;max-width:100%;cursor:pointer}._disabled[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{cursor:default}[data-mode=onDark][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{color:var(--tui-text-01-night)}.t-content[_ngcontent-%COMP%]{font:var(--tui-font-text-s);line-height:1rem;word-wrap:break-word;min-width:0}.t-content_disabled[_ngcontent-%COMP%]{opacity:var(--tui-disabled-opacity)}[data-size=m][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{margin-left:.5rem}[data-size=l][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{font:var(--tui-font-text-m);margin-left:.75rem}"],changeDetection:0}),t}(),z=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[A.ez,i.u5,D]]}),t}()},21673:function(t,e,n){"use strict";n.d(e,{K3:function(){return x},wU:function(){return O},Qf:function(){return M}});var r,i=n(74788),o=n(87862),s=n(221),c=n(76480),l=n(57179),h=n(99434),f=n(23917),d=n(94853),p=n(79588),v=n(75111),m=n(79456),_=n(43631),b=n(93213),k=n(12057),w=["*",[["input"]]],C=["*","input"],x=(r=function(t){a(n,t);var e=u(n);function n(t,r,i,o){var a;return y(this,n),(a=e.call(this,t,r,o)).textfieldSize=i,a.open=!1,a}return g(n,[{key:"size",get:function(){return this.textfieldSize.size}},{key:"nativeFocusableElement",get:function(){return this.computedDisabled||!this.textfield?null:this.textfield.nativeFocusableElement}},{key:"focused",get:function(){return(0,l.V8)(this.nativeFocusableElement)||!!this.hostedDropdown&&this.hostedDropdown.focused}},{key:"canOpen",get:function(){return this.interactive&&!!this.datalist}},{key:"onValueChange",value:function(t){this.value=t,this.open=!0}},{key:"onActiveZone",value:function(t){this.updateFocused(t)}},{key:"handleOption",value:function(t){this.setNativeValue(String(t)),this.focusInput(),this.value=String(t),this.open=!1}},{key:"getFallbackValue",value:function(){return""}},{key:"focusInput",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.nativeFocusableElement&&this.nativeFocusableElement.focus({preventScroll:t})}},{key:"setNativeValue",value:function(t){this.nativeFocusableElement&&(this.nativeFocusableElement.value=t)}}]),n}(c.M$),r.\u0275fac=function(t){return new(t||r)(i.Y36(o.a5,10),i.Y36(i.sBO),i.Y36(p.kI),i.Y36(c.FX,8))},r.\u0275cmp=i.Xpm({type:r,selectors:[["tui-input"]],contentQueries:function(t,e,n){var r;1&t&&i.Suo(n,v.gX,5,i.Rgc),2&t&&i.iGM(r=i.CRH())&&(e.datalist=r.first)},viewQuery:function(t,e){var n;1&t&&(i.Gf(f.o1,5),i.Gf(d.yc,5)),2&t&&(i.iGM(n=i.CRH())&&(e.hostedDropdown=n.first),i.iGM(n=i.CRH())&&(e.textfield=n.first))},hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("data-size",e.size)},features:[i._Bn([b.E2,(0,h.FT)(r),(0,m.oE)(r),(0,c.wB)(r)],[b.yn]),i.qOj],ngContentSelectors:C,decls:4,vars:11,consts:[[1,"t-hosted",3,"canOpen","content","open","openChange","tuiActiveZoneChange"],["automation-id","tui-input__textfield",1,"t-textfield",3,"disabled","focusable","invalid","nativeId","pseudoFocus","pseudoHover","readOnly","value","valueChange"]],template:function(t,e){1&t&&(i.F$t(w),i.TgZ(0,"tui-hosted-dropdown",0),i.NdJ("openChange",function(t){return e.open=t})("tuiActiveZoneChange",function(t){return e.onActiveZone(t)}),i.TgZ(1,"tui-primitive-textfield",1),i.NdJ("valueChange",function(t){return e.onValueChange(t)}),i.Hsn(2),i.Hsn(3,1,["ngProjectAs","input",5,["input"]]),i.qZA(),i.qZA()),2&t&&(i.Q6J("canOpen",e.canOpen)("content",e.datalist||"")("open",e.open),i.xp6(1),i.Q6J("disabled",e.computedDisabled)("focusable",e.computedFocusable)("invalid",e.computedInvalid)("nativeId",e.nativeId)("pseudoFocus",e.computedFocused)("pseudoHover",e.pseudoHover)("readOnly",e.readOnly)("value",e.value))},directives:[f.o1,s.e,d.yc,d.B1],styles:["[_nghost-%COMP%]{display:block;border-radius:var(--tui-radius-m);text-align:left}._disabled[_nghost-%COMP%]{pointer-events:none}.t-hosted[_ngcontent-%COMP%]{display:block;border-radius:inherit}.t-textfield[_ngcontent-%COMP%]{border-radius:inherit;text-align:inherit}"],changeDetection:0}),r),O=function(){var t,e=function(t){a(n,t);var e=u(n);function n(){return y(this,n),e.apply(this,arguments)}return g(n,[{key:"onValueChange",value:function(t){this.host.onValueChange(t)}}]),n}(_.D1);return e.\u0275fac=function(n){return(t||(t=i.n5z(e)))(n||e)},e.\u0275dir=i.lG2({type:e,selectors:[["tui-input"]],features:[i._Bn([(0,m.cp)(e)]),i.qOj]}),e}(),M=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[k.ez,s.A,d.KW,f.jh]]}),t}()},93213:function(t,e,n){"use strict";n.d(e,{yn:function(){return u},E2:function(){return c}});var r=n(74788),i=n(79456);n(88002);var o=n(98952),a=(n(75046),n(25917),n(54487)),s=n(87862),u=(0,o.fx)({limitWidth:"fixed",align:"right"}),c={provide:i.sE,deps:[[new r.FiY,new r.PiD,s.JU]],useFactory:a.y}},75046:function(t,n,r){"use strict";var o;r.d(n,{UV:function(){return M},Ys:function(){return P},RZ:function(){return E},ue:function(){return O},WO:function(){return A},Z4:function(){return T}});var s=r(74788),c=r(33770),l=r(11927),h=(r(18939),r(36424)),d=r(27788),p=r(85648),v=12;(0,l.JN)("DMY"),(0,l.JN)(".");var m=function(t){function e(t){y(this,e),this.year=t}return g(e,[{key:"formattedYear",get:function(){return String(this.year).padStart(4,"0")}},{key:"isLeapYear",get:function(){return e.isLeapYear(this.year)}},{key:"absoluteLeapYears",get:function(){return e.getAbsoluteLeapYears(this.year)}},{key:"yearBefore",value:function(t){var e=t.year;return this.year=e}},{key:"yearAfter",value:function(t){var e=t.year;return this.year>e}},{key:"append",value:function(t){var n=t.year,r=void 0===n?0:n;return new e(this.year+r)}},{key:"toString",value:function(){return this.formattedYear}},{key:"valueOf",value:function(){return this.year}},{key:Symbol.toPrimitive,value:function(t){return Date.prototype[Symbol.toPrimitive].call(this,t)}},{key:"toJSON",value:function(){return this.formattedYear}}],[{key:"isValidYear",value:function(t){return Number.isInteger(t)&&(0,p.wf)(t,0,1e4)}},{key:"isLeapYear",value:function(t){return t%400==0||t%4==0&&t%100!=0}},{key:"getAbsoluteLeapYears",value:function(t){return Math.ceil(t/400)+(Math.ceil(t/4)-Math.ceil(t/100))}},{key:"lengthBetween",value:function(t,e){return e.year-t.year}},{key:"normalizeYearPart",value:function(t){return(0,p.G1)(t,0,9999)}}]),e}(),_=function(t){a(n,t);var e=u(n);function n(t,r){var i;return y(this,n),(i=e.call(this,t)).month=r,i}return g(n,[{key:"formattedMonthPart",get:function(){return String(this.month+1).padStart(2,"0")}},{key:"daysCount",get:function(){return n.getMonthDaysCount(this.month,this.isLeapYear)}},{key:"monthBefore",value:function(t){return this.yearBefore(t)||this.yearSame(t)&&this.month=t.month}},{key:"monthAfter",value:function(t){return this.yearAfter(t)||this.yearSame(t)&&this.month>t.month}},{key:"append",value:function(t){var e=t.year,r=void 0===e?0:e,i=t.month,o=void 0===i?0:i,a=(this.year+r)*v+this.month+o;return new n(Math.floor(a/v),a%v)}},{key:"toString",value:function(){return"".concat(this.formattedMonthPart,".").concat(this.formattedYear)}},{key:"valueOf",value:function(){return this.toLocalNativeDate().valueOf()}},{key:"toJSON",value:function(){return"".concat(i(f(n.prototype),"toJSON",this).call(this),"-").concat(this.formattedMonthPart)}},{key:"toLocalNativeDate",value:function(){return new Date(this.year,this.month)}},{key:"toUtcNativeDate",value:function(){return new Date(Date.UTC(this.year,this.month))}}],[{key:"isValidMonth",value:function(t,e){return m.isValidYear(t)&&n.isValidMonthPart(e)}},{key:"getMonthDaysCount",value:function(t,e){switch(t){case h.B.February:return e?29:28;case h.B.April:case h.B.June:case h.B.September:case h.B.November:return 30;default:return 31}}},{key:"currentLocal",value:function(){var t=new Date;return new n(t.getFullYear(),t.getMonth())}},{key:"currentUtc",value:function(){var t=new Date;return new n(t.getUTCFullYear(),t.getUTCMonth())}},{key:"lengthBetween",value:function(t,e){return e.month+12*e.year-(t.month+12*t.year)}},{key:"normalizeMonthPart",value:function(t){return(0,p.G1)(t,0,11)}},{key:"isValidMonthPart",value:function(t){return Number.isInteger(t)&&(0,p.wf)(t,0,12)}}]),n}(m),b=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,t,r)).day=i,o}return g(n,[{key:"formattedDayPart",get:function(){return String(this.day).padStart(2,"0")}},{key:"isWeekend",get:function(){var t=this.dayOfWeek(!1);return t===h.L.Saturday||t===h.L.Sunday}},{key:"dayOfWeek",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=t?this.toLocalNativeDate().getDay()-1:this.toLocalNativeDate().getDay();return e<0?6:e}},{key:"dayBefore",value:function(t){return this.monthBefore(t)||this.monthSame(t)&&this.day=t.day}},{key:"dayAfter",value:function(t){return this.monthAfter(t)||this.monthSame(t)&&this.day>t.day}},{key:"dayLimit",value:function(t,e){return null!==t&&this.dayBefore(t)?t:null!==e&&this.dayAfter(e)?e:this}},{key:"append",value:function(t){for(var e=t.year,r=void 0===e?0:e,i=t.month,o=void 0===i?0:i,a=t.day,s=void 0===a?0:a,u=(this.year+r)*v+this.month+o,c=Math.floor(u/v),l=u%v,f=Math.min(this.day,_.getMonthDaysCount(l,m.isLeapYear(c)))+s;f>_.getMonthDaysCount(l,m.isLeapYear(c));)f-=_.getMonthDaysCount(l,m.isLeapYear(c)),l===h.B.December?(c++,l=h.B.January):l++;for(;f<1;)l===h.B.January?(c--,l=h.B.December):l--,f+=_.getMonthDaysCount(l,m.isLeapYear(c));return new n(c,l,f)}},{key:"getFormattedDay",value:function(t,e){var n=this.formattedDayPart,r=this.formattedMonthPart,i=this.formattedYear;switch(t){case"YMD":return"".concat(i).concat(e).concat(r).concat(e).concat(n);case"MDY":return"".concat(r).concat(e).concat(n).concat(e).concat(i);default:return"".concat(n).concat(e).concat(r).concat(e).concat(i)}}},{key:"toString",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"DMY",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:".";return this.getFormattedDay(t,e)}},{key:"toJSON",value:function(){return"".concat(i(f(n.prototype),"toJSON",this).call(this),"-").concat(this.formattedDayPart)}},{key:"toLocalNativeDate",value:function(){return new Date(this.year,this.month,this.day)}},{key:"toUtcNativeDate",value:function(){return new Date(Date.UTC(this.year,this.month,this.day))}}],[{key:"fromLocalNativeDate",value:function(t){return new n(t.getFullYear(),t.getMonth(),t.getDate())}},{key:"fromUtcNativeDate",value:function(t){return new n(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate())}},{key:"isValidDay",value:function(t,e,n){return _.isValidMonth(t,e)&&Number.isInteger(n)&&(0,p.wf)(n,1,_.getMonthDaysCount(e,m.isLeapYear(t))+1)}},{key:"currentLocal",value:function(){var t=new Date;return new n(t.getFullYear(),t.getMonth(),t.getDate())}},{key:"currentUtc",value:function(){var t=new Date;return new n(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate())}},{key:"normalizeOf",value:function(t,e,r){var i=m.normalizeYearPart(t),o=_.normalizeMonthPart(e),a=n.normalizeDayPart(r,o,i);return new n(i,o,a)}},{key:"lengthBetween",value:function(t,e){return Math.round((e.toLocalNativeDate().getTime()-t.toLocalNativeDate().getTime())/864e5)}},{key:"parseRawDateString",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"DMY";switch(e){case"YMD":return{day:parseInt(t.slice(8,10),10),month:parseInt(t.slice(5,7),10)-1,year:parseInt(t.slice(0,4),10)};case"MDY":return{day:parseInt(t.slice(3,5),10),month:parseInt(t.slice(0,2),10)-1,year:parseInt(t.slice(6,10),10)};default:return{day:parseInt(t.slice(0,2),10),month:parseInt(t.slice(3,5),10)-1,year:parseInt(t.slice(6,10),10)}}}},{key:"normalizeParse",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"DMY",r=this.parseRawDateString(t,e),i=r.day,o=r.month,a=r.year;return n.normalizeOf(a,o,i)}},{key:"jsonParse",value:function(t){var e=this.parseRawDateString(t,"YMD"),r=e.day,i=e.month,o=e.year;if(!m.isValidYear(o))throw new d.JY(o);if(!_.isValidMonth(o,i))throw new d.AM(i);if(!Number.isInteger(r)||!(0,p.wf)(r,1,_.getMonthDaysCount(i,m.isLeapYear(o))+1))throw new d.I4(r);return new n(o,i,r)}},{key:"normalizeDayPart",value:function(t,e,n){var r=_.getMonthDaysCount(e,m.isLeapYear(n));return(0,p.G1)(t,1,r)}}]),n}(_),k=new b(0,0,1),w=new b(9999,11,31);Symbol;var C=r(31081),x=r(47232);new s.OlP("[TUI_CALENDAR_DATE_STREAM]"),(0,l.JN)((e(o={},C.X.AD,"+376###-###"),e(o,C.X.AE,"+971-##-###-####"),e(o,C.X.AF,"+93##-###-####"),e(o,C.X.AG,"+1(268) ###-####"),e(o,C.X.AI,"+1(264) ###-####"),e(o,C.X.AL,"+355(###) ###-###"),e(o,C.X.AM,"+374##-###-###"),e(o,C.X.AO,"+244(###) ###-###"),e(o,C.X.AR,"+54(###) ####-####"),e(o,C.X.AT,"+43(###) ###-####"),e(o,C.X.AU,"+61#-####-####"),e(o,C.X.AW,"+297###-####"),e(o,C.X.AZ,"+994##-###-##-##"),e(o,C.X.BA,"+387 ###-####-##"),e(o,C.X.BB,"+1(246) ###-####"),e(o,C.X.BD,"+880##-###-###"),e(o,C.X.BE,"+32(###) ###-###"),e(o,C.X.BF,"+226##-##-####"),e(o,C.X.BG,"+359(###) ###-###"),e(o,C.X.BH,"+973####-####"),e(o,C.X.BI,"+257##-##-####"),e(o,C.X.BJ,"+229##-##-####"),e(o,C.X.BL,"+590 ## ## ## ## ##"),e(o,C.X.BM,"+1(441) ###-####"),e(o,C.X.BN,"+673###-####"),e(o,C.X.BO,"+591#-###-####"),e(o,C.X.BQ,"+599-###-####"),e(o,C.X.BR,"+55(##) ####-####"),e(o,C.X.BS,"+1(242) ###-####"),e(o,C.X.BT,"+975#-###-###"),e(o,C.X.BW,"+267##-###-###"),e(o,C.X.BY,"+375(##) ###-##-##"),e(o,C.X.BZ,"+501###-####"),e(o,C.X.CA,"+1(###) ###-####"),e(o,C.X.CD,"+243(###) ###-###"),e(o,C.X.CF,"+236-##-##-####"),e(o,C.X.CG,"+242##-###-####"),e(o,C.X.CH,"+41##-###-####"),e(o,C.X.CI,"+225##-##-###-###"),e(o,C.X.CL,"+56#-####-####"),e(o,C.X.CM,"+237#####-####"),e(o,C.X.CN,"+86(###) ####-####"),e(o,C.X.CO,"+57(###) ###-####"),e(o,C.X.CR,"+506####-####"),e(o,C.X.CU,"+53#-###-####"),e(o,C.X.CV,"+238(###) ##-##"),e(o,C.X.CW,"+5999-###-####"),e(o,C.X.CY,"+357##-###-###"),e(o,C.X.CZ,"+420(###) ###-###"),e(o,C.X.DE,"+49(###) ###-###-##"),e(o,C.X.DJ,"+253##-##-##-##"),e(o,C.X.DK,"+45##-##-##-##"),e(o,C.X.DM,"+1(767) ###-####"),e(o,C.X.DO,"+1(###) ###-####"),e(o,C.X.DZ,"+213##-###-####"),e(o,C.X.EC,"+593##-###-####"),e(o,C.X.EE,"+372####-####"),e(o,C.X.EG,"+20(###) ###-####"),e(o,C.X.ER,"+291#-###-###"),e(o,C.X.ES,"+34(###) ###-###"),e(o,C.X.ET,"+251##-###-####"),e(o,C.X.FI,"+358(###) ###-##-##"),e(o,C.X.FJ,"+679##-#####"),e(o,C.X.FK,"+500#####"),e(o,C.X.FM,"+691###-####"),e(o,C.X.FR,"+33 ## ## ## ## ##"),e(o,C.X.GA,"+241##-##-##-##"),e(o,C.X.GB,"+44##-####-####"),e(o,C.X.GD,"+1(473) ###-####"),e(o,C.X.GE,"+995(###) ###-###"),e(o,C.X.GF,"+594 ## ## ## ## ##"),e(o,C.X.GH,"+233(###) ###-###"),e(o,C.X.GI,"+350###-#####"),e(o,C.X.GL,"+299##-##-##"),e(o,C.X.GM,"+220(###) ##-##"),e(o,C.X.GN,"+224##-###-###"),e(o,C.X.GP,"+590 ## ## ## ## ##"),e(o,C.X.GQ,"+240##-###-####"),e(o,C.X.GR,"+30(###) ###-####"),e(o,C.X.GT,"+502#-###-####"),e(o,C.X.GW,"+245#-######"),e(o,C.X.GY,"+592###-####"),e(o,C.X.HK,"+852####-####"),e(o,C.X.HN,"+504####-####"),e(o,C.X.HR,"+385##-###-####"),e(o,C.X.HT,"+509##-##-####"),e(o,C.X.HU,"+36(###) ###-###"),e(o,C.X.ID,"+62(###) ###-##-###"),e(o,C.X.IE,"+353(###) ###-###"),e(o,C.X.IL,"+972##-###-####"),e(o,C.X.IN,"+91(####) ###-###"),e(o,C.X.IQ,"+964(###) ###-####"),e(o,C.X.IR,"+98(###) ###-####"),e(o,C.X.IS,"+354###-####"),e(o,C.X.IT,"+39(###) ####-###"),e(o,C.X.JM,"+1(876) ###-####"),e(o,C.X.JO,"+962#-####-####"),e(o,C.X.JP,"+81-##-####-####"),e(o,C.X.KE,"+254###-######"),e(o,C.X.KG,"+996(###) ###-###"),e(o,C.X.KH,"+855##-###-###"),e(o,C.X.KM,"+269##-#####"),e(o,C.X.KN,"+1(869) ###-####"),e(o,C.X.KP,"+850####-#############"),e(o,C.X.KR,"+82##-###-####"),e(o,C.X.KW,"+965####-####"),e(o,C.X.KY,"+1(345) ###-####"),e(o,C.X.KZ,"+7(###) ###-##-##"),e(o,C.X.LA,"+856##-##-###-###"),e(o,C.X.LB,"+961##-###-###"),e(o,C.X.LC,"+1(758) ###-####"),e(o,C.X.LI,"+423(###) ###-####"),e(o,C.X.LK,"+94##-###-####"),e(o,C.X.LR,"+231##-###-###"),e(o,C.X.LS,"+266#-###-####"),e(o,C.X.LT,"+370(###) ##-###"),e(o,C.X.LU,"+352(###) ###-###"),e(o,C.X.LV,"+371##-###-###"),e(o,C.X.LY,"+218##-###-####"),e(o,C.X.MA,"+212##-####-###"),e(o,C.X.MC,"+377###-###-###"),e(o,C.X.MD,"+373####-####"),e(o,C.X.ME,"+382##-###-###"),e(o,C.X.MF,"+590 ## ## ## ## ##"),e(o,C.X.MG,"+261##-##-#####"),e(o,C.X.MK,"+389##-###-###"),e(o,C.X.ML,"+223##-##-####"),e(o,C.X.MM,"+95##-###-###"),e(o,C.X.MN,"+976##-##-####"),e(o,C.X.MO,"+853####-####"),e(o,C.X.MQ,"+596 ## ## ## ## ##"),e(o,C.X.MR,"+222##-##-####"),e(o,C.X.MS,"+1(664) ###-####"),e(o,C.X.MT,"+356####-####"),e(o,C.X.MU,"+230####-####"),e(o,C.X.MV,"+960###-####"),e(o,C.X.MW,"+265#-####-####"),e(o,C.X.MX,"+52(###) ###-####"),e(o,C.X.MY,"+60(###) ###-###"),e(o,C.X.MZ,"+258##-###-###"),e(o,C.X.NA,"+264##-###-####"),e(o,C.X.NC,"+687 ### ###"),e(o,C.X.NE,"+227##-##-####"),e(o,C.X.NG,"+234(###) ###-####"),e(o,C.X.NI,"+505####-####"),e(o,C.X.NL,"+31##-###-####"),e(o,C.X.NO,"+47(###) ##-###"),e(o,C.X.NP,"+977##-###-###"),e(o,C.X.NZ,"+64(###) ###-####"),e(o,C.X.OM,"+968##-###-###"),e(o,C.X.PA,"+507###-####"),e(o,C.X.PE,"+51(###) ###-###"),e(o,C.X.PF,"+689 ## ## ## ##"),e(o,C.X.PG,"+675(###) ##-###"),e(o,C.X.PH,"+63(###) ###-####"),e(o,C.X.PK,"+92(###) ###-####"),e(o,C.X.PL,"+48(###) ###-###"),e(o,C.X.PT,"+351##-###-####"),e(o,C.X.PW,"+680###-####"),e(o,C.X.PY,"+595(###) ###-###"),e(o,C.X.QA,"+974####-####"),e(o,C.X.RE,"+262 ## ## ## ## ##"),e(o,C.X.RO,"+40##-###-####"),e(o,C.X.RS,"+381##-###-####"),e(o,C.X.RU,"+7### ###-##-##"),e(o,C.X.RW,"+250(###) ###-###"),e(o,C.X.SA,"+966#-####-####"),e(o,C.X.SB,"+677###-####"),e(o,C.X.SC,"+248#-###-###"),e(o,C.X.SD,"+249##-###-####"),e(o,C.X.SE,"+46##-###-####"),e(o,C.X.SG,"+65####-####"),e(o,C.X.SH,"+290####"),e(o,C.X.SI,"+386##-###-###"),e(o,C.X.SK,"+421(###) ###-###"),e(o,C.X.SL,"+232##-######"),e(o,C.X.SM,"+378####-######"),e(o,C.X.SN,"+221##-###-####"),e(o,C.X.SO,"+252##-###-###"),e(o,C.X.SR,"+597###-####"),e(o,C.X.ST,"+239##-#####"),e(o,C.X.SV,"+503##-##-####"),e(o,C.X.SX,"+1(721) ###-####"),e(o,C.X.SY,"+963##-####-###"),e(o,C.X.SZ,"+268##-##-####"),e(o,C.X.TC,"+1(649) ###-####"),e(o,C.X.TD,"+235##-##-##-##"),e(o,C.X.TG,"+228##-###-###"),e(o,C.X.TH,"+66##-###-####"),e(o,C.X.TJ,"+992##-###-####"),e(o,C.X.TL,"+670###-#####"),e(o,C.X.TM,"+993#-###-####"),e(o,C.X.TN,"+216##-###-###"),e(o,C.X.TO,"+676#####"),e(o,C.X.TR,"+90(###) ###-####"),e(o,C.X.TT,"+1(868) ###-####"),e(o,C.X.TW,"+886#-####-####"),e(o,C.X.TZ,"+255##-###-####"),e(o,C.X.UA,"+380(##) ###-##-##"),e(o,C.X.UG,"+256(###) ###-###"),e(o,C.X.US,"+1(###) ###-####"),e(o,C.X.UY,"+598#-###-##-##"),e(o,C.X.UZ,"+998##-###-####"),e(o,C.X.VC,"+1(784) ###-####"),e(o,C.X.VE,"+58(###) ###-####"),e(o,C.X.VG,"+1(284)###-####"),e(o,C.X.VN,"+84(###) ####-###"),e(o,C.X.VU,"+678##-#####"),e(o,C.X.WS,"+685##-####"),e(o,C.X.XK,"+383##-###-###"),e(o,C.X.YE,"+967###-###-###"),e(o,C.X.YT,"+262 ## ## ## ## ##"),e(o,C.X.ZA,"+27##-###-####"),e(o,C.X.ZM,"+260##-###-####"),e(o,C.X.ZW,"+263#-######"),o)),new s.OlP("[TUI_DATE_VALUE_TRANSFORMER]"),new s.OlP("[TUI_DATE_RANGE_VALUE_TRANSFORMER]"),new s.OlP("[TUI_DATE_TIME_VALUE_TRANSFORMER]"),(0,l.N1)((0,x.v)("prompt")),(0,l.N1)((0,x.v)("cancel")),(0,l.N1)((0,x.v)("done"));var O=(0,l.N1)((0,x.v)("more")),M=((0,l.N1)((0,x.v)("hide")),(0,l.N1)((0,x.v)("showAll")),(0,l.N1)((0,x.v)("otherDate")),(0,l.N1)((0,x.v)("mobileCalendarTexts")),(0,l.N1)((0,x.v)("range")),(0,l.N1)((0,x.v)("countTexts")),(0,l.N1)((0,x.v)("time")),(0,l.N1)((0,x.v)("dateTexts")),(0,l.N1)((0,x.v)("digitalInformationUnits")),(0,l.N1)((0,x.v)("copyTexts"))),S=((0,l.N1)((0,x.v)("passwordTexts")),(0,l.N1)((0,x.v)("shortCalendarMonths")),(0,l.N1)((0,x.v)("fileTexts")),(0,l.N1)((0,x.v)("pagination")),(0,l.N1)((0,x.v)("inputFileTexts")),(0,l.N1)((0,x.v)("multiSelectTexts")),(0,l.N1)((0,x.v)("countries")),{icon:function(t){return"s"===t.$implicit?"tuiIconCalendar":"tuiIconCalendarLarge"},min:k,max:w,nativePicker:!1});(0,l.JN)(S);var P=(0,l.JN)({stringify:c.yZ,identityMatcher:c.bg,disabledItemHandler:c.Iy});new s.OlP("[TUI_MOBILE_CALENDAR]");var E=new s.OlP("[TUI_MONTH_FORMATTER]"),A=(0,l.JN)(24),T=(0,l.JN)({})},11557:function(t,e,n){"use strict";n.d(e,{X1:function(){return E},Gt:function(){return P},uX:function(){return S}});var r,i,o=n(91211),s=n(74788),c=n(59193),l=n(22416),h=n(41439),f=n(77393),d=function(){function t(e,n){y(this,t),this.predicate=e,this.inclusive=n}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new v(t,this.predicate,this.inclusive))}}]),t}(),v=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,t)).predicate=r,o.inclusive=i,o.index=0,o}return g(n,[{key:"_next",value:function(t){var e,n=this.destination;try{e=this.predicate(t,this.index++)}catch(r){return void n.error(r)}this.nextOrComplete(t,e)}},{key:"nextOrComplete",value:function(t,e){var n=this.destination;Boolean(e)?n.next(t):(this.inclusive&&n.next(t),n.complete())}}]),n}(f.L),m=function(){function t(){y(this,t)}return g(t,[{key:"supports",value:function(t){return t.includes(this.modifier)}},{key:"addGlobalEventListener",value:function(){return function(){}}},{key:"unwrap",value:function(t){var e=this;return t.split(".").filter(function(t){return!e.modifier.includes(t)}).join(".")}}]),t}(),_=(i=function(t){a(n,t);var e=u(n);function n(){var t;return y(this,n),(t=e.apply(this,arguments)).modifier="$",t}return g(n,[{key:"addEventListener",value:function(t,e){t[e]=t[e]||c.E;var n=this.getMethod(t,e),r=this.manager.getZone().onStable,i=(0,l.z)(r.pipe(function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n){return n.lift(new d(t,e))}}(function(){return t[e]===c.E})),(0,h.P)(function(){return t[e]})).subscribe(n);return function(){return i.unsubscribe()}}},{key:"getMethod",value:function(t,e){var n=p(e.split("."),4),r=n[1],i=n[2],o=n[3],a=void 0===o?"":o;return e.endsWith(".attr")?function(e){return null===e?t.removeAttribute(r):t.setAttribute(r,String(e))}:"class"===r?function(e){return t.classList.toggle(i,!!e)}:"style"===r?function(e){return t.style.setProperty(function(t){return t.replace(/[a-z][A-Z]/g,function(t){return"".concat(t[0],"-").concat(t[1].toLowerCase())})}(i),"".concat(e).concat(a))}:function(e){return t[r]=e}}}]),n}(m),i.\u0275fac=function(t){return(r||(r=s.n5z(i)))(t||i)},i.\u0275prov=s.Yz7({token:i,factory:i.\u0275fac}),i),b=function(){var t=function(t){a(n,t);var e=u(n);function n(){var t;return y(this,n),(t=e.apply(this,arguments)).modifier="capture.once.passive",t}return g(n,[{key:"supports",value:function(t){return t.includes(".")&&!this.unwrap(t).includes(".")}},{key:"addEventListener",value:function(t,e,n){var r=this;return t.addEventListener(this.unwrap(e),n,{once:e.includes(".once"),passive:e.includes(".passive"),capture:e.includes(".capture")}),function(){return t.removeEventListener(r.unwrap(e),n)}}}]),n}(m);return t.\u0275fac=function(){var e;return function(n){return(e||(e=s.n5z(t)))(n||t)}}(),t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t}(),k=function(){var t=function(t){a(n,t);var e=u(n);function n(){var t;return y(this,n),(t=e.apply(this,arguments)).modifier=".prevent",t}return g(n,[{key:"addEventListener",value:function(t,e,n){return this.manager.addEventListener(t,this.unwrap(e),function(t){t.preventDefault(),n(t)})}}]),n}(m);return t.\u0275fac=function(){var e;return function(n){return(e||(e=s.n5z(t)))(n||t)}}(),t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t}(),w=function(){var t=function(t){a(n,t);var e=u(n);function n(){var t;return y(this,n),(t=e.apply(this,arguments)).modifier=".self",t}return g(n,[{key:"addEventListener",value:function(t,e,n){return this.manager.addEventListener(t,this.unwrap(e),function(t){t.target===t.currentTarget&&n(t)})}}]),n}(m);return t.\u0275fac=function(){var e;return function(n){return(e||(e=s.n5z(t)))(n||t)}}(),t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t}(),C=function(){var t=function(t){a(n,t);var e=u(n);function n(){var t;return y(this,n),(t=e.apply(this,arguments)).modifier=".silent",t}return g(n,[{key:"addEventListener",value:function(t,e,r){var i=this;return n.ngZone=this.manager.getZone(),n.ngZone.runOutsideAngular(function(){return i.manager.addEventListener(t,i.unwrap(e),r)})}}]),n}(m);return t.\u0275fac=function(){var e;return function(n){return(e||(e=s.n5z(t)))(n||t)}}(),t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t}(),x=function(){var t=function(t){a(n,t);var e=u(n);function n(){var t;return y(this,n),(t=e.apply(this,arguments)).modifier=".stop",t}return g(n,[{key:"addEventListener",value:function(t,e,n){return this.manager.addEventListener(t,this.unwrap(e),function(t){t.stopPropagation(),n(t)})}}]),n}(m);return t.\u0275fac=function(){var e;return function(n){return(e||(e=s.n5z(t)))(n||t)}}(),t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t}(),O=function(){var t=function(t){a(n,t);var e=u(n);function n(){var t;return y(this,n),(t=e.apply(this,arguments)).modifier=".init",t}return g(n,[{key:"addEventListener",value:function(){return console.warn(".init plugin is no longer necessary as of v3.1.0"),function(){}}}]),n}(m);return t.\u0275fac=function(){var e;return function(n){return(e||(e=s.n5z(t)))(n||t)}}(),t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t}(),M=[C,_,b,k,w,x,O].map(function(t){return{provide:o.s3,multi:!0,useClass:t}});function S(t){return function(e,n,r){var i=r.value;r.value=function(){for(var e=this,n=arguments.length,r=new Array(n),o=0;o1?n-1:0),i=1;i2&&void 0!==arguments[2]?arguments[2]:y;e&&e(t,null);for(var o=r.length;o--;){var a=r[o];if("string"==typeof a){var s=i(a);s!==a&&(n(r)||(r[o]=s),a=s)}t[a]=!0}return t}function E(e){var n,r=u(null),i=_(t(e));try{for(i.s();!(n=i.n()).done;){var a=p(n.value,2),s=a[0],c=a[1];void 0!==o(e,s)&&(r[s]=c)}}catch(l){i.e(l)}finally{i.f()}return r}function A(t,e){for(;null!==t;){var n=o(t,e);if(n){if(n.get)return S(n.get);if("function"==typeof n.value)return S(n.value)}t=i(t)}return function(t){return console.warn("fallback value for",t),null}}var T=a(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),I=a(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),D=a(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),L=a(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),N=a(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),z=a(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),F=a(["#text"]),R=a(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),j=a(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),B=a(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),V=a(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Y=s(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Z=s(/<%[\w\W]*|[\w\W]*%>/gm),q=s(/\${[\w\W]*}/gm),U=s(/^data-[\-\w.\u00B7-\uFFFF]/),H=s(/^aria-[\-\w]+$/),G=s(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),J=s(/^(?:\w+script|data):/i),X=s(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),$=s(/^html$/i),Q=Object.freeze({__proto__:null,MUSTACHE_EXPR:Y,ERB_EXPR:Z,TMPLIT_EXPR:q,DATA_ATTR:U,ARIA_ATTR:H,IS_ALLOWED_URI:G,IS_SCRIPT_OR_DATA:J,ATTR_WHITESPACE:X,DOCTYPE_NAME:$}),W=function(){return"undefined"==typeof window?null:window},K=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;var n=null,r="data-tt-policy-suffix";e&&e.hasAttribute(r)&&(n=e.getAttribute(r));var i="dompurify"+(n?"#"+n:"");try{return t.createPolicy(i,{createHTML:function(t){return t},createScriptURL:function(t){return t}})}catch(o){return console.warn("TrustedTypes policy "+i+" could not be created."),null}};return function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:W(),r=function(t){return e(t)};if(r.version="3.0.6",r.removed=[],!n||!n.document||9!==n.document.nodeType)return r.isSupported=!1,r;var i=n.document,o=i,s=o.currentScript,c=n.DocumentFragment,l=n.HTMLTemplateElement,h=n.Node,f=n.Element,p=n.NodeFilter,_=n.NamedNodeMap,S=void 0===_?n.NamedNodeMap||n.MozNamedAttrMap:_,Y=n.HTMLFormElement,Z=n.DOMParser,q=n.trustedTypes,U=f.prototype,H=A(U,"cloneNode"),J=A(U,"nextSibling"),X=A(U,"childNodes"),tt=A(U,"parentNode");if("function"==typeof l){var et=i.createElement("template");et.content&&et.content.ownerDocument&&(i=et.content.ownerDocument)}var nt,rt="",it=i,ot=it.implementation,at=it.createNodeIterator,st=it.createDocumentFragment,ut=it.getElementsByTagName,ct=o.importNode,lt={};r.isSupported="function"==typeof t&&"function"==typeof tt&&ot&&void 0!==ot.createHTMLDocument;var ht=Q.MUSTACHE_EXPR,ft=Q.ERB_EXPR,dt=Q.TMPLIT_EXPR,pt=Q.DATA_ATTR,vt=Q.ARIA_ATTR,gt=Q.IS_SCRIPT_OR_DATA,mt=Q.ATTR_WHITESPACE,yt=Q.IS_ALLOWED_URI,_t=null,bt=P({},[].concat(d(T),d(I),d(D),d(N),d(F))),kt=null,wt=P({},[].concat(d(R),d(j),d(B),d(V))),Ct=Object.seal(u(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),xt=null,Ot=null,Mt=!0,St=!0,Pt=!1,Et=!0,At=!1,Tt=!1,It=!1,Dt=!1,Lt=!1,Nt=!1,zt=!1,Ft=!0,Rt=!1,jt="user-content-",Bt=!0,Vt=!1,Yt={},Zt=null,qt=P({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ut=null,Ht=P({},["audio","video","img","source","image","track"]),Gt=null,Jt=P({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Xt="http://www.w3.org/1998/Math/MathML",$t="http://www.w3.org/2000/svg",Qt="http://www.w3.org/1999/xhtml",Wt=Qt,Kt=!1,te=null,ee=P({},[Xt,$t,Qt],b),ne=null,re=["application/xhtml+xml","text/html"],ie="text/html",oe=null,ae=null,se=i.createElement("form"),ue=function(t){return t instanceof RegExp||t instanceof Function},ce=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ae||ae!==t){if((!t||"object"!=typeof t)&&(t={}),t=E(t),ne=ne=-1===re.indexOf(t.PARSER_MEDIA_TYPE)?ie:t.PARSER_MEDIA_TYPE,oe="application/xhtml+xml"===ne?b:y,_t="ALLOWED_TAGS"in t?P({},t.ALLOWED_TAGS,oe):bt,kt="ALLOWED_ATTR"in t?P({},t.ALLOWED_ATTR,oe):wt,te="ALLOWED_NAMESPACES"in t?P({},t.ALLOWED_NAMESPACES,b):ee,Gt="ADD_URI_SAFE_ATTR"in t?P(E(Jt),t.ADD_URI_SAFE_ATTR,oe):Jt,Ut="ADD_DATA_URI_TAGS"in t?P(E(Ht),t.ADD_DATA_URI_TAGS,oe):Ht,Zt="FORBID_CONTENTS"in t?P({},t.FORBID_CONTENTS,oe):qt,xt="FORBID_TAGS"in t?P({},t.FORBID_TAGS,oe):{},Ot="FORBID_ATTR"in t?P({},t.FORBID_ATTR,oe):{},Yt="USE_PROFILES"in t&&t.USE_PROFILES,Mt=!1!==t.ALLOW_ARIA_ATTR,St=!1!==t.ALLOW_DATA_ATTR,Pt=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Et=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,At=t.SAFE_FOR_TEMPLATES||!1,Tt=t.WHOLE_DOCUMENT||!1,Lt=t.RETURN_DOM||!1,Nt=t.RETURN_DOM_FRAGMENT||!1,zt=t.RETURN_TRUSTED_TYPE||!1,Dt=t.FORCE_BODY||!1,Ft=!1!==t.SANITIZE_DOM,Rt=t.SANITIZE_NAMED_PROPS||!1,Bt=!1!==t.KEEP_CONTENT,Vt=t.IN_PLACE||!1,yt=t.ALLOWED_URI_REGEXP||G,Wt=t.NAMESPACE||Qt,Ct=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&ue(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ct.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&ue(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Ct.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Ct.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),At&&(St=!1),Nt&&(Lt=!0),Yt&&(_t=P({},d(F)),kt=[],!0===Yt.html&&(P(_t,T),P(kt,R)),!0===Yt.svg&&(P(_t,I),P(kt,j),P(kt,V)),!0===Yt.svgFilters&&(P(_t,D),P(kt,j),P(kt,V)),!0===Yt.mathMl&&(P(_t,N),P(kt,B),P(kt,V))),t.ADD_TAGS&&(_t===bt&&(_t=E(_t)),P(_t,t.ADD_TAGS,oe)),t.ADD_ATTR&&(kt===wt&&(kt=E(kt)),P(kt,t.ADD_ATTR,oe)),t.ADD_URI_SAFE_ATTR&&P(Gt,t.ADD_URI_SAFE_ATTR,oe),t.FORBID_CONTENTS&&(Zt===qt&&(Zt=E(Zt)),P(Zt,t.FORBID_CONTENTS,oe)),Bt&&(_t["#text"]=!0),Tt&&P(_t,["html","head","body"]),_t.table&&(P(_t,["tbody"]),delete xt.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw M('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw M('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');nt=t.TRUSTED_TYPES_POLICY,rt=nt.createHTML("")}else void 0===nt&&(nt=K(q,s)),null!==nt&&"string"==typeof rt&&(rt=nt.createHTML(""));a&&a(t),ae=t}},le=P({},["mi","mo","mn","ms","mtext"]),he=P({},["foreignobject","desc","title","annotation-xml"]),fe=P({},["title","style","font","a","script"]),de=P({},I);P(de,D),P(de,L);var pe=P({},N);P(pe,z);var ve=function(t){var e=tt(t);(!e||!e.tagName)&&(e={namespaceURI:Wt,tagName:"template"});var n=y(t.tagName),r=y(e.tagName);return!!te[t.namespaceURI]&&(t.namespaceURI===$t?e.namespaceURI===Qt?"svg"===n:e.namespaceURI===Xt?"svg"===n&&("annotation-xml"===r||le[r]):Boolean(de[n]):t.namespaceURI===Xt?e.namespaceURI===Qt?"math"===n:e.namespaceURI===$t?"math"===n&&he[r]:Boolean(pe[n]):t.namespaceURI===Qt?!(e.namespaceURI===$t&&!he[r]||e.namespaceURI===Xt&&!le[r])&&!pe[n]&&(fe[n]||!de[n]):!("application/xhtml+xml"!==ne||!te[t.namespaceURI]))},ge=function(t){m(r.removed,{element:t});try{t.parentNode.removeChild(t)}catch(e){t.remove()}},me=function(t,e){try{m(r.removed,{attribute:e.getAttributeNode(t),from:e})}catch(n){m(r.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!kt[t])if(Lt||Nt)try{ge(e)}catch(n){}else try{e.setAttribute(t,"")}catch(n){}},ye=function(t){var e=null,n=null;if(Dt)t=""+t;else{var r=k(t,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===ne&&Wt===Qt&&(t=''+t+"");var o=nt?nt.createHTML(t):t;if(Wt===Qt)try{e=(new Z).parseFromString(o,ne)}catch(r){}if(!e||!e.documentElement){e=ot.createDocument(Wt,"template",null);try{e.documentElement.innerHTML=Kt?rt:o}catch(r){}}var a=e.body||e.documentElement;return t&&n&&a.insertBefore(i.createTextNode(n),a.childNodes[0]||null),Wt===Qt?ut.call(e,Tt?"html":"body")[0]:Tt?e.documentElement:a},_e=function(t){return at.call(t.ownerDocument||t,t,p.SHOW_ELEMENT|p.SHOW_COMMENT|p.SHOW_TEXT,null)},be=function(t){return t instanceof Y&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof S)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},ke=function(t){return"function"==typeof h&&t instanceof h},we=function(t,e,n){!lt[t]||v(lt[t],function(t){t.call(r,e,n,ae)})},Ce=function(t){var e=null;if(we("beforeSanitizeElements",t,null),be(t))return ge(t),!0;var n=oe(t.nodeName);if(we("uponSanitizeElement",t,{tagName:n,allowedTags:_t}),t.hasChildNodes()&&!ke(t.firstElementChild)&&O(/<[/\w]/g,t.innerHTML)&&O(/<[/\w]/g,t.textContent))return ge(t),!0;if(!_t[n]||xt[n]){if(!xt[n]&&Oe(n)&&(Ct.tagNameCheck instanceof RegExp&&O(Ct.tagNameCheck,n)||Ct.tagNameCheck instanceof Function&&Ct.tagNameCheck(n)))return!1;if(Bt&&!Zt[n]){var i=tt(t)||t.parentNode,o=X(t)||t.childNodes;if(o&&i)for(var a=o.length-1;a>=0;--a)i.insertBefore(H(o[a],!0),J(t))}return ge(t),!0}return t instanceof f&&!ve(t)||("noscript"===n||"noembed"===n||"noframes"===n)&&O(/<\/no(script|embed|frames)/i,t.innerHTML)?(ge(t),!0):(At&&3===t.nodeType&&(e=t.textContent,v([ht,ft,dt],function(t){e=w(e,t," ")}),t.textContent!==e&&(m(r.removed,{element:t.cloneNode()}),t.textContent=e)),we("afterSanitizeElements",t,null),!1)},xe=function(t,e,n){if(Ft&&("id"===e||"name"===e)&&(n in i||n in se))return!1;if((!St||Ot[e]||!O(pt,e))&&(!Mt||!O(vt,e)))if(!kt[e]||Ot[e]){if(!(Oe(t)&&(Ct.tagNameCheck instanceof RegExp&&O(Ct.tagNameCheck,t)||Ct.tagNameCheck instanceof Function&&Ct.tagNameCheck(t))&&(Ct.attributeNameCheck instanceof RegExp&&O(Ct.attributeNameCheck,e)||Ct.attributeNameCheck instanceof Function&&Ct.attributeNameCheck(e))||"is"===e&&Ct.allowCustomizedBuiltInElements&&(Ct.tagNameCheck instanceof RegExp&&O(Ct.tagNameCheck,n)||Ct.tagNameCheck instanceof Function&&Ct.tagNameCheck(n))))return!1}else if(!Gt[e]&&!O(yt,w(n,mt,""))&&("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==C(n,"data:")||!Ut[t])&&(!Pt||O(gt,w(n,mt,"")))&&n)return!1;return!0},Oe=function(t){return t.indexOf("-")>0},Me=function(t){we("beforeSanitizeAttributes",t,null);var e=t.attributes;if(e){for(var n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:kt},i=e.length,o=function(){var o=e[i],a=o.name,s=o.namespaceURI,u=o.value,c=oe(a),l="value"===a?u:x(u);if(n.attrName=c,n.attrValue=l,n.keepAttr=!0,n.forceKeepAttr=void 0,we("uponSanitizeAttribute",t,n),l=n.attrValue,n.forceKeepAttr||(me(a,t),!n.keepAttr))return 0;if(!Et&&O(/\/>/i,l))return me(a,t),0;At&&v([ht,ft,dt],function(t){l=w(l,t," ")});var h=oe(t.nodeName);if(xe(h,c,l)){if(Rt&&("id"===c||"name"===c)&&(me(a,t),l=jt+l),nt&&"object"==typeof q&&"function"==typeof q.getAttributeType&&!s)switch(q.getAttributeType(h,c)){case"TrustedHTML":l=nt.createHTML(l);break;case"TrustedScriptURL":l=nt.createScriptURL(l)}try{s?t.setAttributeNS(s,a,l):t.setAttribute(a,l),g(r.removed)}catch(f){}}};i--;)o();we("afterSanitizeAttributes",t,null)}},Se=function t(e){var n=null,r=_e(e);for(we("beforeSanitizeShadowDOM",e,null);n=r.nextNode();)we("uponSanitizeShadowNode",n,null),!Ce(n)&&(n.content instanceof c&&t(n.content),Me(n));we("afterSanitizeShadowDOM",e,null)};return r.sanitize=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,i=null,a=null,s=null;if((Kt=!t)&&(t="\x3c!--\x3e"),"string"!=typeof t&&!ke(t)){if("function"!=typeof t.toString)throw M("toString is not a function");if("string"!=typeof(t=t.toString()))throw M("dirty is not a string, aborting")}if(!r.isSupported)return t;if(It||ce(e),r.removed=[],"string"==typeof t&&(Vt=!1),Vt){if(t.nodeName){var u=oe(t.nodeName);if(!_t[u]||xt[u])throw M("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof h)1===(i=(n=ye("\x3c!----\x3e")).ownerDocument.importNode(t,!0)).nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?n=i:n.appendChild(i);else{if(!Lt&&!At&&!Tt&&-1===t.indexOf("<"))return nt&&zt?nt.createHTML(t):t;if(!(n=ye(t)))return Lt?null:zt?rt:""}n&&Dt&&ge(n.firstChild);for(var l=_e(Vt?t:n);a=l.nextNode();)Ce(a)||(a.content instanceof c&&Se(a.content),Me(a));if(Vt)return t;if(Lt){if(Nt)for(s=st.call(n.ownerDocument);n.firstChild;)s.appendChild(n.firstChild);else s=n;return(kt.shadowroot||kt.shadowrootmode)&&(s=ct.call(o,s,!0)),s}var f=Tt?n.outerHTML:n.innerHTML;return Tt&&_t["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&O($,n.ownerDocument.doctype.name)&&(f="\n"+f),At&&v([ht,ft,dt],function(t){f=w(f,t," ")}),nt&&zt?nt.createHTML(f):f},r.setConfig=function(){ce(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),It=!0},r.clearConfig=function(){ae=null,It=!1},r.isValidAttribute=function(t,e,n){ae||ce({});var r=oe(t),i=oe(e);return xe(r,i,n)},r.addHook=function(t,e){"function"==typeof e&&(lt[t]=lt[t]||[],m(lt[t],e))},r.removeHook=function(t){if(lt[t])return g(lt[t])},r.removeHooks=function(t){lt[t]&&(lt[t]=[])},r.removeAllHooks=function(){lt={}},r}()}()},15622:function(t,e,n){"use strict";function r(t){var e=Array.prototype.slice.call(arguments,1);return e.forEach(function(e){!e||Object.keys(e).forEach(function(n){t[n]=e[n]})}),t}function i(t){return Object.prototype.toString.call(t)}function o(t){return"[object Function]"===i(t)}function a(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},u={"http:":{validate:function(t,e,n){var r=t.slice(e);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,n){var r=t.slice(e);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?e>=3&&":"===t[e-3]||e>=3&&"/"===t[e-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,n){var r=t.slice(e);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},c="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");function l(t){var e=t.re=n(86249)(t.__opts__),r=t.__tlds__.slice();function s(t){return t.replace("%TLDS%",e.src_tlds)}t.onCompile(),t.__tlds_replaced__||r.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),r.push(e.src_xn),e.src_tlds=r.join("|"),e.email_fuzzy=RegExp(s(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(s(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(s(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(s(e.tpl_host_fuzzy_test),"i");var u=[];function c(t,e){throw new Error('(LinkifyIt) Invalid schema "'+t+'": '+e)}t.__compiled__={},Object.keys(t.__schemas__).forEach(function(e){var n=t.__schemas__[e];if(null!==n){var r={validate:null,link:null};if(t.__compiled__[e]=r,function(t){return"[object Object]"===i(t)}(n))return function(t){return"[object RegExp]"===i(t)}(n.validate)?r.validate=function(t){return function(e,n){var r=e.slice(n);return t.test(r)?r.match(t)[0].length:0}}(n.validate):o(n.validate)?r.validate=n.validate:c(e,n),void(o(n.normalize)?r.normalize=n.normalize:n.normalize?c(e,n):r.normalize=function(t,e){e.normalize(t)});if(function(t){return"[object String]"===i(t)}(n))return void u.push(e);c(e,n)}}),u.forEach(function(e){!t.__compiled__[t.__schemas__[e]]||(t.__compiled__[e].validate=t.__compiled__[t.__schemas__[e]].validate,t.__compiled__[e].normalize=t.__compiled__[t.__schemas__[e]].normalize)}),t.__compiled__[""]={validate:null,normalize:function(t,e){e.normalize(t)}};var l=Object.keys(t.__compiled__).filter(function(e){return e.length>0&&t.__compiled__[e]}).map(a).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><\uff5c]|"+e.src_ZPCc+"))("+l+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><\uff5c]|"+e.src_ZPCc+"))("+l+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),function(t){t.__index__=-1,t.__text_cache__=""}(t)}function h(t,e){var n=t.__index__,r=t.__last_index__,i=t.__text_cache__.slice(n,r);this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=r+e,this.raw=i,this.text=i,this.url=i}function f(t,e){var n=new h(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function d(t,e){if(!(this instanceof d))return new d(t,e);e||function(t){return Object.keys(t||{}).reduce(function(t,e){return t||s.hasOwnProperty(e)},!1)}(t)&&(e=t,t={}),this.__opts__=r({},s,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},u,t),this.__compiled__={},this.__tlds__=c,this.__tlds_replaced__=!1,this.re={},l(this)}d.prototype.add=function(t,e){return this.__schemas__[t]=e,l(this),this},d.prototype.set=function(t){return this.__opts__=r(this.__opts__,t),this},d.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;var e,n,r,i,o,a,s,u;if(this.re.schema_test.test(t))for((s=this.re.schema_search).lastIndex=0;null!==(e=s.exec(t));)if(i=this.testSchemaAt(t,e[2],s.lastIndex)){this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+i;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(u=t.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||u=0&&null!==(r=t.match(this.re.email_fuzzy))&&(o=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||othis.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a)),this.__index__>=0},d.prototype.pretest=function(t){return this.re.pretest.test(t)},d.prototype.testSchemaAt=function(t,e,n){return this.__compiled__[e.toLowerCase()]?this.__compiled__[e.toLowerCase()].validate(t,n,this):0},d.prototype.match=function(t){var e=0,n=[];this.__index__>=0&&this.__text_cache__===t&&(n.push(f(this,e)),e=this.__last_index__);for(var r=e?t.slice(e):t;this.test(r);)n.push(f(this,e)),r=r.slice(this.__last_index__),e+=this.__last_index__;return n.length?n:null},d.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;var e=this.re.schema_at_start.exec(t);if(!e)return null;var n=this.testSchemaAt(t,e[2],e[0].length);return n?(this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+n,f(this,0)):null},d.prototype.tlds=function(t,e){return t=Array.isArray(t)?t:[t],e?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(t,e,n){return t!==n[e-1]}).reverse(),l(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,l(this),this)},d.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),"mailto:"===t.schema&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)},d.prototype.onCompile=function(){},t.exports=d},86249:function(t,e,n){"use strict";t.exports=function(t){var e={};return t=t||{},e.src_Any=n(93644).source,e.src_Cc=n(29756).source,e.src_Z=n(51905).source,e.src_P=n(54897).source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|"),e.src_pseudo_letter="(?:(?![><\uff5c]|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|[><\uff5c]|"+e.src_ZPCc+")(?!"+(t["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|[><\uff5c]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+e.src_ZCc+"|[.]|$)|"+(t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+e.src_ZCc+"|$)|;(?!"+e.src_ZCc+"|$)|\\!+(?!"+e.src_ZCc+"|[!]|$)|\\?(?!"+e.src_ZCc+"|[?]|$))+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy='(^|[><\uff5c]|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+e.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+e.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}},4841:function(t,e,n){"use strict";t.exports=n(35096)},21087:function(t,e,n){"use strict";t.exports=n(95485)},29204:function(t){"use strict";t.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},17110:function(t){"use strict";var e="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",n="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",r=new RegExp("^(?:"+e+"|"+n+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|]*>|)"),i=new RegExp("^(?:"+e+"|"+n+")");t.exports.n=r,t.exports.q=i},47504:function(t,e,n){"use strict";var r=Object.prototype.hasOwnProperty;function i(t,e){return r.call(t,e)}function o(t){return!(t>=55296&&t<=57343||t>=64976&&t<=65007||65535==(65535&t)||65534==(65535&t)||t>=0&&t<=8||11===t||t>=14&&t<=31||t>=127&&t<=159||t>1114111)}function a(t){return t>65535?(t-=65536,String.fromCharCode(55296+(t>>10),56320+(1023&t))):String.fromCharCode(t)}var s=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,u=new RegExp(s.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),c=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i,l=n(21087),h=/[&<>"]/,f=/[&<>"]/g,d={"&":"&","<":"<",">":">",'"':"""};function p(t){return d[t]}var v=/[.?*+^$[\]\\(){}|-]/g,g=n(54897);e.lib={},e.lib.mdurl=n(74149),e.lib.ucmicro=n(48363),e.assign=function(t){var e=Array.prototype.slice.call(arguments,1);return e.forEach(function(e){if(e){if("object"!=typeof e)throw new TypeError(e+"must be object");Object.keys(e).forEach(function(n){t[n]=e[n]})}}),t},e.isString=function(t){return"[object String]"===function(t){return Object.prototype.toString.call(t)}(t)},e.has=i,e.unescapeMd=function(t){return t.indexOf("\\")<0?t:t.replace(s,"$1")},e.unescapeAll=function(t){return t.indexOf("\\")<0&&t.indexOf("&")<0?t:t.replace(u,function(t,e,n){return e||function(t,e){var n;return i(l,e)?l[e]:35===e.charCodeAt(0)&&c.test(e)&&o(n="x"===e[1].toLowerCase()?parseInt(e.slice(2),16):parseInt(e.slice(1),10))?a(n):t}(t,n)})},e.isValidEntityCode=o,e.fromCodePoint=a,e.escapeHtml=function(t){return h.test(t)?t.replace(f,p):t},e.arrayReplaceAt=function(t,e,n){return[].concat(t.slice(0,e),n,t.slice(e+1))},e.isSpace=function(t){switch(t){case 9:case 32:return!0}return!1},e.isWhiteSpace=function(t){if(t>=8192&&t<=8202)return!0;switch(t){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},e.isMdAsciiPunct=function(t){switch(t){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},e.isPunctChar=function(t){return g.test(t)},e.escapeRE=function(t){return t.replace(v,"\\$&")},e.normalizeReference=function(t){return t=t.trim().replace(/\s+/g," "),"\u1e7e"==="\u1e9e".toLowerCase()&&(t=t.replace(/\u1e9e/g,"\xdf")),t.toLowerCase().toUpperCase()}},12869:function(t,e,n){"use strict";e.parseLinkLabel=n(8666),e.parseLinkDestination=n(44349),e.parseLinkTitle=n(55874)},44349:function(t,e,n){"use strict";var r=n(47504).unescapeAll;t.exports=function(t,e,n){var i,o,a=e,s={ok:!1,pos:0,lines:0,str:""};if(60===t.charCodeAt(a)){for(a++;a32)return s;if(41===i){if(0===o)break;o--}a++}return e===a||0!==o||(s.str=r(t.slice(e,a)),s.pos=a,s.ok=!0),s}},8666:function(t){"use strict";t.exports=function(t,e,n){var r,i,o,a,s=-1,u=t.posMax,c=t.pos;for(t.pos=e+1,r=1;t.pos=n||34!==(o=t.charCodeAt(s))&&39!==o&&40!==o)return u;for(s++,40===o&&(o=41);s=0))try{e.hostname=h.toASCII(e.hostname)}catch(n){}return l.encode(l.format(e))}function y(t){var e=l.parse(t,!0);if(e.hostname&&(!e.protocol||g.indexOf(e.protocol)>=0))try{e.hostname=h.toUnicode(e.hostname)}catch(n){}return l.decode(l.format(e),l.decode.defaultChars+"%")}function _(t,e){if(!(this instanceof _))return new _(t,e);e||r.isString(t)||(e=t||{},t="default"),this.inline=new u,this.block=new s,this.core=new a,this.renderer=new o,this.linkify=new c,this.validateLink=v,this.normalizeLink=m,this.normalizeLinkText=y,this.utils=r,this.helpers=r.assign({},i),this.options={},this.configure(t),e&&this.set(e)}_.prototype.set=function(t){return r.assign(this.options,t),this},_.prototype.configure=function(t){var e,n=this;if(r.isString(t)&&!(t=f[e=t]))throw new Error('Wrong `markdown-it` preset "'+e+'", check name');if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&n.set(t.options),t.components&&Object.keys(t.components).forEach(function(e){t.components[e].rules&&n[e].ruler.enableOnly(t.components[e].rules),t.components[e].rules2&&n[e].ruler2.enableOnly(t.components[e].rules2)}),this},_.prototype.enable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(e){n=n.concat(this[e].ruler.enable(t,!0))},this),n=n.concat(this.inline.ruler2.enable(t,!0));var r=t.filter(function(t){return n.indexOf(t)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},_.prototype.disable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(e){n=n.concat(this[e].ruler.disable(t,!0))},this),n=n.concat(this.inline.ruler2.disable(t,!0));var r=t.filter(function(t){return n.indexOf(t)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},_.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this},_.prototype.parse=function(t,e){if("string"!=typeof t)throw new Error("Input data should be a String");var n=new this.core.State(t,this,e);return this.core.process(n),n.tokens},_.prototype.render=function(t,e){return this.renderer.render(this.parse(t,e=e||{}),this.options,e)},_.prototype.parseInline=function(t,e){var n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens},_.prototype.renderInline=function(t,e){return this.renderer.render(this.parseInline(t,e=e||{}),this.options,e)},t.exports=_},51269:function(t,e,n){"use strict";var r=n(67869),i=[["table",n(46961),["paragraph","reference"]],["code",n(27636)],["fence",n(20785),["paragraph","reference","blockquote","list"]],["blockquote",n(48264),["paragraph","reference","blockquote","list"]],["hr",n(90622),["paragraph","reference","blockquote","list"]],["list",n(6483),["paragraph","reference","blockquote"]],["reference",n(69194)],["html_block",n(77607),["paragraph","reference","blockquote"]],["heading",n(15492),["paragraph","reference","blockquote"]],["lheading",n(6726)],["paragraph",n(13794)]];function o(){this.ruler=new r;for(var t=0;t=n||t.sCount[u]=l){t.line=n;break}for(o=t.line,i=0;i=t.line)throw new Error("block rule didn't increment state.line");break}if(!r)throw new Error("none of the block rules matched");t.tight=!c,t.isEmpty(t.line-1)&&(c=!0),(u=t.line)=t.pos)throw new Error("inline rule didn't increment state.pos");break}}else t.pos=t.posMax;e||t.pos++,a[r]=t.pos}else t.pos=a[r]},a.prototype.tokenize=function(t){for(var e,n,r,i=this.ruler.getRules(""),o=i.length,a=t.posMax,s=t.md.options.maxNesting;t.pos=t.pos)throw new Error("inline rule didn't increment state.pos");break}if(e){if(t.pos>=a)break}else t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()},a.prototype.parse=function(t,e,n,r){var i,o,a,s=new this.State(t,e,n,r);for(this.tokenize(s),a=(o=this.ruler2.getRules("")).length,i=0;i"+o(a.content)+""},a.code_block=function(t,e,n,r,i){return""+o(t[e].content)+"\n"},a.fence=function(t,e,n,r,a){var s,u,c,l,h=t[e],f=h.info?i(h.info).trim():"",d="",p="";return f&&(d=(c=f.split(/(\s+)/g))[0],p=c.slice(2).join("")),0===(s=n.highlight&&n.highlight(h.content,d,p)||o(h.content)).indexOf(""+s+"\n"):"
    "+s+"
    \n"},a.image=function(t,e,n,r,i){var o=t[e];return o.attrs[o.attrIndex("alt")][1]=i.renderInlineAsText(o.children,n,r),i.renderToken(t,e,n)},a.hardbreak=function(t,e,n){return n.xhtmlOut?"
    \n":"
    \n"},a.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?"
    \n":"
    \n":"\n"},a.text=function(t,e){return o(t[e].content)},a.html_block=function(t,e){return t[e].content},a.html_inline=function(t,e){return t[e].content},s.prototype.renderAttrs=function(t){var e,n,r;if(!t.attrs)return"";for(r="",e=0,n=t.attrs.length;e\n":">")},s.prototype.renderInline=function(t,e,n){for(var r,i="",o=this.rules,a=0,s=t.length;a=4||62!==t.src.charCodeAt(M))return!1;if(i)return!0;for(p=[],v=[],y=[],_=[],w=t.md.block.ruler.getRules("blockquote"),m=t.parentType,t.parentType="blockquote",f=e;f=(S=t.eMarks[f])));f++)if(62!==t.src.charCodeAt(M++)||x){if(l)break;for(k=!1,s=0,c=w.length;s=S,v.push(t.bsCount[f]),t.bsCount[f]=t.sCount[f]+1+(b?1:0),y.push(t.sCount[f]),t.sCount[f]=d-u,_.push(t.tShift[f]),t.tShift[f]=M-t.bMarks[f]}for(g=t.blkIndent,t.blkIndent=0,(C=t.push("blockquote_open","blockquote",1)).markup=">",C.map=h=[e,0],t.md.block.tokenize(t,e,f),(C=t.push("blockquote_close","blockquote",-1)).markup=">",t.lineMax=O,t.parentType=m,h[1]=t.line,s=0;s<_.length;s++)t.bMarks[s+e]=p[s],t.tShift[s+e]=_[s],t.sCount[s+e]=y[s],t.bsCount[s+e]=v[s];return t.blkIndent=g,!0}},27636:function(t){"use strict";t.exports=function(t,e,n){var r,i,o;if(t.sCount[e]-t.blkIndent<4)return!1;for(i=r=e+1;r=4))break;i=++r}return t.line=i,(o=t.push("code_block","code",0)).content=t.getLines(e,i,4+t.blkIndent,!1)+"\n",o.map=[e,t.line],!0}},20785:function(t){"use strict";t.exports=function(t,e,n,r){var i,o,a,s,u,c,l,h=!1,f=t.bMarks[e]+t.tShift[e],d=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4||f+3>d||126!==(i=t.src.charCodeAt(f))&&96!==i||(u=f,(o=(f=t.skipChars(f,i))-u)<3)||(l=t.src.slice(u,f),a=t.src.slice(f,d),96===i&&a.indexOf(String.fromCharCode(i))>=0))return!1;if(r)return!0;for(s=e;!(++s>=n||(f=u=t.bMarks[s]+t.tShift[s],d=t.eMarks[s],f=4||(f=t.skipChars(f,i),f-u=4||35!==(o=t.src.charCodeAt(c))||c>=l)return!1;for(a=1,o=t.src.charCodeAt(++c);35===o&&c6||cc&&r(t.src.charCodeAt(s-1))&&(l=s),t.line=e+1,(u=t.push("heading_open","h"+String(a),1)).markup="########".slice(0,a),u.map=[e,t.line],(u=t.push("inline","",0)).content=t.src.slice(c,l).trim(),u.map=[e,t.line],u.children=[],(u=t.push("heading_close","h"+String(a),-1)).markup="########".slice(0,a)),0))}},90622:function(t,e,n){"use strict";var r=n(47504).isSpace;t.exports=function(t,e,n,i){var o,a,s,u,c=t.bMarks[e]+t.tShift[e],l=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4||42!==(o=t.src.charCodeAt(c++))&&45!==o&&95!==o)return!1;for(a=1;c|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];t.exports=function(t,e,n,r){var i,a,s,u,c=t.bMarks[e]+t.tShift[e],l=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4||!t.md.options.html||60!==t.src.charCodeAt(c))return!1;for(u=t.src.slice(c,l),i=0;i=4)return!1;for(f=t.parentType,t.parentType="paragraph";d3)){if(t.sCount[d]>=t.blkIndent&&(u=t.bMarks[d]+t.tShift[d])<(c=t.eMarks[d])&&(45===(h=t.src.charCodeAt(u))||61===h)&&(u=t.skipChars(u,h),(u=t.skipSpaces(u))>=c)){l=61===h?1:2;break}if(!(t.sCount[d]<0)){for(i=!1,o=0,a=p.length;o=a||(n=t.src.charCodeAt(o++))<48||n>57)return-1;for(;;){if(o>=a)return-1;if(!((n=t.src.charCodeAt(o++))>=48&&n<=57)){if(41===n||46===n)break;return-1}if(o-i>=10)return-1}return o=4||t.listIndent>=0&&t.sCount[D]-t.listIndent>=4&&t.sCount[D]=t.blkIndent&&(L=!0),(S=o(t,D))>=0){if(f=!0,E=t.bMarks[D]+t.tShift[D],y=Number(t.src.slice(E,S-1)),L&&1!==y)return!1}else{if(!((S=i(t,D))>=0))return!1;f=!1}if(L&&t.skipSpaces(S)>=t.eMarks[D])return!1;if(r)return!0;for(m=t.src.charCodeAt(S-1),g=t.tokens.length,f?(I=t.push("ordered_list_open","ol",1),1!==y&&(I.attrs=[["start",y]])):I=t.push("bullet_list_open","ul",1),I.map=v=[D,0],I.markup=String.fromCharCode(m),P=!1,T=t.md.block.ruler.getRules("list"),w=t.parentType,t.parentType="list";D=_?1:b-h)>4&&(l=1),c=h+l,(I=t.push("list_item_open","li",1)).markup=String.fromCharCode(m),I.map=d=[D,0],f&&(I.info=t.src.slice(E,S-1)),O=t.tight,x=t.tShift[D],C=t.sCount[D],k=t.listIndent,t.listIndent=t.blkIndent,t.blkIndent=c,t.tight=!0,t.tShift[D]=s-t.bMarks[D],t.sCount[D]=b,s>=_&&t.isEmpty(D+1)?t.line=Math.min(t.line+2,n):t.md.block.tokenize(t,D,n,!0),(!t.tight||P)&&(N=!1),P=t.line-D>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=k,t.tShift[D]=x,t.sCount[D]=C,t.tight=O,(I=t.push("list_item_close","li",-1)).markup=String.fromCharCode(m),d[1]=D=t.line,D>=n||t.sCount[D]=4)break;for(A=!1,u=0,p=T.length;u3||t.sCount[c]<0)){for(i=!1,o=0,a=l.length;o=4||91!==t.src.charCodeAt(C))return!1;for(;++C3||t.sCount[O]<0)){for(_=!1,h=0,f=b.length;h0&&this.level++,this.tokens.push(i),i},o.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]},o.prototype.skipEmptyLines=function(t){for(var e=this.lineMax;te;)if(!i(this.src.charCodeAt(--t)))return t+1;return t},o.prototype.skipChars=function(t,e){for(var n=this.src.length;tn;)if(e!==this.src.charCodeAt(--t))return t+1;return t},o.prototype.getLines=function(t,e,n,r){var o,a,s,u,c,l,h,f=t;if(t>=e)return"";for(l=new Array(e-t),o=0;fn?new Array(a-n+1).join(" ")+this.src.slice(u,c):this.src.slice(u,c)}return l.join("")},o.prototype.Token=r,t.exports=o},46961:function(t,e,n){"use strict";var r=n(47504).isSpace;function i(t,e){return t.src.slice(t.bMarks[e]+t.tShift[e],t.eMarks[e])}function o(t){var e,n=[],r=0,i=t.length,o=!1,a=0,s="";for(e=t.charCodeAt(r);rn||t.sCount[f=e+1]=4||(c=t.bMarks[f]+t.tShift[f])>=t.eMarks[f]||124!==(C=t.src.charCodeAt(c++))&&45!==C&&58!==C||c>=t.eMarks[f]||124!==(x=t.src.charCodeAt(c++))&&45!==x&&58!==x&&!r(x)||45===C&&r(x))return!1;for(;c=4||((d=o(u)).length&&""===d[0]&&d.shift(),d.length&&""===d[d.length-1]&&d.pop(),0===(p=d.length)||p!==g.length))return!1;if(a)return!0;for(b=t.parentType,t.parentType="table",w=t.md.block.ruler.getRules("blockquote"),(v=t.push("table_open","table",1)).map=y=[e,0],(v=t.push("thead_open","thead",1)).map=[e,e+1],(v=t.push("tr_open","tr",1)).map=[e,e+1],l=0;l=4)break;for((d=o(u)).length&&""===d[0]&&d.shift(),d.length&&""===d[d.length-1]&&d.pop(),f===e+2&&((v=t.push("tbody_open","tbody",1)).map=_=[e+2,0]),(v=t.push("tr_open","tr",1)).map=[f,f+1],l=0;l=0;e--)if("link_close"!==(s=o[e]).type){if("html_inline"===s.type&&(/^\s]/i.test(s.content)&&p>0&&p--,/^<\/a\s*>/i.test(s.content)&&p++),!(p>0)&&"text"===s.type&&t.md.linkify.test(s.content)){for(m=t.md.linkify.match(l=s.content),u=[],d=s.level,f=0,m.length>0&&0===m[0].index&&e>0&&"text_special"===o[e-1].type&&(m=m.slice(1)),c=0;cf&&((a=new t.Token("text","",0)).content=l.slice(f,h),a.level=d,u.push(a)),(a=new t.Token("link_open","a",1)).attrs=[["href",v]],a.level=d++,a.markup="linkify",a.info="auto",u.push(a),(a=new t.Token("text","",0)).content=g,a.level=d,u.push(a),(a=new t.Token("link_close","a",-1)).level=--d,a.markup="linkify",a.info="auto",u.push(a),f=m[c].lastIndex);f=0;e--)"text"===(n=t[e]).type&&!i&&(n.content=n.content.replace(r,o)),"link_open"===n.type&&"auto"===n.info&&i--,"link_close"===n.type&&"auto"===n.info&&i++}function s(t){var n,r,i=0;for(n=t.length-1;n>=0;n--)"text"===(r=t[n]).type&&!i&&e.test(r.content)&&(r.content=r.content.replace(/\+-/g,"\xb1").replace(/\.{2,}/g,"\u2026").replace(/([?!])\u2026/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1\u2014").replace(/(^|\s)--(?=\s|$)/gm,"$1\u2013").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1\u2013")),"link_open"===r.type&&"auto"===r.info&&i--,"link_close"===r.type&&"auto"===r.info&&i++}t.exports=function(t){var r;if(t.md.options.typographer)for(r=t.tokens.length-1;r>=0;r--)"inline"===t.tokens[r].type&&(n.test(t.tokens[r].content)&&a(t.tokens[r].children),e.test(t.tokens[r].content)&&s(t.tokens[r].children))}},87185:function(t,e,n){"use strict";var r=n(47504).isWhiteSpace,i=n(47504).isPunctChar,o=n(47504).isMdAsciiPunct,a=/['"]/,s=/['"]/g;function u(t,e,n){return t.slice(0,e)+n+t.slice(e+1)}function c(t,e){var n,a,c,l,h,f,d,p,v,g,m,y,_,b,k,w,C,x,O,M,S;for(O=[],n=0;n=0&&!(O[C].level<=d);C--);if(O.length=C+1,"text"===a.type){h=0,f=(c=a.content).length;t:for(;h=0)v=c.charCodeAt(l.index-1);else for(C=n-1;C>=0&&"softbreak"!==t[C].type&&"hardbreak"!==t[C].type;C--)if(t[C].content){v=t[C].content.charCodeAt(t[C].content.length-1);break}if(g=32,h=48&&v<=57&&(w=k=!1),k&&w&&(k=m,w=y),k||w){if(w)for(C=O.length-1;C>=0&&(p=O[C],!(O[C].level=0;e--)"inline"!==t.tokens[e].type||!a.test(t.tokens[e].content)||c(t.tokens[e].children,t)}},96546:function(t,e,n){"use strict";var r=n(68253);function i(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}i.prototype.Token=r,t.exports=i},91726:function(t){"use strict";t.exports=function(t){var e,n,r,i,o,a,s=t.tokens;for(e=0,n=s.length;e\x00-\x20]*)$/;t.exports=function(t,r){var i,o,a,s,u,c,l=t.pos;if(60!==t.src.charCodeAt(l))return!1;for(u=t.pos,c=t.posMax;;){if(++l>=c||60===(s=t.src.charCodeAt(l)))return!1;if(62===s)break}return i=t.src.slice(u+1,l),n.test(i)?(o=t.md.normalizeLink(i),!!t.md.validateLink(o)&&(r||((a=t.push("link_open","a",1)).attrs=[["href",o]],a.markup="autolink",a.info="auto",(a=t.push("text","",0)).content=t.md.normalizeLinkText(i),(a=t.push("link_close","a",-1)).markup="autolink",a.info="auto"),t.pos+=i.length+2,!0)):!!e.test(i)&&(o=t.md.normalizeLink("mailto:"+i),!!t.md.validateLink(o)&&(r||((a=t.push("link_open","a",1)).attrs=[["href",o]],a.markup="autolink",a.info="auto",(a=t.push("text","",0)).content=t.md.normalizeLinkText(i),(a=t.push("link_close","a",-1)).markup="autolink",a.info="auto"),t.pos+=i.length+2,!0))}},18326:function(t){"use strict";t.exports=function(t,e){var n,r,i,o,a,s,u,c,l=t.pos;if(96!==t.src.charCodeAt(l))return!1;for(n=l,l++,r=t.posMax;lo;n-=d[n]+1)if((i=t[n]).marker===r.marker&&i.open&&i.end<0&&(s=!1,(i.close||r.open)&&(i.length+r.length)%3==0&&(i.length%3!=0||r.length%3!=0)&&(s=!0),!s)){d[e]=e-n+(u=n>0&&!t[n-1].open?d[n-1]+1:0),d[n]=u,r.open=!1,i.end=e,i.close=!1,a=-1,f=-2;break}-1!==a&&(c[r.marker][(r.open?3:0)+(r.length||0)%3]=a)}}}t.exports=function(t){var n,r=t.tokens_meta,i=t.tokens_meta.length;for(e(t.delimiters),n=0;n=0;n--)(95===(r=e[n]).marker||42===r.marker)&&-1!==r.end&&(i=e[r.end],s=n>0&&e[n-1].end===r.end+1&&e[n-1].marker===r.marker&&e[n-1].token===r.token-1&&e[r.end+1].token===i.token+1,a=String.fromCharCode(r.marker),(o=t.tokens[r.token]).type=s?"strong_open":"em_open",o.tag=s?"strong":"em",o.nesting=1,o.markup=s?a+a:a,o.content="",(o=t.tokens[i.token]).type=s?"strong_close":"em_close",o.tag=s?"strong":"em",o.nesting=-1,o.markup=s?a+a:a,o.content="",s&&(t.tokens[e[n-1].token].content="",t.tokens[e[r.end+1].token].content="",n--))}t.exports.w=function(t,e){var n,r,i=t.src.charCodeAt(t.pos);if(e||95!==i&&42!==i)return!1;for(r=t.scanDelims(t.pos,42===i),n=0;n=f)return!1;if(35===t.src.charCodeAt(h+1)){if(c=t.src.slice(h).match(s))return e||(n="x"===c[1][0].toLowerCase()?parseInt(c[1].slice(1),16):parseInt(c[1],10),(l=t.push("text_special","",0)).content=o(n)?a(n):a(65533),l.markup=c[0],l.info="entity"),t.pos+=c[0].length,!0}else if((c=t.src.slice(h).match(u))&&i(r,c[1]))return e||((l=t.push("text_special","",0)).content=r[c[1]],l.markup=c[0],l.info="entity"),t.pos+=c[0].length,!0;return!1}},50340:function(t,e,n){"use strict";for(var r=n(47504).isSpace,i=[],o=0;o<256;o++)i.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t){i[t.charCodeAt(0)]=1}),t.exports=function(t,e){var n,o,a,s,u,c=t.pos,l=t.posMax;if(92!==t.src.charCodeAt(c)||++c>=l)return!1;if(10===(n=t.src.charCodeAt(c))){for(e||t.push("hardbreak","br",0),c++;c=55296&&n<=56319&&c+1=56320&&o<=57343&&(s+=t.src[c+1],c++),a="\\"+s,e||((u=t.push("text_special","",0)).content=n<256&&0!==i[n]?s:a,u.markup=a,u.info="escape"),t.pos=c+1,!0}},36109:function(t){"use strict";t.exports=function(t){var e,n,r=0,i=t.tokens,o=t.tokens.length;for(e=n=0;e0&&r++,"text"===i[e].type&&e+1=o)||(n=t.src.charCodeAt(u+1),33!==n&&63!==n&&47!==n&&!function(t){var e=32|t;return e>=97&&e<=122}(n))||(i=t.src.slice(u).match(r),!i)||(e||((a=t.push("html_inline","",0)).content=i[0],/^\s]/i.test(a.content)&&t.linkLevel++,s=a.content,/^<\/a\s*>/i.test(s)&&t.linkLevel--),t.pos+=i[0].length,0))}},10898:function(t,e,n){"use strict";var r=n(47504).normalizeReference,i=n(47504).isSpace;t.exports=function(t,e){var n,o,a,s,u,c,l,h,f,d,p,v,g,m="",y=t.pos,_=t.posMax;if(33!==t.src.charCodeAt(t.pos)||91!==t.src.charCodeAt(t.pos+1)||(c=t.pos+2,(u=t.md.helpers.parseLinkLabel(t,t.pos+1,!1))<0))return!1;if((l=u+1)<_&&40===t.src.charCodeAt(l)){for(l++;l<_&&(o=t.src.charCodeAt(l),i(o)||10===o);l++);if(l>=_)return!1;for(g=l,(f=t.md.helpers.parseLinkDestination(t.src,l,t.posMax)).ok&&(m=t.md.normalizeLink(f.str),t.md.validateLink(m)?l=f.pos:m=""),g=l;l<_&&(o=t.src.charCodeAt(l),i(o)||10===o);l++);if(f=t.md.helpers.parseLinkTitle(t.src,l,t.posMax),l<_&&g!==l&&f.ok)for(d=f.str,l=f.pos;l<_&&(o=t.src.charCodeAt(l),i(o)||10===o);l++);else d="";if(l>=_||41!==t.src.charCodeAt(l))return t.pos=y,!1;l++}else{if(void 0===t.env.references)return!1;if(l<_&&91===t.src.charCodeAt(l)?(g=l+1,(l=t.md.helpers.parseLinkLabel(t,l))>=0?s=t.src.slice(g,l++):l=u+1):l=u+1,s||(s=t.src.slice(c,u)),!(h=t.env.references[r(s)]))return t.pos=y,!1;m=h.href,d=h.title}return e||(a=t.src.slice(c,u),t.md.inline.parse(a,t.md,t.env,v=[]),(p=t.push("image","img",0)).attrs=n=[["src",m],["alt",""]],p.children=v,p.content=a,d&&n.push(["title",d])),t.pos=l,t.posMax=_,!0}},1786:function(t,e,n){"use strict";var r=n(47504).normalizeReference,i=n(47504).isSpace;t.exports=function(t,e){var n,o,a,s,u,c,l,h,f="",d="",p=t.pos,v=t.posMax,g=t.pos,m=!0;if(91!==t.src.charCodeAt(t.pos)||(u=t.pos+1,(s=t.md.helpers.parseLinkLabel(t,t.pos,!0))<0))return!1;if((c=s+1)=v)return!1;if(g=c,(l=t.md.helpers.parseLinkDestination(t.src,c,t.posMax)).ok){for(f=t.md.normalizeLink(l.str),t.md.validateLink(f)?c=l.pos:f="",g=c;c=v||41!==t.src.charCodeAt(c))&&(m=!0),c++}if(m){if(void 0===t.env.references)return!1;if(c=0?a=t.src.slice(g,c++):c=s+1):c=s+1,a||(a=t.src.slice(u,s)),!(h=t.env.references[r(a)]))return t.pos=p,!1;f=h.href,d=h.title}return e||(t.pos=u,t.posMax=s,t.push("link_open","a",1).attrs=n=[["href",f]],d&&n.push(["title",d]),t.linkLevel++,t.md.inline.tokenize(t),t.linkLevel--,t.push("link_close","a",-1)),t.pos=c,t.posMax=v,!0}},79850:function(t){"use strict";var e=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;t.exports=function(t,n){var r,i,o,a,s,u,c,l;return!(!t.md.options.linkify||t.linkLevel>0||(r=t.pos,i=t.posMax,r+3>i)||58!==t.src.charCodeAt(r)||47!==t.src.charCodeAt(r+1)||47!==t.src.charCodeAt(r+2)||(o=t.pending.match(e),!o)||(a=o[1],s=t.md.linkify.matchAtStart(t.src.slice(r-a.length)),!s)||(u=s.url,u.length<=a.length)||(u=u.replace(/\*+$/,""),c=t.md.normalizeLink(u),!t.md.validateLink(c))||(n||(t.pending=t.pending.slice(0,-a.length),(l=t.push("link_open","a",1)).attrs=[["href",c]],l.markup="linkify",l.info="auto",(l=t.push("text","",0)).content=t.md.normalizeLinkText(u),(l=t.push("link_close","a",-1)).markup="linkify",l.info="auto"),t.pos+=u.length-a.length,0))}},58254:function(t,e,n){"use strict";var r=n(47504).isSpace;t.exports=function(t,e){var n,i,o,a=t.pos;if(10!==t.src.charCodeAt(a))return!1;if(n=t.pending.length-1,i=t.posMax,!e)if(n>=0&&32===t.pending.charCodeAt(n))if(n>=1&&32===t.pending.charCodeAt(n-1)){for(o=n-1;o>=1&&32===t.pending.charCodeAt(o-1);)o--;t.pending=t.pending.slice(0,o),t.push("hardbreak","br",0)}else t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0);else t.push("softbreak","br",0);for(a++;a0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(i),this.tokens_meta.push(o),i},s.prototype.scanDelims=function(t,e){var n,r,s,u,c,l,h,f,d,p=t,v=!0,g=!0,m=this.posMax,y=this.src.charCodeAt(t);for(n=t>0?this.src.charCodeAt(t-1):32;p=0&&(n=this.attrs[e][1]),n},e.prototype.attrJoin=function(t,e){var n=this.attrIndex(t);n<0?this.attrPush([t,e]):this.attrs[n][1]=this.attrs[n][1]+" "+e},t.exports=e},5478:function(t){t.exports=function(){"use strict";function t(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(r=t[Symbol.iterator]()).next.bind(r)}var r,i=(function(t){t.exports={defaults:{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1},getDefaults:function(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}},changeDefaults:function(e){t.exports.defaults=e}}}(r={exports:{}}),r.exports),o=/[&<>"']/,a=/[&<>"']/g,s=/[<>"']|&(?!#?\w+;)/,u=/[<>"']|&(?!#?\w+;)/g,c={"&":"&","<":"<",">":">",'"':""","'":"'"},l=function(t){return c[t]},h=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function f(t){return t.replace(h,function(t,e){return"colon"===(e=e.toLowerCase())?":":"#"===e.charAt(0)?"x"===e.charAt(1)?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):""})}var d=/(^|[^\[])\^/g,p=/[^\w:]/g,v=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i,g={},m=/^[^:]+:\/*[^/]*$/,y=/^([^:]+:)[\s\S]*$/,_=/^([^:]+:\/*[^/]*)[\s\S]*$/;function b(t,e,n){var r=t.length;if(0===r)return"";for(var i=0;i=0&&"\\"===n[i];)r=!r;return r?"|":" |"}).split(/ \|/),r=0;if(n.length>e)n.splice(e);else for(;n.length1?{type:"space",raw:e[0]}:{raw:"\n"}},e.code=function(t,e){var n=this.rules.block.code.exec(t);if(n){var r=e[e.length-1];if(r&&"paragraph"===r.type)return{raw:n[0],text:n[0].trimRight()};var i=n[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?i:O(i,"\n")}}},e.fences=function(t){var e=this.rules.block.fences.exec(t);if(e){var n=e[0],r=function(t,e){var n=t.match(/^(\s+)(?:```)/);if(null===n)return e;var r=n[1];return e.split("\n").map(function(t){var e=t.match(/^\s+/);return null===e?t:e[0].length>=r.length?t.slice(r.length):t}).join("\n")}(n,e[3]||"");return{type:"code",raw:n,lang:e[2]?e[2].trim():e[2],text:r}}},e.heading=function(t){var e=this.rules.block.heading.exec(t);if(e){var n=e[2].trim();if(/#$/.test(n)){var r=O(n,"#");(this.options.pedantic||!r||/ $/.test(r))&&(n=r.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:n}}},e.nptable=function(t){var e=this.rules.block.nptable.exec(t);if(e){var n={type:"table",header:M(e[1].replace(/^ *| *\| *$/g,"")),align:e[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:e[3]?e[3].replace(/\n$/,"").split("\n"):[],raw:e[0]};if(n.header.length===n.align.length){var r,i=n.align.length;for(r=0;r ?/gm,"");return{type:"blockquote",raw:e[0],text:n}}},e.list=function(t){var e=this.rules.block.list.exec(t);if(e){var n,r,i,o,a,s,u,c,l=e[0],h=e[2],f=h.length>1,d={type:"list",raw:l,ordered:f,start:f?+h.slice(0,-1):"",loose:!1,items:[]},p=e[0].match(this.rules.block.item),v=!1,g=p.length;i=this.rules.block.listItemStart.exec(p[0]);for(var m=0;mi[1].length:o[1].length>i[0].length||o[1].length>3){p.splice(m,2,p[m]+"\n"+p[m+1]),m--,g--;continue}(!this.options.pedantic||this.options.smartLists?o[2][o[2].length-1]!==h[h.length-1]:f===(1===o[2].length))&&(a=p.slice(m+1).join("\n"),d.raw=d.raw.substring(0,d.raw.length-a.length),m=g-1),i=o}r=n.length,~(n=n.replace(/^ *([*+-]|\d+[.)]) ?/,"")).indexOf("\n ")&&(r-=n.length,n=n.replace(this.options.pedantic?/^ {1,4}/gm:new RegExp("^ {1,"+r+"}","gm"),"")),s=v||/\n\n(?!\s*$)/.test(n),m!==g-1&&(v="\n"===n.charAt(n.length-1),s||(s=v)),s&&(d.loose=!0),this.options.gfm&&(c=void 0,(u=/^\[[ xX]\] /.test(n))&&(c=" "!==n[1],n=n.replace(/^\[[ xX]\] +/,""))),d.items.push({type:"list_item",raw:l,task:u,checked:c,loose:s,text:n})}return d}},e.html=function(t){var e=this.rules.block.html.exec(t);if(e)return{type:this.options.sanitize?"paragraph":"html",raw:e[0],pre:!this.options.sanitizer&&("pre"===e[1]||"script"===e[1]||"style"===e[1]),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(e[0]):S(e[0]):e[0]}},e.def=function(t){var e=this.rules.block.def.exec(t);if(e)return e[3]&&(e[3]=e[3].substring(1,e[3].length-1)),{tag:e[1].toLowerCase().replace(/\s+/g," "),raw:e[0],href:e[2],title:e[3]}},e.table=function(t){var e=this.rules.block.table.exec(t);if(e){var n={type:"table",header:M(e[1].replace(/^ *| *\| *$/g,"")),align:e[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:e[3]?e[3].replace(/\n$/,"").split("\n"):[]};if(n.header.length===n.align.length){n.raw=e[0];var r,i=n.align.length;for(r=0;r/i.test(r[0])&&(e=!1),!n&&/^<(pre|code|kbd|script)(\s|>)/i.test(r[0])?n=!0:n&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(r[0])&&(n=!1),{type:this.options.sanitize?"text":"html",raw:r[0],inLink:e,inRawBlock:n,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):S(r[0]):r[0]}},e.link=function(t){var e=this.rules.inline.link.exec(t);if(e){var n=e[2].trim();if(!this.options.pedantic&&/^$/.test(n))return;var r=O(n.slice(0,-1),"\\");if((n.length-r.length)%2==0)return}else{var i=P(e[2],"()");if(i>-1){var o=(0===e[0].indexOf("!")?5:4)+e[1].length+i;e[2]=e[2].substring(0,i),e[0]=e[0].substring(0,o).trim(),e[3]=""}}var a=e[2],s="";if(this.options.pedantic){var u=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(a);u&&(a=u[1],s=u[3])}else s=e[3]?e[3].slice(1,-1):"";return a=a.trim(),/^$/.test(n)?a.slice(1):a.slice(1,-1)),E(e,{href:a&&a.replace(this.rules.inline._escapes,"$1"),title:s&&s.replace(this.rules.inline._escapes,"$1")},e[0])}},e.reflink=function(t,e){var n;if((n=this.rules.inline.reflink.exec(t))||(n=this.rules.inline.nolink.exec(t))){var r=(n[2]||n[1]).replace(/\s+/g," ");if(!(r=e[r.toLowerCase()])||!r.href){var i=n[0].charAt(0);return{type:"text",raw:i,text:i}}return E(n,r,n[0])}},e.strong=function(t,e,n){void 0===n&&(n="");var r=this.rules.inline.strong.start.exec(t);if(r&&(!r[1]||r[1]&&(""===n||this.rules.inline.punctuation.exec(n)))){e=e.slice(-1*t.length);var i,o="**"===r[0]?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;for(o.lastIndex=0;null!=(r=o.exec(e));)if(i=this.rules.inline.strong.middle.exec(e.slice(0,r.index+3)))return{type:"strong",raw:t.slice(0,i[0].length),text:t.slice(2,i[0].length-2)}}},e.em=function(t,e,n){void 0===n&&(n="");var r=this.rules.inline.em.start.exec(t);if(r&&(!r[1]||r[1]&&(""===n||this.rules.inline.punctuation.exec(n)))){e=e.slice(-1*t.length);var i,o="*"===r[0]?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;for(o.lastIndex=0;null!=(r=o.exec(e));)if(i=this.rules.inline.em.middle.exec(e.slice(0,r.index+2)))return{type:"em",raw:t.slice(0,i[0].length),text:t.slice(1,i[0].length-1)}}},e.codespan=function(t){var e=this.rules.inline.code.exec(t);if(e){var n=e[2].replace(/\n/g," "),r=/[^ ]/.test(n),i=/^ /.test(n)&&/ $/.test(n);return r&&i&&(n=n.substring(1,n.length-1)),n=S(n,!0),{type:"codespan",raw:e[0],text:n}}},e.br=function(t){var e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}},e.del=function(t){var e=this.rules.inline.del.exec(t);if(e)return{type:"del",raw:e[0],text:e[2]}},e.autolink=function(t,e){var n,r,i=this.rules.inline.autolink.exec(t);if(i)return r="@"===i[2]?"mailto:"+(n=S(this.options.mangle?e(i[1]):i[1])):n=S(i[1]),{type:"link",raw:i[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}},e.url=function(t,e){var n;if(n=this.rules.inline.url.exec(t)){var r,i;if("@"===n[2])i="mailto:"+(r=S(this.options.mangle?e(n[0]):n[0]));else{var o;do{o=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(o!==n[0]);r=S(n[0]),i="www."===n[1]?"http://"+r:r}return{type:"link",raw:n[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}},e.inlineText=function(t,e,n){var r,i=this.rules.inline.text.exec(t);if(i)return r=e?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):S(i[0]):i[0]:S(this.options.smartypants?n(i[0]):i[0]),{type:"text",raw:i[0],text:r}},t}(),T={exec:function(){}},I=function(t,e){t=t.source||t,e=e||"";var n={replace:function(e,r){return r=(r=r.source||r).replace(d,"$1"),t=t.replace(e,r),n},getRegex:function(){return new RegExp(t,e)}};return n},D=C,L={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?! {0,3}bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:T,table:T,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};L.def=I(L.def).replace("label",L._label).replace("title",L._title).getRegex(),L.bullet=/(?:[*+-]|\d{1,9}[.)])/,L.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,L.item=I(L.item,"gm").replace(/bull/g,L.bullet).getRegex(),L.listItemStart=I(/^( *)(bull)/).replace("bull",L.bullet).getRegex(),L.list=I(L.list).replace(/bull/g,L.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+L.def.source+")").getRegex(),L._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",L._comment=/|$)/,L.html=I(L.html,"i").replace("comment",L._comment).replace("tag",L._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),L.paragraph=I(L._paragraph).replace("hr",L.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",L._tag).getRegex(),L.blockquote=I(L.blockquote).replace("paragraph",L.paragraph).getRegex(),L.normal=D({},L),L.gfm=D({},L.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n {0,3}([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n {0,3}\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),L.gfm.nptable=I(L.gfm.nptable).replace("hr",L.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",L._tag).getRegex(),L.gfm.table=I(L.gfm.table).replace("hr",L.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",L._tag).getRegex(),L.pedantic=D({},L.normal,{html:I("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",L._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:T,paragraph:I(L.normal._paragraph).replace("hr",L.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",L.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var N={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:T,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",strong:{start:/^(?:(\*\*(?=[*punctuation]))|\*\*)(?![\s])|__/,middle:/^\*\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*\*$|^__(?![\s])((?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?)__$/,endAst:/[^punctuation\s]\*\*(?!\*)|[punctuation]\*\*(?!\*)(?:(?=[punctuation_\s]|$))/,endUnd:/[^\s]__(?!_)(?:(?=[punctuation*\s])|$)/},em:{start:/^(?:(\*(?=[punctuation]))|\*)(?![*\s])|_/,middle:/^\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*$|^_(?![_\s])(?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?_$/,endAst:/[^punctuation\s]\*(?!\*)|[punctuation]\*(?!\*)(?:(?=[punctuation_\s]|$))/,endUnd:/[^\s]_(?!_)(?:(?=[punctuation*\s])|$)/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:T,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~"};N.punctuation=I(N.punctuation).replace(/punctuation/g,N._punctuation).getRegex(),N._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",N._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",N._comment=I(L._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),N.em.start=I(N.em.start).replace(/punctuation/g,N._punctuation).getRegex(),N.em.middle=I(N.em.middle).replace(/punctuation/g,N._punctuation).replace(/overlapSkip/g,N._overlapSkip).getRegex(),N.em.endAst=I(N.em.endAst,"g").replace(/punctuation/g,N._punctuation).getRegex(),N.em.endUnd=I(N.em.endUnd,"g").replace(/punctuation/g,N._punctuation).getRegex(),N.strong.start=I(N.strong.start).replace(/punctuation/g,N._punctuation).getRegex(),N.strong.middle=I(N.strong.middle).replace(/punctuation/g,N._punctuation).replace(/overlapSkip/g,N._overlapSkip).getRegex(),N.strong.endAst=I(N.strong.endAst,"g").replace(/punctuation/g,N._punctuation).getRegex(),N.strong.endUnd=I(N.strong.endUnd,"g").replace(/punctuation/g,N._punctuation).getRegex(),N.blockSkip=I(N._blockSkip,"g").getRegex(),N.overlapSkip=I(N._overlapSkip,"g").getRegex(),N._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,N._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,N._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,N.autolink=I(N.autolink).replace("scheme",N._scheme).replace("email",N._email).getRegex(),N._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,N.tag=I(N.tag).replace("comment",N._comment).replace("attribute",N._attribute).getRegex(),N._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,N._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,N._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,N.link=I(N.link).replace("label",N._label).replace("href",N._href).replace("title",N._title).getRegex(),N.reflink=I(N.reflink).replace("label",N._label).getRegex(),N.reflinkSearch=I(N.reflinkSearch,"g").replace("reflink",N.reflink).replace("nolink",N.nolink).getRegex(),N.normal=D({},N),N.pedantic=D({},N.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:I(/^!?\[(label)\]\((.*?)\)/).replace("label",N._label).getRegex(),reflink:I(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",N._label).getRegex()}),N.gfm=D({},N.normal,{escape:I(N.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\1;)1&e&&(n+=t),e>>=1,t+=t;return n+t};function V(t){return t.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201c").replace(/"/g,"\u201d").replace(/\.{3}/g,"\u2026")}function Y(t){var e,n,r="",i=t.length;for(e=0;e.5&&(n="x"+n.toString(16)),r+="&#"+n+";";return r}var Z=function(){function e(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||F,this.options.tokenizer=this.options.tokenizer||new A,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var e={block:R.normal,inline:j.normal};this.options.pedantic?(e.block=R.pedantic,e.inline=j.pedantic):this.options.gfm&&(e.block=R.gfm,e.inline=this.options.breaks?j.breaks:j.gfm),this.tokenizer.rules=e}e.lex=function(t,n){return new e(n).lex(t)},e.lexInline=function(t,n){return new e(n).inlineTokens(t)};var n=e.prototype;return n.lex=function(t){return t=t.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(t,this.tokens,!0),this.inline(this.tokens),this.tokens},n.blockTokens=function(t,e,n){void 0===e&&(e=[]),void 0===n&&(n=!0),this.options.pedantic&&(t=t.replace(/^ +$/gm,""));for(var r,i,o,a;t;)if(r=this.tokenizer.space(t))t=t.substring(r.raw.length),r.type&&e.push(r);else if(r=this.tokenizer.code(t,e))t=t.substring(r.raw.length),r.type?e.push(r):((a=e[e.length-1]).raw+="\n"+r.raw,a.text+="\n"+r.text);else if(r=this.tokenizer.fences(t))t=t.substring(r.raw.length),e.push(r);else if(r=this.tokenizer.heading(t))t=t.substring(r.raw.length),e.push(r);else if(r=this.tokenizer.nptable(t))t=t.substring(r.raw.length),e.push(r);else if(r=this.tokenizer.hr(t))t=t.substring(r.raw.length),e.push(r);else if(r=this.tokenizer.blockquote(t))t=t.substring(r.raw.length),r.tokens=this.blockTokens(r.text,[],n),e.push(r);else if(r=this.tokenizer.list(t)){for(t=t.substring(r.raw.length),o=r.items.length,i=0;i0)for(;null!=(o=this.tokenizer.rules.inline.reflinkSearch.exec(u));)c.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(u=u.slice(0,o.index)+"["+B("a",o[0].length-2)+"]"+u.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(o=this.tokenizer.rules.inline.blockSkip.exec(u));)u=u.slice(0,o.index)+"["+B("a",o[0].length-2)+"]"+u.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;t;)if(a||(s=""),a=!1,i=this.tokenizer.escape(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.tag(t,n,r))t=t.substring(i.raw.length),n=i.inLink,r=i.inRawBlock,e.push(i);else if(i=this.tokenizer.link(t))t=t.substring(i.raw.length),"link"===i.type&&(i.tokens=this.inlineTokens(i.text,[],!0,r)),e.push(i);else if(i=this.tokenizer.reflink(t,this.tokens.links))t=t.substring(i.raw.length),"link"===i.type&&(i.tokens=this.inlineTokens(i.text,[],!0,r)),e.push(i);else if(i=this.tokenizer.strong(t,u,s))t=t.substring(i.raw.length),i.tokens=this.inlineTokens(i.text,[],n,r),e.push(i);else if(i=this.tokenizer.em(t,u,s))t=t.substring(i.raw.length),i.tokens=this.inlineTokens(i.text,[],n,r),e.push(i);else if(i=this.tokenizer.codespan(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.br(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.del(t))t=t.substring(i.raw.length),i.tokens=this.inlineTokens(i.text,[],n,r),e.push(i);else if(i=this.tokenizer.autolink(t,Y))t=t.substring(i.raw.length),e.push(i);else if(n||!(i=this.tokenizer.url(t,Y))){if(i=this.tokenizer.inlineText(t,r,V))t=t.substring(i.raw.length),s=i.raw.slice(-1),a=!0,e.push(i);else if(t){var l="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(l);break}throw new Error(l)}}else t=t.substring(i.raw.length),e.push(i);return e},function(e,n,r){r&&t(e,r)}(e,0,[{key:"rules",get:function(){return{block:R,inline:j}}}]),e}(),q=i.defaults,U=function(t,e,n){if(t){var r;try{r=decodeURIComponent(f(n)).replace(p,"").toLowerCase()}catch(i){return null}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return null}e&&!v.test(n)&&(n=function(t,e){g[" "+t]||(g[" "+t]=m.test(t)?t+"/":b(t,"/",!0));var n=-1===(t=g[" "+t]).indexOf(":");return"//"===e.substring(0,2)?n?e:t.replace(y,"$1")+e:"/"===e.charAt(0)?n?e:t.replace(_,"$1")+e:t+e}(e,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(i){return null}return n},H=k,G=function(){function t(t){this.options=t||q}var e=t.prototype;return e.code=function(t,e,n){var r=(e||"").match(/\S*/)[0];if(this.options.highlight){var i=this.options.highlight(t,r);null!=i&&i!==t&&(n=!0,t=i)}return t=t.replace(/\n$/,"")+"\n",r?'
    '+(n?t:H(t,!0))+"
    \n":"
    "+(n?t:H(t,!0))+"
    \n"},e.blockquote=function(t){return"
    \n"+t+"
    \n"},e.html=function(t){return t},e.heading=function(t,e,n,r){return this.options.headerIds?"'+t+"\n":""+t+"\n"},e.hr=function(){return this.options.xhtml?"
    \n":"
    \n"},e.list=function(t,e,n){var r=e?"ol":"ul";return"<"+r+(e&&1!==n?' start="'+n+'"':"")+">\n"+t+"\n"},e.listitem=function(t){return"
  • "+t+"
  • \n"},e.checkbox=function(t){return" "},e.paragraph=function(t){return"

    "+t+"

    \n"},e.table=function(t,e){return e&&(e=""+e+""),"\n\n"+t+"\n"+e+"
    \n"},e.tablerow=function(t){return"\n"+t+"\n"},e.tablecell=function(t,e){var n=e.header?"th":"td";return(e.align?"<"+n+' align="'+e.align+'">':"<"+n+">")+t+"\n"},e.strong=function(t){return""+t+""},e.em=function(t){return""+t+""},e.codespan=function(t){return""+t+""},e.br=function(){return this.options.xhtml?"
    ":"
    "},e.del=function(t){return""+t+""},e.link=function(t,e,n){if(null===(t=U(this.options.sanitize,this.options.baseUrl,t)))return n;var r='"+n+""},e.image=function(t,e,n){if(null===(t=U(this.options.sanitize,this.options.baseUrl,t)))return n;var r=''+n+'":">")},e.text=function(t){return t},t}(),J=function(){function t(){}var e=t.prototype;return e.strong=function(t){return t},e.em=function(t){return t},e.codespan=function(t){return t},e.del=function(t){return t},e.html=function(t){return t},e.text=function(t){return t},e.link=function(t,e,n){return""+n},e.image=function(t,e,n){return""+n},e.br=function(){return""},t}(),X=function(){function t(){this.seen={}}var e=t.prototype;return e.serialize=function(t){return t.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},e.getNextSafeSlug=function(t,e){var n=t,r=0;if(this.seen.hasOwnProperty(n)){r=this.seen[t];do{n=t+"-"+ ++r}while(this.seen.hasOwnProperty(n))}return e||(this.seen[t]=r,this.seen[n]=0),n},e.slug=function(t,e){void 0===e&&(e={});var n=this.serialize(t);return this.getNextSafeSlug(n,e.dryrun)},t}(),$=i.defaults,Q=w,W=function(){function t(t){this.options=t||$,this.options.renderer=this.options.renderer||new G,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new J,this.slugger=new X}t.parse=function(e,n){return new t(n).parse(e)},t.parseInline=function(e,n){return new t(n).parseInline(e)};var e=t.prototype;return e.parse=function(t,e){void 0===e&&(e=!0);var n,r,i,o,a,s,u,c,l,h,f,d,p,v,g,m,y,_,b="",k=t.length;for(n=0;n0&&"text"===g.tokens[0].type?(g.tokens[0].text=_+" "+g.tokens[0].text,g.tokens[0].tokens&&g.tokens[0].tokens.length>0&&"text"===g.tokens[0].tokens[0].type&&(g.tokens[0].tokens[0].text=_+" "+g.tokens[0].tokens[0].text)):g.tokens.unshift({type:"text",text:_}):v+=_),v+=this.parse(g.tokens,p),l+=this.renderer.listitem(v,y,m);b+=this.renderer.list(l,f,d);continue;case"html":b+=this.renderer.html(h.text);continue;case"paragraph":b+=this.renderer.paragraph(this.parseInline(h.tokens));continue;case"text":for(l=h.tokens?this.parseInline(h.tokens):h.text;n+1An error occurred:

    "+et(u.message+"",!0)+"
    ";throw u}}return ot.options=ot.setOptions=function(t){return K(ot.defaults,t),rt(ot.defaults),ot},ot.getDefaults=nt,ot.defaults=it,ot.use=function(t){var e=K({},t);if(t.renderer&&function(){var n=ot.defaults.renderer||new G,r=function(e){var r=n[e];n[e]=function(){for(var i=arguments.length,o=new Array(i),a=0;aAn error occurred:

    "+et(r.message+"",!0)+"
    ";throw r}},ot.Parser=W,ot.parser=W.parse,ot.Renderer=G,ot.TextRenderer=J,ot.Lexer=Z,ot.lexer=Z.lex,ot.Tokenizer=A,ot.Slugger=X,ot.parse=ot,ot}()},5325:function(t){"use strict";var e={};function n(t,r){var i;return"string"!=typeof r&&(r=n.defaultChars),i=function(t){var n,r,i=e[t];if(i)return i;for(i=e[t]=[],n=0;n<128;n++)r=String.fromCharCode(n),i.push(r);for(n=0;n=55296&&u<=57343?"\ufffd\ufffd\ufffd":String.fromCharCode(u),e+=6):240==(248&r)&&e+91114111?c+="\ufffd\ufffd\ufffd\ufffd":(u-=65536,c+=String.fromCharCode(55296+(u>>10),56320+(1023&u))),e+=9):c+="\ufffd";return c})}n.defaultChars=";/?:@&=+$,#",n.componentChars="",t.exports=n},79108:function(t){"use strict";var e={};function n(t,r,i){var o,a,s,u,c,l="";for("string"!=typeof r&&(i=r,r=n.defaultChars),void 0===i&&(i=!0),c=function(t){var n,r,i=e[t];if(i)return i;for(i=e[t]=[],n=0;n<128;n++)r=String.fromCharCode(n),/^[0-9a-z]$/i.test(r)?i.push(r):i.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2));for(n=0;n=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1=56320&&u<=57343){l+=encodeURIComponent(t[o]+t[o+1]),o++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(t[o]);return l}n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",t.exports=n},33923:function(t){"use strict";t.exports=function(t){var e="";return e+=t.protocol||"",e+=t.slashes?"//":"",e+=t.auth?t.auth+"@":"",t.hostname&&-1!==t.hostname.indexOf(":")?e+="["+t.hostname+"]":e+=t.hostname||"",e+=t.port?":"+t.port:"",e+=t.pathname||"",(e+=t.search||"")+(t.hash||"")}},74149:function(t,e,n){"use strict";t.exports.encode=n(79108),t.exports.decode=n(5325),t.exports.format=n(33923),t.exports.parse=n(74652)},74652:function(t){"use strict";function e(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var n=/^([a-z0-9.+-]+:)/i,r=/:[0-9]*$/,i=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,o=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),a=["'"].concat(o),s=["%","/","?",";","#"].concat(a),u=["/","?","#"],c=/^[+a-z0-9A-Z_-]{0,63}$/,l=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,h={javascript:!0,"javascript:":!0},f={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};e.prototype.parse=function(t,e){var r,o,a,d,p,v=t;if(v=v.trim(),!e&&1===t.split("#").length){var g=i.exec(v);if(g)return this.pathname=g[1],g[2]&&(this.search=g[2]),this}var m=n.exec(v);if(m&&(a=(m=m[0]).toLowerCase(),this.protocol=m,v=v.substr(m.length)),(e||m||v.match(/^\/\/[^@\/]+@[^@\/]+/))&&(p="//"===v.substr(0,2))&&!(m&&h[m])&&(v=v.substr(2),this.slashes=!0),!h[m]&&(p||m&&!f[m])){var y,_,b=-1;for(r=0;r127?O+="x":O+=x[M];if(!O.match(c)){var P=C.slice(0,r),E=C.slice(r+1),A=x.match(l);A&&(P.push(A[1]),E.unshift(A[2])),E.length&&(v=E.join(".")+v),this.hostname=P.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),w&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var T=v.indexOf("#");-1!==T&&(this.hash=v.substr(T),v=v.slice(0,T));var I=v.indexOf("?");return-1!==I&&(this.search=v.substr(I),v=v.slice(0,I)),v&&(this.pathname=v),f[a]&&this.hostname&&!this.pathname&&(this.pathname=""),this},e.prototype.parseHost=function(t){var e=r.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)},t.exports=function(t,n){if(t&&t instanceof e)return t;var r=new e;return r.parse(t,n),r}},67545:function(t,e,n){"use strict";n.d(e,{rN:function(){return F},y$:function(){return V},_l:function(){return Y}});var r,o=n(74788),s=n(56693),c=n(59796),l=n(77393),h=n(20377),v=n(85345),m=function(){function t(e){y(this,t),this.resultSelector=e}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new _(t,this.resultSelector))}}]),t}(),_=function(t){a(n,t);var e=u(n);function n(t,r){var i;arguments.length>2&&void 0!==arguments[2]||Object.create(null);return y(this,n),(i=e.call(this,t)).resultSelector=r,i.iterators=[],i.active=0,i.resultSelector="function"==typeof r?r:void 0,i}return g(n,[{key:"_next",value:function(t){var e=this.iterators;(0,c.k)(t)?e.push(new k(t)):e.push("function"==typeof t[h.hZ]?new b(t[h.hZ]()):new w(this.destination,this,t))}},{key:"_complete",value:function(){var t=this.iterators,e=t.length;if(this.unsubscribe(),0!==e){this.active=e;for(var n=0;nthis.index}},{key:"hasCompleted",value:function(){return this.array.length===this.index}}]),e}(h.hZ),w=function(t,e){a(r,t);var n=u(r);function r(t,e,i){var o;return y(this,r),(o=n.call(this,t)).parent=e,o.observable=i,o.stillUnsubscribed=!0,o.buffer=[],o.isComplete=!1,o}return g(r,[{key:e,value:function(){return this}},{key:"next",value:function(){var t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}}},{key:"hasValue",value:function(){return this.buffer.length>0}},{key:"hasCompleted",value:function(){return 0===this.buffer.length&&this.isComplete}},{key:"notifyComplete",value:function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}},{key:"notifyNext",value:function(t){this.buffer.push(t),this.parent.checkIterators()}},{key:"subscribe",value:function(){return(0,v.ft)(this.observable,new v.IY(this))}}]),r}(v.Ds,h.hZ),C=n(71023),x=new(function(t){a(n,t);var e=u(n);function n(){return y(this,n),e.apply(this,arguments)}return g(n,[{key:"flush",value:function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,r=-1,i=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++r2&&void 0!==arguments[2]?arguments[2]:0;return null!==r&&r>0?i(f(n.prototype),"requestAsyncId",this).call(this,t,e,r):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame(function(){return t.flush(null)})))}},{key:"recycleAsyncId",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==r&&r>0||null===r&&this.delay>0)return i(f(n.prototype),"recycleAsyncId",this).call(this,t,e,r);0===t.actions.length&&(cancelAnimationFrame(e),t.scheduled=void 0)}}]),n}(C.o)),O=n(26215),M=n(59193),S=n(40205),P=n(97968),E=n(45435),A=n(88002),T=n(15257),I=n(43190),D=n(68307),L=n(5304),N=n(12057),z=n(91211),F=new o.OlP("HIGHLIGHT_OPTIONS"),R=(r=function(){function t(e,n,r){var i=this;y(this,t),this._options=r,this._ready=new O.X(null),this.ready=this._ready.asObservable().pipe((0,E.h)(function(t){return!!t}),(0,A.U)(function(t){return t}),(0,T.q)(1)),(0,N.NF)(n)&&e.defaultView.hljs?this._ready.next(e.defaultView.hljs):this._loadLibrary().pipe((0,I.w)(function(t){return i._options&&i._options.lineNumbersLoader?(e.defaultView.hljs=t,i.loadLineNumbers().pipe((0,D.b)(function(){return i._ready.next(t)}))):(i._ready.next(t),M.E)}),(0,L.K)(function(t){return console.error("[HLJS] ",t),M.E})).subscribe()}return g(t,[{key:"_loadLibrary",value:function(){var t=this;if(this._options){if(this._options.fullLibraryLoader&&this._options.coreLibraryLoader)return(0,S._)("The full library and the core library were imported, only one of them should be imported!");if(this._options.fullLibraryLoader&&this._options.languages)return(0,S._)("The highlighting languages were imported they are not needed!");if(this._options.coreLibraryLoader&&!this._options.languages)return(0,S._)("The highlighting languages were not imported!");if(!this._options.coreLibraryLoader&&this._options.languages)return(0,S._)("The core library was not imported!");if(this._options.fullLibraryLoader)return this.loadFullLibrary();if(this._options.coreLibraryLoader&&this._options.languages&&Object.keys(this._options.languages).length)return this.loadCoreLibrary().pipe((0,I.w)(function(e){return t._loadLanguages(e)}))}return(0,S._)("Highlight.js library was not imported!")}},{key:"_loadLanguages",value:function(t){return(function(){for(var t=arguments.length,e=new Array(t),n=0;n1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.options,i=this.trimIndentation(t),a=e?this.decodeHtml(i):i,s=n?this.renderEmoji(a):a,u=(0,o.parse)(s,r);return this.sanitizer.sanitize(this.securityContext,u)||""}},{key:"getSource",value:function(t){var e=this;if(!this.http)throw new Error("[ngx-markdown] When using the `src` attribute you *have to* pass the `HttpClient` as a parameter of the `forRoot` method. See README for more information");return this.http.get(t,{responseType:"text"}).pipe((0,u.U)(function(n){return e.handleExtension(t,n)}))}},{key:"highlight",value:function(t){if((0,i.NF)(this.platform)&&"undefined"!=typeof Prism){t||(t=document);var e=t.querySelectorAll('pre code:not([class*="language-"])');Array.prototype.forEach.call(e,function(t){return t.classList.add("language-none")}),Prism.highlightAllUnder(t)}}},{key:"renderKatex",value:function(t,e){if("undefined"==typeof katex||void 0===katex.renderToString)throw new Error("[ngx-markdown] When using the `katex` attribute you *have to* include KaTeX files to `angular.json` or use imports. See README for more information");return t.replace(/\$([^\s][^$]*?[^\s])\$/gm,function(t,n){return katex.renderToString(n,e)})}},{key:"decodeHtml",value:function(t){if((0,i.NF)(this.platform)){var e=document.createElement("textarea");return e.innerHTML=t,e.value}return t}},{key:"handleExtension",value:function(t,e){var n=t?t.split("?")[0].split(".").splice(-1).join():null;return"md"!==n?"```"+n+"\n"+e+"\n```":e}},{key:"renderEmoji",value:function(t){if("undefined"==typeof joypixels||void 0===joypixels.shortnameToUnicode)throw new Error("[ngx-markdown] When using the `emoji` attribute you *have to* include Emoji-Toolkit files to `angular.json` or use imports. See README for more information");return joypixels.shortnameToUnicode(t)}},{key:"trimIndentation",value:function(t){return t?t.split("\n").map(function(t){var n=e;return t.length>0&&(n=isNaN(n)?t.search(/\S|$/):Math.min(t.search(/\S|$/),n)),isNaN(e)&&(e=n),n?t.substring(n):t}).join("\n"):"";var e}}]),t}(),c.\u0275fac=function(t){return new(t||c)(r.LFG(r.Lbi),r.LFG(f),r.LFG(a.eN,8),r.LFG(h,8),r.LFG(s.H7))},c.\u0275prov=r.Yz7({token:c,factory:c.\u0275fac}),c),v=function(){return(t=v||(v={})).LineHighlight="line-highlight",t.LineNumbers="line-numbers",v;var t}(),m=function(){var t=function(){function t(e,n){y(this,t),this.element=e,this.markdownService=n,this.error=new r.vpe,this.load=new r.vpe,this.ready=new r.vpe,this._emoji=!1,this._katex=!1,this._lineHighlight=!1,this._lineNumbers=!1}return g(t,[{key:"emoji",get:function(){return this._emoji},set:function(t){this._emoji=this.coerceBooleanProperty(t)}},{key:"katex",get:function(){return this._katex},set:function(t){this._katex=this.coerceBooleanProperty(t)}},{key:"lineHighlight",get:function(){return this._lineHighlight},set:function(t){this._lineHighlight=this.coerceBooleanProperty(t)}},{key:"lineNumbers",get:function(){return this._lineNumbers},set:function(t){this._lineNumbers=this.coerceBooleanProperty(t)}},{key:"ngOnChanges",value:function(){null==this.data?null==this.src||this.handleSrc():this.handleData()}},{key:"ngAfterViewInit",value:function(){!this.data&&!this.src&&this.handleTransclusion()}},{key:"render",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.markdownService.compile(t,e,this.emoji);n=this.katex?this.markdownService.renderKatex(n,this.katexOptions):n,this.element.nativeElement.innerHTML=n,this.handlePlugins(),this.markdownService.highlight(this.element.nativeElement),this.ready.emit()}},{key:"coerceBooleanProperty",value:function(t){return null!=t&&"false"!="".concat(t)}},{key:"handleData",value:function(){this.render(this.data)}},{key:"handleSrc",value:function(){var t=this;this.markdownService.getSource(this.src).subscribe(function(e){t.render(e),t.load.emit(e)},function(e){return t.error.emit(e)})}},{key:"handleTransclusion",value:function(){this.render(this.element.nativeElement.innerHTML,!0)}},{key:"handlePlugins",value:function(){this.lineHighlight&&(this.setPluginClass(this.element.nativeElement,v.LineHighlight),this.setPluginOptions(this.element.nativeElement,{dataLine:this.line,dataLineOffset:this.lineOffset})),this.lineNumbers&&(this.setPluginClass(this.element.nativeElement,v.LineNumbers),this.setPluginOptions(this.element.nativeElement,{dataStart:this.start}))}},{key:"setPluginClass",value:function(t,e){for(var n=t.querySelectorAll("pre"),r=0;r= 0x80 (not a basic code point)","invalid-input":"Invalid input"},c=Math.floor,l=String.fromCharCode;function h(t){throw new RangeError(u[t])}function f(t,e){var n=t.split("@"),r="";n.length>1&&(r=n[0]+"@",t=n[1]);var i=function(t,e){for(var n=[],r=t.length;r--;)n[r]=e(t[r]);return n}((t=t.replace(s,".")).split("."),e).join(".");return r+i}function p(t){for(var e=[],n=0,r=t.length;n=55296&&i<=56319&&n=48&&t<58?t-48+26:t>=65&&t<91?t-65:t>=97&&t<123?t-97:i},m=function(t,e){return t+22+75*(t<26)-((0!=e)<<5)},y=function(t,e,n){var r=0;for(t=n?c(t/700):t>>1,t+=c(t/e);t>455;r+=i)t=c(t/35);return c(r+36*t/(t+38))},b=function(t){var e=[],n=t.length,o=0,a=128,s=72,u=t.lastIndexOf("-");u<0&&(u=0);for(var l=0;l=128&&h("not-basic"),e.push(t.charCodeAt(l));for(var f=u>0?u+1:0;f=n&&h("invalid-input");var m=g(t.charCodeAt(f++));m>=i&&h("invalid-input"),m>c((r-o)/p)&&h("overflow"),o+=m*p;var _=v<=s?1:v>=s+26?26:v-s;if(m<_)break;var b=i-_;p>c(r/b)&&h("overflow"),p*=b}var k=e.length+1;s=y(o-d,k,0==d),c(o/k)>r-a&&h("overflow"),a+=c(o/k),o%=k,e.splice(o++,0,a)}return String.fromCodePoint.apply(String,e)},k=function(t){var e,n=[],o=(t=p(t)).length,a=128,s=0,u=72,f=_(t);try{for(f.s();!(e=f.n()).done;){var d=e.value;d<128&&n.push(l(d))}}catch(D){f.e(D)}finally{f.f()}var v=n.length,g=v;for(v&&n.push("-");g=a&&Cc((r-s)/x)&&h("overflow"),s+=(k-a)*x,a=k;var O,M=_(t);try{for(M.s();!(O=M.n()).done;){var S=O.value;if(Sr&&h("overflow"),S===a){for(var P=s,E=i;;E+=i){var A=E<=u?1:E>=u+26?26:E-u;if(P1&&void 0!==arguments[1]?arguments[1]:0;return e>0?i(f(n.prototype),"schedule",this).call(this,t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}},{key:"execute",value:function(t,e){return e>0||this.closed?i(f(n.prototype),"execute",this).call(this,t,e):this._execute(t,e)}},{key:"requestAsyncId",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==r&&r>0||null===r&&this.delay>0?i(f(n.prototype),"requestAsyncId",this).call(this,t,e,r):t.flush(this)}}]),n}(o.o)),c=n(59178),l=n(77393),h=n(23098),d=function(t){a(n,t);var e=u(n);function n(t,r){var i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return y(this,n),(i=e.call(this,t)).scheduler=r,i.delay=o,i}return g(n,[{key:"scheduleMessage",value:function(t){this.destination.add(this.scheduler.schedule(n.dispatch,this.delay,new p(t,this.destination)))}},{key:"_next",value:function(t){this.scheduleMessage(h.P.createNext(t))}},{key:"_error",value:function(t){this.scheduleMessage(h.P.createError(t)),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleMessage(h.P.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(t){var e=t.notification,n=t.destination;e.observe(n),this.unsubscribe()}}]),n}(l.L),p=g(function t(e,n){y(this,t),this.notification=e,this.destination=n}),v=n(77971),m=n(78858),_=function(t){a(n,t);var e=u(n);function n(){var t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY,o=arguments.length>2?arguments[2]:void 0;return y(this,n),(t=e.call(this)).scheduler=o,t._events=[],t._infiniteTimeWindow=!1,t._bufferSize=r<1?1:r,t._windowTime=i<1?1:i,i===Number.POSITIVE_INFINITY?(t._infiniteTimeWindow=!0,t.next=t.nextInfiniteTimeWindow):t.next=t.nextTimeWindow,t}return g(n,[{key:"nextInfiniteTimeWindow",value:function(t){if(!this.isStopped){var e=this._events;e.push(t),e.length>this._bufferSize&&e.shift()}i(f(n.prototype),"next",this).call(this,t)}},{key:"nextTimeWindow",value:function(t){this.isStopped||(this._events.push(new b(this._getNow(),t)),this._trimBufferThenGetEvents()),i(f(n.prototype),"next",this).call(this,t)}},{key:"_subscribe",value:function(t){var e,n=this._infiniteTimeWindow,r=n?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,o=r.length;if(this.closed)throw new v.N;if(this.isStopped||this.hasError?e=c.w.EMPTY:(this.observers.push(t),e=new m.W(this,t)),i&&t.add(t=new d(t,i)),n)for(var a=0;ae&&(o=Math.max(o,i-e)),o>0&&r.splice(0,o),r}}]),n}(r.xQ),b=g(function t(e,n){y(this,t),this.time=e,this.value=n})},79765:function(t,e,n){"use strict";n.d(e,{Yc:function(){return p},xQ:function(){return v}});var r,o=n(29856),s=n(77393),c=n(59178),l=n(77971),h=n(78858),d=n(29181),p=function(t){a(n,t);var e=u(n);function n(t){var r;return y(this,n),(r=e.call(this,t)).destination=t,r}return g(n)}(s.L),v=((r=function(t,e){a(r,t);var n=u(r);function r(){var t;return y(this,r),(t=n.call(this)).observers=[],t.closed=!1,t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return g(r,[{key:e,value:function(){return new p(this)}},{key:"lift",value:function(t){var e=new m(this,this);return e.operator=t,e}},{key:"next",value:function(t){if(this.closed)throw new l.N;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),i=0;i1?Array.prototype.slice.call(arguments):t)},r,n)})}function u(t,e,n,r,i){var o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){var a=t;t.addEventListener(e,n,i),o=function(){return a.removeEventListener(e,n,i)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){var s=t;t.on(e,n),o=function(){return s.off(e,n)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){var c=t;t.addListener(e,n),o=function(){return c.removeListener(e,n)}}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(var l=0,h=t.length;l1&&"number"==typeof e[e.length-1]&&(s=e.pop())):"number"==typeof c&&(s=e.pop()),null===u&&1===e.length&&e[0]instanceof r.y?e[0]:(0,o.J)(s)((0,a.n)(e,u))}},25917:function(t,e,n){"use strict";n.d(e,{of:function(){return a}});var r=n(54869),i=n(56693),o=n(94087);function a(){for(var t=arguments.length,e=new Array(t),n=0;n=0}var s=n(54869);function u(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,o=-1;return a(e)?o=Number(e)<1?1:Number(e):(0,s.K)(e)&&(n=e),(0,s.K)(n)||(n=i.P),new r.y(function(e){var r=a(t)?t:+t-n.now();return n.schedule(c,r,{index:0,period:o,subscriber:e})})}function c(t){var e=t.index,n=t.period,r=t.subscriber;if(r.next(e),!r.closed){if(-1===n)return r.complete();t.index=e+1,this.schedule(t,n)}}},5304:function(t,e,n){"use strict";n.d(e,{K:function(){return o}});var r=n(85345);function o(t){return function(e){var n=new s(t),r=e.lift(n);return n.caught=r}}var s=function(){function t(e){y(this,t),this.selector=e}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new c(t,this.selector,this.caught))}}]),t}(),c=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,t)).selector=r,o.caught=i,o}return g(n,[{key:"error",value:function(t){if(!this.isStopped){var e;try{e=this.selector(t,this.caught)}catch(s){return void i(f(n.prototype),"error",this).call(this,s)}this._unsubscribeAndRecycle();var o=new r.IY(this);this.add(o);var a=(0,r.ft)(e,o);a!==o&&this.add(a)}}}]),n}(r.Ds)},94612:function(t,e,n){"use strict";n.d(e,{b:function(){return i}});var r=n(19773);function i(t,e){return(0,r.zg)(t,e,1)}},54395:function(t,e,n){"use strict";n.d(e,{b:function(){return o}});var r=n(77393),i=n(33637);function o(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.P;return function(n){return n.lift(new s(t,e))}}var s=function(){function t(e,n){y(this,t),this.dueTime=e,this.scheduler=n}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new c(t,this.dueTime,this.scheduler))}}]),t}(),c=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,t)).dueTime=r,o.scheduler=i,o.debouncedSubscription=null,o.lastValue=null,o.hasValue=!1,o}return g(n,[{key:"_next",value:function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(l,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var t=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}},{key:"clearDebounce",value:function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}]),n}(r.L);function l(t){t.debouncedNext()}},95242:function(t,e,n){"use strict";n.d(e,{d:function(){return i}});var r=n(77393);function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(e){return e.lift(new o(t))}}var o=function(){function t(e){y(this,t),this.defaultValue=e}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new s(t,this.defaultValue))}}]),t}(),s=function(t){a(n,t);var e=u(n);function n(t,r){var i;return y(this,n),(i=e.call(this,t)).defaultValue=r,i.isEmpty=!0,i}return g(n,[{key:"_next",value:function(t){this.isEmpty=!1,this.destination.next(t)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),n}(r.L)},87874:function(t,e,n){"use strict";n.d(e,{g:function(){return s}});var r=n(33637),i=n(77393),o=n(23098);function s(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.P,n=function(t){return t instanceof Date&&!isNaN(+t)}(t)?+t-e.now():Math.abs(t);return function(t){return t.lift(new c(n,e))}}var c=function(){function t(e,n){y(this,t),this.delay=e,this.scheduler=n}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new l(t,this.delay,this.scheduler))}}]),t}(),l=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,t)).delay=r,o.scheduler=i,o.queue=[],o.active=!1,o.errored=!1,o}return g(n,[{key:"_schedule",value:function(t){this.active=!0,this.destination.add(t.schedule(n.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}},{key:"scheduleNotification",value:function(t){if(!0!==this.errored){var e=this.scheduler,n=new h(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}}},{key:"_next",value:function(t){this.scheduleNotification(o.P.createNext(t))}},{key:"_error",value:function(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleNotification(o.P.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(t){for(var e=t.source,n=e.queue,r=t.scheduler,i=t.destination;n.length>0&&n[0].time-r.now()<=0;)n.shift().notification.observe(i);if(n.length>0){var o=Math.max(0,n[0].time-r.now());this.schedule(t,o)}else this.unsubscribe(),e.active=!1}}]),n}(i.L),h=g(function t(e,n){y(this,t),this.time=e,this.notification=n})},87519:function(t,e,n){"use strict";n.d(e,{x:function(){return i}});var r=n(77393);function i(t,e){return function(n){return n.lift(new o(t,e))}}var o=function(){function t(e,n){y(this,t),this.compare=e,this.keySelector=n}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new s(t,this.compare,this.keySelector))}}]),t}(),s=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,t)).keySelector=i,o.hasKey=!1,"function"==typeof r&&(o.compare=r),o}return g(n,[{key:"compare",value:function(t,e){return t===e}},{key:"_next",value:function(t){var e;try{var n=this.keySelector;e=n?n(t):t}catch(n){return this.destination.error(n)}var r=!1;if(this.hasKey)try{r=(0,this.compare)(this.key,e)}catch(n){return this.destination.error(n)}else this.hasKey=!0;r||(this.key=e,this.destination.next(t))}}]),n}(r.L)},45435:function(t,e,n){"use strict";n.d(e,{h:function(){return i}});var r=n(77393);function i(t,e){return function(n){return n.lift(new o(t,e))}}var o=function(){function t(e,n){y(this,t),this.predicate=e,this.thisArg=n}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new s(t,this.predicate,this.thisArg))}}]),t}(),s=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,t)).predicate=r,o.thisArg=i,o.count=0,o}return g(n,[{key:"_next",value:function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}]),n}(r.L)},68939:function(t,e,n){"use strict";n.d(e,{x:function(){return o}});var r=n(77393),i=n(59178);function o(t){return function(e){return e.lift(new s(t))}}var s=function(){function t(e){y(this,t),this.callback=e}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new c(t,this.callback))}}]),t}(),c=function(t){a(n,t);var e=u(n);function n(t,r){var o;return y(this,n),(o=e.call(this,t)).add(new i.w(r)),o}return g(n)}(r.L)},28049:function(t,e,n){"use strict";n.d(e,{P:function(){return c}});var r=n(13410),i=n(45435),o=n(15257),a=n(95242),s=n(44635),u=n(54487);function c(t,e){var n=arguments.length>=2;return function(c){return c.pipe(t?(0,i.h)(function(e,n){return t(e,n,c)}):u.y,(0,o.q)(1),n?(0,a.d)(e):(0,s.T)(function(){return new r.K}))}}},88002:function(t,e,n){"use strict";n.d(e,{U:function(){return i}});var r=n(77393);function i(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 o(t,e))}}var o=function(){function t(e,n){y(this,t),this.project=e,this.thisArg=n}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new s(t,this.project,this.thisArg))}}]),t}(),s=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,t)).project=r,o.count=0,o.thisArg=i||l(o),o}return g(n,[{key:"_next",value:function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}]),n}(r.L)},63282:function(t,e,n){"use strict";n.d(e,{J:function(){return o}});var r=n(19773),i=n(54487);function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return(0,r.zg)(i.y,t)}},19773:function(t,e,n){"use strict";n.d(e,{zg:function(){return s}});var r=n(88002),i=n(97968),o=n(85345);function s(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof e?function(o){return o.pipe(s(function(n,o){return(0,i.D)(t(n,o)).pipe((0,r.U)(function(t,r){return e(n,t,o,r)}))},n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new c(t,n))})}var c=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;y(this,t),this.project=e,this.concurrent=n}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new l(t,this.project,this.concurrent))}}]),t}(),l=function(t){a(n,t);var e=u(n);function n(t,r){var i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return y(this,n),(i=e.call(this,t)).project=r,i.concurrent=o,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return g(n,[{key:"_next",value:function(t){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),n}(o.Ds)},59328:function(t,e,n){"use strict";n.d(e,{G:function(){return i}});var r=n(77393);function i(){return function(t){return t.lift(new o)}}var o=function(){function t(){y(this,t)}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new s(t))}}]),t}(),s=function(t){a(n,t);var e=u(n);function n(t){var r;return y(this,n),(r=e.call(this,t)).hasPrev=!1,r}return g(n,[{key:"_next",value:function(t){var e;this.hasPrev?e=[this.prev,t]:this.hasPrev=!0,this.prev=t,e&&this.destination.next(e)}}]),n}(r.L)},51307:function(t,e,n){"use strict";n.d(e,{x:function(){return i}});var r=n(77393);function i(){return function(t){return t.lift(new o(t))}}var o=function(){function t(e){y(this,t),this.connectable=e}return g(t,[{key:"call",value:function(t,e){var n=this.connectable;n._refCount++;var r=new s(t,n),i=e.subscribe(r);return r.closed||(r.connection=n.connect()),i}}]),t}(),s=function(t){a(n,t);var e=u(n);function n(t,r){var i;return y(this,n),(i=e.call(this,t)).connectable=r,i}return g(n,[{key:"_unsubscribe",value:function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,r&&(!n||r===n)&&r.unsubscribe()}}else this.connection=null}}]),n}(r.L)},79196:function(t,e,n){"use strict";n.d(e,{r:function(){return s}});var r=n(77393),o=n(59193);function s(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;return function(e){return 0===t?(0,o.c)():e.lift(new c(t<0?-1:t-1,e))}}var c=function(){function t(e,n){y(this,t),this.count=e,this.source=n}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new l(t,this.count,this.source))}}]),t}(),l=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,t)).count=r,o.source=i,o}return g(n,[{key:"complete",value:function(){if(!this.isStopped){var t=this.source,e=this.count;if(0===e)return i(f(n.prototype),"complete",this).call(this);e>-1&&(this.count=e-1),t.subscribe(this._unsubscribeAndRecycle())}}}]),n}(r.L)},72361:function(t,e,n){"use strict";n.d(e,{a:function(){return s}});var r=n(79765),o=n(85345);function s(t){return function(e){return e.lift(new c(t))}}var c=function(){function t(e){y(this,t),this.notifier=e}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new l(t,this.notifier,e))}}]),t}(),l=function(t){a(n,t);var e=u(n);function n(t,r,i){var o;return y(this,n),(o=e.call(this,t)).notifier=r,o.source=i,o.sourceIsBeingSubscribedTo=!0,o}return g(n,[{key:"notifyNext",value:function(){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)}},{key:"notifyComplete",value:function(){if(!1===this.sourceIsBeingSubscribedTo)return i(f(n.prototype),"complete",this).call(this)}},{key:"complete",value:function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return i(f(n.prototype),"complete",this).call(this);this._unsubscribeAndRecycle(),this.notifications.next(void 0)}}},{key:"_unsubscribe",value:function(){var t=this.notifications,e=this.retriesSubscription;t&&(t.unsubscribe(),this.notifications=void 0),e&&(e.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0}},{key:"_unsubscribeAndRecycle",value:function(){var t=this._unsubscribe;return this._unsubscribe=null,i(f(n.prototype),"_unsubscribeAndRecycle",this).call(this),this._unsubscribe=t,this}},{key:"subscribeToRetries",value:function(){var t;this.notifications=new r.xQ;try{t=(0,this.notifier)(this.notifications)}catch(e){return i(f(n.prototype),"complete",this).call(this)}this.retries=t,this.retriesSubscription=(0,o.ft)(t,new o.IY(this))}}]),n}(o.Ds)},9945:function(t,e,n){"use strict";n.d(e,{B:function(){return s}});var r=n(52441),i=n(51307),o=n(79765);function a(){return new o.xQ}function s(){return function(t){return(0,i.x)()(function(t,e){return function(e){var n;n="function"==typeof t?t:function(){return t};var i=Object.create(e,r.N);return i.source=e,i.subjectFactory=n,i}}(a)(t))}}},47349:function(t,e,n){"use strict";n.d(e,{d:function(){return i}});var r=n(74235);function i(t,e,n){var i;return i=t&&"object"==typeof t?t:{bufferSize:t,windowTime:e,refCount:!1,scheduler:n},function(t){return t.lift(function(t){var e,n,i=t.bufferSize,o=void 0===i?Number.POSITIVE_INFINITY:i,a=t.windowTime,s=void 0===a?Number.POSITIVE_INFINITY:a,u=t.refCount,c=t.scheduler,l=0,h=!1,f=!1;return function(t){var i;l++,!e||h?(h=!1,e=new r.t(o,s,c),i=e.subscribe(this),n=t.subscribe({next:function(t){e.next(t)},error:function(t){h=!0,e.error(t)},complete:function(){f=!0,n=void 0,e.complete()}}),f&&(n=void 0)):i=e.subscribe(this),this.add(function(){l--,i.unsubscribe(),i=void 0,n&&!f&&u&&0===l&&(n.unsubscribe(),n=void 0,e=void 0)})}}(i))}}},13653:function(t,e,n){"use strict";n.d(e,{T:function(){return i}});var r=n(77393);function i(t){return function(e){return e.lift(new o(t))}}var o=function(){function t(e){y(this,t),this.total=e}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new s(t,this.total))}}]),t}(),s=function(t){a(n,t);var e=u(n);function n(t,r){var i;return y(this,n),(i=e.call(this,t)).total=r,i.count=0,i}return g(n,[{key:"_next",value:function(t){++this.count>this.total&&this.destination.next(t)}}]),n}(r.L)},39761:function(t,e,n){"use strict";n.d(e,{O:function(){return o}});var r=n(22416),i=n(54869);function o(){for(var t=arguments.length,e=new Array(t),n=0;n1&&void 0!==arguments[1]?arguments[1]:i.P,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o;return function(r){return r.lift(new c(t,e,n.leading,n.trailing))}}var c=function(){function t(e,n,r,i){y(this,t),this.duration=e,this.scheduler=n,this.leading=r,this.trailing=i}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new l(t,this.duration,this.scheduler,this.leading,this.trailing))}}]),t}(),l=function(t){a(n,t);var e=u(n);function n(t,r,i,o,a){var s;return y(this,n),(s=e.call(this,t)).duration=r,s.scheduler=i,s.leading=o,s.trailing=a,s._hasTrailingValue=!1,s._trailingValue=null,s}return g(n,[{key:"_next",value:function(t){this.throttled?this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(h,this.duration,{subscriber:this})),this.leading?this.destination.next(t):this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0))}},{key:"_complete",value:function(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()}},{key:"clearThrottle",value:function(){var t=this.throttled;t&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),t.unsubscribe(),this.remove(t),this.throttled=null)}}]),n}(r.L);function h(t){t.subscriber.clearThrottle()}},44635:function(t,e,n){"use strict";n.d(e,{T:function(){return o}});var r=n(13410),i=n(77393);function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l;return function(e){return e.lift(new s(t))}}var s=function(){function t(e){y(this,t),this.errorFactory=e}return g(t,[{key:"call",value:function(t,e){return e.subscribe(new c(t,this.errorFactory))}}]),t}(),c=function(t){a(n,t);var e=u(n);function n(t,r){var i;return y(this,n),(i=e.call(this,t)).errorFactory=r,i.hasValue=!1,i}return g(n,[{key:"_next",value:function(t){this.hasValue=!0,this.destination.next(t)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}]),n}(i.L);function l(){return new r.K}},57057:function(t,e,n){"use strict";n.d(e,{M:function(){return o}});var r=n(55197),i=n(96563);function o(){for(var t=arguments.length,e=new Array(t),n=0;n0){var i=r.indexOf(n);-1!==i&&r.splice(i,1)}}},{key:"notifyComplete",value:function(){}},{key:"_next",value:function(t){if(0===this.toRespond.length){var e=[t].concat(d(this.values));this.project?this._tryProject(e):this.destination.next(e)}}},{key:"_tryProject",value:function(t){var e;try{e=this.project.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}]),n}(r.L)},94087:function(t,e,n){"use strict";n.d(e,{r:function(){return o}});var r=n(29856),i=n(59178);function o(t,e){return new r.y(function(n){var r=new i.w,o=0;return r.add(e.schedule(function(){o!==t.length?(n.next(t[o++]),n.closed||r.add(this.schedule())):n.complete()})),r})}},71023:function(t,e,n){"use strict";n.d(e,{o:function(){return r}});var r=function(t){a(n,t);var e=u(n);function n(t,r){var i;return y(this,n),(i=e.call(this,t,r)).scheduler=t,i.work=r,i.pending=!1,i}return g(n,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=t;var 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}},{key:"requestAsyncId",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(t.flush.bind(t,this),n)}},{key:"recycleAsyncId",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}},{key:"execute",value:function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(t,e){var n,r=!1;try{this.work(t)}catch(i){r=!0,n=!!i&&i||new Error(i)}if(r)return this.unsubscribe(),n}},{key:"_unsubscribe",value:function(){var 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}}]),n}(function(t){a(n,t);var e=u(n);function n(t,r){return y(this,n),e.call(this)}return g(n,[{key:"schedule",value:function(t){return this}}]),n}(n(59178).w))},69457:function(t,e,n){"use strict";n.d(e,{v:function(){return s}});var r,o=(r=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.now;y(this,t),this.SchedulerAction=e,this.now=n}return g(t,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,t).schedule(n,e)}}]),t}(),r.now=function(){return Date.now()},r),s=function(t){a(n,t);var e=u(n);function n(t){var r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.now;return y(this,n),(r=e.call(this,t,function(){return n.delegate&&n.delegate!==l(r)?n.delegate.now():i()})).actions=[],r.active=!1,r.scheduled=void 0,r}return g(n,[{key:"schedule",value:function(t){var e=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(t,e,r):i(f(n.prototype),"schedule",this).call(this,t,e,r)}},{key:"flush",value:function(t){var e=this.actions;if(this.active)e.push(t);else{var 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}}}}]),n}(o)},33637:function(t,e,n){"use strict";n.d(e,{P:function(){return i}});var r=n(71023),i=new(n(69457).v)(r.o)},20377:function(t,e,n){"use strict";n.d(e,{hZ:function(){return r}});var r="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},16554:function(t,e,n){"use strict";n.d(e,{L:function(){return r}});var r="function"==typeof Symbol&&Symbol.observable||"@@observable"},29181:function(t,e,n){"use strict";n.d(e,{b:function(){return r}});var r="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},7108:function(t,e,n){"use strict";n.d(e,{W:function(){return r}});var r=function(){function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t}()},13410:function(t,e,n){"use strict";n.d(e,{K:function(){return r}});var r=function(){function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t}()},77971:function(t,e,n){"use strict";n.d(e,{N:function(){return r}});var r=function(){function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t}()},54449:function(t,e,n){"use strict";function r(t){setTimeout(function(){throw t},0)}n.d(e,{z:function(){return r}})},54487:function(t,e,n){"use strict";function r(t){return t}n.d(e,{y:function(){return r}})},59796:function(t,e,n){"use strict";n.d(e,{k:function(){return r}});var r=Array.isArray||function(t){return t&&"number"==typeof t.length}},69489:function(t,e,n){"use strict";n.d(e,{z:function(){return r}});var r=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t}},69105:function(t,e,n){"use strict";function r(t){return"function"==typeof t}n.d(e,{m:function(){return r}})},81555:function(t,e,n){"use strict";function r(t){return null!==t&&"object"==typeof t}n.d(e,{K:function(){return r}})},95639:function(t,e,n){"use strict";n.d(e,{b:function(){return i}});var r=n(29856);function i(t){return!!t&&(t instanceof r.y||"function"==typeof t.lift&&"function"==typeof t.subscribe)}},44072:function(t,e,n){"use strict";function r(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,{t:function(){return r}})},54869:function(t,e,n){"use strict";function r(t){return t&&"function"==typeof t.schedule}n.d(e,{K:function(){return r}})},98640:function(t,e,n){"use strict";function r(){}n.d(e,{Z:function(){return r}})},34022:function(t,e,n){"use strict";n.d(e,{z:function(){return i},U:function(){return o}});var r=n(54487);function i(){for(var t=arguments.length,e=new Array(t),n=0;n4&&void 0!==arguments[4]?arguments[4]:new r(t,n,a);if(!s.closed)return e instanceof o.y?e.subscribe(s):(0,i.s)(e)(s)}},29756:function(t){t.exports=/[\0-\x1F\x7F-\x9F]/},87713:function(t){t.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},54897:function(t){t.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},51905:function(t){t.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},48363:function(t,e,n){"use strict";e.Any=n(93644),e.Cc=n(29756),e.Cf=n(87713),e.P=n(54897),e.Z=n(51905)},93644:function(t){t.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},7277:function(){"use strict";!function(t){var e=t.performance;function n(t){e&&e.mark&&e.mark(t)}function r(t,n){e&&e.measure&&e.measure(t,n)}n("Zone");var i=t.__Zone_symbol_prefix||"__zone_symbol__";function o(t){return i+t}var a=!0===t[o("forceDuplicateZoneCheck")];if(t.Zone){if(a||"function"!=typeof t.Zone.__symbol__)throw new Error("Zone already loaded.");return t.Zone}var s,u,c=(s=function(){function e(t,n){y(this,e),this._parent=t,this._name=n?n.name||"unnamed":"",this._properties=n&&n.properties||{},this._zoneDelegate=new h(this,this._parent&&this._parent._zoneDelegate,n)}return g(e,[{key:"parent",get:function(){return this._parent}},{key:"name",get:function(){return this._name}},{key:"get",value:function(t){var e=this.getZoneWith(t);if(e)return e._properties[t]}},{key:"getZoneWith",value:function(t){for(var e=this;e;){if(e._properties.hasOwnProperty(t))return e;e=e._parent}return null}},{key:"fork",value:function(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}},{key:"wrap",value:function(t,e){if("function"!=typeof t)throw new Error("Expecting function got: "+t);var n=this._zoneDelegate.intercept(this,t,e),r=this;return function(){return r.runGuarded(n,this,arguments,e)}}},{key:"run",value:function(t,e,n,r){N={parent:N,zone:this};try{return this._zoneDelegate.invoke(this,t,e,n,r)}finally{N=N.parent}}},{key:"runGuarded",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;N={parent:N,zone:this};try{try{return this._zoneDelegate.invoke(this,t,e,n,r)}catch(i){if(this._zoneDelegate.handleError(this,i))throw i}}finally{N=N.parent}}},{key:"runTask",value:function(t,e,n){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||C).name+"; Execution: "+this.name+")");if(t.state!==x||t.type!==I&&t.type!==T){var r=t.state!=S;r&&t._transitionTo(S,M),t.runCount++;var i=z;z=t,N={parent:N,zone:this};try{t.type==T&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,e,n)}catch(o){if(this._zoneDelegate.handleError(this,o))throw o}}finally{t.state!==x&&t.state!==E&&(t.type==I||t.data&&t.data.isPeriodic?r&&t._transitionTo(M,S):(t.runCount=0,this._updateTaskCount(t,-1),r&&t._transitionTo(x,S,x))),N=N.parent,z=i}}}},{key:"scheduleTask",value:function(t){if(t.zone&&t.zone!==this)for(var e=this;e;){if(e===t.zone)throw Error("can not reschedule task to ".concat(this.name," which is descendants of the original zone ").concat(t.zone.name));e=e.parent}t._transitionTo(O,x);var n=[];t._zoneDelegates=n,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(e){throw t._transitionTo(E,O,x),this._zoneDelegate.handleError(this,e),e}return t._zoneDelegates===n&&this._updateTaskCount(t,1),t.state==O&&t._transitionTo(M,O),t}},{key:"scheduleMicroTask",value:function(t,e,n,r){return this.scheduleTask(new f(A,t,e,n,r,void 0))}},{key:"scheduleMacroTask",value:function(t,e,n,r,i){return this.scheduleTask(new f(T,t,e,n,r,i))}},{key:"scheduleEventTask",value:function(t,e,n,r,i){return this.scheduleTask(new f(I,t,e,n,r,i))}},{key:"cancelTask",value:function(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||C).name+"; Execution: "+this.name+")");t._transitionTo(P,M,S);try{this._zoneDelegate.cancelTask(this,t)}catch(e){throw t._transitionTo(E,P),this._zoneDelegate.handleError(this,e),e}return this._updateTaskCount(t,-1),t._transitionTo(x,P),t.runCount=0,t}},{key:"_updateTaskCount",value:function(t,e){var n=t._zoneDelegates;-1==e&&(t._zoneDelegates=null);for(var r=0;r2&&void 0!==arguments[2]&&arguments[2];if(D.hasOwnProperty(i)){if(!s&&a)throw Error("Already loaded patch: "+i)}else if(!t["__Zone_disable_"+i]){var u="Zone:"+i;n(u),D[i]=o(t,e,L),r(u,u)}}}]),e}(),s.__symbol__=o,s),l={name:"",onHasTask:function(t,e,n,r){return t.hasTask(n,r)},onScheduleTask:function(t,e,n,r){return t.scheduleTask(n,r)},onInvokeTask:function(t,e,n,r,i,o){return t.invokeTask(n,r,i,o)},onCancelTask:function(t,e,n,r){return t.cancelTask(n,r)}},h=function(){function t(e,n,r){y(this,t),this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=e,this._parentDelegate=n,this._forkZS=r&&(r&&r.onFork?r:n._forkZS),this._forkDlgt=r&&(r.onFork?n:n._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:n._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:n._interceptZS),this._interceptDlgt=r&&(r.onIntercept?n:n._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:n._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:n._invokeZS),this._invokeDlgt=r&&(r.onInvoke?n:n._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:n._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:n._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?n:n._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:n._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:n._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?n:n._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:n._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:n._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?n:n._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:n._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:n._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?n:n._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:n._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;var i=r&&r.onHasTask;(i||n&&n._hasTaskZS)&&(this._hasTaskZS=i?r:l,this._hasTaskDlgt=n,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=e,r.onScheduleTask||(this._scheduleTaskZS=l,this._scheduleTaskDlgt=n,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=l,this._invokeTaskDlgt=n,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=l,this._cancelTaskDlgt=n,this._cancelTaskCurrZone=this.zone))}return g(t,[{key:"fork",value:function(t,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,t,e):new c(t,e)}},{key:"intercept",value:function(t,e,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,t,e,n):e}},{key:"invoke",value:function(t,e,n,r,i){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,t,e,n,r,i):e.apply(n,r)}},{key:"handleError",value:function(t,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,t,e)}},{key:"scheduleTask",value:function(t,e){var n=e;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),(n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,t,e))||(n=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=A)throw new Error("Task is missing scheduleFn.");k(e)}return n}},{key:"invokeTask",value:function(t,e,n,r){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,t,e,n,r):e.callback.apply(n,r)}},{key:"cancelTask",value:function(t,e){var n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,t,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");n=e.cancelFn(e)}return n}},{key:"hasTask",value:function(t,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,t,e)}catch(n){this.handleError(t,n)}}},{key:"_updateTaskCount",value:function(t,e){var n=this._taskCounts,r=n[t],i=n[t]=r+e;if(i<0)throw new Error("More tasks executed then were scheduled.");0!=r&&0!=i||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:t})}}]),t}(),f=function(){function e(n,r,i,o,a,s){if(y(this,e),this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=n,this.source=r,this.data=o,this.scheduleFn=a,this.cancelFn=s,!i)throw new Error("callback is not defined");this.callback=i;var u=this;this.invoke=n===I&&o&&o.useG?e.invokeTask:function(){return e.invokeTask.call(t,u,this,arguments)}}return g(e,[{key:"zone",get:function(){return this._zone}},{key:"state",get:function(){return this._state}},{key:"cancelScheduleRequest",value:function(){this._transitionTo(x,O)}},{key:"_transitionTo",value:function(t,e,n){if(this._state!==e&&this._state!==n)throw new Error("".concat(this.type," '").concat(this.source,"': can not transition to '").concat(t,"', expecting state '").concat(e,"'").concat(n?" or '"+n+"'":"",", was '").concat(this._state,"'."));this._state=t,t==x&&(this._zoneDelegates=null)}},{key:"toString",value:function(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}},{key:"toJSON",value:function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}],[{key:"invokeTask",value:function(t,e,n){t||(t=this),F++;try{return t.runCount++,t.zone.runTask(t,e,n)}finally{1==F&&w(),F--}}}]),e}(),d=o("setTimeout"),p=o("Promise"),v=o("then"),m=[],_=!1;function b(e){if(u||t[p]&&(u=t[p].resolve(0)),u){var n=u[v];n||(n=u.then),n.call(u,e)}else t[d](e,0)}function k(t){0===F&&0===m.length&&b(w),t&&m.push(t)}function w(){if(!_){for(_=!0;m.length;){var t=m;m=[];for(var e=0;e=0;n--)"function"==typeof t[n]&&(t[n]=f(t[n],e+"_"+n));return t}function w(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&void 0===t.set)}var C="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,x=!("nw"in b)&&void 0!==b.process&&"[object process]"==={}.toString.call(b.process),O=!x&&!C&&!(!v||!m.HTMLElement),M=void 0!==b.process&&"[object process]"==={}.toString.call(b.process)&&!C&&!(!v||!m.HTMLElement),S={},P=function(t){if(t=t||b.event){var e=S[t.type];e||(e=S[t.type]=p("ON_PROPERTY"+t.type));var n,r=this||t.target||b,i=r[e];if(O&&r===m&&"error"===t.type){var o=t;!0===(n=i&&i.call(this,o.message,o.filename,o.lineno,o.colno,o.error))&&t.preventDefault()}else null!=(n=i&&i.apply(this,arguments))&&!n&&t.preventDefault();return n}};function E(n,r,i){var o=t(n,r);if(!o&&i&&t(i,r)&&(o={enumerable:!0,configurable:!0}),o&&o.configurable){var a=p("on"+r+"patched");if(!n.hasOwnProperty(a)||!n[a]){delete o.writable,delete o.value;var s=o.get,u=o.set,c=r.slice(2),l=S[c];l||(l=S[c]=p("ON_PROPERTY"+c)),o.set=function(t){var e=this;!e&&n===b&&(e=b),e&&("function"==typeof e[l]&&e.removeEventListener(c,P),u&&u.call(e,null),e[l]=t,"function"==typeof t&&e.addEventListener(c,P,!1))},o.get=function(){var t=this;if(!t&&n===b&&(t=b),!t)return null;var e=t[l];if(e)return e;if(s){var i=s.call(this);if(i)return o.set.call(this,i),"function"==typeof t.removeAttribute&&t.removeAttribute(r),i}return null},e(n,r,o),n[a]=!0}}}function A(t,e,n){if(e)for(var r=0;r=0&&"function"==typeof r[o.cbIdx]?d(o.name,r[o.cbIdx],o,i):t.apply(e,r)}})}function N(t,e){t[p("OriginalDelegate")]=e}var z=!1,F=!1;function R(){if(z)return F;z=!0;try{var t=m.navigator.userAgent;(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/")||-1!==t.indexOf("Edge/"))&&(F=!0)}catch(t){}return F}Zone.__load_patch("ZoneAwarePromise",function(t,e,n){var r=Object.getOwnPropertyDescriptor,i=Object.defineProperty,o=n.symbol,a=[],s=!0===t[o("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],u=o("Promise"),c=o("then");n.onUnhandledError=function(t){if(n.showUncaughtError()){var e=t&&t.rejection;e?console.error("Unhandled Promise rejection:",e instanceof Error?e.message:e,"; Zone:",t.zone.name,"; Task:",t.task&&t.task.source,"; Value:",e,e instanceof Error?e.stack:void 0):console.error(t)}},n.microtaskDrainDone=function(){for(var t=function(){var t=a.shift();try{t.zone.runGuarded(function(){throw t.throwOriginal?t.rejection:t})}catch(r){!function(t){n.onUnhandledError(t);try{var r=e[l];"function"==typeof r&&r.call(this,t)}catch(r){}}(r)}};a.length;)t()};var l=o("unhandledPromiseRejectionHandler");function h(t){return t&&t.then}function f(t){return t}function d(t){return L.reject(t)}var p=o("state"),v=o("value"),m=o("finally"),b=o("parentPromiseValue"),k=o("parentPromiseState"),w=null,C=!1;function x(t,e){return function(n){try{S(t,e,n)}catch(r){S(t,!1,r)}}}var O=function(){var t=!1;return function(e){return function(){t||(t=!0,e.apply(null,arguments))}}},M=o("currentTaskTrace");function S(t,r,o){var u=O();if(t===o)throw new TypeError("Promise resolved with itself");if(t[p]===w){var c=null;try{("object"==typeof o||"function"==typeof o)&&(c=o&&o.then)}catch(l){return u(function(){S(t,!1,l)})(),t}if(r!==C&&o instanceof L&&o.hasOwnProperty(p)&&o.hasOwnProperty(v)&&o[p]!==w)E(o),S(t,o[p],o[v]);else if(r!==C&&"function"==typeof c)try{c.call(o,u(x(t,r)),u(x(t,!1)))}catch(l){u(function(){S(t,!1,l)})()}else{t[p]=r;var l=t[v];if(t[v]=o,t[m]===m&&!0===r&&(t[p]=t[k],t[v]=t[b]),r===C&&o instanceof Error){var h=e.currentTask&&e.currentTask.data&&e.currentTask.data.__creationTrace__;h&&i(o,M,{configurable:!0,enumerable:!1,writable:!0,value:h})}for(var f=0;f4&&void 0!==arguments[4]&&arguments[4],f=arguments.length>5&&void 0!==arguments[5]&&arguments[5];return function(){var d=this||t,p=arguments[0];r&&r.transferEventName&&(p=r.transferEventName(p));var v=arguments[1];if(!v)return e.apply(this,arguments);if(x&&"uncaughtException"===p)return e.apply(this,arguments);var g=!1;if("function"!=typeof v){if(!v.handleEvent)return e.apply(this,arguments);g=!0}if(!o||o(e,v,d,arguments)){var m=j&&!!L&&-1!==L.indexOf(p),y=E(arguments[2],m);if(D)for(var _=0;_2}).map(function(t){return t.substring(2)})}Zone.__load_patch("util",function(n,s,u){var d=K(n);u.patchOnProperties=A,u.patchMethod=D,u.bindArguments=k,u.patchMacroTask=L;var p=s.__symbol__("BLACK_LISTED_EVENTS"),v=s.__symbol__("UNPATCHED_EVENTS");n[v]&&(n[p]=n[v]),n[p]&&(s[p]=s[v]=n[p]),u.patchEventPrototype=X,u.patchEventTarget=G,u.isIEOrEdge=R,u.ObjectDefineProperty=e,u.ObjectGetOwnPropertyDescriptor=t,u.ObjectCreate=r,u.ArraySlice=i,u.patchClass=I,u.wrapWithCurrentZone=f,u.filterProperties=Q,u.attachOriginToPatched=N,u._redefineProperty=Object.defineProperty,u.patchCallbacks=$,u.getGlobalObjects=function(){return{globalSources:Z,zoneSymbolEventNames:Y,eventNames:d,isBrowser:O,isMix:M,isNode:x,TRUE_STR:c,FALSE_STR:l,ZONE_SYMBOL_PREFIX:h,ADD_EVENT_LISTENER_STR:o,REMOVE_EVENT_LISTENER_STR:a}}});var tt=p("zoneTask");function et(t,e,n,r){var i=null,o=null;n+=r;var a={};function s(e){var n=e.data;return n.args[0]=function(){return e.invoke.apply(this,arguments)},n.handleId=i.apply(t,n.args),e}function u(e){return o.call(t,e.data.handleId)}i=D(t,e+=r,function(n){return function(i,o){if("function"==typeof o[0]){var c={isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?o[1]||0:void 0,args:o},l=o[0];o[0]=function(){try{return l.apply(this,arguments)}finally{c.isPeriodic||("number"==typeof c.handleId?delete a[c.handleId]:c.handleId&&(c.handleId[tt]=null))}};var h=d(e,o[0],c,s,u);if(!h)return h;var f=h.data.handleId;return"number"==typeof f?a[f]=h:f&&(f[tt]=h),f&&f.ref&&f.unref&&"function"==typeof f.ref&&"function"==typeof f.unref&&(h.ref=f.ref.bind(f),h.unref=f.unref.bind(f)),"number"==typeof f||f?f:h}return n.apply(t,o)}}),o=D(t,n,function(e){return function(n,r){var i,o=r[0];"number"==typeof o?i=a[o]:(i=o&&o[tt])||(i=o),i&&"string"==typeof i.type?"notScheduled"!==i.state&&(i.cancelFn&&i.data.isPeriodic||0===i.runCount)&&("number"==typeof o?delete a[o]:o&&(o[tt]=null),i.zone.cancelTask(i)):e.apply(t,r)}})}Zone.__load_patch("legacy",function(t){var e=t[Zone.__symbol__("legacyPatch")];e&&e()}),Zone.__load_patch("queueMicrotask",function(t,e,n){n.patchMethod(t,"queueMicrotask",function(t){return function(t,n){e.current.scheduleMicroTask("queueMicrotask",n[0])}})}),Zone.__load_patch("timers",function(t){var e="clear";et(t,"set",e,"Timeout"),et(t,"set",e,"Interval"),et(t,"set",e,"Immediate")}),Zone.__load_patch("requestAnimationFrame",function(t){et(t,"request","cancel","AnimationFrame"),et(t,"mozRequest","mozCancel","AnimationFrame"),et(t,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",function(t,e){for(var n=["alert","prompt","confirm"],r=0;r0){var i=t.invoke;t.invoke=function(){for(var n=a[e.__symbol__("loadfalse")],o=0;o2&&void 0!==arguments[2]?arguments[2]:null;if(c(t.value,e))return t;var r=Array.isArray(e)?function(t,e,n){var r=null,i=null,a=Array.from(t.value).reduce(function(a,u,c){var l=a+s(e,a,u,n),h=e[l.length];return o(h)?l+h:u.match(h)?(null===r&&c>=t.selection[0]&&(r=l.length),null===i&&c>=t.selection[1]&&(i=l.length),l+u):l},""),u=s(e,a,"",n);return{value:c(a+u,e)?a+u:a,selection:[null!=r?r:a.length,null!=i?i:a.length]}}(t,e,n):function(t,e){var n=t.value,r=p(t.selection,2),i=r[0],o=r[1],a=i,s=o;return{value:Array.from(n).reduce(function(t,n,r){var u=t+n;return i===r&&(a=t.length),o===r&&(s=t.length),u.match(e)?u:t},""),selection:[a,s]}}(t,e),i=r.value,a=r.selection;return{selection:a,value:Array.isArray(e)?i.slice(0,e.length):i}}function h(t,e){if(!Array.isArray(e))return t;var n=p(t.selection,2),r=n[0],i=n[1],a=[],s=Array.from(t.value).reduce(function(t,n,s){var u=e[s];return s===r&&a.push(t.length),s===i&&a.push(t.length),o(u)&&u===n?t:t+n},"");return a.length<2&&a.push.apply(a,d(new Array(2-a.length).fill(s.length))),{value:s,selection:[a[0],a[1]]}}var f=function(){function t(e,n){y(this,t),this.initialElementState=e,this.maskOptions=n,this.value="",this.selection=[0,0];var r=l(e,this.getMaskExpression(e)),i=r.value,o=r.selection;this.value=i,this.selection=o}return g(t,[{key:"addCharacters",value:function(t,e){var n=p(t,2),r=n[0],i=n[1],o=this.value,a=this.getMaskExpression({value:o.slice(0,r)+e+o.slice(i),selection:[r+e.length,r+e.length]}),s={value:o,selection:[r,i]},u=h(s,a),c=p(function(t,e,n){var r=t.value,i=t.selection,o=p(i,2),a=o[0],s=o[1];return{value:r,selection:"replace"===("function"==typeof n?n({value:r,selection:i}):n)?[a,a+e.length]:[a,s]}}(u,e,this.maskOptions.overwriteMode).selection,2),f=c[0],d=c[1],v=u.value.slice(0,f)+e,g=v.length,m=l({value:v+u.value.slice(d),selection:[g,g]},a,s);if(o.slice(0,f)===l({value:v,selection:[g,g]},a,s).value||function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r0&&void 0!==arguments[0]?arguments[0]:[];return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:{inputType:"insertText",data:null},i=this.elementState.value;this.updateValue(e),this.updateSelectionRange(n),i!==e&&this.dispatchInputEvent(r)}},{key:"updateSelectionRange",value:function(t){var e,n,r=p(t,2),i=r[0],o=r[1];(this.element.selectionStart!==i||this.element.selectionEnd!==o)&&(null===(n=(e=this.element).setSelectionRange)||void 0===n||n.call(e,i,o))}},{key:"updateValue",value:function(t){this.element.value=t}},{key:"ensureValueFitsMask",value:function(){this.updateElementState(M(this.elementState,this.options))}},{key:"dispatchInputEvent",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{inputType:"insertText",data:null},e="undefined"!=typeof window?window:globalThis;(null==e?void 0:e.InputEvent)&&this.element.dispatchEvent(new InputEvent("input",Object.assign(Object.assign({},t),{bubbles:!0,cancelable:!1})))}},{key:"handleKeydown",value:function(t){var e=t.key,n="Delete"===e;switch(e){case"Backspace":case"Delete":return this.handleDelete({event:t,isForward:n,selection:b(this.elementState,n)});case"Enter":return this.handleEnter(t)}!function(t){var e=t.key,n=t.ctrlKey,r=t.metaKey,i=t.altKey,o=n||r||i,a=/^(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])$/.test(e);return!o&&"Backspace"!==e&&a}(t)||this.handleInsert(t,e)}},{key:"handleDelete",value:function(t){var e=t.event,n=t.selection,r=t.isForward,i=t.force,o=void 0!==i&&i,a={value:this.elementState.value,selection:n},s=p(a.selection,2),u=s[0],c=s[1],l=this.preprocessor({elementState:a,data:""},r?"deleteForward":"deleteBackward").elementState,h=new f(l,this.options),d=p(l.selection,2),v=d[0],g=d[1];h.deleteCharacters([v,g]);var m=this.postprocessor(h,a);if(a.value.slice(0,u)+a.value.slice(c)!==m.value||o)return e.preventDefault(),function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;rthis.maxLength)return t.preventDefault();h!==d.value&&(t.preventDefault(),this.updateElementState(d,{data:e,inputType:"inputType"in t?t.inputType:"insertText"}),this.updateHistory(d))}},{key:"handleEnter",value:function(t){this.isTextArea&&this.handleInsert(t,"\n")}}]),n}(function(){function t(){y(this,t),this.now=null,this.past=[],this.future=[]}return g(t,[{key:"undo",value:function(){var t=this.past.pop();t&&this.now&&(this.future.push(this.now),this.updateElement(t,"historyUndo"))}},{key:"redo",value:function(){var t=this.future.pop();t&&this.now&&(this.past.push(this.now),this.updateElement(t,"historyRedo"))}},{key:"updateHistory",value:function(t){if(this.now){var e=this.now.value!==t.value,n=this.now.selection.some(function(e,n){return e!==t.selection[n]});!e&&!n||(e&&(this.past.push(this.now),this.future=[]),this.now=t)}else this.now=t}},{key:"updateElement",value:function(t,e){this.now=t,this.updateElementState(t,{inputType:e,data:null})}}]),t}())},14707:function(t,e,n){"use strict";n.d(e,{C:function(){return i}});var r,i=((r=i||(i={})).MaskitoOptions="mask",r.JavaScript="JavaScript",r.Angular="Angular",r.React="React",r.Vue="Vue",i)},56791:function(n,r,i){"use strict";var o,s=i(91211),c=(i(7400),i(58497)),l=i(74788),h=i(56083),f=i(79221),d=i(12057),v=((o=function(t){a(n,t);var e=u(n);function n(t,r){var i;return y(this,n),(i=e.call(this))._nextAnimationId=0,i._renderer=t.createRenderer(r.body,{id:"0",encapsulation:l.ifc.None,styles:[],data:{animation:[]}}),i}return g(n,[{key:"build",value:function(t){var e=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(t)?(0,h.vP)(t):t;return b(this._renderer,null,e,"register",[n]),new m(e,this._renderer)}}]),n}(h._j)).\u0275fac=function(t){return new(t||o)(l.LFG(l.FYo),l.LFG(d.K0))},o.\u0275prov=l.Yz7({token:o,factory:o.\u0275fac}),o),m=function(t){a(n,t);var e=u(n);function n(t,r){var i;return y(this,n),(i=e.call(this))._id=t,i._renderer=r,i}return g(n,[{key:"create",value:function(t,e){return new _(this._id,t,e||{},this._renderer)}}]),n}(h.LC),_=function(){function t(e,n,r,i){y(this,t),this.id=e,this.element=n,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",r)}return g(t,[{key:"_listen",value:function(t,e){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(t),e)}},{key:"_command",value:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r=0&&t3&&void 0!==arguments[3])||arguments[3];this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,r)}},{key:"removeChild",value:function(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}},{key:"selectRootElement",value:function(t,e){return this.delegate.selectRootElement(t,e)}},{key:"parentNode",value:function(t){return this.delegate.parentNode(t)}},{key:"nextSibling",value:function(t){return this.delegate.nextSibling(t)}},{key:"setAttribute",value:function(t,e,n,r){this.delegate.setAttribute(t,e,n,r)}},{key:"removeAttribute",value:function(t,e,n){this.delegate.removeAttribute(t,e,n)}},{key:"addClass",value:function(t,e){this.delegate.addClass(t,e)}},{key:"removeClass",value:function(t,e){this.delegate.removeClass(t,e)}},{key:"setStyle",value:function(t,e,n,r){this.delegate.setStyle(t,e,n,r)}},{key:"removeStyle",value:function(t,e,n){this.delegate.removeStyle(t,e,n)}},{key:"setProperty",value:function(t,e,n){e.charAt(0)==k&&e==w?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}},{key:"setValue",value:function(t,e){this.delegate.setValue(t,e)}},{key:"listen",value:function(t,e,n){return this.delegate.listen(t,e,n)}},{key:"disableAnimations",value:function(t,e){this.engine.disableAnimations(t,e)}}]),t}(),O=function(t){a(n,t);var e=u(n);function n(t,r,i,o){var a;return y(this,n),(a=e.call(this,r,i,o)).factory=t,a.namespaceId=r,a}return g(n,[{key:"setProperty",value:function(t,e,n){e.charAt(0)==k?"."==e.charAt(1)&&e==w?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)}},{key:"listen",value:function(t,e,n){var r=this;if(e.charAt(0)==k){var i,o,a=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t),s=e.substr(1),u="";return s.charAt(0)!=k&&(i=function(t){var e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(s),s=(o=p(i,2))[0],u=o[1]),this.engine.listen(this.namespaceId,a,s,u,function(t){r.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}]),n}(x),M=function(){var t=function(t){a(n,t);var e=u(n);function n(t,r,i){return y(this,n),e.call(this,t.body,r,i)}return g(n,[{key:"ngOnDestroy",value:function(){this.flush()}}]),n}(f.Th);return t.\u0275fac=function(e){return new(e||t)(l.LFG(d.K0),l.LFG(f.Vi),l.LFG(f.NH))},t.\u0275prov=l.Yz7({token:t,factory:t.\u0275fac}),t}(),S=new l.OlP("AnimationModuleType"),P=[{provide:h._j,useClass:v},{provide:f.NH,useFactory:function(){return new f.Ar}},{provide:f.Th,useClass:M},{provide:l.FYo,useFactory:function(t,e,n){return new C(t,e,n)},deps:[s.se,f.Th,l.R0b]}],E=[{provide:f.Vi,useFactory:function(){return(0,f.QN)()?new f.DT:new f.uL}},{provide:S,useValue:"BrowserAnimations"}].concat(P),A=[{provide:f.Vi,useClass:f.nV},{provide:S,useValue:"NoopAnimations"}].concat(P),T=function(){var t=function(){function t(){y(this,t)}return g(t,null,[{key:"withConfig",value:function(e){return{ngModule:t,providers:e.disableAnimations?A:E}}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=l.oAB({type:t}),t.\u0275inj=l.cJS({providers:E,imports:[s.b2]}),t}(),I=i(68159),D=i(82847),L=i(75452),N=i(76715),z=i(32960),F=i(79456),R=i(23358),j=i.n(R),B=new l.OlP("Config for DOMPurify",{factory:function(){return{}},providedIn:"root"}),V=new l.OlP("Hooks for DOMPurify",{factory:function(){return[]},providedIn:"root"}),Y=new l.OlP("A function that sanitizes value for a CSS rule",{factory:function(){return function(t){return t}},providedIn:"root"}),Z=j(),q=function(){var t=function(){function t(e,n,r,i){var o=this,a=r.defaultView;y(this,t),this.config=e,this.sanitizeStyle=n,this.domPurify=Z(a),i.forEach(function(t){var e=t.name,n=t.hook;o.domPurify.addHook(e,n)})}return g(t,[{key:"sanitize",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.config;if(t===l.q3G.SCRIPT)throw new Error("DOMPurify does not support SCRIPT context");return t===l.q3G.STYLE?this.sanitizeStyle(String(e)):this.domPurify.sanitize(String(e||""),n)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(l.LFG(B),l.LFG(Y),l.LFG(d.K0),l.LFG(V))},t.\u0275prov=l.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),U=i(86561),H=function(){var t=g(function t(){y(this,t),this.stackblitzStarterPath="/stackblitz"});return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=l.Xpm({type:t,selectors:[["my-app"]],features:[l._Bn([{provide:F.hm,useClass:q}])],decls:5,vars:1,consts:[["ngProjectAs","tuiDocHeader",5,["tuiDocHeader"]],["href","https://github.com/taiga-family/maskito","icon","assets/icons/github.svg","iconAlign","left","rel","noreferrer","target","_blank","title","Maskito source code on GitHub","tuiLink","","tuiMode","onLight",1,"link"],["href","https://t.me/taiga_ui/10600","icon","assets/icons/telegram.svg","iconAlign","left","rel","noreferrer","target","_blank","title","Get help on Telegram","tuiLink","","tuiMode","onLight",1,"link"],["icon","assets/icons/stackblitz.svg","iconAlign","left","title","Maskito StackBlitz Starter","tuiLink","","tuiMode","onLight",1,"link",3,"routerLink"]],template:function(t,e){1&t&&(l.TgZ(0,"tui-doc-main"),l.ynx(1,0),l._UZ(2,"a",1),l._UZ(3,"a",2),l._UZ(4,"a",3),l.BQk(),l.qZA()),2&t&&(l.xp6(4),l.Q6J("routerLink",e.stackblitzStarterPath))},directives:[I.$5,D.V,L.w,U.yS],styles:["[_nghost-%COMP%]{font:var(--tui-font-text-m);color:var(--tui-text-01)}.link[_ngcontent-%COMP%]{margin-left:1rem}"],changeDetection:0}),t}(),G=i(97582),J=i(14707),X=i(64548),$=i(67545),Q=i(89570),W=i(54789),K=new Q.Al(function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=l.Xpm({type:t,selectors:[["angular-logo"]],decls:1,vars:0,consts:[["src","assets/icons/angular.svg"]],template:function(t,e){1&t&&l._UZ(0,"tui-svg",0)},directives:[W.PN],encapsulation:2,changeDetection:0}),t}()),tt=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=l.oAB({type:t}),t.\u0275inj=l.cJS({imports:[[W.EI]]}),t}(),et=new Q.Al(function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=l.Xpm({type:t,selectors:[["javascript-logo"]],decls:1,vars:0,consts:[["src","assets/icons/javascript.svg"]],template:function(t,e){1&t&&l._UZ(0,"tui-svg",0)},directives:[W.PN],encapsulation:2,changeDetection:0}),t}()),nt=new Q.Al(function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=l.Xpm({type:t,selectors:[["react-logo"]],decls:1,vars:0,consts:[["src","assets/icons/react.svg"]],template:function(t,e){1&t&&l._UZ(0,"tui-svg",0)},directives:[W.PN],encapsulation:2,changeDetection:0}),t}()),rt=new Q.Al(function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=l.Xpm({type:t,selectors:[["vue-logo"]],decls:1,vars:0,consts:[["src","assets/icons/vue.svg"]],template:function(t,e){1&t&&l._UZ(0,"tui-svg",0)},directives:[W.PN],encapsulation:2,changeDetection:0}),t}()),it=new Q.Al(function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=l.Xpm({type:t,selectors:[["logo"]],decls:5,vars:0,consts:[["routerLink","/","tuiLink","",1,"logo-link"],[1,"logo-name"],["alt","Maskito logo","src","assets/icons/maskito.svg",1,"logo"],["alt","by Tinkoff","src","assets/icons/by.svg",1,"by"]],template:function(t,e){1&t&&(l.TgZ(0,"a",0),l.TgZ(1,"span",1),l._UZ(2,"img",2),l._uU(3," Maskito "),l.qZA(),l.qZA(),l._UZ(4,"img",3))},directives:[U.yS,D.V],styles:["[_nghost-%COMP%]{display:flex;align-items:center}[_nghost-%COMP%] tui-root._mobile[_nghost-%COMP%], tui-root._mobile [_nghost-%COMP%]{font-size:0}.logo-link[_ngcontent-%COMP%]{display:flex}.logo-name[_ngcontent-%COMP%]{display:flex;color:var(--tui-text-01)}.logo[_ngcontent-%COMP%]{margin-right:.625rem}.by[_ngcontent-%COMP%]{margin-left:.875rem}tui-root._mobile[_nghost-%COMP%] .by[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .by[_ngcontent-%COMP%]{display:none}"],changeDetection:0}),t}()),ot=[{provide:d.S$,useClass:d.b0},{provide:X.Yx,useValue:"Maskito | "},{provide:X.Or,useValue:it},{provide:X.AC,useValue:["Description and examples","API"]},{provide:X.V5,useValue:[{section:"Getting started",title:"What is Maskito?",route:"getting-started/what-is-maskito",keywords:"getting, started, what, is, maskito"},{section:"Getting started",title:"Maskito libraries",route:"getting-started/maskito-libraries",keywords:"install, package, packages, maskito, npm, setup, explore, ecosystem"},{section:"Core concepts",title:"Overview",route:"core-concepts/overview",keywords:"core, concepts, overview"},{section:"Core concepts",title:"Mask expression",route:"core-concepts/mask-expression",keywords:"core, concepts, mask, expression, reg, exp, fixed"},{section:"Core concepts",title:"Element state",route:"core-concepts/element-state",keywords:"core, concepts, element, state"},{section:"Core concepts",title:"Processors",route:"core-concepts/processors",keywords:"core, concepts, preprocessor, postprocessor, processor, element, state, elementState"},{section:"Core concepts",title:"Plugins",route:"core-concepts/plugins",keywords:"core, concepts, extension, event, focus, blur"},{section:"Core concepts",title:"Overwrite mode",route:"core-concepts/overwrite-mode",keywords:"core, concepts, overwrite, mode, shift, replace"},{section:"Core concepts",title:"Transformer",route:"core-concepts/transformer",keywords:"core, concepts, programmatic, patch, set, update, value"},{section:"Frameworks",title:"Angular",route:"frameworks/angular",keywords:"ng, angular, framework, addon"},{section:"Frameworks",title:"React",route:"frameworks/react",keywords:"react, framework, addon"},{section:"Frameworks",title:"Vue",route:"frameworks/vue",keywords:"vue, framework, addon"},{section:"Kit",title:"Number",route:"kit/number",keywords:"digit, number, money, mask, kit, generator"},{section:"Kit",title:"Time",route:"kit/time",keywords:"time, hour, minute, second, mask, kit, generator"},{section:"Kit",title:"Date",route:"kit/date",keywords:"date, day, month, year, mask, kit, generator"},{section:"Kit",title:"DateRange",route:"kit/date-range",keywords:"date, day, month, year, mask, range, kit, generator"},{section:"Kit",title:"DateTime",route:"kit/date-time",keywords:"date, day, month, year, mask, time, date-time, hour, minute, second, kit, generator"},{section:"Addons",title:"@maskito/phone",route:"addons/phone",keywords:"phone, libphonenumber, international, generator"},{section:"Recipes",title:"Card",route:"recipes/card",keywords:"card, credit, cvv, debit, mask, recipe"},{section:"Recipes",title:"Phone",route:"recipes/phone",keywords:"phone, mobile, tel, telephone, mask, recipe"},{section:"Recipes",title:"Textarea",route:"recipes/textarea",keywords:"textarea, latin, mask, recipe"},{section:"Recipes",title:"With prefix",route:"recipes/prefix",keywords:"prefix, before, recipe"},{section:"Recipes",title:"With postfix",route:"recipes/postfix",keywords:"postfix, after, percent, am, pm, recipe"},{section:"Recipes",title:"With placeholder",route:"recipes/placeholder",keywords:"guide, placeholder, fill, recipe"},{section:"Other",title:"Browser support",route:"browser-support",keywords:"chrome, safari, ie, edge, firefox, browser, support"},{section:"Other",title:"Changelog",route:"changelog",keywords:"changelog, release, version, history"}]},{provide:X.yO,useValue:function(t){var e="https://github.com/taiga-family/maskito/tree/main/projects";return t.path?"".concat(e,"/").concat(t.path):t.package&&"kit"===t.package.toLowerCase()?"".concat(e,"/").concat(t.package.toLowerCase(),"/src/lib/masks/").concat((t.header[0].toLowerCase()+t.header.slice(1)).replace(/[A-Z]/g,function(t){return"-".concat(t.toLowerCase())})):null}},{provide:X.lW,useClass:z.StackblitzService},{provide:X.$_,useValue:function(t){var n,r=Object.keys(t);return 1===r.length&&r[0]===J.C.MaskitoOptions?Object.assign(Object.assign({},t),(e(n={},J.C.JavaScript,"import {Maskito, MaskitoOptions} from '@maskito/core';\nimport maskitoOptions from './mask';\n\nconst element = document.querySelector('input,textarea')!;\nconst maskedInput = new Maskito(element, maskitoOptions);\n\n// Call this function when the element is detached from DOM\nmaskedInput.destroy();"),e(n,J.C.Angular,"import {Component} from '@angular/core';\nimport {MaskitoModule} from '@maskito/angular';\nimport type {MaskitoOptions} from '@maskito/core';\n\nimport mask from './mask';\n\n@Component({\n selector: 'my-app',\n standalone: true,\n imports: [MaskitoModule],\n template: '',\n})\nexport class App {\n readonly options: MaskitoOptions = mask;\n}"),e(n,J.C.React,"import * as React from 'react';\nimport {useMaskito} from '@maskito/react';\n\nimport options from './mask';\n\nexport default function App() {\n const maskedInputRef = useMaskito({options});\n\n return ;\n}"),e(n,J.C.Vue,"import {createApp} from 'vue';\nimport {maskito} from '@maskito/vue';\n\nimport options from './mask';\n\nconst app = createApp({\n template: '',\n directives: {maskito},\n data: () => ({ options }),\n});"),n)):t}},(0,I.hs)({codeEditorVisibilityHandler:function(t){var e=Object.keys(t);return e.includes(J.C.MaskitoOptions)&&e.includes(J.C.JavaScript)},tabTitles:new Map([[J.C.JavaScript,et],[J.C.Angular,K],[J.C.React,nt],[J.C.Vue,rt]])}),{provide:$.rN,useFactory:function(){var e=(0,d.NF)((0,l.f3M)(l.Lbi));return{coreLibraryLoader:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i.e(9358).then(i.bind(i,29358)));case 1:case"end":return t.stop()}},e)}))},lineNumbersLoader:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function n(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",e?i.e(9022).then(i.t.bind(i,89022,23)):Promise.resolve());case 1:case"end":return t.stop()}},n)}))},languages:{typescript:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i.e(3377).then(i.bind(i,63377)));case 1:case"end":return t.stop()}},e)}))},less:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i.e(4249).then(i.bind(i,94249)));case 1:case"end":return t.stop()}},e)}))},xml:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i.e(3088).then(i.bind(i,83088)));case 1:case"end":return t.stop()}},e)}))}}}}}],at=[{path:"getting-started/what-is-maskito",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Promise.all([i.e(8592),i.e(3820)]).then(i.bind(i,43820)).then(function(t){return t.WhatIsMaskitoDocPageModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"What is Maskito?"}},{path:"getting-started/maskito-libraries",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i.e(439).then(i.bind(i,70439)).then(function(t){return t.MaskitoLibrariesDocPageModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Maskito libraries"}},{path:"core-concepts/overview",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Promise.all([i.e(8592),i.e(8642)]).then(i.bind(i,8642)).then(function(t){return t.CoreConceptsOverviewDocPageModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Core concepts"}},{path:"core-concepts/mask-expression",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Promise.all([i.e(8592),i.e(55)]).then(i.bind(i,30055)).then(function(t){return t.MaskExpressionDocPageModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Mask expression"}},{path:"core-concepts/element-state",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i.e(4533).then(i.bind(i,54533)).then(function(t){return t.ElementStateDocPageModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Element state"}},{path:"core-concepts/processors",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Promise.all([i.e(8592),i.e(9380)]).then(i.bind(i,19380)).then(function(t){return t.ProcessorsDocPageModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Processors"}},{path:"core-concepts/plugins",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Promise.all([i.e(8592),i.e(5115)]).then(i.bind(i,35115)).then(function(t){return t.PluginsDocPageModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Plugins"}},{path:"core-concepts/overwrite-mode",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Promise.all([i.e(3506),i.e(8592),i.e(7057)]).then(i.bind(i,7057)).then(function(t){return t.OverwriteModeDocPageModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Overwrite mode"}},{path:"core-concepts/transformer",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Promise.all([i.e(8592),i.e(2022)]).then(i.bind(i,72022)).then(function(t){return t.TransformerDocPageModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Transformer"}},{path:"frameworks/angular",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i.e(1434).then(i.bind(i,31434)).then(function(t){return t.AngularDocPageModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Angular"}},{path:"frameworks/react",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Promise.all([i.e(2473),i.e(9176)]).then(i.bind(i,9176)).then(function(t){return t.ReactDocPageModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"React"}},{path:"frameworks/vue",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i.e(7027).then(i.bind(i,27027)).then(function(t){return t.VueDocPageModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Vue"}},{path:"kit/number",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i.e(5380).then(i.bind(i,45380)).then(function(t){return t.NumberMaskDocModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Number"}},{path:"kit/time",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i.e(2139).then(i.bind(i,42139)).then(function(t){return t.TimeMaskDocModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Time"}},{path:"kit/date",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i.e(5828).then(i.bind(i,95828)).then(function(t){return t.DateMaskDocModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Date"}},{path:"kit/date-range",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i.e(6180).then(i.bind(i,76180)).then(function(t){return t.DateRangeMaskDocModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"DateRange"}},{path:"kit/date-time",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i.e(5439).then(i.bind(i,15439)).then(function(t){return t.DateTimeMaskDocModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"DateTime"}},{path:"recipes/card",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i.e(6275).then(i.bind(i,16275)).then(function(t){return t.CardDocModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Card"}},{path:"recipes/phone",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Promise.all([i.e(8592),i.e(3355)]).then(i.bind(i,63355)).then(function(t){return t.PhoneDocModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Phone"}},{path:"addons/phone",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Promise.all([i.e(8592),i.e(1510)]).then(i.bind(i,21510)).then(function(t){return t.PhoneDocModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Phone"}},{path:"recipes/textarea",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Promise.all([i.e(3506),i.e(9544)]).then(i.bind(i,39544)).then(function(t){return t.TextareaDocModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Textarea"}},{path:"recipes/prefix",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i.e(4272).then(i.bind(i,24272)).then(function(t){return t.PrefixDocModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"With prefix"}},{path:"recipes/postfix",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i.e(7989).then(i.bind(i,77989)).then(function(t){return t.PostfixDocModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"With postfix"}},{path:"recipes/placeholder",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Promise.all([i.e(8592),i.e(1103)]).then(i.bind(i,81103)).then(function(t){return t.PlaceholderDocModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"With placeholder"}},{path:"browser-support",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i.e(6549).then(i.bind(i,76549)).then(function(t){return t.BrowserSupportModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Browser support"}},{path:"changelog",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i.e(1326).then(i.bind(i,31326)).then(function(t){return t.ChangelogModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Changelog"}},{path:"stackblitz",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Promise.resolve().then(i.bind(i,32960)).then(function(t){return t.StackblitzStarterModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Stackblitz Starter"}},{path:"cypress",loadChildren:function(){return(0,G.mG)(void 0,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Promise.all([i.e(2473),i.e(3276)]).then(i.bind(i,3276)).then(function(t){return t.CypressDocPageModule}));case 1:case"end":return t.stop()}},e)}))},data:{title:"Cypress tests \ud83e\udd2b"}},{path:"**",redirectTo:"getting-started/what-is-maskito"}],st=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=l.oAB({type:t}),t.\u0275inj=l.cJS({imports:[[U.Bz.forRoot(at,{initialNavigation:"enabledBlocking",relativeLinkResolution:"corrected",scrollPositionRestoration:"enabled"})],U.Bz]}),t}(),ut=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=l.oAB({type:t}),t.\u0275inj=l.cJS({imports:[[D.j,U.Bz]]}),t}(),ct=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=l.oAB({type:t,bootstrap:[H]}),t.\u0275inj=l.cJS({providers:ot,imports:[[s.b2.withServerTransition({appId:"demo"}),st,T,c.JF,ut,N.JP.forRoot({loader:c.eN,sanitize:l.q3G.NONE}),I.qn,D.j,L.z,z.StackblitzEditButtonModule,tt]]}),t}();document.addEventListener("DOMContentLoaded",function(){s.q6().bootstrapModule(ct).then(function(t){var e=window;e.ngRef&&e.ngRef.destroy(),e.ngRef=t}).catch(console.error)})},32960:function(e,n,r){"use strict";r.r(n),r.d(n,{StackblitzEditButtonComponent:function(){return s},StackblitzEditButtonModule:function(){return u},StackblitzService:function(){return P},StackblitzStarterComponent:function(){return A},StackblitzStarterModule:function(){return I}});var i,o=r(74788),a=r(12628),s=((i=g(function t(){y(this,t)})).\u0275fac=function(t){return new(t||i)},i.\u0275cmp=o.Xpm({type:i,selectors:[["stackblitz-edit-button"]],decls:2,vars:0,consts:[["appearance","flat","icon","assets/icons/stackblitz.svg","size","s","title","Edit on StackBlitz","tuiButton","","type","button"]],template:function(t,e){1&t&&(o.TgZ(0,"button",0),o._uU(1," Edit "),o.qZA())},directives:[a.v0],styles:["@media screen and (max-width: 47.9625em){button[_ngcontent-%COMP%]{font-size:0;margin-right:-1rem}}"],changeDetection:0}),i),u=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[a.fN]]}),t}(),c=r(97582),l=r(12057),h=r(44427),f=r(14707),d=["angular-cli","create-react-app","html","javascript","node","polymer","typescript","vue"],v=["project","search","ports","settings"],m=["light","dark"],_=["editor","preview"],b={clickToLoad:function(t){return k("ctl",t)},devToolsHeight:function(t){return w("devtoolsheight",t)},forceEmbedLayout:function(t){return k("embed",t)},hideDevTools:function(t){return k("hidedevtools",t)},hideExplorer:function(t){return k("hideExplorer",t)},hideNavigation:function(t){return k("hideNavigation",t)},openFile:function(t){return x("file",t)},showSidebar:function(t){return"boolean"==typeof(e=t)?"showSidebar="+(e?"1":"0"):"";var e},sidebarView:function(t){return C("sidebarView",t,v)},startScript:function(t){return x("startScript",t)},terminalHeight:function(t){return w("terminalHeight",t)},theme:function(t){return C("theme",t,m)},view:function(t){return C("view",t,_)},zenMode:function(t){return k("zenMode",t)}};function k(t,e){return!0===e?"".concat(t,"=1"):""}function w(t,e){if("number"==typeof e&&!Number.isNaN(e)){var n=Math.min(100,Math.max(0,e));return"".concat(t,"=").concat(encodeURIComponent(Math.round(n)))}return""}function C(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return n.includes(e)?"".concat(t,"=").concat(encodeURIComponent(e)):""}function x(t,e){return(Array.isArray(e)?e:[e]).filter(function(t){return"string"==typeof t&&""!==t.trim()}).map(function(e){return"".concat(t,"=").concat(encodeURIComponent(e))}).join("&")}function O(t,e){return"".concat(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return("string"==typeof t.origin?t.origin:"https://stackblitz.com").replace(/\/$/,"")}(e)).concat(t).concat(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=Object.entries(t).map(function(t){var e=p(t,2),n=e[0],r=e[1];return null!=r&&b.hasOwnProperty(n)?b[n](r):""}).filter(Boolean);return e.length?"?".concat(e.join("&")):""}(e))}var M=function(t,e){!function(t,e){var n=function(t){var e=t.template,n=t.title,r=t.description,i=t.dependencies,o=t.files,a=t.settings;if(!d.includes(e)){var s=d.map(function(t){return"'".concat(t,"'")}).join(", ");console.warn("Unsupported project.template: must be one of ".concat(s))}var u=[],c=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";u.push(function(t,e){var n=document.createElement("input");return n.type="hidden",n.name=t,n.value=e,n}(t,"string"==typeof e?e:n))};c("project[title]",n),"string"==typeof r&&r.length>0&&c("project[description]",r),c("project[template]",e,"javascript"),i&&("node"===e?console.warn("Invalid project.dependencies: dependencies must be provided as a 'package.json' file when using the 'node' template."):c("project[dependencies]",JSON.stringify(i))),a&&c("project[settings]",JSON.stringify(a)),Object.entries(o).forEach(function(t){var e=p(t,2),n=e[0],r=e[1];c("project[files][".concat(function(t){return t.replace(/\[/g,"%5B").replace(/\]/g,"%5D")}(n),"]"),r)});var l=document.createElement("form");return l.method="POST",l.setAttribute("style","display:none!important;"),l.append.apply(l,u),l}(t);n.action=O("/run",e),n.target=function(t){return t&&!1===t.newWindow?"_self":"_blank"}(e),document.body.appendChild(n),n.submit(),document.body.removeChild(n)}(t,e)},S=r(89570),P=function(){var e=function(){function e(){y(this,e),this.baseProjectConfigs={template:"typescript",dependencies:{"@maskito/core":"*","@maskito/kit":"*"}},this.name="Stackblitz",this.content=new S.Al(s)}return g(e,[{key:"edit",value:function(e,n,i){return(0,c.mG)(this,void 0,void 0,t().mark(function o(){var a,s,u,c;return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([r.e(1223).then(r.t.bind(r,51223,17)),r.e(4930).then(r.t.bind(r,64930,17))].map(h.JQ));case 2:return a=t.sent,s=p(a,2),u=s[0],c=s[1],t.abrupt("return",M(Object.assign(Object.assign({},this.baseProjectConfigs),{title:"maskito/".concat(e,"/").concat(n),description:"Maskito example of the component ".concat(e),files:{"index.html":e.includes("textarea")?"":"","styles.css":c,"index.ts":(0,h.vi)(u)[0],"mask.ts":i[f.C.MaskitoOptions]}}),{openFile:"index.ts,mask.ts"}));case 7:case"end":return t.stop()}},o,this)}))}},{key:"openStarter",value:function(t,e){var n=t.title,r=t.description,i=t.files;return M(Object.assign(Object.assign({},this.baseProjectConfigs),{title:n,description:r,files:i}),e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac}),e}(),E=r(40719),A=function(){var e=function(){function e(t,n){y(this,e),this.platformId=t,this.stackblitz=n}return g(e,[{key:"ngOnInit",value:function(){return(0,c.mG)(this,void 0,void 0,t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(t.t0=(0,l.NF)(this.platformId),!t.t0){t.next=4;break}return t.next=4,this.openStackblitz();case 4:case"end":return t.stop()}},e,this)}))}},{key:"openStackblitz",value:function(){return(0,c.mG)(this,void 0,void 0,t().mark(function e(){var n,i,o,a;return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([r.e(5097).then(r.t.bind(r,75097,17)),r.e(4930).then(r.t.bind(r,64930,17))].map(h.JQ));case 2:return n=t.sent,i=p(n,2),o=i[0],a=i[1],t.abrupt("return",this.stackblitz.openStarter({title:"Maskito Starter",description:"A starter with Maskito library\nDocumentation: https://maskito.dev",files:{"index.html":"","index.ts":o,"styles.css":a}},{newWindow:!1,openFile:"index.ts",hideExplorer:!0}));case 7:case"end":return t.stop()}},e,this)}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.Lbi),o.Y36(P))},e.\u0275cmp=o.Xpm({type:e,selectors:[["stackblitz-starter"]],features:[o._Bn([P])],decls:1,vars:1,consts:[["size","xxl","textContent","Stackblitz loading...",1,"loader",3,"overlay"]],template:function(t,e){1&t&&o._UZ(0,"tui-loader",0),2&t&&o.Q6J("overlay",!0)},directives:[E.kM],styles:[".loader[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;background:var(--tui-base-01);z-index:1}"],changeDetection:0}),e}(),T=r(86561),I=function(){var t=g(function t(){y(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[E.dS,T.Bz.forChild([{path:"",component:A}])]]}),t}()},7400:function(t,e,n){"use strict";n(7277)},55046:function(t,n,r){"use strict";r.d(n,{Q7:function(){return U},nQ:function(){return H},tr:function(){return $},n9:function(){return K},H$:function(){return ut},f8:function(){return Ot},vZ:function(){return ht},A7:function(){return V},jX:function(){return Y},Bb:function(){return G},hM:function(){return J},rC:function(){return St},Oe:function(){return X}});var i=r(76991),o=[".",",","\u0431","\u044e"],a=new Date("0001-01-01"),s=new Date("9999-12-31"),u={hours:23,minutes:59,seconds:59,milliseconds:999},c="\u2013",l="\u2014",h="-",f=[h,c,l,"\u2212"],v=[","," "],g=[":","."],m={hours:2,minutes:2,seconds:2,milliseconds:3};function y(t,e,n){var r=Math.min(Number(n),Math.max(Number(e),Number(t)));return t instanceof Date?new Date(r):r}function b(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.day,r=e.month,i=e.year,o=new Date(t);return n&&o.setDate(o.getDate()+n),r&&o.setMonth(o.getMonth()+r),i&&o.setFullYear(o.getFullYear()+i),o}function k(t){return{day:String(t.getDate()).padStart(2,"0"),month:String(t.getMonth()+1).padStart(2,"0"),year:String(t.getFullYear()).padStart(4,"0"),hours:String(t.getHours()).padStart(2,"0"),minutes:String(t.getMinutes()).padStart(2,"0"),seconds:String(t.getSeconds()).padStart(2,"0"),milliseconds:String(t.getMilliseconds()).padStart(3,"0")}}function w(t,e){return!(t.lengthe.toLowerCase().indexOf(i[0])?1:-1}))}function M(t,e){var n,r,i,o,a,s,u,c=2===(null===(n=t.year)||void 0===n?void 0:n.length)?"20".concat(t.year):t.year,l=new Date(Number(null!=c?c:"0"),Number(null!==(r=t.month)&&void 0!==r?r:"1")-1,Number(null!==(i=t.day)&&void 0!==i?i:"1"),Number(null!==(o=null==e?void 0:e.hours)&&void 0!==o?o:"0"),Number(null!==(a=null==e?void 0:e.minutes)&&void 0!==a?a:"0"),Number(null!==(s=null==e?void 0:e.seconds)&&void 0!==s?s:"0"),Number(null!==(u=null==e?void 0:e.milliseconds)&&void 0!==u?u:"0"));return l.setFullYear(Number(null!=c?c:"0")),l}var S=", ";function P(t,e,n){var r,i=t.day,o=t.month,a=t.year,s=t.hours,u=t.minutes,c=t.seconds,l=t.milliseconds,h=2===(null===(r=e.match(/y/g))||void 0===r?void 0:r.length)?null==a?void 0:a.slice(-2):a;return(e+(n?S+n:"")).replace(/d+/g,null!=i?i:"").replace(/m+/g,null!=o?o:"").replace(/y+/g,null!=h?h:"").replace(/H+/g,null!=s?s:"").replace(/MSS/g,null!=l?l:"").replace(/M+/g,null!=u?u:"").replace(/S+/g,null!=c?c:"").replace(/^\D+/g,"").replace(/\D+$/g,"")}function E(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Number(t.padEnd(e.length,"0"))<=Number(e)?{validatedSegmentValue:t,prefixedZeroesCount:n}:t.endsWith("0")?E("0".concat(t.slice(0,e.length-1)),e,n+1):E("".concat(t.slice(0,e.length-1),"0"),e,n)}var A=function(t){var e,n,r;return{day:(null===(e=t.match(/d/g))||void 0===e?void 0:e.length)||0,month:(null===(n=t.match(/m/g))||void 0===n?void 0:n.length)||0,year:(null===(r=t.match(/y/g))||void 0===r?void 0:r.length)||0}},T={day:31,month:12,year:9999};function I(t){for(var e=t.dateString,n=t.dateModeTemplate,r=t.offset,i=p(t.selection,2),o=i[0],a=i[1],s=O(e,n),u={},c=0,l=0,h=Object.entries(s);l=o&&y===a;if(_&&Number(v)>Number(m))return{validatedDateString:"",updatedSelection:[o,a]};if(_&&Number(v)<1)return{validatedDateString:"",updatedSelection:[o,a]};var b=E(v,"".concat(m)),k=b.validatedSegmentValue;c+=b.prefixedZeroesCount,u[d]=k}var w=P(u,n),C=w.length-e.length;return{validatedDateString:w,updatedSelection:[o+c+C,a+c+C]}}var D=/[\\^$.*+?()[\]{}|]/g,L=new RegExp(D.source);function N(t){return t&&L.test(t)?t.replace(D,"\\$&"):t}function z(t){return t}function F(t){return!t||"object"==typeof t&&0===Object.keys(t).length}function R(t,e){var n=A(e);return x(Object.entries(t).map(function(t){var e=p(t,2),r=e[0],i=e[1],o=n[r];return[r,i.length===o&&i.match(/^0+$/)?"1".padStart(o,"0"):i]}))}function j(t){var e=t.dateModeTemplate,n=t.min,r=void 0===n?a:n,i=t.max,o=void 0===i?s:i,u=t.rangeSeparator,c=void 0===u?"":u,l=t.dateSegmentSeparator,h=void 0===l?".":l;return function(t){var n,i=t.value,a=t.selection,s=c&&i.endsWith(c),u="",l=_(C(i,e,c));try{for(l.s();!(n=l.n()).done;){var f=n.value;u+=u?c:"";var d=O(f,e);w(f,e)?u+=P(k(y(M(d),r,o)),e):u+=P(R(d,e),e)+(f.endsWith(h)?h:"")}}catch(p){l.e(p)}finally{l.f()}return{selection:a,value:u+(s?c:"")}}}function B(t){var e=t.dateModeTemplate,n=t.dateSegmentsSeparator,r=t.rangeSeparator,i=void 0===r?"":r;return function(t){var r=t.elementState,o=t.data,a=i?new RegExp("".concat(i,"|-")):S,s=o.split(a),u=o.includes(S)?[s[0]]:s;if(u.every(function(t){return t.trim().split(/\D/).length===e.split(n).length})){var c=u.map(function(t){return function(t,e,n){var r=t.split(/\D/),i=e.split(n);return r.map(function(t,e){return e===i.length-1?t:t.padStart(i[e].length,"0")}).join(n)}(t,e,n)}).join(i);return{elementState:r,data:"".concat(c).concat(o.includes(S)&&S+s[1]||"")}}return{elementState:r,data:o}}}function V(t){var e=new RegExp("".concat(N(t),"$"));return t?function(n,r){var i=n.value,o=n.selection;if(!i&&!r.value.endsWith(t))return{value:i,selection:o};if(!i.endsWith(t)&&!r.value.endsWith(t))return{selection:o,value:i+t};var a=r.value.replace(e,""),s=r.selection[1]>=a.length,u=function(t,e){for(var n="",r=0;ro||c1&&void 0!==arguments[1]&&arguments[1],n=function(e){for(var n=e.length-1;n>=0;n--)if(e[n]!==t[n])return e.slice(0,n+1);return""},r=[H(function(t){return[0,n(t).length]})],i=!1;if(e){var o=q("focus",function(e){i=!0,e.value+=t.slice(e.value.length),e.dispatchEvent(new Event("input"))},{capture:!0}),a=q("blur",function(t){i=!1,t.value=n(t.value),t.dispatchEvent(new Event("input"))},{capture:!0});r.push(o,a)}return{plugins:r,removePlaceholder:n,preprocessors:[function(t){var e=t.elementState,r=t.data,i=e.value;return{elementState:{selection:e.selection,value:n(i)},data:r}}],postprocessors:[function(n,r){var o=n.value,a=n.selection;return!r.value||!i&&e?{value:o,selection:a}:{value:o+t.slice(o.length),selection:a}}]}}function $(t){var e=t.mode,n=t.separator,r=void 0===n?".":n,o=t.max,a=t.min,s=e.split("/").join(r);return Object.assign(Object.assign({},i.A_),{mask:Array.from(s).map(function(t){return t===r?t:/\d/}),overwriteMode:"replace",preprocessors:[function(t,e){var n=t.elementState,r=n.value,i=n.selection;if(!r||function(t,e){var n=p(e,2);n[0];return n[1]===t.length}(r,i))return{elementState:n};var o=p(i,2),a=o[0],s=o[1],u=r.slice(a,s).replace(/\d/g,"0"),c=r.slice(0,a)+u+r.slice(s);return"validation"===e||"insert"===e&&a===s?{elementState:{selection:i,value:c}}:{elementState:{selection:"deleteBackward"===e||"insert"===e?[a,a]:[s,s],value:c}}},B({dateModeTemplate:s,dateSegmentsSeparator:r}),Z({dateModeTemplate:s,dateSegmentsSeparator:r})],postprocessors:[j({min:a,max:o,dateModeTemplate:s,dateSegmentSeparator:r})]})}function Q(t){var e=t.dateModeTemplate,n=t.rangeSeparator,r=t.minLength,i=t.maxLength,o=t.max,a=void 0===o?s:o;return F(r)&&F(i)?z:function(t){var o=t.value,s=t.selection,u=C(o,e,n);if(2!==u.length||u.some(function(t){return!w(t,e)}))return{value:o,selection:s};var c=p(u.map(function(t){return M(O(t,e))}),2),l=c[0],h=c[1],f=b(l,Object.assign(Object.assign({},r),{day:(null==r?void 0:r.day)&&r.day-1})),d=F(i)?a:b(l,Object.assign(Object.assign({},i),{day:(null==i?void 0:i.day)&&i.day-1})),v=y(h,f,a);return{selection:s,value:u[0]+n+P(k(v>d?d:v),e)}}}function W(t){var e=t.dateModeTemplate,n=t.rangeSeparator;return function(t){var r=t.value,i=t.selection,o=C(r,e,n),a=2===o.length&&o.every(function(t){return w(t,e)}),s=p(i,2),u=s[0],c=s[1];if(!(u>=r.length||0===u&&c>=r.length)||!a)return{value:r,selection:i};var l=p(o.map(function(t){return M(O(t,e))}),2);return{selection:i,value:l[0]>l[1]?o.reverse().join(n):r}}}function K(t){var e=t.mode,n=t.separator,r=void 0===n?".":n,o=t.min,a=t.max,s=t.minLength,u=t.maxLength,l=t.dateSeparator,h=void 0===l?r:l,f=t.rangeSeparator,v=void 0===f?"\xa0".concat(c,"\xa0"):f,g=e.split("/").join(h),m=Array.from(g).map(function(t){return t===h?t:/\d/});return Object.assign(Object.assign({},i.A_),{mask:[].concat(d(m),d(Array.from(v)),d(m)),overwriteMode:"replace",preprocessors:[function(t,e){var n=t.elementState,r=n.value,i=n.selection;if(!r||function(t,e){var n=p(e,2);n[0];return n[1]===t.length}(r,i))return{elementState:n};var o=p(i,2),a=o[0],s=o[1],u=r.slice(a,s).replace(/\d/g,"0"),c=r.slice(0,a)+u+r.slice(s);return"validation"===e||"insert"===e&&a===s?{elementState:{selection:i,value:c}}:{elementState:{selection:"deleteBackward"===e||"insert"===e?[a,a]:[s,s],value:c}}},B({dateModeTemplate:g,rangeSeparator:v,dateSegmentsSeparator:h}),Z({dateModeTemplate:g,rangeSeparator:v,dateSegmentsSeparator:h})],postprocessors:[j({min:o,max:a,dateModeTemplate:g,rangeSeparator:v,dateSegmentSeparator:h}),Q({dateModeTemplate:g,minLength:s,maxLength:u,max:a,rangeSeparator:v}),W({dateModeTemplate:g,rangeSeparator:v})]})}function tt(t){return x(Object.entries(t).map(function(t){var e=p(t,2),n=e[0],r=e[1];return[n,"".concat(r).padEnd(m[n],"0")]}))}function et(t){var e=t.replace(/\D+/g,""),n={hours:e.slice(0,2),minutes:e.slice(2,4),seconds:e.slice(4,6),milliseconds:e.slice(6,9)};return x(Object.entries(n).filter(function(t){var e=p(t,2),n=(e[0],e[1]);return Boolean(n)}))}function nt(t){var e=t.hours,n=void 0===e?"":e,r=t.minutes,i=void 0===r?"":r,o=t.seconds,a=void 0===o?"":o,s=t.milliseconds,u=void 0===s?"":s;return"".concat(n).concat(i&&":".concat(i)).concat(a&&":".concat(a)).concat(u&&".".concat(u))}var rt=new RegExp("[".concat(g.map(N).join(""),"]$"));function it(t){for(var e=t.timeString,n=t.paddedMaxValues,r=t.offset,i=p(t.selection,2),o=i[0],a=i[1],s=et(e),u={},c=0,l=0,h=Object.entries(s);l=o&&_<=a&&Number(v)>Number(y))return{validatedTimeString:"",updatedTimeSelection:[o,a]};var b=E(v,"".concat(y)),k=b.validatedSegmentValue;c+=b.prefixedZeroesCount,u[d]=k}var w=p(e.match(rt)||[],1)[0],C=void 0===w?"":w,x=nt(u)+C,O=Math.max(x.length-e.length,0);return{validatedTimeString:x,updatedTimeSelection:[o+c+O,a+c+O]}}function ot(t,e){var n=t.includes(S);return[t.slice(0,e.length),t.slice(n?e.length+S.length:e.length)]}function at(t){var e=t.dateModeTemplate,n=t.timeMode,r=t.min,i=void 0===r?a:r,o=t.max,u=void 0===o?s:o;return function(t){var r=t.value,o=t.selection,a=p(ot(r,e),2),s=a[0],c=a[1],l=O(s,e),h=et(c);if(!function(t,e,n){return t.length>=e.length+n.length+S.length&&t.split(S)[0].split(/\D/).every(function(t){return!t.match(/^0+$/)})}(r,e,n)){var f=R(l,e),d=w(s,e)?k(y(M(f),i,u)):f,v=d.year,g=d.month,m=d.day,_=P(Object.assign({year:v,month:g,day:m},h),e,n);return{selection:o,value:_+r.slice(_.length)}}return{selection:o,value:P(k(y(M(l,h),i,u)),e,n)}}}function st(t){var e=t.dateModeTemplate,n=t.dateSegmentsSeparator,r=new RegExp("[^\\d".concat(g.map(N).join("")).concat(N(n),"]+"));return function(t){var i=t.elementState,o=t.data,a=i.value,s=i.selection;if(o===n)return{elementState:i,data:s[0]===a.length?o:""};if(v.includes(o))return{elementState:i,data:S};var c=o.replace(r,"");if(!c)return{elementState:i,data:""};var l=p(s,2),h=l[0],f=l[1]+o.length,d=a.slice(0,h)+c+a.slice(f),g=p(ot(d,e),2),m=g[0],y=g[1],_="",b=d.includes(S),k=I({dateString:m,dateModeTemplate:e,offset:0,selection:[h,f]}),w=k.validatedDateString,C=k.updatedSelection;if(m&&!w)return{elementState:i,data:""};f=C[1],_+=w;var x=it({timeString:y,paddedMaxValues:tt(u),offset:_.length+S.length,selection:[h,f]}),O=x.validatedTimeString,M=x.updatedTimeSelection;if(y&&!O)return{elementState:i,data:""};f=M[1];var P=(_+=b?S+O:O).slice(h,f);return{elementState:{selection:s,value:_.slice(0,h)+P.split(n).map(function(t){return"0".repeat(t.length)}).join(n)+_.slice(f)},data:P}}}function ut(t){var e=t.dateMode,n=t.timeMode,r=t.dateSeparator,o=void 0===r?".":r,a=t.min,s=t.max,u=e.split("/").join(o);return Object.assign(Object.assign({},i.A_),{mask:[].concat(d(Array.from(u).map(function(t){return t===o?t:/\d/})),d(S.split("")),d(Array.from(n).map(function(t){return g.includes(t)?t:/\d/}))),overwriteMode:"replace",preprocessors:[function(t,e){var n=t.elementState,r=n.value,i=n.selection;if(!r||function(t,e){var n=p(e,2);n[0];return n[1]===t.length}(r,i))return{elementState:n};var o=p(i,2),a=o[0],s=o[1],u=r.slice(a,s).replace(/\d/g,"0"),c=r.slice(0,a)+u+r.slice(s);return"validation"===e||"insert"===e&&a===s?{elementState:{selection:i,value:c}}:{elementState:{selection:"deleteBackward"===e||"insert"===e?[a,a]:[s,s],value:c}}},B({dateModeTemplate:u,dateSegmentsSeparator:o}),st({dateModeTemplate:u,dateSegmentsSeparator:o})],postprocessors:[at({min:a,max:s,dateModeTemplate:u,timeMode:n})]})}function ct(t){var e=t.decimalSeparator,n=t.isNegativeAllowed,r=t.precision,i=t.thousandSeparator,o=t.prefix,a=t.postfix,s=t.decimalPseudoSeparators,u=void 0===s?[]:s,c=t.pseudoMinuses,l=void 0===c?[]:c,h=lt(o),f=n?"[\u2212".concat(l.map(function(t){return"\\".concat(t)}).join(""),"]?"):"",d=i?"[\\d".concat(N(i).replace(/\s/g,"\\s"),"]*"):"[\\d]*",p=r>0?"([".concat(N(e)).concat(u.map(N).join(""),"]\\d{0,").concat(Number.isFinite(r)?r:"","})?"):"",v=lt(a);return new RegExp("^".concat(h).concat(f).concat(d).concat(p).concat(v,"$"))}function lt(t){return t?"".concat(t.split("").map(function(t){return"".concat(N(t),"?")}).join("")):""}function ht(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:".",n=!!t.match(new RegExp("^\\D*[\u2212\\".concat(h).concat(c).concat(l,"]"))),r=t.replace(new RegExp("[^\\d".concat(N(e),"]"),"g"),"").replace(e,".");return r?Number((n?h:"")+r):NaN}function ft(t){var e=t.decimalSeparator,n=t.precision,r=t.decimalZeroPadding,i=t.postfix;if(n<=0||!r)return z;var o=new RegExp("".concat(N(i),"$"));return function(t){var r=t.value,a=t.selection;if(Number.isNaN(ht(r,e)))return{value:r,selection:a};var s=p(r.replace(o,"").split(e),2),u=s[0],c=s[1];return{value:u+e+(void 0===c?"":c).padEnd(n,"0")+i,selection:a}}}function dt(t){var e=t.decimalSeparator,n=t.decimalPseudoSeparators,r=t.pseudoMinuses,o=!0,a=ct({decimalSeparator:e,decimalPseudoSeparators:n,pseudoMinuses:r,prefix:"",postfix:"",thousandSeparator:"",precision:1/0,isNegativeAllowed:!0});return function(t){var e=t.elementState,n=t.data;return o?(o=!1,{elementState:(0,i.CV)(e,{mask:a}),data:n}):{elementState:e,data:n}}}function pt(t){var e=t.min,n=t.max,r=t.decimalSeparator;return function(t){var i=t.value,o=t.selection,a=ht(i,r),s=a>0?Math.min(a,n):Math.max(a,e);if(!Number.isNaN(a)&&s!==a){var u="".concat(s).replace(".",r).replace(h,"\u2212");return{value:u,selection:[u.length,u.length]}}return{value:i,selection:o}}}function vt(t){var e=t.decimalSeparator,n=t.thousandSeparator,r=t.decimalZeroPadding;return function(t,i){var o=t.elementState,a=t.data,s=o.value,u=p(o.selection,2),c=u[0],l=u[1],h=s.slice(c,l),f=r?[e,n]:[n],d=r&&c>s.indexOf(e)&&Boolean(h.match(/^0+$/gi));return"deleteBackward"!==i&&"deleteForward"!==i||!f.includes(h)&&!d?{elementState:o,data:a}:{elementState:{value:s,selection:"deleteForward"===i?[l,l]:[c,c]},data:a}}}function gt(t){var e=t.decimalSeparator,n=t.precision,r=new RegExp("^\\D*".concat(N(e)));return function(t){var i=t.elementState,o=t.data,a=i.value,s=p(i.selection,1)[0];return n<=0||a.includes(e)||!o.match(r)?{elementState:i,data:o}:{elementState:i,data:a.slice(0,s).match(/\d+/)?o:"0".concat(o)}}}function mt(t,e){var n=new RegExp("[".concat(e.join(""),"]"),"gi");return function(e){var r=e.elementState,i=e.data,o=r.value;return{elementState:{selection:r.selection,value:o.replace(n,t)},data:i.replace(n,t)}}}function yt(t){return function(e){var n=e.elementState,r=e.data,i=n.value,o=p(n.selection,2),a=o[0],s=o[1];return{elementState:n,data:!i.includes(t)||i.slice(a,s+1).includes(t)?r:r.replace(new RegExp(N(t),"gi"),"")}}}function _t(t){var e=t.thousandSeparator,n=t.decimalSeparator,r=t.prefix,i=t.postfix;if(!e)return z;var o=new RegExp("^".concat(N(r),"\u2212?")),a=new RegExp("".concat(N(i),"$"));return function(t){var r=t.value,i=t.selection,s=p(r.split(n),2),u=s[0],c=s[1],l=void 0===c?"":c,h=p(i,2),f=h[0],d=h[1],v=p(i,2),g=v[0],m=v[1],y=u.replace(o,"").replace(a,""),_=p(u.match(o)||[],1)[0],b=void 0===_?"":_,k=p(u.match(a)||[],1)[0],w=void 0===k?"":k,C=Array.from(y).reduceRight(function(t,n,r){var i=!(!r&&n===e)&&t.length&&(t.length+1)%4==0;return i&&(n===e||function(){for(var t=arguments.length,e=new Array(t),n=0;n0)return z;var n=new RegExp("".concat(N(e),".*$"),"g");return function(t){var e=t.elementState,r=t.data,i=e.value,o=p(e.selection,2),a=o[0],s=o[1],u=i.replace(n,"");return{elementState:{selection:[Math.min(a,u.length),Math.min(s,u.length)],value:u},data:r.replace(n,"")}}}var kt=[0,0];function wt(t,e){var n=function(t,e){var n=function(t){var n=N(e);return t.replace(new RegExp("^(\\D+)?[0".concat(n,"]+(?=0)")),"$1").replace(new RegExp("^(\\D+)?[0".concat(n,"]+(?=[1-9])")),"$1")},r=function(t,e){var r=t.slice(0,e),i=t.slice(e).startsWith("0");return r.length-n(r).length+(i?1:0)};return function(e){var i=e.value,o=e.selection,a=p(o,2),s=a[0],u=a[1],c=i.includes(t),l=p(i.split(t),2),h=l[0],f=l[1],d=void 0===f?"":f,v=n(h);if(h===v)return{value:i,selection:o};var g=s-r(i,s),m=u-r(i,u);return{value:v+(c?t:"")+d,selection:[Math.max(g,0),Math.max(m,0)]}}}(t,e);return q("blur",function(t){var e=n({value:t.value,selection:kt},{value:"",selection:kt}).value;t.value!==e&&(t.value=e,t.dispatchEvent(new Event("input")))},{capture:!0})}function Ct(t){var e=t.min,n=t.max,r=t.decimalSeparator;return q("blur",function(t,o){var a=ht(t.value,r),s=y(a,e,n);!Number.isNaN(a)&&a!==s&&(t.value=(0,i.CV)(function(t){var e=String(t),n=p(e.split("e-"),2),r=n[0],i=n[1],o=e;if(i){var a=p(r.split("."),2)[1],s=Number(i)+((null==a?void 0:a.length)||0);o=t.toFixed(s)}return o}(s),o),t.dispatchEvent(new Event("input")))},{capture:!0})}function xt(t){return q("blur",function(e){var n=e.value.replace(new RegExp("^(\\D+)?".concat(N(t))),"$10".concat(t));n!==e.value&&(e.value=n,e.dispatchEvent(new Event("input")))},{capture:!0})}function Ot(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.max,n=void 0===e?Number.MAX_SAFE_INTEGER:e,r=t.min,a=void 0===r?Number.MIN_SAFE_INTEGER:r,s=t.precision,u=void 0===s?0:s,f=t.thousandSeparator,d=void 0===f?"\xa0":f,v=t.decimalSeparator,g=void 0===v?".":v,m=t.decimalPseudoSeparators,y=t.decimalZeroPadding,_=void 0!==y&&y,b=t.prefix,k=void 0===b?"":b,w=t.postfix,C=void 0===w?"":w,x=[h,c,l].filter(function(t){return t!==d&&t!==g}),O=function(t){var e=t.decimalSeparator,n=t.thousandSeparator,r=t.decimalPseudoSeparators;return(void 0===r?o:r).filter(function(t){return t!==n&&t!==e})}({decimalSeparator:g,thousandSeparator:d,decimalPseudoSeparators:m});return Object.assign(Object.assign({},i.A_),{mask:ct({decimalSeparator:g,precision:u,thousandSeparator:d,prefix:k,postfix:C,isNegativeAllowed:a<0}),preprocessors:[dt({decimalSeparator:g,decimalPseudoSeparators:O,pseudoMinuses:x}),mt("\u2212",x),mt(g,O),gt({decimalSeparator:g,precision:u}),vt({decimalSeparator:g,decimalZeroPadding:_,thousandSeparator:d}),bt(u,g),yt(g)],postprocessors:[pt({decimalSeparator:g,min:a,max:n}),Y(k),V(C),_t({decimalSeparator:g,thousandSeparator:d,prefix:k,postfix:C}),ft({decimalSeparator:g,decimalZeroPadding:_,precision:u,postfix:C})],plugins:[wt(g,d),xt(g),Ct({min:a,max:n,decimalSeparator:g})],overwriteMode:_?function(t){var e=t.value;return p(t.selection,1)[0]<=e.indexOf(g)?"shift":"replace"}:"shift"})}function Mt(t){var e=tt(t),n=new RegExp("[^\\d".concat(g.map(N).join(""),"]+"));return function(t,r){var i=t.elementState,o=t.data;if("deleteBackward"===r||"deleteForward"===r)return{elementState:i,data:o};var a=i.value,s=i.selection;if("validation"===r){var u=it({timeString:a,paddedMaxValues:e,offset:0,selection:s});return{elementState:{value:u.validatedTimeString,selection:u.updatedTimeSelection},data:o}}var c=o.replace(n,""),l=p(s,2),h=l[0],f=l[1]+c.length,d=a.slice(0,h)+c+a.slice(f),v=it({timeString:d,paddedMaxValues:e,offset:0,selection:[h,f]}),g=v.validatedTimeString,m=v.updatedTimeSelection;if(d&&!g)return{elementState:i,data:""};f=m[1];var y=g.slice(h,f);return{elementState:{selection:s,value:g.slice(0,h)+"0".repeat(y.length)+g.slice(f)},data:y}}}function St(t){var e=t.mode,n=t.timeSegmentMaxValues,r=void 0===n?{}:n,o=Object.assign(Object.assign({},u),r);return Object.assign(Object.assign({},i.A_),{mask:Array.from(e).map(function(t){return g.includes(t)?t:/\d/}),preprocessors:[function(t,e){var n=t.elementState,r=n.value,i=n.selection;if(!r||function(t,e){var n=p(e,2);n[0];return n[1]===t.length}(r,i))return{elementState:n};var o=p(i,2),a=o[0],s=o[1],u=r.slice(a,s).replace(/\d/g,"0"),c=r.slice(0,a)+u+r.slice(s);return"validation"===e||"insert"===e&&a===s?{elementState:{selection:i,value:c}}:{elementState:{selection:"deleteBackward"===e||"insert"===e?[a,a]:[s,s],value:c}}},Mt(o)],overwriteMode:"replace"})}},69153:function(t){function e(t){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}e.keys=function(){return[]},e.resolve=e,e.id=69153,t.exports=e},97582:function(t,e,n){"use strict";function r(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i=0;s--)(i=t[s])&&(a=(o<3?i(a):o>3?i(e,n,a):i(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a}function o(t,e,n,r){return new(n||(n=Promise))(function(i,o){function a(t){try{u(r.next(t))}catch(e){o(e)}}function s(t){try{u(r.throw(t))}catch(e){o(e)}}function u(t){t.done?i(t.value):function(t){return t instanceof n?t:new n(function(e){e(t)})}(t.value).then(a,s)}u((r=r.apply(t,e||[])).next())})}n.d(e,{_T:function(){return r},gn:function(){return i},mG:function(){return o}}),"function"==typeof SuppressedError&&SuppressedError},95485:function(t){"use strict";t.exports=JSON.parse('{"Aacute":"\xc1","aacute":"\xe1","Abreve":"\u0102","abreve":"\u0103","ac":"\u223e","acd":"\u223f","acE":"\u223e\u0333","Acirc":"\xc2","acirc":"\xe2","acute":"\xb4","Acy":"\u0410","acy":"\u0430","AElig":"\xc6","aelig":"\xe6","af":"\u2061","Afr":"\ud835\udd04","afr":"\ud835\udd1e","Agrave":"\xc0","agrave":"\xe0","alefsym":"\u2135","aleph":"\u2135","Alpha":"\u0391","alpha":"\u03b1","Amacr":"\u0100","amacr":"\u0101","amalg":"\u2a3f","amp":"&","AMP":"&","andand":"\u2a55","And":"\u2a53","and":"\u2227","andd":"\u2a5c","andslope":"\u2a58","andv":"\u2a5a","ang":"\u2220","ange":"\u29a4","angle":"\u2220","angmsdaa":"\u29a8","angmsdab":"\u29a9","angmsdac":"\u29aa","angmsdad":"\u29ab","angmsdae":"\u29ac","angmsdaf":"\u29ad","angmsdag":"\u29ae","angmsdah":"\u29af","angmsd":"\u2221","angrt":"\u221f","angrtvb":"\u22be","angrtvbd":"\u299d","angsph":"\u2222","angst":"\xc5","angzarr":"\u237c","Aogon":"\u0104","aogon":"\u0105","Aopf":"\ud835\udd38","aopf":"\ud835\udd52","apacir":"\u2a6f","ap":"\u2248","apE":"\u2a70","ape":"\u224a","apid":"\u224b","apos":"\'","ApplyFunction":"\u2061","approx":"\u2248","approxeq":"\u224a","Aring":"\xc5","aring":"\xe5","Ascr":"\ud835\udc9c","ascr":"\ud835\udcb6","Assign":"\u2254","ast":"*","asymp":"\u2248","asympeq":"\u224d","Atilde":"\xc3","atilde":"\xe3","Auml":"\xc4","auml":"\xe4","awconint":"\u2233","awint":"\u2a11","backcong":"\u224c","backepsilon":"\u03f6","backprime":"\u2035","backsim":"\u223d","backsimeq":"\u22cd","Backslash":"\u2216","Barv":"\u2ae7","barvee":"\u22bd","barwed":"\u2305","Barwed":"\u2306","barwedge":"\u2305","bbrk":"\u23b5","bbrktbrk":"\u23b6","bcong":"\u224c","Bcy":"\u0411","bcy":"\u0431","bdquo":"\u201e","becaus":"\u2235","because":"\u2235","Because":"\u2235","bemptyv":"\u29b0","bepsi":"\u03f6","bernou":"\u212c","Bernoullis":"\u212c","Beta":"\u0392","beta":"\u03b2","beth":"\u2136","between":"\u226c","Bfr":"\ud835\udd05","bfr":"\ud835\udd1f","bigcap":"\u22c2","bigcirc":"\u25ef","bigcup":"\u22c3","bigodot":"\u2a00","bigoplus":"\u2a01","bigotimes":"\u2a02","bigsqcup":"\u2a06","bigstar":"\u2605","bigtriangledown":"\u25bd","bigtriangleup":"\u25b3","biguplus":"\u2a04","bigvee":"\u22c1","bigwedge":"\u22c0","bkarow":"\u290d","blacklozenge":"\u29eb","blacksquare":"\u25aa","blacktriangle":"\u25b4","blacktriangledown":"\u25be","blacktriangleleft":"\u25c2","blacktriangleright":"\u25b8","blank":"\u2423","blk12":"\u2592","blk14":"\u2591","blk34":"\u2593","block":"\u2588","bne":"=\u20e5","bnequiv":"\u2261\u20e5","bNot":"\u2aed","bnot":"\u2310","Bopf":"\ud835\udd39","bopf":"\ud835\udd53","bot":"\u22a5","bottom":"\u22a5","bowtie":"\u22c8","boxbox":"\u29c9","boxdl":"\u2510","boxdL":"\u2555","boxDl":"\u2556","boxDL":"\u2557","boxdr":"\u250c","boxdR":"\u2552","boxDr":"\u2553","boxDR":"\u2554","boxh":"\u2500","boxH":"\u2550","boxhd":"\u252c","boxHd":"\u2564","boxhD":"\u2565","boxHD":"\u2566","boxhu":"\u2534","boxHu":"\u2567","boxhU":"\u2568","boxHU":"\u2569","boxminus":"\u229f","boxplus":"\u229e","boxtimes":"\u22a0","boxul":"\u2518","boxuL":"\u255b","boxUl":"\u255c","boxUL":"\u255d","boxur":"\u2514","boxuR":"\u2558","boxUr":"\u2559","boxUR":"\u255a","boxv":"\u2502","boxV":"\u2551","boxvh":"\u253c","boxvH":"\u256a","boxVh":"\u256b","boxVH":"\u256c","boxvl":"\u2524","boxvL":"\u2561","boxVl":"\u2562","boxVL":"\u2563","boxvr":"\u251c","boxvR":"\u255e","boxVr":"\u255f","boxVR":"\u2560","bprime":"\u2035","breve":"\u02d8","Breve":"\u02d8","brvbar":"\xa6","bscr":"\ud835\udcb7","Bscr":"\u212c","bsemi":"\u204f","bsim":"\u223d","bsime":"\u22cd","bsolb":"\u29c5","bsol":"\\\\","bsolhsub":"\u27c8","bull":"\u2022","bullet":"\u2022","bump":"\u224e","bumpE":"\u2aae","bumpe":"\u224f","Bumpeq":"\u224e","bumpeq":"\u224f","Cacute":"\u0106","cacute":"\u0107","capand":"\u2a44","capbrcup":"\u2a49","capcap":"\u2a4b","cap":"\u2229","Cap":"\u22d2","capcup":"\u2a47","capdot":"\u2a40","CapitalDifferentialD":"\u2145","caps":"\u2229\ufe00","caret":"\u2041","caron":"\u02c7","Cayleys":"\u212d","ccaps":"\u2a4d","Ccaron":"\u010c","ccaron":"\u010d","Ccedil":"\xc7","ccedil":"\xe7","Ccirc":"\u0108","ccirc":"\u0109","Cconint":"\u2230","ccups":"\u2a4c","ccupssm":"\u2a50","Cdot":"\u010a","cdot":"\u010b","cedil":"\xb8","Cedilla":"\xb8","cemptyv":"\u29b2","cent":"\xa2","centerdot":"\xb7","CenterDot":"\xb7","cfr":"\ud835\udd20","Cfr":"\u212d","CHcy":"\u0427","chcy":"\u0447","check":"\u2713","checkmark":"\u2713","Chi":"\u03a7","chi":"\u03c7","circ":"\u02c6","circeq":"\u2257","circlearrowleft":"\u21ba","circlearrowright":"\u21bb","circledast":"\u229b","circledcirc":"\u229a","circleddash":"\u229d","CircleDot":"\u2299","circledR":"\xae","circledS":"\u24c8","CircleMinus":"\u2296","CirclePlus":"\u2295","CircleTimes":"\u2297","cir":"\u25cb","cirE":"\u29c3","cire":"\u2257","cirfnint":"\u2a10","cirmid":"\u2aef","cirscir":"\u29c2","ClockwiseContourIntegral":"\u2232","CloseCurlyDoubleQuote":"\u201d","CloseCurlyQuote":"\u2019","clubs":"\u2663","clubsuit":"\u2663","colon":":","Colon":"\u2237","Colone":"\u2a74","colone":"\u2254","coloneq":"\u2254","comma":",","commat":"@","comp":"\u2201","compfn":"\u2218","complement":"\u2201","complexes":"\u2102","cong":"\u2245","congdot":"\u2a6d","Congruent":"\u2261","conint":"\u222e","Conint":"\u222f","ContourIntegral":"\u222e","copf":"\ud835\udd54","Copf":"\u2102","coprod":"\u2210","Coproduct":"\u2210","copy":"\xa9","COPY":"\xa9","copysr":"\u2117","CounterClockwiseContourIntegral":"\u2233","crarr":"\u21b5","cross":"\u2717","Cross":"\u2a2f","Cscr":"\ud835\udc9e","cscr":"\ud835\udcb8","csub":"\u2acf","csube":"\u2ad1","csup":"\u2ad0","csupe":"\u2ad2","ctdot":"\u22ef","cudarrl":"\u2938","cudarrr":"\u2935","cuepr":"\u22de","cuesc":"\u22df","cularr":"\u21b6","cularrp":"\u293d","cupbrcap":"\u2a48","cupcap":"\u2a46","CupCap":"\u224d","cup":"\u222a","Cup":"\u22d3","cupcup":"\u2a4a","cupdot":"\u228d","cupor":"\u2a45","cups":"\u222a\ufe00","curarr":"\u21b7","curarrm":"\u293c","curlyeqprec":"\u22de","curlyeqsucc":"\u22df","curlyvee":"\u22ce","curlywedge":"\u22cf","curren":"\xa4","curvearrowleft":"\u21b6","curvearrowright":"\u21b7","cuvee":"\u22ce","cuwed":"\u22cf","cwconint":"\u2232","cwint":"\u2231","cylcty":"\u232d","dagger":"\u2020","Dagger":"\u2021","daleth":"\u2138","darr":"\u2193","Darr":"\u21a1","dArr":"\u21d3","dash":"\u2010","Dashv":"\u2ae4","dashv":"\u22a3","dbkarow":"\u290f","dblac":"\u02dd","Dcaron":"\u010e","dcaron":"\u010f","Dcy":"\u0414","dcy":"\u0434","ddagger":"\u2021","ddarr":"\u21ca","DD":"\u2145","dd":"\u2146","DDotrahd":"\u2911","ddotseq":"\u2a77","deg":"\xb0","Del":"\u2207","Delta":"\u0394","delta":"\u03b4","demptyv":"\u29b1","dfisht":"\u297f","Dfr":"\ud835\udd07","dfr":"\ud835\udd21","dHar":"\u2965","dharl":"\u21c3","dharr":"\u21c2","DiacriticalAcute":"\xb4","DiacriticalDot":"\u02d9","DiacriticalDoubleAcute":"\u02dd","DiacriticalGrave":"`","DiacriticalTilde":"\u02dc","diam":"\u22c4","diamond":"\u22c4","Diamond":"\u22c4","diamondsuit":"\u2666","diams":"\u2666","die":"\xa8","DifferentialD":"\u2146","digamma":"\u03dd","disin":"\u22f2","div":"\xf7","divide":"\xf7","divideontimes":"\u22c7","divonx":"\u22c7","DJcy":"\u0402","djcy":"\u0452","dlcorn":"\u231e","dlcrop":"\u230d","dollar":"$","Dopf":"\ud835\udd3b","dopf":"\ud835\udd55","Dot":"\xa8","dot":"\u02d9","DotDot":"\u20dc","doteq":"\u2250","doteqdot":"\u2251","DotEqual":"\u2250","dotminus":"\u2238","dotplus":"\u2214","dotsquare":"\u22a1","doublebarwedge":"\u2306","DoubleContourIntegral":"\u222f","DoubleDot":"\xa8","DoubleDownArrow":"\u21d3","DoubleLeftArrow":"\u21d0","DoubleLeftRightArrow":"\u21d4","DoubleLeftTee":"\u2ae4","DoubleLongLeftArrow":"\u27f8","DoubleLongLeftRightArrow":"\u27fa","DoubleLongRightArrow":"\u27f9","DoubleRightArrow":"\u21d2","DoubleRightTee":"\u22a8","DoubleUpArrow":"\u21d1","DoubleUpDownArrow":"\u21d5","DoubleVerticalBar":"\u2225","DownArrowBar":"\u2913","downarrow":"\u2193","DownArrow":"\u2193","Downarrow":"\u21d3","DownArrowUpArrow":"\u21f5","DownBreve":"\u0311","downdownarrows":"\u21ca","downharpoonleft":"\u21c3","downharpoonright":"\u21c2","DownLeftRightVector":"\u2950","DownLeftTeeVector":"\u295e","DownLeftVectorBar":"\u2956","DownLeftVector":"\u21bd","DownRightTeeVector":"\u295f","DownRightVectorBar":"\u2957","DownRightVector":"\u21c1","DownTeeArrow":"\u21a7","DownTee":"\u22a4","drbkarow":"\u2910","drcorn":"\u231f","drcrop":"\u230c","Dscr":"\ud835\udc9f","dscr":"\ud835\udcb9","DScy":"\u0405","dscy":"\u0455","dsol":"\u29f6","Dstrok":"\u0110","dstrok":"\u0111","dtdot":"\u22f1","dtri":"\u25bf","dtrif":"\u25be","duarr":"\u21f5","duhar":"\u296f","dwangle":"\u29a6","DZcy":"\u040f","dzcy":"\u045f","dzigrarr":"\u27ff","Eacute":"\xc9","eacute":"\xe9","easter":"\u2a6e","Ecaron":"\u011a","ecaron":"\u011b","Ecirc":"\xca","ecirc":"\xea","ecir":"\u2256","ecolon":"\u2255","Ecy":"\u042d","ecy":"\u044d","eDDot":"\u2a77","Edot":"\u0116","edot":"\u0117","eDot":"\u2251","ee":"\u2147","efDot":"\u2252","Efr":"\ud835\udd08","efr":"\ud835\udd22","eg":"\u2a9a","Egrave":"\xc8","egrave":"\xe8","egs":"\u2a96","egsdot":"\u2a98","el":"\u2a99","Element":"\u2208","elinters":"\u23e7","ell":"\u2113","els":"\u2a95","elsdot":"\u2a97","Emacr":"\u0112","emacr":"\u0113","empty":"\u2205","emptyset":"\u2205","EmptySmallSquare":"\u25fb","emptyv":"\u2205","EmptyVerySmallSquare":"\u25ab","emsp13":"\u2004","emsp14":"\u2005","emsp":"\u2003","ENG":"\u014a","eng":"\u014b","ensp":"\u2002","Eogon":"\u0118","eogon":"\u0119","Eopf":"\ud835\udd3c","eopf":"\ud835\udd56","epar":"\u22d5","eparsl":"\u29e3","eplus":"\u2a71","epsi":"\u03b5","Epsilon":"\u0395","epsilon":"\u03b5","epsiv":"\u03f5","eqcirc":"\u2256","eqcolon":"\u2255","eqsim":"\u2242","eqslantgtr":"\u2a96","eqslantless":"\u2a95","Equal":"\u2a75","equals":"=","EqualTilde":"\u2242","equest":"\u225f","Equilibrium":"\u21cc","equiv":"\u2261","equivDD":"\u2a78","eqvparsl":"\u29e5","erarr":"\u2971","erDot":"\u2253","escr":"\u212f","Escr":"\u2130","esdot":"\u2250","Esim":"\u2a73","esim":"\u2242","Eta":"\u0397","eta":"\u03b7","ETH":"\xd0","eth":"\xf0","Euml":"\xcb","euml":"\xeb","euro":"\u20ac","excl":"!","exist":"\u2203","Exists":"\u2203","expectation":"\u2130","exponentiale":"\u2147","ExponentialE":"\u2147","fallingdotseq":"\u2252","Fcy":"\u0424","fcy":"\u0444","female":"\u2640","ffilig":"\ufb03","fflig":"\ufb00","ffllig":"\ufb04","Ffr":"\ud835\udd09","ffr":"\ud835\udd23","filig":"\ufb01","FilledSmallSquare":"\u25fc","FilledVerySmallSquare":"\u25aa","fjlig":"fj","flat":"\u266d","fllig":"\ufb02","fltns":"\u25b1","fnof":"\u0192","Fopf":"\ud835\udd3d","fopf":"\ud835\udd57","forall":"\u2200","ForAll":"\u2200","fork":"\u22d4","forkv":"\u2ad9","Fouriertrf":"\u2131","fpartint":"\u2a0d","frac12":"\xbd","frac13":"\u2153","frac14":"\xbc","frac15":"\u2155","frac16":"\u2159","frac18":"\u215b","frac23":"\u2154","frac25":"\u2156","frac34":"\xbe","frac35":"\u2157","frac38":"\u215c","frac45":"\u2158","frac56":"\u215a","frac58":"\u215d","frac78":"\u215e","frasl":"\u2044","frown":"\u2322","fscr":"\ud835\udcbb","Fscr":"\u2131","gacute":"\u01f5","Gamma":"\u0393","gamma":"\u03b3","Gammad":"\u03dc","gammad":"\u03dd","gap":"\u2a86","Gbreve":"\u011e","gbreve":"\u011f","Gcedil":"\u0122","Gcirc":"\u011c","gcirc":"\u011d","Gcy":"\u0413","gcy":"\u0433","Gdot":"\u0120","gdot":"\u0121","ge":"\u2265","gE":"\u2267","gEl":"\u2a8c","gel":"\u22db","geq":"\u2265","geqq":"\u2267","geqslant":"\u2a7e","gescc":"\u2aa9","ges":"\u2a7e","gesdot":"\u2a80","gesdoto":"\u2a82","gesdotol":"\u2a84","gesl":"\u22db\ufe00","gesles":"\u2a94","Gfr":"\ud835\udd0a","gfr":"\ud835\udd24","gg":"\u226b","Gg":"\u22d9","ggg":"\u22d9","gimel":"\u2137","GJcy":"\u0403","gjcy":"\u0453","gla":"\u2aa5","gl":"\u2277","glE":"\u2a92","glj":"\u2aa4","gnap":"\u2a8a","gnapprox":"\u2a8a","gne":"\u2a88","gnE":"\u2269","gneq":"\u2a88","gneqq":"\u2269","gnsim":"\u22e7","Gopf":"\ud835\udd3e","gopf":"\ud835\udd58","grave":"`","GreaterEqual":"\u2265","GreaterEqualLess":"\u22db","GreaterFullEqual":"\u2267","GreaterGreater":"\u2aa2","GreaterLess":"\u2277","GreaterSlantEqual":"\u2a7e","GreaterTilde":"\u2273","Gscr":"\ud835\udca2","gscr":"\u210a","gsim":"\u2273","gsime":"\u2a8e","gsiml":"\u2a90","gtcc":"\u2aa7","gtcir":"\u2a7a","gt":">","GT":">","Gt":"\u226b","gtdot":"\u22d7","gtlPar":"\u2995","gtquest":"\u2a7c","gtrapprox":"\u2a86","gtrarr":"\u2978","gtrdot":"\u22d7","gtreqless":"\u22db","gtreqqless":"\u2a8c","gtrless":"\u2277","gtrsim":"\u2273","gvertneqq":"\u2269\ufe00","gvnE":"\u2269\ufe00","Hacek":"\u02c7","hairsp":"\u200a","half":"\xbd","hamilt":"\u210b","HARDcy":"\u042a","hardcy":"\u044a","harrcir":"\u2948","harr":"\u2194","hArr":"\u21d4","harrw":"\u21ad","Hat":"^","hbar":"\u210f","Hcirc":"\u0124","hcirc":"\u0125","hearts":"\u2665","heartsuit":"\u2665","hellip":"\u2026","hercon":"\u22b9","hfr":"\ud835\udd25","Hfr":"\u210c","HilbertSpace":"\u210b","hksearow":"\u2925","hkswarow":"\u2926","hoarr":"\u21ff","homtht":"\u223b","hookleftarrow":"\u21a9","hookrightarrow":"\u21aa","hopf":"\ud835\udd59","Hopf":"\u210d","horbar":"\u2015","HorizontalLine":"\u2500","hscr":"\ud835\udcbd","Hscr":"\u210b","hslash":"\u210f","Hstrok":"\u0126","hstrok":"\u0127","HumpDownHump":"\u224e","HumpEqual":"\u224f","hybull":"\u2043","hyphen":"\u2010","Iacute":"\xcd","iacute":"\xed","ic":"\u2063","Icirc":"\xce","icirc":"\xee","Icy":"\u0418","icy":"\u0438","Idot":"\u0130","IEcy":"\u0415","iecy":"\u0435","iexcl":"\xa1","iff":"\u21d4","ifr":"\ud835\udd26","Ifr":"\u2111","Igrave":"\xcc","igrave":"\xec","ii":"\u2148","iiiint":"\u2a0c","iiint":"\u222d","iinfin":"\u29dc","iiota":"\u2129","IJlig":"\u0132","ijlig":"\u0133","Imacr":"\u012a","imacr":"\u012b","image":"\u2111","ImaginaryI":"\u2148","imagline":"\u2110","imagpart":"\u2111","imath":"\u0131","Im":"\u2111","imof":"\u22b7","imped":"\u01b5","Implies":"\u21d2","incare":"\u2105","in":"\u2208","infin":"\u221e","infintie":"\u29dd","inodot":"\u0131","intcal":"\u22ba","int":"\u222b","Int":"\u222c","integers":"\u2124","Integral":"\u222b","intercal":"\u22ba","Intersection":"\u22c2","intlarhk":"\u2a17","intprod":"\u2a3c","InvisibleComma":"\u2063","InvisibleTimes":"\u2062","IOcy":"\u0401","iocy":"\u0451","Iogon":"\u012e","iogon":"\u012f","Iopf":"\ud835\udd40","iopf":"\ud835\udd5a","Iota":"\u0399","iota":"\u03b9","iprod":"\u2a3c","iquest":"\xbf","iscr":"\ud835\udcbe","Iscr":"\u2110","isin":"\u2208","isindot":"\u22f5","isinE":"\u22f9","isins":"\u22f4","isinsv":"\u22f3","isinv":"\u2208","it":"\u2062","Itilde":"\u0128","itilde":"\u0129","Iukcy":"\u0406","iukcy":"\u0456","Iuml":"\xcf","iuml":"\xef","Jcirc":"\u0134","jcirc":"\u0135","Jcy":"\u0419","jcy":"\u0439","Jfr":"\ud835\udd0d","jfr":"\ud835\udd27","jmath":"\u0237","Jopf":"\ud835\udd41","jopf":"\ud835\udd5b","Jscr":"\ud835\udca5","jscr":"\ud835\udcbf","Jsercy":"\u0408","jsercy":"\u0458","Jukcy":"\u0404","jukcy":"\u0454","Kappa":"\u039a","kappa":"\u03ba","kappav":"\u03f0","Kcedil":"\u0136","kcedil":"\u0137","Kcy":"\u041a","kcy":"\u043a","Kfr":"\ud835\udd0e","kfr":"\ud835\udd28","kgreen":"\u0138","KHcy":"\u0425","khcy":"\u0445","KJcy":"\u040c","kjcy":"\u045c","Kopf":"\ud835\udd42","kopf":"\ud835\udd5c","Kscr":"\ud835\udca6","kscr":"\ud835\udcc0","lAarr":"\u21da","Lacute":"\u0139","lacute":"\u013a","laemptyv":"\u29b4","lagran":"\u2112","Lambda":"\u039b","lambda":"\u03bb","lang":"\u27e8","Lang":"\u27ea","langd":"\u2991","langle":"\u27e8","lap":"\u2a85","Laplacetrf":"\u2112","laquo":"\xab","larrb":"\u21e4","larrbfs":"\u291f","larr":"\u2190","Larr":"\u219e","lArr":"\u21d0","larrfs":"\u291d","larrhk":"\u21a9","larrlp":"\u21ab","larrpl":"\u2939","larrsim":"\u2973","larrtl":"\u21a2","latail":"\u2919","lAtail":"\u291b","lat":"\u2aab","late":"\u2aad","lates":"\u2aad\ufe00","lbarr":"\u290c","lBarr":"\u290e","lbbrk":"\u2772","lbrace":"{","lbrack":"[","lbrke":"\u298b","lbrksld":"\u298f","lbrkslu":"\u298d","Lcaron":"\u013d","lcaron":"\u013e","Lcedil":"\u013b","lcedil":"\u013c","lceil":"\u2308","lcub":"{","Lcy":"\u041b","lcy":"\u043b","ldca":"\u2936","ldquo":"\u201c","ldquor":"\u201e","ldrdhar":"\u2967","ldrushar":"\u294b","ldsh":"\u21b2","le":"\u2264","lE":"\u2266","LeftAngleBracket":"\u27e8","LeftArrowBar":"\u21e4","leftarrow":"\u2190","LeftArrow":"\u2190","Leftarrow":"\u21d0","LeftArrowRightArrow":"\u21c6","leftarrowtail":"\u21a2","LeftCeiling":"\u2308","LeftDoubleBracket":"\u27e6","LeftDownTeeVector":"\u2961","LeftDownVectorBar":"\u2959","LeftDownVector":"\u21c3","LeftFloor":"\u230a","leftharpoondown":"\u21bd","leftharpoonup":"\u21bc","leftleftarrows":"\u21c7","leftrightarrow":"\u2194","LeftRightArrow":"\u2194","Leftrightarrow":"\u21d4","leftrightarrows":"\u21c6","leftrightharpoons":"\u21cb","leftrightsquigarrow":"\u21ad","LeftRightVector":"\u294e","LeftTeeArrow":"\u21a4","LeftTee":"\u22a3","LeftTeeVector":"\u295a","leftthreetimes":"\u22cb","LeftTriangleBar":"\u29cf","LeftTriangle":"\u22b2","LeftTriangleEqual":"\u22b4","LeftUpDownVector":"\u2951","LeftUpTeeVector":"\u2960","LeftUpVectorBar":"\u2958","LeftUpVector":"\u21bf","LeftVectorBar":"\u2952","LeftVector":"\u21bc","lEg":"\u2a8b","leg":"\u22da","leq":"\u2264","leqq":"\u2266","leqslant":"\u2a7d","lescc":"\u2aa8","les":"\u2a7d","lesdot":"\u2a7f","lesdoto":"\u2a81","lesdotor":"\u2a83","lesg":"\u22da\ufe00","lesges":"\u2a93","lessapprox":"\u2a85","lessdot":"\u22d6","lesseqgtr":"\u22da","lesseqqgtr":"\u2a8b","LessEqualGreater":"\u22da","LessFullEqual":"\u2266","LessGreater":"\u2276","lessgtr":"\u2276","LessLess":"\u2aa1","lesssim":"\u2272","LessSlantEqual":"\u2a7d","LessTilde":"\u2272","lfisht":"\u297c","lfloor":"\u230a","Lfr":"\ud835\udd0f","lfr":"\ud835\udd29","lg":"\u2276","lgE":"\u2a91","lHar":"\u2962","lhard":"\u21bd","lharu":"\u21bc","lharul":"\u296a","lhblk":"\u2584","LJcy":"\u0409","ljcy":"\u0459","llarr":"\u21c7","ll":"\u226a","Ll":"\u22d8","llcorner":"\u231e","Lleftarrow":"\u21da","llhard":"\u296b","lltri":"\u25fa","Lmidot":"\u013f","lmidot":"\u0140","lmoustache":"\u23b0","lmoust":"\u23b0","lnap":"\u2a89","lnapprox":"\u2a89","lne":"\u2a87","lnE":"\u2268","lneq":"\u2a87","lneqq":"\u2268","lnsim":"\u22e6","loang":"\u27ec","loarr":"\u21fd","lobrk":"\u27e6","longleftarrow":"\u27f5","LongLeftArrow":"\u27f5","Longleftarrow":"\u27f8","longleftrightarrow":"\u27f7","LongLeftRightArrow":"\u27f7","Longleftrightarrow":"\u27fa","longmapsto":"\u27fc","longrightarrow":"\u27f6","LongRightArrow":"\u27f6","Longrightarrow":"\u27f9","looparrowleft":"\u21ab","looparrowright":"\u21ac","lopar":"\u2985","Lopf":"\ud835\udd43","lopf":"\ud835\udd5d","loplus":"\u2a2d","lotimes":"\u2a34","lowast":"\u2217","lowbar":"_","LowerLeftArrow":"\u2199","LowerRightArrow":"\u2198","loz":"\u25ca","lozenge":"\u25ca","lozf":"\u29eb","lpar":"(","lparlt":"\u2993","lrarr":"\u21c6","lrcorner":"\u231f","lrhar":"\u21cb","lrhard":"\u296d","lrm":"\u200e","lrtri":"\u22bf","lsaquo":"\u2039","lscr":"\ud835\udcc1","Lscr":"\u2112","lsh":"\u21b0","Lsh":"\u21b0","lsim":"\u2272","lsime":"\u2a8d","lsimg":"\u2a8f","lsqb":"[","lsquo":"\u2018","lsquor":"\u201a","Lstrok":"\u0141","lstrok":"\u0142","ltcc":"\u2aa6","ltcir":"\u2a79","lt":"<","LT":"<","Lt":"\u226a","ltdot":"\u22d6","lthree":"\u22cb","ltimes":"\u22c9","ltlarr":"\u2976","ltquest":"\u2a7b","ltri":"\u25c3","ltrie":"\u22b4","ltrif":"\u25c2","ltrPar":"\u2996","lurdshar":"\u294a","luruhar":"\u2966","lvertneqq":"\u2268\ufe00","lvnE":"\u2268\ufe00","macr":"\xaf","male":"\u2642","malt":"\u2720","maltese":"\u2720","Map":"\u2905","map":"\u21a6","mapsto":"\u21a6","mapstodown":"\u21a7","mapstoleft":"\u21a4","mapstoup":"\u21a5","marker":"\u25ae","mcomma":"\u2a29","Mcy":"\u041c","mcy":"\u043c","mdash":"\u2014","mDDot":"\u223a","measuredangle":"\u2221","MediumSpace":"\u205f","Mellintrf":"\u2133","Mfr":"\ud835\udd10","mfr":"\ud835\udd2a","mho":"\u2127","micro":"\xb5","midast":"*","midcir":"\u2af0","mid":"\u2223","middot":"\xb7","minusb":"\u229f","minus":"\u2212","minusd":"\u2238","minusdu":"\u2a2a","MinusPlus":"\u2213","mlcp":"\u2adb","mldr":"\u2026","mnplus":"\u2213","models":"\u22a7","Mopf":"\ud835\udd44","mopf":"\ud835\udd5e","mp":"\u2213","mscr":"\ud835\udcc2","Mscr":"\u2133","mstpos":"\u223e","Mu":"\u039c","mu":"\u03bc","multimap":"\u22b8","mumap":"\u22b8","nabla":"\u2207","Nacute":"\u0143","nacute":"\u0144","nang":"\u2220\u20d2","nap":"\u2249","napE":"\u2a70\u0338","napid":"\u224b\u0338","napos":"\u0149","napprox":"\u2249","natural":"\u266e","naturals":"\u2115","natur":"\u266e","nbsp":"\xa0","nbump":"\u224e\u0338","nbumpe":"\u224f\u0338","ncap":"\u2a43","Ncaron":"\u0147","ncaron":"\u0148","Ncedil":"\u0145","ncedil":"\u0146","ncong":"\u2247","ncongdot":"\u2a6d\u0338","ncup":"\u2a42","Ncy":"\u041d","ncy":"\u043d","ndash":"\u2013","nearhk":"\u2924","nearr":"\u2197","neArr":"\u21d7","nearrow":"\u2197","ne":"\u2260","nedot":"\u2250\u0338","NegativeMediumSpace":"\u200b","NegativeThickSpace":"\u200b","NegativeThinSpace":"\u200b","NegativeVeryThinSpace":"\u200b","nequiv":"\u2262","nesear":"\u2928","nesim":"\u2242\u0338","NestedGreaterGreater":"\u226b","NestedLessLess":"\u226a","NewLine":"\\n","nexist":"\u2204","nexists":"\u2204","Nfr":"\ud835\udd11","nfr":"\ud835\udd2b","ngE":"\u2267\u0338","nge":"\u2271","ngeq":"\u2271","ngeqq":"\u2267\u0338","ngeqslant":"\u2a7e\u0338","nges":"\u2a7e\u0338","nGg":"\u22d9\u0338","ngsim":"\u2275","nGt":"\u226b\u20d2","ngt":"\u226f","ngtr":"\u226f","nGtv":"\u226b\u0338","nharr":"\u21ae","nhArr":"\u21ce","nhpar":"\u2af2","ni":"\u220b","nis":"\u22fc","nisd":"\u22fa","niv":"\u220b","NJcy":"\u040a","njcy":"\u045a","nlarr":"\u219a","nlArr":"\u21cd","nldr":"\u2025","nlE":"\u2266\u0338","nle":"\u2270","nleftarrow":"\u219a","nLeftarrow":"\u21cd","nleftrightarrow":"\u21ae","nLeftrightarrow":"\u21ce","nleq":"\u2270","nleqq":"\u2266\u0338","nleqslant":"\u2a7d\u0338","nles":"\u2a7d\u0338","nless":"\u226e","nLl":"\u22d8\u0338","nlsim":"\u2274","nLt":"\u226a\u20d2","nlt":"\u226e","nltri":"\u22ea","nltrie":"\u22ec","nLtv":"\u226a\u0338","nmid":"\u2224","NoBreak":"\u2060","NonBreakingSpace":"\xa0","nopf":"\ud835\udd5f","Nopf":"\u2115","Not":"\u2aec","not":"\xac","NotCongruent":"\u2262","NotCupCap":"\u226d","NotDoubleVerticalBar":"\u2226","NotElement":"\u2209","NotEqual":"\u2260","NotEqualTilde":"\u2242\u0338","NotExists":"\u2204","NotGreater":"\u226f","NotGreaterEqual":"\u2271","NotGreaterFullEqual":"\u2267\u0338","NotGreaterGreater":"\u226b\u0338","NotGreaterLess":"\u2279","NotGreaterSlantEqual":"\u2a7e\u0338","NotGreaterTilde":"\u2275","NotHumpDownHump":"\u224e\u0338","NotHumpEqual":"\u224f\u0338","notin":"\u2209","notindot":"\u22f5\u0338","notinE":"\u22f9\u0338","notinva":"\u2209","notinvb":"\u22f7","notinvc":"\u22f6","NotLeftTriangleBar":"\u29cf\u0338","NotLeftTriangle":"\u22ea","NotLeftTriangleEqual":"\u22ec","NotLess":"\u226e","NotLessEqual":"\u2270","NotLessGreater":"\u2278","NotLessLess":"\u226a\u0338","NotLessSlantEqual":"\u2a7d\u0338","NotLessTilde":"\u2274","NotNestedGreaterGreater":"\u2aa2\u0338","NotNestedLessLess":"\u2aa1\u0338","notni":"\u220c","notniva":"\u220c","notnivb":"\u22fe","notnivc":"\u22fd","NotPrecedes":"\u2280","NotPrecedesEqual":"\u2aaf\u0338","NotPrecedesSlantEqual":"\u22e0","NotReverseElement":"\u220c","NotRightTriangleBar":"\u29d0\u0338","NotRightTriangle":"\u22eb","NotRightTriangleEqual":"\u22ed","NotSquareSubset":"\u228f\u0338","NotSquareSubsetEqual":"\u22e2","NotSquareSuperset":"\u2290\u0338","NotSquareSupersetEqual":"\u22e3","NotSubset":"\u2282\u20d2","NotSubsetEqual":"\u2288","NotSucceeds":"\u2281","NotSucceedsEqual":"\u2ab0\u0338","NotSucceedsSlantEqual":"\u22e1","NotSucceedsTilde":"\u227f\u0338","NotSuperset":"\u2283\u20d2","NotSupersetEqual":"\u2289","NotTilde":"\u2241","NotTildeEqual":"\u2244","NotTildeFullEqual":"\u2247","NotTildeTilde":"\u2249","NotVerticalBar":"\u2224","nparallel":"\u2226","npar":"\u2226","nparsl":"\u2afd\u20e5","npart":"\u2202\u0338","npolint":"\u2a14","npr":"\u2280","nprcue":"\u22e0","nprec":"\u2280","npreceq":"\u2aaf\u0338","npre":"\u2aaf\u0338","nrarrc":"\u2933\u0338","nrarr":"\u219b","nrArr":"\u21cf","nrarrw":"\u219d\u0338","nrightarrow":"\u219b","nRightarrow":"\u21cf","nrtri":"\u22eb","nrtrie":"\u22ed","nsc":"\u2281","nsccue":"\u22e1","nsce":"\u2ab0\u0338","Nscr":"\ud835\udca9","nscr":"\ud835\udcc3","nshortmid":"\u2224","nshortparallel":"\u2226","nsim":"\u2241","nsime":"\u2244","nsimeq":"\u2244","nsmid":"\u2224","nspar":"\u2226","nsqsube":"\u22e2","nsqsupe":"\u22e3","nsub":"\u2284","nsubE":"\u2ac5\u0338","nsube":"\u2288","nsubset":"\u2282\u20d2","nsubseteq":"\u2288","nsubseteqq":"\u2ac5\u0338","nsucc":"\u2281","nsucceq":"\u2ab0\u0338","nsup":"\u2285","nsupE":"\u2ac6\u0338","nsupe":"\u2289","nsupset":"\u2283\u20d2","nsupseteq":"\u2289","nsupseteqq":"\u2ac6\u0338","ntgl":"\u2279","Ntilde":"\xd1","ntilde":"\xf1","ntlg":"\u2278","ntriangleleft":"\u22ea","ntrianglelefteq":"\u22ec","ntriangleright":"\u22eb","ntrianglerighteq":"\u22ed","Nu":"\u039d","nu":"\u03bd","num":"#","numero":"\u2116","numsp":"\u2007","nvap":"\u224d\u20d2","nvdash":"\u22ac","nvDash":"\u22ad","nVdash":"\u22ae","nVDash":"\u22af","nvge":"\u2265\u20d2","nvgt":">\u20d2","nvHarr":"\u2904","nvinfin":"\u29de","nvlArr":"\u2902","nvle":"\u2264\u20d2","nvlt":"<\u20d2","nvltrie":"\u22b4\u20d2","nvrArr":"\u2903","nvrtrie":"\u22b5\u20d2","nvsim":"\u223c\u20d2","nwarhk":"\u2923","nwarr":"\u2196","nwArr":"\u21d6","nwarrow":"\u2196","nwnear":"\u2927","Oacute":"\xd3","oacute":"\xf3","oast":"\u229b","Ocirc":"\xd4","ocirc":"\xf4","ocir":"\u229a","Ocy":"\u041e","ocy":"\u043e","odash":"\u229d","Odblac":"\u0150","odblac":"\u0151","odiv":"\u2a38","odot":"\u2299","odsold":"\u29bc","OElig":"\u0152","oelig":"\u0153","ofcir":"\u29bf","Ofr":"\ud835\udd12","ofr":"\ud835\udd2c","ogon":"\u02db","Ograve":"\xd2","ograve":"\xf2","ogt":"\u29c1","ohbar":"\u29b5","ohm":"\u03a9","oint":"\u222e","olarr":"\u21ba","olcir":"\u29be","olcross":"\u29bb","oline":"\u203e","olt":"\u29c0","Omacr":"\u014c","omacr":"\u014d","Omega":"\u03a9","omega":"\u03c9","Omicron":"\u039f","omicron":"\u03bf","omid":"\u29b6","ominus":"\u2296","Oopf":"\ud835\udd46","oopf":"\ud835\udd60","opar":"\u29b7","OpenCurlyDoubleQuote":"\u201c","OpenCurlyQuote":"\u2018","operp":"\u29b9","oplus":"\u2295","orarr":"\u21bb","Or":"\u2a54","or":"\u2228","ord":"\u2a5d","order":"\u2134","orderof":"\u2134","ordf":"\xaa","ordm":"\xba","origof":"\u22b6","oror":"\u2a56","orslope":"\u2a57","orv":"\u2a5b","oS":"\u24c8","Oscr":"\ud835\udcaa","oscr":"\u2134","Oslash":"\xd8","oslash":"\xf8","osol":"\u2298","Otilde":"\xd5","otilde":"\xf5","otimesas":"\u2a36","Otimes":"\u2a37","otimes":"\u2297","Ouml":"\xd6","ouml":"\xf6","ovbar":"\u233d","OverBar":"\u203e","OverBrace":"\u23de","OverBracket":"\u23b4","OverParenthesis":"\u23dc","para":"\xb6","parallel":"\u2225","par":"\u2225","parsim":"\u2af3","parsl":"\u2afd","part":"\u2202","PartialD":"\u2202","Pcy":"\u041f","pcy":"\u043f","percnt":"%","period":".","permil":"\u2030","perp":"\u22a5","pertenk":"\u2031","Pfr":"\ud835\udd13","pfr":"\ud835\udd2d","Phi":"\u03a6","phi":"\u03c6","phiv":"\u03d5","phmmat":"\u2133","phone":"\u260e","Pi":"\u03a0","pi":"\u03c0","pitchfork":"\u22d4","piv":"\u03d6","planck":"\u210f","planckh":"\u210e","plankv":"\u210f","plusacir":"\u2a23","plusb":"\u229e","pluscir":"\u2a22","plus":"+","plusdo":"\u2214","plusdu":"\u2a25","pluse":"\u2a72","PlusMinus":"\xb1","plusmn":"\xb1","plussim":"\u2a26","plustwo":"\u2a27","pm":"\xb1","Poincareplane":"\u210c","pointint":"\u2a15","popf":"\ud835\udd61","Popf":"\u2119","pound":"\xa3","prap":"\u2ab7","Pr":"\u2abb","pr":"\u227a","prcue":"\u227c","precapprox":"\u2ab7","prec":"\u227a","preccurlyeq":"\u227c","Precedes":"\u227a","PrecedesEqual":"\u2aaf","PrecedesSlantEqual":"\u227c","PrecedesTilde":"\u227e","preceq":"\u2aaf","precnapprox":"\u2ab9","precneqq":"\u2ab5","precnsim":"\u22e8","pre":"\u2aaf","prE":"\u2ab3","precsim":"\u227e","prime":"\u2032","Prime":"\u2033","primes":"\u2119","prnap":"\u2ab9","prnE":"\u2ab5","prnsim":"\u22e8","prod":"\u220f","Product":"\u220f","profalar":"\u232e","profline":"\u2312","profsurf":"\u2313","prop":"\u221d","Proportional":"\u221d","Proportion":"\u2237","propto":"\u221d","prsim":"\u227e","prurel":"\u22b0","Pscr":"\ud835\udcab","pscr":"\ud835\udcc5","Psi":"\u03a8","psi":"\u03c8","puncsp":"\u2008","Qfr":"\ud835\udd14","qfr":"\ud835\udd2e","qint":"\u2a0c","qopf":"\ud835\udd62","Qopf":"\u211a","qprime":"\u2057","Qscr":"\ud835\udcac","qscr":"\ud835\udcc6","quaternions":"\u210d","quatint":"\u2a16","quest":"?","questeq":"\u225f","quot":"\\"","QUOT":"\\"","rAarr":"\u21db","race":"\u223d\u0331","Racute":"\u0154","racute":"\u0155","radic":"\u221a","raemptyv":"\u29b3","rang":"\u27e9","Rang":"\u27eb","rangd":"\u2992","range":"\u29a5","rangle":"\u27e9","raquo":"\xbb","rarrap":"\u2975","rarrb":"\u21e5","rarrbfs":"\u2920","rarrc":"\u2933","rarr":"\u2192","Rarr":"\u21a0","rArr":"\u21d2","rarrfs":"\u291e","rarrhk":"\u21aa","rarrlp":"\u21ac","rarrpl":"\u2945","rarrsim":"\u2974","Rarrtl":"\u2916","rarrtl":"\u21a3","rarrw":"\u219d","ratail":"\u291a","rAtail":"\u291c","ratio":"\u2236","rationals":"\u211a","rbarr":"\u290d","rBarr":"\u290f","RBarr":"\u2910","rbbrk":"\u2773","rbrace":"}","rbrack":"]","rbrke":"\u298c","rbrksld":"\u298e","rbrkslu":"\u2990","Rcaron":"\u0158","rcaron":"\u0159","Rcedil":"\u0156","rcedil":"\u0157","rceil":"\u2309","rcub":"}","Rcy":"\u0420","rcy":"\u0440","rdca":"\u2937","rdldhar":"\u2969","rdquo":"\u201d","rdquor":"\u201d","rdsh":"\u21b3","real":"\u211c","realine":"\u211b","realpart":"\u211c","reals":"\u211d","Re":"\u211c","rect":"\u25ad","reg":"\xae","REG":"\xae","ReverseElement":"\u220b","ReverseEquilibrium":"\u21cb","ReverseUpEquilibrium":"\u296f","rfisht":"\u297d","rfloor":"\u230b","rfr":"\ud835\udd2f","Rfr":"\u211c","rHar":"\u2964","rhard":"\u21c1","rharu":"\u21c0","rharul":"\u296c","Rho":"\u03a1","rho":"\u03c1","rhov":"\u03f1","RightAngleBracket":"\u27e9","RightArrowBar":"\u21e5","rightarrow":"\u2192","RightArrow":"\u2192","Rightarrow":"\u21d2","RightArrowLeftArrow":"\u21c4","rightarrowtail":"\u21a3","RightCeiling":"\u2309","RightDoubleBracket":"\u27e7","RightDownTeeVector":"\u295d","RightDownVectorBar":"\u2955","RightDownVector":"\u21c2","RightFloor":"\u230b","rightharpoondown":"\u21c1","rightharpoonup":"\u21c0","rightleftarrows":"\u21c4","rightleftharpoons":"\u21cc","rightrightarrows":"\u21c9","rightsquigarrow":"\u219d","RightTeeArrow":"\u21a6","RightTee":"\u22a2","RightTeeVector":"\u295b","rightthreetimes":"\u22cc","RightTriangleBar":"\u29d0","RightTriangle":"\u22b3","RightTriangleEqual":"\u22b5","RightUpDownVector":"\u294f","RightUpTeeVector":"\u295c","RightUpVectorBar":"\u2954","RightUpVector":"\u21be","RightVectorBar":"\u2953","RightVector":"\u21c0","ring":"\u02da","risingdotseq":"\u2253","rlarr":"\u21c4","rlhar":"\u21cc","rlm":"\u200f","rmoustache":"\u23b1","rmoust":"\u23b1","rnmid":"\u2aee","roang":"\u27ed","roarr":"\u21fe","robrk":"\u27e7","ropar":"\u2986","ropf":"\ud835\udd63","Ropf":"\u211d","roplus":"\u2a2e","rotimes":"\u2a35","RoundImplies":"\u2970","rpar":")","rpargt":"\u2994","rppolint":"\u2a12","rrarr":"\u21c9","Rrightarrow":"\u21db","rsaquo":"\u203a","rscr":"\ud835\udcc7","Rscr":"\u211b","rsh":"\u21b1","Rsh":"\u21b1","rsqb":"]","rsquo":"\u2019","rsquor":"\u2019","rthree":"\u22cc","rtimes":"\u22ca","rtri":"\u25b9","rtrie":"\u22b5","rtrif":"\u25b8","rtriltri":"\u29ce","RuleDelayed":"\u29f4","ruluhar":"\u2968","rx":"\u211e","Sacute":"\u015a","sacute":"\u015b","sbquo":"\u201a","scap":"\u2ab8","Scaron":"\u0160","scaron":"\u0161","Sc":"\u2abc","sc":"\u227b","sccue":"\u227d","sce":"\u2ab0","scE":"\u2ab4","Scedil":"\u015e","scedil":"\u015f","Scirc":"\u015c","scirc":"\u015d","scnap":"\u2aba","scnE":"\u2ab6","scnsim":"\u22e9","scpolint":"\u2a13","scsim":"\u227f","Scy":"\u0421","scy":"\u0441","sdotb":"\u22a1","sdot":"\u22c5","sdote":"\u2a66","searhk":"\u2925","searr":"\u2198","seArr":"\u21d8","searrow":"\u2198","sect":"\xa7","semi":";","seswar":"\u2929","setminus":"\u2216","setmn":"\u2216","sext":"\u2736","Sfr":"\ud835\udd16","sfr":"\ud835\udd30","sfrown":"\u2322","sharp":"\u266f","SHCHcy":"\u0429","shchcy":"\u0449","SHcy":"\u0428","shcy":"\u0448","ShortDownArrow":"\u2193","ShortLeftArrow":"\u2190","shortmid":"\u2223","shortparallel":"\u2225","ShortRightArrow":"\u2192","ShortUpArrow":"\u2191","shy":"\xad","Sigma":"\u03a3","sigma":"\u03c3","sigmaf":"\u03c2","sigmav":"\u03c2","sim":"\u223c","simdot":"\u2a6a","sime":"\u2243","simeq":"\u2243","simg":"\u2a9e","simgE":"\u2aa0","siml":"\u2a9d","simlE":"\u2a9f","simne":"\u2246","simplus":"\u2a24","simrarr":"\u2972","slarr":"\u2190","SmallCircle":"\u2218","smallsetminus":"\u2216","smashp":"\u2a33","smeparsl":"\u29e4","smid":"\u2223","smile":"\u2323","smt":"\u2aaa","smte":"\u2aac","smtes":"\u2aac\ufe00","SOFTcy":"\u042c","softcy":"\u044c","solbar":"\u233f","solb":"\u29c4","sol":"/","Sopf":"\ud835\udd4a","sopf":"\ud835\udd64","spades":"\u2660","spadesuit":"\u2660","spar":"\u2225","sqcap":"\u2293","sqcaps":"\u2293\ufe00","sqcup":"\u2294","sqcups":"\u2294\ufe00","Sqrt":"\u221a","sqsub":"\u228f","sqsube":"\u2291","sqsubset":"\u228f","sqsubseteq":"\u2291","sqsup":"\u2290","sqsupe":"\u2292","sqsupset":"\u2290","sqsupseteq":"\u2292","square":"\u25a1","Square":"\u25a1","SquareIntersection":"\u2293","SquareSubset":"\u228f","SquareSubsetEqual":"\u2291","SquareSuperset":"\u2290","SquareSupersetEqual":"\u2292","SquareUnion":"\u2294","squarf":"\u25aa","squ":"\u25a1","squf":"\u25aa","srarr":"\u2192","Sscr":"\ud835\udcae","sscr":"\ud835\udcc8","ssetmn":"\u2216","ssmile":"\u2323","sstarf":"\u22c6","Star":"\u22c6","star":"\u2606","starf":"\u2605","straightepsilon":"\u03f5","straightphi":"\u03d5","strns":"\xaf","sub":"\u2282","Sub":"\u22d0","subdot":"\u2abd","subE":"\u2ac5","sube":"\u2286","subedot":"\u2ac3","submult":"\u2ac1","subnE":"\u2acb","subne":"\u228a","subplus":"\u2abf","subrarr":"\u2979","subset":"\u2282","Subset":"\u22d0","subseteq":"\u2286","subseteqq":"\u2ac5","SubsetEqual":"\u2286","subsetneq":"\u228a","subsetneqq":"\u2acb","subsim":"\u2ac7","subsub":"\u2ad5","subsup":"\u2ad3","succapprox":"\u2ab8","succ":"\u227b","succcurlyeq":"\u227d","Succeeds":"\u227b","SucceedsEqual":"\u2ab0","SucceedsSlantEqual":"\u227d","SucceedsTilde":"\u227f","succeq":"\u2ab0","succnapprox":"\u2aba","succneqq":"\u2ab6","succnsim":"\u22e9","succsim":"\u227f","SuchThat":"\u220b","sum":"\u2211","Sum":"\u2211","sung":"\u266a","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","sup":"\u2283","Sup":"\u22d1","supdot":"\u2abe","supdsub":"\u2ad8","supE":"\u2ac6","supe":"\u2287","supedot":"\u2ac4","Superset":"\u2283","SupersetEqual":"\u2287","suphsol":"\u27c9","suphsub":"\u2ad7","suplarr":"\u297b","supmult":"\u2ac2","supnE":"\u2acc","supne":"\u228b","supplus":"\u2ac0","supset":"\u2283","Supset":"\u22d1","supseteq":"\u2287","supseteqq":"\u2ac6","supsetneq":"\u228b","supsetneqq":"\u2acc","supsim":"\u2ac8","supsub":"\u2ad4","supsup":"\u2ad6","swarhk":"\u2926","swarr":"\u2199","swArr":"\u21d9","swarrow":"\u2199","swnwar":"\u292a","szlig":"\xdf","Tab":"\\t","target":"\u2316","Tau":"\u03a4","tau":"\u03c4","tbrk":"\u23b4","Tcaron":"\u0164","tcaron":"\u0165","Tcedil":"\u0162","tcedil":"\u0163","Tcy":"\u0422","tcy":"\u0442","tdot":"\u20db","telrec":"\u2315","Tfr":"\ud835\udd17","tfr":"\ud835\udd31","there4":"\u2234","therefore":"\u2234","Therefore":"\u2234","Theta":"\u0398","theta":"\u03b8","thetasym":"\u03d1","thetav":"\u03d1","thickapprox":"\u2248","thicksim":"\u223c","ThickSpace":"\u205f\u200a","ThinSpace":"\u2009","thinsp":"\u2009","thkap":"\u2248","thksim":"\u223c","THORN":"\xde","thorn":"\xfe","tilde":"\u02dc","Tilde":"\u223c","TildeEqual":"\u2243","TildeFullEqual":"\u2245","TildeTilde":"\u2248","timesbar":"\u2a31","timesb":"\u22a0","times":"\xd7","timesd":"\u2a30","tint":"\u222d","toea":"\u2928","topbot":"\u2336","topcir":"\u2af1","top":"\u22a4","Topf":"\ud835\udd4b","topf":"\ud835\udd65","topfork":"\u2ada","tosa":"\u2929","tprime":"\u2034","trade":"\u2122","TRADE":"\u2122","triangle":"\u25b5","triangledown":"\u25bf","triangleleft":"\u25c3","trianglelefteq":"\u22b4","triangleq":"\u225c","triangleright":"\u25b9","trianglerighteq":"\u22b5","tridot":"\u25ec","trie":"\u225c","triminus":"\u2a3a","TripleDot":"\u20db","triplus":"\u2a39","trisb":"\u29cd","tritime":"\u2a3b","trpezium":"\u23e2","Tscr":"\ud835\udcaf","tscr":"\ud835\udcc9","TScy":"\u0426","tscy":"\u0446","TSHcy":"\u040b","tshcy":"\u045b","Tstrok":"\u0166","tstrok":"\u0167","twixt":"\u226c","twoheadleftarrow":"\u219e","twoheadrightarrow":"\u21a0","Uacute":"\xda","uacute":"\xfa","uarr":"\u2191","Uarr":"\u219f","uArr":"\u21d1","Uarrocir":"\u2949","Ubrcy":"\u040e","ubrcy":"\u045e","Ubreve":"\u016c","ubreve":"\u016d","Ucirc":"\xdb","ucirc":"\xfb","Ucy":"\u0423","ucy":"\u0443","udarr":"\u21c5","Udblac":"\u0170","udblac":"\u0171","udhar":"\u296e","ufisht":"\u297e","Ufr":"\ud835\udd18","ufr":"\ud835\udd32","Ugrave":"\xd9","ugrave":"\xf9","uHar":"\u2963","uharl":"\u21bf","uharr":"\u21be","uhblk":"\u2580","ulcorn":"\u231c","ulcorner":"\u231c","ulcrop":"\u230f","ultri":"\u25f8","Umacr":"\u016a","umacr":"\u016b","uml":"\xa8","UnderBar":"_","UnderBrace":"\u23df","UnderBracket":"\u23b5","UnderParenthesis":"\u23dd","Union":"\u22c3","UnionPlus":"\u228e","Uogon":"\u0172","uogon":"\u0173","Uopf":"\ud835\udd4c","uopf":"\ud835\udd66","UpArrowBar":"\u2912","uparrow":"\u2191","UpArrow":"\u2191","Uparrow":"\u21d1","UpArrowDownArrow":"\u21c5","updownarrow":"\u2195","UpDownArrow":"\u2195","Updownarrow":"\u21d5","UpEquilibrium":"\u296e","upharpoonleft":"\u21bf","upharpoonright":"\u21be","uplus":"\u228e","UpperLeftArrow":"\u2196","UpperRightArrow":"\u2197","upsi":"\u03c5","Upsi":"\u03d2","upsih":"\u03d2","Upsilon":"\u03a5","upsilon":"\u03c5","UpTeeArrow":"\u21a5","UpTee":"\u22a5","upuparrows":"\u21c8","urcorn":"\u231d","urcorner":"\u231d","urcrop":"\u230e","Uring":"\u016e","uring":"\u016f","urtri":"\u25f9","Uscr":"\ud835\udcb0","uscr":"\ud835\udcca","utdot":"\u22f0","Utilde":"\u0168","utilde":"\u0169","utri":"\u25b5","utrif":"\u25b4","uuarr":"\u21c8","Uuml":"\xdc","uuml":"\xfc","uwangle":"\u29a7","vangrt":"\u299c","varepsilon":"\u03f5","varkappa":"\u03f0","varnothing":"\u2205","varphi":"\u03d5","varpi":"\u03d6","varpropto":"\u221d","varr":"\u2195","vArr":"\u21d5","varrho":"\u03f1","varsigma":"\u03c2","varsubsetneq":"\u228a\ufe00","varsubsetneqq":"\u2acb\ufe00","varsupsetneq":"\u228b\ufe00","varsupsetneqq":"\u2acc\ufe00","vartheta":"\u03d1","vartriangleleft":"\u22b2","vartriangleright":"\u22b3","vBar":"\u2ae8","Vbar":"\u2aeb","vBarv":"\u2ae9","Vcy":"\u0412","vcy":"\u0432","vdash":"\u22a2","vDash":"\u22a8","Vdash":"\u22a9","VDash":"\u22ab","Vdashl":"\u2ae6","veebar":"\u22bb","vee":"\u2228","Vee":"\u22c1","veeeq":"\u225a","vellip":"\u22ee","verbar":"|","Verbar":"\u2016","vert":"|","Vert":"\u2016","VerticalBar":"\u2223","VerticalLine":"|","VerticalSeparator":"\u2758","VerticalTilde":"\u2240","VeryThinSpace":"\u200a","Vfr":"\ud835\udd19","vfr":"\ud835\udd33","vltri":"\u22b2","vnsub":"\u2282\u20d2","vnsup":"\u2283\u20d2","Vopf":"\ud835\udd4d","vopf":"\ud835\udd67","vprop":"\u221d","vrtri":"\u22b3","Vscr":"\ud835\udcb1","vscr":"\ud835\udccb","vsubnE":"\u2acb\ufe00","vsubne":"\u228a\ufe00","vsupnE":"\u2acc\ufe00","vsupne":"\u228b\ufe00","Vvdash":"\u22aa","vzigzag":"\u299a","Wcirc":"\u0174","wcirc":"\u0175","wedbar":"\u2a5f","wedge":"\u2227","Wedge":"\u22c0","wedgeq":"\u2259","weierp":"\u2118","Wfr":"\ud835\udd1a","wfr":"\ud835\udd34","Wopf":"\ud835\udd4e","wopf":"\ud835\udd68","wp":"\u2118","wr":"\u2240","wreath":"\u2240","Wscr":"\ud835\udcb2","wscr":"\ud835\udccc","xcap":"\u22c2","xcirc":"\u25ef","xcup":"\u22c3","xdtri":"\u25bd","Xfr":"\ud835\udd1b","xfr":"\ud835\udd35","xharr":"\u27f7","xhArr":"\u27fa","Xi":"\u039e","xi":"\u03be","xlarr":"\u27f5","xlArr":"\u27f8","xmap":"\u27fc","xnis":"\u22fb","xodot":"\u2a00","Xopf":"\ud835\udd4f","xopf":"\ud835\udd69","xoplus":"\u2a01","xotime":"\u2a02","xrarr":"\u27f6","xrArr":"\u27f9","Xscr":"\ud835\udcb3","xscr":"\ud835\udccd","xsqcup":"\u2a06","xuplus":"\u2a04","xutri":"\u25b3","xvee":"\u22c1","xwedge":"\u22c0","Yacute":"\xdd","yacute":"\xfd","YAcy":"\u042f","yacy":"\u044f","Ycirc":"\u0176","ycirc":"\u0177","Ycy":"\u042b","ycy":"\u044b","yen":"\xa5","Yfr":"\ud835\udd1c","yfr":"\ud835\udd36","YIcy":"\u0407","yicy":"\u0457","Yopf":"\ud835\udd50","yopf":"\ud835\udd6a","Yscr":"\ud835\udcb4","yscr":"\ud835\udcce","YUcy":"\u042e","yucy":"\u044e","yuml":"\xff","Yuml":"\u0178","Zacute":"\u0179","zacute":"\u017a","Zcaron":"\u017d","zcaron":"\u017e","Zcy":"\u0417","zcy":"\u0437","Zdot":"\u017b","zdot":"\u017c","zeetrf":"\u2128","ZeroWidthSpace":"\u200b","Zeta":"\u0396","zeta":"\u03b6","zfr":"\ud835\udd37","Zfr":"\u2128","ZHcy":"\u0416","zhcy":"\u0436","zigrarr":"\u21dd","zopf":"\ud835\udd6b","Zopf":"\u2124","Zscr":"\ud835\udcb5","zscr":"\ud835\udccf","zwj":"\u200d","zwnj":"\u200c"}')}},function(t){t(t.s=56791)}])}(); \ No newline at end of file diff --git a/recipes/card/index.html b/recipes/card/index.html index 618c0a2a0..38cbfac58 100644 --- a/recipes/card/index.html +++ b/recipes/card/index.html @@ -15,27 +15,27 @@ Maskito | Card - + -

    Card
    Recipes

    Creating mask for credit card input requires basic understanding of the following topics:

        
    +        

    Card
    Recipes

    Creating mask for credit card input requires basic understanding of the following topics:

        
         
    -
        
         
    -
    -
    - +
    + \ No newline at end of file diff --git a/recipes/phone/index.html b/recipes/phone/index.html index 72bae0a8a..a29113539 100644 --- a/recipes/phone/index.html +++ b/recipes/phone/index.html @@ -15,75 +15,75 @@ Maskito | Phone - + -

    Phone
    Recipes

    Creating mask for a phone number is simple. The only required knowledge is the pattern mask expression with fixed characters . Read more about it in "Mask expression" section.

    This page demonstrates some examples for different countries.

    United States

    Flag of the United States
        
    +        

    Phone
    Recipes

    Creating mask for a phone number is simple. The only required knowledge is the pattern mask expression with fixed characters . Read more about it in "Mask expression" section.

    This page demonstrates some examples for different countries.

    United States

    Flag of the United States
        
         
    -
        
         
    -
        
         
    -
        
         
    -
        
         
    -
    -

    Kazakhstan

    The following example demonstrates a more complex mask. It shows how to make the country prefix non-removable. It is achieved by built-in postprocessor from @maskito/kit .

    Read more about it in "With prefix" section.

    Flag of Kazakhstan
        
    +

    Kazakhstan

    The following example demonstrates a more complex mask. It shows how to make the country prefix non-removable. It is achieved by built-in postprocessor from @maskito/kit .

    Read more about it in "With prefix" section.

    Flag of Kazakhstan
        
         
    -
        
         
    -
        
         
    -
        
         
    -
        
         
    -
    -
    - +
    + \ No newline at end of file diff --git a/recipes/placeholder/index.html b/recipes/placeholder/index.html index 1675cade4..f88bb4194 100644 --- a/recipes/placeholder/index.html +++ b/recipes/placeholder/index.html @@ -15,87 +15,87 @@ Maskito | With placeholder - + -

    With placeholder
    Recipes

    maskitoWithPlaceholder helps to show placeholder mask characters. The placeholder character represents the fillable spot in the mask.

    Card Verification Code

    This example is the simplest demonstration how to create masked input with placeholder .

    The only required prerequisite is basic understanding of "Mask expression" concept.

        
    +        

    With placeholder
    Recipes

    maskitoWithPlaceholder helps to show placeholder mask characters. The placeholder character represents the fillable spot in the mask.

    Card Verification Code

    This example is the simplest demonstration how to create masked input with placeholder .

    The only required prerequisite is basic understanding of "Mask expression" concept.

        
         
    -
        
         
    -
        
         
    -
        
         
    -
        
         
    -
    -

    Phone

    The following example explains return type of maskitoWithPlaceholder utility — an object which partially implements MaskitoOptions interface. It contains its own processor and postprocessor and plugins to keep caret from getting into placeholder part of the value.

    Also, this complex example uses built-in postprocessor maskitoPrefixPostprocessorGenerator from @maskito/kit .

    Flag of the United States
        
    +

    Phone

    The following example explains return type of maskitoWithPlaceholder utility — an object which partially implements MaskitoOptions interface. It contains its own processor and postprocessor and plugins to keep caret from getting into placeholder part of the value.

    Also, this complex example uses built-in postprocessor maskitoPrefixPostprocessorGenerator from @maskito/kit .

    Flag of the United States
        
         
    -
        
         
    -
    -

    Date

    This last example demonstrates how to integrate maskitoWithPlaceholder with any built-in mask from @maskito/kit .

        
    +

    Date

    This last example demonstrates how to integrate maskitoWithPlaceholder with any built-in mask from @maskito/kit .

        
         
    -
        
         
    -
        
         
    -
        
         
    -
        
         
    -
    -
    - +
    + \ No newline at end of file diff --git a/recipes/postfix/index.html b/recipes/postfix/index.html index c25f59fe8..b39ea1bdb 100644 --- a/recipes/postfix/index.html +++ b/recipes/postfix/index.html @@ -15,75 +15,75 @@ Maskito | With postfix - + -

    With postfix
    Recipes

    There are two approaches to add postfix for masked input. Every approach has its own behaviour and requires basic understanding of different core concepts.

    By pattern mask expression

    This example demonstrates how to create postfix via dynamic pattern mask expression . Percent symbol is a trailing fixed character, which will be automatically added when user enters the first digit.

        
    +        

    With postfix
    Recipes

    There are two approaches to add postfix for masked input. Every approach has its own behaviour and requires basic understanding of different core concepts.

    By pattern mask expression

    This example demonstrates how to create postfix via dynamic pattern mask expression . Percent symbol is a trailing fixed character, which will be automatically added when user enters the first digit.

        
         
    -
        
         
    -
        
         
    -
        
         
    -
        
         
    -
    -

    By postprocessor

    This example demonstrates how to create postfix via postprocessor . It provides more flexibility, and you can configure any desired behaviour. You can use built-in maskitoPostfixPostprocessorGenerator or create your own.

    Don't forget that mask property should be compatible with a new prefix / postfix!

        
    +

    By postprocessor

    This example demonstrates how to create postfix via postprocessor . It provides more flexibility, and you can configure any desired behaviour. You can use built-in maskitoPostfixPostprocessorGenerator or create your own.

    Don't forget that mask property should be compatible with a new prefix / postfix!

        
         
    -
        
         
    -
        
         
    -
        
         
    -
        
         
    -
    -
    - +
    + \ No newline at end of file diff --git a/recipes/prefix/index.html b/recipes/prefix/index.html index d6aaa926a..90e7e1560 100644 --- a/recipes/prefix/index.html +++ b/recipes/prefix/index.html @@ -15,75 +15,75 @@ Maskito | With prefix - + -

    With prefix
    Recipes

    Use prefixes to indicate things like currencies, area / phone country codes and etc.

    There are two approaches to add prefix for masked input. Every approach has its own behaviour and requires basic understanding of different core concepts.

    By pattern mask expression

    This example demonstrates how to create prefix via dynamic pattern mask expression . Dollar symbol is a fixed character, which will be automatically added when user forgets to type it or deleted when user erase all digits.

        
    +        

    With prefix
    Recipes

    Use prefixes to indicate things like currencies, area / phone country codes and etc.

    There are two approaches to add prefix for masked input. Every approach has its own behaviour and requires basic understanding of different core concepts.

    By pattern mask expression

    This example demonstrates how to create prefix via dynamic pattern mask expression . Dollar symbol is a fixed character, which will be automatically added when user forgets to type it or deleted when user erase all digits.

        
         
    -
        
         
    -
        
         
    -
        
         
    -
        
         
    -
    -

    By postprocessor

    This example demonstrates how to create prefix via postprocessor . It provides more flexibility, and you can configure any desired behaviour. You can use built-in maskitoPrefixPostprocessorGenerator or create your own.

    Don't forget that mask property should be compatible with a new prefix!

        
    +

    By postprocessor

    This example demonstrates how to create prefix via postprocessor . It provides more flexibility, and you can configure any desired behaviour. You can use built-in maskitoPrefixPostprocessorGenerator or create your own.

    Don't forget that mask property should be compatible with a new prefix!

        
         
    -
        
         
    -
        
         
    -
        
         
    -
        
         
    -
    -
    - +
    + \ No newline at end of file diff --git a/recipes/textarea/index.html b/recipes/textarea/index.html index b281851e4..db090c234 100644 --- a/recipes/textarea/index.html +++ b/recipes/textarea/index.html @@ -15,51 +15,51 @@ Maskito | Textarea - + -

    Textarea
    Recipes

    You can use Maskito with HTMLTextAreaElement too. API is the same as for HTMLInputElement .

        
    +        

    Textarea
    Recipes

    You can use Maskito with HTMLTextAreaElement too. API is the same as for HTMLInputElement .

        
         
    -
    -

    Learn more in the "Core Concepts" section.

    Latin letters and digits

        
    +

    Learn more in the "Core Concepts" section.

    Latin letters and digits

        
         
    -
        
         
    -
        
         
    -
        
         
    -
        
         
    -
    -
    - +
    + \ No newline at end of file diff --git a/runtime-es2015.2d3125d15684c8a0ebb2.js b/runtime-es2015.2d3125d15684c8a0ebb2.js new file mode 100644 index 000000000..e17d88145 --- /dev/null +++ b/runtime-es2015.2d3125d15684c8a0ebb2.js @@ -0,0 +1 @@ +!function(){"use strict";var e,f={},c={};function d(e){var a=c[e];if(void 0!==a)return a.exports;var t=c[e]={exports:{}};return f[e].call(t.exports,t,t.exports,d),t.exports}d.m=f,e=[],d.O=function(f,c,a,t){if(!c){var b=1/0;for(u=0;u=t)&&Object.keys(d.O).every(function(e){return d.O[e](c[r])})?c.splice(r--,1):(n=!1,t0&&e[u-1][2]>t;u--)e[u]=e[u-1];e[u]=[c,a,t]},d.n=function(e){var f=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(f,{a:f}),f},function(){var e,f=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};d.t=function(c,a){if(1&a&&(c=this(c)),8&a||"object"==typeof c&&c&&(4&a&&c.__esModule||16&a&&"function"==typeof c.then))return c;var t=Object.create(null);d.r(t);var b={};e=e||[null,f({}),f([]),f(f)];for(var n=2&a&&c;"object"==typeof n&&!~e.indexOf(n);n=f(n))Object.getOwnPropertyNames(n).forEach(function(e){b[e]=function(){return c[e]}});return b.default=function(){return c},d.d(t,b),t}}(),d.d=function(e,f){for(var c in f)d.o(f,c)&&!d.o(e,c)&&Object.defineProperty(e,c,{enumerable:!0,get:f[c]})},d.f={},d.e=function(e){return Promise.all(Object.keys(d.f).reduce(function(f,c){return d.f[c](e,f),f},[]))},d.u=function(e){return(8592===e?"common":e)+"-es2015."+{55:"bfddfba4c7e0e9027bb4",87:"2fc100fea7daf4893269",269:"3080fdee6c3c999f45d3",439:"ceede67bef0825cfc6f6",608:"0dc5f74e9de95ed40b8e",664:"c987b325d181b43fd8e4",793:"26a2231e979ab66d792e",960:"71fe9520d7b2e2dd3402",1026:"88c5b36978815caeca0a",1069:"098219b284e355b17e8b",1103:"fe0bb1bbf3be3bcf7960",1127:"379f09cfd2a4e483215b",1165:"2e2b598a57901795fb26",1223:"573220da2fba790037c1",1226:"44069a503a06b54dc5e2",1326:"341f3cd827b4dffb7f7c",1335:"91a7ee960024621a8d1e",1434:"aa846f203e9116a9a04f",1465:"60443d6a9b30ff0ded8f",1508:"127a8122eb1bbfcb77ff",1510:"74d9e688cd2dcf6eb641",1541:"ddf15d1584bace34352a",1865:"92336b28ec1788ee792f",2022:"9bc057b7def41aea3c8d",2049:"d1f67e9dd7982a752194",2092:"2c1cdb0ebc6b7681ea68",2139:"65e40bf444b1198067ff",2362:"e841bd2e0bd541db23ce",2391:"5e34720681514d36e23e",2472:"18bdb3fd43279c2ea957",2473:"d169040c7af25dfb9797",2830:"1c56b036d24d3ce94316",2921:"8ca5af6759001411f6a4",3088:"a32b1a16991dca83b961",3245:"377148a2f3f8fbe96be9",3276:"96bef8582270cf8e5bf8",3355:"7366b3dfd3c52d3dcac1",3360:"c46e86fd25e861766b67",3377:"a34f627847cac94dfadf",3381:"03fa57c5d151c71ec0c3",3506:"fe43a031080a9a5def74",3533:"d540a0f758719e717735",3716:"3f1416b35a3f4b513590",3820:"36a7db2108ecc858dfb3",4047:"49bed69582566d001662",4173:"75db4cd9d644ac22a014",4220:"524fd1d72715e583382c",4249:"b3716868ab4dcfacf487",4272:"ef4b9101aba3e45c036d",4338:"a24efa891d05f7480e37",4356:"f46cabba9b5ec4d240de",4533:"839f938073f2bed72e79",4930:"39d4ba74536c68208717",4947:"9b96165dff9a83903a6d",4992:"cade38328abf2e37fe42",5034:"eaab52eb59dce0cabf90",5088:"3fab1c0590ed9983f062",5097:"08531f13f1e2c5ec61f5",5115:"c204bd1b535362314193",5168:"f6fc6475e9eb7ae729a9",5380:"a7434c7e0f8cd47decce",5439:"7b96819e16ce3059a797",5539:"a3edb0eec955e6c8bcf1",5691:"defd3ac957a9af304c5e",5828:"126da2218bad97b85f52",6180:"88e42c651deaa01471fd",6275:"bdb81442e08ec01f9cb2",6304:"a6e43cc839e9430ffd68",6549:"a6e464dfd2e0ce7be52a",6793:"181dbc15a49a9457a7b1",6880:"3453248881ace3ce2acf",6901:"90f3679eb2507d3ee219",6916:"cd9e224df6c45963a71d",6976:"2bbdd78b2381c69b8a75",6988:"714873f4061e2fe06e86",6990:"547946618b03e08a3199",7027:"528851f35e88e7eb82d0",7057:"8698b1eb0c3487c7d0eb",7217:"84682005c8f282755b47",7383:"d066398255cffc464174",7648:"3e8f55e9faf675bc259c",7681:"4356f3ec0c74a2be42e8",7698:"ad0b62cf4e5008929fbd",7792:"940fc15870a431afe6ed",7891:"878bbf3e0e32ef4fa20e",7948:"d0a10f4c749d78becdac",7989:"d54616aa055f0e9efee2",8307:"bfe077291840b6ddd4ce",8372:"7e788f73d6da46ac7d30",8507:"25411ce2bb83b6b84360",8592:"69f472482428124ab505",8602:"de8340775674556d2ffc",8642:"901e3d108c7c73cb46ce",8644:"7ba8ec24d0c02267d3df",8729:"65c9d890ea61a63d1d7e",8884:"57fec34c768dd40fb97e",8929:"59278267437d9ffbd371",8935:"24ab646a6d91670e4598",8945:"8dac3dccff67e604bb19",9022:"95fe10d17f1f3de37df3",9057:"23d4d755a6c58c0914bc",9176:"22a463c8ddb972f26d4b",9328:"acae07d932cd0ccabc3e",9358:"291a0c6dedee67b5e098",9380:"f35231a557885a2d9c6d",9544:"96066337039564bbf032",9748:"789b9e78f184e32fd921",9899:"7fd066f10d2bebe5de45",9935:"13a36f17a40a1c42311b"}[e]+".js"},d.miniCssF=function(e){return"styles.ffd7c6e55bad49bdeece.css"},d.o=function(e,f){return Object.prototype.hasOwnProperty.call(e,f)},function(){var e={},f="maskito:";d.l=function(c,a,t,b){if(e[c])e[c].push(a);else{var n,r;if(void 0!==t)for(var o=document.getElementsByTagName("script"),u=0;u=t)&&Object.keys(c.O).every(function(e){return c.O[e](f[r])})?f.splice(r--,1):(n=!1,t0&&e[u-1][2]>t;u--)e[u]=e[u-1];e[u]=[f,d,t]},c.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(a,{a}),a},function(){var e,a=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};c.t=function(f,d){if(1&d&&(f=this(f)),8&d||"object"==typeof f&&f&&(4&d&&f.__esModule||16&d&&"function"==typeof f.then))return f;var t=Object.create(null);c.r(t);var b={};e=e||[null,a({}),a([]),a(a)];for(var n=2&d&&f;"object"==typeof n&&!~e.indexOf(n);n=a(n))Object.getOwnPropertyNames(n).forEach(function(e){b[e]=function(){return f[e]}});return b.default=function(){return f},c.d(t,b),t}}(),c.d=function(e,a){for(var f in a)c.o(a,f)&&!c.o(e,f)&&Object.defineProperty(e,f,{enumerable:!0,get:a[f]})},c.f={},c.e=function(e){return Promise.all(Object.keys(c.f).reduce(function(a,f){return c.f[f](e,a),a},[]))},c.u=function(e){return(8592===e?"common":e)+"-es2015."+{55:"8b19aeafad8b05a11897",87:"2fc100fea7daf4893269",269:"3080fdee6c3c999f45d3",439:"3cf99a3d0b2e97503516",608:"0dc5f74e9de95ed40b8e",664:"c987b325d181b43fd8e4",793:"26a2231e979ab66d792e",960:"71fe9520d7b2e2dd3402",1026:"88c5b36978815caeca0a",1069:"098219b284e355b17e8b",1103:"85831e828a782d97108c",1127:"379f09cfd2a4e483215b",1165:"2e2b598a57901795fb26",1223:"573220da2fba790037c1",1226:"44069a503a06b54dc5e2",1326:"8d93b9afe79e05f1fa39",1335:"91a7ee960024621a8d1e",1434:"eac8ab94bd1a37d47922",1465:"60443d6a9b30ff0ded8f",1508:"127a8122eb1bbfcb77ff",1510:"557d417252b251cd5b14",1541:"ddf15d1584bace34352a",1865:"92336b28ec1788ee792f",2022:"6800e09f408c6d0347df",2049:"d1f67e9dd7982a752194",2092:"2c1cdb0ebc6b7681ea68",2139:"6df32a4360396563f0d8",2362:"e841bd2e0bd541db23ce",2391:"5e34720681514d36e23e",2472:"18bdb3fd43279c2ea957",2473:"969cfcc10993ec9de931",2830:"1c56b036d24d3ce94316",2921:"8ca5af6759001411f6a4",3088:"a32b1a16991dca83b961",3245:"377148a2f3f8fbe96be9",3276:"b7749ba46fb8bc0ed97b",3355:"478ac05cc7453f4b5f3f",3360:"c46e86fd25e861766b67",3377:"a34f627847cac94dfadf",3381:"03fa57c5d151c71ec0c3",3506:"73dd9ba2d5b16ff1081f",3533:"d540a0f758719e717735",3716:"3f1416b35a3f4b513590",3820:"4bd7ba62a03c74f1898c",4047:"49bed69582566d001662",4173:"75db4cd9d644ac22a014",4220:"524fd1d72715e583382c",4249:"b3716868ab4dcfacf487",4272:"2ec4b8fb6822d1a50156",4338:"a24efa891d05f7480e37",4356:"f46cabba9b5ec4d240de",4533:"47c7f967a9b7a66d43d7",4930:"39d4ba74536c68208717",4947:"9b96165dff9a83903a6d",4992:"cade38328abf2e37fe42",5034:"eaab52eb59dce0cabf90",5088:"3fab1c0590ed9983f062",5097:"08531f13f1e2c5ec61f5",5115:"829462399cb42cf19646",5168:"f6fc6475e9eb7ae729a9",5380:"c64854e42206ee5b8452",5439:"b13ce56a9c91371fd16f",5539:"a3edb0eec955e6c8bcf1",5691:"defd3ac957a9af304c5e",5828:"ab8928bc056e28227b70",6180:"7b9cc138b27e517bbdd0",6275:"47a563accbe77aa06b32",6304:"a6e43cc839e9430ffd68",6549:"8baa1ec3ea3dfa255e8e",6793:"181dbc15a49a9457a7b1",6880:"3453248881ace3ce2acf",6901:"90f3679eb2507d3ee219",6916:"cd9e224df6c45963a71d",6976:"2bbdd78b2381c69b8a75",6988:"714873f4061e2fe06e86",6990:"547946618b03e08a3199",7027:"f78d80307d56049f7a11",7057:"5113505c60b5c198ba63",7217:"84682005c8f282755b47",7383:"d066398255cffc464174",7648:"3e8f55e9faf675bc259c",7681:"4356f3ec0c74a2be42e8",7698:"ad0b62cf4e5008929fbd",7792:"940fc15870a431afe6ed",7891:"878bbf3e0e32ef4fa20e",7948:"d0a10f4c749d78becdac",7989:"fb4a878ef4702ebae9d7",8307:"bfe077291840b6ddd4ce",8372:"7e788f73d6da46ac7d30",8507:"25411ce2bb83b6b84360",8592:"69f472482428124ab505",8602:"de8340775674556d2ffc",8642:"3826e3da1ffbd5a8f442",8644:"7ba8ec24d0c02267d3df",8729:"65c9d890ea61a63d1d7e",8884:"57fec34c768dd40fb97e",8929:"59278267437d9ffbd371",8935:"24ab646a6d91670e4598",8945:"8dac3dccff67e604bb19",9022:"95fe10d17f1f3de37df3",9057:"23d4d755a6c58c0914bc",9176:"141724e8c916f0856678",9328:"acae07d932cd0ccabc3e",9358:"291a0c6dedee67b5e098",9380:"01e1810f19b5f396da1a",9544:"6dd0e144ec5834a9eaa8",9748:"789b9e78f184e32fd921",9899:"7fd066f10d2bebe5de45",9935:"13a36f17a40a1c42311b"}[e]+".js"},c.miniCssF=function(e){return"styles.f52d0b241e64ac9f7bd9.css"},c.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},function(){var e={},a="maskito:";c.l=function(f,d,t,b){if(e[f])e[f].push(d);else{var n,r;if(void 0!==t)for(var o=document.getElementsByTagName("script"),u=0;u=t)&&Object.keys(d.O).every(function(e){return d.O[e](c[r])})?c.splice(r--,1):(n=!1,t0&&e[u-1][2]>t;u--)e[u]=e[u-1];e[u]=[c,a,t]},d.n=function(e){var f=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(f,{a:f}),f},function(){var e,f=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};d.t=function(c,a){if(1&a&&(c=this(c)),8&a||"object"==typeof c&&c&&(4&a&&c.__esModule||16&a&&"function"==typeof c.then))return c;var t=Object.create(null);d.r(t);var b={};e=e||[null,f({}),f([]),f(f)];for(var n=2&a&&c;"object"==typeof n&&!~e.indexOf(n);n=f(n))Object.getOwnPropertyNames(n).forEach(function(e){b[e]=function(){return c[e]}});return b.default=function(){return c},d.d(t,b),t}}(),d.d=function(e,f){for(var c in f)d.o(f,c)&&!d.o(e,c)&&Object.defineProperty(e,c,{enumerable:!0,get:f[c]})},d.f={},d.e=function(e){return Promise.all(Object.keys(d.f).reduce(function(f,c){return d.f[c](e,f),f},[]))},d.u=function(e){return(8592===e?"common":e)+"-es5."+{55:"bfddfba4c7e0e9027bb4",87:"2fc100fea7daf4893269",269:"3080fdee6c3c999f45d3",439:"ceede67bef0825cfc6f6",608:"0dc5f74e9de95ed40b8e",664:"c987b325d181b43fd8e4",793:"26a2231e979ab66d792e",960:"71fe9520d7b2e2dd3402",1026:"88c5b36978815caeca0a",1069:"098219b284e355b17e8b",1103:"fe0bb1bbf3be3bcf7960",1127:"379f09cfd2a4e483215b",1165:"2e2b598a57901795fb26",1223:"573220da2fba790037c1",1226:"44069a503a06b54dc5e2",1326:"341f3cd827b4dffb7f7c",1335:"91a7ee960024621a8d1e",1434:"aa846f203e9116a9a04f",1465:"60443d6a9b30ff0ded8f",1508:"127a8122eb1bbfcb77ff",1510:"74d9e688cd2dcf6eb641",1541:"ddf15d1584bace34352a",1865:"92336b28ec1788ee792f",2022:"9bc057b7def41aea3c8d",2049:"d1f67e9dd7982a752194",2092:"2c1cdb0ebc6b7681ea68",2139:"65e40bf444b1198067ff",2362:"e841bd2e0bd541db23ce",2391:"5e34720681514d36e23e",2472:"18bdb3fd43279c2ea957",2473:"d169040c7af25dfb9797",2830:"1c56b036d24d3ce94316",2921:"8ca5af6759001411f6a4",3088:"a32b1a16991dca83b961",3245:"377148a2f3f8fbe96be9",3276:"96bef8582270cf8e5bf8",3355:"7366b3dfd3c52d3dcac1",3360:"c46e86fd25e861766b67",3377:"a34f627847cac94dfadf",3381:"03fa57c5d151c71ec0c3",3506:"fe43a031080a9a5def74",3533:"d540a0f758719e717735",3716:"3f1416b35a3f4b513590",3820:"36a7db2108ecc858dfb3",4047:"49bed69582566d001662",4173:"75db4cd9d644ac22a014",4220:"524fd1d72715e583382c",4249:"b3716868ab4dcfacf487",4272:"ef4b9101aba3e45c036d",4338:"a24efa891d05f7480e37",4356:"f46cabba9b5ec4d240de",4533:"839f938073f2bed72e79",4930:"39d4ba74536c68208717",4947:"9b96165dff9a83903a6d",4992:"cade38328abf2e37fe42",5034:"eaab52eb59dce0cabf90",5088:"3fab1c0590ed9983f062",5097:"08531f13f1e2c5ec61f5",5115:"c204bd1b535362314193",5168:"f6fc6475e9eb7ae729a9",5380:"a7434c7e0f8cd47decce",5439:"7b96819e16ce3059a797",5539:"a3edb0eec955e6c8bcf1",5691:"defd3ac957a9af304c5e",5828:"126da2218bad97b85f52",6180:"88e42c651deaa01471fd",6275:"bdb81442e08ec01f9cb2",6304:"a6e43cc839e9430ffd68",6549:"a6e464dfd2e0ce7be52a",6793:"181dbc15a49a9457a7b1",6880:"3453248881ace3ce2acf",6901:"90f3679eb2507d3ee219",6916:"cd9e224df6c45963a71d",6976:"2bbdd78b2381c69b8a75",6988:"714873f4061e2fe06e86",6990:"547946618b03e08a3199",7027:"528851f35e88e7eb82d0",7057:"8698b1eb0c3487c7d0eb",7217:"84682005c8f282755b47",7383:"d066398255cffc464174",7648:"3e8f55e9faf675bc259c",7681:"4356f3ec0c74a2be42e8",7698:"ad0b62cf4e5008929fbd",7792:"940fc15870a431afe6ed",7891:"878bbf3e0e32ef4fa20e",7948:"d0a10f4c749d78becdac",7989:"d54616aa055f0e9efee2",8307:"bfe077291840b6ddd4ce",8372:"7e788f73d6da46ac7d30",8507:"25411ce2bb83b6b84360",8592:"69f472482428124ab505",8602:"de8340775674556d2ffc",8642:"901e3d108c7c73cb46ce",8644:"7ba8ec24d0c02267d3df",8729:"65c9d890ea61a63d1d7e",8884:"57fec34c768dd40fb97e",8929:"59278267437d9ffbd371",8935:"24ab646a6d91670e4598",8945:"8dac3dccff67e604bb19",9022:"95fe10d17f1f3de37df3",9057:"23d4d755a6c58c0914bc",9176:"22a463c8ddb972f26d4b",9328:"acae07d932cd0ccabc3e",9358:"291a0c6dedee67b5e098",9380:"f35231a557885a2d9c6d",9544:"96066337039564bbf032",9748:"789b9e78f184e32fd921",9899:"7fd066f10d2bebe5de45",9935:"13a36f17a40a1c42311b"}[e]+".js"},d.miniCssF=function(e){return"styles.ffd7c6e55bad49bdeece.css"},d.o=function(e,f){return Object.prototype.hasOwnProperty.call(e,f)},function(){var e={},f="maskito:";d.l=function(c,a,t,b){if(e[c])e[c].push(a);else{var n,r;if(void 0!==t)for(var o=document.getElementsByTagName("script"),u=0;u=t)&&Object.keys(c.O).every(function(e){return c.O[e](f[r])})?f.splice(r--,1):(n=!1,t0&&e[u-1][2]>t;u--)e[u]=e[u-1];e[u]=[f,d,t]},c.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(a,{a:a}),a},function(){var e,a=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};c.t=function(f,d){if(1&d&&(f=this(f)),8&d||"object"==typeof f&&f&&(4&d&&f.__esModule||16&d&&"function"==typeof f.then))return f;var t=Object.create(null);c.r(t);var b={};e=e||[null,a({}),a([]),a(a)];for(var n=2&d&&f;"object"==typeof n&&!~e.indexOf(n);n=a(n))Object.getOwnPropertyNames(n).forEach(function(e){b[e]=function(){return f[e]}});return b.default=function(){return f},c.d(t,b),t}}(),c.d=function(e,a){for(var f in a)c.o(a,f)&&!c.o(e,f)&&Object.defineProperty(e,f,{enumerable:!0,get:a[f]})},c.f={},c.e=function(e){return Promise.all(Object.keys(c.f).reduce(function(a,f){return c.f[f](e,a),a},[]))},c.u=function(e){return(8592===e?"common":e)+"-es5."+{55:"8b19aeafad8b05a11897",87:"2fc100fea7daf4893269",269:"3080fdee6c3c999f45d3",439:"3cf99a3d0b2e97503516",608:"0dc5f74e9de95ed40b8e",664:"c987b325d181b43fd8e4",793:"26a2231e979ab66d792e",960:"71fe9520d7b2e2dd3402",1026:"88c5b36978815caeca0a",1069:"098219b284e355b17e8b",1103:"85831e828a782d97108c",1127:"379f09cfd2a4e483215b",1165:"2e2b598a57901795fb26",1223:"573220da2fba790037c1",1226:"44069a503a06b54dc5e2",1326:"8d93b9afe79e05f1fa39",1335:"91a7ee960024621a8d1e",1434:"eac8ab94bd1a37d47922",1465:"60443d6a9b30ff0ded8f",1508:"127a8122eb1bbfcb77ff",1510:"557d417252b251cd5b14",1541:"ddf15d1584bace34352a",1865:"92336b28ec1788ee792f",2022:"6800e09f408c6d0347df",2049:"d1f67e9dd7982a752194",2092:"2c1cdb0ebc6b7681ea68",2139:"6df32a4360396563f0d8",2362:"e841bd2e0bd541db23ce",2391:"5e34720681514d36e23e",2472:"18bdb3fd43279c2ea957",2473:"969cfcc10993ec9de931",2830:"1c56b036d24d3ce94316",2921:"8ca5af6759001411f6a4",3088:"a32b1a16991dca83b961",3245:"377148a2f3f8fbe96be9",3276:"b7749ba46fb8bc0ed97b",3355:"478ac05cc7453f4b5f3f",3360:"c46e86fd25e861766b67",3377:"a34f627847cac94dfadf",3381:"03fa57c5d151c71ec0c3",3506:"73dd9ba2d5b16ff1081f",3533:"d540a0f758719e717735",3716:"3f1416b35a3f4b513590",3820:"4bd7ba62a03c74f1898c",4047:"49bed69582566d001662",4173:"75db4cd9d644ac22a014",4220:"524fd1d72715e583382c",4249:"b3716868ab4dcfacf487",4272:"2ec4b8fb6822d1a50156",4338:"a24efa891d05f7480e37",4356:"f46cabba9b5ec4d240de",4533:"47c7f967a9b7a66d43d7",4930:"39d4ba74536c68208717",4947:"9b96165dff9a83903a6d",4992:"cade38328abf2e37fe42",5034:"eaab52eb59dce0cabf90",5088:"3fab1c0590ed9983f062",5097:"08531f13f1e2c5ec61f5",5115:"829462399cb42cf19646",5168:"f6fc6475e9eb7ae729a9",5380:"c64854e42206ee5b8452",5439:"b13ce56a9c91371fd16f",5539:"a3edb0eec955e6c8bcf1",5691:"defd3ac957a9af304c5e",5828:"ab8928bc056e28227b70",6180:"7b9cc138b27e517bbdd0",6275:"47a563accbe77aa06b32",6304:"a6e43cc839e9430ffd68",6549:"8baa1ec3ea3dfa255e8e",6793:"181dbc15a49a9457a7b1",6880:"3453248881ace3ce2acf",6901:"90f3679eb2507d3ee219",6916:"cd9e224df6c45963a71d",6976:"2bbdd78b2381c69b8a75",6988:"714873f4061e2fe06e86",6990:"547946618b03e08a3199",7027:"f78d80307d56049f7a11",7057:"5113505c60b5c198ba63",7217:"84682005c8f282755b47",7383:"d066398255cffc464174",7648:"3e8f55e9faf675bc259c",7681:"4356f3ec0c74a2be42e8",7698:"ad0b62cf4e5008929fbd",7792:"940fc15870a431afe6ed",7891:"878bbf3e0e32ef4fa20e",7948:"d0a10f4c749d78becdac",7989:"fb4a878ef4702ebae9d7",8307:"bfe077291840b6ddd4ce",8372:"7e788f73d6da46ac7d30",8507:"25411ce2bb83b6b84360",8592:"69f472482428124ab505",8602:"de8340775674556d2ffc",8642:"3826e3da1ffbd5a8f442",8644:"7ba8ec24d0c02267d3df",8729:"65c9d890ea61a63d1d7e",8884:"57fec34c768dd40fb97e",8929:"59278267437d9ffbd371",8935:"24ab646a6d91670e4598",8945:"8dac3dccff67e604bb19",9022:"95fe10d17f1f3de37df3",9057:"23d4d755a6c58c0914bc",9176:"141724e8c916f0856678",9328:"acae07d932cd0ccabc3e",9358:"291a0c6dedee67b5e098",9380:"01e1810f19b5f396da1a",9544:"6dd0e144ec5834a9eaa8",9748:"789b9e78f184e32fd921",9899:"7fd066f10d2bebe5de45",9935:"13a36f17a40a1c42311b"}[e]+".js"},c.miniCssF=function(e){return"styles.f52d0b241e64ac9f7bd9.css"},c.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},function(){var e={},a="maskito:";c.l=function(f,d,t,b){if(e[f])e[f].push(d);else{var n,r;if(void 0!==t)for(var o=document.getElementsByTagName("script"),u=0;u Maskito | Stackblitz Starter - -
    Stackblitz loading...
    - +
    Stackblitz loading...
    + \ No newline at end of file diff --git a/styles.f52d0b241e64ac9f7bd9.css b/styles.f52d0b241e64ac9f7bd9.css deleted file mode 100644 index 8cfab659e..000000000 --- a/styles.f52d0b241e64ac9f7bd9.css +++ /dev/null @@ -1 +0,0 @@ -:root{--tui-heading-font:"Manrope",-apple-system,"BlinkMacSystemFont",system-ui,"Roboto","Segoe UI","Helvetica Neue",sans-serif;--tui-text-font:"Manrope",-apple-system,"BlinkMacSystemFont",system-ui,"Roboto","Segoe UI","Helvetica Neue",sans-serif;--tui-font-heading:var(--tui-heading-font);--tui-font-heading-1:bold 3.125rem/3.5rem var(--tui-font-heading);--tui-font-heading-2:bold 2.75rem/3rem var(--tui-font-heading);--tui-font-heading-3:bold 2.25rem/2.5rem var(--tui-font-heading);--tui-font-heading-4:bold 1.75rem/2rem var(--tui-font-heading);--tui-font-heading-5:bold 1.5rem/1.75rem var(--tui-font-heading);--tui-font-heading-6:bold 1.25rem/1.5rem var(--tui-font-heading);--tui-font-text:var(--tui-text-font);--tui-font-text-xl:normal 1.1875rem/1.75rem var(--tui-font-text);--tui-font-text-l:normal 1.0625rem/1.75rem var(--tui-font-text);--tui-font-text-l-2:normal 1.0625rem/1.5rem var(--tui-font-text);--tui-font-text-m:normal 1rem/1.5rem var(--tui-font-text);--tui-font-text-m-2:normal 1rem/1.25rem var(--tui-font-text);--tui-font-text-s:normal 0.8125rem/1.25rem var(--tui-font-text);--tui-font-text-s-2:normal 0.8125rem/1rem var(--tui-font-text);--tui-font-text-xs:normal 0.6875rem/1rem var(--tui-font-text);--tui-font-text-xs-2:normal 0.6875rem/0.8125rem var(--tui-font-text);--tui-radius-xs:0.25rem;--tui-radius-s:0.5rem;--tui-radius-m:0.75rem;--tui-radius-l:0.75rem;--tui-radius-xl:1.5rem;--tui-height-xs:1.5rem;--tui-height-s:2rem;--tui-height-m:2.75rem;--tui-height-l:3.5rem;--tui-padding-s:0.75rem;--tui-padding-m:0.75rem;--tui-padding-l:1rem;--tui-duration:0.3s;--tui-backdrop:none;--tui-disabled-opacity:0.56;--tui-autofill:#fff5c0;--tui-base-01:#fff;--tui-base-02:#f6f6f6;--tui-base-03:#ededed;--tui-base-04:#d7d7d7;--tui-base-05:#b0b0b0;--tui-base-06:#959595;--tui-base-07:grey;--tui-base-08:#333;--tui-base-09:#000;--tui-primary:#526ed3;--tui-primary-hover:#6c86e2;--tui-primary-active:#314692;--tui-primary-text:#fff;--tui-secondary:#ebefff;--tui-secondary-hover:#dfe3f3;--tui-secondary-active:#d8ddf2;--tui-accent:#ff7043;--tui-accent-hover:#ff9a94;--tui-accent-active:#e7716a;--tui-accent-text:#fff;--tui-selection:#70b6f61f;--tui-focus:#333333a3;--tui-clear:#0000000a;--tui-clear-disabled:#0000000a;--tui-clear-hover:#00000029;--tui-clear-active:#0003;--tui-clear-inverse:#ffffff29;--tui-clear-inverse-hover:#ffffff3d;--tui-clear-inverse-active:#fff6;--tui-elevation-01:#fff;--tui-elevation-02:#fff;--tui-error-fill:#f45725;--tui-error-bg:#f457251f;--tui-error-bg-hover:#f457253d;--tui-success-fill:#4ac99b;--tui-success-bg:#4ac99b1f;--tui-success-bg-hover:#4ac99b3d;--tui-warning-fill:#ffc700;--tui-warning-bg:#ffc7001f;--tui-warning-bg-hover:#ffc7003d;--tui-info-fill:#70b6f6;--tui-info-bg:#70b6f61f;--tui-info-bg-hover:#70b6f63d;--tui-neutral-fill:#79818c;--tui-neutral-bg:#79818c1f;--tui-neutral-bg-hover:#79818c3d;--tui-text-01:#1b1f3b;--tui-text-02:#1b1f3ba6;--tui-text-03:#1b1f3b66;--tui-link:#526ed3;--tui-link-hover:#6c86e2;--tui-positive:#3aa981;--tui-positive-hover:#7ac5aa;--tui-negative:#dd4c1e;--tui-negative-hover:#e38163;--tui-error-fill-night:#ff8c67;--tui-error-bg-night:#f4572552;--tui-error-bg-night-hover:#f4572566;--tui-success-fill-night:#4ac99b;--tui-success-bg-night:#4ac99b52;--tui-success-bg-night-hover:#4ac99b66;--tui-warning-fill-night:#ffc700;--tui-warning-bg-night:#ffc70052;--tui-warning-bg-night-hover:#ffc70066;--tui-info-fill-night:#70b6f6;--tui-info-bg-night:#70b6f652;--tui-info-bg-night-hover:#70b6f666;--tui-neutral-fill-night:#959ba4;--tui-neutral-bg-night:#959ba452;--tui-neutral-bg-night-hover:#959ba47a;--tui-autofill-night:#554a2a;--tui-text-01-night:#fff;--tui-text-02-night:#ffffffb8;--tui-text-03-night:#fff9;--tui-link-night:#6788ff;--tui-link-night-hover:#526ed3;--tui-positive-night:#44c596;--tui-positive-night-hover:#3aa981;--tui-negative-night:#ff8c67;--tui-negative-night-hover:#bb593a;--tui-support-01:#a8cef1;--tui-support-02:#3682db;--tui-support-03:#8dda71;--tui-support-04:#34b41f;--tui-support-05:#e29398;--tui-support-06:#b8474e;--tui-support-07:#fcc068;--tui-support-08:#ff8a00;--tui-support-09:#dab3f9;--tui-support-10:#7b439e;--tui-support-11:#fee797;--tui-support-12:#fcbb14;--tui-support-13:#ea97c4;--tui-support-14:#bd65a4;--tui-support-15:#7fd7cc;--tui-support-16:#2fad96;--tui-support-17:#d4aca2;--tui-support-18:#9d6f64;--tui-support-19:#d2e9a2;--tui-support-20:#aadc42;--tui-support-21:#a0c5df;--tui-chart-0:var(--tui-primary);--tui-chart-1:var(--tui-support-13);--tui-chart-2:var(--tui-support-21);--tui-chart-3:var(--tui-support-11);--tui-chart-4:var(--tui-base-05)}[tuiTheme=night]{--tui-base-01:#222;--tui-base-02:#333;--tui-base-03:grey;--tui-base-04:#959595;--tui-base-05:#b0b0b0;--tui-base-06:#d7d7d7;--tui-base-07:#ededed;--tui-base-08:#f6f6f6;--tui-base-09:#fff;--tui-focus:#333333a3;--tui-secondary:#ffffff29;--tui-secondary-hover:#ffffff3d;--tui-secondary-active:#fff6;--tui-clear:#ffffff29;--tui-clear-disabled:#ffffff14;--tui-clear-hover:#ffffff3d;--tui-clear-active:#fff6;--tui-error-fill:#ff8c67;--tui-error-bg:#f4572552;--tui-error-bg-hover:#f4572566;--tui-success-fill:#4ac99b;--tui-success-bg:#4ac99b52;--tui-success-bg-hover:#4ac99b66;--tui-warning-fill:#ffc700;--tui-warning-bg:#ffc70052;--tui-warning-bg-hover:#ffc70066;--tui-info-fill:#70b6f6;--tui-info-bg:#70b6f652;--tui-info-bg-hover:#70b6f666;--tui-neutral-fill:#959ba4;--tui-neutral-bg:#959ba452;--tui-neutral-bg-hover:#959ba47a;--tui-text-01:#fff;--tui-text-02:#ffffffb8;--tui-text-03:#fff9;--tui-link:#6788ff;--tui-link-hover:#526ed3;--tui-positive:#44c596;--tui-positive-hover:#3aa981;--tui-negative:#ff8c67;--tui-negative-hover:#bb593a;--tui-autofill:var(--tui-autofill-night);--tui-elevation-01:#222;--tui-elevation-02:#222}[tuiTheme=night] tui-notification{--tui-base-01:#000}[tuiAppearance]{transition-property:color,background,opacity,box-shadow;transition-duration:var(--tui-duration,.3s);transition-timing-function:ease-in-out;position:relative;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:.125rem solid #0000;outline-offset:-.125rem}[tuiAppearance]:focus-visible:not([data-focus=false]),[tuiAppearance][data-focus=true]{outline-color:var(--tui-focus)}[tuiAppearance]:disabled:not([data-state]),[tuiAppearance][data-state=disabled]{pointer-events:none;opacity:var(--tui-disabled-opacity)}[tuiAppearance][data-appearance=accent]{background:var(--tui-accent);color:var(--tui-accent-text)}@media (hover: hover){[tuiAppearance][data-appearance=accent]:-webkit-any(a,button,select,textarea,input):hover:not([data-state]){background:var(--tui-accent-hover)}}@media (hover: hover){[tuiAppearance][data-appearance=accent]:-moz-any(a,button,select,textarea,input):hover:not([data-state]){background:var(--tui-accent-hover)}}[tuiAppearance][data-appearance=accent][data-state=hover]{background:var(--tui-accent-hover)}[tuiAppearance][data-appearance=accent]:-webkit-any(a,button,select,textarea,input):active:not([data-state]){background:var(--tui-accent-active)}[tuiAppearance][data-appearance=accent]:-moz-any(a,button,select,textarea,input):active:not([data-state]){background:var(--tui-accent-active)}[tuiAppearance][data-appearance=accent][data-state=active]{background:var(--tui-accent-active)}[tuiAppearance][data-appearance=floating]{background:#fff;color:#000c;box-shadow:0 .25rem 1.25rem #0000001a}@media (hover: hover){[tuiAppearance][data-appearance=floating]:-webkit-any(a,button,select,textarea,input):hover:not([data-state]){box-shadow:0 .875rem 2.625rem #00000024}}@media (hover: hover){[tuiAppearance][data-appearance=floating]:-moz-any(a,button,select,textarea,input):hover:not([data-state]){box-shadow:0 .875rem 2.625rem #00000024}}[tuiAppearance][data-appearance=floating][data-state=hover]{box-shadow:0 .875rem 2.625rem #00000024}[tuiAppearance][data-appearance=floating]:-webkit-any(a,button,select,textarea,input):active:not([data-state]){background:#f6f7f8;box-shadow:0 .25rem 1.25rem #0000001a}[tuiAppearance][data-appearance=floating]:-moz-any(a,button,select,textarea,input):active:not([data-state]){background:#f6f7f8;box-shadow:0 .25rem 1.25rem #0000001a}[tuiAppearance][data-appearance=floating][data-state=active]{background:#f6f7f8;box-shadow:0 .25rem 1.25rem #0000001a}[tuiAppearance][data-appearance=glass]{background:#0006;color:#fff;-webkit-backdrop-filter:blur(1rem);backdrop-filter:blur(1rem);--tui-focus:#ffffffa3}@media (hover: hover){[tuiAppearance][data-appearance=glass]:-webkit-any(a,button,select,textarea,input):hover:not([data-state]){background:#0000007a}}@media (hover: hover){[tuiAppearance][data-appearance=glass]:-moz-any(a,button,select,textarea,input):hover:not([data-state]){background:#0000007a}}[tuiAppearance][data-appearance=glass][data-state=hover]{background:#0000007a}[tuiAppearance][data-appearance=glass]:-webkit-any(a,button,select,textarea,input):active:not([data-state]){background:#0009}[tuiAppearance][data-appearance=glass]:-moz-any(a,button,select,textarea,input):active:not([data-state]){background:#0009}[tuiAppearance][data-appearance=glass][data-state=active]{background:#0009}[tuiTheme=night] [tuiAppearance][data-appearance=glass]{background:#ffffff4d}@media (hover: hover){[tuiTheme=night] [tuiAppearance][data-appearance=glass]:-webkit-any(a,button,select,textarea,input):hover:not([data-state]){background:#fff6}}@media (hover: hover){[tuiTheme=night] [tuiAppearance][data-appearance=glass]:-moz-any(a,button,select,textarea,input):hover:not([data-state]){background:#fff6}}[tuiTheme=night] [tuiAppearance][data-appearance=glass][data-state=hover]{background:#fff6}[tuiTheme=night] [tuiAppearance][data-appearance=glass]:-webkit-any(a,button,select,textarea,input):active:not([data-state]){background:#ffffff80}[tuiTheme=night] [tuiAppearance][data-appearance=glass]:-moz-any(a,button,select,textarea,input):active:not([data-state]){background:#ffffff80}[tuiTheme=night] [tuiAppearance][data-appearance=glass][data-state=active]{background:#ffffff80}[tuiAppearance][data-appearance=icon]{color:var(--tui-text-03)}@media (hover: hover){[tuiAppearance][data-appearance=icon]:-webkit-any(a,button,select,textarea,input):hover:not([data-state]){color:var(--tui-text-02)}}@media (hover: hover){[tuiAppearance][data-appearance=icon]:-moz-any(a,button,select,textarea,input):hover:not([data-state]){color:var(--tui-text-02)}}[tuiAppearance][data-appearance=icon][data-state=hover]{color:var(--tui-text-02)}[tuiAppearance][data-appearance=icon]:-webkit-any(a,button,select,textarea,input):active:not([data-state]){color:var(--tui-text-01)}[tuiAppearance][data-appearance=icon]:-moz-any(a,button,select,textarea,input):active:not([data-state]){color:var(--tui-text-01)}[tuiAppearance][data-appearance=icon][data-state=active]{color:var(--tui-text-01)}[tuiAppearance][data-appearance=opposite]{background:#000;color:#fff;--tui-focus:#ffffffa3}@media (hover: hover){[tuiAppearance][data-appearance=opposite]:-webkit-any(a,button,select,textarea,input):hover:not([data-state]){background:#333}}@media (hover: hover){[tuiAppearance][data-appearance=opposite]:-moz-any(a,button,select,textarea,input):hover:not([data-state]){background:#333}}[tuiAppearance][data-appearance=opposite][data-state=hover]{background:#333}[tuiAppearance][data-appearance=opposite]:-webkit-any(a,button,select,textarea,input):active:not([data-state]){background:#5c636b}[tuiAppearance][data-appearance=opposite]:-moz-any(a,button,select,textarea,input):active:not([data-state]){background:#5c636b}[tuiAppearance][data-appearance=opposite][data-state=active]{background:#5c636b}[tuiTheme=night] [tuiAppearance][data-appearance=opposite]{color:#000c;background:#fff;--tui-focus:#3333337a}@media (hover: hover){[tuiTheme=night] [tuiAppearance][data-appearance=opposite]:-webkit-any(a,button,select,textarea,input):hover:not([data-state]){background:#f3f4f6}}@media (hover: hover){[tuiTheme=night] [tuiAppearance][data-appearance=opposite]:-moz-any(a,button,select,textarea,input):hover:not([data-state]){background:#f3f4f6}}[tuiTheme=night] [tuiAppearance][data-appearance=opposite][data-state=hover]{background:#f3f4f6}[tuiTheme=night] [tuiAppearance][data-appearance=opposite]:-webkit-any(a,button,select,textarea,input):active:not([data-state]){background:#eaecee}[tuiTheme=night] [tuiAppearance][data-appearance=opposite]:-moz-any(a,button,select,textarea,input):active:not([data-state]){background:#eaecee}[tuiTheme=night] [tuiAppearance][data-appearance=opposite][data-state=active]{background:#eaecee}[tuiAppearance][data-appearance=outline]{background:#0000;color:var(--tui-link);box-shadow:inset 0 0 0 1px var(--tui-base-04)}@media (hover: hover){[tuiAppearance][data-appearance=outline]:-webkit-any(a,button,select,textarea,input):hover:not([data-state]){background:var(--tui-clear);box-shadow:inset 0 0 0 1px var(--tui-base-05)}}@media (hover: hover){[tuiAppearance][data-appearance=outline]:-moz-any(a,button,select,textarea,input):hover:not([data-state]){background:var(--tui-clear);box-shadow:inset 0 0 0 1px var(--tui-base-05)}}[tuiAppearance][data-appearance=outline][data-state=hover]{background:var(--tui-clear);box-shadow:inset 0 0 0 1px var(--tui-base-05)}[tuiAppearance][data-appearance=outline]:-webkit-any(a,button,select,textarea,input):active:not([data-state]){background:var(--tui-clear);box-shadow:inset 0 0 0 1px var(--tui-base-06)}[tuiAppearance][data-appearance=outline]:-moz-any(a,button,select,textarea,input):active:not([data-state]){background:var(--tui-clear);box-shadow:inset 0 0 0 1px var(--tui-base-06)}[tuiAppearance][data-appearance=outline][data-state=active]{background:var(--tui-clear);box-shadow:inset 0 0 0 1px var(--tui-base-06)}[tuiAppearance][data-appearance=outline]:checked{box-shadow:inset 0 0 0 2px var(--tui-primary)}@media (hover: hover){[tuiAppearance][data-appearance=outline]:checked:-webkit-any(a,button,select,textarea,input):hover:not([data-state]){box-shadow:inset 0 0 0 2px var(--tui-primary-hover)}}@media (hover: hover){[tuiAppearance][data-appearance=outline]:checked:-moz-any(a,button,select,textarea,input):hover:not([data-state]){box-shadow:inset 0 0 0 2px var(--tui-primary-hover)}}[tuiAppearance][data-appearance=outline]:checked[data-state=hover]{box-shadow:inset 0 0 0 2px var(--tui-primary-hover)}[tuiAppearance][data-appearance=outline]:checked:-webkit-any(a,button,select,textarea,input):active:not([data-state]){box-shadow:inset 0 0 0 2px var(--tui-primary-active)}[tuiAppearance][data-appearance=outline]:checked:-moz-any(a,button,select,textarea,input):active:not([data-state]){box-shadow:inset 0 0 0 2px var(--tui-primary-active)}[tuiAppearance][data-appearance=outline]:checked[data-state=active]{box-shadow:inset 0 0 0 2px var(--tui-primary-active)}[tuiAppearance][data-appearance=primary]{background:var(--tui-primary);color:var(--tui-primary-text)}@media (hover: hover){[tuiAppearance][data-appearance=primary]:-webkit-any(a,button,select,textarea,input):hover:not([data-state]){background:var(--tui-primary-hover)}}@media (hover: hover){[tuiAppearance][data-appearance=primary]:-moz-any(a,button,select,textarea,input):hover:not([data-state]){background:var(--tui-primary-hover)}}[tuiAppearance][data-appearance=primary][data-state=hover]{background:var(--tui-primary-hover)}[tuiAppearance][data-appearance=primary]:-webkit-any(a,button,select,textarea,input):active:not([data-state]){background:var(--tui-primary-active)}[tuiAppearance][data-appearance=primary]:-moz-any(a,button,select,textarea,input):active:not([data-state]){background:var(--tui-primary-active)}[tuiAppearance][data-appearance=primary][data-state=active]{background:var(--tui-primary-active)}[tuiAppearance][data-appearance=destructive],[tuiAppearance][data-appearance=flat],[tuiAppearance][data-appearance=secondary]{background:var(--tui-secondary);color:var(--tui-link)}@media (hover: hover){[tuiAppearance][data-appearance=destructive]:-webkit-any(a,button,select,textarea,input):hover:not([data-state]),[tuiAppearance][data-appearance=flat]:-webkit-any(a,button,select,textarea,input):hover:not([data-state]),[tuiAppearance][data-appearance=secondary]:-webkit-any(a,button,select,textarea,input):hover:not([data-state]){background:var(--tui-secondary-hover)}}@media (hover: hover){[tuiAppearance][data-appearance=destructive]:-moz-any(a,button,select,textarea,input):hover:not([data-state]),[tuiAppearance][data-appearance=flat]:-moz-any(a,button,select,textarea,input):hover:not([data-state]),[tuiAppearance][data-appearance=secondary]:-moz-any(a,button,select,textarea,input):hover:not([data-state]){background:var(--tui-secondary-hover)}}[tuiAppearance][data-appearance=destructive][data-state=hover],[tuiAppearance][data-appearance=flat][data-state=hover],[tuiAppearance][data-appearance=secondary][data-state=hover]{background:var(--tui-secondary-hover)}[tuiAppearance][data-appearance=destructive]:-webkit-any(a,button,select,textarea,input):active:not([data-state]),[tuiAppearance][data-appearance=flat]:-webkit-any(a,button,select,textarea,input):active:not([data-state]),[tuiAppearance][data-appearance=secondary]:-webkit-any(a,button,select,textarea,input):active:not([data-state]){background:var(--tui-secondary-active)}[tuiAppearance][data-appearance=destructive]:-moz-any(a,button,select,textarea,input):active:not([data-state]),[tuiAppearance][data-appearance=flat]:-moz-any(a,button,select,textarea,input):active:not([data-state]),[tuiAppearance][data-appearance=secondary]:-moz-any(a,button,select,textarea,input):active:not([data-state]){background:var(--tui-secondary-active)}[tuiAppearance][data-appearance=destructive][data-state=active],[tuiAppearance][data-appearance=flat][data-state=active],[tuiAppearance][data-appearance=secondary][data-state=active]{background:var(--tui-secondary-active)}[tuiAppearance][data-appearance=flat]{background:#0000}[tuiAppearance][data-appearance=destructive]{color:var(--tui-negative)}[tuiAppearance][data-appearance=error]{color:var(--tui-text-01);background:var(--tui-error-bg)}@media (hover: hover){[tuiAppearance][data-appearance=error]:-webkit-any(a,button,select,textarea,input):hover:not([data-state]){background:var(--tui-error-bg-hover)}}@media (hover: hover){[tuiAppearance][data-appearance=error]:-moz-any(a,button,select,textarea,input):hover:not([data-state]){background:var(--tui-error-bg-hover)}}[tuiAppearance][data-appearance=error][data-state=hover]{background:var(--tui-error-bg-hover)}[tuiAppearance][data-appearance=error]:-webkit-any(a,button,select,textarea,input):active:not([data-state]){background:var(--tui-error-bg-hover)}[tuiAppearance][data-appearance=error]:-moz-any(a,button,select,textarea,input):active:not([data-state]){background:var(--tui-error-bg-hover)}[tuiAppearance][data-appearance=error][data-state=active]{background:var(--tui-error-bg-hover)}[tuiAppearance][data-appearance=success]{color:var(--tui-text-01);background:var(--tui-success-bg)}@media (hover: hover){[tuiAppearance][data-appearance=success]:-webkit-any(a,button,select,textarea,input):hover:not([data-state]){background:var(--tui-success-bg-hover)}}@media (hover: hover){[tuiAppearance][data-appearance=success]:-moz-any(a,button,select,textarea,input):hover:not([data-state]){background:var(--tui-success-bg-hover)}}[tuiAppearance][data-appearance=success][data-state=hover]{background:var(--tui-success-bg-hover)}[tuiAppearance][data-appearance=success]:-webkit-any(a,button,select,textarea,input):active:not([data-state]){background:var(--tui-success-bg-hover)}[tuiAppearance][data-appearance=success]:-moz-any(a,button,select,textarea,input):active:not([data-state]){background:var(--tui-success-bg-hover)}[tuiAppearance][data-appearance=success][data-state=active]{background:var(--tui-success-bg-hover)}[tuiAppearance][data-appearance=warning]{color:var(--tui-text-01);background:var(--tui-warning-bg)}@media (hover: hover){[tuiAppearance][data-appearance=warning]:-webkit-any(a,button,select,textarea,input):hover:not([data-state]){background:var(--tui-warning-bg-hover)}}@media (hover: hover){[tuiAppearance][data-appearance=warning]:-moz-any(a,button,select,textarea,input):hover:not([data-state]){background:var(--tui-warning-bg-hover)}}[tuiAppearance][data-appearance=warning][data-state=hover]{background:var(--tui-warning-bg-hover)}[tuiAppearance][data-appearance=warning]:-webkit-any(a,button,select,textarea,input):active:not([data-state]){background:var(--tui-warning-bg-hover)}[tuiAppearance][data-appearance=warning]:-moz-any(a,button,select,textarea,input):active:not([data-state]){background:var(--tui-warning-bg-hover)}[tuiAppearance][data-appearance=warning][data-state=active]{background:var(--tui-warning-bg-hover)}[tuiAppearance][data-appearance=info]{color:var(--tui-text-01);background:var(--tui-info-bg)}@media (hover: hover){[tuiAppearance][data-appearance=info]:-webkit-any(a,button,select,textarea,input):hover:not([data-state]){background:var(--tui-info-bg-hover)}}@media (hover: hover){[tuiAppearance][data-appearance=info]:-moz-any(a,button,select,textarea,input):hover:not([data-state]){background:var(--tui-info-bg-hover)}}[tuiAppearance][data-appearance=info][data-state=hover]{background:var(--tui-info-bg-hover)}[tuiAppearance][data-appearance=info]:-webkit-any(a,button,select,textarea,input):active:not([data-state]){background:var(--tui-info-bg-hover)}[tuiAppearance][data-appearance=info]:-moz-any(a,button,select,textarea,input):active:not([data-state]){background:var(--tui-info-bg-hover)}[tuiAppearance][data-appearance=info][data-state=active]{background:var(--tui-info-bg-hover)}[tuiAppearance][data-appearance=neutral]{color:var(--tui-text-01);background:var(--tui-neutral-bg)}@media (hover: hover){[tuiAppearance][data-appearance=neutral]:-webkit-any(a,button,select,textarea,input):hover:not([data-state]){background:var(--tui-neutral-bg-hover)}}@media (hover: hover){[tuiAppearance][data-appearance=neutral]:-moz-any(a,button,select,textarea,input):hover:not([data-state]){background:var(--tui-neutral-bg-hover)}}[tuiAppearance][data-appearance=neutral][data-state=hover]{background:var(--tui-neutral-bg-hover)}[tuiAppearance][data-appearance=neutral]:-webkit-any(a,button,select,textarea,input):active:not([data-state]){background:var(--tui-neutral-bg-hover)}[tuiAppearance][data-appearance=neutral]:-moz-any(a,button,select,textarea,input):active:not([data-state]){background:var(--tui-neutral-bg-hover)}[tuiAppearance][data-appearance=neutral][data-state=active]{background:var(--tui-neutral-bg-hover)}[tuiWrapper][data-appearance=icon][data-appearance=icon]{transition-property:opacity;transition-duration:var(--tui-duration,.3s);transition-timing-function:ease-in-out;color:var(--tui-text-01);opacity:.5}[tuiWrapper]:not([data-state=readonly]):hover .t-textfield-icon [tuiWrapper][data-appearance=icon][data-appearance=icon]:not([data-state=disabled]){opacity:.65}[tuiWrapper][data-appearance=icon][data-appearance=icon][data-mode=onDark]{color:var(--tui-text-01-night)}[tuiWrapper]:not([data-state=readonly]):hover .t-textfield-icon [tuiWrapper][data-appearance=icon][data-appearance=icon][data-mode=onDark]:not([data-state=disabled]){opacity:1}:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=icon][data-appearance=icon][data-mode=onDark],[data-focused=true]>[tuiWrapper][data-appearance=icon][data-appearance=icon][data-mode=onDark]{--tui-focus:var(--tui-base-01)}[tuiWrapper][data-appearance=icon][data-appearance=icon][data-mode=onDark]:focus-visible:focus-visible{--tui-focus:var(--tui-base-01)}[tuiWrapper][data-appearance=icon][data-appearance=icon][data-mode=onDark]._focused._focused{--tui-focus:var(--tui-base-01)}@media (hover: hover){[tuiWrapper][data-appearance=icon][data-appearance=icon][data-mode=onDark]:hover:not(._no-hover),[tuiWrapper][data-appearance=icon][data-appearance=icon][data-mode=onDark][data-state=hover]{opacity:1}[tuiWrapper][data-appearance=icon][data-appearance=icon]:hover:not(._no-hover),[tuiWrapper][data-appearance=icon][data-appearance=icon][data-state=hover]{opacity:.65}}[tuiWrapper][data-appearance=icon][data-appearance=icon]:active:not(._no-active),[tuiWrapper][data-appearance=icon][data-appearance=icon][data-state=active],[tuiWrapper][data-appearance=icon][data-appearance=icon][data-state=active]:hover{opacity:1}[tuiWrapper][data-appearance=icon][data-appearance=icon]:disabled:disabled,[tuiWrapper][data-appearance=icon][data-appearance=icon][data-state=disabled][data-state=disabled]{opacity:calc(.5 * var(--tui-disabled-opacity))}[tuiWrapper][data-appearance=outline]{background:#0000;color:var(--tui-text-01)}[tuiWrapper][data-appearance=outline]:after{color:var(--tui-base-04)}[tuiWrapper][data-appearance=outline][data-mode=onDark],[tuiWrapper][data-appearance=outline][data-mode=onDark]:after{color:var(--tui-text-01-night)}@media (hover: hover){[tuiWrapper][data-appearance=outline][data-mode=onDark]:hover:not(._no-hover),[tuiWrapper][data-appearance=outline][data-mode=onDark][data-state=hover]{background:var(--tui-clear-inverse-hover)}[tuiWrapper][data-appearance=outline][data-mode=onDark]:hover:not(._no-hover):after,[tuiWrapper][data-appearance=outline][data-mode=onDark][data-state=hover]:after{color:var(--tui-text-03-night)}}[tuiWrapper][data-appearance=outline][data-mode=onDark]:active:not(._no-active),[tuiWrapper][data-appearance=outline][data-mode=onDark][data-state=active],[tuiWrapper][data-appearance=outline][data-mode=onDark][data-state=active]:hover{background:var(--tui-clear-inverse-active)}[tuiWrapper][data-appearance=outline][data-mode=onDark]:active:not(._no-active):after,[tuiWrapper][data-appearance=outline][data-mode=onDark][data-state=active]:after,[tuiWrapper][data-appearance=outline][data-mode=onDark][data-state=active]:hover:after{color:var(--tui-text-03-night)}:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=outline][data-mode=onDark],[data-focused=true]>[tuiWrapper][data-appearance=outline][data-mode=onDark]{--tui-focus:var(--tui-text-01-night)}[tuiWrapper][data-appearance=outline][data-mode=onDark]:focus-visible:focus-visible{--tui-focus:var(--tui-text-01-night)}[tuiWrapper][data-appearance=outline][data-mode=onDark]._focused._focused{--tui-focus:var(--tui-text-01-night)}[tuiWrapper][data-appearance=outline][data-mode=onLight],[tuiWrapper][data-appearance=outline][data-mode=onLight]:after{color:var(--tui-text-01)}@media (hover: hover){[tuiWrapper][data-appearance=outline][data-mode=onLight]:hover:not(._no-hover),[tuiWrapper][data-appearance=outline][data-mode=onLight][data-state=hover]{background:var(--tui-clear-hover)}[tuiWrapper][data-appearance=outline][data-mode=onLight]:hover:not(._no-hover):after,[tuiWrapper][data-appearance=outline][data-mode=onLight][data-state=hover]:after{color:var(--tui-text-03)}}[tuiWrapper][data-appearance=outline][data-mode=onLight]:active:not(._no-active),[tuiWrapper][data-appearance=outline][data-mode=onLight][data-state=active],[tuiWrapper][data-appearance=outline][data-mode=onLight][data-state=active]:hover{background:var(--tui-clear-active)}[tuiWrapper][data-appearance=outline][data-mode=onLight]:active:not(._no-active):after,[tuiWrapper][data-appearance=outline][data-mode=onLight][data-state=active]:after,[tuiWrapper][data-appearance=outline][data-mode=onLight][data-state=active]:hover:after{color:var(--tui-text-03)}@media (hover: hover){[tuiWrapper][data-appearance=outline]:hover:not(._no-hover):after,[tuiWrapper][data-appearance=outline][data-state=hover]:after{color:var(--tui-base-05)}}[tuiWrapper][data-appearance=outline]:active:not(._no-active):after,[tuiWrapper][data-appearance=outline][data-state=active]:after,[tuiWrapper][data-appearance=outline][data-state=active]:hover:after{color:var(--tui-base-06)}[tuiWrapper][data-appearance=primary]{background:var(--tui-primary);color:var(--tui-primary-text)}@media (hover: hover){[tuiWrapper][data-appearance=primary]:hover:not(._no-hover),[tuiWrapper][data-appearance=primary][data-state=hover]{background:var(--tui-primary-hover)}}[tuiWrapper][data-appearance=primary]:active:not(._no-active),[tuiWrapper][data-appearance=primary][data-state=active],[tuiWrapper][data-appearance=primary][data-state=active]:hover{background:var(--tui-primary-active)}[tuiWrapper][data-appearance=primary]._invalid._invalid,[tuiWrapper][data-appearance=primary]:invalid:invalid{color:var(--tui-negative-night);background:var(--tui-error-bg)}@media (hover: hover){[tuiWrapper][data-appearance=primary]._invalid._invalid:hover:not(._no-hover),[tuiWrapper][data-appearance=primary]._invalid._invalid[data-state=hover],[tuiWrapper][data-appearance=primary]:invalid:invalid:hover:not(._no-hover),[tuiWrapper][data-appearance=primary]:invalid:invalid[data-state=hover]{background:var(--tui-error-bg-hover)}}[tuiWrapper][data-appearance=primary]._invalid._invalid:active:not(._no-active),[tuiWrapper][data-appearance=primary]._invalid._invalid[data-state=active],[tuiWrapper][data-appearance=primary]._invalid._invalid[data-state=active]:hover,[tuiWrapper][data-appearance=primary]:invalid:invalid:active:not(._no-active),[tuiWrapper][data-appearance=primary]:invalid:invalid[data-state=active],[tuiWrapper][data-appearance=primary]:invalid:invalid[data-state=active]:hover{background:var(--tui-error-bg-hover)}:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=primary]._invalid._invalid,:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=primary]:invalid:invalid,[data-focused=true]>[tuiWrapper][data-appearance=primary]._invalid._invalid,[data-focused=true]>[tuiWrapper][data-appearance=primary]:invalid:invalid{--tui-focus:var(--tui-error-fill)}[tuiWrapper][data-appearance=primary]._invalid._invalid:focus-visible:focus-visible,[tuiWrapper][data-appearance=primary]:invalid:invalid:focus-visible:focus-visible{--tui-focus:var(--tui-error-fill)}[tuiWrapper][data-appearance=primary]._invalid._invalid._focused._focused,[tuiWrapper][data-appearance=primary]:invalid:invalid._focused._focused{--tui-focus:var(--tui-error-fill)}[tuiWrapper][data-appearance=accent]{background:var(--tui-accent);color:var(--tui-accent-text)}@media (hover: hover){[tuiWrapper][data-appearance=accent]:hover:not(._no-hover),[tuiWrapper][data-appearance=accent][data-state=hover]{background:var(--tui-accent-hover)}}[tuiWrapper][data-appearance=accent]:active:not(._no-active),[tuiWrapper][data-appearance=accent][data-state=active],[tuiWrapper][data-appearance=accent][data-state=active]:hover{background:var(--tui-accent-active)}[tuiWrapper][data-appearance=accent]._invalid._invalid,[tuiWrapper][data-appearance=accent]:invalid:invalid{color:var(--tui-negative-night);background:var(--tui-error-bg)}@media (hover: hover){[tuiWrapper][data-appearance=accent]._invalid._invalid:hover:not(._no-hover),[tuiWrapper][data-appearance=accent]._invalid._invalid[data-state=hover],[tuiWrapper][data-appearance=accent]:invalid:invalid:hover:not(._no-hover),[tuiWrapper][data-appearance=accent]:invalid:invalid[data-state=hover]{background:var(--tui-error-bg-hover)}}:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=accent]._invalid._invalid,:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=accent]:invalid:invalid,[data-focused=true]>[tuiWrapper][data-appearance=accent]._invalid._invalid,[data-focused=true]>[tuiWrapper][data-appearance=accent]:invalid:invalid{--tui-focus:var(--tui-error-fill)}[tuiWrapper][data-appearance=accent]._invalid._invalid:focus-visible:focus-visible,[tuiWrapper][data-appearance=accent]:invalid:invalid:focus-visible:focus-visible{--tui-focus:var(--tui-error-fill)}[tuiWrapper][data-appearance=accent]._invalid._invalid._focused._focused,[tuiWrapper][data-appearance=accent]:invalid:invalid._focused._focused{--tui-focus:var(--tui-error-fill)}[tuiWrapper][data-appearance=floating]{transition-property:background,box-shadow;transition-duration:var(--tui-duration,.3s);transition-timing-function:ease-in-out;background:#fff;color:#000c;box-shadow:0 .25rem 1.25rem #0000001a}@media (hover: hover){[tuiWrapper][data-appearance=floating]:hover:not(._no-hover),[tuiWrapper][data-appearance=floating][data-state=hover]{box-shadow:0 .875rem 2.625rem #00000024}}[tuiWrapper][data-appearance=floating]:active:not(._no-active),[tuiWrapper][data-appearance=floating][data-state=active],[tuiWrapper][data-appearance=floating][data-state=active]:hover{background:#f6f7f8;box-shadow:0 .25rem 1.25rem #0000001a}[tuiWrapper][data-appearance=glass]{background:#0006;color:#fff;-webkit-backdrop-filter:blur(1rem);backdrop-filter:blur(1rem);--tui-focus:#ffffffa3}@media (hover: hover){[tuiWrapper][data-appearance=glass]:hover:not(._no-hover),[tuiWrapper][data-appearance=glass][data-state=hover]{background:#0000007a}}[tuiWrapper][data-appearance=glass]:active:not(._no-active),[tuiWrapper][data-appearance=glass][data-state=active],[tuiWrapper][data-appearance=glass][data-state=active]:hover{background:#0009}[tuiWrapper][data-appearance=glass][data-mode=onDark]{background:#ffffff4d}@media (hover: hover){[tuiWrapper][data-appearance=glass][data-mode=onDark]:hover:not(._no-hover),[tuiWrapper][data-appearance=glass][data-mode=onDark][data-state=hover]{background:#fff6}}[tuiWrapper][data-appearance=glass][data-mode=onDark]:active:not(._no-active),[tuiWrapper][data-appearance=glass][data-mode=onDark][data-state=active],[tuiWrapper][data-appearance=glass][data-mode=onDark][data-state=active]:hover{background:#ffffff80}[tuiWrapper][data-appearance=destructive],[tuiWrapper][data-appearance=flat],[tuiWrapper][data-appearance=secondary]{background:var(--tui-secondary);color:var(--tui-link)}[tuiWrapper][data-appearance=destructive][data-mode=onDark],[tuiWrapper][data-appearance=flat][data-mode=onDark],[tuiWrapper][data-appearance=secondary][data-mode=onDark]{background:var(--tui-clear-inverse);color:var(--tui-text-01-night)}@media (hover: hover){[tuiWrapper][data-appearance=destructive][data-mode=onDark]:hover:not(._no-hover),[tuiWrapper][data-appearance=destructive][data-mode=onDark][data-state=hover],[tuiWrapper][data-appearance=flat][data-mode=onDark]:hover:not(._no-hover),[tuiWrapper][data-appearance=flat][data-mode=onDark][data-state=hover],[tuiWrapper][data-appearance=secondary][data-mode=onDark]:hover:not(._no-hover),[tuiWrapper][data-appearance=secondary][data-mode=onDark][data-state=hover]{background:var(--tui-clear-inverse-hover)}}[tuiWrapper][data-appearance=destructive][data-mode=onDark]:active:not(._no-active),[tuiWrapper][data-appearance=destructive][data-mode=onDark][data-state=active],[tuiWrapper][data-appearance=destructive][data-mode=onDark][data-state=active]:hover,[tuiWrapper][data-appearance=flat][data-mode=onDark]:active:not(._no-active),[tuiWrapper][data-appearance=flat][data-mode=onDark][data-state=active],[tuiWrapper][data-appearance=flat][data-mode=onDark][data-state=active]:hover,[tuiWrapper][data-appearance=secondary][data-mode=onDark]:active:not(._no-active),[tuiWrapper][data-appearance=secondary][data-mode=onDark][data-state=active],[tuiWrapper][data-appearance=secondary][data-mode=onDark][data-state=active]:hover{background:var(--tui-clear-inverse-active)}:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=destructive][data-mode=onDark],:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=flat][data-mode=onDark],:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=secondary][data-mode=onDark],[data-focused=true]>[tuiWrapper][data-appearance=destructive][data-mode=onDark],[data-focused=true]>[tuiWrapper][data-appearance=flat][data-mode=onDark],[data-focused=true]>[tuiWrapper][data-appearance=secondary][data-mode=onDark]{--tui-focus:var(--tui-text-01-night)}[tuiWrapper][data-appearance=destructive][data-mode=onDark]:focus-visible:focus-visible,[tuiWrapper][data-appearance=flat][data-mode=onDark]:focus-visible:focus-visible,[tuiWrapper][data-appearance=secondary][data-mode=onDark]:focus-visible:focus-visible{--tui-focus:var(--tui-text-01-night)}[tuiWrapper][data-appearance=destructive][data-mode=onDark]._focused._focused,[tuiWrapper][data-appearance=flat][data-mode=onDark]._focused._focused,[tuiWrapper][data-appearance=secondary][data-mode=onDark]._focused._focused{--tui-focus:var(--tui-text-01-night)}[tuiWrapper][data-appearance=destructive][data-mode=onLight],[tuiWrapper][data-appearance=flat][data-mode=onLight],[tuiWrapper][data-appearance=secondary][data-mode=onLight]{background:var(--tui-clear);color:var(--tui-text-01)}@media (hover: hover){[tuiWrapper][data-appearance=destructive][data-mode=onLight]:hover:not(._no-hover),[tuiWrapper][data-appearance=destructive][data-mode=onLight][data-state=hover],[tuiWrapper][data-appearance=flat][data-mode=onLight]:hover:not(._no-hover),[tuiWrapper][data-appearance=flat][data-mode=onLight][data-state=hover],[tuiWrapper][data-appearance=secondary][data-mode=onLight]:hover:not(._no-hover),[tuiWrapper][data-appearance=secondary][data-mode=onLight][data-state=hover]{background:var(--tui-clear-hover)}}[tuiWrapper][data-appearance=destructive][data-mode=onLight]:active:not(._no-active),[tuiWrapper][data-appearance=destructive][data-mode=onLight][data-state=active],[tuiWrapper][data-appearance=destructive][data-mode=onLight][data-state=active]:hover,[tuiWrapper][data-appearance=flat][data-mode=onLight]:active:not(._no-active),[tuiWrapper][data-appearance=flat][data-mode=onLight][data-state=active],[tuiWrapper][data-appearance=flat][data-mode=onLight][data-state=active]:hover,[tuiWrapper][data-appearance=secondary][data-mode=onLight]:active:not(._no-active),[tuiWrapper][data-appearance=secondary][data-mode=onLight][data-state=active],[tuiWrapper][data-appearance=secondary][data-mode=onLight][data-state=active]:hover{background:var(--tui-clear-active)}@media (hover: hover){[tuiWrapper][data-appearance=destructive]:hover:not(._no-hover),[tuiWrapper][data-appearance=destructive][data-state=hover],[tuiWrapper][data-appearance=flat]:hover:not(._no-hover),[tuiWrapper][data-appearance=flat][data-state=hover],[tuiWrapper][data-appearance=secondary]:hover:not(._no-hover),[tuiWrapper][data-appearance=secondary][data-state=hover]{background:var(--tui-secondary-hover)}}[tuiWrapper][data-appearance=destructive]:active:not(._no-active),[tuiWrapper][data-appearance=destructive][data-state=active],[tuiWrapper][data-appearance=destructive][data-state=active]:hover,[tuiWrapper][data-appearance=flat]:active:not(._no-active),[tuiWrapper][data-appearance=flat][data-state=active],[tuiWrapper][data-appearance=flat][data-state=active]:hover,[tuiWrapper][data-appearance=secondary]:active:not(._no-active),[tuiWrapper][data-appearance=secondary][data-state=active],[tuiWrapper][data-appearance=secondary][data-state=active]:hover{background:var(--tui-secondary-active)}[tuiWrapper][data-appearance=destructive]._invalid._invalid,[tuiWrapper][data-appearance=destructive]:invalid:invalid,[tuiWrapper][data-appearance=flat]._invalid._invalid,[tuiWrapper][data-appearance=flat]:invalid:invalid,[tuiWrapper][data-appearance=secondary]._invalid._invalid,[tuiWrapper][data-appearance=secondary]:invalid:invalid{color:var(--tui-negative);background:var(--tui-error-bg)}@media (hover: hover){[tuiWrapper][data-appearance=destructive]._invalid._invalid:hover:not(._no-hover),[tuiWrapper][data-appearance=destructive]._invalid._invalid[data-state=hover],[tuiWrapper][data-appearance=destructive]:invalid:invalid:hover:not(._no-hover),[tuiWrapper][data-appearance=destructive]:invalid:invalid[data-state=hover],[tuiWrapper][data-appearance=flat]._invalid._invalid:hover:not(._no-hover),[tuiWrapper][data-appearance=flat]._invalid._invalid[data-state=hover],[tuiWrapper][data-appearance=flat]:invalid:invalid:hover:not(._no-hover),[tuiWrapper][data-appearance=flat]:invalid:invalid[data-state=hover],[tuiWrapper][data-appearance=secondary]._invalid._invalid:hover:not(._no-hover),[tuiWrapper][data-appearance=secondary]._invalid._invalid[data-state=hover],[tuiWrapper][data-appearance=secondary]:invalid:invalid:hover:not(._no-hover),[tuiWrapper][data-appearance=secondary]:invalid:invalid[data-state=hover]{background:var(--tui-error-bg-hover)}}:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=destructive]._invalid._invalid,:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=destructive]:invalid:invalid,:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=flat]._invalid._invalid,:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=flat]:invalid:invalid,:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=secondary]._invalid._invalid,:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=secondary]:invalid:invalid,[data-focused=true]>[tuiWrapper][data-appearance=destructive]._invalid._invalid,[data-focused=true]>[tuiWrapper][data-appearance=destructive]:invalid:invalid,[data-focused=true]>[tuiWrapper][data-appearance=flat]._invalid._invalid,[data-focused=true]>[tuiWrapper][data-appearance=flat]:invalid:invalid,[data-focused=true]>[tuiWrapper][data-appearance=secondary]._invalid._invalid,[data-focused=true]>[tuiWrapper][data-appearance=secondary]:invalid:invalid{--tui-focus:var(--tui-negative)}[tuiWrapper][data-appearance=destructive]._invalid._invalid:focus-visible:focus-visible,[tuiWrapper][data-appearance=destructive]:invalid:invalid:focus-visible:focus-visible,[tuiWrapper][data-appearance=flat]._invalid._invalid:focus-visible:focus-visible,[tuiWrapper][data-appearance=flat]:invalid:invalid:focus-visible:focus-visible,[tuiWrapper][data-appearance=secondary]._invalid._invalid:focus-visible:focus-visible,[tuiWrapper][data-appearance=secondary]:invalid:invalid:focus-visible:focus-visible{--tui-focus:var(--tui-negative)}[tuiWrapper][data-appearance=destructive]._invalid._invalid._focused._focused,[tuiWrapper][data-appearance=destructive]:invalid:invalid._focused._focused,[tuiWrapper][data-appearance=flat]._invalid._invalid._focused._focused,[tuiWrapper][data-appearance=flat]:invalid:invalid._focused._focused,[tuiWrapper][data-appearance=secondary]._invalid._invalid._focused._focused,[tuiWrapper][data-appearance=secondary]:invalid:invalid._focused._focused{--tui-focus:var(--tui-negative)}[tuiWrapper][data-appearance=flat],[tuiWrapper][data-appearance=flat][data-mode=onDark],[tuiWrapper][data-appearance=flat][data-mode=onLight]{background:#0000}[tuiWrapper][data-appearance=destructive]{color:var(--tui-negative);background:var(--tui-error-bg)}@media (hover: hover){[tuiWrapper][data-appearance=destructive]:hover:not(._no-hover),[tuiWrapper][data-appearance=destructive][data-state=hover]{background:var(--tui-error-bg-hover)}}[tuiWrapper][data-appearance=destructive]:active:not(._no-active),[tuiWrapper][data-appearance=destructive][data-state=active],[tuiWrapper][data-appearance=destructive][data-state=active]:hover{background:var(--tui-error-bg-hover)}[tuiWrapper][data-appearance=destructive][data-mode=onDark]{color:var(--tui-negative-night);background:var(--tui-error-bg-night)}@media (hover: hover){[tuiWrapper][data-appearance=destructive][data-mode=onDark]:hover:not(._no-hover),[tuiWrapper][data-appearance=destructive][data-mode=onDark][data-state=hover]{background:var(--tui-error-bg-night-hover)}}[tuiWrapper][data-appearance=destructive][data-mode=onDark]:active:not(._no-active),[tuiWrapper][data-appearance=destructive][data-mode=onDark][data-state=active],[tuiWrapper][data-appearance=destructive][data-mode=onDark][data-state=active]:hover{background:var(--tui-error-bg-night-hover)}[tuiWrapper][data-appearance=secondary-destructive],tui-wrapper[data-appearance=secondary-destructive]{background:var(--tui-error-bg);color:var(--tui-negative)}[tuiWrapper][data-appearance=secondary-destructive][data-mode=onDark],tui-wrapper[data-appearance=secondary-destructive][data-mode=onDark]{background:var(--tui-error-bg-night);color:var(--tui-negative-night)}@media (hover: hover){[tuiWrapper][data-appearance=secondary-destructive][data-mode=onDark]:hover:not(._no-hover),[tuiWrapper][data-appearance=secondary-destructive][data-mode=onDark][data-state=hover],tui-wrapper[data-appearance=secondary-destructive][data-mode=onDark]:hover:not(._no-hover),tui-wrapper[data-appearance=secondary-destructive][data-mode=onDark][data-state=hover]{background:var(--tui-error-bg-night-hover)}}[tuiWrapper][data-appearance=secondary-destructive][data-mode=onDark]:active:not(._no-active),[tuiWrapper][data-appearance=secondary-destructive][data-mode=onDark][data-state=active],[tuiWrapper][data-appearance=secondary-destructive][data-mode=onDark][data-state=active]:hover,tui-wrapper[data-appearance=secondary-destructive][data-mode=onDark]:active:not(._no-active),tui-wrapper[data-appearance=secondary-destructive][data-mode=onDark][data-state=active],tui-wrapper[data-appearance=secondary-destructive][data-mode=onDark][data-state=active]:hover{background:var(--tui-error-bg-night-hover)}@media (hover: hover){[tuiWrapper][data-appearance=secondary-destructive]:hover:not(._no-hover),[tuiWrapper][data-appearance=secondary-destructive][data-state=hover],tui-wrapper[data-appearance=secondary-destructive]:hover:not(._no-hover),tui-wrapper[data-appearance=secondary-destructive][data-state=hover]{background:var(--tui-error-bg-hover)}}[tuiWrapper][data-appearance=secondary-destructive]:active:not(._no-active),[tuiWrapper][data-appearance=secondary-destructive][data-state=active],[tuiWrapper][data-appearance=secondary-destructive][data-state=active]:hover,tui-wrapper[data-appearance=secondary-destructive]:active:not(._no-active),tui-wrapper[data-appearance=secondary-destructive][data-state=active],tui-wrapper[data-appearance=secondary-destructive][data-state=active]:hover{background:var(--tui-error-bg-hover)}[tuiWrapper][data-appearance=table]{border-radius:0;background:#0000;color:var(--tui-text-01)}[tuiWrapper][data-appearance=table]:before,[tuiWrapper][data-appearance=table][data-appearance=table]:after{position:fixed;top:-.5px;left:-1px;right:-.5px;bottom:-1px}[tuiWrapper][data-appearance=table]:before{transition-property:background;transition-duration:var(--tui-duration,.3s);transition-timing-function:ease-in-out;content:"";z-index:-1;background-repeat:no-repeat;background-position:100% 0;background-size:.5rem .5rem}table [tuiWrapper][data-appearance=table][data-appearance=table]:not(._focused):after{border-width:0}table [tuiWrapper][data-appearance=table]._focused{z-index:1}[tuiWrapper][data-appearance=table][data-appearance=table]:after{border-width:1px;color:var(--tui-base-04)}:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=table][data-mode=onDark],[data-focused=true]>[tuiWrapper][data-appearance=table][data-mode=onDark]{--tui-focus:var(--tui-text-01-night)}[tuiWrapper][data-appearance=table][data-mode=onDark]:focus-visible:focus-visible{--tui-focus:var(--tui-text-01-night)}[tuiWrapper][data-appearance=table][data-mode=onDark]._focused._focused{--tui-focus:var(--tui-text-01-night)}@media (hover: hover){[tuiWrapper][data-appearance=table]:hover:not(._no-hover):not(._focused):before,[tuiWrapper][data-appearance=table][data-state=hover]:not(._focused):before{background-color:var(--tui-clear)}}:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=table],[data-focused=true]>[tuiWrapper][data-appearance=table]{background:#0000}[tuiWrapper][data-appearance=table]:focus-visible:focus-visible{background:#0000}[tuiWrapper][data-appearance=table]._focused._focused{background:#0000}[tuiWrapper][data-appearance=table]._invalid._invalid:before,[tuiWrapper][data-appearance=table]:invalid:invalid:before{background-image:linear-gradient(to top right,#0000 0,#0000 50%,var(--tui-error-fill) 50%,var(--tui-error-fill) 100%)}[tuiWrapper][data-appearance=table]._invalid._invalid:not(._focused):before,[tuiWrapper][data-appearance=table]:invalid:invalid:not(._focused):before{background-color:var(--tui-error-bg)}@media (hover: hover){[tuiWrapper][data-appearance=table]._invalid._invalid:hover:not(._no-hover):not(._focused):before,[tuiWrapper][data-appearance=table]._invalid._invalid[data-state=hover]:not(._focused):before,[tuiWrapper][data-appearance=table]:invalid:invalid:hover:not(._no-hover):not(._focused):before,[tuiWrapper][data-appearance=table]:invalid:invalid[data-state=hover]:not(._focused):before{background-color:var(--tui-error-bg-hover)}}[tuiWrapper][data-appearance=table]._invalid._invalid:disabled:disabled,[tuiWrapper][data-appearance=table]._invalid._invalid[data-state=disabled][data-state=disabled],[tuiWrapper][data-appearance=table]:invalid:invalid:disabled:disabled,[tuiWrapper][data-appearance=table]:invalid:invalid[data-state=disabled][data-state=disabled]{background:#0000}:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=table]._invalid._invalid,:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=table]:invalid:invalid,[data-focused=true]>[tuiWrapper][data-appearance=table]._invalid._invalid,[data-focused=true]>[tuiWrapper][data-appearance=table]:invalid:invalid{background:#0000;--tui-focus:var(--tui-error-fill)}:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=table]._invalid._invalid:after,:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=table]:invalid:invalid:after,[data-focused=true]>[tuiWrapper][data-appearance=table]._invalid._invalid:after,[data-focused=true]>[tuiWrapper][data-appearance=table]:invalid:invalid:after{border-width:1px}[tuiWrapper][data-appearance=table]._invalid._invalid:focus-visible:focus-visible,[tuiWrapper][data-appearance=table]:invalid:invalid:focus-visible:focus-visible{background:#0000;--tui-focus:var(--tui-error-fill)}[tuiWrapper][data-appearance=table]._invalid._invalid:focus-visible:focus-visible:after,[tuiWrapper][data-appearance=table]:invalid:invalid:focus-visible:focus-visible:after{border-width:1px}[tuiWrapper][data-appearance=table]._invalid._invalid._focused._focused,[tuiWrapper][data-appearance=table]:invalid:invalid._focused._focused{background:#0000;--tui-focus:var(--tui-error-fill)}[tuiWrapper][data-appearance=table]._invalid._invalid._focused._focused:after,[tuiWrapper][data-appearance=table]:invalid:invalid._focused._focused:after{border-width:1px}[tuiWrapper][data-appearance=textfield]{transition-property:box-shadow,background;transition-duration:var(--tui-duration,.3s);transition-timing-function:ease-in-out;background:var(--tui-base-01);color:var(--tui-text-01);box-shadow:0 .125rem .1875rem #0000001a}[tuiWrapper][data-appearance=textfield][data-appearance=textfield]:after{transition-property:color;transition-duration:var(--tui-duration,.3s);transition-timing-function:ease-in-out;color:var(--tui-base-03)}@media (hover: hover){[tuiWrapper][data-appearance=textfield]:hover:not(._no-hover),[tuiWrapper][data-appearance=textfield][data-state=hover]{box-shadow:0 .125rem .3125rem #00000029}}:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=textfield],[data-focused=true]>[tuiWrapper][data-appearance=textfield]{box-shadow:none}:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=textfield]:after,[data-focused=true]>[tuiWrapper][data-appearance=textfield]:after{--tui-focus:var(--tui-primary)}[tuiWrapper][data-appearance=textfield]:focus-visible:focus-visible{box-shadow:none}[tuiWrapper][data-appearance=textfield]:focus-visible:focus-visible:after{--tui-focus:var(--tui-primary)}[tuiWrapper][data-appearance=textfield]._focused._focused{box-shadow:none}[tuiWrapper][data-appearance=textfield]._focused._focused:after{--tui-focus:var(--tui-primary)}[tuiWrapper][data-appearance=textfield][data-state=readonly][data-state=readonly]{box-shadow:none}[tuiWrapper][data-appearance=textfield][data-state=readonly][data-state=readonly]:after{color:var(--tui-base-04)}[tuiWrapper][data-appearance=textfield]:disabled:disabled,[tuiWrapper][data-appearance=textfield][data-state=disabled][data-state=disabled]{box-shadow:none}[tuiWrapper][data-appearance=textfield]._invalid._invalid:after,[tuiWrapper][data-appearance=textfield]:invalid:invalid:after{color:var(--tui-error-fill);--tui-focus:var(--tui-error-fill)}[tuiWrapper][data-appearance=textfield][data-mode=onDark]{background:var(--tui-clear-inverse);color:var(--tui-text-01-night)}[tuiWrapper][data-appearance=textfield][data-mode=onDark]:after{color:var(--tui-text-03-night);opacity:var(--tui-disabled-opacity)}@media (hover: hover){[tuiWrapper][data-appearance=textfield][data-mode=onDark]:hover:not(._no-hover),[tuiWrapper][data-appearance=textfield][data-mode=onDark][data-state=hover]{background:var(--tui-clear-inverse-hover)}}[tuiWrapper][data-appearance=textfield][data-mode=onDark][data-state=readonly][data-state=readonly]{background:#0000}:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=textfield][data-mode=onDark],[data-focused=true]>[tuiWrapper][data-appearance=textfield][data-mode=onDark]{background:#ffffff14}:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=textfield][data-mode=onDark]:after,[data-focused=true]>[tuiWrapper][data-appearance=textfield][data-mode=onDark]:after{transition:none;opacity:1;--tui-focus:var(--tui-primary)}[tuiWrapper][data-appearance=textfield][data-mode=onDark]:focus-visible:focus-visible{background:#ffffff14}[tuiWrapper][data-appearance=textfield][data-mode=onDark]:focus-visible:focus-visible:after{transition:none;opacity:1;--tui-focus:var(--tui-primary)}[tuiWrapper][data-appearance=textfield][data-mode=onDark]._focused._focused{background:#ffffff14}[tuiWrapper][data-appearance=textfield][data-mode=onDark]._focused._focused:after{transition:none;opacity:1;--tui-focus:var(--tui-primary)}[tuiWrapper][data-appearance=textfield][data-mode=onDark]._invalid._invalid:after,[tuiWrapper][data-appearance=textfield][data-mode=onDark]:invalid:invalid:after{--tui-focus:var(--tui-error-fill-night)}[tuiWrapper][data-appearance=textfield][data-mode=onLight]{background:var(--tui-clear)}@media (hover: hover){[tuiWrapper][data-appearance=textfield][data-mode=onLight]:hover:not(._no-hover),[tuiWrapper][data-appearance=textfield][data-mode=onLight][data-state=hover]{background:var(--tui-clear-hover)}}[tuiWrapper][data-appearance=textfield][data-mode=onLight][data-state=readonly][data-state=readonly]{background:#0000}[tuiWrapper][data-appearance=textfield][data-mode=onLight]._invalid._invalid:after,[tuiWrapper][data-appearance=textfield][data-mode=onLight]:invalid:invalid:after{color:var(--tui-error-fill)}:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=textfield][data-mode=onLight],[data-focused=true]>[tuiWrapper][data-appearance=textfield][data-mode=onLight]{background:#0000}[tuiWrapper][data-appearance=textfield][data-mode=onLight]:focus-visible:focus-visible{background:#0000}[tuiWrapper][data-appearance=textfield][data-mode=onLight]._focused._focused{background:#0000}[tuiWrapper][data-appearance=whiteblock-active],[tuiWrapper][data-appearance=whiteblock]{background:var(--tui-base-01);color:var(--tui-text-01)}[tuiWrapper][data-appearance=whiteblock-active]:after,[tuiWrapper][data-appearance=whiteblock]:after{color:var(--tui-base-04)}@media (hover: hover){[tuiWrapper][data-appearance=whiteblock-active]:hover:not(._no-hover),[tuiWrapper][data-appearance=whiteblock-active][data-state=hover],[tuiWrapper][data-appearance=whiteblock]:hover:not(._no-hover),[tuiWrapper][data-appearance=whiteblock][data-state=hover]{background:var(--tui-base-02)}[tuiWrapper][data-appearance=whiteblock-active]:hover:not(._no-hover):after,[tuiWrapper][data-appearance=whiteblock-active][data-state=hover]:after,[tuiWrapper][data-appearance=whiteblock]:hover:not(._no-hover):after,[tuiWrapper][data-appearance=whiteblock][data-state=hover]:after{color:var(--tui-base-04)}}[tuiWrapper][data-appearance=whiteblock-active]:active:not(._no-active),[tuiWrapper][data-appearance=whiteblock-active][data-state=active],[tuiWrapper][data-appearance=whiteblock-active][data-state=active]:hover,[tuiWrapper][data-appearance=whiteblock]:active:not(._no-active),[tuiWrapper][data-appearance=whiteblock][data-state=active],[tuiWrapper][data-appearance=whiteblock][data-state=active]:hover{background:var(--tui-base-02)}[tuiWrapper][data-appearance=whiteblock-active]:active:not(._no-active):after,[tuiWrapper][data-appearance=whiteblock-active][data-state=active]:after,[tuiWrapper][data-appearance=whiteblock-active][data-state=active]:hover:after,[tuiWrapper][data-appearance=whiteblock]:active:not(._no-active):after,[tuiWrapper][data-appearance=whiteblock][data-state=active]:after,[tuiWrapper][data-appearance=whiteblock][data-state=active]:hover:after{color:var(--tui-base-04)}[tuiWrapper][data-appearance=whiteblock-active]:after{color:var(--tui-primary);border-width:2px}@media (hover: hover){[tuiWrapper][data-appearance=whiteblock-active]:hover:not(._no-hover):after,[tuiWrapper][data-appearance=whiteblock-active][data-state=hover]:after{color:var(--tui-primary-hover)}}[tuiWrapper][data-appearance=whiteblock-active]:active:not(._no-active):after,[tuiWrapper][data-appearance=whiteblock-active][data-state=active]:after,[tuiWrapper][data-appearance=whiteblock-active][data-state=active]:hover:after{color:var(--tui-primary-active)}[tuiWrapper][data-appearance=none]:after{border:none}[tuiWrapper][data-appearance=opposite]{background:#000;color:#fff;--tui-focus:#ffffffa3}@media (hover: hover){[tuiWrapper][data-appearance=opposite]:hover:not(._no-hover),[tuiWrapper][data-appearance=opposite][data-state=hover]{background:#333}}[tuiWrapper][data-appearance=opposite]:active:not(._no-active),[tuiWrapper][data-appearance=opposite][data-state=active],[tuiWrapper][data-appearance=opposite][data-state=active]:hover{background:#5c636b}[tuiWrapper][data-appearance=opposite][data-mode=onDark]{color:#000c;background:#fff;--tui-focus:#3333337a}@media (hover: hover){[tuiWrapper][data-appearance=opposite][data-mode=onDark]:hover:not(._no-hover),[tuiWrapper][data-appearance=opposite][data-mode=onDark][data-state=hover]{background:#f3f4f6}}[tuiWrapper][data-appearance=opposite][data-mode=onDark]:active:not(._no-active),[tuiWrapper][data-appearance=opposite][data-mode=onDark][data-state=active],[tuiWrapper][data-appearance=opposite][data-mode=onDark][data-state=active]:hover{background:#eaecee}[tuiWrapper]{transition-property:color,background,opacity;transition-timing-function:ease-in-out;position:relative;display:block;height:100%;width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none}[tuiWrapper],[tuiWrapper]:after{transition-duration:var(--tui-duration,.3s);border-radius:inherit}[tuiWrapper]:after{transition-property:box-shadow,color;transition-timing-function:ease-in-out;position:absolute;top:0;left:0;bottom:0;right:0;content:"";border:1px solid;pointer-events:none;color:#0000}:focus-visible:not([data-focused=false])>[tuiWrapper]:after,[data-focused=true]>[tuiWrapper]:after{border-width:2px;color:var(--tui-focus)}[tuiWrapper]:focus-visible:focus-visible:after{border-width:2px;color:var(--tui-focus)}[tuiWrapper]._focused._focused:after{border-width:2px;color:var(--tui-focus)}[tuiWrapper]:disabled:disabled,[tuiWrapper][data-state=disabled][data-state=disabled]{pointer-events:none;opacity:var(--tui-disabled-opacity)}@supports (-webkit-hyphens: none){:focus-visible [tuiWrapper],[tuiWrapper]:focus-visible{--tui-focus:#0000!important}}[tuiWrapper][data-appearance=mono],tui-wrapper[data-appearance=mono]{background:var(--tui-base-01);color:var(--tui-text-01)}@media (hover: hover){[tuiWrapper][data-appearance=mono]:hover:not(._no-hover),[tuiWrapper][data-appearance=mono][data-state=hover],tui-wrapper[data-appearance=mono]:hover:not(._no-hover),tui-wrapper[data-appearance=mono][data-state=hover]{color:var(--tui-text-03)}}[tuiWrapper][data-appearance=mono]:active:not(._no-active),[tuiWrapper][data-appearance=mono][data-state=active],[tuiWrapper][data-appearance=mono][data-state=active]:hover,tui-wrapper[data-appearance=mono]:active:not(._no-active),tui-wrapper[data-appearance=mono][data-state=active],tui-wrapper[data-appearance=mono][data-state=active]:hover{color:var(--tui-text-02)}:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=mono][data-mode=onDark],:focus-visible:not([data-focused=false])>tui-wrapper[data-appearance=mono][data-mode=onDark],[data-focused=true]>[tuiWrapper][data-appearance=mono][data-mode=onDark],[data-focused=true]>tui-wrapper[data-appearance=mono][data-mode=onDark]{--tui-focus:var(--tui-text-01-night)}[tuiWrapper][data-appearance=mono][data-mode=onDark]:focus-visible:focus-visible,tui-wrapper[data-appearance=mono][data-mode=onDark]:focus-visible:focus-visible{--tui-focus:var(--tui-text-01-night)}[tuiWrapper][data-appearance=mono][data-mode=onDark]._focused._focused,tui-wrapper[data-appearance=mono][data-mode=onDark]._focused._focused{--tui-focus:var(--tui-text-01-night)}tui-primitive-calendar [data-type=weekday]{color:var(--tui-text-01)}tui-primitive-calendar [data-type=weekend]{color:var(--tui-negative)}@font-face{font-family:Manrope;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/manrope/v15/xn7_YHE41ni1AdIRqAuZuw1Bx9mbZk7PFO_F.ttf) format("truetype")}@font-face{font-family:Manrope;font-style:normal;font-weight:800;font-display:swap;src:url(https://fonts.gstatic.com/s/manrope/v15/xn7_YHE41ni1AdIRqAuZuw1Bx9mbZk59E-_F.ttf) format("truetype")}.tui-list{font:var(--tui-font-text-m);list-style-type:none;color:var(--tui-text-01)}@keyframes tuiReveal{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes tuiFadeIn{0%{opacity:0}to{opacity:1}}html{font-size:16px}body,html{height:100%}body{min-height:100%;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body,html{-webkit-overflow-scrolling:touch}ol,ul{list-style:none;padding:0;margin:0}table{border-collapse:collapse;border-spacing:0}button,input,select,textarea{font-family:inherit;color:inherit}hr{margin:0;height:1px;background:var(--tui-base-03)}hr,iframe{border:none}svg use{pointer-events:none}::-moz-selection{background-color:var(--tui-selection)}::selection{background-color:var(--tui-selection)}::-ms-clear,::-ms-reveal{display:none}@supports (-webkit-hyphens: none) and (text-align-last: right){:after{content:none}}.tui-container{margin-right:auto;margin-left:auto}@media screen and (min-width: 80em){.tui-container.tui-container_adaptive{width:69rem}}@media screen and (max-width: 79.9625em){.tui-container.tui-container_adaptive{width:51.5rem}}@media screen and (max-width: 47.9625em){.tui-container.tui-container_adaptive{width:100%;padding:0 1rem;box-sizing:border-box}}@media screen and (min-width: 80em){.tui-container{width:69rem}}@media screen and (max-width: 79.9625em){.tui-container{width:51.5rem;padding:0 3rem}}@media screen and (min-width: 80em){.tui-container_menu{width:69rem}}@media (min-width: 64em) and (max-width: 79.9625em){.tui-container_menu{width:51.5rem}}@media screen and (max-width: 47.9625em){.tui-container_menu{width:auto;padding:0 1rem;box-sizing:border-box}}.tui-container_fullwidth{width:auto;padding:0 1.5rem}@media screen and (max-width: 47.9625em){.tui-container_fullwidth{padding:0 1rem;box-sizing:border-box}}@media screen and (max-width: 79.9625em){.tui-container_fixed{width:69rem}}.tui-form__header{font:var(--tui-font-heading-5);margin-top:2rem;margin-bottom:1.25rem}@media screen and (max-width: 47.9625em){.tui-form__header{font:var(--tui-font-text-l);font-weight:700;margin-bottom:1rem}}.tui-form__header_margin-top_none{margin-top:0}.tui-form__header_margin-bottom_none{margin-bottom:0}.tui-form__header_margin-bottom_small{margin-bottom:1rem}@media screen and (max-width: 47.9625em){.tui-form__header_margin-bottom_small{margin-bottom:.75rem}}.tui-form__row{margin-top:1.25rem}.tui-form__row:first-child{margin-top:0}.tui-form__row_multi-fields{display:flex}@media screen and (max-width: 47.9625em){.tui-form__row_multi-fields{flex-wrap:wrap}}.tui-form__row_half-width{width:calc(50% - (1.25rem / 2))}@media screen and (max-width: 47.9625em){.tui-form__row_half-width{width:100%}}.tui-form__row_checkboxes{display:flex;flex-wrap:wrap}@media screen and (max-width: 47.9625em){.tui-form__row{margin-top:1rem}}.tui-form__multi-field{flex:1 1 0;min-width:0;margin-left:1.25rem}.tui-form__multi-field:first-child{margin-left:0}@media screen and (max-width: 47.9625em){.tui-form__multi-field{flex-basis:100%;margin-top:1rem;margin-left:0}.tui-form__multi-field:first-child{margin-top:0}}.tui-form__field-note{font:var(--tui-font-text-s);margin-top:.25rem;color:var(--tui-text-02)}.tui-form__field-checkbox{margin-top:.5rem}.tui-form__checkbox{flex:1 1 calc(50% - 0.625rem)}.tui-form__checkbox:nth-child(2n){margin-left:1.25rem}.tui-form__checkbox:nth-child(n+3){margin-top:1rem}.tui-form__buttons{display:flex;margin-top:2rem}.tui-form__buttons_align_end{justify-content:flex-end}.tui-form__buttons_align_center{justify-content:center}@media screen and (max-width: 47.9625em){.tui-form__buttons{flex-direction:column;margin-top:1.5rem}}.tui-form__button{margin-left:.75rem}.tui-form__button:first-child{margin-left:0}@media screen and (max-width: 47.9625em){.tui-form__button{margin-top:.5rem;margin-left:0}}.tui-island{position:relative;border-radius:var(--tui-radius-xl);background-color:var(--tui-base-01);word-wrap:break-word;text-decoration:none;color:var(--tui-text-01);outline:none;box-sizing:initial}.tui-island:not(.tui-island_hoverable):before{position:absolute;top:0;left:0;width:100%;height:100%;content:"";box-sizing:border-box;border:1px solid var(--tui-base-03);border-radius:inherit;pointer-events:none}.tui-island:focus:before,.tui-island:hover:focus:before{border-color:var(--tui-focus)}.tui-island_hoverable{box-shadow:0 .25rem 1.5rem #0000001f;transition-property:all;transition-duration:var(--tui-duration,.3s);transition-timing-function:ease-in-out;cursor:pointer;transition-property:transform,box-shadow;will-change:transform,box-shadow;background:var(--tui-elevation-02)}.tui-island_hoverable:hover{box-shadow:0 .75rem 2.25rem #0003;transform:translateY(-.25rem)}.tui-island_transparent{background-color:initial}.tui-island_size_s{--tui-radius-xl:calc(4 * var(--tui-radius-l) / 3);font:var(--tui-font-text-s);padding:1rem}.tui-island_size_m{--tui-radius-xl:calc(5 * var(--tui-radius-l) / 3);font:var(--tui-font-text-m);padding:1rem}.tui-island_size_l{font:var(--tui-font-text-m);padding:1.25rem}.tui-island_text-align_left{text-align:left}.tui-island_text-align_center{text-align:center}.tui-island_text-align_right{text-align:right}.tui-island__content{display:flex;justify-content:space-between}.tui-island_text-align_center .tui-island__content{display:block}.tui-island__content>*{min-width:0}.tui-island__category{font-size:.6875rem;line-height:1rem;text-transform:uppercase;letter-spacing:.075em;margin:0 0 .5rem;color:var(--tui-text-02)}.tui-island_size_l .tui-island__category{margin:0 0 .75rem}.tui-island__title{font:var(--tui-font-text-m);margin:0 0 .5rem}.tui-island_size_m .tui-island__title{font:var(--tui-font-heading-6);margin:0 0 .75rem}.tui-island_size_l .tui-island__title{font:var(--tui-font-heading-6)}.tui-island__paragraph{margin:0;color:var(--tui-text-02)}.tui-island__paragraph_link.tui-island__paragraph{margin-top:1rem}.tui-island_size_l .tui-island__paragraph_link.tui-island__paragraph{margin:1rem 0 0}.tui-island__paragraph_button.tui-island__paragraph{margin-top:1.25rem}.tui-island_size_l .tui-island__paragraph_button.tui-island__paragraph{margin:1.25rem 0 0}.tui-island__figure{display:flex;justify-content:center;order:1;flex-shrink:0;margin:0 0 0 1rem}.tui-island_size_l .tui-island__figure{margin-left:2.25rem}.tui-island_text-align_center .tui-island__figure{margin:0 0 .75rem}.tui-island__carousel-controls{display:flex;padding-bottom:1rem;margin-bottom:1rem;border-bottom:1px solid var(--tui-base-03);white-space:nowrap}.tui-island__carousel-pages{margin-left:auto;color:var(--tui-text-02)}.tui-island__carousel-button{margin-right:.5rem}.tui-island .tui-island__footer-button{display:block;width:calc(100% + 1.875rem);margin:1rem calc(-1rem + 1px) calc(-1rem + 1px);border-top:1px solid var(--tui-base-03);border-radius:0 0 var(--tui-radius-xl) var(--tui-radius-xl)}.tui-island_size_l .tui-island__footer-button{width:calc(100% + 2.375rem);margin:1.25rem calc(-1.25rem + 1px) calc(-1.25rem + 1px)}.tui-island__marker:first-child:not(:only-child){margin-right:1.25rem}.tui-island__marker:not(:first-child),.tui-island__marker:only-child{margin-left:1.25rem}.tui-list,markdown ul{font:var(--tui-font-text-m);list-style-type:none;color:var(--tui-text-01)}.tui-list_large{font:var(--tui-font-text-l)}.tui-list_extra-small,.tui-list_small{font:var(--tui-font-text-s)}.tui-list_nested{margin:.75rem 0 .75rem 1.25rem;color:var(--tui-text-02)}.tui-list_large .tui-list_nested{margin-left:.75rem}.tui-list_small .tui-list_nested{margin-top:.5rem;margin-bottom:.5rem}.tui-list_ordered{counter-reset:counter}.tui-list__item{position:relative;padding-left:1.5rem;word-wrap:break-word;margin-top:.75rem}.tui-list__item:first-child{margin-top:0}.tui-list__item:before{content:"";position:absolute;left:0;top:.5rem;width:.5rem;height:.5rem;border-radius:100%;background-color:var(--tui-primary)}.tui-list_large>.tui-list__item:before{top:.625rem}.tui-list_small>.tui-list__item:before{top:.325rem}.tui-list_extra-small>.tui-list__item{margin-top:.5rem}.tui-list_linear .tui-list__item{padding-left:1.75rem}.tui-list_linear .tui-list__item:before{content:"\2014";left:0;top:auto;width:auto;height:auto;background-color:initial}.tui-list_ordered .tui-list__item{padding-left:1.25rem}.tui-list_ordered .tui-list__item:before{content:counter(counter) ".";left:0;top:auto;counter-increment:counter;width:auto;height:auto;color:var(--tui-text-03);background-color:initial}.tui-list_triangle>.tui-list__item{padding-left:1.75rem}.tui-list_triangle>.tui-list__item:before{content:"\25E4";left:0;top:1px;width:auto;height:auto;background-color:initial;color:var(--tui-base-06);font-size:.75rem}.tui-list__item-title{font:var(--tui-font-heading-5);margin:0}.tui-list_small .tui-list__item-title{line-height:1.25rem;font-weight:700}.tui-list__description{margin:.5rem 0 0;color:var(--tui-text-02)}.tui-list_small .tui-list__description{margin-top:.25rem}.tui-list_large .tui-list__description{line-height:1.75rem;margin-top:.75rem}@media not screen and (max-width: 47.9625em){.tui-mobile-only{display:none!important}}.tui-required:after{content:"*"}.tui-required_float:after{position:absolute}.tui-required_spacing:after{content:"\0000a0*"}.tui-row{display:flex;flex-wrap:wrap}.tui-row_align_center{align-items:center}.tui-row_align_start{align-items:flex-start}.tui-row_align_end{align-items:flex-end}@media screen and (min-width: 80em){.tui-row_adaptive.tui-row{margin-left:-1.5rem;margin-right:-1.5rem}}@media screen and (max-width: 79.9625em){.tui-row_adaptive.tui-row{margin-left:-1.25rem;margin-right:-1.25rem}}@media screen and (max-width: 47.9625em){.tui-row_adaptive.tui-row{margin-left:-.5rem;margin-right:-.5rem}}.tui-row_temporary.tui-row{margin-left:-1.25rem;margin-right:-1.25rem}@media screen and (min-width: 80em){.tui-row{margin-left:-1.5rem;margin-right:-1.5rem}}@media screen and (max-width: 79.9625em){.tui-row{margin-left:-1.25rem;margin-right:-1.25rem}}.tui-col_1{width:8.33333333%}.tui-col_1,.tui-col_2{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-col_2{width:16.66666667%}.tui-col_3{width:25%}.tui-col_3,.tui-col_4{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-col_4{width:33.33333333%}.tui-col_5{width:41.66666667%}.tui-col_5,.tui-col_6{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-col_6{width:50%}.tui-col_7{width:58.33333333%}.tui-col_7,.tui-col_8{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-col_8{width:66.66666667%}.tui-col_9{width:75%}.tui-col_10,.tui-col_9{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-col_10{width:83.33333333%}.tui-col_11{width:91.66666667%}.tui-col_11,.tui-col_12{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-col_12{width:100%}.tui-col_md-1{width:8.33333333%}.tui-col_md-1,.tui-col_md-2{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-col_md-2{width:16.66666667%}.tui-col_md-3{width:25%}.tui-col_md-3,.tui-col_md-4{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-col_md-4{width:33.33333333%}.tui-col_md-5{width:41.66666667%}.tui-col_md-5,.tui-col_md-6{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-col_md-6{width:50%}.tui-col_md-7{width:58.33333333%}.tui-col_md-7,.tui-col_md-8{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-col_md-8{width:66.66666667%}.tui-col_md-9{width:75%}.tui-col_md-10,.tui-col_md-9{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-col_md-10{width:83.33333333%}.tui-col_md-11{width:91.66666667%}.tui-col_md-11,.tui-col_md-12{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-col_md-12{width:100%}.tui-col_stretch{display:flex}@media screen and (min-width: 80em){.tui-row_adaptive .tui-col_lg-1{width:8.33333333%;padding-left:1.5rem;padding-right:1.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_lg-2{width:16.66666667%;padding-left:1.5rem;padding-right:1.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_lg-3{width:25%;padding-left:1.5rem;padding-right:1.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_lg-4{width:33.33333333%;padding-left:1.5rem;padding-right:1.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_lg-5{width:41.66666667%;padding-left:1.5rem;padding-right:1.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_lg-6{width:50%;padding-left:1.5rem;padding-right:1.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_lg-7{width:58.33333333%;padding-left:1.5rem;padding-right:1.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_lg-8{width:66.66666667%;padding-left:1.5rem;padding-right:1.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_lg-9{width:75%;padding-left:1.5rem;padding-right:1.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_lg-10{width:83.33333333%;padding-left:1.5rem;padding-right:1.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_lg-11{width:91.66666667%;padding-left:1.5rem;padding-right:1.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_lg-12{width:100%;padding-left:1.5rem;padding-right:1.5rem;box-sizing:border-box}}@media screen and (max-width: 79.9625em){.tui-row_adaptive .tui-col_md-1{width:8.33333333%}.tui-row_adaptive .tui-col_md-1,.tui-row_adaptive .tui-col_md-2{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-row_adaptive .tui-col_md-2{width:16.66666667%}.tui-row_adaptive .tui-col_md-3{width:25%}.tui-row_adaptive .tui-col_md-3,.tui-row_adaptive .tui-col_md-4{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-row_adaptive .tui-col_md-4{width:33.33333333%}.tui-row_adaptive .tui-col_md-5{width:41.66666667%}.tui-row_adaptive .tui-col_md-5,.tui-row_adaptive .tui-col_md-6{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-row_adaptive .tui-col_md-6{width:50%}.tui-row_adaptive .tui-col_md-7{width:58.33333333%}.tui-row_adaptive .tui-col_md-7,.tui-row_adaptive .tui-col_md-8{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-row_adaptive .tui-col_md-8{width:66.66666667%}.tui-row_adaptive .tui-col_md-9{width:75%;padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-row_adaptive .tui-col_md-10{width:83.33333333%;padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-row_adaptive .tui-col_md-11{width:91.66666667%;padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-row_adaptive .tui-col_md-12{width:100%;padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}}@media screen and (max-width: 47.9625em){.tui-row_adaptive .tui-col_xs-1{width:8.33333333%;padding-left:.5rem;padding-right:.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_xs-2{width:16.66666667%;padding-left:.5rem;padding-right:.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_xs-3{width:25%;padding-left:.5rem;padding-right:.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_xs-4{width:33.33333333%;padding-left:.5rem;padding-right:.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_xs-5{width:41.66666667%;padding-left:.5rem;padding-right:.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_xs-6{width:50%;padding-left:.5rem;padding-right:.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_xs-7{width:58.33333333%;padding-left:.5rem;padding-right:.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_xs-8{width:66.66666667%;padding-left:.5rem;padding-right:.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_xs-9{width:75%;padding-left:.5rem;padding-right:.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_xs-10{width:83.33333333%;padding-left:.5rem;padding-right:.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_xs-11{width:91.66666667%;padding-left:.5rem;padding-right:.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_xs-12{width:100%;padding-left:.5rem;padding-right:.5rem;box-sizing:border-box}}.tui-row_temporary .tui-col_1{width:8.33333333%}.tui-row_temporary .tui-col_1,.tui-row_temporary .tui-col_2{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-row_temporary .tui-col_2{width:16.66666667%}.tui-row_temporary .tui-col_3{width:25%}.tui-row_temporary .tui-col_3,.tui-row_temporary .tui-col_4{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-row_temporary .tui-col_4{width:33.33333333%}.tui-row_temporary .tui-col_5{width:41.66666667%}.tui-row_temporary .tui-col_5,.tui-row_temporary .tui-col_6{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-row_temporary .tui-col_6{width:50%}.tui-row_temporary .tui-col_7{width:58.33333333%}.tui-row_temporary .tui-col_7,.tui-row_temporary .tui-col_8{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-row_temporary .tui-col_8{width:66.66666667%}.tui-row_temporary .tui-col_9{width:75%}.tui-row_temporary .tui-col_10,.tui-row_temporary .tui-col_9{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-row_temporary .tui-col_10{width:83.33333333%}.tui-row_temporary .tui-col_11{width:91.66666667%}.tui-row_temporary .tui-col_11,.tui-row_temporary .tui-col_12{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-row_temporary .tui-col_12{width:100%}@media screen and (min-width: 80em){.tui-col_1{width:8.33333333%}.tui-col_1,.tui-col_2{padding-left:1.5rem;padding-right:1.5rem;box-sizing:border-box}.tui-col_2{width:16.66666667%}.tui-col_3{width:25%}.tui-col_3,.tui-col_4{padding-left:1.5rem;padding-right:1.5rem;box-sizing:border-box}.tui-col_4{width:33.33333333%}.tui-col_5{width:41.66666667%}.tui-col_5,.tui-col_6{padding-left:1.5rem;padding-right:1.5rem;box-sizing:border-box}.tui-col_6{width:50%}.tui-col_7{width:58.33333333%}.tui-col_7,.tui-col_8{padding-left:1.5rem;padding-right:1.5rem;box-sizing:border-box}.tui-col_8{width:66.66666667%}.tui-col_9{width:75%}.tui-col_10,.tui-col_9{padding-left:1.5rem;padding-right:1.5rem;box-sizing:border-box}.tui-col_10{width:83.33333333%}.tui-col_11{width:91.66666667%}.tui-col_11,.tui-col_12{padding-left:1.5rem;padding-right:1.5rem;box-sizing:border-box}.tui-col_12{width:100%}}.tui-col-offset_1{margin-left:8.33333333%}.tui-col-offset_2{margin-left:16.66666667%}.tui-col-offset_3{margin-left:25%}.tui-col-offset_4{margin-left:33.33333333%}.tui-col-offset_5{margin-left:41.66666667%}.tui-col-offset_6{margin-left:50%}.tui-col-offset_7{margin-left:58.33333333%}.tui-col-offset_8{margin-left:66.66666667%}.tui-col-offset_9{margin-left:75%}.tui-col-offset_10{margin-left:83.33333333%}.tui-col-offset_11{margin-left:91.66666667%}.tui-col-offset_12{margin-left:100%}@media (min-width: 22.5em) and (max-width: 47.9625em){.tui-col-offset_xs-1{margin-left:8.33333333%}.tui-col-offset_xs-2{margin-left:16.66666667%}.tui-col-offset_xs-3{margin-left:25%}.tui-col-offset_xs-4{margin-left:33.33333333%}.tui-col-offset_xs-5{margin-left:41.66666667%}.tui-col-offset_xs-6{margin-left:50%}.tui-col-offset_xs-7{margin-left:58.33333333%}.tui-col-offset_xs-8{margin-left:66.66666667%}.tui-col-offset_xs-9{margin-left:75%}.tui-col-offset_xs-10{margin-left:83.33333333%}.tui-col-offset_xs-11{margin-left:91.66666667%}.tui-col-offset_xs-12{margin-left:100%}}@media screen and (max-width: 79.9625em){.tui-col-offset_md-1{margin-left:8.33333333%}.tui-col-offset_md-2{margin-left:16.66666667%}.tui-col-offset_md-3{margin-left:25%}.tui-col-offset_md-4{margin-left:33.33333333%}.tui-col-offset_md-5{margin-left:41.66666667%}.tui-col-offset_md-6{margin-left:50%}.tui-col-offset_md-7{margin-left:58.33333333%}.tui-col-offset_md-8{margin-left:66.66666667%}.tui-col-offset_md-9{margin-left:75%}.tui-col-offset_md-10{margin-left:83.33333333%}.tui-col-offset_md-11{margin-left:91.66666667%}.tui-col-offset_md-12{margin-left:100%}}@media screen and (min-width: 80em){.tui-col-offset_lg-1{margin-left:8.33333333%}.tui-col-offset_lg-2{margin-left:16.66666667%}.tui-col-offset_lg-3{margin-left:25%}.tui-col-offset_lg-4{margin-left:33.33333333%}.tui-col-offset_lg-5{margin-left:41.66666667%}.tui-col-offset_lg-6{margin-left:50%}.tui-col-offset_lg-7{margin-left:58.33333333%}.tui-col-offset_lg-8{margin-left:66.66666667%}.tui-col-offset_lg-9{margin-left:75%}.tui-col-offset_lg-10{margin-left:83.33333333%}.tui-col-offset_lg-11{margin-left:91.66666667%}.tui-col-offset_lg-12{margin-left:100%}}.tui-skeleton{position:relative;color:#0000!important;background:#0000!important;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.tui-skeleton:after{position:absolute;top:0;left:0;width:100%;height:100%;content:"";background-color:var(--tui-clear-hover);animation:tuiSkeletonVibe 1s ease-in-out infinite alternate;border-radius:var(--tui-skeleton-radius,0)}.tui-skeleton_light:after{background-color:#ffffff3d}.tui-skeleton_rounded:after{border-radius:inherit}.tui-skeleton_short:after{width:40%}.tui-skeleton_center:after{position:absolute;left:50%;transform:translate(-50%);width:40%}.tui-skeleton_text:before{content:"\a0"}.tui-skeleton *{opacity:0;visibility:hidden}.tui-space_all-16{margin:4rem}.tui-space_all-15{margin:3.75rem}.tui-space_all-14{margin:3.5rem}.tui-space_all-13{margin:3.25rem}.tui-space_all-12{margin:3rem}.tui-space_all-11{margin:2.75rem}.tui-space_all-10{margin:2.5rem}.tui-space_all-9{margin:2.25rem}.tui-space_all-8{margin:2rem}.tui-space_all-7{margin:1.75rem}.tui-space_all-6{margin:1.5rem}.tui-space_all-5{margin:1.25rem}.tui-space_all-4{margin:1rem}.tui-space_all-3{margin:.75rem}.tui-space_all-2{margin:.5rem}.tui-space_all-1{margin:.25rem}.tui-space_all-0{margin:0}.tui-space_top-16{margin-top:4rem}.tui-space_top-15{margin-top:3.75rem}.tui-space_top-14{margin-top:3.5rem}.tui-space_top-13{margin-top:3.25rem}.tui-space_top-12{margin-top:3rem}.tui-space_top-11{margin-top:2.75rem}.tui-space_top-10{margin-top:2.5rem}.tui-space_top-9{margin-top:2.25rem}.tui-space_top-8{margin-top:2rem}.tui-space_top-7{margin-top:1.75rem}.tui-space_top-6{margin-top:1.5rem}.tui-space_top-5{margin-top:1.25rem}.tui-space_top-4{margin-top:1rem}.tui-space_top-3{margin-top:.75rem}.tui-space_top-2{margin-top:.5rem}.tui-space_top-1{margin-top:.25rem}.tui-space_top-0{margin-top:0}.tui-space_bottom-16{margin-bottom:4rem}.tui-space_bottom-15{margin-bottom:3.75rem}.tui-space_bottom-14{margin-bottom:3.5rem}.tui-space_bottom-13{margin-bottom:3.25rem}.tui-space_bottom-12{margin-bottom:3rem}.tui-space_bottom-11{margin-bottom:2.75rem}.tui-space_bottom-10{margin-bottom:2.5rem}.tui-space_bottom-9{margin-bottom:2.25rem}.tui-space_bottom-8{margin-bottom:2rem}.tui-space_bottom-7{margin-bottom:1.75rem}.tui-space_bottom-6{margin-bottom:1.5rem}.tui-space_bottom-5{margin-bottom:1.25rem}.tui-space_bottom-4{margin-bottom:1rem}.tui-space_bottom-3{margin-bottom:.75rem}.tui-space_bottom-2{margin-bottom:.5rem}.tui-space_bottom-1{margin-bottom:.25rem}.tui-space_bottom-0{margin-bottom:0}.tui-space_vertical-16{margin-top:4rem;margin-bottom:4rem}.tui-space_vertical-15{margin-top:3.75rem;margin-bottom:3.75rem}.tui-space_vertical-14{margin-top:3.5rem;margin-bottom:3.5rem}.tui-space_vertical-13{margin-top:3.25rem;margin-bottom:3.25rem}.tui-space_vertical-12{margin-top:3rem;margin-bottom:3rem}.tui-space_vertical-11{margin-top:2.75rem;margin-bottom:2.75rem}.tui-space_vertical-10{margin-top:2.5rem;margin-bottom:2.5rem}.tui-space_vertical-9{margin-top:2.25rem;margin-bottom:2.25rem}.tui-space_vertical-8{margin-top:2rem;margin-bottom:2rem}.tui-space_vertical-7{margin-top:1.75rem;margin-bottom:1.75rem}.tui-space_vertical-6{margin-top:1.5rem;margin-bottom:1.5rem}.tui-space_vertical-5{margin-top:1.25rem;margin-bottom:1.25rem}.tui-space_vertical-4{margin-top:1rem;margin-bottom:1rem}.tui-space_vertical-3{margin-top:.75rem;margin-bottom:.75rem}.tui-space_vertical-2{margin-top:.5rem;margin-bottom:.5rem}.tui-space_vertical-1{margin-top:.25rem;margin-bottom:.25rem}.tui-space_vertical-0{margin-top:0;margin-bottom:0}.tui-space_left-16{margin-left:4rem}.tui-space_left-15{margin-left:3.75rem}.tui-space_left-14{margin-left:3.5rem}.tui-space_left-13{margin-left:3.25rem}.tui-space_left-12{margin-left:3rem}.tui-space_left-11{margin-left:2.75rem}.tui-space_left-10{margin-left:2.5rem}.tui-space_left-9{margin-left:2.25rem}.tui-space_left-8{margin-left:2rem}.tui-space_left-7{margin-left:1.75rem}.tui-space_left-6{margin-left:1.5rem}.tui-space_left-5{margin-left:1.25rem}.tui-space_left-4{margin-left:1rem}.tui-space_left-3{margin-left:.75rem}.tui-space_left-2{margin-left:.5rem}.tui-space_left-1{margin-left:.25rem}.tui-space_left-0{margin-left:0}.tui-space_right-16{margin-right:4rem}.tui-space_right-15{margin-right:3.75rem}.tui-space_right-14{margin-right:3.5rem}.tui-space_right-13{margin-right:3.25rem}.tui-space_right-12{margin-right:3rem}.tui-space_right-11{margin-right:2.75rem}.tui-space_right-10{margin-right:2.5rem}.tui-space_right-9{margin-right:2.25rem}.tui-space_right-8{margin-right:2rem}.tui-space_right-7{margin-right:1.75rem}.tui-space_right-6{margin-right:1.5rem}.tui-space_right-5{margin-right:1.25rem}.tui-space_right-4{margin-right:1rem}.tui-space_right-3{margin-right:.75rem}.tui-space_right-2{margin-right:.5rem}.tui-space_right-1{margin-right:.25rem}.tui-space_right-0{margin-right:0}.tui-space_horizontal-16{margin-right:4rem;margin-left:4rem}.tui-space_horizontal-15{margin-right:3.75rem;margin-left:3.75rem}.tui-space_horizontal-14{margin-right:3.5rem;margin-left:3.5rem}.tui-space_horizontal-13{margin-right:3.25rem;margin-left:3.25rem}.tui-space_horizontal-12{margin-right:3rem;margin-left:3rem}.tui-space_horizontal-11{margin-right:2.75rem;margin-left:2.75rem}.tui-space_horizontal-10{margin-right:2.5rem;margin-left:2.5rem}.tui-space_horizontal-9{margin-right:2.25rem;margin-left:2.25rem}.tui-space_horizontal-8{margin-right:2rem;margin-left:2rem}.tui-space_horizontal-7{margin-right:1.75rem;margin-left:1.75rem}.tui-space_horizontal-6{margin-right:1.5rem;margin-left:1.5rem}.tui-space_horizontal-5{margin-right:1.25rem;margin-left:1.25rem}.tui-space_horizontal-4{margin-right:1rem;margin-left:1rem}.tui-space_horizontal-3{margin-right:.75rem;margin-left:.75rem}.tui-space_horizontal-2{margin-right:.5rem;margin-left:.5rem}.tui-space_horizontal-1{margin-right:.25rem;margin-left:.25rem}.tui-space_horizontal-0{margin-right:0;margin-left:0}.tui-space_auto{margin-left:auto;margin-right:auto}.tui-table{width:100%}.tui-table_layout_fixed{table-layout:fixed}.tui-table__tr{transition-property:background;transition-duration:var(--tui-duration,.3s);transition-timing-function:ease-in-out;outline:none}.tui-table__tr:not(.tui-table__tr_hover_disabled):hover{background:var(--tui-base-02)}.tui-table__tr:not(.tui-table__tr_border_none){border-bottom:1px solid var(--tui-base-03)}.tui-table__tr_border_top{border-top:1px solid var(--tui-base-03)}.tui-table__tr_cursor_pointer{cursor:pointer}.tui-table__th{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:var(--tui-font-text-s);padding:.5rem 1rem;vertical-align:middle;height:2.5rem;color:var(--tui-text-02);background:inherit}.tui-table__td,.tui-table__th_font-size_l,.tui-table_font-size_l .tui-table__th{font:var(--tui-font-text-m)}.tui-table__td{padding:1rem 1rem .875rem;vertical-align:top;word-wrap:break-word;height:3.4375rem;color:var(--tui-text-01);background:inherit}.tui-table__td_size_l,.tui-table_size_l .tui-table__td{height:4.9375rem}.tui-table__td_font-size_l,.tui-table_font-size_l .tui-table__td{font:var(--tui-font-text-l)}.tui-table__td_font-size_s,.tui-table_font-size_s .tui-table__td{font:var(--tui-font-text-s)}.tui-table__td_align_center{vertical-align:middle}.tui-table__td,.tui-table__th{box-sizing:border-box;text-align:left}.tui-table_size_l .tui-table__td:before,.tui-table_size_l .tui-table__th:before{width:1rem;border-top-left-radius:1rem;border-bottom-left-radius:1rem}.tui-table__td_first:before,.tui-table__td_last:before,.tui-table__th_first:before,.tui-table__th_last:before{content:"";position:absolute;top:0;width:.75rem;height:100%;background:inherit;border-top-left-radius:.75rem;border-bottom-left-radius:.75rem}.tui-table__td_first,.tui-table__th_first{position:relative;padding-left:0;overflow:visible}.tui-table__td_first:before,.tui-table__th_first:before{right:100%}.tui-table__td_last,.tui-table__th_last{position:relative;padding-right:0;overflow:visible}.tui-table__td_last:before,.tui-table__th_last:before{left:100%;transform:scaleX(-1)}.tui-table__td_text_center,.tui-table__th_text_center{text-align:center}.tui-table__td_text_right,.tui-table__th_text_right{text-align:right}.tui-table__td_text_overflow,.tui-table__th_text_overflow{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tui-table__subtext{font:var(--tui-font-text-s);margin:.25rem 0 0;color:var(--tui-text-03)}.tui-table__sort{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;transition-property:color;transition-duration:var(--tui-duration,.3s);transition-timing-function:ease-in-out;position:relative;display:inline-flex;align-items:center;outline:none;cursor:pointer}.tui-table__sort:hover{color:var(--tui-text-01)}.tui-table__sort_active{color:var(--tui-link)}.tui-table__sort_active:hover{color:var(--tui-link-hover)}.tui-table__sort-icon{position:absolute;top:50%;transform:translateY(-50%);left:100%;margin-left:.125rem;width:1rem;height:1rem;flex-shrink:0;opacity:0}.tui-table__sort:hover .tui-table__sort-icon,.tui-table__sort_active .tui-table__sort-icon{transition-property:transform;transition-duration:var(--tui-duration,.3s);transition-timing-function:ease-in-out;opacity:1}.tui-table__sort_active.tui-table__sort_up .tui-table__sort-icon{transform:rotate(180deg) translateY(50%)}.tui-text_h1{font:var(--tui-font-heading-1)}.tui-text_h2{font:var(--tui-font-heading-2)}.tui-text_h3{font:var(--tui-font-heading-3)}.tui-text_h4{font:var(--tui-font-heading-4)}.tui-text_h5{font:var(--tui-font-heading-5)}.tui-text_h6{font:var(--tui-font-heading-6)}.tui-text_body-xl{font:var(--tui-font-text-xl)}.tui-text_body-l{font:var(--tui-font-text-l)}.tui-text_body-l-2{font:var(--tui-font-text-l-2)}.tui-text_body-m{font:var(--tui-font-text-m)}.tui-text_body-m-2{font:var(--tui-font-text-m-2)}.tui-text_body-s{font:var(--tui-font-text-s)}.tui-text_body-s-2{font:var(--tui-font-text-s-2)}.tui-text_body-xs{font:var(--tui-font-text-xs)}.tui-text_bold{font-weight:700}body{margin:0}body,html{height:100%}markdown{display:block}markdown h1{font:var(--tui-font-heading-1)}markdown h2{font:var(--tui-font-heading-2)}markdown h3{font:var(--tui-font-heading-3)}markdown h4{font:var(--tui-font-heading-4)}markdown h5{font:var(--tui-font-heading-5)}markdown h6{font:var(--tui-font-heading-6)}markdown h1,markdown h2,markdown h3,markdown h4,markdown h5,markdown h6{margin:3rem 0 1rem}markdown img{margin:.625rem 3rem 1.5rem 0;max-width:27.5rem}markdown img:nth-child(2n){margin-right:0}markdown li{position:relative;padding-left:1.5rem;word-wrap:break-word;margin-top:.75rem}markdown li:before{content:"";position:absolute;left:0;top:.5rem;width:.5rem;height:.5rem;border-radius:100%;background-color:var(--tui-primary)}markdown li li{color:var(--tui-text-02)}markdown li li:before{content:"\2014";left:0;top:auto;width:auto;height:auto;background-color:initial}markdown a{text-decoration:none;color:var(--tui-link)}markdown a:active,markdown a:hover{color:var(--tui-link-hover)} \ No newline at end of file diff --git a/styles.ffd7c6e55bad49bdeece.css b/styles.ffd7c6e55bad49bdeece.css new file mode 100644 index 000000000..ac86421c6 --- /dev/null +++ b/styles.ffd7c6e55bad49bdeece.css @@ -0,0 +1 @@ +:root{--tui-heading-font:"Manrope",-apple-system,"BlinkMacSystemFont",system-ui,"Roboto","Segoe UI","Helvetica Neue",sans-serif;--tui-text-font:"Manrope",-apple-system,"BlinkMacSystemFont",system-ui,"Roboto","Segoe UI","Helvetica Neue",sans-serif;--tui-font-heading:var(--tui-heading-font);--tui-font-heading-1:bold 3.125rem/3.5rem var(--tui-font-heading);--tui-font-heading-2:bold 2.75rem/3rem var(--tui-font-heading);--tui-font-heading-3:bold 2.25rem/2.5rem var(--tui-font-heading);--tui-font-heading-4:bold 1.75rem/2rem var(--tui-font-heading);--tui-font-heading-5:bold 1.5rem/1.75rem var(--tui-font-heading);--tui-font-heading-6:bold 1.25rem/1.5rem var(--tui-font-heading);--tui-font-text:var(--tui-text-font);--tui-font-text-xl:normal 1.1875rem/1.75rem var(--tui-font-text);--tui-font-text-l:normal 1.0625rem/1.75rem var(--tui-font-text);--tui-font-text-l-2:normal 1.0625rem/1.5rem var(--tui-font-text);--tui-font-text-m:normal 1rem/1.5rem var(--tui-font-text);--tui-font-text-m-2:normal 1rem/1.25rem var(--tui-font-text);--tui-font-text-s:normal 0.8125rem/1.25rem var(--tui-font-text);--tui-font-text-s-2:normal 0.8125rem/1rem var(--tui-font-text);--tui-font-text-xs:normal 0.6875rem/1rem var(--tui-font-text);--tui-font-text-xs-2:normal 0.6875rem/0.8125rem var(--tui-font-text);--tui-radius-xs:0.25rem;--tui-radius-s:0.5rem;--tui-radius-m:0.75rem;--tui-radius-l:0.75rem;--tui-radius-xl:1.5rem;--tui-height-xs:1.5rem;--tui-height-s:2rem;--tui-height-m:2.75rem;--tui-height-l:3.5rem;--tui-padding-s:0.75rem;--tui-padding-m:0.75rem;--tui-padding-l:1rem;--tui-duration:0.3s;--tui-backdrop:none;--tui-disabled-opacity:0.56;--tui-autofill:#fff5c0;--tui-base-01:#fff;--tui-base-02:#f6f6f6;--tui-base-03:#ededed;--tui-base-04:#d7d7d7;--tui-base-05:#b0b0b0;--tui-base-06:#959595;--tui-base-07:grey;--tui-base-08:#333;--tui-base-09:#000;--tui-primary:#526ed3;--tui-primary-hover:#6c86e2;--tui-primary-active:#314692;--tui-primary-text:#fff;--tui-secondary:#ebefff;--tui-secondary-hover:#dfe3f3;--tui-secondary-active:#d8ddf2;--tui-accent:#ff7043;--tui-accent-hover:#ff9a94;--tui-accent-active:#e7716a;--tui-accent-text:#fff;--tui-selection:#70b6f61f;--tui-focus:#333333a3;--tui-clear:#0000000a;--tui-clear-disabled:#0000000a;--tui-clear-hover:#00000029;--tui-clear-active:#0003;--tui-clear-inverse:#ffffff29;--tui-clear-inverse-hover:#ffffff3d;--tui-clear-inverse-active:#fff6;--tui-elevation-01:#fff;--tui-elevation-02:#fff;--tui-error-fill:#f45725;--tui-error-bg:#f457251f;--tui-error-bg-hover:#f457253d;--tui-success-fill:#4ac99b;--tui-success-bg:#4ac99b1f;--tui-success-bg-hover:#4ac99b3d;--tui-warning-fill:#ffc700;--tui-warning-bg:#ffc7001f;--tui-warning-bg-hover:#ffc7003d;--tui-info-fill:#70b6f6;--tui-info-bg:#70b6f61f;--tui-info-bg-hover:#70b6f63d;--tui-neutral-fill:#79818c;--tui-neutral-bg:#79818c1f;--tui-neutral-bg-hover:#79818c3d;--tui-text-01:#1b1f3b;--tui-text-02:#1b1f3ba6;--tui-text-03:#1b1f3b66;--tui-link:#526ed3;--tui-link-hover:#6c86e2;--tui-positive:#3aa981;--tui-positive-hover:#7ac5aa;--tui-negative:#dd4c1e;--tui-negative-hover:#e38163;--tui-error-fill-night:#ff8c67;--tui-error-bg-night:#f4572552;--tui-error-bg-night-hover:#f4572566;--tui-success-fill-night:#4ac99b;--tui-success-bg-night:#4ac99b52;--tui-success-bg-night-hover:#4ac99b66;--tui-warning-fill-night:#ffc700;--tui-warning-bg-night:#ffc70052;--tui-warning-bg-night-hover:#ffc70066;--tui-info-fill-night:#70b6f6;--tui-info-bg-night:#70b6f652;--tui-info-bg-night-hover:#70b6f666;--tui-neutral-fill-night:#959ba4;--tui-neutral-bg-night:#959ba452;--tui-neutral-bg-night-hover:#959ba47a;--tui-autofill-night:#554a2a;--tui-text-01-night:#fff;--tui-text-02-night:#ffffffb8;--tui-text-03-night:#fff9;--tui-link-night:#6788ff;--tui-link-night-hover:#526ed3;--tui-positive-night:#44c596;--tui-positive-night-hover:#3aa981;--tui-negative-night:#ff8c67;--tui-negative-night-hover:#bb593a;--tui-support-01:#a8cef1;--tui-support-02:#3682db;--tui-support-03:#8dda71;--tui-support-04:#34b41f;--tui-support-05:#e29398;--tui-support-06:#b8474e;--tui-support-07:#fcc068;--tui-support-08:#ff8a00;--tui-support-09:#dab3f9;--tui-support-10:#7b439e;--tui-support-11:#fee797;--tui-support-12:#fcbb14;--tui-support-13:#ea97c4;--tui-support-14:#bd65a4;--tui-support-15:#7fd7cc;--tui-support-16:#2fad96;--tui-support-17:#d4aca2;--tui-support-18:#9d6f64;--tui-support-19:#d2e9a2;--tui-support-20:#aadc42;--tui-support-21:#a0c5df;--tui-chart-0:var(--tui-primary);--tui-chart-1:var(--tui-support-13);--tui-chart-2:var(--tui-support-21);--tui-chart-3:var(--tui-support-11);--tui-chart-4:var(--tui-base-05);--tui-shadow:0 0.25rem 1.5rem #0000001f;--tui-shadow-hover:0 0.75rem 2.25rem #0003;--tui-shadow-dropdown:0 1.5rem 1rem #00000008,0 0.75rem 0.75rem #0000000a,0 0.25rem 0.375rem #0000000d;--tui-shadow-modal:0 1.125rem 1.875rem #0000007a;--tui-shadow-sidebar:0.25rem 0 1.5rem #0000001f;--tui-shadow-navigation:0 0.125rem 1rem #00000014;--tui-shadow-sheet:0 -1rem 1.75rem #0000003d}[tuiTheme=night]{--tui-base-01:#222;--tui-base-02:#333;--tui-base-03:grey;--tui-base-04:#959595;--tui-base-05:#b0b0b0;--tui-base-06:#d7d7d7;--tui-base-07:#ededed;--tui-base-08:#f6f6f6;--tui-base-09:#fff;--tui-focus:#333333a3;--tui-secondary:#ffffff29;--tui-secondary-hover:#ffffff3d;--tui-secondary-active:#fff6;--tui-clear:#ffffff29;--tui-clear-disabled:#ffffff14;--tui-clear-hover:#ffffff3d;--tui-clear-active:#fff6;--tui-error-fill:#ff8c67;--tui-error-bg:#f4572552;--tui-error-bg-hover:#f4572566;--tui-success-fill:#4ac99b;--tui-success-bg:#4ac99b52;--tui-success-bg-hover:#4ac99b66;--tui-warning-fill:#ffc700;--tui-warning-bg:#ffc70052;--tui-warning-bg-hover:#ffc70066;--tui-info-fill:#70b6f6;--tui-info-bg:#70b6f652;--tui-info-bg-hover:#70b6f666;--tui-neutral-fill:#959ba4;--tui-neutral-bg:#959ba452;--tui-neutral-bg-hover:#959ba47a;--tui-text-01:#fff;--tui-text-02:#ffffffb8;--tui-text-03:#fff9;--tui-link:#6788ff;--tui-link-hover:#526ed3;--tui-positive:#44c596;--tui-positive-hover:#3aa981;--tui-negative:#ff8c67;--tui-negative-hover:#bb593a;--tui-autofill:var(--tui-autofill-night);--tui-elevation-01:#222;--tui-elevation-02:#222;--tui-shadow:0 0.25rem 1.5rem #0000001f;--tui-shadow-hover:0 0.75rem 2.25rem #0003;--tui-shadow-dropdown:0 1.5rem 1rem #00000008,0 0.75rem 0.75rem #0000000a,0 0.25rem 0.375rem #0000000d;--tui-shadow-modal:0 1.125rem 1.875rem #0000007a;--tui-shadow-sidebar:0.25rem 0 1.5rem #0000001f;--tui-shadow-navigation:0 0.125rem 1rem #00000014;--tui-shadow-sheet:0 -1rem 1.75rem #0000003d}[tuiTheme=night] tui-notification{--tui-base-01:#000}[tuiAppearance]{transition-property:color,background,opacity,box-shadow;transition-duration:var(--tui-duration,.3s);transition-timing-function:ease-in-out;position:relative;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:.125rem solid #0000;outline-offset:-.125rem}[tuiAppearance]:focus-visible:not([data-focus=false]),[tuiAppearance][data-focus=true]{outline-color:var(--tui-focus)}[tuiAppearance]:disabled:not([data-state]),[tuiAppearance][data-state=disabled]{pointer-events:none;opacity:var(--tui-disabled-opacity)}[tuiAppearance][data-appearance=accent]{background:var(--tui-accent);color:var(--tui-accent-text)}@media (hover: hover){[tuiAppearance][data-appearance=accent]:-webkit-any(a,button,select,textarea,input,label):hover:not([data-state]){background:var(--tui-accent-hover)}}@media (hover: hover){[tuiAppearance][data-appearance=accent]:-moz-any(a,button,select,textarea,input,label):hover:not([data-state]){background:var(--tui-accent-hover)}}[tuiAppearance][data-appearance=accent][data-state=hover]{background:var(--tui-accent-hover)}[tuiAppearance][data-appearance=accent]:-webkit-any(a,button,select,textarea,input,label):active:not([data-state]){background:var(--tui-accent-active)}[tuiAppearance][data-appearance=accent]:-moz-any(a,button,select,textarea,input,label):active:not([data-state]){background:var(--tui-accent-active)}[tuiAppearance][data-appearance=accent][data-state=active]{background:var(--tui-accent-active)}[tuiAppearance][data-appearance=floating]{background:#fff;color:#000c;box-shadow:0 .25rem 1.25rem #0000001a}@media (hover: hover){[tuiAppearance][data-appearance=floating]:-webkit-any(a,button,select,textarea,input,label):hover:not([data-state]){box-shadow:0 .875rem 2.625rem #00000024}}@media (hover: hover){[tuiAppearance][data-appearance=floating]:-moz-any(a,button,select,textarea,input,label):hover:not([data-state]){box-shadow:0 .875rem 2.625rem #00000024}}[tuiAppearance][data-appearance=floating][data-state=hover]{box-shadow:0 .875rem 2.625rem #00000024}[tuiAppearance][data-appearance=floating]:-webkit-any(a,button,select,textarea,input,label):active:not([data-state]){background:#f6f7f8;box-shadow:0 .25rem 1.25rem #0000001a}[tuiAppearance][data-appearance=floating]:-moz-any(a,button,select,textarea,input,label):active:not([data-state]){background:#f6f7f8;box-shadow:0 .25rem 1.25rem #0000001a}[tuiAppearance][data-appearance=floating][data-state=active]{background:#f6f7f8;box-shadow:0 .25rem 1.25rem #0000001a}[tuiAppearance][data-appearance=glass]{background:#0006;color:#fff;-webkit-backdrop-filter:blur(1rem);backdrop-filter:blur(1rem);--tui-focus:#ffffffa3}@media (hover: hover){[tuiAppearance][data-appearance=glass]:-webkit-any(a,button,select,textarea,input,label):hover:not([data-state]){background:#0000007a}}@media (hover: hover){[tuiAppearance][data-appearance=glass]:-moz-any(a,button,select,textarea,input,label):hover:not([data-state]){background:#0000007a}}[tuiAppearance][data-appearance=glass][data-state=hover]{background:#0000007a}[tuiAppearance][data-appearance=glass]:-webkit-any(a,button,select,textarea,input,label):active:not([data-state]){background:#0009}[tuiAppearance][data-appearance=glass]:-moz-any(a,button,select,textarea,input,label):active:not([data-state]){background:#0009}[tuiAppearance][data-appearance=glass][data-state=active]{background:#0009}[tuiTheme=night] [tuiAppearance][data-appearance=glass]{background:#ffffff4d}@media (hover: hover){[tuiTheme=night] [tuiAppearance][data-appearance=glass]:-webkit-any(a,button,select,textarea,input,label):hover:not([data-state]){background:#fff6}}@media (hover: hover){[tuiTheme=night] [tuiAppearance][data-appearance=glass]:-moz-any(a,button,select,textarea,input,label):hover:not([data-state]){background:#fff6}}[tuiTheme=night] [tuiAppearance][data-appearance=glass][data-state=hover]{background:#fff6}[tuiTheme=night] [tuiAppearance][data-appearance=glass]:-webkit-any(a,button,select,textarea,input,label):active:not([data-state]){background:#ffffff80}[tuiTheme=night] [tuiAppearance][data-appearance=glass]:-moz-any(a,button,select,textarea,input,label):active:not([data-state]){background:#ffffff80}[tuiTheme=night] [tuiAppearance][data-appearance=glass][data-state=active]{background:#ffffff80}[tuiAppearance][data-appearance=icon]{color:var(--tui-text-03)}@media (hover: hover){[tuiAppearance][data-appearance=icon]:-webkit-any(a,button,select,textarea,input,label):hover:not([data-state]){color:var(--tui-text-02)}}@media (hover: hover){[tuiAppearance][data-appearance=icon]:-moz-any(a,button,select,textarea,input,label):hover:not([data-state]){color:var(--tui-text-02)}}[tuiAppearance][data-appearance=icon][data-state=hover]{color:var(--tui-text-02)}[tuiAppearance][data-appearance=icon]:-webkit-any(a,button,select,textarea,input,label):active:not([data-state]){color:var(--tui-text-01)}[tuiAppearance][data-appearance=icon]:-moz-any(a,button,select,textarea,input,label):active:not([data-state]){color:var(--tui-text-01)}[tuiAppearance][data-appearance=icon][data-state=active]{color:var(--tui-text-01)}[tuiAppearance][data-appearance=floating]:after,[tuiAppearance][data-appearance=floating]:before,[tuiAppearance][data-appearance=neutral]:after,[tuiAppearance][data-appearance=neutral]:before,[tuiAppearance][data-appearance=whiteblock]:after,[tuiAppearance][data-appearance=whiteblock]:before{transition-property:color;transition-duration:var(--tui-duration,.3s);transition-timing-function:ease-in-out;color:var(--tui-text-03)}@media (hover: hover){[tuiAppearance][data-appearance=floating]:-webkit-any(a,button,select,textarea,input,label):hover:not([data-state]):after,[tuiAppearance][data-appearance=floating]:-webkit-any(a,button,select,textarea,input,label):hover:not([data-state]):before,[tuiAppearance][data-appearance=neutral]:-webkit-any(a,button,select,textarea,input,label):hover:not([data-state]):after,[tuiAppearance][data-appearance=neutral]:-webkit-any(a,button,select,textarea,input,label):hover:not([data-state]):before,[tuiAppearance][data-appearance=whiteblock]:-webkit-any(a,button,select,textarea,input,label):hover:not([data-state]):after,[tuiAppearance][data-appearance=whiteblock]:-webkit-any(a,button,select,textarea,input,label):hover:not([data-state]):before{color:var(--tui-text-02)}}@media (hover: hover){[tuiAppearance][data-appearance=floating]:-moz-any(a,button,select,textarea,input,label):hover:not([data-state]):after,[tuiAppearance][data-appearance=floating]:-moz-any(a,button,select,textarea,input,label):hover:not([data-state]):before,[tuiAppearance][data-appearance=neutral]:-moz-any(a,button,select,textarea,input,label):hover:not([data-state]):after,[tuiAppearance][data-appearance=neutral]:-moz-any(a,button,select,textarea,input,label):hover:not([data-state]):before,[tuiAppearance][data-appearance=whiteblock]:-moz-any(a,button,select,textarea,input,label):hover:not([data-state]):after,[tuiAppearance][data-appearance=whiteblock]:-moz-any(a,button,select,textarea,input,label):hover:not([data-state]):before{color:var(--tui-text-02)}}[tuiAppearance][data-appearance=floating][data-state=hover]:after,[tuiAppearance][data-appearance=floating][data-state=hover]:before,[tuiAppearance][data-appearance=neutral][data-state=hover]:after,[tuiAppearance][data-appearance=neutral][data-state=hover]:before,[tuiAppearance][data-appearance=whiteblock][data-state=hover]:after,[tuiAppearance][data-appearance=whiteblock][data-state=hover]:before{color:var(--tui-text-02)}[tuiAppearance][data-appearance=floating]:-webkit-any(a,button,select,textarea,input,label):active:not([data-state]):after,[tuiAppearance][data-appearance=floating]:-webkit-any(a,button,select,textarea,input,label):active:not([data-state]):before,[tuiAppearance][data-appearance=neutral]:-webkit-any(a,button,select,textarea,input,label):active:not([data-state]):after,[tuiAppearance][data-appearance=neutral]:-webkit-any(a,button,select,textarea,input,label):active:not([data-state]):before,[tuiAppearance][data-appearance=whiteblock]:-webkit-any(a,button,select,textarea,input,label):active:not([data-state]):after,[tuiAppearance][data-appearance=whiteblock]:-webkit-any(a,button,select,textarea,input,label):active:not([data-state]):before{color:var(--tui-text-01)}[tuiAppearance][data-appearance=floating]:-moz-any(a,button,select,textarea,input,label):active:not([data-state]):after,[tuiAppearance][data-appearance=floating]:-moz-any(a,button,select,textarea,input,label):active:not([data-state]):before,[tuiAppearance][data-appearance=neutral]:-moz-any(a,button,select,textarea,input,label):active:not([data-state]):after,[tuiAppearance][data-appearance=neutral]:-moz-any(a,button,select,textarea,input,label):active:not([data-state]):before,[tuiAppearance][data-appearance=whiteblock]:-moz-any(a,button,select,textarea,input,label):active:not([data-state]):after,[tuiAppearance][data-appearance=whiteblock]:-moz-any(a,button,select,textarea,input,label):active:not([data-state]):before{color:var(--tui-text-01)}[tuiAppearance][data-appearance=floating][data-state=active]:after,[tuiAppearance][data-appearance=floating][data-state=active]:before,[tuiAppearance][data-appearance=neutral][data-state=active]:after,[tuiAppearance][data-appearance=neutral][data-state=active]:before,[tuiAppearance][data-appearance=whiteblock][data-state=active]:after,[tuiAppearance][data-appearance=whiteblock][data-state=active]:before{color:var(--tui-text-01)}[tuiAppearance][data-appearance=opposite]{background:#000;color:#fff;--tui-focus:#ffffffa3}@media (hover: hover){[tuiAppearance][data-appearance=opposite]:-webkit-any(a,button,select,textarea,input,label):hover:not([data-state]){background:#333}}@media (hover: hover){[tuiAppearance][data-appearance=opposite]:-moz-any(a,button,select,textarea,input,label):hover:not([data-state]){background:#333}}[tuiAppearance][data-appearance=opposite][data-state=hover]{background:#333}[tuiAppearance][data-appearance=opposite]:-webkit-any(a,button,select,textarea,input,label):active:not([data-state]){background:#5c636b}[tuiAppearance][data-appearance=opposite]:-moz-any(a,button,select,textarea,input,label):active:not([data-state]){background:#5c636b}[tuiAppearance][data-appearance=opposite][data-state=active]{background:#5c636b}[tuiTheme=night] [tuiAppearance][data-appearance=opposite]{color:#000c;background:#fff;--tui-focus:#3333337a}@media (hover: hover){[tuiTheme=night] [tuiAppearance][data-appearance=opposite]:-webkit-any(a,button,select,textarea,input,label):hover:not([data-state]){background:#f3f4f6}}@media (hover: hover){[tuiTheme=night] [tuiAppearance][data-appearance=opposite]:-moz-any(a,button,select,textarea,input,label):hover:not([data-state]){background:#f3f4f6}}[tuiTheme=night] [tuiAppearance][data-appearance=opposite][data-state=hover]{background:#f3f4f6}[tuiTheme=night] [tuiAppearance][data-appearance=opposite]:-webkit-any(a,button,select,textarea,input,label):active:not([data-state]){background:#eaecee}[tuiTheme=night] [tuiAppearance][data-appearance=opposite]:-moz-any(a,button,select,textarea,input,label):active:not([data-state]){background:#eaecee}[tuiTheme=night] [tuiAppearance][data-appearance=opposite][data-state=active]{background:#eaecee}[tuiAppearance][data-appearance=outline],[tuiAppearance][data-appearance=whiteblock]{background:#0000;color:var(--tui-link);box-shadow:inset 0 0 0 1px var(--tui-base-04)}@media (hover: hover){[tuiAppearance][data-appearance=outline]:-webkit-any(a,button,select,textarea,input,label):hover:not([data-state]),[tuiAppearance][data-appearance=whiteblock]:-webkit-any(a,button,select,textarea,input,label):hover:not([data-state]){background:var(--tui-clear);box-shadow:inset 0 0 0 1px var(--tui-base-05)}}@media (hover: hover){[tuiAppearance][data-appearance=outline]:-moz-any(a,button,select,textarea,input,label):hover:not([data-state]),[tuiAppearance][data-appearance=whiteblock]:-moz-any(a,button,select,textarea,input,label):hover:not([data-state]){background:var(--tui-clear);box-shadow:inset 0 0 0 1px var(--tui-base-05)}}[tuiAppearance][data-appearance=outline][data-state=hover],[tuiAppearance][data-appearance=whiteblock][data-state=hover]{background:var(--tui-clear);box-shadow:inset 0 0 0 1px var(--tui-base-05)}[tuiAppearance][data-appearance=outline]:-webkit-any(a,button,select,textarea,input,label):active:not([data-state]),[tuiAppearance][data-appearance=whiteblock]:-webkit-any(a,button,select,textarea,input,label):active:not([data-state]){background:var(--tui-clear);box-shadow:inset 0 0 0 1px var(--tui-base-06)}[tuiAppearance][data-appearance=outline]:-moz-any(a,button,select,textarea,input,label):active:not([data-state]),[tuiAppearance][data-appearance=whiteblock]:-moz-any(a,button,select,textarea,input,label):active:not([data-state]){background:var(--tui-clear);box-shadow:inset 0 0 0 1px var(--tui-base-06)}[tuiAppearance][data-appearance=outline][data-state=active],[tuiAppearance][data-appearance=whiteblock][data-state=active]{background:var(--tui-clear);box-shadow:inset 0 0 0 1px var(--tui-base-06)}[tuiAppearance][data-appearance=outline]:checked,[tuiAppearance][data-appearance=whiteblock]:checked{box-shadow:inset 0 0 0 2px var(--tui-primary)}@media (hover: hover){[tuiAppearance][data-appearance=outline]:checked:-webkit-any(a,button,select,textarea,input,label):hover:not([data-state]),[tuiAppearance][data-appearance=whiteblock]:checked:-webkit-any(a,button,select,textarea,input,label):hover:not([data-state]){box-shadow:inset 0 0 0 2px var(--tui-primary-hover)}}@media (hover: hover){[tuiAppearance][data-appearance=outline]:checked:-moz-any(a,button,select,textarea,input,label):hover:not([data-state]),[tuiAppearance][data-appearance=whiteblock]:checked:-moz-any(a,button,select,textarea,input,label):hover:not([data-state]){box-shadow:inset 0 0 0 2px var(--tui-primary-hover)}}[tuiAppearance][data-appearance=outline]:checked[data-state=hover],[tuiAppearance][data-appearance=whiteblock]:checked[data-state=hover]{box-shadow:inset 0 0 0 2px var(--tui-primary-hover)}[tuiAppearance][data-appearance=outline]:checked:-webkit-any(a,button,select,textarea,input,label):active:not([data-state]),[tuiAppearance][data-appearance=whiteblock]:checked:-webkit-any(a,button,select,textarea,input,label):active:not([data-state]){box-shadow:inset 0 0 0 2px var(--tui-primary-active)}[tuiAppearance][data-appearance=outline]:checked:-moz-any(a,button,select,textarea,input,label):active:not([data-state]),[tuiAppearance][data-appearance=whiteblock]:checked:-moz-any(a,button,select,textarea,input,label):active:not([data-state]){box-shadow:inset 0 0 0 2px var(--tui-primary-active)}[tuiAppearance][data-appearance=outline]:checked[data-state=active],[tuiAppearance][data-appearance=whiteblock]:checked[data-state=active]{box-shadow:inset 0 0 0 2px var(--tui-primary-active)}[tuiAppearance][data-appearance=whiteblock]{color:var(--tui-text-01)}[tuiAppearance][data-appearance=primary]{background:var(--tui-primary);color:var(--tui-primary-text)}@media (hover: hover){[tuiAppearance][data-appearance=primary]:-webkit-any(a,button,select,textarea,input,label):hover:not([data-state]){background:var(--tui-primary-hover)}}@media (hover: hover){[tuiAppearance][data-appearance=primary]:-moz-any(a,button,select,textarea,input,label):hover:not([data-state]){background:var(--tui-primary-hover)}}[tuiAppearance][data-appearance=primary][data-state=hover]{background:var(--tui-primary-hover)}[tuiAppearance][data-appearance=primary]:-webkit-any(a,button,select,textarea,input,label):active:not([data-state]){background:var(--tui-primary-active)}[tuiAppearance][data-appearance=primary]:-moz-any(a,button,select,textarea,input,label):active:not([data-state]){background:var(--tui-primary-active)}[tuiAppearance][data-appearance=primary][data-state=active]{background:var(--tui-primary-active)}[tuiAppearance][data-appearance=destructive],[tuiAppearance][data-appearance=flat],[tuiAppearance][data-appearance=secondary]{background:var(--tui-secondary);color:var(--tui-link)}@media (hover: hover){[tuiAppearance][data-appearance=destructive]:-webkit-any(a,button,select,textarea,input,label):hover:not([data-state]),[tuiAppearance][data-appearance=flat]:-webkit-any(a,button,select,textarea,input,label):hover:not([data-state]),[tuiAppearance][data-appearance=secondary]:-webkit-any(a,button,select,textarea,input,label):hover:not([data-state]){background:var(--tui-secondary-hover)}}@media (hover: hover){[tuiAppearance][data-appearance=destructive]:-moz-any(a,button,select,textarea,input,label):hover:not([data-state]),[tuiAppearance][data-appearance=flat]:-moz-any(a,button,select,textarea,input,label):hover:not([data-state]),[tuiAppearance][data-appearance=secondary]:-moz-any(a,button,select,textarea,input,label):hover:not([data-state]){background:var(--tui-secondary-hover)}}[tuiAppearance][data-appearance=destructive][data-state=hover],[tuiAppearance][data-appearance=flat][data-state=hover],[tuiAppearance][data-appearance=secondary][data-state=hover]{background:var(--tui-secondary-hover)}[tuiAppearance][data-appearance=destructive]:-webkit-any(a,button,select,textarea,input,label):active:not([data-state]),[tuiAppearance][data-appearance=flat]:-webkit-any(a,button,select,textarea,input,label):active:not([data-state]),[tuiAppearance][data-appearance=secondary]:-webkit-any(a,button,select,textarea,input,label):active:not([data-state]){background:var(--tui-secondary-active)}[tuiAppearance][data-appearance=destructive]:-moz-any(a,button,select,textarea,input,label):active:not([data-state]),[tuiAppearance][data-appearance=flat]:-moz-any(a,button,select,textarea,input,label):active:not([data-state]),[tuiAppearance][data-appearance=secondary]:-moz-any(a,button,select,textarea,input,label):active:not([data-state]){background:var(--tui-secondary-active)}[tuiAppearance][data-appearance=destructive][data-state=active],[tuiAppearance][data-appearance=flat][data-state=active],[tuiAppearance][data-appearance=secondary][data-state=active]{background:var(--tui-secondary-active)}[tuiAppearance][data-appearance=flat]{background:#0000}[tuiAppearance][data-appearance=destructive]{color:var(--tui-negative)}[tuiAppearance][data-appearance=error]{color:var(--tui-text-01);background:var(--tui-error-bg)}@media (hover: hover){[tuiAppearance][data-appearance=error]:-webkit-any(a,button,select,textarea,input,label):hover:not([data-state]){background:var(--tui-error-bg-hover)}}@media (hover: hover){[tuiAppearance][data-appearance=error]:-moz-any(a,button,select,textarea,input,label):hover:not([data-state]){background:var(--tui-error-bg-hover)}}[tuiAppearance][data-appearance=error][data-state=hover]{background:var(--tui-error-bg-hover)}[tuiAppearance][data-appearance=error]:-webkit-any(a,button,select,textarea,input,label):active:not([data-state]){background:var(--tui-error-bg-hover)}[tuiAppearance][data-appearance=error]:-moz-any(a,button,select,textarea,input,label):active:not([data-state]){background:var(--tui-error-bg-hover)}[tuiAppearance][data-appearance=error][data-state=active]{background:var(--tui-error-bg-hover)}[tuiAppearance][data-appearance=success]{color:var(--tui-text-01);background:var(--tui-success-bg)}@media (hover: hover){[tuiAppearance][data-appearance=success]:-webkit-any(a,button,select,textarea,input,label):hover:not([data-state]){background:var(--tui-success-bg-hover)}}@media (hover: hover){[tuiAppearance][data-appearance=success]:-moz-any(a,button,select,textarea,input,label):hover:not([data-state]){background:var(--tui-success-bg-hover)}}[tuiAppearance][data-appearance=success][data-state=hover]{background:var(--tui-success-bg-hover)}[tuiAppearance][data-appearance=success]:-webkit-any(a,button,select,textarea,input,label):active:not([data-state]){background:var(--tui-success-bg-hover)}[tuiAppearance][data-appearance=success]:-moz-any(a,button,select,textarea,input,label):active:not([data-state]){background:var(--tui-success-bg-hover)}[tuiAppearance][data-appearance=success][data-state=active]{background:var(--tui-success-bg-hover)}[tuiAppearance][data-appearance=warning]{color:var(--tui-text-01);background:var(--tui-warning-bg)}@media (hover: hover){[tuiAppearance][data-appearance=warning]:-webkit-any(a,button,select,textarea,input,label):hover:not([data-state]){background:var(--tui-warning-bg-hover)}}@media (hover: hover){[tuiAppearance][data-appearance=warning]:-moz-any(a,button,select,textarea,input,label):hover:not([data-state]){background:var(--tui-warning-bg-hover)}}[tuiAppearance][data-appearance=warning][data-state=hover]{background:var(--tui-warning-bg-hover)}[tuiAppearance][data-appearance=warning]:-webkit-any(a,button,select,textarea,input,label):active:not([data-state]){background:var(--tui-warning-bg-hover)}[tuiAppearance][data-appearance=warning]:-moz-any(a,button,select,textarea,input,label):active:not([data-state]){background:var(--tui-warning-bg-hover)}[tuiAppearance][data-appearance=warning][data-state=active]{background:var(--tui-warning-bg-hover)}[tuiAppearance][data-appearance=info]{color:var(--tui-text-01);background:var(--tui-info-bg)}@media (hover: hover){[tuiAppearance][data-appearance=info]:-webkit-any(a,button,select,textarea,input,label):hover:not([data-state]){background:var(--tui-info-bg-hover)}}@media (hover: hover){[tuiAppearance][data-appearance=info]:-moz-any(a,button,select,textarea,input,label):hover:not([data-state]){background:var(--tui-info-bg-hover)}}[tuiAppearance][data-appearance=info][data-state=hover]{background:var(--tui-info-bg-hover)}[tuiAppearance][data-appearance=info]:-webkit-any(a,button,select,textarea,input,label):active:not([data-state]){background:var(--tui-info-bg-hover)}[tuiAppearance][data-appearance=info]:-moz-any(a,button,select,textarea,input,label):active:not([data-state]){background:var(--tui-info-bg-hover)}[tuiAppearance][data-appearance=info][data-state=active]{background:var(--tui-info-bg-hover)}[tuiAppearance][data-appearance=neutral]{color:var(--tui-text-01);background:var(--tui-neutral-bg)}@media (hover: hover){[tuiAppearance][data-appearance=neutral]:-webkit-any(a,button,select,textarea,input,label):hover:not([data-state]){background:var(--tui-neutral-bg-hover)}}@media (hover: hover){[tuiAppearance][data-appearance=neutral]:-moz-any(a,button,select,textarea,input,label):hover:not([data-state]){background:var(--tui-neutral-bg-hover)}}[tuiAppearance][data-appearance=neutral][data-state=hover]{background:var(--tui-neutral-bg-hover)}[tuiAppearance][data-appearance=neutral]:-webkit-any(a,button,select,textarea,input,label):active:not([data-state]){background:var(--tui-neutral-bg-hover)}[tuiAppearance][data-appearance=neutral]:-moz-any(a,button,select,textarea,input,label):active:not([data-state]){background:var(--tui-neutral-bg-hover)}[tuiAppearance][data-appearance=neutral][data-state=active]{background:var(--tui-neutral-bg-hover)}[tuiWrapper][data-appearance=icon][data-appearance=icon]{transition-property:opacity;transition-duration:var(--tui-duration,.3s);transition-timing-function:ease-in-out;color:var(--tui-text-01);opacity:.5}[tuiWrapper]:not([data-state=readonly]):hover .t-textfield-icon [tuiWrapper][data-appearance=icon][data-appearance=icon]:not([data-state=disabled]){opacity:.65}[tuiWrapper][data-appearance=icon][data-appearance=icon][data-mode=onDark]{color:var(--tui-text-01-night)}[tuiWrapper]:not([data-state=readonly]):hover .t-textfield-icon [tuiWrapper][data-appearance=icon][data-appearance=icon][data-mode=onDark]:not([data-state=disabled]){opacity:1}:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=icon][data-appearance=icon][data-mode=onDark],[data-focused=true]>[tuiWrapper][data-appearance=icon][data-appearance=icon][data-mode=onDark]{--tui-focus:var(--tui-base-01)}[tuiWrapper][data-appearance=icon][data-appearance=icon][data-mode=onDark]:focus-visible:focus-visible{--tui-focus:var(--tui-base-01)}[tuiWrapper][data-appearance=icon][data-appearance=icon][data-mode=onDark]._focused._focused{--tui-focus:var(--tui-base-01)}@media (hover: hover){[tuiWrapper][data-appearance=icon][data-appearance=icon][data-mode=onDark]:hover:not(._no-hover),[tuiWrapper][data-appearance=icon][data-appearance=icon][data-mode=onDark][data-state=hover]{opacity:1}[tuiWrapper][data-appearance=icon][data-appearance=icon]:hover:not(._no-hover),[tuiWrapper][data-appearance=icon][data-appearance=icon][data-state=hover]{opacity:.65}}[tuiWrapper][data-appearance=icon][data-appearance=icon]:active:not(._no-active),[tuiWrapper][data-appearance=icon][data-appearance=icon][data-state=active],[tuiWrapper][data-appearance=icon][data-appearance=icon][data-state=active]:hover{opacity:1}[tuiWrapper][data-appearance=icon][data-appearance=icon]:disabled:disabled,[tuiWrapper][data-appearance=icon][data-appearance=icon][data-state=disabled][data-state=disabled]{opacity:calc(.5 * var(--tui-disabled-opacity))}[tuiWrapper][data-appearance=outline]{background:#0000;color:var(--tui-text-01)}[tuiWrapper][data-appearance=outline]:after{color:var(--tui-base-04)}[tuiWrapper][data-appearance=outline][data-mode=onDark],[tuiWrapper][data-appearance=outline][data-mode=onDark]:after{color:var(--tui-text-01-night)}@media (hover: hover){[tuiWrapper][data-appearance=outline][data-mode=onDark]:hover:not(._no-hover),[tuiWrapper][data-appearance=outline][data-mode=onDark][data-state=hover]{background:var(--tui-clear-inverse-hover)}[tuiWrapper][data-appearance=outline][data-mode=onDark]:hover:not(._no-hover):after,[tuiWrapper][data-appearance=outline][data-mode=onDark][data-state=hover]:after{color:var(--tui-text-03-night)}}[tuiWrapper][data-appearance=outline][data-mode=onDark]:active:not(._no-active),[tuiWrapper][data-appearance=outline][data-mode=onDark][data-state=active],[tuiWrapper][data-appearance=outline][data-mode=onDark][data-state=active]:hover{background:var(--tui-clear-inverse-active)}[tuiWrapper][data-appearance=outline][data-mode=onDark]:active:not(._no-active):after,[tuiWrapper][data-appearance=outline][data-mode=onDark][data-state=active]:after,[tuiWrapper][data-appearance=outline][data-mode=onDark][data-state=active]:hover:after{color:var(--tui-text-03-night)}:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=outline][data-mode=onDark],[data-focused=true]>[tuiWrapper][data-appearance=outline][data-mode=onDark]{--tui-focus:var(--tui-text-01-night)}[tuiWrapper][data-appearance=outline][data-mode=onDark]:focus-visible:focus-visible{--tui-focus:var(--tui-text-01-night)}[tuiWrapper][data-appearance=outline][data-mode=onDark]._focused._focused{--tui-focus:var(--tui-text-01-night)}[tuiWrapper][data-appearance=outline][data-mode=onLight],[tuiWrapper][data-appearance=outline][data-mode=onLight]:after{color:var(--tui-text-01)}@media (hover: hover){[tuiWrapper][data-appearance=outline][data-mode=onLight]:hover:not(._no-hover),[tuiWrapper][data-appearance=outline][data-mode=onLight][data-state=hover]{background:var(--tui-clear-hover)}[tuiWrapper][data-appearance=outline][data-mode=onLight]:hover:not(._no-hover):after,[tuiWrapper][data-appearance=outline][data-mode=onLight][data-state=hover]:after{color:var(--tui-text-03)}}[tuiWrapper][data-appearance=outline][data-mode=onLight]:active:not(._no-active),[tuiWrapper][data-appearance=outline][data-mode=onLight][data-state=active],[tuiWrapper][data-appearance=outline][data-mode=onLight][data-state=active]:hover{background:var(--tui-clear-active)}[tuiWrapper][data-appearance=outline][data-mode=onLight]:active:not(._no-active):after,[tuiWrapper][data-appearance=outline][data-mode=onLight][data-state=active]:after,[tuiWrapper][data-appearance=outline][data-mode=onLight][data-state=active]:hover:after{color:var(--tui-text-03)}@media (hover: hover){[tuiWrapper][data-appearance=outline]:hover:not(._no-hover):after,[tuiWrapper][data-appearance=outline][data-state=hover]:after{color:var(--tui-base-05)}}[tuiWrapper][data-appearance=outline]:active:not(._no-active):after,[tuiWrapper][data-appearance=outline][data-state=active]:after,[tuiWrapper][data-appearance=outline][data-state=active]:hover:after{color:var(--tui-base-06)}[tuiWrapper][data-appearance=primary]{background:var(--tui-primary);color:var(--tui-primary-text)}@media (hover: hover){[tuiWrapper][data-appearance=primary]:hover:not(._no-hover),[tuiWrapper][data-appearance=primary][data-state=hover]{background:var(--tui-primary-hover)}}[tuiWrapper][data-appearance=primary]:active:not(._no-active),[tuiWrapper][data-appearance=primary][data-state=active],[tuiWrapper][data-appearance=primary][data-state=active]:hover{background:var(--tui-primary-active)}[tuiWrapper][data-appearance=primary]._invalid._invalid,[tuiWrapper][data-appearance=primary]:invalid:invalid{color:var(--tui-negative-night);background:var(--tui-error-bg)}@media (hover: hover){[tuiWrapper][data-appearance=primary]._invalid._invalid:hover:not(._no-hover),[tuiWrapper][data-appearance=primary]._invalid._invalid[data-state=hover],[tuiWrapper][data-appearance=primary]:invalid:invalid:hover:not(._no-hover),[tuiWrapper][data-appearance=primary]:invalid:invalid[data-state=hover]{background:var(--tui-error-bg-hover)}}[tuiWrapper][data-appearance=primary]._invalid._invalid:active:not(._no-active),[tuiWrapper][data-appearance=primary]._invalid._invalid[data-state=active],[tuiWrapper][data-appearance=primary]._invalid._invalid[data-state=active]:hover,[tuiWrapper][data-appearance=primary]:invalid:invalid:active:not(._no-active),[tuiWrapper][data-appearance=primary]:invalid:invalid[data-state=active],[tuiWrapper][data-appearance=primary]:invalid:invalid[data-state=active]:hover{background:var(--tui-error-bg-hover)}:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=primary]._invalid._invalid,:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=primary]:invalid:invalid,[data-focused=true]>[tuiWrapper][data-appearance=primary]._invalid._invalid,[data-focused=true]>[tuiWrapper][data-appearance=primary]:invalid:invalid{--tui-focus:var(--tui-error-fill)}[tuiWrapper][data-appearance=primary]._invalid._invalid:focus-visible:focus-visible,[tuiWrapper][data-appearance=primary]:invalid:invalid:focus-visible:focus-visible{--tui-focus:var(--tui-error-fill)}[tuiWrapper][data-appearance=primary]._invalid._invalid._focused._focused,[tuiWrapper][data-appearance=primary]:invalid:invalid._focused._focused{--tui-focus:var(--tui-error-fill)}[tuiWrapper][data-appearance=accent]{background:var(--tui-accent);color:var(--tui-accent-text)}@media (hover: hover){[tuiWrapper][data-appearance=accent]:hover:not(._no-hover),[tuiWrapper][data-appearance=accent][data-state=hover]{background:var(--tui-accent-hover)}}[tuiWrapper][data-appearance=accent]:active:not(._no-active),[tuiWrapper][data-appearance=accent][data-state=active],[tuiWrapper][data-appearance=accent][data-state=active]:hover{background:var(--tui-accent-active)}[tuiWrapper][data-appearance=accent]._invalid._invalid,[tuiWrapper][data-appearance=accent]:invalid:invalid{color:var(--tui-negative-night);background:var(--tui-error-bg)}@media (hover: hover){[tuiWrapper][data-appearance=accent]._invalid._invalid:hover:not(._no-hover),[tuiWrapper][data-appearance=accent]._invalid._invalid[data-state=hover],[tuiWrapper][data-appearance=accent]:invalid:invalid:hover:not(._no-hover),[tuiWrapper][data-appearance=accent]:invalid:invalid[data-state=hover]{background:var(--tui-error-bg-hover)}}:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=accent]._invalid._invalid,:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=accent]:invalid:invalid,[data-focused=true]>[tuiWrapper][data-appearance=accent]._invalid._invalid,[data-focused=true]>[tuiWrapper][data-appearance=accent]:invalid:invalid{--tui-focus:var(--tui-error-fill)}[tuiWrapper][data-appearance=accent]._invalid._invalid:focus-visible:focus-visible,[tuiWrapper][data-appearance=accent]:invalid:invalid:focus-visible:focus-visible{--tui-focus:var(--tui-error-fill)}[tuiWrapper][data-appearance=accent]._invalid._invalid._focused._focused,[tuiWrapper][data-appearance=accent]:invalid:invalid._focused._focused{--tui-focus:var(--tui-error-fill)}[tuiWrapper][data-appearance=floating]{transition-property:background,box-shadow;transition-duration:var(--tui-duration,.3s);transition-timing-function:ease-in-out;background:#fff;color:#000c;box-shadow:0 .25rem 1.25rem #0000001a}@media (hover: hover){[tuiWrapper][data-appearance=floating]:hover:not(._no-hover),[tuiWrapper][data-appearance=floating][data-state=hover]{box-shadow:0 .875rem 2.625rem #00000024}}[tuiWrapper][data-appearance=floating]:active:not(._no-active),[tuiWrapper][data-appearance=floating][data-state=active],[tuiWrapper][data-appearance=floating][data-state=active]:hover{background:#f6f7f8;box-shadow:0 .25rem 1.25rem #0000001a}[tuiWrapper][data-appearance=glass]{background:#0006;color:#fff;-webkit-backdrop-filter:blur(1rem);backdrop-filter:blur(1rem);--tui-focus:#ffffffa3}@media (hover: hover){[tuiWrapper][data-appearance=glass]:hover:not(._no-hover),[tuiWrapper][data-appearance=glass][data-state=hover]{background:#0000007a}}[tuiWrapper][data-appearance=glass]:active:not(._no-active),[tuiWrapper][data-appearance=glass][data-state=active],[tuiWrapper][data-appearance=glass][data-state=active]:hover{background:#0009}[tuiWrapper][data-appearance=glass][data-mode=onDark]{background:#ffffff4d}@media (hover: hover){[tuiWrapper][data-appearance=glass][data-mode=onDark]:hover:not(._no-hover),[tuiWrapper][data-appearance=glass][data-mode=onDark][data-state=hover]{background:#fff6}}[tuiWrapper][data-appearance=glass][data-mode=onDark]:active:not(._no-active),[tuiWrapper][data-appearance=glass][data-mode=onDark][data-state=active],[tuiWrapper][data-appearance=glass][data-mode=onDark][data-state=active]:hover{background:#ffffff80}[tuiWrapper][data-appearance=destructive],[tuiWrapper][data-appearance=flat],[tuiWrapper][data-appearance=secondary]{background:var(--tui-secondary);color:var(--tui-link)}[tuiWrapper][data-appearance=destructive][data-mode=onDark],[tuiWrapper][data-appearance=flat][data-mode=onDark],[tuiWrapper][data-appearance=secondary][data-mode=onDark]{background:var(--tui-clear-inverse);color:var(--tui-text-01-night)}@media (hover: hover){[tuiWrapper][data-appearance=destructive][data-mode=onDark]:hover:not(._no-hover),[tuiWrapper][data-appearance=destructive][data-mode=onDark][data-state=hover],[tuiWrapper][data-appearance=flat][data-mode=onDark]:hover:not(._no-hover),[tuiWrapper][data-appearance=flat][data-mode=onDark][data-state=hover],[tuiWrapper][data-appearance=secondary][data-mode=onDark]:hover:not(._no-hover),[tuiWrapper][data-appearance=secondary][data-mode=onDark][data-state=hover]{background:var(--tui-clear-inverse-hover)}}[tuiWrapper][data-appearance=destructive][data-mode=onDark]:active:not(._no-active),[tuiWrapper][data-appearance=destructive][data-mode=onDark][data-state=active],[tuiWrapper][data-appearance=destructive][data-mode=onDark][data-state=active]:hover,[tuiWrapper][data-appearance=flat][data-mode=onDark]:active:not(._no-active),[tuiWrapper][data-appearance=flat][data-mode=onDark][data-state=active],[tuiWrapper][data-appearance=flat][data-mode=onDark][data-state=active]:hover,[tuiWrapper][data-appearance=secondary][data-mode=onDark]:active:not(._no-active),[tuiWrapper][data-appearance=secondary][data-mode=onDark][data-state=active],[tuiWrapper][data-appearance=secondary][data-mode=onDark][data-state=active]:hover{background:var(--tui-clear-inverse-active)}:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=destructive][data-mode=onDark],:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=flat][data-mode=onDark],:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=secondary][data-mode=onDark],[data-focused=true]>[tuiWrapper][data-appearance=destructive][data-mode=onDark],[data-focused=true]>[tuiWrapper][data-appearance=flat][data-mode=onDark],[data-focused=true]>[tuiWrapper][data-appearance=secondary][data-mode=onDark]{--tui-focus:var(--tui-text-01-night)}[tuiWrapper][data-appearance=destructive][data-mode=onDark]:focus-visible:focus-visible,[tuiWrapper][data-appearance=flat][data-mode=onDark]:focus-visible:focus-visible,[tuiWrapper][data-appearance=secondary][data-mode=onDark]:focus-visible:focus-visible{--tui-focus:var(--tui-text-01-night)}[tuiWrapper][data-appearance=destructive][data-mode=onDark]._focused._focused,[tuiWrapper][data-appearance=flat][data-mode=onDark]._focused._focused,[tuiWrapper][data-appearance=secondary][data-mode=onDark]._focused._focused{--tui-focus:var(--tui-text-01-night)}[tuiWrapper][data-appearance=destructive][data-mode=onLight],[tuiWrapper][data-appearance=flat][data-mode=onLight],[tuiWrapper][data-appearance=secondary][data-mode=onLight]{background:var(--tui-clear);color:var(--tui-text-01)}@media (hover: hover){[tuiWrapper][data-appearance=destructive][data-mode=onLight]:hover:not(._no-hover),[tuiWrapper][data-appearance=destructive][data-mode=onLight][data-state=hover],[tuiWrapper][data-appearance=flat][data-mode=onLight]:hover:not(._no-hover),[tuiWrapper][data-appearance=flat][data-mode=onLight][data-state=hover],[tuiWrapper][data-appearance=secondary][data-mode=onLight]:hover:not(._no-hover),[tuiWrapper][data-appearance=secondary][data-mode=onLight][data-state=hover]{background:var(--tui-clear-hover)}}[tuiWrapper][data-appearance=destructive][data-mode=onLight]:active:not(._no-active),[tuiWrapper][data-appearance=destructive][data-mode=onLight][data-state=active],[tuiWrapper][data-appearance=destructive][data-mode=onLight][data-state=active]:hover,[tuiWrapper][data-appearance=flat][data-mode=onLight]:active:not(._no-active),[tuiWrapper][data-appearance=flat][data-mode=onLight][data-state=active],[tuiWrapper][data-appearance=flat][data-mode=onLight][data-state=active]:hover,[tuiWrapper][data-appearance=secondary][data-mode=onLight]:active:not(._no-active),[tuiWrapper][data-appearance=secondary][data-mode=onLight][data-state=active],[tuiWrapper][data-appearance=secondary][data-mode=onLight][data-state=active]:hover{background:var(--tui-clear-active)}@media (hover: hover){[tuiWrapper][data-appearance=destructive]:hover:not(._no-hover),[tuiWrapper][data-appearance=destructive][data-state=hover],[tuiWrapper][data-appearance=flat]:hover:not(._no-hover),[tuiWrapper][data-appearance=flat][data-state=hover],[tuiWrapper][data-appearance=secondary]:hover:not(._no-hover),[tuiWrapper][data-appearance=secondary][data-state=hover]{background:var(--tui-secondary-hover)}}[tuiWrapper][data-appearance=destructive]:active:not(._no-active),[tuiWrapper][data-appearance=destructive][data-state=active],[tuiWrapper][data-appearance=destructive][data-state=active]:hover,[tuiWrapper][data-appearance=flat]:active:not(._no-active),[tuiWrapper][data-appearance=flat][data-state=active],[tuiWrapper][data-appearance=flat][data-state=active]:hover,[tuiWrapper][data-appearance=secondary]:active:not(._no-active),[tuiWrapper][data-appearance=secondary][data-state=active],[tuiWrapper][data-appearance=secondary][data-state=active]:hover{background:var(--tui-secondary-active)}[tuiWrapper][data-appearance=destructive]._invalid._invalid,[tuiWrapper][data-appearance=destructive]:invalid:invalid,[tuiWrapper][data-appearance=flat]._invalid._invalid,[tuiWrapper][data-appearance=flat]:invalid:invalid,[tuiWrapper][data-appearance=secondary]._invalid._invalid,[tuiWrapper][data-appearance=secondary]:invalid:invalid{color:var(--tui-negative);background:var(--tui-error-bg)}@media (hover: hover){[tuiWrapper][data-appearance=destructive]._invalid._invalid:hover:not(._no-hover),[tuiWrapper][data-appearance=destructive]._invalid._invalid[data-state=hover],[tuiWrapper][data-appearance=destructive]:invalid:invalid:hover:not(._no-hover),[tuiWrapper][data-appearance=destructive]:invalid:invalid[data-state=hover],[tuiWrapper][data-appearance=flat]._invalid._invalid:hover:not(._no-hover),[tuiWrapper][data-appearance=flat]._invalid._invalid[data-state=hover],[tuiWrapper][data-appearance=flat]:invalid:invalid:hover:not(._no-hover),[tuiWrapper][data-appearance=flat]:invalid:invalid[data-state=hover],[tuiWrapper][data-appearance=secondary]._invalid._invalid:hover:not(._no-hover),[tuiWrapper][data-appearance=secondary]._invalid._invalid[data-state=hover],[tuiWrapper][data-appearance=secondary]:invalid:invalid:hover:not(._no-hover),[tuiWrapper][data-appearance=secondary]:invalid:invalid[data-state=hover]{background:var(--tui-error-bg-hover)}}:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=destructive]._invalid._invalid,:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=destructive]:invalid:invalid,:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=flat]._invalid._invalid,:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=flat]:invalid:invalid,:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=secondary]._invalid._invalid,:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=secondary]:invalid:invalid,[data-focused=true]>[tuiWrapper][data-appearance=destructive]._invalid._invalid,[data-focused=true]>[tuiWrapper][data-appearance=destructive]:invalid:invalid,[data-focused=true]>[tuiWrapper][data-appearance=flat]._invalid._invalid,[data-focused=true]>[tuiWrapper][data-appearance=flat]:invalid:invalid,[data-focused=true]>[tuiWrapper][data-appearance=secondary]._invalid._invalid,[data-focused=true]>[tuiWrapper][data-appearance=secondary]:invalid:invalid{--tui-focus:var(--tui-negative)}[tuiWrapper][data-appearance=destructive]._invalid._invalid:focus-visible:focus-visible,[tuiWrapper][data-appearance=destructive]:invalid:invalid:focus-visible:focus-visible,[tuiWrapper][data-appearance=flat]._invalid._invalid:focus-visible:focus-visible,[tuiWrapper][data-appearance=flat]:invalid:invalid:focus-visible:focus-visible,[tuiWrapper][data-appearance=secondary]._invalid._invalid:focus-visible:focus-visible,[tuiWrapper][data-appearance=secondary]:invalid:invalid:focus-visible:focus-visible{--tui-focus:var(--tui-negative)}[tuiWrapper][data-appearance=destructive]._invalid._invalid._focused._focused,[tuiWrapper][data-appearance=destructive]:invalid:invalid._focused._focused,[tuiWrapper][data-appearance=flat]._invalid._invalid._focused._focused,[tuiWrapper][data-appearance=flat]:invalid:invalid._focused._focused,[tuiWrapper][data-appearance=secondary]._invalid._invalid._focused._focused,[tuiWrapper][data-appearance=secondary]:invalid:invalid._focused._focused{--tui-focus:var(--tui-negative)}[tuiWrapper][data-appearance=flat],[tuiWrapper][data-appearance=flat][data-mode=onDark],[tuiWrapper][data-appearance=flat][data-mode=onLight]{background:#0000}[tuiWrapper][data-appearance=destructive]{color:var(--tui-negative);background:var(--tui-error-bg)}@media (hover: hover){[tuiWrapper][data-appearance=destructive]:hover:not(._no-hover),[tuiWrapper][data-appearance=destructive][data-state=hover]{background:var(--tui-error-bg-hover)}}[tuiWrapper][data-appearance=destructive]:active:not(._no-active),[tuiWrapper][data-appearance=destructive][data-state=active],[tuiWrapper][data-appearance=destructive][data-state=active]:hover{background:var(--tui-error-bg-hover)}[tuiWrapper][data-appearance=destructive][data-mode=onDark]{color:var(--tui-negative-night);background:var(--tui-error-bg-night)}@media (hover: hover){[tuiWrapper][data-appearance=destructive][data-mode=onDark]:hover:not(._no-hover),[tuiWrapper][data-appearance=destructive][data-mode=onDark][data-state=hover]{background:var(--tui-error-bg-night-hover)}}[tuiWrapper][data-appearance=destructive][data-mode=onDark]:active:not(._no-active),[tuiWrapper][data-appearance=destructive][data-mode=onDark][data-state=active],[tuiWrapper][data-appearance=destructive][data-mode=onDark][data-state=active]:hover{background:var(--tui-error-bg-night-hover)}[tuiWrapper][data-appearance=secondary-destructive],tui-wrapper[data-appearance=secondary-destructive]{background:var(--tui-error-bg);color:var(--tui-negative)}[tuiWrapper][data-appearance=secondary-destructive][data-mode=onDark],tui-wrapper[data-appearance=secondary-destructive][data-mode=onDark]{background:var(--tui-error-bg-night);color:var(--tui-negative-night)}@media (hover: hover){[tuiWrapper][data-appearance=secondary-destructive][data-mode=onDark]:hover:not(._no-hover),[tuiWrapper][data-appearance=secondary-destructive][data-mode=onDark][data-state=hover],tui-wrapper[data-appearance=secondary-destructive][data-mode=onDark]:hover:not(._no-hover),tui-wrapper[data-appearance=secondary-destructive][data-mode=onDark][data-state=hover]{background:var(--tui-error-bg-night-hover)}}[tuiWrapper][data-appearance=secondary-destructive][data-mode=onDark]:active:not(._no-active),[tuiWrapper][data-appearance=secondary-destructive][data-mode=onDark][data-state=active],[tuiWrapper][data-appearance=secondary-destructive][data-mode=onDark][data-state=active]:hover,tui-wrapper[data-appearance=secondary-destructive][data-mode=onDark]:active:not(._no-active),tui-wrapper[data-appearance=secondary-destructive][data-mode=onDark][data-state=active],tui-wrapper[data-appearance=secondary-destructive][data-mode=onDark][data-state=active]:hover{background:var(--tui-error-bg-night-hover)}@media (hover: hover){[tuiWrapper][data-appearance=secondary-destructive]:hover:not(._no-hover),[tuiWrapper][data-appearance=secondary-destructive][data-state=hover],tui-wrapper[data-appearance=secondary-destructive]:hover:not(._no-hover),tui-wrapper[data-appearance=secondary-destructive][data-state=hover]{background:var(--tui-error-bg-hover)}}[tuiWrapper][data-appearance=secondary-destructive]:active:not(._no-active),[tuiWrapper][data-appearance=secondary-destructive][data-state=active],[tuiWrapper][data-appearance=secondary-destructive][data-state=active]:hover,tui-wrapper[data-appearance=secondary-destructive]:active:not(._no-active),tui-wrapper[data-appearance=secondary-destructive][data-state=active],tui-wrapper[data-appearance=secondary-destructive][data-state=active]:hover{background:var(--tui-error-bg-hover)}[tuiWrapper][data-appearance=table]{border-radius:0;background:#0000;color:var(--tui-text-01)}[tuiWrapper][data-appearance=table]:before,[tuiWrapper][data-appearance=table][data-appearance=table]:after{position:fixed;top:-.5px;left:-1px;right:-.5px;bottom:-1px}[tuiWrapper][data-appearance=table]:before{transition-property:background;transition-duration:var(--tui-duration,.3s);transition-timing-function:ease-in-out;content:"";z-index:-1;background-repeat:no-repeat;background-position:100% 0;background-size:.5rem .5rem}table [tuiWrapper][data-appearance=table][data-appearance=table]:not(._focused):after{border-width:0}table [tuiWrapper][data-appearance=table]._focused{z-index:1}[tuiWrapper][data-appearance=table][data-appearance=table]:after{border-width:1px;color:var(--tui-base-04)}:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=table][data-mode=onDark],[data-focused=true]>[tuiWrapper][data-appearance=table][data-mode=onDark]{--tui-focus:var(--tui-text-01-night)}[tuiWrapper][data-appearance=table][data-mode=onDark]:focus-visible:focus-visible{--tui-focus:var(--tui-text-01-night)}[tuiWrapper][data-appearance=table][data-mode=onDark]._focused._focused{--tui-focus:var(--tui-text-01-night)}@media (hover: hover){[tuiWrapper][data-appearance=table]:hover:not(._no-hover):not(._focused):before,[tuiWrapper][data-appearance=table][data-state=hover]:not(._focused):before{background-color:var(--tui-clear)}}:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=table],[data-focused=true]>[tuiWrapper][data-appearance=table]{background:#0000}[tuiWrapper][data-appearance=table]:focus-visible:focus-visible{background:#0000}[tuiWrapper][data-appearance=table]._focused._focused{background:#0000}[tuiWrapper][data-appearance=table]._invalid._invalid:before,[tuiWrapper][data-appearance=table]:invalid:invalid:before{background-image:linear-gradient(to top right,#0000 0,#0000 50%,var(--tui-error-fill) 50%,var(--tui-error-fill) 100%)}[tuiWrapper][data-appearance=table]._invalid._invalid:not(._focused):before,[tuiWrapper][data-appearance=table]:invalid:invalid:not(._focused):before{background-color:var(--tui-error-bg)}@media (hover: hover){[tuiWrapper][data-appearance=table]._invalid._invalid:hover:not(._no-hover):not(._focused):before,[tuiWrapper][data-appearance=table]._invalid._invalid[data-state=hover]:not(._focused):before,[tuiWrapper][data-appearance=table]:invalid:invalid:hover:not(._no-hover):not(._focused):before,[tuiWrapper][data-appearance=table]:invalid:invalid[data-state=hover]:not(._focused):before{background-color:var(--tui-error-bg-hover)}}[tuiWrapper][data-appearance=table]._invalid._invalid:disabled:disabled,[tuiWrapper][data-appearance=table]._invalid._invalid[data-state=disabled][data-state=disabled],[tuiWrapper][data-appearance=table]:invalid:invalid:disabled:disabled,[tuiWrapper][data-appearance=table]:invalid:invalid[data-state=disabled][data-state=disabled]{background:#0000}:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=table]._invalid._invalid,:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=table]:invalid:invalid,[data-focused=true]>[tuiWrapper][data-appearance=table]._invalid._invalid,[data-focused=true]>[tuiWrapper][data-appearance=table]:invalid:invalid{background:#0000;--tui-focus:var(--tui-error-fill)}:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=table]._invalid._invalid:after,:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=table]:invalid:invalid:after,[data-focused=true]>[tuiWrapper][data-appearance=table]._invalid._invalid:after,[data-focused=true]>[tuiWrapper][data-appearance=table]:invalid:invalid:after{border-width:1px}[tuiWrapper][data-appearance=table]._invalid._invalid:focus-visible:focus-visible,[tuiWrapper][data-appearance=table]:invalid:invalid:focus-visible:focus-visible{background:#0000;--tui-focus:var(--tui-error-fill)}[tuiWrapper][data-appearance=table]._invalid._invalid:focus-visible:focus-visible:after,[tuiWrapper][data-appearance=table]:invalid:invalid:focus-visible:focus-visible:after{border-width:1px}[tuiWrapper][data-appearance=table]._invalid._invalid._focused._focused,[tuiWrapper][data-appearance=table]:invalid:invalid._focused._focused{background:#0000;--tui-focus:var(--tui-error-fill)}[tuiWrapper][data-appearance=table]._invalid._invalid._focused._focused:after,[tuiWrapper][data-appearance=table]:invalid:invalid._focused._focused:after{border-width:1px}[tuiWrapper][data-appearance=textfield]{transition-property:box-shadow,background;transition-duration:var(--tui-duration,.3s);transition-timing-function:ease-in-out;background:var(--tui-base-01);color:var(--tui-text-01);box-shadow:0 .125rem .1875rem #0000001a}[tuiWrapper][data-appearance=textfield][data-appearance=textfield]:after{transition-property:color;transition-duration:var(--tui-duration,.3s);transition-timing-function:ease-in-out;color:var(--tui-base-03)}@media (hover: hover){[tuiWrapper][data-appearance=textfield]:hover:not(._no-hover),[tuiWrapper][data-appearance=textfield][data-state=hover]{box-shadow:0 .125rem .3125rem #00000029}}:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=textfield],[data-focused=true]>[tuiWrapper][data-appearance=textfield]{box-shadow:none}:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=textfield]:after,[data-focused=true]>[tuiWrapper][data-appearance=textfield]:after{--tui-focus:var(--tui-primary)}[tuiWrapper][data-appearance=textfield]:focus-visible:focus-visible{box-shadow:none}[tuiWrapper][data-appearance=textfield]:focus-visible:focus-visible:after{--tui-focus:var(--tui-primary)}[tuiWrapper][data-appearance=textfield]._focused._focused{box-shadow:none}[tuiWrapper][data-appearance=textfield]._focused._focused:after{--tui-focus:var(--tui-primary)}[tuiWrapper][data-appearance=textfield][data-state=readonly][data-state=readonly]{box-shadow:none}[tuiWrapper][data-appearance=textfield][data-state=readonly][data-state=readonly]:after{color:var(--tui-base-04)}[tuiWrapper][data-appearance=textfield]:disabled:disabled,[tuiWrapper][data-appearance=textfield][data-state=disabled][data-state=disabled]{box-shadow:none}[tuiWrapper][data-appearance=textfield]._invalid._invalid:after,[tuiWrapper][data-appearance=textfield]:invalid:invalid:after{color:var(--tui-error-fill);--tui-focus:var(--tui-error-fill)}[tuiWrapper][data-appearance=textfield][data-mode=onDark]{background:var(--tui-clear-inverse);color:var(--tui-text-01-night)}[tuiWrapper][data-appearance=textfield][data-mode=onDark]:after{color:var(--tui-text-03-night);opacity:var(--tui-disabled-opacity)}@media (hover: hover){[tuiWrapper][data-appearance=textfield][data-mode=onDark]:hover:not(._no-hover),[tuiWrapper][data-appearance=textfield][data-mode=onDark][data-state=hover]{background:var(--tui-clear-inverse-hover)}}[tuiWrapper][data-appearance=textfield][data-mode=onDark][data-state=readonly][data-state=readonly]{background:#0000}:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=textfield][data-mode=onDark],[data-focused=true]>[tuiWrapper][data-appearance=textfield][data-mode=onDark]{background:#ffffff14}:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=textfield][data-mode=onDark]:after,[data-focused=true]>[tuiWrapper][data-appearance=textfield][data-mode=onDark]:after{transition:none;opacity:1;--tui-focus:var(--tui-primary)}[tuiWrapper][data-appearance=textfield][data-mode=onDark]:focus-visible:focus-visible{background:#ffffff14}[tuiWrapper][data-appearance=textfield][data-mode=onDark]:focus-visible:focus-visible:after{transition:none;opacity:1;--tui-focus:var(--tui-primary)}[tuiWrapper][data-appearance=textfield][data-mode=onDark]._focused._focused{background:#ffffff14}[tuiWrapper][data-appearance=textfield][data-mode=onDark]._focused._focused:after{transition:none;opacity:1;--tui-focus:var(--tui-primary)}[tuiWrapper][data-appearance=textfield][data-mode=onDark]._invalid._invalid:after,[tuiWrapper][data-appearance=textfield][data-mode=onDark]:invalid:invalid:after{--tui-focus:var(--tui-error-fill-night)}[tuiWrapper][data-appearance=textfield][data-mode=onLight]{background:var(--tui-clear)}@media (hover: hover){[tuiWrapper][data-appearance=textfield][data-mode=onLight]:hover:not(._no-hover),[tuiWrapper][data-appearance=textfield][data-mode=onLight][data-state=hover]{background:var(--tui-clear-hover)}}[tuiWrapper][data-appearance=textfield][data-mode=onLight][data-state=readonly][data-state=readonly]{background:#0000}[tuiWrapper][data-appearance=textfield][data-mode=onLight]._invalid._invalid:after,[tuiWrapper][data-appearance=textfield][data-mode=onLight]:invalid:invalid:after{color:var(--tui-error-fill)}:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=textfield][data-mode=onLight],[data-focused=true]>[tuiWrapper][data-appearance=textfield][data-mode=onLight]{background:#0000}[tuiWrapper][data-appearance=textfield][data-mode=onLight]:focus-visible:focus-visible{background:#0000}[tuiWrapper][data-appearance=textfield][data-mode=onLight]._focused._focused{background:#0000}[tuiWrapper][data-appearance=whiteblock-active],[tuiWrapper][data-appearance=whiteblock]{background:var(--tui-base-01);color:var(--tui-text-01)}[tuiWrapper][data-appearance=whiteblock-active]:after,[tuiWrapper][data-appearance=whiteblock]:after{color:var(--tui-base-04)}@media (hover: hover){[tuiWrapper][data-appearance=whiteblock-active]:hover:not(._no-hover),[tuiWrapper][data-appearance=whiteblock-active][data-state=hover],[tuiWrapper][data-appearance=whiteblock]:hover:not(._no-hover),[tuiWrapper][data-appearance=whiteblock][data-state=hover]{background:var(--tui-base-02)}[tuiWrapper][data-appearance=whiteblock-active]:hover:not(._no-hover):after,[tuiWrapper][data-appearance=whiteblock-active][data-state=hover]:after,[tuiWrapper][data-appearance=whiteblock]:hover:not(._no-hover):after,[tuiWrapper][data-appearance=whiteblock][data-state=hover]:after{color:var(--tui-base-04)}}[tuiWrapper][data-appearance=whiteblock-active]:active:not(._no-active),[tuiWrapper][data-appearance=whiteblock-active][data-state=active],[tuiWrapper][data-appearance=whiteblock-active][data-state=active]:hover,[tuiWrapper][data-appearance=whiteblock]:active:not(._no-active),[tuiWrapper][data-appearance=whiteblock][data-state=active],[tuiWrapper][data-appearance=whiteblock][data-state=active]:hover{background:var(--tui-base-02)}[tuiWrapper][data-appearance=whiteblock-active]:active:not(._no-active):after,[tuiWrapper][data-appearance=whiteblock-active][data-state=active]:after,[tuiWrapper][data-appearance=whiteblock-active][data-state=active]:hover:after,[tuiWrapper][data-appearance=whiteblock]:active:not(._no-active):after,[tuiWrapper][data-appearance=whiteblock][data-state=active]:after,[tuiWrapper][data-appearance=whiteblock][data-state=active]:hover:after{color:var(--tui-base-04)}[tuiWrapper][data-appearance=whiteblock-active]:after{color:var(--tui-primary);border-width:2px}@media (hover: hover){[tuiWrapper][data-appearance=whiteblock-active]:hover:not(._no-hover):after,[tuiWrapper][data-appearance=whiteblock-active][data-state=hover]:after{color:var(--tui-primary-hover)}}[tuiWrapper][data-appearance=whiteblock-active]:active:not(._no-active):after,[tuiWrapper][data-appearance=whiteblock-active][data-state=active]:after,[tuiWrapper][data-appearance=whiteblock-active][data-state=active]:hover:after{color:var(--tui-primary-active)}[tuiWrapper][data-appearance=none]:after{border:none}[tuiWrapper][data-appearance=opposite]{background:#000;color:#fff;--tui-focus:#ffffffa3}@media (hover: hover){[tuiWrapper][data-appearance=opposite]:hover:not(._no-hover),[tuiWrapper][data-appearance=opposite][data-state=hover]{background:#333}}[tuiWrapper][data-appearance=opposite]:active:not(._no-active),[tuiWrapper][data-appearance=opposite][data-state=active],[tuiWrapper][data-appearance=opposite][data-state=active]:hover{background:#5c636b}[tuiWrapper][data-appearance=opposite][data-mode=onDark]{color:#000c;background:#fff;--tui-focus:#3333337a}@media (hover: hover){[tuiWrapper][data-appearance=opposite][data-mode=onDark]:hover:not(._no-hover),[tuiWrapper][data-appearance=opposite][data-mode=onDark][data-state=hover]{background:#f3f4f6}}[tuiWrapper][data-appearance=opposite][data-mode=onDark]:active:not(._no-active),[tuiWrapper][data-appearance=opposite][data-mode=onDark][data-state=active],[tuiWrapper][data-appearance=opposite][data-mode=onDark][data-state=active]:hover{background:#eaecee}[tuiWrapper]{transition-property:color,background,opacity;transition-timing-function:ease-in-out;position:relative;display:block;height:100%;width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none}[tuiWrapper],[tuiWrapper]:after{transition-duration:var(--tui-duration,.3s);border-radius:inherit}[tuiWrapper]:after{transition-property:box-shadow,color;transition-timing-function:ease-in-out;position:absolute;top:0;left:0;bottom:0;right:0;content:"";border:1px solid;pointer-events:none;color:#0000}:focus-visible:not([data-focused=false])>[tuiWrapper]:after,[data-focused=true]>[tuiWrapper]:after{border-width:2px;color:var(--tui-focus)}[tuiWrapper]:focus-visible:focus-visible:after{border-width:2px;color:var(--tui-focus)}[tuiWrapper]._focused._focused:after{border-width:2px;color:var(--tui-focus)}[tuiWrapper]:disabled:disabled,[tuiWrapper][data-state=disabled][data-state=disabled]{pointer-events:none;opacity:var(--tui-disabled-opacity)}@supports (-webkit-hyphens: none){:focus-visible [tuiWrapper],[tuiWrapper]:focus-visible{--tui-focus:#0000!important}}[tuiWrapper][data-appearance=mono],tui-wrapper[data-appearance=mono]{background:var(--tui-base-01);color:var(--tui-text-01)}@media (hover: hover){[tuiWrapper][data-appearance=mono]:hover:not(._no-hover),[tuiWrapper][data-appearance=mono][data-state=hover],tui-wrapper[data-appearance=mono]:hover:not(._no-hover),tui-wrapper[data-appearance=mono][data-state=hover]{color:var(--tui-text-03)}}[tuiWrapper][data-appearance=mono]:active:not(._no-active),[tuiWrapper][data-appearance=mono][data-state=active],[tuiWrapper][data-appearance=mono][data-state=active]:hover,tui-wrapper[data-appearance=mono]:active:not(._no-active),tui-wrapper[data-appearance=mono][data-state=active],tui-wrapper[data-appearance=mono][data-state=active]:hover{color:var(--tui-text-02)}:focus-visible:not([data-focused=false])>[tuiWrapper][data-appearance=mono][data-mode=onDark],:focus-visible:not([data-focused=false])>tui-wrapper[data-appearance=mono][data-mode=onDark],[data-focused=true]>[tuiWrapper][data-appearance=mono][data-mode=onDark],[data-focused=true]>tui-wrapper[data-appearance=mono][data-mode=onDark]{--tui-focus:var(--tui-text-01-night)}[tuiWrapper][data-appearance=mono][data-mode=onDark]:focus-visible:focus-visible,tui-wrapper[data-appearance=mono][data-mode=onDark]:focus-visible:focus-visible{--tui-focus:var(--tui-text-01-night)}[tuiWrapper][data-appearance=mono][data-mode=onDark]._focused._focused,tui-wrapper[data-appearance=mono][data-mode=onDark]._focused._focused{--tui-focus:var(--tui-text-01-night)}tui-primitive-calendar [data-type=weekday]{color:var(--tui-text-01)}tui-primitive-calendar [data-type=weekend]{color:var(--tui-negative)}@font-face{font-family:Manrope;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/manrope/v15/xn7_YHE41ni1AdIRqAuZuw1Bx9mbZk7PFO_F.ttf) format("truetype")}@font-face{font-family:Manrope;font-style:normal;font-weight:800;font-display:swap;src:url(https://fonts.gstatic.com/s/manrope/v15/xn7_YHE41ni1AdIRqAuZuw1Bx9mbZk59E-_F.ttf) format("truetype")}.tui-list{font:var(--tui-font-text-m);list-style-type:none;color:var(--tui-text-01)}@keyframes tuiReveal{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes tuiFadeIn{0%{opacity:0}to{opacity:1}}html{font-size:16px}body,html{height:100%}body{min-height:100%;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body,html{-webkit-overflow-scrolling:touch}ol,ul{list-style:none;padding:0;margin:0}table{border-collapse:collapse;border-spacing:0}button,input,select,textarea{font-family:inherit;color:inherit}hr{margin:0;height:1px;background:var(--tui-base-03)}hr,iframe{border:none}svg use{pointer-events:none}::-moz-selection{background-color:var(--tui-selection)}::selection{background-color:var(--tui-selection)}::-ms-clear,::-ms-reveal{display:none}@supports (-webkit-hyphens: none) and (text-align-last: right){:after{content:none}}.tui-container{margin-right:auto;margin-left:auto}@media screen and (min-width: 80em){.tui-container.tui-container_adaptive{width:69rem}}@media screen and (max-width: 79.9625em){.tui-container.tui-container_adaptive{width:51.5rem}}@media screen and (max-width: 47.9625em){.tui-container.tui-container_adaptive{width:100%;padding:0 1rem;box-sizing:border-box}}@media screen and (min-width: 80em){.tui-container{width:69rem}}@media screen and (max-width: 79.9625em){.tui-container{width:51.5rem;padding:0 3rem}}@media screen and (min-width: 80em){.tui-container_menu{width:69rem}}@media (min-width: 64em) and (max-width: 79.9625em){.tui-container_menu{width:51.5rem}}@media screen and (max-width: 47.9625em){.tui-container_menu{width:auto;padding:0 1rem;box-sizing:border-box}}.tui-container_fullwidth{width:auto;padding:0 1.5rem}@media screen and (max-width: 47.9625em){.tui-container_fullwidth{padding:0 1rem;box-sizing:border-box}}@media screen and (max-width: 79.9625em){.tui-container_fixed{width:69rem}}.tui-form__header{font:var(--tui-font-heading-5);margin-top:2rem;margin-bottom:1.25rem}@media screen and (max-width: 47.9625em){.tui-form__header{font:var(--tui-font-text-l);font-weight:700;margin-bottom:1rem}}.tui-form__header_margin-top_none{margin-top:0}.tui-form__header_margin-bottom_none{margin-bottom:0}.tui-form__header_margin-bottom_small{margin-bottom:1rem}@media screen and (max-width: 47.9625em){.tui-form__header_margin-bottom_small{margin-bottom:.75rem}}.tui-form__row{margin-top:1.25rem}.tui-form__row:first-child{margin-top:0}.tui-form__row_multi-fields{display:flex}@media screen and (max-width: 47.9625em){.tui-form__row_multi-fields{flex-wrap:wrap}}.tui-form__row_half-width{width:calc(50% - (1.25rem / 2))}@media screen and (max-width: 47.9625em){.tui-form__row_half-width{width:100%}}.tui-form__row_checkboxes{display:flex;flex-wrap:wrap}@media screen and (max-width: 47.9625em){.tui-form__row{margin-top:1rem}}.tui-form__multi-field{flex:1 1 0;min-width:0;margin-left:1.25rem}.tui-form__multi-field:first-child{margin-left:0}@media screen and (max-width: 47.9625em){.tui-form__multi-field{flex-basis:100%;margin-top:1rem;margin-left:0}.tui-form__multi-field:first-child{margin-top:0}}.tui-form__field-note{font:var(--tui-font-text-s);margin-top:.25rem;color:var(--tui-text-02)}.tui-form__field-checkbox{margin-top:.5rem}.tui-form__checkbox{flex:1 1 calc(50% - 0.625rem)}.tui-form__checkbox:nth-child(2n){margin-left:1.25rem}.tui-form__checkbox:nth-child(n+3){margin-top:1rem}.tui-form__buttons{display:flex;margin-top:2rem}.tui-form__buttons_align_end{justify-content:flex-end}.tui-form__buttons_align_center{justify-content:center}@media screen and (max-width: 47.9625em){.tui-form__buttons{flex-direction:column;margin-top:1.5rem}}.tui-form__button{margin-left:.75rem}.tui-form__button:first-child{margin-left:0}@media screen and (max-width: 47.9625em){.tui-form__button{margin-top:.5rem;margin-left:0}}.tui-island{position:relative;border-radius:var(--tui-radius-xl);background-color:var(--tui-base-01);word-wrap:break-word;text-decoration:none;color:var(--tui-text-01);outline:none;box-sizing:initial}.tui-island:not(.tui-island_hoverable):before{position:absolute;top:0;left:0;width:100%;height:100%;content:"";box-sizing:border-box;border:1px solid var(--tui-base-03);border-radius:inherit;pointer-events:none}.tui-island:focus:before,.tui-island:hover:focus:before{border-color:var(--tui-focus)}.tui-island_hoverable{box-shadow:var(--tui-shadow);transition-property:all;transition-duration:var(--tui-duration,.3s);transition-timing-function:ease-in-out;cursor:pointer;transition-property:transform,box-shadow;will-change:transform,box-shadow;background:var(--tui-elevation-02)}.tui-island_hoverable:hover{box-shadow:var(--tui-shadow-hover);transform:translateY(-.25rem)}.tui-island_transparent{background-color:initial}.tui-island_size_s{--tui-radius-xl:calc(4 * var(--tui-radius-l) / 3);font:var(--tui-font-text-s);padding:1rem}.tui-island_size_m{--tui-radius-xl:calc(5 * var(--tui-radius-l) / 3);font:var(--tui-font-text-m);padding:1rem}.tui-island_size_l{font:var(--tui-font-text-m);padding:1.25rem}.tui-island_text-align_left{text-align:left}.tui-island_text-align_center{text-align:center}.tui-island_text-align_right{text-align:right}.tui-island__content{display:flex;justify-content:space-between}.tui-island_text-align_center .tui-island__content{display:block}.tui-island__content>*{min-width:0}.tui-island__category{font-size:.6875rem;line-height:1rem;text-transform:uppercase;letter-spacing:.075em;margin:0 0 .5rem;color:var(--tui-text-02)}.tui-island_size_l .tui-island__category{margin:0 0 .75rem}.tui-island__title{font:var(--tui-font-text-m);margin:0 0 .5rem}.tui-island_size_m .tui-island__title{font:var(--tui-font-heading-6);margin:0 0 .75rem}.tui-island_size_l .tui-island__title{font:var(--tui-font-heading-6)}.tui-island__paragraph{margin:0;color:var(--tui-text-02)}.tui-island__paragraph_link.tui-island__paragraph{margin-top:1rem}.tui-island_size_l .tui-island__paragraph_link.tui-island__paragraph{margin:1rem 0 0}.tui-island__paragraph_button.tui-island__paragraph{margin-top:1.25rem}.tui-island_size_l .tui-island__paragraph_button.tui-island__paragraph{margin:1.25rem 0 0}.tui-island__figure{display:flex;justify-content:center;order:1;flex-shrink:0;margin:0 0 0 1rem}.tui-island_size_l .tui-island__figure{margin-left:2.25rem}.tui-island_text-align_center .tui-island__figure{margin:0 0 .75rem}.tui-island__carousel-controls{display:flex;padding-bottom:1rem;margin-bottom:1rem;border-bottom:1px solid var(--tui-base-03);white-space:nowrap}.tui-island__carousel-pages{margin-left:auto;color:var(--tui-text-02)}.tui-island__carousel-button{margin-right:.5rem}.tui-island .tui-island__footer-button{display:block;width:calc(100% + 1.875rem);margin:1rem calc(-1rem + 1px) calc(-1rem + 1px);border-top:1px solid var(--tui-base-03);border-radius:0 0 var(--tui-radius-xl) var(--tui-radius-xl)}.tui-island_size_l .tui-island__footer-button{width:calc(100% + 2.375rem);margin:1.25rem calc(-1.25rem + 1px) calc(-1.25rem + 1px)}.tui-island__marker:first-child:not(:only-child){margin-right:1.25rem}.tui-island__marker:not(:first-child),.tui-island__marker:only-child{margin-left:1.25rem}.tui-list,markdown ul{font:var(--tui-font-text-m);list-style-type:none;color:var(--tui-text-01)}.tui-list_large{font:var(--tui-font-text-l)}.tui-list_extra-small,.tui-list_small{font:var(--tui-font-text-s)}.tui-list_nested{margin:.75rem 0 .75rem 1.25rem;color:var(--tui-text-02)}.tui-list_large .tui-list_nested{margin-left:.75rem}.tui-list_small .tui-list_nested{margin-top:.5rem;margin-bottom:.5rem}.tui-list_ordered{counter-reset:counter}.tui-list__item{position:relative;padding-left:1.5rem;word-wrap:break-word;margin-top:.75rem}.tui-list__item:first-child{margin-top:0}.tui-list__item:before{content:"";position:absolute;left:0;top:.5rem;width:.5rem;height:.5rem;border-radius:100%;background-color:var(--tui-primary)}.tui-list_large>.tui-list__item:before{top:.625rem}.tui-list_small>.tui-list__item:before{top:.325rem}.tui-list_extra-small>.tui-list__item{margin-top:.5rem}.tui-list_linear .tui-list__item{padding-left:1.75rem}.tui-list_linear .tui-list__item:before{content:"\2014";left:0;top:auto;width:auto;height:auto;background-color:initial}.tui-list_ordered .tui-list__item{padding-left:1.25rem}.tui-list_ordered .tui-list__item:before{content:counter(counter) ".";left:0;top:auto;counter-increment:counter;width:auto;height:auto;color:var(--tui-text-03);background-color:initial}.tui-list_triangle>.tui-list__item{padding-left:1.75rem}.tui-list_triangle>.tui-list__item:before{content:"\25E4";left:0;top:1px;width:auto;height:auto;background-color:initial;color:var(--tui-base-06);font-size:.75rem}.tui-list__item-title{font:var(--tui-font-heading-5);margin:0}.tui-list_small .tui-list__item-title{line-height:1.25rem;font-weight:700}.tui-list__description{margin:.5rem 0 0;color:var(--tui-text-02)}.tui-list_small .tui-list__description{margin-top:.25rem}.tui-list_large .tui-list__description{line-height:1.75rem;margin-top:.75rem}@media not screen and (max-width: 47.9625em){.tui-mobile-only{display:none!important}}.tui-required:after{content:"*"}.tui-required_float:after{position:absolute}.tui-required_spacing:after{content:"\0000a0*"}.tui-row{display:flex;flex-wrap:wrap}.tui-row_align_center{align-items:center}.tui-row_align_start{align-items:flex-start}.tui-row_align_end{align-items:flex-end}@media screen and (min-width: 80em){.tui-row_adaptive.tui-row{margin-left:-1.5rem;margin-right:-1.5rem}}@media screen and (max-width: 79.9625em){.tui-row_adaptive.tui-row{margin-left:-1.25rem;margin-right:-1.25rem}}@media screen and (max-width: 47.9625em){.tui-row_adaptive.tui-row{margin-left:-.5rem;margin-right:-.5rem}}.tui-row_temporary.tui-row{margin-left:-1.25rem;margin-right:-1.25rem}@media screen and (min-width: 80em){.tui-row{margin-left:-1.5rem;margin-right:-1.5rem}}@media screen and (max-width: 79.9625em){.tui-row{margin-left:-1.25rem;margin-right:-1.25rem}}.tui-col_1{width:8.33333333%}.tui-col_1,.tui-col_2{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-col_2{width:16.66666667%}.tui-col_3{width:25%}.tui-col_3,.tui-col_4{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-col_4{width:33.33333333%}.tui-col_5{width:41.66666667%}.tui-col_5,.tui-col_6{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-col_6{width:50%}.tui-col_7{width:58.33333333%}.tui-col_7,.tui-col_8{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-col_8{width:66.66666667%}.tui-col_9{width:75%}.tui-col_10,.tui-col_9{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-col_10{width:83.33333333%}.tui-col_11{width:91.66666667%}.tui-col_11,.tui-col_12{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-col_12{width:100%}.tui-col_md-1{width:8.33333333%}.tui-col_md-1,.tui-col_md-2{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-col_md-2{width:16.66666667%}.tui-col_md-3{width:25%}.tui-col_md-3,.tui-col_md-4{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-col_md-4{width:33.33333333%}.tui-col_md-5{width:41.66666667%}.tui-col_md-5,.tui-col_md-6{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-col_md-6{width:50%}.tui-col_md-7{width:58.33333333%}.tui-col_md-7,.tui-col_md-8{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-col_md-8{width:66.66666667%}.tui-col_md-9{width:75%}.tui-col_md-10,.tui-col_md-9{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-col_md-10{width:83.33333333%}.tui-col_md-11{width:91.66666667%}.tui-col_md-11,.tui-col_md-12{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-col_md-12{width:100%}.tui-col_stretch{display:flex}@media screen and (min-width: 80em){.tui-row_adaptive .tui-col_lg-1{width:8.33333333%;padding-left:1.5rem;padding-right:1.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_lg-2{width:16.66666667%;padding-left:1.5rem;padding-right:1.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_lg-3{width:25%;padding-left:1.5rem;padding-right:1.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_lg-4{width:33.33333333%;padding-left:1.5rem;padding-right:1.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_lg-5{width:41.66666667%;padding-left:1.5rem;padding-right:1.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_lg-6{width:50%;padding-left:1.5rem;padding-right:1.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_lg-7{width:58.33333333%;padding-left:1.5rem;padding-right:1.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_lg-8{width:66.66666667%;padding-left:1.5rem;padding-right:1.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_lg-9{width:75%;padding-left:1.5rem;padding-right:1.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_lg-10{width:83.33333333%;padding-left:1.5rem;padding-right:1.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_lg-11{width:91.66666667%;padding-left:1.5rem;padding-right:1.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_lg-12{width:100%;padding-left:1.5rem;padding-right:1.5rem;box-sizing:border-box}}@media screen and (max-width: 79.9625em){.tui-row_adaptive .tui-col_md-1{width:8.33333333%}.tui-row_adaptive .tui-col_md-1,.tui-row_adaptive .tui-col_md-2{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-row_adaptive .tui-col_md-2{width:16.66666667%}.tui-row_adaptive .tui-col_md-3{width:25%}.tui-row_adaptive .tui-col_md-3,.tui-row_adaptive .tui-col_md-4{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-row_adaptive .tui-col_md-4{width:33.33333333%}.tui-row_adaptive .tui-col_md-5{width:41.66666667%}.tui-row_adaptive .tui-col_md-5,.tui-row_adaptive .tui-col_md-6{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-row_adaptive .tui-col_md-6{width:50%}.tui-row_adaptive .tui-col_md-7{width:58.33333333%}.tui-row_adaptive .tui-col_md-7,.tui-row_adaptive .tui-col_md-8{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-row_adaptive .tui-col_md-8{width:66.66666667%}.tui-row_adaptive .tui-col_md-9{width:75%;padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-row_adaptive .tui-col_md-10{width:83.33333333%;padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-row_adaptive .tui-col_md-11{width:91.66666667%;padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-row_adaptive .tui-col_md-12{width:100%;padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}}@media screen and (max-width: 47.9625em){.tui-row_adaptive .tui-col_xs-1{width:8.33333333%;padding-left:.5rem;padding-right:.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_xs-2{width:16.66666667%;padding-left:.5rem;padding-right:.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_xs-3{width:25%;padding-left:.5rem;padding-right:.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_xs-4{width:33.33333333%;padding-left:.5rem;padding-right:.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_xs-5{width:41.66666667%;padding-left:.5rem;padding-right:.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_xs-6{width:50%;padding-left:.5rem;padding-right:.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_xs-7{width:58.33333333%;padding-left:.5rem;padding-right:.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_xs-8{width:66.66666667%;padding-left:.5rem;padding-right:.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_xs-9{width:75%;padding-left:.5rem;padding-right:.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_xs-10{width:83.33333333%;padding-left:.5rem;padding-right:.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_xs-11{width:91.66666667%;padding-left:.5rem;padding-right:.5rem;box-sizing:border-box}.tui-row_adaptive .tui-col_xs-12{width:100%;padding-left:.5rem;padding-right:.5rem;box-sizing:border-box}}.tui-row_temporary .tui-col_1{width:8.33333333%}.tui-row_temporary .tui-col_1,.tui-row_temporary .tui-col_2{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-row_temporary .tui-col_2{width:16.66666667%}.tui-row_temporary .tui-col_3{width:25%}.tui-row_temporary .tui-col_3,.tui-row_temporary .tui-col_4{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-row_temporary .tui-col_4{width:33.33333333%}.tui-row_temporary .tui-col_5{width:41.66666667%}.tui-row_temporary .tui-col_5,.tui-row_temporary .tui-col_6{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-row_temporary .tui-col_6{width:50%}.tui-row_temporary .tui-col_7{width:58.33333333%}.tui-row_temporary .tui-col_7,.tui-row_temporary .tui-col_8{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-row_temporary .tui-col_8{width:66.66666667%}.tui-row_temporary .tui-col_9{width:75%}.tui-row_temporary .tui-col_10,.tui-row_temporary .tui-col_9{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-row_temporary .tui-col_10{width:83.33333333%}.tui-row_temporary .tui-col_11{width:91.66666667%}.tui-row_temporary .tui-col_11,.tui-row_temporary .tui-col_12{padding-left:1.25rem;padding-right:1.25rem;box-sizing:border-box}.tui-row_temporary .tui-col_12{width:100%}@media screen and (min-width: 80em){.tui-col_1{width:8.33333333%}.tui-col_1,.tui-col_2{padding-left:1.5rem;padding-right:1.5rem;box-sizing:border-box}.tui-col_2{width:16.66666667%}.tui-col_3{width:25%}.tui-col_3,.tui-col_4{padding-left:1.5rem;padding-right:1.5rem;box-sizing:border-box}.tui-col_4{width:33.33333333%}.tui-col_5{width:41.66666667%}.tui-col_5,.tui-col_6{padding-left:1.5rem;padding-right:1.5rem;box-sizing:border-box}.tui-col_6{width:50%}.tui-col_7{width:58.33333333%}.tui-col_7,.tui-col_8{padding-left:1.5rem;padding-right:1.5rem;box-sizing:border-box}.tui-col_8{width:66.66666667%}.tui-col_9{width:75%}.tui-col_10,.tui-col_9{padding-left:1.5rem;padding-right:1.5rem;box-sizing:border-box}.tui-col_10{width:83.33333333%}.tui-col_11{width:91.66666667%}.tui-col_11,.tui-col_12{padding-left:1.5rem;padding-right:1.5rem;box-sizing:border-box}.tui-col_12{width:100%}}.tui-col-offset_1{margin-left:8.33333333%}.tui-col-offset_2{margin-left:16.66666667%}.tui-col-offset_3{margin-left:25%}.tui-col-offset_4{margin-left:33.33333333%}.tui-col-offset_5{margin-left:41.66666667%}.tui-col-offset_6{margin-left:50%}.tui-col-offset_7{margin-left:58.33333333%}.tui-col-offset_8{margin-left:66.66666667%}.tui-col-offset_9{margin-left:75%}.tui-col-offset_10{margin-left:83.33333333%}.tui-col-offset_11{margin-left:91.66666667%}.tui-col-offset_12{margin-left:100%}@media (min-width: 22.5em) and (max-width: 47.9625em){.tui-col-offset_xs-1{margin-left:8.33333333%}.tui-col-offset_xs-2{margin-left:16.66666667%}.tui-col-offset_xs-3{margin-left:25%}.tui-col-offset_xs-4{margin-left:33.33333333%}.tui-col-offset_xs-5{margin-left:41.66666667%}.tui-col-offset_xs-6{margin-left:50%}.tui-col-offset_xs-7{margin-left:58.33333333%}.tui-col-offset_xs-8{margin-left:66.66666667%}.tui-col-offset_xs-9{margin-left:75%}.tui-col-offset_xs-10{margin-left:83.33333333%}.tui-col-offset_xs-11{margin-left:91.66666667%}.tui-col-offset_xs-12{margin-left:100%}}@media screen and (max-width: 79.9625em){.tui-col-offset_md-1{margin-left:8.33333333%}.tui-col-offset_md-2{margin-left:16.66666667%}.tui-col-offset_md-3{margin-left:25%}.tui-col-offset_md-4{margin-left:33.33333333%}.tui-col-offset_md-5{margin-left:41.66666667%}.tui-col-offset_md-6{margin-left:50%}.tui-col-offset_md-7{margin-left:58.33333333%}.tui-col-offset_md-8{margin-left:66.66666667%}.tui-col-offset_md-9{margin-left:75%}.tui-col-offset_md-10{margin-left:83.33333333%}.tui-col-offset_md-11{margin-left:91.66666667%}.tui-col-offset_md-12{margin-left:100%}}@media screen and (min-width: 80em){.tui-col-offset_lg-1{margin-left:8.33333333%}.tui-col-offset_lg-2{margin-left:16.66666667%}.tui-col-offset_lg-3{margin-left:25%}.tui-col-offset_lg-4{margin-left:33.33333333%}.tui-col-offset_lg-5{margin-left:41.66666667%}.tui-col-offset_lg-6{margin-left:50%}.tui-col-offset_lg-7{margin-left:58.33333333%}.tui-col-offset_lg-8{margin-left:66.66666667%}.tui-col-offset_lg-9{margin-left:75%}.tui-col-offset_lg-10{margin-left:83.33333333%}.tui-col-offset_lg-11{margin-left:91.66666667%}.tui-col-offset_lg-12{margin-left:100%}}.tui-skeleton{position:relative;color:#0000!important;background:#0000!important;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.tui-skeleton:after{position:absolute;top:0;left:0;width:100%;height:100%;content:"";background-color:var(--tui-clear-hover);animation:tuiSkeletonVibe 1s ease-in-out infinite alternate;border-radius:var(--tui-skeleton-radius,0)}.tui-skeleton_light:after{background-color:#ffffff3d}.tui-skeleton_rounded:after{border-radius:inherit}.tui-skeleton_short:after{width:40%}.tui-skeleton_center:after{position:absolute;left:50%;transform:translate(-50%);width:40%}.tui-skeleton_text:before{content:"\a0"}.tui-skeleton *{opacity:0;visibility:hidden}.tui-space_all-16{margin:4rem}.tui-space_all-15{margin:3.75rem}.tui-space_all-14{margin:3.5rem}.tui-space_all-13{margin:3.25rem}.tui-space_all-12{margin:3rem}.tui-space_all-11{margin:2.75rem}.tui-space_all-10{margin:2.5rem}.tui-space_all-9{margin:2.25rem}.tui-space_all-8{margin:2rem}.tui-space_all-7{margin:1.75rem}.tui-space_all-6{margin:1.5rem}.tui-space_all-5{margin:1.25rem}.tui-space_all-4{margin:1rem}.tui-space_all-3{margin:.75rem}.tui-space_all-2{margin:.5rem}.tui-space_all-1{margin:.25rem}.tui-space_all-0{margin:0}.tui-space_top-16{margin-top:4rem}.tui-space_top-15{margin-top:3.75rem}.tui-space_top-14{margin-top:3.5rem}.tui-space_top-13{margin-top:3.25rem}.tui-space_top-12{margin-top:3rem}.tui-space_top-11{margin-top:2.75rem}.tui-space_top-10{margin-top:2.5rem}.tui-space_top-9{margin-top:2.25rem}.tui-space_top-8{margin-top:2rem}.tui-space_top-7{margin-top:1.75rem}.tui-space_top-6{margin-top:1.5rem}.tui-space_top-5{margin-top:1.25rem}.tui-space_top-4{margin-top:1rem}.tui-space_top-3{margin-top:.75rem}.tui-space_top-2{margin-top:.5rem}.tui-space_top-1{margin-top:.25rem}.tui-space_top-0{margin-top:0}.tui-space_bottom-16{margin-bottom:4rem}.tui-space_bottom-15{margin-bottom:3.75rem}.tui-space_bottom-14{margin-bottom:3.5rem}.tui-space_bottom-13{margin-bottom:3.25rem}.tui-space_bottom-12{margin-bottom:3rem}.tui-space_bottom-11{margin-bottom:2.75rem}.tui-space_bottom-10{margin-bottom:2.5rem}.tui-space_bottom-9{margin-bottom:2.25rem}.tui-space_bottom-8{margin-bottom:2rem}.tui-space_bottom-7{margin-bottom:1.75rem}.tui-space_bottom-6{margin-bottom:1.5rem}.tui-space_bottom-5{margin-bottom:1.25rem}.tui-space_bottom-4{margin-bottom:1rem}.tui-space_bottom-3{margin-bottom:.75rem}.tui-space_bottom-2{margin-bottom:.5rem}.tui-space_bottom-1{margin-bottom:.25rem}.tui-space_bottom-0{margin-bottom:0}.tui-space_vertical-16{margin-top:4rem;margin-bottom:4rem}.tui-space_vertical-15{margin-top:3.75rem;margin-bottom:3.75rem}.tui-space_vertical-14{margin-top:3.5rem;margin-bottom:3.5rem}.tui-space_vertical-13{margin-top:3.25rem;margin-bottom:3.25rem}.tui-space_vertical-12{margin-top:3rem;margin-bottom:3rem}.tui-space_vertical-11{margin-top:2.75rem;margin-bottom:2.75rem}.tui-space_vertical-10{margin-top:2.5rem;margin-bottom:2.5rem}.tui-space_vertical-9{margin-top:2.25rem;margin-bottom:2.25rem}.tui-space_vertical-8{margin-top:2rem;margin-bottom:2rem}.tui-space_vertical-7{margin-top:1.75rem;margin-bottom:1.75rem}.tui-space_vertical-6{margin-top:1.5rem;margin-bottom:1.5rem}.tui-space_vertical-5{margin-top:1.25rem;margin-bottom:1.25rem}.tui-space_vertical-4{margin-top:1rem;margin-bottom:1rem}.tui-space_vertical-3{margin-top:.75rem;margin-bottom:.75rem}.tui-space_vertical-2{margin-top:.5rem;margin-bottom:.5rem}.tui-space_vertical-1{margin-top:.25rem;margin-bottom:.25rem}.tui-space_vertical-0{margin-top:0;margin-bottom:0}.tui-space_left-16{margin-left:4rem}.tui-space_left-15{margin-left:3.75rem}.tui-space_left-14{margin-left:3.5rem}.tui-space_left-13{margin-left:3.25rem}.tui-space_left-12{margin-left:3rem}.tui-space_left-11{margin-left:2.75rem}.tui-space_left-10{margin-left:2.5rem}.tui-space_left-9{margin-left:2.25rem}.tui-space_left-8{margin-left:2rem}.tui-space_left-7{margin-left:1.75rem}.tui-space_left-6{margin-left:1.5rem}.tui-space_left-5{margin-left:1.25rem}.tui-space_left-4{margin-left:1rem}.tui-space_left-3{margin-left:.75rem}.tui-space_left-2{margin-left:.5rem}.tui-space_left-1{margin-left:.25rem}.tui-space_left-0{margin-left:0}.tui-space_right-16{margin-right:4rem}.tui-space_right-15{margin-right:3.75rem}.tui-space_right-14{margin-right:3.5rem}.tui-space_right-13{margin-right:3.25rem}.tui-space_right-12{margin-right:3rem}.tui-space_right-11{margin-right:2.75rem}.tui-space_right-10{margin-right:2.5rem}.tui-space_right-9{margin-right:2.25rem}.tui-space_right-8{margin-right:2rem}.tui-space_right-7{margin-right:1.75rem}.tui-space_right-6{margin-right:1.5rem}.tui-space_right-5{margin-right:1.25rem}.tui-space_right-4{margin-right:1rem}.tui-space_right-3{margin-right:.75rem}.tui-space_right-2{margin-right:.5rem}.tui-space_right-1{margin-right:.25rem}.tui-space_right-0{margin-right:0}.tui-space_horizontal-16{margin-right:4rem;margin-left:4rem}.tui-space_horizontal-15{margin-right:3.75rem;margin-left:3.75rem}.tui-space_horizontal-14{margin-right:3.5rem;margin-left:3.5rem}.tui-space_horizontal-13{margin-right:3.25rem;margin-left:3.25rem}.tui-space_horizontal-12{margin-right:3rem;margin-left:3rem}.tui-space_horizontal-11{margin-right:2.75rem;margin-left:2.75rem}.tui-space_horizontal-10{margin-right:2.5rem;margin-left:2.5rem}.tui-space_horizontal-9{margin-right:2.25rem;margin-left:2.25rem}.tui-space_horizontal-8{margin-right:2rem;margin-left:2rem}.tui-space_horizontal-7{margin-right:1.75rem;margin-left:1.75rem}.tui-space_horizontal-6{margin-right:1.5rem;margin-left:1.5rem}.tui-space_horizontal-5{margin-right:1.25rem;margin-left:1.25rem}.tui-space_horizontal-4{margin-right:1rem;margin-left:1rem}.tui-space_horizontal-3{margin-right:.75rem;margin-left:.75rem}.tui-space_horizontal-2{margin-right:.5rem;margin-left:.5rem}.tui-space_horizontal-1{margin-right:.25rem;margin-left:.25rem}.tui-space_horizontal-0{margin-right:0;margin-left:0}.tui-space_auto{margin-left:auto;margin-right:auto}.tui-table{width:100%}.tui-table_layout_fixed{table-layout:fixed}.tui-table__tr{transition-property:background;transition-duration:var(--tui-duration,.3s);transition-timing-function:ease-in-out;outline:none}.tui-table__tr:not(.tui-table__tr_hover_disabled):hover{background:var(--tui-base-02)}.tui-table__tr:not(.tui-table__tr_border_none){border-bottom:1px solid var(--tui-base-03)}.tui-table__tr_border_top{border-top:1px solid var(--tui-base-03)}.tui-table__tr_cursor_pointer{cursor:pointer}.tui-table__th{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:var(--tui-font-text-s);padding:.5rem 1rem;vertical-align:middle;height:2.5rem;color:var(--tui-text-02);background:inherit}.tui-table__td,.tui-table__th_font-size_l,.tui-table_font-size_l .tui-table__th{font:var(--tui-font-text-m)}.tui-table__td{padding:1rem 1rem .875rem;vertical-align:top;word-wrap:break-word;height:3.4375rem;color:var(--tui-text-01);background:inherit}.tui-table__td_size_l,.tui-table_size_l .tui-table__td{height:4.9375rem}.tui-table__td_font-size_l,.tui-table_font-size_l .tui-table__td{font:var(--tui-font-text-l)}.tui-table__td_font-size_s,.tui-table_font-size_s .tui-table__td{font:var(--tui-font-text-s)}.tui-table__td_align_center{vertical-align:middle}.tui-table__td,.tui-table__th{box-sizing:border-box;text-align:left}.tui-table_size_l .tui-table__td:before,.tui-table_size_l .tui-table__th:before{width:1rem;border-top-left-radius:1rem;border-bottom-left-radius:1rem}.tui-table__td_first:before,.tui-table__td_last:before,.tui-table__th_first:before,.tui-table__th_last:before{content:"";position:absolute;top:0;width:.75rem;height:100%;background:inherit;border-top-left-radius:.75rem;border-bottom-left-radius:.75rem}.tui-table__td_first,.tui-table__th_first{position:relative;padding-left:0;overflow:visible}.tui-table__td_first:before,.tui-table__th_first:before{right:100%}.tui-table__td_last,.tui-table__th_last{position:relative;padding-right:0;overflow:visible}.tui-table__td_last:before,.tui-table__th_last:before{left:100%;transform:scaleX(-1)}.tui-table__td_text_center,.tui-table__th_text_center{text-align:center}.tui-table__td_text_right,.tui-table__th_text_right{text-align:right}.tui-table__td_text_overflow,.tui-table__th_text_overflow{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tui-table__subtext{font:var(--tui-font-text-s);margin:.25rem 0 0;color:var(--tui-text-03)}.tui-table__sort{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;transition-property:color;transition-duration:var(--tui-duration,.3s);transition-timing-function:ease-in-out;position:relative;display:inline-flex;align-items:center;outline:none;cursor:pointer}.tui-table__sort:hover{color:var(--tui-text-01)}.tui-table__sort_active{color:var(--tui-link)}.tui-table__sort_active:hover{color:var(--tui-link-hover)}.tui-table__sort-icon{position:absolute;top:50%;transform:translateY(-50%);left:100%;margin-left:.125rem;width:1rem;height:1rem;flex-shrink:0;opacity:0}.tui-table__sort:hover .tui-table__sort-icon,.tui-table__sort_active .tui-table__sort-icon{transition-property:transform;transition-duration:var(--tui-duration,.3s);transition-timing-function:ease-in-out;opacity:1}.tui-table__sort_active.tui-table__sort_up .tui-table__sort-icon{transform:rotate(180deg) translateY(50%)}.tui-text_h1{font:var(--tui-font-heading-1)}.tui-text_h2{font:var(--tui-font-heading-2)}.tui-text_h3{font:var(--tui-font-heading-3)}.tui-text_h4{font:var(--tui-font-heading-4)}.tui-text_h5{font:var(--tui-font-heading-5)}.tui-text_h6{font:var(--tui-font-heading-6)}.tui-text_body-xl{font:var(--tui-font-text-xl)}.tui-text_body-l{font:var(--tui-font-text-l)}.tui-text_body-l-2{font:var(--tui-font-text-l-2)}.tui-text_body-m{font:var(--tui-font-text-m)}.tui-text_body-m-2{font:var(--tui-font-text-m-2)}.tui-text_body-s{font:var(--tui-font-text-s)}.tui-text_body-s-2{font:var(--tui-font-text-s-2)}.tui-text_body-xs{font:var(--tui-font-text-xs)}.tui-text_bold{font-weight:700}body{margin:0}body,html{height:100%}markdown{display:block}markdown h1{font:var(--tui-font-heading-1)}markdown h2{font:var(--tui-font-heading-2)}markdown h3{font:var(--tui-font-heading-3)}markdown h4{font:var(--tui-font-heading-4)}markdown h5{font:var(--tui-font-heading-5)}markdown h6{font:var(--tui-font-heading-6)}markdown h1,markdown h2,markdown h3,markdown h4,markdown h5,markdown h6{margin:3rem 0 1rem}markdown img{margin:.625rem 3rem 1.5rem 0;max-width:27.5rem}markdown img:nth-child(2n){margin-right:0}markdown li{position:relative;padding-left:1.5rem;word-wrap:break-word;margin-top:.75rem}markdown li:before{content:"";position:absolute;left:0;top:.5rem;width:.5rem;height:.5rem;border-radius:100%;background-color:var(--tui-primary)}markdown li li{color:var(--tui-text-02)}markdown li li:before{content:"\2014";left:0;top:auto;width:auto;height:auto;background-color:initial}markdown a{text-decoration:none;color:var(--tui-link)}markdown a:active,markdown a:hover{color:var(--tui-link-hover)} \ No newline at end of file